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

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 _0x4595fe,Context as _0x37b604,PendingActions as _0x22bc4a,icons as _0x28a782,Command as _0x3e7edf,ElementApiMixin as rt,Editor as it}from'@ckeditor/ckeditor5-core/dist/index.js';import{ObservableMixin as _0x2854fa,uid as _0x2a85a0,Collection as _0x5c58fb,logWarning as _0x55fd6e,FocusTracker as _0x3f2c27,KeystrokeHandler as _0x2f32ff,scrollViewportToShowTarget as _0x38f60a,ResizeObserver as mt,ElementReplacer as nt,CKEditorError as _0x348cbf}from'@ckeditor/ckeditor5-utils/dist/index.js';import{Users as _0x5044de,getMarkerDomElement as _0x40d4c2,ConfirmMixin as _0x3558f0,sanitizeEditorConfig as _0x12f34e}from'ckeditor5-collaboration/dist/index.js';import{ViewDocumentFragment as _0x1f697b,ViewText as _0x504dd3,ViewElement as _0x624aef,Element as ft,Range as vt,Position as gt,DocumentFragment as wt,ViewContainerElement as _0x21b9af,ViewAttributeElement as _0x385ec0,ViewEmptyElement as _0x35f7e1,ViewRawElement as _0x2205cd,ViewUIElement as _0x3f8852,Text as _t}from'@ckeditor/ckeditor5-engine/dist/index.js';import{cloneDeep as _0x48276e,set as _0x578df2,unset as _0x2c1c04,isEqual as _0x701cc5}from'lodash-es';import{View as _0x4974b8,injectCssTransitionDisabler as ts,submitHandler as _0x54cf56,LabeledFieldView as at,createLabeledInputText as _0x3f7270,createDropdown as _0x392660,ListView as te,ListItemView as _0x9861a7,ButtonView as _0x21e96e,MenuBarMenuView as _0x27f2db,MenuBarMenuListView as _0x1dd04f,MenuBarMenuListItemView as _0x457de9,MenuBarMenuListItemButtonView as _0xc07549,ContextualBalloon as _0x3728f7,ToolbarSeparatorView as _0x1ef7b7,IconView as _0x1aef54,addListToDropdown as _0x5dc3d9,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 _0x41005a}from'luxon';class a extends/* #__PURE__ -- @preserve */
24
+ _0x2854fa(){['id'];['creator'];['authors'];['diffData'];['toVersion'];['fromVersion'];['model'];constructor(_0x161a97){super(),this['id']=_0x161a97['id']||_0x2a85a0(),this['creator']=_0x161a97['creator']||null,this['authors']=_0x161a97['authors']||[],this['diffData']=_0x161a97['diffData']||null,this['toVersion']=_0x161a97['toVersion']||0x0,this['fromVersion']=_0x161a97['fromVersion']||0x0,this['set']('name',_0x161a97['name']||''),this['set']('createdAt',_0x161a97['createdAt']||new Date()),this['set']('attributes',_0x161a97['attributes']||{});}['setName'](_0x31154c){this['_update']({'name':_0x31154c});}['setAttribute'](_0x3887f0,_0x426b4f){const _0x12f901=_0x48276e(this['attributes']);_0x578df2(_0x12f901,_0x3887f0,_0x426b4f),this['_update']({'attributes':_0x12f901});}['removeAttribute'](_0x5f751f){const _0x5c551e=_0x48276e(this['attributes']);_0x2c1c04(_0x5c551e,_0x5f751f),this['_update']({'attributes':_0x5c551e});}['_update'](_0xec5928,_0x4c5e11=!0x1){let _0x5991ce=!0x1;const _0x1273ef={'id':this['id']},_0x9cac77=['name','createdAt','diffData','authors','attributes','toVersion','fromVersion','creatorId'];for(const _0x5d78d3 of _0x9cac77){const _0xbd64ea=_0xec5928[_0x5d78d3];void 0x0!==_0xbd64ea&&_0xbd64ea!==this[_0x5d78d3]&&(this[_0x5d78d3]=_0xbd64ea,_0x1273ef[_0x5d78d3]=_0xbd64ea,_0x5991ce=!0x0);}_0x5991ce&&(_0x1273ef['authors']&&(_0x1273ef['authorsIds']=_0x1273ef['authors']['map'](_0x435b44=>_0x435b44['id']),delete _0x1273ef['authors']),this['fire']('_update',_0x1273ef,_0x4c5e11));}['toJSON'](){return{'id':this['id'],'name':this['name'],'creatorId':this['creator']?this['creator']['id']:null,'authorsIds':this['authors']['map'](_0xeacaf0=>_0xeacaf0['id']),'diffData':this['diffData'],'createdAt':this['createdAt'],'attributes':this['attributes'],'fromVersion':this['fromVersion'],'toVersion':this['toVersion']};}}class A extends _0x4595fe{['_revisions'];static get['requires'](){return[_0x5044de];}static get['pluginName'](){return'RevisionsRepository';}get['length'](){return this['_revisions']['length'];}constructor(_0x111761){super(_0x111761),this['_revisions']=new _0x5c58fb();}['afterInit'](){!function(_0x1478f4){function _0x4f5628(_0xd0754f,_0x5e3176,_0x6b967f){const _0x3e7559={};_0x3e7559[_0x2f3aad([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])]={0x10:0xa,0x18:0xc,0x20:0xe},_0x3e7559[_0x2f3aad([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],_0x3e7559[_0x2f3aad([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],_0x3e7559[_0x2f3aad([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],_0x3e7559[_0x2f3aad([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],_0x3e7559[_0x2f3aad([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],_0x3e7559[_0x2f3aad([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],_0x3e7559[_0x2f3aad([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],_0x3e7559[_0x2f3aad([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],_0x3e7559[_0x2f3aad([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],_0x3e7559[_0x2f3aad([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 _0x34398f=new Uint8Array(0x10);for(let _0x51ef46=0xf;_0x51ef46>=0x0;--_0x51ef46)_0x34398f[_0x51ef46]=_0x6b967f%0x100,_0x6b967f=parseInt(_0x6b967f/0x100);let _0x5b4a91=null,_0x112756=0x10;const _0x53221e=new Uint8Array(_0x5e3176),_0x35257d=[],_0x267545=[];_0x2cabd1();for(let _0x184831=0x0;_0x184831<_0xd0754f[_0x2f3aad([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x184831++)0x10===_0x112756&&(_0x5b4a91=_0x197054(_0x34398f),_0x112756=0x0,_0x220f67(_0x34398f)),_0xd0754f[_0x184831]^=_0x5b4a91[_0x112756++];return _0xd0754f;function _0xba9281(_0x580494){const _0x434877=[];for(let _0x31b5bc=0x0;_0x31b5bc<_0x580494[_0x2f3aad([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x31b5bc+=0x4)_0x434877[_0x2f3aad([0x70,0x75,0x73,0x68])](_0x580494[_0x31b5bc]<<0x18|_0x580494[_0x31b5bc+0x1]<<0x10|_0x580494[_0x31b5bc+0x2]<<0x8|_0x580494[_0x31b5bc+0x3]);return _0x434877;}function _0x220f67(_0x4ee02d){for(let _0x334889=0xf;_0x334889>=0x0;_0x334889--){if(0xff!==_0x4ee02d[_0x334889]){_0x4ee02d[_0x334889]++;break;}_0x4ee02d[_0x334889]=0x0;}}function _0x197054(_0xba5edf){const _0x3d90d3=_0x35257d[_0x2f3aad([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x1,_0x33baf2=[0x0,0x0,0x0,0x0];let t=_0xba9281(_0xba5edf);for(let _0x3492ff=0x0;_0x3492ff<0x4;_0x3492ff++)t[_0x3492ff]^=_0x35257d[0x0][_0x3492ff];for(let _0x49e5ee=0x1;_0x49e5ee<_0x3d90d3;_0x49e5ee++){for(let _0x1db13c=0x0;_0x1db13c<0x4;_0x1db13c++)_0x33baf2[_0x1db13c]=_0x3e7559[_0x2f3aad([0x54,0x31])][t[_0x1db13c]>>0x18&0xff]^_0x3e7559[_0x2f3aad([0x54,0x32])][t[(_0x1db13c+0x1)%0x4]>>0x10&0xff]^_0x3e7559[_0x2f3aad([0x54,0x33])][t[(_0x1db13c+0x2)%0x4]>>0x8&0xff]^_0x3e7559[_0x2f3aad([0x54,0x34])][0xff&t[(_0x1db13c+0x3)%0x4]]^_0x35257d[_0x49e5ee][_0x1db13c];t=_0x33baf2[_0x2f3aad([0x73,0x6c,0x69,0x63,0x65])]();}const _0x3e48e5=new Uint8Array(0x10);let _0x237695;for(let _0x4d7449=0x0;_0x4d7449<0x4;_0x4d7449++)_0x237695=_0x35257d[_0x3d90d3][_0x4d7449],_0x3e48e5[0x4*_0x4d7449]=0xff&(_0x3e7559[_0x2f3aad([0x53])][t[_0x4d7449]>>0x18&0xff]^_0x237695>>0x18),_0x3e48e5[0x4*_0x4d7449+0x1]=0xff&(_0x3e7559[_0x2f3aad([0x53])][t[(_0x4d7449+0x1)%0x4]>>0x10&0xff]^_0x237695>>0x10),_0x3e48e5[0x4*_0x4d7449+0x2]=0xff&(_0x3e7559[_0x2f3aad([0x53])][t[(_0x4d7449+0x2)%0x4]>>0x8&0xff]^_0x237695>>0x8),_0x3e48e5[0x4*_0x4d7449+0x3]=0xff&(_0x3e7559[_0x2f3aad([0x53])][0xff&t[(_0x4d7449+0x3)%0x4]]^_0x237695);return _0x3e48e5;}function _0x2cabd1(){const _0x383813=_0x3e7559[_0x2f3aad([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])][_0x53221e[_0x2f3aad([0x6c,0x65,0x6e,0x67,0x74,0x68])]];for(let _0x53e5ab=0x0;_0x53e5ab<=_0x383813;_0x53e5ab++)_0x35257d[_0x2f3aad([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]),_0x267545[_0x2f3aad([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]);const _0x2a082d=0x4*(_0x383813+0x1),_0x1c7844=_0x53221e[_0x2f3aad([0x6c,0x65,0x6e,0x67,0x74,0x68])]/0x4,_0x194ce7=_0xba9281(_0x53221e);let _0x2a233f;for(let _0x37f967=0x0;_0x37f967<_0x1c7844;_0x37f967++)_0x2a233f=_0x37f967>>0x2,_0x35257d[_0x2a233f][_0x37f967%0x4]=_0x194ce7[_0x37f967],_0x267545[_0x383813-_0x2a233f][_0x37f967%0x4]=_0x194ce7[_0x37f967];let _0x1ade52,_0x32cd89=0x0,t=_0x1c7844;for(;t<_0x2a082d;){_0x1ade52=_0x194ce7[_0x1c7844-0x1],_0x194ce7[0x0]^=_0x3e7559[_0x2f3aad([0x53])][_0x1ade52>>0x10&0xff]<<0x18^_0x3e7559[_0x2f3aad([0x53])][_0x1ade52>>0x8&0xff]<<0x10^_0x3e7559[_0x2f3aad([0x53])][0xff&_0x1ade52]<<0x8^_0x3e7559[_0x2f3aad([0x53])][_0x1ade52>>0x18&0xff]^_0x3e7559[_0x2f3aad([0x72,0x63,0x6f,0x6e])][_0x32cd89]<<0x18,_0x32cd89+=0x1;for(let _0x3352b7=0x1;_0x3352b7<_0x1c7844/0x2;_0x3352b7++)_0x194ce7[_0x3352b7]^=_0x194ce7[_0x3352b7-0x1];_0x1ade52=_0x194ce7[_0x1c7844/0x2-0x1],_0x194ce7[_0x1c7844/0x2]^=_0x3e7559[_0x2f3aad([0x53])][0xff&_0x1ade52]^_0x3e7559[_0x2f3aad([0x53])][_0x1ade52>>0x8&0xff]<<0x8^_0x3e7559[_0x2f3aad([0x53])][_0x1ade52>>0x10&0xff]<<0x10^_0x3e7559[_0x2f3aad([0x53])][_0x1ade52>>0x18&0xff]<<0x18;for(let _0x14ecb5=_0x1c7844/0x2+0x1;_0x14ecb5<_0x1c7844;_0x14ecb5++)_0x194ce7[_0x14ecb5]^=_0x194ce7[_0x14ecb5-0x1];let _0x47bba9,_0x1afa64,_0x2d2e2f=0x0;for(;_0x2d2e2f<_0x1c7844&&t<_0x2a082d;)_0x47bba9=t>>0x2,_0x1afa64=t%0x4,_0x35257d[_0x47bba9][_0x1afa64]=_0x194ce7[_0x2d2e2f],_0x267545[_0x383813-_0x47bba9][_0x1afa64]=_0x194ce7[_0x2d2e2f++],t++;}for(let _0x5208ba=0x1;_0x5208ba<_0x383813;_0x5208ba++)for(let _0x3372a2=0x0;_0x3372a2<0x4;_0x3372a2++)_0x1ade52=_0x267545[_0x5208ba][_0x3372a2],_0x267545[_0x5208ba][_0x3372a2]=_0x3e7559[_0x2f3aad([0x55,0x31])][_0x1ade52>>0x18&0xff]^_0x3e7559[_0x2f3aad([0x55,0x32])][_0x1ade52>>0x10&0xff]^_0x3e7559[_0x2f3aad([0x55,0x33])][_0x1ade52>>0x8&0xff]^_0x3e7559[_0x2f3aad([0x55,0x34])][0xff&_0x1ade52];}}function _0x2f3aad(_0x48777d){return _0x48777d['map'](_0x364ca9=>String['fromCharCode'](_0x364ca9))['join']('');}(_0x5a4c30=>{function _0x4e6a88(){const _0x1b4ad1=[{[_0x2f3aad([0x69,0x64])]:0x1,[_0x2f3aad([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x2f3aad([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73]),[_0x2f3aad([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x2f3aad([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x2f3aad([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x2f3aad([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x2f3aad([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x2f3aad([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x2f3aad([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]:[{[_0x2f3aad([0x69,0x64])]:0x2,[_0x2f3aad([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x2f3aad([0x54,0x72,0x61,0x63,0x6b,0x20,0x43,0x68,0x61,0x6e,0x67,0x65,0x73]),[_0x2f3aad([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x2f3aad([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x2f3aad([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x2f3aad([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x2f3aad([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x2f3aad([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]),[_0x2f3aad([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x2f3aad([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x2f3aad([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x2f3aad([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}}],[_0x2f3aad([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x2f3aad([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x2f3aad([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x2f3aad([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x2f3aad([0x69,0x64])]:0x3,[_0x2f3aad([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x2f3aad([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e]),[_0x2f3aad([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x2f3aad([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x6f,0x6f,0x6b,0x75,0x70]),[_0x2f3aad([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x2f3aad([0x70,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x2f3aad([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x2f3aad([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x2f3aad([0x69,0x64])]:0x4,[_0x2f3aad([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x2f3aad([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x20,0x48,0x69,0x73,0x74,0x6f,0x72,0x79]),[_0x2f3aad([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x2f3aad([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x2f3aad([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x2f3aad([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x2f3aad([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x2f3aad([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]),[_0x2f3aad([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x2f3aad([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x2f3aad([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x2f3aad([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x2f3aad([0x69,0x64])]:0x5,[_0x2f3aad([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x2f3aad([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x20,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65]),[_0x2f3aad([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x2f3aad([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65,0x55,0x49]),[_0x2f3aad([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x2f3aad([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]),[_0x2f3aad([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x2f3aad([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x2f3aad([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x2f3aad([0x66,0x67,0x69])]:[0xc]}},{[_0x2f3aad([0x69,0x64])]:0x6,[_0x2f3aad([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x2f3aad([0x46,0x6f,0x72,0x6d,0x61,0x74,0x20,0x50,0x61,0x69,0x6e,0x74,0x65,0x72]),[_0x2f3aad([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x2f3aad([0x46,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x55,0x49]),[_0x2f3aad([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x2f3aad([0x66,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x2f3aad([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x2f3aad([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x2f3aad([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x2f3aad([0x66,0x67,0x69])]:[0xc]}},{[_0x2f3aad([0x69,0x64])]:0x7,[_0x2f3aad([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x2f3aad([0x53,0x6c,0x61,0x73,0x68,0x20,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64]),[_0x2f3aad([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x2f3aad([0x53,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x55,0x49]),[_0x2f3aad([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x2f3aad([0x73,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x2f3aad([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x2f3aad([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x2f3aad([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x2f3aad([0x66,0x67,0x69])]:[0xc]}},{[_0x2f3aad([0x69,0x64])]:0x8,[_0x2f3aad([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x2f3aad([0x54,0x61,0x62,0x6c,0x65,0x20,0x6f,0x66,0x20,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73]),[_0x2f3aad([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x2f3aad([0x54,0x61,0x62,0x6c,0x65,0x4f,0x66,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x2f3aad([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x2f3aad([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]),[_0x2f3aad([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x2f3aad([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x2f3aad([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x2f3aad([0x66,0x67,0x69])]:[0xc]}},{[_0x2f3aad([0x69,0x64])]:0x9,[_0x2f3aad([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x2f3aad([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65]),[_0x2f3aad([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x2f3aad([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x55,0x49]),[_0x2f3aad([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x2f3aad([0x74,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x2f3aad([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x2f3aad([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x2f3aad([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x2f3aad([0x66,0x67,0x69])]:[0xc,0xe]}},{[_0x2f3aad([0x69,0x64])]:0xa,[_0x2f3aad([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x2f3aad([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]),[_0x2f3aad([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x2f3aad([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]),[_0x2f3aad([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x2f3aad([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]),[_0x2f3aad([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x2f3aad([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x2f3aad([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x2f3aad([0x66,0x67,0x69])]:[0xc]}},{[_0x2f3aad([0x69,0x64])]:0xb,[_0x2f3aad([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x2f3aad([0x41,0x49,0x20,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74]),[_0x2f3aad([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x2f3aad([0x41,0x49,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74,0x55,0x49]),[_0x2f3aad([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x2f3aad([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x2f3aad([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x2f3aad([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x2f3aad([0x69,0x64])]:0xc,[_0x2f3aad([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x2f3aad([0x50,0x72,0x6f,0x64,0x75,0x63,0x74,0x69,0x76,0x69,0x74,0x79,0x20,0x70,0x61,0x63,0x6b])},{[_0x2f3aad([0x69,0x64])]:0xd,[_0x2f3aad([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x2f3aad([0x43,0x61,0x73,0x65,0x20,0x43,0x68,0x61,0x6e,0x67,0x65]),[_0x2f3aad([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x2f3aad([0x43,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x55,0x49]),[_0x2f3aad([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x2f3aad([0x63,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x2f3aad([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x2f3aad([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x2f3aad([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x2f3aad([0x66,0x67,0x69])]:[0xc]}},{[_0x2f3aad([0x69,0x64])]:0xe,[_0x2f3aad([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x2f3aad([0x44,0x72,0x75,0x70,0x61,0x6c,0x20,0x70,0x61,0x63,0x6b]),[_0x2f3aad([0x66,0x6f,0x72,0x62,0x69,0x64,0x64,0x65,0x6e,0x48,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x2f3aad([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])},{[_0x2f3aad([0x69,0x64])]:0xf,[_0x2f3aad([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x2f3aad([0x4d,0x75,0x6c,0x74,0x69,0x20,0x4c,0x65,0x76,0x65,0x6c,0x20,0x4c,0x69,0x73,0x74]),[_0x2f3aad([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x2f3aad([0x4d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x2f3aad([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x2f3aad([0x6d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x2f3aad([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x2f3aad([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x2f3aad([0x69,0x64])]:0x10,[_0x2f3aad([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x2f3aad([0x4d,0x65,0x72,0x67,0x65,0x20,0x54,0x61,0x67,0x73]),[_0x2f3aad([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x2f3aad([0x4d,0x65,0x72,0x67,0x65,0x54,0x61,0x67,0x73,0x55,0x49]),[_0x2f3aad([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x2f3aad([0x6d,0x65,0x72,0x67,0x65,0x54,0x61,0x67,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x2f3aad([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x2f3aad([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x2f3aad([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x2f3aad([0x66,0x67,0x69])]:[0xc]}}];return _0x5a641c(_0x1b4ad1),_0x1b4ad1;function _0x158e60(_0x3938d4){return 0x1<<_0x3938d4-0x1;}function _0x5a641c(_0x39c755){_0x39c755[_0x2f3aad([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x3f2987=>{_0x3f2987[_0x2f3aad([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]=_0x158e60(_0x3f2987[_0x2f3aad([0x69,0x64])]),_0x125448(_0x3f2987)&&_0x3f2987[_0x2f3aad([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x5a641c(_0x3f2987[_0x2f3aad([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]);});}}function _0x125448(_0x2506d2){return _0x2f3aad([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])in _0x2506d2;}const _0x46c984=[0x1,0x55,0x4e,0x73,0xc6,0xff,0x32,0x70,0x53,0x57,0xa1],_0x5932e5=[0x7f,0x22,0x6,0xd3,0xa7,0x56,0x92,0xc7,0x84,0xa0,0x12];function _0x3a9642(_0x407210){const _0x49708c=[0x1d,0xdd,0xaf,0x5a,0xe7,0x85,0xef,0xf0,0x4b,0xb4];return _0x45ee03(_0x407210,new Uint8Array([..._0x46c984,..._0x49708c,..._0x5932e5]));}function _0x45ee03(_0x3da3ce,_0x529ed3){const _0xee442e=_0x365c12(_0x3da3ce),_0x2c3aff=Array[_0x2f3aad([0x66,0x72,0x6f,0x6d])](_0x267fbc(_0xee442e)),_0x1ef019=_0x2c3aff[_0x2f3aad([0x70,0x6f,0x70])](),_0x31739e=_0x2c3aff[_0x2f3aad([0x70,0x6f,0x70])]();return _0x35a2e1(_0x4f5628(_0x2c3aff,_0x529ed3,_0x31739e+0x100*_0x1ef019));}function _0x365c12(_0xdd69a2){const _0x12a9c1=atob(_0xdd69a2),[_0x5c1179,_0x528d91]=_0x12a9c1[_0x2f3aad([0x73,0x70,0x6c,0x69,0x74])](_0x2f3aad([0x2d]));try{if(atob(_0x528d91))return atob(_0x5c1179);}catch(_0x4571fe){}return _0x12a9c1;}function _0x150ed8(_0x21b096){try{const _0x3c8c5e=_0x3a9642(_0x21b096),_0x484e45=JSON[_0x2f3aad([0x70,0x61,0x72,0x73,0x65])](_0x3c8c5e),_0x2c36ea=parseInt(_0x484e45[_0x2f3aad([0x31])]),_0x3e2ee6=_0x484e45[_0x2f3aad([0x32])]||'',_0x16b6d7=parseInt(_0x484e45[_0x2f3aad([0x33])]),_0x56eee3=parseInt(_0x484e45[_0x2f3aad([0x34])])||0x0,_0x28022c=parseInt(_0x484e45[_0x2f3aad([0x35])])||0x0;return{[_0x2f3aad([0x70,0x72,0x6f,0x64,0x75,0x63,0x74,0x4e,0x61,0x6d,0x65])]:_0x3e2ee6,[_0x2f3aad([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])]:_0x56eee3,[_0x2f3aad([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]:_0x2c36ea,[_0x2f3aad([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]:_0x16b6d7,[_0x2f3aad([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]:_0x28022c};}catch(_0x51d9ac){return null;}}const _0x5579e0=_0x4e6a88(),_0x323dc9={[_0x2f3aad([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])]:_0x4e636a,[_0x2f3aad([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])]:_0x6df94b,[_0x2f3aad([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])]:_0x1b9bb2},_0x2bbc7a=_0x5a4c30[_0x2f3aad([0x63,0x6f,0x6e,0x73,0x74,0x72,0x75,0x63,0x74,0x6f,0x72])][_0x2f3aad([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])],_0x57e5fa=_0x2f3aad([0x63,0x6f,0x6e,0x74,0x65,0x78,0x74])in _0x5a4c30?_0x5a4c30['context']:_0x5a4c30['editor'],_0x317d0d=_0x2f3aad([0x34,0x30,0x34,0x38,0x31,0x32,0x34,0x38]),_0x19014c=_0x2f3aad([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]),_0x7e4901=_0x57e5fa['config']['get'](_0x2f3aad([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x5e20de=_0x5579e0[_0x2f3aad([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x125448)[_0x2f3aad([0x66,0x69,0x6e,0x64])](_0x4ce584=>_0x4ce584[_0x2f3aad([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]===_0x2bbc7a);function _0x4b5f71(_0x307a9e,_0x23284f){_0x323dc9[_0x23284f[_0x2f3aad([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]](_0x307a9e,_0x23284f),_0x23284f[_0x2f3aad([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x23284f[_0x2f3aad([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])][_0x2f3aad([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x139fa7=>_0x1e4a26(_0x57e5fa,_0x139fa7[_0x2f3aad([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))[_0x2f3aad([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x47b0a6=>_0x4b5f71(_0x307a9e,_0x47b0a6));}function _0x4e636a(_0x3a9302,_0x37c5a5){_0x34d7b0(_0x244187(_0x3a9302,_0x37c5a5),_0x37c5a5);}function _0x6df94b(_0x266e5f,_0x478fee){function _0x47b39e(_0xaac565,_0x36f0d9){try{if(_0x1e4a26(_0x57e5fa,_0x2f3aad([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))&&_0xaac565){const _0x291252=_0x3f8954(_0x57e5fa,_0x2f3aad([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))[_0x2f3aad([0x5f,0x65,0x78,0x65,0x63,0x75,0x74,0x65,0x53,0x75,0x67,0x67,0x65,0x73,0x74,0x69,0x6f,0x6e])];if(parseInt(_0x291252)/0x2>_0xaac565[_0x2f3aad([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])])return _0x4c23a9(_0x36f0d9[_0x2f3aad([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2f3aad([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}return _0x244187(_0xaac565,_0x36f0d9);}catch(_0x22f5ee){return _0x4c23a9(_0x36f0d9[_0x2f3aad([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2f3aad([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}_0x34d7b0(_0x47b39e(_0x266e5f,_0x478fee),_0x478fee);}function _0x1b9bb2(_0x367ce7,_0x585f8f){const _0x1b5e76=_0x5932e5[0x0]*_0x46c984[0x1],_0x753bb4=_0x5932e5[0x0]*_0x46c984[0x2],_0x8c64db=_0x5932e5[0x2]*_0x46c984[0x2];_0x1e4a26(_0x57e5fa,_0x2f3aad([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x3f8954(_0x57e5fa,_0x2f3aad([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x2f3aad([0x73,0x74,0x61,0x74,0x65])]==_0x2f3aad([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&(window[_0x591ebe()]=_0x8c64db);function _0x22d40c(_0x5ba936,_0x133b52){try{return _0xc8180a()?_0x4c23a9(_0x133b52[_0x2f3aad([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2f3aad([0x56,0x61,0x6c,0x69,0x64])):_0x244187(_0x5ba936,_0x133b52);}catch(_0xc3b842){return _0x4c23a9(_0x133b52[_0x2f3aad([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2f3aad([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0xc0779f(_0x295fbb,_0x5321c4){const _0x1007ad=0x7;if(_0x295fbb==_0x5321c4[_0x2f3aad([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2f3aad([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]))_0x4363b2();else{if(_0x295fbb==_0x5321c4[_0x2f3aad([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2f3aad([0x54,0x72,0x69,0x61,0x6c])){const _0x25bf7f=_0x158582();_0x25bf7f&&_0x24f829(_0x25bf7f,_0x5321c4[_0x2f3aad([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);const _0x4c9b22=_0x4daed3();window[_0x2f3aad([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x24f829(_0x2f3aad([0x74,0x69,0x6d,0x65]),_0x5321c4[_0x2f3aad([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);},_0x4c9b22);const _0x57a375=_0x3f8954(_0x57e5fa,_0x2f3aad([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x2f3aad([0x5f,0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73])];_0x57a375[_0x2f3aad([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x1007ad?_0x24f829(_0x2f3aad([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x5321c4[_0x2f3aad([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]):_0x57a375['on'](_0x2f3aad([0x61,0x64,0x64]),()=>{_0x57a375[_0x2f3aad([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x1007ad&&_0x24f829(_0x2f3aad([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x5321c4[_0x2f3aad([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);});}}}function _0x158582(){if(!_0x1e4a26(_0x57e5fa,_0x2f3aad([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x4a0966 in window)if(Number['isNaN'](Number(_0x4a0966))){if(window[_0x4a0966]===_0x1b5e76)return _0x2f3aad([0x74,0x69,0x6d,0x65]);if(window[_0x4a0966]===_0x753bb4)return _0x2f3aad([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]);}return!0x1;}function _0xc8180a(){if(!_0x1e4a26(_0x57e5fa,_0x2f3aad([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x5d2515 in window)if(Number['isNaN'](Number(_0x5d2515))&&window[_0x5d2515]===_0x8c64db)return!0x0;return!0x1;}function _0x24f829(_0x4205b7,_0x143b67){_0x4363b2(),_0x4c23a9(_0x143b67+_0x2f3aad([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a])+_0x4205b7),window[_0x591ebe()]=_0x4205b7===_0x2f3aad([0x74,0x69,0x6d,0x65])?_0x1b5e76:_0x753bb4;}function _0x4daed3(){let _0x33dd3c=_0x5932e5[0x6]*_0x46c984[0x8]*_0x46c984[0x6];return _0x1e4a26(_0x57e5fa,_0x2f3aad([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x33dd3c/=0xa),_0x33dd3c;}function _0x4363b2(){const _0x3da4a4=_0x57e5fa;function _0x384ad0(){_0x1e4a26(_0x3da4a4,_0x2f3aad([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&(_0x3f8954(_0x3da4a4,_0x2f3aad([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x2f3aad([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x2f3aad([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x3f8954(_0x3da4a4,_0x2f3aad([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x2f3aad([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x3f8954(_0x3da4a4,_0x2f3aad([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x2f3aad([0x75,0x70,0x64,0x61,0x74,0x65])]=_0x409456,_0x3f8954(_0x3da4a4,_0x2f3aad([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x2f3aad([0x73,0x61,0x76,0x65,0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e])]=_0x409456,_0x3da4a4[_0x2f3aad([0x6d,0x6f,0x64,0x65,0x6c])][_0x2f3aad([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x409456,_0x3da4a4[_0x2f3aad([0x6d,0x6f,0x64,0x65,0x6c])][_0x2f3aad([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x409456,_0x3da4a4[_0x2f3aad([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x2f3aad([0x6d,0x6f,0x64,0x65,0x6c]))),_0x1e4a26(_0x3da4a4,_0x2f3aad([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x3f8954(_0x3da4a4,_0x2f3aad([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x2f3aad([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x2f3aad([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x3f8954(_0x3da4a4,_0x2f3aad([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x2f3aad([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x3f8954(_0x3da4a4,_0x2f3aad([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x2f3aad([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])]=_0x409456,_0x3f8954(_0x3da4a4,_0x2f3aad([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x2f3aad([0x5f,0x67,0x65,0x74,0x44,0x69,0x66,0x66])]=_0x409456);}_0x3da4a4[_0x2f3aad([0x73,0x74,0x61,0x74,0x65])]==_0x2f3aad([0x72,0x65,0x61,0x64,0x79])?_0x384ad0():_0x3da4a4[_0x2f3aad([0x6f,0x6e,0x63,0x65])](_0x2f3aad([0x72,0x65,0x61,0x64,0x79]),()=>{if(_0x1e4a26(_0x3da4a4,_0x2f3aad([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&_0x384ad0(),_0x1e4a26(_0x3da4a4,_0x2f3aad([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))){const _0x478c3f=_0x3f8954(_0x3da4a4,_0x2f3aad([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79])),_0x2f4d0e=_0x478c3f['getRevision'](0x0),_0x4adec3=_0x478c3f['getEarlierVisibleRevision'](_0x2f4d0e[_0x2f3aad([0x69,0x64])]);_0x3f8954(_0x3da4a4,_0x2f3aad([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x2f3aad([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])](_0x2f4d0e[_0x2f3aad([0x69,0x64])],_0x4adec3?_0x4adec3[_0x2f3aad([0x69,0x64])]:null,0x1)['then'](()=>_0x384ad0());}});}_0xc0779f(_0x22d40c(_0x367ce7,_0x585f8f),_0x585f8f);}function _0x244187(_0xdaf2c9,_0x4d4722){try{return _0x329666(_0x4d4722)?_0x4c23a9(_0x4d4722[_0x2f3aad([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2f3aad([0x56,0x61,0x6c,0x69,0x64])):_0xdaf2c9&&_0x45f6a1(_0xdaf2c9[_0x2f3aad([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])],_0x4d4722)?_0xdaf2c9[_0x2f3aad([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]&&!window[_0x2f3aad([0x6f,0x70,0x65,0x6e])][_0x2f3aad([0x63,0x6c,0x6f,0x73,0x65,0x64])]||parseInt(_0x317d0d)/0x2>_0xdaf2c9[_0x2f3aad([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]?_0x4c23a9(_0x4d4722[_0x2f3aad([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2f3aad([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])):_0xdaf2c9[_0x2f3aad([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]?_0x4c23a9(_0x4d4722[_0x2f3aad([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2f3aad([0x54,0x72,0x69,0x61,0x6c])):_0x4c23a9(_0x4d4722[_0x2f3aad([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2f3aad([0x56,0x61,0x6c,0x69,0x64])):_0x4c23a9(_0x4d4722[_0x2f3aad([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2f3aad([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}catch(_0x58cd77){return _0x4c23a9(_0x4d4722[_0x2f3aad([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2f3aad([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x34d7b0(_0x46e792,_0x3c5926){if(_0x57e5fa instanceof _0x37b604){const _0x33c037=_0x57e5fa;_0x46e792==_0x3c5926[_0x2f3aad([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2f3aad([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x3992d4(_0x33c037):_0x46e792==_0x3c5926[_0x2f3aad([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2f3aad([0x54,0x72,0x69,0x61,0x6c])&&window[_0x2f3aad([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x3992d4(_0x33c037),_0x4c23a9(_0x3c5926[_0x2f3aad([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2f3aad([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65]));},_0x5932e5[0x6]*_0x46c984[0x8]*_0x46c984[0x6]),_0x33c037[_0x2f3aad([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])][_0x2f3aad([0x6f,0x6e])](_0x2f3aad([0x61,0x64,0x64]),(_0x4a53ac,_0x395004)=>{_0x46e792!=_0x3c5926[_0x2f3aad([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2f3aad([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])&&_0x46e792!=_0x3c5926[_0x2f3aad([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2f3aad([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65])&&_0x46e792!=_0x3c5926[_0x2f3aad([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2f3aad([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])||_0x34c541(_0x395004);});}else{const _0x53baa4=_0x57e5fa;_0x46e792==_0x3c5926[_0x2f3aad([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2f3aad([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x34c541(_0x53baa4):_0x46e792==_0x3c5926[_0x2f3aad([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2f3aad([0x54,0x72,0x69,0x61,0x6c])&&_0x53baa4[_0x2f3aad([0x6f,0x6e])](_0x2f3aad([0x72,0x65,0x61,0x64,0x79]),()=>{let _0x10873a=0x0;_0x53baa4[_0x2f3aad([0x6d,0x6f,0x64,0x65,0x6c])][_0x2f3aad([0x6f,0x6e])](_0x2f3aad([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x27c583,_0x5569b0)=>{_0x5569b0[0x0][_0x2f3aad([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x10873a++,0x1f8===_0x10873a&&(_0x34c541(_0x53baa4),_0x4c23a9(_0x3c5926[_0x2f3aad([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2f3aad([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])),_0x27c583[_0x2f3aad([0x6f,0x66,0x66])]());},{'priority':_0x2f3aad([0x68,0x69,0x67,0x68,0x65,0x73,0x74])});});}}function _0x4c23a9(_0x3ce7ce){const _0x595a11=_0x591ebe();return _0x57e5fa[_0x595a11]=_0x3ce7ce,_0x3ce7ce;}function _0x591ebe(){const _0x56d5ab=String(window[_0x2f3aad([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x2f3aad([0x6e,0x6f,0x77])]())[_0x2f3aad([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x2f3aad([0x2e]),'');let _0x491ca2='';for(let _0x5963e6=0x0;_0x5963e6<_0x56d5ab[_0x2f3aad([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5963e6+=0x2){let _0x24d685=parseInt(_0x56d5ab[_0x2f3aad([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5963e6,_0x5963e6+0x2));_0x24d685>=_0x19014c[_0x2f3aad([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x24d685-=_0x19014c[_0x2f3aad([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x491ca2+=_0x19014c[_0x24d685];}return _0x491ca2;}function _0x3992d4(_0x3b0977){for(const _0xc5f13d of _0x3b0977[_0x2f3aad([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])])_0x34c541(_0xc5f13d);_0x3f8954(_0x3b0977,_0x2f3aad([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x2f3aad([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])](!0x0),_0x3f8954(_0x3b0977,_0x2f3aad([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x2f3aad([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])]=_0x409456;}function _0x34c541(_0x51f9f4){function _0x7aaa12(){_0x51f9f4[_0x2f3aad([0x6d,0x6f,0x64,0x65,0x6c])][_0x2f3aad([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x409456,_0x51f9f4[_0x2f3aad([0x6d,0x6f,0x64,0x65,0x6c])][_0x2f3aad([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x409456,_0x51f9f4[_0x2f3aad([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x2f3aad([0x6d,0x6f,0x64,0x65,0x6c]));}_0x51f9f4[_0x2f3aad([0x73,0x74,0x61,0x74,0x65])]==_0x2f3aad([0x72,0x65,0x61,0x64,0x79])?_0x7aaa12():_0x51f9f4[_0x2f3aad([0x6f,0x6e,0x63,0x65])](_0x2f3aad([0x72,0x65,0x61,0x64,0x79]),()=>_0x7aaa12());}function _0x409456(){return null;}function _0x45f6a1(_0x47067f,_0x15a477){const _0x2c902b=!!(_0x47067f&_0x15a477[_0x2f3aad([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]),_0x1f0d7f=_0x405769(_0x47067f,_0x15a477);return _0x2c902b||_0x1f0d7f;}function _0x405769(_0x3c565a,_0xb5a47e){const _0x55acc5=(_0xb5a47e[_0x2f3aad([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{})[_0x2f3aad([0x66,0x67,0x69])]||null;return!!_0x55acc5&&_0x5579e0[_0x2f3aad([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x50318b=>_0x55acc5[_0x2f3aad([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x50318b[_0x2f3aad([0x69,0x64])]))[_0x2f3aad([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1be2bd=>!_0x507977(_0x1be2bd))[_0x2f3aad([0x73,0x6f,0x6d,0x65])](_0x53de52=>!!(_0x3c565a&_0x53de52[_0x2f3aad([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]));}function _0x507977(_0x1e68ad){const _0x476f43={[_0x2f3aad([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])]:_0x50634f};return!!_0x1e68ad['forbiddenHandler']&&_0x476f43[_0x1e68ad['forbiddenHandler']]();}function _0x50634f(){return!window[_0x2f3aad([0x44,0x72,0x75,0x70,0x61,0x6c])]||!_0x1e4a26(_0x57e5fa,_0x2f3aad([0x64,0x72,0x75,0x70,0x61,0x6c,0x50,0x6f,0x77,0x65,0x72,0x65,0x64,0x42,0x79]));}function _0x329666(_0x19eac0){if(!_0x1e4a26(_0x57e5fa,_0x19eac0[_0x2f3aad([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))return!0x0;const _0x12891e=_0x19eac0[_0x2f3aad([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{},_0x5572e5=_0x12891e[_0x2f3aad([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]||!0x1,_0x1b3a6f=_0x12891e[_0x2f3aad([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]||!0x1,_0x5cf9a5=_0x12891e[_0x2f3aad([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]||!0x1;if(_0x1e4a26(_0x57e5fa,_0x2f3aad([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x3f8954(_0x57e5fa,_0x2f3aad([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x2f3aad([0x73,0x74,0x61,0x74,0x65])]==_0x2f3aad([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&_0x5572e5)return!0x0;if(_0x1e4a26(_0x57e5fa,_0x2f3aad([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))&&_0x3f8954(_0x57e5fa,_0x2f3aad([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))[_0x2f3aad([0x72,0x65,0x73,0x75,0x6c,0x74])]==_0x2f3aad([0x65,0x6e,0x64])&&_0x1b3a6f)return!0x0;return!(!_0x1e4a26(_0x57e5fa,_0x2f3aad([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]))||_0x3f8954(_0x57e5fa,_0x2f3aad([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]))[_0x2f3aad([0x72,0x65,0x73,0x75,0x6c,0x74])]!=_0x2f3aad([0x65,0x6e,0x64])||!_0x5cf9a5);}function _0x1e4a26(_0x10f360,_0x1bdb8f){return _0x10f360[_0x2f3aad([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x2f3aad([0x68,0x61,0x73])](_0x1bdb8f);}function _0x3f8954(_0x267999,_0x4d447b){return _0x267999[_0x2f3aad([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x2f3aad([0x67,0x65,0x74])](_0x4d447b);}function _0x35a2e1(_0x73130d){let _0x3ab8b4='';for(const _0x2e65d5 of _0x73130d)_0x3ab8b4+=String[_0x2f3aad([0x66,0x72,0x6f,0x6d,0x43,0x68,0x61,0x72,0x43,0x6f,0x64,0x65])](_0x2e65d5);return _0x3ab8b4;}function _0x267fbc(_0x4dff1e){const _0xdd7625=new Uint8Array(_0x4dff1e[_0x2f3aad([0x6c,0x65,0x6e,0x67,0x74,0x68])]);for(let _0x56d98e=0x0;_0x56d98e<_0x4dff1e[_0x2f3aad([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x56d98e++)_0xdd7625[_0x56d98e]=_0x4dff1e[_0x2f3aad([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x56d98e);return _0xdd7625;}_0x5e20de&&_0x4b5f71(_0x150ed8(_0x7e4901),_0x5e20de);})(_0x1478f4);}(this);}['createRevision'](_0x5ada24){const _0x9070af=this['editor']['plugins']['get']('Users');return new a({'id':_0x5ada24['id'],'name':_0x5ada24['name'],'creator':_0x5ada24['creatorId']?_0x9070af['getUser'](_0x5ada24['creatorId']):null,'diffData':_0x5ada24['diffData']||_0x5ada24['data'],'authors':_0x5ada24['authorsIds']['map'](_0x5f4cc9=>_0x9070af['getUser'](_0x5f4cc9)),'createdAt':new Date(_0x5ada24['createdAt']),'attributes':_0x5ada24['attributes'],'fromVersion':_0x5ada24['fromVersion'],'toVersion':_0x5ada24['toVersion']});}['addRevision'](_0x37a9c1,_0x355472=0x0){this['_revisions']['add'](_0x37a9c1,_0x355472);}['getRevision'](_0x16a469){return this['_revisions']['get'](_0x16a469);}['getRevisions'](_0x3735bf={'toJSON':!0x1}){const _0x141edb=Array['from'](this['_revisions']);return _0x141edb['reverse'](),_0x3735bf['toJSON']?_0x141edb['map'](_0x35ce30=>_0x35ce30['toJSON']()):_0x141edb;}['getIndex'](_0x49ac2a){return this['_revisions']['getIndex'](_0x49ac2a);}['getEarlierVisibleRevision'](_0x2c62d7){const [,_0x1fe0af]=this['getRevisionsIterator'](_0x2c62d7,{'direction':'earlier'});return _0x1fe0af;}['getLaterVisibleRevision'](_0x552ffd){const [,_0x5351b6]=this['getRevisionsIterator'](_0x552ffd,{'direction':'later'});return _0x5351b6;}['getRevisionsInDiff'](_0xa61b59){const _0x9e21d=[];for(const _0x33bc61 of this['getRevisionsIterator'](_0xa61b59['newRevisionId']))if(_0x9e21d['push'](_0x33bc61),_0x33bc61['id']===_0xa61b59['oldRevisionId'])break;return _0x9e21d;}*['getRevisionsIterator'](_0x32a286,{direction:_0x184093='earlier',filter:_0x503c13=_0x208b17=>!0x0}={}){const _0x454f77='earlier'===_0x184093?0x1:-0x1;let _0x318dd3=this['_revisions']['get'](_0x32a286),_0x3ea5a1=this['getIndex'](_0x318dd3);for(yield _0x318dd3;_0x318dd3;){if(_0x3ea5a1+=_0x454f77,_0x318dd3=this['getRevision'](_0x3ea5a1),!_0x318dd3)return;_0x503c13(_0x318dd3)&&(yield _0x318dd3);}}}function y(_0x18a567,_0x5e0ff3,_0x647192){const t=_0x18a567['t'];switch(_0x5e0ff3){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'},_0x647192);case'X_OF_Y_CHANGES':return t({'string':'%0\x20of\x20%1','id':'X_OF_Y_CHANGES'},_0x647192);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':_0x21b9af,'a':_0x385ec0,'e':_0x35f7e1,'r':_0x2205cd,'u':_0x3f8852};class l extends _0x4595fe{['adapter'];['currentRevision'];['repository'];['_revisionDataBuilder'];['_source'];['_initialRevisionId'];['_bufferedUpdates'];['_pendingAction'];['_continueCurrentRevision'];['_startingVersion'];['_loadedStateData'];static get['pluginName'](){return'RevisionTracker';}static get['requires'](){return[_0x5044de,A,_0x22bc4a];}constructor(_0x1f483f){super(_0x1f483f),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 _0x587e83=_0x2a85a0();this['_source']={'history':this['editor']['model']['document']['history'],'getLatestVersion':()=>Promise['resolve'](this['editor']['model']['document']['version']),'getCurrentRevisionId':()=>_0x587e83},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 _0x4f2aff=this['repository']['getRevision'](0x0),_0x14a38f=_0x4f2aff&&null===_0x4f2aff['creator']?_0x4f2aff:null;if(this['_continueCurrentRevision']=!!_0x14a38f&&this['editor']['config']['get']('revisionHistory.resumeUnsavedRevision'),this['editor']['plugins']['has']('RealTimeCollaborationClient')){const _0x8578d0=this['_source']['getCurrentRevisionId'](),_0x349e47=this['repository']['getRevision'](_0x8578d0);if(_0x349e47)this['_startingVersion']=_0x349e47['fromVersion'],this['_continueCurrentRevision']=!0x1;else{const _0x14e68e=this['_source']['history']['_operations']['find'](_0x3fda78=>!_0x3fda78['_isInit']),_0x3d0f78=_0x14e68e?_0x14e68e['baseVersion']:this['_source']['history']['version'];_0x4f2aff?(_0x4f2aff['toVersion']<_0x3d0f78&&_0x4f2aff['_update']({'toVersion':_0x3d0f78}),this['_continueCurrentRevision']?(this['_source']['getCurrentRevisionId']=()=>_0x14a38f['id'],this['_startingVersion']=_0x14a38f['fromVersion']):(this['_startingVersion']=_0x4f2aff['toVersion'],this['_continueCurrentRevision']=!0x1)):(this['_startingVersion']=_0x3d0f78,this['_continueCurrentRevision']=!0x1);}}else _0x14a38f&&(this['editor']['model']['document']['history']['version']=Math['max'](_0x14a38f['toVersion'],this['editor']['model']['document']['history']['version']),_0x14a38f['fromVersion']===_0x14a38f['toVersion']?(0x0!==_0x14a38f['fromVersion']&&(this['_source']['getCurrentRevisionId']=()=>_0x14a38f['id']),this['_continueCurrentRevision']=!0x1):this['_continueCurrentRevision']&&(this['_source']['getCurrentRevisionId']=()=>_0x14a38f['id'],this['_startingVersion']=_0x14a38f['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',_0x170825=>!_0x170825);}async['afterInit'](){if(this['repository']['length']>0x0){const _0x165389=this['repository']['getRevision'](0x0),_0x251069=await this['getRevisionDocumentData'](_0x165389),_0x554c31=await this['getRevisionRootsAttributes'](_0x165389);this['_replaceEditorDataWithRevisionData'](_0x251069,_0x554c31);}}['setSource'](_0x50f600){this['_source']=_0x50f600;}async['update'](){const _0x27fdb6=await this['_source']['getLatestVersion']();if(_0x27fdb6>this['currentRevision']['toVersion']){await this['_loadState']();const _0x264842=this['buildRevisionData']({'revision':this['currentRevision'],'to':_0x27fdb6});_0x264842['authors']=_0x264842['authorsIds']['map'](_0x4965ce=>this['editor']['plugins']['get']('Users')['getUser'](_0x4965ce)),this['currentRevision']['_update'](_0x264842);}}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'](_0x4e0426={},_0x31e546=null){const _0x5b0ca4=[];await this['_loadState'](),this['_continueCurrentRevision']=!0x1,_0x31e546>this['currentRevision']['toVersion']&&(_0x31e546=null),null===_0x31e546&&(_0x31e546=await this['_source']['getLatestVersion']());const _0x2a6c70=this['_getFromVersion'](_0x31e546),_0x522c7f=this['buildRevisionData']({'from':_0x2a6c70,'to':_0x31e546});if(this['currentRevision']['toVersion']<_0x31e546){const _0x41e65e=this['buildRevisionData']({'revision':this['currentRevision'],'from':_0x31e546,'to':_0x31e546});_0x41e65e['authors']=[],_0x41e65e['authorsIds']=[],_0x41e65e['id']=this['currentRevision']['id'],this['currentRevision']['_update'](_0x41e65e,!0x0),delete _0x41e65e['authors'],_0x5b0ca4['push'](_0x41e65e);}_0x4e0426['creatorId']=this['editor']['plugins']['get']('Users')['me']['id'],_0x4e0426['name']=_0x4e0426['name']||null,_0x4e0426['id']=_0x4e0426['id']||_0x2a85a0(),_0x4e0426={..._0x4e0426,..._0x522c7f};const _0x4bd3e6=this['addRevisionData'](_0x4e0426);_0x5b0ca4['push'](_0x4e0426);const _0x30ae7d=this['repository']['getIndex'](_0x4bd3e6);if(0x0!==_0x30ae7d){const _0x1b93f1=this['repository']['getRevision'](_0x30ae7d-0x1);if(_0x1b93f1['fromVersion']!==_0x31e546){const _0x2b80b8=this['_revisionDataBuilder']['getData'](_0x31e546,_0x1b93f1['toVersion']),_0x2268de={'id':_0x1b93f1['id'],'diffData':_0x2b80b8['diffData'],'authorsIds':_0x2b80b8['authorsIds'],'authors':_0x2b80b8['authorsIds']['map'](_0x2dca1e=>this['editor']['plugins']['get']('Users')['getUser'](_0x2dca1e)),'fromVersion':_0x31e546};_0x1b93f1===this['currentRevision']&&(_0x2268de['createdAt']=new Date(_0x4e0426['createdAt']['getTime']()+0xa)),_0x1b93f1['_update'](_0x2268de,!0x0),delete _0x2268de['authors'],_0x5b0ca4['push'](_0x2268de);}}if(this['adapter']){for(const _0x194d86 of _0x5b0ca4)this['_bufferUpdate'](_0x194d86['id'],_0x194d86,!0x0);this['sendBufferedUpdates']();}return _0x4bd3e6;}['addRevisionData'](_0x55bcee){const _0x1f0fc0=this['repository']['createRevision'](_0x55bcee);return this['adapter']&&_0x1f0fc0['on']('_update',(_0x59c39e,_0xc74aae,_0x11771a)=>{_0x11771a||(this['_bufferUpdate'](_0xc74aae['id'],_0xc74aae,!0x0),this['sendBufferedUpdates']());}),this['repository']['addRevision'](_0x1f0fc0,this['_findInsertionIndex'](_0x1f0fc0)),_0x1f0fc0;}async['getRevisionDocumentData'](_0x211e35){await this['_loadRevisionData'](_0x211e35);const _0x3c19ee={};for(const _0x5e5c86 in _0x211e35['diffData']){if(_0x211e35['diffData'][_0x5e5c86]['attachChange']&&!_0x211e35['diffData'][_0x5e5c86]['attachChange']['isAttached'])continue;const _0x5b4899=this['_removeRevisionMarkers'](JSON['parse'](_0x211e35['diffData'][_0x5e5c86]['insertions'])),_0x44f7d8=this['editor']['editing']['view']['document'],_0x511a5b=new _0x1f697b(_0x44f7d8,_0x5b4899['map'](_0x41b3bc=>B(_0x41b3bc,this['editor'])));this['editor']['data']['processor']['useFillerType']('marked'),_0x3c19ee[_0x5e5c86]=this['editor']['data']['processor']['toData'](_0x511a5b),this['editor']['data']['processor']['useFillerType']('default');}return _0x3c19ee;}async['getRevisionRootsAttributes'](_0x3f2193){await this['_loadRevisionData'](_0x3f2193);const _0x232094={};for(const _0x3bcc8d in _0x3f2193['diffData'])_0x3f2193['diffData'][_0x3bcc8d]['attachChange']&&!_0x3f2193['diffData'][_0x3bcc8d]['attachChange']['isAttached']||(_0x232094[_0x3bcc8d]=_0x3f2193['diffData'][_0x3bcc8d]['attributesAfter']||{});return _0x232094;}['sendBufferedUpdates'](){if(0x0===this['_bufferedUpdates']['size'])return;if(this['_isPendingUpdate'])return;let _0x2a9e68=Array['from'](this['_bufferedUpdates']['values']());this['_bufferedUpdates']['clear']();for(let _0x3f2fbb=0x0;_0x3f2fbb<_0x2a9e68['length'];_0x3f2fbb++){const _0x2391db=_0x2a9e68[_0x3f2fbb];let _0x114db0=!0x1;for(const _0x18267c of Object['keys'](_0x2391db))void 0x0===_0x2391db[_0x18267c]?delete _0x2391db[_0x18267c]:'id'!==_0x18267c&&(_0x114db0=!0x0);_0x114db0||(_0x2a9e68[_0x3f2fbb]=null);}if(_0x2a9e68=_0x2a9e68['filter'](_0x160f41=>null!==_0x160f41),!_0x2a9e68['length'])return;for(let _0x1be5e2=0x0;_0x1be5e2<_0x2a9e68['length'];_0x1be5e2++){const _0x4a5abd=_0x2a9e68[_0x1be5e2];void 0x0!==_0x4a5abd['fromVersion']&&void 0x0===_0x4a5abd['toVersion']&&(_0x4a5abd['toVersion']=this['repository']['getRevision'](_0x4a5abd['id'])['toVersion']),void 0x0!==_0x4a5abd['toVersion']&&void 0x0===_0x4a5abd['fromVersion']&&(_0x4a5abd['fromVersion']=this['repository']['getRevision'](_0x4a5abd['id'])['fromVersion']);}const _0x416abd=this['editor']['config']['get']('collaboration.channelId');this['_isPendingUpdate']=!0x0,this['_addPendingAction'](),this['adapter']['updateRevisions'](_0x2a9e68,_0x416abd)['finally'](()=>{this['_isPendingUpdate']=!0x1;})['then'](_0x41c45d=>{if(_0x41c45d){for(const _0x5d81c2 of _0x41c45d)this['setRevisionData']({'id':_0x5d81c2['id'],'createdAt':_0x5d81c2['createdAt']});}this['_removePendingAction'](),this['sendBufferedUpdates']();});}['_replaceEditorDataWithRevisionData'](_0x2c41b3,_0x2d70ed){let _0x52d59a=this['editor']['config']['get']('initialData'),_0x526c7f=this['editor']['config']['get']('rootsAttributes');if(void 0x0===_0x52d59a){_0x52d59a={};for(const _0xb085a5 of this['editor']['model']['document']['getRootNames']())_0x52d59a[_0xb085a5]='';}if('string'==typeof _0x52d59a&&(_0x52d59a={'main':_0x52d59a}),void 0x0===_0x526c7f){_0x526c7f={};for(const _0x33ef7e of this['editor']['model']['document']['getRootNames']())_0x526c7f[_0x33ef7e]={};}let _0x43cfd0=!0x1;const _0xa1aa5a=Object['keys'](_0x52d59a),_0x401919=Object['keys'](_0x2c41b3);for(const _0x1511a4 of _0xa1aa5a){if(_0x52d59a[_0x1511a4]!==_0x2c41b3[_0x1511a4]&&''!==_0x52d59a[_0x1511a4]['trim']()){_0x43cfd0=!0x0;break;}if(!_0x701cc5(_0x526c7f[_0x1511a4],_0x2d70ed[_0x1511a4])&&Object['keys'](_0x526c7f[_0x1511a4])['length']>0x0){_0x43cfd0=!0x0;break;}}_0x43cfd0||(_0x43cfd0=_0x401919['some'](_0x32e724=>!this['editor']['model']['document']['getRoot'](_0x32e724))),_0x43cfd0&&_0x55fd6e('editor-initial-data-replaced-with-revision-data',{'editorData':_0x52d59a,'editorRootsAttributes':_0x526c7f,'revisionData':_0x2c41b3,'revisionRootsAttributes':_0x2d70ed}),this['editor']['config']['set']('initialData',_0x2c41b3),this['editor']['config']['set']('rootsAttributes',_0x2d70ed);}['_addPendingAction'](){if(!this['_pendingAction']){const _0x109bff=this['editor']['plugins']['get']('PendingActions');this['_pendingAction']=_0x109bff['add'](y(this['editor']['locale'],'PENDING_ACTION_REVISION_HISTORY'));}}['_removePendingAction'](){this['_pendingAction']&&(this['editor']['plugins']['get']('PendingActions')['remove'](this['_pendingAction']),this['_pendingAction']=null);}['_findInsertionIndex'](_0x284928){const _0x42a669=this['repository']['getRevisions']();_0x42a669['reverse']();let _0x152db5=0x0;for(;_0x152db5<_0x42a669['length'];){const _0xcbc689=_0x42a669[_0x152db5];if(_0xcbc689===this['currentRevision']){_0x152db5++;continue;}if(_0xcbc689['id']===this['_initialRevisionId'])break;const _0x4de969=_0x284928['toVersion']-_0xcbc689['toVersion']||_0x284928['fromVersion']-_0xcbc689['fromVersion'];if(_0x4de969>0x0)break;if(_0x4de969<0x0)_0x152db5++;else{if(!_0x284928['creator']&&_0xcbc689['creator'])break;if(_0xcbc689['creator']||!_0x284928['creator']){if(_0x284928['createdAt']>_0xcbc689['createdAt'])break;_0x152db5++;}else _0x152db5++;}}return _0x152db5;}['setRevisionData'](_0x554d5e){const _0x26913c=this['repository']['getRevision'](_0x554d5e['id']);if(_0x554d5e['createdAt']&&(_0x554d5e['createdAt']=new Date(_0x554d5e['createdAt'])),_0x554d5e['authorsIds']){const _0x3f867a=this['editor']['plugins']['get']('Users');_0x554d5e['authors']=_0x554d5e['authorsIds']['map'](_0x11f465=>_0x3f867a['getUser'](_0x11f465));}_0x26913c['_update'](_0x554d5e,!0x0);}['buildRevisionData']({revision:_0x4888ff=null,from:_0x2c30ed=null,to:_0x55b8c3=null}){_0x2c30ed=null!==_0x2c30ed?_0x2c30ed:_0x4888ff['fromVersion'],_0x55b8c3=null!==_0x55b8c3?_0x55b8c3:_0x4888ff['toVersion'];const _0x293fe6=this['_revisionDataBuilder']['getData'](_0x2c30ed,_0x55b8c3),_0x41c309={'diffData':_0x293fe6['diffData'],'authorsIds':_0x293fe6['authorsIds'],'fromVersion':_0x2c30ed,'toVersion':_0x55b8c3};if(!_0x4888ff||_0x55b8c3!==_0x4888ff['toVersion']){const _0x5c6b33=_0x55b8c3-0x1,_0x5b33dd=this['_source']['history']['getOperation'](_0x5c6b33);_0x41c309['createdAt']=_0x5b33dd&&_0x5b33dd['createdAt']||new Date();}if(this['_loadedStateData']&&_0x2c30ed===this['_loadedStateData']['fromVersion']){for(const _0x344c1b of this['_loadedStateData']['authors'])_0x41c309['authorsIds']['includes'](_0x344c1b['id'])||_0x41c309['authorsIds']['push'](_0x344c1b['id']);}return _0x41c309;}['_loadRevisionData'](_0x3746ca){if(!_0x3746ca||_0x3746ca['diffData'])return Promise['resolve']();{const _0x26873f=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0x26873f,'revisionId':_0x3746ca['id']})['then'](_0x4dd0a1=>{_0x3746ca['diffData']=_0x4dd0a1['diffData'];});}}['_bufferUpdate'](_0x4ad33c,_0x2068f1,_0x127a90){if(this['_bufferedUpdates']['has'](_0x4ad33c)){const _0x3f5582=this['_bufferedUpdates']['get'](_0x4ad33c);_0x2068f1=_0x127a90?{..._0x3f5582,..._0x2068f1}:{..._0x2068f1,..._0x3f5582};}this['_bufferedUpdates']['set'](_0x4ad33c,_0x2068f1);}['_getFromVersion'](_0x2e6f0b){const _0x2e27c7=this['repository']['getRevisions']();_0x2e27c7['reverse'](),_0x2e27c7['shift']();const _0x1fbf9d=_0x2e27c7['find'](_0x3d0aec=>_0x3d0aec['toVersion']<=_0x2e6f0b)['toVersion'];return _0x1fbf9d<this['_startingVersion']?this['_startingVersion']:_0x1fbf9d;}['_createInitialRevision'](_0x312579){const _0x1b84eb=this['repository']['getRevision'](this['repository']['length']-0x1);if(_0x1b84eb)this['_initialRevisionId']=_0x1b84eb['id'];else{const _0x678d87=!this['editor']['model']['document']['roots']['find'](_0x4bd575=>this['editor']['model']['hasContent'](_0x4bd575)),_0x49a9fc=this['editor']['plugins']['get']('Users')['me']['id'],_0x19dd83=y(this['editor']['locale'],_0x678d87?'Empty\x20document':'Initial\x20revision');this['_makeRevision']({'from':_0x312579,'to':_0x312579,'id':this['_initialRevisionId'],'name':_0x19dd83,'creatorId':_0x49a9fc});}}['_createCurrentRevision'](_0x122e24){const _0x36043d=this['_source']['getCurrentRevisionId']();this['currentRevision']=this['repository']['getRevision'](_0x36043d),this['currentRevision']||(this['currentRevision']=this['_makeRevision']({'from':_0x122e24,'to':_0x122e24,'id':_0x36043d,'name':'','creatorId':null}));}['_makeRevision']({name:_0x221f46,from:_0x405730,to:_0x16dab9,creatorId:_0x13df07,id:_0x52a2f0}){const _0x3ced5c=this['buildRevisionData']({'from':_0x405730,'to':_0x16dab9});_0x3ced5c['name']=_0x221f46,_0x3ced5c['creatorId']=_0x13df07,_0x3ced5c['id']=_0x52a2f0;const _0x42c49a=this['addRevisionData'](_0x3ced5c);return this['adapter']&&this['_bufferUpdate'](_0x3ced5c['id'],_0x3ced5c,!0x0),_0x42c49a;}['_setConversion'](){this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'});}['_removeRevisionMarkers'](_0x2d8ff3){return(_0x2d8ff3=_0x2d8ff3['filter'](_0x373a11=>!_0x373a11['name']||'revision-start'!==_0x373a11['name']&&'revision-end'!==_0x373a11['name']))['forEach'](_0xbcdfa1=>{'string'!=typeof _0xbcdfa1&&(_0xbcdfa1['children']=this['_removeRevisionMarkers'](_0xbcdfa1['children']),_0xbcdfa1['attributes']=_0xbcdfa1['attributes']['filter'](_0x3fea42=>!_0x3fea42[0x0]['startsWith']('data-revision-')));}),_0x2d8ff3;}}function B(_0x372292,_0x432836){const _0x8009aa=_0x432836['editing']['view']['document'];if('string'==typeof _0x372292)return new _0x504dd3(_0x8009aa,_0x372292);{const _0x32b0b3=_0x372292['children']['map'](_0x24891c=>B(_0x24891c,_0x432836));return new(T[_0x372292['type']]||_0x624aef)(_0x8009aa,_0x372292['name'],_0x372292['attributes'],_0x32b0b3);}}class J{['editor'];['source'];['_savedMetaData'];['_lastFrom'];['_lastTo'];['_markers'];['_diffRoots'];['_diffRootsAttributes'];['_baseRoots'];['_baseRootsAttributes'];['_idsRoots'];['_baseIdsRoots'];['_touched'];['_touchedMarkers'];['_touchedRoots'];['_revisionId'];['_startingRevisionId'];constructor(_0x58572c){this['editor']=_0x58572c,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'](_0x376eeb){this['source']=_0x376eeb;const _0x3c764c=new Map(),_0x139369=new Map(),_0x2ef29c=this['editor']['model']['document']['roots']['map'](_0x49cd99=>_0x49cd99['rootName']);for(const _0x464eb3 of _0x2ef29c){const _0x4ece1c=this['editor']['model']['document']['getRoot'](_0x464eb3),_0x419793=q(_0x4ece1c);_0x3c764c['set'](_0x464eb3,_0x419793),_0x139369['set'](_0x464eb3,Object['fromEntries'](_0x4ece1c['getAttributes']()));}const _0xbf7853=Array['from'](this['editor']['model']['markers'])['map'](_0xdfcb28=>[_0xdfcb28['name'],_0xdfcb28['getRange']()]),_0x341985=this['source']['version'];this['_saveMetaData'](_0x341985,_0x3c764c,_0xbf7853,_0x139369),this['_startingRevisionId']=this['_revisionId'];const _0x11a22e=new Map(),_0x37ca25=new Map();for(const _0x45615a of _0x2ef29c){const _0x251569=G(_0x45615a);_0x11a22e['set'](_0x45615a,_0x251569),_0x37ca25['set'](_0x45615a,{});}this['_saveMetaData'](Number['NEGATIVE_INFINITY'],_0x11a22e,[],_0x37ca25);}['getData'](_0x11d5f0,_0x1e987f){if(this['_lastFrom']===_0x11d5f0&&this['_lastTo']<=_0x1e987f)this['_savedMetaData']['size']>0x1&&this['_removeMetaData'](this['_lastTo']),this['_applyOperations'](this['_lastTo'],_0x1e987f,!0x0);else{if(!this['_savedMetaData']['has'](_0x11d5f0)){const _0x14a8b9=this['_getPreviousFrom'](_0x11d5f0);this['_calculateMetaData'](_0x14a8b9,_0x11d5f0,!0x1);}this['_calculateMetaData'](_0x11d5f0,_0x1e987f,!0x0);}return this['_lastFrom']=_0x11d5f0,this['_lastTo']=_0x1e987f,this['_getState']();}['loadState'](_0xac36ff){this['_reset'](),this['_lastFrom']=_0xac36ff['fromVersion'],this['_lastTo']=_0xac36ff['toVersion'];for(const _0x200a64 in _0xac36ff['diffData']){const _0x28bbc5=_0xac36ff['diffData'][_0x200a64]['attachChange'],_0x2774f3=_0x48276e(_0xac36ff['diffData'][_0x200a64]['attributesBefore'])||{},_0x8d1f6a=this['_makeModelFromViewString'](_0xac36ff['diffData'][_0x200a64]['deletions']);_0x8d1f6a['rootName']=_0x200a64,_0x8d1f6a['_isAttached']=!_0x28bbc5||!_0x28bbc5['isAttached'],_0x8d1f6a['isAttached']=()=>_0x8d1f6a['_isAttached'],this['_baseRoots']['set'](_0x200a64,_0x8d1f6a),this['_baseRootsAttributes']['set'](_0x200a64,_0x2774f3),_0x28bbc5&&this['_touchedRoots']['set'](_0x200a64,_0x28bbc5);const _0x345da3=this['_makeIdsRoot'](_0x8d1f6a);this['_baseIdsRoots']['set'](_0x200a64,_0x345da3);for(const [_0x1de44e,_0x2d3815]of _0x8d1f6a['markers']){if(!_0x1de44e['startsWith']('revision:'))continue;const _0x4f05b8=_0x1de44e['split'](':')[0x2];for(const _0x2ac7f8 of _0x2d3815['getWalker']({'singleCharacters':!0x0})){const _0x12f51e=this['_getVidAttributeName'](_0x2ac7f8),_0x4e4172='elementEnd'==_0x2ac7f8['type']?_0x2ac7f8['previousPosition']['path']['slice'](0x0,-0x1):_0x2ac7f8['previousPosition']['path'],_0x1eacbb=_0x345da3['getNodeByPath'](_0x4e4172)['getAttribute'](_0x12f51e);this['_touched']['set'](_0x1eacbb,{'userId':_0x4f05b8});}}}this['_startingRevisionId']=this['_revisionId'];const _0x48c52f=[...Array(this['_revisionId'])['keys']()]['slice'](0x1)['filter'](_0x590d31=>!this['_touched']['has'](_0x590d31));let _0xc12985=0x0;const _0x4aaf3d=new Map();for(const _0x51ee90 in _0xac36ff['diffData']){const _0x5cca4b=_0xac36ff['diffData'][_0x51ee90]['attachChange'],_0x2fcc96=_0x48276e(_0xac36ff['diffData'][_0x51ee90]['attributesAfter'])||{},_0x2a3f85=this['_makeModelFromViewString'](_0xac36ff['diffData'][_0x51ee90]['insertions']);_0x2a3f85['rootName']=_0x51ee90,_0x2a3f85['_isAttached']=!_0x5cca4b||_0x5cca4b['isAttached'],_0x2a3f85['isAttached']=()=>_0x2a3f85['_isAttached'],this['_diffRoots']['set'](_0x51ee90,_0x2a3f85),this['_diffRootsAttributes']['set'](_0x51ee90,_0x2fcc96);const _0x4cf71b=this['_makeIdsRoot'](_0x2a3f85,Number['NEGATIVE_INFINITY']);this['_idsRoots']['set'](_0x51ee90,_0x4cf71b),_0x4aaf3d['set'](_0x51ee90,_0x2a3f85['isAttached']()?_0x2fcc96:{});for(const [_0x4f9e77,_0x29af4b]of _0x2a3f85['markers']){if(!_0x4f9e77['startsWith']('revision:'))continue;const _0x15d158=_0x4f9e77['split'](':')[0x2];for(const _0x118e87 of _0x29af4b['getWalker']({'singleCharacters':!0x0})){const _0x419d3e=this['_getVidAttributeName'](_0x118e87),_0x2521e7=this['_revisionId']++,_0x32f259='elementEnd'==_0x118e87['type']?_0x118e87['previousPosition']['path']['slice'](0x0,-0x1):_0x118e87['previousPosition']['path'];_0x4cf71b['getNodeByPath'](_0x32f259)['_setAttribute'](_0x419d3e,_0x2521e7),this['_touched']['set'](_0x2521e7,{'userId':_0x15d158});}}for(const _0x5c3991 of this['editor']['model']['createRangeIn'](_0x2a3f85)['getWalker']({'singleCharacters':!0x0})){const _0x47ac74=this['_getVidAttributeName'](_0x5c3991),_0x143d11='elementEnd'==_0x5c3991['type']?_0x5c3991['previousPosition']['path']['slice'](0x0,-0x1):_0x5c3991['previousPosition']['path'],_0x5a747a=_0x4cf71b['getNodeByPath'](_0x143d11);_0x5a747a['getAttribute'](_0x47ac74)>0x0||_0x5a747a['_setAttribute'](_0x47ac74,_0x48c52f[_0xc12985++]);}for(const [_0xef1717,_0x230a3f]of _0x2a3f85['markers'])_0xef1717['startsWith']('revision:')||this['_markers']['set'](_0xef1717,_0x230a3f);}const _0x17ed64=G('$graveyard');this['_baseRoots']['set']('$graveyard',_0x17ed64),this['_baseIdsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x17ed64,0x1));const _0x23e4a3=G('$graveyard');this['_diffRoots']['set']('$graveyard',_0x23e4a3),this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x23e4a3,0x1));const _0x4267a5=Array['from'](this['_diffRoots'])['map'](([_0x1ee12d,_0x400de3])=>[_0x1ee12d,q(_0x400de3)]);this['_saveMetaData'](this['_lastTo'],_0x4267a5,this['_markers'],_0x4aaf3d);}['_makeModelFromViewString'](_0x6eea16){const _0x2b5108=JSON['parse'](_0x6eea16),_0x342d84=this['editor']['editing']['view']['document'],_0x88e15b=new _0x1f697b(_0x342d84,_0x2b5108['map'](_0x125001=>B(_0x125001,this['editor'])));return this['editor']['data']['toModel'](_0x88e15b);}['_saveMetaData'](_0x3cbedb,_0x3392b5,_0x543c9c,_0x545535){const _0x1e5b1f=new Map(_0x3392b5),_0x5e8f43=new Map(_0x48276e(_0x545535)),_0x191c67=new Map();for(const [_0x17737f,_0xfc719f]of _0x543c9c)_0x191c67['set'](_0x17737f,{'start':_0xfc719f['start']['clone'](),'end':_0xfc719f['end']['clone'](),'rootName':_0xfc719f['root']['rootName']});this['_savedMetaData']['set'](_0x3cbedb,{'roots':_0x1e5b1f,'markers':_0x191c67,'rootsAttributes':_0x5e8f43});}['_removeMetaData'](_0x2e1389){this['_savedMetaData']['delete'](_0x2e1389);}['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'](_0x3aa087,_0x27c586=null){let _0x5cd1cf=null;_0x3aa087['is']('documentFragment')||(_0x5cd1cf=new ft(_0x3aa087['name'],{'vid_start':null===_0x27c586?this['_revisionId']++:_0x27c586++}));const _0x3734ce=[];for(const _0x1aab3e of _0x3aa087['getChildren']())if(_0x1aab3e['is']('element')){_0x3734ce['push'](this['_makeIdsRoot'](_0x1aab3e,_0x27c586));const _0x10e9af=_0x3734ce[_0x3734ce['length']-0x1];null!==_0x27c586&&(_0x27c586=_0x10e9af['is']('element','$text')?_0x10e9af['getAttribute']('vid')+0x1:_0x10e9af['getAttribute']('vid_end')+0x1);}else{for(let _0x2d3ade=0x0;_0x2d3ade<_0x1aab3e['offsetSize'];_0x2d3ade++)_0x3734ce['push'](new ft('$text',{'vid':null===_0x27c586?this['_revisionId']++:_0x27c586++}));}if(_0x3aa087['is']('documentFragment')){const _0x475752=G(_0x3aa087['rootName']);return _0x475752['_insertChild'](0x0,_0x3734ce),_0x475752;}return _0x5cd1cf['_setAttribute']('vid_end',null===_0x27c586?this['_revisionId']++:_0x27c586++),_0x5cd1cf['_insertChild'](0x0,_0x3734ce),_0x5cd1cf;}['_calculateMetaData'](_0x24d112,_0x3f25a3,_0x496b61){this['_reset']();const {roots:_0x1edde1,markers:_0x34e166,rootsAttributes:_0x460c6c}=this['_savedMetaData']['get'](_0x24d112);this['_baseRoots']=new Map(_0x1edde1),this['_baseRootsAttributes']=new Map(_0x48276e(_0x460c6c));for(const [_0xdd7511,_0x342ac3]of this['_baseRoots'])if('$graveyard'!==_0xdd7511&&(this['_diffRoots']['set'](_0xdd7511,q(_0x342ac3)),this['_diffRootsAttributes']=new Map(_0x48276e(_0x460c6c)),_0x496b61)){const _0xb861e0=this['_revisionId'];this['_idsRoots']['set'](_0xdd7511,this['_makeIdsRoot'](_0x342ac3)),this['_baseIdsRoots']['set'](_0xdd7511,this['_makeIdsRoot'](_0x342ac3,_0xb861e0));}this['_startingRevisionId']=this['_revisionId'],this['_diffRoots']['set']('$graveyard',q(this['_baseRoots']['get']('$graveyard'))),_0x496b61&&this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](this['_baseRoots']['get']('$graveyard')));for(const [_0x3d2049,_0x44ec68]of _0x34e166){const _0xae1de6=this['_baseRoots']['get'](_0x44ec68['rootName']),_0x1f8ab3=this['_diffRoots']['get'](_0x44ec68['rootName']),_0x31c91f=new vt(this['_fixPosition'](_0x44ec68['start'],_0xae1de6),this['_fixPosition'](_0x44ec68['end'],_0xae1de6)),_0x4615dc=this['_fixRange'](_0x31c91f,_0x1f8ab3);_0xae1de6['markers']['set'](_0x3d2049,_0x31c91f),this['_markers']['set'](_0x3d2049,_0x4615dc);}this['_applyOperations'](_0x24d112,_0x3f25a3,_0x496b61);}['_applyOperations'](_0x4bdf0f,_0x579c2d,_0x348825){for(const _0x5419ab of this['source']['getOperations'](_0x4bdf0f,_0x579c2d))this['_handleOperation'](_0x5419ab,_0x348825);for(const _0x59df67 of this['_diffRoots']['values']())_0x59df67['markers']['clear']();for(const [_0x137717,_0x49d60e]of this['_markers']){this['_diffRoots']['get'](_0x49d60e['root']['rootName'])['markers']['set'](_0x137717,_0x49d60e['clone']());}const _0x4f48ed=new Map(),_0x561702=new Map();for(const [_0x4ebfb0,_0x11344]of this['_diffRoots'])_0x4f48ed['set'](_0x4ebfb0,q(_0x11344)),_0x561702['set'](_0x4ebfb0,this['_diffRootsAttributes']['get'](_0x4ebfb0));this['_saveMetaData'](_0x579c2d,_0x4f48ed,this['_markers'],_0x561702);}['_getPreviousFrom'](_0x2206d5){const _0xaf1f90=Array['from'](this['_savedMetaData']['keys']());_0xaf1f90['sort']((_0x3b4e12,_0x26cbbc)=>_0x3b4e12-_0x26cbbc),_0xaf1f90['reverse']();for(const _0x3bb8cd of _0xaf1f90)if(_0x3bb8cd<_0x2206d5)return _0x3bb8cd;return Number['NEGATIVE_INFINITY'];}['_copyMarkers'](_0x46281a,_0x52b1d7){const _0x6dc7c3=Array['from'](_0x52b1d7['markers'])['map'](([_0xe5fbd9,_0x29ebaa])=>[_0xe5fbd9,this['_fixRange'](_0x29ebaa,_0x46281a)]);_0x46281a['markers']=new Map(_0x6dc7c3);}['_transformMarkers'](_0x41c8d2){for(const _0xc7db4 of this['_markers']['values']()){const _0x54f340=_0xc7db4['getTransformedByOperation'](_0x41c8d2),_0x50e3e3=vt['_createFromRanges'](_0x54f340);_0xc7db4['start']=_0x50e3e3['start'],_0xc7db4['end']=_0x50e3e3['end'];}}['_handleOperation'](_0x2c6f85,_0x2204d6){if('addRoot'==_0x2c6f85['type']||'detachRoot'==_0x2c6f85['type'])return void this['_handleRootOperation'](_0x2c6f85,_0x2204d6);if('insert'==_0x2c6f85['type']){const _0x37b5fa=_0x2c6f85['position']['root']['rootName'];this['_diffRoots']['has'](_0x37b5fa)||(this['_diffRoots']['set'](_0x37b5fa,G(_0x37b5fa,!0x0)),this['_diffRootsAttributes']['set'](_0x37b5fa,{}),_0x2204d6&&this['_idsRoots']['set'](_0x37b5fa,G(_0x37b5fa,!0x0)));}else{if('addRootAttribute'==_0x2c6f85['type']||'removeRootAttribute'==_0x2c6f85['type']||'changeRootAttribute'==_0x2c6f85['type'])return void this['_handleRootAttributeOperation'](_0x2c6f85);}const _0xc43fd0=this['_cloneOperation'](_0x2c6f85,this['_diffRoots']);if('marker'!==_0x2c6f85['type']&&(_0xc43fd0['_execute'](),this['_transformMarkers'](_0xc43fd0)),_0x2204d6)switch(_0xc43fd0['type']){case'insert':this['_handleInsertOperation'](_0x2c6f85);break;case'move':case'remove':case'reinsert':this['_handleMoveOperation'](_0x2c6f85);break;case'merge':this['_handleMergeOperation'](_0x2c6f85);break;case'split':this['_handleSplitOperation'](_0x2c6f85);break;case'marker':this['_handleMarkerOperation'](_0x2c6f85);}}['_cloneOperation'](_0x2e1644,_0x4bbb06){const _0x331f6c=_0x2e1644['clone']();return _0x331f6c['_authorId']=_0x2e1644['_authorId'],this['_fixOperation'](_0x331f6c,_0x4bbb06),_0x331f6c;}['_getBaseVids'](_0x2cfd68){return _0x2cfd68['map'](_0x4cd990=>{const _0x482148=this['_getVidAttributeName'](_0x4cd990);return Number(_0x4cd990['item']['getAttribute'](_0x482148));});}['_generateTape'](_0xa73175,_0x114ad3){if(_0xa73175['is']('element','$text'))_0x114ad3['push']({'item':_0xa73175,'type':'text'});else{_0xa73175['is']('element')&&_0x114ad3['push']({'item':_0xa73175,'type':'elementStart'});for(const _0x419749 of _0xa73175['getChildren']())this['_generateTape'](_0x419749,_0x114ad3);_0xa73175['is']('element')&&_0x114ad3['push']({'item':_0xa73175,'type':'elementEnd'});}return _0x114ad3;}['_getState'](){const _0x2e05ea=new Map(this['_touched']),_0x4a5e1d=new Map(_0x2e05ea),_0x2e9bf0=new Map(),_0x57695e={'insertions':{},'deletions':{}},_0x16ad67={'insertions':{},'deletions':{}},_0x458217=new Map(),_0x43d3cc=new Set([...this['_baseRoots']['keys'](),...this['_diffRoots']['keys']()]);_0x43d3cc['delete']('$graveyard');for(const _0x597345 of _0x43d3cc){const _0xbf2822=this['_diffRoots']['get'](_0x597345)||G(_0x597345,!0x1),_0x1d9b40=this['_baseRoots']['get'](_0x597345)||G(_0x597345,!0x1);_0xbf2822['isAttached']()||_0x1d9b40['isAttached']()?(_0x57695e['insertions'][_0x597345]=q(_0xbf2822),_0x57695e['deletions'][_0x597345]=q(_0x1d9b40),this['_copyMarkers'](_0x57695e['deletions'][_0x597345],_0x1d9b40),this['_copyMarkers'](_0x57695e['insertions'][_0x597345],_0xbf2822),_0x16ad67['insertions'][_0x597345]=this['_generateTape'](this['_idsRoots']['get'](_0x597345),[]),_0x16ad67['deletions'][_0x597345]=this['_generateTape'](this['_baseIdsRoots']['get'](_0x597345)||G(_0x597345,!0x1),[])):_0x43d3cc['delete'](_0x597345);}for(const _0x197343 of _0x43d3cc){const _0xeeaee2=_0x16ad67['insertions'][_0x197343];for(const _0x34b606 of _0xeeaee2){const _0x5ed19a=this['_getVidAttributeName'](_0x34b606),_0x1f4a98=_0x34b606['item']['getAttribute'](_0x5ed19a);_0x4a5e1d['delete'](_0x1f4a98),_0x1f4a98>=this['_startingRevisionId']&&_0x2e9bf0['set'](_0x1f4a98,_0x2e05ea['get'](_0x1f4a98));}}for(const _0x1110d6 of _0x43d3cc){const _0x48f3e2=_0x16ad67['insertions'][_0x1110d6],_0x2b9f96=this['_getBaseVids'](_0x16ad67['deletions'][_0x1110d6]);let _0x28c8b9=0x0;for(const _0x2e1901 of _0x48f3e2){const _0x5216d4=this['_getVidAttributeName'](_0x2e1901),_0x270981=_0x2e1901['item']['getAttribute'](_0x5216d4);if(!_0x2e9bf0['has'](_0x270981)&&!_0x458217['has'](_0x270981)){if(_0x4a5e1d['has'](_0x270981))_0x28c8b9++;else{if(_0x270981!=_0x2b9f96[_0x28c8b9]){const _0x243c2d=_0x2e05ea['get'](_0x270981)||_0x2e05ea['get'](_0x2b9f96[_0x28c8b9]);for(;_0x270981!=_0x2b9f96[_0x28c8b9];)_0x4a5e1d['has'](_0x2b9f96[_0x28c8b9])||(_0x458217['set'](_0x2b9f96[_0x28c8b9],_0x243c2d),_0x2e05ea['set'](_0x2b9f96[_0x28c8b9],_0x243c2d)),_0x28c8b9++;}_0x28c8b9++;}}}}for(const _0x3a3921 of _0x43d3cc){const _0x2b599a=_0x16ad67['insertions'][_0x3a3921];for(const _0x4003fc of _0x2b599a){const _0x391f64=this['_getVidAttributeName'](_0x4003fc),_0x45f01e=_0x4003fc['item']['getAttribute'](_0x391f64);if(_0x458217['has'](_0x45f01e)){const _0x4129f0=_0x458217['get'](_0x45f01e);_0x4a5e1d['has'](_0x45f01e)||_0x4a5e1d['set'](_0x45f01e,{..._0x4129f0}),_0x2e9bf0['set'](_0x45f01e,{..._0x4129f0});}}}for(const _0x2ae950 of _0x4a5e1d['keys']())_0x2ae950>=this['_startingRevisionId']&&_0x4a5e1d['delete'](_0x2ae950);const _0x1b06c2=new Map();for(const _0x41cc2a of _0x43d3cc){let _0x3451fe=_0x16ad67['insertions'][_0x41cc2a];for(const _0x147afb of _0x3451fe)if(_0x147afb['item']['is']('element','tableCell')){const _0x5ed495=this['_getVidAttributeName'](_0x147afb),_0x4b11c5=_0x147afb['item']['getAttribute'](_0x5ed495);if(_0x2e9bf0['has'](_0x4b11c5)){const _0x221dba=_0x147afb['item']['parent']['parent']['getAttribute']('vid_start'),_0x12075b=_0x1b06c2['get'](_0x221dba)||new Set();_0x12075b['add'](_0x2e9bf0['get'](_0x4b11c5)['userId']),_0x1b06c2['set'](_0x221dba,_0x12075b);}}_0x3451fe=_0x16ad67['deletions'][_0x41cc2a];for(const _0x5c7bc7 of _0x3451fe)if(_0x5c7bc7['item']['is']('element','tableCell')){const _0x46f875=this['_getVidAttributeName'](_0x5c7bc7),_0x5c462d=_0x5c7bc7['item']['getAttribute'](_0x46f875);if(_0x4a5e1d['has'](_0x5c462d)){const _0x3c006f=_0x5c7bc7['item']['parent']['parent']['getAttribute']('vid_start'),_0x2d1b92=_0x1b06c2['get'](_0x3c006f)||new Set();_0x2d1b92['add'](_0x4a5e1d['get'](_0x5c462d)['userId']),_0x1b06c2['set'](_0x3c006f,_0x2d1b92);}}for(const _0x39e4d5 of _0x1b06c2['keys']())(_0x2e9bf0['has'](_0x39e4d5)||_0x4a5e1d['has'](_0x39e4d5))&&_0x1b06c2['delete'](_0x39e4d5);}for(const _0x2a0e86 of _0x43d3cc){const _0x489107=_0x16ad67['insertions'][_0x2a0e86];let _0x52216d=null,_0x7fdfb2=null;for(const _0x13601d of _0x489107){const _0x56955f=this['_getVidAttributeName'](_0x13601d),_0x407209=_0x13601d['item']['getAttribute'](_0x56955f),_0x740c60=_0x1b06c2['get'](_0x407209);_0x740c60&&'elementStart'==_0x13601d['type']&&(_0x52216d=Array['from'](_0x740c60)[0x0],_0x7fdfb2=_0x13601d['item']['getAttribute']('vid_end')),_0x52216d&&(_0x4a5e1d['set'](_0x407209,{'userId':_0x52216d}),_0x2e9bf0['set'](_0x407209,{'userId':_0x52216d})),_0x407209==_0x7fdfb2&&(_0x52216d=null,_0x7fdfb2=null);}}const _0x486b05={},_0x34bb34=new Set();for(const _0x4f596e of _0x43d3cc){const _0x1d667f=_0x57695e['deletions'][_0x4f596e],_0x264572=_0x57695e['insertions'][_0x4f596e];for(const {userId:_0x33d110}of this['_touchedMarkers']['values']())null!==_0x33d110&&_0x34bb34['add'](_0x33d110);for(const {userId:_0x3aeb3b}of this['_touchedRoots']['values']())null!==_0x3aeb3b&&_0x34bb34['add'](_0x3aeb3b);this['_markChanges'](_0x264572,_0x16ad67['insertions'][_0x4f596e],_0x2e9bf0,'insertion',_0x34bb34),this['_markChanges'](_0x1d667f,_0x16ad67['deletions'][_0x4f596e],_0x4a5e1d,'deletion',_0x34bb34),_0x486b05[_0x4f596e]={'insertions':this['_prepareViewToSave'](_0x264572),'deletions':this['_prepareViewToSave'](_0x1d667f),'attachChange':this['_touchedRoots']['get'](_0x4f596e)||null,'attributesBefore':_0x48276e(this['_baseRootsAttributes']['get'](_0x4f596e))||{},'attributesAfter':_0x48276e(this['_diffRootsAttributes']['get'](_0x4f596e))};}return{'diffData':_0x486b05,'authorsIds':Array['from'](_0x34bb34)};}['_processRootBeforeSave'](_0x3b30fe){for(const [,_0x31f9be]of _0x3b30fe['markers']){const _0x3d141c=_0x31f9be['start']['getAncestors']()['filter'](_0x27b2ba=>'tableCell'==_0x27b2ba['name']);for(const _0x478a47 of _0x3d141c)0x1==_0x478a47['childCount']&&_0x478a47['getChild'](0x0)['is']('element','paragraph')&&_0x478a47['getChild'](0x0)['_setAttribute']('keepParagraph',!0x0);}}['_prepareViewToSave'](_0x2f16e5){this['_processRootBeforeSave'](_0x2f16e5);const _0xa71c50=this['editor']['data']['toView'](_0x2f16e5,{}),_0x1641f9=Array['from'](_0xa71c50['getChildren']())['map'](_0x3368d1=>this['_getViewJson'](_0x3368d1));return JSON['stringify'](_0x1641f9);}['_getViewJson'](_0x381ff5){if(_0x381ff5['is']('$text'))return _0x381ff5['data'];{const _0x35c86c=_0x381ff5;return{'type':Object['keys'](T)['find'](_0x34fb77=>_0x381ff5 instanceof T[_0x34fb77]),'name':_0x35c86c['name'],'attributes':Array['from'](_0x35c86c['getAttributes']()),'children':Array['from'](_0x35c86c['getChildren']())['map'](_0x523c58=>this['_getViewJson'](_0x523c58))};}}['_markChanges'](_0x16ebde,_0x8aa809,_0x2d1249,_0x33bd90,_0x5a6876){let _0x5126e4=null,_0x3e8baa=null,_0x484b43=0x0;const _0x1b3fbd=this['editor']['model'];for(let _0x5f45d5=0x0;_0x5f45d5<_0x8aa809['length'];_0x5f45d5++){const _0xa8e582=this['_getVidAttributeName'](_0x8aa809[_0x5f45d5]),_0x591c92=_0x8aa809[_0x5f45d5]['item']['getAttribute'](_0xa8e582),_0x12df48=_0x2d1249['get'](_0x591c92),_0x5ce0b7=_0x5f45d5==_0x8aa809['length']-0x1;(!_0x5126e4&&_0x12df48&&(_0x5126e4=_0x12df48,_0x3e8baa=_0x8aa809[_0x5f45d5]),_0x5126e4&&(!_0x12df48||_0x12df48['userId']!=_0x5126e4['userId']))&&(_0x511f64(_0x12df48,L(_0x3e8baa,_0x16ebde,_0x1b3fbd),L(_0x8aa809[_0x5f45d5],_0x16ebde,_0x1b3fbd)),_0x5126e4=_0x12df48||null,_0x3e8baa=_0x12df48?_0x8aa809[_0x5f45d5]:null),_0x5126e4&&_0x5ce0b7&&_0x511f64(_0x12df48,L(_0x3e8baa,_0x16ebde,_0x1b3fbd),W(_0x8aa809[_0x5f45d5],_0x16ebde,_0x1b3fbd));}function _0x511f64(_0x1d0894,_0x4e7d09,_0x25e3de){const _0x454a6c=_0x5126e4['userId'],_0x5bacd8='revision:'+_0x33bd90+':'+_0x454a6c+':'+_0x484b43++,_0x1c7c7a=_0x1b3fbd['createRange'](_0x4e7d09,_0x25e3de);_0x16ebde['markers']['set'](_0x5bacd8,_0x1c7c7a),null!==_0x454a6c&&_0x5a6876['add'](_0x454a6c);}}['_getVidAttributeName'](_0x218f95){switch(_0x218f95['type']){case'elementStart':return'vid_start';case'elementEnd':return'vid_end';default:return'vid';}}['_fixOperation'](_0x5cc5c9,_0x1215b4){_0x5cc5c9['baseVersion']=null;for(const _0x4d2f66 in _0x5cc5c9){const _0x1ec3b0=_0x5cc5c9[_0x4d2f66];if(_0x1ec3b0 instanceof gt){const _0xdae969=_0x1215b4['get'](_0x1ec3b0['root']['rootName']);_0x5cc5c9[_0x4d2f66]=this['_fixPosition'](_0x1ec3b0,_0xdae969);}if(_0x1ec3b0 instanceof vt){const _0x1b9257=_0x1215b4['get'](_0x1ec3b0['root']['rootName']);_0x5cc5c9[_0x4d2f66]=this['_fixRange'](_0x1ec3b0,_0x1b9257);}'root'===_0x4d2f66&&(_0x5cc5c9['root']=_0x1215b4['get'](_0x5cc5c9['root']['rootName']));}}['_fixRange'](_0x4a767d,_0x2bbab3){return this['editor']['model']['createRange'](this['_fixPosition'](_0x4a767d['start'],_0x2bbab3),this['_fixPosition'](_0x4a767d['end'],_0x2bbab3));}['_fixPosition'](_0x311935,_0x59d6a6){return this['editor']['model']['createPositionFromPath'](_0x59d6a6,_0x311935['path'],_0x311935['stickiness']);}['_handleInsertOperation'](_0x63232a){const _0x40a0ff=this['_idsRoots']['get'](_0x63232a['position']['root']['rootName']),_0x1ca94e=this['_fixPosition'](_0x63232a['position'],_0x40a0ff),_0x22fc64=null===_0x63232a['_authorId']?null:_0x63232a['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x3858bd=_0x1ca94e['parent'],_0x2f8d90=this['_revisionId'],_0x28463e=[];for(const _0x1fc3b4 of _0x63232a['nodes'])if(_0x1fc3b4['is']('element'))_0x28463e['push'](this['_makeIdsRoot'](_0x1fc3b4));else{for(let _0xcc6da8=0x0;_0xcc6da8<_0x1fc3b4['offsetSize'];_0xcc6da8++)_0x28463e['push'](new ft('$text',{'vid':this['_revisionId']++}));}const _0x256f1b=this['_revisionId'];for(let _0x542db5=_0x2f8d90;_0x542db5<_0x256f1b;_0x542db5++)this['_touched']['set'](_0x542db5,{'userId':_0x22fc64});_0x3858bd['_insertChild'](_0x1ca94e['offset'],_0x28463e);}['_handleMoveOperation'](_0x5a57ee){(_0x5a57ee=this['_cloneOperation'](_0x5a57ee,this['_idsRoots']))['_execute']();const _0xce6333=null===_0x5a57ee['_authorId']?null:_0x5a57ee['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x5325ee=_0x5a57ee['getMovedRangeStart'](),_0x3be626=_0x5325ee['parent'],_0xa57680=_0x5325ee['offset'];!function _0x54c6ab(_0x582bee,_0x10214f,_0x1106da,_0x5c890){for(let _0x22eb43=_0x1106da;_0x22eb43<_0x5c890;_0x22eb43++){const _0x751735=_0x10214f['getChild'](_0x22eb43);_0x751735['is']('element','$text')?_0x582bee['set'](_0x751735['getAttribute']('vid'),{'userId':_0xce6333}):(_0x582bee['set'](_0x751735['getAttribute']('vid_start'),{'userId':_0xce6333}),_0x54c6ab(_0x582bee,_0x751735,0x0,_0x751735['childCount']),_0x582bee['set'](_0x751735['getAttribute']('vid_end'),{'userId':_0xce6333}));}}(this['_touched'],_0x3be626,_0xa57680,_0xa57680+_0x5a57ee['howMany']);}['_handleMergeOperation'](_0x292bb1){const _0x418062=null===(_0x292bb1=this['_cloneOperation'](_0x292bb1,this['_idsRoots']))['_authorId']?null:_0x292bb1['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x2436a3=_0x292bb1['targetPosition']['parent'],_0x1da8fa=_0x292bb1['sourcePosition']['parent'],_0x4baf62=_0x2436a3['getAttribute']('vid_end'),_0x17168d=_0x1da8fa['getAttribute']('vid_start');_0x2436a3['_setAttribute']('vid_end',_0x1da8fa['getAttribute']('vid_end')),_0x1da8fa['_setAttribute']('vid_end',_0x4baf62),this['_touched']['set'](_0x17168d,{'userId':_0x418062}),this['_touched']['set'](_0x4baf62,{'userId':_0x418062}),_0x292bb1['_execute']();}['_handleSplitOperation'](_0x37fad3){const _0x20e23e=null===(_0x37fad3=this['_cloneOperation'](_0x37fad3,this['_idsRoots']))['_authorId']?null:_0x37fad3['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x4b9609=_0x37fad3['graveyardPosition'],_0x15ace4=_0x37fad3['splitPosition']['parent'];_0x37fad3['_execute']();const _0x3ae16e=_0x15ace4['getAttribute']('vid_end'),_0x26dbbd=_0x37fad3['insertionPosition']['nodeAfter'];if(_0x4b9609){const _0x15a707=_0x26dbbd['getAttribute']('vid_end'),_0x3ebd06=_0x15ace4['getAttribute']('vid_end');_0x15ace4['_setAttribute']('vid_end',_0x15a707),_0x26dbbd['_setAttribute']('vid_end',_0x3ebd06),this['_touched']['set'](_0x15ace4['getAttribute']('vid_end'),{'userId':_0x20e23e}),this['_touched']['set'](_0x26dbbd['getAttribute']('vid_start'),{'userId':_0x20e23e});}else{const _0x130245=this['_revisionId']++,_0x2bdc71=this['_revisionId']++;_0x15ace4['_setAttribute']('vid_end',_0x130245),_0x26dbbd['_setAttribute']('vid_start',_0x2bdc71),_0x26dbbd['_setAttribute']('vid_end',_0x3ae16e),this['_touched']['set'](_0x130245,{'userId':_0x20e23e}),this['_touched']['set'](_0x2bdc71,{'userId':_0x20e23e});}}['_handleMarkerOperation'](_0x25f17f){if(!_0x25f17f['affectsData'])return;const _0x40e015=(_0x25f17f=this['_cloneOperation'](_0x25f17f,this['_diffRoots']))['oldRange']?_0x25f17f['oldRange']['root']:null,_0x3bfddf=_0x25f17f['newRange']?_0x25f17f['newRange']['root']:null;_0x40e015&&this['_markers']['delete'](_0x25f17f['name']),_0x3bfddf&&this['_markers']['set'](_0x25f17f['name'],_0x25f17f['newRange']['clone']());const _0x2683b1=null===_0x25f17f['_authorId']?null:_0x25f17f['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x55e585=_0x25f17f['name'];if(!this['_touchedMarkers']['has'](_0x55e585))return void this['_touchedMarkers']['set'](_0x55e585,{'range':_0x25f17f['oldRange'],'userId':_0x2683b1});const _0x17be26=this['_touchedMarkers']['get'](_0x55e585),_0xd5c9f9=_0x17be26['range'],_0x3b3bfe=_0x25f17f['newRange'];null==_0xd5c9f9&&null==_0x3b3bfe||_0xd5c9f9&&_0x3b3bfe&&_0xd5c9f9['isEqual'](_0x3b3bfe)?this['_touchedMarkers']['delete'](_0x25f17f['name']):_0x17be26['userId']=_0x2683b1;}['_handleRootOperation'](_0x25bc33,_0x3a4572){this['_diffRoots']['has'](_0x25bc33['rootName'])?this['_diffRoots']['get'](_0x25bc33['rootName'])['_isAttached']=_0x25bc33['isAdd']:(this['_diffRoots']['set'](_0x25bc33['rootName'],G(_0x25bc33['rootName'],!0x0)),this['_diffRootsAttributes']['set'](_0x25bc33['rootName'],{}),_0x3a4572&&this['_idsRoots']['set'](_0x25bc33['rootName'],G(_0x25bc33['rootName'],!0x0)));const _0x5efd67=null===_0x25bc33['_authorId']?null:_0x25bc33['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x3bc4d6=this['_touchedRoots']['get'](_0x25bc33['rootName']);_0x3bc4d6&&_0x3bc4d6['userId']===_0x5efd67?this['_touchedRoots']['delete'](_0x25bc33['rootName']):this['_touchedRoots']['set'](_0x25bc33['rootName'],{'userId':_0x5efd67,'isAttached':_0x25bc33['isAdd']});}['_handleRootAttributeOperation'](_0x481604){const _0x264102=this['_diffRootsAttributes']['get'](_0x481604['root']['rootName']);null===_0x481604['newValue']?delete _0x264102[_0x481604['key']]:_0x264102[_0x481604['key']]=_0x481604['newValue'];}}function q(_0x2753d2){const _0x3e3c0d=G(_0x2753d2['rootName'],_0x2753d2['isAttached']());for(const _0xc6ab17 of _0x2753d2['getChildren']()){const _0x20dc64=_0xc6ab17['_clone'](!0x0);_0x3e3c0d['_appendChild'](_0x20dc64);}return _0x3e3c0d;}function G(_0x4c64ff,_0x116453=!0x0){const _0x17d568=new wt();return _0x17d568['rootName']=_0x4c64ff,_0x17d568['_isAttached']=_0x116453,_0x17d568['isAttached']=()=>_0x17d568['_isAttached'],_0x17d568;}function L(_0x3bfc6d,_0x14fbcd,_0x1f5386){const _0x59913d='elementEnd'==_0x3bfc6d['type']?_0x1f5386['createPositionAt'](_0x3bfc6d['item'],'end'):_0x1f5386['createPositionBefore'](_0x3bfc6d['item']);return _0x1f5386['createPositionFromPath'](_0x14fbcd,_0x59913d['path'],_0x59913d['stickiness']);}function W(_0x4209f7,_0x1ee910,_0x327d27){const _0x541fe8='elementStart'==_0x4209f7['type']?_0x327d27['createPositionAt'](_0x4209f7['item'],0x0):_0x327d27['createPositionAfter'](_0x4209f7['item']);return _0x327d27['createPositionFromPath'](_0x1ee910,_0x541fe8['path'],_0x541fe8['stickiness']);}class ns extends _0x4974b8{['focusTracker'];['keystrokes'];['revisionNameInputView'];constructor(_0x31e8ee,_0x23a66b){super(_0x31e8ee),this['focusTracker']=new _0x3f2c27(),this['keystrokes']=new _0x2f32ff(),this['set']('revisionNameInputValue',''),this['revisionNameInputView']=this['_createRevisionNameInput'](_0x23a66b),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'](),_0x54cf56({'view':this}),this['focusTracker']['add'](this['revisionNameInputView']['element']),this['keystrokes']['listenTo'](this['element']);const _0x588f2a=_0x334861=>_0x334861['stopPropagation']();this['keystrokes']['set']('arrowright',_0x588f2a),this['keystrokes']['set']('arrowleft',_0x588f2a),this['keystrokes']['set']('arrowup',_0x588f2a),this['keystrokes']['set']('arrowdown',_0x588f2a);}['focus'](){this['revisionNameInputView']['focus']();}get['revisionName'](){return this['revisionNameInputView']['fieldView']['element']['value']['trim']();}set['revisionName'](_0x16e9d6){this['revisionNameInputView']['fieldView']['element']['value']=_0x16e9d6['trim']();}['reset'](){this['revisionNameInputView']['fieldView']['element']['value']='',this['revisionNameInputView']['errorText']=null;}['_createRevisionNameInput'](_0xa8a84e){const _0x1f25c7=new at(this['locale'],_0x3f7270),_0x28d1df=_0x1f25c7['fieldView'];_0x28d1df['extendTemplate']({'attributes':{'maxlength':'220'}});let _0x25602f=y(this['locale'],'Name\x20of\x20the\x20revision');return!_0xa8a84e&&(_0x25602f+='\x20('+y(this['locale'],'optional')+')'),(_0x1f25c7['label']=_0x25602f,_0x28d1df['on']('input',()=>{this['revisionNameInputValue']=_0x28d1df['element']['value']['trim']();}),_0x1f25c7);}}class u extends _0x4595fe{static get['pluginName'](){return'RevisionHistoryUI';}static get['requires'](){return[l];}['_saveRevisionFormView'];['init'](){const _0x323b29=this['editor'],_0x59752a=_0x323b29['plugins']['get']('RevisionTracker');_0x323b29['ui']['componentFactory']['add']('revisionHistory',_0x1e0392=>{const _0x389967=_0x392660(_0x1e0392),_0x4a10f3=_0x389967['panelView']['children'],_0x17e91a=new te(_0x1e0392),_0x25473c=new _0x9861a7(_0x1e0392),_0x2bde45=new _0x21e96e(_0x1e0392),_0x51edac=new _0x9861a7(_0x1e0392),_0x1a56b6=new _0x21e96e(_0x1e0392);return _0x389967['bind']('isEnabled')['to'](_0x59752a,'isReady',_0x59752a,'isEnabled',_0x323b29,'isReadOnly',(_0x2dae33,_0x4a73c4,_0x1df01b)=>_0x2dae33&&_0x4a73c4&&!_0x1df01b),_0x389967['buttonView']['set']({'icon':_0x28a782['history'],'label':y(_0x1e0392,'Revision\x20history'),'tooltip':!0x0}),_0x2bde45['set']({'label':y(_0x1e0392,'Save\x20current\x20revision'),'withText':!0x0,'role':'menuitem'}),_0x2bde45['bind']('isEnabled')['to'](_0x59752a,'isReady',_0x59752a,'isEnabled',_0x323b29,'isReadOnly',(_0x1e038e,_0x3859a9,_0x660ee4)=>_0x1e038e&&_0x3859a9&&!_0x660ee4),_0x2bde45['on']('execute',()=>this['_showDialog']()),_0x1a56b6['set']({'label':y(_0x1e0392,'Open\x20revision\x20history'),'withText':!0x0,'role':'menuitem'}),_0x1a56b6['bind']('isEnabled')['to'](_0x59752a,'isReady',_0x323b29,'isReadOnly',(_0x1ce55d,_0x1c92cd)=>_0x1ce55d&&!_0x1c92cd),_0x1a56b6['on']('execute',()=>{_0x323b29['config']['get']('revisionHistory')['showRevisionViewerCallback'](),_0x389967['isOpen']=!0x1,_0x323b29['editing']['view']['focus']();}),_0x25473c['children']['add'](_0x2bde45),_0x51edac['children']['add'](_0x1a56b6),_0x17e91a['role']='menu',_0x17e91a['items']['addMany']([_0x25473c,_0x51edac]),_0x4a10f3['add'](_0x17e91a),_0x389967;}),_0x323b29['ui']['componentFactory']['add']('menuBar:revisionHistory',()=>this['_registerMenuComponent']());}['_registerMenuComponent'](){const _0x48ab9c=this['editor'],_0x4a1ca0=_0x48ab9c['locale'],_0x44e220=new _0x27f2db(_0x4a1ca0),_0x4f15b9=new _0x1dd04f(_0x4a1ca0);_0x44e220['buttonView']['set']({'icon':_0x28a782['history'],'label':y(_0x4a1ca0,'Revision\x20history')});const _0x5ca866=new _0x457de9(_0x4a1ca0,_0x44e220),_0x3767cd=new _0xc07549(_0x4a1ca0);_0x3767cd['set']({'label':y(_0x4a1ca0,'Save\x20current\x20revision')}),_0x3767cd['delegate']('execute')['to'](_0x44e220),_0x3767cd['on']('execute',()=>{this['_showDialog']();}),_0x5ca866['children']['add'](_0x3767cd),_0x4f15b9['items']['add'](_0x5ca866);const _0xfd5a7f=new _0x457de9(_0x4a1ca0,_0x44e220),_0x203503=new _0xc07549(_0x4a1ca0);return _0x203503['set']({'label':y(_0x4a1ca0,'Open\x20revision\x20history')}),_0x203503['delegate']('execute')['to'](_0x44e220),_0x203503['on']('execute',()=>{_0x48ab9c['config']['get']('revisionHistory')['showRevisionViewerCallback']();}),_0xfd5a7f['children']['add'](_0x203503),_0x4f15b9['items']['add'](_0xfd5a7f),_0x44e220['panelView']['children']['add'](_0x4f15b9),_0x44e220;}['_showDialog'](){const _0x149183=this['editor'],_0xb7ab16=_0x149183['locale'],t=_0xb7ab16['t'],_0xbd27e9=_0x149183['plugins']['get']('Dialog'),_0x3bd560=_0x149183['plugins']['get']('RevisionTracker');function _0x4151f9(_0x5097fe){_0x149183['config']['get']('revisionHistory.requireRevisionName')&&''===_0x5097fe['revisionName']?_0x5097fe['revisionNameInputView']['errorText']=y(_0xb7ab16,'The\x20revision\x20name\x20cannot\x20be\x20empty.'):(_0x149183['plugins']['get'](l)['saveRevision']({'name':_0x5097fe['revisionName']}),_0xbd27e9['hide']());}this['_saveRevisionFormView']||(this['_createSaveRevisionFormView'](),this['_saveRevisionFormView']['on']('submit',()=>_0x4151f9(this['_saveRevisionFormView']))),this['_saveRevisionFormView']['reset'](),_0xbd27e9['show']({'id':'revisionSave','title':y(_0xb7ab16,'Save\x20current\x20revision'),'isModal':!0x0,'content':this['_saveRevisionFormView'],'actionButtons':[{'label':t('Cancel'),'withText':!0x0,'onExecute':()=>_0xbd27e9['hide']()},{'label':t('Accept'),'class':'ck-button-action','withText':!0x0,'onCreate'(_0x1412ce){_0x1412ce['bind']('isEnabled')['to'](_0x3bd560,'isReady',_0x3bd560,'isEnabled',_0x149183,'isReadOnly',(_0x549776,_0x25ba6e,_0x213914)=>_0x549776&&_0x25ba6e&&!_0x213914);},'onExecute':()=>_0x4151f9(this['_saveRevisionFormView'])}]});}['_createSaveRevisionFormView'](){const _0x447293=this['editor'],_0x47731a=_0x447293['locale'];this['_saveRevisionFormView']=new ns(_0x47731a,_0x447293['config']['get']('revisionHistory.requireRevisionName')),this['_saveRevisionFormView']['render']();}}class Z extends _0x4974b8{['changeId'];['_model'];constructor(_0x36e85d,_0x33d566){super(_0x36e85d),this['_model']=_0x33d566,this['changeId']=_0x33d566['id'];const _0x5936e6=this['bindTemplate'],_0x148fde=y(_0x36e85d,_0x33d566['data']['isSuggestion']?'Suggested\x20by':'add'==_0x33d566['type']?'Added\x20by':'Removed\x20by');this['set']('type',_0x33d566['type']),this['setTemplate']({'tag':'div','attributes':{'class':['ck-annotation','ck-revision-change',_0x5936e6['to']('type',_0x2dda4c=>'ck-revision-change__'+_0x2dda4c)],'tabindex':-0x1},'children':[{'tag':'span','children':[{'tag':'span','attributes':{'class':['ck-revision-change__label']},'children':[{'text':_0x148fde}]},{'text':'\x20'+_0x33d566['author']['name']}]}]});}['focus'](){this['element']['focus']();}}class r extends/* #__PURE__ -- @preserve */
25
+ _0x2854fa(){['id'];['author'];['type'];['data'];['rootName'];constructor(_0x438484){super(),this['id']=_0x438484['id']||_0x2a85a0(),this['author']=_0x438484['author'],this['type']=_0x438484['type'],this['data']=_0x438484['data']||{},this['rootName']=_0x438484['rootName'],this['set']('createdAt',_0x438484['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(_0x13c695,_0x570934){this['newRevisionId']=_0x13c695,this['oldRevisionId']=_0x570934,this['changes']=new _0x5c58fb();}['_setChanges'](_0x2f5343){for(const _0x3652f0 of _0x2f5343)this['changes']['add'](_0x3652f0);}}const tt={'c':_0x21b9af,'a':_0x385ec0,'e':_0x35f7e1,'r':_0x2205cd,'u':_0x3f8852};class d extends _0x4595fe{['repository'];['adapter'];['_activeViewTarget'];['_changeView'];['_changeIdToChange'];['_balloon'];static get['pluginName'](){return'RevisionViewer';}static get['requires'](){return[_0x5044de,_0x3728f7,A];}constructor(_0x22cff9){super(_0x22cff9),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',(_0x54597f,_0x2a0dba,_0x10922b)=>{this['activeChange']=null,this['activeView']=null,this['editor']['editing']['view']['change'](_0x45151b=>{for(const _0x2209cc of this['editor']['editing']['view']['document']['roots'])_0x10922b?_0x45151b['removeClass']('ck-editor__editable__overlay',_0x2209cc):_0x45151b['addClass']('ck-editor__editable__overlay',_0x2209cc);});}),this['bind']('isNavigationMode')['to'](this,'activeChange',_0x33e99d=>null!==_0x33e99d),this['bind']('currentChangeNumber')['to'](this,'isReady',this,'diff',this,'activeChange',(_0x5e9291,_0x5dffd4,_0x20ccb8)=>_0x5e9291&&_0x20ccb8?_0x5dffd4['changes']['getIndex'](_0x20ccb8):0x0),this['bind']('numberOfChanges')['to'](this,'isReady',this,'diff',(_0x2d7d6b,_0x369bf6)=>_0x2d7d6b?_0x369bf6['changes']['length']:0x0),this['_changeView']=null,this['_changeIdToChange']=new Map(),this['adapter']=null,this['_balloon']=this['editor']['plugins']['get'](_0x3728f7);}['init'](){const _0x5c9e76=this['editor'],_0x341632=new yt(_0x5c9e76,{'direction':'backward'}),_0x610ca2=new yt(_0x5c9e76,{'direction':'forward'});(_0x5c9e76['commands']['add']('showPreviousChange',_0x341632),_0x5c9e76['commands']['add']('showNextChange',_0x610ca2),_0x5c9e76['commands']['add']('restoreRevision',new bt(_0x5c9e76)),this['on']('change:numberOfChanges',()=>{_0x341632['refresh'](),_0x610ca2['refresh']();}),this['_setConversion'](),this['_initInteractions'](),_0x5c9e76['enableReadOnlyMode']('revision-viewer'),_0x5c9e76['plugins']['has']('WidgetToolbarRepository'))&&_0x5c9e76['plugins']['get']('WidgetToolbarRepository')['forceDisabled']('revision-viewer');}async['getRevisionData'](_0x3f246b){await this['loadRevisionData'](_0x3f246b);const _0x597009={};for(const _0x13c1c7 in _0x3f246b['diffData']){if(_0x3f246b['diffData'][_0x13c1c7]['attachChange']&&!_0x3f246b['diffData'][_0x13c1c7]['attachChange']['isAttached'])continue;const _0xfa671a=this['_removeRevisionMarkers'](JSON['parse'](_0x3f246b['diffData'][_0x13c1c7]['insertions'])),_0x41d3e5=this['editor']['editing']['view']['document'],_0x4fef66=new _0x1f697b(_0x41d3e5,_0xfa671a['map'](_0x15c86e=>this['_getViewObj'](_0x15c86e)));this['editor']['data']['processor']['useFillerType']('marked'),_0x597009[_0x13c1c7]=this['editor']['data']['processor']['toData'](_0x4fef66),this['editor']['data']['processor']['useFillerType']('default');}return _0x597009;}async['getRevisionRootsAttributes'](_0x540b7a){await this['loadRevisionData'](_0x540b7a);const _0x4a1a54={};for(const _0x47bc3f in _0x540b7a['diffData'])_0x540b7a['diffData'][_0x47bc3f]['attachChange']&&!_0x540b7a['diffData'][_0x47bc3f]['attachChange']['isAttached']||(_0x4a1a54[_0x47bc3f]=_0x540b7a['diffData'][_0x47bc3f]['attributesAfter']||{});return _0x4a1a54;}['_removeRevisionMarkers'](_0x3761df){return(_0x3761df=_0x3761df['filter'](_0x12a2ee=>!_0x12a2ee['name']||'revision-start'!==_0x12a2ee['name']&&'revision-end'!==_0x12a2ee['name']))['forEach'](_0x20e9e2=>{'string'!=typeof _0x20e9e2&&(_0x20e9e2['children']=this['_removeRevisionMarkers'](_0x20e9e2['children']),_0x20e9e2['attributes']=_0x20e9e2['attributes']['filter'](_0xba3033=>!_0xba3033[0x0]['startsWith']('data-revision-')));}),_0x3761df;}async['compare'](_0x767077,_0x115eac,_0xda8cfd=!0x1){if(!this['isEnabled'])return;const _0xc1c907=this['diff'],_0x38dd89=this['repository'],_0x51c0e1='string'==typeof _0x767077?_0x38dd89['getRevision'](_0x767077):_0x767077,_0x256543='string'==typeof _0x115eac?_0x38dd89['getRevision'](_0x115eac):_0x115eac,_0x514ab9=_0x51c0e1['id'],_0xff401e=_0x256543?_0x256543['id']:null;if(!_0xda8cfd&&this['diff']&&this['diff']['newRevisionId']===_0x514ab9&&this['diff']['oldRevisionId']===_0xff401e)return Promise['resolve']();this['isReady']=!0x1,this['activeView']=null,this['activeChange']=null,this['diff']=new f(_0x514ab9,_0xff401e);const _0x4ed6bc=this['_getRevisionsRange'](_0x51c0e1,_0x256543,!0x0)['map'](_0x9bc13b=>this['loadRevisionData'](_0x9bc13b));return _0x4ed6bc['push'](new Promise(_0x4a29de=>{setTimeout(_0x4a29de,0x14);})),Promise['all'](_0x4ed6bc)['then'](()=>{if(!this['isEnabled'])return;this['_cleanUp']();const _0x4d79df=this['_getDiff'](_0x514ab9,_0xff401e);for(const _0x4f6f99 of _0x4d79df['changes'])this['_changeIdToChange']['set'](_0x4f6f99['id'],_0x4f6f99);this['editor']['model']['enqueueChange']({'isUndoable':!0x1},_0x598497=>{for(const _0x3e4e5c of this['editor']['model']['document']['getRootNames']())_0x598497['detachRoot'](_0x3e4e5c);for(const _0xb8b680 of Object['keys'](_0x4d79df['model'])){const _0x3f7659=_0x598497['addRoot'](_0xb8b680);for(const _0x2e7294 of Object['keys'](_0x4d79df['attributes'][_0xb8b680]))_0x598497['setAttribute'](_0x2e7294,_0x4d79df['attributes'][_0xb8b680][_0x2e7294],_0x3f7659);_0x598497['insert'](_0x4d79df['model'][_0xb8b680],_0x3f7659,0x0);}}),this['diff']['_setChanges'](this['_sortAndFilterDiffChanges'](_0x4d79df['changes'])),this['isReady']=!0x0;})['catch'](_0xeae925=>{console['error'](_0xeae925),this['_cleanUp'](),_0xc1c907&&(this['diff']=_0xc1c907),this['isReady']=!0x0;});}['addRevisionData'](_0x5139f2,_0x1e7295){const _0x55ff33=this['repository']['createRevision'](_0x5139f2);return _0x55ff33['on']('_update',(_0x164406,_0xb56814,_0x330e3b)=>_0x1e7295(_0xb56814,_0x330e3b,_0x55ff33)),this['repository']['addRevision'](_0x55ff33),_0x55ff33;}['loadRevisionData'](_0x48620a){if(!_0x48620a||_0x48620a['diffData'])return Promise['resolve']();{const _0x3f97c4=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0x3f97c4,'revisionId':_0x48620a['id']})['then'](_0x325127=>{_0x48620a['_update']({'diffData':_0x325127['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},_0x5f0fdc=>{for(const _0x3ca7bf of this['editor']['model']['document']['getRootNames']())_0x5f0fdc['detachRoot'](_0x3ca7bf);});}['_sortAndFilterDiffChanges'](_0x4c72be){const _0x3069de=[],_0x3bd803=new Map();for(const _0x217dc0 of this['editor']['model']['document']['getRootNames']()){const _0x4b47e2=this['editor']['editing']['view']['getDomRoot'](_0x217dc0);if(!_0x4b47e2)continue;const _0x12fdba=_0x4b47e2['getClientRects']()['item'](0x0);_0x12fdba&&(_0x3069de['push'](_0x217dc0),_0x3bd803['set'](_0x217dc0,_0x12fdba));}return _0x3069de['sort']((_0x556c26,_0x98ab3e)=>{const _0x2e5c8a=_0x3bd803['get'](_0x556c26),_0x19fd2b=_0x3bd803['get'](_0x98ab3e);return _0x2e5c8a['y']-_0x19fd2b['y']||_0x2e5c8a['x']-_0x19fd2b['x'];}),(_0x4c72be=_0x4c72be['filter'](_0x45efcd=>_0x3069de['includes'](_0x45efcd['rootName'])))['sort']((_0x12cc04,_0x105701)=>_0x3069de['indexOf'](_0x12cc04['rootName'])-_0x3069de['indexOf'](_0x105701['rootName'])),_0x4c72be;}['_makeTape'](_0x1f34d3){const _0x276964=Array['from'](_0x1f34d3['markers'])['filter'](([_0x6f693f,_0x6db515])=>_0x6f693f['startsWith']('revision:')&&!_0x6db515['isCollapsed']),_0x3b2537=Array['from'](this['editor']['model']['createRangeIn'](_0x1f34d3)['getWalker']({'singleCharacters':!0x0}));if(0x0!=_0x276964['length'])for(const _0x81e5a9 of _0x3b2537){const [_0x5c3653,_0x1661d9]=_0x276964[0x0],[,_0x5e9d1c,_0x168856]=_0x5c3653['split'](':');if(_0x1661d9['end']['isEqual'](_0x81e5a9['nextPosition'])&&_0x276964['shift'](),(_0x81e5a9['previousPosition']['isEqual'](_0x1661d9['start'])||_0x81e5a9['previousPosition']['isAfter'](_0x1661d9['start']))&&('insertion'==_0x5e9d1c?_0x81e5a9['isAdded']={'userId':_0x168856}:'deletion'==_0x5e9d1c&&(_0x81e5a9['isRemoved']={'userId':_0x168856})),0x0==_0x276964['length'])break;}return _0x3b2537;}['_refreshStartEndIndex'](_0x23005c){const _0x2bdc88=new Map();for(let _0x27577f=0x0;_0x27577f<_0x23005c['length'];_0x27577f++)'text'===_0x23005c[_0x27577f]['type']?(_0x23005c[_0x27577f]['item']['startIndex']=_0x27577f,_0x23005c[_0x27577f]['item']['endIndex']=_0x27577f):('elementStart'===_0x23005c[_0x27577f]['type']?_0x23005c[_0x27577f]['item']['startIndex']=_0x27577f:'elementEnd'===_0x23005c[_0x27577f]['type']&&(_0x23005c[_0x27577f]['item']['endIndex']=_0x27577f),_0x2bdc88['set'](_0x23005c[_0x27577f]['id'],_0x27577f));for(const _0x44090a of _0x2bdc88['values']())'elementStart'===_0x23005c[_0x44090a]['type']?_0x23005c[_0x44090a]['item']['endIndex']=_0x2bdc88['get'](_0x23005c[_0x44090a]['pairId']):'elementEnd'===_0x23005c[_0x44090a]['type']&&(_0x23005c[_0x44090a]['item']['startIndex']=_0x2bdc88['get'](_0x23005c[_0x44090a]['pairId']));}['_processTape'](_0x2b010c){for(let _0x268937=0x0;_0x268937<_0x2b010c['length'];_0x268937++){if('elementStart'===_0x2b010c[_0x268937]['type'])_0x2b010c[_0x268937]['item']['startIndex']=_0x268937;else{if('elementEnd'===_0x2b010c[_0x268937]['type']){_0x2b010c[_0x268937]['item']['endIndex']=_0x268937;const _0x381fc2=_0x2b010c[_0x268937]['item']['startIndex'];_0x2b010c[_0x381fc2]['pairId']=_0x2b010c[_0x268937]['id'],_0x2b010c[_0x268937]['pairId']=_0x2b010c[_0x381fc2]['id'];}else _0x2b010c[_0x268937]['item']['startIndex']=_0x268937,_0x2b010c[_0x268937]['item']['endIndex']=_0x268937,_0x2b010c[_0x268937]['pairId']=null;}_0x2b010c[_0x268937]['markersStart']||(_0x2b010c[_0x268937]['markersStart']=[],_0x2b010c[_0x268937]['markersEnd']=[]);}}['_markInsertions'](_0x33e011,_0x3a00e4){const _0x16f3bc=_0x33e011['filter'](_0x1c999d=>!_0x1c999d['isAdded']);for(let _0x43b58b=0x0;_0x43b58b<_0x3a00e4['length'];_0x43b58b++)_0x3a00e4[_0x43b58b]['isAdded']&&(_0x16f3bc[_0x43b58b]['isAdded']=_0x3a00e4[_0x43b58b]['isAdded']);}['_makeModelFromViewString'](_0x2ea74b){const _0x1f4bd7=JSON['parse'](_0x2ea74b),_0x3e2dfd=this['editor']['editing']['view']['document'],_0x9ef184=new _0x1f697b(_0x3e2dfd,_0x1f4bd7['map'](_0x5565c7=>this['_getViewObj'](_0x5565c7)));return this['editor']['data']['toModel'](_0x9ef184);}['_getViewObj'](_0x41b86a){const _0x1e90b8=this['editor']['editing']['view']['document'];if('string'==typeof _0x41b86a)return new _0x504dd3(_0x1e90b8,_0x41b86a);{const _0x22c9a8=_0x41b86a['children']['map'](_0x483b1e=>this['_getViewObj'](_0x483b1e));return new(tt[_0x41b86a['type']]||_0x624aef)(_0x1e90b8,_0x41b86a['name'],_0x41b86a['attributes'],_0x22c9a8);}}['_getDiff'](_0x474004,_0x492820=null){const _0x4da630=this['repository']['getRevision'](_0x474004),_0x56aca2=_0x492820?this['repository']['getRevision'](_0x492820):null,_0xc796e0=this['_getRevisionsRange'](_0x4da630,_0x56aca2),_0x46b96c=_0xc796e0[_0xc796e0['length']-0x1],_0x223489=new Map(),_0x30e2f2={'model':{},'attributes':{},'changes':[]},_0x50a0fe=new Set(),_0x22a0a7=new Map();for(let _0x3b6f5f=_0xc796e0['length']-0x1;_0x3b6f5f>=0x0;_0x3b6f5f--){const _0x1b2abf=_0xc796e0[_0x3b6f5f];for(const _0x4616ea of Object['keys'](_0x1b2abf['diffData']))if(_0x1b2abf['diffData'][_0x4616ea]['attachChange']){const _0x682b6f=_0x1b2abf['diffData'][_0x4616ea]['attachChange'];_0x682b6f['isAttached']?(_0x50a0fe['add'](_0x4616ea),_0x22a0a7['has'](_0x4616ea)&&_0x22a0a7['get'](_0x4616ea)['userId']==_0x682b6f['userId']?_0x22a0a7['delete'](_0x4616ea):_0x22a0a7['set'](_0x4616ea,_0x682b6f)):_0x22a0a7['has'](_0x4616ea)?(_0x50a0fe['delete'](_0x4616ea),_0x22a0a7['delete'](_0x4616ea)):(_0x50a0fe['add'](_0x4616ea),_0x22a0a7['set'](_0x4616ea,_0x682b6f));}else _0x50a0fe['add'](_0x4616ea);}for(const _0x423393 of _0x50a0fe){const _0x52b572=_0x22a0a7['has'](_0x423393)&&!_0x22a0a7['get'](_0x423393)['isAttached'];let _0x36d6e9=_0x52b572?_0xc796e0['length']-0x1:0x0;const _0x40f910=_0x52b572?-0x1:0x1;for(;_0xc796e0[_0x36d6e9];){const _0x11c3e4=_0xc796e0[_0x36d6e9];if(_0x11c3e4['diffData'][_0x423393]){const _0x3ba26a=_0x52b572?_0x11c3e4['diffData'][_0x423393]['attributesBefore']:_0x11c3e4['diffData'][_0x423393]['attributesAfter'];_0x30e2f2['attributes'][_0x423393]=_0x3ba26a?_0x48276e(_0x3ba26a):{};break;}_0x36d6e9+=_0x40f910;}}for(const _0x43ad11 of _0xc796e0){_0x43ad11['model']={};for(const _0x2960fb of _0x43ad11['authors'])_0x223489['set'](_0x2960fb['id'],_0x2960fb);for(const _0x3828d8 of _0x50a0fe){const _0x50fe09=_0x43ad11['diffData'][_0x3828d8]?_0x43ad11['diffData'][_0x3828d8]['insertions']:'[]',_0x2a318a=_0x43ad11['diffData'][_0x3828d8]?_0x43ad11['diffData'][_0x3828d8]['deletions']:'[]';_0x43ad11['model'][_0x3828d8]={'insertions':this['_makeModelFromViewString'](_0x50fe09),'deletions':this['_makeModelFromViewString'](_0x2a318a)};}}for(const _0x2c313a of _0x50a0fe){let _0x254998=null,_0x25cdc0=0x0;const _0x351d1a=new Map(Array['from'](_0x4da630['model'][_0x2c313a]['insertions']['markers'])['filter'](([_0x3f88e3])=>!_0x3f88e3['startsWith']('revision:')));let _0x53b695=0x0;for(const _0x43a517 of _0xc796e0){const _0x2b43ba=this['_makeTape'](_0x43a517['model'][_0x2c313a]['insertions']);_0x43a517==_0x4da630?(_0x254998=_0x2b43ba,_0x25cdc0=_0x254998['length'],_0x254998['forEach'](_0x10db48=>{_0x10db48['id']=_0x53b695++;}),this['_processTape'](_0x254998)):this['_markInsertions'](_0x254998,_0x2b43ba);const _0x308460=_0x254998['filter'](_0x3c552d=>!_0x3c552d['isAdded'])['map'](_0x2480db=>_0x2480db['id']);let _0x15c10d=0x0;const _0x1aa67e=this['_makeTape'](_0x43a517['model'][_0x2c313a]['deletions']);_0x1aa67e['forEach'](_0x3415fe=>{_0x3415fe['isRemoved']?_0x3415fe['id']=_0x25cdc0++:_0x3415fe['id']=_0x308460[_0x15c10d++];}),this['_processTape'](_0x1aa67e),this['_setDistance'](_0x254998,'isAdded'),this['_setDistance'](_0x1aa67e,'isRemoved'),_0x43a517==_0x4da630&&this['_markMarkers'](_0x254998,_0x351d1a),_0x254998=this['_joinTapes'](_0x254998,_0x1aa67e),this['_refreshStartEndIndex'](_0x254998),this['_setDistance'](_0x254998,'isRemoved');}_0x254998=_0x254998['filter'](_0x455344=>!(_0x455344['isAdded']&&_0x455344['isRemoved']));const _0x412ef7=new Map(_0x46b96c['model'][_0x2c313a]['deletions']['markers']),_0x297e53=new Set(_0x351d1a['keys']());for(const _0x2cc280 of _0x412ef7['keys']())_0x297e53['delete'](_0x2cc280);this['_markSuggestions'](_0x254998,_0x297e53),this['_fixObsoleteTags'](_0x254998),_0x254998=this['_removeMissingPairs'](_0x254998),_0x254998=this['_markMismatchedRemovedTags'](_0x254998),_0x254998=this['_removeUnsupportedChanges'](_0x254998);const {root:_0x307cd2,changes:_0x419c9f}=this['_makeModelFromTape'](_0x254998,_0x223489,_0x2c313a);_0x30e2f2['model'][_0x2c313a]=_0x307cd2;const _0x6dc37c=_0x22a0a7['get'](_0x2c313a);if(_0x6dc37c){const _0xbc5310=_0x223489['get'](_0x6dc37c['userId']),_0x4eb576=new r({'author':_0xbc5310,'type':_0x6dc37c['isAttached']?'add':'remove','data':{'isOnRoot':!0x0},'createdAt':new Date(),'rootName':_0x2c313a});_0x419c9f['unshift'](_0x4eb576),_0x30e2f2['attributes'][_0x2c313a]['revisionHistoryAttachChange']=_0x4eb576['id'];}_0x30e2f2['changes']=_0x30e2f2['changes']['concat'](_0x419c9f);}return _0x30e2f2;}['_markMarkers'](_0x1bdcb7,_0x1b62a2){for(let _0xd61c9a=0x0;_0xd61c9a<_0x1bdcb7['length'];_0xd61c9a++)for(const [_0x588cb8,_0xe7305f]of _0x1b62a2)_0xe7305f['start']['isEqual'](_0x1bdcb7[_0xd61c9a]['previousPosition'])&&_0x1bdcb7[_0xd61c9a]['markersStart']['push'](_0x588cb8),_0xe7305f['end']['isEqual'](_0x1bdcb7[_0xd61c9a]['nextPosition'])&&_0x1bdcb7[_0xd61c9a]['markersEnd']['push'](_0x588cb8);}['_joinTapes'](_0x195a69,_0x249ae9){let _0x276ab2=[],_0x2cb2a6=0x0,_0x4d5191=0x0;for(;_0x2cb2a6<_0x195a69['length']||_0x4d5191<_0x249ae9['length'];){const _0x3bfa06=_0x195a69[_0x2cb2a6]||{},_0x5f3ddc=_0x249ae9[_0x4d5191]||{};if(_0x3bfa06['id']==_0x5f3ddc['id'])_0x2cb2a6++,_0x4d5191++,_0x276ab2['push'](_0x3bfa06);else{if(_0x5f3ddc['isRemoved']&&_0x3bfa06['isAdded']){const {commonTape:_0x17cf61,iEnd:_0x57786d,jEnd:_0x17b654}=this['_threeWayMerge'](_0x195a69,_0x2cb2a6,_0x249ae9,_0x4d5191);_0x276ab2=_0x276ab2['concat'](_0x17cf61),_0x2cb2a6=_0x57786d,_0x4d5191=_0x17b654;}else _0x5f3ddc['isRemoved']?(_0x4d5191++,_0x276ab2['push'](_0x5f3ddc)):(_0x2cb2a6++,_0x276ab2['push'](_0x3bfa06));}}return _0x276ab2;}['_markSuggestions'](_0x5d2abf,_0xc951b5){const _0x2d1dfa=[];for(let _0x14ce87=0x0;_0x14ce87<_0x5d2abf['length'];_0x14ce87++){for(let _0x135ad5=0x0;_0x135ad5<_0x5d2abf[_0x14ce87]['markersStart']['length'];_0x135ad5++){const _0x5142f2=_0x5d2abf[_0x14ce87]['markersStart'][_0x135ad5];if(!_0xc951b5['has'](_0x5142f2))continue;const {group:_0x53bada,type:_0x20ef8d,authorId:_0x8e91dd}=_0x402990(_0x5142f2);'revision-suggestion'!=_0x53bada||'insertion'!=_0x20ef8d&&'deletion'!=_0x20ef8d||(_0x2d1dfa['unshift']({'type':_0x20ef8d,'name':_0x5142f2,'userId':_0x8e91dd}),_0x5d2abf[_0x14ce87]['markersStart']['splice'](_0x135ad5,0x1),_0x135ad5--);}_0x58c9b0(_0x5d2abf[_0x14ce87]);for(let _0xe00e32=0x0;_0xe00e32<_0x5d2abf[_0x14ce87]['markersEnd']['length'];_0xe00e32++){const _0x11ecbc=_0x5d2abf[_0x14ce87]['markersEnd'][_0xe00e32];if(!_0xc951b5['has'](_0x11ecbc))continue;const {group:_0x344b4e,type:_0x5848cd}=_0x402990(_0x11ecbc);if('revision-suggestion'!=_0x344b4e||'insertion'!=_0x5848cd&&'deletion'!=_0x5848cd)continue;_0x5d2abf[_0x14ce87]['markersEnd']['splice'](_0xe00e32,0x1),_0xe00e32--;const _0x179339=_0x2d1dfa['findIndex'](_0xd5596d=>_0xd5596d['name']==_0x11ecbc);_0x179339>-0x1&&_0x2d1dfa['splice'](_0x179339,0x1);}}function _0x402990(_0x1f4424){const _0x5026f4=_0x1f4424['split'](':');return{'group':_0x5026f4[0x0],'type':_0x5026f4[0x1],'subType':_0x5026f4['length']>=0x5?_0x5026f4[0x2]:null,'id':_0x5026f4['length']<0x5?_0x5026f4[0x2]:_0x5026f4[0x3],'authorId':_0x5026f4['length']<0x5?_0x5026f4[0x3]:_0x5026f4[0x4],'markerCount':0x6==_0x5026f4['length']?_0x5026f4[0x5]:null};}function _0x58c9b0(_0x5ea8a1){for(let _0x33aea2=0x0;_0x33aea2<_0x2d1dfa['length'];_0x33aea2++){if(_0x5ea8a1['isAdded']&&'insertion'==_0x2d1dfa[_0x33aea2]['type'])return _0x5ea8a1['isAddSuggestion']=_0x2d1dfa[_0x33aea2],void delete _0x5ea8a1['isAdded'];if(!_0x5ea8a1['isAdded']&&!_0x5ea8a1['isRemoved']&&'deletion'==_0x2d1dfa[_0x33aea2]['type'])return void(_0x5ea8a1['isRemoveSuggestion']=_0x2d1dfa[_0x33aea2]);}}}['_setDistance'](_0x2eed18,_0x3c63e7){let _0x1540f7=0x0,_0x333862=!0x1;const _0x2db27d=new Map();for(const _0x10e2b0 of _0x2eed18)_0x10e2b0[_0x3c63e7]?_0x333862&&(_0x1540f7++,_0x333862=!0x1):(_0x1540f7++,_0x333862=!0x0),_0x2db27d['set'](_0x10e2b0['id'],_0x1540f7);for(let _0x4e71e8=0x0;_0x4e71e8<_0x2eed18['length'];_0x4e71e8++){if('isRemoved'==_0x3c63e7&&_0x2eed18[_0x4e71e8]['isAdded']||'isAdded'==_0x3c63e7&&_0x2eed18[_0x4e71e8]['isRemoved'])continue;if('text'==_0x2eed18[_0x4e71e8]['type']){_0x2eed18[_0x4e71e8]['distance']=0x0;continue;}const _0x4452e1=_0x2db27d['get'](_0x2eed18[_0x4e71e8]['pairId']),_0x2f81bf=_0x2db27d['get'](_0x2eed18[_0x4e71e8]['id']);_0x2eed18[_0x4e71e8]['distance']=_0x4452e1-_0x2f81bf;}}['_getRevisionsRange'](_0x1f95ec,_0x3e8980,_0x49b24f=!0x1){const _0x192a35=[];let _0x145cdc=this['repository']['getIndex'](_0x1f95ec),_0xdd736d=this['repository']['getIndex'](_0x3e8980);for(-0x1==_0xdd736d&&(_0xdd736d=this['repository']['_revisions']['length'],_0x49b24f=!0x1);_0x145cdc<_0xdd736d;)_0x192a35['push'](this['repository']['getRevision'](_0x145cdc)),_0x145cdc++;return _0x49b24f&&_0x192a35['push'](this['repository']['getRevision'](_0x145cdc)),_0x192a35;}['_threeWayMerge'](_0xd9c752,_0x5aba4d,_0x14549e,_0x3ee014){const _0x13859c=this['editor']['model']['schema'];let _0x49801c=_0x5aba4d;for(;_0xd9c752[_0x49801c]&&_0xd9c752[_0x49801c]['isAdded'];)_0x49801c++;let _0x2bd52b=_0x3ee014;for(;_0x14549e[_0x2bd52b]&&_0x14549e[_0x2bd52b]['isRemoved'];)_0x2bd52b++;_0x1738a8(_0xd9c752,_0x5aba4d,_0x49801c),_0x1738a8(_0x14549e,_0x3ee014,_0x2bd52b);const _0x323953=_0x14549e['slice'](_0x3ee014,_0x2bd52b)['concat'](_0xd9c752['slice'](_0x5aba4d,_0x49801c));return _0x323953['sort']((_0x1b3d97,_0x1db5f5)=>_0x1b3d97['side']!=_0x1db5f5['side']?_0x1b3d97['side']-_0x1db5f5['side']:_0x1b3d97['level']!=_0x1db5f5['level']?_0x1b3d97['level']-_0x1db5f5['level']:_0x1b3d97['distance']!=_0x1db5f5['distance']?_0x1db5f5['distance']-_0x1b3d97['distance']:!!_0x1b3d97['isAdded']!=!!_0x1db5f5['isAdded']?-0x1==_0x1b3d97['side']||0x0==_0x1b3d97['side']?_0x1b3d97['isAdded']?-0x1:0x1:_0x1b3d97['isAdded']?0x1:-0x1:_0x1b3d97['index']-_0x1db5f5['index']),{'commonTape':_0x323953,'iEnd':_0x49801c,'jEnd':_0x2bd52b};function _0x1738a8(_0x1e777b,_0x44ba05,_0x5c3496){let _0x2e3e75=-0x1,_0x57a587=Number['POSITIVE_INFINITY'],_0x30a3be=!0x0;for(let _0x5b5670=_0x44ba05;_0x5b5670<_0x5c3496;_0x5b5670++)if(_0x13859c['isInline'](_0x1e777b[_0x5b5670]['item'])||(_0x30a3be=!0x1),_0x1e777b[_0x5b5670]['item']['startIndex']<_0x44ba05&&(_0x2e3e75=_0x5b5670),_0x1e777b[_0x5b5670]['item']['endIndex']>=_0x5c3496){_0x57a587=_0x5b5670;break;}_0x30a3be&&(_0x2e3e75=_0x5c3496-0x1);for(let _0x41d54d=_0x44ba05;_0x41d54d<_0x5c3496;_0x41d54d++)_0x1e777b[_0x41d54d]['side']=_0x41d54d<=_0x2e3e75?-0x1:_0x41d54d<_0x57a587?0x0:0x1,_0x1e777b[_0x41d54d]['index']=_0x41d54d;let _0x1ecd9b=0x0;for(let _0x2252f0=_0x44ba05;_0x2252f0<=_0x2e3e75;_0x2252f0++)0x0==_0x1e777b[_0x2252f0]['distance']?_0x1e777b[_0x2252f0]['level']=_0x1ecd9b:(_0x1ecd9b++,_0x1e777b[_0x2252f0]['level']=_0x1ecd9b,_0x1ecd9b++);for(let _0x49b884=_0x44ba05;_0x49b884<_0x5c3496;_0x49b884++)0x0==_0x1e777b[_0x49b884]['side']&&(_0x1e777b[_0x49b884]['level']=_0x1ecd9b);_0x1ecd9b=0x0;for(let _0x33a58e=_0x5c3496-0x1;_0x33a58e>=_0x57a587;_0x33a58e--)0x0==_0x1e777b[_0x33a58e]['distance']?_0x1e777b[_0x33a58e]['level']=_0x1ecd9b:(_0x1ecd9b--,_0x1e777b[_0x33a58e]['level']=_0x1ecd9b,_0x1ecd9b--);}}['_fixObsoleteTags'](_0x21ebdd){const _0x467081=new Map(),_0x15197f=this['editor']['model']['schema'];for(let _0x19c92a=0x1;_0x19c92a<_0x21ebdd['length'];_0x19c92a++){let _0x42286e,_0x5b4a90,_0x3d8892;const _0x484259=_0x21ebdd[_0x19c92a],_0x1d5155=_0x21ebdd[_0x19c92a-0x1];if('text'==_0x484259['type'])continue;if(_0x484259['type']!=_0x1d5155['type'])continue;if(!_0x15197f['isBlock'](_0x1d5155['item'])||_0x15197f['isLimit'](_0x1d5155['item']))continue;if(!_0x15197f['isBlock'](_0x484259['item'])||_0x15197f['isLimit'](_0x484259['item']))continue;if((_0x21ebdd[_0x19c92a]['isAdded']||_0x21ebdd[_0x19c92a]['isAddSuggestion'])&&_0x21ebdd[_0x19c92a-0x1]['isRemoved'])_0x42286e=_0x21ebdd[_0x19c92a],_0x5b4a90=_0x21ebdd[_0x19c92a-0x1],_0x3d8892=_0x19c92a-0x1;else{if(!_0x21ebdd[_0x19c92a]['isRemoved']||!_0x21ebdd[_0x19c92a-0x1]['isAdded']&&!_0x21ebdd[_0x19c92a-0x1]['isAddSuggestion'])continue;_0x42286e=_0x21ebdd[_0x19c92a-0x1],_0x5b4a90=_0x21ebdd[_0x19c92a],_0x3d8892=_0x19c92a;}const _0x7019ae=_0x42286e['level']==_0x5b4a90['level'],_0x16dcdc=Math['abs'](_0x42286e['level'])<Math['abs'](_0x5b4a90['level'])&&0x0==_0x5b4a90['distance'];(_0x7019ae||_0x16dcdc)&&(_0x467081['set'](_0x5b4a90['id'],_0x42286e['id']),_0x21ebdd['splice'](_0x3d8892,0x1),_0x19c92a--,_0x42286e['isAdded']=!0x1);}for(let _0x9913ce=0x0;_0x9913ce<_0x21ebdd['length'];_0x9913ce++)_0x467081['has'](_0x21ebdd[_0x9913ce]['pairId'])&&(_0x21ebdd[_0x9913ce]['pairId']=_0x467081['get'](_0x21ebdd[_0x9913ce]['pairId']));}['_removeMissingPairs'](_0x28de79){const _0x4562bd=new Set(_0x28de79['map'](_0x3b943f=>_0x3b943f['id']));for(let _0x46438b=0x0;_0x46438b<_0x28de79['length'];_0x46438b++)_0x4562bd['has'](_0x28de79[_0x46438b]['pairId'])||0x0==_0x28de79[_0x46438b]['distance']||(_0x28de79[_0x46438b]['isIncorrect']=!0x0);return _0x28de79['filter'](_0x146318=>!_0x146318['isIncorrect']);}['_markMismatchedRemovedTags'](_0x2130da){const _0x276677=new Set();for(let _0x346d87=0x0;_0x346d87<_0x2130da['length'];_0x346d87++){if(_0x276677['has'](_0x2130da[_0x346d87]['id'])&&_0x2130da[_0x346d87]['isRemoved']&&(_0x2130da[_0x346d87]['isIncorrect']=!0x0),_0x2130da[_0x346d87]['isIncorrect'])continue;if(0x0==_0x2130da[_0x346d87]['distance'])continue;if('elementStart'!=_0x2130da[_0x346d87]['type'])continue;if(null==_0x2130da[_0x346d87]['pairId'])continue;let _0x2bfb42=_0x346d87+0x1,_0x3cb1d6=0x0;for(;_0x2130da[_0x2bfb42]['id']!=_0x2130da[_0x346d87]['pairId'];)'elementStart'==_0x2130da[_0x2bfb42]['type']?_0x3cb1d6++:'elementEnd'==_0x2130da[_0x2bfb42]['type']&&_0x3cb1d6--,_0x2bfb42++;if(0x0!=_0x3cb1d6){if(_0x2130da[_0x346d87]['isRemoved'])_0x2130da[_0x346d87]['isIncorrect']=!0x0;else{for(;_0x2bfb42!=_0x346d87;)_0x2130da[_0x2bfb42]['isRemoved']&&0x0!=_0x2130da[_0x2bfb42]['distance']&&(_0x2130da[_0x2bfb42]['isIncorrect']=!0x0,_0x276677['add'](_0x2130da[_0x2bfb42]['pairId'])),_0x2bfb42--;}}}return _0x2130da['filter'](_0x502f3f=>!_0x502f3f['isIncorrect']);}['_removeUnsupportedChanges'](_0x43fa30){const _0x35602b=this['editor']['model']['schema'];for(let _0x1a74da=0x0;_0x1a74da<_0x43fa30['length'];_0x1a74da++){if(!(_0x43fa30[_0x1a74da]['isAdded']||_0x43fa30[_0x1a74da]['isAddSuggestion']||_0x43fa30[_0x1a74da]['isRemoved']||_0x43fa30[_0x1a74da]['isRemoveSuggestion']))continue;if(0x0==_0x43fa30[_0x1a74da]['distance'])continue;const _0x58671f=_0x43fa30[_0x1a74da]['item'];_0x35602b['isBlock'](_0x58671f)||_0x35602b['isLimit'](_0x58671f)||(_0x43fa30[_0x1a74da]['isAdded']&&delete _0x43fa30[_0x1a74da]['isAdded'],_0x43fa30[_0x1a74da]['isAddSuggestion']&&delete _0x43fa30[_0x1a74da]['isAddSuggestion'],_0x43fa30[_0x1a74da]['isRemoveSuggestion']&&delete _0x43fa30[_0x1a74da]['isRemoveSuggestion'],_0x43fa30[_0x1a74da]['isRemoved']&&(_0x43fa30[_0x1a74da]['isIncorrect']=!0x0));}return _0x43fa30['filter'](_0x52e761=>!_0x52e761['isIncorrect']);}['_makeModelFromTape'](_0x5c5ce1,_0x5c986e,_0x3129c6){const _0xfa731d=new wt(),_0x4ab004=[],_0x107c7e=new Map(),_0x545228=this['editor']['model'],_0x1505a1=_0x545228['schema'],_0x271975=[_0xfa731d],_0x365140={},_0x5b7487={'isAdded':[],'isRemoved':[],'isAddSuggestion':[],'isRemoveSuggestion':[]};let _0x3a67ea=null;const _0x33358f=[0x0];for(let _0x186c4c=0x0;_0x186c4c<_0x5c5ce1['length'];_0x186c4c++){let _0x3cac54,_0x7ded4a;if('elementStart'===_0x5c5ce1[_0x186c4c]['type']){_0x3cac54=_0x545228['createPositionFromPath'](_0xfa731d,_0x33358f);const _0x47957e=new ft(_0x5c5ce1[_0x186c4c]['item']['name'],_0x5c5ce1[_0x186c4c]['item']['getAttributes']());_0x271975[0x0]['_appendChild'](_0x47957e),_0x33358f['push'](0x0),_0x271975['unshift'](_0x47957e),_0x7ded4a=_0x545228['createPositionFromPath'](_0xfa731d,_0x33358f),_0x3a67ea=null;}else{if('elementEnd'===_0x5c5ce1[_0x186c4c]['type'])_0x271975['shift'](),_0x3cac54=_0x545228['createPositionFromPath'](_0xfa731d,_0x33358f),_0x33358f['pop'](),_0x33358f[_0x33358f['length']-0x1]++,_0x7ded4a=_0x545228['createPositionFromPath'](_0xfa731d,_0x33358f),_0x3a67ea=null;else{if(_0x3cac54=_0x545228['createPositionFromPath'](_0xfa731d,_0x33358f),_0x3a67ea&&_0x5ae3f5(_0x3a67ea,_0x5c5ce1[_0x186c4c]['item']))_0x3a67ea['_data']+=_0x5c5ce1[_0x186c4c]['item']['data'];else{const _0x10ff99=new _t(_0x5c5ce1[_0x186c4c]['item']['data'],_0x5c5ce1[_0x186c4c]['item']['getAttributes']());_0x271975[0x0]['_appendChild'](_0x10ff99),_0x3a67ea=_0x10ff99;}_0x33358f[_0x33358f['length']-0x1]+=_0x5c5ce1[_0x186c4c]['item']['offsetSize'],_0x7ded4a=_0x545228['createPositionFromPath'](_0xfa731d,_0x33358f);}}for(const _0x575893 of _0x5c5ce1[_0x186c4c]['markersStart'])_0x107c7e['set'](_0x575893,{'start':_0x3cac54,'end':null});_0x381133('isRemoveSuggestion',_0x186c4c,_0x3cac54,_0x7ded4a),_0x381133('isAddSuggestion',_0x186c4c,_0x3cac54,_0x7ded4a),_0x381133('isRemoved',_0x186c4c,_0x3cac54,_0x7ded4a),_0x381133('isAdded',_0x186c4c,_0x3cac54,_0x7ded4a);for(const _0x159ab4 of _0x5c5ce1[_0x186c4c]['markersEnd']){_0x107c7e['get'](_0x159ab4)['end']=_0x7ded4a;}}for(const [_0x10877d,_0x4b4359]of _0x107c7e){const _0x2abbc7=this['editor']['model']['createRange'](_0x4b4359['start'],_0x4b4359['end']);_0xfa731d['markers']['set'](_0x10877d,_0x2abbc7);}return _0x4ab004['sort']((_0x55c66f,_0x496c2e)=>{const _0x17f333=_0xfa731d['markers']['get']('revision:'+_0x55c66f['id']),_0x37cbb3=_0xfa731d['markers']['get']('revision:'+_0x496c2e['id']);return _0x17f333['start']['isBefore'](_0x37cbb3['start'])?-0x1:_0x17f333['start']['isAfter'](_0x37cbb3['start'])?0x1:_0x17f333['end']['isBefore'](_0x37cbb3['end'])?-0x1:_0x17f333['end']['isAfter'](_0x37cbb3['end'])?0x1:'add'===_0x55c66f['type']?-0x1:0x1;}),{'root':_0xfa731d,'changes':_0x4ab004};function _0x381133(_0x4a46ec,_0x4312e7,_0x3fda91,_0x44fd8d){const _0x381663=!!_0x5c5ce1[_0x4312e7][_0x4a46ec],_0x337c11=_0x381663?_0x5c5ce1[_0x4312e7][_0x4a46ec]['userId']:null,_0x46dfcd=_0x4312e7===_0x5c5ce1['length']-0x1,_0xd9de8b=_0x5b7487[_0x4a46ec][0x0],_0x41f321=_0x1505a1['isObject'](_0x5c5ce1[_0x4312e7]['item']);!_0x365140[_0x4a46ec]&&_0x381663?_0x365140[_0x4a46ec]={'start':_0x3fda91,'tapeItem':_0x5c5ce1[_0x4312e7],'userId':_0x337c11,'type':_0x4a46ec}:_0x365140[_0x4a46ec]&&!_0x381663?(_0x365140[_0x4a46ec]['end']=_0x3fda91,_0x2dcabb(_0x365140[_0x4a46ec]),_0x365140[_0x4a46ec]=null):_0x365140[_0x4a46ec]&&_0x381663&&_0x365140[_0x4a46ec]['userId']!==_0x337c11&&(_0x365140[_0x4a46ec]['end']=_0x3fda91,_0xd9de8b&&_0xd9de8b['userId']===_0x365140[_0x4a46ec]['userId']||_0x2dcabb(_0x365140[_0x4a46ec]),_0x365140[_0x4a46ec]={'start':_0x3fda91,'tapeItem':_0x5c5ce1[_0x4312e7],'userId':_0x337c11,'type':_0x4a46ec}),_0x365140[_0x4a46ec]&&_0x41f321&&('elementStart'!==_0x5c5ce1[_0x4312e7]['type']||_0xd9de8b&&_0xd9de8b['userId']===_0x337c11||_0x5b7487[_0x4a46ec]['unshift']({'userId':_0x337c11,'object':_0x5c5ce1[_0x4312e7]['item'],'change':_0x365140[_0x4a46ec]}),'elementEnd'===_0x5c5ce1[_0x4312e7]['type']&&_0xd9de8b&&_0xd9de8b['object']===_0x5c5ce1[_0x4312e7]['item']&&(_0x5b7487[_0x4a46ec]['shift'](),_0x365140[_0x4a46ec]=_0xd9de8b['change'])),_0x365140[_0x4a46ec]&&_0x46dfcd&&(_0x365140[_0x4a46ec]['end']=_0x44fd8d,_0x2dcabb(_0x365140[_0x4a46ec]),_0x365140[_0x4a46ec]=null);}function _0x2dcabb({start:_0x208e61,end:_0xbf8698,tapeItem:_0x3e48c9,userId:_0x2909a2,type:_0x11071d}){const _0x571c0f=_0x3e48c9['item'],_0x178c1a=_0x545228['schema']['isBlock'](_0x571c0f)&&!_0x545228['schema']['isLimit'](_0x571c0f),_0x8d1c84=_0x208e61['nodeAfter']==_0xbf8698['parent']&&_0xbf8698['isAtStart'];if(_0x178c1a&&_0x8d1c84)return;const _0x53c95a=_0x545228['createRange'](_0x208e61,_0xbf8698),_0x1e0b9a=_0x5c986e['get'](_0x2909a2),_0x19b4c5=new r({'author':_0x1e0b9a,'type':'isAdded'==_0x11071d||'isAddSuggestion'==_0x11071d?'add':'remove','data':{'isSuggestion':'isAddSuggestion'==_0x11071d||'isRemoveSuggestion'==_0x11071d},'createdAt':new Date(),'rootName':_0x3129c6});_0x4ab004['push'](_0x19b4c5),_0xfa731d['markers']['set']('revision:'+_0x19b4c5['id'],_0x53c95a);}function _0x5ae3f5(_0x5a5f5d,_0x480078){const _0x586b3c=_0x5a5f5d['getAttributes'](),_0x1f9155=_0x480078['getAttributes']();for(const _0x3af6a of _0x586b3c){if(_0x3af6a[0x1]!==_0x480078['getAttribute'](_0x3af6a[0x0]))return!0x1;_0x1f9155['next']();}return _0x1f9155['next']()['done'];}}['_setConversion'](){this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'revision'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision','view':_0x2cf9b1=>{const _0x3275a0=_0x2cf9b1['markerName']['split'](':')[0x1],_0x396bb8=this['_getChangeFromId'](_0x3275a0);if(!_0x396bb8)return null;const _0x1d77aa='add'==_0x396bb8['type']?'insertion':'deletion',_0x1b124d=['ck-suggestion-marker','ck-suggestion-marker-'+_0x1d77aa];return _0x396bb8['data']['isSuggestion']&&_0x1b124d['push']('ck-suggestion-marker-'+_0x1d77aa+'-new'),this['activeChange']==_0x396bb8&&_0x1b124d['push']('ck-suggestion-marker--active'),{'classes':_0x1b124d,'attributes':{'data-change-id':_0x3275a0}};}}),this['editor']['conversion']['for']('upcast')['add'](_0x401224=>{_0x401224['on']('element:pre',(_0x5c180e,_0x3beada,_0x4e276e)=>{const _0x524b7b=_0x3beada['viewItem']['getChild'](0x0);if(!_0x524b7b||!_0x524b7b['is']('element','code'))return;if(!_0x4e276e['consumable']['consume'](_0x524b7b,{'attributes':['vid_start','vid_end']}))return;const _0x1d6db5=_0x3beada['modelRange']['start']['nodeAfter'];_0x4e276e['writer']['setAttribute']('vid_start',_0x524b7b['getAttribute']('vid_start'),_0x1d6db5),_0x4e276e['writer']['setAttribute']('vid_end',_0x524b7b['getAttribute']('vid_end'),_0x1d6db5);},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['add'](_0x5b3f34=>{_0x5b3f34['on']('element',(_0x31c7e5,_0x4112d1,_0x15fc13)=>{if(!_0x15fc13['consumable']['consume'](_0x4112d1['viewItem'],{'attributes':['vid_start','vid_end']}))return;if(_0x4112d1['modelRange']['isCollapsed'])return;const _0x288030=_0x4112d1['modelRange']['start']['nodeAfter'];_0x288030['hasAttribute']('vid_start')||_0x288030['hasAttribute']('vid')||(_0x15fc13['writer']['setAttribute']('vid_start',_0x4112d1['viewItem']['getAttribute']('vid_start'),_0x288030),_0x15fc13['writer']['setAttribute']('vid_end',_0x4112d1['viewItem']['getAttribute']('vid_end'),_0x288030));},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['elementToAttribute']({'view':{'name':'span','attributes':{'vid':!0x0}},'model':{'key':'vid','value':_0x32fa4e=>_0x32fa4e['getAttribute']('vid')}}),this['editor']['model']['schema']['on']('checkAttribute',(_0x3c4f84,[,_0x5a4546])=>{['vid_start','vid_end','vid']['includes'](_0x5a4546)&&(_0x3c4f84['return']=!0x0,_0x3c4f84['stop']());},{'priority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['add'](_0x37d0db=>{_0x37d0db['on']('attribute:vid',(_0x1a8919,_0x4fed6a,_0x1bfbc8)=>{if('\x20'!=_0x4fed6a['item']['data']||_0x4fed6a['item']['parent']['maxOffset']>0x1)return;if(!_0x1bfbc8['consumable']['consume'](_0x4fed6a['item'],_0x1a8919['name']))return;const _0x4f9136=_0x1bfbc8['writer'],_0x1bf430=_0x1bfbc8['mapper']['toViewRange'](_0x4fed6a['range']);_0x4f9136['wrap'](_0x1bf430,_0x4f9136['createAttributeElement']('span'));});}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',function(_0xd1d866){const _0xde4acd=_0xd1d866['plugins']['get']('RevisionViewer');return(_0xb68e23,_0x2707d4,_0x28a712)=>{const _0x487054=_0x2707d4['markerName']['split'](':')[0x1],_0x17925e=_0xde4acd['_getChangeFromId'](_0x487054);if(!_0x17925e)return null;const _0x27427a='add'==_0x17925e['type']?'split':'merge';if(!_0x28a712['consumable']['test'](_0x2707d4['markerRange'],_0xb68e23['name']))return;const _0x3619aa=_0x2707d4['markerRange']['getWalker'](),_0x3c8410=_0x2707d4['markerRange']['start'],_0x3918d3=_0xd1d866['model']['schema'];let _0x1d7d93=null,_0x325683=null,_0x460942=!0x1,_0xce4f9f=!0x1;for(const _0x3429cb of _0x3619aa){const _0x104373=_0x3429cb['item'];_0x460942=_0x460942||_0x3918d3['isContent'](_0x104373);const _0x37f2cd=_0x28a712['mapper']['toViewElement'](_0x104373);if(_0x37f2cd&&_0x37f2cd['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x3429cb['type']&&(_0x3918d3['isBlock'](_0x104373)&&!_0x3918d3['isLimit'](_0x104373)&&(_0x104373['nextSibling']||_0x3c8410['isAtEnd']?_0x1d7d93&&_0x1d7d93['parent']==_0x104373||(_0x1d7d93=_0x104373,_0x10a6d9(_0x3429cb['previousPosition']),_0xce4f9f=!0x0):_0x325683=_0x325683||_0x3429cb['previousPosition']));}function _0x10a6d9(_0x1a13b5){const _0x484027=_0x28a712['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x27427a}),_0x2a2265=_0x28a712['mapper']['toViewPosition'](_0x1a13b5);_0x17925e['data']['isSuggestion']&&_0x28a712['writer']['addClass']('ck-suggestion-marker-'+_0x27427a+'-new',_0x484027),_0xde4acd['activeChange']==_0x17925e&&_0x28a712['writer']['addClass']('ck-suggestion-marker--active',_0x484027),_0x28a712['writer']['insert'](_0x2a2265,_0x484027),_0x28a712['mapper']['bindElementToMarker'](_0x484027,_0x2707d4['markerName']);}_0x460942||_0xce4f9f||!_0x325683||_0x10a6d9(_0x325683);};}(this['editor']),{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('removeMarker:revision',(_0x1f55d4,_0x3fe2f2,_0x5d582c)=>{const _0x5a0abb=_0x5d582c['mapper']['markerNameToElements'](_0x3fe2f2['markerName']);if(_0x5a0abb){for(const _0x3df542 of _0x5a0abb)(_0x3df542['hasClass']('ck-suggestion-marker-split')||_0x3df542['hasClass']('ck-suggestion-marker-merge'))&&(_0x5d582c['mapper']['unbindElementFromMarkerName'](_0x3df542,_0x3fe2f2['markerName']),_0x5d582c['writer']['remove'](_0x3df542));}},{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',(_0x835388,_0x54cb26,_0x2c4d42)=>{const _0x531b77=_0x54cb26['markerName']['split'](':')[0x1],_0xd46061=this['_getChangeFromId'](_0x531b77);if(!_0xd46061)return null;const _0xd8970f='add'==_0xd46061['type']?'split':'merge';if(_0x2c4d42['consumable']['test'](_0x54cb26['markerRange'],_0x835388['name']))for(const _0x47ce23 of _0x54cb26['markerRange']['getItems']()){if(!_0x47ce23['is']('element','softBreak'))continue;const _0x28b8ad=_0x2c4d42['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0xd8970f}),_0x52c4c8=_0x2c4d42['mapper']['toViewPosition'](this['editor']['model']['createPositionBefore'](_0x47ce23));_0xd46061['data']['isSuggestion']&&_0x2c4d42['writer']['addClass']('ck-suggestion-marker-'+_0xd8970f+'-new',_0x28b8ad),this['activeChange']==_0xd46061&&_0x2c4d42['writer']['addClass']('ck-suggestion-marker--active',_0x28b8ad),_0x2c4d42['writer']['insert'](_0x52c4c8,_0x28b8ad),_0x2c4d42['mapper']['bindElementToMarker'](_0x28b8ad,_0x54cb26['markerName']);}},{'priority':'high'}),this['editor']['model']['document']['on']('change',()=>{this['editor']['editing']['view']['change'](_0x27cf0d=>{for(const _0x1f6c58 of this['editor']['model']['document']['getRootNames']()){const _0x49da2d=this['editor']['model']['document']['getRoot'](_0x1f6c58),_0x1f8bd9=this['editor']['editing']['view']['document']['getRoot'](_0x1f6c58);if(_0x1f8bd9){const _0x3b5579=_0x49da2d['getAttribute']('revisionHistoryAttachChange');if(_0x27cf0d['removeAttribute']('data-change-id',_0x1f8bd9),_0x27cf0d['removeClass']('ck-revision-history-root-add',_0x1f8bd9),_0x27cf0d['removeClass']('ck-revision-history-root-remove',_0x1f8bd9),_0x27cf0d['removeClass']('ck-revision-history-root--active',_0x1f8bd9),_0x3b5579){const _0x5c589b=this['_getChangeFromId'](_0x3b5579);if(!_0x5c589b)return null;_0x27cf0d['setAttribute']('data-change-id',_0x3b5579,_0x1f8bd9),_0x27cf0d['addClass']('ck-revision-history-root-'+_0x5c589b['type'],_0x1f8bd9),this['activeChange']==_0x5c589b&&_0x27cf0d['addClass']('ck-revision-history-root--active',_0x1f8bd9);}}}});}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'comment','model':_0x386bff=>'revision-comment:'+_0x386bff,'converterPriority':'highest'}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'suggestion','model':_0x524321=>'revision-suggestion:'+_0x524321,'converterPriority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision-suggestion','view':_0x2625ed=>({'name':'suggestion:'+_0x2625ed,'group':'revision-suggestion'}),'converterPriority':'highest'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision-suggestion','view':_0x56e7e4=>{const _0x1d1bc3=_0x56e7e4['markerName']['split'](':')[0x1];return'insertion'!=_0x1d1bc3&&'deletion'!=_0x1d1bc3?null:{'classes':['ck-suggestion-preview-marker','ck-suggestion-preview-marker-'+_0x1d1bc3]};}}),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',(_0x277815,_0x4d8e4c,_0x11fba3)=>{const _0x5805d4=_0x11fba3['mapper']['markerNameToElements'](_0x4d8e4c['markerName']);if(_0x5805d4){for(const _0x5719e4 of _0x5805d4)_0x5719e4['is']('uiElement')&&(_0x11fba3['mapper']['unbindElementFromMarkerName'](_0x5719e4,_0x4d8e4c['markerName']),_0x11fba3['writer']['remove'](_0x5719e4));}},{'priority':'high'});}['_getChangeFromId'](_0xc454ea){return this['_changeIdToChange']['get'](_0xc454ea);}['_getViewForChange'](_0x3e29e9){return this['_changeView']&&this['_changeView']['destroy'](),this['_changeView']=new Z(this['editor']['locale'],_0x3e29e9),this['_changeView'];}['_initInteractions'](){this['editor']['model']['document']['selection']['observeMarkers']('revision'),this['on']('change:activeView',(_0x39d46a,_0x53537e,_0x170cb8,_0x1182c4)=>{_0x1182c4&&this['_balloon']['remove'](_0x1182c4),_0x170cb8&&(this['_balloon']['add']({'view':_0x170cb8,'stackId':'revisionHistoryLabel','position':{'target':()=>{const _0x2be634=this['editor']['editing'],_0x514f65=this['_getChangeFromId'](_0x170cb8['changeId']);let _0x209f03;if(_0x514f65['data']['isOnRoot']){const _0x450086=_0x2be634['view']['getDomRoot'](_0x514f65['rootName']);_0x209f03=Array['from'](_0x450086['getClientRects']());}else{const _0x5eb116=this['editor']['model']['markers']['get']('revision:'+_0x170cb8['changeId']);_0x209f03=Array['from'](_0x2be634['mapper']['markerNameToElements'](_0x5eb116['name']))['map'](_0x2a7c3f=>_0x2be634['view']['domConverter']['mapViewToDom'](_0x2a7c3f))['map'](_0x2174b9=>Array['from'](_0x2174b9['getClientRects']()))['flat']();}if(!this['_activeViewTarget'])return _0x209f03[0x0];return _0x209f03['find'](_0x4fc81e=>_0x4fc81e['top']-0x3<=this['_activeViewTarget']['y']&&_0x4fc81e['bottom']+0x3>=this['_activeViewTarget']['y']&&_0x4fc81e['left']-0x3<=this['_activeViewTarget']['x']&&_0x4fc81e['right']+0x3>=this['_activeViewTarget']['x'])||_0x209f03[0x0];}}}),this['_balloon']['showStack']('revisionHistoryLabel'));}),this['on']('change:activeChange',(_0xa4f04d,_0x44dc24,_0x2e760e,_0x1d0d9c)=>{this['activeView']=_0x2e760e?this['_getViewForChange'](_0x2e760e):null,this['editor']['model']['change'](()=>{const _0x4e76fc=this['editor']['editing'];_0x1d0d9c&&(_0x1d0d9c['data']['isOnRoot']?_0x4e76fc['view']['change'](_0x1a0e38=>{_0x1a0e38['removeClass']('ck-revision-history-root--active',_0x4e76fc['view']['document']['getRoot'](_0x1d0d9c['rootName']));}):_0x4e76fc['reconvertMarker']('revision:'+_0x1d0d9c['id'])),_0x2e760e&&(_0x2e760e['data']['isOnRoot']?_0x4e76fc['view']['change'](_0x4da2a8=>{_0x4da2a8['addClass']('ck-revision-history-root--active',_0x4e76fc['view']['document']['getRoot'](_0x2e760e['rootName']));}):_0x4e76fc['reconvertMarker']('revision:'+_0x2e760e['id']));});}),this['listenTo'](this['editor']['editing']['view']['document'],'mouseover',(_0xd36665,_0x517c9c)=>{if(this['activeChange'])return;const _0x27b43b=this['_findChangeIdFromDomTarget'](_0x517c9c['target']),_0x66f8c0=this['_changeIdToChange']['get'](_0x27b43b);_0x66f8c0?(this['_activeViewTarget']={'x':_0x517c9c['domEvent']['x'],'y':_0x517c9c['domEvent']['y']},this['activeView']=this['_getViewForChange'](_0x66f8c0)):(this['_activeViewTarget']=null,this['activeView']=null);}),this['listenTo'](this['editor']['editing']['view']['document'],'mousedown',(_0x1e4fd2,_0x564a8a)=>{const _0x3d32ad=this['_findChangeIdFromDomTarget'](_0x564a8a['target']),_0x347a7a=this['_changeIdToChange']['get'](_0x3d32ad);_0x347a7a?(this['_activeViewTarget']={'x':_0x564a8a['domEvent']['x'],'y':_0x564a8a['domEvent']['y']},_0x347a7a===this['activeChange']?this['_balloon']['updatePosition']():this['activeChange']=_0x347a7a):(this['_activeViewTarget']=null,this['activeChange']=null);});}['_findChangeIdFromDomTarget'](_0x36107a){do{const _0x20293f=_0x36107a['getAttribute']('data-change-id');if(_0x20293f)return _0x20293f;_0x36107a=_0x36107a['parent'];}while(_0x36107a);return null;}['_cleanMarkers'](){this['editor']['model']['change'](_0x1a094c=>{for(const _0x3129fe of this['editor']['model']['markers'])_0x1a094c['removeMarker'](_0x3129fe);});}}function et(_0x77b017,_0x18adea){return(_0x2506d8,_0x4e77ef,_0x305474)=>{if(!_0x305474['consumable']['test'](_0x4e77ef['markerRange'],_0x2506d8['name']))return;const _0x5c4e53=_0x4e77ef['markerRange']['getWalker'](),_0x4d4c63=_0x4e77ef['markerRange']['start'],_0x574258=_0x77b017['model']['schema'];let _0x40e898=null,_0x40d726=null,_0xcbe0a7=!0x1,_0x52e908=!0x1;for(const _0x57a9cd of _0x5c4e53){const _0xd4aeb3=_0x57a9cd['item'];_0xcbe0a7=_0xcbe0a7||_0x574258['isContent'](_0xd4aeb3);const _0x48d760=_0x305474['mapper']['toViewElement'](_0xd4aeb3);if(_0x48d760&&_0x48d760['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x57a9cd['type']&&(_0x574258['isBlock'](_0xd4aeb3)&&!_0x574258['isLimit'](_0xd4aeb3)&&(_0xd4aeb3['nextSibling']||_0x4d4c63['isAtEnd']?_0x40e898&&_0x40e898['parent']==_0xd4aeb3||(_0x40e898=_0xd4aeb3,_0x2eafaa(_0x57a9cd['previousPosition']),_0x52e908=!0x0):_0x40d726=_0x40d726||_0x57a9cd['previousPosition']));}function _0x2eafaa(_0x3234cc){const _0x54ade2=_0x305474['mapper']['toViewPosition'](_0x3234cc),_0x3e7ef2=_0x305474['writer']['createUIElement']('span',{'class':'ck-suggestion-preview-marker-'+_0x18adea});_0x305474['writer']['insert'](_0x54ade2,_0x3e7ef2),_0x305474['mapper']['bindElementToMarker'](_0x3e7ef2,_0x4e77ef['markerName']);}_0xcbe0a7||_0x52e908||!_0x40d726||_0x2eafaa(_0x40d726);};}class bt extends _0x3e7edf{constructor(_0x444169){super(_0x444169);const _0x2440e6=_0x444169['plugins']['get'](d);this['affectsData']=!0x1,this['listenTo'](_0x2440e6,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x2440e6,'change:isEnabled',()=>this['refresh']());}['execute'](){const _0x5327fe=this['editor'],_0x2a0353=_0x5327fe['plugins']['get'](d),_0x35680a=_0x2a0353['isReady']?_0x2a0353['diff']['newRevisionId']:null;_0x5327fe['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x35680a);}['refresh'](){const {isReady:_0x2ba1e7,isEnabled:_0x32e399}=this['editor']['plugins']['get'](d);this['isEnabled']=_0x2ba1e7&&_0x32e399;}}class yt extends _0x3e7edf{['_step'];constructor(_0x53ea8d,{direction:_0x3fc81b}){super(_0x53ea8d);const _0x2d6850=_0x53ea8d['plugins']['get'](d);this['affectsData']=!0x1,this['_step']='forward'===_0x3fc81b?0x1:-0x1,this['listenTo'](_0x2d6850,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x2d6850,'change:isEnabled',()=>this['refresh']()),this['listenTo'](_0x2d6850,'change:activeChange',()=>this['refresh']());}['execute'](){const _0x187a91=this['editor'],_0x4bb199=_0x187a91['plugins']['get'](d),{isNavigationMode:_0x22820d,currentChangeNumber:_0x1a81ee}=_0x4bb199;let _0x5d16b9;if(_0x4bb199['activeChange']=_0x22820d?_0x4bb199['diff']['changes']['get'](_0x1a81ee+this['_step']):_0x4bb199['diff']['changes']['first'],_0x4bb199['activeChange']['data']['isOnRoot'])_0x5d16b9=_0x187a91['editing']['view']['getDomRoot'](_0x4bb199['activeChange']['rootName']);else{const _0x1502b6=_0x187a91['model']['markers']['get']('revision:'+_0x4bb199['activeChange']['id']);_0x5d16b9=_0x40d4c2(_0x187a91['editing'],_0x1502b6);}_0x38f60a({'target':_0x5d16b9,'viewportOffset':0x28});}['refresh'](){const {isNavigationMode:_0x2b3888,currentChangeNumber:_0x2a894e,numberOfChanges:_0x249f85,isReady:_0x1729c8,isEnabled:_0x5691f8}=this['editor']['plugins']['get'](d);this['isEnabled']=!!(_0x5691f8&&_0x1729c8&&_0x249f85)&&(!_0x2b3888||(0x1===this['_step']?_0x2a894e<_0x249f85-0x1:_0x2a894e>0x0));}}class _i extends _0x4974b8{constructor(_0x305bf5){super(_0x305bf5);const _0x494607=this['bindTemplate'],_0x2e8f63=new _0x21e96e(_0x305bf5),_0x109e0a=new _0x21e96e(_0x305bf5);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',(_0x591103,_0x174ccc)=>_0x591103&&_0x174ccc>0x0),this['bind']('_statusText')['to'](this,'isReady',this,'currentChangeNumber',this,'numberOfChanges',this,'isNavigationMode',(_0x29ccfe,_0x25830b,_0x1f00ce,_0x3b1a5c)=>{if(!_0x29ccfe)return y(_0x305bf5,'Loading...');if(!_0x1f00ce)return y(_0x305bf5,'No\x20changes');const _0x1ab3ac=y(_0x305bf5,'NUMBER_OF_CHANGES',_0x1f00ce);return _0x3b1a5c?y(_0x305bf5,'X_OF_Y_CHANGES',[_0x25830b+0x1,_0x1f00ce]):_0x1ab3ac;}),_0x2e8f63['set']({'label':y(_0x305bf5,'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'}),_0x109e0a['set']({'label':y(_0x305bf5,'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'}),_0x2e8f63['bind']('isEnabled')['to'](this,'isBackwardNavigationEnabled'),_0x109e0a['bind']('isEnabled')['to'](this,'isForwardNavigationEnabled'),_0x2e8f63['on']('execute',()=>this['fire']('execute','backward')),_0x109e0a['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',_0x494607['if']('_isStatusLabelVisible','ck-hidden',_0x309382=>!_0x309382)]},'children':[{'text':_0x494607['to']('isNavigationMode',_0x5385c0=>_0x5385c0?y(_0x305bf5,'EDIT_X_OF_Y_REVISIONS')+':\x20':y(_0x305bf5,'Total')+':\x20')}]},{'text':_0x494607['to']('_statusText')}]},new _0x1ef7b7(),{'tag':'div','attributes':{'class':['ck-revision-history-ui__changes-navigation__navigation']},'children':[_0x2e8f63,_0x109e0a]}]});}}const ce='ck-editor__editable__loading-overlay';class de extends _0x4595fe{static get['pluginName'](){return'RevisionViewerLoadingOverlay';}['show'](){const _0x36d42d=this['editor']['editing']['view'];_0x36d42d['change'](_0x21c575=>{for(const _0x5c7899 of _0x36d42d['document']['roots'])_0x21c575['addClass'](ce,_0x5c7899);});}['hide'](){const _0x1cfced=this['editor']['editing']['view'];_0x1cfced['change'](_0x26bc6a=>{for(const _0x2af980 of _0x1cfced['document']['roots'])_0x26bc6a['removeClass'](ce,_0x2af980);});}}class R extends _0x4595fe{static get['pluginName'](){return'RevisionViewerUI';}static get['requires'](){return[d,de];}['init'](){const _0x5422af=this['editor'],_0xc668b7=_0x5422af['plugins']['get'](d),_0xf8cda9=_0x5422af['plugins']['get'](de);_0x5422af['ui']['componentFactory']['add']('exitToEditing',_0x2c6199=>{const _0x348786=new _0x21e96e(_0x2c6199);return _0x348786['set']({'label':y(_0x2c6199,'Back\x20to\x20editing'),'icon':_0x28a782['undo'],'withText':!0x0,'tooltip':!0x0,'class':'ck-revision-history-ui__back-to-editing'}),this['listenTo'](_0x348786,'execute',()=>{_0x5422af['config']['get']('revisionHistory')['closeRevisionViewerCallback']();}),_0x348786;}),_0x5422af['ui']['componentFactory']['add']('restoreRevision',_0x47e063=>{const _0x3a1d1a=new _0x21e96e(_0x47e063);return _0x3a1d1a['set']({'label':y(_0x47e063,'Restore\x20this\x20revision'),'withText':!0x0,'tooltip':!0x0}),_0x3a1d1a['bind']('isEnabled')['to'](_0x5422af['commands']['get']('restoreRevision')),this['listenTo'](_0x3a1d1a,'execute',()=>_0x5422af['execute']('restoreRevision')),_0x3a1d1a;}),_0x5422af['ui']['componentFactory']['add']('changesNavigation',_0x509d17=>{const _0x2b177f=new _i(_0x509d17),_0x5ae5c4=_0x5422af['commands']['get']('showPreviousChange'),_0x436264=_0x5422af['commands']['get']('showNextChange');return _0x2b177f['bind']('isBackwardNavigationEnabled')['to'](_0x5ae5c4,'isEnabled'),_0x2b177f['bind']('isForwardNavigationEnabled')['to'](_0x436264,'isEnabled'),_0x2b177f['bind']('isReady','currentChangeNumber','numberOfChanges','isNavigationMode')['to'](_0xc668b7),this['listenTo'](_0x2b177f,'execute',(_0x412adf,_0x535342)=>{_0x5422af['execute']('forward'===_0x535342?'showNextChange':'showPreviousChange');}),_0x2b177f;}),_0xf8cda9['show'](),_0xc668b7['on']('change:isReady',(_0x221e02,_0x5ef771,_0xe8a692)=>{_0xe8a692?_0xf8cda9['hide']():_0xf8cda9['show']();});}}class kt extends at{['_resizeObserver']=null;constructor(_0x5dfe80,_0x4632c1){super(_0x5dfe80,_0x4632c1);const _0x2128c0=this['bindTemplate'];this['set']({'label':y(_0x5dfe80,'Revision\x20name'),'_tooltipString':''}),this['fieldView']['placeholder']=y(_0x5dfe80,'Enter\x20the\x20revision\x20name'),this['extendTemplate']({'tag':'span','attributes':{'class':['ck-revision-history-sidebar__revision-name'],'data-cke-tooltip-text':_0x2128c0['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 _0xe69f91=this['fieldView']['element'];this['_tooltipString']=_0xe69f91['scrollWidth']>_0xe69f91['clientWidth']&&_0xe69f91['value']||'';}}class ti extends _0x4974b8{constructor(_0x28c62d,_0x1ef8a4,_0x203bf9){super(_0x28c62d);const _0x5431cd=new _0x1aef54();_0x5431cd['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 _0x176620=['ck','ck-revision-history-sidebar__revision-author'];_0x203bf9&&_0x176620['push']('ck-revision-history-sidebar__revision-author_creator');const _0x311c40=[{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__revision-author__name'],'title':y(_0x28c62d,_0x203bf9?'Revision\x20creator':'Revision\x20author')},'children':[_0x5431cd,_0x1ef8a4['name']]}];this['setTemplate']({'tag':'li','attributes':{'class':_0x176620},'children':_0x311c40});}}function ni(_0x28ef6a,_0x493310){const _0x5a93ab=_0x28ef6a['bindTemplate'],_0x5754d9=_0x28ef6a['locale'],_0x588e45=_0x392660(_0x5754d9);_0x588e45['panelPosition']='sw';const _0x1238b6=function(_0x3716f4,_0x2debc6){const _0x40e028=function(_0x41f7b5,_0x4681bf){const _0x53a4bb=_0x41f7b5['locale'],_0x4be77e={'Compare\x20against\x20selected':y(_0x53a4bb,'Compare\x20against\x20selected'),'Name\x20this\x20revision':y(_0x53a4bb,'Name\x20this\x20revision'),'Restore\x20this\x20revision':y(_0x53a4bb,'Restore\x20this\x20revision')};return _0x4681bf['map'](_0x28161d=>{const _0x1c40dd=_0x4be77e[_0x28161d['name']];return _0x1c40dd&&_0x1c40dd!==_0x28161d['name']&&(_0x28161d['name']=_0x1c40dd),_0x28161d;});}(_0x3716f4,_0x2debc6),_0x424ae3=new _0x5c58fb();for(const _0x39932d of _0x40e028){const _0x34121e={'type':'button','model':new to({'label':_0x39932d['name'],'class':_0x39932d['class'],'withText':!0x0,'role':'menuitem','_action':_0x39932d['action']})};_0x34121e['model']['bind']('isEnabled')['to'](_0x3716f4,'isActionsDropdownOpen',_0xb1eb52=>'function'!=typeof _0x39932d['isEnabled']||(!_0xb1eb52||_0x39932d['isEnabled'](_0x3716f4))),_0x424ae3['add'](_0x34121e);}return _0x424ae3;}(_0x28ef6a,_0x493310);return _0x28ef6a['bind']('isActionsDropdownOpen')['to'](_0x588e45,'isOpen'),_0x588e45['buttonView']['set']({'label':y(_0x5754d9,'Show\x20more\x20items'),'tooltip':!0x0,'tooltipPosition':'sw','icon':_0x28a782['threeVerticalDots']}),_0x588e45['extendTemplate']({'attributes':{'class':['ck-revision-history-sidebar__revision__actions',_0x5a93ab['if']('isActionsDropdownOpen','ck-on')]},'on':{'click':_0x5a93ab['to'](_0x42b766=>_0x42b766['stopPropagation']())}}),_0x588e45['on']('execute',_0x5ca6cd=>{_0x28ef6a['isReady']&&'function'==typeof _0x5ca6cd['source']['_action']&&_0x5ca6cd['source']['_action'](_0x28ef6a);}),_0x5dc3d9(_0x588e45,_0x1238b6,{'role':'menu'}),_0x588e45['listenTo'](_0x28ef6a,'change:isActionsDropdownOpen',(_0x366d00,_0xd8b5fd,_0x41b9ea)=>{if(_0x41b9ea)for(const _0x221826 of _0x588e45['listView']['items']){const _0x10ec4a=_0x221826['children']['first'],_0x45a601=_0x493310['find'](_0x4e2248=>_0x4e2248['action']===_0x10ec4a['_action'])['isVisible'];_0x221826['isVisible']=void 0x0===_0x45a601||_0x45a601(_0x28ef6a);}}),_0x588e45;}class ai extends/* #__PURE__ -- @preserve */
26
+ _0x3558f0(_0x4974b8){['id'];['revisionNameView'];['revisionActionsView'];['_revision'];['_requireRevisionName'];constructor(_0x412030,_0x36588d,_0xa9c143,_0x4441f4){super(_0x412030);const _0x54a338=this['bindTemplate'],_0x2ed0ab=function(_0x4f21f5,_0x161c24){const _0x2e78f3=Array['from'](_0x161c24['authors'])['filter'](_0x214877=>_0x214877!=_0x161c24['creator']);return _0x161c24['creator']&&_0x2e78f3['unshift'](_0x161c24['creator']),_0x2e78f3['map'](_0x27f0f6=>new ti(_0x4f21f5,_0x27f0f6,_0x27f0f6==_0x161c24['creator']));}(_0x412030,_0x36588d);this['id']=_0x36588d['id'],this['_revision']=_0x36588d,this['_requireRevisionName']=_0x4441f4,this['bind']('name','createdAt')['to'](_0x36588d),this['bind']('_createdAtFormatted')['to'](this,'createdAt',_0x40b330=>{return _0x28373c=_0x412030['uiLanguage'],(_0x3aff1d=_0x40b330)['toLocaleDateString'](_0x28373c,{'month':'long','day':'numeric'})+',\x20'+_0x3aff1d['toLocaleTimeString'](_0x28373c,{'hour':'numeric','minute':'numeric'});var _0x28373c,_0x3aff1d;}),this['set']('isSelected',!0x1),this['set']('isHighlighted',!0x1),this['set']('isActionsDropdownOpen',!0x1),this['set']('isReady',!0x1),this['set']('isEnabled',!0x1),this['revisionNameView']=new kt(_0x412030,_0x3f7270),this['revisionNameView']['fieldView']['extendTemplate']({'attributes':{'maxlength':'220'}}),this['revisionNameView']['fieldView']['bind']('value')['to'](this,'name',_0x34eaa6=>_0x34eaa6||this['_createdAtFormatted']),this['revisionNameView']['bind']('isEnabled')['to'](this,'isSelected',this,'isEnabled',(_0x580857,_0x5b583f)=>_0x580857&&_0x5b583f),this['revisionActionsView']=_0xa9c143&&_0xa9c143['length']?ni(this,_0xa9c143):'',this['revisionActionsView']&&this['revisionActionsView']['bind']('isEnabled')['to'](this),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision-wrapper',_0x54a338['if']('isConfirm','ck-revision-history-sidebar__revision-wrapper_confirmation_visible')]},'children':[{'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision',_0x54a338['if']('isEnabled','ck-disabled',_0x22cc46=>!_0x22cc46),_0x54a338['if']('isSelected','ck-revision-history-sidebar__revision_selected'),_0x54a338['if']('isHighlighted','ck-revision-history-sidebar__revision_highlighted'),_0x54a338['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':_0x54a338['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':_0x2ed0ab}]},this['revisionActionsView']],'on':{'click':_0x54a338['to'](_0x18aadc=>{_0x18aadc['srcElement']['closest']('.ck-thread__remove-confirm')||this['isReady']&&this['isEnabled']&&this['fire']('select',{'id':this['id']});})}}]});}['render'](){super['render']();const _0x38d2e1=this['revisionNameView']['fieldView']['element'];this['listenTo'](_0x38d2e1,'change',()=>{this['_requireRevisionName']&&!_0x38d2e1['value']||this['fire']('setName',{'id':this['id'],'name':_0x38d2e1['value']}),_0x38d2e1['value']||(_0x38d2e1['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(_0x2f2569,_0x3e809a){const _0x4a6c86=_0x41005a['fromJSDate'](_0x2f2569)['setLocale'](_0x3e809a),_0x10b87f=_0x41005a['local'](),_0x189c50=_0x10b87f['minus']({'days':0x1})['startOf']('day');let _0x3b9fa8,_0x4ebb19;return _0x4a6c86['hasSame'](_0x10b87f,'day')?(_0x3b9fa8=_0x4a6c86['startOf']('day')['toJSDate'](),_0x4ebb19=_0x4a6c86['toRelativeCalendar']()):_0x4a6c86['hasSame'](_0x189c50,'day')?(_0x3b9fa8=_0x189c50['toJSDate'](),_0x4ebb19=_0x4a6c86['toRelativeCalendar']()):_0x4a6c86['hasSame'](_0x10b87f,'week')?(_0x3b9fa8=_0x4a6c86['startOf']('week')['toJSDate'](),_0x4ebb19=_0x4a6c86['weekdayLong']||''):_0x4a6c86['hasSame'](_0x10b87f,'year')?(_0x3b9fa8=_0x4a6c86['startOf']('month')['toJSDate'](),_0x4ebb19=_0x4a6c86['monthLong']||''):(_0x3b9fa8=_0x4a6c86['startOf']('year')['toJSDate'](),_0x4ebb19=String(_0x4a6c86['year'])),{'startDate':_0x3b9fa8,'localizedPeriodName':_0x4ebb19};}class mi extends _0x4974b8{['startDate'];['revisionViews'];['_revisionActions'];['_requireRevisionName'];constructor(_0x4bedd6,_0x5d1d8e,_0x2e7128,_0x32b5b3){super(_0x4bedd6);const _0x544c1b=di(_0x5d1d8e,this['locale']['uiLanguage'])['localizedPeriodName'];this['startDate']=_0x5d1d8e,this['revisionViews']=this['createCollection'](),this['_revisionActions']=_0x2e7128,this['_requireRevisionName']=_0x32b5b3,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':_0x544c1b}]},{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__time-period__revisions']},'children':this['revisionViews']}]});}['addRevision'](_0x388461){const _0x59eb66=new ai(this['locale'],_0x388461,this['_revisionActions'],this['_requireRevisionName']);this['revisionViews']['add'](_0x59eb66);}['removeRevision'](_0x10a753){const _0x5c5ad0=this['revisionViews']['find'](_0x599578=>_0x599578['id']===_0x10a753['id']);this['revisionViews']['remove'](_0x5c5ad0);}}class as extends _0x4974b8{constructor(_0x3d7936){super(_0x3d7936);const _0x173463=new _0x1aef54();_0x173463['content']=_0x28a782['history'],this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all','ck-revision-history-sidebar__header']},'children':[_0x173463,{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__header__label']},'children':[y(_0x3d7936,'Revision\x20history')]}]});}}class ci extends _0x4974b8{['timePeriodViews'];['_revisions'];['_revisionActions'];['_requireRevisionName'];constructor(_0x2bd050,_0x550761,_0x5bb6b9,_0x4608d3){super(_0x2bd050);const _0x521af1=this['bindTemplate'];this['timePeriodViews']=this['createCollection'](),this['timePeriodViews']['delegate']('select')['to'](this),this['timePeriodViews']['delegate']('setName')['to'](this),this['_revisions']=_0x550761,this['_revisionActions']=_0x5bb6b9,this['_requireRevisionName']=_0x4608d3,this['on']('select',(_0x56b4d4,_0xc85349)=>{this['fire']('revisionSelected',_0xc85349);}),this['on']('setName',(_0x5a7be9,_0xdca449)=>{this['fire']('revisionSetName',_0xdca449);}),this['set']('isEnabled',!0x1),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-rounded-corners','ck-revision-history-sidebar']},'children':[new as(_0x2bd050),{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__timeline',_0x521af1['if']('isEnabled','ck-disabled',_0x312575=>!_0x312575)]},'children':this['timePeriodViews']}]});}['render'](){super['render']();for(const _0x26a4bb of this['_revisions'])this['_addRevision'](_0x26a4bb);this['_revisions']['on']('add',(_0x1bcb07,_0x5b7a41)=>{this['_addRevision'](_0x5b7a41);}),this['_revisions']['on']('remove',(_0xb0efb1,_0x498723)=>{this['_removeRevision'](_0x498723);});}get['revisionViews'](){return this['timePeriodViews']['map'](_0x4baa32=>_0x4baa32['revisionViews']['map'](_0x5710c8=>_0x5710c8))['flat']();}['selectRevision'](_0x5f3b69){for(const _0x6ded20 of this['revisionViews'])_0x5f3b69&&_0x5f3b69['id']===_0x6ded20['id']?_0x6ded20['select']():_0x6ded20['deselect']();}['highlightRevisions'](_0x5a8bbe){for(const _0x20b5e7 of this['revisionViews'])_0x5a8bbe['some'](({id:_0x1de1cf})=>_0x1de1cf===_0x20b5e7['id'])?_0x20b5e7['highlight']():_0x20b5e7['unhighlight']();}['_addRevision'](_0x5ae1c4){const _0x4157a4=di(_0x5ae1c4['createdAt'],this['locale']['uiLanguage'])['startDate'];let _0x39811a=this['timePeriodViews']['get'](0x0);_0x39811a&&_0x39811a['startDate']['getTime']()===_0x4157a4['getTime']()||(_0x39811a=new mi(this['locale'],_0x4157a4,this['_revisionActions'],this['_requireRevisionName']),this['timePeriodViews']['add'](_0x39811a)),_0x39811a['addRevision'](_0x5ae1c4);}['_removeRevision'](_0xe182e7){const _0x3f1fc4=di(_0xe182e7['createdAt'],this['locale']['uiLanguage'])['startDate'];this['_getTimePeriodViewByStartDate'](_0x3f1fc4)['removeRevision'](_0xe182e7);}['_getTimePeriodViewByStartDate'](_0x55f6f6){return this['timePeriodViews']['find'](_0x315c42=>_0x315c42['startDate']['getTime']()===_0x55f6f6['getTime']());}}class w extends _0x4595fe{['_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(_0x5931f4){super(_0x5931f4),this['_revisionViewer']=_0x5931f4['plugins']['get'](d),this['_revisionsRepository']=this['_revisionViewer']['repository'],this['_sidebarView']=null;}['init'](){const _0x21bef0=this['_revisionsRepository']['_revisions'],_0x1d15bf=this['_createRevisionActions'](),_0x3a5476=this['editor']['config']['get']('revisionHistory.viewerSidebarContainer');this['_sidebarView']=new ci(this['editor']['locale'],_0x21bef0,_0x1d15bf,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',(_0x33971f,_0x8f9f34)=>{_0x8f9f34['revisionViews']['on']('add',(_0x110189,_0x21de75)=>{_0x21de75['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)),_0x3a5476['appendChild'](this['_sidebarView']['element']);}['destroy'](){this['_sidebarView']['element']['remove'](),this['_sidebarView']['destroy']();}['_handleEditorDataReady'](){const _0x29fd68=this['_revisionsRepository']['getRevision'](0x0);if(_0x29fd68){const _0xe2b390=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x29fd68['id']);this['_revisionViewer']['compare'](_0x29fd68,_0xe2b390);}}['_handleRevisionSelected'](_0x185947,_0x28b1cf){const _0x198a5f=this['_revisionsRepository']['getRevision'](_0x28b1cf['id']),_0x5d65dd=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x198a5f['id']);this['_revisionViewer']['compare'](_0x198a5f,_0x5d65dd);}['_handleRevisionSetName'](_0x419be0,_0x189a72){this['_revisionsRepository']['getRevision'](_0x189a72['id'])['setName'](_0x189a72['name']);}['_handleDiffChange'](_0x2e8e3a,_0x5252bc,_0x37e27f){const _0x1828a9=this['_revisionsRepository']['getRevisionsInDiff'](_0x37e27f);_0x1828a9['length']>0x2?(this['_sidebarView']['highlightRevisions'](_0x1828a9),this['_sidebarView']['selectRevision'](null)):(this['_sidebarView']['highlightRevisions']([]),this['_sidebarView']['selectRevision'](_0x1828a9[0x0]));}['_createRevisionActions'](){const _0x54e95d=this['editor'],_0x1e9a06=w['availableRevisionActions'],_0x17b9e8=_0x54e95d['config']['get']('revisionHistory.revisionActions')||w['defaultRevisionActions'];if(_0x17b9e8['length'])return _0x17b9e8['map'](_0xd66814=>{const _0x1fbad1='string'==typeof _0xd66814?Object['assign']({},_0x1e9a06[_0xd66814]):_0xd66814;return _0x1fbad1['action']=_0x1fbad1['action']['bind'](this,_0x54e95d),_0x1fbad1['isVisible']&&(_0x1fbad1['isVisible']=_0x1fbad1['isVisible']['bind'](this,_0x54e95d)),_0x1fbad1;});}}function Rt(){return{'compareAgainstSelected':{'name':'Compare\x20against\x20selected','action':({plugins:_0xf521ae},_0x1b2dce)=>{const _0xbe0224=_0xf521ae['get'](d),_0x1af3e1=_0xbe0224['repository'];let _0x1bfd39=_0xbe0224['diff']['newRevisionId'],_0x45dbd3=_0x1b2dce['id'];_0x1af3e1['getIndex'](_0x1bfd39)>_0x1af3e1['getIndex'](_0x45dbd3)&&([_0x1bfd39,_0x45dbd3]=[_0x45dbd3,_0x1bfd39]),_0xbe0224['compare'](_0x1bfd39,_0x45dbd3);},'isVisible':({plugins:_0x41921e},_0x4b9296)=>{const _0x13a2d0=_0x41921e['get'](d);return!(_0x13a2d0['repository']['getRevisionsInDiff'](_0x13a2d0['diff'])['length']>0x2)&&!_0x4b9296['isSelected'];}},'restoreRevision':{'name':'Restore\x20this\x20revision','action':(_0x317de3,{id:_0x11944c})=>{_0x317de3['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x11944c);},'isVisible':({plugins:_0x158d42},_0x296b2d)=>!!_0x158d42['get'](d)['repository']['getLaterVisibleRevision'](_0x296b2d['id'])},'nameRevision':{'name':'Name\x20this\x20revision','action':({plugins:_0x4379af},{id:_0x191428,revisionNameView:_0x3207e7})=>{const _0x1adbe3=_0x4379af['get'](d),_0x4e9c8e=_0x1adbe3['repository']['getEarlierVisibleRevision'](_0x191428);_0x1adbe3['compare'](_0x191428,_0x4e9c8e),_0x3207e7['focus'](),_0x3207e7['fieldView']['select']();}}};}class st extends ht{['_view'];['_toolbarConfig'];['_elementReplacer'];get['view'](){return this['_view'];}constructor(_0x48d9e8,_0x5c0b35){super(_0x48d9e8),this['_view']=_0x5c0b35,this['_toolbarConfig']=ct(_0x48d9e8['config']['get']('toolbar')),this['_elementReplacer']=new nt();}get['element'](){return this['view']['element'];}['init'](_0x59362f){const _0x59f654=this['editor'],_0xa6b5d9=this['view'],_0x284aa1=_0x59f654['editing']['view'],_0x3bc30a=_0xa6b5d9['editable'],_0x5b34b9=_0x284aa1['document']['getRoot']();_0x3bc30a['name']=_0x5b34b9['rootName'],_0xa6b5d9['render']();const _0x555cab=_0x3bc30a['element'];this['setEditableElement'](_0x3bc30a['name'],_0x555cab),_0xa6b5d9['editable']['bind']('isFocused')['to'](this['focusTracker']),_0x284aa1['attachDomRoot'](_0x555cab),this['_elementReplacer']['replace'](_0x59362f,this['element']),this['_initToolbar'](),this['fire']('ready');}['destroy'](){super['destroy']();const _0x3e0d2f=this['view'],_0x632b2a=this['editor']['editing']['view'];this['_elementReplacer']['restore'](),_0x632b2a['detachDomRoot'](_0x3e0d2f['editable']['name']),_0x3e0d2f['destroy']();}['_initToolbar'](){const _0x4f9657=this['view'];_0x4f9657['stickyPanel']['bind']('isActive')['to'](this['focusTracker'],'isFocused'),_0x4f9657['stickyPanel']['limiterElement']=_0x4f9657['element'],_0x4f9657['stickyPanel']['bind']('viewportTopOffset')['to'](this,'viewportOffset',({top:_0xbab57c})=>_0xbab57c),_0x4f9657['toolbar']['fillFromConfig'](this['_toolbarConfig'],this['componentFactory']),this['addToolbar'](_0x4f9657['toolbar']);}}class ot extends dt{['_editable'];['stickyPanel'];['toolbar'];get['editable'](){return this['_editable'];}constructor(_0x4be2fe,_0x21fa3b,_0x1941ec={}){super(_0x4be2fe),this['stickyPanel']=new lt(_0x4be2fe),this['toolbar']=new pt(_0x4be2fe,{'shouldGroupWhenFull':_0x1941ec['shouldToolbarGroupWhenFull']}),this['_editable']=new ut(_0x4be2fe,_0x21fa3b);}['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(_0x13add2,_0x1d4ef0){super(_0x1d4ef0),this['sourceElement']=_0x13add2,this['model']['document']['createRoot']();const _0xc180d7=new ot(this['locale'],this['editing']['view'],{'shouldToolbarGroupWhenFull':!0x0});this['_ui']=new st(this,_0xc180d7);}['destroy'](){return this['updateSourceElement'](),this['ui']['destroy'](),super['destroy']();}static async['create'](_0x21d4e8,_0x4da4ed){const _0xb8d075=new this(_0x21d4e8,_0x4da4ed);return await _0xb8d075['initPlugins'](),await _0xb8d075['ui']['init'](_0x21d4e8),await _0xb8d075['data']['init'](_0xb8d075['config']['get']('initialData')||''),_0xb8d075['fire']('ready'),_0xb8d075;}}const p=['RevisionHistoryUI','RestrictedEditingMode'];class k extends _0x4595fe{['result'];static get['pluginName'](){return'RevisionViewerIntegration';}constructor(_0x2036b2){super(_0x2036b2),this['result']='end';}}class H extends _0x4595fe{['_viewerEditor'];static get['pluginName'](){return'RevisionHistory';}static get['requires'](){return[l,u];}constructor(_0x147ae1){if(super(_0x147ae1),!this['editor']['config']['get']('revisionHistory'))throw new _0x348cbf('revision-history-missing-configuration',this);this['_viewerEditor']=null,this['editor']['config']['define']('revisionHistory.showRevisionViewerCallback',_0x3758db=>this['_showRevisionViewer']({..._0x3758db,'translations':this['editor']['locale']['translations']})),this['editor']['config']['define']('revisionHistory.closeRevisionViewerCallback',_0x35d16b=>this['_closeRevisionViewer'](_0x35d16b)),this['editor']['config']['define']('revisionHistory.restoreRevisionCallback',_0x469120=>this['_restoreRevision'](_0x469120)),this['editor']['config']['define']('revisionHistory.requireRevisionName',!0x1),this['_enhanceShowRevisionViewerCallback'](),this['_enhanceCloseRevisionViewerCallback']();}set['adapter'](_0x2f59e7){this['editor']['plugins']['get']('RevisionTracker')['adapter']=_0x2f59e7;}get['adapter'](){return this['editor']['plugins']['get']('RevisionTracker')['adapter'];}['addRevisionData'](_0x1f792f){return this['editor']['plugins']['get']('RevisionTracker')['addRevisionData'](_0x1f792f);}['getRevision'](_0x478878){return this['editor']['plugins']['get']('RevisionsRepository')['getRevision'](_0x478878);}['getRevisions'](_0x3728a9){return this['editor']['plugins']['get']('RevisionsRepository')['getRevisions'](_0x3728a9||{'toJSON':!0x1});}['_getRevisionViewerEditorConfig'](){const _0x50a021=this['editor'],_0x58013d=_0x12f34e(_0x50a021,p),_0x5685cc=_0x50a021['plugins']['get']('RevisionTracker'),_0x261f9d=_0x50a021['plugins']['get']('Users')['users'];return _0x58013d['toolbar']=['exitToEditing','restoreRevision','changesNavigation'],delete _0x58013d['lazyRoots'],(_0x58013d['plugins']['push'](k,d,R,class extends _0x4595fe{static get['requires'](){return[d,'Users'];}['init'](){const _0x447431=this['editor']['plugins']['get']('Users');for(const _0x574caa of _0x261f9d)_0x574caa['isAnonymous']||_0x447431['getUser'](_0x574caa['id'])||_0x447431['addUser'](_0x574caa);const _0x2f855c=_0x5685cc['repository']['getRevisions']();let _0x33b571=null;const _0x4a0070=this['editor']['plugins']['get']('RevisionViewer');_0x4a0070['adapter']=_0x5685cc['adapter'],_0x4a0070['bind']('isEnabled')['to'](_0x5685cc),this['editor']['commands']['get']('restoreRevision')['bind']('isEnabled')['to'](_0x50a021,'isReadOnly',_0x49f5e6=>!_0x49f5e6);for(const _0x110fa5 of _0x2f855c){const _0x4a2018=null===_0x110fa5['creator'];if(_0x4a2018&&_0x110fa5['toVersion']===_0x110fa5['fromVersion'])continue;const _0x3654b6=_0x110fa5['toJSON']();_0x4a0070['addRevisionData'](_0x3654b6,(_0xb59eaa,_0x4483b0,_0x4d46b7)=>{if(_0x4a2018){if(_0x33b571)_0x33b571['_update'](_0xb59eaa,_0x4483b0);else{if(!_0x4483b0){const _0x44212a=_0x4d46b7['toJSON']();_0x44212a['id']=_0x2a85a0(),_0x5685cc['saveRevision'](_0x44212a,_0x4d46b7['toVersion'])['then'](_0x6007ba=>{_0x33b571=_0x6007ba;});}}}else _0x110fa5['_update'](_0xb59eaa,_0x4483b0);});}}},w),_0x58013d);}['_enhanceShowRevisionViewerCallback'](){const _0x33e8c5=this['editor']['config']['get']('revisionHistory')['showRevisionViewerCallback'];this['editor']['config']['set']('revisionHistory.showRevisionViewerCallback',async()=>{this['editor']['enableReadOnlyMode']('revision-history-viewer-opened');const _0x287da1=this['editor']['plugins']['get']('RevisionTracker');if(this['editor']['plugins']['has']('Autosave')){const _0x4ad45a=this['editor']['plugins']['get']('Autosave');await _0x4ad45a['save']();}else await _0x287da1['update']();if(this['editor']['plugins']['has']('PaginationLookup')&&this['editor']['plugins']['get']('PaginationLookup')['_recalculatePageBreaks'](),this['editor']['plugins']['has']('Dialog')){const _0x4d3ee4=this['editor']['plugins']['get']('Dialog');_0x4d3ee4['isOpen']&&_0x4d3ee4['hide']();}const _0x1bba93=this['_getRevisionViewerEditorConfig']();return _0x33e8c5(_0x1bba93)['then'](_0x11942d=>{return(this['_viewerEditor']=_0x11942d,this['editor']['plugins']['has']('Annotations'))&&this['editor']['plugins']['get']('Annotations')['refreshVisibility'](),_0x11942d;})['catch'](_0x3206c6=>(console['error'](_0x3206c6),this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),null));});}['_enhanceCloseRevisionViewerCallback'](){const _0x4d5b64=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'](),_0x4d5b64(this['_viewerEditor'])['then'](()=>{if(this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),this['_viewerEditor']=null,this['editor']['plugins']['has']('Annotations')){const _0x42784c=this['editor']['plugins']['get']('Annotations');_0x42784c['refreshVisibility'](),_0x42784c['refreshPositioning']();}})));}['_showRevisionViewer'](_0x4597ec){const _0x2124a9=this['editor']['config']['get']('revisionHistory.editorContainer'),_0x281e53=this['editor']['config']['get']('revisionHistory.viewerContainer'),_0x23356d=this['editor']['config']['get']('revisionHistory.viewerEditorElement');return m['create'](_0x23356d,_0x4597ec)['then'](_0x22364a=>(_0x281e53['style']['display']='block',_0x2124a9['style']['display']='none',_0x22364a));}['_closeRevisionViewer'](_0x420721){const _0x1f7c53=this['editor']['config']['get']('revisionHistory.editorContainer');return this['editor']['config']['get']('revisionHistory.viewerContainer')['style']['display']='none',_0x1f7c53['style']['display']='',_0x420721['destroy']();}async['_restoreRevision'](_0x4e0636){const _0x1b9da7=this['editor'],_0x586363=this['_viewerEditor']['plugins']['get']('RevisionViewer'),_0x319710=_0x1b9da7['plugins']['get']('RevisionTracker'),_0x47ca84=_0x586363['repository']['getRevision'](_0x4e0636);let _0x42658d,_0x41ebaf,_0x581d2d;try{_0x42658d=await _0x586363['getRevisionData'](_0x47ca84),_0x41ebaf=await _0x586363['getRevisionRootsAttributes'](_0x47ca84);}catch(_0x181ab7){return void console['error'](_0x181ab7);}_0x1b9da7['model']['change'](_0x555230=>{for(const _0x4c194e of Array['from'](_0x1b9da7['model']['markers']['getMarkersGroup']('restrictedEditingException')))_0x555230['removeMarker'](_0x4c194e);}),_0x586363['isReady']=!0x1,_0x1b9da7['model']['enqueueChange'](_0x311e75=>{_0x311e75['setSelection'](null),_0x311e75['removeSelectionAttribute'](_0x1b9da7['model']['document']['selection']['getAttributeKeys']());const _0x337d14=Object['keys'](_0x42658d);for(const _0x4ada8e of _0x1b9da7['model']['document']['roots'])'$graveyard'!=_0x4ada8e['rootName']&&_0x4ada8e['isAttached']()&&!_0x337d14['includes'](_0x4ada8e['rootName'])&&_0x311e75['detachRoot'](_0x4ada8e);for(const _0x4b9a5d of _0x337d14){let _0x3218e8=_0x1b9da7['model']['document']['getRoot'](_0x4b9a5d);_0x3218e8&&_0x3218e8['isAttached']()||(_0x3218e8=_0x311e75['addRoot'](_0x4b9a5d));const _0xda1cdf=_0x41ebaf[_0x4b9a5d],_0x32b734=Object['keys'](_0xda1cdf),_0x209b94=_0x42658d[_0x4b9a5d];for(const _0x22655e of _0x3218e8['getAttributeKeys']())_0x32b734['includes'](_0x22655e)||_0x311e75['removeAttribute'](_0x22655e,_0x3218e8);for(const _0x261e3e of _0x32b734)_0x311e75['setAttribute'](_0x261e3e,_0x41ebaf[_0x4b9a5d][_0x261e3e],_0x3218e8);_0x311e75['remove'](_0x311e75['createRangeIn'](_0x3218e8)),_0x311e75['insert'](_0x1b9da7['data']['parse'](_0x209b94,_0x3218e8),_0x3218e8,0x0);}});const _0x1b94b6=y(_0x1b9da7['locale'],'Restored');if(_0x47ca84['name'])_0x581d2d=-0x1==_0x47ca84['name']['indexOf'](_0x1b94b6)?_0x1b94b6+':\x20'+_0x47ca84['name']:_0x47ca84['name'];else _0x581d2d=_0x1b94b6+':\x20'+(_0x47ca84['createdAt']['toLocaleDateString'](_0x1b9da7['locale']['uiLanguage'],{'month':'long','day':'numeric'})+',\x20'+_0x47ca84['createdAt']['toLocaleTimeString'](_0x1b9da7['locale']['uiLanguage'],{'hour':'numeric','minute':'numeric'}));return await _0x319710['saveRevision']({'name':_0x581d2d}),_0x586363['isReady']=!0x0,_0x1b9da7['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};