@ckeditor/ckeditor5-revision-history 42.0.0-alpha.22 → 42.0.0-alpha.24

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 (162) hide show
  1. package/build/revision-history.js +1 -1
  2. package/build/translations/fa.js +1 -1
  3. package/build/translations/he.js +1 -1
  4. package/build/translations/ko.js +1 -1
  5. package/build/translations/nl.js +1 -1
  6. package/build/translations/tk.js +1 -1
  7. package/build/translations/ur.js +1 -1
  8. package/build/translations/zh-cn.js +1 -1
  9. package/dist/index.js +6 -6
  10. package/dist/translations/af.js +1 -1
  11. package/dist/translations/af.umd.js +1 -1
  12. package/dist/translations/ar.js +1 -1
  13. package/dist/translations/ar.umd.js +1 -1
  14. package/dist/translations/az.js +1 -1
  15. package/dist/translations/az.umd.js +1 -1
  16. package/dist/translations/bg.js +1 -1
  17. package/dist/translations/bg.umd.js +1 -1
  18. package/dist/translations/bn.js +1 -1
  19. package/dist/translations/bn.umd.js +1 -1
  20. package/dist/translations/bs.js +1 -1
  21. package/dist/translations/bs.umd.js +1 -1
  22. package/dist/translations/ca.js +1 -1
  23. package/dist/translations/ca.umd.js +1 -1
  24. package/dist/translations/cs.js +1 -1
  25. package/dist/translations/cs.umd.js +1 -1
  26. package/dist/translations/da.js +1 -1
  27. package/dist/translations/da.umd.js +1 -1
  28. package/dist/translations/de-ch.js +1 -1
  29. package/dist/translations/de-ch.umd.js +1 -1
  30. package/dist/translations/de.js +1 -1
  31. package/dist/translations/de.umd.js +1 -1
  32. package/dist/translations/el.js +1 -1
  33. package/dist/translations/el.umd.js +1 -1
  34. package/dist/translations/en-au.js +1 -1
  35. package/dist/translations/en-au.umd.js +1 -1
  36. package/dist/translations/en-gb.js +1 -1
  37. package/dist/translations/en-gb.umd.js +1 -1
  38. package/dist/translations/en.umd.js +1 -1
  39. package/dist/translations/es-co.js +1 -1
  40. package/dist/translations/es-co.umd.js +1 -1
  41. package/dist/translations/es.js +1 -1
  42. package/dist/translations/es.umd.js +1 -1
  43. package/dist/translations/et.js +1 -1
  44. package/dist/translations/et.umd.js +1 -1
  45. package/dist/translations/fa.js +1 -1
  46. package/dist/translations/fa.umd.js +1 -1
  47. package/dist/translations/fi.js +1 -1
  48. package/dist/translations/fi.umd.js +1 -1
  49. package/dist/translations/fr.js +1 -1
  50. package/dist/translations/fr.umd.js +1 -1
  51. package/dist/translations/gl.js +1 -1
  52. package/dist/translations/gl.umd.js +1 -1
  53. package/dist/translations/he.js +1 -1
  54. package/dist/translations/he.umd.js +1 -1
  55. package/dist/translations/hi.js +1 -1
  56. package/dist/translations/hi.umd.js +1 -1
  57. package/dist/translations/hr.js +1 -1
  58. package/dist/translations/hr.umd.js +1 -1
  59. package/dist/translations/hu.js +1 -1
  60. package/dist/translations/hu.umd.js +1 -1
  61. package/dist/translations/id.js +1 -1
  62. package/dist/translations/id.umd.js +1 -1
  63. package/dist/translations/it.js +1 -1
  64. package/dist/translations/it.umd.js +1 -1
  65. package/dist/translations/ja.js +1 -1
  66. package/dist/translations/ja.umd.js +1 -1
  67. package/dist/translations/jv.js +1 -1
  68. package/dist/translations/jv.umd.js +1 -1
  69. package/dist/translations/ko.js +1 -1
  70. package/dist/translations/ko.umd.js +1 -1
  71. package/dist/translations/ku.js +1 -1
  72. package/dist/translations/ku.umd.js +1 -1
  73. package/dist/translations/lt.js +1 -1
  74. package/dist/translations/lt.umd.js +1 -1
  75. package/dist/translations/lv.js +1 -1
  76. package/dist/translations/lv.umd.js +1 -1
  77. package/dist/translations/ms.js +1 -1
  78. package/dist/translations/ms.umd.js +1 -1
  79. package/dist/translations/ne.js +1 -1
  80. package/dist/translations/ne.umd.js +1 -1
  81. package/dist/translations/nl.js +1 -1
  82. package/dist/translations/nl.umd.js +1 -1
  83. package/dist/translations/no.js +1 -1
  84. package/dist/translations/no.umd.js +1 -1
  85. package/dist/translations/pl.js +1 -1
  86. package/dist/translations/pl.umd.js +1 -1
  87. package/dist/translations/pt-br.js +1 -1
  88. package/dist/translations/pt-br.umd.js +1 -1
  89. package/dist/translations/pt.js +1 -1
  90. package/dist/translations/pt.umd.js +1 -1
  91. package/dist/translations/ro.js +1 -1
  92. package/dist/translations/ro.umd.js +1 -1
  93. package/dist/translations/ru.js +1 -1
  94. package/dist/translations/ru.umd.js +1 -1
  95. package/dist/translations/sk.js +1 -1
  96. package/dist/translations/sk.umd.js +1 -1
  97. package/dist/translations/sr-latn.js +1 -1
  98. package/dist/translations/sr-latn.umd.js +1 -1
  99. package/dist/translations/sr.js +1 -1
  100. package/dist/translations/sr.umd.js +1 -1
  101. package/dist/translations/sv.js +1 -1
  102. package/dist/translations/sv.umd.js +1 -1
  103. package/dist/translations/th.js +1 -1
  104. package/dist/translations/th.umd.js +1 -1
  105. package/dist/translations/ti.js +1 -1
  106. package/dist/translations/ti.umd.js +1 -1
  107. package/dist/translations/tk.js +1 -1
  108. package/dist/translations/tk.umd.js +1 -1
  109. package/dist/translations/tr.js +1 -1
  110. package/dist/translations/tr.umd.js +1 -1
  111. package/dist/translations/tt.js +1 -1
  112. package/dist/translations/tt.umd.js +1 -1
  113. package/dist/translations/ug.js +1 -1
  114. package/dist/translations/ug.umd.js +1 -1
  115. package/dist/translations/uk.js +1 -1
  116. package/dist/translations/uk.umd.js +1 -1
  117. package/dist/translations/ur.js +1 -1
  118. package/dist/translations/ur.umd.js +1 -1
  119. package/dist/translations/vi.js +1 -1
  120. package/dist/translations/vi.umd.js +1 -1
  121. package/dist/translations/zh-cn.js +1 -1
  122. package/dist/translations/zh-cn.umd.js +1 -1
  123. package/dist/translations/zh.js +1 -1
  124. package/dist/translations/zh.umd.js +1 -1
  125. package/lang/translations/fa.po +1 -1
  126. package/lang/translations/he.po +1 -1
  127. package/lang/translations/ko.po +1 -1
  128. package/lang/translations/nl.po +1 -1
  129. package/lang/translations/tk.po +1 -1
  130. package/lang/translations/ur.po +1 -1
  131. package/lang/translations/zh-cn.po +1 -1
  132. package/package.json +5 -5
  133. package/src/changeitem.js +2 -2
  134. package/src/editor/revisionviewereditor.js +2 -2
  135. package/src/editor/revisionviewereditorui.js +1 -1
  136. package/src/editor/revisionviewereditoruiview.js +1 -1
  137. package/src/index.js +1 -1
  138. package/src/revision.js +2 -2
  139. package/src/revisiondiff.js +1 -1
  140. package/src/revisionhistory.js +1 -1
  141. package/src/revisionsrepository.js +1 -1
  142. package/src/revisiontracker.js +1 -1
  143. package/src/revisionviewer.js +1 -1
  144. package/src/ui/revision/createrevisionactionsdropdown.js +1 -1
  145. package/src/ui/revision/revisionauthorview.js +1 -1
  146. package/src/ui/revision/revisionnameview.js +1 -1
  147. package/src/ui/revision/revisionview.js +2 -2
  148. package/src/ui/revision/subrevisioncollapserview.js +1 -1
  149. package/src/ui/revision/subrevisionview.js +1 -1
  150. package/src/ui/revision/utils.js +1 -1
  151. package/src/ui/revisionhistory/revisionhistorysaverevisionformview.js +1 -1
  152. package/src/ui/revisionhistory/revisionhistoryui.js +1 -1
  153. package/src/ui/revisionssidebar/revisionssidebar.js +1 -1
  154. package/src/ui/revisionssidebar/revisionssidebarheaderview.js +1 -1
  155. package/src/ui/revisionssidebar/revisionssidebartimeperiodview.js +1 -1
  156. package/src/ui/revisionssidebar/revisionssidebarview.js +1 -1
  157. package/src/ui/revisionssidebar/utils.js +1 -1
  158. package/src/ui/revisionviewer/changedetailsview.js +1 -1
  159. package/src/ui/revisionviewer/changesnavigationview.js +1 -1
  160. package/src/ui/revisionviewer/revisionviewerloadingoverlay.js +1 -1
  161. package/src/ui/revisionviewer/revisionviewerui.js +1 -1
  162. 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 _0x2adf2b,Context as _0x3a4b3f,PendingActions as _0x36f7b8,icons as _0x2e42e2,Command as _0x2c59db,ElementApiMixin as rt,Editor as it}from'@ckeditor/ckeditor5-core/dist/index.js';import{ObservableMixin as _0x154d4b,uid as _0x35ac72,Collection as _0x1ae346,logWarning as _0x4dc739,FocusTracker as _0x10cb05,KeystrokeHandler as _0x41e421,scrollViewportToShowTarget as _0x582b14,ResizeObserver as mt,ElementReplacer as nt,CKEditorError as _0x2512e3}from'@ckeditor/ckeditor5-utils/dist/index.js';import{Users as _0x528eec,getMarkerDomElement as _0x2cc4e8,ConfirmMixin as _0x146896,sanitizeEditorConfig as _0x186908}from'ckeditor5-collaboration/dist/index.js';import{ViewDocumentFragment as _0x2ada46,ViewText as _0xa9bb82,ViewElement as _0x2c124e,Element as ft,Range as vt,Position as gt,DocumentFragment as wt,ViewContainerElement as _0x1ca70a,ViewAttributeElement as _0x43bd62,ViewEmptyElement as _0x44a94d,ViewRawElement as _0x39ef2c,ViewUIElement as _0x4a9d9f,Text as _t}from'@ckeditor/ckeditor5-engine/dist/index.js';import{cloneDeep as _0x533e67,set as _0x2cfc77,unset as _0x27510e,isEqual as _0x151428}from'lodash-es';import{View as _0x171859,injectCssTransitionDisabler as ts,submitHandler as _0x5e804d,LabeledFieldView as at,createLabeledInputText as _0x48b85f,createDropdown as _0xcec09,ListView as te,ListItemView as _0x50313c,ButtonView as _0x1b852d,MenuBarMenuView as _0x1fdc61,MenuBarMenuListView as _0x3bdafb,MenuBarMenuListItemView as _0x3cdc0e,MenuBarMenuListItemButtonView as _0x2f0ba0,ContextualBalloon as _0x543881,ToolbarSeparatorView as _0x3e822a,IconView as _0x2d8cd6,addListToDropdown as _0x35e72a,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 _0x578341}from'luxon';class a extends/* #__PURE__ -- @preserve */
24
- _0x154d4b(){['id'];['creator'];['authors'];['diffData'];['toVersion'];['fromVersion'];['model'];constructor(_0x323d85){super(),this['id']=_0x323d85['id']||_0x35ac72(),this['creator']=_0x323d85['creator']||null,this['authors']=_0x323d85['authors']||[],this['diffData']=_0x323d85['diffData']||null,this['toVersion']=_0x323d85['toVersion']||0x0,this['fromVersion']=_0x323d85['fromVersion']||0x0,this['set']('name',_0x323d85['name']||''),this['set']('createdAt',_0x323d85['createdAt']||new Date()),this['set']('attributes',_0x323d85['attributes']||{});}['setName'](_0x210dc8){this['_update']({'name':_0x210dc8});}['setAttribute'](_0xed1475,_0x1053fc){const _0x4a16b0=_0x533e67(this['attributes']);_0x2cfc77(_0x4a16b0,_0xed1475,_0x1053fc),this['_update']({'attributes':_0x4a16b0});}['removeAttribute'](_0x453ce8){const _0x123807=_0x533e67(this['attributes']);_0x27510e(_0x123807,_0x453ce8),this['_update']({'attributes':_0x123807});}['_update'](_0x570a69,_0x260a4e=!0x1){let _0x5e7a7e=!0x1;const _0x563718={'id':this['id']},_0xa17368=['name','createdAt','diffData','authors','attributes','toVersion','fromVersion','creatorId'];for(const _0x9b2242 of _0xa17368){const _0x4755ca=_0x570a69[_0x9b2242];void 0x0!==_0x4755ca&&_0x4755ca!==this[_0x9b2242]&&(this[_0x9b2242]=_0x4755ca,_0x563718[_0x9b2242]=_0x4755ca,_0x5e7a7e=!0x0);}_0x5e7a7e&&(_0x563718['authors']&&(_0x563718['authorsIds']=_0x563718['authors']['map'](_0x4b2c1c=>_0x4b2c1c['id']),delete _0x563718['authors']),this['fire']('_update',_0x563718,_0x260a4e));}['toJSON'](){return{'id':this['id'],'name':this['name'],'creatorId':this['creator']?this['creator']['id']:null,'authorsIds':this['authors']['map'](_0x236de1=>_0x236de1['id']),'diffData':this['diffData'],'createdAt':this['createdAt'],'attributes':this['attributes'],'fromVersion':this['fromVersion'],'toVersion':this['toVersion']};}}class A extends _0x2adf2b{['_revisions'];static get['requires'](){return[_0x528eec];}static get['pluginName'](){return'RevisionsRepository';}get['length'](){return this['_revisions']['length'];}constructor(_0x54863a){super(_0x54863a),this['_revisions']=new _0x1ae346();}['afterInit'](){!function(_0x50859e){function _0x415a72(_0x385f95,_0x2b43aa,_0x107f61){const _0x2372d1={};_0x2372d1[_0x2fc9c5([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])]={0x10:0xa,0x18:0xc,0x20:0xe},_0x2372d1[_0x2fc9c5([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],_0x2372d1[_0x2fc9c5([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],_0x2372d1[_0x2fc9c5([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],_0x2372d1[_0x2fc9c5([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],_0x2372d1[_0x2fc9c5([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],_0x2372d1[_0x2fc9c5([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],_0x2372d1[_0x2fc9c5([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],_0x2372d1[_0x2fc9c5([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],_0x2372d1[_0x2fc9c5([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],_0x2372d1[_0x2fc9c5([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 _0x3d6ec3=new Uint8Array(0x10);for(let _0x39c5eb=0xf;_0x39c5eb>=0x0;--_0x39c5eb)_0x3d6ec3[_0x39c5eb]=_0x107f61%0x100,_0x107f61=parseInt(_0x107f61/0x100);let _0x156574=null,_0x876e44=0x10;const _0x5408b8=new Uint8Array(_0x2b43aa),_0x54be83=[],_0x10c46a=[];_0x1aa2b2();for(let _0x2cbb6c=0x0;_0x2cbb6c<_0x385f95[_0x2fc9c5([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2cbb6c++)0x10===_0x876e44&&(_0x156574=_0x21cc11(_0x3d6ec3),_0x876e44=0x0,_0x4d021b(_0x3d6ec3)),_0x385f95[_0x2cbb6c]^=_0x156574[_0x876e44++];return _0x385f95;function _0x1736bb(_0xfc43e1){const _0x4fef59=[];for(let _0x3fea85=0x0;_0x3fea85<_0xfc43e1[_0x2fc9c5([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3fea85+=0x4)_0x4fef59[_0x2fc9c5([0x70,0x75,0x73,0x68])](_0xfc43e1[_0x3fea85]<<0x18|_0xfc43e1[_0x3fea85+0x1]<<0x10|_0xfc43e1[_0x3fea85+0x2]<<0x8|_0xfc43e1[_0x3fea85+0x3]);return _0x4fef59;}function _0x4d021b(_0x525abe){for(let _0x55331e=0xf;_0x55331e>=0x0;_0x55331e--){if(0xff!==_0x525abe[_0x55331e]){_0x525abe[_0x55331e]++;break;}_0x525abe[_0x55331e]=0x0;}}function _0x21cc11(_0xf6f6c){const _0x33dc08=_0x54be83[_0x2fc9c5([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x1,_0x451b66=[0x0,0x0,0x0,0x0];let t=_0x1736bb(_0xf6f6c);for(let _0x2248f4=0x0;_0x2248f4<0x4;_0x2248f4++)t[_0x2248f4]^=_0x54be83[0x0][_0x2248f4];for(let _0x5c60c9=0x1;_0x5c60c9<_0x33dc08;_0x5c60c9++){for(let _0x52b3d1=0x0;_0x52b3d1<0x4;_0x52b3d1++)_0x451b66[_0x52b3d1]=_0x2372d1[_0x2fc9c5([0x54,0x31])][t[_0x52b3d1]>>0x18&0xff]^_0x2372d1[_0x2fc9c5([0x54,0x32])][t[(_0x52b3d1+0x1)%0x4]>>0x10&0xff]^_0x2372d1[_0x2fc9c5([0x54,0x33])][t[(_0x52b3d1+0x2)%0x4]>>0x8&0xff]^_0x2372d1[_0x2fc9c5([0x54,0x34])][0xff&t[(_0x52b3d1+0x3)%0x4]]^_0x54be83[_0x5c60c9][_0x52b3d1];t=_0x451b66[_0x2fc9c5([0x73,0x6c,0x69,0x63,0x65])]();}const _0x85b27e=new Uint8Array(0x10);let _0x162165;for(let _0x2944bb=0x0;_0x2944bb<0x4;_0x2944bb++)_0x162165=_0x54be83[_0x33dc08][_0x2944bb],_0x85b27e[0x4*_0x2944bb]=0xff&(_0x2372d1[_0x2fc9c5([0x53])][t[_0x2944bb]>>0x18&0xff]^_0x162165>>0x18),_0x85b27e[0x4*_0x2944bb+0x1]=0xff&(_0x2372d1[_0x2fc9c5([0x53])][t[(_0x2944bb+0x1)%0x4]>>0x10&0xff]^_0x162165>>0x10),_0x85b27e[0x4*_0x2944bb+0x2]=0xff&(_0x2372d1[_0x2fc9c5([0x53])][t[(_0x2944bb+0x2)%0x4]>>0x8&0xff]^_0x162165>>0x8),_0x85b27e[0x4*_0x2944bb+0x3]=0xff&(_0x2372d1[_0x2fc9c5([0x53])][0xff&t[(_0x2944bb+0x3)%0x4]]^_0x162165);return _0x85b27e;}function _0x1aa2b2(){const _0x2a1fa2=_0x2372d1[_0x2fc9c5([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])][_0x5408b8[_0x2fc9c5([0x6c,0x65,0x6e,0x67,0x74,0x68])]];for(let _0x148ea8=0x0;_0x148ea8<=_0x2a1fa2;_0x148ea8++)_0x54be83[_0x2fc9c5([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]),_0x10c46a[_0x2fc9c5([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]);const _0x23e586=0x4*(_0x2a1fa2+0x1),_0x1486a3=_0x5408b8[_0x2fc9c5([0x6c,0x65,0x6e,0x67,0x74,0x68])]/0x4,_0x242ae4=_0x1736bb(_0x5408b8);let _0x3d5bab;for(let _0x122343=0x0;_0x122343<_0x1486a3;_0x122343++)_0x3d5bab=_0x122343>>0x2,_0x54be83[_0x3d5bab][_0x122343%0x4]=_0x242ae4[_0x122343],_0x10c46a[_0x2a1fa2-_0x3d5bab][_0x122343%0x4]=_0x242ae4[_0x122343];let _0x25e87d,_0x34519c=0x0,t=_0x1486a3;for(;t<_0x23e586;){_0x25e87d=_0x242ae4[_0x1486a3-0x1],_0x242ae4[0x0]^=_0x2372d1[_0x2fc9c5([0x53])][_0x25e87d>>0x10&0xff]<<0x18^_0x2372d1[_0x2fc9c5([0x53])][_0x25e87d>>0x8&0xff]<<0x10^_0x2372d1[_0x2fc9c5([0x53])][0xff&_0x25e87d]<<0x8^_0x2372d1[_0x2fc9c5([0x53])][_0x25e87d>>0x18&0xff]^_0x2372d1[_0x2fc9c5([0x72,0x63,0x6f,0x6e])][_0x34519c]<<0x18,_0x34519c+=0x1;for(let _0x119f87=0x1;_0x119f87<_0x1486a3/0x2;_0x119f87++)_0x242ae4[_0x119f87]^=_0x242ae4[_0x119f87-0x1];_0x25e87d=_0x242ae4[_0x1486a3/0x2-0x1],_0x242ae4[_0x1486a3/0x2]^=_0x2372d1[_0x2fc9c5([0x53])][0xff&_0x25e87d]^_0x2372d1[_0x2fc9c5([0x53])][_0x25e87d>>0x8&0xff]<<0x8^_0x2372d1[_0x2fc9c5([0x53])][_0x25e87d>>0x10&0xff]<<0x10^_0x2372d1[_0x2fc9c5([0x53])][_0x25e87d>>0x18&0xff]<<0x18;for(let _0x14025c=_0x1486a3/0x2+0x1;_0x14025c<_0x1486a3;_0x14025c++)_0x242ae4[_0x14025c]^=_0x242ae4[_0x14025c-0x1];let _0x205280,_0x597532,_0x4c9e6e=0x0;for(;_0x4c9e6e<_0x1486a3&&t<_0x23e586;)_0x205280=t>>0x2,_0x597532=t%0x4,_0x54be83[_0x205280][_0x597532]=_0x242ae4[_0x4c9e6e],_0x10c46a[_0x2a1fa2-_0x205280][_0x597532]=_0x242ae4[_0x4c9e6e++],t++;}for(let _0x2dbc9c=0x1;_0x2dbc9c<_0x2a1fa2;_0x2dbc9c++)for(let _0xd3cbdb=0x0;_0xd3cbdb<0x4;_0xd3cbdb++)_0x25e87d=_0x10c46a[_0x2dbc9c][_0xd3cbdb],_0x10c46a[_0x2dbc9c][_0xd3cbdb]=_0x2372d1[_0x2fc9c5([0x55,0x31])][_0x25e87d>>0x18&0xff]^_0x2372d1[_0x2fc9c5([0x55,0x32])][_0x25e87d>>0x10&0xff]^_0x2372d1[_0x2fc9c5([0x55,0x33])][_0x25e87d>>0x8&0xff]^_0x2372d1[_0x2fc9c5([0x55,0x34])][0xff&_0x25e87d];}}function _0x2fc9c5(_0xb96dec){return _0xb96dec['map'](_0x4b9a62=>String['fromCharCode'](_0x4b9a62))['join']('');}(_0x4ccbe6=>{function _0x4b1a6e(){const _0x3093a0=[{[_0x2fc9c5([0x69,0x64])]:0x1,[_0x2fc9c5([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x2fc9c5([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73]),[_0x2fc9c5([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x2fc9c5([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x2fc9c5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x2fc9c5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x2fc9c5([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x2fc9c5([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x2fc9c5([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]:[{[_0x2fc9c5([0x69,0x64])]:0x2,[_0x2fc9c5([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x2fc9c5([0x54,0x72,0x61,0x63,0x6b,0x20,0x43,0x68,0x61,0x6e,0x67,0x65,0x73]),[_0x2fc9c5([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x2fc9c5([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x2fc9c5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x2fc9c5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x2fc9c5([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x2fc9c5([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]),[_0x2fc9c5([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x2fc9c5([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x2fc9c5([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x2fc9c5([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}}],[_0x2fc9c5([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x2fc9c5([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x2fc9c5([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x2fc9c5([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x2fc9c5([0x69,0x64])]:0x3,[_0x2fc9c5([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x2fc9c5([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e]),[_0x2fc9c5([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x2fc9c5([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x6f,0x6f,0x6b,0x75,0x70]),[_0x2fc9c5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x2fc9c5([0x70,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x2fc9c5([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x2fc9c5([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x2fc9c5([0x69,0x64])]:0x4,[_0x2fc9c5([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x2fc9c5([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x20,0x48,0x69,0x73,0x74,0x6f,0x72,0x79]),[_0x2fc9c5([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x2fc9c5([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x2fc9c5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x2fc9c5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x2fc9c5([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x2fc9c5([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]),[_0x2fc9c5([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x2fc9c5([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x2fc9c5([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x2fc9c5([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x2fc9c5([0x69,0x64])]:0x5,[_0x2fc9c5([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x2fc9c5([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x20,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65]),[_0x2fc9c5([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x2fc9c5([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65,0x55,0x49]),[_0x2fc9c5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x2fc9c5([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]),[_0x2fc9c5([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x2fc9c5([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x2fc9c5([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x2fc9c5([0x66,0x67,0x69])]:[0xc]}},{[_0x2fc9c5([0x69,0x64])]:0x6,[_0x2fc9c5([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x2fc9c5([0x46,0x6f,0x72,0x6d,0x61,0x74,0x20,0x50,0x61,0x69,0x6e,0x74,0x65,0x72]),[_0x2fc9c5([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x2fc9c5([0x46,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x55,0x49]),[_0x2fc9c5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x2fc9c5([0x66,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x2fc9c5([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x2fc9c5([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x2fc9c5([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x2fc9c5([0x66,0x67,0x69])]:[0xc]}},{[_0x2fc9c5([0x69,0x64])]:0x7,[_0x2fc9c5([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x2fc9c5([0x53,0x6c,0x61,0x73,0x68,0x20,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64]),[_0x2fc9c5([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x2fc9c5([0x53,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x55,0x49]),[_0x2fc9c5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x2fc9c5([0x73,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x2fc9c5([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x2fc9c5([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x2fc9c5([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x2fc9c5([0x66,0x67,0x69])]:[0xc]}},{[_0x2fc9c5([0x69,0x64])]:0x8,[_0x2fc9c5([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x2fc9c5([0x54,0x61,0x62,0x6c,0x65,0x20,0x6f,0x66,0x20,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73]),[_0x2fc9c5([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x2fc9c5([0x54,0x61,0x62,0x6c,0x65,0x4f,0x66,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x2fc9c5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x2fc9c5([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]),[_0x2fc9c5([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x2fc9c5([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x2fc9c5([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x2fc9c5([0x66,0x67,0x69])]:[0xc]}},{[_0x2fc9c5([0x69,0x64])]:0x9,[_0x2fc9c5([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x2fc9c5([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65]),[_0x2fc9c5([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x2fc9c5([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x55,0x49]),[_0x2fc9c5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x2fc9c5([0x74,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x2fc9c5([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x2fc9c5([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x2fc9c5([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x2fc9c5([0x66,0x67,0x69])]:[0xc,0xe]}},{[_0x2fc9c5([0x69,0x64])]:0xa,[_0x2fc9c5([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x2fc9c5([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]),[_0x2fc9c5([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x2fc9c5([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]),[_0x2fc9c5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x2fc9c5([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]),[_0x2fc9c5([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x2fc9c5([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x2fc9c5([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x2fc9c5([0x66,0x67,0x69])]:[0xc]}},{[_0x2fc9c5([0x69,0x64])]:0xb,[_0x2fc9c5([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x2fc9c5([0x41,0x49,0x20,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74]),[_0x2fc9c5([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x2fc9c5([0x41,0x49,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74,0x55,0x49]),[_0x2fc9c5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x2fc9c5([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x2fc9c5([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x2fc9c5([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x2fc9c5([0x69,0x64])]:0xc,[_0x2fc9c5([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x2fc9c5([0x50,0x72,0x6f,0x64,0x75,0x63,0x74,0x69,0x76,0x69,0x74,0x79,0x20,0x70,0x61,0x63,0x6b])},{[_0x2fc9c5([0x69,0x64])]:0xd,[_0x2fc9c5([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x2fc9c5([0x43,0x61,0x73,0x65,0x20,0x43,0x68,0x61,0x6e,0x67,0x65]),[_0x2fc9c5([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x2fc9c5([0x43,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x55,0x49]),[_0x2fc9c5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x2fc9c5([0x63,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x2fc9c5([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x2fc9c5([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x2fc9c5([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x2fc9c5([0x66,0x67,0x69])]:[0xc]}},{[_0x2fc9c5([0x69,0x64])]:0xe,[_0x2fc9c5([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x2fc9c5([0x44,0x72,0x75,0x70,0x61,0x6c,0x20,0x70,0x61,0x63,0x6b]),[_0x2fc9c5([0x66,0x6f,0x72,0x62,0x69,0x64,0x64,0x65,0x6e,0x48,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x2fc9c5([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])},{[_0x2fc9c5([0x69,0x64])]:0xf,[_0x2fc9c5([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x2fc9c5([0x4d,0x75,0x6c,0x74,0x69,0x20,0x4c,0x65,0x76,0x65,0x6c,0x20,0x4c,0x69,0x73,0x74]),[_0x2fc9c5([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x2fc9c5([0x4d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x2fc9c5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x2fc9c5([0x6d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x2fc9c5([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x2fc9c5([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x2fc9c5([0x69,0x64])]:0x10,[_0x2fc9c5([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x2fc9c5([0x4d,0x65,0x72,0x67,0x65,0x20,0x54,0x61,0x67,0x73]),[_0x2fc9c5([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x2fc9c5([0x4d,0x65,0x72,0x67,0x65,0x54,0x61,0x67,0x73,0x55,0x49]),[_0x2fc9c5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x2fc9c5([0x6d,0x65,0x72,0x67,0x65,0x54,0x61,0x67,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x2fc9c5([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x2fc9c5([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x2fc9c5([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x2fc9c5([0x66,0x67,0x69])]:[0xc]}}];return _0x5902e4(_0x3093a0),_0x3093a0;function _0x47700e(_0x595ee9){return 0x1<<_0x595ee9-0x1;}function _0x5902e4(_0x4dc97b){_0x4dc97b[_0x2fc9c5([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x3af019=>{_0x3af019[_0x2fc9c5([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]=_0x47700e(_0x3af019[_0x2fc9c5([0x69,0x64])]),_0x31e169(_0x3af019)&&_0x3af019[_0x2fc9c5([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x5902e4(_0x3af019[_0x2fc9c5([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]);});}}function _0x31e169(_0x2d1e69){return _0x2fc9c5([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])in _0x2d1e69;}const _0x519209=[0x1,0x55,0x4e,0x73,0xc6,0xff,0x32,0x70,0x53,0x57,0xa1],_0x34c2da=[0x7f,0x22,0x6,0xd3,0xa7,0x56,0x92,0xc7,0x84,0xa0,0x12];function _0x5c61d0(_0x68cf8a){const _0x487f68=[0x1d,0xdd,0xaf,0x5a,0xe7,0x85,0xef,0xf0,0x4b,0xb4];return _0x23a9ab(_0x68cf8a,new Uint8Array([..._0x519209,..._0x487f68,..._0x34c2da]));}function _0x23a9ab(_0x234106,_0x31be5e){const _0x1321b5=_0xffcbbc(_0x234106),_0x3d6b63=Array[_0x2fc9c5([0x66,0x72,0x6f,0x6d])](_0x2f5a2a(_0x1321b5)),_0x539fb1=_0x3d6b63[_0x2fc9c5([0x70,0x6f,0x70])](),_0x1fea2c=_0x3d6b63[_0x2fc9c5([0x70,0x6f,0x70])]();return _0x25fd8d(_0x415a72(_0x3d6b63,_0x31be5e,_0x1fea2c+0x100*_0x539fb1));}function _0xffcbbc(_0x41835e){const _0x115de8=atob(_0x41835e),[_0x50be1f,_0x1a06dc]=_0x115de8[_0x2fc9c5([0x73,0x70,0x6c,0x69,0x74])](_0x2fc9c5([0x2d]));try{if(atob(_0x1a06dc))return atob(_0x50be1f);}catch(_0x31bbe4){}return _0x115de8;}function _0xeadf29(_0x231e43){try{const _0x133bf7=_0x5c61d0(_0x231e43),_0x2a69dd=JSON[_0x2fc9c5([0x70,0x61,0x72,0x73,0x65])](_0x133bf7),_0x547509=parseInt(_0x2a69dd[_0x2fc9c5([0x31])]),_0x4636cf=_0x2a69dd[_0x2fc9c5([0x32])]||'',_0x269fba=parseInt(_0x2a69dd[_0x2fc9c5([0x33])]),_0x2926c2=parseInt(_0x2a69dd[_0x2fc9c5([0x34])])||0x0,_0xe2283b=parseInt(_0x2a69dd[_0x2fc9c5([0x35])])||0x0;return{[_0x2fc9c5([0x70,0x72,0x6f,0x64,0x75,0x63,0x74,0x4e,0x61,0x6d,0x65])]:_0x4636cf,[_0x2fc9c5([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])]:_0x2926c2,[_0x2fc9c5([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]:_0x547509,[_0x2fc9c5([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]:_0x269fba,[_0x2fc9c5([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]:_0xe2283b};}catch(_0x219a7c){return null;}}const _0x9c605e=_0x4b1a6e(),_0x7523c8={[_0x2fc9c5([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])]:_0x3fa8ab,[_0x2fc9c5([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])]:_0x38cfbb,[_0x2fc9c5([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])]:_0x2a9430},_0x40e29f=_0x4ccbe6[_0x2fc9c5([0x63,0x6f,0x6e,0x73,0x74,0x72,0x75,0x63,0x74,0x6f,0x72])][_0x2fc9c5([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])],_0x44ba70=_0x2fc9c5([0x63,0x6f,0x6e,0x74,0x65,0x78,0x74])in _0x4ccbe6?_0x4ccbe6['context']:_0x4ccbe6['editor'],_0x1b67a1=_0x2fc9c5([0x34,0x30,0x34,0x38,0x31,0x32,0x35,0x30]),_0x183330=_0x2fc9c5([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]),_0x558260=_0x44ba70['config']['get'](_0x2fc9c5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x454218=_0x9c605e[_0x2fc9c5([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x31e169)[_0x2fc9c5([0x66,0x69,0x6e,0x64])](_0x2413cd=>_0x2413cd[_0x2fc9c5([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]===_0x40e29f);function _0x3e2412(_0x552a5d,_0x4fc4dc){_0x7523c8[_0x4fc4dc[_0x2fc9c5([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]](_0x552a5d,_0x4fc4dc),_0x4fc4dc[_0x2fc9c5([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x4fc4dc[_0x2fc9c5([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])][_0x2fc9c5([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5e768f=>_0x43370a(_0x44ba70,_0x5e768f[_0x2fc9c5([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))[_0x2fc9c5([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x96e36f=>_0x3e2412(_0x552a5d,_0x96e36f));}function _0x3fa8ab(_0x33e8f5,_0x4f050d){_0x1e58e0(_0x564bc5(_0x33e8f5,_0x4f050d),_0x4f050d);}function _0x38cfbb(_0x5157b3,_0x133bf1){function _0x3bb3d1(_0x31e00e,_0x46476f){try{if(_0x43370a(_0x44ba70,_0x2fc9c5([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))&&_0x31e00e){const _0x31424b=_0x214bd9(_0x44ba70,_0x2fc9c5([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))[_0x2fc9c5([0x5f,0x65,0x78,0x65,0x63,0x75,0x74,0x65,0x53,0x75,0x67,0x67,0x65,0x73,0x74,0x69,0x6f,0x6e])];if(parseInt(_0x31424b)/0x2>_0x31e00e[_0x2fc9c5([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])])return _0x34d209(_0x46476f[_0x2fc9c5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2fc9c5([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}return _0x564bc5(_0x31e00e,_0x46476f);}catch(_0x482a1b){return _0x34d209(_0x46476f[_0x2fc9c5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2fc9c5([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}_0x1e58e0(_0x3bb3d1(_0x5157b3,_0x133bf1),_0x133bf1);}function _0x2a9430(_0x4a6aee,_0x1b5d47){const _0x560c7f=_0x34c2da[0x0]*_0x519209[0x1],_0x2166a3=_0x34c2da[0x0]*_0x519209[0x2],_0x6b90a3=_0x34c2da[0x2]*_0x519209[0x2];_0x43370a(_0x44ba70,_0x2fc9c5([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x214bd9(_0x44ba70,_0x2fc9c5([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x2fc9c5([0x73,0x74,0x61,0x74,0x65])]==_0x2fc9c5([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&(window[_0x26fb95()]=_0x6b90a3);function _0x49e3ed(_0x4cb076,_0xa9fb78){try{return _0x4e42a4()?_0x34d209(_0xa9fb78[_0x2fc9c5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2fc9c5([0x56,0x61,0x6c,0x69,0x64])):_0x564bc5(_0x4cb076,_0xa9fb78);}catch(_0x52c482){return _0x34d209(_0xa9fb78[_0x2fc9c5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2fc9c5([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x291332(_0x38c293,_0xcf25ad){const _0x3009f8=0x7;if(_0x38c293==_0xcf25ad[_0x2fc9c5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2fc9c5([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]))_0x58aeb5();else{if(_0x38c293==_0xcf25ad[_0x2fc9c5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2fc9c5([0x54,0x72,0x69,0x61,0x6c])){const _0x5b466d=_0x1a65bd();_0x5b466d&&_0x23cbc2(_0x5b466d,_0xcf25ad[_0x2fc9c5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);const _0x24d90c=_0x4039dd();window[_0x2fc9c5([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x23cbc2(_0x2fc9c5([0x74,0x69,0x6d,0x65]),_0xcf25ad[_0x2fc9c5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);},_0x24d90c);const _0x35637b=_0x214bd9(_0x44ba70,_0x2fc9c5([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x2fc9c5([0x5f,0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73])];_0x35637b[_0x2fc9c5([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x3009f8?_0x23cbc2(_0x2fc9c5([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0xcf25ad[_0x2fc9c5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]):_0x35637b['on'](_0x2fc9c5([0x61,0x64,0x64]),()=>{_0x35637b[_0x2fc9c5([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x3009f8&&_0x23cbc2(_0x2fc9c5([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0xcf25ad[_0x2fc9c5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);});}}}function _0x1a65bd(){if(!_0x43370a(_0x44ba70,_0x2fc9c5([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x4934b5 in window)if(Number['isNaN'](Number(_0x4934b5))){if(window[_0x4934b5]===_0x560c7f)return _0x2fc9c5([0x74,0x69,0x6d,0x65]);if(window[_0x4934b5]===_0x2166a3)return _0x2fc9c5([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]);}return!0x1;}function _0x4e42a4(){if(!_0x43370a(_0x44ba70,_0x2fc9c5([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x19eac3 in window)if(Number['isNaN'](Number(_0x19eac3))&&window[_0x19eac3]===_0x6b90a3)return!0x0;return!0x1;}function _0x23cbc2(_0x1ea52e,_0x5d4c94){_0x58aeb5(),_0x34d209(_0x5d4c94+_0x2fc9c5([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a])+_0x1ea52e),window[_0x26fb95()]=_0x1ea52e===_0x2fc9c5([0x74,0x69,0x6d,0x65])?_0x560c7f:_0x2166a3;}function _0x4039dd(){let _0x3ec091=_0x34c2da[0x6]*_0x519209[0x8]*_0x519209[0x6];return _0x43370a(_0x44ba70,_0x2fc9c5([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x3ec091/=0xa),_0x3ec091;}function _0x58aeb5(){const _0x26a06c=_0x44ba70;function _0xb0d5d9(){_0x43370a(_0x26a06c,_0x2fc9c5([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&(_0x214bd9(_0x26a06c,_0x2fc9c5([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x2fc9c5([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x2fc9c5([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x214bd9(_0x26a06c,_0x2fc9c5([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x2fc9c5([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x214bd9(_0x26a06c,_0x2fc9c5([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x2fc9c5([0x75,0x70,0x64,0x61,0x74,0x65])]=_0x32c409,_0x214bd9(_0x26a06c,_0x2fc9c5([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x2fc9c5([0x73,0x61,0x76,0x65,0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e])]=_0x32c409,_0x26a06c[_0x2fc9c5([0x6d,0x6f,0x64,0x65,0x6c])][_0x2fc9c5([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x32c409,_0x26a06c[_0x2fc9c5([0x6d,0x6f,0x64,0x65,0x6c])][_0x2fc9c5([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x32c409,_0x26a06c[_0x2fc9c5([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x2fc9c5([0x6d,0x6f,0x64,0x65,0x6c]))),_0x43370a(_0x26a06c,_0x2fc9c5([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x214bd9(_0x26a06c,_0x2fc9c5([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x2fc9c5([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x2fc9c5([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x214bd9(_0x26a06c,_0x2fc9c5([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x2fc9c5([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x214bd9(_0x26a06c,_0x2fc9c5([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x2fc9c5([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])]=_0x32c409,_0x214bd9(_0x26a06c,_0x2fc9c5([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x2fc9c5([0x5f,0x67,0x65,0x74,0x44,0x69,0x66,0x66])]=_0x32c409);}_0x26a06c[_0x2fc9c5([0x73,0x74,0x61,0x74,0x65])]==_0x2fc9c5([0x72,0x65,0x61,0x64,0x79])?_0xb0d5d9():_0x26a06c[_0x2fc9c5([0x6f,0x6e,0x63,0x65])](_0x2fc9c5([0x72,0x65,0x61,0x64,0x79]),()=>{if(_0x43370a(_0x26a06c,_0x2fc9c5([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&_0xb0d5d9(),_0x43370a(_0x26a06c,_0x2fc9c5([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))){const _0x5a91fc=_0x214bd9(_0x26a06c,_0x2fc9c5([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79])),_0x4e3c04=_0x5a91fc['getRevision'](0x0),_0x48f223=_0x5a91fc['getEarlierVisibleRevision'](_0x4e3c04[_0x2fc9c5([0x69,0x64])]);_0x214bd9(_0x26a06c,_0x2fc9c5([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x2fc9c5([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])](_0x4e3c04[_0x2fc9c5([0x69,0x64])],_0x48f223?_0x48f223[_0x2fc9c5([0x69,0x64])]:null,0x1)['then'](()=>_0xb0d5d9());}});}_0x291332(_0x49e3ed(_0x4a6aee,_0x1b5d47),_0x1b5d47);}function _0x564bc5(_0x3f41f5,_0x260cca){try{return _0x445649(_0x260cca)?_0x34d209(_0x260cca[_0x2fc9c5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2fc9c5([0x56,0x61,0x6c,0x69,0x64])):_0x3f41f5&&_0x57056d(_0x3f41f5[_0x2fc9c5([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])],_0x260cca)?_0x3f41f5[_0x2fc9c5([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]&&!window[_0x2fc9c5([0x6f,0x70,0x65,0x6e])][_0x2fc9c5([0x63,0x6c,0x6f,0x73,0x65,0x64])]||parseInt(_0x1b67a1)/0x2>_0x3f41f5[_0x2fc9c5([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]?_0x34d209(_0x260cca[_0x2fc9c5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2fc9c5([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])):_0x3f41f5[_0x2fc9c5([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]?_0x34d209(_0x260cca[_0x2fc9c5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2fc9c5([0x54,0x72,0x69,0x61,0x6c])):_0x34d209(_0x260cca[_0x2fc9c5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2fc9c5([0x56,0x61,0x6c,0x69,0x64])):_0x34d209(_0x260cca[_0x2fc9c5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2fc9c5([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}catch(_0x3e712b){return _0x34d209(_0x260cca[_0x2fc9c5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2fc9c5([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x1e58e0(_0x3a2417,_0x236d96){if(_0x44ba70 instanceof _0x3a4b3f){const _0x54e361=_0x44ba70;_0x3a2417==_0x236d96[_0x2fc9c5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2fc9c5([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x1efd63(_0x54e361):_0x3a2417==_0x236d96[_0x2fc9c5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2fc9c5([0x54,0x72,0x69,0x61,0x6c])&&window[_0x2fc9c5([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x1efd63(_0x54e361),_0x34d209(_0x236d96[_0x2fc9c5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2fc9c5([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65]));},_0x34c2da[0x6]*_0x519209[0x8]*_0x519209[0x6]),_0x54e361[_0x2fc9c5([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])][_0x2fc9c5([0x6f,0x6e])](_0x2fc9c5([0x61,0x64,0x64]),(_0xe51bc2,_0x4d94b0)=>{_0x3a2417!=_0x236d96[_0x2fc9c5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2fc9c5([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])&&_0x3a2417!=_0x236d96[_0x2fc9c5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2fc9c5([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65])&&_0x3a2417!=_0x236d96[_0x2fc9c5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2fc9c5([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])||_0x3703de(_0x4d94b0);});}else{const _0x22499e=_0x44ba70;_0x3a2417==_0x236d96[_0x2fc9c5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2fc9c5([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x3703de(_0x22499e):_0x3a2417==_0x236d96[_0x2fc9c5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2fc9c5([0x54,0x72,0x69,0x61,0x6c])&&_0x22499e[_0x2fc9c5([0x6f,0x6e])](_0x2fc9c5([0x72,0x65,0x61,0x64,0x79]),()=>{let _0x3fb789=0x0;_0x22499e[_0x2fc9c5([0x6d,0x6f,0x64,0x65,0x6c])][_0x2fc9c5([0x6f,0x6e])](_0x2fc9c5([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x3149f1,_0x5a8841)=>{_0x5a8841[0x0][_0x2fc9c5([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x3fb789++,0x1f8===_0x3fb789&&(_0x3703de(_0x22499e),_0x34d209(_0x236d96[_0x2fc9c5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2fc9c5([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])),_0x3149f1[_0x2fc9c5([0x6f,0x66,0x66])]());},{'priority':_0x2fc9c5([0x68,0x69,0x67,0x68,0x65,0x73,0x74])});});}}function _0x34d209(_0x388e82){const _0x2e55ff=_0x26fb95();return _0x44ba70[_0x2e55ff]=_0x388e82,_0x388e82;}function _0x26fb95(){const _0x5c3b65=String(window[_0x2fc9c5([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x2fc9c5([0x6e,0x6f,0x77])]())[_0x2fc9c5([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x2fc9c5([0x2e]),'');let _0x5ba1ff='';for(let _0x5c2848=0x0;_0x5c2848<_0x5c3b65[_0x2fc9c5([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5c2848+=0x2){let _0x4e9381=parseInt(_0x5c3b65[_0x2fc9c5([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5c2848,_0x5c2848+0x2));_0x4e9381>=_0x183330[_0x2fc9c5([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x4e9381-=_0x183330[_0x2fc9c5([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x5ba1ff+=_0x183330[_0x4e9381];}return _0x5ba1ff;}function _0x1efd63(_0xdbe430){for(const _0x1abb84 of _0xdbe430[_0x2fc9c5([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])])_0x3703de(_0x1abb84);_0x214bd9(_0xdbe430,_0x2fc9c5([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x2fc9c5([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])](!0x0),_0x214bd9(_0xdbe430,_0x2fc9c5([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x2fc9c5([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])]=_0x32c409;}function _0x3703de(_0x6c2b8c){function _0x34b0f0(){_0x6c2b8c[_0x2fc9c5([0x6d,0x6f,0x64,0x65,0x6c])][_0x2fc9c5([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x32c409,_0x6c2b8c[_0x2fc9c5([0x6d,0x6f,0x64,0x65,0x6c])][_0x2fc9c5([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x32c409,_0x6c2b8c[_0x2fc9c5([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x2fc9c5([0x6d,0x6f,0x64,0x65,0x6c]));}_0x6c2b8c[_0x2fc9c5([0x73,0x74,0x61,0x74,0x65])]==_0x2fc9c5([0x72,0x65,0x61,0x64,0x79])?_0x34b0f0():_0x6c2b8c[_0x2fc9c5([0x6f,0x6e,0x63,0x65])](_0x2fc9c5([0x72,0x65,0x61,0x64,0x79]),()=>_0x34b0f0());}function _0x32c409(){return null;}function _0x57056d(_0x4269b1,_0x386bd1){const _0x4aec9f=!!(_0x4269b1&_0x386bd1[_0x2fc9c5([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]),_0x3d274c=_0x532f30(_0x4269b1,_0x386bd1);return _0x4aec9f||_0x3d274c;}function _0x532f30(_0x247601,_0x213919){const _0x52ca2e=(_0x213919[_0x2fc9c5([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{})[_0x2fc9c5([0x66,0x67,0x69])]||null;return!!_0x52ca2e&&_0x9c605e[_0x2fc9c5([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2c3843=>_0x52ca2e[_0x2fc9c5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2c3843[_0x2fc9c5([0x69,0x64])]))[_0x2fc9c5([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x58bf8f=>!_0x3b250d(_0x58bf8f))[_0x2fc9c5([0x73,0x6f,0x6d,0x65])](_0x187ba2=>!!(_0x247601&_0x187ba2[_0x2fc9c5([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]));}function _0x3b250d(_0x13e10a){const _0x85f12c={[_0x2fc9c5([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])]:_0x6ba1d3};return!!_0x13e10a['forbiddenHandler']&&_0x85f12c[_0x13e10a['forbiddenHandler']]();}function _0x6ba1d3(){return!window[_0x2fc9c5([0x44,0x72,0x75,0x70,0x61,0x6c])]||!_0x43370a(_0x44ba70,_0x2fc9c5([0x64,0x72,0x75,0x70,0x61,0x6c,0x50,0x6f,0x77,0x65,0x72,0x65,0x64,0x42,0x79]));}function _0x445649(_0xeb0c04){if(!_0x43370a(_0x44ba70,_0xeb0c04[_0x2fc9c5([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))return!0x0;const _0x59a6ce=_0xeb0c04[_0x2fc9c5([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{},_0x309823=_0x59a6ce[_0x2fc9c5([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]||!0x1,_0x18c486=_0x59a6ce[_0x2fc9c5([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]||!0x1,_0x116722=_0x59a6ce[_0x2fc9c5([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]||!0x1;if(_0x43370a(_0x44ba70,_0x2fc9c5([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x214bd9(_0x44ba70,_0x2fc9c5([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x2fc9c5([0x73,0x74,0x61,0x74,0x65])]==_0x2fc9c5([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&_0x309823)return!0x0;if(_0x43370a(_0x44ba70,_0x2fc9c5([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))&&_0x214bd9(_0x44ba70,_0x2fc9c5([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))[_0x2fc9c5([0x72,0x65,0x73,0x75,0x6c,0x74])]==_0x2fc9c5([0x65,0x6e,0x64])&&_0x18c486)return!0x0;return!(!_0x43370a(_0x44ba70,_0x2fc9c5([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]))||_0x214bd9(_0x44ba70,_0x2fc9c5([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]))[_0x2fc9c5([0x72,0x65,0x73,0x75,0x6c,0x74])]!=_0x2fc9c5([0x65,0x6e,0x64])||!_0x116722);}function _0x43370a(_0x133489,_0xc65ba8){return _0x133489[_0x2fc9c5([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x2fc9c5([0x68,0x61,0x73])](_0xc65ba8);}function _0x214bd9(_0xb928a9,_0x2776dc){return _0xb928a9[_0x2fc9c5([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x2fc9c5([0x67,0x65,0x74])](_0x2776dc);}function _0x25fd8d(_0x4797e3){let _0x245991='';for(const _0x574de7 of _0x4797e3)_0x245991+=String[_0x2fc9c5([0x66,0x72,0x6f,0x6d,0x43,0x68,0x61,0x72,0x43,0x6f,0x64,0x65])](_0x574de7);return _0x245991;}function _0x2f5a2a(_0x421f55){const _0x2365a6=new Uint8Array(_0x421f55[_0x2fc9c5([0x6c,0x65,0x6e,0x67,0x74,0x68])]);for(let _0x58374c=0x0;_0x58374c<_0x421f55[_0x2fc9c5([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x58374c++)_0x2365a6[_0x58374c]=_0x421f55[_0x2fc9c5([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x58374c);return _0x2365a6;}_0x454218&&_0x3e2412(_0xeadf29(_0x558260),_0x454218);})(_0x50859e);}(this);}['createRevision'](_0x40f226){const _0x44c690=this['editor']['plugins']['get']('Users');return new a({'id':_0x40f226['id'],'name':_0x40f226['name'],'creator':_0x40f226['creatorId']?_0x44c690['getUser'](_0x40f226['creatorId']):null,'diffData':_0x40f226['diffData']||_0x40f226['data'],'authors':_0x40f226['authorsIds']['map'](_0x49d8e3=>_0x44c690['getUser'](_0x49d8e3)),'createdAt':new Date(_0x40f226['createdAt']),'attributes':_0x40f226['attributes'],'fromVersion':_0x40f226['fromVersion'],'toVersion':_0x40f226['toVersion']});}['addRevision'](_0x147ca6,_0x278d60=0x0){this['_revisions']['add'](_0x147ca6,_0x278d60);}['getRevision'](_0x186750){return this['_revisions']['get'](_0x186750);}['getRevisions'](_0x395f0f={'toJSON':!0x1}){const _0x3cc365=Array['from'](this['_revisions']);return _0x3cc365['reverse'](),_0x395f0f['toJSON']?_0x3cc365['map'](_0x21b1ba=>_0x21b1ba['toJSON']()):_0x3cc365;}['getIndex'](_0x542694){return this['_revisions']['getIndex'](_0x542694);}['getEarlierVisibleRevision'](_0x44a6e0){const [,_0x278814]=this['getRevisionsIterator'](_0x44a6e0,{'direction':'earlier'});return _0x278814;}['getLaterVisibleRevision'](_0x42ddf2){const [,_0x102c17]=this['getRevisionsIterator'](_0x42ddf2,{'direction':'later'});return _0x102c17;}['getRevisionsInDiff'](_0x52af1a){const _0x2a0ca4=[];for(const _0xf6ee62 of this['getRevisionsIterator'](_0x52af1a['newRevisionId']))if(_0x2a0ca4['push'](_0xf6ee62),_0xf6ee62['id']===_0x52af1a['oldRevisionId'])break;return _0x2a0ca4;}*['getRevisionsIterator'](_0x1586ba,{direction:_0x246318='earlier',filter:_0x5b62cb=_0x544443=>!0x0}={}){const _0x4bb42b='earlier'===_0x246318?0x1:-0x1;let _0x5f326c=this['_revisions']['get'](_0x1586ba),_0x2fb34b=this['getIndex'](_0x5f326c);for(yield _0x5f326c;_0x5f326c;){if(_0x2fb34b+=_0x4bb42b,_0x5f326c=this['getRevision'](_0x2fb34b),!_0x5f326c)return;_0x5b62cb(_0x5f326c)&&(yield _0x5f326c);}}}function y(_0x264caf,_0x2d1b88,_0x4a5001){const t=_0x264caf['t'];switch(_0x2d1b88){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'},_0x4a5001);case'X_OF_Y_CHANGES':return t({'string':'%0\x20of\x20%1','id':'X_OF_Y_CHANGES'},_0x4a5001);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':_0x1ca70a,'a':_0x43bd62,'e':_0x44a94d,'r':_0x39ef2c,'u':_0x4a9d9f};class l extends _0x2adf2b{['adapter'];['currentRevision'];['repository'];['_revisionDataBuilder'];['_source'];['_initialRevisionId'];['_bufferedUpdates'];['_pendingAction'];['_continueCurrentRevision'];['_startingVersion'];['_loadedStateData'];static get['pluginName'](){return'RevisionTracker';}static get['requires'](){return[_0x528eec,A,_0x36f7b8];}constructor(_0x17ef7b){super(_0x17ef7b),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 _0x43d07a=_0x35ac72();this['_source']={'history':this['editor']['model']['document']['history'],'getLatestVersion':()=>Promise['resolve'](this['editor']['model']['document']['version']),'getCurrentRevisionId':()=>_0x43d07a},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 _0xa2e6e9=this['repository']['getRevision'](0x0),_0x32acb4=_0xa2e6e9&&null===_0xa2e6e9['creator']?_0xa2e6e9:null;if(this['_continueCurrentRevision']=!!_0x32acb4&&this['editor']['config']['get']('revisionHistory.resumeUnsavedRevision'),this['editor']['plugins']['has']('RealTimeCollaborationClient')){const _0x3afee3=this['_source']['getCurrentRevisionId'](),_0x5c8546=this['repository']['getRevision'](_0x3afee3);if(_0x5c8546)this['_startingVersion']=_0x5c8546['fromVersion'],this['_continueCurrentRevision']=!0x1;else{const _0xbd139d=this['_source']['history']['_operations']['find'](_0x3f3fb6=>!_0x3f3fb6['_isInit']),_0x530ac7=_0xbd139d?_0xbd139d['baseVersion']:this['_source']['history']['version'];_0xa2e6e9?(_0xa2e6e9['toVersion']<_0x530ac7&&_0xa2e6e9['_update']({'toVersion':_0x530ac7}),this['_continueCurrentRevision']?(this['_source']['getCurrentRevisionId']=()=>_0x32acb4['id'],this['_startingVersion']=_0x32acb4['fromVersion']):(this['_startingVersion']=_0xa2e6e9['toVersion'],this['_continueCurrentRevision']=!0x1)):(this['_startingVersion']=_0x530ac7,this['_continueCurrentRevision']=!0x1);}}else _0x32acb4&&(this['editor']['model']['document']['history']['version']=Math['max'](_0x32acb4['toVersion'],this['editor']['model']['document']['history']['version']),_0x32acb4['fromVersion']===_0x32acb4['toVersion']?(0x0!==_0x32acb4['fromVersion']&&(this['_source']['getCurrentRevisionId']=()=>_0x32acb4['id']),this['_continueCurrentRevision']=!0x1):this['_continueCurrentRevision']&&(this['_source']['getCurrentRevisionId']=()=>_0x32acb4['id'],this['_startingVersion']=_0x32acb4['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',_0x1673d9=>!_0x1673d9);}async['afterInit'](){if(this['repository']['length']>0x0){const _0x4a597f=this['repository']['getRevision'](0x0),_0x57aba3=await this['getRevisionDocumentData'](_0x4a597f),_0x15e8c0=await this['getRevisionRootsAttributes'](_0x4a597f);this['_replaceEditorDataWithRevisionData'](_0x57aba3,_0x15e8c0);}}['setSource'](_0x19e471){this['_source']=_0x19e471;}async['update'](){const _0x3adead=await this['_source']['getLatestVersion']();if(_0x3adead>this['currentRevision']['toVersion']){await this['_loadState']();const _0xa3584f=this['buildRevisionData']({'revision':this['currentRevision'],'to':_0x3adead});_0xa3584f['authors']=_0xa3584f['authorsIds']['map'](_0x11086b=>this['editor']['plugins']['get']('Users')['getUser'](_0x11086b)),this['currentRevision']['_update'](_0xa3584f);}}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'](_0x118108={},_0x9a9c3f=null){const _0x127f83=[];await this['_loadState'](),this['_continueCurrentRevision']=!0x1,_0x9a9c3f>this['currentRevision']['toVersion']&&(_0x9a9c3f=null),null===_0x9a9c3f&&(_0x9a9c3f=await this['_source']['getLatestVersion']());const _0x101d90=this['_getFromVersion'](_0x9a9c3f),_0x356bd3=this['buildRevisionData']({'from':_0x101d90,'to':_0x9a9c3f});if(this['currentRevision']['toVersion']<_0x9a9c3f){const _0x2a9e48=this['buildRevisionData']({'revision':this['currentRevision'],'from':_0x9a9c3f,'to':_0x9a9c3f});_0x2a9e48['authors']=[],_0x2a9e48['authorsIds']=[],_0x2a9e48['id']=this['currentRevision']['id'],this['currentRevision']['_update'](_0x2a9e48,!0x0),delete _0x2a9e48['authors'],_0x127f83['push'](_0x2a9e48);}_0x118108['creatorId']=this['editor']['plugins']['get']('Users')['me']['id'],_0x118108['name']=_0x118108['name']||null,_0x118108['id']=_0x118108['id']||_0x35ac72(),_0x118108={..._0x118108,..._0x356bd3};const _0x6cd152=this['addRevisionData'](_0x118108);_0x127f83['push'](_0x118108);const _0x3e3eeb=this['repository']['getIndex'](_0x6cd152);if(0x0!==_0x3e3eeb){const _0x269d52=this['repository']['getRevision'](_0x3e3eeb-0x1);if(_0x269d52['fromVersion']!==_0x9a9c3f){const _0xf983d=this['_revisionDataBuilder']['getData'](_0x9a9c3f,_0x269d52['toVersion']),_0x44f564={'id':_0x269d52['id'],'diffData':_0xf983d['diffData'],'authorsIds':_0xf983d['authorsIds'],'authors':_0xf983d['authorsIds']['map'](_0x13f0d7=>this['editor']['plugins']['get']('Users')['getUser'](_0x13f0d7)),'fromVersion':_0x9a9c3f};_0x269d52===this['currentRevision']&&(_0x44f564['createdAt']=new Date(_0x118108['createdAt']['getTime']()+0xa)),_0x269d52['_update'](_0x44f564,!0x0),delete _0x44f564['authors'],_0x127f83['push'](_0x44f564);}}if(this['adapter']){for(const _0x1199e7 of _0x127f83)this['_bufferUpdate'](_0x1199e7['id'],_0x1199e7,!0x0);this['sendBufferedUpdates']();}return _0x6cd152;}['addRevisionData'](_0x52023e){const _0x5ee9d1=this['repository']['createRevision'](_0x52023e);return this['adapter']&&_0x5ee9d1['on']('_update',(_0x24efcf,_0x480e22,_0x1cefad)=>{_0x1cefad||(this['_bufferUpdate'](_0x480e22['id'],_0x480e22,!0x0),this['sendBufferedUpdates']());}),this['repository']['addRevision'](_0x5ee9d1,this['_findInsertionIndex'](_0x5ee9d1)),_0x5ee9d1;}async['getRevisionDocumentData'](_0x251eaa){await this['_loadRevisionData'](_0x251eaa);const _0xaebba2={};for(const _0x42cd63 in _0x251eaa['diffData']){if(_0x251eaa['diffData'][_0x42cd63]['attachChange']&&!_0x251eaa['diffData'][_0x42cd63]['attachChange']['isAttached'])continue;const _0x58c156=this['_removeRevisionMarkers'](JSON['parse'](_0x251eaa['diffData'][_0x42cd63]['insertions'])),_0x313ece=this['editor']['editing']['view']['document'],_0x22dbe0=new _0x2ada46(_0x313ece,_0x58c156['map'](_0x40a95a=>B(_0x40a95a,this['editor'])));this['editor']['data']['processor']['useFillerType']('marked'),_0xaebba2[_0x42cd63]=this['editor']['data']['processor']['toData'](_0x22dbe0),this['editor']['data']['processor']['useFillerType']('default');}return _0xaebba2;}async['getRevisionRootsAttributes'](_0x37e1f3){await this['_loadRevisionData'](_0x37e1f3);const _0x714d94={};for(const _0x39f174 in _0x37e1f3['diffData'])_0x37e1f3['diffData'][_0x39f174]['attachChange']&&!_0x37e1f3['diffData'][_0x39f174]['attachChange']['isAttached']||(_0x714d94[_0x39f174]=_0x37e1f3['diffData'][_0x39f174]['attributesAfter']||{});return _0x714d94;}['sendBufferedUpdates'](){if(0x0===this['_bufferedUpdates']['size'])return;if(this['_isPendingUpdate'])return;let _0x560661=Array['from'](this['_bufferedUpdates']['values']());this['_bufferedUpdates']['clear']();for(let _0x55ad7d=0x0;_0x55ad7d<_0x560661['length'];_0x55ad7d++){const _0x4e0ccd=_0x560661[_0x55ad7d];let _0x1c94b8=!0x1;for(const _0x1499cc of Object['keys'](_0x4e0ccd))void 0x0===_0x4e0ccd[_0x1499cc]?delete _0x4e0ccd[_0x1499cc]:'id'!==_0x1499cc&&(_0x1c94b8=!0x0);_0x1c94b8||(_0x560661[_0x55ad7d]=null);}if(_0x560661=_0x560661['filter'](_0x4100a0=>null!==_0x4100a0),!_0x560661['length'])return;for(let _0x166717=0x0;_0x166717<_0x560661['length'];_0x166717++){const _0x5bf6e8=_0x560661[_0x166717];void 0x0!==_0x5bf6e8['fromVersion']&&void 0x0===_0x5bf6e8['toVersion']&&(_0x5bf6e8['toVersion']=this['repository']['getRevision'](_0x5bf6e8['id'])['toVersion']),void 0x0!==_0x5bf6e8['toVersion']&&void 0x0===_0x5bf6e8['fromVersion']&&(_0x5bf6e8['fromVersion']=this['repository']['getRevision'](_0x5bf6e8['id'])['fromVersion']);}const _0x48f270=this['editor']['config']['get']('collaboration.channelId');this['_isPendingUpdate']=!0x0,this['_addPendingAction'](),this['adapter']['updateRevisions'](_0x560661,_0x48f270)['finally'](()=>{this['_isPendingUpdate']=!0x1;})['then'](_0x38a5a8=>{if(_0x38a5a8){for(const _0x3774ba of _0x38a5a8)this['setRevisionData']({'id':_0x3774ba['id'],'createdAt':_0x3774ba['createdAt']});}this['_removePendingAction'](),this['sendBufferedUpdates']();});}['_replaceEditorDataWithRevisionData'](_0x1a8ae0,_0x305a3c){let _0x23eb91=this['editor']['config']['get']('initialData'),_0x92a521=this['editor']['config']['get']('rootsAttributes');if(void 0x0===_0x23eb91){_0x23eb91={};for(const _0xd4b5c7 of this['editor']['model']['document']['getRootNames']())_0x23eb91[_0xd4b5c7]='';}if('string'==typeof _0x23eb91&&(_0x23eb91={'main':_0x23eb91}),void 0x0===_0x92a521){_0x92a521={};for(const _0xe15f4a of this['editor']['model']['document']['getRootNames']())_0x92a521[_0xe15f4a]={};}let _0x223b7a=!0x1;const _0x568899=Object['keys'](_0x23eb91),_0x22e99c=Object['keys'](_0x1a8ae0);for(const _0x2ab73c of _0x568899){if(_0x23eb91[_0x2ab73c]!==_0x1a8ae0[_0x2ab73c]&&''!==_0x23eb91[_0x2ab73c]['trim']()){_0x223b7a=!0x0;break;}if(!_0x151428(_0x92a521[_0x2ab73c],_0x305a3c[_0x2ab73c])&&Object['keys'](_0x92a521[_0x2ab73c])['length']>0x0){_0x223b7a=!0x0;break;}}_0x223b7a||(_0x223b7a=_0x22e99c['some'](_0x1fb4e0=>!this['editor']['model']['document']['getRoot'](_0x1fb4e0))),_0x223b7a&&_0x4dc739('editor-initial-data-replaced-with-revision-data',{'editorData':_0x23eb91,'editorRootsAttributes':_0x92a521,'revisionData':_0x1a8ae0,'revisionRootsAttributes':_0x305a3c}),this['editor']['config']['set']('initialData',_0x1a8ae0),this['editor']['config']['set']('rootsAttributes',_0x305a3c);}['_addPendingAction'](){if(!this['_pendingAction']){const _0x5bf5da=this['editor']['plugins']['get']('PendingActions');this['_pendingAction']=_0x5bf5da['add'](y(this['editor']['locale'],'PENDING_ACTION_REVISION_HISTORY'));}}['_removePendingAction'](){this['_pendingAction']&&(this['editor']['plugins']['get']('PendingActions')['remove'](this['_pendingAction']),this['_pendingAction']=null);}['_findInsertionIndex'](_0x3e76bf){const _0x39ab32=this['repository']['getRevisions']();_0x39ab32['reverse']();let _0x160f87=0x0;for(;_0x160f87<_0x39ab32['length'];){const _0x5749cc=_0x39ab32[_0x160f87];if(_0x5749cc===this['currentRevision']){_0x160f87++;continue;}if(_0x5749cc['id']===this['_initialRevisionId'])break;const _0x162ed4=_0x3e76bf['toVersion']-_0x5749cc['toVersion']||_0x3e76bf['fromVersion']-_0x5749cc['fromVersion'];if(_0x162ed4>0x0)break;if(_0x162ed4<0x0)_0x160f87++;else{if(!_0x3e76bf['creator']&&_0x5749cc['creator'])break;if(_0x5749cc['creator']||!_0x3e76bf['creator']){if(_0x3e76bf['createdAt']>_0x5749cc['createdAt'])break;_0x160f87++;}else _0x160f87++;}}return _0x160f87;}['setRevisionData'](_0x15d216){const _0x32f75b=this['repository']['getRevision'](_0x15d216['id']);if(_0x15d216['createdAt']&&(_0x15d216['createdAt']=new Date(_0x15d216['createdAt'])),_0x15d216['authorsIds']){const _0x4a855b=this['editor']['plugins']['get']('Users');_0x15d216['authors']=_0x15d216['authorsIds']['map'](_0x13ca47=>_0x4a855b['getUser'](_0x13ca47));}_0x32f75b['_update'](_0x15d216,!0x0);}['buildRevisionData']({revision:_0x3a7a5e=null,from:_0x28ad74=null,to:_0x28c02e=null}){_0x28ad74=null!==_0x28ad74?_0x28ad74:_0x3a7a5e['fromVersion'],_0x28c02e=null!==_0x28c02e?_0x28c02e:_0x3a7a5e['toVersion'];const _0x192a1c=this['_revisionDataBuilder']['getData'](_0x28ad74,_0x28c02e),_0x55e1d4={'diffData':_0x192a1c['diffData'],'authorsIds':_0x192a1c['authorsIds'],'fromVersion':_0x28ad74,'toVersion':_0x28c02e};if(!_0x3a7a5e||_0x28c02e!==_0x3a7a5e['toVersion']){const _0x4a3d21=_0x28c02e-0x1,_0x5424c4=this['_source']['history']['getOperation'](_0x4a3d21);_0x55e1d4['createdAt']=_0x5424c4&&_0x5424c4['createdAt']||new Date();}if(this['_loadedStateData']&&_0x28ad74===this['_loadedStateData']['fromVersion']){for(const _0x6ca8e9 of this['_loadedStateData']['authors'])_0x55e1d4['authorsIds']['includes'](_0x6ca8e9['id'])||_0x55e1d4['authorsIds']['push'](_0x6ca8e9['id']);}return _0x55e1d4;}['_loadRevisionData'](_0x3ee1cf){if(!_0x3ee1cf||_0x3ee1cf['diffData'])return Promise['resolve']();{const _0x1104a0=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0x1104a0,'revisionId':_0x3ee1cf['id']})['then'](_0x2fb5d7=>{_0x3ee1cf['diffData']=_0x2fb5d7['diffData'];});}}['_bufferUpdate'](_0x4e8e69,_0x54e453,_0x2838f7){if(this['_bufferedUpdates']['has'](_0x4e8e69)){const _0x100a6e=this['_bufferedUpdates']['get'](_0x4e8e69);_0x54e453=_0x2838f7?{..._0x100a6e,..._0x54e453}:{..._0x54e453,..._0x100a6e};}this['_bufferedUpdates']['set'](_0x4e8e69,_0x54e453);}['_getFromVersion'](_0xa4f1a2){const _0x596b8d=this['repository']['getRevisions']();_0x596b8d['reverse'](),_0x596b8d['shift']();const _0x5a97ed=_0x596b8d['find'](_0x218848=>_0x218848['toVersion']<=_0xa4f1a2)['toVersion'];return _0x5a97ed<this['_startingVersion']?this['_startingVersion']:_0x5a97ed;}['_createInitialRevision'](_0x3ce985){const _0x1a0389=this['repository']['getRevision'](this['repository']['length']-0x1);if(_0x1a0389)this['_initialRevisionId']=_0x1a0389['id'];else{const _0x582367=!this['editor']['model']['document']['roots']['find'](_0x1e3848=>this['editor']['model']['hasContent'](_0x1e3848)),_0x45f6b4=this['editor']['plugins']['get']('Users')['me']['id'],_0x5fbe5c=y(this['editor']['locale'],_0x582367?'Empty\x20document':'Initial\x20revision');this['_makeRevision']({'from':_0x3ce985,'to':_0x3ce985,'id':this['_initialRevisionId'],'name':_0x5fbe5c,'creatorId':_0x45f6b4});}}['_createCurrentRevision'](_0x2146f9){const _0x3e1c48=this['_source']['getCurrentRevisionId']();this['currentRevision']=this['repository']['getRevision'](_0x3e1c48),this['currentRevision']||(this['currentRevision']=this['_makeRevision']({'from':_0x2146f9,'to':_0x2146f9,'id':_0x3e1c48,'name':'','creatorId':null}));}['_makeRevision']({name:_0x6da013,from:_0x1b6e87,to:_0x21374a,creatorId:_0x26682e,id:_0x590f85}){const _0x109daf=this['buildRevisionData']({'from':_0x1b6e87,'to':_0x21374a});_0x109daf['name']=_0x6da013,_0x109daf['creatorId']=_0x26682e,_0x109daf['id']=_0x590f85;const _0x5d440d=this['addRevisionData'](_0x109daf);return this['adapter']&&this['_bufferUpdate'](_0x109daf['id'],_0x109daf,!0x0),_0x5d440d;}['_setConversion'](){this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'});}['_removeRevisionMarkers'](_0x29faca){return(_0x29faca=_0x29faca['filter'](_0x387c99=>!_0x387c99['name']||'revision-start'!==_0x387c99['name']&&'revision-end'!==_0x387c99['name']))['forEach'](_0x4b1b7b=>{'string'!=typeof _0x4b1b7b&&(_0x4b1b7b['children']=this['_removeRevisionMarkers'](_0x4b1b7b['children']),_0x4b1b7b['attributes']=_0x4b1b7b['attributes']['filter'](_0x52c5ce=>!_0x52c5ce[0x0]['startsWith']('data-revision-')));}),_0x29faca;}}function B(_0x1b1d52,_0x5e5db5){const _0xb4c824=_0x5e5db5['editing']['view']['document'];if('string'==typeof _0x1b1d52)return new _0xa9bb82(_0xb4c824,_0x1b1d52);{const _0x41498c=_0x1b1d52['children']['map'](_0x45c361=>B(_0x45c361,_0x5e5db5));return new(T[_0x1b1d52['type']]||_0x2c124e)(_0xb4c824,_0x1b1d52['name'],_0x1b1d52['attributes'],_0x41498c);}}class J{['editor'];['source'];['_savedMetaData'];['_lastFrom'];['_lastTo'];['_markers'];['_diffRoots'];['_diffRootsAttributes'];['_baseRoots'];['_baseRootsAttributes'];['_idsRoots'];['_baseIdsRoots'];['_touched'];['_touchedMarkers'];['_touchedRoots'];['_revisionId'];['_startingRevisionId'];constructor(_0x393dfe){this['editor']=_0x393dfe,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'](_0x428fce){this['source']=_0x428fce;const _0x38ddce=new Map(),_0x1a316c=new Map(),_0x471f2c=this['editor']['model']['document']['roots']['map'](_0x5d1247=>_0x5d1247['rootName']);for(const _0x69c2af of _0x471f2c){const _0x532c62=this['editor']['model']['document']['getRoot'](_0x69c2af),_0x68db94=q(_0x532c62);_0x38ddce['set'](_0x69c2af,_0x68db94),_0x1a316c['set'](_0x69c2af,Object['fromEntries'](_0x532c62['getAttributes']()));}const _0x32f083=Array['from'](this['editor']['model']['markers'])['map'](_0x365edd=>[_0x365edd['name'],_0x365edd['getRange']()]),_0x2ba53a=this['source']['version'];this['_saveMetaData'](_0x2ba53a,_0x38ddce,_0x32f083,_0x1a316c),this['_startingRevisionId']=this['_revisionId'];const _0x1e2964=new Map(),_0x14055c=new Map();for(const _0x3b6051 of _0x471f2c){const _0x5b9f26=G(_0x3b6051);_0x1e2964['set'](_0x3b6051,_0x5b9f26),_0x14055c['set'](_0x3b6051,{});}this['_saveMetaData'](Number['NEGATIVE_INFINITY'],_0x1e2964,[],_0x14055c);}['getData'](_0x37d679,_0x1e10b9){if(this['_lastFrom']===_0x37d679&&this['_lastTo']<=_0x1e10b9)this['_savedMetaData']['size']>0x1&&this['_removeMetaData'](this['_lastTo']),this['_applyOperations'](this['_lastTo'],_0x1e10b9,!0x0);else{if(!this['_savedMetaData']['has'](_0x37d679)){const _0x324f35=this['_getPreviousFrom'](_0x37d679);this['_calculateMetaData'](_0x324f35,_0x37d679,!0x1);}this['_calculateMetaData'](_0x37d679,_0x1e10b9,!0x0);}return this['_lastFrom']=_0x37d679,this['_lastTo']=_0x1e10b9,this['_getState']();}['loadState'](_0x255506){this['_reset'](),this['_lastFrom']=_0x255506['fromVersion'],this['_lastTo']=_0x255506['toVersion'];for(const _0x435384 in _0x255506['diffData']){const _0x350f8a=_0x255506['diffData'][_0x435384]['attachChange'],_0x3472b1=_0x533e67(_0x255506['diffData'][_0x435384]['attributesBefore'])||{},_0x594e77=this['_makeModelFromViewString'](_0x255506['diffData'][_0x435384]['deletions']);_0x594e77['rootName']=_0x435384,_0x594e77['_isAttached']=!_0x350f8a||!_0x350f8a['isAttached'],_0x594e77['isAttached']=()=>_0x594e77['_isAttached'],this['_baseRoots']['set'](_0x435384,_0x594e77),this['_baseRootsAttributes']['set'](_0x435384,_0x3472b1),_0x350f8a&&this['_touchedRoots']['set'](_0x435384,_0x350f8a);const _0x591385=this['_makeIdsRoot'](_0x594e77);this['_baseIdsRoots']['set'](_0x435384,_0x591385);for(const [_0x491b19,_0x1c0f97]of _0x594e77['markers']){if(!_0x491b19['startsWith']('revision:'))continue;const _0x3eec40=_0x491b19['split'](':')[0x2];for(const _0x26740a of _0x1c0f97['getWalker']({'singleCharacters':!0x0})){const _0x378c93=this['_getVidAttributeName'](_0x26740a),_0xe26202='elementEnd'==_0x26740a['type']?_0x26740a['previousPosition']['path']['slice'](0x0,-0x1):_0x26740a['previousPosition']['path'],_0x4767c2=_0x591385['getNodeByPath'](_0xe26202)['getAttribute'](_0x378c93);this['_touched']['set'](_0x4767c2,{'userId':_0x3eec40});}}}this['_startingRevisionId']=this['_revisionId'];const _0xf9ff02=[...Array(this['_revisionId'])['keys']()]['slice'](0x1)['filter'](_0x3f81e7=>!this['_touched']['has'](_0x3f81e7));let _0x54f839=0x0;const _0x35cdd2=new Map();for(const _0x4eb1d9 in _0x255506['diffData']){const _0x1f69cc=_0x255506['diffData'][_0x4eb1d9]['attachChange'],_0x102f78=_0x533e67(_0x255506['diffData'][_0x4eb1d9]['attributesAfter'])||{},_0x2533ed=this['_makeModelFromViewString'](_0x255506['diffData'][_0x4eb1d9]['insertions']);_0x2533ed['rootName']=_0x4eb1d9,_0x2533ed['_isAttached']=!_0x1f69cc||_0x1f69cc['isAttached'],_0x2533ed['isAttached']=()=>_0x2533ed['_isAttached'],this['_diffRoots']['set'](_0x4eb1d9,_0x2533ed),this['_diffRootsAttributes']['set'](_0x4eb1d9,_0x102f78);const _0xba71b9=this['_makeIdsRoot'](_0x2533ed,Number['NEGATIVE_INFINITY']);this['_idsRoots']['set'](_0x4eb1d9,_0xba71b9),_0x35cdd2['set'](_0x4eb1d9,_0x2533ed['isAttached']()?_0x102f78:{});for(const [_0x170105,_0x3a106e]of _0x2533ed['markers']){if(!_0x170105['startsWith']('revision:'))continue;const _0x5f2ffd=_0x170105['split'](':')[0x2];for(const _0x3faa36 of _0x3a106e['getWalker']({'singleCharacters':!0x0})){const _0x1fcfd5=this['_getVidAttributeName'](_0x3faa36),_0xe200a2=this['_revisionId']++,_0x3a0ed2='elementEnd'==_0x3faa36['type']?_0x3faa36['previousPosition']['path']['slice'](0x0,-0x1):_0x3faa36['previousPosition']['path'];_0xba71b9['getNodeByPath'](_0x3a0ed2)['_setAttribute'](_0x1fcfd5,_0xe200a2),this['_touched']['set'](_0xe200a2,{'userId':_0x5f2ffd});}}for(const _0x238ab7 of this['editor']['model']['createRangeIn'](_0x2533ed)['getWalker']({'singleCharacters':!0x0})){const _0x48bf39=this['_getVidAttributeName'](_0x238ab7),_0xcb19fe='elementEnd'==_0x238ab7['type']?_0x238ab7['previousPosition']['path']['slice'](0x0,-0x1):_0x238ab7['previousPosition']['path'],_0x2a324a=_0xba71b9['getNodeByPath'](_0xcb19fe);_0x2a324a['getAttribute'](_0x48bf39)>0x0||_0x2a324a['_setAttribute'](_0x48bf39,_0xf9ff02[_0x54f839++]);}for(const [_0x560ce6,_0x510562]of _0x2533ed['markers'])_0x560ce6['startsWith']('revision:')||this['_markers']['set'](_0x560ce6,_0x510562);}const _0x435f90=G('$graveyard');this['_baseRoots']['set']('$graveyard',_0x435f90),this['_baseIdsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x435f90,0x1));const _0x1b39ea=G('$graveyard');this['_diffRoots']['set']('$graveyard',_0x1b39ea),this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x1b39ea,0x1));const _0x1eddd1=Array['from'](this['_diffRoots'])['map'](([_0x1d3810,_0x36f982])=>[_0x1d3810,q(_0x36f982)]);this['_saveMetaData'](this['_lastTo'],_0x1eddd1,this['_markers'],_0x35cdd2);}['_makeModelFromViewString'](_0x43fb93){const _0x2763f9=JSON['parse'](_0x43fb93),_0x45599f=this['editor']['editing']['view']['document'],_0x42bf09=new _0x2ada46(_0x45599f,_0x2763f9['map'](_0x2b4e2b=>B(_0x2b4e2b,this['editor'])));return this['editor']['data']['toModel'](_0x42bf09);}['_saveMetaData'](_0x202964,_0x39a306,_0x4ff5f2,_0x35c344){const _0x4cd718=new Map(_0x39a306),_0x33c8b8=new Map(_0x533e67(_0x35c344)),_0xbdfaca=new Map();for(const [_0x47ec41,_0x1e7776]of _0x4ff5f2)_0xbdfaca['set'](_0x47ec41,{'start':_0x1e7776['start']['clone'](),'end':_0x1e7776['end']['clone'](),'rootName':_0x1e7776['root']['rootName']});this['_savedMetaData']['set'](_0x202964,{'roots':_0x4cd718,'markers':_0xbdfaca,'rootsAttributes':_0x33c8b8});}['_removeMetaData'](_0x1aa928){this['_savedMetaData']['delete'](_0x1aa928);}['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'](_0x4c2d8c,_0x5348fe=null){let _0x30a4d3=null;_0x4c2d8c['is']('documentFragment')||(_0x30a4d3=new ft(_0x4c2d8c['name'],{'vid_start':null===_0x5348fe?this['_revisionId']++:_0x5348fe++}));const _0x312f3c=[];for(const _0x3c3974 of _0x4c2d8c['getChildren']())if(_0x3c3974['is']('element')){_0x312f3c['push'](this['_makeIdsRoot'](_0x3c3974,_0x5348fe));const _0x54c891=_0x312f3c[_0x312f3c['length']-0x1];null!==_0x5348fe&&(_0x5348fe=_0x54c891['is']('element','$text')?_0x54c891['getAttribute']('vid')+0x1:_0x54c891['getAttribute']('vid_end')+0x1);}else{for(let _0x11a644=0x0;_0x11a644<_0x3c3974['offsetSize'];_0x11a644++)_0x312f3c['push'](new ft('$text',{'vid':null===_0x5348fe?this['_revisionId']++:_0x5348fe++}));}if(_0x4c2d8c['is']('documentFragment')){const _0x35fdd6=G(_0x4c2d8c['rootName']);return _0x35fdd6['_insertChild'](0x0,_0x312f3c),_0x35fdd6;}return _0x30a4d3['_setAttribute']('vid_end',null===_0x5348fe?this['_revisionId']++:_0x5348fe++),_0x30a4d3['_insertChild'](0x0,_0x312f3c),_0x30a4d3;}['_calculateMetaData'](_0x156f69,_0x318062,_0x5adbb3){this['_reset']();const {roots:_0x3c3acc,markers:_0x361883,rootsAttributes:_0x518ee4}=this['_savedMetaData']['get'](_0x156f69);this['_baseRoots']=new Map(_0x3c3acc),this['_baseRootsAttributes']=new Map(_0x533e67(_0x518ee4));for(const [_0x135496,_0x2d9700]of this['_baseRoots'])if('$graveyard'!==_0x135496&&(this['_diffRoots']['set'](_0x135496,q(_0x2d9700)),this['_diffRootsAttributes']=new Map(_0x533e67(_0x518ee4)),_0x5adbb3)){const _0x352d26=this['_revisionId'];this['_idsRoots']['set'](_0x135496,this['_makeIdsRoot'](_0x2d9700)),this['_baseIdsRoots']['set'](_0x135496,this['_makeIdsRoot'](_0x2d9700,_0x352d26));}this['_startingRevisionId']=this['_revisionId'],this['_diffRoots']['set']('$graveyard',q(this['_baseRoots']['get']('$graveyard'))),_0x5adbb3&&this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](this['_baseRoots']['get']('$graveyard')));for(const [_0x1a0711,_0x1e414c]of _0x361883){const _0x52d2a0=this['_baseRoots']['get'](_0x1e414c['rootName']),_0x21d4ac=this['_diffRoots']['get'](_0x1e414c['rootName']),_0x13a9e8=new vt(this['_fixPosition'](_0x1e414c['start'],_0x52d2a0),this['_fixPosition'](_0x1e414c['end'],_0x52d2a0)),_0x205e3a=this['_fixRange'](_0x13a9e8,_0x21d4ac);_0x52d2a0['markers']['set'](_0x1a0711,_0x13a9e8),this['_markers']['set'](_0x1a0711,_0x205e3a);}this['_applyOperations'](_0x156f69,_0x318062,_0x5adbb3);}['_applyOperations'](_0x1c9436,_0x1f82bb,_0x4ba7f5){for(const _0x13389f of this['source']['getOperations'](_0x1c9436,_0x1f82bb))this['_handleOperation'](_0x13389f,_0x4ba7f5);for(const _0xdb0984 of this['_diffRoots']['values']())_0xdb0984['markers']['clear']();for(const [_0x317fd8,_0x5dd89a]of this['_markers']){this['_diffRoots']['get'](_0x5dd89a['root']['rootName'])['markers']['set'](_0x317fd8,_0x5dd89a['clone']());}const _0x3e0d07=new Map(),_0x22773f=new Map();for(const [_0x39fd76,_0x4d0d12]of this['_diffRoots'])_0x3e0d07['set'](_0x39fd76,q(_0x4d0d12)),_0x22773f['set'](_0x39fd76,this['_diffRootsAttributes']['get'](_0x39fd76));this['_saveMetaData'](_0x1f82bb,_0x3e0d07,this['_markers'],_0x22773f);}['_getPreviousFrom'](_0x54bd58){const _0x1cd078=Array['from'](this['_savedMetaData']['keys']());_0x1cd078['sort']((_0x518ca0,_0x38abad)=>_0x518ca0-_0x38abad),_0x1cd078['reverse']();for(const _0x598100 of _0x1cd078)if(_0x598100<_0x54bd58)return _0x598100;return Number['NEGATIVE_INFINITY'];}['_copyMarkers'](_0xfa0908,_0x246a07){const _0x4d4e5b=Array['from'](_0x246a07['markers'])['map'](([_0x37fbbb,_0x5417ea])=>[_0x37fbbb,this['_fixRange'](_0x5417ea,_0xfa0908)]);_0xfa0908['markers']=new Map(_0x4d4e5b);}['_transformMarkers'](_0x5ab0e4){for(const _0x5c7d95 of this['_markers']['values']()){const _0x58bff1=_0x5c7d95['getTransformedByOperation'](_0x5ab0e4),_0x56f7cb=vt['_createFromRanges'](_0x58bff1);_0x5c7d95['start']=_0x56f7cb['start'],_0x5c7d95['end']=_0x56f7cb['end'];}}['_handleOperation'](_0x5565c3,_0x46e32a){if('addRoot'==_0x5565c3['type']||'detachRoot'==_0x5565c3['type'])return void this['_handleRootOperation'](_0x5565c3,_0x46e32a);if('insert'==_0x5565c3['type']){const _0x38fb7f=_0x5565c3['position']['root']['rootName'];this['_diffRoots']['has'](_0x38fb7f)||(this['_diffRoots']['set'](_0x38fb7f,G(_0x38fb7f,!0x0)),this['_diffRootsAttributes']['set'](_0x38fb7f,{}),_0x46e32a&&this['_idsRoots']['set'](_0x38fb7f,G(_0x38fb7f,!0x0)));}else{if('addRootAttribute'==_0x5565c3['type']||'removeRootAttribute'==_0x5565c3['type']||'changeRootAttribute'==_0x5565c3['type'])return void this['_handleRootAttributeOperation'](_0x5565c3);}const _0x4c9da2=this['_cloneOperation'](_0x5565c3,this['_diffRoots']);if('marker'!==_0x5565c3['type']&&(_0x4c9da2['_execute'](),this['_transformMarkers'](_0x4c9da2)),_0x46e32a)switch(_0x4c9da2['type']){case'insert':this['_handleInsertOperation'](_0x5565c3);break;case'move':case'remove':case'reinsert':this['_handleMoveOperation'](_0x5565c3);break;case'merge':this['_handleMergeOperation'](_0x5565c3);break;case'split':this['_handleSplitOperation'](_0x5565c3);break;case'marker':this['_handleMarkerOperation'](_0x5565c3);}}['_cloneOperation'](_0x34d95c,_0x4062df){const _0x78163b=_0x34d95c['clone']();return _0x78163b['_authorId']=_0x34d95c['_authorId'],this['_fixOperation'](_0x78163b,_0x4062df),_0x78163b;}['_getBaseVids'](_0x109a55){return _0x109a55['map'](_0x24933e=>{const _0x349745=this['_getVidAttributeName'](_0x24933e);return Number(_0x24933e['item']['getAttribute'](_0x349745));});}['_generateTape'](_0x9ab6b6,_0x1c584c){if(_0x9ab6b6['is']('element','$text'))_0x1c584c['push']({'item':_0x9ab6b6,'type':'text'});else{_0x9ab6b6['is']('element')&&_0x1c584c['push']({'item':_0x9ab6b6,'type':'elementStart'});for(const _0x5610cf of _0x9ab6b6['getChildren']())this['_generateTape'](_0x5610cf,_0x1c584c);_0x9ab6b6['is']('element')&&_0x1c584c['push']({'item':_0x9ab6b6,'type':'elementEnd'});}return _0x1c584c;}['_getState'](){const _0x5bdbb8=new Map(this['_touched']),_0x13ee29=new Map(_0x5bdbb8),_0x534606=new Map(),_0x27f302={'insertions':{},'deletions':{}},_0x5c8b83={'insertions':{},'deletions':{}},_0x43683a=new Map(),_0x3e8c84=new Set([...this['_baseRoots']['keys'](),...this['_diffRoots']['keys']()]);_0x3e8c84['delete']('$graveyard');for(const _0x44c81f of _0x3e8c84){const _0xd8076b=this['_diffRoots']['get'](_0x44c81f)||G(_0x44c81f,!0x1),_0x1c803f=this['_baseRoots']['get'](_0x44c81f)||G(_0x44c81f,!0x1);_0xd8076b['isAttached']()||_0x1c803f['isAttached']()?(_0x27f302['insertions'][_0x44c81f]=q(_0xd8076b),_0x27f302['deletions'][_0x44c81f]=q(_0x1c803f),this['_copyMarkers'](_0x27f302['deletions'][_0x44c81f],_0x1c803f),this['_copyMarkers'](_0x27f302['insertions'][_0x44c81f],_0xd8076b),_0x5c8b83['insertions'][_0x44c81f]=this['_generateTape'](this['_idsRoots']['get'](_0x44c81f),[]),_0x5c8b83['deletions'][_0x44c81f]=this['_generateTape'](this['_baseIdsRoots']['get'](_0x44c81f)||G(_0x44c81f,!0x1),[])):_0x3e8c84['delete'](_0x44c81f);}for(const _0x15340c of _0x3e8c84){const _0x40c639=_0x5c8b83['insertions'][_0x15340c];for(const _0x2537ad of _0x40c639){const _0x56f438=this['_getVidAttributeName'](_0x2537ad),_0x531e1d=_0x2537ad['item']['getAttribute'](_0x56f438);_0x13ee29['delete'](_0x531e1d),_0x531e1d>=this['_startingRevisionId']&&_0x534606['set'](_0x531e1d,_0x5bdbb8['get'](_0x531e1d));}}for(const _0x41d2ea of _0x3e8c84){const _0x36db05=_0x5c8b83['insertions'][_0x41d2ea],_0xf8c5c7=this['_getBaseVids'](_0x5c8b83['deletions'][_0x41d2ea]);let _0x10c8c3=0x0;for(const _0x44ca77 of _0x36db05){const _0x2afb12=this['_getVidAttributeName'](_0x44ca77),_0x570c6e=_0x44ca77['item']['getAttribute'](_0x2afb12);if(!_0x534606['has'](_0x570c6e)&&!_0x43683a['has'](_0x570c6e)){if(_0x13ee29['has'](_0x570c6e))_0x10c8c3++;else{if(_0x570c6e!=_0xf8c5c7[_0x10c8c3]){const _0x2beef2=_0x5bdbb8['get'](_0x570c6e)||_0x5bdbb8['get'](_0xf8c5c7[_0x10c8c3]);for(;_0x570c6e!=_0xf8c5c7[_0x10c8c3];)_0x13ee29['has'](_0xf8c5c7[_0x10c8c3])||(_0x43683a['set'](_0xf8c5c7[_0x10c8c3],_0x2beef2),_0x5bdbb8['set'](_0xf8c5c7[_0x10c8c3],_0x2beef2)),_0x10c8c3++;}_0x10c8c3++;}}}}for(const _0x28456c of _0x3e8c84){const _0x1251e6=_0x5c8b83['insertions'][_0x28456c];for(const _0x1ae66a of _0x1251e6){const _0x45a5cd=this['_getVidAttributeName'](_0x1ae66a),_0x185226=_0x1ae66a['item']['getAttribute'](_0x45a5cd);if(_0x43683a['has'](_0x185226)){const _0x75da9e=_0x43683a['get'](_0x185226);_0x13ee29['has'](_0x185226)||_0x13ee29['set'](_0x185226,{..._0x75da9e}),_0x534606['set'](_0x185226,{..._0x75da9e});}}}for(const _0x5ea844 of _0x13ee29['keys']())_0x5ea844>=this['_startingRevisionId']&&_0x13ee29['delete'](_0x5ea844);const _0x3cdc10=new Map();for(const _0x134877 of _0x3e8c84){let _0x332f22=_0x5c8b83['insertions'][_0x134877];for(const _0x20b99d of _0x332f22)if(_0x20b99d['item']['is']('element','tableCell')){const _0x2d3027=this['_getVidAttributeName'](_0x20b99d),_0x54a93b=_0x20b99d['item']['getAttribute'](_0x2d3027);if(_0x534606['has'](_0x54a93b)){const _0xdbbc5c=_0x20b99d['item']['parent']['parent']['getAttribute']('vid_start'),_0x454a6f=_0x3cdc10['get'](_0xdbbc5c)||new Set();_0x454a6f['add'](_0x534606['get'](_0x54a93b)['userId']),_0x3cdc10['set'](_0xdbbc5c,_0x454a6f);}}_0x332f22=_0x5c8b83['deletions'][_0x134877];for(const _0x4f7edc of _0x332f22)if(_0x4f7edc['item']['is']('element','tableCell')){const _0x2ddc2e=this['_getVidAttributeName'](_0x4f7edc),_0x3f2091=_0x4f7edc['item']['getAttribute'](_0x2ddc2e);if(_0x13ee29['has'](_0x3f2091)){const _0x50cc45=_0x4f7edc['item']['parent']['parent']['getAttribute']('vid_start'),_0x3d029c=_0x3cdc10['get'](_0x50cc45)||new Set();_0x3d029c['add'](_0x13ee29['get'](_0x3f2091)['userId']),_0x3cdc10['set'](_0x50cc45,_0x3d029c);}}for(const _0xa4c5c4 of _0x3cdc10['keys']())(_0x534606['has'](_0xa4c5c4)||_0x13ee29['has'](_0xa4c5c4))&&_0x3cdc10['delete'](_0xa4c5c4);}for(const _0xa8b5d6 of _0x3e8c84){const _0x292f35=_0x5c8b83['insertions'][_0xa8b5d6];let _0x21d7fd=null,_0x4f05ab=null;for(const _0x3a27f5 of _0x292f35){const _0x21a281=this['_getVidAttributeName'](_0x3a27f5),_0x3eaaec=_0x3a27f5['item']['getAttribute'](_0x21a281),_0x643b5e=_0x3cdc10['get'](_0x3eaaec);_0x643b5e&&'elementStart'==_0x3a27f5['type']&&(_0x21d7fd=Array['from'](_0x643b5e)[0x0],_0x4f05ab=_0x3a27f5['item']['getAttribute']('vid_end')),_0x21d7fd&&(_0x13ee29['set'](_0x3eaaec,{'userId':_0x21d7fd}),_0x534606['set'](_0x3eaaec,{'userId':_0x21d7fd})),_0x3eaaec==_0x4f05ab&&(_0x21d7fd=null,_0x4f05ab=null);}}const _0x3ce00e={},_0x476d7c=new Set();for(const _0x54b30b of _0x3e8c84){const _0x493f5d=_0x27f302['deletions'][_0x54b30b],_0x4994b2=_0x27f302['insertions'][_0x54b30b];for(const {userId:_0x5352ac}of this['_touchedMarkers']['values']())null!==_0x5352ac&&_0x476d7c['add'](_0x5352ac);for(const {userId:_0x529c58}of this['_touchedRoots']['values']())null!==_0x529c58&&_0x476d7c['add'](_0x529c58);this['_markChanges'](_0x4994b2,_0x5c8b83['insertions'][_0x54b30b],_0x534606,'insertion',_0x476d7c),this['_markChanges'](_0x493f5d,_0x5c8b83['deletions'][_0x54b30b],_0x13ee29,'deletion',_0x476d7c),_0x3ce00e[_0x54b30b]={'insertions':this['_prepareViewToSave'](_0x4994b2),'deletions':this['_prepareViewToSave'](_0x493f5d),'attachChange':this['_touchedRoots']['get'](_0x54b30b)||null,'attributesBefore':_0x533e67(this['_baseRootsAttributes']['get'](_0x54b30b))||{},'attributesAfter':_0x533e67(this['_diffRootsAttributes']['get'](_0x54b30b))};}return{'diffData':_0x3ce00e,'authorsIds':Array['from'](_0x476d7c)};}['_processRootBeforeSave'](_0x485985){for(const [,_0x314a42]of _0x485985['markers']){const _0x364f1c=_0x314a42['start']['getAncestors']()['filter'](_0x493748=>'tableCell'==_0x493748['name']);for(const _0x6608ea of _0x364f1c)0x1==_0x6608ea['childCount']&&_0x6608ea['getChild'](0x0)['is']('element','paragraph')&&_0x6608ea['getChild'](0x0)['_setAttribute']('keepParagraph',!0x0);}}['_prepareViewToSave'](_0x17dcc7){this['_processRootBeforeSave'](_0x17dcc7);const _0x3aed39=this['editor']['data']['toView'](_0x17dcc7,{}),_0x4464aa=Array['from'](_0x3aed39['getChildren']())['map'](_0xe01393=>this['_getViewJson'](_0xe01393));return JSON['stringify'](_0x4464aa);}['_getViewJson'](_0x228283){if(_0x228283['is']('$text'))return _0x228283['data'];{const _0x49b980=_0x228283;return{'type':Object['keys'](T)['find'](_0x2fac02=>_0x228283 instanceof T[_0x2fac02]),'name':_0x49b980['name'],'attributes':Array['from'](_0x49b980['getAttributes']()),'children':Array['from'](_0x49b980['getChildren']())['map'](_0x140768=>this['_getViewJson'](_0x140768))};}}['_markChanges'](_0x174e19,_0x13b9a6,_0x26b246,_0x5d479b,_0x5e7de6){let _0x2259fa=null,_0x140e50=null,_0x5c9c4e=0x0;const _0x1f0713=this['editor']['model'];for(let _0x3f82f0=0x0;_0x3f82f0<_0x13b9a6['length'];_0x3f82f0++){const _0x3340b7=this['_getVidAttributeName'](_0x13b9a6[_0x3f82f0]),_0x29f8ee=_0x13b9a6[_0x3f82f0]['item']['getAttribute'](_0x3340b7),_0x5c4299=_0x26b246['get'](_0x29f8ee),_0x3e21a6=_0x3f82f0==_0x13b9a6['length']-0x1;(!_0x2259fa&&_0x5c4299&&(_0x2259fa=_0x5c4299,_0x140e50=_0x13b9a6[_0x3f82f0]),_0x2259fa&&(!_0x5c4299||_0x5c4299['userId']!=_0x2259fa['userId']))&&(_0x2d4690(_0x5c4299,L(_0x140e50,_0x174e19,_0x1f0713),L(_0x13b9a6[_0x3f82f0],_0x174e19,_0x1f0713)),_0x2259fa=_0x5c4299||null,_0x140e50=_0x5c4299?_0x13b9a6[_0x3f82f0]:null),_0x2259fa&&_0x3e21a6&&_0x2d4690(_0x5c4299,L(_0x140e50,_0x174e19,_0x1f0713),W(_0x13b9a6[_0x3f82f0],_0x174e19,_0x1f0713));}function _0x2d4690(_0x316132,_0x106f96,_0x11c258){const _0x8bbb8d=_0x2259fa['userId'],_0x9b08d='revision:'+_0x5d479b+':'+_0x8bbb8d+':'+_0x5c9c4e++,_0x9e4745=_0x1f0713['createRange'](_0x106f96,_0x11c258);_0x174e19['markers']['set'](_0x9b08d,_0x9e4745),null!==_0x8bbb8d&&_0x5e7de6['add'](_0x8bbb8d);}}['_getVidAttributeName'](_0x3b378f){switch(_0x3b378f['type']){case'elementStart':return'vid_start';case'elementEnd':return'vid_end';default:return'vid';}}['_fixOperation'](_0x3e891e,_0x390d72){_0x3e891e['baseVersion']=null;for(const _0x26d9de in _0x3e891e){const _0x496622=_0x3e891e[_0x26d9de];if(_0x496622 instanceof gt){const _0x5223b5=_0x390d72['get'](_0x496622['root']['rootName']);_0x3e891e[_0x26d9de]=this['_fixPosition'](_0x496622,_0x5223b5);}if(_0x496622 instanceof vt){const _0x12dade=_0x390d72['get'](_0x496622['root']['rootName']);_0x3e891e[_0x26d9de]=this['_fixRange'](_0x496622,_0x12dade);}'root'===_0x26d9de&&(_0x3e891e['root']=_0x390d72['get'](_0x3e891e['root']['rootName']));}}['_fixRange'](_0x4f44f4,_0x5dbf8e){return this['editor']['model']['createRange'](this['_fixPosition'](_0x4f44f4['start'],_0x5dbf8e),this['_fixPosition'](_0x4f44f4['end'],_0x5dbf8e));}['_fixPosition'](_0x4389f0,_0x467ece){return this['editor']['model']['createPositionFromPath'](_0x467ece,_0x4389f0['path'],_0x4389f0['stickiness']);}['_handleInsertOperation'](_0x593efd){const _0x5bc6c3=this['_idsRoots']['get'](_0x593efd['position']['root']['rootName']),_0x4cc8b8=this['_fixPosition'](_0x593efd['position'],_0x5bc6c3),_0x162595=null===_0x593efd['_authorId']?null:_0x593efd['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x55e5d7=_0x4cc8b8['parent'],_0x3132ea=this['_revisionId'],_0x4f04e4=[];for(const _0x1767c0 of _0x593efd['nodes'])if(_0x1767c0['is']('element'))_0x4f04e4['push'](this['_makeIdsRoot'](_0x1767c0));else{for(let _0x305899=0x0;_0x305899<_0x1767c0['offsetSize'];_0x305899++)_0x4f04e4['push'](new ft('$text',{'vid':this['_revisionId']++}));}const _0x28ee8f=this['_revisionId'];for(let _0x4de9de=_0x3132ea;_0x4de9de<_0x28ee8f;_0x4de9de++)this['_touched']['set'](_0x4de9de,{'userId':_0x162595});_0x55e5d7['_insertChild'](_0x4cc8b8['offset'],_0x4f04e4);}['_handleMoveOperation'](_0x3c89ec){(_0x3c89ec=this['_cloneOperation'](_0x3c89ec,this['_idsRoots']))['_execute']();const _0x16d5d6=null===_0x3c89ec['_authorId']?null:_0x3c89ec['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x1e3f4e=_0x3c89ec['getMovedRangeStart'](),_0x29e79e=_0x1e3f4e['parent'],_0x280d59=_0x1e3f4e['offset'];!function _0x3350d6(_0x3aeee3,_0x1b09c3,_0x41ac1d,_0x5ab344){for(let _0xfeee0b=_0x41ac1d;_0xfeee0b<_0x5ab344;_0xfeee0b++){const _0x53f6fa=_0x1b09c3['getChild'](_0xfeee0b);_0x53f6fa['is']('element','$text')?_0x3aeee3['set'](_0x53f6fa['getAttribute']('vid'),{'userId':_0x16d5d6}):(_0x3aeee3['set'](_0x53f6fa['getAttribute']('vid_start'),{'userId':_0x16d5d6}),_0x3350d6(_0x3aeee3,_0x53f6fa,0x0,_0x53f6fa['childCount']),_0x3aeee3['set'](_0x53f6fa['getAttribute']('vid_end'),{'userId':_0x16d5d6}));}}(this['_touched'],_0x29e79e,_0x280d59,_0x280d59+_0x3c89ec['howMany']);}['_handleMergeOperation'](_0x58038b){const _0x4d1f3e=null===(_0x58038b=this['_cloneOperation'](_0x58038b,this['_idsRoots']))['_authorId']?null:_0x58038b['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x5c587e=_0x58038b['targetPosition']['parent'],_0x129560=_0x58038b['sourcePosition']['parent'],_0x5bf9e9=_0x5c587e['getAttribute']('vid_end'),_0x5cb524=_0x129560['getAttribute']('vid_start');_0x5c587e['_setAttribute']('vid_end',_0x129560['getAttribute']('vid_end')),_0x129560['_setAttribute']('vid_end',_0x5bf9e9),this['_touched']['set'](_0x5cb524,{'userId':_0x4d1f3e}),this['_touched']['set'](_0x5bf9e9,{'userId':_0x4d1f3e}),_0x58038b['_execute']();}['_handleSplitOperation'](_0x9435ac){const _0x4638d4=null===(_0x9435ac=this['_cloneOperation'](_0x9435ac,this['_idsRoots']))['_authorId']?null:_0x9435ac['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x31436a=_0x9435ac['graveyardPosition'],_0x81d526=_0x9435ac['splitPosition']['parent'];_0x9435ac['_execute']();const _0x3bd8a3=_0x81d526['getAttribute']('vid_end'),_0x4a6308=_0x9435ac['insertionPosition']['nodeAfter'];if(_0x31436a){const _0x48729b=_0x4a6308['getAttribute']('vid_end'),_0x114d98=_0x81d526['getAttribute']('vid_end');_0x81d526['_setAttribute']('vid_end',_0x48729b),_0x4a6308['_setAttribute']('vid_end',_0x114d98),this['_touched']['set'](_0x81d526['getAttribute']('vid_end'),{'userId':_0x4638d4}),this['_touched']['set'](_0x4a6308['getAttribute']('vid_start'),{'userId':_0x4638d4});}else{const _0x466c02=this['_revisionId']++,_0x1f2a83=this['_revisionId']++;_0x81d526['_setAttribute']('vid_end',_0x466c02),_0x4a6308['_setAttribute']('vid_start',_0x1f2a83),_0x4a6308['_setAttribute']('vid_end',_0x3bd8a3),this['_touched']['set'](_0x466c02,{'userId':_0x4638d4}),this['_touched']['set'](_0x1f2a83,{'userId':_0x4638d4});}}['_handleMarkerOperation'](_0xe2a433){if(!_0xe2a433['affectsData'])return;const _0x132c09=(_0xe2a433=this['_cloneOperation'](_0xe2a433,this['_diffRoots']))['oldRange']?_0xe2a433['oldRange']['root']:null,_0x166c7f=_0xe2a433['newRange']?_0xe2a433['newRange']['root']:null;_0x132c09&&this['_markers']['delete'](_0xe2a433['name']),_0x166c7f&&this['_markers']['set'](_0xe2a433['name'],_0xe2a433['newRange']['clone']());const _0x3a7519=null===_0xe2a433['_authorId']?null:_0xe2a433['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x9a8b04=_0xe2a433['name'];if(!this['_touchedMarkers']['has'](_0x9a8b04))return void this['_touchedMarkers']['set'](_0x9a8b04,{'range':_0xe2a433['oldRange'],'userId':_0x3a7519});const _0x2acea6=this['_touchedMarkers']['get'](_0x9a8b04),_0x5c5f15=_0x2acea6['range'],_0x5c6b43=_0xe2a433['newRange'];null==_0x5c5f15&&null==_0x5c6b43||_0x5c5f15&&_0x5c6b43&&_0x5c5f15['isEqual'](_0x5c6b43)?this['_touchedMarkers']['delete'](_0xe2a433['name']):_0x2acea6['userId']=_0x3a7519;}['_handleRootOperation'](_0xf498cf,_0x9abdac){this['_diffRoots']['has'](_0xf498cf['rootName'])?this['_diffRoots']['get'](_0xf498cf['rootName'])['_isAttached']=_0xf498cf['isAdd']:(this['_diffRoots']['set'](_0xf498cf['rootName'],G(_0xf498cf['rootName'],!0x0)),this['_diffRootsAttributes']['set'](_0xf498cf['rootName'],{}),_0x9abdac&&this['_idsRoots']['set'](_0xf498cf['rootName'],G(_0xf498cf['rootName'],!0x0)));const _0x13820d=null===_0xf498cf['_authorId']?null:_0xf498cf['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x31216a=this['_touchedRoots']['get'](_0xf498cf['rootName']);_0x31216a&&_0x31216a['userId']===_0x13820d?this['_touchedRoots']['delete'](_0xf498cf['rootName']):this['_touchedRoots']['set'](_0xf498cf['rootName'],{'userId':_0x13820d,'isAttached':_0xf498cf['isAdd']});}['_handleRootAttributeOperation'](_0x5dd576){const _0x207a2d=this['_diffRootsAttributes']['get'](_0x5dd576['root']['rootName']);null===_0x5dd576['newValue']?delete _0x207a2d[_0x5dd576['key']]:_0x207a2d[_0x5dd576['key']]=_0x5dd576['newValue'];}}function q(_0x57718e){const _0x17f872=G(_0x57718e['rootName'],_0x57718e['isAttached']());for(const _0x340e28 of _0x57718e['getChildren']()){const _0x567198=_0x340e28['_clone'](!0x0);_0x17f872['_appendChild'](_0x567198);}return _0x17f872;}function G(_0x5aada4,_0x23b76e=!0x0){const _0x1081d2=new wt();return _0x1081d2['rootName']=_0x5aada4,_0x1081d2['_isAttached']=_0x23b76e,_0x1081d2['isAttached']=()=>_0x1081d2['_isAttached'],_0x1081d2;}function L(_0x484ea9,_0x1c945b,_0xb54d71){const _0x447967='elementEnd'==_0x484ea9['type']?_0xb54d71['createPositionAt'](_0x484ea9['item'],'end'):_0xb54d71['createPositionBefore'](_0x484ea9['item']);return _0xb54d71['createPositionFromPath'](_0x1c945b,_0x447967['path'],_0x447967['stickiness']);}function W(_0x17936b,_0x5244d7,_0x3ca096){const _0xc1f2a5='elementStart'==_0x17936b['type']?_0x3ca096['createPositionAt'](_0x17936b['item'],0x0):_0x3ca096['createPositionAfter'](_0x17936b['item']);return _0x3ca096['createPositionFromPath'](_0x5244d7,_0xc1f2a5['path'],_0xc1f2a5['stickiness']);}class ns extends _0x171859{['focusTracker'];['keystrokes'];['revisionNameInputView'];constructor(_0x2e3d28,_0x46cf33){super(_0x2e3d28),this['focusTracker']=new _0x10cb05(),this['keystrokes']=new _0x41e421(),this['set']('revisionNameInputValue',''),this['revisionNameInputView']=this['_createRevisionNameInput'](_0x46cf33),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'](),_0x5e804d({'view':this}),this['focusTracker']['add'](this['revisionNameInputView']['element']),this['keystrokes']['listenTo'](this['element']);const _0x1f1e7d=_0x53f9be=>_0x53f9be['stopPropagation']();this['keystrokes']['set']('arrowright',_0x1f1e7d),this['keystrokes']['set']('arrowleft',_0x1f1e7d),this['keystrokes']['set']('arrowup',_0x1f1e7d),this['keystrokes']['set']('arrowdown',_0x1f1e7d);}['focus'](){this['revisionNameInputView']['focus']();}get['revisionName'](){return this['revisionNameInputView']['fieldView']['element']['value']['trim']();}set['revisionName'](_0xc0846c){this['revisionNameInputView']['fieldView']['element']['value']=_0xc0846c['trim']();}['reset'](){this['revisionNameInputView']['fieldView']['element']['value']='',this['revisionNameInputView']['errorText']=null;}['_createRevisionNameInput'](_0x1c6066){const _0x30e416=new at(this['locale'],_0x48b85f),_0x4fae9f=_0x30e416['fieldView'];_0x4fae9f['extendTemplate']({'attributes':{'maxlength':'220'}});let _0xf9c84b=y(this['locale'],'Name\x20of\x20the\x20revision');return!_0x1c6066&&(_0xf9c84b+='\x20('+y(this['locale'],'optional')+')'),(_0x30e416['label']=_0xf9c84b,_0x4fae9f['on']('input',()=>{this['revisionNameInputValue']=_0x4fae9f['element']['value']['trim']();}),_0x30e416);}}class u extends _0x2adf2b{static get['pluginName'](){return'RevisionHistoryUI';}static get['requires'](){return[l];}['_saveRevisionFormView'];['init'](){const _0xf84f7f=this['editor'],_0xa53492=_0xf84f7f['plugins']['get']('RevisionTracker');_0xf84f7f['ui']['componentFactory']['add']('revisionHistory',_0x29473f=>{const _0x53a030=_0xcec09(_0x29473f),_0x448047=_0x53a030['panelView']['children'],_0x2bdfa7=new te(_0x29473f),_0x4aed63=new _0x50313c(_0x29473f),_0x3db26e=new _0x1b852d(_0x29473f),_0x3fd086=new _0x50313c(_0x29473f),_0x59a673=new _0x1b852d(_0x29473f);return _0x53a030['bind']('isEnabled')['to'](_0xa53492,'isReady',_0xa53492,'isEnabled',_0xf84f7f,'isReadOnly',(_0x2b0309,_0xf32c2a,_0x4ba88a)=>_0x2b0309&&_0xf32c2a&&!_0x4ba88a),_0x53a030['buttonView']['set']({'icon':_0x2e42e2['history'],'label':y(_0x29473f,'Revision\x20history'),'tooltip':!0x0}),_0x3db26e['set']({'label':y(_0x29473f,'Save\x20current\x20revision'),'withText':!0x0,'role':'menuitem'}),_0x3db26e['bind']('isEnabled')['to'](_0xa53492,'isReady',_0xa53492,'isEnabled',_0xf84f7f,'isReadOnly',(_0x44b607,_0x4cfd86,_0x4c855e)=>_0x44b607&&_0x4cfd86&&!_0x4c855e),_0x3db26e['on']('execute',()=>this['_showDialog']()),_0x59a673['set']({'label':y(_0x29473f,'Open\x20revision\x20history'),'withText':!0x0,'role':'menuitem'}),_0x59a673['bind']('isEnabled')['to'](_0xa53492,'isReady',_0xf84f7f,'isReadOnly',(_0x9f3d2d,_0x530b45)=>_0x9f3d2d&&!_0x530b45),_0x59a673['on']('execute',()=>{_0xf84f7f['config']['get']('revisionHistory')['showRevisionViewerCallback'](),_0x53a030['isOpen']=!0x1,_0xf84f7f['editing']['view']['focus']();}),_0x4aed63['children']['add'](_0x3db26e),_0x3fd086['children']['add'](_0x59a673),_0x2bdfa7['role']='menu',_0x2bdfa7['items']['addMany']([_0x4aed63,_0x3fd086]),_0x448047['add'](_0x2bdfa7),_0x53a030;}),_0xf84f7f['ui']['componentFactory']['add']('menuBar:revisionHistory',()=>this['_registerMenuComponent']());}['_registerMenuComponent'](){const _0x5f1a9b=this['editor'],_0x48ba15=_0x5f1a9b['locale'],_0x1fb435=new _0x1fdc61(_0x48ba15),_0x1f615a=new _0x3bdafb(_0x48ba15);_0x1fb435['buttonView']['set']({'icon':_0x2e42e2['history'],'label':y(_0x48ba15,'Revision\x20history')});const _0x564265=new _0x3cdc0e(_0x48ba15,_0x1fb435),_0x2c7d9a=new _0x2f0ba0(_0x48ba15);_0x2c7d9a['set']({'label':y(_0x48ba15,'Save\x20current\x20revision')}),_0x2c7d9a['delegate']('execute')['to'](_0x1fb435),_0x2c7d9a['on']('execute',()=>{this['_showDialog']();}),_0x564265['children']['add'](_0x2c7d9a),_0x1f615a['items']['add'](_0x564265);const _0x5f01cf=new _0x3cdc0e(_0x48ba15,_0x1fb435),_0x36cdb7=new _0x2f0ba0(_0x48ba15);return _0x36cdb7['set']({'label':y(_0x48ba15,'Open\x20revision\x20history')}),_0x36cdb7['delegate']('execute')['to'](_0x1fb435),_0x36cdb7['on']('execute',()=>{_0x5f1a9b['config']['get']('revisionHistory')['showRevisionViewerCallback']();}),_0x5f01cf['children']['add'](_0x36cdb7),_0x1f615a['items']['add'](_0x5f01cf),_0x1fb435['panelView']['children']['add'](_0x1f615a),_0x1fb435;}['_showDialog'](){const _0x8e2405=this['editor'],_0x429e5c=_0x8e2405['locale'],t=_0x429e5c['t'],_0x4b213b=_0x8e2405['plugins']['get']('Dialog'),_0x7f554f=_0x8e2405['plugins']['get']('RevisionTracker');function _0x2965cb(_0x5ed430){_0x8e2405['config']['get']('revisionHistory.requireRevisionName')&&''===_0x5ed430['revisionName']?_0x5ed430['revisionNameInputView']['errorText']=y(_0x429e5c,'The\x20revision\x20name\x20cannot\x20be\x20empty.'):(_0x8e2405['plugins']['get'](l)['saveRevision']({'name':_0x5ed430['revisionName']}),_0x4b213b['hide']());}this['_saveRevisionFormView']||(this['_createSaveRevisionFormView'](),this['_saveRevisionFormView']['on']('submit',()=>_0x2965cb(this['_saveRevisionFormView']))),this['_saveRevisionFormView']['reset'](),_0x4b213b['show']({'id':'revisionSave','title':y(_0x429e5c,'Save\x20current\x20revision'),'isModal':!0x0,'content':this['_saveRevisionFormView'],'actionButtons':[{'label':t('Cancel'),'withText':!0x0,'onExecute':()=>_0x4b213b['hide']()},{'label':t('Accept'),'class':'ck-button-action','withText':!0x0,'onCreate'(_0x42cac0){_0x42cac0['bind']('isEnabled')['to'](_0x7f554f,'isReady',_0x7f554f,'isEnabled',_0x8e2405,'isReadOnly',(_0x18bb06,_0x23363b,_0x25a777)=>_0x18bb06&&_0x23363b&&!_0x25a777);},'onExecute':()=>_0x2965cb(this['_saveRevisionFormView'])}]});}['_createSaveRevisionFormView'](){const _0x4ffd27=this['editor'],_0x3fa5f5=_0x4ffd27['locale'];this['_saveRevisionFormView']=new ns(_0x3fa5f5,_0x4ffd27['config']['get']('revisionHistory.requireRevisionName')),this['_saveRevisionFormView']['render']();}}class Z extends _0x171859{['changeId'];['_model'];constructor(_0xb7f957,_0x5ac40d){super(_0xb7f957),this['_model']=_0x5ac40d,this['changeId']=_0x5ac40d['id'];const _0x1ebb7c=this['bindTemplate'],_0x28d5b7=y(_0xb7f957,_0x5ac40d['data']['isSuggestion']?'Suggested\x20by':'add'==_0x5ac40d['type']?'Added\x20by':'Removed\x20by');this['set']('type',_0x5ac40d['type']),this['setTemplate']({'tag':'div','attributes':{'class':['ck-annotation','ck-revision-change',_0x1ebb7c['to']('type',_0x593146=>'ck-revision-change__'+_0x593146)],'tabindex':-0x1},'children':[{'tag':'span','children':[{'tag':'span','attributes':{'class':['ck-revision-change__label']},'children':[{'text':_0x28d5b7}]},{'text':'\x20'+_0x5ac40d['author']['name']}]}]});}['focus'](){this['element']['focus']();}}class r extends/* #__PURE__ -- @preserve */
25
- _0x154d4b(){['id'];['author'];['type'];['data'];['rootName'];constructor(_0x1ddc8e){super(),this['id']=_0x1ddc8e['id']||_0x35ac72(),this['author']=_0x1ddc8e['author'],this['type']=_0x1ddc8e['type'],this['data']=_0x1ddc8e['data']||{},this['rootName']=_0x1ddc8e['rootName'],this['set']('createdAt',_0x1ddc8e['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(_0x4757c6,_0x12c24d){this['newRevisionId']=_0x4757c6,this['oldRevisionId']=_0x12c24d,this['changes']=new _0x1ae346();}['_setChanges'](_0x13af94){for(const _0x4b7d8c of _0x13af94)this['changes']['add'](_0x4b7d8c);}}const tt={'c':_0x1ca70a,'a':_0x43bd62,'e':_0x44a94d,'r':_0x39ef2c,'u':_0x4a9d9f};class d extends _0x2adf2b{['repository'];['adapter'];['_activeViewTarget'];['_changeView'];['_changeIdToChange'];['_balloon'];static get['pluginName'](){return'RevisionViewer';}static get['requires'](){return[_0x528eec,_0x543881,A];}constructor(_0x40c100){super(_0x40c100),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',(_0x427175,_0x4c9a0c,_0x3e7baa)=>{this['activeChange']=null,this['activeView']=null,this['editor']['editing']['view']['change'](_0x45c781=>{for(const _0x6dcada of this['editor']['editing']['view']['document']['roots'])_0x3e7baa?_0x45c781['removeClass']('ck-editor__editable__overlay',_0x6dcada):_0x45c781['addClass']('ck-editor__editable__overlay',_0x6dcada);});}),this['bind']('isNavigationMode')['to'](this,'activeChange',_0x4b1563=>null!==_0x4b1563),this['bind']('currentChangeNumber')['to'](this,'isReady',this,'diff',this,'activeChange',(_0x5083de,_0x360e68,_0x39ece9)=>_0x5083de&&_0x39ece9?_0x360e68['changes']['getIndex'](_0x39ece9):0x0),this['bind']('numberOfChanges')['to'](this,'isReady',this,'diff',(_0x540261,_0x4f449f)=>_0x540261?_0x4f449f['changes']['length']:0x0),this['_changeView']=null,this['_changeIdToChange']=new Map(),this['adapter']=null,this['_balloon']=this['editor']['plugins']['get'](_0x543881);}['init'](){const _0x15b3c2=this['editor'],_0x62fefe=new yt(_0x15b3c2,{'direction':'backward'}),_0x5f37df=new yt(_0x15b3c2,{'direction':'forward'});(_0x15b3c2['commands']['add']('showPreviousChange',_0x62fefe),_0x15b3c2['commands']['add']('showNextChange',_0x5f37df),_0x15b3c2['commands']['add']('restoreRevision',new bt(_0x15b3c2)),this['on']('change:numberOfChanges',()=>{_0x62fefe['refresh'](),_0x5f37df['refresh']();}),this['_setConversion'](),this['_initInteractions'](),_0x15b3c2['enableReadOnlyMode']('revision-viewer'),_0x15b3c2['plugins']['has']('WidgetToolbarRepository'))&&_0x15b3c2['plugins']['get']('WidgetToolbarRepository')['forceDisabled']('revision-viewer');}async['getRevisionData'](_0x2dbded){await this['loadRevisionData'](_0x2dbded);const _0xaf399b={};for(const _0x1d3abc in _0x2dbded['diffData']){if(_0x2dbded['diffData'][_0x1d3abc]['attachChange']&&!_0x2dbded['diffData'][_0x1d3abc]['attachChange']['isAttached'])continue;const _0x3927a2=this['_removeRevisionMarkers'](JSON['parse'](_0x2dbded['diffData'][_0x1d3abc]['insertions'])),_0x4c98b1=this['editor']['editing']['view']['document'],_0x1f0bb9=new _0x2ada46(_0x4c98b1,_0x3927a2['map'](_0x1106da=>this['_getViewObj'](_0x1106da)));this['editor']['data']['processor']['useFillerType']('marked'),_0xaf399b[_0x1d3abc]=this['editor']['data']['processor']['toData'](_0x1f0bb9),this['editor']['data']['processor']['useFillerType']('default');}return _0xaf399b;}async['getRevisionRootsAttributes'](_0x2d89c9){await this['loadRevisionData'](_0x2d89c9);const _0x140693={};for(const _0x4c6818 in _0x2d89c9['diffData'])_0x2d89c9['diffData'][_0x4c6818]['attachChange']&&!_0x2d89c9['diffData'][_0x4c6818]['attachChange']['isAttached']||(_0x140693[_0x4c6818]=_0x2d89c9['diffData'][_0x4c6818]['attributesAfter']||{});return _0x140693;}['_removeRevisionMarkers'](_0x3da092){return(_0x3da092=_0x3da092['filter'](_0x4d6aa3=>!_0x4d6aa3['name']||'revision-start'!==_0x4d6aa3['name']&&'revision-end'!==_0x4d6aa3['name']))['forEach'](_0x284af9=>{'string'!=typeof _0x284af9&&(_0x284af9['children']=this['_removeRevisionMarkers'](_0x284af9['children']),_0x284af9['attributes']=_0x284af9['attributes']['filter'](_0x4a80f2=>!_0x4a80f2[0x0]['startsWith']('data-revision-')));}),_0x3da092;}async['compare'](_0x3d25f4,_0x51b58d,_0x200293=!0x1){if(!this['isEnabled'])return;const _0x278d2c=this['diff'],_0x3b224a=this['repository'],_0x250fa7='string'==typeof _0x3d25f4?_0x3b224a['getRevision'](_0x3d25f4):_0x3d25f4,_0x841d1e='string'==typeof _0x51b58d?_0x3b224a['getRevision'](_0x51b58d):_0x51b58d,_0x4df77b=_0x250fa7['id'],_0xc9ebcd=_0x841d1e?_0x841d1e['id']:null;if(!_0x200293&&this['diff']&&this['diff']['newRevisionId']===_0x4df77b&&this['diff']['oldRevisionId']===_0xc9ebcd)return Promise['resolve']();this['isReady']=!0x1,this['activeView']=null,this['activeChange']=null,this['diff']=new f(_0x4df77b,_0xc9ebcd);const _0x2aee6f=this['_getRevisionsRange'](_0x250fa7,_0x841d1e,!0x0)['map'](_0x225a94=>this['loadRevisionData'](_0x225a94));return _0x2aee6f['push'](new Promise(_0x20dc0d=>{setTimeout(_0x20dc0d,0x14);})),Promise['all'](_0x2aee6f)['then'](()=>{if(!this['isEnabled'])return;this['_cleanUp']();const _0x352290=this['_getDiff'](_0x4df77b,_0xc9ebcd);for(const _0x50bce5 of _0x352290['changes'])this['_changeIdToChange']['set'](_0x50bce5['id'],_0x50bce5);this['editor']['model']['enqueueChange']({'isUndoable':!0x1},_0x45f5d6=>{for(const _0x16a66d of this['editor']['model']['document']['getRootNames']())_0x45f5d6['detachRoot'](_0x16a66d);for(const _0x382e59 of Object['keys'](_0x352290['model'])){const _0xe078b4=_0x45f5d6['addRoot'](_0x382e59);for(const _0x45891c of Object['keys'](_0x352290['attributes'][_0x382e59]))_0x45f5d6['setAttribute'](_0x45891c,_0x352290['attributes'][_0x382e59][_0x45891c],_0xe078b4);_0x45f5d6['insert'](_0x352290['model'][_0x382e59],_0xe078b4,0x0);}}),this['diff']['_setChanges'](this['_sortAndFilterDiffChanges'](_0x352290['changes'])),this['isReady']=!0x0;})['catch'](_0x33404b=>{console['error'](_0x33404b),this['_cleanUp'](),_0x278d2c&&(this['diff']=_0x278d2c),this['isReady']=!0x0;});}['addRevisionData'](_0xc03722,_0x5032c4){const _0xd8b6ad=this['repository']['createRevision'](_0xc03722);return _0xd8b6ad['on']('_update',(_0x4abe0f,_0x3a74e6,_0x2a5403)=>_0x5032c4(_0x3a74e6,_0x2a5403,_0xd8b6ad)),this['repository']['addRevision'](_0xd8b6ad),_0xd8b6ad;}['loadRevisionData'](_0x1f97b7){if(!_0x1f97b7||_0x1f97b7['diffData'])return Promise['resolve']();{const _0x50e173=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0x50e173,'revisionId':_0x1f97b7['id']})['then'](_0x5ae066=>{_0x1f97b7['_update']({'diffData':_0x5ae066['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},_0x8d0d0d=>{for(const _0x39bedf of this['editor']['model']['document']['getRootNames']())_0x8d0d0d['detachRoot'](_0x39bedf);});}['_sortAndFilterDiffChanges'](_0x5c85e2){const _0x2cc4b1=[],_0xd085ac=new Map();for(const _0x3ed84f of this['editor']['model']['document']['getRootNames']()){const _0x5bb773=this['editor']['editing']['view']['getDomRoot'](_0x3ed84f);if(!_0x5bb773)continue;const _0x245f68=_0x5bb773['getClientRects']()['item'](0x0);_0x245f68&&(_0x2cc4b1['push'](_0x3ed84f),_0xd085ac['set'](_0x3ed84f,_0x245f68));}return _0x2cc4b1['sort']((_0x55ddbe,_0x5bdd6e)=>{const _0x2aa649=_0xd085ac['get'](_0x55ddbe),_0x15c700=_0xd085ac['get'](_0x5bdd6e);return _0x2aa649['y']-_0x15c700['y']||_0x2aa649['x']-_0x15c700['x'];}),(_0x5c85e2=_0x5c85e2['filter'](_0x2d95b9=>_0x2cc4b1['includes'](_0x2d95b9['rootName'])))['sort']((_0x1a5f88,_0x42e24e)=>_0x2cc4b1['indexOf'](_0x1a5f88['rootName'])-_0x2cc4b1['indexOf'](_0x42e24e['rootName'])),_0x5c85e2;}['_makeTape'](_0x378fbe){const _0x3c6ca5=Array['from'](_0x378fbe['markers'])['filter'](([_0xd487b4,_0x3d4ecb])=>_0xd487b4['startsWith']('revision:')&&!_0x3d4ecb['isCollapsed']),_0x4f7c05=Array['from'](this['editor']['model']['createRangeIn'](_0x378fbe)['getWalker']({'singleCharacters':!0x0}));if(0x0!=_0x3c6ca5['length'])for(const _0x54b526 of _0x4f7c05){const [_0x49712a,_0x53b719]=_0x3c6ca5[0x0],[,_0x45e9ad,_0x32a25d]=_0x49712a['split'](':');if(_0x53b719['end']['isEqual'](_0x54b526['nextPosition'])&&_0x3c6ca5['shift'](),(_0x54b526['previousPosition']['isEqual'](_0x53b719['start'])||_0x54b526['previousPosition']['isAfter'](_0x53b719['start']))&&('insertion'==_0x45e9ad?_0x54b526['isAdded']={'userId':_0x32a25d}:'deletion'==_0x45e9ad&&(_0x54b526['isRemoved']={'userId':_0x32a25d})),0x0==_0x3c6ca5['length'])break;}return _0x4f7c05;}['_refreshStartEndIndex'](_0x49d629){const _0x4989d6=new Map();for(let _0x273db5=0x0;_0x273db5<_0x49d629['length'];_0x273db5++)'text'===_0x49d629[_0x273db5]['type']?(_0x49d629[_0x273db5]['item']['startIndex']=_0x273db5,_0x49d629[_0x273db5]['item']['endIndex']=_0x273db5):('elementStart'===_0x49d629[_0x273db5]['type']?_0x49d629[_0x273db5]['item']['startIndex']=_0x273db5:'elementEnd'===_0x49d629[_0x273db5]['type']&&(_0x49d629[_0x273db5]['item']['endIndex']=_0x273db5),_0x4989d6['set'](_0x49d629[_0x273db5]['id'],_0x273db5));for(const _0x188d25 of _0x4989d6['values']())'elementStart'===_0x49d629[_0x188d25]['type']?_0x49d629[_0x188d25]['item']['endIndex']=_0x4989d6['get'](_0x49d629[_0x188d25]['pairId']):'elementEnd'===_0x49d629[_0x188d25]['type']&&(_0x49d629[_0x188d25]['item']['startIndex']=_0x4989d6['get'](_0x49d629[_0x188d25]['pairId']));}['_processTape'](_0x4014fc){for(let _0x5bf6c9=0x0;_0x5bf6c9<_0x4014fc['length'];_0x5bf6c9++){if('elementStart'===_0x4014fc[_0x5bf6c9]['type'])_0x4014fc[_0x5bf6c9]['item']['startIndex']=_0x5bf6c9;else{if('elementEnd'===_0x4014fc[_0x5bf6c9]['type']){_0x4014fc[_0x5bf6c9]['item']['endIndex']=_0x5bf6c9;const _0x2dbe81=_0x4014fc[_0x5bf6c9]['item']['startIndex'];_0x4014fc[_0x2dbe81]['pairId']=_0x4014fc[_0x5bf6c9]['id'],_0x4014fc[_0x5bf6c9]['pairId']=_0x4014fc[_0x2dbe81]['id'];}else _0x4014fc[_0x5bf6c9]['item']['startIndex']=_0x5bf6c9,_0x4014fc[_0x5bf6c9]['item']['endIndex']=_0x5bf6c9,_0x4014fc[_0x5bf6c9]['pairId']=null;}_0x4014fc[_0x5bf6c9]['markersStart']||(_0x4014fc[_0x5bf6c9]['markersStart']=[],_0x4014fc[_0x5bf6c9]['markersEnd']=[]);}}['_markInsertions'](_0xeadd0b,_0x4a8a8d){const _0x15b652=_0xeadd0b['filter'](_0x5df8a2=>!_0x5df8a2['isAdded']);for(let _0x211b9a=0x0;_0x211b9a<_0x4a8a8d['length'];_0x211b9a++)_0x4a8a8d[_0x211b9a]['isAdded']&&(_0x15b652[_0x211b9a]['isAdded']=_0x4a8a8d[_0x211b9a]['isAdded']);}['_makeModelFromViewString'](_0x313e83){const _0x390799=JSON['parse'](_0x313e83),_0x12668a=this['editor']['editing']['view']['document'],_0x21513a=new _0x2ada46(_0x12668a,_0x390799['map'](_0x101ead=>this['_getViewObj'](_0x101ead)));return this['editor']['data']['toModel'](_0x21513a);}['_getViewObj'](_0x57c8af){const _0x1bc4e2=this['editor']['editing']['view']['document'];if('string'==typeof _0x57c8af)return new _0xa9bb82(_0x1bc4e2,_0x57c8af);{const _0x4dac0b=_0x57c8af['children']['map'](_0x2f3015=>this['_getViewObj'](_0x2f3015));return new(tt[_0x57c8af['type']]||_0x2c124e)(_0x1bc4e2,_0x57c8af['name'],_0x57c8af['attributes'],_0x4dac0b);}}['_getDiff'](_0x23022b,_0x1385af=null){const _0xe44c06=this['repository']['getRevision'](_0x23022b),_0x5c1d27=_0x1385af?this['repository']['getRevision'](_0x1385af):null,_0x31c2b2=this['_getRevisionsRange'](_0xe44c06,_0x5c1d27),_0x47490d=_0x31c2b2[_0x31c2b2['length']-0x1],_0x184926=new Map(),_0x4a350f={'model':{},'attributes':{},'changes':[]},_0xa810c=new Set(),_0x1b5fff=new Map();for(let _0x3e29eb=_0x31c2b2['length']-0x1;_0x3e29eb>=0x0;_0x3e29eb--){const _0x4ec8d5=_0x31c2b2[_0x3e29eb];for(const _0x5d8765 of Object['keys'](_0x4ec8d5['diffData']))if(_0x4ec8d5['diffData'][_0x5d8765]['attachChange']){const _0x1ecc99=_0x4ec8d5['diffData'][_0x5d8765]['attachChange'];_0x1ecc99['isAttached']?(_0xa810c['add'](_0x5d8765),_0x1b5fff['has'](_0x5d8765)&&_0x1b5fff['get'](_0x5d8765)['userId']==_0x1ecc99['userId']?_0x1b5fff['delete'](_0x5d8765):_0x1b5fff['set'](_0x5d8765,_0x1ecc99)):_0x1b5fff['has'](_0x5d8765)?(_0xa810c['delete'](_0x5d8765),_0x1b5fff['delete'](_0x5d8765)):(_0xa810c['add'](_0x5d8765),_0x1b5fff['set'](_0x5d8765,_0x1ecc99));}else _0xa810c['add'](_0x5d8765);}for(const _0x565056 of _0xa810c){const _0x1a7828=_0x1b5fff['has'](_0x565056)&&!_0x1b5fff['get'](_0x565056)['isAttached'];let _0x57283e=_0x1a7828?_0x31c2b2['length']-0x1:0x0;const _0x37f277=_0x1a7828?-0x1:0x1;for(;_0x31c2b2[_0x57283e];){const _0x121331=_0x31c2b2[_0x57283e];if(_0x121331['diffData'][_0x565056]){const _0x19be03=_0x1a7828?_0x121331['diffData'][_0x565056]['attributesBefore']:_0x121331['diffData'][_0x565056]['attributesAfter'];_0x4a350f['attributes'][_0x565056]=_0x19be03?_0x533e67(_0x19be03):{};break;}_0x57283e+=_0x37f277;}}for(const _0x1c606b of _0x31c2b2){_0x1c606b['model']={};for(const _0x4d8b9d of _0x1c606b['authors'])_0x184926['set'](_0x4d8b9d['id'],_0x4d8b9d);for(const _0x438bac of _0xa810c){const _0xb0c088=_0x1c606b['diffData'][_0x438bac]?_0x1c606b['diffData'][_0x438bac]['insertions']:'[]',_0x1810b0=_0x1c606b['diffData'][_0x438bac]?_0x1c606b['diffData'][_0x438bac]['deletions']:'[]';_0x1c606b['model'][_0x438bac]={'insertions':this['_makeModelFromViewString'](_0xb0c088),'deletions':this['_makeModelFromViewString'](_0x1810b0)};}}for(const _0x5036fa of _0xa810c){let _0x363416=null,_0x339694=0x0;const _0x5138bc=new Map(Array['from'](_0xe44c06['model'][_0x5036fa]['insertions']['markers'])['filter'](([_0x19223a])=>!_0x19223a['startsWith']('revision:')));let _0x3532cd=0x0;for(const _0x28d857 of _0x31c2b2){const _0x27949f=this['_makeTape'](_0x28d857['model'][_0x5036fa]['insertions']);_0x28d857==_0xe44c06?(_0x363416=_0x27949f,_0x339694=_0x363416['length'],_0x363416['forEach'](_0x406e2a=>{_0x406e2a['id']=_0x3532cd++;}),this['_processTape'](_0x363416)):this['_markInsertions'](_0x363416,_0x27949f);const _0x163887=_0x363416['filter'](_0x584359=>!_0x584359['isAdded'])['map'](_0x4ed7df=>_0x4ed7df['id']);let _0x3f899d=0x0;const _0x50b7b5=this['_makeTape'](_0x28d857['model'][_0x5036fa]['deletions']);_0x50b7b5['forEach'](_0x349a3f=>{_0x349a3f['isRemoved']?_0x349a3f['id']=_0x339694++:_0x349a3f['id']=_0x163887[_0x3f899d++];}),this['_processTape'](_0x50b7b5),this['_setDistance'](_0x363416,'isAdded'),this['_setDistance'](_0x50b7b5,'isRemoved'),_0x28d857==_0xe44c06&&this['_markMarkers'](_0x363416,_0x5138bc),_0x363416=this['_joinTapes'](_0x363416,_0x50b7b5),this['_refreshStartEndIndex'](_0x363416),this['_setDistance'](_0x363416,'isRemoved');}_0x363416=_0x363416['filter'](_0xbcf25a=>!(_0xbcf25a['isAdded']&&_0xbcf25a['isRemoved']));const _0x5c2f83=new Map(_0x47490d['model'][_0x5036fa]['deletions']['markers']),_0x343ada=new Set(_0x5138bc['keys']());for(const _0x55d358 of _0x5c2f83['keys']())_0x343ada['delete'](_0x55d358);this['_markSuggestions'](_0x363416,_0x343ada),this['_fixObsoleteTags'](_0x363416),_0x363416=this['_removeMissingPairs'](_0x363416),_0x363416=this['_markMismatchedRemovedTags'](_0x363416),_0x363416=this['_removeUnsupportedChanges'](_0x363416);const {root:_0x5858f3,changes:_0x53152d}=this['_makeModelFromTape'](_0x363416,_0x184926,_0x5036fa);_0x4a350f['model'][_0x5036fa]=_0x5858f3;const _0x5a0c2a=_0x1b5fff['get'](_0x5036fa);if(_0x5a0c2a){const _0x18244e=_0x184926['get'](_0x5a0c2a['userId']),_0x183a8d=new r({'author':_0x18244e,'type':_0x5a0c2a['isAttached']?'add':'remove','data':{'isOnRoot':!0x0},'createdAt':new Date(),'rootName':_0x5036fa});_0x53152d['unshift'](_0x183a8d),_0x4a350f['attributes'][_0x5036fa]['revisionHistoryAttachChange']=_0x183a8d['id'];}_0x4a350f['changes']=_0x4a350f['changes']['concat'](_0x53152d);}return _0x4a350f;}['_markMarkers'](_0x434ad0,_0x4dc7f2){for(let _0x56fbf9=0x0;_0x56fbf9<_0x434ad0['length'];_0x56fbf9++)for(const [_0x43c84c,_0x4f28df]of _0x4dc7f2)_0x4f28df['start']['isEqual'](_0x434ad0[_0x56fbf9]['previousPosition'])&&_0x434ad0[_0x56fbf9]['markersStart']['push'](_0x43c84c),_0x4f28df['end']['isEqual'](_0x434ad0[_0x56fbf9]['nextPosition'])&&_0x434ad0[_0x56fbf9]['markersEnd']['push'](_0x43c84c);}['_joinTapes'](_0x1d8d5e,_0x1df987){let _0x29b60f=[],_0x4bcb88=0x0,_0x345eb5=0x0;for(;_0x4bcb88<_0x1d8d5e['length']||_0x345eb5<_0x1df987['length'];){const _0x3a9cfa=_0x1d8d5e[_0x4bcb88]||{},_0x5d9793=_0x1df987[_0x345eb5]||{};if(_0x3a9cfa['id']==_0x5d9793['id'])_0x4bcb88++,_0x345eb5++,_0x29b60f['push'](_0x3a9cfa);else{if(_0x5d9793['isRemoved']&&_0x3a9cfa['isAdded']){const {commonTape:_0x42731b,iEnd:_0x11be8b,jEnd:_0x192ac7}=this['_threeWayMerge'](_0x1d8d5e,_0x4bcb88,_0x1df987,_0x345eb5);_0x29b60f=_0x29b60f['concat'](_0x42731b),_0x4bcb88=_0x11be8b,_0x345eb5=_0x192ac7;}else _0x5d9793['isRemoved']?(_0x345eb5++,_0x29b60f['push'](_0x5d9793)):(_0x4bcb88++,_0x29b60f['push'](_0x3a9cfa));}}return _0x29b60f;}['_markSuggestions'](_0x5bc160,_0x292d85){const _0x52a9d8=[];for(let _0xb63e49=0x0;_0xb63e49<_0x5bc160['length'];_0xb63e49++){for(let _0x23cb65=0x0;_0x23cb65<_0x5bc160[_0xb63e49]['markersStart']['length'];_0x23cb65++){const _0x5aca85=_0x5bc160[_0xb63e49]['markersStart'][_0x23cb65];if(!_0x292d85['has'](_0x5aca85))continue;const {group:_0x127753,type:_0x5bbfb3,authorId:_0x1b1f62}=_0x2500d0(_0x5aca85);'revision-suggestion'!=_0x127753||'insertion'!=_0x5bbfb3&&'deletion'!=_0x5bbfb3||(_0x52a9d8['unshift']({'type':_0x5bbfb3,'name':_0x5aca85,'userId':_0x1b1f62}),_0x5bc160[_0xb63e49]['markersStart']['splice'](_0x23cb65,0x1),_0x23cb65--);}_0x33045e(_0x5bc160[_0xb63e49]);for(let _0x100063=0x0;_0x100063<_0x5bc160[_0xb63e49]['markersEnd']['length'];_0x100063++){const _0xf40bfc=_0x5bc160[_0xb63e49]['markersEnd'][_0x100063];if(!_0x292d85['has'](_0xf40bfc))continue;const {group:_0x5787ba,type:_0x6c6d97}=_0x2500d0(_0xf40bfc);if('revision-suggestion'!=_0x5787ba||'insertion'!=_0x6c6d97&&'deletion'!=_0x6c6d97)continue;_0x5bc160[_0xb63e49]['markersEnd']['splice'](_0x100063,0x1),_0x100063--;const _0x33647d=_0x52a9d8['findIndex'](_0x1f40d8=>_0x1f40d8['name']==_0xf40bfc);_0x33647d>-0x1&&_0x52a9d8['splice'](_0x33647d,0x1);}}function _0x2500d0(_0x3148c2){const _0x3de393=_0x3148c2['split'](':');return{'group':_0x3de393[0x0],'type':_0x3de393[0x1],'subType':_0x3de393['length']>=0x5?_0x3de393[0x2]:null,'id':_0x3de393['length']<0x5?_0x3de393[0x2]:_0x3de393[0x3],'authorId':_0x3de393['length']<0x5?_0x3de393[0x3]:_0x3de393[0x4],'markerCount':0x6==_0x3de393['length']?_0x3de393[0x5]:null};}function _0x33045e(_0x2c8c70){for(let _0x35206b=0x0;_0x35206b<_0x52a9d8['length'];_0x35206b++){if(_0x2c8c70['isAdded']&&'insertion'==_0x52a9d8[_0x35206b]['type'])return _0x2c8c70['isAddSuggestion']=_0x52a9d8[_0x35206b],void delete _0x2c8c70['isAdded'];if(!_0x2c8c70['isAdded']&&!_0x2c8c70['isRemoved']&&'deletion'==_0x52a9d8[_0x35206b]['type'])return void(_0x2c8c70['isRemoveSuggestion']=_0x52a9d8[_0x35206b]);}}}['_setDistance'](_0x50eac8,_0x531a4b){let _0x2ec934=0x0,_0x3739c6=!0x1;const _0x32c8ff=new Map();for(const _0x315b39 of _0x50eac8)_0x315b39[_0x531a4b]?_0x3739c6&&(_0x2ec934++,_0x3739c6=!0x1):(_0x2ec934++,_0x3739c6=!0x0),_0x32c8ff['set'](_0x315b39['id'],_0x2ec934);for(let _0x11b906=0x0;_0x11b906<_0x50eac8['length'];_0x11b906++){if('isRemoved'==_0x531a4b&&_0x50eac8[_0x11b906]['isAdded']||'isAdded'==_0x531a4b&&_0x50eac8[_0x11b906]['isRemoved'])continue;if('text'==_0x50eac8[_0x11b906]['type']){_0x50eac8[_0x11b906]['distance']=0x0;continue;}const _0x140e25=_0x32c8ff['get'](_0x50eac8[_0x11b906]['pairId']),_0x5d31ed=_0x32c8ff['get'](_0x50eac8[_0x11b906]['id']);_0x50eac8[_0x11b906]['distance']=_0x140e25-_0x5d31ed;}}['_getRevisionsRange'](_0x1edc9f,_0x62bef8,_0x1e2b69=!0x1){const _0x21386d=[];let _0x2493fd=this['repository']['getIndex'](_0x1edc9f),_0x137440=this['repository']['getIndex'](_0x62bef8);for(-0x1==_0x137440&&(_0x137440=this['repository']['_revisions']['length'],_0x1e2b69=!0x1);_0x2493fd<_0x137440;)_0x21386d['push'](this['repository']['getRevision'](_0x2493fd)),_0x2493fd++;return _0x1e2b69&&_0x21386d['push'](this['repository']['getRevision'](_0x2493fd)),_0x21386d;}['_threeWayMerge'](_0x3a6c04,_0x5e43af,_0x45d89f,_0x28745b){const _0x5a5e49=this['editor']['model']['schema'];let _0x376a9d=_0x5e43af;for(;_0x3a6c04[_0x376a9d]&&_0x3a6c04[_0x376a9d]['isAdded'];)_0x376a9d++;let _0x36dfc7=_0x28745b;for(;_0x45d89f[_0x36dfc7]&&_0x45d89f[_0x36dfc7]['isRemoved'];)_0x36dfc7++;_0x3fe094(_0x3a6c04,_0x5e43af,_0x376a9d),_0x3fe094(_0x45d89f,_0x28745b,_0x36dfc7);const _0x295555=_0x45d89f['slice'](_0x28745b,_0x36dfc7)['concat'](_0x3a6c04['slice'](_0x5e43af,_0x376a9d));return _0x295555['sort']((_0x2a4efe,_0x5392f6)=>_0x2a4efe['side']!=_0x5392f6['side']?_0x2a4efe['side']-_0x5392f6['side']:_0x2a4efe['level']!=_0x5392f6['level']?_0x2a4efe['level']-_0x5392f6['level']:_0x2a4efe['distance']!=_0x5392f6['distance']?_0x5392f6['distance']-_0x2a4efe['distance']:!!_0x2a4efe['isAdded']!=!!_0x5392f6['isAdded']?-0x1==_0x2a4efe['side']||0x0==_0x2a4efe['side']?_0x2a4efe['isAdded']?-0x1:0x1:_0x2a4efe['isAdded']?0x1:-0x1:_0x2a4efe['index']-_0x5392f6['index']),{'commonTape':_0x295555,'iEnd':_0x376a9d,'jEnd':_0x36dfc7};function _0x3fe094(_0x191081,_0x57f445,_0x329964){let _0x34b6e9=-0x1,_0x3b8195=Number['POSITIVE_INFINITY'],_0x8ef045=!0x0;for(let _0x475c82=_0x57f445;_0x475c82<_0x329964;_0x475c82++)if(_0x5a5e49['isInline'](_0x191081[_0x475c82]['item'])||(_0x8ef045=!0x1),_0x191081[_0x475c82]['item']['startIndex']<_0x57f445&&(_0x34b6e9=_0x475c82),_0x191081[_0x475c82]['item']['endIndex']>=_0x329964){_0x3b8195=_0x475c82;break;}_0x8ef045&&(_0x34b6e9=_0x329964-0x1);for(let _0x2e87d6=_0x57f445;_0x2e87d6<_0x329964;_0x2e87d6++)_0x191081[_0x2e87d6]['side']=_0x2e87d6<=_0x34b6e9?-0x1:_0x2e87d6<_0x3b8195?0x0:0x1,_0x191081[_0x2e87d6]['index']=_0x2e87d6;let _0xc9e6b4=0x0;for(let _0x522ad8=_0x57f445;_0x522ad8<=_0x34b6e9;_0x522ad8++)0x0==_0x191081[_0x522ad8]['distance']?_0x191081[_0x522ad8]['level']=_0xc9e6b4:(_0xc9e6b4++,_0x191081[_0x522ad8]['level']=_0xc9e6b4,_0xc9e6b4++);for(let _0x1b49f3=_0x57f445;_0x1b49f3<_0x329964;_0x1b49f3++)0x0==_0x191081[_0x1b49f3]['side']&&(_0x191081[_0x1b49f3]['level']=_0xc9e6b4);_0xc9e6b4=0x0;for(let _0x363ade=_0x329964-0x1;_0x363ade>=_0x3b8195;_0x363ade--)0x0==_0x191081[_0x363ade]['distance']?_0x191081[_0x363ade]['level']=_0xc9e6b4:(_0xc9e6b4--,_0x191081[_0x363ade]['level']=_0xc9e6b4,_0xc9e6b4--);}}['_fixObsoleteTags'](_0x346e19){const _0x36205d=new Map(),_0x1219a7=this['editor']['model']['schema'];for(let _0x2d1390=0x1;_0x2d1390<_0x346e19['length'];_0x2d1390++){let _0x47840d,_0x3ceaad,_0x14dd72;const _0x221101=_0x346e19[_0x2d1390],_0x19df08=_0x346e19[_0x2d1390-0x1];if('text'==_0x221101['type'])continue;if(_0x221101['type']!=_0x19df08['type'])continue;if(!_0x1219a7['isBlock'](_0x19df08['item'])||_0x1219a7['isLimit'](_0x19df08['item']))continue;if(!_0x1219a7['isBlock'](_0x221101['item'])||_0x1219a7['isLimit'](_0x221101['item']))continue;if((_0x346e19[_0x2d1390]['isAdded']||_0x346e19[_0x2d1390]['isAddSuggestion'])&&_0x346e19[_0x2d1390-0x1]['isRemoved'])_0x47840d=_0x346e19[_0x2d1390],_0x3ceaad=_0x346e19[_0x2d1390-0x1],_0x14dd72=_0x2d1390-0x1;else{if(!_0x346e19[_0x2d1390]['isRemoved']||!_0x346e19[_0x2d1390-0x1]['isAdded']&&!_0x346e19[_0x2d1390-0x1]['isAddSuggestion'])continue;_0x47840d=_0x346e19[_0x2d1390-0x1],_0x3ceaad=_0x346e19[_0x2d1390],_0x14dd72=_0x2d1390;}const _0x23ff81=_0x47840d['level']==_0x3ceaad['level'],_0x474221=Math['abs'](_0x47840d['level'])<Math['abs'](_0x3ceaad['level'])&&0x0==_0x3ceaad['distance'];(_0x23ff81||_0x474221)&&(_0x36205d['set'](_0x3ceaad['id'],_0x47840d['id']),_0x346e19['splice'](_0x14dd72,0x1),_0x2d1390--,_0x47840d['isAdded']=!0x1);}for(let _0x1b0797=0x0;_0x1b0797<_0x346e19['length'];_0x1b0797++)_0x36205d['has'](_0x346e19[_0x1b0797]['pairId'])&&(_0x346e19[_0x1b0797]['pairId']=_0x36205d['get'](_0x346e19[_0x1b0797]['pairId']));}['_removeMissingPairs'](_0xf99af8){const _0x51f238=new Set(_0xf99af8['map'](_0x1e7254=>_0x1e7254['id']));for(let _0x419083=0x0;_0x419083<_0xf99af8['length'];_0x419083++)_0x51f238['has'](_0xf99af8[_0x419083]['pairId'])||0x0==_0xf99af8[_0x419083]['distance']||(_0xf99af8[_0x419083]['isIncorrect']=!0x0);return _0xf99af8['filter'](_0x1f2e4c=>!_0x1f2e4c['isIncorrect']);}['_markMismatchedRemovedTags'](_0x39b441){const _0x84ba69=new Set();for(let _0x5e1595=0x0;_0x5e1595<_0x39b441['length'];_0x5e1595++){if(_0x84ba69['has'](_0x39b441[_0x5e1595]['id'])&&_0x39b441[_0x5e1595]['isRemoved']&&(_0x39b441[_0x5e1595]['isIncorrect']=!0x0),_0x39b441[_0x5e1595]['isIncorrect'])continue;if(0x0==_0x39b441[_0x5e1595]['distance'])continue;if('elementStart'!=_0x39b441[_0x5e1595]['type'])continue;if(null==_0x39b441[_0x5e1595]['pairId'])continue;let _0x214d93=_0x5e1595+0x1,_0x3d61e7=0x0;for(;_0x39b441[_0x214d93]['id']!=_0x39b441[_0x5e1595]['pairId'];)'elementStart'==_0x39b441[_0x214d93]['type']?_0x3d61e7++:'elementEnd'==_0x39b441[_0x214d93]['type']&&_0x3d61e7--,_0x214d93++;if(0x0!=_0x3d61e7){if(_0x39b441[_0x5e1595]['isRemoved'])_0x39b441[_0x5e1595]['isIncorrect']=!0x0;else{for(;_0x214d93!=_0x5e1595;)_0x39b441[_0x214d93]['isRemoved']&&0x0!=_0x39b441[_0x214d93]['distance']&&(_0x39b441[_0x214d93]['isIncorrect']=!0x0,_0x84ba69['add'](_0x39b441[_0x214d93]['pairId'])),_0x214d93--;}}}return _0x39b441['filter'](_0x3cfd67=>!_0x3cfd67['isIncorrect']);}['_removeUnsupportedChanges'](_0x2a50b0){const _0xc4907f=this['editor']['model']['schema'];for(let _0xec1002=0x0;_0xec1002<_0x2a50b0['length'];_0xec1002++){if(!(_0x2a50b0[_0xec1002]['isAdded']||_0x2a50b0[_0xec1002]['isAddSuggestion']||_0x2a50b0[_0xec1002]['isRemoved']||_0x2a50b0[_0xec1002]['isRemoveSuggestion']))continue;if(0x0==_0x2a50b0[_0xec1002]['distance'])continue;const _0x11f255=_0x2a50b0[_0xec1002]['item'];_0xc4907f['isBlock'](_0x11f255)||_0xc4907f['isLimit'](_0x11f255)||(_0x2a50b0[_0xec1002]['isAdded']&&delete _0x2a50b0[_0xec1002]['isAdded'],_0x2a50b0[_0xec1002]['isAddSuggestion']&&delete _0x2a50b0[_0xec1002]['isAddSuggestion'],_0x2a50b0[_0xec1002]['isRemoveSuggestion']&&delete _0x2a50b0[_0xec1002]['isRemoveSuggestion'],_0x2a50b0[_0xec1002]['isRemoved']&&(_0x2a50b0[_0xec1002]['isIncorrect']=!0x0));}return _0x2a50b0['filter'](_0x37a7c2=>!_0x37a7c2['isIncorrect']);}['_makeModelFromTape'](_0x6b24cc,_0x57b7b0,_0x271b6f){const _0x18b39b=new wt(),_0x36b0be=[],_0x43c480=new Map(),_0x5110e5=this['editor']['model'],_0x1e72c2=_0x5110e5['schema'],_0x2621c3=[_0x18b39b],_0x32dd10={},_0x1d9ac6={'isAdded':[],'isRemoved':[],'isAddSuggestion':[],'isRemoveSuggestion':[]};let _0x5ced75=null;const _0x24bf44=[0x0];for(let _0x33c109=0x0;_0x33c109<_0x6b24cc['length'];_0x33c109++){let _0x399127,_0x606d36;if('elementStart'===_0x6b24cc[_0x33c109]['type']){_0x399127=_0x5110e5['createPositionFromPath'](_0x18b39b,_0x24bf44);const _0x32c54a=new ft(_0x6b24cc[_0x33c109]['item']['name'],_0x6b24cc[_0x33c109]['item']['getAttributes']());_0x2621c3[0x0]['_appendChild'](_0x32c54a),_0x24bf44['push'](0x0),_0x2621c3['unshift'](_0x32c54a),_0x606d36=_0x5110e5['createPositionFromPath'](_0x18b39b,_0x24bf44),_0x5ced75=null;}else{if('elementEnd'===_0x6b24cc[_0x33c109]['type'])_0x2621c3['shift'](),_0x399127=_0x5110e5['createPositionFromPath'](_0x18b39b,_0x24bf44),_0x24bf44['pop'](),_0x24bf44[_0x24bf44['length']-0x1]++,_0x606d36=_0x5110e5['createPositionFromPath'](_0x18b39b,_0x24bf44),_0x5ced75=null;else{if(_0x399127=_0x5110e5['createPositionFromPath'](_0x18b39b,_0x24bf44),_0x5ced75&&_0x5d2098(_0x5ced75,_0x6b24cc[_0x33c109]['item']))_0x5ced75['_data']+=_0x6b24cc[_0x33c109]['item']['data'];else{const _0x51ee89=new _t(_0x6b24cc[_0x33c109]['item']['data'],_0x6b24cc[_0x33c109]['item']['getAttributes']());_0x2621c3[0x0]['_appendChild'](_0x51ee89),_0x5ced75=_0x51ee89;}_0x24bf44[_0x24bf44['length']-0x1]+=_0x6b24cc[_0x33c109]['item']['offsetSize'],_0x606d36=_0x5110e5['createPositionFromPath'](_0x18b39b,_0x24bf44);}}for(const _0x2de595 of _0x6b24cc[_0x33c109]['markersStart'])_0x43c480['set'](_0x2de595,{'start':_0x399127,'end':null});_0x35a14b('isRemoveSuggestion',_0x33c109,_0x399127,_0x606d36),_0x35a14b('isAddSuggestion',_0x33c109,_0x399127,_0x606d36),_0x35a14b('isRemoved',_0x33c109,_0x399127,_0x606d36),_0x35a14b('isAdded',_0x33c109,_0x399127,_0x606d36);for(const _0x2cc03a of _0x6b24cc[_0x33c109]['markersEnd']){_0x43c480['get'](_0x2cc03a)['end']=_0x606d36;}}for(const [_0x5cbebe,_0x3b3c82]of _0x43c480){const _0x11c001=this['editor']['model']['createRange'](_0x3b3c82['start'],_0x3b3c82['end']);_0x18b39b['markers']['set'](_0x5cbebe,_0x11c001);}return _0x36b0be['sort']((_0x2ab609,_0x5a14bd)=>{const _0x32ca8b=_0x18b39b['markers']['get']('revision:'+_0x2ab609['id']),_0xbf1d11=_0x18b39b['markers']['get']('revision:'+_0x5a14bd['id']);return _0x32ca8b['start']['isBefore'](_0xbf1d11['start'])?-0x1:_0x32ca8b['start']['isAfter'](_0xbf1d11['start'])?0x1:_0x32ca8b['end']['isBefore'](_0xbf1d11['end'])?-0x1:_0x32ca8b['end']['isAfter'](_0xbf1d11['end'])?0x1:'add'===_0x2ab609['type']?-0x1:0x1;}),{'root':_0x18b39b,'changes':_0x36b0be};function _0x35a14b(_0x27ef3b,_0x39235a,_0xd73ed5,_0x4a08e3){const _0x1a2314=!!_0x6b24cc[_0x39235a][_0x27ef3b],_0x3095a0=_0x1a2314?_0x6b24cc[_0x39235a][_0x27ef3b]['userId']:null,_0x4546b3=_0x39235a===_0x6b24cc['length']-0x1,_0xf5a49=_0x1d9ac6[_0x27ef3b][0x0],_0x115c77=_0x1e72c2['isObject'](_0x6b24cc[_0x39235a]['item']);!_0x32dd10[_0x27ef3b]&&_0x1a2314?_0x32dd10[_0x27ef3b]={'start':_0xd73ed5,'tapeItem':_0x6b24cc[_0x39235a],'userId':_0x3095a0,'type':_0x27ef3b}:_0x32dd10[_0x27ef3b]&&!_0x1a2314?(_0x32dd10[_0x27ef3b]['end']=_0xd73ed5,_0x33b3e0(_0x32dd10[_0x27ef3b]),_0x32dd10[_0x27ef3b]=null):_0x32dd10[_0x27ef3b]&&_0x1a2314&&_0x32dd10[_0x27ef3b]['userId']!==_0x3095a0&&(_0x32dd10[_0x27ef3b]['end']=_0xd73ed5,_0xf5a49&&_0xf5a49['userId']===_0x32dd10[_0x27ef3b]['userId']||_0x33b3e0(_0x32dd10[_0x27ef3b]),_0x32dd10[_0x27ef3b]={'start':_0xd73ed5,'tapeItem':_0x6b24cc[_0x39235a],'userId':_0x3095a0,'type':_0x27ef3b}),_0x32dd10[_0x27ef3b]&&_0x115c77&&('elementStart'!==_0x6b24cc[_0x39235a]['type']||_0xf5a49&&_0xf5a49['userId']===_0x3095a0||_0x1d9ac6[_0x27ef3b]['unshift']({'userId':_0x3095a0,'object':_0x6b24cc[_0x39235a]['item'],'change':_0x32dd10[_0x27ef3b]}),'elementEnd'===_0x6b24cc[_0x39235a]['type']&&_0xf5a49&&_0xf5a49['object']===_0x6b24cc[_0x39235a]['item']&&(_0x1d9ac6[_0x27ef3b]['shift'](),_0x32dd10[_0x27ef3b]=_0xf5a49['change'])),_0x32dd10[_0x27ef3b]&&_0x4546b3&&(_0x32dd10[_0x27ef3b]['end']=_0x4a08e3,_0x33b3e0(_0x32dd10[_0x27ef3b]),_0x32dd10[_0x27ef3b]=null);}function _0x33b3e0({start:_0x264622,end:_0x50cbf5,tapeItem:_0x2d8a62,userId:_0x24576b,type:_0x7d3001}){const _0x29500e=_0x2d8a62['item'],_0x3e2d3c=_0x5110e5['schema']['isBlock'](_0x29500e)&&!_0x5110e5['schema']['isLimit'](_0x29500e),_0x550dd5=_0x264622['nodeAfter']==_0x50cbf5['parent']&&_0x50cbf5['isAtStart'];if(_0x3e2d3c&&_0x550dd5)return;const _0x1a722b=_0x5110e5['createRange'](_0x264622,_0x50cbf5),_0x5a3743=_0x57b7b0['get'](_0x24576b),_0x5c2317=new r({'author':_0x5a3743,'type':'isAdded'==_0x7d3001||'isAddSuggestion'==_0x7d3001?'add':'remove','data':{'isSuggestion':'isAddSuggestion'==_0x7d3001||'isRemoveSuggestion'==_0x7d3001},'createdAt':new Date(),'rootName':_0x271b6f});_0x36b0be['push'](_0x5c2317),_0x18b39b['markers']['set']('revision:'+_0x5c2317['id'],_0x1a722b);}function _0x5d2098(_0x401d04,_0x4a98be){const _0x5c52ea=_0x401d04['getAttributes'](),_0x970998=_0x4a98be['getAttributes']();for(const _0x1da666 of _0x5c52ea){if(_0x1da666[0x1]!==_0x4a98be['getAttribute'](_0x1da666[0x0]))return!0x1;_0x970998['next']();}return _0x970998['next']()['done'];}}['_setConversion'](){this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'revision'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision','view':_0x2358ba=>{const _0x3255b1=_0x2358ba['markerName']['split'](':')[0x1],_0xb67d3e=this['_getChangeFromId'](_0x3255b1);if(!_0xb67d3e)return null;const _0x4f5e89='add'==_0xb67d3e['type']?'insertion':'deletion',_0x554744=['ck-suggestion-marker','ck-suggestion-marker-'+_0x4f5e89];return _0xb67d3e['data']['isSuggestion']&&_0x554744['push']('ck-suggestion-marker-'+_0x4f5e89+'-new'),this['activeChange']==_0xb67d3e&&_0x554744['push']('ck-suggestion-marker--active'),{'classes':_0x554744,'attributes':{'data-change-id':_0x3255b1}};}}),this['editor']['conversion']['for']('upcast')['add'](_0x579ab9=>{_0x579ab9['on']('element:pre',(_0x2dc25d,_0x5000d7,_0x6b0ab8)=>{const _0x30845b=_0x5000d7['viewItem']['getChild'](0x0);if(!_0x30845b||!_0x30845b['is']('element','code'))return;if(!_0x6b0ab8['consumable']['consume'](_0x30845b,{'attributes':['vid_start','vid_end']}))return;const _0x27924d=_0x5000d7['modelRange']['start']['nodeAfter'];_0x6b0ab8['writer']['setAttribute']('vid_start',_0x30845b['getAttribute']('vid_start'),_0x27924d),_0x6b0ab8['writer']['setAttribute']('vid_end',_0x30845b['getAttribute']('vid_end'),_0x27924d);},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['add'](_0x493f80=>{_0x493f80['on']('element',(_0x271614,_0x974198,_0x6c0c18)=>{if(!_0x6c0c18['consumable']['consume'](_0x974198['viewItem'],{'attributes':['vid_start','vid_end']}))return;if(_0x974198['modelRange']['isCollapsed'])return;const _0x5e8957=_0x974198['modelRange']['start']['nodeAfter'];_0x5e8957['hasAttribute']('vid_start')||_0x5e8957['hasAttribute']('vid')||(_0x6c0c18['writer']['setAttribute']('vid_start',_0x974198['viewItem']['getAttribute']('vid_start'),_0x5e8957),_0x6c0c18['writer']['setAttribute']('vid_end',_0x974198['viewItem']['getAttribute']('vid_end'),_0x5e8957));},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['elementToAttribute']({'view':{'name':'span','attributes':{'vid':!0x0}},'model':{'key':'vid','value':_0xba578f=>_0xba578f['getAttribute']('vid')}}),this['editor']['model']['schema']['on']('checkAttribute',(_0x20eb9b,[,_0xddd55a])=>{['vid_start','vid_end','vid']['includes'](_0xddd55a)&&(_0x20eb9b['return']=!0x0,_0x20eb9b['stop']());},{'priority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['add'](_0x2a979f=>{_0x2a979f['on']('attribute:vid',(_0x1cb1a7,_0x11fcd7,_0x3f59f1)=>{if('\x20'!=_0x11fcd7['item']['data']||_0x11fcd7['item']['parent']['maxOffset']>0x1)return;if(!_0x3f59f1['consumable']['consume'](_0x11fcd7['item'],_0x1cb1a7['name']))return;const _0x323f36=_0x3f59f1['writer'],_0xf5edc3=_0x3f59f1['mapper']['toViewRange'](_0x11fcd7['range']);_0x323f36['wrap'](_0xf5edc3,_0x323f36['createAttributeElement']('span'));});}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',function(_0x3e3944){const _0x14ac8e=_0x3e3944['plugins']['get']('RevisionViewer');return(_0x50a3c5,_0x140bf7,_0x5c7a9f)=>{const _0x4160aa=_0x140bf7['markerName']['split'](':')[0x1],_0x5f54d8=_0x14ac8e['_getChangeFromId'](_0x4160aa);if(!_0x5f54d8)return null;const _0x1c999d='add'==_0x5f54d8['type']?'split':'merge';if(!_0x5c7a9f['consumable']['test'](_0x140bf7['markerRange'],_0x50a3c5['name']))return;const _0x549fe4=_0x140bf7['markerRange']['getWalker'](),_0x2ea9fb=_0x140bf7['markerRange']['start'],_0x2a6e3a=_0x3e3944['model']['schema'];let _0x275564=null,_0x451c75=null,_0x4c813b=!0x1,_0x174329=!0x1;for(const _0x1d4d82 of _0x549fe4){const _0xb07e8e=_0x1d4d82['item'];_0x4c813b=_0x4c813b||_0x2a6e3a['isContent'](_0xb07e8e);const _0x1e564c=_0x5c7a9f['mapper']['toViewElement'](_0xb07e8e);if(_0x1e564c&&_0x1e564c['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x1d4d82['type']&&(_0x2a6e3a['isBlock'](_0xb07e8e)&&!_0x2a6e3a['isLimit'](_0xb07e8e)&&(_0xb07e8e['nextSibling']||_0x2ea9fb['isAtEnd']?_0x275564&&_0x275564['parent']==_0xb07e8e||(_0x275564=_0xb07e8e,_0x340638(_0x1d4d82['previousPosition']),_0x174329=!0x0):_0x451c75=_0x451c75||_0x1d4d82['previousPosition']));}function _0x340638(_0x2cfd78){const _0x33953d=_0x5c7a9f['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x1c999d}),_0x426efc=_0x5c7a9f['mapper']['toViewPosition'](_0x2cfd78);_0x5f54d8['data']['isSuggestion']&&_0x5c7a9f['writer']['addClass']('ck-suggestion-marker-'+_0x1c999d+'-new',_0x33953d),_0x14ac8e['activeChange']==_0x5f54d8&&_0x5c7a9f['writer']['addClass']('ck-suggestion-marker--active',_0x33953d),_0x5c7a9f['writer']['insert'](_0x426efc,_0x33953d),_0x5c7a9f['mapper']['bindElementToMarker'](_0x33953d,_0x140bf7['markerName']);}_0x4c813b||_0x174329||!_0x451c75||_0x340638(_0x451c75);};}(this['editor']),{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('removeMarker:revision',(_0x16a2f8,_0x267947,_0x39c416)=>{const _0x522495=_0x39c416['mapper']['markerNameToElements'](_0x267947['markerName']);if(_0x522495){for(const _0x469545 of _0x522495)(_0x469545['hasClass']('ck-suggestion-marker-split')||_0x469545['hasClass']('ck-suggestion-marker-merge'))&&(_0x39c416['mapper']['unbindElementFromMarkerName'](_0x469545,_0x267947['markerName']),_0x39c416['writer']['remove'](_0x469545));}},{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',(_0x38e877,_0xcef1b6,_0x70aa2c)=>{const _0x2bb3d1=_0xcef1b6['markerName']['split'](':')[0x1],_0x2ac7e7=this['_getChangeFromId'](_0x2bb3d1);if(!_0x2ac7e7)return null;const _0x2ed265='add'==_0x2ac7e7['type']?'split':'merge';if(_0x70aa2c['consumable']['test'](_0xcef1b6['markerRange'],_0x38e877['name']))for(const _0x3e0d7a of _0xcef1b6['markerRange']['getItems']()){if(!_0x3e0d7a['is']('element','softBreak'))continue;const _0x27b609=_0x70aa2c['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x2ed265}),_0x536ab0=_0x70aa2c['mapper']['toViewPosition'](this['editor']['model']['createPositionBefore'](_0x3e0d7a));_0x2ac7e7['data']['isSuggestion']&&_0x70aa2c['writer']['addClass']('ck-suggestion-marker-'+_0x2ed265+'-new',_0x27b609),this['activeChange']==_0x2ac7e7&&_0x70aa2c['writer']['addClass']('ck-suggestion-marker--active',_0x27b609),_0x70aa2c['writer']['insert'](_0x536ab0,_0x27b609),_0x70aa2c['mapper']['bindElementToMarker'](_0x27b609,_0xcef1b6['markerName']);}},{'priority':'high'}),this['editor']['model']['document']['on']('change',()=>{this['editor']['editing']['view']['change'](_0x4796c8=>{for(const _0x3b368 of this['editor']['model']['document']['getRootNames']()){const _0x17aabd=this['editor']['model']['document']['getRoot'](_0x3b368),_0x21e850=this['editor']['editing']['view']['document']['getRoot'](_0x3b368);if(_0x21e850){const _0x2f06cc=_0x17aabd['getAttribute']('revisionHistoryAttachChange');if(_0x4796c8['removeAttribute']('data-change-id',_0x21e850),_0x4796c8['removeClass']('ck-revision-history-root-add',_0x21e850),_0x4796c8['removeClass']('ck-revision-history-root-remove',_0x21e850),_0x4796c8['removeClass']('ck-revision-history-root--active',_0x21e850),_0x2f06cc){const _0x3cbc09=this['_getChangeFromId'](_0x2f06cc);if(!_0x3cbc09)return null;_0x4796c8['setAttribute']('data-change-id',_0x2f06cc,_0x21e850),_0x4796c8['addClass']('ck-revision-history-root-'+_0x3cbc09['type'],_0x21e850),this['activeChange']==_0x3cbc09&&_0x4796c8['addClass']('ck-revision-history-root--active',_0x21e850);}}}});}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'comment','model':_0x3b4ae4=>'revision-comment:'+_0x3b4ae4,'converterPriority':'highest'}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'suggestion','model':_0x28d511=>'revision-suggestion:'+_0x28d511,'converterPriority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision-suggestion','view':_0x120cd5=>({'name':'suggestion:'+_0x120cd5,'group':'revision-suggestion'}),'converterPriority':'highest'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision-suggestion','view':_0x5380a5=>{const _0x46941c=_0x5380a5['markerName']['split'](':')[0x1];return'insertion'!=_0x46941c&&'deletion'!=_0x46941c?null:{'classes':['ck-suggestion-preview-marker','ck-suggestion-preview-marker-'+_0x46941c]};}}),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',(_0x3bf129,_0x304727,_0x67614)=>{const _0x382274=_0x67614['mapper']['markerNameToElements'](_0x304727['markerName']);if(_0x382274){for(const _0x1fa2f2 of _0x382274)_0x1fa2f2['is']('uiElement')&&(_0x67614['mapper']['unbindElementFromMarkerName'](_0x1fa2f2,_0x304727['markerName']),_0x67614['writer']['remove'](_0x1fa2f2));}},{'priority':'high'});}['_getChangeFromId'](_0x647381){return this['_changeIdToChange']['get'](_0x647381);}['_getViewForChange'](_0x28e57b){return this['_changeView']&&this['_changeView']['destroy'](),this['_changeView']=new Z(this['editor']['locale'],_0x28e57b),this['_changeView'];}['_initInteractions'](){this['editor']['model']['document']['selection']['observeMarkers']('revision'),this['on']('change:activeView',(_0x49ac6b,_0x2071a8,_0x73d329,_0x2ba183)=>{_0x2ba183&&this['_balloon']['remove'](_0x2ba183),_0x73d329&&(this['_balloon']['add']({'view':_0x73d329,'stackId':'revisionHistoryLabel','position':{'target':()=>{const _0x81024e=this['editor']['editing'],_0x587416=this['_getChangeFromId'](_0x73d329['changeId']);let _0x4b9bc9;if(_0x587416['data']['isOnRoot']){const _0x102fe4=_0x81024e['view']['getDomRoot'](_0x587416['rootName']);_0x4b9bc9=Array['from'](_0x102fe4['getClientRects']());}else{const _0x3a90b4=this['editor']['model']['markers']['get']('revision:'+_0x73d329['changeId']);_0x4b9bc9=Array['from'](_0x81024e['mapper']['markerNameToElements'](_0x3a90b4['name']))['map'](_0x527634=>_0x81024e['view']['domConverter']['mapViewToDom'](_0x527634))['map'](_0x386cd3=>Array['from'](_0x386cd3['getClientRects']()))['flat']();}if(!this['_activeViewTarget'])return _0x4b9bc9[0x0];return _0x4b9bc9['find'](_0x4e4f67=>_0x4e4f67['top']-0x3<=this['_activeViewTarget']['y']&&_0x4e4f67['bottom']+0x3>=this['_activeViewTarget']['y']&&_0x4e4f67['left']-0x3<=this['_activeViewTarget']['x']&&_0x4e4f67['right']+0x3>=this['_activeViewTarget']['x'])||_0x4b9bc9[0x0];}}}),this['_balloon']['showStack']('revisionHistoryLabel'));}),this['on']('change:activeChange',(_0x38aebe,_0x1e8b0b,_0x4b8d98,_0x56e3ab)=>{this['activeView']=_0x4b8d98?this['_getViewForChange'](_0x4b8d98):null,this['editor']['model']['change'](()=>{const _0x24f8a2=this['editor']['editing'];_0x56e3ab&&(_0x56e3ab['data']['isOnRoot']?_0x24f8a2['view']['change'](_0x5df2db=>{_0x5df2db['removeClass']('ck-revision-history-root--active',_0x24f8a2['view']['document']['getRoot'](_0x56e3ab['rootName']));}):_0x24f8a2['reconvertMarker']('revision:'+_0x56e3ab['id'])),_0x4b8d98&&(_0x4b8d98['data']['isOnRoot']?_0x24f8a2['view']['change'](_0x23350d=>{_0x23350d['addClass']('ck-revision-history-root--active',_0x24f8a2['view']['document']['getRoot'](_0x4b8d98['rootName']));}):_0x24f8a2['reconvertMarker']('revision:'+_0x4b8d98['id']));});}),this['listenTo'](this['editor']['editing']['view']['document'],'mouseover',(_0x433091,_0x1e9c75)=>{if(this['activeChange'])return;const _0x1c0916=this['_findChangeIdFromDomTarget'](_0x1e9c75['target']),_0x25ac07=this['_changeIdToChange']['get'](_0x1c0916);_0x25ac07?(this['_activeViewTarget']={'x':_0x1e9c75['domEvent']['x'],'y':_0x1e9c75['domEvent']['y']},this['activeView']=this['_getViewForChange'](_0x25ac07)):(this['_activeViewTarget']=null,this['activeView']=null);}),this['listenTo'](this['editor']['editing']['view']['document'],'mousedown',(_0x278071,_0x3a24e2)=>{const _0xb536a=this['_findChangeIdFromDomTarget'](_0x3a24e2['target']),_0xd5fb0d=this['_changeIdToChange']['get'](_0xb536a);_0xd5fb0d?(this['_activeViewTarget']={'x':_0x3a24e2['domEvent']['x'],'y':_0x3a24e2['domEvent']['y']},_0xd5fb0d===this['activeChange']?this['_balloon']['updatePosition']():this['activeChange']=_0xd5fb0d):(this['_activeViewTarget']=null,this['activeChange']=null);});}['_findChangeIdFromDomTarget'](_0x207925){do{const _0x2a9e1f=_0x207925['getAttribute']('data-change-id');if(_0x2a9e1f)return _0x2a9e1f;_0x207925=_0x207925['parent'];}while(_0x207925);return null;}['_cleanMarkers'](){this['editor']['model']['change'](_0x506153=>{for(const _0x44da28 of this['editor']['model']['markers'])_0x506153['removeMarker'](_0x44da28);});}}function et(_0x321bd8,_0x284e12){return(_0x5573e8,_0x507352,_0x1457e7)=>{if(!_0x1457e7['consumable']['test'](_0x507352['markerRange'],_0x5573e8['name']))return;const _0x4bcef2=_0x507352['markerRange']['getWalker'](),_0x4d7329=_0x507352['markerRange']['start'],_0x758c89=_0x321bd8['model']['schema'];let _0x512c6b=null,_0x241a40=null,_0x37209b=!0x1,_0x52c092=!0x1;for(const _0x3eb8dd of _0x4bcef2){const _0xb89f27=_0x3eb8dd['item'];_0x37209b=_0x37209b||_0x758c89['isContent'](_0xb89f27);const _0x3ff439=_0x1457e7['mapper']['toViewElement'](_0xb89f27);if(_0x3ff439&&_0x3ff439['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x3eb8dd['type']&&(_0x758c89['isBlock'](_0xb89f27)&&!_0x758c89['isLimit'](_0xb89f27)&&(_0xb89f27['nextSibling']||_0x4d7329['isAtEnd']?_0x512c6b&&_0x512c6b['parent']==_0xb89f27||(_0x512c6b=_0xb89f27,_0x5aead5(_0x3eb8dd['previousPosition']),_0x52c092=!0x0):_0x241a40=_0x241a40||_0x3eb8dd['previousPosition']));}function _0x5aead5(_0x1b1cd8){const _0x414e40=_0x1457e7['mapper']['toViewPosition'](_0x1b1cd8),_0x233e43=_0x1457e7['writer']['createUIElement']('span',{'class':'ck-suggestion-preview-marker-'+_0x284e12});_0x1457e7['writer']['insert'](_0x414e40,_0x233e43),_0x1457e7['mapper']['bindElementToMarker'](_0x233e43,_0x507352['markerName']);}_0x37209b||_0x52c092||!_0x241a40||_0x5aead5(_0x241a40);};}class bt extends _0x2c59db{constructor(_0x5c2585){super(_0x5c2585);const _0x276342=_0x5c2585['plugins']['get'](d);this['affectsData']=!0x1,this['listenTo'](_0x276342,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x276342,'change:isEnabled',()=>this['refresh']());}['execute'](){const _0x1238e1=this['editor'],_0xdc4f00=_0x1238e1['plugins']['get'](d),_0x57e877=_0xdc4f00['isReady']?_0xdc4f00['diff']['newRevisionId']:null;_0x1238e1['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x57e877);}['refresh'](){const {isReady:_0xecd75e,isEnabled:_0x529c3c}=this['editor']['plugins']['get'](d);this['isEnabled']=_0xecd75e&&_0x529c3c;}}class yt extends _0x2c59db{['_step'];constructor(_0x941a5f,{direction:_0x54a959}){super(_0x941a5f);const _0x151d83=_0x941a5f['plugins']['get'](d);this['affectsData']=!0x1,this['_step']='forward'===_0x54a959?0x1:-0x1,this['listenTo'](_0x151d83,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x151d83,'change:isEnabled',()=>this['refresh']()),this['listenTo'](_0x151d83,'change:activeChange',()=>this['refresh']());}['execute'](){const _0x409106=this['editor'],_0x409bd3=_0x409106['plugins']['get'](d),{isNavigationMode:_0x38a7de,currentChangeNumber:_0x545508}=_0x409bd3;let _0x45086e;if(_0x409bd3['activeChange']=_0x38a7de?_0x409bd3['diff']['changes']['get'](_0x545508+this['_step']):_0x409bd3['diff']['changes']['first'],_0x409bd3['activeChange']['data']['isOnRoot'])_0x45086e=_0x409106['editing']['view']['getDomRoot'](_0x409bd3['activeChange']['rootName']);else{const _0x37fcb8=_0x409106['model']['markers']['get']('revision:'+_0x409bd3['activeChange']['id']);_0x45086e=_0x2cc4e8(_0x409106['editing'],_0x37fcb8);}_0x582b14({'target':_0x45086e,'viewportOffset':0x28});}['refresh'](){const {isNavigationMode:_0x4e81c5,currentChangeNumber:_0x1b371e,numberOfChanges:_0xf83d98,isReady:_0x3c93f5,isEnabled:_0x1ca11a}=this['editor']['plugins']['get'](d);this['isEnabled']=!!(_0x1ca11a&&_0x3c93f5&&_0xf83d98)&&(!_0x4e81c5||(0x1===this['_step']?_0x1b371e<_0xf83d98-0x1:_0x1b371e>0x0));}}class _i extends _0x171859{constructor(_0x59f2d7){super(_0x59f2d7);const _0x283be6=this['bindTemplate'],_0x445eb7=new _0x1b852d(_0x59f2d7),_0x3dc5cb=new _0x1b852d(_0x59f2d7);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',(_0x5a1448,_0x25112e)=>_0x5a1448&&_0x25112e>0x0),this['bind']('_statusText')['to'](this,'isReady',this,'currentChangeNumber',this,'numberOfChanges',this,'isNavigationMode',(_0x2c3bb2,_0x54c411,_0x5c528d,_0x31443c)=>{if(!_0x2c3bb2)return y(_0x59f2d7,'Loading...');if(!_0x5c528d)return y(_0x59f2d7,'No\x20changes');const _0x3aa34b=y(_0x59f2d7,'NUMBER_OF_CHANGES',_0x5c528d);return _0x31443c?y(_0x59f2d7,'X_OF_Y_CHANGES',[_0x54c411+0x1,_0x5c528d]):_0x3aa34b;}),_0x445eb7['set']({'label':y(_0x59f2d7,'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'}),_0x3dc5cb['set']({'label':y(_0x59f2d7,'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'}),_0x445eb7['bind']('isEnabled')['to'](this,'isBackwardNavigationEnabled'),_0x3dc5cb['bind']('isEnabled')['to'](this,'isForwardNavigationEnabled'),_0x445eb7['on']('execute',()=>this['fire']('execute','backward')),_0x3dc5cb['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',_0x283be6['if']('_isStatusLabelVisible','ck-hidden',_0x16fc5a=>!_0x16fc5a)]},'children':[{'text':_0x283be6['to']('isNavigationMode',_0x2ee44e=>_0x2ee44e?y(_0x59f2d7,'EDIT_X_OF_Y_REVISIONS')+':\x20':y(_0x59f2d7,'Total')+':\x20')}]},{'text':_0x283be6['to']('_statusText')}]},new _0x3e822a(),{'tag':'div','attributes':{'class':['ck-revision-history-ui__changes-navigation__navigation']},'children':[_0x445eb7,_0x3dc5cb]}]});}}const ce='ck-editor__editable__loading-overlay';class de extends _0x2adf2b{static get['pluginName'](){return'RevisionViewerLoadingOverlay';}['show'](){const _0xb012e1=this['editor']['editing']['view'];_0xb012e1['change'](_0x48fbf3=>{for(const _0x5d4ad1 of _0xb012e1['document']['roots'])_0x48fbf3['addClass'](ce,_0x5d4ad1);});}['hide'](){const _0x210769=this['editor']['editing']['view'];_0x210769['change'](_0x566443=>{for(const _0x1ea865 of _0x210769['document']['roots'])_0x566443['removeClass'](ce,_0x1ea865);});}}class R extends _0x2adf2b{static get['pluginName'](){return'RevisionViewerUI';}static get['requires'](){return[d,de];}['init'](){const _0x25e479=this['editor'],_0x3bf54b=_0x25e479['plugins']['get'](d),_0x138746=_0x25e479['plugins']['get'](de);_0x25e479['ui']['componentFactory']['add']('exitToEditing',_0x4fa7ea=>{const _0x4d4478=new _0x1b852d(_0x4fa7ea);return _0x4d4478['set']({'label':y(_0x4fa7ea,'Back\x20to\x20editing'),'icon':_0x2e42e2['undo'],'withText':!0x0,'tooltip':!0x0,'class':'ck-revision-history-ui__back-to-editing'}),this['listenTo'](_0x4d4478,'execute',()=>{_0x25e479['config']['get']('revisionHistory')['closeRevisionViewerCallback']();}),_0x4d4478;}),_0x25e479['ui']['componentFactory']['add']('restoreRevision',_0x311e51=>{const _0x127749=new _0x1b852d(_0x311e51);return _0x127749['set']({'label':y(_0x311e51,'Restore\x20this\x20revision'),'withText':!0x0,'tooltip':!0x0}),_0x127749['bind']('isEnabled')['to'](_0x25e479['commands']['get']('restoreRevision')),this['listenTo'](_0x127749,'execute',()=>_0x25e479['execute']('restoreRevision')),_0x127749;}),_0x25e479['ui']['componentFactory']['add']('changesNavigation',_0x4b5b08=>{const _0x74995f=new _i(_0x4b5b08),_0x2684d3=_0x25e479['commands']['get']('showPreviousChange'),_0x9bdac3=_0x25e479['commands']['get']('showNextChange');return _0x74995f['bind']('isBackwardNavigationEnabled')['to'](_0x2684d3,'isEnabled'),_0x74995f['bind']('isForwardNavigationEnabled')['to'](_0x9bdac3,'isEnabled'),_0x74995f['bind']('isReady','currentChangeNumber','numberOfChanges','isNavigationMode')['to'](_0x3bf54b),this['listenTo'](_0x74995f,'execute',(_0x1fa9ac,_0x19d484)=>{_0x25e479['execute']('forward'===_0x19d484?'showNextChange':'showPreviousChange');}),_0x74995f;}),_0x138746['show'](),_0x3bf54b['on']('change:isReady',(_0x17f0b4,_0x16f252,_0x3d6520)=>{_0x3d6520?_0x138746['hide']():_0x138746['show']();});}}class kt extends at{['_resizeObserver']=null;constructor(_0x5dc857,_0x4b89aa){super(_0x5dc857,_0x4b89aa);const _0x5810d1=this['bindTemplate'];this['set']({'label':y(_0x5dc857,'Revision\x20name'),'_tooltipString':''}),this['fieldView']['placeholder']=y(_0x5dc857,'Enter\x20the\x20revision\x20name'),this['extendTemplate']({'tag':'span','attributes':{'class':['ck-revision-history-sidebar__revision-name'],'data-cke-tooltip-text':_0x5810d1['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 _0xfa2551=this['fieldView']['element'];this['_tooltipString']=_0xfa2551['scrollWidth']>_0xfa2551['clientWidth']&&_0xfa2551['value']||'';}}class ti extends _0x171859{constructor(_0x2346a3,_0x1307d4,_0x41dd9a){super(_0x2346a3);const _0x3a5f7e=new _0x2d8cd6();_0x3a5f7e['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 _0x4a5433=['ck','ck-revision-history-sidebar__revision-author'];_0x41dd9a&&_0x4a5433['push']('ck-revision-history-sidebar__revision-author_creator');const _0x5887ad=[{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__revision-author__name'],'title':y(_0x2346a3,_0x41dd9a?'Revision\x20creator':'Revision\x20author')},'children':[_0x3a5f7e,_0x1307d4['name']]}];this['setTemplate']({'tag':'li','attributes':{'class':_0x4a5433},'children':_0x5887ad});}}function ni(_0x1d3989,_0x4f9f3e){const _0x46b12c=_0x1d3989['bindTemplate'],_0x36ec79=_0x1d3989['locale'],_0x2c15a8=_0xcec09(_0x36ec79);_0x2c15a8['panelPosition']='sw';const _0x151076=function(_0x3374d4,_0x34a57f){const _0x1614ad=function(_0x412fbc,_0x295981){const _0x3d1dfa=_0x412fbc['locale'],_0x1106f5={'Compare\x20against\x20selected':y(_0x3d1dfa,'Compare\x20against\x20selected'),'Name\x20this\x20revision':y(_0x3d1dfa,'Name\x20this\x20revision'),'Restore\x20this\x20revision':y(_0x3d1dfa,'Restore\x20this\x20revision')};return _0x295981['map'](_0x2ae504=>{const _0x4660cf=_0x1106f5[_0x2ae504['name']];return _0x4660cf&&_0x4660cf!==_0x2ae504['name']&&(_0x2ae504['name']=_0x4660cf),_0x2ae504;});}(_0x3374d4,_0x34a57f),_0x23ff0c=new _0x1ae346();for(const _0x5477e8 of _0x1614ad){const _0xfba95e={'type':'button','model':new to({'label':_0x5477e8['name'],'class':_0x5477e8['class'],'withText':!0x0,'role':'menuitem','_action':_0x5477e8['action']})};_0xfba95e['model']['bind']('isEnabled')['to'](_0x3374d4,'isActionsDropdownOpen',_0x4637f4=>'function'!=typeof _0x5477e8['isEnabled']||(!_0x4637f4||_0x5477e8['isEnabled'](_0x3374d4))),_0x23ff0c['add'](_0xfba95e);}return _0x23ff0c;}(_0x1d3989,_0x4f9f3e);return _0x1d3989['bind']('isActionsDropdownOpen')['to'](_0x2c15a8,'isOpen'),_0x2c15a8['buttonView']['set']({'label':y(_0x36ec79,'Show\x20more\x20items'),'tooltip':!0x0,'tooltipPosition':'sw','icon':_0x2e42e2['threeVerticalDots']}),_0x2c15a8['extendTemplate']({'attributes':{'class':['ck-revision-history-sidebar__revision__actions',_0x46b12c['if']('isActionsDropdownOpen','ck-on')]},'on':{'click':_0x46b12c['to'](_0x41e752=>_0x41e752['stopPropagation']())}}),_0x2c15a8['on']('execute',_0x43103b=>{_0x1d3989['isReady']&&'function'==typeof _0x43103b['source']['_action']&&_0x43103b['source']['_action'](_0x1d3989);}),_0x35e72a(_0x2c15a8,_0x151076,{'role':'menu'}),_0x2c15a8['listenTo'](_0x1d3989,'change:isActionsDropdownOpen',(_0x13ced7,_0x2a547b,_0x109b04)=>{if(_0x109b04)for(const _0x320c03 of _0x2c15a8['listView']['items']){const _0x3958a5=_0x320c03['children']['first'],_0x40b7e9=_0x4f9f3e['find'](_0x23ee67=>_0x23ee67['action']===_0x3958a5['_action'])['isVisible'];_0x320c03['isVisible']=void 0x0===_0x40b7e9||_0x40b7e9(_0x1d3989);}}),_0x2c15a8;}class ai extends/* #__PURE__ -- @preserve */
26
- _0x146896(_0x171859){['id'];['revisionNameView'];['revisionActionsView'];['_revision'];['_requireRevisionName'];constructor(_0x59bf03,_0x172594,_0xe8a694,_0xb65b03){super(_0x59bf03);const _0xc345=this['bindTemplate'],_0x58f9bf=function(_0x2ee432,_0x4167e5){const _0x58fca7=Array['from'](_0x4167e5['authors'])['filter'](_0x154804=>_0x154804!=_0x4167e5['creator']);return _0x4167e5['creator']&&_0x58fca7['unshift'](_0x4167e5['creator']),_0x58fca7['map'](_0x13b1b7=>new ti(_0x2ee432,_0x13b1b7,_0x13b1b7==_0x4167e5['creator']));}(_0x59bf03,_0x172594);this['id']=_0x172594['id'],this['_revision']=_0x172594,this['_requireRevisionName']=_0xb65b03,this['bind']('name','createdAt')['to'](_0x172594),this['bind']('_createdAtFormatted')['to'](this,'createdAt',_0x2aeed6=>{return _0x4cbaa9=_0x59bf03['uiLanguage'],(_0x41fd4e=_0x2aeed6)['toLocaleDateString'](_0x4cbaa9,{'month':'long','day':'numeric'})+',\x20'+_0x41fd4e['toLocaleTimeString'](_0x4cbaa9,{'hour':'numeric','minute':'numeric'});var _0x4cbaa9,_0x41fd4e;}),this['set']('isSelected',!0x1),this['set']('isHighlighted',!0x1),this['set']('isActionsDropdownOpen',!0x1),this['set']('isReady',!0x1),this['set']('isEnabled',!0x1),this['revisionNameView']=new kt(_0x59bf03,_0x48b85f),this['revisionNameView']['fieldView']['extendTemplate']({'attributes':{'maxlength':'220'}}),this['revisionNameView']['fieldView']['bind']('value')['to'](this,'name',_0xd8c091=>_0xd8c091||this['_createdAtFormatted']),this['revisionNameView']['bind']('isEnabled')['to'](this,'isSelected',this,'isEnabled',(_0x753967,_0x363149)=>_0x753967&&_0x363149),this['revisionActionsView']=_0xe8a694&&_0xe8a694['length']?ni(this,_0xe8a694):'',this['revisionActionsView']&&this['revisionActionsView']['bind']('isEnabled')['to'](this),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision-wrapper',_0xc345['if']('isConfirm','ck-revision-history-sidebar__revision-wrapper_confirmation_visible')]},'children':[{'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision',_0xc345['if']('isEnabled','ck-disabled',_0x556dec=>!_0x556dec),_0xc345['if']('isSelected','ck-revision-history-sidebar__revision_selected'),_0xc345['if']('isHighlighted','ck-revision-history-sidebar__revision_highlighted'),_0xc345['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':_0xc345['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':_0x58f9bf}]},this['revisionActionsView']],'on':{'click':_0xc345['to'](_0x5a7cfb=>{_0x5a7cfb['srcElement']['closest']('.ck-thread__remove-confirm')||this['isReady']&&this['isEnabled']&&this['fire']('select',{'id':this['id']});})}}]});}['render'](){super['render']();const _0x1a38b0=this['revisionNameView']['fieldView']['element'];this['listenTo'](_0x1a38b0,'change',()=>{this['_requireRevisionName']&&!_0x1a38b0['value']||this['fire']('setName',{'id':this['id'],'name':_0x1a38b0['value']}),_0x1a38b0['value']||(_0x1a38b0['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(_0x519279,_0x4c6ed3){const _0x152c52=_0x578341['fromJSDate'](_0x519279)['setLocale'](_0x4c6ed3),_0x150c1c=_0x578341['local'](),_0x40925a=_0x150c1c['minus']({'days':0x1})['startOf']('day');let _0x24b1f0,_0x4caa20;return _0x152c52['hasSame'](_0x150c1c,'day')?(_0x24b1f0=_0x152c52['startOf']('day')['toJSDate'](),_0x4caa20=_0x152c52['toRelativeCalendar']()):_0x152c52['hasSame'](_0x40925a,'day')?(_0x24b1f0=_0x40925a['toJSDate'](),_0x4caa20=_0x152c52['toRelativeCalendar']()):_0x152c52['hasSame'](_0x150c1c,'week')?(_0x24b1f0=_0x152c52['startOf']('week')['toJSDate'](),_0x4caa20=_0x152c52['weekdayLong']||''):_0x152c52['hasSame'](_0x150c1c,'year')?(_0x24b1f0=_0x152c52['startOf']('month')['toJSDate'](),_0x4caa20=_0x152c52['monthLong']||''):(_0x24b1f0=_0x152c52['startOf']('year')['toJSDate'](),_0x4caa20=String(_0x152c52['year'])),{'startDate':_0x24b1f0,'localizedPeriodName':_0x4caa20};}class mi extends _0x171859{['startDate'];['revisionViews'];['_revisionActions'];['_requireRevisionName'];constructor(_0x29246b,_0x3246e3,_0x479245,_0x2e5b88){super(_0x29246b);const _0xcef9bb=di(_0x3246e3,this['locale']['uiLanguage'])['localizedPeriodName'];this['startDate']=_0x3246e3,this['revisionViews']=this['createCollection'](),this['_revisionActions']=_0x479245,this['_requireRevisionName']=_0x2e5b88,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':_0xcef9bb}]},{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__time-period__revisions']},'children':this['revisionViews']}]});}['addRevision'](_0x17af8b){const _0x39f7f6=new ai(this['locale'],_0x17af8b,this['_revisionActions'],this['_requireRevisionName']);this['revisionViews']['add'](_0x39f7f6);}['removeRevision'](_0x37caad){const _0x4e5628=this['revisionViews']['find'](_0x296704=>_0x296704['id']===_0x37caad['id']);this['revisionViews']['remove'](_0x4e5628);}}class as extends _0x171859{constructor(_0x59ce71){super(_0x59ce71);const _0x50472d=new _0x2d8cd6();_0x50472d['content']=_0x2e42e2['history'],this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all','ck-revision-history-sidebar__header']},'children':[_0x50472d,{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__header__label']},'children':[y(_0x59ce71,'Revision\x20history')]}]});}}class ci extends _0x171859{['timePeriodViews'];['_revisions'];['_revisionActions'];['_requireRevisionName'];constructor(_0x2645ab,_0x3365dc,_0x53653e,_0x55a9a4){super(_0x2645ab);const _0x5345a2=this['bindTemplate'];this['timePeriodViews']=this['createCollection'](),this['timePeriodViews']['delegate']('select')['to'](this),this['timePeriodViews']['delegate']('setName')['to'](this),this['_revisions']=_0x3365dc,this['_revisionActions']=_0x53653e,this['_requireRevisionName']=_0x55a9a4,this['on']('select',(_0xf1acd,_0x3c0e71)=>{this['fire']('revisionSelected',_0x3c0e71);}),this['on']('setName',(_0x163123,_0x48d7d4)=>{this['fire']('revisionSetName',_0x48d7d4);}),this['set']('isEnabled',!0x1),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-rounded-corners','ck-revision-history-sidebar']},'children':[new as(_0x2645ab),{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__timeline',_0x5345a2['if']('isEnabled','ck-disabled',_0x2b2f27=>!_0x2b2f27)]},'children':this['timePeriodViews']}]});}['render'](){super['render']();for(const _0x55c225 of this['_revisions'])this['_addRevision'](_0x55c225);this['_revisions']['on']('add',(_0x127287,_0x28869e)=>{this['_addRevision'](_0x28869e);}),this['_revisions']['on']('remove',(_0x1f699c,_0x39d2b5)=>{this['_removeRevision'](_0x39d2b5);});}get['revisionViews'](){return this['timePeriodViews']['map'](_0x40dfd7=>_0x40dfd7['revisionViews']['map'](_0x31059a=>_0x31059a))['flat']();}['selectRevision'](_0x109931){for(const _0x2d7c7e of this['revisionViews'])_0x109931&&_0x109931['id']===_0x2d7c7e['id']?_0x2d7c7e['select']():_0x2d7c7e['deselect']();}['highlightRevisions'](_0x4fa2cd){for(const _0x203d7e of this['revisionViews'])_0x4fa2cd['some'](({id:_0x192695})=>_0x192695===_0x203d7e['id'])?_0x203d7e['highlight']():_0x203d7e['unhighlight']();}['_addRevision'](_0x4b57e3){const _0xc6d4c9=di(_0x4b57e3['createdAt'],this['locale']['uiLanguage'])['startDate'];let _0x1620a9=this['timePeriodViews']['get'](0x0);_0x1620a9&&_0x1620a9['startDate']['getTime']()===_0xc6d4c9['getTime']()||(_0x1620a9=new mi(this['locale'],_0xc6d4c9,this['_revisionActions'],this['_requireRevisionName']),this['timePeriodViews']['add'](_0x1620a9)),_0x1620a9['addRevision'](_0x4b57e3);}['_removeRevision'](_0x311425){const _0x43dccc=di(_0x311425['createdAt'],this['locale']['uiLanguage'])['startDate'];this['_getTimePeriodViewByStartDate'](_0x43dccc)['removeRevision'](_0x311425);}['_getTimePeriodViewByStartDate'](_0x56ca37){return this['timePeriodViews']['find'](_0x41fc62=>_0x41fc62['startDate']['getTime']()===_0x56ca37['getTime']());}}class w extends _0x2adf2b{['_revisionViewer'];['_revisionsRepository'];['_sidebarView'];static ['defaultRevisionActions']=/* #__PURE__ -- @preserve */
23
+ import{Plugin as _0x10a6ce,Context as _0x4c7e1c,PendingActions as _0x223fbd,icons as _0x16bf45,Command as _0xc8f935,ElementApiMixin as rt,Editor as it}from'@ckeditor/ckeditor5-core/dist/index.js';import{ObservableMixin as _0x5655c2,uid as _0x5877e3,Collection as _0x1ebc2d,logWarning as _0x19ca8b,FocusTracker as _0xd53b19,KeystrokeHandler as _0x35aa9f,scrollViewportToShowTarget as _0x2d8ca2,ResizeObserver as mt,ElementReplacer as nt,CKEditorError as _0x146f0b}from'@ckeditor/ckeditor5-utils/dist/index.js';import{Users as _0xf16395,getMarkerDomElement as _0x5f4de8,ConfirmMixin as _0x2df86e,sanitizeEditorConfig as _0xbf5563}from'ckeditor5-collaboration/dist/index.js';import{ViewDocumentFragment as _0x5b16fb,ViewText as _0x3e38f5,ViewElement as _0x8610b1,Element as ft,Range as vt,Position as gt,DocumentFragment as wt,ViewContainerElement as _0x8516d2,ViewAttributeElement as _0x2f8cc4,ViewEmptyElement as _0x109d01,ViewRawElement as _0x193fa6,ViewUIElement as _0x29c0a5,Text as _t}from'@ckeditor/ckeditor5-engine/dist/index.js';import{cloneDeep as _0x2452f5,set as _0x5a2dd1,unset as _0x5a3ce1,isEqual as _0x4d5b1b}from'lodash-es';import{View as _0x1bde3f,injectCssTransitionDisabler as ts,submitHandler as _0x25afe0,LabeledFieldView as at,createLabeledInputText as _0x22aff1,createDropdown as _0x43b98b,ListView as te,ListItemView as _0x45955c,ButtonView as _0x4c84c5,MenuBarMenuView as _0x3be487,MenuBarMenuListView as _0x14c241,MenuBarMenuListItemView as _0x56c1e8,MenuBarMenuListItemButtonView as _0x273850,ContextualBalloon as _0x49fd2e,ToolbarSeparatorView as _0x23ef45,IconView as _0x15c1a6,addListToDropdown as _0x37fb85,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 _0x10483a}from'luxon';class a extends/* #__PURE__ -- @preserve */
24
+ _0x5655c2(){['id'];['creator'];['authors'];['diffData'];['toVersion'];['fromVersion'];['model'];constructor(_0x479de2){super(),this['id']=_0x479de2['id']||_0x5877e3(),this['creator']=_0x479de2['creator']||null,this['authors']=_0x479de2['authors']||[],this['diffData']=_0x479de2['diffData']||null,this['toVersion']=_0x479de2['toVersion']||0x0,this['fromVersion']=_0x479de2['fromVersion']||0x0,this['set']('name',_0x479de2['name']||''),this['set']('createdAt',_0x479de2['createdAt']||new Date()),this['set']('attributes',_0x479de2['attributes']||{});}['setName'](_0x495b8c){this['_update']({'name':_0x495b8c});}['setAttribute'](_0x38387f,_0x45cc62){const _0x150970=_0x2452f5(this['attributes']);_0x5a2dd1(_0x150970,_0x38387f,_0x45cc62),this['_update']({'attributes':_0x150970});}['removeAttribute'](_0x3d7eac){const _0x535ae3=_0x2452f5(this['attributes']);_0x5a3ce1(_0x535ae3,_0x3d7eac),this['_update']({'attributes':_0x535ae3});}['_update'](_0x21aa27,_0x4442a7=!0x1){let _0x3a1a57=!0x1;const _0x4cf0f1={'id':this['id']},_0x261c9e=['name','createdAt','diffData','authors','attributes','toVersion','fromVersion','creatorId'];for(const _0x5649ed of _0x261c9e){const _0x4d37fb=_0x21aa27[_0x5649ed];void 0x0!==_0x4d37fb&&_0x4d37fb!==this[_0x5649ed]&&(this[_0x5649ed]=_0x4d37fb,_0x4cf0f1[_0x5649ed]=_0x4d37fb,_0x3a1a57=!0x0);}_0x3a1a57&&(_0x4cf0f1['authors']&&(_0x4cf0f1['authorsIds']=_0x4cf0f1['authors']['map'](_0x4e7fb3=>_0x4e7fb3['id']),delete _0x4cf0f1['authors']),this['fire']('_update',_0x4cf0f1,_0x4442a7));}['toJSON'](){return{'id':this['id'],'name':this['name'],'creatorId':this['creator']?this['creator']['id']:null,'authorsIds':this['authors']['map'](_0x518744=>_0x518744['id']),'diffData':this['diffData'],'createdAt':this['createdAt'],'attributes':this['attributes'],'fromVersion':this['fromVersion'],'toVersion':this['toVersion']};}}class A extends _0x10a6ce{['_revisions'];static get['requires'](){return[_0xf16395];}static get['pluginName'](){return'RevisionsRepository';}get['length'](){return this['_revisions']['length'];}constructor(_0x415bb8){super(_0x415bb8),this['_revisions']=new _0x1ebc2d();}['afterInit'](){!function(_0x417705){function _0x11dd5c(_0x9baa34,_0x202988,_0x211c1b){const _0x1b5d22={};_0x1b5d22[_0x2646cd([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])]={0x10:0xa,0x18:0xc,0x20:0xe},_0x1b5d22[_0x2646cd([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],_0x1b5d22[_0x2646cd([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],_0x1b5d22[_0x2646cd([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],_0x1b5d22[_0x2646cd([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],_0x1b5d22[_0x2646cd([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],_0x1b5d22[_0x2646cd([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],_0x1b5d22[_0x2646cd([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],_0x1b5d22[_0x2646cd([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],_0x1b5d22[_0x2646cd([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],_0x1b5d22[_0x2646cd([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 _0x31a527=new Uint8Array(0x10);for(let _0x5d31c7=0xf;_0x5d31c7>=0x0;--_0x5d31c7)_0x31a527[_0x5d31c7]=_0x211c1b%0x100,_0x211c1b=parseInt(_0x211c1b/0x100);let _0x49d54d=null,_0x17e089=0x10;const _0x4ee0f5=new Uint8Array(_0x202988),_0x3013bc=[],_0xdfe8f0=[];_0x45485b();for(let _0xf45b93=0x0;_0xf45b93<_0x9baa34[_0x2646cd([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xf45b93++)0x10===_0x17e089&&(_0x49d54d=_0x178d91(_0x31a527),_0x17e089=0x0,_0x1b76b1(_0x31a527)),_0x9baa34[_0xf45b93]^=_0x49d54d[_0x17e089++];return _0x9baa34;function _0x508ba2(_0x4b0d0f){const _0x372748=[];for(let _0x2fb0a1=0x0;_0x2fb0a1<_0x4b0d0f[_0x2646cd([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2fb0a1+=0x4)_0x372748[_0x2646cd([0x70,0x75,0x73,0x68])](_0x4b0d0f[_0x2fb0a1]<<0x18|_0x4b0d0f[_0x2fb0a1+0x1]<<0x10|_0x4b0d0f[_0x2fb0a1+0x2]<<0x8|_0x4b0d0f[_0x2fb0a1+0x3]);return _0x372748;}function _0x1b76b1(_0x29d68a){for(let _0x260d9d=0xf;_0x260d9d>=0x0;_0x260d9d--){if(0xff!==_0x29d68a[_0x260d9d]){_0x29d68a[_0x260d9d]++;break;}_0x29d68a[_0x260d9d]=0x0;}}function _0x178d91(_0x18e038){const _0x31a5db=_0x3013bc[_0x2646cd([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x1,_0x33601b=[0x0,0x0,0x0,0x0];let t=_0x508ba2(_0x18e038);for(let _0x20b727=0x0;_0x20b727<0x4;_0x20b727++)t[_0x20b727]^=_0x3013bc[0x0][_0x20b727];for(let _0x4c6917=0x1;_0x4c6917<_0x31a5db;_0x4c6917++){for(let _0x1272b9=0x0;_0x1272b9<0x4;_0x1272b9++)_0x33601b[_0x1272b9]=_0x1b5d22[_0x2646cd([0x54,0x31])][t[_0x1272b9]>>0x18&0xff]^_0x1b5d22[_0x2646cd([0x54,0x32])][t[(_0x1272b9+0x1)%0x4]>>0x10&0xff]^_0x1b5d22[_0x2646cd([0x54,0x33])][t[(_0x1272b9+0x2)%0x4]>>0x8&0xff]^_0x1b5d22[_0x2646cd([0x54,0x34])][0xff&t[(_0x1272b9+0x3)%0x4]]^_0x3013bc[_0x4c6917][_0x1272b9];t=_0x33601b[_0x2646cd([0x73,0x6c,0x69,0x63,0x65])]();}const _0x4ee4b4=new Uint8Array(0x10);let _0x3bce56;for(let _0x4d72bb=0x0;_0x4d72bb<0x4;_0x4d72bb++)_0x3bce56=_0x3013bc[_0x31a5db][_0x4d72bb],_0x4ee4b4[0x4*_0x4d72bb]=0xff&(_0x1b5d22[_0x2646cd([0x53])][t[_0x4d72bb]>>0x18&0xff]^_0x3bce56>>0x18),_0x4ee4b4[0x4*_0x4d72bb+0x1]=0xff&(_0x1b5d22[_0x2646cd([0x53])][t[(_0x4d72bb+0x1)%0x4]>>0x10&0xff]^_0x3bce56>>0x10),_0x4ee4b4[0x4*_0x4d72bb+0x2]=0xff&(_0x1b5d22[_0x2646cd([0x53])][t[(_0x4d72bb+0x2)%0x4]>>0x8&0xff]^_0x3bce56>>0x8),_0x4ee4b4[0x4*_0x4d72bb+0x3]=0xff&(_0x1b5d22[_0x2646cd([0x53])][0xff&t[(_0x4d72bb+0x3)%0x4]]^_0x3bce56);return _0x4ee4b4;}function _0x45485b(){const _0x555909=_0x1b5d22[_0x2646cd([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])][_0x4ee0f5[_0x2646cd([0x6c,0x65,0x6e,0x67,0x74,0x68])]];for(let _0x4b21f4=0x0;_0x4b21f4<=_0x555909;_0x4b21f4++)_0x3013bc[_0x2646cd([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]),_0xdfe8f0[_0x2646cd([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]);const _0x5e953b=0x4*(_0x555909+0x1),_0x3452b8=_0x4ee0f5[_0x2646cd([0x6c,0x65,0x6e,0x67,0x74,0x68])]/0x4,_0x3476e3=_0x508ba2(_0x4ee0f5);let _0x56d605;for(let _0x2b63f0=0x0;_0x2b63f0<_0x3452b8;_0x2b63f0++)_0x56d605=_0x2b63f0>>0x2,_0x3013bc[_0x56d605][_0x2b63f0%0x4]=_0x3476e3[_0x2b63f0],_0xdfe8f0[_0x555909-_0x56d605][_0x2b63f0%0x4]=_0x3476e3[_0x2b63f0];let _0x180148,_0x34a776=0x0,t=_0x3452b8;for(;t<_0x5e953b;){_0x180148=_0x3476e3[_0x3452b8-0x1],_0x3476e3[0x0]^=_0x1b5d22[_0x2646cd([0x53])][_0x180148>>0x10&0xff]<<0x18^_0x1b5d22[_0x2646cd([0x53])][_0x180148>>0x8&0xff]<<0x10^_0x1b5d22[_0x2646cd([0x53])][0xff&_0x180148]<<0x8^_0x1b5d22[_0x2646cd([0x53])][_0x180148>>0x18&0xff]^_0x1b5d22[_0x2646cd([0x72,0x63,0x6f,0x6e])][_0x34a776]<<0x18,_0x34a776+=0x1;for(let _0x13e4f6=0x1;_0x13e4f6<_0x3452b8/0x2;_0x13e4f6++)_0x3476e3[_0x13e4f6]^=_0x3476e3[_0x13e4f6-0x1];_0x180148=_0x3476e3[_0x3452b8/0x2-0x1],_0x3476e3[_0x3452b8/0x2]^=_0x1b5d22[_0x2646cd([0x53])][0xff&_0x180148]^_0x1b5d22[_0x2646cd([0x53])][_0x180148>>0x8&0xff]<<0x8^_0x1b5d22[_0x2646cd([0x53])][_0x180148>>0x10&0xff]<<0x10^_0x1b5d22[_0x2646cd([0x53])][_0x180148>>0x18&0xff]<<0x18;for(let _0x375550=_0x3452b8/0x2+0x1;_0x375550<_0x3452b8;_0x375550++)_0x3476e3[_0x375550]^=_0x3476e3[_0x375550-0x1];let _0x42dbc6,_0x3e41d2,_0x353b44=0x0;for(;_0x353b44<_0x3452b8&&t<_0x5e953b;)_0x42dbc6=t>>0x2,_0x3e41d2=t%0x4,_0x3013bc[_0x42dbc6][_0x3e41d2]=_0x3476e3[_0x353b44],_0xdfe8f0[_0x555909-_0x42dbc6][_0x3e41d2]=_0x3476e3[_0x353b44++],t++;}for(let _0x517add=0x1;_0x517add<_0x555909;_0x517add++)for(let _0x1abfd5=0x0;_0x1abfd5<0x4;_0x1abfd5++)_0x180148=_0xdfe8f0[_0x517add][_0x1abfd5],_0xdfe8f0[_0x517add][_0x1abfd5]=_0x1b5d22[_0x2646cd([0x55,0x31])][_0x180148>>0x18&0xff]^_0x1b5d22[_0x2646cd([0x55,0x32])][_0x180148>>0x10&0xff]^_0x1b5d22[_0x2646cd([0x55,0x33])][_0x180148>>0x8&0xff]^_0x1b5d22[_0x2646cd([0x55,0x34])][0xff&_0x180148];}}function _0x2646cd(_0xa182f2){return _0xa182f2['map'](_0x3ab6e7=>String['fromCharCode'](_0x3ab6e7))['join']('');}(_0x53464f=>{function _0x26a001(){const _0x3751bc=[{[_0x2646cd([0x69,0x64])]:0x1,[_0x2646cd([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x2646cd([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73]),[_0x2646cd([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x2646cd([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x2646cd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x2646cd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x2646cd([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x2646cd([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x2646cd([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]:[{[_0x2646cd([0x69,0x64])]:0x2,[_0x2646cd([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x2646cd([0x54,0x72,0x61,0x63,0x6b,0x20,0x43,0x68,0x61,0x6e,0x67,0x65,0x73]),[_0x2646cd([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x2646cd([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x2646cd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x2646cd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x2646cd([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x2646cd([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]),[_0x2646cd([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x2646cd([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x2646cd([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x2646cd([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}}],[_0x2646cd([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x2646cd([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x2646cd([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x2646cd([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x2646cd([0x69,0x64])]:0x3,[_0x2646cd([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x2646cd([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e]),[_0x2646cd([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x2646cd([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x6f,0x6f,0x6b,0x75,0x70]),[_0x2646cd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x2646cd([0x70,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x2646cd([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x2646cd([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x2646cd([0x69,0x64])]:0x4,[_0x2646cd([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x2646cd([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x20,0x48,0x69,0x73,0x74,0x6f,0x72,0x79]),[_0x2646cd([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x2646cd([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x2646cd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x2646cd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x2646cd([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x2646cd([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]),[_0x2646cd([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x2646cd([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x2646cd([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x2646cd([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x2646cd([0x69,0x64])]:0x5,[_0x2646cd([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x2646cd([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x20,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65]),[_0x2646cd([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x2646cd([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65,0x55,0x49]),[_0x2646cd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x2646cd([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]),[_0x2646cd([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x2646cd([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x2646cd([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x2646cd([0x66,0x67,0x69])]:[0xc]}},{[_0x2646cd([0x69,0x64])]:0x6,[_0x2646cd([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x2646cd([0x46,0x6f,0x72,0x6d,0x61,0x74,0x20,0x50,0x61,0x69,0x6e,0x74,0x65,0x72]),[_0x2646cd([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x2646cd([0x46,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x55,0x49]),[_0x2646cd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x2646cd([0x66,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x2646cd([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x2646cd([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x2646cd([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x2646cd([0x66,0x67,0x69])]:[0xc]}},{[_0x2646cd([0x69,0x64])]:0x7,[_0x2646cd([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x2646cd([0x53,0x6c,0x61,0x73,0x68,0x20,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64]),[_0x2646cd([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x2646cd([0x53,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x55,0x49]),[_0x2646cd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x2646cd([0x73,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x2646cd([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x2646cd([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x2646cd([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x2646cd([0x66,0x67,0x69])]:[0xc]}},{[_0x2646cd([0x69,0x64])]:0x8,[_0x2646cd([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x2646cd([0x54,0x61,0x62,0x6c,0x65,0x20,0x6f,0x66,0x20,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73]),[_0x2646cd([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x2646cd([0x54,0x61,0x62,0x6c,0x65,0x4f,0x66,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x2646cd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x2646cd([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]),[_0x2646cd([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x2646cd([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x2646cd([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x2646cd([0x66,0x67,0x69])]:[0xc]}},{[_0x2646cd([0x69,0x64])]:0x9,[_0x2646cd([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x2646cd([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65]),[_0x2646cd([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x2646cd([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x55,0x49]),[_0x2646cd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x2646cd([0x74,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x2646cd([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x2646cd([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x2646cd([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x2646cd([0x66,0x67,0x69])]:[0xc,0xe]}},{[_0x2646cd([0x69,0x64])]:0xa,[_0x2646cd([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x2646cd([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]),[_0x2646cd([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x2646cd([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]),[_0x2646cd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x2646cd([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]),[_0x2646cd([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x2646cd([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x2646cd([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x2646cd([0x66,0x67,0x69])]:[0xc]}},{[_0x2646cd([0x69,0x64])]:0xb,[_0x2646cd([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x2646cd([0x41,0x49,0x20,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74]),[_0x2646cd([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x2646cd([0x41,0x49,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74,0x55,0x49]),[_0x2646cd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x2646cd([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x2646cd([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x2646cd([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x2646cd([0x69,0x64])]:0xc,[_0x2646cd([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x2646cd([0x50,0x72,0x6f,0x64,0x75,0x63,0x74,0x69,0x76,0x69,0x74,0x79,0x20,0x70,0x61,0x63,0x6b])},{[_0x2646cd([0x69,0x64])]:0xd,[_0x2646cd([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x2646cd([0x43,0x61,0x73,0x65,0x20,0x43,0x68,0x61,0x6e,0x67,0x65]),[_0x2646cd([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x2646cd([0x43,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x55,0x49]),[_0x2646cd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x2646cd([0x63,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x2646cd([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x2646cd([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x2646cd([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x2646cd([0x66,0x67,0x69])]:[0xc]}},{[_0x2646cd([0x69,0x64])]:0xe,[_0x2646cd([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x2646cd([0x44,0x72,0x75,0x70,0x61,0x6c,0x20,0x70,0x61,0x63,0x6b]),[_0x2646cd([0x66,0x6f,0x72,0x62,0x69,0x64,0x64,0x65,0x6e,0x48,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x2646cd([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])},{[_0x2646cd([0x69,0x64])]:0xf,[_0x2646cd([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x2646cd([0x4d,0x75,0x6c,0x74,0x69,0x20,0x4c,0x65,0x76,0x65,0x6c,0x20,0x4c,0x69,0x73,0x74]),[_0x2646cd([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x2646cd([0x4d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x2646cd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x2646cd([0x6d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x2646cd([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x2646cd([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x2646cd([0x69,0x64])]:0x10,[_0x2646cd([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x2646cd([0x4d,0x65,0x72,0x67,0x65,0x20,0x54,0x61,0x67,0x73]),[_0x2646cd([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x2646cd([0x4d,0x65,0x72,0x67,0x65,0x54,0x61,0x67,0x73,0x55,0x49]),[_0x2646cd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x2646cd([0x6d,0x65,0x72,0x67,0x65,0x54,0x61,0x67,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x2646cd([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x2646cd([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x2646cd([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x2646cd([0x66,0x67,0x69])]:[0xc]}}];return _0xc578cb(_0x3751bc),_0x3751bc;function _0x57a65e(_0x783ed9){return 0x1<<_0x783ed9-0x1;}function _0xc578cb(_0x116b2c){_0x116b2c[_0x2646cd([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x32180d=>{_0x32180d[_0x2646cd([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]=_0x57a65e(_0x32180d[_0x2646cd([0x69,0x64])]),_0x34b6cd(_0x32180d)&&_0x32180d[_0x2646cd([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0xc578cb(_0x32180d[_0x2646cd([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]);});}}function _0x34b6cd(_0x548e43){return _0x2646cd([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])in _0x548e43;}const _0x2b521c=[0x1,0x55,0x4e,0x73,0xc6,0xff,0x32,0x70,0x53,0x57,0xa1],_0x4ae36d=[0x7f,0x22,0x6,0xd3,0xa7,0x56,0x92,0xc7,0x84,0xa0,0x12];function _0x4a149f(_0x214e60){const _0xc7347b=[0x1d,0xdd,0xaf,0x5a,0xe7,0x85,0xef,0xf0,0x4b,0xb4];return _0x4af10e(_0x214e60,new Uint8Array([..._0x2b521c,..._0xc7347b,..._0x4ae36d]));}function _0x4af10e(_0x15c19f,_0x990a46){const _0x4d42fe=_0x472417(_0x15c19f),_0x1f1741=Array[_0x2646cd([0x66,0x72,0x6f,0x6d])](_0x160386(_0x4d42fe)),_0x8f96e3=_0x1f1741[_0x2646cd([0x70,0x6f,0x70])](),_0x3b81d7=_0x1f1741[_0x2646cd([0x70,0x6f,0x70])]();return _0x4854ed(_0x11dd5c(_0x1f1741,_0x990a46,_0x3b81d7+0x100*_0x8f96e3));}function _0x472417(_0x114f38){const _0x5a3309=atob(_0x114f38),[_0x81261,_0x42a819]=_0x5a3309[_0x2646cd([0x73,0x70,0x6c,0x69,0x74])](_0x2646cd([0x2d]));try{if(atob(_0x42a819))return atob(_0x81261);}catch(_0x2ea2f7){}return _0x5a3309;}function _0x57ed46(_0x42d58a){try{const _0x13df18=_0x4a149f(_0x42d58a),_0x6180bc=JSON[_0x2646cd([0x70,0x61,0x72,0x73,0x65])](_0x13df18),_0x3d737f=parseInt(_0x6180bc[_0x2646cd([0x31])]),_0x41d8d6=_0x6180bc[_0x2646cd([0x32])]||'',_0xd7c0d0=parseInt(_0x6180bc[_0x2646cd([0x33])]),_0x5c4178=parseInt(_0x6180bc[_0x2646cd([0x34])])||0x0,_0x3072b6=parseInt(_0x6180bc[_0x2646cd([0x35])])||0x0;return{[_0x2646cd([0x70,0x72,0x6f,0x64,0x75,0x63,0x74,0x4e,0x61,0x6d,0x65])]:_0x41d8d6,[_0x2646cd([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])]:_0x5c4178,[_0x2646cd([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]:_0x3d737f,[_0x2646cd([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]:_0xd7c0d0,[_0x2646cd([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]:_0x3072b6};}catch(_0xdba21f){return null;}}const _0x203633=_0x26a001(),_0x568c0a={[_0x2646cd([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])]:_0x3a0fec,[_0x2646cd([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])]:_0x3db74c,[_0x2646cd([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])]:_0x4b8678},_0x55333f=_0x53464f[_0x2646cd([0x63,0x6f,0x6e,0x73,0x74,0x72,0x75,0x63,0x74,0x6f,0x72])][_0x2646cd([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])],_0x4a2900=_0x2646cd([0x63,0x6f,0x6e,0x74,0x65,0x78,0x74])in _0x53464f?_0x53464f['context']:_0x53464f['editor'],_0x2b2a75=_0x2646cd([0x34,0x30,0x34,0x38,0x31,0x32,0x35,0x32]),_0x20d2e5=_0x2646cd([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]),_0x4bdffa=_0x4a2900['config']['get'](_0x2646cd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x298e85=_0x203633[_0x2646cd([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x34b6cd)[_0x2646cd([0x66,0x69,0x6e,0x64])](_0x3b9a7d=>_0x3b9a7d[_0x2646cd([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]===_0x55333f);function _0x242487(_0x232642,_0x5d3a68){_0x568c0a[_0x5d3a68[_0x2646cd([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]](_0x232642,_0x5d3a68),_0x5d3a68[_0x2646cd([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x5d3a68[_0x2646cd([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])][_0x2646cd([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1aa11a=>_0x2dc868(_0x4a2900,_0x1aa11a[_0x2646cd([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))[_0x2646cd([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x4022be=>_0x242487(_0x232642,_0x4022be));}function _0x3a0fec(_0x15ad2d,_0x3a6d27){_0x17ac20(_0x5317ca(_0x15ad2d,_0x3a6d27),_0x3a6d27);}function _0x3db74c(_0x165a62,_0x4d4e0f){function _0x480a06(_0x29e4ba,_0x14834a){try{if(_0x2dc868(_0x4a2900,_0x2646cd([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))&&_0x29e4ba){const _0x4e8127=_0x36ba48(_0x4a2900,_0x2646cd([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))[_0x2646cd([0x5f,0x65,0x78,0x65,0x63,0x75,0x74,0x65,0x53,0x75,0x67,0x67,0x65,0x73,0x74,0x69,0x6f,0x6e])];if(parseInt(_0x4e8127)/0x2>_0x29e4ba[_0x2646cd([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])])return _0x11129a(_0x14834a[_0x2646cd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2646cd([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}return _0x5317ca(_0x29e4ba,_0x14834a);}catch(_0x2a0a7b){return _0x11129a(_0x14834a[_0x2646cd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2646cd([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}_0x17ac20(_0x480a06(_0x165a62,_0x4d4e0f),_0x4d4e0f);}function _0x4b8678(_0x20ab7a,_0x3c6349){const _0x50937d=_0x4ae36d[0x0]*_0x2b521c[0x1],_0x307425=_0x4ae36d[0x0]*_0x2b521c[0x2],_0x46989f=_0x4ae36d[0x2]*_0x2b521c[0x2];_0x2dc868(_0x4a2900,_0x2646cd([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x36ba48(_0x4a2900,_0x2646cd([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x2646cd([0x73,0x74,0x61,0x74,0x65])]==_0x2646cd([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&(window[_0x457d32()]=_0x46989f);function _0x3f97fd(_0x5a10e6,_0x39ab18){try{return _0x3caa74()?_0x11129a(_0x39ab18[_0x2646cd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2646cd([0x56,0x61,0x6c,0x69,0x64])):_0x5317ca(_0x5a10e6,_0x39ab18);}catch(_0x5b06f7){return _0x11129a(_0x39ab18[_0x2646cd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2646cd([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x38bb38(_0x215456,_0x1f647f){const _0x3c20ac=0x7;if(_0x215456==_0x1f647f[_0x2646cd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2646cd([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]))_0x3dadda();else{if(_0x215456==_0x1f647f[_0x2646cd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2646cd([0x54,0x72,0x69,0x61,0x6c])){const _0xc5d47a=_0x3bf2ff();_0xc5d47a&&_0x28b16a(_0xc5d47a,_0x1f647f[_0x2646cd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);const _0x53f36a=_0x2c1999();window[_0x2646cd([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x28b16a(_0x2646cd([0x74,0x69,0x6d,0x65]),_0x1f647f[_0x2646cd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);},_0x53f36a);const _0x509f3a=_0x36ba48(_0x4a2900,_0x2646cd([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x2646cd([0x5f,0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73])];_0x509f3a[_0x2646cd([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x3c20ac?_0x28b16a(_0x2646cd([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x1f647f[_0x2646cd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]):_0x509f3a['on'](_0x2646cd([0x61,0x64,0x64]),()=>{_0x509f3a[_0x2646cd([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x3c20ac&&_0x28b16a(_0x2646cd([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x1f647f[_0x2646cd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);});}}}function _0x3bf2ff(){if(!_0x2dc868(_0x4a2900,_0x2646cd([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x4077c0 in window)if(Number['isNaN'](Number(_0x4077c0))){if(window[_0x4077c0]===_0x50937d)return _0x2646cd([0x74,0x69,0x6d,0x65]);if(window[_0x4077c0]===_0x307425)return _0x2646cd([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]);}return!0x1;}function _0x3caa74(){if(!_0x2dc868(_0x4a2900,_0x2646cd([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x320684 in window)if(Number['isNaN'](Number(_0x320684))&&window[_0x320684]===_0x46989f)return!0x0;return!0x1;}function _0x28b16a(_0x307634,_0x187915){_0x3dadda(),_0x11129a(_0x187915+_0x2646cd([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a])+_0x307634),window[_0x457d32()]=_0x307634===_0x2646cd([0x74,0x69,0x6d,0x65])?_0x50937d:_0x307425;}function _0x2c1999(){let _0x372200=_0x4ae36d[0x6]*_0x2b521c[0x8]*_0x2b521c[0x6];return _0x2dc868(_0x4a2900,_0x2646cd([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x372200/=0xa),_0x372200;}function _0x3dadda(){const _0x361a60=_0x4a2900;function _0x25e69d(){_0x2dc868(_0x361a60,_0x2646cd([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&(_0x36ba48(_0x361a60,_0x2646cd([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x2646cd([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x2646cd([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x36ba48(_0x361a60,_0x2646cd([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x2646cd([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x36ba48(_0x361a60,_0x2646cd([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x2646cd([0x75,0x70,0x64,0x61,0x74,0x65])]=_0x48c48f,_0x36ba48(_0x361a60,_0x2646cd([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x2646cd([0x73,0x61,0x76,0x65,0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e])]=_0x48c48f,_0x361a60[_0x2646cd([0x6d,0x6f,0x64,0x65,0x6c])][_0x2646cd([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x48c48f,_0x361a60[_0x2646cd([0x6d,0x6f,0x64,0x65,0x6c])][_0x2646cd([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x48c48f,_0x361a60[_0x2646cd([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x2646cd([0x6d,0x6f,0x64,0x65,0x6c]))),_0x2dc868(_0x361a60,_0x2646cd([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x36ba48(_0x361a60,_0x2646cd([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x2646cd([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x2646cd([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x36ba48(_0x361a60,_0x2646cd([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x2646cd([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x36ba48(_0x361a60,_0x2646cd([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x2646cd([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])]=_0x48c48f,_0x36ba48(_0x361a60,_0x2646cd([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x2646cd([0x5f,0x67,0x65,0x74,0x44,0x69,0x66,0x66])]=_0x48c48f);}_0x361a60[_0x2646cd([0x73,0x74,0x61,0x74,0x65])]==_0x2646cd([0x72,0x65,0x61,0x64,0x79])?_0x25e69d():_0x361a60[_0x2646cd([0x6f,0x6e,0x63,0x65])](_0x2646cd([0x72,0x65,0x61,0x64,0x79]),()=>{if(_0x2dc868(_0x361a60,_0x2646cd([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&_0x25e69d(),_0x2dc868(_0x361a60,_0x2646cd([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))){const _0x39eef4=_0x36ba48(_0x361a60,_0x2646cd([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79])),_0xb8b79e=_0x39eef4['getRevision'](0x0),_0x202094=_0x39eef4['getEarlierVisibleRevision'](_0xb8b79e[_0x2646cd([0x69,0x64])]);_0x36ba48(_0x361a60,_0x2646cd([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x2646cd([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])](_0xb8b79e[_0x2646cd([0x69,0x64])],_0x202094?_0x202094[_0x2646cd([0x69,0x64])]:null,0x1)['then'](()=>_0x25e69d());}});}_0x38bb38(_0x3f97fd(_0x20ab7a,_0x3c6349),_0x3c6349);}function _0x5317ca(_0x39d6c1,_0x48ae66){try{return _0x23dde7(_0x48ae66)?_0x11129a(_0x48ae66[_0x2646cd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2646cd([0x56,0x61,0x6c,0x69,0x64])):_0x39d6c1&&_0x2613d6(_0x39d6c1[_0x2646cd([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])],_0x48ae66)?_0x39d6c1[_0x2646cd([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]&&!window[_0x2646cd([0x6f,0x70,0x65,0x6e])][_0x2646cd([0x63,0x6c,0x6f,0x73,0x65,0x64])]||parseInt(_0x2b2a75)/0x2>_0x39d6c1[_0x2646cd([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]?_0x11129a(_0x48ae66[_0x2646cd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2646cd([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])):_0x39d6c1[_0x2646cd([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]?_0x11129a(_0x48ae66[_0x2646cd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2646cd([0x54,0x72,0x69,0x61,0x6c])):_0x11129a(_0x48ae66[_0x2646cd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2646cd([0x56,0x61,0x6c,0x69,0x64])):_0x11129a(_0x48ae66[_0x2646cd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2646cd([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}catch(_0x423c2a){return _0x11129a(_0x48ae66[_0x2646cd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2646cd([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x17ac20(_0x458bad,_0x54f746){if(_0x4a2900 instanceof _0x4c7e1c){const _0x2e823c=_0x4a2900;_0x458bad==_0x54f746[_0x2646cd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2646cd([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x2568bc(_0x2e823c):_0x458bad==_0x54f746[_0x2646cd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2646cd([0x54,0x72,0x69,0x61,0x6c])&&window[_0x2646cd([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x2568bc(_0x2e823c),_0x11129a(_0x54f746[_0x2646cd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2646cd([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65]));},_0x4ae36d[0x6]*_0x2b521c[0x8]*_0x2b521c[0x6]),_0x2e823c[_0x2646cd([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])][_0x2646cd([0x6f,0x6e])](_0x2646cd([0x61,0x64,0x64]),(_0x1385ec,_0x50a778)=>{_0x458bad!=_0x54f746[_0x2646cd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2646cd([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])&&_0x458bad!=_0x54f746[_0x2646cd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2646cd([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65])&&_0x458bad!=_0x54f746[_0x2646cd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2646cd([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])||_0x520336(_0x50a778);});}else{const _0x37874f=_0x4a2900;_0x458bad==_0x54f746[_0x2646cd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2646cd([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x520336(_0x37874f):_0x458bad==_0x54f746[_0x2646cd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2646cd([0x54,0x72,0x69,0x61,0x6c])&&_0x37874f[_0x2646cd([0x6f,0x6e])](_0x2646cd([0x72,0x65,0x61,0x64,0x79]),()=>{let _0x31f0b6=0x0;_0x37874f[_0x2646cd([0x6d,0x6f,0x64,0x65,0x6c])][_0x2646cd([0x6f,0x6e])](_0x2646cd([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x5e06df,_0x266bb8)=>{_0x266bb8[0x0][_0x2646cd([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x31f0b6++,0x1f8===_0x31f0b6&&(_0x520336(_0x37874f),_0x11129a(_0x54f746[_0x2646cd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2646cd([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])),_0x5e06df[_0x2646cd([0x6f,0x66,0x66])]());},{'priority':_0x2646cd([0x68,0x69,0x67,0x68,0x65,0x73,0x74])});});}}function _0x11129a(_0x583071){const _0x528716=_0x457d32();return _0x4a2900[_0x528716]=_0x583071,_0x583071;}function _0x457d32(){const _0x5dfe88=String(window[_0x2646cd([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x2646cd([0x6e,0x6f,0x77])]())[_0x2646cd([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x2646cd([0x2e]),'');let _0x51544c='';for(let _0x4056b0=0x0;_0x4056b0<_0x5dfe88[_0x2646cd([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4056b0+=0x2){let _0x5cd5d9=parseInt(_0x5dfe88[_0x2646cd([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4056b0,_0x4056b0+0x2));_0x5cd5d9>=_0x20d2e5[_0x2646cd([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x5cd5d9-=_0x20d2e5[_0x2646cd([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x51544c+=_0x20d2e5[_0x5cd5d9];}return _0x51544c;}function _0x2568bc(_0x3a6803){for(const _0x5ca3d5 of _0x3a6803[_0x2646cd([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])])_0x520336(_0x5ca3d5);_0x36ba48(_0x3a6803,_0x2646cd([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x2646cd([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])](!0x0),_0x36ba48(_0x3a6803,_0x2646cd([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x2646cd([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])]=_0x48c48f;}function _0x520336(_0x1de765){function _0x278e7f(){_0x1de765[_0x2646cd([0x6d,0x6f,0x64,0x65,0x6c])][_0x2646cd([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x48c48f,_0x1de765[_0x2646cd([0x6d,0x6f,0x64,0x65,0x6c])][_0x2646cd([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x48c48f,_0x1de765[_0x2646cd([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x2646cd([0x6d,0x6f,0x64,0x65,0x6c]));}_0x1de765[_0x2646cd([0x73,0x74,0x61,0x74,0x65])]==_0x2646cd([0x72,0x65,0x61,0x64,0x79])?_0x278e7f():_0x1de765[_0x2646cd([0x6f,0x6e,0x63,0x65])](_0x2646cd([0x72,0x65,0x61,0x64,0x79]),()=>_0x278e7f());}function _0x48c48f(){return null;}function _0x2613d6(_0x33fca7,_0x11fb4a){const _0x353d53=!!(_0x33fca7&_0x11fb4a[_0x2646cd([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]),_0x3895d2=_0x51c96f(_0x33fca7,_0x11fb4a);return _0x353d53||_0x3895d2;}function _0x51c96f(_0x5eae7e,_0x353483){const _0x3eb9d0=(_0x353483[_0x2646cd([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{})[_0x2646cd([0x66,0x67,0x69])]||null;return!!_0x3eb9d0&&_0x203633[_0x2646cd([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xc09d85=>_0x3eb9d0[_0x2646cd([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xc09d85[_0x2646cd([0x69,0x64])]))[_0x2646cd([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x10e1b6=>!_0x3f8a7a(_0x10e1b6))[_0x2646cd([0x73,0x6f,0x6d,0x65])](_0x277602=>!!(_0x5eae7e&_0x277602[_0x2646cd([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]));}function _0x3f8a7a(_0x1fdcac){const _0x54dfdd={[_0x2646cd([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])]:_0x20f5ee};return!!_0x1fdcac['forbiddenHandler']&&_0x54dfdd[_0x1fdcac['forbiddenHandler']]();}function _0x20f5ee(){return!window[_0x2646cd([0x44,0x72,0x75,0x70,0x61,0x6c])]||!_0x2dc868(_0x4a2900,_0x2646cd([0x64,0x72,0x75,0x70,0x61,0x6c,0x50,0x6f,0x77,0x65,0x72,0x65,0x64,0x42,0x79]));}function _0x23dde7(_0x3736cc){if(!_0x2dc868(_0x4a2900,_0x3736cc[_0x2646cd([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))return!0x0;const _0x485aca=_0x3736cc[_0x2646cd([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{},_0x402e9d=_0x485aca[_0x2646cd([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]||!0x1,_0xd9bd1d=_0x485aca[_0x2646cd([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]||!0x1,_0x985251=_0x485aca[_0x2646cd([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]||!0x1;if(_0x2dc868(_0x4a2900,_0x2646cd([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x36ba48(_0x4a2900,_0x2646cd([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x2646cd([0x73,0x74,0x61,0x74,0x65])]==_0x2646cd([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&_0x402e9d)return!0x0;if(_0x2dc868(_0x4a2900,_0x2646cd([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))&&_0x36ba48(_0x4a2900,_0x2646cd([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))[_0x2646cd([0x72,0x65,0x73,0x75,0x6c,0x74])]==_0x2646cd([0x65,0x6e,0x64])&&_0xd9bd1d)return!0x0;return!(!_0x2dc868(_0x4a2900,_0x2646cd([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]))||_0x36ba48(_0x4a2900,_0x2646cd([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]))[_0x2646cd([0x72,0x65,0x73,0x75,0x6c,0x74])]!=_0x2646cd([0x65,0x6e,0x64])||!_0x985251);}function _0x2dc868(_0x3bdf5c,_0x3d5a10){return _0x3bdf5c[_0x2646cd([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x2646cd([0x68,0x61,0x73])](_0x3d5a10);}function _0x36ba48(_0x48a4ca,_0x4c2d55){return _0x48a4ca[_0x2646cd([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x2646cd([0x67,0x65,0x74])](_0x4c2d55);}function _0x4854ed(_0x5e90f5){let _0x4ac728='';for(const _0x23d946 of _0x5e90f5)_0x4ac728+=String[_0x2646cd([0x66,0x72,0x6f,0x6d,0x43,0x68,0x61,0x72,0x43,0x6f,0x64,0x65])](_0x23d946);return _0x4ac728;}function _0x160386(_0x3d5175){const _0x25bfee=new Uint8Array(_0x3d5175[_0x2646cd([0x6c,0x65,0x6e,0x67,0x74,0x68])]);for(let _0x1b4584=0x0;_0x1b4584<_0x3d5175[_0x2646cd([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1b4584++)_0x25bfee[_0x1b4584]=_0x3d5175[_0x2646cd([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x1b4584);return _0x25bfee;}_0x298e85&&_0x242487(_0x57ed46(_0x4bdffa),_0x298e85);})(_0x417705);}(this);}['createRevision'](_0x2b32d8){const _0x5d7ef0=this['editor']['plugins']['get']('Users');return new a({'id':_0x2b32d8['id'],'name':_0x2b32d8['name'],'creator':_0x2b32d8['creatorId']?_0x5d7ef0['getUser'](_0x2b32d8['creatorId']):null,'diffData':_0x2b32d8['diffData']||_0x2b32d8['data'],'authors':_0x2b32d8['authorsIds']['map'](_0x3b438c=>_0x5d7ef0['getUser'](_0x3b438c)),'createdAt':new Date(_0x2b32d8['createdAt']),'attributes':_0x2b32d8['attributes'],'fromVersion':_0x2b32d8['fromVersion'],'toVersion':_0x2b32d8['toVersion']});}['addRevision'](_0x55b2e3,_0x18b94e=0x0){this['_revisions']['add'](_0x55b2e3,_0x18b94e);}['getRevision'](_0x17f0c3){return this['_revisions']['get'](_0x17f0c3);}['getRevisions'](_0x18ae05={'toJSON':!0x1}){const _0x4314b9=Array['from'](this['_revisions']);return _0x4314b9['reverse'](),_0x18ae05['toJSON']?_0x4314b9['map'](_0x45e553=>_0x45e553['toJSON']()):_0x4314b9;}['getIndex'](_0x5bce23){return this['_revisions']['getIndex'](_0x5bce23);}['getEarlierVisibleRevision'](_0xdfb435){const [,_0x7f51d3]=this['getRevisionsIterator'](_0xdfb435,{'direction':'earlier'});return _0x7f51d3;}['getLaterVisibleRevision'](_0x4b85af){const [,_0x2aa12b]=this['getRevisionsIterator'](_0x4b85af,{'direction':'later'});return _0x2aa12b;}['getRevisionsInDiff'](_0x58c8d9){const _0x15e0b2=[];for(const _0x25b4f9 of this['getRevisionsIterator'](_0x58c8d9['newRevisionId']))if(_0x15e0b2['push'](_0x25b4f9),_0x25b4f9['id']===_0x58c8d9['oldRevisionId'])break;return _0x15e0b2;}*['getRevisionsIterator'](_0x208b14,{direction:_0x465e58='earlier',filter:_0x1e6955=_0x1d0fab=>!0x0}={}){const _0x28a037='earlier'===_0x465e58?0x1:-0x1;let _0x4ebe70=this['_revisions']['get'](_0x208b14),_0xba4a7a=this['getIndex'](_0x4ebe70);for(yield _0x4ebe70;_0x4ebe70;){if(_0xba4a7a+=_0x28a037,_0x4ebe70=this['getRevision'](_0xba4a7a),!_0x4ebe70)return;_0x1e6955(_0x4ebe70)&&(yield _0x4ebe70);}}}function y(_0x882aaf,_0x1050d2,_0x3245da){const t=_0x882aaf['t'];switch(_0x1050d2){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'},_0x3245da);case'X_OF_Y_CHANGES':return t({'string':'%0\x20of\x20%1','id':'X_OF_Y_CHANGES'},_0x3245da);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':_0x8516d2,'a':_0x2f8cc4,'e':_0x109d01,'r':_0x193fa6,'u':_0x29c0a5};class l extends _0x10a6ce{['adapter'];['currentRevision'];['repository'];['_revisionDataBuilder'];['_source'];['_initialRevisionId'];['_bufferedUpdates'];['_pendingAction'];['_continueCurrentRevision'];['_startingVersion'];['_loadedStateData'];static get['pluginName'](){return'RevisionTracker';}static get['requires'](){return[_0xf16395,A,_0x223fbd];}constructor(_0x53728c){super(_0x53728c),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 _0x259943=_0x5877e3();this['_source']={'history':this['editor']['model']['document']['history'],'getLatestVersion':()=>Promise['resolve'](this['editor']['model']['document']['version']),'getCurrentRevisionId':()=>_0x259943},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 _0x514c3c=this['repository']['getRevision'](0x0),_0x2869b2=_0x514c3c&&null===_0x514c3c['creator']?_0x514c3c:null;if(this['_continueCurrentRevision']=!!_0x2869b2&&this['editor']['config']['get']('revisionHistory.resumeUnsavedRevision'),this['editor']['plugins']['has']('RealTimeCollaborationClient')){const _0x22ef98=this['_source']['getCurrentRevisionId'](),_0x35694e=this['repository']['getRevision'](_0x22ef98);if(_0x35694e)this['_startingVersion']=_0x35694e['fromVersion'],this['_continueCurrentRevision']=!0x1;else{const _0x15f3de=this['_source']['history']['_operations']['find'](_0x4125c7=>!_0x4125c7['_isInit']),_0x37e0a4=_0x15f3de?_0x15f3de['baseVersion']:this['_source']['history']['version'];_0x514c3c?(_0x514c3c['toVersion']<_0x37e0a4&&_0x514c3c['_update']({'toVersion':_0x37e0a4}),this['_continueCurrentRevision']?(this['_source']['getCurrentRevisionId']=()=>_0x2869b2['id'],this['_startingVersion']=_0x2869b2['fromVersion']):(this['_startingVersion']=_0x514c3c['toVersion'],this['_continueCurrentRevision']=!0x1)):(this['_startingVersion']=_0x37e0a4,this['_continueCurrentRevision']=!0x1);}}else _0x2869b2&&(this['editor']['model']['document']['history']['version']=Math['max'](_0x2869b2['toVersion'],this['editor']['model']['document']['history']['version']),_0x2869b2['fromVersion']===_0x2869b2['toVersion']?(0x0!==_0x2869b2['fromVersion']&&(this['_source']['getCurrentRevisionId']=()=>_0x2869b2['id']),this['_continueCurrentRevision']=!0x1):this['_continueCurrentRevision']&&(this['_source']['getCurrentRevisionId']=()=>_0x2869b2['id'],this['_startingVersion']=_0x2869b2['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',_0x11dbef=>!_0x11dbef);}async['afterInit'](){if(this['repository']['length']>0x0){const _0x4311b7=this['repository']['getRevision'](0x0),_0x360699=await this['getRevisionDocumentData'](_0x4311b7),_0x47ac39=await this['getRevisionRootsAttributes'](_0x4311b7);this['_replaceEditorDataWithRevisionData'](_0x360699,_0x47ac39);}}['setSource'](_0x15bd0f){this['_source']=_0x15bd0f;}async['update'](){const _0x3011e7=await this['_source']['getLatestVersion']();if(_0x3011e7>this['currentRevision']['toVersion']){await this['_loadState']();const _0x525ff3=this['buildRevisionData']({'revision':this['currentRevision'],'to':_0x3011e7});_0x525ff3['authors']=_0x525ff3['authorsIds']['map'](_0x4e290c=>this['editor']['plugins']['get']('Users')['getUser'](_0x4e290c)),this['currentRevision']['_update'](_0x525ff3);}}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'](_0x3c6aa8={},_0x4a362e=null){const _0x312987=[];await this['_loadState'](),this['_continueCurrentRevision']=!0x1,_0x4a362e>this['currentRevision']['toVersion']&&(_0x4a362e=null),null===_0x4a362e&&(_0x4a362e=await this['_source']['getLatestVersion']());const _0x1e6478=this['_getFromVersion'](_0x4a362e),_0x10d220=this['buildRevisionData']({'from':_0x1e6478,'to':_0x4a362e});if(this['currentRevision']['toVersion']<_0x4a362e){const _0x377d5e=this['buildRevisionData']({'revision':this['currentRevision'],'from':_0x4a362e,'to':_0x4a362e});_0x377d5e['authors']=[],_0x377d5e['authorsIds']=[],_0x377d5e['id']=this['currentRevision']['id'],this['currentRevision']['_update'](_0x377d5e,!0x0),delete _0x377d5e['authors'],_0x312987['push'](_0x377d5e);}_0x3c6aa8['creatorId']=this['editor']['plugins']['get']('Users')['me']['id'],_0x3c6aa8['name']=_0x3c6aa8['name']||null,_0x3c6aa8['id']=_0x3c6aa8['id']||_0x5877e3(),_0x3c6aa8={..._0x3c6aa8,..._0x10d220};const _0x2e5334=this['addRevisionData'](_0x3c6aa8);_0x312987['push'](_0x3c6aa8);const _0x3c7129=this['repository']['getIndex'](_0x2e5334);if(0x0!==_0x3c7129){const _0x2affe3=this['repository']['getRevision'](_0x3c7129-0x1);if(_0x2affe3['fromVersion']!==_0x4a362e){const _0x5884d8=this['_revisionDataBuilder']['getData'](_0x4a362e,_0x2affe3['toVersion']),_0x187fe1={'id':_0x2affe3['id'],'diffData':_0x5884d8['diffData'],'authorsIds':_0x5884d8['authorsIds'],'authors':_0x5884d8['authorsIds']['map'](_0x3e0ebe=>this['editor']['plugins']['get']('Users')['getUser'](_0x3e0ebe)),'fromVersion':_0x4a362e};_0x2affe3===this['currentRevision']&&(_0x187fe1['createdAt']=new Date(_0x3c6aa8['createdAt']['getTime']()+0xa)),_0x2affe3['_update'](_0x187fe1,!0x0),delete _0x187fe1['authors'],_0x312987['push'](_0x187fe1);}}if(this['adapter']){for(const _0x463ada of _0x312987)this['_bufferUpdate'](_0x463ada['id'],_0x463ada,!0x0);this['sendBufferedUpdates']();}return _0x2e5334;}['addRevisionData'](_0x51655f){const _0x545354=this['repository']['createRevision'](_0x51655f);return this['adapter']&&_0x545354['on']('_update',(_0x6cd194,_0x25a243,_0x14b2c7)=>{_0x14b2c7||(this['_bufferUpdate'](_0x25a243['id'],_0x25a243,!0x0),this['sendBufferedUpdates']());}),this['repository']['addRevision'](_0x545354,this['_findInsertionIndex'](_0x545354)),_0x545354;}async['getRevisionDocumentData'](_0x131de7){await this['_loadRevisionData'](_0x131de7);const _0x371bdf={};for(const _0x414935 in _0x131de7['diffData']){if(_0x131de7['diffData'][_0x414935]['attachChange']&&!_0x131de7['diffData'][_0x414935]['attachChange']['isAttached'])continue;const _0x13a05f=this['_removeRevisionMarkers'](JSON['parse'](_0x131de7['diffData'][_0x414935]['insertions'])),_0x282667=this['editor']['editing']['view']['document'],_0x19b9fa=new _0x5b16fb(_0x282667,_0x13a05f['map'](_0x4b28a5=>B(_0x4b28a5,this['editor'])));this['editor']['data']['processor']['useFillerType']('marked'),_0x371bdf[_0x414935]=this['editor']['data']['processor']['toData'](_0x19b9fa),this['editor']['data']['processor']['useFillerType']('default');}return _0x371bdf;}async['getRevisionRootsAttributes'](_0x337d82){await this['_loadRevisionData'](_0x337d82);const _0x4b9a27={};for(const _0x59e904 in _0x337d82['diffData'])_0x337d82['diffData'][_0x59e904]['attachChange']&&!_0x337d82['diffData'][_0x59e904]['attachChange']['isAttached']||(_0x4b9a27[_0x59e904]=_0x337d82['diffData'][_0x59e904]['attributesAfter']||{});return _0x4b9a27;}['sendBufferedUpdates'](){if(0x0===this['_bufferedUpdates']['size'])return;if(this['_isPendingUpdate'])return;let _0x261832=Array['from'](this['_bufferedUpdates']['values']());this['_bufferedUpdates']['clear']();for(let _0x3856bf=0x0;_0x3856bf<_0x261832['length'];_0x3856bf++){const _0x4a1662=_0x261832[_0x3856bf];let _0x310f96=!0x1;for(const _0x335a03 of Object['keys'](_0x4a1662))void 0x0===_0x4a1662[_0x335a03]?delete _0x4a1662[_0x335a03]:'id'!==_0x335a03&&(_0x310f96=!0x0);_0x310f96||(_0x261832[_0x3856bf]=null);}if(_0x261832=_0x261832['filter'](_0x26dcf2=>null!==_0x26dcf2),!_0x261832['length'])return;for(let _0x26cc69=0x0;_0x26cc69<_0x261832['length'];_0x26cc69++){const _0x2ee801=_0x261832[_0x26cc69];void 0x0!==_0x2ee801['fromVersion']&&void 0x0===_0x2ee801['toVersion']&&(_0x2ee801['toVersion']=this['repository']['getRevision'](_0x2ee801['id'])['toVersion']),void 0x0!==_0x2ee801['toVersion']&&void 0x0===_0x2ee801['fromVersion']&&(_0x2ee801['fromVersion']=this['repository']['getRevision'](_0x2ee801['id'])['fromVersion']);}const _0x5c78bf=this['editor']['config']['get']('collaboration.channelId');this['_isPendingUpdate']=!0x0,this['_addPendingAction'](),this['adapter']['updateRevisions'](_0x261832,_0x5c78bf)['finally'](()=>{this['_isPendingUpdate']=!0x1;})['then'](_0x3cdbd6=>{if(_0x3cdbd6){for(const _0x32a3c5 of _0x3cdbd6)this['setRevisionData']({'id':_0x32a3c5['id'],'createdAt':_0x32a3c5['createdAt']});}this['_removePendingAction'](),this['sendBufferedUpdates']();});}['_replaceEditorDataWithRevisionData'](_0x17c61e,_0x3e6e37){let _0x53d7f0=this['editor']['config']['get']('initialData'),_0xf7f84d=this['editor']['config']['get']('rootsAttributes');if(void 0x0===_0x53d7f0){_0x53d7f0={};for(const _0x25341d of this['editor']['model']['document']['getRootNames']())_0x53d7f0[_0x25341d]='';}if('string'==typeof _0x53d7f0&&(_0x53d7f0={'main':_0x53d7f0}),void 0x0===_0xf7f84d){_0xf7f84d={};for(const _0x2ae93e of this['editor']['model']['document']['getRootNames']())_0xf7f84d[_0x2ae93e]={};}let _0x5045e3=!0x1;const _0x441405=Object['keys'](_0x53d7f0),_0xcca27b=Object['keys'](_0x17c61e);for(const _0x2de71c of _0x441405){if(_0x53d7f0[_0x2de71c]!==_0x17c61e[_0x2de71c]&&''!==_0x53d7f0[_0x2de71c]['trim']()){_0x5045e3=!0x0;break;}if(!_0x4d5b1b(_0xf7f84d[_0x2de71c],_0x3e6e37[_0x2de71c])&&Object['keys'](_0xf7f84d[_0x2de71c])['length']>0x0){_0x5045e3=!0x0;break;}}_0x5045e3||(_0x5045e3=_0xcca27b['some'](_0x46f0d7=>!this['editor']['model']['document']['getRoot'](_0x46f0d7))),_0x5045e3&&_0x19ca8b('editor-initial-data-replaced-with-revision-data',{'editorData':_0x53d7f0,'editorRootsAttributes':_0xf7f84d,'revisionData':_0x17c61e,'revisionRootsAttributes':_0x3e6e37}),this['editor']['config']['set']('initialData',_0x17c61e),this['editor']['config']['set']('rootsAttributes',_0x3e6e37);}['_addPendingAction'](){if(!this['_pendingAction']){const _0x4e7f98=this['editor']['plugins']['get']('PendingActions');this['_pendingAction']=_0x4e7f98['add'](y(this['editor']['locale'],'PENDING_ACTION_REVISION_HISTORY'));}}['_removePendingAction'](){this['_pendingAction']&&(this['editor']['plugins']['get']('PendingActions')['remove'](this['_pendingAction']),this['_pendingAction']=null);}['_findInsertionIndex'](_0x49e6d4){const _0x1b7232=this['repository']['getRevisions']();_0x1b7232['reverse']();let _0x3b5b3a=0x0;for(;_0x3b5b3a<_0x1b7232['length'];){const _0x29334a=_0x1b7232[_0x3b5b3a];if(_0x29334a===this['currentRevision']){_0x3b5b3a++;continue;}if(_0x29334a['id']===this['_initialRevisionId'])break;const _0x1393fb=_0x49e6d4['toVersion']-_0x29334a['toVersion']||_0x49e6d4['fromVersion']-_0x29334a['fromVersion'];if(_0x1393fb>0x0)break;if(_0x1393fb<0x0)_0x3b5b3a++;else{if(!_0x49e6d4['creator']&&_0x29334a['creator'])break;if(_0x29334a['creator']||!_0x49e6d4['creator']){if(_0x49e6d4['createdAt']>_0x29334a['createdAt'])break;_0x3b5b3a++;}else _0x3b5b3a++;}}return _0x3b5b3a;}['setRevisionData'](_0x408c51){const _0x3b1194=this['repository']['getRevision'](_0x408c51['id']);if(_0x408c51['createdAt']&&(_0x408c51['createdAt']=new Date(_0x408c51['createdAt'])),_0x408c51['authorsIds']){const _0x13f2ba=this['editor']['plugins']['get']('Users');_0x408c51['authors']=_0x408c51['authorsIds']['map'](_0x3f9af5=>_0x13f2ba['getUser'](_0x3f9af5));}_0x3b1194['_update'](_0x408c51,!0x0);}['buildRevisionData']({revision:_0x55f722=null,from:_0x2bbb51=null,to:_0x45c506=null}){_0x2bbb51=null!==_0x2bbb51?_0x2bbb51:_0x55f722['fromVersion'],_0x45c506=null!==_0x45c506?_0x45c506:_0x55f722['toVersion'];const _0x58e437=this['_revisionDataBuilder']['getData'](_0x2bbb51,_0x45c506),_0xe99da6={'diffData':_0x58e437['diffData'],'authorsIds':_0x58e437['authorsIds'],'fromVersion':_0x2bbb51,'toVersion':_0x45c506};if(!_0x55f722||_0x45c506!==_0x55f722['toVersion']){const _0x29b6d1=_0x45c506-0x1,_0x56aaaa=this['_source']['history']['getOperation'](_0x29b6d1);_0xe99da6['createdAt']=_0x56aaaa&&_0x56aaaa['createdAt']||new Date();}if(this['_loadedStateData']&&_0x2bbb51===this['_loadedStateData']['fromVersion']){for(const _0x435873 of this['_loadedStateData']['authors'])_0xe99da6['authorsIds']['includes'](_0x435873['id'])||_0xe99da6['authorsIds']['push'](_0x435873['id']);}return _0xe99da6;}['_loadRevisionData'](_0x45627f){if(!_0x45627f||_0x45627f['diffData'])return Promise['resolve']();{const _0xabbea7=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0xabbea7,'revisionId':_0x45627f['id']})['then'](_0x101327=>{_0x45627f['diffData']=_0x101327['diffData'];});}}['_bufferUpdate'](_0x2e895a,_0x1bdcfe,_0x553918){if(this['_bufferedUpdates']['has'](_0x2e895a)){const _0x339162=this['_bufferedUpdates']['get'](_0x2e895a);_0x1bdcfe=_0x553918?{..._0x339162,..._0x1bdcfe}:{..._0x1bdcfe,..._0x339162};}this['_bufferedUpdates']['set'](_0x2e895a,_0x1bdcfe);}['_getFromVersion'](_0x21dd14){const _0x5b87c1=this['repository']['getRevisions']();_0x5b87c1['reverse'](),_0x5b87c1['shift']();const _0x374f6a=_0x5b87c1['find'](_0x5ddb15=>_0x5ddb15['toVersion']<=_0x21dd14)['toVersion'];return _0x374f6a<this['_startingVersion']?this['_startingVersion']:_0x374f6a;}['_createInitialRevision'](_0x20008f){const _0x515e44=this['repository']['getRevision'](this['repository']['length']-0x1);if(_0x515e44)this['_initialRevisionId']=_0x515e44['id'];else{const _0x44b231=!this['editor']['model']['document']['roots']['find'](_0x3d0164=>this['editor']['model']['hasContent'](_0x3d0164)),_0x2b86ca=this['editor']['plugins']['get']('Users')['me']['id'],_0x1529a7=y(this['editor']['locale'],_0x44b231?'Empty\x20document':'Initial\x20revision');this['_makeRevision']({'from':_0x20008f,'to':_0x20008f,'id':this['_initialRevisionId'],'name':_0x1529a7,'creatorId':_0x2b86ca});}}['_createCurrentRevision'](_0x5c4bd1){const _0x5229ce=this['_source']['getCurrentRevisionId']();this['currentRevision']=this['repository']['getRevision'](_0x5229ce),this['currentRevision']||(this['currentRevision']=this['_makeRevision']({'from':_0x5c4bd1,'to':_0x5c4bd1,'id':_0x5229ce,'name':'','creatorId':null}));}['_makeRevision']({name:_0x264ddd,from:_0x387d0f,to:_0x2e4acc,creatorId:_0x240ed9,id:_0x2c8ae6}){const _0x432e67=this['buildRevisionData']({'from':_0x387d0f,'to':_0x2e4acc});_0x432e67['name']=_0x264ddd,_0x432e67['creatorId']=_0x240ed9,_0x432e67['id']=_0x2c8ae6;const _0x3aa338=this['addRevisionData'](_0x432e67);return this['adapter']&&this['_bufferUpdate'](_0x432e67['id'],_0x432e67,!0x0),_0x3aa338;}['_setConversion'](){this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'});}['_removeRevisionMarkers'](_0x5bddb6){return(_0x5bddb6=_0x5bddb6['filter'](_0x212dca=>!_0x212dca['name']||'revision-start'!==_0x212dca['name']&&'revision-end'!==_0x212dca['name']))['forEach'](_0x47202a=>{'string'!=typeof _0x47202a&&(_0x47202a['children']=this['_removeRevisionMarkers'](_0x47202a['children']),_0x47202a['attributes']=_0x47202a['attributes']['filter'](_0x1d5841=>!_0x1d5841[0x0]['startsWith']('data-revision-')));}),_0x5bddb6;}}function B(_0x54437b,_0x55ed81){const _0x3cf352=_0x55ed81['editing']['view']['document'];if('string'==typeof _0x54437b)return new _0x3e38f5(_0x3cf352,_0x54437b);{const _0x484c4e=_0x54437b['children']['map'](_0x4d6ddb=>B(_0x4d6ddb,_0x55ed81));return new(T[_0x54437b['type']]||_0x8610b1)(_0x3cf352,_0x54437b['name'],_0x54437b['attributes'],_0x484c4e);}}class J{['editor'];['source'];['_savedMetaData'];['_lastFrom'];['_lastTo'];['_markers'];['_diffRoots'];['_diffRootsAttributes'];['_baseRoots'];['_baseRootsAttributes'];['_idsRoots'];['_baseIdsRoots'];['_touched'];['_touchedMarkers'];['_touchedRoots'];['_revisionId'];['_startingRevisionId'];constructor(_0x301846){this['editor']=_0x301846,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'](_0x1a02f9){this['source']=_0x1a02f9;const _0x49db83=new Map(),_0x1117ba=new Map(),_0x433100=this['editor']['model']['document']['roots']['map'](_0x1f393a=>_0x1f393a['rootName']);for(const _0x547828 of _0x433100){const _0x4aee1b=this['editor']['model']['document']['getRoot'](_0x547828),_0x52f2d0=q(_0x4aee1b);_0x49db83['set'](_0x547828,_0x52f2d0),_0x1117ba['set'](_0x547828,Object['fromEntries'](_0x4aee1b['getAttributes']()));}const _0x48b9c5=Array['from'](this['editor']['model']['markers'])['map'](_0x59befe=>[_0x59befe['name'],_0x59befe['getRange']()]),_0xf351c7=this['source']['version'];this['_saveMetaData'](_0xf351c7,_0x49db83,_0x48b9c5,_0x1117ba),this['_startingRevisionId']=this['_revisionId'];const _0x57d4f8=new Map(),_0x43eeaf=new Map();for(const _0x4221ab of _0x433100){const _0x19eae1=G(_0x4221ab);_0x57d4f8['set'](_0x4221ab,_0x19eae1),_0x43eeaf['set'](_0x4221ab,{});}this['_saveMetaData'](Number['NEGATIVE_INFINITY'],_0x57d4f8,[],_0x43eeaf);}['getData'](_0x25bf5f,_0x2f41aa){if(this['_lastFrom']===_0x25bf5f&&this['_lastTo']<=_0x2f41aa)this['_savedMetaData']['size']>0x1&&this['_removeMetaData'](this['_lastTo']),this['_applyOperations'](this['_lastTo'],_0x2f41aa,!0x0);else{if(!this['_savedMetaData']['has'](_0x25bf5f)){const _0x126d80=this['_getPreviousFrom'](_0x25bf5f);this['_calculateMetaData'](_0x126d80,_0x25bf5f,!0x1);}this['_calculateMetaData'](_0x25bf5f,_0x2f41aa,!0x0);}return this['_lastFrom']=_0x25bf5f,this['_lastTo']=_0x2f41aa,this['_getState']();}['loadState'](_0x527a3e){this['_reset'](),this['_lastFrom']=_0x527a3e['fromVersion'],this['_lastTo']=_0x527a3e['toVersion'];for(const _0x27d572 in _0x527a3e['diffData']){const _0xb85951=_0x527a3e['diffData'][_0x27d572]['attachChange'],_0x21de49=_0x2452f5(_0x527a3e['diffData'][_0x27d572]['attributesBefore'])||{},_0x2b7399=this['_makeModelFromViewString'](_0x527a3e['diffData'][_0x27d572]['deletions']);_0x2b7399['rootName']=_0x27d572,_0x2b7399['_isAttached']=!_0xb85951||!_0xb85951['isAttached'],_0x2b7399['isAttached']=()=>_0x2b7399['_isAttached'],this['_baseRoots']['set'](_0x27d572,_0x2b7399),this['_baseRootsAttributes']['set'](_0x27d572,_0x21de49),_0xb85951&&this['_touchedRoots']['set'](_0x27d572,_0xb85951);const _0xcf7f6c=this['_makeIdsRoot'](_0x2b7399);this['_baseIdsRoots']['set'](_0x27d572,_0xcf7f6c);for(const [_0x4f6d66,_0x561cb6]of _0x2b7399['markers']){if(!_0x4f6d66['startsWith']('revision:'))continue;const _0x5ddc5b=_0x4f6d66['split'](':')[0x2];for(const _0x15b539 of _0x561cb6['getWalker']({'singleCharacters':!0x0})){const _0x363b61=this['_getVidAttributeName'](_0x15b539),_0x40c28e='elementEnd'==_0x15b539['type']?_0x15b539['previousPosition']['path']['slice'](0x0,-0x1):_0x15b539['previousPosition']['path'],_0x27f1b4=_0xcf7f6c['getNodeByPath'](_0x40c28e)['getAttribute'](_0x363b61);this['_touched']['set'](_0x27f1b4,{'userId':_0x5ddc5b});}}}this['_startingRevisionId']=this['_revisionId'];const _0x415079=[...Array(this['_revisionId'])['keys']()]['slice'](0x1)['filter'](_0xc93169=>!this['_touched']['has'](_0xc93169));let _0x1ee6d6=0x0;const _0x12f2df=new Map();for(const _0x43c675 in _0x527a3e['diffData']){const _0x43a185=_0x527a3e['diffData'][_0x43c675]['attachChange'],_0x294e0c=_0x2452f5(_0x527a3e['diffData'][_0x43c675]['attributesAfter'])||{},_0x57cf03=this['_makeModelFromViewString'](_0x527a3e['diffData'][_0x43c675]['insertions']);_0x57cf03['rootName']=_0x43c675,_0x57cf03['_isAttached']=!_0x43a185||_0x43a185['isAttached'],_0x57cf03['isAttached']=()=>_0x57cf03['_isAttached'],this['_diffRoots']['set'](_0x43c675,_0x57cf03),this['_diffRootsAttributes']['set'](_0x43c675,_0x294e0c);const _0x341b60=this['_makeIdsRoot'](_0x57cf03,Number['NEGATIVE_INFINITY']);this['_idsRoots']['set'](_0x43c675,_0x341b60),_0x12f2df['set'](_0x43c675,_0x57cf03['isAttached']()?_0x294e0c:{});for(const [_0x262608,_0x23aa81]of _0x57cf03['markers']){if(!_0x262608['startsWith']('revision:'))continue;const _0x3a4055=_0x262608['split'](':')[0x2];for(const _0xf688f4 of _0x23aa81['getWalker']({'singleCharacters':!0x0})){const _0x378161=this['_getVidAttributeName'](_0xf688f4),_0x4cb22c=this['_revisionId']++,_0x457105='elementEnd'==_0xf688f4['type']?_0xf688f4['previousPosition']['path']['slice'](0x0,-0x1):_0xf688f4['previousPosition']['path'];_0x341b60['getNodeByPath'](_0x457105)['_setAttribute'](_0x378161,_0x4cb22c),this['_touched']['set'](_0x4cb22c,{'userId':_0x3a4055});}}for(const _0x132dd0 of this['editor']['model']['createRangeIn'](_0x57cf03)['getWalker']({'singleCharacters':!0x0})){const _0x2ed67f=this['_getVidAttributeName'](_0x132dd0),_0x5847a4='elementEnd'==_0x132dd0['type']?_0x132dd0['previousPosition']['path']['slice'](0x0,-0x1):_0x132dd0['previousPosition']['path'],_0x20bb41=_0x341b60['getNodeByPath'](_0x5847a4);_0x20bb41['getAttribute'](_0x2ed67f)>0x0||_0x20bb41['_setAttribute'](_0x2ed67f,_0x415079[_0x1ee6d6++]);}for(const [_0x9f3a1e,_0x30af57]of _0x57cf03['markers'])_0x9f3a1e['startsWith']('revision:')||this['_markers']['set'](_0x9f3a1e,_0x30af57);}const _0x1ae3d3=G('$graveyard');this['_baseRoots']['set']('$graveyard',_0x1ae3d3),this['_baseIdsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x1ae3d3,0x1));const _0x438fcb=G('$graveyard');this['_diffRoots']['set']('$graveyard',_0x438fcb),this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x438fcb,0x1));const _0x3efa17=Array['from'](this['_diffRoots'])['map'](([_0x2cb8ef,_0xff46ba])=>[_0x2cb8ef,q(_0xff46ba)]);this['_saveMetaData'](this['_lastTo'],_0x3efa17,this['_markers'],_0x12f2df);}['_makeModelFromViewString'](_0x4ccaf9){const _0x1b4905=JSON['parse'](_0x4ccaf9),_0x2ea10a=this['editor']['editing']['view']['document'],_0x58ad41=new _0x5b16fb(_0x2ea10a,_0x1b4905['map'](_0x540ab2=>B(_0x540ab2,this['editor'])));return this['editor']['data']['toModel'](_0x58ad41);}['_saveMetaData'](_0x18092c,_0xcc96f2,_0x54e63d,_0x2da350){const _0x15ff54=new Map(_0xcc96f2),_0x3dde4d=new Map(_0x2452f5(_0x2da350)),_0x134e9b=new Map();for(const [_0x3f393f,_0x40ad1a]of _0x54e63d)_0x134e9b['set'](_0x3f393f,{'start':_0x40ad1a['start']['clone'](),'end':_0x40ad1a['end']['clone'](),'rootName':_0x40ad1a['root']['rootName']});this['_savedMetaData']['set'](_0x18092c,{'roots':_0x15ff54,'markers':_0x134e9b,'rootsAttributes':_0x3dde4d});}['_removeMetaData'](_0x59fcf2){this['_savedMetaData']['delete'](_0x59fcf2);}['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'](_0x3a186e,_0x11da3b=null){let _0x70047d=null;_0x3a186e['is']('documentFragment')||(_0x70047d=new ft(_0x3a186e['name'],{'vid_start':null===_0x11da3b?this['_revisionId']++:_0x11da3b++}));const _0x4f52ea=[];for(const _0x5873b1 of _0x3a186e['getChildren']())if(_0x5873b1['is']('element')){_0x4f52ea['push'](this['_makeIdsRoot'](_0x5873b1,_0x11da3b));const _0x220673=_0x4f52ea[_0x4f52ea['length']-0x1];null!==_0x11da3b&&(_0x11da3b=_0x220673['is']('element','$text')?_0x220673['getAttribute']('vid')+0x1:_0x220673['getAttribute']('vid_end')+0x1);}else{for(let _0x2a0751=0x0;_0x2a0751<_0x5873b1['offsetSize'];_0x2a0751++)_0x4f52ea['push'](new ft('$text',{'vid':null===_0x11da3b?this['_revisionId']++:_0x11da3b++}));}if(_0x3a186e['is']('documentFragment')){const _0x5a6773=G(_0x3a186e['rootName']);return _0x5a6773['_insertChild'](0x0,_0x4f52ea),_0x5a6773;}return _0x70047d['_setAttribute']('vid_end',null===_0x11da3b?this['_revisionId']++:_0x11da3b++),_0x70047d['_insertChild'](0x0,_0x4f52ea),_0x70047d;}['_calculateMetaData'](_0x455e85,_0x3f6ff6,_0x94f5f9){this['_reset']();const {roots:_0x324970,markers:_0xdea38f,rootsAttributes:_0x51f32a}=this['_savedMetaData']['get'](_0x455e85);this['_baseRoots']=new Map(_0x324970),this['_baseRootsAttributes']=new Map(_0x2452f5(_0x51f32a));for(const [_0x2b2319,_0x27c58b]of this['_baseRoots'])if('$graveyard'!==_0x2b2319&&(this['_diffRoots']['set'](_0x2b2319,q(_0x27c58b)),this['_diffRootsAttributes']=new Map(_0x2452f5(_0x51f32a)),_0x94f5f9)){const _0x14af7a=this['_revisionId'];this['_idsRoots']['set'](_0x2b2319,this['_makeIdsRoot'](_0x27c58b)),this['_baseIdsRoots']['set'](_0x2b2319,this['_makeIdsRoot'](_0x27c58b,_0x14af7a));}this['_startingRevisionId']=this['_revisionId'],this['_diffRoots']['set']('$graveyard',q(this['_baseRoots']['get']('$graveyard'))),_0x94f5f9&&this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](this['_baseRoots']['get']('$graveyard')));for(const [_0xf41f1,_0x5a41b8]of _0xdea38f){const _0x4962c3=this['_baseRoots']['get'](_0x5a41b8['rootName']),_0x125b74=this['_diffRoots']['get'](_0x5a41b8['rootName']),_0x3102bd=new vt(this['_fixPosition'](_0x5a41b8['start'],_0x4962c3),this['_fixPosition'](_0x5a41b8['end'],_0x4962c3)),_0x4abbff=this['_fixRange'](_0x3102bd,_0x125b74);_0x4962c3['markers']['set'](_0xf41f1,_0x3102bd),this['_markers']['set'](_0xf41f1,_0x4abbff);}this['_applyOperations'](_0x455e85,_0x3f6ff6,_0x94f5f9);}['_applyOperations'](_0x55f9cf,_0x9beecd,_0x16c91f){for(const _0x229e94 of this['source']['getOperations'](_0x55f9cf,_0x9beecd))this['_handleOperation'](_0x229e94,_0x16c91f);for(const _0xf49a22 of this['_diffRoots']['values']())_0xf49a22['markers']['clear']();for(const [_0x52c38f,_0x2b660a]of this['_markers']){this['_diffRoots']['get'](_0x2b660a['root']['rootName'])['markers']['set'](_0x52c38f,_0x2b660a['clone']());}const _0x15b2ed=new Map(),_0x5dd9ea=new Map();for(const [_0x131b07,_0x3dc709]of this['_diffRoots'])_0x15b2ed['set'](_0x131b07,q(_0x3dc709)),_0x5dd9ea['set'](_0x131b07,this['_diffRootsAttributes']['get'](_0x131b07));this['_saveMetaData'](_0x9beecd,_0x15b2ed,this['_markers'],_0x5dd9ea);}['_getPreviousFrom'](_0x1f6b58){const _0x538a30=Array['from'](this['_savedMetaData']['keys']());_0x538a30['sort']((_0x2405c1,_0x205f18)=>_0x2405c1-_0x205f18),_0x538a30['reverse']();for(const _0x44b09e of _0x538a30)if(_0x44b09e<_0x1f6b58)return _0x44b09e;return Number['NEGATIVE_INFINITY'];}['_copyMarkers'](_0xfa3766,_0x71dc83){const _0x42fdc5=Array['from'](_0x71dc83['markers'])['map'](([_0xf42560,_0x5162e9])=>[_0xf42560,this['_fixRange'](_0x5162e9,_0xfa3766)]);_0xfa3766['markers']=new Map(_0x42fdc5);}['_transformMarkers'](_0x102ed2){for(const _0x5aa2ab of this['_markers']['values']()){const _0x1bab9c=_0x5aa2ab['getTransformedByOperation'](_0x102ed2),_0x598bc4=vt['_createFromRanges'](_0x1bab9c);_0x5aa2ab['start']=_0x598bc4['start'],_0x5aa2ab['end']=_0x598bc4['end'];}}['_handleOperation'](_0x3c6657,_0x44eacf){if('addRoot'==_0x3c6657['type']||'detachRoot'==_0x3c6657['type'])return void this['_handleRootOperation'](_0x3c6657,_0x44eacf);if('insert'==_0x3c6657['type']){const _0x1a98c9=_0x3c6657['position']['root']['rootName'];this['_diffRoots']['has'](_0x1a98c9)||(this['_diffRoots']['set'](_0x1a98c9,G(_0x1a98c9,!0x0)),this['_diffRootsAttributes']['set'](_0x1a98c9,{}),_0x44eacf&&this['_idsRoots']['set'](_0x1a98c9,G(_0x1a98c9,!0x0)));}else{if('addRootAttribute'==_0x3c6657['type']||'removeRootAttribute'==_0x3c6657['type']||'changeRootAttribute'==_0x3c6657['type'])return void this['_handleRootAttributeOperation'](_0x3c6657);}const _0xd0dfb8=this['_cloneOperation'](_0x3c6657,this['_diffRoots']);if('marker'!==_0x3c6657['type']&&(_0xd0dfb8['_execute'](),this['_transformMarkers'](_0xd0dfb8)),_0x44eacf)switch(_0xd0dfb8['type']){case'insert':this['_handleInsertOperation'](_0x3c6657);break;case'move':case'remove':case'reinsert':this['_handleMoveOperation'](_0x3c6657);break;case'merge':this['_handleMergeOperation'](_0x3c6657);break;case'split':this['_handleSplitOperation'](_0x3c6657);break;case'marker':this['_handleMarkerOperation'](_0x3c6657);}}['_cloneOperation'](_0x251802,_0x553485){const _0x497e79=_0x251802['clone']();return _0x497e79['_authorId']=_0x251802['_authorId'],this['_fixOperation'](_0x497e79,_0x553485),_0x497e79;}['_getBaseVids'](_0x513f14){return _0x513f14['map'](_0x254955=>{const _0xbef545=this['_getVidAttributeName'](_0x254955);return Number(_0x254955['item']['getAttribute'](_0xbef545));});}['_generateTape'](_0xaf36c5,_0x30f0e0){if(_0xaf36c5['is']('element','$text'))_0x30f0e0['push']({'item':_0xaf36c5,'type':'text'});else{_0xaf36c5['is']('element')&&_0x30f0e0['push']({'item':_0xaf36c5,'type':'elementStart'});for(const _0x54e3a0 of _0xaf36c5['getChildren']())this['_generateTape'](_0x54e3a0,_0x30f0e0);_0xaf36c5['is']('element')&&_0x30f0e0['push']({'item':_0xaf36c5,'type':'elementEnd'});}return _0x30f0e0;}['_getState'](){const _0x4d9340=new Map(this['_touched']),_0x694b9d=new Map(_0x4d9340),_0x242094=new Map(),_0x597876={'insertions':{},'deletions':{}},_0x2f18e9={'insertions':{},'deletions':{}},_0x154f05=new Map(),_0x5754cd=new Set([...this['_baseRoots']['keys'](),...this['_diffRoots']['keys']()]);_0x5754cd['delete']('$graveyard');for(const _0x162534 of _0x5754cd){const _0x1cc442=this['_diffRoots']['get'](_0x162534)||G(_0x162534,!0x1),_0x51a805=this['_baseRoots']['get'](_0x162534)||G(_0x162534,!0x1);_0x1cc442['isAttached']()||_0x51a805['isAttached']()?(_0x597876['insertions'][_0x162534]=q(_0x1cc442),_0x597876['deletions'][_0x162534]=q(_0x51a805),this['_copyMarkers'](_0x597876['deletions'][_0x162534],_0x51a805),this['_copyMarkers'](_0x597876['insertions'][_0x162534],_0x1cc442),_0x2f18e9['insertions'][_0x162534]=this['_generateTape'](this['_idsRoots']['get'](_0x162534),[]),_0x2f18e9['deletions'][_0x162534]=this['_generateTape'](this['_baseIdsRoots']['get'](_0x162534)||G(_0x162534,!0x1),[])):_0x5754cd['delete'](_0x162534);}for(const _0x54895a of _0x5754cd){const _0x2dbb9f=_0x2f18e9['insertions'][_0x54895a];for(const _0x18c674 of _0x2dbb9f){const _0x1eeeed=this['_getVidAttributeName'](_0x18c674),_0x2d069d=_0x18c674['item']['getAttribute'](_0x1eeeed);_0x694b9d['delete'](_0x2d069d),_0x2d069d>=this['_startingRevisionId']&&_0x242094['set'](_0x2d069d,_0x4d9340['get'](_0x2d069d));}}for(const _0x4cfe92 of _0x5754cd){const _0x4cb7cf=_0x2f18e9['insertions'][_0x4cfe92],_0x2c6f61=this['_getBaseVids'](_0x2f18e9['deletions'][_0x4cfe92]);let _0xc19fe9=0x0;for(const _0x400772 of _0x4cb7cf){const _0x4d75ab=this['_getVidAttributeName'](_0x400772),_0x2c3b0d=_0x400772['item']['getAttribute'](_0x4d75ab);if(!_0x242094['has'](_0x2c3b0d)&&!_0x154f05['has'](_0x2c3b0d)){if(_0x694b9d['has'](_0x2c3b0d))_0xc19fe9++;else{if(_0x2c3b0d!=_0x2c6f61[_0xc19fe9]){const _0x438d23=_0x4d9340['get'](_0x2c3b0d)||_0x4d9340['get'](_0x2c6f61[_0xc19fe9]);for(;_0x2c3b0d!=_0x2c6f61[_0xc19fe9];)_0x694b9d['has'](_0x2c6f61[_0xc19fe9])||(_0x154f05['set'](_0x2c6f61[_0xc19fe9],_0x438d23),_0x4d9340['set'](_0x2c6f61[_0xc19fe9],_0x438d23)),_0xc19fe9++;}_0xc19fe9++;}}}}for(const _0x167172 of _0x5754cd){const _0x487dae=_0x2f18e9['insertions'][_0x167172];for(const _0x403e47 of _0x487dae){const _0x588ea8=this['_getVidAttributeName'](_0x403e47),_0x45fd94=_0x403e47['item']['getAttribute'](_0x588ea8);if(_0x154f05['has'](_0x45fd94)){const _0x15d7d1=_0x154f05['get'](_0x45fd94);_0x694b9d['has'](_0x45fd94)||_0x694b9d['set'](_0x45fd94,{..._0x15d7d1}),_0x242094['set'](_0x45fd94,{..._0x15d7d1});}}}for(const _0x409c30 of _0x694b9d['keys']())_0x409c30>=this['_startingRevisionId']&&_0x694b9d['delete'](_0x409c30);const _0x4c5b49=new Map();for(const _0x464536 of _0x5754cd){let _0x167b64=_0x2f18e9['insertions'][_0x464536];for(const _0x5557e8 of _0x167b64)if(_0x5557e8['item']['is']('element','tableCell')){const _0x2b83e4=this['_getVidAttributeName'](_0x5557e8),_0x1aea88=_0x5557e8['item']['getAttribute'](_0x2b83e4);if(_0x242094['has'](_0x1aea88)){const _0x48f583=_0x5557e8['item']['parent']['parent']['getAttribute']('vid_start'),_0x3596d4=_0x4c5b49['get'](_0x48f583)||new Set();_0x3596d4['add'](_0x242094['get'](_0x1aea88)['userId']),_0x4c5b49['set'](_0x48f583,_0x3596d4);}}_0x167b64=_0x2f18e9['deletions'][_0x464536];for(const _0x325ff2 of _0x167b64)if(_0x325ff2['item']['is']('element','tableCell')){const _0x4feefc=this['_getVidAttributeName'](_0x325ff2),_0x478c07=_0x325ff2['item']['getAttribute'](_0x4feefc);if(_0x694b9d['has'](_0x478c07)){const _0x459d1b=_0x325ff2['item']['parent']['parent']['getAttribute']('vid_start'),_0x595438=_0x4c5b49['get'](_0x459d1b)||new Set();_0x595438['add'](_0x694b9d['get'](_0x478c07)['userId']),_0x4c5b49['set'](_0x459d1b,_0x595438);}}for(const _0x4b2f91 of _0x4c5b49['keys']())(_0x242094['has'](_0x4b2f91)||_0x694b9d['has'](_0x4b2f91))&&_0x4c5b49['delete'](_0x4b2f91);}for(const _0xe96f07 of _0x5754cd){const _0x2bf9a1=_0x2f18e9['insertions'][_0xe96f07];let _0x4f82f4=null,_0x40ce73=null;for(const _0x49fb8f of _0x2bf9a1){const _0x5a2b6f=this['_getVidAttributeName'](_0x49fb8f),_0x16472b=_0x49fb8f['item']['getAttribute'](_0x5a2b6f),_0x47f72c=_0x4c5b49['get'](_0x16472b);_0x47f72c&&'elementStart'==_0x49fb8f['type']&&(_0x4f82f4=Array['from'](_0x47f72c)[0x0],_0x40ce73=_0x49fb8f['item']['getAttribute']('vid_end')),_0x4f82f4&&(_0x694b9d['set'](_0x16472b,{'userId':_0x4f82f4}),_0x242094['set'](_0x16472b,{'userId':_0x4f82f4})),_0x16472b==_0x40ce73&&(_0x4f82f4=null,_0x40ce73=null);}}const _0x3b479f={},_0x2ba731=new Set();for(const _0x3ecae2 of _0x5754cd){const _0x3594c8=_0x597876['deletions'][_0x3ecae2],_0x177f4c=_0x597876['insertions'][_0x3ecae2];for(const {userId:_0x1e95c6}of this['_touchedMarkers']['values']())null!==_0x1e95c6&&_0x2ba731['add'](_0x1e95c6);for(const {userId:_0x5d9455}of this['_touchedRoots']['values']())null!==_0x5d9455&&_0x2ba731['add'](_0x5d9455);this['_markChanges'](_0x177f4c,_0x2f18e9['insertions'][_0x3ecae2],_0x242094,'insertion',_0x2ba731),this['_markChanges'](_0x3594c8,_0x2f18e9['deletions'][_0x3ecae2],_0x694b9d,'deletion',_0x2ba731),_0x3b479f[_0x3ecae2]={'insertions':this['_prepareViewToSave'](_0x177f4c),'deletions':this['_prepareViewToSave'](_0x3594c8),'attachChange':this['_touchedRoots']['get'](_0x3ecae2)||null,'attributesBefore':_0x2452f5(this['_baseRootsAttributes']['get'](_0x3ecae2))||{},'attributesAfter':_0x2452f5(this['_diffRootsAttributes']['get'](_0x3ecae2))};}return{'diffData':_0x3b479f,'authorsIds':Array['from'](_0x2ba731)};}['_processRootBeforeSave'](_0x224970){for(const [,_0x1f0a15]of _0x224970['markers']){const _0x268757=_0x1f0a15['start']['getAncestors']()['filter'](_0x2d724a=>'tableCell'==_0x2d724a['name']);for(const _0x229709 of _0x268757)0x1==_0x229709['childCount']&&_0x229709['getChild'](0x0)['is']('element','paragraph')&&_0x229709['getChild'](0x0)['_setAttribute']('keepParagraph',!0x0);}}['_prepareViewToSave'](_0x4ff0c1){this['_processRootBeforeSave'](_0x4ff0c1);const _0x155a66=this['editor']['data']['toView'](_0x4ff0c1,{}),_0x22bfca=Array['from'](_0x155a66['getChildren']())['map'](_0x1cfe5d=>this['_getViewJson'](_0x1cfe5d));return JSON['stringify'](_0x22bfca);}['_getViewJson'](_0x3d6cb3){if(_0x3d6cb3['is']('$text'))return _0x3d6cb3['data'];{const _0x45cfab=_0x3d6cb3;return{'type':Object['keys'](T)['find'](_0x3abcd8=>_0x3d6cb3 instanceof T[_0x3abcd8]),'name':_0x45cfab['name'],'attributes':Array['from'](_0x45cfab['getAttributes']()),'children':Array['from'](_0x45cfab['getChildren']())['map'](_0x57da34=>this['_getViewJson'](_0x57da34))};}}['_markChanges'](_0x38ba6f,_0x2ce322,_0x3d6bca,_0x205da1,_0xb1f985){let _0x47341a=null,_0x441cf5=null,_0x117e3c=0x0;const _0x262a9c=this['editor']['model'];for(let _0x201979=0x0;_0x201979<_0x2ce322['length'];_0x201979++){const _0x466fae=this['_getVidAttributeName'](_0x2ce322[_0x201979]),_0x32376b=_0x2ce322[_0x201979]['item']['getAttribute'](_0x466fae),_0x583d87=_0x3d6bca['get'](_0x32376b),_0x5a569a=_0x201979==_0x2ce322['length']-0x1;(!_0x47341a&&_0x583d87&&(_0x47341a=_0x583d87,_0x441cf5=_0x2ce322[_0x201979]),_0x47341a&&(!_0x583d87||_0x583d87['userId']!=_0x47341a['userId']))&&(_0x4a63e6(_0x583d87,L(_0x441cf5,_0x38ba6f,_0x262a9c),L(_0x2ce322[_0x201979],_0x38ba6f,_0x262a9c)),_0x47341a=_0x583d87||null,_0x441cf5=_0x583d87?_0x2ce322[_0x201979]:null),_0x47341a&&_0x5a569a&&_0x4a63e6(_0x583d87,L(_0x441cf5,_0x38ba6f,_0x262a9c),W(_0x2ce322[_0x201979],_0x38ba6f,_0x262a9c));}function _0x4a63e6(_0x277a89,_0x2a402d,_0x1dad0a){const _0xc65765=_0x47341a['userId'],_0x7f7fe1='revision:'+_0x205da1+':'+_0xc65765+':'+_0x117e3c++,_0x67f3e9=_0x262a9c['createRange'](_0x2a402d,_0x1dad0a);_0x38ba6f['markers']['set'](_0x7f7fe1,_0x67f3e9),null!==_0xc65765&&_0xb1f985['add'](_0xc65765);}}['_getVidAttributeName'](_0x51f355){switch(_0x51f355['type']){case'elementStart':return'vid_start';case'elementEnd':return'vid_end';default:return'vid';}}['_fixOperation'](_0x53fca9,_0xc7a4b9){_0x53fca9['baseVersion']=null;for(const _0x162060 in _0x53fca9){const _0x37223e=_0x53fca9[_0x162060];if(_0x37223e instanceof gt){const _0x494bdc=_0xc7a4b9['get'](_0x37223e['root']['rootName']);_0x53fca9[_0x162060]=this['_fixPosition'](_0x37223e,_0x494bdc);}if(_0x37223e instanceof vt){const _0x47f2a2=_0xc7a4b9['get'](_0x37223e['root']['rootName']);_0x53fca9[_0x162060]=this['_fixRange'](_0x37223e,_0x47f2a2);}'root'===_0x162060&&(_0x53fca9['root']=_0xc7a4b9['get'](_0x53fca9['root']['rootName']));}}['_fixRange'](_0x29f913,_0x26e30e){return this['editor']['model']['createRange'](this['_fixPosition'](_0x29f913['start'],_0x26e30e),this['_fixPosition'](_0x29f913['end'],_0x26e30e));}['_fixPosition'](_0x2cf8e5,_0x203dc4){return this['editor']['model']['createPositionFromPath'](_0x203dc4,_0x2cf8e5['path'],_0x2cf8e5['stickiness']);}['_handleInsertOperation'](_0x4906e9){const _0x524b63=this['_idsRoots']['get'](_0x4906e9['position']['root']['rootName']),_0x2fa7e5=this['_fixPosition'](_0x4906e9['position'],_0x524b63),_0x4ac92f=null===_0x4906e9['_authorId']?null:_0x4906e9['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x51c4ad=_0x2fa7e5['parent'],_0x34454b=this['_revisionId'],_0x102d87=[];for(const _0x26076a of _0x4906e9['nodes'])if(_0x26076a['is']('element'))_0x102d87['push'](this['_makeIdsRoot'](_0x26076a));else{for(let _0x470f1e=0x0;_0x470f1e<_0x26076a['offsetSize'];_0x470f1e++)_0x102d87['push'](new ft('$text',{'vid':this['_revisionId']++}));}const _0x4fa525=this['_revisionId'];for(let _0x24b3e9=_0x34454b;_0x24b3e9<_0x4fa525;_0x24b3e9++)this['_touched']['set'](_0x24b3e9,{'userId':_0x4ac92f});_0x51c4ad['_insertChild'](_0x2fa7e5['offset'],_0x102d87);}['_handleMoveOperation'](_0x583053){(_0x583053=this['_cloneOperation'](_0x583053,this['_idsRoots']))['_execute']();const _0x3c8163=null===_0x583053['_authorId']?null:_0x583053['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x10507c=_0x583053['getMovedRangeStart'](),_0x258f6e=_0x10507c['parent'],_0x48cce9=_0x10507c['offset'];!function _0x5c58c9(_0x5251fc,_0x479b23,_0x540be4,_0x18fb03){for(let _0x5db682=_0x540be4;_0x5db682<_0x18fb03;_0x5db682++){const _0x33f145=_0x479b23['getChild'](_0x5db682);_0x33f145['is']('element','$text')?_0x5251fc['set'](_0x33f145['getAttribute']('vid'),{'userId':_0x3c8163}):(_0x5251fc['set'](_0x33f145['getAttribute']('vid_start'),{'userId':_0x3c8163}),_0x5c58c9(_0x5251fc,_0x33f145,0x0,_0x33f145['childCount']),_0x5251fc['set'](_0x33f145['getAttribute']('vid_end'),{'userId':_0x3c8163}));}}(this['_touched'],_0x258f6e,_0x48cce9,_0x48cce9+_0x583053['howMany']);}['_handleMergeOperation'](_0x19458b){const _0x169874=null===(_0x19458b=this['_cloneOperation'](_0x19458b,this['_idsRoots']))['_authorId']?null:_0x19458b['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x341e51=_0x19458b['targetPosition']['parent'],_0x1ad9ae=_0x19458b['sourcePosition']['parent'],_0x461e88=_0x341e51['getAttribute']('vid_end'),_0x40ded8=_0x1ad9ae['getAttribute']('vid_start');_0x341e51['_setAttribute']('vid_end',_0x1ad9ae['getAttribute']('vid_end')),_0x1ad9ae['_setAttribute']('vid_end',_0x461e88),this['_touched']['set'](_0x40ded8,{'userId':_0x169874}),this['_touched']['set'](_0x461e88,{'userId':_0x169874}),_0x19458b['_execute']();}['_handleSplitOperation'](_0x57f0f2){const _0x303d7d=null===(_0x57f0f2=this['_cloneOperation'](_0x57f0f2,this['_idsRoots']))['_authorId']?null:_0x57f0f2['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x252530=_0x57f0f2['graveyardPosition'],_0x45ce86=_0x57f0f2['splitPosition']['parent'];_0x57f0f2['_execute']();const _0x2f599b=_0x45ce86['getAttribute']('vid_end'),_0x545002=_0x57f0f2['insertionPosition']['nodeAfter'];if(_0x252530){const _0x1881fe=_0x545002['getAttribute']('vid_end'),_0x3475ee=_0x45ce86['getAttribute']('vid_end');_0x45ce86['_setAttribute']('vid_end',_0x1881fe),_0x545002['_setAttribute']('vid_end',_0x3475ee),this['_touched']['set'](_0x45ce86['getAttribute']('vid_end'),{'userId':_0x303d7d}),this['_touched']['set'](_0x545002['getAttribute']('vid_start'),{'userId':_0x303d7d});}else{const _0x4fdc08=this['_revisionId']++,_0x283370=this['_revisionId']++;_0x45ce86['_setAttribute']('vid_end',_0x4fdc08),_0x545002['_setAttribute']('vid_start',_0x283370),_0x545002['_setAttribute']('vid_end',_0x2f599b),this['_touched']['set'](_0x4fdc08,{'userId':_0x303d7d}),this['_touched']['set'](_0x283370,{'userId':_0x303d7d});}}['_handleMarkerOperation'](_0x5beba7){if(!_0x5beba7['affectsData'])return;const _0x21d48e=(_0x5beba7=this['_cloneOperation'](_0x5beba7,this['_diffRoots']))['oldRange']?_0x5beba7['oldRange']['root']:null,_0x4ac157=_0x5beba7['newRange']?_0x5beba7['newRange']['root']:null;_0x21d48e&&this['_markers']['delete'](_0x5beba7['name']),_0x4ac157&&this['_markers']['set'](_0x5beba7['name'],_0x5beba7['newRange']['clone']());const _0x4f710c=null===_0x5beba7['_authorId']?null:_0x5beba7['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x23e56e=_0x5beba7['name'];if(!this['_touchedMarkers']['has'](_0x23e56e))return void this['_touchedMarkers']['set'](_0x23e56e,{'range':_0x5beba7['oldRange'],'userId':_0x4f710c});const _0x13185d=this['_touchedMarkers']['get'](_0x23e56e),_0x3a27d0=_0x13185d['range'],_0x4af92b=_0x5beba7['newRange'];null==_0x3a27d0&&null==_0x4af92b||_0x3a27d0&&_0x4af92b&&_0x3a27d0['isEqual'](_0x4af92b)?this['_touchedMarkers']['delete'](_0x5beba7['name']):_0x13185d['userId']=_0x4f710c;}['_handleRootOperation'](_0x407622,_0x564495){this['_diffRoots']['has'](_0x407622['rootName'])?this['_diffRoots']['get'](_0x407622['rootName'])['_isAttached']=_0x407622['isAdd']:(this['_diffRoots']['set'](_0x407622['rootName'],G(_0x407622['rootName'],!0x0)),this['_diffRootsAttributes']['set'](_0x407622['rootName'],{}),_0x564495&&this['_idsRoots']['set'](_0x407622['rootName'],G(_0x407622['rootName'],!0x0)));const _0xfe8ba=null===_0x407622['_authorId']?null:_0x407622['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x1eefd4=this['_touchedRoots']['get'](_0x407622['rootName']);_0x1eefd4&&_0x1eefd4['userId']===_0xfe8ba?this['_touchedRoots']['delete'](_0x407622['rootName']):this['_touchedRoots']['set'](_0x407622['rootName'],{'userId':_0xfe8ba,'isAttached':_0x407622['isAdd']});}['_handleRootAttributeOperation'](_0x4fcd1d){const _0x2dd9b5=this['_diffRootsAttributes']['get'](_0x4fcd1d['root']['rootName']);null===_0x4fcd1d['newValue']?delete _0x2dd9b5[_0x4fcd1d['key']]:_0x2dd9b5[_0x4fcd1d['key']]=_0x4fcd1d['newValue'];}}function q(_0x31686d){const _0x4f6dd2=G(_0x31686d['rootName'],_0x31686d['isAttached']());for(const _0x2658e2 of _0x31686d['getChildren']()){const _0x2ab02c=_0x2658e2['_clone'](!0x0);_0x4f6dd2['_appendChild'](_0x2ab02c);}return _0x4f6dd2;}function G(_0x120e62,_0x239b4b=!0x0){const _0x4a1b35=new wt();return _0x4a1b35['rootName']=_0x120e62,_0x4a1b35['_isAttached']=_0x239b4b,_0x4a1b35['isAttached']=()=>_0x4a1b35['_isAttached'],_0x4a1b35;}function L(_0x2b1709,_0x4f0d2b,_0x2db6f7){const _0x546595='elementEnd'==_0x2b1709['type']?_0x2db6f7['createPositionAt'](_0x2b1709['item'],'end'):_0x2db6f7['createPositionBefore'](_0x2b1709['item']);return _0x2db6f7['createPositionFromPath'](_0x4f0d2b,_0x546595['path'],_0x546595['stickiness']);}function W(_0x4f76a9,_0x57509e,_0x480ece){const _0x4cf002='elementStart'==_0x4f76a9['type']?_0x480ece['createPositionAt'](_0x4f76a9['item'],0x0):_0x480ece['createPositionAfter'](_0x4f76a9['item']);return _0x480ece['createPositionFromPath'](_0x57509e,_0x4cf002['path'],_0x4cf002['stickiness']);}class ns extends _0x1bde3f{['focusTracker'];['keystrokes'];['revisionNameInputView'];constructor(_0x19ca78,_0x3d5f54){super(_0x19ca78),this['focusTracker']=new _0xd53b19(),this['keystrokes']=new _0x35aa9f(),this['set']('revisionNameInputValue',''),this['revisionNameInputView']=this['_createRevisionNameInput'](_0x3d5f54),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'](),_0x25afe0({'view':this}),this['focusTracker']['add'](this['revisionNameInputView']['element']),this['keystrokes']['listenTo'](this['element']);const _0x504842=_0x5e9a33=>_0x5e9a33['stopPropagation']();this['keystrokes']['set']('arrowright',_0x504842),this['keystrokes']['set']('arrowleft',_0x504842),this['keystrokes']['set']('arrowup',_0x504842),this['keystrokes']['set']('arrowdown',_0x504842);}['focus'](){this['revisionNameInputView']['focus']();}get['revisionName'](){return this['revisionNameInputView']['fieldView']['element']['value']['trim']();}set['revisionName'](_0x276851){this['revisionNameInputView']['fieldView']['element']['value']=_0x276851['trim']();}['reset'](){this['revisionNameInputView']['fieldView']['element']['value']='',this['revisionNameInputView']['errorText']=null;}['_createRevisionNameInput'](_0xe7d612){const _0x11289d=new at(this['locale'],_0x22aff1),_0x3278b5=_0x11289d['fieldView'];_0x3278b5['extendTemplate']({'attributes':{'maxlength':'220'}});let _0x1d0412=y(this['locale'],'Name\x20of\x20the\x20revision');return!_0xe7d612&&(_0x1d0412+='\x20('+y(this['locale'],'optional')+')'),(_0x11289d['label']=_0x1d0412,_0x3278b5['on']('input',()=>{this['revisionNameInputValue']=_0x3278b5['element']['value']['trim']();}),_0x11289d);}}class u extends _0x10a6ce{static get['pluginName'](){return'RevisionHistoryUI';}static get['requires'](){return[l];}['_saveRevisionFormView'];['init'](){const _0x2dbaac=this['editor'],_0x1e4814=_0x2dbaac['plugins']['get']('RevisionTracker');_0x2dbaac['ui']['componentFactory']['add']('revisionHistory',_0x3d7f62=>{const _0x519644=_0x43b98b(_0x3d7f62),_0x33e95a=_0x519644['panelView']['children'],_0x341aa3=new te(_0x3d7f62),_0x3a9899=new _0x45955c(_0x3d7f62),_0x579e1f=new _0x4c84c5(_0x3d7f62),_0x22957f=new _0x45955c(_0x3d7f62),_0x2847f0=new _0x4c84c5(_0x3d7f62);return _0x519644['bind']('isEnabled')['to'](_0x1e4814,'isReady',_0x1e4814,'isEnabled',_0x2dbaac,'isReadOnly',(_0x4da967,_0x2a6ccd,_0x5d9f78)=>_0x4da967&&_0x2a6ccd&&!_0x5d9f78),_0x519644['buttonView']['set']({'icon':_0x16bf45['history'],'label':y(_0x3d7f62,'Revision\x20history'),'tooltip':!0x0}),_0x579e1f['set']({'label':y(_0x3d7f62,'Save\x20current\x20revision'),'withText':!0x0,'role':'menuitem'}),_0x579e1f['bind']('isEnabled')['to'](_0x1e4814,'isReady',_0x1e4814,'isEnabled',_0x2dbaac,'isReadOnly',(_0x20b842,_0x389116,_0x4d0d8f)=>_0x20b842&&_0x389116&&!_0x4d0d8f),_0x579e1f['on']('execute',()=>this['_showDialog']()),_0x2847f0['set']({'label':y(_0x3d7f62,'Open\x20revision\x20history'),'withText':!0x0,'role':'menuitem'}),_0x2847f0['bind']('isEnabled')['to'](_0x1e4814,'isReady',_0x2dbaac,'isReadOnly',(_0x4bbcb3,_0x1fee71)=>_0x4bbcb3&&!_0x1fee71),_0x2847f0['on']('execute',()=>{_0x2dbaac['config']['get']('revisionHistory')['showRevisionViewerCallback'](),_0x519644['isOpen']=!0x1,_0x2dbaac['editing']['view']['focus']();}),_0x3a9899['children']['add'](_0x579e1f),_0x22957f['children']['add'](_0x2847f0),_0x341aa3['role']='menu',_0x341aa3['items']['addMany']([_0x3a9899,_0x22957f]),_0x33e95a['add'](_0x341aa3),_0x519644;}),_0x2dbaac['ui']['componentFactory']['add']('menuBar:revisionHistory',()=>this['_registerMenuComponent']());}['_registerMenuComponent'](){const _0x2cd22b=this['editor'],_0xbdbc3a=_0x2cd22b['locale'],_0x1f7ec0=new _0x3be487(_0xbdbc3a),_0x507695=new _0x14c241(_0xbdbc3a);_0x1f7ec0['buttonView']['set']({'icon':_0x16bf45['history'],'label':y(_0xbdbc3a,'Revision\x20history')});const _0x1037b6=new _0x56c1e8(_0xbdbc3a,_0x1f7ec0),_0x1a9b74=new _0x273850(_0xbdbc3a);_0x1a9b74['set']({'label':y(_0xbdbc3a,'Save\x20current\x20revision')}),_0x1a9b74['delegate']('execute')['to'](_0x1f7ec0),_0x1a9b74['on']('execute',()=>{this['_showDialog']();}),_0x1037b6['children']['add'](_0x1a9b74),_0x507695['items']['add'](_0x1037b6);const _0x1b47c1=new _0x56c1e8(_0xbdbc3a,_0x1f7ec0),_0x58d9b=new _0x273850(_0xbdbc3a);return _0x58d9b['set']({'label':y(_0xbdbc3a,'Open\x20revision\x20history')}),_0x58d9b['delegate']('execute')['to'](_0x1f7ec0),_0x58d9b['on']('execute',()=>{_0x2cd22b['config']['get']('revisionHistory')['showRevisionViewerCallback']();}),_0x1b47c1['children']['add'](_0x58d9b),_0x507695['items']['add'](_0x1b47c1),_0x1f7ec0['panelView']['children']['add'](_0x507695),_0x1f7ec0;}['_showDialog'](){const _0x5b676c=this['editor'],_0x309c25=_0x5b676c['locale'],t=_0x309c25['t'],_0x2809f4=_0x5b676c['plugins']['get']('Dialog'),_0xdac216=_0x5b676c['plugins']['get']('RevisionTracker');function _0xdf9ad4(_0x14c48b){_0x5b676c['config']['get']('revisionHistory.requireRevisionName')&&''===_0x14c48b['revisionName']?_0x14c48b['revisionNameInputView']['errorText']=y(_0x309c25,'The\x20revision\x20name\x20cannot\x20be\x20empty.'):(_0x5b676c['plugins']['get'](l)['saveRevision']({'name':_0x14c48b['revisionName']}),_0x2809f4['hide']());}this['_saveRevisionFormView']||(this['_createSaveRevisionFormView'](),this['_saveRevisionFormView']['on']('submit',()=>_0xdf9ad4(this['_saveRevisionFormView']))),this['_saveRevisionFormView']['reset'](),_0x2809f4['show']({'id':'revisionSave','title':y(_0x309c25,'Save\x20current\x20revision'),'isModal':!0x0,'content':this['_saveRevisionFormView'],'actionButtons':[{'label':t('Cancel'),'withText':!0x0,'onExecute':()=>_0x2809f4['hide']()},{'label':t('Accept'),'class':'ck-button-action','withText':!0x0,'onCreate'(_0x3bfd68){_0x3bfd68['bind']('isEnabled')['to'](_0xdac216,'isReady',_0xdac216,'isEnabled',_0x5b676c,'isReadOnly',(_0x2be18a,_0x32f66c,_0x4b9068)=>_0x2be18a&&_0x32f66c&&!_0x4b9068);},'onExecute':()=>_0xdf9ad4(this['_saveRevisionFormView'])}]});}['_createSaveRevisionFormView'](){const _0x4c8d45=this['editor'],_0x2edaa5=_0x4c8d45['locale'];this['_saveRevisionFormView']=new ns(_0x2edaa5,_0x4c8d45['config']['get']('revisionHistory.requireRevisionName')),this['_saveRevisionFormView']['render']();}}class Z extends _0x1bde3f{['changeId'];['_model'];constructor(_0x31f5a0,_0x51ce6e){super(_0x31f5a0),this['_model']=_0x51ce6e,this['changeId']=_0x51ce6e['id'];const _0x562173=this['bindTemplate'],_0x16f495=y(_0x31f5a0,_0x51ce6e['data']['isSuggestion']?'Suggested\x20by':'add'==_0x51ce6e['type']?'Added\x20by':'Removed\x20by');this['set']('type',_0x51ce6e['type']),this['setTemplate']({'tag':'div','attributes':{'class':['ck-annotation','ck-revision-change',_0x562173['to']('type',_0x1dac44=>'ck-revision-change__'+_0x1dac44)],'tabindex':-0x1},'children':[{'tag':'span','children':[{'tag':'span','attributes':{'class':['ck-revision-change__label']},'children':[{'text':_0x16f495}]},{'text':'\x20'+_0x51ce6e['author']['name']}]}]});}['focus'](){this['element']['focus']();}}class r extends/* #__PURE__ -- @preserve */
25
+ _0x5655c2(){['id'];['author'];['type'];['data'];['rootName'];constructor(_0x2248dd){super(),this['id']=_0x2248dd['id']||_0x5877e3(),this['author']=_0x2248dd['author'],this['type']=_0x2248dd['type'],this['data']=_0x2248dd['data']||{},this['rootName']=_0x2248dd['rootName'],this['set']('createdAt',_0x2248dd['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(_0x54c21a,_0x48e3c4){this['newRevisionId']=_0x54c21a,this['oldRevisionId']=_0x48e3c4,this['changes']=new _0x1ebc2d();}['_setChanges'](_0x2ef521){for(const _0x5a8de1 of _0x2ef521)this['changes']['add'](_0x5a8de1);}}const tt={'c':_0x8516d2,'a':_0x2f8cc4,'e':_0x109d01,'r':_0x193fa6,'u':_0x29c0a5};class d extends _0x10a6ce{['repository'];['adapter'];['_activeViewTarget'];['_changeView'];['_changeIdToChange'];['_balloon'];static get['pluginName'](){return'RevisionViewer';}static get['requires'](){return[_0xf16395,_0x49fd2e,A];}constructor(_0xfa4184){super(_0xfa4184),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',(_0x2a172d,_0x1432c4,_0x4b0f44)=>{this['activeChange']=null,this['activeView']=null,this['editor']['editing']['view']['change'](_0x53dfbe=>{for(const _0x931341 of this['editor']['editing']['view']['document']['roots'])_0x4b0f44?_0x53dfbe['removeClass']('ck-editor__editable__overlay',_0x931341):_0x53dfbe['addClass']('ck-editor__editable__overlay',_0x931341);});}),this['bind']('isNavigationMode')['to'](this,'activeChange',_0x24df95=>null!==_0x24df95),this['bind']('currentChangeNumber')['to'](this,'isReady',this,'diff',this,'activeChange',(_0x515198,_0x30ab2f,_0x2726c2)=>_0x515198&&_0x2726c2?_0x30ab2f['changes']['getIndex'](_0x2726c2):0x0),this['bind']('numberOfChanges')['to'](this,'isReady',this,'diff',(_0x598ec2,_0xa90455)=>_0x598ec2?_0xa90455['changes']['length']:0x0),this['_changeView']=null,this['_changeIdToChange']=new Map(),this['adapter']=null,this['_balloon']=this['editor']['plugins']['get'](_0x49fd2e);}['init'](){const _0x15c5a9=this['editor'],_0x233f38=new yt(_0x15c5a9,{'direction':'backward'}),_0x36fef2=new yt(_0x15c5a9,{'direction':'forward'});(_0x15c5a9['commands']['add']('showPreviousChange',_0x233f38),_0x15c5a9['commands']['add']('showNextChange',_0x36fef2),_0x15c5a9['commands']['add']('restoreRevision',new bt(_0x15c5a9)),this['on']('change:numberOfChanges',()=>{_0x233f38['refresh'](),_0x36fef2['refresh']();}),this['_setConversion'](),this['_initInteractions'](),_0x15c5a9['enableReadOnlyMode']('revision-viewer'),_0x15c5a9['plugins']['has']('WidgetToolbarRepository'))&&_0x15c5a9['plugins']['get']('WidgetToolbarRepository')['forceDisabled']('revision-viewer');}async['getRevisionData'](_0x44a594){await this['loadRevisionData'](_0x44a594);const _0x1095c2={};for(const _0x5a05d9 in _0x44a594['diffData']){if(_0x44a594['diffData'][_0x5a05d9]['attachChange']&&!_0x44a594['diffData'][_0x5a05d9]['attachChange']['isAttached'])continue;const _0x46ebc4=this['_removeRevisionMarkers'](JSON['parse'](_0x44a594['diffData'][_0x5a05d9]['insertions'])),_0x365f3e=this['editor']['editing']['view']['document'],_0x2a21c4=new _0x5b16fb(_0x365f3e,_0x46ebc4['map'](_0x27203c=>this['_getViewObj'](_0x27203c)));this['editor']['data']['processor']['useFillerType']('marked'),_0x1095c2[_0x5a05d9]=this['editor']['data']['processor']['toData'](_0x2a21c4),this['editor']['data']['processor']['useFillerType']('default');}return _0x1095c2;}async['getRevisionRootsAttributes'](_0x1573cc){await this['loadRevisionData'](_0x1573cc);const _0x695105={};for(const _0x2385d0 in _0x1573cc['diffData'])_0x1573cc['diffData'][_0x2385d0]['attachChange']&&!_0x1573cc['diffData'][_0x2385d0]['attachChange']['isAttached']||(_0x695105[_0x2385d0]=_0x1573cc['diffData'][_0x2385d0]['attributesAfter']||{});return _0x695105;}['_removeRevisionMarkers'](_0x58cc94){return(_0x58cc94=_0x58cc94['filter'](_0x58561e=>!_0x58561e['name']||'revision-start'!==_0x58561e['name']&&'revision-end'!==_0x58561e['name']))['forEach'](_0x1a0586=>{'string'!=typeof _0x1a0586&&(_0x1a0586['children']=this['_removeRevisionMarkers'](_0x1a0586['children']),_0x1a0586['attributes']=_0x1a0586['attributes']['filter'](_0x8c75d4=>!_0x8c75d4[0x0]['startsWith']('data-revision-')));}),_0x58cc94;}async['compare'](_0x13e21a,_0x25d52e,_0x443447=!0x1){if(!this['isEnabled'])return;const _0x24f699=this['diff'],_0x1d6c25=this['repository'],_0x332bea='string'==typeof _0x13e21a?_0x1d6c25['getRevision'](_0x13e21a):_0x13e21a,_0x4e925d='string'==typeof _0x25d52e?_0x1d6c25['getRevision'](_0x25d52e):_0x25d52e,_0x41f107=_0x332bea['id'],_0x5819b4=_0x4e925d?_0x4e925d['id']:null;if(!_0x443447&&this['diff']&&this['diff']['newRevisionId']===_0x41f107&&this['diff']['oldRevisionId']===_0x5819b4)return Promise['resolve']();this['isReady']=!0x1,this['activeView']=null,this['activeChange']=null,this['diff']=new f(_0x41f107,_0x5819b4);const _0x3efeb5=this['_getRevisionsRange'](_0x332bea,_0x4e925d,!0x0)['map'](_0x38e056=>this['loadRevisionData'](_0x38e056));return _0x3efeb5['push'](new Promise(_0x34ec1a=>{setTimeout(_0x34ec1a,0x14);})),Promise['all'](_0x3efeb5)['then'](()=>{if(!this['isEnabled'])return;this['_cleanUp']();const _0xbfd956=this['_getDiff'](_0x41f107,_0x5819b4);for(const _0x2ab14e of _0xbfd956['changes'])this['_changeIdToChange']['set'](_0x2ab14e['id'],_0x2ab14e);this['editor']['model']['enqueueChange']({'isUndoable':!0x1},_0x5a321e=>{for(const _0x49be1f of this['editor']['model']['document']['getRootNames']())_0x5a321e['detachRoot'](_0x49be1f);for(const _0x3f5efa of Object['keys'](_0xbfd956['model'])){const _0x3f1ea1=_0x5a321e['addRoot'](_0x3f5efa);for(const _0x34591b of Object['keys'](_0xbfd956['attributes'][_0x3f5efa]))_0x5a321e['setAttribute'](_0x34591b,_0xbfd956['attributes'][_0x3f5efa][_0x34591b],_0x3f1ea1);_0x5a321e['insert'](_0xbfd956['model'][_0x3f5efa],_0x3f1ea1,0x0);}}),this['diff']['_setChanges'](this['_sortAndFilterDiffChanges'](_0xbfd956['changes'])),this['isReady']=!0x0;})['catch'](_0x529db1=>{console['error'](_0x529db1),this['_cleanUp'](),_0x24f699&&(this['diff']=_0x24f699),this['isReady']=!0x0;});}['addRevisionData'](_0x4ebb81,_0x1d45e6){const _0xf1a6d1=this['repository']['createRevision'](_0x4ebb81);return _0xf1a6d1['on']('_update',(_0x20ca55,_0x5b8cd4,_0x5a7451)=>_0x1d45e6(_0x5b8cd4,_0x5a7451,_0xf1a6d1)),this['repository']['addRevision'](_0xf1a6d1),_0xf1a6d1;}['loadRevisionData'](_0x2e9b81){if(!_0x2e9b81||_0x2e9b81['diffData'])return Promise['resolve']();{const _0x22ed46=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0x22ed46,'revisionId':_0x2e9b81['id']})['then'](_0x36fce8=>{_0x2e9b81['_update']({'diffData':_0x36fce8['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},_0x54a5af=>{for(const _0x47023a of this['editor']['model']['document']['getRootNames']())_0x54a5af['detachRoot'](_0x47023a);});}['_sortAndFilterDiffChanges'](_0x193bca){const _0x2e8f2f=[],_0x2d86de=new Map();for(const _0x44416d of this['editor']['model']['document']['getRootNames']()){const _0x2e9af3=this['editor']['editing']['view']['getDomRoot'](_0x44416d);if(!_0x2e9af3)continue;const _0x45e709=_0x2e9af3['getClientRects']()['item'](0x0);_0x45e709&&(_0x2e8f2f['push'](_0x44416d),_0x2d86de['set'](_0x44416d,_0x45e709));}return _0x2e8f2f['sort']((_0x41c861,_0x50bb05)=>{const _0x52dbaf=_0x2d86de['get'](_0x41c861),_0x20c01c=_0x2d86de['get'](_0x50bb05);return _0x52dbaf['y']-_0x20c01c['y']||_0x52dbaf['x']-_0x20c01c['x'];}),(_0x193bca=_0x193bca['filter'](_0x5e8a29=>_0x2e8f2f['includes'](_0x5e8a29['rootName'])))['sort']((_0x1adc84,_0xff5f87)=>_0x2e8f2f['indexOf'](_0x1adc84['rootName'])-_0x2e8f2f['indexOf'](_0xff5f87['rootName'])),_0x193bca;}['_makeTape'](_0x1461ad){const _0x4f447e=Array['from'](_0x1461ad['markers'])['filter'](([_0x51dd42,_0x4f34b7])=>_0x51dd42['startsWith']('revision:')&&!_0x4f34b7['isCollapsed']),_0xdf5be3=Array['from'](this['editor']['model']['createRangeIn'](_0x1461ad)['getWalker']({'singleCharacters':!0x0}));if(0x0!=_0x4f447e['length'])for(const _0x34b07a of _0xdf5be3){const [_0x291f22,_0x2fe48e]=_0x4f447e[0x0],[,_0x210de1,_0x16f89d]=_0x291f22['split'](':');if(_0x2fe48e['end']['isEqual'](_0x34b07a['nextPosition'])&&_0x4f447e['shift'](),(_0x34b07a['previousPosition']['isEqual'](_0x2fe48e['start'])||_0x34b07a['previousPosition']['isAfter'](_0x2fe48e['start']))&&('insertion'==_0x210de1?_0x34b07a['isAdded']={'userId':_0x16f89d}:'deletion'==_0x210de1&&(_0x34b07a['isRemoved']={'userId':_0x16f89d})),0x0==_0x4f447e['length'])break;}return _0xdf5be3;}['_refreshStartEndIndex'](_0x28f221){const _0x492b29=new Map();for(let _0x2e9e27=0x0;_0x2e9e27<_0x28f221['length'];_0x2e9e27++)'text'===_0x28f221[_0x2e9e27]['type']?(_0x28f221[_0x2e9e27]['item']['startIndex']=_0x2e9e27,_0x28f221[_0x2e9e27]['item']['endIndex']=_0x2e9e27):('elementStart'===_0x28f221[_0x2e9e27]['type']?_0x28f221[_0x2e9e27]['item']['startIndex']=_0x2e9e27:'elementEnd'===_0x28f221[_0x2e9e27]['type']&&(_0x28f221[_0x2e9e27]['item']['endIndex']=_0x2e9e27),_0x492b29['set'](_0x28f221[_0x2e9e27]['id'],_0x2e9e27));for(const _0x4bef97 of _0x492b29['values']())'elementStart'===_0x28f221[_0x4bef97]['type']?_0x28f221[_0x4bef97]['item']['endIndex']=_0x492b29['get'](_0x28f221[_0x4bef97]['pairId']):'elementEnd'===_0x28f221[_0x4bef97]['type']&&(_0x28f221[_0x4bef97]['item']['startIndex']=_0x492b29['get'](_0x28f221[_0x4bef97]['pairId']));}['_processTape'](_0x2935d7){for(let _0x10301e=0x0;_0x10301e<_0x2935d7['length'];_0x10301e++){if('elementStart'===_0x2935d7[_0x10301e]['type'])_0x2935d7[_0x10301e]['item']['startIndex']=_0x10301e;else{if('elementEnd'===_0x2935d7[_0x10301e]['type']){_0x2935d7[_0x10301e]['item']['endIndex']=_0x10301e;const _0x2e4d07=_0x2935d7[_0x10301e]['item']['startIndex'];_0x2935d7[_0x2e4d07]['pairId']=_0x2935d7[_0x10301e]['id'],_0x2935d7[_0x10301e]['pairId']=_0x2935d7[_0x2e4d07]['id'];}else _0x2935d7[_0x10301e]['item']['startIndex']=_0x10301e,_0x2935d7[_0x10301e]['item']['endIndex']=_0x10301e,_0x2935d7[_0x10301e]['pairId']=null;}_0x2935d7[_0x10301e]['markersStart']||(_0x2935d7[_0x10301e]['markersStart']=[],_0x2935d7[_0x10301e]['markersEnd']=[]);}}['_markInsertions'](_0x31a938,_0x4aa10a){const _0x57384b=_0x31a938['filter'](_0x4a4697=>!_0x4a4697['isAdded']);for(let _0x828b77=0x0;_0x828b77<_0x4aa10a['length'];_0x828b77++)_0x4aa10a[_0x828b77]['isAdded']&&(_0x57384b[_0x828b77]['isAdded']=_0x4aa10a[_0x828b77]['isAdded']);}['_makeModelFromViewString'](_0x3bcfa2){const _0x282d44=JSON['parse'](_0x3bcfa2),_0xab03ba=this['editor']['editing']['view']['document'],_0x417d32=new _0x5b16fb(_0xab03ba,_0x282d44['map'](_0x43a37d=>this['_getViewObj'](_0x43a37d)));return this['editor']['data']['toModel'](_0x417d32);}['_getViewObj'](_0x1ede31){const _0x2330c5=this['editor']['editing']['view']['document'];if('string'==typeof _0x1ede31)return new _0x3e38f5(_0x2330c5,_0x1ede31);{const _0xfa8db6=_0x1ede31['children']['map'](_0x9bfb43=>this['_getViewObj'](_0x9bfb43));return new(tt[_0x1ede31['type']]||_0x8610b1)(_0x2330c5,_0x1ede31['name'],_0x1ede31['attributes'],_0xfa8db6);}}['_getDiff'](_0x184132,_0x5d8476=null){const _0x8f0246=this['repository']['getRevision'](_0x184132),_0x17fe16=_0x5d8476?this['repository']['getRevision'](_0x5d8476):null,_0x487d59=this['_getRevisionsRange'](_0x8f0246,_0x17fe16),_0x191a75=_0x487d59[_0x487d59['length']-0x1],_0x304232=new Map(),_0xbf54f5={'model':{},'attributes':{},'changes':[]},_0x1801bf=new Set(),_0x2344d=new Map();for(let _0x447bb8=_0x487d59['length']-0x1;_0x447bb8>=0x0;_0x447bb8--){const _0x35c496=_0x487d59[_0x447bb8];for(const _0x35c8f of Object['keys'](_0x35c496['diffData']))if(_0x35c496['diffData'][_0x35c8f]['attachChange']){const _0x8aa106=_0x35c496['diffData'][_0x35c8f]['attachChange'];_0x8aa106['isAttached']?(_0x1801bf['add'](_0x35c8f),_0x2344d['has'](_0x35c8f)&&_0x2344d['get'](_0x35c8f)['userId']==_0x8aa106['userId']?_0x2344d['delete'](_0x35c8f):_0x2344d['set'](_0x35c8f,_0x8aa106)):_0x2344d['has'](_0x35c8f)?(_0x1801bf['delete'](_0x35c8f),_0x2344d['delete'](_0x35c8f)):(_0x1801bf['add'](_0x35c8f),_0x2344d['set'](_0x35c8f,_0x8aa106));}else _0x1801bf['add'](_0x35c8f);}for(const _0x37f133 of _0x1801bf){const _0x64f002=_0x2344d['has'](_0x37f133)&&!_0x2344d['get'](_0x37f133)['isAttached'];let _0x2e164a=_0x64f002?_0x487d59['length']-0x1:0x0;const _0x5ea79a=_0x64f002?-0x1:0x1;for(;_0x487d59[_0x2e164a];){const _0x1731a6=_0x487d59[_0x2e164a];if(_0x1731a6['diffData'][_0x37f133]){const _0x512f46=_0x64f002?_0x1731a6['diffData'][_0x37f133]['attributesBefore']:_0x1731a6['diffData'][_0x37f133]['attributesAfter'];_0xbf54f5['attributes'][_0x37f133]=_0x512f46?_0x2452f5(_0x512f46):{};break;}_0x2e164a+=_0x5ea79a;}}for(const _0x1f450c of _0x487d59){_0x1f450c['model']={};for(const _0x311635 of _0x1f450c['authors'])_0x304232['set'](_0x311635['id'],_0x311635);for(const _0x3ad9fa of _0x1801bf){const _0x30db8c=_0x1f450c['diffData'][_0x3ad9fa]?_0x1f450c['diffData'][_0x3ad9fa]['insertions']:'[]',_0x4382c9=_0x1f450c['diffData'][_0x3ad9fa]?_0x1f450c['diffData'][_0x3ad9fa]['deletions']:'[]';_0x1f450c['model'][_0x3ad9fa]={'insertions':this['_makeModelFromViewString'](_0x30db8c),'deletions':this['_makeModelFromViewString'](_0x4382c9)};}}for(const _0x164208 of _0x1801bf){let _0x5e49be=null,_0x1f1923=0x0;const _0x33e849=new Map(Array['from'](_0x8f0246['model'][_0x164208]['insertions']['markers'])['filter'](([_0x57d7c0])=>!_0x57d7c0['startsWith']('revision:')));let _0x308854=0x0;for(const _0x4d946e of _0x487d59){const _0x59445b=this['_makeTape'](_0x4d946e['model'][_0x164208]['insertions']);_0x4d946e==_0x8f0246?(_0x5e49be=_0x59445b,_0x1f1923=_0x5e49be['length'],_0x5e49be['forEach'](_0x4ba703=>{_0x4ba703['id']=_0x308854++;}),this['_processTape'](_0x5e49be)):this['_markInsertions'](_0x5e49be,_0x59445b);const _0x30b7f1=_0x5e49be['filter'](_0x5a0f28=>!_0x5a0f28['isAdded'])['map'](_0x2a60eb=>_0x2a60eb['id']);let _0x488943=0x0;const _0x1427d0=this['_makeTape'](_0x4d946e['model'][_0x164208]['deletions']);_0x1427d0['forEach'](_0x3f3912=>{_0x3f3912['isRemoved']?_0x3f3912['id']=_0x1f1923++:_0x3f3912['id']=_0x30b7f1[_0x488943++];}),this['_processTape'](_0x1427d0),this['_setDistance'](_0x5e49be,'isAdded'),this['_setDistance'](_0x1427d0,'isRemoved'),_0x4d946e==_0x8f0246&&this['_markMarkers'](_0x5e49be,_0x33e849),_0x5e49be=this['_joinTapes'](_0x5e49be,_0x1427d0),this['_refreshStartEndIndex'](_0x5e49be),this['_setDistance'](_0x5e49be,'isRemoved');}_0x5e49be=_0x5e49be['filter'](_0x1305e1=>!(_0x1305e1['isAdded']&&_0x1305e1['isRemoved']));const _0x18e1f9=new Map(_0x191a75['model'][_0x164208]['deletions']['markers']),_0x1fa0a0=new Set(_0x33e849['keys']());for(const _0x26a1bb of _0x18e1f9['keys']())_0x1fa0a0['delete'](_0x26a1bb);this['_markSuggestions'](_0x5e49be,_0x1fa0a0),this['_fixObsoleteTags'](_0x5e49be),_0x5e49be=this['_removeMissingPairs'](_0x5e49be),_0x5e49be=this['_markMismatchedRemovedTags'](_0x5e49be),_0x5e49be=this['_removeUnsupportedChanges'](_0x5e49be);const {root:_0xa248a,changes:_0x3e1b81}=this['_makeModelFromTape'](_0x5e49be,_0x304232,_0x164208);_0xbf54f5['model'][_0x164208]=_0xa248a;const _0x399c9d=_0x2344d['get'](_0x164208);if(_0x399c9d){const _0x5a955a=_0x304232['get'](_0x399c9d['userId']),_0x1956af=new r({'author':_0x5a955a,'type':_0x399c9d['isAttached']?'add':'remove','data':{'isOnRoot':!0x0},'createdAt':new Date(),'rootName':_0x164208});_0x3e1b81['unshift'](_0x1956af),_0xbf54f5['attributes'][_0x164208]['revisionHistoryAttachChange']=_0x1956af['id'];}_0xbf54f5['changes']=_0xbf54f5['changes']['concat'](_0x3e1b81);}return _0xbf54f5;}['_markMarkers'](_0x3cb20c,_0x1d51fe){for(let _0x4d7d0f=0x0;_0x4d7d0f<_0x3cb20c['length'];_0x4d7d0f++)for(const [_0xf09dd,_0x205e8c]of _0x1d51fe)_0x205e8c['start']['isEqual'](_0x3cb20c[_0x4d7d0f]['previousPosition'])&&_0x3cb20c[_0x4d7d0f]['markersStart']['push'](_0xf09dd),_0x205e8c['end']['isEqual'](_0x3cb20c[_0x4d7d0f]['nextPosition'])&&_0x3cb20c[_0x4d7d0f]['markersEnd']['push'](_0xf09dd);}['_joinTapes'](_0x109c1a,_0x2e1aa5){let _0x1e728e=[],_0x281483=0x0,_0x2ab0c7=0x0;for(;_0x281483<_0x109c1a['length']||_0x2ab0c7<_0x2e1aa5['length'];){const _0x31dfae=_0x109c1a[_0x281483]||{},_0x4439c5=_0x2e1aa5[_0x2ab0c7]||{};if(_0x31dfae['id']==_0x4439c5['id'])_0x281483++,_0x2ab0c7++,_0x1e728e['push'](_0x31dfae);else{if(_0x4439c5['isRemoved']&&_0x31dfae['isAdded']){const {commonTape:_0x497dee,iEnd:_0x971649,jEnd:_0x469f45}=this['_threeWayMerge'](_0x109c1a,_0x281483,_0x2e1aa5,_0x2ab0c7);_0x1e728e=_0x1e728e['concat'](_0x497dee),_0x281483=_0x971649,_0x2ab0c7=_0x469f45;}else _0x4439c5['isRemoved']?(_0x2ab0c7++,_0x1e728e['push'](_0x4439c5)):(_0x281483++,_0x1e728e['push'](_0x31dfae));}}return _0x1e728e;}['_markSuggestions'](_0x43056a,_0x47bb74){const _0x2ac7de=[];for(let _0x425843=0x0;_0x425843<_0x43056a['length'];_0x425843++){for(let _0x2c5674=0x0;_0x2c5674<_0x43056a[_0x425843]['markersStart']['length'];_0x2c5674++){const _0xd7ae3f=_0x43056a[_0x425843]['markersStart'][_0x2c5674];if(!_0x47bb74['has'](_0xd7ae3f))continue;const {group:_0x5e48d9,type:_0x44ddbd,authorId:_0x15b048}=_0x338208(_0xd7ae3f);'revision-suggestion'!=_0x5e48d9||'insertion'!=_0x44ddbd&&'deletion'!=_0x44ddbd||(_0x2ac7de['unshift']({'type':_0x44ddbd,'name':_0xd7ae3f,'userId':_0x15b048}),_0x43056a[_0x425843]['markersStart']['splice'](_0x2c5674,0x1),_0x2c5674--);}_0x396275(_0x43056a[_0x425843]);for(let _0x1934fc=0x0;_0x1934fc<_0x43056a[_0x425843]['markersEnd']['length'];_0x1934fc++){const _0x23c619=_0x43056a[_0x425843]['markersEnd'][_0x1934fc];if(!_0x47bb74['has'](_0x23c619))continue;const {group:_0x389012,type:_0x29498e}=_0x338208(_0x23c619);if('revision-suggestion'!=_0x389012||'insertion'!=_0x29498e&&'deletion'!=_0x29498e)continue;_0x43056a[_0x425843]['markersEnd']['splice'](_0x1934fc,0x1),_0x1934fc--;const _0x53f693=_0x2ac7de['findIndex'](_0x1ad213=>_0x1ad213['name']==_0x23c619);_0x53f693>-0x1&&_0x2ac7de['splice'](_0x53f693,0x1);}}function _0x338208(_0x5d1990){const _0x3242d4=_0x5d1990['split'](':');return{'group':_0x3242d4[0x0],'type':_0x3242d4[0x1],'subType':_0x3242d4['length']>=0x5?_0x3242d4[0x2]:null,'id':_0x3242d4['length']<0x5?_0x3242d4[0x2]:_0x3242d4[0x3],'authorId':_0x3242d4['length']<0x5?_0x3242d4[0x3]:_0x3242d4[0x4],'markerCount':0x6==_0x3242d4['length']?_0x3242d4[0x5]:null};}function _0x396275(_0x14065b){for(let _0x2b0a51=0x0;_0x2b0a51<_0x2ac7de['length'];_0x2b0a51++){if(_0x14065b['isAdded']&&'insertion'==_0x2ac7de[_0x2b0a51]['type'])return _0x14065b['isAddSuggestion']=_0x2ac7de[_0x2b0a51],void delete _0x14065b['isAdded'];if(!_0x14065b['isAdded']&&!_0x14065b['isRemoved']&&'deletion'==_0x2ac7de[_0x2b0a51]['type'])return void(_0x14065b['isRemoveSuggestion']=_0x2ac7de[_0x2b0a51]);}}}['_setDistance'](_0x57e914,_0x200d73){let _0x4ce1c8=0x0,_0x449b38=!0x1;const _0x31ecac=new Map();for(const _0x122c45 of _0x57e914)_0x122c45[_0x200d73]?_0x449b38&&(_0x4ce1c8++,_0x449b38=!0x1):(_0x4ce1c8++,_0x449b38=!0x0),_0x31ecac['set'](_0x122c45['id'],_0x4ce1c8);for(let _0x83d0c4=0x0;_0x83d0c4<_0x57e914['length'];_0x83d0c4++){if('isRemoved'==_0x200d73&&_0x57e914[_0x83d0c4]['isAdded']||'isAdded'==_0x200d73&&_0x57e914[_0x83d0c4]['isRemoved'])continue;if('text'==_0x57e914[_0x83d0c4]['type']){_0x57e914[_0x83d0c4]['distance']=0x0;continue;}const _0x335bc7=_0x31ecac['get'](_0x57e914[_0x83d0c4]['pairId']),_0x286533=_0x31ecac['get'](_0x57e914[_0x83d0c4]['id']);_0x57e914[_0x83d0c4]['distance']=_0x335bc7-_0x286533;}}['_getRevisionsRange'](_0x40c0c5,_0x3acaa1,_0x1a51fe=!0x1){const _0x15172e=[];let _0xba5e9d=this['repository']['getIndex'](_0x40c0c5),_0x261a38=this['repository']['getIndex'](_0x3acaa1);for(-0x1==_0x261a38&&(_0x261a38=this['repository']['_revisions']['length'],_0x1a51fe=!0x1);_0xba5e9d<_0x261a38;)_0x15172e['push'](this['repository']['getRevision'](_0xba5e9d)),_0xba5e9d++;return _0x1a51fe&&_0x15172e['push'](this['repository']['getRevision'](_0xba5e9d)),_0x15172e;}['_threeWayMerge'](_0x2f36d3,_0x2b3773,_0x2fc7a9,_0x2ad7a4){const _0x2c329a=this['editor']['model']['schema'];let _0x6d2c68=_0x2b3773;for(;_0x2f36d3[_0x6d2c68]&&_0x2f36d3[_0x6d2c68]['isAdded'];)_0x6d2c68++;let _0x45d5e0=_0x2ad7a4;for(;_0x2fc7a9[_0x45d5e0]&&_0x2fc7a9[_0x45d5e0]['isRemoved'];)_0x45d5e0++;_0x4483b9(_0x2f36d3,_0x2b3773,_0x6d2c68),_0x4483b9(_0x2fc7a9,_0x2ad7a4,_0x45d5e0);const _0x4dc815=_0x2fc7a9['slice'](_0x2ad7a4,_0x45d5e0)['concat'](_0x2f36d3['slice'](_0x2b3773,_0x6d2c68));return _0x4dc815['sort']((_0x23c2cf,_0x590bda)=>_0x23c2cf['side']!=_0x590bda['side']?_0x23c2cf['side']-_0x590bda['side']:_0x23c2cf['level']!=_0x590bda['level']?_0x23c2cf['level']-_0x590bda['level']:_0x23c2cf['distance']!=_0x590bda['distance']?_0x590bda['distance']-_0x23c2cf['distance']:!!_0x23c2cf['isAdded']!=!!_0x590bda['isAdded']?-0x1==_0x23c2cf['side']||0x0==_0x23c2cf['side']?_0x23c2cf['isAdded']?-0x1:0x1:_0x23c2cf['isAdded']?0x1:-0x1:_0x23c2cf['index']-_0x590bda['index']),{'commonTape':_0x4dc815,'iEnd':_0x6d2c68,'jEnd':_0x45d5e0};function _0x4483b9(_0xd54e97,_0xdfefdd,_0x5e6367){let _0x273edb=-0x1,_0x5ef8a5=Number['POSITIVE_INFINITY'],_0xdc3c1e=!0x0;for(let _0x3533fc=_0xdfefdd;_0x3533fc<_0x5e6367;_0x3533fc++)if(_0x2c329a['isInline'](_0xd54e97[_0x3533fc]['item'])||(_0xdc3c1e=!0x1),_0xd54e97[_0x3533fc]['item']['startIndex']<_0xdfefdd&&(_0x273edb=_0x3533fc),_0xd54e97[_0x3533fc]['item']['endIndex']>=_0x5e6367){_0x5ef8a5=_0x3533fc;break;}_0xdc3c1e&&(_0x273edb=_0x5e6367-0x1);for(let _0x208a76=_0xdfefdd;_0x208a76<_0x5e6367;_0x208a76++)_0xd54e97[_0x208a76]['side']=_0x208a76<=_0x273edb?-0x1:_0x208a76<_0x5ef8a5?0x0:0x1,_0xd54e97[_0x208a76]['index']=_0x208a76;let _0x251624=0x0;for(let _0x5e04f9=_0xdfefdd;_0x5e04f9<=_0x273edb;_0x5e04f9++)0x0==_0xd54e97[_0x5e04f9]['distance']?_0xd54e97[_0x5e04f9]['level']=_0x251624:(_0x251624++,_0xd54e97[_0x5e04f9]['level']=_0x251624,_0x251624++);for(let _0x1367ec=_0xdfefdd;_0x1367ec<_0x5e6367;_0x1367ec++)0x0==_0xd54e97[_0x1367ec]['side']&&(_0xd54e97[_0x1367ec]['level']=_0x251624);_0x251624=0x0;for(let _0x5d1cfa=_0x5e6367-0x1;_0x5d1cfa>=_0x5ef8a5;_0x5d1cfa--)0x0==_0xd54e97[_0x5d1cfa]['distance']?_0xd54e97[_0x5d1cfa]['level']=_0x251624:(_0x251624--,_0xd54e97[_0x5d1cfa]['level']=_0x251624,_0x251624--);}}['_fixObsoleteTags'](_0x3cbeae){const _0x8e2bce=new Map(),_0x6958e6=this['editor']['model']['schema'];for(let _0x1e1b13=0x1;_0x1e1b13<_0x3cbeae['length'];_0x1e1b13++){let _0x3a3bc1,_0x4ec110,_0x173cec;const _0x466ba1=_0x3cbeae[_0x1e1b13],_0x4ef5ff=_0x3cbeae[_0x1e1b13-0x1];if('text'==_0x466ba1['type'])continue;if(_0x466ba1['type']!=_0x4ef5ff['type'])continue;if(!_0x6958e6['isBlock'](_0x4ef5ff['item'])||_0x6958e6['isLimit'](_0x4ef5ff['item']))continue;if(!_0x6958e6['isBlock'](_0x466ba1['item'])||_0x6958e6['isLimit'](_0x466ba1['item']))continue;if((_0x3cbeae[_0x1e1b13]['isAdded']||_0x3cbeae[_0x1e1b13]['isAddSuggestion'])&&_0x3cbeae[_0x1e1b13-0x1]['isRemoved'])_0x3a3bc1=_0x3cbeae[_0x1e1b13],_0x4ec110=_0x3cbeae[_0x1e1b13-0x1],_0x173cec=_0x1e1b13-0x1;else{if(!_0x3cbeae[_0x1e1b13]['isRemoved']||!_0x3cbeae[_0x1e1b13-0x1]['isAdded']&&!_0x3cbeae[_0x1e1b13-0x1]['isAddSuggestion'])continue;_0x3a3bc1=_0x3cbeae[_0x1e1b13-0x1],_0x4ec110=_0x3cbeae[_0x1e1b13],_0x173cec=_0x1e1b13;}const _0x4c2c39=_0x3a3bc1['level']==_0x4ec110['level'],_0x1baf78=Math['abs'](_0x3a3bc1['level'])<Math['abs'](_0x4ec110['level'])&&0x0==_0x4ec110['distance'];(_0x4c2c39||_0x1baf78)&&(_0x8e2bce['set'](_0x4ec110['id'],_0x3a3bc1['id']),_0x3cbeae['splice'](_0x173cec,0x1),_0x1e1b13--,_0x3a3bc1['isAdded']=!0x1);}for(let _0x4f4ab7=0x0;_0x4f4ab7<_0x3cbeae['length'];_0x4f4ab7++)_0x8e2bce['has'](_0x3cbeae[_0x4f4ab7]['pairId'])&&(_0x3cbeae[_0x4f4ab7]['pairId']=_0x8e2bce['get'](_0x3cbeae[_0x4f4ab7]['pairId']));}['_removeMissingPairs'](_0x1aaa6d){const _0x5330d6=new Set(_0x1aaa6d['map'](_0x97c0e7=>_0x97c0e7['id']));for(let _0x4e6b97=0x0;_0x4e6b97<_0x1aaa6d['length'];_0x4e6b97++)_0x5330d6['has'](_0x1aaa6d[_0x4e6b97]['pairId'])||0x0==_0x1aaa6d[_0x4e6b97]['distance']||(_0x1aaa6d[_0x4e6b97]['isIncorrect']=!0x0);return _0x1aaa6d['filter'](_0x561974=>!_0x561974['isIncorrect']);}['_markMismatchedRemovedTags'](_0x228c67){const _0x5d89b2=new Set();for(let _0x5527cb=0x0;_0x5527cb<_0x228c67['length'];_0x5527cb++){if(_0x5d89b2['has'](_0x228c67[_0x5527cb]['id'])&&_0x228c67[_0x5527cb]['isRemoved']&&(_0x228c67[_0x5527cb]['isIncorrect']=!0x0),_0x228c67[_0x5527cb]['isIncorrect'])continue;if(0x0==_0x228c67[_0x5527cb]['distance'])continue;if('elementStart'!=_0x228c67[_0x5527cb]['type'])continue;if(null==_0x228c67[_0x5527cb]['pairId'])continue;let _0x2b1001=_0x5527cb+0x1,_0x58533d=0x0;for(;_0x228c67[_0x2b1001]['id']!=_0x228c67[_0x5527cb]['pairId'];)'elementStart'==_0x228c67[_0x2b1001]['type']?_0x58533d++:'elementEnd'==_0x228c67[_0x2b1001]['type']&&_0x58533d--,_0x2b1001++;if(0x0!=_0x58533d){if(_0x228c67[_0x5527cb]['isRemoved'])_0x228c67[_0x5527cb]['isIncorrect']=!0x0;else{for(;_0x2b1001!=_0x5527cb;)_0x228c67[_0x2b1001]['isRemoved']&&0x0!=_0x228c67[_0x2b1001]['distance']&&(_0x228c67[_0x2b1001]['isIncorrect']=!0x0,_0x5d89b2['add'](_0x228c67[_0x2b1001]['pairId'])),_0x2b1001--;}}}return _0x228c67['filter'](_0x45cb5a=>!_0x45cb5a['isIncorrect']);}['_removeUnsupportedChanges'](_0x503935){const _0xc9403d=this['editor']['model']['schema'];for(let _0x5ae7e8=0x0;_0x5ae7e8<_0x503935['length'];_0x5ae7e8++){if(!(_0x503935[_0x5ae7e8]['isAdded']||_0x503935[_0x5ae7e8]['isAddSuggestion']||_0x503935[_0x5ae7e8]['isRemoved']||_0x503935[_0x5ae7e8]['isRemoveSuggestion']))continue;if(0x0==_0x503935[_0x5ae7e8]['distance'])continue;const _0x3385ea=_0x503935[_0x5ae7e8]['item'];_0xc9403d['isBlock'](_0x3385ea)||_0xc9403d['isLimit'](_0x3385ea)||(_0x503935[_0x5ae7e8]['isAdded']&&delete _0x503935[_0x5ae7e8]['isAdded'],_0x503935[_0x5ae7e8]['isAddSuggestion']&&delete _0x503935[_0x5ae7e8]['isAddSuggestion'],_0x503935[_0x5ae7e8]['isRemoveSuggestion']&&delete _0x503935[_0x5ae7e8]['isRemoveSuggestion'],_0x503935[_0x5ae7e8]['isRemoved']&&(_0x503935[_0x5ae7e8]['isIncorrect']=!0x0));}return _0x503935['filter'](_0x511439=>!_0x511439['isIncorrect']);}['_makeModelFromTape'](_0x2cf027,_0x486e42,_0x1234fe){const _0x4d8fa9=new wt(),_0x560f0a=[],_0x4e9685=new Map(),_0x18f022=this['editor']['model'],_0x33be04=_0x18f022['schema'],_0x58030f=[_0x4d8fa9],_0x3da19b={},_0x3e2991={'isAdded':[],'isRemoved':[],'isAddSuggestion':[],'isRemoveSuggestion':[]};let _0x333761=null;const _0x34b589=[0x0];for(let _0x34e9bf=0x0;_0x34e9bf<_0x2cf027['length'];_0x34e9bf++){let _0x2e1dc6,_0x24197c;if('elementStart'===_0x2cf027[_0x34e9bf]['type']){_0x2e1dc6=_0x18f022['createPositionFromPath'](_0x4d8fa9,_0x34b589);const _0xe7971c=new ft(_0x2cf027[_0x34e9bf]['item']['name'],_0x2cf027[_0x34e9bf]['item']['getAttributes']());_0x58030f[0x0]['_appendChild'](_0xe7971c),_0x34b589['push'](0x0),_0x58030f['unshift'](_0xe7971c),_0x24197c=_0x18f022['createPositionFromPath'](_0x4d8fa9,_0x34b589),_0x333761=null;}else{if('elementEnd'===_0x2cf027[_0x34e9bf]['type'])_0x58030f['shift'](),_0x2e1dc6=_0x18f022['createPositionFromPath'](_0x4d8fa9,_0x34b589),_0x34b589['pop'](),_0x34b589[_0x34b589['length']-0x1]++,_0x24197c=_0x18f022['createPositionFromPath'](_0x4d8fa9,_0x34b589),_0x333761=null;else{if(_0x2e1dc6=_0x18f022['createPositionFromPath'](_0x4d8fa9,_0x34b589),_0x333761&&_0x2fdc66(_0x333761,_0x2cf027[_0x34e9bf]['item']))_0x333761['_data']+=_0x2cf027[_0x34e9bf]['item']['data'];else{const _0x5bad24=new _t(_0x2cf027[_0x34e9bf]['item']['data'],_0x2cf027[_0x34e9bf]['item']['getAttributes']());_0x58030f[0x0]['_appendChild'](_0x5bad24),_0x333761=_0x5bad24;}_0x34b589[_0x34b589['length']-0x1]+=_0x2cf027[_0x34e9bf]['item']['offsetSize'],_0x24197c=_0x18f022['createPositionFromPath'](_0x4d8fa9,_0x34b589);}}for(const _0x4fad56 of _0x2cf027[_0x34e9bf]['markersStart'])_0x4e9685['set'](_0x4fad56,{'start':_0x2e1dc6,'end':null});_0xc14389('isRemoveSuggestion',_0x34e9bf,_0x2e1dc6,_0x24197c),_0xc14389('isAddSuggestion',_0x34e9bf,_0x2e1dc6,_0x24197c),_0xc14389('isRemoved',_0x34e9bf,_0x2e1dc6,_0x24197c),_0xc14389('isAdded',_0x34e9bf,_0x2e1dc6,_0x24197c);for(const _0x2e24a2 of _0x2cf027[_0x34e9bf]['markersEnd']){_0x4e9685['get'](_0x2e24a2)['end']=_0x24197c;}}for(const [_0x5f7f39,_0x308f20]of _0x4e9685){const _0x65a800=this['editor']['model']['createRange'](_0x308f20['start'],_0x308f20['end']);_0x4d8fa9['markers']['set'](_0x5f7f39,_0x65a800);}return _0x560f0a['sort']((_0x402570,_0x6735ed)=>{const _0x324886=_0x4d8fa9['markers']['get']('revision:'+_0x402570['id']),_0xace5c6=_0x4d8fa9['markers']['get']('revision:'+_0x6735ed['id']);return _0x324886['start']['isBefore'](_0xace5c6['start'])?-0x1:_0x324886['start']['isAfter'](_0xace5c6['start'])?0x1:_0x324886['end']['isBefore'](_0xace5c6['end'])?-0x1:_0x324886['end']['isAfter'](_0xace5c6['end'])?0x1:'add'===_0x402570['type']?-0x1:0x1;}),{'root':_0x4d8fa9,'changes':_0x560f0a};function _0xc14389(_0x2e5455,_0x48c940,_0x4639f3,_0xd60c69){const _0x485b5f=!!_0x2cf027[_0x48c940][_0x2e5455],_0x1c4254=_0x485b5f?_0x2cf027[_0x48c940][_0x2e5455]['userId']:null,_0x41dcf7=_0x48c940===_0x2cf027['length']-0x1,_0x186da0=_0x3e2991[_0x2e5455][0x0],_0x227311=_0x33be04['isObject'](_0x2cf027[_0x48c940]['item']);!_0x3da19b[_0x2e5455]&&_0x485b5f?_0x3da19b[_0x2e5455]={'start':_0x4639f3,'tapeItem':_0x2cf027[_0x48c940],'userId':_0x1c4254,'type':_0x2e5455}:_0x3da19b[_0x2e5455]&&!_0x485b5f?(_0x3da19b[_0x2e5455]['end']=_0x4639f3,_0x9ff3c8(_0x3da19b[_0x2e5455]),_0x3da19b[_0x2e5455]=null):_0x3da19b[_0x2e5455]&&_0x485b5f&&_0x3da19b[_0x2e5455]['userId']!==_0x1c4254&&(_0x3da19b[_0x2e5455]['end']=_0x4639f3,_0x186da0&&_0x186da0['userId']===_0x3da19b[_0x2e5455]['userId']||_0x9ff3c8(_0x3da19b[_0x2e5455]),_0x3da19b[_0x2e5455]={'start':_0x4639f3,'tapeItem':_0x2cf027[_0x48c940],'userId':_0x1c4254,'type':_0x2e5455}),_0x3da19b[_0x2e5455]&&_0x227311&&('elementStart'!==_0x2cf027[_0x48c940]['type']||_0x186da0&&_0x186da0['userId']===_0x1c4254||_0x3e2991[_0x2e5455]['unshift']({'userId':_0x1c4254,'object':_0x2cf027[_0x48c940]['item'],'change':_0x3da19b[_0x2e5455]}),'elementEnd'===_0x2cf027[_0x48c940]['type']&&_0x186da0&&_0x186da0['object']===_0x2cf027[_0x48c940]['item']&&(_0x3e2991[_0x2e5455]['shift'](),_0x3da19b[_0x2e5455]=_0x186da0['change'])),_0x3da19b[_0x2e5455]&&_0x41dcf7&&(_0x3da19b[_0x2e5455]['end']=_0xd60c69,_0x9ff3c8(_0x3da19b[_0x2e5455]),_0x3da19b[_0x2e5455]=null);}function _0x9ff3c8({start:_0x5c79a6,end:_0x362742,tapeItem:_0x3693a7,userId:_0x5c8763,type:_0x469bda}){const _0x59ba9c=_0x3693a7['item'],_0x20f002=_0x18f022['schema']['isBlock'](_0x59ba9c)&&!_0x18f022['schema']['isLimit'](_0x59ba9c),_0x22d538=_0x5c79a6['nodeAfter']==_0x362742['parent']&&_0x362742['isAtStart'];if(_0x20f002&&_0x22d538)return;const _0x20702c=_0x18f022['createRange'](_0x5c79a6,_0x362742),_0x5e2923=_0x486e42['get'](_0x5c8763),_0x1df87e=new r({'author':_0x5e2923,'type':'isAdded'==_0x469bda||'isAddSuggestion'==_0x469bda?'add':'remove','data':{'isSuggestion':'isAddSuggestion'==_0x469bda||'isRemoveSuggestion'==_0x469bda},'createdAt':new Date(),'rootName':_0x1234fe});_0x560f0a['push'](_0x1df87e),_0x4d8fa9['markers']['set']('revision:'+_0x1df87e['id'],_0x20702c);}function _0x2fdc66(_0x5f17dd,_0x38fa1a){const _0x10c0b5=_0x5f17dd['getAttributes'](),_0x593e1e=_0x38fa1a['getAttributes']();for(const _0x5a5c95 of _0x10c0b5){if(_0x5a5c95[0x1]!==_0x38fa1a['getAttribute'](_0x5a5c95[0x0]))return!0x1;_0x593e1e['next']();}return _0x593e1e['next']()['done'];}}['_setConversion'](){this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'revision'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision','view':_0x6e77c0=>{const _0x127fef=_0x6e77c0['markerName']['split'](':')[0x1],_0x51147c=this['_getChangeFromId'](_0x127fef);if(!_0x51147c)return null;const _0x6960ea='add'==_0x51147c['type']?'insertion':'deletion',_0x4aaee5=['ck-suggestion-marker','ck-suggestion-marker-'+_0x6960ea];return _0x51147c['data']['isSuggestion']&&_0x4aaee5['push']('ck-suggestion-marker-'+_0x6960ea+'-new'),this['activeChange']==_0x51147c&&_0x4aaee5['push']('ck-suggestion-marker--active'),{'classes':_0x4aaee5,'attributes':{'data-change-id':_0x127fef}};}}),this['editor']['conversion']['for']('upcast')['add'](_0x17e77a=>{_0x17e77a['on']('element:pre',(_0x48d283,_0x192035,_0x1ffa7e)=>{const _0x333c91=_0x192035['viewItem']['getChild'](0x0);if(!_0x333c91||!_0x333c91['is']('element','code'))return;if(!_0x1ffa7e['consumable']['consume'](_0x333c91,{'attributes':['vid_start','vid_end']}))return;const _0x17ca23=_0x192035['modelRange']['start']['nodeAfter'];_0x1ffa7e['writer']['setAttribute']('vid_start',_0x333c91['getAttribute']('vid_start'),_0x17ca23),_0x1ffa7e['writer']['setAttribute']('vid_end',_0x333c91['getAttribute']('vid_end'),_0x17ca23);},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['add'](_0x2edadc=>{_0x2edadc['on']('element',(_0x56907d,_0x2cf5fa,_0xffa7c5)=>{if(!_0xffa7c5['consumable']['consume'](_0x2cf5fa['viewItem'],{'attributes':['vid_start','vid_end']}))return;if(_0x2cf5fa['modelRange']['isCollapsed'])return;const _0x189e7d=_0x2cf5fa['modelRange']['start']['nodeAfter'];_0x189e7d['hasAttribute']('vid_start')||_0x189e7d['hasAttribute']('vid')||(_0xffa7c5['writer']['setAttribute']('vid_start',_0x2cf5fa['viewItem']['getAttribute']('vid_start'),_0x189e7d),_0xffa7c5['writer']['setAttribute']('vid_end',_0x2cf5fa['viewItem']['getAttribute']('vid_end'),_0x189e7d));},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['elementToAttribute']({'view':{'name':'span','attributes':{'vid':!0x0}},'model':{'key':'vid','value':_0x128172=>_0x128172['getAttribute']('vid')}}),this['editor']['model']['schema']['on']('checkAttribute',(_0xa503d1,[,_0x41bb52])=>{['vid_start','vid_end','vid']['includes'](_0x41bb52)&&(_0xa503d1['return']=!0x0,_0xa503d1['stop']());},{'priority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['add'](_0x39839d=>{_0x39839d['on']('attribute:vid',(_0x1b8356,_0x1826bd,_0x1a6d1f)=>{if('\x20'!=_0x1826bd['item']['data']||_0x1826bd['item']['parent']['maxOffset']>0x1)return;if(!_0x1a6d1f['consumable']['consume'](_0x1826bd['item'],_0x1b8356['name']))return;const _0x53dfdf=_0x1a6d1f['writer'],_0x4b6232=_0x1a6d1f['mapper']['toViewRange'](_0x1826bd['range']);_0x53dfdf['wrap'](_0x4b6232,_0x53dfdf['createAttributeElement']('span'));});}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',function(_0xcbe71e){const _0x482824=_0xcbe71e['plugins']['get']('RevisionViewer');return(_0x52d452,_0x5379a9,_0x3abc99)=>{const _0x5c43df=_0x5379a9['markerName']['split'](':')[0x1],_0x52c1d7=_0x482824['_getChangeFromId'](_0x5c43df);if(!_0x52c1d7)return null;const _0x20eeec='add'==_0x52c1d7['type']?'split':'merge';if(!_0x3abc99['consumable']['test'](_0x5379a9['markerRange'],_0x52d452['name']))return;const _0x5c1b1e=_0x5379a9['markerRange']['getWalker'](),_0x33b39a=_0x5379a9['markerRange']['start'],_0x306253=_0xcbe71e['model']['schema'];let _0x1291ad=null,_0x194ac7=null,_0x3ec69d=!0x1,_0x353e2d=!0x1;for(const _0x28006b of _0x5c1b1e){const _0x17011e=_0x28006b['item'];_0x3ec69d=_0x3ec69d||_0x306253['isContent'](_0x17011e);const _0x1627e5=_0x3abc99['mapper']['toViewElement'](_0x17011e);if(_0x1627e5&&_0x1627e5['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x28006b['type']&&(_0x306253['isBlock'](_0x17011e)&&!_0x306253['isLimit'](_0x17011e)&&(_0x17011e['nextSibling']||_0x33b39a['isAtEnd']?_0x1291ad&&_0x1291ad['parent']==_0x17011e||(_0x1291ad=_0x17011e,_0x3c4c1b(_0x28006b['previousPosition']),_0x353e2d=!0x0):_0x194ac7=_0x194ac7||_0x28006b['previousPosition']));}function _0x3c4c1b(_0x946d4a){const _0x3194a0=_0x3abc99['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x20eeec}),_0x22686b=_0x3abc99['mapper']['toViewPosition'](_0x946d4a);_0x52c1d7['data']['isSuggestion']&&_0x3abc99['writer']['addClass']('ck-suggestion-marker-'+_0x20eeec+'-new',_0x3194a0),_0x482824['activeChange']==_0x52c1d7&&_0x3abc99['writer']['addClass']('ck-suggestion-marker--active',_0x3194a0),_0x3abc99['writer']['insert'](_0x22686b,_0x3194a0),_0x3abc99['mapper']['bindElementToMarker'](_0x3194a0,_0x5379a9['markerName']);}_0x3ec69d||_0x353e2d||!_0x194ac7||_0x3c4c1b(_0x194ac7);};}(this['editor']),{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('removeMarker:revision',(_0x3bc6fe,_0xcaf07e,_0x543e2f)=>{const _0x3dd2ef=_0x543e2f['mapper']['markerNameToElements'](_0xcaf07e['markerName']);if(_0x3dd2ef){for(const _0x5e1511 of _0x3dd2ef)(_0x5e1511['hasClass']('ck-suggestion-marker-split')||_0x5e1511['hasClass']('ck-suggestion-marker-merge'))&&(_0x543e2f['mapper']['unbindElementFromMarkerName'](_0x5e1511,_0xcaf07e['markerName']),_0x543e2f['writer']['remove'](_0x5e1511));}},{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',(_0x50d208,_0x135556,_0x12c215)=>{const _0x3f9e56=_0x135556['markerName']['split'](':')[0x1],_0x4a3b4e=this['_getChangeFromId'](_0x3f9e56);if(!_0x4a3b4e)return null;const _0x40160f='add'==_0x4a3b4e['type']?'split':'merge';if(_0x12c215['consumable']['test'](_0x135556['markerRange'],_0x50d208['name']))for(const _0x187b80 of _0x135556['markerRange']['getItems']()){if(!_0x187b80['is']('element','softBreak'))continue;const _0x58cbd8=_0x12c215['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x40160f}),_0x38c9aa=_0x12c215['mapper']['toViewPosition'](this['editor']['model']['createPositionBefore'](_0x187b80));_0x4a3b4e['data']['isSuggestion']&&_0x12c215['writer']['addClass']('ck-suggestion-marker-'+_0x40160f+'-new',_0x58cbd8),this['activeChange']==_0x4a3b4e&&_0x12c215['writer']['addClass']('ck-suggestion-marker--active',_0x58cbd8),_0x12c215['writer']['insert'](_0x38c9aa,_0x58cbd8),_0x12c215['mapper']['bindElementToMarker'](_0x58cbd8,_0x135556['markerName']);}},{'priority':'high'}),this['editor']['model']['document']['on']('change',()=>{this['editor']['editing']['view']['change'](_0x673776=>{for(const _0x34ee28 of this['editor']['model']['document']['getRootNames']()){const _0x2232f4=this['editor']['model']['document']['getRoot'](_0x34ee28),_0x4ba336=this['editor']['editing']['view']['document']['getRoot'](_0x34ee28);if(_0x4ba336){const _0x47ea7c=_0x2232f4['getAttribute']('revisionHistoryAttachChange');if(_0x673776['removeAttribute']('data-change-id',_0x4ba336),_0x673776['removeClass']('ck-revision-history-root-add',_0x4ba336),_0x673776['removeClass']('ck-revision-history-root-remove',_0x4ba336),_0x673776['removeClass']('ck-revision-history-root--active',_0x4ba336),_0x47ea7c){const _0x4e37b6=this['_getChangeFromId'](_0x47ea7c);if(!_0x4e37b6)return null;_0x673776['setAttribute']('data-change-id',_0x47ea7c,_0x4ba336),_0x673776['addClass']('ck-revision-history-root-'+_0x4e37b6['type'],_0x4ba336),this['activeChange']==_0x4e37b6&&_0x673776['addClass']('ck-revision-history-root--active',_0x4ba336);}}}});}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'comment','model':_0x10cbb3=>'revision-comment:'+_0x10cbb3,'converterPriority':'highest'}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'suggestion','model':_0x125c95=>'revision-suggestion:'+_0x125c95,'converterPriority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision-suggestion','view':_0xe1bd60=>({'name':'suggestion:'+_0xe1bd60,'group':'revision-suggestion'}),'converterPriority':'highest'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision-suggestion','view':_0x3d6071=>{const _0x13ca14=_0x3d6071['markerName']['split'](':')[0x1];return'insertion'!=_0x13ca14&&'deletion'!=_0x13ca14?null:{'classes':['ck-suggestion-preview-marker','ck-suggestion-preview-marker-'+_0x13ca14]};}}),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',(_0x430feb,_0x35876d,_0x2aec2e)=>{const _0x4df9ce=_0x2aec2e['mapper']['markerNameToElements'](_0x35876d['markerName']);if(_0x4df9ce){for(const _0x56a6e8 of _0x4df9ce)_0x56a6e8['is']('uiElement')&&(_0x2aec2e['mapper']['unbindElementFromMarkerName'](_0x56a6e8,_0x35876d['markerName']),_0x2aec2e['writer']['remove'](_0x56a6e8));}},{'priority':'high'});}['_getChangeFromId'](_0x43049c){return this['_changeIdToChange']['get'](_0x43049c);}['_getViewForChange'](_0x19f8e1){return this['_changeView']&&this['_changeView']['destroy'](),this['_changeView']=new Z(this['editor']['locale'],_0x19f8e1),this['_changeView'];}['_initInteractions'](){this['editor']['model']['document']['selection']['observeMarkers']('revision'),this['on']('change:activeView',(_0x57a5e7,_0x424723,_0x35b0b2,_0x3e7fca)=>{_0x3e7fca&&this['_balloon']['remove'](_0x3e7fca),_0x35b0b2&&(this['_balloon']['add']({'view':_0x35b0b2,'stackId':'revisionHistoryLabel','position':{'target':()=>{const _0x29d2db=this['editor']['editing'],_0x502cd6=this['_getChangeFromId'](_0x35b0b2['changeId']);let _0x4318ce;if(_0x502cd6['data']['isOnRoot']){const _0x4c3f6c=_0x29d2db['view']['getDomRoot'](_0x502cd6['rootName']);_0x4318ce=Array['from'](_0x4c3f6c['getClientRects']());}else{const _0x4af792=this['editor']['model']['markers']['get']('revision:'+_0x35b0b2['changeId']);_0x4318ce=Array['from'](_0x29d2db['mapper']['markerNameToElements'](_0x4af792['name']))['map'](_0x55add9=>_0x29d2db['view']['domConverter']['mapViewToDom'](_0x55add9))['map'](_0x27e6ed=>Array['from'](_0x27e6ed['getClientRects']()))['flat']();}if(!this['_activeViewTarget'])return _0x4318ce[0x0];return _0x4318ce['find'](_0x405742=>_0x405742['top']-0x3<=this['_activeViewTarget']['y']&&_0x405742['bottom']+0x3>=this['_activeViewTarget']['y']&&_0x405742['left']-0x3<=this['_activeViewTarget']['x']&&_0x405742['right']+0x3>=this['_activeViewTarget']['x'])||_0x4318ce[0x0];}}}),this['_balloon']['showStack']('revisionHistoryLabel'));}),this['on']('change:activeChange',(_0x40c5b3,_0x3a4c4a,_0x4df6e5,_0x58c53e)=>{this['activeView']=_0x4df6e5?this['_getViewForChange'](_0x4df6e5):null,this['editor']['model']['change'](()=>{const _0x5e1f45=this['editor']['editing'];_0x58c53e&&(_0x58c53e['data']['isOnRoot']?_0x5e1f45['view']['change'](_0x40c2e8=>{_0x40c2e8['removeClass']('ck-revision-history-root--active',_0x5e1f45['view']['document']['getRoot'](_0x58c53e['rootName']));}):_0x5e1f45['reconvertMarker']('revision:'+_0x58c53e['id'])),_0x4df6e5&&(_0x4df6e5['data']['isOnRoot']?_0x5e1f45['view']['change'](_0x43b7cb=>{_0x43b7cb['addClass']('ck-revision-history-root--active',_0x5e1f45['view']['document']['getRoot'](_0x4df6e5['rootName']));}):_0x5e1f45['reconvertMarker']('revision:'+_0x4df6e5['id']));});}),this['listenTo'](this['editor']['editing']['view']['document'],'mouseover',(_0x1b7aa4,_0x4261b9)=>{if(this['activeChange'])return;const _0x281f67=this['_findChangeIdFromDomTarget'](_0x4261b9['target']),_0x51bdaf=this['_changeIdToChange']['get'](_0x281f67);_0x51bdaf?(this['_activeViewTarget']={'x':_0x4261b9['domEvent']['x'],'y':_0x4261b9['domEvent']['y']},this['activeView']=this['_getViewForChange'](_0x51bdaf)):(this['_activeViewTarget']=null,this['activeView']=null);}),this['listenTo'](this['editor']['editing']['view']['document'],'mousedown',(_0x2ceb0e,_0x51a786)=>{const _0x2b7452=this['_findChangeIdFromDomTarget'](_0x51a786['target']),_0x44a926=this['_changeIdToChange']['get'](_0x2b7452);_0x44a926?(this['_activeViewTarget']={'x':_0x51a786['domEvent']['x'],'y':_0x51a786['domEvent']['y']},_0x44a926===this['activeChange']?this['_balloon']['updatePosition']():this['activeChange']=_0x44a926):(this['_activeViewTarget']=null,this['activeChange']=null);});}['_findChangeIdFromDomTarget'](_0x5dcf28){do{const _0x48b61d=_0x5dcf28['getAttribute']('data-change-id');if(_0x48b61d)return _0x48b61d;_0x5dcf28=_0x5dcf28['parent'];}while(_0x5dcf28);return null;}['_cleanMarkers'](){this['editor']['model']['change'](_0x4992bb=>{for(const _0x3d873d of this['editor']['model']['markers'])_0x4992bb['removeMarker'](_0x3d873d);});}}function et(_0x93012a,_0xc8f10b){return(_0x96c55c,_0x1bba81,_0x308341)=>{if(!_0x308341['consumable']['test'](_0x1bba81['markerRange'],_0x96c55c['name']))return;const _0x5354e6=_0x1bba81['markerRange']['getWalker'](),_0xa671a2=_0x1bba81['markerRange']['start'],_0x13c8e6=_0x93012a['model']['schema'];let _0x22dfca=null,_0xcc44a2=null,_0x58066b=!0x1,_0x330c5d=!0x1;for(const _0x60d93f of _0x5354e6){const _0x17e6f1=_0x60d93f['item'];_0x58066b=_0x58066b||_0x13c8e6['isContent'](_0x17e6f1);const _0x585832=_0x308341['mapper']['toViewElement'](_0x17e6f1);if(_0x585832&&_0x585832['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x60d93f['type']&&(_0x13c8e6['isBlock'](_0x17e6f1)&&!_0x13c8e6['isLimit'](_0x17e6f1)&&(_0x17e6f1['nextSibling']||_0xa671a2['isAtEnd']?_0x22dfca&&_0x22dfca['parent']==_0x17e6f1||(_0x22dfca=_0x17e6f1,_0x4ada77(_0x60d93f['previousPosition']),_0x330c5d=!0x0):_0xcc44a2=_0xcc44a2||_0x60d93f['previousPosition']));}function _0x4ada77(_0x177c04){const _0x2bbe5e=_0x308341['mapper']['toViewPosition'](_0x177c04),_0x3ed02b=_0x308341['writer']['createUIElement']('span',{'class':'ck-suggestion-preview-marker-'+_0xc8f10b});_0x308341['writer']['insert'](_0x2bbe5e,_0x3ed02b),_0x308341['mapper']['bindElementToMarker'](_0x3ed02b,_0x1bba81['markerName']);}_0x58066b||_0x330c5d||!_0xcc44a2||_0x4ada77(_0xcc44a2);};}class bt extends _0xc8f935{constructor(_0x2d99f5){super(_0x2d99f5);const _0x43bf85=_0x2d99f5['plugins']['get'](d);this['affectsData']=!0x1,this['listenTo'](_0x43bf85,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x43bf85,'change:isEnabled',()=>this['refresh']());}['execute'](){const _0x4593b7=this['editor'],_0x43ec99=_0x4593b7['plugins']['get'](d),_0x5c3837=_0x43ec99['isReady']?_0x43ec99['diff']['newRevisionId']:null;_0x4593b7['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x5c3837);}['refresh'](){const {isReady:_0x4e0b99,isEnabled:_0x3a0b69}=this['editor']['plugins']['get'](d);this['isEnabled']=_0x4e0b99&&_0x3a0b69;}}class yt extends _0xc8f935{['_step'];constructor(_0x3445f7,{direction:_0x3240c6}){super(_0x3445f7);const _0x177e17=_0x3445f7['plugins']['get'](d);this['affectsData']=!0x1,this['_step']='forward'===_0x3240c6?0x1:-0x1,this['listenTo'](_0x177e17,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x177e17,'change:isEnabled',()=>this['refresh']()),this['listenTo'](_0x177e17,'change:activeChange',()=>this['refresh']());}['execute'](){const _0x5d4630=this['editor'],_0x43eeb7=_0x5d4630['plugins']['get'](d),{isNavigationMode:_0x5ac522,currentChangeNumber:_0x4698d5}=_0x43eeb7;let _0x576fa9;if(_0x43eeb7['activeChange']=_0x5ac522?_0x43eeb7['diff']['changes']['get'](_0x4698d5+this['_step']):_0x43eeb7['diff']['changes']['first'],_0x43eeb7['activeChange']['data']['isOnRoot'])_0x576fa9=_0x5d4630['editing']['view']['getDomRoot'](_0x43eeb7['activeChange']['rootName']);else{const _0x2a469a=_0x5d4630['model']['markers']['get']('revision:'+_0x43eeb7['activeChange']['id']);_0x576fa9=_0x5f4de8(_0x5d4630['editing'],_0x2a469a);}_0x2d8ca2({'target':_0x576fa9,'viewportOffset':0x28});}['refresh'](){const {isNavigationMode:_0x287b2d,currentChangeNumber:_0x27031f,numberOfChanges:_0x121633,isReady:_0x571067,isEnabled:_0x577d2d}=this['editor']['plugins']['get'](d);this['isEnabled']=!!(_0x577d2d&&_0x571067&&_0x121633)&&(!_0x287b2d||(0x1===this['_step']?_0x27031f<_0x121633-0x1:_0x27031f>0x0));}}class _i extends _0x1bde3f{constructor(_0x312353){super(_0x312353);const _0x40f22d=this['bindTemplate'],_0x11b2a7=new _0x4c84c5(_0x312353),_0x2282f8=new _0x4c84c5(_0x312353);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',(_0x455e42,_0x7576e2)=>_0x455e42&&_0x7576e2>0x0),this['bind']('_statusText')['to'](this,'isReady',this,'currentChangeNumber',this,'numberOfChanges',this,'isNavigationMode',(_0x55f01d,_0x262f61,_0x51b63f,_0x5af321)=>{if(!_0x55f01d)return y(_0x312353,'Loading...');if(!_0x51b63f)return y(_0x312353,'No\x20changes');const _0x22d2b7=y(_0x312353,'NUMBER_OF_CHANGES',_0x51b63f);return _0x5af321?y(_0x312353,'X_OF_Y_CHANGES',[_0x262f61+0x1,_0x51b63f]):_0x22d2b7;}),_0x11b2a7['set']({'label':y(_0x312353,'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'}),_0x2282f8['set']({'label':y(_0x312353,'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'}),_0x11b2a7['bind']('isEnabled')['to'](this,'isBackwardNavigationEnabled'),_0x2282f8['bind']('isEnabled')['to'](this,'isForwardNavigationEnabled'),_0x11b2a7['on']('execute',()=>this['fire']('execute','backward')),_0x2282f8['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',_0x40f22d['if']('_isStatusLabelVisible','ck-hidden',_0x250bb1=>!_0x250bb1)]},'children':[{'text':_0x40f22d['to']('isNavigationMode',_0xa36dce=>_0xa36dce?y(_0x312353,'EDIT_X_OF_Y_REVISIONS')+':\x20':y(_0x312353,'Total')+':\x20')}]},{'text':_0x40f22d['to']('_statusText')}]},new _0x23ef45(),{'tag':'div','attributes':{'class':['ck-revision-history-ui__changes-navigation__navigation']},'children':[_0x11b2a7,_0x2282f8]}]});}}const ce='ck-editor__editable__loading-overlay';class de extends _0x10a6ce{static get['pluginName'](){return'RevisionViewerLoadingOverlay';}['show'](){const _0x3c6c6b=this['editor']['editing']['view'];_0x3c6c6b['change'](_0x330e41=>{for(const _0x544d30 of _0x3c6c6b['document']['roots'])_0x330e41['addClass'](ce,_0x544d30);});}['hide'](){const _0x257a6a=this['editor']['editing']['view'];_0x257a6a['change'](_0x412a20=>{for(const _0x5358c of _0x257a6a['document']['roots'])_0x412a20['removeClass'](ce,_0x5358c);});}}class R extends _0x10a6ce{static get['pluginName'](){return'RevisionViewerUI';}static get['requires'](){return[d,de];}['init'](){const _0x239a92=this['editor'],_0x16f8a1=_0x239a92['plugins']['get'](d),_0x156daa=_0x239a92['plugins']['get'](de);_0x239a92['ui']['componentFactory']['add']('exitToEditing',_0x34f4b=>{const _0x11e9db=new _0x4c84c5(_0x34f4b);return _0x11e9db['set']({'label':y(_0x34f4b,'Back\x20to\x20editing'),'icon':_0x16bf45['undo'],'withText':!0x0,'tooltip':!0x0,'class':'ck-revision-history-ui__back-to-editing'}),this['listenTo'](_0x11e9db,'execute',()=>{_0x239a92['config']['get']('revisionHistory')['closeRevisionViewerCallback']();}),_0x11e9db;}),_0x239a92['ui']['componentFactory']['add']('restoreRevision',_0x455da6=>{const _0x279ecc=new _0x4c84c5(_0x455da6);return _0x279ecc['set']({'label':y(_0x455da6,'Restore\x20this\x20revision'),'withText':!0x0,'tooltip':!0x0}),_0x279ecc['bind']('isEnabled')['to'](_0x239a92['commands']['get']('restoreRevision')),this['listenTo'](_0x279ecc,'execute',()=>_0x239a92['execute']('restoreRevision')),_0x279ecc;}),_0x239a92['ui']['componentFactory']['add']('changesNavigation',_0x57d6b1=>{const _0x44eeaf=new _i(_0x57d6b1),_0x4abf48=_0x239a92['commands']['get']('showPreviousChange'),_0x423ee5=_0x239a92['commands']['get']('showNextChange');return _0x44eeaf['bind']('isBackwardNavigationEnabled')['to'](_0x4abf48,'isEnabled'),_0x44eeaf['bind']('isForwardNavigationEnabled')['to'](_0x423ee5,'isEnabled'),_0x44eeaf['bind']('isReady','currentChangeNumber','numberOfChanges','isNavigationMode')['to'](_0x16f8a1),this['listenTo'](_0x44eeaf,'execute',(_0x21b092,_0x302b28)=>{_0x239a92['execute']('forward'===_0x302b28?'showNextChange':'showPreviousChange');}),_0x44eeaf;}),_0x156daa['show'](),_0x16f8a1['on']('change:isReady',(_0x32d527,_0xab7d60,_0x25b4f3)=>{_0x25b4f3?_0x156daa['hide']():_0x156daa['show']();});}}class kt extends at{['_resizeObserver']=null;constructor(_0x15d27e,_0x45891a){super(_0x15d27e,_0x45891a);const _0x3bd2f5=this['bindTemplate'];this['set']({'label':y(_0x15d27e,'Revision\x20name'),'_tooltipString':''}),this['fieldView']['placeholder']=y(_0x15d27e,'Enter\x20the\x20revision\x20name'),this['extendTemplate']({'tag':'span','attributes':{'class':['ck-revision-history-sidebar__revision-name'],'data-cke-tooltip-text':_0x3bd2f5['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 _0x1aff8e=this['fieldView']['element'];this['_tooltipString']=_0x1aff8e['scrollWidth']>_0x1aff8e['clientWidth']&&_0x1aff8e['value']||'';}}class ti extends _0x1bde3f{constructor(_0x53c1b8,_0xf76fa5,_0x31e4d9){super(_0x53c1b8);const _0x562bf8=new _0x15c1a6();_0x562bf8['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 _0x1f076f=['ck','ck-revision-history-sidebar__revision-author'];_0x31e4d9&&_0x1f076f['push']('ck-revision-history-sidebar__revision-author_creator');const _0x3959c7=[{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__revision-author__name'],'title':y(_0x53c1b8,_0x31e4d9?'Revision\x20creator':'Revision\x20author')},'children':[_0x562bf8,_0xf76fa5['name']]}];this['setTemplate']({'tag':'li','attributes':{'class':_0x1f076f},'children':_0x3959c7});}}function ni(_0x2b5718,_0x53ead9){const _0x466794=_0x2b5718['bindTemplate'],_0x5207da=_0x2b5718['locale'],_0x3bf1ad=_0x43b98b(_0x5207da);_0x3bf1ad['panelPosition']='sw';const _0xe234b=function(_0x47c4c8,_0x36ed59){const _0x4fe989=function(_0x1e20a1,_0x446040){const _0x23072c=_0x1e20a1['locale'],_0x15134e={'Compare\x20against\x20selected':y(_0x23072c,'Compare\x20against\x20selected'),'Name\x20this\x20revision':y(_0x23072c,'Name\x20this\x20revision'),'Restore\x20this\x20revision':y(_0x23072c,'Restore\x20this\x20revision')};return _0x446040['map'](_0x5d2243=>{const _0x411ab6=_0x15134e[_0x5d2243['name']];return _0x411ab6&&_0x411ab6!==_0x5d2243['name']&&(_0x5d2243['name']=_0x411ab6),_0x5d2243;});}(_0x47c4c8,_0x36ed59),_0x338460=new _0x1ebc2d();for(const _0x5c7715 of _0x4fe989){const _0x53cdf6={'type':'button','model':new to({'label':_0x5c7715['name'],'class':_0x5c7715['class'],'withText':!0x0,'role':'menuitem','_action':_0x5c7715['action']})};_0x53cdf6['model']['bind']('isEnabled')['to'](_0x47c4c8,'isActionsDropdownOpen',_0x2f7959=>'function'!=typeof _0x5c7715['isEnabled']||(!_0x2f7959||_0x5c7715['isEnabled'](_0x47c4c8))),_0x338460['add'](_0x53cdf6);}return _0x338460;}(_0x2b5718,_0x53ead9);return _0x2b5718['bind']('isActionsDropdownOpen')['to'](_0x3bf1ad,'isOpen'),_0x3bf1ad['buttonView']['set']({'label':y(_0x5207da,'Show\x20more\x20items'),'tooltip':!0x0,'tooltipPosition':'sw','icon':_0x16bf45['threeVerticalDots']}),_0x3bf1ad['extendTemplate']({'attributes':{'class':['ck-revision-history-sidebar__revision__actions',_0x466794['if']('isActionsDropdownOpen','ck-on')]},'on':{'click':_0x466794['to'](_0x116ef4=>_0x116ef4['stopPropagation']())}}),_0x3bf1ad['on']('execute',_0x4b6c2a=>{_0x2b5718['isReady']&&'function'==typeof _0x4b6c2a['source']['_action']&&_0x4b6c2a['source']['_action'](_0x2b5718);}),_0x37fb85(_0x3bf1ad,_0xe234b,{'role':'menu'}),_0x3bf1ad['listenTo'](_0x2b5718,'change:isActionsDropdownOpen',(_0x6d4d04,_0x41fb4a,_0x5bc96d)=>{if(_0x5bc96d)for(const _0x5b7fcd of _0x3bf1ad['listView']['items']){const _0x1744bb=_0x5b7fcd['children']['first'],_0x412eca=_0x53ead9['find'](_0x5142cd=>_0x5142cd['action']===_0x1744bb['_action'])['isVisible'];_0x5b7fcd['isVisible']=void 0x0===_0x412eca||_0x412eca(_0x2b5718);}}),_0x3bf1ad;}class ai extends/* #__PURE__ -- @preserve */
26
+ _0x2df86e(_0x1bde3f){['id'];['revisionNameView'];['revisionActionsView'];['_revision'];['_requireRevisionName'];constructor(_0x1e9ebe,_0x5e86e2,_0x42c8b1,_0x35a4e7){super(_0x1e9ebe);const _0x22b512=this['bindTemplate'],_0x24e527=function(_0x31a742,_0x22e2ab){const _0x2dbe7c=Array['from'](_0x22e2ab['authors'])['filter'](_0x5aff93=>_0x5aff93!=_0x22e2ab['creator']);return _0x22e2ab['creator']&&_0x2dbe7c['unshift'](_0x22e2ab['creator']),_0x2dbe7c['map'](_0x4616d4=>new ti(_0x31a742,_0x4616d4,_0x4616d4==_0x22e2ab['creator']));}(_0x1e9ebe,_0x5e86e2);this['id']=_0x5e86e2['id'],this['_revision']=_0x5e86e2,this['_requireRevisionName']=_0x35a4e7,this['bind']('name','createdAt')['to'](_0x5e86e2),this['bind']('_createdAtFormatted')['to'](this,'createdAt',_0x35ea48=>{return _0x11e332=_0x1e9ebe['uiLanguage'],(_0x3c180b=_0x35ea48)['toLocaleDateString'](_0x11e332,{'month':'long','day':'numeric'})+',\x20'+_0x3c180b['toLocaleTimeString'](_0x11e332,{'hour':'numeric','minute':'numeric'});var _0x11e332,_0x3c180b;}),this['set']('isSelected',!0x1),this['set']('isHighlighted',!0x1),this['set']('isActionsDropdownOpen',!0x1),this['set']('isReady',!0x1),this['set']('isEnabled',!0x1),this['revisionNameView']=new kt(_0x1e9ebe,_0x22aff1),this['revisionNameView']['fieldView']['extendTemplate']({'attributes':{'maxlength':'220'}}),this['revisionNameView']['fieldView']['bind']('value')['to'](this,'name',_0x46d92c=>_0x46d92c||this['_createdAtFormatted']),this['revisionNameView']['bind']('isEnabled')['to'](this,'isSelected',this,'isEnabled',(_0x5bcafa,_0x1f5e56)=>_0x5bcafa&&_0x1f5e56),this['revisionActionsView']=_0x42c8b1&&_0x42c8b1['length']?ni(this,_0x42c8b1):'',this['revisionActionsView']&&this['revisionActionsView']['bind']('isEnabled')['to'](this),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision-wrapper',_0x22b512['if']('isConfirm','ck-revision-history-sidebar__revision-wrapper_confirmation_visible')]},'children':[{'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision',_0x22b512['if']('isEnabled','ck-disabled',_0x557462=>!_0x557462),_0x22b512['if']('isSelected','ck-revision-history-sidebar__revision_selected'),_0x22b512['if']('isHighlighted','ck-revision-history-sidebar__revision_highlighted'),_0x22b512['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':_0x22b512['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':_0x24e527}]},this['revisionActionsView']],'on':{'click':_0x22b512['to'](_0x495fa6=>{_0x495fa6['srcElement']['closest']('.ck-thread__remove-confirm')||this['isReady']&&this['isEnabled']&&this['fire']('select',{'id':this['id']});})}}]});}['render'](){super['render']();const _0x304e60=this['revisionNameView']['fieldView']['element'];this['listenTo'](_0x304e60,'change',()=>{this['_requireRevisionName']&&!_0x304e60['value']||this['fire']('setName',{'id':this['id'],'name':_0x304e60['value']}),_0x304e60['value']||(_0x304e60['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(_0x392cf5,_0x202ff9){const _0x21d51f=_0x10483a['fromJSDate'](_0x392cf5)['setLocale'](_0x202ff9),_0x456f9b=_0x10483a['local'](),_0x3f0115=_0x456f9b['minus']({'days':0x1})['startOf']('day');let _0x3b5d12,_0x2723e9;return _0x21d51f['hasSame'](_0x456f9b,'day')?(_0x3b5d12=_0x21d51f['startOf']('day')['toJSDate'](),_0x2723e9=_0x21d51f['toRelativeCalendar']()):_0x21d51f['hasSame'](_0x3f0115,'day')?(_0x3b5d12=_0x3f0115['toJSDate'](),_0x2723e9=_0x21d51f['toRelativeCalendar']()):_0x21d51f['hasSame'](_0x456f9b,'week')?(_0x3b5d12=_0x21d51f['startOf']('week')['toJSDate'](),_0x2723e9=_0x21d51f['weekdayLong']||''):_0x21d51f['hasSame'](_0x456f9b,'year')?(_0x3b5d12=_0x21d51f['startOf']('month')['toJSDate'](),_0x2723e9=_0x21d51f['monthLong']||''):(_0x3b5d12=_0x21d51f['startOf']('year')['toJSDate'](),_0x2723e9=String(_0x21d51f['year'])),{'startDate':_0x3b5d12,'localizedPeriodName':_0x2723e9};}class mi extends _0x1bde3f{['startDate'];['revisionViews'];['_revisionActions'];['_requireRevisionName'];constructor(_0x5c711a,_0x348be2,_0x5885fe,_0x4bafc5){super(_0x5c711a);const _0x542b07=di(_0x348be2,this['locale']['uiLanguage'])['localizedPeriodName'];this['startDate']=_0x348be2,this['revisionViews']=this['createCollection'](),this['_revisionActions']=_0x5885fe,this['_requireRevisionName']=_0x4bafc5,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':_0x542b07}]},{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__time-period__revisions']},'children':this['revisionViews']}]});}['addRevision'](_0x41178c){const _0x516814=new ai(this['locale'],_0x41178c,this['_revisionActions'],this['_requireRevisionName']);this['revisionViews']['add'](_0x516814);}['removeRevision'](_0x2ef926){const _0x1f2ee6=this['revisionViews']['find'](_0x3afe34=>_0x3afe34['id']===_0x2ef926['id']);this['revisionViews']['remove'](_0x1f2ee6);}}class as extends _0x1bde3f{constructor(_0x5331fc){super(_0x5331fc);const _0x3c9d21=new _0x15c1a6();_0x3c9d21['content']=_0x16bf45['history'],this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all','ck-revision-history-sidebar__header']},'children':[_0x3c9d21,{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__header__label']},'children':[y(_0x5331fc,'Revision\x20history')]}]});}}class ci extends _0x1bde3f{['timePeriodViews'];['_revisions'];['_revisionActions'];['_requireRevisionName'];constructor(_0x3effad,_0x23c535,_0x2bfc2e,_0x94f809){super(_0x3effad);const _0xd22b81=this['bindTemplate'];this['timePeriodViews']=this['createCollection'](),this['timePeriodViews']['delegate']('select')['to'](this),this['timePeriodViews']['delegate']('setName')['to'](this),this['_revisions']=_0x23c535,this['_revisionActions']=_0x2bfc2e,this['_requireRevisionName']=_0x94f809,this['on']('select',(_0x579cb9,_0x3da787)=>{this['fire']('revisionSelected',_0x3da787);}),this['on']('setName',(_0x4e11ca,_0x5d8986)=>{this['fire']('revisionSetName',_0x5d8986);}),this['set']('isEnabled',!0x1),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-rounded-corners','ck-revision-history-sidebar']},'children':[new as(_0x3effad),{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__timeline',_0xd22b81['if']('isEnabled','ck-disabled',_0x7f022b=>!_0x7f022b)]},'children':this['timePeriodViews']}]});}['render'](){super['render']();for(const _0x411603 of this['_revisions'])this['_addRevision'](_0x411603);this['_revisions']['on']('add',(_0x13a87c,_0x15a819)=>{this['_addRevision'](_0x15a819);}),this['_revisions']['on']('remove',(_0x3c50b3,_0x13212f)=>{this['_removeRevision'](_0x13212f);});}get['revisionViews'](){return this['timePeriodViews']['map'](_0x30688b=>_0x30688b['revisionViews']['map'](_0x33491d=>_0x33491d))['flat']();}['selectRevision'](_0x127f70){for(const _0x4c99af of this['revisionViews'])_0x127f70&&_0x127f70['id']===_0x4c99af['id']?_0x4c99af['select']():_0x4c99af['deselect']();}['highlightRevisions'](_0x2c67c8){for(const _0x3650c1 of this['revisionViews'])_0x2c67c8['some'](({id:_0x480a38})=>_0x480a38===_0x3650c1['id'])?_0x3650c1['highlight']():_0x3650c1['unhighlight']();}['_addRevision'](_0x52b639){const _0x3e2062=di(_0x52b639['createdAt'],this['locale']['uiLanguage'])['startDate'];let _0x2d7a92=this['timePeriodViews']['get'](0x0);_0x2d7a92&&_0x2d7a92['startDate']['getTime']()===_0x3e2062['getTime']()||(_0x2d7a92=new mi(this['locale'],_0x3e2062,this['_revisionActions'],this['_requireRevisionName']),this['timePeriodViews']['add'](_0x2d7a92)),_0x2d7a92['addRevision'](_0x52b639);}['_removeRevision'](_0x268795){const _0xde45b2=di(_0x268795['createdAt'],this['locale']['uiLanguage'])['startDate'];this['_getTimePeriodViewByStartDate'](_0xde45b2)['removeRevision'](_0x268795);}['_getTimePeriodViewByStartDate'](_0xb1a0b1){return this['timePeriodViews']['find'](_0x35fbc4=>_0x35fbc4['startDate']['getTime']()===_0xb1a0b1['getTime']());}}class w extends _0x10a6ce{['_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(_0xd34dd5){super(_0xd34dd5),this['_revisionViewer']=_0xd34dd5['plugins']['get'](d),this['_revisionsRepository']=this['_revisionViewer']['repository'],this['_sidebarView']=null;}['init'](){const _0x2c3dfe=this['_revisionsRepository']['_revisions'],_0x444b65=this['_createRevisionActions'](),_0x1af33a=this['editor']['config']['get']('revisionHistory.viewerSidebarContainer');this['_sidebarView']=new ci(this['editor']['locale'],_0x2c3dfe,_0x444b65,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',(_0x5128c1,_0x4ddbc6)=>{_0x4ddbc6['revisionViews']['on']('add',(_0x2cb601,_0x47ffa1)=>{_0x47ffa1['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)),_0x1af33a['appendChild'](this['_sidebarView']['element']);}['destroy'](){this['_sidebarView']['element']['remove'](),this['_sidebarView']['destroy']();}['_handleEditorDataReady'](){const _0x4f6502=this['_revisionsRepository']['getRevision'](0x0);if(_0x4f6502){const _0x38cfd2=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x4f6502['id']);this['_revisionViewer']['compare'](_0x4f6502,_0x38cfd2);}}['_handleRevisionSelected'](_0x5dbd7d,_0x44ed25){const _0x277ab1=this['_revisionsRepository']['getRevision'](_0x44ed25['id']),_0x3bd1bb=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x277ab1['id']);this['_revisionViewer']['compare'](_0x277ab1,_0x3bd1bb);}['_handleRevisionSetName'](_0x2795db,_0x3063ad){this['_revisionsRepository']['getRevision'](_0x3063ad['id'])['setName'](_0x3063ad['name']);}['_handleDiffChange'](_0x371d95,_0x5af8a8,_0x27eb65){const _0x2a1eb1=this['_revisionsRepository']['getRevisionsInDiff'](_0x27eb65);_0x2a1eb1['length']>0x2?(this['_sidebarView']['highlightRevisions'](_0x2a1eb1),this['_sidebarView']['selectRevision'](null)):(this['_sidebarView']['highlightRevisions']([]),this['_sidebarView']['selectRevision'](_0x2a1eb1[0x0]));}['_createRevisionActions'](){const _0x2c38ef=this['editor'],_0x55311c=w['availableRevisionActions'],_0x5c9ac4=_0x2c38ef['config']['get']('revisionHistory.revisionActions')||w['defaultRevisionActions'];if(_0x5c9ac4['length'])return _0x5c9ac4['map'](_0x5dd35a=>{const _0x5d3acb='string'==typeof _0x5dd35a?Object['assign']({},_0x55311c[_0x5dd35a]):_0x5dd35a;return _0x5d3acb['action']=_0x5d3acb['action']['bind'](this,_0x2c38ef),_0x5d3acb['isVisible']&&(_0x5d3acb['isVisible']=_0x5d3acb['isVisible']['bind'](this,_0x2c38ef)),_0x5d3acb;});}}function Rt(){return{'compareAgainstSelected':{'name':'Compare\x20against\x20selected','action':({plugins:_0x3f1b81},_0xc38ade)=>{const _0x4e35cb=_0x3f1b81['get'](d),_0x4923c8=_0x4e35cb['repository'];let _0xc4fb9a=_0x4e35cb['diff']['newRevisionId'],_0xa327b2=_0xc38ade['id'];_0x4923c8['getIndex'](_0xc4fb9a)>_0x4923c8['getIndex'](_0xa327b2)&&([_0xc4fb9a,_0xa327b2]=[_0xa327b2,_0xc4fb9a]),_0x4e35cb['compare'](_0xc4fb9a,_0xa327b2);},'isVisible':({plugins:_0x332a64},_0x496674)=>{const _0x4e62e3=_0x332a64['get'](d);return!(_0x4e62e3['repository']['getRevisionsInDiff'](_0x4e62e3['diff'])['length']>0x2)&&!_0x496674['isSelected'];}},'restoreRevision':{'name':'Restore\x20this\x20revision','action':(_0x1f91ba,{id:_0x208c54})=>{_0x1f91ba['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x208c54);},'isVisible':({plugins:_0x330364},_0x1ccde3)=>!!_0x330364['get'](d)['repository']['getLaterVisibleRevision'](_0x1ccde3['id'])},'nameRevision':{'name':'Name\x20this\x20revision','action':({plugins:_0x3f6ba4},{id:_0x48a8f0,revisionNameView:_0x3529c3})=>{const _0x2f4cda=_0x3f6ba4['get'](d),_0x2a690e=_0x2f4cda['repository']['getEarlierVisibleRevision'](_0x48a8f0);_0x2f4cda['compare'](_0x48a8f0,_0x2a690e),_0x3529c3['focus'](),_0x3529c3['fieldView']['select']();}}};}class st extends ht{['_view'];['_toolbarConfig'];['_elementReplacer'];get['view'](){return this['_view'];}constructor(_0x2cee75,_0x48fc6e){super(_0x2cee75),this['_view']=_0x48fc6e,this['_toolbarConfig']=ct(_0x2cee75['config']['get']('toolbar')),this['_elementReplacer']=new nt();}get['element'](){return this['view']['element'];}['init'](_0x5955f6){const _0x489c49=this['editor'],_0x67447a=this['view'],_0x52133d=_0x489c49['editing']['view'],_0x4ccdc8=_0x67447a['editable'],_0x53fb69=_0x52133d['document']['getRoot']();_0x4ccdc8['name']=_0x53fb69['rootName'],_0x67447a['render']();const _0x11930d=_0x4ccdc8['element'];this['setEditableElement'](_0x4ccdc8['name'],_0x11930d),_0x67447a['editable']['bind']('isFocused')['to'](this['focusTracker']),_0x52133d['attachDomRoot'](_0x11930d),this['_elementReplacer']['replace'](_0x5955f6,this['element']),this['_initToolbar'](),this['fire']('ready');}['destroy'](){super['destroy']();const _0x2dded0=this['view'],_0x377329=this['editor']['editing']['view'];this['_elementReplacer']['restore'](),_0x377329['detachDomRoot'](_0x2dded0['editable']['name']),_0x2dded0['destroy']();}['_initToolbar'](){const _0x1b3542=this['view'];_0x1b3542['stickyPanel']['bind']('isActive')['to'](this['focusTracker'],'isFocused'),_0x1b3542['stickyPanel']['limiterElement']=_0x1b3542['element'],_0x1b3542['stickyPanel']['bind']('viewportTopOffset')['to'](this,'viewportOffset',({top:_0x5cc550})=>_0x5cc550),_0x1b3542['toolbar']['fillFromConfig'](this['_toolbarConfig'],this['componentFactory']),this['addToolbar'](_0x1b3542['toolbar']);}}class ot extends dt{['_editable'];['stickyPanel'];['toolbar'];get['editable'](){return this['_editable'];}constructor(_0xcc02a4,_0x2516fe,_0x1f04dd={}){super(_0xcc02a4),this['stickyPanel']=new lt(_0xcc02a4),this['toolbar']=new pt(_0xcc02a4,{'shouldGroupWhenFull':_0x1f04dd['shouldToolbarGroupWhenFull']}),this['_editable']=new ut(_0xcc02a4,_0x2516fe);}['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(_0x1c9b45,_0x151309){super(_0x151309),this['sourceElement']=_0x1c9b45,this['model']['document']['createRoot']();const _0x3019d8=new ot(this['locale'],this['editing']['view'],{'shouldToolbarGroupWhenFull':!0x0});this['_ui']=new st(this,_0x3019d8);}['destroy'](){return this['updateSourceElement'](),this['ui']['destroy'](),super['destroy']();}static async['create'](_0x906a67,_0x4ea143){const _0x1cc963=new this(_0x906a67,_0x4ea143);return await _0x1cc963['initPlugins'](),await _0x1cc963['ui']['init'](_0x906a67),await _0x1cc963['data']['init'](_0x1cc963['config']['get']('initialData')||''),_0x1cc963['fire']('ready'),_0x1cc963;}}const p=['RevisionHistoryUI','RestrictedEditingMode'];class k extends _0x2adf2b{['result'];static get['pluginName'](){return'RevisionViewerIntegration';}constructor(_0x7c956e){super(_0x7c956e),this['result']='end';}}class H extends _0x2adf2b{['_viewerEditor'];static get['pluginName'](){return'RevisionHistory';}static get['requires'](){return[l,u];}constructor(_0x42aa1d){if(super(_0x42aa1d),!this['editor']['config']['get']('revisionHistory'))throw new _0x2512e3('revision-history-missing-configuration',this);this['_viewerEditor']=null,this['editor']['config']['define']('revisionHistory.showRevisionViewerCallback',_0x1fe585=>this['_showRevisionViewer']({..._0x1fe585,'translations':this['editor']['locale']['translations']})),this['editor']['config']['define']('revisionHistory.closeRevisionViewerCallback',_0x36d225=>this['_closeRevisionViewer'](_0x36d225)),this['editor']['config']['define']('revisionHistory.restoreRevisionCallback',_0x11956f=>this['_restoreRevision'](_0x11956f)),this['editor']['config']['define']('revisionHistory.requireRevisionName',!0x1),this['_enhanceShowRevisionViewerCallback'](),this['_enhanceCloseRevisionViewerCallback']();}set['adapter'](_0x395701){this['editor']['plugins']['get']('RevisionTracker')['adapter']=_0x395701;}get['adapter'](){return this['editor']['plugins']['get']('RevisionTracker')['adapter'];}['addRevisionData'](_0x5256d8){return this['editor']['plugins']['get']('RevisionTracker')['addRevisionData'](_0x5256d8);}['getRevision'](_0x5b8903){return this['editor']['plugins']['get']('RevisionsRepository')['getRevision'](_0x5b8903);}['getRevisions'](_0x51430c){return this['editor']['plugins']['get']('RevisionsRepository')['getRevisions'](_0x51430c||{'toJSON':!0x1});}['_getRevisionViewerEditorConfig'](){const _0x5cc782=this['editor'],_0x6f93df=_0x186908(_0x5cc782,p),_0x2d0bb8=_0x5cc782['plugins']['get']('RevisionTracker'),_0x114a2d=_0x5cc782['plugins']['get']('Users')['users'];return _0x6f93df['toolbar']=['exitToEditing','restoreRevision','changesNavigation'],delete _0x6f93df['lazyRoots'],(_0x6f93df['plugins']['push'](k,d,R,class extends _0x2adf2b{static get['requires'](){return[d,'Users'];}['init'](){const _0xeb8c1a=this['editor']['plugins']['get']('Users');for(const _0x2a7559 of _0x114a2d)_0x2a7559['isAnonymous']||_0xeb8c1a['getUser'](_0x2a7559['id'])||_0xeb8c1a['addUser'](_0x2a7559);const _0x3c9e8a=_0x2d0bb8['repository']['getRevisions']();let _0x4b3c6f=null;const _0x1edf2a=this['editor']['plugins']['get']('RevisionViewer');_0x1edf2a['adapter']=_0x2d0bb8['adapter'],_0x1edf2a['bind']('isEnabled')['to'](_0x2d0bb8),this['editor']['commands']['get']('restoreRevision')['bind']('isEnabled')['to'](_0x5cc782,'isReadOnly',_0x1fc54e=>!_0x1fc54e);for(const _0x2d3a7e of _0x3c9e8a){const _0x186376=null===_0x2d3a7e['creator'];if(_0x186376&&_0x2d3a7e['toVersion']===_0x2d3a7e['fromVersion'])continue;const _0x4adf67=_0x2d3a7e['toJSON']();_0x1edf2a['addRevisionData'](_0x4adf67,(_0x3f4250,_0x175488,_0x41dd7c)=>{if(_0x186376){if(_0x4b3c6f)_0x4b3c6f['_update'](_0x3f4250,_0x175488);else{if(!_0x175488){const _0x5779e4=_0x41dd7c['toJSON']();_0x5779e4['id']=_0x35ac72(),_0x2d0bb8['saveRevision'](_0x5779e4,_0x41dd7c['toVersion'])['then'](_0x2041cb=>{_0x4b3c6f=_0x2041cb;});}}}else _0x2d3a7e['_update'](_0x3f4250,_0x175488);});}}},w),_0x6f93df);}['_enhanceShowRevisionViewerCallback'](){const _0x29e3f4=this['editor']['config']['get']('revisionHistory')['showRevisionViewerCallback'];this['editor']['config']['set']('revisionHistory.showRevisionViewerCallback',async()=>{this['editor']['enableReadOnlyMode']('revision-history-viewer-opened');const _0x307a7d=this['editor']['plugins']['get']('RevisionTracker');if(this['editor']['plugins']['has']('Autosave')){const _0x1803bd=this['editor']['plugins']['get']('Autosave');await _0x1803bd['save']();}else await _0x307a7d['update']();if(this['editor']['plugins']['has']('PaginationLookup')&&this['editor']['plugins']['get']('PaginationLookup')['_recalculatePageBreaks'](),this['editor']['plugins']['has']('Dialog')){const _0x29d3e3=this['editor']['plugins']['get']('Dialog');_0x29d3e3['isOpen']&&_0x29d3e3['hide']();}const _0x49ceb6=this['_getRevisionViewerEditorConfig']();return _0x29e3f4(_0x49ceb6)['then'](_0x35502b=>{return(this['_viewerEditor']=_0x35502b,this['editor']['plugins']['has']('Annotations'))&&this['editor']['plugins']['get']('Annotations')['refreshVisibility'](),_0x35502b;})['catch'](_0x13f100=>(console['error'](_0x13f100),this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),null));});}['_enhanceCloseRevisionViewerCallback'](){const _0x1ece6b=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'](),_0x1ece6b(this['_viewerEditor'])['then'](()=>{if(this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),this['_viewerEditor']=null,this['editor']['plugins']['has']('Annotations')){const _0xdcbd65=this['editor']['plugins']['get']('Annotations');_0xdcbd65['refreshVisibility'](),_0xdcbd65['refreshPositioning']();}})));}['_showRevisionViewer'](_0x40a2ca){const _0x553998=this['editor']['config']['get']('revisionHistory.editorContainer'),_0x2ca920=this['editor']['config']['get']('revisionHistory.viewerContainer'),_0x399f52=this['editor']['config']['get']('revisionHistory.viewerEditorElement');return m['create'](_0x399f52,_0x40a2ca)['then'](_0x24802e=>(_0x2ca920['style']['display']='block',_0x553998['style']['display']='none',_0x24802e));}['_closeRevisionViewer'](_0x403055){const _0x22dd27=this['editor']['config']['get']('revisionHistory.editorContainer');return this['editor']['config']['get']('revisionHistory.viewerContainer')['style']['display']='none',_0x22dd27['style']['display']='',_0x403055['destroy']();}async['_restoreRevision'](_0x3217d6){const _0x2bc29c=this['editor'],_0x509d7e=this['_viewerEditor']['plugins']['get']('RevisionViewer'),_0x27b906=_0x2bc29c['plugins']['get']('RevisionTracker'),_0x2a87a5=_0x509d7e['repository']['getRevision'](_0x3217d6);let _0x4083fe,_0x59a011,_0x4676ef;try{_0x4083fe=await _0x509d7e['getRevisionData'](_0x2a87a5),_0x59a011=await _0x509d7e['getRevisionRootsAttributes'](_0x2a87a5);}catch(_0x80b8c9){return void console['error'](_0x80b8c9);}_0x2bc29c['model']['change'](_0xf32e0a=>{for(const _0x3cdd76 of Array['from'](_0x2bc29c['model']['markers']['getMarkersGroup']('restrictedEditingException')))_0xf32e0a['removeMarker'](_0x3cdd76);}),_0x509d7e['isReady']=!0x1,_0x2bc29c['model']['enqueueChange'](_0x38982d=>{_0x38982d['setSelection'](null),_0x38982d['removeSelectionAttribute'](_0x2bc29c['model']['document']['selection']['getAttributeKeys']());const _0xf81fda=Object['keys'](_0x4083fe);for(const _0x4fd35e of _0x2bc29c['model']['document']['roots'])'$graveyard'!=_0x4fd35e['rootName']&&_0x4fd35e['isAttached']()&&!_0xf81fda['includes'](_0x4fd35e['rootName'])&&_0x38982d['detachRoot'](_0x4fd35e);for(const _0x54d2e2 of _0xf81fda){let _0x566526=_0x2bc29c['model']['document']['getRoot'](_0x54d2e2);_0x566526&&_0x566526['isAttached']()||(_0x566526=_0x38982d['addRoot'](_0x54d2e2));const _0x2e35b1=_0x59a011[_0x54d2e2],_0x1e354e=Object['keys'](_0x2e35b1),_0x2bb6bb=_0x4083fe[_0x54d2e2];for(const _0x2df9b3 of _0x566526['getAttributeKeys']())_0x1e354e['includes'](_0x2df9b3)||_0x38982d['removeAttribute'](_0x2df9b3,_0x566526);for(const _0x2a4549 of _0x1e354e)_0x38982d['setAttribute'](_0x2a4549,_0x59a011[_0x54d2e2][_0x2a4549],_0x566526);_0x38982d['remove'](_0x38982d['createRangeIn'](_0x566526)),_0x38982d['insert'](_0x2bc29c['data']['parse'](_0x2bb6bb,_0x566526),_0x566526,0x0);}});const _0x4d103f=y(_0x2bc29c['locale'],'Restored');if(_0x2a87a5['name'])_0x4676ef=-0x1==_0x2a87a5['name']['indexOf'](_0x4d103f)?_0x4d103f+':\x20'+_0x2a87a5['name']:_0x2a87a5['name'];else _0x4676ef=_0x4d103f+':\x20'+(_0x2a87a5['createdAt']['toLocaleDateString'](_0x2bc29c['locale']['uiLanguage'],{'month':'long','day':'numeric'})+',\x20'+_0x2a87a5['createdAt']['toLocaleTimeString'](_0x2bc29c['locale']['uiLanguage'],{'hour':'numeric','minute':'numeric'}));return await _0x27b906['saveRevision']({'name':_0x4676ef}),_0x509d7e['isReady']=!0x0,_0x2bc29c['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(_0x2f5e39){super(_0x2f5e39),this['_revisionViewer']=_0x2f5e39['plugins']['get'](d),this['_revisionsRepository']=this['_revisionViewer']['repository'],this['_sidebarView']=null;}['init'](){const _0x555e6a=this['_revisionsRepository']['_revisions'],_0x456424=this['_createRevisionActions'](),_0x159902=this['editor']['config']['get']('revisionHistory.viewerSidebarContainer');this['_sidebarView']=new ci(this['editor']['locale'],_0x555e6a,_0x456424,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',(_0x1b4c75,_0x3084fe)=>{_0x3084fe['revisionViews']['on']('add',(_0x23164c,_0x5e945e)=>{_0x5e945e['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)),_0x159902['appendChild'](this['_sidebarView']['element']);}['destroy'](){this['_sidebarView']['element']['remove'](),this['_sidebarView']['destroy']();}['_handleEditorDataReady'](){const _0x30681b=this['_revisionsRepository']['getRevision'](0x0);if(_0x30681b){const _0x22ccae=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x30681b['id']);this['_revisionViewer']['compare'](_0x30681b,_0x22ccae);}}['_handleRevisionSelected'](_0xdb441d,_0x28151f){const _0x408413=this['_revisionsRepository']['getRevision'](_0x28151f['id']),_0x23b440=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x408413['id']);this['_revisionViewer']['compare'](_0x408413,_0x23b440);}['_handleRevisionSetName'](_0x216bcf,_0x2e4559){this['_revisionsRepository']['getRevision'](_0x2e4559['id'])['setName'](_0x2e4559['name']);}['_handleDiffChange'](_0x2b7385,_0x432db9,_0x21ef6a){const _0x40988b=this['_revisionsRepository']['getRevisionsInDiff'](_0x21ef6a);_0x40988b['length']>0x2?(this['_sidebarView']['highlightRevisions'](_0x40988b),this['_sidebarView']['selectRevision'](null)):(this['_sidebarView']['highlightRevisions']([]),this['_sidebarView']['selectRevision'](_0x40988b[0x0]));}['_createRevisionActions'](){const _0x344558=this['editor'],_0x3343bc=w['availableRevisionActions'],_0x1034b7=_0x344558['config']['get']('revisionHistory.revisionActions')||w['defaultRevisionActions'];if(_0x1034b7['length'])return _0x1034b7['map'](_0x29dadd=>{const _0x4f2550='string'==typeof _0x29dadd?Object['assign']({},_0x3343bc[_0x29dadd]):_0x29dadd;return _0x4f2550['action']=_0x4f2550['action']['bind'](this,_0x344558),_0x4f2550['isVisible']&&(_0x4f2550['isVisible']=_0x4f2550['isVisible']['bind'](this,_0x344558)),_0x4f2550;});}}function Rt(){return{'compareAgainstSelected':{'name':'Compare\x20against\x20selected','action':({plugins:_0x24ebf2},_0x3aab6d)=>{const _0x51a63a=_0x24ebf2['get'](d),_0x2dae3e=_0x51a63a['repository'];let _0xfa963=_0x51a63a['diff']['newRevisionId'],_0x2165a6=_0x3aab6d['id'];_0x2dae3e['getIndex'](_0xfa963)>_0x2dae3e['getIndex'](_0x2165a6)&&([_0xfa963,_0x2165a6]=[_0x2165a6,_0xfa963]),_0x51a63a['compare'](_0xfa963,_0x2165a6);},'isVisible':({plugins:_0x281160},_0x370284)=>{const _0x143950=_0x281160['get'](d);return!(_0x143950['repository']['getRevisionsInDiff'](_0x143950['diff'])['length']>0x2)&&!_0x370284['isSelected'];}},'restoreRevision':{'name':'Restore\x20this\x20revision','action':(_0x781999,{id:_0x2fe8ec})=>{_0x781999['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x2fe8ec);},'isVisible':({plugins:_0x39e824},_0x2f4297)=>!!_0x39e824['get'](d)['repository']['getLaterVisibleRevision'](_0x2f4297['id'])},'nameRevision':{'name':'Name\x20this\x20revision','action':({plugins:_0x2ab292},{id:_0x22030b,revisionNameView:_0x738324})=>{const _0x4a6e7a=_0x2ab292['get'](d),_0x44c051=_0x4a6e7a['repository']['getEarlierVisibleRevision'](_0x22030b);_0x4a6e7a['compare'](_0x22030b,_0x44c051),_0x738324['focus'](),_0x738324['fieldView']['select']();}}};}class st extends ht{['_view'];['_toolbarConfig'];['_elementReplacer'];get['view'](){return this['_view'];}constructor(_0x47b749,_0x399e79){super(_0x47b749),this['_view']=_0x399e79,this['_toolbarConfig']=ct(_0x47b749['config']['get']('toolbar')),this['_elementReplacer']=new nt();}get['element'](){return this['view']['element'];}['init'](_0x3074b7){const _0x94f61f=this['editor'],_0x1ff031=this['view'],_0x2859f1=_0x94f61f['editing']['view'],_0x1b8d32=_0x1ff031['editable'],_0x36c52c=_0x2859f1['document']['getRoot']();_0x1b8d32['name']=_0x36c52c['rootName'],_0x1ff031['render']();const _0x4f5185=_0x1b8d32['element'];this['setEditableElement'](_0x1b8d32['name'],_0x4f5185),_0x1ff031['editable']['bind']('isFocused')['to'](this['focusTracker']),_0x2859f1['attachDomRoot'](_0x4f5185),this['_elementReplacer']['replace'](_0x3074b7,this['element']),this['_initToolbar'](),this['fire']('ready');}['destroy'](){super['destroy']();const _0x18732d=this['view'],_0x45e873=this['editor']['editing']['view'];this['_elementReplacer']['restore'](),_0x45e873['detachDomRoot'](_0x18732d['editable']['name']),_0x18732d['destroy']();}['_initToolbar'](){const _0x2fc81e=this['view'];_0x2fc81e['stickyPanel']['bind']('isActive')['to'](this['focusTracker'],'isFocused'),_0x2fc81e['stickyPanel']['limiterElement']=_0x2fc81e['element'],_0x2fc81e['stickyPanel']['bind']('viewportTopOffset')['to'](this,'viewportOffset',({top:_0x59094f})=>_0x59094f),_0x2fc81e['toolbar']['fillFromConfig'](this['_toolbarConfig'],this['componentFactory']),this['addToolbar'](_0x2fc81e['toolbar']);}}class ot extends dt{['_editable'];['stickyPanel'];['toolbar'];get['editable'](){return this['_editable'];}constructor(_0x59e087,_0x382cd5,_0xace8ad={}){super(_0x59e087),this['stickyPanel']=new lt(_0x59e087),this['toolbar']=new pt(_0x59e087,{'shouldGroupWhenFull':_0xace8ad['shouldToolbarGroupWhenFull']}),this['_editable']=new ut(_0x59e087,_0x382cd5);}['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(_0x5375cc,_0x3d9b0){super(_0x3d9b0),this['sourceElement']=_0x5375cc,this['model']['document']['createRoot']();const _0x1b6354=new ot(this['locale'],this['editing']['view'],{'shouldToolbarGroupWhenFull':!0x0});this['_ui']=new st(this,_0x1b6354);}['destroy'](){return this['updateSourceElement'](),this['ui']['destroy'](),super['destroy']();}static async['create'](_0x2f2ff1,_0x991d){const _0x1a9701=new this(_0x2f2ff1,_0x991d);return await _0x1a9701['initPlugins'](),await _0x1a9701['ui']['init'](_0x2f2ff1),await _0x1a9701['data']['init'](_0x1a9701['config']['get']('initialData')||''),_0x1a9701['fire']('ready'),_0x1a9701;}}const p=['RevisionHistoryUI','RestrictedEditingMode'];class k extends _0x10a6ce{['result'];static get['pluginName'](){return'RevisionViewerIntegration';}constructor(_0x1411cf){super(_0x1411cf),this['result']='end';}}class H extends _0x10a6ce{['_viewerEditor'];static get['pluginName'](){return'RevisionHistory';}static get['requires'](){return[l,u];}constructor(_0x4f313c){if(super(_0x4f313c),!this['editor']['config']['get']('revisionHistory'))throw new _0x146f0b('revision-history-missing-configuration',this);this['_viewerEditor']=null,this['editor']['config']['define']('revisionHistory.showRevisionViewerCallback',_0x4bf3d2=>this['_showRevisionViewer']({..._0x4bf3d2,'translations':this['editor']['locale']['translations']})),this['editor']['config']['define']('revisionHistory.closeRevisionViewerCallback',_0x4a69b5=>this['_closeRevisionViewer'](_0x4a69b5)),this['editor']['config']['define']('revisionHistory.restoreRevisionCallback',_0x3005b1=>this['_restoreRevision'](_0x3005b1)),this['editor']['config']['define']('revisionHistory.requireRevisionName',!0x1),this['_enhanceShowRevisionViewerCallback'](),this['_enhanceCloseRevisionViewerCallback']();}set['adapter'](_0xa866b4){this['editor']['plugins']['get']('RevisionTracker')['adapter']=_0xa866b4;}get['adapter'](){return this['editor']['plugins']['get']('RevisionTracker')['adapter'];}['addRevisionData'](_0xe4158c){return this['editor']['plugins']['get']('RevisionTracker')['addRevisionData'](_0xe4158c);}['getRevision'](_0xa9f547){return this['editor']['plugins']['get']('RevisionsRepository')['getRevision'](_0xa9f547);}['getRevisions'](_0x1c0ecc){return this['editor']['plugins']['get']('RevisionsRepository')['getRevisions'](_0x1c0ecc||{'toJSON':!0x1});}['_getRevisionViewerEditorConfig'](){const _0x48cbdc=this['editor'],_0x2a9212=_0xbf5563(_0x48cbdc,p),_0x428875=_0x48cbdc['plugins']['get']('RevisionTracker'),_0x5a6845=_0x48cbdc['plugins']['get']('Users')['users'];return _0x2a9212['toolbar']=['exitToEditing','restoreRevision','changesNavigation'],delete _0x2a9212['lazyRoots'],(_0x2a9212['plugins']['push'](k,d,R,class extends _0x10a6ce{static get['requires'](){return[d,'Users'];}['init'](){const _0x56c291=this['editor']['plugins']['get']('Users');for(const _0x472384 of _0x5a6845)_0x472384['isAnonymous']||_0x56c291['getUser'](_0x472384['id'])||_0x56c291['addUser'](_0x472384);const _0x415302=_0x428875['repository']['getRevisions']();let _0x133e89=null;const _0x2f7c25=this['editor']['plugins']['get']('RevisionViewer');_0x2f7c25['adapter']=_0x428875['adapter'],_0x2f7c25['bind']('isEnabled')['to'](_0x428875),this['editor']['commands']['get']('restoreRevision')['bind']('isEnabled')['to'](_0x48cbdc,'isReadOnly',_0x362cd9=>!_0x362cd9);for(const _0x214380 of _0x415302){const _0x3b7cbc=null===_0x214380['creator'];if(_0x3b7cbc&&_0x214380['toVersion']===_0x214380['fromVersion'])continue;const _0x54f02a=_0x214380['toJSON']();_0x2f7c25['addRevisionData'](_0x54f02a,(_0x95cf64,_0x2641f1,_0x3786ad)=>{if(_0x3b7cbc){if(_0x133e89)_0x133e89['_update'](_0x95cf64,_0x2641f1);else{if(!_0x2641f1){const _0x1310bf=_0x3786ad['toJSON']();_0x1310bf['id']=_0x5877e3(),_0x428875['saveRevision'](_0x1310bf,_0x3786ad['toVersion'])['then'](_0x2c4cd0=>{_0x133e89=_0x2c4cd0;});}}}else _0x214380['_update'](_0x95cf64,_0x2641f1);});}}},w),_0x2a9212);}['_enhanceShowRevisionViewerCallback'](){const _0x1617cb=this['editor']['config']['get']('revisionHistory')['showRevisionViewerCallback'];this['editor']['config']['set']('revisionHistory.showRevisionViewerCallback',async()=>{this['editor']['enableReadOnlyMode']('revision-history-viewer-opened');const _0x39e779=this['editor']['plugins']['get']('RevisionTracker');if(this['editor']['plugins']['has']('Autosave')){const _0x853e32=this['editor']['plugins']['get']('Autosave');await _0x853e32['save']();}else await _0x39e779['update']();if(this['editor']['plugins']['has']('PaginationLookup')&&this['editor']['plugins']['get']('PaginationLookup')['_recalculatePageBreaks'](),this['editor']['plugins']['has']('Dialog')){const _0x5b8270=this['editor']['plugins']['get']('Dialog');_0x5b8270['isOpen']&&_0x5b8270['hide']();}const _0x28fd88=this['_getRevisionViewerEditorConfig']();return _0x1617cb(_0x28fd88)['then'](_0x57f86a=>{return(this['_viewerEditor']=_0x57f86a,this['editor']['plugins']['has']('Annotations'))&&this['editor']['plugins']['get']('Annotations')['refreshVisibility'](),_0x57f86a;})['catch'](_0xf0b9a3=>(console['error'](_0xf0b9a3),this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),null));});}['_enhanceCloseRevisionViewerCallback'](){const _0x282dbd=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'](),_0x282dbd(this['_viewerEditor'])['then'](()=>{if(this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),this['_viewerEditor']=null,this['editor']['plugins']['has']('Annotations')){const _0x5e59f6=this['editor']['plugins']['get']('Annotations');_0x5e59f6['refreshVisibility'](),_0x5e59f6['refreshPositioning']();}})));}['_showRevisionViewer'](_0x4fe2c2){const _0x42e817=this['editor']['config']['get']('revisionHistory.editorContainer'),_0x580306=this['editor']['config']['get']('revisionHistory.viewerContainer'),_0x247b29=this['editor']['config']['get']('revisionHistory.viewerEditorElement');return m['create'](_0x247b29,_0x4fe2c2)['then'](_0x2649e6=>(_0x580306['style']['display']='block',_0x42e817['style']['display']='none',_0x2649e6));}['_closeRevisionViewer'](_0x5f5914){const _0x2f83cb=this['editor']['config']['get']('revisionHistory.editorContainer');return this['editor']['config']['get']('revisionHistory.viewerContainer')['style']['display']='none',_0x2f83cb['style']['display']='',_0x5f5914['destroy']();}async['_restoreRevision'](_0x2afa8c){const _0x54628a=this['editor'],_0x382860=this['_viewerEditor']['plugins']['get']('RevisionViewer'),_0x3eacd5=_0x54628a['plugins']['get']('RevisionTracker'),_0x287339=_0x382860['repository']['getRevision'](_0x2afa8c);let _0x2a7096,_0x2e1eca,_0x6c7dcf;try{_0x2a7096=await _0x382860['getRevisionData'](_0x287339),_0x2e1eca=await _0x382860['getRevisionRootsAttributes'](_0x287339);}catch(_0x56fc67){return void console['error'](_0x56fc67);}_0x54628a['model']['change'](_0x342053=>{for(const _0x53b359 of Array['from'](_0x54628a['model']['markers']['getMarkersGroup']('restrictedEditingException')))_0x342053['removeMarker'](_0x53b359);}),_0x382860['isReady']=!0x1,_0x54628a['model']['enqueueChange'](_0x54abba=>{_0x54abba['setSelection'](null),_0x54abba['removeSelectionAttribute'](_0x54628a['model']['document']['selection']['getAttributeKeys']());const _0x430a3d=Object['keys'](_0x2a7096);for(const _0x8e260b of _0x54628a['model']['document']['roots'])'$graveyard'!=_0x8e260b['rootName']&&_0x8e260b['isAttached']()&&!_0x430a3d['includes'](_0x8e260b['rootName'])&&_0x54abba['detachRoot'](_0x8e260b);for(const _0x5eb80a of _0x430a3d){let _0x3d119f=_0x54628a['model']['document']['getRoot'](_0x5eb80a);_0x3d119f&&_0x3d119f['isAttached']()||(_0x3d119f=_0x54abba['addRoot'](_0x5eb80a));const _0x454836=_0x2e1eca[_0x5eb80a],_0x56a755=Object['keys'](_0x454836),_0xc63680=_0x2a7096[_0x5eb80a];for(const _0x1e6ae8 of _0x3d119f['getAttributeKeys']())_0x56a755['includes'](_0x1e6ae8)||_0x54abba['removeAttribute'](_0x1e6ae8,_0x3d119f);for(const _0x65a83d of _0x56a755)_0x54abba['setAttribute'](_0x65a83d,_0x2e1eca[_0x5eb80a][_0x65a83d],_0x3d119f);_0x54abba['remove'](_0x54abba['createRangeIn'](_0x3d119f)),_0x54abba['insert'](_0x54628a['data']['parse'](_0xc63680,_0x3d119f),_0x3d119f,0x0);}});const _0xc81cfb=y(_0x54628a['locale'],'Restored');if(_0x287339['name'])_0x6c7dcf=-0x1==_0x287339['name']['indexOf'](_0xc81cfb)?_0xc81cfb+':\x20'+_0x287339['name']:_0x287339['name'];else _0x6c7dcf=_0xc81cfb+':\x20'+(_0x287339['createdAt']['toLocaleDateString'](_0x54628a['locale']['uiLanguage'],{'month':'long','day':'numeric'})+',\x20'+_0x287339['createdAt']['toLocaleTimeString'](_0x54628a['locale']['uiLanguage'],{'hour':'numeric','minute':'numeric'}));return await _0x3eacd5['saveRevision']({'name':_0x6c7dcf}),_0x382860['isReady']=!0x0,_0x54628a['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};