@ckeditor/ckeditor5-revision-history 0.0.0-nightly-20240623.0 → 0.0.0-nightly-20240625.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 +5 -5
  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{Plugin as _0x1ea666,Context as _0x7f8e6a,PendingActions as _0x1a4bfd,icons as _0xa07c5a,Command as _0x3d825e,ElementApiMixin as rt,Editor as it}from'@ckeditor/ckeditor5-core/dist/index.js';import{ObservableMixin as _0x317567,uid as _0x1d293b,Collection as _0x1de5fb,logWarning as _0x568b2a,FocusTracker as _0x11ee9e,KeystrokeHandler as _0xf2db3e,scrollViewportToShowTarget as _0x3263a7,ResizeObserver as mt,ElementReplacer as nt,CKEditorError as _0x322cb4}from'@ckeditor/ckeditor5-utils/dist/index.js';import{Users as _0x7eb412,getMarkerDomElement as _0x55bd1a,ConfirmMixin as _0x10b750,sanitizeEditorConfig as _0x49831c}from'ckeditor5-collaboration/dist/index.js';import{ViewDocumentFragment as _0x4eb1c7,ViewText as _0x4473fa,ViewElement as _0x5a8064,Element as ft,Range as vt,Position as gt,DocumentFragment as wt,ViewContainerElement as _0x4fb83a,ViewAttributeElement as _0x42d6b4,ViewEmptyElement as _0x1c1b2b,ViewRawElement as _0x208fd4,ViewUIElement as _0x722886,Text as _t}from'@ckeditor/ckeditor5-engine/dist/index.js';import{cloneDeep as _0x4e9d66,set as _0x2f118a,unset as _0x253be5,isEqual as _0x584ea3}from'lodash-es';import{View as _0x549bc6,injectCssTransitionDisabler as ts,submitHandler as _0x6af317,LabeledFieldView as at,createLabeledInputText as _0x3222bf,createDropdown as _0x26b934,ListView as te,ListItemView as _0x5efecb,ButtonView as _0x38cb52,MenuBarMenuView as _0x338400,MenuBarMenuListView as _0x2a89c0,MenuBarMenuListItemView as _0xa746c0,MenuBarMenuListItemButtonView as _0x1fed68,ContextualBalloon as _0x232a2a,ToolbarSeparatorView as _0x4c9901,IconView as _0x130abc,addListToDropdown as _0x3cd566,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 _0x465eae}from'luxon';class a extends/* #__PURE__ -- @preserve */
24
- _0x317567(){['id'];['creator'];['authors'];['diffData'];['toVersion'];['fromVersion'];['model'];constructor(_0x434a09){super(),this['id']=_0x434a09['id']||_0x1d293b(),this['creator']=_0x434a09['creator']||null,this['authors']=_0x434a09['authors']||[],this['diffData']=_0x434a09['diffData']||null,this['toVersion']=_0x434a09['toVersion']||0x0,this['fromVersion']=_0x434a09['fromVersion']||0x0,this['set']('name',_0x434a09['name']||''),this['set']('createdAt',_0x434a09['createdAt']||new Date()),this['set']('attributes',_0x434a09['attributes']||{});}['setName'](_0x47cc72){this['_update']({'name':_0x47cc72});}['setAttribute'](_0x571724,_0x5d783b){const _0x2a1b49=_0x4e9d66(this['attributes']);_0x2f118a(_0x2a1b49,_0x571724,_0x5d783b),this['_update']({'attributes':_0x2a1b49});}['removeAttribute'](_0x2d8c13){const _0x56a696=_0x4e9d66(this['attributes']);_0x253be5(_0x56a696,_0x2d8c13),this['_update']({'attributes':_0x56a696});}['_update'](_0x47462b,_0x491108=!0x1){let _0x578265=!0x1;const _0x45e037={'id':this['id']},_0xae3854=['name','createdAt','diffData','authors','attributes','toVersion','fromVersion','creatorId'];for(const _0x426afd of _0xae3854){const _0x402988=_0x47462b[_0x426afd];void 0x0!==_0x402988&&_0x402988!==this[_0x426afd]&&(this[_0x426afd]=_0x402988,_0x45e037[_0x426afd]=_0x402988,_0x578265=!0x0);}_0x578265&&(_0x45e037['authors']&&(_0x45e037['authorsIds']=_0x45e037['authors']['map'](_0x14bbf5=>_0x14bbf5['id']),delete _0x45e037['authors']),this['fire']('_update',_0x45e037,_0x491108));}['toJSON'](){return{'id':this['id'],'name':this['name'],'creatorId':this['creator']?this['creator']['id']:null,'authorsIds':this['authors']['map'](_0x212b18=>_0x212b18['id']),'diffData':this['diffData'],'createdAt':this['createdAt'],'attributes':this['attributes'],'fromVersion':this['fromVersion'],'toVersion':this['toVersion']};}}class A extends _0x1ea666{['_revisions'];static get['requires'](){return[_0x7eb412];}static get['pluginName'](){return'RevisionsRepository';}get['length'](){return this['_revisions']['length'];}constructor(_0xfb9a2){super(_0xfb9a2),this['_revisions']=new _0x1de5fb();}['afterInit'](){!function(_0x2c5274){function _0x256b19(_0x26f181,_0x251b55,_0x53ad6c){const _0x3b0029={};_0x3b0029[_0x2fdee2([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])]={0x10:0xa,0x18:0xc,0x20:0xe},_0x3b0029[_0x2fdee2([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],_0x3b0029[_0x2fdee2([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],_0x3b0029[_0x2fdee2([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],_0x3b0029[_0x2fdee2([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],_0x3b0029[_0x2fdee2([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],_0x3b0029[_0x2fdee2([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],_0x3b0029[_0x2fdee2([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],_0x3b0029[_0x2fdee2([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],_0x3b0029[_0x2fdee2([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],_0x3b0029[_0x2fdee2([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 _0x1a0abd=new Uint8Array(0x10);for(let _0x347c85=0xf;_0x347c85>=0x0;--_0x347c85)_0x1a0abd[_0x347c85]=_0x53ad6c%0x100,_0x53ad6c=parseInt(_0x53ad6c/0x100);let _0x244c7d=null,_0xa2eac8=0x10;const _0x1797c0=new Uint8Array(_0x251b55),_0x5ed0ba=[],_0x908498=[];_0x59418b();for(let _0x5d5bc9=0x0;_0x5d5bc9<_0x26f181[_0x2fdee2([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5d5bc9++)0x10===_0xa2eac8&&(_0x244c7d=_0x5eb0ca(_0x1a0abd),_0xa2eac8=0x0,_0x5898c6(_0x1a0abd)),_0x26f181[_0x5d5bc9]^=_0x244c7d[_0xa2eac8++];return _0x26f181;function _0x1f9a41(_0x1fcfbc){const _0x33d8e9=[];for(let _0x5c1ea0=0x0;_0x5c1ea0<_0x1fcfbc[_0x2fdee2([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5c1ea0+=0x4)_0x33d8e9[_0x2fdee2([0x70,0x75,0x73,0x68])](_0x1fcfbc[_0x5c1ea0]<<0x18|_0x1fcfbc[_0x5c1ea0+0x1]<<0x10|_0x1fcfbc[_0x5c1ea0+0x2]<<0x8|_0x1fcfbc[_0x5c1ea0+0x3]);return _0x33d8e9;}function _0x5898c6(_0x675548){for(let _0x184c92=0xf;_0x184c92>=0x0;_0x184c92--){if(0xff!==_0x675548[_0x184c92]){_0x675548[_0x184c92]++;break;}_0x675548[_0x184c92]=0x0;}}function _0x5eb0ca(_0x27ec08){const _0x479303=_0x5ed0ba[_0x2fdee2([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x1,_0x41c4a5=[0x0,0x0,0x0,0x0];let t=_0x1f9a41(_0x27ec08);for(let _0x20a3f8=0x0;_0x20a3f8<0x4;_0x20a3f8++)t[_0x20a3f8]^=_0x5ed0ba[0x0][_0x20a3f8];for(let _0x43e207=0x1;_0x43e207<_0x479303;_0x43e207++){for(let _0xa0df50=0x0;_0xa0df50<0x4;_0xa0df50++)_0x41c4a5[_0xa0df50]=_0x3b0029[_0x2fdee2([0x54,0x31])][t[_0xa0df50]>>0x18&0xff]^_0x3b0029[_0x2fdee2([0x54,0x32])][t[(_0xa0df50+0x1)%0x4]>>0x10&0xff]^_0x3b0029[_0x2fdee2([0x54,0x33])][t[(_0xa0df50+0x2)%0x4]>>0x8&0xff]^_0x3b0029[_0x2fdee2([0x54,0x34])][0xff&t[(_0xa0df50+0x3)%0x4]]^_0x5ed0ba[_0x43e207][_0xa0df50];t=_0x41c4a5[_0x2fdee2([0x73,0x6c,0x69,0x63,0x65])]();}const _0x3c9e4b=new Uint8Array(0x10);let _0x25b06b;for(let _0x39ff9d=0x0;_0x39ff9d<0x4;_0x39ff9d++)_0x25b06b=_0x5ed0ba[_0x479303][_0x39ff9d],_0x3c9e4b[0x4*_0x39ff9d]=0xff&(_0x3b0029[_0x2fdee2([0x53])][t[_0x39ff9d]>>0x18&0xff]^_0x25b06b>>0x18),_0x3c9e4b[0x4*_0x39ff9d+0x1]=0xff&(_0x3b0029[_0x2fdee2([0x53])][t[(_0x39ff9d+0x1)%0x4]>>0x10&0xff]^_0x25b06b>>0x10),_0x3c9e4b[0x4*_0x39ff9d+0x2]=0xff&(_0x3b0029[_0x2fdee2([0x53])][t[(_0x39ff9d+0x2)%0x4]>>0x8&0xff]^_0x25b06b>>0x8),_0x3c9e4b[0x4*_0x39ff9d+0x3]=0xff&(_0x3b0029[_0x2fdee2([0x53])][0xff&t[(_0x39ff9d+0x3)%0x4]]^_0x25b06b);return _0x3c9e4b;}function _0x59418b(){const _0x499e26=_0x3b0029[_0x2fdee2([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])][_0x1797c0[_0x2fdee2([0x6c,0x65,0x6e,0x67,0x74,0x68])]];for(let _0x3bab2d=0x0;_0x3bab2d<=_0x499e26;_0x3bab2d++)_0x5ed0ba[_0x2fdee2([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]),_0x908498[_0x2fdee2([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]);const _0xf5dcea=0x4*(_0x499e26+0x1),_0x30b10f=_0x1797c0[_0x2fdee2([0x6c,0x65,0x6e,0x67,0x74,0x68])]/0x4,_0x50c245=_0x1f9a41(_0x1797c0);let _0x123248;for(let _0x4e807a=0x0;_0x4e807a<_0x30b10f;_0x4e807a++)_0x123248=_0x4e807a>>0x2,_0x5ed0ba[_0x123248][_0x4e807a%0x4]=_0x50c245[_0x4e807a],_0x908498[_0x499e26-_0x123248][_0x4e807a%0x4]=_0x50c245[_0x4e807a];let _0xde7065,_0x47de7d=0x0,t=_0x30b10f;for(;t<_0xf5dcea;){_0xde7065=_0x50c245[_0x30b10f-0x1],_0x50c245[0x0]^=_0x3b0029[_0x2fdee2([0x53])][_0xde7065>>0x10&0xff]<<0x18^_0x3b0029[_0x2fdee2([0x53])][_0xde7065>>0x8&0xff]<<0x10^_0x3b0029[_0x2fdee2([0x53])][0xff&_0xde7065]<<0x8^_0x3b0029[_0x2fdee2([0x53])][_0xde7065>>0x18&0xff]^_0x3b0029[_0x2fdee2([0x72,0x63,0x6f,0x6e])][_0x47de7d]<<0x18,_0x47de7d+=0x1;for(let _0x5d61da=0x1;_0x5d61da<_0x30b10f/0x2;_0x5d61da++)_0x50c245[_0x5d61da]^=_0x50c245[_0x5d61da-0x1];_0xde7065=_0x50c245[_0x30b10f/0x2-0x1],_0x50c245[_0x30b10f/0x2]^=_0x3b0029[_0x2fdee2([0x53])][0xff&_0xde7065]^_0x3b0029[_0x2fdee2([0x53])][_0xde7065>>0x8&0xff]<<0x8^_0x3b0029[_0x2fdee2([0x53])][_0xde7065>>0x10&0xff]<<0x10^_0x3b0029[_0x2fdee2([0x53])][_0xde7065>>0x18&0xff]<<0x18;for(let _0x40623b=_0x30b10f/0x2+0x1;_0x40623b<_0x30b10f;_0x40623b++)_0x50c245[_0x40623b]^=_0x50c245[_0x40623b-0x1];let _0x4c6b0d,_0x466133,_0x4e9122=0x0;for(;_0x4e9122<_0x30b10f&&t<_0xf5dcea;)_0x4c6b0d=t>>0x2,_0x466133=t%0x4,_0x5ed0ba[_0x4c6b0d][_0x466133]=_0x50c245[_0x4e9122],_0x908498[_0x499e26-_0x4c6b0d][_0x466133]=_0x50c245[_0x4e9122++],t++;}for(let _0x412ff3=0x1;_0x412ff3<_0x499e26;_0x412ff3++)for(let _0x343ead=0x0;_0x343ead<0x4;_0x343ead++)_0xde7065=_0x908498[_0x412ff3][_0x343ead],_0x908498[_0x412ff3][_0x343ead]=_0x3b0029[_0x2fdee2([0x55,0x31])][_0xde7065>>0x18&0xff]^_0x3b0029[_0x2fdee2([0x55,0x32])][_0xde7065>>0x10&0xff]^_0x3b0029[_0x2fdee2([0x55,0x33])][_0xde7065>>0x8&0xff]^_0x3b0029[_0x2fdee2([0x55,0x34])][0xff&_0xde7065];}}function _0x2fdee2(_0x49fd55){return _0x49fd55['map'](_0x42cfbe=>String['fromCharCode'](_0x42cfbe))['join']('');}(_0x382095=>{function _0x74568b(){const _0x50f654=[{[_0x2fdee2([0x69,0x64])]:0x1,[_0x2fdee2([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x2fdee2([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73]),[_0x2fdee2([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x2fdee2([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x2fdee2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x2fdee2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x2fdee2([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x2fdee2([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x2fdee2([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]:[{[_0x2fdee2([0x69,0x64])]:0x2,[_0x2fdee2([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x2fdee2([0x54,0x72,0x61,0x63,0x6b,0x20,0x43,0x68,0x61,0x6e,0x67,0x65,0x73]),[_0x2fdee2([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x2fdee2([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x2fdee2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x2fdee2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x2fdee2([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x2fdee2([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]),[_0x2fdee2([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x2fdee2([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x2fdee2([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x2fdee2([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}}],[_0x2fdee2([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x2fdee2([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x2fdee2([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x2fdee2([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x2fdee2([0x69,0x64])]:0x3,[_0x2fdee2([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x2fdee2([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e]),[_0x2fdee2([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x2fdee2([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x6f,0x6f,0x6b,0x75,0x70]),[_0x2fdee2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x2fdee2([0x70,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x2fdee2([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x2fdee2([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x2fdee2([0x69,0x64])]:0x4,[_0x2fdee2([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x2fdee2([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x20,0x48,0x69,0x73,0x74,0x6f,0x72,0x79]),[_0x2fdee2([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x2fdee2([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x2fdee2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x2fdee2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x2fdee2([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x2fdee2([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]),[_0x2fdee2([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x2fdee2([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x2fdee2([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x2fdee2([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x2fdee2([0x69,0x64])]:0x5,[_0x2fdee2([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x2fdee2([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x20,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65]),[_0x2fdee2([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x2fdee2([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65,0x55,0x49]),[_0x2fdee2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x2fdee2([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]),[_0x2fdee2([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x2fdee2([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x2fdee2([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x2fdee2([0x66,0x67,0x69])]:[0xc]}},{[_0x2fdee2([0x69,0x64])]:0x6,[_0x2fdee2([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x2fdee2([0x46,0x6f,0x72,0x6d,0x61,0x74,0x20,0x50,0x61,0x69,0x6e,0x74,0x65,0x72]),[_0x2fdee2([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x2fdee2([0x46,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x55,0x49]),[_0x2fdee2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x2fdee2([0x66,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x2fdee2([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x2fdee2([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x2fdee2([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x2fdee2([0x66,0x67,0x69])]:[0xc]}},{[_0x2fdee2([0x69,0x64])]:0x7,[_0x2fdee2([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x2fdee2([0x53,0x6c,0x61,0x73,0x68,0x20,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64]),[_0x2fdee2([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x2fdee2([0x53,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x55,0x49]),[_0x2fdee2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x2fdee2([0x73,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x2fdee2([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x2fdee2([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x2fdee2([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x2fdee2([0x66,0x67,0x69])]:[0xc]}},{[_0x2fdee2([0x69,0x64])]:0x8,[_0x2fdee2([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x2fdee2([0x54,0x61,0x62,0x6c,0x65,0x20,0x6f,0x66,0x20,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73]),[_0x2fdee2([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x2fdee2([0x54,0x61,0x62,0x6c,0x65,0x4f,0x66,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x2fdee2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x2fdee2([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]),[_0x2fdee2([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x2fdee2([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x2fdee2([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x2fdee2([0x66,0x67,0x69])]:[0xc]}},{[_0x2fdee2([0x69,0x64])]:0x9,[_0x2fdee2([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x2fdee2([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65]),[_0x2fdee2([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x2fdee2([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x55,0x49]),[_0x2fdee2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x2fdee2([0x74,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x2fdee2([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x2fdee2([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x2fdee2([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x2fdee2([0x66,0x67,0x69])]:[0xc,0xe]}},{[_0x2fdee2([0x69,0x64])]:0xa,[_0x2fdee2([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x2fdee2([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]),[_0x2fdee2([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x2fdee2([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]),[_0x2fdee2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x2fdee2([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]),[_0x2fdee2([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x2fdee2([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x2fdee2([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x2fdee2([0x66,0x67,0x69])]:[0xc]}},{[_0x2fdee2([0x69,0x64])]:0xb,[_0x2fdee2([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x2fdee2([0x41,0x49,0x20,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74]),[_0x2fdee2([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x2fdee2([0x41,0x49,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74,0x55,0x49]),[_0x2fdee2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x2fdee2([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x2fdee2([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x2fdee2([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x2fdee2([0x69,0x64])]:0xc,[_0x2fdee2([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x2fdee2([0x50,0x72,0x6f,0x64,0x75,0x63,0x74,0x69,0x76,0x69,0x74,0x79,0x20,0x70,0x61,0x63,0x6b])},{[_0x2fdee2([0x69,0x64])]:0xd,[_0x2fdee2([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x2fdee2([0x43,0x61,0x73,0x65,0x20,0x43,0x68,0x61,0x6e,0x67,0x65]),[_0x2fdee2([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x2fdee2([0x43,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x55,0x49]),[_0x2fdee2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x2fdee2([0x63,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x2fdee2([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x2fdee2([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x2fdee2([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x2fdee2([0x66,0x67,0x69])]:[0xc]}},{[_0x2fdee2([0x69,0x64])]:0xe,[_0x2fdee2([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x2fdee2([0x44,0x72,0x75,0x70,0x61,0x6c,0x20,0x70,0x61,0x63,0x6b]),[_0x2fdee2([0x66,0x6f,0x72,0x62,0x69,0x64,0x64,0x65,0x6e,0x48,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x2fdee2([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])},{[_0x2fdee2([0x69,0x64])]:0xf,[_0x2fdee2([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x2fdee2([0x4d,0x75,0x6c,0x74,0x69,0x20,0x4c,0x65,0x76,0x65,0x6c,0x20,0x4c,0x69,0x73,0x74]),[_0x2fdee2([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x2fdee2([0x4d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x2fdee2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x2fdee2([0x6d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x2fdee2([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x2fdee2([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x2fdee2([0x69,0x64])]:0x10,[_0x2fdee2([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x2fdee2([0x4d,0x65,0x72,0x67,0x65,0x20,0x54,0x61,0x67,0x73]),[_0x2fdee2([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x2fdee2([0x4d,0x65,0x72,0x67,0x65,0x54,0x61,0x67,0x73,0x55,0x49]),[_0x2fdee2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x2fdee2([0x6d,0x65,0x72,0x67,0x65,0x54,0x61,0x67,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x2fdee2([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x2fdee2([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x2fdee2([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x2fdee2([0x66,0x67,0x69])]:[0xc]}}];return _0x2d1914(_0x50f654),_0x50f654;function _0x105162(_0x5812a2){return 0x1<<_0x5812a2-0x1;}function _0x2d1914(_0xa6ba57){_0xa6ba57[_0x2fdee2([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x10c2e0=>{_0x10c2e0[_0x2fdee2([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]=_0x105162(_0x10c2e0[_0x2fdee2([0x69,0x64])]),_0x5b7ba7(_0x10c2e0)&&_0x10c2e0[_0x2fdee2([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x2d1914(_0x10c2e0[_0x2fdee2([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]);});}}function _0x5b7ba7(_0x258222){return _0x2fdee2([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])in _0x258222;}const _0x1a49bd=[0x1,0x55,0x4e,0x73,0xc6,0xff,0x32,0x70,0x53,0x57,0xa1],_0x2281bc=[0x7f,0x22,0x6,0xd3,0xa7,0x56,0x92,0xc7,0x84,0xa0,0x12];function _0x1bd1e4(_0xb4c1c5){const _0x4fb284=[0x1d,0xdd,0xaf,0x5a,0xe7,0x85,0xef,0xf0,0x4b,0xb4];return _0x3efca2(_0xb4c1c5,new Uint8Array([..._0x1a49bd,..._0x4fb284,..._0x2281bc]));}function _0x3efca2(_0xf371fc,_0x512c07){const _0x442b3e=_0x5ade4c(_0xf371fc),_0x58bc4e=Array[_0x2fdee2([0x66,0x72,0x6f,0x6d])](_0x438d11(_0x442b3e)),_0x4ca08b=_0x58bc4e[_0x2fdee2([0x70,0x6f,0x70])](),_0x5b6a45=_0x58bc4e[_0x2fdee2([0x70,0x6f,0x70])]();return _0x1ab83c(_0x256b19(_0x58bc4e,_0x512c07,_0x5b6a45+0x100*_0x4ca08b));}function _0x5ade4c(_0x1398d1){const _0x565050=atob(_0x1398d1),[_0x377a22,_0xefef87]=_0x565050[_0x2fdee2([0x73,0x70,0x6c,0x69,0x74])](_0x2fdee2([0x2d]));try{if(atob(_0xefef87))return atob(_0x377a22);}catch(_0xfc9845){}return _0x565050;}function _0x358a1d(_0xa01388){try{const _0x495a17=_0x1bd1e4(_0xa01388),_0x4abc54=JSON[_0x2fdee2([0x70,0x61,0x72,0x73,0x65])](_0x495a17),_0x161332=parseInt(_0x4abc54[_0x2fdee2([0x31])]),_0x147fbc=_0x4abc54[_0x2fdee2([0x32])]||'',_0x1eb654=parseInt(_0x4abc54[_0x2fdee2([0x33])]),_0x3fb0b7=parseInt(_0x4abc54[_0x2fdee2([0x34])])||0x0,_0x513cfc=parseInt(_0x4abc54[_0x2fdee2([0x35])])||0x0;return{[_0x2fdee2([0x70,0x72,0x6f,0x64,0x75,0x63,0x74,0x4e,0x61,0x6d,0x65])]:_0x147fbc,[_0x2fdee2([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])]:_0x3fb0b7,[_0x2fdee2([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]:_0x161332,[_0x2fdee2([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]:_0x1eb654,[_0x2fdee2([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]:_0x513cfc};}catch(_0x4057a0){return null;}}const _0x75887a=_0x74568b(),_0x8b8609={[_0x2fdee2([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])]:_0x2515ee,[_0x2fdee2([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])]:_0x220c1d,[_0x2fdee2([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])]:_0x478d2c},_0x5e3b20=_0x382095[_0x2fdee2([0x63,0x6f,0x6e,0x73,0x74,0x72,0x75,0x63,0x74,0x6f,0x72])][_0x2fdee2([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])],_0x159548=_0x2fdee2([0x63,0x6f,0x6e,0x74,0x65,0x78,0x74])in _0x382095?_0x382095['context']:_0x382095['editor'],_0x1d89fe=_0x2fdee2([0x34,0x30,0x34,0x38,0x31,0x32,0x34,0x36]),_0x4ea1d1=_0x2fdee2([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]),_0x345bca=_0x159548['config']['get'](_0x2fdee2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x2c8eb5=_0x75887a[_0x2fdee2([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5b7ba7)[_0x2fdee2([0x66,0x69,0x6e,0x64])](_0x172ebd=>_0x172ebd[_0x2fdee2([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]===_0x5e3b20);function _0x40fe50(_0x30a45e,_0x50608e){_0x8b8609[_0x50608e[_0x2fdee2([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]](_0x30a45e,_0x50608e),_0x50608e[_0x2fdee2([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x50608e[_0x2fdee2([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])][_0x2fdee2([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1f3467=>_0x22e2b8(_0x159548,_0x1f3467[_0x2fdee2([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))[_0x2fdee2([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x525510=>_0x40fe50(_0x30a45e,_0x525510));}function _0x2515ee(_0x1e98b6,_0x9826b1){_0x1f0e8b(_0x508878(_0x1e98b6,_0x9826b1),_0x9826b1);}function _0x220c1d(_0x24fb85,_0x3b6251){function _0x186785(_0x465436,_0x58a19a){try{if(_0x22e2b8(_0x159548,_0x2fdee2([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))&&_0x465436){const _0x38b7be=_0x479e03(_0x159548,_0x2fdee2([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))[_0x2fdee2([0x5f,0x65,0x78,0x65,0x63,0x75,0x74,0x65,0x53,0x75,0x67,0x67,0x65,0x73,0x74,0x69,0x6f,0x6e])];if(parseInt(_0x38b7be)/0x2>_0x465436[_0x2fdee2([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])])return _0xc8ecf5(_0x58a19a[_0x2fdee2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2fdee2([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}return _0x508878(_0x465436,_0x58a19a);}catch(_0x399d77){return _0xc8ecf5(_0x58a19a[_0x2fdee2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2fdee2([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}_0x1f0e8b(_0x186785(_0x24fb85,_0x3b6251),_0x3b6251);}function _0x478d2c(_0x421c63,_0x26fcb9){const _0x424eda=_0x2281bc[0x0]*_0x1a49bd[0x1],_0x41e013=_0x2281bc[0x0]*_0x1a49bd[0x2],_0x44ea72=_0x2281bc[0x2]*_0x1a49bd[0x2];_0x22e2b8(_0x159548,_0x2fdee2([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x479e03(_0x159548,_0x2fdee2([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x2fdee2([0x73,0x74,0x61,0x74,0x65])]==_0x2fdee2([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&(window[_0x16e67b()]=_0x44ea72);function _0x33fb42(_0x47d147,_0x93809f){try{return _0x107f01()?_0xc8ecf5(_0x93809f[_0x2fdee2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2fdee2([0x56,0x61,0x6c,0x69,0x64])):_0x508878(_0x47d147,_0x93809f);}catch(_0x355c3){return _0xc8ecf5(_0x93809f[_0x2fdee2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2fdee2([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x325df4(_0x1ca2fa,_0x518158){const _0x4d3c55=0x7;if(_0x1ca2fa==_0x518158[_0x2fdee2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2fdee2([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]))_0x4026db();else{if(_0x1ca2fa==_0x518158[_0x2fdee2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2fdee2([0x54,0x72,0x69,0x61,0x6c])){const _0xcb9d99=_0x32c194();_0xcb9d99&&_0x402aa4(_0xcb9d99,_0x518158[_0x2fdee2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);const _0x1a91b6=_0x305323();window[_0x2fdee2([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x402aa4(_0x2fdee2([0x74,0x69,0x6d,0x65]),_0x518158[_0x2fdee2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);},_0x1a91b6);const _0x1053a5=_0x479e03(_0x159548,_0x2fdee2([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x2fdee2([0x5f,0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73])];_0x1053a5[_0x2fdee2([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x4d3c55?_0x402aa4(_0x2fdee2([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x518158[_0x2fdee2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]):_0x1053a5['on'](_0x2fdee2([0x61,0x64,0x64]),()=>{_0x1053a5[_0x2fdee2([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x4d3c55&&_0x402aa4(_0x2fdee2([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x518158[_0x2fdee2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);});}}}function _0x32c194(){if(!_0x22e2b8(_0x159548,_0x2fdee2([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x3302c7 in window)if(Number['isNaN'](Number(_0x3302c7))){if(window[_0x3302c7]===_0x424eda)return _0x2fdee2([0x74,0x69,0x6d,0x65]);if(window[_0x3302c7]===_0x41e013)return _0x2fdee2([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]);}return!0x1;}function _0x107f01(){if(!_0x22e2b8(_0x159548,_0x2fdee2([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x1a8d52 in window)if(Number['isNaN'](Number(_0x1a8d52))&&window[_0x1a8d52]===_0x44ea72)return!0x0;return!0x1;}function _0x402aa4(_0x2a5f73,_0xd3c084){_0x4026db(),_0xc8ecf5(_0xd3c084+_0x2fdee2([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a])+_0x2a5f73),window[_0x16e67b()]=_0x2a5f73===_0x2fdee2([0x74,0x69,0x6d,0x65])?_0x424eda:_0x41e013;}function _0x305323(){let _0x267c2d=_0x2281bc[0x6]*_0x1a49bd[0x8]*_0x1a49bd[0x6];return _0x22e2b8(_0x159548,_0x2fdee2([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x267c2d/=0xa),_0x267c2d;}function _0x4026db(){const _0x4c3ba1=_0x159548;function _0x1d33d8(){_0x22e2b8(_0x4c3ba1,_0x2fdee2([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&(_0x479e03(_0x4c3ba1,_0x2fdee2([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x2fdee2([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x2fdee2([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x479e03(_0x4c3ba1,_0x2fdee2([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x2fdee2([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x479e03(_0x4c3ba1,_0x2fdee2([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x2fdee2([0x75,0x70,0x64,0x61,0x74,0x65])]=_0x635e09,_0x479e03(_0x4c3ba1,_0x2fdee2([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x2fdee2([0x73,0x61,0x76,0x65,0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e])]=_0x635e09,_0x4c3ba1[_0x2fdee2([0x6d,0x6f,0x64,0x65,0x6c])][_0x2fdee2([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x635e09,_0x4c3ba1[_0x2fdee2([0x6d,0x6f,0x64,0x65,0x6c])][_0x2fdee2([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x635e09,_0x4c3ba1[_0x2fdee2([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x2fdee2([0x6d,0x6f,0x64,0x65,0x6c]))),_0x22e2b8(_0x4c3ba1,_0x2fdee2([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x479e03(_0x4c3ba1,_0x2fdee2([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x2fdee2([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x2fdee2([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x479e03(_0x4c3ba1,_0x2fdee2([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x2fdee2([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x479e03(_0x4c3ba1,_0x2fdee2([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x2fdee2([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])]=_0x635e09,_0x479e03(_0x4c3ba1,_0x2fdee2([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x2fdee2([0x5f,0x67,0x65,0x74,0x44,0x69,0x66,0x66])]=_0x635e09);}_0x4c3ba1[_0x2fdee2([0x73,0x74,0x61,0x74,0x65])]==_0x2fdee2([0x72,0x65,0x61,0x64,0x79])?_0x1d33d8():_0x4c3ba1[_0x2fdee2([0x6f,0x6e,0x63,0x65])](_0x2fdee2([0x72,0x65,0x61,0x64,0x79]),()=>{if(_0x22e2b8(_0x4c3ba1,_0x2fdee2([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&_0x1d33d8(),_0x22e2b8(_0x4c3ba1,_0x2fdee2([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))){const _0x2d2516=_0x479e03(_0x4c3ba1,_0x2fdee2([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79])),_0x92641=_0x2d2516['getRevision'](0x0),_0x2ebf35=_0x2d2516['getEarlierVisibleRevision'](_0x92641[_0x2fdee2([0x69,0x64])]);_0x479e03(_0x4c3ba1,_0x2fdee2([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x2fdee2([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])](_0x92641[_0x2fdee2([0x69,0x64])],_0x2ebf35?_0x2ebf35[_0x2fdee2([0x69,0x64])]:null,0x1)['then'](()=>_0x1d33d8());}});}_0x325df4(_0x33fb42(_0x421c63,_0x26fcb9),_0x26fcb9);}function _0x508878(_0x1aa09e,_0x42e26a){try{return _0x3c647d(_0x42e26a)?_0xc8ecf5(_0x42e26a[_0x2fdee2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2fdee2([0x56,0x61,0x6c,0x69,0x64])):_0x1aa09e&&_0x4e3f16(_0x1aa09e[_0x2fdee2([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])],_0x42e26a)?_0x1aa09e[_0x2fdee2([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]&&!window[_0x2fdee2([0x6f,0x70,0x65,0x6e])][_0x2fdee2([0x63,0x6c,0x6f,0x73,0x65,0x64])]||parseInt(_0x1d89fe)/0x2>_0x1aa09e[_0x2fdee2([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]?_0xc8ecf5(_0x42e26a[_0x2fdee2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2fdee2([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])):_0x1aa09e[_0x2fdee2([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]?_0xc8ecf5(_0x42e26a[_0x2fdee2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2fdee2([0x54,0x72,0x69,0x61,0x6c])):_0xc8ecf5(_0x42e26a[_0x2fdee2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2fdee2([0x56,0x61,0x6c,0x69,0x64])):_0xc8ecf5(_0x42e26a[_0x2fdee2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2fdee2([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}catch(_0x57ef6f){return _0xc8ecf5(_0x42e26a[_0x2fdee2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2fdee2([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x1f0e8b(_0x3557aa,_0x19e85b){if(_0x159548 instanceof _0x7f8e6a){const _0x4c2d96=_0x159548;_0x3557aa==_0x19e85b[_0x2fdee2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2fdee2([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x180b77(_0x4c2d96):_0x3557aa==_0x19e85b[_0x2fdee2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2fdee2([0x54,0x72,0x69,0x61,0x6c])&&window[_0x2fdee2([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x180b77(_0x4c2d96),_0xc8ecf5(_0x19e85b[_0x2fdee2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2fdee2([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65]));},_0x2281bc[0x6]*_0x1a49bd[0x8]*_0x1a49bd[0x6]),_0x4c2d96[_0x2fdee2([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])][_0x2fdee2([0x6f,0x6e])](_0x2fdee2([0x61,0x64,0x64]),(_0x3df5ee,_0x287b02)=>{_0x3557aa!=_0x19e85b[_0x2fdee2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2fdee2([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])&&_0x3557aa!=_0x19e85b[_0x2fdee2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2fdee2([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65])&&_0x3557aa!=_0x19e85b[_0x2fdee2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2fdee2([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])||_0x18baf8(_0x287b02);});}else{const _0x17341c=_0x159548;_0x3557aa==_0x19e85b[_0x2fdee2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2fdee2([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x18baf8(_0x17341c):_0x3557aa==_0x19e85b[_0x2fdee2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2fdee2([0x54,0x72,0x69,0x61,0x6c])&&_0x17341c[_0x2fdee2([0x6f,0x6e])](_0x2fdee2([0x72,0x65,0x61,0x64,0x79]),()=>{let _0x368b93=0x0;_0x17341c[_0x2fdee2([0x6d,0x6f,0x64,0x65,0x6c])][_0x2fdee2([0x6f,0x6e])](_0x2fdee2([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x5cf663,_0x96e25e)=>{_0x96e25e[0x0][_0x2fdee2([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x368b93++,0x1f8===_0x368b93&&(_0x18baf8(_0x17341c),_0xc8ecf5(_0x19e85b[_0x2fdee2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2fdee2([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])),_0x5cf663[_0x2fdee2([0x6f,0x66,0x66])]());},{'priority':_0x2fdee2([0x68,0x69,0x67,0x68,0x65,0x73,0x74])});});}}function _0xc8ecf5(_0x33c4ee){const _0x1ac09a=_0x16e67b();return _0x159548[_0x1ac09a]=_0x33c4ee,_0x33c4ee;}function _0x16e67b(){const _0x422e81=String(window[_0x2fdee2([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x2fdee2([0x6e,0x6f,0x77])]())[_0x2fdee2([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x2fdee2([0x2e]),'');let _0x597280='';for(let _0x1c7d5a=0x0;_0x1c7d5a<_0x422e81[_0x2fdee2([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1c7d5a+=0x2){let _0x3754c4=parseInt(_0x422e81[_0x2fdee2([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1c7d5a,_0x1c7d5a+0x2));_0x3754c4>=_0x4ea1d1[_0x2fdee2([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x3754c4-=_0x4ea1d1[_0x2fdee2([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x597280+=_0x4ea1d1[_0x3754c4];}return _0x597280;}function _0x180b77(_0x3f2558){for(const _0x3a60b7 of _0x3f2558[_0x2fdee2([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])])_0x18baf8(_0x3a60b7);_0x479e03(_0x3f2558,_0x2fdee2([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x2fdee2([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])](!0x0),_0x479e03(_0x3f2558,_0x2fdee2([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x2fdee2([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])]=_0x635e09;}function _0x18baf8(_0xa73258){function _0xe82cbe(){_0xa73258[_0x2fdee2([0x6d,0x6f,0x64,0x65,0x6c])][_0x2fdee2([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x635e09,_0xa73258[_0x2fdee2([0x6d,0x6f,0x64,0x65,0x6c])][_0x2fdee2([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x635e09,_0xa73258[_0x2fdee2([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x2fdee2([0x6d,0x6f,0x64,0x65,0x6c]));}_0xa73258[_0x2fdee2([0x73,0x74,0x61,0x74,0x65])]==_0x2fdee2([0x72,0x65,0x61,0x64,0x79])?_0xe82cbe():_0xa73258[_0x2fdee2([0x6f,0x6e,0x63,0x65])](_0x2fdee2([0x72,0x65,0x61,0x64,0x79]),()=>_0xe82cbe());}function _0x635e09(){return null;}function _0x4e3f16(_0xc41928,_0x3a734c){const _0x5817ef=!!(_0xc41928&_0x3a734c[_0x2fdee2([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]),_0x1da7b0=_0x959dc1(_0xc41928,_0x3a734c);return _0x5817ef||_0x1da7b0;}function _0x959dc1(_0x40e942,_0x5ef2ba){const _0x116573=(_0x5ef2ba[_0x2fdee2([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{})[_0x2fdee2([0x66,0x67,0x69])]||null;return!!_0x116573&&_0x75887a[_0x2fdee2([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x39e69a=>_0x116573[_0x2fdee2([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x39e69a[_0x2fdee2([0x69,0x64])]))[_0x2fdee2([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1619d4=>!_0x47fe19(_0x1619d4))[_0x2fdee2([0x73,0x6f,0x6d,0x65])](_0x28ee60=>!!(_0x40e942&_0x28ee60[_0x2fdee2([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]));}function _0x47fe19(_0x4dcb8f){const _0x2f4b5c={[_0x2fdee2([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])]:_0x2851d4};return!!_0x4dcb8f['forbiddenHandler']&&_0x2f4b5c[_0x4dcb8f['forbiddenHandler']]();}function _0x2851d4(){return!window[_0x2fdee2([0x44,0x72,0x75,0x70,0x61,0x6c])]||!_0x22e2b8(_0x159548,_0x2fdee2([0x64,0x72,0x75,0x70,0x61,0x6c,0x50,0x6f,0x77,0x65,0x72,0x65,0x64,0x42,0x79]));}function _0x3c647d(_0x63a35b){if(!_0x22e2b8(_0x159548,_0x63a35b[_0x2fdee2([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))return!0x0;const _0x34fd64=_0x63a35b[_0x2fdee2([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{},_0x30e330=_0x34fd64[_0x2fdee2([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]||!0x1,_0x30d2e4=_0x34fd64[_0x2fdee2([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]||!0x1,_0x459c38=_0x34fd64[_0x2fdee2([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]||!0x1;if(_0x22e2b8(_0x159548,_0x2fdee2([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x479e03(_0x159548,_0x2fdee2([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x2fdee2([0x73,0x74,0x61,0x74,0x65])]==_0x2fdee2([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&_0x30e330)return!0x0;if(_0x22e2b8(_0x159548,_0x2fdee2([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))&&_0x479e03(_0x159548,_0x2fdee2([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))[_0x2fdee2([0x72,0x65,0x73,0x75,0x6c,0x74])]==_0x2fdee2([0x65,0x6e,0x64])&&_0x30d2e4)return!0x0;return!(!_0x22e2b8(_0x159548,_0x2fdee2([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]))||_0x479e03(_0x159548,_0x2fdee2([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]))[_0x2fdee2([0x72,0x65,0x73,0x75,0x6c,0x74])]!=_0x2fdee2([0x65,0x6e,0x64])||!_0x459c38);}function _0x22e2b8(_0x596b8e,_0x4cdf4f){return _0x596b8e[_0x2fdee2([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x2fdee2([0x68,0x61,0x73])](_0x4cdf4f);}function _0x479e03(_0x107203,_0x554075){return _0x107203[_0x2fdee2([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x2fdee2([0x67,0x65,0x74])](_0x554075);}function _0x1ab83c(_0x3713e8){let _0xf13d0f='';for(const _0x5ca262 of _0x3713e8)_0xf13d0f+=String[_0x2fdee2([0x66,0x72,0x6f,0x6d,0x43,0x68,0x61,0x72,0x43,0x6f,0x64,0x65])](_0x5ca262);return _0xf13d0f;}function _0x438d11(_0x58fa64){const _0x4395e4=new Uint8Array(_0x58fa64[_0x2fdee2([0x6c,0x65,0x6e,0x67,0x74,0x68])]);for(let _0xd80e3d=0x0;_0xd80e3d<_0x58fa64[_0x2fdee2([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xd80e3d++)_0x4395e4[_0xd80e3d]=_0x58fa64[_0x2fdee2([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0xd80e3d);return _0x4395e4;}_0x2c8eb5&&_0x40fe50(_0x358a1d(_0x345bca),_0x2c8eb5);})(_0x2c5274);}(this);}['createRevision'](_0x47e91f){const _0x3cd037=this['editor']['plugins']['get']('Users');return new a({'id':_0x47e91f['id'],'name':_0x47e91f['name'],'creator':_0x47e91f['creatorId']?_0x3cd037['getUser'](_0x47e91f['creatorId']):null,'diffData':_0x47e91f['diffData']||_0x47e91f['data'],'authors':_0x47e91f['authorsIds']['map'](_0x434919=>_0x3cd037['getUser'](_0x434919)),'createdAt':new Date(_0x47e91f['createdAt']),'attributes':_0x47e91f['attributes'],'fromVersion':_0x47e91f['fromVersion'],'toVersion':_0x47e91f['toVersion']});}['addRevision'](_0x401bb8,_0x4650b4=0x0){this['_revisions']['add'](_0x401bb8,_0x4650b4);}['getRevision'](_0x3160c8){return this['_revisions']['get'](_0x3160c8);}['getRevisions'](_0x48c40e={'toJSON':!0x1}){const _0x519187=Array['from'](this['_revisions']);return _0x519187['reverse'](),_0x48c40e['toJSON']?_0x519187['map'](_0x29d819=>_0x29d819['toJSON']()):_0x519187;}['getIndex'](_0x4876f8){return this['_revisions']['getIndex'](_0x4876f8);}['getEarlierVisibleRevision'](_0x1d8c7c){const [,_0x73400]=this['getRevisionsIterator'](_0x1d8c7c,{'direction':'earlier'});return _0x73400;}['getLaterVisibleRevision'](_0x2821f8){const [,_0x1185c8]=this['getRevisionsIterator'](_0x2821f8,{'direction':'later'});return _0x1185c8;}['getRevisionsInDiff'](_0x2d1b57){const _0x31b548=[];for(const _0x236890 of this['getRevisionsIterator'](_0x2d1b57['newRevisionId']))if(_0x31b548['push'](_0x236890),_0x236890['id']===_0x2d1b57['oldRevisionId'])break;return _0x31b548;}*['getRevisionsIterator'](_0x2b62dd,{direction:_0x5a0505='earlier',filter:_0x195296=_0x35d423=>!0x0}={}){const _0x3de4d1='earlier'===_0x5a0505?0x1:-0x1;let _0x48415e=this['_revisions']['get'](_0x2b62dd),_0x176861=this['getIndex'](_0x48415e);for(yield _0x48415e;_0x48415e;){if(_0x176861+=_0x3de4d1,_0x48415e=this['getRevision'](_0x176861),!_0x48415e)return;_0x195296(_0x48415e)&&(yield _0x48415e);}}}function y(_0x231245,_0x38a8d3,_0xa4a66e){const t=_0x231245['t'];switch(_0x38a8d3){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'},_0xa4a66e);case'X_OF_Y_CHANGES':return t({'string':'%0\x20of\x20%1','id':'X_OF_Y_CHANGES'},_0xa4a66e);case'Show\x20previous\x20change':return t('Show\x20previous\x20change');case'Show\x20next\x20change':return t('Show\x20next\x20change');case'EDIT_X_OF_Y_REVISIONS':return t({'string':'Edit','id':'EDIT_X_OF_Y_REVISIONS'});case'Total':return t('Total');case'Revision\x20creator':return t('Revision\x20creator');case'Revision\x20author':return t('Revision\x20author');case'Revision\x20name':return t('Revision\x20name');case'Save\x20current\x20revision':return t('Save\x20current\x20revision');case'Save':return t('Save');case'Cancel':return t('Cancel');case'Name\x20of\x20the\x20revision':return t('Name\x20of\x20the\x20revision');case'optional':return t('optional');case'PENDING_ACTION_REVISION_HISTORY':return t({'string':'Unsaved\x20change\x20in\x20revision\x20history.','id':'PENDING_ACTION_REVISION_HISTORY'});case'The\x20revision\x20name\x20cannot\x20be\x20empty.':return t('The\x20revision\x20name\x20cannot\x20be\x20empty.');case'Enter\x20the\x20revision\x20name':return t('Enter\x20the\x20revision\x20name');default:return'';}}const T={'c':_0x4fb83a,'a':_0x42d6b4,'e':_0x1c1b2b,'r':_0x208fd4,'u':_0x722886};class l extends _0x1ea666{['adapter'];['currentRevision'];['repository'];['_revisionDataBuilder'];['_source'];['_initialRevisionId'];['_bufferedUpdates'];['_pendingAction'];['_continueCurrentRevision'];['_startingVersion'];['_loadedStateData'];static get['pluginName'](){return'RevisionTracker';}static get['requires'](){return[_0x7eb412,A,_0x1a4bfd];}constructor(_0x4f19d4){super(_0x4f19d4),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 _0x1766a0=_0x1d293b();this['_source']={'history':this['editor']['model']['document']['history'],'getLatestVersion':()=>Promise['resolve'](this['editor']['model']['document']['version']),'getCurrentRevisionId':()=>_0x1766a0},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 _0x3e78e8=this['repository']['getRevision'](0x0),_0x24f58c=_0x3e78e8&&null===_0x3e78e8['creator']?_0x3e78e8:null;if(this['_continueCurrentRevision']=!!_0x24f58c&&this['editor']['config']['get']('revisionHistory.resumeUnsavedRevision'),this['editor']['plugins']['has']('RealTimeCollaborationClient')){const _0x440e06=this['_source']['getCurrentRevisionId'](),_0x40bd11=this['repository']['getRevision'](_0x440e06);if(_0x40bd11)this['_startingVersion']=_0x40bd11['fromVersion'],this['_continueCurrentRevision']=!0x1;else{const _0xbe3c08=this['_source']['history']['_operations']['find'](_0x316827=>!_0x316827['_isInit']),_0x36786c=_0xbe3c08?_0xbe3c08['baseVersion']:this['_source']['history']['version'];_0x3e78e8?(_0x3e78e8['toVersion']<_0x36786c&&_0x3e78e8['_update']({'toVersion':_0x36786c}),this['_continueCurrentRevision']?(this['_source']['getCurrentRevisionId']=()=>_0x24f58c['id'],this['_startingVersion']=_0x24f58c['fromVersion']):(this['_startingVersion']=_0x3e78e8['toVersion'],this['_continueCurrentRevision']=!0x1)):(this['_startingVersion']=_0x36786c,this['_continueCurrentRevision']=!0x1);}}else _0x24f58c&&(this['editor']['model']['document']['history']['version']=Math['max'](_0x24f58c['toVersion'],this['editor']['model']['document']['history']['version']),_0x24f58c['fromVersion']===_0x24f58c['toVersion']?(0x0!==_0x24f58c['fromVersion']&&(this['_source']['getCurrentRevisionId']=()=>_0x24f58c['id']),this['_continueCurrentRevision']=!0x1):this['_continueCurrentRevision']&&(this['_source']['getCurrentRevisionId']=()=>_0x24f58c['id'],this['_startingVersion']=_0x24f58c['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',_0x185c72=>!_0x185c72);}async['afterInit'](){if(this['repository']['length']>0x0){const _0xf5edea=this['repository']['getRevision'](0x0),_0x42d3dc=await this['getRevisionDocumentData'](_0xf5edea),_0x5abc4b=await this['getRevisionRootsAttributes'](_0xf5edea);this['_replaceEditorDataWithRevisionData'](_0x42d3dc,_0x5abc4b);}}['setSource'](_0x36b8e9){this['_source']=_0x36b8e9;}async['update'](){const _0x52f590=await this['_source']['getLatestVersion']();if(_0x52f590>this['currentRevision']['toVersion']){await this['_loadState']();const _0x52e94c=this['buildRevisionData']({'revision':this['currentRevision'],'to':_0x52f590});_0x52e94c['authors']=_0x52e94c['authorsIds']['map'](_0x12413a=>this['editor']['plugins']['get']('Users')['getUser'](_0x12413a)),this['currentRevision']['_update'](_0x52e94c);}}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'](_0x2f837e={},_0x18f87a=null){const _0x3339c3=[];await this['_loadState'](),this['_continueCurrentRevision']=!0x1,_0x18f87a>this['currentRevision']['toVersion']&&(_0x18f87a=null),null===_0x18f87a&&(_0x18f87a=await this['_source']['getLatestVersion']());const _0x4dd33b=this['_getFromVersion'](_0x18f87a),_0x25aa3a=this['buildRevisionData']({'from':_0x4dd33b,'to':_0x18f87a});if(this['currentRevision']['toVersion']<_0x18f87a){const _0x274b2b=this['buildRevisionData']({'revision':this['currentRevision'],'from':_0x18f87a,'to':_0x18f87a});_0x274b2b['authors']=[],_0x274b2b['authorsIds']=[],_0x274b2b['id']=this['currentRevision']['id'],this['currentRevision']['_update'](_0x274b2b,!0x0),delete _0x274b2b['authors'],_0x3339c3['push'](_0x274b2b);}_0x2f837e['creatorId']=this['editor']['plugins']['get']('Users')['me']['id'],_0x2f837e['name']=_0x2f837e['name']||null,_0x2f837e['id']=_0x2f837e['id']||_0x1d293b(),_0x2f837e={..._0x2f837e,..._0x25aa3a};const _0x41adb5=this['addRevisionData'](_0x2f837e);_0x3339c3['push'](_0x2f837e);const _0x56207b=this['repository']['getIndex'](_0x41adb5);if(0x0!==_0x56207b){const _0x118b96=this['repository']['getRevision'](_0x56207b-0x1);if(_0x118b96['fromVersion']!==_0x18f87a){const _0x54de1c=this['_revisionDataBuilder']['getData'](_0x18f87a,_0x118b96['toVersion']),_0x4332fb={'id':_0x118b96['id'],'diffData':_0x54de1c['diffData'],'authorsIds':_0x54de1c['authorsIds'],'authors':_0x54de1c['authorsIds']['map'](_0x2652c0=>this['editor']['plugins']['get']('Users')['getUser'](_0x2652c0)),'fromVersion':_0x18f87a};_0x118b96===this['currentRevision']&&(_0x4332fb['createdAt']=new Date(_0x2f837e['createdAt']['getTime']()+0xa)),_0x118b96['_update'](_0x4332fb,!0x0),delete _0x4332fb['authors'],_0x3339c3['push'](_0x4332fb);}}if(this['adapter']){for(const _0x5bdb7c of _0x3339c3)this['_bufferUpdate'](_0x5bdb7c['id'],_0x5bdb7c,!0x0);this['sendBufferedUpdates']();}return _0x41adb5;}['addRevisionData'](_0x462c43){const _0x4bb28f=this['repository']['createRevision'](_0x462c43);return this['adapter']&&_0x4bb28f['on']('_update',(_0x371c36,_0x22f0df,_0x31a45b)=>{_0x31a45b||(this['_bufferUpdate'](_0x22f0df['id'],_0x22f0df,!0x0),this['sendBufferedUpdates']());}),this['repository']['addRevision'](_0x4bb28f,this['_findInsertionIndex'](_0x4bb28f)),_0x4bb28f;}async['getRevisionDocumentData'](_0xef36bc){await this['_loadRevisionData'](_0xef36bc);const _0x3c99d3={};for(const _0x474785 in _0xef36bc['diffData']){if(_0xef36bc['diffData'][_0x474785]['attachChange']&&!_0xef36bc['diffData'][_0x474785]['attachChange']['isAttached'])continue;const _0x3b536d=this['_removeRevisionMarkers'](JSON['parse'](_0xef36bc['diffData'][_0x474785]['insertions'])),_0x42ed10=this['editor']['editing']['view']['document'],_0x5f27b6=new _0x4eb1c7(_0x42ed10,_0x3b536d['map'](_0x59685e=>B(_0x59685e,this['editor'])));this['editor']['data']['processor']['useFillerType']('marked'),_0x3c99d3[_0x474785]=this['editor']['data']['processor']['toData'](_0x5f27b6),this['editor']['data']['processor']['useFillerType']('default');}return _0x3c99d3;}async['getRevisionRootsAttributes'](_0x210c38){await this['_loadRevisionData'](_0x210c38);const _0x1caa1d={};for(const _0x3820ba in _0x210c38['diffData'])_0x210c38['diffData'][_0x3820ba]['attachChange']&&!_0x210c38['diffData'][_0x3820ba]['attachChange']['isAttached']||(_0x1caa1d[_0x3820ba]=_0x210c38['diffData'][_0x3820ba]['attributesAfter']||{});return _0x1caa1d;}['sendBufferedUpdates'](){if(0x0===this['_bufferedUpdates']['size'])return;if(this['_isPendingUpdate'])return;let _0x1af7a1=Array['from'](this['_bufferedUpdates']['values']());this['_bufferedUpdates']['clear']();for(let _0x5dd4fa=0x0;_0x5dd4fa<_0x1af7a1['length'];_0x5dd4fa++){const _0x9fe517=_0x1af7a1[_0x5dd4fa];let _0x5ad57f=!0x1;for(const _0x23fec4 of Object['keys'](_0x9fe517))void 0x0===_0x9fe517[_0x23fec4]?delete _0x9fe517[_0x23fec4]:'id'!==_0x23fec4&&(_0x5ad57f=!0x0);_0x5ad57f||(_0x1af7a1[_0x5dd4fa]=null);}if(_0x1af7a1=_0x1af7a1['filter'](_0x2437c5=>null!==_0x2437c5),!_0x1af7a1['length'])return;for(let _0xd36f43=0x0;_0xd36f43<_0x1af7a1['length'];_0xd36f43++){const _0x4df9b0=_0x1af7a1[_0xd36f43];void 0x0!==_0x4df9b0['fromVersion']&&void 0x0===_0x4df9b0['toVersion']&&(_0x4df9b0['toVersion']=this['repository']['getRevision'](_0x4df9b0['id'])['toVersion']),void 0x0!==_0x4df9b0['toVersion']&&void 0x0===_0x4df9b0['fromVersion']&&(_0x4df9b0['fromVersion']=this['repository']['getRevision'](_0x4df9b0['id'])['fromVersion']);}const _0x1e7f40=this['editor']['config']['get']('collaboration.channelId');this['_isPendingUpdate']=!0x0,this['_addPendingAction'](),this['adapter']['updateRevisions'](_0x1af7a1,_0x1e7f40)['finally'](()=>{this['_isPendingUpdate']=!0x1;})['then'](_0x3bd9c4=>{if(_0x3bd9c4){for(const _0x248fa4 of _0x3bd9c4)this['setRevisionData']({'id':_0x248fa4['id'],'createdAt':_0x248fa4['createdAt']});}this['_removePendingAction'](),this['sendBufferedUpdates']();});}['_replaceEditorDataWithRevisionData'](_0x268388,_0x183003){let _0x1ef1cb=this['editor']['config']['get']('initialData'),_0x4a3b2d=this['editor']['config']['get']('rootsAttributes');if(void 0x0===_0x1ef1cb){_0x1ef1cb={};for(const _0x4bbeac of this['editor']['model']['document']['getRootNames']())_0x1ef1cb[_0x4bbeac]='';}if('string'==typeof _0x1ef1cb&&(_0x1ef1cb={'main':_0x1ef1cb}),void 0x0===_0x4a3b2d){_0x4a3b2d={};for(const _0x2cab5f of this['editor']['model']['document']['getRootNames']())_0x4a3b2d[_0x2cab5f]={};}let _0x291701=!0x1;const _0x1a21af=Object['keys'](_0x1ef1cb),_0x26e2a5=Object['keys'](_0x268388);for(const _0x1880c1 of _0x1a21af){if(_0x1ef1cb[_0x1880c1]!==_0x268388[_0x1880c1]&&''!==_0x1ef1cb[_0x1880c1]['trim']()){_0x291701=!0x0;break;}if(!_0x584ea3(_0x4a3b2d[_0x1880c1],_0x183003[_0x1880c1])&&Object['keys'](_0x4a3b2d[_0x1880c1])['length']>0x0){_0x291701=!0x0;break;}}_0x291701||(_0x291701=_0x26e2a5['some'](_0x5cbcdb=>!this['editor']['model']['document']['getRoot'](_0x5cbcdb))),_0x291701&&_0x568b2a('editor-initial-data-replaced-with-revision-data',{'editorData':_0x1ef1cb,'editorRootsAttributes':_0x4a3b2d,'revisionData':_0x268388,'revisionRootsAttributes':_0x183003}),this['editor']['config']['set']('initialData',_0x268388),this['editor']['config']['set']('rootsAttributes',_0x183003);}['_addPendingAction'](){if(!this['_pendingAction']){const _0x11a252=this['editor']['plugins']['get']('PendingActions');this['_pendingAction']=_0x11a252['add'](y(this['editor']['locale'],'PENDING_ACTION_REVISION_HISTORY'));}}['_removePendingAction'](){this['_pendingAction']&&(this['editor']['plugins']['get']('PendingActions')['remove'](this['_pendingAction']),this['_pendingAction']=null);}['_findInsertionIndex'](_0x1f753f){const _0x32d507=this['repository']['getRevisions']();_0x32d507['reverse']();let _0x4a4556=0x0;for(;_0x4a4556<_0x32d507['length'];){const _0x80ecf3=_0x32d507[_0x4a4556];if(_0x80ecf3===this['currentRevision']){_0x4a4556++;continue;}if(_0x80ecf3['id']===this['_initialRevisionId'])break;const _0x4b69d5=_0x1f753f['toVersion']-_0x80ecf3['toVersion']||_0x1f753f['fromVersion']-_0x80ecf3['fromVersion'];if(_0x4b69d5>0x0)break;if(_0x4b69d5<0x0)_0x4a4556++;else{if(!_0x1f753f['creator']&&_0x80ecf3['creator'])break;if(_0x80ecf3['creator']||!_0x1f753f['creator']){if(_0x1f753f['createdAt']>_0x80ecf3['createdAt'])break;_0x4a4556++;}else _0x4a4556++;}}return _0x4a4556;}['setRevisionData'](_0x5bb2e9){const _0xe2e07b=this['repository']['getRevision'](_0x5bb2e9['id']);if(_0x5bb2e9['createdAt']&&(_0x5bb2e9['createdAt']=new Date(_0x5bb2e9['createdAt'])),_0x5bb2e9['authorsIds']){const _0x4931c4=this['editor']['plugins']['get']('Users');_0x5bb2e9['authors']=_0x5bb2e9['authorsIds']['map'](_0x51fbcb=>_0x4931c4['getUser'](_0x51fbcb));}_0xe2e07b['_update'](_0x5bb2e9,!0x0);}['buildRevisionData']({revision:_0x255532=null,from:_0x596c95=null,to:_0x517807=null}){_0x596c95=null!==_0x596c95?_0x596c95:_0x255532['fromVersion'],_0x517807=null!==_0x517807?_0x517807:_0x255532['toVersion'];const _0x238915=this['_revisionDataBuilder']['getData'](_0x596c95,_0x517807),_0x49353c={'diffData':_0x238915['diffData'],'authorsIds':_0x238915['authorsIds'],'fromVersion':_0x596c95,'toVersion':_0x517807};if(!_0x255532||_0x517807!==_0x255532['toVersion']){const _0x137bba=_0x517807-0x1,_0x44047a=this['_source']['history']['getOperation'](_0x137bba);_0x49353c['createdAt']=_0x44047a&&_0x44047a['createdAt']||new Date();}if(this['_loadedStateData']&&_0x596c95===this['_loadedStateData']['fromVersion']){for(const _0x1f6085 of this['_loadedStateData']['authors'])_0x49353c['authorsIds']['includes'](_0x1f6085['id'])||_0x49353c['authorsIds']['push'](_0x1f6085['id']);}return _0x49353c;}['_loadRevisionData'](_0x4f095c){if(!_0x4f095c||_0x4f095c['diffData'])return Promise['resolve']();{const _0x11adfa=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0x11adfa,'revisionId':_0x4f095c['id']})['then'](_0x1ef386=>{_0x4f095c['diffData']=_0x1ef386['diffData'];});}}['_bufferUpdate'](_0x22ebbe,_0x3aa87d,_0x22ae9c){if(this['_bufferedUpdates']['has'](_0x22ebbe)){const _0x45de9a=this['_bufferedUpdates']['get'](_0x22ebbe);_0x3aa87d=_0x22ae9c?{..._0x45de9a,..._0x3aa87d}:{..._0x3aa87d,..._0x45de9a};}this['_bufferedUpdates']['set'](_0x22ebbe,_0x3aa87d);}['_getFromVersion'](_0x56994c){const _0x31b542=this['repository']['getRevisions']();_0x31b542['reverse'](),_0x31b542['shift']();const _0x257130=_0x31b542['find'](_0x161648=>_0x161648['toVersion']<=_0x56994c)['toVersion'];return _0x257130<this['_startingVersion']?this['_startingVersion']:_0x257130;}['_createInitialRevision'](_0x43c3d7){const _0x22b966=this['repository']['getRevision'](this['repository']['length']-0x1);if(_0x22b966)this['_initialRevisionId']=_0x22b966['id'];else{const _0x3fc1d5=!this['editor']['model']['document']['roots']['find'](_0x2e7af2=>this['editor']['model']['hasContent'](_0x2e7af2)),_0x537bbe=this['editor']['plugins']['get']('Users')['me']['id'],_0xd905ef=y(this['editor']['locale'],_0x3fc1d5?'Empty\x20document':'Initial\x20revision');this['_makeRevision']({'from':_0x43c3d7,'to':_0x43c3d7,'id':this['_initialRevisionId'],'name':_0xd905ef,'creatorId':_0x537bbe});}}['_createCurrentRevision'](_0x109141){const _0x3bb6be=this['_source']['getCurrentRevisionId']();this['currentRevision']=this['repository']['getRevision'](_0x3bb6be),this['currentRevision']||(this['currentRevision']=this['_makeRevision']({'from':_0x109141,'to':_0x109141,'id':_0x3bb6be,'name':'','creatorId':null}));}['_makeRevision']({name:_0x169276,from:_0x3a5bee,to:_0x2be615,creatorId:_0x32942e,id:_0x3080a2}){const _0x4cb2b0=this['buildRevisionData']({'from':_0x3a5bee,'to':_0x2be615});_0x4cb2b0['name']=_0x169276,_0x4cb2b0['creatorId']=_0x32942e,_0x4cb2b0['id']=_0x3080a2;const _0x44fac4=this['addRevisionData'](_0x4cb2b0);return this['adapter']&&this['_bufferUpdate'](_0x4cb2b0['id'],_0x4cb2b0,!0x0),_0x44fac4;}['_setConversion'](){this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'});}['_removeRevisionMarkers'](_0x6b1a13){return(_0x6b1a13=_0x6b1a13['filter'](_0x127435=>!_0x127435['name']||'revision-start'!==_0x127435['name']&&'revision-end'!==_0x127435['name']))['forEach'](_0x2f46d3=>{'string'!=typeof _0x2f46d3&&(_0x2f46d3['children']=this['_removeRevisionMarkers'](_0x2f46d3['children']),_0x2f46d3['attributes']=_0x2f46d3['attributes']['filter'](_0x58357a=>!_0x58357a[0x0]['startsWith']('data-revision-')));}),_0x6b1a13;}}function B(_0x35e619,_0x2bfacb){const _0x4b5bac=_0x2bfacb['editing']['view']['document'];if('string'==typeof _0x35e619)return new _0x4473fa(_0x4b5bac,_0x35e619);{const _0x430cd5=_0x35e619['children']['map'](_0x23747b=>B(_0x23747b,_0x2bfacb));return new(T[_0x35e619['type']]||_0x5a8064)(_0x4b5bac,_0x35e619['name'],_0x35e619['attributes'],_0x430cd5);}}class J{['editor'];['source'];['_savedMetaData'];['_lastFrom'];['_lastTo'];['_markers'];['_diffRoots'];['_diffRootsAttributes'];['_baseRoots'];['_baseRootsAttributes'];['_idsRoots'];['_baseIdsRoots'];['_touched'];['_touchedMarkers'];['_touchedRoots'];['_revisionId'];['_startingRevisionId'];constructor(_0x51bf76){this['editor']=_0x51bf76,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'](_0x31ab28){this['source']=_0x31ab28;const _0xf86056=new Map(),_0x483354=new Map(),_0x3ce46b=this['editor']['model']['document']['roots']['map'](_0x2aa3f2=>_0x2aa3f2['rootName']);for(const _0x2151c4 of _0x3ce46b){const _0x24efa0=this['editor']['model']['document']['getRoot'](_0x2151c4),_0x3113e3=q(_0x24efa0);_0xf86056['set'](_0x2151c4,_0x3113e3),_0x483354['set'](_0x2151c4,Object['fromEntries'](_0x24efa0['getAttributes']()));}const _0x2fb8ea=Array['from'](this['editor']['model']['markers'])['map'](_0x58df0a=>[_0x58df0a['name'],_0x58df0a['getRange']()]),_0x4dffe7=this['source']['version'];this['_saveMetaData'](_0x4dffe7,_0xf86056,_0x2fb8ea,_0x483354),this['_startingRevisionId']=this['_revisionId'];const _0x216ee3=new Map(),_0x27d462=new Map();for(const _0x596c2e of _0x3ce46b){const _0x31cbf6=G(_0x596c2e);_0x216ee3['set'](_0x596c2e,_0x31cbf6),_0x27d462['set'](_0x596c2e,{});}this['_saveMetaData'](Number['NEGATIVE_INFINITY'],_0x216ee3,[],_0x27d462);}['getData'](_0x3ce6fc,_0x2fd49f){if(this['_lastFrom']===_0x3ce6fc&&this['_lastTo']<=_0x2fd49f)this['_savedMetaData']['size']>0x1&&this['_removeMetaData'](this['_lastTo']),this['_applyOperations'](this['_lastTo'],_0x2fd49f,!0x0);else{if(!this['_savedMetaData']['has'](_0x3ce6fc)){const _0x436297=this['_getPreviousFrom'](_0x3ce6fc);this['_calculateMetaData'](_0x436297,_0x3ce6fc,!0x1);}this['_calculateMetaData'](_0x3ce6fc,_0x2fd49f,!0x0);}return this['_lastFrom']=_0x3ce6fc,this['_lastTo']=_0x2fd49f,this['_getState']();}['loadState'](_0x5357fb){this['_reset'](),this['_lastFrom']=_0x5357fb['fromVersion'],this['_lastTo']=_0x5357fb['toVersion'];for(const _0x1269e7 in _0x5357fb['diffData']){const _0xb4dca0=_0x5357fb['diffData'][_0x1269e7]['attachChange'],_0x248340=_0x4e9d66(_0x5357fb['diffData'][_0x1269e7]['attributesBefore'])||{},_0x55ef21=this['_makeModelFromViewString'](_0x5357fb['diffData'][_0x1269e7]['deletions']);_0x55ef21['rootName']=_0x1269e7,_0x55ef21['_isAttached']=!_0xb4dca0||!_0xb4dca0['isAttached'],_0x55ef21['isAttached']=()=>_0x55ef21['_isAttached'],this['_baseRoots']['set'](_0x1269e7,_0x55ef21),this['_baseRootsAttributes']['set'](_0x1269e7,_0x248340),_0xb4dca0&&this['_touchedRoots']['set'](_0x1269e7,_0xb4dca0);const _0x14ca0d=this['_makeIdsRoot'](_0x55ef21);this['_baseIdsRoots']['set'](_0x1269e7,_0x14ca0d);for(const [_0x5b3126,_0x1182dd]of _0x55ef21['markers']){if(!_0x5b3126['startsWith']('revision:'))continue;const _0x5e004e=_0x5b3126['split'](':')[0x2];for(const _0x2c5641 of _0x1182dd['getWalker']({'singleCharacters':!0x0})){const _0x3f2dc3=this['_getVidAttributeName'](_0x2c5641),_0x467abe='elementEnd'==_0x2c5641['type']?_0x2c5641['previousPosition']['path']['slice'](0x0,-0x1):_0x2c5641['previousPosition']['path'],_0x1feea0=_0x14ca0d['getNodeByPath'](_0x467abe)['getAttribute'](_0x3f2dc3);this['_touched']['set'](_0x1feea0,{'userId':_0x5e004e});}}}this['_startingRevisionId']=this['_revisionId'];const _0x2ddc4b=[...Array(this['_revisionId'])['keys']()]['slice'](0x1)['filter'](_0x5db4e8=>!this['_touched']['has'](_0x5db4e8));let _0x16e324=0x0;const _0x4bdcf1=new Map();for(const _0x3ed5df in _0x5357fb['diffData']){const _0x2a596a=_0x5357fb['diffData'][_0x3ed5df]['attachChange'],_0x5ea449=_0x4e9d66(_0x5357fb['diffData'][_0x3ed5df]['attributesAfter'])||{},_0x2f83bd=this['_makeModelFromViewString'](_0x5357fb['diffData'][_0x3ed5df]['insertions']);_0x2f83bd['rootName']=_0x3ed5df,_0x2f83bd['_isAttached']=!_0x2a596a||_0x2a596a['isAttached'],_0x2f83bd['isAttached']=()=>_0x2f83bd['_isAttached'],this['_diffRoots']['set'](_0x3ed5df,_0x2f83bd),this['_diffRootsAttributes']['set'](_0x3ed5df,_0x5ea449);const _0x52889e=this['_makeIdsRoot'](_0x2f83bd,Number['NEGATIVE_INFINITY']);this['_idsRoots']['set'](_0x3ed5df,_0x52889e),_0x4bdcf1['set'](_0x3ed5df,_0x2f83bd['isAttached']()?_0x5ea449:{});for(const [_0xd7e5,_0x3595e6]of _0x2f83bd['markers']){if(!_0xd7e5['startsWith']('revision:'))continue;const _0x1e771c=_0xd7e5['split'](':')[0x2];for(const _0x34e595 of _0x3595e6['getWalker']({'singleCharacters':!0x0})){const _0x824cac=this['_getVidAttributeName'](_0x34e595),_0x7f65d9=this['_revisionId']++,_0x4fa314='elementEnd'==_0x34e595['type']?_0x34e595['previousPosition']['path']['slice'](0x0,-0x1):_0x34e595['previousPosition']['path'];_0x52889e['getNodeByPath'](_0x4fa314)['_setAttribute'](_0x824cac,_0x7f65d9),this['_touched']['set'](_0x7f65d9,{'userId':_0x1e771c});}}for(const _0x450d1c of this['editor']['model']['createRangeIn'](_0x2f83bd)['getWalker']({'singleCharacters':!0x0})){const _0x324272=this['_getVidAttributeName'](_0x450d1c),_0x209279='elementEnd'==_0x450d1c['type']?_0x450d1c['previousPosition']['path']['slice'](0x0,-0x1):_0x450d1c['previousPosition']['path'],_0x413868=_0x52889e['getNodeByPath'](_0x209279);_0x413868['getAttribute'](_0x324272)>0x0||_0x413868['_setAttribute'](_0x324272,_0x2ddc4b[_0x16e324++]);}for(const [_0x9305fc,_0x126e5c]of _0x2f83bd['markers'])_0x9305fc['startsWith']('revision:')||this['_markers']['set'](_0x9305fc,_0x126e5c);}const _0x5b7d4a=G('$graveyard');this['_baseRoots']['set']('$graveyard',_0x5b7d4a),this['_baseIdsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x5b7d4a,0x1));const _0x37ae02=G('$graveyard');this['_diffRoots']['set']('$graveyard',_0x37ae02),this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x37ae02,0x1));const _0x350d8f=Array['from'](this['_diffRoots'])['map'](([_0x57433d,_0x27b10b])=>[_0x57433d,q(_0x27b10b)]);this['_saveMetaData'](this['_lastTo'],_0x350d8f,this['_markers'],_0x4bdcf1);}['_makeModelFromViewString'](_0x180386){const _0x20ad8f=JSON['parse'](_0x180386),_0x47a8ec=this['editor']['editing']['view']['document'],_0x1e6e53=new _0x4eb1c7(_0x47a8ec,_0x20ad8f['map'](_0x524e65=>B(_0x524e65,this['editor'])));return this['editor']['data']['toModel'](_0x1e6e53);}['_saveMetaData'](_0x3b5216,_0x458bf1,_0x5e015b,_0x386ef9){const _0x50e333=new Map(_0x458bf1),_0x554503=new Map(_0x4e9d66(_0x386ef9)),_0x198da3=new Map();for(const [_0x4f9d6a,_0x2ca598]of _0x5e015b)_0x198da3['set'](_0x4f9d6a,{'start':_0x2ca598['start']['clone'](),'end':_0x2ca598['end']['clone'](),'rootName':_0x2ca598['root']['rootName']});this['_savedMetaData']['set'](_0x3b5216,{'roots':_0x50e333,'markers':_0x198da3,'rootsAttributes':_0x554503});}['_removeMetaData'](_0x493732){this['_savedMetaData']['delete'](_0x493732);}['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'](_0xf8117c,_0x5d96e5=null){let _0x2aa20a=null;_0xf8117c['is']('documentFragment')||(_0x2aa20a=new ft(_0xf8117c['name'],{'vid_start':null===_0x5d96e5?this['_revisionId']++:_0x5d96e5++}));const _0x5d30a8=[];for(const _0x11796a of _0xf8117c['getChildren']())if(_0x11796a['is']('element')){_0x5d30a8['push'](this['_makeIdsRoot'](_0x11796a,_0x5d96e5));const _0x2f5c5e=_0x5d30a8[_0x5d30a8['length']-0x1];null!==_0x5d96e5&&(_0x5d96e5=_0x2f5c5e['is']('element','$text')?_0x2f5c5e['getAttribute']('vid')+0x1:_0x2f5c5e['getAttribute']('vid_end')+0x1);}else{for(let _0x3675ec=0x0;_0x3675ec<_0x11796a['offsetSize'];_0x3675ec++)_0x5d30a8['push'](new ft('$text',{'vid':null===_0x5d96e5?this['_revisionId']++:_0x5d96e5++}));}if(_0xf8117c['is']('documentFragment')){const _0x80f3fe=G(_0xf8117c['rootName']);return _0x80f3fe['_insertChild'](0x0,_0x5d30a8),_0x80f3fe;}return _0x2aa20a['_setAttribute']('vid_end',null===_0x5d96e5?this['_revisionId']++:_0x5d96e5++),_0x2aa20a['_insertChild'](0x0,_0x5d30a8),_0x2aa20a;}['_calculateMetaData'](_0x5f911b,_0x2ae3a9,_0x4fd3bb){this['_reset']();const {roots:_0x20a241,markers:_0x27a48d,rootsAttributes:_0x29e1f0}=this['_savedMetaData']['get'](_0x5f911b);this['_baseRoots']=new Map(_0x20a241),this['_baseRootsAttributes']=new Map(_0x4e9d66(_0x29e1f0));for(const [_0x5eaa8a,_0x2acc8a]of this['_baseRoots'])if('$graveyard'!==_0x5eaa8a&&(this['_diffRoots']['set'](_0x5eaa8a,q(_0x2acc8a)),this['_diffRootsAttributes']=new Map(_0x4e9d66(_0x29e1f0)),_0x4fd3bb)){const _0x7e3ab2=this['_revisionId'];this['_idsRoots']['set'](_0x5eaa8a,this['_makeIdsRoot'](_0x2acc8a)),this['_baseIdsRoots']['set'](_0x5eaa8a,this['_makeIdsRoot'](_0x2acc8a,_0x7e3ab2));}this['_startingRevisionId']=this['_revisionId'],this['_diffRoots']['set']('$graveyard',q(this['_baseRoots']['get']('$graveyard'))),_0x4fd3bb&&this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](this['_baseRoots']['get']('$graveyard')));for(const [_0x1ed8e3,_0x2e8035]of _0x27a48d){const _0x96a913=this['_baseRoots']['get'](_0x2e8035['rootName']),_0x43f121=this['_diffRoots']['get'](_0x2e8035['rootName']),_0x285ed2=new vt(this['_fixPosition'](_0x2e8035['start'],_0x96a913),this['_fixPosition'](_0x2e8035['end'],_0x96a913)),_0x27765b=this['_fixRange'](_0x285ed2,_0x43f121);_0x96a913['markers']['set'](_0x1ed8e3,_0x285ed2),this['_markers']['set'](_0x1ed8e3,_0x27765b);}this['_applyOperations'](_0x5f911b,_0x2ae3a9,_0x4fd3bb);}['_applyOperations'](_0x18eb09,_0x466435,_0x4182f8){for(const _0x217c63 of this['source']['getOperations'](_0x18eb09,_0x466435))this['_handleOperation'](_0x217c63,_0x4182f8);for(const _0x5718c6 of this['_diffRoots']['values']())_0x5718c6['markers']['clear']();for(const [_0x2424f6,_0x382bf0]of this['_markers']){this['_diffRoots']['get'](_0x382bf0['root']['rootName'])['markers']['set'](_0x2424f6,_0x382bf0['clone']());}const _0x4b8fdd=new Map(),_0x4a4b6e=new Map();for(const [_0x18f8a1,_0x5f0dee]of this['_diffRoots'])_0x4b8fdd['set'](_0x18f8a1,q(_0x5f0dee)),_0x4a4b6e['set'](_0x18f8a1,this['_diffRootsAttributes']['get'](_0x18f8a1));this['_saveMetaData'](_0x466435,_0x4b8fdd,this['_markers'],_0x4a4b6e);}['_getPreviousFrom'](_0x1b1fb8){const _0x2abc76=Array['from'](this['_savedMetaData']['keys']());_0x2abc76['sort']((_0x3a7f26,_0x21727b)=>_0x3a7f26-_0x21727b),_0x2abc76['reverse']();for(const _0x5c6b94 of _0x2abc76)if(_0x5c6b94<_0x1b1fb8)return _0x5c6b94;return Number['NEGATIVE_INFINITY'];}['_copyMarkers'](_0x254169,_0x5dbe00){const _0x56b7c0=Array['from'](_0x5dbe00['markers'])['map'](([_0xa82297,_0x3eb853])=>[_0xa82297,this['_fixRange'](_0x3eb853,_0x254169)]);_0x254169['markers']=new Map(_0x56b7c0);}['_transformMarkers'](_0x478bd9){for(const _0x58559a of this['_markers']['values']()){const _0x61e34e=_0x58559a['getTransformedByOperation'](_0x478bd9),_0x2b75ec=vt['_createFromRanges'](_0x61e34e);_0x58559a['start']=_0x2b75ec['start'],_0x58559a['end']=_0x2b75ec['end'];}}['_handleOperation'](_0x4b69d6,_0x1b9b5d){if('addRoot'==_0x4b69d6['type']||'detachRoot'==_0x4b69d6['type'])return void this['_handleRootOperation'](_0x4b69d6,_0x1b9b5d);if('insert'==_0x4b69d6['type']){const _0x56a94c=_0x4b69d6['position']['root']['rootName'];this['_diffRoots']['has'](_0x56a94c)||(this['_diffRoots']['set'](_0x56a94c,G(_0x56a94c,!0x0)),this['_diffRootsAttributes']['set'](_0x56a94c,{}),_0x1b9b5d&&this['_idsRoots']['set'](_0x56a94c,G(_0x56a94c,!0x0)));}else{if('addRootAttribute'==_0x4b69d6['type']||'removeRootAttribute'==_0x4b69d6['type']||'changeRootAttribute'==_0x4b69d6['type'])return void this['_handleRootAttributeOperation'](_0x4b69d6);}const _0xad2ad6=this['_cloneOperation'](_0x4b69d6,this['_diffRoots']);if('marker'!==_0x4b69d6['type']&&(_0xad2ad6['_execute'](),this['_transformMarkers'](_0xad2ad6)),_0x1b9b5d)switch(_0xad2ad6['type']){case'insert':this['_handleInsertOperation'](_0x4b69d6);break;case'move':case'remove':case'reinsert':this['_handleMoveOperation'](_0x4b69d6);break;case'merge':this['_handleMergeOperation'](_0x4b69d6);break;case'split':this['_handleSplitOperation'](_0x4b69d6);break;case'marker':this['_handleMarkerOperation'](_0x4b69d6);}}['_cloneOperation'](_0x1c965b,_0x57fd6b){const _0x25683c=_0x1c965b['clone']();return _0x25683c['_authorId']=_0x1c965b['_authorId'],this['_fixOperation'](_0x25683c,_0x57fd6b),_0x25683c;}['_getBaseVids'](_0x62a9b8){return _0x62a9b8['map'](_0x1b6b06=>{const _0xcd43d6=this['_getVidAttributeName'](_0x1b6b06);return Number(_0x1b6b06['item']['getAttribute'](_0xcd43d6));});}['_generateTape'](_0x5dc254,_0x493eca){if(_0x5dc254['is']('element','$text'))_0x493eca['push']({'item':_0x5dc254,'type':'text'});else{_0x5dc254['is']('element')&&_0x493eca['push']({'item':_0x5dc254,'type':'elementStart'});for(const _0x9e1b96 of _0x5dc254['getChildren']())this['_generateTape'](_0x9e1b96,_0x493eca);_0x5dc254['is']('element')&&_0x493eca['push']({'item':_0x5dc254,'type':'elementEnd'});}return _0x493eca;}['_getState'](){const _0x395a9e=new Map(this['_touched']),_0x2a6399=new Map(_0x395a9e),_0x2f2abd=new Map(),_0x37e5be={'insertions':{},'deletions':{}},_0x57b504={'insertions':{},'deletions':{}},_0x47107f=new Map(),_0x50206a=new Set([...this['_baseRoots']['keys'](),...this['_diffRoots']['keys']()]);_0x50206a['delete']('$graveyard');for(const _0x2f86ea of _0x50206a){const _0x540ab4=this['_diffRoots']['get'](_0x2f86ea)||G(_0x2f86ea,!0x1),_0x37bc05=this['_baseRoots']['get'](_0x2f86ea)||G(_0x2f86ea,!0x1);_0x540ab4['isAttached']()||_0x37bc05['isAttached']()?(_0x37e5be['insertions'][_0x2f86ea]=q(_0x540ab4),_0x37e5be['deletions'][_0x2f86ea]=q(_0x37bc05),this['_copyMarkers'](_0x37e5be['deletions'][_0x2f86ea],_0x37bc05),this['_copyMarkers'](_0x37e5be['insertions'][_0x2f86ea],_0x540ab4),_0x57b504['insertions'][_0x2f86ea]=this['_generateTape'](this['_idsRoots']['get'](_0x2f86ea),[]),_0x57b504['deletions'][_0x2f86ea]=this['_generateTape'](this['_baseIdsRoots']['get'](_0x2f86ea)||G(_0x2f86ea,!0x1),[])):_0x50206a['delete'](_0x2f86ea);}for(const _0x137d68 of _0x50206a){const _0x16625a=_0x57b504['insertions'][_0x137d68];for(const _0x1746a4 of _0x16625a){const _0x4efcbd=this['_getVidAttributeName'](_0x1746a4),_0x238777=_0x1746a4['item']['getAttribute'](_0x4efcbd);_0x2a6399['delete'](_0x238777),_0x238777>=this['_startingRevisionId']&&_0x2f2abd['set'](_0x238777,_0x395a9e['get'](_0x238777));}}for(const _0x1a92c2 of _0x50206a){const _0x2d6b0c=_0x57b504['insertions'][_0x1a92c2],_0x22f113=this['_getBaseVids'](_0x57b504['deletions'][_0x1a92c2]);let _0x526288=0x0;for(const _0x5277d9 of _0x2d6b0c){const _0x14772c=this['_getVidAttributeName'](_0x5277d9),_0x5cbe0a=_0x5277d9['item']['getAttribute'](_0x14772c);if(!_0x2f2abd['has'](_0x5cbe0a)&&!_0x47107f['has'](_0x5cbe0a)){if(_0x2a6399['has'](_0x5cbe0a))_0x526288++;else{if(_0x5cbe0a!=_0x22f113[_0x526288]){const _0x5aad17=_0x395a9e['get'](_0x5cbe0a)||_0x395a9e['get'](_0x22f113[_0x526288]);for(;_0x5cbe0a!=_0x22f113[_0x526288];)_0x2a6399['has'](_0x22f113[_0x526288])||(_0x47107f['set'](_0x22f113[_0x526288],_0x5aad17),_0x395a9e['set'](_0x22f113[_0x526288],_0x5aad17)),_0x526288++;}_0x526288++;}}}}for(const _0x48fd90 of _0x50206a){const _0x433e46=_0x57b504['insertions'][_0x48fd90];for(const _0x515381 of _0x433e46){const _0x49cd68=this['_getVidAttributeName'](_0x515381),_0x280fe0=_0x515381['item']['getAttribute'](_0x49cd68);if(_0x47107f['has'](_0x280fe0)){const _0x2c5feb=_0x47107f['get'](_0x280fe0);_0x2a6399['has'](_0x280fe0)||_0x2a6399['set'](_0x280fe0,{..._0x2c5feb}),_0x2f2abd['set'](_0x280fe0,{..._0x2c5feb});}}}for(const _0x202051 of _0x2a6399['keys']())_0x202051>=this['_startingRevisionId']&&_0x2a6399['delete'](_0x202051);const _0x59470e=new Map();for(const _0x28d3ef of _0x50206a){let _0x47a240=_0x57b504['insertions'][_0x28d3ef];for(const _0x2a8346 of _0x47a240)if(_0x2a8346['item']['is']('element','tableCell')){const _0x43c86e=this['_getVidAttributeName'](_0x2a8346),_0x4fa302=_0x2a8346['item']['getAttribute'](_0x43c86e);if(_0x2f2abd['has'](_0x4fa302)){const _0x7d722c=_0x2a8346['item']['parent']['parent']['getAttribute']('vid_start'),_0x3e0676=_0x59470e['get'](_0x7d722c)||new Set();_0x3e0676['add'](_0x2f2abd['get'](_0x4fa302)['userId']),_0x59470e['set'](_0x7d722c,_0x3e0676);}}_0x47a240=_0x57b504['deletions'][_0x28d3ef];for(const _0x4966d2 of _0x47a240)if(_0x4966d2['item']['is']('element','tableCell')){const _0x222f23=this['_getVidAttributeName'](_0x4966d2),_0x416d47=_0x4966d2['item']['getAttribute'](_0x222f23);if(_0x2a6399['has'](_0x416d47)){const _0x4dd0fe=_0x4966d2['item']['parent']['parent']['getAttribute']('vid_start'),_0x8d6c2e=_0x59470e['get'](_0x4dd0fe)||new Set();_0x8d6c2e['add'](_0x2a6399['get'](_0x416d47)['userId']),_0x59470e['set'](_0x4dd0fe,_0x8d6c2e);}}for(const _0x293acb of _0x59470e['keys']())(_0x2f2abd['has'](_0x293acb)||_0x2a6399['has'](_0x293acb))&&_0x59470e['delete'](_0x293acb);}for(const _0x109f02 of _0x50206a){const _0x3fa6ac=_0x57b504['insertions'][_0x109f02];let _0xc0725c=null,_0x486985=null;for(const _0x14a68a of _0x3fa6ac){const _0x5d587e=this['_getVidAttributeName'](_0x14a68a),_0x417921=_0x14a68a['item']['getAttribute'](_0x5d587e),_0x2c6fab=_0x59470e['get'](_0x417921);_0x2c6fab&&'elementStart'==_0x14a68a['type']&&(_0xc0725c=Array['from'](_0x2c6fab)[0x0],_0x486985=_0x14a68a['item']['getAttribute']('vid_end')),_0xc0725c&&(_0x2a6399['set'](_0x417921,{'userId':_0xc0725c}),_0x2f2abd['set'](_0x417921,{'userId':_0xc0725c})),_0x417921==_0x486985&&(_0xc0725c=null,_0x486985=null);}}const _0x35816b={},_0xf6a6e8=new Set();for(const _0x4e83ad of _0x50206a){const _0x3f3dd8=_0x37e5be['deletions'][_0x4e83ad],_0x1b131e=_0x37e5be['insertions'][_0x4e83ad];for(const {userId:_0x256511}of this['_touchedMarkers']['values']())null!==_0x256511&&_0xf6a6e8['add'](_0x256511);for(const {userId:_0x488a7b}of this['_touchedRoots']['values']())null!==_0x488a7b&&_0xf6a6e8['add'](_0x488a7b);this['_markChanges'](_0x1b131e,_0x57b504['insertions'][_0x4e83ad],_0x2f2abd,'insertion',_0xf6a6e8),this['_markChanges'](_0x3f3dd8,_0x57b504['deletions'][_0x4e83ad],_0x2a6399,'deletion',_0xf6a6e8),_0x35816b[_0x4e83ad]={'insertions':this['_prepareViewToSave'](_0x1b131e),'deletions':this['_prepareViewToSave'](_0x3f3dd8),'attachChange':this['_touchedRoots']['get'](_0x4e83ad)||null,'attributesBefore':_0x4e9d66(this['_baseRootsAttributes']['get'](_0x4e83ad))||{},'attributesAfter':_0x4e9d66(this['_diffRootsAttributes']['get'](_0x4e83ad))};}return{'diffData':_0x35816b,'authorsIds':Array['from'](_0xf6a6e8)};}['_processRootBeforeSave'](_0x35d4fe){for(const [,_0x3f6f9f]of _0x35d4fe['markers']){const _0xaa779c=_0x3f6f9f['start']['getAncestors']()['filter'](_0x23c882=>'tableCell'==_0x23c882['name']);for(const _0xfd64ac of _0xaa779c)0x1==_0xfd64ac['childCount']&&_0xfd64ac['getChild'](0x0)['is']('element','paragraph')&&_0xfd64ac['getChild'](0x0)['_setAttribute']('keepParagraph',!0x0);}}['_prepareViewToSave'](_0x464338){this['_processRootBeforeSave'](_0x464338);const _0x5928dc=this['editor']['data']['toView'](_0x464338,{}),_0x10b054=Array['from'](_0x5928dc['getChildren']())['map'](_0x2810e0=>this['_getViewJson'](_0x2810e0));return JSON['stringify'](_0x10b054);}['_getViewJson'](_0x1f9948){if(_0x1f9948['is']('$text'))return _0x1f9948['data'];{const _0x24aa7f=_0x1f9948;return{'type':Object['keys'](T)['find'](_0x256b82=>_0x1f9948 instanceof T[_0x256b82]),'name':_0x24aa7f['name'],'attributes':Array['from'](_0x24aa7f['getAttributes']()),'children':Array['from'](_0x24aa7f['getChildren']())['map'](_0x3df8cc=>this['_getViewJson'](_0x3df8cc))};}}['_markChanges'](_0x2be6bc,_0x30f098,_0x5164e6,_0x57756b,_0x23c0a7){let _0x53d50d=null,_0x35b382=null,_0x27742f=0x0;const _0x2f8754=this['editor']['model'];for(let _0x4782a3=0x0;_0x4782a3<_0x30f098['length'];_0x4782a3++){const _0x2c0bc1=this['_getVidAttributeName'](_0x30f098[_0x4782a3]),_0x3ec1a4=_0x30f098[_0x4782a3]['item']['getAttribute'](_0x2c0bc1),_0x340768=_0x5164e6['get'](_0x3ec1a4),_0x46475d=_0x4782a3==_0x30f098['length']-0x1;(!_0x53d50d&&_0x340768&&(_0x53d50d=_0x340768,_0x35b382=_0x30f098[_0x4782a3]),_0x53d50d&&(!_0x340768||_0x340768['userId']!=_0x53d50d['userId']))&&(_0x1bccc5(_0x340768,L(_0x35b382,_0x2be6bc,_0x2f8754),L(_0x30f098[_0x4782a3],_0x2be6bc,_0x2f8754)),_0x53d50d=_0x340768||null,_0x35b382=_0x340768?_0x30f098[_0x4782a3]:null),_0x53d50d&&_0x46475d&&_0x1bccc5(_0x340768,L(_0x35b382,_0x2be6bc,_0x2f8754),W(_0x30f098[_0x4782a3],_0x2be6bc,_0x2f8754));}function _0x1bccc5(_0x1360b8,_0x2d7332,_0x4d9ad9){const _0x4a9c47=_0x53d50d['userId'],_0x52f7fa='revision:'+_0x57756b+':'+_0x4a9c47+':'+_0x27742f++,_0x15b8e9=_0x2f8754['createRange'](_0x2d7332,_0x4d9ad9);_0x2be6bc['markers']['set'](_0x52f7fa,_0x15b8e9),null!==_0x4a9c47&&_0x23c0a7['add'](_0x4a9c47);}}['_getVidAttributeName'](_0x21a1ff){switch(_0x21a1ff['type']){case'elementStart':return'vid_start';case'elementEnd':return'vid_end';default:return'vid';}}['_fixOperation'](_0x3f04b0,_0xb1c5f8){_0x3f04b0['baseVersion']=null;for(const _0x1bec38 in _0x3f04b0){const _0x33f5a7=_0x3f04b0[_0x1bec38];if(_0x33f5a7 instanceof gt){const _0x3a1dfa=_0xb1c5f8['get'](_0x33f5a7['root']['rootName']);_0x3f04b0[_0x1bec38]=this['_fixPosition'](_0x33f5a7,_0x3a1dfa);}if(_0x33f5a7 instanceof vt){const _0x224496=_0xb1c5f8['get'](_0x33f5a7['root']['rootName']);_0x3f04b0[_0x1bec38]=this['_fixRange'](_0x33f5a7,_0x224496);}'root'===_0x1bec38&&(_0x3f04b0['root']=_0xb1c5f8['get'](_0x3f04b0['root']['rootName']));}}['_fixRange'](_0x26c3f6,_0x3e9460){return this['editor']['model']['createRange'](this['_fixPosition'](_0x26c3f6['start'],_0x3e9460),this['_fixPosition'](_0x26c3f6['end'],_0x3e9460));}['_fixPosition'](_0x51e0a0,_0x5ad742){return this['editor']['model']['createPositionFromPath'](_0x5ad742,_0x51e0a0['path'],_0x51e0a0['stickiness']);}['_handleInsertOperation'](_0x59c4ae){const _0x51f1fe=this['_idsRoots']['get'](_0x59c4ae['position']['root']['rootName']),_0x1237e4=this['_fixPosition'](_0x59c4ae['position'],_0x51f1fe),_0xa61aaf=null===_0x59c4ae['_authorId']?null:_0x59c4ae['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x3ce5e4=_0x1237e4['parent'],_0xc9754=this['_revisionId'],_0x3757dd=[];for(const _0x5ccfcc of _0x59c4ae['nodes'])if(_0x5ccfcc['is']('element'))_0x3757dd['push'](this['_makeIdsRoot'](_0x5ccfcc));else{for(let _0x588dcc=0x0;_0x588dcc<_0x5ccfcc['offsetSize'];_0x588dcc++)_0x3757dd['push'](new ft('$text',{'vid':this['_revisionId']++}));}const _0x865b14=this['_revisionId'];for(let _0x653a6e=_0xc9754;_0x653a6e<_0x865b14;_0x653a6e++)this['_touched']['set'](_0x653a6e,{'userId':_0xa61aaf});_0x3ce5e4['_insertChild'](_0x1237e4['offset'],_0x3757dd);}['_handleMoveOperation'](_0x39b245){(_0x39b245=this['_cloneOperation'](_0x39b245,this['_idsRoots']))['_execute']();const _0x49fcee=null===_0x39b245['_authorId']?null:_0x39b245['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x25af15=_0x39b245['getMovedRangeStart'](),_0x20edd8=_0x25af15['parent'],_0x714837=_0x25af15['offset'];!function _0x5753de(_0x4be99d,_0x586f55,_0x1b856f,_0x2f6ff2){for(let _0x22cf73=_0x1b856f;_0x22cf73<_0x2f6ff2;_0x22cf73++){const _0x183461=_0x586f55['getChild'](_0x22cf73);_0x183461['is']('element','$text')?_0x4be99d['set'](_0x183461['getAttribute']('vid'),{'userId':_0x49fcee}):(_0x4be99d['set'](_0x183461['getAttribute']('vid_start'),{'userId':_0x49fcee}),_0x5753de(_0x4be99d,_0x183461,0x0,_0x183461['childCount']),_0x4be99d['set'](_0x183461['getAttribute']('vid_end'),{'userId':_0x49fcee}));}}(this['_touched'],_0x20edd8,_0x714837,_0x714837+_0x39b245['howMany']);}['_handleMergeOperation'](_0x134546){const _0x4d9029=null===(_0x134546=this['_cloneOperation'](_0x134546,this['_idsRoots']))['_authorId']?null:_0x134546['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x5d5d94=_0x134546['targetPosition']['parent'],_0x40a38b=_0x134546['sourcePosition']['parent'],_0x527be2=_0x5d5d94['getAttribute']('vid_end'),_0x2eadf7=_0x40a38b['getAttribute']('vid_start');_0x5d5d94['_setAttribute']('vid_end',_0x40a38b['getAttribute']('vid_end')),_0x40a38b['_setAttribute']('vid_end',_0x527be2),this['_touched']['set'](_0x2eadf7,{'userId':_0x4d9029}),this['_touched']['set'](_0x527be2,{'userId':_0x4d9029}),_0x134546['_execute']();}['_handleSplitOperation'](_0x50e515){const _0x1a7f3a=null===(_0x50e515=this['_cloneOperation'](_0x50e515,this['_idsRoots']))['_authorId']?null:_0x50e515['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x4bd280=_0x50e515['graveyardPosition'],_0x5c4f0d=_0x50e515['splitPosition']['parent'];_0x50e515['_execute']();const _0x1095dd=_0x5c4f0d['getAttribute']('vid_end'),_0x311fd1=_0x50e515['insertionPosition']['nodeAfter'];if(_0x4bd280){const _0xf826ee=_0x311fd1['getAttribute']('vid_end'),_0x32d5fc=_0x5c4f0d['getAttribute']('vid_end');_0x5c4f0d['_setAttribute']('vid_end',_0xf826ee),_0x311fd1['_setAttribute']('vid_end',_0x32d5fc),this['_touched']['set'](_0x5c4f0d['getAttribute']('vid_end'),{'userId':_0x1a7f3a}),this['_touched']['set'](_0x311fd1['getAttribute']('vid_start'),{'userId':_0x1a7f3a});}else{const _0x2d8c9d=this['_revisionId']++,_0x1b17e3=this['_revisionId']++;_0x5c4f0d['_setAttribute']('vid_end',_0x2d8c9d),_0x311fd1['_setAttribute']('vid_start',_0x1b17e3),_0x311fd1['_setAttribute']('vid_end',_0x1095dd),this['_touched']['set'](_0x2d8c9d,{'userId':_0x1a7f3a}),this['_touched']['set'](_0x1b17e3,{'userId':_0x1a7f3a});}}['_handleMarkerOperation'](_0x30c464){if(!_0x30c464['affectsData'])return;const _0x367011=(_0x30c464=this['_cloneOperation'](_0x30c464,this['_diffRoots']))['oldRange']?_0x30c464['oldRange']['root']:null,_0x3626d5=_0x30c464['newRange']?_0x30c464['newRange']['root']:null;_0x367011&&this['_markers']['delete'](_0x30c464['name']),_0x3626d5&&this['_markers']['set'](_0x30c464['name'],_0x30c464['newRange']['clone']());const _0x565722=null===_0x30c464['_authorId']?null:_0x30c464['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x17506d=_0x30c464['name'];if(!this['_touchedMarkers']['has'](_0x17506d))return void this['_touchedMarkers']['set'](_0x17506d,{'range':_0x30c464['oldRange'],'userId':_0x565722});const _0x5983ec=this['_touchedMarkers']['get'](_0x17506d),_0x3f8267=_0x5983ec['range'],_0x5e8375=_0x30c464['newRange'];null==_0x3f8267&&null==_0x5e8375||_0x3f8267&&_0x5e8375&&_0x3f8267['isEqual'](_0x5e8375)?this['_touchedMarkers']['delete'](_0x30c464['name']):_0x5983ec['userId']=_0x565722;}['_handleRootOperation'](_0x14b83d,_0x352362){this['_diffRoots']['has'](_0x14b83d['rootName'])?this['_diffRoots']['get'](_0x14b83d['rootName'])['_isAttached']=_0x14b83d['isAdd']:(this['_diffRoots']['set'](_0x14b83d['rootName'],G(_0x14b83d['rootName'],!0x0)),this['_diffRootsAttributes']['set'](_0x14b83d['rootName'],{}),_0x352362&&this['_idsRoots']['set'](_0x14b83d['rootName'],G(_0x14b83d['rootName'],!0x0)));const _0xf08fab=null===_0x14b83d['_authorId']?null:_0x14b83d['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x52d52d=this['_touchedRoots']['get'](_0x14b83d['rootName']);_0x52d52d&&_0x52d52d['userId']===_0xf08fab?this['_touchedRoots']['delete'](_0x14b83d['rootName']):this['_touchedRoots']['set'](_0x14b83d['rootName'],{'userId':_0xf08fab,'isAttached':_0x14b83d['isAdd']});}['_handleRootAttributeOperation'](_0x49c14d){const _0x315435=this['_diffRootsAttributes']['get'](_0x49c14d['root']['rootName']);null===_0x49c14d['newValue']?delete _0x315435[_0x49c14d['key']]:_0x315435[_0x49c14d['key']]=_0x49c14d['newValue'];}}function q(_0x4a41b8){const _0x4069a1=G(_0x4a41b8['rootName'],_0x4a41b8['isAttached']());for(const _0x52ca0e of _0x4a41b8['getChildren']()){const _0x2705ca=_0x52ca0e['_clone'](!0x0);_0x4069a1['_appendChild'](_0x2705ca);}return _0x4069a1;}function G(_0x1cabd3,_0x4eb78b=!0x0){const _0x4d2f49=new wt();return _0x4d2f49['rootName']=_0x1cabd3,_0x4d2f49['_isAttached']=_0x4eb78b,_0x4d2f49['isAttached']=()=>_0x4d2f49['_isAttached'],_0x4d2f49;}function L(_0x104e91,_0x554e4e,_0x5ef488){const _0x247d64='elementEnd'==_0x104e91['type']?_0x5ef488['createPositionAt'](_0x104e91['item'],'end'):_0x5ef488['createPositionBefore'](_0x104e91['item']);return _0x5ef488['createPositionFromPath'](_0x554e4e,_0x247d64['path'],_0x247d64['stickiness']);}function W(_0x521bae,_0x517778,_0x2762e2){const _0x165f2f='elementStart'==_0x521bae['type']?_0x2762e2['createPositionAt'](_0x521bae['item'],0x0):_0x2762e2['createPositionAfter'](_0x521bae['item']);return _0x2762e2['createPositionFromPath'](_0x517778,_0x165f2f['path'],_0x165f2f['stickiness']);}class ns extends _0x549bc6{['focusTracker'];['keystrokes'];['revisionNameInputView'];constructor(_0x241771,_0x1d8fc3){super(_0x241771),this['focusTracker']=new _0x11ee9e(),this['keystrokes']=new _0xf2db3e(),this['set']('revisionNameInputValue',''),this['revisionNameInputView']=this['_createRevisionNameInput'](_0x1d8fc3),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'](),_0x6af317({'view':this}),this['focusTracker']['add'](this['revisionNameInputView']['element']),this['keystrokes']['listenTo'](this['element']);const _0x384fa2=_0x149147=>_0x149147['stopPropagation']();this['keystrokes']['set']('arrowright',_0x384fa2),this['keystrokes']['set']('arrowleft',_0x384fa2),this['keystrokes']['set']('arrowup',_0x384fa2),this['keystrokes']['set']('arrowdown',_0x384fa2);}['focus'](){this['revisionNameInputView']['focus']();}get['revisionName'](){return this['revisionNameInputView']['fieldView']['element']['value']['trim']();}set['revisionName'](_0x5f3c27){this['revisionNameInputView']['fieldView']['element']['value']=_0x5f3c27['trim']();}['reset'](){this['revisionNameInputView']['fieldView']['element']['value']='',this['revisionNameInputView']['errorText']=null;}['_createRevisionNameInput'](_0x2a9186){const _0x598767=new at(this['locale'],_0x3222bf),_0x356f6d=_0x598767['fieldView'];_0x356f6d['extendTemplate']({'attributes':{'maxlength':'220'}});let _0x50b62e=y(this['locale'],'Name\x20of\x20the\x20revision');return!_0x2a9186&&(_0x50b62e+='\x20('+y(this['locale'],'optional')+')'),(_0x598767['label']=_0x50b62e,_0x356f6d['on']('input',()=>{this['revisionNameInputValue']=_0x356f6d['element']['value']['trim']();}),_0x598767);}}class u extends _0x1ea666{static get['pluginName'](){return'RevisionHistoryUI';}static get['requires'](){return[l];}['_saveRevisionFormView'];['init'](){const _0x53b7da=this['editor'],_0x338f29=_0x53b7da['plugins']['get']('RevisionTracker');_0x53b7da['ui']['componentFactory']['add']('revisionHistory',_0x1f956f=>{const _0x4dc09e=_0x26b934(_0x1f956f),_0x45f1f7=_0x4dc09e['panelView']['children'],_0x47326a=new te(_0x1f956f),_0x3de750=new _0x5efecb(_0x1f956f),_0x3612ed=new _0x38cb52(_0x1f956f),_0x4a3c26=new _0x5efecb(_0x1f956f),_0x5f37ee=new _0x38cb52(_0x1f956f);return _0x4dc09e['bind']('isEnabled')['to'](_0x338f29,'isReady',_0x338f29,'isEnabled',_0x53b7da,'isReadOnly',(_0x48c221,_0x52ad7c,_0x156e30)=>_0x48c221&&_0x52ad7c&&!_0x156e30),_0x4dc09e['buttonView']['set']({'icon':_0xa07c5a['history'],'label':y(_0x1f956f,'Revision\x20history'),'tooltip':!0x0}),_0x3612ed['set']({'label':y(_0x1f956f,'Save\x20current\x20revision'),'withText':!0x0,'role':'menuitem'}),_0x3612ed['bind']('isEnabled')['to'](_0x338f29,'isReady',_0x338f29,'isEnabled',_0x53b7da,'isReadOnly',(_0x4cd046,_0x29391b,_0x501d4b)=>_0x4cd046&&_0x29391b&&!_0x501d4b),_0x3612ed['on']('execute',()=>this['_showDialog']()),_0x5f37ee['set']({'label':y(_0x1f956f,'Open\x20revision\x20history'),'withText':!0x0,'role':'menuitem'}),_0x5f37ee['bind']('isEnabled')['to'](_0x338f29,'isReady',_0x53b7da,'isReadOnly',(_0x5c931a,_0x583640)=>_0x5c931a&&!_0x583640),_0x5f37ee['on']('execute',()=>{_0x53b7da['config']['get']('revisionHistory')['showRevisionViewerCallback'](),_0x4dc09e['isOpen']=!0x1,_0x53b7da['editing']['view']['focus']();}),_0x3de750['children']['add'](_0x3612ed),_0x4a3c26['children']['add'](_0x5f37ee),_0x47326a['role']='menu',_0x47326a['items']['addMany']([_0x3de750,_0x4a3c26]),_0x45f1f7['add'](_0x47326a),_0x4dc09e;}),_0x53b7da['ui']['componentFactory']['add']('menuBar:revisionHistory',()=>this['_registerMenuComponent']());}['_registerMenuComponent'](){const _0x314f2c=this['editor'],_0x594866=_0x314f2c['locale'],_0x14a139=new _0x338400(_0x594866),_0x19a361=new _0x2a89c0(_0x594866);_0x14a139['buttonView']['set']({'icon':_0xa07c5a['history'],'label':y(_0x594866,'Revision\x20history')});const _0x1b96ff=new _0xa746c0(_0x594866,_0x14a139),_0x304caf=new _0x1fed68(_0x594866);_0x304caf['set']({'label':y(_0x594866,'Save\x20current\x20revision')}),_0x304caf['delegate']('execute')['to'](_0x14a139),_0x304caf['on']('execute',()=>{this['_showDialog']();}),_0x1b96ff['children']['add'](_0x304caf),_0x19a361['items']['add'](_0x1b96ff);const _0x454bfc=new _0xa746c0(_0x594866,_0x14a139),_0x4e43f8=new _0x1fed68(_0x594866);return _0x4e43f8['set']({'label':y(_0x594866,'Open\x20revision\x20history')}),_0x4e43f8['delegate']('execute')['to'](_0x14a139),_0x4e43f8['on']('execute',()=>{_0x314f2c['config']['get']('revisionHistory')['showRevisionViewerCallback']();}),_0x454bfc['children']['add'](_0x4e43f8),_0x19a361['items']['add'](_0x454bfc),_0x14a139['panelView']['children']['add'](_0x19a361),_0x14a139;}['_showDialog'](){const _0x304dae=this['editor'],_0x17cf21=_0x304dae['locale'],t=_0x17cf21['t'],_0x5c0ecf=_0x304dae['plugins']['get']('Dialog'),_0x5a4a2c=_0x304dae['plugins']['get']('RevisionTracker');function _0x5f5d66(_0x32c11c){_0x304dae['config']['get']('revisionHistory.requireRevisionName')&&''===_0x32c11c['revisionName']?_0x32c11c['revisionNameInputView']['errorText']=y(_0x17cf21,'The\x20revision\x20name\x20cannot\x20be\x20empty.'):(_0x304dae['plugins']['get'](l)['saveRevision']({'name':_0x32c11c['revisionName']}),_0x5c0ecf['hide']());}this['_saveRevisionFormView']||(this['_createSaveRevisionFormView'](),this['_saveRevisionFormView']['on']('submit',()=>_0x5f5d66(this['_saveRevisionFormView']))),this['_saveRevisionFormView']['reset'](),_0x5c0ecf['show']({'id':'revisionSave','title':y(_0x17cf21,'Save\x20current\x20revision'),'isModal':!0x0,'content':this['_saveRevisionFormView'],'actionButtons':[{'label':t('Cancel'),'withText':!0x0,'onExecute':()=>_0x5c0ecf['hide']()},{'label':t('Accept'),'class':'ck-button-action','withText':!0x0,'onCreate'(_0x567ef2){_0x567ef2['bind']('isEnabled')['to'](_0x5a4a2c,'isReady',_0x5a4a2c,'isEnabled',_0x304dae,'isReadOnly',(_0x40ca22,_0x559c08,_0x35b5aa)=>_0x40ca22&&_0x559c08&&!_0x35b5aa);},'onExecute':()=>_0x5f5d66(this['_saveRevisionFormView'])}]});}['_createSaveRevisionFormView'](){const _0x2637a5=this['editor'],_0x18ffc0=_0x2637a5['locale'];this['_saveRevisionFormView']=new ns(_0x18ffc0,_0x2637a5['config']['get']('revisionHistory.requireRevisionName')),this['_saveRevisionFormView']['render']();}}class Z extends _0x549bc6{['changeId'];['_model'];constructor(_0x5a3060,_0x5127a6){super(_0x5a3060),this['_model']=_0x5127a6,this['changeId']=_0x5127a6['id'];const _0x30478a=this['bindTemplate'],_0x5aa9fd=y(_0x5a3060,_0x5127a6['data']['isSuggestion']?'Suggested\x20by':'add'==_0x5127a6['type']?'Added\x20by':'Removed\x20by');this['set']('type',_0x5127a6['type']),this['setTemplate']({'tag':'div','attributes':{'class':['ck-annotation','ck-revision-change',_0x30478a['to']('type',_0xb9f6ee=>'ck-revision-change__'+_0xb9f6ee)],'tabindex':-0x1},'children':[{'tag':'span','children':[{'tag':'span','attributes':{'class':['ck-revision-change__label']},'children':[{'text':_0x5aa9fd}]},{'text':'\x20'+_0x5127a6['author']['name']}]}]});}['focus'](){this['element']['focus']();}}class r extends/* #__PURE__ -- @preserve */
25
- _0x317567(){['id'];['author'];['type'];['data'];['rootName'];constructor(_0x429fb0){super(),this['id']=_0x429fb0['id']||_0x1d293b(),this['author']=_0x429fb0['author'],this['type']=_0x429fb0['type'],this['data']=_0x429fb0['data']||{},this['rootName']=_0x429fb0['rootName'],this['set']('createdAt',_0x429fb0['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(_0x50eba9,_0x1e306a){this['newRevisionId']=_0x50eba9,this['oldRevisionId']=_0x1e306a,this['changes']=new _0x1de5fb();}['_setChanges'](_0x3f3270){for(const _0x5cab9e of _0x3f3270)this['changes']['add'](_0x5cab9e);}}const tt={'c':_0x4fb83a,'a':_0x42d6b4,'e':_0x1c1b2b,'r':_0x208fd4,'u':_0x722886};class d extends _0x1ea666{['repository'];['adapter'];['_activeViewTarget'];['_changeView'];['_changeIdToChange'];['_balloon'];static get['pluginName'](){return'RevisionViewer';}static get['requires'](){return[_0x7eb412,_0x232a2a,A];}constructor(_0x1a9f7c){super(_0x1a9f7c),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',(_0x2594bf,_0x26ad9c,_0x4ee77b)=>{this['activeChange']=null,this['activeView']=null,this['editor']['editing']['view']['change'](_0x479698=>{for(const _0x27595f of this['editor']['editing']['view']['document']['roots'])_0x4ee77b?_0x479698['removeClass']('ck-editor__editable__overlay',_0x27595f):_0x479698['addClass']('ck-editor__editable__overlay',_0x27595f);});}),this['bind']('isNavigationMode')['to'](this,'activeChange',_0x1e91e8=>null!==_0x1e91e8),this['bind']('currentChangeNumber')['to'](this,'isReady',this,'diff',this,'activeChange',(_0xedaea1,_0x4046bd,_0x340801)=>_0xedaea1&&_0x340801?_0x4046bd['changes']['getIndex'](_0x340801):0x0),this['bind']('numberOfChanges')['to'](this,'isReady',this,'diff',(_0x34b805,_0x1fc25c)=>_0x34b805?_0x1fc25c['changes']['length']:0x0),this['_changeView']=null,this['_changeIdToChange']=new Map(),this['adapter']=null,this['_balloon']=this['editor']['plugins']['get'](_0x232a2a);}['init'](){const _0x594258=this['editor'],_0x2b1c18=new yt(_0x594258,{'direction':'backward'}),_0x1ded24=new yt(_0x594258,{'direction':'forward'});(_0x594258['commands']['add']('showPreviousChange',_0x2b1c18),_0x594258['commands']['add']('showNextChange',_0x1ded24),_0x594258['commands']['add']('restoreRevision',new bt(_0x594258)),this['on']('change:numberOfChanges',()=>{_0x2b1c18['refresh'](),_0x1ded24['refresh']();}),this['_setConversion'](),this['_initInteractions'](),_0x594258['enableReadOnlyMode']('revision-viewer'),_0x594258['plugins']['has']('WidgetToolbarRepository'))&&_0x594258['plugins']['get']('WidgetToolbarRepository')['forceDisabled']('revision-viewer');}async['getRevisionData'](_0x349dce){await this['loadRevisionData'](_0x349dce);const _0x59e5c5={};for(const _0x4fb376 in _0x349dce['diffData']){if(_0x349dce['diffData'][_0x4fb376]['attachChange']&&!_0x349dce['diffData'][_0x4fb376]['attachChange']['isAttached'])continue;const _0x3dfcf9=this['_removeRevisionMarkers'](JSON['parse'](_0x349dce['diffData'][_0x4fb376]['insertions'])),_0x2c8a53=this['editor']['editing']['view']['document'],_0x3279ec=new _0x4eb1c7(_0x2c8a53,_0x3dfcf9['map'](_0x7c4465=>this['_getViewObj'](_0x7c4465)));this['editor']['data']['processor']['useFillerType']('marked'),_0x59e5c5[_0x4fb376]=this['editor']['data']['processor']['toData'](_0x3279ec),this['editor']['data']['processor']['useFillerType']('default');}return _0x59e5c5;}async['getRevisionRootsAttributes'](_0x569aa0){await this['loadRevisionData'](_0x569aa0);const _0x3c105d={};for(const _0x4814d5 in _0x569aa0['diffData'])_0x569aa0['diffData'][_0x4814d5]['attachChange']&&!_0x569aa0['diffData'][_0x4814d5]['attachChange']['isAttached']||(_0x3c105d[_0x4814d5]=_0x569aa0['diffData'][_0x4814d5]['attributesAfter']||{});return _0x3c105d;}['_removeRevisionMarkers'](_0x2cd155){return(_0x2cd155=_0x2cd155['filter'](_0x3932e2=>!_0x3932e2['name']||'revision-start'!==_0x3932e2['name']&&'revision-end'!==_0x3932e2['name']))['forEach'](_0x8b462c=>{'string'!=typeof _0x8b462c&&(_0x8b462c['children']=this['_removeRevisionMarkers'](_0x8b462c['children']),_0x8b462c['attributes']=_0x8b462c['attributes']['filter'](_0x38409c=>!_0x38409c[0x0]['startsWith']('data-revision-')));}),_0x2cd155;}async['compare'](_0x115935,_0x6d21f5,_0x1e1b7e=!0x1){if(!this['isEnabled'])return;const _0x312fce=this['diff'],_0x1b6a3d=this['repository'],_0xf03568='string'==typeof _0x115935?_0x1b6a3d['getRevision'](_0x115935):_0x115935,_0x3851a4='string'==typeof _0x6d21f5?_0x1b6a3d['getRevision'](_0x6d21f5):_0x6d21f5,_0x25887b=_0xf03568['id'],_0x3fd2e5=_0x3851a4?_0x3851a4['id']:null;if(!_0x1e1b7e&&this['diff']&&this['diff']['newRevisionId']===_0x25887b&&this['diff']['oldRevisionId']===_0x3fd2e5)return Promise['resolve']();this['isReady']=!0x1,this['activeView']=null,this['activeChange']=null,this['diff']=new f(_0x25887b,_0x3fd2e5);const _0x180756=this['_getRevisionsRange'](_0xf03568,_0x3851a4,!0x0)['map'](_0x2ac517=>this['loadRevisionData'](_0x2ac517));return _0x180756['push'](new Promise(_0x462ed3=>{setTimeout(_0x462ed3,0x14);})),Promise['all'](_0x180756)['then'](()=>{if(!this['isEnabled'])return;this['_cleanUp']();const _0x30c6c8=this['_getDiff'](_0x25887b,_0x3fd2e5);for(const _0x33fcf9 of _0x30c6c8['changes'])this['_changeIdToChange']['set'](_0x33fcf9['id'],_0x33fcf9);this['editor']['model']['enqueueChange']({'isUndoable':!0x1},_0x3e4e19=>{for(const _0x5a189 of this['editor']['model']['document']['getRootNames']())_0x3e4e19['detachRoot'](_0x5a189);for(const _0x51a85d of Object['keys'](_0x30c6c8['model'])){const _0x311a69=_0x3e4e19['addRoot'](_0x51a85d);for(const _0x21b21d of Object['keys'](_0x30c6c8['attributes'][_0x51a85d]))_0x3e4e19['setAttribute'](_0x21b21d,_0x30c6c8['attributes'][_0x51a85d][_0x21b21d],_0x311a69);_0x3e4e19['insert'](_0x30c6c8['model'][_0x51a85d],_0x311a69,0x0);}}),this['diff']['_setChanges'](this['_sortAndFilterDiffChanges'](_0x30c6c8['changes'])),this['isReady']=!0x0;})['catch'](_0x3cb287=>{console['error'](_0x3cb287),this['_cleanUp'](),_0x312fce&&(this['diff']=_0x312fce),this['isReady']=!0x0;});}['addRevisionData'](_0x1dea73,_0x5dbd84){const _0xf570d7=this['repository']['createRevision'](_0x1dea73);return _0xf570d7['on']('_update',(_0x1dc303,_0x2a1dd2,_0x350835)=>_0x5dbd84(_0x2a1dd2,_0x350835,_0xf570d7)),this['repository']['addRevision'](_0xf570d7),_0xf570d7;}['loadRevisionData'](_0x3273f3){if(!_0x3273f3||_0x3273f3['diffData'])return Promise['resolve']();{const _0x3efc9a=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0x3efc9a,'revisionId':_0x3273f3['id']})['then'](_0x357747=>{_0x3273f3['_update']({'diffData':_0x357747['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},_0x353340=>{for(const _0x2ff75b of this['editor']['model']['document']['getRootNames']())_0x353340['detachRoot'](_0x2ff75b);});}['_sortAndFilterDiffChanges'](_0x36056c){const _0x238cd5=[],_0x540eb4=new Map();for(const _0xd13085 of this['editor']['model']['document']['getRootNames']()){const _0x15d1b3=this['editor']['editing']['view']['getDomRoot'](_0xd13085);if(!_0x15d1b3)continue;const _0x362962=_0x15d1b3['getClientRects']()['item'](0x0);_0x362962&&(_0x238cd5['push'](_0xd13085),_0x540eb4['set'](_0xd13085,_0x362962));}return _0x238cd5['sort']((_0x1037aa,_0xa8f4c5)=>{const _0x164916=_0x540eb4['get'](_0x1037aa),_0x10c8f3=_0x540eb4['get'](_0xa8f4c5);return _0x164916['y']-_0x10c8f3['y']||_0x164916['x']-_0x10c8f3['x'];}),(_0x36056c=_0x36056c['filter'](_0xeed08d=>_0x238cd5['includes'](_0xeed08d['rootName'])))['sort']((_0x37759f,_0x5a8b37)=>_0x238cd5['indexOf'](_0x37759f['rootName'])-_0x238cd5['indexOf'](_0x5a8b37['rootName'])),_0x36056c;}['_makeTape'](_0x5e930c){const _0x13cd2d=Array['from'](_0x5e930c['markers'])['filter'](([_0x4613c2,_0x38bd35])=>_0x4613c2['startsWith']('revision:')&&!_0x38bd35['isCollapsed']),_0x153227=Array['from'](this['editor']['model']['createRangeIn'](_0x5e930c)['getWalker']({'singleCharacters':!0x0}));if(0x0!=_0x13cd2d['length'])for(const _0x5de1bd of _0x153227){const [_0x30ef28,_0x3e7d77]=_0x13cd2d[0x0],[,_0x49b7b4,_0x327532]=_0x30ef28['split'](':');if(_0x3e7d77['end']['isEqual'](_0x5de1bd['nextPosition'])&&_0x13cd2d['shift'](),(_0x5de1bd['previousPosition']['isEqual'](_0x3e7d77['start'])||_0x5de1bd['previousPosition']['isAfter'](_0x3e7d77['start']))&&('insertion'==_0x49b7b4?_0x5de1bd['isAdded']={'userId':_0x327532}:'deletion'==_0x49b7b4&&(_0x5de1bd['isRemoved']={'userId':_0x327532})),0x0==_0x13cd2d['length'])break;}return _0x153227;}['_refreshStartEndIndex'](_0x272036){const _0xb3ca93=new Map();for(let _0x3abb26=0x0;_0x3abb26<_0x272036['length'];_0x3abb26++)'text'===_0x272036[_0x3abb26]['type']?(_0x272036[_0x3abb26]['item']['startIndex']=_0x3abb26,_0x272036[_0x3abb26]['item']['endIndex']=_0x3abb26):('elementStart'===_0x272036[_0x3abb26]['type']?_0x272036[_0x3abb26]['item']['startIndex']=_0x3abb26:'elementEnd'===_0x272036[_0x3abb26]['type']&&(_0x272036[_0x3abb26]['item']['endIndex']=_0x3abb26),_0xb3ca93['set'](_0x272036[_0x3abb26]['id'],_0x3abb26));for(const _0x22d773 of _0xb3ca93['values']())'elementStart'===_0x272036[_0x22d773]['type']?_0x272036[_0x22d773]['item']['endIndex']=_0xb3ca93['get'](_0x272036[_0x22d773]['pairId']):'elementEnd'===_0x272036[_0x22d773]['type']&&(_0x272036[_0x22d773]['item']['startIndex']=_0xb3ca93['get'](_0x272036[_0x22d773]['pairId']));}['_processTape'](_0x33b038){for(let _0x7223f6=0x0;_0x7223f6<_0x33b038['length'];_0x7223f6++){if('elementStart'===_0x33b038[_0x7223f6]['type'])_0x33b038[_0x7223f6]['item']['startIndex']=_0x7223f6;else{if('elementEnd'===_0x33b038[_0x7223f6]['type']){_0x33b038[_0x7223f6]['item']['endIndex']=_0x7223f6;const _0x44888c=_0x33b038[_0x7223f6]['item']['startIndex'];_0x33b038[_0x44888c]['pairId']=_0x33b038[_0x7223f6]['id'],_0x33b038[_0x7223f6]['pairId']=_0x33b038[_0x44888c]['id'];}else _0x33b038[_0x7223f6]['item']['startIndex']=_0x7223f6,_0x33b038[_0x7223f6]['item']['endIndex']=_0x7223f6,_0x33b038[_0x7223f6]['pairId']=null;}_0x33b038[_0x7223f6]['markersStart']||(_0x33b038[_0x7223f6]['markersStart']=[],_0x33b038[_0x7223f6]['markersEnd']=[]);}}['_markInsertions'](_0x29d4bc,_0x4e7bbe){const _0x484c1b=_0x29d4bc['filter'](_0x117b8c=>!_0x117b8c['isAdded']);for(let _0x3167e0=0x0;_0x3167e0<_0x4e7bbe['length'];_0x3167e0++)_0x4e7bbe[_0x3167e0]['isAdded']&&(_0x484c1b[_0x3167e0]['isAdded']=_0x4e7bbe[_0x3167e0]['isAdded']);}['_makeModelFromViewString'](_0x4aa8f8){const _0x2a6672=JSON['parse'](_0x4aa8f8),_0x3fc398=this['editor']['editing']['view']['document'],_0x38cef8=new _0x4eb1c7(_0x3fc398,_0x2a6672['map'](_0x42cac0=>this['_getViewObj'](_0x42cac0)));return this['editor']['data']['toModel'](_0x38cef8);}['_getViewObj'](_0x5556b8){const _0x2963ca=this['editor']['editing']['view']['document'];if('string'==typeof _0x5556b8)return new _0x4473fa(_0x2963ca,_0x5556b8);{const _0x531767=_0x5556b8['children']['map'](_0x1ee10a=>this['_getViewObj'](_0x1ee10a));return new(tt[_0x5556b8['type']]||_0x5a8064)(_0x2963ca,_0x5556b8['name'],_0x5556b8['attributes'],_0x531767);}}['_getDiff'](_0x2b22d4,_0xf02565=null){const _0x2aa36f=this['repository']['getRevision'](_0x2b22d4),_0x53101b=_0xf02565?this['repository']['getRevision'](_0xf02565):null,_0x903d1e=this['_getRevisionsRange'](_0x2aa36f,_0x53101b),_0x2f0aa4=_0x903d1e[_0x903d1e['length']-0x1],_0x3cfc41=new Map(),_0x4e33b7={'model':{},'attributes':{},'changes':[]},_0x449276=new Set(),_0x232bc9=new Map();for(let _0xd5853f=_0x903d1e['length']-0x1;_0xd5853f>=0x0;_0xd5853f--){const _0x39c18d=_0x903d1e[_0xd5853f];for(const _0x52b212 of Object['keys'](_0x39c18d['diffData']))if(_0x39c18d['diffData'][_0x52b212]['attachChange']){const _0x1ea974=_0x39c18d['diffData'][_0x52b212]['attachChange'];_0x1ea974['isAttached']?(_0x449276['add'](_0x52b212),_0x232bc9['has'](_0x52b212)&&_0x232bc9['get'](_0x52b212)['userId']==_0x1ea974['userId']?_0x232bc9['delete'](_0x52b212):_0x232bc9['set'](_0x52b212,_0x1ea974)):_0x232bc9['has'](_0x52b212)?(_0x449276['delete'](_0x52b212),_0x232bc9['delete'](_0x52b212)):(_0x449276['add'](_0x52b212),_0x232bc9['set'](_0x52b212,_0x1ea974));}else _0x449276['add'](_0x52b212);}for(const _0x114b2b of _0x449276){const _0x6db9e0=_0x232bc9['has'](_0x114b2b)&&!_0x232bc9['get'](_0x114b2b)['isAttached'];let _0x1f2805=_0x6db9e0?_0x903d1e['length']-0x1:0x0;const _0x48c7ac=_0x6db9e0?-0x1:0x1;for(;_0x903d1e[_0x1f2805];){const _0x18b95d=_0x903d1e[_0x1f2805];if(_0x18b95d['diffData'][_0x114b2b]){const _0x279e28=_0x6db9e0?_0x18b95d['diffData'][_0x114b2b]['attributesBefore']:_0x18b95d['diffData'][_0x114b2b]['attributesAfter'];_0x4e33b7['attributes'][_0x114b2b]=_0x279e28?_0x4e9d66(_0x279e28):{};break;}_0x1f2805+=_0x48c7ac;}}for(const _0x2415ab of _0x903d1e){_0x2415ab['model']={};for(const _0x1eaa81 of _0x2415ab['authors'])_0x3cfc41['set'](_0x1eaa81['id'],_0x1eaa81);for(const _0x3fa1bb of _0x449276){const _0x53ed18=_0x2415ab['diffData'][_0x3fa1bb]?_0x2415ab['diffData'][_0x3fa1bb]['insertions']:'[]',_0x147a30=_0x2415ab['diffData'][_0x3fa1bb]?_0x2415ab['diffData'][_0x3fa1bb]['deletions']:'[]';_0x2415ab['model'][_0x3fa1bb]={'insertions':this['_makeModelFromViewString'](_0x53ed18),'deletions':this['_makeModelFromViewString'](_0x147a30)};}}for(const _0x1dfdf7 of _0x449276){let _0x22f3cc=null,_0x8fdddc=0x0;const _0x11a707=new Map(Array['from'](_0x2aa36f['model'][_0x1dfdf7]['insertions']['markers'])['filter'](([_0x23760c])=>!_0x23760c['startsWith']('revision:')));let _0x41b0cc=0x0;for(const _0xf811a2 of _0x903d1e){const _0x536ffc=this['_makeTape'](_0xf811a2['model'][_0x1dfdf7]['insertions']);_0xf811a2==_0x2aa36f?(_0x22f3cc=_0x536ffc,_0x8fdddc=_0x22f3cc['length'],_0x22f3cc['forEach'](_0x2c6f0f=>{_0x2c6f0f['id']=_0x41b0cc++;}),this['_processTape'](_0x22f3cc)):this['_markInsertions'](_0x22f3cc,_0x536ffc);const _0x4b3e9c=_0x22f3cc['filter'](_0x426888=>!_0x426888['isAdded'])['map'](_0x27900d=>_0x27900d['id']);let _0x2f055d=0x0;const _0x37eb56=this['_makeTape'](_0xf811a2['model'][_0x1dfdf7]['deletions']);_0x37eb56['forEach'](_0x539dd8=>{_0x539dd8['isRemoved']?_0x539dd8['id']=_0x8fdddc++:_0x539dd8['id']=_0x4b3e9c[_0x2f055d++];}),this['_processTape'](_0x37eb56),this['_setDistance'](_0x22f3cc,'isAdded'),this['_setDistance'](_0x37eb56,'isRemoved'),_0xf811a2==_0x2aa36f&&this['_markMarkers'](_0x22f3cc,_0x11a707),_0x22f3cc=this['_joinTapes'](_0x22f3cc,_0x37eb56),this['_refreshStartEndIndex'](_0x22f3cc),this['_setDistance'](_0x22f3cc,'isRemoved');}_0x22f3cc=_0x22f3cc['filter'](_0xa47820=>!(_0xa47820['isAdded']&&_0xa47820['isRemoved']));const _0x2a54f1=new Map(_0x2f0aa4['model'][_0x1dfdf7]['deletions']['markers']),_0x991782=new Set(_0x11a707['keys']());for(const _0xb84e4b of _0x2a54f1['keys']())_0x991782['delete'](_0xb84e4b);this['_markSuggestions'](_0x22f3cc,_0x991782),this['_fixObsoleteTags'](_0x22f3cc),_0x22f3cc=this['_removeMissingPairs'](_0x22f3cc),_0x22f3cc=this['_markMismatchedRemovedTags'](_0x22f3cc),_0x22f3cc=this['_removeUnsupportedChanges'](_0x22f3cc);const {root:_0x4e896b,changes:_0x4851bc}=this['_makeModelFromTape'](_0x22f3cc,_0x3cfc41,_0x1dfdf7);_0x4e33b7['model'][_0x1dfdf7]=_0x4e896b;const _0x172b14=_0x232bc9['get'](_0x1dfdf7);if(_0x172b14){const _0x21cb40=_0x3cfc41['get'](_0x172b14['userId']),_0x24679b=new r({'author':_0x21cb40,'type':_0x172b14['isAttached']?'add':'remove','data':{'isOnRoot':!0x0},'createdAt':new Date(),'rootName':_0x1dfdf7});_0x4851bc['unshift'](_0x24679b),_0x4e33b7['attributes'][_0x1dfdf7]['revisionHistoryAttachChange']=_0x24679b['id'];}_0x4e33b7['changes']=_0x4e33b7['changes']['concat'](_0x4851bc);}return _0x4e33b7;}['_markMarkers'](_0x325d10,_0x481fb6){for(let _0x574e95=0x0;_0x574e95<_0x325d10['length'];_0x574e95++)for(const [_0x36dcd4,_0x334d10]of _0x481fb6)_0x334d10['start']['isEqual'](_0x325d10[_0x574e95]['previousPosition'])&&_0x325d10[_0x574e95]['markersStart']['push'](_0x36dcd4),_0x334d10['end']['isEqual'](_0x325d10[_0x574e95]['nextPosition'])&&_0x325d10[_0x574e95]['markersEnd']['push'](_0x36dcd4);}['_joinTapes'](_0x4e4952,_0x423758){let _0x4dee3f=[],_0x4a31d9=0x0,_0x21ac76=0x0;for(;_0x4a31d9<_0x4e4952['length']||_0x21ac76<_0x423758['length'];){const _0x54e720=_0x4e4952[_0x4a31d9]||{},_0x2d0bf1=_0x423758[_0x21ac76]||{};if(_0x54e720['id']==_0x2d0bf1['id'])_0x4a31d9++,_0x21ac76++,_0x4dee3f['push'](_0x54e720);else{if(_0x2d0bf1['isRemoved']&&_0x54e720['isAdded']){const {commonTape:_0x47b0c9,iEnd:_0x3726d4,jEnd:_0x3d251c}=this['_threeWayMerge'](_0x4e4952,_0x4a31d9,_0x423758,_0x21ac76);_0x4dee3f=_0x4dee3f['concat'](_0x47b0c9),_0x4a31d9=_0x3726d4,_0x21ac76=_0x3d251c;}else _0x2d0bf1['isRemoved']?(_0x21ac76++,_0x4dee3f['push'](_0x2d0bf1)):(_0x4a31d9++,_0x4dee3f['push'](_0x54e720));}}return _0x4dee3f;}['_markSuggestions'](_0x3ca855,_0x138330){const _0x4c63fe=[];for(let _0x3e298b=0x0;_0x3e298b<_0x3ca855['length'];_0x3e298b++){for(let _0x2f33bb=0x0;_0x2f33bb<_0x3ca855[_0x3e298b]['markersStart']['length'];_0x2f33bb++){const _0x3c6da6=_0x3ca855[_0x3e298b]['markersStart'][_0x2f33bb];if(!_0x138330['has'](_0x3c6da6))continue;const {group:_0x3270e4,type:_0x160535,authorId:_0x254170}=_0x244116(_0x3c6da6);'revision-suggestion'!=_0x3270e4||'insertion'!=_0x160535&&'deletion'!=_0x160535||(_0x4c63fe['unshift']({'type':_0x160535,'name':_0x3c6da6,'userId':_0x254170}),_0x3ca855[_0x3e298b]['markersStart']['splice'](_0x2f33bb,0x1),_0x2f33bb--);}_0x45986f(_0x3ca855[_0x3e298b]);for(let _0xc5d54b=0x0;_0xc5d54b<_0x3ca855[_0x3e298b]['markersEnd']['length'];_0xc5d54b++){const _0x37d393=_0x3ca855[_0x3e298b]['markersEnd'][_0xc5d54b];if(!_0x138330['has'](_0x37d393))continue;const {group:_0xea46d5,type:_0x2505c9}=_0x244116(_0x37d393);if('revision-suggestion'!=_0xea46d5||'insertion'!=_0x2505c9&&'deletion'!=_0x2505c9)continue;_0x3ca855[_0x3e298b]['markersEnd']['splice'](_0xc5d54b,0x1),_0xc5d54b--;const _0x1b1646=_0x4c63fe['findIndex'](_0x1fe4ec=>_0x1fe4ec['name']==_0x37d393);_0x1b1646>-0x1&&_0x4c63fe['splice'](_0x1b1646,0x1);}}function _0x244116(_0x49c2e7){const _0x1930e9=_0x49c2e7['split'](':');return{'group':_0x1930e9[0x0],'type':_0x1930e9[0x1],'subType':_0x1930e9['length']>=0x5?_0x1930e9[0x2]:null,'id':_0x1930e9['length']<0x5?_0x1930e9[0x2]:_0x1930e9[0x3],'authorId':_0x1930e9['length']<0x5?_0x1930e9[0x3]:_0x1930e9[0x4],'markerCount':0x6==_0x1930e9['length']?_0x1930e9[0x5]:null};}function _0x45986f(_0x583b81){for(let _0x1076e9=0x0;_0x1076e9<_0x4c63fe['length'];_0x1076e9++){if(_0x583b81['isAdded']&&'insertion'==_0x4c63fe[_0x1076e9]['type'])return _0x583b81['isAddSuggestion']=_0x4c63fe[_0x1076e9],void delete _0x583b81['isAdded'];if(!_0x583b81['isAdded']&&!_0x583b81['isRemoved']&&'deletion'==_0x4c63fe[_0x1076e9]['type'])return void(_0x583b81['isRemoveSuggestion']=_0x4c63fe[_0x1076e9]);}}}['_setDistance'](_0x27b65d,_0x2882c9){let _0x558d56=0x0,_0x4a7fa1=!0x1;const _0x112106=new Map();for(const _0x2471bc of _0x27b65d)_0x2471bc[_0x2882c9]?_0x4a7fa1&&(_0x558d56++,_0x4a7fa1=!0x1):(_0x558d56++,_0x4a7fa1=!0x0),_0x112106['set'](_0x2471bc['id'],_0x558d56);for(let _0x515b21=0x0;_0x515b21<_0x27b65d['length'];_0x515b21++){if('isRemoved'==_0x2882c9&&_0x27b65d[_0x515b21]['isAdded']||'isAdded'==_0x2882c9&&_0x27b65d[_0x515b21]['isRemoved'])continue;if('text'==_0x27b65d[_0x515b21]['type']){_0x27b65d[_0x515b21]['distance']=0x0;continue;}const _0x3f5c5b=_0x112106['get'](_0x27b65d[_0x515b21]['pairId']),_0x5dd8e7=_0x112106['get'](_0x27b65d[_0x515b21]['id']);_0x27b65d[_0x515b21]['distance']=_0x3f5c5b-_0x5dd8e7;}}['_getRevisionsRange'](_0x327bdb,_0x4207a8,_0x55b3b5=!0x1){const _0x2b3179=[];let _0x2979=this['repository']['getIndex'](_0x327bdb),_0x499706=this['repository']['getIndex'](_0x4207a8);for(-0x1==_0x499706&&(_0x499706=this['repository']['_revisions']['length'],_0x55b3b5=!0x1);_0x2979<_0x499706;)_0x2b3179['push'](this['repository']['getRevision'](_0x2979)),_0x2979++;return _0x55b3b5&&_0x2b3179['push'](this['repository']['getRevision'](_0x2979)),_0x2b3179;}['_threeWayMerge'](_0x3ae128,_0x1fe1b4,_0x7a946,_0x233650){const _0x1bb493=this['editor']['model']['schema'];let _0x40edd5=_0x1fe1b4;for(;_0x3ae128[_0x40edd5]&&_0x3ae128[_0x40edd5]['isAdded'];)_0x40edd5++;let _0x17b4fa=_0x233650;for(;_0x7a946[_0x17b4fa]&&_0x7a946[_0x17b4fa]['isRemoved'];)_0x17b4fa++;_0x5191c1(_0x3ae128,_0x1fe1b4,_0x40edd5),_0x5191c1(_0x7a946,_0x233650,_0x17b4fa);const _0x3bede7=_0x7a946['slice'](_0x233650,_0x17b4fa)['concat'](_0x3ae128['slice'](_0x1fe1b4,_0x40edd5));return _0x3bede7['sort']((_0x534acf,_0x2f4aa5)=>_0x534acf['side']!=_0x2f4aa5['side']?_0x534acf['side']-_0x2f4aa5['side']:_0x534acf['level']!=_0x2f4aa5['level']?_0x534acf['level']-_0x2f4aa5['level']:_0x534acf['distance']!=_0x2f4aa5['distance']?_0x2f4aa5['distance']-_0x534acf['distance']:!!_0x534acf['isAdded']!=!!_0x2f4aa5['isAdded']?-0x1==_0x534acf['side']||0x0==_0x534acf['side']?_0x534acf['isAdded']?-0x1:0x1:_0x534acf['isAdded']?0x1:-0x1:_0x534acf['index']-_0x2f4aa5['index']),{'commonTape':_0x3bede7,'iEnd':_0x40edd5,'jEnd':_0x17b4fa};function _0x5191c1(_0x25ea61,_0x40b90d,_0x36ac74){let _0x2e2ac0=-0x1,_0x49bc0d=Number['POSITIVE_INFINITY'],_0xac8a9d=!0x0;for(let _0xed499=_0x40b90d;_0xed499<_0x36ac74;_0xed499++)if(_0x1bb493['isInline'](_0x25ea61[_0xed499]['item'])||(_0xac8a9d=!0x1),_0x25ea61[_0xed499]['item']['startIndex']<_0x40b90d&&(_0x2e2ac0=_0xed499),_0x25ea61[_0xed499]['item']['endIndex']>=_0x36ac74){_0x49bc0d=_0xed499;break;}_0xac8a9d&&(_0x2e2ac0=_0x36ac74-0x1);for(let _0x3bb31f=_0x40b90d;_0x3bb31f<_0x36ac74;_0x3bb31f++)_0x25ea61[_0x3bb31f]['side']=_0x3bb31f<=_0x2e2ac0?-0x1:_0x3bb31f<_0x49bc0d?0x0:0x1,_0x25ea61[_0x3bb31f]['index']=_0x3bb31f;let _0x3fc6ab=0x0;for(let _0x474f02=_0x40b90d;_0x474f02<=_0x2e2ac0;_0x474f02++)0x0==_0x25ea61[_0x474f02]['distance']?_0x25ea61[_0x474f02]['level']=_0x3fc6ab:(_0x3fc6ab++,_0x25ea61[_0x474f02]['level']=_0x3fc6ab,_0x3fc6ab++);for(let _0x5407e0=_0x40b90d;_0x5407e0<_0x36ac74;_0x5407e0++)0x0==_0x25ea61[_0x5407e0]['side']&&(_0x25ea61[_0x5407e0]['level']=_0x3fc6ab);_0x3fc6ab=0x0;for(let _0x4c7051=_0x36ac74-0x1;_0x4c7051>=_0x49bc0d;_0x4c7051--)0x0==_0x25ea61[_0x4c7051]['distance']?_0x25ea61[_0x4c7051]['level']=_0x3fc6ab:(_0x3fc6ab--,_0x25ea61[_0x4c7051]['level']=_0x3fc6ab,_0x3fc6ab--);}}['_fixObsoleteTags'](_0x3916e2){const _0x3355e5=new Map(),_0x20b7c4=this['editor']['model']['schema'];for(let _0x3b0328=0x1;_0x3b0328<_0x3916e2['length'];_0x3b0328++){let _0x4c35ef,_0x2957c9,_0x5953e4;const _0x4fb6a3=_0x3916e2[_0x3b0328],_0x1fa770=_0x3916e2[_0x3b0328-0x1];if('text'==_0x4fb6a3['type'])continue;if(_0x4fb6a3['type']!=_0x1fa770['type'])continue;if(!_0x20b7c4['isBlock'](_0x1fa770['item'])||_0x20b7c4['isLimit'](_0x1fa770['item']))continue;if(!_0x20b7c4['isBlock'](_0x4fb6a3['item'])||_0x20b7c4['isLimit'](_0x4fb6a3['item']))continue;if((_0x3916e2[_0x3b0328]['isAdded']||_0x3916e2[_0x3b0328]['isAddSuggestion'])&&_0x3916e2[_0x3b0328-0x1]['isRemoved'])_0x4c35ef=_0x3916e2[_0x3b0328],_0x2957c9=_0x3916e2[_0x3b0328-0x1],_0x5953e4=_0x3b0328-0x1;else{if(!_0x3916e2[_0x3b0328]['isRemoved']||!_0x3916e2[_0x3b0328-0x1]['isAdded']&&!_0x3916e2[_0x3b0328-0x1]['isAddSuggestion'])continue;_0x4c35ef=_0x3916e2[_0x3b0328-0x1],_0x2957c9=_0x3916e2[_0x3b0328],_0x5953e4=_0x3b0328;}const _0x22999d=_0x4c35ef['level']==_0x2957c9['level'],_0x5750e0=Math['abs'](_0x4c35ef['level'])<Math['abs'](_0x2957c9['level'])&&0x0==_0x2957c9['distance'];(_0x22999d||_0x5750e0)&&(_0x3355e5['set'](_0x2957c9['id'],_0x4c35ef['id']),_0x3916e2['splice'](_0x5953e4,0x1),_0x3b0328--,_0x4c35ef['isAdded']=!0x1);}for(let _0x54e453=0x0;_0x54e453<_0x3916e2['length'];_0x54e453++)_0x3355e5['has'](_0x3916e2[_0x54e453]['pairId'])&&(_0x3916e2[_0x54e453]['pairId']=_0x3355e5['get'](_0x3916e2[_0x54e453]['pairId']));}['_removeMissingPairs'](_0x205b7c){const _0x515946=new Set(_0x205b7c['map'](_0x586d77=>_0x586d77['id']));for(let _0x482051=0x0;_0x482051<_0x205b7c['length'];_0x482051++)_0x515946['has'](_0x205b7c[_0x482051]['pairId'])||0x0==_0x205b7c[_0x482051]['distance']||(_0x205b7c[_0x482051]['isIncorrect']=!0x0);return _0x205b7c['filter'](_0x509de8=>!_0x509de8['isIncorrect']);}['_markMismatchedRemovedTags'](_0x560386){const _0x112971=new Set();for(let _0x481548=0x0;_0x481548<_0x560386['length'];_0x481548++){if(_0x112971['has'](_0x560386[_0x481548]['id'])&&_0x560386[_0x481548]['isRemoved']&&(_0x560386[_0x481548]['isIncorrect']=!0x0),_0x560386[_0x481548]['isIncorrect'])continue;if(0x0==_0x560386[_0x481548]['distance'])continue;if('elementStart'!=_0x560386[_0x481548]['type'])continue;if(null==_0x560386[_0x481548]['pairId'])continue;let _0x27eb68=_0x481548+0x1,_0x4706b4=0x0;for(;_0x560386[_0x27eb68]['id']!=_0x560386[_0x481548]['pairId'];)'elementStart'==_0x560386[_0x27eb68]['type']?_0x4706b4++:'elementEnd'==_0x560386[_0x27eb68]['type']&&_0x4706b4--,_0x27eb68++;if(0x0!=_0x4706b4){if(_0x560386[_0x481548]['isRemoved'])_0x560386[_0x481548]['isIncorrect']=!0x0;else{for(;_0x27eb68!=_0x481548;)_0x560386[_0x27eb68]['isRemoved']&&0x0!=_0x560386[_0x27eb68]['distance']&&(_0x560386[_0x27eb68]['isIncorrect']=!0x0,_0x112971['add'](_0x560386[_0x27eb68]['pairId'])),_0x27eb68--;}}}return _0x560386['filter'](_0x276a5a=>!_0x276a5a['isIncorrect']);}['_removeUnsupportedChanges'](_0x5cd42c){const _0x506f21=this['editor']['model']['schema'];for(let _0x2c0d69=0x0;_0x2c0d69<_0x5cd42c['length'];_0x2c0d69++){if(!(_0x5cd42c[_0x2c0d69]['isAdded']||_0x5cd42c[_0x2c0d69]['isAddSuggestion']||_0x5cd42c[_0x2c0d69]['isRemoved']||_0x5cd42c[_0x2c0d69]['isRemoveSuggestion']))continue;if(0x0==_0x5cd42c[_0x2c0d69]['distance'])continue;const _0x5ef6e5=_0x5cd42c[_0x2c0d69]['item'];_0x506f21['isBlock'](_0x5ef6e5)||_0x506f21['isLimit'](_0x5ef6e5)||(_0x5cd42c[_0x2c0d69]['isAdded']&&delete _0x5cd42c[_0x2c0d69]['isAdded'],_0x5cd42c[_0x2c0d69]['isAddSuggestion']&&delete _0x5cd42c[_0x2c0d69]['isAddSuggestion'],_0x5cd42c[_0x2c0d69]['isRemoveSuggestion']&&delete _0x5cd42c[_0x2c0d69]['isRemoveSuggestion'],_0x5cd42c[_0x2c0d69]['isRemoved']&&(_0x5cd42c[_0x2c0d69]['isIncorrect']=!0x0));}return _0x5cd42c['filter'](_0x28b764=>!_0x28b764['isIncorrect']);}['_makeModelFromTape'](_0x186055,_0x24fc04,_0x43897d){const _0x9fd457=new wt(),_0x50858a=[],_0x3fc056=new Map(),_0x32cfa8=this['editor']['model'],_0x3362f7=_0x32cfa8['schema'],_0x550e87=[_0x9fd457],_0x42019d={},_0x1c130a={'isAdded':[],'isRemoved':[],'isAddSuggestion':[],'isRemoveSuggestion':[]};let _0x20d95b=null;const _0x3bf082=[0x0];for(let _0xc3eab8=0x0;_0xc3eab8<_0x186055['length'];_0xc3eab8++){let _0x2e3801,_0x24fe95;if('elementStart'===_0x186055[_0xc3eab8]['type']){_0x2e3801=_0x32cfa8['createPositionFromPath'](_0x9fd457,_0x3bf082);const _0x2814f8=new ft(_0x186055[_0xc3eab8]['item']['name'],_0x186055[_0xc3eab8]['item']['getAttributes']());_0x550e87[0x0]['_appendChild'](_0x2814f8),_0x3bf082['push'](0x0),_0x550e87['unshift'](_0x2814f8),_0x24fe95=_0x32cfa8['createPositionFromPath'](_0x9fd457,_0x3bf082),_0x20d95b=null;}else{if('elementEnd'===_0x186055[_0xc3eab8]['type'])_0x550e87['shift'](),_0x2e3801=_0x32cfa8['createPositionFromPath'](_0x9fd457,_0x3bf082),_0x3bf082['pop'](),_0x3bf082[_0x3bf082['length']-0x1]++,_0x24fe95=_0x32cfa8['createPositionFromPath'](_0x9fd457,_0x3bf082),_0x20d95b=null;else{if(_0x2e3801=_0x32cfa8['createPositionFromPath'](_0x9fd457,_0x3bf082),_0x20d95b&&_0x2d49eb(_0x20d95b,_0x186055[_0xc3eab8]['item']))_0x20d95b['_data']+=_0x186055[_0xc3eab8]['item']['data'];else{const _0x1663cf=new _t(_0x186055[_0xc3eab8]['item']['data'],_0x186055[_0xc3eab8]['item']['getAttributes']());_0x550e87[0x0]['_appendChild'](_0x1663cf),_0x20d95b=_0x1663cf;}_0x3bf082[_0x3bf082['length']-0x1]+=_0x186055[_0xc3eab8]['item']['offsetSize'],_0x24fe95=_0x32cfa8['createPositionFromPath'](_0x9fd457,_0x3bf082);}}for(const _0x239a66 of _0x186055[_0xc3eab8]['markersStart'])_0x3fc056['set'](_0x239a66,{'start':_0x2e3801,'end':null});_0x7b9d39('isRemoveSuggestion',_0xc3eab8,_0x2e3801,_0x24fe95),_0x7b9d39('isAddSuggestion',_0xc3eab8,_0x2e3801,_0x24fe95),_0x7b9d39('isRemoved',_0xc3eab8,_0x2e3801,_0x24fe95),_0x7b9d39('isAdded',_0xc3eab8,_0x2e3801,_0x24fe95);for(const _0x318ef8 of _0x186055[_0xc3eab8]['markersEnd']){_0x3fc056['get'](_0x318ef8)['end']=_0x24fe95;}}for(const [_0x33dc19,_0x2dd6bc]of _0x3fc056){const _0x2a2385=this['editor']['model']['createRange'](_0x2dd6bc['start'],_0x2dd6bc['end']);_0x9fd457['markers']['set'](_0x33dc19,_0x2a2385);}return _0x50858a['sort']((_0x36456a,_0x1de324)=>{const _0xb71bd7=_0x9fd457['markers']['get']('revision:'+_0x36456a['id']),_0x577286=_0x9fd457['markers']['get']('revision:'+_0x1de324['id']);return _0xb71bd7['start']['isBefore'](_0x577286['start'])?-0x1:_0xb71bd7['start']['isAfter'](_0x577286['start'])?0x1:_0xb71bd7['end']['isBefore'](_0x577286['end'])?-0x1:_0xb71bd7['end']['isAfter'](_0x577286['end'])?0x1:'add'===_0x36456a['type']?-0x1:0x1;}),{'root':_0x9fd457,'changes':_0x50858a};function _0x7b9d39(_0x20a060,_0x7f4918,_0x12ab1f,_0x2adec5){const _0x1b9142=!!_0x186055[_0x7f4918][_0x20a060],_0x49e7ee=_0x1b9142?_0x186055[_0x7f4918][_0x20a060]['userId']:null,_0x491564=_0x7f4918===_0x186055['length']-0x1,_0x441448=_0x1c130a[_0x20a060][0x0],_0x62a122=_0x3362f7['isObject'](_0x186055[_0x7f4918]['item']);!_0x42019d[_0x20a060]&&_0x1b9142?_0x42019d[_0x20a060]={'start':_0x12ab1f,'tapeItem':_0x186055[_0x7f4918],'userId':_0x49e7ee,'type':_0x20a060}:_0x42019d[_0x20a060]&&!_0x1b9142?(_0x42019d[_0x20a060]['end']=_0x12ab1f,_0x571aa5(_0x42019d[_0x20a060]),_0x42019d[_0x20a060]=null):_0x42019d[_0x20a060]&&_0x1b9142&&_0x42019d[_0x20a060]['userId']!==_0x49e7ee&&(_0x42019d[_0x20a060]['end']=_0x12ab1f,_0x441448&&_0x441448['userId']===_0x42019d[_0x20a060]['userId']||_0x571aa5(_0x42019d[_0x20a060]),_0x42019d[_0x20a060]={'start':_0x12ab1f,'tapeItem':_0x186055[_0x7f4918],'userId':_0x49e7ee,'type':_0x20a060}),_0x42019d[_0x20a060]&&_0x62a122&&('elementStart'!==_0x186055[_0x7f4918]['type']||_0x441448&&_0x441448['userId']===_0x49e7ee||_0x1c130a[_0x20a060]['unshift']({'userId':_0x49e7ee,'object':_0x186055[_0x7f4918]['item'],'change':_0x42019d[_0x20a060]}),'elementEnd'===_0x186055[_0x7f4918]['type']&&_0x441448&&_0x441448['object']===_0x186055[_0x7f4918]['item']&&(_0x1c130a[_0x20a060]['shift'](),_0x42019d[_0x20a060]=_0x441448['change'])),_0x42019d[_0x20a060]&&_0x491564&&(_0x42019d[_0x20a060]['end']=_0x2adec5,_0x571aa5(_0x42019d[_0x20a060]),_0x42019d[_0x20a060]=null);}function _0x571aa5({start:_0x2e70a7,end:_0x8ade72,tapeItem:_0x582876,userId:_0x53b360,type:_0xa6a3da}){const _0x9bb465=_0x582876['item'],_0x24c638=_0x32cfa8['schema']['isBlock'](_0x9bb465)&&!_0x32cfa8['schema']['isLimit'](_0x9bb465),_0x28d53f=_0x2e70a7['nodeAfter']==_0x8ade72['parent']&&_0x8ade72['isAtStart'];if(_0x24c638&&_0x28d53f)return;const _0x3339bb=_0x32cfa8['createRange'](_0x2e70a7,_0x8ade72),_0x4cdb59=_0x24fc04['get'](_0x53b360),_0x24e4f9=new r({'author':_0x4cdb59,'type':'isAdded'==_0xa6a3da||'isAddSuggestion'==_0xa6a3da?'add':'remove','data':{'isSuggestion':'isAddSuggestion'==_0xa6a3da||'isRemoveSuggestion'==_0xa6a3da},'createdAt':new Date(),'rootName':_0x43897d});_0x50858a['push'](_0x24e4f9),_0x9fd457['markers']['set']('revision:'+_0x24e4f9['id'],_0x3339bb);}function _0x2d49eb(_0x1d96ef,_0x51b7ea){const _0x355d86=_0x1d96ef['getAttributes'](),_0x1492a1=_0x51b7ea['getAttributes']();for(const _0x741271 of _0x355d86){if(_0x741271[0x1]!==_0x51b7ea['getAttribute'](_0x741271[0x0]))return!0x1;_0x1492a1['next']();}return _0x1492a1['next']()['done'];}}['_setConversion'](){this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'revision'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision','view':_0x46d5fc=>{const _0x9cb88d=_0x46d5fc['markerName']['split'](':')[0x1],_0x36a755=this['_getChangeFromId'](_0x9cb88d);if(!_0x36a755)return null;const _0x4df137='add'==_0x36a755['type']?'insertion':'deletion',_0x400269=['ck-suggestion-marker','ck-suggestion-marker-'+_0x4df137];return _0x36a755['data']['isSuggestion']&&_0x400269['push']('ck-suggestion-marker-'+_0x4df137+'-new'),this['activeChange']==_0x36a755&&_0x400269['push']('ck-suggestion-marker--active'),{'classes':_0x400269,'attributes':{'data-change-id':_0x9cb88d}};}}),this['editor']['conversion']['for']('upcast')['add'](_0x27f4c0=>{_0x27f4c0['on']('element:pre',(_0x1620ad,_0x1745ea,_0x536f37)=>{const _0x5cb642=_0x1745ea['viewItem']['getChild'](0x0);if(!_0x5cb642||!_0x5cb642['is']('element','code'))return;if(!_0x536f37['consumable']['consume'](_0x5cb642,{'attributes':['vid_start','vid_end']}))return;const _0x4ed301=_0x1745ea['modelRange']['start']['nodeAfter'];_0x536f37['writer']['setAttribute']('vid_start',_0x5cb642['getAttribute']('vid_start'),_0x4ed301),_0x536f37['writer']['setAttribute']('vid_end',_0x5cb642['getAttribute']('vid_end'),_0x4ed301);},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['add'](_0xd84708=>{_0xd84708['on']('element',(_0x5b8201,_0x2bb6ad,_0x56d3be)=>{if(!_0x56d3be['consumable']['consume'](_0x2bb6ad['viewItem'],{'attributes':['vid_start','vid_end']}))return;if(_0x2bb6ad['modelRange']['isCollapsed'])return;const _0xc6c65e=_0x2bb6ad['modelRange']['start']['nodeAfter'];_0xc6c65e['hasAttribute']('vid_start')||_0xc6c65e['hasAttribute']('vid')||(_0x56d3be['writer']['setAttribute']('vid_start',_0x2bb6ad['viewItem']['getAttribute']('vid_start'),_0xc6c65e),_0x56d3be['writer']['setAttribute']('vid_end',_0x2bb6ad['viewItem']['getAttribute']('vid_end'),_0xc6c65e));},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['elementToAttribute']({'view':{'name':'span','attributes':{'vid':!0x0}},'model':{'key':'vid','value':_0x15da90=>_0x15da90['getAttribute']('vid')}}),this['editor']['model']['schema']['on']('checkAttribute',(_0x15e2e3,[,_0x47c29d])=>{['vid_start','vid_end','vid']['includes'](_0x47c29d)&&(_0x15e2e3['return']=!0x0,_0x15e2e3['stop']());},{'priority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['add'](_0x186d2b=>{_0x186d2b['on']('attribute:vid',(_0x51109d,_0x4dfebd,_0x5a8a5e)=>{if('\x20'!=_0x4dfebd['item']['data']||_0x4dfebd['item']['parent']['maxOffset']>0x1)return;if(!_0x5a8a5e['consumable']['consume'](_0x4dfebd['item'],_0x51109d['name']))return;const _0x1fbf91=_0x5a8a5e['writer'],_0x1e3f49=_0x5a8a5e['mapper']['toViewRange'](_0x4dfebd['range']);_0x1fbf91['wrap'](_0x1e3f49,_0x1fbf91['createAttributeElement']('span'));});}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',function(_0x10641b){const _0x40a29c=_0x10641b['plugins']['get']('RevisionViewer');return(_0x276488,_0x554a0e,_0x1a2c62)=>{const _0x2819d9=_0x554a0e['markerName']['split'](':')[0x1],_0x12f46b=_0x40a29c['_getChangeFromId'](_0x2819d9);if(!_0x12f46b)return null;const _0x1b330c='add'==_0x12f46b['type']?'split':'merge';if(!_0x1a2c62['consumable']['test'](_0x554a0e['markerRange'],_0x276488['name']))return;const _0x7747bf=_0x554a0e['markerRange']['getWalker'](),_0x22e7be=_0x554a0e['markerRange']['start'],_0x426644=_0x10641b['model']['schema'];let _0x48f7c3=null,_0x17cbd4=null,_0x56a352=!0x1,_0x4eda72=!0x1;for(const _0x373eec of _0x7747bf){const _0x47cb6b=_0x373eec['item'];_0x56a352=_0x56a352||_0x426644['isContent'](_0x47cb6b);const _0x492608=_0x1a2c62['mapper']['toViewElement'](_0x47cb6b);if(_0x492608&&_0x492608['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x373eec['type']&&(_0x426644['isBlock'](_0x47cb6b)&&!_0x426644['isLimit'](_0x47cb6b)&&(_0x47cb6b['nextSibling']||_0x22e7be['isAtEnd']?_0x48f7c3&&_0x48f7c3['parent']==_0x47cb6b||(_0x48f7c3=_0x47cb6b,_0x23f40d(_0x373eec['previousPosition']),_0x4eda72=!0x0):_0x17cbd4=_0x17cbd4||_0x373eec['previousPosition']));}function _0x23f40d(_0x9922a){const _0x2ed5ea=_0x1a2c62['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x1b330c}),_0x3b5c2a=_0x1a2c62['mapper']['toViewPosition'](_0x9922a);_0x12f46b['data']['isSuggestion']&&_0x1a2c62['writer']['addClass']('ck-suggestion-marker-'+_0x1b330c+'-new',_0x2ed5ea),_0x40a29c['activeChange']==_0x12f46b&&_0x1a2c62['writer']['addClass']('ck-suggestion-marker--active',_0x2ed5ea),_0x1a2c62['writer']['insert'](_0x3b5c2a,_0x2ed5ea),_0x1a2c62['mapper']['bindElementToMarker'](_0x2ed5ea,_0x554a0e['markerName']);}_0x56a352||_0x4eda72||!_0x17cbd4||_0x23f40d(_0x17cbd4);};}(this['editor']),{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('removeMarker:revision',(_0x49264f,_0x1a81ed,_0xac6d15)=>{const _0x4df774=_0xac6d15['mapper']['markerNameToElements'](_0x1a81ed['markerName']);if(_0x4df774){for(const _0x28feb4 of _0x4df774)(_0x28feb4['hasClass']('ck-suggestion-marker-split')||_0x28feb4['hasClass']('ck-suggestion-marker-merge'))&&(_0xac6d15['mapper']['unbindElementFromMarkerName'](_0x28feb4,_0x1a81ed['markerName']),_0xac6d15['writer']['remove'](_0x28feb4));}},{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',(_0x2007f7,_0x8fea42,_0x3d2787)=>{const _0x562edc=_0x8fea42['markerName']['split'](':')[0x1],_0x24c2c=this['_getChangeFromId'](_0x562edc);if(!_0x24c2c)return null;const _0x59c11b='add'==_0x24c2c['type']?'split':'merge';if(_0x3d2787['consumable']['test'](_0x8fea42['markerRange'],_0x2007f7['name']))for(const _0x11b73d of _0x8fea42['markerRange']['getItems']()){if(!_0x11b73d['is']('element','softBreak'))continue;const _0x45b054=_0x3d2787['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x59c11b}),_0x2aa173=_0x3d2787['mapper']['toViewPosition'](this['editor']['model']['createPositionBefore'](_0x11b73d));_0x24c2c['data']['isSuggestion']&&_0x3d2787['writer']['addClass']('ck-suggestion-marker-'+_0x59c11b+'-new',_0x45b054),this['activeChange']==_0x24c2c&&_0x3d2787['writer']['addClass']('ck-suggestion-marker--active',_0x45b054),_0x3d2787['writer']['insert'](_0x2aa173,_0x45b054),_0x3d2787['mapper']['bindElementToMarker'](_0x45b054,_0x8fea42['markerName']);}},{'priority':'high'}),this['editor']['model']['document']['on']('change',()=>{this['editor']['editing']['view']['change'](_0x367345=>{for(const _0x2efa1e of this['editor']['model']['document']['getRootNames']()){const _0x41bbc2=this['editor']['model']['document']['getRoot'](_0x2efa1e),_0x3f8534=this['editor']['editing']['view']['document']['getRoot'](_0x2efa1e);if(_0x3f8534){const _0x1b7df4=_0x41bbc2['getAttribute']('revisionHistoryAttachChange');if(_0x367345['removeAttribute']('data-change-id',_0x3f8534),_0x367345['removeClass']('ck-revision-history-root-add',_0x3f8534),_0x367345['removeClass']('ck-revision-history-root-remove',_0x3f8534),_0x367345['removeClass']('ck-revision-history-root--active',_0x3f8534),_0x1b7df4){const _0x43ca70=this['_getChangeFromId'](_0x1b7df4);if(!_0x43ca70)return null;_0x367345['setAttribute']('data-change-id',_0x1b7df4,_0x3f8534),_0x367345['addClass']('ck-revision-history-root-'+_0x43ca70['type'],_0x3f8534),this['activeChange']==_0x43ca70&&_0x367345['addClass']('ck-revision-history-root--active',_0x3f8534);}}}});}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'comment','model':_0x31ea8f=>'revision-comment:'+_0x31ea8f,'converterPriority':'highest'}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'suggestion','model':_0x5c5eb7=>'revision-suggestion:'+_0x5c5eb7,'converterPriority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision-suggestion','view':_0x5249ab=>({'name':'suggestion:'+_0x5249ab,'group':'revision-suggestion'}),'converterPriority':'highest'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision-suggestion','view':_0x13cedc=>{const _0x47047b=_0x13cedc['markerName']['split'](':')[0x1];return'insertion'!=_0x47047b&&'deletion'!=_0x47047b?null:{'classes':['ck-suggestion-preview-marker','ck-suggestion-preview-marker-'+_0x47047b]};}}),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',(_0x244131,_0x106078,_0x2c86b0)=>{const _0x49d625=_0x2c86b0['mapper']['markerNameToElements'](_0x106078['markerName']);if(_0x49d625){for(const _0x489452 of _0x49d625)_0x489452['is']('uiElement')&&(_0x2c86b0['mapper']['unbindElementFromMarkerName'](_0x489452,_0x106078['markerName']),_0x2c86b0['writer']['remove'](_0x489452));}},{'priority':'high'});}['_getChangeFromId'](_0x4cb41d){return this['_changeIdToChange']['get'](_0x4cb41d);}['_getViewForChange'](_0x471c4b){return this['_changeView']&&this['_changeView']['destroy'](),this['_changeView']=new Z(this['editor']['locale'],_0x471c4b),this['_changeView'];}['_initInteractions'](){this['editor']['model']['document']['selection']['observeMarkers']('revision'),this['on']('change:activeView',(_0x31431e,_0x2181e9,_0x5e20cb,_0x1e5cd2)=>{_0x1e5cd2&&this['_balloon']['remove'](_0x1e5cd2),_0x5e20cb&&(this['_balloon']['add']({'view':_0x5e20cb,'stackId':'revisionHistoryLabel','position':{'target':()=>{const _0x16d43b=this['editor']['editing'],_0x4e679d=this['_getChangeFromId'](_0x5e20cb['changeId']);let _0x2ce7d3;if(_0x4e679d['data']['isOnRoot']){const _0x235f75=_0x16d43b['view']['getDomRoot'](_0x4e679d['rootName']);_0x2ce7d3=Array['from'](_0x235f75['getClientRects']());}else{const _0xde320d=this['editor']['model']['markers']['get']('revision:'+_0x5e20cb['changeId']);_0x2ce7d3=Array['from'](_0x16d43b['mapper']['markerNameToElements'](_0xde320d['name']))['map'](_0x458568=>_0x16d43b['view']['domConverter']['mapViewToDom'](_0x458568))['map'](_0x40e49f=>Array['from'](_0x40e49f['getClientRects']()))['flat']();}if(!this['_activeViewTarget'])return _0x2ce7d3[0x0];return _0x2ce7d3['find'](_0x5e3725=>_0x5e3725['top']-0x3<=this['_activeViewTarget']['y']&&_0x5e3725['bottom']+0x3>=this['_activeViewTarget']['y']&&_0x5e3725['left']-0x3<=this['_activeViewTarget']['x']&&_0x5e3725['right']+0x3>=this['_activeViewTarget']['x'])||_0x2ce7d3[0x0];}}}),this['_balloon']['showStack']('revisionHistoryLabel'));}),this['on']('change:activeChange',(_0x5c0f06,_0x25ff33,_0x4fb2ee,_0x225c80)=>{this['activeView']=_0x4fb2ee?this['_getViewForChange'](_0x4fb2ee):null,this['editor']['model']['change'](()=>{const _0x77cf72=this['editor']['editing'];_0x225c80&&(_0x225c80['data']['isOnRoot']?_0x77cf72['view']['change'](_0x541a85=>{_0x541a85['removeClass']('ck-revision-history-root--active',_0x77cf72['view']['document']['getRoot'](_0x225c80['rootName']));}):_0x77cf72['reconvertMarker']('revision:'+_0x225c80['id'])),_0x4fb2ee&&(_0x4fb2ee['data']['isOnRoot']?_0x77cf72['view']['change'](_0x531661=>{_0x531661['addClass']('ck-revision-history-root--active',_0x77cf72['view']['document']['getRoot'](_0x4fb2ee['rootName']));}):_0x77cf72['reconvertMarker']('revision:'+_0x4fb2ee['id']));});}),this['listenTo'](this['editor']['editing']['view']['document'],'mouseover',(_0x5f5196,_0x5b46e1)=>{if(this['activeChange'])return;const _0x322ea0=this['_findChangeIdFromDomTarget'](_0x5b46e1['target']),_0x5d1f82=this['_changeIdToChange']['get'](_0x322ea0);_0x5d1f82?(this['_activeViewTarget']={'x':_0x5b46e1['domEvent']['x'],'y':_0x5b46e1['domEvent']['y']},this['activeView']=this['_getViewForChange'](_0x5d1f82)):(this['_activeViewTarget']=null,this['activeView']=null);}),this['listenTo'](this['editor']['editing']['view']['document'],'mousedown',(_0x46fae0,_0x2c7146)=>{const _0x6b900=this['_findChangeIdFromDomTarget'](_0x2c7146['target']),_0x13a67b=this['_changeIdToChange']['get'](_0x6b900);_0x13a67b?(this['_activeViewTarget']={'x':_0x2c7146['domEvent']['x'],'y':_0x2c7146['domEvent']['y']},_0x13a67b===this['activeChange']?this['_balloon']['updatePosition']():this['activeChange']=_0x13a67b):(this['_activeViewTarget']=null,this['activeChange']=null);});}['_findChangeIdFromDomTarget'](_0x9ccc38){do{const _0x5c43dc=_0x9ccc38['getAttribute']('data-change-id');if(_0x5c43dc)return _0x5c43dc;_0x9ccc38=_0x9ccc38['parent'];}while(_0x9ccc38);return null;}['_cleanMarkers'](){this['editor']['model']['change'](_0x156366=>{for(const _0x25fec6 of this['editor']['model']['markers'])_0x156366['removeMarker'](_0x25fec6);});}}function et(_0x48c8f6,_0x468df4){return(_0x463762,_0x4f7827,_0x312a37)=>{if(!_0x312a37['consumable']['test'](_0x4f7827['markerRange'],_0x463762['name']))return;const _0x4312e7=_0x4f7827['markerRange']['getWalker'](),_0x4685ce=_0x4f7827['markerRange']['start'],_0x1cb6ce=_0x48c8f6['model']['schema'];let _0x255e40=null,_0x308c00=null,_0x39124d=!0x1,_0x598d21=!0x1;for(const _0x410a26 of _0x4312e7){const _0x2a6fcf=_0x410a26['item'];_0x39124d=_0x39124d||_0x1cb6ce['isContent'](_0x2a6fcf);const _0x5f39cf=_0x312a37['mapper']['toViewElement'](_0x2a6fcf);if(_0x5f39cf&&_0x5f39cf['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x410a26['type']&&(_0x1cb6ce['isBlock'](_0x2a6fcf)&&!_0x1cb6ce['isLimit'](_0x2a6fcf)&&(_0x2a6fcf['nextSibling']||_0x4685ce['isAtEnd']?_0x255e40&&_0x255e40['parent']==_0x2a6fcf||(_0x255e40=_0x2a6fcf,_0x4af662(_0x410a26['previousPosition']),_0x598d21=!0x0):_0x308c00=_0x308c00||_0x410a26['previousPosition']));}function _0x4af662(_0x5c1f39){const _0x4d5fad=_0x312a37['mapper']['toViewPosition'](_0x5c1f39),_0x4a6994=_0x312a37['writer']['createUIElement']('span',{'class':'ck-suggestion-preview-marker-'+_0x468df4});_0x312a37['writer']['insert'](_0x4d5fad,_0x4a6994),_0x312a37['mapper']['bindElementToMarker'](_0x4a6994,_0x4f7827['markerName']);}_0x39124d||_0x598d21||!_0x308c00||_0x4af662(_0x308c00);};}class bt extends _0x3d825e{constructor(_0x217c4b){super(_0x217c4b);const _0x9e16a7=_0x217c4b['plugins']['get'](d);this['affectsData']=!0x1,this['listenTo'](_0x9e16a7,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x9e16a7,'change:isEnabled',()=>this['refresh']());}['execute'](){const _0x1c698d=this['editor'],_0x1afc6a=_0x1c698d['plugins']['get'](d),_0x99b30d=_0x1afc6a['isReady']?_0x1afc6a['diff']['newRevisionId']:null;_0x1c698d['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x99b30d);}['refresh'](){const {isReady:_0x2a404c,isEnabled:_0x4644f0}=this['editor']['plugins']['get'](d);this['isEnabled']=_0x2a404c&&_0x4644f0;}}class yt extends _0x3d825e{['_step'];constructor(_0xd201b1,{direction:_0x225105}){super(_0xd201b1);const _0x300ec5=_0xd201b1['plugins']['get'](d);this['affectsData']=!0x1,this['_step']='forward'===_0x225105?0x1:-0x1,this['listenTo'](_0x300ec5,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x300ec5,'change:isEnabled',()=>this['refresh']()),this['listenTo'](_0x300ec5,'change:activeChange',()=>this['refresh']());}['execute'](){const _0x336a2b=this['editor'],_0x5861b8=_0x336a2b['plugins']['get'](d),{isNavigationMode:_0x2f160a,currentChangeNumber:_0x2fabbe}=_0x5861b8;let _0x4167af;if(_0x5861b8['activeChange']=_0x2f160a?_0x5861b8['diff']['changes']['get'](_0x2fabbe+this['_step']):_0x5861b8['diff']['changes']['first'],_0x5861b8['activeChange']['data']['isOnRoot'])_0x4167af=_0x336a2b['editing']['view']['getDomRoot'](_0x5861b8['activeChange']['rootName']);else{const _0x28fc71=_0x336a2b['model']['markers']['get']('revision:'+_0x5861b8['activeChange']['id']);_0x4167af=_0x55bd1a(_0x336a2b['editing'],_0x28fc71);}_0x3263a7({'target':_0x4167af,'viewportOffset':0x28});}['refresh'](){const {isNavigationMode:_0x2d8ff9,currentChangeNumber:_0x3e0b2d,numberOfChanges:_0xd8ea41,isReady:_0x185165,isEnabled:_0x22a271}=this['editor']['plugins']['get'](d);this['isEnabled']=!!(_0x22a271&&_0x185165&&_0xd8ea41)&&(!_0x2d8ff9||(0x1===this['_step']?_0x3e0b2d<_0xd8ea41-0x1:_0x3e0b2d>0x0));}}class _i extends _0x549bc6{constructor(_0x4b91b4){super(_0x4b91b4);const _0x51cb5f=this['bindTemplate'],_0x32ab13=new _0x38cb52(_0x4b91b4),_0x3586ae=new _0x38cb52(_0x4b91b4);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',(_0x153ffe,_0x6c8f06)=>_0x153ffe&&_0x6c8f06>0x0),this['bind']('_statusText')['to'](this,'isReady',this,'currentChangeNumber',this,'numberOfChanges',this,'isNavigationMode',(_0x4fca08,_0xd6d67a,_0x56a038,_0x8997cf)=>{if(!_0x4fca08)return y(_0x4b91b4,'Loading...');if(!_0x56a038)return y(_0x4b91b4,'No\x20changes');const _0x94bdde=y(_0x4b91b4,'NUMBER_OF_CHANGES',_0x56a038);return _0x8997cf?y(_0x4b91b4,'X_OF_Y_CHANGES',[_0xd6d67a+0x1,_0x56a038]):_0x94bdde;}),_0x32ab13['set']({'label':y(_0x4b91b4,'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'}),_0x3586ae['set']({'label':y(_0x4b91b4,'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'}),_0x32ab13['bind']('isEnabled')['to'](this,'isBackwardNavigationEnabled'),_0x3586ae['bind']('isEnabled')['to'](this,'isForwardNavigationEnabled'),_0x32ab13['on']('execute',()=>this['fire']('execute','backward')),_0x3586ae['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',_0x51cb5f['if']('_isStatusLabelVisible','ck-hidden',_0x186b09=>!_0x186b09)]},'children':[{'text':_0x51cb5f['to']('isNavigationMode',_0x3e19b3=>_0x3e19b3?y(_0x4b91b4,'EDIT_X_OF_Y_REVISIONS')+':\x20':y(_0x4b91b4,'Total')+':\x20')}]},{'text':_0x51cb5f['to']('_statusText')}]},new _0x4c9901(),{'tag':'div','attributes':{'class':['ck-revision-history-ui__changes-navigation__navigation']},'children':[_0x32ab13,_0x3586ae]}]});}}const ce='ck-editor__editable__loading-overlay';class de extends _0x1ea666{static get['pluginName'](){return'RevisionViewerLoadingOverlay';}['show'](){const _0x588b02=this['editor']['editing']['view'];_0x588b02['change'](_0x303160=>{for(const _0x57534c of _0x588b02['document']['roots'])_0x303160['addClass'](ce,_0x57534c);});}['hide'](){const _0x11df25=this['editor']['editing']['view'];_0x11df25['change'](_0x9ddc14=>{for(const _0x1578a1 of _0x11df25['document']['roots'])_0x9ddc14['removeClass'](ce,_0x1578a1);});}}class R extends _0x1ea666{static get['pluginName'](){return'RevisionViewerUI';}static get['requires'](){return[d,de];}['init'](){const _0x132ea7=this['editor'],_0xad1147=_0x132ea7['plugins']['get'](d),_0x1f85a0=_0x132ea7['plugins']['get'](de);_0x132ea7['ui']['componentFactory']['add']('exitToEditing',_0x176afc=>{const _0x27a4ac=new _0x38cb52(_0x176afc);return _0x27a4ac['set']({'label':y(_0x176afc,'Back\x20to\x20editing'),'icon':_0xa07c5a['undo'],'withText':!0x0,'tooltip':!0x0,'class':'ck-revision-history-ui__back-to-editing'}),this['listenTo'](_0x27a4ac,'execute',()=>{_0x132ea7['config']['get']('revisionHistory')['closeRevisionViewerCallback']();}),_0x27a4ac;}),_0x132ea7['ui']['componentFactory']['add']('restoreRevision',_0x136a42=>{const _0xbb0625=new _0x38cb52(_0x136a42);return _0xbb0625['set']({'label':y(_0x136a42,'Restore\x20this\x20revision'),'withText':!0x0,'tooltip':!0x0}),_0xbb0625['bind']('isEnabled')['to'](_0x132ea7['commands']['get']('restoreRevision')),this['listenTo'](_0xbb0625,'execute',()=>_0x132ea7['execute']('restoreRevision')),_0xbb0625;}),_0x132ea7['ui']['componentFactory']['add']('changesNavigation',_0x56a702=>{const _0x1b4cf7=new _i(_0x56a702),_0x518cfa=_0x132ea7['commands']['get']('showPreviousChange'),_0x11aeae=_0x132ea7['commands']['get']('showNextChange');return _0x1b4cf7['bind']('isBackwardNavigationEnabled')['to'](_0x518cfa,'isEnabled'),_0x1b4cf7['bind']('isForwardNavigationEnabled')['to'](_0x11aeae,'isEnabled'),_0x1b4cf7['bind']('isReady','currentChangeNumber','numberOfChanges','isNavigationMode')['to'](_0xad1147),this['listenTo'](_0x1b4cf7,'execute',(_0x168418,_0x45500f)=>{_0x132ea7['execute']('forward'===_0x45500f?'showNextChange':'showPreviousChange');}),_0x1b4cf7;}),_0x1f85a0['show'](),_0xad1147['on']('change:isReady',(_0xa231e9,_0xea3e54,_0x1d1d82)=>{_0x1d1d82?_0x1f85a0['hide']():_0x1f85a0['show']();});}}class kt extends at{['_resizeObserver']=null;constructor(_0x4e522d,_0x1b8f47){super(_0x4e522d,_0x1b8f47);const _0x421ce4=this['bindTemplate'];this['set']({'label':y(_0x4e522d,'Revision\x20name'),'_tooltipString':''}),this['fieldView']['placeholder']=y(_0x4e522d,'Enter\x20the\x20revision\x20name'),this['extendTemplate']({'tag':'span','attributes':{'class':['ck-revision-history-sidebar__revision-name'],'data-cke-tooltip-text':_0x421ce4['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 _0x43e94a=this['fieldView']['element'];this['_tooltipString']=_0x43e94a['scrollWidth']>_0x43e94a['clientWidth']&&_0x43e94a['value']||'';}}class ti extends _0x549bc6{constructor(_0x60df3f,_0x128fcf,_0x5d24a9){super(_0x60df3f);const _0x3c8bd7=new _0x130abc();_0x3c8bd7['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 _0x1a90dd=['ck','ck-revision-history-sidebar__revision-author'];_0x5d24a9&&_0x1a90dd['push']('ck-revision-history-sidebar__revision-author_creator');const _0x202865=[{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__revision-author__name'],'title':y(_0x60df3f,_0x5d24a9?'Revision\x20creator':'Revision\x20author')},'children':[_0x3c8bd7,_0x128fcf['name']]}];this['setTemplate']({'tag':'li','attributes':{'class':_0x1a90dd},'children':_0x202865});}}function ni(_0x5041fe,_0xd35d26){const _0x40259e=_0x5041fe['bindTemplate'],_0x31d70d=_0x5041fe['locale'],_0x2bdaa2=_0x26b934(_0x31d70d);_0x2bdaa2['panelPosition']='sw';const _0x32040f=function(_0x398a50,_0x5b0090){const _0x45ccea=function(_0x322452,_0xdab825){const _0x50e062=_0x322452['locale'],_0x1158b3={'Compare\x20against\x20selected':y(_0x50e062,'Compare\x20against\x20selected'),'Name\x20this\x20revision':y(_0x50e062,'Name\x20this\x20revision'),'Restore\x20this\x20revision':y(_0x50e062,'Restore\x20this\x20revision')};return _0xdab825['map'](_0x52ccf6=>{const _0x6a2925=_0x1158b3[_0x52ccf6['name']];return _0x6a2925&&_0x6a2925!==_0x52ccf6['name']&&(_0x52ccf6['name']=_0x6a2925),_0x52ccf6;});}(_0x398a50,_0x5b0090),_0x2de38f=new _0x1de5fb();for(const _0x360fcd of _0x45ccea){const _0x584253={'type':'button','model':new to({'label':_0x360fcd['name'],'class':_0x360fcd['class'],'withText':!0x0,'role':'menuitem','_action':_0x360fcd['action']})};_0x584253['model']['bind']('isEnabled')['to'](_0x398a50,'isActionsDropdownOpen',_0x2a9cd5=>'function'!=typeof _0x360fcd['isEnabled']||(!_0x2a9cd5||_0x360fcd['isEnabled'](_0x398a50))),_0x2de38f['add'](_0x584253);}return _0x2de38f;}(_0x5041fe,_0xd35d26);return _0x5041fe['bind']('isActionsDropdownOpen')['to'](_0x2bdaa2,'isOpen'),_0x2bdaa2['buttonView']['set']({'label':y(_0x31d70d,'Show\x20more\x20items'),'tooltip':!0x0,'tooltipPosition':'sw','icon':_0xa07c5a['threeVerticalDots']}),_0x2bdaa2['extendTemplate']({'attributes':{'class':['ck-revision-history-sidebar__revision__actions',_0x40259e['if']('isActionsDropdownOpen','ck-on')]},'on':{'click':_0x40259e['to'](_0x3a9ced=>_0x3a9ced['stopPropagation']())}}),_0x2bdaa2['on']('execute',_0x2569fb=>{_0x5041fe['isReady']&&'function'==typeof _0x2569fb['source']['_action']&&_0x2569fb['source']['_action'](_0x5041fe);}),_0x3cd566(_0x2bdaa2,_0x32040f,{'role':'menu'}),_0x2bdaa2['listenTo'](_0x5041fe,'change:isActionsDropdownOpen',(_0x1ece9c,_0x5e884b,_0x505ae3)=>{if(_0x505ae3)for(const _0x3bb888 of _0x2bdaa2['listView']['items']){const _0x2c6557=_0x3bb888['children']['first'],_0x19d5a0=_0xd35d26['find'](_0x24320f=>_0x24320f['action']===_0x2c6557['_action'])['isVisible'];_0x3bb888['isVisible']=void 0x0===_0x19d5a0||_0x19d5a0(_0x5041fe);}}),_0x2bdaa2;}class ai extends/* #__PURE__ -- @preserve */
26
- _0x10b750(_0x549bc6){['id'];['revisionNameView'];['revisionActionsView'];['_revision'];['_requireRevisionName'];constructor(_0x48c3f3,_0x1c5d4a,_0x4272c3,_0x1f6673){super(_0x48c3f3);const _0x51a131=this['bindTemplate'],_0x46ac31=function(_0x1b5053,_0x588ee5){const _0x55248b=Array['from'](_0x588ee5['authors'])['filter'](_0x42b5dd=>_0x42b5dd!=_0x588ee5['creator']);return _0x588ee5['creator']&&_0x55248b['unshift'](_0x588ee5['creator']),_0x55248b['map'](_0x5d8c8e=>new ti(_0x1b5053,_0x5d8c8e,_0x5d8c8e==_0x588ee5['creator']));}(_0x48c3f3,_0x1c5d4a);this['id']=_0x1c5d4a['id'],this['_revision']=_0x1c5d4a,this['_requireRevisionName']=_0x1f6673,this['bind']('name','createdAt')['to'](_0x1c5d4a),this['bind']('_createdAtFormatted')['to'](this,'createdAt',_0x5eeeae=>{return _0x129470=_0x48c3f3['uiLanguage'],(_0x35c703=_0x5eeeae)['toLocaleDateString'](_0x129470,{'month':'long','day':'numeric'})+',\x20'+_0x35c703['toLocaleTimeString'](_0x129470,{'hour':'numeric','minute':'numeric'});var _0x129470,_0x35c703;}),this['set']('isSelected',!0x1),this['set']('isHighlighted',!0x1),this['set']('isActionsDropdownOpen',!0x1),this['set']('isReady',!0x1),this['set']('isEnabled',!0x1),this['revisionNameView']=new kt(_0x48c3f3,_0x3222bf),this['revisionNameView']['fieldView']['extendTemplate']({'attributes':{'maxlength':'220'}}),this['revisionNameView']['fieldView']['bind']('value')['to'](this,'name',_0x443842=>_0x443842||this['_createdAtFormatted']),this['revisionNameView']['bind']('isEnabled')['to'](this,'isSelected',this,'isEnabled',(_0x32d827,_0x4888fe)=>_0x32d827&&_0x4888fe),this['revisionActionsView']=_0x4272c3&&_0x4272c3['length']?ni(this,_0x4272c3):'',this['revisionActionsView']&&this['revisionActionsView']['bind']('isEnabled')['to'](this),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision-wrapper',_0x51a131['if']('isConfirm','ck-revision-history-sidebar__revision-wrapper_confirmation_visible')]},'children':[{'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision',_0x51a131['if']('isEnabled','ck-disabled',_0x347665=>!_0x347665),_0x51a131['if']('isSelected','ck-revision-history-sidebar__revision_selected'),_0x51a131['if']('isHighlighted','ck-revision-history-sidebar__revision_highlighted'),_0x51a131['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':_0x51a131['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':_0x46ac31}]},this['revisionActionsView']],'on':{'click':_0x51a131['to'](_0x4782c3=>{_0x4782c3['srcElement']['closest']('.ck-thread__remove-confirm')||this['isReady']&&this['isEnabled']&&this['fire']('select',{'id':this['id']});})}}]});}['render'](){super['render']();const _0x3648a4=this['revisionNameView']['fieldView']['element'];this['listenTo'](_0x3648a4,'change',()=>{this['_requireRevisionName']&&!_0x3648a4['value']||this['fire']('setName',{'id':this['id'],'name':_0x3648a4['value']}),_0x3648a4['value']||(_0x3648a4['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(_0x1a8966,_0xae59b5){const _0x24c341=_0x465eae['fromJSDate'](_0x1a8966)['setLocale'](_0xae59b5),_0x33fe2d=_0x465eae['local'](),_0x4c88af=_0x33fe2d['minus']({'days':0x1})['startOf']('day');let _0x480776,_0x11e2bc;return _0x24c341['hasSame'](_0x33fe2d,'day')?(_0x480776=_0x24c341['startOf']('day')['toJSDate'](),_0x11e2bc=_0x24c341['toRelativeCalendar']()):_0x24c341['hasSame'](_0x4c88af,'day')?(_0x480776=_0x4c88af['toJSDate'](),_0x11e2bc=_0x24c341['toRelativeCalendar']()):_0x24c341['hasSame'](_0x33fe2d,'week')?(_0x480776=_0x24c341['startOf']('week')['toJSDate'](),_0x11e2bc=_0x24c341['weekdayLong']||''):_0x24c341['hasSame'](_0x33fe2d,'year')?(_0x480776=_0x24c341['startOf']('month')['toJSDate'](),_0x11e2bc=_0x24c341['monthLong']||''):(_0x480776=_0x24c341['startOf']('year')['toJSDate'](),_0x11e2bc=String(_0x24c341['year'])),{'startDate':_0x480776,'localizedPeriodName':_0x11e2bc};}class mi extends _0x549bc6{['startDate'];['revisionViews'];['_revisionActions'];['_requireRevisionName'];constructor(_0x1b29f9,_0x21f506,_0x58cbc2,_0x1cfa46){super(_0x1b29f9);const _0x512391=di(_0x21f506,this['locale']['uiLanguage'])['localizedPeriodName'];this['startDate']=_0x21f506,this['revisionViews']=this['createCollection'](),this['_revisionActions']=_0x58cbc2,this['_requireRevisionName']=_0x1cfa46,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':_0x512391}]},{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__time-period__revisions']},'children':this['revisionViews']}]});}['addRevision'](_0xc723c4){const _0x295536=new ai(this['locale'],_0xc723c4,this['_revisionActions'],this['_requireRevisionName']);this['revisionViews']['add'](_0x295536);}['removeRevision'](_0xcc8619){const _0x44a048=this['revisionViews']['find'](_0x25c9a9=>_0x25c9a9['id']===_0xcc8619['id']);this['revisionViews']['remove'](_0x44a048);}}class as extends _0x549bc6{constructor(_0xcbfc92){super(_0xcbfc92);const _0x23ad18=new _0x130abc();_0x23ad18['content']=_0xa07c5a['history'],this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all','ck-revision-history-sidebar__header']},'children':[_0x23ad18,{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__header__label']},'children':[y(_0xcbfc92,'Revision\x20history')]}]});}}class ci extends _0x549bc6{['timePeriodViews'];['_revisions'];['_revisionActions'];['_requireRevisionName'];constructor(_0xf7c811,_0xeb1ad8,_0x4ca22c,_0x766dec){super(_0xf7c811);const _0x22c470=this['bindTemplate'];this['timePeriodViews']=this['createCollection'](),this['timePeriodViews']['delegate']('select')['to'](this),this['timePeriodViews']['delegate']('setName')['to'](this),this['_revisions']=_0xeb1ad8,this['_revisionActions']=_0x4ca22c,this['_requireRevisionName']=_0x766dec,this['on']('select',(_0x3fb5b7,_0x1afd49)=>{this['fire']('revisionSelected',_0x1afd49);}),this['on']('setName',(_0x5164c2,_0x46a867)=>{this['fire']('revisionSetName',_0x46a867);}),this['set']('isEnabled',!0x1),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-rounded-corners','ck-revision-history-sidebar']},'children':[new as(_0xf7c811),{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__timeline',_0x22c470['if']('isEnabled','ck-disabled',_0x31dfd6=>!_0x31dfd6)]},'children':this['timePeriodViews']}]});}['render'](){super['render']();for(const _0xb921a1 of this['_revisions'])this['_addRevision'](_0xb921a1);this['_revisions']['on']('add',(_0x4764fe,_0x5e0bcd)=>{this['_addRevision'](_0x5e0bcd);}),this['_revisions']['on']('remove',(_0x472520,_0x5f4b2c)=>{this['_removeRevision'](_0x5f4b2c);});}get['revisionViews'](){return this['timePeriodViews']['map'](_0x218fe1=>_0x218fe1['revisionViews']['map'](_0x3f03a4=>_0x3f03a4))['flat']();}['selectRevision'](_0x428725){for(const _0x3983ca of this['revisionViews'])_0x428725&&_0x428725['id']===_0x3983ca['id']?_0x3983ca['select']():_0x3983ca['deselect']();}['highlightRevisions'](_0x2d73f7){for(const _0x14d630 of this['revisionViews'])_0x2d73f7['some'](({id:_0x27c10e})=>_0x27c10e===_0x14d630['id'])?_0x14d630['highlight']():_0x14d630['unhighlight']();}['_addRevision'](_0x5f20db){const _0x3ae467=di(_0x5f20db['createdAt'],this['locale']['uiLanguage'])['startDate'];let _0x189c11=this['timePeriodViews']['get'](0x0);_0x189c11&&_0x189c11['startDate']['getTime']()===_0x3ae467['getTime']()||(_0x189c11=new mi(this['locale'],_0x3ae467,this['_revisionActions'],this['_requireRevisionName']),this['timePeriodViews']['add'](_0x189c11)),_0x189c11['addRevision'](_0x5f20db);}['_removeRevision'](_0xc17563){const _0x527f60=di(_0xc17563['createdAt'],this['locale']['uiLanguage'])['startDate'];this['_getTimePeriodViewByStartDate'](_0x527f60)['removeRevision'](_0xc17563);}['_getTimePeriodViewByStartDate'](_0x2482df){return this['timePeriodViews']['find'](_0x5cda28=>_0x5cda28['startDate']['getTime']()===_0x2482df['getTime']());}}class w extends _0x1ea666{['_revisionViewer'];['_revisionsRepository'];['_sidebarView'];static ['defaultRevisionActions']=/* #__PURE__ -- @preserve */
23
+ import{Plugin as _0x56f031,Context as _0x346016,PendingActions as _0xea91c6,icons as _0xca9fa,Command as _0x45d834,ElementApiMixin as rt,Editor as it}from'@ckeditor/ckeditor5-core/dist/index.js';import{ObservableMixin as _0x31507c,uid as _0x57a491,Collection as _0x54dc76,logWarning as _0x4bccf2,FocusTracker as _0x203e2b,KeystrokeHandler as _0x4c6fd7,scrollViewportToShowTarget as _0xe6fb62,ResizeObserver as mt,ElementReplacer as nt,CKEditorError as _0x36eb8f}from'@ckeditor/ckeditor5-utils/dist/index.js';import{Users as _0x344bf0,getMarkerDomElement as _0x1d6702,ConfirmMixin as _0x5e4b43,sanitizeEditorConfig as _0x16597a}from'ckeditor5-collaboration/dist/index.js';import{ViewDocumentFragment as _0x86267c,ViewText as _0x580431,ViewElement as _0x2ca3d6,Element as ft,Range as vt,Position as gt,DocumentFragment as wt,ViewContainerElement as _0x54f977,ViewAttributeElement as _0x27e573,ViewEmptyElement as _0x4c6c9f,ViewRawElement as _0x48908b,ViewUIElement as _0x2b0a85,Text as _t}from'@ckeditor/ckeditor5-engine/dist/index.js';import{cloneDeep as _0x500632,set as _0x5d45bf,unset as _0x1152ac,isEqual as _0x3ec268}from'lodash-es';import{View as _0x71de83,injectCssTransitionDisabler as ts,submitHandler as _0xae21fa,LabeledFieldView as at,createLabeledInputText as _0x37e5f0,createDropdown as _0x628df1,ListView as te,ListItemView as _0x3f3ef9,ButtonView as _0x47f55b,MenuBarMenuView as _0x5ba75a,MenuBarMenuListView as _0x3dfab0,MenuBarMenuListItemView as _0x12dc05,MenuBarMenuListItemButtonView as _0x5807ed,ContextualBalloon as _0x200889,ToolbarSeparatorView as _0x1895ec,IconView as _0x1238d5,addListToDropdown as _0x2de194,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 _0x5018da}from'luxon';class a extends/* #__PURE__ -- @preserve */
24
+ _0x31507c(){['id'];['creator'];['authors'];['diffData'];['toVersion'];['fromVersion'];['model'];constructor(_0x35dca0){super(),this['id']=_0x35dca0['id']||_0x57a491(),this['creator']=_0x35dca0['creator']||null,this['authors']=_0x35dca0['authors']||[],this['diffData']=_0x35dca0['diffData']||null,this['toVersion']=_0x35dca0['toVersion']||0x0,this['fromVersion']=_0x35dca0['fromVersion']||0x0,this['set']('name',_0x35dca0['name']||''),this['set']('createdAt',_0x35dca0['createdAt']||new Date()),this['set']('attributes',_0x35dca0['attributes']||{});}['setName'](_0x2de4dc){this['_update']({'name':_0x2de4dc});}['setAttribute'](_0x296bab,_0x22e7c3){const _0x2c9c81=_0x500632(this['attributes']);_0x5d45bf(_0x2c9c81,_0x296bab,_0x22e7c3),this['_update']({'attributes':_0x2c9c81});}['removeAttribute'](_0x325ae1){const _0x316c55=_0x500632(this['attributes']);_0x1152ac(_0x316c55,_0x325ae1),this['_update']({'attributes':_0x316c55});}['_update'](_0x254d8c,_0x36487a=!0x1){let _0x1c707f=!0x1;const _0x347195={'id':this['id']},_0x33c514=['name','createdAt','diffData','authors','attributes','toVersion','fromVersion','creatorId'];for(const _0x3be943 of _0x33c514){const _0x1a193b=_0x254d8c[_0x3be943];void 0x0!==_0x1a193b&&_0x1a193b!==this[_0x3be943]&&(this[_0x3be943]=_0x1a193b,_0x347195[_0x3be943]=_0x1a193b,_0x1c707f=!0x0);}_0x1c707f&&(_0x347195['authors']&&(_0x347195['authorsIds']=_0x347195['authors']['map'](_0x23486d=>_0x23486d['id']),delete _0x347195['authors']),this['fire']('_update',_0x347195,_0x36487a));}['toJSON'](){return{'id':this['id'],'name':this['name'],'creatorId':this['creator']?this['creator']['id']:null,'authorsIds':this['authors']['map'](_0x2d35b9=>_0x2d35b9['id']),'diffData':this['diffData'],'createdAt':this['createdAt'],'attributes':this['attributes'],'fromVersion':this['fromVersion'],'toVersion':this['toVersion']};}}class A extends _0x56f031{['_revisions'];static get['requires'](){return[_0x344bf0];}static get['pluginName'](){return'RevisionsRepository';}get['length'](){return this['_revisions']['length'];}constructor(_0x563aca){super(_0x563aca),this['_revisions']=new _0x54dc76();}['afterInit'](){!function(_0xcbaf9d){function _0x229999(_0x3b870b,_0x1abb3c,_0x40445d){const _0xab0ad7={};_0xab0ad7[_0x157ffd([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])]={0x10:0xa,0x18:0xc,0x20:0xe},_0xab0ad7[_0x157ffd([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],_0xab0ad7[_0x157ffd([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],_0xab0ad7[_0x157ffd([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],_0xab0ad7[_0x157ffd([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],_0xab0ad7[_0x157ffd([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],_0xab0ad7[_0x157ffd([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],_0xab0ad7[_0x157ffd([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],_0xab0ad7[_0x157ffd([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],_0xab0ad7[_0x157ffd([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],_0xab0ad7[_0x157ffd([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 _0x56d7ad=new Uint8Array(0x10);for(let _0xa56745=0xf;_0xa56745>=0x0;--_0xa56745)_0x56d7ad[_0xa56745]=_0x40445d%0x100,_0x40445d=parseInt(_0x40445d/0x100);let _0x4781c9=null,_0x19e9d8=0x10;const _0x4f40d0=new Uint8Array(_0x1abb3c),_0x58024f=[],_0x147269=[];_0x2b11e2();for(let _0x469da7=0x0;_0x469da7<_0x3b870b[_0x157ffd([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x469da7++)0x10===_0x19e9d8&&(_0x4781c9=_0x117754(_0x56d7ad),_0x19e9d8=0x0,_0x97cee3(_0x56d7ad)),_0x3b870b[_0x469da7]^=_0x4781c9[_0x19e9d8++];return _0x3b870b;function _0x454366(_0x41a1c1){const _0x53cf8c=[];for(let _0xfeb1be=0x0;_0xfeb1be<_0x41a1c1[_0x157ffd([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xfeb1be+=0x4)_0x53cf8c[_0x157ffd([0x70,0x75,0x73,0x68])](_0x41a1c1[_0xfeb1be]<<0x18|_0x41a1c1[_0xfeb1be+0x1]<<0x10|_0x41a1c1[_0xfeb1be+0x2]<<0x8|_0x41a1c1[_0xfeb1be+0x3]);return _0x53cf8c;}function _0x97cee3(_0xee8e54){for(let _0x36470c=0xf;_0x36470c>=0x0;_0x36470c--){if(0xff!==_0xee8e54[_0x36470c]){_0xee8e54[_0x36470c]++;break;}_0xee8e54[_0x36470c]=0x0;}}function _0x117754(_0x4d5ef8){const _0x3bfdf9=_0x58024f[_0x157ffd([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x1,_0x3ac629=[0x0,0x0,0x0,0x0];let t=_0x454366(_0x4d5ef8);for(let _0x5120b5=0x0;_0x5120b5<0x4;_0x5120b5++)t[_0x5120b5]^=_0x58024f[0x0][_0x5120b5];for(let _0x42d75e=0x1;_0x42d75e<_0x3bfdf9;_0x42d75e++){for(let _0x47e37f=0x0;_0x47e37f<0x4;_0x47e37f++)_0x3ac629[_0x47e37f]=_0xab0ad7[_0x157ffd([0x54,0x31])][t[_0x47e37f]>>0x18&0xff]^_0xab0ad7[_0x157ffd([0x54,0x32])][t[(_0x47e37f+0x1)%0x4]>>0x10&0xff]^_0xab0ad7[_0x157ffd([0x54,0x33])][t[(_0x47e37f+0x2)%0x4]>>0x8&0xff]^_0xab0ad7[_0x157ffd([0x54,0x34])][0xff&t[(_0x47e37f+0x3)%0x4]]^_0x58024f[_0x42d75e][_0x47e37f];t=_0x3ac629[_0x157ffd([0x73,0x6c,0x69,0x63,0x65])]();}const _0x3e707a=new Uint8Array(0x10);let _0x5627ad;for(let _0xdedbe=0x0;_0xdedbe<0x4;_0xdedbe++)_0x5627ad=_0x58024f[_0x3bfdf9][_0xdedbe],_0x3e707a[0x4*_0xdedbe]=0xff&(_0xab0ad7[_0x157ffd([0x53])][t[_0xdedbe]>>0x18&0xff]^_0x5627ad>>0x18),_0x3e707a[0x4*_0xdedbe+0x1]=0xff&(_0xab0ad7[_0x157ffd([0x53])][t[(_0xdedbe+0x1)%0x4]>>0x10&0xff]^_0x5627ad>>0x10),_0x3e707a[0x4*_0xdedbe+0x2]=0xff&(_0xab0ad7[_0x157ffd([0x53])][t[(_0xdedbe+0x2)%0x4]>>0x8&0xff]^_0x5627ad>>0x8),_0x3e707a[0x4*_0xdedbe+0x3]=0xff&(_0xab0ad7[_0x157ffd([0x53])][0xff&t[(_0xdedbe+0x3)%0x4]]^_0x5627ad);return _0x3e707a;}function _0x2b11e2(){const _0x3b6cab=_0xab0ad7[_0x157ffd([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])][_0x4f40d0[_0x157ffd([0x6c,0x65,0x6e,0x67,0x74,0x68])]];for(let _0x583319=0x0;_0x583319<=_0x3b6cab;_0x583319++)_0x58024f[_0x157ffd([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]),_0x147269[_0x157ffd([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]);const _0x1c6c5e=0x4*(_0x3b6cab+0x1),_0x2b2627=_0x4f40d0[_0x157ffd([0x6c,0x65,0x6e,0x67,0x74,0x68])]/0x4,_0x4237c6=_0x454366(_0x4f40d0);let _0x39daf0;for(let _0x1eb656=0x0;_0x1eb656<_0x2b2627;_0x1eb656++)_0x39daf0=_0x1eb656>>0x2,_0x58024f[_0x39daf0][_0x1eb656%0x4]=_0x4237c6[_0x1eb656],_0x147269[_0x3b6cab-_0x39daf0][_0x1eb656%0x4]=_0x4237c6[_0x1eb656];let _0x5e45a4,_0x12a884=0x0,t=_0x2b2627;for(;t<_0x1c6c5e;){_0x5e45a4=_0x4237c6[_0x2b2627-0x1],_0x4237c6[0x0]^=_0xab0ad7[_0x157ffd([0x53])][_0x5e45a4>>0x10&0xff]<<0x18^_0xab0ad7[_0x157ffd([0x53])][_0x5e45a4>>0x8&0xff]<<0x10^_0xab0ad7[_0x157ffd([0x53])][0xff&_0x5e45a4]<<0x8^_0xab0ad7[_0x157ffd([0x53])][_0x5e45a4>>0x18&0xff]^_0xab0ad7[_0x157ffd([0x72,0x63,0x6f,0x6e])][_0x12a884]<<0x18,_0x12a884+=0x1;for(let _0x4212c4=0x1;_0x4212c4<_0x2b2627/0x2;_0x4212c4++)_0x4237c6[_0x4212c4]^=_0x4237c6[_0x4212c4-0x1];_0x5e45a4=_0x4237c6[_0x2b2627/0x2-0x1],_0x4237c6[_0x2b2627/0x2]^=_0xab0ad7[_0x157ffd([0x53])][0xff&_0x5e45a4]^_0xab0ad7[_0x157ffd([0x53])][_0x5e45a4>>0x8&0xff]<<0x8^_0xab0ad7[_0x157ffd([0x53])][_0x5e45a4>>0x10&0xff]<<0x10^_0xab0ad7[_0x157ffd([0x53])][_0x5e45a4>>0x18&0xff]<<0x18;for(let _0x465b11=_0x2b2627/0x2+0x1;_0x465b11<_0x2b2627;_0x465b11++)_0x4237c6[_0x465b11]^=_0x4237c6[_0x465b11-0x1];let _0x16d52d,_0x5b76ea,_0x2e6bf9=0x0;for(;_0x2e6bf9<_0x2b2627&&t<_0x1c6c5e;)_0x16d52d=t>>0x2,_0x5b76ea=t%0x4,_0x58024f[_0x16d52d][_0x5b76ea]=_0x4237c6[_0x2e6bf9],_0x147269[_0x3b6cab-_0x16d52d][_0x5b76ea]=_0x4237c6[_0x2e6bf9++],t++;}for(let _0x334f44=0x1;_0x334f44<_0x3b6cab;_0x334f44++)for(let _0x321fce=0x0;_0x321fce<0x4;_0x321fce++)_0x5e45a4=_0x147269[_0x334f44][_0x321fce],_0x147269[_0x334f44][_0x321fce]=_0xab0ad7[_0x157ffd([0x55,0x31])][_0x5e45a4>>0x18&0xff]^_0xab0ad7[_0x157ffd([0x55,0x32])][_0x5e45a4>>0x10&0xff]^_0xab0ad7[_0x157ffd([0x55,0x33])][_0x5e45a4>>0x8&0xff]^_0xab0ad7[_0x157ffd([0x55,0x34])][0xff&_0x5e45a4];}}function _0x157ffd(_0x82f7e){return _0x82f7e['map'](_0x236642=>String['fromCharCode'](_0x236642))['join']('');}(_0x5aed59=>{function _0x4def59(){const _0x23cde7=[{[_0x157ffd([0x69,0x64])]:0x1,[_0x157ffd([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x157ffd([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73]),[_0x157ffd([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x157ffd([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x157ffd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x157ffd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x157ffd([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x157ffd([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x157ffd([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]:[{[_0x157ffd([0x69,0x64])]:0x2,[_0x157ffd([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x157ffd([0x54,0x72,0x61,0x63,0x6b,0x20,0x43,0x68,0x61,0x6e,0x67,0x65,0x73]),[_0x157ffd([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x157ffd([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x157ffd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x157ffd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x157ffd([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x157ffd([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]),[_0x157ffd([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x157ffd([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x157ffd([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x157ffd([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}}],[_0x157ffd([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x157ffd([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x157ffd([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x157ffd([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x157ffd([0x69,0x64])]:0x3,[_0x157ffd([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x157ffd([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e]),[_0x157ffd([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x157ffd([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x6f,0x6f,0x6b,0x75,0x70]),[_0x157ffd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x157ffd([0x70,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x157ffd([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x157ffd([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x157ffd([0x69,0x64])]:0x4,[_0x157ffd([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x157ffd([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x20,0x48,0x69,0x73,0x74,0x6f,0x72,0x79]),[_0x157ffd([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x157ffd([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x157ffd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x157ffd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x157ffd([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x157ffd([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]),[_0x157ffd([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x157ffd([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x157ffd([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x157ffd([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x157ffd([0x69,0x64])]:0x5,[_0x157ffd([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x157ffd([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x20,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65]),[_0x157ffd([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x157ffd([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65,0x55,0x49]),[_0x157ffd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x157ffd([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]),[_0x157ffd([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x157ffd([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x157ffd([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x157ffd([0x66,0x67,0x69])]:[0xc]}},{[_0x157ffd([0x69,0x64])]:0x6,[_0x157ffd([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x157ffd([0x46,0x6f,0x72,0x6d,0x61,0x74,0x20,0x50,0x61,0x69,0x6e,0x74,0x65,0x72]),[_0x157ffd([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x157ffd([0x46,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x55,0x49]),[_0x157ffd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x157ffd([0x66,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x157ffd([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x157ffd([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x157ffd([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x157ffd([0x66,0x67,0x69])]:[0xc]}},{[_0x157ffd([0x69,0x64])]:0x7,[_0x157ffd([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x157ffd([0x53,0x6c,0x61,0x73,0x68,0x20,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64]),[_0x157ffd([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x157ffd([0x53,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x55,0x49]),[_0x157ffd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x157ffd([0x73,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x157ffd([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x157ffd([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x157ffd([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x157ffd([0x66,0x67,0x69])]:[0xc]}},{[_0x157ffd([0x69,0x64])]:0x8,[_0x157ffd([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x157ffd([0x54,0x61,0x62,0x6c,0x65,0x20,0x6f,0x66,0x20,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73]),[_0x157ffd([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x157ffd([0x54,0x61,0x62,0x6c,0x65,0x4f,0x66,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x157ffd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x157ffd([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]),[_0x157ffd([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x157ffd([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x157ffd([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x157ffd([0x66,0x67,0x69])]:[0xc]}},{[_0x157ffd([0x69,0x64])]:0x9,[_0x157ffd([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x157ffd([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65]),[_0x157ffd([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x157ffd([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x55,0x49]),[_0x157ffd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x157ffd([0x74,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x157ffd([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x157ffd([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x157ffd([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x157ffd([0x66,0x67,0x69])]:[0xc,0xe]}},{[_0x157ffd([0x69,0x64])]:0xa,[_0x157ffd([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x157ffd([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]),[_0x157ffd([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x157ffd([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]),[_0x157ffd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x157ffd([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]),[_0x157ffd([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x157ffd([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x157ffd([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x157ffd([0x66,0x67,0x69])]:[0xc]}},{[_0x157ffd([0x69,0x64])]:0xb,[_0x157ffd([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x157ffd([0x41,0x49,0x20,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74]),[_0x157ffd([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x157ffd([0x41,0x49,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74,0x55,0x49]),[_0x157ffd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x157ffd([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x157ffd([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x157ffd([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x157ffd([0x69,0x64])]:0xc,[_0x157ffd([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x157ffd([0x50,0x72,0x6f,0x64,0x75,0x63,0x74,0x69,0x76,0x69,0x74,0x79,0x20,0x70,0x61,0x63,0x6b])},{[_0x157ffd([0x69,0x64])]:0xd,[_0x157ffd([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x157ffd([0x43,0x61,0x73,0x65,0x20,0x43,0x68,0x61,0x6e,0x67,0x65]),[_0x157ffd([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x157ffd([0x43,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x55,0x49]),[_0x157ffd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x157ffd([0x63,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x157ffd([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x157ffd([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x157ffd([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x157ffd([0x66,0x67,0x69])]:[0xc]}},{[_0x157ffd([0x69,0x64])]:0xe,[_0x157ffd([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x157ffd([0x44,0x72,0x75,0x70,0x61,0x6c,0x20,0x70,0x61,0x63,0x6b]),[_0x157ffd([0x66,0x6f,0x72,0x62,0x69,0x64,0x64,0x65,0x6e,0x48,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x157ffd([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])},{[_0x157ffd([0x69,0x64])]:0xf,[_0x157ffd([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x157ffd([0x4d,0x75,0x6c,0x74,0x69,0x20,0x4c,0x65,0x76,0x65,0x6c,0x20,0x4c,0x69,0x73,0x74]),[_0x157ffd([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x157ffd([0x4d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x157ffd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x157ffd([0x6d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x157ffd([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x157ffd([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x157ffd([0x69,0x64])]:0x10,[_0x157ffd([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x157ffd([0x4d,0x65,0x72,0x67,0x65,0x20,0x54,0x61,0x67,0x73]),[_0x157ffd([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x157ffd([0x4d,0x65,0x72,0x67,0x65,0x54,0x61,0x67,0x73,0x55,0x49]),[_0x157ffd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x157ffd([0x6d,0x65,0x72,0x67,0x65,0x54,0x61,0x67,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x157ffd([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x157ffd([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x157ffd([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x157ffd([0x66,0x67,0x69])]:[0xc]}}];return _0x2cb71c(_0x23cde7),_0x23cde7;function _0x581d40(_0x505222){return 0x1<<_0x505222-0x1;}function _0x2cb71c(_0x16c6e6){_0x16c6e6[_0x157ffd([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x4a12dd=>{_0x4a12dd[_0x157ffd([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]=_0x581d40(_0x4a12dd[_0x157ffd([0x69,0x64])]),_0x3b9d42(_0x4a12dd)&&_0x4a12dd[_0x157ffd([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x2cb71c(_0x4a12dd[_0x157ffd([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]);});}}function _0x3b9d42(_0xfb21e4){return _0x157ffd([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])in _0xfb21e4;}const _0x31fddc=[0x1,0x55,0x4e,0x73,0xc6,0xff,0x32,0x70,0x53,0x57,0xa1],_0x16cdbc=[0x7f,0x22,0x6,0xd3,0xa7,0x56,0x92,0xc7,0x84,0xa0,0x12];function _0x2ea603(_0x1962ea){const _0x2ce31=[0x1d,0xdd,0xaf,0x5a,0xe7,0x85,0xef,0xf0,0x4b,0xb4];return _0x4e807a(_0x1962ea,new Uint8Array([..._0x31fddc,..._0x2ce31,..._0x16cdbc]));}function _0x4e807a(_0x3f27c7,_0x4d9eb4){const _0x4a8bbd=_0x351baa(_0x3f27c7),_0x2b4413=Array[_0x157ffd([0x66,0x72,0x6f,0x6d])](_0x565215(_0x4a8bbd)),_0x50321b=_0x2b4413[_0x157ffd([0x70,0x6f,0x70])](),_0x22def6=_0x2b4413[_0x157ffd([0x70,0x6f,0x70])]();return _0x3211e5(_0x229999(_0x2b4413,_0x4d9eb4,_0x22def6+0x100*_0x50321b));}function _0x351baa(_0x7dda80){const _0x14c4bf=atob(_0x7dda80),[_0x29e0d6,_0xec7b98]=_0x14c4bf[_0x157ffd([0x73,0x70,0x6c,0x69,0x74])](_0x157ffd([0x2d]));try{if(atob(_0xec7b98))return atob(_0x29e0d6);}catch(_0x29b45a){}return _0x14c4bf;}function _0x3722dc(_0x1430bb){try{const _0x36a5b7=_0x2ea603(_0x1430bb),_0x249810=JSON[_0x157ffd([0x70,0x61,0x72,0x73,0x65])](_0x36a5b7),_0x556706=parseInt(_0x249810[_0x157ffd([0x31])]),_0x499ef9=_0x249810[_0x157ffd([0x32])]||'',_0xb8d5c0=parseInt(_0x249810[_0x157ffd([0x33])]),_0x513510=parseInt(_0x249810[_0x157ffd([0x34])])||0x0,_0x205976=parseInt(_0x249810[_0x157ffd([0x35])])||0x0;return{[_0x157ffd([0x70,0x72,0x6f,0x64,0x75,0x63,0x74,0x4e,0x61,0x6d,0x65])]:_0x499ef9,[_0x157ffd([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])]:_0x513510,[_0x157ffd([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]:_0x556706,[_0x157ffd([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]:_0xb8d5c0,[_0x157ffd([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]:_0x205976};}catch(_0x5475dc){return null;}}const _0x5cadff=_0x4def59(),_0x45fa85={[_0x157ffd([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])]:_0x5d7a77,[_0x157ffd([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])]:_0x241883,[_0x157ffd([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])]:_0x274879},_0x4065e9=_0x5aed59[_0x157ffd([0x63,0x6f,0x6e,0x73,0x74,0x72,0x75,0x63,0x74,0x6f,0x72])][_0x157ffd([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])],_0x415cfb=_0x157ffd([0x63,0x6f,0x6e,0x74,0x65,0x78,0x74])in _0x5aed59?_0x5aed59['context']:_0x5aed59['editor'],_0x5452f2=_0x157ffd([0x34,0x30,0x34,0x38,0x31,0x32,0x35,0x30]),_0x167a14=_0x157ffd([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]),_0x2c3eb2=_0x415cfb['config']['get'](_0x157ffd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x49fe1d=_0x5cadff[_0x157ffd([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3b9d42)[_0x157ffd([0x66,0x69,0x6e,0x64])](_0x313403=>_0x313403[_0x157ffd([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]===_0x4065e9);function _0x574c62(_0x5d2d8f,_0x33905d){_0x45fa85[_0x33905d[_0x157ffd([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]](_0x5d2d8f,_0x33905d),_0x33905d[_0x157ffd([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x33905d[_0x157ffd([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])][_0x157ffd([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x449828=>_0xe3eaee(_0x415cfb,_0x449828[_0x157ffd([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))[_0x157ffd([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0xe3486e=>_0x574c62(_0x5d2d8f,_0xe3486e));}function _0x5d7a77(_0x8884a2,_0x24dd84){_0x438333(_0x22fd0a(_0x8884a2,_0x24dd84),_0x24dd84);}function _0x241883(_0x78ea4e,_0x118850){function _0x4d3831(_0x2efa1c,_0x56c751){try{if(_0xe3eaee(_0x415cfb,_0x157ffd([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))&&_0x2efa1c){const _0x15cf0b=_0x3453a0(_0x415cfb,_0x157ffd([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))[_0x157ffd([0x5f,0x65,0x78,0x65,0x63,0x75,0x74,0x65,0x53,0x75,0x67,0x67,0x65,0x73,0x74,0x69,0x6f,0x6e])];if(parseInt(_0x15cf0b)/0x2>_0x2efa1c[_0x157ffd([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])])return _0x2ca048(_0x56c751[_0x157ffd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x157ffd([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}return _0x22fd0a(_0x2efa1c,_0x56c751);}catch(_0x4a278a){return _0x2ca048(_0x56c751[_0x157ffd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x157ffd([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}_0x438333(_0x4d3831(_0x78ea4e,_0x118850),_0x118850);}function _0x274879(_0x4a6e1f,_0x4a880c){const _0x3e52a1=_0x16cdbc[0x0]*_0x31fddc[0x1],_0x3b5047=_0x16cdbc[0x0]*_0x31fddc[0x2],_0x2d50a1=_0x16cdbc[0x2]*_0x31fddc[0x2];_0xe3eaee(_0x415cfb,_0x157ffd([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x3453a0(_0x415cfb,_0x157ffd([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x157ffd([0x73,0x74,0x61,0x74,0x65])]==_0x157ffd([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&(window[_0x578e7f()]=_0x2d50a1);function _0x2bb486(_0xf40ebe,_0x548ce0){try{return _0x433d8c()?_0x2ca048(_0x548ce0[_0x157ffd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x157ffd([0x56,0x61,0x6c,0x69,0x64])):_0x22fd0a(_0xf40ebe,_0x548ce0);}catch(_0x50e531){return _0x2ca048(_0x548ce0[_0x157ffd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x157ffd([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0xe729cb(_0x86004b,_0x393cec){const _0x26091d=0x7;if(_0x86004b==_0x393cec[_0x157ffd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x157ffd([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]))_0x5178f2();else{if(_0x86004b==_0x393cec[_0x157ffd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x157ffd([0x54,0x72,0x69,0x61,0x6c])){const _0x56fae3=_0xe4f278();_0x56fae3&&_0xdf4d92(_0x56fae3,_0x393cec[_0x157ffd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);const _0x21161b=_0x8374ea();window[_0x157ffd([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0xdf4d92(_0x157ffd([0x74,0x69,0x6d,0x65]),_0x393cec[_0x157ffd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);},_0x21161b);const _0x51c7e9=_0x3453a0(_0x415cfb,_0x157ffd([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x157ffd([0x5f,0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73])];_0x51c7e9[_0x157ffd([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x26091d?_0xdf4d92(_0x157ffd([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x393cec[_0x157ffd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]):_0x51c7e9['on'](_0x157ffd([0x61,0x64,0x64]),()=>{_0x51c7e9[_0x157ffd([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x26091d&&_0xdf4d92(_0x157ffd([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x393cec[_0x157ffd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);});}}}function _0xe4f278(){if(!_0xe3eaee(_0x415cfb,_0x157ffd([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x107cec in window)if(Number['isNaN'](Number(_0x107cec))){if(window[_0x107cec]===_0x3e52a1)return _0x157ffd([0x74,0x69,0x6d,0x65]);if(window[_0x107cec]===_0x3b5047)return _0x157ffd([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]);}return!0x1;}function _0x433d8c(){if(!_0xe3eaee(_0x415cfb,_0x157ffd([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0xc6cb6 in window)if(Number['isNaN'](Number(_0xc6cb6))&&window[_0xc6cb6]===_0x2d50a1)return!0x0;return!0x1;}function _0xdf4d92(_0x30d313,_0x1b9cda){_0x5178f2(),_0x2ca048(_0x1b9cda+_0x157ffd([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a])+_0x30d313),window[_0x578e7f()]=_0x30d313===_0x157ffd([0x74,0x69,0x6d,0x65])?_0x3e52a1:_0x3b5047;}function _0x8374ea(){let _0xc03940=_0x16cdbc[0x6]*_0x31fddc[0x8]*_0x31fddc[0x6];return _0xe3eaee(_0x415cfb,_0x157ffd([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0xc03940/=0xa),_0xc03940;}function _0x5178f2(){const _0x55c06e=_0x415cfb;function _0x1fc7be(){_0xe3eaee(_0x55c06e,_0x157ffd([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&(_0x3453a0(_0x55c06e,_0x157ffd([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x157ffd([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x157ffd([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x3453a0(_0x55c06e,_0x157ffd([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x157ffd([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x3453a0(_0x55c06e,_0x157ffd([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x157ffd([0x75,0x70,0x64,0x61,0x74,0x65])]=_0x20be4b,_0x3453a0(_0x55c06e,_0x157ffd([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x157ffd([0x73,0x61,0x76,0x65,0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e])]=_0x20be4b,_0x55c06e[_0x157ffd([0x6d,0x6f,0x64,0x65,0x6c])][_0x157ffd([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x20be4b,_0x55c06e[_0x157ffd([0x6d,0x6f,0x64,0x65,0x6c])][_0x157ffd([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x20be4b,_0x55c06e[_0x157ffd([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x157ffd([0x6d,0x6f,0x64,0x65,0x6c]))),_0xe3eaee(_0x55c06e,_0x157ffd([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x3453a0(_0x55c06e,_0x157ffd([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x157ffd([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x157ffd([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x3453a0(_0x55c06e,_0x157ffd([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x157ffd([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x3453a0(_0x55c06e,_0x157ffd([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x157ffd([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])]=_0x20be4b,_0x3453a0(_0x55c06e,_0x157ffd([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x157ffd([0x5f,0x67,0x65,0x74,0x44,0x69,0x66,0x66])]=_0x20be4b);}_0x55c06e[_0x157ffd([0x73,0x74,0x61,0x74,0x65])]==_0x157ffd([0x72,0x65,0x61,0x64,0x79])?_0x1fc7be():_0x55c06e[_0x157ffd([0x6f,0x6e,0x63,0x65])](_0x157ffd([0x72,0x65,0x61,0x64,0x79]),()=>{if(_0xe3eaee(_0x55c06e,_0x157ffd([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&_0x1fc7be(),_0xe3eaee(_0x55c06e,_0x157ffd([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))){const _0x1140bf=_0x3453a0(_0x55c06e,_0x157ffd([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79])),_0xe6e6d=_0x1140bf['getRevision'](0x0),_0x5b9688=_0x1140bf['getEarlierVisibleRevision'](_0xe6e6d[_0x157ffd([0x69,0x64])]);_0x3453a0(_0x55c06e,_0x157ffd([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x157ffd([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])](_0xe6e6d[_0x157ffd([0x69,0x64])],_0x5b9688?_0x5b9688[_0x157ffd([0x69,0x64])]:null,0x1)['then'](()=>_0x1fc7be());}});}_0xe729cb(_0x2bb486(_0x4a6e1f,_0x4a880c),_0x4a880c);}function _0x22fd0a(_0x23a3dd,_0x6a1c0a){try{return _0x3e6adc(_0x6a1c0a)?_0x2ca048(_0x6a1c0a[_0x157ffd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x157ffd([0x56,0x61,0x6c,0x69,0x64])):_0x23a3dd&&_0x3b2317(_0x23a3dd[_0x157ffd([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])],_0x6a1c0a)?_0x23a3dd[_0x157ffd([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]&&!window[_0x157ffd([0x6f,0x70,0x65,0x6e])][_0x157ffd([0x63,0x6c,0x6f,0x73,0x65,0x64])]||parseInt(_0x5452f2)/0x2>_0x23a3dd[_0x157ffd([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]?_0x2ca048(_0x6a1c0a[_0x157ffd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x157ffd([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])):_0x23a3dd[_0x157ffd([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]?_0x2ca048(_0x6a1c0a[_0x157ffd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x157ffd([0x54,0x72,0x69,0x61,0x6c])):_0x2ca048(_0x6a1c0a[_0x157ffd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x157ffd([0x56,0x61,0x6c,0x69,0x64])):_0x2ca048(_0x6a1c0a[_0x157ffd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x157ffd([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}catch(_0x38ceaa){return _0x2ca048(_0x6a1c0a[_0x157ffd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x157ffd([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x438333(_0x36b0fb,_0x2f08d9){if(_0x415cfb instanceof _0x346016){const _0x2fff4b=_0x415cfb;_0x36b0fb==_0x2f08d9[_0x157ffd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x157ffd([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x364721(_0x2fff4b):_0x36b0fb==_0x2f08d9[_0x157ffd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x157ffd([0x54,0x72,0x69,0x61,0x6c])&&window[_0x157ffd([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x364721(_0x2fff4b),_0x2ca048(_0x2f08d9[_0x157ffd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x157ffd([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65]));},_0x16cdbc[0x6]*_0x31fddc[0x8]*_0x31fddc[0x6]),_0x2fff4b[_0x157ffd([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])][_0x157ffd([0x6f,0x6e])](_0x157ffd([0x61,0x64,0x64]),(_0x4eea2b,_0xcb7f1e)=>{_0x36b0fb!=_0x2f08d9[_0x157ffd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x157ffd([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])&&_0x36b0fb!=_0x2f08d9[_0x157ffd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x157ffd([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65])&&_0x36b0fb!=_0x2f08d9[_0x157ffd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x157ffd([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])||_0x578620(_0xcb7f1e);});}else{const _0x425bc4=_0x415cfb;_0x36b0fb==_0x2f08d9[_0x157ffd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x157ffd([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x578620(_0x425bc4):_0x36b0fb==_0x2f08d9[_0x157ffd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x157ffd([0x54,0x72,0x69,0x61,0x6c])&&_0x425bc4[_0x157ffd([0x6f,0x6e])](_0x157ffd([0x72,0x65,0x61,0x64,0x79]),()=>{let _0x596bce=0x0;_0x425bc4[_0x157ffd([0x6d,0x6f,0x64,0x65,0x6c])][_0x157ffd([0x6f,0x6e])](_0x157ffd([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x487619,_0x42845f)=>{_0x42845f[0x0][_0x157ffd([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x596bce++,0x1f8===_0x596bce&&(_0x578620(_0x425bc4),_0x2ca048(_0x2f08d9[_0x157ffd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x157ffd([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])),_0x487619[_0x157ffd([0x6f,0x66,0x66])]());},{'priority':_0x157ffd([0x68,0x69,0x67,0x68,0x65,0x73,0x74])});});}}function _0x2ca048(_0x19fe8b){const _0x2c81e5=_0x578e7f();return _0x415cfb[_0x2c81e5]=_0x19fe8b,_0x19fe8b;}function _0x578e7f(){const _0x38cb77=String(window[_0x157ffd([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x157ffd([0x6e,0x6f,0x77])]())[_0x157ffd([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x157ffd([0x2e]),'');let _0x1c8c11='';for(let _0x89636=0x0;_0x89636<_0x38cb77[_0x157ffd([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x89636+=0x2){let _0x102b14=parseInt(_0x38cb77[_0x157ffd([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x89636,_0x89636+0x2));_0x102b14>=_0x167a14[_0x157ffd([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x102b14-=_0x167a14[_0x157ffd([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x1c8c11+=_0x167a14[_0x102b14];}return _0x1c8c11;}function _0x364721(_0x33e8bd){for(const _0x2467bd of _0x33e8bd[_0x157ffd([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])])_0x578620(_0x2467bd);_0x3453a0(_0x33e8bd,_0x157ffd([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x157ffd([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])](!0x0),_0x3453a0(_0x33e8bd,_0x157ffd([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x157ffd([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])]=_0x20be4b;}function _0x578620(_0x186b7d){function _0x39cbbe(){_0x186b7d[_0x157ffd([0x6d,0x6f,0x64,0x65,0x6c])][_0x157ffd([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x20be4b,_0x186b7d[_0x157ffd([0x6d,0x6f,0x64,0x65,0x6c])][_0x157ffd([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x20be4b,_0x186b7d[_0x157ffd([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x157ffd([0x6d,0x6f,0x64,0x65,0x6c]));}_0x186b7d[_0x157ffd([0x73,0x74,0x61,0x74,0x65])]==_0x157ffd([0x72,0x65,0x61,0x64,0x79])?_0x39cbbe():_0x186b7d[_0x157ffd([0x6f,0x6e,0x63,0x65])](_0x157ffd([0x72,0x65,0x61,0x64,0x79]),()=>_0x39cbbe());}function _0x20be4b(){return null;}function _0x3b2317(_0x1a15f1,_0x5b15b2){const _0x6465c6=!!(_0x1a15f1&_0x5b15b2[_0x157ffd([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]),_0x183439=_0x45ad61(_0x1a15f1,_0x5b15b2);return _0x6465c6||_0x183439;}function _0x45ad61(_0x2ebd96,_0x4d324a){const _0x30fb93=(_0x4d324a[_0x157ffd([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{})[_0x157ffd([0x66,0x67,0x69])]||null;return!!_0x30fb93&&_0x5cadff[_0x157ffd([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xaa9e60=>_0x30fb93[_0x157ffd([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xaa9e60[_0x157ffd([0x69,0x64])]))[_0x157ffd([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x12e497=>!_0x50530e(_0x12e497))[_0x157ffd([0x73,0x6f,0x6d,0x65])](_0x2f7d14=>!!(_0x2ebd96&_0x2f7d14[_0x157ffd([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]));}function _0x50530e(_0x86c7f2){const _0x2c3c42={[_0x157ffd([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])]:_0x4c593e};return!!_0x86c7f2['forbiddenHandler']&&_0x2c3c42[_0x86c7f2['forbiddenHandler']]();}function _0x4c593e(){return!window[_0x157ffd([0x44,0x72,0x75,0x70,0x61,0x6c])]||!_0xe3eaee(_0x415cfb,_0x157ffd([0x64,0x72,0x75,0x70,0x61,0x6c,0x50,0x6f,0x77,0x65,0x72,0x65,0x64,0x42,0x79]));}function _0x3e6adc(_0x26f03f){if(!_0xe3eaee(_0x415cfb,_0x26f03f[_0x157ffd([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))return!0x0;const _0x2b932a=_0x26f03f[_0x157ffd([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{},_0x50beaf=_0x2b932a[_0x157ffd([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]||!0x1,_0x3f96cd=_0x2b932a[_0x157ffd([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]||!0x1,_0x57be19=_0x2b932a[_0x157ffd([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]||!0x1;if(_0xe3eaee(_0x415cfb,_0x157ffd([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x3453a0(_0x415cfb,_0x157ffd([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x157ffd([0x73,0x74,0x61,0x74,0x65])]==_0x157ffd([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&_0x50beaf)return!0x0;if(_0xe3eaee(_0x415cfb,_0x157ffd([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))&&_0x3453a0(_0x415cfb,_0x157ffd([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))[_0x157ffd([0x72,0x65,0x73,0x75,0x6c,0x74])]==_0x157ffd([0x65,0x6e,0x64])&&_0x3f96cd)return!0x0;return!(!_0xe3eaee(_0x415cfb,_0x157ffd([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]))||_0x3453a0(_0x415cfb,_0x157ffd([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]))[_0x157ffd([0x72,0x65,0x73,0x75,0x6c,0x74])]!=_0x157ffd([0x65,0x6e,0x64])||!_0x57be19);}function _0xe3eaee(_0x475d9b,_0x17f485){return _0x475d9b[_0x157ffd([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x157ffd([0x68,0x61,0x73])](_0x17f485);}function _0x3453a0(_0x26472a,_0x14efeb){return _0x26472a[_0x157ffd([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x157ffd([0x67,0x65,0x74])](_0x14efeb);}function _0x3211e5(_0x1d9fba){let _0x2f55ae='';for(const _0x527ccf of _0x1d9fba)_0x2f55ae+=String[_0x157ffd([0x66,0x72,0x6f,0x6d,0x43,0x68,0x61,0x72,0x43,0x6f,0x64,0x65])](_0x527ccf);return _0x2f55ae;}function _0x565215(_0x578fb8){const _0x5ced7c=new Uint8Array(_0x578fb8[_0x157ffd([0x6c,0x65,0x6e,0x67,0x74,0x68])]);for(let _0x5e3707=0x0;_0x5e3707<_0x578fb8[_0x157ffd([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5e3707++)_0x5ced7c[_0x5e3707]=_0x578fb8[_0x157ffd([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x5e3707);return _0x5ced7c;}_0x49fe1d&&_0x574c62(_0x3722dc(_0x2c3eb2),_0x49fe1d);})(_0xcbaf9d);}(this);}['createRevision'](_0xc9165a){const _0x1011d6=this['editor']['plugins']['get']('Users');return new a({'id':_0xc9165a['id'],'name':_0xc9165a['name'],'creator':_0xc9165a['creatorId']?_0x1011d6['getUser'](_0xc9165a['creatorId']):null,'diffData':_0xc9165a['diffData']||_0xc9165a['data'],'authors':_0xc9165a['authorsIds']['map'](_0x124f61=>_0x1011d6['getUser'](_0x124f61)),'createdAt':new Date(_0xc9165a['createdAt']),'attributes':_0xc9165a['attributes'],'fromVersion':_0xc9165a['fromVersion'],'toVersion':_0xc9165a['toVersion']});}['addRevision'](_0x48299e,_0x549a7c=0x0){this['_revisions']['add'](_0x48299e,_0x549a7c);}['getRevision'](_0x43282d){return this['_revisions']['get'](_0x43282d);}['getRevisions'](_0x232787={'toJSON':!0x1}){const _0x1db20d=Array['from'](this['_revisions']);return _0x1db20d['reverse'](),_0x232787['toJSON']?_0x1db20d['map'](_0x92e65a=>_0x92e65a['toJSON']()):_0x1db20d;}['getIndex'](_0x7e3c0f){return this['_revisions']['getIndex'](_0x7e3c0f);}['getEarlierVisibleRevision'](_0x25c455){const [,_0x30ccba]=this['getRevisionsIterator'](_0x25c455,{'direction':'earlier'});return _0x30ccba;}['getLaterVisibleRevision'](_0x191d4c){const [,_0x5ad89a]=this['getRevisionsIterator'](_0x191d4c,{'direction':'later'});return _0x5ad89a;}['getRevisionsInDiff'](_0x30ce88){const _0x3e7259=[];for(const _0x5aabe0 of this['getRevisionsIterator'](_0x30ce88['newRevisionId']))if(_0x3e7259['push'](_0x5aabe0),_0x5aabe0['id']===_0x30ce88['oldRevisionId'])break;return _0x3e7259;}*['getRevisionsIterator'](_0x70ba13,{direction:_0x170076='earlier',filter:_0x3dceb0=_0x25738d=>!0x0}={}){const _0x1ae742='earlier'===_0x170076?0x1:-0x1;let _0x39ce1b=this['_revisions']['get'](_0x70ba13),_0x3ed7f5=this['getIndex'](_0x39ce1b);for(yield _0x39ce1b;_0x39ce1b;){if(_0x3ed7f5+=_0x1ae742,_0x39ce1b=this['getRevision'](_0x3ed7f5),!_0x39ce1b)return;_0x3dceb0(_0x39ce1b)&&(yield _0x39ce1b);}}}function y(_0x4ffcab,_0x544bcf,_0x3867d5){const t=_0x4ffcab['t'];switch(_0x544bcf){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'},_0x3867d5);case'X_OF_Y_CHANGES':return t({'string':'%0\x20of\x20%1','id':'X_OF_Y_CHANGES'},_0x3867d5);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':_0x54f977,'a':_0x27e573,'e':_0x4c6c9f,'r':_0x48908b,'u':_0x2b0a85};class l extends _0x56f031{['adapter'];['currentRevision'];['repository'];['_revisionDataBuilder'];['_source'];['_initialRevisionId'];['_bufferedUpdates'];['_pendingAction'];['_continueCurrentRevision'];['_startingVersion'];['_loadedStateData'];static get['pluginName'](){return'RevisionTracker';}static get['requires'](){return[_0x344bf0,A,_0xea91c6];}constructor(_0x4bb287){super(_0x4bb287),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 _0x45a871=_0x57a491();this['_source']={'history':this['editor']['model']['document']['history'],'getLatestVersion':()=>Promise['resolve'](this['editor']['model']['document']['version']),'getCurrentRevisionId':()=>_0x45a871},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 _0xf80046=this['repository']['getRevision'](0x0),_0x469155=_0xf80046&&null===_0xf80046['creator']?_0xf80046:null;if(this['_continueCurrentRevision']=!!_0x469155&&this['editor']['config']['get']('revisionHistory.resumeUnsavedRevision'),this['editor']['plugins']['has']('RealTimeCollaborationClient')){const _0x24b063=this['_source']['getCurrentRevisionId'](),_0x55b86b=this['repository']['getRevision'](_0x24b063);if(_0x55b86b)this['_startingVersion']=_0x55b86b['fromVersion'],this['_continueCurrentRevision']=!0x1;else{const _0xe6cc9e=this['_source']['history']['_operations']['find'](_0x15f3c5=>!_0x15f3c5['_isInit']),_0x3af926=_0xe6cc9e?_0xe6cc9e['baseVersion']:this['_source']['history']['version'];_0xf80046?(_0xf80046['toVersion']<_0x3af926&&_0xf80046['_update']({'toVersion':_0x3af926}),this['_continueCurrentRevision']?(this['_source']['getCurrentRevisionId']=()=>_0x469155['id'],this['_startingVersion']=_0x469155['fromVersion']):(this['_startingVersion']=_0xf80046['toVersion'],this['_continueCurrentRevision']=!0x1)):(this['_startingVersion']=_0x3af926,this['_continueCurrentRevision']=!0x1);}}else _0x469155&&(this['editor']['model']['document']['history']['version']=Math['max'](_0x469155['toVersion'],this['editor']['model']['document']['history']['version']),_0x469155['fromVersion']===_0x469155['toVersion']?(0x0!==_0x469155['fromVersion']&&(this['_source']['getCurrentRevisionId']=()=>_0x469155['id']),this['_continueCurrentRevision']=!0x1):this['_continueCurrentRevision']&&(this['_source']['getCurrentRevisionId']=()=>_0x469155['id'],this['_startingVersion']=_0x469155['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',_0x5512fa=>!_0x5512fa);}async['afterInit'](){if(this['repository']['length']>0x0){const _0x517543=this['repository']['getRevision'](0x0),_0x11be3f=await this['getRevisionDocumentData'](_0x517543),_0x291c92=await this['getRevisionRootsAttributes'](_0x517543);this['_replaceEditorDataWithRevisionData'](_0x11be3f,_0x291c92);}}['setSource'](_0x385318){this['_source']=_0x385318;}async['update'](){const _0x4ad638=await this['_source']['getLatestVersion']();if(_0x4ad638>this['currentRevision']['toVersion']){await this['_loadState']();const _0xd51352=this['buildRevisionData']({'revision':this['currentRevision'],'to':_0x4ad638});_0xd51352['authors']=_0xd51352['authorsIds']['map'](_0x1553af=>this['editor']['plugins']['get']('Users')['getUser'](_0x1553af)),this['currentRevision']['_update'](_0xd51352);}}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'](_0x313eb0={},_0x201518=null){const _0x5c952d=[];await this['_loadState'](),this['_continueCurrentRevision']=!0x1,_0x201518>this['currentRevision']['toVersion']&&(_0x201518=null),null===_0x201518&&(_0x201518=await this['_source']['getLatestVersion']());const _0x24d054=this['_getFromVersion'](_0x201518),_0x3b4962=this['buildRevisionData']({'from':_0x24d054,'to':_0x201518});if(this['currentRevision']['toVersion']<_0x201518){const _0x1b61f9=this['buildRevisionData']({'revision':this['currentRevision'],'from':_0x201518,'to':_0x201518});_0x1b61f9['authors']=[],_0x1b61f9['authorsIds']=[],_0x1b61f9['id']=this['currentRevision']['id'],this['currentRevision']['_update'](_0x1b61f9,!0x0),delete _0x1b61f9['authors'],_0x5c952d['push'](_0x1b61f9);}_0x313eb0['creatorId']=this['editor']['plugins']['get']('Users')['me']['id'],_0x313eb0['name']=_0x313eb0['name']||null,_0x313eb0['id']=_0x313eb0['id']||_0x57a491(),_0x313eb0={..._0x313eb0,..._0x3b4962};const _0x41e60f=this['addRevisionData'](_0x313eb0);_0x5c952d['push'](_0x313eb0);const _0x40017e=this['repository']['getIndex'](_0x41e60f);if(0x0!==_0x40017e){const _0x5ed1bb=this['repository']['getRevision'](_0x40017e-0x1);if(_0x5ed1bb['fromVersion']!==_0x201518){const _0x5975d1=this['_revisionDataBuilder']['getData'](_0x201518,_0x5ed1bb['toVersion']),_0xc6e683={'id':_0x5ed1bb['id'],'diffData':_0x5975d1['diffData'],'authorsIds':_0x5975d1['authorsIds'],'authors':_0x5975d1['authorsIds']['map'](_0x3bbb49=>this['editor']['plugins']['get']('Users')['getUser'](_0x3bbb49)),'fromVersion':_0x201518};_0x5ed1bb===this['currentRevision']&&(_0xc6e683['createdAt']=new Date(_0x313eb0['createdAt']['getTime']()+0xa)),_0x5ed1bb['_update'](_0xc6e683,!0x0),delete _0xc6e683['authors'],_0x5c952d['push'](_0xc6e683);}}if(this['adapter']){for(const _0x38c5a1 of _0x5c952d)this['_bufferUpdate'](_0x38c5a1['id'],_0x38c5a1,!0x0);this['sendBufferedUpdates']();}return _0x41e60f;}['addRevisionData'](_0x1ae035){const _0x1e945b=this['repository']['createRevision'](_0x1ae035);return this['adapter']&&_0x1e945b['on']('_update',(_0x2d822a,_0x42f261,_0x303989)=>{_0x303989||(this['_bufferUpdate'](_0x42f261['id'],_0x42f261,!0x0),this['sendBufferedUpdates']());}),this['repository']['addRevision'](_0x1e945b,this['_findInsertionIndex'](_0x1e945b)),_0x1e945b;}async['getRevisionDocumentData'](_0x17f9f2){await this['_loadRevisionData'](_0x17f9f2);const _0x581fc1={};for(const _0x31372e in _0x17f9f2['diffData']){if(_0x17f9f2['diffData'][_0x31372e]['attachChange']&&!_0x17f9f2['diffData'][_0x31372e]['attachChange']['isAttached'])continue;const _0x2bde22=this['_removeRevisionMarkers'](JSON['parse'](_0x17f9f2['diffData'][_0x31372e]['insertions'])),_0x349c=this['editor']['editing']['view']['document'],_0x194e63=new _0x86267c(_0x349c,_0x2bde22['map'](_0x203c7a=>B(_0x203c7a,this['editor'])));this['editor']['data']['processor']['useFillerType']('marked'),_0x581fc1[_0x31372e]=this['editor']['data']['processor']['toData'](_0x194e63),this['editor']['data']['processor']['useFillerType']('default');}return _0x581fc1;}async['getRevisionRootsAttributes'](_0x256b95){await this['_loadRevisionData'](_0x256b95);const _0x45306d={};for(const _0x20f5ae in _0x256b95['diffData'])_0x256b95['diffData'][_0x20f5ae]['attachChange']&&!_0x256b95['diffData'][_0x20f5ae]['attachChange']['isAttached']||(_0x45306d[_0x20f5ae]=_0x256b95['diffData'][_0x20f5ae]['attributesAfter']||{});return _0x45306d;}['sendBufferedUpdates'](){if(0x0===this['_bufferedUpdates']['size'])return;if(this['_isPendingUpdate'])return;let _0x11d18d=Array['from'](this['_bufferedUpdates']['values']());this['_bufferedUpdates']['clear']();for(let _0x3104f3=0x0;_0x3104f3<_0x11d18d['length'];_0x3104f3++){const _0x18fc05=_0x11d18d[_0x3104f3];let _0x5a63f5=!0x1;for(const _0x3b2ac1 of Object['keys'](_0x18fc05))void 0x0===_0x18fc05[_0x3b2ac1]?delete _0x18fc05[_0x3b2ac1]:'id'!==_0x3b2ac1&&(_0x5a63f5=!0x0);_0x5a63f5||(_0x11d18d[_0x3104f3]=null);}if(_0x11d18d=_0x11d18d['filter'](_0x245779=>null!==_0x245779),!_0x11d18d['length'])return;for(let _0x5d9fcc=0x0;_0x5d9fcc<_0x11d18d['length'];_0x5d9fcc++){const _0x36773c=_0x11d18d[_0x5d9fcc];void 0x0!==_0x36773c['fromVersion']&&void 0x0===_0x36773c['toVersion']&&(_0x36773c['toVersion']=this['repository']['getRevision'](_0x36773c['id'])['toVersion']),void 0x0!==_0x36773c['toVersion']&&void 0x0===_0x36773c['fromVersion']&&(_0x36773c['fromVersion']=this['repository']['getRevision'](_0x36773c['id'])['fromVersion']);}const _0x5ca713=this['editor']['config']['get']('collaboration.channelId');this['_isPendingUpdate']=!0x0,this['_addPendingAction'](),this['adapter']['updateRevisions'](_0x11d18d,_0x5ca713)['finally'](()=>{this['_isPendingUpdate']=!0x1;})['then'](_0x1d63b9=>{if(_0x1d63b9){for(const _0x2483b1 of _0x1d63b9)this['setRevisionData']({'id':_0x2483b1['id'],'createdAt':_0x2483b1['createdAt']});}this['_removePendingAction'](),this['sendBufferedUpdates']();});}['_replaceEditorDataWithRevisionData'](_0x4a8d98,_0x464202){let _0xbdab23=this['editor']['config']['get']('initialData'),_0x53573a=this['editor']['config']['get']('rootsAttributes');if(void 0x0===_0xbdab23){_0xbdab23={};for(const _0x3dc73c of this['editor']['model']['document']['getRootNames']())_0xbdab23[_0x3dc73c]='';}if('string'==typeof _0xbdab23&&(_0xbdab23={'main':_0xbdab23}),void 0x0===_0x53573a){_0x53573a={};for(const _0x35f3b2 of this['editor']['model']['document']['getRootNames']())_0x53573a[_0x35f3b2]={};}let _0x489bd3=!0x1;const _0x1b820e=Object['keys'](_0xbdab23),_0x2298a2=Object['keys'](_0x4a8d98);for(const _0x52d7e0 of _0x1b820e){if(_0xbdab23[_0x52d7e0]!==_0x4a8d98[_0x52d7e0]&&''!==_0xbdab23[_0x52d7e0]['trim']()){_0x489bd3=!0x0;break;}if(!_0x3ec268(_0x53573a[_0x52d7e0],_0x464202[_0x52d7e0])&&Object['keys'](_0x53573a[_0x52d7e0])['length']>0x0){_0x489bd3=!0x0;break;}}_0x489bd3||(_0x489bd3=_0x2298a2['some'](_0x254b09=>!this['editor']['model']['document']['getRoot'](_0x254b09))),_0x489bd3&&_0x4bccf2('editor-initial-data-replaced-with-revision-data',{'editorData':_0xbdab23,'editorRootsAttributes':_0x53573a,'revisionData':_0x4a8d98,'revisionRootsAttributes':_0x464202}),this['editor']['config']['set']('initialData',_0x4a8d98),this['editor']['config']['set']('rootsAttributes',_0x464202);}['_addPendingAction'](){if(!this['_pendingAction']){const _0x4e108c=this['editor']['plugins']['get']('PendingActions');this['_pendingAction']=_0x4e108c['add'](y(this['editor']['locale'],'PENDING_ACTION_REVISION_HISTORY'));}}['_removePendingAction'](){this['_pendingAction']&&(this['editor']['plugins']['get']('PendingActions')['remove'](this['_pendingAction']),this['_pendingAction']=null);}['_findInsertionIndex'](_0x15030b){const _0x369cc4=this['repository']['getRevisions']();_0x369cc4['reverse']();let _0x19fc27=0x0;for(;_0x19fc27<_0x369cc4['length'];){const _0x407ebe=_0x369cc4[_0x19fc27];if(_0x407ebe===this['currentRevision']){_0x19fc27++;continue;}if(_0x407ebe['id']===this['_initialRevisionId'])break;const _0x36f5d4=_0x15030b['toVersion']-_0x407ebe['toVersion']||_0x15030b['fromVersion']-_0x407ebe['fromVersion'];if(_0x36f5d4>0x0)break;if(_0x36f5d4<0x0)_0x19fc27++;else{if(!_0x15030b['creator']&&_0x407ebe['creator'])break;if(_0x407ebe['creator']||!_0x15030b['creator']){if(_0x15030b['createdAt']>_0x407ebe['createdAt'])break;_0x19fc27++;}else _0x19fc27++;}}return _0x19fc27;}['setRevisionData'](_0x4f1356){const _0x5098e3=this['repository']['getRevision'](_0x4f1356['id']);if(_0x4f1356['createdAt']&&(_0x4f1356['createdAt']=new Date(_0x4f1356['createdAt'])),_0x4f1356['authorsIds']){const _0x5586e6=this['editor']['plugins']['get']('Users');_0x4f1356['authors']=_0x4f1356['authorsIds']['map'](_0x11c464=>_0x5586e6['getUser'](_0x11c464));}_0x5098e3['_update'](_0x4f1356,!0x0);}['buildRevisionData']({revision:_0x27c26d=null,from:_0x225745=null,to:_0x165c46=null}){_0x225745=null!==_0x225745?_0x225745:_0x27c26d['fromVersion'],_0x165c46=null!==_0x165c46?_0x165c46:_0x27c26d['toVersion'];const _0x2d2112=this['_revisionDataBuilder']['getData'](_0x225745,_0x165c46),_0x2e5a53={'diffData':_0x2d2112['diffData'],'authorsIds':_0x2d2112['authorsIds'],'fromVersion':_0x225745,'toVersion':_0x165c46};if(!_0x27c26d||_0x165c46!==_0x27c26d['toVersion']){const _0x1a3bad=_0x165c46-0x1,_0xcbf7d5=this['_source']['history']['getOperation'](_0x1a3bad);_0x2e5a53['createdAt']=_0xcbf7d5&&_0xcbf7d5['createdAt']||new Date();}if(this['_loadedStateData']&&_0x225745===this['_loadedStateData']['fromVersion']){for(const _0x5b40ba of this['_loadedStateData']['authors'])_0x2e5a53['authorsIds']['includes'](_0x5b40ba['id'])||_0x2e5a53['authorsIds']['push'](_0x5b40ba['id']);}return _0x2e5a53;}['_loadRevisionData'](_0x37a09a){if(!_0x37a09a||_0x37a09a['diffData'])return Promise['resolve']();{const _0x149c13=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0x149c13,'revisionId':_0x37a09a['id']})['then'](_0x1a9e11=>{_0x37a09a['diffData']=_0x1a9e11['diffData'];});}}['_bufferUpdate'](_0x4aa032,_0x51025a,_0x3ab2a7){if(this['_bufferedUpdates']['has'](_0x4aa032)){const _0x188e49=this['_bufferedUpdates']['get'](_0x4aa032);_0x51025a=_0x3ab2a7?{..._0x188e49,..._0x51025a}:{..._0x51025a,..._0x188e49};}this['_bufferedUpdates']['set'](_0x4aa032,_0x51025a);}['_getFromVersion'](_0x115bfd){const _0x38c18e=this['repository']['getRevisions']();_0x38c18e['reverse'](),_0x38c18e['shift']();const _0x3f7ef6=_0x38c18e['find'](_0x171a5b=>_0x171a5b['toVersion']<=_0x115bfd)['toVersion'];return _0x3f7ef6<this['_startingVersion']?this['_startingVersion']:_0x3f7ef6;}['_createInitialRevision'](_0x345adb){const _0x410745=this['repository']['getRevision'](this['repository']['length']-0x1);if(_0x410745)this['_initialRevisionId']=_0x410745['id'];else{const _0x2376c2=!this['editor']['model']['document']['roots']['find'](_0x49e0aa=>this['editor']['model']['hasContent'](_0x49e0aa)),_0x508d2d=this['editor']['plugins']['get']('Users')['me']['id'],_0x2224ee=y(this['editor']['locale'],_0x2376c2?'Empty\x20document':'Initial\x20revision');this['_makeRevision']({'from':_0x345adb,'to':_0x345adb,'id':this['_initialRevisionId'],'name':_0x2224ee,'creatorId':_0x508d2d});}}['_createCurrentRevision'](_0x264e0f){const _0x19a7ef=this['_source']['getCurrentRevisionId']();this['currentRevision']=this['repository']['getRevision'](_0x19a7ef),this['currentRevision']||(this['currentRevision']=this['_makeRevision']({'from':_0x264e0f,'to':_0x264e0f,'id':_0x19a7ef,'name':'','creatorId':null}));}['_makeRevision']({name:_0x4181b7,from:_0x58b688,to:_0x3fc030,creatorId:_0x20fd1c,id:_0x103936}){const _0x1618e2=this['buildRevisionData']({'from':_0x58b688,'to':_0x3fc030});_0x1618e2['name']=_0x4181b7,_0x1618e2['creatorId']=_0x20fd1c,_0x1618e2['id']=_0x103936;const _0xc806dc=this['addRevisionData'](_0x1618e2);return this['adapter']&&this['_bufferUpdate'](_0x1618e2['id'],_0x1618e2,!0x0),_0xc806dc;}['_setConversion'](){this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'});}['_removeRevisionMarkers'](_0x551e69){return(_0x551e69=_0x551e69['filter'](_0x373e2b=>!_0x373e2b['name']||'revision-start'!==_0x373e2b['name']&&'revision-end'!==_0x373e2b['name']))['forEach'](_0x2e5857=>{'string'!=typeof _0x2e5857&&(_0x2e5857['children']=this['_removeRevisionMarkers'](_0x2e5857['children']),_0x2e5857['attributes']=_0x2e5857['attributes']['filter'](_0x27f249=>!_0x27f249[0x0]['startsWith']('data-revision-')));}),_0x551e69;}}function B(_0x355313,_0x14e263){const _0x247210=_0x14e263['editing']['view']['document'];if('string'==typeof _0x355313)return new _0x580431(_0x247210,_0x355313);{const _0x21b3a6=_0x355313['children']['map'](_0x5954ba=>B(_0x5954ba,_0x14e263));return new(T[_0x355313['type']]||_0x2ca3d6)(_0x247210,_0x355313['name'],_0x355313['attributes'],_0x21b3a6);}}class J{['editor'];['source'];['_savedMetaData'];['_lastFrom'];['_lastTo'];['_markers'];['_diffRoots'];['_diffRootsAttributes'];['_baseRoots'];['_baseRootsAttributes'];['_idsRoots'];['_baseIdsRoots'];['_touched'];['_touchedMarkers'];['_touchedRoots'];['_revisionId'];['_startingRevisionId'];constructor(_0x3c85c8){this['editor']=_0x3c85c8,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'](_0x2a42a8){this['source']=_0x2a42a8;const _0x51f842=new Map(),_0x24ca1c=new Map(),_0x51867f=this['editor']['model']['document']['roots']['map'](_0x2fff93=>_0x2fff93['rootName']);for(const _0x40dc6e of _0x51867f){const _0x885a81=this['editor']['model']['document']['getRoot'](_0x40dc6e),_0x2b58b1=q(_0x885a81);_0x51f842['set'](_0x40dc6e,_0x2b58b1),_0x24ca1c['set'](_0x40dc6e,Object['fromEntries'](_0x885a81['getAttributes']()));}const _0xc2c3a0=Array['from'](this['editor']['model']['markers'])['map'](_0x581fc0=>[_0x581fc0['name'],_0x581fc0['getRange']()]),_0x1b2263=this['source']['version'];this['_saveMetaData'](_0x1b2263,_0x51f842,_0xc2c3a0,_0x24ca1c),this['_startingRevisionId']=this['_revisionId'];const _0x577be9=new Map(),_0x47bc74=new Map();for(const _0x46b6e3 of _0x51867f){const _0x55de53=G(_0x46b6e3);_0x577be9['set'](_0x46b6e3,_0x55de53),_0x47bc74['set'](_0x46b6e3,{});}this['_saveMetaData'](Number['NEGATIVE_INFINITY'],_0x577be9,[],_0x47bc74);}['getData'](_0x25a2c3,_0x484250){if(this['_lastFrom']===_0x25a2c3&&this['_lastTo']<=_0x484250)this['_savedMetaData']['size']>0x1&&this['_removeMetaData'](this['_lastTo']),this['_applyOperations'](this['_lastTo'],_0x484250,!0x0);else{if(!this['_savedMetaData']['has'](_0x25a2c3)){const _0x2972e8=this['_getPreviousFrom'](_0x25a2c3);this['_calculateMetaData'](_0x2972e8,_0x25a2c3,!0x1);}this['_calculateMetaData'](_0x25a2c3,_0x484250,!0x0);}return this['_lastFrom']=_0x25a2c3,this['_lastTo']=_0x484250,this['_getState']();}['loadState'](_0x2828da){this['_reset'](),this['_lastFrom']=_0x2828da['fromVersion'],this['_lastTo']=_0x2828da['toVersion'];for(const _0x3dbf1c in _0x2828da['diffData']){const _0x54218d=_0x2828da['diffData'][_0x3dbf1c]['attachChange'],_0x30f312=_0x500632(_0x2828da['diffData'][_0x3dbf1c]['attributesBefore'])||{},_0x5e7a95=this['_makeModelFromViewString'](_0x2828da['diffData'][_0x3dbf1c]['deletions']);_0x5e7a95['rootName']=_0x3dbf1c,_0x5e7a95['_isAttached']=!_0x54218d||!_0x54218d['isAttached'],_0x5e7a95['isAttached']=()=>_0x5e7a95['_isAttached'],this['_baseRoots']['set'](_0x3dbf1c,_0x5e7a95),this['_baseRootsAttributes']['set'](_0x3dbf1c,_0x30f312),_0x54218d&&this['_touchedRoots']['set'](_0x3dbf1c,_0x54218d);const _0xb9f244=this['_makeIdsRoot'](_0x5e7a95);this['_baseIdsRoots']['set'](_0x3dbf1c,_0xb9f244);for(const [_0x293cbb,_0x30c5db]of _0x5e7a95['markers']){if(!_0x293cbb['startsWith']('revision:'))continue;const _0x3bbba6=_0x293cbb['split'](':')[0x2];for(const _0x39e1d9 of _0x30c5db['getWalker']({'singleCharacters':!0x0})){const _0x23dc6b=this['_getVidAttributeName'](_0x39e1d9),_0x3eca16='elementEnd'==_0x39e1d9['type']?_0x39e1d9['previousPosition']['path']['slice'](0x0,-0x1):_0x39e1d9['previousPosition']['path'],_0x2b2c4c=_0xb9f244['getNodeByPath'](_0x3eca16)['getAttribute'](_0x23dc6b);this['_touched']['set'](_0x2b2c4c,{'userId':_0x3bbba6});}}}this['_startingRevisionId']=this['_revisionId'];const _0x555f99=[...Array(this['_revisionId'])['keys']()]['slice'](0x1)['filter'](_0xc6b6ee=>!this['_touched']['has'](_0xc6b6ee));let _0x2013e2=0x0;const _0x16ca3d=new Map();for(const _0x2f81ff in _0x2828da['diffData']){const _0x161d62=_0x2828da['diffData'][_0x2f81ff]['attachChange'],_0x4dc045=_0x500632(_0x2828da['diffData'][_0x2f81ff]['attributesAfter'])||{},_0x23ecf9=this['_makeModelFromViewString'](_0x2828da['diffData'][_0x2f81ff]['insertions']);_0x23ecf9['rootName']=_0x2f81ff,_0x23ecf9['_isAttached']=!_0x161d62||_0x161d62['isAttached'],_0x23ecf9['isAttached']=()=>_0x23ecf9['_isAttached'],this['_diffRoots']['set'](_0x2f81ff,_0x23ecf9),this['_diffRootsAttributes']['set'](_0x2f81ff,_0x4dc045);const _0x3b4746=this['_makeIdsRoot'](_0x23ecf9,Number['NEGATIVE_INFINITY']);this['_idsRoots']['set'](_0x2f81ff,_0x3b4746),_0x16ca3d['set'](_0x2f81ff,_0x23ecf9['isAttached']()?_0x4dc045:{});for(const [_0xda9a2,_0x411adf]of _0x23ecf9['markers']){if(!_0xda9a2['startsWith']('revision:'))continue;const _0x9a074d=_0xda9a2['split'](':')[0x2];for(const _0x40519c of _0x411adf['getWalker']({'singleCharacters':!0x0})){const _0x60d7f6=this['_getVidAttributeName'](_0x40519c),_0x2c98e6=this['_revisionId']++,_0x3768fd='elementEnd'==_0x40519c['type']?_0x40519c['previousPosition']['path']['slice'](0x0,-0x1):_0x40519c['previousPosition']['path'];_0x3b4746['getNodeByPath'](_0x3768fd)['_setAttribute'](_0x60d7f6,_0x2c98e6),this['_touched']['set'](_0x2c98e6,{'userId':_0x9a074d});}}for(const _0x50cf88 of this['editor']['model']['createRangeIn'](_0x23ecf9)['getWalker']({'singleCharacters':!0x0})){const _0x1f136d=this['_getVidAttributeName'](_0x50cf88),_0x5dba60='elementEnd'==_0x50cf88['type']?_0x50cf88['previousPosition']['path']['slice'](0x0,-0x1):_0x50cf88['previousPosition']['path'],_0x5f45a3=_0x3b4746['getNodeByPath'](_0x5dba60);_0x5f45a3['getAttribute'](_0x1f136d)>0x0||_0x5f45a3['_setAttribute'](_0x1f136d,_0x555f99[_0x2013e2++]);}for(const [_0x43c38b,_0x2f34b8]of _0x23ecf9['markers'])_0x43c38b['startsWith']('revision:')||this['_markers']['set'](_0x43c38b,_0x2f34b8);}const _0x3d0c1b=G('$graveyard');this['_baseRoots']['set']('$graveyard',_0x3d0c1b),this['_baseIdsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x3d0c1b,0x1));const _0x527fd4=G('$graveyard');this['_diffRoots']['set']('$graveyard',_0x527fd4),this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x527fd4,0x1));const _0x298df9=Array['from'](this['_diffRoots'])['map'](([_0x2f9e9a,_0x6e940a])=>[_0x2f9e9a,q(_0x6e940a)]);this['_saveMetaData'](this['_lastTo'],_0x298df9,this['_markers'],_0x16ca3d);}['_makeModelFromViewString'](_0x340cf4){const _0x57f4e0=JSON['parse'](_0x340cf4),_0x1251aa=this['editor']['editing']['view']['document'],_0x413d2b=new _0x86267c(_0x1251aa,_0x57f4e0['map'](_0x4ffd5e=>B(_0x4ffd5e,this['editor'])));return this['editor']['data']['toModel'](_0x413d2b);}['_saveMetaData'](_0xa4124c,_0x469e9b,_0x40cb21,_0x20b757){const _0x2cb63e=new Map(_0x469e9b),_0x1dc3e3=new Map(_0x500632(_0x20b757)),_0x49638f=new Map();for(const [_0x2b13a0,_0x51f820]of _0x40cb21)_0x49638f['set'](_0x2b13a0,{'start':_0x51f820['start']['clone'](),'end':_0x51f820['end']['clone'](),'rootName':_0x51f820['root']['rootName']});this['_savedMetaData']['set'](_0xa4124c,{'roots':_0x2cb63e,'markers':_0x49638f,'rootsAttributes':_0x1dc3e3});}['_removeMetaData'](_0x561bcf){this['_savedMetaData']['delete'](_0x561bcf);}['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'](_0xa14943,_0x576870=null){let _0x1092cc=null;_0xa14943['is']('documentFragment')||(_0x1092cc=new ft(_0xa14943['name'],{'vid_start':null===_0x576870?this['_revisionId']++:_0x576870++}));const _0x2ffd15=[];for(const _0x5bd264 of _0xa14943['getChildren']())if(_0x5bd264['is']('element')){_0x2ffd15['push'](this['_makeIdsRoot'](_0x5bd264,_0x576870));const _0x62c5ed=_0x2ffd15[_0x2ffd15['length']-0x1];null!==_0x576870&&(_0x576870=_0x62c5ed['is']('element','$text')?_0x62c5ed['getAttribute']('vid')+0x1:_0x62c5ed['getAttribute']('vid_end')+0x1);}else{for(let _0x2e2dea=0x0;_0x2e2dea<_0x5bd264['offsetSize'];_0x2e2dea++)_0x2ffd15['push'](new ft('$text',{'vid':null===_0x576870?this['_revisionId']++:_0x576870++}));}if(_0xa14943['is']('documentFragment')){const _0x14165c=G(_0xa14943['rootName']);return _0x14165c['_insertChild'](0x0,_0x2ffd15),_0x14165c;}return _0x1092cc['_setAttribute']('vid_end',null===_0x576870?this['_revisionId']++:_0x576870++),_0x1092cc['_insertChild'](0x0,_0x2ffd15),_0x1092cc;}['_calculateMetaData'](_0x2c8308,_0x6f6b70,_0x31cb18){this['_reset']();const {roots:_0x14c20e,markers:_0x1f6e73,rootsAttributes:_0x26bc9d}=this['_savedMetaData']['get'](_0x2c8308);this['_baseRoots']=new Map(_0x14c20e),this['_baseRootsAttributes']=new Map(_0x500632(_0x26bc9d));for(const [_0x377993,_0x3b11d9]of this['_baseRoots'])if('$graveyard'!==_0x377993&&(this['_diffRoots']['set'](_0x377993,q(_0x3b11d9)),this['_diffRootsAttributes']=new Map(_0x500632(_0x26bc9d)),_0x31cb18)){const _0x231394=this['_revisionId'];this['_idsRoots']['set'](_0x377993,this['_makeIdsRoot'](_0x3b11d9)),this['_baseIdsRoots']['set'](_0x377993,this['_makeIdsRoot'](_0x3b11d9,_0x231394));}this['_startingRevisionId']=this['_revisionId'],this['_diffRoots']['set']('$graveyard',q(this['_baseRoots']['get']('$graveyard'))),_0x31cb18&&this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](this['_baseRoots']['get']('$graveyard')));for(const [_0x23dfcc,_0x54ebb1]of _0x1f6e73){const _0x260ea9=this['_baseRoots']['get'](_0x54ebb1['rootName']),_0xbd80f5=this['_diffRoots']['get'](_0x54ebb1['rootName']),_0x11152f=new vt(this['_fixPosition'](_0x54ebb1['start'],_0x260ea9),this['_fixPosition'](_0x54ebb1['end'],_0x260ea9)),_0x13c80c=this['_fixRange'](_0x11152f,_0xbd80f5);_0x260ea9['markers']['set'](_0x23dfcc,_0x11152f),this['_markers']['set'](_0x23dfcc,_0x13c80c);}this['_applyOperations'](_0x2c8308,_0x6f6b70,_0x31cb18);}['_applyOperations'](_0x118402,_0x1d94a5,_0x19ec80){for(const _0x237163 of this['source']['getOperations'](_0x118402,_0x1d94a5))this['_handleOperation'](_0x237163,_0x19ec80);for(const _0x3328a9 of this['_diffRoots']['values']())_0x3328a9['markers']['clear']();for(const [_0x463f2a,_0x4b4dd2]of this['_markers']){this['_diffRoots']['get'](_0x4b4dd2['root']['rootName'])['markers']['set'](_0x463f2a,_0x4b4dd2['clone']());}const _0x49a41b=new Map(),_0x8dd544=new Map();for(const [_0x5dc75c,_0xdbdd4d]of this['_diffRoots'])_0x49a41b['set'](_0x5dc75c,q(_0xdbdd4d)),_0x8dd544['set'](_0x5dc75c,this['_diffRootsAttributes']['get'](_0x5dc75c));this['_saveMetaData'](_0x1d94a5,_0x49a41b,this['_markers'],_0x8dd544);}['_getPreviousFrom'](_0x4364f4){const _0x8bbb8f=Array['from'](this['_savedMetaData']['keys']());_0x8bbb8f['sort']((_0x361a20,_0x2bec52)=>_0x361a20-_0x2bec52),_0x8bbb8f['reverse']();for(const _0x2d7592 of _0x8bbb8f)if(_0x2d7592<_0x4364f4)return _0x2d7592;return Number['NEGATIVE_INFINITY'];}['_copyMarkers'](_0x12125f,_0x4d69cf){const _0x4d00bf=Array['from'](_0x4d69cf['markers'])['map'](([_0x406795,_0x1a50b2])=>[_0x406795,this['_fixRange'](_0x1a50b2,_0x12125f)]);_0x12125f['markers']=new Map(_0x4d00bf);}['_transformMarkers'](_0x4f0430){for(const _0x4096df of this['_markers']['values']()){const _0x28e007=_0x4096df['getTransformedByOperation'](_0x4f0430),_0x22aef7=vt['_createFromRanges'](_0x28e007);_0x4096df['start']=_0x22aef7['start'],_0x4096df['end']=_0x22aef7['end'];}}['_handleOperation'](_0x37d383,_0x1fd0b6){if('addRoot'==_0x37d383['type']||'detachRoot'==_0x37d383['type'])return void this['_handleRootOperation'](_0x37d383,_0x1fd0b6);if('insert'==_0x37d383['type']){const _0x4dba40=_0x37d383['position']['root']['rootName'];this['_diffRoots']['has'](_0x4dba40)||(this['_diffRoots']['set'](_0x4dba40,G(_0x4dba40,!0x0)),this['_diffRootsAttributes']['set'](_0x4dba40,{}),_0x1fd0b6&&this['_idsRoots']['set'](_0x4dba40,G(_0x4dba40,!0x0)));}else{if('addRootAttribute'==_0x37d383['type']||'removeRootAttribute'==_0x37d383['type']||'changeRootAttribute'==_0x37d383['type'])return void this['_handleRootAttributeOperation'](_0x37d383);}const _0x535c36=this['_cloneOperation'](_0x37d383,this['_diffRoots']);if('marker'!==_0x37d383['type']&&(_0x535c36['_execute'](),this['_transformMarkers'](_0x535c36)),_0x1fd0b6)switch(_0x535c36['type']){case'insert':this['_handleInsertOperation'](_0x37d383);break;case'move':case'remove':case'reinsert':this['_handleMoveOperation'](_0x37d383);break;case'merge':this['_handleMergeOperation'](_0x37d383);break;case'split':this['_handleSplitOperation'](_0x37d383);break;case'marker':this['_handleMarkerOperation'](_0x37d383);}}['_cloneOperation'](_0x5fa54c,_0x4c2247){const _0x44e70b=_0x5fa54c['clone']();return _0x44e70b['_authorId']=_0x5fa54c['_authorId'],this['_fixOperation'](_0x44e70b,_0x4c2247),_0x44e70b;}['_getBaseVids'](_0x440258){return _0x440258['map'](_0x2594d8=>{const _0x2ac8c1=this['_getVidAttributeName'](_0x2594d8);return Number(_0x2594d8['item']['getAttribute'](_0x2ac8c1));});}['_generateTape'](_0x25b5e2,_0x3381a3){if(_0x25b5e2['is']('element','$text'))_0x3381a3['push']({'item':_0x25b5e2,'type':'text'});else{_0x25b5e2['is']('element')&&_0x3381a3['push']({'item':_0x25b5e2,'type':'elementStart'});for(const _0x217873 of _0x25b5e2['getChildren']())this['_generateTape'](_0x217873,_0x3381a3);_0x25b5e2['is']('element')&&_0x3381a3['push']({'item':_0x25b5e2,'type':'elementEnd'});}return _0x3381a3;}['_getState'](){const _0xf8fce3=new Map(this['_touched']),_0x3d1ca5=new Map(_0xf8fce3),_0x2bcf4c=new Map(),_0xe10fc5={'insertions':{},'deletions':{}},_0x14d0df={'insertions':{},'deletions':{}},_0x422992=new Map(),_0x2faa27=new Set([...this['_baseRoots']['keys'](),...this['_diffRoots']['keys']()]);_0x2faa27['delete']('$graveyard');for(const _0x1d02fe of _0x2faa27){const _0x55311c=this['_diffRoots']['get'](_0x1d02fe)||G(_0x1d02fe,!0x1),_0x194565=this['_baseRoots']['get'](_0x1d02fe)||G(_0x1d02fe,!0x1);_0x55311c['isAttached']()||_0x194565['isAttached']()?(_0xe10fc5['insertions'][_0x1d02fe]=q(_0x55311c),_0xe10fc5['deletions'][_0x1d02fe]=q(_0x194565),this['_copyMarkers'](_0xe10fc5['deletions'][_0x1d02fe],_0x194565),this['_copyMarkers'](_0xe10fc5['insertions'][_0x1d02fe],_0x55311c),_0x14d0df['insertions'][_0x1d02fe]=this['_generateTape'](this['_idsRoots']['get'](_0x1d02fe),[]),_0x14d0df['deletions'][_0x1d02fe]=this['_generateTape'](this['_baseIdsRoots']['get'](_0x1d02fe)||G(_0x1d02fe,!0x1),[])):_0x2faa27['delete'](_0x1d02fe);}for(const _0x377391 of _0x2faa27){const _0x1d1e97=_0x14d0df['insertions'][_0x377391];for(const _0x1c11dd of _0x1d1e97){const _0x59f01a=this['_getVidAttributeName'](_0x1c11dd),_0x97c9b6=_0x1c11dd['item']['getAttribute'](_0x59f01a);_0x3d1ca5['delete'](_0x97c9b6),_0x97c9b6>=this['_startingRevisionId']&&_0x2bcf4c['set'](_0x97c9b6,_0xf8fce3['get'](_0x97c9b6));}}for(const _0x4514da of _0x2faa27){const _0x17c90f=_0x14d0df['insertions'][_0x4514da],_0x1507a8=this['_getBaseVids'](_0x14d0df['deletions'][_0x4514da]);let _0x4dc6dc=0x0;for(const _0x3b78ba of _0x17c90f){const _0x1dfe49=this['_getVidAttributeName'](_0x3b78ba),_0x22bc78=_0x3b78ba['item']['getAttribute'](_0x1dfe49);if(!_0x2bcf4c['has'](_0x22bc78)&&!_0x422992['has'](_0x22bc78)){if(_0x3d1ca5['has'](_0x22bc78))_0x4dc6dc++;else{if(_0x22bc78!=_0x1507a8[_0x4dc6dc]){const _0x2f58a6=_0xf8fce3['get'](_0x22bc78)||_0xf8fce3['get'](_0x1507a8[_0x4dc6dc]);for(;_0x22bc78!=_0x1507a8[_0x4dc6dc];)_0x3d1ca5['has'](_0x1507a8[_0x4dc6dc])||(_0x422992['set'](_0x1507a8[_0x4dc6dc],_0x2f58a6),_0xf8fce3['set'](_0x1507a8[_0x4dc6dc],_0x2f58a6)),_0x4dc6dc++;}_0x4dc6dc++;}}}}for(const _0x6588a3 of _0x2faa27){const _0x30c6ba=_0x14d0df['insertions'][_0x6588a3];for(const _0xc0288d of _0x30c6ba){const _0x24e93a=this['_getVidAttributeName'](_0xc0288d),_0x1a0e87=_0xc0288d['item']['getAttribute'](_0x24e93a);if(_0x422992['has'](_0x1a0e87)){const _0x170ce2=_0x422992['get'](_0x1a0e87);_0x3d1ca5['has'](_0x1a0e87)||_0x3d1ca5['set'](_0x1a0e87,{..._0x170ce2}),_0x2bcf4c['set'](_0x1a0e87,{..._0x170ce2});}}}for(const _0x4afd87 of _0x3d1ca5['keys']())_0x4afd87>=this['_startingRevisionId']&&_0x3d1ca5['delete'](_0x4afd87);const _0x2e7b86=new Map();for(const _0x2d4af7 of _0x2faa27){let _0x36fd26=_0x14d0df['insertions'][_0x2d4af7];for(const _0x353b1f of _0x36fd26)if(_0x353b1f['item']['is']('element','tableCell')){const _0x92283=this['_getVidAttributeName'](_0x353b1f),_0x4d7d9f=_0x353b1f['item']['getAttribute'](_0x92283);if(_0x2bcf4c['has'](_0x4d7d9f)){const _0x287cb6=_0x353b1f['item']['parent']['parent']['getAttribute']('vid_start'),_0x27db8d=_0x2e7b86['get'](_0x287cb6)||new Set();_0x27db8d['add'](_0x2bcf4c['get'](_0x4d7d9f)['userId']),_0x2e7b86['set'](_0x287cb6,_0x27db8d);}}_0x36fd26=_0x14d0df['deletions'][_0x2d4af7];for(const _0x1d99db of _0x36fd26)if(_0x1d99db['item']['is']('element','tableCell')){const _0x3d3fe6=this['_getVidAttributeName'](_0x1d99db),_0x4792bf=_0x1d99db['item']['getAttribute'](_0x3d3fe6);if(_0x3d1ca5['has'](_0x4792bf)){const _0x93334d=_0x1d99db['item']['parent']['parent']['getAttribute']('vid_start'),_0x18ed26=_0x2e7b86['get'](_0x93334d)||new Set();_0x18ed26['add'](_0x3d1ca5['get'](_0x4792bf)['userId']),_0x2e7b86['set'](_0x93334d,_0x18ed26);}}for(const _0x19e94a of _0x2e7b86['keys']())(_0x2bcf4c['has'](_0x19e94a)||_0x3d1ca5['has'](_0x19e94a))&&_0x2e7b86['delete'](_0x19e94a);}for(const _0x42b046 of _0x2faa27){const _0x124d18=_0x14d0df['insertions'][_0x42b046];let _0x3d83b8=null,_0x1b8517=null;for(const _0x254363 of _0x124d18){const _0x264d7c=this['_getVidAttributeName'](_0x254363),_0x34556e=_0x254363['item']['getAttribute'](_0x264d7c),_0x30ef6c=_0x2e7b86['get'](_0x34556e);_0x30ef6c&&'elementStart'==_0x254363['type']&&(_0x3d83b8=Array['from'](_0x30ef6c)[0x0],_0x1b8517=_0x254363['item']['getAttribute']('vid_end')),_0x3d83b8&&(_0x3d1ca5['set'](_0x34556e,{'userId':_0x3d83b8}),_0x2bcf4c['set'](_0x34556e,{'userId':_0x3d83b8})),_0x34556e==_0x1b8517&&(_0x3d83b8=null,_0x1b8517=null);}}const _0x1848d5={},_0x152c71=new Set();for(const _0x1451be of _0x2faa27){const _0x314513=_0xe10fc5['deletions'][_0x1451be],_0x32b1f7=_0xe10fc5['insertions'][_0x1451be];for(const {userId:_0x466b7d}of this['_touchedMarkers']['values']())null!==_0x466b7d&&_0x152c71['add'](_0x466b7d);for(const {userId:_0x44d59d}of this['_touchedRoots']['values']())null!==_0x44d59d&&_0x152c71['add'](_0x44d59d);this['_markChanges'](_0x32b1f7,_0x14d0df['insertions'][_0x1451be],_0x2bcf4c,'insertion',_0x152c71),this['_markChanges'](_0x314513,_0x14d0df['deletions'][_0x1451be],_0x3d1ca5,'deletion',_0x152c71),_0x1848d5[_0x1451be]={'insertions':this['_prepareViewToSave'](_0x32b1f7),'deletions':this['_prepareViewToSave'](_0x314513),'attachChange':this['_touchedRoots']['get'](_0x1451be)||null,'attributesBefore':_0x500632(this['_baseRootsAttributes']['get'](_0x1451be))||{},'attributesAfter':_0x500632(this['_diffRootsAttributes']['get'](_0x1451be))};}return{'diffData':_0x1848d5,'authorsIds':Array['from'](_0x152c71)};}['_processRootBeforeSave'](_0x53d961){for(const [,_0x23314a]of _0x53d961['markers']){const _0x5b2252=_0x23314a['start']['getAncestors']()['filter'](_0x5c1110=>'tableCell'==_0x5c1110['name']);for(const _0x46564a of _0x5b2252)0x1==_0x46564a['childCount']&&_0x46564a['getChild'](0x0)['is']('element','paragraph')&&_0x46564a['getChild'](0x0)['_setAttribute']('keepParagraph',!0x0);}}['_prepareViewToSave'](_0x3f221f){this['_processRootBeforeSave'](_0x3f221f);const _0x598f2e=this['editor']['data']['toView'](_0x3f221f,{}),_0xfc9fdc=Array['from'](_0x598f2e['getChildren']())['map'](_0x119e1b=>this['_getViewJson'](_0x119e1b));return JSON['stringify'](_0xfc9fdc);}['_getViewJson'](_0x2cd23f){if(_0x2cd23f['is']('$text'))return _0x2cd23f['data'];{const _0x5b0b46=_0x2cd23f;return{'type':Object['keys'](T)['find'](_0xd8eeea=>_0x2cd23f instanceof T[_0xd8eeea]),'name':_0x5b0b46['name'],'attributes':Array['from'](_0x5b0b46['getAttributes']()),'children':Array['from'](_0x5b0b46['getChildren']())['map'](_0x1ea57b=>this['_getViewJson'](_0x1ea57b))};}}['_markChanges'](_0x3ff543,_0x4a3156,_0x5266f5,_0x34c50f,_0x5a881e){let _0x39a771=null,_0x562dd0=null,_0x2a019c=0x0;const _0x1261d7=this['editor']['model'];for(let _0x39d6a6=0x0;_0x39d6a6<_0x4a3156['length'];_0x39d6a6++){const _0x494906=this['_getVidAttributeName'](_0x4a3156[_0x39d6a6]),_0xf254d=_0x4a3156[_0x39d6a6]['item']['getAttribute'](_0x494906),_0x4d0692=_0x5266f5['get'](_0xf254d),_0x12a335=_0x39d6a6==_0x4a3156['length']-0x1;(!_0x39a771&&_0x4d0692&&(_0x39a771=_0x4d0692,_0x562dd0=_0x4a3156[_0x39d6a6]),_0x39a771&&(!_0x4d0692||_0x4d0692['userId']!=_0x39a771['userId']))&&(_0x34fe85(_0x4d0692,L(_0x562dd0,_0x3ff543,_0x1261d7),L(_0x4a3156[_0x39d6a6],_0x3ff543,_0x1261d7)),_0x39a771=_0x4d0692||null,_0x562dd0=_0x4d0692?_0x4a3156[_0x39d6a6]:null),_0x39a771&&_0x12a335&&_0x34fe85(_0x4d0692,L(_0x562dd0,_0x3ff543,_0x1261d7),W(_0x4a3156[_0x39d6a6],_0x3ff543,_0x1261d7));}function _0x34fe85(_0x481064,_0x4a86f3,_0x5f5759){const _0xbfbe99=_0x39a771['userId'],_0x19b5de='revision:'+_0x34c50f+':'+_0xbfbe99+':'+_0x2a019c++,_0xa64856=_0x1261d7['createRange'](_0x4a86f3,_0x5f5759);_0x3ff543['markers']['set'](_0x19b5de,_0xa64856),null!==_0xbfbe99&&_0x5a881e['add'](_0xbfbe99);}}['_getVidAttributeName'](_0x4a4e64){switch(_0x4a4e64['type']){case'elementStart':return'vid_start';case'elementEnd':return'vid_end';default:return'vid';}}['_fixOperation'](_0x154c7a,_0x5e7fa3){_0x154c7a['baseVersion']=null;for(const _0x2ac76f in _0x154c7a){const _0x16945b=_0x154c7a[_0x2ac76f];if(_0x16945b instanceof gt){const _0xff50be=_0x5e7fa3['get'](_0x16945b['root']['rootName']);_0x154c7a[_0x2ac76f]=this['_fixPosition'](_0x16945b,_0xff50be);}if(_0x16945b instanceof vt){const _0x544bfa=_0x5e7fa3['get'](_0x16945b['root']['rootName']);_0x154c7a[_0x2ac76f]=this['_fixRange'](_0x16945b,_0x544bfa);}'root'===_0x2ac76f&&(_0x154c7a['root']=_0x5e7fa3['get'](_0x154c7a['root']['rootName']));}}['_fixRange'](_0x1a59e6,_0x293cb9){return this['editor']['model']['createRange'](this['_fixPosition'](_0x1a59e6['start'],_0x293cb9),this['_fixPosition'](_0x1a59e6['end'],_0x293cb9));}['_fixPosition'](_0x3b6306,_0x5da56d){return this['editor']['model']['createPositionFromPath'](_0x5da56d,_0x3b6306['path'],_0x3b6306['stickiness']);}['_handleInsertOperation'](_0x324c53){const _0x2040ab=this['_idsRoots']['get'](_0x324c53['position']['root']['rootName']),_0x57caef=this['_fixPosition'](_0x324c53['position'],_0x2040ab),_0x3492e2=null===_0x324c53['_authorId']?null:_0x324c53['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x356d4b=_0x57caef['parent'],_0x1b5c68=this['_revisionId'],_0x29a305=[];for(const _0x49cbd7 of _0x324c53['nodes'])if(_0x49cbd7['is']('element'))_0x29a305['push'](this['_makeIdsRoot'](_0x49cbd7));else{for(let _0x2a250a=0x0;_0x2a250a<_0x49cbd7['offsetSize'];_0x2a250a++)_0x29a305['push'](new ft('$text',{'vid':this['_revisionId']++}));}const _0x18147c=this['_revisionId'];for(let _0x418973=_0x1b5c68;_0x418973<_0x18147c;_0x418973++)this['_touched']['set'](_0x418973,{'userId':_0x3492e2});_0x356d4b['_insertChild'](_0x57caef['offset'],_0x29a305);}['_handleMoveOperation'](_0x58a454){(_0x58a454=this['_cloneOperation'](_0x58a454,this['_idsRoots']))['_execute']();const _0x52d55b=null===_0x58a454['_authorId']?null:_0x58a454['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0xfd7f6e=_0x58a454['getMovedRangeStart'](),_0x210305=_0xfd7f6e['parent'],_0x3955d7=_0xfd7f6e['offset'];!function _0x4276e4(_0x4bb6e8,_0x28e4a1,_0x2162df,_0x53447c){for(let _0x5ba830=_0x2162df;_0x5ba830<_0x53447c;_0x5ba830++){const _0x1c4b87=_0x28e4a1['getChild'](_0x5ba830);_0x1c4b87['is']('element','$text')?_0x4bb6e8['set'](_0x1c4b87['getAttribute']('vid'),{'userId':_0x52d55b}):(_0x4bb6e8['set'](_0x1c4b87['getAttribute']('vid_start'),{'userId':_0x52d55b}),_0x4276e4(_0x4bb6e8,_0x1c4b87,0x0,_0x1c4b87['childCount']),_0x4bb6e8['set'](_0x1c4b87['getAttribute']('vid_end'),{'userId':_0x52d55b}));}}(this['_touched'],_0x210305,_0x3955d7,_0x3955d7+_0x58a454['howMany']);}['_handleMergeOperation'](_0x1d876c){const _0x398d76=null===(_0x1d876c=this['_cloneOperation'](_0x1d876c,this['_idsRoots']))['_authorId']?null:_0x1d876c['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x187707=_0x1d876c['targetPosition']['parent'],_0x4b4ec2=_0x1d876c['sourcePosition']['parent'],_0x518e54=_0x187707['getAttribute']('vid_end'),_0x480934=_0x4b4ec2['getAttribute']('vid_start');_0x187707['_setAttribute']('vid_end',_0x4b4ec2['getAttribute']('vid_end')),_0x4b4ec2['_setAttribute']('vid_end',_0x518e54),this['_touched']['set'](_0x480934,{'userId':_0x398d76}),this['_touched']['set'](_0x518e54,{'userId':_0x398d76}),_0x1d876c['_execute']();}['_handleSplitOperation'](_0x2bb985){const _0x1dff05=null===(_0x2bb985=this['_cloneOperation'](_0x2bb985,this['_idsRoots']))['_authorId']?null:_0x2bb985['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x5416ac=_0x2bb985['graveyardPosition'],_0x2169ae=_0x2bb985['splitPosition']['parent'];_0x2bb985['_execute']();const _0x50be92=_0x2169ae['getAttribute']('vid_end'),_0x1cc240=_0x2bb985['insertionPosition']['nodeAfter'];if(_0x5416ac){const _0x590504=_0x1cc240['getAttribute']('vid_end'),_0x33099f=_0x2169ae['getAttribute']('vid_end');_0x2169ae['_setAttribute']('vid_end',_0x590504),_0x1cc240['_setAttribute']('vid_end',_0x33099f),this['_touched']['set'](_0x2169ae['getAttribute']('vid_end'),{'userId':_0x1dff05}),this['_touched']['set'](_0x1cc240['getAttribute']('vid_start'),{'userId':_0x1dff05});}else{const _0x8ea43e=this['_revisionId']++,_0x25628e=this['_revisionId']++;_0x2169ae['_setAttribute']('vid_end',_0x8ea43e),_0x1cc240['_setAttribute']('vid_start',_0x25628e),_0x1cc240['_setAttribute']('vid_end',_0x50be92),this['_touched']['set'](_0x8ea43e,{'userId':_0x1dff05}),this['_touched']['set'](_0x25628e,{'userId':_0x1dff05});}}['_handleMarkerOperation'](_0x4bf0b8){if(!_0x4bf0b8['affectsData'])return;const _0x398fc9=(_0x4bf0b8=this['_cloneOperation'](_0x4bf0b8,this['_diffRoots']))['oldRange']?_0x4bf0b8['oldRange']['root']:null,_0x263d55=_0x4bf0b8['newRange']?_0x4bf0b8['newRange']['root']:null;_0x398fc9&&this['_markers']['delete'](_0x4bf0b8['name']),_0x263d55&&this['_markers']['set'](_0x4bf0b8['name'],_0x4bf0b8['newRange']['clone']());const _0x2048af=null===_0x4bf0b8['_authorId']?null:_0x4bf0b8['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x3e58e2=_0x4bf0b8['name'];if(!this['_touchedMarkers']['has'](_0x3e58e2))return void this['_touchedMarkers']['set'](_0x3e58e2,{'range':_0x4bf0b8['oldRange'],'userId':_0x2048af});const _0x1b6462=this['_touchedMarkers']['get'](_0x3e58e2),_0x5eea25=_0x1b6462['range'],_0x2e0e4c=_0x4bf0b8['newRange'];null==_0x5eea25&&null==_0x2e0e4c||_0x5eea25&&_0x2e0e4c&&_0x5eea25['isEqual'](_0x2e0e4c)?this['_touchedMarkers']['delete'](_0x4bf0b8['name']):_0x1b6462['userId']=_0x2048af;}['_handleRootOperation'](_0x4c68c5,_0x47d2f5){this['_diffRoots']['has'](_0x4c68c5['rootName'])?this['_diffRoots']['get'](_0x4c68c5['rootName'])['_isAttached']=_0x4c68c5['isAdd']:(this['_diffRoots']['set'](_0x4c68c5['rootName'],G(_0x4c68c5['rootName'],!0x0)),this['_diffRootsAttributes']['set'](_0x4c68c5['rootName'],{}),_0x47d2f5&&this['_idsRoots']['set'](_0x4c68c5['rootName'],G(_0x4c68c5['rootName'],!0x0)));const _0x54aff0=null===_0x4c68c5['_authorId']?null:_0x4c68c5['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x198707=this['_touchedRoots']['get'](_0x4c68c5['rootName']);_0x198707&&_0x198707['userId']===_0x54aff0?this['_touchedRoots']['delete'](_0x4c68c5['rootName']):this['_touchedRoots']['set'](_0x4c68c5['rootName'],{'userId':_0x54aff0,'isAttached':_0x4c68c5['isAdd']});}['_handleRootAttributeOperation'](_0x29e46e){const _0x2819e=this['_diffRootsAttributes']['get'](_0x29e46e['root']['rootName']);null===_0x29e46e['newValue']?delete _0x2819e[_0x29e46e['key']]:_0x2819e[_0x29e46e['key']]=_0x29e46e['newValue'];}}function q(_0x180c48){const _0x343e0f=G(_0x180c48['rootName'],_0x180c48['isAttached']());for(const _0x24e740 of _0x180c48['getChildren']()){const _0x485bd5=_0x24e740['_clone'](!0x0);_0x343e0f['_appendChild'](_0x485bd5);}return _0x343e0f;}function G(_0x27d08e,_0x1f85c6=!0x0){const _0x2f1583=new wt();return _0x2f1583['rootName']=_0x27d08e,_0x2f1583['_isAttached']=_0x1f85c6,_0x2f1583['isAttached']=()=>_0x2f1583['_isAttached'],_0x2f1583;}function L(_0x21aefd,_0x264c76,_0x1d7d35){const _0x2fefbc='elementEnd'==_0x21aefd['type']?_0x1d7d35['createPositionAt'](_0x21aefd['item'],'end'):_0x1d7d35['createPositionBefore'](_0x21aefd['item']);return _0x1d7d35['createPositionFromPath'](_0x264c76,_0x2fefbc['path'],_0x2fefbc['stickiness']);}function W(_0x3c1be4,_0x2b567b,_0xe5c1fd){const _0x1e09fc='elementStart'==_0x3c1be4['type']?_0xe5c1fd['createPositionAt'](_0x3c1be4['item'],0x0):_0xe5c1fd['createPositionAfter'](_0x3c1be4['item']);return _0xe5c1fd['createPositionFromPath'](_0x2b567b,_0x1e09fc['path'],_0x1e09fc['stickiness']);}class ns extends _0x71de83{['focusTracker'];['keystrokes'];['revisionNameInputView'];constructor(_0x19f4a7,_0x47da30){super(_0x19f4a7),this['focusTracker']=new _0x203e2b(),this['keystrokes']=new _0x4c6fd7(),this['set']('revisionNameInputValue',''),this['revisionNameInputView']=this['_createRevisionNameInput'](_0x47da30),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'](),_0xae21fa({'view':this}),this['focusTracker']['add'](this['revisionNameInputView']['element']),this['keystrokes']['listenTo'](this['element']);const _0x227c8f=_0x7e69dc=>_0x7e69dc['stopPropagation']();this['keystrokes']['set']('arrowright',_0x227c8f),this['keystrokes']['set']('arrowleft',_0x227c8f),this['keystrokes']['set']('arrowup',_0x227c8f),this['keystrokes']['set']('arrowdown',_0x227c8f);}['focus'](){this['revisionNameInputView']['focus']();}get['revisionName'](){return this['revisionNameInputView']['fieldView']['element']['value']['trim']();}set['revisionName'](_0x38e0ff){this['revisionNameInputView']['fieldView']['element']['value']=_0x38e0ff['trim']();}['reset'](){this['revisionNameInputView']['fieldView']['element']['value']='',this['revisionNameInputView']['errorText']=null;}['_createRevisionNameInput'](_0x222ed8){const _0x4a7d2d=new at(this['locale'],_0x37e5f0),_0xba26c3=_0x4a7d2d['fieldView'];_0xba26c3['extendTemplate']({'attributes':{'maxlength':'220'}});let _0x41647d=y(this['locale'],'Name\x20of\x20the\x20revision');return!_0x222ed8&&(_0x41647d+='\x20('+y(this['locale'],'optional')+')'),(_0x4a7d2d['label']=_0x41647d,_0xba26c3['on']('input',()=>{this['revisionNameInputValue']=_0xba26c3['element']['value']['trim']();}),_0x4a7d2d);}}class u extends _0x56f031{static get['pluginName'](){return'RevisionHistoryUI';}static get['requires'](){return[l];}['_saveRevisionFormView'];['init'](){const _0x5b93ab=this['editor'],_0x5c98b4=_0x5b93ab['plugins']['get']('RevisionTracker');_0x5b93ab['ui']['componentFactory']['add']('revisionHistory',_0x3413f6=>{const _0x59e82c=_0x628df1(_0x3413f6),_0x1df37e=_0x59e82c['panelView']['children'],_0x83c04a=new te(_0x3413f6),_0x1ea614=new _0x3f3ef9(_0x3413f6),_0x3fce0c=new _0x47f55b(_0x3413f6),_0x452d29=new _0x3f3ef9(_0x3413f6),_0x207e5a=new _0x47f55b(_0x3413f6);return _0x59e82c['bind']('isEnabled')['to'](_0x5c98b4,'isReady',_0x5c98b4,'isEnabled',_0x5b93ab,'isReadOnly',(_0x85871e,_0x38c4f7,_0x4f61bd)=>_0x85871e&&_0x38c4f7&&!_0x4f61bd),_0x59e82c['buttonView']['set']({'icon':_0xca9fa['history'],'label':y(_0x3413f6,'Revision\x20history'),'tooltip':!0x0}),_0x3fce0c['set']({'label':y(_0x3413f6,'Save\x20current\x20revision'),'withText':!0x0,'role':'menuitem'}),_0x3fce0c['bind']('isEnabled')['to'](_0x5c98b4,'isReady',_0x5c98b4,'isEnabled',_0x5b93ab,'isReadOnly',(_0x294d7a,_0x47fa06,_0x3847c5)=>_0x294d7a&&_0x47fa06&&!_0x3847c5),_0x3fce0c['on']('execute',()=>this['_showDialog']()),_0x207e5a['set']({'label':y(_0x3413f6,'Open\x20revision\x20history'),'withText':!0x0,'role':'menuitem'}),_0x207e5a['bind']('isEnabled')['to'](_0x5c98b4,'isReady',_0x5b93ab,'isReadOnly',(_0x10fc70,_0x24eb93)=>_0x10fc70&&!_0x24eb93),_0x207e5a['on']('execute',()=>{_0x5b93ab['config']['get']('revisionHistory')['showRevisionViewerCallback'](),_0x59e82c['isOpen']=!0x1,_0x5b93ab['editing']['view']['focus']();}),_0x1ea614['children']['add'](_0x3fce0c),_0x452d29['children']['add'](_0x207e5a),_0x83c04a['role']='menu',_0x83c04a['items']['addMany']([_0x1ea614,_0x452d29]),_0x1df37e['add'](_0x83c04a),_0x59e82c;}),_0x5b93ab['ui']['componentFactory']['add']('menuBar:revisionHistory',()=>this['_registerMenuComponent']());}['_registerMenuComponent'](){const _0x595c00=this['editor'],_0x1fc5e1=_0x595c00['locale'],_0x1e81da=new _0x5ba75a(_0x1fc5e1),_0x177faa=new _0x3dfab0(_0x1fc5e1);_0x1e81da['buttonView']['set']({'icon':_0xca9fa['history'],'label':y(_0x1fc5e1,'Revision\x20history')});const _0x34490c=new _0x12dc05(_0x1fc5e1,_0x1e81da),_0x40001c=new _0x5807ed(_0x1fc5e1);_0x40001c['set']({'label':y(_0x1fc5e1,'Save\x20current\x20revision')}),_0x40001c['delegate']('execute')['to'](_0x1e81da),_0x40001c['on']('execute',()=>{this['_showDialog']();}),_0x34490c['children']['add'](_0x40001c),_0x177faa['items']['add'](_0x34490c);const _0x3e48ba=new _0x12dc05(_0x1fc5e1,_0x1e81da),_0x10903d=new _0x5807ed(_0x1fc5e1);return _0x10903d['set']({'label':y(_0x1fc5e1,'Open\x20revision\x20history')}),_0x10903d['delegate']('execute')['to'](_0x1e81da),_0x10903d['on']('execute',()=>{_0x595c00['config']['get']('revisionHistory')['showRevisionViewerCallback']();}),_0x3e48ba['children']['add'](_0x10903d),_0x177faa['items']['add'](_0x3e48ba),_0x1e81da['panelView']['children']['add'](_0x177faa),_0x1e81da;}['_showDialog'](){const _0x2dc327=this['editor'],_0x4ed42e=_0x2dc327['locale'],_0x59a421=_0x2dc327['plugins']['get']('Dialog'),_0x7d7431=_0x2dc327['plugins']['get']('RevisionTracker');function _0x5402c6(_0x243baf){_0x2dc327['config']['get']('revisionHistory.requireRevisionName')&&''===_0x243baf['revisionName']?_0x243baf['revisionNameInputView']['errorText']=y(_0x4ed42e,'The\x20revision\x20name\x20cannot\x20be\x20empty.'):(_0x2dc327['plugins']['get'](l)['saveRevision']({'name':_0x243baf['revisionName']}),_0x59a421['hide']());}this['_saveRevisionFormView']||(this['_createSaveRevisionFormView'](),this['_saveRevisionFormView']['on']('submit',()=>_0x5402c6(this['_saveRevisionFormView']))),this['_saveRevisionFormView']['reset'](),_0x59a421['show']({'id':'revisionSave','title':y(_0x4ed42e,'Save\x20current\x20revision'),'isModal':!0x0,'content':this['_saveRevisionFormView'],'actionButtons':[{'label':y(_0x2dc327['locale'],'Cancel'),'withText':!0x0,'onExecute':()=>_0x59a421['hide']()},{'label':y(_0x2dc327['locale'],'Accept'),'class':'ck-button-action','withText':!0x0,'onCreate'(_0x4664d0){_0x4664d0['bind']('isEnabled')['to'](_0x7d7431,'isReady',_0x7d7431,'isEnabled',_0x2dc327,'isReadOnly',(_0x2439ca,_0x27e2f2,_0x2f4de6)=>_0x2439ca&&_0x27e2f2&&!_0x2f4de6);},'onExecute':()=>_0x5402c6(this['_saveRevisionFormView'])}]});}['_createSaveRevisionFormView'](){const _0x251ba4=this['editor'],_0x381dbd=_0x251ba4['locale'];this['_saveRevisionFormView']=new ns(_0x381dbd,_0x251ba4['config']['get']('revisionHistory.requireRevisionName')),this['_saveRevisionFormView']['render']();}}class Z extends _0x71de83{['changeId'];['_model'];constructor(_0x5c3f65,_0x1c27e6){super(_0x5c3f65),this['_model']=_0x1c27e6,this['changeId']=_0x1c27e6['id'];const _0x375627=this['bindTemplate'],_0x10e82c=y(_0x5c3f65,_0x1c27e6['data']['isSuggestion']?'Suggested\x20by':'add'==_0x1c27e6['type']?'Added\x20by':'Removed\x20by');this['set']('type',_0x1c27e6['type']),this['setTemplate']({'tag':'div','attributes':{'class':['ck-annotation','ck-revision-change',_0x375627['to']('type',_0xaeb165=>'ck-revision-change__'+_0xaeb165)],'tabindex':-0x1},'children':[{'tag':'span','children':[{'tag':'span','attributes':{'class':['ck-revision-change__label']},'children':[{'text':_0x10e82c}]},{'text':'\x20'+_0x1c27e6['author']['name']}]}]});}['focus'](){this['element']['focus']();}}class r extends/* #__PURE__ -- @preserve */
25
+ _0x31507c(){['id'];['author'];['type'];['data'];['rootName'];constructor(_0x55d6b3){super(),this['id']=_0x55d6b3['id']||_0x57a491(),this['author']=_0x55d6b3['author'],this['type']=_0x55d6b3['type'],this['data']=_0x55d6b3['data']||{},this['rootName']=_0x55d6b3['rootName'],this['set']('createdAt',_0x55d6b3['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(_0x172c58,_0x19bbb4){this['newRevisionId']=_0x172c58,this['oldRevisionId']=_0x19bbb4,this['changes']=new _0x54dc76();}['_setChanges'](_0x3a366e){for(const _0xda6b87 of _0x3a366e)this['changes']['add'](_0xda6b87);}}const tt={'c':_0x54f977,'a':_0x27e573,'e':_0x4c6c9f,'r':_0x48908b,'u':_0x2b0a85};class d extends _0x56f031{['repository'];['adapter'];['_activeViewTarget'];['_changeView'];['_changeIdToChange'];['_balloon'];static get['pluginName'](){return'RevisionViewer';}static get['requires'](){return[_0x344bf0,_0x200889,A];}constructor(_0x5109f3){super(_0x5109f3),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',(_0x1d2de2,_0x31c336,_0x1d174f)=>{this['activeChange']=null,this['activeView']=null,this['editor']['editing']['view']['change'](_0x22f3a4=>{for(const _0x2b24a1 of this['editor']['editing']['view']['document']['roots'])_0x1d174f?_0x22f3a4['removeClass']('ck-editor__editable__overlay',_0x2b24a1):_0x22f3a4['addClass']('ck-editor__editable__overlay',_0x2b24a1);});}),this['bind']('isNavigationMode')['to'](this,'activeChange',_0x20af3c=>null!==_0x20af3c),this['bind']('currentChangeNumber')['to'](this,'isReady',this,'diff',this,'activeChange',(_0x1e00f3,_0x2cd1c9,_0x3f7895)=>_0x1e00f3&&_0x3f7895?_0x2cd1c9['changes']['getIndex'](_0x3f7895):0x0),this['bind']('numberOfChanges')['to'](this,'isReady',this,'diff',(_0x9155ab,_0x348cb4)=>_0x9155ab?_0x348cb4['changes']['length']:0x0),this['_changeView']=null,this['_changeIdToChange']=new Map(),this['adapter']=null,this['_balloon']=this['editor']['plugins']['get'](_0x200889);}['init'](){const _0x4b2ff9=this['editor'],_0x4a2f8c=new yt(_0x4b2ff9,{'direction':'backward'}),_0x51d09b=new yt(_0x4b2ff9,{'direction':'forward'});(_0x4b2ff9['commands']['add']('showPreviousChange',_0x4a2f8c),_0x4b2ff9['commands']['add']('showNextChange',_0x51d09b),_0x4b2ff9['commands']['add']('restoreRevision',new bt(_0x4b2ff9)),this['on']('change:numberOfChanges',()=>{_0x4a2f8c['refresh'](),_0x51d09b['refresh']();}),this['_setConversion'](),this['_initInteractions'](),_0x4b2ff9['enableReadOnlyMode']('revision-viewer'),_0x4b2ff9['plugins']['has']('WidgetToolbarRepository'))&&_0x4b2ff9['plugins']['get']('WidgetToolbarRepository')['forceDisabled']('revision-viewer');}async['getRevisionData'](_0x56f4a1){await this['loadRevisionData'](_0x56f4a1);const _0x317a44={};for(const _0x259bbb in _0x56f4a1['diffData']){if(_0x56f4a1['diffData'][_0x259bbb]['attachChange']&&!_0x56f4a1['diffData'][_0x259bbb]['attachChange']['isAttached'])continue;const _0x2bc9c0=this['_removeRevisionMarkers'](JSON['parse'](_0x56f4a1['diffData'][_0x259bbb]['insertions'])),_0x57be76=this['editor']['editing']['view']['document'],_0x903b9=new _0x86267c(_0x57be76,_0x2bc9c0['map'](_0xba2671=>this['_getViewObj'](_0xba2671)));this['editor']['data']['processor']['useFillerType']('marked'),_0x317a44[_0x259bbb]=this['editor']['data']['processor']['toData'](_0x903b9),this['editor']['data']['processor']['useFillerType']('default');}return _0x317a44;}async['getRevisionRootsAttributes'](_0x2dec10){await this['loadRevisionData'](_0x2dec10);const _0x232e50={};for(const _0x5bed15 in _0x2dec10['diffData'])_0x2dec10['diffData'][_0x5bed15]['attachChange']&&!_0x2dec10['diffData'][_0x5bed15]['attachChange']['isAttached']||(_0x232e50[_0x5bed15]=_0x2dec10['diffData'][_0x5bed15]['attributesAfter']||{});return _0x232e50;}['_removeRevisionMarkers'](_0x3040a8){return(_0x3040a8=_0x3040a8['filter'](_0x4ad8b8=>!_0x4ad8b8['name']||'revision-start'!==_0x4ad8b8['name']&&'revision-end'!==_0x4ad8b8['name']))['forEach'](_0x492adf=>{'string'!=typeof _0x492adf&&(_0x492adf['children']=this['_removeRevisionMarkers'](_0x492adf['children']),_0x492adf['attributes']=_0x492adf['attributes']['filter'](_0x149453=>!_0x149453[0x0]['startsWith']('data-revision-')));}),_0x3040a8;}async['compare'](_0x35e1d1,_0x4de076,_0x1b3f8c=!0x1){if(!this['isEnabled'])return;const _0x399d32=this['diff'],_0x590f37=this['repository'],_0x181c39='string'==typeof _0x35e1d1?_0x590f37['getRevision'](_0x35e1d1):_0x35e1d1,_0x50f69f='string'==typeof _0x4de076?_0x590f37['getRevision'](_0x4de076):_0x4de076,_0x231ca7=_0x181c39['id'],_0x2e0dbe=_0x50f69f?_0x50f69f['id']:null;if(!_0x1b3f8c&&this['diff']&&this['diff']['newRevisionId']===_0x231ca7&&this['diff']['oldRevisionId']===_0x2e0dbe)return Promise['resolve']();this['isReady']=!0x1,this['activeView']=null,this['activeChange']=null,this['diff']=new f(_0x231ca7,_0x2e0dbe);const _0x30b93b=this['_getRevisionsRange'](_0x181c39,_0x50f69f,!0x0)['map'](_0x26df12=>this['loadRevisionData'](_0x26df12));return _0x30b93b['push'](new Promise(_0x37d0a9=>{setTimeout(_0x37d0a9,0x14);})),Promise['all'](_0x30b93b)['then'](()=>{if(!this['isEnabled'])return;this['_cleanUp']();const _0x2c156b=this['_getDiff'](_0x231ca7,_0x2e0dbe);for(const _0x1234d7 of _0x2c156b['changes'])this['_changeIdToChange']['set'](_0x1234d7['id'],_0x1234d7);this['editor']['model']['enqueueChange']({'isUndoable':!0x1},_0xb119f1=>{for(const _0x48f76a of this['editor']['model']['document']['getRootNames']())_0xb119f1['detachRoot'](_0x48f76a);for(const _0x102107 of Object['keys'](_0x2c156b['model'])){const _0x19f097=_0xb119f1['addRoot'](_0x102107);for(const _0x4a5ecf of Object['keys'](_0x2c156b['attributes'][_0x102107]))_0xb119f1['setAttribute'](_0x4a5ecf,_0x2c156b['attributes'][_0x102107][_0x4a5ecf],_0x19f097);_0xb119f1['insert'](_0x2c156b['model'][_0x102107],_0x19f097,0x0);}}),this['diff']['_setChanges'](this['_sortAndFilterDiffChanges'](_0x2c156b['changes'])),this['isReady']=!0x0;})['catch'](_0xb08f52=>{console['error'](_0xb08f52),this['_cleanUp'](),_0x399d32&&(this['diff']=_0x399d32),this['isReady']=!0x0;});}['addRevisionData'](_0x1e81b6,_0x48bf05){const _0x474478=this['repository']['createRevision'](_0x1e81b6);return _0x474478['on']('_update',(_0x3e5eae,_0x232ed8,_0xb72820)=>_0x48bf05(_0x232ed8,_0xb72820,_0x474478)),this['repository']['addRevision'](_0x474478),_0x474478;}['loadRevisionData'](_0x3bdf22){if(!_0x3bdf22||_0x3bdf22['diffData'])return Promise['resolve']();{const _0x1cb7e6=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0x1cb7e6,'revisionId':_0x3bdf22['id']})['then'](_0x2140cb=>{_0x3bdf22['_update']({'diffData':_0x2140cb['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},_0x364512=>{for(const _0x4cd447 of this['editor']['model']['document']['getRootNames']())_0x364512['detachRoot'](_0x4cd447);});}['_sortAndFilterDiffChanges'](_0x3bafae){const _0x236eaf=[],_0x57b4ba=new Map();for(const _0x45b63a of this['editor']['model']['document']['getRootNames']()){const _0x478650=this['editor']['editing']['view']['getDomRoot'](_0x45b63a);if(!_0x478650)continue;const _0x9cf41e=_0x478650['getClientRects']()['item'](0x0);_0x9cf41e&&(_0x236eaf['push'](_0x45b63a),_0x57b4ba['set'](_0x45b63a,_0x9cf41e));}return _0x236eaf['sort']((_0x282db0,_0x1697c2)=>{const _0x58fde0=_0x57b4ba['get'](_0x282db0),_0x1be6a1=_0x57b4ba['get'](_0x1697c2);return _0x58fde0['y']-_0x1be6a1['y']||_0x58fde0['x']-_0x1be6a1['x'];}),(_0x3bafae=_0x3bafae['filter'](_0x419a19=>_0x236eaf['includes'](_0x419a19['rootName'])))['sort']((_0x53c468,_0x3a53f2)=>_0x236eaf['indexOf'](_0x53c468['rootName'])-_0x236eaf['indexOf'](_0x3a53f2['rootName'])),_0x3bafae;}['_makeTape'](_0x31b14c){const _0x586628=Array['from'](_0x31b14c['markers'])['filter'](([_0xa28ba7,_0x1f3a97])=>_0xa28ba7['startsWith']('revision:')&&!_0x1f3a97['isCollapsed']),_0x2dcad2=Array['from'](this['editor']['model']['createRangeIn'](_0x31b14c)['getWalker']({'singleCharacters':!0x0}));if(0x0!=_0x586628['length'])for(const _0x365f26 of _0x2dcad2){const [_0x2fce27,_0x11180a]=_0x586628[0x0],[,_0x413545,_0x55eee8]=_0x2fce27['split'](':');if(_0x11180a['end']['isEqual'](_0x365f26['nextPosition'])&&_0x586628['shift'](),(_0x365f26['previousPosition']['isEqual'](_0x11180a['start'])||_0x365f26['previousPosition']['isAfter'](_0x11180a['start']))&&('insertion'==_0x413545?_0x365f26['isAdded']={'userId':_0x55eee8}:'deletion'==_0x413545&&(_0x365f26['isRemoved']={'userId':_0x55eee8})),0x0==_0x586628['length'])break;}return _0x2dcad2;}['_refreshStartEndIndex'](_0x2b994f){const _0x199414=new Map();for(let _0x1811a8=0x0;_0x1811a8<_0x2b994f['length'];_0x1811a8++)'text'===_0x2b994f[_0x1811a8]['type']?(_0x2b994f[_0x1811a8]['item']['startIndex']=_0x1811a8,_0x2b994f[_0x1811a8]['item']['endIndex']=_0x1811a8):('elementStart'===_0x2b994f[_0x1811a8]['type']?_0x2b994f[_0x1811a8]['item']['startIndex']=_0x1811a8:'elementEnd'===_0x2b994f[_0x1811a8]['type']&&(_0x2b994f[_0x1811a8]['item']['endIndex']=_0x1811a8),_0x199414['set'](_0x2b994f[_0x1811a8]['id'],_0x1811a8));for(const _0x51b66c of _0x199414['values']())'elementStart'===_0x2b994f[_0x51b66c]['type']?_0x2b994f[_0x51b66c]['item']['endIndex']=_0x199414['get'](_0x2b994f[_0x51b66c]['pairId']):'elementEnd'===_0x2b994f[_0x51b66c]['type']&&(_0x2b994f[_0x51b66c]['item']['startIndex']=_0x199414['get'](_0x2b994f[_0x51b66c]['pairId']));}['_processTape'](_0x5878af){for(let _0x5c35d7=0x0;_0x5c35d7<_0x5878af['length'];_0x5c35d7++){if('elementStart'===_0x5878af[_0x5c35d7]['type'])_0x5878af[_0x5c35d7]['item']['startIndex']=_0x5c35d7;else{if('elementEnd'===_0x5878af[_0x5c35d7]['type']){_0x5878af[_0x5c35d7]['item']['endIndex']=_0x5c35d7;const _0x3d6af4=_0x5878af[_0x5c35d7]['item']['startIndex'];_0x5878af[_0x3d6af4]['pairId']=_0x5878af[_0x5c35d7]['id'],_0x5878af[_0x5c35d7]['pairId']=_0x5878af[_0x3d6af4]['id'];}else _0x5878af[_0x5c35d7]['item']['startIndex']=_0x5c35d7,_0x5878af[_0x5c35d7]['item']['endIndex']=_0x5c35d7,_0x5878af[_0x5c35d7]['pairId']=null;}_0x5878af[_0x5c35d7]['markersStart']||(_0x5878af[_0x5c35d7]['markersStart']=[],_0x5878af[_0x5c35d7]['markersEnd']=[]);}}['_markInsertions'](_0x249a7e,_0x5a5f5c){const _0x10f794=_0x249a7e['filter'](_0x5da5ac=>!_0x5da5ac['isAdded']);for(let _0x4e1343=0x0;_0x4e1343<_0x5a5f5c['length'];_0x4e1343++)_0x5a5f5c[_0x4e1343]['isAdded']&&(_0x10f794[_0x4e1343]['isAdded']=_0x5a5f5c[_0x4e1343]['isAdded']);}['_makeModelFromViewString'](_0x3a5dae){const _0x4a50e3=JSON['parse'](_0x3a5dae),_0x32e4b6=this['editor']['editing']['view']['document'],_0x45eabe=new _0x86267c(_0x32e4b6,_0x4a50e3['map'](_0x5e2da4=>this['_getViewObj'](_0x5e2da4)));return this['editor']['data']['toModel'](_0x45eabe);}['_getViewObj'](_0x426048){const _0x27feba=this['editor']['editing']['view']['document'];if('string'==typeof _0x426048)return new _0x580431(_0x27feba,_0x426048);{const _0x64c9d8=_0x426048['children']['map'](_0x3179cd=>this['_getViewObj'](_0x3179cd));return new(tt[_0x426048['type']]||_0x2ca3d6)(_0x27feba,_0x426048['name'],_0x426048['attributes'],_0x64c9d8);}}['_getDiff'](_0x1ddfc6,_0xf430e3=null){const _0xfc8572=this['repository']['getRevision'](_0x1ddfc6),_0x487410=_0xf430e3?this['repository']['getRevision'](_0xf430e3):null,_0x138b07=this['_getRevisionsRange'](_0xfc8572,_0x487410),_0x34052b=_0x138b07[_0x138b07['length']-0x1],_0x3edfc4=new Map(),_0x1bcb94={'model':{},'attributes':{},'changes':[]},_0xc033d4=new Set(),_0x47fc9c=new Map();for(let _0x28fab6=_0x138b07['length']-0x1;_0x28fab6>=0x0;_0x28fab6--){const _0x5571c6=_0x138b07[_0x28fab6];for(const _0x22d23d of Object['keys'](_0x5571c6['diffData']))if(_0x5571c6['diffData'][_0x22d23d]['attachChange']){const _0xaf7b7=_0x5571c6['diffData'][_0x22d23d]['attachChange'];_0xaf7b7['isAttached']?(_0xc033d4['add'](_0x22d23d),_0x47fc9c['has'](_0x22d23d)&&_0x47fc9c['get'](_0x22d23d)['userId']==_0xaf7b7['userId']?_0x47fc9c['delete'](_0x22d23d):_0x47fc9c['set'](_0x22d23d,_0xaf7b7)):_0x47fc9c['has'](_0x22d23d)?(_0xc033d4['delete'](_0x22d23d),_0x47fc9c['delete'](_0x22d23d)):(_0xc033d4['add'](_0x22d23d),_0x47fc9c['set'](_0x22d23d,_0xaf7b7));}else _0xc033d4['add'](_0x22d23d);}for(const _0xa09c98 of _0xc033d4){const _0x3709b3=_0x47fc9c['has'](_0xa09c98)&&!_0x47fc9c['get'](_0xa09c98)['isAttached'];let _0x45b307=_0x3709b3?_0x138b07['length']-0x1:0x0;const _0x26eb72=_0x3709b3?-0x1:0x1;for(;_0x138b07[_0x45b307];){const _0x571cf7=_0x138b07[_0x45b307];if(_0x571cf7['diffData'][_0xa09c98]){const _0x229f6e=_0x3709b3?_0x571cf7['diffData'][_0xa09c98]['attributesBefore']:_0x571cf7['diffData'][_0xa09c98]['attributesAfter'];_0x1bcb94['attributes'][_0xa09c98]=_0x229f6e?_0x500632(_0x229f6e):{};break;}_0x45b307+=_0x26eb72;}}for(const _0x2fd05f of _0x138b07){_0x2fd05f['model']={};for(const _0x1140fd of _0x2fd05f['authors'])_0x3edfc4['set'](_0x1140fd['id'],_0x1140fd);for(const _0x2ca099 of _0xc033d4){const _0x43e793=_0x2fd05f['diffData'][_0x2ca099]?_0x2fd05f['diffData'][_0x2ca099]['insertions']:'[]',_0x8bc5da=_0x2fd05f['diffData'][_0x2ca099]?_0x2fd05f['diffData'][_0x2ca099]['deletions']:'[]';_0x2fd05f['model'][_0x2ca099]={'insertions':this['_makeModelFromViewString'](_0x43e793),'deletions':this['_makeModelFromViewString'](_0x8bc5da)};}}for(const _0x253bb8 of _0xc033d4){let _0xc71c9e=null,_0x349862=0x0;const _0x2b3356=new Map(Array['from'](_0xfc8572['model'][_0x253bb8]['insertions']['markers'])['filter'](([_0x5ce34a])=>!_0x5ce34a['startsWith']('revision:')));let _0x387d64=0x0;for(const _0x172f27 of _0x138b07){const _0x1fb7cf=this['_makeTape'](_0x172f27['model'][_0x253bb8]['insertions']);_0x172f27==_0xfc8572?(_0xc71c9e=_0x1fb7cf,_0x349862=_0xc71c9e['length'],_0xc71c9e['forEach'](_0x56b2aa=>{_0x56b2aa['id']=_0x387d64++;}),this['_processTape'](_0xc71c9e)):this['_markInsertions'](_0xc71c9e,_0x1fb7cf);const _0x48a7f3=_0xc71c9e['filter'](_0x49516d=>!_0x49516d['isAdded'])['map'](_0x22821c=>_0x22821c['id']);let _0x2a4e37=0x0;const _0x16e0ac=this['_makeTape'](_0x172f27['model'][_0x253bb8]['deletions']);_0x16e0ac['forEach'](_0x18727e=>{_0x18727e['isRemoved']?_0x18727e['id']=_0x349862++:_0x18727e['id']=_0x48a7f3[_0x2a4e37++];}),this['_processTape'](_0x16e0ac),this['_setDistance'](_0xc71c9e,'isAdded'),this['_setDistance'](_0x16e0ac,'isRemoved'),_0x172f27==_0xfc8572&&this['_markMarkers'](_0xc71c9e,_0x2b3356),_0xc71c9e=this['_joinTapes'](_0xc71c9e,_0x16e0ac),this['_refreshStartEndIndex'](_0xc71c9e),this['_setDistance'](_0xc71c9e,'isRemoved');}_0xc71c9e=_0xc71c9e['filter'](_0x20c819=>!(_0x20c819['isAdded']&&_0x20c819['isRemoved']));const _0x4c4139=new Map(_0x34052b['model'][_0x253bb8]['deletions']['markers']),_0x15dd88=new Set(_0x2b3356['keys']());for(const _0x3b27d0 of _0x4c4139['keys']())_0x15dd88['delete'](_0x3b27d0);this['_markSuggestions'](_0xc71c9e,_0x15dd88),this['_fixObsoleteTags'](_0xc71c9e),_0xc71c9e=this['_removeMissingPairs'](_0xc71c9e),_0xc71c9e=this['_markMismatchedRemovedTags'](_0xc71c9e),_0xc71c9e=this['_removeUnsupportedChanges'](_0xc71c9e);const {root:_0x4223ab,changes:_0x2e418e}=this['_makeModelFromTape'](_0xc71c9e,_0x3edfc4,_0x253bb8);_0x1bcb94['model'][_0x253bb8]=_0x4223ab;const _0xca67e5=_0x47fc9c['get'](_0x253bb8);if(_0xca67e5){const _0x1acaf2=_0x3edfc4['get'](_0xca67e5['userId']),_0x4e0e92=new r({'author':_0x1acaf2,'type':_0xca67e5['isAttached']?'add':'remove','data':{'isOnRoot':!0x0},'createdAt':new Date(),'rootName':_0x253bb8});_0x2e418e['unshift'](_0x4e0e92),_0x1bcb94['attributes'][_0x253bb8]['revisionHistoryAttachChange']=_0x4e0e92['id'];}_0x1bcb94['changes']=_0x1bcb94['changes']['concat'](_0x2e418e);}return _0x1bcb94;}['_markMarkers'](_0xef9bb8,_0xf7659f){for(let _0x9efe1d=0x0;_0x9efe1d<_0xef9bb8['length'];_0x9efe1d++)for(const [_0x4cc1ed,_0x12c81a]of _0xf7659f)_0x12c81a['start']['isEqual'](_0xef9bb8[_0x9efe1d]['previousPosition'])&&_0xef9bb8[_0x9efe1d]['markersStart']['push'](_0x4cc1ed),_0x12c81a['end']['isEqual'](_0xef9bb8[_0x9efe1d]['nextPosition'])&&_0xef9bb8[_0x9efe1d]['markersEnd']['push'](_0x4cc1ed);}['_joinTapes'](_0x261f31,_0x143913){let _0x529c16=[],_0x488cd0=0x0,_0x244643=0x0;for(;_0x488cd0<_0x261f31['length']||_0x244643<_0x143913['length'];){const _0x501a3f=_0x261f31[_0x488cd0]||{},_0x185168=_0x143913[_0x244643]||{};if(_0x501a3f['id']==_0x185168['id'])_0x488cd0++,_0x244643++,_0x529c16['push'](_0x501a3f);else{if(_0x185168['isRemoved']&&_0x501a3f['isAdded']){const {commonTape:_0x45ae10,iEnd:_0x5164c2,jEnd:_0x9a4d5a}=this['_threeWayMerge'](_0x261f31,_0x488cd0,_0x143913,_0x244643);_0x529c16=_0x529c16['concat'](_0x45ae10),_0x488cd0=_0x5164c2,_0x244643=_0x9a4d5a;}else _0x185168['isRemoved']?(_0x244643++,_0x529c16['push'](_0x185168)):(_0x488cd0++,_0x529c16['push'](_0x501a3f));}}return _0x529c16;}['_markSuggestions'](_0x4a444e,_0x1d79c1){const _0x7304f1=[];for(let _0x5d500e=0x0;_0x5d500e<_0x4a444e['length'];_0x5d500e++){for(let _0x366222=0x0;_0x366222<_0x4a444e[_0x5d500e]['markersStart']['length'];_0x366222++){const _0x398e31=_0x4a444e[_0x5d500e]['markersStart'][_0x366222];if(!_0x1d79c1['has'](_0x398e31))continue;const {group:_0x58fb6a,type:_0x77b951,authorId:_0x2cfc20}=_0x523f15(_0x398e31);'revision-suggestion'!=_0x58fb6a||'insertion'!=_0x77b951&&'deletion'!=_0x77b951||(_0x7304f1['unshift']({'type':_0x77b951,'name':_0x398e31,'userId':_0x2cfc20}),_0x4a444e[_0x5d500e]['markersStart']['splice'](_0x366222,0x1),_0x366222--);}_0x209901(_0x4a444e[_0x5d500e]);for(let _0x477997=0x0;_0x477997<_0x4a444e[_0x5d500e]['markersEnd']['length'];_0x477997++){const _0x25ad39=_0x4a444e[_0x5d500e]['markersEnd'][_0x477997];if(!_0x1d79c1['has'](_0x25ad39))continue;const {group:_0x3d44c7,type:_0x4f2ff5}=_0x523f15(_0x25ad39);if('revision-suggestion'!=_0x3d44c7||'insertion'!=_0x4f2ff5&&'deletion'!=_0x4f2ff5)continue;_0x4a444e[_0x5d500e]['markersEnd']['splice'](_0x477997,0x1),_0x477997--;const _0x4c858e=_0x7304f1['findIndex'](_0x310790=>_0x310790['name']==_0x25ad39);_0x4c858e>-0x1&&_0x7304f1['splice'](_0x4c858e,0x1);}}function _0x523f15(_0x8526cb){const _0x223dc9=_0x8526cb['split'](':');return{'group':_0x223dc9[0x0],'type':_0x223dc9[0x1],'subType':_0x223dc9['length']>=0x5?_0x223dc9[0x2]:null,'id':_0x223dc9['length']<0x5?_0x223dc9[0x2]:_0x223dc9[0x3],'authorId':_0x223dc9['length']<0x5?_0x223dc9[0x3]:_0x223dc9[0x4],'markerCount':0x6==_0x223dc9['length']?_0x223dc9[0x5]:null};}function _0x209901(_0x4c6ec1){for(let _0xcd8538=0x0;_0xcd8538<_0x7304f1['length'];_0xcd8538++){if(_0x4c6ec1['isAdded']&&'insertion'==_0x7304f1[_0xcd8538]['type'])return _0x4c6ec1['isAddSuggestion']=_0x7304f1[_0xcd8538],void delete _0x4c6ec1['isAdded'];if(!_0x4c6ec1['isAdded']&&!_0x4c6ec1['isRemoved']&&'deletion'==_0x7304f1[_0xcd8538]['type'])return void(_0x4c6ec1['isRemoveSuggestion']=_0x7304f1[_0xcd8538]);}}}['_setDistance'](_0x59604b,_0x2fee3c){let _0x4503bc=0x0,_0x598b1d=!0x1;const _0x1f5b32=new Map();for(const _0x27ee74 of _0x59604b)_0x27ee74[_0x2fee3c]?_0x598b1d&&(_0x4503bc++,_0x598b1d=!0x1):(_0x4503bc++,_0x598b1d=!0x0),_0x1f5b32['set'](_0x27ee74['id'],_0x4503bc);for(let _0x178c75=0x0;_0x178c75<_0x59604b['length'];_0x178c75++){if('isRemoved'==_0x2fee3c&&_0x59604b[_0x178c75]['isAdded']||'isAdded'==_0x2fee3c&&_0x59604b[_0x178c75]['isRemoved'])continue;if('text'==_0x59604b[_0x178c75]['type']){_0x59604b[_0x178c75]['distance']=0x0;continue;}const _0x4e2576=_0x1f5b32['get'](_0x59604b[_0x178c75]['pairId']),_0x107b57=_0x1f5b32['get'](_0x59604b[_0x178c75]['id']);_0x59604b[_0x178c75]['distance']=_0x4e2576-_0x107b57;}}['_getRevisionsRange'](_0x17b4fc,_0x365b87,_0x4bfd25=!0x1){const _0x28dfa6=[];let _0x33f8cf=this['repository']['getIndex'](_0x17b4fc),_0x16f2bd=this['repository']['getIndex'](_0x365b87);for(-0x1==_0x16f2bd&&(_0x16f2bd=this['repository']['_revisions']['length'],_0x4bfd25=!0x1);_0x33f8cf<_0x16f2bd;)_0x28dfa6['push'](this['repository']['getRevision'](_0x33f8cf)),_0x33f8cf++;return _0x4bfd25&&_0x28dfa6['push'](this['repository']['getRevision'](_0x33f8cf)),_0x28dfa6;}['_threeWayMerge'](_0x4c7974,_0x2b1977,_0x572be4,_0x33f575){const _0x45ee98=this['editor']['model']['schema'];let _0x36fb45=_0x2b1977;for(;_0x4c7974[_0x36fb45]&&_0x4c7974[_0x36fb45]['isAdded'];)_0x36fb45++;let _0xd55b5c=_0x33f575;for(;_0x572be4[_0xd55b5c]&&_0x572be4[_0xd55b5c]['isRemoved'];)_0xd55b5c++;_0x19d7b7(_0x4c7974,_0x2b1977,_0x36fb45),_0x19d7b7(_0x572be4,_0x33f575,_0xd55b5c);const _0x565ef0=_0x572be4['slice'](_0x33f575,_0xd55b5c)['concat'](_0x4c7974['slice'](_0x2b1977,_0x36fb45));return _0x565ef0['sort']((_0x14ccc0,_0x278f15)=>_0x14ccc0['side']!=_0x278f15['side']?_0x14ccc0['side']-_0x278f15['side']:_0x14ccc0['level']!=_0x278f15['level']?_0x14ccc0['level']-_0x278f15['level']:_0x14ccc0['distance']!=_0x278f15['distance']?_0x278f15['distance']-_0x14ccc0['distance']:!!_0x14ccc0['isAdded']!=!!_0x278f15['isAdded']?-0x1==_0x14ccc0['side']||0x0==_0x14ccc0['side']?_0x14ccc0['isAdded']?-0x1:0x1:_0x14ccc0['isAdded']?0x1:-0x1:_0x14ccc0['index']-_0x278f15['index']),{'commonTape':_0x565ef0,'iEnd':_0x36fb45,'jEnd':_0xd55b5c};function _0x19d7b7(_0x272be4,_0x278719,_0x241d3f){let _0x28382f=-0x1,_0x4da32e=Number['POSITIVE_INFINITY'],_0x57d0bc=!0x0;for(let _0x15088f=_0x278719;_0x15088f<_0x241d3f;_0x15088f++)if(_0x45ee98['isInline'](_0x272be4[_0x15088f]['item'])||(_0x57d0bc=!0x1),_0x272be4[_0x15088f]['item']['startIndex']<_0x278719&&(_0x28382f=_0x15088f),_0x272be4[_0x15088f]['item']['endIndex']>=_0x241d3f){_0x4da32e=_0x15088f;break;}_0x57d0bc&&(_0x28382f=_0x241d3f-0x1);for(let _0x2984c5=_0x278719;_0x2984c5<_0x241d3f;_0x2984c5++)_0x272be4[_0x2984c5]['side']=_0x2984c5<=_0x28382f?-0x1:_0x2984c5<_0x4da32e?0x0:0x1,_0x272be4[_0x2984c5]['index']=_0x2984c5;let _0x51a7b4=0x0;for(let _0x5d25b6=_0x278719;_0x5d25b6<=_0x28382f;_0x5d25b6++)0x0==_0x272be4[_0x5d25b6]['distance']?_0x272be4[_0x5d25b6]['level']=_0x51a7b4:(_0x51a7b4++,_0x272be4[_0x5d25b6]['level']=_0x51a7b4,_0x51a7b4++);for(let _0x441bf6=_0x278719;_0x441bf6<_0x241d3f;_0x441bf6++)0x0==_0x272be4[_0x441bf6]['side']&&(_0x272be4[_0x441bf6]['level']=_0x51a7b4);_0x51a7b4=0x0;for(let _0x1b3de5=_0x241d3f-0x1;_0x1b3de5>=_0x4da32e;_0x1b3de5--)0x0==_0x272be4[_0x1b3de5]['distance']?_0x272be4[_0x1b3de5]['level']=_0x51a7b4:(_0x51a7b4--,_0x272be4[_0x1b3de5]['level']=_0x51a7b4,_0x51a7b4--);}}['_fixObsoleteTags'](_0x250847){const _0x476bc0=new Map(),_0x99578b=this['editor']['model']['schema'];for(let _0x379d76=0x1;_0x379d76<_0x250847['length'];_0x379d76++){let _0x4fc6a4,_0x5eee5d,_0x4732ea;const _0x376b4e=_0x250847[_0x379d76],_0x548f71=_0x250847[_0x379d76-0x1];if('text'==_0x376b4e['type'])continue;if(_0x376b4e['type']!=_0x548f71['type'])continue;if(!_0x99578b['isBlock'](_0x548f71['item'])||_0x99578b['isLimit'](_0x548f71['item']))continue;if(!_0x99578b['isBlock'](_0x376b4e['item'])||_0x99578b['isLimit'](_0x376b4e['item']))continue;if((_0x250847[_0x379d76]['isAdded']||_0x250847[_0x379d76]['isAddSuggestion'])&&_0x250847[_0x379d76-0x1]['isRemoved'])_0x4fc6a4=_0x250847[_0x379d76],_0x5eee5d=_0x250847[_0x379d76-0x1],_0x4732ea=_0x379d76-0x1;else{if(!_0x250847[_0x379d76]['isRemoved']||!_0x250847[_0x379d76-0x1]['isAdded']&&!_0x250847[_0x379d76-0x1]['isAddSuggestion'])continue;_0x4fc6a4=_0x250847[_0x379d76-0x1],_0x5eee5d=_0x250847[_0x379d76],_0x4732ea=_0x379d76;}const _0xd5bfff=_0x4fc6a4['level']==_0x5eee5d['level'],_0x43dc7b=Math['abs'](_0x4fc6a4['level'])<Math['abs'](_0x5eee5d['level'])&&0x0==_0x5eee5d['distance'];(_0xd5bfff||_0x43dc7b)&&(_0x476bc0['set'](_0x5eee5d['id'],_0x4fc6a4['id']),_0x250847['splice'](_0x4732ea,0x1),_0x379d76--,_0x4fc6a4['isAdded']=!0x1);}for(let _0x259296=0x0;_0x259296<_0x250847['length'];_0x259296++)_0x476bc0['has'](_0x250847[_0x259296]['pairId'])&&(_0x250847[_0x259296]['pairId']=_0x476bc0['get'](_0x250847[_0x259296]['pairId']));}['_removeMissingPairs'](_0xa7f9b){const _0x9da69=new Set(_0xa7f9b['map'](_0x457536=>_0x457536['id']));for(let _0x292257=0x0;_0x292257<_0xa7f9b['length'];_0x292257++)_0x9da69['has'](_0xa7f9b[_0x292257]['pairId'])||0x0==_0xa7f9b[_0x292257]['distance']||(_0xa7f9b[_0x292257]['isIncorrect']=!0x0);return _0xa7f9b['filter'](_0x400788=>!_0x400788['isIncorrect']);}['_markMismatchedRemovedTags'](_0x1bba14){const _0x10f267=new Set();for(let _0x1353cc=0x0;_0x1353cc<_0x1bba14['length'];_0x1353cc++){if(_0x10f267['has'](_0x1bba14[_0x1353cc]['id'])&&_0x1bba14[_0x1353cc]['isRemoved']&&(_0x1bba14[_0x1353cc]['isIncorrect']=!0x0),_0x1bba14[_0x1353cc]['isIncorrect'])continue;if(0x0==_0x1bba14[_0x1353cc]['distance'])continue;if('elementStart'!=_0x1bba14[_0x1353cc]['type'])continue;if(null==_0x1bba14[_0x1353cc]['pairId'])continue;let _0x2592a0=_0x1353cc+0x1,_0x163003=0x0;for(;_0x1bba14[_0x2592a0]['id']!=_0x1bba14[_0x1353cc]['pairId'];)'elementStart'==_0x1bba14[_0x2592a0]['type']?_0x163003++:'elementEnd'==_0x1bba14[_0x2592a0]['type']&&_0x163003--,_0x2592a0++;if(0x0!=_0x163003){if(_0x1bba14[_0x1353cc]['isRemoved'])_0x1bba14[_0x1353cc]['isIncorrect']=!0x0;else{for(;_0x2592a0!=_0x1353cc;)_0x1bba14[_0x2592a0]['isRemoved']&&0x0!=_0x1bba14[_0x2592a0]['distance']&&(_0x1bba14[_0x2592a0]['isIncorrect']=!0x0,_0x10f267['add'](_0x1bba14[_0x2592a0]['pairId'])),_0x2592a0--;}}}return _0x1bba14['filter'](_0x1563ed=>!_0x1563ed['isIncorrect']);}['_removeUnsupportedChanges'](_0x56908c){const _0x5867b0=this['editor']['model']['schema'];for(let _0x24babb=0x0;_0x24babb<_0x56908c['length'];_0x24babb++){if(!(_0x56908c[_0x24babb]['isAdded']||_0x56908c[_0x24babb]['isAddSuggestion']||_0x56908c[_0x24babb]['isRemoved']||_0x56908c[_0x24babb]['isRemoveSuggestion']))continue;if(0x0==_0x56908c[_0x24babb]['distance'])continue;const _0x1523f2=_0x56908c[_0x24babb]['item'];_0x5867b0['isBlock'](_0x1523f2)||_0x5867b0['isLimit'](_0x1523f2)||(_0x56908c[_0x24babb]['isAdded']&&delete _0x56908c[_0x24babb]['isAdded'],_0x56908c[_0x24babb]['isAddSuggestion']&&delete _0x56908c[_0x24babb]['isAddSuggestion'],_0x56908c[_0x24babb]['isRemoveSuggestion']&&delete _0x56908c[_0x24babb]['isRemoveSuggestion'],_0x56908c[_0x24babb]['isRemoved']&&(_0x56908c[_0x24babb]['isIncorrect']=!0x0));}return _0x56908c['filter'](_0x57b647=>!_0x57b647['isIncorrect']);}['_makeModelFromTape'](_0x185ec0,_0x359349,_0x343831){const _0x25adc9=new wt(),_0x16b676=[],_0x46e759=new Map(),_0x153fbb=this['editor']['model'],_0x218f05=_0x153fbb['schema'],_0x1ac054=[_0x25adc9],_0x518ab9={},_0x446e5f={'isAdded':[],'isRemoved':[],'isAddSuggestion':[],'isRemoveSuggestion':[]};let _0xae5c23=null;const _0x3ae876=[0x0];for(let _0x2b2e93=0x0;_0x2b2e93<_0x185ec0['length'];_0x2b2e93++){let _0xf96396,_0x1fa065;if('elementStart'===_0x185ec0[_0x2b2e93]['type']){_0xf96396=_0x153fbb['createPositionFromPath'](_0x25adc9,_0x3ae876);const _0x250fcb=new ft(_0x185ec0[_0x2b2e93]['item']['name'],_0x185ec0[_0x2b2e93]['item']['getAttributes']());_0x1ac054[0x0]['_appendChild'](_0x250fcb),_0x3ae876['push'](0x0),_0x1ac054['unshift'](_0x250fcb),_0x1fa065=_0x153fbb['createPositionFromPath'](_0x25adc9,_0x3ae876),_0xae5c23=null;}else{if('elementEnd'===_0x185ec0[_0x2b2e93]['type'])_0x1ac054['shift'](),_0xf96396=_0x153fbb['createPositionFromPath'](_0x25adc9,_0x3ae876),_0x3ae876['pop'](),_0x3ae876[_0x3ae876['length']-0x1]++,_0x1fa065=_0x153fbb['createPositionFromPath'](_0x25adc9,_0x3ae876),_0xae5c23=null;else{if(_0xf96396=_0x153fbb['createPositionFromPath'](_0x25adc9,_0x3ae876),_0xae5c23&&_0x4540b6(_0xae5c23,_0x185ec0[_0x2b2e93]['item']))_0xae5c23['_data']+=_0x185ec0[_0x2b2e93]['item']['data'];else{const _0x43ab49=new _t(_0x185ec0[_0x2b2e93]['item']['data'],_0x185ec0[_0x2b2e93]['item']['getAttributes']());_0x1ac054[0x0]['_appendChild'](_0x43ab49),_0xae5c23=_0x43ab49;}_0x3ae876[_0x3ae876['length']-0x1]+=_0x185ec0[_0x2b2e93]['item']['offsetSize'],_0x1fa065=_0x153fbb['createPositionFromPath'](_0x25adc9,_0x3ae876);}}for(const _0x14bcc7 of _0x185ec0[_0x2b2e93]['markersStart'])_0x46e759['set'](_0x14bcc7,{'start':_0xf96396,'end':null});_0x16c365('isRemoveSuggestion',_0x2b2e93,_0xf96396,_0x1fa065),_0x16c365('isAddSuggestion',_0x2b2e93,_0xf96396,_0x1fa065),_0x16c365('isRemoved',_0x2b2e93,_0xf96396,_0x1fa065),_0x16c365('isAdded',_0x2b2e93,_0xf96396,_0x1fa065);for(const _0x402aeb of _0x185ec0[_0x2b2e93]['markersEnd']){_0x46e759['get'](_0x402aeb)['end']=_0x1fa065;}}for(const [_0x14b66a,_0x15561c]of _0x46e759){const _0x1c2c50=this['editor']['model']['createRange'](_0x15561c['start'],_0x15561c['end']);_0x25adc9['markers']['set'](_0x14b66a,_0x1c2c50);}return _0x16b676['sort']((_0x27527a,_0x1d1824)=>{const _0x2459a1=_0x25adc9['markers']['get']('revision:'+_0x27527a['id']),_0x50170c=_0x25adc9['markers']['get']('revision:'+_0x1d1824['id']);return _0x2459a1['start']['isBefore'](_0x50170c['start'])?-0x1:_0x2459a1['start']['isAfter'](_0x50170c['start'])?0x1:_0x2459a1['end']['isBefore'](_0x50170c['end'])?-0x1:_0x2459a1['end']['isAfter'](_0x50170c['end'])?0x1:'add'===_0x27527a['type']?-0x1:0x1;}),{'root':_0x25adc9,'changes':_0x16b676};function _0x16c365(_0x120bb5,_0xa373eb,_0x44c7b0,_0xdc1253){const _0x384098=!!_0x185ec0[_0xa373eb][_0x120bb5],_0x267da3=_0x384098?_0x185ec0[_0xa373eb][_0x120bb5]['userId']:null,_0x449da4=_0xa373eb===_0x185ec0['length']-0x1,_0x3a909e=_0x446e5f[_0x120bb5][0x0],_0x1be821=_0x218f05['isObject'](_0x185ec0[_0xa373eb]['item']);!_0x518ab9[_0x120bb5]&&_0x384098?_0x518ab9[_0x120bb5]={'start':_0x44c7b0,'tapeItem':_0x185ec0[_0xa373eb],'userId':_0x267da3,'type':_0x120bb5}:_0x518ab9[_0x120bb5]&&!_0x384098?(_0x518ab9[_0x120bb5]['end']=_0x44c7b0,_0x3204b5(_0x518ab9[_0x120bb5]),_0x518ab9[_0x120bb5]=null):_0x518ab9[_0x120bb5]&&_0x384098&&_0x518ab9[_0x120bb5]['userId']!==_0x267da3&&(_0x518ab9[_0x120bb5]['end']=_0x44c7b0,_0x3a909e&&_0x3a909e['userId']===_0x518ab9[_0x120bb5]['userId']||_0x3204b5(_0x518ab9[_0x120bb5]),_0x518ab9[_0x120bb5]={'start':_0x44c7b0,'tapeItem':_0x185ec0[_0xa373eb],'userId':_0x267da3,'type':_0x120bb5}),_0x518ab9[_0x120bb5]&&_0x1be821&&('elementStart'!==_0x185ec0[_0xa373eb]['type']||_0x3a909e&&_0x3a909e['userId']===_0x267da3||_0x446e5f[_0x120bb5]['unshift']({'userId':_0x267da3,'object':_0x185ec0[_0xa373eb]['item'],'change':_0x518ab9[_0x120bb5]}),'elementEnd'===_0x185ec0[_0xa373eb]['type']&&_0x3a909e&&_0x3a909e['object']===_0x185ec0[_0xa373eb]['item']&&(_0x446e5f[_0x120bb5]['shift'](),_0x518ab9[_0x120bb5]=_0x3a909e['change'])),_0x518ab9[_0x120bb5]&&_0x449da4&&(_0x518ab9[_0x120bb5]['end']=_0xdc1253,_0x3204b5(_0x518ab9[_0x120bb5]),_0x518ab9[_0x120bb5]=null);}function _0x3204b5({start:_0x55108a,end:_0x571df0,tapeItem:_0x18d296,userId:_0x146682,type:_0x5f363c}){const _0x28deb3=_0x18d296['item'],_0x5e24a9=_0x153fbb['schema']['isBlock'](_0x28deb3)&&!_0x153fbb['schema']['isLimit'](_0x28deb3),_0x3d8337=_0x55108a['nodeAfter']==_0x571df0['parent']&&_0x571df0['isAtStart'];if(_0x5e24a9&&_0x3d8337)return;const _0x28681d=_0x153fbb['createRange'](_0x55108a,_0x571df0),_0x5366fe=_0x359349['get'](_0x146682),_0x52ffe9=new r({'author':_0x5366fe,'type':'isAdded'==_0x5f363c||'isAddSuggestion'==_0x5f363c?'add':'remove','data':{'isSuggestion':'isAddSuggestion'==_0x5f363c||'isRemoveSuggestion'==_0x5f363c},'createdAt':new Date(),'rootName':_0x343831});_0x16b676['push'](_0x52ffe9),_0x25adc9['markers']['set']('revision:'+_0x52ffe9['id'],_0x28681d);}function _0x4540b6(_0x3ccac7,_0x20a243){const _0x256563=_0x3ccac7['getAttributes'](),_0x11daee=_0x20a243['getAttributes']();for(const _0x2c54e0 of _0x256563){if(_0x2c54e0[0x1]!==_0x20a243['getAttribute'](_0x2c54e0[0x0]))return!0x1;_0x11daee['next']();}return _0x11daee['next']()['done'];}}['_setConversion'](){this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'revision'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision','view':_0x2ed6a9=>{const _0x1eb970=_0x2ed6a9['markerName']['split'](':')[0x1],_0x40517c=this['_getChangeFromId'](_0x1eb970);if(!_0x40517c)return null;const _0x366dfd='add'==_0x40517c['type']?'insertion':'deletion',_0x4fce05=['ck-suggestion-marker','ck-suggestion-marker-'+_0x366dfd];return _0x40517c['data']['isSuggestion']&&_0x4fce05['push']('ck-suggestion-marker-'+_0x366dfd+'-new'),this['activeChange']==_0x40517c&&_0x4fce05['push']('ck-suggestion-marker--active'),{'classes':_0x4fce05,'attributes':{'data-change-id':_0x1eb970}};}}),this['editor']['conversion']['for']('upcast')['add'](_0x3db790=>{_0x3db790['on']('element:pre',(_0x491d76,_0x36d286,_0xe5b62b)=>{const _0x1ee41c=_0x36d286['viewItem']['getChild'](0x0);if(!_0x1ee41c||!_0x1ee41c['is']('element','code'))return;if(!_0xe5b62b['consumable']['consume'](_0x1ee41c,{'attributes':['vid_start','vid_end']}))return;const _0x904563=_0x36d286['modelRange']['start']['nodeAfter'];_0xe5b62b['writer']['setAttribute']('vid_start',_0x1ee41c['getAttribute']('vid_start'),_0x904563),_0xe5b62b['writer']['setAttribute']('vid_end',_0x1ee41c['getAttribute']('vid_end'),_0x904563);},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['add'](_0xb537a7=>{_0xb537a7['on']('element',(_0x4aedfb,_0xade4ec,_0x5b9b34)=>{if(!_0x5b9b34['consumable']['consume'](_0xade4ec['viewItem'],{'attributes':['vid_start','vid_end']}))return;if(_0xade4ec['modelRange']['isCollapsed'])return;const _0x39a673=_0xade4ec['modelRange']['start']['nodeAfter'];_0x39a673['hasAttribute']('vid_start')||_0x39a673['hasAttribute']('vid')||(_0x5b9b34['writer']['setAttribute']('vid_start',_0xade4ec['viewItem']['getAttribute']('vid_start'),_0x39a673),_0x5b9b34['writer']['setAttribute']('vid_end',_0xade4ec['viewItem']['getAttribute']('vid_end'),_0x39a673));},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['elementToAttribute']({'view':{'name':'span','attributes':{'vid':!0x0}},'model':{'key':'vid','value':_0x4eb27e=>_0x4eb27e['getAttribute']('vid')}}),this['editor']['model']['schema']['on']('checkAttribute',(_0x1ece90,[,_0x12615c])=>{['vid_start','vid_end','vid']['includes'](_0x12615c)&&(_0x1ece90['return']=!0x0,_0x1ece90['stop']());},{'priority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['add'](_0x2da00b=>{_0x2da00b['on']('attribute:vid',(_0xc388d2,_0x452a47,_0x5d0eea)=>{if('\x20'!=_0x452a47['item']['data']||_0x452a47['item']['parent']['maxOffset']>0x1)return;if(!_0x5d0eea['consumable']['consume'](_0x452a47['item'],_0xc388d2['name']))return;const _0x1e62dc=_0x5d0eea['writer'],_0x18e52c=_0x5d0eea['mapper']['toViewRange'](_0x452a47['range']);_0x1e62dc['wrap'](_0x18e52c,_0x1e62dc['createAttributeElement']('span'));});}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',function(_0x5bf27b){const _0x3cb2af=_0x5bf27b['plugins']['get']('RevisionViewer');return(_0x3c16c6,_0x294ba0,_0x204110)=>{const _0x15bb35=_0x294ba0['markerName']['split'](':')[0x1],_0x2197ae=_0x3cb2af['_getChangeFromId'](_0x15bb35);if(!_0x2197ae)return null;const _0x4d5a6f='add'==_0x2197ae['type']?'split':'merge';if(!_0x204110['consumable']['test'](_0x294ba0['markerRange'],_0x3c16c6['name']))return;const _0x1579f8=_0x294ba0['markerRange']['getWalker'](),_0x381f62=_0x294ba0['markerRange']['start'],_0x3c1c2a=_0x5bf27b['model']['schema'];let _0x3d5f93=null,_0xd338cb=null,_0x4f9f25=!0x1,_0x424133=!0x1;for(const _0x2e2daf of _0x1579f8){const _0x44e961=_0x2e2daf['item'];_0x4f9f25=_0x4f9f25||_0x3c1c2a['isContent'](_0x44e961);const _0x4a9b4c=_0x204110['mapper']['toViewElement'](_0x44e961);if(_0x4a9b4c&&_0x4a9b4c['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x2e2daf['type']&&(_0x3c1c2a['isBlock'](_0x44e961)&&!_0x3c1c2a['isLimit'](_0x44e961)&&(_0x44e961['nextSibling']||_0x381f62['isAtEnd']?_0x3d5f93&&_0x3d5f93['parent']==_0x44e961||(_0x3d5f93=_0x44e961,_0x350f05(_0x2e2daf['previousPosition']),_0x424133=!0x0):_0xd338cb=_0xd338cb||_0x2e2daf['previousPosition']));}function _0x350f05(_0x2bb43a){const _0x4b33dc=_0x204110['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x4d5a6f}),_0x423f2d=_0x204110['mapper']['toViewPosition'](_0x2bb43a);_0x2197ae['data']['isSuggestion']&&_0x204110['writer']['addClass']('ck-suggestion-marker-'+_0x4d5a6f+'-new',_0x4b33dc),_0x3cb2af['activeChange']==_0x2197ae&&_0x204110['writer']['addClass']('ck-suggestion-marker--active',_0x4b33dc),_0x204110['writer']['insert'](_0x423f2d,_0x4b33dc),_0x204110['mapper']['bindElementToMarker'](_0x4b33dc,_0x294ba0['markerName']);}_0x4f9f25||_0x424133||!_0xd338cb||_0x350f05(_0xd338cb);};}(this['editor']),{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('removeMarker:revision',(_0xd1a7c5,_0x277d9b,_0x3c1958)=>{const _0x3a9a5b=_0x3c1958['mapper']['markerNameToElements'](_0x277d9b['markerName']);if(_0x3a9a5b){for(const _0x324c76 of _0x3a9a5b)(_0x324c76['hasClass']('ck-suggestion-marker-split')||_0x324c76['hasClass']('ck-suggestion-marker-merge'))&&(_0x3c1958['mapper']['unbindElementFromMarkerName'](_0x324c76,_0x277d9b['markerName']),_0x3c1958['writer']['remove'](_0x324c76));}},{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',(_0x5f280e,_0x292002,_0x42cdfd)=>{const _0xc4d064=_0x292002['markerName']['split'](':')[0x1],_0x3decd5=this['_getChangeFromId'](_0xc4d064);if(!_0x3decd5)return null;const _0x538c52='add'==_0x3decd5['type']?'split':'merge';if(_0x42cdfd['consumable']['test'](_0x292002['markerRange'],_0x5f280e['name']))for(const _0x1d5813 of _0x292002['markerRange']['getItems']()){if(!_0x1d5813['is']('element','softBreak'))continue;const _0xb5681b=_0x42cdfd['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x538c52}),_0x293fd4=_0x42cdfd['mapper']['toViewPosition'](this['editor']['model']['createPositionBefore'](_0x1d5813));_0x3decd5['data']['isSuggestion']&&_0x42cdfd['writer']['addClass']('ck-suggestion-marker-'+_0x538c52+'-new',_0xb5681b),this['activeChange']==_0x3decd5&&_0x42cdfd['writer']['addClass']('ck-suggestion-marker--active',_0xb5681b),_0x42cdfd['writer']['insert'](_0x293fd4,_0xb5681b),_0x42cdfd['mapper']['bindElementToMarker'](_0xb5681b,_0x292002['markerName']);}},{'priority':'high'}),this['editor']['model']['document']['on']('change',()=>{this['editor']['editing']['view']['change'](_0x185a9a=>{for(const _0x5bec65 of this['editor']['model']['document']['getRootNames']()){const _0x5e78d1=this['editor']['model']['document']['getRoot'](_0x5bec65),_0x300b2e=this['editor']['editing']['view']['document']['getRoot'](_0x5bec65);if(_0x300b2e){const _0x507c8d=_0x5e78d1['getAttribute']('revisionHistoryAttachChange');if(_0x185a9a['removeAttribute']('data-change-id',_0x300b2e),_0x185a9a['removeClass']('ck-revision-history-root-add',_0x300b2e),_0x185a9a['removeClass']('ck-revision-history-root-remove',_0x300b2e),_0x185a9a['removeClass']('ck-revision-history-root--active',_0x300b2e),_0x507c8d){const _0x31e1d4=this['_getChangeFromId'](_0x507c8d);if(!_0x31e1d4)return null;_0x185a9a['setAttribute']('data-change-id',_0x507c8d,_0x300b2e),_0x185a9a['addClass']('ck-revision-history-root-'+_0x31e1d4['type'],_0x300b2e),this['activeChange']==_0x31e1d4&&_0x185a9a['addClass']('ck-revision-history-root--active',_0x300b2e);}}}});}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'comment','model':_0xfa0c7d=>'revision-comment:'+_0xfa0c7d,'converterPriority':'highest'}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'suggestion','model':_0x33ce78=>'revision-suggestion:'+_0x33ce78,'converterPriority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision-suggestion','view':_0x4c1591=>({'name':'suggestion:'+_0x4c1591,'group':'revision-suggestion'}),'converterPriority':'highest'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision-suggestion','view':_0x497a7d=>{const _0x29e9c7=_0x497a7d['markerName']['split'](':')[0x1];return'insertion'!=_0x29e9c7&&'deletion'!=_0x29e9c7?null:{'classes':['ck-suggestion-preview-marker','ck-suggestion-preview-marker-'+_0x29e9c7]};}}),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',(_0x10adfa,_0x8e4f0c,_0x499492)=>{const _0xdd2dcd=_0x499492['mapper']['markerNameToElements'](_0x8e4f0c['markerName']);if(_0xdd2dcd){for(const _0x4d27c0 of _0xdd2dcd)_0x4d27c0['is']('uiElement')&&(_0x499492['mapper']['unbindElementFromMarkerName'](_0x4d27c0,_0x8e4f0c['markerName']),_0x499492['writer']['remove'](_0x4d27c0));}},{'priority':'high'});}['_getChangeFromId'](_0x34582b){return this['_changeIdToChange']['get'](_0x34582b);}['_getViewForChange'](_0x43bf09){return this['_changeView']&&this['_changeView']['destroy'](),this['_changeView']=new Z(this['editor']['locale'],_0x43bf09),this['_changeView'];}['_initInteractions'](){this['editor']['model']['document']['selection']['observeMarkers']('revision'),this['on']('change:activeView',(_0x56bd60,_0x28176a,_0x408b50,_0x5392da)=>{_0x5392da&&this['_balloon']['remove'](_0x5392da),_0x408b50&&(this['_balloon']['add']({'view':_0x408b50,'stackId':'revisionHistoryLabel','position':{'target':()=>{const _0x515ae7=this['editor']['editing'],_0x48ca3a=this['_getChangeFromId'](_0x408b50['changeId']);let _0x12d68c;if(_0x48ca3a['data']['isOnRoot']){const _0x21562a=_0x515ae7['view']['getDomRoot'](_0x48ca3a['rootName']);_0x12d68c=Array['from'](_0x21562a['getClientRects']());}else{const _0x397656=this['editor']['model']['markers']['get']('revision:'+_0x408b50['changeId']);_0x12d68c=Array['from'](_0x515ae7['mapper']['markerNameToElements'](_0x397656['name']))['map'](_0x3657f6=>_0x515ae7['view']['domConverter']['mapViewToDom'](_0x3657f6))['map'](_0x54a736=>Array['from'](_0x54a736['getClientRects']()))['flat']();}if(!this['_activeViewTarget'])return _0x12d68c[0x0];return _0x12d68c['find'](_0x233787=>_0x233787['top']-0x3<=this['_activeViewTarget']['y']&&_0x233787['bottom']+0x3>=this['_activeViewTarget']['y']&&_0x233787['left']-0x3<=this['_activeViewTarget']['x']&&_0x233787['right']+0x3>=this['_activeViewTarget']['x'])||_0x12d68c[0x0];}}}),this['_balloon']['showStack']('revisionHistoryLabel'));}),this['on']('change:activeChange',(_0x2eaa47,_0x262a86,_0x1803c0,_0x4e09fe)=>{this['activeView']=_0x1803c0?this['_getViewForChange'](_0x1803c0):null,this['editor']['model']['change'](()=>{const _0x537ae9=this['editor']['editing'];_0x4e09fe&&(_0x4e09fe['data']['isOnRoot']?_0x537ae9['view']['change'](_0x1adaf6=>{_0x1adaf6['removeClass']('ck-revision-history-root--active',_0x537ae9['view']['document']['getRoot'](_0x4e09fe['rootName']));}):_0x537ae9['reconvertMarker']('revision:'+_0x4e09fe['id'])),_0x1803c0&&(_0x1803c0['data']['isOnRoot']?_0x537ae9['view']['change'](_0x58d007=>{_0x58d007['addClass']('ck-revision-history-root--active',_0x537ae9['view']['document']['getRoot'](_0x1803c0['rootName']));}):_0x537ae9['reconvertMarker']('revision:'+_0x1803c0['id']));});}),this['listenTo'](this['editor']['editing']['view']['document'],'mouseover',(_0x2993a8,_0x18491b)=>{if(this['activeChange'])return;const _0x53660f=this['_findChangeIdFromDomTarget'](_0x18491b['target']),_0x3ad55c=this['_changeIdToChange']['get'](_0x53660f);_0x3ad55c?(this['_activeViewTarget']={'x':_0x18491b['domEvent']['x'],'y':_0x18491b['domEvent']['y']},this['activeView']=this['_getViewForChange'](_0x3ad55c)):(this['_activeViewTarget']=null,this['activeView']=null);}),this['listenTo'](this['editor']['editing']['view']['document'],'mousedown',(_0x9ac31b,_0x8ca009)=>{const _0x3e172a=this['_findChangeIdFromDomTarget'](_0x8ca009['target']),_0x568a4f=this['_changeIdToChange']['get'](_0x3e172a);_0x568a4f?(this['_activeViewTarget']={'x':_0x8ca009['domEvent']['x'],'y':_0x8ca009['domEvent']['y']},_0x568a4f===this['activeChange']?this['_balloon']['updatePosition']():this['activeChange']=_0x568a4f):(this['_activeViewTarget']=null,this['activeChange']=null);});}['_findChangeIdFromDomTarget'](_0x26662f){do{const _0x33d485=_0x26662f['getAttribute']('data-change-id');if(_0x33d485)return _0x33d485;_0x26662f=_0x26662f['parent'];}while(_0x26662f);return null;}['_cleanMarkers'](){this['editor']['model']['change'](_0x54915e=>{for(const _0x3f8b63 of this['editor']['model']['markers'])_0x54915e['removeMarker'](_0x3f8b63);});}}function et(_0x46132e,_0x230165){return(_0x3b3bb8,_0x19b2be,_0x1e4f1f)=>{if(!_0x1e4f1f['consumable']['test'](_0x19b2be['markerRange'],_0x3b3bb8['name']))return;const _0x3c0892=_0x19b2be['markerRange']['getWalker'](),_0x4154cb=_0x19b2be['markerRange']['start'],_0x12acda=_0x46132e['model']['schema'];let _0x390899=null,_0xa7c217=null,_0x4ca941=!0x1,_0x423ae4=!0x1;for(const _0x4bb980 of _0x3c0892){const _0x195e7f=_0x4bb980['item'];_0x4ca941=_0x4ca941||_0x12acda['isContent'](_0x195e7f);const _0x5b6361=_0x1e4f1f['mapper']['toViewElement'](_0x195e7f);if(_0x5b6361&&_0x5b6361['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x4bb980['type']&&(_0x12acda['isBlock'](_0x195e7f)&&!_0x12acda['isLimit'](_0x195e7f)&&(_0x195e7f['nextSibling']||_0x4154cb['isAtEnd']?_0x390899&&_0x390899['parent']==_0x195e7f||(_0x390899=_0x195e7f,_0x4d4f60(_0x4bb980['previousPosition']),_0x423ae4=!0x0):_0xa7c217=_0xa7c217||_0x4bb980['previousPosition']));}function _0x4d4f60(_0x3de8d3){const _0x415b15=_0x1e4f1f['mapper']['toViewPosition'](_0x3de8d3),_0x22958f=_0x1e4f1f['writer']['createUIElement']('span',{'class':'ck-suggestion-preview-marker-'+_0x230165});_0x1e4f1f['writer']['insert'](_0x415b15,_0x22958f),_0x1e4f1f['mapper']['bindElementToMarker'](_0x22958f,_0x19b2be['markerName']);}_0x4ca941||_0x423ae4||!_0xa7c217||_0x4d4f60(_0xa7c217);};}class bt extends _0x45d834{constructor(_0x1ccc5f){super(_0x1ccc5f);const _0x50d932=_0x1ccc5f['plugins']['get'](d);this['affectsData']=!0x1,this['listenTo'](_0x50d932,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x50d932,'change:isEnabled',()=>this['refresh']());}['execute'](){const _0x4a9b6a=this['editor'],_0x3f96ed=_0x4a9b6a['plugins']['get'](d),_0x4e888c=_0x3f96ed['isReady']?_0x3f96ed['diff']['newRevisionId']:null;_0x4a9b6a['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x4e888c);}['refresh'](){const {isReady:_0x38e948,isEnabled:_0x58c864}=this['editor']['plugins']['get'](d);this['isEnabled']=_0x38e948&&_0x58c864;}}class yt extends _0x45d834{['_step'];constructor(_0x4b28e7,{direction:_0x4193fd}){super(_0x4b28e7);const _0x48a47d=_0x4b28e7['plugins']['get'](d);this['affectsData']=!0x1,this['_step']='forward'===_0x4193fd?0x1:-0x1,this['listenTo'](_0x48a47d,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x48a47d,'change:isEnabled',()=>this['refresh']()),this['listenTo'](_0x48a47d,'change:activeChange',()=>this['refresh']());}['execute'](){const _0x3e81e6=this['editor'],_0x3f493d=_0x3e81e6['plugins']['get'](d),{isNavigationMode:_0x947358,currentChangeNumber:_0x264b29}=_0x3f493d;let _0x1f907e;if(_0x3f493d['activeChange']=_0x947358?_0x3f493d['diff']['changes']['get'](_0x264b29+this['_step']):_0x3f493d['diff']['changes']['first'],_0x3f493d['activeChange']['data']['isOnRoot'])_0x1f907e=_0x3e81e6['editing']['view']['getDomRoot'](_0x3f493d['activeChange']['rootName']);else{const _0x2f6052=_0x3e81e6['model']['markers']['get']('revision:'+_0x3f493d['activeChange']['id']);_0x1f907e=_0x1d6702(_0x3e81e6['editing'],_0x2f6052);}_0xe6fb62({'target':_0x1f907e,'viewportOffset':0x28});}['refresh'](){const {isNavigationMode:_0x22d4f7,currentChangeNumber:_0x38e72b,numberOfChanges:_0x10b61b,isReady:_0x582809,isEnabled:_0x588ae1}=this['editor']['plugins']['get'](d);this['isEnabled']=!!(_0x588ae1&&_0x582809&&_0x10b61b)&&(!_0x22d4f7||(0x1===this['_step']?_0x38e72b<_0x10b61b-0x1:_0x38e72b>0x0));}}class _i extends _0x71de83{constructor(_0x191ab0){super(_0x191ab0);const _0x452f95=this['bindTemplate'],_0x1cf7c8=new _0x47f55b(_0x191ab0),_0x46c219=new _0x47f55b(_0x191ab0);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',(_0x422d0a,_0x4c8e47)=>_0x422d0a&&_0x4c8e47>0x0),this['bind']('_statusText')['to'](this,'isReady',this,'currentChangeNumber',this,'numberOfChanges',this,'isNavigationMode',(_0x45cc88,_0x5c66c0,_0x5434ff,_0x35ca54)=>{if(!_0x45cc88)return y(_0x191ab0,'Loading...');if(!_0x5434ff)return y(_0x191ab0,'No\x20changes');const _0x58a28f=y(_0x191ab0,'NUMBER_OF_CHANGES',_0x5434ff);return _0x35ca54?y(_0x191ab0,'X_OF_Y_CHANGES',[_0x5c66c0+0x1,_0x5434ff]):_0x58a28f;}),_0x1cf7c8['set']({'label':y(_0x191ab0,'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'}),_0x46c219['set']({'label':y(_0x191ab0,'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'}),_0x1cf7c8['bind']('isEnabled')['to'](this,'isBackwardNavigationEnabled'),_0x46c219['bind']('isEnabled')['to'](this,'isForwardNavigationEnabled'),_0x1cf7c8['on']('execute',()=>this['fire']('execute','backward')),_0x46c219['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',_0x452f95['if']('_isStatusLabelVisible','ck-hidden',_0x194537=>!_0x194537)]},'children':[{'text':_0x452f95['to']('isNavigationMode',_0x251854=>_0x251854?y(_0x191ab0,'EDIT_X_OF_Y_REVISIONS')+':\x20':y(_0x191ab0,'Total')+':\x20')}]},{'text':_0x452f95['to']('_statusText')}]},new _0x1895ec(),{'tag':'div','attributes':{'class':['ck-revision-history-ui__changes-navigation__navigation']},'children':[_0x1cf7c8,_0x46c219]}]});}}const ce='ck-editor__editable__loading-overlay';class de extends _0x56f031{static get['pluginName'](){return'RevisionViewerLoadingOverlay';}['show'](){const _0x1ded9c=this['editor']['editing']['view'];_0x1ded9c['change'](_0x219b17=>{for(const _0x25b66d of _0x1ded9c['document']['roots'])_0x219b17['addClass'](ce,_0x25b66d);});}['hide'](){const _0x55fe9e=this['editor']['editing']['view'];_0x55fe9e['change'](_0x35dca5=>{for(const _0x134d7f of _0x55fe9e['document']['roots'])_0x35dca5['removeClass'](ce,_0x134d7f);});}}class R extends _0x56f031{static get['pluginName'](){return'RevisionViewerUI';}static get['requires'](){return[d,de];}['init'](){const _0x3a139c=this['editor'],_0x3fb768=_0x3a139c['plugins']['get'](d),_0x190d68=_0x3a139c['plugins']['get'](de);_0x3a139c['ui']['componentFactory']['add']('exitToEditing',_0x5096a6=>{const _0x1f3378=new _0x47f55b(_0x5096a6);return _0x1f3378['set']({'label':y(_0x5096a6,'Back\x20to\x20editing'),'icon':_0xca9fa['undo'],'withText':!0x0,'tooltip':!0x0,'class':'ck-revision-history-ui__back-to-editing'}),this['listenTo'](_0x1f3378,'execute',()=>{_0x3a139c['config']['get']('revisionHistory')['closeRevisionViewerCallback']();}),_0x1f3378;}),_0x3a139c['ui']['componentFactory']['add']('restoreRevision',_0x397cf1=>{const _0x526db1=new _0x47f55b(_0x397cf1);return _0x526db1['set']({'label':y(_0x397cf1,'Restore\x20this\x20revision'),'withText':!0x0,'tooltip':!0x0}),_0x526db1['bind']('isEnabled')['to'](_0x3a139c['commands']['get']('restoreRevision')),this['listenTo'](_0x526db1,'execute',()=>_0x3a139c['execute']('restoreRevision')),_0x526db1;}),_0x3a139c['ui']['componentFactory']['add']('changesNavigation',_0x329c7b=>{const _0x5d1909=new _i(_0x329c7b),_0x170eba=_0x3a139c['commands']['get']('showPreviousChange'),_0x3464bf=_0x3a139c['commands']['get']('showNextChange');return _0x5d1909['bind']('isBackwardNavigationEnabled')['to'](_0x170eba,'isEnabled'),_0x5d1909['bind']('isForwardNavigationEnabled')['to'](_0x3464bf,'isEnabled'),_0x5d1909['bind']('isReady','currentChangeNumber','numberOfChanges','isNavigationMode')['to'](_0x3fb768),this['listenTo'](_0x5d1909,'execute',(_0x451c33,_0x3e7bce)=>{_0x3a139c['execute']('forward'===_0x3e7bce?'showNextChange':'showPreviousChange');}),_0x5d1909;}),_0x190d68['show'](),_0x3fb768['on']('change:isReady',(_0x22a2f8,_0x4304e3,_0xf90125)=>{_0xf90125?_0x190d68['hide']():_0x190d68['show']();});}}class kt extends at{['_resizeObserver']=null;constructor(_0x4a9f33,_0x22f49b){super(_0x4a9f33,_0x22f49b);const _0x40aa8b=this['bindTemplate'];this['set']({'label':y(_0x4a9f33,'Revision\x20name'),'_tooltipString':''}),this['fieldView']['placeholder']=y(_0x4a9f33,'Enter\x20the\x20revision\x20name'),this['extendTemplate']({'tag':'span','attributes':{'class':['ck-revision-history-sidebar__revision-name'],'data-cke-tooltip-text':_0x40aa8b['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 _0x37182a=this['fieldView']['element'];this['_tooltipString']=_0x37182a['scrollWidth']>_0x37182a['clientWidth']&&_0x37182a['value']||'';}}class ti extends _0x71de83{constructor(_0x9a6769,_0x172d7c,_0x5022c4){super(_0x9a6769);const _0x39b91c=new _0x1238d5();_0x39b91c['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 _0x3ee1b2=['ck','ck-revision-history-sidebar__revision-author'];_0x5022c4&&_0x3ee1b2['push']('ck-revision-history-sidebar__revision-author_creator');const _0x43c780=[{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__revision-author__name'],'title':y(_0x9a6769,_0x5022c4?'Revision\x20creator':'Revision\x20author')},'children':[_0x39b91c,_0x172d7c['name']]}];this['setTemplate']({'tag':'li','attributes':{'class':_0x3ee1b2},'children':_0x43c780});}}function ni(_0x70c0c6,_0x58e1c5){const _0x374e4b=_0x70c0c6['bindTemplate'],_0x2ed56e=_0x70c0c6['locale'],_0x2c9e03=_0x628df1(_0x2ed56e);_0x2c9e03['panelPosition']='sw';const _0x319e19=function(_0x3863ec,_0xb80fba){const _0xcbc064=function(_0x13dc2e,_0x33da61){const _0x1ef3c7=_0x13dc2e['locale'],_0x52ba41={'Compare\x20against\x20selected':y(_0x1ef3c7,'Compare\x20against\x20selected'),'Name\x20this\x20revision':y(_0x1ef3c7,'Name\x20this\x20revision'),'Restore\x20this\x20revision':y(_0x1ef3c7,'Restore\x20this\x20revision')};return _0x33da61['map'](_0x5370b1=>{const _0x48cb0e=_0x52ba41[_0x5370b1['name']];return _0x48cb0e&&_0x48cb0e!==_0x5370b1['name']&&(_0x5370b1['name']=_0x48cb0e),_0x5370b1;});}(_0x3863ec,_0xb80fba),_0x1e0c2e=new _0x54dc76();for(const _0x3f057a of _0xcbc064){const _0x3d0d69={'type':'button','model':new to({'label':_0x3f057a['name'],'class':_0x3f057a['class'],'withText':!0x0,'role':'menuitem','_action':_0x3f057a['action']})};_0x3d0d69['model']['bind']('isEnabled')['to'](_0x3863ec,'isActionsDropdownOpen',_0x494bac=>'function'!=typeof _0x3f057a['isEnabled']||(!_0x494bac||_0x3f057a['isEnabled'](_0x3863ec))),_0x1e0c2e['add'](_0x3d0d69);}return _0x1e0c2e;}(_0x70c0c6,_0x58e1c5);return _0x70c0c6['bind']('isActionsDropdownOpen')['to'](_0x2c9e03,'isOpen'),_0x2c9e03['buttonView']['set']({'label':y(_0x2ed56e,'Show\x20more\x20items'),'tooltip':!0x0,'tooltipPosition':'sw','icon':_0xca9fa['threeVerticalDots']}),_0x2c9e03['extendTemplate']({'attributes':{'class':['ck-revision-history-sidebar__revision__actions',_0x374e4b['if']('isActionsDropdownOpen','ck-on')]},'on':{'click':_0x374e4b['to'](_0x5c709c=>_0x5c709c['stopPropagation']())}}),_0x2c9e03['on']('execute',_0x432504=>{_0x70c0c6['isReady']&&'function'==typeof _0x432504['source']['_action']&&_0x432504['source']['_action'](_0x70c0c6);}),_0x2de194(_0x2c9e03,_0x319e19,{'role':'menu'}),_0x2c9e03['listenTo'](_0x70c0c6,'change:isActionsDropdownOpen',(_0xe9e48d,_0x6e08bc,_0x45fe4a)=>{if(_0x45fe4a)for(const _0x13942a of _0x2c9e03['listView']['items']){const _0x3fbf48=_0x13942a['children']['first'],_0x25e3f0=_0x58e1c5['find'](_0x48fa9a=>_0x48fa9a['action']===_0x3fbf48['_action'])['isVisible'];_0x13942a['isVisible']=void 0x0===_0x25e3f0||_0x25e3f0(_0x70c0c6);}}),_0x2c9e03;}class ai extends/* #__PURE__ -- @preserve */
26
+ _0x5e4b43(_0x71de83){['id'];['revisionNameView'];['revisionActionsView'];['_revision'];['_requireRevisionName'];constructor(_0x32ab31,_0x4c7405,_0x2236b6,_0x40a55f){super(_0x32ab31);const _0x3163d5=this['bindTemplate'],_0x3ac3bb=function(_0x2a090e,_0x5c8065){const _0x4fc8d7=Array['from'](_0x5c8065['authors'])['filter'](_0x3bde45=>_0x3bde45!=_0x5c8065['creator']);return _0x5c8065['creator']&&_0x4fc8d7['unshift'](_0x5c8065['creator']),_0x4fc8d7['map'](_0x53fa0a=>new ti(_0x2a090e,_0x53fa0a,_0x53fa0a==_0x5c8065['creator']));}(_0x32ab31,_0x4c7405);this['id']=_0x4c7405['id'],this['_revision']=_0x4c7405,this['_requireRevisionName']=_0x40a55f,this['bind']('name','createdAt')['to'](_0x4c7405),this['bind']('_createdAtFormatted')['to'](this,'createdAt',_0x42016c=>{return _0x1029cc=_0x32ab31['uiLanguage'],(_0x4e7b19=_0x42016c)['toLocaleDateString'](_0x1029cc,{'month':'long','day':'numeric'})+',\x20'+_0x4e7b19['toLocaleTimeString'](_0x1029cc,{'hour':'numeric','minute':'numeric'});var _0x1029cc,_0x4e7b19;}),this['set']('isSelected',!0x1),this['set']('isHighlighted',!0x1),this['set']('isActionsDropdownOpen',!0x1),this['set']('isReady',!0x1),this['set']('isEnabled',!0x1),this['revisionNameView']=new kt(_0x32ab31,_0x37e5f0),this['revisionNameView']['fieldView']['extendTemplate']({'attributes':{'maxlength':'220'}}),this['revisionNameView']['fieldView']['bind']('value')['to'](this,'name',_0xfdc053=>_0xfdc053||this['_createdAtFormatted']),this['revisionNameView']['bind']('isEnabled')['to'](this,'isSelected',this,'isEnabled',(_0x241437,_0x349bdf)=>_0x241437&&_0x349bdf),this['revisionActionsView']=_0x2236b6&&_0x2236b6['length']?ni(this,_0x2236b6):'',this['revisionActionsView']&&this['revisionActionsView']['bind']('isEnabled')['to'](this),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision-wrapper',_0x3163d5['if']('isConfirm','ck-revision-history-sidebar__revision-wrapper_confirmation_visible')]},'children':[{'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision',_0x3163d5['if']('isEnabled','ck-disabled',_0x2be67c=>!_0x2be67c),_0x3163d5['if']('isSelected','ck-revision-history-sidebar__revision_selected'),_0x3163d5['if']('isHighlighted','ck-revision-history-sidebar__revision_highlighted'),_0x3163d5['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':_0x3163d5['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':_0x3ac3bb}]},this['revisionActionsView']],'on':{'click':_0x3163d5['to'](_0x4def30=>{_0x4def30['srcElement']['closest']('.ck-thread__remove-confirm')||this['isReady']&&this['isEnabled']&&this['fire']('select',{'id':this['id']});})}}]});}['render'](){super['render']();const _0x5190d7=this['revisionNameView']['fieldView']['element'];this['listenTo'](_0x5190d7,'change',()=>{this['_requireRevisionName']&&!_0x5190d7['value']||this['fire']('setName',{'id':this['id'],'name':_0x5190d7['value']}),_0x5190d7['value']||(_0x5190d7['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(_0x329cf9,_0x2b1033){const _0x200cac=_0x5018da['fromJSDate'](_0x329cf9)['setLocale'](_0x2b1033),_0x35a9c1=_0x5018da['local'](),_0x8f991f=_0x35a9c1['minus']({'days':0x1})['startOf']('day');let _0x1328df,_0x30268f;return _0x200cac['hasSame'](_0x35a9c1,'day')?(_0x1328df=_0x200cac['startOf']('day')['toJSDate'](),_0x30268f=_0x200cac['toRelativeCalendar']()):_0x200cac['hasSame'](_0x8f991f,'day')?(_0x1328df=_0x8f991f['toJSDate'](),_0x30268f=_0x200cac['toRelativeCalendar']()):_0x200cac['hasSame'](_0x35a9c1,'week')?(_0x1328df=_0x200cac['startOf']('week')['toJSDate'](),_0x30268f=_0x200cac['weekdayLong']||''):_0x200cac['hasSame'](_0x35a9c1,'year')?(_0x1328df=_0x200cac['startOf']('month')['toJSDate'](),_0x30268f=_0x200cac['monthLong']||''):(_0x1328df=_0x200cac['startOf']('year')['toJSDate'](),_0x30268f=String(_0x200cac['year'])),{'startDate':_0x1328df,'localizedPeriodName':_0x30268f};}class mi extends _0x71de83{['startDate'];['revisionViews'];['_revisionActions'];['_requireRevisionName'];constructor(_0xb83c01,_0x37e079,_0x5353ce,_0x5b4bd2){super(_0xb83c01);const _0x6f698d=di(_0x37e079,this['locale']['uiLanguage'])['localizedPeriodName'];this['startDate']=_0x37e079,this['revisionViews']=this['createCollection'](),this['_revisionActions']=_0x5353ce,this['_requireRevisionName']=_0x5b4bd2,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':_0x6f698d}]},{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__time-period__revisions']},'children':this['revisionViews']}]});}['addRevision'](_0x24da92){const _0x287fef=new ai(this['locale'],_0x24da92,this['_revisionActions'],this['_requireRevisionName']);this['revisionViews']['add'](_0x287fef);}['removeRevision'](_0x7a7c8){const _0x5e38fa=this['revisionViews']['find'](_0x476a33=>_0x476a33['id']===_0x7a7c8['id']);this['revisionViews']['remove'](_0x5e38fa);}}class as extends _0x71de83{constructor(_0x1dbc15){super(_0x1dbc15);const _0x522100=new _0x1238d5();_0x522100['content']=_0xca9fa['history'],this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all','ck-revision-history-sidebar__header']},'children':[_0x522100,{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__header__label']},'children':[y(_0x1dbc15,'Revision\x20history')]}]});}}class ci extends _0x71de83{['timePeriodViews'];['_revisions'];['_revisionActions'];['_requireRevisionName'];constructor(_0x18b5f7,_0xc6efb2,_0x456c1c,_0x4263aa){super(_0x18b5f7);const _0x25ca35=this['bindTemplate'];this['timePeriodViews']=this['createCollection'](),this['timePeriodViews']['delegate']('select')['to'](this),this['timePeriodViews']['delegate']('setName')['to'](this),this['_revisions']=_0xc6efb2,this['_revisionActions']=_0x456c1c,this['_requireRevisionName']=_0x4263aa,this['on']('select',(_0x5b015e,_0x7ae192)=>{this['fire']('revisionSelected',_0x7ae192);}),this['on']('setName',(_0x31771e,_0x300238)=>{this['fire']('revisionSetName',_0x300238);}),this['set']('isEnabled',!0x1),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-rounded-corners','ck-revision-history-sidebar']},'children':[new as(_0x18b5f7),{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__timeline',_0x25ca35['if']('isEnabled','ck-disabled',_0x153be3=>!_0x153be3)]},'children':this['timePeriodViews']}]});}['render'](){super['render']();for(const _0x418e5a of this['_revisions'])this['_addRevision'](_0x418e5a);this['_revisions']['on']('add',(_0x3ac3f7,_0x56d545)=>{this['_addRevision'](_0x56d545);}),this['_revisions']['on']('remove',(_0x4b2763,_0x5962c6)=>{this['_removeRevision'](_0x5962c6);});}get['revisionViews'](){return this['timePeriodViews']['map'](_0x138024=>_0x138024['revisionViews']['map'](_0x915a0=>_0x915a0))['flat']();}['selectRevision'](_0xa9f3de){for(const _0x528bc0 of this['revisionViews'])_0xa9f3de&&_0xa9f3de['id']===_0x528bc0['id']?_0x528bc0['select']():_0x528bc0['deselect']();}['highlightRevisions'](_0x5edc03){for(const _0x22185b of this['revisionViews'])_0x5edc03['some'](({id:_0x3aec50})=>_0x3aec50===_0x22185b['id'])?_0x22185b['highlight']():_0x22185b['unhighlight']();}['_addRevision'](_0x6c2932){const _0x40a74b=di(_0x6c2932['createdAt'],this['locale']['uiLanguage'])['startDate'];let _0x373c71=this['timePeriodViews']['get'](0x0);_0x373c71&&_0x373c71['startDate']['getTime']()===_0x40a74b['getTime']()||(_0x373c71=new mi(this['locale'],_0x40a74b,this['_revisionActions'],this['_requireRevisionName']),this['timePeriodViews']['add'](_0x373c71)),_0x373c71['addRevision'](_0x6c2932);}['_removeRevision'](_0x3cfe2a){const _0x11f0bd=di(_0x3cfe2a['createdAt'],this['locale']['uiLanguage'])['startDate'];this['_getTimePeriodViewByStartDate'](_0x11f0bd)['removeRevision'](_0x3cfe2a);}['_getTimePeriodViewByStartDate'](_0x3d4766){return this['timePeriodViews']['find'](_0x40ab90=>_0x40ab90['startDate']['getTime']()===_0x3d4766['getTime']());}}class w extends _0x56f031{['_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(_0x4ebbc9){super(_0x4ebbc9),this['_revisionViewer']=_0x4ebbc9['plugins']['get'](d),this['_revisionsRepository']=this['_revisionViewer']['repository'],this['_sidebarView']=null;}['init'](){const _0x204457=this['_revisionsRepository']['_revisions'],_0xbdf36d=this['_createRevisionActions'](),_0x257a4f=this['editor']['config']['get']('revisionHistory.viewerSidebarContainer');this['_sidebarView']=new ci(this['editor']['locale'],_0x204457,_0xbdf36d,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',(_0x23900a,_0x247a12)=>{_0x247a12['revisionViews']['on']('add',(_0x57ec2a,_0x96ce4f)=>{_0x96ce4f['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)),_0x257a4f['appendChild'](this['_sidebarView']['element']);}['destroy'](){this['_sidebarView']['element']['remove'](),this['_sidebarView']['destroy']();}['_handleEditorDataReady'](){const _0x10d9fe=this['_revisionsRepository']['getRevision'](0x0);if(_0x10d9fe){const _0x2f7121=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x10d9fe['id']);this['_revisionViewer']['compare'](_0x10d9fe,_0x2f7121);}}['_handleRevisionSelected'](_0x5bd3a9,_0x1120d9){const _0x40320b=this['_revisionsRepository']['getRevision'](_0x1120d9['id']),_0x5fc46d=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x40320b['id']);this['_revisionViewer']['compare'](_0x40320b,_0x5fc46d);}['_handleRevisionSetName'](_0x14382f,_0x29dbd1){this['_revisionsRepository']['getRevision'](_0x29dbd1['id'])['setName'](_0x29dbd1['name']);}['_handleDiffChange'](_0x500084,_0x230c9a,_0x44c351){const _0x395eec=this['_revisionsRepository']['getRevisionsInDiff'](_0x44c351);_0x395eec['length']>0x2?(this['_sidebarView']['highlightRevisions'](_0x395eec),this['_sidebarView']['selectRevision'](null)):(this['_sidebarView']['highlightRevisions']([]),this['_sidebarView']['selectRevision'](_0x395eec[0x0]));}['_createRevisionActions'](){const _0x520489=this['editor'],_0x3b1db2=w['availableRevisionActions'],_0x346b0d=_0x520489['config']['get']('revisionHistory.revisionActions')||w['defaultRevisionActions'];if(_0x346b0d['length'])return _0x346b0d['map'](_0x4357b5=>{const _0x1d3a72='string'==typeof _0x4357b5?Object['assign']({},_0x3b1db2[_0x4357b5]):_0x4357b5;return _0x1d3a72['action']=_0x1d3a72['action']['bind'](this,_0x520489),_0x1d3a72['isVisible']&&(_0x1d3a72['isVisible']=_0x1d3a72['isVisible']['bind'](this,_0x520489)),_0x1d3a72;});}}function Rt(){return{'compareAgainstSelected':{'name':'Compare\x20against\x20selected','action':({plugins:_0x54c58c},_0x2ac457)=>{const _0xa5c713=_0x54c58c['get'](d),_0x5f00c8=_0xa5c713['repository'];let _0x5c51e3=_0xa5c713['diff']['newRevisionId'],_0x3beef0=_0x2ac457['id'];_0x5f00c8['getIndex'](_0x5c51e3)>_0x5f00c8['getIndex'](_0x3beef0)&&([_0x5c51e3,_0x3beef0]=[_0x3beef0,_0x5c51e3]),_0xa5c713['compare'](_0x5c51e3,_0x3beef0);},'isVisible':({plugins:_0x341334},_0x34306f)=>{const _0x530b18=_0x341334['get'](d);return!(_0x530b18['repository']['getRevisionsInDiff'](_0x530b18['diff'])['length']>0x2)&&!_0x34306f['isSelected'];}},'restoreRevision':{'name':'Restore\x20this\x20revision','action':(_0x405dac,{id:_0x2ade7a})=>{_0x405dac['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x2ade7a);},'isVisible':({plugins:_0x2932d3},_0x31d582)=>!!_0x2932d3['get'](d)['repository']['getLaterVisibleRevision'](_0x31d582['id'])},'nameRevision':{'name':'Name\x20this\x20revision','action':({plugins:_0x737d04},{id:_0x3a1173,revisionNameView:_0x2b562e})=>{const _0xde9afd=_0x737d04['get'](d),_0x470aef=_0xde9afd['repository']['getEarlierVisibleRevision'](_0x3a1173);_0xde9afd['compare'](_0x3a1173,_0x470aef),_0x2b562e['focus'](),_0x2b562e['fieldView']['select']();}}};}class st extends ht{['_view'];['_toolbarConfig'];['_elementReplacer'];get['view'](){return this['_view'];}constructor(_0x39163a,_0x18bbff){super(_0x39163a),this['_view']=_0x18bbff,this['_toolbarConfig']=ct(_0x39163a['config']['get']('toolbar')),this['_elementReplacer']=new nt();}get['element'](){return this['view']['element'];}['init'](_0x41ac76){const _0x144e13=this['editor'],_0x1992d8=this['view'],_0x1d2ed4=_0x144e13['editing']['view'],_0x2792aa=_0x1992d8['editable'],_0xb4ab8c=_0x1d2ed4['document']['getRoot']();_0x2792aa['name']=_0xb4ab8c['rootName'],_0x1992d8['render']();const _0x853d38=_0x2792aa['element'];this['setEditableElement'](_0x2792aa['name'],_0x853d38),_0x1992d8['editable']['bind']('isFocused')['to'](this['focusTracker']),_0x1d2ed4['attachDomRoot'](_0x853d38),this['_elementReplacer']['replace'](_0x41ac76,this['element']),this['_initToolbar'](),this['fire']('ready');}['destroy'](){super['destroy']();const _0x1a6839=this['view'],_0x3ae5d7=this['editor']['editing']['view'];this['_elementReplacer']['restore'](),_0x3ae5d7['detachDomRoot'](_0x1a6839['editable']['name']),_0x1a6839['destroy']();}['_initToolbar'](){const _0x34775f=this['view'];_0x34775f['stickyPanel']['bind']('isActive')['to'](this['focusTracker'],'isFocused'),_0x34775f['stickyPanel']['limiterElement']=_0x34775f['element'],_0x34775f['stickyPanel']['bind']('viewportTopOffset')['to'](this,'viewportOffset',({top:_0x1c99aa})=>_0x1c99aa),_0x34775f['toolbar']['fillFromConfig'](this['_toolbarConfig'],this['componentFactory']),this['addToolbar'](_0x34775f['toolbar']);}}class ot extends dt{['_editable'];['stickyPanel'];['toolbar'];get['editable'](){return this['_editable'];}constructor(_0x2a5cba,_0x4448a9,_0x2b49d4={}){super(_0x2a5cba),this['stickyPanel']=new lt(_0x2a5cba),this['toolbar']=new pt(_0x2a5cba,{'shouldGroupWhenFull':_0x2b49d4['shouldToolbarGroupWhenFull']}),this['_editable']=new ut(_0x2a5cba,_0x4448a9);}['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(_0x54fe00,_0x291234){super(_0x291234),this['sourceElement']=_0x54fe00,this['model']['document']['createRoot']();const _0x343d8e=new ot(this['locale'],this['editing']['view'],{'shouldToolbarGroupWhenFull':!0x0});this['_ui']=new st(this,_0x343d8e);}['destroy'](){return this['updateSourceElement'](),this['ui']['destroy'](),super['destroy']();}static async['create'](_0x2b6c9d,_0x1007a0){const _0x423f49=new this(_0x2b6c9d,_0x1007a0);return await _0x423f49['initPlugins'](),await _0x423f49['ui']['init'](_0x2b6c9d),await _0x423f49['data']['init'](_0x423f49['config']['get']('initialData')||''),_0x423f49['fire']('ready'),_0x423f49;}}const p=['RevisionHistoryUI','RestrictedEditingMode'];class k extends _0x1ea666{['result'];static get['pluginName'](){return'RevisionViewerIntegration';}constructor(_0x338e7e){super(_0x338e7e),this['result']='end';}}class H extends _0x1ea666{['_viewerEditor'];static get['pluginName'](){return'RevisionHistory';}static get['requires'](){return[l,u];}constructor(_0x2478ca){if(super(_0x2478ca),!this['editor']['config']['get']('revisionHistory'))throw new _0x322cb4('revision-history-missing-configuration',this);this['_viewerEditor']=null,this['editor']['config']['define']('revisionHistory.showRevisionViewerCallback',_0x564829=>this['_showRevisionViewer']({..._0x564829,'translations':this['editor']['locale']['translations']})),this['editor']['config']['define']('revisionHistory.closeRevisionViewerCallback',_0x71b952=>this['_closeRevisionViewer'](_0x71b952)),this['editor']['config']['define']('revisionHistory.restoreRevisionCallback',_0x246162=>this['_restoreRevision'](_0x246162)),this['editor']['config']['define']('revisionHistory.requireRevisionName',!0x1),this['_enhanceShowRevisionViewerCallback'](),this['_enhanceCloseRevisionViewerCallback']();}set['adapter'](_0x3732c0){this['editor']['plugins']['get']('RevisionTracker')['adapter']=_0x3732c0;}get['adapter'](){return this['editor']['plugins']['get']('RevisionTracker')['adapter'];}['addRevisionData'](_0x15325b){return this['editor']['plugins']['get']('RevisionTracker')['addRevisionData'](_0x15325b);}['getRevision'](_0x46fc7c){return this['editor']['plugins']['get']('RevisionsRepository')['getRevision'](_0x46fc7c);}['getRevisions'](_0x2ee935){return this['editor']['plugins']['get']('RevisionsRepository')['getRevisions'](_0x2ee935||{'toJSON':!0x1});}['_getRevisionViewerEditorConfig'](){const _0x5e4a42=this['editor'],_0x3fc3f4=_0x49831c(_0x5e4a42,p),_0x439de1=_0x5e4a42['plugins']['get']('RevisionTracker'),_0x642b1=_0x5e4a42['plugins']['get']('Users')['users'];return _0x3fc3f4['toolbar']=['exitToEditing','restoreRevision','changesNavigation'],delete _0x3fc3f4['lazyRoots'],(_0x3fc3f4['plugins']['push'](k,d,R,class extends _0x1ea666{static get['requires'](){return[d,'Users'];}['init'](){const _0xc59ee7=this['editor']['plugins']['get']('Users');for(const _0x2b65af of _0x642b1)_0x2b65af['isAnonymous']||_0xc59ee7['getUser'](_0x2b65af['id'])||_0xc59ee7['addUser'](_0x2b65af);const _0x39805e=_0x439de1['repository']['getRevisions']();let _0x3d0ca5=null;const _0x1b95a7=this['editor']['plugins']['get']('RevisionViewer');_0x1b95a7['adapter']=_0x439de1['adapter'],_0x1b95a7['bind']('isEnabled')['to'](_0x439de1),this['editor']['commands']['get']('restoreRevision')['bind']('isEnabled')['to'](_0x5e4a42,'isReadOnly',_0x45e8bc=>!_0x45e8bc);for(const _0x1352bc of _0x39805e){const _0x921645=null===_0x1352bc['creator'];if(_0x921645&&_0x1352bc['toVersion']===_0x1352bc['fromVersion'])continue;const _0x52defa=_0x1352bc['toJSON']();_0x1b95a7['addRevisionData'](_0x52defa,(_0x40881f,_0x424aff,_0x3f0816)=>{if(_0x921645){if(_0x3d0ca5)_0x3d0ca5['_update'](_0x40881f,_0x424aff);else{if(!_0x424aff){const _0x181f75=_0x3f0816['toJSON']();_0x181f75['id']=_0x1d293b(),_0x439de1['saveRevision'](_0x181f75,_0x3f0816['toVersion'])['then'](_0x4cfb3e=>{_0x3d0ca5=_0x4cfb3e;});}}}else _0x1352bc['_update'](_0x40881f,_0x424aff);});}}},w),_0x3fc3f4);}['_enhanceShowRevisionViewerCallback'](){const _0x27104c=this['editor']['config']['get']('revisionHistory')['showRevisionViewerCallback'];this['editor']['config']['set']('revisionHistory.showRevisionViewerCallback',async()=>{this['editor']['enableReadOnlyMode']('revision-history-viewer-opened');const _0x542417=this['editor']['plugins']['get']('RevisionTracker');if(this['editor']['plugins']['has']('Autosave')){const _0x4adb10=this['editor']['plugins']['get']('Autosave');await _0x4adb10['save']();}else await _0x542417['update']();if(this['editor']['plugins']['has']('PaginationLookup')&&this['editor']['plugins']['get']('PaginationLookup')['_recalculatePageBreaks'](),this['editor']['plugins']['has']('Dialog')){const _0x49faeb=this['editor']['plugins']['get']('Dialog');_0x49faeb['isOpen']&&_0x49faeb['hide']();}const _0x7ce99b=this['_getRevisionViewerEditorConfig']();return _0x27104c(_0x7ce99b)['then'](_0x4ad189=>{return(this['_viewerEditor']=_0x4ad189,this['editor']['plugins']['has']('Annotations'))&&this['editor']['plugins']['get']('Annotations')['refreshVisibility'](),_0x4ad189;})['catch'](_0x295d3f=>(console['error'](_0x295d3f),this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),null));});}['_enhanceCloseRevisionViewerCallback'](){const _0x121a6e=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'](),_0x121a6e(this['_viewerEditor'])['then'](()=>{if(this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),this['_viewerEditor']=null,this['editor']['plugins']['has']('Annotations')){const _0x53b11b=this['editor']['plugins']['get']('Annotations');_0x53b11b['refreshVisibility'](),_0x53b11b['refreshPositioning']();}})));}['_showRevisionViewer'](_0x421fe6){const _0x16394e=this['editor']['config']['get']('revisionHistory.editorContainer'),_0x3e6b7e=this['editor']['config']['get']('revisionHistory.viewerContainer'),_0xd34885=this['editor']['config']['get']('revisionHistory.viewerEditorElement');return m['create'](_0xd34885,_0x421fe6)['then'](_0x4acc80=>(_0x3e6b7e['style']['display']='block',_0x16394e['style']['display']='none',_0x4acc80));}['_closeRevisionViewer'](_0x107cff){const _0x5833c8=this['editor']['config']['get']('revisionHistory.editorContainer');return this['editor']['config']['get']('revisionHistory.viewerContainer')['style']['display']='none',_0x5833c8['style']['display']='',_0x107cff['destroy']();}async['_restoreRevision'](_0x3ff7e1){const _0x13bdde=this['editor'],_0xbc53e2=this['_viewerEditor']['plugins']['get']('RevisionViewer'),_0x3bfc01=_0x13bdde['plugins']['get']('RevisionTracker'),_0x10d063=_0xbc53e2['repository']['getRevision'](_0x3ff7e1);let _0x58300d,_0x2a0aa6,_0x159016;try{_0x58300d=await _0xbc53e2['getRevisionData'](_0x10d063),_0x2a0aa6=await _0xbc53e2['getRevisionRootsAttributes'](_0x10d063);}catch(_0x562995){return void console['error'](_0x562995);}_0x13bdde['model']['change'](_0x4b8c4d=>{for(const _0x40ed00 of Array['from'](_0x13bdde['model']['markers']['getMarkersGroup']('restrictedEditingException')))_0x4b8c4d['removeMarker'](_0x40ed00);}),_0xbc53e2['isReady']=!0x1,_0x13bdde['model']['enqueueChange'](_0x12c6f6=>{_0x12c6f6['setSelection'](null),_0x12c6f6['removeSelectionAttribute'](_0x13bdde['model']['document']['selection']['getAttributeKeys']());const _0x14f88d=Object['keys'](_0x58300d);for(const _0x489b09 of _0x13bdde['model']['document']['roots'])'$graveyard'!=_0x489b09['rootName']&&_0x489b09['isAttached']()&&!_0x14f88d['includes'](_0x489b09['rootName'])&&_0x12c6f6['detachRoot'](_0x489b09);for(const _0x184a93 of _0x14f88d){let _0x489257=_0x13bdde['model']['document']['getRoot'](_0x184a93);_0x489257&&_0x489257['isAttached']()||(_0x489257=_0x12c6f6['addRoot'](_0x184a93));const _0x41a586=_0x2a0aa6[_0x184a93],_0x1374d1=Object['keys'](_0x41a586),_0x48e05e=_0x58300d[_0x184a93];for(const _0x812e0e of _0x489257['getAttributeKeys']())_0x1374d1['includes'](_0x812e0e)||_0x12c6f6['removeAttribute'](_0x812e0e,_0x489257);for(const _0x5cee4e of _0x1374d1)_0x12c6f6['setAttribute'](_0x5cee4e,_0x2a0aa6[_0x184a93][_0x5cee4e],_0x489257);_0x12c6f6['remove'](_0x12c6f6['createRangeIn'](_0x489257)),_0x12c6f6['insert'](_0x13bdde['data']['parse'](_0x48e05e,_0x489257),_0x489257,0x0);}});const _0xf42a61=y(_0x13bdde['locale'],'Restored');if(_0x10d063['name'])_0x159016=-0x1==_0x10d063['name']['indexOf'](_0xf42a61)?_0xf42a61+':\x20'+_0x10d063['name']:_0x10d063['name'];else _0x159016=_0xf42a61+':\x20'+(_0x10d063['createdAt']['toLocaleDateString'](_0x13bdde['locale']['uiLanguage'],{'month':'long','day':'numeric'})+',\x20'+_0x10d063['createdAt']['toLocaleTimeString'](_0x13bdde['locale']['uiLanguage'],{'hour':'numeric','minute':'numeric'}));return await _0x3bfc01['saveRevision']({'name':_0x159016}),_0xbc53e2['isReady']=!0x0,_0x13bdde['config']['get']('revisionHistory')['closeRevisionViewerCallback']();}}export{H as RevisionHistory,u as RevisionHistoryUI,l as RevisionTracker,d as RevisionViewer,de as RevisionViewerLoadingOverlay,R as RevisionViewerUI,A as RevisionsRepository,w as RevisionsSidebar};
28
+ Rt();static get['pluginName'](){return'RevisionsSidebar';}static get['requires'](){return[d];}constructor(_0x5254d2){super(_0x5254d2),this['_revisionViewer']=_0x5254d2['plugins']['get'](d),this['_revisionsRepository']=this['_revisionViewer']['repository'],this['_sidebarView']=null;}['init'](){const _0x23420f=this['_revisionsRepository']['_revisions'],_0x1743b8=this['_createRevisionActions'](),_0x2dad85=this['editor']['config']['get']('revisionHistory.viewerSidebarContainer');this['_sidebarView']=new ci(this['editor']['locale'],_0x23420f,_0x1743b8,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',(_0x26ed6e,_0x5ba62f)=>{_0x5ba62f['revisionViews']['on']('add',(_0x45a64e,_0xd99c4a)=>{_0xd99c4a['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)),_0x2dad85['appendChild'](this['_sidebarView']['element']);}['destroy'](){this['_sidebarView']['element']['remove'](),this['_sidebarView']['destroy']();}['_handleEditorDataReady'](){const _0x13bdad=this['_revisionsRepository']['getRevision'](0x0);if(_0x13bdad){const _0x1f642a=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x13bdad['id']);this['_revisionViewer']['compare'](_0x13bdad,_0x1f642a);}}['_handleRevisionSelected'](_0x5cba50,_0x402811){const _0x329cb2=this['_revisionsRepository']['getRevision'](_0x402811['id']),_0xf37f01=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x329cb2['id']);this['_revisionViewer']['compare'](_0x329cb2,_0xf37f01);}['_handleRevisionSetName'](_0x23745c,_0x1a9e0d){this['_revisionsRepository']['getRevision'](_0x1a9e0d['id'])['setName'](_0x1a9e0d['name']);}['_handleDiffChange'](_0x549488,_0x3fba44,_0x1c815f){const _0x3388b8=this['_revisionsRepository']['getRevisionsInDiff'](_0x1c815f);_0x3388b8['length']>0x2?(this['_sidebarView']['highlightRevisions'](_0x3388b8),this['_sidebarView']['selectRevision'](null)):(this['_sidebarView']['highlightRevisions']([]),this['_sidebarView']['selectRevision'](_0x3388b8[0x0]));}['_createRevisionActions'](){const _0x37c729=this['editor'],_0x22fdff=w['availableRevisionActions'],_0x5b3d7f=_0x37c729['config']['get']('revisionHistory.revisionActions')||w['defaultRevisionActions'];if(_0x5b3d7f['length'])return _0x5b3d7f['map'](_0x121eb2=>{const _0x26a569='string'==typeof _0x121eb2?Object['assign']({},_0x22fdff[_0x121eb2]):_0x121eb2;return _0x26a569['action']=_0x26a569['action']['bind'](this,_0x37c729),_0x26a569['isVisible']&&(_0x26a569['isVisible']=_0x26a569['isVisible']['bind'](this,_0x37c729)),_0x26a569;});}}function Rt(){return{'compareAgainstSelected':{'name':'Compare\x20against\x20selected','action':({plugins:_0x159d85},_0x17d39a)=>{const _0x3d6dd2=_0x159d85['get'](d),_0xfdb992=_0x3d6dd2['repository'];let _0x1b5a44=_0x3d6dd2['diff']['newRevisionId'],_0x35bf95=_0x17d39a['id'];_0xfdb992['getIndex'](_0x1b5a44)>_0xfdb992['getIndex'](_0x35bf95)&&([_0x1b5a44,_0x35bf95]=[_0x35bf95,_0x1b5a44]),_0x3d6dd2['compare'](_0x1b5a44,_0x35bf95);},'isVisible':({plugins:_0x4cc20a},_0x42c073)=>{const _0x102791=_0x4cc20a['get'](d);return!(_0x102791['repository']['getRevisionsInDiff'](_0x102791['diff'])['length']>0x2)&&!_0x42c073['isSelected'];}},'restoreRevision':{'name':'Restore\x20this\x20revision','action':(_0x5a06eb,{id:_0x4d3623})=>{_0x5a06eb['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x4d3623);},'isVisible':({plugins:_0x3f0398},_0x6cd43c)=>!!_0x3f0398['get'](d)['repository']['getLaterVisibleRevision'](_0x6cd43c['id'])},'nameRevision':{'name':'Name\x20this\x20revision','action':({plugins:_0x25297f},{id:_0xb809fa,revisionNameView:_0x27d351})=>{const _0x122ec9=_0x25297f['get'](d),_0x5bf76d=_0x122ec9['repository']['getEarlierVisibleRevision'](_0xb809fa);_0x122ec9['compare'](_0xb809fa,_0x5bf76d),_0x27d351['focus'](),_0x27d351['fieldView']['select']();}}};}class st extends ht{['_view'];['_toolbarConfig'];['_elementReplacer'];get['view'](){return this['_view'];}constructor(_0x21623e,_0x357287){super(_0x21623e),this['_view']=_0x357287,this['_toolbarConfig']=ct(_0x21623e['config']['get']('toolbar')),this['_elementReplacer']=new nt();}get['element'](){return this['view']['element'];}['init'](_0x2c97e8){const _0x5f0359=this['editor'],_0x401836=this['view'],_0x331415=_0x5f0359['editing']['view'],_0x5aeb71=_0x401836['editable'],_0x29dbce=_0x331415['document']['getRoot']();_0x5aeb71['name']=_0x29dbce['rootName'],_0x401836['render']();const _0x3c1a61=_0x5aeb71['element'];this['setEditableElement'](_0x5aeb71['name'],_0x3c1a61),_0x401836['editable']['bind']('isFocused')['to'](this['focusTracker']),_0x331415['attachDomRoot'](_0x3c1a61),this['_elementReplacer']['replace'](_0x2c97e8,this['element']),this['_initToolbar'](),this['fire']('ready');}['destroy'](){super['destroy']();const _0x274501=this['view'],_0x4b02be=this['editor']['editing']['view'];this['_elementReplacer']['restore'](),_0x4b02be['detachDomRoot'](_0x274501['editable']['name']),_0x274501['destroy']();}['_initToolbar'](){const _0x5285f4=this['view'];_0x5285f4['stickyPanel']['bind']('isActive')['to'](this['focusTracker'],'isFocused'),_0x5285f4['stickyPanel']['limiterElement']=_0x5285f4['element'],_0x5285f4['stickyPanel']['bind']('viewportTopOffset')['to'](this,'viewportOffset',({top:_0x467fa4})=>_0x467fa4),_0x5285f4['toolbar']['fillFromConfig'](this['_toolbarConfig'],this['componentFactory']),this['addToolbar'](_0x5285f4['toolbar']);}}class ot extends dt{['_editable'];['stickyPanel'];['toolbar'];get['editable'](){return this['_editable'];}constructor(_0x3fdb6d,_0x179f2c,_0x2fd131={}){super(_0x3fdb6d),this['stickyPanel']=new lt(_0x3fdb6d),this['toolbar']=new pt(_0x3fdb6d,{'shouldGroupWhenFull':_0x2fd131['shouldToolbarGroupWhenFull']}),this['_editable']=new ut(_0x3fdb6d,_0x179f2c);}['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(_0x1b06f6,_0x3cd7e9){super(_0x3cd7e9),this['sourceElement']=_0x1b06f6,this['model']['document']['createRoot']();const _0x387a7f=new ot(this['locale'],this['editing']['view'],{'shouldToolbarGroupWhenFull':!0x0});this['_ui']=new st(this,_0x387a7f);}['destroy'](){return this['updateSourceElement'](),this['ui']['destroy'](),super['destroy']();}static async['create'](_0x425cad,_0x5cac9a){const _0x21b013=new this(_0x425cad,_0x5cac9a);return await _0x21b013['initPlugins'](),await _0x21b013['ui']['init'](_0x425cad),await _0x21b013['data']['init'](_0x21b013['config']['get']('initialData')||''),_0x21b013['fire']('ready'),_0x21b013;}}const p=['RevisionHistoryUI','RestrictedEditingMode'];class k extends _0x56f031{['result'];static get['pluginName'](){return'RevisionViewerIntegration';}constructor(_0x2c8c36){super(_0x2c8c36),this['result']='end';}}class H extends _0x56f031{['_viewerEditor'];static get['pluginName'](){return'RevisionHistory';}static get['requires'](){return[l,u];}constructor(_0x3417a8){if(super(_0x3417a8),!this['editor']['config']['get']('revisionHistory'))throw new _0x36eb8f('revision-history-missing-configuration',this);this['_viewerEditor']=null,this['editor']['config']['define']('revisionHistory.showRevisionViewerCallback',_0x483e14=>this['_showRevisionViewer']({..._0x483e14,'translations':this['editor']['locale']['translations']})),this['editor']['config']['define']('revisionHistory.closeRevisionViewerCallback',_0x2ec83a=>this['_closeRevisionViewer'](_0x2ec83a)),this['editor']['config']['define']('revisionHistory.restoreRevisionCallback',_0x51c2fe=>this['_restoreRevision'](_0x51c2fe)),this['editor']['config']['define']('revisionHistory.requireRevisionName',!0x1),this['_enhanceShowRevisionViewerCallback'](),this['_enhanceCloseRevisionViewerCallback']();}set['adapter'](_0x401c63){this['editor']['plugins']['get']('RevisionTracker')['adapter']=_0x401c63;}get['adapter'](){return this['editor']['plugins']['get']('RevisionTracker')['adapter'];}['addRevisionData'](_0x3ee387){return this['editor']['plugins']['get']('RevisionTracker')['addRevisionData'](_0x3ee387);}['getRevision'](_0x46d7e3){return this['editor']['plugins']['get']('RevisionsRepository')['getRevision'](_0x46d7e3);}['getRevisions'](_0x4430b8){return this['editor']['plugins']['get']('RevisionsRepository')['getRevisions'](_0x4430b8||{'toJSON':!0x1});}['_getRevisionViewerEditorConfig'](){const _0x577002=this['editor'],_0x572f1b=_0x16597a(_0x577002,p),_0x253530=_0x577002['plugins']['get']('RevisionTracker'),_0x59ce52=_0x577002['plugins']['get']('Users')['users'];return _0x572f1b['toolbar']=['exitToEditing','restoreRevision','changesNavigation'],delete _0x572f1b['lazyRoots'],(_0x572f1b['plugins']['push'](k,d,R,class extends _0x56f031{static get['requires'](){return[d,'Users'];}['init'](){const _0x9fa2e0=this['editor']['plugins']['get']('Users');for(const _0x3d2f0e of _0x59ce52)_0x3d2f0e['isAnonymous']||_0x9fa2e0['getUser'](_0x3d2f0e['id'])||_0x9fa2e0['addUser'](_0x3d2f0e);const _0x1d7e37=_0x253530['repository']['getRevisions']();let _0x359a11=null;const _0x48e243=this['editor']['plugins']['get']('RevisionViewer');_0x48e243['adapter']=_0x253530['adapter'],_0x48e243['bind']('isEnabled')['to'](_0x253530),this['editor']['commands']['get']('restoreRevision')['bind']('isEnabled')['to'](_0x577002,'isReadOnly',_0x627f32=>!_0x627f32);for(const _0x295363 of _0x1d7e37){const _0x1a3f04=null===_0x295363['creator'];if(_0x1a3f04&&_0x295363['toVersion']===_0x295363['fromVersion'])continue;const _0x5abb0a=_0x295363['toJSON']();_0x48e243['addRevisionData'](_0x5abb0a,(_0x35655b,_0xc538d2,_0x2aceca)=>{if(_0x1a3f04){if(_0x359a11)_0x359a11['_update'](_0x35655b,_0xc538d2);else{if(!_0xc538d2){const _0x22c8f5=_0x2aceca['toJSON']();_0x22c8f5['id']=_0x57a491(),_0x253530['saveRevision'](_0x22c8f5,_0x2aceca['toVersion'])['then'](_0x365803=>{_0x359a11=_0x365803;});}}}else _0x295363['_update'](_0x35655b,_0xc538d2);});}}},w),_0x572f1b);}['_enhanceShowRevisionViewerCallback'](){const _0x5c78a5=this['editor']['config']['get']('revisionHistory')['showRevisionViewerCallback'];this['editor']['config']['set']('revisionHistory.showRevisionViewerCallback',async()=>{this['editor']['enableReadOnlyMode']('revision-history-viewer-opened');const _0x8a6a58=this['editor']['plugins']['get']('RevisionTracker');if(this['editor']['plugins']['has']('Autosave')){const _0x43a875=this['editor']['plugins']['get']('Autosave');await _0x43a875['save']();}else await _0x8a6a58['update']();if(this['editor']['plugins']['has']('PaginationLookup')&&this['editor']['plugins']['get']('PaginationLookup')['_recalculatePageBreaks'](),this['editor']['plugins']['has']('Dialog')){const _0xfe0dee=this['editor']['plugins']['get']('Dialog');_0xfe0dee['isOpen']&&_0xfe0dee['hide']();}const _0x7e93d2=this['_getRevisionViewerEditorConfig']();return _0x5c78a5(_0x7e93d2)['then'](_0x451e8e=>{return(this['_viewerEditor']=_0x451e8e,this['editor']['plugins']['has']('Annotations'))&&this['editor']['plugins']['get']('Annotations')['refreshVisibility'](),_0x451e8e;})['catch'](_0x369cba=>(console['error'](_0x369cba),this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),null));});}['_enhanceCloseRevisionViewerCallback'](){const _0x52788c=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'](),_0x52788c(this['_viewerEditor'])['then'](()=>{if(this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),this['_viewerEditor']=null,this['editor']['plugins']['has']('Annotations')){const _0x2db291=this['editor']['plugins']['get']('Annotations');_0x2db291['refreshVisibility'](),_0x2db291['refreshPositioning']();}})));}['_showRevisionViewer'](_0x3f41bc){const _0x2ba74e=this['editor']['config']['get']('revisionHistory.editorContainer'),_0x20c231=this['editor']['config']['get']('revisionHistory.viewerContainer'),_0x2ddbcc=this['editor']['config']['get']('revisionHistory.viewerEditorElement');return m['create'](_0x2ddbcc,_0x3f41bc)['then'](_0x22829d=>(_0x20c231['style']['display']='block',_0x2ba74e['style']['display']='none',_0x22829d));}['_closeRevisionViewer'](_0x571bbb){const _0x4eaa60=this['editor']['config']['get']('revisionHistory.editorContainer');return this['editor']['config']['get']('revisionHistory.viewerContainer')['style']['display']='none',_0x4eaa60['style']['display']='',_0x571bbb['destroy']();}async['_restoreRevision'](_0x4b2166){const _0x3fb9bc=this['editor'],_0x1141e4=this['_viewerEditor']['plugins']['get']('RevisionViewer'),_0x2d3e4a=_0x3fb9bc['plugins']['get']('RevisionTracker'),_0x275653=_0x1141e4['repository']['getRevision'](_0x4b2166);let _0x5bbee6,_0x2e29ea,_0x3475d7;try{_0x5bbee6=await _0x1141e4['getRevisionData'](_0x275653),_0x2e29ea=await _0x1141e4['getRevisionRootsAttributes'](_0x275653);}catch(_0x485a77){return void console['error'](_0x485a77);}_0x3fb9bc['model']['change'](_0x4c047d=>{for(const _0x3475da of Array['from'](_0x3fb9bc['model']['markers']['getMarkersGroup']('restrictedEditingException')))_0x4c047d['removeMarker'](_0x3475da);}),_0x1141e4['isReady']=!0x1,_0x3fb9bc['model']['enqueueChange'](_0x448768=>{_0x448768['setSelection'](null),_0x448768['removeSelectionAttribute'](_0x3fb9bc['model']['document']['selection']['getAttributeKeys']());const _0x29364c=Object['keys'](_0x5bbee6);for(const _0x1a7bac of _0x3fb9bc['model']['document']['roots'])'$graveyard'!=_0x1a7bac['rootName']&&_0x1a7bac['isAttached']()&&!_0x29364c['includes'](_0x1a7bac['rootName'])&&_0x448768['detachRoot'](_0x1a7bac);for(const _0x1b56b3 of _0x29364c){let _0x5c7d40=_0x3fb9bc['model']['document']['getRoot'](_0x1b56b3);_0x5c7d40&&_0x5c7d40['isAttached']()||(_0x5c7d40=_0x448768['addRoot'](_0x1b56b3));const _0x111f9e=_0x2e29ea[_0x1b56b3],_0x1ccbc1=Object['keys'](_0x111f9e),_0x8c8e52=_0x5bbee6[_0x1b56b3];for(const _0x4ecabf of _0x5c7d40['getAttributeKeys']())_0x1ccbc1['includes'](_0x4ecabf)||_0x448768['removeAttribute'](_0x4ecabf,_0x5c7d40);for(const _0x2811db of _0x1ccbc1)_0x448768['setAttribute'](_0x2811db,_0x2e29ea[_0x1b56b3][_0x2811db],_0x5c7d40);_0x448768['remove'](_0x448768['createRangeIn'](_0x5c7d40)),_0x448768['insert'](_0x3fb9bc['data']['parse'](_0x8c8e52,_0x5c7d40),_0x5c7d40,0x0);}});const _0x20cece=y(_0x3fb9bc['locale'],'Restored');if(_0x275653['name'])_0x3475d7=-0x1==_0x275653['name']['indexOf'](_0x20cece)?_0x20cece+':\x20'+_0x275653['name']:_0x275653['name'];else _0x3475d7=_0x20cece+':\x20'+(_0x275653['createdAt']['toLocaleDateString'](_0x3fb9bc['locale']['uiLanguage'],{'month':'long','day':'numeric'})+',\x20'+_0x275653['createdAt']['toLocaleTimeString'](_0x3fb9bc['locale']['uiLanguage'],{'hour':'numeric','minute':'numeric'}));return await _0x2d3e4a['saveRevision']({'name':_0x3475d7}),_0x1141e4['isReady']=!0x0,_0x3fb9bc['config']['get']('revisionHistory')['closeRevisionViewerCallback']();}}export{H as RevisionHistory,u as RevisionHistoryUI,l as RevisionTracker,d as RevisionViewer,de as RevisionViewerLoadingOverlay,R as RevisionViewerUI,A as RevisionsRepository,w as RevisionsSidebar};