@ckeditor/ckeditor5-revision-history 42.0.0 → 42.0.1-alpha.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (148) hide show
  1. package/build/revision-history.js +1 -1
  2. package/dist/index.js +6 -6
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/az.js +1 -1
  8. package/dist/translations/az.umd.js +1 -1
  9. package/dist/translations/bg.js +1 -1
  10. package/dist/translations/bg.umd.js +1 -1
  11. package/dist/translations/bn.js +1 -1
  12. package/dist/translations/bn.umd.js +1 -1
  13. package/dist/translations/bs.js +1 -1
  14. package/dist/translations/bs.umd.js +1 -1
  15. package/dist/translations/ca.js +1 -1
  16. package/dist/translations/ca.umd.js +1 -1
  17. package/dist/translations/cs.js +1 -1
  18. package/dist/translations/cs.umd.js +1 -1
  19. package/dist/translations/da.js +1 -1
  20. package/dist/translations/da.umd.js +1 -1
  21. package/dist/translations/de-ch.js +1 -1
  22. package/dist/translations/de-ch.umd.js +1 -1
  23. package/dist/translations/de.js +1 -1
  24. package/dist/translations/de.umd.js +1 -1
  25. package/dist/translations/el.js +1 -1
  26. package/dist/translations/el.umd.js +1 -1
  27. package/dist/translations/en-au.js +1 -1
  28. package/dist/translations/en-au.umd.js +1 -1
  29. package/dist/translations/en-gb.js +1 -1
  30. package/dist/translations/en-gb.umd.js +1 -1
  31. package/dist/translations/en.umd.js +1 -1
  32. package/dist/translations/es-co.js +1 -1
  33. package/dist/translations/es-co.umd.js +1 -1
  34. package/dist/translations/es.js +1 -1
  35. package/dist/translations/es.umd.js +1 -1
  36. package/dist/translations/et.js +1 -1
  37. package/dist/translations/et.umd.js +1 -1
  38. package/dist/translations/fa.js +1 -1
  39. package/dist/translations/fa.umd.js +1 -1
  40. package/dist/translations/fi.js +1 -1
  41. package/dist/translations/fi.umd.js +1 -1
  42. package/dist/translations/fr.js +1 -1
  43. package/dist/translations/fr.umd.js +1 -1
  44. package/dist/translations/gl.js +1 -1
  45. package/dist/translations/gl.umd.js +1 -1
  46. package/dist/translations/he.js +1 -1
  47. package/dist/translations/he.umd.js +1 -1
  48. package/dist/translations/hi.js +1 -1
  49. package/dist/translations/hi.umd.js +1 -1
  50. package/dist/translations/hr.js +1 -1
  51. package/dist/translations/hr.umd.js +1 -1
  52. package/dist/translations/hu.js +1 -1
  53. package/dist/translations/hu.umd.js +1 -1
  54. package/dist/translations/id.js +1 -1
  55. package/dist/translations/id.umd.js +1 -1
  56. package/dist/translations/it.js +1 -1
  57. package/dist/translations/it.umd.js +1 -1
  58. package/dist/translations/ja.js +1 -1
  59. package/dist/translations/ja.umd.js +1 -1
  60. package/dist/translations/jv.js +1 -1
  61. package/dist/translations/jv.umd.js +1 -1
  62. package/dist/translations/ko.js +1 -1
  63. package/dist/translations/ko.umd.js +1 -1
  64. package/dist/translations/ku.js +1 -1
  65. package/dist/translations/ku.umd.js +1 -1
  66. package/dist/translations/lt.js +1 -1
  67. package/dist/translations/lt.umd.js +1 -1
  68. package/dist/translations/lv.js +1 -1
  69. package/dist/translations/lv.umd.js +1 -1
  70. package/dist/translations/ms.js +1 -1
  71. package/dist/translations/ms.umd.js +1 -1
  72. package/dist/translations/ne.js +1 -1
  73. package/dist/translations/ne.umd.js +1 -1
  74. package/dist/translations/nl.js +1 -1
  75. package/dist/translations/nl.umd.js +1 -1
  76. package/dist/translations/no.js +1 -1
  77. package/dist/translations/no.umd.js +1 -1
  78. package/dist/translations/pl.js +1 -1
  79. package/dist/translations/pl.umd.js +1 -1
  80. package/dist/translations/pt-br.js +1 -1
  81. package/dist/translations/pt-br.umd.js +1 -1
  82. package/dist/translations/pt.js +1 -1
  83. package/dist/translations/pt.umd.js +1 -1
  84. package/dist/translations/ro.js +1 -1
  85. package/dist/translations/ro.umd.js +1 -1
  86. package/dist/translations/ru.js +1 -1
  87. package/dist/translations/ru.umd.js +1 -1
  88. package/dist/translations/sk.js +1 -1
  89. package/dist/translations/sk.umd.js +1 -1
  90. package/dist/translations/sr-latn.js +1 -1
  91. package/dist/translations/sr-latn.umd.js +1 -1
  92. package/dist/translations/sr.js +1 -1
  93. package/dist/translations/sr.umd.js +1 -1
  94. package/dist/translations/sv.js +1 -1
  95. package/dist/translations/sv.umd.js +1 -1
  96. package/dist/translations/th.js +1 -1
  97. package/dist/translations/th.umd.js +1 -1
  98. package/dist/translations/ti.js +1 -1
  99. package/dist/translations/ti.umd.js +1 -1
  100. package/dist/translations/tk.js +1 -1
  101. package/dist/translations/tk.umd.js +1 -1
  102. package/dist/translations/tr.js +1 -1
  103. package/dist/translations/tr.umd.js +1 -1
  104. package/dist/translations/tt.js +1 -1
  105. package/dist/translations/tt.umd.js +1 -1
  106. package/dist/translations/ug.js +1 -1
  107. package/dist/translations/ug.umd.js +1 -1
  108. package/dist/translations/uk.js +1 -1
  109. package/dist/translations/uk.umd.js +1 -1
  110. package/dist/translations/ur.js +1 -1
  111. package/dist/translations/ur.umd.js +1 -1
  112. package/dist/translations/vi.js +1 -1
  113. package/dist/translations/vi.umd.js +1 -1
  114. package/dist/translations/zh-cn.js +1 -1
  115. package/dist/translations/zh-cn.umd.js +1 -1
  116. package/dist/translations/zh.js +1 -1
  117. package/dist/translations/zh.umd.js +1 -1
  118. package/package.json +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 _0x2b7243,Context as _0x40b8b9,PendingActions as _0x26f42f,icons as _0x299fa9,Command as _0xf51837,ElementApiMixin as rt,Editor as it}from'@ckeditor/ckeditor5-core/dist/index.js';import{ObservableMixin as _0x46b21f,uid as _0x39bddc,Collection as _0x1efd7e,logWarning as _0xf83cc0,FocusTracker as _0x517376,KeystrokeHandler as _0x9ef9a3,scrollViewportToShowTarget as _0x30526b,ResizeObserver as mt,ElementReplacer as nt,CKEditorError as _0x22536d}from'@ckeditor/ckeditor5-utils/dist/index.js';import{Users as _0x137b16,getMarkerDomElement as _0x2d6bd0,ConfirmMixin as _0x5f40e1,sanitizeEditorConfig as _0xf5d059}from'ckeditor5-collaboration/dist/index.js';import{ViewDocumentFragment as _0x460862,ViewText as _0x50a1ef,ViewElement as _0x39072b,Element as ft,Range as vt,Position as gt,DocumentFragment as wt,ViewContainerElement as _0x55311b,ViewAttributeElement as _0x4111e5,ViewEmptyElement as _0x5d72ca,ViewRawElement as _0x39b518,ViewUIElement as _0x203e4f,Text as _t}from'@ckeditor/ckeditor5-engine/dist/index.js';import{cloneDeep as _0x4b53fb,set as _0x4dd923,unset as _0x526332,isEqual as _0x4998da}from'lodash-es';import{View as _0x2d463e,injectCssTransitionDisabler as ts,submitHandler as _0x11c685,LabeledFieldView as at,createLabeledInputText as _0x112e22,createDropdown as _0x47478e,ListView as te,ListItemView as _0x2303bf,ButtonView as _0x209397,MenuBarMenuView as _0x3dc06f,MenuBarMenuListView as _0x4b46b3,MenuBarMenuListItemView as _0x314586,MenuBarMenuListItemButtonView as _0x276535,ContextualBalloon as _0x301284,ToolbarSeparatorView as _0x587373,IconView as _0x595a2c,addListToDropdown as _0x1bbad1,ViewModel as to,EditorUI as ht,normalizeToolbarConfig as ct,BoxedEditorUIView as dt,StickyPanelView as lt,ToolbarView as pt,InlineEditableUIView as ut}from'@ckeditor/ckeditor5-ui/dist/index.js';import{DateTime as _0x5055aa}from'luxon';class a extends/* #__PURE__ -- @preserve */
24
- _0x46b21f(){['id'];['creator'];['authors'];['diffData'];['toVersion'];['fromVersion'];['model'];constructor(_0x4e7f3a){super(),this['id']=_0x4e7f3a['id']||_0x39bddc(),this['creator']=_0x4e7f3a['creator']||null,this['authors']=_0x4e7f3a['authors']||[],this['diffData']=_0x4e7f3a['diffData']||null,this['toVersion']=_0x4e7f3a['toVersion']||0x0,this['fromVersion']=_0x4e7f3a['fromVersion']||0x0,this['set']('name',_0x4e7f3a['name']||''),this['set']('createdAt',_0x4e7f3a['createdAt']||new Date()),this['set']('attributes',_0x4e7f3a['attributes']||{});}['setName'](_0x4687cc){this['_update']({'name':_0x4687cc});}['setAttribute'](_0x66663,_0x4aa304){const _0x3c3bbb=_0x4b53fb(this['attributes']);_0x4dd923(_0x3c3bbb,_0x66663,_0x4aa304),this['_update']({'attributes':_0x3c3bbb});}['removeAttribute'](_0x3a0309){const _0x33ae0c=_0x4b53fb(this['attributes']);_0x526332(_0x33ae0c,_0x3a0309),this['_update']({'attributes':_0x33ae0c});}['_update'](_0x570d70,_0x52aead=!0x1){let _0x4dcb72=!0x1;const _0x22027b={'id':this['id']},_0x30177f=['name','createdAt','diffData','authors','attributes','toVersion','fromVersion','creatorId'];for(const _0x140272 of _0x30177f){const _0x2fc4d3=_0x570d70[_0x140272];void 0x0!==_0x2fc4d3&&_0x2fc4d3!==this[_0x140272]&&(this[_0x140272]=_0x2fc4d3,_0x22027b[_0x140272]=_0x2fc4d3,_0x4dcb72=!0x0);}_0x4dcb72&&(_0x22027b['authors']&&(_0x22027b['authorsIds']=_0x22027b['authors']['map'](_0x430892=>_0x430892['id']),delete _0x22027b['authors']),this['fire']('_update',_0x22027b,_0x52aead));}['toJSON'](){return{'id':this['id'],'name':this['name'],'creatorId':this['creator']?this['creator']['id']:null,'authorsIds':this['authors']['map'](_0x1227e8=>_0x1227e8['id']),'diffData':this['diffData'],'createdAt':this['createdAt'],'attributes':this['attributes'],'fromVersion':this['fromVersion'],'toVersion':this['toVersion']};}}class A extends _0x2b7243{['_revisions'];static get['requires'](){return[_0x137b16];}static get['pluginName'](){return'RevisionsRepository';}get['length'](){return this['_revisions']['length'];}constructor(_0x399e29){super(_0x399e29),this['_revisions']=new _0x1efd7e();}['afterInit'](){!function(_0x4ff316){function _0x276ce4(_0x38c2fe,_0x1ac84c,_0xe4ece7){const _0x248386={};_0x248386[_0x13728d([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])]={0x10:0xa,0x18:0xc,0x20:0xe},_0x248386[_0x13728d([0x72,0x63,0x6f,0x6e])]=[0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36,0x6c,0xd8,0xab,0x4d,0x9a,0x2f,0x5e,0xbc,0x63,0xc6,0x97,0x35,0x6a,0xd4,0xb3,0x7d,0xfa,0xef,0xc5,0x91],_0x248386[_0x13728d([0x53])]=[0x63,0x7c,0x77,0x7b,0xf2,0x6b,0x6f,0xc5,0x30,0x1,0x67,0x2b,0xfe,0xd7,0xab,0x76,0xca,0x82,0xc9,0x7d,0xfa,0x59,0x47,0xf0,0xad,0xd4,0xa2,0xaf,0x9c,0xa4,0x72,0xc0,0xb7,0xfd,0x93,0x26,0x36,0x3f,0xf7,0xcc,0x34,0xa5,0xe5,0xf1,0x71,0xd8,0x31,0x15,0x4,0xc7,0x23,0xc3,0x18,0x96,0x5,0x9a,0x7,0x12,0x80,0xe2,0xeb,0x27,0xb2,0x75,0x9,0x83,0x2c,0x1a,0x1b,0x6e,0x5a,0xa0,0x52,0x3b,0xd6,0xb3,0x29,0xe3,0x2f,0x84,0x53,0xd1,0x0,0xed,0x20,0xfc,0xb1,0x5b,0x6a,0xcb,0xbe,0x39,0x4a,0x4c,0x58,0xcf,0xd0,0xef,0xaa,0xfb,0x43,0x4d,0x33,0x85,0x45,0xf9,0x2,0x7f,0x50,0x3c,0x9f,0xa8,0x51,0xa3,0x40,0x8f,0x92,0x9d,0x38,0xf5,0xbc,0xb6,0xda,0x21,0x10,0xff,0xf3,0xd2,0xcd,0xc,0x13,0xec,0x5f,0x97,0x44,0x17,0xc4,0xa7,0x7e,0x3d,0x64,0x5d,0x19,0x73,0x60,0x81,0x4f,0xdc,0x22,0x2a,0x90,0x88,0x46,0xee,0xb8,0x14,0xde,0x5e,0xb,0xdb,0xe0,0x32,0x3a,0xa,0x49,0x6,0x24,0x5c,0xc2,0xd3,0xac,0x62,0x91,0x95,0xe4,0x79,0xe7,0xc8,0x37,0x6d,0x8d,0xd5,0x4e,0xa9,0x6c,0x56,0xf4,0xea,0x65,0x7a,0xae,0x8,0xba,0x78,0x25,0x2e,0x1c,0xa6,0xb4,0xc6,0xe8,0xdd,0x74,0x1f,0x4b,0xbd,0x8b,0x8a,0x70,0x3e,0xb5,0x66,0x48,0x3,0xf6,0xe,0x61,0x35,0x57,0xb9,0x86,0xc1,0x1d,0x9e,0xe1,0xf8,0x98,0x11,0x69,0xd9,0x8e,0x94,0x9b,0x1e,0x87,0xe9,0xce,0x55,0x28,0xdf,0x8c,0xa1,0x89,0xd,0xbf,0xe6,0x42,0x68,0x41,0x99,0x2d,0xf,0xb0,0x54,0xbb,0x16],_0x248386[_0x13728d([0x54,0x31])]=[0xc66363a5,0xf87c7c84,0xee777799,0xf67b7b8d,0xfff2f20d,0xd66b6bbd,0xde6f6fb1,0x91c5c554,0x60303050,0x2010103,0xce6767a9,0x562b2b7d,0xe7fefe19,0xb5d7d762,0x4dababe6,0xec76769a,0x8fcaca45,0x1f82829d,0x89c9c940,0xfa7d7d87,0xeffafa15,0xb25959eb,0x8e4747c9,0xfbf0f00b,0x41adadec,0xb3d4d467,0x5fa2a2fd,0x45afafea,0x239c9cbf,0x53a4a4f7,0xe4727296,0x9bc0c05b,0x75b7b7c2,0xe1fdfd1c,0x3d9393ae,0x4c26266a,0x6c36365a,0x7e3f3f41,0xf5f7f702,0x83cccc4f,0x6834345c,0x51a5a5f4,0xd1e5e534,0xf9f1f108,0xe2717193,0xabd8d873,0x62313153,0x2a15153f,0x804040c,0x95c7c752,0x46232365,0x9dc3c35e,0x30181828,0x379696a1,0xa05050f,0x2f9a9ab5,0xe070709,0x24121236,0x1b80809b,0xdfe2e23d,0xcdebeb26,0x4e272769,0x7fb2b2cd,0xea75759f,0x1209091b,0x1d83839e,0x582c2c74,0x341a1a2e,0x361b1b2d,0xdc6e6eb2,0xb45a5aee,0x5ba0a0fb,0xa45252f6,0x763b3b4d,0xb7d6d661,0x7db3b3ce,0x5229297b,0xdde3e33e,0x5e2f2f71,0x13848497,0xa65353f5,0xb9d1d168,0x0,0xc1eded2c,0x40202060,0xe3fcfc1f,0x79b1b1c8,0xb65b5bed,0xd46a6abe,0x8dcbcb46,0x67bebed9,0x7239394b,0x944a4ade,0x984c4cd4,0xb05858e8,0x85cfcf4a,0xbbd0d06b,0xc5efef2a,0x4faaaae5,0xedfbfb16,0x864343c5,0x9a4d4dd7,0x66333355,0x11858594,0x8a4545cf,0xe9f9f910,0x4020206,0xfe7f7f81,0xa05050f0,0x783c3c44,0x259f9fba,0x4ba8a8e3,0xa25151f3,0x5da3a3fe,0x804040c0,0x58f8f8a,0x3f9292ad,0x219d9dbc,0x70383848,0xf1f5f504,0x63bcbcdf,0x77b6b6c1,0xafdada75,0x42212163,0x20101030,0xe5ffff1a,0xfdf3f30e,0xbfd2d26d,0x81cdcd4c,0x180c0c14,0x26131335,0xc3ecec2f,0xbe5f5fe1,0x359797a2,0x884444cc,0x2e171739,0x93c4c457,0x55a7a7f2,0xfc7e7e82,0x7a3d3d47,0xc86464ac,0xba5d5de7,0x3219192b,0xe6737395,0xc06060a0,0x19818198,0x9e4f4fd1,0xa3dcdc7f,0x44222266,0x542a2a7e,0x3b9090ab,0xb888883,0x8c4646ca,0xc7eeee29,0x6bb8b8d3,0x2814143c,0xa7dede79,0xbc5e5ee2,0x160b0b1d,0xaddbdb76,0xdbe0e03b,0x64323256,0x743a3a4e,0x140a0a1e,0x924949db,0xc06060a,0x4824246c,0xb85c5ce4,0x9fc2c25d,0xbdd3d36e,0x43acacef,0xc46262a6,0x399191a8,0x319595a4,0xd3e4e437,0xf279798b,0xd5e7e732,0x8bc8c843,0x6e373759,0xda6d6db7,0x18d8d8c,0xb1d5d564,0x9c4e4ed2,0x49a9a9e0,0xd86c6cb4,0xac5656fa,0xf3f4f407,0xcfeaea25,0xca6565af,0xf47a7a8e,0x47aeaee9,0x10080818,0x6fbabad5,0xf0787888,0x4a25256f,0x5c2e2e72,0x381c1c24,0x57a6a6f1,0x73b4b4c7,0x97c6c651,0xcbe8e823,0xa1dddd7c,0xe874749c,0x3e1f1f21,0x964b4bdd,0x61bdbddc,0xd8b8b86,0xf8a8a85,0xe0707090,0x7c3e3e42,0x71b5b5c4,0xcc6666aa,0x904848d8,0x6030305,0xf7f6f601,0x1c0e0e12,0xc26161a3,0x6a35355f,0xae5757f9,0x69b9b9d0,0x17868691,0x99c1c158,0x3a1d1d27,0x279e9eb9,0xd9e1e138,0xebf8f813,0x2b9898b3,0x22111133,0xd26969bb,0xa9d9d970,0x78e8e89,0x339494a7,0x2d9b9bb6,0x3c1e1e22,0x15878792,0xc9e9e920,0x87cece49,0xaa5555ff,0x50282878,0xa5dfdf7a,0x38c8c8f,0x59a1a1f8,0x9898980,0x1a0d0d17,0x65bfbfda,0xd7e6e631,0x844242c6,0xd06868b8,0x824141c3,0x299999b0,0x5a2d2d77,0x1e0f0f11,0x7bb0b0cb,0xa85454fc,0x6dbbbbd6,0x2c16163a],_0x248386[_0x13728d([0x54,0x32])]=[0xa5c66363,0x84f87c7c,0x99ee7777,0x8df67b7b,0xdfff2f2,0xbdd66b6b,0xb1de6f6f,0x5491c5c5,0x50603030,0x3020101,0xa9ce6767,0x7d562b2b,0x19e7fefe,0x62b5d7d7,0xe64dabab,0x9aec7676,0x458fcaca,0x9d1f8282,0x4089c9c9,0x87fa7d7d,0x15effafa,0xebb25959,0xc98e4747,0xbfbf0f0,0xec41adad,0x67b3d4d4,0xfd5fa2a2,0xea45afaf,0xbf239c9c,0xf753a4a4,0x96e47272,0x5b9bc0c0,0xc275b7b7,0x1ce1fdfd,0xae3d9393,0x6a4c2626,0x5a6c3636,0x417e3f3f,0x2f5f7f7,0x4f83cccc,0x5c683434,0xf451a5a5,0x34d1e5e5,0x8f9f1f1,0x93e27171,0x73abd8d8,0x53623131,0x3f2a1515,0xc080404,0x5295c7c7,0x65462323,0x5e9dc3c3,0x28301818,0xa1379696,0xf0a0505,0xb52f9a9a,0x90e0707,0x36241212,0x9b1b8080,0x3ddfe2e2,0x26cdebeb,0x694e2727,0xcd7fb2b2,0x9fea7575,0x1b120909,0x9e1d8383,0x74582c2c,0x2e341a1a,0x2d361b1b,0xb2dc6e6e,0xeeb45a5a,0xfb5ba0a0,0xf6a45252,0x4d763b3b,0x61b7d6d6,0xce7db3b3,0x7b522929,0x3edde3e3,0x715e2f2f,0x97138484,0xf5a65353,0x68b9d1d1,0x0,0x2cc1eded,0x60402020,0x1fe3fcfc,0xc879b1b1,0xedb65b5b,0xbed46a6a,0x468dcbcb,0xd967bebe,0x4b723939,0xde944a4a,0xd4984c4c,0xe8b05858,0x4a85cfcf,0x6bbbd0d0,0x2ac5efef,0xe54faaaa,0x16edfbfb,0xc5864343,0xd79a4d4d,0x55663333,0x94118585,0xcf8a4545,0x10e9f9f9,0x6040202,0x81fe7f7f,0xf0a05050,0x44783c3c,0xba259f9f,0xe34ba8a8,0xf3a25151,0xfe5da3a3,0xc0804040,0x8a058f8f,0xad3f9292,0xbc219d9d,0x48703838,0x4f1f5f5,0xdf63bcbc,0xc177b6b6,0x75afdada,0x63422121,0x30201010,0x1ae5ffff,0xefdf3f3,0x6dbfd2d2,0x4c81cdcd,0x14180c0c,0x35261313,0x2fc3ecec,0xe1be5f5f,0xa2359797,0xcc884444,0x392e1717,0x5793c4c4,0xf255a7a7,0x82fc7e7e,0x477a3d3d,0xacc86464,0xe7ba5d5d,0x2b321919,0x95e67373,0xa0c06060,0x98198181,0xd19e4f4f,0x7fa3dcdc,0x66442222,0x7e542a2a,0xab3b9090,0x830b8888,0xca8c4646,0x29c7eeee,0xd36bb8b8,0x3c281414,0x79a7dede,0xe2bc5e5e,0x1d160b0b,0x76addbdb,0x3bdbe0e0,0x56643232,0x4e743a3a,0x1e140a0a,0xdb924949,0xa0c0606,0x6c482424,0xe4b85c5c,0x5d9fc2c2,0x6ebdd3d3,0xef43acac,0xa6c46262,0xa8399191,0xa4319595,0x37d3e4e4,0x8bf27979,0x32d5e7e7,0x438bc8c8,0x596e3737,0xb7da6d6d,0x8c018d8d,0x64b1d5d5,0xd29c4e4e,0xe049a9a9,0xb4d86c6c,0xfaac5656,0x7f3f4f4,0x25cfeaea,0xafca6565,0x8ef47a7a,0xe947aeae,0x18100808,0xd56fbaba,0x88f07878,0x6f4a2525,0x725c2e2e,0x24381c1c,0xf157a6a6,0xc773b4b4,0x5197c6c6,0x23cbe8e8,0x7ca1dddd,0x9ce87474,0x213e1f1f,0xdd964b4b,0xdc61bdbd,0x860d8b8b,0x850f8a8a,0x90e07070,0x427c3e3e,0xc471b5b5,0xaacc6666,0xd8904848,0x5060303,0x1f7f6f6,0x121c0e0e,0xa3c26161,0x5f6a3535,0xf9ae5757,0xd069b9b9,0x91178686,0x5899c1c1,0x273a1d1d,0xb9279e9e,0x38d9e1e1,0x13ebf8f8,0xb32b9898,0x33221111,0xbbd26969,0x70a9d9d9,0x89078e8e,0xa7339494,0xb62d9b9b,0x223c1e1e,0x92158787,0x20c9e9e9,0x4987cece,0xffaa5555,0x78502828,0x7aa5dfdf,0x8f038c8c,0xf859a1a1,0x80098989,0x171a0d0d,0xda65bfbf,0x31d7e6e6,0xc6844242,0xb8d06868,0xc3824141,0xb0299999,0x775a2d2d,0x111e0f0f,0xcb7bb0b0,0xfca85454,0xd66dbbbb,0x3a2c1616],_0x248386[_0x13728d([0x54,0x33])]=[0x63a5c663,0x7c84f87c,0x7799ee77,0x7b8df67b,0xf20dfff2,0x6bbdd66b,0x6fb1de6f,0xc55491c5,0x30506030,0x1030201,0x67a9ce67,0x2b7d562b,0xfe19e7fe,0xd762b5d7,0xabe64dab,0x769aec76,0xca458fca,0x829d1f82,0xc94089c9,0x7d87fa7d,0xfa15effa,0x59ebb259,0x47c98e47,0xf00bfbf0,0xadec41ad,0xd467b3d4,0xa2fd5fa2,0xafea45af,0x9cbf239c,0xa4f753a4,0x7296e472,0xc05b9bc0,0xb7c275b7,0xfd1ce1fd,0x93ae3d93,0x266a4c26,0x365a6c36,0x3f417e3f,0xf702f5f7,0xcc4f83cc,0x345c6834,0xa5f451a5,0xe534d1e5,0xf108f9f1,0x7193e271,0xd873abd8,0x31536231,0x153f2a15,0x40c0804,0xc75295c7,0x23654623,0xc35e9dc3,0x18283018,0x96a13796,0x50f0a05,0x9ab52f9a,0x7090e07,0x12362412,0x809b1b80,0xe23ddfe2,0xeb26cdeb,0x27694e27,0xb2cd7fb2,0x759fea75,0x91b1209,0x839e1d83,0x2c74582c,0x1a2e341a,0x1b2d361b,0x6eb2dc6e,0x5aeeb45a,0xa0fb5ba0,0x52f6a452,0x3b4d763b,0xd661b7d6,0xb3ce7db3,0x297b5229,0xe33edde3,0x2f715e2f,0x84971384,0x53f5a653,0xd168b9d1,0x0,0xed2cc1ed,0x20604020,0xfc1fe3fc,0xb1c879b1,0x5bedb65b,0x6abed46a,0xcb468dcb,0xbed967be,0x394b7239,0x4ade944a,0x4cd4984c,0x58e8b058,0xcf4a85cf,0xd06bbbd0,0xef2ac5ef,0xaae54faa,0xfb16edfb,0x43c58643,0x4dd79a4d,0x33556633,0x85941185,0x45cf8a45,0xf910e9f9,0x2060402,0x7f81fe7f,0x50f0a050,0x3c44783c,0x9fba259f,0xa8e34ba8,0x51f3a251,0xa3fe5da3,0x40c08040,0x8f8a058f,0x92ad3f92,0x9dbc219d,0x38487038,0xf504f1f5,0xbcdf63bc,0xb6c177b6,0xda75afda,0x21634221,0x10302010,0xff1ae5ff,0xf30efdf3,0xd26dbfd2,0xcd4c81cd,0xc14180c,0x13352613,0xec2fc3ec,0x5fe1be5f,0x97a23597,0x44cc8844,0x17392e17,0xc45793c4,0xa7f255a7,0x7e82fc7e,0x3d477a3d,0x64acc864,0x5de7ba5d,0x192b3219,0x7395e673,0x60a0c060,0x81981981,0x4fd19e4f,0xdc7fa3dc,0x22664422,0x2a7e542a,0x90ab3b90,0x88830b88,0x46ca8c46,0xee29c7ee,0xb8d36bb8,0x143c2814,0xde79a7de,0x5ee2bc5e,0xb1d160b,0xdb76addb,0xe03bdbe0,0x32566432,0x3a4e743a,0xa1e140a,0x49db9249,0x60a0c06,0x246c4824,0x5ce4b85c,0xc25d9fc2,0xd36ebdd3,0xacef43ac,0x62a6c462,0x91a83991,0x95a43195,0xe437d3e4,0x798bf279,0xe732d5e7,0xc8438bc8,0x37596e37,0x6db7da6d,0x8d8c018d,0xd564b1d5,0x4ed29c4e,0xa9e049a9,0x6cb4d86c,0x56faac56,0xf407f3f4,0xea25cfea,0x65afca65,0x7a8ef47a,0xaee947ae,0x8181008,0xbad56fba,0x7888f078,0x256f4a25,0x2e725c2e,0x1c24381c,0xa6f157a6,0xb4c773b4,0xc65197c6,0xe823cbe8,0xdd7ca1dd,0x749ce874,0x1f213e1f,0x4bdd964b,0xbddc61bd,0x8b860d8b,0x8a850f8a,0x7090e070,0x3e427c3e,0xb5c471b5,0x66aacc66,0x48d89048,0x3050603,0xf601f7f6,0xe121c0e,0x61a3c261,0x355f6a35,0x57f9ae57,0xb9d069b9,0x86911786,0xc15899c1,0x1d273a1d,0x9eb9279e,0xe138d9e1,0xf813ebf8,0x98b32b98,0x11332211,0x69bbd269,0xd970a9d9,0x8e89078e,0x94a73394,0x9bb62d9b,0x1e223c1e,0x87921587,0xe920c9e9,0xce4987ce,0x55ffaa55,0x28785028,0xdf7aa5df,0x8c8f038c,0xa1f859a1,0x89800989,0xd171a0d,0xbfda65bf,0xe631d7e6,0x42c68442,0x68b8d068,0x41c38241,0x99b02999,0x2d775a2d,0xf111e0f,0xb0cb7bb0,0x54fca854,0xbbd66dbb,0x163a2c16],_0x248386[_0x13728d([0x54,0x34])]=[0x6363a5c6,0x7c7c84f8,0x777799ee,0x7b7b8df6,0xf2f20dff,0x6b6bbdd6,0x6f6fb1de,0xc5c55491,0x30305060,0x1010302,0x6767a9ce,0x2b2b7d56,0xfefe19e7,0xd7d762b5,0xababe64d,0x76769aec,0xcaca458f,0x82829d1f,0xc9c94089,0x7d7d87fa,0xfafa15ef,0x5959ebb2,0x4747c98e,0xf0f00bfb,0xadadec41,0xd4d467b3,0xa2a2fd5f,0xafafea45,0x9c9cbf23,0xa4a4f753,0x727296e4,0xc0c05b9b,0xb7b7c275,0xfdfd1ce1,0x9393ae3d,0x26266a4c,0x36365a6c,0x3f3f417e,0xf7f702f5,0xcccc4f83,0x34345c68,0xa5a5f451,0xe5e534d1,0xf1f108f9,0x717193e2,0xd8d873ab,0x31315362,0x15153f2a,0x4040c08,0xc7c75295,0x23236546,0xc3c35e9d,0x18182830,0x9696a137,0x5050f0a,0x9a9ab52f,0x707090e,0x12123624,0x80809b1b,0xe2e23ddf,0xebeb26cd,0x2727694e,0xb2b2cd7f,0x75759fea,0x9091b12,0x83839e1d,0x2c2c7458,0x1a1a2e34,0x1b1b2d36,0x6e6eb2dc,0x5a5aeeb4,0xa0a0fb5b,0x5252f6a4,0x3b3b4d76,0xd6d661b7,0xb3b3ce7d,0x29297b52,0xe3e33edd,0x2f2f715e,0x84849713,0x5353f5a6,0xd1d168b9,0x0,0xeded2cc1,0x20206040,0xfcfc1fe3,0xb1b1c879,0x5b5bedb6,0x6a6abed4,0xcbcb468d,0xbebed967,0x39394b72,0x4a4ade94,0x4c4cd498,0x5858e8b0,0xcfcf4a85,0xd0d06bbb,0xefef2ac5,0xaaaae54f,0xfbfb16ed,0x4343c586,0x4d4dd79a,0x33335566,0x85859411,0x4545cf8a,0xf9f910e9,0x2020604,0x7f7f81fe,0x5050f0a0,0x3c3c4478,0x9f9fba25,0xa8a8e34b,0x5151f3a2,0xa3a3fe5d,0x4040c080,0x8f8f8a05,0x9292ad3f,0x9d9dbc21,0x38384870,0xf5f504f1,0xbcbcdf63,0xb6b6c177,0xdada75af,0x21216342,0x10103020,0xffff1ae5,0xf3f30efd,0xd2d26dbf,0xcdcd4c81,0xc0c1418,0x13133526,0xecec2fc3,0x5f5fe1be,0x9797a235,0x4444cc88,0x1717392e,0xc4c45793,0xa7a7f255,0x7e7e82fc,0x3d3d477a,0x6464acc8,0x5d5de7ba,0x19192b32,0x737395e6,0x6060a0c0,0x81819819,0x4f4fd19e,0xdcdc7fa3,0x22226644,0x2a2a7e54,0x9090ab3b,0x8888830b,0x4646ca8c,0xeeee29c7,0xb8b8d36b,0x14143c28,0xdede79a7,0x5e5ee2bc,0xb0b1d16,0xdbdb76ad,0xe0e03bdb,0x32325664,0x3a3a4e74,0xa0a1e14,0x4949db92,0x6060a0c,0x24246c48,0x5c5ce4b8,0xc2c25d9f,0xd3d36ebd,0xacacef43,0x6262a6c4,0x9191a839,0x9595a431,0xe4e437d3,0x79798bf2,0xe7e732d5,0xc8c8438b,0x3737596e,0x6d6db7da,0x8d8d8c01,0xd5d564b1,0x4e4ed29c,0xa9a9e049,0x6c6cb4d8,0x5656faac,0xf4f407f3,0xeaea25cf,0x6565afca,0x7a7a8ef4,0xaeaee947,0x8081810,0xbabad56f,0x787888f0,0x25256f4a,0x2e2e725c,0x1c1c2438,0xa6a6f157,0xb4b4c773,0xc6c65197,0xe8e823cb,0xdddd7ca1,0x74749ce8,0x1f1f213e,0x4b4bdd96,0xbdbddc61,0x8b8b860d,0x8a8a850f,0x707090e0,0x3e3e427c,0xb5b5c471,0x6666aacc,0x4848d890,0x3030506,0xf6f601f7,0xe0e121c,0x6161a3c2,0x35355f6a,0x5757f9ae,0xb9b9d069,0x86869117,0xc1c15899,0x1d1d273a,0x9e9eb927,0xe1e138d9,0xf8f813eb,0x9898b32b,0x11113322,0x6969bbd2,0xd9d970a9,0x8e8e8907,0x9494a733,0x9b9bb62d,0x1e1e223c,0x87879215,0xe9e920c9,0xcece4987,0x5555ffaa,0x28287850,0xdfdf7aa5,0x8c8c8f03,0xa1a1f859,0x89898009,0xd0d171a,0xbfbfda65,0xe6e631d7,0x4242c684,0x6868b8d0,0x4141c382,0x9999b029,0x2d2d775a,0xf0f111e,0xb0b0cb7b,0x5454fca8,0xbbbbd66d,0x16163a2c],_0x248386[_0x13728d([0x55,0x31])]=[0x0,0xe090d0b,0x1c121a16,0x121b171d,0x3824342c,0x362d3927,0x24362e3a,0x2a3f2331,0x70486858,0x7e416553,0x6c5a724e,0x62537f45,0x486c5c74,0x4665517f,0x547e4662,0x5a774b69,0xe090d0b0,0xee99ddbb,0xfc82caa6,0xf28bc7ad,0xd8b4e49c,0xd6bde997,0xc4a6fe8a,0xcaaff381,0x90d8b8e8,0x9ed1b5e3,0x8ccaa2fe,0x82c3aff5,0xa8fc8cc4,0xa6f581cf,0xb4ee96d2,0xbae79bd9,0xdb3bbb7b,0xd532b670,0xc729a16d,0xc920ac66,0xe31f8f57,0xed16825c,0xff0d9541,0xf104984a,0xab73d323,0xa57ade28,0xb761c935,0xb968c43e,0x9357e70f,0x9d5eea04,0x8f45fd19,0x814cf012,0x3bab6bcb,0x35a266c0,0x27b971dd,0x29b07cd6,0x38f5fe7,0xd8652ec,0x1f9d45f1,0x119448fa,0x4be30393,0x45ea0e98,0x57f11985,0x59f8148e,0x73c737bf,0x7dce3ab4,0x6fd52da9,0x61dc20a2,0xad766df6,0xa37f60fd,0xb16477e0,0xbf6d7aeb,0x955259da,0x9b5b54d1,0x894043cc,0x87494ec7,0xdd3e05ae,0xd33708a5,0xc12c1fb8,0xcf2512b3,0xe51a3182,0xeb133c89,0xf9082b94,0xf701269f,0x4de6bd46,0x43efb04d,0x51f4a750,0x5ffdaa5b,0x75c2896a,0x7bcb8461,0x69d0937c,0x67d99e77,0x3daed51e,0x33a7d815,0x21bccf08,0x2fb5c203,0x58ae132,0xb83ec39,0x1998fb24,0x1791f62f,0x764dd68d,0x7844db86,0x6a5fcc9b,0x6456c190,0x4e69e2a1,0x4060efaa,0x527bf8b7,0x5c72f5bc,0x605bed5,0x80cb3de,0x1a17a4c3,0x141ea9c8,0x3e218af9,0x302887f2,0x223390ef,0x2c3a9de4,0x96dd063d,0x98d40b36,0x8acf1c2b,0x84c61120,0xaef93211,0xa0f03f1a,0xb2eb2807,0xbce2250c,0xe6956e65,0xe89c636e,0xfa877473,0xf48e7978,0xdeb15a49,0xd0b85742,0xc2a3405f,0xccaa4d54,0x41ecdaf7,0x4fe5d7fc,0x5dfec0e1,0x53f7cdea,0x79c8eedb,0x77c1e3d0,0x65daf4cd,0x6bd3f9c6,0x31a4b2af,0x3fadbfa4,0x2db6a8b9,0x23bfa5b2,0x9808683,0x7898b88,0x15929c95,0x1b9b919e,0xa17c0a47,0xaf75074c,0xbd6e1051,0xb3671d5a,0x99583e6b,0x97513360,0x854a247d,0x8b432976,0xd134621f,0xdf3d6f14,0xcd267809,0xc32f7502,0xe9105633,0xe7195b38,0xf5024c25,0xfb0b412e,0x9ad7618c,0x94de6c87,0x86c57b9a,0x88cc7691,0xa2f355a0,0xacfa58ab,0xbee14fb6,0xb0e842bd,0xea9f09d4,0xe49604df,0xf68d13c2,0xf8841ec9,0xd2bb3df8,0xdcb230f3,0xcea927ee,0xc0a02ae5,0x7a47b13c,0x744ebc37,0x6655ab2a,0x685ca621,0x42638510,0x4c6a881b,0x5e719f06,0x5078920d,0xa0fd964,0x406d46f,0x161dc372,0x1814ce79,0x322bed48,0x3c22e043,0x2e39f75e,0x2030fa55,0xec9ab701,0xe293ba0a,0xf088ad17,0xfe81a01c,0xd4be832d,0xdab78e26,0xc8ac993b,0xc6a59430,0x9cd2df59,0x92dbd252,0x80c0c54f,0x8ec9c844,0xa4f6eb75,0xaaffe67e,0xb8e4f163,0xb6edfc68,0xc0a67b1,0x2036aba,0x10187da7,0x1e1170ac,0x342e539d,0x3a275e96,0x283c498b,0x26354480,0x7c420fe9,0x724b02e2,0x605015ff,0x6e5918f4,0x44663bc5,0x4a6f36ce,0x587421d3,0x567d2cd8,0x37a10c7a,0x39a80171,0x2bb3166c,0x25ba1b67,0xf853856,0x18c355d,0x13972240,0x1d9e2f4b,0x47e96422,0x49e06929,0x5bfb7e34,0x55f2733f,0x7fcd500e,0x71c45d05,0x63df4a18,0x6dd64713,0xd731dcca,0xd938d1c1,0xcb23c6dc,0xc52acbd7,0xef15e8e6,0xe11ce5ed,0xf307f2f0,0xfd0efffb,0xa779b492,0xa970b999,0xbb6bae84,0xb562a38f,0x9f5d80be,0x91548db5,0x834f9aa8,0x8d4697a3],_0x248386[_0x13728d([0x55,0x32])]=[0x0,0xb0e090d,0x161c121a,0x1d121b17,0x2c382434,0x27362d39,0x3a24362e,0x312a3f23,0x58704868,0x537e4165,0x4e6c5a72,0x4562537f,0x74486c5c,0x7f466551,0x62547e46,0x695a774b,0xb0e090d0,0xbbee99dd,0xa6fc82ca,0xadf28bc7,0x9cd8b4e4,0x97d6bde9,0x8ac4a6fe,0x81caaff3,0xe890d8b8,0xe39ed1b5,0xfe8ccaa2,0xf582c3af,0xc4a8fc8c,0xcfa6f581,0xd2b4ee96,0xd9bae79b,0x7bdb3bbb,0x70d532b6,0x6dc729a1,0x66c920ac,0x57e31f8f,0x5ced1682,0x41ff0d95,0x4af10498,0x23ab73d3,0x28a57ade,0x35b761c9,0x3eb968c4,0xf9357e7,0x49d5eea,0x198f45fd,0x12814cf0,0xcb3bab6b,0xc035a266,0xdd27b971,0xd629b07c,0xe7038f5f,0xec0d8652,0xf11f9d45,0xfa119448,0x934be303,0x9845ea0e,0x8557f119,0x8e59f814,0xbf73c737,0xb47dce3a,0xa96fd52d,0xa261dc20,0xf6ad766d,0xfda37f60,0xe0b16477,0xebbf6d7a,0xda955259,0xd19b5b54,0xcc894043,0xc787494e,0xaedd3e05,0xa5d33708,0xb8c12c1f,0xb3cf2512,0x82e51a31,0x89eb133c,0x94f9082b,0x9ff70126,0x464de6bd,0x4d43efb0,0x5051f4a7,0x5b5ffdaa,0x6a75c289,0x617bcb84,0x7c69d093,0x7767d99e,0x1e3daed5,0x1533a7d8,0x821bccf,0x32fb5c2,0x32058ae1,0x390b83ec,0x241998fb,0x2f1791f6,0x8d764dd6,0x867844db,0x9b6a5fcc,0x906456c1,0xa14e69e2,0xaa4060ef,0xb7527bf8,0xbc5c72f5,0xd50605be,0xde080cb3,0xc31a17a4,0xc8141ea9,0xf93e218a,0xf2302887,0xef223390,0xe42c3a9d,0x3d96dd06,0x3698d40b,0x2b8acf1c,0x2084c611,0x11aef932,0x1aa0f03f,0x7b2eb28,0xcbce225,0x65e6956e,0x6ee89c63,0x73fa8774,0x78f48e79,0x49deb15a,0x42d0b857,0x5fc2a340,0x54ccaa4d,0xf741ecda,0xfc4fe5d7,0xe15dfec0,0xea53f7cd,0xdb79c8ee,0xd077c1e3,0xcd65daf4,0xc66bd3f9,0xaf31a4b2,0xa43fadbf,0xb92db6a8,0xb223bfa5,0x83098086,0x8807898b,0x9515929c,0x9e1b9b91,0x47a17c0a,0x4caf7507,0x51bd6e10,0x5ab3671d,0x6b99583e,0x60975133,0x7d854a24,0x768b4329,0x1fd13462,0x14df3d6f,0x9cd2678,0x2c32f75,0x33e91056,0x38e7195b,0x25f5024c,0x2efb0b41,0x8c9ad761,0x8794de6c,0x9a86c57b,0x9188cc76,0xa0a2f355,0xabacfa58,0xb6bee14f,0xbdb0e842,0xd4ea9f09,0xdfe49604,0xc2f68d13,0xc9f8841e,0xf8d2bb3d,0xf3dcb230,0xeecea927,0xe5c0a02a,0x3c7a47b1,0x37744ebc,0x2a6655ab,0x21685ca6,0x10426385,0x1b4c6a88,0x65e719f,0xd507892,0x640a0fd9,0x6f0406d4,0x72161dc3,0x791814ce,0x48322bed,0x433c22e0,0x5e2e39f7,0x552030fa,0x1ec9ab7,0xae293ba,0x17f088ad,0x1cfe81a0,0x2dd4be83,0x26dab78e,0x3bc8ac99,0x30c6a594,0x599cd2df,0x5292dbd2,0x4f80c0c5,0x448ec9c8,0x75a4f6eb,0x7eaaffe6,0x63b8e4f1,0x68b6edfc,0xb10c0a67,0xba02036a,0xa710187d,0xac1e1170,0x9d342e53,0x963a275e,0x8b283c49,0x80263544,0xe97c420f,0xe2724b02,0xff605015,0xf46e5918,0xc544663b,0xce4a6f36,0xd3587421,0xd8567d2c,0x7a37a10c,0x7139a801,0x6c2bb316,0x6725ba1b,0x560f8538,0x5d018c35,0x40139722,0x4b1d9e2f,0x2247e964,0x2949e069,0x345bfb7e,0x3f55f273,0xe7fcd50,0x571c45d,0x1863df4a,0x136dd647,0xcad731dc,0xc1d938d1,0xdccb23c6,0xd7c52acb,0xe6ef15e8,0xede11ce5,0xf0f307f2,0xfbfd0eff,0x92a779b4,0x99a970b9,0x84bb6bae,0x8fb562a3,0xbe9f5d80,0xb591548d,0xa8834f9a,0xa38d4697],_0x248386[_0x13728d([0x55,0x33])]=[0x0,0xd0b0e09,0x1a161c12,0x171d121b,0x342c3824,0x3927362d,0x2e3a2436,0x23312a3f,0x68587048,0x65537e41,0x724e6c5a,0x7f456253,0x5c74486c,0x517f4665,0x4662547e,0x4b695a77,0xd0b0e090,0xddbbee99,0xcaa6fc82,0xc7adf28b,0xe49cd8b4,0xe997d6bd,0xfe8ac4a6,0xf381caaf,0xb8e890d8,0xb5e39ed1,0xa2fe8cca,0xaff582c3,0x8cc4a8fc,0x81cfa6f5,0x96d2b4ee,0x9bd9bae7,0xbb7bdb3b,0xb670d532,0xa16dc729,0xac66c920,0x8f57e31f,0x825ced16,0x9541ff0d,0x984af104,0xd323ab73,0xde28a57a,0xc935b761,0xc43eb968,0xe70f9357,0xea049d5e,0xfd198f45,0xf012814c,0x6bcb3bab,0x66c035a2,0x71dd27b9,0x7cd629b0,0x5fe7038f,0x52ec0d86,0x45f11f9d,0x48fa1194,0x3934be3,0xe9845ea,0x198557f1,0x148e59f8,0x37bf73c7,0x3ab47dce,0x2da96fd5,0x20a261dc,0x6df6ad76,0x60fda37f,0x77e0b164,0x7aebbf6d,0x59da9552,0x54d19b5b,0x43cc8940,0x4ec78749,0x5aedd3e,0x8a5d337,0x1fb8c12c,0x12b3cf25,0x3182e51a,0x3c89eb13,0x2b94f908,0x269ff701,0xbd464de6,0xb04d43ef,0xa75051f4,0xaa5b5ffd,0x896a75c2,0x84617bcb,0x937c69d0,0x9e7767d9,0xd51e3dae,0xd81533a7,0xcf0821bc,0xc2032fb5,0xe132058a,0xec390b83,0xfb241998,0xf62f1791,0xd68d764d,0xdb867844,0xcc9b6a5f,0xc1906456,0xe2a14e69,0xefaa4060,0xf8b7527b,0xf5bc5c72,0xbed50605,0xb3de080c,0xa4c31a17,0xa9c8141e,0x8af93e21,0x87f23028,0x90ef2233,0x9de42c3a,0x63d96dd,0xb3698d4,0x1c2b8acf,0x112084c6,0x3211aef9,0x3f1aa0f0,0x2807b2eb,0x250cbce2,0x6e65e695,0x636ee89c,0x7473fa87,0x7978f48e,0x5a49deb1,0x5742d0b8,0x405fc2a3,0x4d54ccaa,0xdaf741ec,0xd7fc4fe5,0xc0e15dfe,0xcdea53f7,0xeedb79c8,0xe3d077c1,0xf4cd65da,0xf9c66bd3,0xb2af31a4,0xbfa43fad,0xa8b92db6,0xa5b223bf,0x86830980,0x8b880789,0x9c951592,0x919e1b9b,0xa47a17c,0x74caf75,0x1051bd6e,0x1d5ab367,0x3e6b9958,0x33609751,0x247d854a,0x29768b43,0x621fd134,0x6f14df3d,0x7809cd26,0x7502c32f,0x5633e910,0x5b38e719,0x4c25f502,0x412efb0b,0x618c9ad7,0x6c8794de,0x7b9a86c5,0x769188cc,0x55a0a2f3,0x58abacfa,0x4fb6bee1,0x42bdb0e8,0x9d4ea9f,0x4dfe496,0x13c2f68d,0x1ec9f884,0x3df8d2bb,0x30f3dcb2,0x27eecea9,0x2ae5c0a0,0xb13c7a47,0xbc37744e,0xab2a6655,0xa621685c,0x85104263,0x881b4c6a,0x9f065e71,0x920d5078,0xd9640a0f,0xd46f0406,0xc372161d,0xce791814,0xed48322b,0xe0433c22,0xf75e2e39,0xfa552030,0xb701ec9a,0xba0ae293,0xad17f088,0xa01cfe81,0x832dd4be,0x8e26dab7,0x993bc8ac,0x9430c6a5,0xdf599cd2,0xd25292db,0xc54f80c0,0xc8448ec9,0xeb75a4f6,0xe67eaaff,0xf163b8e4,0xfc68b6ed,0x67b10c0a,0x6aba0203,0x7da71018,0x70ac1e11,0x539d342e,0x5e963a27,0x498b283c,0x44802635,0xfe97c42,0x2e2724b,0x15ff6050,0x18f46e59,0x3bc54466,0x36ce4a6f,0x21d35874,0x2cd8567d,0xc7a37a1,0x17139a8,0x166c2bb3,0x1b6725ba,0x38560f85,0x355d018c,0x22401397,0x2f4b1d9e,0x642247e9,0x692949e0,0x7e345bfb,0x733f55f2,0x500e7fcd,0x5d0571c4,0x4a1863df,0x47136dd6,0xdccad731,0xd1c1d938,0xc6dccb23,0xcbd7c52a,0xe8e6ef15,0xe5ede11c,0xf2f0f307,0xfffbfd0e,0xb492a779,0xb999a970,0xae84bb6b,0xa38fb562,0x80be9f5d,0x8db59154,0x9aa8834f,0x97a38d46],_0x248386[_0x13728d([0x55,0x34])]=[0x0,0x90d0b0e,0x121a161c,0x1b171d12,0x24342c38,0x2d392736,0x362e3a24,0x3f23312a,0x48685870,0x4165537e,0x5a724e6c,0x537f4562,0x6c5c7448,0x65517f46,0x7e466254,0x774b695a,0x90d0b0e0,0x99ddbbee,0x82caa6fc,0x8bc7adf2,0xb4e49cd8,0xbde997d6,0xa6fe8ac4,0xaff381ca,0xd8b8e890,0xd1b5e39e,0xcaa2fe8c,0xc3aff582,0xfc8cc4a8,0xf581cfa6,0xee96d2b4,0xe79bd9ba,0x3bbb7bdb,0x32b670d5,0x29a16dc7,0x20ac66c9,0x1f8f57e3,0x16825ced,0xd9541ff,0x4984af1,0x73d323ab,0x7ade28a5,0x61c935b7,0x68c43eb9,0x57e70f93,0x5eea049d,0x45fd198f,0x4cf01281,0xab6bcb3b,0xa266c035,0xb971dd27,0xb07cd629,0x8f5fe703,0x8652ec0d,0x9d45f11f,0x9448fa11,0xe303934b,0xea0e9845,0xf1198557,0xf8148e59,0xc737bf73,0xce3ab47d,0xd52da96f,0xdc20a261,0x766df6ad,0x7f60fda3,0x6477e0b1,0x6d7aebbf,0x5259da95,0x5b54d19b,0x4043cc89,0x494ec787,0x3e05aedd,0x3708a5d3,0x2c1fb8c1,0x2512b3cf,0x1a3182e5,0x133c89eb,0x82b94f9,0x1269ff7,0xe6bd464d,0xefb04d43,0xf4a75051,0xfdaa5b5f,0xc2896a75,0xcb84617b,0xd0937c69,0xd99e7767,0xaed51e3d,0xa7d81533,0xbccf0821,0xb5c2032f,0x8ae13205,0x83ec390b,0x98fb2419,0x91f62f17,0x4dd68d76,0x44db8678,0x5fcc9b6a,0x56c19064,0x69e2a14e,0x60efaa40,0x7bf8b752,0x72f5bc5c,0x5bed506,0xcb3de08,0x17a4c31a,0x1ea9c814,0x218af93e,0x2887f230,0x3390ef22,0x3a9de42c,0xdd063d96,0xd40b3698,0xcf1c2b8a,0xc6112084,0xf93211ae,0xf03f1aa0,0xeb2807b2,0xe2250cbc,0x956e65e6,0x9c636ee8,0x877473fa,0x8e7978f4,0xb15a49de,0xb85742d0,0xa3405fc2,0xaa4d54cc,0xecdaf741,0xe5d7fc4f,0xfec0e15d,0xf7cdea53,0xc8eedb79,0xc1e3d077,0xdaf4cd65,0xd3f9c66b,0xa4b2af31,0xadbfa43f,0xb6a8b92d,0xbfa5b223,0x80868309,0x898b8807,0x929c9515,0x9b919e1b,0x7c0a47a1,0x75074caf,0x6e1051bd,0x671d5ab3,0x583e6b99,0x51336097,0x4a247d85,0x4329768b,0x34621fd1,0x3d6f14df,0x267809cd,0x2f7502c3,0x105633e9,0x195b38e7,0x24c25f5,0xb412efb,0xd7618c9a,0xde6c8794,0xc57b9a86,0xcc769188,0xf355a0a2,0xfa58abac,0xe14fb6be,0xe842bdb0,0x9f09d4ea,0x9604dfe4,0x8d13c2f6,0x841ec9f8,0xbb3df8d2,0xb230f3dc,0xa927eece,0xa02ae5c0,0x47b13c7a,0x4ebc3774,0x55ab2a66,0x5ca62168,0x63851042,0x6a881b4c,0x719f065e,0x78920d50,0xfd9640a,0x6d46f04,0x1dc37216,0x14ce7918,0x2bed4832,0x22e0433c,0x39f75e2e,0x30fa5520,0x9ab701ec,0x93ba0ae2,0x88ad17f0,0x81a01cfe,0xbe832dd4,0xb78e26da,0xac993bc8,0xa59430c6,0xd2df599c,0xdbd25292,0xc0c54f80,0xc9c8448e,0xf6eb75a4,0xffe67eaa,0xe4f163b8,0xedfc68b6,0xa67b10c,0x36aba02,0x187da710,0x1170ac1e,0x2e539d34,0x275e963a,0x3c498b28,0x35448026,0x420fe97c,0x4b02e272,0x5015ff60,0x5918f46e,0x663bc544,0x6f36ce4a,0x7421d358,0x7d2cd856,0xa10c7a37,0xa8017139,0xb3166c2b,0xba1b6725,0x8538560f,0x8c355d01,0x97224013,0x9e2f4b1d,0xe9642247,0xe0692949,0xfb7e345b,0xf2733f55,0xcd500e7f,0xc45d0571,0xdf4a1863,0xd647136d,0x31dccad7,0x38d1c1d9,0x23c6dccb,0x2acbd7c5,0x15e8e6ef,0x1ce5ede1,0x7f2f0f3,0xefffbfd,0x79b492a7,0x70b999a9,0x6bae84bb,0x62a38fb5,0x5d80be9f,0x548db591,0x4f9aa883,0x4697a38d];const _0x55710d=new Uint8Array(0x10);for(let _0x5ce6fa=0xf;_0x5ce6fa>=0x0;--_0x5ce6fa)_0x55710d[_0x5ce6fa]=_0xe4ece7%0x100,_0xe4ece7=parseInt(_0xe4ece7/0x100);let _0x529910=null,_0x56006f=0x10;const _0x353838=new Uint8Array(_0x1ac84c),_0xeab853=[],_0x30817c=[];_0x535b14();for(let _0x26ca20=0x0;_0x26ca20<_0x38c2fe[_0x13728d([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x26ca20++)0x10===_0x56006f&&(_0x529910=_0x584ce3(_0x55710d),_0x56006f=0x0,_0x3f8e5a(_0x55710d)),_0x38c2fe[_0x26ca20]^=_0x529910[_0x56006f++];return _0x38c2fe;function _0xae6cdf(_0x2906d6){const _0x503009=[];for(let _0x47c7fe=0x0;_0x47c7fe<_0x2906d6[_0x13728d([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x47c7fe+=0x4)_0x503009[_0x13728d([0x70,0x75,0x73,0x68])](_0x2906d6[_0x47c7fe]<<0x18|_0x2906d6[_0x47c7fe+0x1]<<0x10|_0x2906d6[_0x47c7fe+0x2]<<0x8|_0x2906d6[_0x47c7fe+0x3]);return _0x503009;}function _0x3f8e5a(_0x4ee719){for(let _0x2c8d7d=0xf;_0x2c8d7d>=0x0;_0x2c8d7d--){if(0xff!==_0x4ee719[_0x2c8d7d]){_0x4ee719[_0x2c8d7d]++;break;}_0x4ee719[_0x2c8d7d]=0x0;}}function _0x584ce3(_0x2b7299){const _0x13cd42=_0xeab853[_0x13728d([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x1,_0x3c23d4=[0x0,0x0,0x0,0x0];let t=_0xae6cdf(_0x2b7299);for(let _0x485171=0x0;_0x485171<0x4;_0x485171++)t[_0x485171]^=_0xeab853[0x0][_0x485171];for(let _0x499fae=0x1;_0x499fae<_0x13cd42;_0x499fae++){for(let _0x36bf04=0x0;_0x36bf04<0x4;_0x36bf04++)_0x3c23d4[_0x36bf04]=_0x248386[_0x13728d([0x54,0x31])][t[_0x36bf04]>>0x18&0xff]^_0x248386[_0x13728d([0x54,0x32])][t[(_0x36bf04+0x1)%0x4]>>0x10&0xff]^_0x248386[_0x13728d([0x54,0x33])][t[(_0x36bf04+0x2)%0x4]>>0x8&0xff]^_0x248386[_0x13728d([0x54,0x34])][0xff&t[(_0x36bf04+0x3)%0x4]]^_0xeab853[_0x499fae][_0x36bf04];t=_0x3c23d4[_0x13728d([0x73,0x6c,0x69,0x63,0x65])]();}const _0xa60e7d=new Uint8Array(0x10);let _0x3c6260;for(let _0x29b156=0x0;_0x29b156<0x4;_0x29b156++)_0x3c6260=_0xeab853[_0x13cd42][_0x29b156],_0xa60e7d[0x4*_0x29b156]=0xff&(_0x248386[_0x13728d([0x53])][t[_0x29b156]>>0x18&0xff]^_0x3c6260>>0x18),_0xa60e7d[0x4*_0x29b156+0x1]=0xff&(_0x248386[_0x13728d([0x53])][t[(_0x29b156+0x1)%0x4]>>0x10&0xff]^_0x3c6260>>0x10),_0xa60e7d[0x4*_0x29b156+0x2]=0xff&(_0x248386[_0x13728d([0x53])][t[(_0x29b156+0x2)%0x4]>>0x8&0xff]^_0x3c6260>>0x8),_0xa60e7d[0x4*_0x29b156+0x3]=0xff&(_0x248386[_0x13728d([0x53])][0xff&t[(_0x29b156+0x3)%0x4]]^_0x3c6260);return _0xa60e7d;}function _0x535b14(){const _0x55dd6a=_0x248386[_0x13728d([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])][_0x353838[_0x13728d([0x6c,0x65,0x6e,0x67,0x74,0x68])]];for(let _0x20d59b=0x0;_0x20d59b<=_0x55dd6a;_0x20d59b++)_0xeab853[_0x13728d([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]),_0x30817c[_0x13728d([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]);const _0x4ebb26=0x4*(_0x55dd6a+0x1),_0x3036cd=_0x353838[_0x13728d([0x6c,0x65,0x6e,0x67,0x74,0x68])]/0x4,_0x53965d=_0xae6cdf(_0x353838);let _0x3f3ab2;for(let _0x3277e7=0x0;_0x3277e7<_0x3036cd;_0x3277e7++)_0x3f3ab2=_0x3277e7>>0x2,_0xeab853[_0x3f3ab2][_0x3277e7%0x4]=_0x53965d[_0x3277e7],_0x30817c[_0x55dd6a-_0x3f3ab2][_0x3277e7%0x4]=_0x53965d[_0x3277e7];let _0x1433c4,_0x1b0161=0x0,t=_0x3036cd;for(;t<_0x4ebb26;){_0x1433c4=_0x53965d[_0x3036cd-0x1],_0x53965d[0x0]^=_0x248386[_0x13728d([0x53])][_0x1433c4>>0x10&0xff]<<0x18^_0x248386[_0x13728d([0x53])][_0x1433c4>>0x8&0xff]<<0x10^_0x248386[_0x13728d([0x53])][0xff&_0x1433c4]<<0x8^_0x248386[_0x13728d([0x53])][_0x1433c4>>0x18&0xff]^_0x248386[_0x13728d([0x72,0x63,0x6f,0x6e])][_0x1b0161]<<0x18,_0x1b0161+=0x1;for(let _0x9d0791=0x1;_0x9d0791<_0x3036cd/0x2;_0x9d0791++)_0x53965d[_0x9d0791]^=_0x53965d[_0x9d0791-0x1];_0x1433c4=_0x53965d[_0x3036cd/0x2-0x1],_0x53965d[_0x3036cd/0x2]^=_0x248386[_0x13728d([0x53])][0xff&_0x1433c4]^_0x248386[_0x13728d([0x53])][_0x1433c4>>0x8&0xff]<<0x8^_0x248386[_0x13728d([0x53])][_0x1433c4>>0x10&0xff]<<0x10^_0x248386[_0x13728d([0x53])][_0x1433c4>>0x18&0xff]<<0x18;for(let _0x3b510f=_0x3036cd/0x2+0x1;_0x3b510f<_0x3036cd;_0x3b510f++)_0x53965d[_0x3b510f]^=_0x53965d[_0x3b510f-0x1];let _0x43d8ab,_0x1e09b7,_0x131e91=0x0;for(;_0x131e91<_0x3036cd&&t<_0x4ebb26;)_0x43d8ab=t>>0x2,_0x1e09b7=t%0x4,_0xeab853[_0x43d8ab][_0x1e09b7]=_0x53965d[_0x131e91],_0x30817c[_0x55dd6a-_0x43d8ab][_0x1e09b7]=_0x53965d[_0x131e91++],t++;}for(let _0x598f27=0x1;_0x598f27<_0x55dd6a;_0x598f27++)for(let _0x4376f8=0x0;_0x4376f8<0x4;_0x4376f8++)_0x1433c4=_0x30817c[_0x598f27][_0x4376f8],_0x30817c[_0x598f27][_0x4376f8]=_0x248386[_0x13728d([0x55,0x31])][_0x1433c4>>0x18&0xff]^_0x248386[_0x13728d([0x55,0x32])][_0x1433c4>>0x10&0xff]^_0x248386[_0x13728d([0x55,0x33])][_0x1433c4>>0x8&0xff]^_0x248386[_0x13728d([0x55,0x34])][0xff&_0x1433c4];}}function _0x13728d(_0x127f6c){return _0x127f6c['map'](_0x1bd75c=>String['fromCharCode'](_0x1bd75c))['join']('');}(_0x3c876d=>{function _0x34ac6f(){const _0x3002f6=[{[_0x13728d([0x69,0x64])]:0x1,[_0x13728d([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x13728d([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73]),[_0x13728d([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x13728d([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x13728d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x13728d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x13728d([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x13728d([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x13728d([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]:[{[_0x13728d([0x69,0x64])]:0x2,[_0x13728d([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x13728d([0x54,0x72,0x61,0x63,0x6b,0x20,0x43,0x68,0x61,0x6e,0x67,0x65,0x73]),[_0x13728d([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x13728d([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x13728d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x13728d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x13728d([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x13728d([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x46,0x6f,0x72,0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73]),[_0x13728d([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x13728d([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x13728d([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x13728d([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}}],[_0x13728d([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x13728d([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x13728d([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x13728d([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x13728d([0x69,0x64])]:0x3,[_0x13728d([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x13728d([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e]),[_0x13728d([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x13728d([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x6f,0x6f,0x6b,0x75,0x70]),[_0x13728d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x13728d([0x70,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x13728d([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x13728d([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x13728d([0x69,0x64])]:0x4,[_0x13728d([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x13728d([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x20,0x48,0x69,0x73,0x74,0x6f,0x72,0x79]),[_0x13728d([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x13728d([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x13728d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x13728d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x13728d([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x13728d([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x46,0x6f,0x72,0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x48,0x69,0x73,0x74,0x6f,0x72,0x79]),[_0x13728d([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x13728d([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x13728d([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x13728d([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x13728d([0x69,0x64])]:0x5,[_0x13728d([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x13728d([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x20,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65]),[_0x13728d([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x13728d([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65,0x55,0x49]),[_0x13728d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x13728d([0x64,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x13728d([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x13728d([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x13728d([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x13728d([0x66,0x67,0x69])]:[0xc]}},{[_0x13728d([0x69,0x64])]:0x6,[_0x13728d([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x13728d([0x46,0x6f,0x72,0x6d,0x61,0x74,0x20,0x50,0x61,0x69,0x6e,0x74,0x65,0x72]),[_0x13728d([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x13728d([0x46,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x55,0x49]),[_0x13728d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x13728d([0x66,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x13728d([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x13728d([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x13728d([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x13728d([0x66,0x67,0x69])]:[0xc]}},{[_0x13728d([0x69,0x64])]:0x7,[_0x13728d([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x13728d([0x53,0x6c,0x61,0x73,0x68,0x20,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64]),[_0x13728d([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x13728d([0x53,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x55,0x49]),[_0x13728d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x13728d([0x73,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x13728d([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x13728d([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x13728d([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x13728d([0x66,0x67,0x69])]:[0xc]}},{[_0x13728d([0x69,0x64])]:0x8,[_0x13728d([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x13728d([0x54,0x61,0x62,0x6c,0x65,0x20,0x6f,0x66,0x20,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73]),[_0x13728d([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x13728d([0x54,0x61,0x62,0x6c,0x65,0x4f,0x66,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x13728d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x13728d([0x74,0x61,0x62,0x6c,0x65,0x4f,0x66,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x13728d([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x13728d([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x13728d([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x13728d([0x66,0x67,0x69])]:[0xc]}},{[_0x13728d([0x69,0x64])]:0x9,[_0x13728d([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x13728d([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65]),[_0x13728d([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x13728d([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x55,0x49]),[_0x13728d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x13728d([0x74,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x13728d([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x13728d([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x13728d([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x13728d([0x66,0x67,0x69])]:[0xc,0xe]}},{[_0x13728d([0x69,0x64])]:0xa,[_0x13728d([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x13728d([0x50,0x61,0x73,0x74,0x65,0x20,0x66,0x72,0x6f,0x6d,0x20,0x4f,0x66,0x66,0x69,0x63,0x65,0x20,0x45,0x6e,0x68,0x61,0x6e,0x63,0x65,0x64]),[_0x13728d([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x13728d([0x50,0x61,0x73,0x74,0x65,0x46,0x72,0x6f,0x6d,0x4f,0x66,0x66,0x69,0x63,0x65,0x45,0x6e,0x68,0x61,0x6e,0x63,0x65,0x64,0x49,0x6e,0x6c,0x69,0x6e,0x65,0x72]),[_0x13728d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x13728d([0x70,0x61,0x73,0x74,0x65,0x46,0x72,0x6f,0x6d,0x4f,0x66,0x66,0x69,0x63,0x65,0x45,0x6e,0x68,0x61,0x6e,0x63,0x65,0x64,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x13728d([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x13728d([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x13728d([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x13728d([0x66,0x67,0x69])]:[0xc]}},{[_0x13728d([0x69,0x64])]:0xb,[_0x13728d([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x13728d([0x41,0x49,0x20,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74]),[_0x13728d([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x13728d([0x41,0x49,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74,0x55,0x49]),[_0x13728d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x13728d([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x13728d([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x13728d([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x13728d([0x69,0x64])]:0xc,[_0x13728d([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x13728d([0x50,0x72,0x6f,0x64,0x75,0x63,0x74,0x69,0x76,0x69,0x74,0x79,0x20,0x70,0x61,0x63,0x6b])},{[_0x13728d([0x69,0x64])]:0xd,[_0x13728d([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x13728d([0x43,0x61,0x73,0x65,0x20,0x43,0x68,0x61,0x6e,0x67,0x65]),[_0x13728d([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x13728d([0x43,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x55,0x49]),[_0x13728d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x13728d([0x63,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x13728d([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x13728d([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x13728d([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x13728d([0x66,0x67,0x69])]:[0xc]}},{[_0x13728d([0x69,0x64])]:0xe,[_0x13728d([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x13728d([0x44,0x72,0x75,0x70,0x61,0x6c,0x20,0x70,0x61,0x63,0x6b]),[_0x13728d([0x66,0x6f,0x72,0x62,0x69,0x64,0x64,0x65,0x6e,0x48,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x13728d([0x66,0x6f,0x72,0x62,0x69,0x64,0x64,0x65,0x6e,0x48,0x61,0x6e,0x64,0x6c,0x65,0x72,0x46,0x6f,0x72,0x44,0x72,0x75,0x70,0x61,0x6c])},{[_0x13728d([0x69,0x64])]:0xf,[_0x13728d([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x13728d([0x4d,0x75,0x6c,0x74,0x69,0x20,0x4c,0x65,0x76,0x65,0x6c,0x20,0x4c,0x69,0x73,0x74]),[_0x13728d([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x13728d([0x4d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x13728d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x13728d([0x6d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x13728d([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x13728d([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x13728d([0x69,0x64])]:0x10,[_0x13728d([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x13728d([0x4d,0x65,0x72,0x67,0x65,0x20,0x54,0x61,0x67,0x73]),[_0x13728d([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x13728d([0x4d,0x65,0x72,0x67,0x65,0x54,0x61,0x67,0x73,0x55,0x49]),[_0x13728d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x13728d([0x6d,0x65,0x72,0x67,0x65,0x54,0x61,0x67,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x13728d([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x13728d([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x13728d([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x13728d([0x66,0x67,0x69])]:[0xc]}}];return _0x115a83(_0x3002f6),_0x3002f6;function _0xf2d440(_0x3dd1aa){return 0x1<<_0x3dd1aa-0x1;}function _0x115a83(_0x7e3737){_0x7e3737[_0x13728d([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x312de2=>{_0x312de2[_0x13728d([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]=_0xf2d440(_0x312de2[_0x13728d([0x69,0x64])]),_0x15a14c(_0x312de2)&&_0x312de2[_0x13728d([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x115a83(_0x312de2[_0x13728d([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]);});}}function _0x15a14c(_0x21d1f6){return _0x13728d([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])in _0x21d1f6;}const _0x428595=[0x1,0x55,0x4e,0x73,0xc6,0xff,0x32,0x70,0x53,0x57,0xa1],_0x2005a4=[0x7f,0x22,0x6,0xd3,0xa7,0x56,0x92,0xc7,0x84,0xa0,0x12];function _0x44b683(_0x1e0393){const _0x44b661=[0x1d,0xdd,0xaf,0x5a,0xe7,0x85,0xef,0xf0,0x4b,0xb4];return _0xba878a(_0x1e0393,new Uint8Array([..._0x428595,..._0x44b661,..._0x2005a4]));}function _0xba878a(_0x371d6d,_0x1e4ba3){const _0x35a03c=_0x474ba6(_0x371d6d),_0x3838fb=Array[_0x13728d([0x66,0x72,0x6f,0x6d])](_0x57ced6(_0x35a03c)),_0x30e8de=_0x3838fb[_0x13728d([0x70,0x6f,0x70])](),_0x64a4fd=_0x3838fb[_0x13728d([0x70,0x6f,0x70])]();return _0x569630(_0x276ce4(_0x3838fb,_0x1e4ba3,_0x64a4fd+0x100*_0x30e8de));}function _0x474ba6(_0x1e88db){const _0x4a6d88=atob(_0x1e88db),[_0x5caedb,_0x5182f3]=_0x4a6d88[_0x13728d([0x73,0x70,0x6c,0x69,0x74])](_0x13728d([0x2d]));try{if(atob(_0x5182f3))return atob(_0x5caedb);}catch(_0xa3d1da){}return _0x4a6d88;}function _0x2b894a(_0x16819b){try{const _0x45cc22=_0x44b683(_0x16819b),_0x45083d=JSON[_0x13728d([0x70,0x61,0x72,0x73,0x65])](_0x45cc22),_0x156448=parseInt(_0x45083d[_0x13728d([0x31])]),_0x4bc828=_0x45083d[_0x13728d([0x32])]||'',_0x496ccc=parseInt(_0x45083d[_0x13728d([0x33])]),_0x572319=parseInt(_0x45083d[_0x13728d([0x34])])||0x0,_0xec7042=parseInt(_0x45083d[_0x13728d([0x35])])||0x0;return{[_0x13728d([0x70,0x72,0x6f,0x64,0x75,0x63,0x74,0x4e,0x61,0x6d,0x65])]:_0x4bc828,[_0x13728d([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])]:_0x572319,[_0x13728d([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]:_0x156448,[_0x13728d([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]:_0x496ccc,[_0x13728d([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]:_0xec7042};}catch(_0x54f2aa){return null;}}const _0x38db23=_0x34ac6f(),_0xd928c6={[_0x13728d([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])]:_0x176f5a,[_0x13728d([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x46,0x6f,0x72,0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73])]:_0x2a6b33,[_0x13728d([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x46,0x6f,0x72,0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x48,0x69,0x73,0x74,0x6f,0x72,0x79])]:_0xa74b6d},_0x46fb59=_0x3c876d[_0x13728d([0x63,0x6f,0x6e,0x73,0x74,0x72,0x75,0x63,0x74,0x6f,0x72])][_0x13728d([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])],_0x21c04e=_0x13728d([0x63,0x6f,0x6e,0x74,0x65,0x78,0x74])in _0x3c876d?_0x3c876d['context']:_0x3c876d['editor'],_0x2a5de0=_0x13728d([0x34,0x30,0x34,0x38,0x31,0x32,0x35,0x32]),_0x486bd9=_0x13728d([0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4a,0x4b,0x4c,0x4d,0x4e,0x4f,0x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5a,0x61,0x62,0x63,0x64,0x65,0x66,0x67,0x68,0x69,0x6a,0x6b,0x6c,0x6d,0x6e,0x6f,0x70,0x71,0x72,0x73,0x74,0x75,0x76,0x77,0x78,0x79,0x7a,0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39]),_0xc4863=_0x21c04e['config']['get'](_0x13728d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x29dd89=_0x38db23[_0x13728d([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x15a14c)[_0x13728d([0x66,0x69,0x6e,0x64])](_0x167dc4=>_0x167dc4[_0x13728d([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]===_0x46fb59);function _0x3f2697(_0x47a18f,_0x596307){_0xd928c6[_0x596307[_0x13728d([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]](_0x47a18f,_0x596307),_0x596307[_0x13728d([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x596307[_0x13728d([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])][_0x13728d([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5214c6=>_0x3d8768(_0x21c04e,_0x5214c6[_0x13728d([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))[_0x13728d([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x4a80a2=>_0x3f2697(_0x47a18f,_0x4a80a2));}function _0x176f5a(_0x3392f4,_0x3a5aee){_0x3f72db(_0x2acb99(_0x3392f4,_0x3a5aee),_0x3a5aee);}function _0x2a6b33(_0x27ff98,_0x3300d0){function _0xf1887f(_0x19ce3f,_0x30b3c2){try{if(_0x3d8768(_0x21c04e,_0x13728d([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))&&_0x19ce3f){const _0x467f08=_0x274565(_0x21c04e,_0x13728d([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))[_0x13728d([0x5f,0x65,0x78,0x65,0x63,0x75,0x74,0x65,0x53,0x75,0x67,0x67,0x65,0x73,0x74,0x69,0x6f,0x6e])];if(parseInt(_0x467f08)/0x2>_0x19ce3f[_0x13728d([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])])return _0x4a64eb(_0x30b3c2[_0x13728d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x13728d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}return _0x2acb99(_0x19ce3f,_0x30b3c2);}catch(_0x3073f6){return _0x4a64eb(_0x30b3c2[_0x13728d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x13728d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}_0x3f72db(_0xf1887f(_0x27ff98,_0x3300d0),_0x3300d0);}function _0xa74b6d(_0x99035a,_0x247c8f){const _0x11d792=_0x2005a4[0x0]*_0x428595[0x1],_0xb2584b=_0x2005a4[0x0]*_0x428595[0x2],_0x8cf2f3=_0x2005a4[0x2]*_0x428595[0x2];_0x3d8768(_0x21c04e,_0x13728d([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x274565(_0x21c04e,_0x13728d([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x13728d([0x73,0x74,0x61,0x74,0x65])]==_0x13728d([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&(window[_0x3acdc1()]=_0x8cf2f3);function _0xbd7a32(_0x2ced8c,_0x5d4e60){try{return _0x117b4e()?_0x4a64eb(_0x5d4e60[_0x13728d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x13728d([0x56,0x61,0x6c,0x69,0x64])):_0x2acb99(_0x2ced8c,_0x5d4e60);}catch(_0x1fadab){return _0x4a64eb(_0x5d4e60[_0x13728d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x13728d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x59734e(_0x3adc10,_0x135e36){const _0x586444=0x7;if(_0x3adc10==_0x135e36[_0x13728d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x13728d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]))_0x281f18();else{if(_0x3adc10==_0x135e36[_0x13728d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x13728d([0x54,0x72,0x69,0x61,0x6c])){const _0x5d8910=_0x120770();_0x5d8910&&_0x5d576b(_0x5d8910,_0x135e36[_0x13728d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);const _0x19c6e6=_0x132b5a();window[_0x13728d([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x5d576b(_0x13728d([0x74,0x69,0x6d,0x65]),_0x135e36[_0x13728d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);},_0x19c6e6);const _0x5d93fb=_0x274565(_0x21c04e,_0x13728d([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x13728d([0x5f,0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73])];_0x5d93fb[_0x13728d([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x586444?_0x5d576b(_0x13728d([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x135e36[_0x13728d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]):_0x5d93fb['on'](_0x13728d([0x61,0x64,0x64]),()=>{_0x5d93fb[_0x13728d([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x586444&&_0x5d576b(_0x13728d([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x135e36[_0x13728d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);});}}}function _0x120770(){if(!_0x3d8768(_0x21c04e,_0x13728d([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x48aecf in window)if(Number['isNaN'](Number(_0x48aecf))){if(window[_0x48aecf]===_0x11d792)return _0x13728d([0x74,0x69,0x6d,0x65]);if(window[_0x48aecf]===_0xb2584b)return _0x13728d([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]);}return!0x1;}function _0x117b4e(){if(!_0x3d8768(_0x21c04e,_0x13728d([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x33502b in window)if(Number['isNaN'](Number(_0x33502b))&&window[_0x33502b]===_0x8cf2f3)return!0x0;return!0x1;}function _0x5d576b(_0x45cfc2,_0x2dc06a){_0x281f18(),_0x4a64eb(_0x2dc06a+_0x13728d([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a])+_0x45cfc2),window[_0x3acdc1()]=_0x45cfc2===_0x13728d([0x74,0x69,0x6d,0x65])?_0x11d792:_0xb2584b;}function _0x132b5a(){let _0x1bdd92=_0x2005a4[0x6]*_0x428595[0x8]*_0x428595[0x6];return _0x3d8768(_0x21c04e,_0x13728d([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x1bdd92/=0xa),_0x1bdd92;}function _0x281f18(){const _0x5a8fe5=_0x21c04e;function _0x1519d8(){_0x3d8768(_0x5a8fe5,_0x13728d([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&(_0x274565(_0x5a8fe5,_0x13728d([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x13728d([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x13728d([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x274565(_0x5a8fe5,_0x13728d([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x13728d([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x274565(_0x5a8fe5,_0x13728d([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x13728d([0x75,0x70,0x64,0x61,0x74,0x65])]=_0x581367,_0x274565(_0x5a8fe5,_0x13728d([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x13728d([0x73,0x61,0x76,0x65,0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e])]=_0x581367,_0x5a8fe5[_0x13728d([0x6d,0x6f,0x64,0x65,0x6c])][_0x13728d([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x581367,_0x5a8fe5[_0x13728d([0x6d,0x6f,0x64,0x65,0x6c])][_0x13728d([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x581367,_0x5a8fe5[_0x13728d([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x13728d([0x6d,0x6f,0x64,0x65,0x6c]))),_0x3d8768(_0x5a8fe5,_0x13728d([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x274565(_0x5a8fe5,_0x13728d([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x13728d([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x13728d([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x274565(_0x5a8fe5,_0x13728d([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x13728d([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x274565(_0x5a8fe5,_0x13728d([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x13728d([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])]=_0x581367,_0x274565(_0x5a8fe5,_0x13728d([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x13728d([0x5f,0x67,0x65,0x74,0x44,0x69,0x66,0x66])]=_0x581367);}_0x5a8fe5[_0x13728d([0x73,0x74,0x61,0x74,0x65])]==_0x13728d([0x72,0x65,0x61,0x64,0x79])?_0x1519d8():_0x5a8fe5[_0x13728d([0x6f,0x6e,0x63,0x65])](_0x13728d([0x72,0x65,0x61,0x64,0x79]),()=>{if(_0x3d8768(_0x5a8fe5,_0x13728d([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&_0x1519d8(),_0x3d8768(_0x5a8fe5,_0x13728d([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))){const _0x413063=_0x274565(_0x5a8fe5,_0x13728d([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79])),_0x4291f2=_0x413063['getRevision'](0x0),_0x25052c=_0x413063['getEarlierVisibleRevision'](_0x4291f2[_0x13728d([0x69,0x64])]);_0x274565(_0x5a8fe5,_0x13728d([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x13728d([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])](_0x4291f2[_0x13728d([0x69,0x64])],_0x25052c?_0x25052c[_0x13728d([0x69,0x64])]:null,0x1)['then'](()=>_0x1519d8());}});}_0x59734e(_0xbd7a32(_0x99035a,_0x247c8f),_0x247c8f);}function _0x2acb99(_0x26b95a,_0x55fcfd){try{return _0x6eec7f(_0x55fcfd)?_0x4a64eb(_0x55fcfd[_0x13728d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x13728d([0x56,0x61,0x6c,0x69,0x64])):_0x26b95a&&_0x5a9224(_0x26b95a[_0x13728d([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])],_0x55fcfd)?_0x26b95a[_0x13728d([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]&&!window[_0x13728d([0x6f,0x70,0x65,0x6e])][_0x13728d([0x63,0x6c,0x6f,0x73,0x65,0x64])]||parseInt(_0x2a5de0)/0x2>_0x26b95a[_0x13728d([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]?_0x4a64eb(_0x55fcfd[_0x13728d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x13728d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])):_0x26b95a[_0x13728d([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]?_0x4a64eb(_0x55fcfd[_0x13728d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x13728d([0x54,0x72,0x69,0x61,0x6c])):_0x4a64eb(_0x55fcfd[_0x13728d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x13728d([0x56,0x61,0x6c,0x69,0x64])):_0x4a64eb(_0x55fcfd[_0x13728d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x13728d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}catch(_0x1e3741){return _0x4a64eb(_0x55fcfd[_0x13728d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x13728d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x3f72db(_0x304d86,_0x9749cb){if(_0x21c04e instanceof _0x40b8b9){const _0x5e9bb6=_0x21c04e;_0x304d86==_0x9749cb[_0x13728d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x13728d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x288ff7(_0x5e9bb6):_0x304d86==_0x9749cb[_0x13728d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x13728d([0x54,0x72,0x69,0x61,0x6c])&&window[_0x13728d([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x288ff7(_0x5e9bb6),_0x4a64eb(_0x9749cb[_0x13728d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x13728d([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65]));},_0x2005a4[0x6]*_0x428595[0x8]*_0x428595[0x6]),_0x5e9bb6[_0x13728d([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])][_0x13728d([0x6f,0x6e])](_0x13728d([0x61,0x64,0x64]),(_0x494aab,_0x5251ef)=>{_0x304d86!=_0x9749cb[_0x13728d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x13728d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])&&_0x304d86!=_0x9749cb[_0x13728d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x13728d([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65])&&_0x304d86!=_0x9749cb[_0x13728d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x13728d([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])||_0x111819(_0x5251ef);});}else{const _0x4359e2=_0x21c04e;_0x304d86==_0x9749cb[_0x13728d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x13728d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x111819(_0x4359e2):_0x304d86==_0x9749cb[_0x13728d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x13728d([0x54,0x72,0x69,0x61,0x6c])&&_0x4359e2[_0x13728d([0x6f,0x6e])](_0x13728d([0x72,0x65,0x61,0x64,0x79]),()=>{let _0x7a98e0=0x0;_0x4359e2[_0x13728d([0x6d,0x6f,0x64,0x65,0x6c])][_0x13728d([0x6f,0x6e])](_0x13728d([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x4e7b73,_0x1dc51e)=>{_0x1dc51e[0x0][_0x13728d([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x7a98e0++,0x1f8===_0x7a98e0&&(_0x111819(_0x4359e2),_0x4a64eb(_0x9749cb[_0x13728d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x13728d([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])),_0x4e7b73[_0x13728d([0x6f,0x66,0x66])]());},{'priority':_0x13728d([0x68,0x69,0x67,0x68,0x65,0x73,0x74])});});}}function _0x4a64eb(_0x541bdf){const _0x266870=_0x3acdc1();return _0x21c04e[_0x266870]=_0x541bdf,_0x541bdf;}function _0x3acdc1(){const _0x32c706=String(window[_0x13728d([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x13728d([0x6e,0x6f,0x77])]())[_0x13728d([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x13728d([0x2e]),'');let _0x4b610b='';for(let _0x5c9dcc=0x0;_0x5c9dcc<_0x32c706[_0x13728d([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5c9dcc+=0x2){let _0x42140c=parseInt(_0x32c706[_0x13728d([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5c9dcc,_0x5c9dcc+0x2));_0x42140c>=_0x486bd9[_0x13728d([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x42140c-=_0x486bd9[_0x13728d([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x4b610b+=_0x486bd9[_0x42140c];}return _0x4b610b;}function _0x288ff7(_0x25ac62){for(const _0x5787b2 of _0x25ac62[_0x13728d([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])])_0x111819(_0x5787b2);_0x274565(_0x25ac62,_0x13728d([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x13728d([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])](!0x0),_0x274565(_0x25ac62,_0x13728d([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x13728d([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])]=_0x581367;}function _0x111819(_0x546cc1){function _0x155919(){_0x546cc1[_0x13728d([0x6d,0x6f,0x64,0x65,0x6c])][_0x13728d([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x581367,_0x546cc1[_0x13728d([0x6d,0x6f,0x64,0x65,0x6c])][_0x13728d([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x581367,_0x546cc1[_0x13728d([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x13728d([0x6d,0x6f,0x64,0x65,0x6c]));}_0x546cc1[_0x13728d([0x73,0x74,0x61,0x74,0x65])]==_0x13728d([0x72,0x65,0x61,0x64,0x79])?_0x155919():_0x546cc1[_0x13728d([0x6f,0x6e,0x63,0x65])](_0x13728d([0x72,0x65,0x61,0x64,0x79]),()=>_0x155919());}function _0x581367(){return null;}function _0x5a9224(_0x19bda4,_0x198ddd){const _0xb4a9c2=!!(_0x19bda4&_0x198ddd[_0x13728d([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]),_0xc96aaa=_0x5ea943(_0x19bda4,_0x198ddd);return _0xb4a9c2||_0xc96aaa;}function _0x5ea943(_0x71efbb,_0x17ae0b){const _0x269717=(_0x17ae0b[_0x13728d([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{})[_0x13728d([0x66,0x67,0x69])]||null;return!!_0x269717&&_0x38db23[_0x13728d([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x45ff2c=>_0x269717[_0x13728d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x45ff2c[_0x13728d([0x69,0x64])]))[_0x13728d([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x57bb84=>!_0x24ad79(_0x57bb84))[_0x13728d([0x73,0x6f,0x6d,0x65])](_0x308cb4=>!!(_0x71efbb&_0x308cb4[_0x13728d([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]));}function _0x24ad79(_0x52d309){const _0x1b48c6={[_0x13728d([0x66,0x6f,0x72,0x62,0x69,0x64,0x64,0x65,0x6e,0x48,0x61,0x6e,0x64,0x6c,0x65,0x72,0x46,0x6f,0x72,0x44,0x72,0x75,0x70,0x61,0x6c])]:_0x3cdf66};return!!_0x52d309['forbiddenHandler']&&_0x1b48c6[_0x52d309['forbiddenHandler']]();}function _0x3cdf66(){return!window[_0x13728d([0x44,0x72,0x75,0x70,0x61,0x6c])]||!_0x3d8768(_0x21c04e,_0x13728d([0x64,0x72,0x75,0x70,0x61,0x6c,0x50,0x6f,0x77,0x65,0x72,0x65,0x64,0x42,0x79]));}function _0x6eec7f(_0x41061a){if(!_0x3d8768(_0x21c04e,_0x41061a[_0x13728d([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))return!0x0;const _0x4f78fd=_0x41061a[_0x13728d([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{},_0x53bde2=_0x4f78fd[_0x13728d([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]||!0x1,_0x29eead=_0x4f78fd[_0x13728d([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]||!0x1,_0x58ccf4=_0x4f78fd[_0x13728d([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]||!0x1;if(_0x3d8768(_0x21c04e,_0x13728d([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x274565(_0x21c04e,_0x13728d([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x13728d([0x73,0x74,0x61,0x74,0x65])]==_0x13728d([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&_0x53bde2)return!0x0;if(_0x3d8768(_0x21c04e,_0x13728d([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))&&_0x274565(_0x21c04e,_0x13728d([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))[_0x13728d([0x72,0x65,0x73,0x75,0x6c,0x74])]==_0x13728d([0x65,0x6e,0x64])&&_0x29eead)return!0x0;return!(!_0x3d8768(_0x21c04e,_0x13728d([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72,0x49,0x6e,0x74,0x65,0x67,0x72,0x61,0x74,0x69,0x6f,0x6e]))||_0x274565(_0x21c04e,_0x13728d([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72,0x49,0x6e,0x74,0x65,0x67,0x72,0x61,0x74,0x69,0x6f,0x6e]))[_0x13728d([0x72,0x65,0x73,0x75,0x6c,0x74])]!=_0x13728d([0x65,0x6e,0x64])||!_0x58ccf4);}function _0x3d8768(_0x2c7ad5,_0x18304f){return _0x2c7ad5[_0x13728d([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x13728d([0x68,0x61,0x73])](_0x18304f);}function _0x274565(_0x27dd9c,_0x318d34){return _0x27dd9c[_0x13728d([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x13728d([0x67,0x65,0x74])](_0x318d34);}function _0x569630(_0x1db856){let _0x549f65='';for(const _0xf626f9 of _0x1db856)_0x549f65+=String[_0x13728d([0x66,0x72,0x6f,0x6d,0x43,0x68,0x61,0x72,0x43,0x6f,0x64,0x65])](_0xf626f9);return _0x549f65;}function _0x57ced6(_0x2c13e3){const _0x33505b=new Uint8Array(_0x2c13e3[_0x13728d([0x6c,0x65,0x6e,0x67,0x74,0x68])]);for(let _0x300e9d=0x0;_0x300e9d<_0x2c13e3[_0x13728d([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x300e9d++)_0x33505b[_0x300e9d]=_0x2c13e3[_0x13728d([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x300e9d);return _0x33505b;}_0x29dd89&&_0x3f2697(_0x2b894a(_0xc4863),_0x29dd89);})(_0x4ff316);}(this);}['createRevision'](_0x570801){const _0x216fd5=this['editor']['plugins']['get']('Users');return new a({'id':_0x570801['id'],'name':_0x570801['name'],'creator':_0x570801['creatorId']?_0x216fd5['getUser'](_0x570801['creatorId']):null,'diffData':_0x570801['diffData']||_0x570801['data'],'authors':_0x570801['authorsIds']['map'](_0x40cd0b=>_0x216fd5['getUser'](_0x40cd0b)),'createdAt':new Date(_0x570801['createdAt']),'attributes':_0x570801['attributes'],'fromVersion':_0x570801['fromVersion'],'toVersion':_0x570801['toVersion']});}['addRevision'](_0xfb14c8,_0x183bb6=0x0){this['_revisions']['add'](_0xfb14c8,_0x183bb6);}['getRevision'](_0x21d37e){return this['_revisions']['get'](_0x21d37e);}['getRevisions'](_0x1779f5={'toJSON':!0x1}){const _0x3dd845=Array['from'](this['_revisions']);return _0x3dd845['reverse'](),_0x1779f5['toJSON']?_0x3dd845['map'](_0x8458b8=>_0x8458b8['toJSON']()):_0x3dd845;}['getIndex'](_0x3a5cc5){return this['_revisions']['getIndex'](_0x3a5cc5);}['getEarlierVisibleRevision'](_0x5315dd){const [,_0x2f4480]=this['getRevisionsIterator'](_0x5315dd,{'direction':'earlier'});return _0x2f4480;}['getLaterVisibleRevision'](_0x22d5bb){const [,_0x251dc0]=this['getRevisionsIterator'](_0x22d5bb,{'direction':'later'});return _0x251dc0;}['getRevisionsInDiff'](_0x4b1299){const _0x59e3e1=[];for(const _0xcec89c of this['getRevisionsIterator'](_0x4b1299['newRevisionId']))if(_0x59e3e1['push'](_0xcec89c),_0xcec89c['id']===_0x4b1299['oldRevisionId'])break;return _0x59e3e1;}*['getRevisionsIterator'](_0x45f336,{direction:_0x93d29='earlier',filter:_0x57da22=_0x11a4aa=>!0x0}={}){const _0x4c47e9='earlier'===_0x93d29?0x1:-0x1;let _0x5d791a=this['_revisions']['get'](_0x45f336),_0x3df9f4=this['getIndex'](_0x5d791a);for(yield _0x5d791a;_0x5d791a;){if(_0x3df9f4+=_0x4c47e9,_0x5d791a=this['getRevision'](_0x3df9f4),!_0x5d791a)return;_0x57da22(_0x5d791a)&&(yield _0x5d791a);}}}function y(_0x42a54b,_0x1ece4d,_0x307c6e){const t=_0x42a54b['t'];switch(_0x1ece4d){case'Revision\x20history':return t('Revision\x20history');case'Open\x20revision\x20history':return t('Open\x20revision\x20history');case'Restored':return t('Restored');case'Empty\x20document':return t('Empty\x20document');case'Initial\x20revision':return t('Initial\x20revision');case'Suggested\x20by':return t('Suggested\x20by');case'Added\x20by':return t('Added\x20by');case'Removed\x20by':return t('Removed\x20by');case'Show\x20more\x20items':return t('Show\x20more\x20items');case'Compare\x20against\x20selected':return t('Compare\x20against\x20selected');case'Name\x20this\x20revision':return t('Name\x20this\x20revision');case'Restore\x20this\x20revision':return t('Restore\x20this\x20revision');case'Back\x20to\x20editing':return t('Back\x20to\x20editing');case'Loading...':return t('Loading...');case'No\x20changes':return t('No\x20changes');case'NUMBER_OF_CHANGES':return t({'string':'%0\x20change','plural':'%0\x20changes','id':'NUMBER_OF_CHANGES'},_0x307c6e);case'X_OF_Y_CHANGES':return t({'string':'%0\x20of\x20%1','id':'X_OF_Y_CHANGES'},_0x307c6e);case'Show\x20previous\x20change':return t('Show\x20previous\x20change');case'Show\x20next\x20change':return t('Show\x20next\x20change');case'EDIT_X_OF_Y_REVISIONS':return t({'string':'Edit','id':'EDIT_X_OF_Y_REVISIONS'});case'Total':return t('Total');case'Revision\x20creator':return t('Revision\x20creator');case'Revision\x20author':return t('Revision\x20author');case'Revision\x20name':return t('Revision\x20name');case'Save\x20current\x20revision':return t('Save\x20current\x20revision');case'Save':return t('Save');case'Cancel':return t('Cancel');case'Name\x20of\x20the\x20revision':return t('Name\x20of\x20the\x20revision');case'optional':return t('optional');case'PENDING_ACTION_REVISION_HISTORY':return t({'string':'Unsaved\x20change\x20in\x20revision\x20history.','id':'PENDING_ACTION_REVISION_HISTORY'});case'The\x20revision\x20name\x20cannot\x20be\x20empty.':return t('The\x20revision\x20name\x20cannot\x20be\x20empty.');case'Enter\x20the\x20revision\x20name':return t('Enter\x20the\x20revision\x20name');default:return'';}}const T={'c':_0x55311b,'a':_0x4111e5,'e':_0x5d72ca,'r':_0x39b518,'u':_0x203e4f};class l extends _0x2b7243{['adapter'];['currentRevision'];['repository'];['_revisionDataBuilder'];['_source'];['_initialRevisionId'];['_bufferedUpdates'];['_pendingAction'];['_continueCurrentRevision'];['_startingVersion'];['_loadedStateData'];static get['pluginName'](){return'RevisionTracker';}static get['requires'](){return[_0x137b16,A,_0x26f42f];}constructor(_0x5ee4c9){super(_0x5ee4c9),this['adapter']=null,this['currentRevision']=null,this['_revisionDataBuilder']=new J(this['editor']),this['_initialRevisionId']=this['editor']['config']['get']('collaboration.channelId')||'initial',this['_bufferedUpdates']=new Map(),this['_loadedStateData']=null;const _0x4b275b=_0x39bddc();this['_source']={'history':this['editor']['model']['document']['history'],'getLatestVersion':()=>Promise['resolve'](this['editor']['model']['document']['version']),'getCurrentRevisionId':()=>_0x4b275b},this['set']('isReady',!0x1),this['set']('isEnabled',!0x0),this['set']('_isPendingUpdate',!0x1),this['editor']['config']['define']('revisionHistory.resumeUnsavedRevision',!0x0),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'revision'});}['init'](){this['repository']=this['editor']['plugins']['get']('RevisionsRepository'),this['_setConversion'](),this['editor']['data']['on']('ready',()=>{const _0x304c4b=this['repository']['getRevision'](0x0),_0x258866=_0x304c4b&&null===_0x304c4b['creator']?_0x304c4b:null;if(this['_continueCurrentRevision']=!!_0x258866&&this['editor']['config']['get']('revisionHistory.resumeUnsavedRevision'),this['editor']['plugins']['has']('RealTimeCollaborationClient')){const _0x56e9ab=this['_source']['getCurrentRevisionId'](),_0x1ddac8=this['repository']['getRevision'](_0x56e9ab);if(_0x1ddac8)this['_startingVersion']=_0x1ddac8['fromVersion'],this['_continueCurrentRevision']=!0x1;else{const _0x950e36=this['_source']['history']['_operations']['find'](_0x32fc7c=>!_0x32fc7c['_isInit']),_0x11d755=_0x950e36?_0x950e36['baseVersion']:this['_source']['history']['version'];_0x304c4b?(_0x304c4b['toVersion']<_0x11d755&&_0x304c4b['_update']({'toVersion':_0x11d755}),this['_continueCurrentRevision']?(this['_source']['getCurrentRevisionId']=()=>_0x258866['id'],this['_startingVersion']=_0x258866['fromVersion']):(this['_startingVersion']=_0x304c4b['toVersion'],this['_continueCurrentRevision']=!0x1)):(this['_startingVersion']=_0x11d755,this['_continueCurrentRevision']=!0x1);}}else _0x258866&&(this['editor']['model']['document']['history']['version']=Math['max'](_0x258866['toVersion'],this['editor']['model']['document']['history']['version']),_0x258866['fromVersion']===_0x258866['toVersion']?(0x0!==_0x258866['fromVersion']&&(this['_source']['getCurrentRevisionId']=()=>_0x258866['id']),this['_continueCurrentRevision']=!0x1):this['_continueCurrentRevision']&&(this['_source']['getCurrentRevisionId']=()=>_0x258866['id'],this['_startingVersion']=_0x258866['fromVersion'])),this['_continueCurrentRevision']||(this['_startingVersion']=this['editor']['model']['document']['version']);this['_revisionDataBuilder']['init'](this['_source']['history']),this['_createInitialRevision'](this['_startingVersion']),this['_createCurrentRevision'](this['_startingVersion']),this['adapter']&&this['sendBufferedUpdates']();}),this['bind']('isReady')['to'](this,'_isPendingUpdate',_0x2da5f8=>!_0x2da5f8);}async['afterInit'](){if(this['repository']['length']>0x0){const _0x3d87c7=this['repository']['getRevision'](0x0),_0x5b2802=await this['getRevisionDocumentData'](_0x3d87c7),_0x32b534=await this['getRevisionRootsAttributes'](_0x3d87c7);this['_replaceEditorDataWithRevisionData'](_0x5b2802,_0x32b534);}}['setSource'](_0x4bdbde){this['_source']=_0x4bdbde;}async['update'](){const _0x599ae4=await this['_source']['getLatestVersion']();if(_0x599ae4>this['currentRevision']['toVersion']){await this['_loadState']();const _0x3bff14=this['buildRevisionData']({'revision':this['currentRevision'],'to':_0x599ae4});_0x3bff14['authors']=_0x3bff14['authorsIds']['map'](_0x4476b1=>this['editor']['plugins']['get']('Users')['getUser'](_0x4476b1)),this['currentRevision']['_update'](_0x3bff14);}}async['_loadState'](){this['_continueCurrentRevision']&&!this['_loadedStateData']&&(await this['_loadRevisionData'](this['currentRevision']),this['_revisionDataBuilder']['loadState'](this['currentRevision']),this['_loadedStateData']={'fromVersion':this['currentRevision']['fromVersion'],'authors':this['currentRevision']['authors']['slice']()});}async['saveRevision'](_0x475e39={},_0x5dcc62=null){const _0x4cdaa7=[];await this['_loadState'](),this['_continueCurrentRevision']=!0x1,_0x5dcc62>this['currentRevision']['toVersion']&&(_0x5dcc62=null),null===_0x5dcc62&&(_0x5dcc62=await this['_source']['getLatestVersion']());const _0x2a6c8a=this['_getFromVersion'](_0x5dcc62),_0x20801d=this['buildRevisionData']({'from':_0x2a6c8a,'to':_0x5dcc62});if(this['currentRevision']['toVersion']<_0x5dcc62){const _0x17229a=this['buildRevisionData']({'revision':this['currentRevision'],'from':_0x5dcc62,'to':_0x5dcc62});_0x17229a['authors']=[],_0x17229a['authorsIds']=[],_0x17229a['id']=this['currentRevision']['id'],this['currentRevision']['_update'](_0x17229a,!0x0),delete _0x17229a['authors'],_0x4cdaa7['push'](_0x17229a);}_0x475e39['creatorId']=this['editor']['plugins']['get']('Users')['me']['id'],_0x475e39['name']=_0x475e39['name']||null,_0x475e39['id']=_0x475e39['id']||_0x39bddc(),_0x475e39={..._0x475e39,..._0x20801d};const _0x4bd39a=this['addRevisionData'](_0x475e39);_0x4cdaa7['push'](_0x475e39);const _0x1ff26e=this['repository']['getIndex'](_0x4bd39a);if(0x0!==_0x1ff26e){const _0x40583b=this['repository']['getRevision'](_0x1ff26e-0x1);if(_0x40583b['fromVersion']!==_0x5dcc62){const _0x13efb8=this['_revisionDataBuilder']['getData'](_0x5dcc62,_0x40583b['toVersion']),_0x151cd7={'id':_0x40583b['id'],'diffData':_0x13efb8['diffData'],'authorsIds':_0x13efb8['authorsIds'],'authors':_0x13efb8['authorsIds']['map'](_0x39061a=>this['editor']['plugins']['get']('Users')['getUser'](_0x39061a)),'fromVersion':_0x5dcc62};_0x40583b===this['currentRevision']&&(_0x151cd7['createdAt']=new Date(_0x475e39['createdAt']['getTime']()+0xa)),_0x40583b['_update'](_0x151cd7,!0x0),delete _0x151cd7['authors'],_0x4cdaa7['push'](_0x151cd7);}}if(this['adapter']){for(const _0x4a160b of _0x4cdaa7)this['_bufferUpdate'](_0x4a160b['id'],_0x4a160b,!0x0);this['sendBufferedUpdates']();}return _0x4bd39a;}['addRevisionData'](_0x22f323){const _0x4ed4eb=this['repository']['createRevision'](_0x22f323);return this['adapter']&&_0x4ed4eb['on']('_update',(_0x5ea4bd,_0x45e3a9,_0x29bda9)=>{_0x29bda9||(this['_bufferUpdate'](_0x45e3a9['id'],_0x45e3a9,!0x0),this['sendBufferedUpdates']());}),this['repository']['addRevision'](_0x4ed4eb,this['_findInsertionIndex'](_0x4ed4eb)),_0x4ed4eb;}async['getRevisionDocumentData'](_0x5c29e0){await this['_loadRevisionData'](_0x5c29e0);const _0x961512={};for(const _0xd4adec in _0x5c29e0['diffData']){if(_0x5c29e0['diffData'][_0xd4adec]['attachChange']&&!_0x5c29e0['diffData'][_0xd4adec]['attachChange']['isAttached'])continue;const _0xd7d108=this['_removeRevisionMarkers'](JSON['parse'](_0x5c29e0['diffData'][_0xd4adec]['insertions'])),_0x438164=this['editor']['editing']['view']['document'],_0x17c964=new _0x460862(_0x438164,_0xd7d108['map'](_0x3c373f=>B(_0x3c373f,this['editor'])));this['editor']['data']['processor']['useFillerType']('marked'),_0x961512[_0xd4adec]=this['editor']['data']['processor']['toData'](_0x17c964),this['editor']['data']['processor']['useFillerType']('default');}return _0x961512;}async['getRevisionRootsAttributes'](_0x19d67b){await this['_loadRevisionData'](_0x19d67b);const _0x1b26c4={};for(const _0x2b1ae4 in _0x19d67b['diffData'])_0x19d67b['diffData'][_0x2b1ae4]['attachChange']&&!_0x19d67b['diffData'][_0x2b1ae4]['attachChange']['isAttached']||(_0x1b26c4[_0x2b1ae4]=_0x19d67b['diffData'][_0x2b1ae4]['attributesAfter']||{});return _0x1b26c4;}['sendBufferedUpdates'](){if(0x0===this['_bufferedUpdates']['size'])return;if(this['_isPendingUpdate'])return;let _0x96b0dc=Array['from'](this['_bufferedUpdates']['values']());this['_bufferedUpdates']['clear']();for(let _0x507dd0=0x0;_0x507dd0<_0x96b0dc['length'];_0x507dd0++){const _0x1cfa03=_0x96b0dc[_0x507dd0];let _0x69ee7d=!0x1;for(const _0x49b562 of Object['keys'](_0x1cfa03))void 0x0===_0x1cfa03[_0x49b562]?delete _0x1cfa03[_0x49b562]:'id'!==_0x49b562&&(_0x69ee7d=!0x0);_0x69ee7d||(_0x96b0dc[_0x507dd0]=null);}if(_0x96b0dc=_0x96b0dc['filter'](_0x31afa0=>null!==_0x31afa0),!_0x96b0dc['length'])return;for(let _0x14c346=0x0;_0x14c346<_0x96b0dc['length'];_0x14c346++){const _0x23f1a9=_0x96b0dc[_0x14c346];void 0x0!==_0x23f1a9['fromVersion']&&void 0x0===_0x23f1a9['toVersion']&&(_0x23f1a9['toVersion']=this['repository']['getRevision'](_0x23f1a9['id'])['toVersion']),void 0x0!==_0x23f1a9['toVersion']&&void 0x0===_0x23f1a9['fromVersion']&&(_0x23f1a9['fromVersion']=this['repository']['getRevision'](_0x23f1a9['id'])['fromVersion']);}const _0x74c209=this['editor']['config']['get']('collaboration.channelId');this['_isPendingUpdate']=!0x0,this['_addPendingAction'](),this['adapter']['updateRevisions'](_0x96b0dc,_0x74c209)['finally'](()=>{this['_isPendingUpdate']=!0x1;})['then'](_0x65e317=>{if(_0x65e317){for(const _0x5d9d48 of _0x65e317)this['setRevisionData']({'id':_0x5d9d48['id'],'createdAt':_0x5d9d48['createdAt']});}this['_removePendingAction'](),this['sendBufferedUpdates']();});}['_replaceEditorDataWithRevisionData'](_0x5b5eb6,_0xe4ec39){let _0x459e2a=this['editor']['config']['get']('initialData'),_0xf93415=this['editor']['config']['get']('rootsAttributes');if(void 0x0===_0x459e2a){_0x459e2a={};for(const _0x5c4fc7 of this['editor']['model']['document']['getRootNames']())_0x459e2a[_0x5c4fc7]='';}if('string'==typeof _0x459e2a&&(_0x459e2a={'main':_0x459e2a}),void 0x0===_0xf93415){_0xf93415={};for(const _0x4da1da of this['editor']['model']['document']['getRootNames']())_0xf93415[_0x4da1da]={};}let _0x1bc685=!0x1;const _0x8e94b2=Object['keys'](_0x459e2a),_0x29f525=Object['keys'](_0x5b5eb6);for(const _0x1881ff of _0x8e94b2){if(_0x459e2a[_0x1881ff]!==_0x5b5eb6[_0x1881ff]&&''!==_0x459e2a[_0x1881ff]['trim']()){_0x1bc685=!0x0;break;}if(!_0x4998da(_0xf93415[_0x1881ff],_0xe4ec39[_0x1881ff])&&Object['keys'](_0xf93415[_0x1881ff])['length']>0x0){_0x1bc685=!0x0;break;}}_0x1bc685||(_0x1bc685=_0x29f525['some'](_0xa30ae5=>!this['editor']['model']['document']['getRoot'](_0xa30ae5))),_0x1bc685&&_0xf83cc0('editor-initial-data-replaced-with-revision-data',{'editorData':_0x459e2a,'editorRootsAttributes':_0xf93415,'revisionData':_0x5b5eb6,'revisionRootsAttributes':_0xe4ec39}),this['editor']['config']['set']('initialData',_0x5b5eb6),this['editor']['config']['set']('rootsAttributes',_0xe4ec39);}['_addPendingAction'](){if(!this['_pendingAction']){const _0x287060=this['editor']['plugins']['get']('PendingActions');this['_pendingAction']=_0x287060['add'](y(this['editor']['locale'],'PENDING_ACTION_REVISION_HISTORY'));}}['_removePendingAction'](){this['_pendingAction']&&(this['editor']['plugins']['get']('PendingActions')['remove'](this['_pendingAction']),this['_pendingAction']=null);}['_findInsertionIndex'](_0x3a7901){const _0x1ab5c2=this['repository']['getRevisions']();_0x1ab5c2['reverse']();let _0x28a5ed=0x0;for(;_0x28a5ed<_0x1ab5c2['length'];){const _0x4cb941=_0x1ab5c2[_0x28a5ed];if(_0x4cb941===this['currentRevision']){_0x28a5ed++;continue;}if(_0x4cb941['id']===this['_initialRevisionId'])break;const _0x197a10=_0x3a7901['toVersion']-_0x4cb941['toVersion']||_0x3a7901['fromVersion']-_0x4cb941['fromVersion'];if(_0x197a10>0x0)break;if(_0x197a10<0x0)_0x28a5ed++;else{if(!_0x3a7901['creator']&&_0x4cb941['creator'])break;if(_0x4cb941['creator']||!_0x3a7901['creator']){if(_0x3a7901['createdAt']>_0x4cb941['createdAt'])break;_0x28a5ed++;}else _0x28a5ed++;}}return _0x28a5ed;}['setRevisionData'](_0x5ee2f6){const _0x2e09ac=this['repository']['getRevision'](_0x5ee2f6['id']);if(_0x5ee2f6['createdAt']&&(_0x5ee2f6['createdAt']=new Date(_0x5ee2f6['createdAt'])),_0x5ee2f6['authorsIds']){const _0x20916f=this['editor']['plugins']['get']('Users');_0x5ee2f6['authors']=_0x5ee2f6['authorsIds']['map'](_0x2fc5c5=>_0x20916f['getUser'](_0x2fc5c5));}_0x2e09ac['_update'](_0x5ee2f6,!0x0);}['buildRevisionData']({revision:_0x4c977e=null,from:_0x2faead=null,to:_0x5cc721=null}){_0x2faead=null!==_0x2faead?_0x2faead:_0x4c977e['fromVersion'],_0x5cc721=null!==_0x5cc721?_0x5cc721:_0x4c977e['toVersion'];const _0x4324e1=this['_revisionDataBuilder']['getData'](_0x2faead,_0x5cc721),_0x1cd288={'diffData':_0x4324e1['diffData'],'authorsIds':_0x4324e1['authorsIds'],'fromVersion':_0x2faead,'toVersion':_0x5cc721};if(!_0x4c977e||_0x5cc721!==_0x4c977e['toVersion']){const _0x4b335d=_0x5cc721-0x1,_0x539ef4=this['_source']['history']['getOperation'](_0x4b335d);_0x1cd288['createdAt']=_0x539ef4&&_0x539ef4['createdAt']||new Date();}if(this['_loadedStateData']&&_0x2faead===this['_loadedStateData']['fromVersion']){for(const _0x3c184d of this['_loadedStateData']['authors'])_0x1cd288['authorsIds']['includes'](_0x3c184d['id'])||_0x1cd288['authorsIds']['push'](_0x3c184d['id']);}return _0x1cd288;}['_loadRevisionData'](_0x718bae){if(!_0x718bae||_0x718bae['diffData'])return Promise['resolve']();{const _0x13043d=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0x13043d,'revisionId':_0x718bae['id']})['then'](_0x328258=>{_0x718bae['diffData']=_0x328258['diffData'];});}}['_bufferUpdate'](_0xc8b737,_0x535ee7,_0x3bd76e){if(this['_bufferedUpdates']['has'](_0xc8b737)){const _0x1704f3=this['_bufferedUpdates']['get'](_0xc8b737);_0x535ee7=_0x3bd76e?{..._0x1704f3,..._0x535ee7}:{..._0x535ee7,..._0x1704f3};}this['_bufferedUpdates']['set'](_0xc8b737,_0x535ee7);}['_getFromVersion'](_0xc6ef19){const _0x2c7e3b=this['repository']['getRevisions']();_0x2c7e3b['reverse'](),_0x2c7e3b['shift']();const _0x504565=_0x2c7e3b['find'](_0x4bd362=>_0x4bd362['toVersion']<=_0xc6ef19)['toVersion'];return _0x504565<this['_startingVersion']?this['_startingVersion']:_0x504565;}['_createInitialRevision'](_0x3b2934){const _0x4e16e5=this['repository']['getRevision'](this['repository']['length']-0x1);if(_0x4e16e5)this['_initialRevisionId']=_0x4e16e5['id'];else{const _0x56bf7f=!this['editor']['model']['document']['roots']['find'](_0x2e8f82=>this['editor']['model']['hasContent'](_0x2e8f82)),_0x1b1fc0=this['editor']['plugins']['get']('Users')['me']['id'],_0x3b43ea=y(this['editor']['locale'],_0x56bf7f?'Empty\x20document':'Initial\x20revision');this['_makeRevision']({'from':_0x3b2934,'to':_0x3b2934,'id':this['_initialRevisionId'],'name':_0x3b43ea,'creatorId':_0x1b1fc0});}}['_createCurrentRevision'](_0x5d7b08){const _0x29b93a=this['_source']['getCurrentRevisionId']();this['currentRevision']=this['repository']['getRevision'](_0x29b93a),this['currentRevision']||(this['currentRevision']=this['_makeRevision']({'from':_0x5d7b08,'to':_0x5d7b08,'id':_0x29b93a,'name':'','creatorId':null}));}['_makeRevision']({name:_0x4fb1e3,from:_0x3ba1c0,to:_0x1f22ee,creatorId:_0x1004b1,id:_0x519ac8}){const _0x471527=this['buildRevisionData']({'from':_0x3ba1c0,'to':_0x1f22ee});_0x471527['name']=_0x4fb1e3,_0x471527['creatorId']=_0x1004b1,_0x471527['id']=_0x519ac8;const _0x1b3c9a=this['addRevisionData'](_0x471527);return this['adapter']&&this['_bufferUpdate'](_0x471527['id'],_0x471527,!0x0),_0x1b3c9a;}['_setConversion'](){this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'});}['_removeRevisionMarkers'](_0x4fd8f2){return(_0x4fd8f2=_0x4fd8f2['filter'](_0x341cae=>!_0x341cae['name']||'revision-start'!==_0x341cae['name']&&'revision-end'!==_0x341cae['name']))['forEach'](_0x598473=>{'string'!=typeof _0x598473&&(_0x598473['children']=this['_removeRevisionMarkers'](_0x598473['children']),_0x598473['attributes']=_0x598473['attributes']['filter'](_0x589a9b=>!_0x589a9b[0x0]['startsWith']('data-revision-')));}),_0x4fd8f2;}}function B(_0x18303a,_0x5d5408){const _0x10bb89=_0x5d5408['editing']['view']['document'];if('string'==typeof _0x18303a)return new _0x50a1ef(_0x10bb89,_0x18303a);{const _0xd997db=_0x18303a['children']['map'](_0x49f02e=>B(_0x49f02e,_0x5d5408));return new(T[_0x18303a['type']]||_0x39072b)(_0x10bb89,_0x18303a['name'],_0x18303a['attributes'],_0xd997db);}}class J{['editor'];['source'];['_savedMetaData'];['_lastFrom'];['_lastTo'];['_markers'];['_diffRoots'];['_diffRootsAttributes'];['_baseRoots'];['_baseRootsAttributes'];['_idsRoots'];['_baseIdsRoots'];['_touched'];['_touchedMarkers'];['_touchedRoots'];['_revisionId'];['_startingRevisionId'];constructor(_0x2bbdaf){this['editor']=_0x2bbdaf,this['_savedMetaData']=new Map(),this['_lastFrom']=-0x1,this['_lastTo']=-0x1,this['_markers']=new Map(),this['_diffRoots']=new Map(),this['_diffRootsAttributes']=new Map(),this['_baseRoots']=new Map(),this['_baseRootsAttributes']=new Map(),this['_idsRoots']=new Map(),this['_baseIdsRoots']=new Map(),this['_touched']=new Map(),this['_touchedMarkers']=new Map(),this['_touchedRoots']=new Map(),this['_revisionId']=0x1;}['init'](_0x185523){this['source']=_0x185523;const _0x35d1fc=new Map(),_0x4797cf=new Map(),_0x5b27f3=this['editor']['model']['document']['roots']['map'](_0x23a478=>_0x23a478['rootName']);for(const _0x4f3d07 of _0x5b27f3){const _0x1909ed=this['editor']['model']['document']['getRoot'](_0x4f3d07),_0x214f76=q(_0x1909ed);_0x35d1fc['set'](_0x4f3d07,_0x214f76),_0x4797cf['set'](_0x4f3d07,Object['fromEntries'](_0x1909ed['getAttributes']()));}const _0x34911e=Array['from'](this['editor']['model']['markers'])['map'](_0x511cb2=>[_0x511cb2['name'],_0x511cb2['getRange']()]),_0x1c280a=this['source']['version'];this['_saveMetaData'](_0x1c280a,_0x35d1fc,_0x34911e,_0x4797cf),this['_startingRevisionId']=this['_revisionId'];const _0x43cca4=new Map(),_0x17b539=new Map();for(const _0x26e11e of _0x5b27f3){const _0x24ea33=G(_0x26e11e);_0x43cca4['set'](_0x26e11e,_0x24ea33),_0x17b539['set'](_0x26e11e,{});}this['_saveMetaData'](Number['NEGATIVE_INFINITY'],_0x43cca4,[],_0x17b539);}['getData'](_0x2e8770,_0x884c16){if(this['_lastFrom']===_0x2e8770&&this['_lastTo']<=_0x884c16)this['_savedMetaData']['size']>0x1&&this['_removeMetaData'](this['_lastTo']),this['_applyOperations'](this['_lastTo'],_0x884c16,!0x0);else{if(!this['_savedMetaData']['has'](_0x2e8770)){const _0x2916db=this['_getPreviousFrom'](_0x2e8770);this['_calculateMetaData'](_0x2916db,_0x2e8770,!0x1);}this['_calculateMetaData'](_0x2e8770,_0x884c16,!0x0);}return this['_lastFrom']=_0x2e8770,this['_lastTo']=_0x884c16,this['_getState']();}['loadState'](_0x2505a3){this['_reset'](),this['_lastFrom']=_0x2505a3['fromVersion'],this['_lastTo']=_0x2505a3['toVersion'];for(const _0xfd535e in _0x2505a3['diffData']){const _0x34a2ee=_0x2505a3['diffData'][_0xfd535e]['attachChange'],_0x14b3b7=_0x4b53fb(_0x2505a3['diffData'][_0xfd535e]['attributesBefore'])||{},_0x5b196d=this['_makeModelFromViewString'](_0x2505a3['diffData'][_0xfd535e]['deletions']);_0x5b196d['rootName']=_0xfd535e,_0x5b196d['_isAttached']=!_0x34a2ee||!_0x34a2ee['isAttached'],_0x5b196d['isAttached']=()=>_0x5b196d['_isAttached'],this['_baseRoots']['set'](_0xfd535e,_0x5b196d),this['_baseRootsAttributes']['set'](_0xfd535e,_0x14b3b7),_0x34a2ee&&this['_touchedRoots']['set'](_0xfd535e,_0x34a2ee);const _0xdf7ac9=this['_makeIdsRoot'](_0x5b196d);this['_baseIdsRoots']['set'](_0xfd535e,_0xdf7ac9);for(const [_0xa65be1,_0x107ec8]of _0x5b196d['markers']){if(!_0xa65be1['startsWith']('revision:'))continue;const _0x113bac=_0xa65be1['split'](':')[0x2];for(const _0x553a07 of _0x107ec8['getWalker']({'singleCharacters':!0x0})){const _0x25581e=this['_getVidAttributeName'](_0x553a07),_0x25ed7c='elementEnd'==_0x553a07['type']?_0x553a07['previousPosition']['path']['slice'](0x0,-0x1):_0x553a07['previousPosition']['path'],_0x34c27e=_0xdf7ac9['getNodeByPath'](_0x25ed7c)['getAttribute'](_0x25581e);this['_touched']['set'](_0x34c27e,{'userId':_0x113bac});}}}this['_startingRevisionId']=this['_revisionId'];const _0x3c1ae3=[...Array(this['_revisionId'])['keys']()]['slice'](0x1)['filter'](_0x5c042f=>!this['_touched']['has'](_0x5c042f));let _0x4d9792=0x0;const _0x180064=new Map();for(const _0x2f7640 in _0x2505a3['diffData']){const _0x622e01=_0x2505a3['diffData'][_0x2f7640]['attachChange'],_0x44b4f8=_0x4b53fb(_0x2505a3['diffData'][_0x2f7640]['attributesAfter'])||{},_0x5237ae=this['_makeModelFromViewString'](_0x2505a3['diffData'][_0x2f7640]['insertions']);_0x5237ae['rootName']=_0x2f7640,_0x5237ae['_isAttached']=!_0x622e01||_0x622e01['isAttached'],_0x5237ae['isAttached']=()=>_0x5237ae['_isAttached'],this['_diffRoots']['set'](_0x2f7640,_0x5237ae),this['_diffRootsAttributes']['set'](_0x2f7640,_0x44b4f8);const _0x3e5315=this['_makeIdsRoot'](_0x5237ae,Number['NEGATIVE_INFINITY']);this['_idsRoots']['set'](_0x2f7640,_0x3e5315),_0x180064['set'](_0x2f7640,_0x5237ae['isAttached']()?_0x44b4f8:{});for(const [_0x6479d8,_0x317c1b]of _0x5237ae['markers']){if(!_0x6479d8['startsWith']('revision:'))continue;const _0x14c1ef=_0x6479d8['split'](':')[0x2];for(const _0x4222b3 of _0x317c1b['getWalker']({'singleCharacters':!0x0})){const _0x4d6bfd=this['_getVidAttributeName'](_0x4222b3),_0x47a352=this['_revisionId']++,_0x94e769='elementEnd'==_0x4222b3['type']?_0x4222b3['previousPosition']['path']['slice'](0x0,-0x1):_0x4222b3['previousPosition']['path'];_0x3e5315['getNodeByPath'](_0x94e769)['_setAttribute'](_0x4d6bfd,_0x47a352),this['_touched']['set'](_0x47a352,{'userId':_0x14c1ef});}}for(const _0x556df1 of this['editor']['model']['createRangeIn'](_0x5237ae)['getWalker']({'singleCharacters':!0x0})){const _0x48346d=this['_getVidAttributeName'](_0x556df1),_0x1b849c='elementEnd'==_0x556df1['type']?_0x556df1['previousPosition']['path']['slice'](0x0,-0x1):_0x556df1['previousPosition']['path'],_0x1f0bd7=_0x3e5315['getNodeByPath'](_0x1b849c);_0x1f0bd7['getAttribute'](_0x48346d)>0x0||_0x1f0bd7['_setAttribute'](_0x48346d,_0x3c1ae3[_0x4d9792++]);}for(const [_0x28b53a,_0x689652]of _0x5237ae['markers'])_0x28b53a['startsWith']('revision:')||this['_markers']['set'](_0x28b53a,_0x689652);}const _0x8fd1a8=G('$graveyard');this['_baseRoots']['set']('$graveyard',_0x8fd1a8),this['_baseIdsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x8fd1a8,0x1));const _0x353c4c=G('$graveyard');this['_diffRoots']['set']('$graveyard',_0x353c4c),this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x353c4c,0x1));const _0x17bb3d=Array['from'](this['_diffRoots'])['map'](([_0x60f1d7,_0x44fff0])=>[_0x60f1d7,q(_0x44fff0)]);this['_saveMetaData'](this['_lastTo'],_0x17bb3d,this['_markers'],_0x180064);}['_makeModelFromViewString'](_0x3e9bd2){const _0x3c8c7f=JSON['parse'](_0x3e9bd2),_0x432a5a=this['editor']['editing']['view']['document'],_0x2d00b8=new _0x460862(_0x432a5a,_0x3c8c7f['map'](_0x56265f=>B(_0x56265f,this['editor'])));return this['editor']['data']['toModel'](_0x2d00b8);}['_saveMetaData'](_0x368d43,_0xf11ddd,_0x3fab48,_0x13d52c){const _0x579001=new Map(_0xf11ddd),_0x31b989=new Map(_0x4b53fb(_0x13d52c)),_0x58e5eb=new Map();for(const [_0x43476b,_0xa5f36c]of _0x3fab48)_0x58e5eb['set'](_0x43476b,{'start':_0xa5f36c['start']['clone'](),'end':_0xa5f36c['end']['clone'](),'rootName':_0xa5f36c['root']['rootName']});this['_savedMetaData']['set'](_0x368d43,{'roots':_0x579001,'markers':_0x58e5eb,'rootsAttributes':_0x31b989});}['_removeMetaData'](_0x1a7b19){this['_savedMetaData']['delete'](_0x1a7b19);}['reInit'](){this['_reset'](),this['_lastFrom']=-0x1,this['_lastTo']=-0x1,this['_savedMetaData']['clear'](),this['init'](this['source']);}['_reset'](){this['_touched']['clear'](),this['_touchedMarkers']['clear'](),this['_touchedRoots']['clear'](),this['_diffRoots']['clear'](),this['_diffRootsAttributes']['clear'](),this['_baseRoots']['clear'](),this['_baseRootsAttributes']['clear'](),this['_idsRoots']['clear'](),this['_baseIdsRoots']['clear'](),this['_markers']['clear'](),this['_revisionId']=0x1,this['_startingRevisionId']=this['_revisionId'];}['_makeIdsRoot'](_0x1170f6,_0x3902ab=null){let _0x1267db=null;_0x1170f6['is']('documentFragment')||(_0x1267db=new ft(_0x1170f6['name'],{'vid_start':null===_0x3902ab?this['_revisionId']++:_0x3902ab++}));const _0x3bc45a=[];for(const _0x5f2c27 of _0x1170f6['getChildren']())if(_0x5f2c27['is']('element')){_0x3bc45a['push'](this['_makeIdsRoot'](_0x5f2c27,_0x3902ab));const _0x40a808=_0x3bc45a[_0x3bc45a['length']-0x1];null!==_0x3902ab&&(_0x3902ab=_0x40a808['is']('element','$text')?_0x40a808['getAttribute']('vid')+0x1:_0x40a808['getAttribute']('vid_end')+0x1);}else{for(let _0x3e51aa=0x0;_0x3e51aa<_0x5f2c27['offsetSize'];_0x3e51aa++)_0x3bc45a['push'](new ft('$text',{'vid':null===_0x3902ab?this['_revisionId']++:_0x3902ab++}));}if(_0x1170f6['is']('documentFragment')){const _0x429ad2=G(_0x1170f6['rootName']);return _0x429ad2['_insertChild'](0x0,_0x3bc45a),_0x429ad2;}return _0x1267db['_setAttribute']('vid_end',null===_0x3902ab?this['_revisionId']++:_0x3902ab++),_0x1267db['_insertChild'](0x0,_0x3bc45a),_0x1267db;}['_calculateMetaData'](_0x1d8a1c,_0x37a44d,_0x389ad7){this['_reset']();const {roots:_0x378e58,markers:_0x18f06c,rootsAttributes:_0x5d0c1}=this['_savedMetaData']['get'](_0x1d8a1c);this['_baseRoots']=new Map(_0x378e58),this['_baseRootsAttributes']=new Map(_0x4b53fb(_0x5d0c1));for(const [_0x56c43,_0x2180f7]of this['_baseRoots'])if('$graveyard'!==_0x56c43&&(this['_diffRoots']['set'](_0x56c43,q(_0x2180f7)),this['_diffRootsAttributes']=new Map(_0x4b53fb(_0x5d0c1)),_0x389ad7)){const _0xbe87f9=this['_revisionId'];this['_idsRoots']['set'](_0x56c43,this['_makeIdsRoot'](_0x2180f7)),this['_baseIdsRoots']['set'](_0x56c43,this['_makeIdsRoot'](_0x2180f7,_0xbe87f9));}this['_startingRevisionId']=this['_revisionId'],this['_diffRoots']['set']('$graveyard',q(this['_baseRoots']['get']('$graveyard'))),_0x389ad7&&this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](this['_baseRoots']['get']('$graveyard')));for(const [_0x3f7ffe,_0x2cb4cc]of _0x18f06c){const _0x5f5ad9=this['_baseRoots']['get'](_0x2cb4cc['rootName']),_0x361105=this['_diffRoots']['get'](_0x2cb4cc['rootName']),_0x321807=new vt(this['_fixPosition'](_0x2cb4cc['start'],_0x5f5ad9),this['_fixPosition'](_0x2cb4cc['end'],_0x5f5ad9)),_0x2b15a6=this['_fixRange'](_0x321807,_0x361105);_0x5f5ad9['markers']['set'](_0x3f7ffe,_0x321807),this['_markers']['set'](_0x3f7ffe,_0x2b15a6);}this['_applyOperations'](_0x1d8a1c,_0x37a44d,_0x389ad7);}['_applyOperations'](_0x2ee89e,_0x5764cb,_0x326627){for(const _0x5216d2 of this['source']['getOperations'](_0x2ee89e,_0x5764cb))this['_handleOperation'](_0x5216d2,_0x326627);for(const _0xdc8404 of this['_diffRoots']['values']())_0xdc8404['markers']['clear']();for(const [_0x2b8553,_0xedbaf9]of this['_markers']){this['_diffRoots']['get'](_0xedbaf9['root']['rootName'])['markers']['set'](_0x2b8553,_0xedbaf9['clone']());}const _0x5ad6f5=new Map(),_0x465c51=new Map();for(const [_0x2d5393,_0x337ebd]of this['_diffRoots'])_0x5ad6f5['set'](_0x2d5393,q(_0x337ebd)),_0x465c51['set'](_0x2d5393,this['_diffRootsAttributes']['get'](_0x2d5393));this['_saveMetaData'](_0x5764cb,_0x5ad6f5,this['_markers'],_0x465c51);}['_getPreviousFrom'](_0x1b6abd){const _0x27f525=Array['from'](this['_savedMetaData']['keys']());_0x27f525['sort']((_0x546315,_0x185800)=>_0x546315-_0x185800),_0x27f525['reverse']();for(const _0x2ca191 of _0x27f525)if(_0x2ca191<_0x1b6abd)return _0x2ca191;return Number['NEGATIVE_INFINITY'];}['_copyMarkers'](_0x257ecd,_0x188eb8){const _0x4beec8=Array['from'](_0x188eb8['markers'])['map'](([_0xd870c6,_0x37593e])=>[_0xd870c6,this['_fixRange'](_0x37593e,_0x257ecd)]);_0x257ecd['markers']=new Map(_0x4beec8);}['_transformMarkers'](_0x21146d){for(const _0xd45bcb of this['_markers']['values']()){const _0x79af7f=_0xd45bcb['getTransformedByOperation'](_0x21146d),_0x13572d=vt['_createFromRanges'](_0x79af7f);_0xd45bcb['start']=_0x13572d['start'],_0xd45bcb['end']=_0x13572d['end'];}}['_handleOperation'](_0xa2f696,_0x2cedef){if('addRoot'==_0xa2f696['type']||'detachRoot'==_0xa2f696['type'])return void this['_handleRootOperation'](_0xa2f696,_0x2cedef);if('insert'==_0xa2f696['type']){const _0x381ab0=_0xa2f696['position']['root']['rootName'];this['_diffRoots']['has'](_0x381ab0)||(this['_diffRoots']['set'](_0x381ab0,G(_0x381ab0,!0x0)),this['_diffRootsAttributes']['set'](_0x381ab0,{}),_0x2cedef&&this['_idsRoots']['set'](_0x381ab0,G(_0x381ab0,!0x0)));}else{if('addRootAttribute'==_0xa2f696['type']||'removeRootAttribute'==_0xa2f696['type']||'changeRootAttribute'==_0xa2f696['type'])return void this['_handleRootAttributeOperation'](_0xa2f696);}const _0x430f61=this['_cloneOperation'](_0xa2f696,this['_diffRoots']);if('marker'!==_0xa2f696['type']&&(_0x430f61['_execute'](),this['_transformMarkers'](_0x430f61)),_0x2cedef)switch(_0x430f61['type']){case'insert':this['_handleInsertOperation'](_0xa2f696);break;case'move':case'remove':case'reinsert':this['_handleMoveOperation'](_0xa2f696);break;case'merge':this['_handleMergeOperation'](_0xa2f696);break;case'split':this['_handleSplitOperation'](_0xa2f696);break;case'marker':this['_handleMarkerOperation'](_0xa2f696);}}['_cloneOperation'](_0x339d48,_0x2a8364){const _0x56de01=_0x339d48['clone']();return _0x56de01['_authorId']=_0x339d48['_authorId'],this['_fixOperation'](_0x56de01,_0x2a8364),_0x56de01;}['_getBaseVids'](_0x1e4d1e){return _0x1e4d1e['map'](_0x2ab86b=>{const _0x1c62d2=this['_getVidAttributeName'](_0x2ab86b);return Number(_0x2ab86b['item']['getAttribute'](_0x1c62d2));});}['_generateTape'](_0x200c21,_0x54c73c){if(_0x200c21['is']('element','$text'))_0x54c73c['push']({'item':_0x200c21,'type':'text'});else{_0x200c21['is']('element')&&_0x54c73c['push']({'item':_0x200c21,'type':'elementStart'});for(const _0x37bdbb of _0x200c21['getChildren']())this['_generateTape'](_0x37bdbb,_0x54c73c);_0x200c21['is']('element')&&_0x54c73c['push']({'item':_0x200c21,'type':'elementEnd'});}return _0x54c73c;}['_getState'](){const _0x3f864f=new Map(this['_touched']),_0x3e9469=new Map(_0x3f864f),_0x1221c3=new Map(),_0x1c5ec={'insertions':{},'deletions':{}},_0x4393ca={'insertions':{},'deletions':{}},_0x2fe20f=new Map(),_0x6db00f=new Set([...this['_baseRoots']['keys'](),...this['_diffRoots']['keys']()]);_0x6db00f['delete']('$graveyard');for(const _0x19f0f0 of _0x6db00f){const _0x14ca17=this['_diffRoots']['get'](_0x19f0f0)||G(_0x19f0f0,!0x1),_0x23d87d=this['_baseRoots']['get'](_0x19f0f0)||G(_0x19f0f0,!0x1);_0x14ca17['isAttached']()||_0x23d87d['isAttached']()?(_0x1c5ec['insertions'][_0x19f0f0]=q(_0x14ca17),_0x1c5ec['deletions'][_0x19f0f0]=q(_0x23d87d),this['_copyMarkers'](_0x1c5ec['deletions'][_0x19f0f0],_0x23d87d),this['_copyMarkers'](_0x1c5ec['insertions'][_0x19f0f0],_0x14ca17),_0x4393ca['insertions'][_0x19f0f0]=this['_generateTape'](this['_idsRoots']['get'](_0x19f0f0),[]),_0x4393ca['deletions'][_0x19f0f0]=this['_generateTape'](this['_baseIdsRoots']['get'](_0x19f0f0)||G(_0x19f0f0,!0x1),[])):_0x6db00f['delete'](_0x19f0f0);}for(const _0xd67484 of _0x6db00f){const _0x337de9=_0x4393ca['insertions'][_0xd67484];for(const _0xada5a5 of _0x337de9){const _0x2bbb0b=this['_getVidAttributeName'](_0xada5a5),_0x32700a=_0xada5a5['item']['getAttribute'](_0x2bbb0b);_0x3e9469['delete'](_0x32700a),_0x32700a>=this['_startingRevisionId']&&_0x1221c3['set'](_0x32700a,_0x3f864f['get'](_0x32700a));}}for(const _0x3ce4ce of _0x6db00f){const _0x10411c=_0x4393ca['insertions'][_0x3ce4ce],_0x3a3ede=this['_getBaseVids'](_0x4393ca['deletions'][_0x3ce4ce]);let _0x2b0bdd=0x0;for(const _0x1bb015 of _0x10411c){const _0x40ba1d=this['_getVidAttributeName'](_0x1bb015),_0x195e80=_0x1bb015['item']['getAttribute'](_0x40ba1d);if(!_0x1221c3['has'](_0x195e80)&&!_0x2fe20f['has'](_0x195e80)){if(_0x3e9469['has'](_0x195e80))_0x2b0bdd++;else{if(_0x195e80!=_0x3a3ede[_0x2b0bdd]){const _0xbe5a58=_0x3f864f['get'](_0x195e80)||_0x3f864f['get'](_0x3a3ede[_0x2b0bdd]);for(;_0x195e80!=_0x3a3ede[_0x2b0bdd];)_0x3e9469['has'](_0x3a3ede[_0x2b0bdd])||(_0x2fe20f['set'](_0x3a3ede[_0x2b0bdd],_0xbe5a58),_0x3f864f['set'](_0x3a3ede[_0x2b0bdd],_0xbe5a58)),_0x2b0bdd++;}_0x2b0bdd++;}}}}for(const _0x350bef of _0x6db00f){const _0x3b6345=_0x4393ca['insertions'][_0x350bef];for(const _0x5e14bf of _0x3b6345){const _0x53f0c2=this['_getVidAttributeName'](_0x5e14bf),_0x20712b=_0x5e14bf['item']['getAttribute'](_0x53f0c2);if(_0x2fe20f['has'](_0x20712b)){const _0x1563b4=_0x2fe20f['get'](_0x20712b);_0x3e9469['has'](_0x20712b)||_0x3e9469['set'](_0x20712b,{..._0x1563b4}),_0x1221c3['set'](_0x20712b,{..._0x1563b4});}}}for(const _0x51b210 of _0x3e9469['keys']())_0x51b210>=this['_startingRevisionId']&&_0x3e9469['delete'](_0x51b210);const _0x5715d4=new Map();for(const _0x329e64 of _0x6db00f){let _0x39ec5c=_0x4393ca['insertions'][_0x329e64];for(const _0x2dcf73 of _0x39ec5c)if(_0x2dcf73['item']['is']('element','tableCell')){const _0x3c4f4a=this['_getVidAttributeName'](_0x2dcf73),_0xee1feb=_0x2dcf73['item']['getAttribute'](_0x3c4f4a);if(_0x1221c3['has'](_0xee1feb)){const _0x28f713=_0x2dcf73['item']['parent']['parent']['getAttribute']('vid_start'),_0x14d707=_0x5715d4['get'](_0x28f713)||new Set();_0x14d707['add'](_0x1221c3['get'](_0xee1feb)['userId']),_0x5715d4['set'](_0x28f713,_0x14d707);}}_0x39ec5c=_0x4393ca['deletions'][_0x329e64];for(const _0xca1f0a of _0x39ec5c)if(_0xca1f0a['item']['is']('element','tableCell')){const _0x4f63c4=this['_getVidAttributeName'](_0xca1f0a),_0x8d232c=_0xca1f0a['item']['getAttribute'](_0x4f63c4);if(_0x3e9469['has'](_0x8d232c)){const _0x57ba10=_0xca1f0a['item']['parent']['parent']['getAttribute']('vid_start'),_0x4d1960=_0x5715d4['get'](_0x57ba10)||new Set();_0x4d1960['add'](_0x3e9469['get'](_0x8d232c)['userId']),_0x5715d4['set'](_0x57ba10,_0x4d1960);}}for(const _0x3b5007 of _0x5715d4['keys']())(_0x1221c3['has'](_0x3b5007)||_0x3e9469['has'](_0x3b5007))&&_0x5715d4['delete'](_0x3b5007);}for(const _0x3a3f18 of _0x6db00f){const _0x1c4d09=_0x4393ca['insertions'][_0x3a3f18];let _0x3a5dd0=null,_0xc79471=null;for(const _0x1ff98b of _0x1c4d09){const _0x445b17=this['_getVidAttributeName'](_0x1ff98b),_0x5e2679=_0x1ff98b['item']['getAttribute'](_0x445b17),_0x24ff4f=_0x5715d4['get'](_0x5e2679);_0x24ff4f&&'elementStart'==_0x1ff98b['type']&&(_0x3a5dd0=Array['from'](_0x24ff4f)[0x0],_0xc79471=_0x1ff98b['item']['getAttribute']('vid_end')),_0x3a5dd0&&(_0x3e9469['set'](_0x5e2679,{'userId':_0x3a5dd0}),_0x1221c3['set'](_0x5e2679,{'userId':_0x3a5dd0})),_0x5e2679==_0xc79471&&(_0x3a5dd0=null,_0xc79471=null);}}const _0x11a142={},_0x14ca18=new Set();for(const _0x112f34 of _0x6db00f){const _0x5cbe31=_0x1c5ec['deletions'][_0x112f34],_0x3cffdc=_0x1c5ec['insertions'][_0x112f34];for(const {userId:_0xe83911}of this['_touchedMarkers']['values']())null!==_0xe83911&&_0x14ca18['add'](_0xe83911);for(const {userId:_0x1f0a36}of this['_touchedRoots']['values']())null!==_0x1f0a36&&_0x14ca18['add'](_0x1f0a36);this['_markChanges'](_0x3cffdc,_0x4393ca['insertions'][_0x112f34],_0x1221c3,'insertion',_0x14ca18),this['_markChanges'](_0x5cbe31,_0x4393ca['deletions'][_0x112f34],_0x3e9469,'deletion',_0x14ca18),_0x11a142[_0x112f34]={'insertions':this['_prepareViewToSave'](_0x3cffdc),'deletions':this['_prepareViewToSave'](_0x5cbe31),'attachChange':this['_touchedRoots']['get'](_0x112f34)||null,'attributesBefore':_0x4b53fb(this['_baseRootsAttributes']['get'](_0x112f34))||{},'attributesAfter':_0x4b53fb(this['_diffRootsAttributes']['get'](_0x112f34))};}return{'diffData':_0x11a142,'authorsIds':Array['from'](_0x14ca18)};}['_processRootBeforeSave'](_0x28a9fe){for(const [,_0x567eaa]of _0x28a9fe['markers']){const _0x24b1a9=_0x567eaa['start']['getAncestors']()['filter'](_0x5600a8=>'tableCell'==_0x5600a8['name']);for(const _0x5d0987 of _0x24b1a9)0x1==_0x5d0987['childCount']&&_0x5d0987['getChild'](0x0)['is']('element','paragraph')&&_0x5d0987['getChild'](0x0)['_setAttribute']('keepParagraph',!0x0);}}['_prepareViewToSave'](_0x138a89){this['_processRootBeforeSave'](_0x138a89);const _0xb7cd7f=this['editor']['data']['toView'](_0x138a89,{}),_0x4f8f8c=Array['from'](_0xb7cd7f['getChildren']())['map'](_0x4ea637=>this['_getViewJson'](_0x4ea637));return JSON['stringify'](_0x4f8f8c);}['_getViewJson'](_0x3cd068){if(_0x3cd068['is']('$text'))return _0x3cd068['data'];{const _0x2780d5=_0x3cd068;return{'type':Object['keys'](T)['find'](_0x3b114c=>_0x3cd068 instanceof T[_0x3b114c]),'name':_0x2780d5['name'],'attributes':Array['from'](_0x2780d5['getAttributes']()),'children':Array['from'](_0x2780d5['getChildren']())['map'](_0x25a95b=>this['_getViewJson'](_0x25a95b))};}}['_markChanges'](_0x209e1a,_0x331cca,_0x270780,_0x5f2e79,_0x15ff68){let _0x10c864=null,_0xc1c481=null,_0x5468d1=0x0;const _0x254c8a=this['editor']['model'];for(let _0x5a8712=0x0;_0x5a8712<_0x331cca['length'];_0x5a8712++){const _0x5170f5=this['_getVidAttributeName'](_0x331cca[_0x5a8712]),_0x319f29=_0x331cca[_0x5a8712]['item']['getAttribute'](_0x5170f5),_0x28863e=_0x270780['get'](_0x319f29),_0x495e28=_0x5a8712==_0x331cca['length']-0x1;(!_0x10c864&&_0x28863e&&(_0x10c864=_0x28863e,_0xc1c481=_0x331cca[_0x5a8712]),_0x10c864&&(!_0x28863e||_0x28863e['userId']!=_0x10c864['userId']))&&(_0x245474(_0x28863e,L(_0xc1c481,_0x209e1a,_0x254c8a),L(_0x331cca[_0x5a8712],_0x209e1a,_0x254c8a)),_0x10c864=_0x28863e||null,_0xc1c481=_0x28863e?_0x331cca[_0x5a8712]:null),_0x10c864&&_0x495e28&&_0x245474(_0x28863e,L(_0xc1c481,_0x209e1a,_0x254c8a),W(_0x331cca[_0x5a8712],_0x209e1a,_0x254c8a));}function _0x245474(_0x4d841c,_0x2862d5,_0x4e7dd9){const _0x1b0377=_0x10c864['userId'],_0x1752b0='revision:'+_0x5f2e79+':'+_0x1b0377+':'+_0x5468d1++,_0x119adc=_0x254c8a['createRange'](_0x2862d5,_0x4e7dd9);_0x209e1a['markers']['set'](_0x1752b0,_0x119adc),null!==_0x1b0377&&_0x15ff68['add'](_0x1b0377);}}['_getVidAttributeName'](_0x33711b){switch(_0x33711b['type']){case'elementStart':return'vid_start';case'elementEnd':return'vid_end';default:return'vid';}}['_fixOperation'](_0x5264c0,_0x570a7a){_0x5264c0['baseVersion']=null;for(const _0x3b4c92 in _0x5264c0){const _0x2fbf5d=_0x5264c0[_0x3b4c92];if(_0x2fbf5d instanceof gt){const _0x29d8b8=_0x570a7a['get'](_0x2fbf5d['root']['rootName']);_0x5264c0[_0x3b4c92]=this['_fixPosition'](_0x2fbf5d,_0x29d8b8);}if(_0x2fbf5d instanceof vt){const _0x266c4c=_0x570a7a['get'](_0x2fbf5d['root']['rootName']);_0x5264c0[_0x3b4c92]=this['_fixRange'](_0x2fbf5d,_0x266c4c);}'root'===_0x3b4c92&&(_0x5264c0['root']=_0x570a7a['get'](_0x5264c0['root']['rootName']));}}['_fixRange'](_0x1f9022,_0x4de16b){return this['editor']['model']['createRange'](this['_fixPosition'](_0x1f9022['start'],_0x4de16b),this['_fixPosition'](_0x1f9022['end'],_0x4de16b));}['_fixPosition'](_0x42eefe,_0x1c17df){return this['editor']['model']['createPositionFromPath'](_0x1c17df,_0x42eefe['path'],_0x42eefe['stickiness']);}['_handleInsertOperation'](_0x3123f2){const _0x5acdda=this['_idsRoots']['get'](_0x3123f2['position']['root']['rootName']),_0x532261=this['_fixPosition'](_0x3123f2['position'],_0x5acdda),_0x21f04b=null===_0x3123f2['_authorId']?null:_0x3123f2['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x5be168=_0x532261['parent'],_0x5da9f2=this['_revisionId'],_0x341fc2=[];for(const _0x576c0d of _0x3123f2['nodes'])if(_0x576c0d['is']('element'))_0x341fc2['push'](this['_makeIdsRoot'](_0x576c0d));else{for(let _0x22cd23=0x0;_0x22cd23<_0x576c0d['offsetSize'];_0x22cd23++)_0x341fc2['push'](new ft('$text',{'vid':this['_revisionId']++}));}const _0x47bcc7=this['_revisionId'];for(let _0x5899af=_0x5da9f2;_0x5899af<_0x47bcc7;_0x5899af++)this['_touched']['set'](_0x5899af,{'userId':_0x21f04b});_0x5be168['_insertChild'](_0x532261['offset'],_0x341fc2);}['_handleMoveOperation'](_0x366f5a){(_0x366f5a=this['_cloneOperation'](_0x366f5a,this['_idsRoots']))['_execute']();const _0x57c31f=null===_0x366f5a['_authorId']?null:_0x366f5a['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x2d01eb=_0x366f5a['getMovedRangeStart'](),_0xe7b41d=_0x2d01eb['parent'],_0x32d6ee=_0x2d01eb['offset'];!function _0x4f7c8a(_0x41ece8,_0x39aaff,_0x52d58d,_0xb96773){for(let _0x62e167=_0x52d58d;_0x62e167<_0xb96773;_0x62e167++){const _0x2ba585=_0x39aaff['getChild'](_0x62e167);_0x2ba585['is']('element','$text')?_0x41ece8['set'](_0x2ba585['getAttribute']('vid'),{'userId':_0x57c31f}):(_0x41ece8['set'](_0x2ba585['getAttribute']('vid_start'),{'userId':_0x57c31f}),_0x4f7c8a(_0x41ece8,_0x2ba585,0x0,_0x2ba585['childCount']),_0x41ece8['set'](_0x2ba585['getAttribute']('vid_end'),{'userId':_0x57c31f}));}}(this['_touched'],_0xe7b41d,_0x32d6ee,_0x32d6ee+_0x366f5a['howMany']);}['_handleMergeOperation'](_0x409442){const _0x4fe86d=null===(_0x409442=this['_cloneOperation'](_0x409442,this['_idsRoots']))['_authorId']?null:_0x409442['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x2bfba2=_0x409442['targetPosition']['parent'],_0xbc0d90=_0x409442['sourcePosition']['parent'],_0x1f7bf0=_0x2bfba2['getAttribute']('vid_end'),_0xd6a0c6=_0xbc0d90['getAttribute']('vid_start');_0x2bfba2['_setAttribute']('vid_end',_0xbc0d90['getAttribute']('vid_end')),_0xbc0d90['_setAttribute']('vid_end',_0x1f7bf0),this['_touched']['set'](_0xd6a0c6,{'userId':_0x4fe86d}),this['_touched']['set'](_0x1f7bf0,{'userId':_0x4fe86d}),_0x409442['_execute']();}['_handleSplitOperation'](_0xbb9651){const _0x3e9516=null===(_0xbb9651=this['_cloneOperation'](_0xbb9651,this['_idsRoots']))['_authorId']?null:_0xbb9651['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x32606d=_0xbb9651['graveyardPosition'],_0x208090=_0xbb9651['splitPosition']['parent'];_0xbb9651['_execute']();const _0x18646a=_0x208090['getAttribute']('vid_end'),_0x5ca33c=_0xbb9651['insertionPosition']['nodeAfter'];if(_0x32606d){const _0xab548b=_0x5ca33c['getAttribute']('vid_end'),_0x5db5e8=_0x208090['getAttribute']('vid_end');_0x208090['_setAttribute']('vid_end',_0xab548b),_0x5ca33c['_setAttribute']('vid_end',_0x5db5e8),this['_touched']['set'](_0x208090['getAttribute']('vid_end'),{'userId':_0x3e9516}),this['_touched']['set'](_0x5ca33c['getAttribute']('vid_start'),{'userId':_0x3e9516});}else{const _0x4962c6=this['_revisionId']++,_0x295c65=this['_revisionId']++;_0x208090['_setAttribute']('vid_end',_0x4962c6),_0x5ca33c['_setAttribute']('vid_start',_0x295c65),_0x5ca33c['_setAttribute']('vid_end',_0x18646a),this['_touched']['set'](_0x4962c6,{'userId':_0x3e9516}),this['_touched']['set'](_0x295c65,{'userId':_0x3e9516});}}['_handleMarkerOperation'](_0x369147){if(!_0x369147['affectsData'])return;const _0x667f0f=(_0x369147=this['_cloneOperation'](_0x369147,this['_diffRoots']))['oldRange']?_0x369147['oldRange']['root']:null,_0x3912c0=_0x369147['newRange']?_0x369147['newRange']['root']:null;_0x667f0f&&this['_markers']['delete'](_0x369147['name']),_0x3912c0&&this['_markers']['set'](_0x369147['name'],_0x369147['newRange']['clone']());const _0x18a2cf=null===_0x369147['_authorId']?null:_0x369147['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x3794a1=_0x369147['name'];if(!this['_touchedMarkers']['has'](_0x3794a1))return void this['_touchedMarkers']['set'](_0x3794a1,{'range':_0x369147['oldRange'],'userId':_0x18a2cf});const _0x35169c=this['_touchedMarkers']['get'](_0x3794a1),_0x55ac10=_0x35169c['range'],_0x480e58=_0x369147['newRange'];null==_0x55ac10&&null==_0x480e58||_0x55ac10&&_0x480e58&&_0x55ac10['isEqual'](_0x480e58)?this['_touchedMarkers']['delete'](_0x369147['name']):_0x35169c['userId']=_0x18a2cf;}['_handleRootOperation'](_0x710b4f,_0x178420){this['_diffRoots']['has'](_0x710b4f['rootName'])?this['_diffRoots']['get'](_0x710b4f['rootName'])['_isAttached']=_0x710b4f['isAdd']:(this['_diffRoots']['set'](_0x710b4f['rootName'],G(_0x710b4f['rootName'],!0x0)),this['_diffRootsAttributes']['set'](_0x710b4f['rootName'],{}),_0x178420&&this['_idsRoots']['set'](_0x710b4f['rootName'],G(_0x710b4f['rootName'],!0x0)));const _0x3681d5=null===_0x710b4f['_authorId']?null:_0x710b4f['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x137554=this['_touchedRoots']['get'](_0x710b4f['rootName']);_0x137554&&_0x137554['userId']===_0x3681d5?this['_touchedRoots']['delete'](_0x710b4f['rootName']):this['_touchedRoots']['set'](_0x710b4f['rootName'],{'userId':_0x3681d5,'isAttached':_0x710b4f['isAdd']});}['_handleRootAttributeOperation'](_0x46f96c){const _0x70c573=this['_diffRootsAttributes']['get'](_0x46f96c['root']['rootName']);null===_0x46f96c['newValue']?delete _0x70c573[_0x46f96c['key']]:_0x70c573[_0x46f96c['key']]=_0x46f96c['newValue'];}}function q(_0x20623f){const _0x371815=G(_0x20623f['rootName'],_0x20623f['isAttached']());for(const _0x2cf534 of _0x20623f['getChildren']()){const _0x59f526=_0x2cf534['_clone'](!0x0);_0x371815['_appendChild'](_0x59f526);}return _0x371815;}function G(_0x2d974f,_0x4cd8f3=!0x0){const _0xa9ae4e=new wt();return _0xa9ae4e['rootName']=_0x2d974f,_0xa9ae4e['_isAttached']=_0x4cd8f3,_0xa9ae4e['isAttached']=()=>_0xa9ae4e['_isAttached'],_0xa9ae4e;}function L(_0x1e472c,_0x8b4661,_0xba9511){const _0x402e24='elementEnd'==_0x1e472c['type']?_0xba9511['createPositionAt'](_0x1e472c['item'],'end'):_0xba9511['createPositionBefore'](_0x1e472c['item']);return _0xba9511['createPositionFromPath'](_0x8b4661,_0x402e24['path'],_0x402e24['stickiness']);}function W(_0x25a606,_0x34a5e9,_0x1d4f89){const _0xaa7e94='elementStart'==_0x25a606['type']?_0x1d4f89['createPositionAt'](_0x25a606['item'],0x0):_0x1d4f89['createPositionAfter'](_0x25a606['item']);return _0x1d4f89['createPositionFromPath'](_0x34a5e9,_0xaa7e94['path'],_0xaa7e94['stickiness']);}class ns extends _0x2d463e{['focusTracker'];['keystrokes'];['revisionNameInputView'];constructor(_0x1f6d78,_0x528f67){super(_0x1f6d78),this['focusTracker']=new _0x517376(),this['keystrokes']=new _0x9ef9a3(),this['set']('revisionNameInputValue',''),this['revisionNameInputView']=this['_createRevisionNameInput'](_0x528f67),this['setTemplate']({'tag':'form','attributes':{'class':['ck','ck-revision-history-save-revision-form','ck-responsive-form'],'tabindex':'-1'},'children':[this['revisionNameInputView']]}),ts(this);}['render'](){super['render'](),_0x11c685({'view':this}),this['focusTracker']['add'](this['revisionNameInputView']['element']),this['keystrokes']['listenTo'](this['element']);const _0x2dd5a7=_0xe59d8e=>_0xe59d8e['stopPropagation']();this['keystrokes']['set']('arrowright',_0x2dd5a7),this['keystrokes']['set']('arrowleft',_0x2dd5a7),this['keystrokes']['set']('arrowup',_0x2dd5a7),this['keystrokes']['set']('arrowdown',_0x2dd5a7);}['focus'](){this['revisionNameInputView']['focus']();}get['revisionName'](){return this['revisionNameInputView']['fieldView']['element']['value']['trim']();}set['revisionName'](_0x227e55){this['revisionNameInputView']['fieldView']['element']['value']=_0x227e55['trim']();}['reset'](){this['revisionNameInputView']['fieldView']['element']['value']='',this['revisionNameInputView']['errorText']=null;}['_createRevisionNameInput'](_0xbb3f82){const _0x34fd4e=new at(this['locale'],_0x112e22),_0x5727f3=_0x34fd4e['fieldView'];_0x5727f3['extendTemplate']({'attributes':{'maxlength':'220'}});let _0x100449=y(this['locale'],'Name\x20of\x20the\x20revision');return!_0xbb3f82&&(_0x100449+='\x20('+y(this['locale'],'optional')+')'),(_0x34fd4e['label']=_0x100449,_0x5727f3['on']('input',()=>{this['revisionNameInputValue']=_0x5727f3['element']['value']['trim']();}),_0x34fd4e);}}class u extends _0x2b7243{static get['pluginName'](){return'RevisionHistoryUI';}static get['requires'](){return[l];}['_saveRevisionFormView'];['init'](){const _0x5206f1=this['editor'],_0x236020=_0x5206f1['plugins']['get']('RevisionTracker');_0x5206f1['ui']['componentFactory']['add']('revisionHistory',_0x620a80=>{const _0x29a1af=_0x47478e(_0x620a80),_0x37c526=_0x29a1af['panelView']['children'],_0x2fe89c=new te(_0x620a80),_0x3cedc9=new _0x2303bf(_0x620a80),_0x264b9f=new _0x209397(_0x620a80),_0x394a25=new _0x2303bf(_0x620a80),_0x97d66b=new _0x209397(_0x620a80);return _0x29a1af['bind']('isEnabled')['to'](_0x236020,'isReady',_0x236020,'isEnabled',_0x5206f1,'isReadOnly',(_0x3b1652,_0x11c64b,_0xfd542f)=>_0x3b1652&&_0x11c64b&&!_0xfd542f),_0x29a1af['buttonView']['set']({'icon':_0x299fa9['history'],'label':y(_0x620a80,'Revision\x20history'),'tooltip':!0x0}),_0x264b9f['set']({'label':y(_0x620a80,'Save\x20current\x20revision'),'withText':!0x0,'role':'menuitem'}),_0x264b9f['bind']('isEnabled')['to'](_0x236020,'isReady',_0x236020,'isEnabled',_0x5206f1,'isReadOnly',(_0x3764f1,_0x322d6e,_0x548b2c)=>_0x3764f1&&_0x322d6e&&!_0x548b2c),_0x264b9f['on']('execute',()=>this['_showDialog']()),_0x97d66b['set']({'label':y(_0x620a80,'Open\x20revision\x20history'),'withText':!0x0,'role':'menuitem'}),_0x97d66b['bind']('isEnabled')['to'](_0x236020,'isReady',_0x5206f1,'isReadOnly',(_0x166e18,_0x2ef985)=>_0x166e18&&!_0x2ef985),_0x97d66b['on']('execute',()=>{_0x5206f1['config']['get']('revisionHistory')['showRevisionViewerCallback'](),_0x29a1af['isOpen']=!0x1,_0x5206f1['editing']['view']['focus']();}),_0x3cedc9['children']['add'](_0x264b9f),_0x394a25['children']['add'](_0x97d66b),_0x2fe89c['role']='menu',_0x2fe89c['items']['addMany']([_0x3cedc9,_0x394a25]),_0x37c526['add'](_0x2fe89c),_0x29a1af;}),_0x5206f1['ui']['componentFactory']['add']('menuBar:revisionHistory',()=>this['_registerMenuComponent']());}['_registerMenuComponent'](){const _0x461bc8=this['editor'],_0x181216=_0x461bc8['locale'],_0x562288=new _0x3dc06f(_0x181216),_0x291e6d=new _0x4b46b3(_0x181216);_0x562288['buttonView']['set']({'icon':_0x299fa9['history'],'label':y(_0x181216,'Revision\x20history')});const _0x29814a=new _0x314586(_0x181216,_0x562288),_0x2a167c=new _0x276535(_0x181216);_0x2a167c['set']({'label':y(_0x181216,'Save\x20current\x20revision')}),_0x2a167c['delegate']('execute')['to'](_0x562288),_0x2a167c['on']('execute',()=>{this['_showDialog']();}),_0x29814a['children']['add'](_0x2a167c),_0x291e6d['items']['add'](_0x29814a);const _0xb9ca80=new _0x314586(_0x181216,_0x562288),_0x1ecba4=new _0x276535(_0x181216);return _0x1ecba4['set']({'label':y(_0x181216,'Open\x20revision\x20history')}),_0x1ecba4['delegate']('execute')['to'](_0x562288),_0x1ecba4['on']('execute',()=>{_0x461bc8['config']['get']('revisionHistory')['showRevisionViewerCallback']();}),_0xb9ca80['children']['add'](_0x1ecba4),_0x291e6d['items']['add'](_0xb9ca80),_0x562288['panelView']['children']['add'](_0x291e6d),_0x562288;}['_showDialog'](){const _0x2f5efa=this['editor'],_0x34ff8c=_0x2f5efa['locale'],t=_0x34ff8c['t'],_0x15e6f8=_0x2f5efa['plugins']['get']('Dialog'),_0x3f260c=_0x2f5efa['plugins']['get']('RevisionTracker');function _0xd5c378(_0x407d0c){_0x2f5efa['config']['get']('revisionHistory.requireRevisionName')&&''===_0x407d0c['revisionName']?_0x407d0c['revisionNameInputView']['errorText']=y(_0x34ff8c,'The\x20revision\x20name\x20cannot\x20be\x20empty.'):(_0x2f5efa['plugins']['get'](l)['saveRevision']({'name':_0x407d0c['revisionName']}),_0x15e6f8['hide']());}this['_saveRevisionFormView']||(this['_createSaveRevisionFormView'](),this['_saveRevisionFormView']['on']('submit',()=>_0xd5c378(this['_saveRevisionFormView']))),this['_saveRevisionFormView']['reset'](),_0x15e6f8['show']({'id':'revisionSave','title':y(_0x34ff8c,'Save\x20current\x20revision'),'isModal':!0x0,'content':this['_saveRevisionFormView'],'actionButtons':[{'label':t('Cancel'),'withText':!0x0,'onExecute':()=>_0x15e6f8['hide']()},{'label':t('Accept'),'class':'ck-button-action','withText':!0x0,'onCreate'(_0x21b8e7){_0x21b8e7['bind']('isEnabled')['to'](_0x3f260c,'isReady',_0x3f260c,'isEnabled',_0x2f5efa,'isReadOnly',(_0x5d4a87,_0x450692,_0x3f2520)=>_0x5d4a87&&_0x450692&&!_0x3f2520);},'onExecute':()=>_0xd5c378(this['_saveRevisionFormView'])}]});}['_createSaveRevisionFormView'](){const _0x3f1cee=this['editor'],_0x154a9b=_0x3f1cee['locale'];this['_saveRevisionFormView']=new ns(_0x154a9b,_0x3f1cee['config']['get']('revisionHistory.requireRevisionName')),this['_saveRevisionFormView']['render']();}}class Z extends _0x2d463e{['changeId'];['_model'];constructor(_0x3f6b04,_0x333550){super(_0x3f6b04),this['_model']=_0x333550,this['changeId']=_0x333550['id'];const _0xa6c872=this['bindTemplate'],_0x4dfe24=y(_0x3f6b04,_0x333550['data']['isSuggestion']?'Suggested\x20by':'add'==_0x333550['type']?'Added\x20by':'Removed\x20by');this['set']('type',_0x333550['type']),this['setTemplate']({'tag':'div','attributes':{'class':['ck-annotation','ck-revision-change',_0xa6c872['to']('type',_0x5b5bdd=>'ck-revision-change__'+_0x5b5bdd)],'tabindex':-0x1},'children':[{'tag':'span','children':[{'tag':'span','attributes':{'class':['ck-revision-change__label']},'children':[{'text':_0x4dfe24}]},{'text':'\x20'+_0x333550['author']['name']}]}]});}['focus'](){this['element']['focus']();}}class r extends/* #__PURE__ -- @preserve */
25
- _0x46b21f(){['id'];['author'];['type'];['data'];['rootName'];constructor(_0x5e3a3f){super(),this['id']=_0x5e3a3f['id']||_0x39bddc(),this['author']=_0x5e3a3f['author'],this['type']=_0x5e3a3f['type'],this['data']=_0x5e3a3f['data']||{},this['rootName']=_0x5e3a3f['rootName'],this['set']('createdAt',_0x5e3a3f['createdAt']);}['toJSON'](){return{'id':this['id'],'authorId':this['author']['id'],'type':this['type'],'data':this['data'],'createdAt':this['createdAt']};}}class f{['newRevisionId'];['oldRevisionId'];['changes'];constructor(_0x278bb8,_0x3a558c){this['newRevisionId']=_0x278bb8,this['oldRevisionId']=_0x3a558c,this['changes']=new _0x1efd7e();}['_setChanges'](_0x4b3ef0){for(const _0x50f127 of _0x4b3ef0)this['changes']['add'](_0x50f127);}}const tt={'c':_0x55311b,'a':_0x4111e5,'e':_0x5d72ca,'r':_0x39b518,'u':_0x203e4f};class d extends _0x2b7243{['repository'];['adapter'];['_activeViewTarget'];['_changeView'];['_changeIdToChange'];['_balloon'];static get['pluginName'](){return'RevisionViewer';}static get['requires'](){return[_0x137b16,_0x301284,A];}constructor(_0x42a881){super(_0x42a881),this['repository']=this['editor']['plugins']['get']('RevisionsRepository'),this['set']('activeChange',null),this['set']('activeView',null),this['_activeViewTarget']=null,this['set']('diff',null),this['set']('isReady',!0x1),this['set']('isEnabled',!0x0),this['on']('change:isEnabled',(_0x469ea3,_0x1415a8,_0x420499)=>{this['activeChange']=null,this['activeView']=null,this['editor']['editing']['view']['change'](_0x3e6073=>{for(const _0x1d7771 of this['editor']['editing']['view']['document']['roots'])_0x420499?_0x3e6073['removeClass']('ck-editor__editable__overlay',_0x1d7771):_0x3e6073['addClass']('ck-editor__editable__overlay',_0x1d7771);});}),this['bind']('isNavigationMode')['to'](this,'activeChange',_0x4b8566=>null!==_0x4b8566),this['bind']('currentChangeNumber')['to'](this,'isReady',this,'diff',this,'activeChange',(_0xd3c9ba,_0x513cfa,_0x84e0f4)=>_0xd3c9ba&&_0x84e0f4?_0x513cfa['changes']['getIndex'](_0x84e0f4):0x0),this['bind']('numberOfChanges')['to'](this,'isReady',this,'diff',(_0x1981e8,_0x703e3a)=>_0x1981e8?_0x703e3a['changes']['length']:0x0),this['_changeView']=null,this['_changeIdToChange']=new Map(),this['adapter']=null,this['_balloon']=this['editor']['plugins']['get'](_0x301284);}['init'](){const _0x56c237=this['editor'],_0x1911ca=new yt(_0x56c237,{'direction':'backward'}),_0x5ac603=new yt(_0x56c237,{'direction':'forward'});(_0x56c237['commands']['add']('showPreviousChange',_0x1911ca),_0x56c237['commands']['add']('showNextChange',_0x5ac603),_0x56c237['commands']['add']('restoreRevision',new bt(_0x56c237)),this['on']('change:numberOfChanges',()=>{_0x1911ca['refresh'](),_0x5ac603['refresh']();}),this['_setConversion'](),this['_initInteractions'](),_0x56c237['enableReadOnlyMode']('revision-viewer'),_0x56c237['plugins']['has']('WidgetToolbarRepository'))&&_0x56c237['plugins']['get']('WidgetToolbarRepository')['forceDisabled']('revision-viewer');}async['getRevisionData'](_0x2e88c3){await this['loadRevisionData'](_0x2e88c3);const _0x3c6700={};for(const _0x4c8b4b in _0x2e88c3['diffData']){if(_0x2e88c3['diffData'][_0x4c8b4b]['attachChange']&&!_0x2e88c3['diffData'][_0x4c8b4b]['attachChange']['isAttached'])continue;const _0x1a850c=this['_removeRevisionMarkers'](JSON['parse'](_0x2e88c3['diffData'][_0x4c8b4b]['insertions'])),_0x2a965c=this['editor']['editing']['view']['document'],_0x504350=new _0x460862(_0x2a965c,_0x1a850c['map'](_0x3a9282=>this['_getViewObj'](_0x3a9282)));this['editor']['data']['processor']['useFillerType']('marked'),_0x3c6700[_0x4c8b4b]=this['editor']['data']['processor']['toData'](_0x504350),this['editor']['data']['processor']['useFillerType']('default');}return _0x3c6700;}async['getRevisionRootsAttributes'](_0x23e6c4){await this['loadRevisionData'](_0x23e6c4);const _0x2a7115={};for(const _0x28a385 in _0x23e6c4['diffData'])_0x23e6c4['diffData'][_0x28a385]['attachChange']&&!_0x23e6c4['diffData'][_0x28a385]['attachChange']['isAttached']||(_0x2a7115[_0x28a385]=_0x23e6c4['diffData'][_0x28a385]['attributesAfter']||{});return _0x2a7115;}['_removeRevisionMarkers'](_0x1057d2){return(_0x1057d2=_0x1057d2['filter'](_0x5bf934=>!_0x5bf934['name']||'revision-start'!==_0x5bf934['name']&&'revision-end'!==_0x5bf934['name']))['forEach'](_0x59bb09=>{'string'!=typeof _0x59bb09&&(_0x59bb09['children']=this['_removeRevisionMarkers'](_0x59bb09['children']),_0x59bb09['attributes']=_0x59bb09['attributes']['filter'](_0x589a42=>!_0x589a42[0x0]['startsWith']('data-revision-')));}),_0x1057d2;}async['compare'](_0xd58822,_0x25f6af,_0xa48c4c=!0x1){if(!this['isEnabled'])return;const _0x3a2816=this['diff'],_0x133cba=this['repository'],_0x12b525='string'==typeof _0xd58822?_0x133cba['getRevision'](_0xd58822):_0xd58822,_0x4bb9db='string'==typeof _0x25f6af?_0x133cba['getRevision'](_0x25f6af):_0x25f6af,_0x439625=_0x12b525['id'],_0x3651c3=_0x4bb9db?_0x4bb9db['id']:null;if(!_0xa48c4c&&this['diff']&&this['diff']['newRevisionId']===_0x439625&&this['diff']['oldRevisionId']===_0x3651c3)return Promise['resolve']();this['isReady']=!0x1,this['activeView']=null,this['activeChange']=null,this['diff']=new f(_0x439625,_0x3651c3);const _0x1443f4=this['_getRevisionsRange'](_0x12b525,_0x4bb9db,!0x0)['map'](_0x271e79=>this['loadRevisionData'](_0x271e79));return _0x1443f4['push'](new Promise(_0x238176=>{setTimeout(_0x238176,0x14);})),Promise['all'](_0x1443f4)['then'](()=>{if(!this['isEnabled'])return;this['_cleanUp']();const _0x11c1dd=this['_getDiff'](_0x439625,_0x3651c3);for(const _0x3f0abb of _0x11c1dd['changes'])this['_changeIdToChange']['set'](_0x3f0abb['id'],_0x3f0abb);this['editor']['model']['enqueueChange']({'isUndoable':!0x1},_0xa99233=>{for(const _0x160509 of this['editor']['model']['document']['getRootNames']())_0xa99233['detachRoot'](_0x160509);for(const _0x1ae4c3 of Object['keys'](_0x11c1dd['model'])){const _0x2a1ef4=_0xa99233['addRoot'](_0x1ae4c3);for(const _0x29aacb of Object['keys'](_0x11c1dd['attributes'][_0x1ae4c3]))_0xa99233['setAttribute'](_0x29aacb,_0x11c1dd['attributes'][_0x1ae4c3][_0x29aacb],_0x2a1ef4);_0xa99233['insert'](_0x11c1dd['model'][_0x1ae4c3],_0x2a1ef4,0x0);}}),this['diff']['_setChanges'](this['_sortAndFilterDiffChanges'](_0x11c1dd['changes'])),this['isReady']=!0x0;})['catch'](_0x1b7679=>{console['error'](_0x1b7679),this['_cleanUp'](),_0x3a2816&&(this['diff']=_0x3a2816),this['isReady']=!0x0;});}['addRevisionData'](_0x3ba729,_0x4603e8){const _0x950753=this['repository']['createRevision'](_0x3ba729);return _0x950753['on']('_update',(_0x265354,_0x59ab24,_0x5ec7f)=>_0x4603e8(_0x59ab24,_0x5ec7f,_0x950753)),this['repository']['addRevision'](_0x950753),_0x950753;}['loadRevisionData'](_0x126268){if(!_0x126268||_0x126268['diffData'])return Promise['resolve']();{const _0x31820f=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0x31820f,'revisionId':_0x126268['id']})['then'](_0x342d89=>{_0x126268['_update']({'diffData':_0x342d89['diffData']},!0x0);});}}['_cleanUp'](){this['activeChange']=null,this['_cleanMarkers'](),this['_changeView']&&this['_changeView']['destroy'](),this['_changeView']=null,this['_changeIdToChange']['clear'](),this['editor']['model']['enqueueChange']({'isUndoable':!0x1},_0x1a155f=>{for(const _0xb78974 of this['editor']['model']['document']['getRootNames']())_0x1a155f['detachRoot'](_0xb78974);});}['_sortAndFilterDiffChanges'](_0x4b6052){const _0x9971f6=[],_0x640ef3=new Map();for(const _0x310f9c of this['editor']['model']['document']['getRootNames']()){const _0x14cd10=this['editor']['editing']['view']['getDomRoot'](_0x310f9c);if(!_0x14cd10)continue;const _0x14303f=_0x14cd10['getClientRects']()['item'](0x0);_0x14303f&&(_0x9971f6['push'](_0x310f9c),_0x640ef3['set'](_0x310f9c,_0x14303f));}return _0x9971f6['sort']((_0x8c16f,_0x3639ae)=>{const _0x381ff8=_0x640ef3['get'](_0x8c16f),_0x339717=_0x640ef3['get'](_0x3639ae);return _0x381ff8['y']-_0x339717['y']||_0x381ff8['x']-_0x339717['x'];}),(_0x4b6052=_0x4b6052['filter'](_0xa7c635=>_0x9971f6['includes'](_0xa7c635['rootName'])))['sort']((_0x117105,_0x2f6cf0)=>_0x9971f6['indexOf'](_0x117105['rootName'])-_0x9971f6['indexOf'](_0x2f6cf0['rootName'])),_0x4b6052;}['_makeTape'](_0x5809c7){const _0x1f5547=Array['from'](_0x5809c7['markers'])['filter'](([_0x5ca532,_0x439fd1])=>_0x5ca532['startsWith']('revision:')&&!_0x439fd1['isCollapsed']),_0x381ca3=Array['from'](this['editor']['model']['createRangeIn'](_0x5809c7)['getWalker']({'singleCharacters':!0x0}));if(0x0!=_0x1f5547['length'])for(const _0x17412c of _0x381ca3){const [_0x4b6757,_0x24f913]=_0x1f5547[0x0],[,_0x3300a3,_0x3a26e2]=_0x4b6757['split'](':');if(_0x24f913['end']['isEqual'](_0x17412c['nextPosition'])&&_0x1f5547['shift'](),(_0x17412c['previousPosition']['isEqual'](_0x24f913['start'])||_0x17412c['previousPosition']['isAfter'](_0x24f913['start']))&&('insertion'==_0x3300a3?_0x17412c['isAdded']={'userId':_0x3a26e2}:'deletion'==_0x3300a3&&(_0x17412c['isRemoved']={'userId':_0x3a26e2})),0x0==_0x1f5547['length'])break;}return _0x381ca3;}['_refreshStartEndIndex'](_0x215d74){const _0x57a816=new Map();for(let _0x239207=0x0;_0x239207<_0x215d74['length'];_0x239207++)'text'===_0x215d74[_0x239207]['type']?(_0x215d74[_0x239207]['item']['startIndex']=_0x239207,_0x215d74[_0x239207]['item']['endIndex']=_0x239207):('elementStart'===_0x215d74[_0x239207]['type']?_0x215d74[_0x239207]['item']['startIndex']=_0x239207:'elementEnd'===_0x215d74[_0x239207]['type']&&(_0x215d74[_0x239207]['item']['endIndex']=_0x239207),_0x57a816['set'](_0x215d74[_0x239207]['id'],_0x239207));for(const _0x4442b8 of _0x57a816['values']())'elementStart'===_0x215d74[_0x4442b8]['type']?_0x215d74[_0x4442b8]['item']['endIndex']=_0x57a816['get'](_0x215d74[_0x4442b8]['pairId']):'elementEnd'===_0x215d74[_0x4442b8]['type']&&(_0x215d74[_0x4442b8]['item']['startIndex']=_0x57a816['get'](_0x215d74[_0x4442b8]['pairId']));}['_processTape'](_0x3ed24e){for(let _0x40990f=0x0;_0x40990f<_0x3ed24e['length'];_0x40990f++){if('elementStart'===_0x3ed24e[_0x40990f]['type'])_0x3ed24e[_0x40990f]['item']['startIndex']=_0x40990f;else{if('elementEnd'===_0x3ed24e[_0x40990f]['type']){_0x3ed24e[_0x40990f]['item']['endIndex']=_0x40990f;const _0x2c58cb=_0x3ed24e[_0x40990f]['item']['startIndex'];_0x3ed24e[_0x2c58cb]['pairId']=_0x3ed24e[_0x40990f]['id'],_0x3ed24e[_0x40990f]['pairId']=_0x3ed24e[_0x2c58cb]['id'];}else _0x3ed24e[_0x40990f]['item']['startIndex']=_0x40990f,_0x3ed24e[_0x40990f]['item']['endIndex']=_0x40990f,_0x3ed24e[_0x40990f]['pairId']=null;}_0x3ed24e[_0x40990f]['markersStart']||(_0x3ed24e[_0x40990f]['markersStart']=[],_0x3ed24e[_0x40990f]['markersEnd']=[]);}}['_markInsertions'](_0x363030,_0x479696){const _0x552ed1=_0x363030['filter'](_0x614dea=>!_0x614dea['isAdded']);for(let _0x14f749=0x0;_0x14f749<_0x479696['length'];_0x14f749++)_0x479696[_0x14f749]['isAdded']&&(_0x552ed1[_0x14f749]['isAdded']=_0x479696[_0x14f749]['isAdded']);}['_makeModelFromViewString'](_0x13ae8e){const _0x2030d7=JSON['parse'](_0x13ae8e),_0x3e4f3a=this['editor']['editing']['view']['document'],_0x19cf6b=new _0x460862(_0x3e4f3a,_0x2030d7['map'](_0x5dda48=>this['_getViewObj'](_0x5dda48)));return this['editor']['data']['toModel'](_0x19cf6b);}['_getViewObj'](_0x2ec89f){const _0xbfcceb=this['editor']['editing']['view']['document'];if('string'==typeof _0x2ec89f)return new _0x50a1ef(_0xbfcceb,_0x2ec89f);{const _0x739bb1=_0x2ec89f['children']['map'](_0x18b508=>this['_getViewObj'](_0x18b508));return new(tt[_0x2ec89f['type']]||_0x39072b)(_0xbfcceb,_0x2ec89f['name'],_0x2ec89f['attributes'],_0x739bb1);}}['_getDiff'](_0x4e9037,_0x15b9da=null){const _0x4fa652=this['repository']['getRevision'](_0x4e9037),_0x56ae5f=_0x15b9da?this['repository']['getRevision'](_0x15b9da):null,_0x265b9b=this['_getRevisionsRange'](_0x4fa652,_0x56ae5f),_0x1cf0c6=_0x265b9b[_0x265b9b['length']-0x1],_0x40455c=new Map(),_0x3fed0e={'model':{},'attributes':{},'changes':[]},_0x13f148=new Set(),_0x5d83c0=new Map();for(let _0x10dbaf=_0x265b9b['length']-0x1;_0x10dbaf>=0x0;_0x10dbaf--){const _0x1967f9=_0x265b9b[_0x10dbaf];for(const _0xa40156 of Object['keys'](_0x1967f9['diffData']))if(_0x1967f9['diffData'][_0xa40156]['attachChange']){const _0x53a454=_0x1967f9['diffData'][_0xa40156]['attachChange'];_0x53a454['isAttached']?(_0x13f148['add'](_0xa40156),_0x5d83c0['has'](_0xa40156)&&_0x5d83c0['get'](_0xa40156)['userId']==_0x53a454['userId']?_0x5d83c0['delete'](_0xa40156):_0x5d83c0['set'](_0xa40156,_0x53a454)):_0x5d83c0['has'](_0xa40156)?(_0x13f148['delete'](_0xa40156),_0x5d83c0['delete'](_0xa40156)):(_0x13f148['add'](_0xa40156),_0x5d83c0['set'](_0xa40156,_0x53a454));}else _0x13f148['add'](_0xa40156);}for(const _0x505830 of _0x13f148){const _0x39a977=_0x5d83c0['has'](_0x505830)&&!_0x5d83c0['get'](_0x505830)['isAttached'];let _0x3bf478=_0x39a977?_0x265b9b['length']-0x1:0x0;const _0x4f3333=_0x39a977?-0x1:0x1;for(;_0x265b9b[_0x3bf478];){const _0x230ed7=_0x265b9b[_0x3bf478];if(_0x230ed7['diffData'][_0x505830]){const _0x4847f5=_0x39a977?_0x230ed7['diffData'][_0x505830]['attributesBefore']:_0x230ed7['diffData'][_0x505830]['attributesAfter'];_0x3fed0e['attributes'][_0x505830]=_0x4847f5?_0x4b53fb(_0x4847f5):{};break;}_0x3bf478+=_0x4f3333;}}for(const _0x11a110 of _0x265b9b){_0x11a110['model']={};for(const _0x518e47 of _0x11a110['authors'])_0x40455c['set'](_0x518e47['id'],_0x518e47);for(const _0x4933d4 of _0x13f148){const _0x44eb10=_0x11a110['diffData'][_0x4933d4]?_0x11a110['diffData'][_0x4933d4]['insertions']:'[]',_0x409f92=_0x11a110['diffData'][_0x4933d4]?_0x11a110['diffData'][_0x4933d4]['deletions']:'[]';_0x11a110['model'][_0x4933d4]={'insertions':this['_makeModelFromViewString'](_0x44eb10),'deletions':this['_makeModelFromViewString'](_0x409f92)};}}for(const _0x86ca42 of _0x13f148){let _0x3c6ef1=null,_0x4cac7f=0x0;const _0x35a1e0=new Map(Array['from'](_0x4fa652['model'][_0x86ca42]['insertions']['markers'])['filter'](([_0x3caaa2])=>!_0x3caaa2['startsWith']('revision:')));let _0x3fc4f9=0x0;for(const _0x35acf9 of _0x265b9b){const _0x5ec839=this['_makeTape'](_0x35acf9['model'][_0x86ca42]['insertions']);_0x35acf9==_0x4fa652?(_0x3c6ef1=_0x5ec839,_0x4cac7f=_0x3c6ef1['length'],_0x3c6ef1['forEach'](_0x2a957f=>{_0x2a957f['id']=_0x3fc4f9++;}),this['_processTape'](_0x3c6ef1)):this['_markInsertions'](_0x3c6ef1,_0x5ec839);const _0x536527=_0x3c6ef1['filter'](_0x1a1111=>!_0x1a1111['isAdded'])['map'](_0xb5c7e3=>_0xb5c7e3['id']);let _0x491a59=0x0;const _0x58a30d=this['_makeTape'](_0x35acf9['model'][_0x86ca42]['deletions']);_0x58a30d['forEach'](_0xcb41c1=>{_0xcb41c1['isRemoved']?_0xcb41c1['id']=_0x4cac7f++:_0xcb41c1['id']=_0x536527[_0x491a59++];}),this['_processTape'](_0x58a30d),this['_setDistance'](_0x3c6ef1,'isAdded'),this['_setDistance'](_0x58a30d,'isRemoved'),_0x35acf9==_0x4fa652&&this['_markMarkers'](_0x3c6ef1,_0x35a1e0),_0x3c6ef1=this['_joinTapes'](_0x3c6ef1,_0x58a30d),this['_refreshStartEndIndex'](_0x3c6ef1),this['_setDistance'](_0x3c6ef1,'isRemoved');}_0x3c6ef1=_0x3c6ef1['filter'](_0xc73338=>!(_0xc73338['isAdded']&&_0xc73338['isRemoved']));const _0xdb0490=new Map(_0x1cf0c6['model'][_0x86ca42]['deletions']['markers']),_0x5d11d2=new Set(_0x35a1e0['keys']());for(const _0x580473 of _0xdb0490['keys']())_0x5d11d2['delete'](_0x580473);this['_markSuggestions'](_0x3c6ef1,_0x5d11d2),this['_fixObsoleteTags'](_0x3c6ef1),_0x3c6ef1=this['_removeMissingPairs'](_0x3c6ef1),_0x3c6ef1=this['_markMismatchedRemovedTags'](_0x3c6ef1),_0x3c6ef1=this['_removeUnsupportedChanges'](_0x3c6ef1);const {root:_0x2220b2,changes:_0x1a4dc3}=this['_makeModelFromTape'](_0x3c6ef1,_0x40455c,_0x86ca42);_0x3fed0e['model'][_0x86ca42]=_0x2220b2;const _0x1dcce7=_0x5d83c0['get'](_0x86ca42);if(_0x1dcce7){const _0x1e5241=_0x40455c['get'](_0x1dcce7['userId']),_0x16a3e2=new r({'author':_0x1e5241,'type':_0x1dcce7['isAttached']?'add':'remove','data':{'isOnRoot':!0x0},'createdAt':new Date(),'rootName':_0x86ca42});_0x1a4dc3['unshift'](_0x16a3e2),_0x3fed0e['attributes'][_0x86ca42]['revisionHistoryAttachChange']=_0x16a3e2['id'];}_0x3fed0e['changes']=_0x3fed0e['changes']['concat'](_0x1a4dc3);}return _0x3fed0e;}['_markMarkers'](_0x3411d3,_0x284600){for(let _0x4c1998=0x0;_0x4c1998<_0x3411d3['length'];_0x4c1998++)for(const [_0x2b2258,_0x3d70c5]of _0x284600)_0x3d70c5['start']['isEqual'](_0x3411d3[_0x4c1998]['previousPosition'])&&_0x3411d3[_0x4c1998]['markersStart']['push'](_0x2b2258),_0x3d70c5['end']['isEqual'](_0x3411d3[_0x4c1998]['nextPosition'])&&_0x3411d3[_0x4c1998]['markersEnd']['push'](_0x2b2258);}['_joinTapes'](_0x47cf40,_0x3d4cf2){let _0x23820e=[],_0x38609d=0x0,_0x21e0c0=0x0;for(;_0x38609d<_0x47cf40['length']||_0x21e0c0<_0x3d4cf2['length'];){const _0x267475=_0x47cf40[_0x38609d]||{},_0x509502=_0x3d4cf2[_0x21e0c0]||{};if(_0x267475['id']==_0x509502['id'])_0x38609d++,_0x21e0c0++,_0x23820e['push'](_0x267475);else{if(_0x509502['isRemoved']&&_0x267475['isAdded']){const {commonTape:_0x55c680,iEnd:_0x290fd8,jEnd:_0x164b00}=this['_threeWayMerge'](_0x47cf40,_0x38609d,_0x3d4cf2,_0x21e0c0);_0x23820e=_0x23820e['concat'](_0x55c680),_0x38609d=_0x290fd8,_0x21e0c0=_0x164b00;}else _0x509502['isRemoved']?(_0x21e0c0++,_0x23820e['push'](_0x509502)):(_0x38609d++,_0x23820e['push'](_0x267475));}}return _0x23820e;}['_markSuggestions'](_0x1d444e,_0x43886f){const _0xbf39fa=[];for(let _0x4e80a6=0x0;_0x4e80a6<_0x1d444e['length'];_0x4e80a6++){for(let _0x377d79=0x0;_0x377d79<_0x1d444e[_0x4e80a6]['markersStart']['length'];_0x377d79++){const _0x103ce6=_0x1d444e[_0x4e80a6]['markersStart'][_0x377d79];if(!_0x43886f['has'](_0x103ce6))continue;const {group:_0x2d4815,type:_0x59ca67,authorId:_0x201807}=_0x52cd68(_0x103ce6);'revision-suggestion'!=_0x2d4815||'insertion'!=_0x59ca67&&'deletion'!=_0x59ca67||(_0xbf39fa['unshift']({'type':_0x59ca67,'name':_0x103ce6,'userId':_0x201807}),_0x1d444e[_0x4e80a6]['markersStart']['splice'](_0x377d79,0x1),_0x377d79--);}_0x11ea95(_0x1d444e[_0x4e80a6]);for(let _0x4637e8=0x0;_0x4637e8<_0x1d444e[_0x4e80a6]['markersEnd']['length'];_0x4637e8++){const _0x4115f8=_0x1d444e[_0x4e80a6]['markersEnd'][_0x4637e8];if(!_0x43886f['has'](_0x4115f8))continue;const {group:_0x223465,type:_0x287138}=_0x52cd68(_0x4115f8);if('revision-suggestion'!=_0x223465||'insertion'!=_0x287138&&'deletion'!=_0x287138)continue;_0x1d444e[_0x4e80a6]['markersEnd']['splice'](_0x4637e8,0x1),_0x4637e8--;const _0x50530b=_0xbf39fa['findIndex'](_0x548b10=>_0x548b10['name']==_0x4115f8);_0x50530b>-0x1&&_0xbf39fa['splice'](_0x50530b,0x1);}}function _0x52cd68(_0x4a98fc){const _0x48492f=_0x4a98fc['split'](':');return{'group':_0x48492f[0x0],'type':_0x48492f[0x1],'subType':_0x48492f['length']>=0x5?_0x48492f[0x2]:null,'id':_0x48492f['length']<0x5?_0x48492f[0x2]:_0x48492f[0x3],'authorId':_0x48492f['length']<0x5?_0x48492f[0x3]:_0x48492f[0x4],'markerCount':0x6==_0x48492f['length']?_0x48492f[0x5]:null};}function _0x11ea95(_0x4c72ea){for(let _0x2a594e=0x0;_0x2a594e<_0xbf39fa['length'];_0x2a594e++){if(_0x4c72ea['isAdded']&&'insertion'==_0xbf39fa[_0x2a594e]['type'])return _0x4c72ea['isAddSuggestion']=_0xbf39fa[_0x2a594e],void delete _0x4c72ea['isAdded'];if(!_0x4c72ea['isAdded']&&!_0x4c72ea['isRemoved']&&'deletion'==_0xbf39fa[_0x2a594e]['type'])return void(_0x4c72ea['isRemoveSuggestion']=_0xbf39fa[_0x2a594e]);}}}['_setDistance'](_0x498d70,_0x41e761){let _0x93e065=0x0,_0xad219a=!0x1;const _0x4dfaf5=new Map();for(const _0x4bd898 of _0x498d70)_0x4bd898[_0x41e761]?_0xad219a&&(_0x93e065++,_0xad219a=!0x1):(_0x93e065++,_0xad219a=!0x0),_0x4dfaf5['set'](_0x4bd898['id'],_0x93e065);for(let _0xec0c9=0x0;_0xec0c9<_0x498d70['length'];_0xec0c9++){if('isRemoved'==_0x41e761&&_0x498d70[_0xec0c9]['isAdded']||'isAdded'==_0x41e761&&_0x498d70[_0xec0c9]['isRemoved'])continue;if('text'==_0x498d70[_0xec0c9]['type']){_0x498d70[_0xec0c9]['distance']=0x0;continue;}const _0x29cb83=_0x4dfaf5['get'](_0x498d70[_0xec0c9]['pairId']),_0x34454b=_0x4dfaf5['get'](_0x498d70[_0xec0c9]['id']);_0x498d70[_0xec0c9]['distance']=_0x29cb83-_0x34454b;}}['_getRevisionsRange'](_0x233800,_0x4b7bcb,_0x392268=!0x1){const _0x4fd1f9=[];let _0x58a8fc=this['repository']['getIndex'](_0x233800),_0x25c1f1=this['repository']['getIndex'](_0x4b7bcb);for(-0x1==_0x25c1f1&&(_0x25c1f1=this['repository']['_revisions']['length'],_0x392268=!0x1);_0x58a8fc<_0x25c1f1;)_0x4fd1f9['push'](this['repository']['getRevision'](_0x58a8fc)),_0x58a8fc++;return _0x392268&&_0x4fd1f9['push'](this['repository']['getRevision'](_0x58a8fc)),_0x4fd1f9;}['_threeWayMerge'](_0x3b2570,_0x16d627,_0x2840be,_0xc2e126){const _0x4cb5fa=this['editor']['model']['schema'];let _0xdc0555=_0x16d627;for(;_0x3b2570[_0xdc0555]&&_0x3b2570[_0xdc0555]['isAdded'];)_0xdc0555++;let _0x4d744f=_0xc2e126;for(;_0x2840be[_0x4d744f]&&_0x2840be[_0x4d744f]['isRemoved'];)_0x4d744f++;_0x1c13a1(_0x3b2570,_0x16d627,_0xdc0555),_0x1c13a1(_0x2840be,_0xc2e126,_0x4d744f);const _0x28b7ee=_0x2840be['slice'](_0xc2e126,_0x4d744f)['concat'](_0x3b2570['slice'](_0x16d627,_0xdc0555));return _0x28b7ee['sort']((_0x3444d2,_0x39b3fe)=>_0x3444d2['side']!=_0x39b3fe['side']?_0x3444d2['side']-_0x39b3fe['side']:_0x3444d2['level']!=_0x39b3fe['level']?_0x3444d2['level']-_0x39b3fe['level']:_0x3444d2['distance']!=_0x39b3fe['distance']?_0x39b3fe['distance']-_0x3444d2['distance']:!!_0x3444d2['isAdded']!=!!_0x39b3fe['isAdded']?-0x1==_0x3444d2['side']||0x0==_0x3444d2['side']?_0x3444d2['isAdded']?-0x1:0x1:_0x3444d2['isAdded']?0x1:-0x1:_0x3444d2['index']-_0x39b3fe['index']),{'commonTape':_0x28b7ee,'iEnd':_0xdc0555,'jEnd':_0x4d744f};function _0x1c13a1(_0x169e21,_0x78152,_0x4d1a34){let _0x55a9f3=-0x1,_0x371864=Number['POSITIVE_INFINITY'],_0x1eab52=!0x0;for(let _0xdca029=_0x78152;_0xdca029<_0x4d1a34;_0xdca029++)if(_0x4cb5fa['isInline'](_0x169e21[_0xdca029]['item'])||(_0x1eab52=!0x1),_0x169e21[_0xdca029]['item']['startIndex']<_0x78152&&(_0x55a9f3=_0xdca029),_0x169e21[_0xdca029]['item']['endIndex']>=_0x4d1a34){_0x371864=_0xdca029;break;}_0x1eab52&&(_0x55a9f3=_0x4d1a34-0x1);for(let _0x3e2f72=_0x78152;_0x3e2f72<_0x4d1a34;_0x3e2f72++)_0x169e21[_0x3e2f72]['side']=_0x3e2f72<=_0x55a9f3?-0x1:_0x3e2f72<_0x371864?0x0:0x1,_0x169e21[_0x3e2f72]['index']=_0x3e2f72;let _0x2c765a=0x0;for(let _0x550fea=_0x78152;_0x550fea<=_0x55a9f3;_0x550fea++)0x0==_0x169e21[_0x550fea]['distance']?_0x169e21[_0x550fea]['level']=_0x2c765a:(_0x2c765a++,_0x169e21[_0x550fea]['level']=_0x2c765a,_0x2c765a++);for(let _0x262e43=_0x78152;_0x262e43<_0x4d1a34;_0x262e43++)0x0==_0x169e21[_0x262e43]['side']&&(_0x169e21[_0x262e43]['level']=_0x2c765a);_0x2c765a=0x0;for(let _0x26428b=_0x4d1a34-0x1;_0x26428b>=_0x371864;_0x26428b--)0x0==_0x169e21[_0x26428b]['distance']?_0x169e21[_0x26428b]['level']=_0x2c765a:(_0x2c765a--,_0x169e21[_0x26428b]['level']=_0x2c765a,_0x2c765a--);}}['_fixObsoleteTags'](_0x9e6b49){const _0x1eb716=new Map(),_0x543e85=this['editor']['model']['schema'];for(let _0x11c9d5=0x1;_0x11c9d5<_0x9e6b49['length'];_0x11c9d5++){let _0x275a49,_0x1aa8da,_0x57af4e;const _0x494c63=_0x9e6b49[_0x11c9d5],_0x2b720c=_0x9e6b49[_0x11c9d5-0x1];if('text'==_0x494c63['type'])continue;if(_0x494c63['type']!=_0x2b720c['type'])continue;if(!_0x543e85['isBlock'](_0x2b720c['item'])||_0x543e85['isLimit'](_0x2b720c['item']))continue;if(!_0x543e85['isBlock'](_0x494c63['item'])||_0x543e85['isLimit'](_0x494c63['item']))continue;if((_0x9e6b49[_0x11c9d5]['isAdded']||_0x9e6b49[_0x11c9d5]['isAddSuggestion'])&&_0x9e6b49[_0x11c9d5-0x1]['isRemoved'])_0x275a49=_0x9e6b49[_0x11c9d5],_0x1aa8da=_0x9e6b49[_0x11c9d5-0x1],_0x57af4e=_0x11c9d5-0x1;else{if(!_0x9e6b49[_0x11c9d5]['isRemoved']||!_0x9e6b49[_0x11c9d5-0x1]['isAdded']&&!_0x9e6b49[_0x11c9d5-0x1]['isAddSuggestion'])continue;_0x275a49=_0x9e6b49[_0x11c9d5-0x1],_0x1aa8da=_0x9e6b49[_0x11c9d5],_0x57af4e=_0x11c9d5;}const _0x3d6a87=_0x275a49['level']==_0x1aa8da['level'],_0x566c75=Math['abs'](_0x275a49['level'])<Math['abs'](_0x1aa8da['level'])&&0x0==_0x1aa8da['distance'];(_0x3d6a87||_0x566c75)&&(_0x1eb716['set'](_0x1aa8da['id'],_0x275a49['id']),_0x9e6b49['splice'](_0x57af4e,0x1),_0x11c9d5--,_0x275a49['isAdded']=!0x1);}for(let _0x446f5f=0x0;_0x446f5f<_0x9e6b49['length'];_0x446f5f++)_0x1eb716['has'](_0x9e6b49[_0x446f5f]['pairId'])&&(_0x9e6b49[_0x446f5f]['pairId']=_0x1eb716['get'](_0x9e6b49[_0x446f5f]['pairId']));}['_removeMissingPairs'](_0x11e755){const _0x31fa77=new Set(_0x11e755['map'](_0x32677c=>_0x32677c['id']));for(let _0x4348cc=0x0;_0x4348cc<_0x11e755['length'];_0x4348cc++)_0x31fa77['has'](_0x11e755[_0x4348cc]['pairId'])||0x0==_0x11e755[_0x4348cc]['distance']||(_0x11e755[_0x4348cc]['isIncorrect']=!0x0);return _0x11e755['filter'](_0x4e3ce0=>!_0x4e3ce0['isIncorrect']);}['_markMismatchedRemovedTags'](_0x14709b){const _0x47d56d=new Set();for(let _0x4a9aeb=0x0;_0x4a9aeb<_0x14709b['length'];_0x4a9aeb++){if(_0x47d56d['has'](_0x14709b[_0x4a9aeb]['id'])&&_0x14709b[_0x4a9aeb]['isRemoved']&&(_0x14709b[_0x4a9aeb]['isIncorrect']=!0x0),_0x14709b[_0x4a9aeb]['isIncorrect'])continue;if(0x0==_0x14709b[_0x4a9aeb]['distance'])continue;if('elementStart'!=_0x14709b[_0x4a9aeb]['type'])continue;if(null==_0x14709b[_0x4a9aeb]['pairId'])continue;let _0x20578b=_0x4a9aeb+0x1,_0x22fe69=0x0;for(;_0x14709b[_0x20578b]['id']!=_0x14709b[_0x4a9aeb]['pairId'];)'elementStart'==_0x14709b[_0x20578b]['type']?_0x22fe69++:'elementEnd'==_0x14709b[_0x20578b]['type']&&_0x22fe69--,_0x20578b++;if(0x0!=_0x22fe69){if(_0x14709b[_0x4a9aeb]['isRemoved'])_0x14709b[_0x4a9aeb]['isIncorrect']=!0x0;else{for(;_0x20578b!=_0x4a9aeb;)_0x14709b[_0x20578b]['isRemoved']&&0x0!=_0x14709b[_0x20578b]['distance']&&(_0x14709b[_0x20578b]['isIncorrect']=!0x0,_0x47d56d['add'](_0x14709b[_0x20578b]['pairId'])),_0x20578b--;}}}return _0x14709b['filter'](_0x56e675=>!_0x56e675['isIncorrect']);}['_removeUnsupportedChanges'](_0x20b7f9){const _0x5ba176=this['editor']['model']['schema'];for(let _0x2f6306=0x0;_0x2f6306<_0x20b7f9['length'];_0x2f6306++){if(!(_0x20b7f9[_0x2f6306]['isAdded']||_0x20b7f9[_0x2f6306]['isAddSuggestion']||_0x20b7f9[_0x2f6306]['isRemoved']||_0x20b7f9[_0x2f6306]['isRemoveSuggestion']))continue;if(0x0==_0x20b7f9[_0x2f6306]['distance'])continue;const _0x50b7b2=_0x20b7f9[_0x2f6306]['item'];_0x5ba176['isBlock'](_0x50b7b2)||_0x5ba176['isLimit'](_0x50b7b2)||(_0x20b7f9[_0x2f6306]['isAdded']&&delete _0x20b7f9[_0x2f6306]['isAdded'],_0x20b7f9[_0x2f6306]['isAddSuggestion']&&delete _0x20b7f9[_0x2f6306]['isAddSuggestion'],_0x20b7f9[_0x2f6306]['isRemoveSuggestion']&&delete _0x20b7f9[_0x2f6306]['isRemoveSuggestion'],_0x20b7f9[_0x2f6306]['isRemoved']&&(_0x20b7f9[_0x2f6306]['isIncorrect']=!0x0));}return _0x20b7f9['filter'](_0x535cd9=>!_0x535cd9['isIncorrect']);}['_makeModelFromTape'](_0x2be8a2,_0x41143b,_0x53f2f7){const _0x3b5516=new wt(),_0x91c40c=[],_0xac252b=new Map(),_0x290c03=this['editor']['model'],_0x3e0277=_0x290c03['schema'],_0x118e2a=[_0x3b5516],_0x1e1eb9={},_0x586978={'isAdded':[],'isRemoved':[],'isAddSuggestion':[],'isRemoveSuggestion':[]};let _0x2744ac=null;const _0x8d1abb=[0x0];for(let _0x1cbb65=0x0;_0x1cbb65<_0x2be8a2['length'];_0x1cbb65++){let _0x8f6858,_0x53131c;if('elementStart'===_0x2be8a2[_0x1cbb65]['type']){_0x8f6858=_0x290c03['createPositionFromPath'](_0x3b5516,_0x8d1abb);const _0x12fd52=new ft(_0x2be8a2[_0x1cbb65]['item']['name'],_0x2be8a2[_0x1cbb65]['item']['getAttributes']());_0x118e2a[0x0]['_appendChild'](_0x12fd52),_0x8d1abb['push'](0x0),_0x118e2a['unshift'](_0x12fd52),_0x53131c=_0x290c03['createPositionFromPath'](_0x3b5516,_0x8d1abb),_0x2744ac=null;}else{if('elementEnd'===_0x2be8a2[_0x1cbb65]['type'])_0x118e2a['shift'](),_0x8f6858=_0x290c03['createPositionFromPath'](_0x3b5516,_0x8d1abb),_0x8d1abb['pop'](),_0x8d1abb[_0x8d1abb['length']-0x1]++,_0x53131c=_0x290c03['createPositionFromPath'](_0x3b5516,_0x8d1abb),_0x2744ac=null;else{if(_0x8f6858=_0x290c03['createPositionFromPath'](_0x3b5516,_0x8d1abb),_0x2744ac&&_0x5b6d7e(_0x2744ac,_0x2be8a2[_0x1cbb65]['item']))_0x2744ac['_data']+=_0x2be8a2[_0x1cbb65]['item']['data'];else{const _0x2fb70e=new _t(_0x2be8a2[_0x1cbb65]['item']['data'],_0x2be8a2[_0x1cbb65]['item']['getAttributes']());_0x118e2a[0x0]['_appendChild'](_0x2fb70e),_0x2744ac=_0x2fb70e;}_0x8d1abb[_0x8d1abb['length']-0x1]+=_0x2be8a2[_0x1cbb65]['item']['offsetSize'],_0x53131c=_0x290c03['createPositionFromPath'](_0x3b5516,_0x8d1abb);}}for(const _0x208b48 of _0x2be8a2[_0x1cbb65]['markersStart'])_0xac252b['set'](_0x208b48,{'start':_0x8f6858,'end':null});_0x15ea46('isRemoveSuggestion',_0x1cbb65,_0x8f6858,_0x53131c),_0x15ea46('isAddSuggestion',_0x1cbb65,_0x8f6858,_0x53131c),_0x15ea46('isRemoved',_0x1cbb65,_0x8f6858,_0x53131c),_0x15ea46('isAdded',_0x1cbb65,_0x8f6858,_0x53131c);for(const _0x14753b of _0x2be8a2[_0x1cbb65]['markersEnd']){_0xac252b['get'](_0x14753b)['end']=_0x53131c;}}for(const [_0x52648e,_0x1efa07]of _0xac252b){const _0x276bec=this['editor']['model']['createRange'](_0x1efa07['start'],_0x1efa07['end']);_0x3b5516['markers']['set'](_0x52648e,_0x276bec);}return _0x91c40c['sort']((_0x504c18,_0x3673a3)=>{const _0xb6bbbc=_0x3b5516['markers']['get']('revision:'+_0x504c18['id']),_0x529aad=_0x3b5516['markers']['get']('revision:'+_0x3673a3['id']);return _0xb6bbbc['start']['isBefore'](_0x529aad['start'])?-0x1:_0xb6bbbc['start']['isAfter'](_0x529aad['start'])?0x1:_0xb6bbbc['end']['isBefore'](_0x529aad['end'])?-0x1:_0xb6bbbc['end']['isAfter'](_0x529aad['end'])?0x1:'add'===_0x504c18['type']?-0x1:0x1;}),{'root':_0x3b5516,'changes':_0x91c40c};function _0x15ea46(_0x599066,_0x1efce8,_0x427efc,_0x599a5e){const _0x52a23c=!!_0x2be8a2[_0x1efce8][_0x599066],_0x731ea7=_0x52a23c?_0x2be8a2[_0x1efce8][_0x599066]['userId']:null,_0x490ec0=_0x1efce8===_0x2be8a2['length']-0x1,_0x220645=_0x586978[_0x599066][0x0],_0x204174=_0x3e0277['isObject'](_0x2be8a2[_0x1efce8]['item']);!_0x1e1eb9[_0x599066]&&_0x52a23c?_0x1e1eb9[_0x599066]={'start':_0x427efc,'tapeItem':_0x2be8a2[_0x1efce8],'userId':_0x731ea7,'type':_0x599066}:_0x1e1eb9[_0x599066]&&!_0x52a23c?(_0x1e1eb9[_0x599066]['end']=_0x427efc,_0x534d88(_0x1e1eb9[_0x599066]),_0x1e1eb9[_0x599066]=null):_0x1e1eb9[_0x599066]&&_0x52a23c&&_0x1e1eb9[_0x599066]['userId']!==_0x731ea7&&(_0x1e1eb9[_0x599066]['end']=_0x427efc,_0x220645&&_0x220645['userId']===_0x1e1eb9[_0x599066]['userId']||_0x534d88(_0x1e1eb9[_0x599066]),_0x1e1eb9[_0x599066]={'start':_0x427efc,'tapeItem':_0x2be8a2[_0x1efce8],'userId':_0x731ea7,'type':_0x599066}),_0x1e1eb9[_0x599066]&&_0x204174&&('elementStart'!==_0x2be8a2[_0x1efce8]['type']||_0x220645&&_0x220645['userId']===_0x731ea7||_0x586978[_0x599066]['unshift']({'userId':_0x731ea7,'object':_0x2be8a2[_0x1efce8]['item'],'change':_0x1e1eb9[_0x599066]}),'elementEnd'===_0x2be8a2[_0x1efce8]['type']&&_0x220645&&_0x220645['object']===_0x2be8a2[_0x1efce8]['item']&&(_0x586978[_0x599066]['shift'](),_0x1e1eb9[_0x599066]=_0x220645['change'])),_0x1e1eb9[_0x599066]&&_0x490ec0&&(_0x1e1eb9[_0x599066]['end']=_0x599a5e,_0x534d88(_0x1e1eb9[_0x599066]),_0x1e1eb9[_0x599066]=null);}function _0x534d88({start:_0x15149f,end:_0x2cc886,tapeItem:_0x3ddac1,userId:_0x3d98e0,type:_0x46416f}){const _0x4a562a=_0x3ddac1['item'],_0x41f4af=_0x290c03['schema']['isBlock'](_0x4a562a)&&!_0x290c03['schema']['isLimit'](_0x4a562a),_0x13a2f1=_0x15149f['nodeAfter']==_0x2cc886['parent']&&_0x2cc886['isAtStart'];if(_0x41f4af&&_0x13a2f1)return;const _0x26aa0f=_0x290c03['createRange'](_0x15149f,_0x2cc886),_0x3df4fd=_0x41143b['get'](_0x3d98e0),_0x470947=new r({'author':_0x3df4fd,'type':'isAdded'==_0x46416f||'isAddSuggestion'==_0x46416f?'add':'remove','data':{'isSuggestion':'isAddSuggestion'==_0x46416f||'isRemoveSuggestion'==_0x46416f},'createdAt':new Date(),'rootName':_0x53f2f7});_0x91c40c['push'](_0x470947),_0x3b5516['markers']['set']('revision:'+_0x470947['id'],_0x26aa0f);}function _0x5b6d7e(_0x4b5df0,_0x4f40d3){const _0x2379fb=_0x4b5df0['getAttributes'](),_0x19a023=_0x4f40d3['getAttributes']();for(const _0x20d61d of _0x2379fb){if(_0x20d61d[0x1]!==_0x4f40d3['getAttribute'](_0x20d61d[0x0]))return!0x1;_0x19a023['next']();}return _0x19a023['next']()['done'];}}['_setConversion'](){this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'revision'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision','view':_0x28ef9d=>{const _0x1d9414=_0x28ef9d['markerName']['split'](':')[0x1],_0x5d477a=this['_getChangeFromId'](_0x1d9414);if(!_0x5d477a)return null;const _0x21a282='add'==_0x5d477a['type']?'insertion':'deletion',_0x3349d9=['ck-suggestion-marker','ck-suggestion-marker-'+_0x21a282];return _0x5d477a['data']['isSuggestion']&&_0x3349d9['push']('ck-suggestion-marker-'+_0x21a282+'-new'),this['activeChange']==_0x5d477a&&_0x3349d9['push']('ck-suggestion-marker--active'),{'classes':_0x3349d9,'attributes':{'data-change-id':_0x1d9414}};}}),this['editor']['conversion']['for']('upcast')['add'](_0x250422=>{_0x250422['on']('element:pre',(_0x54f170,_0xa35a97,_0x15409b)=>{const _0xbcf740=_0xa35a97['viewItem']['getChild'](0x0);if(!_0xbcf740||!_0xbcf740['is']('element','code'))return;if(!_0x15409b['consumable']['consume'](_0xbcf740,{'attributes':['vid_start','vid_end']}))return;const _0x2f5a57=_0xa35a97['modelRange']['start']['nodeAfter'];_0x15409b['writer']['setAttribute']('vid_start',_0xbcf740['getAttribute']('vid_start'),_0x2f5a57),_0x15409b['writer']['setAttribute']('vid_end',_0xbcf740['getAttribute']('vid_end'),_0x2f5a57);},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['add'](_0x142757=>{_0x142757['on']('element',(_0x36b064,_0xcec1d3,_0x79820d)=>{if(!_0x79820d['consumable']['consume'](_0xcec1d3['viewItem'],{'attributes':['vid_start','vid_end']}))return;if(_0xcec1d3['modelRange']['isCollapsed'])return;const _0xfa79f5=_0xcec1d3['modelRange']['start']['nodeAfter'];_0xfa79f5['hasAttribute']('vid_start')||_0xfa79f5['hasAttribute']('vid')||(_0x79820d['writer']['setAttribute']('vid_start',_0xcec1d3['viewItem']['getAttribute']('vid_start'),_0xfa79f5),_0x79820d['writer']['setAttribute']('vid_end',_0xcec1d3['viewItem']['getAttribute']('vid_end'),_0xfa79f5));},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['elementToAttribute']({'view':{'name':'span','attributes':{'vid':!0x0}},'model':{'key':'vid','value':_0x5dea84=>_0x5dea84['getAttribute']('vid')}}),this['editor']['model']['schema']['on']('checkAttribute',(_0xd57c51,[,_0x277a58])=>{['vid_start','vid_end','vid']['includes'](_0x277a58)&&(_0xd57c51['return']=!0x0,_0xd57c51['stop']());},{'priority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['add'](_0x548a62=>{_0x548a62['on']('attribute:vid',(_0x35048a,_0x759639,_0x58a75e)=>{if('\x20'!=_0x759639['item']['data']||_0x759639['item']['parent']['maxOffset']>0x1)return;if(!_0x58a75e['consumable']['consume'](_0x759639['item'],_0x35048a['name']))return;const _0x3a36be=_0x58a75e['writer'],_0x4fba5c=_0x58a75e['mapper']['toViewRange'](_0x759639['range']);_0x3a36be['wrap'](_0x4fba5c,_0x3a36be['createAttributeElement']('span'));});}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',function(_0x298145){const _0x448594=_0x298145['plugins']['get']('RevisionViewer');return(_0x5f5094,_0x367ee1,_0x380e4e)=>{const _0x4e1031=_0x367ee1['markerName']['split'](':')[0x1],_0xe176a6=_0x448594['_getChangeFromId'](_0x4e1031);if(!_0xe176a6)return null;const _0x5ddfcb='add'==_0xe176a6['type']?'split':'merge';if(!_0x380e4e['consumable']['test'](_0x367ee1['markerRange'],_0x5f5094['name']))return;const _0x2e2fe7=_0x367ee1['markerRange']['getWalker'](),_0x56d941=_0x367ee1['markerRange']['start'],_0x33cd1d=_0x298145['model']['schema'];let _0x5f45e1=null,_0x1a3503=null,_0x563d52=!0x1,_0x2f70c4=!0x1;for(const _0x4012b6 of _0x2e2fe7){const _0x5ce592=_0x4012b6['item'];_0x563d52=_0x563d52||_0x33cd1d['isContent'](_0x5ce592);const _0x97d60c=_0x380e4e['mapper']['toViewElement'](_0x5ce592);if(_0x97d60c&&_0x97d60c['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x4012b6['type']&&(_0x33cd1d['isBlock'](_0x5ce592)&&!_0x33cd1d['isLimit'](_0x5ce592)&&(_0x5ce592['nextSibling']||_0x56d941['isAtEnd']?_0x5f45e1&&_0x5f45e1['parent']==_0x5ce592||(_0x5f45e1=_0x5ce592,_0x2cb988(_0x4012b6['previousPosition']),_0x2f70c4=!0x0):_0x1a3503=_0x1a3503||_0x4012b6['previousPosition']));}function _0x2cb988(_0xe7c5ab){const _0x330175=_0x380e4e['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x5ddfcb}),_0xac321e=_0x380e4e['mapper']['toViewPosition'](_0xe7c5ab);_0xe176a6['data']['isSuggestion']&&_0x380e4e['writer']['addClass']('ck-suggestion-marker-'+_0x5ddfcb+'-new',_0x330175),_0x448594['activeChange']==_0xe176a6&&_0x380e4e['writer']['addClass']('ck-suggestion-marker--active',_0x330175),_0x380e4e['writer']['insert'](_0xac321e,_0x330175),_0x380e4e['mapper']['bindElementToMarker'](_0x330175,_0x367ee1['markerName']);}_0x563d52||_0x2f70c4||!_0x1a3503||_0x2cb988(_0x1a3503);};}(this['editor']),{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('removeMarker:revision',(_0xf15779,_0x32d2b7,_0x38b1cc)=>{const _0x34d66a=_0x38b1cc['mapper']['markerNameToElements'](_0x32d2b7['markerName']);if(_0x34d66a){for(const _0x37f8e1 of _0x34d66a)(_0x37f8e1['hasClass']('ck-suggestion-marker-split')||_0x37f8e1['hasClass']('ck-suggestion-marker-merge'))&&(_0x38b1cc['mapper']['unbindElementFromMarkerName'](_0x37f8e1,_0x32d2b7['markerName']),_0x38b1cc['writer']['remove'](_0x37f8e1));}},{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',(_0x598d35,_0x21e2d3,_0x5aef24)=>{const _0x18c7f1=_0x21e2d3['markerName']['split'](':')[0x1],_0x837e1b=this['_getChangeFromId'](_0x18c7f1);if(!_0x837e1b)return null;const _0x552e99='add'==_0x837e1b['type']?'split':'merge';if(_0x5aef24['consumable']['test'](_0x21e2d3['markerRange'],_0x598d35['name']))for(const _0x309ed2 of _0x21e2d3['markerRange']['getItems']()){if(!_0x309ed2['is']('element','softBreak'))continue;const _0x54ad91=_0x5aef24['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x552e99}),_0x3204c8=_0x5aef24['mapper']['toViewPosition'](this['editor']['model']['createPositionBefore'](_0x309ed2));_0x837e1b['data']['isSuggestion']&&_0x5aef24['writer']['addClass']('ck-suggestion-marker-'+_0x552e99+'-new',_0x54ad91),this['activeChange']==_0x837e1b&&_0x5aef24['writer']['addClass']('ck-suggestion-marker--active',_0x54ad91),_0x5aef24['writer']['insert'](_0x3204c8,_0x54ad91),_0x5aef24['mapper']['bindElementToMarker'](_0x54ad91,_0x21e2d3['markerName']);}},{'priority':'high'}),this['editor']['model']['document']['on']('change',()=>{this['editor']['editing']['view']['change'](_0x2a1a93=>{for(const _0xa85655 of this['editor']['model']['document']['getRootNames']()){const _0x301989=this['editor']['model']['document']['getRoot'](_0xa85655),_0xb4cd7=this['editor']['editing']['view']['document']['getRoot'](_0xa85655);if(_0xb4cd7){const _0x2d1f02=_0x301989['getAttribute']('revisionHistoryAttachChange');if(_0x2a1a93['removeAttribute']('data-change-id',_0xb4cd7),_0x2a1a93['removeClass']('ck-revision-history-root-add',_0xb4cd7),_0x2a1a93['removeClass']('ck-revision-history-root-remove',_0xb4cd7),_0x2a1a93['removeClass']('ck-revision-history-root--active',_0xb4cd7),_0x2d1f02){const _0x209e73=this['_getChangeFromId'](_0x2d1f02);if(!_0x209e73)return null;_0x2a1a93['setAttribute']('data-change-id',_0x2d1f02,_0xb4cd7),_0x2a1a93['addClass']('ck-revision-history-root-'+_0x209e73['type'],_0xb4cd7),this['activeChange']==_0x209e73&&_0x2a1a93['addClass']('ck-revision-history-root--active',_0xb4cd7);}}}});}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'comment','model':_0x5179a8=>'revision-comment:'+_0x5179a8,'converterPriority':'highest'}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'suggestion','model':_0x5efaba=>'revision-suggestion:'+_0x5efaba,'converterPriority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision-suggestion','view':_0x3c29e3=>({'name':'suggestion:'+_0x3c29e3,'group':'revision-suggestion'}),'converterPriority':'highest'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision-suggestion','view':_0x10aa37=>{const _0x24615c=_0x10aa37['markerName']['split'](':')[0x1];return'insertion'!=_0x24615c&&'deletion'!=_0x24615c?null:{'classes':['ck-suggestion-preview-marker','ck-suggestion-preview-marker-'+_0x24615c]};}}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision-suggestion:deletion',et(this['editor'],'merge'),{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision-suggestion:insertion',et(this['editor'],'split'),{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('removeMarker:revision-suggestion',(_0x6a722b,_0x4b1f3c,_0x5f945d)=>{const _0x3635d9=_0x5f945d['mapper']['markerNameToElements'](_0x4b1f3c['markerName']);if(_0x3635d9){for(const _0x2e969c of _0x3635d9)_0x2e969c['is']('uiElement')&&(_0x5f945d['mapper']['unbindElementFromMarkerName'](_0x2e969c,_0x4b1f3c['markerName']),_0x5f945d['writer']['remove'](_0x2e969c));}},{'priority':'high'});}['_getChangeFromId'](_0x5c337e){return this['_changeIdToChange']['get'](_0x5c337e);}['_getViewForChange'](_0x5044aa){return this['_changeView']&&this['_changeView']['destroy'](),this['_changeView']=new Z(this['editor']['locale'],_0x5044aa),this['_changeView'];}['_initInteractions'](){this['editor']['model']['document']['selection']['observeMarkers']('revision'),this['on']('change:activeView',(_0x1828b5,_0x36339f,_0xed37e6,_0x2cd676)=>{_0x2cd676&&this['_balloon']['remove'](_0x2cd676),_0xed37e6&&(this['_balloon']['add']({'view':_0xed37e6,'stackId':'revisionHistoryLabel','position':{'target':()=>{const _0xd8c69d=this['editor']['editing'],_0x2e3c9a=this['_getChangeFromId'](_0xed37e6['changeId']);let _0xf095a3;if(_0x2e3c9a['data']['isOnRoot']){const _0x1d22e3=_0xd8c69d['view']['getDomRoot'](_0x2e3c9a['rootName']);_0xf095a3=Array['from'](_0x1d22e3['getClientRects']());}else{const _0x42ee23=this['editor']['model']['markers']['get']('revision:'+_0xed37e6['changeId']);_0xf095a3=Array['from'](_0xd8c69d['mapper']['markerNameToElements'](_0x42ee23['name']))['map'](_0x2bdb9b=>_0xd8c69d['view']['domConverter']['mapViewToDom'](_0x2bdb9b))['map'](_0x48596e=>Array['from'](_0x48596e['getClientRects']()))['flat']();}if(!this['_activeViewTarget'])return _0xf095a3[0x0];return _0xf095a3['find'](_0x46742c=>_0x46742c['top']-0x3<=this['_activeViewTarget']['y']&&_0x46742c['bottom']+0x3>=this['_activeViewTarget']['y']&&_0x46742c['left']-0x3<=this['_activeViewTarget']['x']&&_0x46742c['right']+0x3>=this['_activeViewTarget']['x'])||_0xf095a3[0x0];}}}),this['_balloon']['showStack']('revisionHistoryLabel'));}),this['on']('change:activeChange',(_0x36fd24,_0x1b53aa,_0x21bc93,_0x2bbd0c)=>{this['activeView']=_0x21bc93?this['_getViewForChange'](_0x21bc93):null,this['editor']['model']['change'](()=>{const _0x5132b6=this['editor']['editing'];_0x2bbd0c&&(_0x2bbd0c['data']['isOnRoot']?_0x5132b6['view']['change'](_0x4a4e16=>{_0x4a4e16['removeClass']('ck-revision-history-root--active',_0x5132b6['view']['document']['getRoot'](_0x2bbd0c['rootName']));}):_0x5132b6['reconvertMarker']('revision:'+_0x2bbd0c['id'])),_0x21bc93&&(_0x21bc93['data']['isOnRoot']?_0x5132b6['view']['change'](_0xaf4183=>{_0xaf4183['addClass']('ck-revision-history-root--active',_0x5132b6['view']['document']['getRoot'](_0x21bc93['rootName']));}):_0x5132b6['reconvertMarker']('revision:'+_0x21bc93['id']));});}),this['listenTo'](this['editor']['editing']['view']['document'],'mouseover',(_0x50b117,_0x13a564)=>{if(this['activeChange'])return;const _0x1adc1b=this['_findChangeIdFromDomTarget'](_0x13a564['target']),_0x222cb8=this['_changeIdToChange']['get'](_0x1adc1b);_0x222cb8?(this['_activeViewTarget']={'x':_0x13a564['domEvent']['x'],'y':_0x13a564['domEvent']['y']},this['activeView']=this['_getViewForChange'](_0x222cb8)):(this['_activeViewTarget']=null,this['activeView']=null);}),this['listenTo'](this['editor']['editing']['view']['document'],'mousedown',(_0x3a38e4,_0x579841)=>{const _0x4910c9=this['_findChangeIdFromDomTarget'](_0x579841['target']),_0x52454f=this['_changeIdToChange']['get'](_0x4910c9);_0x52454f?(this['_activeViewTarget']={'x':_0x579841['domEvent']['x'],'y':_0x579841['domEvent']['y']},_0x52454f===this['activeChange']?this['_balloon']['updatePosition']():this['activeChange']=_0x52454f):(this['_activeViewTarget']=null,this['activeChange']=null);});}['_findChangeIdFromDomTarget'](_0x3afb08){do{const _0x36e30e=_0x3afb08['getAttribute']('data-change-id');if(_0x36e30e)return _0x36e30e;_0x3afb08=_0x3afb08['parent'];}while(_0x3afb08);return null;}['_cleanMarkers'](){this['editor']['model']['change'](_0x27f505=>{for(const _0x1fdbe1 of this['editor']['model']['markers'])_0x27f505['removeMarker'](_0x1fdbe1);});}}function et(_0x1a4963,_0x52aff0){return(_0x20ab94,_0x31ac9e,_0x24280c)=>{if(!_0x24280c['consumable']['test'](_0x31ac9e['markerRange'],_0x20ab94['name']))return;const _0x533583=_0x31ac9e['markerRange']['getWalker'](),_0x2d5a91=_0x31ac9e['markerRange']['start'],_0x6092a4=_0x1a4963['model']['schema'];let _0x498d33=null,_0x236028=null,_0x2c61ee=!0x1,_0x242a2e=!0x1;for(const _0x19809b of _0x533583){const _0xd0ac33=_0x19809b['item'];_0x2c61ee=_0x2c61ee||_0x6092a4['isContent'](_0xd0ac33);const _0x3798df=_0x24280c['mapper']['toViewElement'](_0xd0ac33);if(_0x3798df&&_0x3798df['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x19809b['type']&&(_0x6092a4['isBlock'](_0xd0ac33)&&!_0x6092a4['isLimit'](_0xd0ac33)&&(_0xd0ac33['nextSibling']||_0x2d5a91['isAtEnd']?_0x498d33&&_0x498d33['parent']==_0xd0ac33||(_0x498d33=_0xd0ac33,_0x48baa7(_0x19809b['previousPosition']),_0x242a2e=!0x0):_0x236028=_0x236028||_0x19809b['previousPosition']));}function _0x48baa7(_0xf8a08b){const _0x46ecc3=_0x24280c['mapper']['toViewPosition'](_0xf8a08b),_0x1c337a=_0x24280c['writer']['createUIElement']('span',{'class':'ck-suggestion-preview-marker-'+_0x52aff0});_0x24280c['writer']['insert'](_0x46ecc3,_0x1c337a),_0x24280c['mapper']['bindElementToMarker'](_0x1c337a,_0x31ac9e['markerName']);}_0x2c61ee||_0x242a2e||!_0x236028||_0x48baa7(_0x236028);};}class bt extends _0xf51837{constructor(_0x24b17f){super(_0x24b17f);const _0x6ea72c=_0x24b17f['plugins']['get'](d);this['affectsData']=!0x1,this['listenTo'](_0x6ea72c,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x6ea72c,'change:isEnabled',()=>this['refresh']());}['execute'](){const _0x3eec57=this['editor'],_0x53f8fb=_0x3eec57['plugins']['get'](d),_0x2782b1=_0x53f8fb['isReady']?_0x53f8fb['diff']['newRevisionId']:null;_0x3eec57['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x2782b1);}['refresh'](){const {isReady:_0x55aa46,isEnabled:_0x2bb0c2}=this['editor']['plugins']['get'](d);this['isEnabled']=_0x55aa46&&_0x2bb0c2;}}class yt extends _0xf51837{['_step'];constructor(_0x2578bb,{direction:_0x312cfb}){super(_0x2578bb);const _0x518952=_0x2578bb['plugins']['get'](d);this['affectsData']=!0x1,this['_step']='forward'===_0x312cfb?0x1:-0x1,this['listenTo'](_0x518952,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x518952,'change:isEnabled',()=>this['refresh']()),this['listenTo'](_0x518952,'change:activeChange',()=>this['refresh']());}['execute'](){const _0xa413d0=this['editor'],_0x357004=_0xa413d0['plugins']['get'](d),{isNavigationMode:_0x45e9cc,currentChangeNumber:_0x25e946}=_0x357004;let _0x25b75f;if(_0x357004['activeChange']=_0x45e9cc?_0x357004['diff']['changes']['get'](_0x25e946+this['_step']):_0x357004['diff']['changes']['first'],_0x357004['activeChange']['data']['isOnRoot'])_0x25b75f=_0xa413d0['editing']['view']['getDomRoot'](_0x357004['activeChange']['rootName']);else{const _0x18f8a3=_0xa413d0['model']['markers']['get']('revision:'+_0x357004['activeChange']['id']);_0x25b75f=_0x2d6bd0(_0xa413d0['editing'],_0x18f8a3);}_0x30526b({'target':_0x25b75f,'viewportOffset':0x28});}['refresh'](){const {isNavigationMode:_0xc41c2b,currentChangeNumber:_0x23f9fb,numberOfChanges:_0x4d4037,isReady:_0x10223d,isEnabled:_0x5f4d26}=this['editor']['plugins']['get'](d);this['isEnabled']=!!(_0x5f4d26&&_0x10223d&&_0x4d4037)&&(!_0xc41c2b||(0x1===this['_step']?_0x23f9fb<_0x4d4037-0x1:_0x23f9fb>0x0));}}class _i extends _0x2d463e{constructor(_0x47427b){super(_0x47427b);const _0x4b3f03=this['bindTemplate'],_0x1a52b7=new _0x209397(_0x47427b),_0x373a69=new _0x209397(_0x47427b);this['set']('isNavigationMode',!0x1),this['set']('isReady',!0x1),this['set']('currentChangeNumber',0x0),this['set']('numberOfChanges',0x0),this['set']('isForwardNavigationEnabled',!0x1),this['set']('isBackwardNavigationEnabled',!0x1),this['bind']('_isStatusLabelVisible')['to'](this,'isReady',this,'numberOfChanges',(_0x312050,_0x3ee21b)=>_0x312050&&_0x3ee21b>0x0),this['bind']('_statusText')['to'](this,'isReady',this,'currentChangeNumber',this,'numberOfChanges',this,'isNavigationMode',(_0x2632fa,_0x21d5da,_0x1da2b8,_0x2fa1db)=>{if(!_0x2632fa)return y(_0x47427b,'Loading...');if(!_0x1da2b8)return y(_0x47427b,'No\x20changes');const _0x222b70=y(_0x47427b,'NUMBER_OF_CHANGES',_0x1da2b8);return _0x2fa1db?y(_0x47427b,'X_OF_Y_CHANGES',[_0x21d5da+0x1,_0x1da2b8]):_0x222b70;}),_0x1a52b7['set']({'label':y(_0x47427b,'Show\x20previous\x20change'),'tooltip':!0x0,'icon':'<svg\x20viewBox=\x220\x200\x2020\x2020\x22\x20xmlns=\x22http://www.w3.org/2000/svg\x22><path\x20d=\x22M16.435\x2014.494a.75.75\x200\x200\x200\x201.197-.899l-.067-.089-6.992-8a.75.75\x200\x200\x200-1.05-.078l-.079.078-7.008\x208a.75.75\x200\x200\x200\x201.049\x201.066l.08-.078\x206.442-7.354\x206.428\x207.354z\x22/></svg>\x0a'}),_0x373a69['set']({'label':y(_0x47427b,'Show\x20next\x20change'),'tooltip':!0x0,'icon':'<svg\x20viewBox=\x220\x200\x2020\x2020\x22\x20xmlns=\x22http://www.w3.org/2000/svg\x22><path\x20d=\x22M16.435\x205.506a.75.75\x200\x200\x201\x201.197.899l-.067.089-6.992\x208a.75.75\x200\x200\x201-1.05.078l-.079-.078-7.008-8a.75.75\x200\x200\x201\x201.049-1.066l.08.078\x206.442\x207.354\x206.428-7.354z\x22/></svg>\x0a'}),_0x1a52b7['bind']('isEnabled')['to'](this,'isBackwardNavigationEnabled'),_0x373a69['bind']('isEnabled')['to'](this,'isForwardNavigationEnabled'),_0x1a52b7['on']('execute',()=>this['fire']('execute','backward')),_0x373a69['on']('execute',()=>this['fire']('execute','forward')),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-revision-history-ui','ck-revision-history-ui__changes-navigation']},'children':[{'tag':'span','attributes':{'class':['ck-revision-history-ui__changes-navigation__wrapper']},'children':[{'tag':'span','attributes':{'class':['ck-revision-history-ui__changes-navigation__label',_0x4b3f03['if']('_isStatusLabelVisible','ck-hidden',_0x2d3adb=>!_0x2d3adb)]},'children':[{'text':_0x4b3f03['to']('isNavigationMode',_0x58c0fc=>_0x58c0fc?y(_0x47427b,'EDIT_X_OF_Y_REVISIONS')+':\x20':y(_0x47427b,'Total')+':\x20')}]},{'text':_0x4b3f03['to']('_statusText')}]},new _0x587373(),{'tag':'div','attributes':{'class':['ck-revision-history-ui__changes-navigation__navigation']},'children':[_0x1a52b7,_0x373a69]}]});}}const ce='ck-editor__editable__loading-overlay';class de extends _0x2b7243{static get['pluginName'](){return'RevisionViewerLoadingOverlay';}['show'](){const _0x2eede3=this['editor']['editing']['view'];_0x2eede3['change'](_0x1bc407=>{for(const _0x53d2ef of _0x2eede3['document']['roots'])_0x1bc407['addClass'](ce,_0x53d2ef);});}['hide'](){const _0x534bf1=this['editor']['editing']['view'];_0x534bf1['change'](_0x4e7383=>{for(const _0x1afdde of _0x534bf1['document']['roots'])_0x4e7383['removeClass'](ce,_0x1afdde);});}}class R extends _0x2b7243{static get['pluginName'](){return'RevisionViewerUI';}static get['requires'](){return[d,de];}['init'](){const _0x99c3b6=this['editor'],_0x30cdea=_0x99c3b6['plugins']['get'](d),_0x1083b2=_0x99c3b6['plugins']['get'](de);_0x99c3b6['ui']['componentFactory']['add']('exitToEditing',_0x586cfc=>{const _0x265ef0=new _0x209397(_0x586cfc);return _0x265ef0['set']({'label':y(_0x586cfc,'Back\x20to\x20editing'),'icon':_0x299fa9['undo'],'withText':!0x0,'tooltip':!0x0,'class':'ck-revision-history-ui__back-to-editing'}),this['listenTo'](_0x265ef0,'execute',()=>{_0x99c3b6['config']['get']('revisionHistory')['closeRevisionViewerCallback']();}),_0x265ef0;}),_0x99c3b6['ui']['componentFactory']['add']('restoreRevision',_0x2a6987=>{const _0x1e7f10=new _0x209397(_0x2a6987);return _0x1e7f10['set']({'label':y(_0x2a6987,'Restore\x20this\x20revision'),'withText':!0x0,'tooltip':!0x0}),_0x1e7f10['bind']('isEnabled')['to'](_0x99c3b6['commands']['get']('restoreRevision')),this['listenTo'](_0x1e7f10,'execute',()=>_0x99c3b6['execute']('restoreRevision')),_0x1e7f10;}),_0x99c3b6['ui']['componentFactory']['add']('changesNavigation',_0x17c0a1=>{const _0x509d68=new _i(_0x17c0a1),_0x1f5fc3=_0x99c3b6['commands']['get']('showPreviousChange'),_0x47fa58=_0x99c3b6['commands']['get']('showNextChange');return _0x509d68['bind']('isBackwardNavigationEnabled')['to'](_0x1f5fc3,'isEnabled'),_0x509d68['bind']('isForwardNavigationEnabled')['to'](_0x47fa58,'isEnabled'),_0x509d68['bind']('isReady','currentChangeNumber','numberOfChanges','isNavigationMode')['to'](_0x30cdea),this['listenTo'](_0x509d68,'execute',(_0x37e4d2,_0xe2b591)=>{_0x99c3b6['execute']('forward'===_0xe2b591?'showNextChange':'showPreviousChange');}),_0x509d68;}),_0x1083b2['show'](),_0x30cdea['on']('change:isReady',(_0x3bed2e,_0x5225d4,_0x291f34)=>{_0x291f34?_0x1083b2['hide']():_0x1083b2['show']();});}}class kt extends at{['_resizeObserver']=null;constructor(_0x1d4878,_0x2463e6){super(_0x1d4878,_0x2463e6);const _0xaed220=this['bindTemplate'];this['set']({'label':y(_0x1d4878,'Revision\x20name'),'_tooltipString':''}),this['fieldView']['placeholder']=y(_0x1d4878,'Enter\x20the\x20revision\x20name'),this['extendTemplate']({'tag':'span','attributes':{'class':['ck-revision-history-sidebar__revision-name'],'data-cke-tooltip-text':_0xaed220['to']('_tooltipString'),'data-cke-tooltip-position':'s','data-cke-tooltip-class':'ck-tooltip_multi-line'}});}['render'](){super['render'](),this['_resizeObserver']=new mt(this['fieldView']['element'],()=>this['_updateTooltipText']()),this['listenTo'](this['fieldView'],'input',()=>this['_updateTooltipText']());}['destroy'](){super['destroy'](),this['_resizeObserver']&&this['_resizeObserver']['destroy']();}['_updateTooltipText'](){const _0x24bb82=this['fieldView']['element'];this['_tooltipString']=_0x24bb82['scrollWidth']>_0x24bb82['clientWidth']&&_0x24bb82['value']||'';}}class ti extends _0x2d463e{constructor(_0x469121,_0x21e635,_0x28c486){super(_0x469121);const _0x113c42=new _0x595a2c();_0x113c42['set']({'content':'<svg\x20viewBox=\x220\x200\x2011\x2010\x22\x20xmlns=\x22http://www.w3.org/2000/svg\x22\x20xmlns:xlink=\x22http://www.w3.org/1999/xlink\x22><path\x20d=\x22M5.5\x205C8.538\x205\x2011\x207.015\x2011\x209.5c0\x20.17-.011.336-.034.5H.034A3.732\x203.732\x200\x200\x201\x200\x209.5C0\x207.015\x202.462\x205\x205.5\x205zm0-5a2.5\x202.5\x200\x201\x201\x200\x205\x202.5\x202.5\x200\x200\x201\x200-5z\x22\x20/></svg>\x0a','viewBox':'0\x200\x2011\x2010'});const _0xdb70b2=['ck','ck-revision-history-sidebar__revision-author'];_0x28c486&&_0xdb70b2['push']('ck-revision-history-sidebar__revision-author_creator');const _0x452ae4=[{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__revision-author__name'],'title':y(_0x469121,_0x28c486?'Revision\x20creator':'Revision\x20author')},'children':[_0x113c42,_0x21e635['name']]}];this['setTemplate']({'tag':'li','attributes':{'class':_0xdb70b2},'children':_0x452ae4});}}function ni(_0x4003fa,_0x5ca949){const _0x4046eb=_0x4003fa['bindTemplate'],_0x39ae01=_0x4003fa['locale'],_0x31dee6=_0x47478e(_0x39ae01);_0x31dee6['panelPosition']='sw';const _0x222e55=function(_0x8f8aed,_0x1e66f7){const _0x587b35=function(_0x582fea,_0x20f69a){const _0x3119c0=_0x582fea['locale'],_0x35f7da={'Compare\x20against\x20selected':y(_0x3119c0,'Compare\x20against\x20selected'),'Name\x20this\x20revision':y(_0x3119c0,'Name\x20this\x20revision'),'Restore\x20this\x20revision':y(_0x3119c0,'Restore\x20this\x20revision')};return _0x20f69a['map'](_0xc757d0=>{const _0x4f7bbb=_0x35f7da[_0xc757d0['name']];return _0x4f7bbb&&_0x4f7bbb!==_0xc757d0['name']&&(_0xc757d0['name']=_0x4f7bbb),_0xc757d0;});}(_0x8f8aed,_0x1e66f7),_0x1e6487=new _0x1efd7e();for(const _0x5eb9e6 of _0x587b35){const _0x299054={'type':'button','model':new to({'label':_0x5eb9e6['name'],'class':_0x5eb9e6['class'],'withText':!0x0,'role':'menuitem','_action':_0x5eb9e6['action']})};_0x299054['model']['bind']('isEnabled')['to'](_0x8f8aed,'isActionsDropdownOpen',_0x455b0b=>'function'!=typeof _0x5eb9e6['isEnabled']||(!_0x455b0b||_0x5eb9e6['isEnabled'](_0x8f8aed))),_0x1e6487['add'](_0x299054);}return _0x1e6487;}(_0x4003fa,_0x5ca949);return _0x4003fa['bind']('isActionsDropdownOpen')['to'](_0x31dee6,'isOpen'),_0x31dee6['buttonView']['set']({'label':y(_0x39ae01,'Show\x20more\x20items'),'tooltip':!0x0,'tooltipPosition':'sw','icon':_0x299fa9['threeVerticalDots']}),_0x31dee6['extendTemplate']({'attributes':{'class':['ck-revision-history-sidebar__revision__actions',_0x4046eb['if']('isActionsDropdownOpen','ck-on')]},'on':{'click':_0x4046eb['to'](_0x17e475=>_0x17e475['stopPropagation']())}}),_0x31dee6['on']('execute',_0xf0b845=>{_0x4003fa['isReady']&&'function'==typeof _0xf0b845['source']['_action']&&_0xf0b845['source']['_action'](_0x4003fa);}),_0x1bbad1(_0x31dee6,_0x222e55,{'role':'menu'}),_0x31dee6['listenTo'](_0x4003fa,'change:isActionsDropdownOpen',(_0x9e0bfc,_0x35375f,_0x2fdaf4)=>{if(_0x2fdaf4)for(const _0x4131f4 of _0x31dee6['listView']['items']){const _0x2ab4c1=_0x4131f4['children']['first'],_0x2cc44a=_0x5ca949['find'](_0x7a65fb=>_0x7a65fb['action']===_0x2ab4c1['_action'])['isVisible'];_0x4131f4['isVisible']=void 0x0===_0x2cc44a||_0x2cc44a(_0x4003fa);}}),_0x31dee6;}class ai extends/* #__PURE__ -- @preserve */
26
- _0x5f40e1(_0x2d463e){['id'];['revisionNameView'];['revisionActionsView'];['_revision'];['_requireRevisionName'];constructor(_0x46ac50,_0x24d118,_0x54a9d3,_0x1bf85d){super(_0x46ac50);const _0x3cd040=this['bindTemplate'],_0x1d75bc=function(_0x1ed51b,_0x56f279){const _0x14b0e7=Array['from'](_0x56f279['authors'])['filter'](_0x32372c=>_0x32372c!=_0x56f279['creator']);return _0x56f279['creator']&&_0x14b0e7['unshift'](_0x56f279['creator']),_0x14b0e7['map'](_0x1683cc=>new ti(_0x1ed51b,_0x1683cc,_0x1683cc==_0x56f279['creator']));}(_0x46ac50,_0x24d118);this['id']=_0x24d118['id'],this['_revision']=_0x24d118,this['_requireRevisionName']=_0x1bf85d,this['bind']('name','createdAt')['to'](_0x24d118),this['bind']('_createdAtFormatted')['to'](this,'createdAt',_0xaa1836=>{return _0x5a3efb=_0x46ac50['uiLanguage'],(_0x608b35=_0xaa1836)['toLocaleDateString'](_0x5a3efb,{'month':'long','day':'numeric'})+',\x20'+_0x608b35['toLocaleTimeString'](_0x5a3efb,{'hour':'numeric','minute':'numeric'});var _0x5a3efb,_0x608b35;}),this['set']('isSelected',!0x1),this['set']('isHighlighted',!0x1),this['set']('isActionsDropdownOpen',!0x1),this['set']('isReady',!0x1),this['set']('isEnabled',!0x1),this['revisionNameView']=new kt(_0x46ac50,_0x112e22),this['revisionNameView']['fieldView']['extendTemplate']({'attributes':{'maxlength':'220'}}),this['revisionNameView']['fieldView']['bind']('value')['to'](this,'name',_0x4a265e=>_0x4a265e||this['_createdAtFormatted']),this['revisionNameView']['bind']('isEnabled')['to'](this,'isSelected',this,'isEnabled',(_0x534092,_0x1b6a0e)=>_0x534092&&_0x1b6a0e),this['revisionActionsView']=_0x54a9d3&&_0x54a9d3['length']?ni(this,_0x54a9d3):'',this['revisionActionsView']&&this['revisionActionsView']['bind']('isEnabled')['to'](this),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision-wrapper',_0x3cd040['if']('isConfirm','ck-revision-history-sidebar__revision-wrapper_confirmation_visible')]},'children':[{'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision',_0x3cd040['if']('isEnabled','ck-disabled',_0x2decef=>!_0x2decef),_0x3cd040['if']('isSelected','ck-revision-history-sidebar__revision_selected'),_0x3cd040['if']('isHighlighted','ck-revision-history-sidebar__revision_highlighted'),_0x3cd040['if']('isActionsDropdownOpen','ck-revision-history-sidebar__actions_dropdown_open')]},'children':[this['revisionNameView'],{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__revision__date']},'children':[{'text':_0x3cd040['to']('_createdAtFormatted')}]},{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__revision__controls-wrapper']},'children':[{'tag':'ul','attributes':{'class':['ck','ck-revision-history-sidebar__revision-authors']},'children':_0x1d75bc}]},this['revisionActionsView']],'on':{'click':_0x3cd040['to'](_0x32c95e=>{_0x32c95e['srcElement']['closest']('.ck-thread__remove-confirm')||this['isReady']&&this['isEnabled']&&this['fire']('select',{'id':this['id']});})}}]});}['render'](){super['render']();const _0x55532a=this['revisionNameView']['fieldView']['element'];this['listenTo'](_0x55532a,'change',()=>{this['_requireRevisionName']&&!_0x55532a['value']||this['fire']('setName',{'id':this['id'],'name':_0x55532a['value']}),_0x55532a['value']||(_0x55532a['value']=this['name']?this['name']:this['_createdAtFormatted']);});}['select'](){this['isSelected']=!0x0;}['deselect'](){this['isSelected']=!0x1;}['highlight'](){this['isHighlighted']=!0x0;}['unhighlight'](){this['isHighlighted']=!0x1;}}function di(_0x977156,_0x35d9f8){const _0x45aa3a=_0x5055aa['fromJSDate'](_0x977156)['setLocale'](_0x35d9f8),_0x45b44f=_0x5055aa['local'](),_0x238dca=_0x45b44f['minus']({'days':0x1})['startOf']('day');let _0x47a295,_0x162c50;return _0x45aa3a['hasSame'](_0x45b44f,'day')?(_0x47a295=_0x45aa3a['startOf']('day')['toJSDate'](),_0x162c50=_0x45aa3a['toRelativeCalendar']()):_0x45aa3a['hasSame'](_0x238dca,'day')?(_0x47a295=_0x238dca['toJSDate'](),_0x162c50=_0x45aa3a['toRelativeCalendar']()):_0x45aa3a['hasSame'](_0x45b44f,'week')?(_0x47a295=_0x45aa3a['startOf']('week')['toJSDate'](),_0x162c50=_0x45aa3a['weekdayLong']||''):_0x45aa3a['hasSame'](_0x45b44f,'year')?(_0x47a295=_0x45aa3a['startOf']('month')['toJSDate'](),_0x162c50=_0x45aa3a['monthLong']||''):(_0x47a295=_0x45aa3a['startOf']('year')['toJSDate'](),_0x162c50=String(_0x45aa3a['year'])),{'startDate':_0x47a295,'localizedPeriodName':_0x162c50};}class mi extends _0x2d463e{['startDate'];['revisionViews'];['_revisionActions'];['_requireRevisionName'];constructor(_0x1d1d84,_0x4b0d58,_0x9a1621,_0x2825b8){super(_0x1d1d84);const _0x2c8a82=di(_0x4b0d58,this['locale']['uiLanguage'])['localizedPeriodName'];this['startDate']=_0x4b0d58,this['revisionViews']=this['createCollection'](),this['_revisionActions']=_0x9a1621,this['_requireRevisionName']=_0x2825b8,this['revisionViews']['delegate']('select')['to'](this),this['revisionViews']['delegate']('setName')['to'](this),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__time-period']},'children':[{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__time-period__label']},'children':[{'text':_0x2c8a82}]},{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__time-period__revisions']},'children':this['revisionViews']}]});}['addRevision'](_0x7f09a3){const _0x5bf35b=new ai(this['locale'],_0x7f09a3,this['_revisionActions'],this['_requireRevisionName']);this['revisionViews']['add'](_0x5bf35b);}['removeRevision'](_0x1de306){const _0xaad672=this['revisionViews']['find'](_0x58e229=>_0x58e229['id']===_0x1de306['id']);this['revisionViews']['remove'](_0xaad672);}}class as extends _0x2d463e{constructor(_0x21a72f){super(_0x21a72f);const _0x3b8fdb=new _0x595a2c();_0x3b8fdb['content']=_0x299fa9['history'],this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all','ck-revision-history-sidebar__header']},'children':[_0x3b8fdb,{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__header__label']},'children':[y(_0x21a72f,'Revision\x20history')]}]});}}class ci extends _0x2d463e{['timePeriodViews'];['_revisions'];['_revisionActions'];['_requireRevisionName'];constructor(_0x8f8da7,_0x4fa9ac,_0xf1f57,_0x43d120){super(_0x8f8da7);const _0x24fbdc=this['bindTemplate'];this['timePeriodViews']=this['createCollection'](),this['timePeriodViews']['delegate']('select')['to'](this),this['timePeriodViews']['delegate']('setName')['to'](this),this['_revisions']=_0x4fa9ac,this['_revisionActions']=_0xf1f57,this['_requireRevisionName']=_0x43d120,this['on']('select',(_0x3df1b9,_0x3a2981)=>{this['fire']('revisionSelected',_0x3a2981);}),this['on']('setName',(_0x5cde26,_0x9460e1)=>{this['fire']('revisionSetName',_0x9460e1);}),this['set']('isEnabled',!0x1),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-rounded-corners','ck-revision-history-sidebar']},'children':[new as(_0x8f8da7),{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__timeline',_0x24fbdc['if']('isEnabled','ck-disabled',_0x2347d3=>!_0x2347d3)]},'children':this['timePeriodViews']}]});}['render'](){super['render']();for(const _0x21afca of this['_revisions'])this['_addRevision'](_0x21afca);this['_revisions']['on']('add',(_0x555e65,_0x1a5c08)=>{this['_addRevision'](_0x1a5c08);}),this['_revisions']['on']('remove',(_0x546051,_0x31c84f)=>{this['_removeRevision'](_0x31c84f);});}get['revisionViews'](){return this['timePeriodViews']['map'](_0x3a3a07=>_0x3a3a07['revisionViews']['map'](_0x53e38f=>_0x53e38f))['flat']();}['selectRevision'](_0x3f971e){for(const _0x5a97ed of this['revisionViews'])_0x3f971e&&_0x3f971e['id']===_0x5a97ed['id']?_0x5a97ed['select']():_0x5a97ed['deselect']();}['highlightRevisions'](_0x57f156){for(const _0x4d9c86 of this['revisionViews'])_0x57f156['some'](({id:_0xd300f7})=>_0xd300f7===_0x4d9c86['id'])?_0x4d9c86['highlight']():_0x4d9c86['unhighlight']();}['_addRevision'](_0x1be652){const _0x42a10f=di(_0x1be652['createdAt'],this['locale']['uiLanguage'])['startDate'];let _0x1f90d1=this['timePeriodViews']['get'](0x0);_0x1f90d1&&_0x1f90d1['startDate']['getTime']()===_0x42a10f['getTime']()||(_0x1f90d1=new mi(this['locale'],_0x42a10f,this['_revisionActions'],this['_requireRevisionName']),this['timePeriodViews']['add'](_0x1f90d1)),_0x1f90d1['addRevision'](_0x1be652);}['_removeRevision'](_0x4bdd13){const _0x3b41fb=di(_0x4bdd13['createdAt'],this['locale']['uiLanguage'])['startDate'];this['_getTimePeriodViewByStartDate'](_0x3b41fb)['removeRevision'](_0x4bdd13);}['_getTimePeriodViewByStartDate'](_0x49e853){return this['timePeriodViews']['find'](_0x10f3be=>_0x10f3be['startDate']['getTime']()===_0x49e853['getTime']());}}class w extends _0x2b7243{['_revisionViewer'];['_revisionsRepository'];['_sidebarView'];static ['defaultRevisionActions']=/* #__PURE__ -- @preserve */
23
+ import{Plugin as _0x593a2b,Context as _0x33824e,PendingActions as _0x39eaa9,icons as _0x422562,Command as _0x3085a5,ElementApiMixin as rt,Editor as it}from'@ckeditor/ckeditor5-core/dist/index.js';import{ObservableMixin as _0x4c7ff2,uid as _0x117e18,Collection as _0x6b1e2e,logWarning as _0x4b9ab7,FocusTracker as _0x49e2a7,KeystrokeHandler as _0x155a81,scrollViewportToShowTarget as _0x480103,ResizeObserver as mt,ElementReplacer as nt,CKEditorError as _0x331872}from'@ckeditor/ckeditor5-utils/dist/index.js';import{Users as _0x13b341,getMarkerDomElement as _0x421565,ConfirmMixin as _0x108c28,sanitizeEditorConfig as _0x52be6d}from'ckeditor5-collaboration/dist/index.js';import{ViewDocumentFragment as _0xe401ea,ViewText as _0x520d9a,ViewElement as _0x177242,Element as ft,Range as vt,Position as gt,DocumentFragment as wt,ViewContainerElement as _0x2f205d,ViewAttributeElement as _0x226d88,ViewEmptyElement as _0x396af2,ViewRawElement as _0x1c536b,ViewUIElement as _0x3225fd,Text as _t}from'@ckeditor/ckeditor5-engine/dist/index.js';import{cloneDeep as _0x54db32,set as _0x31f872,unset as _0x4e9cc2,isEqual as _0x5ac1a7}from'lodash-es';import{View as _0x32a1de,injectCssTransitionDisabler as ts,submitHandler as _0x385c41,LabeledFieldView as at,createLabeledInputText as _0x526da3,createDropdown as _0x3bec77,ListView as te,ListItemView as _0xa5c343,ButtonView as _0x29100e,MenuBarMenuView as _0x51af5e,MenuBarMenuListView as _0x50b2b5,MenuBarMenuListItemView as _0x298244,MenuBarMenuListItemButtonView as _0x18461b,ContextualBalloon as _0x11e4da,ToolbarSeparatorView as _0x232de2,IconView as _0x7d9332,addListToDropdown as _0x389098,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 _0xf319d6}from'luxon';class a extends/* #__PURE__ -- @preserve */
24
+ _0x4c7ff2(){['id'];['creator'];['authors'];['diffData'];['toVersion'];['fromVersion'];['model'];constructor(_0x3b6e3e){super(),this['id']=_0x3b6e3e['id']||_0x117e18(),this['creator']=_0x3b6e3e['creator']||null,this['authors']=_0x3b6e3e['authors']||[],this['diffData']=_0x3b6e3e['diffData']||null,this['toVersion']=_0x3b6e3e['toVersion']||0x0,this['fromVersion']=_0x3b6e3e['fromVersion']||0x0,this['set']('name',_0x3b6e3e['name']||''),this['set']('createdAt',_0x3b6e3e['createdAt']||new Date()),this['set']('attributes',_0x3b6e3e['attributes']||{});}['setName'](_0x89af53){this['_update']({'name':_0x89af53});}['setAttribute'](_0x2ef771,_0x116237){const _0x261ada=_0x54db32(this['attributes']);_0x31f872(_0x261ada,_0x2ef771,_0x116237),this['_update']({'attributes':_0x261ada});}['removeAttribute'](_0x1bf24b){const _0x4c52c3=_0x54db32(this['attributes']);_0x4e9cc2(_0x4c52c3,_0x1bf24b),this['_update']({'attributes':_0x4c52c3});}['_update'](_0x2f4896,_0x24a57a=!0x1){let _0x3ff17c=!0x1;const _0x54606a={'id':this['id']},_0x59fe5a=['name','createdAt','diffData','authors','attributes','toVersion','fromVersion','creatorId'];for(const _0x30784b of _0x59fe5a){const _0x290df9=_0x2f4896[_0x30784b];void 0x0!==_0x290df9&&_0x290df9!==this[_0x30784b]&&(this[_0x30784b]=_0x290df9,_0x54606a[_0x30784b]=_0x290df9,_0x3ff17c=!0x0);}_0x3ff17c&&(_0x54606a['authors']&&(_0x54606a['authorsIds']=_0x54606a['authors']['map'](_0x118957=>_0x118957['id']),delete _0x54606a['authors']),this['fire']('_update',_0x54606a,_0x24a57a));}['toJSON'](){return{'id':this['id'],'name':this['name'],'creatorId':this['creator']?this['creator']['id']:null,'authorsIds':this['authors']['map'](_0x139729=>_0x139729['id']),'diffData':this['diffData'],'createdAt':this['createdAt'],'attributes':this['attributes'],'fromVersion':this['fromVersion'],'toVersion':this['toVersion']};}}class A extends _0x593a2b{['_revisions'];static get['requires'](){return[_0x13b341];}static get['pluginName'](){return'RevisionsRepository';}get['length'](){return this['_revisions']['length'];}constructor(_0xc28910){super(_0xc28910),this['_revisions']=new _0x6b1e2e();}['afterInit'](){!function(_0x28d62d){function _0x337e44(_0x3efa65,_0x194276,_0x438e99){const _0x11bd2b={};_0x11bd2b[_0x2b4345([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])]={0x10:0xa,0x18:0xc,0x20:0xe},_0x11bd2b[_0x2b4345([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],_0x11bd2b[_0x2b4345([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],_0x11bd2b[_0x2b4345([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],_0x11bd2b[_0x2b4345([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],_0x11bd2b[_0x2b4345([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],_0x11bd2b[_0x2b4345([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],_0x11bd2b[_0x2b4345([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],_0x11bd2b[_0x2b4345([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],_0x11bd2b[_0x2b4345([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],_0x11bd2b[_0x2b4345([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 _0xcdd547=new Uint8Array(0x10);for(let _0x2bfe53=0xf;_0x2bfe53>=0x0;--_0x2bfe53)_0xcdd547[_0x2bfe53]=_0x438e99%0x100,_0x438e99=parseInt(_0x438e99/0x100);let _0x3c1216=null,_0x3013c1=0x10;const _0x5f2917=new Uint8Array(_0x194276),_0x4e68c8=[],_0x435056=[];_0xf54d08();for(let _0x2d9d67=0x0;_0x2d9d67<_0x3efa65[_0x2b4345([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2d9d67++)0x10===_0x3013c1&&(_0x3c1216=_0x11e7ac(_0xcdd547),_0x3013c1=0x0,_0x2a46dd(_0xcdd547)),_0x3efa65[_0x2d9d67]^=_0x3c1216[_0x3013c1++];return _0x3efa65;function _0x3e52a6(_0x2576ec){const _0x568b2c=[];for(let _0x3ac227=0x0;_0x3ac227<_0x2576ec[_0x2b4345([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3ac227+=0x4)_0x568b2c[_0x2b4345([0x70,0x75,0x73,0x68])](_0x2576ec[_0x3ac227]<<0x18|_0x2576ec[_0x3ac227+0x1]<<0x10|_0x2576ec[_0x3ac227+0x2]<<0x8|_0x2576ec[_0x3ac227+0x3]);return _0x568b2c;}function _0x2a46dd(_0x131a56){for(let _0x2fdee8=0xf;_0x2fdee8>=0x0;_0x2fdee8--){if(0xff!==_0x131a56[_0x2fdee8]){_0x131a56[_0x2fdee8]++;break;}_0x131a56[_0x2fdee8]=0x0;}}function _0x11e7ac(_0x340916){const _0x10c349=_0x4e68c8[_0x2b4345([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x1,_0x55fa62=[0x0,0x0,0x0,0x0];let t=_0x3e52a6(_0x340916);for(let _0x1e8160=0x0;_0x1e8160<0x4;_0x1e8160++)t[_0x1e8160]^=_0x4e68c8[0x0][_0x1e8160];for(let _0x1669f8=0x1;_0x1669f8<_0x10c349;_0x1669f8++){for(let _0x15aed7=0x0;_0x15aed7<0x4;_0x15aed7++)_0x55fa62[_0x15aed7]=_0x11bd2b[_0x2b4345([0x54,0x31])][t[_0x15aed7]>>0x18&0xff]^_0x11bd2b[_0x2b4345([0x54,0x32])][t[(_0x15aed7+0x1)%0x4]>>0x10&0xff]^_0x11bd2b[_0x2b4345([0x54,0x33])][t[(_0x15aed7+0x2)%0x4]>>0x8&0xff]^_0x11bd2b[_0x2b4345([0x54,0x34])][0xff&t[(_0x15aed7+0x3)%0x4]]^_0x4e68c8[_0x1669f8][_0x15aed7];t=_0x55fa62[_0x2b4345([0x73,0x6c,0x69,0x63,0x65])]();}const _0x399169=new Uint8Array(0x10);let _0x54ac97;for(let _0x101907=0x0;_0x101907<0x4;_0x101907++)_0x54ac97=_0x4e68c8[_0x10c349][_0x101907],_0x399169[0x4*_0x101907]=0xff&(_0x11bd2b[_0x2b4345([0x53])][t[_0x101907]>>0x18&0xff]^_0x54ac97>>0x18),_0x399169[0x4*_0x101907+0x1]=0xff&(_0x11bd2b[_0x2b4345([0x53])][t[(_0x101907+0x1)%0x4]>>0x10&0xff]^_0x54ac97>>0x10),_0x399169[0x4*_0x101907+0x2]=0xff&(_0x11bd2b[_0x2b4345([0x53])][t[(_0x101907+0x2)%0x4]>>0x8&0xff]^_0x54ac97>>0x8),_0x399169[0x4*_0x101907+0x3]=0xff&(_0x11bd2b[_0x2b4345([0x53])][0xff&t[(_0x101907+0x3)%0x4]]^_0x54ac97);return _0x399169;}function _0xf54d08(){const _0x361e38=_0x11bd2b[_0x2b4345([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])][_0x5f2917[_0x2b4345([0x6c,0x65,0x6e,0x67,0x74,0x68])]];for(let _0xa68cfd=0x0;_0xa68cfd<=_0x361e38;_0xa68cfd++)_0x4e68c8[_0x2b4345([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]),_0x435056[_0x2b4345([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]);const _0x4f7184=0x4*(_0x361e38+0x1),_0x43d6b4=_0x5f2917[_0x2b4345([0x6c,0x65,0x6e,0x67,0x74,0x68])]/0x4,_0x4b78fb=_0x3e52a6(_0x5f2917);let _0x11e763;for(let _0x4a8241=0x0;_0x4a8241<_0x43d6b4;_0x4a8241++)_0x11e763=_0x4a8241>>0x2,_0x4e68c8[_0x11e763][_0x4a8241%0x4]=_0x4b78fb[_0x4a8241],_0x435056[_0x361e38-_0x11e763][_0x4a8241%0x4]=_0x4b78fb[_0x4a8241];let _0x217ba1,_0x209a35=0x0,t=_0x43d6b4;for(;t<_0x4f7184;){_0x217ba1=_0x4b78fb[_0x43d6b4-0x1],_0x4b78fb[0x0]^=_0x11bd2b[_0x2b4345([0x53])][_0x217ba1>>0x10&0xff]<<0x18^_0x11bd2b[_0x2b4345([0x53])][_0x217ba1>>0x8&0xff]<<0x10^_0x11bd2b[_0x2b4345([0x53])][0xff&_0x217ba1]<<0x8^_0x11bd2b[_0x2b4345([0x53])][_0x217ba1>>0x18&0xff]^_0x11bd2b[_0x2b4345([0x72,0x63,0x6f,0x6e])][_0x209a35]<<0x18,_0x209a35+=0x1;for(let _0x2dd183=0x1;_0x2dd183<_0x43d6b4/0x2;_0x2dd183++)_0x4b78fb[_0x2dd183]^=_0x4b78fb[_0x2dd183-0x1];_0x217ba1=_0x4b78fb[_0x43d6b4/0x2-0x1],_0x4b78fb[_0x43d6b4/0x2]^=_0x11bd2b[_0x2b4345([0x53])][0xff&_0x217ba1]^_0x11bd2b[_0x2b4345([0x53])][_0x217ba1>>0x8&0xff]<<0x8^_0x11bd2b[_0x2b4345([0x53])][_0x217ba1>>0x10&0xff]<<0x10^_0x11bd2b[_0x2b4345([0x53])][_0x217ba1>>0x18&0xff]<<0x18;for(let _0x548114=_0x43d6b4/0x2+0x1;_0x548114<_0x43d6b4;_0x548114++)_0x4b78fb[_0x548114]^=_0x4b78fb[_0x548114-0x1];let _0x5b85f3,_0x386155,_0x5437ed=0x0;for(;_0x5437ed<_0x43d6b4&&t<_0x4f7184;)_0x5b85f3=t>>0x2,_0x386155=t%0x4,_0x4e68c8[_0x5b85f3][_0x386155]=_0x4b78fb[_0x5437ed],_0x435056[_0x361e38-_0x5b85f3][_0x386155]=_0x4b78fb[_0x5437ed++],t++;}for(let _0x42d618=0x1;_0x42d618<_0x361e38;_0x42d618++)for(let _0x3e42aa=0x0;_0x3e42aa<0x4;_0x3e42aa++)_0x217ba1=_0x435056[_0x42d618][_0x3e42aa],_0x435056[_0x42d618][_0x3e42aa]=_0x11bd2b[_0x2b4345([0x55,0x31])][_0x217ba1>>0x18&0xff]^_0x11bd2b[_0x2b4345([0x55,0x32])][_0x217ba1>>0x10&0xff]^_0x11bd2b[_0x2b4345([0x55,0x33])][_0x217ba1>>0x8&0xff]^_0x11bd2b[_0x2b4345([0x55,0x34])][0xff&_0x217ba1];}}function _0x2b4345(_0x2d4461){return _0x2d4461['map'](_0x1f13f5=>String['fromCharCode'](_0x1f13f5))['join']('');}(_0x7288d5=>{function _0x48d0dc(){const _0x3573ec=[{[_0x2b4345([0x69,0x64])]:0x1,[_0x2b4345([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x2b4345([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73]),[_0x2b4345([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x2b4345([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x2b4345([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x2b4345([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x2b4345([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x2b4345([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x2b4345([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]:[{[_0x2b4345([0x69,0x64])]:0x2,[_0x2b4345([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x2b4345([0x54,0x72,0x61,0x63,0x6b,0x20,0x43,0x68,0x61,0x6e,0x67,0x65,0x73]),[_0x2b4345([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x2b4345([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x2b4345([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x2b4345([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x2b4345([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x2b4345([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]),[_0x2b4345([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x2b4345([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x2b4345([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x2b4345([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}}],[_0x2b4345([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x2b4345([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x2b4345([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x2b4345([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x2b4345([0x69,0x64])]:0x3,[_0x2b4345([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x2b4345([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e]),[_0x2b4345([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x2b4345([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x6f,0x6f,0x6b,0x75,0x70]),[_0x2b4345([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x2b4345([0x70,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x2b4345([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x2b4345([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x2b4345([0x69,0x64])]:0x4,[_0x2b4345([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x2b4345([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x20,0x48,0x69,0x73,0x74,0x6f,0x72,0x79]),[_0x2b4345([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x2b4345([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x2b4345([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x2b4345([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x2b4345([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x2b4345([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]),[_0x2b4345([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x2b4345([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x2b4345([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x2b4345([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x2b4345([0x69,0x64])]:0x5,[_0x2b4345([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x2b4345([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x20,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65]),[_0x2b4345([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x2b4345([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65,0x55,0x49]),[_0x2b4345([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x2b4345([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]),[_0x2b4345([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x2b4345([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x2b4345([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x2b4345([0x66,0x67,0x69])]:[0xc]}},{[_0x2b4345([0x69,0x64])]:0x6,[_0x2b4345([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x2b4345([0x46,0x6f,0x72,0x6d,0x61,0x74,0x20,0x50,0x61,0x69,0x6e,0x74,0x65,0x72]),[_0x2b4345([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x2b4345([0x46,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x55,0x49]),[_0x2b4345([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x2b4345([0x66,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x2b4345([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x2b4345([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x2b4345([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x2b4345([0x66,0x67,0x69])]:[0xc]}},{[_0x2b4345([0x69,0x64])]:0x7,[_0x2b4345([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x2b4345([0x53,0x6c,0x61,0x73,0x68,0x20,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64]),[_0x2b4345([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x2b4345([0x53,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x55,0x49]),[_0x2b4345([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x2b4345([0x73,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x2b4345([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x2b4345([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x2b4345([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x2b4345([0x66,0x67,0x69])]:[0xc]}},{[_0x2b4345([0x69,0x64])]:0x8,[_0x2b4345([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x2b4345([0x54,0x61,0x62,0x6c,0x65,0x20,0x6f,0x66,0x20,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73]),[_0x2b4345([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x2b4345([0x54,0x61,0x62,0x6c,0x65,0x4f,0x66,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x2b4345([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x2b4345([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]),[_0x2b4345([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x2b4345([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x2b4345([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x2b4345([0x66,0x67,0x69])]:[0xc]}},{[_0x2b4345([0x69,0x64])]:0x9,[_0x2b4345([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x2b4345([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65]),[_0x2b4345([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x2b4345([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x55,0x49]),[_0x2b4345([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x2b4345([0x74,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x2b4345([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x2b4345([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x2b4345([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x2b4345([0x66,0x67,0x69])]:[0xc,0xe]}},{[_0x2b4345([0x69,0x64])]:0xa,[_0x2b4345([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x2b4345([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]),[_0x2b4345([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x2b4345([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]),[_0x2b4345([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x2b4345([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]),[_0x2b4345([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x2b4345([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x2b4345([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x2b4345([0x66,0x67,0x69])]:[0xc]}},{[_0x2b4345([0x69,0x64])]:0xb,[_0x2b4345([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x2b4345([0x41,0x49,0x20,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74]),[_0x2b4345([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x2b4345([0x41,0x49,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74,0x55,0x49]),[_0x2b4345([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x2b4345([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x2b4345([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x2b4345([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x2b4345([0x69,0x64])]:0xc,[_0x2b4345([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x2b4345([0x50,0x72,0x6f,0x64,0x75,0x63,0x74,0x69,0x76,0x69,0x74,0x79,0x20,0x70,0x61,0x63,0x6b])},{[_0x2b4345([0x69,0x64])]:0xd,[_0x2b4345([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x2b4345([0x43,0x61,0x73,0x65,0x20,0x43,0x68,0x61,0x6e,0x67,0x65]),[_0x2b4345([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x2b4345([0x43,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x55,0x49]),[_0x2b4345([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x2b4345([0x63,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x2b4345([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x2b4345([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x2b4345([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x2b4345([0x66,0x67,0x69])]:[0xc]}},{[_0x2b4345([0x69,0x64])]:0xe,[_0x2b4345([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x2b4345([0x44,0x72,0x75,0x70,0x61,0x6c,0x20,0x70,0x61,0x63,0x6b]),[_0x2b4345([0x66,0x6f,0x72,0x62,0x69,0x64,0x64,0x65,0x6e,0x48,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x2b4345([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])},{[_0x2b4345([0x69,0x64])]:0xf,[_0x2b4345([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x2b4345([0x4d,0x75,0x6c,0x74,0x69,0x20,0x4c,0x65,0x76,0x65,0x6c,0x20,0x4c,0x69,0x73,0x74]),[_0x2b4345([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x2b4345([0x4d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x2b4345([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x2b4345([0x6d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x2b4345([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x2b4345([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x2b4345([0x69,0x64])]:0x10,[_0x2b4345([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x2b4345([0x4d,0x65,0x72,0x67,0x65,0x20,0x46,0x69,0x65,0x6c,0x64,0x73]),[_0x2b4345([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x2b4345([0x4d,0x65,0x72,0x67,0x65,0x46,0x69,0x65,0x6c,0x64,0x73,0x55,0x49]),[_0x2b4345([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x2b4345([0x6d,0x65,0x72,0x67,0x65,0x46,0x69,0x65,0x6c,0x64,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x2b4345([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x2b4345([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x2b4345([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x2b4345([0x66,0x67,0x69])]:[0xc]}}];return _0x14ab56(_0x3573ec),_0x3573ec;function _0x4d60d3(_0x2e4710){return 0x1<<_0x2e4710-0x1;}function _0x14ab56(_0x3238af){_0x3238af[_0x2b4345([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x29239f=>{_0x29239f[_0x2b4345([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]=_0x4d60d3(_0x29239f[_0x2b4345([0x69,0x64])]),_0x3799bb(_0x29239f)&&_0x29239f[_0x2b4345([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x14ab56(_0x29239f[_0x2b4345([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]);});}}function _0x3799bb(_0x177800){return _0x2b4345([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])in _0x177800;}const _0x3a5519=[0x1,0x55,0x4e,0x73,0xc6,0xff,0x32,0x70,0x53,0x57,0xa1],_0x246973=[0x7f,0x22,0x6,0xd3,0xa7,0x56,0x92,0xc7,0x84,0xa0,0x12];function _0x16b55e(_0x5f062e){const _0x8c982e=[0x1d,0xdd,0xaf,0x5a,0xe7,0x85,0xef,0xf0,0x4b,0xb4];return _0xe648(_0x5f062e,new Uint8Array([..._0x3a5519,..._0x8c982e,..._0x246973]));}function _0xe648(_0xbcb91a,_0x5b031b){const _0xc9cf77=_0x592a5b(_0xbcb91a),_0x10d40a=Array[_0x2b4345([0x66,0x72,0x6f,0x6d])](_0x4af65d(_0xc9cf77)),_0x1fff23=_0x10d40a[_0x2b4345([0x70,0x6f,0x70])](),_0x3ebb2b=_0x10d40a[_0x2b4345([0x70,0x6f,0x70])]();return _0x40da28(_0x337e44(_0x10d40a,_0x5b031b,_0x3ebb2b+0x100*_0x1fff23));}function _0x592a5b(_0x2f1b39){const _0x2e4b34=atob(_0x2f1b39),[_0xeb8213,_0x9fa36a]=_0x2e4b34[_0x2b4345([0x73,0x70,0x6c,0x69,0x74])](_0x2b4345([0x2d]));try{if(atob(_0x9fa36a))return atob(_0xeb8213);}catch(_0x5e1f37){}return _0x2e4b34;}function _0x5db31c(_0x161aa7){try{const _0x10105a=_0x16b55e(_0x161aa7),_0x42ab4a=JSON[_0x2b4345([0x70,0x61,0x72,0x73,0x65])](_0x10105a),_0x341aa9=parseInt(_0x42ab4a[_0x2b4345([0x31])]),_0x1ae6f1=_0x42ab4a[_0x2b4345([0x32])]||'',_0x34cc3c=parseInt(_0x42ab4a[_0x2b4345([0x33])]),_0xe83a66=parseInt(_0x42ab4a[_0x2b4345([0x34])])||0x0,_0x56af62=parseInt(_0x42ab4a[_0x2b4345([0x35])])||0x0;return{[_0x2b4345([0x70,0x72,0x6f,0x64,0x75,0x63,0x74,0x4e,0x61,0x6d,0x65])]:_0x1ae6f1,[_0x2b4345([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])]:_0xe83a66,[_0x2b4345([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]:_0x341aa9,[_0x2b4345([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]:_0x34cc3c,[_0x2b4345([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]:_0x56af62};}catch(_0x3e02db){return null;}}const _0x37eb9d=_0x48d0dc(),_0x4676a3={[_0x2b4345([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])]:_0xbfb743,[_0x2b4345([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])]:_0x4b6e40,[_0x2b4345([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])]:_0x59ccd8},_0x5e09c9=_0x7288d5[_0x2b4345([0x63,0x6f,0x6e,0x73,0x74,0x72,0x75,0x63,0x74,0x6f,0x72])][_0x2b4345([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])],_0x238037=_0x2b4345([0x63,0x6f,0x6e,0x74,0x65,0x78,0x74])in _0x7288d5?_0x7288d5['context']:_0x7288d5['editor'],_0x3ab02b=_0x2b4345([0x34,0x30,0x34,0x38,0x31,0x34,0x31,0x38]),_0x58707e=_0x2b4345([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]),_0x546e46=_0x238037['config']['get'](_0x2b4345([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0xb20dd6=_0x37eb9d[_0x2b4345([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3799bb)[_0x2b4345([0x66,0x69,0x6e,0x64])](_0x56e469=>_0x56e469[_0x2b4345([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]===_0x5e09c9);function _0x3410c9(_0x408221,_0x5eabc4){_0x4676a3[_0x5eabc4[_0x2b4345([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]](_0x408221,_0x5eabc4),_0x5eabc4[_0x2b4345([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x5eabc4[_0x2b4345([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])][_0x2b4345([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x368aa6=>_0x4b4e10(_0x238037,_0x368aa6[_0x2b4345([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))[_0x2b4345([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x516197=>_0x3410c9(_0x408221,_0x516197));}function _0xbfb743(_0xb84697,_0x45d301){_0x13281b(_0xf931c(_0xb84697,_0x45d301),_0x45d301);}function _0x4b6e40(_0xa72cf7,_0x28b4ea){function _0x12462f(_0x48addd,_0x317869){try{if(_0x4b4e10(_0x238037,_0x2b4345([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))&&_0x48addd){const _0x375f0f=_0x2ec090(_0x238037,_0x2b4345([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))[_0x2b4345([0x5f,0x65,0x78,0x65,0x63,0x75,0x74,0x65,0x53,0x75,0x67,0x67,0x65,0x73,0x74,0x69,0x6f,0x6e])];if(parseInt(_0x375f0f)/0x2>_0x48addd[_0x2b4345([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])])return _0x498519(_0x317869[_0x2b4345([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2b4345([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}return _0xf931c(_0x48addd,_0x317869);}catch(_0x2509b7){return _0x498519(_0x317869[_0x2b4345([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2b4345([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}_0x13281b(_0x12462f(_0xa72cf7,_0x28b4ea),_0x28b4ea);}function _0x59ccd8(_0x4523fa,_0x233200){const _0x38d1fd=_0x246973[0x0]*_0x3a5519[0x1],_0x5a4468=_0x246973[0x0]*_0x3a5519[0x2],_0x30c885=_0x246973[0x2]*_0x3a5519[0x2];_0x4b4e10(_0x238037,_0x2b4345([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x2ec090(_0x238037,_0x2b4345([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x2b4345([0x73,0x74,0x61,0x74,0x65])]==_0x2b4345([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&(window[_0x802030()]=_0x30c885);function _0x1088b3(_0x3870a5,_0x36ca0b){try{return _0x4d867a()?_0x498519(_0x36ca0b[_0x2b4345([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2b4345([0x56,0x61,0x6c,0x69,0x64])):_0xf931c(_0x3870a5,_0x36ca0b);}catch(_0x2f6a59){return _0x498519(_0x36ca0b[_0x2b4345([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2b4345([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x2f8707(_0x181d22,_0x24247b){const _0x50f865=0x7;if(_0x181d22==_0x24247b[_0x2b4345([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2b4345([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]))_0x44d3c0();else{if(_0x181d22==_0x24247b[_0x2b4345([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2b4345([0x54,0x72,0x69,0x61,0x6c])){const _0x4e7702=_0x12336b();_0x4e7702&&_0xb8b2df(_0x4e7702,_0x24247b[_0x2b4345([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);const _0x4677c7=_0x59a361();window[_0x2b4345([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0xb8b2df(_0x2b4345([0x74,0x69,0x6d,0x65]),_0x24247b[_0x2b4345([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);},_0x4677c7);const _0x2f21bb=_0x2ec090(_0x238037,_0x2b4345([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x2b4345([0x5f,0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73])];_0x2f21bb[_0x2b4345([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x50f865?_0xb8b2df(_0x2b4345([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x24247b[_0x2b4345([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]):_0x2f21bb['on'](_0x2b4345([0x61,0x64,0x64]),()=>{_0x2f21bb[_0x2b4345([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x50f865&&_0xb8b2df(_0x2b4345([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x24247b[_0x2b4345([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);});}}}function _0x12336b(){if(!_0x4b4e10(_0x238037,_0x2b4345([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x35f7f2 in window)if(Number['isNaN'](Number(_0x35f7f2))){if(window[_0x35f7f2]===_0x38d1fd)return _0x2b4345([0x74,0x69,0x6d,0x65]);if(window[_0x35f7f2]===_0x5a4468)return _0x2b4345([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]);}return!0x1;}function _0x4d867a(){if(!_0x4b4e10(_0x238037,_0x2b4345([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x1853e8 in window)if(Number['isNaN'](Number(_0x1853e8))&&window[_0x1853e8]===_0x30c885)return!0x0;return!0x1;}function _0xb8b2df(_0x3b9d38,_0x1e2144){_0x44d3c0(),_0x498519(_0x1e2144+_0x2b4345([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a])+_0x3b9d38),window[_0x802030()]=_0x3b9d38===_0x2b4345([0x74,0x69,0x6d,0x65])?_0x38d1fd:_0x5a4468;}function _0x59a361(){let _0x491e32=_0x246973[0x6]*_0x3a5519[0x8]*_0x3a5519[0x6];return _0x4b4e10(_0x238037,_0x2b4345([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x491e32/=0xa),_0x491e32;}function _0x44d3c0(){const _0x504015=_0x238037;function _0x3ff2a7(){_0x4b4e10(_0x504015,_0x2b4345([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&(_0x2ec090(_0x504015,_0x2b4345([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x2b4345([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x2b4345([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x2ec090(_0x504015,_0x2b4345([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x2b4345([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x2ec090(_0x504015,_0x2b4345([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x2b4345([0x75,0x70,0x64,0x61,0x74,0x65])]=_0x2e1b2b,_0x2ec090(_0x504015,_0x2b4345([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x2b4345([0x73,0x61,0x76,0x65,0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e])]=_0x2e1b2b,_0x504015[_0x2b4345([0x6d,0x6f,0x64,0x65,0x6c])][_0x2b4345([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2e1b2b,_0x504015[_0x2b4345([0x6d,0x6f,0x64,0x65,0x6c])][_0x2b4345([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2e1b2b,_0x504015[_0x2b4345([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x2b4345([0x6d,0x6f,0x64,0x65,0x6c]))),_0x4b4e10(_0x504015,_0x2b4345([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x2ec090(_0x504015,_0x2b4345([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x2b4345([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x2b4345([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x2ec090(_0x504015,_0x2b4345([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x2b4345([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x2ec090(_0x504015,_0x2b4345([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x2b4345([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])]=_0x2e1b2b,_0x2ec090(_0x504015,_0x2b4345([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x2b4345([0x5f,0x67,0x65,0x74,0x44,0x69,0x66,0x66])]=_0x2e1b2b);}_0x504015[_0x2b4345([0x73,0x74,0x61,0x74,0x65])]==_0x2b4345([0x72,0x65,0x61,0x64,0x79])?_0x3ff2a7():_0x504015[_0x2b4345([0x6f,0x6e,0x63,0x65])](_0x2b4345([0x72,0x65,0x61,0x64,0x79]),()=>{if(_0x4b4e10(_0x504015,_0x2b4345([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&_0x3ff2a7(),_0x4b4e10(_0x504015,_0x2b4345([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))){const _0x26f3da=_0x2ec090(_0x504015,_0x2b4345([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79])),_0x590474=_0x26f3da['getRevision'](0x0),_0x3e942c=_0x26f3da['getEarlierVisibleRevision'](_0x590474[_0x2b4345([0x69,0x64])]);_0x2ec090(_0x504015,_0x2b4345([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x2b4345([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])](_0x590474[_0x2b4345([0x69,0x64])],_0x3e942c?_0x3e942c[_0x2b4345([0x69,0x64])]:null,0x1)['then'](()=>_0x3ff2a7());}});}_0x2f8707(_0x1088b3(_0x4523fa,_0x233200),_0x233200);}function _0xf931c(_0x4b2c61,_0x584356){try{return _0x5b95cb(_0x584356)?_0x498519(_0x584356[_0x2b4345([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2b4345([0x56,0x61,0x6c,0x69,0x64])):_0x4b2c61&&_0x1adad4(_0x4b2c61[_0x2b4345([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])],_0x584356)?_0x4b2c61[_0x2b4345([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]&&!window[_0x2b4345([0x6f,0x70,0x65,0x6e])][_0x2b4345([0x63,0x6c,0x6f,0x73,0x65,0x64])]||parseInt(_0x3ab02b)/0x2>_0x4b2c61[_0x2b4345([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]?_0x498519(_0x584356[_0x2b4345([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2b4345([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])):_0x4b2c61[_0x2b4345([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]?_0x498519(_0x584356[_0x2b4345([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2b4345([0x54,0x72,0x69,0x61,0x6c])):_0x498519(_0x584356[_0x2b4345([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2b4345([0x56,0x61,0x6c,0x69,0x64])):_0x498519(_0x584356[_0x2b4345([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2b4345([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}catch(_0xbb25fc){return _0x498519(_0x584356[_0x2b4345([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2b4345([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x13281b(_0x10431e,_0x5d9e3b){if(_0x238037 instanceof _0x33824e){const _0x1a0049=_0x238037;_0x10431e==_0x5d9e3b[_0x2b4345([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2b4345([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x13755e(_0x1a0049):_0x10431e==_0x5d9e3b[_0x2b4345([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2b4345([0x54,0x72,0x69,0x61,0x6c])&&window[_0x2b4345([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x13755e(_0x1a0049),_0x498519(_0x5d9e3b[_0x2b4345([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2b4345([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65]));},_0x246973[0x6]*_0x3a5519[0x8]*_0x3a5519[0x6]),_0x1a0049[_0x2b4345([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])][_0x2b4345([0x6f,0x6e])](_0x2b4345([0x61,0x64,0x64]),(_0x1dfe45,_0x4c76a6)=>{_0x10431e!=_0x5d9e3b[_0x2b4345([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2b4345([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])&&_0x10431e!=_0x5d9e3b[_0x2b4345([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2b4345([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65])&&_0x10431e!=_0x5d9e3b[_0x2b4345([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2b4345([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])||_0x567131(_0x4c76a6);});}else{const _0x20e1df=_0x238037;_0x10431e==_0x5d9e3b[_0x2b4345([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2b4345([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x567131(_0x20e1df):_0x10431e==_0x5d9e3b[_0x2b4345([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2b4345([0x54,0x72,0x69,0x61,0x6c])&&_0x20e1df[_0x2b4345([0x6f,0x6e])](_0x2b4345([0x72,0x65,0x61,0x64,0x79]),()=>{let _0x470cc1=0x0;_0x20e1df[_0x2b4345([0x6d,0x6f,0x64,0x65,0x6c])][_0x2b4345([0x6f,0x6e])](_0x2b4345([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x4627a3,_0x3136c7)=>{_0x3136c7[0x0][_0x2b4345([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x470cc1++,0x1f8===_0x470cc1&&(_0x567131(_0x20e1df),_0x498519(_0x5d9e3b[_0x2b4345([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2b4345([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])),_0x4627a3[_0x2b4345([0x6f,0x66,0x66])]());},{'priority':_0x2b4345([0x68,0x69,0x67,0x68,0x65,0x73,0x74])});});}}function _0x498519(_0x61de8e){const _0x396d70=_0x802030();return _0x238037[_0x396d70]=_0x61de8e,_0x61de8e;}function _0x802030(){const _0x40df2b=String(window[_0x2b4345([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x2b4345([0x6e,0x6f,0x77])]())[_0x2b4345([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x2b4345([0x2e]),'');let _0x1e1e6e='';for(let _0x1a80e1=0x0;_0x1a80e1<_0x40df2b[_0x2b4345([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1a80e1+=0x2){let _0xf6cacd=parseInt(_0x40df2b[_0x2b4345([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1a80e1,_0x1a80e1+0x2));_0xf6cacd>=_0x58707e[_0x2b4345([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0xf6cacd-=_0x58707e[_0x2b4345([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x1e1e6e+=_0x58707e[_0xf6cacd];}return _0x1e1e6e;}function _0x13755e(_0x5a5f9d){for(const _0x11b6e9 of _0x5a5f9d[_0x2b4345([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])])_0x567131(_0x11b6e9);_0x2ec090(_0x5a5f9d,_0x2b4345([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x2b4345([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])](!0x0),_0x2ec090(_0x5a5f9d,_0x2b4345([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x2b4345([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])]=_0x2e1b2b;}function _0x567131(_0x43ea9c){function _0xe933e3(){_0x43ea9c[_0x2b4345([0x6d,0x6f,0x64,0x65,0x6c])][_0x2b4345([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2e1b2b,_0x43ea9c[_0x2b4345([0x6d,0x6f,0x64,0x65,0x6c])][_0x2b4345([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2e1b2b,_0x43ea9c[_0x2b4345([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x2b4345([0x6d,0x6f,0x64,0x65,0x6c]));}_0x43ea9c[_0x2b4345([0x73,0x74,0x61,0x74,0x65])]==_0x2b4345([0x72,0x65,0x61,0x64,0x79])?_0xe933e3():_0x43ea9c[_0x2b4345([0x6f,0x6e,0x63,0x65])](_0x2b4345([0x72,0x65,0x61,0x64,0x79]),()=>_0xe933e3());}function _0x2e1b2b(){return null;}function _0x1adad4(_0x31c032,_0x2091f9){const _0x51ee40=!!(_0x31c032&_0x2091f9[_0x2b4345([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]),_0x1363ad=_0x2b52db(_0x31c032,_0x2091f9);return _0x51ee40||_0x1363ad;}function _0x2b52db(_0x254156,_0x2ad07){const _0x4adbd3=(_0x2ad07[_0x2b4345([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{})[_0x2b4345([0x66,0x67,0x69])]||null;return!!_0x4adbd3&&_0x37eb9d[_0x2b4345([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x18cff2=>_0x4adbd3[_0x2b4345([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x18cff2[_0x2b4345([0x69,0x64])]))[_0x2b4345([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x169cda=>!_0xb495f(_0x169cda))[_0x2b4345([0x73,0x6f,0x6d,0x65])](_0x26d701=>!!(_0x254156&_0x26d701[_0x2b4345([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]));}function _0xb495f(_0x709cc0){const _0x3f4ad7={[_0x2b4345([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])]:_0x1f60db};return!!_0x709cc0['forbiddenHandler']&&_0x3f4ad7[_0x709cc0['forbiddenHandler']]();}function _0x1f60db(){return!window[_0x2b4345([0x44,0x72,0x75,0x70,0x61,0x6c])]||!_0x4b4e10(_0x238037,_0x2b4345([0x64,0x72,0x75,0x70,0x61,0x6c,0x50,0x6f,0x77,0x65,0x72,0x65,0x64,0x42,0x79]));}function _0x5b95cb(_0x245e62){if(!_0x4b4e10(_0x238037,_0x245e62[_0x2b4345([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))return!0x0;const _0x15abc0=_0x245e62[_0x2b4345([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{},_0x242063=_0x15abc0[_0x2b4345([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]||!0x1,_0x42daa7=_0x15abc0[_0x2b4345([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]||!0x1,_0x20228c=_0x15abc0[_0x2b4345([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]||!0x1;if(_0x4b4e10(_0x238037,_0x2b4345([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x2ec090(_0x238037,_0x2b4345([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x2b4345([0x73,0x74,0x61,0x74,0x65])]==_0x2b4345([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&_0x242063)return!0x0;if(_0x4b4e10(_0x238037,_0x2b4345([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))&&_0x2ec090(_0x238037,_0x2b4345([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))[_0x2b4345([0x72,0x65,0x73,0x75,0x6c,0x74])]==_0x2b4345([0x65,0x6e,0x64])&&_0x42daa7)return!0x0;return!(!_0x4b4e10(_0x238037,_0x2b4345([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]))||_0x2ec090(_0x238037,_0x2b4345([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]))[_0x2b4345([0x72,0x65,0x73,0x75,0x6c,0x74])]!=_0x2b4345([0x65,0x6e,0x64])||!_0x20228c);}function _0x4b4e10(_0x479ae0,_0x5b7963){return _0x479ae0[_0x2b4345([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x2b4345([0x68,0x61,0x73])](_0x5b7963);}function _0x2ec090(_0x292abd,_0xf17921){return _0x292abd[_0x2b4345([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x2b4345([0x67,0x65,0x74])](_0xf17921);}function _0x40da28(_0x557aa0){let _0x2edd2a='';for(const _0x394266 of _0x557aa0)_0x2edd2a+=String[_0x2b4345([0x66,0x72,0x6f,0x6d,0x43,0x68,0x61,0x72,0x43,0x6f,0x64,0x65])](_0x394266);return _0x2edd2a;}function _0x4af65d(_0x192d05){const _0x28541f=new Uint8Array(_0x192d05[_0x2b4345([0x6c,0x65,0x6e,0x67,0x74,0x68])]);for(let _0xa65dc7=0x0;_0xa65dc7<_0x192d05[_0x2b4345([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xa65dc7++)_0x28541f[_0xa65dc7]=_0x192d05[_0x2b4345([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0xa65dc7);return _0x28541f;}_0xb20dd6&&_0x3410c9(_0x5db31c(_0x546e46),_0xb20dd6);})(_0x28d62d);}(this);}['createRevision'](_0x2bb63d){const _0x5b4c5b=this['editor']['plugins']['get']('Users');return new a({'id':_0x2bb63d['id'],'name':_0x2bb63d['name'],'creator':_0x2bb63d['creatorId']?_0x5b4c5b['getUser'](_0x2bb63d['creatorId']):null,'diffData':_0x2bb63d['diffData']||_0x2bb63d['data'],'authors':_0x2bb63d['authorsIds']['map'](_0x28f3ca=>_0x5b4c5b['getUser'](_0x28f3ca)),'createdAt':new Date(_0x2bb63d['createdAt']),'attributes':_0x2bb63d['attributes'],'fromVersion':_0x2bb63d['fromVersion'],'toVersion':_0x2bb63d['toVersion']});}['addRevision'](_0x470ebc,_0x477851=0x0){this['_revisions']['add'](_0x470ebc,_0x477851);}['getRevision'](_0x208652){return this['_revisions']['get'](_0x208652);}['getRevisions'](_0xf2c148={'toJSON':!0x1}){const _0x10c206=Array['from'](this['_revisions']);return _0x10c206['reverse'](),_0xf2c148['toJSON']?_0x10c206['map'](_0x58a697=>_0x58a697['toJSON']()):_0x10c206;}['getIndex'](_0x331d6b){return this['_revisions']['getIndex'](_0x331d6b);}['getEarlierVisibleRevision'](_0x5b44c8){const [,_0xce42ac]=this['getRevisionsIterator'](_0x5b44c8,{'direction':'earlier'});return _0xce42ac;}['getLaterVisibleRevision'](_0x24802c){const [,_0x4cecf1]=this['getRevisionsIterator'](_0x24802c,{'direction':'later'});return _0x4cecf1;}['getRevisionsInDiff'](_0x1b3edc){const _0x1bc42b=[];for(const _0x533040 of this['getRevisionsIterator'](_0x1b3edc['newRevisionId']))if(_0x1bc42b['push'](_0x533040),_0x533040['id']===_0x1b3edc['oldRevisionId'])break;return _0x1bc42b;}*['getRevisionsIterator'](_0x3e6a55,{direction:_0x195f41='earlier',filter:_0x32b15f=_0x422fe3=>!0x0}={}){const _0x25c610='earlier'===_0x195f41?0x1:-0x1;let _0x3515a9=this['_revisions']['get'](_0x3e6a55),_0x1edf65=this['getIndex'](_0x3515a9);for(yield _0x3515a9;_0x3515a9;){if(_0x1edf65+=_0x25c610,_0x3515a9=this['getRevision'](_0x1edf65),!_0x3515a9)return;_0x32b15f(_0x3515a9)&&(yield _0x3515a9);}}}function y(_0x570a0a,_0x331042,_0x33a9ee){const t=_0x570a0a['t'];switch(_0x331042){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'},_0x33a9ee);case'X_OF_Y_CHANGES':return t({'string':'%0\x20of\x20%1','id':'X_OF_Y_CHANGES'},_0x33a9ee);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':_0x2f205d,'a':_0x226d88,'e':_0x396af2,'r':_0x1c536b,'u':_0x3225fd};class l extends _0x593a2b{['adapter'];['currentRevision'];['repository'];['_revisionDataBuilder'];['_source'];['_initialRevisionId'];['_bufferedUpdates'];['_pendingAction'];['_continueCurrentRevision'];['_startingVersion'];['_loadedStateData'];static get['pluginName'](){return'RevisionTracker';}static get['requires'](){return[_0x13b341,A,_0x39eaa9];}constructor(_0x4d296f){super(_0x4d296f),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 _0x36210d=_0x117e18();this['_source']={'history':this['editor']['model']['document']['history'],'getLatestVersion':()=>Promise['resolve'](this['editor']['model']['document']['version']),'getCurrentRevisionId':()=>_0x36210d},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 _0x17cd44=this['repository']['getRevision'](0x0),_0x511378=_0x17cd44&&null===_0x17cd44['creator']?_0x17cd44:null;if(this['_continueCurrentRevision']=!!_0x511378&&this['editor']['config']['get']('revisionHistory.resumeUnsavedRevision'),this['editor']['plugins']['has']('RealTimeCollaborationClient')){const _0x363049=this['_source']['getCurrentRevisionId'](),_0x21939d=this['repository']['getRevision'](_0x363049);if(_0x21939d)this['_startingVersion']=_0x21939d['fromVersion'],this['_continueCurrentRevision']=!0x1;else{const _0x46b935=this['_source']['history']['_operations']['find'](_0x24de6c=>!_0x24de6c['_isInit']),_0x4428da=_0x46b935?_0x46b935['baseVersion']:this['_source']['history']['version'];_0x17cd44?(_0x17cd44['toVersion']<_0x4428da&&_0x17cd44['_update']({'toVersion':_0x4428da}),this['_continueCurrentRevision']?(this['_source']['getCurrentRevisionId']=()=>_0x511378['id'],this['_startingVersion']=_0x511378['fromVersion']):(this['_startingVersion']=_0x17cd44['toVersion'],this['_continueCurrentRevision']=!0x1)):(this['_startingVersion']=_0x4428da,this['_continueCurrentRevision']=!0x1);}}else _0x511378&&(this['editor']['model']['document']['history']['version']=Math['max'](_0x511378['toVersion'],this['editor']['model']['document']['history']['version']),_0x511378['fromVersion']===_0x511378['toVersion']?(0x0!==_0x511378['fromVersion']&&(this['_source']['getCurrentRevisionId']=()=>_0x511378['id']),this['_continueCurrentRevision']=!0x1):this['_continueCurrentRevision']&&(this['_source']['getCurrentRevisionId']=()=>_0x511378['id'],this['_startingVersion']=_0x511378['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',_0x383fa6=>!_0x383fa6);}async['afterInit'](){if(this['repository']['length']>0x0){const _0x445778=this['repository']['getRevision'](0x0),_0x3781c6=await this['getRevisionDocumentData'](_0x445778),_0x74428c=await this['getRevisionRootsAttributes'](_0x445778);this['_replaceEditorDataWithRevisionData'](_0x3781c6,_0x74428c);}}['setSource'](_0xccca26){this['_source']=_0xccca26;}async['update'](){const _0x551e4d=await this['_source']['getLatestVersion']();if(_0x551e4d>this['currentRevision']['toVersion']){await this['_loadState']();const _0x3c8317=this['buildRevisionData']({'revision':this['currentRevision'],'to':_0x551e4d});_0x3c8317['authors']=_0x3c8317['authorsIds']['map'](_0x18919f=>this['editor']['plugins']['get']('Users')['getUser'](_0x18919f)),this['currentRevision']['_update'](_0x3c8317);}}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'](_0x1df317={},_0x54d537=null){const _0x49912b=[];await this['_loadState'](),this['_continueCurrentRevision']=!0x1,_0x54d537>this['currentRevision']['toVersion']&&(_0x54d537=null),null===_0x54d537&&(_0x54d537=await this['_source']['getLatestVersion']());const _0x11e5d3=this['_getFromVersion'](_0x54d537),_0x3cc9dc=this['buildRevisionData']({'from':_0x11e5d3,'to':_0x54d537});if(this['currentRevision']['toVersion']<_0x54d537){const _0x16fecd=this['buildRevisionData']({'revision':this['currentRevision'],'from':_0x54d537,'to':_0x54d537});_0x16fecd['authors']=[],_0x16fecd['authorsIds']=[],_0x16fecd['id']=this['currentRevision']['id'],this['currentRevision']['_update'](_0x16fecd,!0x0),delete _0x16fecd['authors'],_0x49912b['push'](_0x16fecd);}_0x1df317['creatorId']=this['editor']['plugins']['get']('Users')['me']['id'],_0x1df317['name']=_0x1df317['name']||null,_0x1df317['id']=_0x1df317['id']||_0x117e18(),_0x1df317={..._0x1df317,..._0x3cc9dc};const _0x2802dc=this['addRevisionData'](_0x1df317);_0x49912b['push'](_0x1df317);const _0x497de6=this['repository']['getIndex'](_0x2802dc);if(0x0!==_0x497de6){const _0x3e9173=this['repository']['getRevision'](_0x497de6-0x1);if(_0x3e9173['fromVersion']!==_0x54d537){const _0x2f351a=this['_revisionDataBuilder']['getData'](_0x54d537,_0x3e9173['toVersion']),_0x4c5aee={'id':_0x3e9173['id'],'diffData':_0x2f351a['diffData'],'authorsIds':_0x2f351a['authorsIds'],'authors':_0x2f351a['authorsIds']['map'](_0x1ce6d9=>this['editor']['plugins']['get']('Users')['getUser'](_0x1ce6d9)),'fromVersion':_0x54d537};_0x3e9173===this['currentRevision']&&(_0x4c5aee['createdAt']=new Date(_0x1df317['createdAt']['getTime']()+0xa)),_0x3e9173['_update'](_0x4c5aee,!0x0),delete _0x4c5aee['authors'],_0x49912b['push'](_0x4c5aee);}}if(this['adapter']){for(const _0x37cc89 of _0x49912b)this['_bufferUpdate'](_0x37cc89['id'],_0x37cc89,!0x0);this['sendBufferedUpdates']();}return _0x2802dc;}['addRevisionData'](_0x5cf22e){const _0x4da0d8=this['repository']['createRevision'](_0x5cf22e);return this['adapter']&&_0x4da0d8['on']('_update',(_0x4c9a7f,_0x1fec95,_0x125477)=>{_0x125477||(this['_bufferUpdate'](_0x1fec95['id'],_0x1fec95,!0x0),this['sendBufferedUpdates']());}),this['repository']['addRevision'](_0x4da0d8,this['_findInsertionIndex'](_0x4da0d8)),_0x4da0d8;}async['getRevisionDocumentData'](_0xebf0f0){await this['_loadRevisionData'](_0xebf0f0);const _0x481990={};for(const _0x45ecb3 in _0xebf0f0['diffData']){if(_0xebf0f0['diffData'][_0x45ecb3]['attachChange']&&!_0xebf0f0['diffData'][_0x45ecb3]['attachChange']['isAttached'])continue;const _0x1cdb13=this['_removeRevisionMarkers'](JSON['parse'](_0xebf0f0['diffData'][_0x45ecb3]['insertions'])),_0x261ddf=this['editor']['editing']['view']['document'],_0x5f202d=new _0xe401ea(_0x261ddf,_0x1cdb13['map'](_0x2c944a=>B(_0x2c944a,this['editor'])));this['editor']['data']['processor']['useFillerType']('marked'),_0x481990[_0x45ecb3]=this['editor']['data']['processor']['toData'](_0x5f202d),this['editor']['data']['processor']['useFillerType']('default');}return _0x481990;}async['getRevisionRootsAttributes'](_0x2a7ebc){await this['_loadRevisionData'](_0x2a7ebc);const _0x388273={};for(const _0x77d964 in _0x2a7ebc['diffData'])_0x2a7ebc['diffData'][_0x77d964]['attachChange']&&!_0x2a7ebc['diffData'][_0x77d964]['attachChange']['isAttached']||(_0x388273[_0x77d964]=_0x2a7ebc['diffData'][_0x77d964]['attributesAfter']||{});return _0x388273;}['sendBufferedUpdates'](){if(0x0===this['_bufferedUpdates']['size'])return;if(this['_isPendingUpdate'])return;let _0x3c5474=Array['from'](this['_bufferedUpdates']['values']());this['_bufferedUpdates']['clear']();for(let _0x18f1cd=0x0;_0x18f1cd<_0x3c5474['length'];_0x18f1cd++){const _0x3d1019=_0x3c5474[_0x18f1cd];let _0x5b90a3=!0x1;for(const _0x2585e0 of Object['keys'](_0x3d1019))void 0x0===_0x3d1019[_0x2585e0]?delete _0x3d1019[_0x2585e0]:'id'!==_0x2585e0&&(_0x5b90a3=!0x0);_0x5b90a3||(_0x3c5474[_0x18f1cd]=null);}if(_0x3c5474=_0x3c5474['filter'](_0x3a07df=>null!==_0x3a07df),!_0x3c5474['length'])return;for(let _0x41c844=0x0;_0x41c844<_0x3c5474['length'];_0x41c844++){const _0x515f2f=_0x3c5474[_0x41c844];void 0x0!==_0x515f2f['fromVersion']&&void 0x0===_0x515f2f['toVersion']&&(_0x515f2f['toVersion']=this['repository']['getRevision'](_0x515f2f['id'])['toVersion']),void 0x0!==_0x515f2f['toVersion']&&void 0x0===_0x515f2f['fromVersion']&&(_0x515f2f['fromVersion']=this['repository']['getRevision'](_0x515f2f['id'])['fromVersion']);}const _0x18e108=this['editor']['config']['get']('collaboration.channelId');this['_isPendingUpdate']=!0x0,this['_addPendingAction'](),this['adapter']['updateRevisions'](_0x3c5474,_0x18e108)['finally'](()=>{this['_isPendingUpdate']=!0x1;})['then'](_0x80ab70=>{if(_0x80ab70){for(const _0x5b2c01 of _0x80ab70)this['setRevisionData']({'id':_0x5b2c01['id'],'createdAt':_0x5b2c01['createdAt']});}this['_removePendingAction'](),this['sendBufferedUpdates']();});}['_replaceEditorDataWithRevisionData'](_0x31a98b,_0x1d9f94){let _0x15f294=this['editor']['config']['get']('initialData'),_0x23d38e=this['editor']['config']['get']('rootsAttributes');if(void 0x0===_0x15f294){_0x15f294={};for(const _0x4fcf27 of this['editor']['model']['document']['getRootNames']())_0x15f294[_0x4fcf27]='';}if('string'==typeof _0x15f294&&(_0x15f294={'main':_0x15f294}),void 0x0===_0x23d38e){_0x23d38e={};for(const _0x342cdb of this['editor']['model']['document']['getRootNames']())_0x23d38e[_0x342cdb]={};}let _0x27ceb9=!0x1;const _0x3b7566=Object['keys'](_0x15f294),_0x5cf94e=Object['keys'](_0x31a98b);for(const _0x1bb709 of _0x3b7566){if(_0x15f294[_0x1bb709]!==_0x31a98b[_0x1bb709]&&''!==_0x15f294[_0x1bb709]['trim']()){_0x27ceb9=!0x0;break;}if(!_0x5ac1a7(_0x23d38e[_0x1bb709],_0x1d9f94[_0x1bb709])&&Object['keys'](_0x23d38e[_0x1bb709])['length']>0x0){_0x27ceb9=!0x0;break;}}_0x27ceb9||(_0x27ceb9=_0x5cf94e['some'](_0x53644b=>!this['editor']['model']['document']['getRoot'](_0x53644b))),_0x27ceb9&&_0x4b9ab7('editor-initial-data-replaced-with-revision-data',{'editorData':_0x15f294,'editorRootsAttributes':_0x23d38e,'revisionData':_0x31a98b,'revisionRootsAttributes':_0x1d9f94}),this['editor']['config']['set']('initialData',_0x31a98b),this['editor']['config']['set']('rootsAttributes',_0x1d9f94);}['_addPendingAction'](){if(!this['_pendingAction']){const _0x32f0b7=this['editor']['plugins']['get']('PendingActions');this['_pendingAction']=_0x32f0b7['add'](y(this['editor']['locale'],'PENDING_ACTION_REVISION_HISTORY'));}}['_removePendingAction'](){this['_pendingAction']&&(this['editor']['plugins']['get']('PendingActions')['remove'](this['_pendingAction']),this['_pendingAction']=null);}['_findInsertionIndex'](_0x42fb85){const _0x5c5ac0=this['repository']['getRevisions']();_0x5c5ac0['reverse']();let _0x18a987=0x0;for(;_0x18a987<_0x5c5ac0['length'];){const _0x1b6c28=_0x5c5ac0[_0x18a987];if(_0x1b6c28===this['currentRevision']){_0x18a987++;continue;}if(_0x1b6c28['id']===this['_initialRevisionId'])break;const _0x2f4571=_0x42fb85['toVersion']-_0x1b6c28['toVersion']||_0x42fb85['fromVersion']-_0x1b6c28['fromVersion'];if(_0x2f4571>0x0)break;if(_0x2f4571<0x0)_0x18a987++;else{if(!_0x42fb85['creator']&&_0x1b6c28['creator'])break;if(_0x1b6c28['creator']||!_0x42fb85['creator']){if(_0x42fb85['createdAt']>_0x1b6c28['createdAt'])break;_0x18a987++;}else _0x18a987++;}}return _0x18a987;}['setRevisionData'](_0x5c10e1){const _0x461d78=this['repository']['getRevision'](_0x5c10e1['id']);if(_0x5c10e1['createdAt']&&(_0x5c10e1['createdAt']=new Date(_0x5c10e1['createdAt'])),_0x5c10e1['authorsIds']){const _0x2a61e1=this['editor']['plugins']['get']('Users');_0x5c10e1['authors']=_0x5c10e1['authorsIds']['map'](_0x12282f=>_0x2a61e1['getUser'](_0x12282f));}_0x461d78['_update'](_0x5c10e1,!0x0);}['buildRevisionData']({revision:_0xaec52=null,from:_0xe53c85=null,to:_0x7ca444=null}){_0xe53c85=null!==_0xe53c85?_0xe53c85:_0xaec52['fromVersion'],_0x7ca444=null!==_0x7ca444?_0x7ca444:_0xaec52['toVersion'];const _0x3248f8=this['_revisionDataBuilder']['getData'](_0xe53c85,_0x7ca444),_0x1bd845={'diffData':_0x3248f8['diffData'],'authorsIds':_0x3248f8['authorsIds'],'fromVersion':_0xe53c85,'toVersion':_0x7ca444};if(!_0xaec52||_0x7ca444!==_0xaec52['toVersion']){const _0x51971d=_0x7ca444-0x1,_0x4c18f6=this['_source']['history']['getOperation'](_0x51971d);_0x1bd845['createdAt']=_0x4c18f6&&_0x4c18f6['createdAt']||new Date();}if(this['_loadedStateData']&&_0xe53c85===this['_loadedStateData']['fromVersion']){for(const _0x3ab0d2 of this['_loadedStateData']['authors'])_0x1bd845['authorsIds']['includes'](_0x3ab0d2['id'])||_0x1bd845['authorsIds']['push'](_0x3ab0d2['id']);}return _0x1bd845;}['_loadRevisionData'](_0x77c20f){if(!_0x77c20f||_0x77c20f['diffData'])return Promise['resolve']();{const _0x2bd884=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0x2bd884,'revisionId':_0x77c20f['id']})['then'](_0x1c0cde=>{_0x77c20f['diffData']=_0x1c0cde['diffData'];});}}['_bufferUpdate'](_0x5f3896,_0x51f678,_0x457cfa){if(this['_bufferedUpdates']['has'](_0x5f3896)){const _0x5a7e59=this['_bufferedUpdates']['get'](_0x5f3896);_0x51f678=_0x457cfa?{..._0x5a7e59,..._0x51f678}:{..._0x51f678,..._0x5a7e59};}this['_bufferedUpdates']['set'](_0x5f3896,_0x51f678);}['_getFromVersion'](_0x485128){const _0x5a5791=this['repository']['getRevisions']();_0x5a5791['reverse'](),_0x5a5791['shift']();const _0x2dc8ce=_0x5a5791['find'](_0xa2256a=>_0xa2256a['toVersion']<=_0x485128)['toVersion'];return _0x2dc8ce<this['_startingVersion']?this['_startingVersion']:_0x2dc8ce;}['_createInitialRevision'](_0x498707){const _0x7af4cb=this['repository']['getRevision'](this['repository']['length']-0x1);if(_0x7af4cb)this['_initialRevisionId']=_0x7af4cb['id'];else{const _0x4c36b2=!this['editor']['model']['document']['roots']['find'](_0x5259a1=>this['editor']['model']['hasContent'](_0x5259a1)),_0x1c718f=this['editor']['plugins']['get']('Users')['me']['id'],_0x22382a=y(this['editor']['locale'],_0x4c36b2?'Empty\x20document':'Initial\x20revision');this['_makeRevision']({'from':_0x498707,'to':_0x498707,'id':this['_initialRevisionId'],'name':_0x22382a,'creatorId':_0x1c718f});}}['_createCurrentRevision'](_0x20b589){const _0xa8880e=this['_source']['getCurrentRevisionId']();this['currentRevision']=this['repository']['getRevision'](_0xa8880e),this['currentRevision']||(this['currentRevision']=this['_makeRevision']({'from':_0x20b589,'to':_0x20b589,'id':_0xa8880e,'name':'','creatorId':null}));}['_makeRevision']({name:_0x5ce144,from:_0x1c8a89,to:_0x3a0254,creatorId:_0xe9f59b,id:_0x328bc8}){const _0x323dc8=this['buildRevisionData']({'from':_0x1c8a89,'to':_0x3a0254});_0x323dc8['name']=_0x5ce144,_0x323dc8['creatorId']=_0xe9f59b,_0x323dc8['id']=_0x328bc8;const _0x4db675=this['addRevisionData'](_0x323dc8);return this['adapter']&&this['_bufferUpdate'](_0x323dc8['id'],_0x323dc8,!0x0),_0x4db675;}['_setConversion'](){this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'});}['_removeRevisionMarkers'](_0x597f71){return(_0x597f71=_0x597f71['filter'](_0x5723bd=>!_0x5723bd['name']||'revision-start'!==_0x5723bd['name']&&'revision-end'!==_0x5723bd['name']))['forEach'](_0x59782c=>{'string'!=typeof _0x59782c&&(_0x59782c['children']=this['_removeRevisionMarkers'](_0x59782c['children']),_0x59782c['attributes']=_0x59782c['attributes']['filter'](_0x2f49d8=>!_0x2f49d8[0x0]['startsWith']('data-revision-')));}),_0x597f71;}}function B(_0x5f5c0c,_0x1bebcc){const _0x40a913=_0x1bebcc['editing']['view']['document'];if('string'==typeof _0x5f5c0c)return new _0x520d9a(_0x40a913,_0x5f5c0c);{const _0x56b25f=_0x5f5c0c['children']['map'](_0x291039=>B(_0x291039,_0x1bebcc));return new(T[_0x5f5c0c['type']]||_0x177242)(_0x40a913,_0x5f5c0c['name'],_0x5f5c0c['attributes'],_0x56b25f);}}class J{['editor'];['source'];['_savedMetaData'];['_lastFrom'];['_lastTo'];['_markers'];['_diffRoots'];['_diffRootsAttributes'];['_baseRoots'];['_baseRootsAttributes'];['_idsRoots'];['_baseIdsRoots'];['_touched'];['_touchedMarkers'];['_touchedRoots'];['_revisionId'];['_startingRevisionId'];constructor(_0x4e19e3){this['editor']=_0x4e19e3,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'](_0x23f559){this['source']=_0x23f559;const _0x686d6c=new Map(),_0x15e04a=new Map(),_0x11ff50=this['editor']['model']['document']['roots']['map'](_0x7028ac=>_0x7028ac['rootName']);for(const _0x3af3d8 of _0x11ff50){const _0x57a09c=this['editor']['model']['document']['getRoot'](_0x3af3d8),_0x55ea58=q(_0x57a09c);_0x686d6c['set'](_0x3af3d8,_0x55ea58),_0x15e04a['set'](_0x3af3d8,Object['fromEntries'](_0x57a09c['getAttributes']()));}const _0x447a54=Array['from'](this['editor']['model']['markers'])['map'](_0x3f7554=>[_0x3f7554['name'],_0x3f7554['getRange']()]),_0x4a5a26=this['source']['version'];this['_saveMetaData'](_0x4a5a26,_0x686d6c,_0x447a54,_0x15e04a),this['_startingRevisionId']=this['_revisionId'];const _0x279a4e=new Map(),_0x58eba8=new Map();for(const _0x2d1230 of _0x11ff50){const _0x320124=G(_0x2d1230);_0x279a4e['set'](_0x2d1230,_0x320124),_0x58eba8['set'](_0x2d1230,{});}this['_saveMetaData'](Number['NEGATIVE_INFINITY'],_0x279a4e,[],_0x58eba8);}['getData'](_0xee776a,_0x1e9bb7){if(this['_lastFrom']===_0xee776a&&this['_lastTo']<=_0x1e9bb7)this['_savedMetaData']['size']>0x1&&this['_removeMetaData'](this['_lastTo']),this['_applyOperations'](this['_lastTo'],_0x1e9bb7,!0x0);else{if(!this['_savedMetaData']['has'](_0xee776a)){const _0x28bb66=this['_getPreviousFrom'](_0xee776a);this['_calculateMetaData'](_0x28bb66,_0xee776a,!0x1);}this['_calculateMetaData'](_0xee776a,_0x1e9bb7,!0x0);}return this['_lastFrom']=_0xee776a,this['_lastTo']=_0x1e9bb7,this['_getState']();}['loadState'](_0x3aa195){this['_reset'](),this['_lastFrom']=_0x3aa195['fromVersion'],this['_lastTo']=_0x3aa195['toVersion'];for(const _0x5b5b9a in _0x3aa195['diffData']){const _0x24c7a9=_0x3aa195['diffData'][_0x5b5b9a]['attachChange'],_0x3ead18=_0x54db32(_0x3aa195['diffData'][_0x5b5b9a]['attributesBefore'])||{},_0x3b02e5=this['_makeModelFromViewString'](_0x3aa195['diffData'][_0x5b5b9a]['deletions']);_0x3b02e5['rootName']=_0x5b5b9a,_0x3b02e5['_isAttached']=!_0x24c7a9||!_0x24c7a9['isAttached'],_0x3b02e5['isAttached']=()=>_0x3b02e5['_isAttached'],this['_baseRoots']['set'](_0x5b5b9a,_0x3b02e5),this['_baseRootsAttributes']['set'](_0x5b5b9a,_0x3ead18),_0x24c7a9&&this['_touchedRoots']['set'](_0x5b5b9a,_0x24c7a9);const _0x185ef2=this['_makeIdsRoot'](_0x3b02e5);this['_baseIdsRoots']['set'](_0x5b5b9a,_0x185ef2);for(const [_0x2d7ee6,_0x5da2ea]of _0x3b02e5['markers']){if(!_0x2d7ee6['startsWith']('revision:'))continue;const _0x41a6ca=_0x2d7ee6['split'](':')[0x2];for(const _0x59dbc3 of _0x5da2ea['getWalker']({'singleCharacters':!0x0})){const _0x58cfb9=this['_getVidAttributeName'](_0x59dbc3),_0x3182e0='elementEnd'==_0x59dbc3['type']?_0x59dbc3['previousPosition']['path']['slice'](0x0,-0x1):_0x59dbc3['previousPosition']['path'],_0x58e367=_0x185ef2['getNodeByPath'](_0x3182e0)['getAttribute'](_0x58cfb9);this['_touched']['set'](_0x58e367,{'userId':_0x41a6ca});}}}this['_startingRevisionId']=this['_revisionId'];const _0x3608a3=[...Array(this['_revisionId'])['keys']()]['slice'](0x1)['filter'](_0x4dbae4=>!this['_touched']['has'](_0x4dbae4));let _0x6d5195=0x0;const _0x56e9ad=new Map();for(const _0x42bc5c in _0x3aa195['diffData']){const _0x3f2ff2=_0x3aa195['diffData'][_0x42bc5c]['attachChange'],_0x216088=_0x54db32(_0x3aa195['diffData'][_0x42bc5c]['attributesAfter'])||{},_0x3906be=this['_makeModelFromViewString'](_0x3aa195['diffData'][_0x42bc5c]['insertions']);_0x3906be['rootName']=_0x42bc5c,_0x3906be['_isAttached']=!_0x3f2ff2||_0x3f2ff2['isAttached'],_0x3906be['isAttached']=()=>_0x3906be['_isAttached'],this['_diffRoots']['set'](_0x42bc5c,_0x3906be),this['_diffRootsAttributes']['set'](_0x42bc5c,_0x216088);const _0xdf35ae=this['_makeIdsRoot'](_0x3906be,Number['NEGATIVE_INFINITY']);this['_idsRoots']['set'](_0x42bc5c,_0xdf35ae),_0x56e9ad['set'](_0x42bc5c,_0x3906be['isAttached']()?_0x216088:{});for(const [_0x470dd3,_0x3bfaaf]of _0x3906be['markers']){if(!_0x470dd3['startsWith']('revision:'))continue;const _0x19cc8e=_0x470dd3['split'](':')[0x2];for(const _0x2c91ec of _0x3bfaaf['getWalker']({'singleCharacters':!0x0})){const _0x12e321=this['_getVidAttributeName'](_0x2c91ec),_0x4b68b0=this['_revisionId']++,_0x38627d='elementEnd'==_0x2c91ec['type']?_0x2c91ec['previousPosition']['path']['slice'](0x0,-0x1):_0x2c91ec['previousPosition']['path'];_0xdf35ae['getNodeByPath'](_0x38627d)['_setAttribute'](_0x12e321,_0x4b68b0),this['_touched']['set'](_0x4b68b0,{'userId':_0x19cc8e});}}for(const _0x2ee77c of this['editor']['model']['createRangeIn'](_0x3906be)['getWalker']({'singleCharacters':!0x0})){const _0x3e1c86=this['_getVidAttributeName'](_0x2ee77c),_0x100b94='elementEnd'==_0x2ee77c['type']?_0x2ee77c['previousPosition']['path']['slice'](0x0,-0x1):_0x2ee77c['previousPosition']['path'],_0x3d97dc=_0xdf35ae['getNodeByPath'](_0x100b94);_0x3d97dc['getAttribute'](_0x3e1c86)>0x0||_0x3d97dc['_setAttribute'](_0x3e1c86,_0x3608a3[_0x6d5195++]);}for(const [_0x18832e,_0x49c59e]of _0x3906be['markers'])_0x18832e['startsWith']('revision:')||this['_markers']['set'](_0x18832e,_0x49c59e);}const _0x502789=G('$graveyard');this['_baseRoots']['set']('$graveyard',_0x502789),this['_baseIdsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x502789,0x1));const _0x255534=G('$graveyard');this['_diffRoots']['set']('$graveyard',_0x255534),this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x255534,0x1));const _0x269761=Array['from'](this['_diffRoots'])['map'](([_0x1331b5,_0x4d541c])=>[_0x1331b5,q(_0x4d541c)]);this['_saveMetaData'](this['_lastTo'],_0x269761,this['_markers'],_0x56e9ad);}['_makeModelFromViewString'](_0x3abbf5){const _0x543ad2=JSON['parse'](_0x3abbf5),_0x15bd78=this['editor']['editing']['view']['document'],_0x432fb5=new _0xe401ea(_0x15bd78,_0x543ad2['map'](_0x58afd0=>B(_0x58afd0,this['editor'])));return this['editor']['data']['toModel'](_0x432fb5);}['_saveMetaData'](_0x8ed946,_0x2f0e8c,_0x60f8f7,_0x308798){const _0x3324bb=new Map(_0x2f0e8c),_0x3a9b0d=new Map(_0x54db32(_0x308798)),_0x5f54fa=new Map();for(const [_0x43e385,_0x264e38]of _0x60f8f7)_0x5f54fa['set'](_0x43e385,{'start':_0x264e38['start']['clone'](),'end':_0x264e38['end']['clone'](),'rootName':_0x264e38['root']['rootName']});this['_savedMetaData']['set'](_0x8ed946,{'roots':_0x3324bb,'markers':_0x5f54fa,'rootsAttributes':_0x3a9b0d});}['_removeMetaData'](_0x5ec96e){this['_savedMetaData']['delete'](_0x5ec96e);}['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'](_0x20c03b,_0x31d20f=null){let _0x3968ea=null;_0x20c03b['is']('documentFragment')||(_0x3968ea=new ft(_0x20c03b['name'],{'vid_start':null===_0x31d20f?this['_revisionId']++:_0x31d20f++}));const _0x47245a=[];for(const _0x29aa35 of _0x20c03b['getChildren']())if(_0x29aa35['is']('element')){_0x47245a['push'](this['_makeIdsRoot'](_0x29aa35,_0x31d20f));const _0x7c73b3=_0x47245a[_0x47245a['length']-0x1];null!==_0x31d20f&&(_0x31d20f=_0x7c73b3['is']('element','$text')?_0x7c73b3['getAttribute']('vid')+0x1:_0x7c73b3['getAttribute']('vid_end')+0x1);}else{for(let _0x8218d=0x0;_0x8218d<_0x29aa35['offsetSize'];_0x8218d++)_0x47245a['push'](new ft('$text',{'vid':null===_0x31d20f?this['_revisionId']++:_0x31d20f++}));}if(_0x20c03b['is']('documentFragment')){const _0x109fcb=G(_0x20c03b['rootName']);return _0x109fcb['_insertChild'](0x0,_0x47245a),_0x109fcb;}return _0x3968ea['_setAttribute']('vid_end',null===_0x31d20f?this['_revisionId']++:_0x31d20f++),_0x3968ea['_insertChild'](0x0,_0x47245a),_0x3968ea;}['_calculateMetaData'](_0xbba2ad,_0x2bb4e6,_0x57cbdc){this['_reset']();const {roots:_0x524830,markers:_0x134613,rootsAttributes:_0x4f61fa}=this['_savedMetaData']['get'](_0xbba2ad);this['_baseRoots']=new Map(_0x524830),this['_baseRootsAttributes']=new Map(_0x54db32(_0x4f61fa));for(const [_0x759c14,_0x3710c5]of this['_baseRoots'])if('$graveyard'!==_0x759c14&&(this['_diffRoots']['set'](_0x759c14,q(_0x3710c5)),this['_diffRootsAttributes']=new Map(_0x54db32(_0x4f61fa)),_0x57cbdc)){const _0x572d4d=this['_revisionId'];this['_idsRoots']['set'](_0x759c14,this['_makeIdsRoot'](_0x3710c5)),this['_baseIdsRoots']['set'](_0x759c14,this['_makeIdsRoot'](_0x3710c5,_0x572d4d));}this['_startingRevisionId']=this['_revisionId'],this['_diffRoots']['set']('$graveyard',q(this['_baseRoots']['get']('$graveyard'))),_0x57cbdc&&this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](this['_baseRoots']['get']('$graveyard')));for(const [_0x3bc5c4,_0x129795]of _0x134613){const _0x28029c=this['_baseRoots']['get'](_0x129795['rootName']),_0x1a36fc=this['_diffRoots']['get'](_0x129795['rootName']),_0x50c165=new vt(this['_fixPosition'](_0x129795['start'],_0x28029c),this['_fixPosition'](_0x129795['end'],_0x28029c)),_0xd536e8=this['_fixRange'](_0x50c165,_0x1a36fc);_0x28029c['markers']['set'](_0x3bc5c4,_0x50c165),this['_markers']['set'](_0x3bc5c4,_0xd536e8);}this['_applyOperations'](_0xbba2ad,_0x2bb4e6,_0x57cbdc);}['_applyOperations'](_0x41e97f,_0x1299a5,_0x38a2e3){for(const _0x33f131 of this['source']['getOperations'](_0x41e97f,_0x1299a5))this['_handleOperation'](_0x33f131,_0x38a2e3);for(const _0x4a20a9 of this['_diffRoots']['values']())_0x4a20a9['markers']['clear']();for(const [_0x5bca79,_0x2e73d2]of this['_markers']){this['_diffRoots']['get'](_0x2e73d2['root']['rootName'])['markers']['set'](_0x5bca79,_0x2e73d2['clone']());}const _0x2fdb90=new Map(),_0x42dac8=new Map();for(const [_0x448a30,_0x17b82c]of this['_diffRoots'])_0x2fdb90['set'](_0x448a30,q(_0x17b82c)),_0x42dac8['set'](_0x448a30,this['_diffRootsAttributes']['get'](_0x448a30));this['_saveMetaData'](_0x1299a5,_0x2fdb90,this['_markers'],_0x42dac8);}['_getPreviousFrom'](_0x2d752d){const _0x5d3a2d=Array['from'](this['_savedMetaData']['keys']());_0x5d3a2d['sort']((_0x36a6e2,_0x385dc3)=>_0x36a6e2-_0x385dc3),_0x5d3a2d['reverse']();for(const _0x300730 of _0x5d3a2d)if(_0x300730<_0x2d752d)return _0x300730;return Number['NEGATIVE_INFINITY'];}['_copyMarkers'](_0x977f6a,_0x2b633a){const _0x34f206=Array['from'](_0x2b633a['markers'])['map'](([_0x5951cc,_0x20f775])=>[_0x5951cc,this['_fixRange'](_0x20f775,_0x977f6a)]);_0x977f6a['markers']=new Map(_0x34f206);}['_transformMarkers'](_0xdb436f){for(const _0x2db152 of this['_markers']['values']()){const _0x5f4a01=_0x2db152['getTransformedByOperation'](_0xdb436f),_0x298536=vt['_createFromRanges'](_0x5f4a01);_0x2db152['start']=_0x298536['start'],_0x2db152['end']=_0x298536['end'];}}['_handleOperation'](_0x10b323,_0x544411){if('addRoot'==_0x10b323['type']||'detachRoot'==_0x10b323['type'])return void this['_handleRootOperation'](_0x10b323,_0x544411);if('insert'==_0x10b323['type']){const _0x3c31d6=_0x10b323['position']['root']['rootName'];this['_diffRoots']['has'](_0x3c31d6)||(this['_diffRoots']['set'](_0x3c31d6,G(_0x3c31d6,!0x0)),this['_diffRootsAttributes']['set'](_0x3c31d6,{}),_0x544411&&this['_idsRoots']['set'](_0x3c31d6,G(_0x3c31d6,!0x0)));}else{if('addRootAttribute'==_0x10b323['type']||'removeRootAttribute'==_0x10b323['type']||'changeRootAttribute'==_0x10b323['type'])return void this['_handleRootAttributeOperation'](_0x10b323);}const _0x2faaae=this['_cloneOperation'](_0x10b323,this['_diffRoots']);if('marker'!==_0x10b323['type']&&(_0x2faaae['_execute'](),this['_transformMarkers'](_0x2faaae)),_0x544411)switch(_0x2faaae['type']){case'insert':this['_handleInsertOperation'](_0x10b323);break;case'move':case'remove':case'reinsert':this['_handleMoveOperation'](_0x10b323);break;case'merge':this['_handleMergeOperation'](_0x10b323);break;case'split':this['_handleSplitOperation'](_0x10b323);break;case'marker':this['_handleMarkerOperation'](_0x10b323);}}['_cloneOperation'](_0x3fdeb1,_0x5cab07){const _0x532136=_0x3fdeb1['clone']();return _0x532136['_authorId']=_0x3fdeb1['_authorId'],this['_fixOperation'](_0x532136,_0x5cab07),_0x532136;}['_getBaseVids'](_0x46bbaa){return _0x46bbaa['map'](_0x562ed2=>{const _0x191bf3=this['_getVidAttributeName'](_0x562ed2);return Number(_0x562ed2['item']['getAttribute'](_0x191bf3));});}['_generateTape'](_0x31fba3,_0x508555){if(_0x31fba3['is']('element','$text'))_0x508555['push']({'item':_0x31fba3,'type':'text'});else{_0x31fba3['is']('element')&&_0x508555['push']({'item':_0x31fba3,'type':'elementStart'});for(const _0x5bd9e6 of _0x31fba3['getChildren']())this['_generateTape'](_0x5bd9e6,_0x508555);_0x31fba3['is']('element')&&_0x508555['push']({'item':_0x31fba3,'type':'elementEnd'});}return _0x508555;}['_getState'](){const _0x290deb=new Map(this['_touched']),_0x5ac0b1=new Map(_0x290deb),_0x1c3587=new Map(),_0x462301={'insertions':{},'deletions':{}},_0x5e4bf5={'insertions':{},'deletions':{}},_0x373e45=new Map(),_0x489f11=new Set([...this['_baseRoots']['keys'](),...this['_diffRoots']['keys']()]);_0x489f11['delete']('$graveyard');for(const _0x4e5548 of _0x489f11){const _0x1d50a3=this['_diffRoots']['get'](_0x4e5548)||G(_0x4e5548,!0x1),_0x3a4a93=this['_baseRoots']['get'](_0x4e5548)||G(_0x4e5548,!0x1);_0x1d50a3['isAttached']()||_0x3a4a93['isAttached']()?(_0x462301['insertions'][_0x4e5548]=q(_0x1d50a3),_0x462301['deletions'][_0x4e5548]=q(_0x3a4a93),this['_copyMarkers'](_0x462301['deletions'][_0x4e5548],_0x3a4a93),this['_copyMarkers'](_0x462301['insertions'][_0x4e5548],_0x1d50a3),_0x5e4bf5['insertions'][_0x4e5548]=this['_generateTape'](this['_idsRoots']['get'](_0x4e5548),[]),_0x5e4bf5['deletions'][_0x4e5548]=this['_generateTape'](this['_baseIdsRoots']['get'](_0x4e5548)||G(_0x4e5548,!0x1),[])):_0x489f11['delete'](_0x4e5548);}for(const _0x5af4c0 of _0x489f11){const _0x69e2f2=_0x5e4bf5['insertions'][_0x5af4c0];for(const _0x3ddc6c of _0x69e2f2){const _0x1ea00f=this['_getVidAttributeName'](_0x3ddc6c),_0x298262=_0x3ddc6c['item']['getAttribute'](_0x1ea00f);_0x5ac0b1['delete'](_0x298262),_0x298262>=this['_startingRevisionId']&&_0x1c3587['set'](_0x298262,_0x290deb['get'](_0x298262));}}for(const _0x4bd394 of _0x489f11){const _0x298f84=_0x5e4bf5['insertions'][_0x4bd394],_0x372a5f=this['_getBaseVids'](_0x5e4bf5['deletions'][_0x4bd394]);let _0x44e65c=0x0;for(const _0x33f3cb of _0x298f84){const _0x25ba24=this['_getVidAttributeName'](_0x33f3cb),_0x6f2a94=_0x33f3cb['item']['getAttribute'](_0x25ba24);if(!_0x1c3587['has'](_0x6f2a94)&&!_0x373e45['has'](_0x6f2a94)){if(_0x5ac0b1['has'](_0x6f2a94))_0x44e65c++;else{if(_0x6f2a94!=_0x372a5f[_0x44e65c]){const _0x4cd20b=_0x290deb['get'](_0x6f2a94)||_0x290deb['get'](_0x372a5f[_0x44e65c]);for(;_0x6f2a94!=_0x372a5f[_0x44e65c];)_0x5ac0b1['has'](_0x372a5f[_0x44e65c])||(_0x373e45['set'](_0x372a5f[_0x44e65c],_0x4cd20b),_0x290deb['set'](_0x372a5f[_0x44e65c],_0x4cd20b)),_0x44e65c++;}_0x44e65c++;}}}}for(const _0x7c3bb6 of _0x489f11){const _0x40c6fc=_0x5e4bf5['insertions'][_0x7c3bb6];for(const _0x223405 of _0x40c6fc){const _0x4f0111=this['_getVidAttributeName'](_0x223405),_0x3e61c0=_0x223405['item']['getAttribute'](_0x4f0111);if(_0x373e45['has'](_0x3e61c0)){const _0x52105c=_0x373e45['get'](_0x3e61c0);_0x5ac0b1['has'](_0x3e61c0)||_0x5ac0b1['set'](_0x3e61c0,{..._0x52105c}),_0x1c3587['set'](_0x3e61c0,{..._0x52105c});}}}for(const _0x2f9b4d of _0x5ac0b1['keys']())_0x2f9b4d>=this['_startingRevisionId']&&_0x5ac0b1['delete'](_0x2f9b4d);const _0x5387d9=new Map();for(const _0x37e52d of _0x489f11){let _0x47b6f0=_0x5e4bf5['insertions'][_0x37e52d];for(const _0x21119b of _0x47b6f0)if(_0x21119b['item']['is']('element','tableCell')){const _0x363240=this['_getVidAttributeName'](_0x21119b),_0x894c7a=_0x21119b['item']['getAttribute'](_0x363240);if(_0x1c3587['has'](_0x894c7a)){const _0xe2e6fb=_0x21119b['item']['parent']['parent']['getAttribute']('vid_start'),_0x111c2b=_0x5387d9['get'](_0xe2e6fb)||new Set();_0x111c2b['add'](_0x1c3587['get'](_0x894c7a)['userId']),_0x5387d9['set'](_0xe2e6fb,_0x111c2b);}}_0x47b6f0=_0x5e4bf5['deletions'][_0x37e52d];for(const _0x3baa90 of _0x47b6f0)if(_0x3baa90['item']['is']('element','tableCell')){const _0x236b33=this['_getVidAttributeName'](_0x3baa90),_0x3f54fd=_0x3baa90['item']['getAttribute'](_0x236b33);if(_0x5ac0b1['has'](_0x3f54fd)){const _0x2f8ee3=_0x3baa90['item']['parent']['parent']['getAttribute']('vid_start'),_0x8d46a9=_0x5387d9['get'](_0x2f8ee3)||new Set();_0x8d46a9['add'](_0x5ac0b1['get'](_0x3f54fd)['userId']),_0x5387d9['set'](_0x2f8ee3,_0x8d46a9);}}for(const _0x2f69cc of _0x5387d9['keys']())(_0x1c3587['has'](_0x2f69cc)||_0x5ac0b1['has'](_0x2f69cc))&&_0x5387d9['delete'](_0x2f69cc);}for(const _0x2c9f8e of _0x489f11){const _0x1a9df3=_0x5e4bf5['insertions'][_0x2c9f8e];let _0x4be4ce=null,_0x21c9cb=null;for(const _0x256ab7 of _0x1a9df3){const _0x4f4de7=this['_getVidAttributeName'](_0x256ab7),_0x12a1a9=_0x256ab7['item']['getAttribute'](_0x4f4de7),_0x5176f8=_0x5387d9['get'](_0x12a1a9);_0x5176f8&&'elementStart'==_0x256ab7['type']&&(_0x4be4ce=Array['from'](_0x5176f8)[0x0],_0x21c9cb=_0x256ab7['item']['getAttribute']('vid_end')),_0x4be4ce&&(_0x5ac0b1['set'](_0x12a1a9,{'userId':_0x4be4ce}),_0x1c3587['set'](_0x12a1a9,{'userId':_0x4be4ce})),_0x12a1a9==_0x21c9cb&&(_0x4be4ce=null,_0x21c9cb=null);}}const _0x5dbe7c={},_0x13e431=new Set();for(const _0x245f53 of _0x489f11){const _0x3591bd=_0x462301['deletions'][_0x245f53],_0x2d04b8=_0x462301['insertions'][_0x245f53];for(const {userId:_0x669ae3}of this['_touchedMarkers']['values']())null!==_0x669ae3&&_0x13e431['add'](_0x669ae3);for(const {userId:_0x3d9849}of this['_touchedRoots']['values']())null!==_0x3d9849&&_0x13e431['add'](_0x3d9849);this['_markChanges'](_0x2d04b8,_0x5e4bf5['insertions'][_0x245f53],_0x1c3587,'insertion',_0x13e431),this['_markChanges'](_0x3591bd,_0x5e4bf5['deletions'][_0x245f53],_0x5ac0b1,'deletion',_0x13e431),_0x5dbe7c[_0x245f53]={'insertions':this['_prepareViewToSave'](_0x2d04b8),'deletions':this['_prepareViewToSave'](_0x3591bd),'attachChange':this['_touchedRoots']['get'](_0x245f53)||null,'attributesBefore':_0x54db32(this['_baseRootsAttributes']['get'](_0x245f53))||{},'attributesAfter':_0x54db32(this['_diffRootsAttributes']['get'](_0x245f53))};}return{'diffData':_0x5dbe7c,'authorsIds':Array['from'](_0x13e431)};}['_processRootBeforeSave'](_0x4649b3){for(const [,_0x5b78e4]of _0x4649b3['markers']){const _0x56b93f=_0x5b78e4['start']['getAncestors']()['filter'](_0xfd9f89=>'tableCell'==_0xfd9f89['name']);for(const _0x37677f of _0x56b93f)0x1==_0x37677f['childCount']&&_0x37677f['getChild'](0x0)['is']('element','paragraph')&&_0x37677f['getChild'](0x0)['_setAttribute']('keepParagraph',!0x0);}}['_prepareViewToSave'](_0x993cd1){this['_processRootBeforeSave'](_0x993cd1);const _0x30ae42=this['editor']['data']['toView'](_0x993cd1,{}),_0x30a675=Array['from'](_0x30ae42['getChildren']())['map'](_0xa6a850=>this['_getViewJson'](_0xa6a850));return JSON['stringify'](_0x30a675);}['_getViewJson'](_0x2a933c){if(_0x2a933c['is']('$text'))return _0x2a933c['data'];{const _0x41c5b1=_0x2a933c;return{'type':Object['keys'](T)['find'](_0x36af73=>_0x2a933c instanceof T[_0x36af73]),'name':_0x41c5b1['name'],'attributes':Array['from'](_0x41c5b1['getAttributes']()),'children':Array['from'](_0x41c5b1['getChildren']())['map'](_0x178b0b=>this['_getViewJson'](_0x178b0b))};}}['_markChanges'](_0x2e9f24,_0x5eddfa,_0x2e4c4e,_0x45b8df,_0xa9cf69){let _0x33060d=null,_0x4c5205=null,_0x3331b2=0x0;const _0x5b9615=this['editor']['model'];for(let _0x3c5faa=0x0;_0x3c5faa<_0x5eddfa['length'];_0x3c5faa++){const _0x538e96=this['_getVidAttributeName'](_0x5eddfa[_0x3c5faa]),_0x222c87=_0x5eddfa[_0x3c5faa]['item']['getAttribute'](_0x538e96),_0x1d4848=_0x2e4c4e['get'](_0x222c87),_0x45efa4=_0x3c5faa==_0x5eddfa['length']-0x1;(!_0x33060d&&_0x1d4848&&(_0x33060d=_0x1d4848,_0x4c5205=_0x5eddfa[_0x3c5faa]),_0x33060d&&(!_0x1d4848||_0x1d4848['userId']!=_0x33060d['userId']))&&(_0x3cebd4(_0x1d4848,L(_0x4c5205,_0x2e9f24,_0x5b9615),L(_0x5eddfa[_0x3c5faa],_0x2e9f24,_0x5b9615)),_0x33060d=_0x1d4848||null,_0x4c5205=_0x1d4848?_0x5eddfa[_0x3c5faa]:null),_0x33060d&&_0x45efa4&&_0x3cebd4(_0x1d4848,L(_0x4c5205,_0x2e9f24,_0x5b9615),W(_0x5eddfa[_0x3c5faa],_0x2e9f24,_0x5b9615));}function _0x3cebd4(_0x4a6408,_0x1a828d,_0x47f89d){const _0x150393=_0x33060d['userId'],_0x5ea313='revision:'+_0x45b8df+':'+_0x150393+':'+_0x3331b2++,_0x12fea9=_0x5b9615['createRange'](_0x1a828d,_0x47f89d);_0x2e9f24['markers']['set'](_0x5ea313,_0x12fea9),null!==_0x150393&&_0xa9cf69['add'](_0x150393);}}['_getVidAttributeName'](_0x5ddba6){switch(_0x5ddba6['type']){case'elementStart':return'vid_start';case'elementEnd':return'vid_end';default:return'vid';}}['_fixOperation'](_0x548767,_0x5890ad){_0x548767['baseVersion']=null;for(const _0x283aa3 in _0x548767){const _0x1260a1=_0x548767[_0x283aa3];if(_0x1260a1 instanceof gt){const _0x5c7d7b=_0x5890ad['get'](_0x1260a1['root']['rootName']);_0x548767[_0x283aa3]=this['_fixPosition'](_0x1260a1,_0x5c7d7b);}if(_0x1260a1 instanceof vt){const _0x204197=_0x5890ad['get'](_0x1260a1['root']['rootName']);_0x548767[_0x283aa3]=this['_fixRange'](_0x1260a1,_0x204197);}'root'===_0x283aa3&&(_0x548767['root']=_0x5890ad['get'](_0x548767['root']['rootName']));}}['_fixRange'](_0x15e379,_0x41b4b3){return this['editor']['model']['createRange'](this['_fixPosition'](_0x15e379['start'],_0x41b4b3),this['_fixPosition'](_0x15e379['end'],_0x41b4b3));}['_fixPosition'](_0x101afe,_0x45605e){return this['editor']['model']['createPositionFromPath'](_0x45605e,_0x101afe['path'],_0x101afe['stickiness']);}['_handleInsertOperation'](_0x4dd41d){const _0x3ff8ee=this['_idsRoots']['get'](_0x4dd41d['position']['root']['rootName']),_0x2f6d44=this['_fixPosition'](_0x4dd41d['position'],_0x3ff8ee),_0x5b22ca=null===_0x4dd41d['_authorId']?null:_0x4dd41d['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x552319=_0x2f6d44['parent'],_0xe5adbd=this['_revisionId'],_0x278b46=[];for(const _0xc592b0 of _0x4dd41d['nodes'])if(_0xc592b0['is']('element'))_0x278b46['push'](this['_makeIdsRoot'](_0xc592b0));else{for(let _0x473729=0x0;_0x473729<_0xc592b0['offsetSize'];_0x473729++)_0x278b46['push'](new ft('$text',{'vid':this['_revisionId']++}));}const _0x4a2738=this['_revisionId'];for(let _0x4c2d30=_0xe5adbd;_0x4c2d30<_0x4a2738;_0x4c2d30++)this['_touched']['set'](_0x4c2d30,{'userId':_0x5b22ca});_0x552319['_insertChild'](_0x2f6d44['offset'],_0x278b46);}['_handleMoveOperation'](_0x1b51f1){(_0x1b51f1=this['_cloneOperation'](_0x1b51f1,this['_idsRoots']))['_execute']();const _0x33d868=null===_0x1b51f1['_authorId']?null:_0x1b51f1['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x1d97c6=_0x1b51f1['getMovedRangeStart'](),_0x56f128=_0x1d97c6['parent'],_0x5db79c=_0x1d97c6['offset'];!function _0x148387(_0x2c221b,_0x187241,_0x5768c0,_0x17668c){for(let _0x482698=_0x5768c0;_0x482698<_0x17668c;_0x482698++){const _0x28704c=_0x187241['getChild'](_0x482698);_0x28704c['is']('element','$text')?_0x2c221b['set'](_0x28704c['getAttribute']('vid'),{'userId':_0x33d868}):(_0x2c221b['set'](_0x28704c['getAttribute']('vid_start'),{'userId':_0x33d868}),_0x148387(_0x2c221b,_0x28704c,0x0,_0x28704c['childCount']),_0x2c221b['set'](_0x28704c['getAttribute']('vid_end'),{'userId':_0x33d868}));}}(this['_touched'],_0x56f128,_0x5db79c,_0x5db79c+_0x1b51f1['howMany']);}['_handleMergeOperation'](_0x1145c6){const _0x301a34=null===(_0x1145c6=this['_cloneOperation'](_0x1145c6,this['_idsRoots']))['_authorId']?null:_0x1145c6['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x43273c=_0x1145c6['targetPosition']['parent'],_0x2a8eb1=_0x1145c6['sourcePosition']['parent'],_0xc87561=_0x43273c['getAttribute']('vid_end'),_0x36b3cf=_0x2a8eb1['getAttribute']('vid_start');_0x43273c['_setAttribute']('vid_end',_0x2a8eb1['getAttribute']('vid_end')),_0x2a8eb1['_setAttribute']('vid_end',_0xc87561),this['_touched']['set'](_0x36b3cf,{'userId':_0x301a34}),this['_touched']['set'](_0xc87561,{'userId':_0x301a34}),_0x1145c6['_execute']();}['_handleSplitOperation'](_0x3ca6b4){const _0x32e2c0=null===(_0x3ca6b4=this['_cloneOperation'](_0x3ca6b4,this['_idsRoots']))['_authorId']?null:_0x3ca6b4['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x46f00e=_0x3ca6b4['graveyardPosition'],_0x2b2e01=_0x3ca6b4['splitPosition']['parent'];_0x3ca6b4['_execute']();const _0x13af53=_0x2b2e01['getAttribute']('vid_end'),_0x1bc5eb=_0x3ca6b4['insertionPosition']['nodeAfter'];if(_0x46f00e){const _0x2c36d6=_0x1bc5eb['getAttribute']('vid_end'),_0x476d71=_0x2b2e01['getAttribute']('vid_end');_0x2b2e01['_setAttribute']('vid_end',_0x2c36d6),_0x1bc5eb['_setAttribute']('vid_end',_0x476d71),this['_touched']['set'](_0x2b2e01['getAttribute']('vid_end'),{'userId':_0x32e2c0}),this['_touched']['set'](_0x1bc5eb['getAttribute']('vid_start'),{'userId':_0x32e2c0});}else{const _0x2f5c76=this['_revisionId']++,_0x4f163e=this['_revisionId']++;_0x2b2e01['_setAttribute']('vid_end',_0x2f5c76),_0x1bc5eb['_setAttribute']('vid_start',_0x4f163e),_0x1bc5eb['_setAttribute']('vid_end',_0x13af53),this['_touched']['set'](_0x2f5c76,{'userId':_0x32e2c0}),this['_touched']['set'](_0x4f163e,{'userId':_0x32e2c0});}}['_handleMarkerOperation'](_0x2e8303){if(!_0x2e8303['affectsData'])return;const _0x1f3c64=(_0x2e8303=this['_cloneOperation'](_0x2e8303,this['_diffRoots']))['oldRange']?_0x2e8303['oldRange']['root']:null,_0x521903=_0x2e8303['newRange']?_0x2e8303['newRange']['root']:null;_0x1f3c64&&this['_markers']['delete'](_0x2e8303['name']),_0x521903&&this['_markers']['set'](_0x2e8303['name'],_0x2e8303['newRange']['clone']());const _0x5e9e7d=null===_0x2e8303['_authorId']?null:_0x2e8303['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x3c42cf=_0x2e8303['name'];if(!this['_touchedMarkers']['has'](_0x3c42cf))return void this['_touchedMarkers']['set'](_0x3c42cf,{'range':_0x2e8303['oldRange'],'userId':_0x5e9e7d});const _0x32c62b=this['_touchedMarkers']['get'](_0x3c42cf),_0x3e9c0f=_0x32c62b['range'],_0x2fb22d=_0x2e8303['newRange'];null==_0x3e9c0f&&null==_0x2fb22d||_0x3e9c0f&&_0x2fb22d&&_0x3e9c0f['isEqual'](_0x2fb22d)?this['_touchedMarkers']['delete'](_0x2e8303['name']):_0x32c62b['userId']=_0x5e9e7d;}['_handleRootOperation'](_0x13dda0,_0x50f255){this['_diffRoots']['has'](_0x13dda0['rootName'])?this['_diffRoots']['get'](_0x13dda0['rootName'])['_isAttached']=_0x13dda0['isAdd']:(this['_diffRoots']['set'](_0x13dda0['rootName'],G(_0x13dda0['rootName'],!0x0)),this['_diffRootsAttributes']['set'](_0x13dda0['rootName'],{}),_0x50f255&&this['_idsRoots']['set'](_0x13dda0['rootName'],G(_0x13dda0['rootName'],!0x0)));const _0x28e90a=null===_0x13dda0['_authorId']?null:_0x13dda0['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x168838=this['_touchedRoots']['get'](_0x13dda0['rootName']);_0x168838&&_0x168838['userId']===_0x28e90a?this['_touchedRoots']['delete'](_0x13dda0['rootName']):this['_touchedRoots']['set'](_0x13dda0['rootName'],{'userId':_0x28e90a,'isAttached':_0x13dda0['isAdd']});}['_handleRootAttributeOperation'](_0x3ad269){const _0x3b3e6a=this['_diffRootsAttributes']['get'](_0x3ad269['root']['rootName']);null===_0x3ad269['newValue']?delete _0x3b3e6a[_0x3ad269['key']]:_0x3b3e6a[_0x3ad269['key']]=_0x3ad269['newValue'];}}function q(_0x436e3f){const _0x6da8d0=G(_0x436e3f['rootName'],_0x436e3f['isAttached']());for(const _0x9b5ee3 of _0x436e3f['getChildren']()){const _0xb756cf=_0x9b5ee3['_clone'](!0x0);_0x6da8d0['_appendChild'](_0xb756cf);}return _0x6da8d0;}function G(_0x41fe1a,_0x142c9=!0x0){const _0x3a534f=new wt();return _0x3a534f['rootName']=_0x41fe1a,_0x3a534f['_isAttached']=_0x142c9,_0x3a534f['isAttached']=()=>_0x3a534f['_isAttached'],_0x3a534f;}function L(_0x104b9c,_0xbf23f0,_0x62d8ba){const _0x2bee65='elementEnd'==_0x104b9c['type']?_0x62d8ba['createPositionAt'](_0x104b9c['item'],'end'):_0x62d8ba['createPositionBefore'](_0x104b9c['item']);return _0x62d8ba['createPositionFromPath'](_0xbf23f0,_0x2bee65['path'],_0x2bee65['stickiness']);}function W(_0x1f3fca,_0xacf1c9,_0x137292){const _0x1e75a9='elementStart'==_0x1f3fca['type']?_0x137292['createPositionAt'](_0x1f3fca['item'],0x0):_0x137292['createPositionAfter'](_0x1f3fca['item']);return _0x137292['createPositionFromPath'](_0xacf1c9,_0x1e75a9['path'],_0x1e75a9['stickiness']);}class ns extends _0x32a1de{['focusTracker'];['keystrokes'];['revisionNameInputView'];constructor(_0x4971ac,_0x1bfe38){super(_0x4971ac),this['focusTracker']=new _0x49e2a7(),this['keystrokes']=new _0x155a81(),this['set']('revisionNameInputValue',''),this['revisionNameInputView']=this['_createRevisionNameInput'](_0x1bfe38),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'](),_0x385c41({'view':this}),this['focusTracker']['add'](this['revisionNameInputView']['element']),this['keystrokes']['listenTo'](this['element']);const _0x1a72a1=_0x5153b8=>_0x5153b8['stopPropagation']();this['keystrokes']['set']('arrowright',_0x1a72a1),this['keystrokes']['set']('arrowleft',_0x1a72a1),this['keystrokes']['set']('arrowup',_0x1a72a1),this['keystrokes']['set']('arrowdown',_0x1a72a1);}['focus'](){this['revisionNameInputView']['focus']();}get['revisionName'](){return this['revisionNameInputView']['fieldView']['element']['value']['trim']();}set['revisionName'](_0x30cbc9){this['revisionNameInputView']['fieldView']['element']['value']=_0x30cbc9['trim']();}['reset'](){this['revisionNameInputView']['fieldView']['element']['value']='',this['revisionNameInputView']['errorText']=null;}['_createRevisionNameInput'](_0x45fc53){const _0x233e2a=new at(this['locale'],_0x526da3),_0x3ab3c5=_0x233e2a['fieldView'];_0x3ab3c5['extendTemplate']({'attributes':{'maxlength':'220'}});let _0xdc794d=y(this['locale'],'Name\x20of\x20the\x20revision');return!_0x45fc53&&(_0xdc794d+='\x20('+y(this['locale'],'optional')+')'),(_0x233e2a['label']=_0xdc794d,_0x3ab3c5['on']('input',()=>{this['revisionNameInputValue']=_0x3ab3c5['element']['value']['trim']();}),_0x233e2a);}}class u extends _0x593a2b{static get['pluginName'](){return'RevisionHistoryUI';}static get['requires'](){return[l];}['_saveRevisionFormView'];['init'](){const _0x1c16f1=this['editor'],_0x3cc891=_0x1c16f1['plugins']['get']('RevisionTracker');_0x1c16f1['ui']['componentFactory']['add']('revisionHistory',_0xcd579b=>{const _0x5dba3c=_0x3bec77(_0xcd579b),_0x1f7ef0=_0x5dba3c['panelView']['children'],_0x5032c8=new te(_0xcd579b),_0x1dfb75=new _0xa5c343(_0xcd579b),_0x2c3706=new _0x29100e(_0xcd579b),_0x679b1c=new _0xa5c343(_0xcd579b),_0xe2bc03=new _0x29100e(_0xcd579b);return _0x5dba3c['bind']('isEnabled')['to'](_0x3cc891,'isReady',_0x3cc891,'isEnabled',_0x1c16f1,'isReadOnly',(_0x393959,_0x10c7b0,_0x31e010)=>_0x393959&&_0x10c7b0&&!_0x31e010),_0x5dba3c['buttonView']['set']({'icon':_0x422562['history'],'label':y(_0xcd579b,'Revision\x20history'),'tooltip':!0x0}),_0x2c3706['set']({'label':y(_0xcd579b,'Save\x20current\x20revision'),'withText':!0x0,'role':'menuitem'}),_0x2c3706['bind']('isEnabled')['to'](_0x3cc891,'isReady',_0x3cc891,'isEnabled',_0x1c16f1,'isReadOnly',(_0x92a32d,_0x21372b,_0x13fec2)=>_0x92a32d&&_0x21372b&&!_0x13fec2),_0x2c3706['on']('execute',()=>this['_showDialog']()),_0xe2bc03['set']({'label':y(_0xcd579b,'Open\x20revision\x20history'),'withText':!0x0,'role':'menuitem'}),_0xe2bc03['bind']('isEnabled')['to'](_0x3cc891,'isReady',_0x1c16f1,'isReadOnly',(_0x8b5a45,_0x1e925e)=>_0x8b5a45&&!_0x1e925e),_0xe2bc03['on']('execute',()=>{_0x1c16f1['config']['get']('revisionHistory')['showRevisionViewerCallback'](),_0x5dba3c['isOpen']=!0x1,_0x1c16f1['editing']['view']['focus']();}),_0x1dfb75['children']['add'](_0x2c3706),_0x679b1c['children']['add'](_0xe2bc03),_0x5032c8['role']='menu',_0x5032c8['items']['addMany']([_0x1dfb75,_0x679b1c]),_0x1f7ef0['add'](_0x5032c8),_0x5dba3c;}),_0x1c16f1['ui']['componentFactory']['add']('menuBar:revisionHistory',()=>this['_registerMenuComponent']());}['_registerMenuComponent'](){const _0xb7699c=this['editor'],_0x40765f=_0xb7699c['locale'],_0x5680dc=new _0x51af5e(_0x40765f),_0x27cadc=new _0x50b2b5(_0x40765f);_0x5680dc['buttonView']['set']({'icon':_0x422562['history'],'label':y(_0x40765f,'Revision\x20history')});const _0x36da36=new _0x298244(_0x40765f,_0x5680dc),_0x2ba21b=new _0x18461b(_0x40765f);_0x2ba21b['set']({'label':y(_0x40765f,'Save\x20current\x20revision')}),_0x2ba21b['delegate']('execute')['to'](_0x5680dc),_0x2ba21b['on']('execute',()=>{this['_showDialog']();}),_0x36da36['children']['add'](_0x2ba21b),_0x27cadc['items']['add'](_0x36da36);const _0x153b26=new _0x298244(_0x40765f,_0x5680dc),_0x3ad532=new _0x18461b(_0x40765f);return _0x3ad532['set']({'label':y(_0x40765f,'Open\x20revision\x20history')}),_0x3ad532['delegate']('execute')['to'](_0x5680dc),_0x3ad532['on']('execute',()=>{_0xb7699c['config']['get']('revisionHistory')['showRevisionViewerCallback']();}),_0x153b26['children']['add'](_0x3ad532),_0x27cadc['items']['add'](_0x153b26),_0x5680dc['panelView']['children']['add'](_0x27cadc),_0x5680dc;}['_showDialog'](){const _0x5d1bd9=this['editor'],_0x4cc2c5=_0x5d1bd9['locale'],t=_0x4cc2c5['t'],_0x16e36d=_0x5d1bd9['plugins']['get']('Dialog'),_0x2398bb=_0x5d1bd9['plugins']['get']('RevisionTracker');function _0x440007(_0x3acda0){_0x5d1bd9['config']['get']('revisionHistory.requireRevisionName')&&''===_0x3acda0['revisionName']?_0x3acda0['revisionNameInputView']['errorText']=y(_0x4cc2c5,'The\x20revision\x20name\x20cannot\x20be\x20empty.'):(_0x5d1bd9['plugins']['get'](l)['saveRevision']({'name':_0x3acda0['revisionName']}),_0x16e36d['hide']());}this['_saveRevisionFormView']||(this['_createSaveRevisionFormView'](),this['_saveRevisionFormView']['on']('submit',()=>_0x440007(this['_saveRevisionFormView']))),this['_saveRevisionFormView']['reset'](),_0x16e36d['show']({'id':'revisionSave','title':y(_0x4cc2c5,'Save\x20current\x20revision'),'isModal':!0x0,'content':this['_saveRevisionFormView'],'actionButtons':[{'label':t('Cancel'),'withText':!0x0,'onExecute':()=>_0x16e36d['hide']()},{'label':t('Accept'),'class':'ck-button-action','withText':!0x0,'onCreate'(_0x424255){_0x424255['bind']('isEnabled')['to'](_0x2398bb,'isReady',_0x2398bb,'isEnabled',_0x5d1bd9,'isReadOnly',(_0x2f5d9d,_0x3a3472,_0x27b362)=>_0x2f5d9d&&_0x3a3472&&!_0x27b362);},'onExecute':()=>_0x440007(this['_saveRevisionFormView'])}]});}['_createSaveRevisionFormView'](){const _0x357426=this['editor'],_0x5d2944=_0x357426['locale'];this['_saveRevisionFormView']=new ns(_0x5d2944,_0x357426['config']['get']('revisionHistory.requireRevisionName')),this['_saveRevisionFormView']['render']();}}class Z extends _0x32a1de{['changeId'];['_model'];constructor(_0x5202dc,_0x193ac5){super(_0x5202dc),this['_model']=_0x193ac5,this['changeId']=_0x193ac5['id'];const _0x3e9ea3=this['bindTemplate'],_0x2a8f45=y(_0x5202dc,_0x193ac5['data']['isSuggestion']?'Suggested\x20by':'add'==_0x193ac5['type']?'Added\x20by':'Removed\x20by');this['set']('type',_0x193ac5['type']),this['setTemplate']({'tag':'div','attributes':{'class':['ck-annotation','ck-revision-change',_0x3e9ea3['to']('type',_0x5915f9=>'ck-revision-change__'+_0x5915f9)],'tabindex':-0x1},'children':[{'tag':'span','children':[{'tag':'span','attributes':{'class':['ck-revision-change__label']},'children':[{'text':_0x2a8f45}]},{'text':'\x20'+_0x193ac5['author']['name']}]}]});}['focus'](){this['element']['focus']();}}class r extends/* #__PURE__ -- @preserve */
25
+ _0x4c7ff2(){['id'];['author'];['type'];['data'];['rootName'];constructor(_0x35d8dc){super(),this['id']=_0x35d8dc['id']||_0x117e18(),this['author']=_0x35d8dc['author'],this['type']=_0x35d8dc['type'],this['data']=_0x35d8dc['data']||{},this['rootName']=_0x35d8dc['rootName'],this['set']('createdAt',_0x35d8dc['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(_0x2be9d1,_0x2119ef){this['newRevisionId']=_0x2be9d1,this['oldRevisionId']=_0x2119ef,this['changes']=new _0x6b1e2e();}['_setChanges'](_0x4eaf1){for(const _0x5df006 of _0x4eaf1)this['changes']['add'](_0x5df006);}}const tt={'c':_0x2f205d,'a':_0x226d88,'e':_0x396af2,'r':_0x1c536b,'u':_0x3225fd};class d extends _0x593a2b{['repository'];['adapter'];['_activeViewTarget'];['_changeView'];['_changeIdToChange'];['_balloon'];static get['pluginName'](){return'RevisionViewer';}static get['requires'](){return[_0x13b341,_0x11e4da,A];}constructor(_0x3ca89a){super(_0x3ca89a),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',(_0x2da90c,_0x36cb73,_0x3987fe)=>{this['activeChange']=null,this['activeView']=null,this['editor']['editing']['view']['change'](_0x4ef720=>{for(const _0x3a3a79 of this['editor']['editing']['view']['document']['roots'])_0x3987fe?_0x4ef720['removeClass']('ck-editor__editable__overlay',_0x3a3a79):_0x4ef720['addClass']('ck-editor__editable__overlay',_0x3a3a79);});}),this['bind']('isNavigationMode')['to'](this,'activeChange',_0x11996c=>null!==_0x11996c),this['bind']('currentChangeNumber')['to'](this,'isReady',this,'diff',this,'activeChange',(_0x1bdb7a,_0x1249b0,_0x53ea14)=>_0x1bdb7a&&_0x53ea14?_0x1249b0['changes']['getIndex'](_0x53ea14):0x0),this['bind']('numberOfChanges')['to'](this,'isReady',this,'diff',(_0x397d92,_0x302d7b)=>_0x397d92?_0x302d7b['changes']['length']:0x0),this['_changeView']=null,this['_changeIdToChange']=new Map(),this['adapter']=null,this['_balloon']=this['editor']['plugins']['get'](_0x11e4da);}['init'](){const _0x4963dc=this['editor'],_0x3fb3ec=new yt(_0x4963dc,{'direction':'backward'}),_0x5d28f1=new yt(_0x4963dc,{'direction':'forward'});(_0x4963dc['commands']['add']('showPreviousChange',_0x3fb3ec),_0x4963dc['commands']['add']('showNextChange',_0x5d28f1),_0x4963dc['commands']['add']('restoreRevision',new bt(_0x4963dc)),this['on']('change:numberOfChanges',()=>{_0x3fb3ec['refresh'](),_0x5d28f1['refresh']();}),this['_setConversion'](),this['_initInteractions'](),_0x4963dc['enableReadOnlyMode']('revision-viewer'),_0x4963dc['plugins']['has']('WidgetToolbarRepository'))&&_0x4963dc['plugins']['get']('WidgetToolbarRepository')['forceDisabled']('revision-viewer');}async['getRevisionData'](_0x4ce926){await this['loadRevisionData'](_0x4ce926);const _0x5bdec1={};for(const _0x1e9f1a in _0x4ce926['diffData']){if(_0x4ce926['diffData'][_0x1e9f1a]['attachChange']&&!_0x4ce926['diffData'][_0x1e9f1a]['attachChange']['isAttached'])continue;const _0x2bffab=this['_removeRevisionMarkers'](JSON['parse'](_0x4ce926['diffData'][_0x1e9f1a]['insertions'])),_0x1e31b6=this['editor']['editing']['view']['document'],_0x1b4b4a=new _0xe401ea(_0x1e31b6,_0x2bffab['map'](_0x7ec34c=>this['_getViewObj'](_0x7ec34c)));this['editor']['data']['processor']['useFillerType']('marked'),_0x5bdec1[_0x1e9f1a]=this['editor']['data']['processor']['toData'](_0x1b4b4a),this['editor']['data']['processor']['useFillerType']('default');}return _0x5bdec1;}async['getRevisionRootsAttributes'](_0x30ec15){await this['loadRevisionData'](_0x30ec15);const _0x3468a6={};for(const _0x15d367 in _0x30ec15['diffData'])_0x30ec15['diffData'][_0x15d367]['attachChange']&&!_0x30ec15['diffData'][_0x15d367]['attachChange']['isAttached']||(_0x3468a6[_0x15d367]=_0x30ec15['diffData'][_0x15d367]['attributesAfter']||{});return _0x3468a6;}['_removeRevisionMarkers'](_0x46c290){return(_0x46c290=_0x46c290['filter'](_0x1c68a1=>!_0x1c68a1['name']||'revision-start'!==_0x1c68a1['name']&&'revision-end'!==_0x1c68a1['name']))['forEach'](_0x3d1f4c=>{'string'!=typeof _0x3d1f4c&&(_0x3d1f4c['children']=this['_removeRevisionMarkers'](_0x3d1f4c['children']),_0x3d1f4c['attributes']=_0x3d1f4c['attributes']['filter'](_0x353053=>!_0x353053[0x0]['startsWith']('data-revision-')));}),_0x46c290;}async['compare'](_0x56a995,_0xfafe0f,_0x34ab94=!0x1){if(!this['isEnabled'])return;const _0x2762a2=this['diff'],_0x2157fd=this['repository'],_0x563334='string'==typeof _0x56a995?_0x2157fd['getRevision'](_0x56a995):_0x56a995,_0x2d79b4='string'==typeof _0xfafe0f?_0x2157fd['getRevision'](_0xfafe0f):_0xfafe0f,_0x46c923=_0x563334['id'],_0x2ce236=_0x2d79b4?_0x2d79b4['id']:null;if(!_0x34ab94&&this['diff']&&this['diff']['newRevisionId']===_0x46c923&&this['diff']['oldRevisionId']===_0x2ce236)return Promise['resolve']();this['isReady']=!0x1,this['activeView']=null,this['activeChange']=null,this['diff']=new f(_0x46c923,_0x2ce236);const _0x1ac8c3=this['_getRevisionsRange'](_0x563334,_0x2d79b4,!0x0)['map'](_0xe0057d=>this['loadRevisionData'](_0xe0057d));return _0x1ac8c3['push'](new Promise(_0x2640e3=>{setTimeout(_0x2640e3,0x14);})),Promise['all'](_0x1ac8c3)['then'](()=>{if(!this['isEnabled'])return;this['_cleanUp']();const _0x6ebc44=this['_getDiff'](_0x46c923,_0x2ce236);for(const _0x121a07 of _0x6ebc44['changes'])this['_changeIdToChange']['set'](_0x121a07['id'],_0x121a07);this['editor']['model']['enqueueChange']({'isUndoable':!0x1},_0x4bca77=>{for(const _0x294c51 of this['editor']['model']['document']['getRootNames']())_0x4bca77['detachRoot'](_0x294c51);for(const _0x7a684e of Object['keys'](_0x6ebc44['model'])){const _0x365ba0=_0x4bca77['addRoot'](_0x7a684e);for(const _0x95a329 of Object['keys'](_0x6ebc44['attributes'][_0x7a684e]))_0x4bca77['setAttribute'](_0x95a329,_0x6ebc44['attributes'][_0x7a684e][_0x95a329],_0x365ba0);_0x4bca77['insert'](_0x6ebc44['model'][_0x7a684e],_0x365ba0,0x0);}}),this['diff']['_setChanges'](this['_sortAndFilterDiffChanges'](_0x6ebc44['changes'])),this['isReady']=!0x0;})['catch'](_0x4782f6=>{console['error'](_0x4782f6),this['_cleanUp'](),_0x2762a2&&(this['diff']=_0x2762a2),this['isReady']=!0x0;});}['addRevisionData'](_0x553d43,_0x26d5ff){const _0x3c2902=this['repository']['createRevision'](_0x553d43);return _0x3c2902['on']('_update',(_0x1b21d3,_0x4ff6bf,_0x11a869)=>_0x26d5ff(_0x4ff6bf,_0x11a869,_0x3c2902)),this['repository']['addRevision'](_0x3c2902),_0x3c2902;}['loadRevisionData'](_0xead7ad){if(!_0xead7ad||_0xead7ad['diffData'])return Promise['resolve']();{const _0x1b84f8=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0x1b84f8,'revisionId':_0xead7ad['id']})['then'](_0x3a226a=>{_0xead7ad['_update']({'diffData':_0x3a226a['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},_0x1a6625=>{for(const _0x23d69c of this['editor']['model']['document']['getRootNames']())_0x1a6625['detachRoot'](_0x23d69c);});}['_sortAndFilterDiffChanges'](_0x50c15d){const _0x589681=[],_0x4013d8=new Map();for(const _0x41c942 of this['editor']['model']['document']['getRootNames']()){const _0x288ac0=this['editor']['editing']['view']['getDomRoot'](_0x41c942);if(!_0x288ac0)continue;const _0x444067=_0x288ac0['getClientRects']()['item'](0x0);_0x444067&&(_0x589681['push'](_0x41c942),_0x4013d8['set'](_0x41c942,_0x444067));}return _0x589681['sort']((_0x4b118d,_0x57c4aa)=>{const _0x4b4a0c=_0x4013d8['get'](_0x4b118d),_0x1d08c6=_0x4013d8['get'](_0x57c4aa);return _0x4b4a0c['y']-_0x1d08c6['y']||_0x4b4a0c['x']-_0x1d08c6['x'];}),(_0x50c15d=_0x50c15d['filter'](_0x53896b=>_0x589681['includes'](_0x53896b['rootName'])))['sort']((_0x3d59bf,_0x1c4419)=>_0x589681['indexOf'](_0x3d59bf['rootName'])-_0x589681['indexOf'](_0x1c4419['rootName'])),_0x50c15d;}['_makeTape'](_0x4daf93){const _0x4d33f9=Array['from'](_0x4daf93['markers'])['filter'](([_0x33110b,_0x113c9f])=>_0x33110b['startsWith']('revision:')&&!_0x113c9f['isCollapsed']),_0x38f5ab=Array['from'](this['editor']['model']['createRangeIn'](_0x4daf93)['getWalker']({'singleCharacters':!0x0}));if(0x0!=_0x4d33f9['length'])for(const _0x36f38a of _0x38f5ab){const [_0x4f3cf5,_0x3f09ad]=_0x4d33f9[0x0],[,_0x248bc5,_0x2be06e]=_0x4f3cf5['split'](':');if(_0x3f09ad['end']['isEqual'](_0x36f38a['nextPosition'])&&_0x4d33f9['shift'](),(_0x36f38a['previousPosition']['isEqual'](_0x3f09ad['start'])||_0x36f38a['previousPosition']['isAfter'](_0x3f09ad['start']))&&('insertion'==_0x248bc5?_0x36f38a['isAdded']={'userId':_0x2be06e}:'deletion'==_0x248bc5&&(_0x36f38a['isRemoved']={'userId':_0x2be06e})),0x0==_0x4d33f9['length'])break;}return _0x38f5ab;}['_refreshStartEndIndex'](_0x3302ff){const _0x39193c=new Map();for(let _0x150c92=0x0;_0x150c92<_0x3302ff['length'];_0x150c92++)'text'===_0x3302ff[_0x150c92]['type']?(_0x3302ff[_0x150c92]['item']['startIndex']=_0x150c92,_0x3302ff[_0x150c92]['item']['endIndex']=_0x150c92):('elementStart'===_0x3302ff[_0x150c92]['type']?_0x3302ff[_0x150c92]['item']['startIndex']=_0x150c92:'elementEnd'===_0x3302ff[_0x150c92]['type']&&(_0x3302ff[_0x150c92]['item']['endIndex']=_0x150c92),_0x39193c['set'](_0x3302ff[_0x150c92]['id'],_0x150c92));for(const _0x53835e of _0x39193c['values']())'elementStart'===_0x3302ff[_0x53835e]['type']?_0x3302ff[_0x53835e]['item']['endIndex']=_0x39193c['get'](_0x3302ff[_0x53835e]['pairId']):'elementEnd'===_0x3302ff[_0x53835e]['type']&&(_0x3302ff[_0x53835e]['item']['startIndex']=_0x39193c['get'](_0x3302ff[_0x53835e]['pairId']));}['_processTape'](_0x2ee7ec){for(let _0x43cbba=0x0;_0x43cbba<_0x2ee7ec['length'];_0x43cbba++){if('elementStart'===_0x2ee7ec[_0x43cbba]['type'])_0x2ee7ec[_0x43cbba]['item']['startIndex']=_0x43cbba;else{if('elementEnd'===_0x2ee7ec[_0x43cbba]['type']){_0x2ee7ec[_0x43cbba]['item']['endIndex']=_0x43cbba;const _0x57c942=_0x2ee7ec[_0x43cbba]['item']['startIndex'];_0x2ee7ec[_0x57c942]['pairId']=_0x2ee7ec[_0x43cbba]['id'],_0x2ee7ec[_0x43cbba]['pairId']=_0x2ee7ec[_0x57c942]['id'];}else _0x2ee7ec[_0x43cbba]['item']['startIndex']=_0x43cbba,_0x2ee7ec[_0x43cbba]['item']['endIndex']=_0x43cbba,_0x2ee7ec[_0x43cbba]['pairId']=null;}_0x2ee7ec[_0x43cbba]['markersStart']||(_0x2ee7ec[_0x43cbba]['markersStart']=[],_0x2ee7ec[_0x43cbba]['markersEnd']=[]);}}['_markInsertions'](_0xb3c46b,_0x5a281b){const _0x1b0800=_0xb3c46b['filter'](_0x102c23=>!_0x102c23['isAdded']);for(let _0x596937=0x0;_0x596937<_0x5a281b['length'];_0x596937++)_0x5a281b[_0x596937]['isAdded']&&(_0x1b0800[_0x596937]['isAdded']=_0x5a281b[_0x596937]['isAdded']);}['_makeModelFromViewString'](_0x4dd6e1){const _0x18afee=JSON['parse'](_0x4dd6e1),_0x508ed2=this['editor']['editing']['view']['document'],_0x113850=new _0xe401ea(_0x508ed2,_0x18afee['map'](_0x3232c7=>this['_getViewObj'](_0x3232c7)));return this['editor']['data']['toModel'](_0x113850);}['_getViewObj'](_0x3c554d){const _0x5c4ad5=this['editor']['editing']['view']['document'];if('string'==typeof _0x3c554d)return new _0x520d9a(_0x5c4ad5,_0x3c554d);{const _0x5e4590=_0x3c554d['children']['map'](_0x35bfdd=>this['_getViewObj'](_0x35bfdd));return new(tt[_0x3c554d['type']]||_0x177242)(_0x5c4ad5,_0x3c554d['name'],_0x3c554d['attributes'],_0x5e4590);}}['_getDiff'](_0x4598f1,_0x279020=null){const _0x3a2273=this['repository']['getRevision'](_0x4598f1),_0x1688f4=_0x279020?this['repository']['getRevision'](_0x279020):null,_0x1591c2=this['_getRevisionsRange'](_0x3a2273,_0x1688f4),_0x285f52=_0x1591c2[_0x1591c2['length']-0x1],_0x27a788=new Map(),_0x15a72c={'model':{},'attributes':{},'changes':[]},_0x43a7f2=new Set(),_0x31efe2=new Map();for(let _0x2b1ce3=_0x1591c2['length']-0x1;_0x2b1ce3>=0x0;_0x2b1ce3--){const _0xeb91d5=_0x1591c2[_0x2b1ce3];for(const _0x302737 of Object['keys'](_0xeb91d5['diffData']))if(_0xeb91d5['diffData'][_0x302737]['attachChange']){const _0x778b5c=_0xeb91d5['diffData'][_0x302737]['attachChange'];_0x778b5c['isAttached']?(_0x43a7f2['add'](_0x302737),_0x31efe2['has'](_0x302737)&&_0x31efe2['get'](_0x302737)['userId']==_0x778b5c['userId']?_0x31efe2['delete'](_0x302737):_0x31efe2['set'](_0x302737,_0x778b5c)):_0x31efe2['has'](_0x302737)?(_0x43a7f2['delete'](_0x302737),_0x31efe2['delete'](_0x302737)):(_0x43a7f2['add'](_0x302737),_0x31efe2['set'](_0x302737,_0x778b5c));}else _0x43a7f2['add'](_0x302737);}for(const _0x192f6f of _0x43a7f2){const _0x400688=_0x31efe2['has'](_0x192f6f)&&!_0x31efe2['get'](_0x192f6f)['isAttached'];let _0x289105=_0x400688?_0x1591c2['length']-0x1:0x0;const _0x38cbbb=_0x400688?-0x1:0x1;for(;_0x1591c2[_0x289105];){const _0x6a739a=_0x1591c2[_0x289105];if(_0x6a739a['diffData'][_0x192f6f]){const _0x3c10cc=_0x400688?_0x6a739a['diffData'][_0x192f6f]['attributesBefore']:_0x6a739a['diffData'][_0x192f6f]['attributesAfter'];_0x15a72c['attributes'][_0x192f6f]=_0x3c10cc?_0x54db32(_0x3c10cc):{};break;}_0x289105+=_0x38cbbb;}}for(const _0x5c996d of _0x1591c2){_0x5c996d['model']={};for(const _0x3c851e of _0x5c996d['authors'])_0x27a788['set'](_0x3c851e['id'],_0x3c851e);for(const _0x3a7fde of _0x43a7f2){const _0x5add6b=_0x5c996d['diffData'][_0x3a7fde]?_0x5c996d['diffData'][_0x3a7fde]['insertions']:'[]',_0x3abdd0=_0x5c996d['diffData'][_0x3a7fde]?_0x5c996d['diffData'][_0x3a7fde]['deletions']:'[]';_0x5c996d['model'][_0x3a7fde]={'insertions':this['_makeModelFromViewString'](_0x5add6b),'deletions':this['_makeModelFromViewString'](_0x3abdd0)};}}for(const _0x2995f0 of _0x43a7f2){let _0x23d4e5=null,_0x16d79c=0x0;const _0xf54aad=new Map(Array['from'](_0x3a2273['model'][_0x2995f0]['insertions']['markers'])['filter'](([_0x4d33d6])=>!_0x4d33d6['startsWith']('revision:')));let _0x4fb303=0x0;for(const _0x8c9005 of _0x1591c2){const _0x197994=this['_makeTape'](_0x8c9005['model'][_0x2995f0]['insertions']);_0x8c9005==_0x3a2273?(_0x23d4e5=_0x197994,_0x16d79c=_0x23d4e5['length'],_0x23d4e5['forEach'](_0x229a88=>{_0x229a88['id']=_0x4fb303++;}),this['_processTape'](_0x23d4e5)):this['_markInsertions'](_0x23d4e5,_0x197994);const _0xe8f722=_0x23d4e5['filter'](_0x21c4d2=>!_0x21c4d2['isAdded'])['map'](_0x182500=>_0x182500['id']);let _0x39fc14=0x0;const _0xbf551e=this['_makeTape'](_0x8c9005['model'][_0x2995f0]['deletions']);_0xbf551e['forEach'](_0x2e94ea=>{_0x2e94ea['isRemoved']?_0x2e94ea['id']=_0x16d79c++:_0x2e94ea['id']=_0xe8f722[_0x39fc14++];}),this['_processTape'](_0xbf551e),this['_setDistance'](_0x23d4e5,'isAdded'),this['_setDistance'](_0xbf551e,'isRemoved'),_0x8c9005==_0x3a2273&&this['_markMarkers'](_0x23d4e5,_0xf54aad),_0x23d4e5=this['_joinTapes'](_0x23d4e5,_0xbf551e),this['_refreshStartEndIndex'](_0x23d4e5),this['_setDistance'](_0x23d4e5,'isRemoved');}_0x23d4e5=_0x23d4e5['filter'](_0x254b58=>!(_0x254b58['isAdded']&&_0x254b58['isRemoved']));const _0x4bfdc0=new Map(_0x285f52['model'][_0x2995f0]['deletions']['markers']),_0x3ae5eb=new Set(_0xf54aad['keys']());for(const _0x35d3fc of _0x4bfdc0['keys']())_0x3ae5eb['delete'](_0x35d3fc);this['_markSuggestions'](_0x23d4e5,_0x3ae5eb),this['_fixObsoleteTags'](_0x23d4e5),_0x23d4e5=this['_removeMissingPairs'](_0x23d4e5),_0x23d4e5=this['_markMismatchedRemovedTags'](_0x23d4e5),_0x23d4e5=this['_removeUnsupportedChanges'](_0x23d4e5);const {root:_0x57ac9e,changes:_0xe44f9}=this['_makeModelFromTape'](_0x23d4e5,_0x27a788,_0x2995f0);_0x15a72c['model'][_0x2995f0]=_0x57ac9e;const _0x5a8bc3=_0x31efe2['get'](_0x2995f0);if(_0x5a8bc3){const _0x330511=_0x27a788['get'](_0x5a8bc3['userId']),_0x224dd8=new r({'author':_0x330511,'type':_0x5a8bc3['isAttached']?'add':'remove','data':{'isOnRoot':!0x0},'createdAt':new Date(),'rootName':_0x2995f0});_0xe44f9['unshift'](_0x224dd8),_0x15a72c['attributes'][_0x2995f0]['revisionHistoryAttachChange']=_0x224dd8['id'];}_0x15a72c['changes']=_0x15a72c['changes']['concat'](_0xe44f9);}return _0x15a72c;}['_markMarkers'](_0x324eb3,_0x41c9ac){for(let _0x4f46f4=0x0;_0x4f46f4<_0x324eb3['length'];_0x4f46f4++)for(const [_0x5ad451,_0x31cc5f]of _0x41c9ac)_0x31cc5f['start']['isEqual'](_0x324eb3[_0x4f46f4]['previousPosition'])&&_0x324eb3[_0x4f46f4]['markersStart']['push'](_0x5ad451),_0x31cc5f['end']['isEqual'](_0x324eb3[_0x4f46f4]['nextPosition'])&&_0x324eb3[_0x4f46f4]['markersEnd']['push'](_0x5ad451);}['_joinTapes'](_0x143979,_0x57038e){let _0x254ae6=[],_0x20191c=0x0,_0x407c4c=0x0;for(;_0x20191c<_0x143979['length']||_0x407c4c<_0x57038e['length'];){const _0x24340a=_0x143979[_0x20191c]||{},_0x33c0ff=_0x57038e[_0x407c4c]||{};if(_0x24340a['id']==_0x33c0ff['id'])_0x20191c++,_0x407c4c++,_0x254ae6['push'](_0x24340a);else{if(_0x33c0ff['isRemoved']&&_0x24340a['isAdded']){const {commonTape:_0x3ac658,iEnd:_0x5e9a84,jEnd:_0x24d15b}=this['_threeWayMerge'](_0x143979,_0x20191c,_0x57038e,_0x407c4c);_0x254ae6=_0x254ae6['concat'](_0x3ac658),_0x20191c=_0x5e9a84,_0x407c4c=_0x24d15b;}else _0x33c0ff['isRemoved']?(_0x407c4c++,_0x254ae6['push'](_0x33c0ff)):(_0x20191c++,_0x254ae6['push'](_0x24340a));}}return _0x254ae6;}['_markSuggestions'](_0x289420,_0x20d6a1){const _0x288328=[];for(let _0xe2717d=0x0;_0xe2717d<_0x289420['length'];_0xe2717d++){for(let _0x592bc3=0x0;_0x592bc3<_0x289420[_0xe2717d]['markersStart']['length'];_0x592bc3++){const _0x2e9812=_0x289420[_0xe2717d]['markersStart'][_0x592bc3];if(!_0x20d6a1['has'](_0x2e9812))continue;const {group:_0x3dc6a4,type:_0x4ddf5c,authorId:_0x3d7bd2}=_0x18513b(_0x2e9812);'revision-suggestion'!=_0x3dc6a4||'insertion'!=_0x4ddf5c&&'deletion'!=_0x4ddf5c||(_0x288328['unshift']({'type':_0x4ddf5c,'name':_0x2e9812,'userId':_0x3d7bd2}),_0x289420[_0xe2717d]['markersStart']['splice'](_0x592bc3,0x1),_0x592bc3--);}_0x4d9c64(_0x289420[_0xe2717d]);for(let _0x4b8dc9=0x0;_0x4b8dc9<_0x289420[_0xe2717d]['markersEnd']['length'];_0x4b8dc9++){const _0x244045=_0x289420[_0xe2717d]['markersEnd'][_0x4b8dc9];if(!_0x20d6a1['has'](_0x244045))continue;const {group:_0x411a74,type:_0x1dba00}=_0x18513b(_0x244045);if('revision-suggestion'!=_0x411a74||'insertion'!=_0x1dba00&&'deletion'!=_0x1dba00)continue;_0x289420[_0xe2717d]['markersEnd']['splice'](_0x4b8dc9,0x1),_0x4b8dc9--;const _0x1078e7=_0x288328['findIndex'](_0x27fd2c=>_0x27fd2c['name']==_0x244045);_0x1078e7>-0x1&&_0x288328['splice'](_0x1078e7,0x1);}}function _0x18513b(_0x4f3cd0){const _0x2062fe=_0x4f3cd0['split'](':');return{'group':_0x2062fe[0x0],'type':_0x2062fe[0x1],'subType':_0x2062fe['length']>=0x5?_0x2062fe[0x2]:null,'id':_0x2062fe['length']<0x5?_0x2062fe[0x2]:_0x2062fe[0x3],'authorId':_0x2062fe['length']<0x5?_0x2062fe[0x3]:_0x2062fe[0x4],'markerCount':0x6==_0x2062fe['length']?_0x2062fe[0x5]:null};}function _0x4d9c64(_0xc3e3f8){for(let _0x346b06=0x0;_0x346b06<_0x288328['length'];_0x346b06++){if(_0xc3e3f8['isAdded']&&'insertion'==_0x288328[_0x346b06]['type'])return _0xc3e3f8['isAddSuggestion']=_0x288328[_0x346b06],void delete _0xc3e3f8['isAdded'];if(!_0xc3e3f8['isAdded']&&!_0xc3e3f8['isRemoved']&&'deletion'==_0x288328[_0x346b06]['type'])return void(_0xc3e3f8['isRemoveSuggestion']=_0x288328[_0x346b06]);}}}['_setDistance'](_0x134ea6,_0x1518cd){let _0x3cebf5=0x0,_0x45c58f=!0x1;const _0x205d36=new Map();for(const _0x46aa6c of _0x134ea6)_0x46aa6c[_0x1518cd]?_0x45c58f&&(_0x3cebf5++,_0x45c58f=!0x1):(_0x3cebf5++,_0x45c58f=!0x0),_0x205d36['set'](_0x46aa6c['id'],_0x3cebf5);for(let _0x3b5a0d=0x0;_0x3b5a0d<_0x134ea6['length'];_0x3b5a0d++){if('isRemoved'==_0x1518cd&&_0x134ea6[_0x3b5a0d]['isAdded']||'isAdded'==_0x1518cd&&_0x134ea6[_0x3b5a0d]['isRemoved'])continue;if('text'==_0x134ea6[_0x3b5a0d]['type']){_0x134ea6[_0x3b5a0d]['distance']=0x0;continue;}const _0x512f30=_0x205d36['get'](_0x134ea6[_0x3b5a0d]['pairId']),_0x4a625c=_0x205d36['get'](_0x134ea6[_0x3b5a0d]['id']);_0x134ea6[_0x3b5a0d]['distance']=_0x512f30-_0x4a625c;}}['_getRevisionsRange'](_0x9cffc,_0x16d268,_0x108874=!0x1){const _0x592d7b=[];let _0x1c2987=this['repository']['getIndex'](_0x9cffc),_0x3b4451=this['repository']['getIndex'](_0x16d268);for(-0x1==_0x3b4451&&(_0x3b4451=this['repository']['_revisions']['length'],_0x108874=!0x1);_0x1c2987<_0x3b4451;)_0x592d7b['push'](this['repository']['getRevision'](_0x1c2987)),_0x1c2987++;return _0x108874&&_0x592d7b['push'](this['repository']['getRevision'](_0x1c2987)),_0x592d7b;}['_threeWayMerge'](_0xdd0276,_0x44721a,_0x92688f,_0x13e927){const _0x16795f=this['editor']['model']['schema'];let _0x3daca1=_0x44721a;for(;_0xdd0276[_0x3daca1]&&_0xdd0276[_0x3daca1]['isAdded'];)_0x3daca1++;let _0xd67ad0=_0x13e927;for(;_0x92688f[_0xd67ad0]&&_0x92688f[_0xd67ad0]['isRemoved'];)_0xd67ad0++;_0x21a530(_0xdd0276,_0x44721a,_0x3daca1),_0x21a530(_0x92688f,_0x13e927,_0xd67ad0);const _0x3ace34=_0x92688f['slice'](_0x13e927,_0xd67ad0)['concat'](_0xdd0276['slice'](_0x44721a,_0x3daca1));return _0x3ace34['sort']((_0x22ed5f,_0xb064cc)=>_0x22ed5f['side']!=_0xb064cc['side']?_0x22ed5f['side']-_0xb064cc['side']:_0x22ed5f['level']!=_0xb064cc['level']?_0x22ed5f['level']-_0xb064cc['level']:_0x22ed5f['distance']!=_0xb064cc['distance']?_0xb064cc['distance']-_0x22ed5f['distance']:!!_0x22ed5f['isAdded']!=!!_0xb064cc['isAdded']?-0x1==_0x22ed5f['side']||0x0==_0x22ed5f['side']?_0x22ed5f['isAdded']?-0x1:0x1:_0x22ed5f['isAdded']?0x1:-0x1:_0x22ed5f['index']-_0xb064cc['index']),{'commonTape':_0x3ace34,'iEnd':_0x3daca1,'jEnd':_0xd67ad0};function _0x21a530(_0x3eb7d3,_0x5cf67f,_0x5bd2f4){let _0x11f949=-0x1,_0x3e11c2=Number['POSITIVE_INFINITY'],_0x31a040=!0x0;for(let _0x119b6c=_0x5cf67f;_0x119b6c<_0x5bd2f4;_0x119b6c++)if(_0x16795f['isInline'](_0x3eb7d3[_0x119b6c]['item'])||(_0x31a040=!0x1),_0x3eb7d3[_0x119b6c]['item']['startIndex']<_0x5cf67f&&(_0x11f949=_0x119b6c),_0x3eb7d3[_0x119b6c]['item']['endIndex']>=_0x5bd2f4){_0x3e11c2=_0x119b6c;break;}_0x31a040&&(_0x11f949=_0x5bd2f4-0x1);for(let _0x2aebec=_0x5cf67f;_0x2aebec<_0x5bd2f4;_0x2aebec++)_0x3eb7d3[_0x2aebec]['side']=_0x2aebec<=_0x11f949?-0x1:_0x2aebec<_0x3e11c2?0x0:0x1,_0x3eb7d3[_0x2aebec]['index']=_0x2aebec;let _0x2e56fd=0x0;for(let _0x25b549=_0x5cf67f;_0x25b549<=_0x11f949;_0x25b549++)0x0==_0x3eb7d3[_0x25b549]['distance']?_0x3eb7d3[_0x25b549]['level']=_0x2e56fd:(_0x2e56fd++,_0x3eb7d3[_0x25b549]['level']=_0x2e56fd,_0x2e56fd++);for(let _0x477a81=_0x5cf67f;_0x477a81<_0x5bd2f4;_0x477a81++)0x0==_0x3eb7d3[_0x477a81]['side']&&(_0x3eb7d3[_0x477a81]['level']=_0x2e56fd);_0x2e56fd=0x0;for(let _0x1c76e1=_0x5bd2f4-0x1;_0x1c76e1>=_0x3e11c2;_0x1c76e1--)0x0==_0x3eb7d3[_0x1c76e1]['distance']?_0x3eb7d3[_0x1c76e1]['level']=_0x2e56fd:(_0x2e56fd--,_0x3eb7d3[_0x1c76e1]['level']=_0x2e56fd,_0x2e56fd--);}}['_fixObsoleteTags'](_0x19cbb6){const _0x5db0f1=new Map(),_0x3f035c=this['editor']['model']['schema'];for(let _0x3eb178=0x1;_0x3eb178<_0x19cbb6['length'];_0x3eb178++){let _0x3375f5,_0xbe7d81,_0x20a5fb;const _0x47d1ad=_0x19cbb6[_0x3eb178],_0x41b19b=_0x19cbb6[_0x3eb178-0x1];if('text'==_0x47d1ad['type'])continue;if(_0x47d1ad['type']!=_0x41b19b['type'])continue;if(!_0x3f035c['isBlock'](_0x41b19b['item'])||_0x3f035c['isLimit'](_0x41b19b['item']))continue;if(!_0x3f035c['isBlock'](_0x47d1ad['item'])||_0x3f035c['isLimit'](_0x47d1ad['item']))continue;if((_0x19cbb6[_0x3eb178]['isAdded']||_0x19cbb6[_0x3eb178]['isAddSuggestion'])&&_0x19cbb6[_0x3eb178-0x1]['isRemoved'])_0x3375f5=_0x19cbb6[_0x3eb178],_0xbe7d81=_0x19cbb6[_0x3eb178-0x1],_0x20a5fb=_0x3eb178-0x1;else{if(!_0x19cbb6[_0x3eb178]['isRemoved']||!_0x19cbb6[_0x3eb178-0x1]['isAdded']&&!_0x19cbb6[_0x3eb178-0x1]['isAddSuggestion'])continue;_0x3375f5=_0x19cbb6[_0x3eb178-0x1],_0xbe7d81=_0x19cbb6[_0x3eb178],_0x20a5fb=_0x3eb178;}const _0x15fbc5=_0x3375f5['level']==_0xbe7d81['level'],_0xae1a69=Math['abs'](_0x3375f5['level'])<Math['abs'](_0xbe7d81['level'])&&0x0==_0xbe7d81['distance'];(_0x15fbc5||_0xae1a69)&&(_0x5db0f1['set'](_0xbe7d81['id'],_0x3375f5['id']),_0x19cbb6['splice'](_0x20a5fb,0x1),_0x3eb178--,_0x3375f5['isAdded']=!0x1);}for(let _0x224534=0x0;_0x224534<_0x19cbb6['length'];_0x224534++)_0x5db0f1['has'](_0x19cbb6[_0x224534]['pairId'])&&(_0x19cbb6[_0x224534]['pairId']=_0x5db0f1['get'](_0x19cbb6[_0x224534]['pairId']));}['_removeMissingPairs'](_0x5d930f){const _0x5bcdb5=new Set(_0x5d930f['map'](_0x4a8dea=>_0x4a8dea['id']));for(let _0x1c74aa=0x0;_0x1c74aa<_0x5d930f['length'];_0x1c74aa++)_0x5bcdb5['has'](_0x5d930f[_0x1c74aa]['pairId'])||0x0==_0x5d930f[_0x1c74aa]['distance']||(_0x5d930f[_0x1c74aa]['isIncorrect']=!0x0);return _0x5d930f['filter'](_0x24faec=>!_0x24faec['isIncorrect']);}['_markMismatchedRemovedTags'](_0x51d9e5){const _0x4cfe9d=new Set();for(let _0x3d9402=0x0;_0x3d9402<_0x51d9e5['length'];_0x3d9402++){if(_0x4cfe9d['has'](_0x51d9e5[_0x3d9402]['id'])&&_0x51d9e5[_0x3d9402]['isRemoved']&&(_0x51d9e5[_0x3d9402]['isIncorrect']=!0x0),_0x51d9e5[_0x3d9402]['isIncorrect'])continue;if(0x0==_0x51d9e5[_0x3d9402]['distance'])continue;if('elementStart'!=_0x51d9e5[_0x3d9402]['type'])continue;if(null==_0x51d9e5[_0x3d9402]['pairId'])continue;let _0xed7214=_0x3d9402+0x1,_0x3947e6=0x0;for(;_0x51d9e5[_0xed7214]['id']!=_0x51d9e5[_0x3d9402]['pairId'];)'elementStart'==_0x51d9e5[_0xed7214]['type']?_0x3947e6++:'elementEnd'==_0x51d9e5[_0xed7214]['type']&&_0x3947e6--,_0xed7214++;if(0x0!=_0x3947e6){if(_0x51d9e5[_0x3d9402]['isRemoved'])_0x51d9e5[_0x3d9402]['isIncorrect']=!0x0;else{for(;_0xed7214!=_0x3d9402;)_0x51d9e5[_0xed7214]['isRemoved']&&0x0!=_0x51d9e5[_0xed7214]['distance']&&(_0x51d9e5[_0xed7214]['isIncorrect']=!0x0,_0x4cfe9d['add'](_0x51d9e5[_0xed7214]['pairId'])),_0xed7214--;}}}return _0x51d9e5['filter'](_0x57ec6b=>!_0x57ec6b['isIncorrect']);}['_removeUnsupportedChanges'](_0x497207){const _0x11ec5a=this['editor']['model']['schema'];for(let _0x277901=0x0;_0x277901<_0x497207['length'];_0x277901++){if(!(_0x497207[_0x277901]['isAdded']||_0x497207[_0x277901]['isAddSuggestion']||_0x497207[_0x277901]['isRemoved']||_0x497207[_0x277901]['isRemoveSuggestion']))continue;if(0x0==_0x497207[_0x277901]['distance'])continue;const _0x3f415e=_0x497207[_0x277901]['item'];_0x11ec5a['isBlock'](_0x3f415e)||_0x11ec5a['isLimit'](_0x3f415e)||(_0x497207[_0x277901]['isAdded']&&delete _0x497207[_0x277901]['isAdded'],_0x497207[_0x277901]['isAddSuggestion']&&delete _0x497207[_0x277901]['isAddSuggestion'],_0x497207[_0x277901]['isRemoveSuggestion']&&delete _0x497207[_0x277901]['isRemoveSuggestion'],_0x497207[_0x277901]['isRemoved']&&(_0x497207[_0x277901]['isIncorrect']=!0x0));}return _0x497207['filter'](_0x1e057a=>!_0x1e057a['isIncorrect']);}['_makeModelFromTape'](_0x217ed2,_0x4b0001,_0xc9db6f){const _0x2b85a4=new wt(),_0x127762=[],_0x38412e=new Map(),_0x55d471=this['editor']['model'],_0x34109f=_0x55d471['schema'],_0x18188d=[_0x2b85a4],_0x4caa31={},_0x2e159a={'isAdded':[],'isRemoved':[],'isAddSuggestion':[],'isRemoveSuggestion':[]};let _0x39094e=null;const _0x196edf=[0x0];for(let _0x46c52c=0x0;_0x46c52c<_0x217ed2['length'];_0x46c52c++){let _0x3b2648,_0x5b596e;if('elementStart'===_0x217ed2[_0x46c52c]['type']){_0x3b2648=_0x55d471['createPositionFromPath'](_0x2b85a4,_0x196edf);const _0x4af90d=new ft(_0x217ed2[_0x46c52c]['item']['name'],_0x217ed2[_0x46c52c]['item']['getAttributes']());_0x18188d[0x0]['_appendChild'](_0x4af90d),_0x196edf['push'](0x0),_0x18188d['unshift'](_0x4af90d),_0x5b596e=_0x55d471['createPositionFromPath'](_0x2b85a4,_0x196edf),_0x39094e=null;}else{if('elementEnd'===_0x217ed2[_0x46c52c]['type'])_0x18188d['shift'](),_0x3b2648=_0x55d471['createPositionFromPath'](_0x2b85a4,_0x196edf),_0x196edf['pop'](),_0x196edf[_0x196edf['length']-0x1]++,_0x5b596e=_0x55d471['createPositionFromPath'](_0x2b85a4,_0x196edf),_0x39094e=null;else{if(_0x3b2648=_0x55d471['createPositionFromPath'](_0x2b85a4,_0x196edf),_0x39094e&&_0x11425a(_0x39094e,_0x217ed2[_0x46c52c]['item']))_0x39094e['_data']+=_0x217ed2[_0x46c52c]['item']['data'];else{const _0xe090b1=new _t(_0x217ed2[_0x46c52c]['item']['data'],_0x217ed2[_0x46c52c]['item']['getAttributes']());_0x18188d[0x0]['_appendChild'](_0xe090b1),_0x39094e=_0xe090b1;}_0x196edf[_0x196edf['length']-0x1]+=_0x217ed2[_0x46c52c]['item']['offsetSize'],_0x5b596e=_0x55d471['createPositionFromPath'](_0x2b85a4,_0x196edf);}}for(const _0x3fa8f6 of _0x217ed2[_0x46c52c]['markersStart'])_0x38412e['set'](_0x3fa8f6,{'start':_0x3b2648,'end':null});_0x432ace('isRemoveSuggestion',_0x46c52c,_0x3b2648,_0x5b596e),_0x432ace('isAddSuggestion',_0x46c52c,_0x3b2648,_0x5b596e),_0x432ace('isRemoved',_0x46c52c,_0x3b2648,_0x5b596e),_0x432ace('isAdded',_0x46c52c,_0x3b2648,_0x5b596e);for(const _0x11fa0a of _0x217ed2[_0x46c52c]['markersEnd']){_0x38412e['get'](_0x11fa0a)['end']=_0x5b596e;}}for(const [_0x1d4b53,_0xe0c92f]of _0x38412e){const _0x3a2171=this['editor']['model']['createRange'](_0xe0c92f['start'],_0xe0c92f['end']);_0x2b85a4['markers']['set'](_0x1d4b53,_0x3a2171);}return _0x127762['sort']((_0x649456,_0x3e20c6)=>{const _0x382837=_0x2b85a4['markers']['get']('revision:'+_0x649456['id']),_0x2f095b=_0x2b85a4['markers']['get']('revision:'+_0x3e20c6['id']);return _0x382837['start']['isBefore'](_0x2f095b['start'])?-0x1:_0x382837['start']['isAfter'](_0x2f095b['start'])?0x1:_0x382837['end']['isBefore'](_0x2f095b['end'])?-0x1:_0x382837['end']['isAfter'](_0x2f095b['end'])?0x1:'add'===_0x649456['type']?-0x1:0x1;}),{'root':_0x2b85a4,'changes':_0x127762};function _0x432ace(_0x10885a,_0x591cd5,_0x12c633,_0x85868f){const _0x292df6=!!_0x217ed2[_0x591cd5][_0x10885a],_0x125ded=_0x292df6?_0x217ed2[_0x591cd5][_0x10885a]['userId']:null,_0x7be9b5=_0x591cd5===_0x217ed2['length']-0x1,_0x4f0fcd=_0x2e159a[_0x10885a][0x0],_0x25b719=_0x34109f['isObject'](_0x217ed2[_0x591cd5]['item']);!_0x4caa31[_0x10885a]&&_0x292df6?_0x4caa31[_0x10885a]={'start':_0x12c633,'tapeItem':_0x217ed2[_0x591cd5],'userId':_0x125ded,'type':_0x10885a}:_0x4caa31[_0x10885a]&&!_0x292df6?(_0x4caa31[_0x10885a]['end']=_0x12c633,_0x4678a5(_0x4caa31[_0x10885a]),_0x4caa31[_0x10885a]=null):_0x4caa31[_0x10885a]&&_0x292df6&&_0x4caa31[_0x10885a]['userId']!==_0x125ded&&(_0x4caa31[_0x10885a]['end']=_0x12c633,_0x4f0fcd&&_0x4f0fcd['userId']===_0x4caa31[_0x10885a]['userId']||_0x4678a5(_0x4caa31[_0x10885a]),_0x4caa31[_0x10885a]={'start':_0x12c633,'tapeItem':_0x217ed2[_0x591cd5],'userId':_0x125ded,'type':_0x10885a}),_0x4caa31[_0x10885a]&&_0x25b719&&('elementStart'!==_0x217ed2[_0x591cd5]['type']||_0x4f0fcd&&_0x4f0fcd['userId']===_0x125ded||_0x2e159a[_0x10885a]['unshift']({'userId':_0x125ded,'object':_0x217ed2[_0x591cd5]['item'],'change':_0x4caa31[_0x10885a]}),'elementEnd'===_0x217ed2[_0x591cd5]['type']&&_0x4f0fcd&&_0x4f0fcd['object']===_0x217ed2[_0x591cd5]['item']&&(_0x2e159a[_0x10885a]['shift'](),_0x4caa31[_0x10885a]=_0x4f0fcd['change'])),_0x4caa31[_0x10885a]&&_0x7be9b5&&(_0x4caa31[_0x10885a]['end']=_0x85868f,_0x4678a5(_0x4caa31[_0x10885a]),_0x4caa31[_0x10885a]=null);}function _0x4678a5({start:_0x1daefb,end:_0x476b5e,tapeItem:_0x4e0683,userId:_0x4e4106,type:_0x336ea7}){const _0x219e8a=_0x4e0683['item'],_0x359e7b=_0x55d471['schema']['isBlock'](_0x219e8a)&&!_0x55d471['schema']['isLimit'](_0x219e8a),_0x1fa91e=_0x1daefb['nodeAfter']==_0x476b5e['parent']&&_0x476b5e['isAtStart'];if(_0x359e7b&&_0x1fa91e)return;const _0x49fdff=_0x55d471['createRange'](_0x1daefb,_0x476b5e),_0x3ce21a=_0x4b0001['get'](_0x4e4106),_0x2cb93e=new r({'author':_0x3ce21a,'type':'isAdded'==_0x336ea7||'isAddSuggestion'==_0x336ea7?'add':'remove','data':{'isSuggestion':'isAddSuggestion'==_0x336ea7||'isRemoveSuggestion'==_0x336ea7},'createdAt':new Date(),'rootName':_0xc9db6f});_0x127762['push'](_0x2cb93e),_0x2b85a4['markers']['set']('revision:'+_0x2cb93e['id'],_0x49fdff);}function _0x11425a(_0x3af79f,_0x8187e9){const _0x43414e=_0x3af79f['getAttributes'](),_0x106826=_0x8187e9['getAttributes']();for(const _0x261e0b of _0x43414e){if(_0x261e0b[0x1]!==_0x8187e9['getAttribute'](_0x261e0b[0x0]))return!0x1;_0x106826['next']();}return _0x106826['next']()['done'];}}['_setConversion'](){this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'revision'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision','view':_0x3b53e2=>{const _0x262a16=_0x3b53e2['markerName']['split'](':')[0x1],_0x4de601=this['_getChangeFromId'](_0x262a16);if(!_0x4de601)return null;const _0x306b52='add'==_0x4de601['type']?'insertion':'deletion',_0x16777f=['ck-suggestion-marker','ck-suggestion-marker-'+_0x306b52];return _0x4de601['data']['isSuggestion']&&_0x16777f['push']('ck-suggestion-marker-'+_0x306b52+'-new'),this['activeChange']==_0x4de601&&_0x16777f['push']('ck-suggestion-marker--active'),{'classes':_0x16777f,'attributes':{'data-change-id':_0x262a16}};}}),this['editor']['conversion']['for']('upcast')['add'](_0x3dbcfe=>{_0x3dbcfe['on']('element:pre',(_0x52794c,_0x359567,_0x566f84)=>{const _0x41f8dc=_0x359567['viewItem']['getChild'](0x0);if(!_0x41f8dc||!_0x41f8dc['is']('element','code'))return;if(!_0x566f84['consumable']['consume'](_0x41f8dc,{'attributes':['vid_start','vid_end']}))return;const _0x2350a6=_0x359567['modelRange']['start']['nodeAfter'];_0x566f84['writer']['setAttribute']('vid_start',_0x41f8dc['getAttribute']('vid_start'),_0x2350a6),_0x566f84['writer']['setAttribute']('vid_end',_0x41f8dc['getAttribute']('vid_end'),_0x2350a6);},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['add'](_0x14d051=>{_0x14d051['on']('element',(_0x31b54a,_0x5ec4c6,_0x1250e6)=>{if(!_0x1250e6['consumable']['consume'](_0x5ec4c6['viewItem'],{'attributes':['vid_start','vid_end']}))return;if(_0x5ec4c6['modelRange']['isCollapsed'])return;const _0x100c63=_0x5ec4c6['modelRange']['start']['nodeAfter'];_0x100c63['hasAttribute']('vid_start')||_0x100c63['hasAttribute']('vid')||(_0x1250e6['writer']['setAttribute']('vid_start',_0x5ec4c6['viewItem']['getAttribute']('vid_start'),_0x100c63),_0x1250e6['writer']['setAttribute']('vid_end',_0x5ec4c6['viewItem']['getAttribute']('vid_end'),_0x100c63));},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['elementToAttribute']({'view':{'name':'span','attributes':{'vid':!0x0}},'model':{'key':'vid','value':_0x418288=>_0x418288['getAttribute']('vid')}}),this['editor']['model']['schema']['on']('checkAttribute',(_0x4f2df1,[,_0x33b6cc])=>{['vid_start','vid_end','vid']['includes'](_0x33b6cc)&&(_0x4f2df1['return']=!0x0,_0x4f2df1['stop']());},{'priority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['add'](_0x31c290=>{_0x31c290['on']('attribute:vid',(_0x2f69c7,_0x3c0a43,_0x304b54)=>{if('\x20'!=_0x3c0a43['item']['data']||_0x3c0a43['item']['parent']['maxOffset']>0x1)return;if(!_0x304b54['consumable']['consume'](_0x3c0a43['item'],_0x2f69c7['name']))return;const _0x5c794c=_0x304b54['writer'],_0x52855f=_0x304b54['mapper']['toViewRange'](_0x3c0a43['range']);_0x5c794c['wrap'](_0x52855f,_0x5c794c['createAttributeElement']('span'));});}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',function(_0x513bad){const _0x32aaba=_0x513bad['plugins']['get']('RevisionViewer');return(_0x4c250d,_0x21bd97,_0x170ef5)=>{const _0x113bf6=_0x21bd97['markerName']['split'](':')[0x1],_0xe6e570=_0x32aaba['_getChangeFromId'](_0x113bf6);if(!_0xe6e570)return null;const _0x1c854d='add'==_0xe6e570['type']?'split':'merge';if(!_0x170ef5['consumable']['test'](_0x21bd97['markerRange'],_0x4c250d['name']))return;const _0x55b13d=_0x21bd97['markerRange']['getWalker'](),_0x1b2e20=_0x21bd97['markerRange']['start'],_0x17bc9a=_0x513bad['model']['schema'];let _0x6e11b1=null,_0x5d18c3=null,_0xf777e5=!0x1,_0x20937a=!0x1;for(const _0x811d38 of _0x55b13d){const _0x38e87b=_0x811d38['item'];_0xf777e5=_0xf777e5||_0x17bc9a['isContent'](_0x38e87b);const _0x56f749=_0x170ef5['mapper']['toViewElement'](_0x38e87b);if(_0x56f749&&_0x56f749['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x811d38['type']&&(_0x17bc9a['isBlock'](_0x38e87b)&&!_0x17bc9a['isLimit'](_0x38e87b)&&(_0x38e87b['nextSibling']||_0x1b2e20['isAtEnd']?_0x6e11b1&&_0x6e11b1['parent']==_0x38e87b||(_0x6e11b1=_0x38e87b,_0x3aea24(_0x811d38['previousPosition']),_0x20937a=!0x0):_0x5d18c3=_0x5d18c3||_0x811d38['previousPosition']));}function _0x3aea24(_0x195b2a){const _0xee8e8a=_0x170ef5['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x1c854d}),_0x3f0371=_0x170ef5['mapper']['toViewPosition'](_0x195b2a);_0xe6e570['data']['isSuggestion']&&_0x170ef5['writer']['addClass']('ck-suggestion-marker-'+_0x1c854d+'-new',_0xee8e8a),_0x32aaba['activeChange']==_0xe6e570&&_0x170ef5['writer']['addClass']('ck-suggestion-marker--active',_0xee8e8a),_0x170ef5['writer']['insert'](_0x3f0371,_0xee8e8a),_0x170ef5['mapper']['bindElementToMarker'](_0xee8e8a,_0x21bd97['markerName']);}_0xf777e5||_0x20937a||!_0x5d18c3||_0x3aea24(_0x5d18c3);};}(this['editor']),{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('removeMarker:revision',(_0x2374fa,_0x121420,_0x470003)=>{const _0x224133=_0x470003['mapper']['markerNameToElements'](_0x121420['markerName']);if(_0x224133){for(const _0x5ae92a of _0x224133)(_0x5ae92a['hasClass']('ck-suggestion-marker-split')||_0x5ae92a['hasClass']('ck-suggestion-marker-merge'))&&(_0x470003['mapper']['unbindElementFromMarkerName'](_0x5ae92a,_0x121420['markerName']),_0x470003['writer']['remove'](_0x5ae92a));}},{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',(_0x30c078,_0x1abc92,_0x4b920c)=>{const _0x23bf6e=_0x1abc92['markerName']['split'](':')[0x1],_0x267c26=this['_getChangeFromId'](_0x23bf6e);if(!_0x267c26)return null;const _0x1b4d58='add'==_0x267c26['type']?'split':'merge';if(_0x4b920c['consumable']['test'](_0x1abc92['markerRange'],_0x30c078['name']))for(const _0x4a127a of _0x1abc92['markerRange']['getItems']()){if(!_0x4a127a['is']('element','softBreak'))continue;const _0x1801d6=_0x4b920c['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x1b4d58}),_0x4f54c0=_0x4b920c['mapper']['toViewPosition'](this['editor']['model']['createPositionBefore'](_0x4a127a));_0x267c26['data']['isSuggestion']&&_0x4b920c['writer']['addClass']('ck-suggestion-marker-'+_0x1b4d58+'-new',_0x1801d6),this['activeChange']==_0x267c26&&_0x4b920c['writer']['addClass']('ck-suggestion-marker--active',_0x1801d6),_0x4b920c['writer']['insert'](_0x4f54c0,_0x1801d6),_0x4b920c['mapper']['bindElementToMarker'](_0x1801d6,_0x1abc92['markerName']);}},{'priority':'high'}),this['editor']['model']['document']['on']('change',()=>{this['editor']['editing']['view']['change'](_0x1f6825=>{for(const _0x3f7fda of this['editor']['model']['document']['getRootNames']()){const _0x4b9a12=this['editor']['model']['document']['getRoot'](_0x3f7fda),_0x4062fe=this['editor']['editing']['view']['document']['getRoot'](_0x3f7fda);if(_0x4062fe){const _0x3123a8=_0x4b9a12['getAttribute']('revisionHistoryAttachChange');if(_0x1f6825['removeAttribute']('data-change-id',_0x4062fe),_0x1f6825['removeClass']('ck-revision-history-root-add',_0x4062fe),_0x1f6825['removeClass']('ck-revision-history-root-remove',_0x4062fe),_0x1f6825['removeClass']('ck-revision-history-root--active',_0x4062fe),_0x3123a8){const _0x2a5e6e=this['_getChangeFromId'](_0x3123a8);if(!_0x2a5e6e)return null;_0x1f6825['setAttribute']('data-change-id',_0x3123a8,_0x4062fe),_0x1f6825['addClass']('ck-revision-history-root-'+_0x2a5e6e['type'],_0x4062fe),this['activeChange']==_0x2a5e6e&&_0x1f6825['addClass']('ck-revision-history-root--active',_0x4062fe);}}}});}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'comment','model':_0x1ac096=>'revision-comment:'+_0x1ac096,'converterPriority':'highest'}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'suggestion','model':_0x535c57=>'revision-suggestion:'+_0x535c57,'converterPriority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision-suggestion','view':_0x1dcc4d=>({'name':'suggestion:'+_0x1dcc4d,'group':'revision-suggestion'}),'converterPriority':'highest'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision-suggestion','view':_0x441c6c=>{const _0x395b92=_0x441c6c['markerName']['split'](':')[0x1];return'insertion'!=_0x395b92&&'deletion'!=_0x395b92?null:{'classes':['ck-suggestion-preview-marker','ck-suggestion-preview-marker-'+_0x395b92]};}}),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',(_0x372a56,_0x1e69ae,_0x3c832c)=>{const _0x486b64=_0x3c832c['mapper']['markerNameToElements'](_0x1e69ae['markerName']);if(_0x486b64){for(const _0x1d2c57 of _0x486b64)_0x1d2c57['is']('uiElement')&&(_0x3c832c['mapper']['unbindElementFromMarkerName'](_0x1d2c57,_0x1e69ae['markerName']),_0x3c832c['writer']['remove'](_0x1d2c57));}},{'priority':'high'});}['_getChangeFromId'](_0x516a31){return this['_changeIdToChange']['get'](_0x516a31);}['_getViewForChange'](_0x26b2b9){return this['_changeView']&&this['_changeView']['destroy'](),this['_changeView']=new Z(this['editor']['locale'],_0x26b2b9),this['_changeView'];}['_initInteractions'](){this['editor']['model']['document']['selection']['observeMarkers']('revision'),this['on']('change:activeView',(_0x2fac31,_0x32386c,_0x3d74de,_0x1be4a2)=>{_0x1be4a2&&this['_balloon']['remove'](_0x1be4a2),_0x3d74de&&(this['_balloon']['add']({'view':_0x3d74de,'stackId':'revisionHistoryLabel','position':{'target':()=>{const _0x1f36f5=this['editor']['editing'],_0x432c6e=this['_getChangeFromId'](_0x3d74de['changeId']);let _0x29c363;if(_0x432c6e['data']['isOnRoot']){const _0x24a060=_0x1f36f5['view']['getDomRoot'](_0x432c6e['rootName']);_0x29c363=Array['from'](_0x24a060['getClientRects']());}else{const _0xcb7533=this['editor']['model']['markers']['get']('revision:'+_0x3d74de['changeId']);_0x29c363=Array['from'](_0x1f36f5['mapper']['markerNameToElements'](_0xcb7533['name']))['map'](_0x176633=>_0x1f36f5['view']['domConverter']['mapViewToDom'](_0x176633))['map'](_0x12e463=>Array['from'](_0x12e463['getClientRects']()))['flat']();}if(!this['_activeViewTarget'])return _0x29c363[0x0];return _0x29c363['find'](_0x3cc2b6=>_0x3cc2b6['top']-0x3<=this['_activeViewTarget']['y']&&_0x3cc2b6['bottom']+0x3>=this['_activeViewTarget']['y']&&_0x3cc2b6['left']-0x3<=this['_activeViewTarget']['x']&&_0x3cc2b6['right']+0x3>=this['_activeViewTarget']['x'])||_0x29c363[0x0];}}}),this['_balloon']['showStack']('revisionHistoryLabel'));}),this['on']('change:activeChange',(_0x4569c6,_0x2fa89f,_0x40a4af,_0xe99213)=>{this['activeView']=_0x40a4af?this['_getViewForChange'](_0x40a4af):null,this['editor']['model']['change'](()=>{const _0x28b0dd=this['editor']['editing'];_0xe99213&&(_0xe99213['data']['isOnRoot']?_0x28b0dd['view']['change'](_0x375bb9=>{_0x375bb9['removeClass']('ck-revision-history-root--active',_0x28b0dd['view']['document']['getRoot'](_0xe99213['rootName']));}):_0x28b0dd['reconvertMarker']('revision:'+_0xe99213['id'])),_0x40a4af&&(_0x40a4af['data']['isOnRoot']?_0x28b0dd['view']['change'](_0x8f05b3=>{_0x8f05b3['addClass']('ck-revision-history-root--active',_0x28b0dd['view']['document']['getRoot'](_0x40a4af['rootName']));}):_0x28b0dd['reconvertMarker']('revision:'+_0x40a4af['id']));});}),this['listenTo'](this['editor']['editing']['view']['document'],'mouseover',(_0x180559,_0x101650)=>{if(this['activeChange'])return;const _0x45a83c=this['_findChangeIdFromDomTarget'](_0x101650['target']),_0x26ede8=this['_changeIdToChange']['get'](_0x45a83c);_0x26ede8?(this['_activeViewTarget']={'x':_0x101650['domEvent']['x'],'y':_0x101650['domEvent']['y']},this['activeView']=this['_getViewForChange'](_0x26ede8)):(this['_activeViewTarget']=null,this['activeView']=null);}),this['listenTo'](this['editor']['editing']['view']['document'],'mousedown',(_0x3e6c02,_0x5ccf2b)=>{const _0x5d8b9c=this['_findChangeIdFromDomTarget'](_0x5ccf2b['target']),_0x38f543=this['_changeIdToChange']['get'](_0x5d8b9c);_0x38f543?(this['_activeViewTarget']={'x':_0x5ccf2b['domEvent']['x'],'y':_0x5ccf2b['domEvent']['y']},_0x38f543===this['activeChange']?this['_balloon']['updatePosition']():this['activeChange']=_0x38f543):(this['_activeViewTarget']=null,this['activeChange']=null);});}['_findChangeIdFromDomTarget'](_0x1932ee){do{const _0x484c5f=_0x1932ee['getAttribute']('data-change-id');if(_0x484c5f)return _0x484c5f;_0x1932ee=_0x1932ee['parent'];}while(_0x1932ee);return null;}['_cleanMarkers'](){this['editor']['model']['change'](_0x5c78cf=>{for(const _0x3a1f62 of this['editor']['model']['markers'])_0x5c78cf['removeMarker'](_0x3a1f62);});}}function et(_0x3368ae,_0x5e8cc2){return(_0x3ba758,_0x275bb1,_0x184d05)=>{if(!_0x184d05['consumable']['test'](_0x275bb1['markerRange'],_0x3ba758['name']))return;const _0x7d6425=_0x275bb1['markerRange']['getWalker'](),_0x59163b=_0x275bb1['markerRange']['start'],_0x285f58=_0x3368ae['model']['schema'];let _0x1d6cfb=null,_0x3e76a0=null,_0x577d1e=!0x1,_0x39855f=!0x1;for(const _0x13c1b0 of _0x7d6425){const _0x551207=_0x13c1b0['item'];_0x577d1e=_0x577d1e||_0x285f58['isContent'](_0x551207);const _0xc8e2a=_0x184d05['mapper']['toViewElement'](_0x551207);if(_0xc8e2a&&_0xc8e2a['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x13c1b0['type']&&(_0x285f58['isBlock'](_0x551207)&&!_0x285f58['isLimit'](_0x551207)&&(_0x551207['nextSibling']||_0x59163b['isAtEnd']?_0x1d6cfb&&_0x1d6cfb['parent']==_0x551207||(_0x1d6cfb=_0x551207,_0x436838(_0x13c1b0['previousPosition']),_0x39855f=!0x0):_0x3e76a0=_0x3e76a0||_0x13c1b0['previousPosition']));}function _0x436838(_0x4da6cc){const _0x2ec9c7=_0x184d05['mapper']['toViewPosition'](_0x4da6cc),_0x1a9a5d=_0x184d05['writer']['createUIElement']('span',{'class':'ck-suggestion-preview-marker-'+_0x5e8cc2});_0x184d05['writer']['insert'](_0x2ec9c7,_0x1a9a5d),_0x184d05['mapper']['bindElementToMarker'](_0x1a9a5d,_0x275bb1['markerName']);}_0x577d1e||_0x39855f||!_0x3e76a0||_0x436838(_0x3e76a0);};}class bt extends _0x3085a5{constructor(_0x3688b3){super(_0x3688b3);const _0x23afef=_0x3688b3['plugins']['get'](d);this['affectsData']=!0x1,this['listenTo'](_0x23afef,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x23afef,'change:isEnabled',()=>this['refresh']());}['execute'](){const _0x37196f=this['editor'],_0x419fca=_0x37196f['plugins']['get'](d),_0x1e6dfb=_0x419fca['isReady']?_0x419fca['diff']['newRevisionId']:null;_0x37196f['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x1e6dfb);}['refresh'](){const {isReady:_0x3b4281,isEnabled:_0x2566e2}=this['editor']['plugins']['get'](d);this['isEnabled']=_0x3b4281&&_0x2566e2;}}class yt extends _0x3085a5{['_step'];constructor(_0x38d9dd,{direction:_0x37ddf2}){super(_0x38d9dd);const _0x268412=_0x38d9dd['plugins']['get'](d);this['affectsData']=!0x1,this['_step']='forward'===_0x37ddf2?0x1:-0x1,this['listenTo'](_0x268412,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x268412,'change:isEnabled',()=>this['refresh']()),this['listenTo'](_0x268412,'change:activeChange',()=>this['refresh']());}['execute'](){const _0x29c4ae=this['editor'],_0x58f9db=_0x29c4ae['plugins']['get'](d),{isNavigationMode:_0x394dbc,currentChangeNumber:_0x3d8d95}=_0x58f9db;let _0x309a0c;if(_0x58f9db['activeChange']=_0x394dbc?_0x58f9db['diff']['changes']['get'](_0x3d8d95+this['_step']):_0x58f9db['diff']['changes']['first'],_0x58f9db['activeChange']['data']['isOnRoot'])_0x309a0c=_0x29c4ae['editing']['view']['getDomRoot'](_0x58f9db['activeChange']['rootName']);else{const _0x3e1492=_0x29c4ae['model']['markers']['get']('revision:'+_0x58f9db['activeChange']['id']);_0x309a0c=_0x421565(_0x29c4ae['editing'],_0x3e1492);}_0x480103({'target':_0x309a0c,'viewportOffset':0x28});}['refresh'](){const {isNavigationMode:_0x28902f,currentChangeNumber:_0x3937f9,numberOfChanges:_0x380917,isReady:_0x449a27,isEnabled:_0x2ba2d1}=this['editor']['plugins']['get'](d);this['isEnabled']=!!(_0x2ba2d1&&_0x449a27&&_0x380917)&&(!_0x28902f||(0x1===this['_step']?_0x3937f9<_0x380917-0x1:_0x3937f9>0x0));}}class _i extends _0x32a1de{constructor(_0x1e4204){super(_0x1e4204);const _0x1bd68e=this['bindTemplate'],_0x5b8013=new _0x29100e(_0x1e4204),_0x39fe80=new _0x29100e(_0x1e4204);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',(_0x460863,_0x2ae1c1)=>_0x460863&&_0x2ae1c1>0x0),this['bind']('_statusText')['to'](this,'isReady',this,'currentChangeNumber',this,'numberOfChanges',this,'isNavigationMode',(_0x494c7b,_0x26f053,_0x3674a1,_0x3e89c7)=>{if(!_0x494c7b)return y(_0x1e4204,'Loading...');if(!_0x3674a1)return y(_0x1e4204,'No\x20changes');const _0x496f08=y(_0x1e4204,'NUMBER_OF_CHANGES',_0x3674a1);return _0x3e89c7?y(_0x1e4204,'X_OF_Y_CHANGES',[_0x26f053+0x1,_0x3674a1]):_0x496f08;}),_0x5b8013['set']({'label':y(_0x1e4204,'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'}),_0x39fe80['set']({'label':y(_0x1e4204,'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'}),_0x5b8013['bind']('isEnabled')['to'](this,'isBackwardNavigationEnabled'),_0x39fe80['bind']('isEnabled')['to'](this,'isForwardNavigationEnabled'),_0x5b8013['on']('execute',()=>this['fire']('execute','backward')),_0x39fe80['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',_0x1bd68e['if']('_isStatusLabelVisible','ck-hidden',_0x3f2bd6=>!_0x3f2bd6)]},'children':[{'text':_0x1bd68e['to']('isNavigationMode',_0xb26825=>_0xb26825?y(_0x1e4204,'EDIT_X_OF_Y_REVISIONS')+':\x20':y(_0x1e4204,'Total')+':\x20')}]},{'text':_0x1bd68e['to']('_statusText')}]},new _0x232de2(),{'tag':'div','attributes':{'class':['ck-revision-history-ui__changes-navigation__navigation']},'children':[_0x5b8013,_0x39fe80]}]});}}const ce='ck-editor__editable__loading-overlay';class de extends _0x593a2b{static get['pluginName'](){return'RevisionViewerLoadingOverlay';}['show'](){const _0x5df154=this['editor']['editing']['view'];_0x5df154['change'](_0x43b7e9=>{for(const _0x2b6244 of _0x5df154['document']['roots'])_0x43b7e9['addClass'](ce,_0x2b6244);});}['hide'](){const _0x49236b=this['editor']['editing']['view'];_0x49236b['change'](_0x34d570=>{for(const _0x4880c1 of _0x49236b['document']['roots'])_0x34d570['removeClass'](ce,_0x4880c1);});}}class R extends _0x593a2b{static get['pluginName'](){return'RevisionViewerUI';}static get['requires'](){return[d,de];}['init'](){const _0x4b6bd8=this['editor'],_0x4661f1=_0x4b6bd8['plugins']['get'](d),_0x4f58cd=_0x4b6bd8['plugins']['get'](de);_0x4b6bd8['ui']['componentFactory']['add']('exitToEditing',_0x41ae49=>{const _0x2edd8c=new _0x29100e(_0x41ae49);return _0x2edd8c['set']({'label':y(_0x41ae49,'Back\x20to\x20editing'),'icon':_0x422562['undo'],'withText':!0x0,'tooltip':!0x0,'class':'ck-revision-history-ui__back-to-editing'}),this['listenTo'](_0x2edd8c,'execute',()=>{_0x4b6bd8['config']['get']('revisionHistory')['closeRevisionViewerCallback']();}),_0x2edd8c;}),_0x4b6bd8['ui']['componentFactory']['add']('restoreRevision',_0x445528=>{const _0x2b0b64=new _0x29100e(_0x445528);return _0x2b0b64['set']({'label':y(_0x445528,'Restore\x20this\x20revision'),'withText':!0x0,'tooltip':!0x0}),_0x2b0b64['bind']('isEnabled')['to'](_0x4b6bd8['commands']['get']('restoreRevision')),this['listenTo'](_0x2b0b64,'execute',()=>_0x4b6bd8['execute']('restoreRevision')),_0x2b0b64;}),_0x4b6bd8['ui']['componentFactory']['add']('changesNavigation',_0x3a32cb=>{const _0x420e81=new _i(_0x3a32cb),_0x1dd8cf=_0x4b6bd8['commands']['get']('showPreviousChange'),_0x3b86ba=_0x4b6bd8['commands']['get']('showNextChange');return _0x420e81['bind']('isBackwardNavigationEnabled')['to'](_0x1dd8cf,'isEnabled'),_0x420e81['bind']('isForwardNavigationEnabled')['to'](_0x3b86ba,'isEnabled'),_0x420e81['bind']('isReady','currentChangeNumber','numberOfChanges','isNavigationMode')['to'](_0x4661f1),this['listenTo'](_0x420e81,'execute',(_0x1d1f03,_0x1ef6d8)=>{_0x4b6bd8['execute']('forward'===_0x1ef6d8?'showNextChange':'showPreviousChange');}),_0x420e81;}),_0x4f58cd['show'](),_0x4661f1['on']('change:isReady',(_0x427fe0,_0x263a00,_0x9c63a1)=>{_0x9c63a1?_0x4f58cd['hide']():_0x4f58cd['show']();});}}class kt extends at{['_resizeObserver']=null;constructor(_0x3d8e81,_0x5293e6){super(_0x3d8e81,_0x5293e6);const _0x6f1ebe=this['bindTemplate'];this['set']({'label':y(_0x3d8e81,'Revision\x20name'),'_tooltipString':''}),this['fieldView']['placeholder']=y(_0x3d8e81,'Enter\x20the\x20revision\x20name'),this['extendTemplate']({'tag':'span','attributes':{'class':['ck-revision-history-sidebar__revision-name'],'data-cke-tooltip-text':_0x6f1ebe['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 _0x3e5114=this['fieldView']['element'];this['_tooltipString']=_0x3e5114['scrollWidth']>_0x3e5114['clientWidth']&&_0x3e5114['value']||'';}}class ti extends _0x32a1de{constructor(_0x332dd6,_0x1d2c59,_0xd94fcd){super(_0x332dd6);const _0x4d5383=new _0x7d9332();_0x4d5383['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 _0x32683e=['ck','ck-revision-history-sidebar__revision-author'];_0xd94fcd&&_0x32683e['push']('ck-revision-history-sidebar__revision-author_creator');const _0x2efc9d=[{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__revision-author__name'],'title':y(_0x332dd6,_0xd94fcd?'Revision\x20creator':'Revision\x20author')},'children':[_0x4d5383,_0x1d2c59['name']]}];this['setTemplate']({'tag':'li','attributes':{'class':_0x32683e},'children':_0x2efc9d});}}function ni(_0x413649,_0x296aaf){const _0x4bf26f=_0x413649['bindTemplate'],_0x5ae464=_0x413649['locale'],_0x272c93=_0x3bec77(_0x5ae464);_0x272c93['panelPosition']='sw';const _0x4e0383=function(_0x3d8960,_0x415737){const _0x1056e2=function(_0x1f14ed,_0x346595){const _0x2c02e1=_0x1f14ed['locale'],_0x2aec78={'Compare\x20against\x20selected':y(_0x2c02e1,'Compare\x20against\x20selected'),'Name\x20this\x20revision':y(_0x2c02e1,'Name\x20this\x20revision'),'Restore\x20this\x20revision':y(_0x2c02e1,'Restore\x20this\x20revision')};return _0x346595['map'](_0x4e364f=>{const _0x5dc508=_0x2aec78[_0x4e364f['name']];return _0x5dc508&&_0x5dc508!==_0x4e364f['name']&&(_0x4e364f['name']=_0x5dc508),_0x4e364f;});}(_0x3d8960,_0x415737),_0x5c3fd1=new _0x6b1e2e();for(const _0x2ee32 of _0x1056e2){const _0x2b50b1={'type':'button','model':new to({'label':_0x2ee32['name'],'class':_0x2ee32['class'],'withText':!0x0,'role':'menuitem','_action':_0x2ee32['action']})};_0x2b50b1['model']['bind']('isEnabled')['to'](_0x3d8960,'isActionsDropdownOpen',_0x9dbc23=>'function'!=typeof _0x2ee32['isEnabled']||(!_0x9dbc23||_0x2ee32['isEnabled'](_0x3d8960))),_0x5c3fd1['add'](_0x2b50b1);}return _0x5c3fd1;}(_0x413649,_0x296aaf);return _0x413649['bind']('isActionsDropdownOpen')['to'](_0x272c93,'isOpen'),_0x272c93['buttonView']['set']({'label':y(_0x5ae464,'Show\x20more\x20items'),'tooltip':!0x0,'tooltipPosition':'sw','icon':_0x422562['threeVerticalDots']}),_0x272c93['extendTemplate']({'attributes':{'class':['ck-revision-history-sidebar__revision__actions',_0x4bf26f['if']('isActionsDropdownOpen','ck-on')]},'on':{'click':_0x4bf26f['to'](_0x178140=>_0x178140['stopPropagation']())}}),_0x272c93['on']('execute',_0x575adc=>{_0x413649['isReady']&&'function'==typeof _0x575adc['source']['_action']&&_0x575adc['source']['_action'](_0x413649);}),_0x389098(_0x272c93,_0x4e0383,{'role':'menu'}),_0x272c93['listenTo'](_0x413649,'change:isActionsDropdownOpen',(_0x3dd52,_0x5714b4,_0x51e653)=>{if(_0x51e653)for(const _0x41b5df of _0x272c93['listView']['items']){const _0x4cdf1e=_0x41b5df['children']['first'],_0x5a6ab8=_0x296aaf['find'](_0x50fca0=>_0x50fca0['action']===_0x4cdf1e['_action'])['isVisible'];_0x41b5df['isVisible']=void 0x0===_0x5a6ab8||_0x5a6ab8(_0x413649);}}),_0x272c93;}class ai extends/* #__PURE__ -- @preserve */
26
+ _0x108c28(_0x32a1de){['id'];['revisionNameView'];['revisionActionsView'];['_revision'];['_requireRevisionName'];constructor(_0x3f9e6f,_0x8da32c,_0xf31d98,_0x305eb3){super(_0x3f9e6f);const _0x15a458=this['bindTemplate'],_0x25154f=function(_0x19a668,_0x165503){const _0x237ae7=Array['from'](_0x165503['authors'])['filter'](_0x3859d9=>_0x3859d9!=_0x165503['creator']);return _0x165503['creator']&&_0x237ae7['unshift'](_0x165503['creator']),_0x237ae7['map'](_0x3c8f37=>new ti(_0x19a668,_0x3c8f37,_0x3c8f37==_0x165503['creator']));}(_0x3f9e6f,_0x8da32c);this['id']=_0x8da32c['id'],this['_revision']=_0x8da32c,this['_requireRevisionName']=_0x305eb3,this['bind']('name','createdAt')['to'](_0x8da32c),this['bind']('_createdAtFormatted')['to'](this,'createdAt',_0x5bfda8=>{return _0x571273=_0x3f9e6f['uiLanguage'],(_0x29c1e3=_0x5bfda8)['toLocaleDateString'](_0x571273,{'month':'long','day':'numeric'})+',\x20'+_0x29c1e3['toLocaleTimeString'](_0x571273,{'hour':'numeric','minute':'numeric'});var _0x571273,_0x29c1e3;}),this['set']('isSelected',!0x1),this['set']('isHighlighted',!0x1),this['set']('isActionsDropdownOpen',!0x1),this['set']('isReady',!0x1),this['set']('isEnabled',!0x1),this['revisionNameView']=new kt(_0x3f9e6f,_0x526da3),this['revisionNameView']['fieldView']['extendTemplate']({'attributes':{'maxlength':'220'}}),this['revisionNameView']['fieldView']['bind']('value')['to'](this,'name',_0xe64aaa=>_0xe64aaa||this['_createdAtFormatted']),this['revisionNameView']['bind']('isEnabled')['to'](this,'isSelected',this,'isEnabled',(_0x285c94,_0x3a576b)=>_0x285c94&&_0x3a576b),this['revisionActionsView']=_0xf31d98&&_0xf31d98['length']?ni(this,_0xf31d98):'',this['revisionActionsView']&&this['revisionActionsView']['bind']('isEnabled')['to'](this),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision-wrapper',_0x15a458['if']('isConfirm','ck-revision-history-sidebar__revision-wrapper_confirmation_visible')]},'children':[{'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision',_0x15a458['if']('isEnabled','ck-disabled',_0x42dedc=>!_0x42dedc),_0x15a458['if']('isSelected','ck-revision-history-sidebar__revision_selected'),_0x15a458['if']('isHighlighted','ck-revision-history-sidebar__revision_highlighted'),_0x15a458['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':_0x15a458['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':_0x25154f}]},this['revisionActionsView']],'on':{'click':_0x15a458['to'](_0x9081c6=>{_0x9081c6['srcElement']['closest']('.ck-thread__remove-confirm')||this['isReady']&&this['isEnabled']&&this['fire']('select',{'id':this['id']});})}}]});}['render'](){super['render']();const _0xf77e07=this['revisionNameView']['fieldView']['element'];this['listenTo'](_0xf77e07,'change',()=>{this['_requireRevisionName']&&!_0xf77e07['value']||this['fire']('setName',{'id':this['id'],'name':_0xf77e07['value']}),_0xf77e07['value']||(_0xf77e07['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(_0x588a57,_0x9d4daa){const _0x1d9b9f=_0xf319d6['fromJSDate'](_0x588a57)['setLocale'](_0x9d4daa),_0x563782=_0xf319d6['local'](),_0x2f932d=_0x563782['minus']({'days':0x1})['startOf']('day');let _0x297e4f,_0x3395a6;return _0x1d9b9f['hasSame'](_0x563782,'day')?(_0x297e4f=_0x1d9b9f['startOf']('day')['toJSDate'](),_0x3395a6=_0x1d9b9f['toRelativeCalendar']()):_0x1d9b9f['hasSame'](_0x2f932d,'day')?(_0x297e4f=_0x2f932d['toJSDate'](),_0x3395a6=_0x1d9b9f['toRelativeCalendar']()):_0x1d9b9f['hasSame'](_0x563782,'week')?(_0x297e4f=_0x1d9b9f['startOf']('week')['toJSDate'](),_0x3395a6=_0x1d9b9f['weekdayLong']||''):_0x1d9b9f['hasSame'](_0x563782,'year')?(_0x297e4f=_0x1d9b9f['startOf']('month')['toJSDate'](),_0x3395a6=_0x1d9b9f['monthLong']||''):(_0x297e4f=_0x1d9b9f['startOf']('year')['toJSDate'](),_0x3395a6=String(_0x1d9b9f['year'])),{'startDate':_0x297e4f,'localizedPeriodName':_0x3395a6};}class mi extends _0x32a1de{['startDate'];['revisionViews'];['_revisionActions'];['_requireRevisionName'];constructor(_0x5a6296,_0xadc89c,_0x4ed370,_0x2491e3){super(_0x5a6296);const _0x3c255a=di(_0xadc89c,this['locale']['uiLanguage'])['localizedPeriodName'];this['startDate']=_0xadc89c,this['revisionViews']=this['createCollection'](),this['_revisionActions']=_0x4ed370,this['_requireRevisionName']=_0x2491e3,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':_0x3c255a}]},{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__time-period__revisions']},'children':this['revisionViews']}]});}['addRevision'](_0x42bcf3){const _0x51e615=new ai(this['locale'],_0x42bcf3,this['_revisionActions'],this['_requireRevisionName']);this['revisionViews']['add'](_0x51e615);}['removeRevision'](_0x51e75f){const _0x64e32e=this['revisionViews']['find'](_0x50ccb8=>_0x50ccb8['id']===_0x51e75f['id']);this['revisionViews']['remove'](_0x64e32e);}}class as extends _0x32a1de{constructor(_0x39ae13){super(_0x39ae13);const _0x1df707=new _0x7d9332();_0x1df707['content']=_0x422562['history'],this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all','ck-revision-history-sidebar__header']},'children':[_0x1df707,{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__header__label']},'children':[y(_0x39ae13,'Revision\x20history')]}]});}}class ci extends _0x32a1de{['timePeriodViews'];['_revisions'];['_revisionActions'];['_requireRevisionName'];constructor(_0x27342f,_0x57a432,_0x3f33d5,_0x56eca3){super(_0x27342f);const _0x279adc=this['bindTemplate'];this['timePeriodViews']=this['createCollection'](),this['timePeriodViews']['delegate']('select')['to'](this),this['timePeriodViews']['delegate']('setName')['to'](this),this['_revisions']=_0x57a432,this['_revisionActions']=_0x3f33d5,this['_requireRevisionName']=_0x56eca3,this['on']('select',(_0x1f86a1,_0x3a18e4)=>{this['fire']('revisionSelected',_0x3a18e4);}),this['on']('setName',(_0x279d9c,_0xc71b7e)=>{this['fire']('revisionSetName',_0xc71b7e);}),this['set']('isEnabled',!0x1),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-rounded-corners','ck-revision-history-sidebar']},'children':[new as(_0x27342f),{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__timeline',_0x279adc['if']('isEnabled','ck-disabled',_0x28094a=>!_0x28094a)]},'children':this['timePeriodViews']}]});}['render'](){super['render']();for(const _0x3ac095 of this['_revisions'])this['_addRevision'](_0x3ac095);this['_revisions']['on']('add',(_0x1125ec,_0x534e3a)=>{this['_addRevision'](_0x534e3a);}),this['_revisions']['on']('remove',(_0x504c57,_0x596812)=>{this['_removeRevision'](_0x596812);});}get['revisionViews'](){return this['timePeriodViews']['map'](_0x20a993=>_0x20a993['revisionViews']['map'](_0x21842a=>_0x21842a))['flat']();}['selectRevision'](_0x55f21a){for(const _0x1e8cb3 of this['revisionViews'])_0x55f21a&&_0x55f21a['id']===_0x1e8cb3['id']?_0x1e8cb3['select']():_0x1e8cb3['deselect']();}['highlightRevisions'](_0x3f1cab){for(const _0x10a854 of this['revisionViews'])_0x3f1cab['some'](({id:_0xf63859})=>_0xf63859===_0x10a854['id'])?_0x10a854['highlight']():_0x10a854['unhighlight']();}['_addRevision'](_0x322984){const _0x445128=di(_0x322984['createdAt'],this['locale']['uiLanguage'])['startDate'];let _0x1a4c99=this['timePeriodViews']['get'](0x0);_0x1a4c99&&_0x1a4c99['startDate']['getTime']()===_0x445128['getTime']()||(_0x1a4c99=new mi(this['locale'],_0x445128,this['_revisionActions'],this['_requireRevisionName']),this['timePeriodViews']['add'](_0x1a4c99)),_0x1a4c99['addRevision'](_0x322984);}['_removeRevision'](_0x7aaed){const _0x75134=di(_0x7aaed['createdAt'],this['locale']['uiLanguage'])['startDate'];this['_getTimePeriodViewByStartDate'](_0x75134)['removeRevision'](_0x7aaed);}['_getTimePeriodViewByStartDate'](_0xf8b0cb){return this['timePeriodViews']['find'](_0x486160=>_0x486160['startDate']['getTime']()===_0xf8b0cb['getTime']());}}class w extends _0x593a2b{['_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(_0x192ff9){super(_0x192ff9),this['_revisionViewer']=_0x192ff9['plugins']['get'](d),this['_revisionsRepository']=this['_revisionViewer']['repository'],this['_sidebarView']=null;}['init'](){const _0x240f82=this['_revisionsRepository']['_revisions'],_0x47ecfb=this['_createRevisionActions'](),_0x311600=this['editor']['config']['get']('revisionHistory.viewerSidebarContainer');this['_sidebarView']=new ci(this['editor']['locale'],_0x240f82,_0x47ecfb,this['editor']['config']['get']('revisionHistory.requireRevisionName')),this['_sidebarView']['on']('revisionSelected',this['_handleRevisionSelected']['bind'](this)),this['_sidebarView']['on']('revisionSetName',this['_handleRevisionSetName']['bind'](this)),this['_sidebarView']['bind']('isEnabled')['to'](this['_revisionViewer']),this['_sidebarView']['timePeriodViews']['on']('add',(_0x5c579e,_0x1a7ac9)=>{_0x1a7ac9['revisionViews']['on']('add',(_0x1170ef,_0x36a4ab)=>{_0x36a4ab['bind']('isEnabled','isReady')['to'](this['_revisionViewer']);});}),this['_sidebarView']['render'](),this['listenTo'](this['editor']['data'],'ready',this['_handleEditorDataReady']['bind'](this)),this['listenTo'](this['_revisionViewer'],'change:diff',this['_handleDiffChange']['bind'](this)),_0x311600['appendChild'](this['_sidebarView']['element']);}['destroy'](){this['_sidebarView']['element']['remove'](),this['_sidebarView']['destroy']();}['_handleEditorDataReady'](){const _0x4ab10b=this['_revisionsRepository']['getRevision'](0x0);if(_0x4ab10b){const _0x27e396=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x4ab10b['id']);this['_revisionViewer']['compare'](_0x4ab10b,_0x27e396);}}['_handleRevisionSelected'](_0x4f84d7,_0x3fd67d){const _0x211266=this['_revisionsRepository']['getRevision'](_0x3fd67d['id']),_0x2e459f=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x211266['id']);this['_revisionViewer']['compare'](_0x211266,_0x2e459f);}['_handleRevisionSetName'](_0x4c1df1,_0x11b8af){this['_revisionsRepository']['getRevision'](_0x11b8af['id'])['setName'](_0x11b8af['name']);}['_handleDiffChange'](_0x291743,_0x46d944,_0x40976f){const _0x533769=this['_revisionsRepository']['getRevisionsInDiff'](_0x40976f);_0x533769['length']>0x2?(this['_sidebarView']['highlightRevisions'](_0x533769),this['_sidebarView']['selectRevision'](null)):(this['_sidebarView']['highlightRevisions']([]),this['_sidebarView']['selectRevision'](_0x533769[0x0]));}['_createRevisionActions'](){const _0x2b77ba=this['editor'],_0x4c185b=w['availableRevisionActions'],_0x43f4c8=_0x2b77ba['config']['get']('revisionHistory.revisionActions')||w['defaultRevisionActions'];if(_0x43f4c8['length'])return _0x43f4c8['map'](_0x4ec272=>{const _0x4b4e53='string'==typeof _0x4ec272?Object['assign']({},_0x4c185b[_0x4ec272]):_0x4ec272;return _0x4b4e53['action']=_0x4b4e53['action']['bind'](this,_0x2b77ba),_0x4b4e53['isVisible']&&(_0x4b4e53['isVisible']=_0x4b4e53['isVisible']['bind'](this,_0x2b77ba)),_0x4b4e53;});}}function Rt(){return{'compareAgainstSelected':{'name':'Compare\x20against\x20selected','action':({plugins:_0x10ca85},_0x1c1665)=>{const _0x3791c1=_0x10ca85['get'](d),_0x4afb06=_0x3791c1['repository'];let _0x2b64a7=_0x3791c1['diff']['newRevisionId'],_0x182405=_0x1c1665['id'];_0x4afb06['getIndex'](_0x2b64a7)>_0x4afb06['getIndex'](_0x182405)&&([_0x2b64a7,_0x182405]=[_0x182405,_0x2b64a7]),_0x3791c1['compare'](_0x2b64a7,_0x182405);},'isVisible':({plugins:_0x261430},_0x18b67f)=>{const _0x41e330=_0x261430['get'](d);return!(_0x41e330['repository']['getRevisionsInDiff'](_0x41e330['diff'])['length']>0x2)&&!_0x18b67f['isSelected'];}},'restoreRevision':{'name':'Restore\x20this\x20revision','action':(_0x1364d1,{id:_0x57189e})=>{_0x1364d1['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x57189e);},'isVisible':({plugins:_0x82a742},_0x1bcc9c)=>!!_0x82a742['get'](d)['repository']['getLaterVisibleRevision'](_0x1bcc9c['id'])},'nameRevision':{'name':'Name\x20this\x20revision','action':({plugins:_0x4a43e2},{id:_0x4b95d4,revisionNameView:_0x2ff6f3})=>{const _0x1fe16b=_0x4a43e2['get'](d),_0x5524c6=_0x1fe16b['repository']['getEarlierVisibleRevision'](_0x4b95d4);_0x1fe16b['compare'](_0x4b95d4,_0x5524c6),_0x2ff6f3['focus'](),_0x2ff6f3['fieldView']['select']();}}};}class st extends ht{['_view'];['_toolbarConfig'];['_elementReplacer'];get['view'](){return this['_view'];}constructor(_0x4ac571,_0x2009c2){super(_0x4ac571),this['_view']=_0x2009c2,this['_toolbarConfig']=ct(_0x4ac571['config']['get']('toolbar')),this['_elementReplacer']=new nt();}get['element'](){return this['view']['element'];}['init'](_0x39b342){const _0x441d4e=this['editor'],_0x4e7574=this['view'],_0x1aedae=_0x441d4e['editing']['view'],_0x53d8d1=_0x4e7574['editable'],_0x1cdf6d=_0x1aedae['document']['getRoot']();_0x53d8d1['name']=_0x1cdf6d['rootName'],_0x4e7574['render']();const _0x72c963=_0x53d8d1['element'];this['setEditableElement'](_0x53d8d1['name'],_0x72c963),_0x4e7574['editable']['bind']('isFocused')['to'](this['focusTracker']),_0x1aedae['attachDomRoot'](_0x72c963),this['_elementReplacer']['replace'](_0x39b342,this['element']),this['_initToolbar'](),this['fire']('ready');}['destroy'](){super['destroy']();const _0x5a9df0=this['view'],_0x3cae5e=this['editor']['editing']['view'];this['_elementReplacer']['restore'](),_0x3cae5e['detachDomRoot'](_0x5a9df0['editable']['name']),_0x5a9df0['destroy']();}['_initToolbar'](){const _0x1989cc=this['view'];_0x1989cc['stickyPanel']['bind']('isActive')['to'](this['focusTracker'],'isFocused'),_0x1989cc['stickyPanel']['limiterElement']=_0x1989cc['element'],_0x1989cc['stickyPanel']['bind']('viewportTopOffset')['to'](this,'viewportOffset',({top:_0x56b8e8})=>_0x56b8e8),_0x1989cc['toolbar']['fillFromConfig'](this['_toolbarConfig'],this['componentFactory']),this['addToolbar'](_0x1989cc['toolbar']);}}class ot extends dt{['_editable'];['stickyPanel'];['toolbar'];get['editable'](){return this['_editable'];}constructor(_0x1bfb4b,_0x25d96b,_0x98428b={}){super(_0x1bfb4b),this['stickyPanel']=new lt(_0x1bfb4b),this['toolbar']=new pt(_0x1bfb4b,{'shouldGroupWhenFull':_0x98428b['shouldToolbarGroupWhenFull']}),this['_editable']=new ut(_0x1bfb4b,_0x25d96b);}['render'](){super['render'](),this['stickyPanel']['content']['add'](this['toolbar']),this['top']['add'](this['stickyPanel']),this['main']['add'](this['editable']);}}class m extends/* #__PURE__ -- @preserve */
29
- rt(it){['_ui'];get['ui'](){return this['_ui'];}constructor(_0x429e40,_0x5dbdc9){super(_0x5dbdc9),this['sourceElement']=_0x429e40,this['model']['document']['createRoot']();const _0x3db310=new ot(this['locale'],this['editing']['view'],{'shouldToolbarGroupWhenFull':!0x0});this['_ui']=new st(this,_0x3db310);}['destroy'](){return this['updateSourceElement'](),this['ui']['destroy'](),super['destroy']();}static async['create'](_0x2b64db,_0xf21cbf){const _0x4a0cff=new this(_0x2b64db,_0xf21cbf);return await _0x4a0cff['initPlugins'](),await _0x4a0cff['ui']['init'](_0x2b64db),await _0x4a0cff['data']['init'](_0x4a0cff['config']['get']('initialData')||''),_0x4a0cff['fire']('ready'),_0x4a0cff;}}const p=['RevisionHistoryUI','RestrictedEditingMode'];class k extends _0x2b7243{['result'];static get['pluginName'](){return'RevisionViewerIntegration';}constructor(_0x245dab){super(_0x245dab),this['result']='end';}}class H extends _0x2b7243{['_viewerEditor'];static get['pluginName'](){return'RevisionHistory';}static get['requires'](){return[l,u];}constructor(_0x50710d){if(super(_0x50710d),!this['editor']['config']['get']('revisionHistory'))throw new _0x22536d('revision-history-missing-configuration',this);this['_viewerEditor']=null,this['editor']['config']['define']('revisionHistory.showRevisionViewerCallback',_0x446a1d=>this['_showRevisionViewer']({..._0x446a1d,'translations':this['editor']['locale']['translations']})),this['editor']['config']['define']('revisionHistory.closeRevisionViewerCallback',_0x2ca052=>this['_closeRevisionViewer'](_0x2ca052)),this['editor']['config']['define']('revisionHistory.restoreRevisionCallback',_0x187b88=>this['_restoreRevision'](_0x187b88)),this['editor']['config']['define']('revisionHistory.requireRevisionName',!0x1),this['_enhanceShowRevisionViewerCallback'](),this['_enhanceCloseRevisionViewerCallback']();}set['adapter'](_0x4d6dfd){this['editor']['plugins']['get']('RevisionTracker')['adapter']=_0x4d6dfd;}get['adapter'](){return this['editor']['plugins']['get']('RevisionTracker')['adapter'];}['addRevisionData'](_0x129aee){return this['editor']['plugins']['get']('RevisionTracker')['addRevisionData'](_0x129aee);}['getRevision'](_0x4f28e2){return this['editor']['plugins']['get']('RevisionsRepository')['getRevision'](_0x4f28e2);}['getRevisions'](_0x4e1b8d){return this['editor']['plugins']['get']('RevisionsRepository')['getRevisions'](_0x4e1b8d||{'toJSON':!0x1});}['_getRevisionViewerEditorConfig'](){const _0x189dda=this['editor'],_0x50c2a2=_0xf5d059(_0x189dda,p),_0x5b95d5=_0x189dda['plugins']['get']('RevisionTracker'),_0x251860=_0x189dda['plugins']['get']('Users')['users'];return _0x50c2a2['toolbar']=['exitToEditing','restoreRevision','changesNavigation'],delete _0x50c2a2['lazyRoots'],(_0x50c2a2['plugins']['push'](k,d,R,class extends _0x2b7243{static get['requires'](){return[d,'Users'];}['init'](){const _0x3dff04=this['editor']['plugins']['get']('Users');for(const _0x32fe62 of _0x251860)_0x32fe62['isAnonymous']||_0x3dff04['getUser'](_0x32fe62['id'])||_0x3dff04['addUser'](_0x32fe62);const _0x58656a=_0x5b95d5['repository']['getRevisions']();let _0xa562ba=null;const _0x2c4811=this['editor']['plugins']['get']('RevisionViewer');_0x2c4811['adapter']=_0x5b95d5['adapter'],_0x2c4811['bind']('isEnabled')['to'](_0x5b95d5),this['editor']['commands']['get']('restoreRevision')['bind']('isEnabled')['to'](_0x189dda,'isReadOnly',_0x5df259=>!_0x5df259);for(const _0x3d99e9 of _0x58656a){const _0x1503d7=null===_0x3d99e9['creator'];if(_0x1503d7&&_0x3d99e9['toVersion']===_0x3d99e9['fromVersion'])continue;const _0x5735dc=_0x3d99e9['toJSON']();_0x2c4811['addRevisionData'](_0x5735dc,(_0x3968de,_0x43a453,_0x3ab08a)=>{if(_0x1503d7){if(_0xa562ba)_0xa562ba['_update'](_0x3968de,_0x43a453);else{if(!_0x43a453){const _0x37f3ac=_0x3ab08a['toJSON']();_0x37f3ac['id']=_0x39bddc(),_0x5b95d5['saveRevision'](_0x37f3ac,_0x3ab08a['toVersion'])['then'](_0x580787=>{_0xa562ba=_0x580787;});}}}else _0x3d99e9['_update'](_0x3968de,_0x43a453);});}}},w),_0x50c2a2);}['_enhanceShowRevisionViewerCallback'](){const _0x41b461=this['editor']['config']['get']('revisionHistory')['showRevisionViewerCallback'];this['editor']['config']['set']('revisionHistory.showRevisionViewerCallback',async()=>{this['editor']['enableReadOnlyMode']('revision-history-viewer-opened');const _0x273ad3=this['editor']['plugins']['get']('RevisionTracker');if(this['editor']['plugins']['has']('Autosave')){const _0x53216f=this['editor']['plugins']['get']('Autosave');await _0x53216f['save']();}else await _0x273ad3['update']();if(this['editor']['plugins']['has']('PaginationLookup')&&this['editor']['plugins']['get']('PaginationLookup')['_recalculatePageBreaks'](),this['editor']['plugins']['has']('Dialog')){const _0x541edc=this['editor']['plugins']['get']('Dialog');_0x541edc['isOpen']&&_0x541edc['hide']();}const _0x42b0fe=this['_getRevisionViewerEditorConfig']();return _0x41b461(_0x42b0fe)['then'](_0x372f97=>{return(this['_viewerEditor']=_0x372f97,this['editor']['plugins']['has']('Annotations'))&&this['editor']['plugins']['get']('Annotations')['refreshVisibility'](),_0x372f97;})['catch'](_0x2c4367=>(console['error'](_0x2c4367),this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),null));});}['_enhanceCloseRevisionViewerCallback'](){const _0x5e4159=this['editor']['config']['get']('revisionHistory')['closeRevisionViewerCallback'];this['editor']['config']['set']('revisionHistory.closeRevisionViewerCallback',()=>(this['editor']['plugins']['has']('PaginationLookup')&&this['editor']['plugins']['get']('PaginationLookup')['_recalculatePageBreaks'](),this['_viewerEditor']['plugins']['get']('RevisionViewer')['_cleanUp'](),_0x5e4159(this['_viewerEditor'])['then'](()=>{if(this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),this['_viewerEditor']=null,this['editor']['plugins']['has']('Annotations')){const _0x5d63e4=this['editor']['plugins']['get']('Annotations');_0x5d63e4['refreshVisibility'](),_0x5d63e4['refreshPositioning']();}})));}['_showRevisionViewer'](_0x36ed4f){const _0x6e9c32=this['editor']['config']['get']('revisionHistory.editorContainer'),_0x5116b8=this['editor']['config']['get']('revisionHistory.viewerContainer'),_0x2cedb1=this['editor']['config']['get']('revisionHistory.viewerEditorElement');return m['create'](_0x2cedb1,_0x36ed4f)['then'](_0x3dec0c=>(_0x5116b8['style']['display']='block',_0x6e9c32['style']['display']='none',_0x3dec0c));}['_closeRevisionViewer'](_0x1e23be){const _0xbcb078=this['editor']['config']['get']('revisionHistory.editorContainer');return this['editor']['config']['get']('revisionHistory.viewerContainer')['style']['display']='none',_0xbcb078['style']['display']='',_0x1e23be['destroy']();}async['_restoreRevision'](_0x3617b0){const _0x5ec3c5=this['editor'],_0x46dfa7=this['_viewerEditor']['plugins']['get']('RevisionViewer'),_0x1d0744=_0x5ec3c5['plugins']['get']('RevisionTracker'),_0x1fc406=_0x46dfa7['repository']['getRevision'](_0x3617b0);let _0x2a5ed0,_0x2c2856,_0x21e5de;try{_0x2a5ed0=await _0x46dfa7['getRevisionData'](_0x1fc406),_0x2c2856=await _0x46dfa7['getRevisionRootsAttributes'](_0x1fc406);}catch(_0x518e1e){return void console['error'](_0x518e1e);}_0x5ec3c5['model']['change'](_0x22c61c=>{for(const _0x2c5a76 of Array['from'](_0x5ec3c5['model']['markers']['getMarkersGroup']('restrictedEditingException')))_0x22c61c['removeMarker'](_0x2c5a76);}),_0x46dfa7['isReady']=!0x1,_0x5ec3c5['model']['enqueueChange'](_0xb1f55f=>{_0xb1f55f['setSelection'](null),_0xb1f55f['removeSelectionAttribute'](_0x5ec3c5['model']['document']['selection']['getAttributeKeys']());const _0x532826=Object['keys'](_0x2a5ed0);for(const _0x27b1eb of _0x5ec3c5['model']['document']['roots'])'$graveyard'!=_0x27b1eb['rootName']&&_0x27b1eb['isAttached']()&&!_0x532826['includes'](_0x27b1eb['rootName'])&&_0xb1f55f['detachRoot'](_0x27b1eb);for(const _0x47e579 of _0x532826){let _0xdc9e37=_0x5ec3c5['model']['document']['getRoot'](_0x47e579);_0xdc9e37&&_0xdc9e37['isAttached']()||(_0xdc9e37=_0xb1f55f['addRoot'](_0x47e579));const _0xbc3b93=_0x2c2856[_0x47e579],_0x239ad3=Object['keys'](_0xbc3b93),_0x584c78=_0x2a5ed0[_0x47e579];for(const _0x1dac7f of _0xdc9e37['getAttributeKeys']())_0x239ad3['includes'](_0x1dac7f)||_0xb1f55f['removeAttribute'](_0x1dac7f,_0xdc9e37);for(const _0xf96f7e of _0x239ad3)_0xb1f55f['setAttribute'](_0xf96f7e,_0x2c2856[_0x47e579][_0xf96f7e],_0xdc9e37);_0xb1f55f['remove'](_0xb1f55f['createRangeIn'](_0xdc9e37)),_0xb1f55f['insert'](_0x5ec3c5['data']['parse'](_0x584c78,_0xdc9e37),_0xdc9e37,0x0);}});const _0x19bc92=y(_0x5ec3c5['locale'],'Restored');if(_0x1fc406['name'])_0x21e5de=-0x1==_0x1fc406['name']['indexOf'](_0x19bc92)?_0x19bc92+':\x20'+_0x1fc406['name']:_0x1fc406['name'];else _0x21e5de=_0x19bc92+':\x20'+(_0x1fc406['createdAt']['toLocaleDateString'](_0x5ec3c5['locale']['uiLanguage'],{'month':'long','day':'numeric'})+',\x20'+_0x1fc406['createdAt']['toLocaleTimeString'](_0x5ec3c5['locale']['uiLanguage'],{'hour':'numeric','minute':'numeric'}));return await _0x1d0744['saveRevision']({'name':_0x21e5de}),_0x46dfa7['isReady']=!0x0,_0x5ec3c5['config']['get']('revisionHistory')['closeRevisionViewerCallback']();}}export{H as RevisionHistory,u as RevisionHistoryUI,l as RevisionTracker,d as RevisionViewer,de as RevisionViewerLoadingOverlay,R as RevisionViewerUI,A as RevisionsRepository,w as RevisionsSidebar};
28
+ Rt();static get['pluginName'](){return'RevisionsSidebar';}static get['requires'](){return[d];}constructor(_0x163d40){super(_0x163d40),this['_revisionViewer']=_0x163d40['plugins']['get'](d),this['_revisionsRepository']=this['_revisionViewer']['repository'],this['_sidebarView']=null;}['init'](){const _0x211b80=this['_revisionsRepository']['_revisions'],_0x4ad790=this['_createRevisionActions'](),_0x2c4d82=this['editor']['config']['get']('revisionHistory.viewerSidebarContainer');this['_sidebarView']=new ci(this['editor']['locale'],_0x211b80,_0x4ad790,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',(_0x2af11d,_0x151873)=>{_0x151873['revisionViews']['on']('add',(_0x3863cc,_0x3e41ed)=>{_0x3e41ed['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)),_0x2c4d82['appendChild'](this['_sidebarView']['element']);}['destroy'](){this['_sidebarView']['element']['remove'](),this['_sidebarView']['destroy']();}['_handleEditorDataReady'](){const _0xc3cde3=this['_revisionsRepository']['getRevision'](0x0);if(_0xc3cde3){const _0x72b38=this['_revisionsRepository']['getEarlierVisibleRevision'](_0xc3cde3['id']);this['_revisionViewer']['compare'](_0xc3cde3,_0x72b38);}}['_handleRevisionSelected'](_0x464e92,_0x2032f0){const _0x54b551=this['_revisionsRepository']['getRevision'](_0x2032f0['id']),_0x3def2f=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x54b551['id']);this['_revisionViewer']['compare'](_0x54b551,_0x3def2f);}['_handleRevisionSetName'](_0x43b424,_0x3f1b28){this['_revisionsRepository']['getRevision'](_0x3f1b28['id'])['setName'](_0x3f1b28['name']);}['_handleDiffChange'](_0x1316dd,_0x552322,_0x285b8c){const _0x36bafc=this['_revisionsRepository']['getRevisionsInDiff'](_0x285b8c);_0x36bafc['length']>0x2?(this['_sidebarView']['highlightRevisions'](_0x36bafc),this['_sidebarView']['selectRevision'](null)):(this['_sidebarView']['highlightRevisions']([]),this['_sidebarView']['selectRevision'](_0x36bafc[0x0]));}['_createRevisionActions'](){const _0x2efe94=this['editor'],_0x4ddc6a=w['availableRevisionActions'],_0x19c226=_0x2efe94['config']['get']('revisionHistory.revisionActions')||w['defaultRevisionActions'];if(_0x19c226['length'])return _0x19c226['map'](_0x3f92f0=>{const _0x2b238c='string'==typeof _0x3f92f0?Object['assign']({},_0x4ddc6a[_0x3f92f0]):_0x3f92f0;return _0x2b238c['action']=_0x2b238c['action']['bind'](this,_0x2efe94),_0x2b238c['isVisible']&&(_0x2b238c['isVisible']=_0x2b238c['isVisible']['bind'](this,_0x2efe94)),_0x2b238c;});}}function Rt(){return{'compareAgainstSelected':{'name':'Compare\x20against\x20selected','action':({plugins:_0x562bc4},_0x285323)=>{const _0x229eef=_0x562bc4['get'](d),_0x3a6d02=_0x229eef['repository'];let _0x2560e1=_0x229eef['diff']['newRevisionId'],_0xb22def=_0x285323['id'];_0x3a6d02['getIndex'](_0x2560e1)>_0x3a6d02['getIndex'](_0xb22def)&&([_0x2560e1,_0xb22def]=[_0xb22def,_0x2560e1]),_0x229eef['compare'](_0x2560e1,_0xb22def);},'isVisible':({plugins:_0x4c5551},_0x18a8bb)=>{const _0x3a0aac=_0x4c5551['get'](d);return!(_0x3a0aac['repository']['getRevisionsInDiff'](_0x3a0aac['diff'])['length']>0x2)&&!_0x18a8bb['isSelected'];}},'restoreRevision':{'name':'Restore\x20this\x20revision','action':(_0x21365c,{id:_0x4a509c})=>{_0x21365c['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x4a509c);},'isVisible':({plugins:_0x25d49c},_0x5c7ee9)=>!!_0x25d49c['get'](d)['repository']['getLaterVisibleRevision'](_0x5c7ee9['id'])},'nameRevision':{'name':'Name\x20this\x20revision','action':({plugins:_0x45b37b},{id:_0x55a964,revisionNameView:_0x48e627})=>{const _0xf89781=_0x45b37b['get'](d),_0x24ec00=_0xf89781['repository']['getEarlierVisibleRevision'](_0x55a964);_0xf89781['compare'](_0x55a964,_0x24ec00),_0x48e627['focus'](),_0x48e627['fieldView']['select']();}}};}class st extends ht{['_view'];['_toolbarConfig'];['_elementReplacer'];get['view'](){return this['_view'];}constructor(_0x3116e7,_0x108932){super(_0x3116e7),this['_view']=_0x108932,this['_toolbarConfig']=ct(_0x3116e7['config']['get']('toolbar')),this['_elementReplacer']=new nt();}get['element'](){return this['view']['element'];}['init'](_0x36a72a){const _0x4a2648=this['editor'],_0x8e2902=this['view'],_0x317602=_0x4a2648['editing']['view'],_0x6ec1ab=_0x8e2902['editable'],_0x5bbe78=_0x317602['document']['getRoot']();_0x6ec1ab['name']=_0x5bbe78['rootName'],_0x8e2902['render']();const _0x237fbe=_0x6ec1ab['element'];this['setEditableElement'](_0x6ec1ab['name'],_0x237fbe),_0x8e2902['editable']['bind']('isFocused')['to'](this['focusTracker']),_0x317602['attachDomRoot'](_0x237fbe),this['_elementReplacer']['replace'](_0x36a72a,this['element']),this['_initToolbar'](),this['fire']('ready');}['destroy'](){super['destroy']();const _0x1cb8e8=this['view'],_0x6268a6=this['editor']['editing']['view'];this['_elementReplacer']['restore'](),_0x6268a6['detachDomRoot'](_0x1cb8e8['editable']['name']),_0x1cb8e8['destroy']();}['_initToolbar'](){const _0x294db8=this['view'];_0x294db8['stickyPanel']['bind']('isActive')['to'](this['focusTracker'],'isFocused'),_0x294db8['stickyPanel']['limiterElement']=_0x294db8['element'],_0x294db8['stickyPanel']['bind']('viewportTopOffset')['to'](this,'viewportOffset',({top:_0x4fa445})=>_0x4fa445),_0x294db8['toolbar']['fillFromConfig'](this['_toolbarConfig'],this['componentFactory']),this['addToolbar'](_0x294db8['toolbar']);}}class ot extends dt{['_editable'];['stickyPanel'];['toolbar'];get['editable'](){return this['_editable'];}constructor(_0x43c5aa,_0x1d8954,_0x47f145={}){super(_0x43c5aa),this['stickyPanel']=new lt(_0x43c5aa),this['toolbar']=new pt(_0x43c5aa,{'shouldGroupWhenFull':_0x47f145['shouldToolbarGroupWhenFull']}),this['_editable']=new ut(_0x43c5aa,_0x1d8954);}['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(_0x24b790,_0x5e4c60){super(_0x5e4c60),this['sourceElement']=_0x24b790,this['model']['document']['createRoot']();const _0x331435=new ot(this['locale'],this['editing']['view'],{'shouldToolbarGroupWhenFull':!0x0});this['_ui']=new st(this,_0x331435);}['destroy'](){return this['updateSourceElement'](),this['ui']['destroy'](),super['destroy']();}static async['create'](_0x3b46f8,_0x24c89e){const _0x42f229=new this(_0x3b46f8,_0x24c89e);return await _0x42f229['initPlugins'](),await _0x42f229['ui']['init'](_0x3b46f8),await _0x42f229['data']['init'](_0x42f229['config']['get']('initialData')||''),_0x42f229['fire']('ready'),_0x42f229;}}const p=['RevisionHistoryUI','RestrictedEditingMode'];class k extends _0x593a2b{['result'];static get['pluginName'](){return'RevisionViewerIntegration';}constructor(_0xf5f8fa){super(_0xf5f8fa),this['result']='end';}}class H extends _0x593a2b{['_viewerEditor'];static get['pluginName'](){return'RevisionHistory';}static get['requires'](){return[l,u];}constructor(_0x48576e){if(super(_0x48576e),!this['editor']['config']['get']('revisionHistory'))throw new _0x331872('revision-history-missing-configuration',this);this['_viewerEditor']=null,this['editor']['config']['define']('revisionHistory.showRevisionViewerCallback',_0x32e374=>this['_showRevisionViewer']({..._0x32e374,'translations':this['editor']['locale']['translations']})),this['editor']['config']['define']('revisionHistory.closeRevisionViewerCallback',_0x32d421=>this['_closeRevisionViewer'](_0x32d421)),this['editor']['config']['define']('revisionHistory.restoreRevisionCallback',_0x3bde74=>this['_restoreRevision'](_0x3bde74)),this['editor']['config']['define']('revisionHistory.requireRevisionName',!0x1),this['_enhanceShowRevisionViewerCallback'](),this['_enhanceCloseRevisionViewerCallback']();}set['adapter'](_0x2221a8){this['editor']['plugins']['get']('RevisionTracker')['adapter']=_0x2221a8;}get['adapter'](){return this['editor']['plugins']['get']('RevisionTracker')['adapter'];}['addRevisionData'](_0xca485){return this['editor']['plugins']['get']('RevisionTracker')['addRevisionData'](_0xca485);}['getRevision'](_0x577fc4){return this['editor']['plugins']['get']('RevisionsRepository')['getRevision'](_0x577fc4);}['getRevisions'](_0x4fb1b7){return this['editor']['plugins']['get']('RevisionsRepository')['getRevisions'](_0x4fb1b7||{'toJSON':!0x1});}['_getRevisionViewerEditorConfig'](){const _0x4c5d98=this['editor'],_0x13f5d2=_0x52be6d(_0x4c5d98,p),_0x5562b4=_0x4c5d98['plugins']['get']('RevisionTracker'),_0x327bcf=_0x4c5d98['plugins']['get']('Users')['users'];return _0x13f5d2['toolbar']=['exitToEditing','restoreRevision','changesNavigation'],delete _0x13f5d2['lazyRoots'],(_0x13f5d2['plugins']['push'](k,d,R,class extends _0x593a2b{static get['requires'](){return[d,'Users'];}['init'](){const _0x1bc1b6=this['editor']['plugins']['get']('Users');for(const _0x55e242 of _0x327bcf)_0x55e242['isAnonymous']||_0x1bc1b6['getUser'](_0x55e242['id'])||_0x1bc1b6['addUser'](_0x55e242);const _0x2541f4=_0x5562b4['repository']['getRevisions']();let _0x2cb330=null;const _0x20ccde=this['editor']['plugins']['get']('RevisionViewer');_0x20ccde['adapter']=_0x5562b4['adapter'],_0x20ccde['bind']('isEnabled')['to'](_0x5562b4),this['editor']['commands']['get']('restoreRevision')['bind']('isEnabled')['to'](_0x4c5d98,'isReadOnly',_0x3e62ea=>!_0x3e62ea);for(const _0x1af3b3 of _0x2541f4){const _0x49a5dd=null===_0x1af3b3['creator'];if(_0x49a5dd&&_0x1af3b3['toVersion']===_0x1af3b3['fromVersion'])continue;const _0x1519c9=_0x1af3b3['toJSON']();_0x20ccde['addRevisionData'](_0x1519c9,(_0x4e79d0,_0x310d08,_0x30cc0b)=>{if(_0x49a5dd){if(_0x2cb330)_0x2cb330['_update'](_0x4e79d0,_0x310d08);else{if(!_0x310d08){const _0xe7a42f=_0x30cc0b['toJSON']();_0xe7a42f['id']=_0x117e18(),_0x5562b4['saveRevision'](_0xe7a42f,_0x30cc0b['toVersion'])['then'](_0x1c518f=>{_0x2cb330=_0x1c518f;});}}}else _0x1af3b3['_update'](_0x4e79d0,_0x310d08);});}}},w),_0x13f5d2);}['_enhanceShowRevisionViewerCallback'](){const _0x4ed49c=this['editor']['config']['get']('revisionHistory')['showRevisionViewerCallback'];this['editor']['config']['set']('revisionHistory.showRevisionViewerCallback',async()=>{this['editor']['enableReadOnlyMode']('revision-history-viewer-opened');const _0x453d63=this['editor']['plugins']['get']('RevisionTracker');if(this['editor']['plugins']['has']('Autosave')){const _0x1b5683=this['editor']['plugins']['get']('Autosave');await _0x1b5683['save']();}else await _0x453d63['update']();if(this['editor']['plugins']['has']('PaginationLookup')&&this['editor']['plugins']['get']('PaginationLookup')['_recalculatePageBreaks'](),this['editor']['plugins']['has']('Dialog')){const _0x45e40f=this['editor']['plugins']['get']('Dialog');_0x45e40f['isOpen']&&_0x45e40f['hide']();}const _0x2bd3f1=this['_getRevisionViewerEditorConfig']();return _0x4ed49c(_0x2bd3f1)['then'](_0x53bdc8=>{return(this['_viewerEditor']=_0x53bdc8,this['editor']['plugins']['has']('Annotations'))&&this['editor']['plugins']['get']('Annotations')['refreshVisibility'](),_0x53bdc8;})['catch'](_0x5e417f=>(console['error'](_0x5e417f),this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),null));});}['_enhanceCloseRevisionViewerCallback'](){const _0x3dcb3a=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'](),_0x3dcb3a(this['_viewerEditor'])['then'](()=>{if(this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),this['_viewerEditor']=null,this['editor']['plugins']['has']('Annotations')){const _0x90dc12=this['editor']['plugins']['get']('Annotations');_0x90dc12['refreshVisibility'](),_0x90dc12['refreshPositioning']();}})));}['_showRevisionViewer'](_0x44d926){const _0x35d5c6=this['editor']['config']['get']('revisionHistory.editorContainer'),_0x43ec91=this['editor']['config']['get']('revisionHistory.viewerContainer'),_0x460f11=this['editor']['config']['get']('revisionHistory.viewerEditorElement');return m['create'](_0x460f11,_0x44d926)['then'](_0x434605=>(_0x43ec91['style']['display']='block',_0x35d5c6['style']['display']='none',_0x434605));}['_closeRevisionViewer'](_0x355de7){const _0x398dde=this['editor']['config']['get']('revisionHistory.editorContainer');return this['editor']['config']['get']('revisionHistory.viewerContainer')['style']['display']='none',_0x398dde['style']['display']='',_0x355de7['destroy']();}async['_restoreRevision'](_0x55670f){const _0x1da990=this['editor'],_0x425821=this['_viewerEditor']['plugins']['get']('RevisionViewer'),_0x21e21a=_0x1da990['plugins']['get']('RevisionTracker'),_0x27f204=_0x425821['repository']['getRevision'](_0x55670f);let _0x2f0f17,_0x2d239b,_0x59241e;try{_0x2f0f17=await _0x425821['getRevisionData'](_0x27f204),_0x2d239b=await _0x425821['getRevisionRootsAttributes'](_0x27f204);}catch(_0x5dce1c){return void console['error'](_0x5dce1c);}_0x1da990['model']['change'](_0x14705e=>{for(const _0x10540c of Array['from'](_0x1da990['model']['markers']['getMarkersGroup']('restrictedEditingException')))_0x14705e['removeMarker'](_0x10540c);}),_0x425821['isReady']=!0x1,_0x1da990['model']['enqueueChange'](_0x1bba61=>{_0x1bba61['setSelection'](null),_0x1bba61['removeSelectionAttribute'](_0x1da990['model']['document']['selection']['getAttributeKeys']());const _0x15e4b8=Object['keys'](_0x2f0f17);for(const _0x3d63cc of _0x1da990['model']['document']['roots'])'$graveyard'!=_0x3d63cc['rootName']&&_0x3d63cc['isAttached']()&&!_0x15e4b8['includes'](_0x3d63cc['rootName'])&&_0x1bba61['detachRoot'](_0x3d63cc);for(const _0x421c31 of _0x15e4b8){let _0x1152e4=_0x1da990['model']['document']['getRoot'](_0x421c31);_0x1152e4&&_0x1152e4['isAttached']()||(_0x1152e4=_0x1bba61['addRoot'](_0x421c31));const _0x313eec=_0x2d239b[_0x421c31],_0x58d8e7=Object['keys'](_0x313eec),_0x3ef93d=_0x2f0f17[_0x421c31];for(const _0x300ab5 of _0x1152e4['getAttributeKeys']())_0x58d8e7['includes'](_0x300ab5)||_0x1bba61['removeAttribute'](_0x300ab5,_0x1152e4);for(const _0x2e5235 of _0x58d8e7)_0x1bba61['setAttribute'](_0x2e5235,_0x2d239b[_0x421c31][_0x2e5235],_0x1152e4);_0x1bba61['remove'](_0x1bba61['createRangeIn'](_0x1152e4)),_0x1bba61['insert'](_0x1da990['data']['parse'](_0x3ef93d,_0x1152e4),_0x1152e4,0x0);}});const _0x25015d=y(_0x1da990['locale'],'Restored');if(_0x27f204['name'])_0x59241e=-0x1==_0x27f204['name']['indexOf'](_0x25015d)?_0x25015d+':\x20'+_0x27f204['name']:_0x27f204['name'];else _0x59241e=_0x25015d+':\x20'+(_0x27f204['createdAt']['toLocaleDateString'](_0x1da990['locale']['uiLanguage'],{'month':'long','day':'numeric'})+',\x20'+_0x27f204['createdAt']['toLocaleTimeString'](_0x1da990['locale']['uiLanguage'],{'hour':'numeric','minute':'numeric'}));return await _0x21e21a['saveRevision']({'name':_0x59241e}),_0x425821['isReady']=!0x0,_0x1da990['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};