@ckeditor/ckeditor5-revision-history 43.1.0 → 43.2.0-alpha.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (148) 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/package.json +8 -8
  119. package/src/changeitem.js +2 -2
  120. package/src/editor/revisionviewereditor.js +2 -2
  121. package/src/editor/revisionviewereditorui.js +1 -1
  122. package/src/editor/revisionviewereditoruiview.js +1 -1
  123. package/src/index.js +1 -1
  124. package/src/revision.js +2 -2
  125. package/src/revisiondiff.js +1 -1
  126. package/src/revisionhistory.js +1 -1
  127. package/src/revisionsrepository.js +1 -1
  128. package/src/revisiontracker.js +1 -1
  129. package/src/revisionviewer.js +1 -1
  130. package/src/ui/revision/createrevisionactionsdropdown.js +1 -1
  131. package/src/ui/revision/revisionauthorview.js +1 -1
  132. package/src/ui/revision/revisionnameview.js +1 -1
  133. package/src/ui/revision/revisionview.js +2 -2
  134. package/src/ui/revision/subrevisioncollapserview.js +1 -1
  135. package/src/ui/revision/subrevisionview.js +1 -1
  136. package/src/ui/revision/utils.js +1 -1
  137. package/src/ui/revisionhistory/revisionhistorysaverevisionformview.js +1 -1
  138. package/src/ui/revisionhistory/revisionhistoryui.js +1 -1
  139. package/src/ui/revisionssidebar/revisionssidebar.js +1 -1
  140. package/src/ui/revisionssidebar/revisionssidebarheaderview.js +1 -1
  141. package/src/ui/revisionssidebar/revisionssidebartimeperiodview.js +1 -1
  142. package/src/ui/revisionssidebar/revisionssidebarview.js +1 -1
  143. package/src/ui/revisionssidebar/utils.js +1 -1
  144. package/src/ui/revisionviewer/changedetailsview.js +1 -1
  145. package/src/ui/revisionviewer/changesnavigationview.js +1 -1
  146. package/src/ui/revisionviewer/revisionviewerloadingoverlay.js +1 -1
  147. package/src/ui/revisionviewer/revisionviewerui.js +1 -1
  148. 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{ObservableMixin as _0x575ae5,uid as _0x497491,Collection as _0x2af926,logWarning as _0x4f58d1,FocusTracker as _0x48864f,KeystrokeHandler as _0x290d5d,scrollViewportToShowTarget as _0x479144,ResizeObserver as at,ElementReplacer as nt,CKEditorError as _0x40723b}from'@ckeditor/ckeditor5-utils/dist/index.js';import{cloneDeep as _0x205b47,set as _0xbf78ec,unset as _0x29133d,isEqual as _0x49a462}from'lodash-es';import{Plugin as _0x5cf14b,Context as _0x2b9e46,PendingActions as _0x37c3a3,icons as _0x5eadf1,Command as _0x29a981,ElementApiMixin as rt,Editor as it}from'@ckeditor/ckeditor5-core/dist/index.js';import{Users as _0xfe3709,getMarkerDomElement as _0x27a391,ConfirmMixin as ti,sanitizeEditorConfig as _0x4f420b}from'ckeditor5-collaboration/dist/index.js';import{ViewDocumentFragment as _0x591c68,ViewText as _0x2bf891,ViewElement as _0x30ac93,Element as ft,Range as vt,Position as gt,DocumentFragment as wt,ViewContainerElement as _0x2138c6,ViewAttributeElement as _0x363512,ViewEmptyElement as _0x2299d5,ViewRawElement as _0x22b971,ViewUIElement as _0x3b2686,Text as _t}from'@ckeditor/ckeditor5-engine/dist/index.js';import{View as ts,injectCssTransitionDisabler as _0x2f0aaf,submitHandler as _0x25d4e9,LabeledFieldView as _0x35a0a1,createLabeledInputText as _0x169b0b,createDropdown as _0x42fdea,ListView as _0x42fab7,ListItemView as _0x1ca4b0,ButtonView as te,MenuBarMenuView as _0x445a03,MenuBarMenuListView as _0x11d8bf,MenuBarMenuListItemView as _0x35a69f,MenuBarMenuListItemButtonView as _0x44a249,ContextualBalloon as _0x2dd35c,ToolbarSeparatorView as _0x469b06,IconView as _0x2194fe,addListToDropdown as to,ViewModel as _0x34129a,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 _0x4530d6}from'luxon';class a extends/* #__PURE__ -- @preserve */
24
- _0x575ae5(){['id'];['creator'];['authors'];['diffData'];['toVersion'];['fromVersion'];['model'];constructor(_0x5c12bc){super(),this['id']=_0x5c12bc['id']||_0x497491(),this['creator']=_0x5c12bc['creator']||null,this['authors']=_0x5c12bc['authors']||[],this['diffData']=_0x5c12bc['diffData']||null,this['toVersion']=_0x5c12bc['toVersion']||0x0,this['fromVersion']=_0x5c12bc['fromVersion']||0x0,this['set']('name',_0x5c12bc['name']||''),this['set']('createdAt',_0x5c12bc['createdAt']||new Date()),this['set']('attributes',_0x5c12bc['attributes']||{});}['setName'](_0x5cb4cd){this['_update']({'name':_0x5cb4cd});}['setAttribute'](_0x75dcf7,_0x256b6d){const _0x1d1d74=_0x205b47(this['attributes']);_0xbf78ec(_0x1d1d74,_0x75dcf7,_0x256b6d),this['_update']({'attributes':_0x1d1d74});}['removeAttribute'](_0x152f52){const _0x11fb76=_0x205b47(this['attributes']);_0x29133d(_0x11fb76,_0x152f52),this['_update']({'attributes':_0x11fb76});}['_update'](_0x200ce1,_0x4772f5=!0x1){let _0x356f77=!0x1;const _0x80b5d={'id':this['id']},_0x1f1c9a=['name','createdAt','diffData','authors','attributes','toVersion','fromVersion','creatorId'];for(const _0x3a260a of _0x1f1c9a){const _0x44b705=_0x200ce1[_0x3a260a];void 0x0!==_0x44b705&&_0x44b705!==this[_0x3a260a]&&(this[_0x3a260a]=_0x44b705,_0x80b5d[_0x3a260a]=_0x44b705,_0x356f77=!0x0);}_0x356f77&&(_0x80b5d['authors']&&(_0x80b5d['authorsIds']=_0x80b5d['authors']['map'](_0x3f9122=>_0x3f9122['id']),delete _0x80b5d['authors']),this['fire']('_update',_0x80b5d,_0x4772f5));}['toJSON'](){return{'id':this['id'],'name':this['name'],'creatorId':this['creator']?this['creator']['id']:null,'authorsIds':this['authors']['map'](_0x128e2b=>_0x128e2b['id']),'diffData':this['diffData'],'createdAt':this['createdAt'],'attributes':this['attributes'],'fromVersion':this['fromVersion'],'toVersion':this['toVersion']};}}class A extends _0x5cf14b{['_revisions'];static get['requires'](){return[_0xfe3709];}static get['pluginName'](){return'RevisionsRepository';}get['length'](){return this['_revisions']['length'];}constructor(_0x5563b0){super(_0x5563b0),this['_revisions']=new _0x2af926();}['afterInit'](){!function(_0x222c62){function _0x46d648(_0x4f0dfd,_0x29913d,_0x136098){const _0xd744={};_0xd744[_0x1ec036([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])]={0x10:0xa,0x18:0xc,0x20:0xe},_0xd744[_0x1ec036([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],_0xd744[_0x1ec036([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],_0xd744[_0x1ec036([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],_0xd744[_0x1ec036([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],_0xd744[_0x1ec036([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],_0xd744[_0x1ec036([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],_0xd744[_0x1ec036([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],_0xd744[_0x1ec036([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],_0xd744[_0x1ec036([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],_0xd744[_0x1ec036([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 _0x4ebb82=new Uint8Array(0x10);for(let _0x5cfca6=0xf;_0x5cfca6>=0x0;--_0x5cfca6)_0x4ebb82[_0x5cfca6]=_0x136098%0x100,_0x136098=parseInt(_0x136098/0x100);let _0x10f423=null,_0x5add92=0x10;const _0x5088fd=new Uint8Array(_0x29913d),_0x24a619=[],_0x5a1099=[];_0x1887e8();for(let _0x4fc642=0x0;_0x4fc642<_0x4f0dfd[_0x1ec036([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4fc642++)0x10===_0x5add92&&(_0x10f423=_0x4c43ed(_0x4ebb82),_0x5add92=0x0,_0x233b59(_0x4ebb82)),_0x4f0dfd[_0x4fc642]^=_0x10f423[_0x5add92++];return _0x4f0dfd;function _0x1549c8(_0x456efd){const _0x452c1f=[];for(let _0x5aeeae=0x0;_0x5aeeae<_0x456efd[_0x1ec036([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5aeeae+=0x4)_0x452c1f[_0x1ec036([0x70,0x75,0x73,0x68])](_0x456efd[_0x5aeeae]<<0x18|_0x456efd[_0x5aeeae+0x1]<<0x10|_0x456efd[_0x5aeeae+0x2]<<0x8|_0x456efd[_0x5aeeae+0x3]);return _0x452c1f;}function _0x233b59(_0x299007){for(let _0x40ce3f=0xf;_0x40ce3f>=0x0;_0x40ce3f--){if(0xff!==_0x299007[_0x40ce3f]){_0x299007[_0x40ce3f]++;break;}_0x299007[_0x40ce3f]=0x0;}}function _0x4c43ed(_0x2e9cab){const _0x4f7dac=_0x24a619[_0x1ec036([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x1,_0x345135=[0x0,0x0,0x0,0x0];let t=_0x1549c8(_0x2e9cab);for(let _0x3278f7=0x0;_0x3278f7<0x4;_0x3278f7++)t[_0x3278f7]^=_0x24a619[0x0][_0x3278f7];for(let _0xc01e30=0x1;_0xc01e30<_0x4f7dac;_0xc01e30++){for(let _0x5063dd=0x0;_0x5063dd<0x4;_0x5063dd++)_0x345135[_0x5063dd]=_0xd744[_0x1ec036([0x54,0x31])][t[_0x5063dd]>>0x18&0xff]^_0xd744[_0x1ec036([0x54,0x32])][t[(_0x5063dd+0x1)%0x4]>>0x10&0xff]^_0xd744[_0x1ec036([0x54,0x33])][t[(_0x5063dd+0x2)%0x4]>>0x8&0xff]^_0xd744[_0x1ec036([0x54,0x34])][0xff&t[(_0x5063dd+0x3)%0x4]]^_0x24a619[_0xc01e30][_0x5063dd];t=_0x345135[_0x1ec036([0x73,0x6c,0x69,0x63,0x65])]();}const _0x313f1a=new Uint8Array(0x10);let _0x264f93;for(let _0x3189ba=0x0;_0x3189ba<0x4;_0x3189ba++)_0x264f93=_0x24a619[_0x4f7dac][_0x3189ba],_0x313f1a[0x4*_0x3189ba]=0xff&(_0xd744[_0x1ec036([0x53])][t[_0x3189ba]>>0x18&0xff]^_0x264f93>>0x18),_0x313f1a[0x4*_0x3189ba+0x1]=0xff&(_0xd744[_0x1ec036([0x53])][t[(_0x3189ba+0x1)%0x4]>>0x10&0xff]^_0x264f93>>0x10),_0x313f1a[0x4*_0x3189ba+0x2]=0xff&(_0xd744[_0x1ec036([0x53])][t[(_0x3189ba+0x2)%0x4]>>0x8&0xff]^_0x264f93>>0x8),_0x313f1a[0x4*_0x3189ba+0x3]=0xff&(_0xd744[_0x1ec036([0x53])][0xff&t[(_0x3189ba+0x3)%0x4]]^_0x264f93);return _0x313f1a;}function _0x1887e8(){const _0x4f67bb=_0xd744[_0x1ec036([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])][_0x5088fd[_0x1ec036([0x6c,0x65,0x6e,0x67,0x74,0x68])]];for(let _0x4729f1=0x0;_0x4729f1<=_0x4f67bb;_0x4729f1++)_0x24a619[_0x1ec036([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]),_0x5a1099[_0x1ec036([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]);const _0x362d5c=0x4*(_0x4f67bb+0x1),_0x499fac=_0x5088fd[_0x1ec036([0x6c,0x65,0x6e,0x67,0x74,0x68])]/0x4,_0x8e887c=_0x1549c8(_0x5088fd);let _0x1817a3;for(let _0x37d7b4=0x0;_0x37d7b4<_0x499fac;_0x37d7b4++)_0x1817a3=_0x37d7b4>>0x2,_0x24a619[_0x1817a3][_0x37d7b4%0x4]=_0x8e887c[_0x37d7b4],_0x5a1099[_0x4f67bb-_0x1817a3][_0x37d7b4%0x4]=_0x8e887c[_0x37d7b4];let _0x223a8e,_0x12a383=0x0,t=_0x499fac;for(;t<_0x362d5c;){_0x223a8e=_0x8e887c[_0x499fac-0x1],_0x8e887c[0x0]^=_0xd744[_0x1ec036([0x53])][_0x223a8e>>0x10&0xff]<<0x18^_0xd744[_0x1ec036([0x53])][_0x223a8e>>0x8&0xff]<<0x10^_0xd744[_0x1ec036([0x53])][0xff&_0x223a8e]<<0x8^_0xd744[_0x1ec036([0x53])][_0x223a8e>>0x18&0xff]^_0xd744[_0x1ec036([0x72,0x63,0x6f,0x6e])][_0x12a383]<<0x18,_0x12a383+=0x1;for(let _0x1b1cd8=0x1;_0x1b1cd8<_0x499fac/0x2;_0x1b1cd8++)_0x8e887c[_0x1b1cd8]^=_0x8e887c[_0x1b1cd8-0x1];_0x223a8e=_0x8e887c[_0x499fac/0x2-0x1],_0x8e887c[_0x499fac/0x2]^=_0xd744[_0x1ec036([0x53])][0xff&_0x223a8e]^_0xd744[_0x1ec036([0x53])][_0x223a8e>>0x8&0xff]<<0x8^_0xd744[_0x1ec036([0x53])][_0x223a8e>>0x10&0xff]<<0x10^_0xd744[_0x1ec036([0x53])][_0x223a8e>>0x18&0xff]<<0x18;for(let _0x5e63ab=_0x499fac/0x2+0x1;_0x5e63ab<_0x499fac;_0x5e63ab++)_0x8e887c[_0x5e63ab]^=_0x8e887c[_0x5e63ab-0x1];let _0x23dbd0,_0x5b40ed,_0x17c9b3=0x0;for(;_0x17c9b3<_0x499fac&&t<_0x362d5c;)_0x23dbd0=t>>0x2,_0x5b40ed=t%0x4,_0x24a619[_0x23dbd0][_0x5b40ed]=_0x8e887c[_0x17c9b3],_0x5a1099[_0x4f67bb-_0x23dbd0][_0x5b40ed]=_0x8e887c[_0x17c9b3++],t++;}for(let _0x1cfe47=0x1;_0x1cfe47<_0x4f67bb;_0x1cfe47++)for(let _0x1ed3f2=0x0;_0x1ed3f2<0x4;_0x1ed3f2++)_0x223a8e=_0x5a1099[_0x1cfe47][_0x1ed3f2],_0x5a1099[_0x1cfe47][_0x1ed3f2]=_0xd744[_0x1ec036([0x55,0x31])][_0x223a8e>>0x18&0xff]^_0xd744[_0x1ec036([0x55,0x32])][_0x223a8e>>0x10&0xff]^_0xd744[_0x1ec036([0x55,0x33])][_0x223a8e>>0x8&0xff]^_0xd744[_0x1ec036([0x55,0x34])][0xff&_0x223a8e];}}function _0x1ec036(_0x930b33){return _0x930b33['map'](_0x4c7587=>String['fromCharCode'](_0x4c7587))['join']('');}(_0x4ddb75=>{function _0x280971(){const _0x37f557=[{[_0x1ec036([0x69,0x64])]:0x1,[_0x1ec036([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x1ec036([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73]),[_0x1ec036([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x1ec036([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x1ec036([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x1ec036([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x1ec036([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x1ec036([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x1ec036([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]:[{[_0x1ec036([0x69,0x64])]:0x2,[_0x1ec036([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x1ec036([0x54,0x72,0x61,0x63,0x6b,0x20,0x43,0x68,0x61,0x6e,0x67,0x65,0x73]),[_0x1ec036([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x1ec036([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x1ec036([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x1ec036([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x1ec036([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x1ec036([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]),[_0x1ec036([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x1ec036([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x1ec036([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x1ec036([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}}],[_0x1ec036([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x1ec036([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x1ec036([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x1ec036([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x1ec036([0x69,0x64])]:0x3,[_0x1ec036([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x1ec036([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e]),[_0x1ec036([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x1ec036([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x6f,0x6f,0x6b,0x75,0x70]),[_0x1ec036([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x1ec036([0x70,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x1ec036([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x1ec036([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x1ec036([0x69,0x64])]:0x4,[_0x1ec036([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x1ec036([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x20,0x48,0x69,0x73,0x74,0x6f,0x72,0x79]),[_0x1ec036([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x1ec036([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x1ec036([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x1ec036([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x1ec036([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x1ec036([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]),[_0x1ec036([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x1ec036([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x1ec036([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x1ec036([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x1ec036([0x69,0x64])]:0x5,[_0x1ec036([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x1ec036([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x20,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65]),[_0x1ec036([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x1ec036([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65,0x55,0x49]),[_0x1ec036([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x1ec036([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]),[_0x1ec036([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x1ec036([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x1ec036([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x1ec036([0x66,0x67,0x69])]:[0xc]}},{[_0x1ec036([0x69,0x64])]:0x6,[_0x1ec036([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x1ec036([0x46,0x6f,0x72,0x6d,0x61,0x74,0x20,0x50,0x61,0x69,0x6e,0x74,0x65,0x72]),[_0x1ec036([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x1ec036([0x46,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x55,0x49]),[_0x1ec036([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x1ec036([0x66,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x1ec036([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x1ec036([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x1ec036([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x1ec036([0x66,0x67,0x69])]:[0xc]}},{[_0x1ec036([0x69,0x64])]:0x7,[_0x1ec036([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x1ec036([0x53,0x6c,0x61,0x73,0x68,0x20,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64]),[_0x1ec036([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x1ec036([0x53,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x55,0x49]),[_0x1ec036([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x1ec036([0x73,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x1ec036([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x1ec036([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x1ec036([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x1ec036([0x66,0x67,0x69])]:[0xc]}},{[_0x1ec036([0x69,0x64])]:0x8,[_0x1ec036([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x1ec036([0x54,0x61,0x62,0x6c,0x65,0x20,0x6f,0x66,0x20,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73]),[_0x1ec036([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x1ec036([0x54,0x61,0x62,0x6c,0x65,0x4f,0x66,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x1ec036([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x1ec036([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]),[_0x1ec036([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x1ec036([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x1ec036([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x1ec036([0x66,0x67,0x69])]:[0xc]}},{[_0x1ec036([0x69,0x64])]:0x9,[_0x1ec036([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x1ec036([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65]),[_0x1ec036([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x1ec036([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x55,0x49]),[_0x1ec036([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x1ec036([0x74,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x1ec036([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x1ec036([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x1ec036([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x1ec036([0x66,0x67,0x69])]:[0xc,0xe]}},{[_0x1ec036([0x69,0x64])]:0xa,[_0x1ec036([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x1ec036([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]),[_0x1ec036([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x1ec036([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]),[_0x1ec036([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x1ec036([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]),[_0x1ec036([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x1ec036([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x1ec036([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x1ec036([0x66,0x67,0x69])]:[0xc]}},{[_0x1ec036([0x69,0x64])]:0xb,[_0x1ec036([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x1ec036([0x41,0x49,0x20,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74]),[_0x1ec036([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x1ec036([0x41,0x49,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74,0x55,0x49]),[_0x1ec036([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x1ec036([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x1ec036([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x1ec036([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x1ec036([0x69,0x64])]:0xc,[_0x1ec036([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x1ec036([0x50,0x72,0x6f,0x64,0x75,0x63,0x74,0x69,0x76,0x69,0x74,0x79,0x20,0x70,0x61,0x63,0x6b])},{[_0x1ec036([0x69,0x64])]:0xd,[_0x1ec036([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x1ec036([0x43,0x61,0x73,0x65,0x20,0x43,0x68,0x61,0x6e,0x67,0x65]),[_0x1ec036([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x1ec036([0x43,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x55,0x49]),[_0x1ec036([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x1ec036([0x63,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x1ec036([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x1ec036([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x1ec036([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x1ec036([0x66,0x67,0x69])]:[0xc]}},{[_0x1ec036([0x69,0x64])]:0xe,[_0x1ec036([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x1ec036([0x44,0x72,0x75,0x70,0x61,0x6c,0x20,0x70,0x61,0x63,0x6b]),[_0x1ec036([0x66,0x6f,0x72,0x62,0x69,0x64,0x64,0x65,0x6e,0x48,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x1ec036([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])},{[_0x1ec036([0x69,0x64])]:0xf,[_0x1ec036([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x1ec036([0x4d,0x75,0x6c,0x74,0x69,0x20,0x4c,0x65,0x76,0x65,0x6c,0x20,0x4c,0x69,0x73,0x74]),[_0x1ec036([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x1ec036([0x4d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x1ec036([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x1ec036([0x6d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x1ec036([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x1ec036([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x1ec036([0x69,0x64])]:0x10,[_0x1ec036([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x1ec036([0x4d,0x65,0x72,0x67,0x65,0x20,0x46,0x69,0x65,0x6c,0x64,0x73]),[_0x1ec036([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x1ec036([0x4d,0x65,0x72,0x67,0x65,0x46,0x69,0x65,0x6c,0x64,0x73,0x55,0x49]),[_0x1ec036([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x1ec036([0x6d,0x65,0x72,0x67,0x65,0x46,0x69,0x65,0x6c,0x64,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x1ec036([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x1ec036([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x1ec036([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x1ec036([0x66,0x67,0x69])]:[0xc]}}];return _0x52604a(_0x37f557),_0x37f557;function _0x4f8617(_0x466913){return 0x1<<_0x466913-0x1;}function _0x52604a(_0x11e083){_0x11e083[_0x1ec036([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0xbfd680=>{_0xbfd680[_0x1ec036([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]=_0x4f8617(_0xbfd680[_0x1ec036([0x69,0x64])]),_0x4e162f(_0xbfd680)&&_0xbfd680[_0x1ec036([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x52604a(_0xbfd680[_0x1ec036([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]);});}}function _0x4e162f(_0x321603){return _0x1ec036([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])in _0x321603;}const _0x5782ed=[0x1,0x55,0x4e,0x73,0xc6,0xff,0x32,0x70,0x53,0x57,0xa1],_0x2166ab=[0x7f,0x22,0x6,0xd3,0xa7,0x56,0x92,0xc7,0x84,0xa0,0x12];function _0x527e53(_0x5a11ff){const _0xeeddf2=[0x1d,0xdd,0xaf,0x5a,0xe7,0x85,0xef,0xf0,0x4b,0xb4];return _0x21124e(_0x5a11ff,new Uint8Array([..._0x5782ed,..._0xeeddf2,..._0x2166ab]));}function _0x21124e(_0x37f5f1,_0x5482d8){const _0x47c666=_0x295520(_0x37f5f1),_0x467ae6=Array[_0x1ec036([0x66,0x72,0x6f,0x6d])](_0x231a28(_0x47c666)),_0x3928e0=_0x467ae6[_0x1ec036([0x70,0x6f,0x70])](),_0x5f3d22=_0x467ae6[_0x1ec036([0x70,0x6f,0x70])]();return _0x240df(_0x46d648(_0x467ae6,_0x5482d8,_0x5f3d22+0x100*_0x3928e0));}function _0x295520(_0xb998ef){const _0x7cc3c3=atob(_0xb998ef),[_0x1fef41,_0x549f38]=_0x7cc3c3[_0x1ec036([0x73,0x70,0x6c,0x69,0x74])](_0x1ec036([0x2d]));try{if(atob(_0x549f38))return atob(_0x1fef41);}catch(_0x24a04a){}return _0x7cc3c3;}function _0x46d090(_0x31edb5){try{const _0x367cb5=_0x527e53(_0x31edb5),_0x31cff6=JSON[_0x1ec036([0x70,0x61,0x72,0x73,0x65])](_0x367cb5),_0x14f9a0=parseInt(_0x31cff6[_0x1ec036([0x31])]),_0x4dc4c0=_0x31cff6[_0x1ec036([0x32])]||'',_0x3c09ae=parseInt(_0x31cff6[_0x1ec036([0x33])]),_0xbf6a78=parseInt(_0x31cff6[_0x1ec036([0x34])])||0x0,_0xd8d6fe=parseInt(_0x31cff6[_0x1ec036([0x35])])||0x0;return{[_0x1ec036([0x70,0x72,0x6f,0x64,0x75,0x63,0x74,0x4e,0x61,0x6d,0x65])]:_0x4dc4c0,[_0x1ec036([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])]:_0xbf6a78,[_0x1ec036([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]:_0x14f9a0,[_0x1ec036([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]:_0x3c09ae,[_0x1ec036([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]:_0xd8d6fe};}catch(_0x2a5fde){return null;}}const _0x3df0ef=_0x280971(),_0x8a1ee7={[_0x1ec036([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])]:_0x2aa5ee,[_0x1ec036([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])]:_0x1430e3,[_0x1ec036([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])]:_0x437844},_0x71e1f1=_0x4ddb75[_0x1ec036([0x63,0x6f,0x6e,0x73,0x74,0x72,0x75,0x63,0x74,0x6f,0x72])][_0x1ec036([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])],_0x17f6da=_0x1ec036([0x63,0x6f,0x6e,0x74,0x65,0x78,0x74])in _0x4ddb75?_0x4ddb75['context']:_0x4ddb75['editor'],_0x305205=_0x1ec036([0x34,0x30,0x34,0x38,0x31,0x38,0x31,0x30]),_0x312e37=_0x1ec036([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]),_0x48bf66=_0x17f6da['config']['get'](_0x1ec036([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0xc8ebfe=_0x3df0ef[_0x1ec036([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4e162f)[_0x1ec036([0x66,0x69,0x6e,0x64])](_0xb1aaca=>_0xb1aaca[_0x1ec036([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]===_0x71e1f1);function _0x7523b7(_0x38bc49,_0x4e0ccd){_0x8a1ee7[_0x4e0ccd[_0x1ec036([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]](_0x38bc49,_0x4e0ccd),_0x4e0ccd[_0x1ec036([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x4e0ccd[_0x1ec036([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])][_0x1ec036([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x519a0c=>_0x5deae1(_0x17f6da,_0x519a0c[_0x1ec036([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))[_0x1ec036([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x2bca9b=>_0x7523b7(_0x38bc49,_0x2bca9b));}function _0x2aa5ee(_0x36183d,_0x4cdeb5){_0x388156(_0x240174(_0x36183d,_0x4cdeb5),_0x4cdeb5);}function _0x1430e3(_0x9ce1eb,_0x202510){function _0x49e4a9(_0x27414f,_0x442f49){try{if(_0x5deae1(_0x17f6da,_0x1ec036([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))&&_0x27414f){const _0x55639c=_0x314a05(_0x17f6da,_0x1ec036([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))[_0x1ec036([0x5f,0x65,0x78,0x65,0x63,0x75,0x74,0x65,0x53,0x75,0x67,0x67,0x65,0x73,0x74,0x69,0x6f,0x6e])];if(parseInt(_0x55639c)/0x2>_0x27414f[_0x1ec036([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])])return _0x57bd3a(_0x442f49[_0x1ec036([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x1ec036([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}return _0x240174(_0x27414f,_0x442f49);}catch(_0x177e8a){return _0x57bd3a(_0x442f49[_0x1ec036([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x1ec036([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}_0x388156(_0x49e4a9(_0x9ce1eb,_0x202510),_0x202510);}function _0x437844(_0x1831c4,_0x1abdd7){const _0x51e68c=_0x2166ab[0x0]*_0x5782ed[0x1],_0x3a766a=_0x2166ab[0x0]*_0x5782ed[0x2],_0xbcf8fc=_0x2166ab[0x2]*_0x5782ed[0x2];_0x5deae1(_0x17f6da,_0x1ec036([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x314a05(_0x17f6da,_0x1ec036([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x1ec036([0x73,0x74,0x61,0x74,0x65])]==_0x1ec036([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&(window[_0x3e9523()]=_0xbcf8fc);function _0x5e2a83(_0x1f84db,_0x386ea4){try{return _0xa4b71d()?_0x57bd3a(_0x386ea4[_0x1ec036([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x1ec036([0x56,0x61,0x6c,0x69,0x64])):_0x240174(_0x1f84db,_0x386ea4);}catch(_0x510c64){return _0x57bd3a(_0x386ea4[_0x1ec036([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x1ec036([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0xa69032(_0x127696,_0x5aa746){const _0x5b3778=0x7;if(_0x127696==_0x5aa746[_0x1ec036([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x1ec036([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]))_0x2c40eb();else{if(_0x127696==_0x5aa746[_0x1ec036([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x1ec036([0x54,0x72,0x69,0x61,0x6c])){const _0x210896=_0x19f7f0();_0x210896&&_0x58926b(_0x210896,_0x5aa746[_0x1ec036([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);const _0x3b567c=_0x27f50c();window[_0x1ec036([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x58926b(_0x1ec036([0x74,0x69,0x6d,0x65]),_0x5aa746[_0x1ec036([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);},_0x3b567c);const _0x536cc2=_0x314a05(_0x17f6da,_0x1ec036([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x1ec036([0x5f,0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73])];_0x536cc2[_0x1ec036([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x5b3778?_0x58926b(_0x1ec036([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x5aa746[_0x1ec036([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]):_0x536cc2['on'](_0x1ec036([0x61,0x64,0x64]),()=>{_0x536cc2[_0x1ec036([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x5b3778&&_0x58926b(_0x1ec036([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x5aa746[_0x1ec036([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);});}}}function _0x19f7f0(){if(!_0x5deae1(_0x17f6da,_0x1ec036([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x178e87 in window)if(Number['isNaN'](Number(_0x178e87))){if(window[_0x178e87]===_0x51e68c)return _0x1ec036([0x74,0x69,0x6d,0x65]);if(window[_0x178e87]===_0x3a766a)return _0x1ec036([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]);}return!0x1;}function _0xa4b71d(){if(!_0x5deae1(_0x17f6da,_0x1ec036([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x32972d in window)if(Number['isNaN'](Number(_0x32972d))&&window[_0x32972d]===_0xbcf8fc)return!0x0;return!0x1;}function _0x58926b(_0x7a6e3d,_0x500792){_0x2c40eb(),_0x57bd3a(_0x500792+_0x1ec036([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a])+_0x7a6e3d),window[_0x3e9523()]=_0x7a6e3d===_0x1ec036([0x74,0x69,0x6d,0x65])?_0x51e68c:_0x3a766a;}function _0x27f50c(){let _0x2dd400=_0x2166ab[0x6]*_0x5782ed[0x8]*_0x5782ed[0x6];return _0x5deae1(_0x17f6da,_0x1ec036([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x2dd400/=0xa),_0x2dd400;}function _0x2c40eb(){const _0x295236=_0x17f6da;function _0x5582f6(){_0x5deae1(_0x295236,_0x1ec036([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&(_0x314a05(_0x295236,_0x1ec036([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x1ec036([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x1ec036([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x314a05(_0x295236,_0x1ec036([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x1ec036([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x314a05(_0x295236,_0x1ec036([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x1ec036([0x75,0x70,0x64,0x61,0x74,0x65])]=_0x6ca168,_0x314a05(_0x295236,_0x1ec036([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x1ec036([0x73,0x61,0x76,0x65,0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e])]=_0x6ca168,_0x295236[_0x1ec036([0x6d,0x6f,0x64,0x65,0x6c])][_0x1ec036([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x6ca168,_0x295236[_0x1ec036([0x6d,0x6f,0x64,0x65,0x6c])][_0x1ec036([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x6ca168,_0x295236[_0x1ec036([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x1ec036([0x6d,0x6f,0x64,0x65,0x6c]))),_0x5deae1(_0x295236,_0x1ec036([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x314a05(_0x295236,_0x1ec036([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x1ec036([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x1ec036([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x314a05(_0x295236,_0x1ec036([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x1ec036([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x314a05(_0x295236,_0x1ec036([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x1ec036([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])]=_0x6ca168,_0x314a05(_0x295236,_0x1ec036([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x1ec036([0x5f,0x67,0x65,0x74,0x44,0x69,0x66,0x66])]=_0x6ca168);}_0x295236[_0x1ec036([0x73,0x74,0x61,0x74,0x65])]==_0x1ec036([0x72,0x65,0x61,0x64,0x79])?_0x5582f6():_0x295236[_0x1ec036([0x6f,0x6e,0x63,0x65])](_0x1ec036([0x72,0x65,0x61,0x64,0x79]),()=>{if(_0x5deae1(_0x295236,_0x1ec036([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&_0x5582f6(),_0x5deae1(_0x295236,_0x1ec036([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))){const _0x271d82=_0x314a05(_0x295236,_0x1ec036([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79])),_0x41dd3d=_0x271d82['getRevision'](0x0),_0x411964=_0x271d82['getEarlierVisibleRevision'](_0x41dd3d[_0x1ec036([0x69,0x64])]);_0x314a05(_0x295236,_0x1ec036([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x1ec036([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])](_0x41dd3d[_0x1ec036([0x69,0x64])],_0x411964?_0x411964[_0x1ec036([0x69,0x64])]:null,0x1)['then'](()=>_0x5582f6());}});}_0xa69032(_0x5e2a83(_0x1831c4,_0x1abdd7),_0x1abdd7);}function _0x240174(_0x3e207b,_0x5c3ac1){try{return _0x5cb75e(_0x5c3ac1)?_0x57bd3a(_0x5c3ac1[_0x1ec036([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x1ec036([0x56,0x61,0x6c,0x69,0x64])):_0x3e207b&&_0x329523(_0x3e207b[_0x1ec036([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])],_0x5c3ac1)?_0x3e207b[_0x1ec036([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]&&!window[_0x1ec036([0x6f,0x70,0x65,0x6e])][_0x1ec036([0x63,0x6c,0x6f,0x73,0x65,0x64])]||parseInt(_0x305205)/0x2>_0x3e207b[_0x1ec036([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]?_0x57bd3a(_0x5c3ac1[_0x1ec036([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x1ec036([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])):_0x3e207b[_0x1ec036([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]?_0x57bd3a(_0x5c3ac1[_0x1ec036([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x1ec036([0x54,0x72,0x69,0x61,0x6c])):_0x57bd3a(_0x5c3ac1[_0x1ec036([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x1ec036([0x56,0x61,0x6c,0x69,0x64])):_0x57bd3a(_0x5c3ac1[_0x1ec036([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x1ec036([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}catch(_0x56e56d){return _0x57bd3a(_0x5c3ac1[_0x1ec036([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x1ec036([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x388156(_0x1cf29f,_0x3ad3a1){if(_0x17f6da instanceof _0x2b9e46){const _0x273151=_0x17f6da;_0x1cf29f==_0x3ad3a1[_0x1ec036([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x1ec036([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x4f9df2(_0x273151):_0x1cf29f==_0x3ad3a1[_0x1ec036([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x1ec036([0x54,0x72,0x69,0x61,0x6c])&&window[_0x1ec036([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x4f9df2(_0x273151),_0x57bd3a(_0x3ad3a1[_0x1ec036([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x1ec036([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65]));},_0x2166ab[0x6]*_0x5782ed[0x8]*_0x5782ed[0x6]),_0x273151[_0x1ec036([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])][_0x1ec036([0x6f,0x6e])](_0x1ec036([0x61,0x64,0x64]),(_0x3b0b3f,_0x47a978)=>{_0x1cf29f!=_0x3ad3a1[_0x1ec036([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x1ec036([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])&&_0x1cf29f!=_0x3ad3a1[_0x1ec036([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x1ec036([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65])&&_0x1cf29f!=_0x3ad3a1[_0x1ec036([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x1ec036([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])||_0x4ecc78(_0x47a978);});}else{const _0x7db92d=_0x17f6da;_0x1cf29f==_0x3ad3a1[_0x1ec036([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x1ec036([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x4ecc78(_0x7db92d):_0x1cf29f==_0x3ad3a1[_0x1ec036([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x1ec036([0x54,0x72,0x69,0x61,0x6c])&&_0x7db92d[_0x1ec036([0x6f,0x6e])](_0x1ec036([0x72,0x65,0x61,0x64,0x79]),()=>{let _0x2e88fc=0x0;_0x7db92d[_0x1ec036([0x6d,0x6f,0x64,0x65,0x6c])][_0x1ec036([0x6f,0x6e])](_0x1ec036([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x1791a5,_0x4e9992)=>{_0x4e9992[0x0][_0x1ec036([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x2e88fc++,0x1f8===_0x2e88fc&&(_0x4ecc78(_0x7db92d),_0x57bd3a(_0x3ad3a1[_0x1ec036([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x1ec036([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])),_0x1791a5[_0x1ec036([0x6f,0x66,0x66])]());},{'priority':_0x1ec036([0x68,0x69,0x67,0x68,0x65,0x73,0x74])});});}}function _0x57bd3a(_0x3bfc54){const _0x20b648=_0x3e9523();return _0x17f6da[_0x20b648]=_0x3bfc54,_0x3bfc54;}function _0x3e9523(){const _0x430b99=String(window[_0x1ec036([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x1ec036([0x6e,0x6f,0x77])]())[_0x1ec036([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x1ec036([0x2e]),'');let _0x39548e='';for(let _0x5b0084=0x0;_0x5b0084<_0x430b99[_0x1ec036([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5b0084+=0x2){let _0x55f5e9=parseInt(_0x430b99[_0x1ec036([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5b0084,_0x5b0084+0x2));_0x55f5e9>=_0x312e37[_0x1ec036([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x55f5e9-=_0x312e37[_0x1ec036([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x39548e+=_0x312e37[_0x55f5e9];}return _0x39548e;}function _0x4f9df2(_0x182dfe){for(const _0x2a1b2f of _0x182dfe[_0x1ec036([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])])_0x4ecc78(_0x2a1b2f);_0x314a05(_0x182dfe,_0x1ec036([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x1ec036([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])](!0x0),_0x314a05(_0x182dfe,_0x1ec036([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x1ec036([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])]=_0x6ca168;}function _0x4ecc78(_0x5e8202){function _0x321b16(){_0x5e8202[_0x1ec036([0x6d,0x6f,0x64,0x65,0x6c])][_0x1ec036([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x6ca168,_0x5e8202[_0x1ec036([0x6d,0x6f,0x64,0x65,0x6c])][_0x1ec036([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x6ca168,_0x5e8202[_0x1ec036([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x1ec036([0x6d,0x6f,0x64,0x65,0x6c]));}_0x5e8202[_0x1ec036([0x73,0x74,0x61,0x74,0x65])]==_0x1ec036([0x72,0x65,0x61,0x64,0x79])?_0x321b16():_0x5e8202[_0x1ec036([0x6f,0x6e,0x63,0x65])](_0x1ec036([0x72,0x65,0x61,0x64,0x79]),()=>_0x321b16());}function _0x6ca168(){return null;}function _0x329523(_0x1c3853,_0x4e18ea){const _0x294164=!!(_0x1c3853&_0x4e18ea[_0x1ec036([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]),_0x2d0ac5=_0x4d315b(_0x1c3853,_0x4e18ea);return _0x294164||_0x2d0ac5;}function _0x4d315b(_0x46b7d0,_0x4825f2){const _0x23941c=(_0x4825f2[_0x1ec036([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{})[_0x1ec036([0x66,0x67,0x69])]||null;return!!_0x23941c&&_0x3df0ef[_0x1ec036([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xbbcbd7=>_0x23941c[_0x1ec036([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xbbcbd7[_0x1ec036([0x69,0x64])]))[_0x1ec036([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4a1b6a=>!_0x5ec5c4(_0x4a1b6a))[_0x1ec036([0x73,0x6f,0x6d,0x65])](_0x26f3e1=>!!(_0x46b7d0&_0x26f3e1[_0x1ec036([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]));}function _0x5ec5c4(_0x3aa89f){const _0x273e5c={[_0x1ec036([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])]:_0x1b539d};return!!_0x3aa89f['forbiddenHandler']&&_0x273e5c[_0x3aa89f['forbiddenHandler']]();}function _0x1b539d(){return!window[_0x1ec036([0x44,0x72,0x75,0x70,0x61,0x6c])]||!_0x5deae1(_0x17f6da,_0x1ec036([0x64,0x72,0x75,0x70,0x61,0x6c,0x50,0x6f,0x77,0x65,0x72,0x65,0x64,0x42,0x79]));}function _0x5cb75e(_0xe659e6){if(!_0x5deae1(_0x17f6da,_0xe659e6[_0x1ec036([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))return!0x0;const _0x1e7789=_0xe659e6[_0x1ec036([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{},_0xab70e4=_0x1e7789[_0x1ec036([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]||!0x1,_0x22699a=_0x1e7789[_0x1ec036([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]||!0x1,_0x29d9b8=_0x1e7789[_0x1ec036([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]||!0x1;if(_0x5deae1(_0x17f6da,_0x1ec036([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x314a05(_0x17f6da,_0x1ec036([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x1ec036([0x73,0x74,0x61,0x74,0x65])]==_0x1ec036([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&_0xab70e4)return!0x0;if(_0x5deae1(_0x17f6da,_0x1ec036([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))&&_0x314a05(_0x17f6da,_0x1ec036([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))[_0x1ec036([0x72,0x65,0x73,0x75,0x6c,0x74])]==_0x1ec036([0x65,0x6e,0x64])&&_0x22699a)return!0x0;return!(!_0x5deae1(_0x17f6da,_0x1ec036([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]))||_0x314a05(_0x17f6da,_0x1ec036([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]))[_0x1ec036([0x72,0x65,0x73,0x75,0x6c,0x74])]!=_0x1ec036([0x65,0x6e,0x64])||!_0x29d9b8);}function _0x5deae1(_0x4ccdfd,_0x58a047){return _0x4ccdfd[_0x1ec036([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x1ec036([0x68,0x61,0x73])](_0x58a047);}function _0x314a05(_0x395e4d,_0x1fa27c){return _0x395e4d[_0x1ec036([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x1ec036([0x67,0x65,0x74])](_0x1fa27c);}function _0x240df(_0x1e00cf){let _0x4a0eaa='';for(const _0x1c7686 of _0x1e00cf)_0x4a0eaa+=String[_0x1ec036([0x66,0x72,0x6f,0x6d,0x43,0x68,0x61,0x72,0x43,0x6f,0x64,0x65])](_0x1c7686);return _0x4a0eaa;}function _0x231a28(_0x22837a){const _0x1d8599=new Uint8Array(_0x22837a[_0x1ec036([0x6c,0x65,0x6e,0x67,0x74,0x68])]);for(let _0x4ba414=0x0;_0x4ba414<_0x22837a[_0x1ec036([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4ba414++)_0x1d8599[_0x4ba414]=_0x22837a[_0x1ec036([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x4ba414);return _0x1d8599;}_0xc8ebfe&&_0x7523b7(_0x46d090(_0x48bf66),_0xc8ebfe);})(_0x222c62);}(this);}['createRevision'](_0xb4602f){const _0x2af0f4=this['editor']['plugins']['get']('Users');return new a({'id':_0xb4602f['id'],'name':_0xb4602f['name'],'creator':_0xb4602f['creatorId']?_0x2af0f4['getUser'](_0xb4602f['creatorId']):null,'diffData':_0xb4602f['diffData']||_0xb4602f['data'],'authors':_0xb4602f['authorsIds']['map'](_0x25c3ec=>_0x2af0f4['getUser'](_0x25c3ec)),'createdAt':new Date(_0xb4602f['createdAt']),'attributes':_0xb4602f['attributes'],'fromVersion':_0xb4602f['fromVersion'],'toVersion':_0xb4602f['toVersion']});}['addRevision'](_0x38b6b6,_0x104cce=0x0){this['_revisions']['add'](_0x38b6b6,_0x104cce);}['getRevision'](_0x16bfd6){return this['_revisions']['get'](_0x16bfd6);}['getRevisions'](_0x36eed9={'toJSON':!0x1}){const _0x4b2dd8=Array['from'](this['_revisions']);return _0x4b2dd8['reverse'](),_0x36eed9['toJSON']?_0x4b2dd8['map'](_0x58fb72=>_0x58fb72['toJSON']()):_0x4b2dd8;}['getIndex'](_0x57b4e4){return this['_revisions']['getIndex'](_0x57b4e4);}['getEarlierVisibleRevision'](_0x5c2f01){const [,_0x801711]=this['getRevisionsIterator'](_0x5c2f01,{'direction':'earlier'});return _0x801711;}['getLaterVisibleRevision'](_0x47a6f9){const [,_0xab5c53]=this['getRevisionsIterator'](_0x47a6f9,{'direction':'later'});return _0xab5c53;}['getRevisionsInDiff'](_0x111c7c){const _0x3e6bd6=[];for(const _0x2514d4 of this['getRevisionsIterator'](_0x111c7c['newRevisionId']))if(_0x3e6bd6['push'](_0x2514d4),_0x2514d4['id']===_0x111c7c['oldRevisionId'])break;return _0x3e6bd6;}*['getRevisionsIterator'](_0x3173d6,{direction:_0x91ac94='earlier',filter:_0x5a3f76=_0x4638ab=>!0x0}={}){const _0xfaa4e6='earlier'===_0x91ac94?0x1:-0x1;let _0x20019a=this['_revisions']['get'](_0x3173d6),_0x1c32e9=this['getIndex'](_0x20019a);for(yield _0x20019a;_0x20019a;){if(_0x1c32e9+=_0xfaa4e6,_0x20019a=this['getRevision'](_0x1c32e9),!_0x20019a)return;_0x5a3f76(_0x20019a)&&(yield _0x20019a);}}}function y(_0x2d1136,_0x3534c2,_0x5e15a5){const t=_0x2d1136['t'];switch(_0x3534c2){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'},_0x5e15a5);case'X_OF_Y_CHANGES':return t({'string':'%0\x20of\x20%1','id':'X_OF_Y_CHANGES'},_0x5e15a5);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'Accept':return t('Accept');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':_0x2138c6,'a':_0x363512,'e':_0x2299d5,'r':_0x22b971,'u':_0x3b2686};class l extends _0x5cf14b{['adapter'];['currentRevision'];['repository'];['_revisionDataBuilder'];['_source'];['_initialRevisionId'];['_bufferedUpdates'];['_pendingAction'];['_continueCurrentRevision'];['_startingVersion'];['_loadedStateData'];static get['pluginName'](){return'RevisionTracker';}static get['requires'](){return[_0xfe3709,A,_0x37c3a3];}constructor(_0x2bee00){super(_0x2bee00),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 _0x1e20d0=_0x497491();this['_source']={'history':this['editor']['model']['document']['history'],'getLatestVersion':()=>Promise['resolve'](this['editor']['model']['document']['version']),'getCurrentRevisionId':()=>_0x1e20d0},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 _0x51fd72=this['repository']['getRevision'](0x0),_0x129d64=_0x51fd72&&null===_0x51fd72['creator']?_0x51fd72:null;if(this['_continueCurrentRevision']=!!_0x129d64&&this['editor']['config']['get']('revisionHistory.resumeUnsavedRevision'),this['editor']['plugins']['has']('RealTimeCollaborationClient')){const _0x591885=this['_source']['getCurrentRevisionId'](),_0x12a870=this['repository']['getRevision'](_0x591885);if(_0x12a870)this['_startingVersion']=_0x12a870['fromVersion'],this['_continueCurrentRevision']=!0x1;else{const _0x5e017a=this['_source']['history']['_operations']['find'](_0x3c65d6=>!_0x3c65d6['_isInit']),_0x18f810=_0x5e017a?_0x5e017a['baseVersion']:this['_source']['history']['version'];_0x51fd72?(_0x51fd72['toVersion']<_0x18f810&&_0x51fd72['_update']({'toVersion':_0x18f810}),this['_continueCurrentRevision']?(this['_source']['getCurrentRevisionId']=()=>_0x129d64['id'],this['_startingVersion']=_0x129d64['fromVersion']):(this['_startingVersion']=_0x51fd72['toVersion'],this['_continueCurrentRevision']=!0x1)):(this['_startingVersion']=_0x18f810,this['_continueCurrentRevision']=!0x1);}}else _0x129d64&&(this['editor']['model']['document']['history']['version']=Math['max'](_0x129d64['toVersion'],this['editor']['model']['document']['history']['version']),_0x129d64['fromVersion']===_0x129d64['toVersion']?(0x0!==_0x129d64['fromVersion']&&(this['_source']['getCurrentRevisionId']=()=>_0x129d64['id']),this['_continueCurrentRevision']=!0x1):this['_continueCurrentRevision']&&(this['_source']['getCurrentRevisionId']=()=>_0x129d64['id'],this['_startingVersion']=_0x129d64['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',_0x3657d9=>!_0x3657d9);}async['afterInit'](){if(this['repository']['length']>0x0){const _0x387ada=this['repository']['getRevision'](0x0),_0x62ecf6=await this['getRevisionDocumentData'](_0x387ada),_0xaef536=await this['getRevisionRootsAttributes'](_0x387ada);this['_replaceEditorDataWithRevisionData'](_0x62ecf6,_0xaef536);}}['setSource'](_0x48438f){this['_source']=_0x48438f;}async['update'](){const _0x3b3b52=await this['_source']['getLatestVersion']();if(_0x3b3b52>this['currentRevision']['toVersion']){await this['_loadState']();const _0x2875ef=this['buildRevisionData']({'revision':this['currentRevision'],'to':_0x3b3b52});_0x2875ef['authors']=_0x2875ef['authorsIds']['map'](_0x20e89b=>this['editor']['plugins']['get']('Users')['getUser'](_0x20e89b)),this['currentRevision']['_update'](_0x2875ef);}}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'](_0x19fd89={},_0x5a7912=null){const _0x44cc63=[];await this['_loadState'](),this['_continueCurrentRevision']=!0x1,_0x5a7912>this['currentRevision']['toVersion']&&(_0x5a7912=null),null===_0x5a7912&&(_0x5a7912=await this['_source']['getLatestVersion']());const _0x3dc6a3=this['_getFromVersion'](_0x5a7912),_0x5149f8=this['buildRevisionData']({'from':_0x3dc6a3,'to':_0x5a7912});if(this['currentRevision']['toVersion']<_0x5a7912){const _0x4602dc=this['buildRevisionData']({'revision':this['currentRevision'],'from':_0x5a7912,'to':_0x5a7912});_0x4602dc['authors']=[],_0x4602dc['authorsIds']=[],_0x4602dc['id']=this['currentRevision']['id'],this['currentRevision']['_update'](_0x4602dc,!0x0),delete _0x4602dc['authors'],_0x44cc63['push'](_0x4602dc);}_0x19fd89['creatorId']=this['editor']['plugins']['get']('Users')['me']['id'],_0x19fd89['name']=_0x19fd89['name']||null,_0x19fd89['id']=_0x19fd89['id']||_0x497491(),_0x19fd89={..._0x19fd89,..._0x5149f8};const _0x15ff35=this['addRevisionData'](_0x19fd89);_0x44cc63['push'](_0x19fd89);const _0x2a390d=this['repository']['getIndex'](_0x15ff35);if(0x0!==_0x2a390d){const _0x44591b=this['repository']['getRevision'](_0x2a390d-0x1);if(_0x44591b['fromVersion']!==_0x5a7912){const _0x4c1f12=this['_revisionDataBuilder']['getData'](_0x5a7912,_0x44591b['toVersion']),_0x4a7343={'id':_0x44591b['id'],'diffData':_0x4c1f12['diffData'],'authorsIds':_0x4c1f12['authorsIds'],'authors':_0x4c1f12['authorsIds']['map'](_0x2178df=>this['editor']['plugins']['get']('Users')['getUser'](_0x2178df)),'fromVersion':_0x5a7912};_0x44591b===this['currentRevision']&&(_0x4a7343['createdAt']=new Date(_0x19fd89['createdAt']['getTime']()+0xa)),_0x44591b['_update'](_0x4a7343,!0x0),delete _0x4a7343['authors'],_0x44cc63['push'](_0x4a7343);}}if(this['adapter']){for(const _0x746aec of _0x44cc63)this['_bufferUpdate'](_0x746aec['id'],_0x746aec,!0x0);this['sendBufferedUpdates']();}return _0x15ff35;}['addRevisionData'](_0x49bc3c){const _0x54053c=this['repository']['createRevision'](_0x49bc3c);return this['adapter']&&_0x54053c['on']('_update',(_0x25e848,_0x2cb6af,_0x3655dc)=>{_0x3655dc||(this['_bufferUpdate'](_0x2cb6af['id'],_0x2cb6af,!0x0),this['sendBufferedUpdates']());}),this['repository']['addRevision'](_0x54053c,this['_findInsertionIndex'](_0x54053c)),_0x54053c;}async['getRevisionDocumentData'](_0x260a5a){await this['_loadRevisionData'](_0x260a5a);const _0x263da5={};for(const _0x2c600e in _0x260a5a['diffData']){if(_0x260a5a['diffData'][_0x2c600e]['attachChange']&&!_0x260a5a['diffData'][_0x2c600e]['attachChange']['isAttached'])continue;const _0x2ddf47=this['_removeRevisionMarkers'](JSON['parse'](_0x260a5a['diffData'][_0x2c600e]['insertions'])),_0x475c95=this['editor']['editing']['view']['document'],_0x19f710=new _0x591c68(_0x475c95,_0x2ddf47['map'](_0x511465=>B(_0x511465,this['editor'])));this['editor']['data']['processor']['useFillerType']('marked'),_0x263da5[_0x2c600e]=this['editor']['data']['processor']['toData'](_0x19f710),this['editor']['data']['processor']['useFillerType']('default');}return _0x263da5;}async['getRevisionRootsAttributes'](_0x332111){await this['_loadRevisionData'](_0x332111);const _0x593525={};for(const _0x204908 in _0x332111['diffData'])_0x332111['diffData'][_0x204908]['attachChange']&&!_0x332111['diffData'][_0x204908]['attachChange']['isAttached']||(_0x593525[_0x204908]=_0x332111['diffData'][_0x204908]['attributesAfter']||{});return _0x593525;}['sendBufferedUpdates'](){if(0x0===this['_bufferedUpdates']['size'])return;if(this['_isPendingUpdate'])return;let _0x227922=Array['from'](this['_bufferedUpdates']['values']());this['_bufferedUpdates']['clear']();for(let _0x16c78d=0x0;_0x16c78d<_0x227922['length'];_0x16c78d++){const _0x572cc3=_0x227922[_0x16c78d];let _0x4f97a5=!0x1;for(const _0xd08a52 of Object['keys'](_0x572cc3))void 0x0===_0x572cc3[_0xd08a52]?delete _0x572cc3[_0xd08a52]:'id'!==_0xd08a52&&(_0x4f97a5=!0x0);_0x4f97a5||(_0x227922[_0x16c78d]=null);}if(_0x227922=_0x227922['filter'](_0x2cd558=>null!==_0x2cd558),!_0x227922['length'])return;for(let _0x595382=0x0;_0x595382<_0x227922['length'];_0x595382++){const _0x174b62=_0x227922[_0x595382];void 0x0!==_0x174b62['fromVersion']&&void 0x0===_0x174b62['toVersion']&&(_0x174b62['toVersion']=this['repository']['getRevision'](_0x174b62['id'])['toVersion']),void 0x0!==_0x174b62['toVersion']&&void 0x0===_0x174b62['fromVersion']&&(_0x174b62['fromVersion']=this['repository']['getRevision'](_0x174b62['id'])['fromVersion']);}const _0xb62bbc=this['editor']['config']['get']('collaboration.channelId');this['_isPendingUpdate']=!0x0,this['_addPendingAction'](),this['adapter']['updateRevisions'](_0x227922,_0xb62bbc)['finally'](()=>{this['_isPendingUpdate']=!0x1;})['then'](_0x487577=>{if(_0x487577){for(const _0x3f70c8 of _0x487577)this['setRevisionData']({'id':_0x3f70c8['id'],'createdAt':_0x3f70c8['createdAt']});}this['_removePendingAction'](),this['sendBufferedUpdates']();});}['_replaceEditorDataWithRevisionData'](_0x35b6b2,_0x1a7f8d){let _0x4ee303=this['editor']['config']['get']('initialData'),_0x2e545f=this['editor']['config']['get']('rootsAttributes');if(void 0x0===_0x4ee303){_0x4ee303={};for(const _0x562d3f of this['editor']['model']['document']['getRootNames']())_0x4ee303[_0x562d3f]='';}if('string'==typeof _0x4ee303&&(_0x4ee303={'main':_0x4ee303}),void 0x0===_0x2e545f){_0x2e545f={};for(const _0x42148c of this['editor']['model']['document']['getRootNames']())_0x2e545f[_0x42148c]={};}let _0x3577cd=!0x1;const _0x585870=Object['keys'](_0x4ee303),_0x576331=Object['keys'](_0x35b6b2);for(const _0x1d13b9 of _0x585870){if(_0x4ee303[_0x1d13b9]!==_0x35b6b2[_0x1d13b9]&&''!==_0x4ee303[_0x1d13b9]['trim']()){_0x3577cd=!0x0;break;}if(!_0x49a462(_0x2e545f[_0x1d13b9],_0x1a7f8d[_0x1d13b9])&&Object['keys'](_0x2e545f[_0x1d13b9])['length']>0x0){_0x3577cd=!0x0;break;}}_0x3577cd||(_0x3577cd=_0x576331['some'](_0x45913d=>!this['editor']['model']['document']['getRoot'](_0x45913d))),_0x3577cd&&_0x4f58d1('editor-initial-data-replaced-with-revision-data',{'editorData':_0x4ee303,'editorRootsAttributes':_0x2e545f,'revisionData':_0x35b6b2,'revisionRootsAttributes':_0x1a7f8d}),this['editor']['config']['set']('initialData',_0x35b6b2),this['editor']['config']['set']('rootsAttributes',_0x1a7f8d);}['_addPendingAction'](){if(!this['_pendingAction']){const _0x2ddc9d=this['editor']['plugins']['get']('PendingActions');this['_pendingAction']=_0x2ddc9d['add'](y(this['editor']['locale'],'PENDING_ACTION_REVISION_HISTORY'));}}['_removePendingAction'](){this['_pendingAction']&&(this['editor']['plugins']['get']('PendingActions')['remove'](this['_pendingAction']),this['_pendingAction']=null);}['_findInsertionIndex'](_0x2dae8d){const _0x12f81a=this['repository']['getRevisions']();_0x12f81a['reverse']();let _0x249df8=0x0;for(;_0x249df8<_0x12f81a['length'];){const _0x29c16b=_0x12f81a[_0x249df8];if(_0x29c16b===this['currentRevision']){_0x249df8++;continue;}if(_0x29c16b['id']===this['_initialRevisionId'])break;const _0x3ade33=_0x2dae8d['toVersion']-_0x29c16b['toVersion']||_0x2dae8d['fromVersion']-_0x29c16b['fromVersion'];if(_0x3ade33>0x0)break;if(_0x3ade33<0x0)_0x249df8++;else{if(!_0x2dae8d['creator']&&_0x29c16b['creator'])break;if(_0x29c16b['creator']||!_0x2dae8d['creator']){if(_0x2dae8d['createdAt']>_0x29c16b['createdAt'])break;_0x249df8++;}else _0x249df8++;}}return _0x249df8;}['setRevisionData'](_0x2bfa2c){const _0x5868bd=this['repository']['getRevision'](_0x2bfa2c['id']);if(_0x2bfa2c['createdAt']&&(_0x2bfa2c['createdAt']=new Date(_0x2bfa2c['createdAt'])),_0x2bfa2c['authorsIds']){const _0x20f73b=this['editor']['plugins']['get']('Users');_0x2bfa2c['authors']=_0x2bfa2c['authorsIds']['map'](_0x3d04c3=>_0x20f73b['getUser'](_0x3d04c3));}_0x5868bd['_update'](_0x2bfa2c,!0x0);}['buildRevisionData']({revision:_0xec37f6=null,from:_0x356091=null,to:_0x199f6a=null}){_0x356091=null!==_0x356091?_0x356091:_0xec37f6['fromVersion'],_0x199f6a=null!==_0x199f6a?_0x199f6a:_0xec37f6['toVersion'];const _0x1ddb51=this['_revisionDataBuilder']['getData'](_0x356091,_0x199f6a),_0x178eca={'diffData':_0x1ddb51['diffData'],'authorsIds':_0x1ddb51['authorsIds'],'fromVersion':_0x356091,'toVersion':_0x199f6a};if(!_0xec37f6||_0x199f6a!==_0xec37f6['toVersion']){const _0x222906=_0x199f6a-0x1,_0x136818=this['_source']['history']['getOperation'](_0x222906);_0x178eca['createdAt']=_0x136818&&_0x136818['createdAt']||new Date();}if(this['_loadedStateData']&&_0x356091===this['_loadedStateData']['fromVersion']){for(const _0x5297fa of this['_loadedStateData']['authors'])_0x178eca['authorsIds']['includes'](_0x5297fa['id'])||_0x178eca['authorsIds']['push'](_0x5297fa['id']);}return _0x178eca;}['_loadRevisionData'](_0x5a33f9){if(!_0x5a33f9||_0x5a33f9['diffData'])return Promise['resolve']();{const _0x385268=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0x385268,'revisionId':_0x5a33f9['id']})['then'](_0x51525f=>{_0x5a33f9['diffData']=_0x51525f['diffData'];});}}['_bufferUpdate'](_0x4fa4ab,_0x450437,_0x268dd4){if(this['_bufferedUpdates']['has'](_0x4fa4ab)){const _0xd663fd=this['_bufferedUpdates']['get'](_0x4fa4ab);_0x450437=_0x268dd4?{..._0xd663fd,..._0x450437}:{..._0x450437,..._0xd663fd};}this['_bufferedUpdates']['set'](_0x4fa4ab,_0x450437);}['_getFromVersion'](_0x1a29ff){const _0x3c95e5=this['repository']['getRevisions']();_0x3c95e5['reverse'](),_0x3c95e5['shift']();const _0x225c76=_0x3c95e5['find'](_0x4d6737=>_0x4d6737['toVersion']<=_0x1a29ff)['toVersion'];return _0x225c76<this['_startingVersion']?this['_startingVersion']:_0x225c76;}['_createInitialRevision'](_0x461e93){const _0x5932c3=this['repository']['getRevision'](this['repository']['length']-0x1);if(_0x5932c3)this['_initialRevisionId']=_0x5932c3['id'];else{const _0x46bea2=!this['editor']['model']['document']['roots']['find'](_0x249b73=>this['editor']['model']['hasContent'](_0x249b73)),_0x14cf2b=this['editor']['plugins']['get']('Users')['me']['id'],_0x19da8=y(this['editor']['locale'],_0x46bea2?'Empty\x20document':'Initial\x20revision');this['_makeRevision']({'from':_0x461e93,'to':_0x461e93,'id':this['_initialRevisionId'],'name':_0x19da8,'creatorId':_0x14cf2b});}}['_createCurrentRevision'](_0x10e5b1){const _0x4a63ba=this['_source']['getCurrentRevisionId']();this['currentRevision']=this['repository']['getRevision'](_0x4a63ba),this['currentRevision']||(this['currentRevision']=this['_makeRevision']({'from':_0x10e5b1,'to':_0x10e5b1,'id':_0x4a63ba,'name':'','creatorId':null}));}['_makeRevision']({name:_0x1ef5f8,from:_0x2a3223,to:_0x35e3ca,creatorId:_0x2935d9,id:_0x36a421}){const _0x5b4a3f=this['buildRevisionData']({'from':_0x2a3223,'to':_0x35e3ca});_0x5b4a3f['name']=_0x1ef5f8,_0x5b4a3f['creatorId']=_0x2935d9,_0x5b4a3f['id']=_0x36a421;const _0x1d854c=this['addRevisionData'](_0x5b4a3f);return this['adapter']&&this['_bufferUpdate'](_0x5b4a3f['id'],_0x5b4a3f,!0x0),_0x1d854c;}['_setConversion'](){this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'});}['_removeRevisionMarkers'](_0x404954){return(_0x404954=_0x404954['filter'](_0x44bde2=>!_0x44bde2['name']||'revision-start'!==_0x44bde2['name']&&'revision-end'!==_0x44bde2['name']))['forEach'](_0x3b55a3=>{'string'!=typeof _0x3b55a3&&(_0x3b55a3['children']=this['_removeRevisionMarkers'](_0x3b55a3['children']),_0x3b55a3['attributes']=_0x3b55a3['attributes']['filter'](_0x4b62e9=>!_0x4b62e9[0x0]['startsWith']('data-revision-')));}),_0x404954;}}function B(_0x5a2275,_0x334879){const _0x3400bc=_0x334879['editing']['view']['document'];if('string'==typeof _0x5a2275)return new _0x2bf891(_0x3400bc,_0x5a2275);{const _0xb89dac=_0x5a2275['children']['map'](_0x3e32ad=>B(_0x3e32ad,_0x334879));return new(T[_0x5a2275['type']]||_0x30ac93)(_0x3400bc,_0x5a2275['name'],_0x5a2275['attributes'],_0xb89dac);}}class J{['editor'];['source'];['_savedMetaData'];['_lastFrom'];['_lastTo'];['_markers'];['_diffRoots'];['_diffRootsAttributes'];['_baseRoots'];['_baseRootsAttributes'];['_idsRoots'];['_baseIdsRoots'];['_touched'];['_touchedMarkers'];['_touchedRoots'];['_revisionId'];['_startingRevisionId'];constructor(_0x23a506){this['editor']=_0x23a506,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'](_0x5852c){this['source']=_0x5852c;const _0x4cbbee=new Map(),_0x14f478=new Map(),_0x268c5e=this['editor']['model']['document']['roots']['map'](_0x2790e9=>_0x2790e9['rootName']);for(const _0x17319d of _0x268c5e){const _0xfa496d=this['editor']['model']['document']['getRoot'](_0x17319d),_0x59f240=q(_0xfa496d);_0x4cbbee['set'](_0x17319d,_0x59f240),_0x14f478['set'](_0x17319d,Object['fromEntries'](_0xfa496d['getAttributes']()));}const _0x218704=Array['from'](this['editor']['model']['markers'])['map'](_0x4c776d=>[_0x4c776d['name'],_0x4c776d['getRange']()]),_0x4e6d04=this['source']['version'];this['_saveMetaData'](_0x4e6d04,_0x4cbbee,_0x218704,_0x14f478),this['_startingRevisionId']=this['_revisionId'];const _0x5687e4=new Map(),_0x4ca8b1=new Map();for(const _0xf2a4f4 of _0x268c5e){const _0x4fddec=G(_0xf2a4f4);_0x5687e4['set'](_0xf2a4f4,_0x4fddec),_0x4ca8b1['set'](_0xf2a4f4,{});}this['_saveMetaData'](Number['NEGATIVE_INFINITY'],_0x5687e4,[],_0x4ca8b1);}['getData'](_0x4d8121,_0x42a6f5){if(this['_lastFrom']===_0x4d8121&&this['_lastTo']<=_0x42a6f5)this['_savedMetaData']['size']>0x1&&this['_removeMetaData'](this['_lastTo']),this['_applyOperations'](this['_lastTo'],_0x42a6f5,!0x0);else{if(!this['_savedMetaData']['has'](_0x4d8121)){const _0x3ad1f0=this['_getPreviousFrom'](_0x4d8121);this['_calculateMetaData'](_0x3ad1f0,_0x4d8121,!0x1);}this['_calculateMetaData'](_0x4d8121,_0x42a6f5,!0x0);}return this['_lastFrom']=_0x4d8121,this['_lastTo']=_0x42a6f5,this['_getState']();}['loadState'](_0x2cbe8b){this['_reset'](),this['_lastFrom']=_0x2cbe8b['fromVersion'],this['_lastTo']=_0x2cbe8b['toVersion'];for(const _0x183945 in _0x2cbe8b['diffData']){const _0x2c7ccc=_0x2cbe8b['diffData'][_0x183945]['attachChange'],_0x46533c=_0x205b47(_0x2cbe8b['diffData'][_0x183945]['attributesBefore'])||{},_0x1ecdd1=this['_makeModelFromViewString'](_0x2cbe8b['diffData'][_0x183945]['deletions']);_0x1ecdd1['rootName']=_0x183945,_0x1ecdd1['_isAttached']=!_0x2c7ccc||!_0x2c7ccc['isAttached'],_0x1ecdd1['isAttached']=()=>_0x1ecdd1['_isAttached'],this['_baseRoots']['set'](_0x183945,_0x1ecdd1),this['_baseRootsAttributes']['set'](_0x183945,_0x46533c),_0x2c7ccc&&this['_touchedRoots']['set'](_0x183945,_0x2c7ccc);const _0x471e62=this['_makeIdsRoot'](_0x1ecdd1);this['_baseIdsRoots']['set'](_0x183945,_0x471e62);for(const [_0x229f4a,_0x11b41d]of _0x1ecdd1['markers']){if(!_0x229f4a['startsWith']('revision:'))continue;const _0x24b429=_0x229f4a['split'](':')[0x2];for(const _0x21a8a9 of _0x11b41d['getWalker']({'singleCharacters':!0x0})){const _0x59d609=this['_getVidAttributeName'](_0x21a8a9),_0x57b9c9='elementEnd'==_0x21a8a9['type']?_0x21a8a9['previousPosition']['path']['slice'](0x0,-0x1):_0x21a8a9['previousPosition']['path'],_0xe63623=_0x471e62['getNodeByPath'](_0x57b9c9)['getAttribute'](_0x59d609);this['_touched']['set'](_0xe63623,{'userId':_0x24b429});}}}this['_startingRevisionId']=this['_revisionId'];const _0xc6fc6c=[...Array(this['_revisionId'])['keys']()]['slice'](0x1)['filter'](_0x3bc863=>!this['_touched']['has'](_0x3bc863));let _0x4dd18f=0x0;const _0x425a49=new Map();for(const _0x3a75aa in _0x2cbe8b['diffData']){const _0x5ccdc7=_0x2cbe8b['diffData'][_0x3a75aa]['attachChange'],_0x2f9d46=_0x205b47(_0x2cbe8b['diffData'][_0x3a75aa]['attributesAfter'])||{},_0x55c05f=this['_makeModelFromViewString'](_0x2cbe8b['diffData'][_0x3a75aa]['insertions']);_0x55c05f['rootName']=_0x3a75aa,_0x55c05f['_isAttached']=!_0x5ccdc7||_0x5ccdc7['isAttached'],_0x55c05f['isAttached']=()=>_0x55c05f['_isAttached'],this['_diffRoots']['set'](_0x3a75aa,_0x55c05f),this['_diffRootsAttributes']['set'](_0x3a75aa,_0x2f9d46);const _0x539f8a=this['_makeIdsRoot'](_0x55c05f,Number['NEGATIVE_INFINITY']);this['_idsRoots']['set'](_0x3a75aa,_0x539f8a),_0x425a49['set'](_0x3a75aa,_0x55c05f['isAttached']()?_0x2f9d46:{});for(const [_0x13e9c3,_0x5e3c11]of _0x55c05f['markers']){if(!_0x13e9c3['startsWith']('revision:'))continue;const _0x28d50d=_0x13e9c3['split'](':')[0x2];for(const _0x22401d of _0x5e3c11['getWalker']({'singleCharacters':!0x0})){const _0x35e403=this['_getVidAttributeName'](_0x22401d),_0x2e50c5=this['_revisionId']++,_0x506355='elementEnd'==_0x22401d['type']?_0x22401d['previousPosition']['path']['slice'](0x0,-0x1):_0x22401d['previousPosition']['path'];_0x539f8a['getNodeByPath'](_0x506355)['_setAttribute'](_0x35e403,_0x2e50c5),this['_touched']['set'](_0x2e50c5,{'userId':_0x28d50d});}}for(const _0x239ffa of this['editor']['model']['createRangeIn'](_0x55c05f)['getWalker']({'singleCharacters':!0x0})){const _0x158acb=this['_getVidAttributeName'](_0x239ffa),_0x4e829c='elementEnd'==_0x239ffa['type']?_0x239ffa['previousPosition']['path']['slice'](0x0,-0x1):_0x239ffa['previousPosition']['path'],_0x30b014=_0x539f8a['getNodeByPath'](_0x4e829c);_0x30b014['getAttribute'](_0x158acb)>0x0||_0x30b014['_setAttribute'](_0x158acb,_0xc6fc6c[_0x4dd18f++]);}for(const [_0xce4db7,_0x1cb65c]of _0x55c05f['markers'])_0xce4db7['startsWith']('revision:')||this['_markers']['set'](_0xce4db7,_0x1cb65c);}const _0x78c650=G('$graveyard');this['_baseRoots']['set']('$graveyard',_0x78c650),this['_baseIdsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x78c650,0x1));const _0x464a19=G('$graveyard');this['_diffRoots']['set']('$graveyard',_0x464a19),this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x464a19,0x1));const _0x2c931a=Array['from'](this['_diffRoots'])['map'](([_0x53a982,_0x19a70b])=>[_0x53a982,q(_0x19a70b)]);this['_saveMetaData'](this['_lastTo'],_0x2c931a,this['_markers'],_0x425a49);}['_makeModelFromViewString'](_0x3313ea){const _0x21ec41=JSON['parse'](_0x3313ea),_0x3ee7b7=this['editor']['editing']['view']['document'],_0xaf0336=new _0x591c68(_0x3ee7b7,_0x21ec41['map'](_0x4abf1e=>B(_0x4abf1e,this['editor'])));return this['editor']['data']['toModel'](_0xaf0336);}['_saveMetaData'](_0x196b25,_0x464ba6,_0xa4c660,_0x6ecde7){const _0x23ed13=new Map(_0x464ba6),_0x117717=new Map(_0x205b47(_0x6ecde7)),_0x54bbd0=new Map();for(const [_0x5ef8af,_0xdc3ec9]of _0xa4c660)_0x54bbd0['set'](_0x5ef8af,{'start':_0xdc3ec9['start']['clone'](),'end':_0xdc3ec9['end']['clone'](),'rootName':_0xdc3ec9['root']['rootName']});this['_savedMetaData']['set'](_0x196b25,{'roots':_0x23ed13,'markers':_0x54bbd0,'rootsAttributes':_0x117717});}['_removeMetaData'](_0x3cb650){this['_savedMetaData']['delete'](_0x3cb650);}['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'](_0x4c936b,_0x55c58a=null){let _0x3d8ba9=null;_0x4c936b['is']('documentFragment')||(_0x3d8ba9=new ft(_0x4c936b['name'],{'vid_start':null===_0x55c58a?this['_revisionId']++:_0x55c58a++}));const _0x2d39e8=[];for(const _0x29f24c of _0x4c936b['getChildren']())if(_0x29f24c['is']('element')){_0x2d39e8['push'](this['_makeIdsRoot'](_0x29f24c,_0x55c58a));const _0x1cd513=_0x2d39e8[_0x2d39e8['length']-0x1];null!==_0x55c58a&&(_0x55c58a=_0x1cd513['is']('element','$text')?_0x1cd513['getAttribute']('vid')+0x1:_0x1cd513['getAttribute']('vid_end')+0x1);}else{for(let _0x5132d1=0x0;_0x5132d1<_0x29f24c['offsetSize'];_0x5132d1++)_0x2d39e8['push'](new ft('$text',{'vid':null===_0x55c58a?this['_revisionId']++:_0x55c58a++}));}if(_0x4c936b['is']('documentFragment')){const _0x16e4e6=G(_0x4c936b['rootName']);return _0x16e4e6['_insertChild'](0x0,_0x2d39e8),_0x16e4e6;}return _0x3d8ba9['_setAttribute']('vid_end',null===_0x55c58a?this['_revisionId']++:_0x55c58a++),_0x3d8ba9['_insertChild'](0x0,_0x2d39e8),_0x3d8ba9;}['_calculateMetaData'](_0x1747fa,_0x2fdc07,_0x3631a2){this['_reset']();const {roots:_0x57e3c5,markers:_0x30bb72,rootsAttributes:_0x4fe9f0}=this['_savedMetaData']['get'](_0x1747fa);this['_baseRoots']=new Map(_0x57e3c5),this['_baseRootsAttributes']=new Map(_0x205b47(_0x4fe9f0));for(const [_0x273253,_0x3f0c63]of this['_baseRoots'])if('$graveyard'!==_0x273253&&(this['_diffRoots']['set'](_0x273253,q(_0x3f0c63)),this['_diffRootsAttributes']=new Map(_0x205b47(_0x4fe9f0)),_0x3631a2)){const _0x4edaef=this['_revisionId'];this['_idsRoots']['set'](_0x273253,this['_makeIdsRoot'](_0x3f0c63)),this['_baseIdsRoots']['set'](_0x273253,this['_makeIdsRoot'](_0x3f0c63,_0x4edaef));}this['_startingRevisionId']=this['_revisionId'],this['_diffRoots']['set']('$graveyard',q(this['_baseRoots']['get']('$graveyard'))),_0x3631a2&&this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](this['_baseRoots']['get']('$graveyard')));for(const [_0x49875f,_0x5616a2]of _0x30bb72){const _0x313af5=this['_baseRoots']['get'](_0x5616a2['rootName']),_0x261dd3=this['_diffRoots']['get'](_0x5616a2['rootName']),_0x3bc236=new vt(this['_fixPosition'](_0x5616a2['start'],_0x313af5),this['_fixPosition'](_0x5616a2['end'],_0x313af5)),_0x4efb2b=this['_fixRange'](_0x3bc236,_0x261dd3);_0x313af5['markers']['set'](_0x49875f,_0x3bc236),this['_markers']['set'](_0x49875f,_0x4efb2b);}this['_applyOperations'](_0x1747fa,_0x2fdc07,_0x3631a2);}['_applyOperations'](_0x5f53a0,_0x246056,_0x55d37a){for(const _0x50228f of this['source']['getOperations'](_0x5f53a0,_0x246056))this['_handleOperation'](_0x50228f,_0x55d37a);for(const _0x444b28 of this['_diffRoots']['values']())_0x444b28['markers']['clear']();for(const [_0x3bfb8c,_0x3d004b]of this['_markers']){this['_diffRoots']['get'](_0x3d004b['root']['rootName'])['markers']['set'](_0x3bfb8c,_0x3d004b['clone']());}const _0xeb90da=new Map(),_0x47814a=new Map();for(const [_0x571182,_0x7d81fd]of this['_diffRoots'])_0xeb90da['set'](_0x571182,q(_0x7d81fd)),_0x47814a['set'](_0x571182,this['_diffRootsAttributes']['get'](_0x571182));this['_saveMetaData'](_0x246056,_0xeb90da,this['_markers'],_0x47814a);}['_getPreviousFrom'](_0x4426d4){const _0x3a9cb3=Array['from'](this['_savedMetaData']['keys']());_0x3a9cb3['sort']((_0x8f06b2,_0x1ded4a)=>_0x8f06b2-_0x1ded4a),_0x3a9cb3['reverse']();for(const _0x3ddd09 of _0x3a9cb3)if(_0x3ddd09<_0x4426d4)return _0x3ddd09;return Number['NEGATIVE_INFINITY'];}['_copyMarkers'](_0x50db4e,_0x350451){const _0x22eaca=Array['from'](_0x350451['markers'])['map'](([_0x4f9787,_0x2b99ef])=>[_0x4f9787,this['_fixRange'](_0x2b99ef,_0x50db4e)]);_0x50db4e['markers']=new Map(_0x22eaca);}['_transformMarkers'](_0x29e363){for(const _0x4aaaab of this['_markers']['values']()){const _0x3703b4=_0x4aaaab['getTransformedByOperation'](_0x29e363),_0x4108d2=vt['_createFromRanges'](_0x3703b4);_0x4aaaab['start']=_0x4108d2['start'],_0x4aaaab['end']=_0x4108d2['end'];}}['_handleOperation'](_0x2efe0b,_0x3d9bda){if('addRoot'==_0x2efe0b['type']||'detachRoot'==_0x2efe0b['type'])return void this['_handleRootOperation'](_0x2efe0b,_0x3d9bda);if('insert'==_0x2efe0b['type']){const _0x2b1116=_0x2efe0b['position']['root']['rootName'];this['_diffRoots']['has'](_0x2b1116)||(this['_diffRoots']['set'](_0x2b1116,G(_0x2b1116,!0x0)),this['_diffRootsAttributes']['set'](_0x2b1116,{}),_0x3d9bda&&this['_idsRoots']['set'](_0x2b1116,G(_0x2b1116,!0x0)));}else{if('addRootAttribute'==_0x2efe0b['type']||'removeRootAttribute'==_0x2efe0b['type']||'changeRootAttribute'==_0x2efe0b['type'])return void this['_handleRootAttributeOperation'](_0x2efe0b);}const _0x4f1745=this['_cloneOperation'](_0x2efe0b,this['_diffRoots']);if('marker'!==_0x2efe0b['type']&&(_0x4f1745['_execute'](),this['_transformMarkers'](_0x4f1745)),_0x3d9bda)switch(_0x4f1745['type']){case'insert':this['_handleInsertOperation'](_0x2efe0b);break;case'move':case'remove':case'reinsert':this['_handleMoveOperation'](_0x2efe0b);break;case'merge':this['_handleMergeOperation'](_0x2efe0b);break;case'split':this['_handleSplitOperation'](_0x2efe0b);break;case'marker':this['_handleMarkerOperation'](_0x2efe0b);}}['_cloneOperation'](_0x1882ca,_0x87f54a){const _0x1d2696=_0x1882ca['clone']();return _0x1d2696['_authorId']=_0x1882ca['_authorId'],this['_fixOperation'](_0x1d2696,_0x87f54a),_0x1d2696;}['_getBaseVids'](_0x5869e6){return _0x5869e6['map'](_0x287ad4=>{const _0x1108ba=this['_getVidAttributeName'](_0x287ad4);return Number(_0x287ad4['item']['getAttribute'](_0x1108ba));});}['_generateTape'](_0x3c771f,_0x4b650d){if(_0x3c771f['is']('element','$text'))_0x4b650d['push']({'item':_0x3c771f,'type':'text'});else{_0x3c771f['is']('element')&&_0x4b650d['push']({'item':_0x3c771f,'type':'elementStart'});for(const _0x5a0787 of _0x3c771f['getChildren']())this['_generateTape'](_0x5a0787,_0x4b650d);_0x3c771f['is']('element')&&_0x4b650d['push']({'item':_0x3c771f,'type':'elementEnd'});}return _0x4b650d;}['_getState'](){const _0x474bfe=new Map(this['_touched']),_0x48e963=new Map(_0x474bfe),_0x36e4bb=new Map(),_0x1cf3ba={'insertions':{},'deletions':{}},_0x410795={'insertions':{},'deletions':{}},_0x31eed1=new Map(),_0x3c8708=new Set([...this['_baseRoots']['keys'](),...this['_diffRoots']['keys']()]);_0x3c8708['delete']('$graveyard');for(const _0x3be7ef of _0x3c8708){const _0x5cbc94=this['_diffRoots']['get'](_0x3be7ef)||G(_0x3be7ef,!0x1),_0x415d51=this['_baseRoots']['get'](_0x3be7ef)||G(_0x3be7ef,!0x1);_0x5cbc94['isAttached']()||_0x415d51['isAttached']()?(_0x1cf3ba['insertions'][_0x3be7ef]=q(_0x5cbc94),_0x1cf3ba['deletions'][_0x3be7ef]=q(_0x415d51),this['_copyMarkers'](_0x1cf3ba['deletions'][_0x3be7ef],_0x415d51),this['_copyMarkers'](_0x1cf3ba['insertions'][_0x3be7ef],_0x5cbc94),_0x410795['insertions'][_0x3be7ef]=this['_generateTape'](this['_idsRoots']['get'](_0x3be7ef),[]),_0x410795['deletions'][_0x3be7ef]=this['_generateTape'](this['_baseIdsRoots']['get'](_0x3be7ef)||G(_0x3be7ef,!0x1),[])):_0x3c8708['delete'](_0x3be7ef);}for(const _0x5e7f4c of _0x3c8708){const _0x264ed0=_0x410795['insertions'][_0x5e7f4c];for(const _0x491933 of _0x264ed0){const _0x5554c2=this['_getVidAttributeName'](_0x491933),_0x4012ec=_0x491933['item']['getAttribute'](_0x5554c2);_0x48e963['delete'](_0x4012ec),_0x4012ec>=this['_startingRevisionId']&&_0x36e4bb['set'](_0x4012ec,_0x474bfe['get'](_0x4012ec));}}for(const _0xa27fdc of _0x3c8708){const _0x1c5300=_0x410795['insertions'][_0xa27fdc],_0x4a6657=this['_getBaseVids'](_0x410795['deletions'][_0xa27fdc]);let _0x4dacef=0x0;for(const _0x5c8465 of _0x1c5300){const _0x50ba03=this['_getVidAttributeName'](_0x5c8465),_0x3f708a=_0x5c8465['item']['getAttribute'](_0x50ba03);if(!_0x36e4bb['has'](_0x3f708a)&&!_0x31eed1['has'](_0x3f708a)){if(_0x48e963['has'](_0x3f708a))_0x4dacef++;else{if(_0x3f708a!=_0x4a6657[_0x4dacef]){const _0x512ba8=_0x474bfe['get'](_0x3f708a)||_0x474bfe['get'](_0x4a6657[_0x4dacef]);for(;_0x3f708a!=_0x4a6657[_0x4dacef];)_0x48e963['has'](_0x4a6657[_0x4dacef])||(_0x31eed1['set'](_0x4a6657[_0x4dacef],_0x512ba8),_0x474bfe['set'](_0x4a6657[_0x4dacef],_0x512ba8)),_0x4dacef++;}_0x4dacef++;}}}}for(const _0x436d5b of _0x3c8708){const _0x1ace82=_0x410795['insertions'][_0x436d5b];for(const _0x543dc6 of _0x1ace82){const _0x495044=this['_getVidAttributeName'](_0x543dc6),_0xa41a5=_0x543dc6['item']['getAttribute'](_0x495044);if(_0x31eed1['has'](_0xa41a5)){const _0x5f3e33=_0x31eed1['get'](_0xa41a5);_0x48e963['has'](_0xa41a5)||_0x48e963['set'](_0xa41a5,{..._0x5f3e33}),_0x36e4bb['set'](_0xa41a5,{..._0x5f3e33});}}}for(const _0x8a535d of _0x48e963['keys']())_0x8a535d>=this['_startingRevisionId']&&_0x48e963['delete'](_0x8a535d);const _0x2b3089=new Map();for(const _0x3bd949 of _0x3c8708){let _0x5890a2=_0x410795['insertions'][_0x3bd949];for(const _0x49ff94 of _0x5890a2)if(_0x49ff94['item']['is']('element','tableCell')){const _0x3bef4d=this['_getVidAttributeName'](_0x49ff94),_0x44bfb3=_0x49ff94['item']['getAttribute'](_0x3bef4d);if(_0x36e4bb['has'](_0x44bfb3)){const _0x65826c=_0x49ff94['item']['parent']['parent']['getAttribute']('vid_start'),_0x4925dc=_0x2b3089['get'](_0x65826c)||new Set();_0x4925dc['add'](_0x36e4bb['get'](_0x44bfb3)['userId']),_0x2b3089['set'](_0x65826c,_0x4925dc);}}_0x5890a2=_0x410795['deletions'][_0x3bd949];for(const _0x1c1cf1 of _0x5890a2)if(_0x1c1cf1['item']['is']('element','tableCell')){const _0x198757=this['_getVidAttributeName'](_0x1c1cf1),_0x4a2412=_0x1c1cf1['item']['getAttribute'](_0x198757);if(_0x48e963['has'](_0x4a2412)){const _0x21f740=_0x1c1cf1['item']['parent']['parent']['getAttribute']('vid_start'),_0x357844=_0x2b3089['get'](_0x21f740)||new Set();_0x357844['add'](_0x48e963['get'](_0x4a2412)['userId']),_0x2b3089['set'](_0x21f740,_0x357844);}}for(const _0x37f4a5 of _0x2b3089['keys']())(_0x36e4bb['has'](_0x37f4a5)||_0x48e963['has'](_0x37f4a5))&&_0x2b3089['delete'](_0x37f4a5);}for(const _0x501761 of _0x3c8708){const _0x10dcc9=_0x410795['insertions'][_0x501761];let _0x592cfb=null,_0x561636=null;for(const _0x246180 of _0x10dcc9){const _0x3cbb17=this['_getVidAttributeName'](_0x246180),_0x15b29b=_0x246180['item']['getAttribute'](_0x3cbb17),_0x22c481=_0x2b3089['get'](_0x15b29b);_0x22c481&&'elementStart'==_0x246180['type']&&(_0x592cfb=Array['from'](_0x22c481)[0x0],_0x561636=_0x246180['item']['getAttribute']('vid_end')),_0x592cfb&&(_0x48e963['set'](_0x15b29b,{'userId':_0x592cfb}),_0x36e4bb['set'](_0x15b29b,{'userId':_0x592cfb})),_0x15b29b==_0x561636&&(_0x592cfb=null,_0x561636=null);}}const _0x32cb6b={},_0x4d704f=new Set();for(const _0x42a8cb of _0x3c8708){const _0x2ea326=_0x1cf3ba['deletions'][_0x42a8cb],_0x1a454d=_0x1cf3ba['insertions'][_0x42a8cb];for(const {userId:_0x27d546}of this['_touchedMarkers']['values']())null!==_0x27d546&&_0x4d704f['add'](_0x27d546);for(const {userId:_0x12951b}of this['_touchedRoots']['values']())null!==_0x12951b&&_0x4d704f['add'](_0x12951b);this['_markChanges'](_0x1a454d,_0x410795['insertions'][_0x42a8cb],_0x36e4bb,'insertion',_0x4d704f),this['_markChanges'](_0x2ea326,_0x410795['deletions'][_0x42a8cb],_0x48e963,'deletion',_0x4d704f),_0x32cb6b[_0x42a8cb]={'insertions':this['_prepareViewToSave'](_0x1a454d),'deletions':this['_prepareViewToSave'](_0x2ea326),'attachChange':this['_touchedRoots']['get'](_0x42a8cb)||null,'attributesBefore':_0x205b47(this['_baseRootsAttributes']['get'](_0x42a8cb))||{},'attributesAfter':_0x205b47(this['_diffRootsAttributes']['get'](_0x42a8cb))};}return{'diffData':_0x32cb6b,'authorsIds':Array['from'](_0x4d704f)};}['_processRootBeforeSave'](_0x3b407b){for(const [,_0x9d43ec]of _0x3b407b['markers']){const _0x23db85=_0x9d43ec['start']['getAncestors']()['filter'](_0x2a71c6=>'tableCell'==_0x2a71c6['name']);for(const _0x3afc37 of _0x23db85)0x1==_0x3afc37['childCount']&&_0x3afc37['getChild'](0x0)['is']('element','paragraph')&&_0x3afc37['getChild'](0x0)['_setAttribute']('keepParagraph',!0x0);}}['_prepareViewToSave'](_0x1d6092){this['_processRootBeforeSave'](_0x1d6092);const _0x46f5db=this['editor']['data']['toView'](_0x1d6092,{}),_0x3837c4=Array['from'](_0x46f5db['getChildren']())['map'](_0x495b5a=>this['_getViewJson'](_0x495b5a));return JSON['stringify'](_0x3837c4);}['_getViewJson'](_0x80dae){if(_0x80dae['is']('$text'))return _0x80dae['data'];{const _0x164258=_0x80dae;return{'type':Object['keys'](T)['find'](_0x4aed9c=>_0x80dae instanceof T[_0x4aed9c]),'name':_0x164258['name'],'attributes':Array['from'](_0x164258['getAttributes']()),'children':Array['from'](_0x164258['getChildren']())['map'](_0x3c161a=>this['_getViewJson'](_0x3c161a))};}}['_markChanges'](_0x4a2127,_0xb07f1b,_0x4a69b9,_0xfb5a15,_0x18f99e){let _0x4cc719=null,_0x4debb8=null,_0x598141=0x0;const _0x5d98bd=this['editor']['model'];for(let _0x1ae9c5=0x0;_0x1ae9c5<_0xb07f1b['length'];_0x1ae9c5++){const _0x42ab7a=this['_getVidAttributeName'](_0xb07f1b[_0x1ae9c5]),_0x3115d6=_0xb07f1b[_0x1ae9c5]['item']['getAttribute'](_0x42ab7a),_0x109a7c=_0x4a69b9['get'](_0x3115d6),_0x432ccf=_0x1ae9c5==_0xb07f1b['length']-0x1;(!_0x4cc719&&_0x109a7c&&(_0x4cc719=_0x109a7c,_0x4debb8=_0xb07f1b[_0x1ae9c5]),_0x4cc719&&(!_0x109a7c||_0x109a7c['userId']!=_0x4cc719['userId']))&&(_0x320a19(_0x109a7c,L(_0x4debb8,_0x4a2127,_0x5d98bd),L(_0xb07f1b[_0x1ae9c5],_0x4a2127,_0x5d98bd)),_0x4cc719=_0x109a7c||null,_0x4debb8=_0x109a7c?_0xb07f1b[_0x1ae9c5]:null),_0x4cc719&&_0x432ccf&&_0x320a19(_0x109a7c,L(_0x4debb8,_0x4a2127,_0x5d98bd),W(_0xb07f1b[_0x1ae9c5],_0x4a2127,_0x5d98bd));}function _0x320a19(_0x4748f3,_0xad7918,_0x489f3a){const _0xd25703=_0x4cc719['userId'],_0x15c7fb='revision:'+_0xfb5a15+':'+_0xd25703+':'+_0x598141++,_0x40bdcd=_0x5d98bd['createRange'](_0xad7918,_0x489f3a);_0x4a2127['markers']['set'](_0x15c7fb,_0x40bdcd),null!==_0xd25703&&_0x18f99e['add'](_0xd25703);}}['_getVidAttributeName'](_0x15a2b4){switch(_0x15a2b4['type']){case'elementStart':return'vid_start';case'elementEnd':return'vid_end';default:return'vid';}}['_fixOperation'](_0xefb5f1,_0x4bd955){_0xefb5f1['baseVersion']=null;for(const _0x5e4d4e in _0xefb5f1){const _0x579385=_0xefb5f1[_0x5e4d4e];if(_0x579385 instanceof gt){const _0x106a05=_0x4bd955['get'](_0x579385['root']['rootName']);_0xefb5f1[_0x5e4d4e]=this['_fixPosition'](_0x579385,_0x106a05);}if(_0x579385 instanceof vt){const _0x37ab58=_0x4bd955['get'](_0x579385['root']['rootName']);_0xefb5f1[_0x5e4d4e]=this['_fixRange'](_0x579385,_0x37ab58);}'root'===_0x5e4d4e&&(_0xefb5f1['root']=_0x4bd955['get'](_0xefb5f1['root']['rootName']));}}['_fixRange'](_0x205fb6,_0x3941da){return this['editor']['model']['createRange'](this['_fixPosition'](_0x205fb6['start'],_0x3941da),this['_fixPosition'](_0x205fb6['end'],_0x3941da));}['_fixPosition'](_0x482c8c,_0x2c5065){return this['editor']['model']['createPositionFromPath'](_0x2c5065,_0x482c8c['path'],_0x482c8c['stickiness']);}['_handleInsertOperation'](_0x13e800){const _0x34d0d5=this['_idsRoots']['get'](_0x13e800['position']['root']['rootName']),_0x40ea60=this['_fixPosition'](_0x13e800['position'],_0x34d0d5),_0x48ae40=null===_0x13e800['_authorId']?null:_0x13e800['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x308815=_0x40ea60['parent'],_0x1cbce9=this['_revisionId'],_0x371fe6=[];for(const _0x70ee1d of _0x13e800['nodes'])if(_0x70ee1d['is']('element'))_0x371fe6['push'](this['_makeIdsRoot'](_0x70ee1d));else{for(let _0x1e3b9f=0x0;_0x1e3b9f<_0x70ee1d['offsetSize'];_0x1e3b9f++)_0x371fe6['push'](new ft('$text',{'vid':this['_revisionId']++}));}const _0x47ea34=this['_revisionId'];for(let _0x3f833d=_0x1cbce9;_0x3f833d<_0x47ea34;_0x3f833d++)this['_touched']['set'](_0x3f833d,{'userId':_0x48ae40});_0x308815['_insertChild'](_0x40ea60['offset'],_0x371fe6);}['_handleMoveOperation'](_0x3297cf){(_0x3297cf=this['_cloneOperation'](_0x3297cf,this['_idsRoots']))['_execute']();const _0x2a273a=null===_0x3297cf['_authorId']?null:_0x3297cf['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x37aa08=_0x3297cf['getMovedRangeStart'](),_0x5773ff=_0x37aa08['parent'],_0x397cc1=_0x37aa08['offset'];!function _0x14e80c(_0x5b4ba4,_0x3c0fb5,_0x5154fa,_0x299f97){for(let _0x34abab=_0x5154fa;_0x34abab<_0x299f97;_0x34abab++){const _0x1acc9f=_0x3c0fb5['getChild'](_0x34abab);_0x1acc9f['is']('element','$text')?_0x5b4ba4['set'](_0x1acc9f['getAttribute']('vid'),{'userId':_0x2a273a}):(_0x5b4ba4['set'](_0x1acc9f['getAttribute']('vid_start'),{'userId':_0x2a273a}),_0x14e80c(_0x5b4ba4,_0x1acc9f,0x0,_0x1acc9f['childCount']),_0x5b4ba4['set'](_0x1acc9f['getAttribute']('vid_end'),{'userId':_0x2a273a}));}}(this['_touched'],_0x5773ff,_0x397cc1,_0x397cc1+_0x3297cf['howMany']);}['_handleMergeOperation'](_0x3832ad){const _0x2c3d5a=null===(_0x3832ad=this['_cloneOperation'](_0x3832ad,this['_idsRoots']))['_authorId']?null:_0x3832ad['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x3d8897=_0x3832ad['targetPosition']['parent'],_0x27e7f1=_0x3832ad['sourcePosition']['parent'],_0x332ac2=_0x3d8897['getAttribute']('vid_end'),_0x1e11a6=_0x27e7f1['getAttribute']('vid_start');_0x3d8897['_setAttribute']('vid_end',_0x27e7f1['getAttribute']('vid_end')),_0x27e7f1['_setAttribute']('vid_end',_0x332ac2),this['_touched']['set'](_0x1e11a6,{'userId':_0x2c3d5a}),this['_touched']['set'](_0x332ac2,{'userId':_0x2c3d5a}),_0x3832ad['_execute']();}['_handleSplitOperation'](_0x2c28a4){const _0x4da78a=null===(_0x2c28a4=this['_cloneOperation'](_0x2c28a4,this['_idsRoots']))['_authorId']?null:_0x2c28a4['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x2021c4=_0x2c28a4['graveyardPosition'],_0x4e914b=_0x2c28a4['splitPosition']['parent'];_0x2c28a4['_execute']();const _0x1ad428=_0x4e914b['getAttribute']('vid_end'),_0x1d7c75=_0x2c28a4['insertionPosition']['nodeAfter'];if(_0x2021c4){const _0x4b78d4=_0x1d7c75['getAttribute']('vid_end'),_0x2d202e=_0x4e914b['getAttribute']('vid_end');_0x4e914b['_setAttribute']('vid_end',_0x4b78d4),_0x1d7c75['_setAttribute']('vid_end',_0x2d202e),this['_touched']['set'](_0x4e914b['getAttribute']('vid_end'),{'userId':_0x4da78a}),this['_touched']['set'](_0x1d7c75['getAttribute']('vid_start'),{'userId':_0x4da78a});}else{const _0x2a0a2c=this['_revisionId']++,_0x314796=this['_revisionId']++;_0x4e914b['_setAttribute']('vid_end',_0x2a0a2c),_0x1d7c75['_setAttribute']('vid_start',_0x314796),_0x1d7c75['_setAttribute']('vid_end',_0x1ad428),this['_touched']['set'](_0x2a0a2c,{'userId':_0x4da78a}),this['_touched']['set'](_0x314796,{'userId':_0x4da78a});}}['_handleMarkerOperation'](_0x123109){if(!_0x123109['affectsData'])return;const _0x10305e=(_0x123109=this['_cloneOperation'](_0x123109,this['_diffRoots']))['oldRange']?_0x123109['oldRange']['root']:null,_0x22d4fd=_0x123109['newRange']?_0x123109['newRange']['root']:null;_0x10305e&&this['_markers']['delete'](_0x123109['name']),_0x22d4fd&&this['_markers']['set'](_0x123109['name'],_0x123109['newRange']['clone']());const _0x39518a=null===_0x123109['_authorId']?null:_0x123109['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x197a4e=_0x123109['name'];if(!this['_touchedMarkers']['has'](_0x197a4e))return void this['_touchedMarkers']['set'](_0x197a4e,{'range':_0x123109['oldRange'],'userId':_0x39518a});const _0x4b28d9=this['_touchedMarkers']['get'](_0x197a4e),_0xf5eb25=_0x4b28d9['range'],_0x5efd41=_0x123109['newRange'];null==_0xf5eb25&&null==_0x5efd41||_0xf5eb25&&_0x5efd41&&_0xf5eb25['isEqual'](_0x5efd41)?this['_touchedMarkers']['delete'](_0x123109['name']):_0x4b28d9['userId']=_0x39518a;}['_handleRootOperation'](_0x2a66cd,_0x276cb4){this['_diffRoots']['has'](_0x2a66cd['rootName'])?this['_diffRoots']['get'](_0x2a66cd['rootName'])['_isAttached']=_0x2a66cd['isAdd']:(this['_diffRoots']['set'](_0x2a66cd['rootName'],G(_0x2a66cd['rootName'],!0x0)),this['_diffRootsAttributes']['set'](_0x2a66cd['rootName'],{}),_0x276cb4&&this['_idsRoots']['set'](_0x2a66cd['rootName'],G(_0x2a66cd['rootName'],!0x0)));const _0x3ca4af=null===_0x2a66cd['_authorId']?null:_0x2a66cd['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x3fef10=this['_touchedRoots']['get'](_0x2a66cd['rootName']);_0x3fef10&&_0x3fef10['userId']===_0x3ca4af?this['_touchedRoots']['delete'](_0x2a66cd['rootName']):this['_touchedRoots']['set'](_0x2a66cd['rootName'],{'userId':_0x3ca4af,'isAttached':_0x2a66cd['isAdd']});}['_handleRootAttributeOperation'](_0x5968cd){const _0x317a4e=this['_diffRootsAttributes']['get'](_0x5968cd['root']['rootName']);null===_0x5968cd['newValue']?delete _0x317a4e[_0x5968cd['key']]:_0x317a4e[_0x5968cd['key']]=_0x5968cd['newValue'];}}function q(_0x5664ff){const _0x2a9408=G(_0x5664ff['rootName'],_0x5664ff['isAttached']());for(const _0x2dc34f of _0x5664ff['getChildren']()){const _0x32e247=_0x2dc34f['_clone'](!0x0);_0x2a9408['_appendChild'](_0x32e247);}return _0x2a9408;}function G(_0x3582f6,_0x10089d=!0x0){const _0x11cc22=new wt();return _0x11cc22['rootName']=_0x3582f6,_0x11cc22['_isAttached']=_0x10089d,_0x11cc22['isAttached']=()=>_0x11cc22['_isAttached'],_0x11cc22;}function L(_0x5beb0c,_0x112bef,_0x108a59){const _0x514c87='elementEnd'==_0x5beb0c['type']?_0x108a59['createPositionAt'](_0x5beb0c['item'],'end'):_0x108a59['createPositionBefore'](_0x5beb0c['item']);return _0x108a59['createPositionFromPath'](_0x112bef,_0x514c87['path'],_0x514c87['stickiness']);}function W(_0xc3f633,_0x195075,_0x261f43){const _0x24060b='elementStart'==_0xc3f633['type']?_0x261f43['createPositionAt'](_0xc3f633['item'],0x0):_0x261f43['createPositionAfter'](_0xc3f633['item']);return _0x261f43['createPositionFromPath'](_0x195075,_0x24060b['path'],_0x24060b['stickiness']);}class hs extends ts{['focusTracker'];['keystrokes'];['revisionNameInputView'];constructor(_0x52a6b2,_0x146825){super(_0x52a6b2),this['focusTracker']=new _0x48864f(),this['keystrokes']=new _0x290d5d(),this['set']('revisionNameInputValue',''),this['revisionNameInputView']=this['_createRevisionNameInput'](_0x146825),this['setTemplate']({'tag':'form','attributes':{'class':['ck','ck-revision-history-save-revision-form','ck-responsive-form'],'tabindex':'-1'},'children':[this['revisionNameInputView']]}),_0x2f0aaf(this);}['render'](){super['render'](),_0x25d4e9({'view':this}),this['focusTracker']['add'](this['revisionNameInputView']['element']),this['keystrokes']['listenTo'](this['element']);const _0x4d271b=_0xd5f6bb=>_0xd5f6bb['stopPropagation']();this['keystrokes']['set']('arrowright',_0x4d271b),this['keystrokes']['set']('arrowleft',_0x4d271b),this['keystrokes']['set']('arrowup',_0x4d271b),this['keystrokes']['set']('arrowdown',_0x4d271b);}['focus'](){this['revisionNameInputView']['focus']();}get['revisionName'](){return this['revisionNameInputView']['fieldView']['element']['value']['trim']();}set['revisionName'](_0x5473f3){this['revisionNameInputView']['fieldView']['element']['value']=_0x5473f3['trim']();}['reset'](){this['revisionNameInputView']['fieldView']['element']['value']='',this['revisionNameInputView']['errorText']=null;}['_createRevisionNameInput'](_0x190430){const _0x369c34=new _0x35a0a1(this['locale'],_0x169b0b),_0x5f1704=_0x369c34['fieldView'];_0x5f1704['extendTemplate']({'attributes':{'maxlength':'220'}});let _0x1f1dc7=y(this['locale'],'Name\x20of\x20the\x20revision');return!_0x190430&&(_0x1f1dc7+='\x20('+y(this['locale'],'optional')+')'),(_0x369c34['label']=_0x1f1dc7,_0x5f1704['on']('input',()=>{this['revisionNameInputValue']=_0x5f1704['element']['value']['trim']();}),_0x369c34);}}class u extends _0x5cf14b{static get['pluginName'](){return'RevisionHistoryUI';}static get['requires'](){return[l];}['_saveRevisionFormView'];['init'](){const _0x4c8e8d=this['editor'],_0x5b554a=_0x4c8e8d['plugins']['get']('RevisionTracker');_0x4c8e8d['ui']['componentFactory']['add']('revisionHistory',_0x384a58=>{const _0x23d34e=_0x42fdea(_0x384a58),_0x5ad311=_0x23d34e['panelView']['children'],_0x59bf6e=new _0x42fab7(_0x384a58),_0xecac85=new _0x1ca4b0(_0x384a58),_0x38bbc2=new te(_0x384a58),_0x4892e7=new _0x1ca4b0(_0x384a58),_0x167aea=new te(_0x384a58);return _0x23d34e['bind']('isEnabled')['to'](_0x5b554a,'isReady',_0x5b554a,'isEnabled',_0x4c8e8d,'isReadOnly',(_0x41342c,_0x2bc688,_0x582884)=>_0x41342c&&_0x2bc688&&!_0x582884),_0x23d34e['buttonView']['set']({'icon':_0x5eadf1['history'],'label':y(_0x384a58,'Revision\x20history'),'tooltip':!0x0}),_0x38bbc2['set']({'label':y(_0x384a58,'Save\x20current\x20revision'),'withText':!0x0,'role':'menuitem'}),_0x38bbc2['bind']('isEnabled')['to'](_0x5b554a,'isReady',_0x5b554a,'isEnabled',_0x4c8e8d,'isReadOnly',(_0x118a4b,_0x11090e,_0x198723)=>_0x118a4b&&_0x11090e&&!_0x198723),_0x38bbc2['on']('execute',()=>this['_showDialog']()),_0x167aea['set']({'label':y(_0x384a58,'Open\x20revision\x20history'),'withText':!0x0,'role':'menuitem'}),_0x167aea['bind']('isEnabled')['to'](_0x5b554a,'isReady',_0x4c8e8d,'isReadOnly',(_0x2fca14,_0xf50870)=>_0x2fca14&&!_0xf50870),_0x167aea['on']('execute',()=>{_0x4c8e8d['config']['get']('revisionHistory')['showRevisionViewerCallback'](),_0x23d34e['isOpen']=!0x1,_0x4c8e8d['editing']['view']['focus']();}),_0xecac85['children']['add'](_0x38bbc2),_0x4892e7['children']['add'](_0x167aea),_0x59bf6e['role']='menu',_0x59bf6e['items']['addMany']([_0xecac85,_0x4892e7]),_0x5ad311['add'](_0x59bf6e),_0x23d34e;}),_0x4c8e8d['ui']['componentFactory']['add']('menuBar:revisionHistory',()=>this['_registerMenuComponent']());}['_registerMenuComponent'](){const _0x11d2fd=this['editor'],_0x802d2=_0x11d2fd['locale'],_0x136fb8=new _0x445a03(_0x802d2),_0x26e649=new _0x11d8bf(_0x802d2);_0x136fb8['buttonView']['set']({'icon':_0x5eadf1['history'],'label':y(_0x802d2,'Revision\x20history')});const _0x2b0b68=new _0x35a69f(_0x802d2,_0x136fb8),_0x52bd8c=new _0x44a249(_0x802d2);_0x52bd8c['set']({'label':y(_0x802d2,'Save\x20current\x20revision')}),_0x52bd8c['delegate']('execute')['to'](_0x136fb8),_0x52bd8c['on']('execute',()=>{this['_showDialog']();}),_0x2b0b68['children']['add'](_0x52bd8c),_0x26e649['items']['add'](_0x2b0b68);const _0x4875bb=new _0x35a69f(_0x802d2,_0x136fb8),_0x41eedf=new _0x44a249(_0x802d2);return _0x41eedf['set']({'label':y(_0x802d2,'Open\x20revision\x20history')}),_0x41eedf['delegate']('execute')['to'](_0x136fb8),_0x41eedf['on']('execute',()=>{_0x11d2fd['config']['get']('revisionHistory')['showRevisionViewerCallback']();}),_0x4875bb['children']['add'](_0x41eedf),_0x26e649['items']['add'](_0x4875bb),_0x136fb8['panelView']['children']['add'](_0x26e649),_0x136fb8;}['_showDialog'](){const _0x197a6f=this['editor'],_0x3e680c=_0x197a6f['locale'],_0x5a0d6f=_0x197a6f['plugins']['get']('Dialog'),_0x4a2f8a=_0x197a6f['plugins']['get']('RevisionTracker');function _0x47250f(_0x574253){_0x197a6f['config']['get']('revisionHistory.requireRevisionName')&&''===_0x574253['revisionName']?_0x574253['revisionNameInputView']['errorText']=y(_0x3e680c,'The\x20revision\x20name\x20cannot\x20be\x20empty.'):(_0x197a6f['plugins']['get'](l)['saveRevision']({'name':_0x574253['revisionName']}),_0x5a0d6f['hide']());}this['_saveRevisionFormView']||(this['_createSaveRevisionFormView'](),this['_saveRevisionFormView']['on']('submit',()=>_0x47250f(this['_saveRevisionFormView']))),this['_saveRevisionFormView']['reset'](),_0x5a0d6f['show']({'id':'revisionSave','title':y(_0x3e680c,'Save\x20current\x20revision'),'isModal':!0x0,'content':this['_saveRevisionFormView'],'actionButtons':[{'label':y(_0x197a6f['locale'],'Cancel'),'withText':!0x0,'onExecute':()=>_0x5a0d6f['hide']()},{'label':y(_0x197a6f['locale'],'Accept'),'class':'ck-button-action','withText':!0x0,'onCreate'(_0x5e0761){_0x5e0761['bind']('isEnabled')['to'](_0x4a2f8a,'isReady',_0x4a2f8a,'isEnabled',_0x197a6f,'isReadOnly',(_0x3f811f,_0x99e084,_0x277855)=>_0x3f811f&&_0x99e084&&!_0x277855);},'onExecute':()=>_0x47250f(this['_saveRevisionFormView'])}]});}['_createSaveRevisionFormView'](){const _0x11e0ac=this['editor'],_0x8306a6=_0x11e0ac['locale'];this['_saveRevisionFormView']=new hs(_0x8306a6,_0x11e0ac['config']['get']('revisionHistory.requireRevisionName')),this['_saveRevisionFormView']['render']();}}class Z extends ts{['changeId'];['_model'];constructor(_0x3711c3,_0x382b5c){super(_0x3711c3),this['_model']=_0x382b5c,this['changeId']=_0x382b5c['id'];const _0x3f32b4=this['bindTemplate'],_0x15636b=y(_0x3711c3,_0x382b5c['data']['isSuggestion']?'Suggested\x20by':'add'==_0x382b5c['type']?'Added\x20by':'Removed\x20by');this['set']('type',_0x382b5c['type']),this['setTemplate']({'tag':'div','attributes':{'class':['ck-annotation','ck-revision-change',_0x3f32b4['to']('type',_0x27e711=>'ck-revision-change__'+_0x27e711)],'tabindex':-0x1},'children':[{'tag':'span','children':[{'tag':'span','attributes':{'class':['ck-revision-change__label']},'children':[{'text':_0x15636b}]},{'text':'\x20'+_0x382b5c['author']['name']}]}]});}['focus'](){this['element']['focus']();}}class r extends/* #__PURE__ -- @preserve */
25
- _0x575ae5(){['id'];['author'];['type'];['data'];['rootName'];constructor(_0x48a88d){super(),this['id']=_0x48a88d['id']||_0x497491(),this['author']=_0x48a88d['author'],this['type']=_0x48a88d['type'],this['data']=_0x48a88d['data']||{},this['rootName']=_0x48a88d['rootName'],this['set']('createdAt',_0x48a88d['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(_0x4d1c66,_0x12bb02){this['newRevisionId']=_0x4d1c66,this['oldRevisionId']=_0x12bb02,this['changes']=new _0x2af926();}['_setChanges'](_0x2ab24d){for(const _0x320a1e of _0x2ab24d)this['changes']['add'](_0x320a1e);}}const tt={'c':_0x2138c6,'a':_0x363512,'e':_0x2299d5,'r':_0x22b971,'u':_0x3b2686};class d extends _0x5cf14b{['repository'];['adapter'];['_activeViewTarget'];['_changeView'];['_changeIdToChange'];['_balloon'];static get['pluginName'](){return'RevisionViewer';}static get['requires'](){return[_0xfe3709,_0x2dd35c,A];}constructor(_0x25c6f1){super(_0x25c6f1),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',(_0x6d2324,_0x27baa3,_0x49839a)=>{this['activeChange']=null,this['activeView']=null,this['editor']['editing']['view']['change'](_0x192704=>{for(const _0x4d36c1 of this['editor']['editing']['view']['document']['roots'])_0x49839a?_0x192704['removeClass']('ck-editor__editable__overlay',_0x4d36c1):_0x192704['addClass']('ck-editor__editable__overlay',_0x4d36c1);});}),this['bind']('isNavigationMode')['to'](this,'activeChange',_0x11571b=>null!==_0x11571b),this['bind']('currentChangeNumber')['to'](this,'isReady',this,'diff',this,'activeChange',(_0x185877,_0x13e23b,_0x22e2b0)=>_0x185877&&_0x22e2b0?_0x13e23b['changes']['getIndex'](_0x22e2b0):0x0),this['bind']('numberOfChanges')['to'](this,'isReady',this,'diff',(_0x5543ad,_0x590b1c)=>_0x5543ad?_0x590b1c['changes']['length']:0x0),this['_changeView']=null,this['_changeIdToChange']=new Map(),this['adapter']=null,this['_balloon']=this['editor']['plugins']['get'](_0x2dd35c);}['init'](){const _0x46de5c=this['editor'],_0x3bcaaf=new yt(_0x46de5c,{'direction':'backward'}),_0x785ed=new yt(_0x46de5c,{'direction':'forward'});(_0x46de5c['commands']['add']('showPreviousChange',_0x3bcaaf),_0x46de5c['commands']['add']('showNextChange',_0x785ed),_0x46de5c['commands']['add']('restoreRevision',new bt(_0x46de5c)),this['on']('change:numberOfChanges',()=>{_0x3bcaaf['refresh'](),_0x785ed['refresh']();}),this['_setConversion'](),this['_initInteractions'](),_0x46de5c['enableReadOnlyMode']('revision-viewer'),_0x46de5c['plugins']['has']('WidgetToolbarRepository'))&&_0x46de5c['plugins']['get']('WidgetToolbarRepository')['forceDisabled']('revision-viewer');}async['getRevisionData'](_0x569194){await this['loadRevisionData'](_0x569194);const _0x4cb036={};for(const _0x10f9cb in _0x569194['diffData']){if(_0x569194['diffData'][_0x10f9cb]['attachChange']&&!_0x569194['diffData'][_0x10f9cb]['attachChange']['isAttached'])continue;const _0xc02f7a=this['_removeRevisionMarkers'](JSON['parse'](_0x569194['diffData'][_0x10f9cb]['insertions'])),_0x2d0b4e=this['editor']['editing']['view']['document'],_0x412d3a=new _0x591c68(_0x2d0b4e,_0xc02f7a['map'](_0x521b8e=>this['_getViewObj'](_0x521b8e)));this['editor']['data']['processor']['useFillerType']('marked'),_0x4cb036[_0x10f9cb]=this['editor']['data']['processor']['toData'](_0x412d3a),this['editor']['data']['processor']['useFillerType']('default');}return _0x4cb036;}async['getRevisionRootsAttributes'](_0x2b5aa0){await this['loadRevisionData'](_0x2b5aa0);const _0x180a0a={};for(const _0x16b1e5 in _0x2b5aa0['diffData'])_0x2b5aa0['diffData'][_0x16b1e5]['attachChange']&&!_0x2b5aa0['diffData'][_0x16b1e5]['attachChange']['isAttached']||(_0x180a0a[_0x16b1e5]=_0x2b5aa0['diffData'][_0x16b1e5]['attributesAfter']||{});return _0x180a0a;}['_removeRevisionMarkers'](_0x470334){return(_0x470334=_0x470334['filter'](_0x336162=>!_0x336162['name']||'revision-start'!==_0x336162['name']&&'revision-end'!==_0x336162['name']))['forEach'](_0x51e0f5=>{'string'!=typeof _0x51e0f5&&(_0x51e0f5['children']=this['_removeRevisionMarkers'](_0x51e0f5['children']),_0x51e0f5['attributes']=_0x51e0f5['attributes']['filter'](_0x428350=>!_0x428350[0x0]['startsWith']('data-revision-')));}),_0x470334;}async['compare'](_0x115c35,_0x1c73ab,_0x4216c5=!0x1){if(!this['isEnabled'])return;const _0x359208=this['diff'],_0x211673=this['repository'],_0x8ded0f='string'==typeof _0x115c35?_0x211673['getRevision'](_0x115c35):_0x115c35,_0x113668='string'==typeof _0x1c73ab?_0x211673['getRevision'](_0x1c73ab):_0x1c73ab,_0x1120cf=_0x8ded0f['id'],_0x49f1be=_0x113668?_0x113668['id']:null;if(!_0x4216c5&&this['diff']&&this['diff']['newRevisionId']===_0x1120cf&&this['diff']['oldRevisionId']===_0x49f1be)return Promise['resolve']();this['isReady']=!0x1,this['activeView']=null,this['activeChange']=null,this['diff']=new f(_0x1120cf,_0x49f1be);const _0x10f130=this['_getRevisionsRange'](_0x8ded0f,_0x113668,!0x0)['map'](_0x51285f=>this['loadRevisionData'](_0x51285f));return _0x10f130['push'](new Promise(_0x5b38cf=>{setTimeout(_0x5b38cf,0x14);})),Promise['all'](_0x10f130)['then'](()=>{if(!this['isEnabled'])return;this['_cleanUp']();const _0x25b479=this['_getDiff'](_0x1120cf,_0x49f1be);for(const _0x46c9c2 of _0x25b479['changes'])this['_changeIdToChange']['set'](_0x46c9c2['id'],_0x46c9c2);this['editor']['model']['enqueueChange']({'isUndoable':!0x1},_0x2003cb=>{for(const _0x3ec216 of this['editor']['model']['document']['getRootNames']())_0x2003cb['detachRoot'](_0x3ec216);for(const _0x28d9e3 of Object['keys'](_0x25b479['model'])){const _0x2fa62f=_0x2003cb['addRoot'](_0x28d9e3);for(const _0x415213 of Object['keys'](_0x25b479['attributes'][_0x28d9e3]))_0x2003cb['setAttribute'](_0x415213,_0x25b479['attributes'][_0x28d9e3][_0x415213],_0x2fa62f);_0x2003cb['insert'](_0x25b479['model'][_0x28d9e3],_0x2fa62f,0x0);}}),this['diff']['_setChanges'](this['_sortAndFilterDiffChanges'](_0x25b479['changes'])),this['isReady']=!0x0;})['catch'](_0x524847=>{console['error'](_0x524847),this['_cleanUp'](),_0x359208&&(this['diff']=_0x359208),this['isReady']=!0x0;});}['addRevisionData'](_0x2f5972,_0x29de56){const _0x3e0e59=this['repository']['createRevision'](_0x2f5972);return _0x3e0e59['on']('_update',(_0x894c0e,_0x51fa27,_0x68e719)=>_0x29de56(_0x51fa27,_0x68e719,_0x3e0e59)),this['repository']['addRevision'](_0x3e0e59),_0x3e0e59;}['loadRevisionData'](_0xf7ea76){if(!_0xf7ea76||_0xf7ea76['diffData'])return Promise['resolve']();{const _0x2e28ba=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0x2e28ba,'revisionId':_0xf7ea76['id']})['then'](_0x20db34=>{_0xf7ea76['_update']({'diffData':_0x20db34['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},_0x3e578a=>{for(const _0x615260 of this['editor']['model']['document']['getRootNames']())_0x3e578a['detachRoot'](_0x615260);});}['_sortAndFilterDiffChanges'](_0x38975a){const _0x27d853=[],_0x2db4dd=new Map();for(const _0x31ad95 of this['editor']['model']['document']['getRootNames']()){const _0x5d7ecb=this['editor']['editing']['view']['getDomRoot'](_0x31ad95);if(!_0x5d7ecb)continue;const _0x38a79b=_0x5d7ecb['getClientRects']()['item'](0x0);_0x38a79b&&(_0x27d853['push'](_0x31ad95),_0x2db4dd['set'](_0x31ad95,_0x38a79b));}return _0x27d853['sort']((_0x42a9ab,_0x16f9dd)=>{const _0x1e3206=_0x2db4dd['get'](_0x42a9ab),_0x2c8002=_0x2db4dd['get'](_0x16f9dd);return _0x1e3206['y']-_0x2c8002['y']||_0x1e3206['x']-_0x2c8002['x'];}),(_0x38975a=_0x38975a['filter'](_0xbe0549=>_0x27d853['includes'](_0xbe0549['rootName'])))['sort']((_0x3274e4,_0x256e50)=>_0x27d853['indexOf'](_0x3274e4['rootName'])-_0x27d853['indexOf'](_0x256e50['rootName'])),_0x38975a;}['_makeTape'](_0x347203){const _0x1623a4=Array['from'](_0x347203['markers'])['filter'](([_0x40193f,_0xa3042a])=>_0x40193f['startsWith']('revision:')&&!_0xa3042a['isCollapsed']),_0x5bdb13=Array['from'](this['editor']['model']['createRangeIn'](_0x347203)['getWalker']({'singleCharacters':!0x0}));if(0x0!=_0x1623a4['length'])for(const _0x75521c of _0x5bdb13){const [_0x36801d,_0xc05b48]=_0x1623a4[0x0],[,_0x119f08,_0x57cb59]=_0x36801d['split'](':');if(_0xc05b48['end']['isEqual'](_0x75521c['nextPosition'])&&_0x1623a4['shift'](),(_0x75521c['previousPosition']['isEqual'](_0xc05b48['start'])||_0x75521c['previousPosition']['isAfter'](_0xc05b48['start']))&&('insertion'==_0x119f08?_0x75521c['isAdded']={'userId':_0x57cb59}:'deletion'==_0x119f08&&(_0x75521c['isRemoved']={'userId':_0x57cb59})),0x0==_0x1623a4['length'])break;}return _0x5bdb13;}['_refreshStartEndIndex'](_0x48abb6){const _0x3b0e1f=new Map();for(let _0x127dea=0x0;_0x127dea<_0x48abb6['length'];_0x127dea++)'text'===_0x48abb6[_0x127dea]['type']?(_0x48abb6[_0x127dea]['item']['startIndex']=_0x127dea,_0x48abb6[_0x127dea]['item']['endIndex']=_0x127dea):('elementStart'===_0x48abb6[_0x127dea]['type']?_0x48abb6[_0x127dea]['item']['startIndex']=_0x127dea:'elementEnd'===_0x48abb6[_0x127dea]['type']&&(_0x48abb6[_0x127dea]['item']['endIndex']=_0x127dea),_0x3b0e1f['set'](_0x48abb6[_0x127dea]['id'],_0x127dea));for(const _0x712fcf of _0x3b0e1f['values']())'elementStart'===_0x48abb6[_0x712fcf]['type']?_0x48abb6[_0x712fcf]['item']['endIndex']=_0x3b0e1f['get'](_0x48abb6[_0x712fcf]['pairId']):'elementEnd'===_0x48abb6[_0x712fcf]['type']&&(_0x48abb6[_0x712fcf]['item']['startIndex']=_0x3b0e1f['get'](_0x48abb6[_0x712fcf]['pairId']));}['_processTape'](_0x97a383){for(let _0x5b60ed=0x0;_0x5b60ed<_0x97a383['length'];_0x5b60ed++){if('elementStart'===_0x97a383[_0x5b60ed]['type'])_0x97a383[_0x5b60ed]['item']['startIndex']=_0x5b60ed;else{if('elementEnd'===_0x97a383[_0x5b60ed]['type']){_0x97a383[_0x5b60ed]['item']['endIndex']=_0x5b60ed;const _0x2f85b8=_0x97a383[_0x5b60ed]['item']['startIndex'];_0x97a383[_0x2f85b8]['pairId']=_0x97a383[_0x5b60ed]['id'],_0x97a383[_0x5b60ed]['pairId']=_0x97a383[_0x2f85b8]['id'];}else _0x97a383[_0x5b60ed]['item']['startIndex']=_0x5b60ed,_0x97a383[_0x5b60ed]['item']['endIndex']=_0x5b60ed,_0x97a383[_0x5b60ed]['pairId']=null;}_0x97a383[_0x5b60ed]['markersStart']||(_0x97a383[_0x5b60ed]['markersStart']=[],_0x97a383[_0x5b60ed]['markersEnd']=[]);}}['_markInsertions'](_0x2117c1,_0x518b1f){const _0x5e06cd=_0x2117c1['filter'](_0x1d1185=>!_0x1d1185['isAdded']);for(let _0x146eef=0x0;_0x146eef<_0x518b1f['length'];_0x146eef++)_0x518b1f[_0x146eef]['isAdded']&&(_0x5e06cd[_0x146eef]['isAdded']=_0x518b1f[_0x146eef]['isAdded']);}['_makeModelFromViewString'](_0x2ba333){const _0x21d407=JSON['parse'](_0x2ba333),_0x30c2d5=this['editor']['editing']['view']['document'],_0x592e95=new _0x591c68(_0x30c2d5,_0x21d407['map'](_0x34a150=>this['_getViewObj'](_0x34a150)));return this['editor']['data']['toModel'](_0x592e95);}['_getViewObj'](_0x54a290){const _0x58641b=this['editor']['editing']['view']['document'];if('string'==typeof _0x54a290)return new _0x2bf891(_0x58641b,_0x54a290);{const _0x5db9f4=_0x54a290['children']['map'](_0x1d52a6=>this['_getViewObj'](_0x1d52a6));return new(tt[_0x54a290['type']]||_0x30ac93)(_0x58641b,_0x54a290['name'],_0x54a290['attributes'],_0x5db9f4);}}['_getDiff'](_0x14e8b5,_0x35a695=null){const _0x146116=this['repository']['getRevision'](_0x14e8b5),_0x195e3c=_0x35a695?this['repository']['getRevision'](_0x35a695):null,_0x4321ef=this['_getRevisionsRange'](_0x146116,_0x195e3c),_0x232157=_0x4321ef[_0x4321ef['length']-0x1],_0x1162d8=new Map(),_0x1884fb={'model':{},'attributes':{},'changes':[]},_0x4e64c4=new Set(),_0x2a9dbe=new Map();for(let _0x3795e9=_0x4321ef['length']-0x1;_0x3795e9>=0x0;_0x3795e9--){const _0x4d4268=_0x4321ef[_0x3795e9];for(const _0x128f57 of Object['keys'](_0x4d4268['diffData']))if(_0x4d4268['diffData'][_0x128f57]['attachChange']){const _0x38d34b=_0x4d4268['diffData'][_0x128f57]['attachChange'];_0x38d34b['isAttached']?(_0x4e64c4['add'](_0x128f57),_0x2a9dbe['has'](_0x128f57)&&_0x2a9dbe['get'](_0x128f57)['userId']==_0x38d34b['userId']?_0x2a9dbe['delete'](_0x128f57):_0x2a9dbe['set'](_0x128f57,_0x38d34b)):_0x2a9dbe['has'](_0x128f57)?(_0x4e64c4['delete'](_0x128f57),_0x2a9dbe['delete'](_0x128f57)):(_0x4e64c4['add'](_0x128f57),_0x2a9dbe['set'](_0x128f57,_0x38d34b));}else _0x4e64c4['add'](_0x128f57);}for(const _0x212989 of _0x4e64c4){const _0x204ba4=_0x2a9dbe['has'](_0x212989)&&!_0x2a9dbe['get'](_0x212989)['isAttached'];let _0x2ba658=_0x204ba4?_0x4321ef['length']-0x1:0x0;const _0x179c66=_0x204ba4?-0x1:0x1;for(;_0x4321ef[_0x2ba658];){const _0x2fc4aa=_0x4321ef[_0x2ba658];if(_0x2fc4aa['diffData'][_0x212989]){const _0x3349d4=_0x204ba4?_0x2fc4aa['diffData'][_0x212989]['attributesBefore']:_0x2fc4aa['diffData'][_0x212989]['attributesAfter'];_0x1884fb['attributes'][_0x212989]=_0x3349d4?_0x205b47(_0x3349d4):{};break;}_0x2ba658+=_0x179c66;}}for(const _0x3d196c of _0x4321ef){_0x3d196c['model']={};for(const _0x536c7b of _0x3d196c['authors'])_0x1162d8['set'](_0x536c7b['id'],_0x536c7b);for(const _0x2843f9 of _0x4e64c4){const _0x5617d9=_0x3d196c['diffData'][_0x2843f9]?_0x3d196c['diffData'][_0x2843f9]['insertions']:'[]',_0xda24a6=_0x3d196c['diffData'][_0x2843f9]?_0x3d196c['diffData'][_0x2843f9]['deletions']:'[]';_0x3d196c['model'][_0x2843f9]={'insertions':this['_makeModelFromViewString'](_0x5617d9),'deletions':this['_makeModelFromViewString'](_0xda24a6)};}}for(const _0x45343f of _0x4e64c4){let _0x5adda3=null,_0xfc856f=0x0;const _0x2a7358=new Map(Array['from'](_0x146116['model'][_0x45343f]['insertions']['markers'])['filter'](([_0x2e9010])=>!_0x2e9010['startsWith']('revision:')));let _0x584270=0x0;for(const _0x1c0b8e of _0x4321ef){const _0x3e0d1e=this['_makeTape'](_0x1c0b8e['model'][_0x45343f]['insertions']);_0x1c0b8e==_0x146116?(_0x5adda3=_0x3e0d1e,_0xfc856f=_0x5adda3['length'],_0x5adda3['forEach'](_0xe7242c=>{_0xe7242c['id']=_0x584270++;}),this['_processTape'](_0x5adda3)):this['_markInsertions'](_0x5adda3,_0x3e0d1e);const _0x14f76b=_0x5adda3['filter'](_0x15059c=>!_0x15059c['isAdded'])['map'](_0x20fb56=>_0x20fb56['id']);let _0xfb797a=0x0;const _0x229565=this['_makeTape'](_0x1c0b8e['model'][_0x45343f]['deletions']);_0x229565['forEach'](_0x1c77d7=>{_0x1c77d7['isRemoved']?_0x1c77d7['id']=_0xfc856f++:_0x1c77d7['id']=_0x14f76b[_0xfb797a++];}),this['_processTape'](_0x229565),this['_setDistance'](_0x5adda3,'isAdded'),this['_setDistance'](_0x229565,'isRemoved'),_0x1c0b8e==_0x146116&&this['_markMarkers'](_0x5adda3,_0x2a7358),_0x5adda3=this['_joinTapes'](_0x5adda3,_0x229565),this['_refreshStartEndIndex'](_0x5adda3),this['_setDistance'](_0x5adda3,'isRemoved');}_0x5adda3=_0x5adda3['filter'](_0x542965=>!(_0x542965['isAdded']&&_0x542965['isRemoved']));const _0x2c91fe=new Map(_0x232157['model'][_0x45343f]['deletions']['markers']),_0x6f07b6=new Set(_0x2a7358['keys']());for(const _0x40acd5 of _0x2c91fe['keys']())_0x6f07b6['delete'](_0x40acd5);this['_markSuggestions'](_0x5adda3,_0x6f07b6),this['_fixObsoleteTags'](_0x5adda3),_0x5adda3=this['_removeMissingPairs'](_0x5adda3),_0x5adda3=this['_markMismatchedRemovedTags'](_0x5adda3),_0x5adda3=this['_removeUnsupportedChanges'](_0x5adda3);const {root:_0x1db3f3,changes:_0x29c4ae}=this['_makeModelFromTape'](_0x5adda3,_0x1162d8,_0x45343f);_0x1884fb['model'][_0x45343f]=_0x1db3f3;const _0x572a9c=_0x2a9dbe['get'](_0x45343f);if(_0x572a9c){const _0x5214fa=_0x1162d8['get'](_0x572a9c['userId']),_0x203616=new r({'author':_0x5214fa,'type':_0x572a9c['isAttached']?'add':'remove','data':{'isOnRoot':!0x0},'createdAt':new Date(),'rootName':_0x45343f});_0x29c4ae['unshift'](_0x203616),_0x1884fb['attributes'][_0x45343f]['revisionHistoryAttachChange']=_0x203616['id'];}_0x1884fb['changes']=_0x1884fb['changes']['concat'](_0x29c4ae);}return _0x1884fb;}['_markMarkers'](_0x5b06dc,_0x58f1df){for(let _0x32ae96=0x0;_0x32ae96<_0x5b06dc['length'];_0x32ae96++)for(const [_0x518673,_0x6035f1]of _0x58f1df)_0x6035f1['start']['isEqual'](_0x5b06dc[_0x32ae96]['previousPosition'])&&_0x5b06dc[_0x32ae96]['markersStart']['push'](_0x518673),_0x6035f1['end']['isEqual'](_0x5b06dc[_0x32ae96]['nextPosition'])&&_0x5b06dc[_0x32ae96]['markersEnd']['push'](_0x518673);}['_joinTapes'](_0x121ddc,_0x31ccf1){let _0x3f30cf=[],_0x453a91=0x0,_0xac89bc=0x0;for(;_0x453a91<_0x121ddc['length']||_0xac89bc<_0x31ccf1['length'];){const _0x3e43bc=_0x121ddc[_0x453a91]||{},_0x192128=_0x31ccf1[_0xac89bc]||{};if(_0x3e43bc['id']==_0x192128['id'])_0x453a91++,_0xac89bc++,_0x3f30cf['push'](_0x3e43bc);else{if(_0x192128['isRemoved']&&_0x3e43bc['isAdded']){const {commonTape:_0x528ff9,iEnd:_0x2fac37,jEnd:_0x510dec}=this['_threeWayMerge'](_0x121ddc,_0x453a91,_0x31ccf1,_0xac89bc);_0x3f30cf=_0x3f30cf['concat'](_0x528ff9),_0x453a91=_0x2fac37,_0xac89bc=_0x510dec;}else _0x192128['isRemoved']?(_0xac89bc++,_0x3f30cf['push'](_0x192128)):(_0x453a91++,_0x3f30cf['push'](_0x3e43bc));}}return _0x3f30cf;}['_markSuggestions'](_0x3624ad,_0x3036fb){const _0x50906c=[];for(let _0x17d0a8=0x0;_0x17d0a8<_0x3624ad['length'];_0x17d0a8++){for(let _0x331368=0x0;_0x331368<_0x3624ad[_0x17d0a8]['markersStart']['length'];_0x331368++){const _0x4c2a15=_0x3624ad[_0x17d0a8]['markersStart'][_0x331368];if(!_0x3036fb['has'](_0x4c2a15))continue;const {group:_0xf77e42,type:_0x264d0a,authorId:_0xc9e45c}=_0x3a091d(_0x4c2a15);'revision-suggestion'!=_0xf77e42||'insertion'!=_0x264d0a&&'deletion'!=_0x264d0a||(_0x50906c['unshift']({'type':_0x264d0a,'name':_0x4c2a15,'userId':_0xc9e45c}),_0x3624ad[_0x17d0a8]['markersStart']['splice'](_0x331368,0x1),_0x331368--);}_0x431154(_0x3624ad[_0x17d0a8]);for(let _0x2aaee7=0x0;_0x2aaee7<_0x3624ad[_0x17d0a8]['markersEnd']['length'];_0x2aaee7++){const _0x31a69b=_0x3624ad[_0x17d0a8]['markersEnd'][_0x2aaee7];if(!_0x3036fb['has'](_0x31a69b))continue;const {group:_0x4d9a04,type:_0x84b79e}=_0x3a091d(_0x31a69b);if('revision-suggestion'!=_0x4d9a04||'insertion'!=_0x84b79e&&'deletion'!=_0x84b79e)continue;_0x3624ad[_0x17d0a8]['markersEnd']['splice'](_0x2aaee7,0x1),_0x2aaee7--;const _0x1119da=_0x50906c['findIndex'](_0x5f2df5=>_0x5f2df5['name']==_0x31a69b);_0x1119da>-0x1&&_0x50906c['splice'](_0x1119da,0x1);}}function _0x3a091d(_0x312e08){const _0xd42e2f=_0x312e08['split'](':');return{'group':_0xd42e2f[0x0],'type':_0xd42e2f[0x1],'subType':_0xd42e2f['length']>=0x5?_0xd42e2f[0x2]:null,'id':_0xd42e2f['length']<0x5?_0xd42e2f[0x2]:_0xd42e2f[0x3],'authorId':_0xd42e2f['length']<0x5?_0xd42e2f[0x3]:_0xd42e2f[0x4],'markerCount':0x6==_0xd42e2f['length']?_0xd42e2f[0x5]:null};}function _0x431154(_0x51f5ec){for(let _0x1cf79=0x0;_0x1cf79<_0x50906c['length'];_0x1cf79++){if(_0x51f5ec['isAdded']&&'insertion'==_0x50906c[_0x1cf79]['type'])return _0x51f5ec['isAddSuggestion']=_0x50906c[_0x1cf79],void delete _0x51f5ec['isAdded'];if(!_0x51f5ec['isAdded']&&!_0x51f5ec['isRemoved']&&'deletion'==_0x50906c[_0x1cf79]['type'])return void(_0x51f5ec['isRemoveSuggestion']=_0x50906c[_0x1cf79]);}}}['_setDistance'](_0x4c0854,_0x3396fc){let _0x1b8757=0x0,_0x119de7=!0x1;const _0x3d0457=new Map();for(const _0x45d94c of _0x4c0854)_0x45d94c[_0x3396fc]?_0x119de7&&(_0x1b8757++,_0x119de7=!0x1):(_0x1b8757++,_0x119de7=!0x0),_0x3d0457['set'](_0x45d94c['id'],_0x1b8757);for(let _0x1fbd66=0x0;_0x1fbd66<_0x4c0854['length'];_0x1fbd66++){if('isRemoved'==_0x3396fc&&_0x4c0854[_0x1fbd66]['isAdded']||'isAdded'==_0x3396fc&&_0x4c0854[_0x1fbd66]['isRemoved'])continue;if('text'==_0x4c0854[_0x1fbd66]['type']){_0x4c0854[_0x1fbd66]['distance']=0x0;continue;}const _0x237354=_0x3d0457['get'](_0x4c0854[_0x1fbd66]['pairId']),_0x509b1c=_0x3d0457['get'](_0x4c0854[_0x1fbd66]['id']);_0x4c0854[_0x1fbd66]['distance']=_0x237354-_0x509b1c;}}['_getRevisionsRange'](_0x8935,_0x50f9f1,_0x119877=!0x1){const _0x4f3835=[];let _0x67aa2d=this['repository']['getIndex'](_0x8935),_0x88f8ef=this['repository']['getIndex'](_0x50f9f1);for(-0x1==_0x88f8ef&&(_0x88f8ef=this['repository']['_revisions']['length'],_0x119877=!0x1);_0x67aa2d<_0x88f8ef;)_0x4f3835['push'](this['repository']['getRevision'](_0x67aa2d)),_0x67aa2d++;return _0x119877&&_0x4f3835['push'](this['repository']['getRevision'](_0x67aa2d)),_0x4f3835;}['_threeWayMerge'](_0x55151c,_0x48a880,_0x4a642f,_0x1c9c87){const _0x47a07d=this['editor']['model']['schema'];let _0x3f6a4b=_0x48a880;for(;_0x55151c[_0x3f6a4b]&&_0x55151c[_0x3f6a4b]['isAdded'];)_0x3f6a4b++;let _0x463b00=_0x1c9c87;for(;_0x4a642f[_0x463b00]&&_0x4a642f[_0x463b00]['isRemoved'];)_0x463b00++;_0x28cbe0(_0x55151c,_0x48a880,_0x3f6a4b),_0x28cbe0(_0x4a642f,_0x1c9c87,_0x463b00);const _0x25f153=_0x4a642f['slice'](_0x1c9c87,_0x463b00)['concat'](_0x55151c['slice'](_0x48a880,_0x3f6a4b));return _0x25f153['sort']((_0x12f406,_0x2b4376)=>_0x12f406['side']!=_0x2b4376['side']?_0x12f406['side']-_0x2b4376['side']:_0x12f406['level']!=_0x2b4376['level']?_0x12f406['level']-_0x2b4376['level']:_0x12f406['distance']!=_0x2b4376['distance']?_0x2b4376['distance']-_0x12f406['distance']:!!_0x12f406['isAdded']!=!!_0x2b4376['isAdded']?-0x1==_0x12f406['side']||0x0==_0x12f406['side']?_0x12f406['isAdded']?-0x1:0x1:_0x12f406['isAdded']?0x1:-0x1:_0x12f406['index']-_0x2b4376['index']),{'commonTape':_0x25f153,'iEnd':_0x3f6a4b,'jEnd':_0x463b00};function _0x28cbe0(_0x113530,_0x5db2d2,_0x5f33d4){let _0x42942a=-0x1,_0x3bfa00=Number['POSITIVE_INFINITY'],_0xf84312=!0x0;for(let _0x68a004=_0x5db2d2;_0x68a004<_0x5f33d4;_0x68a004++)if(_0x47a07d['isInline'](_0x113530[_0x68a004]['item'])||(_0xf84312=!0x1),_0x113530[_0x68a004]['item']['startIndex']<_0x5db2d2&&(_0x42942a=_0x68a004),_0x113530[_0x68a004]['item']['endIndex']>=_0x5f33d4){_0x3bfa00=_0x68a004;break;}_0xf84312&&(_0x42942a=_0x5f33d4-0x1);for(let _0x1c4290=_0x5db2d2;_0x1c4290<_0x5f33d4;_0x1c4290++)_0x113530[_0x1c4290]['side']=_0x1c4290<=_0x42942a?-0x1:_0x1c4290<_0x3bfa00?0x0:0x1,_0x113530[_0x1c4290]['index']=_0x1c4290;let _0x4dda58=0x0;for(let _0x4fec3a=_0x5db2d2;_0x4fec3a<=_0x42942a;_0x4fec3a++)0x0==_0x113530[_0x4fec3a]['distance']?_0x113530[_0x4fec3a]['level']=_0x4dda58:(_0x4dda58++,_0x113530[_0x4fec3a]['level']=_0x4dda58,_0x4dda58++);for(let _0x3df346=_0x5db2d2;_0x3df346<_0x5f33d4;_0x3df346++)0x0==_0x113530[_0x3df346]['side']&&(_0x113530[_0x3df346]['level']=_0x4dda58);_0x4dda58=0x0;for(let _0x3d625f=_0x5f33d4-0x1;_0x3d625f>=_0x3bfa00;_0x3d625f--)0x0==_0x113530[_0x3d625f]['distance']?_0x113530[_0x3d625f]['level']=_0x4dda58:(_0x4dda58--,_0x113530[_0x3d625f]['level']=_0x4dda58,_0x4dda58--);}}['_fixObsoleteTags'](_0x4550a2){const _0x1dee63=new Map(),_0x2e28a0=this['editor']['model']['schema'];for(let _0x58c62e=0x1;_0x58c62e<_0x4550a2['length'];_0x58c62e++){let _0x36b473,_0x5ae892,_0xe49dbf;const _0x3a83b0=_0x4550a2[_0x58c62e],_0x57c434=_0x4550a2[_0x58c62e-0x1];if('text'==_0x3a83b0['type'])continue;if(_0x3a83b0['type']!=_0x57c434['type'])continue;if(!_0x2e28a0['isBlock'](_0x57c434['item'])||_0x2e28a0['isLimit'](_0x57c434['item']))continue;if(!_0x2e28a0['isBlock'](_0x3a83b0['item'])||_0x2e28a0['isLimit'](_0x3a83b0['item']))continue;if((_0x4550a2[_0x58c62e]['isAdded']||_0x4550a2[_0x58c62e]['isAddSuggestion'])&&_0x4550a2[_0x58c62e-0x1]['isRemoved'])_0x36b473=_0x4550a2[_0x58c62e],_0x5ae892=_0x4550a2[_0x58c62e-0x1],_0xe49dbf=_0x58c62e-0x1;else{if(!_0x4550a2[_0x58c62e]['isRemoved']||!_0x4550a2[_0x58c62e-0x1]['isAdded']&&!_0x4550a2[_0x58c62e-0x1]['isAddSuggestion'])continue;_0x36b473=_0x4550a2[_0x58c62e-0x1],_0x5ae892=_0x4550a2[_0x58c62e],_0xe49dbf=_0x58c62e;}const _0x15411d=_0x36b473['level']==_0x5ae892['level'],_0x4de00e=Math['abs'](_0x36b473['level'])<Math['abs'](_0x5ae892['level'])&&0x0==_0x5ae892['distance'];(_0x15411d||_0x4de00e)&&(_0x1dee63['set'](_0x5ae892['id'],_0x36b473['id']),_0x4550a2['splice'](_0xe49dbf,0x1),_0x58c62e--,_0x36b473['isAdded']=!0x1);}for(let _0x2a9a64=0x0;_0x2a9a64<_0x4550a2['length'];_0x2a9a64++)_0x1dee63['has'](_0x4550a2[_0x2a9a64]['pairId'])&&(_0x4550a2[_0x2a9a64]['pairId']=_0x1dee63['get'](_0x4550a2[_0x2a9a64]['pairId']));}['_removeMissingPairs'](_0x258f9b){const _0x563f36=new Set(_0x258f9b['map'](_0x24f62b=>_0x24f62b['id']));for(let _0x5cad1c=0x0;_0x5cad1c<_0x258f9b['length'];_0x5cad1c++)_0x563f36['has'](_0x258f9b[_0x5cad1c]['pairId'])||0x0==_0x258f9b[_0x5cad1c]['distance']||(_0x258f9b[_0x5cad1c]['isIncorrect']=!0x0);return _0x258f9b['filter'](_0xcc64aa=>!_0xcc64aa['isIncorrect']);}['_markMismatchedRemovedTags'](_0x37c093){const _0x23250e=new Set();for(let _0x57b0cc=0x0;_0x57b0cc<_0x37c093['length'];_0x57b0cc++){if(_0x23250e['has'](_0x37c093[_0x57b0cc]['id'])&&_0x37c093[_0x57b0cc]['isRemoved']&&(_0x37c093[_0x57b0cc]['isIncorrect']=!0x0),_0x37c093[_0x57b0cc]['isIncorrect'])continue;if(0x0==_0x37c093[_0x57b0cc]['distance'])continue;if('elementStart'!=_0x37c093[_0x57b0cc]['type'])continue;if(null==_0x37c093[_0x57b0cc]['pairId'])continue;let _0x3762e1=_0x57b0cc+0x1,_0x2af1cc=0x0;for(;_0x37c093[_0x3762e1]['id']!=_0x37c093[_0x57b0cc]['pairId'];)'elementStart'==_0x37c093[_0x3762e1]['type']?_0x2af1cc++:'elementEnd'==_0x37c093[_0x3762e1]['type']&&_0x2af1cc--,_0x3762e1++;if(0x0!=_0x2af1cc){if(_0x37c093[_0x57b0cc]['isRemoved'])_0x37c093[_0x57b0cc]['isIncorrect']=!0x0;else{for(;_0x3762e1!=_0x57b0cc;)_0x37c093[_0x3762e1]['isRemoved']&&0x0!=_0x37c093[_0x3762e1]['distance']&&(_0x37c093[_0x3762e1]['isIncorrect']=!0x0,_0x23250e['add'](_0x37c093[_0x3762e1]['pairId'])),_0x3762e1--;}}}return _0x37c093['filter'](_0x2330a6=>!_0x2330a6['isIncorrect']);}['_removeUnsupportedChanges'](_0x5de239){const _0x5c1a89=this['editor']['model']['schema'];for(let _0xa883f6=0x0;_0xa883f6<_0x5de239['length'];_0xa883f6++){if(!(_0x5de239[_0xa883f6]['isAdded']||_0x5de239[_0xa883f6]['isAddSuggestion']||_0x5de239[_0xa883f6]['isRemoved']||_0x5de239[_0xa883f6]['isRemoveSuggestion']))continue;if(0x0==_0x5de239[_0xa883f6]['distance'])continue;const _0x41c600=_0x5de239[_0xa883f6]['item'];_0x5c1a89['isBlock'](_0x41c600)||_0x5c1a89['isLimit'](_0x41c600)||(_0x5de239[_0xa883f6]['isAdded']&&delete _0x5de239[_0xa883f6]['isAdded'],_0x5de239[_0xa883f6]['isAddSuggestion']&&delete _0x5de239[_0xa883f6]['isAddSuggestion'],_0x5de239[_0xa883f6]['isRemoveSuggestion']&&delete _0x5de239[_0xa883f6]['isRemoveSuggestion'],_0x5de239[_0xa883f6]['isRemoved']&&(_0x5de239[_0xa883f6]['isIncorrect']=!0x0));}return _0x5de239['filter'](_0x3bcfe3=>!_0x3bcfe3['isIncorrect']);}['_makeModelFromTape'](_0x1c9cec,_0x181e53,_0x3f4fed){const _0x49612a=new wt(),_0x556d66=[],_0xa47b62=new Map(),_0x4b2c7a=this['editor']['model'],_0x4d0624=_0x4b2c7a['schema'],_0x527a00=[_0x49612a],_0x4477bb={},_0x5db35f={'isAdded':[],'isRemoved':[],'isAddSuggestion':[],'isRemoveSuggestion':[]};let _0x1121eb=null;const _0x3c4385=[0x0];for(let _0x5d4299=0x0;_0x5d4299<_0x1c9cec['length'];_0x5d4299++){let _0x402bb0,_0x1c793f;if('elementStart'===_0x1c9cec[_0x5d4299]['type']){_0x402bb0=_0x4b2c7a['createPositionFromPath'](_0x49612a,_0x3c4385);const _0x3dac51=new ft(_0x1c9cec[_0x5d4299]['item']['name'],_0x1c9cec[_0x5d4299]['item']['getAttributes']());_0x527a00[0x0]['_appendChild'](_0x3dac51),_0x3c4385['push'](0x0),_0x527a00['unshift'](_0x3dac51),_0x1c793f=_0x4b2c7a['createPositionFromPath'](_0x49612a,_0x3c4385),_0x1121eb=null;}else{if('elementEnd'===_0x1c9cec[_0x5d4299]['type'])_0x527a00['shift'](),_0x402bb0=_0x4b2c7a['createPositionFromPath'](_0x49612a,_0x3c4385),_0x3c4385['pop'](),_0x3c4385[_0x3c4385['length']-0x1]++,_0x1c793f=_0x4b2c7a['createPositionFromPath'](_0x49612a,_0x3c4385),_0x1121eb=null;else{if(_0x402bb0=_0x4b2c7a['createPositionFromPath'](_0x49612a,_0x3c4385),_0x1121eb&&_0x1b4f35(_0x1121eb,_0x1c9cec[_0x5d4299]['item']))_0x1121eb['_data']+=_0x1c9cec[_0x5d4299]['item']['data'];else{const _0x44bddd=new _t(_0x1c9cec[_0x5d4299]['item']['data'],_0x1c9cec[_0x5d4299]['item']['getAttributes']());_0x527a00[0x0]['_appendChild'](_0x44bddd),_0x1121eb=_0x44bddd;}_0x3c4385[_0x3c4385['length']-0x1]+=_0x1c9cec[_0x5d4299]['item']['offsetSize'],_0x1c793f=_0x4b2c7a['createPositionFromPath'](_0x49612a,_0x3c4385);}}for(const _0xb5e865 of _0x1c9cec[_0x5d4299]['markersStart'])_0xa47b62['set'](_0xb5e865,{'start':_0x402bb0,'end':null});_0x1a1a84('isRemoveSuggestion',_0x5d4299,_0x402bb0,_0x1c793f),_0x1a1a84('isAddSuggestion',_0x5d4299,_0x402bb0,_0x1c793f),_0x1a1a84('isRemoved',_0x5d4299,_0x402bb0,_0x1c793f),_0x1a1a84('isAdded',_0x5d4299,_0x402bb0,_0x1c793f);for(const _0x5875da of _0x1c9cec[_0x5d4299]['markersEnd']){_0xa47b62['get'](_0x5875da)['end']=_0x1c793f;}}for(const [_0x24b1e7,_0x38ccd3]of _0xa47b62){const _0x2fdc46=this['editor']['model']['createRange'](_0x38ccd3['start'],_0x38ccd3['end']);_0x49612a['markers']['set'](_0x24b1e7,_0x2fdc46);}return _0x556d66['sort']((_0x489f6b,_0x159e72)=>{const _0x144095=_0x49612a['markers']['get']('revision:'+_0x489f6b['id']),_0xc642c7=_0x49612a['markers']['get']('revision:'+_0x159e72['id']);return _0x144095['start']['isBefore'](_0xc642c7['start'])?-0x1:_0x144095['start']['isAfter'](_0xc642c7['start'])?0x1:_0x144095['end']['isBefore'](_0xc642c7['end'])?-0x1:_0x144095['end']['isAfter'](_0xc642c7['end'])?0x1:'add'===_0x489f6b['type']?-0x1:0x1;}),{'root':_0x49612a,'changes':_0x556d66};function _0x1a1a84(_0x2ff2ef,_0x6030cc,_0x196524,_0x2fc43b){const _0xf497d5=!!_0x1c9cec[_0x6030cc][_0x2ff2ef],_0x1c4943=_0xf497d5?_0x1c9cec[_0x6030cc][_0x2ff2ef]['userId']:null,_0x542969=_0x6030cc===_0x1c9cec['length']-0x1,_0x3ab76e=_0x5db35f[_0x2ff2ef][0x0],_0x39b81a=_0x4d0624['isObject'](_0x1c9cec[_0x6030cc]['item']);!_0x4477bb[_0x2ff2ef]&&_0xf497d5?_0x4477bb[_0x2ff2ef]={'start':_0x196524,'tapeItem':_0x1c9cec[_0x6030cc],'userId':_0x1c4943,'type':_0x2ff2ef}:_0x4477bb[_0x2ff2ef]&&!_0xf497d5?(_0x4477bb[_0x2ff2ef]['end']=_0x196524,_0x5add21(_0x4477bb[_0x2ff2ef]),_0x4477bb[_0x2ff2ef]=null):_0x4477bb[_0x2ff2ef]&&_0xf497d5&&_0x4477bb[_0x2ff2ef]['userId']!==_0x1c4943&&(_0x4477bb[_0x2ff2ef]['end']=_0x196524,_0x3ab76e&&_0x3ab76e['userId']===_0x4477bb[_0x2ff2ef]['userId']||_0x5add21(_0x4477bb[_0x2ff2ef]),_0x4477bb[_0x2ff2ef]={'start':_0x196524,'tapeItem':_0x1c9cec[_0x6030cc],'userId':_0x1c4943,'type':_0x2ff2ef}),_0x4477bb[_0x2ff2ef]&&_0x39b81a&&('elementStart'!==_0x1c9cec[_0x6030cc]['type']||_0x3ab76e&&_0x3ab76e['userId']===_0x1c4943||_0x5db35f[_0x2ff2ef]['unshift']({'userId':_0x1c4943,'object':_0x1c9cec[_0x6030cc]['item'],'change':_0x4477bb[_0x2ff2ef]}),'elementEnd'===_0x1c9cec[_0x6030cc]['type']&&_0x3ab76e&&_0x3ab76e['object']===_0x1c9cec[_0x6030cc]['item']&&(_0x5db35f[_0x2ff2ef]['shift'](),_0x4477bb[_0x2ff2ef]=_0x3ab76e['change'])),_0x4477bb[_0x2ff2ef]&&_0x542969&&(_0x4477bb[_0x2ff2ef]['end']=_0x2fc43b,_0x5add21(_0x4477bb[_0x2ff2ef]),_0x4477bb[_0x2ff2ef]=null);}function _0x5add21({start:_0x1afae0,end:_0x3b4690,tapeItem:_0x58d431,userId:_0x1b325b,type:_0x52aed7}){const _0x3cd808=_0x58d431['item'],_0x1ff0e2=_0x4b2c7a['schema']['isBlock'](_0x3cd808)&&!_0x4b2c7a['schema']['isLimit'](_0x3cd808),_0x1a1367=_0x1afae0['nodeAfter']==_0x3b4690['parent']&&_0x3b4690['isAtStart'];if(_0x1ff0e2&&_0x1a1367)return;const _0x40cf9c=_0x4b2c7a['createRange'](_0x1afae0,_0x3b4690),_0x32172b=_0x181e53['get'](_0x1b325b),_0x480f40=new r({'author':_0x32172b,'type':'isAdded'==_0x52aed7||'isAddSuggestion'==_0x52aed7?'add':'remove','data':{'isSuggestion':'isAddSuggestion'==_0x52aed7||'isRemoveSuggestion'==_0x52aed7},'createdAt':new Date(),'rootName':_0x3f4fed});_0x556d66['push'](_0x480f40),_0x49612a['markers']['set']('revision:'+_0x480f40['id'],_0x40cf9c);}function _0x1b4f35(_0x271798,_0x316153){const _0x404afe=_0x271798['getAttributes'](),_0x19f65a=_0x316153['getAttributes']();for(const _0x274699 of _0x404afe){if(_0x274699[0x1]!==_0x316153['getAttribute'](_0x274699[0x0]))return!0x1;_0x19f65a['next']();}return _0x19f65a['next']()['done'];}}['_setConversion'](){this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'revision'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision','view':_0x509889=>{const _0xd0c1ee=_0x509889['markerName']['split'](':')[0x1],_0x15ad57=this['_getChangeFromId'](_0xd0c1ee);if(!_0x15ad57)return null;const _0x29caad='add'==_0x15ad57['type']?'insertion':'deletion',_0x322edf=['ck-suggestion-marker','ck-suggestion-marker-'+_0x29caad];return _0x15ad57['data']['isSuggestion']&&_0x322edf['push']('ck-suggestion-marker-'+_0x29caad+'-new'),this['activeChange']==_0x15ad57&&_0x322edf['push']('ck-suggestion-marker--active'),{'classes':_0x322edf,'attributes':{'data-change-id':_0xd0c1ee}};}}),this['editor']['conversion']['for']('upcast')['add'](_0x22dd24=>{_0x22dd24['on']('element:pre',(_0x3b3237,_0x5b0a15,_0x40a735)=>{const _0x13df2f=_0x5b0a15['viewItem']['getChild'](0x0);if(!_0x13df2f||!_0x13df2f['is']('element','code'))return;if(!_0x40a735['consumable']['consume'](_0x13df2f,{'attributes':['vid_start','vid_end']}))return;const _0x399fce=_0x5b0a15['modelRange']['start']['nodeAfter'];_0x40a735['writer']['setAttribute']('vid_start',_0x13df2f['getAttribute']('vid_start'),_0x399fce),_0x40a735['writer']['setAttribute']('vid_end',_0x13df2f['getAttribute']('vid_end'),_0x399fce);},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['add'](_0x50fc11=>{_0x50fc11['on']('element',(_0x5e4295,_0x1a5341,_0x5e8407)=>{if(!_0x5e8407['consumable']['consume'](_0x1a5341['viewItem'],{'attributes':['vid_start','vid_end']}))return;if(_0x1a5341['modelRange']['isCollapsed'])return;const _0x563856=_0x1a5341['modelRange']['start']['nodeAfter'];_0x563856['hasAttribute']('vid_start')||_0x563856['hasAttribute']('vid')||(_0x5e8407['writer']['setAttribute']('vid_start',_0x1a5341['viewItem']['getAttribute']('vid_start'),_0x563856),_0x5e8407['writer']['setAttribute']('vid_end',_0x1a5341['viewItem']['getAttribute']('vid_end'),_0x563856));},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['elementToAttribute']({'view':{'name':'span','attributes':{'vid':!0x0}},'model':{'key':'vid','value':_0x158893=>_0x158893['getAttribute']('vid')}}),this['editor']['model']['schema']['on']('checkAttribute',(_0x335ed4,[,_0x27d2d0])=>{['vid_start','vid_end','vid']['includes'](_0x27d2d0)&&(_0x335ed4['return']=!0x0,_0x335ed4['stop']());},{'priority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['add'](_0x448d70=>{_0x448d70['on']('attribute:vid',(_0x45d900,_0x22704f,_0x2d86c4)=>{if('\x20'!=_0x22704f['item']['data']||_0x22704f['item']['parent']['maxOffset']>0x1)return;if(!_0x2d86c4['consumable']['consume'](_0x22704f['item'],_0x45d900['name']))return;const _0x16ab0b=_0x2d86c4['writer'],_0x5635d6=_0x2d86c4['mapper']['toViewRange'](_0x22704f['range']);_0x16ab0b['wrap'](_0x5635d6,_0x16ab0b['createAttributeElement']('span'));});}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',function(_0x4ac177){const _0x1aeffe=_0x4ac177['plugins']['get']('RevisionViewer');return(_0x381508,_0x17907d,_0x2f9e11)=>{const _0x32e2d7=_0x17907d['markerName']['split'](':')[0x1],_0x12d083=_0x1aeffe['_getChangeFromId'](_0x32e2d7);if(!_0x12d083)return null;const _0x2d7105='add'==_0x12d083['type']?'split':'merge';if(!_0x2f9e11['consumable']['test'](_0x17907d['markerRange'],_0x381508['name']))return;const _0x48a7b3=_0x17907d['markerRange']['getWalker'](),_0x27c448=_0x17907d['markerRange']['start'],_0x241bea=_0x4ac177['model']['schema'];let _0x108f50=null,_0x35eae5=null,_0xcd3a24=!0x1,_0x1d3e4e=!0x1;for(const _0x42e230 of _0x48a7b3){const _0x436a5c=_0x42e230['item'];_0xcd3a24=_0xcd3a24||_0x241bea['isContent'](_0x436a5c);const _0x44fae0=_0x2f9e11['mapper']['toViewElement'](_0x436a5c);if(_0x44fae0&&_0x44fae0['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x42e230['type']&&(_0x241bea['isBlock'](_0x436a5c)&&!_0x241bea['isLimit'](_0x436a5c)&&(_0x436a5c['nextSibling']||_0x27c448['isAtEnd']?_0x108f50&&_0x108f50['parent']==_0x436a5c||(_0x108f50=_0x436a5c,_0x42bbd9(_0x42e230['previousPosition']),_0x1d3e4e=!0x0):_0x35eae5=_0x35eae5||_0x42e230['previousPosition']));}function _0x42bbd9(_0x3f0c52){const _0x2f5bff=_0x2f9e11['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x2d7105}),_0x3122bd=_0x2f9e11['mapper']['toViewPosition'](_0x3f0c52);_0x12d083['data']['isSuggestion']&&_0x2f9e11['writer']['addClass']('ck-suggestion-marker-'+_0x2d7105+'-new',_0x2f5bff),_0x1aeffe['activeChange']==_0x12d083&&_0x2f9e11['writer']['addClass']('ck-suggestion-marker--active',_0x2f5bff),_0x2f9e11['writer']['insert'](_0x3122bd,_0x2f5bff),_0x2f9e11['mapper']['bindElementToMarker'](_0x2f5bff,_0x17907d['markerName']);}_0xcd3a24||_0x1d3e4e||!_0x35eae5||_0x42bbd9(_0x35eae5);};}(this['editor']),{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('removeMarker:revision',(_0x494c39,_0x21de78,_0x1b71a8)=>{const _0x4cfd10=_0x1b71a8['mapper']['markerNameToElements'](_0x21de78['markerName']);if(_0x4cfd10){for(const _0x5cecc5 of _0x4cfd10)(_0x5cecc5['hasClass']('ck-suggestion-marker-split')||_0x5cecc5['hasClass']('ck-suggestion-marker-merge'))&&(_0x1b71a8['mapper']['unbindElementFromMarkerName'](_0x5cecc5,_0x21de78['markerName']),_0x1b71a8['writer']['remove'](_0x5cecc5));}},{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',(_0xc32006,_0x1200f8,_0x7e9cb8)=>{const _0xb9461f=_0x1200f8['markerName']['split'](':')[0x1],_0x2bf458=this['_getChangeFromId'](_0xb9461f);if(!_0x2bf458)return null;const _0x293019='add'==_0x2bf458['type']?'split':'merge';if(_0x7e9cb8['consumable']['test'](_0x1200f8['markerRange'],_0xc32006['name']))for(const _0x538a1c of _0x1200f8['markerRange']['getItems']()){if(!_0x538a1c['is']('element','softBreak'))continue;const _0x376e42=_0x7e9cb8['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x293019}),_0x407f8c=_0x7e9cb8['mapper']['toViewPosition'](this['editor']['model']['createPositionBefore'](_0x538a1c));_0x2bf458['data']['isSuggestion']&&_0x7e9cb8['writer']['addClass']('ck-suggestion-marker-'+_0x293019+'-new',_0x376e42),this['activeChange']==_0x2bf458&&_0x7e9cb8['writer']['addClass']('ck-suggestion-marker--active',_0x376e42),_0x7e9cb8['writer']['insert'](_0x407f8c,_0x376e42),_0x7e9cb8['mapper']['bindElementToMarker'](_0x376e42,_0x1200f8['markerName']);}},{'priority':'high'}),this['editor']['model']['document']['on']('change',()=>{this['editor']['editing']['view']['change'](_0x1ee528=>{for(const _0x2eda87 of this['editor']['model']['document']['getRootNames']()){const _0x45024c=this['editor']['model']['document']['getRoot'](_0x2eda87),_0x4e9d33=this['editor']['editing']['view']['document']['getRoot'](_0x2eda87);if(_0x4e9d33){const _0x7f66ee=_0x45024c['getAttribute']('revisionHistoryAttachChange');if(_0x1ee528['removeAttribute']('data-change-id',_0x4e9d33),_0x1ee528['removeClass']('ck-revision-history-root-add',_0x4e9d33),_0x1ee528['removeClass']('ck-revision-history-root-remove',_0x4e9d33),_0x1ee528['removeClass']('ck-revision-history-root--active',_0x4e9d33),_0x7f66ee){const _0x461181=this['_getChangeFromId'](_0x7f66ee);if(!_0x461181)return null;_0x1ee528['setAttribute']('data-change-id',_0x7f66ee,_0x4e9d33),_0x1ee528['addClass']('ck-revision-history-root-'+_0x461181['type'],_0x4e9d33),this['activeChange']==_0x461181&&_0x1ee528['addClass']('ck-revision-history-root--active',_0x4e9d33);}}}});}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'comment','model':_0x3d26af=>'revision-comment:'+_0x3d26af,'converterPriority':'highest'}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'suggestion','model':_0x20b69c=>'revision-suggestion:'+_0x20b69c,'converterPriority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision-suggestion','view':_0x6317a7=>({'name':'suggestion:'+_0x6317a7,'group':'revision-suggestion'}),'converterPriority':'highest'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision-suggestion','view':_0x57c719=>{const _0x3e46d3=_0x57c719['markerName']['split'](':')[0x1];return'insertion'!=_0x3e46d3&&'deletion'!=_0x3e46d3?null:{'classes':['ck-suggestion-preview-marker','ck-suggestion-preview-marker-'+_0x3e46d3]};}}),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',(_0x155878,_0x48d288,_0x32b97a)=>{const _0x2ccafa=_0x32b97a['mapper']['markerNameToElements'](_0x48d288['markerName']);if(_0x2ccafa){for(const _0x2df016 of _0x2ccafa)_0x2df016['is']('uiElement')&&(_0x32b97a['mapper']['unbindElementFromMarkerName'](_0x2df016,_0x48d288['markerName']),_0x32b97a['writer']['remove'](_0x2df016));}},{'priority':'high'});}['_getChangeFromId'](_0x3ed177){return this['_changeIdToChange']['get'](_0x3ed177);}['_getViewForChange'](_0x246875){return this['_changeView']&&this['_changeView']['destroy'](),this['_changeView']=new Z(this['editor']['locale'],_0x246875),this['_changeView'];}['_initInteractions'](){this['editor']['model']['document']['selection']['observeMarkers']('revision'),this['on']('change:activeView',(_0x3c4de1,_0x9e582c,_0x55de71,_0x53e6a7)=>{_0x53e6a7&&this['_balloon']['remove'](_0x53e6a7),_0x55de71&&(this['_balloon']['add']({'view':_0x55de71,'stackId':'revisionHistoryLabel','position':{'target':()=>{const _0x4f9813=this['editor']['editing'],_0xbc5abe=this['_getChangeFromId'](_0x55de71['changeId']);let _0x4eb281;if(_0xbc5abe['data']['isOnRoot']){const _0x1a7858=_0x4f9813['view']['getDomRoot'](_0xbc5abe['rootName']);_0x4eb281=Array['from'](_0x1a7858['getClientRects']());}else{const _0x440f8a=this['editor']['model']['markers']['get']('revision:'+_0x55de71['changeId']);_0x4eb281=Array['from'](_0x4f9813['mapper']['markerNameToElements'](_0x440f8a['name']))['map'](_0x267473=>_0x4f9813['view']['domConverter']['mapViewToDom'](_0x267473))['map'](_0x1cfb68=>Array['from'](_0x1cfb68['getClientRects']()))['flat']();}if(!this['_activeViewTarget'])return _0x4eb281[0x0];return _0x4eb281['find'](_0x33921e=>_0x33921e['top']-0x3<=this['_activeViewTarget']['y']&&_0x33921e['bottom']+0x3>=this['_activeViewTarget']['y']&&_0x33921e['left']-0x3<=this['_activeViewTarget']['x']&&_0x33921e['right']+0x3>=this['_activeViewTarget']['x'])||_0x4eb281[0x0];}}}),this['_balloon']['showStack']('revisionHistoryLabel'));}),this['on']('change:activeChange',(_0x5ad37b,_0x2a1525,_0x19e5e9,_0x1a45a8)=>{this['activeView']=_0x19e5e9?this['_getViewForChange'](_0x19e5e9):null,this['editor']['model']['change'](()=>{const _0x39c678=this['editor']['editing'];_0x1a45a8&&(_0x1a45a8['data']['isOnRoot']?_0x39c678['view']['change'](_0x18a0ce=>{_0x18a0ce['removeClass']('ck-revision-history-root--active',_0x39c678['view']['document']['getRoot'](_0x1a45a8['rootName']));}):_0x39c678['reconvertMarker']('revision:'+_0x1a45a8['id'])),_0x19e5e9&&(_0x19e5e9['data']['isOnRoot']?_0x39c678['view']['change'](_0x314bb3=>{_0x314bb3['addClass']('ck-revision-history-root--active',_0x39c678['view']['document']['getRoot'](_0x19e5e9['rootName']));}):_0x39c678['reconvertMarker']('revision:'+_0x19e5e9['id']));});}),this['listenTo'](this['editor']['editing']['view']['document'],'mouseover',(_0xef1354,_0x5bdd5c)=>{if(this['activeChange'])return;const _0x54f39d=this['_findChangeIdFromDomTarget'](_0x5bdd5c['target']),_0x55a181=this['_changeIdToChange']['get'](_0x54f39d);_0x55a181?(this['_activeViewTarget']={'x':_0x5bdd5c['domEvent']['x'],'y':_0x5bdd5c['domEvent']['y']},this['activeView']=this['_getViewForChange'](_0x55a181)):(this['_activeViewTarget']=null,this['activeView']=null);}),this['listenTo'](this['editor']['editing']['view']['document'],'mousedown',(_0x785279,_0x39caae)=>{const _0x403f67=this['_findChangeIdFromDomTarget'](_0x39caae['target']),_0x518cdd=this['_changeIdToChange']['get'](_0x403f67);_0x518cdd?(this['_activeViewTarget']={'x':_0x39caae['domEvent']['x'],'y':_0x39caae['domEvent']['y']},_0x518cdd===this['activeChange']?this['_balloon']['updatePosition']():this['activeChange']=_0x518cdd):(this['_activeViewTarget']=null,this['activeChange']=null);});}['_findChangeIdFromDomTarget'](_0xe3cb0c){do{const _0xab4453=_0xe3cb0c['getAttribute']('data-change-id');if(_0xab4453)return _0xab4453;_0xe3cb0c=_0xe3cb0c['parent'];}while(_0xe3cb0c);return null;}['_cleanMarkers'](){this['editor']['model']['change'](_0x2809f1=>{for(const _0x4ee2e5 of this['editor']['model']['markers'])_0x2809f1['removeMarker'](_0x4ee2e5);});}}function et(_0x222679,_0x4927ac){return(_0x55a7c3,_0x4c7b34,_0x354c68)=>{if(!_0x354c68['consumable']['test'](_0x4c7b34['markerRange'],_0x55a7c3['name']))return;const _0xf2e653=_0x4c7b34['markerRange']['getWalker'](),_0x19fe36=_0x4c7b34['markerRange']['start'],_0x23b242=_0x222679['model']['schema'];let _0x4646c5=null,_0x149e48=null,_0x1fa522=!0x1,_0x3c0db1=!0x1;for(const _0x2dd54f of _0xf2e653){const _0x156f91=_0x2dd54f['item'];_0x1fa522=_0x1fa522||_0x23b242['isContent'](_0x156f91);const _0x3f302d=_0x354c68['mapper']['toViewElement'](_0x156f91);if(_0x3f302d&&_0x3f302d['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x2dd54f['type']&&(_0x23b242['isBlock'](_0x156f91)&&!_0x23b242['isLimit'](_0x156f91)&&(_0x156f91['nextSibling']||_0x19fe36['isAtEnd']?_0x4646c5&&_0x4646c5['parent']==_0x156f91||(_0x4646c5=_0x156f91,_0x1c98cd(_0x2dd54f['previousPosition']),_0x3c0db1=!0x0):_0x149e48=_0x149e48||_0x2dd54f['previousPosition']));}function _0x1c98cd(_0x4b53fe){const _0x2cbd07=_0x354c68['mapper']['toViewPosition'](_0x4b53fe),_0x73579c=_0x354c68['writer']['createUIElement']('span',{'class':'ck-suggestion-preview-marker-'+_0x4927ac});_0x354c68['writer']['insert'](_0x2cbd07,_0x73579c),_0x354c68['mapper']['bindElementToMarker'](_0x73579c,_0x4c7b34['markerName']);}_0x1fa522||_0x3c0db1||!_0x149e48||_0x1c98cd(_0x149e48);};}class bt extends _0x29a981{constructor(_0x478e83){super(_0x478e83);const _0x3a24c1=_0x478e83['plugins']['get'](d);this['affectsData']=!0x1,this['listenTo'](_0x3a24c1,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x3a24c1,'change:isEnabled',()=>this['refresh']());}['execute'](){const _0x35a86c=this['editor'],_0x24449b=_0x35a86c['plugins']['get'](d),_0x395727=_0x24449b['isReady']?_0x24449b['diff']['newRevisionId']:null;_0x35a86c['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x395727);}['refresh'](){const {isReady:_0x5d2938,isEnabled:_0x18e46e}=this['editor']['plugins']['get'](d);this['isEnabled']=_0x5d2938&&_0x18e46e;}}class yt extends _0x29a981{['_step'];constructor(_0x48a2eb,{direction:_0x46d4dd}){super(_0x48a2eb);const _0x49439f=_0x48a2eb['plugins']['get'](d);this['affectsData']=!0x1,this['_step']='forward'===_0x46d4dd?0x1:-0x1,this['listenTo'](_0x49439f,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x49439f,'change:isEnabled',()=>this['refresh']()),this['listenTo'](_0x49439f,'change:activeChange',()=>this['refresh']());}['execute'](){const _0xf176a8=this['editor'],_0x193949=_0xf176a8['plugins']['get'](d),{isNavigationMode:_0x46578f,currentChangeNumber:_0x5a66f9}=_0x193949;let _0x48745f;if(_0x193949['activeChange']=_0x46578f?_0x193949['diff']['changes']['get'](_0x5a66f9+this['_step']):_0x193949['diff']['changes']['first'],_0x193949['activeChange']['data']['isOnRoot'])_0x48745f=_0xf176a8['editing']['view']['getDomRoot'](_0x193949['activeChange']['rootName']);else{const _0x1765ca=_0xf176a8['model']['markers']['get']('revision:'+_0x193949['activeChange']['id']);_0x48745f=_0x27a391(_0xf176a8['editing'],_0x1765ca);}_0x479144({'target':_0x48745f,'viewportOffset':0x28});}['refresh'](){const {isNavigationMode:_0x4e6a93,currentChangeNumber:_0x51e31a,numberOfChanges:_0x1fe77b,isReady:_0x17f531,isEnabled:_0x4a647b}=this['editor']['plugins']['get'](d);this['isEnabled']=!!(_0x4a647b&&_0x17f531&&_0x1fe77b)&&(!_0x4e6a93||(0x1===this['_step']?_0x51e31a<_0x1fe77b-0x1:_0x51e31a>0x0));}}class ui extends ts{constructor(_0x560a65){super(_0x560a65);const _0x27910b=this['bindTemplate'],_0x1ec001=new te(_0x560a65),_0xd9237f=new te(_0x560a65);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',(_0x42d575,_0x3f732b)=>_0x42d575&&_0x3f732b>0x0),this['bind']('_statusText')['to'](this,'isReady',this,'currentChangeNumber',this,'numberOfChanges',this,'isNavigationMode',(_0x2238c4,_0x42a197,_0x34c151,_0x5dc982)=>{if(!_0x2238c4)return y(_0x560a65,'Loading...');if(!_0x34c151)return y(_0x560a65,'No\x20changes');const _0x430bae=y(_0x560a65,'NUMBER_OF_CHANGES',_0x34c151);return _0x5dc982?y(_0x560a65,'X_OF_Y_CHANGES',[_0x42a197+0x1,_0x34c151]):_0x430bae;}),_0x1ec001['set']({'label':y(_0x560a65,'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'}),_0xd9237f['set']({'label':y(_0x560a65,'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'}),_0x1ec001['bind']('isEnabled')['to'](this,'isBackwardNavigationEnabled'),_0xd9237f['bind']('isEnabled')['to'](this,'isForwardNavigationEnabled'),_0x1ec001['on']('execute',()=>this['fire']('execute','backward')),_0xd9237f['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',_0x27910b['if']('_isStatusLabelVisible','ck-hidden',_0xf3d921=>!_0xf3d921)]},'children':[{'text':_0x27910b['to']('isNavigationMode',_0x166324=>_0x166324?y(_0x560a65,'EDIT_X_OF_Y_REVISIONS')+':\x20':y(_0x560a65,'Total')+':\x20')}]},{'text':_0x27910b['to']('_statusText')}]},new _0x469b06(),{'tag':'div','attributes':{'class':['ck-revision-history-ui__changes-navigation__navigation']},'children':[_0x1ec001,_0xd9237f]}]});}}const de='ck-editor__editable__loading-overlay';class le extends _0x5cf14b{static get['pluginName'](){return'RevisionViewerLoadingOverlay';}['show'](){const _0x26f7f4=this['editor']['editing']['view'];_0x26f7f4['change'](_0x5c1f12=>{for(const _0x2a1d4a of _0x26f7f4['document']['roots'])_0x5c1f12['addClass'](de,_0x2a1d4a);});}['hide'](){const _0x52694f=this['editor']['editing']['view'];_0x52694f['change'](_0x3cb155=>{for(const _0x5d2f6a of _0x52694f['document']['roots'])_0x3cb155['removeClass'](de,_0x5d2f6a);});}}class R extends _0x5cf14b{static get['pluginName'](){return'RevisionViewerUI';}static get['requires'](){return[d,le];}['init'](){const _0xcee3b7=this['editor'],_0xcb0408=_0xcee3b7['plugins']['get'](d),_0x18518a=_0xcee3b7['plugins']['get'](le);_0xcee3b7['ui']['componentFactory']['add']('exitToEditing',_0xd11323=>{const _0x344f23=new te(_0xd11323);return _0x344f23['set']({'label':y(_0xd11323,'Back\x20to\x20editing'),'icon':_0x5eadf1['undo'],'withText':!0x0,'tooltip':!0x0,'class':'ck-revision-history-ui__back-to-editing'}),this['listenTo'](_0x344f23,'execute',()=>{_0xcee3b7['config']['get']('revisionHistory')['closeRevisionViewerCallback']();}),_0x344f23;}),_0xcee3b7['ui']['componentFactory']['add']('restoreRevision',_0x4c0bb3=>{const _0x33f593=new te(_0x4c0bb3);return _0x33f593['set']({'label':y(_0x4c0bb3,'Restore\x20this\x20revision'),'withText':!0x0,'tooltip':!0x0}),_0x33f593['bind']('isEnabled')['to'](_0xcee3b7['commands']['get']('restoreRevision')),this['listenTo'](_0x33f593,'execute',()=>_0xcee3b7['execute']('restoreRevision')),_0x33f593;}),_0xcee3b7['ui']['componentFactory']['add']('changesNavigation',_0x54bfb8=>{const _0x1d10b8=new ui(_0x54bfb8),_0x3e54d8=_0xcee3b7['commands']['get']('showPreviousChange'),_0x4a504f=_0xcee3b7['commands']['get']('showNextChange');return _0x1d10b8['bind']('isBackwardNavigationEnabled')['to'](_0x3e54d8,'isEnabled'),_0x1d10b8['bind']('isForwardNavigationEnabled')['to'](_0x4a504f,'isEnabled'),_0x1d10b8['bind']('isReady','currentChangeNumber','numberOfChanges','isNavigationMode')['to'](_0xcb0408),this['listenTo'](_0x1d10b8,'execute',(_0xbd34e8,_0x4ad325)=>{_0xcee3b7['execute']('forward'===_0x4ad325?'showNextChange':'showPreviousChange');}),_0x1d10b8;}),_0x18518a['show'](),_0xcb0408['on']('change:isReady',(_0x485a57,_0x210c09,_0x2ee2ad)=>{_0x2ee2ad?_0x18518a['hide']():_0x18518a['show']();});}}class mt extends _0x35a0a1{['_resizeObserver']=null;constructor(_0x328966,_0x41788f){super(_0x328966,_0x41788f);const _0x44863d=this['bindTemplate'];this['set']({'label':y(_0x328966,'Revision\x20name'),'_tooltipString':''}),this['fieldView']['placeholder']=y(_0x328966,'Enter\x20the\x20revision\x20name'),this['extendTemplate']({'tag':'span','attributes':{'class':['ck-revision-history-sidebar__revision-name'],'data-cke-tooltip-text':_0x44863d['to']('_tooltipString'),'data-cke-tooltip-position':'s','data-cke-tooltip-class':'ck-tooltip_multi-line'}});}['render'](){super['render'](),this['_resizeObserver']=new at(this['fieldView']['element'],()=>this['_updateTooltipText']()),this['listenTo'](this['fieldView'],'input',()=>this['_updateTooltipText']());}['destroy'](){super['destroy'](),this['_resizeObserver']&&this['_resizeObserver']['destroy']();}['_updateTooltipText'](){const _0xf18e11=this['fieldView']['element'];this['_tooltipString']=_0xf18e11['scrollWidth']>_0xf18e11['clientWidth']&&_0xf18e11['value']||'';}}class ri extends ts{constructor(_0x18073b,_0x2739f7,_0x553433){super(_0x18073b);const _0x2c83b1=new _0x2194fe();_0x2c83b1['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 _0x20bb7f=['ck','ck-revision-history-sidebar__revision-author'];_0x553433&&_0x20bb7f['push']('ck-revision-history-sidebar__revision-author_creator');const _0x2778c8=[{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__revision-author__name'],'title':y(_0x18073b,_0x553433?'Revision\x20creator':'Revision\x20author')},'children':[_0x2c83b1,_0x2739f7['name']]}];this['setTemplate']({'tag':'li','attributes':{'class':_0x20bb7f},'children':_0x2778c8});}}function oi(_0xdf52e,_0x58fdcd){const _0x3265cf=_0xdf52e['bindTemplate'],_0x4f39c0=_0xdf52e['locale'],_0x437ee5=_0x42fdea(_0x4f39c0);_0x437ee5['panelPosition']='sw';const _0x1f5149=function(_0x65dca9,_0x3d27f3){const _0x481080=function(_0x1b96f8,_0x2336d7){const _0x5450f1=_0x1b96f8['locale'],_0x2b5f09={'Compare\x20against\x20selected':y(_0x5450f1,'Compare\x20against\x20selected'),'Name\x20this\x20revision':y(_0x5450f1,'Name\x20this\x20revision'),'Restore\x20this\x20revision':y(_0x5450f1,'Restore\x20this\x20revision')};return _0x2336d7['map'](_0x3f0a22=>{const _0x37a786=_0x2b5f09[_0x3f0a22['name']];return _0x37a786&&_0x37a786!==_0x3f0a22['name']&&(_0x3f0a22['name']=_0x37a786),_0x3f0a22;});}(_0x65dca9,_0x3d27f3),_0x2e5cff=new _0x2af926();for(const _0x440bcf of _0x481080){const _0x34e8ba={'type':'button','model':new _0x34129a({'label':_0x440bcf['name'],'class':_0x440bcf['class'],'withText':!0x0,'role':'menuitem','_action':_0x440bcf['action']})};_0x34e8ba['model']['bind']('isEnabled')['to'](_0x65dca9,'isActionsDropdownOpen',_0x399ad1=>'function'!=typeof _0x440bcf['isEnabled']||(!_0x399ad1||_0x440bcf['isEnabled'](_0x65dca9))),_0x2e5cff['add'](_0x34e8ba);}return _0x2e5cff;}(_0xdf52e,_0x58fdcd);return _0xdf52e['bind']('isActionsDropdownOpen')['to'](_0x437ee5,'isOpen'),_0x437ee5['buttonView']['set']({'label':y(_0x4f39c0,'Show\x20more\x20items'),'tooltip':!0x0,'tooltipPosition':'sw','icon':_0x5eadf1['threeVerticalDots']}),_0x437ee5['extendTemplate']({'attributes':{'class':['ck-revision-history-sidebar__revision__actions',_0x3265cf['if']('isActionsDropdownOpen','ck-on')]},'on':{'click':_0x3265cf['to'](_0x52c950=>_0x52c950['stopPropagation']())}}),_0x437ee5['on']('execute',_0x36535a=>{_0xdf52e['isReady']&&'function'==typeof _0x36535a['source']['_action']&&_0x36535a['source']['_action'](_0xdf52e);}),to(_0x437ee5,_0x1f5149,{'role':'menu'}),_0x437ee5['listenTo'](_0xdf52e,'change:isActionsDropdownOpen',(_0x4ec860,_0x3f0555,_0x17b45d)=>{if(_0x17b45d)for(const _0x1c80b5 of _0x437ee5['listView']['items']){const _0x5c54ab=_0x1c80b5['children']['first'],_0x8d3258=_0x58fdcd['find'](_0x18d9a1=>_0x18d9a1['action']===_0x5c54ab['_action'])['isVisible'];_0x1c80b5['isVisible']=void 0x0===_0x8d3258||_0x8d3258(_0xdf52e);}}),_0x437ee5;}class hi extends/* #__PURE__ -- @preserve */
26
- ti(ts){['id'];['revisionNameView'];['revisionActionsView'];['_revision'];['_requireRevisionName'];constructor(_0x413fd8,_0x5f3fb7,_0x1cc428,_0x48407d){super(_0x413fd8);const _0x506c2b=this['bindTemplate'],_0x2623da=function(_0x54961c,_0xddd1f1){const _0x2cc7f7=Array['from'](_0xddd1f1['authors'])['filter'](_0x17dcbf=>_0x17dcbf!=_0xddd1f1['creator']);return _0xddd1f1['creator']&&_0x2cc7f7['unshift'](_0xddd1f1['creator']),_0x2cc7f7['map'](_0x574ce8=>new ri(_0x54961c,_0x574ce8,_0x574ce8==_0xddd1f1['creator']));}(_0x413fd8,_0x5f3fb7);this['id']=_0x5f3fb7['id'],this['_revision']=_0x5f3fb7,this['_requireRevisionName']=_0x48407d,this['bind']('name','createdAt')['to'](_0x5f3fb7),this['bind']('_createdAtFormatted')['to'](this,'createdAt',_0x1d9642=>{return _0x321ff8=_0x413fd8['uiLanguage'],(_0x5b098e=_0x1d9642)['toLocaleDateString'](_0x321ff8,{'month':'long','day':'numeric'})+',\x20'+_0x5b098e['toLocaleTimeString'](_0x321ff8,{'hour':'numeric','minute':'numeric'});var _0x321ff8,_0x5b098e;}),this['set']('isSelected',!0x1),this['set']('isHighlighted',!0x1),this['set']('isActionsDropdownOpen',!0x1),this['set']('isReady',!0x1),this['set']('isEnabled',!0x1),this['revisionNameView']=new mt(_0x413fd8,_0x169b0b),this['revisionNameView']['fieldView']['extendTemplate']({'attributes':{'maxlength':'220'}}),this['revisionNameView']['fieldView']['bind']('value')['to'](this,'name',_0x3a4d23=>_0x3a4d23||this['_createdAtFormatted']),this['revisionNameView']['bind']('isEnabled')['to'](this,'isSelected',this,'isEnabled',(_0x37575d,_0x44ec1c)=>_0x37575d&&_0x44ec1c),this['revisionActionsView']=_0x1cc428&&_0x1cc428['length']?oi(this,_0x1cc428):'',this['revisionActionsView']&&this['revisionActionsView']['bind']('isEnabled')['to'](this),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision-wrapper',_0x506c2b['if']('isConfirm','ck-revision-history-sidebar__revision-wrapper_confirmation_visible')]},'children':[{'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision',_0x506c2b['if']('isEnabled','ck-disabled',_0x2fc2c4=>!_0x2fc2c4),_0x506c2b['if']('isSelected','ck-revision-history-sidebar__revision_selected'),_0x506c2b['if']('isHighlighted','ck-revision-history-sidebar__revision_highlighted'),_0x506c2b['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':_0x506c2b['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':_0x2623da}]},this['revisionActionsView']],'on':{'click':_0x506c2b['to'](_0x5850b3=>{_0x5850b3['srcElement']['closest']('.ck-thread__remove-confirm')||this['isReady']&&this['isEnabled']&&this['fire']('select',{'id':this['id']});})}}]});}['render'](){super['render']();const _0x492ebd=this['revisionNameView']['fieldView']['element'];this['listenTo'](_0x492ebd,'change',()=>{this['_requireRevisionName']&&!_0x492ebd['value']||this['fire']('setName',{'id':this['id'],'name':_0x492ebd['value']}),_0x492ebd['value']||(_0x492ebd['value']=this['name']?this['name']:this['_createdAtFormatted']);});}['select'](){this['isSelected']=!0x0;}['deselect'](){this['isSelected']=!0x1;}['highlight'](){this['isHighlighted']=!0x0;}['unhighlight'](){this['isHighlighted']=!0x1;}}function mi(_0x3bfdce,_0x96262a){const _0xedea4=_0x4530d6['fromJSDate'](_0x3bfdce)['setLocale'](_0x96262a),_0x4beda1=_0x4530d6['local'](),_0x35b222=_0x4beda1['minus']({'days':0x1})['startOf']('day');let _0x215674,_0x10886d;return _0xedea4['hasSame'](_0x4beda1,'day')?(_0x215674=_0xedea4['startOf']('day')['toJSDate'](),_0x10886d=_0xedea4['toRelativeCalendar']()):_0xedea4['hasSame'](_0x35b222,'day')?(_0x215674=_0x35b222['toJSDate'](),_0x10886d=_0xedea4['toRelativeCalendar']()):_0xedea4['hasSame'](_0x4beda1,'week')?(_0x215674=_0xedea4['startOf']('week')['toJSDate'](),_0x10886d=_0xedea4['weekdayLong']||''):_0xedea4['hasSame'](_0x4beda1,'year')?(_0x215674=_0xedea4['startOf']('month')['toJSDate'](),_0x10886d=_0xedea4['monthLong']||''):(_0x215674=_0xedea4['startOf']('year')['toJSDate'](),_0x10886d=String(_0xedea4['year'])),{'startDate':_0x215674,'localizedPeriodName':_0x10886d};}class vi extends ts{['startDate'];['revisionViews'];['_revisionActions'];['_requireRevisionName'];constructor(_0x3e6b4a,_0x27e044,_0x37be38,_0x9a38ce){super(_0x3e6b4a);const _0xabf3e1=mi(_0x27e044,this['locale']['uiLanguage'])['localizedPeriodName'];this['startDate']=_0x27e044,this['revisionViews']=this['createCollection'](),this['_revisionActions']=_0x37be38,this['_requireRevisionName']=_0x9a38ce,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':_0xabf3e1}]},{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__time-period__revisions']},'children':this['revisionViews']}]});}['addRevision'](_0x24032b){const _0x5ab38c=new hi(this['locale'],_0x24032b,this['_revisionActions'],this['_requireRevisionName']);this['revisionViews']['add'](_0x5ab38c);}['removeRevision'](_0x2d64f8){const _0x320a09=this['revisionViews']['find'](_0x3fcc59=>_0x3fcc59['id']===_0x2d64f8['id']);this['revisionViews']['remove'](_0x320a09);}}class as extends ts{constructor(_0x49447a){super(_0x49447a);const _0x5c7e7f=new _0x2194fe();_0x5c7e7f['content']=_0x5eadf1['history'],this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all','ck-revision-history-sidebar__header']},'children':[_0x5c7e7f,{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__header__label']},'children':[y(_0x49447a,'Revision\x20history')]}]});}}class di extends ts{['timePeriodViews'];['_revisions'];['_revisionActions'];['_requireRevisionName'];constructor(_0x4cc338,_0x50af37,_0x4deb54,_0x2213b5){super(_0x4cc338);const _0x3ca445=this['bindTemplate'];this['timePeriodViews']=this['createCollection'](),this['timePeriodViews']['delegate']('select')['to'](this),this['timePeriodViews']['delegate']('setName')['to'](this),this['_revisions']=_0x50af37,this['_revisionActions']=_0x4deb54,this['_requireRevisionName']=_0x2213b5,this['on']('select',(_0x58c6a7,_0x223b89)=>{this['fire']('revisionSelected',_0x223b89);}),this['on']('setName',(_0x43d4bc,_0x180264)=>{this['fire']('revisionSetName',_0x180264);}),this['set']('isEnabled',!0x1),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-rounded-corners','ck-revision-history-sidebar']},'children':[new as(_0x4cc338),{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__timeline',_0x3ca445['if']('isEnabled','ck-disabled',_0x433173=>!_0x433173)]},'children':this['timePeriodViews']}]});}['render'](){super['render']();for(const _0x4ac752 of this['_revisions'])this['_addRevision'](_0x4ac752);this['_revisions']['on']('add',(_0x5c49fb,_0x205bcf)=>{this['_addRevision'](_0x205bcf);}),this['_revisions']['on']('remove',(_0x942736,_0x2eaa8b)=>{this['_removeRevision'](_0x2eaa8b);});}get['revisionViews'](){return this['timePeriodViews']['map'](_0x2e3f78=>_0x2e3f78['revisionViews']['map'](_0x1f0cc6=>_0x1f0cc6))['flat']();}['selectRevision'](_0x293a5f){for(const _0x35741a of this['revisionViews'])_0x293a5f&&_0x293a5f['id']===_0x35741a['id']?_0x35741a['select']():_0x35741a['deselect']();}['highlightRevisions'](_0x468a3d){for(const _0x34d75f of this['revisionViews'])_0x468a3d['some'](({id:_0x409e73})=>_0x409e73===_0x34d75f['id'])?_0x34d75f['highlight']():_0x34d75f['unhighlight']();}['_addRevision'](_0x4e58f7){const _0x28c038=mi(_0x4e58f7['createdAt'],this['locale']['uiLanguage'])['startDate'];let _0x2735c5=this['timePeriodViews']['get'](0x0);_0x2735c5&&_0x2735c5['startDate']['getTime']()===_0x28c038['getTime']()||(_0x2735c5=new vi(this['locale'],_0x28c038,this['_revisionActions'],this['_requireRevisionName']),this['timePeriodViews']['add'](_0x2735c5)),_0x2735c5['addRevision'](_0x4e58f7);}['_removeRevision'](_0x2f23c4){const _0x212d45=mi(_0x2f23c4['createdAt'],this['locale']['uiLanguage'])['startDate'];this['_getTimePeriodViewByStartDate'](_0x212d45)['removeRevision'](_0x2f23c4);}['_getTimePeriodViewByStartDate'](_0x1533ee){return this['timePeriodViews']['find'](_0x46302d=>_0x46302d['startDate']['getTime']()===_0x1533ee['getTime']());}}class w extends _0x5cf14b{['_revisionViewer'];['_revisionsRepository'];['_sidebarView'];static ['defaultRevisionActions']=/* #__PURE__ -- @preserve */
23
+ import{ObservableMixin as _0x569486,uid as _0x106175,Collection as _0x2d52df,logWarning as _0x5d5c8d,FocusTracker as _0x39431c,KeystrokeHandler as _0x50d7f1,scrollViewportToShowTarget as _0x52c1fc,ResizeObserver as mt,ElementReplacer as nt,CKEditorError as _0x3afb80}from'@ckeditor/ckeditor5-utils/dist/index.js';import{cloneDeep as _0x4fc80e,set as _0x2f013b,unset as _0x1e9695,isEqual as _0x4267f9}from'lodash-es';import{Plugin as _0x4b4393,Context as _0x1d170f,PendingActions as _0x4f7a57,icons as _0x45dcb0,Command as _0x5c7302,ElementApiMixin as rt,Editor as it}from'@ckeditor/ckeditor5-core/dist/index.js';import{Users as _0x1dc80b,getMarkerDomElement as _0x3790df,ConfirmMixin as _0x20b5c5,sanitizeEditorConfig as _0x2edd1e}from'ckeditor5-collaboration/dist/index.js';import{ViewDocumentFragment as _0x213bf8,ViewText as _0x5ba681,ViewElement as _0x169bd2,Element as ft,Range as vt,Position as gt,DocumentFragment as wt,ViewContainerElement as _0x139c72,ViewAttributeElement as _0x18d02d,ViewEmptyElement as _0x5374f1,ViewRawElement as _0x57cae2,ViewUIElement as _0x258cee,Text as _t}from'@ckeditor/ckeditor5-engine/dist/index.js';import{View as _0x14e867,injectCssTransitionDisabler as ts,submitHandler as _0xde233,LabeledFieldView as at,createLabeledInputText as _0x25493e,createDropdown as _0x5fbd9d,ListView as te,ListItemView as _0x1767f7,ButtonView as _0x56e36f,MenuBarMenuView as _0x23c2a2,MenuBarMenuListView as _0x3f219e,MenuBarMenuListItemView as _0x10544b,MenuBarMenuListItemButtonView as _0x276970,ContextualBalloon as _0x50ed53,ToolbarSeparatorView as _0x144341,IconView as _0x333034,addListToDropdown as _0x55efb8,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 _0x305862}from'luxon';class a extends/* #__PURE__ -- @preserve */
24
+ _0x569486(){['id'];['creator'];['authors'];['diffData'];['toVersion'];['fromVersion'];['model'];constructor(_0x24e32d){super(),this['id']=_0x24e32d['id']||_0x106175(),this['creator']=_0x24e32d['creator']||null,this['authors']=_0x24e32d['authors']||[],this['diffData']=_0x24e32d['diffData']||null,this['toVersion']=_0x24e32d['toVersion']||0x0,this['fromVersion']=_0x24e32d['fromVersion']||0x0,this['set']('name',_0x24e32d['name']||''),this['set']('createdAt',_0x24e32d['createdAt']||new Date()),this['set']('attributes',_0x24e32d['attributes']||{});}['setName'](_0x2fa761){this['_update']({'name':_0x2fa761});}['setAttribute'](_0x52081c,_0x5f0035){const _0x32428d=_0x4fc80e(this['attributes']);_0x2f013b(_0x32428d,_0x52081c,_0x5f0035),this['_update']({'attributes':_0x32428d});}['removeAttribute'](_0x2f2cbc){const _0x4fa034=_0x4fc80e(this['attributes']);_0x1e9695(_0x4fa034,_0x2f2cbc),this['_update']({'attributes':_0x4fa034});}['_update'](_0x20fa80,_0x1d6f6b=!0x1){let _0x72f914=!0x1;const _0xe5e379={'id':this['id']},_0x5ab076=['name','createdAt','diffData','authors','attributes','toVersion','fromVersion','creatorId'];for(const _0x4c5ddb of _0x5ab076){const _0x165dee=_0x20fa80[_0x4c5ddb];void 0x0!==_0x165dee&&_0x165dee!==this[_0x4c5ddb]&&(this[_0x4c5ddb]=_0x165dee,_0xe5e379[_0x4c5ddb]=_0x165dee,_0x72f914=!0x0);}_0x72f914&&(_0xe5e379['authors']&&(_0xe5e379['authorsIds']=_0xe5e379['authors']['map'](_0x15881b=>_0x15881b['id']),delete _0xe5e379['authors']),this['fire']('_update',_0xe5e379,_0x1d6f6b));}['toJSON'](){return{'id':this['id'],'name':this['name'],'creatorId':this['creator']?this['creator']['id']:null,'authorsIds':this['authors']['map'](_0x2c5451=>_0x2c5451['id']),'diffData':this['diffData'],'createdAt':this['createdAt'],'attributes':this['attributes'],'fromVersion':this['fromVersion'],'toVersion':this['toVersion']};}}class A extends _0x4b4393{['_revisions'];static get['requires'](){return[_0x1dc80b];}static get['pluginName'](){return'RevisionsRepository';}get['length'](){return this['_revisions']['length'];}constructor(_0x15eb03){super(_0x15eb03),this['_revisions']=new _0x2d52df();}['afterInit'](){!function(_0x573e02){function _0x27eb2f(_0x1cad3f,_0x39d56a,_0x4b63ab){const _0x4490ed={};_0x4490ed[_0x5d4772([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])]={0x10:0xa,0x18:0xc,0x20:0xe},_0x4490ed[_0x5d4772([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],_0x4490ed[_0x5d4772([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],_0x4490ed[_0x5d4772([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],_0x4490ed[_0x5d4772([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],_0x4490ed[_0x5d4772([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],_0x4490ed[_0x5d4772([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],_0x4490ed[_0x5d4772([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],_0x4490ed[_0x5d4772([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],_0x4490ed[_0x5d4772([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],_0x4490ed[_0x5d4772([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 _0x4fcec6=new Uint8Array(0x10);for(let _0x22355f=0xf;_0x22355f>=0x0;--_0x22355f)_0x4fcec6[_0x22355f]=_0x4b63ab%0x100,_0x4b63ab=parseInt(_0x4b63ab/0x100);let _0x4f8a2d=null,_0x5e1c09=0x10;const _0x5e5a59=new Uint8Array(_0x39d56a),_0x562152=[],_0x2b8de0=[];_0x3f95aa();for(let _0x4c0f85=0x0;_0x4c0f85<_0x1cad3f[_0x5d4772([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4c0f85++)0x10===_0x5e1c09&&(_0x4f8a2d=_0x2e33fc(_0x4fcec6),_0x5e1c09=0x0,_0x3057f5(_0x4fcec6)),_0x1cad3f[_0x4c0f85]^=_0x4f8a2d[_0x5e1c09++];return _0x1cad3f;function _0x418095(_0x44d6f5){const _0x8162=[];for(let _0x5d3972=0x0;_0x5d3972<_0x44d6f5[_0x5d4772([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5d3972+=0x4)_0x8162[_0x5d4772([0x70,0x75,0x73,0x68])](_0x44d6f5[_0x5d3972]<<0x18|_0x44d6f5[_0x5d3972+0x1]<<0x10|_0x44d6f5[_0x5d3972+0x2]<<0x8|_0x44d6f5[_0x5d3972+0x3]);return _0x8162;}function _0x3057f5(_0xf89861){for(let _0x2a392f=0xf;_0x2a392f>=0x0;_0x2a392f--){if(0xff!==_0xf89861[_0x2a392f]){_0xf89861[_0x2a392f]++;break;}_0xf89861[_0x2a392f]=0x0;}}function _0x2e33fc(_0x3b43d8){const _0x8f527c=_0x562152[_0x5d4772([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x1,_0x32c017=[0x0,0x0,0x0,0x0];let t=_0x418095(_0x3b43d8);for(let _0x597d2a=0x0;_0x597d2a<0x4;_0x597d2a++)t[_0x597d2a]^=_0x562152[0x0][_0x597d2a];for(let _0x2ab696=0x1;_0x2ab696<_0x8f527c;_0x2ab696++){for(let _0x49cf85=0x0;_0x49cf85<0x4;_0x49cf85++)_0x32c017[_0x49cf85]=_0x4490ed[_0x5d4772([0x54,0x31])][t[_0x49cf85]>>0x18&0xff]^_0x4490ed[_0x5d4772([0x54,0x32])][t[(_0x49cf85+0x1)%0x4]>>0x10&0xff]^_0x4490ed[_0x5d4772([0x54,0x33])][t[(_0x49cf85+0x2)%0x4]>>0x8&0xff]^_0x4490ed[_0x5d4772([0x54,0x34])][0xff&t[(_0x49cf85+0x3)%0x4]]^_0x562152[_0x2ab696][_0x49cf85];t=_0x32c017[_0x5d4772([0x73,0x6c,0x69,0x63,0x65])]();}const _0x39cc73=new Uint8Array(0x10);let _0x38343d;for(let _0x5268d5=0x0;_0x5268d5<0x4;_0x5268d5++)_0x38343d=_0x562152[_0x8f527c][_0x5268d5],_0x39cc73[0x4*_0x5268d5]=0xff&(_0x4490ed[_0x5d4772([0x53])][t[_0x5268d5]>>0x18&0xff]^_0x38343d>>0x18),_0x39cc73[0x4*_0x5268d5+0x1]=0xff&(_0x4490ed[_0x5d4772([0x53])][t[(_0x5268d5+0x1)%0x4]>>0x10&0xff]^_0x38343d>>0x10),_0x39cc73[0x4*_0x5268d5+0x2]=0xff&(_0x4490ed[_0x5d4772([0x53])][t[(_0x5268d5+0x2)%0x4]>>0x8&0xff]^_0x38343d>>0x8),_0x39cc73[0x4*_0x5268d5+0x3]=0xff&(_0x4490ed[_0x5d4772([0x53])][0xff&t[(_0x5268d5+0x3)%0x4]]^_0x38343d);return _0x39cc73;}function _0x3f95aa(){const _0x3085fd=_0x4490ed[_0x5d4772([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])][_0x5e5a59[_0x5d4772([0x6c,0x65,0x6e,0x67,0x74,0x68])]];for(let _0x330e5e=0x0;_0x330e5e<=_0x3085fd;_0x330e5e++)_0x562152[_0x5d4772([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]),_0x2b8de0[_0x5d4772([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]);const _0x5e9306=0x4*(_0x3085fd+0x1),_0x555f4f=_0x5e5a59[_0x5d4772([0x6c,0x65,0x6e,0x67,0x74,0x68])]/0x4,_0x2be5df=_0x418095(_0x5e5a59);let _0x3f2fd5;for(let _0x2a6f44=0x0;_0x2a6f44<_0x555f4f;_0x2a6f44++)_0x3f2fd5=_0x2a6f44>>0x2,_0x562152[_0x3f2fd5][_0x2a6f44%0x4]=_0x2be5df[_0x2a6f44],_0x2b8de0[_0x3085fd-_0x3f2fd5][_0x2a6f44%0x4]=_0x2be5df[_0x2a6f44];let _0x299191,_0x3de055=0x0,t=_0x555f4f;for(;t<_0x5e9306;){_0x299191=_0x2be5df[_0x555f4f-0x1],_0x2be5df[0x0]^=_0x4490ed[_0x5d4772([0x53])][_0x299191>>0x10&0xff]<<0x18^_0x4490ed[_0x5d4772([0x53])][_0x299191>>0x8&0xff]<<0x10^_0x4490ed[_0x5d4772([0x53])][0xff&_0x299191]<<0x8^_0x4490ed[_0x5d4772([0x53])][_0x299191>>0x18&0xff]^_0x4490ed[_0x5d4772([0x72,0x63,0x6f,0x6e])][_0x3de055]<<0x18,_0x3de055+=0x1;for(let _0x34b8e7=0x1;_0x34b8e7<_0x555f4f/0x2;_0x34b8e7++)_0x2be5df[_0x34b8e7]^=_0x2be5df[_0x34b8e7-0x1];_0x299191=_0x2be5df[_0x555f4f/0x2-0x1],_0x2be5df[_0x555f4f/0x2]^=_0x4490ed[_0x5d4772([0x53])][0xff&_0x299191]^_0x4490ed[_0x5d4772([0x53])][_0x299191>>0x8&0xff]<<0x8^_0x4490ed[_0x5d4772([0x53])][_0x299191>>0x10&0xff]<<0x10^_0x4490ed[_0x5d4772([0x53])][_0x299191>>0x18&0xff]<<0x18;for(let _0x234c47=_0x555f4f/0x2+0x1;_0x234c47<_0x555f4f;_0x234c47++)_0x2be5df[_0x234c47]^=_0x2be5df[_0x234c47-0x1];let _0x3897d6,_0x57dba4,_0x33fe16=0x0;for(;_0x33fe16<_0x555f4f&&t<_0x5e9306;)_0x3897d6=t>>0x2,_0x57dba4=t%0x4,_0x562152[_0x3897d6][_0x57dba4]=_0x2be5df[_0x33fe16],_0x2b8de0[_0x3085fd-_0x3897d6][_0x57dba4]=_0x2be5df[_0x33fe16++],t++;}for(let _0x2e561d=0x1;_0x2e561d<_0x3085fd;_0x2e561d++)for(let _0xd7448b=0x0;_0xd7448b<0x4;_0xd7448b++)_0x299191=_0x2b8de0[_0x2e561d][_0xd7448b],_0x2b8de0[_0x2e561d][_0xd7448b]=_0x4490ed[_0x5d4772([0x55,0x31])][_0x299191>>0x18&0xff]^_0x4490ed[_0x5d4772([0x55,0x32])][_0x299191>>0x10&0xff]^_0x4490ed[_0x5d4772([0x55,0x33])][_0x299191>>0x8&0xff]^_0x4490ed[_0x5d4772([0x55,0x34])][0xff&_0x299191];}}function _0x5d4772(_0x25801f){return _0x25801f['map'](_0x23da7c=>String['fromCharCode'](_0x23da7c))['join']('');}(_0x7f3bbf=>{function _0x4ae76b(){const _0x227881=[{[_0x5d4772([0x69,0x64])]:0x1,[_0x5d4772([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x5d4772([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73]),[_0x5d4772([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x5d4772([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x5d4772([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x5d4772([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x5d4772([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x5d4772([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x5d4772([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]:[{[_0x5d4772([0x69,0x64])]:0x2,[_0x5d4772([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x5d4772([0x54,0x72,0x61,0x63,0x6b,0x20,0x43,0x68,0x61,0x6e,0x67,0x65,0x73]),[_0x5d4772([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x5d4772([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x5d4772([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x5d4772([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x5d4772([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x5d4772([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]),[_0x5d4772([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x5d4772([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x5d4772([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x5d4772([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}}],[_0x5d4772([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x5d4772([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x5d4772([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x5d4772([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x5d4772([0x69,0x64])]:0x3,[_0x5d4772([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x5d4772([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e]),[_0x5d4772([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x5d4772([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x6f,0x6f,0x6b,0x75,0x70]),[_0x5d4772([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x5d4772([0x70,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x5d4772([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x5d4772([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x5d4772([0x69,0x64])]:0x4,[_0x5d4772([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x5d4772([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x20,0x48,0x69,0x73,0x74,0x6f,0x72,0x79]),[_0x5d4772([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x5d4772([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x5d4772([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x5d4772([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x5d4772([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x5d4772([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]),[_0x5d4772([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x5d4772([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x5d4772([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x5d4772([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x5d4772([0x69,0x64])]:0x5,[_0x5d4772([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x5d4772([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x20,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65]),[_0x5d4772([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x5d4772([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65,0x55,0x49]),[_0x5d4772([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x5d4772([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]),[_0x5d4772([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x5d4772([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x5d4772([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x5d4772([0x66,0x67,0x69])]:[0xc]}},{[_0x5d4772([0x69,0x64])]:0x6,[_0x5d4772([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x5d4772([0x46,0x6f,0x72,0x6d,0x61,0x74,0x20,0x50,0x61,0x69,0x6e,0x74,0x65,0x72]),[_0x5d4772([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x5d4772([0x46,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x55,0x49]),[_0x5d4772([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x5d4772([0x66,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x5d4772([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x5d4772([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x5d4772([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x5d4772([0x66,0x67,0x69])]:[0xc]}},{[_0x5d4772([0x69,0x64])]:0x7,[_0x5d4772([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x5d4772([0x53,0x6c,0x61,0x73,0x68,0x20,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64]),[_0x5d4772([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x5d4772([0x53,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x55,0x49]),[_0x5d4772([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x5d4772([0x73,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x5d4772([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x5d4772([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x5d4772([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x5d4772([0x66,0x67,0x69])]:[0xc]}},{[_0x5d4772([0x69,0x64])]:0x8,[_0x5d4772([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x5d4772([0x54,0x61,0x62,0x6c,0x65,0x20,0x6f,0x66,0x20,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73]),[_0x5d4772([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x5d4772([0x54,0x61,0x62,0x6c,0x65,0x4f,0x66,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x5d4772([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x5d4772([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]),[_0x5d4772([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x5d4772([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x5d4772([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x5d4772([0x66,0x67,0x69])]:[0xc]}},{[_0x5d4772([0x69,0x64])]:0x9,[_0x5d4772([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x5d4772([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65]),[_0x5d4772([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x5d4772([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x55,0x49]),[_0x5d4772([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x5d4772([0x74,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x5d4772([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x5d4772([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x5d4772([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x5d4772([0x66,0x67,0x69])]:[0xc,0xe]}},{[_0x5d4772([0x69,0x64])]:0xa,[_0x5d4772([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x5d4772([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]),[_0x5d4772([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x5d4772([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]),[_0x5d4772([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x5d4772([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]),[_0x5d4772([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x5d4772([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x5d4772([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x5d4772([0x66,0x67,0x69])]:[0xc]}},{[_0x5d4772([0x69,0x64])]:0xb,[_0x5d4772([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x5d4772([0x41,0x49,0x20,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74]),[_0x5d4772([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x5d4772([0x41,0x49,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74,0x55,0x49]),[_0x5d4772([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x5d4772([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x5d4772([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x5d4772([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x5d4772([0x69,0x64])]:0xc,[_0x5d4772([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x5d4772([0x50,0x72,0x6f,0x64,0x75,0x63,0x74,0x69,0x76,0x69,0x74,0x79,0x20,0x70,0x61,0x63,0x6b])},{[_0x5d4772([0x69,0x64])]:0xd,[_0x5d4772([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x5d4772([0x43,0x61,0x73,0x65,0x20,0x43,0x68,0x61,0x6e,0x67,0x65]),[_0x5d4772([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x5d4772([0x43,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x55,0x49]),[_0x5d4772([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x5d4772([0x63,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x5d4772([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x5d4772([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x5d4772([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x5d4772([0x66,0x67,0x69])]:[0xc]}},{[_0x5d4772([0x69,0x64])]:0xe,[_0x5d4772([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x5d4772([0x44,0x72,0x75,0x70,0x61,0x6c,0x20,0x70,0x61,0x63,0x6b]),[_0x5d4772([0x66,0x6f,0x72,0x62,0x69,0x64,0x64,0x65,0x6e,0x48,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x5d4772([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])},{[_0x5d4772([0x69,0x64])]:0xf,[_0x5d4772([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x5d4772([0x4d,0x75,0x6c,0x74,0x69,0x20,0x4c,0x65,0x76,0x65,0x6c,0x20,0x4c,0x69,0x73,0x74]),[_0x5d4772([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x5d4772([0x4d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x5d4772([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x5d4772([0x6d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x5d4772([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x5d4772([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x5d4772([0x69,0x64])]:0x10,[_0x5d4772([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x5d4772([0x4d,0x65,0x72,0x67,0x65,0x20,0x46,0x69,0x65,0x6c,0x64,0x73]),[_0x5d4772([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x5d4772([0x4d,0x65,0x72,0x67,0x65,0x46,0x69,0x65,0x6c,0x64,0x73,0x55,0x49]),[_0x5d4772([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x5d4772([0x6d,0x65,0x72,0x67,0x65,0x46,0x69,0x65,0x6c,0x64,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x5d4772([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x5d4772([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x5d4772([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x5d4772([0x66,0x67,0x69])]:[0xc]}}];return _0x573c84(_0x227881),_0x227881;function _0x3c5f70(_0x111196){return 0x1<<_0x111196-0x1;}function _0x573c84(_0x1a1cef){_0x1a1cef[_0x5d4772([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x27b0fe=>{_0x27b0fe[_0x5d4772([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]=_0x3c5f70(_0x27b0fe[_0x5d4772([0x69,0x64])]),_0x3068c3(_0x27b0fe)&&_0x27b0fe[_0x5d4772([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x573c84(_0x27b0fe[_0x5d4772([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]);});}}function _0x3068c3(_0x44ed63){return _0x5d4772([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])in _0x44ed63;}const _0x526102=[0x1,0x55,0x4e,0x73,0xc6,0xff,0x32,0x70,0x53,0x57,0xa1],_0x15e643=[0x7f,0x22,0x6,0xd3,0xa7,0x56,0x92,0xc7,0x84,0xa0,0x12];function _0x21524a(_0x4f4e53){const _0x34429b=[0x1d,0xdd,0xaf,0x5a,0xe7,0x85,0xef,0xf0,0x4b,0xb4];return _0x2ef3ad(_0x4f4e53,new Uint8Array([..._0x526102,..._0x34429b,..._0x15e643]));}function _0x2ef3ad(_0x279be7,_0x73e366){const _0x1449eb=_0x20f03f(_0x279be7),_0x7c7ce5=Array[_0x5d4772([0x66,0x72,0x6f,0x6d])](_0x8b390a(_0x1449eb)),_0x4f4a64=_0x7c7ce5[_0x5d4772([0x70,0x6f,0x70])](),_0x2f6e6a=_0x7c7ce5[_0x5d4772([0x70,0x6f,0x70])]();return _0x581f1d(_0x27eb2f(_0x7c7ce5,_0x73e366,_0x2f6e6a+0x100*_0x4f4a64));}function _0x20f03f(_0xa5b5bd){const _0x382ca5=atob(_0xa5b5bd),[_0x5c8e4c,_0x499b35]=_0x382ca5[_0x5d4772([0x73,0x70,0x6c,0x69,0x74])](_0x5d4772([0x2d]));try{if(atob(_0x499b35))return atob(_0x5c8e4c);}catch(_0x216e7a){}return _0x382ca5;}function _0x3fff3e(_0x4c4567){try{const _0x389a82=_0x21524a(_0x4c4567),_0x5cf575=JSON[_0x5d4772([0x70,0x61,0x72,0x73,0x65])](_0x389a82),_0x3b9f16=parseInt(_0x5cf575[_0x5d4772([0x31])]),_0x5bd4c8=_0x5cf575[_0x5d4772([0x32])]||'',_0x46f342=parseInt(_0x5cf575[_0x5d4772([0x33])]),_0x196e4c=parseInt(_0x5cf575[_0x5d4772([0x34])])||0x0,_0x4e06b9=parseInt(_0x5cf575[_0x5d4772([0x35])])||0x0;return{[_0x5d4772([0x70,0x72,0x6f,0x64,0x75,0x63,0x74,0x4e,0x61,0x6d,0x65])]:_0x5bd4c8,[_0x5d4772([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])]:_0x196e4c,[_0x5d4772([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]:_0x3b9f16,[_0x5d4772([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]:_0x46f342,[_0x5d4772([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]:_0x4e06b9};}catch(_0x26ed52){return null;}}const _0x23dff2=_0x4ae76b(),_0x1043fa={[_0x5d4772([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])]:_0x2bfb24,[_0x5d4772([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])]:_0x1b8e79,[_0x5d4772([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])]:_0x304cad},_0x262b55=_0x7f3bbf[_0x5d4772([0x63,0x6f,0x6e,0x73,0x74,0x72,0x75,0x63,0x74,0x6f,0x72])][_0x5d4772([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])],_0x455a74=_0x5d4772([0x63,0x6f,0x6e,0x74,0x65,0x78,0x74])in _0x7f3bbf?_0x7f3bbf['context']:_0x7f3bbf['editor'],_0x1113de=_0x5d4772([0x34,0x30,0x34,0x38,0x31,0x38,0x35,0x30]),_0x289251=_0x5d4772([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]),_0x19dc22=_0x455a74['config']['get'](_0x5d4772([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x24776d=_0x23dff2[_0x5d4772([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3068c3)[_0x5d4772([0x66,0x69,0x6e,0x64])](_0x2250e3=>_0x2250e3[_0x5d4772([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]===_0x262b55);function _0x48dedf(_0x86ad0,_0x10376a){_0x1043fa[_0x10376a[_0x5d4772([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]](_0x86ad0,_0x10376a),_0x10376a[_0x5d4772([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x10376a[_0x5d4772([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])][_0x5d4772([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x9cac77=>_0x10208e(_0x455a74,_0x9cac77[_0x5d4772([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))[_0x5d4772([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x36e064=>_0x48dedf(_0x86ad0,_0x36e064));}function _0x2bfb24(_0x1e5e39,_0x432780){_0x334912(_0x1e14a0(_0x1e5e39,_0x432780),_0x432780);}function _0x1b8e79(_0x5b78ec,_0x27d8ad){function _0x598cbc(_0x1e3659,_0x41a090){try{if(_0x10208e(_0x455a74,_0x5d4772([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))&&_0x1e3659){const _0x2c2c6d=_0x55a275(_0x455a74,_0x5d4772([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))[_0x5d4772([0x5f,0x65,0x78,0x65,0x63,0x75,0x74,0x65,0x53,0x75,0x67,0x67,0x65,0x73,0x74,0x69,0x6f,0x6e])];if(parseInt(_0x2c2c6d)/0x2>_0x1e3659[_0x5d4772([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])])return _0x32a09d(_0x41a090[_0x5d4772([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5d4772([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}return _0x1e14a0(_0x1e3659,_0x41a090);}catch(_0x253a72){return _0x32a09d(_0x41a090[_0x5d4772([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5d4772([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}_0x334912(_0x598cbc(_0x5b78ec,_0x27d8ad),_0x27d8ad);}function _0x304cad(_0x4ef16d,_0x236306){const _0x557865=_0x15e643[0x0]*_0x526102[0x1],_0x27b81d=_0x15e643[0x0]*_0x526102[0x2],_0x4b5559=_0x15e643[0x2]*_0x526102[0x2];_0x10208e(_0x455a74,_0x5d4772([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x55a275(_0x455a74,_0x5d4772([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x5d4772([0x73,0x74,0x61,0x74,0x65])]==_0x5d4772([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&(window[_0x197bac()]=_0x4b5559);function _0x43a077(_0x3b2ecb,_0x355c76){try{return _0x32741a()?_0x32a09d(_0x355c76[_0x5d4772([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5d4772([0x56,0x61,0x6c,0x69,0x64])):_0x1e14a0(_0x3b2ecb,_0x355c76);}catch(_0x46ade0){return _0x32a09d(_0x355c76[_0x5d4772([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5d4772([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x56ac77(_0x57ae51,_0x5ef60){const _0x173a32=0x7;if(_0x57ae51==_0x5ef60[_0x5d4772([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5d4772([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]))_0x13eb4f();else{if(_0x57ae51==_0x5ef60[_0x5d4772([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5d4772([0x54,0x72,0x69,0x61,0x6c])){const _0x274445=_0x1756a0();_0x274445&&_0x1c1017(_0x274445,_0x5ef60[_0x5d4772([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);const _0x1610c1=_0x53b02a();window[_0x5d4772([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x1c1017(_0x5d4772([0x74,0x69,0x6d,0x65]),_0x5ef60[_0x5d4772([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);},_0x1610c1);const _0x259f0e=_0x55a275(_0x455a74,_0x5d4772([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x5d4772([0x5f,0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73])];_0x259f0e[_0x5d4772([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x173a32?_0x1c1017(_0x5d4772([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x5ef60[_0x5d4772([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]):_0x259f0e['on'](_0x5d4772([0x61,0x64,0x64]),()=>{_0x259f0e[_0x5d4772([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x173a32&&_0x1c1017(_0x5d4772([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x5ef60[_0x5d4772([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);});}}}function _0x1756a0(){if(!_0x10208e(_0x455a74,_0x5d4772([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x5335f6 in window)if(Number['isNaN'](Number(_0x5335f6))){if(window[_0x5335f6]===_0x557865)return _0x5d4772([0x74,0x69,0x6d,0x65]);if(window[_0x5335f6]===_0x27b81d)return _0x5d4772([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]);}return!0x1;}function _0x32741a(){if(!_0x10208e(_0x455a74,_0x5d4772([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x2bed69 in window)if(Number['isNaN'](Number(_0x2bed69))&&window[_0x2bed69]===_0x4b5559)return!0x0;return!0x1;}function _0x1c1017(_0x2ef363,_0x6b92d8){_0x13eb4f(),_0x32a09d(_0x6b92d8+_0x5d4772([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a])+_0x2ef363),window[_0x197bac()]=_0x2ef363===_0x5d4772([0x74,0x69,0x6d,0x65])?_0x557865:_0x27b81d;}function _0x53b02a(){let _0x122c3f=_0x15e643[0x6]*_0x526102[0x8]*_0x526102[0x6];return _0x10208e(_0x455a74,_0x5d4772([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x122c3f/=0xa),_0x122c3f;}function _0x13eb4f(){const _0x542e70=_0x455a74;function _0x5538ae(){_0x10208e(_0x542e70,_0x5d4772([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&(_0x55a275(_0x542e70,_0x5d4772([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x5d4772([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x5d4772([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x55a275(_0x542e70,_0x5d4772([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x5d4772([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x55a275(_0x542e70,_0x5d4772([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x5d4772([0x75,0x70,0x64,0x61,0x74,0x65])]=_0xa851e8,_0x55a275(_0x542e70,_0x5d4772([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x5d4772([0x73,0x61,0x76,0x65,0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e])]=_0xa851e8,_0x542e70[_0x5d4772([0x6d,0x6f,0x64,0x65,0x6c])][_0x5d4772([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0xa851e8,_0x542e70[_0x5d4772([0x6d,0x6f,0x64,0x65,0x6c])][_0x5d4772([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0xa851e8,_0x542e70[_0x5d4772([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x5d4772([0x6d,0x6f,0x64,0x65,0x6c]))),_0x10208e(_0x542e70,_0x5d4772([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x55a275(_0x542e70,_0x5d4772([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x5d4772([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x5d4772([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x55a275(_0x542e70,_0x5d4772([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x5d4772([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x55a275(_0x542e70,_0x5d4772([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x5d4772([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])]=_0xa851e8,_0x55a275(_0x542e70,_0x5d4772([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x5d4772([0x5f,0x67,0x65,0x74,0x44,0x69,0x66,0x66])]=_0xa851e8);}_0x542e70[_0x5d4772([0x73,0x74,0x61,0x74,0x65])]==_0x5d4772([0x72,0x65,0x61,0x64,0x79])?_0x5538ae():_0x542e70[_0x5d4772([0x6f,0x6e,0x63,0x65])](_0x5d4772([0x72,0x65,0x61,0x64,0x79]),()=>{if(_0x10208e(_0x542e70,_0x5d4772([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&_0x5538ae(),_0x10208e(_0x542e70,_0x5d4772([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))){const _0x394ef3=_0x55a275(_0x542e70,_0x5d4772([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79])),_0x2a10c4=_0x394ef3['getRevision'](0x0),_0x24cc8b=_0x394ef3['getEarlierVisibleRevision'](_0x2a10c4[_0x5d4772([0x69,0x64])]);_0x55a275(_0x542e70,_0x5d4772([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x5d4772([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])](_0x2a10c4[_0x5d4772([0x69,0x64])],_0x24cc8b?_0x24cc8b[_0x5d4772([0x69,0x64])]:null,0x1)['then'](()=>_0x5538ae());}});}_0x56ac77(_0x43a077(_0x4ef16d,_0x236306),_0x236306);}function _0x1e14a0(_0x39e85c,_0x34ae81){try{return _0x86a1ef(_0x34ae81)?_0x32a09d(_0x34ae81[_0x5d4772([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5d4772([0x56,0x61,0x6c,0x69,0x64])):_0x39e85c&&_0x34481d(_0x39e85c[_0x5d4772([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])],_0x34ae81)?_0x39e85c[_0x5d4772([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]&&!window[_0x5d4772([0x6f,0x70,0x65,0x6e])][_0x5d4772([0x63,0x6c,0x6f,0x73,0x65,0x64])]||parseInt(_0x1113de)/0x2>_0x39e85c[_0x5d4772([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]?_0x32a09d(_0x34ae81[_0x5d4772([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5d4772([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])):_0x39e85c[_0x5d4772([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]?_0x32a09d(_0x34ae81[_0x5d4772([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5d4772([0x54,0x72,0x69,0x61,0x6c])):_0x32a09d(_0x34ae81[_0x5d4772([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5d4772([0x56,0x61,0x6c,0x69,0x64])):_0x32a09d(_0x34ae81[_0x5d4772([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5d4772([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}catch(_0x50d15e){return _0x32a09d(_0x34ae81[_0x5d4772([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5d4772([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x334912(_0x5d31e3,_0x266ec9){if(_0x455a74 instanceof _0x1d170f){const _0x2241fd=_0x455a74;_0x5d31e3==_0x266ec9[_0x5d4772([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5d4772([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x400f2e(_0x2241fd):_0x5d31e3==_0x266ec9[_0x5d4772([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5d4772([0x54,0x72,0x69,0x61,0x6c])&&window[_0x5d4772([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x400f2e(_0x2241fd),_0x32a09d(_0x266ec9[_0x5d4772([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5d4772([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65]));},_0x15e643[0x6]*_0x526102[0x8]*_0x526102[0x6]),_0x2241fd[_0x5d4772([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])][_0x5d4772([0x6f,0x6e])](_0x5d4772([0x61,0x64,0x64]),(_0x57bbca,_0x18644e)=>{_0x5d31e3!=_0x266ec9[_0x5d4772([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5d4772([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])&&_0x5d31e3!=_0x266ec9[_0x5d4772([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5d4772([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65])&&_0x5d31e3!=_0x266ec9[_0x5d4772([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5d4772([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])||_0x476e53(_0x18644e);});}else{const _0x2da741=_0x455a74;_0x5d31e3==_0x266ec9[_0x5d4772([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5d4772([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x476e53(_0x2da741):_0x5d31e3==_0x266ec9[_0x5d4772([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5d4772([0x54,0x72,0x69,0x61,0x6c])&&_0x2da741[_0x5d4772([0x6f,0x6e])](_0x5d4772([0x72,0x65,0x61,0x64,0x79]),()=>{let _0x45c959=0x0;_0x2da741[_0x5d4772([0x6d,0x6f,0x64,0x65,0x6c])][_0x5d4772([0x6f,0x6e])](_0x5d4772([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x4a3c74,_0x2f0bf0)=>{_0x2f0bf0[0x0][_0x5d4772([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x45c959++,0x1f8===_0x45c959&&(_0x476e53(_0x2da741),_0x32a09d(_0x266ec9[_0x5d4772([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5d4772([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])),_0x4a3c74[_0x5d4772([0x6f,0x66,0x66])]());},{'priority':_0x5d4772([0x68,0x69,0x67,0x68,0x65,0x73,0x74])});});}}function _0x32a09d(_0x2b53ae){const _0x5f4466=_0x197bac();return _0x455a74[_0x5f4466]=_0x2b53ae,_0x2b53ae;}function _0x197bac(){const _0x13d433=String(window[_0x5d4772([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x5d4772([0x6e,0x6f,0x77])]())[_0x5d4772([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x5d4772([0x2e]),'');let _0x45b1e8='';for(let _0x4d212b=0x0;_0x4d212b<_0x13d433[_0x5d4772([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4d212b+=0x2){let _0x5a8f6d=parseInt(_0x13d433[_0x5d4772([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4d212b,_0x4d212b+0x2));_0x5a8f6d>=_0x289251[_0x5d4772([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x5a8f6d-=_0x289251[_0x5d4772([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x45b1e8+=_0x289251[_0x5a8f6d];}return _0x45b1e8;}function _0x400f2e(_0x407d28){for(const _0x1361f1 of _0x407d28[_0x5d4772([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])])_0x476e53(_0x1361f1);_0x55a275(_0x407d28,_0x5d4772([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x5d4772([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])](!0x0),_0x55a275(_0x407d28,_0x5d4772([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x5d4772([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])]=_0xa851e8;}function _0x476e53(_0x1bcd83){function _0x270e2f(){_0x1bcd83[_0x5d4772([0x6d,0x6f,0x64,0x65,0x6c])][_0x5d4772([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0xa851e8,_0x1bcd83[_0x5d4772([0x6d,0x6f,0x64,0x65,0x6c])][_0x5d4772([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0xa851e8,_0x1bcd83[_0x5d4772([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x5d4772([0x6d,0x6f,0x64,0x65,0x6c]));}_0x1bcd83[_0x5d4772([0x73,0x74,0x61,0x74,0x65])]==_0x5d4772([0x72,0x65,0x61,0x64,0x79])?_0x270e2f():_0x1bcd83[_0x5d4772([0x6f,0x6e,0x63,0x65])](_0x5d4772([0x72,0x65,0x61,0x64,0x79]),()=>_0x270e2f());}function _0xa851e8(){return null;}function _0x34481d(_0x38c763,_0x266779){const _0x4e2f63=!!(_0x38c763&_0x266779[_0x5d4772([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]),_0x12166d=_0x56217a(_0x38c763,_0x266779);return _0x4e2f63||_0x12166d;}function _0x56217a(_0x51fd1d,_0x464a8d){const _0x4dad03=(_0x464a8d[_0x5d4772([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{})[_0x5d4772([0x66,0x67,0x69])]||null;return!!_0x4dad03&&_0x23dff2[_0x5d4772([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3be803=>_0x4dad03[_0x5d4772([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3be803[_0x5d4772([0x69,0x64])]))[_0x5d4772([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2212bc=>!_0x2deaaf(_0x2212bc))[_0x5d4772([0x73,0x6f,0x6d,0x65])](_0x346972=>!!(_0x51fd1d&_0x346972[_0x5d4772([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]));}function _0x2deaaf(_0xfa1e19){const _0x58f8df={[_0x5d4772([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])]:_0x1864cd};return!!_0xfa1e19['forbiddenHandler']&&_0x58f8df[_0xfa1e19['forbiddenHandler']]();}function _0x1864cd(){return!window[_0x5d4772([0x44,0x72,0x75,0x70,0x61,0x6c])]||!_0x10208e(_0x455a74,_0x5d4772([0x64,0x72,0x75,0x70,0x61,0x6c,0x50,0x6f,0x77,0x65,0x72,0x65,0x64,0x42,0x79]));}function _0x86a1ef(_0x5de569){if(!_0x10208e(_0x455a74,_0x5de569[_0x5d4772([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))return!0x0;const _0xa05d21=_0x5de569[_0x5d4772([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{},_0x51e41d=_0xa05d21[_0x5d4772([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]||!0x1,_0x3662e6=_0xa05d21[_0x5d4772([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]||!0x1,_0x1a2dfb=_0xa05d21[_0x5d4772([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]||!0x1;if(_0x10208e(_0x455a74,_0x5d4772([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x55a275(_0x455a74,_0x5d4772([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x5d4772([0x73,0x74,0x61,0x74,0x65])]==_0x5d4772([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&_0x51e41d)return!0x0;if(_0x10208e(_0x455a74,_0x5d4772([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))&&_0x55a275(_0x455a74,_0x5d4772([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))[_0x5d4772([0x72,0x65,0x73,0x75,0x6c,0x74])]==_0x5d4772([0x65,0x6e,0x64])&&_0x3662e6)return!0x0;return!(!_0x10208e(_0x455a74,_0x5d4772([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]))||_0x55a275(_0x455a74,_0x5d4772([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]))[_0x5d4772([0x72,0x65,0x73,0x75,0x6c,0x74])]!=_0x5d4772([0x65,0x6e,0x64])||!_0x1a2dfb);}function _0x10208e(_0x39eca1,_0x173475){return _0x39eca1[_0x5d4772([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x5d4772([0x68,0x61,0x73])](_0x173475);}function _0x55a275(_0x456b11,_0x1c714e){return _0x456b11[_0x5d4772([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x5d4772([0x67,0x65,0x74])](_0x1c714e);}function _0x581f1d(_0x213b2d){let _0x276f57='';for(const _0x46bd10 of _0x213b2d)_0x276f57+=String[_0x5d4772([0x66,0x72,0x6f,0x6d,0x43,0x68,0x61,0x72,0x43,0x6f,0x64,0x65])](_0x46bd10);return _0x276f57;}function _0x8b390a(_0x1edf56){const _0x2d199d=new Uint8Array(_0x1edf56[_0x5d4772([0x6c,0x65,0x6e,0x67,0x74,0x68])]);for(let _0x442572=0x0;_0x442572<_0x1edf56[_0x5d4772([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x442572++)_0x2d199d[_0x442572]=_0x1edf56[_0x5d4772([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x442572);return _0x2d199d;}_0x24776d&&_0x48dedf(_0x3fff3e(_0x19dc22),_0x24776d);})(_0x573e02);}(this);}['createRevision'](_0x34f0c1){const _0x5ea84d=this['editor']['plugins']['get']('Users');return new a({'id':_0x34f0c1['id'],'name':_0x34f0c1['name'],'creator':_0x34f0c1['creatorId']?_0x5ea84d['getUser'](_0x34f0c1['creatorId']):null,'diffData':_0x34f0c1['diffData']||_0x34f0c1['data'],'authors':_0x34f0c1['authorsIds']['map'](_0x202a68=>_0x5ea84d['getUser'](_0x202a68)),'createdAt':new Date(_0x34f0c1['createdAt']),'attributes':_0x34f0c1['attributes'],'fromVersion':_0x34f0c1['fromVersion'],'toVersion':_0x34f0c1['toVersion']});}['addRevision'](_0x3494df,_0x125e5c=0x0){this['_revisions']['add'](_0x3494df,_0x125e5c);}['getRevision'](_0x398310){return this['_revisions']['get'](_0x398310);}['getRevisions'](_0x3e2f1d={'toJSON':!0x1}){const _0xc5e779=Array['from'](this['_revisions']);return _0xc5e779['reverse'](),_0x3e2f1d['toJSON']?_0xc5e779['map'](_0x2113a8=>_0x2113a8['toJSON']()):_0xc5e779;}['getIndex'](_0x503fe0){return this['_revisions']['getIndex'](_0x503fe0);}['getEarlierVisibleRevision'](_0x206d69){const [,_0x4ebcf5]=this['getRevisionsIterator'](_0x206d69,{'direction':'earlier'});return _0x4ebcf5;}['getLaterVisibleRevision'](_0x5d5eeb){const [,_0x43d79c]=this['getRevisionsIterator'](_0x5d5eeb,{'direction':'later'});return _0x43d79c;}['getRevisionsInDiff'](_0x366bfe){const _0x197832=[];for(const _0x3f1a13 of this['getRevisionsIterator'](_0x366bfe['newRevisionId']))if(_0x197832['push'](_0x3f1a13),_0x3f1a13['id']===_0x366bfe['oldRevisionId'])break;return _0x197832;}*['getRevisionsIterator'](_0x2a5d30,{direction:_0x1315af='earlier',filter:_0x313c3b=()=>!0x0}={}){const _0x538856='earlier'===_0x1315af?0x1:-0x1;let _0x5479bd=this['_revisions']['get'](_0x2a5d30),_0xfbe1ae=this['getIndex'](_0x5479bd);for(yield _0x5479bd;_0x5479bd;){if(_0xfbe1ae+=_0x538856,_0x5479bd=this['getRevision'](_0xfbe1ae),!_0x5479bd)return;_0x313c3b(_0x5479bd)&&(yield _0x5479bd);}}}function y(_0xbc71bb,_0x4d29a2,_0x473628){const t=_0xbc71bb['t'];switch(_0x4d29a2){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'},_0x473628);case'X_OF_Y_CHANGES':return t({'string':'%0\x20of\x20%1','id':'X_OF_Y_CHANGES'},_0x473628);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'Accept':return t('Accept');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':_0x139c72,'a':_0x18d02d,'e':_0x5374f1,'r':_0x57cae2,'u':_0x258cee};class l extends _0x4b4393{['adapter'];['currentRevision'];['repository'];['_revisionDataBuilder'];['_source'];['_initialRevisionId'];['_bufferedUpdates'];['_pendingAction'];['_continueCurrentRevision'];['_startingVersion'];['_loadedStateData'];static get['pluginName'](){return'RevisionTracker';}static get['requires'](){return[_0x1dc80b,A,_0x4f7a57];}constructor(_0x3de119){super(_0x3de119),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 _0x21c493=_0x106175();this['_source']={'history':this['editor']['model']['document']['history'],'getLatestVersion':()=>Promise['resolve'](this['editor']['model']['document']['version']),'getCurrentRevisionId':()=>_0x21c493},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 _0x2fdefe=this['repository']['getRevision'](0x0),_0x4f02fb=_0x2fdefe&&null===_0x2fdefe['creator']?_0x2fdefe:null;if(this['_continueCurrentRevision']=!!_0x4f02fb&&this['editor']['config']['get']('revisionHistory.resumeUnsavedRevision'),this['editor']['plugins']['has']('RealTimeCollaborationClient')){const _0x1e3f86=this['_source']['getCurrentRevisionId'](),_0xe58843=this['repository']['getRevision'](_0x1e3f86);if(_0xe58843)this['_startingVersion']=_0xe58843['fromVersion'],this['_continueCurrentRevision']=!0x1;else{const _0x4b25a3=this['_source']['history']['_operations']['find'](_0x3ada0e=>!_0x3ada0e['_isInit']),_0x5a9dd6=_0x4b25a3?_0x4b25a3['baseVersion']:this['_source']['history']['version'];_0x2fdefe?(_0x2fdefe['toVersion']<_0x5a9dd6&&_0x2fdefe['_update']({'toVersion':_0x5a9dd6}),this['_continueCurrentRevision']?(this['_source']['getCurrentRevisionId']=()=>_0x4f02fb['id'],this['_startingVersion']=_0x4f02fb['fromVersion']):(this['_startingVersion']=_0x2fdefe['toVersion'],this['_continueCurrentRevision']=!0x1)):(this['_startingVersion']=_0x5a9dd6,this['_continueCurrentRevision']=!0x1);}}else _0x4f02fb&&(this['editor']['model']['document']['history']['version']=Math['max'](_0x4f02fb['toVersion'],this['editor']['model']['document']['history']['version']),_0x4f02fb['fromVersion']===_0x4f02fb['toVersion']?(0x0!==_0x4f02fb['fromVersion']&&(this['_source']['getCurrentRevisionId']=()=>_0x4f02fb['id']),this['_continueCurrentRevision']=!0x1):this['_continueCurrentRevision']&&(this['_source']['getCurrentRevisionId']=()=>_0x4f02fb['id'],this['_startingVersion']=_0x4f02fb['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',_0xfb0121=>!_0xfb0121);}async['afterInit'](){if(this['repository']['length']>0x0){const _0x55fca2=this['repository']['getRevision'](0x0),_0x243632=await this['getRevisionDocumentData'](_0x55fca2),_0x263a49=await this['getRevisionRootsAttributes'](_0x55fca2);this['_replaceEditorDataWithRevisionData'](_0x243632,_0x263a49);}}['setSource'](_0xa3a210){this['_source']=_0xa3a210;}async['update'](){const _0xccf0c5=await this['_source']['getLatestVersion']();if(_0xccf0c5>this['currentRevision']['toVersion']){await this['_loadState']();const _0xafce52=this['buildRevisionData']({'revision':this['currentRevision'],'to':_0xccf0c5});_0xafce52['authors']=_0xafce52['authorsIds']['map'](_0x1ab600=>this['editor']['plugins']['get']('Users')['getUser'](_0x1ab600)),this['currentRevision']['_update'](_0xafce52);}}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'](_0x5c0c24={},_0xeb6d51=null){const _0x2ca1ae=[];await this['_loadState'](),this['_continueCurrentRevision']=!0x1,_0xeb6d51>this['currentRevision']['toVersion']&&(_0xeb6d51=null),null===_0xeb6d51&&(_0xeb6d51=await this['_source']['getLatestVersion']());const _0x100ab9=this['_getFromVersion'](_0xeb6d51),_0x33e95f=this['buildRevisionData']({'from':_0x100ab9,'to':_0xeb6d51});if(this['currentRevision']['toVersion']<_0xeb6d51){const _0x3958d2=this['buildRevisionData']({'revision':this['currentRevision'],'from':_0xeb6d51,'to':_0xeb6d51});_0x3958d2['authors']=[],_0x3958d2['authorsIds']=[],_0x3958d2['id']=this['currentRevision']['id'],this['currentRevision']['_update'](_0x3958d2,!0x0),delete _0x3958d2['authors'],_0x2ca1ae['push'](_0x3958d2);}_0x5c0c24['creatorId']=this['editor']['plugins']['get']('Users')['me']['id'],_0x5c0c24['name']=_0x5c0c24['name']||null,_0x5c0c24['id']=_0x5c0c24['id']||_0x106175(),_0x5c0c24={..._0x5c0c24,..._0x33e95f};const _0x2311e9=this['addRevisionData'](_0x5c0c24);_0x2ca1ae['push'](_0x5c0c24);const _0x25aece=this['repository']['getIndex'](_0x2311e9);if(0x0!==_0x25aece){const _0x5de768=this['repository']['getRevision'](_0x25aece-0x1);if(_0x5de768['fromVersion']!==_0xeb6d51){const _0x1173a8=this['_revisionDataBuilder']['getData'](_0xeb6d51,_0x5de768['toVersion']),_0x480642={'id':_0x5de768['id'],'diffData':_0x1173a8['diffData'],'authorsIds':_0x1173a8['authorsIds'],'authors':_0x1173a8['authorsIds']['map'](_0x435780=>this['editor']['plugins']['get']('Users')['getUser'](_0x435780)),'fromVersion':_0xeb6d51};_0x5de768===this['currentRevision']&&(_0x480642['createdAt']=new Date(_0x5c0c24['createdAt']['getTime']()+0xa)),_0x5de768['_update'](_0x480642,!0x0),delete _0x480642['authors'],_0x2ca1ae['push'](_0x480642);}}if(this['adapter']){for(const _0x469b77 of _0x2ca1ae)this['_bufferUpdate'](_0x469b77['id'],_0x469b77,!0x0);this['sendBufferedUpdates']();}return _0x2311e9;}['addRevisionData'](_0x3a7cc4){const _0x167ab9=this['repository']['createRevision'](_0x3a7cc4);return this['adapter']&&_0x167ab9['on']('_update',(_0x50df7e,_0x348bbc,_0x4971fb)=>{_0x4971fb||(this['_bufferUpdate'](_0x348bbc['id'],_0x348bbc,!0x0),this['sendBufferedUpdates']());}),this['repository']['addRevision'](_0x167ab9,this['_findInsertionIndex'](_0x167ab9)),_0x167ab9;}async['getRevisionDocumentData'](_0x50cf52){await this['_loadRevisionData'](_0x50cf52);const _0x409858={};for(const _0x3091fb in _0x50cf52['diffData']){if(_0x50cf52['diffData'][_0x3091fb]['attachChange']&&!_0x50cf52['diffData'][_0x3091fb]['attachChange']['isAttached'])continue;const _0x551392=this['_removeRevisionMarkers'](JSON['parse'](_0x50cf52['diffData'][_0x3091fb]['insertions'])),_0x4cc519=this['editor']['editing']['view']['document'],_0x53f0a1=new _0x213bf8(_0x4cc519,_0x551392['map'](_0x819f65=>B(_0x819f65,this['editor'])));this['editor']['data']['processor']['useFillerType']('marked'),_0x409858[_0x3091fb]=this['editor']['data']['processor']['toData'](_0x53f0a1),this['editor']['data']['processor']['useFillerType']('default');}return _0x409858;}async['getRevisionRootsAttributes'](_0x374da2){await this['_loadRevisionData'](_0x374da2);const _0x1b6f5d={};for(const _0x4c97d4 in _0x374da2['diffData'])_0x374da2['diffData'][_0x4c97d4]['attachChange']&&!_0x374da2['diffData'][_0x4c97d4]['attachChange']['isAttached']||(_0x1b6f5d[_0x4c97d4]=_0x374da2['diffData'][_0x4c97d4]['attributesAfter']||{});return _0x1b6f5d;}['sendBufferedUpdates'](){if(0x0===this['_bufferedUpdates']['size'])return;if(this['_isPendingUpdate'])return;let _0x598077=Array['from'](this['_bufferedUpdates']['values']());this['_bufferedUpdates']['clear']();for(let _0x3d2cd2=0x0;_0x3d2cd2<_0x598077['length'];_0x3d2cd2++){const _0x277147=_0x598077[_0x3d2cd2];let _0x15efec=!0x1;for(const _0x9827ef of Object['keys'](_0x277147))void 0x0===_0x277147[_0x9827ef]?delete _0x277147[_0x9827ef]:'id'!==_0x9827ef&&(_0x15efec=!0x0);_0x15efec||(_0x598077[_0x3d2cd2]=null);}if(_0x598077=_0x598077['filter'](_0x5c332b=>null!==_0x5c332b),!_0x598077['length'])return;for(let _0x46a6c8=0x0;_0x46a6c8<_0x598077['length'];_0x46a6c8++){const _0x5a125a=_0x598077[_0x46a6c8];void 0x0!==_0x5a125a['fromVersion']&&void 0x0===_0x5a125a['toVersion']&&(_0x5a125a['toVersion']=this['repository']['getRevision'](_0x5a125a['id'])['toVersion']),void 0x0!==_0x5a125a['toVersion']&&void 0x0===_0x5a125a['fromVersion']&&(_0x5a125a['fromVersion']=this['repository']['getRevision'](_0x5a125a['id'])['fromVersion']);}const _0x1a1bb1=this['editor']['config']['get']('collaboration.channelId');this['_isPendingUpdate']=!0x0,this['_addPendingAction'](),this['adapter']['updateRevisions'](_0x598077,_0x1a1bb1)['finally'](()=>{this['_isPendingUpdate']=!0x1;})['then'](_0x510d26=>{if(_0x510d26){for(const _0x2c9cf0 of _0x510d26)this['setRevisionData']({'id':_0x2c9cf0['id'],'createdAt':_0x2c9cf0['createdAt']});}this['_removePendingAction'](),this['sendBufferedUpdates']();});}['_replaceEditorDataWithRevisionData'](_0x54f5d9,_0x1a18d8){let _0x39c0c1=this['editor']['config']['get']('initialData'),_0x3ec2d9=this['editor']['config']['get']('rootsAttributes');if(void 0x0===_0x39c0c1){_0x39c0c1={};for(const _0x4d1e9a of this['editor']['model']['document']['getRootNames']())_0x39c0c1[_0x4d1e9a]='';}if('string'==typeof _0x39c0c1&&(_0x39c0c1={'main':_0x39c0c1}),void 0x0===_0x3ec2d9){_0x3ec2d9={};for(const _0x207725 of this['editor']['model']['document']['getRootNames']())_0x3ec2d9[_0x207725]={};}let _0xdcf17=!0x1;const _0x5461b8=Object['keys'](_0x39c0c1),_0x21f5b1=Object['keys'](_0x54f5d9);for(const _0x4f5084 of _0x5461b8){if(_0x39c0c1[_0x4f5084]!==_0x54f5d9[_0x4f5084]&&''!==_0x39c0c1[_0x4f5084]['trim']()){_0xdcf17=!0x0;break;}if(!_0x4267f9(_0x3ec2d9[_0x4f5084],_0x1a18d8[_0x4f5084])&&Object['keys'](_0x3ec2d9[_0x4f5084])['length']>0x0){_0xdcf17=!0x0;break;}}_0xdcf17||(_0xdcf17=_0x21f5b1['some'](_0x41d568=>!this['editor']['model']['document']['getRoot'](_0x41d568))),_0xdcf17&&_0x5d5c8d('editor-initial-data-replaced-with-revision-data',{'editorData':_0x39c0c1,'editorRootsAttributes':_0x3ec2d9,'revisionData':_0x54f5d9,'revisionRootsAttributes':_0x1a18d8}),this['editor']['config']['set']('initialData',_0x54f5d9),this['editor']['config']['set']('rootsAttributes',_0x1a18d8);}['_addPendingAction'](){if(!this['_pendingAction']){const _0x54187a=this['editor']['plugins']['get']('PendingActions');this['_pendingAction']=_0x54187a['add'](y(this['editor']['locale'],'PENDING_ACTION_REVISION_HISTORY'));}}['_removePendingAction'](){this['_pendingAction']&&(this['editor']['plugins']['get']('PendingActions')['remove'](this['_pendingAction']),this['_pendingAction']=null);}['_findInsertionIndex'](_0x3f50f0){const _0x51115d=this['repository']['getRevisions']();_0x51115d['reverse']();let _0x51ca16=0x0;for(;_0x51ca16<_0x51115d['length'];){const _0x2c172f=_0x51115d[_0x51ca16];if(_0x2c172f===this['currentRevision']){_0x51ca16++;continue;}if(_0x2c172f['id']===this['_initialRevisionId'])break;const _0x307f21=_0x3f50f0['toVersion']-_0x2c172f['toVersion']||_0x3f50f0['fromVersion']-_0x2c172f['fromVersion'];if(_0x307f21>0x0)break;if(_0x307f21<0x0)_0x51ca16++;else{if(!_0x3f50f0['creator']&&_0x2c172f['creator'])break;if(_0x2c172f['creator']||!_0x3f50f0['creator']){if(_0x3f50f0['createdAt']>_0x2c172f['createdAt'])break;_0x51ca16++;}else _0x51ca16++;}}return _0x51ca16;}['setRevisionData'](_0x582197){const _0x311065=this['repository']['getRevision'](_0x582197['id']);if(_0x582197['createdAt']&&(_0x582197['createdAt']=new Date(_0x582197['createdAt'])),_0x582197['authorsIds']){const _0x493f92=this['editor']['plugins']['get']('Users');_0x582197['authors']=_0x582197['authorsIds']['map'](_0x5b3f35=>_0x493f92['getUser'](_0x5b3f35));}_0x311065['_update'](_0x582197,!0x0);}['buildRevisionData']({revision:_0x21c72c=null,from:_0x46e761=null,to:_0x1fd505=null}){_0x46e761=null!==_0x46e761?_0x46e761:_0x21c72c['fromVersion'],_0x1fd505=null!==_0x1fd505?_0x1fd505:_0x21c72c['toVersion'];const _0x43c5ff=this['_revisionDataBuilder']['getData'](_0x46e761,_0x1fd505),_0x223d16={'diffData':_0x43c5ff['diffData'],'authorsIds':_0x43c5ff['authorsIds'],'fromVersion':_0x46e761,'toVersion':_0x1fd505};if(!_0x21c72c||_0x1fd505!==_0x21c72c['toVersion']){const _0x246a11=_0x1fd505-0x1,_0x26ad81=this['_source']['history']['getOperation'](_0x246a11);_0x223d16['createdAt']=_0x26ad81&&_0x26ad81['createdAt']||new Date();}if(this['_loadedStateData']&&_0x46e761===this['_loadedStateData']['fromVersion']){for(const _0x4f6763 of this['_loadedStateData']['authors'])_0x223d16['authorsIds']['includes'](_0x4f6763['id'])||_0x223d16['authorsIds']['push'](_0x4f6763['id']);}return _0x223d16;}['_loadRevisionData'](_0x80b7cc){if(!_0x80b7cc||_0x80b7cc['diffData'])return Promise['resolve']();{const _0x47c652=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0x47c652,'revisionId':_0x80b7cc['id']})['then'](_0x5b51d1=>{_0x80b7cc['diffData']=_0x5b51d1['diffData'];});}}['_bufferUpdate'](_0xcce380,_0x4ac8e8,_0x2e11d2){if(this['_bufferedUpdates']['has'](_0xcce380)){const _0x460306=this['_bufferedUpdates']['get'](_0xcce380);_0x4ac8e8=_0x2e11d2?{..._0x460306,..._0x4ac8e8}:{..._0x4ac8e8,..._0x460306};}this['_bufferedUpdates']['set'](_0xcce380,_0x4ac8e8);}['_getFromVersion'](_0x493df6){const _0x4ee69b=this['repository']['getRevisions']();_0x4ee69b['reverse'](),_0x4ee69b['shift']();const _0x5bfc7d=_0x4ee69b['find'](_0x120580=>_0x120580['toVersion']<=_0x493df6)['toVersion'];return _0x5bfc7d<this['_startingVersion']?this['_startingVersion']:_0x5bfc7d;}['_createInitialRevision'](_0x3b2fa9){const _0x251f08=this['repository']['getRevision'](this['repository']['length']-0x1);if(_0x251f08)this['_initialRevisionId']=_0x251f08['id'];else{const _0x37bcef=!this['editor']['model']['document']['roots']['find'](_0x303bbd=>this['editor']['model']['hasContent'](_0x303bbd)),_0x3e523d=this['editor']['plugins']['get']('Users')['me']['id'],_0x5a7c76=y(this['editor']['locale'],_0x37bcef?'Empty\x20document':'Initial\x20revision');this['_makeRevision']({'from':_0x3b2fa9,'to':_0x3b2fa9,'id':this['_initialRevisionId'],'name':_0x5a7c76,'creatorId':_0x3e523d});}}['_createCurrentRevision'](_0x567cfc){const _0x437b52=this['_source']['getCurrentRevisionId']();this['currentRevision']=this['repository']['getRevision'](_0x437b52),this['currentRevision']||(this['currentRevision']=this['_makeRevision']({'from':_0x567cfc,'to':_0x567cfc,'id':_0x437b52,'name':'','creatorId':null}));}['_makeRevision']({name:_0x30654f,from:_0x301c26,to:_0x36e17b,creatorId:_0x4cfa2c,id:_0x5d2b26}){const _0x384645=this['buildRevisionData']({'from':_0x301c26,'to':_0x36e17b});_0x384645['name']=_0x30654f,_0x384645['creatorId']=_0x4cfa2c,_0x384645['id']=_0x5d2b26;const _0xc8cb7=this['addRevisionData'](_0x384645);return this['adapter']&&this['_bufferUpdate'](_0x384645['id'],_0x384645,!0x0),_0xc8cb7;}['_setConversion'](){this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'});}['_removeRevisionMarkers'](_0x40fae5){return(_0x40fae5=_0x40fae5['filter'](_0x212e17=>!_0x212e17['name']||'revision-start'!==_0x212e17['name']&&'revision-end'!==_0x212e17['name']))['forEach'](_0x2e89a6=>{'string'!=typeof _0x2e89a6&&(_0x2e89a6['children']=this['_removeRevisionMarkers'](_0x2e89a6['children']),_0x2e89a6['attributes']=_0x2e89a6['attributes']['filter'](_0x142349=>!_0x142349[0x0]['startsWith']('data-revision-')));}),_0x40fae5;}}function B(_0x5bd90c,_0x188f2d){const _0x5e9f80=_0x188f2d['editing']['view']['document'];if('string'==typeof _0x5bd90c)return new _0x5ba681(_0x5e9f80,_0x5bd90c);{const _0x10a528=_0x5bd90c['children']['map'](_0x28ec0f=>B(_0x28ec0f,_0x188f2d));return new(T[_0x5bd90c['type']]||_0x169bd2)(_0x5e9f80,_0x5bd90c['name'],_0x5bd90c['attributes'],_0x10a528);}}class J{['editor'];['source'];['_savedMetaData'];['_lastFrom'];['_lastTo'];['_markers'];['_diffRoots'];['_diffRootsAttributes'];['_baseRoots'];['_baseRootsAttributes'];['_idsRoots'];['_baseIdsRoots'];['_touched'];['_touchedMarkers'];['_touchedRoots'];['_revisionId'];['_startingRevisionId'];constructor(_0x48448c){this['editor']=_0x48448c,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'](_0x119e3a){this['source']=_0x119e3a;const _0x5380e0=new Map(),_0x56ea6d=new Map(),_0x1686f3=this['editor']['model']['document']['roots']['map'](_0x116f12=>_0x116f12['rootName']);for(const _0x175ebe of _0x1686f3){const _0x2568fe=this['editor']['model']['document']['getRoot'](_0x175ebe),_0x268836=q(_0x2568fe);_0x5380e0['set'](_0x175ebe,_0x268836),_0x56ea6d['set'](_0x175ebe,Object['fromEntries'](_0x2568fe['getAttributes']()));}const _0x5e57bb=Array['from'](this['editor']['model']['markers'])['map'](_0x14522c=>[_0x14522c['name'],_0x14522c['getRange']()]),_0x4a0413=this['source']['version'];this['_saveMetaData'](_0x4a0413,_0x5380e0,_0x5e57bb,_0x56ea6d),this['_startingRevisionId']=this['_revisionId'];const _0x3502ed=new Map(),_0x1cdd2a=new Map();for(const _0x2b3f58 of _0x1686f3){const _0x3127bc=G(_0x2b3f58);_0x3502ed['set'](_0x2b3f58,_0x3127bc),_0x1cdd2a['set'](_0x2b3f58,{});}this['_saveMetaData'](Number['NEGATIVE_INFINITY'],_0x3502ed,[],_0x1cdd2a);}['getData'](_0x48f1e1,_0x183121){if(this['_lastFrom']===_0x48f1e1&&this['_lastTo']<=_0x183121)this['_savedMetaData']['size']>0x1&&this['_removeMetaData'](this['_lastTo']),this['_applyOperations'](this['_lastTo'],_0x183121,!0x0);else{if(!this['_savedMetaData']['has'](_0x48f1e1)){const _0xa09bd6=this['_getPreviousFrom'](_0x48f1e1);this['_calculateMetaData'](_0xa09bd6,_0x48f1e1,!0x1);}this['_calculateMetaData'](_0x48f1e1,_0x183121,!0x0);}return this['_lastFrom']=_0x48f1e1,this['_lastTo']=_0x183121,this['_getState']();}['loadState'](_0x5ad270){this['_reset'](),this['_lastFrom']=_0x5ad270['fromVersion'],this['_lastTo']=_0x5ad270['toVersion'];for(const _0x2030dd in _0x5ad270['diffData']){const _0xef6bb7=_0x5ad270['diffData'][_0x2030dd]['attachChange'],_0x5c113=_0x4fc80e(_0x5ad270['diffData'][_0x2030dd]['attributesBefore'])||{},_0x508fc7=this['_makeModelFromViewString'](_0x5ad270['diffData'][_0x2030dd]['deletions']);_0x508fc7['rootName']=_0x2030dd,_0x508fc7['_isAttached']=!_0xef6bb7||!_0xef6bb7['isAttached'],_0x508fc7['isAttached']=()=>_0x508fc7['_isAttached'],this['_baseRoots']['set'](_0x2030dd,_0x508fc7),this['_baseRootsAttributes']['set'](_0x2030dd,_0x5c113),_0xef6bb7&&this['_touchedRoots']['set'](_0x2030dd,_0xef6bb7);const _0x2d72fd=this['_makeIdsRoot'](_0x508fc7);this['_baseIdsRoots']['set'](_0x2030dd,_0x2d72fd);for(const [_0x3409aa,_0x3bd61d]of _0x508fc7['markers']){if(!_0x3409aa['startsWith']('revision:'))continue;const _0x597e91=_0x3409aa['split'](':')[0x2];for(const _0x5f6c of _0x3bd61d['getWalker']({'singleCharacters':!0x0})){const _0x116551=this['_getVidAttributeName'](_0x5f6c),_0x1f9edd='elementEnd'==_0x5f6c['type']?_0x5f6c['previousPosition']['path']['slice'](0x0,-0x1):_0x5f6c['previousPosition']['path'],_0x3f1096=_0x2d72fd['getNodeByPath'](_0x1f9edd)['getAttribute'](_0x116551);this['_touched']['set'](_0x3f1096,{'userId':_0x597e91});}}}this['_startingRevisionId']=this['_revisionId'];const _0x463fae=[...Array(this['_revisionId'])['keys']()]['slice'](0x1)['filter'](_0x932539=>!this['_touched']['has'](_0x932539));let _0x251182=0x0;const _0x2304fa=new Map();for(const _0x14c74d in _0x5ad270['diffData']){const _0x188920=_0x5ad270['diffData'][_0x14c74d]['attachChange'],_0x1ca6a9=_0x4fc80e(_0x5ad270['diffData'][_0x14c74d]['attributesAfter'])||{},_0x1ee6a5=this['_makeModelFromViewString'](_0x5ad270['diffData'][_0x14c74d]['insertions']);_0x1ee6a5['rootName']=_0x14c74d,_0x1ee6a5['_isAttached']=!_0x188920||_0x188920['isAttached'],_0x1ee6a5['isAttached']=()=>_0x1ee6a5['_isAttached'],this['_diffRoots']['set'](_0x14c74d,_0x1ee6a5),this['_diffRootsAttributes']['set'](_0x14c74d,_0x1ca6a9);const _0x3f50fb=this['_makeIdsRoot'](_0x1ee6a5,Number['NEGATIVE_INFINITY']);this['_idsRoots']['set'](_0x14c74d,_0x3f50fb),_0x2304fa['set'](_0x14c74d,_0x1ee6a5['isAttached']()?_0x1ca6a9:{});for(const [_0x5a997d,_0x30cf33]of _0x1ee6a5['markers']){if(!_0x5a997d['startsWith']('revision:'))continue;const _0x23c0a2=_0x5a997d['split'](':')[0x2];for(const _0xa46da7 of _0x30cf33['getWalker']({'singleCharacters':!0x0})){const _0x51b2a4=this['_getVidAttributeName'](_0xa46da7),_0x23cc1b=this['_revisionId']++,_0x1d10d4='elementEnd'==_0xa46da7['type']?_0xa46da7['previousPosition']['path']['slice'](0x0,-0x1):_0xa46da7['previousPosition']['path'];_0x3f50fb['getNodeByPath'](_0x1d10d4)['_setAttribute'](_0x51b2a4,_0x23cc1b),this['_touched']['set'](_0x23cc1b,{'userId':_0x23c0a2});}}for(const _0x2517ff of this['editor']['model']['createRangeIn'](_0x1ee6a5)['getWalker']({'singleCharacters':!0x0})){const _0x5964ad=this['_getVidAttributeName'](_0x2517ff),_0x10859b='elementEnd'==_0x2517ff['type']?_0x2517ff['previousPosition']['path']['slice'](0x0,-0x1):_0x2517ff['previousPosition']['path'],_0x1f83b1=_0x3f50fb['getNodeByPath'](_0x10859b);_0x1f83b1['getAttribute'](_0x5964ad)>0x0||_0x1f83b1['_setAttribute'](_0x5964ad,_0x463fae[_0x251182++]);}for(const [_0x4ab496,_0x3a2de4]of _0x1ee6a5['markers'])_0x4ab496['startsWith']('revision:')||this['_markers']['set'](_0x4ab496,_0x3a2de4);}const _0x3ed697=G('$graveyard');this['_baseRoots']['set']('$graveyard',_0x3ed697),this['_baseIdsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x3ed697,0x1));const _0xdc45a3=G('$graveyard');this['_diffRoots']['set']('$graveyard',_0xdc45a3),this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0xdc45a3,0x1));const _0x304c74=Array['from'](this['_diffRoots'])['map'](([_0x2f2d2f,_0xa3d1ae])=>[_0x2f2d2f,q(_0xa3d1ae)]);this['_saveMetaData'](this['_lastTo'],_0x304c74,this['_markers'],_0x2304fa);}['_makeModelFromViewString'](_0x14baa7){const _0x72ace2=JSON['parse'](_0x14baa7),_0x5eb558=this['editor']['editing']['view']['document'],_0x3445f2=new _0x213bf8(_0x5eb558,_0x72ace2['map'](_0x1ec92f=>B(_0x1ec92f,this['editor'])));return this['editor']['data']['toModel'](_0x3445f2);}['_saveMetaData'](_0x2e4ed7,_0xcf3c3a,_0x2a036d,_0x2822e9){const _0x2f9bae=new Map(_0xcf3c3a),_0x12615a=new Map(_0x4fc80e(_0x2822e9)),_0x36f6e2=new Map();for(const [_0x16f74d,_0x5182ee]of _0x2a036d)_0x36f6e2['set'](_0x16f74d,{'start':_0x5182ee['start']['clone'](),'end':_0x5182ee['end']['clone'](),'rootName':_0x5182ee['root']['rootName']});this['_savedMetaData']['set'](_0x2e4ed7,{'roots':_0x2f9bae,'markers':_0x36f6e2,'rootsAttributes':_0x12615a});}['_removeMetaData'](_0x371660){this['_savedMetaData']['delete'](_0x371660);}['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'](_0x4b0b73,_0x2e3305=null){let _0x54d06a=null;_0x4b0b73['is']('documentFragment')||(_0x54d06a=new ft(_0x4b0b73['name'],{'vid_start':null===_0x2e3305?this['_revisionId']++:_0x2e3305++}));const _0x106069=[];for(const _0xc4eeb9 of _0x4b0b73['getChildren']())if(_0xc4eeb9['is']('element')){_0x106069['push'](this['_makeIdsRoot'](_0xc4eeb9,_0x2e3305));const _0x313ed6=_0x106069[_0x106069['length']-0x1];null!==_0x2e3305&&(_0x2e3305=_0x313ed6['is']('element','$text')?_0x313ed6['getAttribute']('vid')+0x1:_0x313ed6['getAttribute']('vid_end')+0x1);}else{for(let _0x58e93c=0x0;_0x58e93c<_0xc4eeb9['offsetSize'];_0x58e93c++)_0x106069['push'](new ft('$text',{'vid':null===_0x2e3305?this['_revisionId']++:_0x2e3305++}));}if(_0x4b0b73['is']('documentFragment')){const _0x2c727f=G(_0x4b0b73['rootName']);return _0x2c727f['_insertChild'](0x0,_0x106069),_0x2c727f;}return _0x54d06a['_setAttribute']('vid_end',null===_0x2e3305?this['_revisionId']++:_0x2e3305++),_0x54d06a['_insertChild'](0x0,_0x106069),_0x54d06a;}['_calculateMetaData'](_0x4e0557,_0x4cb148,_0x242585){this['_reset']();const {roots:_0x3711b0,markers:_0x1ec2c8,rootsAttributes:_0x3b61ba}=this['_savedMetaData']['get'](_0x4e0557);this['_baseRoots']=new Map(_0x3711b0),this['_baseRootsAttributes']=new Map(_0x4fc80e(_0x3b61ba));for(const [_0x150926,_0x3d1110]of this['_baseRoots'])if('$graveyard'!==_0x150926&&(this['_diffRoots']['set'](_0x150926,q(_0x3d1110)),this['_diffRootsAttributes']=new Map(_0x4fc80e(_0x3b61ba)),_0x242585)){const _0x48c5a8=this['_revisionId'];this['_idsRoots']['set'](_0x150926,this['_makeIdsRoot'](_0x3d1110)),this['_baseIdsRoots']['set'](_0x150926,this['_makeIdsRoot'](_0x3d1110,_0x48c5a8));}this['_startingRevisionId']=this['_revisionId'],this['_diffRoots']['set']('$graveyard',q(this['_baseRoots']['get']('$graveyard'))),_0x242585&&this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](this['_baseRoots']['get']('$graveyard')));for(const [_0x438d81,_0x448fdf]of _0x1ec2c8){const _0x2439c3=this['_baseRoots']['get'](_0x448fdf['rootName']),_0x5cc319=this['_diffRoots']['get'](_0x448fdf['rootName']),_0x188ffd=new vt(this['_fixPosition'](_0x448fdf['start'],_0x2439c3),this['_fixPosition'](_0x448fdf['end'],_0x2439c3)),_0x2a5173=this['_fixRange'](_0x188ffd,_0x5cc319);_0x2439c3['markers']['set'](_0x438d81,_0x188ffd),this['_markers']['set'](_0x438d81,_0x2a5173);}this['_applyOperations'](_0x4e0557,_0x4cb148,_0x242585);}['_applyOperations'](_0x1612fd,_0x440e79,_0x40e88a){for(const _0x1f4c6c of this['source']['getOperations'](_0x1612fd,_0x440e79))this['_handleOperation'](_0x1f4c6c,_0x40e88a);for(const _0x1f1e06 of this['_diffRoots']['values']())_0x1f1e06['markers']['clear']();for(const [_0x280c5c,_0x42d776]of this['_markers']){this['_diffRoots']['get'](_0x42d776['root']['rootName'])['markers']['set'](_0x280c5c,_0x42d776['clone']());}const _0x1179fa=new Map(),_0x21404a=new Map();for(const [_0x21dfc3,_0x162caf]of this['_diffRoots'])_0x1179fa['set'](_0x21dfc3,q(_0x162caf)),_0x21404a['set'](_0x21dfc3,this['_diffRootsAttributes']['get'](_0x21dfc3));this['_saveMetaData'](_0x440e79,_0x1179fa,this['_markers'],_0x21404a);}['_getPreviousFrom'](_0x2e530a){const _0x1de354=Array['from'](this['_savedMetaData']['keys']());_0x1de354['sort']((_0x25b45b,_0x3a0b5d)=>_0x25b45b-_0x3a0b5d),_0x1de354['reverse']();for(const _0x35137a of _0x1de354)if(_0x35137a<_0x2e530a)return _0x35137a;return Number['NEGATIVE_INFINITY'];}['_copyMarkers'](_0x455756,_0x29b4ab){const _0xd850f=Array['from'](_0x29b4ab['markers'])['map'](([_0x2ff37c,_0x2e0632])=>[_0x2ff37c,this['_fixRange'](_0x2e0632,_0x455756)]);_0x455756['markers']=new Map(_0xd850f);}['_transformMarkers'](_0x522947){for(const _0x470ae0 of this['_markers']['values']()){const _0x3827cd=_0x470ae0['getTransformedByOperation'](_0x522947),_0x4bba57=vt['_createFromRanges'](_0x3827cd);_0x470ae0['start']=_0x4bba57['start'],_0x470ae0['end']=_0x4bba57['end'];}}['_handleOperation'](_0xd2c14c,_0x424f68){if('addRoot'==_0xd2c14c['type']||'detachRoot'==_0xd2c14c['type'])return void this['_handleRootOperation'](_0xd2c14c,_0x424f68);if('insert'==_0xd2c14c['type']){const _0x4a81bd=_0xd2c14c['position']['root']['rootName'];this['_diffRoots']['has'](_0x4a81bd)||(this['_diffRoots']['set'](_0x4a81bd,G(_0x4a81bd,!0x0)),this['_diffRootsAttributes']['set'](_0x4a81bd,{}),_0x424f68&&this['_idsRoots']['set'](_0x4a81bd,G(_0x4a81bd,!0x0)));}else{if('addRootAttribute'==_0xd2c14c['type']||'removeRootAttribute'==_0xd2c14c['type']||'changeRootAttribute'==_0xd2c14c['type'])return void this['_handleRootAttributeOperation'](_0xd2c14c);}const _0x1b3ee9=this['_cloneOperation'](_0xd2c14c,this['_diffRoots']);if('marker'!==_0xd2c14c['type']&&(_0x1b3ee9['_execute'](),this['_transformMarkers'](_0x1b3ee9)),_0x424f68)switch(_0x1b3ee9['type']){case'insert':this['_handleInsertOperation'](_0xd2c14c);break;case'move':case'remove':case'reinsert':this['_handleMoveOperation'](_0xd2c14c);break;case'merge':this['_handleMergeOperation'](_0xd2c14c);break;case'split':this['_handleSplitOperation'](_0xd2c14c);break;case'marker':this['_handleMarkerOperation'](_0xd2c14c);}}['_cloneOperation'](_0x5dcdff,_0x32713d){const _0x8948f2=_0x5dcdff['clone']();return _0x8948f2['_authorId']=_0x5dcdff['_authorId'],this['_fixOperation'](_0x8948f2,_0x32713d),_0x8948f2;}['_getBaseVids'](_0x7e2f74){return _0x7e2f74['map'](_0x19229b=>{const _0x470b4a=this['_getVidAttributeName'](_0x19229b);return Number(_0x19229b['item']['getAttribute'](_0x470b4a));});}['_generateTape'](_0x10c7dc,_0x5d8d59){if(_0x10c7dc['is']('element','$text'))_0x5d8d59['push']({'item':_0x10c7dc,'type':'text'});else{_0x10c7dc['is']('element')&&_0x5d8d59['push']({'item':_0x10c7dc,'type':'elementStart'});for(const _0xc0f5fd of _0x10c7dc['getChildren']())this['_generateTape'](_0xc0f5fd,_0x5d8d59);_0x10c7dc['is']('element')&&_0x5d8d59['push']({'item':_0x10c7dc,'type':'elementEnd'});}return _0x5d8d59;}['_getState'](){const _0x1ba164=new Map(this['_touched']),_0x3859da=new Map(_0x1ba164),_0x1b03b9=new Map(),_0x32cb1d={'insertions':{},'deletions':{}},_0x344fab={'insertions':{},'deletions':{}},_0x1c8f82=new Map(),_0x3a37c0=new Set([...this['_baseRoots']['keys'](),...this['_diffRoots']['keys']()]);_0x3a37c0['delete']('$graveyard');for(const _0x4418b9 of _0x3a37c0){const _0x4d857a=this['_diffRoots']['get'](_0x4418b9)||G(_0x4418b9,!0x1),_0x14f5fe=this['_baseRoots']['get'](_0x4418b9)||G(_0x4418b9,!0x1);_0x4d857a['isAttached']()||_0x14f5fe['isAttached']()?(_0x32cb1d['insertions'][_0x4418b9]=q(_0x4d857a),_0x32cb1d['deletions'][_0x4418b9]=q(_0x14f5fe),this['_copyMarkers'](_0x32cb1d['deletions'][_0x4418b9],_0x14f5fe),this['_copyMarkers'](_0x32cb1d['insertions'][_0x4418b9],_0x4d857a),_0x344fab['insertions'][_0x4418b9]=this['_generateTape'](this['_idsRoots']['get'](_0x4418b9),[]),_0x344fab['deletions'][_0x4418b9]=this['_generateTape'](this['_baseIdsRoots']['get'](_0x4418b9)||G(_0x4418b9,!0x1),[])):_0x3a37c0['delete'](_0x4418b9);}for(const _0x11024b of _0x3a37c0){const _0x5c7b5f=_0x344fab['insertions'][_0x11024b];for(const _0x5efa47 of _0x5c7b5f){const _0x80f377=this['_getVidAttributeName'](_0x5efa47),_0x443dd6=_0x5efa47['item']['getAttribute'](_0x80f377);_0x3859da['delete'](_0x443dd6),_0x443dd6>=this['_startingRevisionId']&&_0x1b03b9['set'](_0x443dd6,_0x1ba164['get'](_0x443dd6));}}for(const _0x3a17eb of _0x3a37c0){const _0x59f6db=_0x344fab['insertions'][_0x3a17eb],_0x326fb0=this['_getBaseVids'](_0x344fab['deletions'][_0x3a17eb]);let _0x25c1c7=0x0;for(const _0x58d215 of _0x59f6db){const _0x17f884=this['_getVidAttributeName'](_0x58d215),_0x4fb1b3=_0x58d215['item']['getAttribute'](_0x17f884);if(!_0x1b03b9['has'](_0x4fb1b3)&&!_0x1c8f82['has'](_0x4fb1b3)){if(_0x3859da['has'](_0x4fb1b3))_0x25c1c7++;else{if(_0x4fb1b3!=_0x326fb0[_0x25c1c7]){const _0x84c88f=_0x1ba164['get'](_0x4fb1b3)||_0x1ba164['get'](_0x326fb0[_0x25c1c7]);for(;_0x4fb1b3!=_0x326fb0[_0x25c1c7];)_0x3859da['has'](_0x326fb0[_0x25c1c7])||(_0x1c8f82['set'](_0x326fb0[_0x25c1c7],_0x84c88f),_0x1ba164['set'](_0x326fb0[_0x25c1c7],_0x84c88f)),_0x25c1c7++;}_0x25c1c7++;}}}}for(const _0x15122c of _0x3a37c0){const _0x47b79e=_0x344fab['insertions'][_0x15122c];for(const _0x83d6e6 of _0x47b79e){const _0x3f587e=this['_getVidAttributeName'](_0x83d6e6),_0x13a455=_0x83d6e6['item']['getAttribute'](_0x3f587e);if(_0x1c8f82['has'](_0x13a455)){const _0x4f6294=_0x1c8f82['get'](_0x13a455);_0x3859da['has'](_0x13a455)||_0x3859da['set'](_0x13a455,{..._0x4f6294}),_0x1b03b9['set'](_0x13a455,{..._0x4f6294});}}}for(const _0x533b71 of _0x3859da['keys']())_0x533b71>=this['_startingRevisionId']&&_0x3859da['delete'](_0x533b71);const _0xd59854=new Map();for(const _0x3244c2 of _0x3a37c0){let _0x986806=_0x344fab['insertions'][_0x3244c2];for(const _0x2eb4b4 of _0x986806)if(_0x2eb4b4['item']['is']('element','tableCell')){const _0x7dfe28=this['_getVidAttributeName'](_0x2eb4b4),_0x3b0319=_0x2eb4b4['item']['getAttribute'](_0x7dfe28);if(_0x1b03b9['has'](_0x3b0319)){const _0x1a4c82=_0x2eb4b4['item']['parent']['parent']['getAttribute']('vid_start'),_0x5443ae=_0xd59854['get'](_0x1a4c82)||new Set();_0x5443ae['add'](_0x1b03b9['get'](_0x3b0319)['userId']),_0xd59854['set'](_0x1a4c82,_0x5443ae);}}_0x986806=_0x344fab['deletions'][_0x3244c2];for(const _0x378a91 of _0x986806)if(_0x378a91['item']['is']('element','tableCell')){const _0x4060a3=this['_getVidAttributeName'](_0x378a91),_0x493ad8=_0x378a91['item']['getAttribute'](_0x4060a3);if(_0x3859da['has'](_0x493ad8)){const _0x2bfab6=_0x378a91['item']['parent']['parent']['getAttribute']('vid_start'),_0x12bb2c=_0xd59854['get'](_0x2bfab6)||new Set();_0x12bb2c['add'](_0x3859da['get'](_0x493ad8)['userId']),_0xd59854['set'](_0x2bfab6,_0x12bb2c);}}for(const _0x575668 of _0xd59854['keys']())(_0x1b03b9['has'](_0x575668)||_0x3859da['has'](_0x575668))&&_0xd59854['delete'](_0x575668);}for(const _0xf176b8 of _0x3a37c0){const _0xeefabe=_0x344fab['insertions'][_0xf176b8];let _0x114dd6=null,_0x345966=null;for(const _0x34790f of _0xeefabe){const _0x5e4395=this['_getVidAttributeName'](_0x34790f),_0x5e3573=_0x34790f['item']['getAttribute'](_0x5e4395),_0x1d10f6=_0xd59854['get'](_0x5e3573);_0x1d10f6&&'elementStart'==_0x34790f['type']&&(_0x114dd6=Array['from'](_0x1d10f6)[0x0],_0x345966=_0x34790f['item']['getAttribute']('vid_end')),_0x114dd6&&(_0x3859da['set'](_0x5e3573,{'userId':_0x114dd6}),_0x1b03b9['set'](_0x5e3573,{'userId':_0x114dd6})),_0x5e3573==_0x345966&&(_0x114dd6=null,_0x345966=null);}}const _0x4953d8={},_0x290dea=new Set();for(const _0x222023 of _0x3a37c0){const _0x5e8dde=_0x32cb1d['deletions'][_0x222023],_0x2e31aa=_0x32cb1d['insertions'][_0x222023];for(const {userId:_0x6e5b80}of this['_touchedMarkers']['values']())null!==_0x6e5b80&&_0x290dea['add'](_0x6e5b80);for(const {userId:_0x35bca6}of this['_touchedRoots']['values']())null!==_0x35bca6&&_0x290dea['add'](_0x35bca6);this['_markChanges'](_0x2e31aa,_0x344fab['insertions'][_0x222023],_0x1b03b9,'insertion',_0x290dea),this['_markChanges'](_0x5e8dde,_0x344fab['deletions'][_0x222023],_0x3859da,'deletion',_0x290dea),_0x4953d8[_0x222023]={'insertions':this['_prepareViewToSave'](_0x2e31aa),'deletions':this['_prepareViewToSave'](_0x5e8dde),'attachChange':this['_touchedRoots']['get'](_0x222023)||null,'attributesBefore':_0x4fc80e(this['_baseRootsAttributes']['get'](_0x222023))||{},'attributesAfter':_0x4fc80e(this['_diffRootsAttributes']['get'](_0x222023))};}return{'diffData':_0x4953d8,'authorsIds':Array['from'](_0x290dea)};}['_processRootBeforeSave'](_0x4aa778){for(const [,_0x4e138b]of _0x4aa778['markers']){const _0x1c8e73=_0x4e138b['start']['getAncestors']()['filter'](_0x21ed06=>'tableCell'==_0x21ed06['name']);for(const _0x3de00c of _0x1c8e73)0x1==_0x3de00c['childCount']&&_0x3de00c['getChild'](0x0)['is']('element','paragraph')&&_0x3de00c['getChild'](0x0)['_setAttribute']('keepParagraph',!0x0);}}['_prepareViewToSave'](_0x1d2018){this['_processRootBeforeSave'](_0x1d2018);const _0x5c7e7c=this['editor']['data']['toView'](_0x1d2018,{}),_0x3662e9=Array['from'](_0x5c7e7c['getChildren']())['map'](_0x3bdd0a=>this['_getViewJson'](_0x3bdd0a));return JSON['stringify'](_0x3662e9);}['_getViewJson'](_0x57359e){if(_0x57359e['is']('$text'))return _0x57359e['data'];{const _0x2dd7f9=_0x57359e;return{'type':Object['keys'](T)['find'](_0x4783ef=>_0x57359e instanceof T[_0x4783ef]),'name':_0x2dd7f9['name'],'attributes':Array['from'](_0x2dd7f9['getAttributes']()),'children':Array['from'](_0x2dd7f9['getChildren']())['map'](_0x401086=>this['_getViewJson'](_0x401086))};}}['_markChanges'](_0x1d070e,_0xe75c0d,_0x5c724a,_0x46c747,_0x2bf7ef){let _0x186ea1=null,_0x1b2cd7=null,_0x16eeda=0x0;const _0x24cb24=this['editor']['model'];for(let _0xf627ff=0x0;_0xf627ff<_0xe75c0d['length'];_0xf627ff++){const _0x29310e=this['_getVidAttributeName'](_0xe75c0d[_0xf627ff]),_0x37d0ee=_0xe75c0d[_0xf627ff]['item']['getAttribute'](_0x29310e),_0x4a60da=_0x5c724a['get'](_0x37d0ee),_0x32b4c8=_0xf627ff==_0xe75c0d['length']-0x1;(!_0x186ea1&&_0x4a60da&&(_0x186ea1=_0x4a60da,_0x1b2cd7=_0xe75c0d[_0xf627ff]),_0x186ea1&&(!_0x4a60da||_0x4a60da['userId']!=_0x186ea1['userId']))&&(_0x37df8a(_0x4a60da,L(_0x1b2cd7,_0x1d070e,_0x24cb24),L(_0xe75c0d[_0xf627ff],_0x1d070e,_0x24cb24)),_0x186ea1=_0x4a60da||null,_0x1b2cd7=_0x4a60da?_0xe75c0d[_0xf627ff]:null),_0x186ea1&&_0x32b4c8&&_0x37df8a(_0x4a60da,L(_0x1b2cd7,_0x1d070e,_0x24cb24),W(_0xe75c0d[_0xf627ff],_0x1d070e,_0x24cb24));}function _0x37df8a(_0x45e61a,_0xdb7997,_0x52de11){const _0x5eafb4=_0x186ea1['userId'],_0x25aec1='revision:'+_0x46c747+':'+_0x5eafb4+':'+_0x16eeda++,_0x1ca795=_0x24cb24['createRange'](_0xdb7997,_0x52de11);_0x1d070e['markers']['set'](_0x25aec1,_0x1ca795),null!==_0x5eafb4&&_0x2bf7ef['add'](_0x5eafb4);}}['_getVidAttributeName'](_0x26f4ae){switch(_0x26f4ae['type']){case'elementStart':return'vid_start';case'elementEnd':return'vid_end';default:return'vid';}}['_fixOperation'](_0x8fefb0,_0x33a5dd){_0x8fefb0['baseVersion']=null;for(const _0x17786a in _0x8fefb0){const _0x4043c6=_0x8fefb0[_0x17786a];if(_0x4043c6 instanceof gt){const _0x5e8f8d=_0x33a5dd['get'](_0x4043c6['root']['rootName']);_0x8fefb0[_0x17786a]=this['_fixPosition'](_0x4043c6,_0x5e8f8d);}if(_0x4043c6 instanceof vt){const _0x1d7ab9=_0x33a5dd['get'](_0x4043c6['root']['rootName']);_0x8fefb0[_0x17786a]=this['_fixRange'](_0x4043c6,_0x1d7ab9);}'root'===_0x17786a&&(_0x8fefb0['root']=_0x33a5dd['get'](_0x8fefb0['root']['rootName']));}}['_fixRange'](_0x31d54d,_0x47ac93){return this['editor']['model']['createRange'](this['_fixPosition'](_0x31d54d['start'],_0x47ac93),this['_fixPosition'](_0x31d54d['end'],_0x47ac93));}['_fixPosition'](_0x4a6f7e,_0x545240){return this['editor']['model']['createPositionFromPath'](_0x545240,_0x4a6f7e['path'],_0x4a6f7e['stickiness']);}['_handleInsertOperation'](_0x528c2d){const _0x47e6e0=this['_idsRoots']['get'](_0x528c2d['position']['root']['rootName']),_0x6e98da=this['_fixPosition'](_0x528c2d['position'],_0x47e6e0),_0x5ea314=null===_0x528c2d['_authorId']?null:_0x528c2d['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x39e4dd=_0x6e98da['parent'],_0x45a8d1=this['_revisionId'],_0x53d152=[];for(const _0x1953cc of _0x528c2d['nodes'])if(_0x1953cc['is']('element'))_0x53d152['push'](this['_makeIdsRoot'](_0x1953cc));else{for(let _0xffe08=0x0;_0xffe08<_0x1953cc['offsetSize'];_0xffe08++)_0x53d152['push'](new ft('$text',{'vid':this['_revisionId']++}));}const _0x50a8a4=this['_revisionId'];for(let _0x1c7887=_0x45a8d1;_0x1c7887<_0x50a8a4;_0x1c7887++)this['_touched']['set'](_0x1c7887,{'userId':_0x5ea314});_0x39e4dd['_insertChild'](_0x6e98da['offset'],_0x53d152);}['_handleMoveOperation'](_0x1676f2){(_0x1676f2=this['_cloneOperation'](_0x1676f2,this['_idsRoots']))['_execute']();const _0x4386d4=null===_0x1676f2['_authorId']?null:_0x1676f2['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x4ec21c=_0x1676f2['getMovedRangeStart'](),_0x2b67fc=_0x4ec21c['parent'],_0x2efa7d=_0x4ec21c['offset'];!function _0x594583(_0x1f0ed4,_0x4baa57,_0x20f435,_0x12c6fd){for(let _0x5c9c04=_0x20f435;_0x5c9c04<_0x12c6fd;_0x5c9c04++){const _0x5a0c61=_0x4baa57['getChild'](_0x5c9c04);_0x5a0c61['is']('element','$text')?_0x1f0ed4['set'](_0x5a0c61['getAttribute']('vid'),{'userId':_0x4386d4}):(_0x1f0ed4['set'](_0x5a0c61['getAttribute']('vid_start'),{'userId':_0x4386d4}),_0x594583(_0x1f0ed4,_0x5a0c61,0x0,_0x5a0c61['childCount']),_0x1f0ed4['set'](_0x5a0c61['getAttribute']('vid_end'),{'userId':_0x4386d4}));}}(this['_touched'],_0x2b67fc,_0x2efa7d,_0x2efa7d+_0x1676f2['howMany']);}['_handleMergeOperation'](_0x16287b){const _0x594e9c=null===(_0x16287b=this['_cloneOperation'](_0x16287b,this['_idsRoots']))['_authorId']?null:_0x16287b['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x109ad1=_0x16287b['targetPosition']['parent'],_0x3640cd=_0x16287b['sourcePosition']['parent'],_0x5c7339=_0x109ad1['getAttribute']('vid_end'),_0x4c1a20=_0x3640cd['getAttribute']('vid_start');_0x109ad1['_setAttribute']('vid_end',_0x3640cd['getAttribute']('vid_end')),_0x3640cd['_setAttribute']('vid_end',_0x5c7339),this['_touched']['set'](_0x4c1a20,{'userId':_0x594e9c}),this['_touched']['set'](_0x5c7339,{'userId':_0x594e9c}),_0x16287b['_execute']();}['_handleSplitOperation'](_0x460e23){const _0x2c1227=null===(_0x460e23=this['_cloneOperation'](_0x460e23,this['_idsRoots']))['_authorId']?null:_0x460e23['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x33e81f=_0x460e23['graveyardPosition'],_0x2cc8f5=_0x460e23['splitPosition']['parent'];_0x460e23['_execute']();const _0x24ec36=_0x2cc8f5['getAttribute']('vid_end'),_0x20e7fc=_0x460e23['insertionPosition']['nodeAfter'];if(_0x33e81f){const _0x173099=_0x20e7fc['getAttribute']('vid_end'),_0x3b8f9d=_0x2cc8f5['getAttribute']('vid_end');_0x2cc8f5['_setAttribute']('vid_end',_0x173099),_0x20e7fc['_setAttribute']('vid_end',_0x3b8f9d),this['_touched']['set'](_0x2cc8f5['getAttribute']('vid_end'),{'userId':_0x2c1227}),this['_touched']['set'](_0x20e7fc['getAttribute']('vid_start'),{'userId':_0x2c1227});}else{const _0x53a552=this['_revisionId']++,_0x58c446=this['_revisionId']++;_0x2cc8f5['_setAttribute']('vid_end',_0x53a552),_0x20e7fc['_setAttribute']('vid_start',_0x58c446),_0x20e7fc['_setAttribute']('vid_end',_0x24ec36),this['_touched']['set'](_0x53a552,{'userId':_0x2c1227}),this['_touched']['set'](_0x58c446,{'userId':_0x2c1227});}}['_handleMarkerOperation'](_0x209cf8){if(!_0x209cf8['affectsData'])return;const _0xe7512c=(_0x209cf8=this['_cloneOperation'](_0x209cf8,this['_diffRoots']))['oldRange']?_0x209cf8['oldRange']['root']:null,_0x2fd0b7=_0x209cf8['newRange']?_0x209cf8['newRange']['root']:null;_0xe7512c&&this['_markers']['delete'](_0x209cf8['name']),_0x2fd0b7&&this['_markers']['set'](_0x209cf8['name'],_0x209cf8['newRange']['clone']());const _0x1a723c=null===_0x209cf8['_authorId']?null:_0x209cf8['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x1d07fd=_0x209cf8['name'];if(!this['_touchedMarkers']['has'](_0x1d07fd))return void this['_touchedMarkers']['set'](_0x1d07fd,{'range':_0x209cf8['oldRange'],'userId':_0x1a723c});const _0xcc5ebb=this['_touchedMarkers']['get'](_0x1d07fd),_0x1d0e81=_0xcc5ebb['range'],_0x35862e=_0x209cf8['newRange'];null==_0x1d0e81&&null==_0x35862e||_0x1d0e81&&_0x35862e&&_0x1d0e81['isEqual'](_0x35862e)?this['_touchedMarkers']['delete'](_0x209cf8['name']):_0xcc5ebb['userId']=_0x1a723c;}['_handleRootOperation'](_0x4d3159,_0x4455f9){this['_diffRoots']['has'](_0x4d3159['rootName'])?this['_diffRoots']['get'](_0x4d3159['rootName'])['_isAttached']=_0x4d3159['isAdd']:(this['_diffRoots']['set'](_0x4d3159['rootName'],G(_0x4d3159['rootName'],!0x0)),this['_diffRootsAttributes']['set'](_0x4d3159['rootName'],{}),_0x4455f9&&this['_idsRoots']['set'](_0x4d3159['rootName'],G(_0x4d3159['rootName'],!0x0)));const _0x1e3ef0=null===_0x4d3159['_authorId']?null:_0x4d3159['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x3cb478=this['_touchedRoots']['get'](_0x4d3159['rootName']);_0x3cb478&&_0x3cb478['userId']===_0x1e3ef0?this['_touchedRoots']['delete'](_0x4d3159['rootName']):this['_touchedRoots']['set'](_0x4d3159['rootName'],{'userId':_0x1e3ef0,'isAttached':_0x4d3159['isAdd']});}['_handleRootAttributeOperation'](_0x111db5){const _0x194eff=this['_diffRootsAttributes']['get'](_0x111db5['root']['rootName']);null===_0x111db5['newValue']?delete _0x194eff[_0x111db5['key']]:_0x194eff[_0x111db5['key']]=_0x111db5['newValue'];}}function q(_0x4cf7a2){const _0x12b2f0=G(_0x4cf7a2['rootName'],_0x4cf7a2['isAttached']());for(const _0x44726d of _0x4cf7a2['getChildren']()){const _0x5d6b48=_0x44726d['_clone'](!0x0);_0x12b2f0['_appendChild'](_0x5d6b48);}return _0x12b2f0;}function G(_0x559f2a,_0x49abd9=!0x0){const _0x3566ed=new wt();return _0x3566ed['rootName']=_0x559f2a,_0x3566ed['_isAttached']=_0x49abd9,_0x3566ed['isAttached']=()=>_0x3566ed['_isAttached'],_0x3566ed;}function L(_0x5b5b46,_0xd42871,_0x20860c){const _0x5ed9e7='elementEnd'==_0x5b5b46['type']?_0x20860c['createPositionAt'](_0x5b5b46['item'],'end'):_0x20860c['createPositionBefore'](_0x5b5b46['item']);return _0x20860c['createPositionFromPath'](_0xd42871,_0x5ed9e7['path'],_0x5ed9e7['stickiness']);}function W(_0x7a5fff,_0x51b7af,_0x233786){const _0x148132='elementStart'==_0x7a5fff['type']?_0x233786['createPositionAt'](_0x7a5fff['item'],0x0):_0x233786['createPositionAfter'](_0x7a5fff['item']);return _0x233786['createPositionFromPath'](_0x51b7af,_0x148132['path'],_0x148132['stickiness']);}class ns extends _0x14e867{['focusTracker'];['keystrokes'];['revisionNameInputView'];constructor(_0x5a7458,_0x3a039f){super(_0x5a7458),this['focusTracker']=new _0x39431c(),this['keystrokes']=new _0x50d7f1(),this['set']('revisionNameInputValue',''),this['revisionNameInputView']=this['_createRevisionNameInput'](_0x3a039f),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'](),_0xde233({'view':this}),this['focusTracker']['add'](this['revisionNameInputView']['element']),this['keystrokes']['listenTo'](this['element']);const _0x31ded5=_0x323ca1=>_0x323ca1['stopPropagation']();this['keystrokes']['set']('arrowright',_0x31ded5),this['keystrokes']['set']('arrowleft',_0x31ded5),this['keystrokes']['set']('arrowup',_0x31ded5),this['keystrokes']['set']('arrowdown',_0x31ded5);}['focus'](){this['revisionNameInputView']['focus']();}get['revisionName'](){return this['revisionNameInputView']['fieldView']['element']['value']['trim']();}set['revisionName'](_0x5154b4){this['revisionNameInputView']['fieldView']['element']['value']=_0x5154b4['trim']();}['reset'](){this['revisionNameInputView']['fieldView']['element']['value']='',this['revisionNameInputView']['errorText']=null;}['_createRevisionNameInput'](_0x24eec7){const _0xa02e1b=new at(this['locale'],_0x25493e),_0x5ba7dd=_0xa02e1b['fieldView'];_0x5ba7dd['extendTemplate']({'attributes':{'maxlength':'220'}});let _0x5605e3=y(this['locale'],'Name\x20of\x20the\x20revision');return!_0x24eec7&&(_0x5605e3+='\x20('+y(this['locale'],'optional')+')'),(_0xa02e1b['label']=_0x5605e3,_0x5ba7dd['on']('input',()=>{this['revisionNameInputValue']=_0x5ba7dd['element']['value']['trim']();}),_0xa02e1b);}}class u extends _0x4b4393{static get['pluginName'](){return'RevisionHistoryUI';}static get['requires'](){return[l];}['_saveRevisionFormView'];['init'](){const _0x34e61c=this['editor'],_0x32d6d4=_0x34e61c['plugins']['get']('RevisionTracker');_0x34e61c['ui']['componentFactory']['add']('revisionHistory',_0x128dbf=>{const _0x573117=_0x5fbd9d(_0x128dbf),_0x1859e2=_0x573117['panelView']['children'],_0x2f2427=new te(_0x128dbf),_0x21bf13=new _0x1767f7(_0x128dbf),_0x2f382e=new _0x56e36f(_0x128dbf),_0x3226ac=new _0x1767f7(_0x128dbf),_0x680a23=new _0x56e36f(_0x128dbf);return _0x573117['bind']('isEnabled')['to'](_0x32d6d4,'isReady',_0x32d6d4,'isEnabled',_0x34e61c,'isReadOnly',(_0x17db85,_0xc426f5,_0x613716)=>_0x17db85&&_0xc426f5&&!_0x613716),_0x573117['buttonView']['set']({'icon':_0x45dcb0['history'],'label':y(_0x128dbf,'Revision\x20history'),'tooltip':!0x0}),_0x2f382e['set']({'label':y(_0x128dbf,'Save\x20current\x20revision'),'withText':!0x0,'role':'menuitem'}),_0x2f382e['bind']('isEnabled')['to'](_0x32d6d4,'isReady',_0x32d6d4,'isEnabled',_0x34e61c,'isReadOnly',(_0x46ce41,_0x423e6c,_0x1bba0c)=>_0x46ce41&&_0x423e6c&&!_0x1bba0c),_0x2f382e['on']('execute',()=>this['_showDialog']()),_0x680a23['set']({'label':y(_0x128dbf,'Open\x20revision\x20history'),'withText':!0x0,'role':'menuitem'}),_0x680a23['bind']('isEnabled')['to'](_0x32d6d4,'isReady',_0x34e61c,'isReadOnly',(_0x363909,_0x1dbe1f)=>_0x363909&&!_0x1dbe1f),_0x680a23['on']('execute',()=>{_0x34e61c['config']['get']('revisionHistory')['showRevisionViewerCallback'](),_0x573117['isOpen']=!0x1,_0x34e61c['editing']['view']['focus']();}),_0x21bf13['children']['add'](_0x2f382e),_0x3226ac['children']['add'](_0x680a23),_0x2f2427['role']='menu',_0x2f2427['items']['addMany']([_0x21bf13,_0x3226ac]),_0x1859e2['add'](_0x2f2427),_0x573117;}),_0x34e61c['ui']['componentFactory']['add']('menuBar:revisionHistory',()=>this['_registerMenuComponent']());}['_registerMenuComponent'](){const _0x251ca2=this['editor'],_0x40d420=_0x251ca2['locale'],_0x5bc154=new _0x23c2a2(_0x40d420),_0x37a387=new _0x3f219e(_0x40d420);_0x5bc154['buttonView']['set']({'icon':_0x45dcb0['history'],'label':y(_0x40d420,'Revision\x20history')});const _0x215991=new _0x10544b(_0x40d420,_0x5bc154),_0x467dbd=new _0x276970(_0x40d420);_0x467dbd['set']({'label':y(_0x40d420,'Save\x20current\x20revision')}),_0x467dbd['delegate']('execute')['to'](_0x5bc154),_0x467dbd['on']('execute',()=>{this['_showDialog']();}),_0x215991['children']['add'](_0x467dbd),_0x37a387['items']['add'](_0x215991);const _0x649c2e=new _0x10544b(_0x40d420,_0x5bc154),_0x3c0c73=new _0x276970(_0x40d420);return _0x3c0c73['set']({'label':y(_0x40d420,'Open\x20revision\x20history')}),_0x3c0c73['delegate']('execute')['to'](_0x5bc154),_0x3c0c73['on']('execute',()=>{_0x251ca2['config']['get']('revisionHistory')['showRevisionViewerCallback']();}),_0x649c2e['children']['add'](_0x3c0c73),_0x37a387['items']['add'](_0x649c2e),_0x5bc154['panelView']['children']['add'](_0x37a387),_0x5bc154;}['_showDialog'](){const _0x4a638f=this['editor'],_0x33d4ed=_0x4a638f['locale'],_0xa228db=_0x4a638f['plugins']['get']('Dialog'),_0x596195=_0x4a638f['plugins']['get']('RevisionTracker');function _0x1c8371(_0x4c3a1c){_0x4a638f['config']['get']('revisionHistory.requireRevisionName')&&''===_0x4c3a1c['revisionName']?_0x4c3a1c['revisionNameInputView']['errorText']=y(_0x33d4ed,'The\x20revision\x20name\x20cannot\x20be\x20empty.'):(_0x4a638f['plugins']['get'](l)['saveRevision']({'name':_0x4c3a1c['revisionName']}),_0xa228db['hide']());}this['_saveRevisionFormView']||(this['_createSaveRevisionFormView'](),this['_saveRevisionFormView']['on']('submit',()=>_0x1c8371(this['_saveRevisionFormView']))),this['_saveRevisionFormView']['reset'](),_0xa228db['show']({'id':'revisionSave','title':y(_0x33d4ed,'Save\x20current\x20revision'),'isModal':!0x0,'content':this['_saveRevisionFormView'],'actionButtons':[{'label':y(_0x4a638f['locale'],'Cancel'),'withText':!0x0,'onExecute':()=>_0xa228db['hide']()},{'label':y(_0x4a638f['locale'],'Accept'),'class':'ck-button-action','withText':!0x0,'onCreate'(_0x5a8c84){_0x5a8c84['bind']('isEnabled')['to'](_0x596195,'isReady',_0x596195,'isEnabled',_0x4a638f,'isReadOnly',(_0x56415b,_0x369c1d,_0x2ed98a)=>_0x56415b&&_0x369c1d&&!_0x2ed98a);},'onExecute':()=>_0x1c8371(this['_saveRevisionFormView'])}]});}['_createSaveRevisionFormView'](){const _0x54cb40=this['editor'],_0x293a40=_0x54cb40['locale'];this['_saveRevisionFormView']=new ns(_0x293a40,_0x54cb40['config']['get']('revisionHistory.requireRevisionName')),this['_saveRevisionFormView']['render']();}}class Z extends _0x14e867{['changeId'];['_model'];constructor(_0xf05c95,_0x50975d){super(_0xf05c95),this['_model']=_0x50975d,this['changeId']=_0x50975d['id'];const _0x2d0893=this['bindTemplate'],_0x302383=y(_0xf05c95,_0x50975d['data']['isSuggestion']?'Suggested\x20by':'add'==_0x50975d['type']?'Added\x20by':'Removed\x20by');this['set']('type',_0x50975d['type']),this['setTemplate']({'tag':'div','attributes':{'class':['ck-annotation','ck-revision-change',_0x2d0893['to']('type',_0x29567c=>'ck-revision-change__'+_0x29567c)],'tabindex':-0x1},'children':[{'tag':'span','children':[{'tag':'span','attributes':{'class':['ck-revision-change__label']},'children':[{'text':_0x302383}]},{'text':'\x20'+_0x50975d['author']['name']}]}]});}['focus'](){this['element']['focus']();}}class r extends/* #__PURE__ -- @preserve */
25
+ _0x569486(){['id'];['author'];['type'];['data'];['rootName'];constructor(_0x49659c){super(),this['id']=_0x49659c['id']||_0x106175(),this['author']=_0x49659c['author'],this['type']=_0x49659c['type'],this['data']=_0x49659c['data']||{},this['rootName']=_0x49659c['rootName'],this['set']('createdAt',_0x49659c['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(_0x3c6b66,_0x331bfe){this['newRevisionId']=_0x3c6b66,this['oldRevisionId']=_0x331bfe,this['changes']=new _0x2d52df();}['_setChanges'](_0x1e75cc){for(const _0x35bc00 of _0x1e75cc)this['changes']['add'](_0x35bc00);}}const tt={'c':_0x139c72,'a':_0x18d02d,'e':_0x5374f1,'r':_0x57cae2,'u':_0x258cee};class d extends _0x4b4393{['repository'];['adapter'];['_activeViewTarget'];['_changeView'];['_changeIdToChange'];['_balloon'];static get['pluginName'](){return'RevisionViewer';}static get['requires'](){return[_0x1dc80b,_0x50ed53,A];}constructor(_0x43bd2e){super(_0x43bd2e),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',(_0x1e4dbb,_0x1bfaf6,_0x1e9670)=>{this['activeChange']=null,this['activeView']=null,this['editor']['editing']['view']['change'](_0x34527b=>{for(const _0x422410 of this['editor']['editing']['view']['document']['roots'])_0x1e9670?_0x34527b['removeClass']('ck-editor__editable__overlay',_0x422410):_0x34527b['addClass']('ck-editor__editable__overlay',_0x422410);});}),this['bind']('isNavigationMode')['to'](this,'activeChange',_0x19a855=>null!==_0x19a855),this['bind']('currentChangeNumber')['to'](this,'isReady',this,'diff',this,'activeChange',(_0x550878,_0x597910,_0x126391)=>_0x550878&&_0x126391?_0x597910['changes']['getIndex'](_0x126391):0x0),this['bind']('numberOfChanges')['to'](this,'isReady',this,'diff',(_0x11564c,_0x19f26f)=>_0x11564c?_0x19f26f['changes']['length']:0x0),this['_changeView']=null,this['_changeIdToChange']=new Map(),this['adapter']=null,this['_balloon']=this['editor']['plugins']['get'](_0x50ed53);}['init'](){const _0x18a2e2=this['editor'],_0x1c1014=new yt(_0x18a2e2,{'direction':'backward'}),_0x3c023a=new yt(_0x18a2e2,{'direction':'forward'});(_0x18a2e2['commands']['add']('showPreviousChange',_0x1c1014),_0x18a2e2['commands']['add']('showNextChange',_0x3c023a),_0x18a2e2['commands']['add']('restoreRevision',new bt(_0x18a2e2)),this['on']('change:numberOfChanges',()=>{_0x1c1014['refresh'](),_0x3c023a['refresh']();}),this['_setConversion'](),this['_initInteractions'](),_0x18a2e2['enableReadOnlyMode']('revision-viewer'),_0x18a2e2['plugins']['has']('WidgetToolbarRepository'))&&_0x18a2e2['plugins']['get']('WidgetToolbarRepository')['forceDisabled']('revision-viewer');}async['getRevisionData'](_0x37aba6){await this['loadRevisionData'](_0x37aba6);const _0x139abe={};for(const _0x355dcb in _0x37aba6['diffData']){if(_0x37aba6['diffData'][_0x355dcb]['attachChange']&&!_0x37aba6['diffData'][_0x355dcb]['attachChange']['isAttached'])continue;const _0x1ebc52=this['_removeRevisionMarkers'](JSON['parse'](_0x37aba6['diffData'][_0x355dcb]['insertions'])),_0x4ed7b6=this['editor']['editing']['view']['document'],_0x57d80e=new _0x213bf8(_0x4ed7b6,_0x1ebc52['map'](_0xdc3c92=>this['_getViewObj'](_0xdc3c92)));this['editor']['data']['processor']['useFillerType']('marked'),_0x139abe[_0x355dcb]=this['editor']['data']['processor']['toData'](_0x57d80e),this['editor']['data']['processor']['useFillerType']('default');}return _0x139abe;}async['getRevisionRootsAttributes'](_0x426c00){await this['loadRevisionData'](_0x426c00);const _0x46f45b={};for(const _0x4be163 in _0x426c00['diffData'])_0x426c00['diffData'][_0x4be163]['attachChange']&&!_0x426c00['diffData'][_0x4be163]['attachChange']['isAttached']||(_0x46f45b[_0x4be163]=_0x426c00['diffData'][_0x4be163]['attributesAfter']||{});return _0x46f45b;}['_removeRevisionMarkers'](_0x428e58){return(_0x428e58=_0x428e58['filter'](_0x38f100=>!_0x38f100['name']||'revision-start'!==_0x38f100['name']&&'revision-end'!==_0x38f100['name']))['forEach'](_0x7733aa=>{'string'!=typeof _0x7733aa&&(_0x7733aa['children']=this['_removeRevisionMarkers'](_0x7733aa['children']),_0x7733aa['attributes']=_0x7733aa['attributes']['filter'](_0x23c3cc=>!_0x23c3cc[0x0]['startsWith']('data-revision-')));}),_0x428e58;}async['compare'](_0xd359ce,_0x4c42e6,_0x4b2605=!0x1){if(!this['isEnabled'])return;const _0x102c6b=this['diff'],_0x2d2961=this['repository'],_0x190235='string'==typeof _0xd359ce?_0x2d2961['getRevision'](_0xd359ce):_0xd359ce,_0x296ba7='string'==typeof _0x4c42e6?_0x2d2961['getRevision'](_0x4c42e6):_0x4c42e6,_0x34acb0=_0x190235['id'],_0x4bda33=_0x296ba7?_0x296ba7['id']:null;if(!_0x4b2605&&this['diff']&&this['diff']['newRevisionId']===_0x34acb0&&this['diff']['oldRevisionId']===_0x4bda33)return Promise['resolve']();this['isReady']=!0x1,this['activeView']=null,this['activeChange']=null,this['diff']=new f(_0x34acb0,_0x4bda33);const _0x3fbaf6=this['_getRevisionsRange'](_0x190235,_0x296ba7,!0x0)['map'](_0x5d11af=>this['loadRevisionData'](_0x5d11af));return _0x3fbaf6['push'](new Promise(_0x388a8a=>{setTimeout(_0x388a8a,0x14);})),Promise['all'](_0x3fbaf6)['then'](()=>{if(!this['isEnabled'])return;this['_cleanUp']();const _0x2baad1=this['_getDiff'](_0x34acb0,_0x4bda33);for(const _0x340f1a of _0x2baad1['changes'])this['_changeIdToChange']['set'](_0x340f1a['id'],_0x340f1a);this['editor']['model']['enqueueChange']({'isUndoable':!0x1},_0x1eb85d=>{for(const _0x53cd4a of this['editor']['model']['document']['getRootNames']())_0x1eb85d['detachRoot'](_0x53cd4a);for(const _0x391304 of Object['keys'](_0x2baad1['model'])){const _0xa28273=_0x1eb85d['addRoot'](_0x391304);for(const _0x17fc7d of Object['keys'](_0x2baad1['attributes'][_0x391304]))_0x1eb85d['setAttribute'](_0x17fc7d,_0x2baad1['attributes'][_0x391304][_0x17fc7d],_0xa28273);_0x1eb85d['insert'](_0x2baad1['model'][_0x391304],_0xa28273,0x0);}}),this['diff']['_setChanges'](this['_sortAndFilterDiffChanges'](_0x2baad1['changes'])),this['isReady']=!0x0;})['catch'](_0x59fdb9=>{console['error'](_0x59fdb9),this['_cleanUp'](),_0x102c6b&&(this['diff']=_0x102c6b),this['isReady']=!0x0;});}['addRevisionData'](_0x508ecd,_0x5efd81){const _0x11e398=this['repository']['createRevision'](_0x508ecd);return _0x11e398['on']('_update',(_0x2b8d3b,_0x525976,_0x4c1d60)=>_0x5efd81(_0x525976,_0x4c1d60,_0x11e398)),this['repository']['addRevision'](_0x11e398),_0x11e398;}['loadRevisionData'](_0x4b2d51){if(!_0x4b2d51||_0x4b2d51['diffData'])return Promise['resolve']();{const _0x58cd7e=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0x58cd7e,'revisionId':_0x4b2d51['id']})['then'](_0x455dbb=>{_0x4b2d51['_update']({'diffData':_0x455dbb['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},_0x1745f2=>{for(const _0x34593a of this['editor']['model']['document']['getRootNames']())_0x1745f2['detachRoot'](_0x34593a);});}['_sortAndFilterDiffChanges'](_0x471ce7){const _0x37c0b8=[],_0xea8cca=new Map();for(const _0x1cf097 of this['editor']['model']['document']['getRootNames']()){const _0x116cc9=this['editor']['editing']['view']['getDomRoot'](_0x1cf097);if(!_0x116cc9)continue;const _0x21818c=_0x116cc9['getClientRects']()['item'](0x0);_0x21818c&&(_0x37c0b8['push'](_0x1cf097),_0xea8cca['set'](_0x1cf097,_0x21818c));}return _0x37c0b8['sort']((_0x371ab7,_0xd21118)=>{const _0x10c254=_0xea8cca['get'](_0x371ab7),_0x382f85=_0xea8cca['get'](_0xd21118);return _0x10c254['y']-_0x382f85['y']||_0x10c254['x']-_0x382f85['x'];}),(_0x471ce7=_0x471ce7['filter'](_0x9d4463=>_0x37c0b8['includes'](_0x9d4463['rootName'])))['sort']((_0x49e40f,_0x324c89)=>_0x37c0b8['indexOf'](_0x49e40f['rootName'])-_0x37c0b8['indexOf'](_0x324c89['rootName'])),_0x471ce7;}['_makeTape'](_0x1de06e){const _0x2a262f=Array['from'](_0x1de06e['markers'])['filter'](([_0x4ad10a,_0x51f3a0])=>_0x4ad10a['startsWith']('revision:')&&!_0x51f3a0['isCollapsed']),_0x35e5d5=Array['from'](this['editor']['model']['createRangeIn'](_0x1de06e)['getWalker']({'singleCharacters':!0x0}));if(0x0!=_0x2a262f['length'])for(const _0x5e2dde of _0x35e5d5){const [_0x42b658,_0xaec081]=_0x2a262f[0x0],[,_0x460608,_0x5bb129]=_0x42b658['split'](':');if(_0xaec081['end']['isEqual'](_0x5e2dde['nextPosition'])&&_0x2a262f['shift'](),(_0x5e2dde['previousPosition']['isEqual'](_0xaec081['start'])||_0x5e2dde['previousPosition']['isAfter'](_0xaec081['start']))&&('insertion'==_0x460608?_0x5e2dde['isAdded']={'userId':_0x5bb129}:'deletion'==_0x460608&&(_0x5e2dde['isRemoved']={'userId':_0x5bb129})),0x0==_0x2a262f['length'])break;}return _0x35e5d5;}['_refreshStartEndIndex'](_0x231fbc){const _0x4cf7bc=new Map();for(let _0x252feb=0x0;_0x252feb<_0x231fbc['length'];_0x252feb++)'text'===_0x231fbc[_0x252feb]['type']?(_0x231fbc[_0x252feb]['item']['startIndex']=_0x252feb,_0x231fbc[_0x252feb]['item']['endIndex']=_0x252feb):('elementStart'===_0x231fbc[_0x252feb]['type']?_0x231fbc[_0x252feb]['item']['startIndex']=_0x252feb:'elementEnd'===_0x231fbc[_0x252feb]['type']&&(_0x231fbc[_0x252feb]['item']['endIndex']=_0x252feb),_0x4cf7bc['set'](_0x231fbc[_0x252feb]['id'],_0x252feb));for(const _0x31603d of _0x4cf7bc['values']())'elementStart'===_0x231fbc[_0x31603d]['type']?_0x231fbc[_0x31603d]['item']['endIndex']=_0x4cf7bc['get'](_0x231fbc[_0x31603d]['pairId']):'elementEnd'===_0x231fbc[_0x31603d]['type']&&(_0x231fbc[_0x31603d]['item']['startIndex']=_0x4cf7bc['get'](_0x231fbc[_0x31603d]['pairId']));}['_processTape'](_0x3fee66){for(let _0x56b363=0x0;_0x56b363<_0x3fee66['length'];_0x56b363++){if('elementStart'===_0x3fee66[_0x56b363]['type'])_0x3fee66[_0x56b363]['item']['startIndex']=_0x56b363;else{if('elementEnd'===_0x3fee66[_0x56b363]['type']){_0x3fee66[_0x56b363]['item']['endIndex']=_0x56b363;const _0x4ab5a3=_0x3fee66[_0x56b363]['item']['startIndex'];_0x3fee66[_0x4ab5a3]['pairId']=_0x3fee66[_0x56b363]['id'],_0x3fee66[_0x56b363]['pairId']=_0x3fee66[_0x4ab5a3]['id'];}else _0x3fee66[_0x56b363]['item']['startIndex']=_0x56b363,_0x3fee66[_0x56b363]['item']['endIndex']=_0x56b363,_0x3fee66[_0x56b363]['pairId']=null;}_0x3fee66[_0x56b363]['markersStart']||(_0x3fee66[_0x56b363]['markersStart']=[],_0x3fee66[_0x56b363]['markersEnd']=[]);}}['_markInsertions'](_0x2e1452,_0x208bc2){const _0x4ad833=_0x2e1452['filter'](_0x3ae21f=>!_0x3ae21f['isAdded']);for(let _0x18383b=0x0;_0x18383b<_0x208bc2['length'];_0x18383b++)_0x208bc2[_0x18383b]['isAdded']&&(_0x4ad833[_0x18383b]['isAdded']=_0x208bc2[_0x18383b]['isAdded']);}['_makeModelFromViewString'](_0x1ad8b9){const _0x1d28d4=JSON['parse'](_0x1ad8b9),_0x52bebd=this['editor']['editing']['view']['document'],_0x556866=new _0x213bf8(_0x52bebd,_0x1d28d4['map'](_0x21ae2c=>this['_getViewObj'](_0x21ae2c)));return this['editor']['data']['toModel'](_0x556866);}['_getViewObj'](_0x450b40){const _0x1dc397=this['editor']['editing']['view']['document'];if('string'==typeof _0x450b40)return new _0x5ba681(_0x1dc397,_0x450b40);{const _0x4aadc5=_0x450b40['children']['map'](_0xfbf3c7=>this['_getViewObj'](_0xfbf3c7));return new(tt[_0x450b40['type']]||_0x169bd2)(_0x1dc397,_0x450b40['name'],_0x450b40['attributes'],_0x4aadc5);}}['_getDiff'](_0x121b7b,_0x415613=null){const _0x4b268f=this['repository']['getRevision'](_0x121b7b),_0x1910b7=_0x415613?this['repository']['getRevision'](_0x415613):null,_0x6e1032=this['_getRevisionsRange'](_0x4b268f,_0x1910b7),_0x2ee7f0=_0x6e1032[_0x6e1032['length']-0x1],_0x377a14=new Map(),_0x2f1d6c={'model':{},'attributes':{},'changes':[]},_0x137aef=new Set(),_0x321bde=new Map();for(let _0x336185=_0x6e1032['length']-0x1;_0x336185>=0x0;_0x336185--){const _0x40888=_0x6e1032[_0x336185];for(const _0x4aa2f0 of Object['keys'](_0x40888['diffData']))if(_0x40888['diffData'][_0x4aa2f0]['attachChange']){const _0x4d7aea=_0x40888['diffData'][_0x4aa2f0]['attachChange'];_0x4d7aea['isAttached']?(_0x137aef['add'](_0x4aa2f0),_0x321bde['has'](_0x4aa2f0)&&_0x321bde['get'](_0x4aa2f0)['userId']==_0x4d7aea['userId']?_0x321bde['delete'](_0x4aa2f0):_0x321bde['set'](_0x4aa2f0,_0x4d7aea)):_0x321bde['has'](_0x4aa2f0)?(_0x137aef['delete'](_0x4aa2f0),_0x321bde['delete'](_0x4aa2f0)):(_0x137aef['add'](_0x4aa2f0),_0x321bde['set'](_0x4aa2f0,_0x4d7aea));}else _0x137aef['add'](_0x4aa2f0);}for(const _0x1bf5d0 of _0x137aef){const _0x4501d2=_0x321bde['has'](_0x1bf5d0)&&!_0x321bde['get'](_0x1bf5d0)['isAttached'];let _0x4b92b3=_0x4501d2?_0x6e1032['length']-0x1:0x0;const _0x148e39=_0x4501d2?-0x1:0x1;for(;_0x6e1032[_0x4b92b3];){const _0x535cf5=_0x6e1032[_0x4b92b3];if(_0x535cf5['diffData'][_0x1bf5d0]){const _0x1a45a3=_0x4501d2?_0x535cf5['diffData'][_0x1bf5d0]['attributesBefore']:_0x535cf5['diffData'][_0x1bf5d0]['attributesAfter'];_0x2f1d6c['attributes'][_0x1bf5d0]=_0x1a45a3?_0x4fc80e(_0x1a45a3):{};break;}_0x4b92b3+=_0x148e39;}}for(const _0x334721 of _0x6e1032){_0x334721['model']={};for(const _0x5e4f9a of _0x334721['authors'])_0x377a14['set'](_0x5e4f9a['id'],_0x5e4f9a);for(const _0x2f213a of _0x137aef){const _0x124ec5=_0x334721['diffData'][_0x2f213a]?_0x334721['diffData'][_0x2f213a]['insertions']:'[]',_0x3e41c0=_0x334721['diffData'][_0x2f213a]?_0x334721['diffData'][_0x2f213a]['deletions']:'[]';_0x334721['model'][_0x2f213a]={'insertions':this['_makeModelFromViewString'](_0x124ec5),'deletions':this['_makeModelFromViewString'](_0x3e41c0)};}}for(const _0x13ce41 of _0x137aef){let _0xf9110d=null,_0x5616ed=0x0;const _0x26dd09=new Map(Array['from'](_0x4b268f['model'][_0x13ce41]['insertions']['markers'])['filter'](([_0x40d7db])=>!_0x40d7db['startsWith']('revision:')));let _0x552433=0x0;for(const _0x44bf58 of _0x6e1032){const _0x549e85=this['_makeTape'](_0x44bf58['model'][_0x13ce41]['insertions']);_0x44bf58==_0x4b268f?(_0xf9110d=_0x549e85,_0x5616ed=_0xf9110d['length'],_0xf9110d['forEach'](_0x5701be=>{_0x5701be['id']=_0x552433++;}),this['_processTape'](_0xf9110d)):this['_markInsertions'](_0xf9110d,_0x549e85);const _0xd41a4=_0xf9110d['filter'](_0x1fb2d5=>!_0x1fb2d5['isAdded'])['map'](_0x253a2a=>_0x253a2a['id']);let _0x7deaeb=0x0;const _0x507a00=this['_makeTape'](_0x44bf58['model'][_0x13ce41]['deletions']);_0x507a00['forEach'](_0x588c2c=>{_0x588c2c['isRemoved']?_0x588c2c['id']=_0x5616ed++:_0x588c2c['id']=_0xd41a4[_0x7deaeb++];}),this['_processTape'](_0x507a00),this['_setDistance'](_0xf9110d,'isAdded'),this['_setDistance'](_0x507a00,'isRemoved'),_0x44bf58==_0x4b268f&&this['_markMarkers'](_0xf9110d,_0x26dd09),_0xf9110d=this['_joinTapes'](_0xf9110d,_0x507a00),this['_refreshStartEndIndex'](_0xf9110d),this['_setDistance'](_0xf9110d,'isRemoved');}_0xf9110d=_0xf9110d['filter'](_0x22d35e=>!(_0x22d35e['isAdded']&&_0x22d35e['isRemoved']));const _0x5cbc86=new Map(_0x2ee7f0['model'][_0x13ce41]['deletions']['markers']),_0x44f0aa=new Set(_0x26dd09['keys']());for(const _0x1b658d of _0x5cbc86['keys']())_0x44f0aa['delete'](_0x1b658d);this['_markSuggestions'](_0xf9110d,_0x44f0aa),this['_fixObsoleteTags'](_0xf9110d),_0xf9110d=this['_removeMissingPairs'](_0xf9110d),_0xf9110d=this['_markMismatchedRemovedTags'](_0xf9110d),_0xf9110d=this['_removeUnsupportedChanges'](_0xf9110d);const {root:_0x5e3b0d,changes:_0x384d76}=this['_makeModelFromTape'](_0xf9110d,_0x377a14,_0x13ce41);_0x2f1d6c['model'][_0x13ce41]=_0x5e3b0d;const _0x1d5f39=_0x321bde['get'](_0x13ce41);if(_0x1d5f39){const _0x37c89e=_0x377a14['get'](_0x1d5f39['userId']),_0x458217=new r({'author':_0x37c89e,'type':_0x1d5f39['isAttached']?'add':'remove','data':{'isOnRoot':!0x0},'createdAt':new Date(),'rootName':_0x13ce41});_0x384d76['unshift'](_0x458217),_0x2f1d6c['attributes'][_0x13ce41]['revisionHistoryAttachChange']=_0x458217['id'];}_0x2f1d6c['changes']=_0x2f1d6c['changes']['concat'](_0x384d76);}return _0x2f1d6c;}['_markMarkers'](_0x625c0d,_0x44e0a1){for(let _0x21cdac=0x0;_0x21cdac<_0x625c0d['length'];_0x21cdac++)for(const [_0x5df861,_0x5f3b00]of _0x44e0a1)_0x5f3b00['start']['isEqual'](_0x625c0d[_0x21cdac]['previousPosition'])&&_0x625c0d[_0x21cdac]['markersStart']['push'](_0x5df861),_0x5f3b00['end']['isEqual'](_0x625c0d[_0x21cdac]['nextPosition'])&&_0x625c0d[_0x21cdac]['markersEnd']['push'](_0x5df861);}['_joinTapes'](_0x5e9d07,_0x476ae8){let _0x30228c=[],_0x5cc821=0x0,_0xee44f4=0x0;for(;_0x5cc821<_0x5e9d07['length']||_0xee44f4<_0x476ae8['length'];){const _0x29b67b=_0x5e9d07[_0x5cc821]||{},_0x323b32=_0x476ae8[_0xee44f4]||{};if(_0x29b67b['id']==_0x323b32['id'])_0x5cc821++,_0xee44f4++,_0x30228c['push'](_0x29b67b);else{if(_0x323b32['isRemoved']&&_0x29b67b['isAdded']){const {commonTape:_0x3b821d,iEnd:_0x5a1f36,jEnd:_0x40a2df}=this['_threeWayMerge'](_0x5e9d07,_0x5cc821,_0x476ae8,_0xee44f4);_0x30228c=_0x30228c['concat'](_0x3b821d),_0x5cc821=_0x5a1f36,_0xee44f4=_0x40a2df;}else _0x323b32['isRemoved']?(_0xee44f4++,_0x30228c['push'](_0x323b32)):(_0x5cc821++,_0x30228c['push'](_0x29b67b));}}return _0x30228c;}['_markSuggestions'](_0x538d09,_0x9abde3){const _0x1a21b0=[];for(let _0x739f9e=0x0;_0x739f9e<_0x538d09['length'];_0x739f9e++){for(let _0x46fafd=0x0;_0x46fafd<_0x538d09[_0x739f9e]['markersStart']['length'];_0x46fafd++){const _0x119425=_0x538d09[_0x739f9e]['markersStart'][_0x46fafd];if(!_0x9abde3['has'](_0x119425))continue;const {group:_0x27d554,type:_0x4b238e,authorId:_0x374e75}=_0x4b8631(_0x119425);'revision-suggestion'!=_0x27d554||'insertion'!=_0x4b238e&&'deletion'!=_0x4b238e||(_0x1a21b0['unshift']({'type':_0x4b238e,'name':_0x119425,'userId':_0x374e75}),_0x538d09[_0x739f9e]['markersStart']['splice'](_0x46fafd,0x1),_0x46fafd--);}_0xba12a8(_0x538d09[_0x739f9e]);for(let _0x4c79b3=0x0;_0x4c79b3<_0x538d09[_0x739f9e]['markersEnd']['length'];_0x4c79b3++){const _0x368658=_0x538d09[_0x739f9e]['markersEnd'][_0x4c79b3];if(!_0x9abde3['has'](_0x368658))continue;const {group:_0x1f8d70,type:_0x5a4b53}=_0x4b8631(_0x368658);if('revision-suggestion'!=_0x1f8d70||'insertion'!=_0x5a4b53&&'deletion'!=_0x5a4b53)continue;_0x538d09[_0x739f9e]['markersEnd']['splice'](_0x4c79b3,0x1),_0x4c79b3--;const _0x36ab70=_0x1a21b0['findIndex'](_0x22e7ce=>_0x22e7ce['name']==_0x368658);_0x36ab70>-0x1&&_0x1a21b0['splice'](_0x36ab70,0x1);}}function _0x4b8631(_0x51dd0d){const _0x5dab1a=_0x51dd0d['split'](':');return{'group':_0x5dab1a[0x0],'type':_0x5dab1a[0x1],'subType':_0x5dab1a['length']>=0x5?_0x5dab1a[0x2]:null,'id':_0x5dab1a['length']<0x5?_0x5dab1a[0x2]:_0x5dab1a[0x3],'authorId':_0x5dab1a['length']<0x5?_0x5dab1a[0x3]:_0x5dab1a[0x4],'markerCount':0x6==_0x5dab1a['length']?_0x5dab1a[0x5]:null};}function _0xba12a8(_0x33f069){for(let _0x47c52a=0x0;_0x47c52a<_0x1a21b0['length'];_0x47c52a++){if(_0x33f069['isAdded']&&'insertion'==_0x1a21b0[_0x47c52a]['type'])return _0x33f069['isAddSuggestion']=_0x1a21b0[_0x47c52a],void delete _0x33f069['isAdded'];if(!_0x33f069['isAdded']&&!_0x33f069['isRemoved']&&'deletion'==_0x1a21b0[_0x47c52a]['type'])return void(_0x33f069['isRemoveSuggestion']=_0x1a21b0[_0x47c52a]);}}}['_setDistance'](_0x48d98a,_0x365d65){let _0x40d858=0x0,_0x266066=!0x1;const _0x186f9c=new Map();for(const _0x4e335d of _0x48d98a)_0x4e335d[_0x365d65]?_0x266066&&(_0x40d858++,_0x266066=!0x1):(_0x40d858++,_0x266066=!0x0),_0x186f9c['set'](_0x4e335d['id'],_0x40d858);for(let _0x20e545=0x0;_0x20e545<_0x48d98a['length'];_0x20e545++){if('isRemoved'==_0x365d65&&_0x48d98a[_0x20e545]['isAdded']||'isAdded'==_0x365d65&&_0x48d98a[_0x20e545]['isRemoved'])continue;if('text'==_0x48d98a[_0x20e545]['type']){_0x48d98a[_0x20e545]['distance']=0x0;continue;}const _0x2bff10=_0x186f9c['get'](_0x48d98a[_0x20e545]['pairId']),_0x42f820=_0x186f9c['get'](_0x48d98a[_0x20e545]['id']);_0x48d98a[_0x20e545]['distance']=_0x2bff10-_0x42f820;}}['_getRevisionsRange'](_0x2d5d39,_0x5ef511,_0x154c0f=!0x1){const _0x474c41=[];let _0x385180=this['repository']['getIndex'](_0x2d5d39),_0x4ca310=this['repository']['getIndex'](_0x5ef511);for(-0x1==_0x4ca310&&(_0x4ca310=this['repository']['_revisions']['length'],_0x154c0f=!0x1);_0x385180<_0x4ca310;)_0x474c41['push'](this['repository']['getRevision'](_0x385180)),_0x385180++;return _0x154c0f&&_0x474c41['push'](this['repository']['getRevision'](_0x385180)),_0x474c41;}['_threeWayMerge'](_0x14789a,_0x5b3a47,_0x487516,_0x78f669){const _0x43b988=this['editor']['model']['schema'];let _0x4a5b66=_0x5b3a47;for(;_0x14789a[_0x4a5b66]&&_0x14789a[_0x4a5b66]['isAdded'];)_0x4a5b66++;let _0x59283d=_0x78f669;for(;_0x487516[_0x59283d]&&_0x487516[_0x59283d]['isRemoved'];)_0x59283d++;_0x464c0f(_0x14789a,_0x5b3a47,_0x4a5b66),_0x464c0f(_0x487516,_0x78f669,_0x59283d);const _0xe4143c=_0x487516['slice'](_0x78f669,_0x59283d)['concat'](_0x14789a['slice'](_0x5b3a47,_0x4a5b66));return _0xe4143c['sort']((_0x59b020,_0x1e140b)=>_0x59b020['side']!=_0x1e140b['side']?_0x59b020['side']-_0x1e140b['side']:_0x59b020['level']!=_0x1e140b['level']?_0x59b020['level']-_0x1e140b['level']:_0x59b020['distance']!=_0x1e140b['distance']?_0x1e140b['distance']-_0x59b020['distance']:!!_0x59b020['isAdded']!=!!_0x1e140b['isAdded']?-0x1==_0x59b020['side']||0x0==_0x59b020['side']?_0x59b020['isAdded']?-0x1:0x1:_0x59b020['isAdded']?0x1:-0x1:_0x59b020['index']-_0x1e140b['index']),{'commonTape':_0xe4143c,'iEnd':_0x4a5b66,'jEnd':_0x59283d};function _0x464c0f(_0x112212,_0x94e92c,_0xa7dec7){let _0x240794=-0x1,_0x1b972a=Number['POSITIVE_INFINITY'],_0x1e3206=!0x0;for(let _0x3308b4=_0x94e92c;_0x3308b4<_0xa7dec7;_0x3308b4++)if(_0x43b988['isInline'](_0x112212[_0x3308b4]['item'])||(_0x1e3206=!0x1),_0x112212[_0x3308b4]['item']['startIndex']<_0x94e92c&&(_0x240794=_0x3308b4),_0x112212[_0x3308b4]['item']['endIndex']>=_0xa7dec7){_0x1b972a=_0x3308b4;break;}_0x1e3206&&(_0x240794=_0xa7dec7-0x1);for(let _0x1f12ef=_0x94e92c;_0x1f12ef<_0xa7dec7;_0x1f12ef++)_0x112212[_0x1f12ef]['side']=_0x1f12ef<=_0x240794?-0x1:_0x1f12ef<_0x1b972a?0x0:0x1,_0x112212[_0x1f12ef]['index']=_0x1f12ef;let _0x3b1760=0x0;for(let _0x3de090=_0x94e92c;_0x3de090<=_0x240794;_0x3de090++)0x0==_0x112212[_0x3de090]['distance']?_0x112212[_0x3de090]['level']=_0x3b1760:(_0x3b1760++,_0x112212[_0x3de090]['level']=_0x3b1760,_0x3b1760++);for(let _0x1ab31a=_0x94e92c;_0x1ab31a<_0xa7dec7;_0x1ab31a++)0x0==_0x112212[_0x1ab31a]['side']&&(_0x112212[_0x1ab31a]['level']=_0x3b1760);_0x3b1760=0x0;for(let _0x4d3280=_0xa7dec7-0x1;_0x4d3280>=_0x1b972a;_0x4d3280--)0x0==_0x112212[_0x4d3280]['distance']?_0x112212[_0x4d3280]['level']=_0x3b1760:(_0x3b1760--,_0x112212[_0x4d3280]['level']=_0x3b1760,_0x3b1760--);}}['_fixObsoleteTags'](_0x4daf97){const _0x38f768=new Map(),_0xc56ea8=this['editor']['model']['schema'];for(let _0x429cdb=0x1;_0x429cdb<_0x4daf97['length'];_0x429cdb++){let _0x32a8c9,_0x5df1b3,_0x4880fb;const _0x502d9f=_0x4daf97[_0x429cdb],_0x7265ba=_0x4daf97[_0x429cdb-0x1];if('text'==_0x502d9f['type'])continue;if(_0x502d9f['type']!=_0x7265ba['type'])continue;if(!_0xc56ea8['isBlock'](_0x7265ba['item'])||_0xc56ea8['isLimit'](_0x7265ba['item']))continue;if(!_0xc56ea8['isBlock'](_0x502d9f['item'])||_0xc56ea8['isLimit'](_0x502d9f['item']))continue;if((_0x4daf97[_0x429cdb]['isAdded']||_0x4daf97[_0x429cdb]['isAddSuggestion'])&&_0x4daf97[_0x429cdb-0x1]['isRemoved'])_0x32a8c9=_0x4daf97[_0x429cdb],_0x5df1b3=_0x4daf97[_0x429cdb-0x1],_0x4880fb=_0x429cdb-0x1;else{if(!_0x4daf97[_0x429cdb]['isRemoved']||!_0x4daf97[_0x429cdb-0x1]['isAdded']&&!_0x4daf97[_0x429cdb-0x1]['isAddSuggestion'])continue;_0x32a8c9=_0x4daf97[_0x429cdb-0x1],_0x5df1b3=_0x4daf97[_0x429cdb],_0x4880fb=_0x429cdb;}const _0x48c8a3=_0x32a8c9['level']==_0x5df1b3['level'],_0x2d67da=Math['abs'](_0x32a8c9['level'])<Math['abs'](_0x5df1b3['level'])&&0x0==_0x5df1b3['distance'];(_0x48c8a3||_0x2d67da)&&(_0x38f768['set'](_0x5df1b3['id'],_0x32a8c9['id']),_0x4daf97['splice'](_0x4880fb,0x1),_0x429cdb--,_0x32a8c9['isAdded']=!0x1);}for(let _0x44230b=0x0;_0x44230b<_0x4daf97['length'];_0x44230b++)_0x38f768['has'](_0x4daf97[_0x44230b]['pairId'])&&(_0x4daf97[_0x44230b]['pairId']=_0x38f768['get'](_0x4daf97[_0x44230b]['pairId']));}['_removeMissingPairs'](_0x7c041f){const _0x27eca8=new Set(_0x7c041f['map'](_0x2c4840=>_0x2c4840['id']));for(let _0x4d47c0=0x0;_0x4d47c0<_0x7c041f['length'];_0x4d47c0++)_0x27eca8['has'](_0x7c041f[_0x4d47c0]['pairId'])||0x0==_0x7c041f[_0x4d47c0]['distance']||(_0x7c041f[_0x4d47c0]['isIncorrect']=!0x0);return _0x7c041f['filter'](_0x1ab6a0=>!_0x1ab6a0['isIncorrect']);}['_markMismatchedRemovedTags'](_0x17edf7){const _0x48244a=new Set();for(let _0x1dc5eb=0x0;_0x1dc5eb<_0x17edf7['length'];_0x1dc5eb++){if(_0x48244a['has'](_0x17edf7[_0x1dc5eb]['id'])&&_0x17edf7[_0x1dc5eb]['isRemoved']&&(_0x17edf7[_0x1dc5eb]['isIncorrect']=!0x0),_0x17edf7[_0x1dc5eb]['isIncorrect'])continue;if(0x0==_0x17edf7[_0x1dc5eb]['distance'])continue;if('elementStart'!=_0x17edf7[_0x1dc5eb]['type'])continue;if(null==_0x17edf7[_0x1dc5eb]['pairId'])continue;let _0x51ac0e=_0x1dc5eb+0x1,_0x18bdd9=0x0;for(;_0x17edf7[_0x51ac0e]['id']!=_0x17edf7[_0x1dc5eb]['pairId'];)'elementStart'==_0x17edf7[_0x51ac0e]['type']?_0x18bdd9++:'elementEnd'==_0x17edf7[_0x51ac0e]['type']&&_0x18bdd9--,_0x51ac0e++;if(0x0!=_0x18bdd9){if(_0x17edf7[_0x1dc5eb]['isRemoved'])_0x17edf7[_0x1dc5eb]['isIncorrect']=!0x0;else{for(;_0x51ac0e!=_0x1dc5eb;)_0x17edf7[_0x51ac0e]['isRemoved']&&0x0!=_0x17edf7[_0x51ac0e]['distance']&&(_0x17edf7[_0x51ac0e]['isIncorrect']=!0x0,_0x48244a['add'](_0x17edf7[_0x51ac0e]['pairId'])),_0x51ac0e--;}}}return _0x17edf7['filter'](_0x2de419=>!_0x2de419['isIncorrect']);}['_removeUnsupportedChanges'](_0x20bc4e){const _0x1489f4=this['editor']['model']['schema'];for(let _0x5c344e=0x0;_0x5c344e<_0x20bc4e['length'];_0x5c344e++){if(!(_0x20bc4e[_0x5c344e]['isAdded']||_0x20bc4e[_0x5c344e]['isAddSuggestion']||_0x20bc4e[_0x5c344e]['isRemoved']||_0x20bc4e[_0x5c344e]['isRemoveSuggestion']))continue;if(0x0==_0x20bc4e[_0x5c344e]['distance'])continue;const _0x4e8b2d=_0x20bc4e[_0x5c344e]['item'];_0x1489f4['isBlock'](_0x4e8b2d)||_0x1489f4['isLimit'](_0x4e8b2d)||(_0x20bc4e[_0x5c344e]['isAdded']&&delete _0x20bc4e[_0x5c344e]['isAdded'],_0x20bc4e[_0x5c344e]['isAddSuggestion']&&delete _0x20bc4e[_0x5c344e]['isAddSuggestion'],_0x20bc4e[_0x5c344e]['isRemoveSuggestion']&&delete _0x20bc4e[_0x5c344e]['isRemoveSuggestion'],_0x20bc4e[_0x5c344e]['isRemoved']&&(_0x20bc4e[_0x5c344e]['isIncorrect']=!0x0));}return _0x20bc4e['filter'](_0x484c8c=>!_0x484c8c['isIncorrect']);}['_makeModelFromTape'](_0x30ce22,_0x589c4c,_0x416685){const _0x1e363f=new wt(),_0x394e2a=[],_0x2e32af=new Map(),_0x236bd7=this['editor']['model'],_0x1cdfe3=_0x236bd7['schema'],_0xc2ec86=[_0x1e363f],_0x4fadaa={},_0x2527b9={'isAdded':[],'isRemoved':[],'isAddSuggestion':[],'isRemoveSuggestion':[]};let _0x116606=null;const _0x125e74=[0x0];for(let _0x339e56=0x0;_0x339e56<_0x30ce22['length'];_0x339e56++){let _0x4b91f3,_0x29e951;if('elementStart'===_0x30ce22[_0x339e56]['type']){_0x4b91f3=_0x236bd7['createPositionFromPath'](_0x1e363f,_0x125e74);const _0x32d16d=new ft(_0x30ce22[_0x339e56]['item']['name'],_0x30ce22[_0x339e56]['item']['getAttributes']());_0xc2ec86[0x0]['_appendChild'](_0x32d16d),_0x125e74['push'](0x0),_0xc2ec86['unshift'](_0x32d16d),_0x29e951=_0x236bd7['createPositionFromPath'](_0x1e363f,_0x125e74),_0x116606=null;}else{if('elementEnd'===_0x30ce22[_0x339e56]['type'])_0xc2ec86['shift'](),_0x4b91f3=_0x236bd7['createPositionFromPath'](_0x1e363f,_0x125e74),_0x125e74['pop'](),_0x125e74[_0x125e74['length']-0x1]++,_0x29e951=_0x236bd7['createPositionFromPath'](_0x1e363f,_0x125e74),_0x116606=null;else{if(_0x4b91f3=_0x236bd7['createPositionFromPath'](_0x1e363f,_0x125e74),_0x116606&&_0x4406bc(_0x116606,_0x30ce22[_0x339e56]['item']))_0x116606['_data']+=_0x30ce22[_0x339e56]['item']['data'];else{const _0x485aa4=new _t(_0x30ce22[_0x339e56]['item']['data'],_0x30ce22[_0x339e56]['item']['getAttributes']());_0xc2ec86[0x0]['_appendChild'](_0x485aa4),_0x116606=_0x485aa4;}_0x125e74[_0x125e74['length']-0x1]+=_0x30ce22[_0x339e56]['item']['offsetSize'],_0x29e951=_0x236bd7['createPositionFromPath'](_0x1e363f,_0x125e74);}}for(const _0x134484 of _0x30ce22[_0x339e56]['markersStart'])_0x2e32af['set'](_0x134484,{'start':_0x4b91f3,'end':null});_0x33851c('isRemoveSuggestion',_0x339e56,_0x4b91f3,_0x29e951),_0x33851c('isAddSuggestion',_0x339e56,_0x4b91f3,_0x29e951),_0x33851c('isRemoved',_0x339e56,_0x4b91f3,_0x29e951),_0x33851c('isAdded',_0x339e56,_0x4b91f3,_0x29e951);for(const _0x4e3de2 of _0x30ce22[_0x339e56]['markersEnd']){_0x2e32af['get'](_0x4e3de2)['end']=_0x29e951;}}for(const [_0x1eb28f,_0x442800]of _0x2e32af){const _0xe61c5e=this['editor']['model']['createRange'](_0x442800['start'],_0x442800['end']);_0x1e363f['markers']['set'](_0x1eb28f,_0xe61c5e);}return _0x394e2a['sort']((_0x9114b1,_0x57dee8)=>{const _0x3826dd=_0x1e363f['markers']['get']('revision:'+_0x9114b1['id']),_0x26f50b=_0x1e363f['markers']['get']('revision:'+_0x57dee8['id']);return _0x3826dd['start']['isBefore'](_0x26f50b['start'])?-0x1:_0x3826dd['start']['isAfter'](_0x26f50b['start'])?0x1:_0x3826dd['end']['isBefore'](_0x26f50b['end'])?-0x1:_0x3826dd['end']['isAfter'](_0x26f50b['end'])?0x1:'add'===_0x9114b1['type']?-0x1:0x1;}),{'root':_0x1e363f,'changes':_0x394e2a};function _0x33851c(_0x571051,_0x52582a,_0x47a931,_0x4dee71){const _0x47e8dd=!!_0x30ce22[_0x52582a][_0x571051],_0xa16b4b=_0x47e8dd?_0x30ce22[_0x52582a][_0x571051]['userId']:null,_0x265bb1=_0x52582a===_0x30ce22['length']-0x1,_0x10c4ff=_0x2527b9[_0x571051][0x0],_0x506648=_0x1cdfe3['isObject'](_0x30ce22[_0x52582a]['item']);!_0x4fadaa[_0x571051]&&_0x47e8dd?_0x4fadaa[_0x571051]={'start':_0x47a931,'tapeItem':_0x30ce22[_0x52582a],'userId':_0xa16b4b,'type':_0x571051}:_0x4fadaa[_0x571051]&&!_0x47e8dd?(_0x4fadaa[_0x571051]['end']=_0x47a931,_0x4e2df7(_0x4fadaa[_0x571051]),_0x4fadaa[_0x571051]=null):_0x4fadaa[_0x571051]&&_0x47e8dd&&_0x4fadaa[_0x571051]['userId']!==_0xa16b4b&&(_0x4fadaa[_0x571051]['end']=_0x47a931,_0x10c4ff&&_0x10c4ff['userId']===_0x4fadaa[_0x571051]['userId']||_0x4e2df7(_0x4fadaa[_0x571051]),_0x4fadaa[_0x571051]={'start':_0x47a931,'tapeItem':_0x30ce22[_0x52582a],'userId':_0xa16b4b,'type':_0x571051}),_0x4fadaa[_0x571051]&&_0x506648&&('elementStart'!==_0x30ce22[_0x52582a]['type']||_0x10c4ff&&_0x10c4ff['userId']===_0xa16b4b||_0x2527b9[_0x571051]['unshift']({'userId':_0xa16b4b,'object':_0x30ce22[_0x52582a]['item'],'change':_0x4fadaa[_0x571051]}),'elementEnd'===_0x30ce22[_0x52582a]['type']&&_0x10c4ff&&_0x10c4ff['object']===_0x30ce22[_0x52582a]['item']&&(_0x2527b9[_0x571051]['shift'](),_0x4fadaa[_0x571051]=_0x10c4ff['change'])),_0x4fadaa[_0x571051]&&_0x265bb1&&(_0x4fadaa[_0x571051]['end']=_0x4dee71,_0x4e2df7(_0x4fadaa[_0x571051]),_0x4fadaa[_0x571051]=null);}function _0x4e2df7({start:_0x73f137,end:_0x375c04,tapeItem:_0x41fd6d,userId:_0x1f05e4,type:_0x3d6fac}){const _0x538a9b=_0x41fd6d['item'],_0x36b53f=_0x236bd7['schema']['isBlock'](_0x538a9b)&&!_0x236bd7['schema']['isLimit'](_0x538a9b),_0x2cccbb=_0x73f137['nodeAfter']==_0x375c04['parent']&&_0x375c04['isAtStart'];if(_0x36b53f&&_0x2cccbb)return;const _0x35b31f=_0x236bd7['createRange'](_0x73f137,_0x375c04),_0x227e6f=_0x589c4c['get'](_0x1f05e4),_0x11cae6=new r({'author':_0x227e6f,'type':'isAdded'==_0x3d6fac||'isAddSuggestion'==_0x3d6fac?'add':'remove','data':{'isSuggestion':'isAddSuggestion'==_0x3d6fac||'isRemoveSuggestion'==_0x3d6fac},'createdAt':new Date(),'rootName':_0x416685});_0x394e2a['push'](_0x11cae6),_0x1e363f['markers']['set']('revision:'+_0x11cae6['id'],_0x35b31f);}function _0x4406bc(_0x47b146,_0x277a22){const _0x1d450e=_0x47b146['getAttributes'](),_0x3c595d=_0x277a22['getAttributes']();for(const _0x12a9b8 of _0x1d450e){if(_0x12a9b8[0x1]!==_0x277a22['getAttribute'](_0x12a9b8[0x0]))return!0x1;_0x3c595d['next']();}return _0x3c595d['next']()['done'];}}['_setConversion'](){this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'revision'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision','view':_0x4a3301=>{const _0x1cbb38=_0x4a3301['markerName']['split'](':')[0x1],_0x2cacc3=this['_getChangeFromId'](_0x1cbb38);if(!_0x2cacc3)return null;const _0x5b6279='add'==_0x2cacc3['type']?'insertion':'deletion',_0x3cf983=['ck-suggestion-marker','ck-suggestion-marker-'+_0x5b6279];return _0x2cacc3['data']['isSuggestion']&&_0x3cf983['push']('ck-suggestion-marker-'+_0x5b6279+'-new'),this['activeChange']==_0x2cacc3&&_0x3cf983['push']('ck-suggestion-marker--active'),{'classes':_0x3cf983,'attributes':{'data-change-id':_0x1cbb38}};}}),this['editor']['conversion']['for']('upcast')['add'](_0x3eb44e=>{_0x3eb44e['on']('element:pre',(_0x423b86,_0x46e7f8,_0x19fd6e)=>{const _0x4ac3db=_0x46e7f8['viewItem']['getChild'](0x0);if(!_0x4ac3db||!_0x4ac3db['is']('element','code'))return;if(!_0x19fd6e['consumable']['consume'](_0x4ac3db,{'attributes':['vid_start','vid_end']}))return;const _0xc9cc05=_0x46e7f8['modelRange']['start']['nodeAfter'];_0x19fd6e['writer']['setAttribute']('vid_start',_0x4ac3db['getAttribute']('vid_start'),_0xc9cc05),_0x19fd6e['writer']['setAttribute']('vid_end',_0x4ac3db['getAttribute']('vid_end'),_0xc9cc05);},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['add'](_0x1de85a=>{_0x1de85a['on']('element',(_0x25fdda,_0x5997dd,_0x3c3469)=>{if(!_0x3c3469['consumable']['consume'](_0x5997dd['viewItem'],{'attributes':['vid_start','vid_end']}))return;if(_0x5997dd['modelRange']['isCollapsed'])return;const _0x51743a=_0x5997dd['modelRange']['start']['nodeAfter'];_0x51743a['hasAttribute']('vid_start')||_0x51743a['hasAttribute']('vid')||(_0x3c3469['writer']['setAttribute']('vid_start',_0x5997dd['viewItem']['getAttribute']('vid_start'),_0x51743a),_0x3c3469['writer']['setAttribute']('vid_end',_0x5997dd['viewItem']['getAttribute']('vid_end'),_0x51743a));},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['elementToAttribute']({'view':{'name':'span','attributes':{'vid':!0x0}},'model':{'key':'vid','value':_0x4484a5=>_0x4484a5['getAttribute']('vid')}}),this['editor']['model']['schema']['on']('checkAttribute',(_0x114bce,[,_0x119950])=>{['vid_start','vid_end','vid']['includes'](_0x119950)&&(_0x114bce['return']=!0x0,_0x114bce['stop']());},{'priority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['add'](_0x39dc56=>{_0x39dc56['on']('attribute:vid',(_0xa50744,_0x13c1c6,_0x1f1ba3)=>{if('\x20'!=_0x13c1c6['item']['data']||_0x13c1c6['item']['parent']['maxOffset']>0x1)return;if(!_0x1f1ba3['consumable']['consume'](_0x13c1c6['item'],_0xa50744['name']))return;const _0x5091b5=_0x1f1ba3['writer'],_0x3ff529=_0x1f1ba3['mapper']['toViewRange'](_0x13c1c6['range']);_0x5091b5['wrap'](_0x3ff529,_0x5091b5['createAttributeElement']('span'));});}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',function(_0x198bd4){const _0x500a30=_0x198bd4['plugins']['get']('RevisionViewer');return(_0x2fcefe,_0x1b6af9,_0x1941ee)=>{const _0x2f292c=_0x1b6af9['markerName']['split'](':')[0x1],_0x317c6e=_0x500a30['_getChangeFromId'](_0x2f292c);if(!_0x317c6e)return null;const _0x4be3d2='add'==_0x317c6e['type']?'split':'merge';if(!_0x1941ee['consumable']['test'](_0x1b6af9['markerRange'],_0x2fcefe['name']))return;const _0x2761c1=_0x1b6af9['markerRange']['getWalker'](),_0x1162dd=_0x1b6af9['markerRange']['start'],_0x354d2f=_0x198bd4['model']['schema'];let _0x47518a=null,_0x58a79a=null,_0xc29bb=!0x1,_0x999f8f=!0x1;for(const _0x44017b of _0x2761c1){const _0x5ae5f0=_0x44017b['item'];_0xc29bb=_0xc29bb||_0x354d2f['isContent'](_0x5ae5f0);const _0x2553aa=_0x1941ee['mapper']['toViewElement'](_0x5ae5f0);if(_0x2553aa&&_0x2553aa['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x44017b['type']&&(_0x354d2f['isBlock'](_0x5ae5f0)&&!_0x354d2f['isLimit'](_0x5ae5f0)&&(_0x5ae5f0['nextSibling']||_0x1162dd['isAtEnd']?_0x47518a&&_0x47518a['parent']==_0x5ae5f0||(_0x47518a=_0x5ae5f0,_0x45da67(_0x44017b['previousPosition']),_0x999f8f=!0x0):_0x58a79a=_0x58a79a||_0x44017b['previousPosition']));}function _0x45da67(_0x380730){const _0x43bcab=_0x1941ee['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x4be3d2}),_0x365827=_0x1941ee['mapper']['toViewPosition'](_0x380730);_0x317c6e['data']['isSuggestion']&&_0x1941ee['writer']['addClass']('ck-suggestion-marker-'+_0x4be3d2+'-new',_0x43bcab),_0x500a30['activeChange']==_0x317c6e&&_0x1941ee['writer']['addClass']('ck-suggestion-marker--active',_0x43bcab),_0x1941ee['writer']['insert'](_0x365827,_0x43bcab),_0x1941ee['mapper']['bindElementToMarker'](_0x43bcab,_0x1b6af9['markerName']);}_0xc29bb||_0x999f8f||!_0x58a79a||_0x45da67(_0x58a79a);};}(this['editor']),{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('removeMarker:revision',(_0x44e80a,_0x5441d0,_0x4905e5)=>{const _0xd7acc7=_0x4905e5['mapper']['markerNameToElements'](_0x5441d0['markerName']);if(_0xd7acc7){for(const _0x14c5b0 of _0xd7acc7)(_0x14c5b0['hasClass']('ck-suggestion-marker-split')||_0x14c5b0['hasClass']('ck-suggestion-marker-merge'))&&(_0x4905e5['mapper']['unbindElementFromMarkerName'](_0x14c5b0,_0x5441d0['markerName']),_0x4905e5['writer']['remove'](_0x14c5b0));}},{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',(_0x41590e,_0x49cbbf,_0x197413)=>{const _0x2338fb=_0x49cbbf['markerName']['split'](':')[0x1],_0x549874=this['_getChangeFromId'](_0x2338fb);if(!_0x549874)return null;const _0x94c5eb='add'==_0x549874['type']?'split':'merge';if(_0x197413['consumable']['test'](_0x49cbbf['markerRange'],_0x41590e['name']))for(const _0xe3570d of _0x49cbbf['markerRange']['getItems']()){if(!_0xe3570d['is']('element','softBreak'))continue;const _0x355621=_0x197413['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x94c5eb}),_0x3ff8c9=_0x197413['mapper']['toViewPosition'](this['editor']['model']['createPositionBefore'](_0xe3570d));_0x549874['data']['isSuggestion']&&_0x197413['writer']['addClass']('ck-suggestion-marker-'+_0x94c5eb+'-new',_0x355621),this['activeChange']==_0x549874&&_0x197413['writer']['addClass']('ck-suggestion-marker--active',_0x355621),_0x197413['writer']['insert'](_0x3ff8c9,_0x355621),_0x197413['mapper']['bindElementToMarker'](_0x355621,_0x49cbbf['markerName']);}},{'priority':'high'}),this['editor']['model']['document']['on']('change',()=>{this['editor']['editing']['view']['change'](_0x1ce0a7=>{for(const _0x108053 of this['editor']['model']['document']['getRootNames']()){const _0x4eb10d=this['editor']['model']['document']['getRoot'](_0x108053),_0x12bc8d=this['editor']['editing']['view']['document']['getRoot'](_0x108053);if(_0x12bc8d){const _0x3ce1c6=_0x4eb10d['getAttribute']('revisionHistoryAttachChange');if(_0x1ce0a7['removeAttribute']('data-change-id',_0x12bc8d),_0x1ce0a7['removeClass']('ck-revision-history-root-add',_0x12bc8d),_0x1ce0a7['removeClass']('ck-revision-history-root-remove',_0x12bc8d),_0x1ce0a7['removeClass']('ck-revision-history-root--active',_0x12bc8d),_0x3ce1c6){const _0x54e7c8=this['_getChangeFromId'](_0x3ce1c6);if(!_0x54e7c8)return null;_0x1ce0a7['setAttribute']('data-change-id',_0x3ce1c6,_0x12bc8d),_0x1ce0a7['addClass']('ck-revision-history-root-'+_0x54e7c8['type'],_0x12bc8d),this['activeChange']==_0x54e7c8&&_0x1ce0a7['addClass']('ck-revision-history-root--active',_0x12bc8d);}}}});}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'comment','model':_0x5948da=>'revision-comment:'+_0x5948da,'converterPriority':'highest'}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'suggestion','model':_0x1c1077=>'revision-suggestion:'+_0x1c1077,'converterPriority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision-suggestion','view':_0x5237ba=>({'name':'suggestion:'+_0x5237ba,'group':'revision-suggestion'}),'converterPriority':'highest'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision-suggestion','view':_0xe1da96=>{const _0x41337e=_0xe1da96['markerName']['split'](':')[0x1];return'insertion'!=_0x41337e&&'deletion'!=_0x41337e?null:{'classes':['ck-suggestion-preview-marker','ck-suggestion-preview-marker-'+_0x41337e]};}}),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',(_0x4e84c0,_0x52319d,_0x3aa47c)=>{const _0x1c9f9f=_0x3aa47c['mapper']['markerNameToElements'](_0x52319d['markerName']);if(_0x1c9f9f){for(const _0x547f84 of _0x1c9f9f)_0x547f84['is']('uiElement')&&(_0x3aa47c['mapper']['unbindElementFromMarkerName'](_0x547f84,_0x52319d['markerName']),_0x3aa47c['writer']['remove'](_0x547f84));}},{'priority':'high'});}['_getChangeFromId'](_0x348a7e){return this['_changeIdToChange']['get'](_0x348a7e);}['_getViewForChange'](_0x288862){return this['_changeView']&&this['_changeView']['destroy'](),this['_changeView']=new Z(this['editor']['locale'],_0x288862),this['_changeView'];}['_initInteractions'](){this['editor']['model']['document']['selection']['observeMarkers']('revision'),this['on']('change:activeView',(_0x34c857,_0x488f65,_0x4cb4b8,_0x40372f)=>{_0x40372f&&this['_balloon']['remove'](_0x40372f),_0x4cb4b8&&(this['_balloon']['add']({'view':_0x4cb4b8,'stackId':'revisionHistoryLabel','position':{'target':()=>{const _0x58ccde=this['editor']['editing'],_0x361a23=this['_getChangeFromId'](_0x4cb4b8['changeId']);let _0x104be5;if(_0x361a23['data']['isOnRoot']){const _0x339246=_0x58ccde['view']['getDomRoot'](_0x361a23['rootName']);_0x104be5=Array['from'](_0x339246['getClientRects']());}else{const _0x42977d=this['editor']['model']['markers']['get']('revision:'+_0x4cb4b8['changeId']);_0x104be5=Array['from'](_0x58ccde['mapper']['markerNameToElements'](_0x42977d['name']))['map'](_0x510faa=>_0x58ccde['view']['domConverter']['mapViewToDom'](_0x510faa))['map'](_0x500045=>Array['from'](_0x500045['getClientRects']()))['flat']();}if(!this['_activeViewTarget'])return _0x104be5[0x0];return _0x104be5['find'](_0x5b1db2=>_0x5b1db2['top']-0x3<=this['_activeViewTarget']['y']&&_0x5b1db2['bottom']+0x3>=this['_activeViewTarget']['y']&&_0x5b1db2['left']-0x3<=this['_activeViewTarget']['x']&&_0x5b1db2['right']+0x3>=this['_activeViewTarget']['x'])||_0x104be5[0x0];}}}),this['_balloon']['showStack']('revisionHistoryLabel'));}),this['on']('change:activeChange',(_0x485f93,_0x13ce58,_0x3043ab,_0x2ea3e7)=>{this['activeView']=_0x3043ab?this['_getViewForChange'](_0x3043ab):null,this['editor']['model']['change'](()=>{const _0x4d48b5=this['editor']['editing'];_0x2ea3e7&&(_0x2ea3e7['data']['isOnRoot']?_0x4d48b5['view']['change'](_0x265d45=>{_0x265d45['removeClass']('ck-revision-history-root--active',_0x4d48b5['view']['document']['getRoot'](_0x2ea3e7['rootName']));}):_0x4d48b5['reconvertMarker']('revision:'+_0x2ea3e7['id'])),_0x3043ab&&(_0x3043ab['data']['isOnRoot']?_0x4d48b5['view']['change'](_0x433938=>{_0x433938['addClass']('ck-revision-history-root--active',_0x4d48b5['view']['document']['getRoot'](_0x3043ab['rootName']));}):_0x4d48b5['reconvertMarker']('revision:'+_0x3043ab['id']));});}),this['listenTo'](this['editor']['editing']['view']['document'],'mouseover',(_0x25fb0a,_0x236b9c)=>{if(this['activeChange'])return;const _0x39c350=this['_findChangeIdFromDomTarget'](_0x236b9c['target']),_0x5c4f65=this['_changeIdToChange']['get'](_0x39c350);_0x5c4f65?(this['_activeViewTarget']={'x':_0x236b9c['domEvent']['x'],'y':_0x236b9c['domEvent']['y']},this['activeView']=this['_getViewForChange'](_0x5c4f65)):(this['_activeViewTarget']=null,this['activeView']=null);}),this['listenTo'](this['editor']['editing']['view']['document'],'mousedown',(_0x43aeb8,_0x2f3fbf)=>{const _0x3bb076=this['_findChangeIdFromDomTarget'](_0x2f3fbf['target']),_0x3563e6=this['_changeIdToChange']['get'](_0x3bb076);_0x3563e6?(this['_activeViewTarget']={'x':_0x2f3fbf['domEvent']['x'],'y':_0x2f3fbf['domEvent']['y']},_0x3563e6===this['activeChange']?this['_balloon']['updatePosition']():this['activeChange']=_0x3563e6):(this['_activeViewTarget']=null,this['activeChange']=null);});}['_findChangeIdFromDomTarget'](_0x2745c6){do{const _0x1f6565=_0x2745c6['getAttribute']('data-change-id');if(_0x1f6565)return _0x1f6565;_0x2745c6=_0x2745c6['parent'];}while(_0x2745c6);return null;}['_cleanMarkers'](){this['editor']['model']['change'](_0x534a0e=>{for(const _0x4828e7 of this['editor']['model']['markers'])_0x534a0e['removeMarker'](_0x4828e7);});}}function et(_0x1c1c70,_0x4aed26){return(_0x56c12c,_0x2d7c9a,_0x4f8c45)=>{if(!_0x4f8c45['consumable']['test'](_0x2d7c9a['markerRange'],_0x56c12c['name']))return;const _0x2f84ad=_0x2d7c9a['markerRange']['getWalker'](),_0x2abd3d=_0x2d7c9a['markerRange']['start'],_0x578245=_0x1c1c70['model']['schema'];let _0x33d12a=null,_0x33543d=null,_0x5c8a9a=!0x1,_0x563858=!0x1;for(const _0x495193 of _0x2f84ad){const _0x2e5fd5=_0x495193['item'];_0x5c8a9a=_0x5c8a9a||_0x578245['isContent'](_0x2e5fd5);const _0x14327f=_0x4f8c45['mapper']['toViewElement'](_0x2e5fd5);if(_0x14327f&&_0x14327f['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x495193['type']&&(_0x578245['isBlock'](_0x2e5fd5)&&!_0x578245['isLimit'](_0x2e5fd5)&&(_0x2e5fd5['nextSibling']||_0x2abd3d['isAtEnd']?_0x33d12a&&_0x33d12a['parent']==_0x2e5fd5||(_0x33d12a=_0x2e5fd5,_0x23232c(_0x495193['previousPosition']),_0x563858=!0x0):_0x33543d=_0x33543d||_0x495193['previousPosition']));}function _0x23232c(_0x4bf79a){const _0x1c7d83=_0x4f8c45['mapper']['toViewPosition'](_0x4bf79a),_0x500467=_0x4f8c45['writer']['createUIElement']('span',{'class':'ck-suggestion-preview-marker-'+_0x4aed26});_0x4f8c45['writer']['insert'](_0x1c7d83,_0x500467),_0x4f8c45['mapper']['bindElementToMarker'](_0x500467,_0x2d7c9a['markerName']);}_0x5c8a9a||_0x563858||!_0x33543d||_0x23232c(_0x33543d);};}class bt extends _0x5c7302{constructor(_0x42752d){super(_0x42752d);const _0x580892=_0x42752d['plugins']['get'](d);this['affectsData']=!0x1,this['listenTo'](_0x580892,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x580892,'change:isEnabled',()=>this['refresh']());}['execute'](){const _0x469d6f=this['editor'],_0x3dae68=_0x469d6f['plugins']['get'](d),_0x494204=_0x3dae68['isReady']?_0x3dae68['diff']['newRevisionId']:null;_0x469d6f['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x494204);}['refresh'](){const {isReady:_0x2ff2c6,isEnabled:_0x2f32d2}=this['editor']['plugins']['get'](d);this['isEnabled']=_0x2ff2c6&&_0x2f32d2;}}class yt extends _0x5c7302{['_step'];constructor(_0x26b2df,{direction:_0x2f7fac}){super(_0x26b2df);const _0x52b696=_0x26b2df['plugins']['get'](d);this['affectsData']=!0x1,this['_step']='forward'===_0x2f7fac?0x1:-0x1,this['listenTo'](_0x52b696,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x52b696,'change:isEnabled',()=>this['refresh']()),this['listenTo'](_0x52b696,'change:activeChange',()=>this['refresh']());}['execute'](){const _0x6b0b1=this['editor'],_0x35ee0a=_0x6b0b1['plugins']['get'](d),{isNavigationMode:_0x3ea7f3,currentChangeNumber:_0x323f70}=_0x35ee0a;let _0xbb74c0;if(_0x35ee0a['activeChange']=_0x3ea7f3?_0x35ee0a['diff']['changes']['get'](_0x323f70+this['_step']):_0x35ee0a['diff']['changes']['first'],_0x35ee0a['activeChange']['data']['isOnRoot'])_0xbb74c0=_0x6b0b1['editing']['view']['getDomRoot'](_0x35ee0a['activeChange']['rootName']);else{const _0x5a3667=_0x6b0b1['model']['markers']['get']('revision:'+_0x35ee0a['activeChange']['id']);_0xbb74c0=_0x3790df(_0x6b0b1['editing'],_0x5a3667);}_0x52c1fc({'target':_0xbb74c0,'viewportOffset':0x28});}['refresh'](){const {isNavigationMode:_0x65ca0b,currentChangeNumber:_0x340e54,numberOfChanges:_0x145826,isReady:_0x50bcaa,isEnabled:_0x10e998}=this['editor']['plugins']['get'](d);this['isEnabled']=!!(_0x10e998&&_0x50bcaa&&_0x145826)&&(!_0x65ca0b||(0x1===this['_step']?_0x340e54<_0x145826-0x1:_0x340e54>0x0));}}class _i extends _0x14e867{constructor(_0x2db3a8){super(_0x2db3a8);const _0x3da5ae=this['bindTemplate'],_0x4fee55=new _0x56e36f(_0x2db3a8),_0x164bf9=new _0x56e36f(_0x2db3a8);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',(_0x4803b2,_0x15f5e6)=>_0x4803b2&&_0x15f5e6>0x0),this['bind']('_statusText')['to'](this,'isReady',this,'currentChangeNumber',this,'numberOfChanges',this,'isNavigationMode',(_0x5906a8,_0x29e91a,_0xdd60bf,_0x226801)=>{if(!_0x5906a8)return y(_0x2db3a8,'Loading...');if(!_0xdd60bf)return y(_0x2db3a8,'No\x20changes');const _0x251a41=y(_0x2db3a8,'NUMBER_OF_CHANGES',_0xdd60bf);return _0x226801?y(_0x2db3a8,'X_OF_Y_CHANGES',[_0x29e91a+0x1,_0xdd60bf]):_0x251a41;}),_0x4fee55['set']({'label':y(_0x2db3a8,'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'}),_0x164bf9['set']({'label':y(_0x2db3a8,'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'}),_0x4fee55['bind']('isEnabled')['to'](this,'isBackwardNavigationEnabled'),_0x164bf9['bind']('isEnabled')['to'](this,'isForwardNavigationEnabled'),_0x4fee55['on']('execute',()=>this['fire']('execute','backward')),_0x164bf9['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',_0x3da5ae['if']('_isStatusLabelVisible','ck-hidden',_0x435bfa=>!_0x435bfa)]},'children':[{'text':_0x3da5ae['to']('isNavigationMode',_0x2a0bcd=>_0x2a0bcd?y(_0x2db3a8,'EDIT_X_OF_Y_REVISIONS')+':\x20':y(_0x2db3a8,'Total')+':\x20')}]},{'text':_0x3da5ae['to']('_statusText')}]},new _0x144341(),{'tag':'div','attributes':{'class':['ck-revision-history-ui__changes-navigation__navigation']},'children':[_0x4fee55,_0x164bf9]}]});}}const ce='ck-editor__editable__loading-overlay';class de extends _0x4b4393{static get['pluginName'](){return'RevisionViewerLoadingOverlay';}['show'](){const _0x2bc2c4=this['editor']['editing']['view'];_0x2bc2c4['change'](_0x3652f2=>{for(const _0xd732f7 of _0x2bc2c4['document']['roots'])_0x3652f2['addClass'](ce,_0xd732f7);});}['hide'](){const _0x4a9862=this['editor']['editing']['view'];_0x4a9862['change'](_0x46dfeb=>{for(const _0x5413e4 of _0x4a9862['document']['roots'])_0x46dfeb['removeClass'](ce,_0x5413e4);});}}class R extends _0x4b4393{static get['pluginName'](){return'RevisionViewerUI';}static get['requires'](){return[d,de];}['init'](){const _0x3ab1f4=this['editor'],_0x273ca9=_0x3ab1f4['plugins']['get'](d),_0x1a682c=_0x3ab1f4['plugins']['get'](de);_0x3ab1f4['ui']['componentFactory']['add']('exitToEditing',_0x13418f=>{const _0x1a9c0d=new _0x56e36f(_0x13418f);return _0x1a9c0d['set']({'label':y(_0x13418f,'Back\x20to\x20editing'),'icon':_0x45dcb0['undo'],'withText':!0x0,'tooltip':!0x0,'class':'ck-revision-history-ui__back-to-editing'}),this['listenTo'](_0x1a9c0d,'execute',()=>{_0x3ab1f4['config']['get']('revisionHistory')['closeRevisionViewerCallback']();}),_0x1a9c0d;}),_0x3ab1f4['ui']['componentFactory']['add']('restoreRevision',_0x58366f=>{const _0x1174f8=new _0x56e36f(_0x58366f);return _0x1174f8['set']({'label':y(_0x58366f,'Restore\x20this\x20revision'),'withText':!0x0,'tooltip':!0x0}),_0x1174f8['bind']('isEnabled')['to'](_0x3ab1f4['commands']['get']('restoreRevision')),this['listenTo'](_0x1174f8,'execute',()=>_0x3ab1f4['execute']('restoreRevision')),_0x1174f8;}),_0x3ab1f4['ui']['componentFactory']['add']('changesNavigation',_0x24ab40=>{const _0x484359=new _i(_0x24ab40),_0x31fcd1=_0x3ab1f4['commands']['get']('showPreviousChange'),_0x487c31=_0x3ab1f4['commands']['get']('showNextChange');return _0x484359['bind']('isBackwardNavigationEnabled')['to'](_0x31fcd1,'isEnabled'),_0x484359['bind']('isForwardNavigationEnabled')['to'](_0x487c31,'isEnabled'),_0x484359['bind']('isReady','currentChangeNumber','numberOfChanges','isNavigationMode')['to'](_0x273ca9),this['listenTo'](_0x484359,'execute',(_0x30292c,_0x10f77c)=>{_0x3ab1f4['execute']('forward'===_0x10f77c?'showNextChange':'showPreviousChange');}),_0x484359;}),_0x1a682c['show'](),_0x273ca9['on']('change:isReady',(_0x3f0729,_0x295d78,_0x589168)=>{_0x589168?_0x1a682c['hide']():_0x1a682c['show']();});}}class kt extends at{['_resizeObserver']=null;constructor(_0x2dd238,_0x338120){super(_0x2dd238,_0x338120);const _0x160a2c=this['bindTemplate'];this['set']({'label':y(_0x2dd238,'Revision\x20name'),'_tooltipString':''}),this['fieldView']['placeholder']=y(_0x2dd238,'Enter\x20the\x20revision\x20name'),this['extendTemplate']({'tag':'span','attributes':{'class':['ck-revision-history-sidebar__revision-name'],'data-cke-tooltip-text':_0x160a2c['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 _0x4e79a3=this['fieldView']['element'];this['_tooltipString']=_0x4e79a3['scrollWidth']>_0x4e79a3['clientWidth']&&_0x4e79a3['value']||'';}}class ti extends _0x14e867{constructor(_0x1452c4,_0x3d00f5,_0x4d3508){super(_0x1452c4);const _0x59f165=new _0x333034();_0x59f165['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 _0x1b6e9a=['ck','ck-revision-history-sidebar__revision-author'];_0x4d3508&&_0x1b6e9a['push']('ck-revision-history-sidebar__revision-author_creator');const _0x4b956c=[{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__revision-author__name'],'title':y(_0x1452c4,_0x4d3508?'Revision\x20creator':'Revision\x20author')},'children':[_0x59f165,_0x3d00f5['name']]}];this['setTemplate']({'tag':'li','attributes':{'class':_0x1b6e9a},'children':_0x4b956c});}}function ni(_0x306ec5,_0x622e74){const _0x12b4fc=_0x306ec5['bindTemplate'],_0x558c64=_0x306ec5['locale'],_0x3ef3b0=_0x5fbd9d(_0x558c64);_0x3ef3b0['panelPosition']='sw';const _0xd7167f=function(_0x423f66,_0x404ee6){const _0x1ff5aa=function(_0x2b1756,_0x1d5862){const _0x4597d2=_0x2b1756['locale'],_0x1c20d6={'Compare\x20against\x20selected':y(_0x4597d2,'Compare\x20against\x20selected'),'Name\x20this\x20revision':y(_0x4597d2,'Name\x20this\x20revision'),'Restore\x20this\x20revision':y(_0x4597d2,'Restore\x20this\x20revision')};return _0x1d5862['map'](_0x3ad0b0=>{const _0x43aa77=_0x1c20d6[_0x3ad0b0['name']];return _0x43aa77&&_0x43aa77!==_0x3ad0b0['name']&&(_0x3ad0b0['name']=_0x43aa77),_0x3ad0b0;});}(_0x423f66,_0x404ee6),_0x37f601=new _0x2d52df();for(const _0x4d6880 of _0x1ff5aa){const _0x417cd1={'type':'button','model':new to({'label':_0x4d6880['name'],'class':_0x4d6880['class'],'withText':!0x0,'role':'menuitem','_action':_0x4d6880['action']})};_0x417cd1['model']['bind']('isEnabled')['to'](_0x423f66,'isActionsDropdownOpen',_0x2aa55e=>'function'!=typeof _0x4d6880['isEnabled']||(!_0x2aa55e||_0x4d6880['isEnabled'](_0x423f66))),_0x37f601['add'](_0x417cd1);}return _0x37f601;}(_0x306ec5,_0x622e74);return _0x306ec5['bind']('isActionsDropdownOpen')['to'](_0x3ef3b0,'isOpen'),_0x3ef3b0['buttonView']['set']({'label':y(_0x558c64,'Show\x20more\x20items'),'tooltip':!0x0,'tooltipPosition':'sw','icon':_0x45dcb0['threeVerticalDots']}),_0x3ef3b0['extendTemplate']({'attributes':{'class':['ck-revision-history-sidebar__revision__actions',_0x12b4fc['if']('isActionsDropdownOpen','ck-on')]},'on':{'click':_0x12b4fc['to'](_0x58a36d=>_0x58a36d['stopPropagation']())}}),_0x3ef3b0['on']('execute',_0xf3ca45=>{_0x306ec5['isReady']&&'function'==typeof _0xf3ca45['source']['_action']&&_0xf3ca45['source']['_action'](_0x306ec5);}),_0x55efb8(_0x3ef3b0,_0xd7167f,{'role':'menu'}),_0x3ef3b0['listenTo'](_0x306ec5,'change:isActionsDropdownOpen',(_0x5ce72d,_0x29b27f,_0x5a1d8d)=>{if(_0x5a1d8d)for(const _0x20409e of _0x3ef3b0['listView']['items']){const _0x553b23=_0x20409e['children']['first'],_0x5d54e3=_0x622e74['find'](_0x1f1986=>_0x1f1986['action']===_0x553b23['_action'])['isVisible'];_0x20409e['isVisible']=void 0x0===_0x5d54e3||_0x5d54e3(_0x306ec5);}}),_0x3ef3b0;}class ai extends/* #__PURE__ -- @preserve */
26
+ _0x20b5c5(_0x14e867){['id'];['revisionNameView'];['revisionActionsView'];['_revision'];['_requireRevisionName'];constructor(_0x1e2b6b,_0x55a501,_0x509034,_0x57469e){super(_0x1e2b6b);const _0x18790b=this['bindTemplate'],_0x4a0686=function(_0x2ee4c8,_0x3918a6){const _0x31d162=Array['from'](_0x3918a6['authors'])['filter'](_0x2dfe89=>_0x2dfe89!=_0x3918a6['creator']);return _0x3918a6['creator']&&_0x31d162['unshift'](_0x3918a6['creator']),_0x31d162['map'](_0x1f785d=>new ti(_0x2ee4c8,_0x1f785d,_0x1f785d==_0x3918a6['creator']));}(_0x1e2b6b,_0x55a501);this['id']=_0x55a501['id'],this['_revision']=_0x55a501,this['_requireRevisionName']=_0x57469e,this['bind']('name','createdAt')['to'](_0x55a501),this['bind']('_createdAtFormatted')['to'](this,'createdAt',_0x1273f4=>{return _0x1dedd2=_0x1e2b6b['uiLanguage'],(_0x5d8a40=_0x1273f4)['toLocaleDateString'](_0x1dedd2,{'month':'long','day':'numeric'})+',\x20'+_0x5d8a40['toLocaleTimeString'](_0x1dedd2,{'hour':'numeric','minute':'numeric'});var _0x1dedd2,_0x5d8a40;}),this['set']('isSelected',!0x1),this['set']('isHighlighted',!0x1),this['set']('isActionsDropdownOpen',!0x1),this['set']('isReady',!0x1),this['set']('isEnabled',!0x1),this['revisionNameView']=new kt(_0x1e2b6b,_0x25493e),this['revisionNameView']['fieldView']['extendTemplate']({'attributes':{'maxlength':'220'}}),this['revisionNameView']['fieldView']['bind']('value')['to'](this,'name',_0x2f3825=>_0x2f3825||this['_createdAtFormatted']),this['revisionNameView']['bind']('isEnabled')['to'](this,'isSelected',this,'isEnabled',(_0x14a781,_0x5e7bba)=>_0x14a781&&_0x5e7bba),this['revisionActionsView']=_0x509034&&_0x509034['length']?ni(this,_0x509034):'',this['revisionActionsView']&&this['revisionActionsView']['bind']('isEnabled')['to'](this),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision-wrapper',_0x18790b['if']('isConfirm','ck-revision-history-sidebar__revision-wrapper_confirmation_visible')]},'children':[{'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision',_0x18790b['if']('isEnabled','ck-disabled',_0x5e299c=>!_0x5e299c),_0x18790b['if']('isSelected','ck-revision-history-sidebar__revision_selected'),_0x18790b['if']('isHighlighted','ck-revision-history-sidebar__revision_highlighted'),_0x18790b['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':_0x18790b['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':_0x4a0686}]},this['revisionActionsView']],'on':{'click':_0x18790b['to'](_0x55d791=>{_0x55d791['srcElement']['closest']('.ck-thread__remove-confirm')||this['isReady']&&this['isEnabled']&&this['fire']('select',{'id':this['id']});})}}]});}['render'](){super['render']();const _0x4d9a58=this['revisionNameView']['fieldView']['element'];this['listenTo'](_0x4d9a58,'change',()=>{this['_requireRevisionName']&&!_0x4d9a58['value']||this['fire']('setName',{'id':this['id'],'name':_0x4d9a58['value']}),_0x4d9a58['value']||(_0x4d9a58['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(_0x5a2d3a,_0x176571){const _0x2d8827=_0x305862['fromJSDate'](_0x5a2d3a)['setLocale'](_0x176571),_0xb37d12=_0x305862['local'](),_0xcebef5=_0xb37d12['minus']({'days':0x1})['startOf']('day');let _0x487dfe,_0x23e1be;return _0x2d8827['hasSame'](_0xb37d12,'day')?(_0x487dfe=_0x2d8827['startOf']('day')['toJSDate'](),_0x23e1be=_0x2d8827['toRelativeCalendar']()):_0x2d8827['hasSame'](_0xcebef5,'day')?(_0x487dfe=_0xcebef5['toJSDate'](),_0x23e1be=_0x2d8827['toRelativeCalendar']()):_0x2d8827['hasSame'](_0xb37d12,'week')?(_0x487dfe=_0x2d8827['startOf']('week')['toJSDate'](),_0x23e1be=_0x2d8827['weekdayLong']||''):_0x2d8827['hasSame'](_0xb37d12,'year')?(_0x487dfe=_0x2d8827['startOf']('month')['toJSDate'](),_0x23e1be=_0x2d8827['monthLong']||''):(_0x487dfe=_0x2d8827['startOf']('year')['toJSDate'](),_0x23e1be=String(_0x2d8827['year'])),{'startDate':_0x487dfe,'localizedPeriodName':_0x23e1be};}class mi extends _0x14e867{['startDate'];['revisionViews'];['_revisionActions'];['_requireRevisionName'];constructor(_0x295c3f,_0x126322,_0x2c5b5e,_0x369748){super(_0x295c3f);const _0x480cc2=di(_0x126322,this['locale']['uiLanguage'])['localizedPeriodName'];this['startDate']=_0x126322,this['revisionViews']=this['createCollection'](),this['_revisionActions']=_0x2c5b5e,this['_requireRevisionName']=_0x369748,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':_0x480cc2}]},{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__time-period__revisions']},'children':this['revisionViews']}]});}['addRevision'](_0x16cfd8){const _0x4d7394=new ai(this['locale'],_0x16cfd8,this['_revisionActions'],this['_requireRevisionName']);this['revisionViews']['add'](_0x4d7394);}['removeRevision'](_0x18a175){const _0x7a054=this['revisionViews']['find'](_0x34a9e9=>_0x34a9e9['id']===_0x18a175['id']);this['revisionViews']['remove'](_0x7a054);}}class as extends _0x14e867{constructor(_0x2079ea){super(_0x2079ea);const _0x131b2a=new _0x333034();_0x131b2a['content']=_0x45dcb0['history'],this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all','ck-revision-history-sidebar__header']},'children':[_0x131b2a,{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__header__label']},'children':[y(_0x2079ea,'Revision\x20history')]}]});}}class ci extends _0x14e867{['timePeriodViews'];['_revisions'];['_revisionActions'];['_requireRevisionName'];constructor(_0x59859c,_0x116e0d,_0x4b124b,_0x98f514){super(_0x59859c);const _0x109922=this['bindTemplate'];this['timePeriodViews']=this['createCollection'](),this['timePeriodViews']['delegate']('select')['to'](this),this['timePeriodViews']['delegate']('setName')['to'](this),this['_revisions']=_0x116e0d,this['_revisionActions']=_0x4b124b,this['_requireRevisionName']=_0x98f514,this['on']('select',(_0x2cf7ba,_0x3ad5d2)=>{this['fire']('revisionSelected',_0x3ad5d2);}),this['on']('setName',(_0x37ad63,_0x697398)=>{this['fire']('revisionSetName',_0x697398);}),this['set']('isEnabled',!0x1),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-rounded-corners','ck-revision-history-sidebar']},'children':[new as(_0x59859c),{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__timeline',_0x109922['if']('isEnabled','ck-disabled',_0x3d487c=>!_0x3d487c)]},'children':this['timePeriodViews']}]});}['render'](){super['render']();for(const _0x260546 of this['_revisions'])this['_addRevision'](_0x260546);this['_revisions']['on']('add',(_0x7566d9,_0x5c99ba)=>{this['_addRevision'](_0x5c99ba);}),this['_revisions']['on']('remove',(_0x400414,_0x564b73)=>{this['_removeRevision'](_0x564b73);});}get['revisionViews'](){return this['timePeriodViews']['map'](_0x9b595d=>_0x9b595d['revisionViews']['map'](_0x23903f=>_0x23903f))['flat']();}['selectRevision'](_0x37554c){for(const _0x421e43 of this['revisionViews'])_0x37554c&&_0x37554c['id']===_0x421e43['id']?_0x421e43['select']():_0x421e43['deselect']();}['highlightRevisions'](_0x257e9d){for(const _0x5b6650 of this['revisionViews'])_0x257e9d['some'](({id:_0x5d9ec3})=>_0x5d9ec3===_0x5b6650['id'])?_0x5b6650['highlight']():_0x5b6650['unhighlight']();}['_addRevision'](_0x33f885){const _0x81fa7d=di(_0x33f885['createdAt'],this['locale']['uiLanguage'])['startDate'];let _0x50efba=this['timePeriodViews']['get'](0x0);_0x50efba&&_0x50efba['startDate']['getTime']()===_0x81fa7d['getTime']()||(_0x50efba=new mi(this['locale'],_0x81fa7d,this['_revisionActions'],this['_requireRevisionName']),this['timePeriodViews']['add'](_0x50efba)),_0x50efba['addRevision'](_0x33f885);}['_removeRevision'](_0x354881){const _0x18015c=di(_0x354881['createdAt'],this['locale']['uiLanguage'])['startDate'];this['_getTimePeriodViewByStartDate'](_0x18015c)['removeRevision'](_0x354881);}['_getTimePeriodViewByStartDate'](_0x326667){return this['timePeriodViews']['find'](_0x295bb1=>_0x295bb1['startDate']['getTime']()===_0x326667['getTime']());}}class w extends _0x4b4393{['_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(_0x5c67da){super(_0x5c67da),this['_revisionViewer']=_0x5c67da['plugins']['get'](d),this['_revisionsRepository']=this['_revisionViewer']['repository'],this['_sidebarView']=null;}['init'](){const _0x25e77d=this['_revisionsRepository']['_revisions'],_0x1ec9e7=this['_createRevisionActions'](),_0x3f3be4=this['editor']['config']['get']('revisionHistory.viewerSidebarContainer');this['_sidebarView']=new di(this['editor']['locale'],_0x25e77d,_0x1ec9e7,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',(_0x151b47,_0x147c13)=>{_0x147c13['revisionViews']['on']('add',(_0x241d7e,_0x5958e1)=>{_0x5958e1['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)),_0x3f3be4['appendChild'](this['_sidebarView']['element']);}['destroy'](){this['_sidebarView']['element']['remove'](),this['_sidebarView']['destroy']();}['_handleEditorDataReady'](){const _0x5c5db9=this['_revisionsRepository']['getRevision'](0x0);if(_0x5c5db9){const _0x53417e=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x5c5db9['id']);this['_revisionViewer']['compare'](_0x5c5db9,_0x53417e);}}['_handleRevisionSelected'](_0x24147d,_0x34dbd6){const _0x3de6c3=this['_revisionsRepository']['getRevision'](_0x34dbd6['id']),_0x5678a1=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x3de6c3['id']);this['_revisionViewer']['compare'](_0x3de6c3,_0x5678a1);}['_handleRevisionSetName'](_0x292c86,_0x4b0c5d){this['_revisionsRepository']['getRevision'](_0x4b0c5d['id'])['setName'](_0x4b0c5d['name']);}['_handleDiffChange'](_0x119e80,_0x5540a6,_0x1b6b3f){const _0x2b4256=this['_revisionsRepository']['getRevisionsInDiff'](_0x1b6b3f);_0x2b4256['length']>0x2?(this['_sidebarView']['highlightRevisions'](_0x2b4256),this['_sidebarView']['selectRevision'](null)):(this['_sidebarView']['highlightRevisions']([]),this['_sidebarView']['selectRevision'](_0x2b4256[0x0]));}['_createRevisionActions'](){const _0xcba089=this['editor'],_0x3a254a=w['availableRevisionActions'],_0x3f68f5=_0xcba089['config']['get']('revisionHistory.revisionActions')||w['defaultRevisionActions'];if(_0x3f68f5['length'])return _0x3f68f5['map'](_0x346f44=>{const _0x3b4a7f='string'==typeof _0x346f44?Object['assign']({},_0x3a254a[_0x346f44]):_0x346f44;return _0x3b4a7f['action']=_0x3b4a7f['action']['bind'](this,_0xcba089),_0x3b4a7f['isVisible']&&(_0x3b4a7f['isVisible']=_0x3b4a7f['isVisible']['bind'](this,_0xcba089)),_0x3b4a7f;});}}function Rt(){return{'compareAgainstSelected':{'name':'Compare\x20against\x20selected','action':({plugins:_0x2b04d2},_0x138361)=>{const _0x4fd22d=_0x2b04d2['get'](d),_0x1ce75f=_0x4fd22d['repository'];let _0x1fb147=_0x4fd22d['diff']['newRevisionId'],_0x15e6b2=_0x138361['id'];_0x1ce75f['getIndex'](_0x1fb147)>_0x1ce75f['getIndex'](_0x15e6b2)&&([_0x1fb147,_0x15e6b2]=[_0x15e6b2,_0x1fb147]),_0x4fd22d['compare'](_0x1fb147,_0x15e6b2);},'isVisible':({plugins:_0x156fd5},_0x12c285)=>{const _0x5108c0=_0x156fd5['get'](d);return!(_0x5108c0['repository']['getRevisionsInDiff'](_0x5108c0['diff'])['length']>0x2)&&!_0x12c285['isSelected'];}},'restoreRevision':{'name':'Restore\x20this\x20revision','action':(_0x1e5463,{id:_0x59b7bf})=>{_0x1e5463['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x59b7bf);},'isVisible':({plugins:_0x54cffc},_0x345ba2)=>!!_0x54cffc['get'](d)['repository']['getLaterVisibleRevision'](_0x345ba2['id'])},'nameRevision':{'name':'Name\x20this\x20revision','action':({plugins:_0x5366c9},{id:_0x34fee6,revisionNameView:_0x54cae7})=>{const _0x8fa953=_0x5366c9['get'](d),_0x190393=_0x8fa953['repository']['getEarlierVisibleRevision'](_0x34fee6);_0x8fa953['compare'](_0x34fee6,_0x190393),_0x54cae7['focus'](),_0x54cae7['fieldView']['select']();}}};}class st extends ht{['_view'];['_toolbarConfig'];['_elementReplacer'];get['view'](){return this['_view'];}constructor(_0x3fbe2c,_0x3a58fd){super(_0x3fbe2c),this['_view']=_0x3a58fd,this['_toolbarConfig']=ct(_0x3fbe2c['config']['get']('toolbar')),this['_elementReplacer']=new nt();}get['element'](){return this['view']['element'];}['init'](_0xe9047d){const _0x200f40=this['editor'],_0x519ce2=this['view'],_0x3f5ede=_0x200f40['editing']['view'],_0x222914=_0x519ce2['editable'],_0x2a9833=_0x3f5ede['document']['getRoot']();_0x222914['name']=_0x2a9833['rootName'],_0x519ce2['render']();const _0x550d38=_0x222914['element'];this['setEditableElement'](_0x222914['name'],_0x550d38),_0x519ce2['editable']['bind']('isFocused')['to'](this['focusTracker']),_0x3f5ede['attachDomRoot'](_0x550d38),this['_elementReplacer']['replace'](_0xe9047d,this['element']),this['_initToolbar'](),this['fire']('ready');}['destroy'](){super['destroy']();const _0x74f8c=this['view'],_0x47a840=this['editor']['editing']['view'];this['_elementReplacer']['restore'](),_0x47a840['detachDomRoot'](_0x74f8c['editable']['name']),_0x74f8c['destroy']();}['_initToolbar'](){const _0x488452=this['view'];_0x488452['stickyPanel']['bind']('isActive')['to'](this['focusTracker'],'isFocused'),_0x488452['stickyPanel']['limiterElement']=_0x488452['element'],_0x488452['stickyPanel']['bind']('viewportTopOffset')['to'](this,'viewportOffset',({top:_0x281caa})=>_0x281caa),_0x488452['toolbar']['fillFromConfig'](this['_toolbarConfig'],this['componentFactory']),this['addToolbar'](_0x488452['toolbar']);}}class ot extends dt{['_editable'];['stickyPanel'];['toolbar'];get['editable'](){return this['_editable'];}constructor(_0x40bb3c,_0x276cf9,_0x2fcd8b={}){super(_0x40bb3c),this['stickyPanel']=new lt(_0x40bb3c),this['toolbar']=new pt(_0x40bb3c,{'shouldGroupWhenFull':_0x2fcd8b['shouldToolbarGroupWhenFull']}),this['_editable']=new ut(_0x40bb3c,_0x276cf9);}['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(_0x247e69,_0x4d19b7){super(_0x4d19b7),this['sourceElement']=_0x247e69,this['model']['document']['createRoot']();const _0x1da990=new ot(this['locale'],this['editing']['view'],{'shouldToolbarGroupWhenFull':!0x0});this['_ui']=new st(this,_0x1da990);}['destroy'](){return this['updateSourceElement'](),this['ui']['destroy'](),super['destroy']();}static async['create'](_0x4ff895,_0x3b5a9a){const _0x5910b6=new this(_0x4ff895,_0x3b5a9a);return await _0x5910b6['initPlugins'](),await _0x5910b6['ui']['init'](_0x4ff895),await _0x5910b6['data']['init'](_0x5910b6['config']['get']('initialData')||''),_0x5910b6['fire']('ready'),_0x5910b6;}}const p=['RevisionHistoryUI','RestrictedEditingMode'];class k extends _0x5cf14b{['result'];static get['pluginName'](){return'RevisionViewerIntegration';}constructor(_0xa88590){super(_0xa88590),this['result']='end';}}class H extends _0x5cf14b{['_viewerEditor'];static get['pluginName'](){return'RevisionHistory';}static get['requires'](){return[l,u];}constructor(_0x1fe5ca){if(super(_0x1fe5ca),!this['editor']['config']['get']('revisionHistory'))throw new _0x40723b('revision-history-missing-configuration',this);this['_viewerEditor']=null,this['editor']['config']['define']('revisionHistory.showRevisionViewerCallback',_0x4a0cbc=>this['_showRevisionViewer']({..._0x4a0cbc,'translations':this['editor']['locale']['translations']})),this['editor']['config']['define']('revisionHistory.closeRevisionViewerCallback',_0x403140=>this['_closeRevisionViewer'](_0x403140)),this['editor']['config']['define']('revisionHistory.restoreRevisionCallback',_0x492c59=>this['_restoreRevision'](_0x492c59)),this['editor']['config']['define']('revisionHistory.requireRevisionName',!0x1),this['_enhanceShowRevisionViewerCallback'](),this['_enhanceCloseRevisionViewerCallback']();}set['adapter'](_0x43f7a1){this['editor']['plugins']['get']('RevisionTracker')['adapter']=_0x43f7a1;}get['adapter'](){return this['editor']['plugins']['get']('RevisionTracker')['adapter'];}['addRevisionData'](_0x191340){return this['editor']['plugins']['get']('RevisionTracker')['addRevisionData'](_0x191340);}['getRevision'](_0x1b4279){return this['editor']['plugins']['get']('RevisionsRepository')['getRevision'](_0x1b4279);}['getRevisions'](_0x990573){return this['editor']['plugins']['get']('RevisionsRepository')['getRevisions'](_0x990573||{'toJSON':!0x1});}['_getRevisionViewerEditorConfig'](){const _0x1a362f=this['editor'],_0x2fd1c0=_0x4f420b(_0x1a362f,p),_0x4604f3=_0x1a362f['plugins']['get']('RevisionTracker'),_0x1fd53c=_0x1a362f['plugins']['get']('Users')['users'];return _0x2fd1c0['toolbar']=['exitToEditing','restoreRevision','changesNavigation'],delete _0x2fd1c0['lazyRoots'],(_0x2fd1c0['plugins']['push'](k,d,R,class extends _0x5cf14b{static get['requires'](){return[d,'Users'];}['init'](){const _0x282ef9=this['editor']['plugins']['get']('Users');for(const _0x476d9e of _0x1fd53c)_0x476d9e['isAnonymous']||_0x282ef9['getUser'](_0x476d9e['id'])||_0x282ef9['addUser'](_0x476d9e);const _0x1cfbc1=_0x4604f3['repository']['getRevisions']();let _0x52b75f=null;const _0x41b7b3=this['editor']['plugins']['get']('RevisionViewer');_0x41b7b3['adapter']=_0x4604f3['adapter'],_0x41b7b3['bind']('isEnabled')['to'](_0x4604f3),this['editor']['commands']['get']('restoreRevision')['bind']('isEnabled')['to'](_0x1a362f,'isReadOnly',_0x28c75b=>!_0x28c75b);for(const _0x1fa57b of _0x1cfbc1){const _0x22484d=null===_0x1fa57b['creator'];if(_0x22484d&&_0x1fa57b['toVersion']===_0x1fa57b['fromVersion'])continue;const _0x1c5cdf=_0x1fa57b['toJSON']();_0x41b7b3['addRevisionData'](_0x1c5cdf,(_0x105aba,_0x18d8df,_0x4ffa97)=>{if(_0x22484d){if(_0x52b75f)_0x52b75f['_update'](_0x105aba,_0x18d8df);else{if(!_0x18d8df){const _0x2e04c1=_0x4ffa97['toJSON']();_0x2e04c1['id']=_0x497491(),_0x4604f3['saveRevision'](_0x2e04c1,_0x4ffa97['toVersion'])['then'](_0x9cec31=>{_0x52b75f=_0x9cec31;});}}}else _0x1fa57b['_update'](_0x105aba,_0x18d8df);});}}},w),_0x2fd1c0);}['_enhanceShowRevisionViewerCallback'](){const _0x14175e=this['editor']['config']['get']('revisionHistory')['showRevisionViewerCallback'];this['editor']['config']['set']('revisionHistory.showRevisionViewerCallback',async()=>{this['editor']['enableReadOnlyMode']('revision-history-viewer-opened');const _0x40fc84=this['editor']['plugins']['get']('RevisionTracker');if(this['editor']['plugins']['has']('Autosave')){const _0x19d2d0=this['editor']['plugins']['get']('Autosave');await _0x19d2d0['save']();}else await _0x40fc84['update']();if(this['editor']['plugins']['has']('PaginationLookup')&&this['editor']['plugins']['get']('PaginationLookup')['_recalculatePageBreaks'](),this['editor']['plugins']['has']('Dialog')){const _0x13dade=this['editor']['plugins']['get']('Dialog');_0x13dade['isOpen']&&_0x13dade['hide']();}const _0x6c6475=this['_getRevisionViewerEditorConfig']();return _0x14175e(_0x6c6475)['then'](_0x151d14=>{return(this['_viewerEditor']=_0x151d14,this['editor']['plugins']['has']('Annotations'))&&this['editor']['plugins']['get']('Annotations')['refreshVisibility'](),_0x151d14;})['catch'](_0x5aa1e4=>(console['error'](_0x5aa1e4),this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),null));});}['_enhanceCloseRevisionViewerCallback'](){const _0x3fad23=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'](),_0x3fad23(this['_viewerEditor'])['then'](()=>{if(this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),this['_viewerEditor']=null,this['editor']['plugins']['has']('Annotations')){const _0x15e6ad=this['editor']['plugins']['get']('Annotations');_0x15e6ad['refreshVisibility'](),_0x15e6ad['refreshPositioning']();}})));}['_showRevisionViewer'](_0x54884a){const _0x484476=this['editor']['config']['get']('revisionHistory.editorContainer'),_0x21c558=this['editor']['config']['get']('revisionHistory.viewerContainer'),_0x41deb3=this['editor']['config']['get']('revisionHistory.viewerEditorElement');return m['create'](_0x41deb3,_0x54884a)['then'](_0x47c85f=>(_0x21c558['style']['display']='block',_0x484476['style']['display']='none',_0x47c85f));}['_closeRevisionViewer'](_0x298755){const _0x303b5d=this['editor']['config']['get']('revisionHistory.editorContainer');return this['editor']['config']['get']('revisionHistory.viewerContainer')['style']['display']='none',_0x303b5d['style']['display']='',_0x298755['destroy']();}async['_restoreRevision'](_0xe4b57){const _0x498b64=this['editor'],_0x1c9c50=this['_viewerEditor']['plugins']['get']('RevisionViewer'),_0x4555f2=_0x498b64['plugins']['get']('RevisionTracker'),_0x23be58=_0x1c9c50['repository']['getRevision'](_0xe4b57);let _0x38b834,_0x54809c,_0x146f8e;try{_0x38b834=await _0x1c9c50['getRevisionData'](_0x23be58),_0x54809c=await _0x1c9c50['getRevisionRootsAttributes'](_0x23be58);}catch(_0x36726a){return void console['error'](_0x36726a);}_0x498b64['model']['change'](_0x4a6bdc=>{for(const _0x3766d1 of Array['from'](_0x498b64['model']['markers']['getMarkersGroup']('restrictedEditingException')))_0x4a6bdc['removeMarker'](_0x3766d1);}),_0x1c9c50['isReady']=!0x1,_0x498b64['model']['enqueueChange'](_0x2d878b=>{_0x2d878b['setSelection'](null),_0x2d878b['removeSelectionAttribute'](_0x498b64['model']['document']['selection']['getAttributeKeys']());const _0x510635=Object['keys'](_0x38b834);for(const _0x236cfe of _0x498b64['model']['document']['roots'])'$graveyard'!=_0x236cfe['rootName']&&_0x236cfe['isAttached']()&&!_0x510635['includes'](_0x236cfe['rootName'])&&_0x2d878b['detachRoot'](_0x236cfe);for(const _0x1c5ced of _0x510635){let _0x59c155=_0x498b64['model']['document']['getRoot'](_0x1c5ced);_0x59c155&&_0x59c155['isAttached']()||(_0x59c155=_0x2d878b['addRoot'](_0x1c5ced));const _0xca6fe2=_0x54809c[_0x1c5ced],_0x2cb5e7=Object['keys'](_0xca6fe2),_0x489078=_0x38b834[_0x1c5ced];for(const _0x4543e9 of _0x59c155['getAttributeKeys']())_0x2cb5e7['includes'](_0x4543e9)||_0x2d878b['removeAttribute'](_0x4543e9,_0x59c155);for(const _0x219f4b of _0x2cb5e7)_0x2d878b['setAttribute'](_0x219f4b,_0x54809c[_0x1c5ced][_0x219f4b],_0x59c155);_0x2d878b['remove'](_0x2d878b['createRangeIn'](_0x59c155)),_0x2d878b['insert'](_0x498b64['data']['parse'](_0x489078,_0x59c155),_0x59c155,0x0);}});const _0x2d1940=y(_0x498b64['locale'],'Restored');if(_0x23be58['name'])_0x146f8e=-0x1==_0x23be58['name']['indexOf'](_0x2d1940)?_0x2d1940+':\x20'+_0x23be58['name']:_0x23be58['name'];else _0x146f8e=_0x2d1940+':\x20'+(_0x23be58['createdAt']['toLocaleDateString'](_0x498b64['locale']['uiLanguage'],{'month':'long','day':'numeric'})+',\x20'+_0x23be58['createdAt']['toLocaleTimeString'](_0x498b64['locale']['uiLanguage'],{'hour':'numeric','minute':'numeric'}));return await _0x4555f2['saveRevision']({'name':_0x146f8e}),_0x1c9c50['isReady']=!0x0,_0x498b64['config']['get']('revisionHistory')['closeRevisionViewerCallback']();}}export{a as Revision,H as RevisionHistory,u as RevisionHistoryUI,l as RevisionTracker,d as RevisionViewer,le as RevisionViewerLoadingOverlay,R as RevisionViewerUI,A as RevisionsRepository,w as RevisionsSidebar};
28
+ Rt();static get['pluginName'](){return'RevisionsSidebar';}static get['requires'](){return[d];}constructor(_0x1d7e57){super(_0x1d7e57),this['_revisionViewer']=_0x1d7e57['plugins']['get'](d),this['_revisionsRepository']=this['_revisionViewer']['repository'],this['_sidebarView']=null;}['init'](){const _0x36d0a7=this['_revisionsRepository']['_revisions'],_0xa40229=this['_createRevisionActions'](),_0x729d4a=this['editor']['config']['get']('revisionHistory.viewerSidebarContainer');this['_sidebarView']=new ci(this['editor']['locale'],_0x36d0a7,_0xa40229,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',(_0x5647fe,_0x2423cf)=>{_0x2423cf['revisionViews']['on']('add',(_0x328e31,_0x8f1f1f)=>{_0x8f1f1f['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)),_0x729d4a['appendChild'](this['_sidebarView']['element']);}['destroy'](){this['_sidebarView']['element']['remove'](),this['_sidebarView']['destroy']();}['_handleEditorDataReady'](){const _0x526b81=this['_revisionsRepository']['getRevision'](0x0);if(_0x526b81){const _0x4ad4db=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x526b81['id']);this['_revisionViewer']['compare'](_0x526b81,_0x4ad4db);}}['_handleRevisionSelected'](_0x95cad8,_0xf2f87f){const _0x38cf52=this['_revisionsRepository']['getRevision'](_0xf2f87f['id']),_0x36f7f2=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x38cf52['id']);this['_revisionViewer']['compare'](_0x38cf52,_0x36f7f2);}['_handleRevisionSetName'](_0x340c7f,_0x3e9cfe){this['_revisionsRepository']['getRevision'](_0x3e9cfe['id'])['setName'](_0x3e9cfe['name']);}['_handleDiffChange'](_0x2da29b,_0x197486,_0x488917){const _0x51c35c=this['_revisionsRepository']['getRevisionsInDiff'](_0x488917);_0x51c35c['length']>0x2?(this['_sidebarView']['highlightRevisions'](_0x51c35c),this['_sidebarView']['selectRevision'](null)):(this['_sidebarView']['highlightRevisions']([]),this['_sidebarView']['selectRevision'](_0x51c35c[0x0]));}['_createRevisionActions'](){const _0x3bcfbb=this['editor'],_0x523def=w['availableRevisionActions'],_0x2a263b=_0x3bcfbb['config']['get']('revisionHistory.revisionActions')||w['defaultRevisionActions'];if(_0x2a263b['length'])return _0x2a263b['map'](_0x1d5254=>{const _0x40abb3='string'==typeof _0x1d5254?Object['assign']({},_0x523def[_0x1d5254]):_0x1d5254;return _0x40abb3['action']=_0x40abb3['action']['bind'](this,_0x3bcfbb),_0x40abb3['isVisible']&&(_0x40abb3['isVisible']=_0x40abb3['isVisible']['bind'](this,_0x3bcfbb)),_0x40abb3;});}}function Rt(){return{'compareAgainstSelected':{'name':'Compare\x20against\x20selected','action':({plugins:_0x3241b4},_0x576789)=>{const _0x1b03ef=_0x3241b4['get'](d),_0x131dea=_0x1b03ef['repository'];let _0x2cc7bd=_0x1b03ef['diff']['newRevisionId'],_0x40893d=_0x576789['id'];_0x131dea['getIndex'](_0x2cc7bd)>_0x131dea['getIndex'](_0x40893d)&&([_0x2cc7bd,_0x40893d]=[_0x40893d,_0x2cc7bd]),_0x1b03ef['compare'](_0x2cc7bd,_0x40893d);},'isVisible':({plugins:_0x190ddd},_0x36dba2)=>{const _0x36a840=_0x190ddd['get'](d);return!(_0x36a840['repository']['getRevisionsInDiff'](_0x36a840['diff'])['length']>0x2)&&!_0x36dba2['isSelected'];}},'restoreRevision':{'name':'Restore\x20this\x20revision','action':(_0x1c5574,{id:_0x2ffb19})=>{_0x1c5574['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x2ffb19);},'isVisible':({plugins:_0x2034b6},_0x109fbf)=>!!_0x2034b6['get'](d)['repository']['getLaterVisibleRevision'](_0x109fbf['id'])},'nameRevision':{'name':'Name\x20this\x20revision','action':({plugins:_0x11e954},{id:_0xc607e,revisionNameView:_0x29ac05})=>{const _0x2a673d=_0x11e954['get'](d),_0x24e62d=_0x2a673d['repository']['getEarlierVisibleRevision'](_0xc607e);_0x2a673d['compare'](_0xc607e,_0x24e62d),_0x29ac05['focus'](),_0x29ac05['fieldView']['select']();}}};}class st extends ht{['_view'];['_toolbarConfig'];['_elementReplacer'];get['view'](){return this['_view'];}constructor(_0x18ab92,_0x566eff){super(_0x18ab92),this['_view']=_0x566eff,this['_toolbarConfig']=ct(_0x18ab92['config']['get']('toolbar')),this['_elementReplacer']=new nt();}get['element'](){return this['view']['element'];}['init'](_0x44830b){const _0x5c7427=this['editor'],_0x3654a5=this['view'],_0x33f427=_0x5c7427['editing']['view'],_0x3ec26a=_0x3654a5['editable'],_0x5c192d=_0x33f427['document']['getRoot']();_0x3ec26a['name']=_0x5c192d['rootName'],_0x3654a5['render']();const _0x20ae37=_0x3ec26a['element'];this['setEditableElement'](_0x3ec26a['name'],_0x20ae37),_0x3654a5['editable']['bind']('isFocused')['to'](this['focusTracker']),_0x33f427['attachDomRoot'](_0x20ae37),this['_elementReplacer']['replace'](_0x44830b,this['element']),this['_initToolbar'](),this['fire']('ready');}['destroy'](){super['destroy']();const _0x551535=this['view'],_0x5e6d30=this['editor']['editing']['view'];this['_elementReplacer']['restore'](),_0x5e6d30['detachDomRoot'](_0x551535['editable']['name']),_0x551535['destroy']();}['_initToolbar'](){const _0x4217d5=this['view'];_0x4217d5['stickyPanel']['bind']('isActive')['to'](this['focusTracker'],'isFocused'),_0x4217d5['stickyPanel']['limiterElement']=_0x4217d5['element'],_0x4217d5['stickyPanel']['bind']('viewportTopOffset')['to'](this,'viewportOffset',({top:_0x17608c})=>_0x17608c),_0x4217d5['toolbar']['fillFromConfig'](this['_toolbarConfig'],this['componentFactory']),this['addToolbar'](_0x4217d5['toolbar']);}}class ot extends dt{['_editable'];['stickyPanel'];['toolbar'];get['editable'](){return this['_editable'];}constructor(_0x39de9e,_0x3f82c6,_0x26a33a={}){super(_0x39de9e),this['stickyPanel']=new lt(_0x39de9e),this['toolbar']=new pt(_0x39de9e,{'shouldGroupWhenFull':_0x26a33a['shouldToolbarGroupWhenFull']}),this['_editable']=new ut(_0x39de9e,_0x3f82c6);}['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(_0x5eb83e,_0x3ba212){super(_0x3ba212),this['sourceElement']=_0x5eb83e,this['model']['document']['createRoot']();const _0x13a2a2=new ot(this['locale'],this['editing']['view'],{'shouldToolbarGroupWhenFull':!0x0});this['_ui']=new st(this,_0x13a2a2);}['destroy'](){return this['updateSourceElement'](),this['ui']['destroy'](),super['destroy']();}static async['create'](_0x391fc7,_0xa86d2b){const _0x550277=new this(_0x391fc7,_0xa86d2b);return await _0x550277['initPlugins'](),await _0x550277['ui']['init'](_0x391fc7),await _0x550277['data']['init'](_0x550277['config']['get']('initialData')||''),_0x550277['fire']('ready'),_0x550277;}}const p=['RevisionHistoryUI','RestrictedEditingMode'];class k extends _0x4b4393{['result'];static get['pluginName'](){return'RevisionViewerIntegration';}constructor(_0x29e7dd){super(_0x29e7dd),this['result']='end';}}class H extends _0x4b4393{['_viewerEditor'];static get['pluginName'](){return'RevisionHistory';}static get['requires'](){return[l,u];}constructor(_0x4b527a){if(super(_0x4b527a),!this['editor']['config']['get']('revisionHistory'))throw new _0x3afb80('revision-history-missing-configuration',this);this['_viewerEditor']=null,this['editor']['config']['define']('revisionHistory.showRevisionViewerCallback',_0x372a2e=>this['_showRevisionViewer']({..._0x372a2e,'translations':this['editor']['locale']['translations']})),this['editor']['config']['define']('revisionHistory.closeRevisionViewerCallback',_0xbc7c21=>this['_closeRevisionViewer'](_0xbc7c21)),this['editor']['config']['define']('revisionHistory.restoreRevisionCallback',_0x3cdc5d=>this['_restoreRevision'](_0x3cdc5d)),this['editor']['config']['define']('revisionHistory.requireRevisionName',!0x1),this['_enhanceShowRevisionViewerCallback'](),this['_enhanceCloseRevisionViewerCallback']();}set['adapter'](_0x354eef){this['editor']['plugins']['get']('RevisionTracker')['adapter']=_0x354eef;}get['adapter'](){return this['editor']['plugins']['get']('RevisionTracker')['adapter'];}['addRevisionData'](_0x3f6394){return this['editor']['plugins']['get']('RevisionTracker')['addRevisionData'](_0x3f6394);}['getRevision'](_0x19721a){return this['editor']['plugins']['get']('RevisionsRepository')['getRevision'](_0x19721a);}['getRevisions'](_0x4ec554){return this['editor']['plugins']['get']('RevisionsRepository')['getRevisions'](_0x4ec554||{'toJSON':!0x1});}['_getRevisionViewerEditorConfig'](){const _0x59929c=this['editor'],_0x1b58a5=_0x2edd1e(_0x59929c,p),_0x5aeb46=_0x59929c['plugins']['get']('RevisionTracker'),_0x26812d=_0x59929c['plugins']['get']('Users')['users'];return _0x1b58a5['toolbar']=['exitToEditing','restoreRevision','changesNavigation'],delete _0x1b58a5['lazyRoots'],(_0x1b58a5['plugins']['push'](k,d,R,class extends _0x4b4393{static get['requires'](){return[d,'Users'];}['init'](){const _0x4158ee=this['editor']['plugins']['get']('Users');for(const _0x23b50c of _0x26812d)_0x23b50c['isAnonymous']||_0x4158ee['getUser'](_0x23b50c['id'])||_0x4158ee['addUser'](_0x23b50c);const _0x3f2919=_0x5aeb46['repository']['getRevisions']();let _0x2ab09a=null;const _0x3c1fa7=this['editor']['plugins']['get']('RevisionViewer');_0x3c1fa7['adapter']=_0x5aeb46['adapter'],_0x3c1fa7['bind']('isEnabled')['to'](_0x5aeb46),this['editor']['commands']['get']('restoreRevision')['bind']('isEnabled')['to'](_0x59929c,'isReadOnly',_0x40e90f=>!_0x40e90f);for(const _0x4d1ca9 of _0x3f2919){const _0x41fe23=null===_0x4d1ca9['creator'];if(_0x41fe23&&_0x4d1ca9['toVersion']===_0x4d1ca9['fromVersion'])continue;const _0x39f292=_0x4d1ca9['toJSON']();_0x3c1fa7['addRevisionData'](_0x39f292,(_0x32315b,_0x4f9880,_0x38bfec)=>{if(_0x41fe23){if(_0x2ab09a)_0x2ab09a['_update'](_0x32315b,_0x4f9880);else{if(!_0x4f9880){const _0x468c8e=_0x38bfec['toJSON']();_0x468c8e['id']=_0x106175(),_0x5aeb46['saveRevision'](_0x468c8e,_0x38bfec['toVersion'])['then'](_0x4e640c=>{_0x2ab09a=_0x4e640c;});}}}else _0x4d1ca9['_update'](_0x32315b,_0x4f9880);});}}},w),_0x1b58a5);}['_enhanceShowRevisionViewerCallback'](){const _0xb85217=this['editor']['config']['get']('revisionHistory')['showRevisionViewerCallback'];this['editor']['config']['set']('revisionHistory.showRevisionViewerCallback',async()=>{this['editor']['enableReadOnlyMode']('revision-history-viewer-opened');const _0x3e26b5=this['editor']['plugins']['get']('RevisionTracker');if(this['editor']['plugins']['has']('Autosave')){const _0x190958=this['editor']['plugins']['get']('Autosave');await _0x190958['save']();}else await _0x3e26b5['update']();if(this['editor']['plugins']['has']('PaginationLookup')&&this['editor']['plugins']['get']('PaginationLookup')['_recalculatePageBreaks'](),this['editor']['plugins']['has']('Dialog')){const _0x257149=this['editor']['plugins']['get']('Dialog');_0x257149['isOpen']&&_0x257149['hide']();}const _0x11a77d=this['_getRevisionViewerEditorConfig']();return _0xb85217(_0x11a77d)['then'](_0x297c36=>{return(this['_viewerEditor']=_0x297c36,this['editor']['plugins']['has']('Annotations'))&&this['editor']['plugins']['get']('Annotations')['refreshVisibility'](),_0x297c36;})['catch'](_0x1c26f4=>(console['error'](_0x1c26f4),this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),null));});}['_enhanceCloseRevisionViewerCallback'](){const _0x7f93d5=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'](),_0x7f93d5(this['_viewerEditor'])['then'](()=>{if(this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),this['_viewerEditor']=null,this['editor']['plugins']['has']('Annotations')){const _0x416cbd=this['editor']['plugins']['get']('Annotations');_0x416cbd['refreshVisibility'](),_0x416cbd['refreshPositioning']();}})));}['_showRevisionViewer'](_0x4030b8){const _0x3d2464=this['editor']['config']['get']('revisionHistory.editorContainer'),_0x313bf0=this['editor']['config']['get']('revisionHistory.viewerContainer'),_0x8a1c51=this['editor']['config']['get']('revisionHistory.viewerEditorElement');return m['create'](_0x8a1c51,_0x4030b8)['then'](_0x428aa9=>(_0x313bf0['style']['display']='block',_0x3d2464['style']['display']='none',_0x428aa9));}['_closeRevisionViewer'](_0x131636){const _0x183cf7=this['editor']['config']['get']('revisionHistory.editorContainer');return this['editor']['config']['get']('revisionHistory.viewerContainer')['style']['display']='none',_0x183cf7['style']['display']='',_0x131636['destroy']();}async['_restoreRevision'](_0x3bb311){const _0x577b07=this['editor'],_0x2891fc=this['_viewerEditor']['plugins']['get']('RevisionViewer'),_0x456eb4=_0x577b07['plugins']['get']('RevisionTracker'),_0xceb59b=_0x2891fc['repository']['getRevision'](_0x3bb311);let _0x58b7a0,_0x492991,_0x1c3c6f;try{_0x58b7a0=await _0x2891fc['getRevisionData'](_0xceb59b),_0x492991=await _0x2891fc['getRevisionRootsAttributes'](_0xceb59b);}catch(_0x32d992){return void console['error'](_0x32d992);}_0x577b07['model']['change'](_0xf424bf=>{for(const _0x28822c of Array['from'](_0x577b07['model']['markers']['getMarkersGroup']('restrictedEditingException')))_0xf424bf['removeMarker'](_0x28822c);}),_0x2891fc['isReady']=!0x1,_0x577b07['model']['enqueueChange'](_0x96ab00=>{_0x96ab00['setSelection'](null),_0x96ab00['removeSelectionAttribute'](_0x577b07['model']['document']['selection']['getAttributeKeys']());const _0x9fe71a=Object['keys'](_0x58b7a0);for(const _0x3a0017 of _0x577b07['model']['document']['roots'])'$graveyard'!=_0x3a0017['rootName']&&_0x3a0017['isAttached']()&&!_0x9fe71a['includes'](_0x3a0017['rootName'])&&_0x96ab00['detachRoot'](_0x3a0017);for(const _0x2b1dff of _0x9fe71a){let _0x80c423=_0x577b07['model']['document']['getRoot'](_0x2b1dff);_0x80c423&&_0x80c423['isAttached']()||(_0x80c423=_0x96ab00['addRoot'](_0x2b1dff));const _0x79f0b6=_0x492991[_0x2b1dff],_0x54e579=Object['keys'](_0x79f0b6),_0x1a6917=_0x58b7a0[_0x2b1dff];for(const _0x56ae02 of _0x80c423['getAttributeKeys']())_0x54e579['includes'](_0x56ae02)||_0x96ab00['removeAttribute'](_0x56ae02,_0x80c423);for(const _0x4bc4bc of _0x54e579)_0x96ab00['setAttribute'](_0x4bc4bc,_0x492991[_0x2b1dff][_0x4bc4bc],_0x80c423);_0x96ab00['remove'](_0x96ab00['createRangeIn'](_0x80c423)),_0x96ab00['insert'](_0x577b07['data']['parse'](_0x1a6917,_0x80c423),_0x80c423,0x0);}});const _0x40ba1f=y(_0x577b07['locale'],'Restored');if(_0xceb59b['name'])_0x1c3c6f=-0x1==_0xceb59b['name']['indexOf'](_0x40ba1f)?_0x40ba1f+':\x20'+_0xceb59b['name']:_0xceb59b['name'];else _0x1c3c6f=_0x40ba1f+':\x20'+(_0xceb59b['createdAt']['toLocaleDateString'](_0x577b07['locale']['uiLanguage'],{'month':'long','day':'numeric'})+',\x20'+_0xceb59b['createdAt']['toLocaleTimeString'](_0x577b07['locale']['uiLanguage'],{'hour':'numeric','minute':'numeric'}));return await _0x456eb4['saveRevision']({'name':_0x1c3c6f}),_0x2891fc['isReady']=!0x0,_0x577b07['config']['get']('revisionHistory')['closeRevisionViewerCallback']();}}export{a as Revision,H as RevisionHistory,u as RevisionHistoryUI,l as RevisionTracker,d as RevisionViewer,de as RevisionViewerLoadingOverlay,R as RevisionViewerUI,A as RevisionsRepository,w as RevisionsSidebar};