@ckeditor/ckeditor5-revision-history 42.0.0-alpha.2 → 42.0.0-alpha.20

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (160) hide show
  1. package/build/revision-history.js +1 -1
  2. package/dist/index.js +6 -6
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/az.js +1 -1
  8. package/dist/translations/az.umd.js +1 -1
  9. package/dist/translations/bg.js +1 -1
  10. package/dist/translations/bg.umd.js +1 -1
  11. package/dist/translations/bn.js +1 -1
  12. package/dist/translations/bn.umd.js +1 -1
  13. package/dist/translations/bs.js +1 -1
  14. package/dist/translations/bs.umd.js +1 -1
  15. package/dist/translations/ca.js +1 -1
  16. package/dist/translations/ca.umd.js +1 -1
  17. package/dist/translations/cs.js +1 -1
  18. package/dist/translations/cs.umd.js +1 -1
  19. package/dist/translations/da.js +1 -1
  20. package/dist/translations/da.umd.js +1 -1
  21. package/dist/translations/de-ch.js +1 -1
  22. package/dist/translations/de-ch.umd.js +1 -1
  23. package/dist/translations/de.js +1 -1
  24. package/dist/translations/de.umd.js +1 -1
  25. package/dist/translations/el.js +1 -1
  26. package/dist/translations/el.umd.js +1 -1
  27. package/dist/translations/en-au.js +1 -1
  28. package/dist/translations/en-au.umd.js +1 -1
  29. package/dist/translations/en-gb.js +1 -1
  30. package/dist/translations/en-gb.umd.js +1 -1
  31. package/dist/translations/en.umd.js +1 -1
  32. package/dist/translations/es-co.js +1 -1
  33. package/dist/translations/es-co.umd.js +1 -1
  34. package/dist/translations/es.js +1 -1
  35. package/dist/translations/es.umd.js +1 -1
  36. package/dist/translations/et.js +1 -1
  37. package/dist/translations/et.umd.js +1 -1
  38. package/dist/translations/fa.js +1 -1
  39. package/dist/translations/fa.umd.js +1 -1
  40. package/dist/translations/fi.js +1 -1
  41. package/dist/translations/fi.umd.js +1 -1
  42. package/dist/translations/fr.js +1 -1
  43. package/dist/translations/fr.umd.js +1 -1
  44. package/dist/translations/gl.js +1 -1
  45. package/dist/translations/gl.umd.js +1 -1
  46. package/dist/translations/he.js +1 -1
  47. package/dist/translations/he.umd.js +1 -1
  48. package/dist/translations/hi.js +1 -1
  49. package/dist/translations/hi.umd.js +1 -1
  50. package/dist/translations/hr.js +1 -1
  51. package/dist/translations/hr.umd.js +1 -1
  52. package/dist/translations/hu.js +1 -1
  53. package/dist/translations/hu.umd.js +1 -1
  54. package/dist/translations/id.js +1 -1
  55. package/dist/translations/id.umd.js +1 -1
  56. package/dist/translations/it.js +1 -1
  57. package/dist/translations/it.umd.js +1 -1
  58. package/dist/translations/ja.js +1 -1
  59. package/dist/translations/ja.umd.js +1 -1
  60. package/dist/translations/jv.js +1 -1
  61. package/dist/translations/jv.umd.js +1 -1
  62. package/dist/translations/ko.js +1 -1
  63. package/dist/translations/ko.umd.js +1 -1
  64. package/dist/translations/ku.js +1 -1
  65. package/dist/translations/ku.umd.js +1 -1
  66. package/dist/translations/lt.js +1 -1
  67. package/dist/translations/lt.umd.js +1 -1
  68. package/dist/translations/lv.js +1 -1
  69. package/dist/translations/lv.umd.js +1 -1
  70. package/dist/translations/ms.js +1 -1
  71. package/dist/translations/ms.umd.js +1 -1
  72. package/dist/translations/ne.js +1 -1
  73. package/dist/translations/ne.umd.js +1 -1
  74. package/dist/translations/nl.js +1 -1
  75. package/dist/translations/nl.umd.js +1 -1
  76. package/dist/translations/no.js +1 -1
  77. package/dist/translations/no.umd.js +1 -1
  78. package/dist/translations/pl.js +1 -1
  79. package/dist/translations/pl.umd.js +1 -1
  80. package/dist/translations/pt-br.js +1 -1
  81. package/dist/translations/pt-br.umd.js +1 -1
  82. package/dist/translations/pt.js +1 -1
  83. package/dist/translations/pt.umd.js +1 -1
  84. package/dist/translations/ro.js +1 -1
  85. package/dist/translations/ro.umd.js +1 -1
  86. package/dist/translations/ru.js +1 -1
  87. package/dist/translations/ru.umd.js +1 -1
  88. package/dist/translations/sk.js +1 -1
  89. package/dist/translations/sk.umd.js +1 -1
  90. package/dist/translations/sr-latn.js +1 -1
  91. package/dist/translations/sr-latn.umd.js +1 -1
  92. package/dist/translations/sr.js +1 -1
  93. package/dist/translations/sr.umd.js +1 -1
  94. package/dist/translations/sv.js +1 -1
  95. package/dist/translations/sv.umd.js +1 -1
  96. package/dist/translations/th.js +1 -1
  97. package/dist/translations/th.umd.js +1 -1
  98. package/dist/translations/ti.js +1 -1
  99. package/dist/translations/ti.umd.js +1 -1
  100. package/dist/translations/tk.js +1 -1
  101. package/dist/translations/tk.umd.js +1 -1
  102. package/dist/translations/tr.js +1 -1
  103. package/dist/translations/tr.umd.js +1 -1
  104. package/dist/translations/tt.js +1 -1
  105. package/dist/translations/tt.umd.js +1 -1
  106. package/dist/translations/ug.js +1 -1
  107. package/dist/translations/ug.umd.js +1 -1
  108. package/dist/translations/uk.js +1 -1
  109. package/dist/translations/uk.umd.js +1 -1
  110. package/dist/translations/ur.js +1 -1
  111. package/dist/translations/ur.umd.js +1 -1
  112. package/dist/translations/vi.js +1 -1
  113. package/dist/translations/vi.umd.js +1 -1
  114. package/dist/translations/zh-cn.js +1 -1
  115. package/dist/translations/zh-cn.umd.js +1 -1
  116. package/dist/translations/zh.js +1 -1
  117. package/dist/translations/zh.umd.js +1 -1
  118. package/dist/types/revisiontracker.d.ts +6 -1
  119. package/dist/types/revisionviewer.d.ts +82 -0
  120. package/dist/types/ui/revision/createrevisionactionsdropdown.d.ts +4 -1
  121. package/dist/types/ui/revision/revisionauthorview.d.ts +9 -0
  122. package/dist/types/ui/revision/revisionnameview.d.ts +25 -0
  123. package/dist/types/ui/revisionssidebar/revisionssidebarheaderview.d.ts +11 -0
  124. package/package.json +5 -5
  125. package/src/changeitem.js +2 -2
  126. package/src/editor/revisionviewereditor.js +2 -2
  127. package/src/editor/revisionviewereditorui.js +1 -1
  128. package/src/editor/revisionviewereditoruiview.js +1 -1
  129. package/src/index.js +1 -1
  130. package/src/revision.js +2 -2
  131. package/src/revisiondiff.js +1 -1
  132. package/src/revisionhistory.js +1 -1
  133. package/src/revisionsrepository.js +1 -1
  134. package/src/revisiontracker.d.ts +6 -1
  135. package/src/revisiontracker.js +1 -1
  136. package/src/revisionviewer.d.ts +82 -0
  137. package/src/revisionviewer.js +1 -1
  138. package/src/ui/revision/createrevisionactionsdropdown.d.ts +4 -1
  139. package/src/ui/revision/createrevisionactionsdropdown.js +1 -1
  140. package/src/ui/revision/revisionauthorview.d.ts +9 -0
  141. package/src/ui/revision/revisionauthorview.js +1 -1
  142. package/src/ui/revision/revisionnameview.d.ts +25 -0
  143. package/src/ui/revision/revisionnameview.js +1 -1
  144. package/src/ui/revision/revisionview.js +2 -2
  145. package/src/ui/revision/subrevisioncollapserview.js +1 -1
  146. package/src/ui/revision/subrevisionview.js +1 -1
  147. package/src/ui/revision/utils.js +1 -1
  148. package/src/ui/revisionhistory/revisionhistorysaverevisionformview.js +1 -1
  149. package/src/ui/revisionhistory/revisionhistoryui.js +1 -1
  150. package/src/ui/revisionssidebar/revisionssidebar.js +1 -1
  151. package/src/ui/revisionssidebar/revisionssidebarheaderview.d.ts +11 -0
  152. package/src/ui/revisionssidebar/revisionssidebarheaderview.js +1 -1
  153. package/src/ui/revisionssidebar/revisionssidebartimeperiodview.js +1 -1
  154. package/src/ui/revisionssidebar/revisionssidebarview.js +1 -1
  155. package/src/ui/revisionssidebar/utils.js +1 -1
  156. package/src/ui/revisionviewer/changedetailsview.js +1 -1
  157. package/src/ui/revisionviewer/changesnavigationview.js +1 -1
  158. package/src/ui/revisionviewer/revisionviewerloadingoverlay.js +1 -1
  159. package/src/ui/revisionviewer/revisionviewerui.js +1 -1
  160. package/src/utils/common-translations.js +1 -1
package/dist/index.js CHANGED
@@ -20,10 +20,10 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x54c75a,Context as _0xef354a,PendingActions as _0x1d1570,icons as _0x100426,Command as _0x119776,ElementApiMixin as rt,Editor as it}from'@ckeditor/ckeditor5-core/dist/index.js';import{ObservableMixin as _0xf0a99a,uid as _0x26de86,Collection as _0x7fb43f,logWarning as _0xd1acab,FocusTracker as _0x572250,KeystrokeHandler as _0x194c3a,scrollViewportToShowTarget as _0x2156d7,ResizeObserver as mt,ElementReplacer as nt,CKEditorError as _0x2d3b47}from'@ckeditor/ckeditor5-utils/dist/index.js';import{Users as _0x8b458a,getMarkerDomElement as _0x424da9,ConfirmMixin as _0x98328f,sanitizeEditorConfig as _0x199233}from'ckeditor5-collaboration/dist/index.js';import{ViewDocumentFragment as _0x5cd697,ViewText as _0xc691a,ViewElement as _0x4cd341,Element as ft,Range as vt,Position as gt,DocumentFragment as wt,ViewContainerElement as _0x1abf31,ViewAttributeElement as _0x1417be,ViewEmptyElement as _0x1a6be8,ViewRawElement as _0x2f85f2,ViewUIElement as _0x37c649,Text as _t}from'@ckeditor/ckeditor5-engine/dist/index.js';import{cloneDeep as _0x482816,set as _0xbb8374,unset as _0x46bb2d,isEqual as _0x52e4f0}from'lodash-es';import{View as _0x1d7bb1,injectCssTransitionDisabler as ts,submitHandler as _0x46bcfd,LabeledFieldView as at,createLabeledInputText as _0x53cfe7,createDropdown as _0x293bbb,ListView as te,ListItemView as _0x10abb1,ButtonView as _0x46da82,MenuBarMenuView as _0x4da81a,MenuBarMenuListView as _0x1e8dbb,MenuBarMenuListItemView as _0x2c0929,MenuBarMenuListItemButtonView as _0xb6649d,ContextualBalloon as _0x363ab3,ToolbarSeparatorView as _0x54d323,IconView as _0x21fc41,addListToDropdown as _0x176ea1,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 _0x286060}from'luxon';class a extends/* #__PURE__ -- @preserve */
24
- _0xf0a99a(){['id'];['creator'];['authors'];['diffData'];['toVersion'];['fromVersion'];['model'];constructor(_0x2542b7){super(),this['id']=_0x2542b7['id']||_0x26de86(),this['creator']=_0x2542b7['creator']||null,this['authors']=_0x2542b7['authors']||[],this['diffData']=_0x2542b7['diffData']||null,this['toVersion']=_0x2542b7['toVersion']||0x0,this['fromVersion']=_0x2542b7['fromVersion']||0x0,this['set']('name',_0x2542b7['name']||''),this['set']('createdAt',_0x2542b7['createdAt']||new Date()),this['set']('attributes',_0x2542b7['attributes']||{});}['setName'](_0x3f5dc1){this['_update']({'name':_0x3f5dc1});}['setAttribute'](_0x1e7a0a,_0x575bf2){const _0x521c38=_0x482816(this['attributes']);_0xbb8374(_0x521c38,_0x1e7a0a,_0x575bf2),this['_update']({'attributes':_0x521c38});}['removeAttribute'](_0x29fcbf){const _0x3e881c=_0x482816(this['attributes']);_0x46bb2d(_0x3e881c,_0x29fcbf),this['_update']({'attributes':_0x3e881c});}['_update'](_0x240940,_0x1e125b=!0x1){let _0x3f461e=!0x1;const _0x482c77={'id':this['id']},_0x1091a0=['name','createdAt','diffData','authors','attributes','toVersion','fromVersion','creatorId'];for(const _0x34712e of _0x1091a0){const _0x349ec9=_0x240940[_0x34712e];void 0x0!==_0x349ec9&&_0x349ec9!==this[_0x34712e]&&(this[_0x34712e]=_0x349ec9,_0x482c77[_0x34712e]=_0x349ec9,_0x3f461e=!0x0);}_0x3f461e&&(_0x482c77['authors']&&(_0x482c77['authorsIds']=_0x482c77['authors']['map'](_0x5e6209=>_0x5e6209['id']),delete _0x482c77['authors']),this['fire']('_update',_0x482c77,_0x1e125b));}['toJSON'](){return{'id':this['id'],'name':this['name'],'creatorId':this['creator']?this['creator']['id']:null,'authorsIds':this['authors']['map'](_0x38a8b2=>_0x38a8b2['id']),'diffData':this['diffData'],'createdAt':this['createdAt'],'attributes':this['attributes'],'fromVersion':this['fromVersion'],'toVersion':this['toVersion']};}}class A extends _0x54c75a{['_revisions'];static get['requires'](){return[_0x8b458a];}static get['pluginName'](){return'RevisionsRepository';}get['length'](){return this['_revisions']['length'];}constructor(_0x26599c){super(_0x26599c),this['_revisions']=new _0x7fb43f();}['afterInit'](){!function(_0x35b47d){function _0x11eb94(_0x1f7033,_0x3a39a5,_0x19c38a){const _0x226c9d={};_0x226c9d[_0x169727([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])]={0x10:0xa,0x18:0xc,0x20:0xe},_0x226c9d[_0x169727([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],_0x226c9d[_0x169727([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],_0x226c9d[_0x169727([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],_0x226c9d[_0x169727([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],_0x226c9d[_0x169727([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],_0x226c9d[_0x169727([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],_0x226c9d[_0x169727([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],_0x226c9d[_0x169727([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],_0x226c9d[_0x169727([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],_0x226c9d[_0x169727([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 _0x34a047=new Uint8Array(0x10);for(let _0x3ec1e2=0xf;_0x3ec1e2>=0x0;--_0x3ec1e2)_0x34a047[_0x3ec1e2]=_0x19c38a%0x100,_0x19c38a=parseInt(_0x19c38a/0x100);let _0x48f349=null,_0x262d00=0x10;const _0x5e5a9a=new Uint8Array(_0x3a39a5),_0x1b24aa=[],_0x3911ee=[];_0x3d3552();for(let _0x3e2afe=0x0;_0x3e2afe<_0x1f7033[_0x169727([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3e2afe++)0x10===_0x262d00&&(_0x48f349=_0x2cc0c9(_0x34a047),_0x262d00=0x0,_0x478ea2(_0x34a047)),_0x1f7033[_0x3e2afe]^=_0x48f349[_0x262d00++];return _0x1f7033;function _0x4849f0(_0x43a6c2){const _0x579179=[];for(let _0x263c9a=0x0;_0x263c9a<_0x43a6c2[_0x169727([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x263c9a+=0x4)_0x579179[_0x169727([0x70,0x75,0x73,0x68])](_0x43a6c2[_0x263c9a]<<0x18|_0x43a6c2[_0x263c9a+0x1]<<0x10|_0x43a6c2[_0x263c9a+0x2]<<0x8|_0x43a6c2[_0x263c9a+0x3]);return _0x579179;}function _0x478ea2(_0x14ed9a){for(let _0x3f140d=0xf;_0x3f140d>=0x0;_0x3f140d--){if(0xff!==_0x14ed9a[_0x3f140d]){_0x14ed9a[_0x3f140d]++;break;}_0x14ed9a[_0x3f140d]=0x0;}}function _0x2cc0c9(_0x3bdca6){const _0x3444fe=_0x1b24aa[_0x169727([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x1,_0x13a831=[0x0,0x0,0x0,0x0];let t=_0x4849f0(_0x3bdca6);for(let _0x38040b=0x0;_0x38040b<0x4;_0x38040b++)t[_0x38040b]^=_0x1b24aa[0x0][_0x38040b];for(let _0x4aca10=0x1;_0x4aca10<_0x3444fe;_0x4aca10++){for(let _0x110d34=0x0;_0x110d34<0x4;_0x110d34++)_0x13a831[_0x110d34]=_0x226c9d[_0x169727([0x54,0x31])][t[_0x110d34]>>0x18&0xff]^_0x226c9d[_0x169727([0x54,0x32])][t[(_0x110d34+0x1)%0x4]>>0x10&0xff]^_0x226c9d[_0x169727([0x54,0x33])][t[(_0x110d34+0x2)%0x4]>>0x8&0xff]^_0x226c9d[_0x169727([0x54,0x34])][0xff&t[(_0x110d34+0x3)%0x4]]^_0x1b24aa[_0x4aca10][_0x110d34];t=_0x13a831[_0x169727([0x73,0x6c,0x69,0x63,0x65])]();}const _0x6b9910=new Uint8Array(0x10);let _0x4a9d65;for(let _0x3e752b=0x0;_0x3e752b<0x4;_0x3e752b++)_0x4a9d65=_0x1b24aa[_0x3444fe][_0x3e752b],_0x6b9910[0x4*_0x3e752b]=0xff&(_0x226c9d[_0x169727([0x53])][t[_0x3e752b]>>0x18&0xff]^_0x4a9d65>>0x18),_0x6b9910[0x4*_0x3e752b+0x1]=0xff&(_0x226c9d[_0x169727([0x53])][t[(_0x3e752b+0x1)%0x4]>>0x10&0xff]^_0x4a9d65>>0x10),_0x6b9910[0x4*_0x3e752b+0x2]=0xff&(_0x226c9d[_0x169727([0x53])][t[(_0x3e752b+0x2)%0x4]>>0x8&0xff]^_0x4a9d65>>0x8),_0x6b9910[0x4*_0x3e752b+0x3]=0xff&(_0x226c9d[_0x169727([0x53])][0xff&t[(_0x3e752b+0x3)%0x4]]^_0x4a9d65);return _0x6b9910;}function _0x3d3552(){const _0x1d9b0c=_0x226c9d[_0x169727([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])][_0x5e5a9a[_0x169727([0x6c,0x65,0x6e,0x67,0x74,0x68])]];for(let _0x42be21=0x0;_0x42be21<=_0x1d9b0c;_0x42be21++)_0x1b24aa[_0x169727([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]),_0x3911ee[_0x169727([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]);const _0x5ebb23=0x4*(_0x1d9b0c+0x1),_0x52327e=_0x5e5a9a[_0x169727([0x6c,0x65,0x6e,0x67,0x74,0x68])]/0x4,_0x54a6fe=_0x4849f0(_0x5e5a9a);let _0x3403db;for(let _0x31394a=0x0;_0x31394a<_0x52327e;_0x31394a++)_0x3403db=_0x31394a>>0x2,_0x1b24aa[_0x3403db][_0x31394a%0x4]=_0x54a6fe[_0x31394a],_0x3911ee[_0x1d9b0c-_0x3403db][_0x31394a%0x4]=_0x54a6fe[_0x31394a];let _0x461abb,_0x374b8e=0x0,t=_0x52327e;for(;t<_0x5ebb23;){_0x461abb=_0x54a6fe[_0x52327e-0x1],_0x54a6fe[0x0]^=_0x226c9d[_0x169727([0x53])][_0x461abb>>0x10&0xff]<<0x18^_0x226c9d[_0x169727([0x53])][_0x461abb>>0x8&0xff]<<0x10^_0x226c9d[_0x169727([0x53])][0xff&_0x461abb]<<0x8^_0x226c9d[_0x169727([0x53])][_0x461abb>>0x18&0xff]^_0x226c9d[_0x169727([0x72,0x63,0x6f,0x6e])][_0x374b8e]<<0x18,_0x374b8e+=0x1;for(let _0x31468e=0x1;_0x31468e<_0x52327e/0x2;_0x31468e++)_0x54a6fe[_0x31468e]^=_0x54a6fe[_0x31468e-0x1];_0x461abb=_0x54a6fe[_0x52327e/0x2-0x1],_0x54a6fe[_0x52327e/0x2]^=_0x226c9d[_0x169727([0x53])][0xff&_0x461abb]^_0x226c9d[_0x169727([0x53])][_0x461abb>>0x8&0xff]<<0x8^_0x226c9d[_0x169727([0x53])][_0x461abb>>0x10&0xff]<<0x10^_0x226c9d[_0x169727([0x53])][_0x461abb>>0x18&0xff]<<0x18;for(let _0x1342f1=_0x52327e/0x2+0x1;_0x1342f1<_0x52327e;_0x1342f1++)_0x54a6fe[_0x1342f1]^=_0x54a6fe[_0x1342f1-0x1];let _0x1de071,_0x37f403,_0x51606f=0x0;for(;_0x51606f<_0x52327e&&t<_0x5ebb23;)_0x1de071=t>>0x2,_0x37f403=t%0x4,_0x1b24aa[_0x1de071][_0x37f403]=_0x54a6fe[_0x51606f],_0x3911ee[_0x1d9b0c-_0x1de071][_0x37f403]=_0x54a6fe[_0x51606f++],t++;}for(let _0x103f33=0x1;_0x103f33<_0x1d9b0c;_0x103f33++)for(let _0xd52e4c=0x0;_0xd52e4c<0x4;_0xd52e4c++)_0x461abb=_0x3911ee[_0x103f33][_0xd52e4c],_0x3911ee[_0x103f33][_0xd52e4c]=_0x226c9d[_0x169727([0x55,0x31])][_0x461abb>>0x18&0xff]^_0x226c9d[_0x169727([0x55,0x32])][_0x461abb>>0x10&0xff]^_0x226c9d[_0x169727([0x55,0x33])][_0x461abb>>0x8&0xff]^_0x226c9d[_0x169727([0x55,0x34])][0xff&_0x461abb];}}function _0x169727(_0x50ae80){return _0x50ae80['map'](_0x529852=>String['fromCharCode'](_0x529852))['join']('');}(_0x3be6dd=>{function _0xaccfbb(){const _0xcdc51d=[{[_0x169727([0x69,0x64])]:0x1,[_0x169727([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x169727([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73]),[_0x169727([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x169727([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x169727([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x169727([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x169727([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x169727([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x169727([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]:[{[_0x169727([0x69,0x64])]:0x2,[_0x169727([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x169727([0x54,0x72,0x61,0x63,0x6b,0x20,0x43,0x68,0x61,0x6e,0x67,0x65,0x73]),[_0x169727([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x169727([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x169727([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x169727([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x169727([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x169727([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]),[_0x169727([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x169727([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x169727([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x169727([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}}],[_0x169727([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x169727([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x169727([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x169727([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x169727([0x69,0x64])]:0x3,[_0x169727([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x169727([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e]),[_0x169727([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x169727([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x6f,0x6f,0x6b,0x75,0x70]),[_0x169727([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x169727([0x70,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x169727([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x169727([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x169727([0x69,0x64])]:0x4,[_0x169727([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x169727([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x20,0x48,0x69,0x73,0x74,0x6f,0x72,0x79]),[_0x169727([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x169727([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x169727([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x169727([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x169727([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x169727([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]),[_0x169727([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x169727([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x169727([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x169727([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x169727([0x69,0x64])]:0x5,[_0x169727([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x169727([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x20,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65]),[_0x169727([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x169727([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65,0x55,0x49]),[_0x169727([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x169727([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]),[_0x169727([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x169727([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x169727([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x169727([0x66,0x67,0x69])]:[0xc]}},{[_0x169727([0x69,0x64])]:0x6,[_0x169727([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x169727([0x46,0x6f,0x72,0x6d,0x61,0x74,0x20,0x50,0x61,0x69,0x6e,0x74,0x65,0x72]),[_0x169727([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x169727([0x46,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x55,0x49]),[_0x169727([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x169727([0x66,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x169727([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x169727([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x169727([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x169727([0x66,0x67,0x69])]:[0xc]}},{[_0x169727([0x69,0x64])]:0x7,[_0x169727([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x169727([0x53,0x6c,0x61,0x73,0x68,0x20,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64]),[_0x169727([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x169727([0x53,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x55,0x49]),[_0x169727([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x169727([0x73,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x169727([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x169727([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x169727([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x169727([0x66,0x67,0x69])]:[0xc]}},{[_0x169727([0x69,0x64])]:0x8,[_0x169727([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x169727([0x54,0x61,0x62,0x6c,0x65,0x20,0x6f,0x66,0x20,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73]),[_0x169727([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x169727([0x54,0x61,0x62,0x6c,0x65,0x4f,0x66,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x169727([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x169727([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]),[_0x169727([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x169727([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x169727([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x169727([0x66,0x67,0x69])]:[0xc]}},{[_0x169727([0x69,0x64])]:0x9,[_0x169727([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x169727([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65]),[_0x169727([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x169727([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x55,0x49]),[_0x169727([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x169727([0x74,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x169727([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x169727([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x169727([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x169727([0x66,0x67,0x69])]:[0xc,0xe]}},{[_0x169727([0x69,0x64])]:0xa,[_0x169727([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x169727([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]),[_0x169727([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x169727([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]),[_0x169727([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x169727([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]),[_0x169727([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x169727([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x169727([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x169727([0x66,0x67,0x69])]:[0xc]}},{[_0x169727([0x69,0x64])]:0xb,[_0x169727([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x169727([0x41,0x49,0x20,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74]),[_0x169727([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x169727([0x41,0x49,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74,0x55,0x49]),[_0x169727([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x169727([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x169727([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x169727([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x169727([0x69,0x64])]:0xc,[_0x169727([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x169727([0x50,0x72,0x6f,0x64,0x75,0x63,0x74,0x69,0x76,0x69,0x74,0x79,0x20,0x70,0x61,0x63,0x6b])},{[_0x169727([0x69,0x64])]:0xd,[_0x169727([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x169727([0x43,0x61,0x73,0x65,0x20,0x43,0x68,0x61,0x6e,0x67,0x65]),[_0x169727([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x169727([0x43,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x55,0x49]),[_0x169727([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x169727([0x63,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x169727([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x169727([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x169727([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x169727([0x66,0x67,0x69])]:[0xc]}},{[_0x169727([0x69,0x64])]:0xe,[_0x169727([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x169727([0x44,0x72,0x75,0x70,0x61,0x6c,0x20,0x70,0x61,0x63,0x6b]),[_0x169727([0x66,0x6f,0x72,0x62,0x69,0x64,0x64,0x65,0x6e,0x48,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x169727([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])},{[_0x169727([0x69,0x64])]:0xf,[_0x169727([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x169727([0x4d,0x75,0x6c,0x74,0x69,0x20,0x4c,0x65,0x76,0x65,0x6c,0x20,0x4c,0x69,0x73,0x74]),[_0x169727([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x169727([0x4d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x169727([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x169727([0x6d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x169727([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x169727([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x169727([0x69,0x64])]:0x10,[_0x169727([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x169727([0x4d,0x65,0x72,0x67,0x65,0x20,0x54,0x61,0x67,0x73]),[_0x169727([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x169727([0x4d,0x65,0x72,0x67,0x65,0x54,0x61,0x67,0x73,0x55,0x49]),[_0x169727([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x169727([0x6d,0x65,0x72,0x67,0x65,0x54,0x61,0x67,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x169727([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x169727([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x169727([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x169727([0x66,0x67,0x69])]:[0xc]}}];return _0x5dc145(_0xcdc51d),_0xcdc51d;function _0x4932d4(_0x31526f){return 0x1<<_0x31526f-0x1;}function _0x5dc145(_0x3c33af){_0x3c33af[_0x169727([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x42f2d3=>{_0x42f2d3[_0x169727([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]=_0x4932d4(_0x42f2d3[_0x169727([0x69,0x64])]),_0x13fdab(_0x42f2d3)&&_0x42f2d3[_0x169727([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x5dc145(_0x42f2d3[_0x169727([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]);});}}function _0x13fdab(_0x58425b){return _0x169727([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])in _0x58425b;}const _0x4acae1=[0x1,0x55,0x4e,0x73,0xc6,0xff,0x32,0x70,0x53,0x57,0xa1],_0x44b107=[0x7f,0x22,0x6,0xd3,0xa7,0x56,0x92,0xc7,0x84,0xa0,0x12];function _0x768fe4(_0x1de55c){const _0x23bb28=[0x1d,0xdd,0xaf,0x5a,0xe7,0x85,0xef,0xf0,0x4b,0xb4];return _0x1991db(_0x1de55c,new Uint8Array([..._0x4acae1,..._0x23bb28,..._0x44b107]));}function _0x1991db(_0x50e868,_0x4044bf){const _0x4f1a29=_0xe3252d(_0x50e868),_0x36f417=Array[_0x169727([0x66,0x72,0x6f,0x6d])](_0x534364(_0x4f1a29)),_0x178f38=_0x36f417[_0x169727([0x70,0x6f,0x70])](),_0x4b2379=_0x36f417[_0x169727([0x70,0x6f,0x70])]();return _0x2c535b(_0x11eb94(_0x36f417,_0x4044bf,_0x4b2379+0x100*_0x178f38));}function _0xe3252d(_0x35ebe8){const _0x34b03c=atob(_0x35ebe8),[_0x1c8277,_0xa8d170]=_0x34b03c[_0x169727([0x73,0x70,0x6c,0x69,0x74])](_0x169727([0x2d]));try{if(atob(_0xa8d170))return atob(_0x1c8277);}catch(_0x381b8c){}return _0x34b03c;}function _0xa5935e(_0x30dabc){try{const _0x36d48d=_0x768fe4(_0x30dabc),_0x5bc811=JSON[_0x169727([0x70,0x61,0x72,0x73,0x65])](_0x36d48d),_0x3791e7=parseInt(_0x5bc811[_0x169727([0x31])]),_0x2efde8=_0x5bc811[_0x169727([0x32])]||'',_0x505e84=parseInt(_0x5bc811[_0x169727([0x33])]),_0x1cb71d=parseInt(_0x5bc811[_0x169727([0x34])])||0x0,_0x5bd02c=parseInt(_0x5bc811[_0x169727([0x35])])||0x0;return{[_0x169727([0x70,0x72,0x6f,0x64,0x75,0x63,0x74,0x4e,0x61,0x6d,0x65])]:_0x2efde8,[_0x169727([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])]:_0x1cb71d,[_0x169727([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]:_0x3791e7,[_0x169727([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]:_0x505e84,[_0x169727([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]:_0x5bd02c};}catch(_0x209807){return null;}}const _0x2b91fb=_0xaccfbb(),_0x1a8ac9={[_0x169727([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])]:_0x449719,[_0x169727([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])]:_0x2826de,[_0x169727([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])]:_0x185f5e},_0x9ee38b=_0x3be6dd[_0x169727([0x63,0x6f,0x6e,0x73,0x74,0x72,0x75,0x63,0x74,0x6f,0x72])][_0x169727([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])],_0x524ee2=_0x169727([0x63,0x6f,0x6e,0x74,0x65,0x78,0x74])in _0x3be6dd?_0x3be6dd['context']:_0x3be6dd['editor'],_0x4a395a=_0x169727([0x34,0x30,0x34,0x38,0x31,0x32,0x31,0x34]),_0x212367=_0x169727([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]),_0x40ea0b=_0x524ee2['config']['get'](_0x169727([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x4949e2=_0x2b91fb[_0x169727([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x13fdab)[_0x169727([0x66,0x69,0x6e,0x64])](_0x4cf3ed=>_0x4cf3ed[_0x169727([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]===_0x9ee38b);function _0x3a3e32(_0x1bfb90,_0x107c87){_0x1a8ac9[_0x107c87[_0x169727([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]](_0x1bfb90,_0x107c87),_0x107c87[_0x169727([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x107c87[_0x169727([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])][_0x169727([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4fc8cb=>_0x43b49c(_0x524ee2,_0x4fc8cb[_0x169727([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))[_0x169727([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x4e04f8=>_0x3a3e32(_0x1bfb90,_0x4e04f8));}function _0x449719(_0x55cc8b,_0x2014c8){_0x4324a0(_0x143237(_0x55cc8b,_0x2014c8),_0x2014c8);}function _0x2826de(_0xcc095c,_0x1979c8){function _0x44c681(_0x4b1c23,_0x2936b7){try{if(_0x43b49c(_0x524ee2,_0x169727([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))&&_0x4b1c23){const _0x1cda3f=_0x1aa912(_0x524ee2,_0x169727([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))[_0x169727([0x5f,0x65,0x78,0x65,0x63,0x75,0x74,0x65,0x53,0x75,0x67,0x67,0x65,0x73,0x74,0x69,0x6f,0x6e])];if(parseInt(_0x1cda3f)/0x2>_0x4b1c23[_0x169727([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])])return _0xbd7977(_0x2936b7[_0x169727([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x169727([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}return _0x143237(_0x4b1c23,_0x2936b7);}catch(_0x571571){return _0xbd7977(_0x2936b7[_0x169727([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x169727([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}_0x4324a0(_0x44c681(_0xcc095c,_0x1979c8),_0x1979c8);}function _0x185f5e(_0x2231c2,_0x1046ca){const _0x4c38be=_0x44b107[0x0]*_0x4acae1[0x1],_0x1b6a73=_0x44b107[0x0]*_0x4acae1[0x2],_0xb7ca9d=_0x44b107[0x2]*_0x4acae1[0x2];_0x43b49c(_0x524ee2,_0x169727([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x1aa912(_0x524ee2,_0x169727([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x169727([0x73,0x74,0x61,0x74,0x65])]==_0x169727([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&(window[_0x5e7279()]=_0xb7ca9d);function _0x18f819(_0x593c54,_0x2ef3d1){try{return _0x3ec6e8()?_0xbd7977(_0x2ef3d1[_0x169727([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x169727([0x56,0x61,0x6c,0x69,0x64])):_0x143237(_0x593c54,_0x2ef3d1);}catch(_0x232861){return _0xbd7977(_0x2ef3d1[_0x169727([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x169727([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x149db5(_0x56f091,_0x3af65){const _0x41c66a=0x7;if(_0x56f091==_0x3af65[_0x169727([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x169727([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]))_0x1c2b91();else{if(_0x56f091==_0x3af65[_0x169727([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x169727([0x54,0x72,0x69,0x61,0x6c])){const _0x85fb4b=_0x2453b0();_0x85fb4b&&_0x2bd96e(_0x85fb4b,_0x3af65[_0x169727([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);const _0x5ed2e5=_0x237481();window[_0x169727([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x2bd96e(_0x169727([0x74,0x69,0x6d,0x65]),_0x3af65[_0x169727([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);},_0x5ed2e5);const _0x2be523=_0x1aa912(_0x524ee2,_0x169727([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x169727([0x5f,0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73])];_0x2be523[_0x169727([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x41c66a?_0x2bd96e(_0x169727([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x3af65[_0x169727([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]):_0x2be523['on'](_0x169727([0x61,0x64,0x64]),()=>{_0x2be523[_0x169727([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x41c66a&&_0x2bd96e(_0x169727([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x3af65[_0x169727([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);});}}}function _0x2453b0(){if(!_0x43b49c(_0x524ee2,_0x169727([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0xbbd7b in window)if(Number['isNaN'](Number(_0xbbd7b))){if(window[_0xbbd7b]===_0x4c38be)return _0x169727([0x74,0x69,0x6d,0x65]);if(window[_0xbbd7b]===_0x1b6a73)return _0x169727([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]);}return!0x1;}function _0x3ec6e8(){if(!_0x43b49c(_0x524ee2,_0x169727([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x137b98 in window)if(Number['isNaN'](Number(_0x137b98))&&window[_0x137b98]===_0xb7ca9d)return!0x0;return!0x1;}function _0x2bd96e(_0x20dc65,_0x4b97da){_0x1c2b91(),_0xbd7977(_0x4b97da+_0x169727([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a])+_0x20dc65),window[_0x5e7279()]=_0x20dc65===_0x169727([0x74,0x69,0x6d,0x65])?_0x4c38be:_0x1b6a73;}function _0x237481(){let _0x12943e=_0x44b107[0x6]*_0x4acae1[0x8]*_0x4acae1[0x6];return _0x43b49c(_0x524ee2,_0x169727([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x12943e/=0xa),_0x12943e;}function _0x1c2b91(){const _0x3c77d7=_0x524ee2;function _0x31bd80(){_0x43b49c(_0x3c77d7,_0x169727([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&(_0x1aa912(_0x3c77d7,_0x169727([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x169727([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x169727([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x1aa912(_0x3c77d7,_0x169727([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x169727([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x1aa912(_0x3c77d7,_0x169727([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x169727([0x75,0x70,0x64,0x61,0x74,0x65])]=_0x20aa73,_0x1aa912(_0x3c77d7,_0x169727([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x169727([0x73,0x61,0x76,0x65,0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e])]=_0x20aa73,_0x3c77d7[_0x169727([0x6d,0x6f,0x64,0x65,0x6c])][_0x169727([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x20aa73,_0x3c77d7[_0x169727([0x6d,0x6f,0x64,0x65,0x6c])][_0x169727([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x20aa73,_0x3c77d7[_0x169727([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x169727([0x6d,0x6f,0x64,0x65,0x6c]))),_0x43b49c(_0x3c77d7,_0x169727([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x1aa912(_0x3c77d7,_0x169727([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x169727([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x169727([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x1aa912(_0x3c77d7,_0x169727([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x169727([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x1aa912(_0x3c77d7,_0x169727([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x169727([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])]=_0x20aa73,_0x1aa912(_0x3c77d7,_0x169727([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x169727([0x5f,0x67,0x65,0x74,0x44,0x69,0x66,0x66])]=_0x20aa73);}_0x3c77d7[_0x169727([0x73,0x74,0x61,0x74,0x65])]==_0x169727([0x72,0x65,0x61,0x64,0x79])?_0x31bd80():_0x3c77d7[_0x169727([0x6f,0x6e,0x63,0x65])](_0x169727([0x72,0x65,0x61,0x64,0x79]),()=>{if(_0x43b49c(_0x3c77d7,_0x169727([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&_0x31bd80(),_0x43b49c(_0x3c77d7,_0x169727([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))){const _0x20484a=_0x1aa912(_0x3c77d7,_0x169727([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79])),_0x4996f=_0x20484a['getRevision'](0x0),_0x4cab9a=_0x20484a['getEarlierVisibleRevision'](_0x4996f[_0x169727([0x69,0x64])]);_0x1aa912(_0x3c77d7,_0x169727([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x169727([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])](_0x4996f[_0x169727([0x69,0x64])],_0x4cab9a?_0x4cab9a[_0x169727([0x69,0x64])]:null,0x1)['then'](()=>_0x31bd80());}});}_0x149db5(_0x18f819(_0x2231c2,_0x1046ca),_0x1046ca);}function _0x143237(_0x4dff9d,_0x41a9d9){try{return _0x498fa8(_0x41a9d9)?_0xbd7977(_0x41a9d9[_0x169727([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x169727([0x56,0x61,0x6c,0x69,0x64])):_0x4dff9d&&_0x1941e3(_0x4dff9d[_0x169727([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])],_0x41a9d9)?_0x4dff9d[_0x169727([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]&&!window[_0x169727([0x6f,0x70,0x65,0x6e])][_0x169727([0x63,0x6c,0x6f,0x73,0x65,0x64])]||parseInt(_0x4a395a)/0x2>_0x4dff9d[_0x169727([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]?_0xbd7977(_0x41a9d9[_0x169727([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x169727([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])):_0x4dff9d[_0x169727([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]?_0xbd7977(_0x41a9d9[_0x169727([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x169727([0x54,0x72,0x69,0x61,0x6c])):_0xbd7977(_0x41a9d9[_0x169727([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x169727([0x56,0x61,0x6c,0x69,0x64])):_0xbd7977(_0x41a9d9[_0x169727([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x169727([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}catch(_0x2f8dac){return _0xbd7977(_0x41a9d9[_0x169727([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x169727([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x4324a0(_0x2e3b10,_0x1fa157){if(_0x524ee2 instanceof _0xef354a){const _0x269a5c=_0x524ee2;_0x2e3b10==_0x1fa157[_0x169727([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x169727([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x15f593(_0x269a5c):_0x2e3b10==_0x1fa157[_0x169727([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x169727([0x54,0x72,0x69,0x61,0x6c])&&window[_0x169727([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x15f593(_0x269a5c),_0xbd7977(_0x1fa157[_0x169727([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x169727([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65]));},_0x44b107[0x6]*_0x4acae1[0x8]*_0x4acae1[0x6]),_0x269a5c[_0x169727([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])][_0x169727([0x6f,0x6e])](_0x169727([0x61,0x64,0x64]),(_0x58474b,_0x17daef)=>{_0x2e3b10!=_0x1fa157[_0x169727([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x169727([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])&&_0x2e3b10!=_0x1fa157[_0x169727([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x169727([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65])&&_0x2e3b10!=_0x1fa157[_0x169727([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x169727([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])||_0x39b101(_0x17daef);});}else{const _0x1e093a=_0x524ee2;_0x2e3b10==_0x1fa157[_0x169727([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x169727([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x39b101(_0x1e093a):_0x2e3b10==_0x1fa157[_0x169727([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x169727([0x54,0x72,0x69,0x61,0x6c])&&_0x1e093a[_0x169727([0x6f,0x6e])](_0x169727([0x72,0x65,0x61,0x64,0x79]),()=>{let _0x4f4eee=0x0;_0x1e093a[_0x169727([0x6d,0x6f,0x64,0x65,0x6c])][_0x169727([0x6f,0x6e])](_0x169727([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x43fbbc,_0xb48bea)=>{_0xb48bea[0x0][_0x169727([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x4f4eee++,0x1f8===_0x4f4eee&&(_0x39b101(_0x1e093a),_0xbd7977(_0x1fa157[_0x169727([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x169727([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])),_0x43fbbc[_0x169727([0x6f,0x66,0x66])]());},{'priority':_0x169727([0x68,0x69,0x67,0x68,0x65,0x73,0x74])});});}}function _0xbd7977(_0x27bf52){const _0x189af3=_0x5e7279();return _0x524ee2[_0x189af3]=_0x27bf52,_0x27bf52;}function _0x5e7279(){const _0xd1a357=String(window[_0x169727([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x169727([0x6e,0x6f,0x77])]())[_0x169727([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x169727([0x2e]),'');let _0x1dda01='';for(let _0x2c0135=0x0;_0x2c0135<_0xd1a357[_0x169727([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2c0135+=0x2){let _0x1002b4=parseInt(_0xd1a357[_0x169727([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2c0135,_0x2c0135+0x2));_0x1002b4>=_0x212367[_0x169727([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x1002b4-=_0x212367[_0x169727([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x1dda01+=_0x212367[_0x1002b4];}return _0x1dda01;}function _0x15f593(_0x3cc30e){for(const _0x5b76e1 of _0x3cc30e[_0x169727([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])])_0x39b101(_0x5b76e1);_0x1aa912(_0x3cc30e,_0x169727([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x169727([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])](!0x0),_0x1aa912(_0x3cc30e,_0x169727([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x169727([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])]=_0x20aa73;}function _0x39b101(_0x1f342f){function _0xd36b5d(){_0x1f342f[_0x169727([0x6d,0x6f,0x64,0x65,0x6c])][_0x169727([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x20aa73,_0x1f342f[_0x169727([0x6d,0x6f,0x64,0x65,0x6c])][_0x169727([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x20aa73,_0x1f342f[_0x169727([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x169727([0x6d,0x6f,0x64,0x65,0x6c]));}_0x1f342f[_0x169727([0x73,0x74,0x61,0x74,0x65])]==_0x169727([0x72,0x65,0x61,0x64,0x79])?_0xd36b5d():_0x1f342f[_0x169727([0x6f,0x6e,0x63,0x65])](_0x169727([0x72,0x65,0x61,0x64,0x79]),()=>_0xd36b5d());}function _0x20aa73(){return null;}function _0x1941e3(_0x3ed3d9,_0x93cd0b){const _0x11ce70=!!(_0x3ed3d9&_0x93cd0b[_0x169727([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]),_0xe84d3d=_0x3a17cc(_0x3ed3d9,_0x93cd0b);return _0x11ce70||_0xe84d3d;}function _0x3a17cc(_0x1b7ff5,_0x5913f0){const _0x376ce3=(_0x5913f0[_0x169727([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{})[_0x169727([0x66,0x67,0x69])]||null;return!!_0x376ce3&&_0x2b91fb[_0x169727([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2c1eb2=>_0x376ce3[_0x169727([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2c1eb2[_0x169727([0x69,0x64])]))[_0x169727([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x254ea8=>!_0xdb549e(_0x254ea8))[_0x169727([0x73,0x6f,0x6d,0x65])](_0x4da07b=>!!(_0x1b7ff5&_0x4da07b[_0x169727([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]));}function _0xdb549e(_0x434e34){const _0x17922d={[_0x169727([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])]:_0xb30222};return!!_0x434e34['forbiddenHandler']&&_0x17922d[_0x434e34['forbiddenHandler']]();}function _0xb30222(){return!window[_0x169727([0x44,0x72,0x75,0x70,0x61,0x6c])]||!_0x43b49c(_0x524ee2,_0x169727([0x64,0x72,0x75,0x70,0x61,0x6c,0x50,0x6f,0x77,0x65,0x72,0x65,0x64,0x42,0x79]));}function _0x498fa8(_0xf0a40b){if(!_0x43b49c(_0x524ee2,_0xf0a40b[_0x169727([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))return!0x0;const _0x6da1ee=_0xf0a40b[_0x169727([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{},_0x283f12=_0x6da1ee[_0x169727([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]||!0x1,_0x304b88=_0x6da1ee[_0x169727([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]||!0x1,_0x4cafce=_0x6da1ee[_0x169727([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]||!0x1;if(_0x43b49c(_0x524ee2,_0x169727([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x1aa912(_0x524ee2,_0x169727([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x169727([0x73,0x74,0x61,0x74,0x65])]==_0x169727([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&_0x283f12)return!0x0;if(_0x43b49c(_0x524ee2,_0x169727([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))&&_0x1aa912(_0x524ee2,_0x169727([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))[_0x169727([0x72,0x65,0x73,0x75,0x6c,0x74])]==_0x169727([0x65,0x6e,0x64])&&_0x304b88)return!0x0;return!(!_0x43b49c(_0x524ee2,_0x169727([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]))||_0x1aa912(_0x524ee2,_0x169727([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]))[_0x169727([0x72,0x65,0x73,0x75,0x6c,0x74])]!=_0x169727([0x65,0x6e,0x64])||!_0x4cafce);}function _0x43b49c(_0x11bc65,_0x515212){return _0x11bc65[_0x169727([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x169727([0x68,0x61,0x73])](_0x515212);}function _0x1aa912(_0x57f160,_0x3acbf6){return _0x57f160[_0x169727([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x169727([0x67,0x65,0x74])](_0x3acbf6);}function _0x2c535b(_0xa6fd86){let _0x21ec68='';for(const _0x180e51 of _0xa6fd86)_0x21ec68+=String[_0x169727([0x66,0x72,0x6f,0x6d,0x43,0x68,0x61,0x72,0x43,0x6f,0x64,0x65])](_0x180e51);return _0x21ec68;}function _0x534364(_0x210c10){const _0x944463=new Uint8Array(_0x210c10[_0x169727([0x6c,0x65,0x6e,0x67,0x74,0x68])]);for(let _0x992726=0x0;_0x992726<_0x210c10[_0x169727([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x992726++)_0x944463[_0x992726]=_0x210c10[_0x169727([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x992726);return _0x944463;}_0x4949e2&&_0x3a3e32(_0xa5935e(_0x40ea0b),_0x4949e2);})(_0x35b47d);}(this);}['createRevision'](_0x290bf9){const _0x525811=this['editor']['plugins']['get']('Users');return new a({'id':_0x290bf9['id'],'name':_0x290bf9['name'],'creator':_0x290bf9['creatorId']?_0x525811['getUser'](_0x290bf9['creatorId']):null,'diffData':_0x290bf9['diffData']||_0x290bf9['data'],'authors':_0x290bf9['authorsIds']['map'](_0x1aea1f=>_0x525811['getUser'](_0x1aea1f)),'createdAt':new Date(_0x290bf9['createdAt']),'attributes':_0x290bf9['attributes'],'fromVersion':_0x290bf9['fromVersion'],'toVersion':_0x290bf9['toVersion']});}['addRevision'](_0x2a9cac,_0x5e5b18=0x0){this['_revisions']['add'](_0x2a9cac,_0x5e5b18);}['getRevision'](_0x55e170){return this['_revisions']['get'](_0x55e170);}['getRevisions'](_0x298323={'toJSON':!0x1}){const _0x30a0ff=Array['from'](this['_revisions']);return _0x30a0ff['reverse'](),_0x298323['toJSON']?_0x30a0ff['map'](_0x413982=>_0x413982['toJSON']()):_0x30a0ff;}['getIndex'](_0x43370f){return this['_revisions']['getIndex'](_0x43370f);}['getEarlierVisibleRevision'](_0x1a0ffc){const [,_0x10813a]=this['getRevisionsIterator'](_0x1a0ffc,{'direction':'earlier'});return _0x10813a;}['getLaterVisibleRevision'](_0x4e9b4b){const [,_0x38543b]=this['getRevisionsIterator'](_0x4e9b4b,{'direction':'later'});return _0x38543b;}['getRevisionsInDiff'](_0x1c4e59){const _0x26e5bf=[];for(const _0x1defc6 of this['getRevisionsIterator'](_0x1c4e59['newRevisionId']))if(_0x26e5bf['push'](_0x1defc6),_0x1defc6['id']===_0x1c4e59['oldRevisionId'])break;return _0x26e5bf;}*['getRevisionsIterator'](_0x125a0b,{direction:_0x1c946b='earlier',filter:_0x28d9d0=_0x13dd20=>!0x0}={}){const _0x3fe6a3='earlier'===_0x1c946b?0x1:-0x1;let _0x2a8b16=this['_revisions']['get'](_0x125a0b),_0x220eb5=this['getIndex'](_0x2a8b16);for(yield _0x2a8b16;_0x2a8b16;){if(_0x220eb5+=_0x3fe6a3,_0x2a8b16=this['getRevision'](_0x220eb5),!_0x2a8b16)return;_0x28d9d0(_0x2a8b16)&&(yield _0x2a8b16);}}}function y(_0x3339a0,_0x58e80d,_0x491911){const t=_0x3339a0['t'];switch(_0x58e80d){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'},_0x491911);case'X_OF_Y_CHANGES':return t({'string':'%0\x20of\x20%1','id':'X_OF_Y_CHANGES'},_0x491911);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':_0x1abf31,'a':_0x1417be,'e':_0x1a6be8,'r':_0x2f85f2,'u':_0x37c649};class l extends _0x54c75a{['adapter'];['currentRevision'];['repository'];['_revisionDataBuilder'];['_source'];['_initialRevisionId'];['_bufferedUpdates'];['_pendingAction'];['_continueCurrentRevision'];['_startingVersion'];['_loadedStateData'];static get['pluginName'](){return'RevisionTracker';}static get['requires'](){return[_0x8b458a,A,_0x1d1570];}constructor(_0x3526b9){super(_0x3526b9),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 _0x16e7f2=_0x26de86();this['_source']={'history':this['editor']['model']['document']['history'],'getLatestVersion':()=>Promise['resolve'](this['editor']['model']['document']['version']),'getCurrentRevisionId':()=>_0x16e7f2},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 _0x275099=this['repository']['getRevision'](0x0),_0x4d5709=_0x275099&&null===_0x275099['creator']?_0x275099:null;if(this['_continueCurrentRevision']=!!_0x4d5709&&this['editor']['config']['get']('revisionHistory.resumeUnsavedRevision'),this['editor']['plugins']['has']('RealTimeCollaborationClient')){const _0xa5bda2=this['_source']['getCurrentRevisionId'](),_0x252e28=this['repository']['getRevision'](_0xa5bda2);if(_0x252e28)this['_startingVersion']=_0x252e28['fromVersion'],this['_continueCurrentRevision']=!0x1;else{const _0x58c8ed=this['_source']['history']['_operations']['find'](_0x2596ce=>!_0x2596ce['_isInit']),_0x5947be=_0x58c8ed?_0x58c8ed['baseVersion']:this['_source']['history']['version'];_0x275099?(_0x275099['toVersion']<_0x5947be&&_0x275099['_update']({'toVersion':_0x5947be}),this['_continueCurrentRevision']?(this['_source']['getCurrentRevisionId']=()=>_0x4d5709['id'],this['_startingVersion']=_0x4d5709['fromVersion']):(this['_startingVersion']=_0x275099['toVersion'],this['_continueCurrentRevision']=!0x1)):(this['_startingVersion']=_0x5947be,this['_continueCurrentRevision']=!0x1);}}else _0x4d5709&&(this['editor']['model']['document']['history']['version']=Math['max'](_0x4d5709['toVersion'],this['editor']['model']['document']['history']['version']),_0x4d5709['fromVersion']===_0x4d5709['toVersion']?(0x0!==_0x4d5709['fromVersion']&&(this['_source']['getCurrentRevisionId']=()=>_0x4d5709['id']),this['_continueCurrentRevision']=!0x1):this['_continueCurrentRevision']&&(this['_source']['getCurrentRevisionId']=()=>_0x4d5709['id'],this['_startingVersion']=_0x4d5709['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',_0x24be54=>!_0x24be54);}async['afterInit'](){if(this['repository']['length']>0x0){const _0x3fe576=this['repository']['getRevision'](0x0),_0x356a9e=await this['getRevisionDocumentData'](_0x3fe576),_0x2d89af=await this['getRevisionRootsAttributes'](_0x3fe576);this['_replaceEditorDataWithRevisionData'](_0x356a9e,_0x2d89af);}}['setSource'](_0x125ad8){this['_source']=_0x125ad8;}async['update'](){const _0x20a3a4=await this['_source']['getLatestVersion']();if(_0x20a3a4>this['currentRevision']['toVersion']){await this['_loadState']();const _0x5cd045=this['buildRevisionData']({'revision':this['currentRevision'],'to':_0x20a3a4});_0x5cd045['authors']=_0x5cd045['authorsIds']['map'](_0x4b4853=>this['editor']['plugins']['get']('Users')['getUser'](_0x4b4853)),this['currentRevision']['_update'](_0x5cd045);}}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'](_0x2b539f={},_0x5be403=null){const _0x5e782f=[];await this['_loadState'](),this['_continueCurrentRevision']=!0x1,_0x5be403>this['currentRevision']['toVersion']&&(_0x5be403=null),null===_0x5be403&&(_0x5be403=await this['_source']['getLatestVersion']());const _0x399861=this['_getFromVersion'](_0x5be403),_0x359f74=this['buildRevisionData']({'from':_0x399861,'to':_0x5be403});if(this['currentRevision']['toVersion']<_0x5be403){const _0x5814ff=this['buildRevisionData']({'revision':this['currentRevision'],'from':_0x5be403,'to':_0x5be403});_0x5814ff['authors']=[],_0x5814ff['authorsIds']=[],_0x5814ff['id']=this['currentRevision']['id'],this['currentRevision']['_update'](_0x5814ff,!0x0),delete _0x5814ff['authors'],_0x5e782f['push'](_0x5814ff);}_0x2b539f['creatorId']=this['editor']['plugins']['get']('Users')['me']['id'],_0x2b539f['name']=_0x2b539f['name']||null,_0x2b539f['id']=_0x2b539f['id']||_0x26de86(),_0x2b539f={..._0x2b539f,..._0x359f74};const _0x22f4b2=this['addRevisionData'](_0x2b539f);_0x5e782f['push'](_0x2b539f);const _0x3678f1=this['repository']['getIndex'](_0x22f4b2);if(0x0!==_0x3678f1){const _0x4bd089=this['repository']['getRevision'](_0x3678f1-0x1);if(_0x4bd089['fromVersion']!==_0x5be403){const _0x6ce680=this['_revisionDataBuilder']['getData'](_0x5be403,_0x4bd089['toVersion']),_0x5ca4bc={'id':_0x4bd089['id'],'diffData':_0x6ce680['diffData'],'authorsIds':_0x6ce680['authorsIds'],'authors':_0x6ce680['authorsIds']['map'](_0x4b1fb8=>this['editor']['plugins']['get']('Users')['getUser'](_0x4b1fb8)),'fromVersion':_0x5be403};_0x4bd089===this['currentRevision']&&(_0x5ca4bc['createdAt']=new Date(_0x2b539f['createdAt']['getTime']()+0xa)),_0x4bd089['_update'](_0x5ca4bc,!0x0),delete _0x5ca4bc['authors'],_0x5e782f['push'](_0x5ca4bc);}}if(this['adapter']){for(const _0xc68938 of _0x5e782f)this['_bufferUpdate'](_0xc68938['id'],_0xc68938,!0x0);this['sendBufferedUpdates']();}return _0x22f4b2;}['addRevisionData'](_0x44c94a){const _0x3ec93a=this['repository']['createRevision'](_0x44c94a);return this['adapter']&&_0x3ec93a['on']('_update',(_0x5d2832,_0x209e19,_0x1ccb6e)=>{_0x1ccb6e||(this['_bufferUpdate'](_0x209e19['id'],_0x209e19,!0x0),this['sendBufferedUpdates']());}),this['repository']['addRevision'](_0x3ec93a,this['_findInsertionIndex'](_0x3ec93a)),_0x3ec93a;}async['getRevisionDocumentData'](_0x2e894a){await this['_loadRevisionData'](_0x2e894a);const _0xefb6cf={};for(const _0x2fe64e in _0x2e894a['diffData']){if(_0x2e894a['diffData'][_0x2fe64e]['attachChange']&&!_0x2e894a['diffData'][_0x2fe64e]['attachChange']['isAttached'])continue;const _0x4c74c1=this['_removeRevisionMarkers'](JSON['parse'](_0x2e894a['diffData'][_0x2fe64e]['insertions'])),_0x2515df=this['editor']['editing']['view']['document'],_0x356700=new _0x5cd697(_0x2515df,_0x4c74c1['map'](_0x53464c=>B(_0x53464c,this['editor'])));this['editor']['data']['processor']['useFillerType']('marked'),_0xefb6cf[_0x2fe64e]=this['editor']['data']['processor']['toData'](_0x356700),this['editor']['data']['processor']['useFillerType']('default');}return _0xefb6cf;}async['getRevisionRootsAttributes'](_0x44df77){await this['_loadRevisionData'](_0x44df77);const _0x1dffb3={};for(const _0x5cb0a0 in _0x44df77['diffData'])_0x44df77['diffData'][_0x5cb0a0]['attachChange']&&!_0x44df77['diffData'][_0x5cb0a0]['attachChange']['isAttached']||(_0x1dffb3[_0x5cb0a0]=_0x44df77['diffData'][_0x5cb0a0]['attributesAfter']||{});return _0x1dffb3;}['sendBufferedUpdates'](){if(0x0===this['_bufferedUpdates']['size'])return;if(this['_isPendingUpdate'])return;let _0x1e678f=Array['from'](this['_bufferedUpdates']['values']());this['_bufferedUpdates']['clear']();for(let _0xb197fe=0x0;_0xb197fe<_0x1e678f['length'];_0xb197fe++){const _0x27b574=_0x1e678f[_0xb197fe];let _0x51ba29=!0x1;for(const _0x404031 of Object['keys'](_0x27b574))void 0x0===_0x27b574[_0x404031]?delete _0x27b574[_0x404031]:'id'!==_0x404031&&(_0x51ba29=!0x0);_0x51ba29||(_0x1e678f[_0xb197fe]=null);}if(_0x1e678f=_0x1e678f['filter'](_0x319b36=>null!==_0x319b36),!_0x1e678f['length'])return;for(let _0x241bfc=0x0;_0x241bfc<_0x1e678f['length'];_0x241bfc++){const _0x2b5520=_0x1e678f[_0x241bfc];void 0x0!==_0x2b5520['fromVersion']&&void 0x0===_0x2b5520['toVersion']&&(_0x2b5520['toVersion']=this['repository']['getRevision'](_0x2b5520['id'])['toVersion']),void 0x0!==_0x2b5520['toVersion']&&void 0x0===_0x2b5520['fromVersion']&&(_0x2b5520['fromVersion']=this['repository']['getRevision'](_0x2b5520['id'])['fromVersion']);}const _0x8b768d=this['editor']['config']['get']('collaboration.channelId');this['_isPendingUpdate']=!0x0,this['_addPendingAction'](),this['adapter']['updateRevisions'](_0x1e678f,_0x8b768d)['finally'](()=>{this['_isPendingUpdate']=!0x1;})['then'](_0x1058cb=>{if(_0x1058cb){for(const _0x583663 of _0x1058cb)this['setRevisionData']({'id':_0x583663['id'],'createdAt':_0x583663['createdAt']});}this['_removePendingAction'](),this['sendBufferedUpdates']();});}['_replaceEditorDataWithRevisionData'](_0x19cb63,_0x3edc6d){let _0x3ae927=this['editor']['config']['get']('initialData'),_0x2e05c1=this['editor']['config']['get']('rootsAttributes');if(void 0x0===_0x3ae927){_0x3ae927={};for(const _0x18771c of this['editor']['model']['document']['getRootNames']())_0x3ae927[_0x18771c]='';}if('string'==typeof _0x3ae927&&(_0x3ae927={'main':_0x3ae927}),void 0x0===_0x2e05c1){_0x2e05c1={};for(const _0x1396f5 of this['editor']['model']['document']['getRootNames']())_0x2e05c1[_0x1396f5]={};}let _0x4eb54d=!0x1;const _0x30f018=Object['keys'](_0x3ae927),_0x253789=Object['keys'](_0x19cb63);for(const _0x52fe38 of _0x30f018){if(_0x3ae927[_0x52fe38]!==_0x19cb63[_0x52fe38]&&''!==_0x3ae927[_0x52fe38]['trim']()){_0x4eb54d=!0x0;break;}if(!_0x52e4f0(_0x2e05c1[_0x52fe38],_0x3edc6d[_0x52fe38])&&Object['keys'](_0x2e05c1[_0x52fe38])['length']>0x0){_0x4eb54d=!0x0;break;}}_0x4eb54d||(_0x4eb54d=_0x253789['some'](_0x4cbd8e=>!this['editor']['model']['document']['getRoot'](_0x4cbd8e))),_0x4eb54d&&_0xd1acab('editor-initial-data-replaced-with-revision-data',{'editorData':_0x3ae927,'editorRootsAttributes':_0x2e05c1,'revisionData':_0x19cb63,'revisionRootsAttributes':_0x3edc6d}),this['editor']['config']['set']('initialData',_0x19cb63),this['editor']['config']['set']('rootsAttributes',_0x3edc6d);}['_addPendingAction'](){if(!this['_pendingAction']){const _0x49c628=this['editor']['plugins']['get']('PendingActions');this['_pendingAction']=_0x49c628['add'](y(this['editor']['locale'],'PENDING_ACTION_REVISION_HISTORY'));}}['_removePendingAction'](){this['_pendingAction']&&(this['editor']['plugins']['get']('PendingActions')['remove'](this['_pendingAction']),this['_pendingAction']=null);}['_findInsertionIndex'](_0x48b579){const _0x1693cc=this['repository']['getRevisions']();_0x1693cc['reverse']();let _0x436817=0x0;for(;_0x436817<_0x1693cc['length'];){const _0x3dbd5b=_0x1693cc[_0x436817];if(_0x3dbd5b===this['currentRevision']){_0x436817++;continue;}if(_0x3dbd5b['id']===this['_initialRevisionId'])break;const _0x3f7b5a=_0x48b579['toVersion']-_0x3dbd5b['toVersion']||_0x48b579['fromVersion']-_0x3dbd5b['fromVersion'];if(_0x3f7b5a>0x0)break;if(_0x3f7b5a<0x0)_0x436817++;else{if(!_0x48b579['creator']&&_0x3dbd5b['creator'])break;if(_0x3dbd5b['creator']||!_0x48b579['creator']){if(_0x48b579['createdAt']>_0x3dbd5b['createdAt'])break;_0x436817++;}else _0x436817++;}}return _0x436817;}['setRevisionData'](_0x4809af){const _0x375d9d=this['repository']['getRevision'](_0x4809af['id']);if(_0x4809af['createdAt']&&(_0x4809af['createdAt']=new Date(_0x4809af['createdAt'])),_0x4809af['authorsIds']){const _0x31ebe8=this['editor']['plugins']['get']('Users');_0x4809af['authors']=_0x4809af['authorsIds']['map'](_0x50770d=>_0x31ebe8['getUser'](_0x50770d));}_0x375d9d['_update'](_0x4809af,!0x0);}['buildRevisionData']({revision:_0x32b83d=null,from:_0x27e552=null,to:_0x3c7a06=null}){_0x27e552=null!==_0x27e552?_0x27e552:_0x32b83d['fromVersion'],_0x3c7a06=null!==_0x3c7a06?_0x3c7a06:_0x32b83d['toVersion'];const _0x2200cc=this['_revisionDataBuilder']['getData'](_0x27e552,_0x3c7a06),_0x20518d={'diffData':_0x2200cc['diffData'],'authorsIds':_0x2200cc['authorsIds'],'fromVersion':_0x27e552,'toVersion':_0x3c7a06};if(!_0x32b83d||_0x3c7a06!==_0x32b83d['toVersion']){const _0x1a573a=_0x3c7a06-0x1,_0x6d611e=this['_source']['history']['getOperation'](_0x1a573a);_0x20518d['createdAt']=_0x6d611e&&_0x6d611e['createdAt']||new Date();}if(this['_loadedStateData']&&_0x27e552===this['_loadedStateData']['fromVersion']){for(const _0x2c8039 of this['_loadedStateData']['authors'])_0x20518d['authorsIds']['includes'](_0x2c8039['id'])||_0x20518d['authorsIds']['push'](_0x2c8039['id']);}return _0x20518d;}['_loadRevisionData'](_0x24882f){if(!_0x24882f||_0x24882f['diffData'])return Promise['resolve']();{const _0x591ffd=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0x591ffd,'revisionId':_0x24882f['id']})['then'](_0x8a2967=>{_0x24882f['diffData']=_0x8a2967['diffData'];});}}['_bufferUpdate'](_0xebba1b,_0x55507c,_0x4819ae){if(this['_bufferedUpdates']['has'](_0xebba1b)){const _0x4eb755=this['_bufferedUpdates']['get'](_0xebba1b);_0x55507c=_0x4819ae?{..._0x4eb755,..._0x55507c}:{..._0x55507c,..._0x4eb755};}this['_bufferedUpdates']['set'](_0xebba1b,_0x55507c);}['_getFromVersion'](_0x4d3bd3){const _0x507d63=this['repository']['getRevisions']();_0x507d63['reverse'](),_0x507d63['shift']();const _0x3e6398=_0x507d63['find'](_0x403d20=>_0x403d20['toVersion']<=_0x4d3bd3)['toVersion'];return _0x3e6398<this['_startingVersion']?this['_startingVersion']:_0x3e6398;}['_createInitialRevision'](_0x1969e4){const _0x53c01c=this['repository']['getRevision'](this['repository']['length']-0x1);if(_0x53c01c)this['_initialRevisionId']=_0x53c01c['id'];else{const _0x59b44f=!this['editor']['model']['document']['roots']['find'](_0x4b443a=>this['editor']['model']['hasContent'](_0x4b443a)),_0x593371=this['editor']['plugins']['get']('Users')['me']['id'],_0x5b9589=y(this['editor']['locale'],_0x59b44f?'Empty\x20document':'Initial\x20revision');this['_makeRevision']({'from':_0x1969e4,'to':_0x1969e4,'id':this['_initialRevisionId'],'name':_0x5b9589,'creatorId':_0x593371});}}['_createCurrentRevision'](_0x3856e6){const _0x261e2f=this['_source']['getCurrentRevisionId']();this['currentRevision']=this['repository']['getRevision'](_0x261e2f),this['currentRevision']||(this['currentRevision']=this['_makeRevision']({'from':_0x3856e6,'to':_0x3856e6,'id':_0x261e2f,'name':'','creatorId':null}));}['_makeRevision']({name:_0x5730cd,from:_0x4eff90,to:_0x18938a,creatorId:_0x399c62,id:_0x15cd62}){const _0x1dc2e3=this['buildRevisionData']({'from':_0x4eff90,'to':_0x18938a});_0x1dc2e3['name']=_0x5730cd,_0x1dc2e3['creatorId']=_0x399c62,_0x1dc2e3['id']=_0x15cd62;const _0x4a7b1c=this['addRevisionData'](_0x1dc2e3);return this['adapter']&&this['_bufferUpdate'](_0x1dc2e3['id'],_0x1dc2e3,!0x0),_0x4a7b1c;}['_setConversion'](){this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'});}['_removeRevisionMarkers'](_0x127d6e){return(_0x127d6e=_0x127d6e['filter'](_0x2126aa=>!_0x2126aa['name']||'revision-start'!==_0x2126aa['name']&&'revision-end'!==_0x2126aa['name']))['forEach'](_0x1f2bcd=>{'string'!=typeof _0x1f2bcd&&(_0x1f2bcd['children']=this['_removeRevisionMarkers'](_0x1f2bcd['children']),_0x1f2bcd['attributes']=_0x1f2bcd['attributes']['filter'](_0x3aea4b=>!_0x3aea4b[0x0]['startsWith']('data-revision-')));}),_0x127d6e;}}function B(_0x3af008,_0x5f1559){const _0x13385e=_0x5f1559['editing']['view']['document'];if('string'==typeof _0x3af008)return new _0xc691a(_0x13385e,_0x3af008);{const _0x403dff=_0x3af008['children']['map'](_0x37173f=>B(_0x37173f,_0x5f1559));return new(T[_0x3af008['type']]||_0x4cd341)(_0x13385e,_0x3af008['name'],_0x3af008['attributes'],_0x403dff);}}class J{['editor'];['source'];['_savedMetaData'];['_lastFrom'];['_lastTo'];['_markers'];['_diffRoots'];['_diffRootsAttributes'];['_baseRoots'];['_baseRootsAttributes'];['_idsRoots'];['_baseIdsRoots'];['_touched'];['_touchedMarkers'];['_touchedRoots'];['_revisionId'];['_startingRevisionId'];constructor(_0x58f2eb){this['editor']=_0x58f2eb,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'](_0x130b12){this['source']=_0x130b12;const _0x36b0cf=new Map(),_0x4d3e70=new Map(),_0x225bf0=this['editor']['model']['document']['roots']['map'](_0x469fc0=>_0x469fc0['rootName']);for(const _0x48bd0c of _0x225bf0){const _0x2a4158=this['editor']['model']['document']['getRoot'](_0x48bd0c),_0x1ab58d=q(_0x2a4158);_0x36b0cf['set'](_0x48bd0c,_0x1ab58d),_0x4d3e70['set'](_0x48bd0c,Object['fromEntries'](_0x2a4158['getAttributes']()));}const _0x248719=Array['from'](this['editor']['model']['markers'])['map'](_0x2e05dd=>[_0x2e05dd['name'],_0x2e05dd['getRange']()]),_0x1c5244=this['source']['version'];this['_saveMetaData'](_0x1c5244,_0x36b0cf,_0x248719,_0x4d3e70),this['_startingRevisionId']=this['_revisionId'];const _0x47dda6=new Map(),_0x3d58ab=new Map();for(const _0x37b10a of _0x225bf0){const _0x11629d=G(_0x37b10a);_0x47dda6['set'](_0x37b10a,_0x11629d),_0x3d58ab['set'](_0x37b10a,{});}this['_saveMetaData'](Number['NEGATIVE_INFINITY'],_0x47dda6,[],_0x3d58ab);}['getData'](_0x409ff9,_0x17a4f3){if(this['_lastFrom']===_0x409ff9&&this['_lastTo']<=_0x17a4f3)this['_savedMetaData']['size']>0x1&&this['_removeMetaData'](this['_lastTo']),this['_applyOperations'](this['_lastTo'],_0x17a4f3,!0x0);else{if(!this['_savedMetaData']['has'](_0x409ff9)){const _0x4b2f32=this['_getPreviousFrom'](_0x409ff9);this['_calculateMetaData'](_0x4b2f32,_0x409ff9,!0x1);}this['_calculateMetaData'](_0x409ff9,_0x17a4f3,!0x0);}return this['_lastFrom']=_0x409ff9,this['_lastTo']=_0x17a4f3,this['_getState']();}['loadState'](_0x37a4cc){this['_reset'](),this['_lastFrom']=_0x37a4cc['fromVersion'],this['_lastTo']=_0x37a4cc['toVersion'];for(const _0x1a5c15 in _0x37a4cc['diffData']){const _0x4591aa=_0x37a4cc['diffData'][_0x1a5c15]['attachChange'],_0x313617=_0x482816(_0x37a4cc['diffData'][_0x1a5c15]['attributesBefore'])||{},_0x154cb5=this['_makeModelFromViewString'](_0x37a4cc['diffData'][_0x1a5c15]['deletions']);_0x154cb5['rootName']=_0x1a5c15,_0x154cb5['_isAttached']=!_0x4591aa||!_0x4591aa['isAttached'],_0x154cb5['isAttached']=()=>_0x154cb5['_isAttached'],this['_baseRoots']['set'](_0x1a5c15,_0x154cb5),this['_baseRootsAttributes']['set'](_0x1a5c15,_0x313617),_0x4591aa&&this['_touchedRoots']['set'](_0x1a5c15,_0x4591aa);const _0x1acff8=this['_makeIdsRoot'](_0x154cb5);this['_baseIdsRoots']['set'](_0x1a5c15,_0x1acff8);for(const [_0x23e61e,_0x113159]of _0x154cb5['markers']){if(!_0x23e61e['startsWith']('revision:'))continue;const _0x54186e=_0x23e61e['split'](':')[0x2];for(const _0x57fb38 of _0x113159['getWalker']({'singleCharacters':!0x0})){const _0x2d2784=this['_getVidAttributeName'](_0x57fb38),_0x3e3619='elementEnd'==_0x57fb38['type']?_0x57fb38['previousPosition']['path']['slice'](0x0,-0x1):_0x57fb38['previousPosition']['path'],_0x33f162=_0x1acff8['getNodeByPath'](_0x3e3619)['getAttribute'](_0x2d2784);this['_touched']['set'](_0x33f162,{'userId':_0x54186e});}}}this['_startingRevisionId']=this['_revisionId'];const _0x57f561=[...Array(this['_revisionId'])['keys']()]['slice'](0x1)['filter'](_0x3ca7ea=>!this['_touched']['has'](_0x3ca7ea));let _0x91cf52=0x0;const _0xba132=new Map();for(const _0x4dfe5f in _0x37a4cc['diffData']){const _0x3cb7ae=_0x37a4cc['diffData'][_0x4dfe5f]['attachChange'],_0x128708=_0x482816(_0x37a4cc['diffData'][_0x4dfe5f]['attributesAfter'])||{},_0x16d077=this['_makeModelFromViewString'](_0x37a4cc['diffData'][_0x4dfe5f]['insertions']);_0x16d077['rootName']=_0x4dfe5f,_0x16d077['_isAttached']=!_0x3cb7ae||_0x3cb7ae['isAttached'],_0x16d077['isAttached']=()=>_0x16d077['_isAttached'],this['_diffRoots']['set'](_0x4dfe5f,_0x16d077),this['_diffRootsAttributes']['set'](_0x4dfe5f,_0x128708);const _0x1fab54=this['_makeIdsRoot'](_0x16d077,Number['NEGATIVE_INFINITY']);this['_idsRoots']['set'](_0x4dfe5f,_0x1fab54),_0xba132['set'](_0x4dfe5f,_0x16d077['isAttached']()?_0x128708:{});for(const [_0x376054,_0x56aa7b]of _0x16d077['markers']){if(!_0x376054['startsWith']('revision:'))continue;const _0x5dc81c=_0x376054['split'](':')[0x2];for(const _0x43483b of _0x56aa7b['getWalker']({'singleCharacters':!0x0})){const _0x1980e3=this['_getVidAttributeName'](_0x43483b),_0x14254b=this['_revisionId']++,_0x1e4f2c='elementEnd'==_0x43483b['type']?_0x43483b['previousPosition']['path']['slice'](0x0,-0x1):_0x43483b['previousPosition']['path'];_0x1fab54['getNodeByPath'](_0x1e4f2c)['_setAttribute'](_0x1980e3,_0x14254b),this['_touched']['set'](_0x14254b,{'userId':_0x5dc81c});}}for(const _0x43dec6 of this['editor']['model']['createRangeIn'](_0x16d077)['getWalker']({'singleCharacters':!0x0})){const _0x1de015=this['_getVidAttributeName'](_0x43dec6),_0x2dbc3b='elementEnd'==_0x43dec6['type']?_0x43dec6['previousPosition']['path']['slice'](0x0,-0x1):_0x43dec6['previousPosition']['path'],_0x2c6185=_0x1fab54['getNodeByPath'](_0x2dbc3b);_0x2c6185['getAttribute'](_0x1de015)>0x0||_0x2c6185['_setAttribute'](_0x1de015,_0x57f561[_0x91cf52++]);}for(const [_0x44c008,_0x4b8b8b]of _0x16d077['markers'])_0x44c008['startsWith']('revision:')||this['_markers']['set'](_0x44c008,_0x4b8b8b);}const _0x161238=G('$graveyard');this['_baseRoots']['set']('$graveyard',_0x161238),this['_baseIdsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x161238,0x1));const _0x20dbd0=G('$graveyard');this['_diffRoots']['set']('$graveyard',_0x20dbd0),this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x20dbd0,0x1));const _0x114723=Array['from'](this['_diffRoots'])['map'](([_0x8d95fa,_0xd2077b])=>[_0x8d95fa,q(_0xd2077b)]);this['_saveMetaData'](this['_lastTo'],_0x114723,this['_markers'],_0xba132);}['_makeModelFromViewString'](_0xf22c6a){const _0x5625f7=JSON['parse'](_0xf22c6a),_0x191e9d=this['editor']['editing']['view']['document'],_0x2478a9=new _0x5cd697(_0x191e9d,_0x5625f7['map'](_0x5c0ea7=>B(_0x5c0ea7,this['editor'])));return this['editor']['data']['toModel'](_0x2478a9);}['_saveMetaData'](_0x313e16,_0x28070d,_0x301c10,_0x3ea6bb){const _0x5e5ea5=new Map(_0x28070d),_0x18b60d=new Map(_0x482816(_0x3ea6bb)),_0x477b1d=new Map();for(const [_0x50f756,_0x24fec3]of _0x301c10)_0x477b1d['set'](_0x50f756,{'start':_0x24fec3['start']['clone'](),'end':_0x24fec3['end']['clone'](),'rootName':_0x24fec3['root']['rootName']});this['_savedMetaData']['set'](_0x313e16,{'roots':_0x5e5ea5,'markers':_0x477b1d,'rootsAttributes':_0x18b60d});}['_removeMetaData'](_0x378c05){this['_savedMetaData']['delete'](_0x378c05);}['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'](_0x2cd2ee,_0x73bc26=null){let _0x8c77d8=null;_0x2cd2ee['is']('documentFragment')||(_0x8c77d8=new ft(_0x2cd2ee['name'],{'vid_start':null===_0x73bc26?this['_revisionId']++:_0x73bc26++}));const _0x2ba060=[];for(const _0x404ba9 of _0x2cd2ee['getChildren']())if(_0x404ba9['is']('element')){_0x2ba060['push'](this['_makeIdsRoot'](_0x404ba9,_0x73bc26));const _0x493494=_0x2ba060[_0x2ba060['length']-0x1];null!==_0x73bc26&&(_0x73bc26=_0x493494['is']('element','$text')?_0x493494['getAttribute']('vid')+0x1:_0x493494['getAttribute']('vid_end')+0x1);}else{for(let _0x174e9b=0x0;_0x174e9b<_0x404ba9['offsetSize'];_0x174e9b++)_0x2ba060['push'](new ft('$text',{'vid':null===_0x73bc26?this['_revisionId']++:_0x73bc26++}));}if(_0x2cd2ee['is']('documentFragment')){const _0x119f31=G(_0x2cd2ee['rootName']);return _0x119f31['_insertChild'](0x0,_0x2ba060),_0x119f31;}return _0x8c77d8['_setAttribute']('vid_end',null===_0x73bc26?this['_revisionId']++:_0x73bc26++),_0x8c77d8['_insertChild'](0x0,_0x2ba060),_0x8c77d8;}['_calculateMetaData'](_0x3b2442,_0x175059,_0x427d6e){this['_reset']();const {roots:_0x3d605f,markers:_0x35b8ec,rootsAttributes:_0x1d421e}=this['_savedMetaData']['get'](_0x3b2442);this['_baseRoots']=new Map(_0x3d605f),this['_baseRootsAttributes']=new Map(_0x482816(_0x1d421e));for(const [_0x42a52a,_0x99e903]of this['_baseRoots'])if('$graveyard'!==_0x42a52a&&(this['_diffRoots']['set'](_0x42a52a,q(_0x99e903)),this['_diffRootsAttributes']=new Map(_0x482816(_0x1d421e)),_0x427d6e)){const _0x523393=this['_revisionId'];this['_idsRoots']['set'](_0x42a52a,this['_makeIdsRoot'](_0x99e903)),this['_baseIdsRoots']['set'](_0x42a52a,this['_makeIdsRoot'](_0x99e903,_0x523393));}this['_startingRevisionId']=this['_revisionId'],this['_diffRoots']['set']('$graveyard',q(this['_baseRoots']['get']('$graveyard'))),_0x427d6e&&this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](this['_baseRoots']['get']('$graveyard')));for(const [_0x490f39,_0x59ffbc]of _0x35b8ec){const _0x41c33a=this['_baseRoots']['get'](_0x59ffbc['rootName']),_0x19c115=this['_diffRoots']['get'](_0x59ffbc['rootName']),_0x148381=new vt(this['_fixPosition'](_0x59ffbc['start'],_0x41c33a),this['_fixPosition'](_0x59ffbc['end'],_0x41c33a)),_0x330594=this['_fixRange'](_0x148381,_0x19c115);_0x41c33a['markers']['set'](_0x490f39,_0x148381),this['_markers']['set'](_0x490f39,_0x330594);}this['_applyOperations'](_0x3b2442,_0x175059,_0x427d6e);}['_applyOperations'](_0x3c4c5d,_0x3f3424,_0x495694){for(const _0x54c79f of this['source']['getOperations'](_0x3c4c5d,_0x3f3424))this['_handleOperation'](_0x54c79f,_0x495694);for(const _0x433567 of this['_diffRoots']['values']())_0x433567['markers']['clear']();for(const [_0x185a90,_0x4b3119]of this['_markers']){this['_diffRoots']['get'](_0x4b3119['root']['rootName'])['markers']['set'](_0x185a90,_0x4b3119['clone']());}const _0x40daf1=new Map(),_0x579e2b=new Map();for(const [_0x46448b,_0x1c83e9]of this['_diffRoots'])_0x40daf1['set'](_0x46448b,q(_0x1c83e9)),_0x579e2b['set'](_0x46448b,this['_diffRootsAttributes']['get'](_0x46448b));this['_saveMetaData'](_0x3f3424,_0x40daf1,this['_markers'],_0x579e2b);}['_getPreviousFrom'](_0x474257){const _0x359257=Array['from'](this['_savedMetaData']['keys']());_0x359257['sort']((_0x13def3,_0x3244ba)=>_0x13def3-_0x3244ba),_0x359257['reverse']();for(const _0x3d48fa of _0x359257)if(_0x3d48fa<_0x474257)return _0x3d48fa;return Number['NEGATIVE_INFINITY'];}['_copyMarkers'](_0x1297ae,_0x5d8f5d){const _0xaaba97=Array['from'](_0x5d8f5d['markers'])['map'](([_0x3435d7,_0xd4a349])=>[_0x3435d7,this['_fixRange'](_0xd4a349,_0x1297ae)]);_0x1297ae['markers']=new Map(_0xaaba97);}['_transformMarkers'](_0x1bc229){for(const _0x10eea4 of this['_markers']['values']()){const _0x5ef6a7=_0x10eea4['getTransformedByOperation'](_0x1bc229),_0x3f3c41=vt['_createFromRanges'](_0x5ef6a7);_0x10eea4['start']=_0x3f3c41['start'],_0x10eea4['end']=_0x3f3c41['end'];}}['_handleOperation'](_0x4a71f2,_0x2f81f0){if('addRoot'==_0x4a71f2['type']||'detachRoot'==_0x4a71f2['type'])return void this['_handleRootOperation'](_0x4a71f2,_0x2f81f0);if('insert'==_0x4a71f2['type']){const _0x6d3ba8=_0x4a71f2['position']['root']['rootName'];this['_diffRoots']['has'](_0x6d3ba8)||(this['_diffRoots']['set'](_0x6d3ba8,G(_0x6d3ba8,!0x0)),this['_diffRootsAttributes']['set'](_0x6d3ba8,{}),_0x2f81f0&&this['_idsRoots']['set'](_0x6d3ba8,G(_0x6d3ba8,!0x0)));}else{if('addRootAttribute'==_0x4a71f2['type']||'removeRootAttribute'==_0x4a71f2['type']||'changeRootAttribute'==_0x4a71f2['type'])return void this['_handleRootAttributeOperation'](_0x4a71f2);}const _0x5ca7ad=this['_cloneOperation'](_0x4a71f2,this['_diffRoots']);if('marker'!==_0x4a71f2['type']&&(_0x5ca7ad['_execute'](),this['_transformMarkers'](_0x5ca7ad)),_0x2f81f0)switch(_0x5ca7ad['type']){case'insert':this['_handleInsertOperation'](_0x4a71f2);break;case'move':case'remove':case'reinsert':this['_handleMoveOperation'](_0x4a71f2);break;case'merge':this['_handleMergeOperation'](_0x4a71f2);break;case'split':this['_handleSplitOperation'](_0x4a71f2);break;case'marker':this['_handleMarkerOperation'](_0x4a71f2);}}['_cloneOperation'](_0x361b83,_0x476f05){const _0xe2c865=_0x361b83['clone']();return _0xe2c865['_authorId']=_0x361b83['_authorId'],this['_fixOperation'](_0xe2c865,_0x476f05),_0xe2c865;}['_getBaseVids'](_0x4e6da8){return _0x4e6da8['map'](_0x3fff9a=>{const _0x1aa156=this['_getVidAttributeName'](_0x3fff9a);return Number(_0x3fff9a['item']['getAttribute'](_0x1aa156));});}['_generateTape'](_0x317e96,_0x1f0ea2){if(_0x317e96['is']('element','$text'))_0x1f0ea2['push']({'item':_0x317e96,'type':'text'});else{_0x317e96['is']('element')&&_0x1f0ea2['push']({'item':_0x317e96,'type':'elementStart'});for(const _0x3a3bff of _0x317e96['getChildren']())this['_generateTape'](_0x3a3bff,_0x1f0ea2);_0x317e96['is']('element')&&_0x1f0ea2['push']({'item':_0x317e96,'type':'elementEnd'});}return _0x1f0ea2;}['_getState'](){const _0x57e77c=new Map(this['_touched']),_0x525a05=new Map(_0x57e77c),_0x1d2924=new Map(),_0x565954={'insertions':{},'deletions':{}},_0x31da93={'insertions':{},'deletions':{}},_0xa797a6=new Map(),_0x301c80=new Set([...this['_baseRoots']['keys'](),...this['_diffRoots']['keys']()]);_0x301c80['delete']('$graveyard');for(const _0x63528 of _0x301c80){const _0x18c95f=this['_diffRoots']['get'](_0x63528)||G(_0x63528,!0x1),_0x4edea6=this['_baseRoots']['get'](_0x63528)||G(_0x63528,!0x1);_0x18c95f['isAttached']()||_0x4edea6['isAttached']()?(_0x565954['insertions'][_0x63528]=q(_0x18c95f),_0x565954['deletions'][_0x63528]=q(_0x4edea6),this['_copyMarkers'](_0x565954['deletions'][_0x63528],_0x4edea6),this['_copyMarkers'](_0x565954['insertions'][_0x63528],_0x18c95f),_0x31da93['insertions'][_0x63528]=this['_generateTape'](this['_idsRoots']['get'](_0x63528),[]),_0x31da93['deletions'][_0x63528]=this['_generateTape'](this['_baseIdsRoots']['get'](_0x63528)||G(_0x63528,!0x1),[])):_0x301c80['delete'](_0x63528);}for(const _0xd89e16 of _0x301c80){const _0x287bc1=_0x31da93['insertions'][_0xd89e16];for(const _0x21a236 of _0x287bc1){const _0x435c15=this['_getVidAttributeName'](_0x21a236),_0xf5c832=_0x21a236['item']['getAttribute'](_0x435c15);_0x525a05['delete'](_0xf5c832),_0xf5c832>=this['_startingRevisionId']&&_0x1d2924['set'](_0xf5c832,_0x57e77c['get'](_0xf5c832));}}for(const _0x5bac32 of _0x301c80){const _0x4171dc=_0x31da93['insertions'][_0x5bac32],_0x41525c=this['_getBaseVids'](_0x31da93['deletions'][_0x5bac32]);let _0x124353=0x0;for(const _0x557e87 of _0x4171dc){const _0x50feb0=this['_getVidAttributeName'](_0x557e87),_0x2a810f=_0x557e87['item']['getAttribute'](_0x50feb0);if(!_0x1d2924['has'](_0x2a810f)&&!_0xa797a6['has'](_0x2a810f)){if(_0x525a05['has'](_0x2a810f))_0x124353++;else{if(_0x2a810f!=_0x41525c[_0x124353]){const _0x598407=_0x57e77c['get'](_0x2a810f)||_0x57e77c['get'](_0x41525c[_0x124353]);for(;_0x2a810f!=_0x41525c[_0x124353];)_0x525a05['has'](_0x41525c[_0x124353])||(_0xa797a6['set'](_0x41525c[_0x124353],_0x598407),_0x57e77c['set'](_0x41525c[_0x124353],_0x598407)),_0x124353++;}_0x124353++;}}}}for(const _0x58aede of _0x301c80){const _0x4e3833=_0x31da93['insertions'][_0x58aede];for(const _0x4bd9f1 of _0x4e3833){const _0x568388=this['_getVidAttributeName'](_0x4bd9f1),_0x2c5466=_0x4bd9f1['item']['getAttribute'](_0x568388);if(_0xa797a6['has'](_0x2c5466)){const _0x49d346=_0xa797a6['get'](_0x2c5466);_0x525a05['has'](_0x2c5466)||_0x525a05['set'](_0x2c5466,{..._0x49d346}),_0x1d2924['set'](_0x2c5466,{..._0x49d346});}}}for(const _0x18f343 of _0x525a05['keys']())_0x18f343>=this['_startingRevisionId']&&_0x525a05['delete'](_0x18f343);const _0x3f310e=new Map();for(const _0x57b821 of _0x301c80){let _0x3e0019=_0x31da93['insertions'][_0x57b821];for(const _0x4e40de of _0x3e0019)if(_0x4e40de['item']['is']('element','tableCell')){const _0x2fb1f9=this['_getVidAttributeName'](_0x4e40de),_0x4fe361=_0x4e40de['item']['getAttribute'](_0x2fb1f9);if(_0x1d2924['has'](_0x4fe361)){const _0x5a14c5=_0x4e40de['item']['parent']['parent']['getAttribute']('vid_start'),_0x45a529=_0x3f310e['get'](_0x5a14c5)||new Set();_0x45a529['add'](_0x1d2924['get'](_0x4fe361)['userId']),_0x3f310e['set'](_0x5a14c5,_0x45a529);}}_0x3e0019=_0x31da93['deletions'][_0x57b821];for(const _0xec4beb of _0x3e0019)if(_0xec4beb['item']['is']('element','tableCell')){const _0xf9f06f=this['_getVidAttributeName'](_0xec4beb),_0x59b9d3=_0xec4beb['item']['getAttribute'](_0xf9f06f);if(_0x525a05['has'](_0x59b9d3)){const _0x21cb9f=_0xec4beb['item']['parent']['parent']['getAttribute']('vid_start'),_0xcf095e=_0x3f310e['get'](_0x21cb9f)||new Set();_0xcf095e['add'](_0x525a05['get'](_0x59b9d3)['userId']),_0x3f310e['set'](_0x21cb9f,_0xcf095e);}}for(const _0x38c74d of _0x3f310e['keys']())(_0x1d2924['has'](_0x38c74d)||_0x525a05['has'](_0x38c74d))&&_0x3f310e['delete'](_0x38c74d);}for(const _0x4be322 of _0x301c80){const _0x550780=_0x31da93['insertions'][_0x4be322];let _0x4e82c7=null,_0x38547b=null;for(const _0x49509b of _0x550780){const _0x451cfc=this['_getVidAttributeName'](_0x49509b),_0x1b952c=_0x49509b['item']['getAttribute'](_0x451cfc),_0x224e90=_0x3f310e['get'](_0x1b952c);_0x224e90&&'elementStart'==_0x49509b['type']&&(_0x4e82c7=Array['from'](_0x224e90)[0x0],_0x38547b=_0x49509b['item']['getAttribute']('vid_end')),_0x4e82c7&&(_0x525a05['set'](_0x1b952c,{'userId':_0x4e82c7}),_0x1d2924['set'](_0x1b952c,{'userId':_0x4e82c7})),_0x1b952c==_0x38547b&&(_0x4e82c7=null,_0x38547b=null);}}const _0x4d9340={},_0x59901=new Set();for(const _0x137082 of _0x301c80){const _0xee632=_0x565954['deletions'][_0x137082],_0x2d6777=_0x565954['insertions'][_0x137082];for(const {userId:_0x3d5a46}of this['_touchedMarkers']['values']())null!==_0x3d5a46&&_0x59901['add'](_0x3d5a46);for(const {userId:_0x4b7824}of this['_touchedRoots']['values']())null!==_0x4b7824&&_0x59901['add'](_0x4b7824);this['_markChanges'](_0x2d6777,_0x31da93['insertions'][_0x137082],_0x1d2924,'insertion',_0x59901),this['_markChanges'](_0xee632,_0x31da93['deletions'][_0x137082],_0x525a05,'deletion',_0x59901),_0x4d9340[_0x137082]={'insertions':this['_prepareViewToSave'](_0x2d6777),'deletions':this['_prepareViewToSave'](_0xee632),'attachChange':this['_touchedRoots']['get'](_0x137082)||null,'attributesBefore':_0x482816(this['_baseRootsAttributes']['get'](_0x137082))||{},'attributesAfter':_0x482816(this['_diffRootsAttributes']['get'](_0x137082))};}return{'diffData':_0x4d9340,'authorsIds':Array['from'](_0x59901)};}['_processRootBeforeSave'](_0x36c5f8){for(const [,_0x21db0c]of _0x36c5f8['markers']){const _0x427ce2=_0x21db0c['start']['getAncestors']()['filter'](_0x4bc28c=>'tableCell'==_0x4bc28c['name']);for(const _0x393e62 of _0x427ce2)0x1==_0x393e62['childCount']&&_0x393e62['getChild'](0x0)['is']('element','paragraph')&&_0x393e62['getChild'](0x0)['_setAttribute']('keepParagraph',!0x0);}}['_prepareViewToSave'](_0xf1a42a){this['_processRootBeforeSave'](_0xf1a42a);const _0x462ab7=this['editor']['data']['toView'](_0xf1a42a,{}),_0x4c7cb6=Array['from'](_0x462ab7['getChildren']())['map'](_0x11c4ba=>this['_getViewJson'](_0x11c4ba));return JSON['stringify'](_0x4c7cb6);}['_getViewJson'](_0x3882f9){if(_0x3882f9['is']('$text'))return _0x3882f9['data'];{const _0x94345e=_0x3882f9;return{'type':Object['keys'](T)['find'](_0x410fcb=>_0x3882f9 instanceof T[_0x410fcb]),'name':_0x94345e['name'],'attributes':Array['from'](_0x94345e['getAttributes']()),'children':Array['from'](_0x94345e['getChildren']())['map'](_0x846e4b=>this['_getViewJson'](_0x846e4b))};}}['_markChanges'](_0x24abce,_0x1d97f7,_0x227217,_0x10832e,_0x1435c4){let _0x41de2e=null,_0x4060d1=null,_0x3ac507=0x0;const _0x5ada31=this['editor']['model'];for(let _0x1799c0=0x0;_0x1799c0<_0x1d97f7['length'];_0x1799c0++){const _0x3f43b0=this['_getVidAttributeName'](_0x1d97f7[_0x1799c0]),_0x243aa1=_0x1d97f7[_0x1799c0]['item']['getAttribute'](_0x3f43b0),_0x27cd34=_0x227217['get'](_0x243aa1),_0x3e2b6a=_0x1799c0==_0x1d97f7['length']-0x1;(!_0x41de2e&&_0x27cd34&&(_0x41de2e=_0x27cd34,_0x4060d1=_0x1d97f7[_0x1799c0]),_0x41de2e&&(!_0x27cd34||_0x27cd34['userId']!=_0x41de2e['userId']))&&(_0x3feeab(_0x27cd34,L(_0x4060d1,_0x24abce,_0x5ada31),L(_0x1d97f7[_0x1799c0],_0x24abce,_0x5ada31)),_0x41de2e=_0x27cd34||null,_0x4060d1=_0x27cd34?_0x1d97f7[_0x1799c0]:null),_0x41de2e&&_0x3e2b6a&&_0x3feeab(_0x27cd34,L(_0x4060d1,_0x24abce,_0x5ada31),W(_0x1d97f7[_0x1799c0],_0x24abce,_0x5ada31));}function _0x3feeab(_0x3b6a86,_0x4e5d63,_0x2ecf6a){const _0x583876=_0x41de2e['userId'],_0x45b1ae='revision:'+_0x10832e+':'+_0x583876+':'+_0x3ac507++,_0x4351cd=_0x5ada31['createRange'](_0x4e5d63,_0x2ecf6a);_0x24abce['markers']['set'](_0x45b1ae,_0x4351cd),null!==_0x583876&&_0x1435c4['add'](_0x583876);}}['_getVidAttributeName'](_0x187140){switch(_0x187140['type']){case'elementStart':return'vid_start';case'elementEnd':return'vid_end';default:return'vid';}}['_fixOperation'](_0x64f39e,_0x1e5336){_0x64f39e['baseVersion']=null;for(const _0x30b7a6 in _0x64f39e){const _0x2cc7e0=_0x64f39e[_0x30b7a6];if(_0x2cc7e0 instanceof gt){const _0x4061b5=_0x1e5336['get'](_0x2cc7e0['root']['rootName']);_0x64f39e[_0x30b7a6]=this['_fixPosition'](_0x2cc7e0,_0x4061b5);}if(_0x2cc7e0 instanceof vt){const _0xeae44c=_0x1e5336['get'](_0x2cc7e0['root']['rootName']);_0x64f39e[_0x30b7a6]=this['_fixRange'](_0x2cc7e0,_0xeae44c);}'root'===_0x30b7a6&&(_0x64f39e['root']=_0x1e5336['get'](_0x64f39e['root']['rootName']));}}['_fixRange'](_0x5bfbcf,_0x101402){return this['editor']['model']['createRange'](this['_fixPosition'](_0x5bfbcf['start'],_0x101402),this['_fixPosition'](_0x5bfbcf['end'],_0x101402));}['_fixPosition'](_0x2e476b,_0x28f1d4){return this['editor']['model']['createPositionFromPath'](_0x28f1d4,_0x2e476b['path'],_0x2e476b['stickiness']);}['_handleInsertOperation'](_0x1950ba){const _0x84fd4d=this['_idsRoots']['get'](_0x1950ba['position']['root']['rootName']),_0x3d742e=this['_fixPosition'](_0x1950ba['position'],_0x84fd4d),_0x402907=null===_0x1950ba['_authorId']?null:_0x1950ba['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0xfe5ac3=_0x3d742e['parent'],_0x150588=this['_revisionId'],_0x17dd82=[];for(const _0x1c01ed of _0x1950ba['nodes'])if(_0x1c01ed['is']('element'))_0x17dd82['push'](this['_makeIdsRoot'](_0x1c01ed));else{for(let _0x55ecd8=0x0;_0x55ecd8<_0x1c01ed['offsetSize'];_0x55ecd8++)_0x17dd82['push'](new ft('$text',{'vid':this['_revisionId']++}));}const _0x356f71=this['_revisionId'];for(let _0x2c5a17=_0x150588;_0x2c5a17<_0x356f71;_0x2c5a17++)this['_touched']['set'](_0x2c5a17,{'userId':_0x402907});_0xfe5ac3['_insertChild'](_0x3d742e['offset'],_0x17dd82);}['_handleMoveOperation'](_0x2b6a84){(_0x2b6a84=this['_cloneOperation'](_0x2b6a84,this['_idsRoots']))['_execute']();const _0x5ce3b4=null===_0x2b6a84['_authorId']?null:_0x2b6a84['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x3fcf65=_0x2b6a84['getMovedRangeStart'](),_0x549ce8=_0x3fcf65['parent'],_0x2f53ec=_0x3fcf65['offset'];!function _0x255a59(_0x3bc614,_0x117f2e,_0x5cf5bd,_0x2fbd74){for(let _0x349493=_0x5cf5bd;_0x349493<_0x2fbd74;_0x349493++){const _0x1e3973=_0x117f2e['getChild'](_0x349493);_0x1e3973['is']('element','$text')?_0x3bc614['set'](_0x1e3973['getAttribute']('vid'),{'userId':_0x5ce3b4}):(_0x3bc614['set'](_0x1e3973['getAttribute']('vid_start'),{'userId':_0x5ce3b4}),_0x255a59(_0x3bc614,_0x1e3973,0x0,_0x1e3973['childCount']),_0x3bc614['set'](_0x1e3973['getAttribute']('vid_end'),{'userId':_0x5ce3b4}));}}(this['_touched'],_0x549ce8,_0x2f53ec,_0x2f53ec+_0x2b6a84['howMany']);}['_handleMergeOperation'](_0x340f5d){const _0x24e8db=null===(_0x340f5d=this['_cloneOperation'](_0x340f5d,this['_idsRoots']))['_authorId']?null:_0x340f5d['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x27eae8=_0x340f5d['targetPosition']['parent'],_0x227539=_0x340f5d['sourcePosition']['parent'],_0x5071ad=_0x27eae8['getAttribute']('vid_end'),_0x3df244=_0x227539['getAttribute']('vid_start');_0x27eae8['_setAttribute']('vid_end',_0x227539['getAttribute']('vid_end')),_0x227539['_setAttribute']('vid_end',_0x5071ad),this['_touched']['set'](_0x3df244,{'userId':_0x24e8db}),this['_touched']['set'](_0x5071ad,{'userId':_0x24e8db}),_0x340f5d['_execute']();}['_handleSplitOperation'](_0x467b5c){const _0x434c9a=null===(_0x467b5c=this['_cloneOperation'](_0x467b5c,this['_idsRoots']))['_authorId']?null:_0x467b5c['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x2e6e86=_0x467b5c['graveyardPosition'],_0x48b195=_0x467b5c['splitPosition']['parent'];_0x467b5c['_execute']();const _0x264576=_0x48b195['getAttribute']('vid_end'),_0x55e825=_0x467b5c['insertionPosition']['nodeAfter'];if(_0x2e6e86){const _0x4923d5=_0x55e825['getAttribute']('vid_end'),_0x1e656b=_0x48b195['getAttribute']('vid_end');_0x48b195['_setAttribute']('vid_end',_0x4923d5),_0x55e825['_setAttribute']('vid_end',_0x1e656b),this['_touched']['set'](_0x48b195['getAttribute']('vid_end'),{'userId':_0x434c9a}),this['_touched']['set'](_0x55e825['getAttribute']('vid_start'),{'userId':_0x434c9a});}else{const _0x116937=this['_revisionId']++,_0x50f4bc=this['_revisionId']++;_0x48b195['_setAttribute']('vid_end',_0x116937),_0x55e825['_setAttribute']('vid_start',_0x50f4bc),_0x55e825['_setAttribute']('vid_end',_0x264576),this['_touched']['set'](_0x116937,{'userId':_0x434c9a}),this['_touched']['set'](_0x50f4bc,{'userId':_0x434c9a});}}['_handleMarkerOperation'](_0x8b10f1){if(!_0x8b10f1['affectsData'])return;const _0x4bdc3e=(_0x8b10f1=this['_cloneOperation'](_0x8b10f1,this['_diffRoots']))['oldRange']?_0x8b10f1['oldRange']['root']:null,_0x9eeedf=_0x8b10f1['newRange']?_0x8b10f1['newRange']['root']:null;_0x4bdc3e&&this['_markers']['delete'](_0x8b10f1['name']),_0x9eeedf&&this['_markers']['set'](_0x8b10f1['name'],_0x8b10f1['newRange']['clone']());const _0xd0e055=null===_0x8b10f1['_authorId']?null:_0x8b10f1['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x2356fc=_0x8b10f1['name'];if(!this['_touchedMarkers']['has'](_0x2356fc))return void this['_touchedMarkers']['set'](_0x2356fc,{'range':_0x8b10f1['oldRange'],'userId':_0xd0e055});const _0x379b18=this['_touchedMarkers']['get'](_0x2356fc),_0x3b9fd9=_0x379b18['range'],_0x5df01c=_0x8b10f1['newRange'];null==_0x3b9fd9&&null==_0x5df01c||_0x3b9fd9&&_0x5df01c&&_0x3b9fd9['isEqual'](_0x5df01c)?this['_touchedMarkers']['delete'](_0x8b10f1['name']):_0x379b18['userId']=_0xd0e055;}['_handleRootOperation'](_0x1d4d04,_0x2a7c2e){this['_diffRoots']['has'](_0x1d4d04['rootName'])?this['_diffRoots']['get'](_0x1d4d04['rootName'])['_isAttached']=_0x1d4d04['isAdd']:(this['_diffRoots']['set'](_0x1d4d04['rootName'],G(_0x1d4d04['rootName'],!0x0)),this['_diffRootsAttributes']['set'](_0x1d4d04['rootName'],{}),_0x2a7c2e&&this['_idsRoots']['set'](_0x1d4d04['rootName'],G(_0x1d4d04['rootName'],!0x0)));const _0x228d1e=null===_0x1d4d04['_authorId']?null:_0x1d4d04['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x31ba5a=this['_touchedRoots']['get'](_0x1d4d04['rootName']);_0x31ba5a&&_0x31ba5a['userId']===_0x228d1e?this['_touchedRoots']['delete'](_0x1d4d04['rootName']):this['_touchedRoots']['set'](_0x1d4d04['rootName'],{'userId':_0x228d1e,'isAttached':_0x1d4d04['isAdd']});}['_handleRootAttributeOperation'](_0x3f3995){const _0x20c237=this['_diffRootsAttributes']['get'](_0x3f3995['root']['rootName']);null===_0x3f3995['newValue']?delete _0x20c237[_0x3f3995['key']]:_0x20c237[_0x3f3995['key']]=_0x3f3995['newValue'];}}function q(_0x47517c){const _0x34cb07=G(_0x47517c['rootName'],_0x47517c['isAttached']());for(const _0x10e674 of _0x47517c['getChildren']()){const _0x247d41=_0x10e674['_clone'](!0x0);_0x34cb07['_appendChild'](_0x247d41);}return _0x34cb07;}function G(_0x998fda,_0x475a53=!0x0){const _0x1d60b3=new wt();return _0x1d60b3['rootName']=_0x998fda,_0x1d60b3['_isAttached']=_0x475a53,_0x1d60b3['isAttached']=()=>_0x1d60b3['_isAttached'],_0x1d60b3;}function L(_0x101abd,_0x348e9b,_0x19998b){const _0x1ff91d='elementEnd'==_0x101abd['type']?_0x19998b['createPositionAt'](_0x101abd['item'],'end'):_0x19998b['createPositionBefore'](_0x101abd['item']);return _0x19998b['createPositionFromPath'](_0x348e9b,_0x1ff91d['path'],_0x1ff91d['stickiness']);}function W(_0x484e92,_0x21ad56,_0x52f315){const _0x4279ed='elementStart'==_0x484e92['type']?_0x52f315['createPositionAt'](_0x484e92['item'],0x0):_0x52f315['createPositionAfter'](_0x484e92['item']);return _0x52f315['createPositionFromPath'](_0x21ad56,_0x4279ed['path'],_0x4279ed['stickiness']);}class ns extends _0x1d7bb1{['focusTracker'];['keystrokes'];['revisionNameInputView'];constructor(_0x11cf2b,_0xfa47aa){super(_0x11cf2b),this['focusTracker']=new _0x572250(),this['keystrokes']=new _0x194c3a(),this['set']('revisionNameInputValue',''),this['revisionNameInputView']=this['_createRevisionNameInput'](_0xfa47aa),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'](),_0x46bcfd({'view':this}),this['focusTracker']['add'](this['revisionNameInputView']['element']),this['keystrokes']['listenTo'](this['element']);const _0x2ae753=_0x5cbf2c=>_0x5cbf2c['stopPropagation']();this['keystrokes']['set']('arrowright',_0x2ae753),this['keystrokes']['set']('arrowleft',_0x2ae753),this['keystrokes']['set']('arrowup',_0x2ae753),this['keystrokes']['set']('arrowdown',_0x2ae753);}['focus'](){this['revisionNameInputView']['focus']();}get['revisionName'](){return this['revisionNameInputView']['fieldView']['element']['value']['trim']();}set['revisionName'](_0x2c8d2a){this['revisionNameInputView']['fieldView']['element']['value']=_0x2c8d2a['trim']();}['reset'](){this['revisionNameInputView']['fieldView']['element']['value']='',this['revisionNameInputView']['errorText']=null;}['_createRevisionNameInput'](_0x14f364){const _0x2272e3=new at(this['locale'],_0x53cfe7),_0x80736d=_0x2272e3['fieldView'];_0x80736d['extendTemplate']({'attributes':{'maxlength':'220'}});let _0x125808=y(this['locale'],'Name\x20of\x20the\x20revision');return!_0x14f364&&(_0x125808+='\x20('+y(this['locale'],'optional')+')'),(_0x2272e3['label']=_0x125808,_0x80736d['on']('input',()=>{this['revisionNameInputValue']=_0x80736d['element']['value']['trim']();}),_0x2272e3);}}class u extends _0x54c75a{static get['pluginName'](){return'RevisionHistoryUI';}static get['requires'](){return[l];}['_saveRevisionFormView'];['init'](){const _0x184f82=this['editor'],_0x5b9fb3=_0x184f82['plugins']['get']('RevisionTracker');_0x184f82['ui']['componentFactory']['add']('revisionHistory',_0x436417=>{const _0x477a9f=_0x293bbb(_0x436417),_0x1c5f4f=_0x477a9f['panelView']['children'],_0x17b56d=new te(_0x436417),_0x5b06b7=new _0x10abb1(_0x436417),_0x24a372=new _0x46da82(_0x436417),_0x55fabf=new _0x10abb1(_0x436417),_0x3e17ca=new _0x46da82(_0x436417);return _0x477a9f['bind']('isEnabled')['to'](_0x5b9fb3,'isReady',_0x5b9fb3,'isEnabled',_0x184f82,'isReadOnly',(_0x47d691,_0x3a8c1e,_0x5ac461)=>_0x47d691&&_0x3a8c1e&&!_0x5ac461),_0x477a9f['buttonView']['set']({'icon':_0x100426['history'],'label':y(_0x436417,'Revision\x20history'),'tooltip':!0x0}),_0x24a372['set']({'label':y(_0x436417,'Save\x20current\x20revision'),'withText':!0x0,'role':'menuitem'}),_0x24a372['bind']('isEnabled')['to'](_0x5b9fb3,'isReady',_0x5b9fb3,'isEnabled',_0x184f82,'isReadOnly',(_0x380b27,_0x22548c,_0x436c56)=>_0x380b27&&_0x22548c&&!_0x436c56),_0x24a372['on']('execute',()=>this['_showDialog']()),_0x3e17ca['set']({'label':y(_0x436417,'Open\x20revision\x20history'),'withText':!0x0,'role':'menuitem'}),_0x3e17ca['bind']('isEnabled')['to'](_0x5b9fb3,'isReady',_0x184f82,'isReadOnly',(_0x3fd6ae,_0xd1b0e7)=>_0x3fd6ae&&!_0xd1b0e7),_0x3e17ca['on']('execute',()=>{_0x184f82['config']['get']('revisionHistory')['showRevisionViewerCallback'](),_0x477a9f['isOpen']=!0x1,_0x184f82['editing']['view']['focus']();}),_0x5b06b7['children']['add'](_0x24a372),_0x55fabf['children']['add'](_0x3e17ca),_0x17b56d['role']='menu',_0x17b56d['items']['addMany']([_0x5b06b7,_0x55fabf]),_0x1c5f4f['add'](_0x17b56d),_0x477a9f;}),_0x184f82['ui']['componentFactory']['add']('menuBar:revisionHistory',()=>this['_registerMenuComponent']());}['_registerMenuComponent'](){const _0x4c5e36=this['editor'],_0x27400f=_0x4c5e36['locale'],_0x1747f5=new _0x4da81a(_0x27400f),_0x346d01=new _0x1e8dbb(_0x27400f);_0x1747f5['buttonView']['set']({'icon':_0x100426['history'],'label':y(_0x27400f,'Revision\x20history')});const _0x385e33=new _0x2c0929(_0x27400f,_0x1747f5),_0x152e20=new _0xb6649d(_0x27400f);_0x152e20['set']({'label':y(_0x27400f,'Save\x20current\x20revision')}),_0x152e20['delegate']('execute')['to'](_0x1747f5),_0x152e20['on']('execute',()=>{this['_showDialog']();}),_0x385e33['children']['add'](_0x152e20),_0x346d01['items']['add'](_0x385e33);const _0x45063d=new _0x2c0929(_0x27400f,_0x1747f5),_0x5aad88=new _0xb6649d(_0x27400f);return _0x5aad88['set']({'label':y(_0x27400f,'Open\x20revision\x20history')}),_0x5aad88['delegate']('execute')['to'](_0x1747f5),_0x5aad88['on']('execute',()=>{_0x4c5e36['config']['get']('revisionHistory')['showRevisionViewerCallback']();}),_0x45063d['children']['add'](_0x5aad88),_0x346d01['items']['add'](_0x45063d),_0x1747f5['panelView']['children']['add'](_0x346d01),_0x1747f5;}['_showDialog'](){const _0xb5f51a=this['editor'],_0x2be8c1=_0xb5f51a['locale'],t=_0x2be8c1['t'],_0x352eb3=_0xb5f51a['plugins']['get']('Dialog'),_0x3bed61=_0xb5f51a['plugins']['get']('RevisionTracker');function _0x13e763(_0x894e92){_0xb5f51a['config']['get']('revisionHistory.requireRevisionName')&&''===_0x894e92['revisionName']?_0x894e92['revisionNameInputView']['errorText']=y(_0x2be8c1,'The\x20revision\x20name\x20cannot\x20be\x20empty.'):(_0xb5f51a['plugins']['get'](l)['saveRevision']({'name':_0x894e92['revisionName']}),_0x352eb3['hide']());}this['_saveRevisionFormView']||(this['_createSaveRevisionFormView'](),this['_saveRevisionFormView']['on']('submit',()=>_0x13e763(this['_saveRevisionFormView']))),this['_saveRevisionFormView']['reset'](),_0x352eb3['show']({'id':'revisionSave','title':y(_0x2be8c1,'Save\x20current\x20revision'),'isModal':!0x0,'content':this['_saveRevisionFormView'],'actionButtons':[{'label':t('Cancel'),'withText':!0x0,'onExecute':()=>_0x352eb3['hide']()},{'label':t('Accept'),'class':'ck-button-action','withText':!0x0,'onCreate'(_0x3f3ce4){_0x3f3ce4['bind']('isEnabled')['to'](_0x3bed61,'isReady',_0x3bed61,'isEnabled',_0xb5f51a,'isReadOnly',(_0x4471f8,_0x32def6,_0x3cc3f3)=>_0x4471f8&&_0x32def6&&!_0x3cc3f3);},'onExecute':()=>_0x13e763(this['_saveRevisionFormView'])}]});}['_createSaveRevisionFormView'](){const _0x5d1476=this['editor'],_0x462546=_0x5d1476['locale'];this['_saveRevisionFormView']=new ns(_0x462546,_0x5d1476['config']['get']('revisionHistory.requireRevisionName')),this['_saveRevisionFormView']['render']();}}class Z extends _0x1d7bb1{['changeId'];['_model'];constructor(_0x33fede,_0x5c6b0d){super(_0x33fede),this['_model']=_0x5c6b0d,this['changeId']=_0x5c6b0d['id'];const _0x2f2d1d=this['bindTemplate'],_0x1d387f=y(_0x33fede,_0x5c6b0d['data']['isSuggestion']?'Suggested\x20by':'add'==_0x5c6b0d['type']?'Added\x20by':'Removed\x20by');this['set']('type',_0x5c6b0d['type']),this['setTemplate']({'tag':'div','attributes':{'class':['ck-annotation','ck-revision-change',_0x2f2d1d['to']('type',_0x3cf57c=>'ck-revision-change__'+_0x3cf57c)],'tabindex':-0x1},'children':[{'tag':'span','children':[{'tag':'span','attributes':{'class':['ck-revision-change__label']},'children':[{'text':_0x1d387f}]},{'text':'\x20'+_0x5c6b0d['author']['name']}]}]});}['focus'](){this['element']['focus']();}}class r extends/* #__PURE__ -- @preserve */
25
- _0xf0a99a(){['id'];['author'];['type'];['data'];['rootName'];constructor(_0x5f439d){super(),this['id']=_0x5f439d['id']||_0x26de86(),this['author']=_0x5f439d['author'],this['type']=_0x5f439d['type'],this['data']=_0x5f439d['data']||{},this['rootName']=_0x5f439d['rootName'],this['set']('createdAt',_0x5f439d['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(_0x3d395e,_0x2bff98){this['newRevisionId']=_0x3d395e,this['oldRevisionId']=_0x2bff98,this['changes']=new _0x7fb43f();}['_setChanges'](_0x489830){for(const _0x280a79 of _0x489830)this['changes']['add'](_0x280a79);}}const tt={'c':_0x1abf31,'a':_0x1417be,'e':_0x1a6be8,'r':_0x2f85f2,'u':_0x37c649};class d extends _0x54c75a{['repository'];['adapter'];['_activeViewTarget'];['_changeView'];['_changeIdToChange'];['_balloon'];static get['pluginName'](){return'RevisionViewer';}static get['requires'](){return[_0x8b458a,_0x363ab3,A];}constructor(_0x83f33c){super(_0x83f33c),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',(_0x156709,_0x3dc759,_0x4f0185)=>{this['activeChange']=null,this['activeView']=null,this['editor']['editing']['view']['change'](_0x145fd8=>{for(const _0x520db7 of this['editor']['editing']['view']['document']['roots'])_0x4f0185?_0x145fd8['removeClass']('ck-editor__editable__overlay',_0x520db7):_0x145fd8['addClass']('ck-editor__editable__overlay',_0x520db7);});}),this['bind']('isNavigationMode')['to'](this,'activeChange',_0x1b226d=>null!==_0x1b226d),this['bind']('currentChangeNumber')['to'](this,'isReady',this,'diff',this,'activeChange',(_0x4864ca,_0x1663ab,_0x24b45d)=>_0x4864ca&&_0x24b45d?_0x1663ab['changes']['getIndex'](_0x24b45d):0x0),this['bind']('numberOfChanges')['to'](this,'isReady',this,'diff',(_0x474356,_0x389d7a)=>_0x474356?_0x389d7a['changes']['length']:0x0),this['_changeView']=null,this['_changeIdToChange']=new Map(),this['adapter']=null,this['_balloon']=this['editor']['plugins']['get'](_0x363ab3);}['init'](){const _0x18f5c6=this['editor'],_0x3c36e9=new yt(_0x18f5c6,{'direction':'backward'}),_0x2655bd=new yt(_0x18f5c6,{'direction':'forward'});(_0x18f5c6['commands']['add']('showPreviousChange',_0x3c36e9),_0x18f5c6['commands']['add']('showNextChange',_0x2655bd),_0x18f5c6['commands']['add']('restoreRevision',new bt(_0x18f5c6)),this['on']('change:numberOfChanges',()=>{_0x3c36e9['refresh'](),_0x2655bd['refresh']();}),this['_setConversion'](),this['_initInteractions'](),_0x18f5c6['enableReadOnlyMode']('revision-viewer'),_0x18f5c6['plugins']['has']('WidgetToolbarRepository'))&&_0x18f5c6['plugins']['get']('WidgetToolbarRepository')['forceDisabled']('revision-viewer');}async['getRevisionData'](_0x101dfb){await this['loadRevisionData'](_0x101dfb);const _0x2b75c1={};for(const _0x190fd4 in _0x101dfb['diffData']){if(_0x101dfb['diffData'][_0x190fd4]['attachChange']&&!_0x101dfb['diffData'][_0x190fd4]['attachChange']['isAttached'])continue;const _0x331932=this['_removeRevisionMarkers'](JSON['parse'](_0x101dfb['diffData'][_0x190fd4]['insertions'])),_0xd4a85b=this['editor']['editing']['view']['document'],_0x1345fc=new _0x5cd697(_0xd4a85b,_0x331932['map'](_0x1ccaf5=>this['_getViewObj'](_0x1ccaf5)));this['editor']['data']['processor']['useFillerType']('marked'),_0x2b75c1[_0x190fd4]=this['editor']['data']['processor']['toData'](_0x1345fc),this['editor']['data']['processor']['useFillerType']('default');}return _0x2b75c1;}async['getRevisionRootsAttributes'](_0x44bc2c){await this['loadRevisionData'](_0x44bc2c);const _0x1ecb25={};for(const _0x35b11e in _0x44bc2c['diffData'])_0x44bc2c['diffData'][_0x35b11e]['attachChange']&&!_0x44bc2c['diffData'][_0x35b11e]['attachChange']['isAttached']||(_0x1ecb25[_0x35b11e]=_0x44bc2c['diffData'][_0x35b11e]['attributesAfter']||{});return _0x1ecb25;}['_removeRevisionMarkers'](_0x938608){return(_0x938608=_0x938608['filter'](_0x90f839=>!_0x90f839['name']||'revision-start'!==_0x90f839['name']&&'revision-end'!==_0x90f839['name']))['forEach'](_0x372c20=>{'string'!=typeof _0x372c20&&(_0x372c20['children']=this['_removeRevisionMarkers'](_0x372c20['children']),_0x372c20['attributes']=_0x372c20['attributes']['filter'](_0x55efd5=>!_0x55efd5[0x0]['startsWith']('data-revision-')));}),_0x938608;}async['compare'](_0x2d5c31,_0xa2d37b,_0x46b69a=!0x1){if(!this['isEnabled'])return;const _0x578a30=this['diff'],_0x47b939=this['repository'],_0x423a88='string'==typeof _0x2d5c31?_0x47b939['getRevision'](_0x2d5c31):_0x2d5c31,_0x1ecfb4='string'==typeof _0xa2d37b?_0x47b939['getRevision'](_0xa2d37b):_0xa2d37b,_0x17ae7e=_0x423a88['id'],_0x5f469f=_0x1ecfb4?_0x1ecfb4['id']:null;if(!_0x46b69a&&this['diff']&&this['diff']['newRevisionId']===_0x17ae7e&&this['diff']['oldRevisionId']===_0x5f469f)return Promise['resolve']();this['isReady']=!0x1,this['activeView']=null,this['activeChange']=null,this['diff']=new f(_0x17ae7e,_0x5f469f);const _0x45d175=this['_getRevisionsRange'](_0x423a88,_0x1ecfb4,!0x0)['map'](_0x494302=>this['loadRevisionData'](_0x494302));return _0x45d175['push'](new Promise(_0x8d061c=>{setTimeout(_0x8d061c,0x14);})),Promise['all'](_0x45d175)['then'](()=>{if(!this['isEnabled'])return;this['_cleanUp']();const _0x23cc06=this['_getDiff'](_0x17ae7e,_0x5f469f);for(const _0x2d86bd of _0x23cc06['changes'])this['_changeIdToChange']['set'](_0x2d86bd['id'],_0x2d86bd);this['editor']['model']['enqueueChange']({'isUndoable':!0x1},_0x33321b=>{for(const _0xc06ed7 of this['editor']['model']['document']['getRootNames']())_0x33321b['detachRoot'](_0xc06ed7);for(const _0x1f4e7b of Object['keys'](_0x23cc06['model'])){const _0x561cd8=_0x33321b['addRoot'](_0x1f4e7b);for(const _0x2d0a7a of Object['keys'](_0x23cc06['attributes'][_0x1f4e7b]))_0x33321b['setAttribute'](_0x2d0a7a,_0x23cc06['attributes'][_0x1f4e7b][_0x2d0a7a],_0x561cd8);_0x33321b['insert'](_0x23cc06['model'][_0x1f4e7b],_0x561cd8,0x0);}}),this['diff']['_setChanges'](this['_sortAndFilterDiffChanges'](_0x23cc06['changes'])),this['isReady']=!0x0;})['catch'](_0xd2d502=>{console['error'](_0xd2d502),this['_cleanUp'](),_0x578a30&&(this['diff']=_0x578a30),this['isReady']=!0x0;});}['addRevisionData'](_0x3f912b,_0x3c2429){const _0x392e3d=this['repository']['createRevision'](_0x3f912b);return _0x392e3d['on']('_update',(_0x3809da,_0x157de8,_0x4efb60)=>_0x3c2429(_0x157de8,_0x4efb60,_0x392e3d)),this['repository']['addRevision'](_0x392e3d),_0x392e3d;}['loadRevisionData'](_0x298b54){if(!_0x298b54||_0x298b54['diffData'])return Promise['resolve']();{const _0x34d156=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0x34d156,'revisionId':_0x298b54['id']})['then'](_0x2ab23a=>{_0x298b54['_update']({'diffData':_0x2ab23a['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},_0x35a236=>{for(const _0x4f82cc of this['editor']['model']['document']['getRootNames']())_0x35a236['detachRoot'](_0x4f82cc);});}['_sortAndFilterDiffChanges'](_0x3cef9b){const _0x5f107c=[],_0x117121=new Map();for(const _0x5079f7 of this['editor']['model']['document']['getRootNames']()){const _0x3b861c=this['editor']['editing']['view']['getDomRoot'](_0x5079f7);if(!_0x3b861c)continue;const _0x438d8e=_0x3b861c['getClientRects']()['item'](0x0);_0x438d8e&&(_0x5f107c['push'](_0x5079f7),_0x117121['set'](_0x5079f7,_0x438d8e));}return _0x5f107c['sort']((_0x480e0f,_0xd2a40)=>{const _0x45b0ae=_0x117121['get'](_0x480e0f),_0x1f0fff=_0x117121['get'](_0xd2a40);return _0x45b0ae['y']-_0x1f0fff['y']||_0x45b0ae['x']-_0x1f0fff['x'];}),(_0x3cef9b=_0x3cef9b['filter'](_0x7c7d39=>_0x5f107c['includes'](_0x7c7d39['rootName'])))['sort']((_0x151f2d,_0x19659d)=>_0x5f107c['indexOf'](_0x151f2d['rootName'])-_0x5f107c['indexOf'](_0x19659d['rootName'])),_0x3cef9b;}['_makeTape'](_0x2e6d57){const _0x1b5c37=Array['from'](_0x2e6d57['markers'])['filter'](([_0x78c52a,_0x445ff3])=>_0x78c52a['startsWith']('revision:')&&!_0x445ff3['isCollapsed']),_0x5174de=Array['from'](this['editor']['model']['createRangeIn'](_0x2e6d57)['getWalker']({'singleCharacters':!0x0}));if(0x0!=_0x1b5c37['length'])for(const _0x413949 of _0x5174de){const [_0x33763e,_0x32a100]=_0x1b5c37[0x0],[,_0x224ecf,_0x2d8145]=_0x33763e['split'](':');if(_0x32a100['end']['isEqual'](_0x413949['nextPosition'])&&_0x1b5c37['shift'](),(_0x413949['previousPosition']['isEqual'](_0x32a100['start'])||_0x413949['previousPosition']['isAfter'](_0x32a100['start']))&&('insertion'==_0x224ecf?_0x413949['isAdded']={'userId':_0x2d8145}:'deletion'==_0x224ecf&&(_0x413949['isRemoved']={'userId':_0x2d8145})),0x0==_0x1b5c37['length'])break;}return _0x5174de;}['_refreshStartEndIndex'](_0x39d12e){const _0x3d92c8=new Map();for(let _0x104a64=0x0;_0x104a64<_0x39d12e['length'];_0x104a64++)'text'===_0x39d12e[_0x104a64]['type']?(_0x39d12e[_0x104a64]['item']['startIndex']=_0x104a64,_0x39d12e[_0x104a64]['item']['endIndex']=_0x104a64):('elementStart'===_0x39d12e[_0x104a64]['type']?_0x39d12e[_0x104a64]['item']['startIndex']=_0x104a64:'elementEnd'===_0x39d12e[_0x104a64]['type']&&(_0x39d12e[_0x104a64]['item']['endIndex']=_0x104a64),_0x3d92c8['set'](_0x39d12e[_0x104a64]['id'],_0x104a64));for(const _0x3d1083 of _0x3d92c8['values']())'elementStart'===_0x39d12e[_0x3d1083]['type']?_0x39d12e[_0x3d1083]['item']['endIndex']=_0x3d92c8['get'](_0x39d12e[_0x3d1083]['pairId']):'elementEnd'===_0x39d12e[_0x3d1083]['type']&&(_0x39d12e[_0x3d1083]['item']['startIndex']=_0x3d92c8['get'](_0x39d12e[_0x3d1083]['pairId']));}['_processTape'](_0x3a8d5c){for(let _0x574f25=0x0;_0x574f25<_0x3a8d5c['length'];_0x574f25++){if('elementStart'===_0x3a8d5c[_0x574f25]['type'])_0x3a8d5c[_0x574f25]['item']['startIndex']=_0x574f25;else{if('elementEnd'===_0x3a8d5c[_0x574f25]['type']){_0x3a8d5c[_0x574f25]['item']['endIndex']=_0x574f25;const _0x16cd0f=_0x3a8d5c[_0x574f25]['item']['startIndex'];_0x3a8d5c[_0x16cd0f]['pairId']=_0x3a8d5c[_0x574f25]['id'],_0x3a8d5c[_0x574f25]['pairId']=_0x3a8d5c[_0x16cd0f]['id'];}else _0x3a8d5c[_0x574f25]['item']['startIndex']=_0x574f25,_0x3a8d5c[_0x574f25]['item']['endIndex']=_0x574f25,_0x3a8d5c[_0x574f25]['pairId']=null;}_0x3a8d5c[_0x574f25]['markersStart']||(_0x3a8d5c[_0x574f25]['markersStart']=[],_0x3a8d5c[_0x574f25]['markersEnd']=[]);}}['_markInsertions'](_0x46ee2d,_0x2c0992){const _0x10e2ff=_0x46ee2d['filter'](_0x281b73=>!_0x281b73['isAdded']);for(let _0x75becf=0x0;_0x75becf<_0x2c0992['length'];_0x75becf++)_0x2c0992[_0x75becf]['isAdded']&&(_0x10e2ff[_0x75becf]['isAdded']=_0x2c0992[_0x75becf]['isAdded']);}['_makeModelFromViewString'](_0x1efa4c){const _0x5b3ace=JSON['parse'](_0x1efa4c),_0x12696f=this['editor']['editing']['view']['document'],_0x58db67=new _0x5cd697(_0x12696f,_0x5b3ace['map'](_0x3800a7=>this['_getViewObj'](_0x3800a7)));return this['editor']['data']['toModel'](_0x58db67);}['_getViewObj'](_0x2c1283){const _0x3cf7c7=this['editor']['editing']['view']['document'];if('string'==typeof _0x2c1283)return new _0xc691a(_0x3cf7c7,_0x2c1283);{const _0xd120f7=_0x2c1283['children']['map'](_0x3df4a5=>this['_getViewObj'](_0x3df4a5));return new(tt[_0x2c1283['type']]||_0x4cd341)(_0x3cf7c7,_0x2c1283['name'],_0x2c1283['attributes'],_0xd120f7);}}['_getDiff'](_0x2a5eb9,_0x49680b=null){const _0x179d7b=this['repository']['getRevision'](_0x2a5eb9),_0x4e864a=_0x49680b?this['repository']['getRevision'](_0x49680b):null,_0xb6aec7=this['_getRevisionsRange'](_0x179d7b,_0x4e864a),_0x5e7a18=_0xb6aec7[_0xb6aec7['length']-0x1],_0x53b107=new Map(),_0x1108b8={'model':{},'attributes':{},'changes':[]},_0x31af4c=new Set(),_0x401776=new Map();for(let _0x3fb3d1=_0xb6aec7['length']-0x1;_0x3fb3d1>=0x0;_0x3fb3d1--){const _0x27049a=_0xb6aec7[_0x3fb3d1];for(const _0x3cfd4c of Object['keys'](_0x27049a['diffData']))if(_0x27049a['diffData'][_0x3cfd4c]['attachChange']){const _0x4a80c1=_0x27049a['diffData'][_0x3cfd4c]['attachChange'];_0x4a80c1['isAttached']?(_0x31af4c['add'](_0x3cfd4c),_0x401776['has'](_0x3cfd4c)&&_0x401776['get'](_0x3cfd4c)['userId']==_0x4a80c1['userId']?_0x401776['delete'](_0x3cfd4c):_0x401776['set'](_0x3cfd4c,_0x4a80c1)):_0x401776['has'](_0x3cfd4c)?(_0x31af4c['delete'](_0x3cfd4c),_0x401776['delete'](_0x3cfd4c)):(_0x31af4c['add'](_0x3cfd4c),_0x401776['set'](_0x3cfd4c,_0x4a80c1));}else _0x31af4c['add'](_0x3cfd4c);}for(const _0x5f372d of _0x31af4c){const _0x2e3c99=_0x401776['has'](_0x5f372d)&&!_0x401776['get'](_0x5f372d)['isAttached'];let _0x4fb6c7=_0x2e3c99?_0xb6aec7['length']-0x1:0x0;const _0x31ae2d=_0x2e3c99?-0x1:0x1;for(;_0xb6aec7[_0x4fb6c7];){const _0x1a6d43=_0xb6aec7[_0x4fb6c7];if(_0x1a6d43['diffData'][_0x5f372d]){const _0x5c7b71=_0x2e3c99?_0x1a6d43['diffData'][_0x5f372d]['attributesBefore']:_0x1a6d43['diffData'][_0x5f372d]['attributesAfter'];_0x1108b8['attributes'][_0x5f372d]=_0x5c7b71?_0x482816(_0x5c7b71):{};break;}_0x4fb6c7+=_0x31ae2d;}}for(const _0x3409d4 of _0xb6aec7){_0x3409d4['model']={};for(const _0x167da8 of _0x3409d4['authors'])_0x53b107['set'](_0x167da8['id'],_0x167da8);for(const _0x10a606 of _0x31af4c){const _0x4292ce=_0x3409d4['diffData'][_0x10a606]?_0x3409d4['diffData'][_0x10a606]['insertions']:'[]',_0x1133f1=_0x3409d4['diffData'][_0x10a606]?_0x3409d4['diffData'][_0x10a606]['deletions']:'[]';_0x3409d4['model'][_0x10a606]={'insertions':this['_makeModelFromViewString'](_0x4292ce),'deletions':this['_makeModelFromViewString'](_0x1133f1)};}}for(const _0x25d236 of _0x31af4c){let _0x43b6db=null,_0x292142=0x0;const _0x3b2666=new Map(Array['from'](_0x179d7b['model'][_0x25d236]['insertions']['markers'])['filter'](([_0x4520e0])=>!_0x4520e0['startsWith']('revision:')));let _0xd3d457=0x0;for(const _0x191859 of _0xb6aec7){const _0x42a889=this['_makeTape'](_0x191859['model'][_0x25d236]['insertions']);_0x191859==_0x179d7b?(_0x43b6db=_0x42a889,_0x292142=_0x43b6db['length'],_0x43b6db['forEach'](_0x26ad6c=>{_0x26ad6c['id']=_0xd3d457++;}),this['_processTape'](_0x43b6db)):this['_markInsertions'](_0x43b6db,_0x42a889);const _0x5da388=_0x43b6db['filter'](_0x2ba6d2=>!_0x2ba6d2['isAdded'])['map'](_0x38b150=>_0x38b150['id']);let _0x2b9b2c=0x0;const _0x214c2c=this['_makeTape'](_0x191859['model'][_0x25d236]['deletions']);_0x214c2c['forEach'](_0x402053=>{_0x402053['isRemoved']?_0x402053['id']=_0x292142++:_0x402053['id']=_0x5da388[_0x2b9b2c++];}),this['_processTape'](_0x214c2c),this['_setDistance'](_0x43b6db,'isAdded'),this['_setDistance'](_0x214c2c,'isRemoved'),_0x191859==_0x179d7b&&this['_markMarkers'](_0x43b6db,_0x3b2666),_0x43b6db=this['_joinTapes'](_0x43b6db,_0x214c2c),this['_refreshStartEndIndex'](_0x43b6db),this['_setDistance'](_0x43b6db,'isRemoved');}_0x43b6db=_0x43b6db['filter'](_0x3bb30e=>!(_0x3bb30e['isAdded']&&_0x3bb30e['isRemoved']));const _0x160571=new Map(_0x5e7a18['model'][_0x25d236]['deletions']['markers']),_0x394907=new Set(_0x3b2666['keys']());for(const _0x157ac1 of _0x160571['keys']())_0x394907['delete'](_0x157ac1);this['_markSuggestions'](_0x43b6db,_0x394907),this['_fixObsoleteTags'](_0x43b6db),_0x43b6db=this['_removeMissingPairs'](_0x43b6db),_0x43b6db=this['_markMismatchedRemovedTags'](_0x43b6db),_0x43b6db=this['_removeUnsupportedChanges'](_0x43b6db);const {root:_0x59282e,changes:_0x45741c}=this['_makeModelFromTape'](_0x43b6db,_0x53b107,_0x25d236);_0x1108b8['model'][_0x25d236]=_0x59282e;const _0x32d449=_0x401776['get'](_0x25d236);if(_0x32d449){const _0x59e8a1=_0x53b107['get'](_0x32d449['userId']),_0x5d80e3=new r({'author':_0x59e8a1,'type':_0x32d449['isAttached']?'add':'remove','data':{'isOnRoot':!0x0},'createdAt':new Date(),'rootName':_0x25d236});_0x45741c['unshift'](_0x5d80e3),_0x1108b8['attributes'][_0x25d236]['revisionHistoryAttachChange']=_0x5d80e3['id'];}_0x1108b8['changes']=_0x1108b8['changes']['concat'](_0x45741c);}return _0x1108b8;}['_markMarkers'](_0x3e7451,_0x216b31){for(let _0x230fc4=0x0;_0x230fc4<_0x3e7451['length'];_0x230fc4++)for(const [_0x263a57,_0x2689fa]of _0x216b31)_0x2689fa['start']['isEqual'](_0x3e7451[_0x230fc4]['previousPosition'])&&_0x3e7451[_0x230fc4]['markersStart']['push'](_0x263a57),_0x2689fa['end']['isEqual'](_0x3e7451[_0x230fc4]['nextPosition'])&&_0x3e7451[_0x230fc4]['markersEnd']['push'](_0x263a57);}['_joinTapes'](_0x1403e0,_0x406d3e){let _0x37da9b=[],_0x4c7365=0x0,_0x2d7827=0x0;for(;_0x4c7365<_0x1403e0['length']||_0x2d7827<_0x406d3e['length'];){const _0x573032=_0x1403e0[_0x4c7365]||{},_0x53d5e7=_0x406d3e[_0x2d7827]||{};if(_0x573032['id']==_0x53d5e7['id'])_0x4c7365++,_0x2d7827++,_0x37da9b['push'](_0x573032);else{if(_0x53d5e7['isRemoved']&&_0x573032['isAdded']){const {commonTape:_0x14d949,iEnd:_0x4ec05d,jEnd:_0x1f486a}=this['_threeWayMerge'](_0x1403e0,_0x4c7365,_0x406d3e,_0x2d7827);_0x37da9b=_0x37da9b['concat'](_0x14d949),_0x4c7365=_0x4ec05d,_0x2d7827=_0x1f486a;}else _0x53d5e7['isRemoved']?(_0x2d7827++,_0x37da9b['push'](_0x53d5e7)):(_0x4c7365++,_0x37da9b['push'](_0x573032));}}return _0x37da9b;}['_markSuggestions'](_0x3c976e,_0x5b16e5){const _0x4c48fb=[];for(let _0x4ea688=0x0;_0x4ea688<_0x3c976e['length'];_0x4ea688++){for(let _0x55bf78=0x0;_0x55bf78<_0x3c976e[_0x4ea688]['markersStart']['length'];_0x55bf78++){const _0x5724c6=_0x3c976e[_0x4ea688]['markersStart'][_0x55bf78];if(!_0x5b16e5['has'](_0x5724c6))continue;const {group:_0x4557b1,type:_0x176cd6,authorId:_0x25bc13}=_0x9efc56(_0x5724c6);'revision-suggestion'!=_0x4557b1||'insertion'!=_0x176cd6&&'deletion'!=_0x176cd6||(_0x4c48fb['unshift']({'type':_0x176cd6,'name':_0x5724c6,'userId':_0x25bc13}),_0x3c976e[_0x4ea688]['markersStart']['splice'](_0x55bf78,0x1),_0x55bf78--);}_0x44cc1c(_0x3c976e[_0x4ea688]);for(let _0x1c75e1=0x0;_0x1c75e1<_0x3c976e[_0x4ea688]['markersEnd']['length'];_0x1c75e1++){const _0x3cc8be=_0x3c976e[_0x4ea688]['markersEnd'][_0x1c75e1];if(!_0x5b16e5['has'](_0x3cc8be))continue;const {group:_0x2d01b2,type:_0xd6b765}=_0x9efc56(_0x3cc8be);if('revision-suggestion'!=_0x2d01b2||'insertion'!=_0xd6b765&&'deletion'!=_0xd6b765)continue;_0x3c976e[_0x4ea688]['markersEnd']['splice'](_0x1c75e1,0x1),_0x1c75e1--;const _0x10e99c=_0x4c48fb['findIndex'](_0x2995d4=>_0x2995d4['name']==_0x3cc8be);_0x10e99c>-0x1&&_0x4c48fb['splice'](_0x10e99c,0x1);}}function _0x9efc56(_0x2f3687){const _0x2248c3=_0x2f3687['split'](':');return{'group':_0x2248c3[0x0],'type':_0x2248c3[0x1],'subType':_0x2248c3['length']>=0x5?_0x2248c3[0x2]:null,'id':_0x2248c3['length']<0x5?_0x2248c3[0x2]:_0x2248c3[0x3],'authorId':_0x2248c3['length']<0x5?_0x2248c3[0x3]:_0x2248c3[0x4],'markerCount':0x6==_0x2248c3['length']?_0x2248c3[0x5]:null};}function _0x44cc1c(_0x4492dc){for(let _0x4c600e=0x0;_0x4c600e<_0x4c48fb['length'];_0x4c600e++){if(_0x4492dc['isAdded']&&'insertion'==_0x4c48fb[_0x4c600e]['type'])return _0x4492dc['isAddSuggestion']=_0x4c48fb[_0x4c600e],void delete _0x4492dc['isAdded'];if(!_0x4492dc['isAdded']&&!_0x4492dc['isRemoved']&&'deletion'==_0x4c48fb[_0x4c600e]['type'])return void(_0x4492dc['isRemoveSuggestion']=_0x4c48fb[_0x4c600e]);}}}['_setDistance'](_0x28b7a8,_0x25f56a){let _0x45cb2b=0x0,_0x1bffab=!0x1;const _0x599367=new Map();for(const _0x37f621 of _0x28b7a8)_0x37f621[_0x25f56a]?_0x1bffab&&(_0x45cb2b++,_0x1bffab=!0x1):(_0x45cb2b++,_0x1bffab=!0x0),_0x599367['set'](_0x37f621['id'],_0x45cb2b);for(let _0x40f6e4=0x0;_0x40f6e4<_0x28b7a8['length'];_0x40f6e4++){if('isRemoved'==_0x25f56a&&_0x28b7a8[_0x40f6e4]['isAdded']||'isAdded'==_0x25f56a&&_0x28b7a8[_0x40f6e4]['isRemoved'])continue;if('text'==_0x28b7a8[_0x40f6e4]['type']){_0x28b7a8[_0x40f6e4]['distance']=0x0;continue;}const _0x55271f=_0x599367['get'](_0x28b7a8[_0x40f6e4]['pairId']),_0x2b7a0b=_0x599367['get'](_0x28b7a8[_0x40f6e4]['id']);_0x28b7a8[_0x40f6e4]['distance']=_0x55271f-_0x2b7a0b;}}['_getRevisionsRange'](_0x3c2bc4,_0x517be2,_0x4b5778=!0x1){const _0x192653=[];let _0x16c2aa=this['repository']['getIndex'](_0x3c2bc4),_0x22274b=this['repository']['getIndex'](_0x517be2);for(-0x1==_0x22274b&&(_0x22274b=this['repository']['_revisions']['length'],_0x4b5778=!0x1);_0x16c2aa<_0x22274b;)_0x192653['push'](this['repository']['getRevision'](_0x16c2aa)),_0x16c2aa++;return _0x4b5778&&_0x192653['push'](this['repository']['getRevision'](_0x16c2aa)),_0x192653;}['_threeWayMerge'](_0x50650e,_0x9195d,_0x4ecf64,_0x55ffa8){const _0x427cfc=this['editor']['model']['schema'];let _0x4ce522=_0x9195d;for(;_0x50650e[_0x4ce522]&&_0x50650e[_0x4ce522]['isAdded'];)_0x4ce522++;let _0x98eca3=_0x55ffa8;for(;_0x4ecf64[_0x98eca3]&&_0x4ecf64[_0x98eca3]['isRemoved'];)_0x98eca3++;_0x3406c2(_0x50650e,_0x9195d,_0x4ce522),_0x3406c2(_0x4ecf64,_0x55ffa8,_0x98eca3);const _0x26fe47=_0x4ecf64['slice'](_0x55ffa8,_0x98eca3)['concat'](_0x50650e['slice'](_0x9195d,_0x4ce522));return _0x26fe47['sort']((_0xd2b34b,_0x180b33)=>_0xd2b34b['side']!=_0x180b33['side']?_0xd2b34b['side']-_0x180b33['side']:_0xd2b34b['level']!=_0x180b33['level']?_0xd2b34b['level']-_0x180b33['level']:_0xd2b34b['distance']!=_0x180b33['distance']?_0x180b33['distance']-_0xd2b34b['distance']:!!_0xd2b34b['isAdded']!=!!_0x180b33['isAdded']?-0x1==_0xd2b34b['side']||0x0==_0xd2b34b['side']?_0xd2b34b['isAdded']?-0x1:0x1:_0xd2b34b['isAdded']?0x1:-0x1:_0xd2b34b['index']-_0x180b33['index']),{'commonTape':_0x26fe47,'iEnd':_0x4ce522,'jEnd':_0x98eca3};function _0x3406c2(_0x3134ed,_0x3205f9,_0x2c1d14){let _0x4d35d2=-0x1,_0x3ae545=Number['POSITIVE_INFINITY'],_0x26911c=!0x0;for(let _0x4049db=_0x3205f9;_0x4049db<_0x2c1d14;_0x4049db++)if(_0x427cfc['isInline'](_0x3134ed[_0x4049db]['item'])||(_0x26911c=!0x1),_0x3134ed[_0x4049db]['item']['startIndex']<_0x3205f9&&(_0x4d35d2=_0x4049db),_0x3134ed[_0x4049db]['item']['endIndex']>=_0x2c1d14){_0x3ae545=_0x4049db;break;}_0x26911c&&(_0x4d35d2=_0x2c1d14-0x1);for(let _0x2413dd=_0x3205f9;_0x2413dd<_0x2c1d14;_0x2413dd++)_0x3134ed[_0x2413dd]['side']=_0x2413dd<=_0x4d35d2?-0x1:_0x2413dd<_0x3ae545?0x0:0x1,_0x3134ed[_0x2413dd]['index']=_0x2413dd;let _0x4a4c3d=0x0;for(let _0x1720f3=_0x3205f9;_0x1720f3<=_0x4d35d2;_0x1720f3++)0x0==_0x3134ed[_0x1720f3]['distance']?_0x3134ed[_0x1720f3]['level']=_0x4a4c3d:(_0x4a4c3d++,_0x3134ed[_0x1720f3]['level']=_0x4a4c3d,_0x4a4c3d++);for(let _0x5f033b=_0x3205f9;_0x5f033b<_0x2c1d14;_0x5f033b++)0x0==_0x3134ed[_0x5f033b]['side']&&(_0x3134ed[_0x5f033b]['level']=_0x4a4c3d);_0x4a4c3d=0x0;for(let _0x290671=_0x2c1d14-0x1;_0x290671>=_0x3ae545;_0x290671--)0x0==_0x3134ed[_0x290671]['distance']?_0x3134ed[_0x290671]['level']=_0x4a4c3d:(_0x4a4c3d--,_0x3134ed[_0x290671]['level']=_0x4a4c3d,_0x4a4c3d--);}}['_fixObsoleteTags'](_0x2c672e){const _0x4ebbab=new Map(),_0x6fdeda=this['editor']['model']['schema'];for(let _0x18dc48=0x1;_0x18dc48<_0x2c672e['length'];_0x18dc48++){let _0x578aba,_0x31479d,_0x20598d;const _0x2829e7=_0x2c672e[_0x18dc48],_0x1dd792=_0x2c672e[_0x18dc48-0x1];if('text'==_0x2829e7['type'])continue;if(_0x2829e7['type']!=_0x1dd792['type'])continue;if(!_0x6fdeda['isBlock'](_0x1dd792['item'])||_0x6fdeda['isLimit'](_0x1dd792['item']))continue;if(!_0x6fdeda['isBlock'](_0x2829e7['item'])||_0x6fdeda['isLimit'](_0x2829e7['item']))continue;if((_0x2c672e[_0x18dc48]['isAdded']||_0x2c672e[_0x18dc48]['isAddSuggestion'])&&_0x2c672e[_0x18dc48-0x1]['isRemoved'])_0x578aba=_0x2c672e[_0x18dc48],_0x31479d=_0x2c672e[_0x18dc48-0x1],_0x20598d=_0x18dc48-0x1;else{if(!_0x2c672e[_0x18dc48]['isRemoved']||!_0x2c672e[_0x18dc48-0x1]['isAdded']&&!_0x2c672e[_0x18dc48-0x1]['isAddSuggestion'])continue;_0x578aba=_0x2c672e[_0x18dc48-0x1],_0x31479d=_0x2c672e[_0x18dc48],_0x20598d=_0x18dc48;}const _0x9dbb66=_0x578aba['level']==_0x31479d['level'],_0x299330=Math['abs'](_0x578aba['level'])<Math['abs'](_0x31479d['level'])&&0x0==_0x31479d['distance'];(_0x9dbb66||_0x299330)&&(_0x4ebbab['set'](_0x31479d['id'],_0x578aba['id']),_0x2c672e['splice'](_0x20598d,0x1),_0x18dc48--,_0x578aba['isAdded']=!0x1);}for(let _0x2278bf=0x0;_0x2278bf<_0x2c672e['length'];_0x2278bf++)_0x4ebbab['has'](_0x2c672e[_0x2278bf]['pairId'])&&(_0x2c672e[_0x2278bf]['pairId']=_0x4ebbab['get'](_0x2c672e[_0x2278bf]['pairId']));}['_removeMissingPairs'](_0x2228e5){const _0x4a6523=new Set(_0x2228e5['map'](_0xcca78d=>_0xcca78d['id']));for(let _0x11305f=0x0;_0x11305f<_0x2228e5['length'];_0x11305f++)_0x4a6523['has'](_0x2228e5[_0x11305f]['pairId'])||0x0==_0x2228e5[_0x11305f]['distance']||(_0x2228e5[_0x11305f]['isIncorrect']=!0x0);return _0x2228e5['filter'](_0x107752=>!_0x107752['isIncorrect']);}['_markMismatchedRemovedTags'](_0x8ea045){const _0x4106ca=new Set();for(let _0xad0c7b=0x0;_0xad0c7b<_0x8ea045['length'];_0xad0c7b++){if(_0x4106ca['has'](_0x8ea045[_0xad0c7b]['id'])&&_0x8ea045[_0xad0c7b]['isRemoved']&&(_0x8ea045[_0xad0c7b]['isIncorrect']=!0x0),_0x8ea045[_0xad0c7b]['isIncorrect'])continue;if(0x0==_0x8ea045[_0xad0c7b]['distance'])continue;if('elementStart'!=_0x8ea045[_0xad0c7b]['type'])continue;if(null==_0x8ea045[_0xad0c7b]['pairId'])continue;let _0x493717=_0xad0c7b+0x1,_0x3744ba=0x0;for(;_0x8ea045[_0x493717]['id']!=_0x8ea045[_0xad0c7b]['pairId'];)'elementStart'==_0x8ea045[_0x493717]['type']?_0x3744ba++:'elementEnd'==_0x8ea045[_0x493717]['type']&&_0x3744ba--,_0x493717++;if(0x0!=_0x3744ba){if(_0x8ea045[_0xad0c7b]['isRemoved'])_0x8ea045[_0xad0c7b]['isIncorrect']=!0x0;else{for(;_0x493717!=_0xad0c7b;)_0x8ea045[_0x493717]['isRemoved']&&0x0!=_0x8ea045[_0x493717]['distance']&&(_0x8ea045[_0x493717]['isIncorrect']=!0x0,_0x4106ca['add'](_0x8ea045[_0x493717]['pairId'])),_0x493717--;}}}return _0x8ea045['filter'](_0x3e7981=>!_0x3e7981['isIncorrect']);}['_removeUnsupportedChanges'](_0x2fe961){const _0x345a91=this['editor']['model']['schema'];for(let _0x108e32=0x0;_0x108e32<_0x2fe961['length'];_0x108e32++){if(!(_0x2fe961[_0x108e32]['isAdded']||_0x2fe961[_0x108e32]['isAddSuggestion']||_0x2fe961[_0x108e32]['isRemoved']||_0x2fe961[_0x108e32]['isRemoveSuggestion']))continue;if(0x0==_0x2fe961[_0x108e32]['distance'])continue;const _0x545888=_0x2fe961[_0x108e32]['item'];_0x345a91['isBlock'](_0x545888)||_0x345a91['isLimit'](_0x545888)||(_0x2fe961[_0x108e32]['isAdded']&&delete _0x2fe961[_0x108e32]['isAdded'],_0x2fe961[_0x108e32]['isAddSuggestion']&&delete _0x2fe961[_0x108e32]['isAddSuggestion'],_0x2fe961[_0x108e32]['isRemoveSuggestion']&&delete _0x2fe961[_0x108e32]['isRemoveSuggestion'],_0x2fe961[_0x108e32]['isRemoved']&&(_0x2fe961[_0x108e32]['isIncorrect']=!0x0));}return _0x2fe961['filter'](_0x9ec934=>!_0x9ec934['isIncorrect']);}['_makeModelFromTape'](_0x1cb1b9,_0x2f1a2b,_0x593acd){const _0x27b026=new wt(),_0x55a292=[],_0x1595d2=new Map(),_0x4f1c4d=this['editor']['model'],_0x4648d0=_0x4f1c4d['schema'],_0x415f96=[_0x27b026],_0x5dab05={},_0x299295={'isAdded':[],'isRemoved':[],'isAddSuggestion':[],'isRemoveSuggestion':[]};let _0x1c0f20=null;const _0x4f4473=[0x0];for(let _0x3d9bf5=0x0;_0x3d9bf5<_0x1cb1b9['length'];_0x3d9bf5++){let _0x2106b5,_0x1b3386;if('elementStart'===_0x1cb1b9[_0x3d9bf5]['type']){_0x2106b5=_0x4f1c4d['createPositionFromPath'](_0x27b026,_0x4f4473);const _0x357d54=new ft(_0x1cb1b9[_0x3d9bf5]['item']['name'],_0x1cb1b9[_0x3d9bf5]['item']['getAttributes']());_0x415f96[0x0]['_appendChild'](_0x357d54),_0x4f4473['push'](0x0),_0x415f96['unshift'](_0x357d54),_0x1b3386=_0x4f1c4d['createPositionFromPath'](_0x27b026,_0x4f4473),_0x1c0f20=null;}else{if('elementEnd'===_0x1cb1b9[_0x3d9bf5]['type'])_0x415f96['shift'](),_0x2106b5=_0x4f1c4d['createPositionFromPath'](_0x27b026,_0x4f4473),_0x4f4473['pop'](),_0x4f4473[_0x4f4473['length']-0x1]++,_0x1b3386=_0x4f1c4d['createPositionFromPath'](_0x27b026,_0x4f4473),_0x1c0f20=null;else{if(_0x2106b5=_0x4f1c4d['createPositionFromPath'](_0x27b026,_0x4f4473),_0x1c0f20&&_0x43e812(_0x1c0f20,_0x1cb1b9[_0x3d9bf5]['item']))_0x1c0f20['_data']+=_0x1cb1b9[_0x3d9bf5]['item']['data'];else{const _0x332139=new _t(_0x1cb1b9[_0x3d9bf5]['item']['data'],_0x1cb1b9[_0x3d9bf5]['item']['getAttributes']());_0x415f96[0x0]['_appendChild'](_0x332139),_0x1c0f20=_0x332139;}_0x4f4473[_0x4f4473['length']-0x1]+=_0x1cb1b9[_0x3d9bf5]['item']['offsetSize'],_0x1b3386=_0x4f1c4d['createPositionFromPath'](_0x27b026,_0x4f4473);}}for(const _0x48a753 of _0x1cb1b9[_0x3d9bf5]['markersStart'])_0x1595d2['set'](_0x48a753,{'start':_0x2106b5,'end':null});_0x1f4c11('isRemoveSuggestion',_0x3d9bf5,_0x2106b5,_0x1b3386),_0x1f4c11('isAddSuggestion',_0x3d9bf5,_0x2106b5,_0x1b3386),_0x1f4c11('isRemoved',_0x3d9bf5,_0x2106b5,_0x1b3386),_0x1f4c11('isAdded',_0x3d9bf5,_0x2106b5,_0x1b3386);for(const _0x12d877 of _0x1cb1b9[_0x3d9bf5]['markersEnd']){_0x1595d2['get'](_0x12d877)['end']=_0x1b3386;}}for(const [_0x4b6495,_0x32f85a]of _0x1595d2){const _0x4e2c52=this['editor']['model']['createRange'](_0x32f85a['start'],_0x32f85a['end']);_0x27b026['markers']['set'](_0x4b6495,_0x4e2c52);}return _0x55a292['sort']((_0x5f2769,_0x4dac01)=>{const _0x36b7c7=_0x27b026['markers']['get']('revision:'+_0x5f2769['id']),_0x2ce84d=_0x27b026['markers']['get']('revision:'+_0x4dac01['id']);return _0x36b7c7['start']['isBefore'](_0x2ce84d['start'])?-0x1:_0x36b7c7['start']['isAfter'](_0x2ce84d['start'])?0x1:_0x36b7c7['end']['isBefore'](_0x2ce84d['end'])?-0x1:_0x36b7c7['end']['isAfter'](_0x2ce84d['end'])?0x1:'add'===_0x5f2769['type']?-0x1:0x1;}),{'root':_0x27b026,'changes':_0x55a292};function _0x1f4c11(_0x16d834,_0x2c29d5,_0x36bfa5,_0x210376){const _0xdbe0b0=!!_0x1cb1b9[_0x2c29d5][_0x16d834],_0x3b5cc5=_0xdbe0b0?_0x1cb1b9[_0x2c29d5][_0x16d834]['userId']:null,_0x55f044=_0x2c29d5===_0x1cb1b9['length']-0x1,_0x5011f2=_0x299295[_0x16d834][0x0],_0x1904d5=_0x4648d0['isObject'](_0x1cb1b9[_0x2c29d5]['item']);!_0x5dab05[_0x16d834]&&_0xdbe0b0?_0x5dab05[_0x16d834]={'start':_0x36bfa5,'tapeItem':_0x1cb1b9[_0x2c29d5],'userId':_0x3b5cc5,'type':_0x16d834}:_0x5dab05[_0x16d834]&&!_0xdbe0b0?(_0x5dab05[_0x16d834]['end']=_0x36bfa5,_0xd8cb71(_0x5dab05[_0x16d834]),_0x5dab05[_0x16d834]=null):_0x5dab05[_0x16d834]&&_0xdbe0b0&&_0x5dab05[_0x16d834]['userId']!==_0x3b5cc5&&(_0x5dab05[_0x16d834]['end']=_0x36bfa5,_0x5011f2&&_0x5011f2['userId']===_0x5dab05[_0x16d834]['userId']||_0xd8cb71(_0x5dab05[_0x16d834]),_0x5dab05[_0x16d834]={'start':_0x36bfa5,'tapeItem':_0x1cb1b9[_0x2c29d5],'userId':_0x3b5cc5,'type':_0x16d834}),_0x5dab05[_0x16d834]&&_0x1904d5&&('elementStart'!==_0x1cb1b9[_0x2c29d5]['type']||_0x5011f2&&_0x5011f2['userId']===_0x3b5cc5||_0x299295[_0x16d834]['unshift']({'userId':_0x3b5cc5,'object':_0x1cb1b9[_0x2c29d5]['item'],'change':_0x5dab05[_0x16d834]}),'elementEnd'===_0x1cb1b9[_0x2c29d5]['type']&&_0x5011f2&&_0x5011f2['object']===_0x1cb1b9[_0x2c29d5]['item']&&(_0x299295[_0x16d834]['shift'](),_0x5dab05[_0x16d834]=_0x5011f2['change'])),_0x5dab05[_0x16d834]&&_0x55f044&&(_0x5dab05[_0x16d834]['end']=_0x210376,_0xd8cb71(_0x5dab05[_0x16d834]),_0x5dab05[_0x16d834]=null);}function _0xd8cb71({start:_0x54e20b,end:_0x29481d,tapeItem:_0x374568,userId:_0x4989f4,type:_0x508e06}){const _0x58a91e=_0x374568['item'],_0x2ce1a3=_0x4f1c4d['schema']['isBlock'](_0x58a91e)&&!_0x4f1c4d['schema']['isLimit'](_0x58a91e),_0x508f28=_0x54e20b['nodeAfter']==_0x29481d['parent']&&_0x29481d['isAtStart'];if(_0x2ce1a3&&_0x508f28)return;const _0x1f070b=_0x4f1c4d['createRange'](_0x54e20b,_0x29481d),_0x5d1856=_0x2f1a2b['get'](_0x4989f4),_0x1850f9=new r({'author':_0x5d1856,'type':'isAdded'==_0x508e06||'isAddSuggestion'==_0x508e06?'add':'remove','data':{'isSuggestion':'isAddSuggestion'==_0x508e06||'isRemoveSuggestion'==_0x508e06},'createdAt':new Date(),'rootName':_0x593acd});_0x55a292['push'](_0x1850f9),_0x27b026['markers']['set']('revision:'+_0x1850f9['id'],_0x1f070b);}function _0x43e812(_0x385c6d,_0x3b4127){const _0xa05006=_0x385c6d['getAttributes'](),_0x427170=_0x3b4127['getAttributes']();for(const _0x27ef8e of _0xa05006){if(_0x27ef8e[0x1]!==_0x3b4127['getAttribute'](_0x27ef8e[0x0]))return!0x1;_0x427170['next']();}return _0x427170['next']()['done'];}}['_setConversion'](){this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'revision'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision','view':_0x592326=>{const _0x29f95f=_0x592326['markerName']['split'](':')[0x1],_0x3dbb2b=this['_getChangeFromId'](_0x29f95f);if(!_0x3dbb2b)return null;const _0x400634='add'==_0x3dbb2b['type']?'insertion':'deletion',_0x54d0cf=['ck-suggestion-marker','ck-suggestion-marker-'+_0x400634];return _0x3dbb2b['data']['isSuggestion']&&_0x54d0cf['push']('ck-suggestion-marker-'+_0x400634+'-new'),this['activeChange']==_0x3dbb2b&&_0x54d0cf['push']('ck-suggestion-marker--active'),{'classes':_0x54d0cf,'attributes':{'data-change-id':_0x29f95f}};}}),this['editor']['conversion']['for']('upcast')['add'](_0x240736=>{_0x240736['on']('element:pre',(_0x3a8b70,_0x2067fb,_0x2b1166)=>{const _0x10dffb=_0x2067fb['viewItem']['getChild'](0x0);if(!_0x10dffb||!_0x10dffb['is']('element','code'))return;if(!_0x2b1166['consumable']['consume'](_0x10dffb,{'attributes':['vid_start','vid_end']}))return;const _0x5ef973=_0x2067fb['modelRange']['start']['nodeAfter'];_0x2b1166['writer']['setAttribute']('vid_start',_0x10dffb['getAttribute']('vid_start'),_0x5ef973),_0x2b1166['writer']['setAttribute']('vid_end',_0x10dffb['getAttribute']('vid_end'),_0x5ef973);},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['add'](_0x2cf129=>{_0x2cf129['on']('element',(_0x4facf3,_0x5e7ebf,_0x2e8d8d)=>{if(!_0x2e8d8d['consumable']['consume'](_0x5e7ebf['viewItem'],{'attributes':['vid_start','vid_end']}))return;if(_0x5e7ebf['modelRange']['isCollapsed'])return;const _0x1774ab=_0x5e7ebf['modelRange']['start']['nodeAfter'];_0x1774ab['hasAttribute']('vid_start')||_0x1774ab['hasAttribute']('vid')||(_0x2e8d8d['writer']['setAttribute']('vid_start',_0x5e7ebf['viewItem']['getAttribute']('vid_start'),_0x1774ab),_0x2e8d8d['writer']['setAttribute']('vid_end',_0x5e7ebf['viewItem']['getAttribute']('vid_end'),_0x1774ab));},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['elementToAttribute']({'view':{'name':'span','attributes':{'vid':!0x0}},'model':{'key':'vid','value':_0x145214=>_0x145214['getAttribute']('vid')}}),this['editor']['model']['schema']['on']('checkAttribute',(_0x3034b2,[,_0x128572])=>{['vid_start','vid_end','vid']['includes'](_0x128572)&&(_0x3034b2['return']=!0x0,_0x3034b2['stop']());},{'priority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['add'](_0x52feeb=>{_0x52feeb['on']('attribute:vid',(_0x4e3907,_0x5b62a0,_0x33a3bd)=>{if('\x20'!=_0x5b62a0['item']['data']||_0x5b62a0['item']['parent']['maxOffset']>0x1)return;if(!_0x33a3bd['consumable']['consume'](_0x5b62a0['item'],_0x4e3907['name']))return;const _0x4d7cce=_0x33a3bd['writer'],_0x37fa79=_0x33a3bd['mapper']['toViewRange'](_0x5b62a0['range']);_0x4d7cce['wrap'](_0x37fa79,_0x4d7cce['createAttributeElement']('span'));});}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',function(_0x593f98){const _0xb17212=_0x593f98['plugins']['get']('RevisionViewer');return(_0x2fa339,_0x156486,_0x32182b)=>{const _0x28e77c=_0x156486['markerName']['split'](':')[0x1],_0x4c45ad=_0xb17212['_getChangeFromId'](_0x28e77c);if(!_0x4c45ad)return null;const _0x4b0758='add'==_0x4c45ad['type']?'split':'merge';if(!_0x32182b['consumable']['test'](_0x156486['markerRange'],_0x2fa339['name']))return;const _0x425876=_0x156486['markerRange']['getWalker'](),_0x2090a5=_0x156486['markerRange']['start'],_0x21dcda=_0x593f98['model']['schema'];let _0x2826ee=null,_0x2fb662=null,_0x32c858=!0x1,_0x1bd6e9=!0x1;for(const _0x242689 of _0x425876){const _0x5ce55f=_0x242689['item'];_0x32c858=_0x32c858||_0x21dcda['isContent'](_0x5ce55f);const _0x41ac6c=_0x32182b['mapper']['toViewElement'](_0x5ce55f);if(_0x41ac6c&&_0x41ac6c['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x242689['type']&&(_0x21dcda['isBlock'](_0x5ce55f)&&!_0x21dcda['isLimit'](_0x5ce55f)&&(_0x5ce55f['nextSibling']||_0x2090a5['isAtEnd']?_0x2826ee&&_0x2826ee['parent']==_0x5ce55f||(_0x2826ee=_0x5ce55f,_0x403805(_0x242689['previousPosition']),_0x1bd6e9=!0x0):_0x2fb662=_0x2fb662||_0x242689['previousPosition']));}function _0x403805(_0xcb8665){const _0xe89f92=_0x32182b['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x4b0758}),_0x18d2e1=_0x32182b['mapper']['toViewPosition'](_0xcb8665);_0x4c45ad['data']['isSuggestion']&&_0x32182b['writer']['addClass']('ck-suggestion-marker-'+_0x4b0758+'-new',_0xe89f92),_0xb17212['activeChange']==_0x4c45ad&&_0x32182b['writer']['addClass']('ck-suggestion-marker--active',_0xe89f92),_0x32182b['writer']['insert'](_0x18d2e1,_0xe89f92),_0x32182b['mapper']['bindElementToMarker'](_0xe89f92,_0x156486['markerName']);}_0x32c858||_0x1bd6e9||!_0x2fb662||_0x403805(_0x2fb662);};}(this['editor']),{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('removeMarker:revision',(_0x1c0682,_0x18bde8,_0x1b19bd)=>{const _0x5e8156=_0x1b19bd['mapper']['markerNameToElements'](_0x18bde8['markerName']);if(_0x5e8156){for(const _0x3964e3 of _0x5e8156)(_0x3964e3['hasClass']('ck-suggestion-marker-split')||_0x3964e3['hasClass']('ck-suggestion-marker-merge'))&&(_0x1b19bd['mapper']['unbindElementFromMarkerName'](_0x3964e3,_0x18bde8['markerName']),_0x1b19bd['writer']['remove'](_0x3964e3));}},{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',(_0x2512ec,_0x5788b5,_0x1e54e1)=>{const _0x2cf07b=_0x5788b5['markerName']['split'](':')[0x1],_0x49b595=this['_getChangeFromId'](_0x2cf07b);if(!_0x49b595)return null;const _0x3a50b0='add'==_0x49b595['type']?'split':'merge';if(_0x1e54e1['consumable']['test'](_0x5788b5['markerRange'],_0x2512ec['name']))for(const _0x26684c of _0x5788b5['markerRange']['getItems']()){if(!_0x26684c['is']('element','softBreak'))continue;const _0x2c3d7e=_0x1e54e1['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x3a50b0}),_0x21a596=_0x1e54e1['mapper']['toViewPosition'](this['editor']['model']['createPositionBefore'](_0x26684c));_0x49b595['data']['isSuggestion']&&_0x1e54e1['writer']['addClass']('ck-suggestion-marker-'+_0x3a50b0+'-new',_0x2c3d7e),this['activeChange']==_0x49b595&&_0x1e54e1['writer']['addClass']('ck-suggestion-marker--active',_0x2c3d7e),_0x1e54e1['writer']['insert'](_0x21a596,_0x2c3d7e),_0x1e54e1['mapper']['bindElementToMarker'](_0x2c3d7e,_0x5788b5['markerName']);}},{'priority':'high'}),this['editor']['model']['document']['on']('change',()=>{this['editor']['editing']['view']['change'](_0x391ef4=>{for(const _0x4fb9f5 of this['editor']['model']['document']['getRootNames']()){const _0x26dfe7=this['editor']['model']['document']['getRoot'](_0x4fb9f5),_0x3abadc=this['editor']['editing']['view']['document']['getRoot'](_0x4fb9f5);if(_0x3abadc){const _0x41eb7d=_0x26dfe7['getAttribute']('revisionHistoryAttachChange');if(_0x391ef4['removeAttribute']('data-change-id',_0x3abadc),_0x391ef4['removeClass']('ck-revision-history-root-add',_0x3abadc),_0x391ef4['removeClass']('ck-revision-history-root-remove',_0x3abadc),_0x391ef4['removeClass']('ck-revision-history-root--active',_0x3abadc),_0x41eb7d){const _0x9c95b1=this['_getChangeFromId'](_0x41eb7d);if(!_0x9c95b1)return null;_0x391ef4['setAttribute']('data-change-id',_0x41eb7d,_0x3abadc),_0x391ef4['addClass']('ck-revision-history-root-'+_0x9c95b1['type'],_0x3abadc),this['activeChange']==_0x9c95b1&&_0x391ef4['addClass']('ck-revision-history-root--active',_0x3abadc);}}}});}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'comment','model':_0x3b8405=>'revision-comment:'+_0x3b8405,'converterPriority':'highest'}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'suggestion','model':_0x287c4e=>'revision-suggestion:'+_0x287c4e,'converterPriority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision-suggestion','view':_0x1adf58=>({'name':'suggestion:'+_0x1adf58,'group':'revision-suggestion'}),'converterPriority':'highest'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision-suggestion','view':_0x41ed14=>{const _0x11dd61=_0x41ed14['markerName']['split'](':')[0x1];return'insertion'!=_0x11dd61&&'deletion'!=_0x11dd61?null:{'classes':['ck-suggestion-preview-marker','ck-suggestion-preview-marker-'+_0x11dd61]};}}),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',(_0x296ef6,_0x2ddb4c,_0x4d3fa6)=>{const _0x548f24=_0x4d3fa6['mapper']['markerNameToElements'](_0x2ddb4c['markerName']);if(_0x548f24){for(const _0x3f3fbe of _0x548f24)_0x3f3fbe['is']('uiElement')&&(_0x4d3fa6['mapper']['unbindElementFromMarkerName'](_0x3f3fbe,_0x2ddb4c['markerName']),_0x4d3fa6['writer']['remove'](_0x3f3fbe));}},{'priority':'high'});}['_getChangeFromId'](_0x266105){return this['_changeIdToChange']['get'](_0x266105);}['_getViewForChange'](_0x47f362){return this['_changeView']&&this['_changeView']['destroy'](),this['_changeView']=new Z(this['editor']['locale'],_0x47f362),this['_changeView'];}['_initInteractions'](){this['editor']['model']['document']['selection']['observeMarkers']('revision'),this['on']('change:activeView',(_0x2b18a7,_0x13044f,_0x123333,_0x43fb4a)=>{_0x43fb4a&&this['_balloon']['remove'](_0x43fb4a),_0x123333&&(this['_balloon']['add']({'view':_0x123333,'stackId':'revisionHistoryLabel','position':{'target':()=>{const _0x83372c=this['editor']['editing'],_0x46973f=this['_getChangeFromId'](_0x123333['changeId']);let _0x3fdff6;if(_0x46973f['data']['isOnRoot']){const _0x58a309=_0x83372c['view']['getDomRoot'](_0x46973f['rootName']);_0x3fdff6=Array['from'](_0x58a309['getClientRects']());}else{const _0x2168c2=this['editor']['model']['markers']['get']('revision:'+_0x123333['changeId']);_0x3fdff6=Array['from'](_0x83372c['mapper']['markerNameToElements'](_0x2168c2['name']))['map'](_0x59df15=>_0x83372c['view']['domConverter']['mapViewToDom'](_0x59df15))['map'](_0x518e09=>Array['from'](_0x518e09['getClientRects']()))['flat']();}if(!this['_activeViewTarget'])return _0x3fdff6[0x0];return _0x3fdff6['find'](_0x50b2e6=>_0x50b2e6['top']-0x3<=this['_activeViewTarget']['y']&&_0x50b2e6['bottom']+0x3>=this['_activeViewTarget']['y']&&_0x50b2e6['left']-0x3<=this['_activeViewTarget']['x']&&_0x50b2e6['right']+0x3>=this['_activeViewTarget']['x'])||_0x3fdff6[0x0];}}}),this['_balloon']['showStack']('revisionHistoryLabel'));}),this['on']('change:activeChange',(_0x48cee2,_0x5b0d8e,_0x53b74c,_0x3b828d)=>{this['activeView']=_0x53b74c?this['_getViewForChange'](_0x53b74c):null,this['editor']['model']['change'](()=>{const _0x78330=this['editor']['editing'];_0x3b828d&&(_0x3b828d['data']['isOnRoot']?_0x78330['view']['change'](_0x3af738=>{_0x3af738['removeClass']('ck-revision-history-root--active',_0x78330['view']['document']['getRoot'](_0x3b828d['rootName']));}):_0x78330['reconvertMarker']('revision:'+_0x3b828d['id'])),_0x53b74c&&(_0x53b74c['data']['isOnRoot']?_0x78330['view']['change'](_0xce004a=>{_0xce004a['addClass']('ck-revision-history-root--active',_0x78330['view']['document']['getRoot'](_0x53b74c['rootName']));}):_0x78330['reconvertMarker']('revision:'+_0x53b74c['id']));});}),this['listenTo'](this['editor']['editing']['view']['document'],'mouseover',(_0x501f92,_0x34bd07)=>{if(this['activeChange'])return;const _0x3fcea2=this['_findChangeIdFromDomTarget'](_0x34bd07['target']),_0x13d8a6=this['_changeIdToChange']['get'](_0x3fcea2);_0x13d8a6?(this['_activeViewTarget']={'x':_0x34bd07['domEvent']['x'],'y':_0x34bd07['domEvent']['y']},this['activeView']=this['_getViewForChange'](_0x13d8a6)):(this['_activeViewTarget']=null,this['activeView']=null);}),this['listenTo'](this['editor']['editing']['view']['document'],'mousedown',(_0x27680b,_0x10883e)=>{const _0x133eeb=this['_findChangeIdFromDomTarget'](_0x10883e['target']),_0x44b830=this['_changeIdToChange']['get'](_0x133eeb);_0x44b830?(this['_activeViewTarget']={'x':_0x10883e['domEvent']['x'],'y':_0x10883e['domEvent']['y']},_0x44b830===this['activeChange']?this['_balloon']['updatePosition']():this['activeChange']=_0x44b830):(this['_activeViewTarget']=null,this['activeChange']=null);});}['_findChangeIdFromDomTarget'](_0x2fa25a){do{const _0x353947=_0x2fa25a['getAttribute']('data-change-id');if(_0x353947)return _0x353947;_0x2fa25a=_0x2fa25a['parent'];}while(_0x2fa25a);return null;}['_cleanMarkers'](){this['editor']['model']['change'](_0x27af98=>{for(const _0x227b05 of this['editor']['model']['markers'])_0x27af98['removeMarker'](_0x227b05);});}}function et(_0x235184,_0x31eede){return(_0x2c8753,_0x1addab,_0x239255)=>{if(!_0x239255['consumable']['test'](_0x1addab['markerRange'],_0x2c8753['name']))return;const _0x1c5b30=_0x1addab['markerRange']['getWalker'](),_0x5157f2=_0x1addab['markerRange']['start'],_0x42d218=_0x235184['model']['schema'];let _0x443bc5=null,_0x27a17b=null,_0x2ec145=!0x1,_0x388219=!0x1;for(const _0x3fbee9 of _0x1c5b30){const _0x52996c=_0x3fbee9['item'];_0x2ec145=_0x2ec145||_0x42d218['isContent'](_0x52996c);const _0x4627b4=_0x239255['mapper']['toViewElement'](_0x52996c);if(_0x4627b4&&_0x4627b4['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x3fbee9['type']&&(_0x42d218['isBlock'](_0x52996c)&&!_0x42d218['isLimit'](_0x52996c)&&(_0x52996c['nextSibling']||_0x5157f2['isAtEnd']?_0x443bc5&&_0x443bc5['parent']==_0x52996c||(_0x443bc5=_0x52996c,_0x4c3bfa(_0x3fbee9['previousPosition']),_0x388219=!0x0):_0x27a17b=_0x27a17b||_0x3fbee9['previousPosition']));}function _0x4c3bfa(_0x22118a){const _0x11460a=_0x239255['mapper']['toViewPosition'](_0x22118a),_0x25173b=_0x239255['writer']['createUIElement']('span',{'class':'ck-suggestion-preview-marker-'+_0x31eede});_0x239255['writer']['insert'](_0x11460a,_0x25173b),_0x239255['mapper']['bindElementToMarker'](_0x25173b,_0x1addab['markerName']);}_0x2ec145||_0x388219||!_0x27a17b||_0x4c3bfa(_0x27a17b);};}class bt extends _0x119776{constructor(_0x13d69f){super(_0x13d69f);const _0x302ae2=_0x13d69f['plugins']['get'](d);this['affectsData']=!0x1,this['listenTo'](_0x302ae2,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x302ae2,'change:isEnabled',()=>this['refresh']());}['execute'](){const _0x72f296=this['editor'],_0x39e028=_0x72f296['plugins']['get'](d),_0x51895f=_0x39e028['isReady']?_0x39e028['diff']['newRevisionId']:null;_0x72f296['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x51895f);}['refresh'](){const {isReady:_0x45b6fa,isEnabled:_0x3c955a}=this['editor']['plugins']['get'](d);this['isEnabled']=_0x45b6fa&&_0x3c955a;}}class yt extends _0x119776{['_step'];constructor(_0x49c884,{direction:_0x3b82d6}){super(_0x49c884);const _0x53c2f3=_0x49c884['plugins']['get'](d);this['affectsData']=!0x1,this['_step']='forward'===_0x3b82d6?0x1:-0x1,this['listenTo'](_0x53c2f3,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x53c2f3,'change:isEnabled',()=>this['refresh']()),this['listenTo'](_0x53c2f3,'change:activeChange',()=>this['refresh']());}['execute'](){const _0x584994=this['editor'],_0x219ef9=_0x584994['plugins']['get'](d),{isNavigationMode:_0x54c753,currentChangeNumber:_0x19be22}=_0x219ef9;let _0x47607f;if(_0x219ef9['activeChange']=_0x54c753?_0x219ef9['diff']['changes']['get'](_0x19be22+this['_step']):_0x219ef9['diff']['changes']['first'],_0x219ef9['activeChange']['data']['isOnRoot'])_0x47607f=_0x584994['editing']['view']['getDomRoot'](_0x219ef9['activeChange']['rootName']);else{const _0x2f6674=_0x584994['model']['markers']['get']('revision:'+_0x219ef9['activeChange']['id']);_0x47607f=_0x424da9(_0x584994['editing'],_0x2f6674);}_0x2156d7({'target':_0x47607f,'viewportOffset':0x28});}['refresh'](){const {isNavigationMode:_0x15cc57,currentChangeNumber:_0x72f22b,numberOfChanges:_0xdb208e,isReady:_0x4fb360,isEnabled:_0x4fed5b}=this['editor']['plugins']['get'](d);this['isEnabled']=!!(_0x4fed5b&&_0x4fb360&&_0xdb208e)&&(!_0x15cc57||(0x1===this['_step']?_0x72f22b<_0xdb208e-0x1:_0x72f22b>0x0));}}class _i extends _0x1d7bb1{constructor(_0x28f98f){super(_0x28f98f);const _0x40811b=this['bindTemplate'],_0x3a10b4=new _0x46da82(_0x28f98f),_0x11c4d7=new _0x46da82(_0x28f98f);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',(_0x9d3f81,_0x2d45f7)=>_0x9d3f81&&_0x2d45f7>0x0),this['bind']('_statusText')['to'](this,'isReady',this,'currentChangeNumber',this,'numberOfChanges',this,'isNavigationMode',(_0x25a46e,_0x1cfaa1,_0x193deb,_0x11cc5c)=>{if(!_0x25a46e)return y(_0x28f98f,'Loading...');if(!_0x193deb)return y(_0x28f98f,'No\x20changes');const _0x54fd27=y(_0x28f98f,'NUMBER_OF_CHANGES',_0x193deb);return _0x11cc5c?y(_0x28f98f,'X_OF_Y_CHANGES',[_0x1cfaa1+0x1,_0x193deb]):_0x54fd27;}),_0x3a10b4['set']({'label':y(_0x28f98f,'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'}),_0x11c4d7['set']({'label':y(_0x28f98f,'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'}),_0x3a10b4['bind']('isEnabled')['to'](this,'isBackwardNavigationEnabled'),_0x11c4d7['bind']('isEnabled')['to'](this,'isForwardNavigationEnabled'),_0x3a10b4['on']('execute',()=>this['fire']('execute','backward')),_0x11c4d7['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',_0x40811b['if']('_isStatusLabelVisible','ck-hidden',_0x1ef6ca=>!_0x1ef6ca)]},'children':[{'text':_0x40811b['to']('isNavigationMode',_0x29bb83=>_0x29bb83?y(_0x28f98f,'EDIT_X_OF_Y_REVISIONS')+':\x20':y(_0x28f98f,'Total')+':\x20')}]},{'text':_0x40811b['to']('_statusText')}]},new _0x54d323(),{'tag':'div','attributes':{'class':['ck-revision-history-ui__changes-navigation__navigation']},'children':[_0x3a10b4,_0x11c4d7]}]});}}const ce='ck-editor__editable__loading-overlay';class de extends _0x54c75a{static get['pluginName'](){return'RevisionViewerLoadingOverlay';}['show'](){const _0x4f8a10=this['editor']['editing']['view'];_0x4f8a10['change'](_0x53fef0=>{for(const _0x12aefc of _0x4f8a10['document']['roots'])_0x53fef0['addClass'](ce,_0x12aefc);});}['hide'](){const _0x341333=this['editor']['editing']['view'];_0x341333['change'](_0x16b00f=>{for(const _0x81ea4 of _0x341333['document']['roots'])_0x16b00f['removeClass'](ce,_0x81ea4);});}}class R extends _0x54c75a{static get['pluginName'](){return'RevisionViewerUI';}static get['requires'](){return[d,de];}['init'](){const _0x5f3873=this['editor'],_0x3dfe62=_0x5f3873['plugins']['get'](d),_0x24eb0f=_0x5f3873['plugins']['get'](de);_0x5f3873['ui']['componentFactory']['add']('exitToEditing',_0x5cd88d=>{const _0x5ce460=new _0x46da82(_0x5cd88d);return _0x5ce460['set']({'label':y(_0x5cd88d,'Back\x20to\x20editing'),'icon':_0x100426['undo'],'withText':!0x0,'tooltip':!0x0,'class':'ck-revision-history-ui__back-to-editing'}),this['listenTo'](_0x5ce460,'execute',()=>{_0x5f3873['config']['get']('revisionHistory')['closeRevisionViewerCallback']();}),_0x5ce460;}),_0x5f3873['ui']['componentFactory']['add']('restoreRevision',_0x19f4b6=>{const _0x45c884=new _0x46da82(_0x19f4b6);return _0x45c884['set']({'label':y(_0x19f4b6,'Restore\x20this\x20revision'),'withText':!0x0,'tooltip':!0x0}),_0x45c884['bind']('isEnabled')['to'](_0x5f3873['commands']['get']('restoreRevision')),this['listenTo'](_0x45c884,'execute',()=>_0x5f3873['execute']('restoreRevision')),_0x45c884;}),_0x5f3873['ui']['componentFactory']['add']('changesNavigation',_0x26bd7f=>{const _0x545a62=new _i(_0x26bd7f),_0x1f6f0=_0x5f3873['commands']['get']('showPreviousChange'),_0x314d9d=_0x5f3873['commands']['get']('showNextChange');return _0x545a62['bind']('isBackwardNavigationEnabled')['to'](_0x1f6f0,'isEnabled'),_0x545a62['bind']('isForwardNavigationEnabled')['to'](_0x314d9d,'isEnabled'),_0x545a62['bind']('isReady','currentChangeNumber','numberOfChanges','isNavigationMode')['to'](_0x3dfe62),this['listenTo'](_0x545a62,'execute',(_0x1451f1,_0x144bed)=>{_0x5f3873['execute']('forward'===_0x144bed?'showNextChange':'showPreviousChange');}),_0x545a62;}),_0x24eb0f['show'](),_0x3dfe62['on']('change:isReady',(_0xf10a70,_0x421386,_0x1690ab)=>{_0x1690ab?_0x24eb0f['hide']():_0x24eb0f['show']();});}}class kt extends at{['_resizeObserver']=null;constructor(_0x2b9045,_0xd82688){super(_0x2b9045,_0xd82688);const _0x4c8d02=this['bindTemplate'];this['set']({'label':y(_0x2b9045,'Revision\x20name'),'_tooltipString':''}),this['fieldView']['placeholder']=y(_0x2b9045,'Enter\x20the\x20revision\x20name'),this['extendTemplate']({'tag':'span','attributes':{'class':['ck-revision-history-sidebar__revision-name'],'data-cke-tooltip-text':_0x4c8d02['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 _0x1a6bae=this['fieldView']['element'];this['_tooltipString']=_0x1a6bae['scrollWidth']>_0x1a6bae['clientWidth']&&_0x1a6bae['value']||'';}}class ti extends _0x1d7bb1{constructor(_0x2f7100,_0xfad198,_0x3cd493){super(_0x2f7100);const _0x24d69d=new _0x21fc41();_0x24d69d['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 _0x11cd53=['ck','ck-revision-history-sidebar__revision-author'];_0x3cd493&&_0x11cd53['push']('ck-revision-history-sidebar__revision-author_creator');const _0x5b5e48=[{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__revision-author__name'],'title':y(_0x2f7100,_0x3cd493?'Revision\x20creator':'Revision\x20author')},'children':[_0x24d69d,_0xfad198['name']]}];this['setTemplate']({'tag':'li','attributes':{'class':_0x11cd53},'children':_0x5b5e48});}}function ni(_0x10eca8,_0x379848){const _0x5b460f=_0x10eca8['bindTemplate'],_0x157e92=_0x10eca8['locale'],_0x481c2d=_0x293bbb(_0x157e92);_0x481c2d['panelPosition']='sw';const _0x3f9a89=function(_0x14c0c7,_0x1466cd){const _0x548c74=function(_0x1d4f77,_0x15fd29){const _0x566b19=_0x1d4f77['locale'],_0x31833d={'Compare\x20against\x20selected':y(_0x566b19,'Compare\x20against\x20selected'),'Name\x20this\x20revision':y(_0x566b19,'Name\x20this\x20revision'),'Restore\x20this\x20revision':y(_0x566b19,'Restore\x20this\x20revision')};return _0x15fd29['map'](_0x124973=>{const _0x382091=_0x31833d[_0x124973['name']];return _0x382091&&_0x382091!==_0x124973['name']&&(_0x124973['name']=_0x382091),_0x124973;});}(_0x14c0c7,_0x1466cd),_0xbf18c1=new _0x7fb43f();for(const _0x37a215 of _0x548c74){const _0xe81f43={'type':'button','model':new to({'label':_0x37a215['name'],'class':_0x37a215['class'],'withText':!0x0,'role':'menuitem','_action':_0x37a215['action']})};_0xe81f43['model']['bind']('isEnabled')['to'](_0x14c0c7,'isActionsDropdownOpen',_0x3574b4=>'function'!=typeof _0x37a215['isEnabled']||(!_0x3574b4||_0x37a215['isEnabled'](_0x14c0c7))),_0xbf18c1['add'](_0xe81f43);}return _0xbf18c1;}(_0x10eca8,_0x379848);return _0x10eca8['bind']('isActionsDropdownOpen')['to'](_0x481c2d,'isOpen'),_0x481c2d['buttonView']['set']({'label':y(_0x157e92,'Show\x20more\x20items'),'tooltip':!0x0,'tooltipPosition':'sw','icon':_0x100426['threeVerticalDots']}),_0x481c2d['extendTemplate']({'attributes':{'class':['ck-revision-history-sidebar__revision__actions',_0x5b460f['if']('isActionsDropdownOpen','ck-on')]},'on':{'click':_0x5b460f['to'](_0x432484=>_0x432484['stopPropagation']())}}),_0x481c2d['on']('execute',_0x358049=>{_0x10eca8['isReady']&&'function'==typeof _0x358049['source']['_action']&&_0x358049['source']['_action'](_0x10eca8);}),_0x176ea1(_0x481c2d,_0x3f9a89,{'role':'menu'}),_0x481c2d['listenTo'](_0x10eca8,'change:isActionsDropdownOpen',(_0x4383cb,_0x52a504,_0x3b127a)=>{if(_0x3b127a)for(const _0x2886dc of _0x481c2d['listView']['items']){const _0x3eeca6=_0x2886dc['children']['first'],_0xbb901b=_0x379848['find'](_0x2e9014=>_0x2e9014['action']===_0x3eeca6['_action'])['isVisible'];_0x2886dc['isVisible']=void 0x0===_0xbb901b||_0xbb901b(_0x10eca8);}}),_0x481c2d;}class ai extends/* #__PURE__ -- @preserve */
26
- _0x98328f(_0x1d7bb1){['id'];['revisionNameView'];['revisionActionsView'];['_revision'];['_requireRevisionName'];constructor(_0x3b2912,_0x32182d,_0xd03527,_0x3b8710){super(_0x3b2912);const _0x5af30d=this['bindTemplate'],_0x32cb3c=function(_0x430c2a,_0x2d461b){const _0x556f98=Array['from'](_0x2d461b['authors'])['filter'](_0x121e40=>_0x121e40!=_0x2d461b['creator']);return _0x2d461b['creator']&&_0x556f98['unshift'](_0x2d461b['creator']),_0x556f98['map'](_0x26e096=>new ti(_0x430c2a,_0x26e096,_0x26e096==_0x2d461b['creator']));}(_0x3b2912,_0x32182d);this['id']=_0x32182d['id'],this['_revision']=_0x32182d,this['_requireRevisionName']=_0x3b8710,this['bind']('name','createdAt')['to'](_0x32182d),this['bind']('_createdAtFormatted')['to'](this,'createdAt',_0x3820f1=>{return _0x131dc5=_0x3b2912['uiLanguage'],(_0x1174bb=_0x3820f1)['toLocaleDateString'](_0x131dc5,{'month':'long','day':'numeric'})+',\x20'+_0x1174bb['toLocaleTimeString'](_0x131dc5,{'hour':'numeric','minute':'numeric'});var _0x131dc5,_0x1174bb;}),this['set']('isSelected',!0x1),this['set']('isHighlighted',!0x1),this['set']('isActionsDropdownOpen',!0x1),this['set']('isReady',!0x1),this['set']('isEnabled',!0x1),this['revisionNameView']=new kt(_0x3b2912,_0x53cfe7),this['revisionNameView']['fieldView']['extendTemplate']({'attributes':{'maxlength':'220'}}),this['revisionNameView']['fieldView']['bind']('value')['to'](this,'name',_0x51f050=>_0x51f050||this['_createdAtFormatted']),this['revisionNameView']['bind']('isEnabled')['to'](this,'isSelected',this,'isEnabled',(_0x2c0f16,_0x349f2a)=>_0x2c0f16&&_0x349f2a),this['revisionActionsView']=_0xd03527&&_0xd03527['length']?ni(this,_0xd03527):'',this['revisionActionsView']&&this['revisionActionsView']['bind']('isEnabled')['to'](this),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision-wrapper',_0x5af30d['if']('isConfirm','ck-revision-history-sidebar__revision-wrapper_confirmation_visible')]},'children':[{'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision',_0x5af30d['if']('isEnabled','ck-disabled',_0x4ed2d4=>!_0x4ed2d4),_0x5af30d['if']('isSelected','ck-revision-history-sidebar__revision_selected'),_0x5af30d['if']('isHighlighted','ck-revision-history-sidebar__revision_highlighted'),_0x5af30d['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':_0x5af30d['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':_0x32cb3c}]},this['revisionActionsView']],'on':{'click':_0x5af30d['to'](_0x2425a4=>{_0x2425a4['srcElement']['closest']('.ck-thread__remove-confirm')||this['isReady']&&this['isEnabled']&&this['fire']('select',{'id':this['id']});})}}]});}['render'](){super['render']();const _0x50c262=this['revisionNameView']['fieldView']['element'];this['listenTo'](_0x50c262,'change',()=>{this['_requireRevisionName']&&!_0x50c262['value']||this['fire']('setName',{'id':this['id'],'name':_0x50c262['value']}),_0x50c262['value']||(_0x50c262['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(_0x32bae7,_0x5cd712){const _0x13caa7=_0x286060['fromJSDate'](_0x32bae7)['setLocale'](_0x5cd712),_0xb5e7fe=_0x286060['local'](),_0x387d18=_0xb5e7fe['minus']({'days':0x1})['startOf']('day');let _0x35b1c4,_0x279fcf;return _0x13caa7['hasSame'](_0xb5e7fe,'day')?(_0x35b1c4=_0x13caa7['startOf']('day')['toJSDate'](),_0x279fcf=_0x13caa7['toRelativeCalendar']()):_0x13caa7['hasSame'](_0x387d18,'day')?(_0x35b1c4=_0x387d18['toJSDate'](),_0x279fcf=_0x13caa7['toRelativeCalendar']()):_0x13caa7['hasSame'](_0xb5e7fe,'week')?(_0x35b1c4=_0x13caa7['startOf']('week')['toJSDate'](),_0x279fcf=_0x13caa7['weekdayLong']||''):_0x13caa7['hasSame'](_0xb5e7fe,'year')?(_0x35b1c4=_0x13caa7['startOf']('month')['toJSDate'](),_0x279fcf=_0x13caa7['monthLong']||''):(_0x35b1c4=_0x13caa7['startOf']('year')['toJSDate'](),_0x279fcf=String(_0x13caa7['year'])),{'startDate':_0x35b1c4,'localizedPeriodName':_0x279fcf};}class mi extends _0x1d7bb1{['startDate'];['revisionViews'];['_revisionActions'];['_requireRevisionName'];constructor(_0x31a00e,_0x34d71f,_0x95d9ab,_0x3f3171){super(_0x31a00e);const _0x280431=di(_0x34d71f,this['locale']['uiLanguage'])['localizedPeriodName'];this['startDate']=_0x34d71f,this['revisionViews']=this['createCollection'](),this['_revisionActions']=_0x95d9ab,this['_requireRevisionName']=_0x3f3171,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':_0x280431}]},{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__time-period__revisions']},'children':this['revisionViews']}]});}['addRevision'](_0x387ea7){const _0x2b9fac=new ai(this['locale'],_0x387ea7,this['_revisionActions'],this['_requireRevisionName']);this['revisionViews']['add'](_0x2b9fac);}['removeRevision'](_0x1c6edc){const _0x4e6413=this['revisionViews']['find'](_0x32be99=>_0x32be99['id']===_0x1c6edc['id']);this['revisionViews']['remove'](_0x4e6413);}}class as extends _0x1d7bb1{constructor(_0x171b43){super(_0x171b43);const _0x7ca6ad=new _0x21fc41();_0x7ca6ad['content']=_0x100426['history'],this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all','ck-revision-history-sidebar__header']},'children':[_0x7ca6ad,{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__header__label']},'children':[y(_0x171b43,'Revision\x20history')]}]});}}class ci extends _0x1d7bb1{['timePeriodViews'];['_revisions'];['_revisionActions'];['_requireRevisionName'];constructor(_0xdf5800,_0x4636aa,_0x251e47,_0x3e0d0a){super(_0xdf5800);const _0x400689=this['bindTemplate'];this['timePeriodViews']=this['createCollection'](),this['timePeriodViews']['delegate']('select')['to'](this),this['timePeriodViews']['delegate']('setName')['to'](this),this['_revisions']=_0x4636aa,this['_revisionActions']=_0x251e47,this['_requireRevisionName']=_0x3e0d0a,this['on']('select',(_0x54c0ad,_0x578ef9)=>{this['fire']('revisionSelected',_0x578ef9);}),this['on']('setName',(_0x582a2b,_0x475086)=>{this['fire']('revisionSetName',_0x475086);}),this['set']('isEnabled',!0x1),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-rounded-corners','ck-revision-history-sidebar']},'children':[new as(_0xdf5800),{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__timeline',_0x400689['if']('isEnabled','ck-disabled',_0x10bd82=>!_0x10bd82)]},'children':this['timePeriodViews']}]});}['render'](){super['render']();for(const _0x3a6c7d of this['_revisions'])this['_addRevision'](_0x3a6c7d);this['_revisions']['on']('add',(_0x518606,_0x1f1922)=>{this['_addRevision'](_0x1f1922);}),this['_revisions']['on']('remove',(_0x61a37c,_0xc10fc2)=>{this['_removeRevision'](_0xc10fc2);});}get['revisionViews'](){return this['timePeriodViews']['map'](_0x541986=>_0x541986['revisionViews']['map'](_0x189925=>_0x189925))['flat']();}['selectRevision'](_0x94c678){for(const _0x4a8140 of this['revisionViews'])_0x94c678&&_0x94c678['id']===_0x4a8140['id']?_0x4a8140['select']():_0x4a8140['deselect']();}['highlightRevisions'](_0x33cc31){for(const _0x12abee of this['revisionViews'])_0x33cc31['some'](({id:_0xcf0e6})=>_0xcf0e6===_0x12abee['id'])?_0x12abee['highlight']():_0x12abee['unhighlight']();}['_addRevision'](_0x2c11f2){const _0x52a4c1=di(_0x2c11f2['createdAt'],this['locale']['uiLanguage'])['startDate'];let _0x269d90=this['timePeriodViews']['get'](0x0);_0x269d90&&_0x269d90['startDate']['getTime']()===_0x52a4c1['getTime']()||(_0x269d90=new mi(this['locale'],_0x52a4c1,this['_revisionActions'],this['_requireRevisionName']),this['timePeriodViews']['add'](_0x269d90)),_0x269d90['addRevision'](_0x2c11f2);}['_removeRevision'](_0x407472){const _0x25f841=di(_0x407472['createdAt'],this['locale']['uiLanguage'])['startDate'];this['_getTimePeriodViewByStartDate'](_0x25f841)['removeRevision'](_0x407472);}['_getTimePeriodViewByStartDate'](_0x4a376f){return this['timePeriodViews']['find'](_0x34a94e=>_0x34a94e['startDate']['getTime']()===_0x4a376f['getTime']());}}class w extends _0x54c75a{['_revisionViewer'];['_revisionsRepository'];['_sidebarView'];static ['defaultRevisionActions']=/* #__PURE__ -- @preserve */
23
+ import{Plugin as _0x3bc8af,Context as _0x29c6ef,PendingActions as _0x6dd356,icons as _0x18e07b,Command as _0x52df47,ElementApiMixin as rt,Editor as it}from'@ckeditor/ckeditor5-core/dist/index.js';import{ObservableMixin as _0x342d1c,uid as _0x42c424,Collection as _0x141ac7,logWarning as _0x4eff96,FocusTracker as _0x4e8013,KeystrokeHandler as _0x528809,scrollViewportToShowTarget as _0x3fd308,ResizeObserver as mt,ElementReplacer as nt,CKEditorError as _0x4dd44b}from'@ckeditor/ckeditor5-utils/dist/index.js';import{Users as _0x45f376,getMarkerDomElement as _0x444f34,ConfirmMixin as _0x2d57c6,sanitizeEditorConfig as _0x1e2ca8}from'ckeditor5-collaboration/dist/index.js';import{ViewDocumentFragment as _0x68de1b,ViewText as _0x75ba4f,ViewElement as _0x37b0cc,Element as ft,Range as vt,Position as gt,DocumentFragment as wt,ViewContainerElement as _0x22cfa1,ViewAttributeElement as _0x2fcb99,ViewEmptyElement as _0x340848,ViewRawElement as _0x3024d4,ViewUIElement as _0x409b2b,Text as _t}from'@ckeditor/ckeditor5-engine/dist/index.js';import{cloneDeep as _0x5c50ea,set as _0x2aad67,unset as _0x1a3166,isEqual as _0x44b192}from'lodash-es';import{View as _0x5804aa,injectCssTransitionDisabler as ts,submitHandler as _0x2feea4,LabeledFieldView as at,createLabeledInputText as _0x3b77d0,createDropdown as _0x54d2f5,ListView as te,ListItemView as _0x3895a4,ButtonView as _0xa1287,MenuBarMenuView as _0x4dd2ae,MenuBarMenuListView as _0xbf31bd,MenuBarMenuListItemView as _0x2e9e0a,MenuBarMenuListItemButtonView as _0x511fd0,ContextualBalloon as _0x25b583,ToolbarSeparatorView as _0x4ea959,IconView as _0x3b2b08,addListToDropdown as _0x766eeb,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 _0x4a009a}from'luxon';class a extends/* #__PURE__ -- @preserve */
24
+ _0x342d1c(){['id'];['creator'];['authors'];['diffData'];['toVersion'];['fromVersion'];['model'];constructor(_0x57d95f){super(),this['id']=_0x57d95f['id']||_0x42c424(),this['creator']=_0x57d95f['creator']||null,this['authors']=_0x57d95f['authors']||[],this['diffData']=_0x57d95f['diffData']||null,this['toVersion']=_0x57d95f['toVersion']||0x0,this['fromVersion']=_0x57d95f['fromVersion']||0x0,this['set']('name',_0x57d95f['name']||''),this['set']('createdAt',_0x57d95f['createdAt']||new Date()),this['set']('attributes',_0x57d95f['attributes']||{});}['setName'](_0x5cf91f){this['_update']({'name':_0x5cf91f});}['setAttribute'](_0x1ab525,_0x5af5c0){const _0x2e25eb=_0x5c50ea(this['attributes']);_0x2aad67(_0x2e25eb,_0x1ab525,_0x5af5c0),this['_update']({'attributes':_0x2e25eb});}['removeAttribute'](_0x3eec5c){const _0x4a19e8=_0x5c50ea(this['attributes']);_0x1a3166(_0x4a19e8,_0x3eec5c),this['_update']({'attributes':_0x4a19e8});}['_update'](_0x4b2289,_0xc515bf=!0x1){let _0x55233b=!0x1;const _0x38d930={'id':this['id']},_0x561a1e=['name','createdAt','diffData','authors','attributes','toVersion','fromVersion','creatorId'];for(const _0x46df7b of _0x561a1e){const _0x54f2e9=_0x4b2289[_0x46df7b];void 0x0!==_0x54f2e9&&_0x54f2e9!==this[_0x46df7b]&&(this[_0x46df7b]=_0x54f2e9,_0x38d930[_0x46df7b]=_0x54f2e9,_0x55233b=!0x0);}_0x55233b&&(_0x38d930['authors']&&(_0x38d930['authorsIds']=_0x38d930['authors']['map'](_0x283cf5=>_0x283cf5['id']),delete _0x38d930['authors']),this['fire']('_update',_0x38d930,_0xc515bf));}['toJSON'](){return{'id':this['id'],'name':this['name'],'creatorId':this['creator']?this['creator']['id']:null,'authorsIds':this['authors']['map'](_0x3279a2=>_0x3279a2['id']),'diffData':this['diffData'],'createdAt':this['createdAt'],'attributes':this['attributes'],'fromVersion':this['fromVersion'],'toVersion':this['toVersion']};}}class A extends _0x3bc8af{['_revisions'];static get['requires'](){return[_0x45f376];}static get['pluginName'](){return'RevisionsRepository';}get['length'](){return this['_revisions']['length'];}constructor(_0x4e8833){super(_0x4e8833),this['_revisions']=new _0x141ac7();}['afterInit'](){!function(_0x2d47dd){function _0x3de38f(_0x13f3c5,_0x39f667,_0x1226a8){const _0x3258d9={};_0x3258d9[_0x3b20a9([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])]={0x10:0xa,0x18:0xc,0x20:0xe},_0x3258d9[_0x3b20a9([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],_0x3258d9[_0x3b20a9([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],_0x3258d9[_0x3b20a9([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],_0x3258d9[_0x3b20a9([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],_0x3258d9[_0x3b20a9([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],_0x3258d9[_0x3b20a9([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],_0x3258d9[_0x3b20a9([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],_0x3258d9[_0x3b20a9([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],_0x3258d9[_0x3b20a9([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],_0x3258d9[_0x3b20a9([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 _0x141890=new Uint8Array(0x10);for(let _0x2bee4e=0xf;_0x2bee4e>=0x0;--_0x2bee4e)_0x141890[_0x2bee4e]=_0x1226a8%0x100,_0x1226a8=parseInt(_0x1226a8/0x100);let _0x269ca8=null,_0x1bfdf7=0x10;const _0x5e4cb8=new Uint8Array(_0x39f667),_0x20a526=[],_0x2e53fa=[];_0x5ab5ac();for(let _0x5f3da8=0x0;_0x5f3da8<_0x13f3c5[_0x3b20a9([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5f3da8++)0x10===_0x1bfdf7&&(_0x269ca8=_0x2da569(_0x141890),_0x1bfdf7=0x0,_0x11b479(_0x141890)),_0x13f3c5[_0x5f3da8]^=_0x269ca8[_0x1bfdf7++];return _0x13f3c5;function _0x213760(_0x2a4903){const _0xcbf3=[];for(let _0x3d9f58=0x0;_0x3d9f58<_0x2a4903[_0x3b20a9([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3d9f58+=0x4)_0xcbf3[_0x3b20a9([0x70,0x75,0x73,0x68])](_0x2a4903[_0x3d9f58]<<0x18|_0x2a4903[_0x3d9f58+0x1]<<0x10|_0x2a4903[_0x3d9f58+0x2]<<0x8|_0x2a4903[_0x3d9f58+0x3]);return _0xcbf3;}function _0x11b479(_0x1c8e00){for(let _0x290743=0xf;_0x290743>=0x0;_0x290743--){if(0xff!==_0x1c8e00[_0x290743]){_0x1c8e00[_0x290743]++;break;}_0x1c8e00[_0x290743]=0x0;}}function _0x2da569(_0x54197){const _0x4100d4=_0x20a526[_0x3b20a9([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x1,_0x398a78=[0x0,0x0,0x0,0x0];let t=_0x213760(_0x54197);for(let _0x385c34=0x0;_0x385c34<0x4;_0x385c34++)t[_0x385c34]^=_0x20a526[0x0][_0x385c34];for(let _0x438268=0x1;_0x438268<_0x4100d4;_0x438268++){for(let _0x140638=0x0;_0x140638<0x4;_0x140638++)_0x398a78[_0x140638]=_0x3258d9[_0x3b20a9([0x54,0x31])][t[_0x140638]>>0x18&0xff]^_0x3258d9[_0x3b20a9([0x54,0x32])][t[(_0x140638+0x1)%0x4]>>0x10&0xff]^_0x3258d9[_0x3b20a9([0x54,0x33])][t[(_0x140638+0x2)%0x4]>>0x8&0xff]^_0x3258d9[_0x3b20a9([0x54,0x34])][0xff&t[(_0x140638+0x3)%0x4]]^_0x20a526[_0x438268][_0x140638];t=_0x398a78[_0x3b20a9([0x73,0x6c,0x69,0x63,0x65])]();}const _0x243a7e=new Uint8Array(0x10);let _0x4619c3;for(let _0x1ca951=0x0;_0x1ca951<0x4;_0x1ca951++)_0x4619c3=_0x20a526[_0x4100d4][_0x1ca951],_0x243a7e[0x4*_0x1ca951]=0xff&(_0x3258d9[_0x3b20a9([0x53])][t[_0x1ca951]>>0x18&0xff]^_0x4619c3>>0x18),_0x243a7e[0x4*_0x1ca951+0x1]=0xff&(_0x3258d9[_0x3b20a9([0x53])][t[(_0x1ca951+0x1)%0x4]>>0x10&0xff]^_0x4619c3>>0x10),_0x243a7e[0x4*_0x1ca951+0x2]=0xff&(_0x3258d9[_0x3b20a9([0x53])][t[(_0x1ca951+0x2)%0x4]>>0x8&0xff]^_0x4619c3>>0x8),_0x243a7e[0x4*_0x1ca951+0x3]=0xff&(_0x3258d9[_0x3b20a9([0x53])][0xff&t[(_0x1ca951+0x3)%0x4]]^_0x4619c3);return _0x243a7e;}function _0x5ab5ac(){const _0x5443bb=_0x3258d9[_0x3b20a9([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])][_0x5e4cb8[_0x3b20a9([0x6c,0x65,0x6e,0x67,0x74,0x68])]];for(let _0x2c1e02=0x0;_0x2c1e02<=_0x5443bb;_0x2c1e02++)_0x20a526[_0x3b20a9([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]),_0x2e53fa[_0x3b20a9([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]);const _0xb0378=0x4*(_0x5443bb+0x1),_0x195c41=_0x5e4cb8[_0x3b20a9([0x6c,0x65,0x6e,0x67,0x74,0x68])]/0x4,_0x4b774b=_0x213760(_0x5e4cb8);let _0x33d194;for(let _0x1aaecc=0x0;_0x1aaecc<_0x195c41;_0x1aaecc++)_0x33d194=_0x1aaecc>>0x2,_0x20a526[_0x33d194][_0x1aaecc%0x4]=_0x4b774b[_0x1aaecc],_0x2e53fa[_0x5443bb-_0x33d194][_0x1aaecc%0x4]=_0x4b774b[_0x1aaecc];let _0x5cec4a,_0x4b79a2=0x0,t=_0x195c41;for(;t<_0xb0378;){_0x5cec4a=_0x4b774b[_0x195c41-0x1],_0x4b774b[0x0]^=_0x3258d9[_0x3b20a9([0x53])][_0x5cec4a>>0x10&0xff]<<0x18^_0x3258d9[_0x3b20a9([0x53])][_0x5cec4a>>0x8&0xff]<<0x10^_0x3258d9[_0x3b20a9([0x53])][0xff&_0x5cec4a]<<0x8^_0x3258d9[_0x3b20a9([0x53])][_0x5cec4a>>0x18&0xff]^_0x3258d9[_0x3b20a9([0x72,0x63,0x6f,0x6e])][_0x4b79a2]<<0x18,_0x4b79a2+=0x1;for(let _0x13deb6=0x1;_0x13deb6<_0x195c41/0x2;_0x13deb6++)_0x4b774b[_0x13deb6]^=_0x4b774b[_0x13deb6-0x1];_0x5cec4a=_0x4b774b[_0x195c41/0x2-0x1],_0x4b774b[_0x195c41/0x2]^=_0x3258d9[_0x3b20a9([0x53])][0xff&_0x5cec4a]^_0x3258d9[_0x3b20a9([0x53])][_0x5cec4a>>0x8&0xff]<<0x8^_0x3258d9[_0x3b20a9([0x53])][_0x5cec4a>>0x10&0xff]<<0x10^_0x3258d9[_0x3b20a9([0x53])][_0x5cec4a>>0x18&0xff]<<0x18;for(let _0x34d951=_0x195c41/0x2+0x1;_0x34d951<_0x195c41;_0x34d951++)_0x4b774b[_0x34d951]^=_0x4b774b[_0x34d951-0x1];let _0x399135,_0x583559,_0x3a6220=0x0;for(;_0x3a6220<_0x195c41&&t<_0xb0378;)_0x399135=t>>0x2,_0x583559=t%0x4,_0x20a526[_0x399135][_0x583559]=_0x4b774b[_0x3a6220],_0x2e53fa[_0x5443bb-_0x399135][_0x583559]=_0x4b774b[_0x3a6220++],t++;}for(let _0x6e5d80=0x1;_0x6e5d80<_0x5443bb;_0x6e5d80++)for(let _0x40edf9=0x0;_0x40edf9<0x4;_0x40edf9++)_0x5cec4a=_0x2e53fa[_0x6e5d80][_0x40edf9],_0x2e53fa[_0x6e5d80][_0x40edf9]=_0x3258d9[_0x3b20a9([0x55,0x31])][_0x5cec4a>>0x18&0xff]^_0x3258d9[_0x3b20a9([0x55,0x32])][_0x5cec4a>>0x10&0xff]^_0x3258d9[_0x3b20a9([0x55,0x33])][_0x5cec4a>>0x8&0xff]^_0x3258d9[_0x3b20a9([0x55,0x34])][0xff&_0x5cec4a];}}function _0x3b20a9(_0x442c8d){return _0x442c8d['map'](_0x5535df=>String['fromCharCode'](_0x5535df))['join']('');}(_0x511a2e=>{function _0x360fed(){const _0x5672bc=[{[_0x3b20a9([0x69,0x64])]:0x1,[_0x3b20a9([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3b20a9([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73]),[_0x3b20a9([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x3b20a9([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x3b20a9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x3b20a9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x3b20a9([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x3b20a9([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x3b20a9([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]:[{[_0x3b20a9([0x69,0x64])]:0x2,[_0x3b20a9([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3b20a9([0x54,0x72,0x61,0x63,0x6b,0x20,0x43,0x68,0x61,0x6e,0x67,0x65,0x73]),[_0x3b20a9([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x3b20a9([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x3b20a9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x3b20a9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x3b20a9([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x3b20a9([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]),[_0x3b20a9([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x3b20a9([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x3b20a9([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x3b20a9([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}}],[_0x3b20a9([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x3b20a9([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x3b20a9([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x3b20a9([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x3b20a9([0x69,0x64])]:0x3,[_0x3b20a9([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3b20a9([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e]),[_0x3b20a9([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x3b20a9([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x6f,0x6f,0x6b,0x75,0x70]),[_0x3b20a9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x3b20a9([0x70,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x3b20a9([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x3b20a9([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x3b20a9([0x69,0x64])]:0x4,[_0x3b20a9([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3b20a9([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x20,0x48,0x69,0x73,0x74,0x6f,0x72,0x79]),[_0x3b20a9([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x3b20a9([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x3b20a9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x3b20a9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x3b20a9([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x3b20a9([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]),[_0x3b20a9([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x3b20a9([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x3b20a9([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x3b20a9([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x3b20a9([0x69,0x64])]:0x5,[_0x3b20a9([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3b20a9([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x20,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65]),[_0x3b20a9([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x3b20a9([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65,0x55,0x49]),[_0x3b20a9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x3b20a9([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]),[_0x3b20a9([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x3b20a9([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x3b20a9([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x3b20a9([0x66,0x67,0x69])]:[0xc]}},{[_0x3b20a9([0x69,0x64])]:0x6,[_0x3b20a9([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3b20a9([0x46,0x6f,0x72,0x6d,0x61,0x74,0x20,0x50,0x61,0x69,0x6e,0x74,0x65,0x72]),[_0x3b20a9([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x3b20a9([0x46,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x55,0x49]),[_0x3b20a9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x3b20a9([0x66,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x3b20a9([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x3b20a9([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x3b20a9([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x3b20a9([0x66,0x67,0x69])]:[0xc]}},{[_0x3b20a9([0x69,0x64])]:0x7,[_0x3b20a9([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3b20a9([0x53,0x6c,0x61,0x73,0x68,0x20,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64]),[_0x3b20a9([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x3b20a9([0x53,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x55,0x49]),[_0x3b20a9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x3b20a9([0x73,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x3b20a9([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x3b20a9([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x3b20a9([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x3b20a9([0x66,0x67,0x69])]:[0xc]}},{[_0x3b20a9([0x69,0x64])]:0x8,[_0x3b20a9([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3b20a9([0x54,0x61,0x62,0x6c,0x65,0x20,0x6f,0x66,0x20,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73]),[_0x3b20a9([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x3b20a9([0x54,0x61,0x62,0x6c,0x65,0x4f,0x66,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x3b20a9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x3b20a9([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]),[_0x3b20a9([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x3b20a9([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x3b20a9([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x3b20a9([0x66,0x67,0x69])]:[0xc]}},{[_0x3b20a9([0x69,0x64])]:0x9,[_0x3b20a9([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3b20a9([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65]),[_0x3b20a9([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x3b20a9([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x55,0x49]),[_0x3b20a9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x3b20a9([0x74,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x3b20a9([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x3b20a9([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x3b20a9([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x3b20a9([0x66,0x67,0x69])]:[0xc,0xe]}},{[_0x3b20a9([0x69,0x64])]:0xa,[_0x3b20a9([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3b20a9([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]),[_0x3b20a9([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x3b20a9([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]),[_0x3b20a9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x3b20a9([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]),[_0x3b20a9([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x3b20a9([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x3b20a9([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x3b20a9([0x66,0x67,0x69])]:[0xc]}},{[_0x3b20a9([0x69,0x64])]:0xb,[_0x3b20a9([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3b20a9([0x41,0x49,0x20,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74]),[_0x3b20a9([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x3b20a9([0x41,0x49,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74,0x55,0x49]),[_0x3b20a9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x3b20a9([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x3b20a9([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x3b20a9([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x3b20a9([0x69,0x64])]:0xc,[_0x3b20a9([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3b20a9([0x50,0x72,0x6f,0x64,0x75,0x63,0x74,0x69,0x76,0x69,0x74,0x79,0x20,0x70,0x61,0x63,0x6b])},{[_0x3b20a9([0x69,0x64])]:0xd,[_0x3b20a9([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3b20a9([0x43,0x61,0x73,0x65,0x20,0x43,0x68,0x61,0x6e,0x67,0x65]),[_0x3b20a9([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x3b20a9([0x43,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x55,0x49]),[_0x3b20a9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x3b20a9([0x63,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x3b20a9([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x3b20a9([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x3b20a9([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x3b20a9([0x66,0x67,0x69])]:[0xc]}},{[_0x3b20a9([0x69,0x64])]:0xe,[_0x3b20a9([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3b20a9([0x44,0x72,0x75,0x70,0x61,0x6c,0x20,0x70,0x61,0x63,0x6b]),[_0x3b20a9([0x66,0x6f,0x72,0x62,0x69,0x64,0x64,0x65,0x6e,0x48,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x3b20a9([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])},{[_0x3b20a9([0x69,0x64])]:0xf,[_0x3b20a9([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3b20a9([0x4d,0x75,0x6c,0x74,0x69,0x20,0x4c,0x65,0x76,0x65,0x6c,0x20,0x4c,0x69,0x73,0x74]),[_0x3b20a9([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x3b20a9([0x4d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x3b20a9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x3b20a9([0x6d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x3b20a9([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x3b20a9([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x3b20a9([0x69,0x64])]:0x10,[_0x3b20a9([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3b20a9([0x4d,0x65,0x72,0x67,0x65,0x20,0x54,0x61,0x67,0x73]),[_0x3b20a9([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x3b20a9([0x4d,0x65,0x72,0x67,0x65,0x54,0x61,0x67,0x73,0x55,0x49]),[_0x3b20a9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x3b20a9([0x6d,0x65,0x72,0x67,0x65,0x54,0x61,0x67,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x3b20a9([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x3b20a9([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x3b20a9([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x3b20a9([0x66,0x67,0x69])]:[0xc]}}];return _0x5e7279(_0x5672bc),_0x5672bc;function _0x569162(_0x5df381){return 0x1<<_0x5df381-0x1;}function _0x5e7279(_0x5651c2){_0x5651c2[_0x3b20a9([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x15fe14=>{_0x15fe14[_0x3b20a9([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]=_0x569162(_0x15fe14[_0x3b20a9([0x69,0x64])]),_0x29cea9(_0x15fe14)&&_0x15fe14[_0x3b20a9([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x5e7279(_0x15fe14[_0x3b20a9([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]);});}}function _0x29cea9(_0x5dbc3f){return _0x3b20a9([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])in _0x5dbc3f;}const _0x9fcc29=[0x1,0x55,0x4e,0x73,0xc6,0xff,0x32,0x70,0x53,0x57,0xa1],_0x1c85be=[0x7f,0x22,0x6,0xd3,0xa7,0x56,0x92,0xc7,0x84,0xa0,0x12];function _0x301360(_0x4b2086){const _0x18a00f=[0x1d,0xdd,0xaf,0x5a,0xe7,0x85,0xef,0xf0,0x4b,0xb4];return _0x5ae3ac(_0x4b2086,new Uint8Array([..._0x9fcc29,..._0x18a00f,..._0x1c85be]));}function _0x5ae3ac(_0x19cea9,_0x49d68a){const _0x1ddb28=_0x94e5a4(_0x19cea9),_0x182928=Array[_0x3b20a9([0x66,0x72,0x6f,0x6d])](_0x43317d(_0x1ddb28)),_0x4479cd=_0x182928[_0x3b20a9([0x70,0x6f,0x70])](),_0x3c2b7b=_0x182928[_0x3b20a9([0x70,0x6f,0x70])]();return _0x50a380(_0x3de38f(_0x182928,_0x49d68a,_0x3c2b7b+0x100*_0x4479cd));}function _0x94e5a4(_0x1dc48a){const _0x49517a=atob(_0x1dc48a),[_0x1ac8a5,_0x4f8152]=_0x49517a[_0x3b20a9([0x73,0x70,0x6c,0x69,0x74])](_0x3b20a9([0x2d]));try{if(atob(_0x4f8152))return atob(_0x1ac8a5);}catch(_0x563d89){}return _0x49517a;}function _0x5b7548(_0x2565b0){try{const _0x48e003=_0x301360(_0x2565b0),_0x33c932=JSON[_0x3b20a9([0x70,0x61,0x72,0x73,0x65])](_0x48e003),_0x593ee1=parseInt(_0x33c932[_0x3b20a9([0x31])]),_0x1b6c68=_0x33c932[_0x3b20a9([0x32])]||'',_0x340d10=parseInt(_0x33c932[_0x3b20a9([0x33])]),_0x461315=parseInt(_0x33c932[_0x3b20a9([0x34])])||0x0,_0x3bec4c=parseInt(_0x33c932[_0x3b20a9([0x35])])||0x0;return{[_0x3b20a9([0x70,0x72,0x6f,0x64,0x75,0x63,0x74,0x4e,0x61,0x6d,0x65])]:_0x1b6c68,[_0x3b20a9([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])]:_0x461315,[_0x3b20a9([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]:_0x593ee1,[_0x3b20a9([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]:_0x340d10,[_0x3b20a9([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]:_0x3bec4c};}catch(_0x233518){return null;}}const _0x154910=_0x360fed(),_0x584957={[_0x3b20a9([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])]:_0x3e2fde,[_0x3b20a9([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])]:_0x1f71da,[_0x3b20a9([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])]:_0x2982fc},_0x3cd5ed=_0x511a2e[_0x3b20a9([0x63,0x6f,0x6e,0x73,0x74,0x72,0x75,0x63,0x74,0x6f,0x72])][_0x3b20a9([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])],_0x1fa9a8=_0x3b20a9([0x63,0x6f,0x6e,0x74,0x65,0x78,0x74])in _0x511a2e?_0x511a2e['context']:_0x511a2e['editor'],_0x733782=_0x3b20a9([0x34,0x30,0x34,0x38,0x31,0x32,0x34,0x36]),_0x351626=_0x3b20a9([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]),_0x3a5645=_0x1fa9a8['config']['get'](_0x3b20a9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x3fbd0c=_0x154910[_0x3b20a9([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x29cea9)[_0x3b20a9([0x66,0x69,0x6e,0x64])](_0x1debae=>_0x1debae[_0x3b20a9([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]===_0x3cd5ed);function _0x284125(_0x16379d,_0x225c51){_0x584957[_0x225c51[_0x3b20a9([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]](_0x16379d,_0x225c51),_0x225c51[_0x3b20a9([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x225c51[_0x3b20a9([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])][_0x3b20a9([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3fabb8=>_0x4f068a(_0x1fa9a8,_0x3fabb8[_0x3b20a9([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))[_0x3b20a9([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x3665e1=>_0x284125(_0x16379d,_0x3665e1));}function _0x3e2fde(_0x41a0d8,_0x6d2430){_0x1bfdff(_0x586f89(_0x41a0d8,_0x6d2430),_0x6d2430);}function _0x1f71da(_0x50b060,_0x4ef896){function _0x4d7f80(_0x34930f,_0x28c859){try{if(_0x4f068a(_0x1fa9a8,_0x3b20a9([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))&&_0x34930f){const _0x3b26eb=_0x310bb8(_0x1fa9a8,_0x3b20a9([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))[_0x3b20a9([0x5f,0x65,0x78,0x65,0x63,0x75,0x74,0x65,0x53,0x75,0x67,0x67,0x65,0x73,0x74,0x69,0x6f,0x6e])];if(parseInt(_0x3b26eb)/0x2>_0x34930f[_0x3b20a9([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])])return _0x58d8ca(_0x28c859[_0x3b20a9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3b20a9([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}return _0x586f89(_0x34930f,_0x28c859);}catch(_0x4abf47){return _0x58d8ca(_0x28c859[_0x3b20a9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3b20a9([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}_0x1bfdff(_0x4d7f80(_0x50b060,_0x4ef896),_0x4ef896);}function _0x2982fc(_0x2a3dfb,_0x128999){const _0x323341=_0x1c85be[0x0]*_0x9fcc29[0x1],_0xbb22c4=_0x1c85be[0x0]*_0x9fcc29[0x2],_0x309c12=_0x1c85be[0x2]*_0x9fcc29[0x2];_0x4f068a(_0x1fa9a8,_0x3b20a9([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x310bb8(_0x1fa9a8,_0x3b20a9([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x3b20a9([0x73,0x74,0x61,0x74,0x65])]==_0x3b20a9([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&(window[_0x3a4ec2()]=_0x309c12);function _0x1d1e4a(_0x2649bc,_0x5dd9ce){try{return _0x3f1c1a()?_0x58d8ca(_0x5dd9ce[_0x3b20a9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3b20a9([0x56,0x61,0x6c,0x69,0x64])):_0x586f89(_0x2649bc,_0x5dd9ce);}catch(_0x4bd3ac){return _0x58d8ca(_0x5dd9ce[_0x3b20a9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3b20a9([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x2555ae(_0x57ed33,_0x3e1b26){const _0x468ddd=0x7;if(_0x57ed33==_0x3e1b26[_0x3b20a9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3b20a9([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]))_0xc69a63();else{if(_0x57ed33==_0x3e1b26[_0x3b20a9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3b20a9([0x54,0x72,0x69,0x61,0x6c])){const _0x2621b7=_0x18db2f();_0x2621b7&&_0x2776fe(_0x2621b7,_0x3e1b26[_0x3b20a9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);const _0x272f83=_0xa8c744();window[_0x3b20a9([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x2776fe(_0x3b20a9([0x74,0x69,0x6d,0x65]),_0x3e1b26[_0x3b20a9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);},_0x272f83);const _0x55894a=_0x310bb8(_0x1fa9a8,_0x3b20a9([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x3b20a9([0x5f,0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73])];_0x55894a[_0x3b20a9([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x468ddd?_0x2776fe(_0x3b20a9([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x3e1b26[_0x3b20a9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]):_0x55894a['on'](_0x3b20a9([0x61,0x64,0x64]),()=>{_0x55894a[_0x3b20a9([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x468ddd&&_0x2776fe(_0x3b20a9([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x3e1b26[_0x3b20a9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);});}}}function _0x18db2f(){if(!_0x4f068a(_0x1fa9a8,_0x3b20a9([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x22031b in window)if(Number['isNaN'](Number(_0x22031b))){if(window[_0x22031b]===_0x323341)return _0x3b20a9([0x74,0x69,0x6d,0x65]);if(window[_0x22031b]===_0xbb22c4)return _0x3b20a9([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]);}return!0x1;}function _0x3f1c1a(){if(!_0x4f068a(_0x1fa9a8,_0x3b20a9([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x5e7603 in window)if(Number['isNaN'](Number(_0x5e7603))&&window[_0x5e7603]===_0x309c12)return!0x0;return!0x1;}function _0x2776fe(_0x50c84d,_0x1280e0){_0xc69a63(),_0x58d8ca(_0x1280e0+_0x3b20a9([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a])+_0x50c84d),window[_0x3a4ec2()]=_0x50c84d===_0x3b20a9([0x74,0x69,0x6d,0x65])?_0x323341:_0xbb22c4;}function _0xa8c744(){let _0x15001a=_0x1c85be[0x6]*_0x9fcc29[0x8]*_0x9fcc29[0x6];return _0x4f068a(_0x1fa9a8,_0x3b20a9([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x15001a/=0xa),_0x15001a;}function _0xc69a63(){const _0x3053e6=_0x1fa9a8;function _0x583271(){_0x4f068a(_0x3053e6,_0x3b20a9([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&(_0x310bb8(_0x3053e6,_0x3b20a9([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x3b20a9([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x3b20a9([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x310bb8(_0x3053e6,_0x3b20a9([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x3b20a9([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x310bb8(_0x3053e6,_0x3b20a9([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x3b20a9([0x75,0x70,0x64,0x61,0x74,0x65])]=_0x2b0346,_0x310bb8(_0x3053e6,_0x3b20a9([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x3b20a9([0x73,0x61,0x76,0x65,0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e])]=_0x2b0346,_0x3053e6[_0x3b20a9([0x6d,0x6f,0x64,0x65,0x6c])][_0x3b20a9([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2b0346,_0x3053e6[_0x3b20a9([0x6d,0x6f,0x64,0x65,0x6c])][_0x3b20a9([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2b0346,_0x3053e6[_0x3b20a9([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x3b20a9([0x6d,0x6f,0x64,0x65,0x6c]))),_0x4f068a(_0x3053e6,_0x3b20a9([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x310bb8(_0x3053e6,_0x3b20a9([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x3b20a9([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x3b20a9([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x310bb8(_0x3053e6,_0x3b20a9([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x3b20a9([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x310bb8(_0x3053e6,_0x3b20a9([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x3b20a9([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])]=_0x2b0346,_0x310bb8(_0x3053e6,_0x3b20a9([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x3b20a9([0x5f,0x67,0x65,0x74,0x44,0x69,0x66,0x66])]=_0x2b0346);}_0x3053e6[_0x3b20a9([0x73,0x74,0x61,0x74,0x65])]==_0x3b20a9([0x72,0x65,0x61,0x64,0x79])?_0x583271():_0x3053e6[_0x3b20a9([0x6f,0x6e,0x63,0x65])](_0x3b20a9([0x72,0x65,0x61,0x64,0x79]),()=>{if(_0x4f068a(_0x3053e6,_0x3b20a9([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&_0x583271(),_0x4f068a(_0x3053e6,_0x3b20a9([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))){const _0x140cbd=_0x310bb8(_0x3053e6,_0x3b20a9([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79])),_0x39cafa=_0x140cbd['getRevision'](0x0),_0x23761e=_0x140cbd['getEarlierVisibleRevision'](_0x39cafa[_0x3b20a9([0x69,0x64])]);_0x310bb8(_0x3053e6,_0x3b20a9([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x3b20a9([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])](_0x39cafa[_0x3b20a9([0x69,0x64])],_0x23761e?_0x23761e[_0x3b20a9([0x69,0x64])]:null,0x1)['then'](()=>_0x583271());}});}_0x2555ae(_0x1d1e4a(_0x2a3dfb,_0x128999),_0x128999);}function _0x586f89(_0x2e1a6c,_0x4251c7){try{return _0x2ee41c(_0x4251c7)?_0x58d8ca(_0x4251c7[_0x3b20a9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3b20a9([0x56,0x61,0x6c,0x69,0x64])):_0x2e1a6c&&_0x33d982(_0x2e1a6c[_0x3b20a9([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])],_0x4251c7)?_0x2e1a6c[_0x3b20a9([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]&&!window[_0x3b20a9([0x6f,0x70,0x65,0x6e])][_0x3b20a9([0x63,0x6c,0x6f,0x73,0x65,0x64])]||parseInt(_0x733782)/0x2>_0x2e1a6c[_0x3b20a9([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]?_0x58d8ca(_0x4251c7[_0x3b20a9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3b20a9([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])):_0x2e1a6c[_0x3b20a9([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]?_0x58d8ca(_0x4251c7[_0x3b20a9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3b20a9([0x54,0x72,0x69,0x61,0x6c])):_0x58d8ca(_0x4251c7[_0x3b20a9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3b20a9([0x56,0x61,0x6c,0x69,0x64])):_0x58d8ca(_0x4251c7[_0x3b20a9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3b20a9([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}catch(_0x2515b9){return _0x58d8ca(_0x4251c7[_0x3b20a9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3b20a9([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x1bfdff(_0x50f1bc,_0x539fc5){if(_0x1fa9a8 instanceof _0x29c6ef){const _0x2af22e=_0x1fa9a8;_0x50f1bc==_0x539fc5[_0x3b20a9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3b20a9([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x149809(_0x2af22e):_0x50f1bc==_0x539fc5[_0x3b20a9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3b20a9([0x54,0x72,0x69,0x61,0x6c])&&window[_0x3b20a9([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x149809(_0x2af22e),_0x58d8ca(_0x539fc5[_0x3b20a9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3b20a9([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65]));},_0x1c85be[0x6]*_0x9fcc29[0x8]*_0x9fcc29[0x6]),_0x2af22e[_0x3b20a9([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])][_0x3b20a9([0x6f,0x6e])](_0x3b20a9([0x61,0x64,0x64]),(_0x3d30e7,_0x538bb1)=>{_0x50f1bc!=_0x539fc5[_0x3b20a9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3b20a9([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])&&_0x50f1bc!=_0x539fc5[_0x3b20a9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3b20a9([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65])&&_0x50f1bc!=_0x539fc5[_0x3b20a9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3b20a9([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])||_0x3caa80(_0x538bb1);});}else{const _0x32606e=_0x1fa9a8;_0x50f1bc==_0x539fc5[_0x3b20a9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3b20a9([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x3caa80(_0x32606e):_0x50f1bc==_0x539fc5[_0x3b20a9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3b20a9([0x54,0x72,0x69,0x61,0x6c])&&_0x32606e[_0x3b20a9([0x6f,0x6e])](_0x3b20a9([0x72,0x65,0x61,0x64,0x79]),()=>{let _0x9120a9=0x0;_0x32606e[_0x3b20a9([0x6d,0x6f,0x64,0x65,0x6c])][_0x3b20a9([0x6f,0x6e])](_0x3b20a9([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x213fb9,_0x2f9162)=>{_0x2f9162[0x0][_0x3b20a9([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x9120a9++,0x1f8===_0x9120a9&&(_0x3caa80(_0x32606e),_0x58d8ca(_0x539fc5[_0x3b20a9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3b20a9([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])),_0x213fb9[_0x3b20a9([0x6f,0x66,0x66])]());},{'priority':_0x3b20a9([0x68,0x69,0x67,0x68,0x65,0x73,0x74])});});}}function _0x58d8ca(_0x119cd7){const _0x29c789=_0x3a4ec2();return _0x1fa9a8[_0x29c789]=_0x119cd7,_0x119cd7;}function _0x3a4ec2(){const _0x51ed8f=String(window[_0x3b20a9([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x3b20a9([0x6e,0x6f,0x77])]())[_0x3b20a9([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x3b20a9([0x2e]),'');let _0x3b0586='';for(let _0x25f49a=0x0;_0x25f49a<_0x51ed8f[_0x3b20a9([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x25f49a+=0x2){let _0x4d8c51=parseInt(_0x51ed8f[_0x3b20a9([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x25f49a,_0x25f49a+0x2));_0x4d8c51>=_0x351626[_0x3b20a9([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x4d8c51-=_0x351626[_0x3b20a9([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x3b0586+=_0x351626[_0x4d8c51];}return _0x3b0586;}function _0x149809(_0x467fb6){for(const _0x5227f4 of _0x467fb6[_0x3b20a9([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])])_0x3caa80(_0x5227f4);_0x310bb8(_0x467fb6,_0x3b20a9([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x3b20a9([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])](!0x0),_0x310bb8(_0x467fb6,_0x3b20a9([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x3b20a9([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])]=_0x2b0346;}function _0x3caa80(_0x6a0a27){function _0x19d4bb(){_0x6a0a27[_0x3b20a9([0x6d,0x6f,0x64,0x65,0x6c])][_0x3b20a9([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2b0346,_0x6a0a27[_0x3b20a9([0x6d,0x6f,0x64,0x65,0x6c])][_0x3b20a9([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2b0346,_0x6a0a27[_0x3b20a9([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x3b20a9([0x6d,0x6f,0x64,0x65,0x6c]));}_0x6a0a27[_0x3b20a9([0x73,0x74,0x61,0x74,0x65])]==_0x3b20a9([0x72,0x65,0x61,0x64,0x79])?_0x19d4bb():_0x6a0a27[_0x3b20a9([0x6f,0x6e,0x63,0x65])](_0x3b20a9([0x72,0x65,0x61,0x64,0x79]),()=>_0x19d4bb());}function _0x2b0346(){return null;}function _0x33d982(_0x291e60,_0x19e6cf){const _0x11f7b5=!!(_0x291e60&_0x19e6cf[_0x3b20a9([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]),_0x40ca01=_0x34f1ea(_0x291e60,_0x19e6cf);return _0x11f7b5||_0x40ca01;}function _0x34f1ea(_0x2fcb85,_0x1d7faf){const _0x332beb=(_0x1d7faf[_0x3b20a9([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{})[_0x3b20a9([0x66,0x67,0x69])]||null;return!!_0x332beb&&_0x154910[_0x3b20a9([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1e1eb3=>_0x332beb[_0x3b20a9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1e1eb3[_0x3b20a9([0x69,0x64])]))[_0x3b20a9([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3c1a34=>!_0x5955c9(_0x3c1a34))[_0x3b20a9([0x73,0x6f,0x6d,0x65])](_0x482a8e=>!!(_0x2fcb85&_0x482a8e[_0x3b20a9([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]));}function _0x5955c9(_0x438f18){const _0x5b6e6f={[_0x3b20a9([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])]:_0xc1f488};return!!_0x438f18['forbiddenHandler']&&_0x5b6e6f[_0x438f18['forbiddenHandler']]();}function _0xc1f488(){return!window[_0x3b20a9([0x44,0x72,0x75,0x70,0x61,0x6c])]||!_0x4f068a(_0x1fa9a8,_0x3b20a9([0x64,0x72,0x75,0x70,0x61,0x6c,0x50,0x6f,0x77,0x65,0x72,0x65,0x64,0x42,0x79]));}function _0x2ee41c(_0x709830){if(!_0x4f068a(_0x1fa9a8,_0x709830[_0x3b20a9([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))return!0x0;const _0x41002b=_0x709830[_0x3b20a9([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{},_0x56777a=_0x41002b[_0x3b20a9([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]||!0x1,_0x4826a7=_0x41002b[_0x3b20a9([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]||!0x1,_0x2646ba=_0x41002b[_0x3b20a9([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]||!0x1;if(_0x4f068a(_0x1fa9a8,_0x3b20a9([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x310bb8(_0x1fa9a8,_0x3b20a9([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x3b20a9([0x73,0x74,0x61,0x74,0x65])]==_0x3b20a9([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&_0x56777a)return!0x0;if(_0x4f068a(_0x1fa9a8,_0x3b20a9([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))&&_0x310bb8(_0x1fa9a8,_0x3b20a9([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))[_0x3b20a9([0x72,0x65,0x73,0x75,0x6c,0x74])]==_0x3b20a9([0x65,0x6e,0x64])&&_0x4826a7)return!0x0;return!(!_0x4f068a(_0x1fa9a8,_0x3b20a9([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]))||_0x310bb8(_0x1fa9a8,_0x3b20a9([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]))[_0x3b20a9([0x72,0x65,0x73,0x75,0x6c,0x74])]!=_0x3b20a9([0x65,0x6e,0x64])||!_0x2646ba);}function _0x4f068a(_0x4a23de,_0x7737f5){return _0x4a23de[_0x3b20a9([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x3b20a9([0x68,0x61,0x73])](_0x7737f5);}function _0x310bb8(_0x5a3431,_0xcdf15f){return _0x5a3431[_0x3b20a9([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x3b20a9([0x67,0x65,0x74])](_0xcdf15f);}function _0x50a380(_0x49642b){let _0x9f55ad='';for(const _0x310d44 of _0x49642b)_0x9f55ad+=String[_0x3b20a9([0x66,0x72,0x6f,0x6d,0x43,0x68,0x61,0x72,0x43,0x6f,0x64,0x65])](_0x310d44);return _0x9f55ad;}function _0x43317d(_0xfaaaff){const _0x2b49dc=new Uint8Array(_0xfaaaff[_0x3b20a9([0x6c,0x65,0x6e,0x67,0x74,0x68])]);for(let _0x484eca=0x0;_0x484eca<_0xfaaaff[_0x3b20a9([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x484eca++)_0x2b49dc[_0x484eca]=_0xfaaaff[_0x3b20a9([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x484eca);return _0x2b49dc;}_0x3fbd0c&&_0x284125(_0x5b7548(_0x3a5645),_0x3fbd0c);})(_0x2d47dd);}(this);}['createRevision'](_0x4f2e0e){const _0x48ab00=this['editor']['plugins']['get']('Users');return new a({'id':_0x4f2e0e['id'],'name':_0x4f2e0e['name'],'creator':_0x4f2e0e['creatorId']?_0x48ab00['getUser'](_0x4f2e0e['creatorId']):null,'diffData':_0x4f2e0e['diffData']||_0x4f2e0e['data'],'authors':_0x4f2e0e['authorsIds']['map'](_0x1e66e6=>_0x48ab00['getUser'](_0x1e66e6)),'createdAt':new Date(_0x4f2e0e['createdAt']),'attributes':_0x4f2e0e['attributes'],'fromVersion':_0x4f2e0e['fromVersion'],'toVersion':_0x4f2e0e['toVersion']});}['addRevision'](_0x50a3bc,_0x92846=0x0){this['_revisions']['add'](_0x50a3bc,_0x92846);}['getRevision'](_0x2da477){return this['_revisions']['get'](_0x2da477);}['getRevisions'](_0x4ed2df={'toJSON':!0x1}){const _0x5ef254=Array['from'](this['_revisions']);return _0x5ef254['reverse'](),_0x4ed2df['toJSON']?_0x5ef254['map'](_0x3f756a=>_0x3f756a['toJSON']()):_0x5ef254;}['getIndex'](_0x4adef9){return this['_revisions']['getIndex'](_0x4adef9);}['getEarlierVisibleRevision'](_0x248f19){const [,_0x1f08e0]=this['getRevisionsIterator'](_0x248f19,{'direction':'earlier'});return _0x1f08e0;}['getLaterVisibleRevision'](_0x178d54){const [,_0x5bf401]=this['getRevisionsIterator'](_0x178d54,{'direction':'later'});return _0x5bf401;}['getRevisionsInDiff'](_0x519af8){const _0x33b791=[];for(const _0x684c05 of this['getRevisionsIterator'](_0x519af8['newRevisionId']))if(_0x33b791['push'](_0x684c05),_0x684c05['id']===_0x519af8['oldRevisionId'])break;return _0x33b791;}*['getRevisionsIterator'](_0x1b426f,{direction:_0x1a5ed8='earlier',filter:_0x360980=_0x5de0d3=>!0x0}={}){const _0x5b55f3='earlier'===_0x1a5ed8?0x1:-0x1;let _0x57ea8e=this['_revisions']['get'](_0x1b426f),_0x53ef06=this['getIndex'](_0x57ea8e);for(yield _0x57ea8e;_0x57ea8e;){if(_0x53ef06+=_0x5b55f3,_0x57ea8e=this['getRevision'](_0x53ef06),!_0x57ea8e)return;_0x360980(_0x57ea8e)&&(yield _0x57ea8e);}}}function y(_0x472581,_0x179272,_0x415076){const t=_0x472581['t'];switch(_0x179272){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'},_0x415076);case'X_OF_Y_CHANGES':return t({'string':'%0\x20of\x20%1','id':'X_OF_Y_CHANGES'},_0x415076);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':_0x22cfa1,'a':_0x2fcb99,'e':_0x340848,'r':_0x3024d4,'u':_0x409b2b};class l extends _0x3bc8af{['adapter'];['currentRevision'];['repository'];['_revisionDataBuilder'];['_source'];['_initialRevisionId'];['_bufferedUpdates'];['_pendingAction'];['_continueCurrentRevision'];['_startingVersion'];['_loadedStateData'];static get['pluginName'](){return'RevisionTracker';}static get['requires'](){return[_0x45f376,A,_0x6dd356];}constructor(_0x44275e){super(_0x44275e),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 _0xcc3430=_0x42c424();this['_source']={'history':this['editor']['model']['document']['history'],'getLatestVersion':()=>Promise['resolve'](this['editor']['model']['document']['version']),'getCurrentRevisionId':()=>_0xcc3430},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 _0x4ae8b8=this['repository']['getRevision'](0x0),_0x335128=_0x4ae8b8&&null===_0x4ae8b8['creator']?_0x4ae8b8:null;if(this['_continueCurrentRevision']=!!_0x335128&&this['editor']['config']['get']('revisionHistory.resumeUnsavedRevision'),this['editor']['plugins']['has']('RealTimeCollaborationClient')){const _0x625065=this['_source']['getCurrentRevisionId'](),_0xf30f32=this['repository']['getRevision'](_0x625065);if(_0xf30f32)this['_startingVersion']=_0xf30f32['fromVersion'],this['_continueCurrentRevision']=!0x1;else{const _0x67f3f8=this['_source']['history']['_operations']['find'](_0x2bd41c=>!_0x2bd41c['_isInit']),_0x3bd57f=_0x67f3f8?_0x67f3f8['baseVersion']:this['_source']['history']['version'];_0x4ae8b8?(_0x4ae8b8['toVersion']<_0x3bd57f&&_0x4ae8b8['_update']({'toVersion':_0x3bd57f}),this['_continueCurrentRevision']?(this['_source']['getCurrentRevisionId']=()=>_0x335128['id'],this['_startingVersion']=_0x335128['fromVersion']):(this['_startingVersion']=_0x4ae8b8['toVersion'],this['_continueCurrentRevision']=!0x1)):(this['_startingVersion']=_0x3bd57f,this['_continueCurrentRevision']=!0x1);}}else _0x335128&&(this['editor']['model']['document']['history']['version']=Math['max'](_0x335128['toVersion'],this['editor']['model']['document']['history']['version']),_0x335128['fromVersion']===_0x335128['toVersion']?(0x0!==_0x335128['fromVersion']&&(this['_source']['getCurrentRevisionId']=()=>_0x335128['id']),this['_continueCurrentRevision']=!0x1):this['_continueCurrentRevision']&&(this['_source']['getCurrentRevisionId']=()=>_0x335128['id'],this['_startingVersion']=_0x335128['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',_0xce2119=>!_0xce2119);}async['afterInit'](){if(this['repository']['length']>0x0){const _0x890a4a=this['repository']['getRevision'](0x0),_0x34e0e4=await this['getRevisionDocumentData'](_0x890a4a),_0x20d042=await this['getRevisionRootsAttributes'](_0x890a4a);this['_replaceEditorDataWithRevisionData'](_0x34e0e4,_0x20d042);}}['setSource'](_0x470fc4){this['_source']=_0x470fc4;}async['update'](){const _0x22b37f=await this['_source']['getLatestVersion']();if(_0x22b37f>this['currentRevision']['toVersion']){await this['_loadState']();const _0x4ec578=this['buildRevisionData']({'revision':this['currentRevision'],'to':_0x22b37f});_0x4ec578['authors']=_0x4ec578['authorsIds']['map'](_0x5151d2=>this['editor']['plugins']['get']('Users')['getUser'](_0x5151d2)),this['currentRevision']['_update'](_0x4ec578);}}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'](_0x3a492c={},_0x14be5d=null){const _0x4bc35e=[];await this['_loadState'](),this['_continueCurrentRevision']=!0x1,_0x14be5d>this['currentRevision']['toVersion']&&(_0x14be5d=null),null===_0x14be5d&&(_0x14be5d=await this['_source']['getLatestVersion']());const _0x31aabe=this['_getFromVersion'](_0x14be5d),_0x486c42=this['buildRevisionData']({'from':_0x31aabe,'to':_0x14be5d});if(this['currentRevision']['toVersion']<_0x14be5d){const _0x2bddf2=this['buildRevisionData']({'revision':this['currentRevision'],'from':_0x14be5d,'to':_0x14be5d});_0x2bddf2['authors']=[],_0x2bddf2['authorsIds']=[],_0x2bddf2['id']=this['currentRevision']['id'],this['currentRevision']['_update'](_0x2bddf2,!0x0),delete _0x2bddf2['authors'],_0x4bc35e['push'](_0x2bddf2);}_0x3a492c['creatorId']=this['editor']['plugins']['get']('Users')['me']['id'],_0x3a492c['name']=_0x3a492c['name']||null,_0x3a492c['id']=_0x3a492c['id']||_0x42c424(),_0x3a492c={..._0x3a492c,..._0x486c42};const _0x2e6c7f=this['addRevisionData'](_0x3a492c);_0x4bc35e['push'](_0x3a492c);const _0x220577=this['repository']['getIndex'](_0x2e6c7f);if(0x0!==_0x220577){const _0x49674f=this['repository']['getRevision'](_0x220577-0x1);if(_0x49674f['fromVersion']!==_0x14be5d){const _0x722e34=this['_revisionDataBuilder']['getData'](_0x14be5d,_0x49674f['toVersion']),_0x5a8d65={'id':_0x49674f['id'],'diffData':_0x722e34['diffData'],'authorsIds':_0x722e34['authorsIds'],'authors':_0x722e34['authorsIds']['map'](_0x3a6e86=>this['editor']['plugins']['get']('Users')['getUser'](_0x3a6e86)),'fromVersion':_0x14be5d};_0x49674f===this['currentRevision']&&(_0x5a8d65['createdAt']=new Date(_0x3a492c['createdAt']['getTime']()+0xa)),_0x49674f['_update'](_0x5a8d65,!0x0),delete _0x5a8d65['authors'],_0x4bc35e['push'](_0x5a8d65);}}if(this['adapter']){for(const _0x3f2ae2 of _0x4bc35e)this['_bufferUpdate'](_0x3f2ae2['id'],_0x3f2ae2,!0x0);this['sendBufferedUpdates']();}return _0x2e6c7f;}['addRevisionData'](_0x4205bc){const _0x14f556=this['repository']['createRevision'](_0x4205bc);return this['adapter']&&_0x14f556['on']('_update',(_0x2b237c,_0x391a8c,_0x2b0a47)=>{_0x2b0a47||(this['_bufferUpdate'](_0x391a8c['id'],_0x391a8c,!0x0),this['sendBufferedUpdates']());}),this['repository']['addRevision'](_0x14f556,this['_findInsertionIndex'](_0x14f556)),_0x14f556;}async['getRevisionDocumentData'](_0x1fce9d){await this['_loadRevisionData'](_0x1fce9d);const _0x328a6d={};for(const _0x1104da in _0x1fce9d['diffData']){if(_0x1fce9d['diffData'][_0x1104da]['attachChange']&&!_0x1fce9d['diffData'][_0x1104da]['attachChange']['isAttached'])continue;const _0x4adc0c=this['_removeRevisionMarkers'](JSON['parse'](_0x1fce9d['diffData'][_0x1104da]['insertions'])),_0x2b8010=this['editor']['editing']['view']['document'],_0x465d6f=new _0x68de1b(_0x2b8010,_0x4adc0c['map'](_0x21e113=>B(_0x21e113,this['editor'])));this['editor']['data']['processor']['useFillerType']('marked'),_0x328a6d[_0x1104da]=this['editor']['data']['processor']['toData'](_0x465d6f),this['editor']['data']['processor']['useFillerType']('default');}return _0x328a6d;}async['getRevisionRootsAttributes'](_0x2e4f77){await this['_loadRevisionData'](_0x2e4f77);const _0x5e8387={};for(const _0x5852df in _0x2e4f77['diffData'])_0x2e4f77['diffData'][_0x5852df]['attachChange']&&!_0x2e4f77['diffData'][_0x5852df]['attachChange']['isAttached']||(_0x5e8387[_0x5852df]=_0x2e4f77['diffData'][_0x5852df]['attributesAfter']||{});return _0x5e8387;}['sendBufferedUpdates'](){if(0x0===this['_bufferedUpdates']['size'])return;if(this['_isPendingUpdate'])return;let _0x4170c3=Array['from'](this['_bufferedUpdates']['values']());this['_bufferedUpdates']['clear']();for(let _0x3239ac=0x0;_0x3239ac<_0x4170c3['length'];_0x3239ac++){const _0x4770e3=_0x4170c3[_0x3239ac];let _0xa75613=!0x1;for(const _0x4233f8 of Object['keys'](_0x4770e3))void 0x0===_0x4770e3[_0x4233f8]?delete _0x4770e3[_0x4233f8]:'id'!==_0x4233f8&&(_0xa75613=!0x0);_0xa75613||(_0x4170c3[_0x3239ac]=null);}if(_0x4170c3=_0x4170c3['filter'](_0x1d2031=>null!==_0x1d2031),!_0x4170c3['length'])return;for(let _0x264328=0x0;_0x264328<_0x4170c3['length'];_0x264328++){const _0x3b9fdd=_0x4170c3[_0x264328];void 0x0!==_0x3b9fdd['fromVersion']&&void 0x0===_0x3b9fdd['toVersion']&&(_0x3b9fdd['toVersion']=this['repository']['getRevision'](_0x3b9fdd['id'])['toVersion']),void 0x0!==_0x3b9fdd['toVersion']&&void 0x0===_0x3b9fdd['fromVersion']&&(_0x3b9fdd['fromVersion']=this['repository']['getRevision'](_0x3b9fdd['id'])['fromVersion']);}const _0x45ca5c=this['editor']['config']['get']('collaboration.channelId');this['_isPendingUpdate']=!0x0,this['_addPendingAction'](),this['adapter']['updateRevisions'](_0x4170c3,_0x45ca5c)['finally'](()=>{this['_isPendingUpdate']=!0x1;})['then'](_0x240d4f=>{if(_0x240d4f){for(const _0x6ff37d of _0x240d4f)this['setRevisionData']({'id':_0x6ff37d['id'],'createdAt':_0x6ff37d['createdAt']});}this['_removePendingAction'](),this['sendBufferedUpdates']();});}['_replaceEditorDataWithRevisionData'](_0x529668,_0x26386f){let _0x3788b7=this['editor']['config']['get']('initialData'),_0x130cc4=this['editor']['config']['get']('rootsAttributes');if(void 0x0===_0x3788b7){_0x3788b7={};for(const _0x5a7acb of this['editor']['model']['document']['getRootNames']())_0x3788b7[_0x5a7acb]='';}if('string'==typeof _0x3788b7&&(_0x3788b7={'main':_0x3788b7}),void 0x0===_0x130cc4){_0x130cc4={};for(const _0x501ce5 of this['editor']['model']['document']['getRootNames']())_0x130cc4[_0x501ce5]={};}let _0xe5a2c6=!0x1;const _0x595f76=Object['keys'](_0x3788b7),_0x31c12e=Object['keys'](_0x529668);for(const _0x113b18 of _0x595f76){if(_0x3788b7[_0x113b18]!==_0x529668[_0x113b18]&&''!==_0x3788b7[_0x113b18]['trim']()){_0xe5a2c6=!0x0;break;}if(!_0x44b192(_0x130cc4[_0x113b18],_0x26386f[_0x113b18])&&Object['keys'](_0x130cc4[_0x113b18])['length']>0x0){_0xe5a2c6=!0x0;break;}}_0xe5a2c6||(_0xe5a2c6=_0x31c12e['some'](_0x3dddaa=>!this['editor']['model']['document']['getRoot'](_0x3dddaa))),_0xe5a2c6&&_0x4eff96('editor-initial-data-replaced-with-revision-data',{'editorData':_0x3788b7,'editorRootsAttributes':_0x130cc4,'revisionData':_0x529668,'revisionRootsAttributes':_0x26386f}),this['editor']['config']['set']('initialData',_0x529668),this['editor']['config']['set']('rootsAttributes',_0x26386f);}['_addPendingAction'](){if(!this['_pendingAction']){const _0x38fa9c=this['editor']['plugins']['get']('PendingActions');this['_pendingAction']=_0x38fa9c['add'](y(this['editor']['locale'],'PENDING_ACTION_REVISION_HISTORY'));}}['_removePendingAction'](){this['_pendingAction']&&(this['editor']['plugins']['get']('PendingActions')['remove'](this['_pendingAction']),this['_pendingAction']=null);}['_findInsertionIndex'](_0x5f1620){const _0x757422=this['repository']['getRevisions']();_0x757422['reverse']();let _0x3d3ab0=0x0;for(;_0x3d3ab0<_0x757422['length'];){const _0x199ab4=_0x757422[_0x3d3ab0];if(_0x199ab4===this['currentRevision']){_0x3d3ab0++;continue;}if(_0x199ab4['id']===this['_initialRevisionId'])break;const _0x35724b=_0x5f1620['toVersion']-_0x199ab4['toVersion']||_0x5f1620['fromVersion']-_0x199ab4['fromVersion'];if(_0x35724b>0x0)break;if(_0x35724b<0x0)_0x3d3ab0++;else{if(!_0x5f1620['creator']&&_0x199ab4['creator'])break;if(_0x199ab4['creator']||!_0x5f1620['creator']){if(_0x5f1620['createdAt']>_0x199ab4['createdAt'])break;_0x3d3ab0++;}else _0x3d3ab0++;}}return _0x3d3ab0;}['setRevisionData'](_0x10852c){const _0x2f65d3=this['repository']['getRevision'](_0x10852c['id']);if(_0x10852c['createdAt']&&(_0x10852c['createdAt']=new Date(_0x10852c['createdAt'])),_0x10852c['authorsIds']){const _0x235090=this['editor']['plugins']['get']('Users');_0x10852c['authors']=_0x10852c['authorsIds']['map'](_0x3b76ea=>_0x235090['getUser'](_0x3b76ea));}_0x2f65d3['_update'](_0x10852c,!0x0);}['buildRevisionData']({revision:_0x83a66e=null,from:_0x4b4191=null,to:_0x46c593=null}){_0x4b4191=null!==_0x4b4191?_0x4b4191:_0x83a66e['fromVersion'],_0x46c593=null!==_0x46c593?_0x46c593:_0x83a66e['toVersion'];const _0x316695=this['_revisionDataBuilder']['getData'](_0x4b4191,_0x46c593),_0x10002f={'diffData':_0x316695['diffData'],'authorsIds':_0x316695['authorsIds'],'fromVersion':_0x4b4191,'toVersion':_0x46c593};if(!_0x83a66e||_0x46c593!==_0x83a66e['toVersion']){const _0x2eccfa=_0x46c593-0x1,_0x110e07=this['_source']['history']['getOperation'](_0x2eccfa);_0x10002f['createdAt']=_0x110e07&&_0x110e07['createdAt']||new Date();}if(this['_loadedStateData']&&_0x4b4191===this['_loadedStateData']['fromVersion']){for(const _0x4c689e of this['_loadedStateData']['authors'])_0x10002f['authorsIds']['includes'](_0x4c689e['id'])||_0x10002f['authorsIds']['push'](_0x4c689e['id']);}return _0x10002f;}['_loadRevisionData'](_0xf8e031){if(!_0xf8e031||_0xf8e031['diffData'])return Promise['resolve']();{const _0x3bbd82=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0x3bbd82,'revisionId':_0xf8e031['id']})['then'](_0x26f48a=>{_0xf8e031['diffData']=_0x26f48a['diffData'];});}}['_bufferUpdate'](_0x5a8cc8,_0x120222,_0x4d0ec4){if(this['_bufferedUpdates']['has'](_0x5a8cc8)){const _0x78f369=this['_bufferedUpdates']['get'](_0x5a8cc8);_0x120222=_0x4d0ec4?{..._0x78f369,..._0x120222}:{..._0x120222,..._0x78f369};}this['_bufferedUpdates']['set'](_0x5a8cc8,_0x120222);}['_getFromVersion'](_0x4510ae){const _0xd315e7=this['repository']['getRevisions']();_0xd315e7['reverse'](),_0xd315e7['shift']();const _0x4f07a5=_0xd315e7['find'](_0x185c4a=>_0x185c4a['toVersion']<=_0x4510ae)['toVersion'];return _0x4f07a5<this['_startingVersion']?this['_startingVersion']:_0x4f07a5;}['_createInitialRevision'](_0xec6957){const _0x676ea5=this['repository']['getRevision'](this['repository']['length']-0x1);if(_0x676ea5)this['_initialRevisionId']=_0x676ea5['id'];else{const _0x337bba=!this['editor']['model']['document']['roots']['find'](_0x578bcf=>this['editor']['model']['hasContent'](_0x578bcf)),_0x56970c=this['editor']['plugins']['get']('Users')['me']['id'],_0x50a0bd=y(this['editor']['locale'],_0x337bba?'Empty\x20document':'Initial\x20revision');this['_makeRevision']({'from':_0xec6957,'to':_0xec6957,'id':this['_initialRevisionId'],'name':_0x50a0bd,'creatorId':_0x56970c});}}['_createCurrentRevision'](_0x322f20){const _0x17605a=this['_source']['getCurrentRevisionId']();this['currentRevision']=this['repository']['getRevision'](_0x17605a),this['currentRevision']||(this['currentRevision']=this['_makeRevision']({'from':_0x322f20,'to':_0x322f20,'id':_0x17605a,'name':'','creatorId':null}));}['_makeRevision']({name:_0x10faea,from:_0x5f2444,to:_0x51b9bc,creatorId:_0x437b35,id:_0xe5726f}){const _0x1daa75=this['buildRevisionData']({'from':_0x5f2444,'to':_0x51b9bc});_0x1daa75['name']=_0x10faea,_0x1daa75['creatorId']=_0x437b35,_0x1daa75['id']=_0xe5726f;const _0x164450=this['addRevisionData'](_0x1daa75);return this['adapter']&&this['_bufferUpdate'](_0x1daa75['id'],_0x1daa75,!0x0),_0x164450;}['_setConversion'](){this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'});}['_removeRevisionMarkers'](_0x43a84c){return(_0x43a84c=_0x43a84c['filter'](_0xab1225=>!_0xab1225['name']||'revision-start'!==_0xab1225['name']&&'revision-end'!==_0xab1225['name']))['forEach'](_0x255cee=>{'string'!=typeof _0x255cee&&(_0x255cee['children']=this['_removeRevisionMarkers'](_0x255cee['children']),_0x255cee['attributes']=_0x255cee['attributes']['filter'](_0x4928ec=>!_0x4928ec[0x0]['startsWith']('data-revision-')));}),_0x43a84c;}}function B(_0x76020c,_0x204db3){const _0x4be529=_0x204db3['editing']['view']['document'];if('string'==typeof _0x76020c)return new _0x75ba4f(_0x4be529,_0x76020c);{const _0x20a4bb=_0x76020c['children']['map'](_0x2c6a18=>B(_0x2c6a18,_0x204db3));return new(T[_0x76020c['type']]||_0x37b0cc)(_0x4be529,_0x76020c['name'],_0x76020c['attributes'],_0x20a4bb);}}class J{['editor'];['source'];['_savedMetaData'];['_lastFrom'];['_lastTo'];['_markers'];['_diffRoots'];['_diffRootsAttributes'];['_baseRoots'];['_baseRootsAttributes'];['_idsRoots'];['_baseIdsRoots'];['_touched'];['_touchedMarkers'];['_touchedRoots'];['_revisionId'];['_startingRevisionId'];constructor(_0x554543){this['editor']=_0x554543,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'](_0x3506f5){this['source']=_0x3506f5;const _0x1793dd=new Map(),_0x97fa6e=new Map(),_0x2eb5ec=this['editor']['model']['document']['roots']['map'](_0x27c538=>_0x27c538['rootName']);for(const _0x5661ad of _0x2eb5ec){const _0x481993=this['editor']['model']['document']['getRoot'](_0x5661ad),_0x1dfaea=q(_0x481993);_0x1793dd['set'](_0x5661ad,_0x1dfaea),_0x97fa6e['set'](_0x5661ad,Object['fromEntries'](_0x481993['getAttributes']()));}const _0xca8231=Array['from'](this['editor']['model']['markers'])['map'](_0x4371ca=>[_0x4371ca['name'],_0x4371ca['getRange']()]),_0x45b915=this['source']['version'];this['_saveMetaData'](_0x45b915,_0x1793dd,_0xca8231,_0x97fa6e),this['_startingRevisionId']=this['_revisionId'];const _0x404278=new Map(),_0x91ba1e=new Map();for(const _0x3fecb9 of _0x2eb5ec){const _0x48e37e=G(_0x3fecb9);_0x404278['set'](_0x3fecb9,_0x48e37e),_0x91ba1e['set'](_0x3fecb9,{});}this['_saveMetaData'](Number['NEGATIVE_INFINITY'],_0x404278,[],_0x91ba1e);}['getData'](_0x1507e0,_0x510855){if(this['_lastFrom']===_0x1507e0&&this['_lastTo']<=_0x510855)this['_savedMetaData']['size']>0x1&&this['_removeMetaData'](this['_lastTo']),this['_applyOperations'](this['_lastTo'],_0x510855,!0x0);else{if(!this['_savedMetaData']['has'](_0x1507e0)){const _0x1b74db=this['_getPreviousFrom'](_0x1507e0);this['_calculateMetaData'](_0x1b74db,_0x1507e0,!0x1);}this['_calculateMetaData'](_0x1507e0,_0x510855,!0x0);}return this['_lastFrom']=_0x1507e0,this['_lastTo']=_0x510855,this['_getState']();}['loadState'](_0x389056){this['_reset'](),this['_lastFrom']=_0x389056['fromVersion'],this['_lastTo']=_0x389056['toVersion'];for(const _0x2a31f1 in _0x389056['diffData']){const _0x3a2ad2=_0x389056['diffData'][_0x2a31f1]['attachChange'],_0x2a8d9c=_0x5c50ea(_0x389056['diffData'][_0x2a31f1]['attributesBefore'])||{},_0x1e6eba=this['_makeModelFromViewString'](_0x389056['diffData'][_0x2a31f1]['deletions']);_0x1e6eba['rootName']=_0x2a31f1,_0x1e6eba['_isAttached']=!_0x3a2ad2||!_0x3a2ad2['isAttached'],_0x1e6eba['isAttached']=()=>_0x1e6eba['_isAttached'],this['_baseRoots']['set'](_0x2a31f1,_0x1e6eba),this['_baseRootsAttributes']['set'](_0x2a31f1,_0x2a8d9c),_0x3a2ad2&&this['_touchedRoots']['set'](_0x2a31f1,_0x3a2ad2);const _0x4859fe=this['_makeIdsRoot'](_0x1e6eba);this['_baseIdsRoots']['set'](_0x2a31f1,_0x4859fe);for(const [_0xfe95c,_0x2dd13f]of _0x1e6eba['markers']){if(!_0xfe95c['startsWith']('revision:'))continue;const _0x26a65a=_0xfe95c['split'](':')[0x2];for(const _0x5dc512 of _0x2dd13f['getWalker']({'singleCharacters':!0x0})){const _0x99d445=this['_getVidAttributeName'](_0x5dc512),_0x28d05f='elementEnd'==_0x5dc512['type']?_0x5dc512['previousPosition']['path']['slice'](0x0,-0x1):_0x5dc512['previousPosition']['path'],_0x364b1d=_0x4859fe['getNodeByPath'](_0x28d05f)['getAttribute'](_0x99d445);this['_touched']['set'](_0x364b1d,{'userId':_0x26a65a});}}}this['_startingRevisionId']=this['_revisionId'];const _0x1be91a=[...Array(this['_revisionId'])['keys']()]['slice'](0x1)['filter'](_0x28aab4=>!this['_touched']['has'](_0x28aab4));let _0x90c2cd=0x0;const _0x4f8913=new Map();for(const _0xe6790a in _0x389056['diffData']){const _0x4e7d00=_0x389056['diffData'][_0xe6790a]['attachChange'],_0x372271=_0x5c50ea(_0x389056['diffData'][_0xe6790a]['attributesAfter'])||{},_0x102d3a=this['_makeModelFromViewString'](_0x389056['diffData'][_0xe6790a]['insertions']);_0x102d3a['rootName']=_0xe6790a,_0x102d3a['_isAttached']=!_0x4e7d00||_0x4e7d00['isAttached'],_0x102d3a['isAttached']=()=>_0x102d3a['_isAttached'],this['_diffRoots']['set'](_0xe6790a,_0x102d3a),this['_diffRootsAttributes']['set'](_0xe6790a,_0x372271);const _0x5ba7a3=this['_makeIdsRoot'](_0x102d3a,Number['NEGATIVE_INFINITY']);this['_idsRoots']['set'](_0xe6790a,_0x5ba7a3),_0x4f8913['set'](_0xe6790a,_0x102d3a['isAttached']()?_0x372271:{});for(const [_0x2ef255,_0xc74245]of _0x102d3a['markers']){if(!_0x2ef255['startsWith']('revision:'))continue;const _0x290ed7=_0x2ef255['split'](':')[0x2];for(const _0x1b675a of _0xc74245['getWalker']({'singleCharacters':!0x0})){const _0x1f4651=this['_getVidAttributeName'](_0x1b675a),_0x2fdeab=this['_revisionId']++,_0x59f52e='elementEnd'==_0x1b675a['type']?_0x1b675a['previousPosition']['path']['slice'](0x0,-0x1):_0x1b675a['previousPosition']['path'];_0x5ba7a3['getNodeByPath'](_0x59f52e)['_setAttribute'](_0x1f4651,_0x2fdeab),this['_touched']['set'](_0x2fdeab,{'userId':_0x290ed7});}}for(const _0x1c141d of this['editor']['model']['createRangeIn'](_0x102d3a)['getWalker']({'singleCharacters':!0x0})){const _0x3743e8=this['_getVidAttributeName'](_0x1c141d),_0x5a7ef0='elementEnd'==_0x1c141d['type']?_0x1c141d['previousPosition']['path']['slice'](0x0,-0x1):_0x1c141d['previousPosition']['path'],_0x3a6769=_0x5ba7a3['getNodeByPath'](_0x5a7ef0);_0x3a6769['getAttribute'](_0x3743e8)>0x0||_0x3a6769['_setAttribute'](_0x3743e8,_0x1be91a[_0x90c2cd++]);}for(const [_0x1bbebd,_0x36704e]of _0x102d3a['markers'])_0x1bbebd['startsWith']('revision:')||this['_markers']['set'](_0x1bbebd,_0x36704e);}const _0x532cf3=G('$graveyard');this['_baseRoots']['set']('$graveyard',_0x532cf3),this['_baseIdsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x532cf3,0x1));const _0x340ed8=G('$graveyard');this['_diffRoots']['set']('$graveyard',_0x340ed8),this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x340ed8,0x1));const _0x227e1c=Array['from'](this['_diffRoots'])['map'](([_0xc0c268,_0x3196b3])=>[_0xc0c268,q(_0x3196b3)]);this['_saveMetaData'](this['_lastTo'],_0x227e1c,this['_markers'],_0x4f8913);}['_makeModelFromViewString'](_0x579344){const _0x216fb5=JSON['parse'](_0x579344),_0x1ad880=this['editor']['editing']['view']['document'],_0x55fdc9=new _0x68de1b(_0x1ad880,_0x216fb5['map'](_0x49af96=>B(_0x49af96,this['editor'])));return this['editor']['data']['toModel'](_0x55fdc9);}['_saveMetaData'](_0x5067e4,_0x44d061,_0x5e79c7,_0xe336a2){const _0x3be1de=new Map(_0x44d061),_0x426f7a=new Map(_0x5c50ea(_0xe336a2)),_0x2bf243=new Map();for(const [_0x3a1afb,_0x3359fe]of _0x5e79c7)_0x2bf243['set'](_0x3a1afb,{'start':_0x3359fe['start']['clone'](),'end':_0x3359fe['end']['clone'](),'rootName':_0x3359fe['root']['rootName']});this['_savedMetaData']['set'](_0x5067e4,{'roots':_0x3be1de,'markers':_0x2bf243,'rootsAttributes':_0x426f7a});}['_removeMetaData'](_0x4fdba3){this['_savedMetaData']['delete'](_0x4fdba3);}['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'](_0x4948c5,_0x2e2b9b=null){let _0x54b171=null;_0x4948c5['is']('documentFragment')||(_0x54b171=new ft(_0x4948c5['name'],{'vid_start':null===_0x2e2b9b?this['_revisionId']++:_0x2e2b9b++}));const _0x4fa374=[];for(const _0x2d772b of _0x4948c5['getChildren']())if(_0x2d772b['is']('element')){_0x4fa374['push'](this['_makeIdsRoot'](_0x2d772b,_0x2e2b9b));const _0x2373bc=_0x4fa374[_0x4fa374['length']-0x1];null!==_0x2e2b9b&&(_0x2e2b9b=_0x2373bc['is']('element','$text')?_0x2373bc['getAttribute']('vid')+0x1:_0x2373bc['getAttribute']('vid_end')+0x1);}else{for(let _0x574dec=0x0;_0x574dec<_0x2d772b['offsetSize'];_0x574dec++)_0x4fa374['push'](new ft('$text',{'vid':null===_0x2e2b9b?this['_revisionId']++:_0x2e2b9b++}));}if(_0x4948c5['is']('documentFragment')){const _0x5bcfb4=G(_0x4948c5['rootName']);return _0x5bcfb4['_insertChild'](0x0,_0x4fa374),_0x5bcfb4;}return _0x54b171['_setAttribute']('vid_end',null===_0x2e2b9b?this['_revisionId']++:_0x2e2b9b++),_0x54b171['_insertChild'](0x0,_0x4fa374),_0x54b171;}['_calculateMetaData'](_0x1ab8b0,_0x32cc96,_0x47143d){this['_reset']();const {roots:_0x494a11,markers:_0x4bddb1,rootsAttributes:_0x3e4b11}=this['_savedMetaData']['get'](_0x1ab8b0);this['_baseRoots']=new Map(_0x494a11),this['_baseRootsAttributes']=new Map(_0x5c50ea(_0x3e4b11));for(const [_0x46e384,_0x1f9a49]of this['_baseRoots'])if('$graveyard'!==_0x46e384&&(this['_diffRoots']['set'](_0x46e384,q(_0x1f9a49)),this['_diffRootsAttributes']=new Map(_0x5c50ea(_0x3e4b11)),_0x47143d)){const _0x4d28d3=this['_revisionId'];this['_idsRoots']['set'](_0x46e384,this['_makeIdsRoot'](_0x1f9a49)),this['_baseIdsRoots']['set'](_0x46e384,this['_makeIdsRoot'](_0x1f9a49,_0x4d28d3));}this['_startingRevisionId']=this['_revisionId'],this['_diffRoots']['set']('$graveyard',q(this['_baseRoots']['get']('$graveyard'))),_0x47143d&&this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](this['_baseRoots']['get']('$graveyard')));for(const [_0x49acb3,_0xfbd10a]of _0x4bddb1){const _0x37ff2f=this['_baseRoots']['get'](_0xfbd10a['rootName']),_0x120766=this['_diffRoots']['get'](_0xfbd10a['rootName']),_0x2a480d=new vt(this['_fixPosition'](_0xfbd10a['start'],_0x37ff2f),this['_fixPosition'](_0xfbd10a['end'],_0x37ff2f)),_0x49e796=this['_fixRange'](_0x2a480d,_0x120766);_0x37ff2f['markers']['set'](_0x49acb3,_0x2a480d),this['_markers']['set'](_0x49acb3,_0x49e796);}this['_applyOperations'](_0x1ab8b0,_0x32cc96,_0x47143d);}['_applyOperations'](_0x31c845,_0x19db6b,_0x546b1e){for(const _0x20d9a2 of this['source']['getOperations'](_0x31c845,_0x19db6b))this['_handleOperation'](_0x20d9a2,_0x546b1e);for(const _0x3d5c76 of this['_diffRoots']['values']())_0x3d5c76['markers']['clear']();for(const [_0x2be2dc,_0x38ac6b]of this['_markers']){this['_diffRoots']['get'](_0x38ac6b['root']['rootName'])['markers']['set'](_0x2be2dc,_0x38ac6b['clone']());}const _0x4ae6ee=new Map(),_0x34899b=new Map();for(const [_0x57efa9,_0x330c52]of this['_diffRoots'])_0x4ae6ee['set'](_0x57efa9,q(_0x330c52)),_0x34899b['set'](_0x57efa9,this['_diffRootsAttributes']['get'](_0x57efa9));this['_saveMetaData'](_0x19db6b,_0x4ae6ee,this['_markers'],_0x34899b);}['_getPreviousFrom'](_0x16101d){const _0x3b4b21=Array['from'](this['_savedMetaData']['keys']());_0x3b4b21['sort']((_0x2f7b14,_0x334ae0)=>_0x2f7b14-_0x334ae0),_0x3b4b21['reverse']();for(const _0x458dec of _0x3b4b21)if(_0x458dec<_0x16101d)return _0x458dec;return Number['NEGATIVE_INFINITY'];}['_copyMarkers'](_0x273014,_0x55ddb8){const _0x3d1227=Array['from'](_0x55ddb8['markers'])['map'](([_0x2dd5c5,_0x3d9541])=>[_0x2dd5c5,this['_fixRange'](_0x3d9541,_0x273014)]);_0x273014['markers']=new Map(_0x3d1227);}['_transformMarkers'](_0x34e5ff){for(const _0x2f73c0 of this['_markers']['values']()){const _0xbc58f6=_0x2f73c0['getTransformedByOperation'](_0x34e5ff),_0x7ae5ab=vt['_createFromRanges'](_0xbc58f6);_0x2f73c0['start']=_0x7ae5ab['start'],_0x2f73c0['end']=_0x7ae5ab['end'];}}['_handleOperation'](_0x32ae82,_0x3a6d31){if('addRoot'==_0x32ae82['type']||'detachRoot'==_0x32ae82['type'])return void this['_handleRootOperation'](_0x32ae82,_0x3a6d31);if('insert'==_0x32ae82['type']){const _0x2bcc77=_0x32ae82['position']['root']['rootName'];this['_diffRoots']['has'](_0x2bcc77)||(this['_diffRoots']['set'](_0x2bcc77,G(_0x2bcc77,!0x0)),this['_diffRootsAttributes']['set'](_0x2bcc77,{}),_0x3a6d31&&this['_idsRoots']['set'](_0x2bcc77,G(_0x2bcc77,!0x0)));}else{if('addRootAttribute'==_0x32ae82['type']||'removeRootAttribute'==_0x32ae82['type']||'changeRootAttribute'==_0x32ae82['type'])return void this['_handleRootAttributeOperation'](_0x32ae82);}const _0x42f649=this['_cloneOperation'](_0x32ae82,this['_diffRoots']);if('marker'!==_0x32ae82['type']&&(_0x42f649['_execute'](),this['_transformMarkers'](_0x42f649)),_0x3a6d31)switch(_0x42f649['type']){case'insert':this['_handleInsertOperation'](_0x32ae82);break;case'move':case'remove':case'reinsert':this['_handleMoveOperation'](_0x32ae82);break;case'merge':this['_handleMergeOperation'](_0x32ae82);break;case'split':this['_handleSplitOperation'](_0x32ae82);break;case'marker':this['_handleMarkerOperation'](_0x32ae82);}}['_cloneOperation'](_0x255822,_0x37a92a){const _0x493bcb=_0x255822['clone']();return _0x493bcb['_authorId']=_0x255822['_authorId'],this['_fixOperation'](_0x493bcb,_0x37a92a),_0x493bcb;}['_getBaseVids'](_0x3efa08){return _0x3efa08['map'](_0x58488c=>{const _0x181857=this['_getVidAttributeName'](_0x58488c);return Number(_0x58488c['item']['getAttribute'](_0x181857));});}['_generateTape'](_0x28c0ff,_0x46cd82){if(_0x28c0ff['is']('element','$text'))_0x46cd82['push']({'item':_0x28c0ff,'type':'text'});else{_0x28c0ff['is']('element')&&_0x46cd82['push']({'item':_0x28c0ff,'type':'elementStart'});for(const _0x35a435 of _0x28c0ff['getChildren']())this['_generateTape'](_0x35a435,_0x46cd82);_0x28c0ff['is']('element')&&_0x46cd82['push']({'item':_0x28c0ff,'type':'elementEnd'});}return _0x46cd82;}['_getState'](){const _0x2d1685=new Map(this['_touched']),_0x55356a=new Map(_0x2d1685),_0x4329d3=new Map(),_0x3f2ef6={'insertions':{},'deletions':{}},_0x2a1fa9={'insertions':{},'deletions':{}},_0x41ca20=new Map(),_0x1b9d51=new Set([...this['_baseRoots']['keys'](),...this['_diffRoots']['keys']()]);_0x1b9d51['delete']('$graveyard');for(const _0x313180 of _0x1b9d51){const _0x551298=this['_diffRoots']['get'](_0x313180)||G(_0x313180,!0x1),_0x453a48=this['_baseRoots']['get'](_0x313180)||G(_0x313180,!0x1);_0x551298['isAttached']()||_0x453a48['isAttached']()?(_0x3f2ef6['insertions'][_0x313180]=q(_0x551298),_0x3f2ef6['deletions'][_0x313180]=q(_0x453a48),this['_copyMarkers'](_0x3f2ef6['deletions'][_0x313180],_0x453a48),this['_copyMarkers'](_0x3f2ef6['insertions'][_0x313180],_0x551298),_0x2a1fa9['insertions'][_0x313180]=this['_generateTape'](this['_idsRoots']['get'](_0x313180),[]),_0x2a1fa9['deletions'][_0x313180]=this['_generateTape'](this['_baseIdsRoots']['get'](_0x313180)||G(_0x313180,!0x1),[])):_0x1b9d51['delete'](_0x313180);}for(const _0x335d3f of _0x1b9d51){const _0x32381d=_0x2a1fa9['insertions'][_0x335d3f];for(const _0x179a6d of _0x32381d){const _0x269198=this['_getVidAttributeName'](_0x179a6d),_0x4527fb=_0x179a6d['item']['getAttribute'](_0x269198);_0x55356a['delete'](_0x4527fb),_0x4527fb>=this['_startingRevisionId']&&_0x4329d3['set'](_0x4527fb,_0x2d1685['get'](_0x4527fb));}}for(const _0x24a72a of _0x1b9d51){const _0x50b6c0=_0x2a1fa9['insertions'][_0x24a72a],_0x52fe9c=this['_getBaseVids'](_0x2a1fa9['deletions'][_0x24a72a]);let _0x55cc42=0x0;for(const _0x4a9d24 of _0x50b6c0){const _0x50cfa6=this['_getVidAttributeName'](_0x4a9d24),_0x3e7959=_0x4a9d24['item']['getAttribute'](_0x50cfa6);if(!_0x4329d3['has'](_0x3e7959)&&!_0x41ca20['has'](_0x3e7959)){if(_0x55356a['has'](_0x3e7959))_0x55cc42++;else{if(_0x3e7959!=_0x52fe9c[_0x55cc42]){const _0x250c1b=_0x2d1685['get'](_0x3e7959)||_0x2d1685['get'](_0x52fe9c[_0x55cc42]);for(;_0x3e7959!=_0x52fe9c[_0x55cc42];)_0x55356a['has'](_0x52fe9c[_0x55cc42])||(_0x41ca20['set'](_0x52fe9c[_0x55cc42],_0x250c1b),_0x2d1685['set'](_0x52fe9c[_0x55cc42],_0x250c1b)),_0x55cc42++;}_0x55cc42++;}}}}for(const _0x861725 of _0x1b9d51){const _0x35e385=_0x2a1fa9['insertions'][_0x861725];for(const _0x235bc9 of _0x35e385){const _0xe8021d=this['_getVidAttributeName'](_0x235bc9),_0x5e24af=_0x235bc9['item']['getAttribute'](_0xe8021d);if(_0x41ca20['has'](_0x5e24af)){const _0x20f3ae=_0x41ca20['get'](_0x5e24af);_0x55356a['has'](_0x5e24af)||_0x55356a['set'](_0x5e24af,{..._0x20f3ae}),_0x4329d3['set'](_0x5e24af,{..._0x20f3ae});}}}for(const _0x49f06f of _0x55356a['keys']())_0x49f06f>=this['_startingRevisionId']&&_0x55356a['delete'](_0x49f06f);const _0x3e1176=new Map();for(const _0x2dde51 of _0x1b9d51){let _0x44927c=_0x2a1fa9['insertions'][_0x2dde51];for(const _0x29be1f of _0x44927c)if(_0x29be1f['item']['is']('element','tableCell')){const _0x5c0c7a=this['_getVidAttributeName'](_0x29be1f),_0x5cb439=_0x29be1f['item']['getAttribute'](_0x5c0c7a);if(_0x4329d3['has'](_0x5cb439)){const _0x55e0c8=_0x29be1f['item']['parent']['parent']['getAttribute']('vid_start'),_0x162792=_0x3e1176['get'](_0x55e0c8)||new Set();_0x162792['add'](_0x4329d3['get'](_0x5cb439)['userId']),_0x3e1176['set'](_0x55e0c8,_0x162792);}}_0x44927c=_0x2a1fa9['deletions'][_0x2dde51];for(const _0x2761e1 of _0x44927c)if(_0x2761e1['item']['is']('element','tableCell')){const _0x227cbb=this['_getVidAttributeName'](_0x2761e1),_0x23949b=_0x2761e1['item']['getAttribute'](_0x227cbb);if(_0x55356a['has'](_0x23949b)){const _0x1b5ce8=_0x2761e1['item']['parent']['parent']['getAttribute']('vid_start'),_0x43735c=_0x3e1176['get'](_0x1b5ce8)||new Set();_0x43735c['add'](_0x55356a['get'](_0x23949b)['userId']),_0x3e1176['set'](_0x1b5ce8,_0x43735c);}}for(const _0x8cdecf of _0x3e1176['keys']())(_0x4329d3['has'](_0x8cdecf)||_0x55356a['has'](_0x8cdecf))&&_0x3e1176['delete'](_0x8cdecf);}for(const _0x55c4f2 of _0x1b9d51){const _0x108771=_0x2a1fa9['insertions'][_0x55c4f2];let _0x5f5736=null,_0xaa9d10=null;for(const _0x14b976 of _0x108771){const _0x2f421f=this['_getVidAttributeName'](_0x14b976),_0x4c82c9=_0x14b976['item']['getAttribute'](_0x2f421f),_0x41965e=_0x3e1176['get'](_0x4c82c9);_0x41965e&&'elementStart'==_0x14b976['type']&&(_0x5f5736=Array['from'](_0x41965e)[0x0],_0xaa9d10=_0x14b976['item']['getAttribute']('vid_end')),_0x5f5736&&(_0x55356a['set'](_0x4c82c9,{'userId':_0x5f5736}),_0x4329d3['set'](_0x4c82c9,{'userId':_0x5f5736})),_0x4c82c9==_0xaa9d10&&(_0x5f5736=null,_0xaa9d10=null);}}const _0xb0d3b6={},_0x7af7af=new Set();for(const _0x5500b7 of _0x1b9d51){const _0x111268=_0x3f2ef6['deletions'][_0x5500b7],_0x14d4b0=_0x3f2ef6['insertions'][_0x5500b7];for(const {userId:_0x39ee20}of this['_touchedMarkers']['values']())null!==_0x39ee20&&_0x7af7af['add'](_0x39ee20);for(const {userId:_0x246e88}of this['_touchedRoots']['values']())null!==_0x246e88&&_0x7af7af['add'](_0x246e88);this['_markChanges'](_0x14d4b0,_0x2a1fa9['insertions'][_0x5500b7],_0x4329d3,'insertion',_0x7af7af),this['_markChanges'](_0x111268,_0x2a1fa9['deletions'][_0x5500b7],_0x55356a,'deletion',_0x7af7af),_0xb0d3b6[_0x5500b7]={'insertions':this['_prepareViewToSave'](_0x14d4b0),'deletions':this['_prepareViewToSave'](_0x111268),'attachChange':this['_touchedRoots']['get'](_0x5500b7)||null,'attributesBefore':_0x5c50ea(this['_baseRootsAttributes']['get'](_0x5500b7))||{},'attributesAfter':_0x5c50ea(this['_diffRootsAttributes']['get'](_0x5500b7))};}return{'diffData':_0xb0d3b6,'authorsIds':Array['from'](_0x7af7af)};}['_processRootBeforeSave'](_0xa0eb9c){for(const [,_0x234487]of _0xa0eb9c['markers']){const _0x898fa6=_0x234487['start']['getAncestors']()['filter'](_0x44dc34=>'tableCell'==_0x44dc34['name']);for(const _0x2ef597 of _0x898fa6)0x1==_0x2ef597['childCount']&&_0x2ef597['getChild'](0x0)['is']('element','paragraph')&&_0x2ef597['getChild'](0x0)['_setAttribute']('keepParagraph',!0x0);}}['_prepareViewToSave'](_0x394f31){this['_processRootBeforeSave'](_0x394f31);const _0x249ade=this['editor']['data']['toView'](_0x394f31,{}),_0x5843dc=Array['from'](_0x249ade['getChildren']())['map'](_0x558c90=>this['_getViewJson'](_0x558c90));return JSON['stringify'](_0x5843dc);}['_getViewJson'](_0x24d7a1){if(_0x24d7a1['is']('$text'))return _0x24d7a1['data'];{const _0x2e6bb9=_0x24d7a1;return{'type':Object['keys'](T)['find'](_0x107320=>_0x24d7a1 instanceof T[_0x107320]),'name':_0x2e6bb9['name'],'attributes':Array['from'](_0x2e6bb9['getAttributes']()),'children':Array['from'](_0x2e6bb9['getChildren']())['map'](_0x37b8fc=>this['_getViewJson'](_0x37b8fc))};}}['_markChanges'](_0x213f9b,_0x2491a7,_0x8af9d,_0x4d434d,_0x1f127f){let _0x414992=null,_0x362233=null,_0x384bde=0x0;const _0x3e9ca1=this['editor']['model'];for(let _0x112db2=0x0;_0x112db2<_0x2491a7['length'];_0x112db2++){const _0x240afa=this['_getVidAttributeName'](_0x2491a7[_0x112db2]),_0x30ecb9=_0x2491a7[_0x112db2]['item']['getAttribute'](_0x240afa),_0x3a9c72=_0x8af9d['get'](_0x30ecb9),_0x47c6fb=_0x112db2==_0x2491a7['length']-0x1;(!_0x414992&&_0x3a9c72&&(_0x414992=_0x3a9c72,_0x362233=_0x2491a7[_0x112db2]),_0x414992&&(!_0x3a9c72||_0x3a9c72['userId']!=_0x414992['userId']))&&(_0x325a79(_0x3a9c72,L(_0x362233,_0x213f9b,_0x3e9ca1),L(_0x2491a7[_0x112db2],_0x213f9b,_0x3e9ca1)),_0x414992=_0x3a9c72||null,_0x362233=_0x3a9c72?_0x2491a7[_0x112db2]:null),_0x414992&&_0x47c6fb&&_0x325a79(_0x3a9c72,L(_0x362233,_0x213f9b,_0x3e9ca1),W(_0x2491a7[_0x112db2],_0x213f9b,_0x3e9ca1));}function _0x325a79(_0x8ec7bb,_0x164e6e,_0x346d60){const _0xfd9bcd=_0x414992['userId'],_0x413b02='revision:'+_0x4d434d+':'+_0xfd9bcd+':'+_0x384bde++,_0x3c6877=_0x3e9ca1['createRange'](_0x164e6e,_0x346d60);_0x213f9b['markers']['set'](_0x413b02,_0x3c6877),null!==_0xfd9bcd&&_0x1f127f['add'](_0xfd9bcd);}}['_getVidAttributeName'](_0x355cc3){switch(_0x355cc3['type']){case'elementStart':return'vid_start';case'elementEnd':return'vid_end';default:return'vid';}}['_fixOperation'](_0x5d9289,_0x7df4d8){_0x5d9289['baseVersion']=null;for(const _0x1ca6c7 in _0x5d9289){const _0x5cc7bb=_0x5d9289[_0x1ca6c7];if(_0x5cc7bb instanceof gt){const _0x140610=_0x7df4d8['get'](_0x5cc7bb['root']['rootName']);_0x5d9289[_0x1ca6c7]=this['_fixPosition'](_0x5cc7bb,_0x140610);}if(_0x5cc7bb instanceof vt){const _0x245c54=_0x7df4d8['get'](_0x5cc7bb['root']['rootName']);_0x5d9289[_0x1ca6c7]=this['_fixRange'](_0x5cc7bb,_0x245c54);}'root'===_0x1ca6c7&&(_0x5d9289['root']=_0x7df4d8['get'](_0x5d9289['root']['rootName']));}}['_fixRange'](_0x41ad1e,_0x1c4d51){return this['editor']['model']['createRange'](this['_fixPosition'](_0x41ad1e['start'],_0x1c4d51),this['_fixPosition'](_0x41ad1e['end'],_0x1c4d51));}['_fixPosition'](_0x494e11,_0x2dc298){return this['editor']['model']['createPositionFromPath'](_0x2dc298,_0x494e11['path'],_0x494e11['stickiness']);}['_handleInsertOperation'](_0x5cf333){const _0x5e32e6=this['_idsRoots']['get'](_0x5cf333['position']['root']['rootName']),_0x588ac8=this['_fixPosition'](_0x5cf333['position'],_0x5e32e6),_0x2e5fea=null===_0x5cf333['_authorId']?null:_0x5cf333['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x51f951=_0x588ac8['parent'],_0xc40b66=this['_revisionId'],_0x292728=[];for(const _0x360466 of _0x5cf333['nodes'])if(_0x360466['is']('element'))_0x292728['push'](this['_makeIdsRoot'](_0x360466));else{for(let _0x25d90e=0x0;_0x25d90e<_0x360466['offsetSize'];_0x25d90e++)_0x292728['push'](new ft('$text',{'vid':this['_revisionId']++}));}const _0xe1e1fe=this['_revisionId'];for(let _0x4a7db3=_0xc40b66;_0x4a7db3<_0xe1e1fe;_0x4a7db3++)this['_touched']['set'](_0x4a7db3,{'userId':_0x2e5fea});_0x51f951['_insertChild'](_0x588ac8['offset'],_0x292728);}['_handleMoveOperation'](_0x19ff7c){(_0x19ff7c=this['_cloneOperation'](_0x19ff7c,this['_idsRoots']))['_execute']();const _0x4db43d=null===_0x19ff7c['_authorId']?null:_0x19ff7c['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x3942c3=_0x19ff7c['getMovedRangeStart'](),_0x44b13e=_0x3942c3['parent'],_0x3d4e31=_0x3942c3['offset'];!function _0x25960f(_0x3efdb9,_0x2108b3,_0x46809e,_0x2969ce){for(let _0x1b8f20=_0x46809e;_0x1b8f20<_0x2969ce;_0x1b8f20++){const _0x56d12e=_0x2108b3['getChild'](_0x1b8f20);_0x56d12e['is']('element','$text')?_0x3efdb9['set'](_0x56d12e['getAttribute']('vid'),{'userId':_0x4db43d}):(_0x3efdb9['set'](_0x56d12e['getAttribute']('vid_start'),{'userId':_0x4db43d}),_0x25960f(_0x3efdb9,_0x56d12e,0x0,_0x56d12e['childCount']),_0x3efdb9['set'](_0x56d12e['getAttribute']('vid_end'),{'userId':_0x4db43d}));}}(this['_touched'],_0x44b13e,_0x3d4e31,_0x3d4e31+_0x19ff7c['howMany']);}['_handleMergeOperation'](_0xc1114b){const _0x3c4daa=null===(_0xc1114b=this['_cloneOperation'](_0xc1114b,this['_idsRoots']))['_authorId']?null:_0xc1114b['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x21d51a=_0xc1114b['targetPosition']['parent'],_0x4a4803=_0xc1114b['sourcePosition']['parent'],_0x2b434a=_0x21d51a['getAttribute']('vid_end'),_0x90124f=_0x4a4803['getAttribute']('vid_start');_0x21d51a['_setAttribute']('vid_end',_0x4a4803['getAttribute']('vid_end')),_0x4a4803['_setAttribute']('vid_end',_0x2b434a),this['_touched']['set'](_0x90124f,{'userId':_0x3c4daa}),this['_touched']['set'](_0x2b434a,{'userId':_0x3c4daa}),_0xc1114b['_execute']();}['_handleSplitOperation'](_0x1f9179){const _0x306c66=null===(_0x1f9179=this['_cloneOperation'](_0x1f9179,this['_idsRoots']))['_authorId']?null:_0x1f9179['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x4055e5=_0x1f9179['graveyardPosition'],_0x9abece=_0x1f9179['splitPosition']['parent'];_0x1f9179['_execute']();const _0x1c92f7=_0x9abece['getAttribute']('vid_end'),_0x323078=_0x1f9179['insertionPosition']['nodeAfter'];if(_0x4055e5){const _0x260165=_0x323078['getAttribute']('vid_end'),_0x366350=_0x9abece['getAttribute']('vid_end');_0x9abece['_setAttribute']('vid_end',_0x260165),_0x323078['_setAttribute']('vid_end',_0x366350),this['_touched']['set'](_0x9abece['getAttribute']('vid_end'),{'userId':_0x306c66}),this['_touched']['set'](_0x323078['getAttribute']('vid_start'),{'userId':_0x306c66});}else{const _0x57e3e2=this['_revisionId']++,_0x678f3d=this['_revisionId']++;_0x9abece['_setAttribute']('vid_end',_0x57e3e2),_0x323078['_setAttribute']('vid_start',_0x678f3d),_0x323078['_setAttribute']('vid_end',_0x1c92f7),this['_touched']['set'](_0x57e3e2,{'userId':_0x306c66}),this['_touched']['set'](_0x678f3d,{'userId':_0x306c66});}}['_handleMarkerOperation'](_0x414193){if(!_0x414193['affectsData'])return;const _0x5145cf=(_0x414193=this['_cloneOperation'](_0x414193,this['_diffRoots']))['oldRange']?_0x414193['oldRange']['root']:null,_0x45f09a=_0x414193['newRange']?_0x414193['newRange']['root']:null;_0x5145cf&&this['_markers']['delete'](_0x414193['name']),_0x45f09a&&this['_markers']['set'](_0x414193['name'],_0x414193['newRange']['clone']());const _0x4626f7=null===_0x414193['_authorId']?null:_0x414193['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x217b4f=_0x414193['name'];if(!this['_touchedMarkers']['has'](_0x217b4f))return void this['_touchedMarkers']['set'](_0x217b4f,{'range':_0x414193['oldRange'],'userId':_0x4626f7});const _0xad81fd=this['_touchedMarkers']['get'](_0x217b4f),_0x38c4b9=_0xad81fd['range'],_0x2602bd=_0x414193['newRange'];null==_0x38c4b9&&null==_0x2602bd||_0x38c4b9&&_0x2602bd&&_0x38c4b9['isEqual'](_0x2602bd)?this['_touchedMarkers']['delete'](_0x414193['name']):_0xad81fd['userId']=_0x4626f7;}['_handleRootOperation'](_0x16748e,_0x413bcc){this['_diffRoots']['has'](_0x16748e['rootName'])?this['_diffRoots']['get'](_0x16748e['rootName'])['_isAttached']=_0x16748e['isAdd']:(this['_diffRoots']['set'](_0x16748e['rootName'],G(_0x16748e['rootName'],!0x0)),this['_diffRootsAttributes']['set'](_0x16748e['rootName'],{}),_0x413bcc&&this['_idsRoots']['set'](_0x16748e['rootName'],G(_0x16748e['rootName'],!0x0)));const _0x326c33=null===_0x16748e['_authorId']?null:_0x16748e['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x4f47e4=this['_touchedRoots']['get'](_0x16748e['rootName']);_0x4f47e4&&_0x4f47e4['userId']===_0x326c33?this['_touchedRoots']['delete'](_0x16748e['rootName']):this['_touchedRoots']['set'](_0x16748e['rootName'],{'userId':_0x326c33,'isAttached':_0x16748e['isAdd']});}['_handleRootAttributeOperation'](_0x43156d){const _0xdde4ca=this['_diffRootsAttributes']['get'](_0x43156d['root']['rootName']);null===_0x43156d['newValue']?delete _0xdde4ca[_0x43156d['key']]:_0xdde4ca[_0x43156d['key']]=_0x43156d['newValue'];}}function q(_0x226f14){const _0xbf1d9a=G(_0x226f14['rootName'],_0x226f14['isAttached']());for(const _0x425ae6 of _0x226f14['getChildren']()){const _0x5ca6c4=_0x425ae6['_clone'](!0x0);_0xbf1d9a['_appendChild'](_0x5ca6c4);}return _0xbf1d9a;}function G(_0x4b348b,_0x1a60c2=!0x0){const _0x3eab18=new wt();return _0x3eab18['rootName']=_0x4b348b,_0x3eab18['_isAttached']=_0x1a60c2,_0x3eab18['isAttached']=()=>_0x3eab18['_isAttached'],_0x3eab18;}function L(_0xc89627,_0x75bd7a,_0x22b67d){const _0x445435='elementEnd'==_0xc89627['type']?_0x22b67d['createPositionAt'](_0xc89627['item'],'end'):_0x22b67d['createPositionBefore'](_0xc89627['item']);return _0x22b67d['createPositionFromPath'](_0x75bd7a,_0x445435['path'],_0x445435['stickiness']);}function W(_0x2046ca,_0x5a8d6f,_0x6190f5){const _0x18eaef='elementStart'==_0x2046ca['type']?_0x6190f5['createPositionAt'](_0x2046ca['item'],0x0):_0x6190f5['createPositionAfter'](_0x2046ca['item']);return _0x6190f5['createPositionFromPath'](_0x5a8d6f,_0x18eaef['path'],_0x18eaef['stickiness']);}class ns extends _0x5804aa{['focusTracker'];['keystrokes'];['revisionNameInputView'];constructor(_0x18e5dd,_0x504420){super(_0x18e5dd),this['focusTracker']=new _0x4e8013(),this['keystrokes']=new _0x528809(),this['set']('revisionNameInputValue',''),this['revisionNameInputView']=this['_createRevisionNameInput'](_0x504420),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'](),_0x2feea4({'view':this}),this['focusTracker']['add'](this['revisionNameInputView']['element']),this['keystrokes']['listenTo'](this['element']);const _0x52965b=_0x403eb7=>_0x403eb7['stopPropagation']();this['keystrokes']['set']('arrowright',_0x52965b),this['keystrokes']['set']('arrowleft',_0x52965b),this['keystrokes']['set']('arrowup',_0x52965b),this['keystrokes']['set']('arrowdown',_0x52965b);}['focus'](){this['revisionNameInputView']['focus']();}get['revisionName'](){return this['revisionNameInputView']['fieldView']['element']['value']['trim']();}set['revisionName'](_0x2903e0){this['revisionNameInputView']['fieldView']['element']['value']=_0x2903e0['trim']();}['reset'](){this['revisionNameInputView']['fieldView']['element']['value']='',this['revisionNameInputView']['errorText']=null;}['_createRevisionNameInput'](_0x42f1e8){const _0x20c2b2=new at(this['locale'],_0x3b77d0),_0x1b7bf8=_0x20c2b2['fieldView'];_0x1b7bf8['extendTemplate']({'attributes':{'maxlength':'220'}});let _0x2e081f=y(this['locale'],'Name\x20of\x20the\x20revision');return!_0x42f1e8&&(_0x2e081f+='\x20('+y(this['locale'],'optional')+')'),(_0x20c2b2['label']=_0x2e081f,_0x1b7bf8['on']('input',()=>{this['revisionNameInputValue']=_0x1b7bf8['element']['value']['trim']();}),_0x20c2b2);}}class u extends _0x3bc8af{static get['pluginName'](){return'RevisionHistoryUI';}static get['requires'](){return[l];}['_saveRevisionFormView'];['init'](){const _0x5350bf=this['editor'],_0x5499e1=_0x5350bf['plugins']['get']('RevisionTracker');_0x5350bf['ui']['componentFactory']['add']('revisionHistory',_0x476f49=>{const _0x305527=_0x54d2f5(_0x476f49),_0x515fe0=_0x305527['panelView']['children'],_0x1978d7=new te(_0x476f49),_0x20a179=new _0x3895a4(_0x476f49),_0x1e4e65=new _0xa1287(_0x476f49),_0x1a14dd=new _0x3895a4(_0x476f49),_0x7668cc=new _0xa1287(_0x476f49);return _0x305527['bind']('isEnabled')['to'](_0x5499e1,'isReady',_0x5499e1,'isEnabled',_0x5350bf,'isReadOnly',(_0x20ef9a,_0x510b16,_0x437375)=>_0x20ef9a&&_0x510b16&&!_0x437375),_0x305527['buttonView']['set']({'icon':_0x18e07b['history'],'label':y(_0x476f49,'Revision\x20history'),'tooltip':!0x0}),_0x1e4e65['set']({'label':y(_0x476f49,'Save\x20current\x20revision'),'withText':!0x0,'role':'menuitem'}),_0x1e4e65['bind']('isEnabled')['to'](_0x5499e1,'isReady',_0x5499e1,'isEnabled',_0x5350bf,'isReadOnly',(_0x4ff59f,_0x353d72,_0x202053)=>_0x4ff59f&&_0x353d72&&!_0x202053),_0x1e4e65['on']('execute',()=>this['_showDialog']()),_0x7668cc['set']({'label':y(_0x476f49,'Open\x20revision\x20history'),'withText':!0x0,'role':'menuitem'}),_0x7668cc['bind']('isEnabled')['to'](_0x5499e1,'isReady',_0x5350bf,'isReadOnly',(_0x58dc7b,_0x1f277c)=>_0x58dc7b&&!_0x1f277c),_0x7668cc['on']('execute',()=>{_0x5350bf['config']['get']('revisionHistory')['showRevisionViewerCallback'](),_0x305527['isOpen']=!0x1,_0x5350bf['editing']['view']['focus']();}),_0x20a179['children']['add'](_0x1e4e65),_0x1a14dd['children']['add'](_0x7668cc),_0x1978d7['role']='menu',_0x1978d7['items']['addMany']([_0x20a179,_0x1a14dd]),_0x515fe0['add'](_0x1978d7),_0x305527;}),_0x5350bf['ui']['componentFactory']['add']('menuBar:revisionHistory',()=>this['_registerMenuComponent']());}['_registerMenuComponent'](){const _0x4863aa=this['editor'],_0x11fc81=_0x4863aa['locale'],_0x5c5d08=new _0x4dd2ae(_0x11fc81),_0x3547ab=new _0xbf31bd(_0x11fc81);_0x5c5d08['buttonView']['set']({'icon':_0x18e07b['history'],'label':y(_0x11fc81,'Revision\x20history')});const _0x25ce92=new _0x2e9e0a(_0x11fc81,_0x5c5d08),_0x4921f8=new _0x511fd0(_0x11fc81);_0x4921f8['set']({'label':y(_0x11fc81,'Save\x20current\x20revision')}),_0x4921f8['delegate']('execute')['to'](_0x5c5d08),_0x4921f8['on']('execute',()=>{this['_showDialog']();}),_0x25ce92['children']['add'](_0x4921f8),_0x3547ab['items']['add'](_0x25ce92);const _0x537a92=new _0x2e9e0a(_0x11fc81,_0x5c5d08),_0x12d37c=new _0x511fd0(_0x11fc81);return _0x12d37c['set']({'label':y(_0x11fc81,'Open\x20revision\x20history')}),_0x12d37c['delegate']('execute')['to'](_0x5c5d08),_0x12d37c['on']('execute',()=>{_0x4863aa['config']['get']('revisionHistory')['showRevisionViewerCallback']();}),_0x537a92['children']['add'](_0x12d37c),_0x3547ab['items']['add'](_0x537a92),_0x5c5d08['panelView']['children']['add'](_0x3547ab),_0x5c5d08;}['_showDialog'](){const _0x4e111f=this['editor'],_0x595c47=_0x4e111f['locale'],t=_0x595c47['t'],_0x166b86=_0x4e111f['plugins']['get']('Dialog'),_0x317764=_0x4e111f['plugins']['get']('RevisionTracker');function _0x307ef0(_0x5544dd){_0x4e111f['config']['get']('revisionHistory.requireRevisionName')&&''===_0x5544dd['revisionName']?_0x5544dd['revisionNameInputView']['errorText']=y(_0x595c47,'The\x20revision\x20name\x20cannot\x20be\x20empty.'):(_0x4e111f['plugins']['get'](l)['saveRevision']({'name':_0x5544dd['revisionName']}),_0x166b86['hide']());}this['_saveRevisionFormView']||(this['_createSaveRevisionFormView'](),this['_saveRevisionFormView']['on']('submit',()=>_0x307ef0(this['_saveRevisionFormView']))),this['_saveRevisionFormView']['reset'](),_0x166b86['show']({'id':'revisionSave','title':y(_0x595c47,'Save\x20current\x20revision'),'isModal':!0x0,'content':this['_saveRevisionFormView'],'actionButtons':[{'label':t('Cancel'),'withText':!0x0,'onExecute':()=>_0x166b86['hide']()},{'label':t('Accept'),'class':'ck-button-action','withText':!0x0,'onCreate'(_0x3e20ac){_0x3e20ac['bind']('isEnabled')['to'](_0x317764,'isReady',_0x317764,'isEnabled',_0x4e111f,'isReadOnly',(_0x4a1c25,_0x36a9fc,_0x33aa18)=>_0x4a1c25&&_0x36a9fc&&!_0x33aa18);},'onExecute':()=>_0x307ef0(this['_saveRevisionFormView'])}]});}['_createSaveRevisionFormView'](){const _0x52b24e=this['editor'],_0x2bf9a7=_0x52b24e['locale'];this['_saveRevisionFormView']=new ns(_0x2bf9a7,_0x52b24e['config']['get']('revisionHistory.requireRevisionName')),this['_saveRevisionFormView']['render']();}}class Z extends _0x5804aa{['changeId'];['_model'];constructor(_0xcee0fa,_0x54a308){super(_0xcee0fa),this['_model']=_0x54a308,this['changeId']=_0x54a308['id'];const _0x4a14a5=this['bindTemplate'],_0x2dcbc7=y(_0xcee0fa,_0x54a308['data']['isSuggestion']?'Suggested\x20by':'add'==_0x54a308['type']?'Added\x20by':'Removed\x20by');this['set']('type',_0x54a308['type']),this['setTemplate']({'tag':'div','attributes':{'class':['ck-annotation','ck-revision-change',_0x4a14a5['to']('type',_0x49e2fc=>'ck-revision-change__'+_0x49e2fc)],'tabindex':-0x1},'children':[{'tag':'span','children':[{'tag':'span','attributes':{'class':['ck-revision-change__label']},'children':[{'text':_0x2dcbc7}]},{'text':'\x20'+_0x54a308['author']['name']}]}]});}['focus'](){this['element']['focus']();}}class r extends/* #__PURE__ -- @preserve */
25
+ _0x342d1c(){['id'];['author'];['type'];['data'];['rootName'];constructor(_0x1737d0){super(),this['id']=_0x1737d0['id']||_0x42c424(),this['author']=_0x1737d0['author'],this['type']=_0x1737d0['type'],this['data']=_0x1737d0['data']||{},this['rootName']=_0x1737d0['rootName'],this['set']('createdAt',_0x1737d0['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(_0x5ddaac,_0x1d60ef){this['newRevisionId']=_0x5ddaac,this['oldRevisionId']=_0x1d60ef,this['changes']=new _0x141ac7();}['_setChanges'](_0x502c66){for(const _0x489c6b of _0x502c66)this['changes']['add'](_0x489c6b);}}const tt={'c':_0x22cfa1,'a':_0x2fcb99,'e':_0x340848,'r':_0x3024d4,'u':_0x409b2b};class d extends _0x3bc8af{['repository'];['adapter'];['_activeViewTarget'];['_changeView'];['_changeIdToChange'];['_balloon'];static get['pluginName'](){return'RevisionViewer';}static get['requires'](){return[_0x45f376,_0x25b583,A];}constructor(_0x50e683){super(_0x50e683),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',(_0x2cfbc7,_0x589468,_0x5b55ee)=>{this['activeChange']=null,this['activeView']=null,this['editor']['editing']['view']['change'](_0x1596b5=>{for(const _0x1d3f09 of this['editor']['editing']['view']['document']['roots'])_0x5b55ee?_0x1596b5['removeClass']('ck-editor__editable__overlay',_0x1d3f09):_0x1596b5['addClass']('ck-editor__editable__overlay',_0x1d3f09);});}),this['bind']('isNavigationMode')['to'](this,'activeChange',_0x1cd092=>null!==_0x1cd092),this['bind']('currentChangeNumber')['to'](this,'isReady',this,'diff',this,'activeChange',(_0x4f5bc4,_0x7a2eb3,_0x39e9b5)=>_0x4f5bc4&&_0x39e9b5?_0x7a2eb3['changes']['getIndex'](_0x39e9b5):0x0),this['bind']('numberOfChanges')['to'](this,'isReady',this,'diff',(_0x17bb92,_0x4c590b)=>_0x17bb92?_0x4c590b['changes']['length']:0x0),this['_changeView']=null,this['_changeIdToChange']=new Map(),this['adapter']=null,this['_balloon']=this['editor']['plugins']['get'](_0x25b583);}['init'](){const _0x582dc7=this['editor'],_0x26cce5=new yt(_0x582dc7,{'direction':'backward'}),_0x19dfb3=new yt(_0x582dc7,{'direction':'forward'});(_0x582dc7['commands']['add']('showPreviousChange',_0x26cce5),_0x582dc7['commands']['add']('showNextChange',_0x19dfb3),_0x582dc7['commands']['add']('restoreRevision',new bt(_0x582dc7)),this['on']('change:numberOfChanges',()=>{_0x26cce5['refresh'](),_0x19dfb3['refresh']();}),this['_setConversion'](),this['_initInteractions'](),_0x582dc7['enableReadOnlyMode']('revision-viewer'),_0x582dc7['plugins']['has']('WidgetToolbarRepository'))&&_0x582dc7['plugins']['get']('WidgetToolbarRepository')['forceDisabled']('revision-viewer');}async['getRevisionData'](_0x25bff4){await this['loadRevisionData'](_0x25bff4);const _0x1010cb={};for(const _0x15c699 in _0x25bff4['diffData']){if(_0x25bff4['diffData'][_0x15c699]['attachChange']&&!_0x25bff4['diffData'][_0x15c699]['attachChange']['isAttached'])continue;const _0x520c47=this['_removeRevisionMarkers'](JSON['parse'](_0x25bff4['diffData'][_0x15c699]['insertions'])),_0xffe660=this['editor']['editing']['view']['document'],_0x346722=new _0x68de1b(_0xffe660,_0x520c47['map'](_0x354b9e=>this['_getViewObj'](_0x354b9e)));this['editor']['data']['processor']['useFillerType']('marked'),_0x1010cb[_0x15c699]=this['editor']['data']['processor']['toData'](_0x346722),this['editor']['data']['processor']['useFillerType']('default');}return _0x1010cb;}async['getRevisionRootsAttributes'](_0x3786ad){await this['loadRevisionData'](_0x3786ad);const _0x593fa3={};for(const _0x3977be in _0x3786ad['diffData'])_0x3786ad['diffData'][_0x3977be]['attachChange']&&!_0x3786ad['diffData'][_0x3977be]['attachChange']['isAttached']||(_0x593fa3[_0x3977be]=_0x3786ad['diffData'][_0x3977be]['attributesAfter']||{});return _0x593fa3;}['_removeRevisionMarkers'](_0x3c8f00){return(_0x3c8f00=_0x3c8f00['filter'](_0x5108f0=>!_0x5108f0['name']||'revision-start'!==_0x5108f0['name']&&'revision-end'!==_0x5108f0['name']))['forEach'](_0x2c3390=>{'string'!=typeof _0x2c3390&&(_0x2c3390['children']=this['_removeRevisionMarkers'](_0x2c3390['children']),_0x2c3390['attributes']=_0x2c3390['attributes']['filter'](_0x3d3298=>!_0x3d3298[0x0]['startsWith']('data-revision-')));}),_0x3c8f00;}async['compare'](_0x2d4e18,_0x3e6bd4,_0x344a88=!0x1){if(!this['isEnabled'])return;const _0x6597d5=this['diff'],_0x2ca5ec=this['repository'],_0x49a724='string'==typeof _0x2d4e18?_0x2ca5ec['getRevision'](_0x2d4e18):_0x2d4e18,_0x276fa8='string'==typeof _0x3e6bd4?_0x2ca5ec['getRevision'](_0x3e6bd4):_0x3e6bd4,_0x460e4b=_0x49a724['id'],_0x159ce7=_0x276fa8?_0x276fa8['id']:null;if(!_0x344a88&&this['diff']&&this['diff']['newRevisionId']===_0x460e4b&&this['diff']['oldRevisionId']===_0x159ce7)return Promise['resolve']();this['isReady']=!0x1,this['activeView']=null,this['activeChange']=null,this['diff']=new f(_0x460e4b,_0x159ce7);const _0xa74da0=this['_getRevisionsRange'](_0x49a724,_0x276fa8,!0x0)['map'](_0x3f3b01=>this['loadRevisionData'](_0x3f3b01));return _0xa74da0['push'](new Promise(_0x4943df=>{setTimeout(_0x4943df,0x14);})),Promise['all'](_0xa74da0)['then'](()=>{if(!this['isEnabled'])return;this['_cleanUp']();const _0x575251=this['_getDiff'](_0x460e4b,_0x159ce7);for(const _0x2d93c2 of _0x575251['changes'])this['_changeIdToChange']['set'](_0x2d93c2['id'],_0x2d93c2);this['editor']['model']['enqueueChange']({'isUndoable':!0x1},_0x238ee4=>{for(const _0x3d74e2 of this['editor']['model']['document']['getRootNames']())_0x238ee4['detachRoot'](_0x3d74e2);for(const _0x1bcb0c of Object['keys'](_0x575251['model'])){const _0x261942=_0x238ee4['addRoot'](_0x1bcb0c);for(const _0x4575c7 of Object['keys'](_0x575251['attributes'][_0x1bcb0c]))_0x238ee4['setAttribute'](_0x4575c7,_0x575251['attributes'][_0x1bcb0c][_0x4575c7],_0x261942);_0x238ee4['insert'](_0x575251['model'][_0x1bcb0c],_0x261942,0x0);}}),this['diff']['_setChanges'](this['_sortAndFilterDiffChanges'](_0x575251['changes'])),this['isReady']=!0x0;})['catch'](_0x346cd1=>{console['error'](_0x346cd1),this['_cleanUp'](),_0x6597d5&&(this['diff']=_0x6597d5),this['isReady']=!0x0;});}['addRevisionData'](_0x208080,_0x1c9cf9){const _0x12d9e6=this['repository']['createRevision'](_0x208080);return _0x12d9e6['on']('_update',(_0x2c7436,_0x5afdc3,_0x403b3f)=>_0x1c9cf9(_0x5afdc3,_0x403b3f,_0x12d9e6)),this['repository']['addRevision'](_0x12d9e6),_0x12d9e6;}['loadRevisionData'](_0x194805){if(!_0x194805||_0x194805['diffData'])return Promise['resolve']();{const _0x31f4bf=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0x31f4bf,'revisionId':_0x194805['id']})['then'](_0x55c7fe=>{_0x194805['_update']({'diffData':_0x55c7fe['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},_0xd24e38=>{for(const _0x34110e of this['editor']['model']['document']['getRootNames']())_0xd24e38['detachRoot'](_0x34110e);});}['_sortAndFilterDiffChanges'](_0x22597f){const _0x49e8b9=[],_0x3bd383=new Map();for(const _0x3103b5 of this['editor']['model']['document']['getRootNames']()){const _0x1f7229=this['editor']['editing']['view']['getDomRoot'](_0x3103b5);if(!_0x1f7229)continue;const _0x43b181=_0x1f7229['getClientRects']()['item'](0x0);_0x43b181&&(_0x49e8b9['push'](_0x3103b5),_0x3bd383['set'](_0x3103b5,_0x43b181));}return _0x49e8b9['sort']((_0x4ea677,_0x4d0eb8)=>{const _0x4cc977=_0x3bd383['get'](_0x4ea677),_0x2b4df8=_0x3bd383['get'](_0x4d0eb8);return _0x4cc977['y']-_0x2b4df8['y']||_0x4cc977['x']-_0x2b4df8['x'];}),(_0x22597f=_0x22597f['filter'](_0x263c5a=>_0x49e8b9['includes'](_0x263c5a['rootName'])))['sort']((_0x584668,_0x171cd7)=>_0x49e8b9['indexOf'](_0x584668['rootName'])-_0x49e8b9['indexOf'](_0x171cd7['rootName'])),_0x22597f;}['_makeTape'](_0x410a28){const _0x27d093=Array['from'](_0x410a28['markers'])['filter'](([_0x16d415,_0x11891c])=>_0x16d415['startsWith']('revision:')&&!_0x11891c['isCollapsed']),_0xb97e47=Array['from'](this['editor']['model']['createRangeIn'](_0x410a28)['getWalker']({'singleCharacters':!0x0}));if(0x0!=_0x27d093['length'])for(const _0x445173 of _0xb97e47){const [_0x4f0676,_0x46aa2f]=_0x27d093[0x0],[,_0x1f886a,_0x4c85e5]=_0x4f0676['split'](':');if(_0x46aa2f['end']['isEqual'](_0x445173['nextPosition'])&&_0x27d093['shift'](),(_0x445173['previousPosition']['isEqual'](_0x46aa2f['start'])||_0x445173['previousPosition']['isAfter'](_0x46aa2f['start']))&&('insertion'==_0x1f886a?_0x445173['isAdded']={'userId':_0x4c85e5}:'deletion'==_0x1f886a&&(_0x445173['isRemoved']={'userId':_0x4c85e5})),0x0==_0x27d093['length'])break;}return _0xb97e47;}['_refreshStartEndIndex'](_0x2fc761){const _0x3c0151=new Map();for(let _0x5d6c6c=0x0;_0x5d6c6c<_0x2fc761['length'];_0x5d6c6c++)'text'===_0x2fc761[_0x5d6c6c]['type']?(_0x2fc761[_0x5d6c6c]['item']['startIndex']=_0x5d6c6c,_0x2fc761[_0x5d6c6c]['item']['endIndex']=_0x5d6c6c):('elementStart'===_0x2fc761[_0x5d6c6c]['type']?_0x2fc761[_0x5d6c6c]['item']['startIndex']=_0x5d6c6c:'elementEnd'===_0x2fc761[_0x5d6c6c]['type']&&(_0x2fc761[_0x5d6c6c]['item']['endIndex']=_0x5d6c6c),_0x3c0151['set'](_0x2fc761[_0x5d6c6c]['id'],_0x5d6c6c));for(const _0x3838c4 of _0x3c0151['values']())'elementStart'===_0x2fc761[_0x3838c4]['type']?_0x2fc761[_0x3838c4]['item']['endIndex']=_0x3c0151['get'](_0x2fc761[_0x3838c4]['pairId']):'elementEnd'===_0x2fc761[_0x3838c4]['type']&&(_0x2fc761[_0x3838c4]['item']['startIndex']=_0x3c0151['get'](_0x2fc761[_0x3838c4]['pairId']));}['_processTape'](_0x515d36){for(let _0x54e425=0x0;_0x54e425<_0x515d36['length'];_0x54e425++){if('elementStart'===_0x515d36[_0x54e425]['type'])_0x515d36[_0x54e425]['item']['startIndex']=_0x54e425;else{if('elementEnd'===_0x515d36[_0x54e425]['type']){_0x515d36[_0x54e425]['item']['endIndex']=_0x54e425;const _0x30d090=_0x515d36[_0x54e425]['item']['startIndex'];_0x515d36[_0x30d090]['pairId']=_0x515d36[_0x54e425]['id'],_0x515d36[_0x54e425]['pairId']=_0x515d36[_0x30d090]['id'];}else _0x515d36[_0x54e425]['item']['startIndex']=_0x54e425,_0x515d36[_0x54e425]['item']['endIndex']=_0x54e425,_0x515d36[_0x54e425]['pairId']=null;}_0x515d36[_0x54e425]['markersStart']||(_0x515d36[_0x54e425]['markersStart']=[],_0x515d36[_0x54e425]['markersEnd']=[]);}}['_markInsertions'](_0x3cacc8,_0x523ec0){const _0x1d8b27=_0x3cacc8['filter'](_0xdfc235=>!_0xdfc235['isAdded']);for(let _0x2cb7c0=0x0;_0x2cb7c0<_0x523ec0['length'];_0x2cb7c0++)_0x523ec0[_0x2cb7c0]['isAdded']&&(_0x1d8b27[_0x2cb7c0]['isAdded']=_0x523ec0[_0x2cb7c0]['isAdded']);}['_makeModelFromViewString'](_0x5abce7){const _0x1cf4fc=JSON['parse'](_0x5abce7),_0x36be9a=this['editor']['editing']['view']['document'],_0x138345=new _0x68de1b(_0x36be9a,_0x1cf4fc['map'](_0x3191a9=>this['_getViewObj'](_0x3191a9)));return this['editor']['data']['toModel'](_0x138345);}['_getViewObj'](_0x24ecb7){const _0x2142b6=this['editor']['editing']['view']['document'];if('string'==typeof _0x24ecb7)return new _0x75ba4f(_0x2142b6,_0x24ecb7);{const _0x594b77=_0x24ecb7['children']['map'](_0x49b271=>this['_getViewObj'](_0x49b271));return new(tt[_0x24ecb7['type']]||_0x37b0cc)(_0x2142b6,_0x24ecb7['name'],_0x24ecb7['attributes'],_0x594b77);}}['_getDiff'](_0x35a80b,_0x4aeff7=null){const _0x525bd3=this['repository']['getRevision'](_0x35a80b),_0x110459=_0x4aeff7?this['repository']['getRevision'](_0x4aeff7):null,_0x35b3b4=this['_getRevisionsRange'](_0x525bd3,_0x110459),_0x34e215=_0x35b3b4[_0x35b3b4['length']-0x1],_0x29eee4=new Map(),_0x3e8f71={'model':{},'attributes':{},'changes':[]},_0x493c66=new Set(),_0x2aac0a=new Map();for(let _0xe71ae7=_0x35b3b4['length']-0x1;_0xe71ae7>=0x0;_0xe71ae7--){const _0x3be28c=_0x35b3b4[_0xe71ae7];for(const _0x3d7a84 of Object['keys'](_0x3be28c['diffData']))if(_0x3be28c['diffData'][_0x3d7a84]['attachChange']){const _0x3eb124=_0x3be28c['diffData'][_0x3d7a84]['attachChange'];_0x3eb124['isAttached']?(_0x493c66['add'](_0x3d7a84),_0x2aac0a['has'](_0x3d7a84)&&_0x2aac0a['get'](_0x3d7a84)['userId']==_0x3eb124['userId']?_0x2aac0a['delete'](_0x3d7a84):_0x2aac0a['set'](_0x3d7a84,_0x3eb124)):_0x2aac0a['has'](_0x3d7a84)?(_0x493c66['delete'](_0x3d7a84),_0x2aac0a['delete'](_0x3d7a84)):(_0x493c66['add'](_0x3d7a84),_0x2aac0a['set'](_0x3d7a84,_0x3eb124));}else _0x493c66['add'](_0x3d7a84);}for(const _0x1a20e2 of _0x493c66){const _0x2f7702=_0x2aac0a['has'](_0x1a20e2)&&!_0x2aac0a['get'](_0x1a20e2)['isAttached'];let _0xbf5930=_0x2f7702?_0x35b3b4['length']-0x1:0x0;const _0x257494=_0x2f7702?-0x1:0x1;for(;_0x35b3b4[_0xbf5930];){const _0x376138=_0x35b3b4[_0xbf5930];if(_0x376138['diffData'][_0x1a20e2]){const _0x3be44d=_0x2f7702?_0x376138['diffData'][_0x1a20e2]['attributesBefore']:_0x376138['diffData'][_0x1a20e2]['attributesAfter'];_0x3e8f71['attributes'][_0x1a20e2]=_0x3be44d?_0x5c50ea(_0x3be44d):{};break;}_0xbf5930+=_0x257494;}}for(const _0x24ad01 of _0x35b3b4){_0x24ad01['model']={};for(const _0x2a53a7 of _0x24ad01['authors'])_0x29eee4['set'](_0x2a53a7['id'],_0x2a53a7);for(const _0xe68f84 of _0x493c66){const _0x5080a0=_0x24ad01['diffData'][_0xe68f84]?_0x24ad01['diffData'][_0xe68f84]['insertions']:'[]',_0x59a6cc=_0x24ad01['diffData'][_0xe68f84]?_0x24ad01['diffData'][_0xe68f84]['deletions']:'[]';_0x24ad01['model'][_0xe68f84]={'insertions':this['_makeModelFromViewString'](_0x5080a0),'deletions':this['_makeModelFromViewString'](_0x59a6cc)};}}for(const _0x25d1e7 of _0x493c66){let _0x5558f6=null,_0x6bbca8=0x0;const _0x5f46a4=new Map(Array['from'](_0x525bd3['model'][_0x25d1e7]['insertions']['markers'])['filter'](([_0x311923])=>!_0x311923['startsWith']('revision:')));let _0x35520a=0x0;for(const _0x14f627 of _0x35b3b4){const _0x13e914=this['_makeTape'](_0x14f627['model'][_0x25d1e7]['insertions']);_0x14f627==_0x525bd3?(_0x5558f6=_0x13e914,_0x6bbca8=_0x5558f6['length'],_0x5558f6['forEach'](_0x196d15=>{_0x196d15['id']=_0x35520a++;}),this['_processTape'](_0x5558f6)):this['_markInsertions'](_0x5558f6,_0x13e914);const _0x5cdf53=_0x5558f6['filter'](_0x212115=>!_0x212115['isAdded'])['map'](_0x139d31=>_0x139d31['id']);let _0x4e4f17=0x0;const _0x5ed2bc=this['_makeTape'](_0x14f627['model'][_0x25d1e7]['deletions']);_0x5ed2bc['forEach'](_0x27cbeb=>{_0x27cbeb['isRemoved']?_0x27cbeb['id']=_0x6bbca8++:_0x27cbeb['id']=_0x5cdf53[_0x4e4f17++];}),this['_processTape'](_0x5ed2bc),this['_setDistance'](_0x5558f6,'isAdded'),this['_setDistance'](_0x5ed2bc,'isRemoved'),_0x14f627==_0x525bd3&&this['_markMarkers'](_0x5558f6,_0x5f46a4),_0x5558f6=this['_joinTapes'](_0x5558f6,_0x5ed2bc),this['_refreshStartEndIndex'](_0x5558f6),this['_setDistance'](_0x5558f6,'isRemoved');}_0x5558f6=_0x5558f6['filter'](_0x43a1f6=>!(_0x43a1f6['isAdded']&&_0x43a1f6['isRemoved']));const _0x22387a=new Map(_0x34e215['model'][_0x25d1e7]['deletions']['markers']),_0x3c3e1f=new Set(_0x5f46a4['keys']());for(const _0x22104a of _0x22387a['keys']())_0x3c3e1f['delete'](_0x22104a);this['_markSuggestions'](_0x5558f6,_0x3c3e1f),this['_fixObsoleteTags'](_0x5558f6),_0x5558f6=this['_removeMissingPairs'](_0x5558f6),_0x5558f6=this['_markMismatchedRemovedTags'](_0x5558f6),_0x5558f6=this['_removeUnsupportedChanges'](_0x5558f6);const {root:_0x12890f,changes:_0x4c1397}=this['_makeModelFromTape'](_0x5558f6,_0x29eee4,_0x25d1e7);_0x3e8f71['model'][_0x25d1e7]=_0x12890f;const _0x5b4b50=_0x2aac0a['get'](_0x25d1e7);if(_0x5b4b50){const _0x68ff65=_0x29eee4['get'](_0x5b4b50['userId']),_0x4e5a80=new r({'author':_0x68ff65,'type':_0x5b4b50['isAttached']?'add':'remove','data':{'isOnRoot':!0x0},'createdAt':new Date(),'rootName':_0x25d1e7});_0x4c1397['unshift'](_0x4e5a80),_0x3e8f71['attributes'][_0x25d1e7]['revisionHistoryAttachChange']=_0x4e5a80['id'];}_0x3e8f71['changes']=_0x3e8f71['changes']['concat'](_0x4c1397);}return _0x3e8f71;}['_markMarkers'](_0x49a351,_0x24ba0f){for(let _0x266edc=0x0;_0x266edc<_0x49a351['length'];_0x266edc++)for(const [_0x137a48,_0x381ef0]of _0x24ba0f)_0x381ef0['start']['isEqual'](_0x49a351[_0x266edc]['previousPosition'])&&_0x49a351[_0x266edc]['markersStart']['push'](_0x137a48),_0x381ef0['end']['isEqual'](_0x49a351[_0x266edc]['nextPosition'])&&_0x49a351[_0x266edc]['markersEnd']['push'](_0x137a48);}['_joinTapes'](_0x5e885d,_0x228159){let _0x86e96e=[],_0x20eb6c=0x0,_0x3ff78d=0x0;for(;_0x20eb6c<_0x5e885d['length']||_0x3ff78d<_0x228159['length'];){const _0x221d3e=_0x5e885d[_0x20eb6c]||{},_0x21e9f4=_0x228159[_0x3ff78d]||{};if(_0x221d3e['id']==_0x21e9f4['id'])_0x20eb6c++,_0x3ff78d++,_0x86e96e['push'](_0x221d3e);else{if(_0x21e9f4['isRemoved']&&_0x221d3e['isAdded']){const {commonTape:_0xf11c07,iEnd:_0x21307b,jEnd:_0x57223f}=this['_threeWayMerge'](_0x5e885d,_0x20eb6c,_0x228159,_0x3ff78d);_0x86e96e=_0x86e96e['concat'](_0xf11c07),_0x20eb6c=_0x21307b,_0x3ff78d=_0x57223f;}else _0x21e9f4['isRemoved']?(_0x3ff78d++,_0x86e96e['push'](_0x21e9f4)):(_0x20eb6c++,_0x86e96e['push'](_0x221d3e));}}return _0x86e96e;}['_markSuggestions'](_0x32ce4a,_0x2200c2){const _0x4a37dc=[];for(let _0x18a503=0x0;_0x18a503<_0x32ce4a['length'];_0x18a503++){for(let _0x3c734e=0x0;_0x3c734e<_0x32ce4a[_0x18a503]['markersStart']['length'];_0x3c734e++){const _0x3a84ca=_0x32ce4a[_0x18a503]['markersStart'][_0x3c734e];if(!_0x2200c2['has'](_0x3a84ca))continue;const {group:_0x46c72c,type:_0x28b8d0,authorId:_0x2c1d82}=_0x3a67df(_0x3a84ca);'revision-suggestion'!=_0x46c72c||'insertion'!=_0x28b8d0&&'deletion'!=_0x28b8d0||(_0x4a37dc['unshift']({'type':_0x28b8d0,'name':_0x3a84ca,'userId':_0x2c1d82}),_0x32ce4a[_0x18a503]['markersStart']['splice'](_0x3c734e,0x1),_0x3c734e--);}_0x1b78c3(_0x32ce4a[_0x18a503]);for(let _0x2b2f6d=0x0;_0x2b2f6d<_0x32ce4a[_0x18a503]['markersEnd']['length'];_0x2b2f6d++){const _0x35e647=_0x32ce4a[_0x18a503]['markersEnd'][_0x2b2f6d];if(!_0x2200c2['has'](_0x35e647))continue;const {group:_0x32294d,type:_0x55d532}=_0x3a67df(_0x35e647);if('revision-suggestion'!=_0x32294d||'insertion'!=_0x55d532&&'deletion'!=_0x55d532)continue;_0x32ce4a[_0x18a503]['markersEnd']['splice'](_0x2b2f6d,0x1),_0x2b2f6d--;const _0x2fe0c6=_0x4a37dc['findIndex'](_0x892e45=>_0x892e45['name']==_0x35e647);_0x2fe0c6>-0x1&&_0x4a37dc['splice'](_0x2fe0c6,0x1);}}function _0x3a67df(_0x5d65bd){const _0x45493b=_0x5d65bd['split'](':');return{'group':_0x45493b[0x0],'type':_0x45493b[0x1],'subType':_0x45493b['length']>=0x5?_0x45493b[0x2]:null,'id':_0x45493b['length']<0x5?_0x45493b[0x2]:_0x45493b[0x3],'authorId':_0x45493b['length']<0x5?_0x45493b[0x3]:_0x45493b[0x4],'markerCount':0x6==_0x45493b['length']?_0x45493b[0x5]:null};}function _0x1b78c3(_0xef4575){for(let _0x268230=0x0;_0x268230<_0x4a37dc['length'];_0x268230++){if(_0xef4575['isAdded']&&'insertion'==_0x4a37dc[_0x268230]['type'])return _0xef4575['isAddSuggestion']=_0x4a37dc[_0x268230],void delete _0xef4575['isAdded'];if(!_0xef4575['isAdded']&&!_0xef4575['isRemoved']&&'deletion'==_0x4a37dc[_0x268230]['type'])return void(_0xef4575['isRemoveSuggestion']=_0x4a37dc[_0x268230]);}}}['_setDistance'](_0x4c87a8,_0x471910){let _0x2bac68=0x0,_0x2eae40=!0x1;const _0x3d8b89=new Map();for(const _0x1400c4 of _0x4c87a8)_0x1400c4[_0x471910]?_0x2eae40&&(_0x2bac68++,_0x2eae40=!0x1):(_0x2bac68++,_0x2eae40=!0x0),_0x3d8b89['set'](_0x1400c4['id'],_0x2bac68);for(let _0x1e9a61=0x0;_0x1e9a61<_0x4c87a8['length'];_0x1e9a61++){if('isRemoved'==_0x471910&&_0x4c87a8[_0x1e9a61]['isAdded']||'isAdded'==_0x471910&&_0x4c87a8[_0x1e9a61]['isRemoved'])continue;if('text'==_0x4c87a8[_0x1e9a61]['type']){_0x4c87a8[_0x1e9a61]['distance']=0x0;continue;}const _0x44ce98=_0x3d8b89['get'](_0x4c87a8[_0x1e9a61]['pairId']),_0x469d32=_0x3d8b89['get'](_0x4c87a8[_0x1e9a61]['id']);_0x4c87a8[_0x1e9a61]['distance']=_0x44ce98-_0x469d32;}}['_getRevisionsRange'](_0x1f7c47,_0x43452b,_0x1217b0=!0x1){const _0x2f1498=[];let _0x408277=this['repository']['getIndex'](_0x1f7c47),_0x587ecc=this['repository']['getIndex'](_0x43452b);for(-0x1==_0x587ecc&&(_0x587ecc=this['repository']['_revisions']['length'],_0x1217b0=!0x1);_0x408277<_0x587ecc;)_0x2f1498['push'](this['repository']['getRevision'](_0x408277)),_0x408277++;return _0x1217b0&&_0x2f1498['push'](this['repository']['getRevision'](_0x408277)),_0x2f1498;}['_threeWayMerge'](_0x5c6526,_0x33b36e,_0x28d7c3,_0x58bbcc){const _0x7276bc=this['editor']['model']['schema'];let _0xac1dd4=_0x33b36e;for(;_0x5c6526[_0xac1dd4]&&_0x5c6526[_0xac1dd4]['isAdded'];)_0xac1dd4++;let _0x4fe5a2=_0x58bbcc;for(;_0x28d7c3[_0x4fe5a2]&&_0x28d7c3[_0x4fe5a2]['isRemoved'];)_0x4fe5a2++;_0x391341(_0x5c6526,_0x33b36e,_0xac1dd4),_0x391341(_0x28d7c3,_0x58bbcc,_0x4fe5a2);const _0x4b32ec=_0x28d7c3['slice'](_0x58bbcc,_0x4fe5a2)['concat'](_0x5c6526['slice'](_0x33b36e,_0xac1dd4));return _0x4b32ec['sort']((_0x25cead,_0x19e667)=>_0x25cead['side']!=_0x19e667['side']?_0x25cead['side']-_0x19e667['side']:_0x25cead['level']!=_0x19e667['level']?_0x25cead['level']-_0x19e667['level']:_0x25cead['distance']!=_0x19e667['distance']?_0x19e667['distance']-_0x25cead['distance']:!!_0x25cead['isAdded']!=!!_0x19e667['isAdded']?-0x1==_0x25cead['side']||0x0==_0x25cead['side']?_0x25cead['isAdded']?-0x1:0x1:_0x25cead['isAdded']?0x1:-0x1:_0x25cead['index']-_0x19e667['index']),{'commonTape':_0x4b32ec,'iEnd':_0xac1dd4,'jEnd':_0x4fe5a2};function _0x391341(_0x353df3,_0x5f2ce7,_0x2e3a97){let _0x10095f=-0x1,_0xd22c6=Number['POSITIVE_INFINITY'],_0x52106c=!0x0;for(let _0x22e544=_0x5f2ce7;_0x22e544<_0x2e3a97;_0x22e544++)if(_0x7276bc['isInline'](_0x353df3[_0x22e544]['item'])||(_0x52106c=!0x1),_0x353df3[_0x22e544]['item']['startIndex']<_0x5f2ce7&&(_0x10095f=_0x22e544),_0x353df3[_0x22e544]['item']['endIndex']>=_0x2e3a97){_0xd22c6=_0x22e544;break;}_0x52106c&&(_0x10095f=_0x2e3a97-0x1);for(let _0x4b65f6=_0x5f2ce7;_0x4b65f6<_0x2e3a97;_0x4b65f6++)_0x353df3[_0x4b65f6]['side']=_0x4b65f6<=_0x10095f?-0x1:_0x4b65f6<_0xd22c6?0x0:0x1,_0x353df3[_0x4b65f6]['index']=_0x4b65f6;let _0x467521=0x0;for(let _0x89d04c=_0x5f2ce7;_0x89d04c<=_0x10095f;_0x89d04c++)0x0==_0x353df3[_0x89d04c]['distance']?_0x353df3[_0x89d04c]['level']=_0x467521:(_0x467521++,_0x353df3[_0x89d04c]['level']=_0x467521,_0x467521++);for(let _0x4164f6=_0x5f2ce7;_0x4164f6<_0x2e3a97;_0x4164f6++)0x0==_0x353df3[_0x4164f6]['side']&&(_0x353df3[_0x4164f6]['level']=_0x467521);_0x467521=0x0;for(let _0x1557f5=_0x2e3a97-0x1;_0x1557f5>=_0xd22c6;_0x1557f5--)0x0==_0x353df3[_0x1557f5]['distance']?_0x353df3[_0x1557f5]['level']=_0x467521:(_0x467521--,_0x353df3[_0x1557f5]['level']=_0x467521,_0x467521--);}}['_fixObsoleteTags'](_0x1b2ae0){const _0x24dffa=new Map(),_0x152bc3=this['editor']['model']['schema'];for(let _0xfe673c=0x1;_0xfe673c<_0x1b2ae0['length'];_0xfe673c++){let _0x208918,_0xde5c81,_0x4a6c8f;const _0x1d4ff0=_0x1b2ae0[_0xfe673c],_0x387f22=_0x1b2ae0[_0xfe673c-0x1];if('text'==_0x1d4ff0['type'])continue;if(_0x1d4ff0['type']!=_0x387f22['type'])continue;if(!_0x152bc3['isBlock'](_0x387f22['item'])||_0x152bc3['isLimit'](_0x387f22['item']))continue;if(!_0x152bc3['isBlock'](_0x1d4ff0['item'])||_0x152bc3['isLimit'](_0x1d4ff0['item']))continue;if((_0x1b2ae0[_0xfe673c]['isAdded']||_0x1b2ae0[_0xfe673c]['isAddSuggestion'])&&_0x1b2ae0[_0xfe673c-0x1]['isRemoved'])_0x208918=_0x1b2ae0[_0xfe673c],_0xde5c81=_0x1b2ae0[_0xfe673c-0x1],_0x4a6c8f=_0xfe673c-0x1;else{if(!_0x1b2ae0[_0xfe673c]['isRemoved']||!_0x1b2ae0[_0xfe673c-0x1]['isAdded']&&!_0x1b2ae0[_0xfe673c-0x1]['isAddSuggestion'])continue;_0x208918=_0x1b2ae0[_0xfe673c-0x1],_0xde5c81=_0x1b2ae0[_0xfe673c],_0x4a6c8f=_0xfe673c;}const _0x2e825e=_0x208918['level']==_0xde5c81['level'],_0x3001ed=Math['abs'](_0x208918['level'])<Math['abs'](_0xde5c81['level'])&&0x0==_0xde5c81['distance'];(_0x2e825e||_0x3001ed)&&(_0x24dffa['set'](_0xde5c81['id'],_0x208918['id']),_0x1b2ae0['splice'](_0x4a6c8f,0x1),_0xfe673c--,_0x208918['isAdded']=!0x1);}for(let _0x75b08a=0x0;_0x75b08a<_0x1b2ae0['length'];_0x75b08a++)_0x24dffa['has'](_0x1b2ae0[_0x75b08a]['pairId'])&&(_0x1b2ae0[_0x75b08a]['pairId']=_0x24dffa['get'](_0x1b2ae0[_0x75b08a]['pairId']));}['_removeMissingPairs'](_0xd33ce7){const _0x5f4708=new Set(_0xd33ce7['map'](_0x1d55a7=>_0x1d55a7['id']));for(let _0xc8a58d=0x0;_0xc8a58d<_0xd33ce7['length'];_0xc8a58d++)_0x5f4708['has'](_0xd33ce7[_0xc8a58d]['pairId'])||0x0==_0xd33ce7[_0xc8a58d]['distance']||(_0xd33ce7[_0xc8a58d]['isIncorrect']=!0x0);return _0xd33ce7['filter'](_0x27a484=>!_0x27a484['isIncorrect']);}['_markMismatchedRemovedTags'](_0x412c25){const _0x4a6759=new Set();for(let _0x82d6c7=0x0;_0x82d6c7<_0x412c25['length'];_0x82d6c7++){if(_0x4a6759['has'](_0x412c25[_0x82d6c7]['id'])&&_0x412c25[_0x82d6c7]['isRemoved']&&(_0x412c25[_0x82d6c7]['isIncorrect']=!0x0),_0x412c25[_0x82d6c7]['isIncorrect'])continue;if(0x0==_0x412c25[_0x82d6c7]['distance'])continue;if('elementStart'!=_0x412c25[_0x82d6c7]['type'])continue;if(null==_0x412c25[_0x82d6c7]['pairId'])continue;let _0x24a9a8=_0x82d6c7+0x1,_0x1ccddd=0x0;for(;_0x412c25[_0x24a9a8]['id']!=_0x412c25[_0x82d6c7]['pairId'];)'elementStart'==_0x412c25[_0x24a9a8]['type']?_0x1ccddd++:'elementEnd'==_0x412c25[_0x24a9a8]['type']&&_0x1ccddd--,_0x24a9a8++;if(0x0!=_0x1ccddd){if(_0x412c25[_0x82d6c7]['isRemoved'])_0x412c25[_0x82d6c7]['isIncorrect']=!0x0;else{for(;_0x24a9a8!=_0x82d6c7;)_0x412c25[_0x24a9a8]['isRemoved']&&0x0!=_0x412c25[_0x24a9a8]['distance']&&(_0x412c25[_0x24a9a8]['isIncorrect']=!0x0,_0x4a6759['add'](_0x412c25[_0x24a9a8]['pairId'])),_0x24a9a8--;}}}return _0x412c25['filter'](_0x1067aa=>!_0x1067aa['isIncorrect']);}['_removeUnsupportedChanges'](_0x47c863){const _0x18ecd4=this['editor']['model']['schema'];for(let _0xc590c1=0x0;_0xc590c1<_0x47c863['length'];_0xc590c1++){if(!(_0x47c863[_0xc590c1]['isAdded']||_0x47c863[_0xc590c1]['isAddSuggestion']||_0x47c863[_0xc590c1]['isRemoved']||_0x47c863[_0xc590c1]['isRemoveSuggestion']))continue;if(0x0==_0x47c863[_0xc590c1]['distance'])continue;const _0x773e0d=_0x47c863[_0xc590c1]['item'];_0x18ecd4['isBlock'](_0x773e0d)||_0x18ecd4['isLimit'](_0x773e0d)||(_0x47c863[_0xc590c1]['isAdded']&&delete _0x47c863[_0xc590c1]['isAdded'],_0x47c863[_0xc590c1]['isAddSuggestion']&&delete _0x47c863[_0xc590c1]['isAddSuggestion'],_0x47c863[_0xc590c1]['isRemoveSuggestion']&&delete _0x47c863[_0xc590c1]['isRemoveSuggestion'],_0x47c863[_0xc590c1]['isRemoved']&&(_0x47c863[_0xc590c1]['isIncorrect']=!0x0));}return _0x47c863['filter'](_0x4092ee=>!_0x4092ee['isIncorrect']);}['_makeModelFromTape'](_0x1fd93f,_0xc436ca,_0x1b5656){const _0x5ed9c6=new wt(),_0x70512c=[],_0x44799f=new Map(),_0x459fa3=this['editor']['model'],_0x33f346=_0x459fa3['schema'],_0x3f54ad=[_0x5ed9c6],_0x3eaef7={},_0x3f6390={'isAdded':[],'isRemoved':[],'isAddSuggestion':[],'isRemoveSuggestion':[]};let _0x2d157f=null;const _0x45af3f=[0x0];for(let _0x44359f=0x0;_0x44359f<_0x1fd93f['length'];_0x44359f++){let _0x523f9e,_0x2fa0d4;if('elementStart'===_0x1fd93f[_0x44359f]['type']){_0x523f9e=_0x459fa3['createPositionFromPath'](_0x5ed9c6,_0x45af3f);const _0x3b0558=new ft(_0x1fd93f[_0x44359f]['item']['name'],_0x1fd93f[_0x44359f]['item']['getAttributes']());_0x3f54ad[0x0]['_appendChild'](_0x3b0558),_0x45af3f['push'](0x0),_0x3f54ad['unshift'](_0x3b0558),_0x2fa0d4=_0x459fa3['createPositionFromPath'](_0x5ed9c6,_0x45af3f),_0x2d157f=null;}else{if('elementEnd'===_0x1fd93f[_0x44359f]['type'])_0x3f54ad['shift'](),_0x523f9e=_0x459fa3['createPositionFromPath'](_0x5ed9c6,_0x45af3f),_0x45af3f['pop'](),_0x45af3f[_0x45af3f['length']-0x1]++,_0x2fa0d4=_0x459fa3['createPositionFromPath'](_0x5ed9c6,_0x45af3f),_0x2d157f=null;else{if(_0x523f9e=_0x459fa3['createPositionFromPath'](_0x5ed9c6,_0x45af3f),_0x2d157f&&_0x26b83e(_0x2d157f,_0x1fd93f[_0x44359f]['item']))_0x2d157f['_data']+=_0x1fd93f[_0x44359f]['item']['data'];else{const _0xb17d4b=new _t(_0x1fd93f[_0x44359f]['item']['data'],_0x1fd93f[_0x44359f]['item']['getAttributes']());_0x3f54ad[0x0]['_appendChild'](_0xb17d4b),_0x2d157f=_0xb17d4b;}_0x45af3f[_0x45af3f['length']-0x1]+=_0x1fd93f[_0x44359f]['item']['offsetSize'],_0x2fa0d4=_0x459fa3['createPositionFromPath'](_0x5ed9c6,_0x45af3f);}}for(const _0x5bbc78 of _0x1fd93f[_0x44359f]['markersStart'])_0x44799f['set'](_0x5bbc78,{'start':_0x523f9e,'end':null});_0x46ada3('isRemoveSuggestion',_0x44359f,_0x523f9e,_0x2fa0d4),_0x46ada3('isAddSuggestion',_0x44359f,_0x523f9e,_0x2fa0d4),_0x46ada3('isRemoved',_0x44359f,_0x523f9e,_0x2fa0d4),_0x46ada3('isAdded',_0x44359f,_0x523f9e,_0x2fa0d4);for(const _0x1ddf3f of _0x1fd93f[_0x44359f]['markersEnd']){_0x44799f['get'](_0x1ddf3f)['end']=_0x2fa0d4;}}for(const [_0x1ef551,_0x4c2bdc]of _0x44799f){const _0x481306=this['editor']['model']['createRange'](_0x4c2bdc['start'],_0x4c2bdc['end']);_0x5ed9c6['markers']['set'](_0x1ef551,_0x481306);}return _0x70512c['sort']((_0x586a87,_0x4824a9)=>{const _0x484a52=_0x5ed9c6['markers']['get']('revision:'+_0x586a87['id']),_0x329f13=_0x5ed9c6['markers']['get']('revision:'+_0x4824a9['id']);return _0x484a52['start']['isBefore'](_0x329f13['start'])?-0x1:_0x484a52['start']['isAfter'](_0x329f13['start'])?0x1:_0x484a52['end']['isBefore'](_0x329f13['end'])?-0x1:_0x484a52['end']['isAfter'](_0x329f13['end'])?0x1:'add'===_0x586a87['type']?-0x1:0x1;}),{'root':_0x5ed9c6,'changes':_0x70512c};function _0x46ada3(_0x3e6a8c,_0x569bf6,_0x39d6ce,_0x4c2780){const _0x2d8460=!!_0x1fd93f[_0x569bf6][_0x3e6a8c],_0x22e5c5=_0x2d8460?_0x1fd93f[_0x569bf6][_0x3e6a8c]['userId']:null,_0x4dc9fe=_0x569bf6===_0x1fd93f['length']-0x1,_0x4e4a5b=_0x3f6390[_0x3e6a8c][0x0],_0x92d8cd=_0x33f346['isObject'](_0x1fd93f[_0x569bf6]['item']);!_0x3eaef7[_0x3e6a8c]&&_0x2d8460?_0x3eaef7[_0x3e6a8c]={'start':_0x39d6ce,'tapeItem':_0x1fd93f[_0x569bf6],'userId':_0x22e5c5,'type':_0x3e6a8c}:_0x3eaef7[_0x3e6a8c]&&!_0x2d8460?(_0x3eaef7[_0x3e6a8c]['end']=_0x39d6ce,_0x3b6983(_0x3eaef7[_0x3e6a8c]),_0x3eaef7[_0x3e6a8c]=null):_0x3eaef7[_0x3e6a8c]&&_0x2d8460&&_0x3eaef7[_0x3e6a8c]['userId']!==_0x22e5c5&&(_0x3eaef7[_0x3e6a8c]['end']=_0x39d6ce,_0x4e4a5b&&_0x4e4a5b['userId']===_0x3eaef7[_0x3e6a8c]['userId']||_0x3b6983(_0x3eaef7[_0x3e6a8c]),_0x3eaef7[_0x3e6a8c]={'start':_0x39d6ce,'tapeItem':_0x1fd93f[_0x569bf6],'userId':_0x22e5c5,'type':_0x3e6a8c}),_0x3eaef7[_0x3e6a8c]&&_0x92d8cd&&('elementStart'!==_0x1fd93f[_0x569bf6]['type']||_0x4e4a5b&&_0x4e4a5b['userId']===_0x22e5c5||_0x3f6390[_0x3e6a8c]['unshift']({'userId':_0x22e5c5,'object':_0x1fd93f[_0x569bf6]['item'],'change':_0x3eaef7[_0x3e6a8c]}),'elementEnd'===_0x1fd93f[_0x569bf6]['type']&&_0x4e4a5b&&_0x4e4a5b['object']===_0x1fd93f[_0x569bf6]['item']&&(_0x3f6390[_0x3e6a8c]['shift'](),_0x3eaef7[_0x3e6a8c]=_0x4e4a5b['change'])),_0x3eaef7[_0x3e6a8c]&&_0x4dc9fe&&(_0x3eaef7[_0x3e6a8c]['end']=_0x4c2780,_0x3b6983(_0x3eaef7[_0x3e6a8c]),_0x3eaef7[_0x3e6a8c]=null);}function _0x3b6983({start:_0x2e0457,end:_0x3e1c31,tapeItem:_0x4ea255,userId:_0x350b61,type:_0x25ebc2}){const _0x36253e=_0x4ea255['item'],_0x2b784f=_0x459fa3['schema']['isBlock'](_0x36253e)&&!_0x459fa3['schema']['isLimit'](_0x36253e),_0x59b1be=_0x2e0457['nodeAfter']==_0x3e1c31['parent']&&_0x3e1c31['isAtStart'];if(_0x2b784f&&_0x59b1be)return;const _0xd31aa3=_0x459fa3['createRange'](_0x2e0457,_0x3e1c31),_0x5c0129=_0xc436ca['get'](_0x350b61),_0x442d94=new r({'author':_0x5c0129,'type':'isAdded'==_0x25ebc2||'isAddSuggestion'==_0x25ebc2?'add':'remove','data':{'isSuggestion':'isAddSuggestion'==_0x25ebc2||'isRemoveSuggestion'==_0x25ebc2},'createdAt':new Date(),'rootName':_0x1b5656});_0x70512c['push'](_0x442d94),_0x5ed9c6['markers']['set']('revision:'+_0x442d94['id'],_0xd31aa3);}function _0x26b83e(_0x23ca90,_0x1ad5d7){const _0x127ba9=_0x23ca90['getAttributes'](),_0x685666=_0x1ad5d7['getAttributes']();for(const _0x66e75 of _0x127ba9){if(_0x66e75[0x1]!==_0x1ad5d7['getAttribute'](_0x66e75[0x0]))return!0x1;_0x685666['next']();}return _0x685666['next']()['done'];}}['_setConversion'](){this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'revision'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision','view':_0x38fc57=>{const _0x591bf8=_0x38fc57['markerName']['split'](':')[0x1],_0x4336a0=this['_getChangeFromId'](_0x591bf8);if(!_0x4336a0)return null;const _0x406e1f='add'==_0x4336a0['type']?'insertion':'deletion',_0x366dd3=['ck-suggestion-marker','ck-suggestion-marker-'+_0x406e1f];return _0x4336a0['data']['isSuggestion']&&_0x366dd3['push']('ck-suggestion-marker-'+_0x406e1f+'-new'),this['activeChange']==_0x4336a0&&_0x366dd3['push']('ck-suggestion-marker--active'),{'classes':_0x366dd3,'attributes':{'data-change-id':_0x591bf8}};}}),this['editor']['conversion']['for']('upcast')['add'](_0x153c0b=>{_0x153c0b['on']('element:pre',(_0x48df35,_0x4ee9fc,_0x2cab72)=>{const _0x545664=_0x4ee9fc['viewItem']['getChild'](0x0);if(!_0x545664||!_0x545664['is']('element','code'))return;if(!_0x2cab72['consumable']['consume'](_0x545664,{'attributes':['vid_start','vid_end']}))return;const _0x46cc05=_0x4ee9fc['modelRange']['start']['nodeAfter'];_0x2cab72['writer']['setAttribute']('vid_start',_0x545664['getAttribute']('vid_start'),_0x46cc05),_0x2cab72['writer']['setAttribute']('vid_end',_0x545664['getAttribute']('vid_end'),_0x46cc05);},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['add'](_0x86e602=>{_0x86e602['on']('element',(_0x4280d4,_0x592316,_0x2b7a2b)=>{if(!_0x2b7a2b['consumable']['consume'](_0x592316['viewItem'],{'attributes':['vid_start','vid_end']}))return;if(_0x592316['modelRange']['isCollapsed'])return;const _0xfe8e07=_0x592316['modelRange']['start']['nodeAfter'];_0xfe8e07['hasAttribute']('vid_start')||_0xfe8e07['hasAttribute']('vid')||(_0x2b7a2b['writer']['setAttribute']('vid_start',_0x592316['viewItem']['getAttribute']('vid_start'),_0xfe8e07),_0x2b7a2b['writer']['setAttribute']('vid_end',_0x592316['viewItem']['getAttribute']('vid_end'),_0xfe8e07));},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['elementToAttribute']({'view':{'name':'span','attributes':{'vid':!0x0}},'model':{'key':'vid','value':_0x27097c=>_0x27097c['getAttribute']('vid')}}),this['editor']['model']['schema']['on']('checkAttribute',(_0x1d90e4,[,_0x574ddc])=>{['vid_start','vid_end','vid']['includes'](_0x574ddc)&&(_0x1d90e4['return']=!0x0,_0x1d90e4['stop']());},{'priority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['add'](_0x231a5a=>{_0x231a5a['on']('attribute:vid',(_0x5adac1,_0x16c257,_0x5704b1)=>{if('\x20'!=_0x16c257['item']['data']||_0x16c257['item']['parent']['maxOffset']>0x1)return;if(!_0x5704b1['consumable']['consume'](_0x16c257['item'],_0x5adac1['name']))return;const _0x3b16df=_0x5704b1['writer'],_0x436ae5=_0x5704b1['mapper']['toViewRange'](_0x16c257['range']);_0x3b16df['wrap'](_0x436ae5,_0x3b16df['createAttributeElement']('span'));});}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',function(_0x332159){const _0x46316a=_0x332159['plugins']['get']('RevisionViewer');return(_0x5f0256,_0x42c75d,_0x5e9081)=>{const _0x2ed007=_0x42c75d['markerName']['split'](':')[0x1],_0x30f38f=_0x46316a['_getChangeFromId'](_0x2ed007);if(!_0x30f38f)return null;const _0x390eca='add'==_0x30f38f['type']?'split':'merge';if(!_0x5e9081['consumable']['test'](_0x42c75d['markerRange'],_0x5f0256['name']))return;const _0x256a3f=_0x42c75d['markerRange']['getWalker'](),_0x37b92b=_0x42c75d['markerRange']['start'],_0x59ef29=_0x332159['model']['schema'];let _0x208d45=null,_0x5dbf01=null,_0x3761ba=!0x1,_0x365423=!0x1;for(const _0x4fe489 of _0x256a3f){const _0x11d131=_0x4fe489['item'];_0x3761ba=_0x3761ba||_0x59ef29['isContent'](_0x11d131);const _0x5461ba=_0x5e9081['mapper']['toViewElement'](_0x11d131);if(_0x5461ba&&_0x5461ba['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x4fe489['type']&&(_0x59ef29['isBlock'](_0x11d131)&&!_0x59ef29['isLimit'](_0x11d131)&&(_0x11d131['nextSibling']||_0x37b92b['isAtEnd']?_0x208d45&&_0x208d45['parent']==_0x11d131||(_0x208d45=_0x11d131,_0x4ecd0a(_0x4fe489['previousPosition']),_0x365423=!0x0):_0x5dbf01=_0x5dbf01||_0x4fe489['previousPosition']));}function _0x4ecd0a(_0x1672ae){const _0x1ad200=_0x5e9081['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x390eca}),_0x4bac5a=_0x5e9081['mapper']['toViewPosition'](_0x1672ae);_0x30f38f['data']['isSuggestion']&&_0x5e9081['writer']['addClass']('ck-suggestion-marker-'+_0x390eca+'-new',_0x1ad200),_0x46316a['activeChange']==_0x30f38f&&_0x5e9081['writer']['addClass']('ck-suggestion-marker--active',_0x1ad200),_0x5e9081['writer']['insert'](_0x4bac5a,_0x1ad200),_0x5e9081['mapper']['bindElementToMarker'](_0x1ad200,_0x42c75d['markerName']);}_0x3761ba||_0x365423||!_0x5dbf01||_0x4ecd0a(_0x5dbf01);};}(this['editor']),{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('removeMarker:revision',(_0x107a09,_0x4c6d7c,_0x16f519)=>{const _0x4173de=_0x16f519['mapper']['markerNameToElements'](_0x4c6d7c['markerName']);if(_0x4173de){for(const _0x4e9b78 of _0x4173de)(_0x4e9b78['hasClass']('ck-suggestion-marker-split')||_0x4e9b78['hasClass']('ck-suggestion-marker-merge'))&&(_0x16f519['mapper']['unbindElementFromMarkerName'](_0x4e9b78,_0x4c6d7c['markerName']),_0x16f519['writer']['remove'](_0x4e9b78));}},{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',(_0x5cdcf6,_0x515d83,_0x5a5626)=>{const _0x57e79c=_0x515d83['markerName']['split'](':')[0x1],_0x542ed3=this['_getChangeFromId'](_0x57e79c);if(!_0x542ed3)return null;const _0x3fa6cd='add'==_0x542ed3['type']?'split':'merge';if(_0x5a5626['consumable']['test'](_0x515d83['markerRange'],_0x5cdcf6['name']))for(const _0x2c90ee of _0x515d83['markerRange']['getItems']()){if(!_0x2c90ee['is']('element','softBreak'))continue;const _0x57eb6f=_0x5a5626['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x3fa6cd}),_0x4d0fcd=_0x5a5626['mapper']['toViewPosition'](this['editor']['model']['createPositionBefore'](_0x2c90ee));_0x542ed3['data']['isSuggestion']&&_0x5a5626['writer']['addClass']('ck-suggestion-marker-'+_0x3fa6cd+'-new',_0x57eb6f),this['activeChange']==_0x542ed3&&_0x5a5626['writer']['addClass']('ck-suggestion-marker--active',_0x57eb6f),_0x5a5626['writer']['insert'](_0x4d0fcd,_0x57eb6f),_0x5a5626['mapper']['bindElementToMarker'](_0x57eb6f,_0x515d83['markerName']);}},{'priority':'high'}),this['editor']['model']['document']['on']('change',()=>{this['editor']['editing']['view']['change'](_0x2fe0a3=>{for(const _0x17248d of this['editor']['model']['document']['getRootNames']()){const _0x20c698=this['editor']['model']['document']['getRoot'](_0x17248d),_0xd00fa9=this['editor']['editing']['view']['document']['getRoot'](_0x17248d);if(_0xd00fa9){const _0x50a14e=_0x20c698['getAttribute']('revisionHistoryAttachChange');if(_0x2fe0a3['removeAttribute']('data-change-id',_0xd00fa9),_0x2fe0a3['removeClass']('ck-revision-history-root-add',_0xd00fa9),_0x2fe0a3['removeClass']('ck-revision-history-root-remove',_0xd00fa9),_0x2fe0a3['removeClass']('ck-revision-history-root--active',_0xd00fa9),_0x50a14e){const _0x2b6c7a=this['_getChangeFromId'](_0x50a14e);if(!_0x2b6c7a)return null;_0x2fe0a3['setAttribute']('data-change-id',_0x50a14e,_0xd00fa9),_0x2fe0a3['addClass']('ck-revision-history-root-'+_0x2b6c7a['type'],_0xd00fa9),this['activeChange']==_0x2b6c7a&&_0x2fe0a3['addClass']('ck-revision-history-root--active',_0xd00fa9);}}}});}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'comment','model':_0x4ba780=>'revision-comment:'+_0x4ba780,'converterPriority':'highest'}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'suggestion','model':_0x51b64c=>'revision-suggestion:'+_0x51b64c,'converterPriority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision-suggestion','view':_0x2840a0=>({'name':'suggestion:'+_0x2840a0,'group':'revision-suggestion'}),'converterPriority':'highest'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision-suggestion','view':_0x4bcfd3=>{const _0x171258=_0x4bcfd3['markerName']['split'](':')[0x1];return'insertion'!=_0x171258&&'deletion'!=_0x171258?null:{'classes':['ck-suggestion-preview-marker','ck-suggestion-preview-marker-'+_0x171258]};}}),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',(_0x765d7b,_0x45d3fc,_0x1c43ff)=>{const _0x22db1e=_0x1c43ff['mapper']['markerNameToElements'](_0x45d3fc['markerName']);if(_0x22db1e){for(const _0x20a217 of _0x22db1e)_0x20a217['is']('uiElement')&&(_0x1c43ff['mapper']['unbindElementFromMarkerName'](_0x20a217,_0x45d3fc['markerName']),_0x1c43ff['writer']['remove'](_0x20a217));}},{'priority':'high'});}['_getChangeFromId'](_0x326ccc){return this['_changeIdToChange']['get'](_0x326ccc);}['_getViewForChange'](_0x13934a){return this['_changeView']&&this['_changeView']['destroy'](),this['_changeView']=new Z(this['editor']['locale'],_0x13934a),this['_changeView'];}['_initInteractions'](){this['editor']['model']['document']['selection']['observeMarkers']('revision'),this['on']('change:activeView',(_0xc88ccd,_0x3e7471,_0xe42480,_0x47d2ce)=>{_0x47d2ce&&this['_balloon']['remove'](_0x47d2ce),_0xe42480&&(this['_balloon']['add']({'view':_0xe42480,'stackId':'revisionHistoryLabel','position':{'target':()=>{const _0x1e606a=this['editor']['editing'],_0x3b1ff1=this['_getChangeFromId'](_0xe42480['changeId']);let _0xe0a1cc;if(_0x3b1ff1['data']['isOnRoot']){const _0x11962d=_0x1e606a['view']['getDomRoot'](_0x3b1ff1['rootName']);_0xe0a1cc=Array['from'](_0x11962d['getClientRects']());}else{const _0x114db6=this['editor']['model']['markers']['get']('revision:'+_0xe42480['changeId']);_0xe0a1cc=Array['from'](_0x1e606a['mapper']['markerNameToElements'](_0x114db6['name']))['map'](_0x2ecc6d=>_0x1e606a['view']['domConverter']['mapViewToDom'](_0x2ecc6d))['map'](_0x53136f=>Array['from'](_0x53136f['getClientRects']()))['flat']();}if(!this['_activeViewTarget'])return _0xe0a1cc[0x0];return _0xe0a1cc['find'](_0x8aa575=>_0x8aa575['top']-0x3<=this['_activeViewTarget']['y']&&_0x8aa575['bottom']+0x3>=this['_activeViewTarget']['y']&&_0x8aa575['left']-0x3<=this['_activeViewTarget']['x']&&_0x8aa575['right']+0x3>=this['_activeViewTarget']['x'])||_0xe0a1cc[0x0];}}}),this['_balloon']['showStack']('revisionHistoryLabel'));}),this['on']('change:activeChange',(_0x4018a9,_0x27bdb9,_0x109ca3,_0x4ba8f4)=>{this['activeView']=_0x109ca3?this['_getViewForChange'](_0x109ca3):null,this['editor']['model']['change'](()=>{const _0x53a9b3=this['editor']['editing'];_0x4ba8f4&&(_0x4ba8f4['data']['isOnRoot']?_0x53a9b3['view']['change'](_0x5ab14e=>{_0x5ab14e['removeClass']('ck-revision-history-root--active',_0x53a9b3['view']['document']['getRoot'](_0x4ba8f4['rootName']));}):_0x53a9b3['reconvertMarker']('revision:'+_0x4ba8f4['id'])),_0x109ca3&&(_0x109ca3['data']['isOnRoot']?_0x53a9b3['view']['change'](_0x512c42=>{_0x512c42['addClass']('ck-revision-history-root--active',_0x53a9b3['view']['document']['getRoot'](_0x109ca3['rootName']));}):_0x53a9b3['reconvertMarker']('revision:'+_0x109ca3['id']));});}),this['listenTo'](this['editor']['editing']['view']['document'],'mouseover',(_0x1a09cb,_0x154e11)=>{if(this['activeChange'])return;const _0x5e89b6=this['_findChangeIdFromDomTarget'](_0x154e11['target']),_0x51f355=this['_changeIdToChange']['get'](_0x5e89b6);_0x51f355?(this['_activeViewTarget']={'x':_0x154e11['domEvent']['x'],'y':_0x154e11['domEvent']['y']},this['activeView']=this['_getViewForChange'](_0x51f355)):(this['_activeViewTarget']=null,this['activeView']=null);}),this['listenTo'](this['editor']['editing']['view']['document'],'mousedown',(_0x6f6964,_0x9f2c09)=>{const _0x48ca37=this['_findChangeIdFromDomTarget'](_0x9f2c09['target']),_0x41bce4=this['_changeIdToChange']['get'](_0x48ca37);_0x41bce4?(this['_activeViewTarget']={'x':_0x9f2c09['domEvent']['x'],'y':_0x9f2c09['domEvent']['y']},_0x41bce4===this['activeChange']?this['_balloon']['updatePosition']():this['activeChange']=_0x41bce4):(this['_activeViewTarget']=null,this['activeChange']=null);});}['_findChangeIdFromDomTarget'](_0x1c67dc){do{const _0x5c5ee3=_0x1c67dc['getAttribute']('data-change-id');if(_0x5c5ee3)return _0x5c5ee3;_0x1c67dc=_0x1c67dc['parent'];}while(_0x1c67dc);return null;}['_cleanMarkers'](){this['editor']['model']['change'](_0x15f544=>{for(const _0x6b130b of this['editor']['model']['markers'])_0x15f544['removeMarker'](_0x6b130b);});}}function et(_0x94a573,_0xf3544e){return(_0x218a86,_0x2009f1,_0x4e921a)=>{if(!_0x4e921a['consumable']['test'](_0x2009f1['markerRange'],_0x218a86['name']))return;const _0x5bcdd4=_0x2009f1['markerRange']['getWalker'](),_0x3a0a46=_0x2009f1['markerRange']['start'],_0x24068f=_0x94a573['model']['schema'];let _0x33570a=null,_0x3103f4=null,_0x588baf=!0x1,_0x581244=!0x1;for(const _0x10fb14 of _0x5bcdd4){const _0xd81b0c=_0x10fb14['item'];_0x588baf=_0x588baf||_0x24068f['isContent'](_0xd81b0c);const _0x3b8ef8=_0x4e921a['mapper']['toViewElement'](_0xd81b0c);if(_0x3b8ef8&&_0x3b8ef8['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x10fb14['type']&&(_0x24068f['isBlock'](_0xd81b0c)&&!_0x24068f['isLimit'](_0xd81b0c)&&(_0xd81b0c['nextSibling']||_0x3a0a46['isAtEnd']?_0x33570a&&_0x33570a['parent']==_0xd81b0c||(_0x33570a=_0xd81b0c,_0x254985(_0x10fb14['previousPosition']),_0x581244=!0x0):_0x3103f4=_0x3103f4||_0x10fb14['previousPosition']));}function _0x254985(_0x204a82){const _0x3ab6b4=_0x4e921a['mapper']['toViewPosition'](_0x204a82),_0x59fce9=_0x4e921a['writer']['createUIElement']('span',{'class':'ck-suggestion-preview-marker-'+_0xf3544e});_0x4e921a['writer']['insert'](_0x3ab6b4,_0x59fce9),_0x4e921a['mapper']['bindElementToMarker'](_0x59fce9,_0x2009f1['markerName']);}_0x588baf||_0x581244||!_0x3103f4||_0x254985(_0x3103f4);};}class bt extends _0x52df47{constructor(_0x621571){super(_0x621571);const _0x5d9698=_0x621571['plugins']['get'](d);this['affectsData']=!0x1,this['listenTo'](_0x5d9698,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x5d9698,'change:isEnabled',()=>this['refresh']());}['execute'](){const _0x30c08d=this['editor'],_0x40bb95=_0x30c08d['plugins']['get'](d),_0x51cee4=_0x40bb95['isReady']?_0x40bb95['diff']['newRevisionId']:null;_0x30c08d['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x51cee4);}['refresh'](){const {isReady:_0xf4e87e,isEnabled:_0x316cc0}=this['editor']['plugins']['get'](d);this['isEnabled']=_0xf4e87e&&_0x316cc0;}}class yt extends _0x52df47{['_step'];constructor(_0x384599,{direction:_0x1f44bf}){super(_0x384599);const _0xcfb21f=_0x384599['plugins']['get'](d);this['affectsData']=!0x1,this['_step']='forward'===_0x1f44bf?0x1:-0x1,this['listenTo'](_0xcfb21f,'change:isReady',()=>this['refresh']()),this['listenTo'](_0xcfb21f,'change:isEnabled',()=>this['refresh']()),this['listenTo'](_0xcfb21f,'change:activeChange',()=>this['refresh']());}['execute'](){const _0x5e2804=this['editor'],_0x3d449a=_0x5e2804['plugins']['get'](d),{isNavigationMode:_0x4136fd,currentChangeNumber:_0xc86ff0}=_0x3d449a;let _0x1ea1bc;if(_0x3d449a['activeChange']=_0x4136fd?_0x3d449a['diff']['changes']['get'](_0xc86ff0+this['_step']):_0x3d449a['diff']['changes']['first'],_0x3d449a['activeChange']['data']['isOnRoot'])_0x1ea1bc=_0x5e2804['editing']['view']['getDomRoot'](_0x3d449a['activeChange']['rootName']);else{const _0x2333fd=_0x5e2804['model']['markers']['get']('revision:'+_0x3d449a['activeChange']['id']);_0x1ea1bc=_0x444f34(_0x5e2804['editing'],_0x2333fd);}_0x3fd308({'target':_0x1ea1bc,'viewportOffset':0x28});}['refresh'](){const {isNavigationMode:_0x3bb8fa,currentChangeNumber:_0x4df66c,numberOfChanges:_0x14a3ac,isReady:_0x607371,isEnabled:_0x50b82e}=this['editor']['plugins']['get'](d);this['isEnabled']=!!(_0x50b82e&&_0x607371&&_0x14a3ac)&&(!_0x3bb8fa||(0x1===this['_step']?_0x4df66c<_0x14a3ac-0x1:_0x4df66c>0x0));}}class _i extends _0x5804aa{constructor(_0x83a143){super(_0x83a143);const _0x53460a=this['bindTemplate'],_0x497efc=new _0xa1287(_0x83a143),_0x444ca4=new _0xa1287(_0x83a143);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',(_0x393086,_0x36e1a9)=>_0x393086&&_0x36e1a9>0x0),this['bind']('_statusText')['to'](this,'isReady',this,'currentChangeNumber',this,'numberOfChanges',this,'isNavigationMode',(_0x506de8,_0x3af76f,_0x429164,_0x29ecf2)=>{if(!_0x506de8)return y(_0x83a143,'Loading...');if(!_0x429164)return y(_0x83a143,'No\x20changes');const _0x117bd2=y(_0x83a143,'NUMBER_OF_CHANGES',_0x429164);return _0x29ecf2?y(_0x83a143,'X_OF_Y_CHANGES',[_0x3af76f+0x1,_0x429164]):_0x117bd2;}),_0x497efc['set']({'label':y(_0x83a143,'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'}),_0x444ca4['set']({'label':y(_0x83a143,'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'}),_0x497efc['bind']('isEnabled')['to'](this,'isBackwardNavigationEnabled'),_0x444ca4['bind']('isEnabled')['to'](this,'isForwardNavigationEnabled'),_0x497efc['on']('execute',()=>this['fire']('execute','backward')),_0x444ca4['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',_0x53460a['if']('_isStatusLabelVisible','ck-hidden',_0x2b409d=>!_0x2b409d)]},'children':[{'text':_0x53460a['to']('isNavigationMode',_0x8222a6=>_0x8222a6?y(_0x83a143,'EDIT_X_OF_Y_REVISIONS')+':\x20':y(_0x83a143,'Total')+':\x20')}]},{'text':_0x53460a['to']('_statusText')}]},new _0x4ea959(),{'tag':'div','attributes':{'class':['ck-revision-history-ui__changes-navigation__navigation']},'children':[_0x497efc,_0x444ca4]}]});}}const ce='ck-editor__editable__loading-overlay';class de extends _0x3bc8af{static get['pluginName'](){return'RevisionViewerLoadingOverlay';}['show'](){const _0x1cdec4=this['editor']['editing']['view'];_0x1cdec4['change'](_0x53a7d8=>{for(const _0x602208 of _0x1cdec4['document']['roots'])_0x53a7d8['addClass'](ce,_0x602208);});}['hide'](){const _0x1ba2de=this['editor']['editing']['view'];_0x1ba2de['change'](_0x4639dc=>{for(const _0x269e66 of _0x1ba2de['document']['roots'])_0x4639dc['removeClass'](ce,_0x269e66);});}}class R extends _0x3bc8af{static get['pluginName'](){return'RevisionViewerUI';}static get['requires'](){return[d,de];}['init'](){const _0x577f10=this['editor'],_0x5719b8=_0x577f10['plugins']['get'](d),_0x27705f=_0x577f10['plugins']['get'](de);_0x577f10['ui']['componentFactory']['add']('exitToEditing',_0x915516=>{const _0x4c521=new _0xa1287(_0x915516);return _0x4c521['set']({'label':y(_0x915516,'Back\x20to\x20editing'),'icon':_0x18e07b['undo'],'withText':!0x0,'tooltip':!0x0,'class':'ck-revision-history-ui__back-to-editing'}),this['listenTo'](_0x4c521,'execute',()=>{_0x577f10['config']['get']('revisionHistory')['closeRevisionViewerCallback']();}),_0x4c521;}),_0x577f10['ui']['componentFactory']['add']('restoreRevision',_0x343152=>{const _0x2cedd8=new _0xa1287(_0x343152);return _0x2cedd8['set']({'label':y(_0x343152,'Restore\x20this\x20revision'),'withText':!0x0,'tooltip':!0x0}),_0x2cedd8['bind']('isEnabled')['to'](_0x577f10['commands']['get']('restoreRevision')),this['listenTo'](_0x2cedd8,'execute',()=>_0x577f10['execute']('restoreRevision')),_0x2cedd8;}),_0x577f10['ui']['componentFactory']['add']('changesNavigation',_0x112dd7=>{const _0x366a26=new _i(_0x112dd7),_0x2c9346=_0x577f10['commands']['get']('showPreviousChange'),_0x2e4fad=_0x577f10['commands']['get']('showNextChange');return _0x366a26['bind']('isBackwardNavigationEnabled')['to'](_0x2c9346,'isEnabled'),_0x366a26['bind']('isForwardNavigationEnabled')['to'](_0x2e4fad,'isEnabled'),_0x366a26['bind']('isReady','currentChangeNumber','numberOfChanges','isNavigationMode')['to'](_0x5719b8),this['listenTo'](_0x366a26,'execute',(_0xe7c793,_0x43766f)=>{_0x577f10['execute']('forward'===_0x43766f?'showNextChange':'showPreviousChange');}),_0x366a26;}),_0x27705f['show'](),_0x5719b8['on']('change:isReady',(_0x49e080,_0x16af35,_0xd211df)=>{_0xd211df?_0x27705f['hide']():_0x27705f['show']();});}}class kt extends at{['_resizeObserver']=null;constructor(_0x3820f9,_0x2dcdfe){super(_0x3820f9,_0x2dcdfe);const _0x5b2baa=this['bindTemplate'];this['set']({'label':y(_0x3820f9,'Revision\x20name'),'_tooltipString':''}),this['fieldView']['placeholder']=y(_0x3820f9,'Enter\x20the\x20revision\x20name'),this['extendTemplate']({'tag':'span','attributes':{'class':['ck-revision-history-sidebar__revision-name'],'data-cke-tooltip-text':_0x5b2baa['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 _0x333b80=this['fieldView']['element'];this['_tooltipString']=_0x333b80['scrollWidth']>_0x333b80['clientWidth']&&_0x333b80['value']||'';}}class ti extends _0x5804aa{constructor(_0x114aec,_0x2fd1cf,_0x1f29ea){super(_0x114aec);const _0x6175a7=new _0x3b2b08();_0x6175a7['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 _0x54304f=['ck','ck-revision-history-sidebar__revision-author'];_0x1f29ea&&_0x54304f['push']('ck-revision-history-sidebar__revision-author_creator');const _0x2269bd=[{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__revision-author__name'],'title':y(_0x114aec,_0x1f29ea?'Revision\x20creator':'Revision\x20author')},'children':[_0x6175a7,_0x2fd1cf['name']]}];this['setTemplate']({'tag':'li','attributes':{'class':_0x54304f},'children':_0x2269bd});}}function ni(_0x7df39a,_0x5391d4){const _0x31b888=_0x7df39a['bindTemplate'],_0x28f516=_0x7df39a['locale'],_0x4de7c4=_0x54d2f5(_0x28f516);_0x4de7c4['panelPosition']='sw';const _0x280b74=function(_0x213a38,_0x3023bc){const _0xf68a64=function(_0x8d3561,_0x585f6b){const _0x10877a=_0x8d3561['locale'],_0x4655ab={'Compare\x20against\x20selected':y(_0x10877a,'Compare\x20against\x20selected'),'Name\x20this\x20revision':y(_0x10877a,'Name\x20this\x20revision'),'Restore\x20this\x20revision':y(_0x10877a,'Restore\x20this\x20revision')};return _0x585f6b['map'](_0x7d88ff=>{const _0x297b5a=_0x4655ab[_0x7d88ff['name']];return _0x297b5a&&_0x297b5a!==_0x7d88ff['name']&&(_0x7d88ff['name']=_0x297b5a),_0x7d88ff;});}(_0x213a38,_0x3023bc),_0x546f99=new _0x141ac7();for(const _0x2b5802 of _0xf68a64){const _0x2c7dc5={'type':'button','model':new to({'label':_0x2b5802['name'],'class':_0x2b5802['class'],'withText':!0x0,'role':'menuitem','_action':_0x2b5802['action']})};_0x2c7dc5['model']['bind']('isEnabled')['to'](_0x213a38,'isActionsDropdownOpen',_0x487060=>'function'!=typeof _0x2b5802['isEnabled']||(!_0x487060||_0x2b5802['isEnabled'](_0x213a38))),_0x546f99['add'](_0x2c7dc5);}return _0x546f99;}(_0x7df39a,_0x5391d4);return _0x7df39a['bind']('isActionsDropdownOpen')['to'](_0x4de7c4,'isOpen'),_0x4de7c4['buttonView']['set']({'label':y(_0x28f516,'Show\x20more\x20items'),'tooltip':!0x0,'tooltipPosition':'sw','icon':_0x18e07b['threeVerticalDots']}),_0x4de7c4['extendTemplate']({'attributes':{'class':['ck-revision-history-sidebar__revision__actions',_0x31b888['if']('isActionsDropdownOpen','ck-on')]},'on':{'click':_0x31b888['to'](_0x5e60df=>_0x5e60df['stopPropagation']())}}),_0x4de7c4['on']('execute',_0x1cd93e=>{_0x7df39a['isReady']&&'function'==typeof _0x1cd93e['source']['_action']&&_0x1cd93e['source']['_action'](_0x7df39a);}),_0x766eeb(_0x4de7c4,_0x280b74,{'role':'menu'}),_0x4de7c4['listenTo'](_0x7df39a,'change:isActionsDropdownOpen',(_0x159d37,_0x5d9c59,_0x1ce6bb)=>{if(_0x1ce6bb)for(const _0x2abbe4 of _0x4de7c4['listView']['items']){const _0x77fdb1=_0x2abbe4['children']['first'],_0x45567c=_0x5391d4['find'](_0x59257e=>_0x59257e['action']===_0x77fdb1['_action'])['isVisible'];_0x2abbe4['isVisible']=void 0x0===_0x45567c||_0x45567c(_0x7df39a);}}),_0x4de7c4;}class ai extends/* #__PURE__ -- @preserve */
26
+ _0x2d57c6(_0x5804aa){['id'];['revisionNameView'];['revisionActionsView'];['_revision'];['_requireRevisionName'];constructor(_0x29ad47,_0x423b67,_0x5a3607,_0x1a7a04){super(_0x29ad47);const _0x2fee8c=this['bindTemplate'],_0x48f008=function(_0x3b4375,_0x3c0d36){const _0x403712=Array['from'](_0x3c0d36['authors'])['filter'](_0x20bd74=>_0x20bd74!=_0x3c0d36['creator']);return _0x3c0d36['creator']&&_0x403712['unshift'](_0x3c0d36['creator']),_0x403712['map'](_0x3e97a8=>new ti(_0x3b4375,_0x3e97a8,_0x3e97a8==_0x3c0d36['creator']));}(_0x29ad47,_0x423b67);this['id']=_0x423b67['id'],this['_revision']=_0x423b67,this['_requireRevisionName']=_0x1a7a04,this['bind']('name','createdAt')['to'](_0x423b67),this['bind']('_createdAtFormatted')['to'](this,'createdAt',_0xfb4b2=>{return _0xdfb1a7=_0x29ad47['uiLanguage'],(_0xba0043=_0xfb4b2)['toLocaleDateString'](_0xdfb1a7,{'month':'long','day':'numeric'})+',\x20'+_0xba0043['toLocaleTimeString'](_0xdfb1a7,{'hour':'numeric','minute':'numeric'});var _0xdfb1a7,_0xba0043;}),this['set']('isSelected',!0x1),this['set']('isHighlighted',!0x1),this['set']('isActionsDropdownOpen',!0x1),this['set']('isReady',!0x1),this['set']('isEnabled',!0x1),this['revisionNameView']=new kt(_0x29ad47,_0x3b77d0),this['revisionNameView']['fieldView']['extendTemplate']({'attributes':{'maxlength':'220'}}),this['revisionNameView']['fieldView']['bind']('value')['to'](this,'name',_0x26e557=>_0x26e557||this['_createdAtFormatted']),this['revisionNameView']['bind']('isEnabled')['to'](this,'isSelected',this,'isEnabled',(_0x2b7f0b,_0x37a819)=>_0x2b7f0b&&_0x37a819),this['revisionActionsView']=_0x5a3607&&_0x5a3607['length']?ni(this,_0x5a3607):'',this['revisionActionsView']&&this['revisionActionsView']['bind']('isEnabled')['to'](this),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision-wrapper',_0x2fee8c['if']('isConfirm','ck-revision-history-sidebar__revision-wrapper_confirmation_visible')]},'children':[{'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision',_0x2fee8c['if']('isEnabled','ck-disabled',_0x4d4b3b=>!_0x4d4b3b),_0x2fee8c['if']('isSelected','ck-revision-history-sidebar__revision_selected'),_0x2fee8c['if']('isHighlighted','ck-revision-history-sidebar__revision_highlighted'),_0x2fee8c['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':_0x2fee8c['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':_0x48f008}]},this['revisionActionsView']],'on':{'click':_0x2fee8c['to'](_0x3d4be9=>{_0x3d4be9['srcElement']['closest']('.ck-thread__remove-confirm')||this['isReady']&&this['isEnabled']&&this['fire']('select',{'id':this['id']});})}}]});}['render'](){super['render']();const _0x550069=this['revisionNameView']['fieldView']['element'];this['listenTo'](_0x550069,'change',()=>{this['_requireRevisionName']&&!_0x550069['value']||this['fire']('setName',{'id':this['id'],'name':_0x550069['value']}),_0x550069['value']||(_0x550069['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(_0x2d2b13,_0x2aaa1f){const _0x52b3a0=_0x4a009a['fromJSDate'](_0x2d2b13)['setLocale'](_0x2aaa1f),_0x4478bf=_0x4a009a['local'](),_0x497d54=_0x4478bf['minus']({'days':0x1})['startOf']('day');let _0x3952fb,_0x224901;return _0x52b3a0['hasSame'](_0x4478bf,'day')?(_0x3952fb=_0x52b3a0['startOf']('day')['toJSDate'](),_0x224901=_0x52b3a0['toRelativeCalendar']()):_0x52b3a0['hasSame'](_0x497d54,'day')?(_0x3952fb=_0x497d54['toJSDate'](),_0x224901=_0x52b3a0['toRelativeCalendar']()):_0x52b3a0['hasSame'](_0x4478bf,'week')?(_0x3952fb=_0x52b3a0['startOf']('week')['toJSDate'](),_0x224901=_0x52b3a0['weekdayLong']||''):_0x52b3a0['hasSame'](_0x4478bf,'year')?(_0x3952fb=_0x52b3a0['startOf']('month')['toJSDate'](),_0x224901=_0x52b3a0['monthLong']||''):(_0x3952fb=_0x52b3a0['startOf']('year')['toJSDate'](),_0x224901=String(_0x52b3a0['year'])),{'startDate':_0x3952fb,'localizedPeriodName':_0x224901};}class mi extends _0x5804aa{['startDate'];['revisionViews'];['_revisionActions'];['_requireRevisionName'];constructor(_0x4c968d,_0x172aea,_0x368f40,_0x2df412){super(_0x4c968d);const _0x4a29fe=di(_0x172aea,this['locale']['uiLanguage'])['localizedPeriodName'];this['startDate']=_0x172aea,this['revisionViews']=this['createCollection'](),this['_revisionActions']=_0x368f40,this['_requireRevisionName']=_0x2df412,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':_0x4a29fe}]},{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__time-period__revisions']},'children':this['revisionViews']}]});}['addRevision'](_0x357dd6){const _0x4c405b=new ai(this['locale'],_0x357dd6,this['_revisionActions'],this['_requireRevisionName']);this['revisionViews']['add'](_0x4c405b);}['removeRevision'](_0x417a1b){const _0x44e6b4=this['revisionViews']['find'](_0x12d1e3=>_0x12d1e3['id']===_0x417a1b['id']);this['revisionViews']['remove'](_0x44e6b4);}}class as extends _0x5804aa{constructor(_0x1b0ec5){super(_0x1b0ec5);const _0x5ef46b=new _0x3b2b08();_0x5ef46b['content']=_0x18e07b['history'],this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all','ck-revision-history-sidebar__header']},'children':[_0x5ef46b,{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__header__label']},'children':[y(_0x1b0ec5,'Revision\x20history')]}]});}}class ci extends _0x5804aa{['timePeriodViews'];['_revisions'];['_revisionActions'];['_requireRevisionName'];constructor(_0x5bb26d,_0x5eb43c,_0x51f4f8,_0x10d0b0){super(_0x5bb26d);const _0x5bbfac=this['bindTemplate'];this['timePeriodViews']=this['createCollection'](),this['timePeriodViews']['delegate']('select')['to'](this),this['timePeriodViews']['delegate']('setName')['to'](this),this['_revisions']=_0x5eb43c,this['_revisionActions']=_0x51f4f8,this['_requireRevisionName']=_0x10d0b0,this['on']('select',(_0x46834f,_0x4f59e1)=>{this['fire']('revisionSelected',_0x4f59e1);}),this['on']('setName',(_0x4a7dc3,_0x540479)=>{this['fire']('revisionSetName',_0x540479);}),this['set']('isEnabled',!0x1),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-rounded-corners','ck-revision-history-sidebar']},'children':[new as(_0x5bb26d),{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__timeline',_0x5bbfac['if']('isEnabled','ck-disabled',_0x2982a3=>!_0x2982a3)]},'children':this['timePeriodViews']}]});}['render'](){super['render']();for(const _0x408713 of this['_revisions'])this['_addRevision'](_0x408713);this['_revisions']['on']('add',(_0x5d2ffa,_0x540179)=>{this['_addRevision'](_0x540179);}),this['_revisions']['on']('remove',(_0x1198a9,_0x3038b8)=>{this['_removeRevision'](_0x3038b8);});}get['revisionViews'](){return this['timePeriodViews']['map'](_0x130424=>_0x130424['revisionViews']['map'](_0x5968fc=>_0x5968fc))['flat']();}['selectRevision'](_0x10eb7c){for(const _0x151d86 of this['revisionViews'])_0x10eb7c&&_0x10eb7c['id']===_0x151d86['id']?_0x151d86['select']():_0x151d86['deselect']();}['highlightRevisions'](_0x4a2b4d){for(const _0x749954 of this['revisionViews'])_0x4a2b4d['some'](({id:_0x481233})=>_0x481233===_0x749954['id'])?_0x749954['highlight']():_0x749954['unhighlight']();}['_addRevision'](_0x1bc90f){const _0xd1efca=di(_0x1bc90f['createdAt'],this['locale']['uiLanguage'])['startDate'];let _0x5187fe=this['timePeriodViews']['get'](0x0);_0x5187fe&&_0x5187fe['startDate']['getTime']()===_0xd1efca['getTime']()||(_0x5187fe=new mi(this['locale'],_0xd1efca,this['_revisionActions'],this['_requireRevisionName']),this['timePeriodViews']['add'](_0x5187fe)),_0x5187fe['addRevision'](_0x1bc90f);}['_removeRevision'](_0x36857a){const _0x2b24a9=di(_0x36857a['createdAt'],this['locale']['uiLanguage'])['startDate'];this['_getTimePeriodViewByStartDate'](_0x2b24a9)['removeRevision'](_0x36857a);}['_getTimePeriodViewByStartDate'](_0x7e037e){return this['timePeriodViews']['find'](_0x3f7f46=>_0x3f7f46['startDate']['getTime']()===_0x7e037e['getTime']());}}class w extends _0x3bc8af{['_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(_0x50ffe){super(_0x50ffe),this['_revisionViewer']=_0x50ffe['plugins']['get'](d),this['_revisionsRepository']=this['_revisionViewer']['repository'],this['_sidebarView']=null;}['init'](){const _0x12264b=this['_revisionsRepository']['_revisions'],_0x2d0b6c=this['_createRevisionActions'](),_0xd767c8=this['editor']['config']['get']('revisionHistory.viewerSidebarContainer');this['_sidebarView']=new ci(this['editor']['locale'],_0x12264b,_0x2d0b6c,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',(_0x476c80,_0x2d097b)=>{_0x2d097b['revisionViews']['on']('add',(_0xb1584b,_0x4e7e6c)=>{_0x4e7e6c['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)),_0xd767c8['appendChild'](this['_sidebarView']['element']);}['destroy'](){this['_sidebarView']['element']['remove'](),this['_sidebarView']['destroy']();}['_handleEditorDataReady'](){const _0x412dd0=this['_revisionsRepository']['getRevision'](0x0);if(_0x412dd0){const _0x52a8dc=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x412dd0['id']);this['_revisionViewer']['compare'](_0x412dd0,_0x52a8dc);}}['_handleRevisionSelected'](_0x222b25,_0x43aa45){const _0x502c3d=this['_revisionsRepository']['getRevision'](_0x43aa45['id']),_0x4fd87f=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x502c3d['id']);this['_revisionViewer']['compare'](_0x502c3d,_0x4fd87f);}['_handleRevisionSetName'](_0x432b81,_0x20fa04){this['_revisionsRepository']['getRevision'](_0x20fa04['id'])['setName'](_0x20fa04['name']);}['_handleDiffChange'](_0x24e493,_0x59f206,_0x34b946){const _0x4cf651=this['_revisionsRepository']['getRevisionsInDiff'](_0x34b946);_0x4cf651['length']>0x2?(this['_sidebarView']['highlightRevisions'](_0x4cf651),this['_sidebarView']['selectRevision'](null)):(this['_sidebarView']['highlightRevisions']([]),this['_sidebarView']['selectRevision'](_0x4cf651[0x0]));}['_createRevisionActions'](){const _0x1c903e=this['editor'],_0x5a6a8a=w['availableRevisionActions'],_0x279fb0=_0x1c903e['config']['get']('revisionHistory.revisionActions')||w['defaultRevisionActions'];if(_0x279fb0['length'])return _0x279fb0['map'](_0x332f2a=>{const _0x5736a7='string'==typeof _0x332f2a?Object['assign']({},_0x5a6a8a[_0x332f2a]):_0x332f2a;return _0x5736a7['action']=_0x5736a7['action']['bind'](this,_0x1c903e),_0x5736a7['isVisible']&&(_0x5736a7['isVisible']=_0x5736a7['isVisible']['bind'](this,_0x1c903e)),_0x5736a7;});}}function Rt(){return{'compareAgainstSelected':{'name':'Compare\x20against\x20selected','action':({plugins:_0x487efd},_0x5c49be)=>{const _0x12442b=_0x487efd['get'](d),_0x133b66=_0x12442b['repository'];let _0x3a5b24=_0x12442b['diff']['newRevisionId'],_0x4c1e95=_0x5c49be['id'];_0x133b66['getIndex'](_0x3a5b24)>_0x133b66['getIndex'](_0x4c1e95)&&([_0x3a5b24,_0x4c1e95]=[_0x4c1e95,_0x3a5b24]),_0x12442b['compare'](_0x3a5b24,_0x4c1e95);},'isVisible':({plugins:_0x494f12},_0x58dc40)=>{const _0x201704=_0x494f12['get'](d);return!(_0x201704['repository']['getRevisionsInDiff'](_0x201704['diff'])['length']>0x2)&&!_0x58dc40['isSelected'];}},'restoreRevision':{'name':'Restore\x20this\x20revision','action':(_0x3d44c0,{id:_0x18db9b})=>{_0x3d44c0['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x18db9b);},'isVisible':({plugins:_0x48597f},_0xf4d055)=>!!_0x48597f['get'](d)['repository']['getLaterVisibleRevision'](_0xf4d055['id'])},'nameRevision':{'name':'Name\x20this\x20revision','action':({plugins:_0x14aca5},{id:_0x3831ad,revisionNameView:_0x29ba60})=>{const _0x4a35d7=_0x14aca5['get'](d),_0x4a609a=_0x4a35d7['repository']['getEarlierVisibleRevision'](_0x3831ad);_0x4a35d7['compare'](_0x3831ad,_0x4a609a),_0x29ba60['focus'](),_0x29ba60['fieldView']['select']();}}};}class st extends ht{['_view'];['_toolbarConfig'];['_elementReplacer'];get['view'](){return this['_view'];}constructor(_0x48789c,_0x4dd4cc){super(_0x48789c),this['_view']=_0x4dd4cc,this['_toolbarConfig']=ct(_0x48789c['config']['get']('toolbar')),this['_elementReplacer']=new nt();}get['element'](){return this['view']['element'];}['init'](_0x24b43b){const _0x457cf9=this['editor'],_0x3c2fe3=this['view'],_0xbcae32=_0x457cf9['editing']['view'],_0x4b62cc=_0x3c2fe3['editable'],_0x2013d0=_0xbcae32['document']['getRoot']();_0x4b62cc['name']=_0x2013d0['rootName'],_0x3c2fe3['render']();const _0x2c5542=_0x4b62cc['element'];this['setEditableElement'](_0x4b62cc['name'],_0x2c5542),_0x3c2fe3['editable']['bind']('isFocused')['to'](this['focusTracker']),_0xbcae32['attachDomRoot'](_0x2c5542),this['_elementReplacer']['replace'](_0x24b43b,this['element']),this['_initToolbar'](),this['fire']('ready');}['destroy'](){super['destroy']();const _0x5491d0=this['view'],_0x1ce2ba=this['editor']['editing']['view'];this['_elementReplacer']['restore'](),_0x1ce2ba['detachDomRoot'](_0x5491d0['editable']['name']),_0x5491d0['destroy']();}['_initToolbar'](){const _0x18dad5=this['view'];_0x18dad5['stickyPanel']['bind']('isActive')['to'](this['focusTracker'],'isFocused'),_0x18dad5['stickyPanel']['limiterElement']=_0x18dad5['element'],_0x18dad5['stickyPanel']['bind']('viewportTopOffset')['to'](this,'viewportOffset',({top:_0x1f9dc2})=>_0x1f9dc2),_0x18dad5['toolbar']['fillFromConfig'](this['_toolbarConfig'],this['componentFactory']),this['addToolbar'](_0x18dad5['toolbar']);}}class ot extends dt{['_editable'];['stickyPanel'];['toolbar'];get['editable'](){return this['_editable'];}constructor(_0x2b0372,_0x5adb5d,_0x4b1a73={}){super(_0x2b0372),this['stickyPanel']=new lt(_0x2b0372),this['toolbar']=new pt(_0x2b0372,{'shouldGroupWhenFull':_0x4b1a73['shouldToolbarGroupWhenFull']}),this['_editable']=new ut(_0x2b0372,_0x5adb5d);}['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(_0x4c68c5,_0x3fa2ef){super(_0x3fa2ef),this['sourceElement']=_0x4c68c5,this['model']['document']['createRoot']();const _0x2b3b79=new ot(this['locale'],this['editing']['view'],{'shouldToolbarGroupWhenFull':!0x0});this['_ui']=new st(this,_0x2b3b79);}['destroy'](){return this['updateSourceElement'](),this['ui']['destroy'](),super['destroy']();}static async['create'](_0x594e96,_0x5ef97f){const _0x7f4721=new this(_0x594e96,_0x5ef97f);return await _0x7f4721['initPlugins'](),await _0x7f4721['ui']['init'](_0x594e96),await _0x7f4721['data']['init'](_0x7f4721['config']['get']('initialData')||''),_0x7f4721['fire']('ready'),_0x7f4721;}}const p=['RevisionHistoryUI','RestrictedEditingMode'];class k extends _0x54c75a{['result'];static get['pluginName'](){return'RevisionViewerIntegration';}constructor(_0x5a8ca4){super(_0x5a8ca4),this['result']='end';}}class H extends _0x54c75a{['_viewerEditor'];static get['pluginName'](){return'RevisionHistory';}static get['requires'](){return[l,u];}constructor(_0x3e3bcc){if(super(_0x3e3bcc),!this['editor']['config']['get']('revisionHistory'))throw new _0x2d3b47('revision-history-missing-configuration',this);this['_viewerEditor']=null,this['editor']['config']['define']('revisionHistory.showRevisionViewerCallback',_0x22eff6=>this['_showRevisionViewer']({..._0x22eff6,'translations':this['editor']['locale']['translations']})),this['editor']['config']['define']('revisionHistory.closeRevisionViewerCallback',_0x15a317=>this['_closeRevisionViewer'](_0x15a317)),this['editor']['config']['define']('revisionHistory.restoreRevisionCallback',_0x289422=>this['_restoreRevision'](_0x289422)),this['editor']['config']['define']('revisionHistory.requireRevisionName',!0x1),this['_enhanceShowRevisionViewerCallback'](),this['_enhanceCloseRevisionViewerCallback']();}set['adapter'](_0x15411c){this['editor']['plugins']['get']('RevisionTracker')['adapter']=_0x15411c;}get['adapter'](){return this['editor']['plugins']['get']('RevisionTracker')['adapter'];}['addRevisionData'](_0x5f7eb3){return this['editor']['plugins']['get']('RevisionTracker')['addRevisionData'](_0x5f7eb3);}['getRevision'](_0x540fe4){return this['editor']['plugins']['get']('RevisionsRepository')['getRevision'](_0x540fe4);}['getRevisions'](_0x17aafb){return this['editor']['plugins']['get']('RevisionsRepository')['getRevisions'](_0x17aafb||{'toJSON':!0x1});}['_getRevisionViewerEditorConfig'](){const _0x4f7b69=this['editor'],_0x3ec1f0=_0x199233(_0x4f7b69,p),_0x5dff9f=_0x4f7b69['plugins']['get']('RevisionTracker'),_0x37cefe=_0x4f7b69['plugins']['get']('Users')['users'];return _0x3ec1f0['toolbar']=['exitToEditing','restoreRevision','changesNavigation'],delete _0x3ec1f0['lazyRoots'],(_0x3ec1f0['plugins']['push'](k,d,R,class extends _0x54c75a{static get['requires'](){return[d,'Users'];}['init'](){const _0x27a293=this['editor']['plugins']['get']('Users');for(const _0x4f0e7b of _0x37cefe)_0x4f0e7b['isAnonymous']||_0x27a293['getUser'](_0x4f0e7b['id'])||_0x27a293['addUser'](_0x4f0e7b);const _0x2eadf7=_0x5dff9f['repository']['getRevisions']();let _0x9f0235=null;const _0x36cf6f=this['editor']['plugins']['get']('RevisionViewer');_0x36cf6f['adapter']=_0x5dff9f['adapter'],_0x36cf6f['bind']('isEnabled')['to'](_0x5dff9f),this['editor']['commands']['get']('restoreRevision')['bind']('isEnabled')['to'](_0x4f7b69,'isReadOnly',_0xf652b0=>!_0xf652b0);for(const _0x2cfc22 of _0x2eadf7){const _0x279e12=null===_0x2cfc22['creator'];if(_0x279e12&&_0x2cfc22['toVersion']===_0x2cfc22['fromVersion'])continue;const _0x503c8e=_0x2cfc22['toJSON']();_0x36cf6f['addRevisionData'](_0x503c8e,(_0xfd0a15,_0x142c72,_0x39c50e)=>{if(_0x279e12){if(_0x9f0235)_0x9f0235['_update'](_0xfd0a15,_0x142c72);else{if(!_0x142c72){const _0x8171a2=_0x39c50e['toJSON']();_0x8171a2['id']=_0x26de86(),_0x5dff9f['saveRevision'](_0x8171a2,_0x39c50e['toVersion'])['then'](_0x3490cf=>{_0x9f0235=_0x3490cf;});}}}else _0x2cfc22['_update'](_0xfd0a15,_0x142c72);});}}},w),_0x3ec1f0);}['_enhanceShowRevisionViewerCallback'](){const _0x40834f=this['editor']['config']['get']('revisionHistory')['showRevisionViewerCallback'];this['editor']['config']['set']('revisionHistory.showRevisionViewerCallback',async()=>{this['editor']['enableReadOnlyMode']('revision-history-viewer-opened');const _0x4d9dfe=this['editor']['plugins']['get']('RevisionTracker');if(this['editor']['plugins']['has']('Autosave')){const _0x2256e2=this['editor']['plugins']['get']('Autosave');await _0x2256e2['save']();}else await _0x4d9dfe['update']();if(this['editor']['plugins']['has']('PaginationLookup')&&this['editor']['plugins']['get']('PaginationLookup')['_recalculatePageBreaks'](),this['editor']['plugins']['has']('Dialog')){const _0x5c9803=this['editor']['plugins']['get']('Dialog');_0x5c9803['isOpen']&&_0x5c9803['hide']();}const _0x3c6f20=this['_getRevisionViewerEditorConfig']();return _0x40834f(_0x3c6f20)['then'](_0x199161=>{return(this['_viewerEditor']=_0x199161,this['editor']['plugins']['has']('Annotations'))&&this['editor']['plugins']['get']('Annotations')['refreshVisibility'](),_0x199161;})['catch'](_0x19a5ae=>(console['error'](_0x19a5ae),this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),null));});}['_enhanceCloseRevisionViewerCallback'](){const _0x844297=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'](),_0x844297(this['_viewerEditor'])['then'](()=>{if(this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),this['_viewerEditor']=null,this['editor']['plugins']['has']('Annotations')){const _0x313b31=this['editor']['plugins']['get']('Annotations');_0x313b31['refreshVisibility'](),_0x313b31['refreshPositioning']();}})));}['_showRevisionViewer'](_0xff9ceb){const _0x7fe42e=this['editor']['config']['get']('revisionHistory.editorContainer'),_0x3e7383=this['editor']['config']['get']('revisionHistory.viewerContainer'),_0x228b75=this['editor']['config']['get']('revisionHistory.viewerEditorElement');return m['create'](_0x228b75,_0xff9ceb)['then'](_0x81acd9=>(_0x3e7383['style']['display']='block',_0x7fe42e['style']['display']='none',_0x81acd9));}['_closeRevisionViewer'](_0x28aaa3){const _0x2d7b3e=this['editor']['config']['get']('revisionHistory.editorContainer');return this['editor']['config']['get']('revisionHistory.viewerContainer')['style']['display']='none',_0x2d7b3e['style']['display']='',_0x28aaa3['destroy']();}async['_restoreRevision'](_0x215d20){const _0x3ae7aa=this['editor'],_0x36ded6=this['_viewerEditor']['plugins']['get']('RevisionViewer'),_0x3b02c5=_0x3ae7aa['plugins']['get']('RevisionTracker'),_0x2c26f9=_0x36ded6['repository']['getRevision'](_0x215d20);let _0x242d56,_0x89075,_0x2b519f;try{_0x242d56=await _0x36ded6['getRevisionData'](_0x2c26f9),_0x89075=await _0x36ded6['getRevisionRootsAttributes'](_0x2c26f9);}catch(_0x2d6b25){return void console['error'](_0x2d6b25);}_0x3ae7aa['model']['change'](_0xc9eceb=>{for(const _0x51aa91 of Array['from'](_0x3ae7aa['model']['markers']['getMarkersGroup']('restrictedEditingException')))_0xc9eceb['removeMarker'](_0x51aa91);}),_0x36ded6['isReady']=!0x1,_0x3ae7aa['model']['enqueueChange'](_0x4c42aa=>{_0x4c42aa['setSelection'](null),_0x4c42aa['removeSelectionAttribute'](_0x3ae7aa['model']['document']['selection']['getAttributeKeys']());const _0x47d3c1=Object['keys'](_0x242d56);for(const _0x359c30 of _0x3ae7aa['model']['document']['roots'])'$graveyard'!=_0x359c30['rootName']&&_0x359c30['isAttached']()&&!_0x47d3c1['includes'](_0x359c30['rootName'])&&_0x4c42aa['detachRoot'](_0x359c30);for(const _0x70fba4 of _0x47d3c1){let _0x34d78a=_0x3ae7aa['model']['document']['getRoot'](_0x70fba4);_0x34d78a&&_0x34d78a['isAttached']()||(_0x34d78a=_0x4c42aa['addRoot'](_0x70fba4));const _0x17ee8a=_0x89075[_0x70fba4],_0x42e6d4=Object['keys'](_0x17ee8a),_0x3c8f0e=_0x242d56[_0x70fba4];for(const _0x15a453 of _0x34d78a['getAttributeKeys']())_0x42e6d4['includes'](_0x15a453)||_0x4c42aa['removeAttribute'](_0x15a453,_0x34d78a);for(const _0x590610 of _0x42e6d4)_0x4c42aa['setAttribute'](_0x590610,_0x89075[_0x70fba4][_0x590610],_0x34d78a);_0x4c42aa['remove'](_0x4c42aa['createRangeIn'](_0x34d78a)),_0x4c42aa['insert'](_0x3ae7aa['data']['parse'](_0x3c8f0e,_0x34d78a),_0x34d78a,0x0);}});const _0x1b2ffd=y(_0x3ae7aa['locale'],'Restored');if(_0x2c26f9['name'])_0x2b519f=-0x1==_0x2c26f9['name']['indexOf'](_0x1b2ffd)?_0x1b2ffd+':\x20'+_0x2c26f9['name']:_0x2c26f9['name'];else _0x2b519f=_0x1b2ffd+':\x20'+(_0x2c26f9['createdAt']['toLocaleDateString'](_0x3ae7aa['locale']['uiLanguage'],{'month':'long','day':'numeric'})+',\x20'+_0x2c26f9['createdAt']['toLocaleTimeString'](_0x3ae7aa['locale']['uiLanguage'],{'hour':'numeric','minute':'numeric'}));return await _0x3b02c5['saveRevision']({'name':_0x2b519f}),_0x36ded6['isReady']=!0x0,_0x3ae7aa['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(_0xd81fa3){super(_0xd81fa3),this['_revisionViewer']=_0xd81fa3['plugins']['get'](d),this['_revisionsRepository']=this['_revisionViewer']['repository'],this['_sidebarView']=null;}['init'](){const _0x56c2c2=this['_revisionsRepository']['_revisions'],_0x5635c9=this['_createRevisionActions'](),_0x59de94=this['editor']['config']['get']('revisionHistory.viewerSidebarContainer');this['_sidebarView']=new ci(this['editor']['locale'],_0x56c2c2,_0x5635c9,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',(_0x21b22c,_0x432913)=>{_0x432913['revisionViews']['on']('add',(_0x4bdf29,_0x229dd1)=>{_0x229dd1['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)),_0x59de94['appendChild'](this['_sidebarView']['element']);}['destroy'](){this['_sidebarView']['element']['remove'](),this['_sidebarView']['destroy']();}['_handleEditorDataReady'](){const _0x5c0485=this['_revisionsRepository']['getRevision'](0x0);if(_0x5c0485){const _0x5514dc=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x5c0485['id']);this['_revisionViewer']['compare'](_0x5c0485,_0x5514dc);}}['_handleRevisionSelected'](_0x2172f7,_0x58d3bd){const _0x6c20d5=this['_revisionsRepository']['getRevision'](_0x58d3bd['id']),_0x55df9f=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x6c20d5['id']);this['_revisionViewer']['compare'](_0x6c20d5,_0x55df9f);}['_handleRevisionSetName'](_0x32560d,_0x486847){this['_revisionsRepository']['getRevision'](_0x486847['id'])['setName'](_0x486847['name']);}['_handleDiffChange'](_0x55c760,_0x4387c0,_0x617a22){const _0x385b25=this['_revisionsRepository']['getRevisionsInDiff'](_0x617a22);_0x385b25['length']>0x2?(this['_sidebarView']['highlightRevisions'](_0x385b25),this['_sidebarView']['selectRevision'](null)):(this['_sidebarView']['highlightRevisions']([]),this['_sidebarView']['selectRevision'](_0x385b25[0x0]));}['_createRevisionActions'](){const _0x5f43fa=this['editor'],_0x333959=w['availableRevisionActions'],_0x953f28=_0x5f43fa['config']['get']('revisionHistory.revisionActions')||w['defaultRevisionActions'];if(_0x953f28['length'])return _0x953f28['map'](_0x4d1477=>{const _0x29fa78='string'==typeof _0x4d1477?Object['assign']({},_0x333959[_0x4d1477]):_0x4d1477;return _0x29fa78['action']=_0x29fa78['action']['bind'](this,_0x5f43fa),_0x29fa78['isVisible']&&(_0x29fa78['isVisible']=_0x29fa78['isVisible']['bind'](this,_0x5f43fa)),_0x29fa78;});}}function Rt(){return{'compareAgainstSelected':{'name':'Compare\x20against\x20selected','action':({plugins:_0x3a3889},_0xdacab6)=>{const _0x156103=_0x3a3889['get'](d),_0x3ca348=_0x156103['repository'];let _0x200d44=_0x156103['diff']['newRevisionId'],_0x420bbd=_0xdacab6['id'];_0x3ca348['getIndex'](_0x200d44)>_0x3ca348['getIndex'](_0x420bbd)&&([_0x200d44,_0x420bbd]=[_0x420bbd,_0x200d44]),_0x156103['compare'](_0x200d44,_0x420bbd);},'isVisible':({plugins:_0x359416},_0xb7e4f7)=>{const _0x13e514=_0x359416['get'](d);return!(_0x13e514['repository']['getRevisionsInDiff'](_0x13e514['diff'])['length']>0x2)&&!_0xb7e4f7['isSelected'];}},'restoreRevision':{'name':'Restore\x20this\x20revision','action':(_0x13e149,{id:_0x4290a1})=>{_0x13e149['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x4290a1);},'isVisible':({plugins:_0x18c8f3},_0x5d4bed)=>!!_0x18c8f3['get'](d)['repository']['getLaterVisibleRevision'](_0x5d4bed['id'])},'nameRevision':{'name':'Name\x20this\x20revision','action':({plugins:_0x438abc},{id:_0x32d729,revisionNameView:_0x4058aa})=>{const _0x28ff2d=_0x438abc['get'](d),_0x59557c=_0x28ff2d['repository']['getEarlierVisibleRevision'](_0x32d729);_0x28ff2d['compare'](_0x32d729,_0x59557c),_0x4058aa['focus'](),_0x4058aa['fieldView']['select']();}}};}class st extends ht{['_view'];['_toolbarConfig'];['_elementReplacer'];get['view'](){return this['_view'];}constructor(_0xef91e,_0x4cb362){super(_0xef91e),this['_view']=_0x4cb362,this['_toolbarConfig']=ct(_0xef91e['config']['get']('toolbar')),this['_elementReplacer']=new nt();}get['element'](){return this['view']['element'];}['init'](_0x27499a){const _0x3746a1=this['editor'],_0x484ac3=this['view'],_0x209d6c=_0x3746a1['editing']['view'],_0x2c6493=_0x484ac3['editable'],_0x1b57f3=_0x209d6c['document']['getRoot']();_0x2c6493['name']=_0x1b57f3['rootName'],_0x484ac3['render']();const _0x16cba1=_0x2c6493['element'];this['setEditableElement'](_0x2c6493['name'],_0x16cba1),_0x484ac3['editable']['bind']('isFocused')['to'](this['focusTracker']),_0x209d6c['attachDomRoot'](_0x16cba1),this['_elementReplacer']['replace'](_0x27499a,this['element']),this['_initToolbar'](),this['fire']('ready');}['destroy'](){super['destroy']();const _0x454dd8=this['view'],_0x28b0f9=this['editor']['editing']['view'];this['_elementReplacer']['restore'](),_0x28b0f9['detachDomRoot'](_0x454dd8['editable']['name']),_0x454dd8['destroy']();}['_initToolbar'](){const _0x389cef=this['view'];_0x389cef['stickyPanel']['bind']('isActive')['to'](this['focusTracker'],'isFocused'),_0x389cef['stickyPanel']['limiterElement']=_0x389cef['element'],_0x389cef['stickyPanel']['bind']('viewportTopOffset')['to'](this,'viewportOffset',({top:_0x2a5a43})=>_0x2a5a43),_0x389cef['toolbar']['fillFromConfig'](this['_toolbarConfig'],this['componentFactory']),this['addToolbar'](_0x389cef['toolbar']);}}class ot extends dt{['_editable'];['stickyPanel'];['toolbar'];get['editable'](){return this['_editable'];}constructor(_0x46ec84,_0x23138d,_0x2540cf={}){super(_0x46ec84),this['stickyPanel']=new lt(_0x46ec84),this['toolbar']=new pt(_0x46ec84,{'shouldGroupWhenFull':_0x2540cf['shouldToolbarGroupWhenFull']}),this['_editable']=new ut(_0x46ec84,_0x23138d);}['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(_0x17b3c8,_0x2aec7f){super(_0x2aec7f),this['sourceElement']=_0x17b3c8,this['model']['document']['createRoot']();const _0xe5ec4b=new ot(this['locale'],this['editing']['view'],{'shouldToolbarGroupWhenFull':!0x0});this['_ui']=new st(this,_0xe5ec4b);}['destroy'](){return this['updateSourceElement'](),this['ui']['destroy'](),super['destroy']();}static async['create'](_0x6a72be,_0x1eef84){const _0x1de80b=new this(_0x6a72be,_0x1eef84);return await _0x1de80b['initPlugins'](),await _0x1de80b['ui']['init'](_0x6a72be),await _0x1de80b['data']['init'](_0x1de80b['config']['get']('initialData')||''),_0x1de80b['fire']('ready'),_0x1de80b;}}const p=['RevisionHistoryUI','RestrictedEditingMode'];class k extends _0x3bc8af{['result'];static get['pluginName'](){return'RevisionViewerIntegration';}constructor(_0x55c3ae){super(_0x55c3ae),this['result']='end';}}class H extends _0x3bc8af{['_viewerEditor'];static get['pluginName'](){return'RevisionHistory';}static get['requires'](){return[l,u];}constructor(_0x269414){if(super(_0x269414),!this['editor']['config']['get']('revisionHistory'))throw new _0x4dd44b('revision-history-missing-configuration',this);this['_viewerEditor']=null,this['editor']['config']['define']('revisionHistory.showRevisionViewerCallback',_0x4c9386=>this['_showRevisionViewer']({..._0x4c9386,'translations':this['editor']['locale']['translations']})),this['editor']['config']['define']('revisionHistory.closeRevisionViewerCallback',_0x314345=>this['_closeRevisionViewer'](_0x314345)),this['editor']['config']['define']('revisionHistory.restoreRevisionCallback',_0x43e095=>this['_restoreRevision'](_0x43e095)),this['editor']['config']['define']('revisionHistory.requireRevisionName',!0x1),this['_enhanceShowRevisionViewerCallback'](),this['_enhanceCloseRevisionViewerCallback']();}set['adapter'](_0x3c7786){this['editor']['plugins']['get']('RevisionTracker')['adapter']=_0x3c7786;}get['adapter'](){return this['editor']['plugins']['get']('RevisionTracker')['adapter'];}['addRevisionData'](_0x5789b2){return this['editor']['plugins']['get']('RevisionTracker')['addRevisionData'](_0x5789b2);}['getRevision'](_0x21381a){return this['editor']['plugins']['get']('RevisionsRepository')['getRevision'](_0x21381a);}['getRevisions'](_0x207921){return this['editor']['plugins']['get']('RevisionsRepository')['getRevisions'](_0x207921||{'toJSON':!0x1});}['_getRevisionViewerEditorConfig'](){const _0x11e473=this['editor'],_0x565e87=_0x1e2ca8(_0x11e473,p),_0x4328a6=_0x11e473['plugins']['get']('RevisionTracker'),_0x475aa2=_0x11e473['plugins']['get']('Users')['users'];return _0x565e87['toolbar']=['exitToEditing','restoreRevision','changesNavigation'],delete _0x565e87['lazyRoots'],(_0x565e87['plugins']['push'](k,d,R,class extends _0x3bc8af{static get['requires'](){return[d,'Users'];}['init'](){const _0x588374=this['editor']['plugins']['get']('Users');for(const _0x25a37c of _0x475aa2)_0x25a37c['isAnonymous']||_0x588374['getUser'](_0x25a37c['id'])||_0x588374['addUser'](_0x25a37c);const _0x43f68a=_0x4328a6['repository']['getRevisions']();let _0x1b7e0e=null;const _0x178ea2=this['editor']['plugins']['get']('RevisionViewer');_0x178ea2['adapter']=_0x4328a6['adapter'],_0x178ea2['bind']('isEnabled')['to'](_0x4328a6),this['editor']['commands']['get']('restoreRevision')['bind']('isEnabled')['to'](_0x11e473,'isReadOnly',_0x2dbd56=>!_0x2dbd56);for(const _0x28e4d4 of _0x43f68a){const _0x5b5b72=null===_0x28e4d4['creator'];if(_0x5b5b72&&_0x28e4d4['toVersion']===_0x28e4d4['fromVersion'])continue;const _0x5b88b8=_0x28e4d4['toJSON']();_0x178ea2['addRevisionData'](_0x5b88b8,(_0x498828,_0x3a58c4,_0xd66cc9)=>{if(_0x5b5b72){if(_0x1b7e0e)_0x1b7e0e['_update'](_0x498828,_0x3a58c4);else{if(!_0x3a58c4){const _0x4524ba=_0xd66cc9['toJSON']();_0x4524ba['id']=_0x42c424(),_0x4328a6['saveRevision'](_0x4524ba,_0xd66cc9['toVersion'])['then'](_0x2d5ab4=>{_0x1b7e0e=_0x2d5ab4;});}}}else _0x28e4d4['_update'](_0x498828,_0x3a58c4);});}}},w),_0x565e87);}['_enhanceShowRevisionViewerCallback'](){const _0x38333e=this['editor']['config']['get']('revisionHistory')['showRevisionViewerCallback'];this['editor']['config']['set']('revisionHistory.showRevisionViewerCallback',async()=>{this['editor']['enableReadOnlyMode']('revision-history-viewer-opened');const _0x230fe1=this['editor']['plugins']['get']('RevisionTracker');if(this['editor']['plugins']['has']('Autosave')){const _0x281669=this['editor']['plugins']['get']('Autosave');await _0x281669['save']();}else await _0x230fe1['update']();if(this['editor']['plugins']['has']('PaginationLookup')&&this['editor']['plugins']['get']('PaginationLookup')['_recalculatePageBreaks'](),this['editor']['plugins']['has']('Dialog')){const _0x1b78e7=this['editor']['plugins']['get']('Dialog');_0x1b78e7['isOpen']&&_0x1b78e7['hide']();}const _0x91f5ba=this['_getRevisionViewerEditorConfig']();return _0x38333e(_0x91f5ba)['then'](_0x4cfa82=>{return(this['_viewerEditor']=_0x4cfa82,this['editor']['plugins']['has']('Annotations'))&&this['editor']['plugins']['get']('Annotations')['refreshVisibility'](),_0x4cfa82;})['catch'](_0x4d7ea4=>(console['error'](_0x4d7ea4),this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),null));});}['_enhanceCloseRevisionViewerCallback'](){const _0x43ae42=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'](),_0x43ae42(this['_viewerEditor'])['then'](()=>{if(this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),this['_viewerEditor']=null,this['editor']['plugins']['has']('Annotations')){const _0x3545c4=this['editor']['plugins']['get']('Annotations');_0x3545c4['refreshVisibility'](),_0x3545c4['refreshPositioning']();}})));}['_showRevisionViewer'](_0x1145ff){const _0x5a1a20=this['editor']['config']['get']('revisionHistory.editorContainer'),_0x592531=this['editor']['config']['get']('revisionHistory.viewerContainer'),_0x307e36=this['editor']['config']['get']('revisionHistory.viewerEditorElement');return m['create'](_0x307e36,_0x1145ff)['then'](_0x406d4f=>(_0x592531['style']['display']='block',_0x5a1a20['style']['display']='none',_0x406d4f));}['_closeRevisionViewer'](_0x49ede4){const _0x47a906=this['editor']['config']['get']('revisionHistory.editorContainer');return this['editor']['config']['get']('revisionHistory.viewerContainer')['style']['display']='none',_0x47a906['style']['display']='',_0x49ede4['destroy']();}async['_restoreRevision'](_0x53008e){const _0x4bd381=this['editor'],_0x4c3fd6=this['_viewerEditor']['plugins']['get']('RevisionViewer'),_0x4388e5=_0x4bd381['plugins']['get']('RevisionTracker'),_0x4cce9b=_0x4c3fd6['repository']['getRevision'](_0x53008e);let _0x44ff81,_0x1cbe4e,_0x524a9e;try{_0x44ff81=await _0x4c3fd6['getRevisionData'](_0x4cce9b),_0x1cbe4e=await _0x4c3fd6['getRevisionRootsAttributes'](_0x4cce9b);}catch(_0x1a2525){return void console['error'](_0x1a2525);}_0x4bd381['model']['change'](_0x2808f8=>{for(const _0x356c29 of Array['from'](_0x4bd381['model']['markers']['getMarkersGroup']('restrictedEditingException')))_0x2808f8['removeMarker'](_0x356c29);}),_0x4c3fd6['isReady']=!0x1,_0x4bd381['model']['enqueueChange'](_0x3f20f3=>{_0x3f20f3['setSelection'](null),_0x3f20f3['removeSelectionAttribute'](_0x4bd381['model']['document']['selection']['getAttributeKeys']());const _0x159f58=Object['keys'](_0x44ff81);for(const _0xa9dba of _0x4bd381['model']['document']['roots'])'$graveyard'!=_0xa9dba['rootName']&&_0xa9dba['isAttached']()&&!_0x159f58['includes'](_0xa9dba['rootName'])&&_0x3f20f3['detachRoot'](_0xa9dba);for(const _0x369145 of _0x159f58){let _0x1d7d01=_0x4bd381['model']['document']['getRoot'](_0x369145);_0x1d7d01&&_0x1d7d01['isAttached']()||(_0x1d7d01=_0x3f20f3['addRoot'](_0x369145));const _0x21bcc7=_0x1cbe4e[_0x369145],_0x298454=Object['keys'](_0x21bcc7),_0x541d73=_0x44ff81[_0x369145];for(const _0x4f1051 of _0x1d7d01['getAttributeKeys']())_0x298454['includes'](_0x4f1051)||_0x3f20f3['removeAttribute'](_0x4f1051,_0x1d7d01);for(const _0x8ad2f9 of _0x298454)_0x3f20f3['setAttribute'](_0x8ad2f9,_0x1cbe4e[_0x369145][_0x8ad2f9],_0x1d7d01);_0x3f20f3['remove'](_0x3f20f3['createRangeIn'](_0x1d7d01)),_0x3f20f3['insert'](_0x4bd381['data']['parse'](_0x541d73,_0x1d7d01),_0x1d7d01,0x0);}});const _0x68bfdf=y(_0x4bd381['locale'],'Restored');if(_0x4cce9b['name'])_0x524a9e=-0x1==_0x4cce9b['name']['indexOf'](_0x68bfdf)?_0x68bfdf+':\x20'+_0x4cce9b['name']:_0x4cce9b['name'];else _0x524a9e=_0x68bfdf+':\x20'+(_0x4cce9b['createdAt']['toLocaleDateString'](_0x4bd381['locale']['uiLanguage'],{'month':'long','day':'numeric'})+',\x20'+_0x4cce9b['createdAt']['toLocaleTimeString'](_0x4bd381['locale']['uiLanguage'],{'hour':'numeric','minute':'numeric'}));return await _0x4388e5['saveRevision']({'name':_0x524a9e}),_0x4c3fd6['isReady']=!0x0,_0x4bd381['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};