@ckeditor/ckeditor5-revision-history 42.0.0-alpha.8 → 42.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (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 _0x501546,Context as _0xc9edd4,PendingActions as _0x1d58e0,icons as _0x394af5,Command as _0x4f74c3,ElementApiMixin as rt,Editor as it}from'@ckeditor/ckeditor5-core/dist/index.js';import{ObservableMixin as _0x58c5b9,uid as _0x1ad7f6,Collection as _0x32adc2,logWarning as _0x36a890,FocusTracker as _0x22a94f,KeystrokeHandler as _0x45a967,scrollViewportToShowTarget as _0xed63cf,ResizeObserver as mt,ElementReplacer as nt,CKEditorError as _0x437394}from'@ckeditor/ckeditor5-utils/dist/index.js';import{Users as _0x18204a,getMarkerDomElement as _0x37cf46,ConfirmMixin as _0x56c09a,sanitizeEditorConfig as _0x8888e8}from'ckeditor5-collaboration/dist/index.js';import{ViewDocumentFragment as _0x422feb,ViewText as _0x4c17d0,ViewElement as _0x4bf43d,Element as ft,Range as vt,Position as gt,DocumentFragment as wt,ViewContainerElement as _0x109cf0,ViewAttributeElement as _0x4d113c,ViewEmptyElement as _0x431253,ViewRawElement as _0x5779a1,ViewUIElement as _0x5d1bfe,Text as _t}from'@ckeditor/ckeditor5-engine/dist/index.js';import{cloneDeep as _0xff8311,set as _0x1b42a6,unset as _0x18223a,isEqual as _0x53d85c}from'lodash-es';import{View as _0x5ad99c,injectCssTransitionDisabler as ts,submitHandler as _0x1db8b3,LabeledFieldView as at,createLabeledInputText as _0x12abec,createDropdown as _0xd73d6a,ListView as te,ListItemView as _0x30caf4,ButtonView as _0x52c4cd,MenuBarMenuView as _0x244430,MenuBarMenuListView as _0x508cea,MenuBarMenuListItemView as _0x38392b,MenuBarMenuListItemButtonView as _0x3565fd,ContextualBalloon as _0x4ac9c6,ToolbarSeparatorView as _0x300616,IconView as _0x3ed868,addListToDropdown as _0x24fdfa,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 _0x489772}from'luxon';class a extends/* #__PURE__ -- @preserve */
24
- _0x58c5b9(){['id'];['creator'];['authors'];['diffData'];['toVersion'];['fromVersion'];['model'];constructor(_0x2e4b65){super(),this['id']=_0x2e4b65['id']||_0x1ad7f6(),this['creator']=_0x2e4b65['creator']||null,this['authors']=_0x2e4b65['authors']||[],this['diffData']=_0x2e4b65['diffData']||null,this['toVersion']=_0x2e4b65['toVersion']||0x0,this['fromVersion']=_0x2e4b65['fromVersion']||0x0,this['set']('name',_0x2e4b65['name']||''),this['set']('createdAt',_0x2e4b65['createdAt']||new Date()),this['set']('attributes',_0x2e4b65['attributes']||{});}['setName'](_0x3901dd){this['_update']({'name':_0x3901dd});}['setAttribute'](_0x4b6166,_0x51da3a){const _0x44da3b=_0xff8311(this['attributes']);_0x1b42a6(_0x44da3b,_0x4b6166,_0x51da3a),this['_update']({'attributes':_0x44da3b});}['removeAttribute'](_0x4bf5fb){const _0x112b58=_0xff8311(this['attributes']);_0x18223a(_0x112b58,_0x4bf5fb),this['_update']({'attributes':_0x112b58});}['_update'](_0x313846,_0x252851=!0x1){let _0x2cd5c4=!0x1;const _0x48e2c9={'id':this['id']},_0x36b19e=['name','createdAt','diffData','authors','attributes','toVersion','fromVersion','creatorId'];for(const _0x3db656 of _0x36b19e){const _0x278284=_0x313846[_0x3db656];void 0x0!==_0x278284&&_0x278284!==this[_0x3db656]&&(this[_0x3db656]=_0x278284,_0x48e2c9[_0x3db656]=_0x278284,_0x2cd5c4=!0x0);}_0x2cd5c4&&(_0x48e2c9['authors']&&(_0x48e2c9['authorsIds']=_0x48e2c9['authors']['map'](_0x5c839e=>_0x5c839e['id']),delete _0x48e2c9['authors']),this['fire']('_update',_0x48e2c9,_0x252851));}['toJSON'](){return{'id':this['id'],'name':this['name'],'creatorId':this['creator']?this['creator']['id']:null,'authorsIds':this['authors']['map'](_0x3d7fc3=>_0x3d7fc3['id']),'diffData':this['diffData'],'createdAt':this['createdAt'],'attributes':this['attributes'],'fromVersion':this['fromVersion'],'toVersion':this['toVersion']};}}class A extends _0x501546{['_revisions'];static get['requires'](){return[_0x18204a];}static get['pluginName'](){return'RevisionsRepository';}get['length'](){return this['_revisions']['length'];}constructor(_0x2efd4c){super(_0x2efd4c),this['_revisions']=new _0x32adc2();}['afterInit'](){!function(_0x145263){function _0x254bfd(_0x34dc4d,_0x5e95bc,_0x2bd26b){const _0x5e016a={};_0x5e016a[_0x3a9797([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])]={0x10:0xa,0x18:0xc,0x20:0xe},_0x5e016a[_0x3a9797([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],_0x5e016a[_0x3a9797([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],_0x5e016a[_0x3a9797([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],_0x5e016a[_0x3a9797([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],_0x5e016a[_0x3a9797([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],_0x5e016a[_0x3a9797([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],_0x5e016a[_0x3a9797([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],_0x5e016a[_0x3a9797([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],_0x5e016a[_0x3a9797([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],_0x5e016a[_0x3a9797([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 _0x4eae6=new Uint8Array(0x10);for(let _0x19b162=0xf;_0x19b162>=0x0;--_0x19b162)_0x4eae6[_0x19b162]=_0x2bd26b%0x100,_0x2bd26b=parseInt(_0x2bd26b/0x100);let _0x39854f=null,_0x3b2ce1=0x10;const _0x1ecc3c=new Uint8Array(_0x5e95bc),_0x28e1ac=[],_0x1fdac6=[];_0x473911();for(let _0x577978=0x0;_0x577978<_0x34dc4d[_0x3a9797([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x577978++)0x10===_0x3b2ce1&&(_0x39854f=_0x2f756d(_0x4eae6),_0x3b2ce1=0x0,_0x102cc9(_0x4eae6)),_0x34dc4d[_0x577978]^=_0x39854f[_0x3b2ce1++];return _0x34dc4d;function _0x4b14b8(_0x1f11ad){const _0x39310b=[];for(let _0x37bb1e=0x0;_0x37bb1e<_0x1f11ad[_0x3a9797([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x37bb1e+=0x4)_0x39310b[_0x3a9797([0x70,0x75,0x73,0x68])](_0x1f11ad[_0x37bb1e]<<0x18|_0x1f11ad[_0x37bb1e+0x1]<<0x10|_0x1f11ad[_0x37bb1e+0x2]<<0x8|_0x1f11ad[_0x37bb1e+0x3]);return _0x39310b;}function _0x102cc9(_0x40ccda){for(let _0x52a8b7=0xf;_0x52a8b7>=0x0;_0x52a8b7--){if(0xff!==_0x40ccda[_0x52a8b7]){_0x40ccda[_0x52a8b7]++;break;}_0x40ccda[_0x52a8b7]=0x0;}}function _0x2f756d(_0xc251a3){const _0x511d5c=_0x28e1ac[_0x3a9797([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x1,_0x13d973=[0x0,0x0,0x0,0x0];let t=_0x4b14b8(_0xc251a3);for(let _0x26a7bd=0x0;_0x26a7bd<0x4;_0x26a7bd++)t[_0x26a7bd]^=_0x28e1ac[0x0][_0x26a7bd];for(let _0xe6dc29=0x1;_0xe6dc29<_0x511d5c;_0xe6dc29++){for(let _0x5a2003=0x0;_0x5a2003<0x4;_0x5a2003++)_0x13d973[_0x5a2003]=_0x5e016a[_0x3a9797([0x54,0x31])][t[_0x5a2003]>>0x18&0xff]^_0x5e016a[_0x3a9797([0x54,0x32])][t[(_0x5a2003+0x1)%0x4]>>0x10&0xff]^_0x5e016a[_0x3a9797([0x54,0x33])][t[(_0x5a2003+0x2)%0x4]>>0x8&0xff]^_0x5e016a[_0x3a9797([0x54,0x34])][0xff&t[(_0x5a2003+0x3)%0x4]]^_0x28e1ac[_0xe6dc29][_0x5a2003];t=_0x13d973[_0x3a9797([0x73,0x6c,0x69,0x63,0x65])]();}const _0xbda606=new Uint8Array(0x10);let _0x16f279;for(let _0x25e5bd=0x0;_0x25e5bd<0x4;_0x25e5bd++)_0x16f279=_0x28e1ac[_0x511d5c][_0x25e5bd],_0xbda606[0x4*_0x25e5bd]=0xff&(_0x5e016a[_0x3a9797([0x53])][t[_0x25e5bd]>>0x18&0xff]^_0x16f279>>0x18),_0xbda606[0x4*_0x25e5bd+0x1]=0xff&(_0x5e016a[_0x3a9797([0x53])][t[(_0x25e5bd+0x1)%0x4]>>0x10&0xff]^_0x16f279>>0x10),_0xbda606[0x4*_0x25e5bd+0x2]=0xff&(_0x5e016a[_0x3a9797([0x53])][t[(_0x25e5bd+0x2)%0x4]>>0x8&0xff]^_0x16f279>>0x8),_0xbda606[0x4*_0x25e5bd+0x3]=0xff&(_0x5e016a[_0x3a9797([0x53])][0xff&t[(_0x25e5bd+0x3)%0x4]]^_0x16f279);return _0xbda606;}function _0x473911(){const _0x39d5aa=_0x5e016a[_0x3a9797([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])][_0x1ecc3c[_0x3a9797([0x6c,0x65,0x6e,0x67,0x74,0x68])]];for(let _0x545acf=0x0;_0x545acf<=_0x39d5aa;_0x545acf++)_0x28e1ac[_0x3a9797([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]),_0x1fdac6[_0x3a9797([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]);const _0xa822f5=0x4*(_0x39d5aa+0x1),_0x33cb1b=_0x1ecc3c[_0x3a9797([0x6c,0x65,0x6e,0x67,0x74,0x68])]/0x4,_0x152287=_0x4b14b8(_0x1ecc3c);let _0x479866;for(let _0xd10775=0x0;_0xd10775<_0x33cb1b;_0xd10775++)_0x479866=_0xd10775>>0x2,_0x28e1ac[_0x479866][_0xd10775%0x4]=_0x152287[_0xd10775],_0x1fdac6[_0x39d5aa-_0x479866][_0xd10775%0x4]=_0x152287[_0xd10775];let _0x1406fd,_0x3a0ea4=0x0,t=_0x33cb1b;for(;t<_0xa822f5;){_0x1406fd=_0x152287[_0x33cb1b-0x1],_0x152287[0x0]^=_0x5e016a[_0x3a9797([0x53])][_0x1406fd>>0x10&0xff]<<0x18^_0x5e016a[_0x3a9797([0x53])][_0x1406fd>>0x8&0xff]<<0x10^_0x5e016a[_0x3a9797([0x53])][0xff&_0x1406fd]<<0x8^_0x5e016a[_0x3a9797([0x53])][_0x1406fd>>0x18&0xff]^_0x5e016a[_0x3a9797([0x72,0x63,0x6f,0x6e])][_0x3a0ea4]<<0x18,_0x3a0ea4+=0x1;for(let _0x39023d=0x1;_0x39023d<_0x33cb1b/0x2;_0x39023d++)_0x152287[_0x39023d]^=_0x152287[_0x39023d-0x1];_0x1406fd=_0x152287[_0x33cb1b/0x2-0x1],_0x152287[_0x33cb1b/0x2]^=_0x5e016a[_0x3a9797([0x53])][0xff&_0x1406fd]^_0x5e016a[_0x3a9797([0x53])][_0x1406fd>>0x8&0xff]<<0x8^_0x5e016a[_0x3a9797([0x53])][_0x1406fd>>0x10&0xff]<<0x10^_0x5e016a[_0x3a9797([0x53])][_0x1406fd>>0x18&0xff]<<0x18;for(let _0x58deb=_0x33cb1b/0x2+0x1;_0x58deb<_0x33cb1b;_0x58deb++)_0x152287[_0x58deb]^=_0x152287[_0x58deb-0x1];let _0x516fad,_0x26b59b,_0x383340=0x0;for(;_0x383340<_0x33cb1b&&t<_0xa822f5;)_0x516fad=t>>0x2,_0x26b59b=t%0x4,_0x28e1ac[_0x516fad][_0x26b59b]=_0x152287[_0x383340],_0x1fdac6[_0x39d5aa-_0x516fad][_0x26b59b]=_0x152287[_0x383340++],t++;}for(let _0x50e2aa=0x1;_0x50e2aa<_0x39d5aa;_0x50e2aa++)for(let _0xb0ed85=0x0;_0xb0ed85<0x4;_0xb0ed85++)_0x1406fd=_0x1fdac6[_0x50e2aa][_0xb0ed85],_0x1fdac6[_0x50e2aa][_0xb0ed85]=_0x5e016a[_0x3a9797([0x55,0x31])][_0x1406fd>>0x18&0xff]^_0x5e016a[_0x3a9797([0x55,0x32])][_0x1406fd>>0x10&0xff]^_0x5e016a[_0x3a9797([0x55,0x33])][_0x1406fd>>0x8&0xff]^_0x5e016a[_0x3a9797([0x55,0x34])][0xff&_0x1406fd];}}function _0x3a9797(_0x3316fe){return _0x3316fe['map'](_0x2543c9=>String['fromCharCode'](_0x2543c9))['join']('');}(_0x3aa7ff=>{function _0x2c8bbf(){const _0x383b62=[{[_0x3a9797([0x69,0x64])]:0x1,[_0x3a9797([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3a9797([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73]),[_0x3a9797([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x3a9797([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x3a9797([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x3a9797([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x3a9797([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x3a9797([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x3a9797([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]:[{[_0x3a9797([0x69,0x64])]:0x2,[_0x3a9797([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3a9797([0x54,0x72,0x61,0x63,0x6b,0x20,0x43,0x68,0x61,0x6e,0x67,0x65,0x73]),[_0x3a9797([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x3a9797([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x3a9797([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x3a9797([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x3a9797([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x3a9797([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]),[_0x3a9797([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x3a9797([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x3a9797([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x3a9797([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}}],[_0x3a9797([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x3a9797([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x3a9797([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x3a9797([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x3a9797([0x69,0x64])]:0x3,[_0x3a9797([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3a9797([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e]),[_0x3a9797([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x3a9797([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x6f,0x6f,0x6b,0x75,0x70]),[_0x3a9797([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x3a9797([0x70,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x3a9797([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x3a9797([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x3a9797([0x69,0x64])]:0x4,[_0x3a9797([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3a9797([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x20,0x48,0x69,0x73,0x74,0x6f,0x72,0x79]),[_0x3a9797([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x3a9797([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x3a9797([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x3a9797([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x3a9797([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x3a9797([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]),[_0x3a9797([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x3a9797([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x3a9797([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x3a9797([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x3a9797([0x69,0x64])]:0x5,[_0x3a9797([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3a9797([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x20,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65]),[_0x3a9797([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x3a9797([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65,0x55,0x49]),[_0x3a9797([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x3a9797([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]),[_0x3a9797([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x3a9797([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x3a9797([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x3a9797([0x66,0x67,0x69])]:[0xc]}},{[_0x3a9797([0x69,0x64])]:0x6,[_0x3a9797([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3a9797([0x46,0x6f,0x72,0x6d,0x61,0x74,0x20,0x50,0x61,0x69,0x6e,0x74,0x65,0x72]),[_0x3a9797([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x3a9797([0x46,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x55,0x49]),[_0x3a9797([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x3a9797([0x66,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x3a9797([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x3a9797([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x3a9797([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x3a9797([0x66,0x67,0x69])]:[0xc]}},{[_0x3a9797([0x69,0x64])]:0x7,[_0x3a9797([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3a9797([0x53,0x6c,0x61,0x73,0x68,0x20,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64]),[_0x3a9797([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x3a9797([0x53,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x55,0x49]),[_0x3a9797([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x3a9797([0x73,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x3a9797([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x3a9797([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x3a9797([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x3a9797([0x66,0x67,0x69])]:[0xc]}},{[_0x3a9797([0x69,0x64])]:0x8,[_0x3a9797([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3a9797([0x54,0x61,0x62,0x6c,0x65,0x20,0x6f,0x66,0x20,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73]),[_0x3a9797([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x3a9797([0x54,0x61,0x62,0x6c,0x65,0x4f,0x66,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x3a9797([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x3a9797([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]),[_0x3a9797([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x3a9797([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x3a9797([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x3a9797([0x66,0x67,0x69])]:[0xc]}},{[_0x3a9797([0x69,0x64])]:0x9,[_0x3a9797([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3a9797([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65]),[_0x3a9797([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x3a9797([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x55,0x49]),[_0x3a9797([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x3a9797([0x74,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x3a9797([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x3a9797([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x3a9797([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x3a9797([0x66,0x67,0x69])]:[0xc,0xe]}},{[_0x3a9797([0x69,0x64])]:0xa,[_0x3a9797([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3a9797([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]),[_0x3a9797([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x3a9797([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]),[_0x3a9797([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x3a9797([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]),[_0x3a9797([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x3a9797([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x3a9797([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x3a9797([0x66,0x67,0x69])]:[0xc]}},{[_0x3a9797([0x69,0x64])]:0xb,[_0x3a9797([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3a9797([0x41,0x49,0x20,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74]),[_0x3a9797([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x3a9797([0x41,0x49,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74,0x55,0x49]),[_0x3a9797([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x3a9797([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x3a9797([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x3a9797([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x3a9797([0x69,0x64])]:0xc,[_0x3a9797([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3a9797([0x50,0x72,0x6f,0x64,0x75,0x63,0x74,0x69,0x76,0x69,0x74,0x79,0x20,0x70,0x61,0x63,0x6b])},{[_0x3a9797([0x69,0x64])]:0xd,[_0x3a9797([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3a9797([0x43,0x61,0x73,0x65,0x20,0x43,0x68,0x61,0x6e,0x67,0x65]),[_0x3a9797([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x3a9797([0x43,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x55,0x49]),[_0x3a9797([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x3a9797([0x63,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x3a9797([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x3a9797([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x3a9797([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x3a9797([0x66,0x67,0x69])]:[0xc]}},{[_0x3a9797([0x69,0x64])]:0xe,[_0x3a9797([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3a9797([0x44,0x72,0x75,0x70,0x61,0x6c,0x20,0x70,0x61,0x63,0x6b]),[_0x3a9797([0x66,0x6f,0x72,0x62,0x69,0x64,0x64,0x65,0x6e,0x48,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x3a9797([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])},{[_0x3a9797([0x69,0x64])]:0xf,[_0x3a9797([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3a9797([0x4d,0x75,0x6c,0x74,0x69,0x20,0x4c,0x65,0x76,0x65,0x6c,0x20,0x4c,0x69,0x73,0x74]),[_0x3a9797([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x3a9797([0x4d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x3a9797([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x3a9797([0x6d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x3a9797([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x3a9797([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x3a9797([0x69,0x64])]:0x10,[_0x3a9797([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3a9797([0x4d,0x65,0x72,0x67,0x65,0x20,0x54,0x61,0x67,0x73]),[_0x3a9797([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x3a9797([0x4d,0x65,0x72,0x67,0x65,0x54,0x61,0x67,0x73,0x55,0x49]),[_0x3a9797([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x3a9797([0x6d,0x65,0x72,0x67,0x65,0x54,0x61,0x67,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x3a9797([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x3a9797([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x3a9797([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x3a9797([0x66,0x67,0x69])]:[0xc]}}];return _0x1c884e(_0x383b62),_0x383b62;function _0x4e977d(_0x4f8531){return 0x1<<_0x4f8531-0x1;}function _0x1c884e(_0x1972d6){_0x1972d6[_0x3a9797([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0xd74c6b=>{_0xd74c6b[_0x3a9797([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]=_0x4e977d(_0xd74c6b[_0x3a9797([0x69,0x64])]),_0x3e632b(_0xd74c6b)&&_0xd74c6b[_0x3a9797([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x1c884e(_0xd74c6b[_0x3a9797([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]);});}}function _0x3e632b(_0x249415){return _0x3a9797([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])in _0x249415;}const _0x26819c=[0x1,0x55,0x4e,0x73,0xc6,0xff,0x32,0x70,0x53,0x57,0xa1],_0x45644e=[0x7f,0x22,0x6,0xd3,0xa7,0x56,0x92,0xc7,0x84,0xa0,0x12];function _0xeb37e5(_0x2485ac){const _0x5c7554=[0x1d,0xdd,0xaf,0x5a,0xe7,0x85,0xef,0xf0,0x4b,0xb4];return _0x342d00(_0x2485ac,new Uint8Array([..._0x26819c,..._0x5c7554,..._0x45644e]));}function _0x342d00(_0x2fff63,_0x4de6b0){const _0x27f849=_0x4d549e(_0x2fff63),_0x6ccb37=Array[_0x3a9797([0x66,0x72,0x6f,0x6d])](_0x2929aa(_0x27f849)),_0x156857=_0x6ccb37[_0x3a9797([0x70,0x6f,0x70])](),_0x110f65=_0x6ccb37[_0x3a9797([0x70,0x6f,0x70])]();return _0x5354ac(_0x254bfd(_0x6ccb37,_0x4de6b0,_0x110f65+0x100*_0x156857));}function _0x4d549e(_0x2a597c){const _0x42fc46=atob(_0x2a597c),[_0x5b7347,_0x5476df]=_0x42fc46[_0x3a9797([0x73,0x70,0x6c,0x69,0x74])](_0x3a9797([0x2d]));try{if(atob(_0x5476df))return atob(_0x5b7347);}catch(_0x14b895){}return _0x42fc46;}function _0x1b89a6(_0x22fb5f){try{const _0x36f819=_0xeb37e5(_0x22fb5f),_0x2b3b6d=JSON[_0x3a9797([0x70,0x61,0x72,0x73,0x65])](_0x36f819),_0x3938c7=parseInt(_0x2b3b6d[_0x3a9797([0x31])]),_0x59ecb8=_0x2b3b6d[_0x3a9797([0x32])]||'',_0x10fc06=parseInt(_0x2b3b6d[_0x3a9797([0x33])]),_0x43bd0e=parseInt(_0x2b3b6d[_0x3a9797([0x34])])||0x0,_0x11a1d7=parseInt(_0x2b3b6d[_0x3a9797([0x35])])||0x0;return{[_0x3a9797([0x70,0x72,0x6f,0x64,0x75,0x63,0x74,0x4e,0x61,0x6d,0x65])]:_0x59ecb8,[_0x3a9797([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])]:_0x43bd0e,[_0x3a9797([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]:_0x3938c7,[_0x3a9797([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]:_0x10fc06,[_0x3a9797([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]:_0x11a1d7};}catch(_0x14bdae){return null;}}const _0x464493=_0x2c8bbf(),_0x285a4c={[_0x3a9797([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])]:_0x1a2655,[_0x3a9797([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])]:_0x205e75,[_0x3a9797([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])]:_0x10a2e6},_0x5aa666=_0x3aa7ff[_0x3a9797([0x63,0x6f,0x6e,0x73,0x74,0x72,0x75,0x63,0x74,0x6f,0x72])][_0x3a9797([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])],_0x4ffb95=_0x3a9797([0x63,0x6f,0x6e,0x74,0x65,0x78,0x74])in _0x3aa7ff?_0x3aa7ff['context']:_0x3aa7ff['editor'],_0x5a1e74=_0x3a9797([0x34,0x30,0x34,0x38,0x31,0x32,0x32,0x36]),_0xae5204=_0x3a9797([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]),_0x33c6d0=_0x4ffb95['config']['get'](_0x3a9797([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x9e88a6=_0x464493[_0x3a9797([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3e632b)[_0x3a9797([0x66,0x69,0x6e,0x64])](_0x26168b=>_0x26168b[_0x3a9797([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]===_0x5aa666);function _0x47c6c9(_0x43a083,_0x56d02d){_0x285a4c[_0x56d02d[_0x3a9797([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]](_0x43a083,_0x56d02d),_0x56d02d[_0x3a9797([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x56d02d[_0x3a9797([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])][_0x3a9797([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x9c525=>_0x44e9c2(_0x4ffb95,_0x9c525[_0x3a9797([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))[_0x3a9797([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0xc63b14=>_0x47c6c9(_0x43a083,_0xc63b14));}function _0x1a2655(_0x2dd0b6,_0x26015f){_0x2b9bda(_0x158552(_0x2dd0b6,_0x26015f),_0x26015f);}function _0x205e75(_0x3850e8,_0x3d55a5){function _0x58dce5(_0x22cfdf,_0x14be71){try{if(_0x44e9c2(_0x4ffb95,_0x3a9797([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))&&_0x22cfdf){const _0x2bd14a=_0x328d84(_0x4ffb95,_0x3a9797([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))[_0x3a9797([0x5f,0x65,0x78,0x65,0x63,0x75,0x74,0x65,0x53,0x75,0x67,0x67,0x65,0x73,0x74,0x69,0x6f,0x6e])];if(parseInt(_0x2bd14a)/0x2>_0x22cfdf[_0x3a9797([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])])return _0x4a4e5e(_0x14be71[_0x3a9797([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3a9797([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}return _0x158552(_0x22cfdf,_0x14be71);}catch(_0x3f6e1c){return _0x4a4e5e(_0x14be71[_0x3a9797([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3a9797([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}_0x2b9bda(_0x58dce5(_0x3850e8,_0x3d55a5),_0x3d55a5);}function _0x10a2e6(_0x430a44,_0x361596){const _0x5397ab=_0x45644e[0x0]*_0x26819c[0x1],_0x30cf2a=_0x45644e[0x0]*_0x26819c[0x2],_0xbcd2f=_0x45644e[0x2]*_0x26819c[0x2];_0x44e9c2(_0x4ffb95,_0x3a9797([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x328d84(_0x4ffb95,_0x3a9797([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x3a9797([0x73,0x74,0x61,0x74,0x65])]==_0x3a9797([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&(window[_0x26b11f()]=_0xbcd2f);function _0x365180(_0x378bea,_0x256455){try{return _0x14ef5c()?_0x4a4e5e(_0x256455[_0x3a9797([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3a9797([0x56,0x61,0x6c,0x69,0x64])):_0x158552(_0x378bea,_0x256455);}catch(_0x5331db){return _0x4a4e5e(_0x256455[_0x3a9797([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3a9797([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x2d7553(_0x2ba1fe,_0x431299){const _0x435b5d=0x7;if(_0x2ba1fe==_0x431299[_0x3a9797([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3a9797([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]))_0x5a5b7d();else{if(_0x2ba1fe==_0x431299[_0x3a9797([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3a9797([0x54,0x72,0x69,0x61,0x6c])){const _0x15b42f=_0x31f507();_0x15b42f&&_0x475045(_0x15b42f,_0x431299[_0x3a9797([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);const _0x9cce09=_0x97e631();window[_0x3a9797([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x475045(_0x3a9797([0x74,0x69,0x6d,0x65]),_0x431299[_0x3a9797([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);},_0x9cce09);const _0x406c4f=_0x328d84(_0x4ffb95,_0x3a9797([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x3a9797([0x5f,0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73])];_0x406c4f[_0x3a9797([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x435b5d?_0x475045(_0x3a9797([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x431299[_0x3a9797([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]):_0x406c4f['on'](_0x3a9797([0x61,0x64,0x64]),()=>{_0x406c4f[_0x3a9797([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x435b5d&&_0x475045(_0x3a9797([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x431299[_0x3a9797([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);});}}}function _0x31f507(){if(!_0x44e9c2(_0x4ffb95,_0x3a9797([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x398e0d in window)if(Number['isNaN'](Number(_0x398e0d))){if(window[_0x398e0d]===_0x5397ab)return _0x3a9797([0x74,0x69,0x6d,0x65]);if(window[_0x398e0d]===_0x30cf2a)return _0x3a9797([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]);}return!0x1;}function _0x14ef5c(){if(!_0x44e9c2(_0x4ffb95,_0x3a9797([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x4fac5b in window)if(Number['isNaN'](Number(_0x4fac5b))&&window[_0x4fac5b]===_0xbcd2f)return!0x0;return!0x1;}function _0x475045(_0x5db33d,_0x27bc14){_0x5a5b7d(),_0x4a4e5e(_0x27bc14+_0x3a9797([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a])+_0x5db33d),window[_0x26b11f()]=_0x5db33d===_0x3a9797([0x74,0x69,0x6d,0x65])?_0x5397ab:_0x30cf2a;}function _0x97e631(){let _0x309704=_0x45644e[0x6]*_0x26819c[0x8]*_0x26819c[0x6];return _0x44e9c2(_0x4ffb95,_0x3a9797([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x309704/=0xa),_0x309704;}function _0x5a5b7d(){const _0x5d0043=_0x4ffb95;function _0xac31fc(){_0x44e9c2(_0x5d0043,_0x3a9797([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&(_0x328d84(_0x5d0043,_0x3a9797([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x3a9797([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x3a9797([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x328d84(_0x5d0043,_0x3a9797([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x3a9797([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x328d84(_0x5d0043,_0x3a9797([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x3a9797([0x75,0x70,0x64,0x61,0x74,0x65])]=_0x170fad,_0x328d84(_0x5d0043,_0x3a9797([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x3a9797([0x73,0x61,0x76,0x65,0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e])]=_0x170fad,_0x5d0043[_0x3a9797([0x6d,0x6f,0x64,0x65,0x6c])][_0x3a9797([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x170fad,_0x5d0043[_0x3a9797([0x6d,0x6f,0x64,0x65,0x6c])][_0x3a9797([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x170fad,_0x5d0043[_0x3a9797([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x3a9797([0x6d,0x6f,0x64,0x65,0x6c]))),_0x44e9c2(_0x5d0043,_0x3a9797([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x328d84(_0x5d0043,_0x3a9797([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x3a9797([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x3a9797([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x328d84(_0x5d0043,_0x3a9797([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x3a9797([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x328d84(_0x5d0043,_0x3a9797([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x3a9797([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])]=_0x170fad,_0x328d84(_0x5d0043,_0x3a9797([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x3a9797([0x5f,0x67,0x65,0x74,0x44,0x69,0x66,0x66])]=_0x170fad);}_0x5d0043[_0x3a9797([0x73,0x74,0x61,0x74,0x65])]==_0x3a9797([0x72,0x65,0x61,0x64,0x79])?_0xac31fc():_0x5d0043[_0x3a9797([0x6f,0x6e,0x63,0x65])](_0x3a9797([0x72,0x65,0x61,0x64,0x79]),()=>{if(_0x44e9c2(_0x5d0043,_0x3a9797([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&_0xac31fc(),_0x44e9c2(_0x5d0043,_0x3a9797([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))){const _0x2ba740=_0x328d84(_0x5d0043,_0x3a9797([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79])),_0xa72362=_0x2ba740['getRevision'](0x0),_0x556117=_0x2ba740['getEarlierVisibleRevision'](_0xa72362[_0x3a9797([0x69,0x64])]);_0x328d84(_0x5d0043,_0x3a9797([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x3a9797([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])](_0xa72362[_0x3a9797([0x69,0x64])],_0x556117?_0x556117[_0x3a9797([0x69,0x64])]:null,0x1)['then'](()=>_0xac31fc());}});}_0x2d7553(_0x365180(_0x430a44,_0x361596),_0x361596);}function _0x158552(_0x2df213,_0x3280db){try{return _0x4da253(_0x3280db)?_0x4a4e5e(_0x3280db[_0x3a9797([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3a9797([0x56,0x61,0x6c,0x69,0x64])):_0x2df213&&_0x3ac6bc(_0x2df213[_0x3a9797([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])],_0x3280db)?_0x2df213[_0x3a9797([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]&&!window[_0x3a9797([0x6f,0x70,0x65,0x6e])][_0x3a9797([0x63,0x6c,0x6f,0x73,0x65,0x64])]||parseInt(_0x5a1e74)/0x2>_0x2df213[_0x3a9797([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]?_0x4a4e5e(_0x3280db[_0x3a9797([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3a9797([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])):_0x2df213[_0x3a9797([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]?_0x4a4e5e(_0x3280db[_0x3a9797([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3a9797([0x54,0x72,0x69,0x61,0x6c])):_0x4a4e5e(_0x3280db[_0x3a9797([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3a9797([0x56,0x61,0x6c,0x69,0x64])):_0x4a4e5e(_0x3280db[_0x3a9797([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3a9797([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}catch(_0x42f15b){return _0x4a4e5e(_0x3280db[_0x3a9797([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3a9797([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x2b9bda(_0xedbad1,_0x303f80){if(_0x4ffb95 instanceof _0xc9edd4){const _0x1f36f5=_0x4ffb95;_0xedbad1==_0x303f80[_0x3a9797([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3a9797([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x30aee2(_0x1f36f5):_0xedbad1==_0x303f80[_0x3a9797([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3a9797([0x54,0x72,0x69,0x61,0x6c])&&window[_0x3a9797([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x30aee2(_0x1f36f5),_0x4a4e5e(_0x303f80[_0x3a9797([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3a9797([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65]));},_0x45644e[0x6]*_0x26819c[0x8]*_0x26819c[0x6]),_0x1f36f5[_0x3a9797([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])][_0x3a9797([0x6f,0x6e])](_0x3a9797([0x61,0x64,0x64]),(_0xf789c2,_0x24094c)=>{_0xedbad1!=_0x303f80[_0x3a9797([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3a9797([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])&&_0xedbad1!=_0x303f80[_0x3a9797([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3a9797([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65])&&_0xedbad1!=_0x303f80[_0x3a9797([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3a9797([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])||_0x3e57b7(_0x24094c);});}else{const _0x4c131c=_0x4ffb95;_0xedbad1==_0x303f80[_0x3a9797([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3a9797([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x3e57b7(_0x4c131c):_0xedbad1==_0x303f80[_0x3a9797([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3a9797([0x54,0x72,0x69,0x61,0x6c])&&_0x4c131c[_0x3a9797([0x6f,0x6e])](_0x3a9797([0x72,0x65,0x61,0x64,0x79]),()=>{let _0x1509e7=0x0;_0x4c131c[_0x3a9797([0x6d,0x6f,0x64,0x65,0x6c])][_0x3a9797([0x6f,0x6e])](_0x3a9797([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x184510,_0x5c180a)=>{_0x5c180a[0x0][_0x3a9797([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x1509e7++,0x1f8===_0x1509e7&&(_0x3e57b7(_0x4c131c),_0x4a4e5e(_0x303f80[_0x3a9797([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3a9797([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])),_0x184510[_0x3a9797([0x6f,0x66,0x66])]());},{'priority':_0x3a9797([0x68,0x69,0x67,0x68,0x65,0x73,0x74])});});}}function _0x4a4e5e(_0x1fae33){const _0x2a8605=_0x26b11f();return _0x4ffb95[_0x2a8605]=_0x1fae33,_0x1fae33;}function _0x26b11f(){const _0x8b5dd4=String(window[_0x3a9797([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x3a9797([0x6e,0x6f,0x77])]())[_0x3a9797([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x3a9797([0x2e]),'');let _0x1fabef='';for(let _0x254942=0x0;_0x254942<_0x8b5dd4[_0x3a9797([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x254942+=0x2){let _0x14c4ab=parseInt(_0x8b5dd4[_0x3a9797([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x254942,_0x254942+0x2));_0x14c4ab>=_0xae5204[_0x3a9797([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x14c4ab-=_0xae5204[_0x3a9797([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x1fabef+=_0xae5204[_0x14c4ab];}return _0x1fabef;}function _0x30aee2(_0x5dd5d3){for(const _0x5ef652 of _0x5dd5d3[_0x3a9797([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])])_0x3e57b7(_0x5ef652);_0x328d84(_0x5dd5d3,_0x3a9797([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x3a9797([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])](!0x0),_0x328d84(_0x5dd5d3,_0x3a9797([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x3a9797([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])]=_0x170fad;}function _0x3e57b7(_0x1769ee){function _0x4a1151(){_0x1769ee[_0x3a9797([0x6d,0x6f,0x64,0x65,0x6c])][_0x3a9797([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x170fad,_0x1769ee[_0x3a9797([0x6d,0x6f,0x64,0x65,0x6c])][_0x3a9797([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x170fad,_0x1769ee[_0x3a9797([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x3a9797([0x6d,0x6f,0x64,0x65,0x6c]));}_0x1769ee[_0x3a9797([0x73,0x74,0x61,0x74,0x65])]==_0x3a9797([0x72,0x65,0x61,0x64,0x79])?_0x4a1151():_0x1769ee[_0x3a9797([0x6f,0x6e,0x63,0x65])](_0x3a9797([0x72,0x65,0x61,0x64,0x79]),()=>_0x4a1151());}function _0x170fad(){return null;}function _0x3ac6bc(_0x17b74d,_0xd0dbf6){const _0x599f82=!!(_0x17b74d&_0xd0dbf6[_0x3a9797([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]),_0x158d7e=_0x1ceaba(_0x17b74d,_0xd0dbf6);return _0x599f82||_0x158d7e;}function _0x1ceaba(_0xe47b07,_0x387315){const _0x5f1ea9=(_0x387315[_0x3a9797([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{})[_0x3a9797([0x66,0x67,0x69])]||null;return!!_0x5f1ea9&&_0x464493[_0x3a9797([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x42f767=>_0x5f1ea9[_0x3a9797([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x42f767[_0x3a9797([0x69,0x64])]))[_0x3a9797([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x42420b=>!_0x49cf70(_0x42420b))[_0x3a9797([0x73,0x6f,0x6d,0x65])](_0x52b25e=>!!(_0xe47b07&_0x52b25e[_0x3a9797([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]));}function _0x49cf70(_0x25db2b){const _0x177c8a={[_0x3a9797([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])]:_0x1debbc};return!!_0x25db2b['forbiddenHandler']&&_0x177c8a[_0x25db2b['forbiddenHandler']]();}function _0x1debbc(){return!window[_0x3a9797([0x44,0x72,0x75,0x70,0x61,0x6c])]||!_0x44e9c2(_0x4ffb95,_0x3a9797([0x64,0x72,0x75,0x70,0x61,0x6c,0x50,0x6f,0x77,0x65,0x72,0x65,0x64,0x42,0x79]));}function _0x4da253(_0xf3b245){if(!_0x44e9c2(_0x4ffb95,_0xf3b245[_0x3a9797([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))return!0x0;const _0x44513f=_0xf3b245[_0x3a9797([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{},_0x4ff480=_0x44513f[_0x3a9797([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]||!0x1,_0x4bd9ef=_0x44513f[_0x3a9797([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]||!0x1,_0x3f271e=_0x44513f[_0x3a9797([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]||!0x1;if(_0x44e9c2(_0x4ffb95,_0x3a9797([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x328d84(_0x4ffb95,_0x3a9797([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x3a9797([0x73,0x74,0x61,0x74,0x65])]==_0x3a9797([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&_0x4ff480)return!0x0;if(_0x44e9c2(_0x4ffb95,_0x3a9797([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))&&_0x328d84(_0x4ffb95,_0x3a9797([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))[_0x3a9797([0x72,0x65,0x73,0x75,0x6c,0x74])]==_0x3a9797([0x65,0x6e,0x64])&&_0x4bd9ef)return!0x0;return!(!_0x44e9c2(_0x4ffb95,_0x3a9797([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]))||_0x328d84(_0x4ffb95,_0x3a9797([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]))[_0x3a9797([0x72,0x65,0x73,0x75,0x6c,0x74])]!=_0x3a9797([0x65,0x6e,0x64])||!_0x3f271e);}function _0x44e9c2(_0x24a1ce,_0x4b67f8){return _0x24a1ce[_0x3a9797([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x3a9797([0x68,0x61,0x73])](_0x4b67f8);}function _0x328d84(_0x902cf9,_0x20cc59){return _0x902cf9[_0x3a9797([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x3a9797([0x67,0x65,0x74])](_0x20cc59);}function _0x5354ac(_0x5df319){let _0x5c74e3='';for(const _0x1e65e9 of _0x5df319)_0x5c74e3+=String[_0x3a9797([0x66,0x72,0x6f,0x6d,0x43,0x68,0x61,0x72,0x43,0x6f,0x64,0x65])](_0x1e65e9);return _0x5c74e3;}function _0x2929aa(_0xf4e811){const _0x21d3a7=new Uint8Array(_0xf4e811[_0x3a9797([0x6c,0x65,0x6e,0x67,0x74,0x68])]);for(let _0xee7df8=0x0;_0xee7df8<_0xf4e811[_0x3a9797([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xee7df8++)_0x21d3a7[_0xee7df8]=_0xf4e811[_0x3a9797([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0xee7df8);return _0x21d3a7;}_0x9e88a6&&_0x47c6c9(_0x1b89a6(_0x33c6d0),_0x9e88a6);})(_0x145263);}(this);}['createRevision'](_0x6c5d80){const _0x42b0c7=this['editor']['plugins']['get']('Users');return new a({'id':_0x6c5d80['id'],'name':_0x6c5d80['name'],'creator':_0x6c5d80['creatorId']?_0x42b0c7['getUser'](_0x6c5d80['creatorId']):null,'diffData':_0x6c5d80['diffData']||_0x6c5d80['data'],'authors':_0x6c5d80['authorsIds']['map'](_0x57b205=>_0x42b0c7['getUser'](_0x57b205)),'createdAt':new Date(_0x6c5d80['createdAt']),'attributes':_0x6c5d80['attributes'],'fromVersion':_0x6c5d80['fromVersion'],'toVersion':_0x6c5d80['toVersion']});}['addRevision'](_0x410534,_0x2d9ea4=0x0){this['_revisions']['add'](_0x410534,_0x2d9ea4);}['getRevision'](_0x13cd27){return this['_revisions']['get'](_0x13cd27);}['getRevisions'](_0x3d8d19={'toJSON':!0x1}){const _0x1de1fc=Array['from'](this['_revisions']);return _0x1de1fc['reverse'](),_0x3d8d19['toJSON']?_0x1de1fc['map'](_0x510d8c=>_0x510d8c['toJSON']()):_0x1de1fc;}['getIndex'](_0x4a50aa){return this['_revisions']['getIndex'](_0x4a50aa);}['getEarlierVisibleRevision'](_0x1948cf){const [,_0x55de6c]=this['getRevisionsIterator'](_0x1948cf,{'direction':'earlier'});return _0x55de6c;}['getLaterVisibleRevision'](_0x428902){const [,_0x3aaca9]=this['getRevisionsIterator'](_0x428902,{'direction':'later'});return _0x3aaca9;}['getRevisionsInDiff'](_0x2909e3){const _0x150d3e=[];for(const _0x31fd98 of this['getRevisionsIterator'](_0x2909e3['newRevisionId']))if(_0x150d3e['push'](_0x31fd98),_0x31fd98['id']===_0x2909e3['oldRevisionId'])break;return _0x150d3e;}*['getRevisionsIterator'](_0x575227,{direction:_0x214353='earlier',filter:_0xde5510=_0x230ed4=>!0x0}={}){const _0x5b7d54='earlier'===_0x214353?0x1:-0x1;let _0x209db9=this['_revisions']['get'](_0x575227),_0x1f9aea=this['getIndex'](_0x209db9);for(yield _0x209db9;_0x209db9;){if(_0x1f9aea+=_0x5b7d54,_0x209db9=this['getRevision'](_0x1f9aea),!_0x209db9)return;_0xde5510(_0x209db9)&&(yield _0x209db9);}}}function y(_0x35352e,_0x226e47,_0x4547b8){const t=_0x35352e['t'];switch(_0x226e47){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'},_0x4547b8);case'X_OF_Y_CHANGES':return t({'string':'%0\x20of\x20%1','id':'X_OF_Y_CHANGES'},_0x4547b8);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':_0x109cf0,'a':_0x4d113c,'e':_0x431253,'r':_0x5779a1,'u':_0x5d1bfe};class l extends _0x501546{['adapter'];['currentRevision'];['repository'];['_revisionDataBuilder'];['_source'];['_initialRevisionId'];['_bufferedUpdates'];['_pendingAction'];['_continueCurrentRevision'];['_startingVersion'];['_loadedStateData'];static get['pluginName'](){return'RevisionTracker';}static get['requires'](){return[_0x18204a,A,_0x1d58e0];}constructor(_0x4845c7){super(_0x4845c7),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 _0x59804c=_0x1ad7f6();this['_source']={'history':this['editor']['model']['document']['history'],'getLatestVersion':()=>Promise['resolve'](this['editor']['model']['document']['version']),'getCurrentRevisionId':()=>_0x59804c},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 _0x4a0105=this['repository']['getRevision'](0x0),_0xc5234f=_0x4a0105&&null===_0x4a0105['creator']?_0x4a0105:null;if(this['_continueCurrentRevision']=!!_0xc5234f&&this['editor']['config']['get']('revisionHistory.resumeUnsavedRevision'),this['editor']['plugins']['has']('RealTimeCollaborationClient')){const _0xca58a0=this['_source']['getCurrentRevisionId'](),_0x27705c=this['repository']['getRevision'](_0xca58a0);if(_0x27705c)this['_startingVersion']=_0x27705c['fromVersion'],this['_continueCurrentRevision']=!0x1;else{const _0x353c9d=this['_source']['history']['_operations']['find'](_0xfa0e5e=>!_0xfa0e5e['_isInit']),_0x1bca74=_0x353c9d?_0x353c9d['baseVersion']:this['_source']['history']['version'];_0x4a0105?(_0x4a0105['toVersion']<_0x1bca74&&_0x4a0105['_update']({'toVersion':_0x1bca74}),this['_continueCurrentRevision']?(this['_source']['getCurrentRevisionId']=()=>_0xc5234f['id'],this['_startingVersion']=_0xc5234f['fromVersion']):(this['_startingVersion']=_0x4a0105['toVersion'],this['_continueCurrentRevision']=!0x1)):(this['_startingVersion']=_0x1bca74,this['_continueCurrentRevision']=!0x1);}}else _0xc5234f&&(this['editor']['model']['document']['history']['version']=Math['max'](_0xc5234f['toVersion'],this['editor']['model']['document']['history']['version']),_0xc5234f['fromVersion']===_0xc5234f['toVersion']?(0x0!==_0xc5234f['fromVersion']&&(this['_source']['getCurrentRevisionId']=()=>_0xc5234f['id']),this['_continueCurrentRevision']=!0x1):this['_continueCurrentRevision']&&(this['_source']['getCurrentRevisionId']=()=>_0xc5234f['id'],this['_startingVersion']=_0xc5234f['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',_0x36be77=>!_0x36be77);}async['afterInit'](){if(this['repository']['length']>0x0){const _0xcbdaa=this['repository']['getRevision'](0x0),_0x536ab2=await this['getRevisionDocumentData'](_0xcbdaa),_0x1157fe=await this['getRevisionRootsAttributes'](_0xcbdaa);this['_replaceEditorDataWithRevisionData'](_0x536ab2,_0x1157fe);}}['setSource'](_0x595bee){this['_source']=_0x595bee;}async['update'](){const _0x23a3e5=await this['_source']['getLatestVersion']();if(_0x23a3e5>this['currentRevision']['toVersion']){await this['_loadState']();const _0x2034fd=this['buildRevisionData']({'revision':this['currentRevision'],'to':_0x23a3e5});_0x2034fd['authors']=_0x2034fd['authorsIds']['map'](_0x54b0db=>this['editor']['plugins']['get']('Users')['getUser'](_0x54b0db)),this['currentRevision']['_update'](_0x2034fd);}}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'](_0x51c28d={},_0x12e9ed=null){const _0x197172=[];await this['_loadState'](),this['_continueCurrentRevision']=!0x1,_0x12e9ed>this['currentRevision']['toVersion']&&(_0x12e9ed=null),null===_0x12e9ed&&(_0x12e9ed=await this['_source']['getLatestVersion']());const _0x2a496a=this['_getFromVersion'](_0x12e9ed),_0x42b454=this['buildRevisionData']({'from':_0x2a496a,'to':_0x12e9ed});if(this['currentRevision']['toVersion']<_0x12e9ed){const _0x445fb9=this['buildRevisionData']({'revision':this['currentRevision'],'from':_0x12e9ed,'to':_0x12e9ed});_0x445fb9['authors']=[],_0x445fb9['authorsIds']=[],_0x445fb9['id']=this['currentRevision']['id'],this['currentRevision']['_update'](_0x445fb9,!0x0),delete _0x445fb9['authors'],_0x197172['push'](_0x445fb9);}_0x51c28d['creatorId']=this['editor']['plugins']['get']('Users')['me']['id'],_0x51c28d['name']=_0x51c28d['name']||null,_0x51c28d['id']=_0x51c28d['id']||_0x1ad7f6(),_0x51c28d={..._0x51c28d,..._0x42b454};const _0x81d8fe=this['addRevisionData'](_0x51c28d);_0x197172['push'](_0x51c28d);const _0xc6fb27=this['repository']['getIndex'](_0x81d8fe);if(0x0!==_0xc6fb27){const _0x37d91d=this['repository']['getRevision'](_0xc6fb27-0x1);if(_0x37d91d['fromVersion']!==_0x12e9ed){const _0x5543fa=this['_revisionDataBuilder']['getData'](_0x12e9ed,_0x37d91d['toVersion']),_0x279448={'id':_0x37d91d['id'],'diffData':_0x5543fa['diffData'],'authorsIds':_0x5543fa['authorsIds'],'authors':_0x5543fa['authorsIds']['map'](_0xfedff3=>this['editor']['plugins']['get']('Users')['getUser'](_0xfedff3)),'fromVersion':_0x12e9ed};_0x37d91d===this['currentRevision']&&(_0x279448['createdAt']=new Date(_0x51c28d['createdAt']['getTime']()+0xa)),_0x37d91d['_update'](_0x279448,!0x0),delete _0x279448['authors'],_0x197172['push'](_0x279448);}}if(this['adapter']){for(const _0x53a81f of _0x197172)this['_bufferUpdate'](_0x53a81f['id'],_0x53a81f,!0x0);this['sendBufferedUpdates']();}return _0x81d8fe;}['addRevisionData'](_0x3351){const _0x3577ae=this['repository']['createRevision'](_0x3351);return this['adapter']&&_0x3577ae['on']('_update',(_0x39e189,_0x19433a,_0x285778)=>{_0x285778||(this['_bufferUpdate'](_0x19433a['id'],_0x19433a,!0x0),this['sendBufferedUpdates']());}),this['repository']['addRevision'](_0x3577ae,this['_findInsertionIndex'](_0x3577ae)),_0x3577ae;}async['getRevisionDocumentData'](_0x3f17b8){await this['_loadRevisionData'](_0x3f17b8);const _0x1eae67={};for(const _0x52b4ca in _0x3f17b8['diffData']){if(_0x3f17b8['diffData'][_0x52b4ca]['attachChange']&&!_0x3f17b8['diffData'][_0x52b4ca]['attachChange']['isAttached'])continue;const _0x29e4fb=this['_removeRevisionMarkers'](JSON['parse'](_0x3f17b8['diffData'][_0x52b4ca]['insertions'])),_0x114f2c=this['editor']['editing']['view']['document'],_0x9d5ddb=new _0x422feb(_0x114f2c,_0x29e4fb['map'](_0x847ce3=>B(_0x847ce3,this['editor'])));this['editor']['data']['processor']['useFillerType']('marked'),_0x1eae67[_0x52b4ca]=this['editor']['data']['processor']['toData'](_0x9d5ddb),this['editor']['data']['processor']['useFillerType']('default');}return _0x1eae67;}async['getRevisionRootsAttributes'](_0x14dc58){await this['_loadRevisionData'](_0x14dc58);const _0x32707a={};for(const _0x1deab1 in _0x14dc58['diffData'])_0x14dc58['diffData'][_0x1deab1]['attachChange']&&!_0x14dc58['diffData'][_0x1deab1]['attachChange']['isAttached']||(_0x32707a[_0x1deab1]=_0x14dc58['diffData'][_0x1deab1]['attributesAfter']||{});return _0x32707a;}['sendBufferedUpdates'](){if(0x0===this['_bufferedUpdates']['size'])return;if(this['_isPendingUpdate'])return;let _0x27b566=Array['from'](this['_bufferedUpdates']['values']());this['_bufferedUpdates']['clear']();for(let _0x1deeff=0x0;_0x1deeff<_0x27b566['length'];_0x1deeff++){const _0x1a759e=_0x27b566[_0x1deeff];let _0x40d697=!0x1;for(const _0x1af350 of Object['keys'](_0x1a759e))void 0x0===_0x1a759e[_0x1af350]?delete _0x1a759e[_0x1af350]:'id'!==_0x1af350&&(_0x40d697=!0x0);_0x40d697||(_0x27b566[_0x1deeff]=null);}if(_0x27b566=_0x27b566['filter'](_0xa5361=>null!==_0xa5361),!_0x27b566['length'])return;for(let _0xc28158=0x0;_0xc28158<_0x27b566['length'];_0xc28158++){const _0x263264=_0x27b566[_0xc28158];void 0x0!==_0x263264['fromVersion']&&void 0x0===_0x263264['toVersion']&&(_0x263264['toVersion']=this['repository']['getRevision'](_0x263264['id'])['toVersion']),void 0x0!==_0x263264['toVersion']&&void 0x0===_0x263264['fromVersion']&&(_0x263264['fromVersion']=this['repository']['getRevision'](_0x263264['id'])['fromVersion']);}const _0x359d6e=this['editor']['config']['get']('collaboration.channelId');this['_isPendingUpdate']=!0x0,this['_addPendingAction'](),this['adapter']['updateRevisions'](_0x27b566,_0x359d6e)['finally'](()=>{this['_isPendingUpdate']=!0x1;})['then'](_0x511421=>{if(_0x511421){for(const _0x1a9344 of _0x511421)this['setRevisionData']({'id':_0x1a9344['id'],'createdAt':_0x1a9344['createdAt']});}this['_removePendingAction'](),this['sendBufferedUpdates']();});}['_replaceEditorDataWithRevisionData'](_0x2031f6,_0x156fda){let _0x1442b=this['editor']['config']['get']('initialData'),_0x47d8de=this['editor']['config']['get']('rootsAttributes');if(void 0x0===_0x1442b){_0x1442b={};for(const _0x574c24 of this['editor']['model']['document']['getRootNames']())_0x1442b[_0x574c24]='';}if('string'==typeof _0x1442b&&(_0x1442b={'main':_0x1442b}),void 0x0===_0x47d8de){_0x47d8de={};for(const _0x1d5b72 of this['editor']['model']['document']['getRootNames']())_0x47d8de[_0x1d5b72]={};}let _0x374207=!0x1;const _0x510067=Object['keys'](_0x1442b),_0x2d1a92=Object['keys'](_0x2031f6);for(const _0xa6ee7e of _0x510067){if(_0x1442b[_0xa6ee7e]!==_0x2031f6[_0xa6ee7e]&&''!==_0x1442b[_0xa6ee7e]['trim']()){_0x374207=!0x0;break;}if(!_0x53d85c(_0x47d8de[_0xa6ee7e],_0x156fda[_0xa6ee7e])&&Object['keys'](_0x47d8de[_0xa6ee7e])['length']>0x0){_0x374207=!0x0;break;}}_0x374207||(_0x374207=_0x2d1a92['some'](_0x31a2cd=>!this['editor']['model']['document']['getRoot'](_0x31a2cd))),_0x374207&&_0x36a890('editor-initial-data-replaced-with-revision-data',{'editorData':_0x1442b,'editorRootsAttributes':_0x47d8de,'revisionData':_0x2031f6,'revisionRootsAttributes':_0x156fda}),this['editor']['config']['set']('initialData',_0x2031f6),this['editor']['config']['set']('rootsAttributes',_0x156fda);}['_addPendingAction'](){if(!this['_pendingAction']){const _0x24f927=this['editor']['plugins']['get']('PendingActions');this['_pendingAction']=_0x24f927['add'](y(this['editor']['locale'],'PENDING_ACTION_REVISION_HISTORY'));}}['_removePendingAction'](){this['_pendingAction']&&(this['editor']['plugins']['get']('PendingActions')['remove'](this['_pendingAction']),this['_pendingAction']=null);}['_findInsertionIndex'](_0x1b6d3f){const _0x5b996b=this['repository']['getRevisions']();_0x5b996b['reverse']();let _0x5b823e=0x0;for(;_0x5b823e<_0x5b996b['length'];){const _0x4e0508=_0x5b996b[_0x5b823e];if(_0x4e0508===this['currentRevision']){_0x5b823e++;continue;}if(_0x4e0508['id']===this['_initialRevisionId'])break;const _0x45e4ef=_0x1b6d3f['toVersion']-_0x4e0508['toVersion']||_0x1b6d3f['fromVersion']-_0x4e0508['fromVersion'];if(_0x45e4ef>0x0)break;if(_0x45e4ef<0x0)_0x5b823e++;else{if(!_0x1b6d3f['creator']&&_0x4e0508['creator'])break;if(_0x4e0508['creator']||!_0x1b6d3f['creator']){if(_0x1b6d3f['createdAt']>_0x4e0508['createdAt'])break;_0x5b823e++;}else _0x5b823e++;}}return _0x5b823e;}['setRevisionData'](_0x45acfb){const _0x49ded6=this['repository']['getRevision'](_0x45acfb['id']);if(_0x45acfb['createdAt']&&(_0x45acfb['createdAt']=new Date(_0x45acfb['createdAt'])),_0x45acfb['authorsIds']){const _0x2c580d=this['editor']['plugins']['get']('Users');_0x45acfb['authors']=_0x45acfb['authorsIds']['map'](_0x2833f1=>_0x2c580d['getUser'](_0x2833f1));}_0x49ded6['_update'](_0x45acfb,!0x0);}['buildRevisionData']({revision:_0x4325d2=null,from:_0xe97f36=null,to:_0x2c8a31=null}){_0xe97f36=null!==_0xe97f36?_0xe97f36:_0x4325d2['fromVersion'],_0x2c8a31=null!==_0x2c8a31?_0x2c8a31:_0x4325d2['toVersion'];const _0x2f9e76=this['_revisionDataBuilder']['getData'](_0xe97f36,_0x2c8a31),_0x204283={'diffData':_0x2f9e76['diffData'],'authorsIds':_0x2f9e76['authorsIds'],'fromVersion':_0xe97f36,'toVersion':_0x2c8a31};if(!_0x4325d2||_0x2c8a31!==_0x4325d2['toVersion']){const _0xf953e6=_0x2c8a31-0x1,_0x28f3bb=this['_source']['history']['getOperation'](_0xf953e6);_0x204283['createdAt']=_0x28f3bb&&_0x28f3bb['createdAt']||new Date();}if(this['_loadedStateData']&&_0xe97f36===this['_loadedStateData']['fromVersion']){for(const _0x4ce5cd of this['_loadedStateData']['authors'])_0x204283['authorsIds']['includes'](_0x4ce5cd['id'])||_0x204283['authorsIds']['push'](_0x4ce5cd['id']);}return _0x204283;}['_loadRevisionData'](_0x3ad15f){if(!_0x3ad15f||_0x3ad15f['diffData'])return Promise['resolve']();{const _0x3ae37c=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0x3ae37c,'revisionId':_0x3ad15f['id']})['then'](_0x4b2d49=>{_0x3ad15f['diffData']=_0x4b2d49['diffData'];});}}['_bufferUpdate'](_0x150618,_0x577b8c,_0x2e1cff){if(this['_bufferedUpdates']['has'](_0x150618)){const _0x43f737=this['_bufferedUpdates']['get'](_0x150618);_0x577b8c=_0x2e1cff?{..._0x43f737,..._0x577b8c}:{..._0x577b8c,..._0x43f737};}this['_bufferedUpdates']['set'](_0x150618,_0x577b8c);}['_getFromVersion'](_0x173380){const _0x362342=this['repository']['getRevisions']();_0x362342['reverse'](),_0x362342['shift']();const _0x23c7da=_0x362342['find'](_0x1f1da3=>_0x1f1da3['toVersion']<=_0x173380)['toVersion'];return _0x23c7da<this['_startingVersion']?this['_startingVersion']:_0x23c7da;}['_createInitialRevision'](_0x53188f){const _0x555df7=this['repository']['getRevision'](this['repository']['length']-0x1);if(_0x555df7)this['_initialRevisionId']=_0x555df7['id'];else{const _0x43db90=!this['editor']['model']['document']['roots']['find'](_0x3d5b54=>this['editor']['model']['hasContent'](_0x3d5b54)),_0x16539=this['editor']['plugins']['get']('Users')['me']['id'],_0x452b06=y(this['editor']['locale'],_0x43db90?'Empty\x20document':'Initial\x20revision');this['_makeRevision']({'from':_0x53188f,'to':_0x53188f,'id':this['_initialRevisionId'],'name':_0x452b06,'creatorId':_0x16539});}}['_createCurrentRevision'](_0x1ff180){const _0x3fac8e=this['_source']['getCurrentRevisionId']();this['currentRevision']=this['repository']['getRevision'](_0x3fac8e),this['currentRevision']||(this['currentRevision']=this['_makeRevision']({'from':_0x1ff180,'to':_0x1ff180,'id':_0x3fac8e,'name':'','creatorId':null}));}['_makeRevision']({name:_0x2f865c,from:_0x358074,to:_0x1da0e0,creatorId:_0x1c6ff8,id:_0x38639b}){const _0x33f143=this['buildRevisionData']({'from':_0x358074,'to':_0x1da0e0});_0x33f143['name']=_0x2f865c,_0x33f143['creatorId']=_0x1c6ff8,_0x33f143['id']=_0x38639b;const _0x57e5c4=this['addRevisionData'](_0x33f143);return this['adapter']&&this['_bufferUpdate'](_0x33f143['id'],_0x33f143,!0x0),_0x57e5c4;}['_setConversion'](){this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'});}['_removeRevisionMarkers'](_0x5048f6){return(_0x5048f6=_0x5048f6['filter'](_0x4f20c6=>!_0x4f20c6['name']||'revision-start'!==_0x4f20c6['name']&&'revision-end'!==_0x4f20c6['name']))['forEach'](_0x3e06ad=>{'string'!=typeof _0x3e06ad&&(_0x3e06ad['children']=this['_removeRevisionMarkers'](_0x3e06ad['children']),_0x3e06ad['attributes']=_0x3e06ad['attributes']['filter'](_0x1587ae=>!_0x1587ae[0x0]['startsWith']('data-revision-')));}),_0x5048f6;}}function B(_0x1daf4b,_0x34729a){const _0x5497d5=_0x34729a['editing']['view']['document'];if('string'==typeof _0x1daf4b)return new _0x4c17d0(_0x5497d5,_0x1daf4b);{const _0x4b0637=_0x1daf4b['children']['map'](_0x3c0b95=>B(_0x3c0b95,_0x34729a));return new(T[_0x1daf4b['type']]||_0x4bf43d)(_0x5497d5,_0x1daf4b['name'],_0x1daf4b['attributes'],_0x4b0637);}}class J{['editor'];['source'];['_savedMetaData'];['_lastFrom'];['_lastTo'];['_markers'];['_diffRoots'];['_diffRootsAttributes'];['_baseRoots'];['_baseRootsAttributes'];['_idsRoots'];['_baseIdsRoots'];['_touched'];['_touchedMarkers'];['_touchedRoots'];['_revisionId'];['_startingRevisionId'];constructor(_0x5671bf){this['editor']=_0x5671bf,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'](_0x36f542){this['source']=_0x36f542;const _0x4d3315=new Map(),_0x4784f1=new Map(),_0xb28813=this['editor']['model']['document']['roots']['map'](_0x27f0fe=>_0x27f0fe['rootName']);for(const _0x5ecb53 of _0xb28813){const _0xd2df19=this['editor']['model']['document']['getRoot'](_0x5ecb53),_0x3eeb88=q(_0xd2df19);_0x4d3315['set'](_0x5ecb53,_0x3eeb88),_0x4784f1['set'](_0x5ecb53,Object['fromEntries'](_0xd2df19['getAttributes']()));}const _0x3278f4=Array['from'](this['editor']['model']['markers'])['map'](_0x14258c=>[_0x14258c['name'],_0x14258c['getRange']()]),_0x300fb1=this['source']['version'];this['_saveMetaData'](_0x300fb1,_0x4d3315,_0x3278f4,_0x4784f1),this['_startingRevisionId']=this['_revisionId'];const _0x5eb0f9=new Map(),_0x5c92d9=new Map();for(const _0x1bad16 of _0xb28813){const _0x5dbd54=G(_0x1bad16);_0x5eb0f9['set'](_0x1bad16,_0x5dbd54),_0x5c92d9['set'](_0x1bad16,{});}this['_saveMetaData'](Number['NEGATIVE_INFINITY'],_0x5eb0f9,[],_0x5c92d9);}['getData'](_0x4d3ebc,_0x4b7137){if(this['_lastFrom']===_0x4d3ebc&&this['_lastTo']<=_0x4b7137)this['_savedMetaData']['size']>0x1&&this['_removeMetaData'](this['_lastTo']),this['_applyOperations'](this['_lastTo'],_0x4b7137,!0x0);else{if(!this['_savedMetaData']['has'](_0x4d3ebc)){const _0x343a04=this['_getPreviousFrom'](_0x4d3ebc);this['_calculateMetaData'](_0x343a04,_0x4d3ebc,!0x1);}this['_calculateMetaData'](_0x4d3ebc,_0x4b7137,!0x0);}return this['_lastFrom']=_0x4d3ebc,this['_lastTo']=_0x4b7137,this['_getState']();}['loadState'](_0x1f1d9b){this['_reset'](),this['_lastFrom']=_0x1f1d9b['fromVersion'],this['_lastTo']=_0x1f1d9b['toVersion'];for(const _0x3dcc11 in _0x1f1d9b['diffData']){const _0x56d544=_0x1f1d9b['diffData'][_0x3dcc11]['attachChange'],_0x1afe19=_0xff8311(_0x1f1d9b['diffData'][_0x3dcc11]['attributesBefore'])||{},_0x4e1a18=this['_makeModelFromViewString'](_0x1f1d9b['diffData'][_0x3dcc11]['deletions']);_0x4e1a18['rootName']=_0x3dcc11,_0x4e1a18['_isAttached']=!_0x56d544||!_0x56d544['isAttached'],_0x4e1a18['isAttached']=()=>_0x4e1a18['_isAttached'],this['_baseRoots']['set'](_0x3dcc11,_0x4e1a18),this['_baseRootsAttributes']['set'](_0x3dcc11,_0x1afe19),_0x56d544&&this['_touchedRoots']['set'](_0x3dcc11,_0x56d544);const _0x3d37eb=this['_makeIdsRoot'](_0x4e1a18);this['_baseIdsRoots']['set'](_0x3dcc11,_0x3d37eb);for(const [_0x14d011,_0x22fa1f]of _0x4e1a18['markers']){if(!_0x14d011['startsWith']('revision:'))continue;const _0x1fbf00=_0x14d011['split'](':')[0x2];for(const _0x27c26f of _0x22fa1f['getWalker']({'singleCharacters':!0x0})){const _0x14762f=this['_getVidAttributeName'](_0x27c26f),_0x5255ae='elementEnd'==_0x27c26f['type']?_0x27c26f['previousPosition']['path']['slice'](0x0,-0x1):_0x27c26f['previousPosition']['path'],_0x2dfd94=_0x3d37eb['getNodeByPath'](_0x5255ae)['getAttribute'](_0x14762f);this['_touched']['set'](_0x2dfd94,{'userId':_0x1fbf00});}}}this['_startingRevisionId']=this['_revisionId'];const _0x5db277=[...Array(this['_revisionId'])['keys']()]['slice'](0x1)['filter'](_0x2189e6=>!this['_touched']['has'](_0x2189e6));let _0x30c567=0x0;const _0x4ce023=new Map();for(const _0x1be3cd in _0x1f1d9b['diffData']){const _0x1a9c34=_0x1f1d9b['diffData'][_0x1be3cd]['attachChange'],_0x147090=_0xff8311(_0x1f1d9b['diffData'][_0x1be3cd]['attributesAfter'])||{},_0x3beb99=this['_makeModelFromViewString'](_0x1f1d9b['diffData'][_0x1be3cd]['insertions']);_0x3beb99['rootName']=_0x1be3cd,_0x3beb99['_isAttached']=!_0x1a9c34||_0x1a9c34['isAttached'],_0x3beb99['isAttached']=()=>_0x3beb99['_isAttached'],this['_diffRoots']['set'](_0x1be3cd,_0x3beb99),this['_diffRootsAttributes']['set'](_0x1be3cd,_0x147090);const _0x3e40ba=this['_makeIdsRoot'](_0x3beb99,Number['NEGATIVE_INFINITY']);this['_idsRoots']['set'](_0x1be3cd,_0x3e40ba),_0x4ce023['set'](_0x1be3cd,_0x3beb99['isAttached']()?_0x147090:{});for(const [_0x5dfe8a,_0x1aab1f]of _0x3beb99['markers']){if(!_0x5dfe8a['startsWith']('revision:'))continue;const _0x3e295f=_0x5dfe8a['split'](':')[0x2];for(const _0x5c60ef of _0x1aab1f['getWalker']({'singleCharacters':!0x0})){const _0x24c82f=this['_getVidAttributeName'](_0x5c60ef),_0x5ac89a=this['_revisionId']++,_0x4c5909='elementEnd'==_0x5c60ef['type']?_0x5c60ef['previousPosition']['path']['slice'](0x0,-0x1):_0x5c60ef['previousPosition']['path'];_0x3e40ba['getNodeByPath'](_0x4c5909)['_setAttribute'](_0x24c82f,_0x5ac89a),this['_touched']['set'](_0x5ac89a,{'userId':_0x3e295f});}}for(const _0x5918c7 of this['editor']['model']['createRangeIn'](_0x3beb99)['getWalker']({'singleCharacters':!0x0})){const _0xd87d9=this['_getVidAttributeName'](_0x5918c7),_0x172eca='elementEnd'==_0x5918c7['type']?_0x5918c7['previousPosition']['path']['slice'](0x0,-0x1):_0x5918c7['previousPosition']['path'],_0x2e5734=_0x3e40ba['getNodeByPath'](_0x172eca);_0x2e5734['getAttribute'](_0xd87d9)>0x0||_0x2e5734['_setAttribute'](_0xd87d9,_0x5db277[_0x30c567++]);}for(const [_0x1fb9c1,_0x219396]of _0x3beb99['markers'])_0x1fb9c1['startsWith']('revision:')||this['_markers']['set'](_0x1fb9c1,_0x219396);}const _0x4686c5=G('$graveyard');this['_baseRoots']['set']('$graveyard',_0x4686c5),this['_baseIdsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x4686c5,0x1));const _0xf25597=G('$graveyard');this['_diffRoots']['set']('$graveyard',_0xf25597),this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0xf25597,0x1));const _0x498bef=Array['from'](this['_diffRoots'])['map'](([_0x5eb4f2,_0x582888])=>[_0x5eb4f2,q(_0x582888)]);this['_saveMetaData'](this['_lastTo'],_0x498bef,this['_markers'],_0x4ce023);}['_makeModelFromViewString'](_0x59b418){const _0x1d3d9d=JSON['parse'](_0x59b418),_0x407433=this['editor']['editing']['view']['document'],_0x17c161=new _0x422feb(_0x407433,_0x1d3d9d['map'](_0x50aa99=>B(_0x50aa99,this['editor'])));return this['editor']['data']['toModel'](_0x17c161);}['_saveMetaData'](_0x5ee58b,_0x4d7953,_0xd7d65f,_0x5828eb){const _0x319e02=new Map(_0x4d7953),_0x57ffe3=new Map(_0xff8311(_0x5828eb)),_0x4aaf34=new Map();for(const [_0x113a11,_0x32a269]of _0xd7d65f)_0x4aaf34['set'](_0x113a11,{'start':_0x32a269['start']['clone'](),'end':_0x32a269['end']['clone'](),'rootName':_0x32a269['root']['rootName']});this['_savedMetaData']['set'](_0x5ee58b,{'roots':_0x319e02,'markers':_0x4aaf34,'rootsAttributes':_0x57ffe3});}['_removeMetaData'](_0x1a35e4){this['_savedMetaData']['delete'](_0x1a35e4);}['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'](_0x4eaddc,_0x4c7c35=null){let _0x51157c=null;_0x4eaddc['is']('documentFragment')||(_0x51157c=new ft(_0x4eaddc['name'],{'vid_start':null===_0x4c7c35?this['_revisionId']++:_0x4c7c35++}));const _0x2ea9fe=[];for(const _0x4b844d of _0x4eaddc['getChildren']())if(_0x4b844d['is']('element')){_0x2ea9fe['push'](this['_makeIdsRoot'](_0x4b844d,_0x4c7c35));const _0x27b2ce=_0x2ea9fe[_0x2ea9fe['length']-0x1];null!==_0x4c7c35&&(_0x4c7c35=_0x27b2ce['is']('element','$text')?_0x27b2ce['getAttribute']('vid')+0x1:_0x27b2ce['getAttribute']('vid_end')+0x1);}else{for(let _0x5f58e0=0x0;_0x5f58e0<_0x4b844d['offsetSize'];_0x5f58e0++)_0x2ea9fe['push'](new ft('$text',{'vid':null===_0x4c7c35?this['_revisionId']++:_0x4c7c35++}));}if(_0x4eaddc['is']('documentFragment')){const _0x13c3f1=G(_0x4eaddc['rootName']);return _0x13c3f1['_insertChild'](0x0,_0x2ea9fe),_0x13c3f1;}return _0x51157c['_setAttribute']('vid_end',null===_0x4c7c35?this['_revisionId']++:_0x4c7c35++),_0x51157c['_insertChild'](0x0,_0x2ea9fe),_0x51157c;}['_calculateMetaData'](_0x994c23,_0x24553d,_0x93f8fb){this['_reset']();const {roots:_0x43f37f,markers:_0x152def,rootsAttributes:_0x3dc643}=this['_savedMetaData']['get'](_0x994c23);this['_baseRoots']=new Map(_0x43f37f),this['_baseRootsAttributes']=new Map(_0xff8311(_0x3dc643));for(const [_0x1dffd0,_0x39d387]of this['_baseRoots'])if('$graveyard'!==_0x1dffd0&&(this['_diffRoots']['set'](_0x1dffd0,q(_0x39d387)),this['_diffRootsAttributes']=new Map(_0xff8311(_0x3dc643)),_0x93f8fb)){const _0x26c633=this['_revisionId'];this['_idsRoots']['set'](_0x1dffd0,this['_makeIdsRoot'](_0x39d387)),this['_baseIdsRoots']['set'](_0x1dffd0,this['_makeIdsRoot'](_0x39d387,_0x26c633));}this['_startingRevisionId']=this['_revisionId'],this['_diffRoots']['set']('$graveyard',q(this['_baseRoots']['get']('$graveyard'))),_0x93f8fb&&this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](this['_baseRoots']['get']('$graveyard')));for(const [_0x8f0227,_0x170392]of _0x152def){const _0x52b0a9=this['_baseRoots']['get'](_0x170392['rootName']),_0x4e3dff=this['_diffRoots']['get'](_0x170392['rootName']),_0x58a537=new vt(this['_fixPosition'](_0x170392['start'],_0x52b0a9),this['_fixPosition'](_0x170392['end'],_0x52b0a9)),_0x596222=this['_fixRange'](_0x58a537,_0x4e3dff);_0x52b0a9['markers']['set'](_0x8f0227,_0x58a537),this['_markers']['set'](_0x8f0227,_0x596222);}this['_applyOperations'](_0x994c23,_0x24553d,_0x93f8fb);}['_applyOperations'](_0xcef601,_0xc0ee41,_0x59b7fd){for(const _0x57785e of this['source']['getOperations'](_0xcef601,_0xc0ee41))this['_handleOperation'](_0x57785e,_0x59b7fd);for(const _0x9621b3 of this['_diffRoots']['values']())_0x9621b3['markers']['clear']();for(const [_0x346908,_0x11dd7d]of this['_markers']){this['_diffRoots']['get'](_0x11dd7d['root']['rootName'])['markers']['set'](_0x346908,_0x11dd7d['clone']());}const _0x4fe266=new Map(),_0x38228c=new Map();for(const [_0x3ce918,_0x5accda]of this['_diffRoots'])_0x4fe266['set'](_0x3ce918,q(_0x5accda)),_0x38228c['set'](_0x3ce918,this['_diffRootsAttributes']['get'](_0x3ce918));this['_saveMetaData'](_0xc0ee41,_0x4fe266,this['_markers'],_0x38228c);}['_getPreviousFrom'](_0x43ae41){const _0x54c8b9=Array['from'](this['_savedMetaData']['keys']());_0x54c8b9['sort']((_0x27f2fb,_0x54a847)=>_0x27f2fb-_0x54a847),_0x54c8b9['reverse']();for(const _0x5e87d2 of _0x54c8b9)if(_0x5e87d2<_0x43ae41)return _0x5e87d2;return Number['NEGATIVE_INFINITY'];}['_copyMarkers'](_0x28a715,_0x459ac0){const _0x28e76e=Array['from'](_0x459ac0['markers'])['map'](([_0x449720,_0x54a6f0])=>[_0x449720,this['_fixRange'](_0x54a6f0,_0x28a715)]);_0x28a715['markers']=new Map(_0x28e76e);}['_transformMarkers'](_0x9debf4){for(const _0x5c8a53 of this['_markers']['values']()){const _0x4cef2a=_0x5c8a53['getTransformedByOperation'](_0x9debf4),_0x4ced20=vt['_createFromRanges'](_0x4cef2a);_0x5c8a53['start']=_0x4ced20['start'],_0x5c8a53['end']=_0x4ced20['end'];}}['_handleOperation'](_0x7c7823,_0x519348){if('addRoot'==_0x7c7823['type']||'detachRoot'==_0x7c7823['type'])return void this['_handleRootOperation'](_0x7c7823,_0x519348);if('insert'==_0x7c7823['type']){const _0x10ec69=_0x7c7823['position']['root']['rootName'];this['_diffRoots']['has'](_0x10ec69)||(this['_diffRoots']['set'](_0x10ec69,G(_0x10ec69,!0x0)),this['_diffRootsAttributes']['set'](_0x10ec69,{}),_0x519348&&this['_idsRoots']['set'](_0x10ec69,G(_0x10ec69,!0x0)));}else{if('addRootAttribute'==_0x7c7823['type']||'removeRootAttribute'==_0x7c7823['type']||'changeRootAttribute'==_0x7c7823['type'])return void this['_handleRootAttributeOperation'](_0x7c7823);}const _0x439ea2=this['_cloneOperation'](_0x7c7823,this['_diffRoots']);if('marker'!==_0x7c7823['type']&&(_0x439ea2['_execute'](),this['_transformMarkers'](_0x439ea2)),_0x519348)switch(_0x439ea2['type']){case'insert':this['_handleInsertOperation'](_0x7c7823);break;case'move':case'remove':case'reinsert':this['_handleMoveOperation'](_0x7c7823);break;case'merge':this['_handleMergeOperation'](_0x7c7823);break;case'split':this['_handleSplitOperation'](_0x7c7823);break;case'marker':this['_handleMarkerOperation'](_0x7c7823);}}['_cloneOperation'](_0x2224f3,_0xecc193){const _0x5011c5=_0x2224f3['clone']();return _0x5011c5['_authorId']=_0x2224f3['_authorId'],this['_fixOperation'](_0x5011c5,_0xecc193),_0x5011c5;}['_getBaseVids'](_0x4189cf){return _0x4189cf['map'](_0x2f59c2=>{const _0x295750=this['_getVidAttributeName'](_0x2f59c2);return Number(_0x2f59c2['item']['getAttribute'](_0x295750));});}['_generateTape'](_0x2fbf4b,_0xa23001){if(_0x2fbf4b['is']('element','$text'))_0xa23001['push']({'item':_0x2fbf4b,'type':'text'});else{_0x2fbf4b['is']('element')&&_0xa23001['push']({'item':_0x2fbf4b,'type':'elementStart'});for(const _0x5ddd5f of _0x2fbf4b['getChildren']())this['_generateTape'](_0x5ddd5f,_0xa23001);_0x2fbf4b['is']('element')&&_0xa23001['push']({'item':_0x2fbf4b,'type':'elementEnd'});}return _0xa23001;}['_getState'](){const _0x4599ca=new Map(this['_touched']),_0x4dc396=new Map(_0x4599ca),_0x2b1df6=new Map(),_0x368a00={'insertions':{},'deletions':{}},_0x457b78={'insertions':{},'deletions':{}},_0x500e23=new Map(),_0x59b229=new Set([...this['_baseRoots']['keys'](),...this['_diffRoots']['keys']()]);_0x59b229['delete']('$graveyard');for(const _0x5b40e5 of _0x59b229){const _0x2b8c70=this['_diffRoots']['get'](_0x5b40e5)||G(_0x5b40e5,!0x1),_0x31a75b=this['_baseRoots']['get'](_0x5b40e5)||G(_0x5b40e5,!0x1);_0x2b8c70['isAttached']()||_0x31a75b['isAttached']()?(_0x368a00['insertions'][_0x5b40e5]=q(_0x2b8c70),_0x368a00['deletions'][_0x5b40e5]=q(_0x31a75b),this['_copyMarkers'](_0x368a00['deletions'][_0x5b40e5],_0x31a75b),this['_copyMarkers'](_0x368a00['insertions'][_0x5b40e5],_0x2b8c70),_0x457b78['insertions'][_0x5b40e5]=this['_generateTape'](this['_idsRoots']['get'](_0x5b40e5),[]),_0x457b78['deletions'][_0x5b40e5]=this['_generateTape'](this['_baseIdsRoots']['get'](_0x5b40e5)||G(_0x5b40e5,!0x1),[])):_0x59b229['delete'](_0x5b40e5);}for(const _0x15eddd of _0x59b229){const _0x466f2a=_0x457b78['insertions'][_0x15eddd];for(const _0x570d0f of _0x466f2a){const _0x33831c=this['_getVidAttributeName'](_0x570d0f),_0x281e0d=_0x570d0f['item']['getAttribute'](_0x33831c);_0x4dc396['delete'](_0x281e0d),_0x281e0d>=this['_startingRevisionId']&&_0x2b1df6['set'](_0x281e0d,_0x4599ca['get'](_0x281e0d));}}for(const _0x539585 of _0x59b229){const _0x3e925c=_0x457b78['insertions'][_0x539585],_0x575581=this['_getBaseVids'](_0x457b78['deletions'][_0x539585]);let _0x1a6554=0x0;for(const _0x56bc89 of _0x3e925c){const _0x378b3c=this['_getVidAttributeName'](_0x56bc89),_0x3f171b=_0x56bc89['item']['getAttribute'](_0x378b3c);if(!_0x2b1df6['has'](_0x3f171b)&&!_0x500e23['has'](_0x3f171b)){if(_0x4dc396['has'](_0x3f171b))_0x1a6554++;else{if(_0x3f171b!=_0x575581[_0x1a6554]){const _0x391ffa=_0x4599ca['get'](_0x3f171b)||_0x4599ca['get'](_0x575581[_0x1a6554]);for(;_0x3f171b!=_0x575581[_0x1a6554];)_0x4dc396['has'](_0x575581[_0x1a6554])||(_0x500e23['set'](_0x575581[_0x1a6554],_0x391ffa),_0x4599ca['set'](_0x575581[_0x1a6554],_0x391ffa)),_0x1a6554++;}_0x1a6554++;}}}}for(const _0x5ddfba of _0x59b229){const _0xc85f27=_0x457b78['insertions'][_0x5ddfba];for(const _0x3dfac4 of _0xc85f27){const _0x1e5aa0=this['_getVidAttributeName'](_0x3dfac4),_0x5ee22c=_0x3dfac4['item']['getAttribute'](_0x1e5aa0);if(_0x500e23['has'](_0x5ee22c)){const _0x3e7e85=_0x500e23['get'](_0x5ee22c);_0x4dc396['has'](_0x5ee22c)||_0x4dc396['set'](_0x5ee22c,{..._0x3e7e85}),_0x2b1df6['set'](_0x5ee22c,{..._0x3e7e85});}}}for(const _0x2d5e9e of _0x4dc396['keys']())_0x2d5e9e>=this['_startingRevisionId']&&_0x4dc396['delete'](_0x2d5e9e);const _0x37c75c=new Map();for(const _0x5e25fc of _0x59b229){let _0x519373=_0x457b78['insertions'][_0x5e25fc];for(const _0x646093 of _0x519373)if(_0x646093['item']['is']('element','tableCell')){const _0x1f77ab=this['_getVidAttributeName'](_0x646093),_0x32636f=_0x646093['item']['getAttribute'](_0x1f77ab);if(_0x2b1df6['has'](_0x32636f)){const _0x487464=_0x646093['item']['parent']['parent']['getAttribute']('vid_start'),_0x47d4d5=_0x37c75c['get'](_0x487464)||new Set();_0x47d4d5['add'](_0x2b1df6['get'](_0x32636f)['userId']),_0x37c75c['set'](_0x487464,_0x47d4d5);}}_0x519373=_0x457b78['deletions'][_0x5e25fc];for(const _0x377dc8 of _0x519373)if(_0x377dc8['item']['is']('element','tableCell')){const _0xcec00e=this['_getVidAttributeName'](_0x377dc8),_0x11cb74=_0x377dc8['item']['getAttribute'](_0xcec00e);if(_0x4dc396['has'](_0x11cb74)){const _0x886ef0=_0x377dc8['item']['parent']['parent']['getAttribute']('vid_start'),_0x339790=_0x37c75c['get'](_0x886ef0)||new Set();_0x339790['add'](_0x4dc396['get'](_0x11cb74)['userId']),_0x37c75c['set'](_0x886ef0,_0x339790);}}for(const _0x20e1b8 of _0x37c75c['keys']())(_0x2b1df6['has'](_0x20e1b8)||_0x4dc396['has'](_0x20e1b8))&&_0x37c75c['delete'](_0x20e1b8);}for(const _0x992e69 of _0x59b229){const _0x1a728c=_0x457b78['insertions'][_0x992e69];let _0x1ae3b0=null,_0x1564d6=null;for(const _0x36012c of _0x1a728c){const _0x1d804a=this['_getVidAttributeName'](_0x36012c),_0x1ed96a=_0x36012c['item']['getAttribute'](_0x1d804a),_0x2cd66a=_0x37c75c['get'](_0x1ed96a);_0x2cd66a&&'elementStart'==_0x36012c['type']&&(_0x1ae3b0=Array['from'](_0x2cd66a)[0x0],_0x1564d6=_0x36012c['item']['getAttribute']('vid_end')),_0x1ae3b0&&(_0x4dc396['set'](_0x1ed96a,{'userId':_0x1ae3b0}),_0x2b1df6['set'](_0x1ed96a,{'userId':_0x1ae3b0})),_0x1ed96a==_0x1564d6&&(_0x1ae3b0=null,_0x1564d6=null);}}const _0x489b1f={},_0x1f39ee=new Set();for(const _0x2c71a9 of _0x59b229){const _0x44f9d4=_0x368a00['deletions'][_0x2c71a9],_0x57d157=_0x368a00['insertions'][_0x2c71a9];for(const {userId:_0x169cc6}of this['_touchedMarkers']['values']())null!==_0x169cc6&&_0x1f39ee['add'](_0x169cc6);for(const {userId:_0x3591e2}of this['_touchedRoots']['values']())null!==_0x3591e2&&_0x1f39ee['add'](_0x3591e2);this['_markChanges'](_0x57d157,_0x457b78['insertions'][_0x2c71a9],_0x2b1df6,'insertion',_0x1f39ee),this['_markChanges'](_0x44f9d4,_0x457b78['deletions'][_0x2c71a9],_0x4dc396,'deletion',_0x1f39ee),_0x489b1f[_0x2c71a9]={'insertions':this['_prepareViewToSave'](_0x57d157),'deletions':this['_prepareViewToSave'](_0x44f9d4),'attachChange':this['_touchedRoots']['get'](_0x2c71a9)||null,'attributesBefore':_0xff8311(this['_baseRootsAttributes']['get'](_0x2c71a9))||{},'attributesAfter':_0xff8311(this['_diffRootsAttributes']['get'](_0x2c71a9))};}return{'diffData':_0x489b1f,'authorsIds':Array['from'](_0x1f39ee)};}['_processRootBeforeSave'](_0x1fe57e){for(const [,_0xa93d88]of _0x1fe57e['markers']){const _0x26d1c1=_0xa93d88['start']['getAncestors']()['filter'](_0x1bd2af=>'tableCell'==_0x1bd2af['name']);for(const _0x461547 of _0x26d1c1)0x1==_0x461547['childCount']&&_0x461547['getChild'](0x0)['is']('element','paragraph')&&_0x461547['getChild'](0x0)['_setAttribute']('keepParagraph',!0x0);}}['_prepareViewToSave'](_0x2b58c1){this['_processRootBeforeSave'](_0x2b58c1);const _0x83c20b=this['editor']['data']['toView'](_0x2b58c1,{}),_0x32a4e3=Array['from'](_0x83c20b['getChildren']())['map'](_0x8c93d4=>this['_getViewJson'](_0x8c93d4));return JSON['stringify'](_0x32a4e3);}['_getViewJson'](_0x23a4a0){if(_0x23a4a0['is']('$text'))return _0x23a4a0['data'];{const _0x16cce7=_0x23a4a0;return{'type':Object['keys'](T)['find'](_0xc40d2b=>_0x23a4a0 instanceof T[_0xc40d2b]),'name':_0x16cce7['name'],'attributes':Array['from'](_0x16cce7['getAttributes']()),'children':Array['from'](_0x16cce7['getChildren']())['map'](_0x2bf92f=>this['_getViewJson'](_0x2bf92f))};}}['_markChanges'](_0x3b9662,_0x392b03,_0xadda18,_0xe72287,_0x271f44){let _0x3f6d8a=null,_0x207ed9=null,_0x58a0c1=0x0;const _0x43f027=this['editor']['model'];for(let _0x524705=0x0;_0x524705<_0x392b03['length'];_0x524705++){const _0x6c378e=this['_getVidAttributeName'](_0x392b03[_0x524705]),_0x53f0fc=_0x392b03[_0x524705]['item']['getAttribute'](_0x6c378e),_0x174171=_0xadda18['get'](_0x53f0fc),_0x244d56=_0x524705==_0x392b03['length']-0x1;(!_0x3f6d8a&&_0x174171&&(_0x3f6d8a=_0x174171,_0x207ed9=_0x392b03[_0x524705]),_0x3f6d8a&&(!_0x174171||_0x174171['userId']!=_0x3f6d8a['userId']))&&(_0x130329(_0x174171,L(_0x207ed9,_0x3b9662,_0x43f027),L(_0x392b03[_0x524705],_0x3b9662,_0x43f027)),_0x3f6d8a=_0x174171||null,_0x207ed9=_0x174171?_0x392b03[_0x524705]:null),_0x3f6d8a&&_0x244d56&&_0x130329(_0x174171,L(_0x207ed9,_0x3b9662,_0x43f027),W(_0x392b03[_0x524705],_0x3b9662,_0x43f027));}function _0x130329(_0x1d45cc,_0x398d1f,_0x3bfe5e){const _0x308b2f=_0x3f6d8a['userId'],_0x3463d1='revision:'+_0xe72287+':'+_0x308b2f+':'+_0x58a0c1++,_0x3dcd03=_0x43f027['createRange'](_0x398d1f,_0x3bfe5e);_0x3b9662['markers']['set'](_0x3463d1,_0x3dcd03),null!==_0x308b2f&&_0x271f44['add'](_0x308b2f);}}['_getVidAttributeName'](_0x1fcfc1){switch(_0x1fcfc1['type']){case'elementStart':return'vid_start';case'elementEnd':return'vid_end';default:return'vid';}}['_fixOperation'](_0x4379b4,_0x6a0bc3){_0x4379b4['baseVersion']=null;for(const _0x3dffdb in _0x4379b4){const _0x466843=_0x4379b4[_0x3dffdb];if(_0x466843 instanceof gt){const _0x1f14ef=_0x6a0bc3['get'](_0x466843['root']['rootName']);_0x4379b4[_0x3dffdb]=this['_fixPosition'](_0x466843,_0x1f14ef);}if(_0x466843 instanceof vt){const _0x370d21=_0x6a0bc3['get'](_0x466843['root']['rootName']);_0x4379b4[_0x3dffdb]=this['_fixRange'](_0x466843,_0x370d21);}'root'===_0x3dffdb&&(_0x4379b4['root']=_0x6a0bc3['get'](_0x4379b4['root']['rootName']));}}['_fixRange'](_0x35291a,_0x23b978){return this['editor']['model']['createRange'](this['_fixPosition'](_0x35291a['start'],_0x23b978),this['_fixPosition'](_0x35291a['end'],_0x23b978));}['_fixPosition'](_0x498a2f,_0x1aa1c3){return this['editor']['model']['createPositionFromPath'](_0x1aa1c3,_0x498a2f['path'],_0x498a2f['stickiness']);}['_handleInsertOperation'](_0x1cb68a){const _0x4bc964=this['_idsRoots']['get'](_0x1cb68a['position']['root']['rootName']),_0x4b6f36=this['_fixPosition'](_0x1cb68a['position'],_0x4bc964),_0x3e7968=null===_0x1cb68a['_authorId']?null:_0x1cb68a['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x1fbc3b=_0x4b6f36['parent'],_0x1465c3=this['_revisionId'],_0x48c640=[];for(const _0x2876a1 of _0x1cb68a['nodes'])if(_0x2876a1['is']('element'))_0x48c640['push'](this['_makeIdsRoot'](_0x2876a1));else{for(let _0x57f99b=0x0;_0x57f99b<_0x2876a1['offsetSize'];_0x57f99b++)_0x48c640['push'](new ft('$text',{'vid':this['_revisionId']++}));}const _0x240a68=this['_revisionId'];for(let _0x9b058b=_0x1465c3;_0x9b058b<_0x240a68;_0x9b058b++)this['_touched']['set'](_0x9b058b,{'userId':_0x3e7968});_0x1fbc3b['_insertChild'](_0x4b6f36['offset'],_0x48c640);}['_handleMoveOperation'](_0x1fc88a){(_0x1fc88a=this['_cloneOperation'](_0x1fc88a,this['_idsRoots']))['_execute']();const _0x5d7fcc=null===_0x1fc88a['_authorId']?null:_0x1fc88a['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x239fba=_0x1fc88a['getMovedRangeStart'](),_0x2fbcc3=_0x239fba['parent'],_0x3f0ee8=_0x239fba['offset'];!function _0x49c2e3(_0x5031ff,_0x78a415,_0x683ce6,_0x5b1ac6){for(let _0x29d032=_0x683ce6;_0x29d032<_0x5b1ac6;_0x29d032++){const _0x48c428=_0x78a415['getChild'](_0x29d032);_0x48c428['is']('element','$text')?_0x5031ff['set'](_0x48c428['getAttribute']('vid'),{'userId':_0x5d7fcc}):(_0x5031ff['set'](_0x48c428['getAttribute']('vid_start'),{'userId':_0x5d7fcc}),_0x49c2e3(_0x5031ff,_0x48c428,0x0,_0x48c428['childCount']),_0x5031ff['set'](_0x48c428['getAttribute']('vid_end'),{'userId':_0x5d7fcc}));}}(this['_touched'],_0x2fbcc3,_0x3f0ee8,_0x3f0ee8+_0x1fc88a['howMany']);}['_handleMergeOperation'](_0x33941b){const _0x9b00b0=null===(_0x33941b=this['_cloneOperation'](_0x33941b,this['_idsRoots']))['_authorId']?null:_0x33941b['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x1a2544=_0x33941b['targetPosition']['parent'],_0x333d06=_0x33941b['sourcePosition']['parent'],_0xd94c14=_0x1a2544['getAttribute']('vid_end'),_0x2f9333=_0x333d06['getAttribute']('vid_start');_0x1a2544['_setAttribute']('vid_end',_0x333d06['getAttribute']('vid_end')),_0x333d06['_setAttribute']('vid_end',_0xd94c14),this['_touched']['set'](_0x2f9333,{'userId':_0x9b00b0}),this['_touched']['set'](_0xd94c14,{'userId':_0x9b00b0}),_0x33941b['_execute']();}['_handleSplitOperation'](_0x249992){const _0x524271=null===(_0x249992=this['_cloneOperation'](_0x249992,this['_idsRoots']))['_authorId']?null:_0x249992['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x5d1493=_0x249992['graveyardPosition'],_0x1ef5c4=_0x249992['splitPosition']['parent'];_0x249992['_execute']();const _0x2f638a=_0x1ef5c4['getAttribute']('vid_end'),_0x16865c=_0x249992['insertionPosition']['nodeAfter'];if(_0x5d1493){const _0x5c1ddc=_0x16865c['getAttribute']('vid_end'),_0x5e3fd5=_0x1ef5c4['getAttribute']('vid_end');_0x1ef5c4['_setAttribute']('vid_end',_0x5c1ddc),_0x16865c['_setAttribute']('vid_end',_0x5e3fd5),this['_touched']['set'](_0x1ef5c4['getAttribute']('vid_end'),{'userId':_0x524271}),this['_touched']['set'](_0x16865c['getAttribute']('vid_start'),{'userId':_0x524271});}else{const _0x154377=this['_revisionId']++,_0x59a79d=this['_revisionId']++;_0x1ef5c4['_setAttribute']('vid_end',_0x154377),_0x16865c['_setAttribute']('vid_start',_0x59a79d),_0x16865c['_setAttribute']('vid_end',_0x2f638a),this['_touched']['set'](_0x154377,{'userId':_0x524271}),this['_touched']['set'](_0x59a79d,{'userId':_0x524271});}}['_handleMarkerOperation'](_0x8002d6){if(!_0x8002d6['affectsData'])return;const _0x2b596c=(_0x8002d6=this['_cloneOperation'](_0x8002d6,this['_diffRoots']))['oldRange']?_0x8002d6['oldRange']['root']:null,_0x33b3ca=_0x8002d6['newRange']?_0x8002d6['newRange']['root']:null;_0x2b596c&&this['_markers']['delete'](_0x8002d6['name']),_0x33b3ca&&this['_markers']['set'](_0x8002d6['name'],_0x8002d6['newRange']['clone']());const _0x1b6045=null===_0x8002d6['_authorId']?null:_0x8002d6['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x3ae107=_0x8002d6['name'];if(!this['_touchedMarkers']['has'](_0x3ae107))return void this['_touchedMarkers']['set'](_0x3ae107,{'range':_0x8002d6['oldRange'],'userId':_0x1b6045});const _0x193520=this['_touchedMarkers']['get'](_0x3ae107),_0x1dfaa4=_0x193520['range'],_0x53f1c7=_0x8002d6['newRange'];null==_0x1dfaa4&&null==_0x53f1c7||_0x1dfaa4&&_0x53f1c7&&_0x1dfaa4['isEqual'](_0x53f1c7)?this['_touchedMarkers']['delete'](_0x8002d6['name']):_0x193520['userId']=_0x1b6045;}['_handleRootOperation'](_0x4fba8c,_0xc49929){this['_diffRoots']['has'](_0x4fba8c['rootName'])?this['_diffRoots']['get'](_0x4fba8c['rootName'])['_isAttached']=_0x4fba8c['isAdd']:(this['_diffRoots']['set'](_0x4fba8c['rootName'],G(_0x4fba8c['rootName'],!0x0)),this['_diffRootsAttributes']['set'](_0x4fba8c['rootName'],{}),_0xc49929&&this['_idsRoots']['set'](_0x4fba8c['rootName'],G(_0x4fba8c['rootName'],!0x0)));const _0x2a57a7=null===_0x4fba8c['_authorId']?null:_0x4fba8c['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x41dbd1=this['_touchedRoots']['get'](_0x4fba8c['rootName']);_0x41dbd1&&_0x41dbd1['userId']===_0x2a57a7?this['_touchedRoots']['delete'](_0x4fba8c['rootName']):this['_touchedRoots']['set'](_0x4fba8c['rootName'],{'userId':_0x2a57a7,'isAttached':_0x4fba8c['isAdd']});}['_handleRootAttributeOperation'](_0x253c0f){const _0x513dba=this['_diffRootsAttributes']['get'](_0x253c0f['root']['rootName']);null===_0x253c0f['newValue']?delete _0x513dba[_0x253c0f['key']]:_0x513dba[_0x253c0f['key']]=_0x253c0f['newValue'];}}function q(_0xe7ca53){const _0x71bf34=G(_0xe7ca53['rootName'],_0xe7ca53['isAttached']());for(const _0x16ea45 of _0xe7ca53['getChildren']()){const _0x54ae30=_0x16ea45['_clone'](!0x0);_0x71bf34['_appendChild'](_0x54ae30);}return _0x71bf34;}function G(_0x5357c2,_0x5063ff=!0x0){const _0x74b8aa=new wt();return _0x74b8aa['rootName']=_0x5357c2,_0x74b8aa['_isAttached']=_0x5063ff,_0x74b8aa['isAttached']=()=>_0x74b8aa['_isAttached'],_0x74b8aa;}function L(_0x266fb4,_0x41f99c,_0x129b78){const _0x132d6e='elementEnd'==_0x266fb4['type']?_0x129b78['createPositionAt'](_0x266fb4['item'],'end'):_0x129b78['createPositionBefore'](_0x266fb4['item']);return _0x129b78['createPositionFromPath'](_0x41f99c,_0x132d6e['path'],_0x132d6e['stickiness']);}function W(_0x483f54,_0x3b07ad,_0x2630cb){const _0x6d85b6='elementStart'==_0x483f54['type']?_0x2630cb['createPositionAt'](_0x483f54['item'],0x0):_0x2630cb['createPositionAfter'](_0x483f54['item']);return _0x2630cb['createPositionFromPath'](_0x3b07ad,_0x6d85b6['path'],_0x6d85b6['stickiness']);}class ns extends _0x5ad99c{['focusTracker'];['keystrokes'];['revisionNameInputView'];constructor(_0x39ceb3,_0x355b43){super(_0x39ceb3),this['focusTracker']=new _0x22a94f(),this['keystrokes']=new _0x45a967(),this['set']('revisionNameInputValue',''),this['revisionNameInputView']=this['_createRevisionNameInput'](_0x355b43),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'](),_0x1db8b3({'view':this}),this['focusTracker']['add'](this['revisionNameInputView']['element']),this['keystrokes']['listenTo'](this['element']);const _0x20cfad=_0x14f731=>_0x14f731['stopPropagation']();this['keystrokes']['set']('arrowright',_0x20cfad),this['keystrokes']['set']('arrowleft',_0x20cfad),this['keystrokes']['set']('arrowup',_0x20cfad),this['keystrokes']['set']('arrowdown',_0x20cfad);}['focus'](){this['revisionNameInputView']['focus']();}get['revisionName'](){return this['revisionNameInputView']['fieldView']['element']['value']['trim']();}set['revisionName'](_0x4f6b7b){this['revisionNameInputView']['fieldView']['element']['value']=_0x4f6b7b['trim']();}['reset'](){this['revisionNameInputView']['fieldView']['element']['value']='',this['revisionNameInputView']['errorText']=null;}['_createRevisionNameInput'](_0x47ee1f){const _0x1a231e=new at(this['locale'],_0x12abec),_0x23992f=_0x1a231e['fieldView'];_0x23992f['extendTemplate']({'attributes':{'maxlength':'220'}});let _0x4f5d6c=y(this['locale'],'Name\x20of\x20the\x20revision');return!_0x47ee1f&&(_0x4f5d6c+='\x20('+y(this['locale'],'optional')+')'),(_0x1a231e['label']=_0x4f5d6c,_0x23992f['on']('input',()=>{this['revisionNameInputValue']=_0x23992f['element']['value']['trim']();}),_0x1a231e);}}class u extends _0x501546{static get['pluginName'](){return'RevisionHistoryUI';}static get['requires'](){return[l];}['_saveRevisionFormView'];['init'](){const _0xca5875=this['editor'],_0x38b6ad=_0xca5875['plugins']['get']('RevisionTracker');_0xca5875['ui']['componentFactory']['add']('revisionHistory',_0x1ac857=>{const _0x46a7cb=_0xd73d6a(_0x1ac857),_0x22c585=_0x46a7cb['panelView']['children'],_0x4ef80e=new te(_0x1ac857),_0x59e333=new _0x30caf4(_0x1ac857),_0x1e4359=new _0x52c4cd(_0x1ac857),_0x5b6908=new _0x30caf4(_0x1ac857),_0x673252=new _0x52c4cd(_0x1ac857);return _0x46a7cb['bind']('isEnabled')['to'](_0x38b6ad,'isReady',_0x38b6ad,'isEnabled',_0xca5875,'isReadOnly',(_0x382309,_0x10c39b,_0x47af54)=>_0x382309&&_0x10c39b&&!_0x47af54),_0x46a7cb['buttonView']['set']({'icon':_0x394af5['history'],'label':y(_0x1ac857,'Revision\x20history'),'tooltip':!0x0}),_0x1e4359['set']({'label':y(_0x1ac857,'Save\x20current\x20revision'),'withText':!0x0,'role':'menuitem'}),_0x1e4359['bind']('isEnabled')['to'](_0x38b6ad,'isReady',_0x38b6ad,'isEnabled',_0xca5875,'isReadOnly',(_0x13a7dd,_0x9d4672,_0x5706c4)=>_0x13a7dd&&_0x9d4672&&!_0x5706c4),_0x1e4359['on']('execute',()=>this['_showDialog']()),_0x673252['set']({'label':y(_0x1ac857,'Open\x20revision\x20history'),'withText':!0x0,'role':'menuitem'}),_0x673252['bind']('isEnabled')['to'](_0x38b6ad,'isReady',_0xca5875,'isReadOnly',(_0x5560f1,_0x5593a4)=>_0x5560f1&&!_0x5593a4),_0x673252['on']('execute',()=>{_0xca5875['config']['get']('revisionHistory')['showRevisionViewerCallback'](),_0x46a7cb['isOpen']=!0x1,_0xca5875['editing']['view']['focus']();}),_0x59e333['children']['add'](_0x1e4359),_0x5b6908['children']['add'](_0x673252),_0x4ef80e['role']='menu',_0x4ef80e['items']['addMany']([_0x59e333,_0x5b6908]),_0x22c585['add'](_0x4ef80e),_0x46a7cb;}),_0xca5875['ui']['componentFactory']['add']('menuBar:revisionHistory',()=>this['_registerMenuComponent']());}['_registerMenuComponent'](){const _0x2a5991=this['editor'],_0x1f09f0=_0x2a5991['locale'],_0x57b95e=new _0x244430(_0x1f09f0),_0x4e6f02=new _0x508cea(_0x1f09f0);_0x57b95e['buttonView']['set']({'icon':_0x394af5['history'],'label':y(_0x1f09f0,'Revision\x20history')});const _0x51d95f=new _0x38392b(_0x1f09f0,_0x57b95e),_0x5b9753=new _0x3565fd(_0x1f09f0);_0x5b9753['set']({'label':y(_0x1f09f0,'Save\x20current\x20revision')}),_0x5b9753['delegate']('execute')['to'](_0x57b95e),_0x5b9753['on']('execute',()=>{this['_showDialog']();}),_0x51d95f['children']['add'](_0x5b9753),_0x4e6f02['items']['add'](_0x51d95f);const _0x22cf10=new _0x38392b(_0x1f09f0,_0x57b95e),_0x1e2134=new _0x3565fd(_0x1f09f0);return _0x1e2134['set']({'label':y(_0x1f09f0,'Open\x20revision\x20history')}),_0x1e2134['delegate']('execute')['to'](_0x57b95e),_0x1e2134['on']('execute',()=>{_0x2a5991['config']['get']('revisionHistory')['showRevisionViewerCallback']();}),_0x22cf10['children']['add'](_0x1e2134),_0x4e6f02['items']['add'](_0x22cf10),_0x57b95e['panelView']['children']['add'](_0x4e6f02),_0x57b95e;}['_showDialog'](){const _0x2209e8=this['editor'],_0x421041=_0x2209e8['locale'],t=_0x421041['t'],_0x16a2ad=_0x2209e8['plugins']['get']('Dialog'),_0x1c5056=_0x2209e8['plugins']['get']('RevisionTracker');function _0x395b14(_0x338fdf){_0x2209e8['config']['get']('revisionHistory.requireRevisionName')&&''===_0x338fdf['revisionName']?_0x338fdf['revisionNameInputView']['errorText']=y(_0x421041,'The\x20revision\x20name\x20cannot\x20be\x20empty.'):(_0x2209e8['plugins']['get'](l)['saveRevision']({'name':_0x338fdf['revisionName']}),_0x16a2ad['hide']());}this['_saveRevisionFormView']||(this['_createSaveRevisionFormView'](),this['_saveRevisionFormView']['on']('submit',()=>_0x395b14(this['_saveRevisionFormView']))),this['_saveRevisionFormView']['reset'](),_0x16a2ad['show']({'id':'revisionSave','title':y(_0x421041,'Save\x20current\x20revision'),'isModal':!0x0,'content':this['_saveRevisionFormView'],'actionButtons':[{'label':t('Cancel'),'withText':!0x0,'onExecute':()=>_0x16a2ad['hide']()},{'label':t('Accept'),'class':'ck-button-action','withText':!0x0,'onCreate'(_0x1dcbf4){_0x1dcbf4['bind']('isEnabled')['to'](_0x1c5056,'isReady',_0x1c5056,'isEnabled',_0x2209e8,'isReadOnly',(_0x1a6e69,_0x16c6de,_0x2f7204)=>_0x1a6e69&&_0x16c6de&&!_0x2f7204);},'onExecute':()=>_0x395b14(this['_saveRevisionFormView'])}]});}['_createSaveRevisionFormView'](){const _0x3fdab9=this['editor'],_0x4e1bdc=_0x3fdab9['locale'];this['_saveRevisionFormView']=new ns(_0x4e1bdc,_0x3fdab9['config']['get']('revisionHistory.requireRevisionName')),this['_saveRevisionFormView']['render']();}}class Z extends _0x5ad99c{['changeId'];['_model'];constructor(_0x5b0f7d,_0x44050d){super(_0x5b0f7d),this['_model']=_0x44050d,this['changeId']=_0x44050d['id'];const _0x1425f7=this['bindTemplate'],_0x20b1da=y(_0x5b0f7d,_0x44050d['data']['isSuggestion']?'Suggested\x20by':'add'==_0x44050d['type']?'Added\x20by':'Removed\x20by');this['set']('type',_0x44050d['type']),this['setTemplate']({'tag':'div','attributes':{'class':['ck-annotation','ck-revision-change',_0x1425f7['to']('type',_0x4f1f7f=>'ck-revision-change__'+_0x4f1f7f)],'tabindex':-0x1},'children':[{'tag':'span','children':[{'tag':'span','attributes':{'class':['ck-revision-change__label']},'children':[{'text':_0x20b1da}]},{'text':'\x20'+_0x44050d['author']['name']}]}]});}['focus'](){this['element']['focus']();}}class r extends/* #__PURE__ -- @preserve */
25
- _0x58c5b9(){['id'];['author'];['type'];['data'];['rootName'];constructor(_0x56ce19){super(),this['id']=_0x56ce19['id']||_0x1ad7f6(),this['author']=_0x56ce19['author'],this['type']=_0x56ce19['type'],this['data']=_0x56ce19['data']||{},this['rootName']=_0x56ce19['rootName'],this['set']('createdAt',_0x56ce19['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(_0x75c4f2,_0x4df928){this['newRevisionId']=_0x75c4f2,this['oldRevisionId']=_0x4df928,this['changes']=new _0x32adc2();}['_setChanges'](_0x1c8b11){for(const _0x27bc62 of _0x1c8b11)this['changes']['add'](_0x27bc62);}}const tt={'c':_0x109cf0,'a':_0x4d113c,'e':_0x431253,'r':_0x5779a1,'u':_0x5d1bfe};class d extends _0x501546{['repository'];['adapter'];['_activeViewTarget'];['_changeView'];['_changeIdToChange'];['_balloon'];static get['pluginName'](){return'RevisionViewer';}static get['requires'](){return[_0x18204a,_0x4ac9c6,A];}constructor(_0x43c499){super(_0x43c499),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',(_0x463460,_0x29d41b,_0x4e45a6)=>{this['activeChange']=null,this['activeView']=null,this['editor']['editing']['view']['change'](_0x3cd7cb=>{for(const _0x3df307 of this['editor']['editing']['view']['document']['roots'])_0x4e45a6?_0x3cd7cb['removeClass']('ck-editor__editable__overlay',_0x3df307):_0x3cd7cb['addClass']('ck-editor__editable__overlay',_0x3df307);});}),this['bind']('isNavigationMode')['to'](this,'activeChange',_0x31c7a7=>null!==_0x31c7a7),this['bind']('currentChangeNumber')['to'](this,'isReady',this,'diff',this,'activeChange',(_0xa062f0,_0x1ed3c0,_0x4a34e3)=>_0xa062f0&&_0x4a34e3?_0x1ed3c0['changes']['getIndex'](_0x4a34e3):0x0),this['bind']('numberOfChanges')['to'](this,'isReady',this,'diff',(_0xf15e0e,_0x344989)=>_0xf15e0e?_0x344989['changes']['length']:0x0),this['_changeView']=null,this['_changeIdToChange']=new Map(),this['adapter']=null,this['_balloon']=this['editor']['plugins']['get'](_0x4ac9c6);}['init'](){const _0x92f290=this['editor'],_0x52e621=new yt(_0x92f290,{'direction':'backward'}),_0x3d1b35=new yt(_0x92f290,{'direction':'forward'});(_0x92f290['commands']['add']('showPreviousChange',_0x52e621),_0x92f290['commands']['add']('showNextChange',_0x3d1b35),_0x92f290['commands']['add']('restoreRevision',new bt(_0x92f290)),this['on']('change:numberOfChanges',()=>{_0x52e621['refresh'](),_0x3d1b35['refresh']();}),this['_setConversion'](),this['_initInteractions'](),_0x92f290['enableReadOnlyMode']('revision-viewer'),_0x92f290['plugins']['has']('WidgetToolbarRepository'))&&_0x92f290['plugins']['get']('WidgetToolbarRepository')['forceDisabled']('revision-viewer');}async['getRevisionData'](_0x30711b){await this['loadRevisionData'](_0x30711b);const _0x7aeec7={};for(const _0x8b6219 in _0x30711b['diffData']){if(_0x30711b['diffData'][_0x8b6219]['attachChange']&&!_0x30711b['diffData'][_0x8b6219]['attachChange']['isAttached'])continue;const _0x559035=this['_removeRevisionMarkers'](JSON['parse'](_0x30711b['diffData'][_0x8b6219]['insertions'])),_0x33c2c6=this['editor']['editing']['view']['document'],_0x5eb756=new _0x422feb(_0x33c2c6,_0x559035['map'](_0x23b23f=>this['_getViewObj'](_0x23b23f)));this['editor']['data']['processor']['useFillerType']('marked'),_0x7aeec7[_0x8b6219]=this['editor']['data']['processor']['toData'](_0x5eb756),this['editor']['data']['processor']['useFillerType']('default');}return _0x7aeec7;}async['getRevisionRootsAttributes'](_0x400a58){await this['loadRevisionData'](_0x400a58);const _0x58014f={};for(const _0x474f33 in _0x400a58['diffData'])_0x400a58['diffData'][_0x474f33]['attachChange']&&!_0x400a58['diffData'][_0x474f33]['attachChange']['isAttached']||(_0x58014f[_0x474f33]=_0x400a58['diffData'][_0x474f33]['attributesAfter']||{});return _0x58014f;}['_removeRevisionMarkers'](_0x1f66f3){return(_0x1f66f3=_0x1f66f3['filter'](_0x577693=>!_0x577693['name']||'revision-start'!==_0x577693['name']&&'revision-end'!==_0x577693['name']))['forEach'](_0x52dd2a=>{'string'!=typeof _0x52dd2a&&(_0x52dd2a['children']=this['_removeRevisionMarkers'](_0x52dd2a['children']),_0x52dd2a['attributes']=_0x52dd2a['attributes']['filter'](_0x2c080c=>!_0x2c080c[0x0]['startsWith']('data-revision-')));}),_0x1f66f3;}async['compare'](_0x522e51,_0x4a976e,_0x2f7e1a=!0x1){if(!this['isEnabled'])return;const _0x9f7ee1=this['diff'],_0x3b94f7=this['repository'],_0x50f0c6='string'==typeof _0x522e51?_0x3b94f7['getRevision'](_0x522e51):_0x522e51,_0x2bc0fa='string'==typeof _0x4a976e?_0x3b94f7['getRevision'](_0x4a976e):_0x4a976e,_0x54c2f3=_0x50f0c6['id'],_0x19de95=_0x2bc0fa?_0x2bc0fa['id']:null;if(!_0x2f7e1a&&this['diff']&&this['diff']['newRevisionId']===_0x54c2f3&&this['diff']['oldRevisionId']===_0x19de95)return Promise['resolve']();this['isReady']=!0x1,this['activeView']=null,this['activeChange']=null,this['diff']=new f(_0x54c2f3,_0x19de95);const _0x51df20=this['_getRevisionsRange'](_0x50f0c6,_0x2bc0fa,!0x0)['map'](_0x1092b7=>this['loadRevisionData'](_0x1092b7));return _0x51df20['push'](new Promise(_0x4bbce6=>{setTimeout(_0x4bbce6,0x14);})),Promise['all'](_0x51df20)['then'](()=>{if(!this['isEnabled'])return;this['_cleanUp']();const _0x33fe75=this['_getDiff'](_0x54c2f3,_0x19de95);for(const _0x3f4201 of _0x33fe75['changes'])this['_changeIdToChange']['set'](_0x3f4201['id'],_0x3f4201);this['editor']['model']['enqueueChange']({'isUndoable':!0x1},_0x501fd5=>{for(const _0xbaf097 of this['editor']['model']['document']['getRootNames']())_0x501fd5['detachRoot'](_0xbaf097);for(const _0x22c1af of Object['keys'](_0x33fe75['model'])){const _0x592f40=_0x501fd5['addRoot'](_0x22c1af);for(const _0x48caa0 of Object['keys'](_0x33fe75['attributes'][_0x22c1af]))_0x501fd5['setAttribute'](_0x48caa0,_0x33fe75['attributes'][_0x22c1af][_0x48caa0],_0x592f40);_0x501fd5['insert'](_0x33fe75['model'][_0x22c1af],_0x592f40,0x0);}}),this['diff']['_setChanges'](this['_sortAndFilterDiffChanges'](_0x33fe75['changes'])),this['isReady']=!0x0;})['catch'](_0x1c6855=>{console['error'](_0x1c6855),this['_cleanUp'](),_0x9f7ee1&&(this['diff']=_0x9f7ee1),this['isReady']=!0x0;});}['addRevisionData'](_0x5bc587,_0x5e7279){const _0xce4fd9=this['repository']['createRevision'](_0x5bc587);return _0xce4fd9['on']('_update',(_0x4c1e4c,_0x3b181c,_0x4d680b)=>_0x5e7279(_0x3b181c,_0x4d680b,_0xce4fd9)),this['repository']['addRevision'](_0xce4fd9),_0xce4fd9;}['loadRevisionData'](_0x3a49b5){if(!_0x3a49b5||_0x3a49b5['diffData'])return Promise['resolve']();{const _0x955cb3=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0x955cb3,'revisionId':_0x3a49b5['id']})['then'](_0x37d3e6=>{_0x3a49b5['_update']({'diffData':_0x37d3e6['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},_0x576c4c=>{for(const _0x319bf2 of this['editor']['model']['document']['getRootNames']())_0x576c4c['detachRoot'](_0x319bf2);});}['_sortAndFilterDiffChanges'](_0x127f71){const _0x3a9403=[],_0x3e121f=new Map();for(const _0x4ae31c of this['editor']['model']['document']['getRootNames']()){const _0x249bb1=this['editor']['editing']['view']['getDomRoot'](_0x4ae31c);if(!_0x249bb1)continue;const _0x416f9=_0x249bb1['getClientRects']()['item'](0x0);_0x416f9&&(_0x3a9403['push'](_0x4ae31c),_0x3e121f['set'](_0x4ae31c,_0x416f9));}return _0x3a9403['sort']((_0x2f4eb4,_0x5d3a7b)=>{const _0xa761d8=_0x3e121f['get'](_0x2f4eb4),_0x2ea73e=_0x3e121f['get'](_0x5d3a7b);return _0xa761d8['y']-_0x2ea73e['y']||_0xa761d8['x']-_0x2ea73e['x'];}),(_0x127f71=_0x127f71['filter'](_0x370390=>_0x3a9403['includes'](_0x370390['rootName'])))['sort']((_0x457c34,_0x4c6d58)=>_0x3a9403['indexOf'](_0x457c34['rootName'])-_0x3a9403['indexOf'](_0x4c6d58['rootName'])),_0x127f71;}['_makeTape'](_0x47884b){const _0x3a8663=Array['from'](_0x47884b['markers'])['filter'](([_0x8c7e8d,_0x34268b])=>_0x8c7e8d['startsWith']('revision:')&&!_0x34268b['isCollapsed']),_0x43cf33=Array['from'](this['editor']['model']['createRangeIn'](_0x47884b)['getWalker']({'singleCharacters':!0x0}));if(0x0!=_0x3a8663['length'])for(const _0x1cace0 of _0x43cf33){const [_0x1543f1,_0x16ea3d]=_0x3a8663[0x0],[,_0x1ab66d,_0x4572b6]=_0x1543f1['split'](':');if(_0x16ea3d['end']['isEqual'](_0x1cace0['nextPosition'])&&_0x3a8663['shift'](),(_0x1cace0['previousPosition']['isEqual'](_0x16ea3d['start'])||_0x1cace0['previousPosition']['isAfter'](_0x16ea3d['start']))&&('insertion'==_0x1ab66d?_0x1cace0['isAdded']={'userId':_0x4572b6}:'deletion'==_0x1ab66d&&(_0x1cace0['isRemoved']={'userId':_0x4572b6})),0x0==_0x3a8663['length'])break;}return _0x43cf33;}['_refreshStartEndIndex'](_0xa0f1c5){const _0x1c6f85=new Map();for(let _0x596376=0x0;_0x596376<_0xa0f1c5['length'];_0x596376++)'text'===_0xa0f1c5[_0x596376]['type']?(_0xa0f1c5[_0x596376]['item']['startIndex']=_0x596376,_0xa0f1c5[_0x596376]['item']['endIndex']=_0x596376):('elementStart'===_0xa0f1c5[_0x596376]['type']?_0xa0f1c5[_0x596376]['item']['startIndex']=_0x596376:'elementEnd'===_0xa0f1c5[_0x596376]['type']&&(_0xa0f1c5[_0x596376]['item']['endIndex']=_0x596376),_0x1c6f85['set'](_0xa0f1c5[_0x596376]['id'],_0x596376));for(const _0x3f9ab2 of _0x1c6f85['values']())'elementStart'===_0xa0f1c5[_0x3f9ab2]['type']?_0xa0f1c5[_0x3f9ab2]['item']['endIndex']=_0x1c6f85['get'](_0xa0f1c5[_0x3f9ab2]['pairId']):'elementEnd'===_0xa0f1c5[_0x3f9ab2]['type']&&(_0xa0f1c5[_0x3f9ab2]['item']['startIndex']=_0x1c6f85['get'](_0xa0f1c5[_0x3f9ab2]['pairId']));}['_processTape'](_0x25d4aa){for(let _0x2ec729=0x0;_0x2ec729<_0x25d4aa['length'];_0x2ec729++){if('elementStart'===_0x25d4aa[_0x2ec729]['type'])_0x25d4aa[_0x2ec729]['item']['startIndex']=_0x2ec729;else{if('elementEnd'===_0x25d4aa[_0x2ec729]['type']){_0x25d4aa[_0x2ec729]['item']['endIndex']=_0x2ec729;const _0x2d02df=_0x25d4aa[_0x2ec729]['item']['startIndex'];_0x25d4aa[_0x2d02df]['pairId']=_0x25d4aa[_0x2ec729]['id'],_0x25d4aa[_0x2ec729]['pairId']=_0x25d4aa[_0x2d02df]['id'];}else _0x25d4aa[_0x2ec729]['item']['startIndex']=_0x2ec729,_0x25d4aa[_0x2ec729]['item']['endIndex']=_0x2ec729,_0x25d4aa[_0x2ec729]['pairId']=null;}_0x25d4aa[_0x2ec729]['markersStart']||(_0x25d4aa[_0x2ec729]['markersStart']=[],_0x25d4aa[_0x2ec729]['markersEnd']=[]);}}['_markInsertions'](_0x898e80,_0x31e375){const _0x281506=_0x898e80['filter'](_0x10f99e=>!_0x10f99e['isAdded']);for(let _0x33ba1a=0x0;_0x33ba1a<_0x31e375['length'];_0x33ba1a++)_0x31e375[_0x33ba1a]['isAdded']&&(_0x281506[_0x33ba1a]['isAdded']=_0x31e375[_0x33ba1a]['isAdded']);}['_makeModelFromViewString'](_0x2e87b2){const _0x4e2374=JSON['parse'](_0x2e87b2),_0x394491=this['editor']['editing']['view']['document'],_0x1362f6=new _0x422feb(_0x394491,_0x4e2374['map'](_0x491afb=>this['_getViewObj'](_0x491afb)));return this['editor']['data']['toModel'](_0x1362f6);}['_getViewObj'](_0x1107ac){const _0x4e9c25=this['editor']['editing']['view']['document'];if('string'==typeof _0x1107ac)return new _0x4c17d0(_0x4e9c25,_0x1107ac);{const _0x23cb40=_0x1107ac['children']['map'](_0x550eb0=>this['_getViewObj'](_0x550eb0));return new(tt[_0x1107ac['type']]||_0x4bf43d)(_0x4e9c25,_0x1107ac['name'],_0x1107ac['attributes'],_0x23cb40);}}['_getDiff'](_0x2bb287,_0x3c0b1b=null){const _0x5d8ec1=this['repository']['getRevision'](_0x2bb287),_0x3eda91=_0x3c0b1b?this['repository']['getRevision'](_0x3c0b1b):null,_0x22c30b=this['_getRevisionsRange'](_0x5d8ec1,_0x3eda91),_0x3f9678=_0x22c30b[_0x22c30b['length']-0x1],_0xb53d87=new Map(),_0x35dfb2={'model':{},'attributes':{},'changes':[]},_0x5e237c=new Set(),_0xec4857=new Map();for(let _0xc14bd5=_0x22c30b['length']-0x1;_0xc14bd5>=0x0;_0xc14bd5--){const _0xc1bb3e=_0x22c30b[_0xc14bd5];for(const _0x33345b of Object['keys'](_0xc1bb3e['diffData']))if(_0xc1bb3e['diffData'][_0x33345b]['attachChange']){const _0x32e0ad=_0xc1bb3e['diffData'][_0x33345b]['attachChange'];_0x32e0ad['isAttached']?(_0x5e237c['add'](_0x33345b),_0xec4857['has'](_0x33345b)&&_0xec4857['get'](_0x33345b)['userId']==_0x32e0ad['userId']?_0xec4857['delete'](_0x33345b):_0xec4857['set'](_0x33345b,_0x32e0ad)):_0xec4857['has'](_0x33345b)?(_0x5e237c['delete'](_0x33345b),_0xec4857['delete'](_0x33345b)):(_0x5e237c['add'](_0x33345b),_0xec4857['set'](_0x33345b,_0x32e0ad));}else _0x5e237c['add'](_0x33345b);}for(const _0x112a00 of _0x5e237c){const _0x4cedac=_0xec4857['has'](_0x112a00)&&!_0xec4857['get'](_0x112a00)['isAttached'];let _0x1e3b61=_0x4cedac?_0x22c30b['length']-0x1:0x0;const _0x310843=_0x4cedac?-0x1:0x1;for(;_0x22c30b[_0x1e3b61];){const _0x5aaec9=_0x22c30b[_0x1e3b61];if(_0x5aaec9['diffData'][_0x112a00]){const _0x486196=_0x4cedac?_0x5aaec9['diffData'][_0x112a00]['attributesBefore']:_0x5aaec9['diffData'][_0x112a00]['attributesAfter'];_0x35dfb2['attributes'][_0x112a00]=_0x486196?_0xff8311(_0x486196):{};break;}_0x1e3b61+=_0x310843;}}for(const _0x5dcf60 of _0x22c30b){_0x5dcf60['model']={};for(const _0xfc071a of _0x5dcf60['authors'])_0xb53d87['set'](_0xfc071a['id'],_0xfc071a);for(const _0x2dc4c7 of _0x5e237c){const _0x59a94d=_0x5dcf60['diffData'][_0x2dc4c7]?_0x5dcf60['diffData'][_0x2dc4c7]['insertions']:'[]',_0x3ae908=_0x5dcf60['diffData'][_0x2dc4c7]?_0x5dcf60['diffData'][_0x2dc4c7]['deletions']:'[]';_0x5dcf60['model'][_0x2dc4c7]={'insertions':this['_makeModelFromViewString'](_0x59a94d),'deletions':this['_makeModelFromViewString'](_0x3ae908)};}}for(const _0x10d098 of _0x5e237c){let _0x51608b=null,_0xfb9a14=0x0;const _0x43fd6c=new Map(Array['from'](_0x5d8ec1['model'][_0x10d098]['insertions']['markers'])['filter'](([_0x3568de])=>!_0x3568de['startsWith']('revision:')));let _0x8a67e6=0x0;for(const _0x21246d of _0x22c30b){const _0x42ee2e=this['_makeTape'](_0x21246d['model'][_0x10d098]['insertions']);_0x21246d==_0x5d8ec1?(_0x51608b=_0x42ee2e,_0xfb9a14=_0x51608b['length'],_0x51608b['forEach'](_0x369c30=>{_0x369c30['id']=_0x8a67e6++;}),this['_processTape'](_0x51608b)):this['_markInsertions'](_0x51608b,_0x42ee2e);const _0x3fb9da=_0x51608b['filter'](_0x5eec7c=>!_0x5eec7c['isAdded'])['map'](_0xde7fdf=>_0xde7fdf['id']);let _0x366d4d=0x0;const _0x3ccbb4=this['_makeTape'](_0x21246d['model'][_0x10d098]['deletions']);_0x3ccbb4['forEach'](_0x508928=>{_0x508928['isRemoved']?_0x508928['id']=_0xfb9a14++:_0x508928['id']=_0x3fb9da[_0x366d4d++];}),this['_processTape'](_0x3ccbb4),this['_setDistance'](_0x51608b,'isAdded'),this['_setDistance'](_0x3ccbb4,'isRemoved'),_0x21246d==_0x5d8ec1&&this['_markMarkers'](_0x51608b,_0x43fd6c),_0x51608b=this['_joinTapes'](_0x51608b,_0x3ccbb4),this['_refreshStartEndIndex'](_0x51608b),this['_setDistance'](_0x51608b,'isRemoved');}_0x51608b=_0x51608b['filter'](_0x21ff6a=>!(_0x21ff6a['isAdded']&&_0x21ff6a['isRemoved']));const _0x5ba9a1=new Map(_0x3f9678['model'][_0x10d098]['deletions']['markers']),_0x35d19a=new Set(_0x43fd6c['keys']());for(const _0x2dfff9 of _0x5ba9a1['keys']())_0x35d19a['delete'](_0x2dfff9);this['_markSuggestions'](_0x51608b,_0x35d19a),this['_fixObsoleteTags'](_0x51608b),_0x51608b=this['_removeMissingPairs'](_0x51608b),_0x51608b=this['_markMismatchedRemovedTags'](_0x51608b),_0x51608b=this['_removeUnsupportedChanges'](_0x51608b);const {root:_0x397534,changes:_0x2d6481}=this['_makeModelFromTape'](_0x51608b,_0xb53d87,_0x10d098);_0x35dfb2['model'][_0x10d098]=_0x397534;const _0xc91cee=_0xec4857['get'](_0x10d098);if(_0xc91cee){const _0x255fa7=_0xb53d87['get'](_0xc91cee['userId']),_0x4fdfdd=new r({'author':_0x255fa7,'type':_0xc91cee['isAttached']?'add':'remove','data':{'isOnRoot':!0x0},'createdAt':new Date(),'rootName':_0x10d098});_0x2d6481['unshift'](_0x4fdfdd),_0x35dfb2['attributes'][_0x10d098]['revisionHistoryAttachChange']=_0x4fdfdd['id'];}_0x35dfb2['changes']=_0x35dfb2['changes']['concat'](_0x2d6481);}return _0x35dfb2;}['_markMarkers'](_0xe74730,_0xfb021f){for(let _0x573dbf=0x0;_0x573dbf<_0xe74730['length'];_0x573dbf++)for(const [_0x3d7daa,_0x5a49b8]of _0xfb021f)_0x5a49b8['start']['isEqual'](_0xe74730[_0x573dbf]['previousPosition'])&&_0xe74730[_0x573dbf]['markersStart']['push'](_0x3d7daa),_0x5a49b8['end']['isEqual'](_0xe74730[_0x573dbf]['nextPosition'])&&_0xe74730[_0x573dbf]['markersEnd']['push'](_0x3d7daa);}['_joinTapes'](_0x248398,_0x31a4db){let _0x4fa192=[],_0x219d0f=0x0,_0x7e5f57=0x0;for(;_0x219d0f<_0x248398['length']||_0x7e5f57<_0x31a4db['length'];){const _0x3ac989=_0x248398[_0x219d0f]||{},_0x198d33=_0x31a4db[_0x7e5f57]||{};if(_0x3ac989['id']==_0x198d33['id'])_0x219d0f++,_0x7e5f57++,_0x4fa192['push'](_0x3ac989);else{if(_0x198d33['isRemoved']&&_0x3ac989['isAdded']){const {commonTape:_0x34ce6d,iEnd:_0x1af04c,jEnd:_0x39e374}=this['_threeWayMerge'](_0x248398,_0x219d0f,_0x31a4db,_0x7e5f57);_0x4fa192=_0x4fa192['concat'](_0x34ce6d),_0x219d0f=_0x1af04c,_0x7e5f57=_0x39e374;}else _0x198d33['isRemoved']?(_0x7e5f57++,_0x4fa192['push'](_0x198d33)):(_0x219d0f++,_0x4fa192['push'](_0x3ac989));}}return _0x4fa192;}['_markSuggestions'](_0x47761b,_0x2d3a06){const _0x2045af=[];for(let _0x49b006=0x0;_0x49b006<_0x47761b['length'];_0x49b006++){for(let _0x369ab5=0x0;_0x369ab5<_0x47761b[_0x49b006]['markersStart']['length'];_0x369ab5++){const _0x2153e7=_0x47761b[_0x49b006]['markersStart'][_0x369ab5];if(!_0x2d3a06['has'](_0x2153e7))continue;const {group:_0x343e02,type:_0x500eca,authorId:_0x103e14}=_0x1e5aa5(_0x2153e7);'revision-suggestion'!=_0x343e02||'insertion'!=_0x500eca&&'deletion'!=_0x500eca||(_0x2045af['unshift']({'type':_0x500eca,'name':_0x2153e7,'userId':_0x103e14}),_0x47761b[_0x49b006]['markersStart']['splice'](_0x369ab5,0x1),_0x369ab5--);}_0x5a9dc7(_0x47761b[_0x49b006]);for(let _0xac3235=0x0;_0xac3235<_0x47761b[_0x49b006]['markersEnd']['length'];_0xac3235++){const _0x10b4ef=_0x47761b[_0x49b006]['markersEnd'][_0xac3235];if(!_0x2d3a06['has'](_0x10b4ef))continue;const {group:_0x568776,type:_0x59918a}=_0x1e5aa5(_0x10b4ef);if('revision-suggestion'!=_0x568776||'insertion'!=_0x59918a&&'deletion'!=_0x59918a)continue;_0x47761b[_0x49b006]['markersEnd']['splice'](_0xac3235,0x1),_0xac3235--;const _0x48612a=_0x2045af['findIndex'](_0x45dc2a=>_0x45dc2a['name']==_0x10b4ef);_0x48612a>-0x1&&_0x2045af['splice'](_0x48612a,0x1);}}function _0x1e5aa5(_0x43a80d){const _0xc358f3=_0x43a80d['split'](':');return{'group':_0xc358f3[0x0],'type':_0xc358f3[0x1],'subType':_0xc358f3['length']>=0x5?_0xc358f3[0x2]:null,'id':_0xc358f3['length']<0x5?_0xc358f3[0x2]:_0xc358f3[0x3],'authorId':_0xc358f3['length']<0x5?_0xc358f3[0x3]:_0xc358f3[0x4],'markerCount':0x6==_0xc358f3['length']?_0xc358f3[0x5]:null};}function _0x5a9dc7(_0x51204a){for(let _0x178c9b=0x0;_0x178c9b<_0x2045af['length'];_0x178c9b++){if(_0x51204a['isAdded']&&'insertion'==_0x2045af[_0x178c9b]['type'])return _0x51204a['isAddSuggestion']=_0x2045af[_0x178c9b],void delete _0x51204a['isAdded'];if(!_0x51204a['isAdded']&&!_0x51204a['isRemoved']&&'deletion'==_0x2045af[_0x178c9b]['type'])return void(_0x51204a['isRemoveSuggestion']=_0x2045af[_0x178c9b]);}}}['_setDistance'](_0x12259e,_0x3080d5){let _0x537e0f=0x0,_0x2a20d6=!0x1;const _0x4e4640=new Map();for(const _0x5935b2 of _0x12259e)_0x5935b2[_0x3080d5]?_0x2a20d6&&(_0x537e0f++,_0x2a20d6=!0x1):(_0x537e0f++,_0x2a20d6=!0x0),_0x4e4640['set'](_0x5935b2['id'],_0x537e0f);for(let _0x39d7ef=0x0;_0x39d7ef<_0x12259e['length'];_0x39d7ef++){if('isRemoved'==_0x3080d5&&_0x12259e[_0x39d7ef]['isAdded']||'isAdded'==_0x3080d5&&_0x12259e[_0x39d7ef]['isRemoved'])continue;if('text'==_0x12259e[_0x39d7ef]['type']){_0x12259e[_0x39d7ef]['distance']=0x0;continue;}const _0x42075c=_0x4e4640['get'](_0x12259e[_0x39d7ef]['pairId']),_0x2900a8=_0x4e4640['get'](_0x12259e[_0x39d7ef]['id']);_0x12259e[_0x39d7ef]['distance']=_0x42075c-_0x2900a8;}}['_getRevisionsRange'](_0x271138,_0x3289c4,_0x2976b3=!0x1){const _0x34706d=[];let _0x2f36db=this['repository']['getIndex'](_0x271138),_0x59883a=this['repository']['getIndex'](_0x3289c4);for(-0x1==_0x59883a&&(_0x59883a=this['repository']['_revisions']['length'],_0x2976b3=!0x1);_0x2f36db<_0x59883a;)_0x34706d['push'](this['repository']['getRevision'](_0x2f36db)),_0x2f36db++;return _0x2976b3&&_0x34706d['push'](this['repository']['getRevision'](_0x2f36db)),_0x34706d;}['_threeWayMerge'](_0x1e4490,_0x19d15c,_0x122fb9,_0x3ac029){const _0x4a1b9d=this['editor']['model']['schema'];let _0x4f0314=_0x19d15c;for(;_0x1e4490[_0x4f0314]&&_0x1e4490[_0x4f0314]['isAdded'];)_0x4f0314++;let _0x87d05=_0x3ac029;for(;_0x122fb9[_0x87d05]&&_0x122fb9[_0x87d05]['isRemoved'];)_0x87d05++;_0x21493c(_0x1e4490,_0x19d15c,_0x4f0314),_0x21493c(_0x122fb9,_0x3ac029,_0x87d05);const _0x16aa6f=_0x122fb9['slice'](_0x3ac029,_0x87d05)['concat'](_0x1e4490['slice'](_0x19d15c,_0x4f0314));return _0x16aa6f['sort']((_0x479546,_0x1389ea)=>_0x479546['side']!=_0x1389ea['side']?_0x479546['side']-_0x1389ea['side']:_0x479546['level']!=_0x1389ea['level']?_0x479546['level']-_0x1389ea['level']:_0x479546['distance']!=_0x1389ea['distance']?_0x1389ea['distance']-_0x479546['distance']:!!_0x479546['isAdded']!=!!_0x1389ea['isAdded']?-0x1==_0x479546['side']||0x0==_0x479546['side']?_0x479546['isAdded']?-0x1:0x1:_0x479546['isAdded']?0x1:-0x1:_0x479546['index']-_0x1389ea['index']),{'commonTape':_0x16aa6f,'iEnd':_0x4f0314,'jEnd':_0x87d05};function _0x21493c(_0x5aa90a,_0xab151f,_0x472771){let _0x499f21=-0x1,_0x5ba851=Number['POSITIVE_INFINITY'],_0x284182=!0x0;for(let _0x290057=_0xab151f;_0x290057<_0x472771;_0x290057++)if(_0x4a1b9d['isInline'](_0x5aa90a[_0x290057]['item'])||(_0x284182=!0x1),_0x5aa90a[_0x290057]['item']['startIndex']<_0xab151f&&(_0x499f21=_0x290057),_0x5aa90a[_0x290057]['item']['endIndex']>=_0x472771){_0x5ba851=_0x290057;break;}_0x284182&&(_0x499f21=_0x472771-0x1);for(let _0xed8f8b=_0xab151f;_0xed8f8b<_0x472771;_0xed8f8b++)_0x5aa90a[_0xed8f8b]['side']=_0xed8f8b<=_0x499f21?-0x1:_0xed8f8b<_0x5ba851?0x0:0x1,_0x5aa90a[_0xed8f8b]['index']=_0xed8f8b;let _0x28c989=0x0;for(let _0x2d0372=_0xab151f;_0x2d0372<=_0x499f21;_0x2d0372++)0x0==_0x5aa90a[_0x2d0372]['distance']?_0x5aa90a[_0x2d0372]['level']=_0x28c989:(_0x28c989++,_0x5aa90a[_0x2d0372]['level']=_0x28c989,_0x28c989++);for(let _0x277e8a=_0xab151f;_0x277e8a<_0x472771;_0x277e8a++)0x0==_0x5aa90a[_0x277e8a]['side']&&(_0x5aa90a[_0x277e8a]['level']=_0x28c989);_0x28c989=0x0;for(let _0x474f78=_0x472771-0x1;_0x474f78>=_0x5ba851;_0x474f78--)0x0==_0x5aa90a[_0x474f78]['distance']?_0x5aa90a[_0x474f78]['level']=_0x28c989:(_0x28c989--,_0x5aa90a[_0x474f78]['level']=_0x28c989,_0x28c989--);}}['_fixObsoleteTags'](_0x2ebecf){const _0x472302=new Map(),_0x14b42b=this['editor']['model']['schema'];for(let _0x5442be=0x1;_0x5442be<_0x2ebecf['length'];_0x5442be++){let _0x5b333d,_0x33a8af,_0x2841ea;const _0x39c3eb=_0x2ebecf[_0x5442be],_0x40bdc3=_0x2ebecf[_0x5442be-0x1];if('text'==_0x39c3eb['type'])continue;if(_0x39c3eb['type']!=_0x40bdc3['type'])continue;if(!_0x14b42b['isBlock'](_0x40bdc3['item'])||_0x14b42b['isLimit'](_0x40bdc3['item']))continue;if(!_0x14b42b['isBlock'](_0x39c3eb['item'])||_0x14b42b['isLimit'](_0x39c3eb['item']))continue;if((_0x2ebecf[_0x5442be]['isAdded']||_0x2ebecf[_0x5442be]['isAddSuggestion'])&&_0x2ebecf[_0x5442be-0x1]['isRemoved'])_0x5b333d=_0x2ebecf[_0x5442be],_0x33a8af=_0x2ebecf[_0x5442be-0x1],_0x2841ea=_0x5442be-0x1;else{if(!_0x2ebecf[_0x5442be]['isRemoved']||!_0x2ebecf[_0x5442be-0x1]['isAdded']&&!_0x2ebecf[_0x5442be-0x1]['isAddSuggestion'])continue;_0x5b333d=_0x2ebecf[_0x5442be-0x1],_0x33a8af=_0x2ebecf[_0x5442be],_0x2841ea=_0x5442be;}const _0x2d5ff8=_0x5b333d['level']==_0x33a8af['level'],_0xb25281=Math['abs'](_0x5b333d['level'])<Math['abs'](_0x33a8af['level'])&&0x0==_0x33a8af['distance'];(_0x2d5ff8||_0xb25281)&&(_0x472302['set'](_0x33a8af['id'],_0x5b333d['id']),_0x2ebecf['splice'](_0x2841ea,0x1),_0x5442be--,_0x5b333d['isAdded']=!0x1);}for(let _0x3d4f11=0x0;_0x3d4f11<_0x2ebecf['length'];_0x3d4f11++)_0x472302['has'](_0x2ebecf[_0x3d4f11]['pairId'])&&(_0x2ebecf[_0x3d4f11]['pairId']=_0x472302['get'](_0x2ebecf[_0x3d4f11]['pairId']));}['_removeMissingPairs'](_0x2a6528){const _0x38e8c9=new Set(_0x2a6528['map'](_0x3cf982=>_0x3cf982['id']));for(let _0x2a8490=0x0;_0x2a8490<_0x2a6528['length'];_0x2a8490++)_0x38e8c9['has'](_0x2a6528[_0x2a8490]['pairId'])||0x0==_0x2a6528[_0x2a8490]['distance']||(_0x2a6528[_0x2a8490]['isIncorrect']=!0x0);return _0x2a6528['filter'](_0x59b812=>!_0x59b812['isIncorrect']);}['_markMismatchedRemovedTags'](_0x2056ad){const _0x33e5b6=new Set();for(let _0x33381a=0x0;_0x33381a<_0x2056ad['length'];_0x33381a++){if(_0x33e5b6['has'](_0x2056ad[_0x33381a]['id'])&&_0x2056ad[_0x33381a]['isRemoved']&&(_0x2056ad[_0x33381a]['isIncorrect']=!0x0),_0x2056ad[_0x33381a]['isIncorrect'])continue;if(0x0==_0x2056ad[_0x33381a]['distance'])continue;if('elementStart'!=_0x2056ad[_0x33381a]['type'])continue;if(null==_0x2056ad[_0x33381a]['pairId'])continue;let _0x3b9cb5=_0x33381a+0x1,_0x1a2607=0x0;for(;_0x2056ad[_0x3b9cb5]['id']!=_0x2056ad[_0x33381a]['pairId'];)'elementStart'==_0x2056ad[_0x3b9cb5]['type']?_0x1a2607++:'elementEnd'==_0x2056ad[_0x3b9cb5]['type']&&_0x1a2607--,_0x3b9cb5++;if(0x0!=_0x1a2607){if(_0x2056ad[_0x33381a]['isRemoved'])_0x2056ad[_0x33381a]['isIncorrect']=!0x0;else{for(;_0x3b9cb5!=_0x33381a;)_0x2056ad[_0x3b9cb5]['isRemoved']&&0x0!=_0x2056ad[_0x3b9cb5]['distance']&&(_0x2056ad[_0x3b9cb5]['isIncorrect']=!0x0,_0x33e5b6['add'](_0x2056ad[_0x3b9cb5]['pairId'])),_0x3b9cb5--;}}}return _0x2056ad['filter'](_0xe9fad4=>!_0xe9fad4['isIncorrect']);}['_removeUnsupportedChanges'](_0x2d457b){const _0x1e7d36=this['editor']['model']['schema'];for(let _0xe5622c=0x0;_0xe5622c<_0x2d457b['length'];_0xe5622c++){if(!(_0x2d457b[_0xe5622c]['isAdded']||_0x2d457b[_0xe5622c]['isAddSuggestion']||_0x2d457b[_0xe5622c]['isRemoved']||_0x2d457b[_0xe5622c]['isRemoveSuggestion']))continue;if(0x0==_0x2d457b[_0xe5622c]['distance'])continue;const _0x528283=_0x2d457b[_0xe5622c]['item'];_0x1e7d36['isBlock'](_0x528283)||_0x1e7d36['isLimit'](_0x528283)||(_0x2d457b[_0xe5622c]['isAdded']&&delete _0x2d457b[_0xe5622c]['isAdded'],_0x2d457b[_0xe5622c]['isAddSuggestion']&&delete _0x2d457b[_0xe5622c]['isAddSuggestion'],_0x2d457b[_0xe5622c]['isRemoveSuggestion']&&delete _0x2d457b[_0xe5622c]['isRemoveSuggestion'],_0x2d457b[_0xe5622c]['isRemoved']&&(_0x2d457b[_0xe5622c]['isIncorrect']=!0x0));}return _0x2d457b['filter'](_0x5ba1f7=>!_0x5ba1f7['isIncorrect']);}['_makeModelFromTape'](_0x20be42,_0xebc071,_0x1532c5){const _0x27360f=new wt(),_0x2bbe55=[],_0x233f8a=new Map(),_0x1434fd=this['editor']['model'],_0x51ddb8=_0x1434fd['schema'],_0x331fd7=[_0x27360f],_0x1f4694={},_0x13452b={'isAdded':[],'isRemoved':[],'isAddSuggestion':[],'isRemoveSuggestion':[]};let _0x34ebf1=null;const _0x496a73=[0x0];for(let _0x1fd915=0x0;_0x1fd915<_0x20be42['length'];_0x1fd915++){let _0x2ec87e,_0x56c37f;if('elementStart'===_0x20be42[_0x1fd915]['type']){_0x2ec87e=_0x1434fd['createPositionFromPath'](_0x27360f,_0x496a73);const _0x71edc0=new ft(_0x20be42[_0x1fd915]['item']['name'],_0x20be42[_0x1fd915]['item']['getAttributes']());_0x331fd7[0x0]['_appendChild'](_0x71edc0),_0x496a73['push'](0x0),_0x331fd7['unshift'](_0x71edc0),_0x56c37f=_0x1434fd['createPositionFromPath'](_0x27360f,_0x496a73),_0x34ebf1=null;}else{if('elementEnd'===_0x20be42[_0x1fd915]['type'])_0x331fd7['shift'](),_0x2ec87e=_0x1434fd['createPositionFromPath'](_0x27360f,_0x496a73),_0x496a73['pop'](),_0x496a73[_0x496a73['length']-0x1]++,_0x56c37f=_0x1434fd['createPositionFromPath'](_0x27360f,_0x496a73),_0x34ebf1=null;else{if(_0x2ec87e=_0x1434fd['createPositionFromPath'](_0x27360f,_0x496a73),_0x34ebf1&&_0x4a8a00(_0x34ebf1,_0x20be42[_0x1fd915]['item']))_0x34ebf1['_data']+=_0x20be42[_0x1fd915]['item']['data'];else{const _0x19baff=new _t(_0x20be42[_0x1fd915]['item']['data'],_0x20be42[_0x1fd915]['item']['getAttributes']());_0x331fd7[0x0]['_appendChild'](_0x19baff),_0x34ebf1=_0x19baff;}_0x496a73[_0x496a73['length']-0x1]+=_0x20be42[_0x1fd915]['item']['offsetSize'],_0x56c37f=_0x1434fd['createPositionFromPath'](_0x27360f,_0x496a73);}}for(const _0x1895aa of _0x20be42[_0x1fd915]['markersStart'])_0x233f8a['set'](_0x1895aa,{'start':_0x2ec87e,'end':null});_0xb31d68('isRemoveSuggestion',_0x1fd915,_0x2ec87e,_0x56c37f),_0xb31d68('isAddSuggestion',_0x1fd915,_0x2ec87e,_0x56c37f),_0xb31d68('isRemoved',_0x1fd915,_0x2ec87e,_0x56c37f),_0xb31d68('isAdded',_0x1fd915,_0x2ec87e,_0x56c37f);for(const _0x56d51f of _0x20be42[_0x1fd915]['markersEnd']){_0x233f8a['get'](_0x56d51f)['end']=_0x56c37f;}}for(const [_0x54db37,_0x241b25]of _0x233f8a){const _0x55ec33=this['editor']['model']['createRange'](_0x241b25['start'],_0x241b25['end']);_0x27360f['markers']['set'](_0x54db37,_0x55ec33);}return _0x2bbe55['sort']((_0x5dfc03,_0x2621ca)=>{const _0x52a223=_0x27360f['markers']['get']('revision:'+_0x5dfc03['id']),_0xc40b08=_0x27360f['markers']['get']('revision:'+_0x2621ca['id']);return _0x52a223['start']['isBefore'](_0xc40b08['start'])?-0x1:_0x52a223['start']['isAfter'](_0xc40b08['start'])?0x1:_0x52a223['end']['isBefore'](_0xc40b08['end'])?-0x1:_0x52a223['end']['isAfter'](_0xc40b08['end'])?0x1:'add'===_0x5dfc03['type']?-0x1:0x1;}),{'root':_0x27360f,'changes':_0x2bbe55};function _0xb31d68(_0x1c7e85,_0x5a2d8c,_0x28fb7a,_0x242409){const _0x279e74=!!_0x20be42[_0x5a2d8c][_0x1c7e85],_0x52f2ee=_0x279e74?_0x20be42[_0x5a2d8c][_0x1c7e85]['userId']:null,_0x41102a=_0x5a2d8c===_0x20be42['length']-0x1,_0x327f16=_0x13452b[_0x1c7e85][0x0],_0x547383=_0x51ddb8['isObject'](_0x20be42[_0x5a2d8c]['item']);!_0x1f4694[_0x1c7e85]&&_0x279e74?_0x1f4694[_0x1c7e85]={'start':_0x28fb7a,'tapeItem':_0x20be42[_0x5a2d8c],'userId':_0x52f2ee,'type':_0x1c7e85}:_0x1f4694[_0x1c7e85]&&!_0x279e74?(_0x1f4694[_0x1c7e85]['end']=_0x28fb7a,_0x892157(_0x1f4694[_0x1c7e85]),_0x1f4694[_0x1c7e85]=null):_0x1f4694[_0x1c7e85]&&_0x279e74&&_0x1f4694[_0x1c7e85]['userId']!==_0x52f2ee&&(_0x1f4694[_0x1c7e85]['end']=_0x28fb7a,_0x327f16&&_0x327f16['userId']===_0x1f4694[_0x1c7e85]['userId']||_0x892157(_0x1f4694[_0x1c7e85]),_0x1f4694[_0x1c7e85]={'start':_0x28fb7a,'tapeItem':_0x20be42[_0x5a2d8c],'userId':_0x52f2ee,'type':_0x1c7e85}),_0x1f4694[_0x1c7e85]&&_0x547383&&('elementStart'!==_0x20be42[_0x5a2d8c]['type']||_0x327f16&&_0x327f16['userId']===_0x52f2ee||_0x13452b[_0x1c7e85]['unshift']({'userId':_0x52f2ee,'object':_0x20be42[_0x5a2d8c]['item'],'change':_0x1f4694[_0x1c7e85]}),'elementEnd'===_0x20be42[_0x5a2d8c]['type']&&_0x327f16&&_0x327f16['object']===_0x20be42[_0x5a2d8c]['item']&&(_0x13452b[_0x1c7e85]['shift'](),_0x1f4694[_0x1c7e85]=_0x327f16['change'])),_0x1f4694[_0x1c7e85]&&_0x41102a&&(_0x1f4694[_0x1c7e85]['end']=_0x242409,_0x892157(_0x1f4694[_0x1c7e85]),_0x1f4694[_0x1c7e85]=null);}function _0x892157({start:_0x180547,end:_0x198697,tapeItem:_0xaf84e0,userId:_0xbe361e,type:_0x47e815}){const _0x11cfd0=_0xaf84e0['item'],_0x4660ca=_0x1434fd['schema']['isBlock'](_0x11cfd0)&&!_0x1434fd['schema']['isLimit'](_0x11cfd0),_0x30f16e=_0x180547['nodeAfter']==_0x198697['parent']&&_0x198697['isAtStart'];if(_0x4660ca&&_0x30f16e)return;const _0x2de089=_0x1434fd['createRange'](_0x180547,_0x198697),_0x4d1c86=_0xebc071['get'](_0xbe361e),_0x20de1b=new r({'author':_0x4d1c86,'type':'isAdded'==_0x47e815||'isAddSuggestion'==_0x47e815?'add':'remove','data':{'isSuggestion':'isAddSuggestion'==_0x47e815||'isRemoveSuggestion'==_0x47e815},'createdAt':new Date(),'rootName':_0x1532c5});_0x2bbe55['push'](_0x20de1b),_0x27360f['markers']['set']('revision:'+_0x20de1b['id'],_0x2de089);}function _0x4a8a00(_0x12b669,_0x635804){const _0x18054c=_0x12b669['getAttributes'](),_0x48ff81=_0x635804['getAttributes']();for(const _0x284ecf of _0x18054c){if(_0x284ecf[0x1]!==_0x635804['getAttribute'](_0x284ecf[0x0]))return!0x1;_0x48ff81['next']();}return _0x48ff81['next']()['done'];}}['_setConversion'](){this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'revision'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision','view':_0x3f241d=>{const _0x297338=_0x3f241d['markerName']['split'](':')[0x1],_0x15c2bd=this['_getChangeFromId'](_0x297338);if(!_0x15c2bd)return null;const _0x4dcb59='add'==_0x15c2bd['type']?'insertion':'deletion',_0x204f6a=['ck-suggestion-marker','ck-suggestion-marker-'+_0x4dcb59];return _0x15c2bd['data']['isSuggestion']&&_0x204f6a['push']('ck-suggestion-marker-'+_0x4dcb59+'-new'),this['activeChange']==_0x15c2bd&&_0x204f6a['push']('ck-suggestion-marker--active'),{'classes':_0x204f6a,'attributes':{'data-change-id':_0x297338}};}}),this['editor']['conversion']['for']('upcast')['add'](_0x442d16=>{_0x442d16['on']('element:pre',(_0x50bcf6,_0x2534e8,_0x2db890)=>{const _0x28398f=_0x2534e8['viewItem']['getChild'](0x0);if(!_0x28398f||!_0x28398f['is']('element','code'))return;if(!_0x2db890['consumable']['consume'](_0x28398f,{'attributes':['vid_start','vid_end']}))return;const _0x2e7396=_0x2534e8['modelRange']['start']['nodeAfter'];_0x2db890['writer']['setAttribute']('vid_start',_0x28398f['getAttribute']('vid_start'),_0x2e7396),_0x2db890['writer']['setAttribute']('vid_end',_0x28398f['getAttribute']('vid_end'),_0x2e7396);},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['add'](_0x149c98=>{_0x149c98['on']('element',(_0x3e30d9,_0x306278,_0x39a8dc)=>{if(!_0x39a8dc['consumable']['consume'](_0x306278['viewItem'],{'attributes':['vid_start','vid_end']}))return;if(_0x306278['modelRange']['isCollapsed'])return;const _0x1f08bd=_0x306278['modelRange']['start']['nodeAfter'];_0x1f08bd['hasAttribute']('vid_start')||_0x1f08bd['hasAttribute']('vid')||(_0x39a8dc['writer']['setAttribute']('vid_start',_0x306278['viewItem']['getAttribute']('vid_start'),_0x1f08bd),_0x39a8dc['writer']['setAttribute']('vid_end',_0x306278['viewItem']['getAttribute']('vid_end'),_0x1f08bd));},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['elementToAttribute']({'view':{'name':'span','attributes':{'vid':!0x0}},'model':{'key':'vid','value':_0x40dce6=>_0x40dce6['getAttribute']('vid')}}),this['editor']['model']['schema']['on']('checkAttribute',(_0x3fd763,[,_0x425627])=>{['vid_start','vid_end','vid']['includes'](_0x425627)&&(_0x3fd763['return']=!0x0,_0x3fd763['stop']());},{'priority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['add'](_0x57ff99=>{_0x57ff99['on']('attribute:vid',(_0x548829,_0x9db92f,_0x2ba9d0)=>{if('\x20'!=_0x9db92f['item']['data']||_0x9db92f['item']['parent']['maxOffset']>0x1)return;if(!_0x2ba9d0['consumable']['consume'](_0x9db92f['item'],_0x548829['name']))return;const _0x4e92be=_0x2ba9d0['writer'],_0x2ec44d=_0x2ba9d0['mapper']['toViewRange'](_0x9db92f['range']);_0x4e92be['wrap'](_0x2ec44d,_0x4e92be['createAttributeElement']('span'));});}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',function(_0x5f28b2){const _0x29fe6e=_0x5f28b2['plugins']['get']('RevisionViewer');return(_0x356c23,_0x7b0659,_0x2d8460)=>{const _0xe097ed=_0x7b0659['markerName']['split'](':')[0x1],_0x3c8ad3=_0x29fe6e['_getChangeFromId'](_0xe097ed);if(!_0x3c8ad3)return null;const _0x42e63d='add'==_0x3c8ad3['type']?'split':'merge';if(!_0x2d8460['consumable']['test'](_0x7b0659['markerRange'],_0x356c23['name']))return;const _0x9e156e=_0x7b0659['markerRange']['getWalker'](),_0x452169=_0x7b0659['markerRange']['start'],_0x40eb53=_0x5f28b2['model']['schema'];let _0x2d25cd=null,_0x56322b=null,_0x4d276e=!0x1,_0x50bec8=!0x1;for(const _0xa92e46 of _0x9e156e){const _0x40feab=_0xa92e46['item'];_0x4d276e=_0x4d276e||_0x40eb53['isContent'](_0x40feab);const _0x556c5c=_0x2d8460['mapper']['toViewElement'](_0x40feab);if(_0x556c5c&&_0x556c5c['getCustomProperty']('addHighlight'))return;'elementEnd'==_0xa92e46['type']&&(_0x40eb53['isBlock'](_0x40feab)&&!_0x40eb53['isLimit'](_0x40feab)&&(_0x40feab['nextSibling']||_0x452169['isAtEnd']?_0x2d25cd&&_0x2d25cd['parent']==_0x40feab||(_0x2d25cd=_0x40feab,_0x5da002(_0xa92e46['previousPosition']),_0x50bec8=!0x0):_0x56322b=_0x56322b||_0xa92e46['previousPosition']));}function _0x5da002(_0x265e2){const _0xc6d9dd=_0x2d8460['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x42e63d}),_0x1b2834=_0x2d8460['mapper']['toViewPosition'](_0x265e2);_0x3c8ad3['data']['isSuggestion']&&_0x2d8460['writer']['addClass']('ck-suggestion-marker-'+_0x42e63d+'-new',_0xc6d9dd),_0x29fe6e['activeChange']==_0x3c8ad3&&_0x2d8460['writer']['addClass']('ck-suggestion-marker--active',_0xc6d9dd),_0x2d8460['writer']['insert'](_0x1b2834,_0xc6d9dd),_0x2d8460['mapper']['bindElementToMarker'](_0xc6d9dd,_0x7b0659['markerName']);}_0x4d276e||_0x50bec8||!_0x56322b||_0x5da002(_0x56322b);};}(this['editor']),{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('removeMarker:revision',(_0x4e8af2,_0x1ea56a,_0x3b87ac)=>{const _0xdc5e2f=_0x3b87ac['mapper']['markerNameToElements'](_0x1ea56a['markerName']);if(_0xdc5e2f){for(const _0x3a2353 of _0xdc5e2f)(_0x3a2353['hasClass']('ck-suggestion-marker-split')||_0x3a2353['hasClass']('ck-suggestion-marker-merge'))&&(_0x3b87ac['mapper']['unbindElementFromMarkerName'](_0x3a2353,_0x1ea56a['markerName']),_0x3b87ac['writer']['remove'](_0x3a2353));}},{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',(_0xa36cd4,_0x4c45dd,_0x517ece)=>{const _0x2250c8=_0x4c45dd['markerName']['split'](':')[0x1],_0x52c542=this['_getChangeFromId'](_0x2250c8);if(!_0x52c542)return null;const _0x5a3d8a='add'==_0x52c542['type']?'split':'merge';if(_0x517ece['consumable']['test'](_0x4c45dd['markerRange'],_0xa36cd4['name']))for(const _0x434f4e of _0x4c45dd['markerRange']['getItems']()){if(!_0x434f4e['is']('element','softBreak'))continue;const _0x5b7447=_0x517ece['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x5a3d8a}),_0x18ad95=_0x517ece['mapper']['toViewPosition'](this['editor']['model']['createPositionBefore'](_0x434f4e));_0x52c542['data']['isSuggestion']&&_0x517ece['writer']['addClass']('ck-suggestion-marker-'+_0x5a3d8a+'-new',_0x5b7447),this['activeChange']==_0x52c542&&_0x517ece['writer']['addClass']('ck-suggestion-marker--active',_0x5b7447),_0x517ece['writer']['insert'](_0x18ad95,_0x5b7447),_0x517ece['mapper']['bindElementToMarker'](_0x5b7447,_0x4c45dd['markerName']);}},{'priority':'high'}),this['editor']['model']['document']['on']('change',()=>{this['editor']['editing']['view']['change'](_0x5ad454=>{for(const _0x387609 of this['editor']['model']['document']['getRootNames']()){const _0x2f1a8e=this['editor']['model']['document']['getRoot'](_0x387609),_0x3fdd9a=this['editor']['editing']['view']['document']['getRoot'](_0x387609);if(_0x3fdd9a){const _0x4a5bee=_0x2f1a8e['getAttribute']('revisionHistoryAttachChange');if(_0x5ad454['removeAttribute']('data-change-id',_0x3fdd9a),_0x5ad454['removeClass']('ck-revision-history-root-add',_0x3fdd9a),_0x5ad454['removeClass']('ck-revision-history-root-remove',_0x3fdd9a),_0x5ad454['removeClass']('ck-revision-history-root--active',_0x3fdd9a),_0x4a5bee){const _0x5587b7=this['_getChangeFromId'](_0x4a5bee);if(!_0x5587b7)return null;_0x5ad454['setAttribute']('data-change-id',_0x4a5bee,_0x3fdd9a),_0x5ad454['addClass']('ck-revision-history-root-'+_0x5587b7['type'],_0x3fdd9a),this['activeChange']==_0x5587b7&&_0x5ad454['addClass']('ck-revision-history-root--active',_0x3fdd9a);}}}});}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'comment','model':_0x5a01a7=>'revision-comment:'+_0x5a01a7,'converterPriority':'highest'}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'suggestion','model':_0x288556=>'revision-suggestion:'+_0x288556,'converterPriority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision-suggestion','view':_0x5c9bb4=>({'name':'suggestion:'+_0x5c9bb4,'group':'revision-suggestion'}),'converterPriority':'highest'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision-suggestion','view':_0x1a1756=>{const _0x23704a=_0x1a1756['markerName']['split'](':')[0x1];return'insertion'!=_0x23704a&&'deletion'!=_0x23704a?null:{'classes':['ck-suggestion-preview-marker','ck-suggestion-preview-marker-'+_0x23704a]};}}),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',(_0x408528,_0x44c371,_0x5abe5e)=>{const _0xbd160f=_0x5abe5e['mapper']['markerNameToElements'](_0x44c371['markerName']);if(_0xbd160f){for(const _0x10a505 of _0xbd160f)_0x10a505['is']('uiElement')&&(_0x5abe5e['mapper']['unbindElementFromMarkerName'](_0x10a505,_0x44c371['markerName']),_0x5abe5e['writer']['remove'](_0x10a505));}},{'priority':'high'});}['_getChangeFromId'](_0x23febf){return this['_changeIdToChange']['get'](_0x23febf);}['_getViewForChange'](_0x3de026){return this['_changeView']&&this['_changeView']['destroy'](),this['_changeView']=new Z(this['editor']['locale'],_0x3de026),this['_changeView'];}['_initInteractions'](){this['editor']['model']['document']['selection']['observeMarkers']('revision'),this['on']('change:activeView',(_0x32d781,_0xb6735f,_0x5d709e,_0x45b5f6)=>{_0x45b5f6&&this['_balloon']['remove'](_0x45b5f6),_0x5d709e&&(this['_balloon']['add']({'view':_0x5d709e,'stackId':'revisionHistoryLabel','position':{'target':()=>{const _0x422095=this['editor']['editing'],_0x5581f7=this['_getChangeFromId'](_0x5d709e['changeId']);let _0x23e6f0;if(_0x5581f7['data']['isOnRoot']){const _0x569511=_0x422095['view']['getDomRoot'](_0x5581f7['rootName']);_0x23e6f0=Array['from'](_0x569511['getClientRects']());}else{const _0x376689=this['editor']['model']['markers']['get']('revision:'+_0x5d709e['changeId']);_0x23e6f0=Array['from'](_0x422095['mapper']['markerNameToElements'](_0x376689['name']))['map'](_0xbdd009=>_0x422095['view']['domConverter']['mapViewToDom'](_0xbdd009))['map'](_0x27aab0=>Array['from'](_0x27aab0['getClientRects']()))['flat']();}if(!this['_activeViewTarget'])return _0x23e6f0[0x0];return _0x23e6f0['find'](_0xe377da=>_0xe377da['top']-0x3<=this['_activeViewTarget']['y']&&_0xe377da['bottom']+0x3>=this['_activeViewTarget']['y']&&_0xe377da['left']-0x3<=this['_activeViewTarget']['x']&&_0xe377da['right']+0x3>=this['_activeViewTarget']['x'])||_0x23e6f0[0x0];}}}),this['_balloon']['showStack']('revisionHistoryLabel'));}),this['on']('change:activeChange',(_0xf6d835,_0x14355f,_0x18a684,_0x3107c7)=>{this['activeView']=_0x18a684?this['_getViewForChange'](_0x18a684):null,this['editor']['model']['change'](()=>{const _0x2ff1b0=this['editor']['editing'];_0x3107c7&&(_0x3107c7['data']['isOnRoot']?_0x2ff1b0['view']['change'](_0x31d76c=>{_0x31d76c['removeClass']('ck-revision-history-root--active',_0x2ff1b0['view']['document']['getRoot'](_0x3107c7['rootName']));}):_0x2ff1b0['reconvertMarker']('revision:'+_0x3107c7['id'])),_0x18a684&&(_0x18a684['data']['isOnRoot']?_0x2ff1b0['view']['change'](_0x2812a4=>{_0x2812a4['addClass']('ck-revision-history-root--active',_0x2ff1b0['view']['document']['getRoot'](_0x18a684['rootName']));}):_0x2ff1b0['reconvertMarker']('revision:'+_0x18a684['id']));});}),this['listenTo'](this['editor']['editing']['view']['document'],'mouseover',(_0x417b02,_0x2321b4)=>{if(this['activeChange'])return;const _0x5ddc28=this['_findChangeIdFromDomTarget'](_0x2321b4['target']),_0x54a809=this['_changeIdToChange']['get'](_0x5ddc28);_0x54a809?(this['_activeViewTarget']={'x':_0x2321b4['domEvent']['x'],'y':_0x2321b4['domEvent']['y']},this['activeView']=this['_getViewForChange'](_0x54a809)):(this['_activeViewTarget']=null,this['activeView']=null);}),this['listenTo'](this['editor']['editing']['view']['document'],'mousedown',(_0x1c6d44,_0x41bd04)=>{const _0x100d8b=this['_findChangeIdFromDomTarget'](_0x41bd04['target']),_0x534e64=this['_changeIdToChange']['get'](_0x100d8b);_0x534e64?(this['_activeViewTarget']={'x':_0x41bd04['domEvent']['x'],'y':_0x41bd04['domEvent']['y']},_0x534e64===this['activeChange']?this['_balloon']['updatePosition']():this['activeChange']=_0x534e64):(this['_activeViewTarget']=null,this['activeChange']=null);});}['_findChangeIdFromDomTarget'](_0x160283){do{const _0x55d1c9=_0x160283['getAttribute']('data-change-id');if(_0x55d1c9)return _0x55d1c9;_0x160283=_0x160283['parent'];}while(_0x160283);return null;}['_cleanMarkers'](){this['editor']['model']['change'](_0x2465bd=>{for(const _0x569645 of this['editor']['model']['markers'])_0x2465bd['removeMarker'](_0x569645);});}}function et(_0x242870,_0x1dd0eb){return(_0x153bfb,_0x3984b7,_0x1dee6b)=>{if(!_0x1dee6b['consumable']['test'](_0x3984b7['markerRange'],_0x153bfb['name']))return;const _0x2af593=_0x3984b7['markerRange']['getWalker'](),_0x26bf17=_0x3984b7['markerRange']['start'],_0x324f3e=_0x242870['model']['schema'];let _0x2fec5c=null,_0x3b961a=null,_0x3288f6=!0x1,_0x2697f8=!0x1;for(const _0x2b9799 of _0x2af593){const _0x3b90ae=_0x2b9799['item'];_0x3288f6=_0x3288f6||_0x324f3e['isContent'](_0x3b90ae);const _0x2b20d8=_0x1dee6b['mapper']['toViewElement'](_0x3b90ae);if(_0x2b20d8&&_0x2b20d8['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x2b9799['type']&&(_0x324f3e['isBlock'](_0x3b90ae)&&!_0x324f3e['isLimit'](_0x3b90ae)&&(_0x3b90ae['nextSibling']||_0x26bf17['isAtEnd']?_0x2fec5c&&_0x2fec5c['parent']==_0x3b90ae||(_0x2fec5c=_0x3b90ae,_0x5e764c(_0x2b9799['previousPosition']),_0x2697f8=!0x0):_0x3b961a=_0x3b961a||_0x2b9799['previousPosition']));}function _0x5e764c(_0x3e2fc2){const _0x4ef5ff=_0x1dee6b['mapper']['toViewPosition'](_0x3e2fc2),_0x2accba=_0x1dee6b['writer']['createUIElement']('span',{'class':'ck-suggestion-preview-marker-'+_0x1dd0eb});_0x1dee6b['writer']['insert'](_0x4ef5ff,_0x2accba),_0x1dee6b['mapper']['bindElementToMarker'](_0x2accba,_0x3984b7['markerName']);}_0x3288f6||_0x2697f8||!_0x3b961a||_0x5e764c(_0x3b961a);};}class bt extends _0x4f74c3{constructor(_0x122e46){super(_0x122e46);const _0x883019=_0x122e46['plugins']['get'](d);this['affectsData']=!0x1,this['listenTo'](_0x883019,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x883019,'change:isEnabled',()=>this['refresh']());}['execute'](){const _0x5a032c=this['editor'],_0x3eb718=_0x5a032c['plugins']['get'](d),_0x1413bd=_0x3eb718['isReady']?_0x3eb718['diff']['newRevisionId']:null;_0x5a032c['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x1413bd);}['refresh'](){const {isReady:_0x22ba8a,isEnabled:_0x2859f3}=this['editor']['plugins']['get'](d);this['isEnabled']=_0x22ba8a&&_0x2859f3;}}class yt extends _0x4f74c3{['_step'];constructor(_0x1af3a4,{direction:_0x541710}){super(_0x1af3a4);const _0x2d5d51=_0x1af3a4['plugins']['get'](d);this['affectsData']=!0x1,this['_step']='forward'===_0x541710?0x1:-0x1,this['listenTo'](_0x2d5d51,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x2d5d51,'change:isEnabled',()=>this['refresh']()),this['listenTo'](_0x2d5d51,'change:activeChange',()=>this['refresh']());}['execute'](){const _0x37e955=this['editor'],_0x3e8949=_0x37e955['plugins']['get'](d),{isNavigationMode:_0x207fc5,currentChangeNumber:_0x1042b9}=_0x3e8949;let _0x2811d7;if(_0x3e8949['activeChange']=_0x207fc5?_0x3e8949['diff']['changes']['get'](_0x1042b9+this['_step']):_0x3e8949['diff']['changes']['first'],_0x3e8949['activeChange']['data']['isOnRoot'])_0x2811d7=_0x37e955['editing']['view']['getDomRoot'](_0x3e8949['activeChange']['rootName']);else{const _0x71835d=_0x37e955['model']['markers']['get']('revision:'+_0x3e8949['activeChange']['id']);_0x2811d7=_0x37cf46(_0x37e955['editing'],_0x71835d);}_0xed63cf({'target':_0x2811d7,'viewportOffset':0x28});}['refresh'](){const {isNavigationMode:_0x5e4755,currentChangeNumber:_0x553baf,numberOfChanges:_0x1c1e19,isReady:_0x441077,isEnabled:_0x46d81b}=this['editor']['plugins']['get'](d);this['isEnabled']=!!(_0x46d81b&&_0x441077&&_0x1c1e19)&&(!_0x5e4755||(0x1===this['_step']?_0x553baf<_0x1c1e19-0x1:_0x553baf>0x0));}}class _i extends _0x5ad99c{constructor(_0x302b87){super(_0x302b87);const _0x5cc763=this['bindTemplate'],_0x48b436=new _0x52c4cd(_0x302b87),_0xfcdb5a=new _0x52c4cd(_0x302b87);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',(_0x57e467,_0x5da5e6)=>_0x57e467&&_0x5da5e6>0x0),this['bind']('_statusText')['to'](this,'isReady',this,'currentChangeNumber',this,'numberOfChanges',this,'isNavigationMode',(_0x1ceffa,_0x204459,_0x1262e4,_0xeaffd6)=>{if(!_0x1ceffa)return y(_0x302b87,'Loading...');if(!_0x1262e4)return y(_0x302b87,'No\x20changes');const _0x120719=y(_0x302b87,'NUMBER_OF_CHANGES',_0x1262e4);return _0xeaffd6?y(_0x302b87,'X_OF_Y_CHANGES',[_0x204459+0x1,_0x1262e4]):_0x120719;}),_0x48b436['set']({'label':y(_0x302b87,'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'}),_0xfcdb5a['set']({'label':y(_0x302b87,'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'}),_0x48b436['bind']('isEnabled')['to'](this,'isBackwardNavigationEnabled'),_0xfcdb5a['bind']('isEnabled')['to'](this,'isForwardNavigationEnabled'),_0x48b436['on']('execute',()=>this['fire']('execute','backward')),_0xfcdb5a['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',_0x5cc763['if']('_isStatusLabelVisible','ck-hidden',_0x67701f=>!_0x67701f)]},'children':[{'text':_0x5cc763['to']('isNavigationMode',_0x9a5877=>_0x9a5877?y(_0x302b87,'EDIT_X_OF_Y_REVISIONS')+':\x20':y(_0x302b87,'Total')+':\x20')}]},{'text':_0x5cc763['to']('_statusText')}]},new _0x300616(),{'tag':'div','attributes':{'class':['ck-revision-history-ui__changes-navigation__navigation']},'children':[_0x48b436,_0xfcdb5a]}]});}}const ce='ck-editor__editable__loading-overlay';class de extends _0x501546{static get['pluginName'](){return'RevisionViewerLoadingOverlay';}['show'](){const _0x19ea9d=this['editor']['editing']['view'];_0x19ea9d['change'](_0x52c75f=>{for(const _0x437e89 of _0x19ea9d['document']['roots'])_0x52c75f['addClass'](ce,_0x437e89);});}['hide'](){const _0x3efdae=this['editor']['editing']['view'];_0x3efdae['change'](_0x3ff330=>{for(const _0x2a430a of _0x3efdae['document']['roots'])_0x3ff330['removeClass'](ce,_0x2a430a);});}}class R extends _0x501546{static get['pluginName'](){return'RevisionViewerUI';}static get['requires'](){return[d,de];}['init'](){const _0x1ddc8d=this['editor'],_0xa49acd=_0x1ddc8d['plugins']['get'](d),_0x1ba44e=_0x1ddc8d['plugins']['get'](de);_0x1ddc8d['ui']['componentFactory']['add']('exitToEditing',_0x10552b=>{const _0x333185=new _0x52c4cd(_0x10552b);return _0x333185['set']({'label':y(_0x10552b,'Back\x20to\x20editing'),'icon':_0x394af5['undo'],'withText':!0x0,'tooltip':!0x0,'class':'ck-revision-history-ui__back-to-editing'}),this['listenTo'](_0x333185,'execute',()=>{_0x1ddc8d['config']['get']('revisionHistory')['closeRevisionViewerCallback']();}),_0x333185;}),_0x1ddc8d['ui']['componentFactory']['add']('restoreRevision',_0xc7dccc=>{const _0x5d902b=new _0x52c4cd(_0xc7dccc);return _0x5d902b['set']({'label':y(_0xc7dccc,'Restore\x20this\x20revision'),'withText':!0x0,'tooltip':!0x0}),_0x5d902b['bind']('isEnabled')['to'](_0x1ddc8d['commands']['get']('restoreRevision')),this['listenTo'](_0x5d902b,'execute',()=>_0x1ddc8d['execute']('restoreRevision')),_0x5d902b;}),_0x1ddc8d['ui']['componentFactory']['add']('changesNavigation',_0x3aa3de=>{const _0x4b8825=new _i(_0x3aa3de),_0x11d6fe=_0x1ddc8d['commands']['get']('showPreviousChange'),_0x2be1a5=_0x1ddc8d['commands']['get']('showNextChange');return _0x4b8825['bind']('isBackwardNavigationEnabled')['to'](_0x11d6fe,'isEnabled'),_0x4b8825['bind']('isForwardNavigationEnabled')['to'](_0x2be1a5,'isEnabled'),_0x4b8825['bind']('isReady','currentChangeNumber','numberOfChanges','isNavigationMode')['to'](_0xa49acd),this['listenTo'](_0x4b8825,'execute',(_0x393b45,_0x5ed366)=>{_0x1ddc8d['execute']('forward'===_0x5ed366?'showNextChange':'showPreviousChange');}),_0x4b8825;}),_0x1ba44e['show'](),_0xa49acd['on']('change:isReady',(_0x440939,_0x57b6e3,_0x2ecab9)=>{_0x2ecab9?_0x1ba44e['hide']():_0x1ba44e['show']();});}}class kt extends at{['_resizeObserver']=null;constructor(_0x12defa,_0x30eec4){super(_0x12defa,_0x30eec4);const _0x742de7=this['bindTemplate'];this['set']({'label':y(_0x12defa,'Revision\x20name'),'_tooltipString':''}),this['fieldView']['placeholder']=y(_0x12defa,'Enter\x20the\x20revision\x20name'),this['extendTemplate']({'tag':'span','attributes':{'class':['ck-revision-history-sidebar__revision-name'],'data-cke-tooltip-text':_0x742de7['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 _0x2998e2=this['fieldView']['element'];this['_tooltipString']=_0x2998e2['scrollWidth']>_0x2998e2['clientWidth']&&_0x2998e2['value']||'';}}class ti extends _0x5ad99c{constructor(_0x484e20,_0x37b03d,_0x4bcfdd){super(_0x484e20);const _0x1e3b78=new _0x3ed868();_0x1e3b78['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 _0x59a076=['ck','ck-revision-history-sidebar__revision-author'];_0x4bcfdd&&_0x59a076['push']('ck-revision-history-sidebar__revision-author_creator');const _0x279178=[{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__revision-author__name'],'title':y(_0x484e20,_0x4bcfdd?'Revision\x20creator':'Revision\x20author')},'children':[_0x1e3b78,_0x37b03d['name']]}];this['setTemplate']({'tag':'li','attributes':{'class':_0x59a076},'children':_0x279178});}}function ni(_0x49ae64,_0x1e27e6){const _0x323db0=_0x49ae64['bindTemplate'],_0x1ffb2a=_0x49ae64['locale'],_0xc2092a=_0xd73d6a(_0x1ffb2a);_0xc2092a['panelPosition']='sw';const _0x59c5a2=function(_0x410be8,_0x3b1071){const _0x20b99e=function(_0xc1b36c,_0x3a0e92){const _0x1811b9=_0xc1b36c['locale'],_0x451816={'Compare\x20against\x20selected':y(_0x1811b9,'Compare\x20against\x20selected'),'Name\x20this\x20revision':y(_0x1811b9,'Name\x20this\x20revision'),'Restore\x20this\x20revision':y(_0x1811b9,'Restore\x20this\x20revision')};return _0x3a0e92['map'](_0x1d6019=>{const _0x480248=_0x451816[_0x1d6019['name']];return _0x480248&&_0x480248!==_0x1d6019['name']&&(_0x1d6019['name']=_0x480248),_0x1d6019;});}(_0x410be8,_0x3b1071),_0x30ac39=new _0x32adc2();for(const _0x3aa9bf of _0x20b99e){const _0x73e9b4={'type':'button','model':new to({'label':_0x3aa9bf['name'],'class':_0x3aa9bf['class'],'withText':!0x0,'role':'menuitem','_action':_0x3aa9bf['action']})};_0x73e9b4['model']['bind']('isEnabled')['to'](_0x410be8,'isActionsDropdownOpen',_0x4c77e5=>'function'!=typeof _0x3aa9bf['isEnabled']||(!_0x4c77e5||_0x3aa9bf['isEnabled'](_0x410be8))),_0x30ac39['add'](_0x73e9b4);}return _0x30ac39;}(_0x49ae64,_0x1e27e6);return _0x49ae64['bind']('isActionsDropdownOpen')['to'](_0xc2092a,'isOpen'),_0xc2092a['buttonView']['set']({'label':y(_0x1ffb2a,'Show\x20more\x20items'),'tooltip':!0x0,'tooltipPosition':'sw','icon':_0x394af5['threeVerticalDots']}),_0xc2092a['extendTemplate']({'attributes':{'class':['ck-revision-history-sidebar__revision__actions',_0x323db0['if']('isActionsDropdownOpen','ck-on')]},'on':{'click':_0x323db0['to'](_0x3f3209=>_0x3f3209['stopPropagation']())}}),_0xc2092a['on']('execute',_0x2b0b41=>{_0x49ae64['isReady']&&'function'==typeof _0x2b0b41['source']['_action']&&_0x2b0b41['source']['_action'](_0x49ae64);}),_0x24fdfa(_0xc2092a,_0x59c5a2,{'role':'menu'}),_0xc2092a['listenTo'](_0x49ae64,'change:isActionsDropdownOpen',(_0x2255a5,_0x8d2752,_0x56aa03)=>{if(_0x56aa03)for(const _0xa418d4 of _0xc2092a['listView']['items']){const _0x31290c=_0xa418d4['children']['first'],_0x4f37bf=_0x1e27e6['find'](_0x346058=>_0x346058['action']===_0x31290c['_action'])['isVisible'];_0xa418d4['isVisible']=void 0x0===_0x4f37bf||_0x4f37bf(_0x49ae64);}}),_0xc2092a;}class ai extends/* #__PURE__ -- @preserve */
26
- _0x56c09a(_0x5ad99c){['id'];['revisionNameView'];['revisionActionsView'];['_revision'];['_requireRevisionName'];constructor(_0x53e215,_0x233384,_0x10ffe4,_0x5390d4){super(_0x53e215);const _0x41151b=this['bindTemplate'],_0x1aa780=function(_0x26fff1,_0x222cae){const _0x2f8074=Array['from'](_0x222cae['authors'])['filter'](_0x41d22a=>_0x41d22a!=_0x222cae['creator']);return _0x222cae['creator']&&_0x2f8074['unshift'](_0x222cae['creator']),_0x2f8074['map'](_0x2af371=>new ti(_0x26fff1,_0x2af371,_0x2af371==_0x222cae['creator']));}(_0x53e215,_0x233384);this['id']=_0x233384['id'],this['_revision']=_0x233384,this['_requireRevisionName']=_0x5390d4,this['bind']('name','createdAt')['to'](_0x233384),this['bind']('_createdAtFormatted')['to'](this,'createdAt',_0x3bb05f=>{return _0x28ed7e=_0x53e215['uiLanguage'],(_0x48ad00=_0x3bb05f)['toLocaleDateString'](_0x28ed7e,{'month':'long','day':'numeric'})+',\x20'+_0x48ad00['toLocaleTimeString'](_0x28ed7e,{'hour':'numeric','minute':'numeric'});var _0x28ed7e,_0x48ad00;}),this['set']('isSelected',!0x1),this['set']('isHighlighted',!0x1),this['set']('isActionsDropdownOpen',!0x1),this['set']('isReady',!0x1),this['set']('isEnabled',!0x1),this['revisionNameView']=new kt(_0x53e215,_0x12abec),this['revisionNameView']['fieldView']['extendTemplate']({'attributes':{'maxlength':'220'}}),this['revisionNameView']['fieldView']['bind']('value')['to'](this,'name',_0x37c6bf=>_0x37c6bf||this['_createdAtFormatted']),this['revisionNameView']['bind']('isEnabled')['to'](this,'isSelected',this,'isEnabled',(_0x168001,_0x486931)=>_0x168001&&_0x486931),this['revisionActionsView']=_0x10ffe4&&_0x10ffe4['length']?ni(this,_0x10ffe4):'',this['revisionActionsView']&&this['revisionActionsView']['bind']('isEnabled')['to'](this),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision-wrapper',_0x41151b['if']('isConfirm','ck-revision-history-sidebar__revision-wrapper_confirmation_visible')]},'children':[{'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision',_0x41151b['if']('isEnabled','ck-disabled',_0x51b633=>!_0x51b633),_0x41151b['if']('isSelected','ck-revision-history-sidebar__revision_selected'),_0x41151b['if']('isHighlighted','ck-revision-history-sidebar__revision_highlighted'),_0x41151b['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':_0x41151b['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':_0x1aa780}]},this['revisionActionsView']],'on':{'click':_0x41151b['to'](_0x3fedc7=>{_0x3fedc7['srcElement']['closest']('.ck-thread__remove-confirm')||this['isReady']&&this['isEnabled']&&this['fire']('select',{'id':this['id']});})}}]});}['render'](){super['render']();const _0x54f6a7=this['revisionNameView']['fieldView']['element'];this['listenTo'](_0x54f6a7,'change',()=>{this['_requireRevisionName']&&!_0x54f6a7['value']||this['fire']('setName',{'id':this['id'],'name':_0x54f6a7['value']}),_0x54f6a7['value']||(_0x54f6a7['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(_0x339871,_0x1e9416){const _0x39c3b9=_0x489772['fromJSDate'](_0x339871)['setLocale'](_0x1e9416),_0x481b85=_0x489772['local'](),_0x5c7bfd=_0x481b85['minus']({'days':0x1})['startOf']('day');let _0x453226,_0x213c56;return _0x39c3b9['hasSame'](_0x481b85,'day')?(_0x453226=_0x39c3b9['startOf']('day')['toJSDate'](),_0x213c56=_0x39c3b9['toRelativeCalendar']()):_0x39c3b9['hasSame'](_0x5c7bfd,'day')?(_0x453226=_0x5c7bfd['toJSDate'](),_0x213c56=_0x39c3b9['toRelativeCalendar']()):_0x39c3b9['hasSame'](_0x481b85,'week')?(_0x453226=_0x39c3b9['startOf']('week')['toJSDate'](),_0x213c56=_0x39c3b9['weekdayLong']||''):_0x39c3b9['hasSame'](_0x481b85,'year')?(_0x453226=_0x39c3b9['startOf']('month')['toJSDate'](),_0x213c56=_0x39c3b9['monthLong']||''):(_0x453226=_0x39c3b9['startOf']('year')['toJSDate'](),_0x213c56=String(_0x39c3b9['year'])),{'startDate':_0x453226,'localizedPeriodName':_0x213c56};}class mi extends _0x5ad99c{['startDate'];['revisionViews'];['_revisionActions'];['_requireRevisionName'];constructor(_0x590416,_0xa70122,_0x1f0946,_0x119037){super(_0x590416);const _0x3160cf=di(_0xa70122,this['locale']['uiLanguage'])['localizedPeriodName'];this['startDate']=_0xa70122,this['revisionViews']=this['createCollection'](),this['_revisionActions']=_0x1f0946,this['_requireRevisionName']=_0x119037,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':_0x3160cf}]},{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__time-period__revisions']},'children':this['revisionViews']}]});}['addRevision'](_0x1e9b69){const _0x42d964=new ai(this['locale'],_0x1e9b69,this['_revisionActions'],this['_requireRevisionName']);this['revisionViews']['add'](_0x42d964);}['removeRevision'](_0x52c97b){const _0x14bd96=this['revisionViews']['find'](_0x520d36=>_0x520d36['id']===_0x52c97b['id']);this['revisionViews']['remove'](_0x14bd96);}}class as extends _0x5ad99c{constructor(_0x5ef2a6){super(_0x5ef2a6);const _0x43819a=new _0x3ed868();_0x43819a['content']=_0x394af5['history'],this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all','ck-revision-history-sidebar__header']},'children':[_0x43819a,{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__header__label']},'children':[y(_0x5ef2a6,'Revision\x20history')]}]});}}class ci extends _0x5ad99c{['timePeriodViews'];['_revisions'];['_revisionActions'];['_requireRevisionName'];constructor(_0x25548e,_0x22eeb1,_0x2283cf,_0x336e16){super(_0x25548e);const _0x1c8cf8=this['bindTemplate'];this['timePeriodViews']=this['createCollection'](),this['timePeriodViews']['delegate']('select')['to'](this),this['timePeriodViews']['delegate']('setName')['to'](this),this['_revisions']=_0x22eeb1,this['_revisionActions']=_0x2283cf,this['_requireRevisionName']=_0x336e16,this['on']('select',(_0x1339da,_0x36f9d7)=>{this['fire']('revisionSelected',_0x36f9d7);}),this['on']('setName',(_0x4d6278,_0x55d92f)=>{this['fire']('revisionSetName',_0x55d92f);}),this['set']('isEnabled',!0x1),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-rounded-corners','ck-revision-history-sidebar']},'children':[new as(_0x25548e),{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__timeline',_0x1c8cf8['if']('isEnabled','ck-disabled',_0x311a98=>!_0x311a98)]},'children':this['timePeriodViews']}]});}['render'](){super['render']();for(const _0x4ffaed of this['_revisions'])this['_addRevision'](_0x4ffaed);this['_revisions']['on']('add',(_0x4f99f7,_0x3385fe)=>{this['_addRevision'](_0x3385fe);}),this['_revisions']['on']('remove',(_0x427c4c,_0xf0bd0c)=>{this['_removeRevision'](_0xf0bd0c);});}get['revisionViews'](){return this['timePeriodViews']['map'](_0x327a41=>_0x327a41['revisionViews']['map'](_0x37a103=>_0x37a103))['flat']();}['selectRevision'](_0x10df95){for(const _0x27882d of this['revisionViews'])_0x10df95&&_0x10df95['id']===_0x27882d['id']?_0x27882d['select']():_0x27882d['deselect']();}['highlightRevisions'](_0x464b88){for(const _0x4e4f92 of this['revisionViews'])_0x464b88['some'](({id:_0x576434})=>_0x576434===_0x4e4f92['id'])?_0x4e4f92['highlight']():_0x4e4f92['unhighlight']();}['_addRevision'](_0x2aff3d){const _0x3cd999=di(_0x2aff3d['createdAt'],this['locale']['uiLanguage'])['startDate'];let _0xab3017=this['timePeriodViews']['get'](0x0);_0xab3017&&_0xab3017['startDate']['getTime']()===_0x3cd999['getTime']()||(_0xab3017=new mi(this['locale'],_0x3cd999,this['_revisionActions'],this['_requireRevisionName']),this['timePeriodViews']['add'](_0xab3017)),_0xab3017['addRevision'](_0x2aff3d);}['_removeRevision'](_0x35c338){const _0x57e294=di(_0x35c338['createdAt'],this['locale']['uiLanguage'])['startDate'];this['_getTimePeriodViewByStartDate'](_0x57e294)['removeRevision'](_0x35c338);}['_getTimePeriodViewByStartDate'](_0x24ff94){return this['timePeriodViews']['find'](_0x157d4d=>_0x157d4d['startDate']['getTime']()===_0x24ff94['getTime']());}}class w extends _0x501546{['_revisionViewer'];['_revisionsRepository'];['_sidebarView'];static ['defaultRevisionActions']=/* #__PURE__ -- @preserve */
23
+ import{Plugin as _0x2b7243,Context as _0x40b8b9,PendingActions as _0x26f42f,icons as _0x299fa9,Command as _0xf51837,ElementApiMixin as rt,Editor as it}from'@ckeditor/ckeditor5-core/dist/index.js';import{ObservableMixin as _0x46b21f,uid as _0x39bddc,Collection as _0x1efd7e,logWarning as _0xf83cc0,FocusTracker as _0x517376,KeystrokeHandler as _0x9ef9a3,scrollViewportToShowTarget as _0x30526b,ResizeObserver as mt,ElementReplacer as nt,CKEditorError as _0x22536d}from'@ckeditor/ckeditor5-utils/dist/index.js';import{Users as _0x137b16,getMarkerDomElement as _0x2d6bd0,ConfirmMixin as _0x5f40e1,sanitizeEditorConfig as _0xf5d059}from'ckeditor5-collaboration/dist/index.js';import{ViewDocumentFragment as _0x460862,ViewText as _0x50a1ef,ViewElement as _0x39072b,Element as ft,Range as vt,Position as gt,DocumentFragment as wt,ViewContainerElement as _0x55311b,ViewAttributeElement as _0x4111e5,ViewEmptyElement as _0x5d72ca,ViewRawElement as _0x39b518,ViewUIElement as _0x203e4f,Text as _t}from'@ckeditor/ckeditor5-engine/dist/index.js';import{cloneDeep as _0x4b53fb,set as _0x4dd923,unset as _0x526332,isEqual as _0x4998da}from'lodash-es';import{View as _0x2d463e,injectCssTransitionDisabler as ts,submitHandler as _0x11c685,LabeledFieldView as at,createLabeledInputText as _0x112e22,createDropdown as _0x47478e,ListView as te,ListItemView as _0x2303bf,ButtonView as _0x209397,MenuBarMenuView as _0x3dc06f,MenuBarMenuListView as _0x4b46b3,MenuBarMenuListItemView as _0x314586,MenuBarMenuListItemButtonView as _0x276535,ContextualBalloon as _0x301284,ToolbarSeparatorView as _0x587373,IconView as _0x595a2c,addListToDropdown as _0x1bbad1,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 _0x5055aa}from'luxon';class a extends/* #__PURE__ -- @preserve */
24
+ _0x46b21f(){['id'];['creator'];['authors'];['diffData'];['toVersion'];['fromVersion'];['model'];constructor(_0x4e7f3a){super(),this['id']=_0x4e7f3a['id']||_0x39bddc(),this['creator']=_0x4e7f3a['creator']||null,this['authors']=_0x4e7f3a['authors']||[],this['diffData']=_0x4e7f3a['diffData']||null,this['toVersion']=_0x4e7f3a['toVersion']||0x0,this['fromVersion']=_0x4e7f3a['fromVersion']||0x0,this['set']('name',_0x4e7f3a['name']||''),this['set']('createdAt',_0x4e7f3a['createdAt']||new Date()),this['set']('attributes',_0x4e7f3a['attributes']||{});}['setName'](_0x4687cc){this['_update']({'name':_0x4687cc});}['setAttribute'](_0x66663,_0x4aa304){const _0x3c3bbb=_0x4b53fb(this['attributes']);_0x4dd923(_0x3c3bbb,_0x66663,_0x4aa304),this['_update']({'attributes':_0x3c3bbb});}['removeAttribute'](_0x3a0309){const _0x33ae0c=_0x4b53fb(this['attributes']);_0x526332(_0x33ae0c,_0x3a0309),this['_update']({'attributes':_0x33ae0c});}['_update'](_0x570d70,_0x52aead=!0x1){let _0x4dcb72=!0x1;const _0x22027b={'id':this['id']},_0x30177f=['name','createdAt','diffData','authors','attributes','toVersion','fromVersion','creatorId'];for(const _0x140272 of _0x30177f){const _0x2fc4d3=_0x570d70[_0x140272];void 0x0!==_0x2fc4d3&&_0x2fc4d3!==this[_0x140272]&&(this[_0x140272]=_0x2fc4d3,_0x22027b[_0x140272]=_0x2fc4d3,_0x4dcb72=!0x0);}_0x4dcb72&&(_0x22027b['authors']&&(_0x22027b['authorsIds']=_0x22027b['authors']['map'](_0x430892=>_0x430892['id']),delete _0x22027b['authors']),this['fire']('_update',_0x22027b,_0x52aead));}['toJSON'](){return{'id':this['id'],'name':this['name'],'creatorId':this['creator']?this['creator']['id']:null,'authorsIds':this['authors']['map'](_0x1227e8=>_0x1227e8['id']),'diffData':this['diffData'],'createdAt':this['createdAt'],'attributes':this['attributes'],'fromVersion':this['fromVersion'],'toVersion':this['toVersion']};}}class A extends _0x2b7243{['_revisions'];static get['requires'](){return[_0x137b16];}static get['pluginName'](){return'RevisionsRepository';}get['length'](){return this['_revisions']['length'];}constructor(_0x399e29){super(_0x399e29),this['_revisions']=new _0x1efd7e();}['afterInit'](){!function(_0x4ff316){function _0x276ce4(_0x38c2fe,_0x1ac84c,_0xe4ece7){const _0x248386={};_0x248386[_0x13728d([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])]={0x10:0xa,0x18:0xc,0x20:0xe},_0x248386[_0x13728d([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],_0x248386[_0x13728d([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],_0x248386[_0x13728d([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],_0x248386[_0x13728d([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],_0x248386[_0x13728d([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],_0x248386[_0x13728d([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],_0x248386[_0x13728d([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],_0x248386[_0x13728d([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],_0x248386[_0x13728d([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],_0x248386[_0x13728d([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 _0x55710d=new Uint8Array(0x10);for(let _0x5ce6fa=0xf;_0x5ce6fa>=0x0;--_0x5ce6fa)_0x55710d[_0x5ce6fa]=_0xe4ece7%0x100,_0xe4ece7=parseInt(_0xe4ece7/0x100);let _0x529910=null,_0x56006f=0x10;const _0x353838=new Uint8Array(_0x1ac84c),_0xeab853=[],_0x30817c=[];_0x535b14();for(let _0x26ca20=0x0;_0x26ca20<_0x38c2fe[_0x13728d([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x26ca20++)0x10===_0x56006f&&(_0x529910=_0x584ce3(_0x55710d),_0x56006f=0x0,_0x3f8e5a(_0x55710d)),_0x38c2fe[_0x26ca20]^=_0x529910[_0x56006f++];return _0x38c2fe;function _0xae6cdf(_0x2906d6){const _0x503009=[];for(let _0x47c7fe=0x0;_0x47c7fe<_0x2906d6[_0x13728d([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x47c7fe+=0x4)_0x503009[_0x13728d([0x70,0x75,0x73,0x68])](_0x2906d6[_0x47c7fe]<<0x18|_0x2906d6[_0x47c7fe+0x1]<<0x10|_0x2906d6[_0x47c7fe+0x2]<<0x8|_0x2906d6[_0x47c7fe+0x3]);return _0x503009;}function _0x3f8e5a(_0x4ee719){for(let _0x2c8d7d=0xf;_0x2c8d7d>=0x0;_0x2c8d7d--){if(0xff!==_0x4ee719[_0x2c8d7d]){_0x4ee719[_0x2c8d7d]++;break;}_0x4ee719[_0x2c8d7d]=0x0;}}function _0x584ce3(_0x2b7299){const _0x13cd42=_0xeab853[_0x13728d([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x1,_0x3c23d4=[0x0,0x0,0x0,0x0];let t=_0xae6cdf(_0x2b7299);for(let _0x485171=0x0;_0x485171<0x4;_0x485171++)t[_0x485171]^=_0xeab853[0x0][_0x485171];for(let _0x499fae=0x1;_0x499fae<_0x13cd42;_0x499fae++){for(let _0x36bf04=0x0;_0x36bf04<0x4;_0x36bf04++)_0x3c23d4[_0x36bf04]=_0x248386[_0x13728d([0x54,0x31])][t[_0x36bf04]>>0x18&0xff]^_0x248386[_0x13728d([0x54,0x32])][t[(_0x36bf04+0x1)%0x4]>>0x10&0xff]^_0x248386[_0x13728d([0x54,0x33])][t[(_0x36bf04+0x2)%0x4]>>0x8&0xff]^_0x248386[_0x13728d([0x54,0x34])][0xff&t[(_0x36bf04+0x3)%0x4]]^_0xeab853[_0x499fae][_0x36bf04];t=_0x3c23d4[_0x13728d([0x73,0x6c,0x69,0x63,0x65])]();}const _0xa60e7d=new Uint8Array(0x10);let _0x3c6260;for(let _0x29b156=0x0;_0x29b156<0x4;_0x29b156++)_0x3c6260=_0xeab853[_0x13cd42][_0x29b156],_0xa60e7d[0x4*_0x29b156]=0xff&(_0x248386[_0x13728d([0x53])][t[_0x29b156]>>0x18&0xff]^_0x3c6260>>0x18),_0xa60e7d[0x4*_0x29b156+0x1]=0xff&(_0x248386[_0x13728d([0x53])][t[(_0x29b156+0x1)%0x4]>>0x10&0xff]^_0x3c6260>>0x10),_0xa60e7d[0x4*_0x29b156+0x2]=0xff&(_0x248386[_0x13728d([0x53])][t[(_0x29b156+0x2)%0x4]>>0x8&0xff]^_0x3c6260>>0x8),_0xa60e7d[0x4*_0x29b156+0x3]=0xff&(_0x248386[_0x13728d([0x53])][0xff&t[(_0x29b156+0x3)%0x4]]^_0x3c6260);return _0xa60e7d;}function _0x535b14(){const _0x55dd6a=_0x248386[_0x13728d([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])][_0x353838[_0x13728d([0x6c,0x65,0x6e,0x67,0x74,0x68])]];for(let _0x20d59b=0x0;_0x20d59b<=_0x55dd6a;_0x20d59b++)_0xeab853[_0x13728d([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]),_0x30817c[_0x13728d([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]);const _0x4ebb26=0x4*(_0x55dd6a+0x1),_0x3036cd=_0x353838[_0x13728d([0x6c,0x65,0x6e,0x67,0x74,0x68])]/0x4,_0x53965d=_0xae6cdf(_0x353838);let _0x3f3ab2;for(let _0x3277e7=0x0;_0x3277e7<_0x3036cd;_0x3277e7++)_0x3f3ab2=_0x3277e7>>0x2,_0xeab853[_0x3f3ab2][_0x3277e7%0x4]=_0x53965d[_0x3277e7],_0x30817c[_0x55dd6a-_0x3f3ab2][_0x3277e7%0x4]=_0x53965d[_0x3277e7];let _0x1433c4,_0x1b0161=0x0,t=_0x3036cd;for(;t<_0x4ebb26;){_0x1433c4=_0x53965d[_0x3036cd-0x1],_0x53965d[0x0]^=_0x248386[_0x13728d([0x53])][_0x1433c4>>0x10&0xff]<<0x18^_0x248386[_0x13728d([0x53])][_0x1433c4>>0x8&0xff]<<0x10^_0x248386[_0x13728d([0x53])][0xff&_0x1433c4]<<0x8^_0x248386[_0x13728d([0x53])][_0x1433c4>>0x18&0xff]^_0x248386[_0x13728d([0x72,0x63,0x6f,0x6e])][_0x1b0161]<<0x18,_0x1b0161+=0x1;for(let _0x9d0791=0x1;_0x9d0791<_0x3036cd/0x2;_0x9d0791++)_0x53965d[_0x9d0791]^=_0x53965d[_0x9d0791-0x1];_0x1433c4=_0x53965d[_0x3036cd/0x2-0x1],_0x53965d[_0x3036cd/0x2]^=_0x248386[_0x13728d([0x53])][0xff&_0x1433c4]^_0x248386[_0x13728d([0x53])][_0x1433c4>>0x8&0xff]<<0x8^_0x248386[_0x13728d([0x53])][_0x1433c4>>0x10&0xff]<<0x10^_0x248386[_0x13728d([0x53])][_0x1433c4>>0x18&0xff]<<0x18;for(let _0x3b510f=_0x3036cd/0x2+0x1;_0x3b510f<_0x3036cd;_0x3b510f++)_0x53965d[_0x3b510f]^=_0x53965d[_0x3b510f-0x1];let _0x43d8ab,_0x1e09b7,_0x131e91=0x0;for(;_0x131e91<_0x3036cd&&t<_0x4ebb26;)_0x43d8ab=t>>0x2,_0x1e09b7=t%0x4,_0xeab853[_0x43d8ab][_0x1e09b7]=_0x53965d[_0x131e91],_0x30817c[_0x55dd6a-_0x43d8ab][_0x1e09b7]=_0x53965d[_0x131e91++],t++;}for(let _0x598f27=0x1;_0x598f27<_0x55dd6a;_0x598f27++)for(let _0x4376f8=0x0;_0x4376f8<0x4;_0x4376f8++)_0x1433c4=_0x30817c[_0x598f27][_0x4376f8],_0x30817c[_0x598f27][_0x4376f8]=_0x248386[_0x13728d([0x55,0x31])][_0x1433c4>>0x18&0xff]^_0x248386[_0x13728d([0x55,0x32])][_0x1433c4>>0x10&0xff]^_0x248386[_0x13728d([0x55,0x33])][_0x1433c4>>0x8&0xff]^_0x248386[_0x13728d([0x55,0x34])][0xff&_0x1433c4];}}function _0x13728d(_0x127f6c){return _0x127f6c['map'](_0x1bd75c=>String['fromCharCode'](_0x1bd75c))['join']('');}(_0x3c876d=>{function _0x34ac6f(){const _0x3002f6=[{[_0x13728d([0x69,0x64])]:0x1,[_0x13728d([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x13728d([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73]),[_0x13728d([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x13728d([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x13728d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x13728d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x13728d([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x13728d([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x13728d([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]:[{[_0x13728d([0x69,0x64])]:0x2,[_0x13728d([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x13728d([0x54,0x72,0x61,0x63,0x6b,0x20,0x43,0x68,0x61,0x6e,0x67,0x65,0x73]),[_0x13728d([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x13728d([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x13728d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x13728d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x13728d([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x13728d([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]),[_0x13728d([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x13728d([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x13728d([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x13728d([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}}],[_0x13728d([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x13728d([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x13728d([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x13728d([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x13728d([0x69,0x64])]:0x3,[_0x13728d([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x13728d([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e]),[_0x13728d([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x13728d([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x6f,0x6f,0x6b,0x75,0x70]),[_0x13728d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x13728d([0x70,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x13728d([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x13728d([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x13728d([0x69,0x64])]:0x4,[_0x13728d([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x13728d([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x20,0x48,0x69,0x73,0x74,0x6f,0x72,0x79]),[_0x13728d([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x13728d([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x13728d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x13728d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x13728d([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x13728d([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]),[_0x13728d([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x13728d([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x13728d([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x13728d([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x13728d([0x69,0x64])]:0x5,[_0x13728d([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x13728d([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x20,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65]),[_0x13728d([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x13728d([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65,0x55,0x49]),[_0x13728d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x13728d([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]),[_0x13728d([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x13728d([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x13728d([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x13728d([0x66,0x67,0x69])]:[0xc]}},{[_0x13728d([0x69,0x64])]:0x6,[_0x13728d([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x13728d([0x46,0x6f,0x72,0x6d,0x61,0x74,0x20,0x50,0x61,0x69,0x6e,0x74,0x65,0x72]),[_0x13728d([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x13728d([0x46,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x55,0x49]),[_0x13728d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x13728d([0x66,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x13728d([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x13728d([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x13728d([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x13728d([0x66,0x67,0x69])]:[0xc]}},{[_0x13728d([0x69,0x64])]:0x7,[_0x13728d([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x13728d([0x53,0x6c,0x61,0x73,0x68,0x20,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64]),[_0x13728d([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x13728d([0x53,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x55,0x49]),[_0x13728d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x13728d([0x73,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x13728d([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x13728d([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x13728d([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x13728d([0x66,0x67,0x69])]:[0xc]}},{[_0x13728d([0x69,0x64])]:0x8,[_0x13728d([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x13728d([0x54,0x61,0x62,0x6c,0x65,0x20,0x6f,0x66,0x20,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73]),[_0x13728d([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x13728d([0x54,0x61,0x62,0x6c,0x65,0x4f,0x66,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x13728d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x13728d([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]),[_0x13728d([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x13728d([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x13728d([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x13728d([0x66,0x67,0x69])]:[0xc]}},{[_0x13728d([0x69,0x64])]:0x9,[_0x13728d([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x13728d([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65]),[_0x13728d([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x13728d([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x55,0x49]),[_0x13728d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x13728d([0x74,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x13728d([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x13728d([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x13728d([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x13728d([0x66,0x67,0x69])]:[0xc,0xe]}},{[_0x13728d([0x69,0x64])]:0xa,[_0x13728d([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x13728d([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]),[_0x13728d([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x13728d([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]),[_0x13728d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x13728d([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]),[_0x13728d([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x13728d([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x13728d([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x13728d([0x66,0x67,0x69])]:[0xc]}},{[_0x13728d([0x69,0x64])]:0xb,[_0x13728d([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x13728d([0x41,0x49,0x20,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74]),[_0x13728d([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x13728d([0x41,0x49,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74,0x55,0x49]),[_0x13728d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x13728d([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x13728d([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x13728d([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x13728d([0x69,0x64])]:0xc,[_0x13728d([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x13728d([0x50,0x72,0x6f,0x64,0x75,0x63,0x74,0x69,0x76,0x69,0x74,0x79,0x20,0x70,0x61,0x63,0x6b])},{[_0x13728d([0x69,0x64])]:0xd,[_0x13728d([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x13728d([0x43,0x61,0x73,0x65,0x20,0x43,0x68,0x61,0x6e,0x67,0x65]),[_0x13728d([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x13728d([0x43,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x55,0x49]),[_0x13728d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x13728d([0x63,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x13728d([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x13728d([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x13728d([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x13728d([0x66,0x67,0x69])]:[0xc]}},{[_0x13728d([0x69,0x64])]:0xe,[_0x13728d([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x13728d([0x44,0x72,0x75,0x70,0x61,0x6c,0x20,0x70,0x61,0x63,0x6b]),[_0x13728d([0x66,0x6f,0x72,0x62,0x69,0x64,0x64,0x65,0x6e,0x48,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x13728d([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])},{[_0x13728d([0x69,0x64])]:0xf,[_0x13728d([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x13728d([0x4d,0x75,0x6c,0x74,0x69,0x20,0x4c,0x65,0x76,0x65,0x6c,0x20,0x4c,0x69,0x73,0x74]),[_0x13728d([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x13728d([0x4d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x13728d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x13728d([0x6d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x13728d([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x13728d([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x13728d([0x69,0x64])]:0x10,[_0x13728d([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x13728d([0x4d,0x65,0x72,0x67,0x65,0x20,0x54,0x61,0x67,0x73]),[_0x13728d([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x13728d([0x4d,0x65,0x72,0x67,0x65,0x54,0x61,0x67,0x73,0x55,0x49]),[_0x13728d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x13728d([0x6d,0x65,0x72,0x67,0x65,0x54,0x61,0x67,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x13728d([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x13728d([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x13728d([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x13728d([0x66,0x67,0x69])]:[0xc]}}];return _0x115a83(_0x3002f6),_0x3002f6;function _0xf2d440(_0x3dd1aa){return 0x1<<_0x3dd1aa-0x1;}function _0x115a83(_0x7e3737){_0x7e3737[_0x13728d([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x312de2=>{_0x312de2[_0x13728d([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]=_0xf2d440(_0x312de2[_0x13728d([0x69,0x64])]),_0x15a14c(_0x312de2)&&_0x312de2[_0x13728d([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x115a83(_0x312de2[_0x13728d([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]);});}}function _0x15a14c(_0x21d1f6){return _0x13728d([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])in _0x21d1f6;}const _0x428595=[0x1,0x55,0x4e,0x73,0xc6,0xff,0x32,0x70,0x53,0x57,0xa1],_0x2005a4=[0x7f,0x22,0x6,0xd3,0xa7,0x56,0x92,0xc7,0x84,0xa0,0x12];function _0x44b683(_0x1e0393){const _0x44b661=[0x1d,0xdd,0xaf,0x5a,0xe7,0x85,0xef,0xf0,0x4b,0xb4];return _0xba878a(_0x1e0393,new Uint8Array([..._0x428595,..._0x44b661,..._0x2005a4]));}function _0xba878a(_0x371d6d,_0x1e4ba3){const _0x35a03c=_0x474ba6(_0x371d6d),_0x3838fb=Array[_0x13728d([0x66,0x72,0x6f,0x6d])](_0x57ced6(_0x35a03c)),_0x30e8de=_0x3838fb[_0x13728d([0x70,0x6f,0x70])](),_0x64a4fd=_0x3838fb[_0x13728d([0x70,0x6f,0x70])]();return _0x569630(_0x276ce4(_0x3838fb,_0x1e4ba3,_0x64a4fd+0x100*_0x30e8de));}function _0x474ba6(_0x1e88db){const _0x4a6d88=atob(_0x1e88db),[_0x5caedb,_0x5182f3]=_0x4a6d88[_0x13728d([0x73,0x70,0x6c,0x69,0x74])](_0x13728d([0x2d]));try{if(atob(_0x5182f3))return atob(_0x5caedb);}catch(_0xa3d1da){}return _0x4a6d88;}function _0x2b894a(_0x16819b){try{const _0x45cc22=_0x44b683(_0x16819b),_0x45083d=JSON[_0x13728d([0x70,0x61,0x72,0x73,0x65])](_0x45cc22),_0x156448=parseInt(_0x45083d[_0x13728d([0x31])]),_0x4bc828=_0x45083d[_0x13728d([0x32])]||'',_0x496ccc=parseInt(_0x45083d[_0x13728d([0x33])]),_0x572319=parseInt(_0x45083d[_0x13728d([0x34])])||0x0,_0xec7042=parseInt(_0x45083d[_0x13728d([0x35])])||0x0;return{[_0x13728d([0x70,0x72,0x6f,0x64,0x75,0x63,0x74,0x4e,0x61,0x6d,0x65])]:_0x4bc828,[_0x13728d([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])]:_0x572319,[_0x13728d([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]:_0x156448,[_0x13728d([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]:_0x496ccc,[_0x13728d([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]:_0xec7042};}catch(_0x54f2aa){return null;}}const _0x38db23=_0x34ac6f(),_0xd928c6={[_0x13728d([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])]:_0x176f5a,[_0x13728d([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])]:_0x2a6b33,[_0x13728d([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])]:_0xa74b6d},_0x46fb59=_0x3c876d[_0x13728d([0x63,0x6f,0x6e,0x73,0x74,0x72,0x75,0x63,0x74,0x6f,0x72])][_0x13728d([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])],_0x21c04e=_0x13728d([0x63,0x6f,0x6e,0x74,0x65,0x78,0x74])in _0x3c876d?_0x3c876d['context']:_0x3c876d['editor'],_0x2a5de0=_0x13728d([0x34,0x30,0x34,0x38,0x31,0x32,0x35,0x32]),_0x486bd9=_0x13728d([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]),_0xc4863=_0x21c04e['config']['get'](_0x13728d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x29dd89=_0x38db23[_0x13728d([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x15a14c)[_0x13728d([0x66,0x69,0x6e,0x64])](_0x167dc4=>_0x167dc4[_0x13728d([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]===_0x46fb59);function _0x3f2697(_0x47a18f,_0x596307){_0xd928c6[_0x596307[_0x13728d([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]](_0x47a18f,_0x596307),_0x596307[_0x13728d([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x596307[_0x13728d([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])][_0x13728d([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5214c6=>_0x3d8768(_0x21c04e,_0x5214c6[_0x13728d([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))[_0x13728d([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x4a80a2=>_0x3f2697(_0x47a18f,_0x4a80a2));}function _0x176f5a(_0x3392f4,_0x3a5aee){_0x3f72db(_0x2acb99(_0x3392f4,_0x3a5aee),_0x3a5aee);}function _0x2a6b33(_0x27ff98,_0x3300d0){function _0xf1887f(_0x19ce3f,_0x30b3c2){try{if(_0x3d8768(_0x21c04e,_0x13728d([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))&&_0x19ce3f){const _0x467f08=_0x274565(_0x21c04e,_0x13728d([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))[_0x13728d([0x5f,0x65,0x78,0x65,0x63,0x75,0x74,0x65,0x53,0x75,0x67,0x67,0x65,0x73,0x74,0x69,0x6f,0x6e])];if(parseInt(_0x467f08)/0x2>_0x19ce3f[_0x13728d([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])])return _0x4a64eb(_0x30b3c2[_0x13728d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x13728d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}return _0x2acb99(_0x19ce3f,_0x30b3c2);}catch(_0x3073f6){return _0x4a64eb(_0x30b3c2[_0x13728d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x13728d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}_0x3f72db(_0xf1887f(_0x27ff98,_0x3300d0),_0x3300d0);}function _0xa74b6d(_0x99035a,_0x247c8f){const _0x11d792=_0x2005a4[0x0]*_0x428595[0x1],_0xb2584b=_0x2005a4[0x0]*_0x428595[0x2],_0x8cf2f3=_0x2005a4[0x2]*_0x428595[0x2];_0x3d8768(_0x21c04e,_0x13728d([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x274565(_0x21c04e,_0x13728d([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x13728d([0x73,0x74,0x61,0x74,0x65])]==_0x13728d([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&(window[_0x3acdc1()]=_0x8cf2f3);function _0xbd7a32(_0x2ced8c,_0x5d4e60){try{return _0x117b4e()?_0x4a64eb(_0x5d4e60[_0x13728d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x13728d([0x56,0x61,0x6c,0x69,0x64])):_0x2acb99(_0x2ced8c,_0x5d4e60);}catch(_0x1fadab){return _0x4a64eb(_0x5d4e60[_0x13728d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x13728d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x59734e(_0x3adc10,_0x135e36){const _0x586444=0x7;if(_0x3adc10==_0x135e36[_0x13728d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x13728d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]))_0x281f18();else{if(_0x3adc10==_0x135e36[_0x13728d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x13728d([0x54,0x72,0x69,0x61,0x6c])){const _0x5d8910=_0x120770();_0x5d8910&&_0x5d576b(_0x5d8910,_0x135e36[_0x13728d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);const _0x19c6e6=_0x132b5a();window[_0x13728d([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x5d576b(_0x13728d([0x74,0x69,0x6d,0x65]),_0x135e36[_0x13728d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);},_0x19c6e6);const _0x5d93fb=_0x274565(_0x21c04e,_0x13728d([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x13728d([0x5f,0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73])];_0x5d93fb[_0x13728d([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x586444?_0x5d576b(_0x13728d([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x135e36[_0x13728d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]):_0x5d93fb['on'](_0x13728d([0x61,0x64,0x64]),()=>{_0x5d93fb[_0x13728d([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x586444&&_0x5d576b(_0x13728d([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x135e36[_0x13728d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);});}}}function _0x120770(){if(!_0x3d8768(_0x21c04e,_0x13728d([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x48aecf in window)if(Number['isNaN'](Number(_0x48aecf))){if(window[_0x48aecf]===_0x11d792)return _0x13728d([0x74,0x69,0x6d,0x65]);if(window[_0x48aecf]===_0xb2584b)return _0x13728d([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]);}return!0x1;}function _0x117b4e(){if(!_0x3d8768(_0x21c04e,_0x13728d([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x33502b in window)if(Number['isNaN'](Number(_0x33502b))&&window[_0x33502b]===_0x8cf2f3)return!0x0;return!0x1;}function _0x5d576b(_0x45cfc2,_0x2dc06a){_0x281f18(),_0x4a64eb(_0x2dc06a+_0x13728d([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a])+_0x45cfc2),window[_0x3acdc1()]=_0x45cfc2===_0x13728d([0x74,0x69,0x6d,0x65])?_0x11d792:_0xb2584b;}function _0x132b5a(){let _0x1bdd92=_0x2005a4[0x6]*_0x428595[0x8]*_0x428595[0x6];return _0x3d8768(_0x21c04e,_0x13728d([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x1bdd92/=0xa),_0x1bdd92;}function _0x281f18(){const _0x5a8fe5=_0x21c04e;function _0x1519d8(){_0x3d8768(_0x5a8fe5,_0x13728d([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&(_0x274565(_0x5a8fe5,_0x13728d([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x13728d([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x13728d([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x274565(_0x5a8fe5,_0x13728d([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x13728d([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x274565(_0x5a8fe5,_0x13728d([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x13728d([0x75,0x70,0x64,0x61,0x74,0x65])]=_0x581367,_0x274565(_0x5a8fe5,_0x13728d([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x13728d([0x73,0x61,0x76,0x65,0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e])]=_0x581367,_0x5a8fe5[_0x13728d([0x6d,0x6f,0x64,0x65,0x6c])][_0x13728d([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x581367,_0x5a8fe5[_0x13728d([0x6d,0x6f,0x64,0x65,0x6c])][_0x13728d([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x581367,_0x5a8fe5[_0x13728d([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x13728d([0x6d,0x6f,0x64,0x65,0x6c]))),_0x3d8768(_0x5a8fe5,_0x13728d([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x274565(_0x5a8fe5,_0x13728d([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x13728d([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x13728d([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x274565(_0x5a8fe5,_0x13728d([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x13728d([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x274565(_0x5a8fe5,_0x13728d([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x13728d([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])]=_0x581367,_0x274565(_0x5a8fe5,_0x13728d([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x13728d([0x5f,0x67,0x65,0x74,0x44,0x69,0x66,0x66])]=_0x581367);}_0x5a8fe5[_0x13728d([0x73,0x74,0x61,0x74,0x65])]==_0x13728d([0x72,0x65,0x61,0x64,0x79])?_0x1519d8():_0x5a8fe5[_0x13728d([0x6f,0x6e,0x63,0x65])](_0x13728d([0x72,0x65,0x61,0x64,0x79]),()=>{if(_0x3d8768(_0x5a8fe5,_0x13728d([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&_0x1519d8(),_0x3d8768(_0x5a8fe5,_0x13728d([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))){const _0x413063=_0x274565(_0x5a8fe5,_0x13728d([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79])),_0x4291f2=_0x413063['getRevision'](0x0),_0x25052c=_0x413063['getEarlierVisibleRevision'](_0x4291f2[_0x13728d([0x69,0x64])]);_0x274565(_0x5a8fe5,_0x13728d([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x13728d([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])](_0x4291f2[_0x13728d([0x69,0x64])],_0x25052c?_0x25052c[_0x13728d([0x69,0x64])]:null,0x1)['then'](()=>_0x1519d8());}});}_0x59734e(_0xbd7a32(_0x99035a,_0x247c8f),_0x247c8f);}function _0x2acb99(_0x26b95a,_0x55fcfd){try{return _0x6eec7f(_0x55fcfd)?_0x4a64eb(_0x55fcfd[_0x13728d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x13728d([0x56,0x61,0x6c,0x69,0x64])):_0x26b95a&&_0x5a9224(_0x26b95a[_0x13728d([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])],_0x55fcfd)?_0x26b95a[_0x13728d([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]&&!window[_0x13728d([0x6f,0x70,0x65,0x6e])][_0x13728d([0x63,0x6c,0x6f,0x73,0x65,0x64])]||parseInt(_0x2a5de0)/0x2>_0x26b95a[_0x13728d([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]?_0x4a64eb(_0x55fcfd[_0x13728d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x13728d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])):_0x26b95a[_0x13728d([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]?_0x4a64eb(_0x55fcfd[_0x13728d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x13728d([0x54,0x72,0x69,0x61,0x6c])):_0x4a64eb(_0x55fcfd[_0x13728d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x13728d([0x56,0x61,0x6c,0x69,0x64])):_0x4a64eb(_0x55fcfd[_0x13728d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x13728d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}catch(_0x1e3741){return _0x4a64eb(_0x55fcfd[_0x13728d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x13728d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x3f72db(_0x304d86,_0x9749cb){if(_0x21c04e instanceof _0x40b8b9){const _0x5e9bb6=_0x21c04e;_0x304d86==_0x9749cb[_0x13728d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x13728d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x288ff7(_0x5e9bb6):_0x304d86==_0x9749cb[_0x13728d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x13728d([0x54,0x72,0x69,0x61,0x6c])&&window[_0x13728d([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x288ff7(_0x5e9bb6),_0x4a64eb(_0x9749cb[_0x13728d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x13728d([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65]));},_0x2005a4[0x6]*_0x428595[0x8]*_0x428595[0x6]),_0x5e9bb6[_0x13728d([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])][_0x13728d([0x6f,0x6e])](_0x13728d([0x61,0x64,0x64]),(_0x494aab,_0x5251ef)=>{_0x304d86!=_0x9749cb[_0x13728d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x13728d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])&&_0x304d86!=_0x9749cb[_0x13728d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x13728d([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65])&&_0x304d86!=_0x9749cb[_0x13728d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x13728d([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])||_0x111819(_0x5251ef);});}else{const _0x4359e2=_0x21c04e;_0x304d86==_0x9749cb[_0x13728d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x13728d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x111819(_0x4359e2):_0x304d86==_0x9749cb[_0x13728d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x13728d([0x54,0x72,0x69,0x61,0x6c])&&_0x4359e2[_0x13728d([0x6f,0x6e])](_0x13728d([0x72,0x65,0x61,0x64,0x79]),()=>{let _0x7a98e0=0x0;_0x4359e2[_0x13728d([0x6d,0x6f,0x64,0x65,0x6c])][_0x13728d([0x6f,0x6e])](_0x13728d([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x4e7b73,_0x1dc51e)=>{_0x1dc51e[0x0][_0x13728d([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x7a98e0++,0x1f8===_0x7a98e0&&(_0x111819(_0x4359e2),_0x4a64eb(_0x9749cb[_0x13728d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x13728d([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])),_0x4e7b73[_0x13728d([0x6f,0x66,0x66])]());},{'priority':_0x13728d([0x68,0x69,0x67,0x68,0x65,0x73,0x74])});});}}function _0x4a64eb(_0x541bdf){const _0x266870=_0x3acdc1();return _0x21c04e[_0x266870]=_0x541bdf,_0x541bdf;}function _0x3acdc1(){const _0x32c706=String(window[_0x13728d([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x13728d([0x6e,0x6f,0x77])]())[_0x13728d([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x13728d([0x2e]),'');let _0x4b610b='';for(let _0x5c9dcc=0x0;_0x5c9dcc<_0x32c706[_0x13728d([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5c9dcc+=0x2){let _0x42140c=parseInt(_0x32c706[_0x13728d([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5c9dcc,_0x5c9dcc+0x2));_0x42140c>=_0x486bd9[_0x13728d([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x42140c-=_0x486bd9[_0x13728d([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x4b610b+=_0x486bd9[_0x42140c];}return _0x4b610b;}function _0x288ff7(_0x25ac62){for(const _0x5787b2 of _0x25ac62[_0x13728d([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])])_0x111819(_0x5787b2);_0x274565(_0x25ac62,_0x13728d([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x13728d([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])](!0x0),_0x274565(_0x25ac62,_0x13728d([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x13728d([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])]=_0x581367;}function _0x111819(_0x546cc1){function _0x155919(){_0x546cc1[_0x13728d([0x6d,0x6f,0x64,0x65,0x6c])][_0x13728d([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x581367,_0x546cc1[_0x13728d([0x6d,0x6f,0x64,0x65,0x6c])][_0x13728d([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x581367,_0x546cc1[_0x13728d([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x13728d([0x6d,0x6f,0x64,0x65,0x6c]));}_0x546cc1[_0x13728d([0x73,0x74,0x61,0x74,0x65])]==_0x13728d([0x72,0x65,0x61,0x64,0x79])?_0x155919():_0x546cc1[_0x13728d([0x6f,0x6e,0x63,0x65])](_0x13728d([0x72,0x65,0x61,0x64,0x79]),()=>_0x155919());}function _0x581367(){return null;}function _0x5a9224(_0x19bda4,_0x198ddd){const _0xb4a9c2=!!(_0x19bda4&_0x198ddd[_0x13728d([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]),_0xc96aaa=_0x5ea943(_0x19bda4,_0x198ddd);return _0xb4a9c2||_0xc96aaa;}function _0x5ea943(_0x71efbb,_0x17ae0b){const _0x269717=(_0x17ae0b[_0x13728d([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{})[_0x13728d([0x66,0x67,0x69])]||null;return!!_0x269717&&_0x38db23[_0x13728d([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x45ff2c=>_0x269717[_0x13728d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x45ff2c[_0x13728d([0x69,0x64])]))[_0x13728d([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x57bb84=>!_0x24ad79(_0x57bb84))[_0x13728d([0x73,0x6f,0x6d,0x65])](_0x308cb4=>!!(_0x71efbb&_0x308cb4[_0x13728d([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]));}function _0x24ad79(_0x52d309){const _0x1b48c6={[_0x13728d([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])]:_0x3cdf66};return!!_0x52d309['forbiddenHandler']&&_0x1b48c6[_0x52d309['forbiddenHandler']]();}function _0x3cdf66(){return!window[_0x13728d([0x44,0x72,0x75,0x70,0x61,0x6c])]||!_0x3d8768(_0x21c04e,_0x13728d([0x64,0x72,0x75,0x70,0x61,0x6c,0x50,0x6f,0x77,0x65,0x72,0x65,0x64,0x42,0x79]));}function _0x6eec7f(_0x41061a){if(!_0x3d8768(_0x21c04e,_0x41061a[_0x13728d([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))return!0x0;const _0x4f78fd=_0x41061a[_0x13728d([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{},_0x53bde2=_0x4f78fd[_0x13728d([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]||!0x1,_0x29eead=_0x4f78fd[_0x13728d([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]||!0x1,_0x58ccf4=_0x4f78fd[_0x13728d([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]||!0x1;if(_0x3d8768(_0x21c04e,_0x13728d([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x274565(_0x21c04e,_0x13728d([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x13728d([0x73,0x74,0x61,0x74,0x65])]==_0x13728d([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&_0x53bde2)return!0x0;if(_0x3d8768(_0x21c04e,_0x13728d([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))&&_0x274565(_0x21c04e,_0x13728d([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))[_0x13728d([0x72,0x65,0x73,0x75,0x6c,0x74])]==_0x13728d([0x65,0x6e,0x64])&&_0x29eead)return!0x0;return!(!_0x3d8768(_0x21c04e,_0x13728d([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]))||_0x274565(_0x21c04e,_0x13728d([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]))[_0x13728d([0x72,0x65,0x73,0x75,0x6c,0x74])]!=_0x13728d([0x65,0x6e,0x64])||!_0x58ccf4);}function _0x3d8768(_0x2c7ad5,_0x18304f){return _0x2c7ad5[_0x13728d([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x13728d([0x68,0x61,0x73])](_0x18304f);}function _0x274565(_0x27dd9c,_0x318d34){return _0x27dd9c[_0x13728d([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x13728d([0x67,0x65,0x74])](_0x318d34);}function _0x569630(_0x1db856){let _0x549f65='';for(const _0xf626f9 of _0x1db856)_0x549f65+=String[_0x13728d([0x66,0x72,0x6f,0x6d,0x43,0x68,0x61,0x72,0x43,0x6f,0x64,0x65])](_0xf626f9);return _0x549f65;}function _0x57ced6(_0x2c13e3){const _0x33505b=new Uint8Array(_0x2c13e3[_0x13728d([0x6c,0x65,0x6e,0x67,0x74,0x68])]);for(let _0x300e9d=0x0;_0x300e9d<_0x2c13e3[_0x13728d([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x300e9d++)_0x33505b[_0x300e9d]=_0x2c13e3[_0x13728d([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x300e9d);return _0x33505b;}_0x29dd89&&_0x3f2697(_0x2b894a(_0xc4863),_0x29dd89);})(_0x4ff316);}(this);}['createRevision'](_0x570801){const _0x216fd5=this['editor']['plugins']['get']('Users');return new a({'id':_0x570801['id'],'name':_0x570801['name'],'creator':_0x570801['creatorId']?_0x216fd5['getUser'](_0x570801['creatorId']):null,'diffData':_0x570801['diffData']||_0x570801['data'],'authors':_0x570801['authorsIds']['map'](_0x40cd0b=>_0x216fd5['getUser'](_0x40cd0b)),'createdAt':new Date(_0x570801['createdAt']),'attributes':_0x570801['attributes'],'fromVersion':_0x570801['fromVersion'],'toVersion':_0x570801['toVersion']});}['addRevision'](_0xfb14c8,_0x183bb6=0x0){this['_revisions']['add'](_0xfb14c8,_0x183bb6);}['getRevision'](_0x21d37e){return this['_revisions']['get'](_0x21d37e);}['getRevisions'](_0x1779f5={'toJSON':!0x1}){const _0x3dd845=Array['from'](this['_revisions']);return _0x3dd845['reverse'](),_0x1779f5['toJSON']?_0x3dd845['map'](_0x8458b8=>_0x8458b8['toJSON']()):_0x3dd845;}['getIndex'](_0x3a5cc5){return this['_revisions']['getIndex'](_0x3a5cc5);}['getEarlierVisibleRevision'](_0x5315dd){const [,_0x2f4480]=this['getRevisionsIterator'](_0x5315dd,{'direction':'earlier'});return _0x2f4480;}['getLaterVisibleRevision'](_0x22d5bb){const [,_0x251dc0]=this['getRevisionsIterator'](_0x22d5bb,{'direction':'later'});return _0x251dc0;}['getRevisionsInDiff'](_0x4b1299){const _0x59e3e1=[];for(const _0xcec89c of this['getRevisionsIterator'](_0x4b1299['newRevisionId']))if(_0x59e3e1['push'](_0xcec89c),_0xcec89c['id']===_0x4b1299['oldRevisionId'])break;return _0x59e3e1;}*['getRevisionsIterator'](_0x45f336,{direction:_0x93d29='earlier',filter:_0x57da22=_0x11a4aa=>!0x0}={}){const _0x4c47e9='earlier'===_0x93d29?0x1:-0x1;let _0x5d791a=this['_revisions']['get'](_0x45f336),_0x3df9f4=this['getIndex'](_0x5d791a);for(yield _0x5d791a;_0x5d791a;){if(_0x3df9f4+=_0x4c47e9,_0x5d791a=this['getRevision'](_0x3df9f4),!_0x5d791a)return;_0x57da22(_0x5d791a)&&(yield _0x5d791a);}}}function y(_0x42a54b,_0x1ece4d,_0x307c6e){const t=_0x42a54b['t'];switch(_0x1ece4d){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'},_0x307c6e);case'X_OF_Y_CHANGES':return t({'string':'%0\x20of\x20%1','id':'X_OF_Y_CHANGES'},_0x307c6e);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':_0x55311b,'a':_0x4111e5,'e':_0x5d72ca,'r':_0x39b518,'u':_0x203e4f};class l extends _0x2b7243{['adapter'];['currentRevision'];['repository'];['_revisionDataBuilder'];['_source'];['_initialRevisionId'];['_bufferedUpdates'];['_pendingAction'];['_continueCurrentRevision'];['_startingVersion'];['_loadedStateData'];static get['pluginName'](){return'RevisionTracker';}static get['requires'](){return[_0x137b16,A,_0x26f42f];}constructor(_0x5ee4c9){super(_0x5ee4c9),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 _0x4b275b=_0x39bddc();this['_source']={'history':this['editor']['model']['document']['history'],'getLatestVersion':()=>Promise['resolve'](this['editor']['model']['document']['version']),'getCurrentRevisionId':()=>_0x4b275b},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 _0x304c4b=this['repository']['getRevision'](0x0),_0x258866=_0x304c4b&&null===_0x304c4b['creator']?_0x304c4b:null;if(this['_continueCurrentRevision']=!!_0x258866&&this['editor']['config']['get']('revisionHistory.resumeUnsavedRevision'),this['editor']['plugins']['has']('RealTimeCollaborationClient')){const _0x56e9ab=this['_source']['getCurrentRevisionId'](),_0x1ddac8=this['repository']['getRevision'](_0x56e9ab);if(_0x1ddac8)this['_startingVersion']=_0x1ddac8['fromVersion'],this['_continueCurrentRevision']=!0x1;else{const _0x950e36=this['_source']['history']['_operations']['find'](_0x32fc7c=>!_0x32fc7c['_isInit']),_0x11d755=_0x950e36?_0x950e36['baseVersion']:this['_source']['history']['version'];_0x304c4b?(_0x304c4b['toVersion']<_0x11d755&&_0x304c4b['_update']({'toVersion':_0x11d755}),this['_continueCurrentRevision']?(this['_source']['getCurrentRevisionId']=()=>_0x258866['id'],this['_startingVersion']=_0x258866['fromVersion']):(this['_startingVersion']=_0x304c4b['toVersion'],this['_continueCurrentRevision']=!0x1)):(this['_startingVersion']=_0x11d755,this['_continueCurrentRevision']=!0x1);}}else _0x258866&&(this['editor']['model']['document']['history']['version']=Math['max'](_0x258866['toVersion'],this['editor']['model']['document']['history']['version']),_0x258866['fromVersion']===_0x258866['toVersion']?(0x0!==_0x258866['fromVersion']&&(this['_source']['getCurrentRevisionId']=()=>_0x258866['id']),this['_continueCurrentRevision']=!0x1):this['_continueCurrentRevision']&&(this['_source']['getCurrentRevisionId']=()=>_0x258866['id'],this['_startingVersion']=_0x258866['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',_0x2da5f8=>!_0x2da5f8);}async['afterInit'](){if(this['repository']['length']>0x0){const _0x3d87c7=this['repository']['getRevision'](0x0),_0x5b2802=await this['getRevisionDocumentData'](_0x3d87c7),_0x32b534=await this['getRevisionRootsAttributes'](_0x3d87c7);this['_replaceEditorDataWithRevisionData'](_0x5b2802,_0x32b534);}}['setSource'](_0x4bdbde){this['_source']=_0x4bdbde;}async['update'](){const _0x599ae4=await this['_source']['getLatestVersion']();if(_0x599ae4>this['currentRevision']['toVersion']){await this['_loadState']();const _0x3bff14=this['buildRevisionData']({'revision':this['currentRevision'],'to':_0x599ae4});_0x3bff14['authors']=_0x3bff14['authorsIds']['map'](_0x4476b1=>this['editor']['plugins']['get']('Users')['getUser'](_0x4476b1)),this['currentRevision']['_update'](_0x3bff14);}}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'](_0x475e39={},_0x5dcc62=null){const _0x4cdaa7=[];await this['_loadState'](),this['_continueCurrentRevision']=!0x1,_0x5dcc62>this['currentRevision']['toVersion']&&(_0x5dcc62=null),null===_0x5dcc62&&(_0x5dcc62=await this['_source']['getLatestVersion']());const _0x2a6c8a=this['_getFromVersion'](_0x5dcc62),_0x20801d=this['buildRevisionData']({'from':_0x2a6c8a,'to':_0x5dcc62});if(this['currentRevision']['toVersion']<_0x5dcc62){const _0x17229a=this['buildRevisionData']({'revision':this['currentRevision'],'from':_0x5dcc62,'to':_0x5dcc62});_0x17229a['authors']=[],_0x17229a['authorsIds']=[],_0x17229a['id']=this['currentRevision']['id'],this['currentRevision']['_update'](_0x17229a,!0x0),delete _0x17229a['authors'],_0x4cdaa7['push'](_0x17229a);}_0x475e39['creatorId']=this['editor']['plugins']['get']('Users')['me']['id'],_0x475e39['name']=_0x475e39['name']||null,_0x475e39['id']=_0x475e39['id']||_0x39bddc(),_0x475e39={..._0x475e39,..._0x20801d};const _0x4bd39a=this['addRevisionData'](_0x475e39);_0x4cdaa7['push'](_0x475e39);const _0x1ff26e=this['repository']['getIndex'](_0x4bd39a);if(0x0!==_0x1ff26e){const _0x40583b=this['repository']['getRevision'](_0x1ff26e-0x1);if(_0x40583b['fromVersion']!==_0x5dcc62){const _0x13efb8=this['_revisionDataBuilder']['getData'](_0x5dcc62,_0x40583b['toVersion']),_0x151cd7={'id':_0x40583b['id'],'diffData':_0x13efb8['diffData'],'authorsIds':_0x13efb8['authorsIds'],'authors':_0x13efb8['authorsIds']['map'](_0x39061a=>this['editor']['plugins']['get']('Users')['getUser'](_0x39061a)),'fromVersion':_0x5dcc62};_0x40583b===this['currentRevision']&&(_0x151cd7['createdAt']=new Date(_0x475e39['createdAt']['getTime']()+0xa)),_0x40583b['_update'](_0x151cd7,!0x0),delete _0x151cd7['authors'],_0x4cdaa7['push'](_0x151cd7);}}if(this['adapter']){for(const _0x4a160b of _0x4cdaa7)this['_bufferUpdate'](_0x4a160b['id'],_0x4a160b,!0x0);this['sendBufferedUpdates']();}return _0x4bd39a;}['addRevisionData'](_0x22f323){const _0x4ed4eb=this['repository']['createRevision'](_0x22f323);return this['adapter']&&_0x4ed4eb['on']('_update',(_0x5ea4bd,_0x45e3a9,_0x29bda9)=>{_0x29bda9||(this['_bufferUpdate'](_0x45e3a9['id'],_0x45e3a9,!0x0),this['sendBufferedUpdates']());}),this['repository']['addRevision'](_0x4ed4eb,this['_findInsertionIndex'](_0x4ed4eb)),_0x4ed4eb;}async['getRevisionDocumentData'](_0x5c29e0){await this['_loadRevisionData'](_0x5c29e0);const _0x961512={};for(const _0xd4adec in _0x5c29e0['diffData']){if(_0x5c29e0['diffData'][_0xd4adec]['attachChange']&&!_0x5c29e0['diffData'][_0xd4adec]['attachChange']['isAttached'])continue;const _0xd7d108=this['_removeRevisionMarkers'](JSON['parse'](_0x5c29e0['diffData'][_0xd4adec]['insertions'])),_0x438164=this['editor']['editing']['view']['document'],_0x17c964=new _0x460862(_0x438164,_0xd7d108['map'](_0x3c373f=>B(_0x3c373f,this['editor'])));this['editor']['data']['processor']['useFillerType']('marked'),_0x961512[_0xd4adec]=this['editor']['data']['processor']['toData'](_0x17c964),this['editor']['data']['processor']['useFillerType']('default');}return _0x961512;}async['getRevisionRootsAttributes'](_0x19d67b){await this['_loadRevisionData'](_0x19d67b);const _0x1b26c4={};for(const _0x2b1ae4 in _0x19d67b['diffData'])_0x19d67b['diffData'][_0x2b1ae4]['attachChange']&&!_0x19d67b['diffData'][_0x2b1ae4]['attachChange']['isAttached']||(_0x1b26c4[_0x2b1ae4]=_0x19d67b['diffData'][_0x2b1ae4]['attributesAfter']||{});return _0x1b26c4;}['sendBufferedUpdates'](){if(0x0===this['_bufferedUpdates']['size'])return;if(this['_isPendingUpdate'])return;let _0x96b0dc=Array['from'](this['_bufferedUpdates']['values']());this['_bufferedUpdates']['clear']();for(let _0x507dd0=0x0;_0x507dd0<_0x96b0dc['length'];_0x507dd0++){const _0x1cfa03=_0x96b0dc[_0x507dd0];let _0x69ee7d=!0x1;for(const _0x49b562 of Object['keys'](_0x1cfa03))void 0x0===_0x1cfa03[_0x49b562]?delete _0x1cfa03[_0x49b562]:'id'!==_0x49b562&&(_0x69ee7d=!0x0);_0x69ee7d||(_0x96b0dc[_0x507dd0]=null);}if(_0x96b0dc=_0x96b0dc['filter'](_0x31afa0=>null!==_0x31afa0),!_0x96b0dc['length'])return;for(let _0x14c346=0x0;_0x14c346<_0x96b0dc['length'];_0x14c346++){const _0x23f1a9=_0x96b0dc[_0x14c346];void 0x0!==_0x23f1a9['fromVersion']&&void 0x0===_0x23f1a9['toVersion']&&(_0x23f1a9['toVersion']=this['repository']['getRevision'](_0x23f1a9['id'])['toVersion']),void 0x0!==_0x23f1a9['toVersion']&&void 0x0===_0x23f1a9['fromVersion']&&(_0x23f1a9['fromVersion']=this['repository']['getRevision'](_0x23f1a9['id'])['fromVersion']);}const _0x74c209=this['editor']['config']['get']('collaboration.channelId');this['_isPendingUpdate']=!0x0,this['_addPendingAction'](),this['adapter']['updateRevisions'](_0x96b0dc,_0x74c209)['finally'](()=>{this['_isPendingUpdate']=!0x1;})['then'](_0x65e317=>{if(_0x65e317){for(const _0x5d9d48 of _0x65e317)this['setRevisionData']({'id':_0x5d9d48['id'],'createdAt':_0x5d9d48['createdAt']});}this['_removePendingAction'](),this['sendBufferedUpdates']();});}['_replaceEditorDataWithRevisionData'](_0x5b5eb6,_0xe4ec39){let _0x459e2a=this['editor']['config']['get']('initialData'),_0xf93415=this['editor']['config']['get']('rootsAttributes');if(void 0x0===_0x459e2a){_0x459e2a={};for(const _0x5c4fc7 of this['editor']['model']['document']['getRootNames']())_0x459e2a[_0x5c4fc7]='';}if('string'==typeof _0x459e2a&&(_0x459e2a={'main':_0x459e2a}),void 0x0===_0xf93415){_0xf93415={};for(const _0x4da1da of this['editor']['model']['document']['getRootNames']())_0xf93415[_0x4da1da]={};}let _0x1bc685=!0x1;const _0x8e94b2=Object['keys'](_0x459e2a),_0x29f525=Object['keys'](_0x5b5eb6);for(const _0x1881ff of _0x8e94b2){if(_0x459e2a[_0x1881ff]!==_0x5b5eb6[_0x1881ff]&&''!==_0x459e2a[_0x1881ff]['trim']()){_0x1bc685=!0x0;break;}if(!_0x4998da(_0xf93415[_0x1881ff],_0xe4ec39[_0x1881ff])&&Object['keys'](_0xf93415[_0x1881ff])['length']>0x0){_0x1bc685=!0x0;break;}}_0x1bc685||(_0x1bc685=_0x29f525['some'](_0xa30ae5=>!this['editor']['model']['document']['getRoot'](_0xa30ae5))),_0x1bc685&&_0xf83cc0('editor-initial-data-replaced-with-revision-data',{'editorData':_0x459e2a,'editorRootsAttributes':_0xf93415,'revisionData':_0x5b5eb6,'revisionRootsAttributes':_0xe4ec39}),this['editor']['config']['set']('initialData',_0x5b5eb6),this['editor']['config']['set']('rootsAttributes',_0xe4ec39);}['_addPendingAction'](){if(!this['_pendingAction']){const _0x287060=this['editor']['plugins']['get']('PendingActions');this['_pendingAction']=_0x287060['add'](y(this['editor']['locale'],'PENDING_ACTION_REVISION_HISTORY'));}}['_removePendingAction'](){this['_pendingAction']&&(this['editor']['plugins']['get']('PendingActions')['remove'](this['_pendingAction']),this['_pendingAction']=null);}['_findInsertionIndex'](_0x3a7901){const _0x1ab5c2=this['repository']['getRevisions']();_0x1ab5c2['reverse']();let _0x28a5ed=0x0;for(;_0x28a5ed<_0x1ab5c2['length'];){const _0x4cb941=_0x1ab5c2[_0x28a5ed];if(_0x4cb941===this['currentRevision']){_0x28a5ed++;continue;}if(_0x4cb941['id']===this['_initialRevisionId'])break;const _0x197a10=_0x3a7901['toVersion']-_0x4cb941['toVersion']||_0x3a7901['fromVersion']-_0x4cb941['fromVersion'];if(_0x197a10>0x0)break;if(_0x197a10<0x0)_0x28a5ed++;else{if(!_0x3a7901['creator']&&_0x4cb941['creator'])break;if(_0x4cb941['creator']||!_0x3a7901['creator']){if(_0x3a7901['createdAt']>_0x4cb941['createdAt'])break;_0x28a5ed++;}else _0x28a5ed++;}}return _0x28a5ed;}['setRevisionData'](_0x5ee2f6){const _0x2e09ac=this['repository']['getRevision'](_0x5ee2f6['id']);if(_0x5ee2f6['createdAt']&&(_0x5ee2f6['createdAt']=new Date(_0x5ee2f6['createdAt'])),_0x5ee2f6['authorsIds']){const _0x20916f=this['editor']['plugins']['get']('Users');_0x5ee2f6['authors']=_0x5ee2f6['authorsIds']['map'](_0x2fc5c5=>_0x20916f['getUser'](_0x2fc5c5));}_0x2e09ac['_update'](_0x5ee2f6,!0x0);}['buildRevisionData']({revision:_0x4c977e=null,from:_0x2faead=null,to:_0x5cc721=null}){_0x2faead=null!==_0x2faead?_0x2faead:_0x4c977e['fromVersion'],_0x5cc721=null!==_0x5cc721?_0x5cc721:_0x4c977e['toVersion'];const _0x4324e1=this['_revisionDataBuilder']['getData'](_0x2faead,_0x5cc721),_0x1cd288={'diffData':_0x4324e1['diffData'],'authorsIds':_0x4324e1['authorsIds'],'fromVersion':_0x2faead,'toVersion':_0x5cc721};if(!_0x4c977e||_0x5cc721!==_0x4c977e['toVersion']){const _0x4b335d=_0x5cc721-0x1,_0x539ef4=this['_source']['history']['getOperation'](_0x4b335d);_0x1cd288['createdAt']=_0x539ef4&&_0x539ef4['createdAt']||new Date();}if(this['_loadedStateData']&&_0x2faead===this['_loadedStateData']['fromVersion']){for(const _0x3c184d of this['_loadedStateData']['authors'])_0x1cd288['authorsIds']['includes'](_0x3c184d['id'])||_0x1cd288['authorsIds']['push'](_0x3c184d['id']);}return _0x1cd288;}['_loadRevisionData'](_0x718bae){if(!_0x718bae||_0x718bae['diffData'])return Promise['resolve']();{const _0x13043d=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0x13043d,'revisionId':_0x718bae['id']})['then'](_0x328258=>{_0x718bae['diffData']=_0x328258['diffData'];});}}['_bufferUpdate'](_0xc8b737,_0x535ee7,_0x3bd76e){if(this['_bufferedUpdates']['has'](_0xc8b737)){const _0x1704f3=this['_bufferedUpdates']['get'](_0xc8b737);_0x535ee7=_0x3bd76e?{..._0x1704f3,..._0x535ee7}:{..._0x535ee7,..._0x1704f3};}this['_bufferedUpdates']['set'](_0xc8b737,_0x535ee7);}['_getFromVersion'](_0xc6ef19){const _0x2c7e3b=this['repository']['getRevisions']();_0x2c7e3b['reverse'](),_0x2c7e3b['shift']();const _0x504565=_0x2c7e3b['find'](_0x4bd362=>_0x4bd362['toVersion']<=_0xc6ef19)['toVersion'];return _0x504565<this['_startingVersion']?this['_startingVersion']:_0x504565;}['_createInitialRevision'](_0x3b2934){const _0x4e16e5=this['repository']['getRevision'](this['repository']['length']-0x1);if(_0x4e16e5)this['_initialRevisionId']=_0x4e16e5['id'];else{const _0x56bf7f=!this['editor']['model']['document']['roots']['find'](_0x2e8f82=>this['editor']['model']['hasContent'](_0x2e8f82)),_0x1b1fc0=this['editor']['plugins']['get']('Users')['me']['id'],_0x3b43ea=y(this['editor']['locale'],_0x56bf7f?'Empty\x20document':'Initial\x20revision');this['_makeRevision']({'from':_0x3b2934,'to':_0x3b2934,'id':this['_initialRevisionId'],'name':_0x3b43ea,'creatorId':_0x1b1fc0});}}['_createCurrentRevision'](_0x5d7b08){const _0x29b93a=this['_source']['getCurrentRevisionId']();this['currentRevision']=this['repository']['getRevision'](_0x29b93a),this['currentRevision']||(this['currentRevision']=this['_makeRevision']({'from':_0x5d7b08,'to':_0x5d7b08,'id':_0x29b93a,'name':'','creatorId':null}));}['_makeRevision']({name:_0x4fb1e3,from:_0x3ba1c0,to:_0x1f22ee,creatorId:_0x1004b1,id:_0x519ac8}){const _0x471527=this['buildRevisionData']({'from':_0x3ba1c0,'to':_0x1f22ee});_0x471527['name']=_0x4fb1e3,_0x471527['creatorId']=_0x1004b1,_0x471527['id']=_0x519ac8;const _0x1b3c9a=this['addRevisionData'](_0x471527);return this['adapter']&&this['_bufferUpdate'](_0x471527['id'],_0x471527,!0x0),_0x1b3c9a;}['_setConversion'](){this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'});}['_removeRevisionMarkers'](_0x4fd8f2){return(_0x4fd8f2=_0x4fd8f2['filter'](_0x341cae=>!_0x341cae['name']||'revision-start'!==_0x341cae['name']&&'revision-end'!==_0x341cae['name']))['forEach'](_0x598473=>{'string'!=typeof _0x598473&&(_0x598473['children']=this['_removeRevisionMarkers'](_0x598473['children']),_0x598473['attributes']=_0x598473['attributes']['filter'](_0x589a9b=>!_0x589a9b[0x0]['startsWith']('data-revision-')));}),_0x4fd8f2;}}function B(_0x18303a,_0x5d5408){const _0x10bb89=_0x5d5408['editing']['view']['document'];if('string'==typeof _0x18303a)return new _0x50a1ef(_0x10bb89,_0x18303a);{const _0xd997db=_0x18303a['children']['map'](_0x49f02e=>B(_0x49f02e,_0x5d5408));return new(T[_0x18303a['type']]||_0x39072b)(_0x10bb89,_0x18303a['name'],_0x18303a['attributes'],_0xd997db);}}class J{['editor'];['source'];['_savedMetaData'];['_lastFrom'];['_lastTo'];['_markers'];['_diffRoots'];['_diffRootsAttributes'];['_baseRoots'];['_baseRootsAttributes'];['_idsRoots'];['_baseIdsRoots'];['_touched'];['_touchedMarkers'];['_touchedRoots'];['_revisionId'];['_startingRevisionId'];constructor(_0x2bbdaf){this['editor']=_0x2bbdaf,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'](_0x185523){this['source']=_0x185523;const _0x35d1fc=new Map(),_0x4797cf=new Map(),_0x5b27f3=this['editor']['model']['document']['roots']['map'](_0x23a478=>_0x23a478['rootName']);for(const _0x4f3d07 of _0x5b27f3){const _0x1909ed=this['editor']['model']['document']['getRoot'](_0x4f3d07),_0x214f76=q(_0x1909ed);_0x35d1fc['set'](_0x4f3d07,_0x214f76),_0x4797cf['set'](_0x4f3d07,Object['fromEntries'](_0x1909ed['getAttributes']()));}const _0x34911e=Array['from'](this['editor']['model']['markers'])['map'](_0x511cb2=>[_0x511cb2['name'],_0x511cb2['getRange']()]),_0x1c280a=this['source']['version'];this['_saveMetaData'](_0x1c280a,_0x35d1fc,_0x34911e,_0x4797cf),this['_startingRevisionId']=this['_revisionId'];const _0x43cca4=new Map(),_0x17b539=new Map();for(const _0x26e11e of _0x5b27f3){const _0x24ea33=G(_0x26e11e);_0x43cca4['set'](_0x26e11e,_0x24ea33),_0x17b539['set'](_0x26e11e,{});}this['_saveMetaData'](Number['NEGATIVE_INFINITY'],_0x43cca4,[],_0x17b539);}['getData'](_0x2e8770,_0x884c16){if(this['_lastFrom']===_0x2e8770&&this['_lastTo']<=_0x884c16)this['_savedMetaData']['size']>0x1&&this['_removeMetaData'](this['_lastTo']),this['_applyOperations'](this['_lastTo'],_0x884c16,!0x0);else{if(!this['_savedMetaData']['has'](_0x2e8770)){const _0x2916db=this['_getPreviousFrom'](_0x2e8770);this['_calculateMetaData'](_0x2916db,_0x2e8770,!0x1);}this['_calculateMetaData'](_0x2e8770,_0x884c16,!0x0);}return this['_lastFrom']=_0x2e8770,this['_lastTo']=_0x884c16,this['_getState']();}['loadState'](_0x2505a3){this['_reset'](),this['_lastFrom']=_0x2505a3['fromVersion'],this['_lastTo']=_0x2505a3['toVersion'];for(const _0xfd535e in _0x2505a3['diffData']){const _0x34a2ee=_0x2505a3['diffData'][_0xfd535e]['attachChange'],_0x14b3b7=_0x4b53fb(_0x2505a3['diffData'][_0xfd535e]['attributesBefore'])||{},_0x5b196d=this['_makeModelFromViewString'](_0x2505a3['diffData'][_0xfd535e]['deletions']);_0x5b196d['rootName']=_0xfd535e,_0x5b196d['_isAttached']=!_0x34a2ee||!_0x34a2ee['isAttached'],_0x5b196d['isAttached']=()=>_0x5b196d['_isAttached'],this['_baseRoots']['set'](_0xfd535e,_0x5b196d),this['_baseRootsAttributes']['set'](_0xfd535e,_0x14b3b7),_0x34a2ee&&this['_touchedRoots']['set'](_0xfd535e,_0x34a2ee);const _0xdf7ac9=this['_makeIdsRoot'](_0x5b196d);this['_baseIdsRoots']['set'](_0xfd535e,_0xdf7ac9);for(const [_0xa65be1,_0x107ec8]of _0x5b196d['markers']){if(!_0xa65be1['startsWith']('revision:'))continue;const _0x113bac=_0xa65be1['split'](':')[0x2];for(const _0x553a07 of _0x107ec8['getWalker']({'singleCharacters':!0x0})){const _0x25581e=this['_getVidAttributeName'](_0x553a07),_0x25ed7c='elementEnd'==_0x553a07['type']?_0x553a07['previousPosition']['path']['slice'](0x0,-0x1):_0x553a07['previousPosition']['path'],_0x34c27e=_0xdf7ac9['getNodeByPath'](_0x25ed7c)['getAttribute'](_0x25581e);this['_touched']['set'](_0x34c27e,{'userId':_0x113bac});}}}this['_startingRevisionId']=this['_revisionId'];const _0x3c1ae3=[...Array(this['_revisionId'])['keys']()]['slice'](0x1)['filter'](_0x5c042f=>!this['_touched']['has'](_0x5c042f));let _0x4d9792=0x0;const _0x180064=new Map();for(const _0x2f7640 in _0x2505a3['diffData']){const _0x622e01=_0x2505a3['diffData'][_0x2f7640]['attachChange'],_0x44b4f8=_0x4b53fb(_0x2505a3['diffData'][_0x2f7640]['attributesAfter'])||{},_0x5237ae=this['_makeModelFromViewString'](_0x2505a3['diffData'][_0x2f7640]['insertions']);_0x5237ae['rootName']=_0x2f7640,_0x5237ae['_isAttached']=!_0x622e01||_0x622e01['isAttached'],_0x5237ae['isAttached']=()=>_0x5237ae['_isAttached'],this['_diffRoots']['set'](_0x2f7640,_0x5237ae),this['_diffRootsAttributes']['set'](_0x2f7640,_0x44b4f8);const _0x3e5315=this['_makeIdsRoot'](_0x5237ae,Number['NEGATIVE_INFINITY']);this['_idsRoots']['set'](_0x2f7640,_0x3e5315),_0x180064['set'](_0x2f7640,_0x5237ae['isAttached']()?_0x44b4f8:{});for(const [_0x6479d8,_0x317c1b]of _0x5237ae['markers']){if(!_0x6479d8['startsWith']('revision:'))continue;const _0x14c1ef=_0x6479d8['split'](':')[0x2];for(const _0x4222b3 of _0x317c1b['getWalker']({'singleCharacters':!0x0})){const _0x4d6bfd=this['_getVidAttributeName'](_0x4222b3),_0x47a352=this['_revisionId']++,_0x94e769='elementEnd'==_0x4222b3['type']?_0x4222b3['previousPosition']['path']['slice'](0x0,-0x1):_0x4222b3['previousPosition']['path'];_0x3e5315['getNodeByPath'](_0x94e769)['_setAttribute'](_0x4d6bfd,_0x47a352),this['_touched']['set'](_0x47a352,{'userId':_0x14c1ef});}}for(const _0x556df1 of this['editor']['model']['createRangeIn'](_0x5237ae)['getWalker']({'singleCharacters':!0x0})){const _0x48346d=this['_getVidAttributeName'](_0x556df1),_0x1b849c='elementEnd'==_0x556df1['type']?_0x556df1['previousPosition']['path']['slice'](0x0,-0x1):_0x556df1['previousPosition']['path'],_0x1f0bd7=_0x3e5315['getNodeByPath'](_0x1b849c);_0x1f0bd7['getAttribute'](_0x48346d)>0x0||_0x1f0bd7['_setAttribute'](_0x48346d,_0x3c1ae3[_0x4d9792++]);}for(const [_0x28b53a,_0x689652]of _0x5237ae['markers'])_0x28b53a['startsWith']('revision:')||this['_markers']['set'](_0x28b53a,_0x689652);}const _0x8fd1a8=G('$graveyard');this['_baseRoots']['set']('$graveyard',_0x8fd1a8),this['_baseIdsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x8fd1a8,0x1));const _0x353c4c=G('$graveyard');this['_diffRoots']['set']('$graveyard',_0x353c4c),this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x353c4c,0x1));const _0x17bb3d=Array['from'](this['_diffRoots'])['map'](([_0x60f1d7,_0x44fff0])=>[_0x60f1d7,q(_0x44fff0)]);this['_saveMetaData'](this['_lastTo'],_0x17bb3d,this['_markers'],_0x180064);}['_makeModelFromViewString'](_0x3e9bd2){const _0x3c8c7f=JSON['parse'](_0x3e9bd2),_0x432a5a=this['editor']['editing']['view']['document'],_0x2d00b8=new _0x460862(_0x432a5a,_0x3c8c7f['map'](_0x56265f=>B(_0x56265f,this['editor'])));return this['editor']['data']['toModel'](_0x2d00b8);}['_saveMetaData'](_0x368d43,_0xf11ddd,_0x3fab48,_0x13d52c){const _0x579001=new Map(_0xf11ddd),_0x31b989=new Map(_0x4b53fb(_0x13d52c)),_0x58e5eb=new Map();for(const [_0x43476b,_0xa5f36c]of _0x3fab48)_0x58e5eb['set'](_0x43476b,{'start':_0xa5f36c['start']['clone'](),'end':_0xa5f36c['end']['clone'](),'rootName':_0xa5f36c['root']['rootName']});this['_savedMetaData']['set'](_0x368d43,{'roots':_0x579001,'markers':_0x58e5eb,'rootsAttributes':_0x31b989});}['_removeMetaData'](_0x1a7b19){this['_savedMetaData']['delete'](_0x1a7b19);}['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'](_0x1170f6,_0x3902ab=null){let _0x1267db=null;_0x1170f6['is']('documentFragment')||(_0x1267db=new ft(_0x1170f6['name'],{'vid_start':null===_0x3902ab?this['_revisionId']++:_0x3902ab++}));const _0x3bc45a=[];for(const _0x5f2c27 of _0x1170f6['getChildren']())if(_0x5f2c27['is']('element')){_0x3bc45a['push'](this['_makeIdsRoot'](_0x5f2c27,_0x3902ab));const _0x40a808=_0x3bc45a[_0x3bc45a['length']-0x1];null!==_0x3902ab&&(_0x3902ab=_0x40a808['is']('element','$text')?_0x40a808['getAttribute']('vid')+0x1:_0x40a808['getAttribute']('vid_end')+0x1);}else{for(let _0x3e51aa=0x0;_0x3e51aa<_0x5f2c27['offsetSize'];_0x3e51aa++)_0x3bc45a['push'](new ft('$text',{'vid':null===_0x3902ab?this['_revisionId']++:_0x3902ab++}));}if(_0x1170f6['is']('documentFragment')){const _0x429ad2=G(_0x1170f6['rootName']);return _0x429ad2['_insertChild'](0x0,_0x3bc45a),_0x429ad2;}return _0x1267db['_setAttribute']('vid_end',null===_0x3902ab?this['_revisionId']++:_0x3902ab++),_0x1267db['_insertChild'](0x0,_0x3bc45a),_0x1267db;}['_calculateMetaData'](_0x1d8a1c,_0x37a44d,_0x389ad7){this['_reset']();const {roots:_0x378e58,markers:_0x18f06c,rootsAttributes:_0x5d0c1}=this['_savedMetaData']['get'](_0x1d8a1c);this['_baseRoots']=new Map(_0x378e58),this['_baseRootsAttributes']=new Map(_0x4b53fb(_0x5d0c1));for(const [_0x56c43,_0x2180f7]of this['_baseRoots'])if('$graveyard'!==_0x56c43&&(this['_diffRoots']['set'](_0x56c43,q(_0x2180f7)),this['_diffRootsAttributes']=new Map(_0x4b53fb(_0x5d0c1)),_0x389ad7)){const _0xbe87f9=this['_revisionId'];this['_idsRoots']['set'](_0x56c43,this['_makeIdsRoot'](_0x2180f7)),this['_baseIdsRoots']['set'](_0x56c43,this['_makeIdsRoot'](_0x2180f7,_0xbe87f9));}this['_startingRevisionId']=this['_revisionId'],this['_diffRoots']['set']('$graveyard',q(this['_baseRoots']['get']('$graveyard'))),_0x389ad7&&this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](this['_baseRoots']['get']('$graveyard')));for(const [_0x3f7ffe,_0x2cb4cc]of _0x18f06c){const _0x5f5ad9=this['_baseRoots']['get'](_0x2cb4cc['rootName']),_0x361105=this['_diffRoots']['get'](_0x2cb4cc['rootName']),_0x321807=new vt(this['_fixPosition'](_0x2cb4cc['start'],_0x5f5ad9),this['_fixPosition'](_0x2cb4cc['end'],_0x5f5ad9)),_0x2b15a6=this['_fixRange'](_0x321807,_0x361105);_0x5f5ad9['markers']['set'](_0x3f7ffe,_0x321807),this['_markers']['set'](_0x3f7ffe,_0x2b15a6);}this['_applyOperations'](_0x1d8a1c,_0x37a44d,_0x389ad7);}['_applyOperations'](_0x2ee89e,_0x5764cb,_0x326627){for(const _0x5216d2 of this['source']['getOperations'](_0x2ee89e,_0x5764cb))this['_handleOperation'](_0x5216d2,_0x326627);for(const _0xdc8404 of this['_diffRoots']['values']())_0xdc8404['markers']['clear']();for(const [_0x2b8553,_0xedbaf9]of this['_markers']){this['_diffRoots']['get'](_0xedbaf9['root']['rootName'])['markers']['set'](_0x2b8553,_0xedbaf9['clone']());}const _0x5ad6f5=new Map(),_0x465c51=new Map();for(const [_0x2d5393,_0x337ebd]of this['_diffRoots'])_0x5ad6f5['set'](_0x2d5393,q(_0x337ebd)),_0x465c51['set'](_0x2d5393,this['_diffRootsAttributes']['get'](_0x2d5393));this['_saveMetaData'](_0x5764cb,_0x5ad6f5,this['_markers'],_0x465c51);}['_getPreviousFrom'](_0x1b6abd){const _0x27f525=Array['from'](this['_savedMetaData']['keys']());_0x27f525['sort']((_0x546315,_0x185800)=>_0x546315-_0x185800),_0x27f525['reverse']();for(const _0x2ca191 of _0x27f525)if(_0x2ca191<_0x1b6abd)return _0x2ca191;return Number['NEGATIVE_INFINITY'];}['_copyMarkers'](_0x257ecd,_0x188eb8){const _0x4beec8=Array['from'](_0x188eb8['markers'])['map'](([_0xd870c6,_0x37593e])=>[_0xd870c6,this['_fixRange'](_0x37593e,_0x257ecd)]);_0x257ecd['markers']=new Map(_0x4beec8);}['_transformMarkers'](_0x21146d){for(const _0xd45bcb of this['_markers']['values']()){const _0x79af7f=_0xd45bcb['getTransformedByOperation'](_0x21146d),_0x13572d=vt['_createFromRanges'](_0x79af7f);_0xd45bcb['start']=_0x13572d['start'],_0xd45bcb['end']=_0x13572d['end'];}}['_handleOperation'](_0xa2f696,_0x2cedef){if('addRoot'==_0xa2f696['type']||'detachRoot'==_0xa2f696['type'])return void this['_handleRootOperation'](_0xa2f696,_0x2cedef);if('insert'==_0xa2f696['type']){const _0x381ab0=_0xa2f696['position']['root']['rootName'];this['_diffRoots']['has'](_0x381ab0)||(this['_diffRoots']['set'](_0x381ab0,G(_0x381ab0,!0x0)),this['_diffRootsAttributes']['set'](_0x381ab0,{}),_0x2cedef&&this['_idsRoots']['set'](_0x381ab0,G(_0x381ab0,!0x0)));}else{if('addRootAttribute'==_0xa2f696['type']||'removeRootAttribute'==_0xa2f696['type']||'changeRootAttribute'==_0xa2f696['type'])return void this['_handleRootAttributeOperation'](_0xa2f696);}const _0x430f61=this['_cloneOperation'](_0xa2f696,this['_diffRoots']);if('marker'!==_0xa2f696['type']&&(_0x430f61['_execute'](),this['_transformMarkers'](_0x430f61)),_0x2cedef)switch(_0x430f61['type']){case'insert':this['_handleInsertOperation'](_0xa2f696);break;case'move':case'remove':case'reinsert':this['_handleMoveOperation'](_0xa2f696);break;case'merge':this['_handleMergeOperation'](_0xa2f696);break;case'split':this['_handleSplitOperation'](_0xa2f696);break;case'marker':this['_handleMarkerOperation'](_0xa2f696);}}['_cloneOperation'](_0x339d48,_0x2a8364){const _0x56de01=_0x339d48['clone']();return _0x56de01['_authorId']=_0x339d48['_authorId'],this['_fixOperation'](_0x56de01,_0x2a8364),_0x56de01;}['_getBaseVids'](_0x1e4d1e){return _0x1e4d1e['map'](_0x2ab86b=>{const _0x1c62d2=this['_getVidAttributeName'](_0x2ab86b);return Number(_0x2ab86b['item']['getAttribute'](_0x1c62d2));});}['_generateTape'](_0x200c21,_0x54c73c){if(_0x200c21['is']('element','$text'))_0x54c73c['push']({'item':_0x200c21,'type':'text'});else{_0x200c21['is']('element')&&_0x54c73c['push']({'item':_0x200c21,'type':'elementStart'});for(const _0x37bdbb of _0x200c21['getChildren']())this['_generateTape'](_0x37bdbb,_0x54c73c);_0x200c21['is']('element')&&_0x54c73c['push']({'item':_0x200c21,'type':'elementEnd'});}return _0x54c73c;}['_getState'](){const _0x3f864f=new Map(this['_touched']),_0x3e9469=new Map(_0x3f864f),_0x1221c3=new Map(),_0x1c5ec={'insertions':{},'deletions':{}},_0x4393ca={'insertions':{},'deletions':{}},_0x2fe20f=new Map(),_0x6db00f=new Set([...this['_baseRoots']['keys'](),...this['_diffRoots']['keys']()]);_0x6db00f['delete']('$graveyard');for(const _0x19f0f0 of _0x6db00f){const _0x14ca17=this['_diffRoots']['get'](_0x19f0f0)||G(_0x19f0f0,!0x1),_0x23d87d=this['_baseRoots']['get'](_0x19f0f0)||G(_0x19f0f0,!0x1);_0x14ca17['isAttached']()||_0x23d87d['isAttached']()?(_0x1c5ec['insertions'][_0x19f0f0]=q(_0x14ca17),_0x1c5ec['deletions'][_0x19f0f0]=q(_0x23d87d),this['_copyMarkers'](_0x1c5ec['deletions'][_0x19f0f0],_0x23d87d),this['_copyMarkers'](_0x1c5ec['insertions'][_0x19f0f0],_0x14ca17),_0x4393ca['insertions'][_0x19f0f0]=this['_generateTape'](this['_idsRoots']['get'](_0x19f0f0),[]),_0x4393ca['deletions'][_0x19f0f0]=this['_generateTape'](this['_baseIdsRoots']['get'](_0x19f0f0)||G(_0x19f0f0,!0x1),[])):_0x6db00f['delete'](_0x19f0f0);}for(const _0xd67484 of _0x6db00f){const _0x337de9=_0x4393ca['insertions'][_0xd67484];for(const _0xada5a5 of _0x337de9){const _0x2bbb0b=this['_getVidAttributeName'](_0xada5a5),_0x32700a=_0xada5a5['item']['getAttribute'](_0x2bbb0b);_0x3e9469['delete'](_0x32700a),_0x32700a>=this['_startingRevisionId']&&_0x1221c3['set'](_0x32700a,_0x3f864f['get'](_0x32700a));}}for(const _0x3ce4ce of _0x6db00f){const _0x10411c=_0x4393ca['insertions'][_0x3ce4ce],_0x3a3ede=this['_getBaseVids'](_0x4393ca['deletions'][_0x3ce4ce]);let _0x2b0bdd=0x0;for(const _0x1bb015 of _0x10411c){const _0x40ba1d=this['_getVidAttributeName'](_0x1bb015),_0x195e80=_0x1bb015['item']['getAttribute'](_0x40ba1d);if(!_0x1221c3['has'](_0x195e80)&&!_0x2fe20f['has'](_0x195e80)){if(_0x3e9469['has'](_0x195e80))_0x2b0bdd++;else{if(_0x195e80!=_0x3a3ede[_0x2b0bdd]){const _0xbe5a58=_0x3f864f['get'](_0x195e80)||_0x3f864f['get'](_0x3a3ede[_0x2b0bdd]);for(;_0x195e80!=_0x3a3ede[_0x2b0bdd];)_0x3e9469['has'](_0x3a3ede[_0x2b0bdd])||(_0x2fe20f['set'](_0x3a3ede[_0x2b0bdd],_0xbe5a58),_0x3f864f['set'](_0x3a3ede[_0x2b0bdd],_0xbe5a58)),_0x2b0bdd++;}_0x2b0bdd++;}}}}for(const _0x350bef of _0x6db00f){const _0x3b6345=_0x4393ca['insertions'][_0x350bef];for(const _0x5e14bf of _0x3b6345){const _0x53f0c2=this['_getVidAttributeName'](_0x5e14bf),_0x20712b=_0x5e14bf['item']['getAttribute'](_0x53f0c2);if(_0x2fe20f['has'](_0x20712b)){const _0x1563b4=_0x2fe20f['get'](_0x20712b);_0x3e9469['has'](_0x20712b)||_0x3e9469['set'](_0x20712b,{..._0x1563b4}),_0x1221c3['set'](_0x20712b,{..._0x1563b4});}}}for(const _0x51b210 of _0x3e9469['keys']())_0x51b210>=this['_startingRevisionId']&&_0x3e9469['delete'](_0x51b210);const _0x5715d4=new Map();for(const _0x329e64 of _0x6db00f){let _0x39ec5c=_0x4393ca['insertions'][_0x329e64];for(const _0x2dcf73 of _0x39ec5c)if(_0x2dcf73['item']['is']('element','tableCell')){const _0x3c4f4a=this['_getVidAttributeName'](_0x2dcf73),_0xee1feb=_0x2dcf73['item']['getAttribute'](_0x3c4f4a);if(_0x1221c3['has'](_0xee1feb)){const _0x28f713=_0x2dcf73['item']['parent']['parent']['getAttribute']('vid_start'),_0x14d707=_0x5715d4['get'](_0x28f713)||new Set();_0x14d707['add'](_0x1221c3['get'](_0xee1feb)['userId']),_0x5715d4['set'](_0x28f713,_0x14d707);}}_0x39ec5c=_0x4393ca['deletions'][_0x329e64];for(const _0xca1f0a of _0x39ec5c)if(_0xca1f0a['item']['is']('element','tableCell')){const _0x4f63c4=this['_getVidAttributeName'](_0xca1f0a),_0x8d232c=_0xca1f0a['item']['getAttribute'](_0x4f63c4);if(_0x3e9469['has'](_0x8d232c)){const _0x57ba10=_0xca1f0a['item']['parent']['parent']['getAttribute']('vid_start'),_0x4d1960=_0x5715d4['get'](_0x57ba10)||new Set();_0x4d1960['add'](_0x3e9469['get'](_0x8d232c)['userId']),_0x5715d4['set'](_0x57ba10,_0x4d1960);}}for(const _0x3b5007 of _0x5715d4['keys']())(_0x1221c3['has'](_0x3b5007)||_0x3e9469['has'](_0x3b5007))&&_0x5715d4['delete'](_0x3b5007);}for(const _0x3a3f18 of _0x6db00f){const _0x1c4d09=_0x4393ca['insertions'][_0x3a3f18];let _0x3a5dd0=null,_0xc79471=null;for(const _0x1ff98b of _0x1c4d09){const _0x445b17=this['_getVidAttributeName'](_0x1ff98b),_0x5e2679=_0x1ff98b['item']['getAttribute'](_0x445b17),_0x24ff4f=_0x5715d4['get'](_0x5e2679);_0x24ff4f&&'elementStart'==_0x1ff98b['type']&&(_0x3a5dd0=Array['from'](_0x24ff4f)[0x0],_0xc79471=_0x1ff98b['item']['getAttribute']('vid_end')),_0x3a5dd0&&(_0x3e9469['set'](_0x5e2679,{'userId':_0x3a5dd0}),_0x1221c3['set'](_0x5e2679,{'userId':_0x3a5dd0})),_0x5e2679==_0xc79471&&(_0x3a5dd0=null,_0xc79471=null);}}const _0x11a142={},_0x14ca18=new Set();for(const _0x112f34 of _0x6db00f){const _0x5cbe31=_0x1c5ec['deletions'][_0x112f34],_0x3cffdc=_0x1c5ec['insertions'][_0x112f34];for(const {userId:_0xe83911}of this['_touchedMarkers']['values']())null!==_0xe83911&&_0x14ca18['add'](_0xe83911);for(const {userId:_0x1f0a36}of this['_touchedRoots']['values']())null!==_0x1f0a36&&_0x14ca18['add'](_0x1f0a36);this['_markChanges'](_0x3cffdc,_0x4393ca['insertions'][_0x112f34],_0x1221c3,'insertion',_0x14ca18),this['_markChanges'](_0x5cbe31,_0x4393ca['deletions'][_0x112f34],_0x3e9469,'deletion',_0x14ca18),_0x11a142[_0x112f34]={'insertions':this['_prepareViewToSave'](_0x3cffdc),'deletions':this['_prepareViewToSave'](_0x5cbe31),'attachChange':this['_touchedRoots']['get'](_0x112f34)||null,'attributesBefore':_0x4b53fb(this['_baseRootsAttributes']['get'](_0x112f34))||{},'attributesAfter':_0x4b53fb(this['_diffRootsAttributes']['get'](_0x112f34))};}return{'diffData':_0x11a142,'authorsIds':Array['from'](_0x14ca18)};}['_processRootBeforeSave'](_0x28a9fe){for(const [,_0x567eaa]of _0x28a9fe['markers']){const _0x24b1a9=_0x567eaa['start']['getAncestors']()['filter'](_0x5600a8=>'tableCell'==_0x5600a8['name']);for(const _0x5d0987 of _0x24b1a9)0x1==_0x5d0987['childCount']&&_0x5d0987['getChild'](0x0)['is']('element','paragraph')&&_0x5d0987['getChild'](0x0)['_setAttribute']('keepParagraph',!0x0);}}['_prepareViewToSave'](_0x138a89){this['_processRootBeforeSave'](_0x138a89);const _0xb7cd7f=this['editor']['data']['toView'](_0x138a89,{}),_0x4f8f8c=Array['from'](_0xb7cd7f['getChildren']())['map'](_0x4ea637=>this['_getViewJson'](_0x4ea637));return JSON['stringify'](_0x4f8f8c);}['_getViewJson'](_0x3cd068){if(_0x3cd068['is']('$text'))return _0x3cd068['data'];{const _0x2780d5=_0x3cd068;return{'type':Object['keys'](T)['find'](_0x3b114c=>_0x3cd068 instanceof T[_0x3b114c]),'name':_0x2780d5['name'],'attributes':Array['from'](_0x2780d5['getAttributes']()),'children':Array['from'](_0x2780d5['getChildren']())['map'](_0x25a95b=>this['_getViewJson'](_0x25a95b))};}}['_markChanges'](_0x209e1a,_0x331cca,_0x270780,_0x5f2e79,_0x15ff68){let _0x10c864=null,_0xc1c481=null,_0x5468d1=0x0;const _0x254c8a=this['editor']['model'];for(let _0x5a8712=0x0;_0x5a8712<_0x331cca['length'];_0x5a8712++){const _0x5170f5=this['_getVidAttributeName'](_0x331cca[_0x5a8712]),_0x319f29=_0x331cca[_0x5a8712]['item']['getAttribute'](_0x5170f5),_0x28863e=_0x270780['get'](_0x319f29),_0x495e28=_0x5a8712==_0x331cca['length']-0x1;(!_0x10c864&&_0x28863e&&(_0x10c864=_0x28863e,_0xc1c481=_0x331cca[_0x5a8712]),_0x10c864&&(!_0x28863e||_0x28863e['userId']!=_0x10c864['userId']))&&(_0x245474(_0x28863e,L(_0xc1c481,_0x209e1a,_0x254c8a),L(_0x331cca[_0x5a8712],_0x209e1a,_0x254c8a)),_0x10c864=_0x28863e||null,_0xc1c481=_0x28863e?_0x331cca[_0x5a8712]:null),_0x10c864&&_0x495e28&&_0x245474(_0x28863e,L(_0xc1c481,_0x209e1a,_0x254c8a),W(_0x331cca[_0x5a8712],_0x209e1a,_0x254c8a));}function _0x245474(_0x4d841c,_0x2862d5,_0x4e7dd9){const _0x1b0377=_0x10c864['userId'],_0x1752b0='revision:'+_0x5f2e79+':'+_0x1b0377+':'+_0x5468d1++,_0x119adc=_0x254c8a['createRange'](_0x2862d5,_0x4e7dd9);_0x209e1a['markers']['set'](_0x1752b0,_0x119adc),null!==_0x1b0377&&_0x15ff68['add'](_0x1b0377);}}['_getVidAttributeName'](_0x33711b){switch(_0x33711b['type']){case'elementStart':return'vid_start';case'elementEnd':return'vid_end';default:return'vid';}}['_fixOperation'](_0x5264c0,_0x570a7a){_0x5264c0['baseVersion']=null;for(const _0x3b4c92 in _0x5264c0){const _0x2fbf5d=_0x5264c0[_0x3b4c92];if(_0x2fbf5d instanceof gt){const _0x29d8b8=_0x570a7a['get'](_0x2fbf5d['root']['rootName']);_0x5264c0[_0x3b4c92]=this['_fixPosition'](_0x2fbf5d,_0x29d8b8);}if(_0x2fbf5d instanceof vt){const _0x266c4c=_0x570a7a['get'](_0x2fbf5d['root']['rootName']);_0x5264c0[_0x3b4c92]=this['_fixRange'](_0x2fbf5d,_0x266c4c);}'root'===_0x3b4c92&&(_0x5264c0['root']=_0x570a7a['get'](_0x5264c0['root']['rootName']));}}['_fixRange'](_0x1f9022,_0x4de16b){return this['editor']['model']['createRange'](this['_fixPosition'](_0x1f9022['start'],_0x4de16b),this['_fixPosition'](_0x1f9022['end'],_0x4de16b));}['_fixPosition'](_0x42eefe,_0x1c17df){return this['editor']['model']['createPositionFromPath'](_0x1c17df,_0x42eefe['path'],_0x42eefe['stickiness']);}['_handleInsertOperation'](_0x3123f2){const _0x5acdda=this['_idsRoots']['get'](_0x3123f2['position']['root']['rootName']),_0x532261=this['_fixPosition'](_0x3123f2['position'],_0x5acdda),_0x21f04b=null===_0x3123f2['_authorId']?null:_0x3123f2['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x5be168=_0x532261['parent'],_0x5da9f2=this['_revisionId'],_0x341fc2=[];for(const _0x576c0d of _0x3123f2['nodes'])if(_0x576c0d['is']('element'))_0x341fc2['push'](this['_makeIdsRoot'](_0x576c0d));else{for(let _0x22cd23=0x0;_0x22cd23<_0x576c0d['offsetSize'];_0x22cd23++)_0x341fc2['push'](new ft('$text',{'vid':this['_revisionId']++}));}const _0x47bcc7=this['_revisionId'];for(let _0x5899af=_0x5da9f2;_0x5899af<_0x47bcc7;_0x5899af++)this['_touched']['set'](_0x5899af,{'userId':_0x21f04b});_0x5be168['_insertChild'](_0x532261['offset'],_0x341fc2);}['_handleMoveOperation'](_0x366f5a){(_0x366f5a=this['_cloneOperation'](_0x366f5a,this['_idsRoots']))['_execute']();const _0x57c31f=null===_0x366f5a['_authorId']?null:_0x366f5a['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x2d01eb=_0x366f5a['getMovedRangeStart'](),_0xe7b41d=_0x2d01eb['parent'],_0x32d6ee=_0x2d01eb['offset'];!function _0x4f7c8a(_0x41ece8,_0x39aaff,_0x52d58d,_0xb96773){for(let _0x62e167=_0x52d58d;_0x62e167<_0xb96773;_0x62e167++){const _0x2ba585=_0x39aaff['getChild'](_0x62e167);_0x2ba585['is']('element','$text')?_0x41ece8['set'](_0x2ba585['getAttribute']('vid'),{'userId':_0x57c31f}):(_0x41ece8['set'](_0x2ba585['getAttribute']('vid_start'),{'userId':_0x57c31f}),_0x4f7c8a(_0x41ece8,_0x2ba585,0x0,_0x2ba585['childCount']),_0x41ece8['set'](_0x2ba585['getAttribute']('vid_end'),{'userId':_0x57c31f}));}}(this['_touched'],_0xe7b41d,_0x32d6ee,_0x32d6ee+_0x366f5a['howMany']);}['_handleMergeOperation'](_0x409442){const _0x4fe86d=null===(_0x409442=this['_cloneOperation'](_0x409442,this['_idsRoots']))['_authorId']?null:_0x409442['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x2bfba2=_0x409442['targetPosition']['parent'],_0xbc0d90=_0x409442['sourcePosition']['parent'],_0x1f7bf0=_0x2bfba2['getAttribute']('vid_end'),_0xd6a0c6=_0xbc0d90['getAttribute']('vid_start');_0x2bfba2['_setAttribute']('vid_end',_0xbc0d90['getAttribute']('vid_end')),_0xbc0d90['_setAttribute']('vid_end',_0x1f7bf0),this['_touched']['set'](_0xd6a0c6,{'userId':_0x4fe86d}),this['_touched']['set'](_0x1f7bf0,{'userId':_0x4fe86d}),_0x409442['_execute']();}['_handleSplitOperation'](_0xbb9651){const _0x3e9516=null===(_0xbb9651=this['_cloneOperation'](_0xbb9651,this['_idsRoots']))['_authorId']?null:_0xbb9651['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x32606d=_0xbb9651['graveyardPosition'],_0x208090=_0xbb9651['splitPosition']['parent'];_0xbb9651['_execute']();const _0x18646a=_0x208090['getAttribute']('vid_end'),_0x5ca33c=_0xbb9651['insertionPosition']['nodeAfter'];if(_0x32606d){const _0xab548b=_0x5ca33c['getAttribute']('vid_end'),_0x5db5e8=_0x208090['getAttribute']('vid_end');_0x208090['_setAttribute']('vid_end',_0xab548b),_0x5ca33c['_setAttribute']('vid_end',_0x5db5e8),this['_touched']['set'](_0x208090['getAttribute']('vid_end'),{'userId':_0x3e9516}),this['_touched']['set'](_0x5ca33c['getAttribute']('vid_start'),{'userId':_0x3e9516});}else{const _0x4962c6=this['_revisionId']++,_0x295c65=this['_revisionId']++;_0x208090['_setAttribute']('vid_end',_0x4962c6),_0x5ca33c['_setAttribute']('vid_start',_0x295c65),_0x5ca33c['_setAttribute']('vid_end',_0x18646a),this['_touched']['set'](_0x4962c6,{'userId':_0x3e9516}),this['_touched']['set'](_0x295c65,{'userId':_0x3e9516});}}['_handleMarkerOperation'](_0x369147){if(!_0x369147['affectsData'])return;const _0x667f0f=(_0x369147=this['_cloneOperation'](_0x369147,this['_diffRoots']))['oldRange']?_0x369147['oldRange']['root']:null,_0x3912c0=_0x369147['newRange']?_0x369147['newRange']['root']:null;_0x667f0f&&this['_markers']['delete'](_0x369147['name']),_0x3912c0&&this['_markers']['set'](_0x369147['name'],_0x369147['newRange']['clone']());const _0x18a2cf=null===_0x369147['_authorId']?null:_0x369147['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x3794a1=_0x369147['name'];if(!this['_touchedMarkers']['has'](_0x3794a1))return void this['_touchedMarkers']['set'](_0x3794a1,{'range':_0x369147['oldRange'],'userId':_0x18a2cf});const _0x35169c=this['_touchedMarkers']['get'](_0x3794a1),_0x55ac10=_0x35169c['range'],_0x480e58=_0x369147['newRange'];null==_0x55ac10&&null==_0x480e58||_0x55ac10&&_0x480e58&&_0x55ac10['isEqual'](_0x480e58)?this['_touchedMarkers']['delete'](_0x369147['name']):_0x35169c['userId']=_0x18a2cf;}['_handleRootOperation'](_0x710b4f,_0x178420){this['_diffRoots']['has'](_0x710b4f['rootName'])?this['_diffRoots']['get'](_0x710b4f['rootName'])['_isAttached']=_0x710b4f['isAdd']:(this['_diffRoots']['set'](_0x710b4f['rootName'],G(_0x710b4f['rootName'],!0x0)),this['_diffRootsAttributes']['set'](_0x710b4f['rootName'],{}),_0x178420&&this['_idsRoots']['set'](_0x710b4f['rootName'],G(_0x710b4f['rootName'],!0x0)));const _0x3681d5=null===_0x710b4f['_authorId']?null:_0x710b4f['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x137554=this['_touchedRoots']['get'](_0x710b4f['rootName']);_0x137554&&_0x137554['userId']===_0x3681d5?this['_touchedRoots']['delete'](_0x710b4f['rootName']):this['_touchedRoots']['set'](_0x710b4f['rootName'],{'userId':_0x3681d5,'isAttached':_0x710b4f['isAdd']});}['_handleRootAttributeOperation'](_0x46f96c){const _0x70c573=this['_diffRootsAttributes']['get'](_0x46f96c['root']['rootName']);null===_0x46f96c['newValue']?delete _0x70c573[_0x46f96c['key']]:_0x70c573[_0x46f96c['key']]=_0x46f96c['newValue'];}}function q(_0x20623f){const _0x371815=G(_0x20623f['rootName'],_0x20623f['isAttached']());for(const _0x2cf534 of _0x20623f['getChildren']()){const _0x59f526=_0x2cf534['_clone'](!0x0);_0x371815['_appendChild'](_0x59f526);}return _0x371815;}function G(_0x2d974f,_0x4cd8f3=!0x0){const _0xa9ae4e=new wt();return _0xa9ae4e['rootName']=_0x2d974f,_0xa9ae4e['_isAttached']=_0x4cd8f3,_0xa9ae4e['isAttached']=()=>_0xa9ae4e['_isAttached'],_0xa9ae4e;}function L(_0x1e472c,_0x8b4661,_0xba9511){const _0x402e24='elementEnd'==_0x1e472c['type']?_0xba9511['createPositionAt'](_0x1e472c['item'],'end'):_0xba9511['createPositionBefore'](_0x1e472c['item']);return _0xba9511['createPositionFromPath'](_0x8b4661,_0x402e24['path'],_0x402e24['stickiness']);}function W(_0x25a606,_0x34a5e9,_0x1d4f89){const _0xaa7e94='elementStart'==_0x25a606['type']?_0x1d4f89['createPositionAt'](_0x25a606['item'],0x0):_0x1d4f89['createPositionAfter'](_0x25a606['item']);return _0x1d4f89['createPositionFromPath'](_0x34a5e9,_0xaa7e94['path'],_0xaa7e94['stickiness']);}class ns extends _0x2d463e{['focusTracker'];['keystrokes'];['revisionNameInputView'];constructor(_0x1f6d78,_0x528f67){super(_0x1f6d78),this['focusTracker']=new _0x517376(),this['keystrokes']=new _0x9ef9a3(),this['set']('revisionNameInputValue',''),this['revisionNameInputView']=this['_createRevisionNameInput'](_0x528f67),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'](),_0x11c685({'view':this}),this['focusTracker']['add'](this['revisionNameInputView']['element']),this['keystrokes']['listenTo'](this['element']);const _0x2dd5a7=_0xe59d8e=>_0xe59d8e['stopPropagation']();this['keystrokes']['set']('arrowright',_0x2dd5a7),this['keystrokes']['set']('arrowleft',_0x2dd5a7),this['keystrokes']['set']('arrowup',_0x2dd5a7),this['keystrokes']['set']('arrowdown',_0x2dd5a7);}['focus'](){this['revisionNameInputView']['focus']();}get['revisionName'](){return this['revisionNameInputView']['fieldView']['element']['value']['trim']();}set['revisionName'](_0x227e55){this['revisionNameInputView']['fieldView']['element']['value']=_0x227e55['trim']();}['reset'](){this['revisionNameInputView']['fieldView']['element']['value']='',this['revisionNameInputView']['errorText']=null;}['_createRevisionNameInput'](_0xbb3f82){const _0x34fd4e=new at(this['locale'],_0x112e22),_0x5727f3=_0x34fd4e['fieldView'];_0x5727f3['extendTemplate']({'attributes':{'maxlength':'220'}});let _0x100449=y(this['locale'],'Name\x20of\x20the\x20revision');return!_0xbb3f82&&(_0x100449+='\x20('+y(this['locale'],'optional')+')'),(_0x34fd4e['label']=_0x100449,_0x5727f3['on']('input',()=>{this['revisionNameInputValue']=_0x5727f3['element']['value']['trim']();}),_0x34fd4e);}}class u extends _0x2b7243{static get['pluginName'](){return'RevisionHistoryUI';}static get['requires'](){return[l];}['_saveRevisionFormView'];['init'](){const _0x5206f1=this['editor'],_0x236020=_0x5206f1['plugins']['get']('RevisionTracker');_0x5206f1['ui']['componentFactory']['add']('revisionHistory',_0x620a80=>{const _0x29a1af=_0x47478e(_0x620a80),_0x37c526=_0x29a1af['panelView']['children'],_0x2fe89c=new te(_0x620a80),_0x3cedc9=new _0x2303bf(_0x620a80),_0x264b9f=new _0x209397(_0x620a80),_0x394a25=new _0x2303bf(_0x620a80),_0x97d66b=new _0x209397(_0x620a80);return _0x29a1af['bind']('isEnabled')['to'](_0x236020,'isReady',_0x236020,'isEnabled',_0x5206f1,'isReadOnly',(_0x3b1652,_0x11c64b,_0xfd542f)=>_0x3b1652&&_0x11c64b&&!_0xfd542f),_0x29a1af['buttonView']['set']({'icon':_0x299fa9['history'],'label':y(_0x620a80,'Revision\x20history'),'tooltip':!0x0}),_0x264b9f['set']({'label':y(_0x620a80,'Save\x20current\x20revision'),'withText':!0x0,'role':'menuitem'}),_0x264b9f['bind']('isEnabled')['to'](_0x236020,'isReady',_0x236020,'isEnabled',_0x5206f1,'isReadOnly',(_0x3764f1,_0x322d6e,_0x548b2c)=>_0x3764f1&&_0x322d6e&&!_0x548b2c),_0x264b9f['on']('execute',()=>this['_showDialog']()),_0x97d66b['set']({'label':y(_0x620a80,'Open\x20revision\x20history'),'withText':!0x0,'role':'menuitem'}),_0x97d66b['bind']('isEnabled')['to'](_0x236020,'isReady',_0x5206f1,'isReadOnly',(_0x166e18,_0x2ef985)=>_0x166e18&&!_0x2ef985),_0x97d66b['on']('execute',()=>{_0x5206f1['config']['get']('revisionHistory')['showRevisionViewerCallback'](),_0x29a1af['isOpen']=!0x1,_0x5206f1['editing']['view']['focus']();}),_0x3cedc9['children']['add'](_0x264b9f),_0x394a25['children']['add'](_0x97d66b),_0x2fe89c['role']='menu',_0x2fe89c['items']['addMany']([_0x3cedc9,_0x394a25]),_0x37c526['add'](_0x2fe89c),_0x29a1af;}),_0x5206f1['ui']['componentFactory']['add']('menuBar:revisionHistory',()=>this['_registerMenuComponent']());}['_registerMenuComponent'](){const _0x461bc8=this['editor'],_0x181216=_0x461bc8['locale'],_0x562288=new _0x3dc06f(_0x181216),_0x291e6d=new _0x4b46b3(_0x181216);_0x562288['buttonView']['set']({'icon':_0x299fa9['history'],'label':y(_0x181216,'Revision\x20history')});const _0x29814a=new _0x314586(_0x181216,_0x562288),_0x2a167c=new _0x276535(_0x181216);_0x2a167c['set']({'label':y(_0x181216,'Save\x20current\x20revision')}),_0x2a167c['delegate']('execute')['to'](_0x562288),_0x2a167c['on']('execute',()=>{this['_showDialog']();}),_0x29814a['children']['add'](_0x2a167c),_0x291e6d['items']['add'](_0x29814a);const _0xb9ca80=new _0x314586(_0x181216,_0x562288),_0x1ecba4=new _0x276535(_0x181216);return _0x1ecba4['set']({'label':y(_0x181216,'Open\x20revision\x20history')}),_0x1ecba4['delegate']('execute')['to'](_0x562288),_0x1ecba4['on']('execute',()=>{_0x461bc8['config']['get']('revisionHistory')['showRevisionViewerCallback']();}),_0xb9ca80['children']['add'](_0x1ecba4),_0x291e6d['items']['add'](_0xb9ca80),_0x562288['panelView']['children']['add'](_0x291e6d),_0x562288;}['_showDialog'](){const _0x2f5efa=this['editor'],_0x34ff8c=_0x2f5efa['locale'],t=_0x34ff8c['t'],_0x15e6f8=_0x2f5efa['plugins']['get']('Dialog'),_0x3f260c=_0x2f5efa['plugins']['get']('RevisionTracker');function _0xd5c378(_0x407d0c){_0x2f5efa['config']['get']('revisionHistory.requireRevisionName')&&''===_0x407d0c['revisionName']?_0x407d0c['revisionNameInputView']['errorText']=y(_0x34ff8c,'The\x20revision\x20name\x20cannot\x20be\x20empty.'):(_0x2f5efa['plugins']['get'](l)['saveRevision']({'name':_0x407d0c['revisionName']}),_0x15e6f8['hide']());}this['_saveRevisionFormView']||(this['_createSaveRevisionFormView'](),this['_saveRevisionFormView']['on']('submit',()=>_0xd5c378(this['_saveRevisionFormView']))),this['_saveRevisionFormView']['reset'](),_0x15e6f8['show']({'id':'revisionSave','title':y(_0x34ff8c,'Save\x20current\x20revision'),'isModal':!0x0,'content':this['_saveRevisionFormView'],'actionButtons':[{'label':t('Cancel'),'withText':!0x0,'onExecute':()=>_0x15e6f8['hide']()},{'label':t('Accept'),'class':'ck-button-action','withText':!0x0,'onCreate'(_0x21b8e7){_0x21b8e7['bind']('isEnabled')['to'](_0x3f260c,'isReady',_0x3f260c,'isEnabled',_0x2f5efa,'isReadOnly',(_0x5d4a87,_0x450692,_0x3f2520)=>_0x5d4a87&&_0x450692&&!_0x3f2520);},'onExecute':()=>_0xd5c378(this['_saveRevisionFormView'])}]});}['_createSaveRevisionFormView'](){const _0x3f1cee=this['editor'],_0x154a9b=_0x3f1cee['locale'];this['_saveRevisionFormView']=new ns(_0x154a9b,_0x3f1cee['config']['get']('revisionHistory.requireRevisionName')),this['_saveRevisionFormView']['render']();}}class Z extends _0x2d463e{['changeId'];['_model'];constructor(_0x3f6b04,_0x333550){super(_0x3f6b04),this['_model']=_0x333550,this['changeId']=_0x333550['id'];const _0xa6c872=this['bindTemplate'],_0x4dfe24=y(_0x3f6b04,_0x333550['data']['isSuggestion']?'Suggested\x20by':'add'==_0x333550['type']?'Added\x20by':'Removed\x20by');this['set']('type',_0x333550['type']),this['setTemplate']({'tag':'div','attributes':{'class':['ck-annotation','ck-revision-change',_0xa6c872['to']('type',_0x5b5bdd=>'ck-revision-change__'+_0x5b5bdd)],'tabindex':-0x1},'children':[{'tag':'span','children':[{'tag':'span','attributes':{'class':['ck-revision-change__label']},'children':[{'text':_0x4dfe24}]},{'text':'\x20'+_0x333550['author']['name']}]}]});}['focus'](){this['element']['focus']();}}class r extends/* #__PURE__ -- @preserve */
25
+ _0x46b21f(){['id'];['author'];['type'];['data'];['rootName'];constructor(_0x5e3a3f){super(),this['id']=_0x5e3a3f['id']||_0x39bddc(),this['author']=_0x5e3a3f['author'],this['type']=_0x5e3a3f['type'],this['data']=_0x5e3a3f['data']||{},this['rootName']=_0x5e3a3f['rootName'],this['set']('createdAt',_0x5e3a3f['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(_0x278bb8,_0x3a558c){this['newRevisionId']=_0x278bb8,this['oldRevisionId']=_0x3a558c,this['changes']=new _0x1efd7e();}['_setChanges'](_0x4b3ef0){for(const _0x50f127 of _0x4b3ef0)this['changes']['add'](_0x50f127);}}const tt={'c':_0x55311b,'a':_0x4111e5,'e':_0x5d72ca,'r':_0x39b518,'u':_0x203e4f};class d extends _0x2b7243{['repository'];['adapter'];['_activeViewTarget'];['_changeView'];['_changeIdToChange'];['_balloon'];static get['pluginName'](){return'RevisionViewer';}static get['requires'](){return[_0x137b16,_0x301284,A];}constructor(_0x42a881){super(_0x42a881),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',(_0x469ea3,_0x1415a8,_0x420499)=>{this['activeChange']=null,this['activeView']=null,this['editor']['editing']['view']['change'](_0x3e6073=>{for(const _0x1d7771 of this['editor']['editing']['view']['document']['roots'])_0x420499?_0x3e6073['removeClass']('ck-editor__editable__overlay',_0x1d7771):_0x3e6073['addClass']('ck-editor__editable__overlay',_0x1d7771);});}),this['bind']('isNavigationMode')['to'](this,'activeChange',_0x4b8566=>null!==_0x4b8566),this['bind']('currentChangeNumber')['to'](this,'isReady',this,'diff',this,'activeChange',(_0xd3c9ba,_0x513cfa,_0x84e0f4)=>_0xd3c9ba&&_0x84e0f4?_0x513cfa['changes']['getIndex'](_0x84e0f4):0x0),this['bind']('numberOfChanges')['to'](this,'isReady',this,'diff',(_0x1981e8,_0x703e3a)=>_0x1981e8?_0x703e3a['changes']['length']:0x0),this['_changeView']=null,this['_changeIdToChange']=new Map(),this['adapter']=null,this['_balloon']=this['editor']['plugins']['get'](_0x301284);}['init'](){const _0x56c237=this['editor'],_0x1911ca=new yt(_0x56c237,{'direction':'backward'}),_0x5ac603=new yt(_0x56c237,{'direction':'forward'});(_0x56c237['commands']['add']('showPreviousChange',_0x1911ca),_0x56c237['commands']['add']('showNextChange',_0x5ac603),_0x56c237['commands']['add']('restoreRevision',new bt(_0x56c237)),this['on']('change:numberOfChanges',()=>{_0x1911ca['refresh'](),_0x5ac603['refresh']();}),this['_setConversion'](),this['_initInteractions'](),_0x56c237['enableReadOnlyMode']('revision-viewer'),_0x56c237['plugins']['has']('WidgetToolbarRepository'))&&_0x56c237['plugins']['get']('WidgetToolbarRepository')['forceDisabled']('revision-viewer');}async['getRevisionData'](_0x2e88c3){await this['loadRevisionData'](_0x2e88c3);const _0x3c6700={};for(const _0x4c8b4b in _0x2e88c3['diffData']){if(_0x2e88c3['diffData'][_0x4c8b4b]['attachChange']&&!_0x2e88c3['diffData'][_0x4c8b4b]['attachChange']['isAttached'])continue;const _0x1a850c=this['_removeRevisionMarkers'](JSON['parse'](_0x2e88c3['diffData'][_0x4c8b4b]['insertions'])),_0x2a965c=this['editor']['editing']['view']['document'],_0x504350=new _0x460862(_0x2a965c,_0x1a850c['map'](_0x3a9282=>this['_getViewObj'](_0x3a9282)));this['editor']['data']['processor']['useFillerType']('marked'),_0x3c6700[_0x4c8b4b]=this['editor']['data']['processor']['toData'](_0x504350),this['editor']['data']['processor']['useFillerType']('default');}return _0x3c6700;}async['getRevisionRootsAttributes'](_0x23e6c4){await this['loadRevisionData'](_0x23e6c4);const _0x2a7115={};for(const _0x28a385 in _0x23e6c4['diffData'])_0x23e6c4['diffData'][_0x28a385]['attachChange']&&!_0x23e6c4['diffData'][_0x28a385]['attachChange']['isAttached']||(_0x2a7115[_0x28a385]=_0x23e6c4['diffData'][_0x28a385]['attributesAfter']||{});return _0x2a7115;}['_removeRevisionMarkers'](_0x1057d2){return(_0x1057d2=_0x1057d2['filter'](_0x5bf934=>!_0x5bf934['name']||'revision-start'!==_0x5bf934['name']&&'revision-end'!==_0x5bf934['name']))['forEach'](_0x59bb09=>{'string'!=typeof _0x59bb09&&(_0x59bb09['children']=this['_removeRevisionMarkers'](_0x59bb09['children']),_0x59bb09['attributes']=_0x59bb09['attributes']['filter'](_0x589a42=>!_0x589a42[0x0]['startsWith']('data-revision-')));}),_0x1057d2;}async['compare'](_0xd58822,_0x25f6af,_0xa48c4c=!0x1){if(!this['isEnabled'])return;const _0x3a2816=this['diff'],_0x133cba=this['repository'],_0x12b525='string'==typeof _0xd58822?_0x133cba['getRevision'](_0xd58822):_0xd58822,_0x4bb9db='string'==typeof _0x25f6af?_0x133cba['getRevision'](_0x25f6af):_0x25f6af,_0x439625=_0x12b525['id'],_0x3651c3=_0x4bb9db?_0x4bb9db['id']:null;if(!_0xa48c4c&&this['diff']&&this['diff']['newRevisionId']===_0x439625&&this['diff']['oldRevisionId']===_0x3651c3)return Promise['resolve']();this['isReady']=!0x1,this['activeView']=null,this['activeChange']=null,this['diff']=new f(_0x439625,_0x3651c3);const _0x1443f4=this['_getRevisionsRange'](_0x12b525,_0x4bb9db,!0x0)['map'](_0x271e79=>this['loadRevisionData'](_0x271e79));return _0x1443f4['push'](new Promise(_0x238176=>{setTimeout(_0x238176,0x14);})),Promise['all'](_0x1443f4)['then'](()=>{if(!this['isEnabled'])return;this['_cleanUp']();const _0x11c1dd=this['_getDiff'](_0x439625,_0x3651c3);for(const _0x3f0abb of _0x11c1dd['changes'])this['_changeIdToChange']['set'](_0x3f0abb['id'],_0x3f0abb);this['editor']['model']['enqueueChange']({'isUndoable':!0x1},_0xa99233=>{for(const _0x160509 of this['editor']['model']['document']['getRootNames']())_0xa99233['detachRoot'](_0x160509);for(const _0x1ae4c3 of Object['keys'](_0x11c1dd['model'])){const _0x2a1ef4=_0xa99233['addRoot'](_0x1ae4c3);for(const _0x29aacb of Object['keys'](_0x11c1dd['attributes'][_0x1ae4c3]))_0xa99233['setAttribute'](_0x29aacb,_0x11c1dd['attributes'][_0x1ae4c3][_0x29aacb],_0x2a1ef4);_0xa99233['insert'](_0x11c1dd['model'][_0x1ae4c3],_0x2a1ef4,0x0);}}),this['diff']['_setChanges'](this['_sortAndFilterDiffChanges'](_0x11c1dd['changes'])),this['isReady']=!0x0;})['catch'](_0x1b7679=>{console['error'](_0x1b7679),this['_cleanUp'](),_0x3a2816&&(this['diff']=_0x3a2816),this['isReady']=!0x0;});}['addRevisionData'](_0x3ba729,_0x4603e8){const _0x950753=this['repository']['createRevision'](_0x3ba729);return _0x950753['on']('_update',(_0x265354,_0x59ab24,_0x5ec7f)=>_0x4603e8(_0x59ab24,_0x5ec7f,_0x950753)),this['repository']['addRevision'](_0x950753),_0x950753;}['loadRevisionData'](_0x126268){if(!_0x126268||_0x126268['diffData'])return Promise['resolve']();{const _0x31820f=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0x31820f,'revisionId':_0x126268['id']})['then'](_0x342d89=>{_0x126268['_update']({'diffData':_0x342d89['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},_0x1a155f=>{for(const _0xb78974 of this['editor']['model']['document']['getRootNames']())_0x1a155f['detachRoot'](_0xb78974);});}['_sortAndFilterDiffChanges'](_0x4b6052){const _0x9971f6=[],_0x640ef3=new Map();for(const _0x310f9c of this['editor']['model']['document']['getRootNames']()){const _0x14cd10=this['editor']['editing']['view']['getDomRoot'](_0x310f9c);if(!_0x14cd10)continue;const _0x14303f=_0x14cd10['getClientRects']()['item'](0x0);_0x14303f&&(_0x9971f6['push'](_0x310f9c),_0x640ef3['set'](_0x310f9c,_0x14303f));}return _0x9971f6['sort']((_0x8c16f,_0x3639ae)=>{const _0x381ff8=_0x640ef3['get'](_0x8c16f),_0x339717=_0x640ef3['get'](_0x3639ae);return _0x381ff8['y']-_0x339717['y']||_0x381ff8['x']-_0x339717['x'];}),(_0x4b6052=_0x4b6052['filter'](_0xa7c635=>_0x9971f6['includes'](_0xa7c635['rootName'])))['sort']((_0x117105,_0x2f6cf0)=>_0x9971f6['indexOf'](_0x117105['rootName'])-_0x9971f6['indexOf'](_0x2f6cf0['rootName'])),_0x4b6052;}['_makeTape'](_0x5809c7){const _0x1f5547=Array['from'](_0x5809c7['markers'])['filter'](([_0x5ca532,_0x439fd1])=>_0x5ca532['startsWith']('revision:')&&!_0x439fd1['isCollapsed']),_0x381ca3=Array['from'](this['editor']['model']['createRangeIn'](_0x5809c7)['getWalker']({'singleCharacters':!0x0}));if(0x0!=_0x1f5547['length'])for(const _0x17412c of _0x381ca3){const [_0x4b6757,_0x24f913]=_0x1f5547[0x0],[,_0x3300a3,_0x3a26e2]=_0x4b6757['split'](':');if(_0x24f913['end']['isEqual'](_0x17412c['nextPosition'])&&_0x1f5547['shift'](),(_0x17412c['previousPosition']['isEqual'](_0x24f913['start'])||_0x17412c['previousPosition']['isAfter'](_0x24f913['start']))&&('insertion'==_0x3300a3?_0x17412c['isAdded']={'userId':_0x3a26e2}:'deletion'==_0x3300a3&&(_0x17412c['isRemoved']={'userId':_0x3a26e2})),0x0==_0x1f5547['length'])break;}return _0x381ca3;}['_refreshStartEndIndex'](_0x215d74){const _0x57a816=new Map();for(let _0x239207=0x0;_0x239207<_0x215d74['length'];_0x239207++)'text'===_0x215d74[_0x239207]['type']?(_0x215d74[_0x239207]['item']['startIndex']=_0x239207,_0x215d74[_0x239207]['item']['endIndex']=_0x239207):('elementStart'===_0x215d74[_0x239207]['type']?_0x215d74[_0x239207]['item']['startIndex']=_0x239207:'elementEnd'===_0x215d74[_0x239207]['type']&&(_0x215d74[_0x239207]['item']['endIndex']=_0x239207),_0x57a816['set'](_0x215d74[_0x239207]['id'],_0x239207));for(const _0x4442b8 of _0x57a816['values']())'elementStart'===_0x215d74[_0x4442b8]['type']?_0x215d74[_0x4442b8]['item']['endIndex']=_0x57a816['get'](_0x215d74[_0x4442b8]['pairId']):'elementEnd'===_0x215d74[_0x4442b8]['type']&&(_0x215d74[_0x4442b8]['item']['startIndex']=_0x57a816['get'](_0x215d74[_0x4442b8]['pairId']));}['_processTape'](_0x3ed24e){for(let _0x40990f=0x0;_0x40990f<_0x3ed24e['length'];_0x40990f++){if('elementStart'===_0x3ed24e[_0x40990f]['type'])_0x3ed24e[_0x40990f]['item']['startIndex']=_0x40990f;else{if('elementEnd'===_0x3ed24e[_0x40990f]['type']){_0x3ed24e[_0x40990f]['item']['endIndex']=_0x40990f;const _0x2c58cb=_0x3ed24e[_0x40990f]['item']['startIndex'];_0x3ed24e[_0x2c58cb]['pairId']=_0x3ed24e[_0x40990f]['id'],_0x3ed24e[_0x40990f]['pairId']=_0x3ed24e[_0x2c58cb]['id'];}else _0x3ed24e[_0x40990f]['item']['startIndex']=_0x40990f,_0x3ed24e[_0x40990f]['item']['endIndex']=_0x40990f,_0x3ed24e[_0x40990f]['pairId']=null;}_0x3ed24e[_0x40990f]['markersStart']||(_0x3ed24e[_0x40990f]['markersStart']=[],_0x3ed24e[_0x40990f]['markersEnd']=[]);}}['_markInsertions'](_0x363030,_0x479696){const _0x552ed1=_0x363030['filter'](_0x614dea=>!_0x614dea['isAdded']);for(let _0x14f749=0x0;_0x14f749<_0x479696['length'];_0x14f749++)_0x479696[_0x14f749]['isAdded']&&(_0x552ed1[_0x14f749]['isAdded']=_0x479696[_0x14f749]['isAdded']);}['_makeModelFromViewString'](_0x13ae8e){const _0x2030d7=JSON['parse'](_0x13ae8e),_0x3e4f3a=this['editor']['editing']['view']['document'],_0x19cf6b=new _0x460862(_0x3e4f3a,_0x2030d7['map'](_0x5dda48=>this['_getViewObj'](_0x5dda48)));return this['editor']['data']['toModel'](_0x19cf6b);}['_getViewObj'](_0x2ec89f){const _0xbfcceb=this['editor']['editing']['view']['document'];if('string'==typeof _0x2ec89f)return new _0x50a1ef(_0xbfcceb,_0x2ec89f);{const _0x739bb1=_0x2ec89f['children']['map'](_0x18b508=>this['_getViewObj'](_0x18b508));return new(tt[_0x2ec89f['type']]||_0x39072b)(_0xbfcceb,_0x2ec89f['name'],_0x2ec89f['attributes'],_0x739bb1);}}['_getDiff'](_0x4e9037,_0x15b9da=null){const _0x4fa652=this['repository']['getRevision'](_0x4e9037),_0x56ae5f=_0x15b9da?this['repository']['getRevision'](_0x15b9da):null,_0x265b9b=this['_getRevisionsRange'](_0x4fa652,_0x56ae5f),_0x1cf0c6=_0x265b9b[_0x265b9b['length']-0x1],_0x40455c=new Map(),_0x3fed0e={'model':{},'attributes':{},'changes':[]},_0x13f148=new Set(),_0x5d83c0=new Map();for(let _0x10dbaf=_0x265b9b['length']-0x1;_0x10dbaf>=0x0;_0x10dbaf--){const _0x1967f9=_0x265b9b[_0x10dbaf];for(const _0xa40156 of Object['keys'](_0x1967f9['diffData']))if(_0x1967f9['diffData'][_0xa40156]['attachChange']){const _0x53a454=_0x1967f9['diffData'][_0xa40156]['attachChange'];_0x53a454['isAttached']?(_0x13f148['add'](_0xa40156),_0x5d83c0['has'](_0xa40156)&&_0x5d83c0['get'](_0xa40156)['userId']==_0x53a454['userId']?_0x5d83c0['delete'](_0xa40156):_0x5d83c0['set'](_0xa40156,_0x53a454)):_0x5d83c0['has'](_0xa40156)?(_0x13f148['delete'](_0xa40156),_0x5d83c0['delete'](_0xa40156)):(_0x13f148['add'](_0xa40156),_0x5d83c0['set'](_0xa40156,_0x53a454));}else _0x13f148['add'](_0xa40156);}for(const _0x505830 of _0x13f148){const _0x39a977=_0x5d83c0['has'](_0x505830)&&!_0x5d83c0['get'](_0x505830)['isAttached'];let _0x3bf478=_0x39a977?_0x265b9b['length']-0x1:0x0;const _0x4f3333=_0x39a977?-0x1:0x1;for(;_0x265b9b[_0x3bf478];){const _0x230ed7=_0x265b9b[_0x3bf478];if(_0x230ed7['diffData'][_0x505830]){const _0x4847f5=_0x39a977?_0x230ed7['diffData'][_0x505830]['attributesBefore']:_0x230ed7['diffData'][_0x505830]['attributesAfter'];_0x3fed0e['attributes'][_0x505830]=_0x4847f5?_0x4b53fb(_0x4847f5):{};break;}_0x3bf478+=_0x4f3333;}}for(const _0x11a110 of _0x265b9b){_0x11a110['model']={};for(const _0x518e47 of _0x11a110['authors'])_0x40455c['set'](_0x518e47['id'],_0x518e47);for(const _0x4933d4 of _0x13f148){const _0x44eb10=_0x11a110['diffData'][_0x4933d4]?_0x11a110['diffData'][_0x4933d4]['insertions']:'[]',_0x409f92=_0x11a110['diffData'][_0x4933d4]?_0x11a110['diffData'][_0x4933d4]['deletions']:'[]';_0x11a110['model'][_0x4933d4]={'insertions':this['_makeModelFromViewString'](_0x44eb10),'deletions':this['_makeModelFromViewString'](_0x409f92)};}}for(const _0x86ca42 of _0x13f148){let _0x3c6ef1=null,_0x4cac7f=0x0;const _0x35a1e0=new Map(Array['from'](_0x4fa652['model'][_0x86ca42]['insertions']['markers'])['filter'](([_0x3caaa2])=>!_0x3caaa2['startsWith']('revision:')));let _0x3fc4f9=0x0;for(const _0x35acf9 of _0x265b9b){const _0x5ec839=this['_makeTape'](_0x35acf9['model'][_0x86ca42]['insertions']);_0x35acf9==_0x4fa652?(_0x3c6ef1=_0x5ec839,_0x4cac7f=_0x3c6ef1['length'],_0x3c6ef1['forEach'](_0x2a957f=>{_0x2a957f['id']=_0x3fc4f9++;}),this['_processTape'](_0x3c6ef1)):this['_markInsertions'](_0x3c6ef1,_0x5ec839);const _0x536527=_0x3c6ef1['filter'](_0x1a1111=>!_0x1a1111['isAdded'])['map'](_0xb5c7e3=>_0xb5c7e3['id']);let _0x491a59=0x0;const _0x58a30d=this['_makeTape'](_0x35acf9['model'][_0x86ca42]['deletions']);_0x58a30d['forEach'](_0xcb41c1=>{_0xcb41c1['isRemoved']?_0xcb41c1['id']=_0x4cac7f++:_0xcb41c1['id']=_0x536527[_0x491a59++];}),this['_processTape'](_0x58a30d),this['_setDistance'](_0x3c6ef1,'isAdded'),this['_setDistance'](_0x58a30d,'isRemoved'),_0x35acf9==_0x4fa652&&this['_markMarkers'](_0x3c6ef1,_0x35a1e0),_0x3c6ef1=this['_joinTapes'](_0x3c6ef1,_0x58a30d),this['_refreshStartEndIndex'](_0x3c6ef1),this['_setDistance'](_0x3c6ef1,'isRemoved');}_0x3c6ef1=_0x3c6ef1['filter'](_0xc73338=>!(_0xc73338['isAdded']&&_0xc73338['isRemoved']));const _0xdb0490=new Map(_0x1cf0c6['model'][_0x86ca42]['deletions']['markers']),_0x5d11d2=new Set(_0x35a1e0['keys']());for(const _0x580473 of _0xdb0490['keys']())_0x5d11d2['delete'](_0x580473);this['_markSuggestions'](_0x3c6ef1,_0x5d11d2),this['_fixObsoleteTags'](_0x3c6ef1),_0x3c6ef1=this['_removeMissingPairs'](_0x3c6ef1),_0x3c6ef1=this['_markMismatchedRemovedTags'](_0x3c6ef1),_0x3c6ef1=this['_removeUnsupportedChanges'](_0x3c6ef1);const {root:_0x2220b2,changes:_0x1a4dc3}=this['_makeModelFromTape'](_0x3c6ef1,_0x40455c,_0x86ca42);_0x3fed0e['model'][_0x86ca42]=_0x2220b2;const _0x1dcce7=_0x5d83c0['get'](_0x86ca42);if(_0x1dcce7){const _0x1e5241=_0x40455c['get'](_0x1dcce7['userId']),_0x16a3e2=new r({'author':_0x1e5241,'type':_0x1dcce7['isAttached']?'add':'remove','data':{'isOnRoot':!0x0},'createdAt':new Date(),'rootName':_0x86ca42});_0x1a4dc3['unshift'](_0x16a3e2),_0x3fed0e['attributes'][_0x86ca42]['revisionHistoryAttachChange']=_0x16a3e2['id'];}_0x3fed0e['changes']=_0x3fed0e['changes']['concat'](_0x1a4dc3);}return _0x3fed0e;}['_markMarkers'](_0x3411d3,_0x284600){for(let _0x4c1998=0x0;_0x4c1998<_0x3411d3['length'];_0x4c1998++)for(const [_0x2b2258,_0x3d70c5]of _0x284600)_0x3d70c5['start']['isEqual'](_0x3411d3[_0x4c1998]['previousPosition'])&&_0x3411d3[_0x4c1998]['markersStart']['push'](_0x2b2258),_0x3d70c5['end']['isEqual'](_0x3411d3[_0x4c1998]['nextPosition'])&&_0x3411d3[_0x4c1998]['markersEnd']['push'](_0x2b2258);}['_joinTapes'](_0x47cf40,_0x3d4cf2){let _0x23820e=[],_0x38609d=0x0,_0x21e0c0=0x0;for(;_0x38609d<_0x47cf40['length']||_0x21e0c0<_0x3d4cf2['length'];){const _0x267475=_0x47cf40[_0x38609d]||{},_0x509502=_0x3d4cf2[_0x21e0c0]||{};if(_0x267475['id']==_0x509502['id'])_0x38609d++,_0x21e0c0++,_0x23820e['push'](_0x267475);else{if(_0x509502['isRemoved']&&_0x267475['isAdded']){const {commonTape:_0x55c680,iEnd:_0x290fd8,jEnd:_0x164b00}=this['_threeWayMerge'](_0x47cf40,_0x38609d,_0x3d4cf2,_0x21e0c0);_0x23820e=_0x23820e['concat'](_0x55c680),_0x38609d=_0x290fd8,_0x21e0c0=_0x164b00;}else _0x509502['isRemoved']?(_0x21e0c0++,_0x23820e['push'](_0x509502)):(_0x38609d++,_0x23820e['push'](_0x267475));}}return _0x23820e;}['_markSuggestions'](_0x1d444e,_0x43886f){const _0xbf39fa=[];for(let _0x4e80a6=0x0;_0x4e80a6<_0x1d444e['length'];_0x4e80a6++){for(let _0x377d79=0x0;_0x377d79<_0x1d444e[_0x4e80a6]['markersStart']['length'];_0x377d79++){const _0x103ce6=_0x1d444e[_0x4e80a6]['markersStart'][_0x377d79];if(!_0x43886f['has'](_0x103ce6))continue;const {group:_0x2d4815,type:_0x59ca67,authorId:_0x201807}=_0x52cd68(_0x103ce6);'revision-suggestion'!=_0x2d4815||'insertion'!=_0x59ca67&&'deletion'!=_0x59ca67||(_0xbf39fa['unshift']({'type':_0x59ca67,'name':_0x103ce6,'userId':_0x201807}),_0x1d444e[_0x4e80a6]['markersStart']['splice'](_0x377d79,0x1),_0x377d79--);}_0x11ea95(_0x1d444e[_0x4e80a6]);for(let _0x4637e8=0x0;_0x4637e8<_0x1d444e[_0x4e80a6]['markersEnd']['length'];_0x4637e8++){const _0x4115f8=_0x1d444e[_0x4e80a6]['markersEnd'][_0x4637e8];if(!_0x43886f['has'](_0x4115f8))continue;const {group:_0x223465,type:_0x287138}=_0x52cd68(_0x4115f8);if('revision-suggestion'!=_0x223465||'insertion'!=_0x287138&&'deletion'!=_0x287138)continue;_0x1d444e[_0x4e80a6]['markersEnd']['splice'](_0x4637e8,0x1),_0x4637e8--;const _0x50530b=_0xbf39fa['findIndex'](_0x548b10=>_0x548b10['name']==_0x4115f8);_0x50530b>-0x1&&_0xbf39fa['splice'](_0x50530b,0x1);}}function _0x52cd68(_0x4a98fc){const _0x48492f=_0x4a98fc['split'](':');return{'group':_0x48492f[0x0],'type':_0x48492f[0x1],'subType':_0x48492f['length']>=0x5?_0x48492f[0x2]:null,'id':_0x48492f['length']<0x5?_0x48492f[0x2]:_0x48492f[0x3],'authorId':_0x48492f['length']<0x5?_0x48492f[0x3]:_0x48492f[0x4],'markerCount':0x6==_0x48492f['length']?_0x48492f[0x5]:null};}function _0x11ea95(_0x4c72ea){for(let _0x2a594e=0x0;_0x2a594e<_0xbf39fa['length'];_0x2a594e++){if(_0x4c72ea['isAdded']&&'insertion'==_0xbf39fa[_0x2a594e]['type'])return _0x4c72ea['isAddSuggestion']=_0xbf39fa[_0x2a594e],void delete _0x4c72ea['isAdded'];if(!_0x4c72ea['isAdded']&&!_0x4c72ea['isRemoved']&&'deletion'==_0xbf39fa[_0x2a594e]['type'])return void(_0x4c72ea['isRemoveSuggestion']=_0xbf39fa[_0x2a594e]);}}}['_setDistance'](_0x498d70,_0x41e761){let _0x93e065=0x0,_0xad219a=!0x1;const _0x4dfaf5=new Map();for(const _0x4bd898 of _0x498d70)_0x4bd898[_0x41e761]?_0xad219a&&(_0x93e065++,_0xad219a=!0x1):(_0x93e065++,_0xad219a=!0x0),_0x4dfaf5['set'](_0x4bd898['id'],_0x93e065);for(let _0xec0c9=0x0;_0xec0c9<_0x498d70['length'];_0xec0c9++){if('isRemoved'==_0x41e761&&_0x498d70[_0xec0c9]['isAdded']||'isAdded'==_0x41e761&&_0x498d70[_0xec0c9]['isRemoved'])continue;if('text'==_0x498d70[_0xec0c9]['type']){_0x498d70[_0xec0c9]['distance']=0x0;continue;}const _0x29cb83=_0x4dfaf5['get'](_0x498d70[_0xec0c9]['pairId']),_0x34454b=_0x4dfaf5['get'](_0x498d70[_0xec0c9]['id']);_0x498d70[_0xec0c9]['distance']=_0x29cb83-_0x34454b;}}['_getRevisionsRange'](_0x233800,_0x4b7bcb,_0x392268=!0x1){const _0x4fd1f9=[];let _0x58a8fc=this['repository']['getIndex'](_0x233800),_0x25c1f1=this['repository']['getIndex'](_0x4b7bcb);for(-0x1==_0x25c1f1&&(_0x25c1f1=this['repository']['_revisions']['length'],_0x392268=!0x1);_0x58a8fc<_0x25c1f1;)_0x4fd1f9['push'](this['repository']['getRevision'](_0x58a8fc)),_0x58a8fc++;return _0x392268&&_0x4fd1f9['push'](this['repository']['getRevision'](_0x58a8fc)),_0x4fd1f9;}['_threeWayMerge'](_0x3b2570,_0x16d627,_0x2840be,_0xc2e126){const _0x4cb5fa=this['editor']['model']['schema'];let _0xdc0555=_0x16d627;for(;_0x3b2570[_0xdc0555]&&_0x3b2570[_0xdc0555]['isAdded'];)_0xdc0555++;let _0x4d744f=_0xc2e126;for(;_0x2840be[_0x4d744f]&&_0x2840be[_0x4d744f]['isRemoved'];)_0x4d744f++;_0x1c13a1(_0x3b2570,_0x16d627,_0xdc0555),_0x1c13a1(_0x2840be,_0xc2e126,_0x4d744f);const _0x28b7ee=_0x2840be['slice'](_0xc2e126,_0x4d744f)['concat'](_0x3b2570['slice'](_0x16d627,_0xdc0555));return _0x28b7ee['sort']((_0x3444d2,_0x39b3fe)=>_0x3444d2['side']!=_0x39b3fe['side']?_0x3444d2['side']-_0x39b3fe['side']:_0x3444d2['level']!=_0x39b3fe['level']?_0x3444d2['level']-_0x39b3fe['level']:_0x3444d2['distance']!=_0x39b3fe['distance']?_0x39b3fe['distance']-_0x3444d2['distance']:!!_0x3444d2['isAdded']!=!!_0x39b3fe['isAdded']?-0x1==_0x3444d2['side']||0x0==_0x3444d2['side']?_0x3444d2['isAdded']?-0x1:0x1:_0x3444d2['isAdded']?0x1:-0x1:_0x3444d2['index']-_0x39b3fe['index']),{'commonTape':_0x28b7ee,'iEnd':_0xdc0555,'jEnd':_0x4d744f};function _0x1c13a1(_0x169e21,_0x78152,_0x4d1a34){let _0x55a9f3=-0x1,_0x371864=Number['POSITIVE_INFINITY'],_0x1eab52=!0x0;for(let _0xdca029=_0x78152;_0xdca029<_0x4d1a34;_0xdca029++)if(_0x4cb5fa['isInline'](_0x169e21[_0xdca029]['item'])||(_0x1eab52=!0x1),_0x169e21[_0xdca029]['item']['startIndex']<_0x78152&&(_0x55a9f3=_0xdca029),_0x169e21[_0xdca029]['item']['endIndex']>=_0x4d1a34){_0x371864=_0xdca029;break;}_0x1eab52&&(_0x55a9f3=_0x4d1a34-0x1);for(let _0x3e2f72=_0x78152;_0x3e2f72<_0x4d1a34;_0x3e2f72++)_0x169e21[_0x3e2f72]['side']=_0x3e2f72<=_0x55a9f3?-0x1:_0x3e2f72<_0x371864?0x0:0x1,_0x169e21[_0x3e2f72]['index']=_0x3e2f72;let _0x2c765a=0x0;for(let _0x550fea=_0x78152;_0x550fea<=_0x55a9f3;_0x550fea++)0x0==_0x169e21[_0x550fea]['distance']?_0x169e21[_0x550fea]['level']=_0x2c765a:(_0x2c765a++,_0x169e21[_0x550fea]['level']=_0x2c765a,_0x2c765a++);for(let _0x262e43=_0x78152;_0x262e43<_0x4d1a34;_0x262e43++)0x0==_0x169e21[_0x262e43]['side']&&(_0x169e21[_0x262e43]['level']=_0x2c765a);_0x2c765a=0x0;for(let _0x26428b=_0x4d1a34-0x1;_0x26428b>=_0x371864;_0x26428b--)0x0==_0x169e21[_0x26428b]['distance']?_0x169e21[_0x26428b]['level']=_0x2c765a:(_0x2c765a--,_0x169e21[_0x26428b]['level']=_0x2c765a,_0x2c765a--);}}['_fixObsoleteTags'](_0x9e6b49){const _0x1eb716=new Map(),_0x543e85=this['editor']['model']['schema'];for(let _0x11c9d5=0x1;_0x11c9d5<_0x9e6b49['length'];_0x11c9d5++){let _0x275a49,_0x1aa8da,_0x57af4e;const _0x494c63=_0x9e6b49[_0x11c9d5],_0x2b720c=_0x9e6b49[_0x11c9d5-0x1];if('text'==_0x494c63['type'])continue;if(_0x494c63['type']!=_0x2b720c['type'])continue;if(!_0x543e85['isBlock'](_0x2b720c['item'])||_0x543e85['isLimit'](_0x2b720c['item']))continue;if(!_0x543e85['isBlock'](_0x494c63['item'])||_0x543e85['isLimit'](_0x494c63['item']))continue;if((_0x9e6b49[_0x11c9d5]['isAdded']||_0x9e6b49[_0x11c9d5]['isAddSuggestion'])&&_0x9e6b49[_0x11c9d5-0x1]['isRemoved'])_0x275a49=_0x9e6b49[_0x11c9d5],_0x1aa8da=_0x9e6b49[_0x11c9d5-0x1],_0x57af4e=_0x11c9d5-0x1;else{if(!_0x9e6b49[_0x11c9d5]['isRemoved']||!_0x9e6b49[_0x11c9d5-0x1]['isAdded']&&!_0x9e6b49[_0x11c9d5-0x1]['isAddSuggestion'])continue;_0x275a49=_0x9e6b49[_0x11c9d5-0x1],_0x1aa8da=_0x9e6b49[_0x11c9d5],_0x57af4e=_0x11c9d5;}const _0x3d6a87=_0x275a49['level']==_0x1aa8da['level'],_0x566c75=Math['abs'](_0x275a49['level'])<Math['abs'](_0x1aa8da['level'])&&0x0==_0x1aa8da['distance'];(_0x3d6a87||_0x566c75)&&(_0x1eb716['set'](_0x1aa8da['id'],_0x275a49['id']),_0x9e6b49['splice'](_0x57af4e,0x1),_0x11c9d5--,_0x275a49['isAdded']=!0x1);}for(let _0x446f5f=0x0;_0x446f5f<_0x9e6b49['length'];_0x446f5f++)_0x1eb716['has'](_0x9e6b49[_0x446f5f]['pairId'])&&(_0x9e6b49[_0x446f5f]['pairId']=_0x1eb716['get'](_0x9e6b49[_0x446f5f]['pairId']));}['_removeMissingPairs'](_0x11e755){const _0x31fa77=new Set(_0x11e755['map'](_0x32677c=>_0x32677c['id']));for(let _0x4348cc=0x0;_0x4348cc<_0x11e755['length'];_0x4348cc++)_0x31fa77['has'](_0x11e755[_0x4348cc]['pairId'])||0x0==_0x11e755[_0x4348cc]['distance']||(_0x11e755[_0x4348cc]['isIncorrect']=!0x0);return _0x11e755['filter'](_0x4e3ce0=>!_0x4e3ce0['isIncorrect']);}['_markMismatchedRemovedTags'](_0x14709b){const _0x47d56d=new Set();for(let _0x4a9aeb=0x0;_0x4a9aeb<_0x14709b['length'];_0x4a9aeb++){if(_0x47d56d['has'](_0x14709b[_0x4a9aeb]['id'])&&_0x14709b[_0x4a9aeb]['isRemoved']&&(_0x14709b[_0x4a9aeb]['isIncorrect']=!0x0),_0x14709b[_0x4a9aeb]['isIncorrect'])continue;if(0x0==_0x14709b[_0x4a9aeb]['distance'])continue;if('elementStart'!=_0x14709b[_0x4a9aeb]['type'])continue;if(null==_0x14709b[_0x4a9aeb]['pairId'])continue;let _0x20578b=_0x4a9aeb+0x1,_0x22fe69=0x0;for(;_0x14709b[_0x20578b]['id']!=_0x14709b[_0x4a9aeb]['pairId'];)'elementStart'==_0x14709b[_0x20578b]['type']?_0x22fe69++:'elementEnd'==_0x14709b[_0x20578b]['type']&&_0x22fe69--,_0x20578b++;if(0x0!=_0x22fe69){if(_0x14709b[_0x4a9aeb]['isRemoved'])_0x14709b[_0x4a9aeb]['isIncorrect']=!0x0;else{for(;_0x20578b!=_0x4a9aeb;)_0x14709b[_0x20578b]['isRemoved']&&0x0!=_0x14709b[_0x20578b]['distance']&&(_0x14709b[_0x20578b]['isIncorrect']=!0x0,_0x47d56d['add'](_0x14709b[_0x20578b]['pairId'])),_0x20578b--;}}}return _0x14709b['filter'](_0x56e675=>!_0x56e675['isIncorrect']);}['_removeUnsupportedChanges'](_0x20b7f9){const _0x5ba176=this['editor']['model']['schema'];for(let _0x2f6306=0x0;_0x2f6306<_0x20b7f9['length'];_0x2f6306++){if(!(_0x20b7f9[_0x2f6306]['isAdded']||_0x20b7f9[_0x2f6306]['isAddSuggestion']||_0x20b7f9[_0x2f6306]['isRemoved']||_0x20b7f9[_0x2f6306]['isRemoveSuggestion']))continue;if(0x0==_0x20b7f9[_0x2f6306]['distance'])continue;const _0x50b7b2=_0x20b7f9[_0x2f6306]['item'];_0x5ba176['isBlock'](_0x50b7b2)||_0x5ba176['isLimit'](_0x50b7b2)||(_0x20b7f9[_0x2f6306]['isAdded']&&delete _0x20b7f9[_0x2f6306]['isAdded'],_0x20b7f9[_0x2f6306]['isAddSuggestion']&&delete _0x20b7f9[_0x2f6306]['isAddSuggestion'],_0x20b7f9[_0x2f6306]['isRemoveSuggestion']&&delete _0x20b7f9[_0x2f6306]['isRemoveSuggestion'],_0x20b7f9[_0x2f6306]['isRemoved']&&(_0x20b7f9[_0x2f6306]['isIncorrect']=!0x0));}return _0x20b7f9['filter'](_0x535cd9=>!_0x535cd9['isIncorrect']);}['_makeModelFromTape'](_0x2be8a2,_0x41143b,_0x53f2f7){const _0x3b5516=new wt(),_0x91c40c=[],_0xac252b=new Map(),_0x290c03=this['editor']['model'],_0x3e0277=_0x290c03['schema'],_0x118e2a=[_0x3b5516],_0x1e1eb9={},_0x586978={'isAdded':[],'isRemoved':[],'isAddSuggestion':[],'isRemoveSuggestion':[]};let _0x2744ac=null;const _0x8d1abb=[0x0];for(let _0x1cbb65=0x0;_0x1cbb65<_0x2be8a2['length'];_0x1cbb65++){let _0x8f6858,_0x53131c;if('elementStart'===_0x2be8a2[_0x1cbb65]['type']){_0x8f6858=_0x290c03['createPositionFromPath'](_0x3b5516,_0x8d1abb);const _0x12fd52=new ft(_0x2be8a2[_0x1cbb65]['item']['name'],_0x2be8a2[_0x1cbb65]['item']['getAttributes']());_0x118e2a[0x0]['_appendChild'](_0x12fd52),_0x8d1abb['push'](0x0),_0x118e2a['unshift'](_0x12fd52),_0x53131c=_0x290c03['createPositionFromPath'](_0x3b5516,_0x8d1abb),_0x2744ac=null;}else{if('elementEnd'===_0x2be8a2[_0x1cbb65]['type'])_0x118e2a['shift'](),_0x8f6858=_0x290c03['createPositionFromPath'](_0x3b5516,_0x8d1abb),_0x8d1abb['pop'](),_0x8d1abb[_0x8d1abb['length']-0x1]++,_0x53131c=_0x290c03['createPositionFromPath'](_0x3b5516,_0x8d1abb),_0x2744ac=null;else{if(_0x8f6858=_0x290c03['createPositionFromPath'](_0x3b5516,_0x8d1abb),_0x2744ac&&_0x5b6d7e(_0x2744ac,_0x2be8a2[_0x1cbb65]['item']))_0x2744ac['_data']+=_0x2be8a2[_0x1cbb65]['item']['data'];else{const _0x2fb70e=new _t(_0x2be8a2[_0x1cbb65]['item']['data'],_0x2be8a2[_0x1cbb65]['item']['getAttributes']());_0x118e2a[0x0]['_appendChild'](_0x2fb70e),_0x2744ac=_0x2fb70e;}_0x8d1abb[_0x8d1abb['length']-0x1]+=_0x2be8a2[_0x1cbb65]['item']['offsetSize'],_0x53131c=_0x290c03['createPositionFromPath'](_0x3b5516,_0x8d1abb);}}for(const _0x208b48 of _0x2be8a2[_0x1cbb65]['markersStart'])_0xac252b['set'](_0x208b48,{'start':_0x8f6858,'end':null});_0x15ea46('isRemoveSuggestion',_0x1cbb65,_0x8f6858,_0x53131c),_0x15ea46('isAddSuggestion',_0x1cbb65,_0x8f6858,_0x53131c),_0x15ea46('isRemoved',_0x1cbb65,_0x8f6858,_0x53131c),_0x15ea46('isAdded',_0x1cbb65,_0x8f6858,_0x53131c);for(const _0x14753b of _0x2be8a2[_0x1cbb65]['markersEnd']){_0xac252b['get'](_0x14753b)['end']=_0x53131c;}}for(const [_0x52648e,_0x1efa07]of _0xac252b){const _0x276bec=this['editor']['model']['createRange'](_0x1efa07['start'],_0x1efa07['end']);_0x3b5516['markers']['set'](_0x52648e,_0x276bec);}return _0x91c40c['sort']((_0x504c18,_0x3673a3)=>{const _0xb6bbbc=_0x3b5516['markers']['get']('revision:'+_0x504c18['id']),_0x529aad=_0x3b5516['markers']['get']('revision:'+_0x3673a3['id']);return _0xb6bbbc['start']['isBefore'](_0x529aad['start'])?-0x1:_0xb6bbbc['start']['isAfter'](_0x529aad['start'])?0x1:_0xb6bbbc['end']['isBefore'](_0x529aad['end'])?-0x1:_0xb6bbbc['end']['isAfter'](_0x529aad['end'])?0x1:'add'===_0x504c18['type']?-0x1:0x1;}),{'root':_0x3b5516,'changes':_0x91c40c};function _0x15ea46(_0x599066,_0x1efce8,_0x427efc,_0x599a5e){const _0x52a23c=!!_0x2be8a2[_0x1efce8][_0x599066],_0x731ea7=_0x52a23c?_0x2be8a2[_0x1efce8][_0x599066]['userId']:null,_0x490ec0=_0x1efce8===_0x2be8a2['length']-0x1,_0x220645=_0x586978[_0x599066][0x0],_0x204174=_0x3e0277['isObject'](_0x2be8a2[_0x1efce8]['item']);!_0x1e1eb9[_0x599066]&&_0x52a23c?_0x1e1eb9[_0x599066]={'start':_0x427efc,'tapeItem':_0x2be8a2[_0x1efce8],'userId':_0x731ea7,'type':_0x599066}:_0x1e1eb9[_0x599066]&&!_0x52a23c?(_0x1e1eb9[_0x599066]['end']=_0x427efc,_0x534d88(_0x1e1eb9[_0x599066]),_0x1e1eb9[_0x599066]=null):_0x1e1eb9[_0x599066]&&_0x52a23c&&_0x1e1eb9[_0x599066]['userId']!==_0x731ea7&&(_0x1e1eb9[_0x599066]['end']=_0x427efc,_0x220645&&_0x220645['userId']===_0x1e1eb9[_0x599066]['userId']||_0x534d88(_0x1e1eb9[_0x599066]),_0x1e1eb9[_0x599066]={'start':_0x427efc,'tapeItem':_0x2be8a2[_0x1efce8],'userId':_0x731ea7,'type':_0x599066}),_0x1e1eb9[_0x599066]&&_0x204174&&('elementStart'!==_0x2be8a2[_0x1efce8]['type']||_0x220645&&_0x220645['userId']===_0x731ea7||_0x586978[_0x599066]['unshift']({'userId':_0x731ea7,'object':_0x2be8a2[_0x1efce8]['item'],'change':_0x1e1eb9[_0x599066]}),'elementEnd'===_0x2be8a2[_0x1efce8]['type']&&_0x220645&&_0x220645['object']===_0x2be8a2[_0x1efce8]['item']&&(_0x586978[_0x599066]['shift'](),_0x1e1eb9[_0x599066]=_0x220645['change'])),_0x1e1eb9[_0x599066]&&_0x490ec0&&(_0x1e1eb9[_0x599066]['end']=_0x599a5e,_0x534d88(_0x1e1eb9[_0x599066]),_0x1e1eb9[_0x599066]=null);}function _0x534d88({start:_0x15149f,end:_0x2cc886,tapeItem:_0x3ddac1,userId:_0x3d98e0,type:_0x46416f}){const _0x4a562a=_0x3ddac1['item'],_0x41f4af=_0x290c03['schema']['isBlock'](_0x4a562a)&&!_0x290c03['schema']['isLimit'](_0x4a562a),_0x13a2f1=_0x15149f['nodeAfter']==_0x2cc886['parent']&&_0x2cc886['isAtStart'];if(_0x41f4af&&_0x13a2f1)return;const _0x26aa0f=_0x290c03['createRange'](_0x15149f,_0x2cc886),_0x3df4fd=_0x41143b['get'](_0x3d98e0),_0x470947=new r({'author':_0x3df4fd,'type':'isAdded'==_0x46416f||'isAddSuggestion'==_0x46416f?'add':'remove','data':{'isSuggestion':'isAddSuggestion'==_0x46416f||'isRemoveSuggestion'==_0x46416f},'createdAt':new Date(),'rootName':_0x53f2f7});_0x91c40c['push'](_0x470947),_0x3b5516['markers']['set']('revision:'+_0x470947['id'],_0x26aa0f);}function _0x5b6d7e(_0x4b5df0,_0x4f40d3){const _0x2379fb=_0x4b5df0['getAttributes'](),_0x19a023=_0x4f40d3['getAttributes']();for(const _0x20d61d of _0x2379fb){if(_0x20d61d[0x1]!==_0x4f40d3['getAttribute'](_0x20d61d[0x0]))return!0x1;_0x19a023['next']();}return _0x19a023['next']()['done'];}}['_setConversion'](){this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'revision'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision','view':_0x28ef9d=>{const _0x1d9414=_0x28ef9d['markerName']['split'](':')[0x1],_0x5d477a=this['_getChangeFromId'](_0x1d9414);if(!_0x5d477a)return null;const _0x21a282='add'==_0x5d477a['type']?'insertion':'deletion',_0x3349d9=['ck-suggestion-marker','ck-suggestion-marker-'+_0x21a282];return _0x5d477a['data']['isSuggestion']&&_0x3349d9['push']('ck-suggestion-marker-'+_0x21a282+'-new'),this['activeChange']==_0x5d477a&&_0x3349d9['push']('ck-suggestion-marker--active'),{'classes':_0x3349d9,'attributes':{'data-change-id':_0x1d9414}};}}),this['editor']['conversion']['for']('upcast')['add'](_0x250422=>{_0x250422['on']('element:pre',(_0x54f170,_0xa35a97,_0x15409b)=>{const _0xbcf740=_0xa35a97['viewItem']['getChild'](0x0);if(!_0xbcf740||!_0xbcf740['is']('element','code'))return;if(!_0x15409b['consumable']['consume'](_0xbcf740,{'attributes':['vid_start','vid_end']}))return;const _0x2f5a57=_0xa35a97['modelRange']['start']['nodeAfter'];_0x15409b['writer']['setAttribute']('vid_start',_0xbcf740['getAttribute']('vid_start'),_0x2f5a57),_0x15409b['writer']['setAttribute']('vid_end',_0xbcf740['getAttribute']('vid_end'),_0x2f5a57);},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['add'](_0x142757=>{_0x142757['on']('element',(_0x36b064,_0xcec1d3,_0x79820d)=>{if(!_0x79820d['consumable']['consume'](_0xcec1d3['viewItem'],{'attributes':['vid_start','vid_end']}))return;if(_0xcec1d3['modelRange']['isCollapsed'])return;const _0xfa79f5=_0xcec1d3['modelRange']['start']['nodeAfter'];_0xfa79f5['hasAttribute']('vid_start')||_0xfa79f5['hasAttribute']('vid')||(_0x79820d['writer']['setAttribute']('vid_start',_0xcec1d3['viewItem']['getAttribute']('vid_start'),_0xfa79f5),_0x79820d['writer']['setAttribute']('vid_end',_0xcec1d3['viewItem']['getAttribute']('vid_end'),_0xfa79f5));},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['elementToAttribute']({'view':{'name':'span','attributes':{'vid':!0x0}},'model':{'key':'vid','value':_0x5dea84=>_0x5dea84['getAttribute']('vid')}}),this['editor']['model']['schema']['on']('checkAttribute',(_0xd57c51,[,_0x277a58])=>{['vid_start','vid_end','vid']['includes'](_0x277a58)&&(_0xd57c51['return']=!0x0,_0xd57c51['stop']());},{'priority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['add'](_0x548a62=>{_0x548a62['on']('attribute:vid',(_0x35048a,_0x759639,_0x58a75e)=>{if('\x20'!=_0x759639['item']['data']||_0x759639['item']['parent']['maxOffset']>0x1)return;if(!_0x58a75e['consumable']['consume'](_0x759639['item'],_0x35048a['name']))return;const _0x3a36be=_0x58a75e['writer'],_0x4fba5c=_0x58a75e['mapper']['toViewRange'](_0x759639['range']);_0x3a36be['wrap'](_0x4fba5c,_0x3a36be['createAttributeElement']('span'));});}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',function(_0x298145){const _0x448594=_0x298145['plugins']['get']('RevisionViewer');return(_0x5f5094,_0x367ee1,_0x380e4e)=>{const _0x4e1031=_0x367ee1['markerName']['split'](':')[0x1],_0xe176a6=_0x448594['_getChangeFromId'](_0x4e1031);if(!_0xe176a6)return null;const _0x5ddfcb='add'==_0xe176a6['type']?'split':'merge';if(!_0x380e4e['consumable']['test'](_0x367ee1['markerRange'],_0x5f5094['name']))return;const _0x2e2fe7=_0x367ee1['markerRange']['getWalker'](),_0x56d941=_0x367ee1['markerRange']['start'],_0x33cd1d=_0x298145['model']['schema'];let _0x5f45e1=null,_0x1a3503=null,_0x563d52=!0x1,_0x2f70c4=!0x1;for(const _0x4012b6 of _0x2e2fe7){const _0x5ce592=_0x4012b6['item'];_0x563d52=_0x563d52||_0x33cd1d['isContent'](_0x5ce592);const _0x97d60c=_0x380e4e['mapper']['toViewElement'](_0x5ce592);if(_0x97d60c&&_0x97d60c['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x4012b6['type']&&(_0x33cd1d['isBlock'](_0x5ce592)&&!_0x33cd1d['isLimit'](_0x5ce592)&&(_0x5ce592['nextSibling']||_0x56d941['isAtEnd']?_0x5f45e1&&_0x5f45e1['parent']==_0x5ce592||(_0x5f45e1=_0x5ce592,_0x2cb988(_0x4012b6['previousPosition']),_0x2f70c4=!0x0):_0x1a3503=_0x1a3503||_0x4012b6['previousPosition']));}function _0x2cb988(_0xe7c5ab){const _0x330175=_0x380e4e['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x5ddfcb}),_0xac321e=_0x380e4e['mapper']['toViewPosition'](_0xe7c5ab);_0xe176a6['data']['isSuggestion']&&_0x380e4e['writer']['addClass']('ck-suggestion-marker-'+_0x5ddfcb+'-new',_0x330175),_0x448594['activeChange']==_0xe176a6&&_0x380e4e['writer']['addClass']('ck-suggestion-marker--active',_0x330175),_0x380e4e['writer']['insert'](_0xac321e,_0x330175),_0x380e4e['mapper']['bindElementToMarker'](_0x330175,_0x367ee1['markerName']);}_0x563d52||_0x2f70c4||!_0x1a3503||_0x2cb988(_0x1a3503);};}(this['editor']),{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('removeMarker:revision',(_0xf15779,_0x32d2b7,_0x38b1cc)=>{const _0x34d66a=_0x38b1cc['mapper']['markerNameToElements'](_0x32d2b7['markerName']);if(_0x34d66a){for(const _0x37f8e1 of _0x34d66a)(_0x37f8e1['hasClass']('ck-suggestion-marker-split')||_0x37f8e1['hasClass']('ck-suggestion-marker-merge'))&&(_0x38b1cc['mapper']['unbindElementFromMarkerName'](_0x37f8e1,_0x32d2b7['markerName']),_0x38b1cc['writer']['remove'](_0x37f8e1));}},{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',(_0x598d35,_0x21e2d3,_0x5aef24)=>{const _0x18c7f1=_0x21e2d3['markerName']['split'](':')[0x1],_0x837e1b=this['_getChangeFromId'](_0x18c7f1);if(!_0x837e1b)return null;const _0x552e99='add'==_0x837e1b['type']?'split':'merge';if(_0x5aef24['consumable']['test'](_0x21e2d3['markerRange'],_0x598d35['name']))for(const _0x309ed2 of _0x21e2d3['markerRange']['getItems']()){if(!_0x309ed2['is']('element','softBreak'))continue;const _0x54ad91=_0x5aef24['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x552e99}),_0x3204c8=_0x5aef24['mapper']['toViewPosition'](this['editor']['model']['createPositionBefore'](_0x309ed2));_0x837e1b['data']['isSuggestion']&&_0x5aef24['writer']['addClass']('ck-suggestion-marker-'+_0x552e99+'-new',_0x54ad91),this['activeChange']==_0x837e1b&&_0x5aef24['writer']['addClass']('ck-suggestion-marker--active',_0x54ad91),_0x5aef24['writer']['insert'](_0x3204c8,_0x54ad91),_0x5aef24['mapper']['bindElementToMarker'](_0x54ad91,_0x21e2d3['markerName']);}},{'priority':'high'}),this['editor']['model']['document']['on']('change',()=>{this['editor']['editing']['view']['change'](_0x2a1a93=>{for(const _0xa85655 of this['editor']['model']['document']['getRootNames']()){const _0x301989=this['editor']['model']['document']['getRoot'](_0xa85655),_0xb4cd7=this['editor']['editing']['view']['document']['getRoot'](_0xa85655);if(_0xb4cd7){const _0x2d1f02=_0x301989['getAttribute']('revisionHistoryAttachChange');if(_0x2a1a93['removeAttribute']('data-change-id',_0xb4cd7),_0x2a1a93['removeClass']('ck-revision-history-root-add',_0xb4cd7),_0x2a1a93['removeClass']('ck-revision-history-root-remove',_0xb4cd7),_0x2a1a93['removeClass']('ck-revision-history-root--active',_0xb4cd7),_0x2d1f02){const _0x209e73=this['_getChangeFromId'](_0x2d1f02);if(!_0x209e73)return null;_0x2a1a93['setAttribute']('data-change-id',_0x2d1f02,_0xb4cd7),_0x2a1a93['addClass']('ck-revision-history-root-'+_0x209e73['type'],_0xb4cd7),this['activeChange']==_0x209e73&&_0x2a1a93['addClass']('ck-revision-history-root--active',_0xb4cd7);}}}});}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'comment','model':_0x5179a8=>'revision-comment:'+_0x5179a8,'converterPriority':'highest'}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'suggestion','model':_0x5efaba=>'revision-suggestion:'+_0x5efaba,'converterPriority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision-suggestion','view':_0x3c29e3=>({'name':'suggestion:'+_0x3c29e3,'group':'revision-suggestion'}),'converterPriority':'highest'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision-suggestion','view':_0x10aa37=>{const _0x24615c=_0x10aa37['markerName']['split'](':')[0x1];return'insertion'!=_0x24615c&&'deletion'!=_0x24615c?null:{'classes':['ck-suggestion-preview-marker','ck-suggestion-preview-marker-'+_0x24615c]};}}),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',(_0x6a722b,_0x4b1f3c,_0x5f945d)=>{const _0x3635d9=_0x5f945d['mapper']['markerNameToElements'](_0x4b1f3c['markerName']);if(_0x3635d9){for(const _0x2e969c of _0x3635d9)_0x2e969c['is']('uiElement')&&(_0x5f945d['mapper']['unbindElementFromMarkerName'](_0x2e969c,_0x4b1f3c['markerName']),_0x5f945d['writer']['remove'](_0x2e969c));}},{'priority':'high'});}['_getChangeFromId'](_0x5c337e){return this['_changeIdToChange']['get'](_0x5c337e);}['_getViewForChange'](_0x5044aa){return this['_changeView']&&this['_changeView']['destroy'](),this['_changeView']=new Z(this['editor']['locale'],_0x5044aa),this['_changeView'];}['_initInteractions'](){this['editor']['model']['document']['selection']['observeMarkers']('revision'),this['on']('change:activeView',(_0x1828b5,_0x36339f,_0xed37e6,_0x2cd676)=>{_0x2cd676&&this['_balloon']['remove'](_0x2cd676),_0xed37e6&&(this['_balloon']['add']({'view':_0xed37e6,'stackId':'revisionHistoryLabel','position':{'target':()=>{const _0xd8c69d=this['editor']['editing'],_0x2e3c9a=this['_getChangeFromId'](_0xed37e6['changeId']);let _0xf095a3;if(_0x2e3c9a['data']['isOnRoot']){const _0x1d22e3=_0xd8c69d['view']['getDomRoot'](_0x2e3c9a['rootName']);_0xf095a3=Array['from'](_0x1d22e3['getClientRects']());}else{const _0x42ee23=this['editor']['model']['markers']['get']('revision:'+_0xed37e6['changeId']);_0xf095a3=Array['from'](_0xd8c69d['mapper']['markerNameToElements'](_0x42ee23['name']))['map'](_0x2bdb9b=>_0xd8c69d['view']['domConverter']['mapViewToDom'](_0x2bdb9b))['map'](_0x48596e=>Array['from'](_0x48596e['getClientRects']()))['flat']();}if(!this['_activeViewTarget'])return _0xf095a3[0x0];return _0xf095a3['find'](_0x46742c=>_0x46742c['top']-0x3<=this['_activeViewTarget']['y']&&_0x46742c['bottom']+0x3>=this['_activeViewTarget']['y']&&_0x46742c['left']-0x3<=this['_activeViewTarget']['x']&&_0x46742c['right']+0x3>=this['_activeViewTarget']['x'])||_0xf095a3[0x0];}}}),this['_balloon']['showStack']('revisionHistoryLabel'));}),this['on']('change:activeChange',(_0x36fd24,_0x1b53aa,_0x21bc93,_0x2bbd0c)=>{this['activeView']=_0x21bc93?this['_getViewForChange'](_0x21bc93):null,this['editor']['model']['change'](()=>{const _0x5132b6=this['editor']['editing'];_0x2bbd0c&&(_0x2bbd0c['data']['isOnRoot']?_0x5132b6['view']['change'](_0x4a4e16=>{_0x4a4e16['removeClass']('ck-revision-history-root--active',_0x5132b6['view']['document']['getRoot'](_0x2bbd0c['rootName']));}):_0x5132b6['reconvertMarker']('revision:'+_0x2bbd0c['id'])),_0x21bc93&&(_0x21bc93['data']['isOnRoot']?_0x5132b6['view']['change'](_0xaf4183=>{_0xaf4183['addClass']('ck-revision-history-root--active',_0x5132b6['view']['document']['getRoot'](_0x21bc93['rootName']));}):_0x5132b6['reconvertMarker']('revision:'+_0x21bc93['id']));});}),this['listenTo'](this['editor']['editing']['view']['document'],'mouseover',(_0x50b117,_0x13a564)=>{if(this['activeChange'])return;const _0x1adc1b=this['_findChangeIdFromDomTarget'](_0x13a564['target']),_0x222cb8=this['_changeIdToChange']['get'](_0x1adc1b);_0x222cb8?(this['_activeViewTarget']={'x':_0x13a564['domEvent']['x'],'y':_0x13a564['domEvent']['y']},this['activeView']=this['_getViewForChange'](_0x222cb8)):(this['_activeViewTarget']=null,this['activeView']=null);}),this['listenTo'](this['editor']['editing']['view']['document'],'mousedown',(_0x3a38e4,_0x579841)=>{const _0x4910c9=this['_findChangeIdFromDomTarget'](_0x579841['target']),_0x52454f=this['_changeIdToChange']['get'](_0x4910c9);_0x52454f?(this['_activeViewTarget']={'x':_0x579841['domEvent']['x'],'y':_0x579841['domEvent']['y']},_0x52454f===this['activeChange']?this['_balloon']['updatePosition']():this['activeChange']=_0x52454f):(this['_activeViewTarget']=null,this['activeChange']=null);});}['_findChangeIdFromDomTarget'](_0x3afb08){do{const _0x36e30e=_0x3afb08['getAttribute']('data-change-id');if(_0x36e30e)return _0x36e30e;_0x3afb08=_0x3afb08['parent'];}while(_0x3afb08);return null;}['_cleanMarkers'](){this['editor']['model']['change'](_0x27f505=>{for(const _0x1fdbe1 of this['editor']['model']['markers'])_0x27f505['removeMarker'](_0x1fdbe1);});}}function et(_0x1a4963,_0x52aff0){return(_0x20ab94,_0x31ac9e,_0x24280c)=>{if(!_0x24280c['consumable']['test'](_0x31ac9e['markerRange'],_0x20ab94['name']))return;const _0x533583=_0x31ac9e['markerRange']['getWalker'](),_0x2d5a91=_0x31ac9e['markerRange']['start'],_0x6092a4=_0x1a4963['model']['schema'];let _0x498d33=null,_0x236028=null,_0x2c61ee=!0x1,_0x242a2e=!0x1;for(const _0x19809b of _0x533583){const _0xd0ac33=_0x19809b['item'];_0x2c61ee=_0x2c61ee||_0x6092a4['isContent'](_0xd0ac33);const _0x3798df=_0x24280c['mapper']['toViewElement'](_0xd0ac33);if(_0x3798df&&_0x3798df['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x19809b['type']&&(_0x6092a4['isBlock'](_0xd0ac33)&&!_0x6092a4['isLimit'](_0xd0ac33)&&(_0xd0ac33['nextSibling']||_0x2d5a91['isAtEnd']?_0x498d33&&_0x498d33['parent']==_0xd0ac33||(_0x498d33=_0xd0ac33,_0x48baa7(_0x19809b['previousPosition']),_0x242a2e=!0x0):_0x236028=_0x236028||_0x19809b['previousPosition']));}function _0x48baa7(_0xf8a08b){const _0x46ecc3=_0x24280c['mapper']['toViewPosition'](_0xf8a08b),_0x1c337a=_0x24280c['writer']['createUIElement']('span',{'class':'ck-suggestion-preview-marker-'+_0x52aff0});_0x24280c['writer']['insert'](_0x46ecc3,_0x1c337a),_0x24280c['mapper']['bindElementToMarker'](_0x1c337a,_0x31ac9e['markerName']);}_0x2c61ee||_0x242a2e||!_0x236028||_0x48baa7(_0x236028);};}class bt extends _0xf51837{constructor(_0x24b17f){super(_0x24b17f);const _0x6ea72c=_0x24b17f['plugins']['get'](d);this['affectsData']=!0x1,this['listenTo'](_0x6ea72c,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x6ea72c,'change:isEnabled',()=>this['refresh']());}['execute'](){const _0x3eec57=this['editor'],_0x53f8fb=_0x3eec57['plugins']['get'](d),_0x2782b1=_0x53f8fb['isReady']?_0x53f8fb['diff']['newRevisionId']:null;_0x3eec57['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x2782b1);}['refresh'](){const {isReady:_0x55aa46,isEnabled:_0x2bb0c2}=this['editor']['plugins']['get'](d);this['isEnabled']=_0x55aa46&&_0x2bb0c2;}}class yt extends _0xf51837{['_step'];constructor(_0x2578bb,{direction:_0x312cfb}){super(_0x2578bb);const _0x518952=_0x2578bb['plugins']['get'](d);this['affectsData']=!0x1,this['_step']='forward'===_0x312cfb?0x1:-0x1,this['listenTo'](_0x518952,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x518952,'change:isEnabled',()=>this['refresh']()),this['listenTo'](_0x518952,'change:activeChange',()=>this['refresh']());}['execute'](){const _0xa413d0=this['editor'],_0x357004=_0xa413d0['plugins']['get'](d),{isNavigationMode:_0x45e9cc,currentChangeNumber:_0x25e946}=_0x357004;let _0x25b75f;if(_0x357004['activeChange']=_0x45e9cc?_0x357004['diff']['changes']['get'](_0x25e946+this['_step']):_0x357004['diff']['changes']['first'],_0x357004['activeChange']['data']['isOnRoot'])_0x25b75f=_0xa413d0['editing']['view']['getDomRoot'](_0x357004['activeChange']['rootName']);else{const _0x18f8a3=_0xa413d0['model']['markers']['get']('revision:'+_0x357004['activeChange']['id']);_0x25b75f=_0x2d6bd0(_0xa413d0['editing'],_0x18f8a3);}_0x30526b({'target':_0x25b75f,'viewportOffset':0x28});}['refresh'](){const {isNavigationMode:_0xc41c2b,currentChangeNumber:_0x23f9fb,numberOfChanges:_0x4d4037,isReady:_0x10223d,isEnabled:_0x5f4d26}=this['editor']['plugins']['get'](d);this['isEnabled']=!!(_0x5f4d26&&_0x10223d&&_0x4d4037)&&(!_0xc41c2b||(0x1===this['_step']?_0x23f9fb<_0x4d4037-0x1:_0x23f9fb>0x0));}}class _i extends _0x2d463e{constructor(_0x47427b){super(_0x47427b);const _0x4b3f03=this['bindTemplate'],_0x1a52b7=new _0x209397(_0x47427b),_0x373a69=new _0x209397(_0x47427b);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',(_0x312050,_0x3ee21b)=>_0x312050&&_0x3ee21b>0x0),this['bind']('_statusText')['to'](this,'isReady',this,'currentChangeNumber',this,'numberOfChanges',this,'isNavigationMode',(_0x2632fa,_0x21d5da,_0x1da2b8,_0x2fa1db)=>{if(!_0x2632fa)return y(_0x47427b,'Loading...');if(!_0x1da2b8)return y(_0x47427b,'No\x20changes');const _0x222b70=y(_0x47427b,'NUMBER_OF_CHANGES',_0x1da2b8);return _0x2fa1db?y(_0x47427b,'X_OF_Y_CHANGES',[_0x21d5da+0x1,_0x1da2b8]):_0x222b70;}),_0x1a52b7['set']({'label':y(_0x47427b,'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'}),_0x373a69['set']({'label':y(_0x47427b,'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'}),_0x1a52b7['bind']('isEnabled')['to'](this,'isBackwardNavigationEnabled'),_0x373a69['bind']('isEnabled')['to'](this,'isForwardNavigationEnabled'),_0x1a52b7['on']('execute',()=>this['fire']('execute','backward')),_0x373a69['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',_0x4b3f03['if']('_isStatusLabelVisible','ck-hidden',_0x2d3adb=>!_0x2d3adb)]},'children':[{'text':_0x4b3f03['to']('isNavigationMode',_0x58c0fc=>_0x58c0fc?y(_0x47427b,'EDIT_X_OF_Y_REVISIONS')+':\x20':y(_0x47427b,'Total')+':\x20')}]},{'text':_0x4b3f03['to']('_statusText')}]},new _0x587373(),{'tag':'div','attributes':{'class':['ck-revision-history-ui__changes-navigation__navigation']},'children':[_0x1a52b7,_0x373a69]}]});}}const ce='ck-editor__editable__loading-overlay';class de extends _0x2b7243{static get['pluginName'](){return'RevisionViewerLoadingOverlay';}['show'](){const _0x2eede3=this['editor']['editing']['view'];_0x2eede3['change'](_0x1bc407=>{for(const _0x53d2ef of _0x2eede3['document']['roots'])_0x1bc407['addClass'](ce,_0x53d2ef);});}['hide'](){const _0x534bf1=this['editor']['editing']['view'];_0x534bf1['change'](_0x4e7383=>{for(const _0x1afdde of _0x534bf1['document']['roots'])_0x4e7383['removeClass'](ce,_0x1afdde);});}}class R extends _0x2b7243{static get['pluginName'](){return'RevisionViewerUI';}static get['requires'](){return[d,de];}['init'](){const _0x99c3b6=this['editor'],_0x30cdea=_0x99c3b6['plugins']['get'](d),_0x1083b2=_0x99c3b6['plugins']['get'](de);_0x99c3b6['ui']['componentFactory']['add']('exitToEditing',_0x586cfc=>{const _0x265ef0=new _0x209397(_0x586cfc);return _0x265ef0['set']({'label':y(_0x586cfc,'Back\x20to\x20editing'),'icon':_0x299fa9['undo'],'withText':!0x0,'tooltip':!0x0,'class':'ck-revision-history-ui__back-to-editing'}),this['listenTo'](_0x265ef0,'execute',()=>{_0x99c3b6['config']['get']('revisionHistory')['closeRevisionViewerCallback']();}),_0x265ef0;}),_0x99c3b6['ui']['componentFactory']['add']('restoreRevision',_0x2a6987=>{const _0x1e7f10=new _0x209397(_0x2a6987);return _0x1e7f10['set']({'label':y(_0x2a6987,'Restore\x20this\x20revision'),'withText':!0x0,'tooltip':!0x0}),_0x1e7f10['bind']('isEnabled')['to'](_0x99c3b6['commands']['get']('restoreRevision')),this['listenTo'](_0x1e7f10,'execute',()=>_0x99c3b6['execute']('restoreRevision')),_0x1e7f10;}),_0x99c3b6['ui']['componentFactory']['add']('changesNavigation',_0x17c0a1=>{const _0x509d68=new _i(_0x17c0a1),_0x1f5fc3=_0x99c3b6['commands']['get']('showPreviousChange'),_0x47fa58=_0x99c3b6['commands']['get']('showNextChange');return _0x509d68['bind']('isBackwardNavigationEnabled')['to'](_0x1f5fc3,'isEnabled'),_0x509d68['bind']('isForwardNavigationEnabled')['to'](_0x47fa58,'isEnabled'),_0x509d68['bind']('isReady','currentChangeNumber','numberOfChanges','isNavigationMode')['to'](_0x30cdea),this['listenTo'](_0x509d68,'execute',(_0x37e4d2,_0xe2b591)=>{_0x99c3b6['execute']('forward'===_0xe2b591?'showNextChange':'showPreviousChange');}),_0x509d68;}),_0x1083b2['show'](),_0x30cdea['on']('change:isReady',(_0x3bed2e,_0x5225d4,_0x291f34)=>{_0x291f34?_0x1083b2['hide']():_0x1083b2['show']();});}}class kt extends at{['_resizeObserver']=null;constructor(_0x1d4878,_0x2463e6){super(_0x1d4878,_0x2463e6);const _0xaed220=this['bindTemplate'];this['set']({'label':y(_0x1d4878,'Revision\x20name'),'_tooltipString':''}),this['fieldView']['placeholder']=y(_0x1d4878,'Enter\x20the\x20revision\x20name'),this['extendTemplate']({'tag':'span','attributes':{'class':['ck-revision-history-sidebar__revision-name'],'data-cke-tooltip-text':_0xaed220['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 _0x24bb82=this['fieldView']['element'];this['_tooltipString']=_0x24bb82['scrollWidth']>_0x24bb82['clientWidth']&&_0x24bb82['value']||'';}}class ti extends _0x2d463e{constructor(_0x469121,_0x21e635,_0x28c486){super(_0x469121);const _0x113c42=new _0x595a2c();_0x113c42['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 _0xdb70b2=['ck','ck-revision-history-sidebar__revision-author'];_0x28c486&&_0xdb70b2['push']('ck-revision-history-sidebar__revision-author_creator');const _0x452ae4=[{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__revision-author__name'],'title':y(_0x469121,_0x28c486?'Revision\x20creator':'Revision\x20author')},'children':[_0x113c42,_0x21e635['name']]}];this['setTemplate']({'tag':'li','attributes':{'class':_0xdb70b2},'children':_0x452ae4});}}function ni(_0x4003fa,_0x5ca949){const _0x4046eb=_0x4003fa['bindTemplate'],_0x39ae01=_0x4003fa['locale'],_0x31dee6=_0x47478e(_0x39ae01);_0x31dee6['panelPosition']='sw';const _0x222e55=function(_0x8f8aed,_0x1e66f7){const _0x587b35=function(_0x582fea,_0x20f69a){const _0x3119c0=_0x582fea['locale'],_0x35f7da={'Compare\x20against\x20selected':y(_0x3119c0,'Compare\x20against\x20selected'),'Name\x20this\x20revision':y(_0x3119c0,'Name\x20this\x20revision'),'Restore\x20this\x20revision':y(_0x3119c0,'Restore\x20this\x20revision')};return _0x20f69a['map'](_0xc757d0=>{const _0x4f7bbb=_0x35f7da[_0xc757d0['name']];return _0x4f7bbb&&_0x4f7bbb!==_0xc757d0['name']&&(_0xc757d0['name']=_0x4f7bbb),_0xc757d0;});}(_0x8f8aed,_0x1e66f7),_0x1e6487=new _0x1efd7e();for(const _0x5eb9e6 of _0x587b35){const _0x299054={'type':'button','model':new to({'label':_0x5eb9e6['name'],'class':_0x5eb9e6['class'],'withText':!0x0,'role':'menuitem','_action':_0x5eb9e6['action']})};_0x299054['model']['bind']('isEnabled')['to'](_0x8f8aed,'isActionsDropdownOpen',_0x455b0b=>'function'!=typeof _0x5eb9e6['isEnabled']||(!_0x455b0b||_0x5eb9e6['isEnabled'](_0x8f8aed))),_0x1e6487['add'](_0x299054);}return _0x1e6487;}(_0x4003fa,_0x5ca949);return _0x4003fa['bind']('isActionsDropdownOpen')['to'](_0x31dee6,'isOpen'),_0x31dee6['buttonView']['set']({'label':y(_0x39ae01,'Show\x20more\x20items'),'tooltip':!0x0,'tooltipPosition':'sw','icon':_0x299fa9['threeVerticalDots']}),_0x31dee6['extendTemplate']({'attributes':{'class':['ck-revision-history-sidebar__revision__actions',_0x4046eb['if']('isActionsDropdownOpen','ck-on')]},'on':{'click':_0x4046eb['to'](_0x17e475=>_0x17e475['stopPropagation']())}}),_0x31dee6['on']('execute',_0xf0b845=>{_0x4003fa['isReady']&&'function'==typeof _0xf0b845['source']['_action']&&_0xf0b845['source']['_action'](_0x4003fa);}),_0x1bbad1(_0x31dee6,_0x222e55,{'role':'menu'}),_0x31dee6['listenTo'](_0x4003fa,'change:isActionsDropdownOpen',(_0x9e0bfc,_0x35375f,_0x2fdaf4)=>{if(_0x2fdaf4)for(const _0x4131f4 of _0x31dee6['listView']['items']){const _0x2ab4c1=_0x4131f4['children']['first'],_0x2cc44a=_0x5ca949['find'](_0x7a65fb=>_0x7a65fb['action']===_0x2ab4c1['_action'])['isVisible'];_0x4131f4['isVisible']=void 0x0===_0x2cc44a||_0x2cc44a(_0x4003fa);}}),_0x31dee6;}class ai extends/* #__PURE__ -- @preserve */
26
+ _0x5f40e1(_0x2d463e){['id'];['revisionNameView'];['revisionActionsView'];['_revision'];['_requireRevisionName'];constructor(_0x46ac50,_0x24d118,_0x54a9d3,_0x1bf85d){super(_0x46ac50);const _0x3cd040=this['bindTemplate'],_0x1d75bc=function(_0x1ed51b,_0x56f279){const _0x14b0e7=Array['from'](_0x56f279['authors'])['filter'](_0x32372c=>_0x32372c!=_0x56f279['creator']);return _0x56f279['creator']&&_0x14b0e7['unshift'](_0x56f279['creator']),_0x14b0e7['map'](_0x1683cc=>new ti(_0x1ed51b,_0x1683cc,_0x1683cc==_0x56f279['creator']));}(_0x46ac50,_0x24d118);this['id']=_0x24d118['id'],this['_revision']=_0x24d118,this['_requireRevisionName']=_0x1bf85d,this['bind']('name','createdAt')['to'](_0x24d118),this['bind']('_createdAtFormatted')['to'](this,'createdAt',_0xaa1836=>{return _0x5a3efb=_0x46ac50['uiLanguage'],(_0x608b35=_0xaa1836)['toLocaleDateString'](_0x5a3efb,{'month':'long','day':'numeric'})+',\x20'+_0x608b35['toLocaleTimeString'](_0x5a3efb,{'hour':'numeric','minute':'numeric'});var _0x5a3efb,_0x608b35;}),this['set']('isSelected',!0x1),this['set']('isHighlighted',!0x1),this['set']('isActionsDropdownOpen',!0x1),this['set']('isReady',!0x1),this['set']('isEnabled',!0x1),this['revisionNameView']=new kt(_0x46ac50,_0x112e22),this['revisionNameView']['fieldView']['extendTemplate']({'attributes':{'maxlength':'220'}}),this['revisionNameView']['fieldView']['bind']('value')['to'](this,'name',_0x4a265e=>_0x4a265e||this['_createdAtFormatted']),this['revisionNameView']['bind']('isEnabled')['to'](this,'isSelected',this,'isEnabled',(_0x534092,_0x1b6a0e)=>_0x534092&&_0x1b6a0e),this['revisionActionsView']=_0x54a9d3&&_0x54a9d3['length']?ni(this,_0x54a9d3):'',this['revisionActionsView']&&this['revisionActionsView']['bind']('isEnabled')['to'](this),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision-wrapper',_0x3cd040['if']('isConfirm','ck-revision-history-sidebar__revision-wrapper_confirmation_visible')]},'children':[{'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision',_0x3cd040['if']('isEnabled','ck-disabled',_0x2decef=>!_0x2decef),_0x3cd040['if']('isSelected','ck-revision-history-sidebar__revision_selected'),_0x3cd040['if']('isHighlighted','ck-revision-history-sidebar__revision_highlighted'),_0x3cd040['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':_0x3cd040['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':_0x1d75bc}]},this['revisionActionsView']],'on':{'click':_0x3cd040['to'](_0x32c95e=>{_0x32c95e['srcElement']['closest']('.ck-thread__remove-confirm')||this['isReady']&&this['isEnabled']&&this['fire']('select',{'id':this['id']});})}}]});}['render'](){super['render']();const _0x55532a=this['revisionNameView']['fieldView']['element'];this['listenTo'](_0x55532a,'change',()=>{this['_requireRevisionName']&&!_0x55532a['value']||this['fire']('setName',{'id':this['id'],'name':_0x55532a['value']}),_0x55532a['value']||(_0x55532a['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(_0x977156,_0x35d9f8){const _0x45aa3a=_0x5055aa['fromJSDate'](_0x977156)['setLocale'](_0x35d9f8),_0x45b44f=_0x5055aa['local'](),_0x238dca=_0x45b44f['minus']({'days':0x1})['startOf']('day');let _0x47a295,_0x162c50;return _0x45aa3a['hasSame'](_0x45b44f,'day')?(_0x47a295=_0x45aa3a['startOf']('day')['toJSDate'](),_0x162c50=_0x45aa3a['toRelativeCalendar']()):_0x45aa3a['hasSame'](_0x238dca,'day')?(_0x47a295=_0x238dca['toJSDate'](),_0x162c50=_0x45aa3a['toRelativeCalendar']()):_0x45aa3a['hasSame'](_0x45b44f,'week')?(_0x47a295=_0x45aa3a['startOf']('week')['toJSDate'](),_0x162c50=_0x45aa3a['weekdayLong']||''):_0x45aa3a['hasSame'](_0x45b44f,'year')?(_0x47a295=_0x45aa3a['startOf']('month')['toJSDate'](),_0x162c50=_0x45aa3a['monthLong']||''):(_0x47a295=_0x45aa3a['startOf']('year')['toJSDate'](),_0x162c50=String(_0x45aa3a['year'])),{'startDate':_0x47a295,'localizedPeriodName':_0x162c50};}class mi extends _0x2d463e{['startDate'];['revisionViews'];['_revisionActions'];['_requireRevisionName'];constructor(_0x1d1d84,_0x4b0d58,_0x9a1621,_0x2825b8){super(_0x1d1d84);const _0x2c8a82=di(_0x4b0d58,this['locale']['uiLanguage'])['localizedPeriodName'];this['startDate']=_0x4b0d58,this['revisionViews']=this['createCollection'](),this['_revisionActions']=_0x9a1621,this['_requireRevisionName']=_0x2825b8,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':_0x2c8a82}]},{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__time-period__revisions']},'children':this['revisionViews']}]});}['addRevision'](_0x7f09a3){const _0x5bf35b=new ai(this['locale'],_0x7f09a3,this['_revisionActions'],this['_requireRevisionName']);this['revisionViews']['add'](_0x5bf35b);}['removeRevision'](_0x1de306){const _0xaad672=this['revisionViews']['find'](_0x58e229=>_0x58e229['id']===_0x1de306['id']);this['revisionViews']['remove'](_0xaad672);}}class as extends _0x2d463e{constructor(_0x21a72f){super(_0x21a72f);const _0x3b8fdb=new _0x595a2c();_0x3b8fdb['content']=_0x299fa9['history'],this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all','ck-revision-history-sidebar__header']},'children':[_0x3b8fdb,{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__header__label']},'children':[y(_0x21a72f,'Revision\x20history')]}]});}}class ci extends _0x2d463e{['timePeriodViews'];['_revisions'];['_revisionActions'];['_requireRevisionName'];constructor(_0x8f8da7,_0x4fa9ac,_0xf1f57,_0x43d120){super(_0x8f8da7);const _0x24fbdc=this['bindTemplate'];this['timePeriodViews']=this['createCollection'](),this['timePeriodViews']['delegate']('select')['to'](this),this['timePeriodViews']['delegate']('setName')['to'](this),this['_revisions']=_0x4fa9ac,this['_revisionActions']=_0xf1f57,this['_requireRevisionName']=_0x43d120,this['on']('select',(_0x3df1b9,_0x3a2981)=>{this['fire']('revisionSelected',_0x3a2981);}),this['on']('setName',(_0x5cde26,_0x9460e1)=>{this['fire']('revisionSetName',_0x9460e1);}),this['set']('isEnabled',!0x1),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-rounded-corners','ck-revision-history-sidebar']},'children':[new as(_0x8f8da7),{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__timeline',_0x24fbdc['if']('isEnabled','ck-disabled',_0x2347d3=>!_0x2347d3)]},'children':this['timePeriodViews']}]});}['render'](){super['render']();for(const _0x21afca of this['_revisions'])this['_addRevision'](_0x21afca);this['_revisions']['on']('add',(_0x555e65,_0x1a5c08)=>{this['_addRevision'](_0x1a5c08);}),this['_revisions']['on']('remove',(_0x546051,_0x31c84f)=>{this['_removeRevision'](_0x31c84f);});}get['revisionViews'](){return this['timePeriodViews']['map'](_0x3a3a07=>_0x3a3a07['revisionViews']['map'](_0x53e38f=>_0x53e38f))['flat']();}['selectRevision'](_0x3f971e){for(const _0x5a97ed of this['revisionViews'])_0x3f971e&&_0x3f971e['id']===_0x5a97ed['id']?_0x5a97ed['select']():_0x5a97ed['deselect']();}['highlightRevisions'](_0x57f156){for(const _0x4d9c86 of this['revisionViews'])_0x57f156['some'](({id:_0xd300f7})=>_0xd300f7===_0x4d9c86['id'])?_0x4d9c86['highlight']():_0x4d9c86['unhighlight']();}['_addRevision'](_0x1be652){const _0x42a10f=di(_0x1be652['createdAt'],this['locale']['uiLanguage'])['startDate'];let _0x1f90d1=this['timePeriodViews']['get'](0x0);_0x1f90d1&&_0x1f90d1['startDate']['getTime']()===_0x42a10f['getTime']()||(_0x1f90d1=new mi(this['locale'],_0x42a10f,this['_revisionActions'],this['_requireRevisionName']),this['timePeriodViews']['add'](_0x1f90d1)),_0x1f90d1['addRevision'](_0x1be652);}['_removeRevision'](_0x4bdd13){const _0x3b41fb=di(_0x4bdd13['createdAt'],this['locale']['uiLanguage'])['startDate'];this['_getTimePeriodViewByStartDate'](_0x3b41fb)['removeRevision'](_0x4bdd13);}['_getTimePeriodViewByStartDate'](_0x49e853){return this['timePeriodViews']['find'](_0x10f3be=>_0x10f3be['startDate']['getTime']()===_0x49e853['getTime']());}}class w extends _0x2b7243{['_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(_0x5aef19){super(_0x5aef19),this['_revisionViewer']=_0x5aef19['plugins']['get'](d),this['_revisionsRepository']=this['_revisionViewer']['repository'],this['_sidebarView']=null;}['init'](){const _0x2e0c9e=this['_revisionsRepository']['_revisions'],_0x1b56fc=this['_createRevisionActions'](),_0x905ddd=this['editor']['config']['get']('revisionHistory.viewerSidebarContainer');this['_sidebarView']=new ci(this['editor']['locale'],_0x2e0c9e,_0x1b56fc,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',(_0x252e3f,_0x345f12)=>{_0x345f12['revisionViews']['on']('add',(_0x5b2195,_0xa7b76b)=>{_0xa7b76b['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)),_0x905ddd['appendChild'](this['_sidebarView']['element']);}['destroy'](){this['_sidebarView']['element']['remove'](),this['_sidebarView']['destroy']();}['_handleEditorDataReady'](){const _0x4a2163=this['_revisionsRepository']['getRevision'](0x0);if(_0x4a2163){const _0x5d9507=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x4a2163['id']);this['_revisionViewer']['compare'](_0x4a2163,_0x5d9507);}}['_handleRevisionSelected'](_0x5eb4df,_0x1ea6a8){const _0x4e3b10=this['_revisionsRepository']['getRevision'](_0x1ea6a8['id']),_0x2b5e0b=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x4e3b10['id']);this['_revisionViewer']['compare'](_0x4e3b10,_0x2b5e0b);}['_handleRevisionSetName'](_0x747059,_0x2b0b57){this['_revisionsRepository']['getRevision'](_0x2b0b57['id'])['setName'](_0x2b0b57['name']);}['_handleDiffChange'](_0x43e954,_0x560b5c,_0x402fad){const _0x338901=this['_revisionsRepository']['getRevisionsInDiff'](_0x402fad);_0x338901['length']>0x2?(this['_sidebarView']['highlightRevisions'](_0x338901),this['_sidebarView']['selectRevision'](null)):(this['_sidebarView']['highlightRevisions']([]),this['_sidebarView']['selectRevision'](_0x338901[0x0]));}['_createRevisionActions'](){const _0x1abbc7=this['editor'],_0x4e9473=w['availableRevisionActions'],_0x2034dc=_0x1abbc7['config']['get']('revisionHistory.revisionActions')||w['defaultRevisionActions'];if(_0x2034dc['length'])return _0x2034dc['map'](_0x25bd31=>{const _0x201974='string'==typeof _0x25bd31?Object['assign']({},_0x4e9473[_0x25bd31]):_0x25bd31;return _0x201974['action']=_0x201974['action']['bind'](this,_0x1abbc7),_0x201974['isVisible']&&(_0x201974['isVisible']=_0x201974['isVisible']['bind'](this,_0x1abbc7)),_0x201974;});}}function Rt(){return{'compareAgainstSelected':{'name':'Compare\x20against\x20selected','action':({plugins:_0x57abbb},_0x4d211a)=>{const _0x453e2b=_0x57abbb['get'](d),_0x54eb79=_0x453e2b['repository'];let _0x3823ec=_0x453e2b['diff']['newRevisionId'],_0x3d164c=_0x4d211a['id'];_0x54eb79['getIndex'](_0x3823ec)>_0x54eb79['getIndex'](_0x3d164c)&&([_0x3823ec,_0x3d164c]=[_0x3d164c,_0x3823ec]),_0x453e2b['compare'](_0x3823ec,_0x3d164c);},'isVisible':({plugins:_0x575b13},_0x4aded1)=>{const _0xc482e8=_0x575b13['get'](d);return!(_0xc482e8['repository']['getRevisionsInDiff'](_0xc482e8['diff'])['length']>0x2)&&!_0x4aded1['isSelected'];}},'restoreRevision':{'name':'Restore\x20this\x20revision','action':(_0x861f38,{id:_0x52e8d2})=>{_0x861f38['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x52e8d2);},'isVisible':({plugins:_0x372d68},_0x1f5b1a)=>!!_0x372d68['get'](d)['repository']['getLaterVisibleRevision'](_0x1f5b1a['id'])},'nameRevision':{'name':'Name\x20this\x20revision','action':({plugins:_0x5301df},{id:_0x28d8ec,revisionNameView:_0x221fdf})=>{const _0x13bf12=_0x5301df['get'](d),_0x2266f6=_0x13bf12['repository']['getEarlierVisibleRevision'](_0x28d8ec);_0x13bf12['compare'](_0x28d8ec,_0x2266f6),_0x221fdf['focus'](),_0x221fdf['fieldView']['select']();}}};}class st extends ht{['_view'];['_toolbarConfig'];['_elementReplacer'];get['view'](){return this['_view'];}constructor(_0x126a52,_0xe5b372){super(_0x126a52),this['_view']=_0xe5b372,this['_toolbarConfig']=ct(_0x126a52['config']['get']('toolbar')),this['_elementReplacer']=new nt();}get['element'](){return this['view']['element'];}['init'](_0x1eb51e){const _0x62cd80=this['editor'],_0xb466b0=this['view'],_0x5222fe=_0x62cd80['editing']['view'],_0x1cd45b=_0xb466b0['editable'],_0x193ae1=_0x5222fe['document']['getRoot']();_0x1cd45b['name']=_0x193ae1['rootName'],_0xb466b0['render']();const _0xe1088b=_0x1cd45b['element'];this['setEditableElement'](_0x1cd45b['name'],_0xe1088b),_0xb466b0['editable']['bind']('isFocused')['to'](this['focusTracker']),_0x5222fe['attachDomRoot'](_0xe1088b),this['_elementReplacer']['replace'](_0x1eb51e,this['element']),this['_initToolbar'](),this['fire']('ready');}['destroy'](){super['destroy']();const _0x36460f=this['view'],_0x2d1d6c=this['editor']['editing']['view'];this['_elementReplacer']['restore'](),_0x2d1d6c['detachDomRoot'](_0x36460f['editable']['name']),_0x36460f['destroy']();}['_initToolbar'](){const _0x4bf286=this['view'];_0x4bf286['stickyPanel']['bind']('isActive')['to'](this['focusTracker'],'isFocused'),_0x4bf286['stickyPanel']['limiterElement']=_0x4bf286['element'],_0x4bf286['stickyPanel']['bind']('viewportTopOffset')['to'](this,'viewportOffset',({top:_0x279e39})=>_0x279e39),_0x4bf286['toolbar']['fillFromConfig'](this['_toolbarConfig'],this['componentFactory']),this['addToolbar'](_0x4bf286['toolbar']);}}class ot extends dt{['_editable'];['stickyPanel'];['toolbar'];get['editable'](){return this['_editable'];}constructor(_0x296581,_0x45f64d,_0x55ec03={}){super(_0x296581),this['stickyPanel']=new lt(_0x296581),this['toolbar']=new pt(_0x296581,{'shouldGroupWhenFull':_0x55ec03['shouldToolbarGroupWhenFull']}),this['_editable']=new ut(_0x296581,_0x45f64d);}['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(_0x31b55c,_0x4f0d10){super(_0x4f0d10),this['sourceElement']=_0x31b55c,this['model']['document']['createRoot']();const _0x47b8a2=new ot(this['locale'],this['editing']['view'],{'shouldToolbarGroupWhenFull':!0x0});this['_ui']=new st(this,_0x47b8a2);}['destroy'](){return this['updateSourceElement'](),this['ui']['destroy'](),super['destroy']();}static async['create'](_0x1f20e1,_0x48b795){const _0x1019d4=new this(_0x1f20e1,_0x48b795);return await _0x1019d4['initPlugins'](),await _0x1019d4['ui']['init'](_0x1f20e1),await _0x1019d4['data']['init'](_0x1019d4['config']['get']('initialData')||''),_0x1019d4['fire']('ready'),_0x1019d4;}}const p=['RevisionHistoryUI','RestrictedEditingMode'];class k extends _0x501546{['result'];static get['pluginName'](){return'RevisionViewerIntegration';}constructor(_0x4bbafc){super(_0x4bbafc),this['result']='end';}}class H extends _0x501546{['_viewerEditor'];static get['pluginName'](){return'RevisionHistory';}static get['requires'](){return[l,u];}constructor(_0x34549b){if(super(_0x34549b),!this['editor']['config']['get']('revisionHistory'))throw new _0x437394('revision-history-missing-configuration',this);this['_viewerEditor']=null,this['editor']['config']['define']('revisionHistory.showRevisionViewerCallback',_0x60fd5b=>this['_showRevisionViewer']({..._0x60fd5b,'translations':this['editor']['locale']['translations']})),this['editor']['config']['define']('revisionHistory.closeRevisionViewerCallback',_0x2beba9=>this['_closeRevisionViewer'](_0x2beba9)),this['editor']['config']['define']('revisionHistory.restoreRevisionCallback',_0x59f035=>this['_restoreRevision'](_0x59f035)),this['editor']['config']['define']('revisionHistory.requireRevisionName',!0x1),this['_enhanceShowRevisionViewerCallback'](),this['_enhanceCloseRevisionViewerCallback']();}set['adapter'](_0x2ad4ab){this['editor']['plugins']['get']('RevisionTracker')['adapter']=_0x2ad4ab;}get['adapter'](){return this['editor']['plugins']['get']('RevisionTracker')['adapter'];}['addRevisionData'](_0xf9bdc2){return this['editor']['plugins']['get']('RevisionTracker')['addRevisionData'](_0xf9bdc2);}['getRevision'](_0x4feed3){return this['editor']['plugins']['get']('RevisionsRepository')['getRevision'](_0x4feed3);}['getRevisions'](_0x2e5035){return this['editor']['plugins']['get']('RevisionsRepository')['getRevisions'](_0x2e5035||{'toJSON':!0x1});}['_getRevisionViewerEditorConfig'](){const _0x5ce057=this['editor'],_0x5f3b93=_0x8888e8(_0x5ce057,p),_0x31aeb3=_0x5ce057['plugins']['get']('RevisionTracker'),_0x228833=_0x5ce057['plugins']['get']('Users')['users'];return _0x5f3b93['toolbar']=['exitToEditing','restoreRevision','changesNavigation'],delete _0x5f3b93['lazyRoots'],(_0x5f3b93['plugins']['push'](k,d,R,class extends _0x501546{static get['requires'](){return[d,'Users'];}['init'](){const _0x3dfd9d=this['editor']['plugins']['get']('Users');for(const _0x4ea3dc of _0x228833)_0x4ea3dc['isAnonymous']||_0x3dfd9d['getUser'](_0x4ea3dc['id'])||_0x3dfd9d['addUser'](_0x4ea3dc);const _0x227ff7=_0x31aeb3['repository']['getRevisions']();let _0x3e7ae9=null;const _0x256985=this['editor']['plugins']['get']('RevisionViewer');_0x256985['adapter']=_0x31aeb3['adapter'],_0x256985['bind']('isEnabled')['to'](_0x31aeb3),this['editor']['commands']['get']('restoreRevision')['bind']('isEnabled')['to'](_0x5ce057,'isReadOnly',_0x7e838=>!_0x7e838);for(const _0x13098c of _0x227ff7){const _0x1a2e5c=null===_0x13098c['creator'];if(_0x1a2e5c&&_0x13098c['toVersion']===_0x13098c['fromVersion'])continue;const _0x3e2aa2=_0x13098c['toJSON']();_0x256985['addRevisionData'](_0x3e2aa2,(_0x28836,_0x59e55b,_0x23e420)=>{if(_0x1a2e5c){if(_0x3e7ae9)_0x3e7ae9['_update'](_0x28836,_0x59e55b);else{if(!_0x59e55b){const _0x36e443=_0x23e420['toJSON']();_0x36e443['id']=_0x1ad7f6(),_0x31aeb3['saveRevision'](_0x36e443,_0x23e420['toVersion'])['then'](_0x5c5bae=>{_0x3e7ae9=_0x5c5bae;});}}}else _0x13098c['_update'](_0x28836,_0x59e55b);});}}},w),_0x5f3b93);}['_enhanceShowRevisionViewerCallback'](){const _0xe9ca3d=this['editor']['config']['get']('revisionHistory')['showRevisionViewerCallback'];this['editor']['config']['set']('revisionHistory.showRevisionViewerCallback',async()=>{this['editor']['enableReadOnlyMode']('revision-history-viewer-opened');const _0x2707a4=this['editor']['plugins']['get']('RevisionTracker');if(this['editor']['plugins']['has']('Autosave')){const _0xd0aa95=this['editor']['plugins']['get']('Autosave');await _0xd0aa95['save']();}else await _0x2707a4['update']();if(this['editor']['plugins']['has']('PaginationLookup')&&this['editor']['plugins']['get']('PaginationLookup')['_recalculatePageBreaks'](),this['editor']['plugins']['has']('Dialog')){const _0x40f5ad=this['editor']['plugins']['get']('Dialog');_0x40f5ad['isOpen']&&_0x40f5ad['hide']();}const _0x54b5af=this['_getRevisionViewerEditorConfig']();return _0xe9ca3d(_0x54b5af)['then'](_0x70ed38=>{return(this['_viewerEditor']=_0x70ed38,this['editor']['plugins']['has']('Annotations'))&&this['editor']['plugins']['get']('Annotations')['refreshVisibility'](),_0x70ed38;})['catch'](_0x693631=>(console['error'](_0x693631),this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),null));});}['_enhanceCloseRevisionViewerCallback'](){const _0x213faa=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'](),_0x213faa(this['_viewerEditor'])['then'](()=>{if(this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),this['_viewerEditor']=null,this['editor']['plugins']['has']('Annotations')){const _0x972a3d=this['editor']['plugins']['get']('Annotations');_0x972a3d['refreshVisibility'](),_0x972a3d['refreshPositioning']();}})));}['_showRevisionViewer'](_0x5d9d00){const _0x4fc942=this['editor']['config']['get']('revisionHistory.editorContainer'),_0x516c7e=this['editor']['config']['get']('revisionHistory.viewerContainer'),_0x5d071f=this['editor']['config']['get']('revisionHistory.viewerEditorElement');return m['create'](_0x5d071f,_0x5d9d00)['then'](_0x3e8ab2=>(_0x516c7e['style']['display']='block',_0x4fc942['style']['display']='none',_0x3e8ab2));}['_closeRevisionViewer'](_0x42d3c7){const _0x45d523=this['editor']['config']['get']('revisionHistory.editorContainer');return this['editor']['config']['get']('revisionHistory.viewerContainer')['style']['display']='none',_0x45d523['style']['display']='',_0x42d3c7['destroy']();}async['_restoreRevision'](_0x133af8){const _0x132034=this['editor'],_0x40cbb7=this['_viewerEditor']['plugins']['get']('RevisionViewer'),_0x44e557=_0x132034['plugins']['get']('RevisionTracker'),_0x1c3556=_0x40cbb7['repository']['getRevision'](_0x133af8);let _0x434545,_0x1df764,_0x4befd7;try{_0x434545=await _0x40cbb7['getRevisionData'](_0x1c3556),_0x1df764=await _0x40cbb7['getRevisionRootsAttributes'](_0x1c3556);}catch(_0x27c386){return void console['error'](_0x27c386);}_0x132034['model']['change'](_0x2bd518=>{for(const _0x3b8ab5 of Array['from'](_0x132034['model']['markers']['getMarkersGroup']('restrictedEditingException')))_0x2bd518['removeMarker'](_0x3b8ab5);}),_0x40cbb7['isReady']=!0x1,_0x132034['model']['enqueueChange'](_0x65ab90=>{_0x65ab90['setSelection'](null),_0x65ab90['removeSelectionAttribute'](_0x132034['model']['document']['selection']['getAttributeKeys']());const _0x415769=Object['keys'](_0x434545);for(const _0x24b161 of _0x132034['model']['document']['roots'])'$graveyard'!=_0x24b161['rootName']&&_0x24b161['isAttached']()&&!_0x415769['includes'](_0x24b161['rootName'])&&_0x65ab90['detachRoot'](_0x24b161);for(const _0x137725 of _0x415769){let _0x4340e8=_0x132034['model']['document']['getRoot'](_0x137725);_0x4340e8&&_0x4340e8['isAttached']()||(_0x4340e8=_0x65ab90['addRoot'](_0x137725));const _0x48b713=_0x1df764[_0x137725],_0x2ceadd=Object['keys'](_0x48b713),_0x49b24e=_0x434545[_0x137725];for(const _0x2f027f of _0x4340e8['getAttributeKeys']())_0x2ceadd['includes'](_0x2f027f)||_0x65ab90['removeAttribute'](_0x2f027f,_0x4340e8);for(const _0x47f30e of _0x2ceadd)_0x65ab90['setAttribute'](_0x47f30e,_0x1df764[_0x137725][_0x47f30e],_0x4340e8);_0x65ab90['remove'](_0x65ab90['createRangeIn'](_0x4340e8)),_0x65ab90['insert'](_0x132034['data']['parse'](_0x49b24e,_0x4340e8),_0x4340e8,0x0);}});const _0x3c5adb=y(_0x132034['locale'],'Restored');if(_0x1c3556['name'])_0x4befd7=-0x1==_0x1c3556['name']['indexOf'](_0x3c5adb)?_0x3c5adb+':\x20'+_0x1c3556['name']:_0x1c3556['name'];else _0x4befd7=_0x3c5adb+':\x20'+(_0x1c3556['createdAt']['toLocaleDateString'](_0x132034['locale']['uiLanguage'],{'month':'long','day':'numeric'})+',\x20'+_0x1c3556['createdAt']['toLocaleTimeString'](_0x132034['locale']['uiLanguage'],{'hour':'numeric','minute':'numeric'}));return await _0x44e557['saveRevision']({'name':_0x4befd7}),_0x40cbb7['isReady']=!0x0,_0x132034['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(_0x192ff9){super(_0x192ff9),this['_revisionViewer']=_0x192ff9['plugins']['get'](d),this['_revisionsRepository']=this['_revisionViewer']['repository'],this['_sidebarView']=null;}['init'](){const _0x240f82=this['_revisionsRepository']['_revisions'],_0x47ecfb=this['_createRevisionActions'](),_0x311600=this['editor']['config']['get']('revisionHistory.viewerSidebarContainer');this['_sidebarView']=new ci(this['editor']['locale'],_0x240f82,_0x47ecfb,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',(_0x5c579e,_0x1a7ac9)=>{_0x1a7ac9['revisionViews']['on']('add',(_0x1170ef,_0x36a4ab)=>{_0x36a4ab['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)),_0x311600['appendChild'](this['_sidebarView']['element']);}['destroy'](){this['_sidebarView']['element']['remove'](),this['_sidebarView']['destroy']();}['_handleEditorDataReady'](){const _0x4ab10b=this['_revisionsRepository']['getRevision'](0x0);if(_0x4ab10b){const _0x27e396=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x4ab10b['id']);this['_revisionViewer']['compare'](_0x4ab10b,_0x27e396);}}['_handleRevisionSelected'](_0x4f84d7,_0x3fd67d){const _0x211266=this['_revisionsRepository']['getRevision'](_0x3fd67d['id']),_0x2e459f=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x211266['id']);this['_revisionViewer']['compare'](_0x211266,_0x2e459f);}['_handleRevisionSetName'](_0x4c1df1,_0x11b8af){this['_revisionsRepository']['getRevision'](_0x11b8af['id'])['setName'](_0x11b8af['name']);}['_handleDiffChange'](_0x291743,_0x46d944,_0x40976f){const _0x533769=this['_revisionsRepository']['getRevisionsInDiff'](_0x40976f);_0x533769['length']>0x2?(this['_sidebarView']['highlightRevisions'](_0x533769),this['_sidebarView']['selectRevision'](null)):(this['_sidebarView']['highlightRevisions']([]),this['_sidebarView']['selectRevision'](_0x533769[0x0]));}['_createRevisionActions'](){const _0x2b77ba=this['editor'],_0x4c185b=w['availableRevisionActions'],_0x43f4c8=_0x2b77ba['config']['get']('revisionHistory.revisionActions')||w['defaultRevisionActions'];if(_0x43f4c8['length'])return _0x43f4c8['map'](_0x4ec272=>{const _0x4b4e53='string'==typeof _0x4ec272?Object['assign']({},_0x4c185b[_0x4ec272]):_0x4ec272;return _0x4b4e53['action']=_0x4b4e53['action']['bind'](this,_0x2b77ba),_0x4b4e53['isVisible']&&(_0x4b4e53['isVisible']=_0x4b4e53['isVisible']['bind'](this,_0x2b77ba)),_0x4b4e53;});}}function Rt(){return{'compareAgainstSelected':{'name':'Compare\x20against\x20selected','action':({plugins:_0x10ca85},_0x1c1665)=>{const _0x3791c1=_0x10ca85['get'](d),_0x4afb06=_0x3791c1['repository'];let _0x2b64a7=_0x3791c1['diff']['newRevisionId'],_0x182405=_0x1c1665['id'];_0x4afb06['getIndex'](_0x2b64a7)>_0x4afb06['getIndex'](_0x182405)&&([_0x2b64a7,_0x182405]=[_0x182405,_0x2b64a7]),_0x3791c1['compare'](_0x2b64a7,_0x182405);},'isVisible':({plugins:_0x261430},_0x18b67f)=>{const _0x41e330=_0x261430['get'](d);return!(_0x41e330['repository']['getRevisionsInDiff'](_0x41e330['diff'])['length']>0x2)&&!_0x18b67f['isSelected'];}},'restoreRevision':{'name':'Restore\x20this\x20revision','action':(_0x1364d1,{id:_0x57189e})=>{_0x1364d1['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x57189e);},'isVisible':({plugins:_0x82a742},_0x1bcc9c)=>!!_0x82a742['get'](d)['repository']['getLaterVisibleRevision'](_0x1bcc9c['id'])},'nameRevision':{'name':'Name\x20this\x20revision','action':({plugins:_0x4a43e2},{id:_0x4b95d4,revisionNameView:_0x2ff6f3})=>{const _0x1fe16b=_0x4a43e2['get'](d),_0x5524c6=_0x1fe16b['repository']['getEarlierVisibleRevision'](_0x4b95d4);_0x1fe16b['compare'](_0x4b95d4,_0x5524c6),_0x2ff6f3['focus'](),_0x2ff6f3['fieldView']['select']();}}};}class st extends ht{['_view'];['_toolbarConfig'];['_elementReplacer'];get['view'](){return this['_view'];}constructor(_0x4ac571,_0x2009c2){super(_0x4ac571),this['_view']=_0x2009c2,this['_toolbarConfig']=ct(_0x4ac571['config']['get']('toolbar')),this['_elementReplacer']=new nt();}get['element'](){return this['view']['element'];}['init'](_0x39b342){const _0x441d4e=this['editor'],_0x4e7574=this['view'],_0x1aedae=_0x441d4e['editing']['view'],_0x53d8d1=_0x4e7574['editable'],_0x1cdf6d=_0x1aedae['document']['getRoot']();_0x53d8d1['name']=_0x1cdf6d['rootName'],_0x4e7574['render']();const _0x72c963=_0x53d8d1['element'];this['setEditableElement'](_0x53d8d1['name'],_0x72c963),_0x4e7574['editable']['bind']('isFocused')['to'](this['focusTracker']),_0x1aedae['attachDomRoot'](_0x72c963),this['_elementReplacer']['replace'](_0x39b342,this['element']),this['_initToolbar'](),this['fire']('ready');}['destroy'](){super['destroy']();const _0x5a9df0=this['view'],_0x3cae5e=this['editor']['editing']['view'];this['_elementReplacer']['restore'](),_0x3cae5e['detachDomRoot'](_0x5a9df0['editable']['name']),_0x5a9df0['destroy']();}['_initToolbar'](){const _0x1989cc=this['view'];_0x1989cc['stickyPanel']['bind']('isActive')['to'](this['focusTracker'],'isFocused'),_0x1989cc['stickyPanel']['limiterElement']=_0x1989cc['element'],_0x1989cc['stickyPanel']['bind']('viewportTopOffset')['to'](this,'viewportOffset',({top:_0x56b8e8})=>_0x56b8e8),_0x1989cc['toolbar']['fillFromConfig'](this['_toolbarConfig'],this['componentFactory']),this['addToolbar'](_0x1989cc['toolbar']);}}class ot extends dt{['_editable'];['stickyPanel'];['toolbar'];get['editable'](){return this['_editable'];}constructor(_0x1bfb4b,_0x25d96b,_0x98428b={}){super(_0x1bfb4b),this['stickyPanel']=new lt(_0x1bfb4b),this['toolbar']=new pt(_0x1bfb4b,{'shouldGroupWhenFull':_0x98428b['shouldToolbarGroupWhenFull']}),this['_editable']=new ut(_0x1bfb4b,_0x25d96b);}['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(_0x429e40,_0x5dbdc9){super(_0x5dbdc9),this['sourceElement']=_0x429e40,this['model']['document']['createRoot']();const _0x3db310=new ot(this['locale'],this['editing']['view'],{'shouldToolbarGroupWhenFull':!0x0});this['_ui']=new st(this,_0x3db310);}['destroy'](){return this['updateSourceElement'](),this['ui']['destroy'](),super['destroy']();}static async['create'](_0x2b64db,_0xf21cbf){const _0x4a0cff=new this(_0x2b64db,_0xf21cbf);return await _0x4a0cff['initPlugins'](),await _0x4a0cff['ui']['init'](_0x2b64db),await _0x4a0cff['data']['init'](_0x4a0cff['config']['get']('initialData')||''),_0x4a0cff['fire']('ready'),_0x4a0cff;}}const p=['RevisionHistoryUI','RestrictedEditingMode'];class k extends _0x2b7243{['result'];static get['pluginName'](){return'RevisionViewerIntegration';}constructor(_0x245dab){super(_0x245dab),this['result']='end';}}class H extends _0x2b7243{['_viewerEditor'];static get['pluginName'](){return'RevisionHistory';}static get['requires'](){return[l,u];}constructor(_0x50710d){if(super(_0x50710d),!this['editor']['config']['get']('revisionHistory'))throw new _0x22536d('revision-history-missing-configuration',this);this['_viewerEditor']=null,this['editor']['config']['define']('revisionHistory.showRevisionViewerCallback',_0x446a1d=>this['_showRevisionViewer']({..._0x446a1d,'translations':this['editor']['locale']['translations']})),this['editor']['config']['define']('revisionHistory.closeRevisionViewerCallback',_0x2ca052=>this['_closeRevisionViewer'](_0x2ca052)),this['editor']['config']['define']('revisionHistory.restoreRevisionCallback',_0x187b88=>this['_restoreRevision'](_0x187b88)),this['editor']['config']['define']('revisionHistory.requireRevisionName',!0x1),this['_enhanceShowRevisionViewerCallback'](),this['_enhanceCloseRevisionViewerCallback']();}set['adapter'](_0x4d6dfd){this['editor']['plugins']['get']('RevisionTracker')['adapter']=_0x4d6dfd;}get['adapter'](){return this['editor']['plugins']['get']('RevisionTracker')['adapter'];}['addRevisionData'](_0x129aee){return this['editor']['plugins']['get']('RevisionTracker')['addRevisionData'](_0x129aee);}['getRevision'](_0x4f28e2){return this['editor']['plugins']['get']('RevisionsRepository')['getRevision'](_0x4f28e2);}['getRevisions'](_0x4e1b8d){return this['editor']['plugins']['get']('RevisionsRepository')['getRevisions'](_0x4e1b8d||{'toJSON':!0x1});}['_getRevisionViewerEditorConfig'](){const _0x189dda=this['editor'],_0x50c2a2=_0xf5d059(_0x189dda,p),_0x5b95d5=_0x189dda['plugins']['get']('RevisionTracker'),_0x251860=_0x189dda['plugins']['get']('Users')['users'];return _0x50c2a2['toolbar']=['exitToEditing','restoreRevision','changesNavigation'],delete _0x50c2a2['lazyRoots'],(_0x50c2a2['plugins']['push'](k,d,R,class extends _0x2b7243{static get['requires'](){return[d,'Users'];}['init'](){const _0x3dff04=this['editor']['plugins']['get']('Users');for(const _0x32fe62 of _0x251860)_0x32fe62['isAnonymous']||_0x3dff04['getUser'](_0x32fe62['id'])||_0x3dff04['addUser'](_0x32fe62);const _0x58656a=_0x5b95d5['repository']['getRevisions']();let _0xa562ba=null;const _0x2c4811=this['editor']['plugins']['get']('RevisionViewer');_0x2c4811['adapter']=_0x5b95d5['adapter'],_0x2c4811['bind']('isEnabled')['to'](_0x5b95d5),this['editor']['commands']['get']('restoreRevision')['bind']('isEnabled')['to'](_0x189dda,'isReadOnly',_0x5df259=>!_0x5df259);for(const _0x3d99e9 of _0x58656a){const _0x1503d7=null===_0x3d99e9['creator'];if(_0x1503d7&&_0x3d99e9['toVersion']===_0x3d99e9['fromVersion'])continue;const _0x5735dc=_0x3d99e9['toJSON']();_0x2c4811['addRevisionData'](_0x5735dc,(_0x3968de,_0x43a453,_0x3ab08a)=>{if(_0x1503d7){if(_0xa562ba)_0xa562ba['_update'](_0x3968de,_0x43a453);else{if(!_0x43a453){const _0x37f3ac=_0x3ab08a['toJSON']();_0x37f3ac['id']=_0x39bddc(),_0x5b95d5['saveRevision'](_0x37f3ac,_0x3ab08a['toVersion'])['then'](_0x580787=>{_0xa562ba=_0x580787;});}}}else _0x3d99e9['_update'](_0x3968de,_0x43a453);});}}},w),_0x50c2a2);}['_enhanceShowRevisionViewerCallback'](){const _0x41b461=this['editor']['config']['get']('revisionHistory')['showRevisionViewerCallback'];this['editor']['config']['set']('revisionHistory.showRevisionViewerCallback',async()=>{this['editor']['enableReadOnlyMode']('revision-history-viewer-opened');const _0x273ad3=this['editor']['plugins']['get']('RevisionTracker');if(this['editor']['plugins']['has']('Autosave')){const _0x53216f=this['editor']['plugins']['get']('Autosave');await _0x53216f['save']();}else await _0x273ad3['update']();if(this['editor']['plugins']['has']('PaginationLookup')&&this['editor']['plugins']['get']('PaginationLookup')['_recalculatePageBreaks'](),this['editor']['plugins']['has']('Dialog')){const _0x541edc=this['editor']['plugins']['get']('Dialog');_0x541edc['isOpen']&&_0x541edc['hide']();}const _0x42b0fe=this['_getRevisionViewerEditorConfig']();return _0x41b461(_0x42b0fe)['then'](_0x372f97=>{return(this['_viewerEditor']=_0x372f97,this['editor']['plugins']['has']('Annotations'))&&this['editor']['plugins']['get']('Annotations')['refreshVisibility'](),_0x372f97;})['catch'](_0x2c4367=>(console['error'](_0x2c4367),this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),null));});}['_enhanceCloseRevisionViewerCallback'](){const _0x5e4159=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'](),_0x5e4159(this['_viewerEditor'])['then'](()=>{if(this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),this['_viewerEditor']=null,this['editor']['plugins']['has']('Annotations')){const _0x5d63e4=this['editor']['plugins']['get']('Annotations');_0x5d63e4['refreshVisibility'](),_0x5d63e4['refreshPositioning']();}})));}['_showRevisionViewer'](_0x36ed4f){const _0x6e9c32=this['editor']['config']['get']('revisionHistory.editorContainer'),_0x5116b8=this['editor']['config']['get']('revisionHistory.viewerContainer'),_0x2cedb1=this['editor']['config']['get']('revisionHistory.viewerEditorElement');return m['create'](_0x2cedb1,_0x36ed4f)['then'](_0x3dec0c=>(_0x5116b8['style']['display']='block',_0x6e9c32['style']['display']='none',_0x3dec0c));}['_closeRevisionViewer'](_0x1e23be){const _0xbcb078=this['editor']['config']['get']('revisionHistory.editorContainer');return this['editor']['config']['get']('revisionHistory.viewerContainer')['style']['display']='none',_0xbcb078['style']['display']='',_0x1e23be['destroy']();}async['_restoreRevision'](_0x3617b0){const _0x5ec3c5=this['editor'],_0x46dfa7=this['_viewerEditor']['plugins']['get']('RevisionViewer'),_0x1d0744=_0x5ec3c5['plugins']['get']('RevisionTracker'),_0x1fc406=_0x46dfa7['repository']['getRevision'](_0x3617b0);let _0x2a5ed0,_0x2c2856,_0x21e5de;try{_0x2a5ed0=await _0x46dfa7['getRevisionData'](_0x1fc406),_0x2c2856=await _0x46dfa7['getRevisionRootsAttributes'](_0x1fc406);}catch(_0x518e1e){return void console['error'](_0x518e1e);}_0x5ec3c5['model']['change'](_0x22c61c=>{for(const _0x2c5a76 of Array['from'](_0x5ec3c5['model']['markers']['getMarkersGroup']('restrictedEditingException')))_0x22c61c['removeMarker'](_0x2c5a76);}),_0x46dfa7['isReady']=!0x1,_0x5ec3c5['model']['enqueueChange'](_0xb1f55f=>{_0xb1f55f['setSelection'](null),_0xb1f55f['removeSelectionAttribute'](_0x5ec3c5['model']['document']['selection']['getAttributeKeys']());const _0x532826=Object['keys'](_0x2a5ed0);for(const _0x27b1eb of _0x5ec3c5['model']['document']['roots'])'$graveyard'!=_0x27b1eb['rootName']&&_0x27b1eb['isAttached']()&&!_0x532826['includes'](_0x27b1eb['rootName'])&&_0xb1f55f['detachRoot'](_0x27b1eb);for(const _0x47e579 of _0x532826){let _0xdc9e37=_0x5ec3c5['model']['document']['getRoot'](_0x47e579);_0xdc9e37&&_0xdc9e37['isAttached']()||(_0xdc9e37=_0xb1f55f['addRoot'](_0x47e579));const _0xbc3b93=_0x2c2856[_0x47e579],_0x239ad3=Object['keys'](_0xbc3b93),_0x584c78=_0x2a5ed0[_0x47e579];for(const _0x1dac7f of _0xdc9e37['getAttributeKeys']())_0x239ad3['includes'](_0x1dac7f)||_0xb1f55f['removeAttribute'](_0x1dac7f,_0xdc9e37);for(const _0xf96f7e of _0x239ad3)_0xb1f55f['setAttribute'](_0xf96f7e,_0x2c2856[_0x47e579][_0xf96f7e],_0xdc9e37);_0xb1f55f['remove'](_0xb1f55f['createRangeIn'](_0xdc9e37)),_0xb1f55f['insert'](_0x5ec3c5['data']['parse'](_0x584c78,_0xdc9e37),_0xdc9e37,0x0);}});const _0x19bc92=y(_0x5ec3c5['locale'],'Restored');if(_0x1fc406['name'])_0x21e5de=-0x1==_0x1fc406['name']['indexOf'](_0x19bc92)?_0x19bc92+':\x20'+_0x1fc406['name']:_0x1fc406['name'];else _0x21e5de=_0x19bc92+':\x20'+(_0x1fc406['createdAt']['toLocaleDateString'](_0x5ec3c5['locale']['uiLanguage'],{'month':'long','day':'numeric'})+',\x20'+_0x1fc406['createdAt']['toLocaleTimeString'](_0x5ec3c5['locale']['uiLanguage'],{'hour':'numeric','minute':'numeric'}));return await _0x1d0744['saveRevision']({'name':_0x21e5de}),_0x46dfa7['isReady']=!0x0,_0x5ec3c5['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};