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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (150) hide show
  1. package/build/revision-history.js +1 -1
  2. package/dist/index.d.ts +1 -0
  3. package/dist/index.js +6 -6
  4. package/dist/translations/af.js +1 -1
  5. package/dist/translations/af.umd.js +1 -1
  6. package/dist/translations/ar.js +1 -1
  7. package/dist/translations/ar.umd.js +1 -1
  8. package/dist/translations/az.js +1 -1
  9. package/dist/translations/az.umd.js +1 -1
  10. package/dist/translations/bg.js +1 -1
  11. package/dist/translations/bg.umd.js +1 -1
  12. package/dist/translations/bn.js +1 -1
  13. package/dist/translations/bn.umd.js +1 -1
  14. package/dist/translations/bs.js +1 -1
  15. package/dist/translations/bs.umd.js +1 -1
  16. package/dist/translations/ca.js +1 -1
  17. package/dist/translations/ca.umd.js +1 -1
  18. package/dist/translations/cs.js +1 -1
  19. package/dist/translations/cs.umd.js +1 -1
  20. package/dist/translations/da.js +1 -1
  21. package/dist/translations/da.umd.js +1 -1
  22. package/dist/translations/de-ch.js +1 -1
  23. package/dist/translations/de-ch.umd.js +1 -1
  24. package/dist/translations/de.js +1 -1
  25. package/dist/translations/de.umd.js +1 -1
  26. package/dist/translations/el.js +1 -1
  27. package/dist/translations/el.umd.js +1 -1
  28. package/dist/translations/en-au.js +1 -1
  29. package/dist/translations/en-au.umd.js +1 -1
  30. package/dist/translations/en-gb.js +1 -1
  31. package/dist/translations/en-gb.umd.js +1 -1
  32. package/dist/translations/en.umd.js +1 -1
  33. package/dist/translations/es-co.js +1 -1
  34. package/dist/translations/es-co.umd.js +1 -1
  35. package/dist/translations/es.js +1 -1
  36. package/dist/translations/es.umd.js +1 -1
  37. package/dist/translations/et.js +1 -1
  38. package/dist/translations/et.umd.js +1 -1
  39. package/dist/translations/fa.js +1 -1
  40. package/dist/translations/fa.umd.js +1 -1
  41. package/dist/translations/fi.js +1 -1
  42. package/dist/translations/fi.umd.js +1 -1
  43. package/dist/translations/fr.js +1 -1
  44. package/dist/translations/fr.umd.js +1 -1
  45. package/dist/translations/gl.js +1 -1
  46. package/dist/translations/gl.umd.js +1 -1
  47. package/dist/translations/he.js +1 -1
  48. package/dist/translations/he.umd.js +1 -1
  49. package/dist/translations/hi.js +1 -1
  50. package/dist/translations/hi.umd.js +1 -1
  51. package/dist/translations/hr.js +1 -1
  52. package/dist/translations/hr.umd.js +1 -1
  53. package/dist/translations/hu.js +1 -1
  54. package/dist/translations/hu.umd.js +1 -1
  55. package/dist/translations/id.js +1 -1
  56. package/dist/translations/id.umd.js +1 -1
  57. package/dist/translations/it.js +1 -1
  58. package/dist/translations/it.umd.js +1 -1
  59. package/dist/translations/ja.js +1 -1
  60. package/dist/translations/ja.umd.js +1 -1
  61. package/dist/translations/jv.js +1 -1
  62. package/dist/translations/jv.umd.js +1 -1
  63. package/dist/translations/ko.js +1 -1
  64. package/dist/translations/ko.umd.js +1 -1
  65. package/dist/translations/ku.js +1 -1
  66. package/dist/translations/ku.umd.js +1 -1
  67. package/dist/translations/lt.js +1 -1
  68. package/dist/translations/lt.umd.js +1 -1
  69. package/dist/translations/lv.js +1 -1
  70. package/dist/translations/lv.umd.js +1 -1
  71. package/dist/translations/ms.js +1 -1
  72. package/dist/translations/ms.umd.js +1 -1
  73. package/dist/translations/ne.js +1 -1
  74. package/dist/translations/ne.umd.js +1 -1
  75. package/dist/translations/nl.js +1 -1
  76. package/dist/translations/nl.umd.js +1 -1
  77. package/dist/translations/no.js +1 -1
  78. package/dist/translations/no.umd.js +1 -1
  79. package/dist/translations/pl.js +1 -1
  80. package/dist/translations/pl.umd.js +1 -1
  81. package/dist/translations/pt-br.js +1 -1
  82. package/dist/translations/pt-br.umd.js +1 -1
  83. package/dist/translations/pt.js +1 -1
  84. package/dist/translations/pt.umd.js +1 -1
  85. package/dist/translations/ro.js +1 -1
  86. package/dist/translations/ro.umd.js +1 -1
  87. package/dist/translations/ru.js +1 -1
  88. package/dist/translations/ru.umd.js +1 -1
  89. package/dist/translations/sk.js +1 -1
  90. package/dist/translations/sk.umd.js +1 -1
  91. package/dist/translations/sr-latn.js +1 -1
  92. package/dist/translations/sr-latn.umd.js +1 -1
  93. package/dist/translations/sr.js +1 -1
  94. package/dist/translations/sr.umd.js +1 -1
  95. package/dist/translations/sv.js +1 -1
  96. package/dist/translations/sv.umd.js +1 -1
  97. package/dist/translations/th.js +1 -1
  98. package/dist/translations/th.umd.js +1 -1
  99. package/dist/translations/ti.js +1 -1
  100. package/dist/translations/ti.umd.js +1 -1
  101. package/dist/translations/tk.js +1 -1
  102. package/dist/translations/tk.umd.js +1 -1
  103. package/dist/translations/tr.js +1 -1
  104. package/dist/translations/tr.umd.js +1 -1
  105. package/dist/translations/tt.js +1 -1
  106. package/dist/translations/tt.umd.js +1 -1
  107. package/dist/translations/ug.js +1 -1
  108. package/dist/translations/ug.umd.js +1 -1
  109. package/dist/translations/uk.js +1 -1
  110. package/dist/translations/uk.umd.js +1 -1
  111. package/dist/translations/ur.js +1 -1
  112. package/dist/translations/ur.umd.js +1 -1
  113. package/dist/translations/vi.js +1 -1
  114. package/dist/translations/vi.umd.js +1 -1
  115. package/dist/translations/zh-cn.js +1 -1
  116. package/dist/translations/zh-cn.umd.js +1 -1
  117. package/dist/translations/zh.js +1 -1
  118. package/dist/translations/zh.umd.js +1 -1
  119. package/package.json +8 -8
  120. package/src/changeitem.js +2 -2
  121. package/src/editor/revisionviewereditor.js +2 -2
  122. package/src/editor/revisionviewereditorui.js +1 -1
  123. package/src/editor/revisionviewereditoruiview.js +1 -1
  124. package/src/index.d.ts +1 -0
  125. package/src/index.js +1 -1
  126. package/src/revision.js +2 -2
  127. package/src/revisiondiff.js +1 -1
  128. package/src/revisionhistory.js +1 -1
  129. package/src/revisionsrepository.js +1 -1
  130. package/src/revisiontracker.js +1 -1
  131. package/src/revisionviewer.js +1 -1
  132. package/src/ui/revision/createrevisionactionsdropdown.js +1 -1
  133. package/src/ui/revision/revisionauthorview.js +1 -1
  134. package/src/ui/revision/revisionnameview.js +1 -1
  135. package/src/ui/revision/revisionview.js +2 -2
  136. package/src/ui/revision/subrevisioncollapserview.js +1 -1
  137. package/src/ui/revision/subrevisionview.js +1 -1
  138. package/src/ui/revision/utils.js +1 -1
  139. package/src/ui/revisionhistory/revisionhistorysaverevisionformview.js +1 -1
  140. package/src/ui/revisionhistory/revisionhistoryui.js +1 -1
  141. package/src/ui/revisionssidebar/revisionssidebar.js +1 -1
  142. package/src/ui/revisionssidebar/revisionssidebarheaderview.js +1 -1
  143. package/src/ui/revisionssidebar/revisionssidebartimeperiodview.js +1 -1
  144. package/src/ui/revisionssidebar/revisionssidebarview.js +1 -1
  145. package/src/ui/revisionssidebar/utils.js +1 -1
  146. package/src/ui/revisionviewer/changedetailsview.js +1 -1
  147. package/src/ui/revisionviewer/changesnavigationview.js +1 -1
  148. package/src/ui/revisionviewer/revisionviewerloadingoverlay.js +1 -1
  149. package/src/ui/revisionviewer/revisionviewerui.js +1 -1
  150. 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 _0x508c8f,Context as _0x49c4e4,PendingActions as _0x1b8edf,icons as _0x21c271,Command as _0x16bbd7,ElementApiMixin as rt,Editor as it}from'@ckeditor/ckeditor5-core/dist/index.js';import{ObservableMixin as _0x169ba8,uid as _0xe98175,Collection as _0x3f7d5c,logWarning as _0x34b09f,FocusTracker as _0x59f083,KeystrokeHandler as _0x60b7e1,scrollViewportToShowTarget as _0x410388,ResizeObserver as mt,ElementReplacer as nt,CKEditorError as _0x1dfa1b}from'@ckeditor/ckeditor5-utils/dist/index.js';import{Users as _0x5265ea,getMarkerDomElement as _0x545bb6,ConfirmMixin as _0x11ca7e,sanitizeEditorConfig as _0x32020e}from'ckeditor5-collaboration/dist/index.js';import{ViewDocumentFragment as _0x18edb1,ViewText as _0x21ea8e,ViewElement as _0x493ac4,Element as ft,Range as vt,Position as gt,DocumentFragment as wt,ViewContainerElement as _0xe2caaa,ViewAttributeElement as _0x4ec476,ViewEmptyElement as _0x390d7b,ViewRawElement as _0x4e998e,ViewUIElement as _0x444885,Text as _t}from'@ckeditor/ckeditor5-engine/dist/index.js';import{cloneDeep as _0x146537,set as _0x12320f,unset as _0x44dba8,isEqual as _0x2d8493}from'lodash-es';import{View as _0x47aea3,injectCssTransitionDisabler as ts,submitHandler as _0xfe357f,LabeledFieldView as at,createLabeledInputText as _0x52b2b4,createDropdown as _0x1c4f3f,ListView as te,ListItemView as _0x1848a7,ButtonView as _0x29ed67,MenuBarMenuView as _0x46aa4d,MenuBarMenuListView as _0x15ae58,MenuBarMenuListItemView as _0x402552,MenuBarMenuListItemButtonView as _0x344f82,ContextualBalloon as _0x325603,ToolbarSeparatorView as _0x3ebe4e,IconView as _0x3bc2cb,addListToDropdown as _0x56e1fe,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 _0x2dc829}from'luxon';class a extends/* #__PURE__ -- @preserve */
24
- _0x169ba8(){['id'];['creator'];['authors'];['diffData'];['toVersion'];['fromVersion'];['model'];constructor(_0x4f8f45){super(),this['id']=_0x4f8f45['id']||_0xe98175(),this['creator']=_0x4f8f45['creator']||null,this['authors']=_0x4f8f45['authors']||[],this['diffData']=_0x4f8f45['diffData']||null,this['toVersion']=_0x4f8f45['toVersion']||0x0,this['fromVersion']=_0x4f8f45['fromVersion']||0x0,this['set']('name',_0x4f8f45['name']||''),this['set']('createdAt',_0x4f8f45['createdAt']||new Date()),this['set']('attributes',_0x4f8f45['attributes']||{});}['setName'](_0x1d00aa){this['_update']({'name':_0x1d00aa});}['setAttribute'](_0x598103,_0x1f6769){const _0x8cc10d=_0x146537(this['attributes']);_0x12320f(_0x8cc10d,_0x598103,_0x1f6769),this['_update']({'attributes':_0x8cc10d});}['removeAttribute'](_0x3cd3f2){const _0x57138e=_0x146537(this['attributes']);_0x44dba8(_0x57138e,_0x3cd3f2),this['_update']({'attributes':_0x57138e});}['_update'](_0x3ad660,_0x2609a8=!0x1){let _0x1d74ae=!0x1;const _0xf3027={'id':this['id']},_0x2cb589=['name','createdAt','diffData','authors','attributes','toVersion','fromVersion','creatorId'];for(const _0x144240 of _0x2cb589){const _0x5a30ce=_0x3ad660[_0x144240];void 0x0!==_0x5a30ce&&_0x5a30ce!==this[_0x144240]&&(this[_0x144240]=_0x5a30ce,_0xf3027[_0x144240]=_0x5a30ce,_0x1d74ae=!0x0);}_0x1d74ae&&(_0xf3027['authors']&&(_0xf3027['authorsIds']=_0xf3027['authors']['map'](_0x33eda6=>_0x33eda6['id']),delete _0xf3027['authors']),this['fire']('_update',_0xf3027,_0x2609a8));}['toJSON'](){return{'id':this['id'],'name':this['name'],'creatorId':this['creator']?this['creator']['id']:null,'authorsIds':this['authors']['map'](_0x1ae154=>_0x1ae154['id']),'diffData':this['diffData'],'createdAt':this['createdAt'],'attributes':this['attributes'],'fromVersion':this['fromVersion'],'toVersion':this['toVersion']};}}class A extends _0x508c8f{['_revisions'];static get['requires'](){return[_0x5265ea];}static get['pluginName'](){return'RevisionsRepository';}get['length'](){return this['_revisions']['length'];}constructor(_0x52eccc){super(_0x52eccc),this['_revisions']=new _0x3f7d5c();}['afterInit'](){!function(_0x3554db){function _0x1dbaa7(_0x31ffed,_0x267d6d,_0x4c3280){const _0x137f3f={};_0x137f3f[_0x262804([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])]={0x10:0xa,0x18:0xc,0x20:0xe},_0x137f3f[_0x262804([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],_0x137f3f[_0x262804([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],_0x137f3f[_0x262804([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],_0x137f3f[_0x262804([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],_0x137f3f[_0x262804([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],_0x137f3f[_0x262804([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],_0x137f3f[_0x262804([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],_0x137f3f[_0x262804([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],_0x137f3f[_0x262804([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],_0x137f3f[_0x262804([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 _0xe74f6=new Uint8Array(0x10);for(let _0x4f1d2c=0xf;_0x4f1d2c>=0x0;--_0x4f1d2c)_0xe74f6[_0x4f1d2c]=_0x4c3280%0x100,_0x4c3280=parseInt(_0x4c3280/0x100);let _0x586a83=null,_0x43c03d=0x10;const _0xc89187=new Uint8Array(_0x267d6d),_0x575f28=[],_0x9fffb7=[];_0x32067c();for(let _0x2172be=0x0;_0x2172be<_0x31ffed[_0x262804([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2172be++)0x10===_0x43c03d&&(_0x586a83=_0x3311b7(_0xe74f6),_0x43c03d=0x0,_0x4ea845(_0xe74f6)),_0x31ffed[_0x2172be]^=_0x586a83[_0x43c03d++];return _0x31ffed;function _0x5ed589(_0x2457d7){const _0x58c6f3=[];for(let _0x43f1c0=0x0;_0x43f1c0<_0x2457d7[_0x262804([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x43f1c0+=0x4)_0x58c6f3[_0x262804([0x70,0x75,0x73,0x68])](_0x2457d7[_0x43f1c0]<<0x18|_0x2457d7[_0x43f1c0+0x1]<<0x10|_0x2457d7[_0x43f1c0+0x2]<<0x8|_0x2457d7[_0x43f1c0+0x3]);return _0x58c6f3;}function _0x4ea845(_0x55aa8c){for(let _0x110f9a=0xf;_0x110f9a>=0x0;_0x110f9a--){if(0xff!==_0x55aa8c[_0x110f9a]){_0x55aa8c[_0x110f9a]++;break;}_0x55aa8c[_0x110f9a]=0x0;}}function _0x3311b7(_0x1c87ba){const _0x3fedd1=_0x575f28[_0x262804([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x1,_0x2850f3=[0x0,0x0,0x0,0x0];let t=_0x5ed589(_0x1c87ba);for(let _0xa867d8=0x0;_0xa867d8<0x4;_0xa867d8++)t[_0xa867d8]^=_0x575f28[0x0][_0xa867d8];for(let _0x19af1a=0x1;_0x19af1a<_0x3fedd1;_0x19af1a++){for(let _0x35d7b5=0x0;_0x35d7b5<0x4;_0x35d7b5++)_0x2850f3[_0x35d7b5]=_0x137f3f[_0x262804([0x54,0x31])][t[_0x35d7b5]>>0x18&0xff]^_0x137f3f[_0x262804([0x54,0x32])][t[(_0x35d7b5+0x1)%0x4]>>0x10&0xff]^_0x137f3f[_0x262804([0x54,0x33])][t[(_0x35d7b5+0x2)%0x4]>>0x8&0xff]^_0x137f3f[_0x262804([0x54,0x34])][0xff&t[(_0x35d7b5+0x3)%0x4]]^_0x575f28[_0x19af1a][_0x35d7b5];t=_0x2850f3[_0x262804([0x73,0x6c,0x69,0x63,0x65])]();}const _0x5378f9=new Uint8Array(0x10);let _0x138884;for(let _0x55945d=0x0;_0x55945d<0x4;_0x55945d++)_0x138884=_0x575f28[_0x3fedd1][_0x55945d],_0x5378f9[0x4*_0x55945d]=0xff&(_0x137f3f[_0x262804([0x53])][t[_0x55945d]>>0x18&0xff]^_0x138884>>0x18),_0x5378f9[0x4*_0x55945d+0x1]=0xff&(_0x137f3f[_0x262804([0x53])][t[(_0x55945d+0x1)%0x4]>>0x10&0xff]^_0x138884>>0x10),_0x5378f9[0x4*_0x55945d+0x2]=0xff&(_0x137f3f[_0x262804([0x53])][t[(_0x55945d+0x2)%0x4]>>0x8&0xff]^_0x138884>>0x8),_0x5378f9[0x4*_0x55945d+0x3]=0xff&(_0x137f3f[_0x262804([0x53])][0xff&t[(_0x55945d+0x3)%0x4]]^_0x138884);return _0x5378f9;}function _0x32067c(){const _0x142e18=_0x137f3f[_0x262804([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])][_0xc89187[_0x262804([0x6c,0x65,0x6e,0x67,0x74,0x68])]];for(let _0x5905b8=0x0;_0x5905b8<=_0x142e18;_0x5905b8++)_0x575f28[_0x262804([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]),_0x9fffb7[_0x262804([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]);const _0x3c2daf=0x4*(_0x142e18+0x1),_0x5b545e=_0xc89187[_0x262804([0x6c,0x65,0x6e,0x67,0x74,0x68])]/0x4,_0x5e70ea=_0x5ed589(_0xc89187);let _0x14fb8e;for(let _0x5366fd=0x0;_0x5366fd<_0x5b545e;_0x5366fd++)_0x14fb8e=_0x5366fd>>0x2,_0x575f28[_0x14fb8e][_0x5366fd%0x4]=_0x5e70ea[_0x5366fd],_0x9fffb7[_0x142e18-_0x14fb8e][_0x5366fd%0x4]=_0x5e70ea[_0x5366fd];let _0x3af820,_0x1a3250=0x0,t=_0x5b545e;for(;t<_0x3c2daf;){_0x3af820=_0x5e70ea[_0x5b545e-0x1],_0x5e70ea[0x0]^=_0x137f3f[_0x262804([0x53])][_0x3af820>>0x10&0xff]<<0x18^_0x137f3f[_0x262804([0x53])][_0x3af820>>0x8&0xff]<<0x10^_0x137f3f[_0x262804([0x53])][0xff&_0x3af820]<<0x8^_0x137f3f[_0x262804([0x53])][_0x3af820>>0x18&0xff]^_0x137f3f[_0x262804([0x72,0x63,0x6f,0x6e])][_0x1a3250]<<0x18,_0x1a3250+=0x1;for(let _0x3c2bb7=0x1;_0x3c2bb7<_0x5b545e/0x2;_0x3c2bb7++)_0x5e70ea[_0x3c2bb7]^=_0x5e70ea[_0x3c2bb7-0x1];_0x3af820=_0x5e70ea[_0x5b545e/0x2-0x1],_0x5e70ea[_0x5b545e/0x2]^=_0x137f3f[_0x262804([0x53])][0xff&_0x3af820]^_0x137f3f[_0x262804([0x53])][_0x3af820>>0x8&0xff]<<0x8^_0x137f3f[_0x262804([0x53])][_0x3af820>>0x10&0xff]<<0x10^_0x137f3f[_0x262804([0x53])][_0x3af820>>0x18&0xff]<<0x18;for(let _0x565c27=_0x5b545e/0x2+0x1;_0x565c27<_0x5b545e;_0x565c27++)_0x5e70ea[_0x565c27]^=_0x5e70ea[_0x565c27-0x1];let _0xbe71cc,_0x339bae,_0x21b3e5=0x0;for(;_0x21b3e5<_0x5b545e&&t<_0x3c2daf;)_0xbe71cc=t>>0x2,_0x339bae=t%0x4,_0x575f28[_0xbe71cc][_0x339bae]=_0x5e70ea[_0x21b3e5],_0x9fffb7[_0x142e18-_0xbe71cc][_0x339bae]=_0x5e70ea[_0x21b3e5++],t++;}for(let _0x78c357=0x1;_0x78c357<_0x142e18;_0x78c357++)for(let _0x86594e=0x0;_0x86594e<0x4;_0x86594e++)_0x3af820=_0x9fffb7[_0x78c357][_0x86594e],_0x9fffb7[_0x78c357][_0x86594e]=_0x137f3f[_0x262804([0x55,0x31])][_0x3af820>>0x18&0xff]^_0x137f3f[_0x262804([0x55,0x32])][_0x3af820>>0x10&0xff]^_0x137f3f[_0x262804([0x55,0x33])][_0x3af820>>0x8&0xff]^_0x137f3f[_0x262804([0x55,0x34])][0xff&_0x3af820];}}function _0x262804(_0x4da7eb){return _0x4da7eb['map'](_0x10c16e=>String['fromCharCode'](_0x10c16e))['join']('');}(_0x34c9f0=>{function _0x178dd0(){const _0x5251cd=[{[_0x262804([0x69,0x64])]:0x1,[_0x262804([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x262804([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73]),[_0x262804([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x262804([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x262804([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x262804([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x262804([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x262804([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x262804([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]:[{[_0x262804([0x69,0x64])]:0x2,[_0x262804([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x262804([0x54,0x72,0x61,0x63,0x6b,0x20,0x43,0x68,0x61,0x6e,0x67,0x65,0x73]),[_0x262804([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x262804([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x262804([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x262804([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x262804([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x262804([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]),[_0x262804([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x262804([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x262804([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x262804([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}}],[_0x262804([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x262804([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x262804([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x262804([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x262804([0x69,0x64])]:0x3,[_0x262804([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x262804([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e]),[_0x262804([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x262804([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x6f,0x6f,0x6b,0x75,0x70]),[_0x262804([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x262804([0x70,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x262804([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x262804([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x262804([0x69,0x64])]:0x4,[_0x262804([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x262804([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x20,0x48,0x69,0x73,0x74,0x6f,0x72,0x79]),[_0x262804([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x262804([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x262804([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x262804([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x262804([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x262804([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]),[_0x262804([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x262804([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x262804([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x262804([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x262804([0x69,0x64])]:0x5,[_0x262804([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x262804([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x20,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65]),[_0x262804([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x262804([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65,0x55,0x49]),[_0x262804([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x262804([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]),[_0x262804([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x262804([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x262804([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x262804([0x66,0x67,0x69])]:[0xc]}},{[_0x262804([0x69,0x64])]:0x6,[_0x262804([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x262804([0x46,0x6f,0x72,0x6d,0x61,0x74,0x20,0x50,0x61,0x69,0x6e,0x74,0x65,0x72]),[_0x262804([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x262804([0x46,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x55,0x49]),[_0x262804([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x262804([0x66,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x262804([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x262804([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x262804([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x262804([0x66,0x67,0x69])]:[0xc]}},{[_0x262804([0x69,0x64])]:0x7,[_0x262804([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x262804([0x53,0x6c,0x61,0x73,0x68,0x20,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64]),[_0x262804([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x262804([0x53,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x55,0x49]),[_0x262804([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x262804([0x73,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x262804([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x262804([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x262804([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x262804([0x66,0x67,0x69])]:[0xc]}},{[_0x262804([0x69,0x64])]:0x8,[_0x262804([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x262804([0x54,0x61,0x62,0x6c,0x65,0x20,0x6f,0x66,0x20,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73]),[_0x262804([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x262804([0x54,0x61,0x62,0x6c,0x65,0x4f,0x66,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x262804([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x262804([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]),[_0x262804([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x262804([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x262804([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x262804([0x66,0x67,0x69])]:[0xc]}},{[_0x262804([0x69,0x64])]:0x9,[_0x262804([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x262804([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65]),[_0x262804([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x262804([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x55,0x49]),[_0x262804([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x262804([0x74,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x262804([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x262804([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x262804([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x262804([0x66,0x67,0x69])]:[0xc,0xe]}},{[_0x262804([0x69,0x64])]:0xa,[_0x262804([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x262804([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]),[_0x262804([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x262804([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]),[_0x262804([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x262804([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]),[_0x262804([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x262804([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x262804([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x262804([0x66,0x67,0x69])]:[0xc]}},{[_0x262804([0x69,0x64])]:0xb,[_0x262804([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x262804([0x41,0x49,0x20,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74]),[_0x262804([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x262804([0x41,0x49,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74,0x55,0x49]),[_0x262804([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x262804([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x262804([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x262804([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x262804([0x69,0x64])]:0xc,[_0x262804([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x262804([0x50,0x72,0x6f,0x64,0x75,0x63,0x74,0x69,0x76,0x69,0x74,0x79,0x20,0x70,0x61,0x63,0x6b])},{[_0x262804([0x69,0x64])]:0xd,[_0x262804([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x262804([0x43,0x61,0x73,0x65,0x20,0x43,0x68,0x61,0x6e,0x67,0x65]),[_0x262804([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x262804([0x43,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x55,0x49]),[_0x262804([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x262804([0x63,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x262804([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x262804([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x262804([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x262804([0x66,0x67,0x69])]:[0xc]}},{[_0x262804([0x69,0x64])]:0xe,[_0x262804([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x262804([0x44,0x72,0x75,0x70,0x61,0x6c,0x20,0x70,0x61,0x63,0x6b]),[_0x262804([0x66,0x6f,0x72,0x62,0x69,0x64,0x64,0x65,0x6e,0x48,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x262804([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])},{[_0x262804([0x69,0x64])]:0xf,[_0x262804([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x262804([0x4d,0x75,0x6c,0x74,0x69,0x20,0x4c,0x65,0x76,0x65,0x6c,0x20,0x4c,0x69,0x73,0x74]),[_0x262804([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x262804([0x4d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x262804([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x262804([0x6d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x262804([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x262804([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x262804([0x69,0x64])]:0x10,[_0x262804([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x262804([0x4d,0x65,0x72,0x67,0x65,0x20,0x46,0x69,0x65,0x6c,0x64,0x73]),[_0x262804([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x262804([0x4d,0x65,0x72,0x67,0x65,0x46,0x69,0x65,0x6c,0x64,0x73,0x55,0x49]),[_0x262804([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x262804([0x6d,0x65,0x72,0x67,0x65,0x46,0x69,0x65,0x6c,0x64,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x262804([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x262804([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x262804([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x262804([0x66,0x67,0x69])]:[0xc]}}];return _0x1bfcd2(_0x5251cd),_0x5251cd;function _0xc43fc0(_0x191f05){return 0x1<<_0x191f05-0x1;}function _0x1bfcd2(_0x4b436b){_0x4b436b[_0x262804([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x26324c=>{_0x26324c[_0x262804([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]=_0xc43fc0(_0x26324c[_0x262804([0x69,0x64])]),_0xf3f0ed(_0x26324c)&&_0x26324c[_0x262804([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x1bfcd2(_0x26324c[_0x262804([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]);});}}function _0xf3f0ed(_0x4344ff){return _0x262804([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])in _0x4344ff;}const _0x491df8=[0x1,0x55,0x4e,0x73,0xc6,0xff,0x32,0x70,0x53,0x57,0xa1],_0x18c9a5=[0x7f,0x22,0x6,0xd3,0xa7,0x56,0x92,0xc7,0x84,0xa0,0x12];function _0x7db8a9(_0x594de4){const _0x3224de=[0x1d,0xdd,0xaf,0x5a,0xe7,0x85,0xef,0xf0,0x4b,0xb4];return _0x2b6cb9(_0x594de4,new Uint8Array([..._0x491df8,..._0x3224de,..._0x18c9a5]));}function _0x2b6cb9(_0xd30c91,_0x27f1e6){const _0x5f31e8=_0x35451b(_0xd30c91),_0x3b374f=Array[_0x262804([0x66,0x72,0x6f,0x6d])](_0x272f21(_0x5f31e8)),_0x3db7f1=_0x3b374f[_0x262804([0x70,0x6f,0x70])](),_0x41c920=_0x3b374f[_0x262804([0x70,0x6f,0x70])]();return _0x400338(_0x1dbaa7(_0x3b374f,_0x27f1e6,_0x41c920+0x100*_0x3db7f1));}function _0x35451b(_0x29c418){const _0x51c91b=atob(_0x29c418),[_0x5be7d4,_0x50fd4c]=_0x51c91b[_0x262804([0x73,0x70,0x6c,0x69,0x74])](_0x262804([0x2d]));try{if(atob(_0x50fd4c))return atob(_0x5be7d4);}catch(_0x4f4a8e){}return _0x51c91b;}function _0x29a85f(_0x464738){try{const _0x4e85a4=_0x7db8a9(_0x464738),_0x301184=JSON[_0x262804([0x70,0x61,0x72,0x73,0x65])](_0x4e85a4),_0x159564=parseInt(_0x301184[_0x262804([0x31])]),_0x1cf091=_0x301184[_0x262804([0x32])]||'',_0x126238=parseInt(_0x301184[_0x262804([0x33])]),_0x328f3b=parseInt(_0x301184[_0x262804([0x34])])||0x0,_0x5211b6=parseInt(_0x301184[_0x262804([0x35])])||0x0;return{[_0x262804([0x70,0x72,0x6f,0x64,0x75,0x63,0x74,0x4e,0x61,0x6d,0x65])]:_0x1cf091,[_0x262804([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])]:_0x328f3b,[_0x262804([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]:_0x159564,[_0x262804([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]:_0x126238,[_0x262804([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]:_0x5211b6};}catch(_0x1964ba){return null;}}const _0x344faa=_0x178dd0(),_0x98323d={[_0x262804([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])]:_0x134fd4,[_0x262804([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])]:_0x1be72d,[_0x262804([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])]:_0x4d906d},_0x16ecaa=_0x34c9f0[_0x262804([0x63,0x6f,0x6e,0x73,0x74,0x72,0x75,0x63,0x74,0x6f,0x72])][_0x262804([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])],_0x4e5101=_0x262804([0x63,0x6f,0x6e,0x74,0x65,0x78,0x74])in _0x34c9f0?_0x34c9f0['context']:_0x34c9f0['editor'],_0x4cccb9=_0x262804([0x34,0x30,0x34,0x38,0x31,0x36,0x31,0x34]),_0x481a19=_0x262804([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]),_0x27a807=_0x4e5101['config']['get'](_0x262804([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x48f251=_0x344faa[_0x262804([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xf3f0ed)[_0x262804([0x66,0x69,0x6e,0x64])](_0x460da3=>_0x460da3[_0x262804([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]===_0x16ecaa);function _0x4d6949(_0x56660a,_0x3ae396){_0x98323d[_0x3ae396[_0x262804([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]](_0x56660a,_0x3ae396),_0x3ae396[_0x262804([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x3ae396[_0x262804([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])][_0x262804([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4ba2c=>_0x59f35f(_0x4e5101,_0x4ba2c[_0x262804([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))[_0x262804([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x282eda=>_0x4d6949(_0x56660a,_0x282eda));}function _0x134fd4(_0x19bca5,_0x5d3ae4){_0x55c711(_0x2952c1(_0x19bca5,_0x5d3ae4),_0x5d3ae4);}function _0x1be72d(_0xba2945,_0x3d2162){function _0x142edd(_0x4936a9,_0x29a372){try{if(_0x59f35f(_0x4e5101,_0x262804([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))&&_0x4936a9){const _0x365da2=_0x4e53ed(_0x4e5101,_0x262804([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))[_0x262804([0x5f,0x65,0x78,0x65,0x63,0x75,0x74,0x65,0x53,0x75,0x67,0x67,0x65,0x73,0x74,0x69,0x6f,0x6e])];if(parseInt(_0x365da2)/0x2>_0x4936a9[_0x262804([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])])return _0x22f911(_0x29a372[_0x262804([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x262804([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}return _0x2952c1(_0x4936a9,_0x29a372);}catch(_0x5000fc){return _0x22f911(_0x29a372[_0x262804([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x262804([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}_0x55c711(_0x142edd(_0xba2945,_0x3d2162),_0x3d2162);}function _0x4d906d(_0xefab15,_0x134bb3){const _0x1077e6=_0x18c9a5[0x0]*_0x491df8[0x1],_0x1485f2=_0x18c9a5[0x0]*_0x491df8[0x2],_0x4fe5a0=_0x18c9a5[0x2]*_0x491df8[0x2];_0x59f35f(_0x4e5101,_0x262804([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x4e53ed(_0x4e5101,_0x262804([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x262804([0x73,0x74,0x61,0x74,0x65])]==_0x262804([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&(window[_0x17041e()]=_0x4fe5a0);function _0x290ac6(_0x141620,_0x415a7b){try{return _0x31f25d()?_0x22f911(_0x415a7b[_0x262804([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x262804([0x56,0x61,0x6c,0x69,0x64])):_0x2952c1(_0x141620,_0x415a7b);}catch(_0x2772fc){return _0x22f911(_0x415a7b[_0x262804([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x262804([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x9d4c3e(_0x72d680,_0x5d7af8){const _0x56dd31=0x7;if(_0x72d680==_0x5d7af8[_0x262804([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x262804([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]))_0x268ed4();else{if(_0x72d680==_0x5d7af8[_0x262804([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x262804([0x54,0x72,0x69,0x61,0x6c])){const _0x53a43b=_0x18f49f();_0x53a43b&&_0x3c67d2(_0x53a43b,_0x5d7af8[_0x262804([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);const _0x301a12=_0x286045();window[_0x262804([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x3c67d2(_0x262804([0x74,0x69,0x6d,0x65]),_0x5d7af8[_0x262804([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);},_0x301a12);const _0x1ebf85=_0x4e53ed(_0x4e5101,_0x262804([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x262804([0x5f,0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73])];_0x1ebf85[_0x262804([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x56dd31?_0x3c67d2(_0x262804([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x5d7af8[_0x262804([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]):_0x1ebf85['on'](_0x262804([0x61,0x64,0x64]),()=>{_0x1ebf85[_0x262804([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x56dd31&&_0x3c67d2(_0x262804([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x5d7af8[_0x262804([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);});}}}function _0x18f49f(){if(!_0x59f35f(_0x4e5101,_0x262804([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x99355d in window)if(Number['isNaN'](Number(_0x99355d))){if(window[_0x99355d]===_0x1077e6)return _0x262804([0x74,0x69,0x6d,0x65]);if(window[_0x99355d]===_0x1485f2)return _0x262804([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]);}return!0x1;}function _0x31f25d(){if(!_0x59f35f(_0x4e5101,_0x262804([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x4a4b4d in window)if(Number['isNaN'](Number(_0x4a4b4d))&&window[_0x4a4b4d]===_0x4fe5a0)return!0x0;return!0x1;}function _0x3c67d2(_0xfa8fec,_0xf23ec3){_0x268ed4(),_0x22f911(_0xf23ec3+_0x262804([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a])+_0xfa8fec),window[_0x17041e()]=_0xfa8fec===_0x262804([0x74,0x69,0x6d,0x65])?_0x1077e6:_0x1485f2;}function _0x286045(){let _0x4bfdf6=_0x18c9a5[0x6]*_0x491df8[0x8]*_0x491df8[0x6];return _0x59f35f(_0x4e5101,_0x262804([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x4bfdf6/=0xa),_0x4bfdf6;}function _0x268ed4(){const _0x189691=_0x4e5101;function _0x5f1c2b(){_0x59f35f(_0x189691,_0x262804([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&(_0x4e53ed(_0x189691,_0x262804([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x262804([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x262804([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x4e53ed(_0x189691,_0x262804([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x262804([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x4e53ed(_0x189691,_0x262804([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x262804([0x75,0x70,0x64,0x61,0x74,0x65])]=_0x2a120a,_0x4e53ed(_0x189691,_0x262804([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x262804([0x73,0x61,0x76,0x65,0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e])]=_0x2a120a,_0x189691[_0x262804([0x6d,0x6f,0x64,0x65,0x6c])][_0x262804([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2a120a,_0x189691[_0x262804([0x6d,0x6f,0x64,0x65,0x6c])][_0x262804([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2a120a,_0x189691[_0x262804([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x262804([0x6d,0x6f,0x64,0x65,0x6c]))),_0x59f35f(_0x189691,_0x262804([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x4e53ed(_0x189691,_0x262804([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x262804([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x262804([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x4e53ed(_0x189691,_0x262804([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x262804([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x4e53ed(_0x189691,_0x262804([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x262804([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])]=_0x2a120a,_0x4e53ed(_0x189691,_0x262804([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x262804([0x5f,0x67,0x65,0x74,0x44,0x69,0x66,0x66])]=_0x2a120a);}_0x189691[_0x262804([0x73,0x74,0x61,0x74,0x65])]==_0x262804([0x72,0x65,0x61,0x64,0x79])?_0x5f1c2b():_0x189691[_0x262804([0x6f,0x6e,0x63,0x65])](_0x262804([0x72,0x65,0x61,0x64,0x79]),()=>{if(_0x59f35f(_0x189691,_0x262804([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&_0x5f1c2b(),_0x59f35f(_0x189691,_0x262804([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))){const _0x196a74=_0x4e53ed(_0x189691,_0x262804([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79])),_0x508d12=_0x196a74['getRevision'](0x0),_0x42ccef=_0x196a74['getEarlierVisibleRevision'](_0x508d12[_0x262804([0x69,0x64])]);_0x4e53ed(_0x189691,_0x262804([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x262804([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])](_0x508d12[_0x262804([0x69,0x64])],_0x42ccef?_0x42ccef[_0x262804([0x69,0x64])]:null,0x1)['then'](()=>_0x5f1c2b());}});}_0x9d4c3e(_0x290ac6(_0xefab15,_0x134bb3),_0x134bb3);}function _0x2952c1(_0x5a2573,_0x4e93b8){try{return _0x4e3a21(_0x4e93b8)?_0x22f911(_0x4e93b8[_0x262804([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x262804([0x56,0x61,0x6c,0x69,0x64])):_0x5a2573&&_0x5da1a5(_0x5a2573[_0x262804([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])],_0x4e93b8)?_0x5a2573[_0x262804([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]&&!window[_0x262804([0x6f,0x70,0x65,0x6e])][_0x262804([0x63,0x6c,0x6f,0x73,0x65,0x64])]||parseInt(_0x4cccb9)/0x2>_0x5a2573[_0x262804([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]?_0x22f911(_0x4e93b8[_0x262804([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x262804([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])):_0x5a2573[_0x262804([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]?_0x22f911(_0x4e93b8[_0x262804([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x262804([0x54,0x72,0x69,0x61,0x6c])):_0x22f911(_0x4e93b8[_0x262804([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x262804([0x56,0x61,0x6c,0x69,0x64])):_0x22f911(_0x4e93b8[_0x262804([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x262804([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}catch(_0x304a4d){return _0x22f911(_0x4e93b8[_0x262804([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x262804([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x55c711(_0x4bfd9d,_0x182cb3){if(_0x4e5101 instanceof _0x49c4e4){const _0x30a830=_0x4e5101;_0x4bfd9d==_0x182cb3[_0x262804([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x262804([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x3791c7(_0x30a830):_0x4bfd9d==_0x182cb3[_0x262804([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x262804([0x54,0x72,0x69,0x61,0x6c])&&window[_0x262804([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x3791c7(_0x30a830),_0x22f911(_0x182cb3[_0x262804([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x262804([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65]));},_0x18c9a5[0x6]*_0x491df8[0x8]*_0x491df8[0x6]),_0x30a830[_0x262804([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])][_0x262804([0x6f,0x6e])](_0x262804([0x61,0x64,0x64]),(_0x174c38,_0x28a81e)=>{_0x4bfd9d!=_0x182cb3[_0x262804([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x262804([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])&&_0x4bfd9d!=_0x182cb3[_0x262804([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x262804([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65])&&_0x4bfd9d!=_0x182cb3[_0x262804([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x262804([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])||_0x484b1b(_0x28a81e);});}else{const _0xef362a=_0x4e5101;_0x4bfd9d==_0x182cb3[_0x262804([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x262804([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x484b1b(_0xef362a):_0x4bfd9d==_0x182cb3[_0x262804([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x262804([0x54,0x72,0x69,0x61,0x6c])&&_0xef362a[_0x262804([0x6f,0x6e])](_0x262804([0x72,0x65,0x61,0x64,0x79]),()=>{let _0x2f8239=0x0;_0xef362a[_0x262804([0x6d,0x6f,0x64,0x65,0x6c])][_0x262804([0x6f,0x6e])](_0x262804([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x37de8e,_0x53aeb3)=>{_0x53aeb3[0x0][_0x262804([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x2f8239++,0x1f8===_0x2f8239&&(_0x484b1b(_0xef362a),_0x22f911(_0x182cb3[_0x262804([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x262804([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])),_0x37de8e[_0x262804([0x6f,0x66,0x66])]());},{'priority':_0x262804([0x68,0x69,0x67,0x68,0x65,0x73,0x74])});});}}function _0x22f911(_0xa58165){const _0x4552e8=_0x17041e();return _0x4e5101[_0x4552e8]=_0xa58165,_0xa58165;}function _0x17041e(){const _0x5a4a15=String(window[_0x262804([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x262804([0x6e,0x6f,0x77])]())[_0x262804([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x262804([0x2e]),'');let _0x566d96='';for(let _0x5d2bca=0x0;_0x5d2bca<_0x5a4a15[_0x262804([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5d2bca+=0x2){let _0x5332b9=parseInt(_0x5a4a15[_0x262804([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5d2bca,_0x5d2bca+0x2));_0x5332b9>=_0x481a19[_0x262804([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x5332b9-=_0x481a19[_0x262804([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x566d96+=_0x481a19[_0x5332b9];}return _0x566d96;}function _0x3791c7(_0x47d1c3){for(const _0x369b94 of _0x47d1c3[_0x262804([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])])_0x484b1b(_0x369b94);_0x4e53ed(_0x47d1c3,_0x262804([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x262804([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])](!0x0),_0x4e53ed(_0x47d1c3,_0x262804([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x262804([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])]=_0x2a120a;}function _0x484b1b(_0x2ced85){function _0x2b761a(){_0x2ced85[_0x262804([0x6d,0x6f,0x64,0x65,0x6c])][_0x262804([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2a120a,_0x2ced85[_0x262804([0x6d,0x6f,0x64,0x65,0x6c])][_0x262804([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2a120a,_0x2ced85[_0x262804([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x262804([0x6d,0x6f,0x64,0x65,0x6c]));}_0x2ced85[_0x262804([0x73,0x74,0x61,0x74,0x65])]==_0x262804([0x72,0x65,0x61,0x64,0x79])?_0x2b761a():_0x2ced85[_0x262804([0x6f,0x6e,0x63,0x65])](_0x262804([0x72,0x65,0x61,0x64,0x79]),()=>_0x2b761a());}function _0x2a120a(){return null;}function _0x5da1a5(_0x12a6ed,_0x229356){const _0x2d57ff=!!(_0x12a6ed&_0x229356[_0x262804([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]),_0x42fbf7=_0x3352be(_0x12a6ed,_0x229356);return _0x2d57ff||_0x42fbf7;}function _0x3352be(_0xe7223f,_0x1ea0d4){const _0x167ebb=(_0x1ea0d4[_0x262804([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{})[_0x262804([0x66,0x67,0x69])]||null;return!!_0x167ebb&&_0x344faa[_0x262804([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xa75058=>_0x167ebb[_0x262804([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xa75058[_0x262804([0x69,0x64])]))[_0x262804([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x318056=>!_0x23b519(_0x318056))[_0x262804([0x73,0x6f,0x6d,0x65])](_0x53cdee=>!!(_0xe7223f&_0x53cdee[_0x262804([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]));}function _0x23b519(_0xe0fe5){const _0x2dd345={[_0x262804([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])]:_0x3e54e3};return!!_0xe0fe5['forbiddenHandler']&&_0x2dd345[_0xe0fe5['forbiddenHandler']]();}function _0x3e54e3(){return!window[_0x262804([0x44,0x72,0x75,0x70,0x61,0x6c])]||!_0x59f35f(_0x4e5101,_0x262804([0x64,0x72,0x75,0x70,0x61,0x6c,0x50,0x6f,0x77,0x65,0x72,0x65,0x64,0x42,0x79]));}function _0x4e3a21(_0xe0fd75){if(!_0x59f35f(_0x4e5101,_0xe0fd75[_0x262804([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))return!0x0;const _0x2f938d=_0xe0fd75[_0x262804([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{},_0x167984=_0x2f938d[_0x262804([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]||!0x1,_0x8c785e=_0x2f938d[_0x262804([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]||!0x1,_0x34122b=_0x2f938d[_0x262804([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]||!0x1;if(_0x59f35f(_0x4e5101,_0x262804([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x4e53ed(_0x4e5101,_0x262804([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x262804([0x73,0x74,0x61,0x74,0x65])]==_0x262804([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&_0x167984)return!0x0;if(_0x59f35f(_0x4e5101,_0x262804([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))&&_0x4e53ed(_0x4e5101,_0x262804([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))[_0x262804([0x72,0x65,0x73,0x75,0x6c,0x74])]==_0x262804([0x65,0x6e,0x64])&&_0x8c785e)return!0x0;return!(!_0x59f35f(_0x4e5101,_0x262804([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]))||_0x4e53ed(_0x4e5101,_0x262804([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]))[_0x262804([0x72,0x65,0x73,0x75,0x6c,0x74])]!=_0x262804([0x65,0x6e,0x64])||!_0x34122b);}function _0x59f35f(_0x153213,_0x14809b){return _0x153213[_0x262804([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x262804([0x68,0x61,0x73])](_0x14809b);}function _0x4e53ed(_0x27c75e,_0x3d9f28){return _0x27c75e[_0x262804([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x262804([0x67,0x65,0x74])](_0x3d9f28);}function _0x400338(_0x3f987e){let _0x41cacd='';for(const _0x19519c of _0x3f987e)_0x41cacd+=String[_0x262804([0x66,0x72,0x6f,0x6d,0x43,0x68,0x61,0x72,0x43,0x6f,0x64,0x65])](_0x19519c);return _0x41cacd;}function _0x272f21(_0x43b344){const _0x99ff90=new Uint8Array(_0x43b344[_0x262804([0x6c,0x65,0x6e,0x67,0x74,0x68])]);for(let _0x432cc6=0x0;_0x432cc6<_0x43b344[_0x262804([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x432cc6++)_0x99ff90[_0x432cc6]=_0x43b344[_0x262804([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x432cc6);return _0x99ff90;}_0x48f251&&_0x4d6949(_0x29a85f(_0x27a807),_0x48f251);})(_0x3554db);}(this);}['createRevision'](_0x5841f5){const _0x5d8096=this['editor']['plugins']['get']('Users');return new a({'id':_0x5841f5['id'],'name':_0x5841f5['name'],'creator':_0x5841f5['creatorId']?_0x5d8096['getUser'](_0x5841f5['creatorId']):null,'diffData':_0x5841f5['diffData']||_0x5841f5['data'],'authors':_0x5841f5['authorsIds']['map'](_0x2e6de6=>_0x5d8096['getUser'](_0x2e6de6)),'createdAt':new Date(_0x5841f5['createdAt']),'attributes':_0x5841f5['attributes'],'fromVersion':_0x5841f5['fromVersion'],'toVersion':_0x5841f5['toVersion']});}['addRevision'](_0x2459fb,_0x49d300=0x0){this['_revisions']['add'](_0x2459fb,_0x49d300);}['getRevision'](_0x1e5740){return this['_revisions']['get'](_0x1e5740);}['getRevisions'](_0x2c1d97={'toJSON':!0x1}){const _0x109864=Array['from'](this['_revisions']);return _0x109864['reverse'](),_0x2c1d97['toJSON']?_0x109864['map'](_0x27211f=>_0x27211f['toJSON']()):_0x109864;}['getIndex'](_0x37ba80){return this['_revisions']['getIndex'](_0x37ba80);}['getEarlierVisibleRevision'](_0x519d24){const [,_0x4eeed5]=this['getRevisionsIterator'](_0x519d24,{'direction':'earlier'});return _0x4eeed5;}['getLaterVisibleRevision'](_0x8f9be8){const [,_0x444a0f]=this['getRevisionsIterator'](_0x8f9be8,{'direction':'later'});return _0x444a0f;}['getRevisionsInDiff'](_0x3fa39f){const _0x183121=[];for(const _0x49125e of this['getRevisionsIterator'](_0x3fa39f['newRevisionId']))if(_0x183121['push'](_0x49125e),_0x49125e['id']===_0x3fa39f['oldRevisionId'])break;return _0x183121;}*['getRevisionsIterator'](_0x2c4b50,{direction:_0x253ed4='earlier',filter:_0x130203=_0x38ee8b=>!0x0}={}){const _0x44cb54='earlier'===_0x253ed4?0x1:-0x1;let _0xe9b824=this['_revisions']['get'](_0x2c4b50),_0x1e8a94=this['getIndex'](_0xe9b824);for(yield _0xe9b824;_0xe9b824;){if(_0x1e8a94+=_0x44cb54,_0xe9b824=this['getRevision'](_0x1e8a94),!_0xe9b824)return;_0x130203(_0xe9b824)&&(yield _0xe9b824);}}}function y(_0x52245d,_0x45ddc5,_0x5d22b1){const t=_0x52245d['t'];switch(_0x45ddc5){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'},_0x5d22b1);case'X_OF_Y_CHANGES':return t({'string':'%0\x20of\x20%1','id':'X_OF_Y_CHANGES'},_0x5d22b1);case'Show\x20previous\x20change':return t('Show\x20previous\x20change');case'Show\x20next\x20change':return t('Show\x20next\x20change');case'EDIT_X_OF_Y_REVISIONS':return t({'string':'Edit','id':'EDIT_X_OF_Y_REVISIONS'});case'Total':return t('Total');case'Revision\x20creator':return t('Revision\x20creator');case'Revision\x20author':return t('Revision\x20author');case'Revision\x20name':return t('Revision\x20name');case'Save\x20current\x20revision':return t('Save\x20current\x20revision');case'Accept':return t('Accept');case'Save':return t('Save');case'Cancel':return t('Cancel');case'Name\x20of\x20the\x20revision':return t('Name\x20of\x20the\x20revision');case'optional':return t('optional');case'PENDING_ACTION_REVISION_HISTORY':return t({'string':'Unsaved\x20change\x20in\x20revision\x20history.','id':'PENDING_ACTION_REVISION_HISTORY'});case'The\x20revision\x20name\x20cannot\x20be\x20empty.':return t('The\x20revision\x20name\x20cannot\x20be\x20empty.');case'Enter\x20the\x20revision\x20name':return t('Enter\x20the\x20revision\x20name');default:return'';}}const T={'c':_0xe2caaa,'a':_0x4ec476,'e':_0x390d7b,'r':_0x4e998e,'u':_0x444885};class l extends _0x508c8f{['adapter'];['currentRevision'];['repository'];['_revisionDataBuilder'];['_source'];['_initialRevisionId'];['_bufferedUpdates'];['_pendingAction'];['_continueCurrentRevision'];['_startingVersion'];['_loadedStateData'];static get['pluginName'](){return'RevisionTracker';}static get['requires'](){return[_0x5265ea,A,_0x1b8edf];}constructor(_0x58b377){super(_0x58b377),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 _0x4df939=_0xe98175();this['_source']={'history':this['editor']['model']['document']['history'],'getLatestVersion':()=>Promise['resolve'](this['editor']['model']['document']['version']),'getCurrentRevisionId':()=>_0x4df939},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 _0x2b16d5=this['repository']['getRevision'](0x0),_0x2b323f=_0x2b16d5&&null===_0x2b16d5['creator']?_0x2b16d5:null;if(this['_continueCurrentRevision']=!!_0x2b323f&&this['editor']['config']['get']('revisionHistory.resumeUnsavedRevision'),this['editor']['plugins']['has']('RealTimeCollaborationClient')){const _0x516005=this['_source']['getCurrentRevisionId'](),_0x2b6895=this['repository']['getRevision'](_0x516005);if(_0x2b6895)this['_startingVersion']=_0x2b6895['fromVersion'],this['_continueCurrentRevision']=!0x1;else{const _0x2b5a02=this['_source']['history']['_operations']['find'](_0x34ae8f=>!_0x34ae8f['_isInit']),_0x4ee24c=_0x2b5a02?_0x2b5a02['baseVersion']:this['_source']['history']['version'];_0x2b16d5?(_0x2b16d5['toVersion']<_0x4ee24c&&_0x2b16d5['_update']({'toVersion':_0x4ee24c}),this['_continueCurrentRevision']?(this['_source']['getCurrentRevisionId']=()=>_0x2b323f['id'],this['_startingVersion']=_0x2b323f['fromVersion']):(this['_startingVersion']=_0x2b16d5['toVersion'],this['_continueCurrentRevision']=!0x1)):(this['_startingVersion']=_0x4ee24c,this['_continueCurrentRevision']=!0x1);}}else _0x2b323f&&(this['editor']['model']['document']['history']['version']=Math['max'](_0x2b323f['toVersion'],this['editor']['model']['document']['history']['version']),_0x2b323f['fromVersion']===_0x2b323f['toVersion']?(0x0!==_0x2b323f['fromVersion']&&(this['_source']['getCurrentRevisionId']=()=>_0x2b323f['id']),this['_continueCurrentRevision']=!0x1):this['_continueCurrentRevision']&&(this['_source']['getCurrentRevisionId']=()=>_0x2b323f['id'],this['_startingVersion']=_0x2b323f['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',_0x4196ec=>!_0x4196ec);}async['afterInit'](){if(this['repository']['length']>0x0){const _0x9de06d=this['repository']['getRevision'](0x0),_0x8ba350=await this['getRevisionDocumentData'](_0x9de06d),_0x3eaaca=await this['getRevisionRootsAttributes'](_0x9de06d);this['_replaceEditorDataWithRevisionData'](_0x8ba350,_0x3eaaca);}}['setSource'](_0x1f19a){this['_source']=_0x1f19a;}async['update'](){const _0x377c84=await this['_source']['getLatestVersion']();if(_0x377c84>this['currentRevision']['toVersion']){await this['_loadState']();const _0x5cc091=this['buildRevisionData']({'revision':this['currentRevision'],'to':_0x377c84});_0x5cc091['authors']=_0x5cc091['authorsIds']['map'](_0x19db8c=>this['editor']['plugins']['get']('Users')['getUser'](_0x19db8c)),this['currentRevision']['_update'](_0x5cc091);}}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'](_0x115a6a={},_0x16fb3a=null){const _0x58c7ec=[];await this['_loadState'](),this['_continueCurrentRevision']=!0x1,_0x16fb3a>this['currentRevision']['toVersion']&&(_0x16fb3a=null),null===_0x16fb3a&&(_0x16fb3a=await this['_source']['getLatestVersion']());const _0x59eea6=this['_getFromVersion'](_0x16fb3a),_0x5205fc=this['buildRevisionData']({'from':_0x59eea6,'to':_0x16fb3a});if(this['currentRevision']['toVersion']<_0x16fb3a){const _0x40ef63=this['buildRevisionData']({'revision':this['currentRevision'],'from':_0x16fb3a,'to':_0x16fb3a});_0x40ef63['authors']=[],_0x40ef63['authorsIds']=[],_0x40ef63['id']=this['currentRevision']['id'],this['currentRevision']['_update'](_0x40ef63,!0x0),delete _0x40ef63['authors'],_0x58c7ec['push'](_0x40ef63);}_0x115a6a['creatorId']=this['editor']['plugins']['get']('Users')['me']['id'],_0x115a6a['name']=_0x115a6a['name']||null,_0x115a6a['id']=_0x115a6a['id']||_0xe98175(),_0x115a6a={..._0x115a6a,..._0x5205fc};const _0x13a463=this['addRevisionData'](_0x115a6a);_0x58c7ec['push'](_0x115a6a);const _0x7dcffc=this['repository']['getIndex'](_0x13a463);if(0x0!==_0x7dcffc){const _0x4490a9=this['repository']['getRevision'](_0x7dcffc-0x1);if(_0x4490a9['fromVersion']!==_0x16fb3a){const _0xd348c2=this['_revisionDataBuilder']['getData'](_0x16fb3a,_0x4490a9['toVersion']),_0x5d8091={'id':_0x4490a9['id'],'diffData':_0xd348c2['diffData'],'authorsIds':_0xd348c2['authorsIds'],'authors':_0xd348c2['authorsIds']['map'](_0x17b09e=>this['editor']['plugins']['get']('Users')['getUser'](_0x17b09e)),'fromVersion':_0x16fb3a};_0x4490a9===this['currentRevision']&&(_0x5d8091['createdAt']=new Date(_0x115a6a['createdAt']['getTime']()+0xa)),_0x4490a9['_update'](_0x5d8091,!0x0),delete _0x5d8091['authors'],_0x58c7ec['push'](_0x5d8091);}}if(this['adapter']){for(const _0x1ce986 of _0x58c7ec)this['_bufferUpdate'](_0x1ce986['id'],_0x1ce986,!0x0);this['sendBufferedUpdates']();}return _0x13a463;}['addRevisionData'](_0x238d8c){const _0x559ac7=this['repository']['createRevision'](_0x238d8c);return this['adapter']&&_0x559ac7['on']('_update',(_0x3a679a,_0x5aaee7,_0x457888)=>{_0x457888||(this['_bufferUpdate'](_0x5aaee7['id'],_0x5aaee7,!0x0),this['sendBufferedUpdates']());}),this['repository']['addRevision'](_0x559ac7,this['_findInsertionIndex'](_0x559ac7)),_0x559ac7;}async['getRevisionDocumentData'](_0x599d0f){await this['_loadRevisionData'](_0x599d0f);const _0x2c700b={};for(const _0x3218bb in _0x599d0f['diffData']){if(_0x599d0f['diffData'][_0x3218bb]['attachChange']&&!_0x599d0f['diffData'][_0x3218bb]['attachChange']['isAttached'])continue;const _0x5f0e67=this['_removeRevisionMarkers'](JSON['parse'](_0x599d0f['diffData'][_0x3218bb]['insertions'])),_0x1423f0=this['editor']['editing']['view']['document'],_0x5c0b31=new _0x18edb1(_0x1423f0,_0x5f0e67['map'](_0x35b647=>B(_0x35b647,this['editor'])));this['editor']['data']['processor']['useFillerType']('marked'),_0x2c700b[_0x3218bb]=this['editor']['data']['processor']['toData'](_0x5c0b31),this['editor']['data']['processor']['useFillerType']('default');}return _0x2c700b;}async['getRevisionRootsAttributes'](_0x3a9693){await this['_loadRevisionData'](_0x3a9693);const _0xb14f9d={};for(const _0x133138 in _0x3a9693['diffData'])_0x3a9693['diffData'][_0x133138]['attachChange']&&!_0x3a9693['diffData'][_0x133138]['attachChange']['isAttached']||(_0xb14f9d[_0x133138]=_0x3a9693['diffData'][_0x133138]['attributesAfter']||{});return _0xb14f9d;}['sendBufferedUpdates'](){if(0x0===this['_bufferedUpdates']['size'])return;if(this['_isPendingUpdate'])return;let _0x165279=Array['from'](this['_bufferedUpdates']['values']());this['_bufferedUpdates']['clear']();for(let _0x30040e=0x0;_0x30040e<_0x165279['length'];_0x30040e++){const _0x2fa9a8=_0x165279[_0x30040e];let _0x273722=!0x1;for(const _0xe25ab0 of Object['keys'](_0x2fa9a8))void 0x0===_0x2fa9a8[_0xe25ab0]?delete _0x2fa9a8[_0xe25ab0]:'id'!==_0xe25ab0&&(_0x273722=!0x0);_0x273722||(_0x165279[_0x30040e]=null);}if(_0x165279=_0x165279['filter'](_0x3ec217=>null!==_0x3ec217),!_0x165279['length'])return;for(let _0x33fb28=0x0;_0x33fb28<_0x165279['length'];_0x33fb28++){const _0x300090=_0x165279[_0x33fb28];void 0x0!==_0x300090['fromVersion']&&void 0x0===_0x300090['toVersion']&&(_0x300090['toVersion']=this['repository']['getRevision'](_0x300090['id'])['toVersion']),void 0x0!==_0x300090['toVersion']&&void 0x0===_0x300090['fromVersion']&&(_0x300090['fromVersion']=this['repository']['getRevision'](_0x300090['id'])['fromVersion']);}const _0x4e7f5a=this['editor']['config']['get']('collaboration.channelId');this['_isPendingUpdate']=!0x0,this['_addPendingAction'](),this['adapter']['updateRevisions'](_0x165279,_0x4e7f5a)['finally'](()=>{this['_isPendingUpdate']=!0x1;})['then'](_0x486d2c=>{if(_0x486d2c){for(const _0x43e51b of _0x486d2c)this['setRevisionData']({'id':_0x43e51b['id'],'createdAt':_0x43e51b['createdAt']});}this['_removePendingAction'](),this['sendBufferedUpdates']();});}['_replaceEditorDataWithRevisionData'](_0x4fdcdd,_0x5d0453){let _0x43d2fc=this['editor']['config']['get']('initialData'),_0x4fbc02=this['editor']['config']['get']('rootsAttributes');if(void 0x0===_0x43d2fc){_0x43d2fc={};for(const _0x447f4c of this['editor']['model']['document']['getRootNames']())_0x43d2fc[_0x447f4c]='';}if('string'==typeof _0x43d2fc&&(_0x43d2fc={'main':_0x43d2fc}),void 0x0===_0x4fbc02){_0x4fbc02={};for(const _0x119ae1 of this['editor']['model']['document']['getRootNames']())_0x4fbc02[_0x119ae1]={};}let _0x2303ed=!0x1;const _0x182d58=Object['keys'](_0x43d2fc),_0xd6296a=Object['keys'](_0x4fdcdd);for(const _0x1b645 of _0x182d58){if(_0x43d2fc[_0x1b645]!==_0x4fdcdd[_0x1b645]&&''!==_0x43d2fc[_0x1b645]['trim']()){_0x2303ed=!0x0;break;}if(!_0x2d8493(_0x4fbc02[_0x1b645],_0x5d0453[_0x1b645])&&Object['keys'](_0x4fbc02[_0x1b645])['length']>0x0){_0x2303ed=!0x0;break;}}_0x2303ed||(_0x2303ed=_0xd6296a['some'](_0x428374=>!this['editor']['model']['document']['getRoot'](_0x428374))),_0x2303ed&&_0x34b09f('editor-initial-data-replaced-with-revision-data',{'editorData':_0x43d2fc,'editorRootsAttributes':_0x4fbc02,'revisionData':_0x4fdcdd,'revisionRootsAttributes':_0x5d0453}),this['editor']['config']['set']('initialData',_0x4fdcdd),this['editor']['config']['set']('rootsAttributes',_0x5d0453);}['_addPendingAction'](){if(!this['_pendingAction']){const _0x31ed12=this['editor']['plugins']['get']('PendingActions');this['_pendingAction']=_0x31ed12['add'](y(this['editor']['locale'],'PENDING_ACTION_REVISION_HISTORY'));}}['_removePendingAction'](){this['_pendingAction']&&(this['editor']['plugins']['get']('PendingActions')['remove'](this['_pendingAction']),this['_pendingAction']=null);}['_findInsertionIndex'](_0xd0d29){const _0x42ba71=this['repository']['getRevisions']();_0x42ba71['reverse']();let _0x39ca5e=0x0;for(;_0x39ca5e<_0x42ba71['length'];){const _0x83a070=_0x42ba71[_0x39ca5e];if(_0x83a070===this['currentRevision']){_0x39ca5e++;continue;}if(_0x83a070['id']===this['_initialRevisionId'])break;const _0xe91a50=_0xd0d29['toVersion']-_0x83a070['toVersion']||_0xd0d29['fromVersion']-_0x83a070['fromVersion'];if(_0xe91a50>0x0)break;if(_0xe91a50<0x0)_0x39ca5e++;else{if(!_0xd0d29['creator']&&_0x83a070['creator'])break;if(_0x83a070['creator']||!_0xd0d29['creator']){if(_0xd0d29['createdAt']>_0x83a070['createdAt'])break;_0x39ca5e++;}else _0x39ca5e++;}}return _0x39ca5e;}['setRevisionData'](_0x81fe08){const _0x295c3e=this['repository']['getRevision'](_0x81fe08['id']);if(_0x81fe08['createdAt']&&(_0x81fe08['createdAt']=new Date(_0x81fe08['createdAt'])),_0x81fe08['authorsIds']){const _0x5645b0=this['editor']['plugins']['get']('Users');_0x81fe08['authors']=_0x81fe08['authorsIds']['map'](_0x1d585c=>_0x5645b0['getUser'](_0x1d585c));}_0x295c3e['_update'](_0x81fe08,!0x0);}['buildRevisionData']({revision:_0x1b446a=null,from:_0xa8e12d=null,to:_0x103028=null}){_0xa8e12d=null!==_0xa8e12d?_0xa8e12d:_0x1b446a['fromVersion'],_0x103028=null!==_0x103028?_0x103028:_0x1b446a['toVersion'];const _0x8fd92=this['_revisionDataBuilder']['getData'](_0xa8e12d,_0x103028),_0x128a44={'diffData':_0x8fd92['diffData'],'authorsIds':_0x8fd92['authorsIds'],'fromVersion':_0xa8e12d,'toVersion':_0x103028};if(!_0x1b446a||_0x103028!==_0x1b446a['toVersion']){const _0x3d159f=_0x103028-0x1,_0x2f7d26=this['_source']['history']['getOperation'](_0x3d159f);_0x128a44['createdAt']=_0x2f7d26&&_0x2f7d26['createdAt']||new Date();}if(this['_loadedStateData']&&_0xa8e12d===this['_loadedStateData']['fromVersion']){for(const _0xeac293 of this['_loadedStateData']['authors'])_0x128a44['authorsIds']['includes'](_0xeac293['id'])||_0x128a44['authorsIds']['push'](_0xeac293['id']);}return _0x128a44;}['_loadRevisionData'](_0x554609){if(!_0x554609||_0x554609['diffData'])return Promise['resolve']();{const _0x42f86d=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0x42f86d,'revisionId':_0x554609['id']})['then'](_0x1fc4b6=>{_0x554609['diffData']=_0x1fc4b6['diffData'];});}}['_bufferUpdate'](_0xf8199d,_0x12476c,_0x176b10){if(this['_bufferedUpdates']['has'](_0xf8199d)){const _0x35f75d=this['_bufferedUpdates']['get'](_0xf8199d);_0x12476c=_0x176b10?{..._0x35f75d,..._0x12476c}:{..._0x12476c,..._0x35f75d};}this['_bufferedUpdates']['set'](_0xf8199d,_0x12476c);}['_getFromVersion'](_0x5b4411){const _0x1013cf=this['repository']['getRevisions']();_0x1013cf['reverse'](),_0x1013cf['shift']();const _0x2126b5=_0x1013cf['find'](_0x5da864=>_0x5da864['toVersion']<=_0x5b4411)['toVersion'];return _0x2126b5<this['_startingVersion']?this['_startingVersion']:_0x2126b5;}['_createInitialRevision'](_0x1c94e7){const _0x250a81=this['repository']['getRevision'](this['repository']['length']-0x1);if(_0x250a81)this['_initialRevisionId']=_0x250a81['id'];else{const _0x4e3e2d=!this['editor']['model']['document']['roots']['find'](_0x5f34b5=>this['editor']['model']['hasContent'](_0x5f34b5)),_0x1f3a63=this['editor']['plugins']['get']('Users')['me']['id'],_0x3acae8=y(this['editor']['locale'],_0x4e3e2d?'Empty\x20document':'Initial\x20revision');this['_makeRevision']({'from':_0x1c94e7,'to':_0x1c94e7,'id':this['_initialRevisionId'],'name':_0x3acae8,'creatorId':_0x1f3a63});}}['_createCurrentRevision'](_0x3711c9){const _0x31230d=this['_source']['getCurrentRevisionId']();this['currentRevision']=this['repository']['getRevision'](_0x31230d),this['currentRevision']||(this['currentRevision']=this['_makeRevision']({'from':_0x3711c9,'to':_0x3711c9,'id':_0x31230d,'name':'','creatorId':null}));}['_makeRevision']({name:_0x275e9e,from:_0x5334a8,to:_0x2e5290,creatorId:_0x38a0df,id:_0x30d8b3}){const _0x56a7ff=this['buildRevisionData']({'from':_0x5334a8,'to':_0x2e5290});_0x56a7ff['name']=_0x275e9e,_0x56a7ff['creatorId']=_0x38a0df,_0x56a7ff['id']=_0x30d8b3;const _0x531057=this['addRevisionData'](_0x56a7ff);return this['adapter']&&this['_bufferUpdate'](_0x56a7ff['id'],_0x56a7ff,!0x0),_0x531057;}['_setConversion'](){this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'});}['_removeRevisionMarkers'](_0x91481d){return(_0x91481d=_0x91481d['filter'](_0x129710=>!_0x129710['name']||'revision-start'!==_0x129710['name']&&'revision-end'!==_0x129710['name']))['forEach'](_0x3a3adb=>{'string'!=typeof _0x3a3adb&&(_0x3a3adb['children']=this['_removeRevisionMarkers'](_0x3a3adb['children']),_0x3a3adb['attributes']=_0x3a3adb['attributes']['filter'](_0x3a90cf=>!_0x3a90cf[0x0]['startsWith']('data-revision-')));}),_0x91481d;}}function B(_0x5c9930,_0x3490d3){const _0x5bdaaa=_0x3490d3['editing']['view']['document'];if('string'==typeof _0x5c9930)return new _0x21ea8e(_0x5bdaaa,_0x5c9930);{const _0x22520f=_0x5c9930['children']['map'](_0x2dc6a7=>B(_0x2dc6a7,_0x3490d3));return new(T[_0x5c9930['type']]||_0x493ac4)(_0x5bdaaa,_0x5c9930['name'],_0x5c9930['attributes'],_0x22520f);}}class J{['editor'];['source'];['_savedMetaData'];['_lastFrom'];['_lastTo'];['_markers'];['_diffRoots'];['_diffRootsAttributes'];['_baseRoots'];['_baseRootsAttributes'];['_idsRoots'];['_baseIdsRoots'];['_touched'];['_touchedMarkers'];['_touchedRoots'];['_revisionId'];['_startingRevisionId'];constructor(_0xd7e719){this['editor']=_0xd7e719,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'](_0x1198c5){this['source']=_0x1198c5;const _0x596173=new Map(),_0x1533b1=new Map(),_0xe8dce3=this['editor']['model']['document']['roots']['map'](_0x14a784=>_0x14a784['rootName']);for(const _0x234f04 of _0xe8dce3){const _0x1723f8=this['editor']['model']['document']['getRoot'](_0x234f04),_0x58968c=q(_0x1723f8);_0x596173['set'](_0x234f04,_0x58968c),_0x1533b1['set'](_0x234f04,Object['fromEntries'](_0x1723f8['getAttributes']()));}const _0x483b17=Array['from'](this['editor']['model']['markers'])['map'](_0xfa5345=>[_0xfa5345['name'],_0xfa5345['getRange']()]),_0x275d50=this['source']['version'];this['_saveMetaData'](_0x275d50,_0x596173,_0x483b17,_0x1533b1),this['_startingRevisionId']=this['_revisionId'];const _0x23641c=new Map(),_0x43b970=new Map();for(const _0x45d0d4 of _0xe8dce3){const _0x5ef839=G(_0x45d0d4);_0x23641c['set'](_0x45d0d4,_0x5ef839),_0x43b970['set'](_0x45d0d4,{});}this['_saveMetaData'](Number['NEGATIVE_INFINITY'],_0x23641c,[],_0x43b970);}['getData'](_0x5b73bc,_0x398c39){if(this['_lastFrom']===_0x5b73bc&&this['_lastTo']<=_0x398c39)this['_savedMetaData']['size']>0x1&&this['_removeMetaData'](this['_lastTo']),this['_applyOperations'](this['_lastTo'],_0x398c39,!0x0);else{if(!this['_savedMetaData']['has'](_0x5b73bc)){const _0x23fca5=this['_getPreviousFrom'](_0x5b73bc);this['_calculateMetaData'](_0x23fca5,_0x5b73bc,!0x1);}this['_calculateMetaData'](_0x5b73bc,_0x398c39,!0x0);}return this['_lastFrom']=_0x5b73bc,this['_lastTo']=_0x398c39,this['_getState']();}['loadState'](_0x4cc61e){this['_reset'](),this['_lastFrom']=_0x4cc61e['fromVersion'],this['_lastTo']=_0x4cc61e['toVersion'];for(const _0x1e8fad in _0x4cc61e['diffData']){const _0x3e0f0e=_0x4cc61e['diffData'][_0x1e8fad]['attachChange'],_0x3266fb=_0x146537(_0x4cc61e['diffData'][_0x1e8fad]['attributesBefore'])||{},_0x24fb01=this['_makeModelFromViewString'](_0x4cc61e['diffData'][_0x1e8fad]['deletions']);_0x24fb01['rootName']=_0x1e8fad,_0x24fb01['_isAttached']=!_0x3e0f0e||!_0x3e0f0e['isAttached'],_0x24fb01['isAttached']=()=>_0x24fb01['_isAttached'],this['_baseRoots']['set'](_0x1e8fad,_0x24fb01),this['_baseRootsAttributes']['set'](_0x1e8fad,_0x3266fb),_0x3e0f0e&&this['_touchedRoots']['set'](_0x1e8fad,_0x3e0f0e);const _0x2efdc1=this['_makeIdsRoot'](_0x24fb01);this['_baseIdsRoots']['set'](_0x1e8fad,_0x2efdc1);for(const [_0x11421b,_0x5ecfe6]of _0x24fb01['markers']){if(!_0x11421b['startsWith']('revision:'))continue;const _0x49edd7=_0x11421b['split'](':')[0x2];for(const _0x36a7be of _0x5ecfe6['getWalker']({'singleCharacters':!0x0})){const _0x4a2561=this['_getVidAttributeName'](_0x36a7be),_0x280d60='elementEnd'==_0x36a7be['type']?_0x36a7be['previousPosition']['path']['slice'](0x0,-0x1):_0x36a7be['previousPosition']['path'],_0x2c48d8=_0x2efdc1['getNodeByPath'](_0x280d60)['getAttribute'](_0x4a2561);this['_touched']['set'](_0x2c48d8,{'userId':_0x49edd7});}}}this['_startingRevisionId']=this['_revisionId'];const _0x1fa8d7=[...Array(this['_revisionId'])['keys']()]['slice'](0x1)['filter'](_0x33ee87=>!this['_touched']['has'](_0x33ee87));let _0xe96a53=0x0;const _0x319ae4=new Map();for(const _0x3caf52 in _0x4cc61e['diffData']){const _0x53e678=_0x4cc61e['diffData'][_0x3caf52]['attachChange'],_0x410d3e=_0x146537(_0x4cc61e['diffData'][_0x3caf52]['attributesAfter'])||{},_0x2d4128=this['_makeModelFromViewString'](_0x4cc61e['diffData'][_0x3caf52]['insertions']);_0x2d4128['rootName']=_0x3caf52,_0x2d4128['_isAttached']=!_0x53e678||_0x53e678['isAttached'],_0x2d4128['isAttached']=()=>_0x2d4128['_isAttached'],this['_diffRoots']['set'](_0x3caf52,_0x2d4128),this['_diffRootsAttributes']['set'](_0x3caf52,_0x410d3e);const _0x272314=this['_makeIdsRoot'](_0x2d4128,Number['NEGATIVE_INFINITY']);this['_idsRoots']['set'](_0x3caf52,_0x272314),_0x319ae4['set'](_0x3caf52,_0x2d4128['isAttached']()?_0x410d3e:{});for(const [_0x43a7c6,_0x4d2cfe]of _0x2d4128['markers']){if(!_0x43a7c6['startsWith']('revision:'))continue;const _0x34eccd=_0x43a7c6['split'](':')[0x2];for(const _0x37d1e3 of _0x4d2cfe['getWalker']({'singleCharacters':!0x0})){const _0xbadd2f=this['_getVidAttributeName'](_0x37d1e3),_0x30857f=this['_revisionId']++,_0x43ea00='elementEnd'==_0x37d1e3['type']?_0x37d1e3['previousPosition']['path']['slice'](0x0,-0x1):_0x37d1e3['previousPosition']['path'];_0x272314['getNodeByPath'](_0x43ea00)['_setAttribute'](_0xbadd2f,_0x30857f),this['_touched']['set'](_0x30857f,{'userId':_0x34eccd});}}for(const _0x35bc0e of this['editor']['model']['createRangeIn'](_0x2d4128)['getWalker']({'singleCharacters':!0x0})){const _0x443c42=this['_getVidAttributeName'](_0x35bc0e),_0x47775b='elementEnd'==_0x35bc0e['type']?_0x35bc0e['previousPosition']['path']['slice'](0x0,-0x1):_0x35bc0e['previousPosition']['path'],_0x40e8cb=_0x272314['getNodeByPath'](_0x47775b);_0x40e8cb['getAttribute'](_0x443c42)>0x0||_0x40e8cb['_setAttribute'](_0x443c42,_0x1fa8d7[_0xe96a53++]);}for(const [_0x1110ef,_0x37f1cf]of _0x2d4128['markers'])_0x1110ef['startsWith']('revision:')||this['_markers']['set'](_0x1110ef,_0x37f1cf);}const _0x50b27b=G('$graveyard');this['_baseRoots']['set']('$graveyard',_0x50b27b),this['_baseIdsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x50b27b,0x1));const _0x32db12=G('$graveyard');this['_diffRoots']['set']('$graveyard',_0x32db12),this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x32db12,0x1));const _0x33f990=Array['from'](this['_diffRoots'])['map'](([_0x436b7d,_0x5a6f18])=>[_0x436b7d,q(_0x5a6f18)]);this['_saveMetaData'](this['_lastTo'],_0x33f990,this['_markers'],_0x319ae4);}['_makeModelFromViewString'](_0x2a6673){const _0x39f8c1=JSON['parse'](_0x2a6673),_0x226665=this['editor']['editing']['view']['document'],_0x3f46f5=new _0x18edb1(_0x226665,_0x39f8c1['map'](_0x3c2588=>B(_0x3c2588,this['editor'])));return this['editor']['data']['toModel'](_0x3f46f5);}['_saveMetaData'](_0x41ffe4,_0x4433fc,_0x324f41,_0xef773c){const _0x22e34c=new Map(_0x4433fc),_0x55f394=new Map(_0x146537(_0xef773c)),_0x3f76b0=new Map();for(const [_0x3a2411,_0x2f2fb6]of _0x324f41)_0x3f76b0['set'](_0x3a2411,{'start':_0x2f2fb6['start']['clone'](),'end':_0x2f2fb6['end']['clone'](),'rootName':_0x2f2fb6['root']['rootName']});this['_savedMetaData']['set'](_0x41ffe4,{'roots':_0x22e34c,'markers':_0x3f76b0,'rootsAttributes':_0x55f394});}['_removeMetaData'](_0xcb7299){this['_savedMetaData']['delete'](_0xcb7299);}['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'](_0x2a1a1c,_0xde8a32=null){let _0x16bbca=null;_0x2a1a1c['is']('documentFragment')||(_0x16bbca=new ft(_0x2a1a1c['name'],{'vid_start':null===_0xde8a32?this['_revisionId']++:_0xde8a32++}));const _0x44fc6b=[];for(const _0xc92b56 of _0x2a1a1c['getChildren']())if(_0xc92b56['is']('element')){_0x44fc6b['push'](this['_makeIdsRoot'](_0xc92b56,_0xde8a32));const _0x452fbb=_0x44fc6b[_0x44fc6b['length']-0x1];null!==_0xde8a32&&(_0xde8a32=_0x452fbb['is']('element','$text')?_0x452fbb['getAttribute']('vid')+0x1:_0x452fbb['getAttribute']('vid_end')+0x1);}else{for(let _0x4e4de8=0x0;_0x4e4de8<_0xc92b56['offsetSize'];_0x4e4de8++)_0x44fc6b['push'](new ft('$text',{'vid':null===_0xde8a32?this['_revisionId']++:_0xde8a32++}));}if(_0x2a1a1c['is']('documentFragment')){const _0x1213ca=G(_0x2a1a1c['rootName']);return _0x1213ca['_insertChild'](0x0,_0x44fc6b),_0x1213ca;}return _0x16bbca['_setAttribute']('vid_end',null===_0xde8a32?this['_revisionId']++:_0xde8a32++),_0x16bbca['_insertChild'](0x0,_0x44fc6b),_0x16bbca;}['_calculateMetaData'](_0x2fe3dd,_0x1f9d04,_0x5cfbc0){this['_reset']();const {roots:_0xf5e54d,markers:_0x2fc5be,rootsAttributes:_0x411c21}=this['_savedMetaData']['get'](_0x2fe3dd);this['_baseRoots']=new Map(_0xf5e54d),this['_baseRootsAttributes']=new Map(_0x146537(_0x411c21));for(const [_0x433690,_0x4559c4]of this['_baseRoots'])if('$graveyard'!==_0x433690&&(this['_diffRoots']['set'](_0x433690,q(_0x4559c4)),this['_diffRootsAttributes']=new Map(_0x146537(_0x411c21)),_0x5cfbc0)){const _0x39a5fe=this['_revisionId'];this['_idsRoots']['set'](_0x433690,this['_makeIdsRoot'](_0x4559c4)),this['_baseIdsRoots']['set'](_0x433690,this['_makeIdsRoot'](_0x4559c4,_0x39a5fe));}this['_startingRevisionId']=this['_revisionId'],this['_diffRoots']['set']('$graveyard',q(this['_baseRoots']['get']('$graveyard'))),_0x5cfbc0&&this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](this['_baseRoots']['get']('$graveyard')));for(const [_0x46c7b3,_0x58f1e2]of _0x2fc5be){const _0x18c31a=this['_baseRoots']['get'](_0x58f1e2['rootName']),_0x573f26=this['_diffRoots']['get'](_0x58f1e2['rootName']),_0x55ba0c=new vt(this['_fixPosition'](_0x58f1e2['start'],_0x18c31a),this['_fixPosition'](_0x58f1e2['end'],_0x18c31a)),_0x322440=this['_fixRange'](_0x55ba0c,_0x573f26);_0x18c31a['markers']['set'](_0x46c7b3,_0x55ba0c),this['_markers']['set'](_0x46c7b3,_0x322440);}this['_applyOperations'](_0x2fe3dd,_0x1f9d04,_0x5cfbc0);}['_applyOperations'](_0x339145,_0x2cec96,_0xfc5b5a){for(const _0x3999d6 of this['source']['getOperations'](_0x339145,_0x2cec96))this['_handleOperation'](_0x3999d6,_0xfc5b5a);for(const _0x58a89e of this['_diffRoots']['values']())_0x58a89e['markers']['clear']();for(const [_0x368581,_0x56af07]of this['_markers']){this['_diffRoots']['get'](_0x56af07['root']['rootName'])['markers']['set'](_0x368581,_0x56af07['clone']());}const _0x507755=new Map(),_0xe2387b=new Map();for(const [_0x4f89cb,_0x2db402]of this['_diffRoots'])_0x507755['set'](_0x4f89cb,q(_0x2db402)),_0xe2387b['set'](_0x4f89cb,this['_diffRootsAttributes']['get'](_0x4f89cb));this['_saveMetaData'](_0x2cec96,_0x507755,this['_markers'],_0xe2387b);}['_getPreviousFrom'](_0x2ab4bc){const _0x1bf878=Array['from'](this['_savedMetaData']['keys']());_0x1bf878['sort']((_0x5daa68,_0x5b7987)=>_0x5daa68-_0x5b7987),_0x1bf878['reverse']();for(const _0x20a1b5 of _0x1bf878)if(_0x20a1b5<_0x2ab4bc)return _0x20a1b5;return Number['NEGATIVE_INFINITY'];}['_copyMarkers'](_0x2ac338,_0x5bd475){const _0x52f808=Array['from'](_0x5bd475['markers'])['map'](([_0x4db49f,_0x155bef])=>[_0x4db49f,this['_fixRange'](_0x155bef,_0x2ac338)]);_0x2ac338['markers']=new Map(_0x52f808);}['_transformMarkers'](_0x5d7b74){for(const _0x421b31 of this['_markers']['values']()){const _0x20c2c0=_0x421b31['getTransformedByOperation'](_0x5d7b74),_0x3c3445=vt['_createFromRanges'](_0x20c2c0);_0x421b31['start']=_0x3c3445['start'],_0x421b31['end']=_0x3c3445['end'];}}['_handleOperation'](_0x4bd210,_0x3dc475){if('addRoot'==_0x4bd210['type']||'detachRoot'==_0x4bd210['type'])return void this['_handleRootOperation'](_0x4bd210,_0x3dc475);if('insert'==_0x4bd210['type']){const _0x4a4a23=_0x4bd210['position']['root']['rootName'];this['_diffRoots']['has'](_0x4a4a23)||(this['_diffRoots']['set'](_0x4a4a23,G(_0x4a4a23,!0x0)),this['_diffRootsAttributes']['set'](_0x4a4a23,{}),_0x3dc475&&this['_idsRoots']['set'](_0x4a4a23,G(_0x4a4a23,!0x0)));}else{if('addRootAttribute'==_0x4bd210['type']||'removeRootAttribute'==_0x4bd210['type']||'changeRootAttribute'==_0x4bd210['type'])return void this['_handleRootAttributeOperation'](_0x4bd210);}const _0x13922d=this['_cloneOperation'](_0x4bd210,this['_diffRoots']);if('marker'!==_0x4bd210['type']&&(_0x13922d['_execute'](),this['_transformMarkers'](_0x13922d)),_0x3dc475)switch(_0x13922d['type']){case'insert':this['_handleInsertOperation'](_0x4bd210);break;case'move':case'remove':case'reinsert':this['_handleMoveOperation'](_0x4bd210);break;case'merge':this['_handleMergeOperation'](_0x4bd210);break;case'split':this['_handleSplitOperation'](_0x4bd210);break;case'marker':this['_handleMarkerOperation'](_0x4bd210);}}['_cloneOperation'](_0x2de812,_0x42182c){const _0x308bf8=_0x2de812['clone']();return _0x308bf8['_authorId']=_0x2de812['_authorId'],this['_fixOperation'](_0x308bf8,_0x42182c),_0x308bf8;}['_getBaseVids'](_0x2469e6){return _0x2469e6['map'](_0x4a51dc=>{const _0x9524d5=this['_getVidAttributeName'](_0x4a51dc);return Number(_0x4a51dc['item']['getAttribute'](_0x9524d5));});}['_generateTape'](_0x3af6c9,_0x5e533e){if(_0x3af6c9['is']('element','$text'))_0x5e533e['push']({'item':_0x3af6c9,'type':'text'});else{_0x3af6c9['is']('element')&&_0x5e533e['push']({'item':_0x3af6c9,'type':'elementStart'});for(const _0x4b615f of _0x3af6c9['getChildren']())this['_generateTape'](_0x4b615f,_0x5e533e);_0x3af6c9['is']('element')&&_0x5e533e['push']({'item':_0x3af6c9,'type':'elementEnd'});}return _0x5e533e;}['_getState'](){const _0x210238=new Map(this['_touched']),_0x5286a8=new Map(_0x210238),_0x1a29a1=new Map(),_0x91e62d={'insertions':{},'deletions':{}},_0x56a6c4={'insertions':{},'deletions':{}},_0x4010b3=new Map(),_0x5c0249=new Set([...this['_baseRoots']['keys'](),...this['_diffRoots']['keys']()]);_0x5c0249['delete']('$graveyard');for(const _0x19e693 of _0x5c0249){const _0x543a20=this['_diffRoots']['get'](_0x19e693)||G(_0x19e693,!0x1),_0x491000=this['_baseRoots']['get'](_0x19e693)||G(_0x19e693,!0x1);_0x543a20['isAttached']()||_0x491000['isAttached']()?(_0x91e62d['insertions'][_0x19e693]=q(_0x543a20),_0x91e62d['deletions'][_0x19e693]=q(_0x491000),this['_copyMarkers'](_0x91e62d['deletions'][_0x19e693],_0x491000),this['_copyMarkers'](_0x91e62d['insertions'][_0x19e693],_0x543a20),_0x56a6c4['insertions'][_0x19e693]=this['_generateTape'](this['_idsRoots']['get'](_0x19e693),[]),_0x56a6c4['deletions'][_0x19e693]=this['_generateTape'](this['_baseIdsRoots']['get'](_0x19e693)||G(_0x19e693,!0x1),[])):_0x5c0249['delete'](_0x19e693);}for(const _0x459b32 of _0x5c0249){const _0x1b6542=_0x56a6c4['insertions'][_0x459b32];for(const _0x71c938 of _0x1b6542){const _0x111f77=this['_getVidAttributeName'](_0x71c938),_0x3e06b0=_0x71c938['item']['getAttribute'](_0x111f77);_0x5286a8['delete'](_0x3e06b0),_0x3e06b0>=this['_startingRevisionId']&&_0x1a29a1['set'](_0x3e06b0,_0x210238['get'](_0x3e06b0));}}for(const _0x280144 of _0x5c0249){const _0x2f550b=_0x56a6c4['insertions'][_0x280144],_0x50c770=this['_getBaseVids'](_0x56a6c4['deletions'][_0x280144]);let _0x241739=0x0;for(const _0x46b59e of _0x2f550b){const _0x25ff33=this['_getVidAttributeName'](_0x46b59e),_0x5d93a6=_0x46b59e['item']['getAttribute'](_0x25ff33);if(!_0x1a29a1['has'](_0x5d93a6)&&!_0x4010b3['has'](_0x5d93a6)){if(_0x5286a8['has'](_0x5d93a6))_0x241739++;else{if(_0x5d93a6!=_0x50c770[_0x241739]){const _0x2bee80=_0x210238['get'](_0x5d93a6)||_0x210238['get'](_0x50c770[_0x241739]);for(;_0x5d93a6!=_0x50c770[_0x241739];)_0x5286a8['has'](_0x50c770[_0x241739])||(_0x4010b3['set'](_0x50c770[_0x241739],_0x2bee80),_0x210238['set'](_0x50c770[_0x241739],_0x2bee80)),_0x241739++;}_0x241739++;}}}}for(const _0x233606 of _0x5c0249){const _0x1af4f9=_0x56a6c4['insertions'][_0x233606];for(const _0x65195b of _0x1af4f9){const _0x26ea3e=this['_getVidAttributeName'](_0x65195b),_0x519ad3=_0x65195b['item']['getAttribute'](_0x26ea3e);if(_0x4010b3['has'](_0x519ad3)){const _0x2c746b=_0x4010b3['get'](_0x519ad3);_0x5286a8['has'](_0x519ad3)||_0x5286a8['set'](_0x519ad3,{..._0x2c746b}),_0x1a29a1['set'](_0x519ad3,{..._0x2c746b});}}}for(const _0x501427 of _0x5286a8['keys']())_0x501427>=this['_startingRevisionId']&&_0x5286a8['delete'](_0x501427);const _0x4cb222=new Map();for(const _0x4685c0 of _0x5c0249){let _0x56a446=_0x56a6c4['insertions'][_0x4685c0];for(const _0xe76933 of _0x56a446)if(_0xe76933['item']['is']('element','tableCell')){const _0x5b4ce0=this['_getVidAttributeName'](_0xe76933),_0x41e88e=_0xe76933['item']['getAttribute'](_0x5b4ce0);if(_0x1a29a1['has'](_0x41e88e)){const _0x5257c8=_0xe76933['item']['parent']['parent']['getAttribute']('vid_start'),_0xfc6d=_0x4cb222['get'](_0x5257c8)||new Set();_0xfc6d['add'](_0x1a29a1['get'](_0x41e88e)['userId']),_0x4cb222['set'](_0x5257c8,_0xfc6d);}}_0x56a446=_0x56a6c4['deletions'][_0x4685c0];for(const _0x28b328 of _0x56a446)if(_0x28b328['item']['is']('element','tableCell')){const _0x3bfebf=this['_getVidAttributeName'](_0x28b328),_0x22b166=_0x28b328['item']['getAttribute'](_0x3bfebf);if(_0x5286a8['has'](_0x22b166)){const _0x4ef3dc=_0x28b328['item']['parent']['parent']['getAttribute']('vid_start'),_0x1ad15b=_0x4cb222['get'](_0x4ef3dc)||new Set();_0x1ad15b['add'](_0x5286a8['get'](_0x22b166)['userId']),_0x4cb222['set'](_0x4ef3dc,_0x1ad15b);}}for(const _0x23ddd5 of _0x4cb222['keys']())(_0x1a29a1['has'](_0x23ddd5)||_0x5286a8['has'](_0x23ddd5))&&_0x4cb222['delete'](_0x23ddd5);}for(const _0x59defa of _0x5c0249){const _0x390c0a=_0x56a6c4['insertions'][_0x59defa];let _0xe85ee9=null,_0x1c51cb=null;for(const _0x12b5a9 of _0x390c0a){const _0x396a3f=this['_getVidAttributeName'](_0x12b5a9),_0xdd0578=_0x12b5a9['item']['getAttribute'](_0x396a3f),_0x77c136=_0x4cb222['get'](_0xdd0578);_0x77c136&&'elementStart'==_0x12b5a9['type']&&(_0xe85ee9=Array['from'](_0x77c136)[0x0],_0x1c51cb=_0x12b5a9['item']['getAttribute']('vid_end')),_0xe85ee9&&(_0x5286a8['set'](_0xdd0578,{'userId':_0xe85ee9}),_0x1a29a1['set'](_0xdd0578,{'userId':_0xe85ee9})),_0xdd0578==_0x1c51cb&&(_0xe85ee9=null,_0x1c51cb=null);}}const _0x21f937={},_0x36498d=new Set();for(const _0x2334ac of _0x5c0249){const _0x2fd3eb=_0x91e62d['deletions'][_0x2334ac],_0x218f66=_0x91e62d['insertions'][_0x2334ac];for(const {userId:_0x5bfc65}of this['_touchedMarkers']['values']())null!==_0x5bfc65&&_0x36498d['add'](_0x5bfc65);for(const {userId:_0x545a75}of this['_touchedRoots']['values']())null!==_0x545a75&&_0x36498d['add'](_0x545a75);this['_markChanges'](_0x218f66,_0x56a6c4['insertions'][_0x2334ac],_0x1a29a1,'insertion',_0x36498d),this['_markChanges'](_0x2fd3eb,_0x56a6c4['deletions'][_0x2334ac],_0x5286a8,'deletion',_0x36498d),_0x21f937[_0x2334ac]={'insertions':this['_prepareViewToSave'](_0x218f66),'deletions':this['_prepareViewToSave'](_0x2fd3eb),'attachChange':this['_touchedRoots']['get'](_0x2334ac)||null,'attributesBefore':_0x146537(this['_baseRootsAttributes']['get'](_0x2334ac))||{},'attributesAfter':_0x146537(this['_diffRootsAttributes']['get'](_0x2334ac))};}return{'diffData':_0x21f937,'authorsIds':Array['from'](_0x36498d)};}['_processRootBeforeSave'](_0x2d8771){for(const [,_0x286fe4]of _0x2d8771['markers']){const _0x1e1312=_0x286fe4['start']['getAncestors']()['filter'](_0x18c44f=>'tableCell'==_0x18c44f['name']);for(const _0x301eaa of _0x1e1312)0x1==_0x301eaa['childCount']&&_0x301eaa['getChild'](0x0)['is']('element','paragraph')&&_0x301eaa['getChild'](0x0)['_setAttribute']('keepParagraph',!0x0);}}['_prepareViewToSave'](_0x576664){this['_processRootBeforeSave'](_0x576664);const _0xa924ac=this['editor']['data']['toView'](_0x576664,{}),_0x3fb116=Array['from'](_0xa924ac['getChildren']())['map'](_0x503d47=>this['_getViewJson'](_0x503d47));return JSON['stringify'](_0x3fb116);}['_getViewJson'](_0x4e2172){if(_0x4e2172['is']('$text'))return _0x4e2172['data'];{const _0x4a2374=_0x4e2172;return{'type':Object['keys'](T)['find'](_0x2ff77d=>_0x4e2172 instanceof T[_0x2ff77d]),'name':_0x4a2374['name'],'attributes':Array['from'](_0x4a2374['getAttributes']()),'children':Array['from'](_0x4a2374['getChildren']())['map'](_0xb96f43=>this['_getViewJson'](_0xb96f43))};}}['_markChanges'](_0xd3dada,_0x2743f6,_0x2ec353,_0x58c8f4,_0x3396ec){let _0x2ae951=null,_0x434334=null,_0xb9cd4d=0x0;const _0x595c80=this['editor']['model'];for(let _0xd17747=0x0;_0xd17747<_0x2743f6['length'];_0xd17747++){const _0x439f35=this['_getVidAttributeName'](_0x2743f6[_0xd17747]),_0x15786f=_0x2743f6[_0xd17747]['item']['getAttribute'](_0x439f35),_0x3e427b=_0x2ec353['get'](_0x15786f),_0x284225=_0xd17747==_0x2743f6['length']-0x1;(!_0x2ae951&&_0x3e427b&&(_0x2ae951=_0x3e427b,_0x434334=_0x2743f6[_0xd17747]),_0x2ae951&&(!_0x3e427b||_0x3e427b['userId']!=_0x2ae951['userId']))&&(_0x4bba34(_0x3e427b,L(_0x434334,_0xd3dada,_0x595c80),L(_0x2743f6[_0xd17747],_0xd3dada,_0x595c80)),_0x2ae951=_0x3e427b||null,_0x434334=_0x3e427b?_0x2743f6[_0xd17747]:null),_0x2ae951&&_0x284225&&_0x4bba34(_0x3e427b,L(_0x434334,_0xd3dada,_0x595c80),W(_0x2743f6[_0xd17747],_0xd3dada,_0x595c80));}function _0x4bba34(_0x5f32c5,_0x2653f4,_0x3ef4f1){const _0x51e87e=_0x2ae951['userId'],_0x4e7fca='revision:'+_0x58c8f4+':'+_0x51e87e+':'+_0xb9cd4d++,_0x332f86=_0x595c80['createRange'](_0x2653f4,_0x3ef4f1);_0xd3dada['markers']['set'](_0x4e7fca,_0x332f86),null!==_0x51e87e&&_0x3396ec['add'](_0x51e87e);}}['_getVidAttributeName'](_0x57452a){switch(_0x57452a['type']){case'elementStart':return'vid_start';case'elementEnd':return'vid_end';default:return'vid';}}['_fixOperation'](_0x59d36d,_0x2b6933){_0x59d36d['baseVersion']=null;for(const _0xbaccb1 in _0x59d36d){const _0x1421df=_0x59d36d[_0xbaccb1];if(_0x1421df instanceof gt){const _0x368cac=_0x2b6933['get'](_0x1421df['root']['rootName']);_0x59d36d[_0xbaccb1]=this['_fixPosition'](_0x1421df,_0x368cac);}if(_0x1421df instanceof vt){const _0x444a53=_0x2b6933['get'](_0x1421df['root']['rootName']);_0x59d36d[_0xbaccb1]=this['_fixRange'](_0x1421df,_0x444a53);}'root'===_0xbaccb1&&(_0x59d36d['root']=_0x2b6933['get'](_0x59d36d['root']['rootName']));}}['_fixRange'](_0x1417b3,_0x2f78ee){return this['editor']['model']['createRange'](this['_fixPosition'](_0x1417b3['start'],_0x2f78ee),this['_fixPosition'](_0x1417b3['end'],_0x2f78ee));}['_fixPosition'](_0x1e6411,_0x171726){return this['editor']['model']['createPositionFromPath'](_0x171726,_0x1e6411['path'],_0x1e6411['stickiness']);}['_handleInsertOperation'](_0x46fb3e){const _0x2f9a2e=this['_idsRoots']['get'](_0x46fb3e['position']['root']['rootName']),_0x404951=this['_fixPosition'](_0x46fb3e['position'],_0x2f9a2e),_0x590356=null===_0x46fb3e['_authorId']?null:_0x46fb3e['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x438a18=_0x404951['parent'],_0xedb586=this['_revisionId'],_0x417916=[];for(const _0x5b8781 of _0x46fb3e['nodes'])if(_0x5b8781['is']('element'))_0x417916['push'](this['_makeIdsRoot'](_0x5b8781));else{for(let _0x39be7f=0x0;_0x39be7f<_0x5b8781['offsetSize'];_0x39be7f++)_0x417916['push'](new ft('$text',{'vid':this['_revisionId']++}));}const _0x1082b2=this['_revisionId'];for(let _0x51aa01=_0xedb586;_0x51aa01<_0x1082b2;_0x51aa01++)this['_touched']['set'](_0x51aa01,{'userId':_0x590356});_0x438a18['_insertChild'](_0x404951['offset'],_0x417916);}['_handleMoveOperation'](_0x515de4){(_0x515de4=this['_cloneOperation'](_0x515de4,this['_idsRoots']))['_execute']();const _0x44df2c=null===_0x515de4['_authorId']?null:_0x515de4['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x17f955=_0x515de4['getMovedRangeStart'](),_0xf5d27e=_0x17f955['parent'],_0x406c9c=_0x17f955['offset'];!function _0x23a90c(_0x4d217b,_0x51490e,_0x1f5eaf,_0x364e74){for(let _0x470eab=_0x1f5eaf;_0x470eab<_0x364e74;_0x470eab++){const _0x234a30=_0x51490e['getChild'](_0x470eab);_0x234a30['is']('element','$text')?_0x4d217b['set'](_0x234a30['getAttribute']('vid'),{'userId':_0x44df2c}):(_0x4d217b['set'](_0x234a30['getAttribute']('vid_start'),{'userId':_0x44df2c}),_0x23a90c(_0x4d217b,_0x234a30,0x0,_0x234a30['childCount']),_0x4d217b['set'](_0x234a30['getAttribute']('vid_end'),{'userId':_0x44df2c}));}}(this['_touched'],_0xf5d27e,_0x406c9c,_0x406c9c+_0x515de4['howMany']);}['_handleMergeOperation'](_0x403ddd){const _0x29a018=null===(_0x403ddd=this['_cloneOperation'](_0x403ddd,this['_idsRoots']))['_authorId']?null:_0x403ddd['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x125486=_0x403ddd['targetPosition']['parent'],_0x5e3d4f=_0x403ddd['sourcePosition']['parent'],_0x3242aa=_0x125486['getAttribute']('vid_end'),_0x1316f4=_0x5e3d4f['getAttribute']('vid_start');_0x125486['_setAttribute']('vid_end',_0x5e3d4f['getAttribute']('vid_end')),_0x5e3d4f['_setAttribute']('vid_end',_0x3242aa),this['_touched']['set'](_0x1316f4,{'userId':_0x29a018}),this['_touched']['set'](_0x3242aa,{'userId':_0x29a018}),_0x403ddd['_execute']();}['_handleSplitOperation'](_0x45748f){const _0x58b5b6=null===(_0x45748f=this['_cloneOperation'](_0x45748f,this['_idsRoots']))['_authorId']?null:_0x45748f['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x4863da=_0x45748f['graveyardPosition'],_0x22ce00=_0x45748f['splitPosition']['parent'];_0x45748f['_execute']();const _0x446db5=_0x22ce00['getAttribute']('vid_end'),_0x3f7178=_0x45748f['insertionPosition']['nodeAfter'];if(_0x4863da){const _0x4b853a=_0x3f7178['getAttribute']('vid_end'),_0x1502c0=_0x22ce00['getAttribute']('vid_end');_0x22ce00['_setAttribute']('vid_end',_0x4b853a),_0x3f7178['_setAttribute']('vid_end',_0x1502c0),this['_touched']['set'](_0x22ce00['getAttribute']('vid_end'),{'userId':_0x58b5b6}),this['_touched']['set'](_0x3f7178['getAttribute']('vid_start'),{'userId':_0x58b5b6});}else{const _0x246653=this['_revisionId']++,_0x4d371e=this['_revisionId']++;_0x22ce00['_setAttribute']('vid_end',_0x246653),_0x3f7178['_setAttribute']('vid_start',_0x4d371e),_0x3f7178['_setAttribute']('vid_end',_0x446db5),this['_touched']['set'](_0x246653,{'userId':_0x58b5b6}),this['_touched']['set'](_0x4d371e,{'userId':_0x58b5b6});}}['_handleMarkerOperation'](_0x45b836){if(!_0x45b836['affectsData'])return;const _0x5f5238=(_0x45b836=this['_cloneOperation'](_0x45b836,this['_diffRoots']))['oldRange']?_0x45b836['oldRange']['root']:null,_0x18cad8=_0x45b836['newRange']?_0x45b836['newRange']['root']:null;_0x5f5238&&this['_markers']['delete'](_0x45b836['name']),_0x18cad8&&this['_markers']['set'](_0x45b836['name'],_0x45b836['newRange']['clone']());const _0x12f590=null===_0x45b836['_authorId']?null:_0x45b836['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x62aeab=_0x45b836['name'];if(!this['_touchedMarkers']['has'](_0x62aeab))return void this['_touchedMarkers']['set'](_0x62aeab,{'range':_0x45b836['oldRange'],'userId':_0x12f590});const _0x26adaf=this['_touchedMarkers']['get'](_0x62aeab),_0x3ba1ad=_0x26adaf['range'],_0x4b484d=_0x45b836['newRange'];null==_0x3ba1ad&&null==_0x4b484d||_0x3ba1ad&&_0x4b484d&&_0x3ba1ad['isEqual'](_0x4b484d)?this['_touchedMarkers']['delete'](_0x45b836['name']):_0x26adaf['userId']=_0x12f590;}['_handleRootOperation'](_0x1ea82c,_0x2caca3){this['_diffRoots']['has'](_0x1ea82c['rootName'])?this['_diffRoots']['get'](_0x1ea82c['rootName'])['_isAttached']=_0x1ea82c['isAdd']:(this['_diffRoots']['set'](_0x1ea82c['rootName'],G(_0x1ea82c['rootName'],!0x0)),this['_diffRootsAttributes']['set'](_0x1ea82c['rootName'],{}),_0x2caca3&&this['_idsRoots']['set'](_0x1ea82c['rootName'],G(_0x1ea82c['rootName'],!0x0)));const _0x348e4f=null===_0x1ea82c['_authorId']?null:_0x1ea82c['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x4918f1=this['_touchedRoots']['get'](_0x1ea82c['rootName']);_0x4918f1&&_0x4918f1['userId']===_0x348e4f?this['_touchedRoots']['delete'](_0x1ea82c['rootName']):this['_touchedRoots']['set'](_0x1ea82c['rootName'],{'userId':_0x348e4f,'isAttached':_0x1ea82c['isAdd']});}['_handleRootAttributeOperation'](_0x2c3ffd){const _0x1a9071=this['_diffRootsAttributes']['get'](_0x2c3ffd['root']['rootName']);null===_0x2c3ffd['newValue']?delete _0x1a9071[_0x2c3ffd['key']]:_0x1a9071[_0x2c3ffd['key']]=_0x2c3ffd['newValue'];}}function q(_0x529d82){const _0x8f8de6=G(_0x529d82['rootName'],_0x529d82['isAttached']());for(const _0xef34cd of _0x529d82['getChildren']()){const _0x1035a5=_0xef34cd['_clone'](!0x0);_0x8f8de6['_appendChild'](_0x1035a5);}return _0x8f8de6;}function G(_0x1affb8,_0x144a2a=!0x0){const _0x4fcdf7=new wt();return _0x4fcdf7['rootName']=_0x1affb8,_0x4fcdf7['_isAttached']=_0x144a2a,_0x4fcdf7['isAttached']=()=>_0x4fcdf7['_isAttached'],_0x4fcdf7;}function L(_0x100a66,_0x586c21,_0x507741){const _0x2b5c0e='elementEnd'==_0x100a66['type']?_0x507741['createPositionAt'](_0x100a66['item'],'end'):_0x507741['createPositionBefore'](_0x100a66['item']);return _0x507741['createPositionFromPath'](_0x586c21,_0x2b5c0e['path'],_0x2b5c0e['stickiness']);}function W(_0x5a2152,_0x3c7d5d,_0x404031){const _0x4091e1='elementStart'==_0x5a2152['type']?_0x404031['createPositionAt'](_0x5a2152['item'],0x0):_0x404031['createPositionAfter'](_0x5a2152['item']);return _0x404031['createPositionFromPath'](_0x3c7d5d,_0x4091e1['path'],_0x4091e1['stickiness']);}class ns extends _0x47aea3{['focusTracker'];['keystrokes'];['revisionNameInputView'];constructor(_0x69a934,_0x3cc14d){super(_0x69a934),this['focusTracker']=new _0x59f083(),this['keystrokes']=new _0x60b7e1(),this['set']('revisionNameInputValue',''),this['revisionNameInputView']=this['_createRevisionNameInput'](_0x3cc14d),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'](),_0xfe357f({'view':this}),this['focusTracker']['add'](this['revisionNameInputView']['element']),this['keystrokes']['listenTo'](this['element']);const _0xa5ec21=_0x28986e=>_0x28986e['stopPropagation']();this['keystrokes']['set']('arrowright',_0xa5ec21),this['keystrokes']['set']('arrowleft',_0xa5ec21),this['keystrokes']['set']('arrowup',_0xa5ec21),this['keystrokes']['set']('arrowdown',_0xa5ec21);}['focus'](){this['revisionNameInputView']['focus']();}get['revisionName'](){return this['revisionNameInputView']['fieldView']['element']['value']['trim']();}set['revisionName'](_0x100620){this['revisionNameInputView']['fieldView']['element']['value']=_0x100620['trim']();}['reset'](){this['revisionNameInputView']['fieldView']['element']['value']='',this['revisionNameInputView']['errorText']=null;}['_createRevisionNameInput'](_0x52c35f){const _0x1bf4c5=new at(this['locale'],_0x52b2b4),_0x165ace=_0x1bf4c5['fieldView'];_0x165ace['extendTemplate']({'attributes':{'maxlength':'220'}});let _0x21a5ec=y(this['locale'],'Name\x20of\x20the\x20revision');return!_0x52c35f&&(_0x21a5ec+='\x20('+y(this['locale'],'optional')+')'),(_0x1bf4c5['label']=_0x21a5ec,_0x165ace['on']('input',()=>{this['revisionNameInputValue']=_0x165ace['element']['value']['trim']();}),_0x1bf4c5);}}class u extends _0x508c8f{static get['pluginName'](){return'RevisionHistoryUI';}static get['requires'](){return[l];}['_saveRevisionFormView'];['init'](){const _0x25a6b2=this['editor'],_0x39faef=_0x25a6b2['plugins']['get']('RevisionTracker');_0x25a6b2['ui']['componentFactory']['add']('revisionHistory',_0x965f51=>{const _0x13a434=_0x1c4f3f(_0x965f51),_0x3835ed=_0x13a434['panelView']['children'],_0x252c4e=new te(_0x965f51),_0x242bf8=new _0x1848a7(_0x965f51),_0x706ee2=new _0x29ed67(_0x965f51),_0x56f88a=new _0x1848a7(_0x965f51),_0x51118d=new _0x29ed67(_0x965f51);return _0x13a434['bind']('isEnabled')['to'](_0x39faef,'isReady',_0x39faef,'isEnabled',_0x25a6b2,'isReadOnly',(_0x412c0c,_0x142fd1,_0x4d9efa)=>_0x412c0c&&_0x142fd1&&!_0x4d9efa),_0x13a434['buttonView']['set']({'icon':_0x21c271['history'],'label':y(_0x965f51,'Revision\x20history'),'tooltip':!0x0}),_0x706ee2['set']({'label':y(_0x965f51,'Save\x20current\x20revision'),'withText':!0x0,'role':'menuitem'}),_0x706ee2['bind']('isEnabled')['to'](_0x39faef,'isReady',_0x39faef,'isEnabled',_0x25a6b2,'isReadOnly',(_0x1477bb,_0xacb1f9,_0x2b961d)=>_0x1477bb&&_0xacb1f9&&!_0x2b961d),_0x706ee2['on']('execute',()=>this['_showDialog']()),_0x51118d['set']({'label':y(_0x965f51,'Open\x20revision\x20history'),'withText':!0x0,'role':'menuitem'}),_0x51118d['bind']('isEnabled')['to'](_0x39faef,'isReady',_0x25a6b2,'isReadOnly',(_0x1fcbaa,_0x76cf33)=>_0x1fcbaa&&!_0x76cf33),_0x51118d['on']('execute',()=>{_0x25a6b2['config']['get']('revisionHistory')['showRevisionViewerCallback'](),_0x13a434['isOpen']=!0x1,_0x25a6b2['editing']['view']['focus']();}),_0x242bf8['children']['add'](_0x706ee2),_0x56f88a['children']['add'](_0x51118d),_0x252c4e['role']='menu',_0x252c4e['items']['addMany']([_0x242bf8,_0x56f88a]),_0x3835ed['add'](_0x252c4e),_0x13a434;}),_0x25a6b2['ui']['componentFactory']['add']('menuBar:revisionHistory',()=>this['_registerMenuComponent']());}['_registerMenuComponent'](){const _0x3fa5bc=this['editor'],_0x473ff6=_0x3fa5bc['locale'],_0x5e99d2=new _0x46aa4d(_0x473ff6),_0x13f56e=new _0x15ae58(_0x473ff6);_0x5e99d2['buttonView']['set']({'icon':_0x21c271['history'],'label':y(_0x473ff6,'Revision\x20history')});const _0x12f415=new _0x402552(_0x473ff6,_0x5e99d2),_0x322340=new _0x344f82(_0x473ff6);_0x322340['set']({'label':y(_0x473ff6,'Save\x20current\x20revision')}),_0x322340['delegate']('execute')['to'](_0x5e99d2),_0x322340['on']('execute',()=>{this['_showDialog']();}),_0x12f415['children']['add'](_0x322340),_0x13f56e['items']['add'](_0x12f415);const _0x4c19bc=new _0x402552(_0x473ff6,_0x5e99d2),_0x3dba34=new _0x344f82(_0x473ff6);return _0x3dba34['set']({'label':y(_0x473ff6,'Open\x20revision\x20history')}),_0x3dba34['delegate']('execute')['to'](_0x5e99d2),_0x3dba34['on']('execute',()=>{_0x3fa5bc['config']['get']('revisionHistory')['showRevisionViewerCallback']();}),_0x4c19bc['children']['add'](_0x3dba34),_0x13f56e['items']['add'](_0x4c19bc),_0x5e99d2['panelView']['children']['add'](_0x13f56e),_0x5e99d2;}['_showDialog'](){const _0x25579e=this['editor'],_0x1496ed=_0x25579e['locale'],_0x11ddd5=_0x25579e['plugins']['get']('Dialog'),_0x307dbb=_0x25579e['plugins']['get']('RevisionTracker');function _0x6c45f3(_0x4dc136){_0x25579e['config']['get']('revisionHistory.requireRevisionName')&&''===_0x4dc136['revisionName']?_0x4dc136['revisionNameInputView']['errorText']=y(_0x1496ed,'The\x20revision\x20name\x20cannot\x20be\x20empty.'):(_0x25579e['plugins']['get'](l)['saveRevision']({'name':_0x4dc136['revisionName']}),_0x11ddd5['hide']());}this['_saveRevisionFormView']||(this['_createSaveRevisionFormView'](),this['_saveRevisionFormView']['on']('submit',()=>_0x6c45f3(this['_saveRevisionFormView']))),this['_saveRevisionFormView']['reset'](),_0x11ddd5['show']({'id':'revisionSave','title':y(_0x1496ed,'Save\x20current\x20revision'),'isModal':!0x0,'content':this['_saveRevisionFormView'],'actionButtons':[{'label':y(_0x25579e['locale'],'Cancel'),'withText':!0x0,'onExecute':()=>_0x11ddd5['hide']()},{'label':y(_0x25579e['locale'],'Accept'),'class':'ck-button-action','withText':!0x0,'onCreate'(_0x11a0ec){_0x11a0ec['bind']('isEnabled')['to'](_0x307dbb,'isReady',_0x307dbb,'isEnabled',_0x25579e,'isReadOnly',(_0x25e464,_0x1239e4,_0x28d5a2)=>_0x25e464&&_0x1239e4&&!_0x28d5a2);},'onExecute':()=>_0x6c45f3(this['_saveRevisionFormView'])}]});}['_createSaveRevisionFormView'](){const _0x54a53=this['editor'],_0x48f28e=_0x54a53['locale'];this['_saveRevisionFormView']=new ns(_0x48f28e,_0x54a53['config']['get']('revisionHistory.requireRevisionName')),this['_saveRevisionFormView']['render']();}}class Z extends _0x47aea3{['changeId'];['_model'];constructor(_0x3f4e95,_0x87e77b){super(_0x3f4e95),this['_model']=_0x87e77b,this['changeId']=_0x87e77b['id'];const _0x583a03=this['bindTemplate'],_0x1130ba=y(_0x3f4e95,_0x87e77b['data']['isSuggestion']?'Suggested\x20by':'add'==_0x87e77b['type']?'Added\x20by':'Removed\x20by');this['set']('type',_0x87e77b['type']),this['setTemplate']({'tag':'div','attributes':{'class':['ck-annotation','ck-revision-change',_0x583a03['to']('type',_0x454be5=>'ck-revision-change__'+_0x454be5)],'tabindex':-0x1},'children':[{'tag':'span','children':[{'tag':'span','attributes':{'class':['ck-revision-change__label']},'children':[{'text':_0x1130ba}]},{'text':'\x20'+_0x87e77b['author']['name']}]}]});}['focus'](){this['element']['focus']();}}class r extends/* #__PURE__ -- @preserve */
25
- _0x169ba8(){['id'];['author'];['type'];['data'];['rootName'];constructor(_0x163e0a){super(),this['id']=_0x163e0a['id']||_0xe98175(),this['author']=_0x163e0a['author'],this['type']=_0x163e0a['type'],this['data']=_0x163e0a['data']||{},this['rootName']=_0x163e0a['rootName'],this['set']('createdAt',_0x163e0a['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(_0x2a500c,_0x5545c3){this['newRevisionId']=_0x2a500c,this['oldRevisionId']=_0x5545c3,this['changes']=new _0x3f7d5c();}['_setChanges'](_0x3d08c8){for(const _0x29d3ed of _0x3d08c8)this['changes']['add'](_0x29d3ed);}}const tt={'c':_0xe2caaa,'a':_0x4ec476,'e':_0x390d7b,'r':_0x4e998e,'u':_0x444885};class d extends _0x508c8f{['repository'];['adapter'];['_activeViewTarget'];['_changeView'];['_changeIdToChange'];['_balloon'];static get['pluginName'](){return'RevisionViewer';}static get['requires'](){return[_0x5265ea,_0x325603,A];}constructor(_0x18766c){super(_0x18766c),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',(_0x29b84b,_0x3d5a3a,_0x32c6bf)=>{this['activeChange']=null,this['activeView']=null,this['editor']['editing']['view']['change'](_0x2bf81d=>{for(const _0x16b248 of this['editor']['editing']['view']['document']['roots'])_0x32c6bf?_0x2bf81d['removeClass']('ck-editor__editable__overlay',_0x16b248):_0x2bf81d['addClass']('ck-editor__editable__overlay',_0x16b248);});}),this['bind']('isNavigationMode')['to'](this,'activeChange',_0x1afb56=>null!==_0x1afb56),this['bind']('currentChangeNumber')['to'](this,'isReady',this,'diff',this,'activeChange',(_0x1273e4,_0x5973ba,_0x39a64f)=>_0x1273e4&&_0x39a64f?_0x5973ba['changes']['getIndex'](_0x39a64f):0x0),this['bind']('numberOfChanges')['to'](this,'isReady',this,'diff',(_0x1d1ca8,_0x456af5)=>_0x1d1ca8?_0x456af5['changes']['length']:0x0),this['_changeView']=null,this['_changeIdToChange']=new Map(),this['adapter']=null,this['_balloon']=this['editor']['plugins']['get'](_0x325603);}['init'](){const _0x2b6955=this['editor'],_0x27209c=new yt(_0x2b6955,{'direction':'backward'}),_0x5015b6=new yt(_0x2b6955,{'direction':'forward'});(_0x2b6955['commands']['add']('showPreviousChange',_0x27209c),_0x2b6955['commands']['add']('showNextChange',_0x5015b6),_0x2b6955['commands']['add']('restoreRevision',new bt(_0x2b6955)),this['on']('change:numberOfChanges',()=>{_0x27209c['refresh'](),_0x5015b6['refresh']();}),this['_setConversion'](),this['_initInteractions'](),_0x2b6955['enableReadOnlyMode']('revision-viewer'),_0x2b6955['plugins']['has']('WidgetToolbarRepository'))&&_0x2b6955['plugins']['get']('WidgetToolbarRepository')['forceDisabled']('revision-viewer');}async['getRevisionData'](_0x34a069){await this['loadRevisionData'](_0x34a069);const _0x19e3a2={};for(const _0x33c164 in _0x34a069['diffData']){if(_0x34a069['diffData'][_0x33c164]['attachChange']&&!_0x34a069['diffData'][_0x33c164]['attachChange']['isAttached'])continue;const _0x76e870=this['_removeRevisionMarkers'](JSON['parse'](_0x34a069['diffData'][_0x33c164]['insertions'])),_0x3f8caa=this['editor']['editing']['view']['document'],_0x137d0f=new _0x18edb1(_0x3f8caa,_0x76e870['map'](_0x377977=>this['_getViewObj'](_0x377977)));this['editor']['data']['processor']['useFillerType']('marked'),_0x19e3a2[_0x33c164]=this['editor']['data']['processor']['toData'](_0x137d0f),this['editor']['data']['processor']['useFillerType']('default');}return _0x19e3a2;}async['getRevisionRootsAttributes'](_0xea4632){await this['loadRevisionData'](_0xea4632);const _0x2ef4d4={};for(const _0x259cb8 in _0xea4632['diffData'])_0xea4632['diffData'][_0x259cb8]['attachChange']&&!_0xea4632['diffData'][_0x259cb8]['attachChange']['isAttached']||(_0x2ef4d4[_0x259cb8]=_0xea4632['diffData'][_0x259cb8]['attributesAfter']||{});return _0x2ef4d4;}['_removeRevisionMarkers'](_0x14bb9c){return(_0x14bb9c=_0x14bb9c['filter'](_0x2af27c=>!_0x2af27c['name']||'revision-start'!==_0x2af27c['name']&&'revision-end'!==_0x2af27c['name']))['forEach'](_0x59d0ae=>{'string'!=typeof _0x59d0ae&&(_0x59d0ae['children']=this['_removeRevisionMarkers'](_0x59d0ae['children']),_0x59d0ae['attributes']=_0x59d0ae['attributes']['filter'](_0x411be8=>!_0x411be8[0x0]['startsWith']('data-revision-')));}),_0x14bb9c;}async['compare'](_0x5e0986,_0x53d69c,_0x2ed105=!0x1){if(!this['isEnabled'])return;const _0xc32d84=this['diff'],_0x21a847=this['repository'],_0x475d15='string'==typeof _0x5e0986?_0x21a847['getRevision'](_0x5e0986):_0x5e0986,_0x36864f='string'==typeof _0x53d69c?_0x21a847['getRevision'](_0x53d69c):_0x53d69c,_0x56e2ba=_0x475d15['id'],_0x35f672=_0x36864f?_0x36864f['id']:null;if(!_0x2ed105&&this['diff']&&this['diff']['newRevisionId']===_0x56e2ba&&this['diff']['oldRevisionId']===_0x35f672)return Promise['resolve']();this['isReady']=!0x1,this['activeView']=null,this['activeChange']=null,this['diff']=new f(_0x56e2ba,_0x35f672);const _0x469a3e=this['_getRevisionsRange'](_0x475d15,_0x36864f,!0x0)['map'](_0x44cad9=>this['loadRevisionData'](_0x44cad9));return _0x469a3e['push'](new Promise(_0x9b2c3=>{setTimeout(_0x9b2c3,0x14);})),Promise['all'](_0x469a3e)['then'](()=>{if(!this['isEnabled'])return;this['_cleanUp']();const _0x331c14=this['_getDiff'](_0x56e2ba,_0x35f672);for(const _0x19c223 of _0x331c14['changes'])this['_changeIdToChange']['set'](_0x19c223['id'],_0x19c223);this['editor']['model']['enqueueChange']({'isUndoable':!0x1},_0x5df136=>{for(const _0x581aa3 of this['editor']['model']['document']['getRootNames']())_0x5df136['detachRoot'](_0x581aa3);for(const _0x24bf5d of Object['keys'](_0x331c14['model'])){const _0x1bba7d=_0x5df136['addRoot'](_0x24bf5d);for(const _0x231d5c of Object['keys'](_0x331c14['attributes'][_0x24bf5d]))_0x5df136['setAttribute'](_0x231d5c,_0x331c14['attributes'][_0x24bf5d][_0x231d5c],_0x1bba7d);_0x5df136['insert'](_0x331c14['model'][_0x24bf5d],_0x1bba7d,0x0);}}),this['diff']['_setChanges'](this['_sortAndFilterDiffChanges'](_0x331c14['changes'])),this['isReady']=!0x0;})['catch'](_0x4713b0=>{console['error'](_0x4713b0),this['_cleanUp'](),_0xc32d84&&(this['diff']=_0xc32d84),this['isReady']=!0x0;});}['addRevisionData'](_0x1fd165,_0x470ef3){const _0x3dbe29=this['repository']['createRevision'](_0x1fd165);return _0x3dbe29['on']('_update',(_0x48d46e,_0x3102a7,_0x100998)=>_0x470ef3(_0x3102a7,_0x100998,_0x3dbe29)),this['repository']['addRevision'](_0x3dbe29),_0x3dbe29;}['loadRevisionData'](_0x423e56){if(!_0x423e56||_0x423e56['diffData'])return Promise['resolve']();{const _0x593e55=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0x593e55,'revisionId':_0x423e56['id']})['then'](_0x345eeb=>{_0x423e56['_update']({'diffData':_0x345eeb['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},_0x30debb=>{for(const _0xa7d729 of this['editor']['model']['document']['getRootNames']())_0x30debb['detachRoot'](_0xa7d729);});}['_sortAndFilterDiffChanges'](_0x1badbe){const _0x1f0ad2=[],_0x2a08b5=new Map();for(const _0x11920f of this['editor']['model']['document']['getRootNames']()){const _0x251ce5=this['editor']['editing']['view']['getDomRoot'](_0x11920f);if(!_0x251ce5)continue;const _0x31cdcd=_0x251ce5['getClientRects']()['item'](0x0);_0x31cdcd&&(_0x1f0ad2['push'](_0x11920f),_0x2a08b5['set'](_0x11920f,_0x31cdcd));}return _0x1f0ad2['sort']((_0x40fef5,_0x6935d5)=>{const _0x1eb0d8=_0x2a08b5['get'](_0x40fef5),_0x1d2d7c=_0x2a08b5['get'](_0x6935d5);return _0x1eb0d8['y']-_0x1d2d7c['y']||_0x1eb0d8['x']-_0x1d2d7c['x'];}),(_0x1badbe=_0x1badbe['filter'](_0x53687d=>_0x1f0ad2['includes'](_0x53687d['rootName'])))['sort']((_0x125fce,_0x77bd82)=>_0x1f0ad2['indexOf'](_0x125fce['rootName'])-_0x1f0ad2['indexOf'](_0x77bd82['rootName'])),_0x1badbe;}['_makeTape'](_0x218f15){const _0xa4fcc7=Array['from'](_0x218f15['markers'])['filter'](([_0x5a2df4,_0x4ac3a1])=>_0x5a2df4['startsWith']('revision:')&&!_0x4ac3a1['isCollapsed']),_0x6ffaee=Array['from'](this['editor']['model']['createRangeIn'](_0x218f15)['getWalker']({'singleCharacters':!0x0}));if(0x0!=_0xa4fcc7['length'])for(const _0x163259 of _0x6ffaee){const [_0x57c4b2,_0x85a0a9]=_0xa4fcc7[0x0],[,_0x9d3599,_0x4b276a]=_0x57c4b2['split'](':');if(_0x85a0a9['end']['isEqual'](_0x163259['nextPosition'])&&_0xa4fcc7['shift'](),(_0x163259['previousPosition']['isEqual'](_0x85a0a9['start'])||_0x163259['previousPosition']['isAfter'](_0x85a0a9['start']))&&('insertion'==_0x9d3599?_0x163259['isAdded']={'userId':_0x4b276a}:'deletion'==_0x9d3599&&(_0x163259['isRemoved']={'userId':_0x4b276a})),0x0==_0xa4fcc7['length'])break;}return _0x6ffaee;}['_refreshStartEndIndex'](_0x1bdb37){const _0x1a36fd=new Map();for(let _0x2a4f7f=0x0;_0x2a4f7f<_0x1bdb37['length'];_0x2a4f7f++)'text'===_0x1bdb37[_0x2a4f7f]['type']?(_0x1bdb37[_0x2a4f7f]['item']['startIndex']=_0x2a4f7f,_0x1bdb37[_0x2a4f7f]['item']['endIndex']=_0x2a4f7f):('elementStart'===_0x1bdb37[_0x2a4f7f]['type']?_0x1bdb37[_0x2a4f7f]['item']['startIndex']=_0x2a4f7f:'elementEnd'===_0x1bdb37[_0x2a4f7f]['type']&&(_0x1bdb37[_0x2a4f7f]['item']['endIndex']=_0x2a4f7f),_0x1a36fd['set'](_0x1bdb37[_0x2a4f7f]['id'],_0x2a4f7f));for(const _0x4e29ed of _0x1a36fd['values']())'elementStart'===_0x1bdb37[_0x4e29ed]['type']?_0x1bdb37[_0x4e29ed]['item']['endIndex']=_0x1a36fd['get'](_0x1bdb37[_0x4e29ed]['pairId']):'elementEnd'===_0x1bdb37[_0x4e29ed]['type']&&(_0x1bdb37[_0x4e29ed]['item']['startIndex']=_0x1a36fd['get'](_0x1bdb37[_0x4e29ed]['pairId']));}['_processTape'](_0x4d0a6f){for(let _0x4c24d1=0x0;_0x4c24d1<_0x4d0a6f['length'];_0x4c24d1++){if('elementStart'===_0x4d0a6f[_0x4c24d1]['type'])_0x4d0a6f[_0x4c24d1]['item']['startIndex']=_0x4c24d1;else{if('elementEnd'===_0x4d0a6f[_0x4c24d1]['type']){_0x4d0a6f[_0x4c24d1]['item']['endIndex']=_0x4c24d1;const _0x31f8c9=_0x4d0a6f[_0x4c24d1]['item']['startIndex'];_0x4d0a6f[_0x31f8c9]['pairId']=_0x4d0a6f[_0x4c24d1]['id'],_0x4d0a6f[_0x4c24d1]['pairId']=_0x4d0a6f[_0x31f8c9]['id'];}else _0x4d0a6f[_0x4c24d1]['item']['startIndex']=_0x4c24d1,_0x4d0a6f[_0x4c24d1]['item']['endIndex']=_0x4c24d1,_0x4d0a6f[_0x4c24d1]['pairId']=null;}_0x4d0a6f[_0x4c24d1]['markersStart']||(_0x4d0a6f[_0x4c24d1]['markersStart']=[],_0x4d0a6f[_0x4c24d1]['markersEnd']=[]);}}['_markInsertions'](_0x26d8be,_0x4b7ba8){const _0x44a584=_0x26d8be['filter'](_0x3f6d4c=>!_0x3f6d4c['isAdded']);for(let _0x3f3a82=0x0;_0x3f3a82<_0x4b7ba8['length'];_0x3f3a82++)_0x4b7ba8[_0x3f3a82]['isAdded']&&(_0x44a584[_0x3f3a82]['isAdded']=_0x4b7ba8[_0x3f3a82]['isAdded']);}['_makeModelFromViewString'](_0x4fca4c){const _0x237102=JSON['parse'](_0x4fca4c),_0x127cbc=this['editor']['editing']['view']['document'],_0x2318c=new _0x18edb1(_0x127cbc,_0x237102['map'](_0x220216=>this['_getViewObj'](_0x220216)));return this['editor']['data']['toModel'](_0x2318c);}['_getViewObj'](_0x433f51){const _0x96b36c=this['editor']['editing']['view']['document'];if('string'==typeof _0x433f51)return new _0x21ea8e(_0x96b36c,_0x433f51);{const _0x5c1725=_0x433f51['children']['map'](_0xd1ba5=>this['_getViewObj'](_0xd1ba5));return new(tt[_0x433f51['type']]||_0x493ac4)(_0x96b36c,_0x433f51['name'],_0x433f51['attributes'],_0x5c1725);}}['_getDiff'](_0x169fb8,_0x169a2c=null){const _0x3e6abe=this['repository']['getRevision'](_0x169fb8),_0x4a0b99=_0x169a2c?this['repository']['getRevision'](_0x169a2c):null,_0x3e422f=this['_getRevisionsRange'](_0x3e6abe,_0x4a0b99),_0x3f9d32=_0x3e422f[_0x3e422f['length']-0x1],_0x3abdaa=new Map(),_0x51b3b8={'model':{},'attributes':{},'changes':[]},_0x3eee33=new Set(),_0x4b1fd6=new Map();for(let _0x39d009=_0x3e422f['length']-0x1;_0x39d009>=0x0;_0x39d009--){const _0x4cf2f3=_0x3e422f[_0x39d009];for(const _0x4a5fe3 of Object['keys'](_0x4cf2f3['diffData']))if(_0x4cf2f3['diffData'][_0x4a5fe3]['attachChange']){const _0x272bd1=_0x4cf2f3['diffData'][_0x4a5fe3]['attachChange'];_0x272bd1['isAttached']?(_0x3eee33['add'](_0x4a5fe3),_0x4b1fd6['has'](_0x4a5fe3)&&_0x4b1fd6['get'](_0x4a5fe3)['userId']==_0x272bd1['userId']?_0x4b1fd6['delete'](_0x4a5fe3):_0x4b1fd6['set'](_0x4a5fe3,_0x272bd1)):_0x4b1fd6['has'](_0x4a5fe3)?(_0x3eee33['delete'](_0x4a5fe3),_0x4b1fd6['delete'](_0x4a5fe3)):(_0x3eee33['add'](_0x4a5fe3),_0x4b1fd6['set'](_0x4a5fe3,_0x272bd1));}else _0x3eee33['add'](_0x4a5fe3);}for(const _0x3b919f of _0x3eee33){const _0x9062f1=_0x4b1fd6['has'](_0x3b919f)&&!_0x4b1fd6['get'](_0x3b919f)['isAttached'];let _0x366a3d=_0x9062f1?_0x3e422f['length']-0x1:0x0;const _0x253af5=_0x9062f1?-0x1:0x1;for(;_0x3e422f[_0x366a3d];){const _0x35ad8f=_0x3e422f[_0x366a3d];if(_0x35ad8f['diffData'][_0x3b919f]){const _0x4f8cf7=_0x9062f1?_0x35ad8f['diffData'][_0x3b919f]['attributesBefore']:_0x35ad8f['diffData'][_0x3b919f]['attributesAfter'];_0x51b3b8['attributes'][_0x3b919f]=_0x4f8cf7?_0x146537(_0x4f8cf7):{};break;}_0x366a3d+=_0x253af5;}}for(const _0x1f2472 of _0x3e422f){_0x1f2472['model']={};for(const _0x57e8f3 of _0x1f2472['authors'])_0x3abdaa['set'](_0x57e8f3['id'],_0x57e8f3);for(const _0x15a68c of _0x3eee33){const _0x3dd3a6=_0x1f2472['diffData'][_0x15a68c]?_0x1f2472['diffData'][_0x15a68c]['insertions']:'[]',_0x4a2fc7=_0x1f2472['diffData'][_0x15a68c]?_0x1f2472['diffData'][_0x15a68c]['deletions']:'[]';_0x1f2472['model'][_0x15a68c]={'insertions':this['_makeModelFromViewString'](_0x3dd3a6),'deletions':this['_makeModelFromViewString'](_0x4a2fc7)};}}for(const _0x30e718 of _0x3eee33){let _0x26e60e=null,_0x12b45d=0x0;const _0x239edf=new Map(Array['from'](_0x3e6abe['model'][_0x30e718]['insertions']['markers'])['filter'](([_0x10faf4])=>!_0x10faf4['startsWith']('revision:')));let _0x4fd4ce=0x0;for(const _0x26143f of _0x3e422f){const _0x4c707e=this['_makeTape'](_0x26143f['model'][_0x30e718]['insertions']);_0x26143f==_0x3e6abe?(_0x26e60e=_0x4c707e,_0x12b45d=_0x26e60e['length'],_0x26e60e['forEach'](_0x14bff5=>{_0x14bff5['id']=_0x4fd4ce++;}),this['_processTape'](_0x26e60e)):this['_markInsertions'](_0x26e60e,_0x4c707e);const _0x1f3915=_0x26e60e['filter'](_0x4c8110=>!_0x4c8110['isAdded'])['map'](_0x2bdb52=>_0x2bdb52['id']);let _0x5fdbc9=0x0;const _0x316510=this['_makeTape'](_0x26143f['model'][_0x30e718]['deletions']);_0x316510['forEach'](_0x5d4190=>{_0x5d4190['isRemoved']?_0x5d4190['id']=_0x12b45d++:_0x5d4190['id']=_0x1f3915[_0x5fdbc9++];}),this['_processTape'](_0x316510),this['_setDistance'](_0x26e60e,'isAdded'),this['_setDistance'](_0x316510,'isRemoved'),_0x26143f==_0x3e6abe&&this['_markMarkers'](_0x26e60e,_0x239edf),_0x26e60e=this['_joinTapes'](_0x26e60e,_0x316510),this['_refreshStartEndIndex'](_0x26e60e),this['_setDistance'](_0x26e60e,'isRemoved');}_0x26e60e=_0x26e60e['filter'](_0x1c1a6b=>!(_0x1c1a6b['isAdded']&&_0x1c1a6b['isRemoved']));const _0x2720fb=new Map(_0x3f9d32['model'][_0x30e718]['deletions']['markers']),_0x107e75=new Set(_0x239edf['keys']());for(const _0x28e042 of _0x2720fb['keys']())_0x107e75['delete'](_0x28e042);this['_markSuggestions'](_0x26e60e,_0x107e75),this['_fixObsoleteTags'](_0x26e60e),_0x26e60e=this['_removeMissingPairs'](_0x26e60e),_0x26e60e=this['_markMismatchedRemovedTags'](_0x26e60e),_0x26e60e=this['_removeUnsupportedChanges'](_0x26e60e);const {root:_0x2d4001,changes:_0x44310e}=this['_makeModelFromTape'](_0x26e60e,_0x3abdaa,_0x30e718);_0x51b3b8['model'][_0x30e718]=_0x2d4001;const _0x57ae76=_0x4b1fd6['get'](_0x30e718);if(_0x57ae76){const _0x319f87=_0x3abdaa['get'](_0x57ae76['userId']),_0x490443=new r({'author':_0x319f87,'type':_0x57ae76['isAttached']?'add':'remove','data':{'isOnRoot':!0x0},'createdAt':new Date(),'rootName':_0x30e718});_0x44310e['unshift'](_0x490443),_0x51b3b8['attributes'][_0x30e718]['revisionHistoryAttachChange']=_0x490443['id'];}_0x51b3b8['changes']=_0x51b3b8['changes']['concat'](_0x44310e);}return _0x51b3b8;}['_markMarkers'](_0xec4fe7,_0x360896){for(let _0x13e71a=0x0;_0x13e71a<_0xec4fe7['length'];_0x13e71a++)for(const [_0x5184da,_0x1d9bcd]of _0x360896)_0x1d9bcd['start']['isEqual'](_0xec4fe7[_0x13e71a]['previousPosition'])&&_0xec4fe7[_0x13e71a]['markersStart']['push'](_0x5184da),_0x1d9bcd['end']['isEqual'](_0xec4fe7[_0x13e71a]['nextPosition'])&&_0xec4fe7[_0x13e71a]['markersEnd']['push'](_0x5184da);}['_joinTapes'](_0x3b7f44,_0x2de3f0){let _0x3df8a6=[],_0x413f8b=0x0,_0x566dc8=0x0;for(;_0x413f8b<_0x3b7f44['length']||_0x566dc8<_0x2de3f0['length'];){const _0x59c75c=_0x3b7f44[_0x413f8b]||{},_0x4c2374=_0x2de3f0[_0x566dc8]||{};if(_0x59c75c['id']==_0x4c2374['id'])_0x413f8b++,_0x566dc8++,_0x3df8a6['push'](_0x59c75c);else{if(_0x4c2374['isRemoved']&&_0x59c75c['isAdded']){const {commonTape:_0x386a95,iEnd:_0x527833,jEnd:_0x33afab}=this['_threeWayMerge'](_0x3b7f44,_0x413f8b,_0x2de3f0,_0x566dc8);_0x3df8a6=_0x3df8a6['concat'](_0x386a95),_0x413f8b=_0x527833,_0x566dc8=_0x33afab;}else _0x4c2374['isRemoved']?(_0x566dc8++,_0x3df8a6['push'](_0x4c2374)):(_0x413f8b++,_0x3df8a6['push'](_0x59c75c));}}return _0x3df8a6;}['_markSuggestions'](_0x4b7182,_0x50db48){const _0x75847c=[];for(let _0x3a6771=0x0;_0x3a6771<_0x4b7182['length'];_0x3a6771++){for(let _0x3efca4=0x0;_0x3efca4<_0x4b7182[_0x3a6771]['markersStart']['length'];_0x3efca4++){const _0x3b7685=_0x4b7182[_0x3a6771]['markersStart'][_0x3efca4];if(!_0x50db48['has'](_0x3b7685))continue;const {group:_0x59164b,type:_0x5804c3,authorId:_0x152035}=_0x453743(_0x3b7685);'revision-suggestion'!=_0x59164b||'insertion'!=_0x5804c3&&'deletion'!=_0x5804c3||(_0x75847c['unshift']({'type':_0x5804c3,'name':_0x3b7685,'userId':_0x152035}),_0x4b7182[_0x3a6771]['markersStart']['splice'](_0x3efca4,0x1),_0x3efca4--);}_0x1afa02(_0x4b7182[_0x3a6771]);for(let _0x510841=0x0;_0x510841<_0x4b7182[_0x3a6771]['markersEnd']['length'];_0x510841++){const _0x5145a6=_0x4b7182[_0x3a6771]['markersEnd'][_0x510841];if(!_0x50db48['has'](_0x5145a6))continue;const {group:_0x5e1765,type:_0xd467e6}=_0x453743(_0x5145a6);if('revision-suggestion'!=_0x5e1765||'insertion'!=_0xd467e6&&'deletion'!=_0xd467e6)continue;_0x4b7182[_0x3a6771]['markersEnd']['splice'](_0x510841,0x1),_0x510841--;const _0x5b50fb=_0x75847c['findIndex'](_0x3ac294=>_0x3ac294['name']==_0x5145a6);_0x5b50fb>-0x1&&_0x75847c['splice'](_0x5b50fb,0x1);}}function _0x453743(_0x41727a){const _0x484e78=_0x41727a['split'](':');return{'group':_0x484e78[0x0],'type':_0x484e78[0x1],'subType':_0x484e78['length']>=0x5?_0x484e78[0x2]:null,'id':_0x484e78['length']<0x5?_0x484e78[0x2]:_0x484e78[0x3],'authorId':_0x484e78['length']<0x5?_0x484e78[0x3]:_0x484e78[0x4],'markerCount':0x6==_0x484e78['length']?_0x484e78[0x5]:null};}function _0x1afa02(_0x53fafa){for(let _0x1617a4=0x0;_0x1617a4<_0x75847c['length'];_0x1617a4++){if(_0x53fafa['isAdded']&&'insertion'==_0x75847c[_0x1617a4]['type'])return _0x53fafa['isAddSuggestion']=_0x75847c[_0x1617a4],void delete _0x53fafa['isAdded'];if(!_0x53fafa['isAdded']&&!_0x53fafa['isRemoved']&&'deletion'==_0x75847c[_0x1617a4]['type'])return void(_0x53fafa['isRemoveSuggestion']=_0x75847c[_0x1617a4]);}}}['_setDistance'](_0x5524af,_0x95223e){let _0x519585=0x0,_0x3977fc=!0x1;const _0x583251=new Map();for(const _0x252c3f of _0x5524af)_0x252c3f[_0x95223e]?_0x3977fc&&(_0x519585++,_0x3977fc=!0x1):(_0x519585++,_0x3977fc=!0x0),_0x583251['set'](_0x252c3f['id'],_0x519585);for(let _0x20b451=0x0;_0x20b451<_0x5524af['length'];_0x20b451++){if('isRemoved'==_0x95223e&&_0x5524af[_0x20b451]['isAdded']||'isAdded'==_0x95223e&&_0x5524af[_0x20b451]['isRemoved'])continue;if('text'==_0x5524af[_0x20b451]['type']){_0x5524af[_0x20b451]['distance']=0x0;continue;}const _0x1fd75a=_0x583251['get'](_0x5524af[_0x20b451]['pairId']),_0x29ed91=_0x583251['get'](_0x5524af[_0x20b451]['id']);_0x5524af[_0x20b451]['distance']=_0x1fd75a-_0x29ed91;}}['_getRevisionsRange'](_0xc74a3e,_0x4cf72e,_0x1ecfa8=!0x1){const _0x134382=[];let _0x36bd78=this['repository']['getIndex'](_0xc74a3e),_0x1e9796=this['repository']['getIndex'](_0x4cf72e);for(-0x1==_0x1e9796&&(_0x1e9796=this['repository']['_revisions']['length'],_0x1ecfa8=!0x1);_0x36bd78<_0x1e9796;)_0x134382['push'](this['repository']['getRevision'](_0x36bd78)),_0x36bd78++;return _0x1ecfa8&&_0x134382['push'](this['repository']['getRevision'](_0x36bd78)),_0x134382;}['_threeWayMerge'](_0x8f74b5,_0x29960b,_0x4dee3e,_0x1b82c8){const _0x141245=this['editor']['model']['schema'];let _0x182cc6=_0x29960b;for(;_0x8f74b5[_0x182cc6]&&_0x8f74b5[_0x182cc6]['isAdded'];)_0x182cc6++;let _0x2fbdf9=_0x1b82c8;for(;_0x4dee3e[_0x2fbdf9]&&_0x4dee3e[_0x2fbdf9]['isRemoved'];)_0x2fbdf9++;_0x1e0f27(_0x8f74b5,_0x29960b,_0x182cc6),_0x1e0f27(_0x4dee3e,_0x1b82c8,_0x2fbdf9);const _0x378d72=_0x4dee3e['slice'](_0x1b82c8,_0x2fbdf9)['concat'](_0x8f74b5['slice'](_0x29960b,_0x182cc6));return _0x378d72['sort']((_0x3cf5a3,_0x197c1b)=>_0x3cf5a3['side']!=_0x197c1b['side']?_0x3cf5a3['side']-_0x197c1b['side']:_0x3cf5a3['level']!=_0x197c1b['level']?_0x3cf5a3['level']-_0x197c1b['level']:_0x3cf5a3['distance']!=_0x197c1b['distance']?_0x197c1b['distance']-_0x3cf5a3['distance']:!!_0x3cf5a3['isAdded']!=!!_0x197c1b['isAdded']?-0x1==_0x3cf5a3['side']||0x0==_0x3cf5a3['side']?_0x3cf5a3['isAdded']?-0x1:0x1:_0x3cf5a3['isAdded']?0x1:-0x1:_0x3cf5a3['index']-_0x197c1b['index']),{'commonTape':_0x378d72,'iEnd':_0x182cc6,'jEnd':_0x2fbdf9};function _0x1e0f27(_0x48480d,_0x25976c,_0x20dd3a){let _0x3e0d29=-0x1,_0x5ce830=Number['POSITIVE_INFINITY'],_0x1b8a4a=!0x0;for(let _0x29b7d7=_0x25976c;_0x29b7d7<_0x20dd3a;_0x29b7d7++)if(_0x141245['isInline'](_0x48480d[_0x29b7d7]['item'])||(_0x1b8a4a=!0x1),_0x48480d[_0x29b7d7]['item']['startIndex']<_0x25976c&&(_0x3e0d29=_0x29b7d7),_0x48480d[_0x29b7d7]['item']['endIndex']>=_0x20dd3a){_0x5ce830=_0x29b7d7;break;}_0x1b8a4a&&(_0x3e0d29=_0x20dd3a-0x1);for(let _0x344cee=_0x25976c;_0x344cee<_0x20dd3a;_0x344cee++)_0x48480d[_0x344cee]['side']=_0x344cee<=_0x3e0d29?-0x1:_0x344cee<_0x5ce830?0x0:0x1,_0x48480d[_0x344cee]['index']=_0x344cee;let _0x296dd2=0x0;for(let _0x2b6e93=_0x25976c;_0x2b6e93<=_0x3e0d29;_0x2b6e93++)0x0==_0x48480d[_0x2b6e93]['distance']?_0x48480d[_0x2b6e93]['level']=_0x296dd2:(_0x296dd2++,_0x48480d[_0x2b6e93]['level']=_0x296dd2,_0x296dd2++);for(let _0x15663d=_0x25976c;_0x15663d<_0x20dd3a;_0x15663d++)0x0==_0x48480d[_0x15663d]['side']&&(_0x48480d[_0x15663d]['level']=_0x296dd2);_0x296dd2=0x0;for(let _0x139931=_0x20dd3a-0x1;_0x139931>=_0x5ce830;_0x139931--)0x0==_0x48480d[_0x139931]['distance']?_0x48480d[_0x139931]['level']=_0x296dd2:(_0x296dd2--,_0x48480d[_0x139931]['level']=_0x296dd2,_0x296dd2--);}}['_fixObsoleteTags'](_0x1d7198){const _0x2b4fe7=new Map(),_0xb037cb=this['editor']['model']['schema'];for(let _0x51c38a=0x1;_0x51c38a<_0x1d7198['length'];_0x51c38a++){let _0x58ad08,_0x37f011,_0x2384ab;const _0x28396b=_0x1d7198[_0x51c38a],_0x42e178=_0x1d7198[_0x51c38a-0x1];if('text'==_0x28396b['type'])continue;if(_0x28396b['type']!=_0x42e178['type'])continue;if(!_0xb037cb['isBlock'](_0x42e178['item'])||_0xb037cb['isLimit'](_0x42e178['item']))continue;if(!_0xb037cb['isBlock'](_0x28396b['item'])||_0xb037cb['isLimit'](_0x28396b['item']))continue;if((_0x1d7198[_0x51c38a]['isAdded']||_0x1d7198[_0x51c38a]['isAddSuggestion'])&&_0x1d7198[_0x51c38a-0x1]['isRemoved'])_0x58ad08=_0x1d7198[_0x51c38a],_0x37f011=_0x1d7198[_0x51c38a-0x1],_0x2384ab=_0x51c38a-0x1;else{if(!_0x1d7198[_0x51c38a]['isRemoved']||!_0x1d7198[_0x51c38a-0x1]['isAdded']&&!_0x1d7198[_0x51c38a-0x1]['isAddSuggestion'])continue;_0x58ad08=_0x1d7198[_0x51c38a-0x1],_0x37f011=_0x1d7198[_0x51c38a],_0x2384ab=_0x51c38a;}const _0x3bed93=_0x58ad08['level']==_0x37f011['level'],_0x2f16c8=Math['abs'](_0x58ad08['level'])<Math['abs'](_0x37f011['level'])&&0x0==_0x37f011['distance'];(_0x3bed93||_0x2f16c8)&&(_0x2b4fe7['set'](_0x37f011['id'],_0x58ad08['id']),_0x1d7198['splice'](_0x2384ab,0x1),_0x51c38a--,_0x58ad08['isAdded']=!0x1);}for(let _0xb40137=0x0;_0xb40137<_0x1d7198['length'];_0xb40137++)_0x2b4fe7['has'](_0x1d7198[_0xb40137]['pairId'])&&(_0x1d7198[_0xb40137]['pairId']=_0x2b4fe7['get'](_0x1d7198[_0xb40137]['pairId']));}['_removeMissingPairs'](_0x422f0b){const _0x271e15=new Set(_0x422f0b['map'](_0x255829=>_0x255829['id']));for(let _0x5d8128=0x0;_0x5d8128<_0x422f0b['length'];_0x5d8128++)_0x271e15['has'](_0x422f0b[_0x5d8128]['pairId'])||0x0==_0x422f0b[_0x5d8128]['distance']||(_0x422f0b[_0x5d8128]['isIncorrect']=!0x0);return _0x422f0b['filter'](_0x19de0a=>!_0x19de0a['isIncorrect']);}['_markMismatchedRemovedTags'](_0x3c758b){const _0xb40d7c=new Set();for(let _0x1d9ab4=0x0;_0x1d9ab4<_0x3c758b['length'];_0x1d9ab4++){if(_0xb40d7c['has'](_0x3c758b[_0x1d9ab4]['id'])&&_0x3c758b[_0x1d9ab4]['isRemoved']&&(_0x3c758b[_0x1d9ab4]['isIncorrect']=!0x0),_0x3c758b[_0x1d9ab4]['isIncorrect'])continue;if(0x0==_0x3c758b[_0x1d9ab4]['distance'])continue;if('elementStart'!=_0x3c758b[_0x1d9ab4]['type'])continue;if(null==_0x3c758b[_0x1d9ab4]['pairId'])continue;let _0x1ecba4=_0x1d9ab4+0x1,_0x5c2541=0x0;for(;_0x3c758b[_0x1ecba4]['id']!=_0x3c758b[_0x1d9ab4]['pairId'];)'elementStart'==_0x3c758b[_0x1ecba4]['type']?_0x5c2541++:'elementEnd'==_0x3c758b[_0x1ecba4]['type']&&_0x5c2541--,_0x1ecba4++;if(0x0!=_0x5c2541){if(_0x3c758b[_0x1d9ab4]['isRemoved'])_0x3c758b[_0x1d9ab4]['isIncorrect']=!0x0;else{for(;_0x1ecba4!=_0x1d9ab4;)_0x3c758b[_0x1ecba4]['isRemoved']&&0x0!=_0x3c758b[_0x1ecba4]['distance']&&(_0x3c758b[_0x1ecba4]['isIncorrect']=!0x0,_0xb40d7c['add'](_0x3c758b[_0x1ecba4]['pairId'])),_0x1ecba4--;}}}return _0x3c758b['filter'](_0x554b35=>!_0x554b35['isIncorrect']);}['_removeUnsupportedChanges'](_0x89f025){const _0x466534=this['editor']['model']['schema'];for(let _0x42e46e=0x0;_0x42e46e<_0x89f025['length'];_0x42e46e++){if(!(_0x89f025[_0x42e46e]['isAdded']||_0x89f025[_0x42e46e]['isAddSuggestion']||_0x89f025[_0x42e46e]['isRemoved']||_0x89f025[_0x42e46e]['isRemoveSuggestion']))continue;if(0x0==_0x89f025[_0x42e46e]['distance'])continue;const _0x10a837=_0x89f025[_0x42e46e]['item'];_0x466534['isBlock'](_0x10a837)||_0x466534['isLimit'](_0x10a837)||(_0x89f025[_0x42e46e]['isAdded']&&delete _0x89f025[_0x42e46e]['isAdded'],_0x89f025[_0x42e46e]['isAddSuggestion']&&delete _0x89f025[_0x42e46e]['isAddSuggestion'],_0x89f025[_0x42e46e]['isRemoveSuggestion']&&delete _0x89f025[_0x42e46e]['isRemoveSuggestion'],_0x89f025[_0x42e46e]['isRemoved']&&(_0x89f025[_0x42e46e]['isIncorrect']=!0x0));}return _0x89f025['filter'](_0x1f5f45=>!_0x1f5f45['isIncorrect']);}['_makeModelFromTape'](_0x3e7bca,_0x568fe,_0x275209){const _0x402a93=new wt(),_0x39b316=[],_0x5169d7=new Map(),_0x24b135=this['editor']['model'],_0x3dd3fd=_0x24b135['schema'],_0x54ec95=[_0x402a93],_0x568a34={},_0x327685={'isAdded':[],'isRemoved':[],'isAddSuggestion':[],'isRemoveSuggestion':[]};let _0x344459=null;const _0x5cc9e5=[0x0];for(let _0x5d7887=0x0;_0x5d7887<_0x3e7bca['length'];_0x5d7887++){let _0x35de7b,_0x24359e;if('elementStart'===_0x3e7bca[_0x5d7887]['type']){_0x35de7b=_0x24b135['createPositionFromPath'](_0x402a93,_0x5cc9e5);const _0xbad737=new ft(_0x3e7bca[_0x5d7887]['item']['name'],_0x3e7bca[_0x5d7887]['item']['getAttributes']());_0x54ec95[0x0]['_appendChild'](_0xbad737),_0x5cc9e5['push'](0x0),_0x54ec95['unshift'](_0xbad737),_0x24359e=_0x24b135['createPositionFromPath'](_0x402a93,_0x5cc9e5),_0x344459=null;}else{if('elementEnd'===_0x3e7bca[_0x5d7887]['type'])_0x54ec95['shift'](),_0x35de7b=_0x24b135['createPositionFromPath'](_0x402a93,_0x5cc9e5),_0x5cc9e5['pop'](),_0x5cc9e5[_0x5cc9e5['length']-0x1]++,_0x24359e=_0x24b135['createPositionFromPath'](_0x402a93,_0x5cc9e5),_0x344459=null;else{if(_0x35de7b=_0x24b135['createPositionFromPath'](_0x402a93,_0x5cc9e5),_0x344459&&_0x2711e1(_0x344459,_0x3e7bca[_0x5d7887]['item']))_0x344459['_data']+=_0x3e7bca[_0x5d7887]['item']['data'];else{const _0x2683ac=new _t(_0x3e7bca[_0x5d7887]['item']['data'],_0x3e7bca[_0x5d7887]['item']['getAttributes']());_0x54ec95[0x0]['_appendChild'](_0x2683ac),_0x344459=_0x2683ac;}_0x5cc9e5[_0x5cc9e5['length']-0x1]+=_0x3e7bca[_0x5d7887]['item']['offsetSize'],_0x24359e=_0x24b135['createPositionFromPath'](_0x402a93,_0x5cc9e5);}}for(const _0x39be20 of _0x3e7bca[_0x5d7887]['markersStart'])_0x5169d7['set'](_0x39be20,{'start':_0x35de7b,'end':null});_0x5a57ec('isRemoveSuggestion',_0x5d7887,_0x35de7b,_0x24359e),_0x5a57ec('isAddSuggestion',_0x5d7887,_0x35de7b,_0x24359e),_0x5a57ec('isRemoved',_0x5d7887,_0x35de7b,_0x24359e),_0x5a57ec('isAdded',_0x5d7887,_0x35de7b,_0x24359e);for(const _0xbd8da1 of _0x3e7bca[_0x5d7887]['markersEnd']){_0x5169d7['get'](_0xbd8da1)['end']=_0x24359e;}}for(const [_0x294ac0,_0x367371]of _0x5169d7){const _0x23ac10=this['editor']['model']['createRange'](_0x367371['start'],_0x367371['end']);_0x402a93['markers']['set'](_0x294ac0,_0x23ac10);}return _0x39b316['sort']((_0x1320bd,_0x252b0a)=>{const _0x50a573=_0x402a93['markers']['get']('revision:'+_0x1320bd['id']),_0x15686d=_0x402a93['markers']['get']('revision:'+_0x252b0a['id']);return _0x50a573['start']['isBefore'](_0x15686d['start'])?-0x1:_0x50a573['start']['isAfter'](_0x15686d['start'])?0x1:_0x50a573['end']['isBefore'](_0x15686d['end'])?-0x1:_0x50a573['end']['isAfter'](_0x15686d['end'])?0x1:'add'===_0x1320bd['type']?-0x1:0x1;}),{'root':_0x402a93,'changes':_0x39b316};function _0x5a57ec(_0x54b9da,_0x216df0,_0x9773db,_0x38fa0d){const _0x389cfc=!!_0x3e7bca[_0x216df0][_0x54b9da],_0x2e6be2=_0x389cfc?_0x3e7bca[_0x216df0][_0x54b9da]['userId']:null,_0x367947=_0x216df0===_0x3e7bca['length']-0x1,_0x10ee73=_0x327685[_0x54b9da][0x0],_0x5bbf9f=_0x3dd3fd['isObject'](_0x3e7bca[_0x216df0]['item']);!_0x568a34[_0x54b9da]&&_0x389cfc?_0x568a34[_0x54b9da]={'start':_0x9773db,'tapeItem':_0x3e7bca[_0x216df0],'userId':_0x2e6be2,'type':_0x54b9da}:_0x568a34[_0x54b9da]&&!_0x389cfc?(_0x568a34[_0x54b9da]['end']=_0x9773db,_0x6e5859(_0x568a34[_0x54b9da]),_0x568a34[_0x54b9da]=null):_0x568a34[_0x54b9da]&&_0x389cfc&&_0x568a34[_0x54b9da]['userId']!==_0x2e6be2&&(_0x568a34[_0x54b9da]['end']=_0x9773db,_0x10ee73&&_0x10ee73['userId']===_0x568a34[_0x54b9da]['userId']||_0x6e5859(_0x568a34[_0x54b9da]),_0x568a34[_0x54b9da]={'start':_0x9773db,'tapeItem':_0x3e7bca[_0x216df0],'userId':_0x2e6be2,'type':_0x54b9da}),_0x568a34[_0x54b9da]&&_0x5bbf9f&&('elementStart'!==_0x3e7bca[_0x216df0]['type']||_0x10ee73&&_0x10ee73['userId']===_0x2e6be2||_0x327685[_0x54b9da]['unshift']({'userId':_0x2e6be2,'object':_0x3e7bca[_0x216df0]['item'],'change':_0x568a34[_0x54b9da]}),'elementEnd'===_0x3e7bca[_0x216df0]['type']&&_0x10ee73&&_0x10ee73['object']===_0x3e7bca[_0x216df0]['item']&&(_0x327685[_0x54b9da]['shift'](),_0x568a34[_0x54b9da]=_0x10ee73['change'])),_0x568a34[_0x54b9da]&&_0x367947&&(_0x568a34[_0x54b9da]['end']=_0x38fa0d,_0x6e5859(_0x568a34[_0x54b9da]),_0x568a34[_0x54b9da]=null);}function _0x6e5859({start:_0x1875f5,end:_0x54e16c,tapeItem:_0x4facf3,userId:_0x555a04,type:_0x22eeac}){const _0x50a128=_0x4facf3['item'],_0x1fd1db=_0x24b135['schema']['isBlock'](_0x50a128)&&!_0x24b135['schema']['isLimit'](_0x50a128),_0x273bcd=_0x1875f5['nodeAfter']==_0x54e16c['parent']&&_0x54e16c['isAtStart'];if(_0x1fd1db&&_0x273bcd)return;const _0x18e2b6=_0x24b135['createRange'](_0x1875f5,_0x54e16c),_0x41ae73=_0x568fe['get'](_0x555a04),_0x45b821=new r({'author':_0x41ae73,'type':'isAdded'==_0x22eeac||'isAddSuggestion'==_0x22eeac?'add':'remove','data':{'isSuggestion':'isAddSuggestion'==_0x22eeac||'isRemoveSuggestion'==_0x22eeac},'createdAt':new Date(),'rootName':_0x275209});_0x39b316['push'](_0x45b821),_0x402a93['markers']['set']('revision:'+_0x45b821['id'],_0x18e2b6);}function _0x2711e1(_0x2308cf,_0x344f4a){const _0x13f62d=_0x2308cf['getAttributes'](),_0x588b0c=_0x344f4a['getAttributes']();for(const _0xd09e71 of _0x13f62d){if(_0xd09e71[0x1]!==_0x344f4a['getAttribute'](_0xd09e71[0x0]))return!0x1;_0x588b0c['next']();}return _0x588b0c['next']()['done'];}}['_setConversion'](){this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'revision'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision','view':_0x3bac01=>{const _0x1a96eb=_0x3bac01['markerName']['split'](':')[0x1],_0x477bdf=this['_getChangeFromId'](_0x1a96eb);if(!_0x477bdf)return null;const _0x5369f2='add'==_0x477bdf['type']?'insertion':'deletion',_0x101e2a=['ck-suggestion-marker','ck-suggestion-marker-'+_0x5369f2];return _0x477bdf['data']['isSuggestion']&&_0x101e2a['push']('ck-suggestion-marker-'+_0x5369f2+'-new'),this['activeChange']==_0x477bdf&&_0x101e2a['push']('ck-suggestion-marker--active'),{'classes':_0x101e2a,'attributes':{'data-change-id':_0x1a96eb}};}}),this['editor']['conversion']['for']('upcast')['add'](_0x414a1c=>{_0x414a1c['on']('element:pre',(_0x596d53,_0x31fb18,_0x299b00)=>{const _0x26c9cc=_0x31fb18['viewItem']['getChild'](0x0);if(!_0x26c9cc||!_0x26c9cc['is']('element','code'))return;if(!_0x299b00['consumable']['consume'](_0x26c9cc,{'attributes':['vid_start','vid_end']}))return;const _0x4f0f51=_0x31fb18['modelRange']['start']['nodeAfter'];_0x299b00['writer']['setAttribute']('vid_start',_0x26c9cc['getAttribute']('vid_start'),_0x4f0f51),_0x299b00['writer']['setAttribute']('vid_end',_0x26c9cc['getAttribute']('vid_end'),_0x4f0f51);},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['add'](_0x54c139=>{_0x54c139['on']('element',(_0x255789,_0x3aa329,_0x471e95)=>{if(!_0x471e95['consumable']['consume'](_0x3aa329['viewItem'],{'attributes':['vid_start','vid_end']}))return;if(_0x3aa329['modelRange']['isCollapsed'])return;const _0x32c629=_0x3aa329['modelRange']['start']['nodeAfter'];_0x32c629['hasAttribute']('vid_start')||_0x32c629['hasAttribute']('vid')||(_0x471e95['writer']['setAttribute']('vid_start',_0x3aa329['viewItem']['getAttribute']('vid_start'),_0x32c629),_0x471e95['writer']['setAttribute']('vid_end',_0x3aa329['viewItem']['getAttribute']('vid_end'),_0x32c629));},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['elementToAttribute']({'view':{'name':'span','attributes':{'vid':!0x0}},'model':{'key':'vid','value':_0x2dc718=>_0x2dc718['getAttribute']('vid')}}),this['editor']['model']['schema']['on']('checkAttribute',(_0x1f4116,[,_0x4df2c7])=>{['vid_start','vid_end','vid']['includes'](_0x4df2c7)&&(_0x1f4116['return']=!0x0,_0x1f4116['stop']());},{'priority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['add'](_0x10091c=>{_0x10091c['on']('attribute:vid',(_0x557ed4,_0x5e9f3a,_0xc8298c)=>{if('\x20'!=_0x5e9f3a['item']['data']||_0x5e9f3a['item']['parent']['maxOffset']>0x1)return;if(!_0xc8298c['consumable']['consume'](_0x5e9f3a['item'],_0x557ed4['name']))return;const _0x2111a9=_0xc8298c['writer'],_0x1d68d3=_0xc8298c['mapper']['toViewRange'](_0x5e9f3a['range']);_0x2111a9['wrap'](_0x1d68d3,_0x2111a9['createAttributeElement']('span'));});}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',function(_0x380050){const _0x4eff1f=_0x380050['plugins']['get']('RevisionViewer');return(_0x1923e6,_0x495d7a,_0x4c3276)=>{const _0x19b77e=_0x495d7a['markerName']['split'](':')[0x1],_0x232d9f=_0x4eff1f['_getChangeFromId'](_0x19b77e);if(!_0x232d9f)return null;const _0x3394d5='add'==_0x232d9f['type']?'split':'merge';if(!_0x4c3276['consumable']['test'](_0x495d7a['markerRange'],_0x1923e6['name']))return;const _0x3fcc26=_0x495d7a['markerRange']['getWalker'](),_0x11aa21=_0x495d7a['markerRange']['start'],_0xe317b6=_0x380050['model']['schema'];let _0x32877f=null,_0x4f8429=null,_0x559cf1=!0x1,_0x813a22=!0x1;for(const _0x1d53fb of _0x3fcc26){const _0x3d1c9a=_0x1d53fb['item'];_0x559cf1=_0x559cf1||_0xe317b6['isContent'](_0x3d1c9a);const _0x5b9ddd=_0x4c3276['mapper']['toViewElement'](_0x3d1c9a);if(_0x5b9ddd&&_0x5b9ddd['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x1d53fb['type']&&(_0xe317b6['isBlock'](_0x3d1c9a)&&!_0xe317b6['isLimit'](_0x3d1c9a)&&(_0x3d1c9a['nextSibling']||_0x11aa21['isAtEnd']?_0x32877f&&_0x32877f['parent']==_0x3d1c9a||(_0x32877f=_0x3d1c9a,_0x1a2b86(_0x1d53fb['previousPosition']),_0x813a22=!0x0):_0x4f8429=_0x4f8429||_0x1d53fb['previousPosition']));}function _0x1a2b86(_0xa2d4ab){const _0x3c023c=_0x4c3276['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x3394d5}),_0x23f2cd=_0x4c3276['mapper']['toViewPosition'](_0xa2d4ab);_0x232d9f['data']['isSuggestion']&&_0x4c3276['writer']['addClass']('ck-suggestion-marker-'+_0x3394d5+'-new',_0x3c023c),_0x4eff1f['activeChange']==_0x232d9f&&_0x4c3276['writer']['addClass']('ck-suggestion-marker--active',_0x3c023c),_0x4c3276['writer']['insert'](_0x23f2cd,_0x3c023c),_0x4c3276['mapper']['bindElementToMarker'](_0x3c023c,_0x495d7a['markerName']);}_0x559cf1||_0x813a22||!_0x4f8429||_0x1a2b86(_0x4f8429);};}(this['editor']),{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('removeMarker:revision',(_0x544dcf,_0x5177a7,_0x5b2f42)=>{const _0x2324f8=_0x5b2f42['mapper']['markerNameToElements'](_0x5177a7['markerName']);if(_0x2324f8){for(const _0x4d6d1f of _0x2324f8)(_0x4d6d1f['hasClass']('ck-suggestion-marker-split')||_0x4d6d1f['hasClass']('ck-suggestion-marker-merge'))&&(_0x5b2f42['mapper']['unbindElementFromMarkerName'](_0x4d6d1f,_0x5177a7['markerName']),_0x5b2f42['writer']['remove'](_0x4d6d1f));}},{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',(_0x35534e,_0xd6542d,_0x2ef5b2)=>{const _0xdf5db1=_0xd6542d['markerName']['split'](':')[0x1],_0x1a91bf=this['_getChangeFromId'](_0xdf5db1);if(!_0x1a91bf)return null;const _0x49690a='add'==_0x1a91bf['type']?'split':'merge';if(_0x2ef5b2['consumable']['test'](_0xd6542d['markerRange'],_0x35534e['name']))for(const _0x30a81a of _0xd6542d['markerRange']['getItems']()){if(!_0x30a81a['is']('element','softBreak'))continue;const _0x1a6f19=_0x2ef5b2['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x49690a}),_0x3013db=_0x2ef5b2['mapper']['toViewPosition'](this['editor']['model']['createPositionBefore'](_0x30a81a));_0x1a91bf['data']['isSuggestion']&&_0x2ef5b2['writer']['addClass']('ck-suggestion-marker-'+_0x49690a+'-new',_0x1a6f19),this['activeChange']==_0x1a91bf&&_0x2ef5b2['writer']['addClass']('ck-suggestion-marker--active',_0x1a6f19),_0x2ef5b2['writer']['insert'](_0x3013db,_0x1a6f19),_0x2ef5b2['mapper']['bindElementToMarker'](_0x1a6f19,_0xd6542d['markerName']);}},{'priority':'high'}),this['editor']['model']['document']['on']('change',()=>{this['editor']['editing']['view']['change'](_0x4fcef8=>{for(const _0x29cc77 of this['editor']['model']['document']['getRootNames']()){const _0x46bf92=this['editor']['model']['document']['getRoot'](_0x29cc77),_0x9f8191=this['editor']['editing']['view']['document']['getRoot'](_0x29cc77);if(_0x9f8191){const _0x59febc=_0x46bf92['getAttribute']('revisionHistoryAttachChange');if(_0x4fcef8['removeAttribute']('data-change-id',_0x9f8191),_0x4fcef8['removeClass']('ck-revision-history-root-add',_0x9f8191),_0x4fcef8['removeClass']('ck-revision-history-root-remove',_0x9f8191),_0x4fcef8['removeClass']('ck-revision-history-root--active',_0x9f8191),_0x59febc){const _0xa49f1=this['_getChangeFromId'](_0x59febc);if(!_0xa49f1)return null;_0x4fcef8['setAttribute']('data-change-id',_0x59febc,_0x9f8191),_0x4fcef8['addClass']('ck-revision-history-root-'+_0xa49f1['type'],_0x9f8191),this['activeChange']==_0xa49f1&&_0x4fcef8['addClass']('ck-revision-history-root--active',_0x9f8191);}}}});}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'comment','model':_0x14f5df=>'revision-comment:'+_0x14f5df,'converterPriority':'highest'}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'suggestion','model':_0x5013a6=>'revision-suggestion:'+_0x5013a6,'converterPriority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision-suggestion','view':_0x3db0ef=>({'name':'suggestion:'+_0x3db0ef,'group':'revision-suggestion'}),'converterPriority':'highest'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision-suggestion','view':_0x413858=>{const _0x27c956=_0x413858['markerName']['split'](':')[0x1];return'insertion'!=_0x27c956&&'deletion'!=_0x27c956?null:{'classes':['ck-suggestion-preview-marker','ck-suggestion-preview-marker-'+_0x27c956]};}}),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',(_0x4d3c16,_0x1edd93,_0x1426b9)=>{const _0x5c66bd=_0x1426b9['mapper']['markerNameToElements'](_0x1edd93['markerName']);if(_0x5c66bd){for(const _0x2346b7 of _0x5c66bd)_0x2346b7['is']('uiElement')&&(_0x1426b9['mapper']['unbindElementFromMarkerName'](_0x2346b7,_0x1edd93['markerName']),_0x1426b9['writer']['remove'](_0x2346b7));}},{'priority':'high'});}['_getChangeFromId'](_0x5b772c){return this['_changeIdToChange']['get'](_0x5b772c);}['_getViewForChange'](_0x1a57dc){return this['_changeView']&&this['_changeView']['destroy'](),this['_changeView']=new Z(this['editor']['locale'],_0x1a57dc),this['_changeView'];}['_initInteractions'](){this['editor']['model']['document']['selection']['observeMarkers']('revision'),this['on']('change:activeView',(_0x4ff61e,_0x4334cf,_0x337cd2,_0x13ac59)=>{_0x13ac59&&this['_balloon']['remove'](_0x13ac59),_0x337cd2&&(this['_balloon']['add']({'view':_0x337cd2,'stackId':'revisionHistoryLabel','position':{'target':()=>{const _0x2759ff=this['editor']['editing'],_0x294554=this['_getChangeFromId'](_0x337cd2['changeId']);let _0x5df58c;if(_0x294554['data']['isOnRoot']){const _0x2d2802=_0x2759ff['view']['getDomRoot'](_0x294554['rootName']);_0x5df58c=Array['from'](_0x2d2802['getClientRects']());}else{const _0xc095d3=this['editor']['model']['markers']['get']('revision:'+_0x337cd2['changeId']);_0x5df58c=Array['from'](_0x2759ff['mapper']['markerNameToElements'](_0xc095d3['name']))['map'](_0xc5c1d4=>_0x2759ff['view']['domConverter']['mapViewToDom'](_0xc5c1d4))['map'](_0x39f631=>Array['from'](_0x39f631['getClientRects']()))['flat']();}if(!this['_activeViewTarget'])return _0x5df58c[0x0];return _0x5df58c['find'](_0x2603d0=>_0x2603d0['top']-0x3<=this['_activeViewTarget']['y']&&_0x2603d0['bottom']+0x3>=this['_activeViewTarget']['y']&&_0x2603d0['left']-0x3<=this['_activeViewTarget']['x']&&_0x2603d0['right']+0x3>=this['_activeViewTarget']['x'])||_0x5df58c[0x0];}}}),this['_balloon']['showStack']('revisionHistoryLabel'));}),this['on']('change:activeChange',(_0x1ea648,_0x380927,_0x20de19,_0x2fec61)=>{this['activeView']=_0x20de19?this['_getViewForChange'](_0x20de19):null,this['editor']['model']['change'](()=>{const _0x408d0e=this['editor']['editing'];_0x2fec61&&(_0x2fec61['data']['isOnRoot']?_0x408d0e['view']['change'](_0x44d490=>{_0x44d490['removeClass']('ck-revision-history-root--active',_0x408d0e['view']['document']['getRoot'](_0x2fec61['rootName']));}):_0x408d0e['reconvertMarker']('revision:'+_0x2fec61['id'])),_0x20de19&&(_0x20de19['data']['isOnRoot']?_0x408d0e['view']['change'](_0x2f4df4=>{_0x2f4df4['addClass']('ck-revision-history-root--active',_0x408d0e['view']['document']['getRoot'](_0x20de19['rootName']));}):_0x408d0e['reconvertMarker']('revision:'+_0x20de19['id']));});}),this['listenTo'](this['editor']['editing']['view']['document'],'mouseover',(_0x3dccc5,_0x1bb2e0)=>{if(this['activeChange'])return;const _0x4df38c=this['_findChangeIdFromDomTarget'](_0x1bb2e0['target']),_0x54ff88=this['_changeIdToChange']['get'](_0x4df38c);_0x54ff88?(this['_activeViewTarget']={'x':_0x1bb2e0['domEvent']['x'],'y':_0x1bb2e0['domEvent']['y']},this['activeView']=this['_getViewForChange'](_0x54ff88)):(this['_activeViewTarget']=null,this['activeView']=null);}),this['listenTo'](this['editor']['editing']['view']['document'],'mousedown',(_0x8069fc,_0x2d31a7)=>{const _0x2027e0=this['_findChangeIdFromDomTarget'](_0x2d31a7['target']),_0x3e6a93=this['_changeIdToChange']['get'](_0x2027e0);_0x3e6a93?(this['_activeViewTarget']={'x':_0x2d31a7['domEvent']['x'],'y':_0x2d31a7['domEvent']['y']},_0x3e6a93===this['activeChange']?this['_balloon']['updatePosition']():this['activeChange']=_0x3e6a93):(this['_activeViewTarget']=null,this['activeChange']=null);});}['_findChangeIdFromDomTarget'](_0x5df638){do{const _0x38e29c=_0x5df638['getAttribute']('data-change-id');if(_0x38e29c)return _0x38e29c;_0x5df638=_0x5df638['parent'];}while(_0x5df638);return null;}['_cleanMarkers'](){this['editor']['model']['change'](_0x2cde2f=>{for(const _0x2974b8 of this['editor']['model']['markers'])_0x2cde2f['removeMarker'](_0x2974b8);});}}function et(_0x498cfa,_0x67df54){return(_0x28fa37,_0x595c59,_0x377b45)=>{if(!_0x377b45['consumable']['test'](_0x595c59['markerRange'],_0x28fa37['name']))return;const _0x43f66b=_0x595c59['markerRange']['getWalker'](),_0x5bd061=_0x595c59['markerRange']['start'],_0x2f4757=_0x498cfa['model']['schema'];let _0x1ff337=null,_0x245f96=null,_0x229e2c=!0x1,_0x2773c2=!0x1;for(const _0x538211 of _0x43f66b){const _0x27ca1c=_0x538211['item'];_0x229e2c=_0x229e2c||_0x2f4757['isContent'](_0x27ca1c);const _0x19f94c=_0x377b45['mapper']['toViewElement'](_0x27ca1c);if(_0x19f94c&&_0x19f94c['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x538211['type']&&(_0x2f4757['isBlock'](_0x27ca1c)&&!_0x2f4757['isLimit'](_0x27ca1c)&&(_0x27ca1c['nextSibling']||_0x5bd061['isAtEnd']?_0x1ff337&&_0x1ff337['parent']==_0x27ca1c||(_0x1ff337=_0x27ca1c,_0x2b5334(_0x538211['previousPosition']),_0x2773c2=!0x0):_0x245f96=_0x245f96||_0x538211['previousPosition']));}function _0x2b5334(_0x284f9a){const _0x4164d7=_0x377b45['mapper']['toViewPosition'](_0x284f9a),_0x52b3cd=_0x377b45['writer']['createUIElement']('span',{'class':'ck-suggestion-preview-marker-'+_0x67df54});_0x377b45['writer']['insert'](_0x4164d7,_0x52b3cd),_0x377b45['mapper']['bindElementToMarker'](_0x52b3cd,_0x595c59['markerName']);}_0x229e2c||_0x2773c2||!_0x245f96||_0x2b5334(_0x245f96);};}class bt extends _0x16bbd7{constructor(_0xd78980){super(_0xd78980);const _0x87a90f=_0xd78980['plugins']['get'](d);this['affectsData']=!0x1,this['listenTo'](_0x87a90f,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x87a90f,'change:isEnabled',()=>this['refresh']());}['execute'](){const _0x310068=this['editor'],_0x50f8af=_0x310068['plugins']['get'](d),_0x325b16=_0x50f8af['isReady']?_0x50f8af['diff']['newRevisionId']:null;_0x310068['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x325b16);}['refresh'](){const {isReady:_0x5a3404,isEnabled:_0x52d905}=this['editor']['plugins']['get'](d);this['isEnabled']=_0x5a3404&&_0x52d905;}}class yt extends _0x16bbd7{['_step'];constructor(_0x366e55,{direction:_0x38e6fd}){super(_0x366e55);const _0x2a60cb=_0x366e55['plugins']['get'](d);this['affectsData']=!0x1,this['_step']='forward'===_0x38e6fd?0x1:-0x1,this['listenTo'](_0x2a60cb,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x2a60cb,'change:isEnabled',()=>this['refresh']()),this['listenTo'](_0x2a60cb,'change:activeChange',()=>this['refresh']());}['execute'](){const _0x2cafb2=this['editor'],_0x5442b4=_0x2cafb2['plugins']['get'](d),{isNavigationMode:_0x48785e,currentChangeNumber:_0x143dc2}=_0x5442b4;let _0x5962df;if(_0x5442b4['activeChange']=_0x48785e?_0x5442b4['diff']['changes']['get'](_0x143dc2+this['_step']):_0x5442b4['diff']['changes']['first'],_0x5442b4['activeChange']['data']['isOnRoot'])_0x5962df=_0x2cafb2['editing']['view']['getDomRoot'](_0x5442b4['activeChange']['rootName']);else{const _0x2b8199=_0x2cafb2['model']['markers']['get']('revision:'+_0x5442b4['activeChange']['id']);_0x5962df=_0x545bb6(_0x2cafb2['editing'],_0x2b8199);}_0x410388({'target':_0x5962df,'viewportOffset':0x28});}['refresh'](){const {isNavigationMode:_0x506db6,currentChangeNumber:_0x56b10a,numberOfChanges:_0x19bbca,isReady:_0x35cb47,isEnabled:_0x1c7ca0}=this['editor']['plugins']['get'](d);this['isEnabled']=!!(_0x1c7ca0&&_0x35cb47&&_0x19bbca)&&(!_0x506db6||(0x1===this['_step']?_0x56b10a<_0x19bbca-0x1:_0x56b10a>0x0));}}class _i extends _0x47aea3{constructor(_0x334e8c){super(_0x334e8c);const _0x162c91=this['bindTemplate'],_0x4d115c=new _0x29ed67(_0x334e8c),_0x59697a=new _0x29ed67(_0x334e8c);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',(_0x3a966d,_0x5639b7)=>_0x3a966d&&_0x5639b7>0x0),this['bind']('_statusText')['to'](this,'isReady',this,'currentChangeNumber',this,'numberOfChanges',this,'isNavigationMode',(_0x25a28f,_0x4029fb,_0xef0be8,_0x4ee30d)=>{if(!_0x25a28f)return y(_0x334e8c,'Loading...');if(!_0xef0be8)return y(_0x334e8c,'No\x20changes');const _0x93a304=y(_0x334e8c,'NUMBER_OF_CHANGES',_0xef0be8);return _0x4ee30d?y(_0x334e8c,'X_OF_Y_CHANGES',[_0x4029fb+0x1,_0xef0be8]):_0x93a304;}),_0x4d115c['set']({'label':y(_0x334e8c,'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'}),_0x59697a['set']({'label':y(_0x334e8c,'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'}),_0x4d115c['bind']('isEnabled')['to'](this,'isBackwardNavigationEnabled'),_0x59697a['bind']('isEnabled')['to'](this,'isForwardNavigationEnabled'),_0x4d115c['on']('execute',()=>this['fire']('execute','backward')),_0x59697a['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',_0x162c91['if']('_isStatusLabelVisible','ck-hidden',_0x33e23e=>!_0x33e23e)]},'children':[{'text':_0x162c91['to']('isNavigationMode',_0x29b97e=>_0x29b97e?y(_0x334e8c,'EDIT_X_OF_Y_REVISIONS')+':\x20':y(_0x334e8c,'Total')+':\x20')}]},{'text':_0x162c91['to']('_statusText')}]},new _0x3ebe4e(),{'tag':'div','attributes':{'class':['ck-revision-history-ui__changes-navigation__navigation']},'children':[_0x4d115c,_0x59697a]}]});}}const ce='ck-editor__editable__loading-overlay';class de extends _0x508c8f{static get['pluginName'](){return'RevisionViewerLoadingOverlay';}['show'](){const _0x335189=this['editor']['editing']['view'];_0x335189['change'](_0x4aee8a=>{for(const _0x40c2e1 of _0x335189['document']['roots'])_0x4aee8a['addClass'](ce,_0x40c2e1);});}['hide'](){const _0x29321d=this['editor']['editing']['view'];_0x29321d['change'](_0x1ecea7=>{for(const _0x560f48 of _0x29321d['document']['roots'])_0x1ecea7['removeClass'](ce,_0x560f48);});}}class R extends _0x508c8f{static get['pluginName'](){return'RevisionViewerUI';}static get['requires'](){return[d,de];}['init'](){const _0x4e0d22=this['editor'],_0x22974f=_0x4e0d22['plugins']['get'](d),_0x5a8c27=_0x4e0d22['plugins']['get'](de);_0x4e0d22['ui']['componentFactory']['add']('exitToEditing',_0x47fa93=>{const _0x580dc3=new _0x29ed67(_0x47fa93);return _0x580dc3['set']({'label':y(_0x47fa93,'Back\x20to\x20editing'),'icon':_0x21c271['undo'],'withText':!0x0,'tooltip':!0x0,'class':'ck-revision-history-ui__back-to-editing'}),this['listenTo'](_0x580dc3,'execute',()=>{_0x4e0d22['config']['get']('revisionHistory')['closeRevisionViewerCallback']();}),_0x580dc3;}),_0x4e0d22['ui']['componentFactory']['add']('restoreRevision',_0xc670d=>{const _0x5da6e0=new _0x29ed67(_0xc670d);return _0x5da6e0['set']({'label':y(_0xc670d,'Restore\x20this\x20revision'),'withText':!0x0,'tooltip':!0x0}),_0x5da6e0['bind']('isEnabled')['to'](_0x4e0d22['commands']['get']('restoreRevision')),this['listenTo'](_0x5da6e0,'execute',()=>_0x4e0d22['execute']('restoreRevision')),_0x5da6e0;}),_0x4e0d22['ui']['componentFactory']['add']('changesNavigation',_0x51095e=>{const _0x3d7eef=new _i(_0x51095e),_0x2b1651=_0x4e0d22['commands']['get']('showPreviousChange'),_0x2ad001=_0x4e0d22['commands']['get']('showNextChange');return _0x3d7eef['bind']('isBackwardNavigationEnabled')['to'](_0x2b1651,'isEnabled'),_0x3d7eef['bind']('isForwardNavigationEnabled')['to'](_0x2ad001,'isEnabled'),_0x3d7eef['bind']('isReady','currentChangeNumber','numberOfChanges','isNavigationMode')['to'](_0x22974f),this['listenTo'](_0x3d7eef,'execute',(_0x3db093,_0x4c1ef5)=>{_0x4e0d22['execute']('forward'===_0x4c1ef5?'showNextChange':'showPreviousChange');}),_0x3d7eef;}),_0x5a8c27['show'](),_0x22974f['on']('change:isReady',(_0xbcb099,_0xb97197,_0x378c5e)=>{_0x378c5e?_0x5a8c27['hide']():_0x5a8c27['show']();});}}class kt extends at{['_resizeObserver']=null;constructor(_0x37bcc7,_0x158e0d){super(_0x37bcc7,_0x158e0d);const _0x29ede=this['bindTemplate'];this['set']({'label':y(_0x37bcc7,'Revision\x20name'),'_tooltipString':''}),this['fieldView']['placeholder']=y(_0x37bcc7,'Enter\x20the\x20revision\x20name'),this['extendTemplate']({'tag':'span','attributes':{'class':['ck-revision-history-sidebar__revision-name'],'data-cke-tooltip-text':_0x29ede['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 _0x1319f3=this['fieldView']['element'];this['_tooltipString']=_0x1319f3['scrollWidth']>_0x1319f3['clientWidth']&&_0x1319f3['value']||'';}}class ti extends _0x47aea3{constructor(_0x4e8ca3,_0x58d6a6,_0x540f25){super(_0x4e8ca3);const _0x4b08d8=new _0x3bc2cb();_0x4b08d8['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 _0x418efb=['ck','ck-revision-history-sidebar__revision-author'];_0x540f25&&_0x418efb['push']('ck-revision-history-sidebar__revision-author_creator');const _0x9781b0=[{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__revision-author__name'],'title':y(_0x4e8ca3,_0x540f25?'Revision\x20creator':'Revision\x20author')},'children':[_0x4b08d8,_0x58d6a6['name']]}];this['setTemplate']({'tag':'li','attributes':{'class':_0x418efb},'children':_0x9781b0});}}function ni(_0x4db8d6,_0x2b78d9){const _0x1216b8=_0x4db8d6['bindTemplate'],_0x1ae398=_0x4db8d6['locale'],_0x59bf8c=_0x1c4f3f(_0x1ae398);_0x59bf8c['panelPosition']='sw';const _0x590ead=function(_0x558f77,_0x4c016f){const _0x5a263c=function(_0x1c1265,_0xf0fd6e){const _0x516b73=_0x1c1265['locale'],_0x48e21b={'Compare\x20against\x20selected':y(_0x516b73,'Compare\x20against\x20selected'),'Name\x20this\x20revision':y(_0x516b73,'Name\x20this\x20revision'),'Restore\x20this\x20revision':y(_0x516b73,'Restore\x20this\x20revision')};return _0xf0fd6e['map'](_0x6c2b8b=>{const _0x3fd170=_0x48e21b[_0x6c2b8b['name']];return _0x3fd170&&_0x3fd170!==_0x6c2b8b['name']&&(_0x6c2b8b['name']=_0x3fd170),_0x6c2b8b;});}(_0x558f77,_0x4c016f),_0x1e5ab4=new _0x3f7d5c();for(const _0x322945 of _0x5a263c){const _0x4490c9={'type':'button','model':new to({'label':_0x322945['name'],'class':_0x322945['class'],'withText':!0x0,'role':'menuitem','_action':_0x322945['action']})};_0x4490c9['model']['bind']('isEnabled')['to'](_0x558f77,'isActionsDropdownOpen',_0x46cce0=>'function'!=typeof _0x322945['isEnabled']||(!_0x46cce0||_0x322945['isEnabled'](_0x558f77))),_0x1e5ab4['add'](_0x4490c9);}return _0x1e5ab4;}(_0x4db8d6,_0x2b78d9);return _0x4db8d6['bind']('isActionsDropdownOpen')['to'](_0x59bf8c,'isOpen'),_0x59bf8c['buttonView']['set']({'label':y(_0x1ae398,'Show\x20more\x20items'),'tooltip':!0x0,'tooltipPosition':'sw','icon':_0x21c271['threeVerticalDots']}),_0x59bf8c['extendTemplate']({'attributes':{'class':['ck-revision-history-sidebar__revision__actions',_0x1216b8['if']('isActionsDropdownOpen','ck-on')]},'on':{'click':_0x1216b8['to'](_0x953210=>_0x953210['stopPropagation']())}}),_0x59bf8c['on']('execute',_0x75f95b=>{_0x4db8d6['isReady']&&'function'==typeof _0x75f95b['source']['_action']&&_0x75f95b['source']['_action'](_0x4db8d6);}),_0x56e1fe(_0x59bf8c,_0x590ead,{'role':'menu'}),_0x59bf8c['listenTo'](_0x4db8d6,'change:isActionsDropdownOpen',(_0x305045,_0x3adeab,_0x1c5a4e)=>{if(_0x1c5a4e)for(const _0x4b60a0 of _0x59bf8c['listView']['items']){const _0x36c530=_0x4b60a0['children']['first'],_0x22e156=_0x2b78d9['find'](_0x3c030c=>_0x3c030c['action']===_0x36c530['_action'])['isVisible'];_0x4b60a0['isVisible']=void 0x0===_0x22e156||_0x22e156(_0x4db8d6);}}),_0x59bf8c;}class ai extends/* #__PURE__ -- @preserve */
26
- _0x11ca7e(_0x47aea3){['id'];['revisionNameView'];['revisionActionsView'];['_revision'];['_requireRevisionName'];constructor(_0x5a9c28,_0x52c0ef,_0x44ca1f,_0x1ab2ef){super(_0x5a9c28);const _0x488755=this['bindTemplate'],_0x3444b8=function(_0x4582d5,_0x30eda0){const _0x40004c=Array['from'](_0x30eda0['authors'])['filter'](_0x2f98e9=>_0x2f98e9!=_0x30eda0['creator']);return _0x30eda0['creator']&&_0x40004c['unshift'](_0x30eda0['creator']),_0x40004c['map'](_0x179dd8=>new ti(_0x4582d5,_0x179dd8,_0x179dd8==_0x30eda0['creator']));}(_0x5a9c28,_0x52c0ef);this['id']=_0x52c0ef['id'],this['_revision']=_0x52c0ef,this['_requireRevisionName']=_0x1ab2ef,this['bind']('name','createdAt')['to'](_0x52c0ef),this['bind']('_createdAtFormatted')['to'](this,'createdAt',_0x26415b=>{return _0x96d3f2=_0x5a9c28['uiLanguage'],(_0x389683=_0x26415b)['toLocaleDateString'](_0x96d3f2,{'month':'long','day':'numeric'})+',\x20'+_0x389683['toLocaleTimeString'](_0x96d3f2,{'hour':'numeric','minute':'numeric'});var _0x96d3f2,_0x389683;}),this['set']('isSelected',!0x1),this['set']('isHighlighted',!0x1),this['set']('isActionsDropdownOpen',!0x1),this['set']('isReady',!0x1),this['set']('isEnabled',!0x1),this['revisionNameView']=new kt(_0x5a9c28,_0x52b2b4),this['revisionNameView']['fieldView']['extendTemplate']({'attributes':{'maxlength':'220'}}),this['revisionNameView']['fieldView']['bind']('value')['to'](this,'name',_0x28b400=>_0x28b400||this['_createdAtFormatted']),this['revisionNameView']['bind']('isEnabled')['to'](this,'isSelected',this,'isEnabled',(_0x3fe1d7,_0x3b0262)=>_0x3fe1d7&&_0x3b0262),this['revisionActionsView']=_0x44ca1f&&_0x44ca1f['length']?ni(this,_0x44ca1f):'',this['revisionActionsView']&&this['revisionActionsView']['bind']('isEnabled')['to'](this),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision-wrapper',_0x488755['if']('isConfirm','ck-revision-history-sidebar__revision-wrapper_confirmation_visible')]},'children':[{'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision',_0x488755['if']('isEnabled','ck-disabled',_0x60bc45=>!_0x60bc45),_0x488755['if']('isSelected','ck-revision-history-sidebar__revision_selected'),_0x488755['if']('isHighlighted','ck-revision-history-sidebar__revision_highlighted'),_0x488755['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':_0x488755['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':_0x3444b8}]},this['revisionActionsView']],'on':{'click':_0x488755['to'](_0x53715c=>{_0x53715c['srcElement']['closest']('.ck-thread__remove-confirm')||this['isReady']&&this['isEnabled']&&this['fire']('select',{'id':this['id']});})}}]});}['render'](){super['render']();const _0x4753ef=this['revisionNameView']['fieldView']['element'];this['listenTo'](_0x4753ef,'change',()=>{this['_requireRevisionName']&&!_0x4753ef['value']||this['fire']('setName',{'id':this['id'],'name':_0x4753ef['value']}),_0x4753ef['value']||(_0x4753ef['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(_0x5e4fcb,_0x7afe7){const _0x5b14ac=_0x2dc829['fromJSDate'](_0x5e4fcb)['setLocale'](_0x7afe7),_0x125cad=_0x2dc829['local'](),_0x26e799=_0x125cad['minus']({'days':0x1})['startOf']('day');let _0x532286,_0x138aa6;return _0x5b14ac['hasSame'](_0x125cad,'day')?(_0x532286=_0x5b14ac['startOf']('day')['toJSDate'](),_0x138aa6=_0x5b14ac['toRelativeCalendar']()):_0x5b14ac['hasSame'](_0x26e799,'day')?(_0x532286=_0x26e799['toJSDate'](),_0x138aa6=_0x5b14ac['toRelativeCalendar']()):_0x5b14ac['hasSame'](_0x125cad,'week')?(_0x532286=_0x5b14ac['startOf']('week')['toJSDate'](),_0x138aa6=_0x5b14ac['weekdayLong']||''):_0x5b14ac['hasSame'](_0x125cad,'year')?(_0x532286=_0x5b14ac['startOf']('month')['toJSDate'](),_0x138aa6=_0x5b14ac['monthLong']||''):(_0x532286=_0x5b14ac['startOf']('year')['toJSDate'](),_0x138aa6=String(_0x5b14ac['year'])),{'startDate':_0x532286,'localizedPeriodName':_0x138aa6};}class mi extends _0x47aea3{['startDate'];['revisionViews'];['_revisionActions'];['_requireRevisionName'];constructor(_0x1e4d66,_0x13e219,_0x3c1bc6,_0x147147){super(_0x1e4d66);const _0x555317=di(_0x13e219,this['locale']['uiLanguage'])['localizedPeriodName'];this['startDate']=_0x13e219,this['revisionViews']=this['createCollection'](),this['_revisionActions']=_0x3c1bc6,this['_requireRevisionName']=_0x147147,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':_0x555317}]},{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__time-period__revisions']},'children':this['revisionViews']}]});}['addRevision'](_0x159118){const _0x4d91bb=new ai(this['locale'],_0x159118,this['_revisionActions'],this['_requireRevisionName']);this['revisionViews']['add'](_0x4d91bb);}['removeRevision'](_0x85e1f6){const _0x37bd53=this['revisionViews']['find'](_0x2c863f=>_0x2c863f['id']===_0x85e1f6['id']);this['revisionViews']['remove'](_0x37bd53);}}class as extends _0x47aea3{constructor(_0x505a20){super(_0x505a20);const _0x215950=new _0x3bc2cb();_0x215950['content']=_0x21c271['history'],this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all','ck-revision-history-sidebar__header']},'children':[_0x215950,{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__header__label']},'children':[y(_0x505a20,'Revision\x20history')]}]});}}class ci extends _0x47aea3{['timePeriodViews'];['_revisions'];['_revisionActions'];['_requireRevisionName'];constructor(_0xad122d,_0x19677d,_0x1b9862,_0x4cffd8){super(_0xad122d);const _0x4c5b97=this['bindTemplate'];this['timePeriodViews']=this['createCollection'](),this['timePeriodViews']['delegate']('select')['to'](this),this['timePeriodViews']['delegate']('setName')['to'](this),this['_revisions']=_0x19677d,this['_revisionActions']=_0x1b9862,this['_requireRevisionName']=_0x4cffd8,this['on']('select',(_0x3e4e21,_0x31cfed)=>{this['fire']('revisionSelected',_0x31cfed);}),this['on']('setName',(_0x4f8e7a,_0x2ab6df)=>{this['fire']('revisionSetName',_0x2ab6df);}),this['set']('isEnabled',!0x1),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-rounded-corners','ck-revision-history-sidebar']},'children':[new as(_0xad122d),{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__timeline',_0x4c5b97['if']('isEnabled','ck-disabled',_0x51b468=>!_0x51b468)]},'children':this['timePeriodViews']}]});}['render'](){super['render']();for(const _0x212857 of this['_revisions'])this['_addRevision'](_0x212857);this['_revisions']['on']('add',(_0x52835c,_0x235e05)=>{this['_addRevision'](_0x235e05);}),this['_revisions']['on']('remove',(_0x532daa,_0x4b9725)=>{this['_removeRevision'](_0x4b9725);});}get['revisionViews'](){return this['timePeriodViews']['map'](_0x260d19=>_0x260d19['revisionViews']['map'](_0x5db5c1=>_0x5db5c1))['flat']();}['selectRevision'](_0x4e7fff){for(const _0x4ebe85 of this['revisionViews'])_0x4e7fff&&_0x4e7fff['id']===_0x4ebe85['id']?_0x4ebe85['select']():_0x4ebe85['deselect']();}['highlightRevisions'](_0x26ee6b){for(const _0x2bbc94 of this['revisionViews'])_0x26ee6b['some'](({id:_0x704173})=>_0x704173===_0x2bbc94['id'])?_0x2bbc94['highlight']():_0x2bbc94['unhighlight']();}['_addRevision'](_0x40085a){const _0x18ced4=di(_0x40085a['createdAt'],this['locale']['uiLanguage'])['startDate'];let _0x35f6c9=this['timePeriodViews']['get'](0x0);_0x35f6c9&&_0x35f6c9['startDate']['getTime']()===_0x18ced4['getTime']()||(_0x35f6c9=new mi(this['locale'],_0x18ced4,this['_revisionActions'],this['_requireRevisionName']),this['timePeriodViews']['add'](_0x35f6c9)),_0x35f6c9['addRevision'](_0x40085a);}['_removeRevision'](_0xcfdb4d){const _0x4735d4=di(_0xcfdb4d['createdAt'],this['locale']['uiLanguage'])['startDate'];this['_getTimePeriodViewByStartDate'](_0x4735d4)['removeRevision'](_0xcfdb4d);}['_getTimePeriodViewByStartDate'](_0x3d5b09){return this['timePeriodViews']['find'](_0x1276f4=>_0x1276f4['startDate']['getTime']()===_0x3d5b09['getTime']());}}class w extends _0x508c8f{['_revisionViewer'];['_revisionsRepository'];['_sidebarView'];static ['defaultRevisionActions']=/* #__PURE__ -- @preserve */
23
+ import{ObservableMixin as _0x20aaba,uid as _0x4fb95c,Collection as _0x3d976d,logWarning as _0x1de360,FocusTracker as _0x3f6af9,KeystrokeHandler as _0x15c615,scrollViewportToShowTarget as _0x131832,ResizeObserver as mt,ElementReplacer as nt,CKEditorError as _0x5625e9}from'@ckeditor/ckeditor5-utils/dist/index.js';import{cloneDeep as _0x419818,set as _0x26d088,unset as _0x2d7fb1,isEqual as _0x2026cf}from'lodash-es';import{Plugin as _0x2594ac,Context as _0x41d3ac,PendingActions as _0x2b5bd0,icons as _0x51adf3,Command as _0x37b8db,ElementApiMixin as rt,Editor as it}from'@ckeditor/ckeditor5-core/dist/index.js';import{Users as _0x11e0db,getMarkerDomElement as _0x4e92c7,ConfirmMixin as _0x139617,sanitizeEditorConfig as _0x2dd241}from'ckeditor5-collaboration/dist/index.js';import{ViewDocumentFragment as _0xabeb3b,ViewText as _0x1350e4,ViewElement as _0x4a1b8c,Element as ft,Range as vt,Position as gt,DocumentFragment as wt,ViewContainerElement as _0x4071de,ViewAttributeElement as _0x15f220,ViewEmptyElement as _0x1f144e,ViewRawElement as _0x228645,ViewUIElement as _0x436f61,Text as _t}from'@ckeditor/ckeditor5-engine/dist/index.js';import{View as _0x31e91f,injectCssTransitionDisabler as ts,submitHandler as _0x1f889f,LabeledFieldView as at,createLabeledInputText as _0x35f5d5,createDropdown as _0x9fb3d7,ListView as te,ListItemView as _0x526e3e,ButtonView as _0x1f8943,MenuBarMenuView as _0x2d1e8a,MenuBarMenuListView as _0x970d66,MenuBarMenuListItemView as _0x897cfa,MenuBarMenuListItemButtonView as _0x495090,ContextualBalloon as _0x5a3ef2,ToolbarSeparatorView as _0x9d488e,IconView as _0x41224a,addListToDropdown as _0x2b6d93,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 _0x34f29b}from'luxon';class a extends/* #__PURE__ -- @preserve */
24
+ _0x20aaba(){['id'];['creator'];['authors'];['diffData'];['toVersion'];['fromVersion'];['model'];constructor(_0x32faee){super(),this['id']=_0x32faee['id']||_0x4fb95c(),this['creator']=_0x32faee['creator']||null,this['authors']=_0x32faee['authors']||[],this['diffData']=_0x32faee['diffData']||null,this['toVersion']=_0x32faee['toVersion']||0x0,this['fromVersion']=_0x32faee['fromVersion']||0x0,this['set']('name',_0x32faee['name']||''),this['set']('createdAt',_0x32faee['createdAt']||new Date()),this['set']('attributes',_0x32faee['attributes']||{});}['setName'](_0x18eed9){this['_update']({'name':_0x18eed9});}['setAttribute'](_0x2c6b15,_0x38a389){const _0x108bcf=_0x419818(this['attributes']);_0x26d088(_0x108bcf,_0x2c6b15,_0x38a389),this['_update']({'attributes':_0x108bcf});}['removeAttribute'](_0x103f4b){const _0x1b3836=_0x419818(this['attributes']);_0x2d7fb1(_0x1b3836,_0x103f4b),this['_update']({'attributes':_0x1b3836});}['_update'](_0x35e63c,_0x2d3679=!0x1){let _0x4366b2=!0x1;const _0x5274ed={'id':this['id']},_0x5a2128=['name','createdAt','diffData','authors','attributes','toVersion','fromVersion','creatorId'];for(const _0x2c21f2 of _0x5a2128){const _0x4383ab=_0x35e63c[_0x2c21f2];void 0x0!==_0x4383ab&&_0x4383ab!==this[_0x2c21f2]&&(this[_0x2c21f2]=_0x4383ab,_0x5274ed[_0x2c21f2]=_0x4383ab,_0x4366b2=!0x0);}_0x4366b2&&(_0x5274ed['authors']&&(_0x5274ed['authorsIds']=_0x5274ed['authors']['map'](_0x2c37ee=>_0x2c37ee['id']),delete _0x5274ed['authors']),this['fire']('_update',_0x5274ed,_0x2d3679));}['toJSON'](){return{'id':this['id'],'name':this['name'],'creatorId':this['creator']?this['creator']['id']:null,'authorsIds':this['authors']['map'](_0x263292=>_0x263292['id']),'diffData':this['diffData'],'createdAt':this['createdAt'],'attributes':this['attributes'],'fromVersion':this['fromVersion'],'toVersion':this['toVersion']};}}class A extends _0x2594ac{['_revisions'];static get['requires'](){return[_0x11e0db];}static get['pluginName'](){return'RevisionsRepository';}get['length'](){return this['_revisions']['length'];}constructor(_0x4e0c07){super(_0x4e0c07),this['_revisions']=new _0x3d976d();}['afterInit'](){!function(_0x51100a){function _0x5b4b74(_0x2a53b0,_0x2627d1,_0x267a9f){const _0x2d3063={};_0x2d3063[_0x7f4610([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])]={0x10:0xa,0x18:0xc,0x20:0xe},_0x2d3063[_0x7f4610([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],_0x2d3063[_0x7f4610([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],_0x2d3063[_0x7f4610([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],_0x2d3063[_0x7f4610([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],_0x2d3063[_0x7f4610([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],_0x2d3063[_0x7f4610([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],_0x2d3063[_0x7f4610([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],_0x2d3063[_0x7f4610([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],_0x2d3063[_0x7f4610([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],_0x2d3063[_0x7f4610([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 _0x2a6e46=new Uint8Array(0x10);for(let _0x44c875=0xf;_0x44c875>=0x0;--_0x44c875)_0x2a6e46[_0x44c875]=_0x267a9f%0x100,_0x267a9f=parseInt(_0x267a9f/0x100);let _0x3770c9=null,_0x242d12=0x10;const _0x2f5014=new Uint8Array(_0x2627d1),_0x1a656a=[],_0x259869=[];_0x486513();for(let _0x5efe86=0x0;_0x5efe86<_0x2a53b0[_0x7f4610([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5efe86++)0x10===_0x242d12&&(_0x3770c9=_0x446807(_0x2a6e46),_0x242d12=0x0,_0x3605cc(_0x2a6e46)),_0x2a53b0[_0x5efe86]^=_0x3770c9[_0x242d12++];return _0x2a53b0;function _0x4a2072(_0x42f17d){const _0x4d5109=[];for(let _0x547199=0x0;_0x547199<_0x42f17d[_0x7f4610([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x547199+=0x4)_0x4d5109[_0x7f4610([0x70,0x75,0x73,0x68])](_0x42f17d[_0x547199]<<0x18|_0x42f17d[_0x547199+0x1]<<0x10|_0x42f17d[_0x547199+0x2]<<0x8|_0x42f17d[_0x547199+0x3]);return _0x4d5109;}function _0x3605cc(_0x56b57e){for(let _0x5e6bfb=0xf;_0x5e6bfb>=0x0;_0x5e6bfb--){if(0xff!==_0x56b57e[_0x5e6bfb]){_0x56b57e[_0x5e6bfb]++;break;}_0x56b57e[_0x5e6bfb]=0x0;}}function _0x446807(_0x3e501f){const _0x2c9d0a=_0x1a656a[_0x7f4610([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x1,_0x5cdd0d=[0x0,0x0,0x0,0x0];let t=_0x4a2072(_0x3e501f);for(let _0x3afc47=0x0;_0x3afc47<0x4;_0x3afc47++)t[_0x3afc47]^=_0x1a656a[0x0][_0x3afc47];for(let _0x36ff47=0x1;_0x36ff47<_0x2c9d0a;_0x36ff47++){for(let _0x19e045=0x0;_0x19e045<0x4;_0x19e045++)_0x5cdd0d[_0x19e045]=_0x2d3063[_0x7f4610([0x54,0x31])][t[_0x19e045]>>0x18&0xff]^_0x2d3063[_0x7f4610([0x54,0x32])][t[(_0x19e045+0x1)%0x4]>>0x10&0xff]^_0x2d3063[_0x7f4610([0x54,0x33])][t[(_0x19e045+0x2)%0x4]>>0x8&0xff]^_0x2d3063[_0x7f4610([0x54,0x34])][0xff&t[(_0x19e045+0x3)%0x4]]^_0x1a656a[_0x36ff47][_0x19e045];t=_0x5cdd0d[_0x7f4610([0x73,0x6c,0x69,0x63,0x65])]();}const _0x5c6826=new Uint8Array(0x10);let _0x70a12c;for(let _0x1fab37=0x0;_0x1fab37<0x4;_0x1fab37++)_0x70a12c=_0x1a656a[_0x2c9d0a][_0x1fab37],_0x5c6826[0x4*_0x1fab37]=0xff&(_0x2d3063[_0x7f4610([0x53])][t[_0x1fab37]>>0x18&0xff]^_0x70a12c>>0x18),_0x5c6826[0x4*_0x1fab37+0x1]=0xff&(_0x2d3063[_0x7f4610([0x53])][t[(_0x1fab37+0x1)%0x4]>>0x10&0xff]^_0x70a12c>>0x10),_0x5c6826[0x4*_0x1fab37+0x2]=0xff&(_0x2d3063[_0x7f4610([0x53])][t[(_0x1fab37+0x2)%0x4]>>0x8&0xff]^_0x70a12c>>0x8),_0x5c6826[0x4*_0x1fab37+0x3]=0xff&(_0x2d3063[_0x7f4610([0x53])][0xff&t[(_0x1fab37+0x3)%0x4]]^_0x70a12c);return _0x5c6826;}function _0x486513(){const _0xee3057=_0x2d3063[_0x7f4610([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])][_0x2f5014[_0x7f4610([0x6c,0x65,0x6e,0x67,0x74,0x68])]];for(let _0x42fe63=0x0;_0x42fe63<=_0xee3057;_0x42fe63++)_0x1a656a[_0x7f4610([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]),_0x259869[_0x7f4610([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]);const _0x30618f=0x4*(_0xee3057+0x1),_0x4bb0e1=_0x2f5014[_0x7f4610([0x6c,0x65,0x6e,0x67,0x74,0x68])]/0x4,_0x4b4be9=_0x4a2072(_0x2f5014);let _0x52d4e;for(let _0x620f76=0x0;_0x620f76<_0x4bb0e1;_0x620f76++)_0x52d4e=_0x620f76>>0x2,_0x1a656a[_0x52d4e][_0x620f76%0x4]=_0x4b4be9[_0x620f76],_0x259869[_0xee3057-_0x52d4e][_0x620f76%0x4]=_0x4b4be9[_0x620f76];let _0x2933d8,_0x534a9c=0x0,t=_0x4bb0e1;for(;t<_0x30618f;){_0x2933d8=_0x4b4be9[_0x4bb0e1-0x1],_0x4b4be9[0x0]^=_0x2d3063[_0x7f4610([0x53])][_0x2933d8>>0x10&0xff]<<0x18^_0x2d3063[_0x7f4610([0x53])][_0x2933d8>>0x8&0xff]<<0x10^_0x2d3063[_0x7f4610([0x53])][0xff&_0x2933d8]<<0x8^_0x2d3063[_0x7f4610([0x53])][_0x2933d8>>0x18&0xff]^_0x2d3063[_0x7f4610([0x72,0x63,0x6f,0x6e])][_0x534a9c]<<0x18,_0x534a9c+=0x1;for(let _0x4a6f9a=0x1;_0x4a6f9a<_0x4bb0e1/0x2;_0x4a6f9a++)_0x4b4be9[_0x4a6f9a]^=_0x4b4be9[_0x4a6f9a-0x1];_0x2933d8=_0x4b4be9[_0x4bb0e1/0x2-0x1],_0x4b4be9[_0x4bb0e1/0x2]^=_0x2d3063[_0x7f4610([0x53])][0xff&_0x2933d8]^_0x2d3063[_0x7f4610([0x53])][_0x2933d8>>0x8&0xff]<<0x8^_0x2d3063[_0x7f4610([0x53])][_0x2933d8>>0x10&0xff]<<0x10^_0x2d3063[_0x7f4610([0x53])][_0x2933d8>>0x18&0xff]<<0x18;for(let _0x329056=_0x4bb0e1/0x2+0x1;_0x329056<_0x4bb0e1;_0x329056++)_0x4b4be9[_0x329056]^=_0x4b4be9[_0x329056-0x1];let _0x1bd65b,_0x226905,_0x3bd2ff=0x0;for(;_0x3bd2ff<_0x4bb0e1&&t<_0x30618f;)_0x1bd65b=t>>0x2,_0x226905=t%0x4,_0x1a656a[_0x1bd65b][_0x226905]=_0x4b4be9[_0x3bd2ff],_0x259869[_0xee3057-_0x1bd65b][_0x226905]=_0x4b4be9[_0x3bd2ff++],t++;}for(let _0x2ef3ca=0x1;_0x2ef3ca<_0xee3057;_0x2ef3ca++)for(let _0x12d403=0x0;_0x12d403<0x4;_0x12d403++)_0x2933d8=_0x259869[_0x2ef3ca][_0x12d403],_0x259869[_0x2ef3ca][_0x12d403]=_0x2d3063[_0x7f4610([0x55,0x31])][_0x2933d8>>0x18&0xff]^_0x2d3063[_0x7f4610([0x55,0x32])][_0x2933d8>>0x10&0xff]^_0x2d3063[_0x7f4610([0x55,0x33])][_0x2933d8>>0x8&0xff]^_0x2d3063[_0x7f4610([0x55,0x34])][0xff&_0x2933d8];}}function _0x7f4610(_0x1e999d){return _0x1e999d['map'](_0x5f1cdd=>String['fromCharCode'](_0x5f1cdd))['join']('');}(_0x2373e4=>{function _0x313cd1(){const _0xec2c2d=[{[_0x7f4610([0x69,0x64])]:0x1,[_0x7f4610([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x7f4610([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73]),[_0x7f4610([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x7f4610([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x7f4610([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x7f4610([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x7f4610([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x7f4610([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x7f4610([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]:[{[_0x7f4610([0x69,0x64])]:0x2,[_0x7f4610([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x7f4610([0x54,0x72,0x61,0x63,0x6b,0x20,0x43,0x68,0x61,0x6e,0x67,0x65,0x73]),[_0x7f4610([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x7f4610([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x7f4610([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x7f4610([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x7f4610([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x7f4610([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]),[_0x7f4610([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x7f4610([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x7f4610([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x7f4610([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}}],[_0x7f4610([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x7f4610([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x7f4610([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x7f4610([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x7f4610([0x69,0x64])]:0x3,[_0x7f4610([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x7f4610([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e]),[_0x7f4610([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x7f4610([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x6f,0x6f,0x6b,0x75,0x70]),[_0x7f4610([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x7f4610([0x70,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x7f4610([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x7f4610([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x7f4610([0x69,0x64])]:0x4,[_0x7f4610([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x7f4610([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x20,0x48,0x69,0x73,0x74,0x6f,0x72,0x79]),[_0x7f4610([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x7f4610([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x7f4610([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x7f4610([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x7f4610([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x7f4610([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]),[_0x7f4610([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x7f4610([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x7f4610([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x7f4610([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x7f4610([0x69,0x64])]:0x5,[_0x7f4610([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x7f4610([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x20,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65]),[_0x7f4610([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x7f4610([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65,0x55,0x49]),[_0x7f4610([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x7f4610([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]),[_0x7f4610([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x7f4610([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x7f4610([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x7f4610([0x66,0x67,0x69])]:[0xc]}},{[_0x7f4610([0x69,0x64])]:0x6,[_0x7f4610([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x7f4610([0x46,0x6f,0x72,0x6d,0x61,0x74,0x20,0x50,0x61,0x69,0x6e,0x74,0x65,0x72]),[_0x7f4610([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x7f4610([0x46,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x55,0x49]),[_0x7f4610([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x7f4610([0x66,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x7f4610([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x7f4610([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x7f4610([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x7f4610([0x66,0x67,0x69])]:[0xc]}},{[_0x7f4610([0x69,0x64])]:0x7,[_0x7f4610([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x7f4610([0x53,0x6c,0x61,0x73,0x68,0x20,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64]),[_0x7f4610([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x7f4610([0x53,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x55,0x49]),[_0x7f4610([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x7f4610([0x73,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x7f4610([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x7f4610([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x7f4610([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x7f4610([0x66,0x67,0x69])]:[0xc]}},{[_0x7f4610([0x69,0x64])]:0x8,[_0x7f4610([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x7f4610([0x54,0x61,0x62,0x6c,0x65,0x20,0x6f,0x66,0x20,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73]),[_0x7f4610([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x7f4610([0x54,0x61,0x62,0x6c,0x65,0x4f,0x66,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x7f4610([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x7f4610([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]),[_0x7f4610([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x7f4610([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x7f4610([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x7f4610([0x66,0x67,0x69])]:[0xc]}},{[_0x7f4610([0x69,0x64])]:0x9,[_0x7f4610([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x7f4610([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65]),[_0x7f4610([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x7f4610([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x55,0x49]),[_0x7f4610([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x7f4610([0x74,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x7f4610([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x7f4610([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x7f4610([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x7f4610([0x66,0x67,0x69])]:[0xc,0xe]}},{[_0x7f4610([0x69,0x64])]:0xa,[_0x7f4610([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x7f4610([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]),[_0x7f4610([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x7f4610([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]),[_0x7f4610([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x7f4610([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]),[_0x7f4610([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x7f4610([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x7f4610([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x7f4610([0x66,0x67,0x69])]:[0xc]}},{[_0x7f4610([0x69,0x64])]:0xb,[_0x7f4610([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x7f4610([0x41,0x49,0x20,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74]),[_0x7f4610([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x7f4610([0x41,0x49,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74,0x55,0x49]),[_0x7f4610([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x7f4610([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x7f4610([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x7f4610([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x7f4610([0x69,0x64])]:0xc,[_0x7f4610([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x7f4610([0x50,0x72,0x6f,0x64,0x75,0x63,0x74,0x69,0x76,0x69,0x74,0x79,0x20,0x70,0x61,0x63,0x6b])},{[_0x7f4610([0x69,0x64])]:0xd,[_0x7f4610([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x7f4610([0x43,0x61,0x73,0x65,0x20,0x43,0x68,0x61,0x6e,0x67,0x65]),[_0x7f4610([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x7f4610([0x43,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x55,0x49]),[_0x7f4610([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x7f4610([0x63,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x7f4610([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x7f4610([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x7f4610([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x7f4610([0x66,0x67,0x69])]:[0xc]}},{[_0x7f4610([0x69,0x64])]:0xe,[_0x7f4610([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x7f4610([0x44,0x72,0x75,0x70,0x61,0x6c,0x20,0x70,0x61,0x63,0x6b]),[_0x7f4610([0x66,0x6f,0x72,0x62,0x69,0x64,0x64,0x65,0x6e,0x48,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x7f4610([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])},{[_0x7f4610([0x69,0x64])]:0xf,[_0x7f4610([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x7f4610([0x4d,0x75,0x6c,0x74,0x69,0x20,0x4c,0x65,0x76,0x65,0x6c,0x20,0x4c,0x69,0x73,0x74]),[_0x7f4610([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x7f4610([0x4d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x7f4610([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x7f4610([0x6d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x7f4610([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x7f4610([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x7f4610([0x69,0x64])]:0x10,[_0x7f4610([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x7f4610([0x4d,0x65,0x72,0x67,0x65,0x20,0x46,0x69,0x65,0x6c,0x64,0x73]),[_0x7f4610([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x7f4610([0x4d,0x65,0x72,0x67,0x65,0x46,0x69,0x65,0x6c,0x64,0x73,0x55,0x49]),[_0x7f4610([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x7f4610([0x6d,0x65,0x72,0x67,0x65,0x46,0x69,0x65,0x6c,0x64,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x7f4610([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x7f4610([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x7f4610([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x7f4610([0x66,0x67,0x69])]:[0xc]}}];return _0x385753(_0xec2c2d),_0xec2c2d;function _0x4abf12(_0x27b506){return 0x1<<_0x27b506-0x1;}function _0x385753(_0x527c62){_0x527c62[_0x7f4610([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x5f5725=>{_0x5f5725[_0x7f4610([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]=_0x4abf12(_0x5f5725[_0x7f4610([0x69,0x64])]),_0xd33fdf(_0x5f5725)&&_0x5f5725[_0x7f4610([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x385753(_0x5f5725[_0x7f4610([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]);});}}function _0xd33fdf(_0x41abba){return _0x7f4610([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])in _0x41abba;}const _0x54ddf4=[0x1,0x55,0x4e,0x73,0xc6,0xff,0x32,0x70,0x53,0x57,0xa1],_0x3363f4=[0x7f,0x22,0x6,0xd3,0xa7,0x56,0x92,0xc7,0x84,0xa0,0x12];function _0xb6ec89(_0x10f101){const _0x1c4c94=[0x1d,0xdd,0xaf,0x5a,0xe7,0x85,0xef,0xf0,0x4b,0xb4];return _0x178cfd(_0x10f101,new Uint8Array([..._0x54ddf4,..._0x1c4c94,..._0x3363f4]));}function _0x178cfd(_0x395ae2,_0x5c6461){const _0x5d9746=_0x29121d(_0x395ae2),_0x5215fc=Array[_0x7f4610([0x66,0x72,0x6f,0x6d])](_0x526be2(_0x5d9746)),_0x371ed5=_0x5215fc[_0x7f4610([0x70,0x6f,0x70])](),_0x329f0f=_0x5215fc[_0x7f4610([0x70,0x6f,0x70])]();return _0x368567(_0x5b4b74(_0x5215fc,_0x5c6461,_0x329f0f+0x100*_0x371ed5));}function _0x29121d(_0x8f4fc0){const _0x3c4763=atob(_0x8f4fc0),[_0x5023eb,_0x55da05]=_0x3c4763[_0x7f4610([0x73,0x70,0x6c,0x69,0x74])](_0x7f4610([0x2d]));try{if(atob(_0x55da05))return atob(_0x5023eb);}catch(_0x43b419){}return _0x3c4763;}function _0x158a4e(_0x3d9552){try{const _0xc8e3b0=_0xb6ec89(_0x3d9552),_0x599c26=JSON[_0x7f4610([0x70,0x61,0x72,0x73,0x65])](_0xc8e3b0),_0x58dfcd=parseInt(_0x599c26[_0x7f4610([0x31])]),_0x45e52a=_0x599c26[_0x7f4610([0x32])]||'',_0x23b2c9=parseInt(_0x599c26[_0x7f4610([0x33])]),_0x39e1fb=parseInt(_0x599c26[_0x7f4610([0x34])])||0x0,_0x562ad7=parseInt(_0x599c26[_0x7f4610([0x35])])||0x0;return{[_0x7f4610([0x70,0x72,0x6f,0x64,0x75,0x63,0x74,0x4e,0x61,0x6d,0x65])]:_0x45e52a,[_0x7f4610([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])]:_0x39e1fb,[_0x7f4610([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]:_0x58dfcd,[_0x7f4610([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]:_0x23b2c9,[_0x7f4610([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]:_0x562ad7};}catch(_0x4efcb5){return null;}}const _0x2692ea=_0x313cd1(),_0x35b86e={[_0x7f4610([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])]:_0x278179,[_0x7f4610([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])]:_0x58b5b5,[_0x7f4610([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])]:_0x4d30c0},_0x2bd86e=_0x2373e4[_0x7f4610([0x63,0x6f,0x6e,0x73,0x74,0x72,0x75,0x63,0x74,0x6f,0x72])][_0x7f4610([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])],_0x35f08c=_0x7f4610([0x63,0x6f,0x6e,0x74,0x65,0x78,0x74])in _0x2373e4?_0x2373e4['context']:_0x2373e4['editor'],_0x4a94c1=_0x7f4610([0x34,0x30,0x34,0x38,0x31,0x36,0x35,0x36]),_0x1b49cf=_0x7f4610([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]),_0x36631d=_0x35f08c['config']['get'](_0x7f4610([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x117aa2=_0x2692ea[_0x7f4610([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xd33fdf)[_0x7f4610([0x66,0x69,0x6e,0x64])](_0x362735=>_0x362735[_0x7f4610([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]===_0x2bd86e);function _0x2911d1(_0x3a0f41,_0x3c0b10){_0x35b86e[_0x3c0b10[_0x7f4610([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]](_0x3a0f41,_0x3c0b10),_0x3c0b10[_0x7f4610([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x3c0b10[_0x7f4610([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])][_0x7f4610([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x25b3b7=>_0x4eeec7(_0x35f08c,_0x25b3b7[_0x7f4610([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))[_0x7f4610([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x36d848=>_0x2911d1(_0x3a0f41,_0x36d848));}function _0x278179(_0x13769c,_0x13edb1){_0x23993a(_0x3dbccc(_0x13769c,_0x13edb1),_0x13edb1);}function _0x58b5b5(_0xb47d4e,_0x2f3040){function _0x3e2613(_0x2651d8,_0x5eed77){try{if(_0x4eeec7(_0x35f08c,_0x7f4610([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))&&_0x2651d8){const _0x3f98fa=_0x45112c(_0x35f08c,_0x7f4610([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))[_0x7f4610([0x5f,0x65,0x78,0x65,0x63,0x75,0x74,0x65,0x53,0x75,0x67,0x67,0x65,0x73,0x74,0x69,0x6f,0x6e])];if(parseInt(_0x3f98fa)/0x2>_0x2651d8[_0x7f4610([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])])return _0x2d5dad(_0x5eed77[_0x7f4610([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x7f4610([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}return _0x3dbccc(_0x2651d8,_0x5eed77);}catch(_0x1e5f75){return _0x2d5dad(_0x5eed77[_0x7f4610([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x7f4610([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}_0x23993a(_0x3e2613(_0xb47d4e,_0x2f3040),_0x2f3040);}function _0x4d30c0(_0x2ecfe3,_0x5024a7){const _0x12bbad=_0x3363f4[0x0]*_0x54ddf4[0x1],_0xbe915d=_0x3363f4[0x0]*_0x54ddf4[0x2],_0x52a3d9=_0x3363f4[0x2]*_0x54ddf4[0x2];_0x4eeec7(_0x35f08c,_0x7f4610([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x45112c(_0x35f08c,_0x7f4610([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x7f4610([0x73,0x74,0x61,0x74,0x65])]==_0x7f4610([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&(window[_0xf91d26()]=_0x52a3d9);function _0xff815c(_0x1d2698,_0x5f87fa){try{return _0x50e183()?_0x2d5dad(_0x5f87fa[_0x7f4610([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x7f4610([0x56,0x61,0x6c,0x69,0x64])):_0x3dbccc(_0x1d2698,_0x5f87fa);}catch(_0x2d9278){return _0x2d5dad(_0x5f87fa[_0x7f4610([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x7f4610([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x5648c3(_0x55566b,_0xace61d){const _0x443037=0x7;if(_0x55566b==_0xace61d[_0x7f4610([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x7f4610([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]))_0xf73e68();else{if(_0x55566b==_0xace61d[_0x7f4610([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x7f4610([0x54,0x72,0x69,0x61,0x6c])){const _0x419069=_0x46d5b4();_0x419069&&_0x5aa796(_0x419069,_0xace61d[_0x7f4610([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);const _0x5743e0=_0x2cb347();window[_0x7f4610([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x5aa796(_0x7f4610([0x74,0x69,0x6d,0x65]),_0xace61d[_0x7f4610([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);},_0x5743e0);const _0x23ea20=_0x45112c(_0x35f08c,_0x7f4610([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x7f4610([0x5f,0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73])];_0x23ea20[_0x7f4610([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x443037?_0x5aa796(_0x7f4610([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0xace61d[_0x7f4610([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]):_0x23ea20['on'](_0x7f4610([0x61,0x64,0x64]),()=>{_0x23ea20[_0x7f4610([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x443037&&_0x5aa796(_0x7f4610([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0xace61d[_0x7f4610([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);});}}}function _0x46d5b4(){if(!_0x4eeec7(_0x35f08c,_0x7f4610([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x21fcfb in window)if(Number['isNaN'](Number(_0x21fcfb))){if(window[_0x21fcfb]===_0x12bbad)return _0x7f4610([0x74,0x69,0x6d,0x65]);if(window[_0x21fcfb]===_0xbe915d)return _0x7f4610([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]);}return!0x1;}function _0x50e183(){if(!_0x4eeec7(_0x35f08c,_0x7f4610([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x2f1f15 in window)if(Number['isNaN'](Number(_0x2f1f15))&&window[_0x2f1f15]===_0x52a3d9)return!0x0;return!0x1;}function _0x5aa796(_0x584b46,_0x376886){_0xf73e68(),_0x2d5dad(_0x376886+_0x7f4610([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a])+_0x584b46),window[_0xf91d26()]=_0x584b46===_0x7f4610([0x74,0x69,0x6d,0x65])?_0x12bbad:_0xbe915d;}function _0x2cb347(){let _0x425798=_0x3363f4[0x6]*_0x54ddf4[0x8]*_0x54ddf4[0x6];return _0x4eeec7(_0x35f08c,_0x7f4610([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x425798/=0xa),_0x425798;}function _0xf73e68(){const _0x16cbdc=_0x35f08c;function _0x88fc2f(){_0x4eeec7(_0x16cbdc,_0x7f4610([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&(_0x45112c(_0x16cbdc,_0x7f4610([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x7f4610([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x7f4610([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x45112c(_0x16cbdc,_0x7f4610([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x7f4610([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x45112c(_0x16cbdc,_0x7f4610([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x7f4610([0x75,0x70,0x64,0x61,0x74,0x65])]=_0x4c8005,_0x45112c(_0x16cbdc,_0x7f4610([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x7f4610([0x73,0x61,0x76,0x65,0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e])]=_0x4c8005,_0x16cbdc[_0x7f4610([0x6d,0x6f,0x64,0x65,0x6c])][_0x7f4610([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x4c8005,_0x16cbdc[_0x7f4610([0x6d,0x6f,0x64,0x65,0x6c])][_0x7f4610([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x4c8005,_0x16cbdc[_0x7f4610([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x7f4610([0x6d,0x6f,0x64,0x65,0x6c]))),_0x4eeec7(_0x16cbdc,_0x7f4610([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x45112c(_0x16cbdc,_0x7f4610([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x7f4610([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x7f4610([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x45112c(_0x16cbdc,_0x7f4610([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x7f4610([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x45112c(_0x16cbdc,_0x7f4610([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x7f4610([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])]=_0x4c8005,_0x45112c(_0x16cbdc,_0x7f4610([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x7f4610([0x5f,0x67,0x65,0x74,0x44,0x69,0x66,0x66])]=_0x4c8005);}_0x16cbdc[_0x7f4610([0x73,0x74,0x61,0x74,0x65])]==_0x7f4610([0x72,0x65,0x61,0x64,0x79])?_0x88fc2f():_0x16cbdc[_0x7f4610([0x6f,0x6e,0x63,0x65])](_0x7f4610([0x72,0x65,0x61,0x64,0x79]),()=>{if(_0x4eeec7(_0x16cbdc,_0x7f4610([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&_0x88fc2f(),_0x4eeec7(_0x16cbdc,_0x7f4610([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))){const _0x4d9327=_0x45112c(_0x16cbdc,_0x7f4610([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79])),_0x4308fa=_0x4d9327['getRevision'](0x0),_0x2d563c=_0x4d9327['getEarlierVisibleRevision'](_0x4308fa[_0x7f4610([0x69,0x64])]);_0x45112c(_0x16cbdc,_0x7f4610([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x7f4610([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])](_0x4308fa[_0x7f4610([0x69,0x64])],_0x2d563c?_0x2d563c[_0x7f4610([0x69,0x64])]:null,0x1)['then'](()=>_0x88fc2f());}});}_0x5648c3(_0xff815c(_0x2ecfe3,_0x5024a7),_0x5024a7);}function _0x3dbccc(_0xc72755,_0x2a029b){try{return _0x42e15a(_0x2a029b)?_0x2d5dad(_0x2a029b[_0x7f4610([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x7f4610([0x56,0x61,0x6c,0x69,0x64])):_0xc72755&&_0x588230(_0xc72755[_0x7f4610([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])],_0x2a029b)?_0xc72755[_0x7f4610([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]&&!window[_0x7f4610([0x6f,0x70,0x65,0x6e])][_0x7f4610([0x63,0x6c,0x6f,0x73,0x65,0x64])]||parseInt(_0x4a94c1)/0x2>_0xc72755[_0x7f4610([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]?_0x2d5dad(_0x2a029b[_0x7f4610([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x7f4610([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])):_0xc72755[_0x7f4610([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]?_0x2d5dad(_0x2a029b[_0x7f4610([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x7f4610([0x54,0x72,0x69,0x61,0x6c])):_0x2d5dad(_0x2a029b[_0x7f4610([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x7f4610([0x56,0x61,0x6c,0x69,0x64])):_0x2d5dad(_0x2a029b[_0x7f4610([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x7f4610([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}catch(_0x19675b){return _0x2d5dad(_0x2a029b[_0x7f4610([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x7f4610([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x23993a(_0x53c5fc,_0x58f157){if(_0x35f08c instanceof _0x41d3ac){const _0x513691=_0x35f08c;_0x53c5fc==_0x58f157[_0x7f4610([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x7f4610([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x4b3381(_0x513691):_0x53c5fc==_0x58f157[_0x7f4610([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x7f4610([0x54,0x72,0x69,0x61,0x6c])&&window[_0x7f4610([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x4b3381(_0x513691),_0x2d5dad(_0x58f157[_0x7f4610([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x7f4610([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65]));},_0x3363f4[0x6]*_0x54ddf4[0x8]*_0x54ddf4[0x6]),_0x513691[_0x7f4610([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])][_0x7f4610([0x6f,0x6e])](_0x7f4610([0x61,0x64,0x64]),(_0x5744d8,_0xc9ce35)=>{_0x53c5fc!=_0x58f157[_0x7f4610([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x7f4610([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])&&_0x53c5fc!=_0x58f157[_0x7f4610([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x7f4610([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65])&&_0x53c5fc!=_0x58f157[_0x7f4610([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x7f4610([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])||_0x3686b9(_0xc9ce35);});}else{const _0x56762e=_0x35f08c;_0x53c5fc==_0x58f157[_0x7f4610([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x7f4610([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x3686b9(_0x56762e):_0x53c5fc==_0x58f157[_0x7f4610([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x7f4610([0x54,0x72,0x69,0x61,0x6c])&&_0x56762e[_0x7f4610([0x6f,0x6e])](_0x7f4610([0x72,0x65,0x61,0x64,0x79]),()=>{let _0x5000de=0x0;_0x56762e[_0x7f4610([0x6d,0x6f,0x64,0x65,0x6c])][_0x7f4610([0x6f,0x6e])](_0x7f4610([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x19b872,_0x30134e)=>{_0x30134e[0x0][_0x7f4610([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x5000de++,0x1f8===_0x5000de&&(_0x3686b9(_0x56762e),_0x2d5dad(_0x58f157[_0x7f4610([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x7f4610([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])),_0x19b872[_0x7f4610([0x6f,0x66,0x66])]());},{'priority':_0x7f4610([0x68,0x69,0x67,0x68,0x65,0x73,0x74])});});}}function _0x2d5dad(_0x4daa94){const _0x1d517a=_0xf91d26();return _0x35f08c[_0x1d517a]=_0x4daa94,_0x4daa94;}function _0xf91d26(){const _0x5d96fc=String(window[_0x7f4610([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x7f4610([0x6e,0x6f,0x77])]())[_0x7f4610([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x7f4610([0x2e]),'');let _0x8e2de7='';for(let _0x373912=0x0;_0x373912<_0x5d96fc[_0x7f4610([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x373912+=0x2){let _0x395b3f=parseInt(_0x5d96fc[_0x7f4610([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x373912,_0x373912+0x2));_0x395b3f>=_0x1b49cf[_0x7f4610([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x395b3f-=_0x1b49cf[_0x7f4610([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x8e2de7+=_0x1b49cf[_0x395b3f];}return _0x8e2de7;}function _0x4b3381(_0x371afa){for(const _0x31d30f of _0x371afa[_0x7f4610([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])])_0x3686b9(_0x31d30f);_0x45112c(_0x371afa,_0x7f4610([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x7f4610([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])](!0x0),_0x45112c(_0x371afa,_0x7f4610([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x7f4610([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])]=_0x4c8005;}function _0x3686b9(_0x3e241f){function _0x2fff8a(){_0x3e241f[_0x7f4610([0x6d,0x6f,0x64,0x65,0x6c])][_0x7f4610([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x4c8005,_0x3e241f[_0x7f4610([0x6d,0x6f,0x64,0x65,0x6c])][_0x7f4610([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x4c8005,_0x3e241f[_0x7f4610([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x7f4610([0x6d,0x6f,0x64,0x65,0x6c]));}_0x3e241f[_0x7f4610([0x73,0x74,0x61,0x74,0x65])]==_0x7f4610([0x72,0x65,0x61,0x64,0x79])?_0x2fff8a():_0x3e241f[_0x7f4610([0x6f,0x6e,0x63,0x65])](_0x7f4610([0x72,0x65,0x61,0x64,0x79]),()=>_0x2fff8a());}function _0x4c8005(){return null;}function _0x588230(_0x22ce6a,_0x8b03cc){const _0x472391=!!(_0x22ce6a&_0x8b03cc[_0x7f4610([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]),_0x381f3e=_0x4fb939(_0x22ce6a,_0x8b03cc);return _0x472391||_0x381f3e;}function _0x4fb939(_0x2d2da7,_0x3c9bf2){const _0x549036=(_0x3c9bf2[_0x7f4610([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{})[_0x7f4610([0x66,0x67,0x69])]||null;return!!_0x549036&&_0x2692ea[_0x7f4610([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4778ad=>_0x549036[_0x7f4610([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4778ad[_0x7f4610([0x69,0x64])]))[_0x7f4610([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x106e0c=>!_0x52deb4(_0x106e0c))[_0x7f4610([0x73,0x6f,0x6d,0x65])](_0x4fef0b=>!!(_0x2d2da7&_0x4fef0b[_0x7f4610([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]));}function _0x52deb4(_0x42ab27){const _0x283b9f={[_0x7f4610([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])]:_0x3cbf8f};return!!_0x42ab27['forbiddenHandler']&&_0x283b9f[_0x42ab27['forbiddenHandler']]();}function _0x3cbf8f(){return!window[_0x7f4610([0x44,0x72,0x75,0x70,0x61,0x6c])]||!_0x4eeec7(_0x35f08c,_0x7f4610([0x64,0x72,0x75,0x70,0x61,0x6c,0x50,0x6f,0x77,0x65,0x72,0x65,0x64,0x42,0x79]));}function _0x42e15a(_0x3a5919){if(!_0x4eeec7(_0x35f08c,_0x3a5919[_0x7f4610([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))return!0x0;const _0x44de59=_0x3a5919[_0x7f4610([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{},_0x416c12=_0x44de59[_0x7f4610([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]||!0x1,_0x2e2558=_0x44de59[_0x7f4610([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]||!0x1,_0x4a02d5=_0x44de59[_0x7f4610([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]||!0x1;if(_0x4eeec7(_0x35f08c,_0x7f4610([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x45112c(_0x35f08c,_0x7f4610([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x7f4610([0x73,0x74,0x61,0x74,0x65])]==_0x7f4610([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&_0x416c12)return!0x0;if(_0x4eeec7(_0x35f08c,_0x7f4610([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))&&_0x45112c(_0x35f08c,_0x7f4610([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))[_0x7f4610([0x72,0x65,0x73,0x75,0x6c,0x74])]==_0x7f4610([0x65,0x6e,0x64])&&_0x2e2558)return!0x0;return!(!_0x4eeec7(_0x35f08c,_0x7f4610([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]))||_0x45112c(_0x35f08c,_0x7f4610([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]))[_0x7f4610([0x72,0x65,0x73,0x75,0x6c,0x74])]!=_0x7f4610([0x65,0x6e,0x64])||!_0x4a02d5);}function _0x4eeec7(_0x4a8307,_0x44e324){return _0x4a8307[_0x7f4610([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x7f4610([0x68,0x61,0x73])](_0x44e324);}function _0x45112c(_0x3fd2e4,_0x38d8f2){return _0x3fd2e4[_0x7f4610([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x7f4610([0x67,0x65,0x74])](_0x38d8f2);}function _0x368567(_0x3649db){let _0x29dbea='';for(const _0x2ce85c of _0x3649db)_0x29dbea+=String[_0x7f4610([0x66,0x72,0x6f,0x6d,0x43,0x68,0x61,0x72,0x43,0x6f,0x64,0x65])](_0x2ce85c);return _0x29dbea;}function _0x526be2(_0x3c7807){const _0x270bfb=new Uint8Array(_0x3c7807[_0x7f4610([0x6c,0x65,0x6e,0x67,0x74,0x68])]);for(let _0x1a5147=0x0;_0x1a5147<_0x3c7807[_0x7f4610([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1a5147++)_0x270bfb[_0x1a5147]=_0x3c7807[_0x7f4610([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x1a5147);return _0x270bfb;}_0x117aa2&&_0x2911d1(_0x158a4e(_0x36631d),_0x117aa2);})(_0x51100a);}(this);}['createRevision'](_0x279fdd){const _0x15e0a1=this['editor']['plugins']['get']('Users');return new a({'id':_0x279fdd['id'],'name':_0x279fdd['name'],'creator':_0x279fdd['creatorId']?_0x15e0a1['getUser'](_0x279fdd['creatorId']):null,'diffData':_0x279fdd['diffData']||_0x279fdd['data'],'authors':_0x279fdd['authorsIds']['map'](_0x26ca19=>_0x15e0a1['getUser'](_0x26ca19)),'createdAt':new Date(_0x279fdd['createdAt']),'attributes':_0x279fdd['attributes'],'fromVersion':_0x279fdd['fromVersion'],'toVersion':_0x279fdd['toVersion']});}['addRevision'](_0x2880f3,_0x16eb1b=0x0){this['_revisions']['add'](_0x2880f3,_0x16eb1b);}['getRevision'](_0x1df6ac){return this['_revisions']['get'](_0x1df6ac);}['getRevisions'](_0x47a12c={'toJSON':!0x1}){const _0x54d71e=Array['from'](this['_revisions']);return _0x54d71e['reverse'](),_0x47a12c['toJSON']?_0x54d71e['map'](_0xd92205=>_0xd92205['toJSON']()):_0x54d71e;}['getIndex'](_0x229300){return this['_revisions']['getIndex'](_0x229300);}['getEarlierVisibleRevision'](_0x35e4df){const [,_0x3dd93c]=this['getRevisionsIterator'](_0x35e4df,{'direction':'earlier'});return _0x3dd93c;}['getLaterVisibleRevision'](_0x241bd4){const [,_0x229866]=this['getRevisionsIterator'](_0x241bd4,{'direction':'later'});return _0x229866;}['getRevisionsInDiff'](_0x3347bb){const _0x5b3080=[];for(const _0x24fca7 of this['getRevisionsIterator'](_0x3347bb['newRevisionId']))if(_0x5b3080['push'](_0x24fca7),_0x24fca7['id']===_0x3347bb['oldRevisionId'])break;return _0x5b3080;}*['getRevisionsIterator'](_0x73702e,{direction:_0xccf471='earlier',filter:_0x447c57=_0x5be0f4=>!0x0}={}){const _0x59dde7='earlier'===_0xccf471?0x1:-0x1;let _0x484ad7=this['_revisions']['get'](_0x73702e),_0x9d92b5=this['getIndex'](_0x484ad7);for(yield _0x484ad7;_0x484ad7;){if(_0x9d92b5+=_0x59dde7,_0x484ad7=this['getRevision'](_0x9d92b5),!_0x484ad7)return;_0x447c57(_0x484ad7)&&(yield _0x484ad7);}}}function y(_0x5c6255,_0x51838d,_0x2c7951){const t=_0x5c6255['t'];switch(_0x51838d){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'},_0x2c7951);case'X_OF_Y_CHANGES':return t({'string':'%0\x20of\x20%1','id':'X_OF_Y_CHANGES'},_0x2c7951);case'Show\x20previous\x20change':return t('Show\x20previous\x20change');case'Show\x20next\x20change':return t('Show\x20next\x20change');case'EDIT_X_OF_Y_REVISIONS':return t({'string':'Edit','id':'EDIT_X_OF_Y_REVISIONS'});case'Total':return t('Total');case'Revision\x20creator':return t('Revision\x20creator');case'Revision\x20author':return t('Revision\x20author');case'Revision\x20name':return t('Revision\x20name');case'Save\x20current\x20revision':return t('Save\x20current\x20revision');case'Accept':return t('Accept');case'Save':return t('Save');case'Cancel':return t('Cancel');case'Name\x20of\x20the\x20revision':return t('Name\x20of\x20the\x20revision');case'optional':return t('optional');case'PENDING_ACTION_REVISION_HISTORY':return t({'string':'Unsaved\x20change\x20in\x20revision\x20history.','id':'PENDING_ACTION_REVISION_HISTORY'});case'The\x20revision\x20name\x20cannot\x20be\x20empty.':return t('The\x20revision\x20name\x20cannot\x20be\x20empty.');case'Enter\x20the\x20revision\x20name':return t('Enter\x20the\x20revision\x20name');default:return'';}}const T={'c':_0x4071de,'a':_0x15f220,'e':_0x1f144e,'r':_0x228645,'u':_0x436f61};class l extends _0x2594ac{['adapter'];['currentRevision'];['repository'];['_revisionDataBuilder'];['_source'];['_initialRevisionId'];['_bufferedUpdates'];['_pendingAction'];['_continueCurrentRevision'];['_startingVersion'];['_loadedStateData'];static get['pluginName'](){return'RevisionTracker';}static get['requires'](){return[_0x11e0db,A,_0x2b5bd0];}constructor(_0x49f64c){super(_0x49f64c),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 _0x2b4e6e=_0x4fb95c();this['_source']={'history':this['editor']['model']['document']['history'],'getLatestVersion':()=>Promise['resolve'](this['editor']['model']['document']['version']),'getCurrentRevisionId':()=>_0x2b4e6e},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 _0x2e57f6=this['repository']['getRevision'](0x0),_0xaa7a31=_0x2e57f6&&null===_0x2e57f6['creator']?_0x2e57f6:null;if(this['_continueCurrentRevision']=!!_0xaa7a31&&this['editor']['config']['get']('revisionHistory.resumeUnsavedRevision'),this['editor']['plugins']['has']('RealTimeCollaborationClient')){const _0x4ae7c9=this['_source']['getCurrentRevisionId'](),_0x3755ea=this['repository']['getRevision'](_0x4ae7c9);if(_0x3755ea)this['_startingVersion']=_0x3755ea['fromVersion'],this['_continueCurrentRevision']=!0x1;else{const _0x517e0a=this['_source']['history']['_operations']['find'](_0x1b00b6=>!_0x1b00b6['_isInit']),_0x5a5cf1=_0x517e0a?_0x517e0a['baseVersion']:this['_source']['history']['version'];_0x2e57f6?(_0x2e57f6['toVersion']<_0x5a5cf1&&_0x2e57f6['_update']({'toVersion':_0x5a5cf1}),this['_continueCurrentRevision']?(this['_source']['getCurrentRevisionId']=()=>_0xaa7a31['id'],this['_startingVersion']=_0xaa7a31['fromVersion']):(this['_startingVersion']=_0x2e57f6['toVersion'],this['_continueCurrentRevision']=!0x1)):(this['_startingVersion']=_0x5a5cf1,this['_continueCurrentRevision']=!0x1);}}else _0xaa7a31&&(this['editor']['model']['document']['history']['version']=Math['max'](_0xaa7a31['toVersion'],this['editor']['model']['document']['history']['version']),_0xaa7a31['fromVersion']===_0xaa7a31['toVersion']?(0x0!==_0xaa7a31['fromVersion']&&(this['_source']['getCurrentRevisionId']=()=>_0xaa7a31['id']),this['_continueCurrentRevision']=!0x1):this['_continueCurrentRevision']&&(this['_source']['getCurrentRevisionId']=()=>_0xaa7a31['id'],this['_startingVersion']=_0xaa7a31['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',_0x5c5dbe=>!_0x5c5dbe);}async['afterInit'](){if(this['repository']['length']>0x0){const _0x75d477=this['repository']['getRevision'](0x0),_0x45b76a=await this['getRevisionDocumentData'](_0x75d477),_0x1e2e43=await this['getRevisionRootsAttributes'](_0x75d477);this['_replaceEditorDataWithRevisionData'](_0x45b76a,_0x1e2e43);}}['setSource'](_0xa88b8a){this['_source']=_0xa88b8a;}async['update'](){const _0x681e4f=await this['_source']['getLatestVersion']();if(_0x681e4f>this['currentRevision']['toVersion']){await this['_loadState']();const _0x4d8164=this['buildRevisionData']({'revision':this['currentRevision'],'to':_0x681e4f});_0x4d8164['authors']=_0x4d8164['authorsIds']['map'](_0x49fc3a=>this['editor']['plugins']['get']('Users')['getUser'](_0x49fc3a)),this['currentRevision']['_update'](_0x4d8164);}}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'](_0x5d8231={},_0x1cc8d4=null){const _0x1d44a5=[];await this['_loadState'](),this['_continueCurrentRevision']=!0x1,_0x1cc8d4>this['currentRevision']['toVersion']&&(_0x1cc8d4=null),null===_0x1cc8d4&&(_0x1cc8d4=await this['_source']['getLatestVersion']());const _0x323cad=this['_getFromVersion'](_0x1cc8d4),_0x2e6005=this['buildRevisionData']({'from':_0x323cad,'to':_0x1cc8d4});if(this['currentRevision']['toVersion']<_0x1cc8d4){const _0x1e631b=this['buildRevisionData']({'revision':this['currentRevision'],'from':_0x1cc8d4,'to':_0x1cc8d4});_0x1e631b['authors']=[],_0x1e631b['authorsIds']=[],_0x1e631b['id']=this['currentRevision']['id'],this['currentRevision']['_update'](_0x1e631b,!0x0),delete _0x1e631b['authors'],_0x1d44a5['push'](_0x1e631b);}_0x5d8231['creatorId']=this['editor']['plugins']['get']('Users')['me']['id'],_0x5d8231['name']=_0x5d8231['name']||null,_0x5d8231['id']=_0x5d8231['id']||_0x4fb95c(),_0x5d8231={..._0x5d8231,..._0x2e6005};const _0x1310c2=this['addRevisionData'](_0x5d8231);_0x1d44a5['push'](_0x5d8231);const _0x5b902c=this['repository']['getIndex'](_0x1310c2);if(0x0!==_0x5b902c){const _0x367c19=this['repository']['getRevision'](_0x5b902c-0x1);if(_0x367c19['fromVersion']!==_0x1cc8d4){const _0x45827c=this['_revisionDataBuilder']['getData'](_0x1cc8d4,_0x367c19['toVersion']),_0x19335c={'id':_0x367c19['id'],'diffData':_0x45827c['diffData'],'authorsIds':_0x45827c['authorsIds'],'authors':_0x45827c['authorsIds']['map'](_0xa2f409=>this['editor']['plugins']['get']('Users')['getUser'](_0xa2f409)),'fromVersion':_0x1cc8d4};_0x367c19===this['currentRevision']&&(_0x19335c['createdAt']=new Date(_0x5d8231['createdAt']['getTime']()+0xa)),_0x367c19['_update'](_0x19335c,!0x0),delete _0x19335c['authors'],_0x1d44a5['push'](_0x19335c);}}if(this['adapter']){for(const _0xb15fd0 of _0x1d44a5)this['_bufferUpdate'](_0xb15fd0['id'],_0xb15fd0,!0x0);this['sendBufferedUpdates']();}return _0x1310c2;}['addRevisionData'](_0x3b0ba3){const _0x238136=this['repository']['createRevision'](_0x3b0ba3);return this['adapter']&&_0x238136['on']('_update',(_0x2eb561,_0xdb4a17,_0x520a2)=>{_0x520a2||(this['_bufferUpdate'](_0xdb4a17['id'],_0xdb4a17,!0x0),this['sendBufferedUpdates']());}),this['repository']['addRevision'](_0x238136,this['_findInsertionIndex'](_0x238136)),_0x238136;}async['getRevisionDocumentData'](_0x260e0c){await this['_loadRevisionData'](_0x260e0c);const _0x696203={};for(const _0x462abf in _0x260e0c['diffData']){if(_0x260e0c['diffData'][_0x462abf]['attachChange']&&!_0x260e0c['diffData'][_0x462abf]['attachChange']['isAttached'])continue;const _0x3bf5e1=this['_removeRevisionMarkers'](JSON['parse'](_0x260e0c['diffData'][_0x462abf]['insertions'])),_0x224ec1=this['editor']['editing']['view']['document'],_0x1d738f=new _0xabeb3b(_0x224ec1,_0x3bf5e1['map'](_0x311fe1=>B(_0x311fe1,this['editor'])));this['editor']['data']['processor']['useFillerType']('marked'),_0x696203[_0x462abf]=this['editor']['data']['processor']['toData'](_0x1d738f),this['editor']['data']['processor']['useFillerType']('default');}return _0x696203;}async['getRevisionRootsAttributes'](_0xe9cee4){await this['_loadRevisionData'](_0xe9cee4);const _0x3b3568={};for(const _0x311b75 in _0xe9cee4['diffData'])_0xe9cee4['diffData'][_0x311b75]['attachChange']&&!_0xe9cee4['diffData'][_0x311b75]['attachChange']['isAttached']||(_0x3b3568[_0x311b75]=_0xe9cee4['diffData'][_0x311b75]['attributesAfter']||{});return _0x3b3568;}['sendBufferedUpdates'](){if(0x0===this['_bufferedUpdates']['size'])return;if(this['_isPendingUpdate'])return;let _0x2e40a6=Array['from'](this['_bufferedUpdates']['values']());this['_bufferedUpdates']['clear']();for(let _0x562448=0x0;_0x562448<_0x2e40a6['length'];_0x562448++){const _0x38dbac=_0x2e40a6[_0x562448];let _0x25257b=!0x1;for(const _0x6e694f of Object['keys'](_0x38dbac))void 0x0===_0x38dbac[_0x6e694f]?delete _0x38dbac[_0x6e694f]:'id'!==_0x6e694f&&(_0x25257b=!0x0);_0x25257b||(_0x2e40a6[_0x562448]=null);}if(_0x2e40a6=_0x2e40a6['filter'](_0x1c2fce=>null!==_0x1c2fce),!_0x2e40a6['length'])return;for(let _0x5ac2a3=0x0;_0x5ac2a3<_0x2e40a6['length'];_0x5ac2a3++){const _0x32fa44=_0x2e40a6[_0x5ac2a3];void 0x0!==_0x32fa44['fromVersion']&&void 0x0===_0x32fa44['toVersion']&&(_0x32fa44['toVersion']=this['repository']['getRevision'](_0x32fa44['id'])['toVersion']),void 0x0!==_0x32fa44['toVersion']&&void 0x0===_0x32fa44['fromVersion']&&(_0x32fa44['fromVersion']=this['repository']['getRevision'](_0x32fa44['id'])['fromVersion']);}const _0x5dc3ea=this['editor']['config']['get']('collaboration.channelId');this['_isPendingUpdate']=!0x0,this['_addPendingAction'](),this['adapter']['updateRevisions'](_0x2e40a6,_0x5dc3ea)['finally'](()=>{this['_isPendingUpdate']=!0x1;})['then'](_0x179554=>{if(_0x179554){for(const _0x40a7a5 of _0x179554)this['setRevisionData']({'id':_0x40a7a5['id'],'createdAt':_0x40a7a5['createdAt']});}this['_removePendingAction'](),this['sendBufferedUpdates']();});}['_replaceEditorDataWithRevisionData'](_0x17cab4,_0x47b343){let _0x34c995=this['editor']['config']['get']('initialData'),_0x3c3189=this['editor']['config']['get']('rootsAttributes');if(void 0x0===_0x34c995){_0x34c995={};for(const _0x43060a of this['editor']['model']['document']['getRootNames']())_0x34c995[_0x43060a]='';}if('string'==typeof _0x34c995&&(_0x34c995={'main':_0x34c995}),void 0x0===_0x3c3189){_0x3c3189={};for(const _0x312daf of this['editor']['model']['document']['getRootNames']())_0x3c3189[_0x312daf]={};}let _0x42671a=!0x1;const _0x16b9ab=Object['keys'](_0x34c995),_0x3d5e1b=Object['keys'](_0x17cab4);for(const _0x22b28b of _0x16b9ab){if(_0x34c995[_0x22b28b]!==_0x17cab4[_0x22b28b]&&''!==_0x34c995[_0x22b28b]['trim']()){_0x42671a=!0x0;break;}if(!_0x2026cf(_0x3c3189[_0x22b28b],_0x47b343[_0x22b28b])&&Object['keys'](_0x3c3189[_0x22b28b])['length']>0x0){_0x42671a=!0x0;break;}}_0x42671a||(_0x42671a=_0x3d5e1b['some'](_0x25eb99=>!this['editor']['model']['document']['getRoot'](_0x25eb99))),_0x42671a&&_0x1de360('editor-initial-data-replaced-with-revision-data',{'editorData':_0x34c995,'editorRootsAttributes':_0x3c3189,'revisionData':_0x17cab4,'revisionRootsAttributes':_0x47b343}),this['editor']['config']['set']('initialData',_0x17cab4),this['editor']['config']['set']('rootsAttributes',_0x47b343);}['_addPendingAction'](){if(!this['_pendingAction']){const _0x314ba9=this['editor']['plugins']['get']('PendingActions');this['_pendingAction']=_0x314ba9['add'](y(this['editor']['locale'],'PENDING_ACTION_REVISION_HISTORY'));}}['_removePendingAction'](){this['_pendingAction']&&(this['editor']['plugins']['get']('PendingActions')['remove'](this['_pendingAction']),this['_pendingAction']=null);}['_findInsertionIndex'](_0x492688){const _0xf4642f=this['repository']['getRevisions']();_0xf4642f['reverse']();let _0x4a2556=0x0;for(;_0x4a2556<_0xf4642f['length'];){const _0x5adfd6=_0xf4642f[_0x4a2556];if(_0x5adfd6===this['currentRevision']){_0x4a2556++;continue;}if(_0x5adfd6['id']===this['_initialRevisionId'])break;const _0x2f06b=_0x492688['toVersion']-_0x5adfd6['toVersion']||_0x492688['fromVersion']-_0x5adfd6['fromVersion'];if(_0x2f06b>0x0)break;if(_0x2f06b<0x0)_0x4a2556++;else{if(!_0x492688['creator']&&_0x5adfd6['creator'])break;if(_0x5adfd6['creator']||!_0x492688['creator']){if(_0x492688['createdAt']>_0x5adfd6['createdAt'])break;_0x4a2556++;}else _0x4a2556++;}}return _0x4a2556;}['setRevisionData'](_0x132968){const _0x171b00=this['repository']['getRevision'](_0x132968['id']);if(_0x132968['createdAt']&&(_0x132968['createdAt']=new Date(_0x132968['createdAt'])),_0x132968['authorsIds']){const _0x3d826f=this['editor']['plugins']['get']('Users');_0x132968['authors']=_0x132968['authorsIds']['map'](_0x2cf669=>_0x3d826f['getUser'](_0x2cf669));}_0x171b00['_update'](_0x132968,!0x0);}['buildRevisionData']({revision:_0x23d4ce=null,from:_0x7ca59=null,to:_0x370026=null}){_0x7ca59=null!==_0x7ca59?_0x7ca59:_0x23d4ce['fromVersion'],_0x370026=null!==_0x370026?_0x370026:_0x23d4ce['toVersion'];const _0x24e4b4=this['_revisionDataBuilder']['getData'](_0x7ca59,_0x370026),_0x9d5ada={'diffData':_0x24e4b4['diffData'],'authorsIds':_0x24e4b4['authorsIds'],'fromVersion':_0x7ca59,'toVersion':_0x370026};if(!_0x23d4ce||_0x370026!==_0x23d4ce['toVersion']){const _0x27bc39=_0x370026-0x1,_0xccf3cb=this['_source']['history']['getOperation'](_0x27bc39);_0x9d5ada['createdAt']=_0xccf3cb&&_0xccf3cb['createdAt']||new Date();}if(this['_loadedStateData']&&_0x7ca59===this['_loadedStateData']['fromVersion']){for(const _0x112b79 of this['_loadedStateData']['authors'])_0x9d5ada['authorsIds']['includes'](_0x112b79['id'])||_0x9d5ada['authorsIds']['push'](_0x112b79['id']);}return _0x9d5ada;}['_loadRevisionData'](_0x597bda){if(!_0x597bda||_0x597bda['diffData'])return Promise['resolve']();{const _0x5623ba=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0x5623ba,'revisionId':_0x597bda['id']})['then'](_0x3b1642=>{_0x597bda['diffData']=_0x3b1642['diffData'];});}}['_bufferUpdate'](_0x26b361,_0x24b80f,_0xb29432){if(this['_bufferedUpdates']['has'](_0x26b361)){const _0x1dfa21=this['_bufferedUpdates']['get'](_0x26b361);_0x24b80f=_0xb29432?{..._0x1dfa21,..._0x24b80f}:{..._0x24b80f,..._0x1dfa21};}this['_bufferedUpdates']['set'](_0x26b361,_0x24b80f);}['_getFromVersion'](_0x16d0b1){const _0x301a7b=this['repository']['getRevisions']();_0x301a7b['reverse'](),_0x301a7b['shift']();const _0xcd0087=_0x301a7b['find'](_0x2bab88=>_0x2bab88['toVersion']<=_0x16d0b1)['toVersion'];return _0xcd0087<this['_startingVersion']?this['_startingVersion']:_0xcd0087;}['_createInitialRevision'](_0x4862aa){const _0x4e1b72=this['repository']['getRevision'](this['repository']['length']-0x1);if(_0x4e1b72)this['_initialRevisionId']=_0x4e1b72['id'];else{const _0xfd5e6c=!this['editor']['model']['document']['roots']['find'](_0x1198b9=>this['editor']['model']['hasContent'](_0x1198b9)),_0x4ca658=this['editor']['plugins']['get']('Users')['me']['id'],_0x5a318e=y(this['editor']['locale'],_0xfd5e6c?'Empty\x20document':'Initial\x20revision');this['_makeRevision']({'from':_0x4862aa,'to':_0x4862aa,'id':this['_initialRevisionId'],'name':_0x5a318e,'creatorId':_0x4ca658});}}['_createCurrentRevision'](_0x3b98df){const _0x4842e9=this['_source']['getCurrentRevisionId']();this['currentRevision']=this['repository']['getRevision'](_0x4842e9),this['currentRevision']||(this['currentRevision']=this['_makeRevision']({'from':_0x3b98df,'to':_0x3b98df,'id':_0x4842e9,'name':'','creatorId':null}));}['_makeRevision']({name:_0x39ca50,from:_0x2d8088,to:_0x2ae5ee,creatorId:_0x46eeae,id:_0x172e2b}){const _0x3b3cd4=this['buildRevisionData']({'from':_0x2d8088,'to':_0x2ae5ee});_0x3b3cd4['name']=_0x39ca50,_0x3b3cd4['creatorId']=_0x46eeae,_0x3b3cd4['id']=_0x172e2b;const _0x458a78=this['addRevisionData'](_0x3b3cd4);return this['adapter']&&this['_bufferUpdate'](_0x3b3cd4['id'],_0x3b3cd4,!0x0),_0x458a78;}['_setConversion'](){this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'});}['_removeRevisionMarkers'](_0x12dfda){return(_0x12dfda=_0x12dfda['filter'](_0x452012=>!_0x452012['name']||'revision-start'!==_0x452012['name']&&'revision-end'!==_0x452012['name']))['forEach'](_0x5672b8=>{'string'!=typeof _0x5672b8&&(_0x5672b8['children']=this['_removeRevisionMarkers'](_0x5672b8['children']),_0x5672b8['attributes']=_0x5672b8['attributes']['filter'](_0x2373c4=>!_0x2373c4[0x0]['startsWith']('data-revision-')));}),_0x12dfda;}}function B(_0x59a151,_0x42a84f){const _0x4ca138=_0x42a84f['editing']['view']['document'];if('string'==typeof _0x59a151)return new _0x1350e4(_0x4ca138,_0x59a151);{const _0x134405=_0x59a151['children']['map'](_0x345439=>B(_0x345439,_0x42a84f));return new(T[_0x59a151['type']]||_0x4a1b8c)(_0x4ca138,_0x59a151['name'],_0x59a151['attributes'],_0x134405);}}class J{['editor'];['source'];['_savedMetaData'];['_lastFrom'];['_lastTo'];['_markers'];['_diffRoots'];['_diffRootsAttributes'];['_baseRoots'];['_baseRootsAttributes'];['_idsRoots'];['_baseIdsRoots'];['_touched'];['_touchedMarkers'];['_touchedRoots'];['_revisionId'];['_startingRevisionId'];constructor(_0x1e6ed2){this['editor']=_0x1e6ed2,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'](_0x213bee){this['source']=_0x213bee;const _0x12da12=new Map(),_0x590b2d=new Map(),_0x1a90db=this['editor']['model']['document']['roots']['map'](_0x217bae=>_0x217bae['rootName']);for(const _0x7cbdbe of _0x1a90db){const _0x10d873=this['editor']['model']['document']['getRoot'](_0x7cbdbe),_0x38e3d9=q(_0x10d873);_0x12da12['set'](_0x7cbdbe,_0x38e3d9),_0x590b2d['set'](_0x7cbdbe,Object['fromEntries'](_0x10d873['getAttributes']()));}const _0x51947e=Array['from'](this['editor']['model']['markers'])['map'](_0x4a2b12=>[_0x4a2b12['name'],_0x4a2b12['getRange']()]),_0x3065ee=this['source']['version'];this['_saveMetaData'](_0x3065ee,_0x12da12,_0x51947e,_0x590b2d),this['_startingRevisionId']=this['_revisionId'];const _0x925c8c=new Map(),_0x39ba36=new Map();for(const _0x516e2e of _0x1a90db){const _0x583574=G(_0x516e2e);_0x925c8c['set'](_0x516e2e,_0x583574),_0x39ba36['set'](_0x516e2e,{});}this['_saveMetaData'](Number['NEGATIVE_INFINITY'],_0x925c8c,[],_0x39ba36);}['getData'](_0x53f110,_0x5806f3){if(this['_lastFrom']===_0x53f110&&this['_lastTo']<=_0x5806f3)this['_savedMetaData']['size']>0x1&&this['_removeMetaData'](this['_lastTo']),this['_applyOperations'](this['_lastTo'],_0x5806f3,!0x0);else{if(!this['_savedMetaData']['has'](_0x53f110)){const _0x4c095d=this['_getPreviousFrom'](_0x53f110);this['_calculateMetaData'](_0x4c095d,_0x53f110,!0x1);}this['_calculateMetaData'](_0x53f110,_0x5806f3,!0x0);}return this['_lastFrom']=_0x53f110,this['_lastTo']=_0x5806f3,this['_getState']();}['loadState'](_0x1d2431){this['_reset'](),this['_lastFrom']=_0x1d2431['fromVersion'],this['_lastTo']=_0x1d2431['toVersion'];for(const _0x4a0201 in _0x1d2431['diffData']){const _0x515333=_0x1d2431['diffData'][_0x4a0201]['attachChange'],_0x2e64cf=_0x419818(_0x1d2431['diffData'][_0x4a0201]['attributesBefore'])||{},_0x1513b6=this['_makeModelFromViewString'](_0x1d2431['diffData'][_0x4a0201]['deletions']);_0x1513b6['rootName']=_0x4a0201,_0x1513b6['_isAttached']=!_0x515333||!_0x515333['isAttached'],_0x1513b6['isAttached']=()=>_0x1513b6['_isAttached'],this['_baseRoots']['set'](_0x4a0201,_0x1513b6),this['_baseRootsAttributes']['set'](_0x4a0201,_0x2e64cf),_0x515333&&this['_touchedRoots']['set'](_0x4a0201,_0x515333);const _0x207a56=this['_makeIdsRoot'](_0x1513b6);this['_baseIdsRoots']['set'](_0x4a0201,_0x207a56);for(const [_0x4e6996,_0x1aa0ba]of _0x1513b6['markers']){if(!_0x4e6996['startsWith']('revision:'))continue;const _0x588d6e=_0x4e6996['split'](':')[0x2];for(const _0x4e2bfe of _0x1aa0ba['getWalker']({'singleCharacters':!0x0})){const _0x15df98=this['_getVidAttributeName'](_0x4e2bfe),_0x1043d5='elementEnd'==_0x4e2bfe['type']?_0x4e2bfe['previousPosition']['path']['slice'](0x0,-0x1):_0x4e2bfe['previousPosition']['path'],_0x40e4a0=_0x207a56['getNodeByPath'](_0x1043d5)['getAttribute'](_0x15df98);this['_touched']['set'](_0x40e4a0,{'userId':_0x588d6e});}}}this['_startingRevisionId']=this['_revisionId'];const _0x6f28e5=[...Array(this['_revisionId'])['keys']()]['slice'](0x1)['filter'](_0x25bebd=>!this['_touched']['has'](_0x25bebd));let _0x33519b=0x0;const _0x1209bd=new Map();for(const _0x46d86b in _0x1d2431['diffData']){const _0x268497=_0x1d2431['diffData'][_0x46d86b]['attachChange'],_0x340ece=_0x419818(_0x1d2431['diffData'][_0x46d86b]['attributesAfter'])||{},_0x46878f=this['_makeModelFromViewString'](_0x1d2431['diffData'][_0x46d86b]['insertions']);_0x46878f['rootName']=_0x46d86b,_0x46878f['_isAttached']=!_0x268497||_0x268497['isAttached'],_0x46878f['isAttached']=()=>_0x46878f['_isAttached'],this['_diffRoots']['set'](_0x46d86b,_0x46878f),this['_diffRootsAttributes']['set'](_0x46d86b,_0x340ece);const _0x74b31=this['_makeIdsRoot'](_0x46878f,Number['NEGATIVE_INFINITY']);this['_idsRoots']['set'](_0x46d86b,_0x74b31),_0x1209bd['set'](_0x46d86b,_0x46878f['isAttached']()?_0x340ece:{});for(const [_0x5b36d0,_0x10e437]of _0x46878f['markers']){if(!_0x5b36d0['startsWith']('revision:'))continue;const _0x3dab24=_0x5b36d0['split'](':')[0x2];for(const _0x4cce15 of _0x10e437['getWalker']({'singleCharacters':!0x0})){const _0x6c7857=this['_getVidAttributeName'](_0x4cce15),_0x22ed24=this['_revisionId']++,_0x6ab6fc='elementEnd'==_0x4cce15['type']?_0x4cce15['previousPosition']['path']['slice'](0x0,-0x1):_0x4cce15['previousPosition']['path'];_0x74b31['getNodeByPath'](_0x6ab6fc)['_setAttribute'](_0x6c7857,_0x22ed24),this['_touched']['set'](_0x22ed24,{'userId':_0x3dab24});}}for(const _0x40fce0 of this['editor']['model']['createRangeIn'](_0x46878f)['getWalker']({'singleCharacters':!0x0})){const _0x36a4bb=this['_getVidAttributeName'](_0x40fce0),_0x65f4fc='elementEnd'==_0x40fce0['type']?_0x40fce0['previousPosition']['path']['slice'](0x0,-0x1):_0x40fce0['previousPosition']['path'],_0x42be61=_0x74b31['getNodeByPath'](_0x65f4fc);_0x42be61['getAttribute'](_0x36a4bb)>0x0||_0x42be61['_setAttribute'](_0x36a4bb,_0x6f28e5[_0x33519b++]);}for(const [_0x2a04c7,_0x114386]of _0x46878f['markers'])_0x2a04c7['startsWith']('revision:')||this['_markers']['set'](_0x2a04c7,_0x114386);}const _0x1a7f5c=G('$graveyard');this['_baseRoots']['set']('$graveyard',_0x1a7f5c),this['_baseIdsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x1a7f5c,0x1));const _0x33d3ce=G('$graveyard');this['_diffRoots']['set']('$graveyard',_0x33d3ce),this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x33d3ce,0x1));const _0x4e57a4=Array['from'](this['_diffRoots'])['map'](([_0x4ab3ec,_0x517030])=>[_0x4ab3ec,q(_0x517030)]);this['_saveMetaData'](this['_lastTo'],_0x4e57a4,this['_markers'],_0x1209bd);}['_makeModelFromViewString'](_0x5ac78c){const _0x22fb2c=JSON['parse'](_0x5ac78c),_0x379d4b=this['editor']['editing']['view']['document'],_0xdd17d8=new _0xabeb3b(_0x379d4b,_0x22fb2c['map'](_0x5060a3=>B(_0x5060a3,this['editor'])));return this['editor']['data']['toModel'](_0xdd17d8);}['_saveMetaData'](_0x178546,_0x4f2d50,_0x21c6fa,_0x132a38){const _0xc2245=new Map(_0x4f2d50),_0x20d38a=new Map(_0x419818(_0x132a38)),_0x3ff640=new Map();for(const [_0x370b22,_0x5747e1]of _0x21c6fa)_0x3ff640['set'](_0x370b22,{'start':_0x5747e1['start']['clone'](),'end':_0x5747e1['end']['clone'](),'rootName':_0x5747e1['root']['rootName']});this['_savedMetaData']['set'](_0x178546,{'roots':_0xc2245,'markers':_0x3ff640,'rootsAttributes':_0x20d38a});}['_removeMetaData'](_0x431899){this['_savedMetaData']['delete'](_0x431899);}['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'](_0x6e5a39,_0x5ad204=null){let _0x560705=null;_0x6e5a39['is']('documentFragment')||(_0x560705=new ft(_0x6e5a39['name'],{'vid_start':null===_0x5ad204?this['_revisionId']++:_0x5ad204++}));const _0x28c75f=[];for(const _0x233072 of _0x6e5a39['getChildren']())if(_0x233072['is']('element')){_0x28c75f['push'](this['_makeIdsRoot'](_0x233072,_0x5ad204));const _0x19f5ee=_0x28c75f[_0x28c75f['length']-0x1];null!==_0x5ad204&&(_0x5ad204=_0x19f5ee['is']('element','$text')?_0x19f5ee['getAttribute']('vid')+0x1:_0x19f5ee['getAttribute']('vid_end')+0x1);}else{for(let _0x228d34=0x0;_0x228d34<_0x233072['offsetSize'];_0x228d34++)_0x28c75f['push'](new ft('$text',{'vid':null===_0x5ad204?this['_revisionId']++:_0x5ad204++}));}if(_0x6e5a39['is']('documentFragment')){const _0x523f2c=G(_0x6e5a39['rootName']);return _0x523f2c['_insertChild'](0x0,_0x28c75f),_0x523f2c;}return _0x560705['_setAttribute']('vid_end',null===_0x5ad204?this['_revisionId']++:_0x5ad204++),_0x560705['_insertChild'](0x0,_0x28c75f),_0x560705;}['_calculateMetaData'](_0x3839c4,_0x96966,_0x4a2953){this['_reset']();const {roots:_0x674d12,markers:_0x464f64,rootsAttributes:_0x5451be}=this['_savedMetaData']['get'](_0x3839c4);this['_baseRoots']=new Map(_0x674d12),this['_baseRootsAttributes']=new Map(_0x419818(_0x5451be));for(const [_0x231d41,_0x1fe4dd]of this['_baseRoots'])if('$graveyard'!==_0x231d41&&(this['_diffRoots']['set'](_0x231d41,q(_0x1fe4dd)),this['_diffRootsAttributes']=new Map(_0x419818(_0x5451be)),_0x4a2953)){const _0x1a9ae6=this['_revisionId'];this['_idsRoots']['set'](_0x231d41,this['_makeIdsRoot'](_0x1fe4dd)),this['_baseIdsRoots']['set'](_0x231d41,this['_makeIdsRoot'](_0x1fe4dd,_0x1a9ae6));}this['_startingRevisionId']=this['_revisionId'],this['_diffRoots']['set']('$graveyard',q(this['_baseRoots']['get']('$graveyard'))),_0x4a2953&&this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](this['_baseRoots']['get']('$graveyard')));for(const [_0x393722,_0x125d24]of _0x464f64){const _0x48504d=this['_baseRoots']['get'](_0x125d24['rootName']),_0xea6dd=this['_diffRoots']['get'](_0x125d24['rootName']),_0x1bfae9=new vt(this['_fixPosition'](_0x125d24['start'],_0x48504d),this['_fixPosition'](_0x125d24['end'],_0x48504d)),_0x491952=this['_fixRange'](_0x1bfae9,_0xea6dd);_0x48504d['markers']['set'](_0x393722,_0x1bfae9),this['_markers']['set'](_0x393722,_0x491952);}this['_applyOperations'](_0x3839c4,_0x96966,_0x4a2953);}['_applyOperations'](_0x4dfc9c,_0x1382e3,_0x42a21b){for(const _0xbfeb7b of this['source']['getOperations'](_0x4dfc9c,_0x1382e3))this['_handleOperation'](_0xbfeb7b,_0x42a21b);for(const _0x37744b of this['_diffRoots']['values']())_0x37744b['markers']['clear']();for(const [_0x1a31e5,_0x33d78b]of this['_markers']){this['_diffRoots']['get'](_0x33d78b['root']['rootName'])['markers']['set'](_0x1a31e5,_0x33d78b['clone']());}const _0x727230=new Map(),_0x1cb8c0=new Map();for(const [_0x54e99d,_0x2b157c]of this['_diffRoots'])_0x727230['set'](_0x54e99d,q(_0x2b157c)),_0x1cb8c0['set'](_0x54e99d,this['_diffRootsAttributes']['get'](_0x54e99d));this['_saveMetaData'](_0x1382e3,_0x727230,this['_markers'],_0x1cb8c0);}['_getPreviousFrom'](_0x1a0892){const _0xc31b21=Array['from'](this['_savedMetaData']['keys']());_0xc31b21['sort']((_0x30181d,_0x15b1b5)=>_0x30181d-_0x15b1b5),_0xc31b21['reverse']();for(const _0x4e6ead of _0xc31b21)if(_0x4e6ead<_0x1a0892)return _0x4e6ead;return Number['NEGATIVE_INFINITY'];}['_copyMarkers'](_0xbfbb70,_0x28086f){const _0x17ab2a=Array['from'](_0x28086f['markers'])['map'](([_0x46b252,_0x28c344])=>[_0x46b252,this['_fixRange'](_0x28c344,_0xbfbb70)]);_0xbfbb70['markers']=new Map(_0x17ab2a);}['_transformMarkers'](_0x494a53){for(const _0x1bbd1b of this['_markers']['values']()){const _0x1cbdf5=_0x1bbd1b['getTransformedByOperation'](_0x494a53),_0x1d1f78=vt['_createFromRanges'](_0x1cbdf5);_0x1bbd1b['start']=_0x1d1f78['start'],_0x1bbd1b['end']=_0x1d1f78['end'];}}['_handleOperation'](_0x4408a6,_0x247b29){if('addRoot'==_0x4408a6['type']||'detachRoot'==_0x4408a6['type'])return void this['_handleRootOperation'](_0x4408a6,_0x247b29);if('insert'==_0x4408a6['type']){const _0x380179=_0x4408a6['position']['root']['rootName'];this['_diffRoots']['has'](_0x380179)||(this['_diffRoots']['set'](_0x380179,G(_0x380179,!0x0)),this['_diffRootsAttributes']['set'](_0x380179,{}),_0x247b29&&this['_idsRoots']['set'](_0x380179,G(_0x380179,!0x0)));}else{if('addRootAttribute'==_0x4408a6['type']||'removeRootAttribute'==_0x4408a6['type']||'changeRootAttribute'==_0x4408a6['type'])return void this['_handleRootAttributeOperation'](_0x4408a6);}const _0x575a43=this['_cloneOperation'](_0x4408a6,this['_diffRoots']);if('marker'!==_0x4408a6['type']&&(_0x575a43['_execute'](),this['_transformMarkers'](_0x575a43)),_0x247b29)switch(_0x575a43['type']){case'insert':this['_handleInsertOperation'](_0x4408a6);break;case'move':case'remove':case'reinsert':this['_handleMoveOperation'](_0x4408a6);break;case'merge':this['_handleMergeOperation'](_0x4408a6);break;case'split':this['_handleSplitOperation'](_0x4408a6);break;case'marker':this['_handleMarkerOperation'](_0x4408a6);}}['_cloneOperation'](_0x24ed2c,_0x26c6a8){const _0x479bb5=_0x24ed2c['clone']();return _0x479bb5['_authorId']=_0x24ed2c['_authorId'],this['_fixOperation'](_0x479bb5,_0x26c6a8),_0x479bb5;}['_getBaseVids'](_0x3269de){return _0x3269de['map'](_0x2e7678=>{const _0x205706=this['_getVidAttributeName'](_0x2e7678);return Number(_0x2e7678['item']['getAttribute'](_0x205706));});}['_generateTape'](_0x9c2aa7,_0x15dca9){if(_0x9c2aa7['is']('element','$text'))_0x15dca9['push']({'item':_0x9c2aa7,'type':'text'});else{_0x9c2aa7['is']('element')&&_0x15dca9['push']({'item':_0x9c2aa7,'type':'elementStart'});for(const _0x192a4e of _0x9c2aa7['getChildren']())this['_generateTape'](_0x192a4e,_0x15dca9);_0x9c2aa7['is']('element')&&_0x15dca9['push']({'item':_0x9c2aa7,'type':'elementEnd'});}return _0x15dca9;}['_getState'](){const _0x172091=new Map(this['_touched']),_0x1c71b9=new Map(_0x172091),_0x2ff564=new Map(),_0x429019={'insertions':{},'deletions':{}},_0x166fcc={'insertions':{},'deletions':{}},_0x3e27b9=new Map(),_0xa0a891=new Set([...this['_baseRoots']['keys'](),...this['_diffRoots']['keys']()]);_0xa0a891['delete']('$graveyard');for(const _0x2cca4f of _0xa0a891){const _0x436ca2=this['_diffRoots']['get'](_0x2cca4f)||G(_0x2cca4f,!0x1),_0x2acac2=this['_baseRoots']['get'](_0x2cca4f)||G(_0x2cca4f,!0x1);_0x436ca2['isAttached']()||_0x2acac2['isAttached']()?(_0x429019['insertions'][_0x2cca4f]=q(_0x436ca2),_0x429019['deletions'][_0x2cca4f]=q(_0x2acac2),this['_copyMarkers'](_0x429019['deletions'][_0x2cca4f],_0x2acac2),this['_copyMarkers'](_0x429019['insertions'][_0x2cca4f],_0x436ca2),_0x166fcc['insertions'][_0x2cca4f]=this['_generateTape'](this['_idsRoots']['get'](_0x2cca4f),[]),_0x166fcc['deletions'][_0x2cca4f]=this['_generateTape'](this['_baseIdsRoots']['get'](_0x2cca4f)||G(_0x2cca4f,!0x1),[])):_0xa0a891['delete'](_0x2cca4f);}for(const _0x1c47a9 of _0xa0a891){const _0x258f37=_0x166fcc['insertions'][_0x1c47a9];for(const _0x35883c of _0x258f37){const _0x2208f8=this['_getVidAttributeName'](_0x35883c),_0x46c33e=_0x35883c['item']['getAttribute'](_0x2208f8);_0x1c71b9['delete'](_0x46c33e),_0x46c33e>=this['_startingRevisionId']&&_0x2ff564['set'](_0x46c33e,_0x172091['get'](_0x46c33e));}}for(const _0x1bb9ff of _0xa0a891){const _0x43d675=_0x166fcc['insertions'][_0x1bb9ff],_0x17b9a9=this['_getBaseVids'](_0x166fcc['deletions'][_0x1bb9ff]);let _0x2cca7b=0x0;for(const _0x30b36a of _0x43d675){const _0x4d6c39=this['_getVidAttributeName'](_0x30b36a),_0x423733=_0x30b36a['item']['getAttribute'](_0x4d6c39);if(!_0x2ff564['has'](_0x423733)&&!_0x3e27b9['has'](_0x423733)){if(_0x1c71b9['has'](_0x423733))_0x2cca7b++;else{if(_0x423733!=_0x17b9a9[_0x2cca7b]){const _0x33452e=_0x172091['get'](_0x423733)||_0x172091['get'](_0x17b9a9[_0x2cca7b]);for(;_0x423733!=_0x17b9a9[_0x2cca7b];)_0x1c71b9['has'](_0x17b9a9[_0x2cca7b])||(_0x3e27b9['set'](_0x17b9a9[_0x2cca7b],_0x33452e),_0x172091['set'](_0x17b9a9[_0x2cca7b],_0x33452e)),_0x2cca7b++;}_0x2cca7b++;}}}}for(const _0x2feac1 of _0xa0a891){const _0x2109c1=_0x166fcc['insertions'][_0x2feac1];for(const _0x13c18d of _0x2109c1){const _0x8d0d4a=this['_getVidAttributeName'](_0x13c18d),_0x2347a0=_0x13c18d['item']['getAttribute'](_0x8d0d4a);if(_0x3e27b9['has'](_0x2347a0)){const _0x4c3921=_0x3e27b9['get'](_0x2347a0);_0x1c71b9['has'](_0x2347a0)||_0x1c71b9['set'](_0x2347a0,{..._0x4c3921}),_0x2ff564['set'](_0x2347a0,{..._0x4c3921});}}}for(const _0x1e9201 of _0x1c71b9['keys']())_0x1e9201>=this['_startingRevisionId']&&_0x1c71b9['delete'](_0x1e9201);const _0x16bf54=new Map();for(const _0x4fdde0 of _0xa0a891){let _0x4ea744=_0x166fcc['insertions'][_0x4fdde0];for(const _0x40563d of _0x4ea744)if(_0x40563d['item']['is']('element','tableCell')){const _0x36883a=this['_getVidAttributeName'](_0x40563d),_0x41e4f7=_0x40563d['item']['getAttribute'](_0x36883a);if(_0x2ff564['has'](_0x41e4f7)){const _0x4b70a3=_0x40563d['item']['parent']['parent']['getAttribute']('vid_start'),_0x5d33c4=_0x16bf54['get'](_0x4b70a3)||new Set();_0x5d33c4['add'](_0x2ff564['get'](_0x41e4f7)['userId']),_0x16bf54['set'](_0x4b70a3,_0x5d33c4);}}_0x4ea744=_0x166fcc['deletions'][_0x4fdde0];for(const _0x2cc324 of _0x4ea744)if(_0x2cc324['item']['is']('element','tableCell')){const _0x5bae20=this['_getVidAttributeName'](_0x2cc324),_0x1a1954=_0x2cc324['item']['getAttribute'](_0x5bae20);if(_0x1c71b9['has'](_0x1a1954)){const _0x5c643f=_0x2cc324['item']['parent']['parent']['getAttribute']('vid_start'),_0xae07f9=_0x16bf54['get'](_0x5c643f)||new Set();_0xae07f9['add'](_0x1c71b9['get'](_0x1a1954)['userId']),_0x16bf54['set'](_0x5c643f,_0xae07f9);}}for(const _0x32b806 of _0x16bf54['keys']())(_0x2ff564['has'](_0x32b806)||_0x1c71b9['has'](_0x32b806))&&_0x16bf54['delete'](_0x32b806);}for(const _0x49462e of _0xa0a891){const _0x27a349=_0x166fcc['insertions'][_0x49462e];let _0x51fae3=null,_0x32852c=null;for(const _0x4dab45 of _0x27a349){const _0x37cf7c=this['_getVidAttributeName'](_0x4dab45),_0x36bf37=_0x4dab45['item']['getAttribute'](_0x37cf7c),_0x3ef552=_0x16bf54['get'](_0x36bf37);_0x3ef552&&'elementStart'==_0x4dab45['type']&&(_0x51fae3=Array['from'](_0x3ef552)[0x0],_0x32852c=_0x4dab45['item']['getAttribute']('vid_end')),_0x51fae3&&(_0x1c71b9['set'](_0x36bf37,{'userId':_0x51fae3}),_0x2ff564['set'](_0x36bf37,{'userId':_0x51fae3})),_0x36bf37==_0x32852c&&(_0x51fae3=null,_0x32852c=null);}}const _0x4b9ef5={},_0xcfb2ea=new Set();for(const _0x3a0f07 of _0xa0a891){const _0x20bcee=_0x429019['deletions'][_0x3a0f07],_0x11b005=_0x429019['insertions'][_0x3a0f07];for(const {userId:_0x2ee811}of this['_touchedMarkers']['values']())null!==_0x2ee811&&_0xcfb2ea['add'](_0x2ee811);for(const {userId:_0x5b03f8}of this['_touchedRoots']['values']())null!==_0x5b03f8&&_0xcfb2ea['add'](_0x5b03f8);this['_markChanges'](_0x11b005,_0x166fcc['insertions'][_0x3a0f07],_0x2ff564,'insertion',_0xcfb2ea),this['_markChanges'](_0x20bcee,_0x166fcc['deletions'][_0x3a0f07],_0x1c71b9,'deletion',_0xcfb2ea),_0x4b9ef5[_0x3a0f07]={'insertions':this['_prepareViewToSave'](_0x11b005),'deletions':this['_prepareViewToSave'](_0x20bcee),'attachChange':this['_touchedRoots']['get'](_0x3a0f07)||null,'attributesBefore':_0x419818(this['_baseRootsAttributes']['get'](_0x3a0f07))||{},'attributesAfter':_0x419818(this['_diffRootsAttributes']['get'](_0x3a0f07))};}return{'diffData':_0x4b9ef5,'authorsIds':Array['from'](_0xcfb2ea)};}['_processRootBeforeSave'](_0x26bf8f){for(const [,_0x38e202]of _0x26bf8f['markers']){const _0x4acce9=_0x38e202['start']['getAncestors']()['filter'](_0x50fe3a=>'tableCell'==_0x50fe3a['name']);for(const _0xa61cf4 of _0x4acce9)0x1==_0xa61cf4['childCount']&&_0xa61cf4['getChild'](0x0)['is']('element','paragraph')&&_0xa61cf4['getChild'](0x0)['_setAttribute']('keepParagraph',!0x0);}}['_prepareViewToSave'](_0xb075c0){this['_processRootBeforeSave'](_0xb075c0);const _0x23091f=this['editor']['data']['toView'](_0xb075c0,{}),_0x35a56a=Array['from'](_0x23091f['getChildren']())['map'](_0x24c013=>this['_getViewJson'](_0x24c013));return JSON['stringify'](_0x35a56a);}['_getViewJson'](_0x1b8cae){if(_0x1b8cae['is']('$text'))return _0x1b8cae['data'];{const _0x5b14f8=_0x1b8cae;return{'type':Object['keys'](T)['find'](_0xf28301=>_0x1b8cae instanceof T[_0xf28301]),'name':_0x5b14f8['name'],'attributes':Array['from'](_0x5b14f8['getAttributes']()),'children':Array['from'](_0x5b14f8['getChildren']())['map'](_0x112f20=>this['_getViewJson'](_0x112f20))};}}['_markChanges'](_0x4cb554,_0x1fa2cd,_0x46f612,_0x11731e,_0x14efc9){let _0x292d67=null,_0x370e2b=null,_0x516921=0x0;const _0x52f00c=this['editor']['model'];for(let _0x4621e1=0x0;_0x4621e1<_0x1fa2cd['length'];_0x4621e1++){const _0x1bbf41=this['_getVidAttributeName'](_0x1fa2cd[_0x4621e1]),_0x2051bc=_0x1fa2cd[_0x4621e1]['item']['getAttribute'](_0x1bbf41),_0xc75df2=_0x46f612['get'](_0x2051bc),_0x187164=_0x4621e1==_0x1fa2cd['length']-0x1;(!_0x292d67&&_0xc75df2&&(_0x292d67=_0xc75df2,_0x370e2b=_0x1fa2cd[_0x4621e1]),_0x292d67&&(!_0xc75df2||_0xc75df2['userId']!=_0x292d67['userId']))&&(_0x32c0da(_0xc75df2,L(_0x370e2b,_0x4cb554,_0x52f00c),L(_0x1fa2cd[_0x4621e1],_0x4cb554,_0x52f00c)),_0x292d67=_0xc75df2||null,_0x370e2b=_0xc75df2?_0x1fa2cd[_0x4621e1]:null),_0x292d67&&_0x187164&&_0x32c0da(_0xc75df2,L(_0x370e2b,_0x4cb554,_0x52f00c),W(_0x1fa2cd[_0x4621e1],_0x4cb554,_0x52f00c));}function _0x32c0da(_0x3cecd7,_0x3b25b8,_0x58d68b){const _0x884c1b=_0x292d67['userId'],_0xf2599f='revision:'+_0x11731e+':'+_0x884c1b+':'+_0x516921++,_0x177501=_0x52f00c['createRange'](_0x3b25b8,_0x58d68b);_0x4cb554['markers']['set'](_0xf2599f,_0x177501),null!==_0x884c1b&&_0x14efc9['add'](_0x884c1b);}}['_getVidAttributeName'](_0x5de363){switch(_0x5de363['type']){case'elementStart':return'vid_start';case'elementEnd':return'vid_end';default:return'vid';}}['_fixOperation'](_0x213848,_0x115624){_0x213848['baseVersion']=null;for(const _0x41a662 in _0x213848){const _0x3a94d7=_0x213848[_0x41a662];if(_0x3a94d7 instanceof gt){const _0x2400e9=_0x115624['get'](_0x3a94d7['root']['rootName']);_0x213848[_0x41a662]=this['_fixPosition'](_0x3a94d7,_0x2400e9);}if(_0x3a94d7 instanceof vt){const _0x305c29=_0x115624['get'](_0x3a94d7['root']['rootName']);_0x213848[_0x41a662]=this['_fixRange'](_0x3a94d7,_0x305c29);}'root'===_0x41a662&&(_0x213848['root']=_0x115624['get'](_0x213848['root']['rootName']));}}['_fixRange'](_0x796db8,_0x32b029){return this['editor']['model']['createRange'](this['_fixPosition'](_0x796db8['start'],_0x32b029),this['_fixPosition'](_0x796db8['end'],_0x32b029));}['_fixPosition'](_0x363400,_0x1003ed){return this['editor']['model']['createPositionFromPath'](_0x1003ed,_0x363400['path'],_0x363400['stickiness']);}['_handleInsertOperation'](_0x2027ee){const _0x57ad53=this['_idsRoots']['get'](_0x2027ee['position']['root']['rootName']),_0x578201=this['_fixPosition'](_0x2027ee['position'],_0x57ad53),_0x2565e0=null===_0x2027ee['_authorId']?null:_0x2027ee['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x43d51e=_0x578201['parent'],_0x82c845=this['_revisionId'],_0x4d7661=[];for(const _0x4cd43a of _0x2027ee['nodes'])if(_0x4cd43a['is']('element'))_0x4d7661['push'](this['_makeIdsRoot'](_0x4cd43a));else{for(let _0x531ab0=0x0;_0x531ab0<_0x4cd43a['offsetSize'];_0x531ab0++)_0x4d7661['push'](new ft('$text',{'vid':this['_revisionId']++}));}const _0x877af1=this['_revisionId'];for(let _0x42fcfa=_0x82c845;_0x42fcfa<_0x877af1;_0x42fcfa++)this['_touched']['set'](_0x42fcfa,{'userId':_0x2565e0});_0x43d51e['_insertChild'](_0x578201['offset'],_0x4d7661);}['_handleMoveOperation'](_0x21a7d5){(_0x21a7d5=this['_cloneOperation'](_0x21a7d5,this['_idsRoots']))['_execute']();const _0x4196ee=null===_0x21a7d5['_authorId']?null:_0x21a7d5['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x219c7c=_0x21a7d5['getMovedRangeStart'](),_0x29efe1=_0x219c7c['parent'],_0x151b9b=_0x219c7c['offset'];!function _0x4dff86(_0x421f71,_0x3ffc23,_0x97f30d,_0x89ac0c){for(let _0x40d59f=_0x97f30d;_0x40d59f<_0x89ac0c;_0x40d59f++){const _0x23acc3=_0x3ffc23['getChild'](_0x40d59f);_0x23acc3['is']('element','$text')?_0x421f71['set'](_0x23acc3['getAttribute']('vid'),{'userId':_0x4196ee}):(_0x421f71['set'](_0x23acc3['getAttribute']('vid_start'),{'userId':_0x4196ee}),_0x4dff86(_0x421f71,_0x23acc3,0x0,_0x23acc3['childCount']),_0x421f71['set'](_0x23acc3['getAttribute']('vid_end'),{'userId':_0x4196ee}));}}(this['_touched'],_0x29efe1,_0x151b9b,_0x151b9b+_0x21a7d5['howMany']);}['_handleMergeOperation'](_0x3a8507){const _0x2b1436=null===(_0x3a8507=this['_cloneOperation'](_0x3a8507,this['_idsRoots']))['_authorId']?null:_0x3a8507['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x25d99c=_0x3a8507['targetPosition']['parent'],_0x3093ac=_0x3a8507['sourcePosition']['parent'],_0x4456d0=_0x25d99c['getAttribute']('vid_end'),_0x2324df=_0x3093ac['getAttribute']('vid_start');_0x25d99c['_setAttribute']('vid_end',_0x3093ac['getAttribute']('vid_end')),_0x3093ac['_setAttribute']('vid_end',_0x4456d0),this['_touched']['set'](_0x2324df,{'userId':_0x2b1436}),this['_touched']['set'](_0x4456d0,{'userId':_0x2b1436}),_0x3a8507['_execute']();}['_handleSplitOperation'](_0xf0f10d){const _0x9f30d9=null===(_0xf0f10d=this['_cloneOperation'](_0xf0f10d,this['_idsRoots']))['_authorId']?null:_0xf0f10d['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x5dc0b7=_0xf0f10d['graveyardPosition'],_0x6177b5=_0xf0f10d['splitPosition']['parent'];_0xf0f10d['_execute']();const _0x1bf104=_0x6177b5['getAttribute']('vid_end'),_0x59a5a4=_0xf0f10d['insertionPosition']['nodeAfter'];if(_0x5dc0b7){const _0x823662=_0x59a5a4['getAttribute']('vid_end'),_0x2e93c9=_0x6177b5['getAttribute']('vid_end');_0x6177b5['_setAttribute']('vid_end',_0x823662),_0x59a5a4['_setAttribute']('vid_end',_0x2e93c9),this['_touched']['set'](_0x6177b5['getAttribute']('vid_end'),{'userId':_0x9f30d9}),this['_touched']['set'](_0x59a5a4['getAttribute']('vid_start'),{'userId':_0x9f30d9});}else{const _0x4eba56=this['_revisionId']++,_0x31711d=this['_revisionId']++;_0x6177b5['_setAttribute']('vid_end',_0x4eba56),_0x59a5a4['_setAttribute']('vid_start',_0x31711d),_0x59a5a4['_setAttribute']('vid_end',_0x1bf104),this['_touched']['set'](_0x4eba56,{'userId':_0x9f30d9}),this['_touched']['set'](_0x31711d,{'userId':_0x9f30d9});}}['_handleMarkerOperation'](_0x538c98){if(!_0x538c98['affectsData'])return;const _0x33c62b=(_0x538c98=this['_cloneOperation'](_0x538c98,this['_diffRoots']))['oldRange']?_0x538c98['oldRange']['root']:null,_0x8711dd=_0x538c98['newRange']?_0x538c98['newRange']['root']:null;_0x33c62b&&this['_markers']['delete'](_0x538c98['name']),_0x8711dd&&this['_markers']['set'](_0x538c98['name'],_0x538c98['newRange']['clone']());const _0x3a21d4=null===_0x538c98['_authorId']?null:_0x538c98['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x3f130a=_0x538c98['name'];if(!this['_touchedMarkers']['has'](_0x3f130a))return void this['_touchedMarkers']['set'](_0x3f130a,{'range':_0x538c98['oldRange'],'userId':_0x3a21d4});const _0x53830f=this['_touchedMarkers']['get'](_0x3f130a),_0x2eeaa5=_0x53830f['range'],_0x426f31=_0x538c98['newRange'];null==_0x2eeaa5&&null==_0x426f31||_0x2eeaa5&&_0x426f31&&_0x2eeaa5['isEqual'](_0x426f31)?this['_touchedMarkers']['delete'](_0x538c98['name']):_0x53830f['userId']=_0x3a21d4;}['_handleRootOperation'](_0x3d8cbd,_0x329780){this['_diffRoots']['has'](_0x3d8cbd['rootName'])?this['_diffRoots']['get'](_0x3d8cbd['rootName'])['_isAttached']=_0x3d8cbd['isAdd']:(this['_diffRoots']['set'](_0x3d8cbd['rootName'],G(_0x3d8cbd['rootName'],!0x0)),this['_diffRootsAttributes']['set'](_0x3d8cbd['rootName'],{}),_0x329780&&this['_idsRoots']['set'](_0x3d8cbd['rootName'],G(_0x3d8cbd['rootName'],!0x0)));const _0x29e7a7=null===_0x3d8cbd['_authorId']?null:_0x3d8cbd['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x506fec=this['_touchedRoots']['get'](_0x3d8cbd['rootName']);_0x506fec&&_0x506fec['userId']===_0x29e7a7?this['_touchedRoots']['delete'](_0x3d8cbd['rootName']):this['_touchedRoots']['set'](_0x3d8cbd['rootName'],{'userId':_0x29e7a7,'isAttached':_0x3d8cbd['isAdd']});}['_handleRootAttributeOperation'](_0x3f946c){const _0x4348fa=this['_diffRootsAttributes']['get'](_0x3f946c['root']['rootName']);null===_0x3f946c['newValue']?delete _0x4348fa[_0x3f946c['key']]:_0x4348fa[_0x3f946c['key']]=_0x3f946c['newValue'];}}function q(_0xbd7cd){const _0x4e33e5=G(_0xbd7cd['rootName'],_0xbd7cd['isAttached']());for(const _0x31ac30 of _0xbd7cd['getChildren']()){const _0x7b357=_0x31ac30['_clone'](!0x0);_0x4e33e5['_appendChild'](_0x7b357);}return _0x4e33e5;}function G(_0x483ca7,_0x44bfa3=!0x0){const _0x59b678=new wt();return _0x59b678['rootName']=_0x483ca7,_0x59b678['_isAttached']=_0x44bfa3,_0x59b678['isAttached']=()=>_0x59b678['_isAttached'],_0x59b678;}function L(_0x23bf3c,_0x195ea2,_0x282c26){const _0x39c20f='elementEnd'==_0x23bf3c['type']?_0x282c26['createPositionAt'](_0x23bf3c['item'],'end'):_0x282c26['createPositionBefore'](_0x23bf3c['item']);return _0x282c26['createPositionFromPath'](_0x195ea2,_0x39c20f['path'],_0x39c20f['stickiness']);}function W(_0x1886ad,_0x303dc9,_0x4efe95){const _0x436412='elementStart'==_0x1886ad['type']?_0x4efe95['createPositionAt'](_0x1886ad['item'],0x0):_0x4efe95['createPositionAfter'](_0x1886ad['item']);return _0x4efe95['createPositionFromPath'](_0x303dc9,_0x436412['path'],_0x436412['stickiness']);}class ns extends _0x31e91f{['focusTracker'];['keystrokes'];['revisionNameInputView'];constructor(_0x54c51e,_0x20f583){super(_0x54c51e),this['focusTracker']=new _0x3f6af9(),this['keystrokes']=new _0x15c615(),this['set']('revisionNameInputValue',''),this['revisionNameInputView']=this['_createRevisionNameInput'](_0x20f583),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'](),_0x1f889f({'view':this}),this['focusTracker']['add'](this['revisionNameInputView']['element']),this['keystrokes']['listenTo'](this['element']);const _0x42b319=_0x555347=>_0x555347['stopPropagation']();this['keystrokes']['set']('arrowright',_0x42b319),this['keystrokes']['set']('arrowleft',_0x42b319),this['keystrokes']['set']('arrowup',_0x42b319),this['keystrokes']['set']('arrowdown',_0x42b319);}['focus'](){this['revisionNameInputView']['focus']();}get['revisionName'](){return this['revisionNameInputView']['fieldView']['element']['value']['trim']();}set['revisionName'](_0x334657){this['revisionNameInputView']['fieldView']['element']['value']=_0x334657['trim']();}['reset'](){this['revisionNameInputView']['fieldView']['element']['value']='',this['revisionNameInputView']['errorText']=null;}['_createRevisionNameInput'](_0x426a4e){const _0x180b32=new at(this['locale'],_0x35f5d5),_0x7f2283=_0x180b32['fieldView'];_0x7f2283['extendTemplate']({'attributes':{'maxlength':'220'}});let _0x4c01e1=y(this['locale'],'Name\x20of\x20the\x20revision');return!_0x426a4e&&(_0x4c01e1+='\x20('+y(this['locale'],'optional')+')'),(_0x180b32['label']=_0x4c01e1,_0x7f2283['on']('input',()=>{this['revisionNameInputValue']=_0x7f2283['element']['value']['trim']();}),_0x180b32);}}class u extends _0x2594ac{static get['pluginName'](){return'RevisionHistoryUI';}static get['requires'](){return[l];}['_saveRevisionFormView'];['init'](){const _0x4f698a=this['editor'],_0x132db9=_0x4f698a['plugins']['get']('RevisionTracker');_0x4f698a['ui']['componentFactory']['add']('revisionHistory',_0x121e5a=>{const _0x593ec1=_0x9fb3d7(_0x121e5a),_0x3d4b2c=_0x593ec1['panelView']['children'],_0xde4229=new te(_0x121e5a),_0x319f2e=new _0x526e3e(_0x121e5a),_0xc5f1fa=new _0x1f8943(_0x121e5a),_0x24a254=new _0x526e3e(_0x121e5a),_0x39b927=new _0x1f8943(_0x121e5a);return _0x593ec1['bind']('isEnabled')['to'](_0x132db9,'isReady',_0x132db9,'isEnabled',_0x4f698a,'isReadOnly',(_0x18dde,_0x2a0e90,_0x166ceb)=>_0x18dde&&_0x2a0e90&&!_0x166ceb),_0x593ec1['buttonView']['set']({'icon':_0x51adf3['history'],'label':y(_0x121e5a,'Revision\x20history'),'tooltip':!0x0}),_0xc5f1fa['set']({'label':y(_0x121e5a,'Save\x20current\x20revision'),'withText':!0x0,'role':'menuitem'}),_0xc5f1fa['bind']('isEnabled')['to'](_0x132db9,'isReady',_0x132db9,'isEnabled',_0x4f698a,'isReadOnly',(_0x486fda,_0xb0c005,_0x30322e)=>_0x486fda&&_0xb0c005&&!_0x30322e),_0xc5f1fa['on']('execute',()=>this['_showDialog']()),_0x39b927['set']({'label':y(_0x121e5a,'Open\x20revision\x20history'),'withText':!0x0,'role':'menuitem'}),_0x39b927['bind']('isEnabled')['to'](_0x132db9,'isReady',_0x4f698a,'isReadOnly',(_0x4dfa17,_0x35510e)=>_0x4dfa17&&!_0x35510e),_0x39b927['on']('execute',()=>{_0x4f698a['config']['get']('revisionHistory')['showRevisionViewerCallback'](),_0x593ec1['isOpen']=!0x1,_0x4f698a['editing']['view']['focus']();}),_0x319f2e['children']['add'](_0xc5f1fa),_0x24a254['children']['add'](_0x39b927),_0xde4229['role']='menu',_0xde4229['items']['addMany']([_0x319f2e,_0x24a254]),_0x3d4b2c['add'](_0xde4229),_0x593ec1;}),_0x4f698a['ui']['componentFactory']['add']('menuBar:revisionHistory',()=>this['_registerMenuComponent']());}['_registerMenuComponent'](){const _0x5a0d0f=this['editor'],_0x52cc50=_0x5a0d0f['locale'],_0x4ef985=new _0x2d1e8a(_0x52cc50),_0x566d4f=new _0x970d66(_0x52cc50);_0x4ef985['buttonView']['set']({'icon':_0x51adf3['history'],'label':y(_0x52cc50,'Revision\x20history')});const _0x5431a6=new _0x897cfa(_0x52cc50,_0x4ef985),_0x1963e8=new _0x495090(_0x52cc50);_0x1963e8['set']({'label':y(_0x52cc50,'Save\x20current\x20revision')}),_0x1963e8['delegate']('execute')['to'](_0x4ef985),_0x1963e8['on']('execute',()=>{this['_showDialog']();}),_0x5431a6['children']['add'](_0x1963e8),_0x566d4f['items']['add'](_0x5431a6);const _0x5c63b1=new _0x897cfa(_0x52cc50,_0x4ef985),_0x333e22=new _0x495090(_0x52cc50);return _0x333e22['set']({'label':y(_0x52cc50,'Open\x20revision\x20history')}),_0x333e22['delegate']('execute')['to'](_0x4ef985),_0x333e22['on']('execute',()=>{_0x5a0d0f['config']['get']('revisionHistory')['showRevisionViewerCallback']();}),_0x5c63b1['children']['add'](_0x333e22),_0x566d4f['items']['add'](_0x5c63b1),_0x4ef985['panelView']['children']['add'](_0x566d4f),_0x4ef985;}['_showDialog'](){const _0x1e8211=this['editor'],_0x25025c=_0x1e8211['locale'],_0x4f4d37=_0x1e8211['plugins']['get']('Dialog'),_0x1f2fd7=_0x1e8211['plugins']['get']('RevisionTracker');function _0x308ed5(_0x3cb35b){_0x1e8211['config']['get']('revisionHistory.requireRevisionName')&&''===_0x3cb35b['revisionName']?_0x3cb35b['revisionNameInputView']['errorText']=y(_0x25025c,'The\x20revision\x20name\x20cannot\x20be\x20empty.'):(_0x1e8211['plugins']['get'](l)['saveRevision']({'name':_0x3cb35b['revisionName']}),_0x4f4d37['hide']());}this['_saveRevisionFormView']||(this['_createSaveRevisionFormView'](),this['_saveRevisionFormView']['on']('submit',()=>_0x308ed5(this['_saveRevisionFormView']))),this['_saveRevisionFormView']['reset'](),_0x4f4d37['show']({'id':'revisionSave','title':y(_0x25025c,'Save\x20current\x20revision'),'isModal':!0x0,'content':this['_saveRevisionFormView'],'actionButtons':[{'label':y(_0x1e8211['locale'],'Cancel'),'withText':!0x0,'onExecute':()=>_0x4f4d37['hide']()},{'label':y(_0x1e8211['locale'],'Accept'),'class':'ck-button-action','withText':!0x0,'onCreate'(_0x598182){_0x598182['bind']('isEnabled')['to'](_0x1f2fd7,'isReady',_0x1f2fd7,'isEnabled',_0x1e8211,'isReadOnly',(_0x5848ee,_0x1a3bbd,_0x558441)=>_0x5848ee&&_0x1a3bbd&&!_0x558441);},'onExecute':()=>_0x308ed5(this['_saveRevisionFormView'])}]});}['_createSaveRevisionFormView'](){const _0x4f4a46=this['editor'],_0x17881a=_0x4f4a46['locale'];this['_saveRevisionFormView']=new ns(_0x17881a,_0x4f4a46['config']['get']('revisionHistory.requireRevisionName')),this['_saveRevisionFormView']['render']();}}class Z extends _0x31e91f{['changeId'];['_model'];constructor(_0x394289,_0x5cd0c7){super(_0x394289),this['_model']=_0x5cd0c7,this['changeId']=_0x5cd0c7['id'];const _0x25ea69=this['bindTemplate'],_0x384165=y(_0x394289,_0x5cd0c7['data']['isSuggestion']?'Suggested\x20by':'add'==_0x5cd0c7['type']?'Added\x20by':'Removed\x20by');this['set']('type',_0x5cd0c7['type']),this['setTemplate']({'tag':'div','attributes':{'class':['ck-annotation','ck-revision-change',_0x25ea69['to']('type',_0x4c52d0=>'ck-revision-change__'+_0x4c52d0)],'tabindex':-0x1},'children':[{'tag':'span','children':[{'tag':'span','attributes':{'class':['ck-revision-change__label']},'children':[{'text':_0x384165}]},{'text':'\x20'+_0x5cd0c7['author']['name']}]}]});}['focus'](){this['element']['focus']();}}class r extends/* #__PURE__ -- @preserve */
25
+ _0x20aaba(){['id'];['author'];['type'];['data'];['rootName'];constructor(_0x347bb0){super(),this['id']=_0x347bb0['id']||_0x4fb95c(),this['author']=_0x347bb0['author'],this['type']=_0x347bb0['type'],this['data']=_0x347bb0['data']||{},this['rootName']=_0x347bb0['rootName'],this['set']('createdAt',_0x347bb0['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(_0x168cf0,_0x5ab88b){this['newRevisionId']=_0x168cf0,this['oldRevisionId']=_0x5ab88b,this['changes']=new _0x3d976d();}['_setChanges'](_0x4222d1){for(const _0x58a79a of _0x4222d1)this['changes']['add'](_0x58a79a);}}const tt={'c':_0x4071de,'a':_0x15f220,'e':_0x1f144e,'r':_0x228645,'u':_0x436f61};class d extends _0x2594ac{['repository'];['adapter'];['_activeViewTarget'];['_changeView'];['_changeIdToChange'];['_balloon'];static get['pluginName'](){return'RevisionViewer';}static get['requires'](){return[_0x11e0db,_0x5a3ef2,A];}constructor(_0x170b99){super(_0x170b99),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',(_0x35af5d,_0x37e8ce,_0x3e5450)=>{this['activeChange']=null,this['activeView']=null,this['editor']['editing']['view']['change'](_0x41b2a9=>{for(const _0x3978a8 of this['editor']['editing']['view']['document']['roots'])_0x3e5450?_0x41b2a9['removeClass']('ck-editor__editable__overlay',_0x3978a8):_0x41b2a9['addClass']('ck-editor__editable__overlay',_0x3978a8);});}),this['bind']('isNavigationMode')['to'](this,'activeChange',_0x1021b1=>null!==_0x1021b1),this['bind']('currentChangeNumber')['to'](this,'isReady',this,'diff',this,'activeChange',(_0x50c529,_0x1b3730,_0x2e1d0e)=>_0x50c529&&_0x2e1d0e?_0x1b3730['changes']['getIndex'](_0x2e1d0e):0x0),this['bind']('numberOfChanges')['to'](this,'isReady',this,'diff',(_0x3bb6fe,_0x29e009)=>_0x3bb6fe?_0x29e009['changes']['length']:0x0),this['_changeView']=null,this['_changeIdToChange']=new Map(),this['adapter']=null,this['_balloon']=this['editor']['plugins']['get'](_0x5a3ef2);}['init'](){const _0x2c5890=this['editor'],_0x5af5a1=new yt(_0x2c5890,{'direction':'backward'}),_0x1d82e4=new yt(_0x2c5890,{'direction':'forward'});(_0x2c5890['commands']['add']('showPreviousChange',_0x5af5a1),_0x2c5890['commands']['add']('showNextChange',_0x1d82e4),_0x2c5890['commands']['add']('restoreRevision',new bt(_0x2c5890)),this['on']('change:numberOfChanges',()=>{_0x5af5a1['refresh'](),_0x1d82e4['refresh']();}),this['_setConversion'](),this['_initInteractions'](),_0x2c5890['enableReadOnlyMode']('revision-viewer'),_0x2c5890['plugins']['has']('WidgetToolbarRepository'))&&_0x2c5890['plugins']['get']('WidgetToolbarRepository')['forceDisabled']('revision-viewer');}async['getRevisionData'](_0xc12a72){await this['loadRevisionData'](_0xc12a72);const _0x48cf8e={};for(const _0x2d94e3 in _0xc12a72['diffData']){if(_0xc12a72['diffData'][_0x2d94e3]['attachChange']&&!_0xc12a72['diffData'][_0x2d94e3]['attachChange']['isAttached'])continue;const _0x1f4852=this['_removeRevisionMarkers'](JSON['parse'](_0xc12a72['diffData'][_0x2d94e3]['insertions'])),_0x5b47e4=this['editor']['editing']['view']['document'],_0x46e131=new _0xabeb3b(_0x5b47e4,_0x1f4852['map'](_0x41fdd6=>this['_getViewObj'](_0x41fdd6)));this['editor']['data']['processor']['useFillerType']('marked'),_0x48cf8e[_0x2d94e3]=this['editor']['data']['processor']['toData'](_0x46e131),this['editor']['data']['processor']['useFillerType']('default');}return _0x48cf8e;}async['getRevisionRootsAttributes'](_0x4ee9b4){await this['loadRevisionData'](_0x4ee9b4);const _0x41f037={};for(const _0x498151 in _0x4ee9b4['diffData'])_0x4ee9b4['diffData'][_0x498151]['attachChange']&&!_0x4ee9b4['diffData'][_0x498151]['attachChange']['isAttached']||(_0x41f037[_0x498151]=_0x4ee9b4['diffData'][_0x498151]['attributesAfter']||{});return _0x41f037;}['_removeRevisionMarkers'](_0x43b8d5){return(_0x43b8d5=_0x43b8d5['filter'](_0x49d35b=>!_0x49d35b['name']||'revision-start'!==_0x49d35b['name']&&'revision-end'!==_0x49d35b['name']))['forEach'](_0x12f195=>{'string'!=typeof _0x12f195&&(_0x12f195['children']=this['_removeRevisionMarkers'](_0x12f195['children']),_0x12f195['attributes']=_0x12f195['attributes']['filter'](_0x826932=>!_0x826932[0x0]['startsWith']('data-revision-')));}),_0x43b8d5;}async['compare'](_0x471faf,_0x3f4445,_0x530064=!0x1){if(!this['isEnabled'])return;const _0x4cf7b7=this['diff'],_0x585bb4=this['repository'],_0x799864='string'==typeof _0x471faf?_0x585bb4['getRevision'](_0x471faf):_0x471faf,_0x440e63='string'==typeof _0x3f4445?_0x585bb4['getRevision'](_0x3f4445):_0x3f4445,_0x34469f=_0x799864['id'],_0x4350a9=_0x440e63?_0x440e63['id']:null;if(!_0x530064&&this['diff']&&this['diff']['newRevisionId']===_0x34469f&&this['diff']['oldRevisionId']===_0x4350a9)return Promise['resolve']();this['isReady']=!0x1,this['activeView']=null,this['activeChange']=null,this['diff']=new f(_0x34469f,_0x4350a9);const _0x4f8b04=this['_getRevisionsRange'](_0x799864,_0x440e63,!0x0)['map'](_0x42d5af=>this['loadRevisionData'](_0x42d5af));return _0x4f8b04['push'](new Promise(_0x2ea9e3=>{setTimeout(_0x2ea9e3,0x14);})),Promise['all'](_0x4f8b04)['then'](()=>{if(!this['isEnabled'])return;this['_cleanUp']();const _0x26708d=this['_getDiff'](_0x34469f,_0x4350a9);for(const _0x497e45 of _0x26708d['changes'])this['_changeIdToChange']['set'](_0x497e45['id'],_0x497e45);this['editor']['model']['enqueueChange']({'isUndoable':!0x1},_0x31caa2=>{for(const _0x5b3e2f of this['editor']['model']['document']['getRootNames']())_0x31caa2['detachRoot'](_0x5b3e2f);for(const _0x27106b of Object['keys'](_0x26708d['model'])){const _0x5984de=_0x31caa2['addRoot'](_0x27106b);for(const _0x21d3dc of Object['keys'](_0x26708d['attributes'][_0x27106b]))_0x31caa2['setAttribute'](_0x21d3dc,_0x26708d['attributes'][_0x27106b][_0x21d3dc],_0x5984de);_0x31caa2['insert'](_0x26708d['model'][_0x27106b],_0x5984de,0x0);}}),this['diff']['_setChanges'](this['_sortAndFilterDiffChanges'](_0x26708d['changes'])),this['isReady']=!0x0;})['catch'](_0x289b1d=>{console['error'](_0x289b1d),this['_cleanUp'](),_0x4cf7b7&&(this['diff']=_0x4cf7b7),this['isReady']=!0x0;});}['addRevisionData'](_0x42a004,_0x375296){const _0x4ccdb6=this['repository']['createRevision'](_0x42a004);return _0x4ccdb6['on']('_update',(_0x1d393d,_0x1e5603,_0x35bd02)=>_0x375296(_0x1e5603,_0x35bd02,_0x4ccdb6)),this['repository']['addRevision'](_0x4ccdb6),_0x4ccdb6;}['loadRevisionData'](_0x5b4581){if(!_0x5b4581||_0x5b4581['diffData'])return Promise['resolve']();{const _0x520b6b=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0x520b6b,'revisionId':_0x5b4581['id']})['then'](_0x5ace94=>{_0x5b4581['_update']({'diffData':_0x5ace94['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},_0x33e916=>{for(const _0x31e48a of this['editor']['model']['document']['getRootNames']())_0x33e916['detachRoot'](_0x31e48a);});}['_sortAndFilterDiffChanges'](_0x5d445c){const _0x42d62a=[],_0x1c2ac9=new Map();for(const _0x3b49bc of this['editor']['model']['document']['getRootNames']()){const _0xb41f20=this['editor']['editing']['view']['getDomRoot'](_0x3b49bc);if(!_0xb41f20)continue;const _0x9937e=_0xb41f20['getClientRects']()['item'](0x0);_0x9937e&&(_0x42d62a['push'](_0x3b49bc),_0x1c2ac9['set'](_0x3b49bc,_0x9937e));}return _0x42d62a['sort']((_0x4241c1,_0x5a0fa8)=>{const _0x125d4a=_0x1c2ac9['get'](_0x4241c1),_0x4f8f3a=_0x1c2ac9['get'](_0x5a0fa8);return _0x125d4a['y']-_0x4f8f3a['y']||_0x125d4a['x']-_0x4f8f3a['x'];}),(_0x5d445c=_0x5d445c['filter'](_0x5ab7c3=>_0x42d62a['includes'](_0x5ab7c3['rootName'])))['sort']((_0x2b23aa,_0x1dffaf)=>_0x42d62a['indexOf'](_0x2b23aa['rootName'])-_0x42d62a['indexOf'](_0x1dffaf['rootName'])),_0x5d445c;}['_makeTape'](_0x50e090){const _0x3ae0e4=Array['from'](_0x50e090['markers'])['filter'](([_0x38bdd2,_0x1aef02])=>_0x38bdd2['startsWith']('revision:')&&!_0x1aef02['isCollapsed']),_0x159d8c=Array['from'](this['editor']['model']['createRangeIn'](_0x50e090)['getWalker']({'singleCharacters':!0x0}));if(0x0!=_0x3ae0e4['length'])for(const _0x56f3b8 of _0x159d8c){const [_0xe26a50,_0x1672db]=_0x3ae0e4[0x0],[,_0x3c1138,_0x5b2273]=_0xe26a50['split'](':');if(_0x1672db['end']['isEqual'](_0x56f3b8['nextPosition'])&&_0x3ae0e4['shift'](),(_0x56f3b8['previousPosition']['isEqual'](_0x1672db['start'])||_0x56f3b8['previousPosition']['isAfter'](_0x1672db['start']))&&('insertion'==_0x3c1138?_0x56f3b8['isAdded']={'userId':_0x5b2273}:'deletion'==_0x3c1138&&(_0x56f3b8['isRemoved']={'userId':_0x5b2273})),0x0==_0x3ae0e4['length'])break;}return _0x159d8c;}['_refreshStartEndIndex'](_0x52ca9e){const _0xeb007c=new Map();for(let _0x39eadd=0x0;_0x39eadd<_0x52ca9e['length'];_0x39eadd++)'text'===_0x52ca9e[_0x39eadd]['type']?(_0x52ca9e[_0x39eadd]['item']['startIndex']=_0x39eadd,_0x52ca9e[_0x39eadd]['item']['endIndex']=_0x39eadd):('elementStart'===_0x52ca9e[_0x39eadd]['type']?_0x52ca9e[_0x39eadd]['item']['startIndex']=_0x39eadd:'elementEnd'===_0x52ca9e[_0x39eadd]['type']&&(_0x52ca9e[_0x39eadd]['item']['endIndex']=_0x39eadd),_0xeb007c['set'](_0x52ca9e[_0x39eadd]['id'],_0x39eadd));for(const _0x39cd1a of _0xeb007c['values']())'elementStart'===_0x52ca9e[_0x39cd1a]['type']?_0x52ca9e[_0x39cd1a]['item']['endIndex']=_0xeb007c['get'](_0x52ca9e[_0x39cd1a]['pairId']):'elementEnd'===_0x52ca9e[_0x39cd1a]['type']&&(_0x52ca9e[_0x39cd1a]['item']['startIndex']=_0xeb007c['get'](_0x52ca9e[_0x39cd1a]['pairId']));}['_processTape'](_0x3961a3){for(let _0x205316=0x0;_0x205316<_0x3961a3['length'];_0x205316++){if('elementStart'===_0x3961a3[_0x205316]['type'])_0x3961a3[_0x205316]['item']['startIndex']=_0x205316;else{if('elementEnd'===_0x3961a3[_0x205316]['type']){_0x3961a3[_0x205316]['item']['endIndex']=_0x205316;const _0x3f297a=_0x3961a3[_0x205316]['item']['startIndex'];_0x3961a3[_0x3f297a]['pairId']=_0x3961a3[_0x205316]['id'],_0x3961a3[_0x205316]['pairId']=_0x3961a3[_0x3f297a]['id'];}else _0x3961a3[_0x205316]['item']['startIndex']=_0x205316,_0x3961a3[_0x205316]['item']['endIndex']=_0x205316,_0x3961a3[_0x205316]['pairId']=null;}_0x3961a3[_0x205316]['markersStart']||(_0x3961a3[_0x205316]['markersStart']=[],_0x3961a3[_0x205316]['markersEnd']=[]);}}['_markInsertions'](_0x44887f,_0x4c9ac8){const _0x1fdf87=_0x44887f['filter'](_0x49a56b=>!_0x49a56b['isAdded']);for(let _0x34e52d=0x0;_0x34e52d<_0x4c9ac8['length'];_0x34e52d++)_0x4c9ac8[_0x34e52d]['isAdded']&&(_0x1fdf87[_0x34e52d]['isAdded']=_0x4c9ac8[_0x34e52d]['isAdded']);}['_makeModelFromViewString'](_0x3858b8){const _0x508612=JSON['parse'](_0x3858b8),_0x1a3a4c=this['editor']['editing']['view']['document'],_0x22e8f0=new _0xabeb3b(_0x1a3a4c,_0x508612['map'](_0x41fe0c=>this['_getViewObj'](_0x41fe0c)));return this['editor']['data']['toModel'](_0x22e8f0);}['_getViewObj'](_0x5d9b9e){const _0x4949d2=this['editor']['editing']['view']['document'];if('string'==typeof _0x5d9b9e)return new _0x1350e4(_0x4949d2,_0x5d9b9e);{const _0x27ec3d=_0x5d9b9e['children']['map'](_0x4d6bb9=>this['_getViewObj'](_0x4d6bb9));return new(tt[_0x5d9b9e['type']]||_0x4a1b8c)(_0x4949d2,_0x5d9b9e['name'],_0x5d9b9e['attributes'],_0x27ec3d);}}['_getDiff'](_0x51be4b,_0x35d82a=null){const _0x273557=this['repository']['getRevision'](_0x51be4b),_0x4e93c5=_0x35d82a?this['repository']['getRevision'](_0x35d82a):null,_0x14653e=this['_getRevisionsRange'](_0x273557,_0x4e93c5),_0x21b4bc=_0x14653e[_0x14653e['length']-0x1],_0x183dfb=new Map(),_0x3c067d={'model':{},'attributes':{},'changes':[]},_0x54cb45=new Set(),_0x187cc2=new Map();for(let _0x2cef8c=_0x14653e['length']-0x1;_0x2cef8c>=0x0;_0x2cef8c--){const _0x6a34e9=_0x14653e[_0x2cef8c];for(const _0x370947 of Object['keys'](_0x6a34e9['diffData']))if(_0x6a34e9['diffData'][_0x370947]['attachChange']){const _0x5980ff=_0x6a34e9['diffData'][_0x370947]['attachChange'];_0x5980ff['isAttached']?(_0x54cb45['add'](_0x370947),_0x187cc2['has'](_0x370947)&&_0x187cc2['get'](_0x370947)['userId']==_0x5980ff['userId']?_0x187cc2['delete'](_0x370947):_0x187cc2['set'](_0x370947,_0x5980ff)):_0x187cc2['has'](_0x370947)?(_0x54cb45['delete'](_0x370947),_0x187cc2['delete'](_0x370947)):(_0x54cb45['add'](_0x370947),_0x187cc2['set'](_0x370947,_0x5980ff));}else _0x54cb45['add'](_0x370947);}for(const _0xada491 of _0x54cb45){const _0x54953c=_0x187cc2['has'](_0xada491)&&!_0x187cc2['get'](_0xada491)['isAttached'];let _0x4b19d4=_0x54953c?_0x14653e['length']-0x1:0x0;const _0x52bec9=_0x54953c?-0x1:0x1;for(;_0x14653e[_0x4b19d4];){const _0x3f8648=_0x14653e[_0x4b19d4];if(_0x3f8648['diffData'][_0xada491]){const _0x3acb23=_0x54953c?_0x3f8648['diffData'][_0xada491]['attributesBefore']:_0x3f8648['diffData'][_0xada491]['attributesAfter'];_0x3c067d['attributes'][_0xada491]=_0x3acb23?_0x419818(_0x3acb23):{};break;}_0x4b19d4+=_0x52bec9;}}for(const _0x4bd195 of _0x14653e){_0x4bd195['model']={};for(const _0x43e0fe of _0x4bd195['authors'])_0x183dfb['set'](_0x43e0fe['id'],_0x43e0fe);for(const _0x4d988d of _0x54cb45){const _0xfa335=_0x4bd195['diffData'][_0x4d988d]?_0x4bd195['diffData'][_0x4d988d]['insertions']:'[]',_0x4bbaeb=_0x4bd195['diffData'][_0x4d988d]?_0x4bd195['diffData'][_0x4d988d]['deletions']:'[]';_0x4bd195['model'][_0x4d988d]={'insertions':this['_makeModelFromViewString'](_0xfa335),'deletions':this['_makeModelFromViewString'](_0x4bbaeb)};}}for(const _0x3db7e6 of _0x54cb45){let _0x4a88bb=null,_0x5efa5e=0x0;const _0x1a7313=new Map(Array['from'](_0x273557['model'][_0x3db7e6]['insertions']['markers'])['filter'](([_0x14e37e])=>!_0x14e37e['startsWith']('revision:')));let _0x6e3607=0x0;for(const _0x2258d1 of _0x14653e){const _0x40d4b9=this['_makeTape'](_0x2258d1['model'][_0x3db7e6]['insertions']);_0x2258d1==_0x273557?(_0x4a88bb=_0x40d4b9,_0x5efa5e=_0x4a88bb['length'],_0x4a88bb['forEach'](_0x5083bb=>{_0x5083bb['id']=_0x6e3607++;}),this['_processTape'](_0x4a88bb)):this['_markInsertions'](_0x4a88bb,_0x40d4b9);const _0x572ca0=_0x4a88bb['filter'](_0x26e7e7=>!_0x26e7e7['isAdded'])['map'](_0x5f1b20=>_0x5f1b20['id']);let _0x3d7b50=0x0;const _0x4a1c7c=this['_makeTape'](_0x2258d1['model'][_0x3db7e6]['deletions']);_0x4a1c7c['forEach'](_0x1fd43a=>{_0x1fd43a['isRemoved']?_0x1fd43a['id']=_0x5efa5e++:_0x1fd43a['id']=_0x572ca0[_0x3d7b50++];}),this['_processTape'](_0x4a1c7c),this['_setDistance'](_0x4a88bb,'isAdded'),this['_setDistance'](_0x4a1c7c,'isRemoved'),_0x2258d1==_0x273557&&this['_markMarkers'](_0x4a88bb,_0x1a7313),_0x4a88bb=this['_joinTapes'](_0x4a88bb,_0x4a1c7c),this['_refreshStartEndIndex'](_0x4a88bb),this['_setDistance'](_0x4a88bb,'isRemoved');}_0x4a88bb=_0x4a88bb['filter'](_0x5bda02=>!(_0x5bda02['isAdded']&&_0x5bda02['isRemoved']));const _0x1ce4ef=new Map(_0x21b4bc['model'][_0x3db7e6]['deletions']['markers']),_0x3592bc=new Set(_0x1a7313['keys']());for(const _0x353dfa of _0x1ce4ef['keys']())_0x3592bc['delete'](_0x353dfa);this['_markSuggestions'](_0x4a88bb,_0x3592bc),this['_fixObsoleteTags'](_0x4a88bb),_0x4a88bb=this['_removeMissingPairs'](_0x4a88bb),_0x4a88bb=this['_markMismatchedRemovedTags'](_0x4a88bb),_0x4a88bb=this['_removeUnsupportedChanges'](_0x4a88bb);const {root:_0x1a7a2e,changes:_0x25de21}=this['_makeModelFromTape'](_0x4a88bb,_0x183dfb,_0x3db7e6);_0x3c067d['model'][_0x3db7e6]=_0x1a7a2e;const _0x1ef422=_0x187cc2['get'](_0x3db7e6);if(_0x1ef422){const _0x557276=_0x183dfb['get'](_0x1ef422['userId']),_0x29adf0=new r({'author':_0x557276,'type':_0x1ef422['isAttached']?'add':'remove','data':{'isOnRoot':!0x0},'createdAt':new Date(),'rootName':_0x3db7e6});_0x25de21['unshift'](_0x29adf0),_0x3c067d['attributes'][_0x3db7e6]['revisionHistoryAttachChange']=_0x29adf0['id'];}_0x3c067d['changes']=_0x3c067d['changes']['concat'](_0x25de21);}return _0x3c067d;}['_markMarkers'](_0x5d3502,_0x9d67fd){for(let _0x392726=0x0;_0x392726<_0x5d3502['length'];_0x392726++)for(const [_0x43e980,_0x45f417]of _0x9d67fd)_0x45f417['start']['isEqual'](_0x5d3502[_0x392726]['previousPosition'])&&_0x5d3502[_0x392726]['markersStart']['push'](_0x43e980),_0x45f417['end']['isEqual'](_0x5d3502[_0x392726]['nextPosition'])&&_0x5d3502[_0x392726]['markersEnd']['push'](_0x43e980);}['_joinTapes'](_0x1547e9,_0x12120e){let _0x53dbe8=[],_0x2087e8=0x0,_0x420646=0x0;for(;_0x2087e8<_0x1547e9['length']||_0x420646<_0x12120e['length'];){const _0x5e793e=_0x1547e9[_0x2087e8]||{},_0x5dbc4f=_0x12120e[_0x420646]||{};if(_0x5e793e['id']==_0x5dbc4f['id'])_0x2087e8++,_0x420646++,_0x53dbe8['push'](_0x5e793e);else{if(_0x5dbc4f['isRemoved']&&_0x5e793e['isAdded']){const {commonTape:_0x3f5df2,iEnd:_0x29df70,jEnd:_0x2ac479}=this['_threeWayMerge'](_0x1547e9,_0x2087e8,_0x12120e,_0x420646);_0x53dbe8=_0x53dbe8['concat'](_0x3f5df2),_0x2087e8=_0x29df70,_0x420646=_0x2ac479;}else _0x5dbc4f['isRemoved']?(_0x420646++,_0x53dbe8['push'](_0x5dbc4f)):(_0x2087e8++,_0x53dbe8['push'](_0x5e793e));}}return _0x53dbe8;}['_markSuggestions'](_0x546014,_0x10956c){const _0x566776=[];for(let _0x3caa38=0x0;_0x3caa38<_0x546014['length'];_0x3caa38++){for(let _0x38958d=0x0;_0x38958d<_0x546014[_0x3caa38]['markersStart']['length'];_0x38958d++){const _0x3613d5=_0x546014[_0x3caa38]['markersStart'][_0x38958d];if(!_0x10956c['has'](_0x3613d5))continue;const {group:_0x3a5c5a,type:_0xb1367f,authorId:_0x154484}=_0x22d129(_0x3613d5);'revision-suggestion'!=_0x3a5c5a||'insertion'!=_0xb1367f&&'deletion'!=_0xb1367f||(_0x566776['unshift']({'type':_0xb1367f,'name':_0x3613d5,'userId':_0x154484}),_0x546014[_0x3caa38]['markersStart']['splice'](_0x38958d,0x1),_0x38958d--);}_0x5c8b63(_0x546014[_0x3caa38]);for(let _0x19e269=0x0;_0x19e269<_0x546014[_0x3caa38]['markersEnd']['length'];_0x19e269++){const _0x30b0c8=_0x546014[_0x3caa38]['markersEnd'][_0x19e269];if(!_0x10956c['has'](_0x30b0c8))continue;const {group:_0x403ebd,type:_0x2fb8d5}=_0x22d129(_0x30b0c8);if('revision-suggestion'!=_0x403ebd||'insertion'!=_0x2fb8d5&&'deletion'!=_0x2fb8d5)continue;_0x546014[_0x3caa38]['markersEnd']['splice'](_0x19e269,0x1),_0x19e269--;const _0x4ca119=_0x566776['findIndex'](_0x32677e=>_0x32677e['name']==_0x30b0c8);_0x4ca119>-0x1&&_0x566776['splice'](_0x4ca119,0x1);}}function _0x22d129(_0x4dce29){const _0x23d134=_0x4dce29['split'](':');return{'group':_0x23d134[0x0],'type':_0x23d134[0x1],'subType':_0x23d134['length']>=0x5?_0x23d134[0x2]:null,'id':_0x23d134['length']<0x5?_0x23d134[0x2]:_0x23d134[0x3],'authorId':_0x23d134['length']<0x5?_0x23d134[0x3]:_0x23d134[0x4],'markerCount':0x6==_0x23d134['length']?_0x23d134[0x5]:null};}function _0x5c8b63(_0x447700){for(let _0x3935aa=0x0;_0x3935aa<_0x566776['length'];_0x3935aa++){if(_0x447700['isAdded']&&'insertion'==_0x566776[_0x3935aa]['type'])return _0x447700['isAddSuggestion']=_0x566776[_0x3935aa],void delete _0x447700['isAdded'];if(!_0x447700['isAdded']&&!_0x447700['isRemoved']&&'deletion'==_0x566776[_0x3935aa]['type'])return void(_0x447700['isRemoveSuggestion']=_0x566776[_0x3935aa]);}}}['_setDistance'](_0x4bcff8,_0x1c0ea5){let _0x417bea=0x0,_0x5c1073=!0x1;const _0x5651de=new Map();for(const _0x28060d of _0x4bcff8)_0x28060d[_0x1c0ea5]?_0x5c1073&&(_0x417bea++,_0x5c1073=!0x1):(_0x417bea++,_0x5c1073=!0x0),_0x5651de['set'](_0x28060d['id'],_0x417bea);for(let _0x533d41=0x0;_0x533d41<_0x4bcff8['length'];_0x533d41++){if('isRemoved'==_0x1c0ea5&&_0x4bcff8[_0x533d41]['isAdded']||'isAdded'==_0x1c0ea5&&_0x4bcff8[_0x533d41]['isRemoved'])continue;if('text'==_0x4bcff8[_0x533d41]['type']){_0x4bcff8[_0x533d41]['distance']=0x0;continue;}const _0x3c3dbe=_0x5651de['get'](_0x4bcff8[_0x533d41]['pairId']),_0x2fac5a=_0x5651de['get'](_0x4bcff8[_0x533d41]['id']);_0x4bcff8[_0x533d41]['distance']=_0x3c3dbe-_0x2fac5a;}}['_getRevisionsRange'](_0x689d77,_0x3fdfc7,_0x127ffb=!0x1){const _0x30e038=[];let _0x5084a2=this['repository']['getIndex'](_0x689d77),_0x4230d8=this['repository']['getIndex'](_0x3fdfc7);for(-0x1==_0x4230d8&&(_0x4230d8=this['repository']['_revisions']['length'],_0x127ffb=!0x1);_0x5084a2<_0x4230d8;)_0x30e038['push'](this['repository']['getRevision'](_0x5084a2)),_0x5084a2++;return _0x127ffb&&_0x30e038['push'](this['repository']['getRevision'](_0x5084a2)),_0x30e038;}['_threeWayMerge'](_0x4addaf,_0x17092a,_0x9e0581,_0x335c65){const _0xf35a36=this['editor']['model']['schema'];let _0x3fb696=_0x17092a;for(;_0x4addaf[_0x3fb696]&&_0x4addaf[_0x3fb696]['isAdded'];)_0x3fb696++;let _0x28bae2=_0x335c65;for(;_0x9e0581[_0x28bae2]&&_0x9e0581[_0x28bae2]['isRemoved'];)_0x28bae2++;_0x473c87(_0x4addaf,_0x17092a,_0x3fb696),_0x473c87(_0x9e0581,_0x335c65,_0x28bae2);const _0xa0535e=_0x9e0581['slice'](_0x335c65,_0x28bae2)['concat'](_0x4addaf['slice'](_0x17092a,_0x3fb696));return _0xa0535e['sort']((_0xa40b82,_0x23313f)=>_0xa40b82['side']!=_0x23313f['side']?_0xa40b82['side']-_0x23313f['side']:_0xa40b82['level']!=_0x23313f['level']?_0xa40b82['level']-_0x23313f['level']:_0xa40b82['distance']!=_0x23313f['distance']?_0x23313f['distance']-_0xa40b82['distance']:!!_0xa40b82['isAdded']!=!!_0x23313f['isAdded']?-0x1==_0xa40b82['side']||0x0==_0xa40b82['side']?_0xa40b82['isAdded']?-0x1:0x1:_0xa40b82['isAdded']?0x1:-0x1:_0xa40b82['index']-_0x23313f['index']),{'commonTape':_0xa0535e,'iEnd':_0x3fb696,'jEnd':_0x28bae2};function _0x473c87(_0x382894,_0x209ad1,_0x1f1ef3){let _0x266052=-0x1,_0x1dff98=Number['POSITIVE_INFINITY'],_0x340a49=!0x0;for(let _0x2f7655=_0x209ad1;_0x2f7655<_0x1f1ef3;_0x2f7655++)if(_0xf35a36['isInline'](_0x382894[_0x2f7655]['item'])||(_0x340a49=!0x1),_0x382894[_0x2f7655]['item']['startIndex']<_0x209ad1&&(_0x266052=_0x2f7655),_0x382894[_0x2f7655]['item']['endIndex']>=_0x1f1ef3){_0x1dff98=_0x2f7655;break;}_0x340a49&&(_0x266052=_0x1f1ef3-0x1);for(let _0x7afc3e=_0x209ad1;_0x7afc3e<_0x1f1ef3;_0x7afc3e++)_0x382894[_0x7afc3e]['side']=_0x7afc3e<=_0x266052?-0x1:_0x7afc3e<_0x1dff98?0x0:0x1,_0x382894[_0x7afc3e]['index']=_0x7afc3e;let _0x23a22c=0x0;for(let _0x22f717=_0x209ad1;_0x22f717<=_0x266052;_0x22f717++)0x0==_0x382894[_0x22f717]['distance']?_0x382894[_0x22f717]['level']=_0x23a22c:(_0x23a22c++,_0x382894[_0x22f717]['level']=_0x23a22c,_0x23a22c++);for(let _0x27a6d=_0x209ad1;_0x27a6d<_0x1f1ef3;_0x27a6d++)0x0==_0x382894[_0x27a6d]['side']&&(_0x382894[_0x27a6d]['level']=_0x23a22c);_0x23a22c=0x0;for(let _0x558ee5=_0x1f1ef3-0x1;_0x558ee5>=_0x1dff98;_0x558ee5--)0x0==_0x382894[_0x558ee5]['distance']?_0x382894[_0x558ee5]['level']=_0x23a22c:(_0x23a22c--,_0x382894[_0x558ee5]['level']=_0x23a22c,_0x23a22c--);}}['_fixObsoleteTags'](_0x4309c7){const _0x4aa5c7=new Map(),_0x3fab90=this['editor']['model']['schema'];for(let _0x162d99=0x1;_0x162d99<_0x4309c7['length'];_0x162d99++){let _0x237ab1,_0x25e77c,_0x5187f3;const _0x2f1fd4=_0x4309c7[_0x162d99],_0x14e652=_0x4309c7[_0x162d99-0x1];if('text'==_0x2f1fd4['type'])continue;if(_0x2f1fd4['type']!=_0x14e652['type'])continue;if(!_0x3fab90['isBlock'](_0x14e652['item'])||_0x3fab90['isLimit'](_0x14e652['item']))continue;if(!_0x3fab90['isBlock'](_0x2f1fd4['item'])||_0x3fab90['isLimit'](_0x2f1fd4['item']))continue;if((_0x4309c7[_0x162d99]['isAdded']||_0x4309c7[_0x162d99]['isAddSuggestion'])&&_0x4309c7[_0x162d99-0x1]['isRemoved'])_0x237ab1=_0x4309c7[_0x162d99],_0x25e77c=_0x4309c7[_0x162d99-0x1],_0x5187f3=_0x162d99-0x1;else{if(!_0x4309c7[_0x162d99]['isRemoved']||!_0x4309c7[_0x162d99-0x1]['isAdded']&&!_0x4309c7[_0x162d99-0x1]['isAddSuggestion'])continue;_0x237ab1=_0x4309c7[_0x162d99-0x1],_0x25e77c=_0x4309c7[_0x162d99],_0x5187f3=_0x162d99;}const _0x2c8ac3=_0x237ab1['level']==_0x25e77c['level'],_0x574d5c=Math['abs'](_0x237ab1['level'])<Math['abs'](_0x25e77c['level'])&&0x0==_0x25e77c['distance'];(_0x2c8ac3||_0x574d5c)&&(_0x4aa5c7['set'](_0x25e77c['id'],_0x237ab1['id']),_0x4309c7['splice'](_0x5187f3,0x1),_0x162d99--,_0x237ab1['isAdded']=!0x1);}for(let _0x58cde8=0x0;_0x58cde8<_0x4309c7['length'];_0x58cde8++)_0x4aa5c7['has'](_0x4309c7[_0x58cde8]['pairId'])&&(_0x4309c7[_0x58cde8]['pairId']=_0x4aa5c7['get'](_0x4309c7[_0x58cde8]['pairId']));}['_removeMissingPairs'](_0x281bb9){const _0x575cb5=new Set(_0x281bb9['map'](_0x46e563=>_0x46e563['id']));for(let _0x393907=0x0;_0x393907<_0x281bb9['length'];_0x393907++)_0x575cb5['has'](_0x281bb9[_0x393907]['pairId'])||0x0==_0x281bb9[_0x393907]['distance']||(_0x281bb9[_0x393907]['isIncorrect']=!0x0);return _0x281bb9['filter'](_0x14a49a=>!_0x14a49a['isIncorrect']);}['_markMismatchedRemovedTags'](_0x128a3e){const _0x2779f5=new Set();for(let _0x3945ea=0x0;_0x3945ea<_0x128a3e['length'];_0x3945ea++){if(_0x2779f5['has'](_0x128a3e[_0x3945ea]['id'])&&_0x128a3e[_0x3945ea]['isRemoved']&&(_0x128a3e[_0x3945ea]['isIncorrect']=!0x0),_0x128a3e[_0x3945ea]['isIncorrect'])continue;if(0x0==_0x128a3e[_0x3945ea]['distance'])continue;if('elementStart'!=_0x128a3e[_0x3945ea]['type'])continue;if(null==_0x128a3e[_0x3945ea]['pairId'])continue;let _0x39dde3=_0x3945ea+0x1,_0x29b1da=0x0;for(;_0x128a3e[_0x39dde3]['id']!=_0x128a3e[_0x3945ea]['pairId'];)'elementStart'==_0x128a3e[_0x39dde3]['type']?_0x29b1da++:'elementEnd'==_0x128a3e[_0x39dde3]['type']&&_0x29b1da--,_0x39dde3++;if(0x0!=_0x29b1da){if(_0x128a3e[_0x3945ea]['isRemoved'])_0x128a3e[_0x3945ea]['isIncorrect']=!0x0;else{for(;_0x39dde3!=_0x3945ea;)_0x128a3e[_0x39dde3]['isRemoved']&&0x0!=_0x128a3e[_0x39dde3]['distance']&&(_0x128a3e[_0x39dde3]['isIncorrect']=!0x0,_0x2779f5['add'](_0x128a3e[_0x39dde3]['pairId'])),_0x39dde3--;}}}return _0x128a3e['filter'](_0x370a6d=>!_0x370a6d['isIncorrect']);}['_removeUnsupportedChanges'](_0x14bbab){const _0x1b667c=this['editor']['model']['schema'];for(let _0x5417d9=0x0;_0x5417d9<_0x14bbab['length'];_0x5417d9++){if(!(_0x14bbab[_0x5417d9]['isAdded']||_0x14bbab[_0x5417d9]['isAddSuggestion']||_0x14bbab[_0x5417d9]['isRemoved']||_0x14bbab[_0x5417d9]['isRemoveSuggestion']))continue;if(0x0==_0x14bbab[_0x5417d9]['distance'])continue;const _0xf6054b=_0x14bbab[_0x5417d9]['item'];_0x1b667c['isBlock'](_0xf6054b)||_0x1b667c['isLimit'](_0xf6054b)||(_0x14bbab[_0x5417d9]['isAdded']&&delete _0x14bbab[_0x5417d9]['isAdded'],_0x14bbab[_0x5417d9]['isAddSuggestion']&&delete _0x14bbab[_0x5417d9]['isAddSuggestion'],_0x14bbab[_0x5417d9]['isRemoveSuggestion']&&delete _0x14bbab[_0x5417d9]['isRemoveSuggestion'],_0x14bbab[_0x5417d9]['isRemoved']&&(_0x14bbab[_0x5417d9]['isIncorrect']=!0x0));}return _0x14bbab['filter'](_0x23ce98=>!_0x23ce98['isIncorrect']);}['_makeModelFromTape'](_0x1e095a,_0x2d0356,_0x5747c0){const _0x43b41a=new wt(),_0x20f08f=[],_0x48da9f=new Map(),_0x1004c3=this['editor']['model'],_0x410045=_0x1004c3['schema'],_0xb5a24a=[_0x43b41a],_0x10c16b={},_0x35b18c={'isAdded':[],'isRemoved':[],'isAddSuggestion':[],'isRemoveSuggestion':[]};let _0x1b21de=null;const _0x1df37c=[0x0];for(let _0x351089=0x0;_0x351089<_0x1e095a['length'];_0x351089++){let _0x55557c,_0x5d0f30;if('elementStart'===_0x1e095a[_0x351089]['type']){_0x55557c=_0x1004c3['createPositionFromPath'](_0x43b41a,_0x1df37c);const _0x222496=new ft(_0x1e095a[_0x351089]['item']['name'],_0x1e095a[_0x351089]['item']['getAttributes']());_0xb5a24a[0x0]['_appendChild'](_0x222496),_0x1df37c['push'](0x0),_0xb5a24a['unshift'](_0x222496),_0x5d0f30=_0x1004c3['createPositionFromPath'](_0x43b41a,_0x1df37c),_0x1b21de=null;}else{if('elementEnd'===_0x1e095a[_0x351089]['type'])_0xb5a24a['shift'](),_0x55557c=_0x1004c3['createPositionFromPath'](_0x43b41a,_0x1df37c),_0x1df37c['pop'](),_0x1df37c[_0x1df37c['length']-0x1]++,_0x5d0f30=_0x1004c3['createPositionFromPath'](_0x43b41a,_0x1df37c),_0x1b21de=null;else{if(_0x55557c=_0x1004c3['createPositionFromPath'](_0x43b41a,_0x1df37c),_0x1b21de&&_0x20aa92(_0x1b21de,_0x1e095a[_0x351089]['item']))_0x1b21de['_data']+=_0x1e095a[_0x351089]['item']['data'];else{const _0x457a64=new _t(_0x1e095a[_0x351089]['item']['data'],_0x1e095a[_0x351089]['item']['getAttributes']());_0xb5a24a[0x0]['_appendChild'](_0x457a64),_0x1b21de=_0x457a64;}_0x1df37c[_0x1df37c['length']-0x1]+=_0x1e095a[_0x351089]['item']['offsetSize'],_0x5d0f30=_0x1004c3['createPositionFromPath'](_0x43b41a,_0x1df37c);}}for(const _0xc26f14 of _0x1e095a[_0x351089]['markersStart'])_0x48da9f['set'](_0xc26f14,{'start':_0x55557c,'end':null});_0x1550a6('isRemoveSuggestion',_0x351089,_0x55557c,_0x5d0f30),_0x1550a6('isAddSuggestion',_0x351089,_0x55557c,_0x5d0f30),_0x1550a6('isRemoved',_0x351089,_0x55557c,_0x5d0f30),_0x1550a6('isAdded',_0x351089,_0x55557c,_0x5d0f30);for(const _0x3b6f97 of _0x1e095a[_0x351089]['markersEnd']){_0x48da9f['get'](_0x3b6f97)['end']=_0x5d0f30;}}for(const [_0x229290,_0x2bf65a]of _0x48da9f){const _0x36e935=this['editor']['model']['createRange'](_0x2bf65a['start'],_0x2bf65a['end']);_0x43b41a['markers']['set'](_0x229290,_0x36e935);}return _0x20f08f['sort']((_0x2029ef,_0x2ea2e0)=>{const _0x362fea=_0x43b41a['markers']['get']('revision:'+_0x2029ef['id']),_0x43bdc1=_0x43b41a['markers']['get']('revision:'+_0x2ea2e0['id']);return _0x362fea['start']['isBefore'](_0x43bdc1['start'])?-0x1:_0x362fea['start']['isAfter'](_0x43bdc1['start'])?0x1:_0x362fea['end']['isBefore'](_0x43bdc1['end'])?-0x1:_0x362fea['end']['isAfter'](_0x43bdc1['end'])?0x1:'add'===_0x2029ef['type']?-0x1:0x1;}),{'root':_0x43b41a,'changes':_0x20f08f};function _0x1550a6(_0x4dda89,_0x14938c,_0x52b7f1,_0x53d3e2){const _0x2dfc71=!!_0x1e095a[_0x14938c][_0x4dda89],_0x5184c4=_0x2dfc71?_0x1e095a[_0x14938c][_0x4dda89]['userId']:null,_0x4d3400=_0x14938c===_0x1e095a['length']-0x1,_0xcea99b=_0x35b18c[_0x4dda89][0x0],_0x248100=_0x410045['isObject'](_0x1e095a[_0x14938c]['item']);!_0x10c16b[_0x4dda89]&&_0x2dfc71?_0x10c16b[_0x4dda89]={'start':_0x52b7f1,'tapeItem':_0x1e095a[_0x14938c],'userId':_0x5184c4,'type':_0x4dda89}:_0x10c16b[_0x4dda89]&&!_0x2dfc71?(_0x10c16b[_0x4dda89]['end']=_0x52b7f1,_0xc67890(_0x10c16b[_0x4dda89]),_0x10c16b[_0x4dda89]=null):_0x10c16b[_0x4dda89]&&_0x2dfc71&&_0x10c16b[_0x4dda89]['userId']!==_0x5184c4&&(_0x10c16b[_0x4dda89]['end']=_0x52b7f1,_0xcea99b&&_0xcea99b['userId']===_0x10c16b[_0x4dda89]['userId']||_0xc67890(_0x10c16b[_0x4dda89]),_0x10c16b[_0x4dda89]={'start':_0x52b7f1,'tapeItem':_0x1e095a[_0x14938c],'userId':_0x5184c4,'type':_0x4dda89}),_0x10c16b[_0x4dda89]&&_0x248100&&('elementStart'!==_0x1e095a[_0x14938c]['type']||_0xcea99b&&_0xcea99b['userId']===_0x5184c4||_0x35b18c[_0x4dda89]['unshift']({'userId':_0x5184c4,'object':_0x1e095a[_0x14938c]['item'],'change':_0x10c16b[_0x4dda89]}),'elementEnd'===_0x1e095a[_0x14938c]['type']&&_0xcea99b&&_0xcea99b['object']===_0x1e095a[_0x14938c]['item']&&(_0x35b18c[_0x4dda89]['shift'](),_0x10c16b[_0x4dda89]=_0xcea99b['change'])),_0x10c16b[_0x4dda89]&&_0x4d3400&&(_0x10c16b[_0x4dda89]['end']=_0x53d3e2,_0xc67890(_0x10c16b[_0x4dda89]),_0x10c16b[_0x4dda89]=null);}function _0xc67890({start:_0x15a566,end:_0x4525c1,tapeItem:_0x498fd7,userId:_0xb7d31b,type:_0x38b891}){const _0x280d12=_0x498fd7['item'],_0x11eb37=_0x1004c3['schema']['isBlock'](_0x280d12)&&!_0x1004c3['schema']['isLimit'](_0x280d12),_0x3c4939=_0x15a566['nodeAfter']==_0x4525c1['parent']&&_0x4525c1['isAtStart'];if(_0x11eb37&&_0x3c4939)return;const _0x2ac5af=_0x1004c3['createRange'](_0x15a566,_0x4525c1),_0x4dbdaf=_0x2d0356['get'](_0xb7d31b),_0x211cce=new r({'author':_0x4dbdaf,'type':'isAdded'==_0x38b891||'isAddSuggestion'==_0x38b891?'add':'remove','data':{'isSuggestion':'isAddSuggestion'==_0x38b891||'isRemoveSuggestion'==_0x38b891},'createdAt':new Date(),'rootName':_0x5747c0});_0x20f08f['push'](_0x211cce),_0x43b41a['markers']['set']('revision:'+_0x211cce['id'],_0x2ac5af);}function _0x20aa92(_0x3d7412,_0x48422c){const _0x46e68a=_0x3d7412['getAttributes'](),_0x246898=_0x48422c['getAttributes']();for(const _0x360d99 of _0x46e68a){if(_0x360d99[0x1]!==_0x48422c['getAttribute'](_0x360d99[0x0]))return!0x1;_0x246898['next']();}return _0x246898['next']()['done'];}}['_setConversion'](){this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'revision'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision','view':_0x6d95ac=>{const _0x58b0a9=_0x6d95ac['markerName']['split'](':')[0x1],_0xa1597f=this['_getChangeFromId'](_0x58b0a9);if(!_0xa1597f)return null;const _0x1d2533='add'==_0xa1597f['type']?'insertion':'deletion',_0x5e89c5=['ck-suggestion-marker','ck-suggestion-marker-'+_0x1d2533];return _0xa1597f['data']['isSuggestion']&&_0x5e89c5['push']('ck-suggestion-marker-'+_0x1d2533+'-new'),this['activeChange']==_0xa1597f&&_0x5e89c5['push']('ck-suggestion-marker--active'),{'classes':_0x5e89c5,'attributes':{'data-change-id':_0x58b0a9}};}}),this['editor']['conversion']['for']('upcast')['add'](_0xc2981e=>{_0xc2981e['on']('element:pre',(_0x2516f0,_0x4bbe27,_0x384bd1)=>{const _0x333e7f=_0x4bbe27['viewItem']['getChild'](0x0);if(!_0x333e7f||!_0x333e7f['is']('element','code'))return;if(!_0x384bd1['consumable']['consume'](_0x333e7f,{'attributes':['vid_start','vid_end']}))return;const _0x22d481=_0x4bbe27['modelRange']['start']['nodeAfter'];_0x384bd1['writer']['setAttribute']('vid_start',_0x333e7f['getAttribute']('vid_start'),_0x22d481),_0x384bd1['writer']['setAttribute']('vid_end',_0x333e7f['getAttribute']('vid_end'),_0x22d481);},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['add'](_0x51619b=>{_0x51619b['on']('element',(_0x45b3b3,_0x50423d,_0x4c4c48)=>{if(!_0x4c4c48['consumable']['consume'](_0x50423d['viewItem'],{'attributes':['vid_start','vid_end']}))return;if(_0x50423d['modelRange']['isCollapsed'])return;const _0x40ab2e=_0x50423d['modelRange']['start']['nodeAfter'];_0x40ab2e['hasAttribute']('vid_start')||_0x40ab2e['hasAttribute']('vid')||(_0x4c4c48['writer']['setAttribute']('vid_start',_0x50423d['viewItem']['getAttribute']('vid_start'),_0x40ab2e),_0x4c4c48['writer']['setAttribute']('vid_end',_0x50423d['viewItem']['getAttribute']('vid_end'),_0x40ab2e));},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['elementToAttribute']({'view':{'name':'span','attributes':{'vid':!0x0}},'model':{'key':'vid','value':_0x440381=>_0x440381['getAttribute']('vid')}}),this['editor']['model']['schema']['on']('checkAttribute',(_0x24f6e1,[,_0x45238b])=>{['vid_start','vid_end','vid']['includes'](_0x45238b)&&(_0x24f6e1['return']=!0x0,_0x24f6e1['stop']());},{'priority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['add'](_0x325a49=>{_0x325a49['on']('attribute:vid',(_0xf40491,_0x49ecc8,_0x4e8ce1)=>{if('\x20'!=_0x49ecc8['item']['data']||_0x49ecc8['item']['parent']['maxOffset']>0x1)return;if(!_0x4e8ce1['consumable']['consume'](_0x49ecc8['item'],_0xf40491['name']))return;const _0x53f844=_0x4e8ce1['writer'],_0x1a0a23=_0x4e8ce1['mapper']['toViewRange'](_0x49ecc8['range']);_0x53f844['wrap'](_0x1a0a23,_0x53f844['createAttributeElement']('span'));});}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',function(_0x553470){const _0x488069=_0x553470['plugins']['get']('RevisionViewer');return(_0x323e07,_0x2a5740,_0x488f6e)=>{const _0x5e88c1=_0x2a5740['markerName']['split'](':')[0x1],_0x43a444=_0x488069['_getChangeFromId'](_0x5e88c1);if(!_0x43a444)return null;const _0x166ca1='add'==_0x43a444['type']?'split':'merge';if(!_0x488f6e['consumable']['test'](_0x2a5740['markerRange'],_0x323e07['name']))return;const _0x14cc20=_0x2a5740['markerRange']['getWalker'](),_0x1caeff=_0x2a5740['markerRange']['start'],_0x451fec=_0x553470['model']['schema'];let _0x43405c=null,_0x455b98=null,_0x219e6b=!0x1,_0x344d6e=!0x1;for(const _0x3cdc0e of _0x14cc20){const _0x3b4f5d=_0x3cdc0e['item'];_0x219e6b=_0x219e6b||_0x451fec['isContent'](_0x3b4f5d);const _0xf65229=_0x488f6e['mapper']['toViewElement'](_0x3b4f5d);if(_0xf65229&&_0xf65229['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x3cdc0e['type']&&(_0x451fec['isBlock'](_0x3b4f5d)&&!_0x451fec['isLimit'](_0x3b4f5d)&&(_0x3b4f5d['nextSibling']||_0x1caeff['isAtEnd']?_0x43405c&&_0x43405c['parent']==_0x3b4f5d||(_0x43405c=_0x3b4f5d,_0x52fb40(_0x3cdc0e['previousPosition']),_0x344d6e=!0x0):_0x455b98=_0x455b98||_0x3cdc0e['previousPosition']));}function _0x52fb40(_0x252c18){const _0x13cf14=_0x488f6e['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x166ca1}),_0x13862a=_0x488f6e['mapper']['toViewPosition'](_0x252c18);_0x43a444['data']['isSuggestion']&&_0x488f6e['writer']['addClass']('ck-suggestion-marker-'+_0x166ca1+'-new',_0x13cf14),_0x488069['activeChange']==_0x43a444&&_0x488f6e['writer']['addClass']('ck-suggestion-marker--active',_0x13cf14),_0x488f6e['writer']['insert'](_0x13862a,_0x13cf14),_0x488f6e['mapper']['bindElementToMarker'](_0x13cf14,_0x2a5740['markerName']);}_0x219e6b||_0x344d6e||!_0x455b98||_0x52fb40(_0x455b98);};}(this['editor']),{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('removeMarker:revision',(_0x3525fc,_0x31281d,_0x1b46d7)=>{const _0x28c663=_0x1b46d7['mapper']['markerNameToElements'](_0x31281d['markerName']);if(_0x28c663){for(const _0x4ee8be of _0x28c663)(_0x4ee8be['hasClass']('ck-suggestion-marker-split')||_0x4ee8be['hasClass']('ck-suggestion-marker-merge'))&&(_0x1b46d7['mapper']['unbindElementFromMarkerName'](_0x4ee8be,_0x31281d['markerName']),_0x1b46d7['writer']['remove'](_0x4ee8be));}},{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',(_0x25d0f4,_0x5bc981,_0x235de1)=>{const _0x57b5dd=_0x5bc981['markerName']['split'](':')[0x1],_0x1d9c05=this['_getChangeFromId'](_0x57b5dd);if(!_0x1d9c05)return null;const _0x3113a2='add'==_0x1d9c05['type']?'split':'merge';if(_0x235de1['consumable']['test'](_0x5bc981['markerRange'],_0x25d0f4['name']))for(const _0x87af79 of _0x5bc981['markerRange']['getItems']()){if(!_0x87af79['is']('element','softBreak'))continue;const _0x406dc1=_0x235de1['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x3113a2}),_0x54d540=_0x235de1['mapper']['toViewPosition'](this['editor']['model']['createPositionBefore'](_0x87af79));_0x1d9c05['data']['isSuggestion']&&_0x235de1['writer']['addClass']('ck-suggestion-marker-'+_0x3113a2+'-new',_0x406dc1),this['activeChange']==_0x1d9c05&&_0x235de1['writer']['addClass']('ck-suggestion-marker--active',_0x406dc1),_0x235de1['writer']['insert'](_0x54d540,_0x406dc1),_0x235de1['mapper']['bindElementToMarker'](_0x406dc1,_0x5bc981['markerName']);}},{'priority':'high'}),this['editor']['model']['document']['on']('change',()=>{this['editor']['editing']['view']['change'](_0xac663e=>{for(const _0xdbc4c9 of this['editor']['model']['document']['getRootNames']()){const _0x1a8c75=this['editor']['model']['document']['getRoot'](_0xdbc4c9),_0x311a8e=this['editor']['editing']['view']['document']['getRoot'](_0xdbc4c9);if(_0x311a8e){const _0x56388d=_0x1a8c75['getAttribute']('revisionHistoryAttachChange');if(_0xac663e['removeAttribute']('data-change-id',_0x311a8e),_0xac663e['removeClass']('ck-revision-history-root-add',_0x311a8e),_0xac663e['removeClass']('ck-revision-history-root-remove',_0x311a8e),_0xac663e['removeClass']('ck-revision-history-root--active',_0x311a8e),_0x56388d){const _0xa3f816=this['_getChangeFromId'](_0x56388d);if(!_0xa3f816)return null;_0xac663e['setAttribute']('data-change-id',_0x56388d,_0x311a8e),_0xac663e['addClass']('ck-revision-history-root-'+_0xa3f816['type'],_0x311a8e),this['activeChange']==_0xa3f816&&_0xac663e['addClass']('ck-revision-history-root--active',_0x311a8e);}}}});}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'comment','model':_0x284ebd=>'revision-comment:'+_0x284ebd,'converterPriority':'highest'}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'suggestion','model':_0x220dd8=>'revision-suggestion:'+_0x220dd8,'converterPriority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision-suggestion','view':_0x15b77b=>({'name':'suggestion:'+_0x15b77b,'group':'revision-suggestion'}),'converterPriority':'highest'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision-suggestion','view':_0x1ee34f=>{const _0x332df7=_0x1ee34f['markerName']['split'](':')[0x1];return'insertion'!=_0x332df7&&'deletion'!=_0x332df7?null:{'classes':['ck-suggestion-preview-marker','ck-suggestion-preview-marker-'+_0x332df7]};}}),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',(_0x179876,_0x318787,_0x2f395a)=>{const _0x55bf58=_0x2f395a['mapper']['markerNameToElements'](_0x318787['markerName']);if(_0x55bf58){for(const _0x393217 of _0x55bf58)_0x393217['is']('uiElement')&&(_0x2f395a['mapper']['unbindElementFromMarkerName'](_0x393217,_0x318787['markerName']),_0x2f395a['writer']['remove'](_0x393217));}},{'priority':'high'});}['_getChangeFromId'](_0x2d3752){return this['_changeIdToChange']['get'](_0x2d3752);}['_getViewForChange'](_0x39a9fe){return this['_changeView']&&this['_changeView']['destroy'](),this['_changeView']=new Z(this['editor']['locale'],_0x39a9fe),this['_changeView'];}['_initInteractions'](){this['editor']['model']['document']['selection']['observeMarkers']('revision'),this['on']('change:activeView',(_0x3f95eb,_0x3534b1,_0x2deecb,_0x4b9084)=>{_0x4b9084&&this['_balloon']['remove'](_0x4b9084),_0x2deecb&&(this['_balloon']['add']({'view':_0x2deecb,'stackId':'revisionHistoryLabel','position':{'target':()=>{const _0x3e35bc=this['editor']['editing'],_0x31a7fc=this['_getChangeFromId'](_0x2deecb['changeId']);let _0x1b4cfd;if(_0x31a7fc['data']['isOnRoot']){const _0x3eda9c=_0x3e35bc['view']['getDomRoot'](_0x31a7fc['rootName']);_0x1b4cfd=Array['from'](_0x3eda9c['getClientRects']());}else{const _0x50f5c5=this['editor']['model']['markers']['get']('revision:'+_0x2deecb['changeId']);_0x1b4cfd=Array['from'](_0x3e35bc['mapper']['markerNameToElements'](_0x50f5c5['name']))['map'](_0x41b714=>_0x3e35bc['view']['domConverter']['mapViewToDom'](_0x41b714))['map'](_0x2b7ae=>Array['from'](_0x2b7ae['getClientRects']()))['flat']();}if(!this['_activeViewTarget'])return _0x1b4cfd[0x0];return _0x1b4cfd['find'](_0x4da066=>_0x4da066['top']-0x3<=this['_activeViewTarget']['y']&&_0x4da066['bottom']+0x3>=this['_activeViewTarget']['y']&&_0x4da066['left']-0x3<=this['_activeViewTarget']['x']&&_0x4da066['right']+0x3>=this['_activeViewTarget']['x'])||_0x1b4cfd[0x0];}}}),this['_balloon']['showStack']('revisionHistoryLabel'));}),this['on']('change:activeChange',(_0x394c2a,_0x3e9fc8,_0x6d50b7,_0x388966)=>{this['activeView']=_0x6d50b7?this['_getViewForChange'](_0x6d50b7):null,this['editor']['model']['change'](()=>{const _0x1a70e2=this['editor']['editing'];_0x388966&&(_0x388966['data']['isOnRoot']?_0x1a70e2['view']['change'](_0x18ad15=>{_0x18ad15['removeClass']('ck-revision-history-root--active',_0x1a70e2['view']['document']['getRoot'](_0x388966['rootName']));}):_0x1a70e2['reconvertMarker']('revision:'+_0x388966['id'])),_0x6d50b7&&(_0x6d50b7['data']['isOnRoot']?_0x1a70e2['view']['change'](_0x408a78=>{_0x408a78['addClass']('ck-revision-history-root--active',_0x1a70e2['view']['document']['getRoot'](_0x6d50b7['rootName']));}):_0x1a70e2['reconvertMarker']('revision:'+_0x6d50b7['id']));});}),this['listenTo'](this['editor']['editing']['view']['document'],'mouseover',(_0x119fdd,_0x2c9704)=>{if(this['activeChange'])return;const _0x2638e0=this['_findChangeIdFromDomTarget'](_0x2c9704['target']),_0x427848=this['_changeIdToChange']['get'](_0x2638e0);_0x427848?(this['_activeViewTarget']={'x':_0x2c9704['domEvent']['x'],'y':_0x2c9704['domEvent']['y']},this['activeView']=this['_getViewForChange'](_0x427848)):(this['_activeViewTarget']=null,this['activeView']=null);}),this['listenTo'](this['editor']['editing']['view']['document'],'mousedown',(_0x1f1f17,_0x212d2d)=>{const _0x23fe10=this['_findChangeIdFromDomTarget'](_0x212d2d['target']),_0x39d013=this['_changeIdToChange']['get'](_0x23fe10);_0x39d013?(this['_activeViewTarget']={'x':_0x212d2d['domEvent']['x'],'y':_0x212d2d['domEvent']['y']},_0x39d013===this['activeChange']?this['_balloon']['updatePosition']():this['activeChange']=_0x39d013):(this['_activeViewTarget']=null,this['activeChange']=null);});}['_findChangeIdFromDomTarget'](_0x439ff7){do{const _0x206f68=_0x439ff7['getAttribute']('data-change-id');if(_0x206f68)return _0x206f68;_0x439ff7=_0x439ff7['parent'];}while(_0x439ff7);return null;}['_cleanMarkers'](){this['editor']['model']['change'](_0x188b8e=>{for(const _0x12f1af of this['editor']['model']['markers'])_0x188b8e['removeMarker'](_0x12f1af);});}}function et(_0x4aeae9,_0x50f0af){return(_0x2ef6cc,_0x1b0c12,_0x4778df)=>{if(!_0x4778df['consumable']['test'](_0x1b0c12['markerRange'],_0x2ef6cc['name']))return;const _0x4c0b73=_0x1b0c12['markerRange']['getWalker'](),_0x249130=_0x1b0c12['markerRange']['start'],_0x1efb2b=_0x4aeae9['model']['schema'];let _0x441df1=null,_0x5c4adc=null,_0x4208c9=!0x1,_0x411948=!0x1;for(const _0x33b7db of _0x4c0b73){const _0x5cee93=_0x33b7db['item'];_0x4208c9=_0x4208c9||_0x1efb2b['isContent'](_0x5cee93);const _0x5603ff=_0x4778df['mapper']['toViewElement'](_0x5cee93);if(_0x5603ff&&_0x5603ff['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x33b7db['type']&&(_0x1efb2b['isBlock'](_0x5cee93)&&!_0x1efb2b['isLimit'](_0x5cee93)&&(_0x5cee93['nextSibling']||_0x249130['isAtEnd']?_0x441df1&&_0x441df1['parent']==_0x5cee93||(_0x441df1=_0x5cee93,_0x1ce192(_0x33b7db['previousPosition']),_0x411948=!0x0):_0x5c4adc=_0x5c4adc||_0x33b7db['previousPosition']));}function _0x1ce192(_0xb03a20){const _0x33684a=_0x4778df['mapper']['toViewPosition'](_0xb03a20),_0x3871e8=_0x4778df['writer']['createUIElement']('span',{'class':'ck-suggestion-preview-marker-'+_0x50f0af});_0x4778df['writer']['insert'](_0x33684a,_0x3871e8),_0x4778df['mapper']['bindElementToMarker'](_0x3871e8,_0x1b0c12['markerName']);}_0x4208c9||_0x411948||!_0x5c4adc||_0x1ce192(_0x5c4adc);};}class bt extends _0x37b8db{constructor(_0x19952d){super(_0x19952d);const _0x29e3d1=_0x19952d['plugins']['get'](d);this['affectsData']=!0x1,this['listenTo'](_0x29e3d1,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x29e3d1,'change:isEnabled',()=>this['refresh']());}['execute'](){const _0x1c2e4d=this['editor'],_0x5e1fa7=_0x1c2e4d['plugins']['get'](d),_0x4ad914=_0x5e1fa7['isReady']?_0x5e1fa7['diff']['newRevisionId']:null;_0x1c2e4d['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x4ad914);}['refresh'](){const {isReady:_0x5eab13,isEnabled:_0x2627d9}=this['editor']['plugins']['get'](d);this['isEnabled']=_0x5eab13&&_0x2627d9;}}class yt extends _0x37b8db{['_step'];constructor(_0x19064d,{direction:_0x13fdf2}){super(_0x19064d);const _0x79905f=_0x19064d['plugins']['get'](d);this['affectsData']=!0x1,this['_step']='forward'===_0x13fdf2?0x1:-0x1,this['listenTo'](_0x79905f,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x79905f,'change:isEnabled',()=>this['refresh']()),this['listenTo'](_0x79905f,'change:activeChange',()=>this['refresh']());}['execute'](){const _0x32e301=this['editor'],_0x1fe7dc=_0x32e301['plugins']['get'](d),{isNavigationMode:_0x3f0f70,currentChangeNumber:_0x178433}=_0x1fe7dc;let _0x2536ad;if(_0x1fe7dc['activeChange']=_0x3f0f70?_0x1fe7dc['diff']['changes']['get'](_0x178433+this['_step']):_0x1fe7dc['diff']['changes']['first'],_0x1fe7dc['activeChange']['data']['isOnRoot'])_0x2536ad=_0x32e301['editing']['view']['getDomRoot'](_0x1fe7dc['activeChange']['rootName']);else{const _0x24075c=_0x32e301['model']['markers']['get']('revision:'+_0x1fe7dc['activeChange']['id']);_0x2536ad=_0x4e92c7(_0x32e301['editing'],_0x24075c);}_0x131832({'target':_0x2536ad,'viewportOffset':0x28});}['refresh'](){const {isNavigationMode:_0x4d620e,currentChangeNumber:_0x573955,numberOfChanges:_0x44d7b4,isReady:_0x5effff,isEnabled:_0x1c9729}=this['editor']['plugins']['get'](d);this['isEnabled']=!!(_0x1c9729&&_0x5effff&&_0x44d7b4)&&(!_0x4d620e||(0x1===this['_step']?_0x573955<_0x44d7b4-0x1:_0x573955>0x0));}}class _i extends _0x31e91f{constructor(_0x2a977d){super(_0x2a977d);const _0x5aa96b=this['bindTemplate'],_0x3608f7=new _0x1f8943(_0x2a977d),_0x2fda52=new _0x1f8943(_0x2a977d);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',(_0x3ac432,_0x474baf)=>_0x3ac432&&_0x474baf>0x0),this['bind']('_statusText')['to'](this,'isReady',this,'currentChangeNumber',this,'numberOfChanges',this,'isNavigationMode',(_0x2c0493,_0x14a2de,_0xe70abd,_0x3e8514)=>{if(!_0x2c0493)return y(_0x2a977d,'Loading...');if(!_0xe70abd)return y(_0x2a977d,'No\x20changes');const _0x511e92=y(_0x2a977d,'NUMBER_OF_CHANGES',_0xe70abd);return _0x3e8514?y(_0x2a977d,'X_OF_Y_CHANGES',[_0x14a2de+0x1,_0xe70abd]):_0x511e92;}),_0x3608f7['set']({'label':y(_0x2a977d,'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'}),_0x2fda52['set']({'label':y(_0x2a977d,'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'}),_0x3608f7['bind']('isEnabled')['to'](this,'isBackwardNavigationEnabled'),_0x2fda52['bind']('isEnabled')['to'](this,'isForwardNavigationEnabled'),_0x3608f7['on']('execute',()=>this['fire']('execute','backward')),_0x2fda52['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',_0x5aa96b['if']('_isStatusLabelVisible','ck-hidden',_0x472dfd=>!_0x472dfd)]},'children':[{'text':_0x5aa96b['to']('isNavigationMode',_0x4f8b46=>_0x4f8b46?y(_0x2a977d,'EDIT_X_OF_Y_REVISIONS')+':\x20':y(_0x2a977d,'Total')+':\x20')}]},{'text':_0x5aa96b['to']('_statusText')}]},new _0x9d488e(),{'tag':'div','attributes':{'class':['ck-revision-history-ui__changes-navigation__navigation']},'children':[_0x3608f7,_0x2fda52]}]});}}const ce='ck-editor__editable__loading-overlay';class de extends _0x2594ac{static get['pluginName'](){return'RevisionViewerLoadingOverlay';}['show'](){const _0x316734=this['editor']['editing']['view'];_0x316734['change'](_0x59c7c9=>{for(const _0x51f741 of _0x316734['document']['roots'])_0x59c7c9['addClass'](ce,_0x51f741);});}['hide'](){const _0xc2d8df=this['editor']['editing']['view'];_0xc2d8df['change'](_0x4d36de=>{for(const _0x34a6d0 of _0xc2d8df['document']['roots'])_0x4d36de['removeClass'](ce,_0x34a6d0);});}}class R extends _0x2594ac{static get['pluginName'](){return'RevisionViewerUI';}static get['requires'](){return[d,de];}['init'](){const _0x3b2b87=this['editor'],_0x4f7b14=_0x3b2b87['plugins']['get'](d),_0x24dbc3=_0x3b2b87['plugins']['get'](de);_0x3b2b87['ui']['componentFactory']['add']('exitToEditing',_0x52ead3=>{const _0x5f5122=new _0x1f8943(_0x52ead3);return _0x5f5122['set']({'label':y(_0x52ead3,'Back\x20to\x20editing'),'icon':_0x51adf3['undo'],'withText':!0x0,'tooltip':!0x0,'class':'ck-revision-history-ui__back-to-editing'}),this['listenTo'](_0x5f5122,'execute',()=>{_0x3b2b87['config']['get']('revisionHistory')['closeRevisionViewerCallback']();}),_0x5f5122;}),_0x3b2b87['ui']['componentFactory']['add']('restoreRevision',_0x41f3f8=>{const _0x2b0996=new _0x1f8943(_0x41f3f8);return _0x2b0996['set']({'label':y(_0x41f3f8,'Restore\x20this\x20revision'),'withText':!0x0,'tooltip':!0x0}),_0x2b0996['bind']('isEnabled')['to'](_0x3b2b87['commands']['get']('restoreRevision')),this['listenTo'](_0x2b0996,'execute',()=>_0x3b2b87['execute']('restoreRevision')),_0x2b0996;}),_0x3b2b87['ui']['componentFactory']['add']('changesNavigation',_0x20a8b8=>{const _0x2c1b85=new _i(_0x20a8b8),_0x361050=_0x3b2b87['commands']['get']('showPreviousChange'),_0x334e84=_0x3b2b87['commands']['get']('showNextChange');return _0x2c1b85['bind']('isBackwardNavigationEnabled')['to'](_0x361050,'isEnabled'),_0x2c1b85['bind']('isForwardNavigationEnabled')['to'](_0x334e84,'isEnabled'),_0x2c1b85['bind']('isReady','currentChangeNumber','numberOfChanges','isNavigationMode')['to'](_0x4f7b14),this['listenTo'](_0x2c1b85,'execute',(_0xdac653,_0x4eb401)=>{_0x3b2b87['execute']('forward'===_0x4eb401?'showNextChange':'showPreviousChange');}),_0x2c1b85;}),_0x24dbc3['show'](),_0x4f7b14['on']('change:isReady',(_0x3718c4,_0x48d844,_0xad9af0)=>{_0xad9af0?_0x24dbc3['hide']():_0x24dbc3['show']();});}}class kt extends at{['_resizeObserver']=null;constructor(_0x184a29,_0xc4d04){super(_0x184a29,_0xc4d04);const _0x62aea6=this['bindTemplate'];this['set']({'label':y(_0x184a29,'Revision\x20name'),'_tooltipString':''}),this['fieldView']['placeholder']=y(_0x184a29,'Enter\x20the\x20revision\x20name'),this['extendTemplate']({'tag':'span','attributes':{'class':['ck-revision-history-sidebar__revision-name'],'data-cke-tooltip-text':_0x62aea6['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 _0xa57074=this['fieldView']['element'];this['_tooltipString']=_0xa57074['scrollWidth']>_0xa57074['clientWidth']&&_0xa57074['value']||'';}}class ti extends _0x31e91f{constructor(_0x1bf90a,_0x37fa2d,_0x28dccd){super(_0x1bf90a);const _0x304949=new _0x41224a();_0x304949['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 _0x1a03e5=['ck','ck-revision-history-sidebar__revision-author'];_0x28dccd&&_0x1a03e5['push']('ck-revision-history-sidebar__revision-author_creator');const _0x1b8d4c=[{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__revision-author__name'],'title':y(_0x1bf90a,_0x28dccd?'Revision\x20creator':'Revision\x20author')},'children':[_0x304949,_0x37fa2d['name']]}];this['setTemplate']({'tag':'li','attributes':{'class':_0x1a03e5},'children':_0x1b8d4c});}}function ni(_0x4b6125,_0x597f67){const _0x491fde=_0x4b6125['bindTemplate'],_0x49bfa0=_0x4b6125['locale'],_0x95f70a=_0x9fb3d7(_0x49bfa0);_0x95f70a['panelPosition']='sw';const _0x514bf1=function(_0x506768,_0x113b8f){const _0x17742a=function(_0x9cdd17,_0x2fdaf8){const _0x168dd4=_0x9cdd17['locale'],_0x4a512d={'Compare\x20against\x20selected':y(_0x168dd4,'Compare\x20against\x20selected'),'Name\x20this\x20revision':y(_0x168dd4,'Name\x20this\x20revision'),'Restore\x20this\x20revision':y(_0x168dd4,'Restore\x20this\x20revision')};return _0x2fdaf8['map'](_0x2c8605=>{const _0xdf12da=_0x4a512d[_0x2c8605['name']];return _0xdf12da&&_0xdf12da!==_0x2c8605['name']&&(_0x2c8605['name']=_0xdf12da),_0x2c8605;});}(_0x506768,_0x113b8f),_0x1f34ce=new _0x3d976d();for(const _0x2b9df7 of _0x17742a){const _0x4c3b8b={'type':'button','model':new to({'label':_0x2b9df7['name'],'class':_0x2b9df7['class'],'withText':!0x0,'role':'menuitem','_action':_0x2b9df7['action']})};_0x4c3b8b['model']['bind']('isEnabled')['to'](_0x506768,'isActionsDropdownOpen',_0x4b7730=>'function'!=typeof _0x2b9df7['isEnabled']||(!_0x4b7730||_0x2b9df7['isEnabled'](_0x506768))),_0x1f34ce['add'](_0x4c3b8b);}return _0x1f34ce;}(_0x4b6125,_0x597f67);return _0x4b6125['bind']('isActionsDropdownOpen')['to'](_0x95f70a,'isOpen'),_0x95f70a['buttonView']['set']({'label':y(_0x49bfa0,'Show\x20more\x20items'),'tooltip':!0x0,'tooltipPosition':'sw','icon':_0x51adf3['threeVerticalDots']}),_0x95f70a['extendTemplate']({'attributes':{'class':['ck-revision-history-sidebar__revision__actions',_0x491fde['if']('isActionsDropdownOpen','ck-on')]},'on':{'click':_0x491fde['to'](_0x4ebf7d=>_0x4ebf7d['stopPropagation']())}}),_0x95f70a['on']('execute',_0x4ccb9c=>{_0x4b6125['isReady']&&'function'==typeof _0x4ccb9c['source']['_action']&&_0x4ccb9c['source']['_action'](_0x4b6125);}),_0x2b6d93(_0x95f70a,_0x514bf1,{'role':'menu'}),_0x95f70a['listenTo'](_0x4b6125,'change:isActionsDropdownOpen',(_0x51da84,_0x21416a,_0x5d8b7d)=>{if(_0x5d8b7d)for(const _0x57acad of _0x95f70a['listView']['items']){const _0x270e86=_0x57acad['children']['first'],_0xc5b40a=_0x597f67['find'](_0x2e1897=>_0x2e1897['action']===_0x270e86['_action'])['isVisible'];_0x57acad['isVisible']=void 0x0===_0xc5b40a||_0xc5b40a(_0x4b6125);}}),_0x95f70a;}class ai extends/* #__PURE__ -- @preserve */
26
+ _0x139617(_0x31e91f){['id'];['revisionNameView'];['revisionActionsView'];['_revision'];['_requireRevisionName'];constructor(_0x128431,_0x55352f,_0x18c5be,_0x224a8d){super(_0x128431);const _0x37938a=this['bindTemplate'],_0x4fbd10=function(_0x5eecbf,_0x26c49d){const _0x10b40d=Array['from'](_0x26c49d['authors'])['filter'](_0x4fb443=>_0x4fb443!=_0x26c49d['creator']);return _0x26c49d['creator']&&_0x10b40d['unshift'](_0x26c49d['creator']),_0x10b40d['map'](_0x5db0bb=>new ti(_0x5eecbf,_0x5db0bb,_0x5db0bb==_0x26c49d['creator']));}(_0x128431,_0x55352f);this['id']=_0x55352f['id'],this['_revision']=_0x55352f,this['_requireRevisionName']=_0x224a8d,this['bind']('name','createdAt')['to'](_0x55352f),this['bind']('_createdAtFormatted')['to'](this,'createdAt',_0x155e9e=>{return _0x464e0b=_0x128431['uiLanguage'],(_0x56679b=_0x155e9e)['toLocaleDateString'](_0x464e0b,{'month':'long','day':'numeric'})+',\x20'+_0x56679b['toLocaleTimeString'](_0x464e0b,{'hour':'numeric','minute':'numeric'});var _0x464e0b,_0x56679b;}),this['set']('isSelected',!0x1),this['set']('isHighlighted',!0x1),this['set']('isActionsDropdownOpen',!0x1),this['set']('isReady',!0x1),this['set']('isEnabled',!0x1),this['revisionNameView']=new kt(_0x128431,_0x35f5d5),this['revisionNameView']['fieldView']['extendTemplate']({'attributes':{'maxlength':'220'}}),this['revisionNameView']['fieldView']['bind']('value')['to'](this,'name',_0x7655ec=>_0x7655ec||this['_createdAtFormatted']),this['revisionNameView']['bind']('isEnabled')['to'](this,'isSelected',this,'isEnabled',(_0x375e5f,_0x571d68)=>_0x375e5f&&_0x571d68),this['revisionActionsView']=_0x18c5be&&_0x18c5be['length']?ni(this,_0x18c5be):'',this['revisionActionsView']&&this['revisionActionsView']['bind']('isEnabled')['to'](this),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision-wrapper',_0x37938a['if']('isConfirm','ck-revision-history-sidebar__revision-wrapper_confirmation_visible')]},'children':[{'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision',_0x37938a['if']('isEnabled','ck-disabled',_0x55d40f=>!_0x55d40f),_0x37938a['if']('isSelected','ck-revision-history-sidebar__revision_selected'),_0x37938a['if']('isHighlighted','ck-revision-history-sidebar__revision_highlighted'),_0x37938a['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':_0x37938a['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':_0x4fbd10}]},this['revisionActionsView']],'on':{'click':_0x37938a['to'](_0x235c98=>{_0x235c98['srcElement']['closest']('.ck-thread__remove-confirm')||this['isReady']&&this['isEnabled']&&this['fire']('select',{'id':this['id']});})}}]});}['render'](){super['render']();const _0x529c2f=this['revisionNameView']['fieldView']['element'];this['listenTo'](_0x529c2f,'change',()=>{this['_requireRevisionName']&&!_0x529c2f['value']||this['fire']('setName',{'id':this['id'],'name':_0x529c2f['value']}),_0x529c2f['value']||(_0x529c2f['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(_0x1116d4,_0x4463dd){const _0x2951d7=_0x34f29b['fromJSDate'](_0x1116d4)['setLocale'](_0x4463dd),_0x5da898=_0x34f29b['local'](),_0x6605e9=_0x5da898['minus']({'days':0x1})['startOf']('day');let _0x1bebcb,_0x3edd3b;return _0x2951d7['hasSame'](_0x5da898,'day')?(_0x1bebcb=_0x2951d7['startOf']('day')['toJSDate'](),_0x3edd3b=_0x2951d7['toRelativeCalendar']()):_0x2951d7['hasSame'](_0x6605e9,'day')?(_0x1bebcb=_0x6605e9['toJSDate'](),_0x3edd3b=_0x2951d7['toRelativeCalendar']()):_0x2951d7['hasSame'](_0x5da898,'week')?(_0x1bebcb=_0x2951d7['startOf']('week')['toJSDate'](),_0x3edd3b=_0x2951d7['weekdayLong']||''):_0x2951d7['hasSame'](_0x5da898,'year')?(_0x1bebcb=_0x2951d7['startOf']('month')['toJSDate'](),_0x3edd3b=_0x2951d7['monthLong']||''):(_0x1bebcb=_0x2951d7['startOf']('year')['toJSDate'](),_0x3edd3b=String(_0x2951d7['year'])),{'startDate':_0x1bebcb,'localizedPeriodName':_0x3edd3b};}class mi extends _0x31e91f{['startDate'];['revisionViews'];['_revisionActions'];['_requireRevisionName'];constructor(_0x418baa,_0x4aa2ff,_0xac125d,_0x160405){super(_0x418baa);const _0x4bec9f=di(_0x4aa2ff,this['locale']['uiLanguage'])['localizedPeriodName'];this['startDate']=_0x4aa2ff,this['revisionViews']=this['createCollection'](),this['_revisionActions']=_0xac125d,this['_requireRevisionName']=_0x160405,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':_0x4bec9f}]},{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__time-period__revisions']},'children':this['revisionViews']}]});}['addRevision'](_0x93cc49){const _0x33b2c7=new ai(this['locale'],_0x93cc49,this['_revisionActions'],this['_requireRevisionName']);this['revisionViews']['add'](_0x33b2c7);}['removeRevision'](_0x1cb13b){const _0x575ef4=this['revisionViews']['find'](_0x38ccc1=>_0x38ccc1['id']===_0x1cb13b['id']);this['revisionViews']['remove'](_0x575ef4);}}class as extends _0x31e91f{constructor(_0x188b42){super(_0x188b42);const _0x5f477e=new _0x41224a();_0x5f477e['content']=_0x51adf3['history'],this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all','ck-revision-history-sidebar__header']},'children':[_0x5f477e,{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__header__label']},'children':[y(_0x188b42,'Revision\x20history')]}]});}}class ci extends _0x31e91f{['timePeriodViews'];['_revisions'];['_revisionActions'];['_requireRevisionName'];constructor(_0x2e6eea,_0x5459a6,_0x2f19cf,_0x22ee38){super(_0x2e6eea);const _0x1a5921=this['bindTemplate'];this['timePeriodViews']=this['createCollection'](),this['timePeriodViews']['delegate']('select')['to'](this),this['timePeriodViews']['delegate']('setName')['to'](this),this['_revisions']=_0x5459a6,this['_revisionActions']=_0x2f19cf,this['_requireRevisionName']=_0x22ee38,this['on']('select',(_0x9c106,_0x54b700)=>{this['fire']('revisionSelected',_0x54b700);}),this['on']('setName',(_0x5a814c,_0x3ee462)=>{this['fire']('revisionSetName',_0x3ee462);}),this['set']('isEnabled',!0x1),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-rounded-corners','ck-revision-history-sidebar']},'children':[new as(_0x2e6eea),{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__timeline',_0x1a5921['if']('isEnabled','ck-disabled',_0x523ad5=>!_0x523ad5)]},'children':this['timePeriodViews']}]});}['render'](){super['render']();for(const _0x3c1f13 of this['_revisions'])this['_addRevision'](_0x3c1f13);this['_revisions']['on']('add',(_0x3c4b65,_0x4af4f1)=>{this['_addRevision'](_0x4af4f1);}),this['_revisions']['on']('remove',(_0x4278b7,_0x558a32)=>{this['_removeRevision'](_0x558a32);});}get['revisionViews'](){return this['timePeriodViews']['map'](_0x5564c4=>_0x5564c4['revisionViews']['map'](_0x4fd990=>_0x4fd990))['flat']();}['selectRevision'](_0x5ea2d6){for(const _0x6d1508 of this['revisionViews'])_0x5ea2d6&&_0x5ea2d6['id']===_0x6d1508['id']?_0x6d1508['select']():_0x6d1508['deselect']();}['highlightRevisions'](_0x549c1f){for(const _0xc11f4b of this['revisionViews'])_0x549c1f['some'](({id:_0x386631})=>_0x386631===_0xc11f4b['id'])?_0xc11f4b['highlight']():_0xc11f4b['unhighlight']();}['_addRevision'](_0x1a4800){const _0x5e6d3a=di(_0x1a4800['createdAt'],this['locale']['uiLanguage'])['startDate'];let _0x467e4f=this['timePeriodViews']['get'](0x0);_0x467e4f&&_0x467e4f['startDate']['getTime']()===_0x5e6d3a['getTime']()||(_0x467e4f=new mi(this['locale'],_0x5e6d3a,this['_revisionActions'],this['_requireRevisionName']),this['timePeriodViews']['add'](_0x467e4f)),_0x467e4f['addRevision'](_0x1a4800);}['_removeRevision'](_0x17eb37){const _0x12d7dd=di(_0x17eb37['createdAt'],this['locale']['uiLanguage'])['startDate'];this['_getTimePeriodViewByStartDate'](_0x12d7dd)['removeRevision'](_0x17eb37);}['_getTimePeriodViewByStartDate'](_0x218843){return this['timePeriodViews']['find'](_0x3d80d7=>_0x3d80d7['startDate']['getTime']()===_0x218843['getTime']());}}class w extends _0x2594ac{['_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(_0x3d8e6f){super(_0x3d8e6f),this['_revisionViewer']=_0x3d8e6f['plugins']['get'](d),this['_revisionsRepository']=this['_revisionViewer']['repository'],this['_sidebarView']=null;}['init'](){const _0x1711c0=this['_revisionsRepository']['_revisions'],_0x32f9a7=this['_createRevisionActions'](),_0x2ff07d=this['editor']['config']['get']('revisionHistory.viewerSidebarContainer');this['_sidebarView']=new ci(this['editor']['locale'],_0x1711c0,_0x32f9a7,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',(_0x2d178c,_0x3c9416)=>{_0x3c9416['revisionViews']['on']('add',(_0x2bcd79,_0x2e9cba)=>{_0x2e9cba['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)),_0x2ff07d['appendChild'](this['_sidebarView']['element']);}['destroy'](){this['_sidebarView']['element']['remove'](),this['_sidebarView']['destroy']();}['_handleEditorDataReady'](){const _0x4a5646=this['_revisionsRepository']['getRevision'](0x0);if(_0x4a5646){const _0x175a23=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x4a5646['id']);this['_revisionViewer']['compare'](_0x4a5646,_0x175a23);}}['_handleRevisionSelected'](_0x3ef31c,_0x2f8842){const _0x150c7a=this['_revisionsRepository']['getRevision'](_0x2f8842['id']),_0x1ded6f=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x150c7a['id']);this['_revisionViewer']['compare'](_0x150c7a,_0x1ded6f);}['_handleRevisionSetName'](_0x4520fc,_0x521b7b){this['_revisionsRepository']['getRevision'](_0x521b7b['id'])['setName'](_0x521b7b['name']);}['_handleDiffChange'](_0x53a538,_0x5303df,_0x1aaf66){const _0x5b266a=this['_revisionsRepository']['getRevisionsInDiff'](_0x1aaf66);_0x5b266a['length']>0x2?(this['_sidebarView']['highlightRevisions'](_0x5b266a),this['_sidebarView']['selectRevision'](null)):(this['_sidebarView']['highlightRevisions']([]),this['_sidebarView']['selectRevision'](_0x5b266a[0x0]));}['_createRevisionActions'](){const _0x136969=this['editor'],_0x14ff60=w['availableRevisionActions'],_0x50893c=_0x136969['config']['get']('revisionHistory.revisionActions')||w['defaultRevisionActions'];if(_0x50893c['length'])return _0x50893c['map'](_0x4ede72=>{const _0x1458a1='string'==typeof _0x4ede72?Object['assign']({},_0x14ff60[_0x4ede72]):_0x4ede72;return _0x1458a1['action']=_0x1458a1['action']['bind'](this,_0x136969),_0x1458a1['isVisible']&&(_0x1458a1['isVisible']=_0x1458a1['isVisible']['bind'](this,_0x136969)),_0x1458a1;});}}function Rt(){return{'compareAgainstSelected':{'name':'Compare\x20against\x20selected','action':({plugins:_0x428cc1},_0x2b2385)=>{const _0x1be485=_0x428cc1['get'](d),_0x1a96d2=_0x1be485['repository'];let _0x714c2e=_0x1be485['diff']['newRevisionId'],_0x32c1ef=_0x2b2385['id'];_0x1a96d2['getIndex'](_0x714c2e)>_0x1a96d2['getIndex'](_0x32c1ef)&&([_0x714c2e,_0x32c1ef]=[_0x32c1ef,_0x714c2e]),_0x1be485['compare'](_0x714c2e,_0x32c1ef);},'isVisible':({plugins:_0x4211e3},_0x42a328)=>{const _0x3b24ba=_0x4211e3['get'](d);return!(_0x3b24ba['repository']['getRevisionsInDiff'](_0x3b24ba['diff'])['length']>0x2)&&!_0x42a328['isSelected'];}},'restoreRevision':{'name':'Restore\x20this\x20revision','action':(_0x1cf188,{id:_0xcbf623})=>{_0x1cf188['config']['get']('revisionHistory')['restoreRevisionCallback'](_0xcbf623);},'isVisible':({plugins:_0x42e253},_0x2b5d77)=>!!_0x42e253['get'](d)['repository']['getLaterVisibleRevision'](_0x2b5d77['id'])},'nameRevision':{'name':'Name\x20this\x20revision','action':({plugins:_0x5a9841},{id:_0x5947f9,revisionNameView:_0x11d87c})=>{const _0x131c90=_0x5a9841['get'](d),_0x40567a=_0x131c90['repository']['getEarlierVisibleRevision'](_0x5947f9);_0x131c90['compare'](_0x5947f9,_0x40567a),_0x11d87c['focus'](),_0x11d87c['fieldView']['select']();}}};}class st extends ht{['_view'];['_toolbarConfig'];['_elementReplacer'];get['view'](){return this['_view'];}constructor(_0x5101a7,_0x3d0d08){super(_0x5101a7),this['_view']=_0x3d0d08,this['_toolbarConfig']=ct(_0x5101a7['config']['get']('toolbar')),this['_elementReplacer']=new nt();}get['element'](){return this['view']['element'];}['init'](_0x2a2315){const _0x28fd42=this['editor'],_0xb20182=this['view'],_0xddcb7b=_0x28fd42['editing']['view'],_0x274e34=_0xb20182['editable'],_0x680b2f=_0xddcb7b['document']['getRoot']();_0x274e34['name']=_0x680b2f['rootName'],_0xb20182['render']();const _0x75cffb=_0x274e34['element'];this['setEditableElement'](_0x274e34['name'],_0x75cffb),_0xb20182['editable']['bind']('isFocused')['to'](this['focusTracker']),_0xddcb7b['attachDomRoot'](_0x75cffb),this['_elementReplacer']['replace'](_0x2a2315,this['element']),this['_initToolbar'](),this['fire']('ready');}['destroy'](){super['destroy']();const _0x15995c=this['view'],_0x2f23bb=this['editor']['editing']['view'];this['_elementReplacer']['restore'](),_0x2f23bb['detachDomRoot'](_0x15995c['editable']['name']),_0x15995c['destroy']();}['_initToolbar'](){const _0x4ea88e=this['view'];_0x4ea88e['stickyPanel']['bind']('isActive')['to'](this['focusTracker'],'isFocused'),_0x4ea88e['stickyPanel']['limiterElement']=_0x4ea88e['element'],_0x4ea88e['stickyPanel']['bind']('viewportTopOffset')['to'](this,'viewportOffset',({top:_0x108ed6})=>_0x108ed6),_0x4ea88e['toolbar']['fillFromConfig'](this['_toolbarConfig'],this['componentFactory']),this['addToolbar'](_0x4ea88e['toolbar']);}}class ot extends dt{['_editable'];['stickyPanel'];['toolbar'];get['editable'](){return this['_editable'];}constructor(_0x19afc4,_0x723f6,_0x24c4f0={}){super(_0x19afc4),this['stickyPanel']=new lt(_0x19afc4),this['toolbar']=new pt(_0x19afc4,{'shouldGroupWhenFull':_0x24c4f0['shouldToolbarGroupWhenFull']}),this['_editable']=new ut(_0x19afc4,_0x723f6);}['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(_0x46875e,_0xbc83d0){super(_0xbc83d0),this['sourceElement']=_0x46875e,this['model']['document']['createRoot']();const _0x2bac8f=new ot(this['locale'],this['editing']['view'],{'shouldToolbarGroupWhenFull':!0x0});this['_ui']=new st(this,_0x2bac8f);}['destroy'](){return this['updateSourceElement'](),this['ui']['destroy'](),super['destroy']();}static async['create'](_0x427006,_0x3743f8){const _0x967754=new this(_0x427006,_0x3743f8);return await _0x967754['initPlugins'](),await _0x967754['ui']['init'](_0x427006),await _0x967754['data']['init'](_0x967754['config']['get']('initialData')||''),_0x967754['fire']('ready'),_0x967754;}}const p=['RevisionHistoryUI','RestrictedEditingMode'];class k extends _0x508c8f{['result'];static get['pluginName'](){return'RevisionViewerIntegration';}constructor(_0x3b3ee6){super(_0x3b3ee6),this['result']='end';}}class H extends _0x508c8f{['_viewerEditor'];static get['pluginName'](){return'RevisionHistory';}static get['requires'](){return[l,u];}constructor(_0x39cc78){if(super(_0x39cc78),!this['editor']['config']['get']('revisionHistory'))throw new _0x1dfa1b('revision-history-missing-configuration',this);this['_viewerEditor']=null,this['editor']['config']['define']('revisionHistory.showRevisionViewerCallback',_0x5aa465=>this['_showRevisionViewer']({..._0x5aa465,'translations':this['editor']['locale']['translations']})),this['editor']['config']['define']('revisionHistory.closeRevisionViewerCallback',_0x3716d8=>this['_closeRevisionViewer'](_0x3716d8)),this['editor']['config']['define']('revisionHistory.restoreRevisionCallback',_0x1d282c=>this['_restoreRevision'](_0x1d282c)),this['editor']['config']['define']('revisionHistory.requireRevisionName',!0x1),this['_enhanceShowRevisionViewerCallback'](),this['_enhanceCloseRevisionViewerCallback']();}set['adapter'](_0x33e652){this['editor']['plugins']['get']('RevisionTracker')['adapter']=_0x33e652;}get['adapter'](){return this['editor']['plugins']['get']('RevisionTracker')['adapter'];}['addRevisionData'](_0x432e4f){return this['editor']['plugins']['get']('RevisionTracker')['addRevisionData'](_0x432e4f);}['getRevision'](_0x50f625){return this['editor']['plugins']['get']('RevisionsRepository')['getRevision'](_0x50f625);}['getRevisions'](_0x4c01d7){return this['editor']['plugins']['get']('RevisionsRepository')['getRevisions'](_0x4c01d7||{'toJSON':!0x1});}['_getRevisionViewerEditorConfig'](){const _0x52a268=this['editor'],_0x3ee4df=_0x32020e(_0x52a268,p),_0x54e103=_0x52a268['plugins']['get']('RevisionTracker'),_0x501899=_0x52a268['plugins']['get']('Users')['users'];return _0x3ee4df['toolbar']=['exitToEditing','restoreRevision','changesNavigation'],delete _0x3ee4df['lazyRoots'],(_0x3ee4df['plugins']['push'](k,d,R,class extends _0x508c8f{static get['requires'](){return[d,'Users'];}['init'](){const _0x544ac1=this['editor']['plugins']['get']('Users');for(const _0x21ca0a of _0x501899)_0x21ca0a['isAnonymous']||_0x544ac1['getUser'](_0x21ca0a['id'])||_0x544ac1['addUser'](_0x21ca0a);const _0x1ad211=_0x54e103['repository']['getRevisions']();let _0x1b80d3=null;const _0x4f947c=this['editor']['plugins']['get']('RevisionViewer');_0x4f947c['adapter']=_0x54e103['adapter'],_0x4f947c['bind']('isEnabled')['to'](_0x54e103),this['editor']['commands']['get']('restoreRevision')['bind']('isEnabled')['to'](_0x52a268,'isReadOnly',_0x4ed9a0=>!_0x4ed9a0);for(const _0x5ca847 of _0x1ad211){const _0x382890=null===_0x5ca847['creator'];if(_0x382890&&_0x5ca847['toVersion']===_0x5ca847['fromVersion'])continue;const _0x8a5423=_0x5ca847['toJSON']();_0x4f947c['addRevisionData'](_0x8a5423,(_0x2f96c7,_0x95d948,_0x56388d)=>{if(_0x382890){if(_0x1b80d3)_0x1b80d3['_update'](_0x2f96c7,_0x95d948);else{if(!_0x95d948){const _0x59bb37=_0x56388d['toJSON']();_0x59bb37['id']=_0xe98175(),_0x54e103['saveRevision'](_0x59bb37,_0x56388d['toVersion'])['then'](_0x31ce64=>{_0x1b80d3=_0x31ce64;});}}}else _0x5ca847['_update'](_0x2f96c7,_0x95d948);});}}},w),_0x3ee4df);}['_enhanceShowRevisionViewerCallback'](){const _0x481cdf=this['editor']['config']['get']('revisionHistory')['showRevisionViewerCallback'];this['editor']['config']['set']('revisionHistory.showRevisionViewerCallback',async()=>{this['editor']['enableReadOnlyMode']('revision-history-viewer-opened');const _0x353ec6=this['editor']['plugins']['get']('RevisionTracker');if(this['editor']['plugins']['has']('Autosave')){const _0x425c28=this['editor']['plugins']['get']('Autosave');await _0x425c28['save']();}else await _0x353ec6['update']();if(this['editor']['plugins']['has']('PaginationLookup')&&this['editor']['plugins']['get']('PaginationLookup')['_recalculatePageBreaks'](),this['editor']['plugins']['has']('Dialog')){const _0x4c92c6=this['editor']['plugins']['get']('Dialog');_0x4c92c6['isOpen']&&_0x4c92c6['hide']();}const _0x4e11cb=this['_getRevisionViewerEditorConfig']();return _0x481cdf(_0x4e11cb)['then'](_0x427753=>{return(this['_viewerEditor']=_0x427753,this['editor']['plugins']['has']('Annotations'))&&this['editor']['plugins']['get']('Annotations')['refreshVisibility'](),_0x427753;})['catch'](_0x563fc5=>(console['error'](_0x563fc5),this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),null));});}['_enhanceCloseRevisionViewerCallback'](){const _0x2f9c81=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'](),_0x2f9c81(this['_viewerEditor'])['then'](()=>{if(this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),this['_viewerEditor']=null,this['editor']['plugins']['has']('Annotations')){const _0x1f8301=this['editor']['plugins']['get']('Annotations');_0x1f8301['refreshVisibility'](),_0x1f8301['refreshPositioning']();}})));}['_showRevisionViewer'](_0x3875bb){const _0x3f4c1e=this['editor']['config']['get']('revisionHistory.editorContainer'),_0x3e3189=this['editor']['config']['get']('revisionHistory.viewerContainer'),_0x520095=this['editor']['config']['get']('revisionHistory.viewerEditorElement');return m['create'](_0x520095,_0x3875bb)['then'](_0x26158a=>(_0x3e3189['style']['display']='block',_0x3f4c1e['style']['display']='none',_0x26158a));}['_closeRevisionViewer'](_0x361ed9){const _0x3a3518=this['editor']['config']['get']('revisionHistory.editorContainer');return this['editor']['config']['get']('revisionHistory.viewerContainer')['style']['display']='none',_0x3a3518['style']['display']='',_0x361ed9['destroy']();}async['_restoreRevision'](_0x23bff3){const _0x5bc455=this['editor'],_0xf3065=this['_viewerEditor']['plugins']['get']('RevisionViewer'),_0x169d04=_0x5bc455['plugins']['get']('RevisionTracker'),_0x4d9b11=_0xf3065['repository']['getRevision'](_0x23bff3);let _0x54975e,_0x51bbdb,_0x471c2e;try{_0x54975e=await _0xf3065['getRevisionData'](_0x4d9b11),_0x51bbdb=await _0xf3065['getRevisionRootsAttributes'](_0x4d9b11);}catch(_0x401533){return void console['error'](_0x401533);}_0x5bc455['model']['change'](_0x50f7e6=>{for(const _0x11a754 of Array['from'](_0x5bc455['model']['markers']['getMarkersGroup']('restrictedEditingException')))_0x50f7e6['removeMarker'](_0x11a754);}),_0xf3065['isReady']=!0x1,_0x5bc455['model']['enqueueChange'](_0x69d9fa=>{_0x69d9fa['setSelection'](null),_0x69d9fa['removeSelectionAttribute'](_0x5bc455['model']['document']['selection']['getAttributeKeys']());const _0x3fd225=Object['keys'](_0x54975e);for(const _0x56e4ca of _0x5bc455['model']['document']['roots'])'$graveyard'!=_0x56e4ca['rootName']&&_0x56e4ca['isAttached']()&&!_0x3fd225['includes'](_0x56e4ca['rootName'])&&_0x69d9fa['detachRoot'](_0x56e4ca);for(const _0x1c3722 of _0x3fd225){let _0x5e1ac0=_0x5bc455['model']['document']['getRoot'](_0x1c3722);_0x5e1ac0&&_0x5e1ac0['isAttached']()||(_0x5e1ac0=_0x69d9fa['addRoot'](_0x1c3722));const _0x200285=_0x51bbdb[_0x1c3722],_0xe1a62e=Object['keys'](_0x200285),_0x5ee93e=_0x54975e[_0x1c3722];for(const _0x5932eb of _0x5e1ac0['getAttributeKeys']())_0xe1a62e['includes'](_0x5932eb)||_0x69d9fa['removeAttribute'](_0x5932eb,_0x5e1ac0);for(const _0x222628 of _0xe1a62e)_0x69d9fa['setAttribute'](_0x222628,_0x51bbdb[_0x1c3722][_0x222628],_0x5e1ac0);_0x69d9fa['remove'](_0x69d9fa['createRangeIn'](_0x5e1ac0)),_0x69d9fa['insert'](_0x5bc455['data']['parse'](_0x5ee93e,_0x5e1ac0),_0x5e1ac0,0x0);}});const _0x4f95cb=y(_0x5bc455['locale'],'Restored');if(_0x4d9b11['name'])_0x471c2e=-0x1==_0x4d9b11['name']['indexOf'](_0x4f95cb)?_0x4f95cb+':\x20'+_0x4d9b11['name']:_0x4d9b11['name'];else _0x471c2e=_0x4f95cb+':\x20'+(_0x4d9b11['createdAt']['toLocaleDateString'](_0x5bc455['locale']['uiLanguage'],{'month':'long','day':'numeric'})+',\x20'+_0x4d9b11['createdAt']['toLocaleTimeString'](_0x5bc455['locale']['uiLanguage'],{'hour':'numeric','minute':'numeric'}));return await _0x169d04['saveRevision']({'name':_0x471c2e}),_0xf3065['isReady']=!0x0,_0x5bc455['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(_0x404975){super(_0x404975),this['_revisionViewer']=_0x404975['plugins']['get'](d),this['_revisionsRepository']=this['_revisionViewer']['repository'],this['_sidebarView']=null;}['init'](){const _0x5ad1cd=this['_revisionsRepository']['_revisions'],_0x560bd9=this['_createRevisionActions'](),_0x34d232=this['editor']['config']['get']('revisionHistory.viewerSidebarContainer');this['_sidebarView']=new ci(this['editor']['locale'],_0x5ad1cd,_0x560bd9,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',(_0x17d049,_0x3c2374)=>{_0x3c2374['revisionViews']['on']('add',(_0x1c526d,_0x3b601d)=>{_0x3b601d['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)),_0x34d232['appendChild'](this['_sidebarView']['element']);}['destroy'](){this['_sidebarView']['element']['remove'](),this['_sidebarView']['destroy']();}['_handleEditorDataReady'](){const _0x2ff980=this['_revisionsRepository']['getRevision'](0x0);if(_0x2ff980){const _0x15d7eb=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x2ff980['id']);this['_revisionViewer']['compare'](_0x2ff980,_0x15d7eb);}}['_handleRevisionSelected'](_0x5185bc,_0x24d18b){const _0x560bc0=this['_revisionsRepository']['getRevision'](_0x24d18b['id']),_0x11c171=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x560bc0['id']);this['_revisionViewer']['compare'](_0x560bc0,_0x11c171);}['_handleRevisionSetName'](_0x22b824,_0x481102){this['_revisionsRepository']['getRevision'](_0x481102['id'])['setName'](_0x481102['name']);}['_handleDiffChange'](_0x2ad33c,_0x2a5765,_0x561808){const _0x2961b8=this['_revisionsRepository']['getRevisionsInDiff'](_0x561808);_0x2961b8['length']>0x2?(this['_sidebarView']['highlightRevisions'](_0x2961b8),this['_sidebarView']['selectRevision'](null)):(this['_sidebarView']['highlightRevisions']([]),this['_sidebarView']['selectRevision'](_0x2961b8[0x0]));}['_createRevisionActions'](){const _0x2ee341=this['editor'],_0x102a5d=w['availableRevisionActions'],_0x118af3=_0x2ee341['config']['get']('revisionHistory.revisionActions')||w['defaultRevisionActions'];if(_0x118af3['length'])return _0x118af3['map'](_0x447aff=>{const _0x29eab2='string'==typeof _0x447aff?Object['assign']({},_0x102a5d[_0x447aff]):_0x447aff;return _0x29eab2['action']=_0x29eab2['action']['bind'](this,_0x2ee341),_0x29eab2['isVisible']&&(_0x29eab2['isVisible']=_0x29eab2['isVisible']['bind'](this,_0x2ee341)),_0x29eab2;});}}function Rt(){return{'compareAgainstSelected':{'name':'Compare\x20against\x20selected','action':({plugins:_0x166d99},_0x2b1377)=>{const _0x1ca9e9=_0x166d99['get'](d),_0x18f0b3=_0x1ca9e9['repository'];let _0x2272df=_0x1ca9e9['diff']['newRevisionId'],_0x266bc2=_0x2b1377['id'];_0x18f0b3['getIndex'](_0x2272df)>_0x18f0b3['getIndex'](_0x266bc2)&&([_0x2272df,_0x266bc2]=[_0x266bc2,_0x2272df]),_0x1ca9e9['compare'](_0x2272df,_0x266bc2);},'isVisible':({plugins:_0x5c001e},_0x367da3)=>{const _0x4e3306=_0x5c001e['get'](d);return!(_0x4e3306['repository']['getRevisionsInDiff'](_0x4e3306['diff'])['length']>0x2)&&!_0x367da3['isSelected'];}},'restoreRevision':{'name':'Restore\x20this\x20revision','action':(_0x22fa3b,{id:_0x5b6c64})=>{_0x22fa3b['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x5b6c64);},'isVisible':({plugins:_0x2054d7},_0x2167cc)=>!!_0x2054d7['get'](d)['repository']['getLaterVisibleRevision'](_0x2167cc['id'])},'nameRevision':{'name':'Name\x20this\x20revision','action':({plugins:_0x4aa06c},{id:_0x4dc861,revisionNameView:_0x3cf8ce})=>{const _0x3079c3=_0x4aa06c['get'](d),_0x1cc869=_0x3079c3['repository']['getEarlierVisibleRevision'](_0x4dc861);_0x3079c3['compare'](_0x4dc861,_0x1cc869),_0x3cf8ce['focus'](),_0x3cf8ce['fieldView']['select']();}}};}class st extends ht{['_view'];['_toolbarConfig'];['_elementReplacer'];get['view'](){return this['_view'];}constructor(_0x2341a0,_0x1377e0){super(_0x2341a0),this['_view']=_0x1377e0,this['_toolbarConfig']=ct(_0x2341a0['config']['get']('toolbar')),this['_elementReplacer']=new nt();}get['element'](){return this['view']['element'];}['init'](_0x339dad){const _0x2bc95f=this['editor'],_0x1b4f2f=this['view'],_0x46b264=_0x2bc95f['editing']['view'],_0x4b3f1=_0x1b4f2f['editable'],_0x882a3b=_0x46b264['document']['getRoot']();_0x4b3f1['name']=_0x882a3b['rootName'],_0x1b4f2f['render']();const _0x5a2db3=_0x4b3f1['element'];this['setEditableElement'](_0x4b3f1['name'],_0x5a2db3),_0x1b4f2f['editable']['bind']('isFocused')['to'](this['focusTracker']),_0x46b264['attachDomRoot'](_0x5a2db3),this['_elementReplacer']['replace'](_0x339dad,this['element']),this['_initToolbar'](),this['fire']('ready');}['destroy'](){super['destroy']();const _0x13caa7=this['view'],_0x11992a=this['editor']['editing']['view'];this['_elementReplacer']['restore'](),_0x11992a['detachDomRoot'](_0x13caa7['editable']['name']),_0x13caa7['destroy']();}['_initToolbar'](){const _0x106ef6=this['view'];_0x106ef6['stickyPanel']['bind']('isActive')['to'](this['focusTracker'],'isFocused'),_0x106ef6['stickyPanel']['limiterElement']=_0x106ef6['element'],_0x106ef6['stickyPanel']['bind']('viewportTopOffset')['to'](this,'viewportOffset',({top:_0x21be3c})=>_0x21be3c),_0x106ef6['toolbar']['fillFromConfig'](this['_toolbarConfig'],this['componentFactory']),this['addToolbar'](_0x106ef6['toolbar']);}}class ot extends dt{['_editable'];['stickyPanel'];['toolbar'];get['editable'](){return this['_editable'];}constructor(_0x1f7ab2,_0xace4b6,_0x629c22={}){super(_0x1f7ab2),this['stickyPanel']=new lt(_0x1f7ab2),this['toolbar']=new pt(_0x1f7ab2,{'shouldGroupWhenFull':_0x629c22['shouldToolbarGroupWhenFull']}),this['_editable']=new ut(_0x1f7ab2,_0xace4b6);}['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(_0x1807ba,_0x403277){super(_0x403277),this['sourceElement']=_0x1807ba,this['model']['document']['createRoot']();const _0x3a310d=new ot(this['locale'],this['editing']['view'],{'shouldToolbarGroupWhenFull':!0x0});this['_ui']=new st(this,_0x3a310d);}['destroy'](){return this['updateSourceElement'](),this['ui']['destroy'](),super['destroy']();}static async['create'](_0x3ff5bf,_0xb77a04){const _0x5de167=new this(_0x3ff5bf,_0xb77a04);return await _0x5de167['initPlugins'](),await _0x5de167['ui']['init'](_0x3ff5bf),await _0x5de167['data']['init'](_0x5de167['config']['get']('initialData')||''),_0x5de167['fire']('ready'),_0x5de167;}}const p=['RevisionHistoryUI','RestrictedEditingMode'];class k extends _0x2594ac{['result'];static get['pluginName'](){return'RevisionViewerIntegration';}constructor(_0x1f8441){super(_0x1f8441),this['result']='end';}}class H extends _0x2594ac{['_viewerEditor'];static get['pluginName'](){return'RevisionHistory';}static get['requires'](){return[l,u];}constructor(_0x5f3b15){if(super(_0x5f3b15),!this['editor']['config']['get']('revisionHistory'))throw new _0x5625e9('revision-history-missing-configuration',this);this['_viewerEditor']=null,this['editor']['config']['define']('revisionHistory.showRevisionViewerCallback',_0x538180=>this['_showRevisionViewer']({..._0x538180,'translations':this['editor']['locale']['translations']})),this['editor']['config']['define']('revisionHistory.closeRevisionViewerCallback',_0x1b2472=>this['_closeRevisionViewer'](_0x1b2472)),this['editor']['config']['define']('revisionHistory.restoreRevisionCallback',_0x3e3279=>this['_restoreRevision'](_0x3e3279)),this['editor']['config']['define']('revisionHistory.requireRevisionName',!0x1),this['_enhanceShowRevisionViewerCallback'](),this['_enhanceCloseRevisionViewerCallback']();}set['adapter'](_0x2ceb91){this['editor']['plugins']['get']('RevisionTracker')['adapter']=_0x2ceb91;}get['adapter'](){return this['editor']['plugins']['get']('RevisionTracker')['adapter'];}['addRevisionData'](_0x519778){return this['editor']['plugins']['get']('RevisionTracker')['addRevisionData'](_0x519778);}['getRevision'](_0x89b29c){return this['editor']['plugins']['get']('RevisionsRepository')['getRevision'](_0x89b29c);}['getRevisions'](_0x128b73){return this['editor']['plugins']['get']('RevisionsRepository')['getRevisions'](_0x128b73||{'toJSON':!0x1});}['_getRevisionViewerEditorConfig'](){const _0x13c3b1=this['editor'],_0x376505=_0x2dd241(_0x13c3b1,p),_0x49f406=_0x13c3b1['plugins']['get']('RevisionTracker'),_0x2b06cf=_0x13c3b1['plugins']['get']('Users')['users'];return _0x376505['toolbar']=['exitToEditing','restoreRevision','changesNavigation'],delete _0x376505['lazyRoots'],(_0x376505['plugins']['push'](k,d,R,class extends _0x2594ac{static get['requires'](){return[d,'Users'];}['init'](){const _0x3eb6c5=this['editor']['plugins']['get']('Users');for(const _0x5c6694 of _0x2b06cf)_0x5c6694['isAnonymous']||_0x3eb6c5['getUser'](_0x5c6694['id'])||_0x3eb6c5['addUser'](_0x5c6694);const _0x375ca1=_0x49f406['repository']['getRevisions']();let _0x503c39=null;const _0x4994a9=this['editor']['plugins']['get']('RevisionViewer');_0x4994a9['adapter']=_0x49f406['adapter'],_0x4994a9['bind']('isEnabled')['to'](_0x49f406),this['editor']['commands']['get']('restoreRevision')['bind']('isEnabled')['to'](_0x13c3b1,'isReadOnly',_0x449482=>!_0x449482);for(const _0x2112a7 of _0x375ca1){const _0x1575ba=null===_0x2112a7['creator'];if(_0x1575ba&&_0x2112a7['toVersion']===_0x2112a7['fromVersion'])continue;const _0x6b469f=_0x2112a7['toJSON']();_0x4994a9['addRevisionData'](_0x6b469f,(_0x49bb6c,_0x4a84d0,_0x42cdf5)=>{if(_0x1575ba){if(_0x503c39)_0x503c39['_update'](_0x49bb6c,_0x4a84d0);else{if(!_0x4a84d0){const _0x57b6b4=_0x42cdf5['toJSON']();_0x57b6b4['id']=_0x4fb95c(),_0x49f406['saveRevision'](_0x57b6b4,_0x42cdf5['toVersion'])['then'](_0x1818fd=>{_0x503c39=_0x1818fd;});}}}else _0x2112a7['_update'](_0x49bb6c,_0x4a84d0);});}}},w),_0x376505);}['_enhanceShowRevisionViewerCallback'](){const _0x571e6e=this['editor']['config']['get']('revisionHistory')['showRevisionViewerCallback'];this['editor']['config']['set']('revisionHistory.showRevisionViewerCallback',async()=>{this['editor']['enableReadOnlyMode']('revision-history-viewer-opened');const _0x11c8fc=this['editor']['plugins']['get']('RevisionTracker');if(this['editor']['plugins']['has']('Autosave')){const _0x3e209e=this['editor']['plugins']['get']('Autosave');await _0x3e209e['save']();}else await _0x11c8fc['update']();if(this['editor']['plugins']['has']('PaginationLookup')&&this['editor']['plugins']['get']('PaginationLookup')['_recalculatePageBreaks'](),this['editor']['plugins']['has']('Dialog')){const _0xb1482f=this['editor']['plugins']['get']('Dialog');_0xb1482f['isOpen']&&_0xb1482f['hide']();}const _0xe265fc=this['_getRevisionViewerEditorConfig']();return _0x571e6e(_0xe265fc)['then'](_0x357864=>{return(this['_viewerEditor']=_0x357864,this['editor']['plugins']['has']('Annotations'))&&this['editor']['plugins']['get']('Annotations')['refreshVisibility'](),_0x357864;})['catch'](_0x526c28=>(console['error'](_0x526c28),this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),null));});}['_enhanceCloseRevisionViewerCallback'](){const _0x183f5a=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'](),_0x183f5a(this['_viewerEditor'])['then'](()=>{if(this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),this['_viewerEditor']=null,this['editor']['plugins']['has']('Annotations')){const _0x3be79f=this['editor']['plugins']['get']('Annotations');_0x3be79f['refreshVisibility'](),_0x3be79f['refreshPositioning']();}})));}['_showRevisionViewer'](_0x451c77){const _0x14aa2d=this['editor']['config']['get']('revisionHistory.editorContainer'),_0x3e52be=this['editor']['config']['get']('revisionHistory.viewerContainer'),_0x2c0d09=this['editor']['config']['get']('revisionHistory.viewerEditorElement');return m['create'](_0x2c0d09,_0x451c77)['then'](_0x2ba79f=>(_0x3e52be['style']['display']='block',_0x14aa2d['style']['display']='none',_0x2ba79f));}['_closeRevisionViewer'](_0x292c7f){const _0x589730=this['editor']['config']['get']('revisionHistory.editorContainer');return this['editor']['config']['get']('revisionHistory.viewerContainer')['style']['display']='none',_0x589730['style']['display']='',_0x292c7f['destroy']();}async['_restoreRevision'](_0x162ca2){const _0x3168dc=this['editor'],_0x4588e6=this['_viewerEditor']['plugins']['get']('RevisionViewer'),_0x43a187=_0x3168dc['plugins']['get']('RevisionTracker'),_0x209f09=_0x4588e6['repository']['getRevision'](_0x162ca2);let _0x2b19fb,_0x240a58,_0xa7e83;try{_0x2b19fb=await _0x4588e6['getRevisionData'](_0x209f09),_0x240a58=await _0x4588e6['getRevisionRootsAttributes'](_0x209f09);}catch(_0x107e2d){return void console['error'](_0x107e2d);}_0x3168dc['model']['change'](_0x3de443=>{for(const _0x48a7e2 of Array['from'](_0x3168dc['model']['markers']['getMarkersGroup']('restrictedEditingException')))_0x3de443['removeMarker'](_0x48a7e2);}),_0x4588e6['isReady']=!0x1,_0x3168dc['model']['enqueueChange'](_0x3c65ef=>{_0x3c65ef['setSelection'](null),_0x3c65ef['removeSelectionAttribute'](_0x3168dc['model']['document']['selection']['getAttributeKeys']());const _0x224ff8=Object['keys'](_0x2b19fb);for(const _0x49e523 of _0x3168dc['model']['document']['roots'])'$graveyard'!=_0x49e523['rootName']&&_0x49e523['isAttached']()&&!_0x224ff8['includes'](_0x49e523['rootName'])&&_0x3c65ef['detachRoot'](_0x49e523);for(const _0x8cf293 of _0x224ff8){let _0x1a5920=_0x3168dc['model']['document']['getRoot'](_0x8cf293);_0x1a5920&&_0x1a5920['isAttached']()||(_0x1a5920=_0x3c65ef['addRoot'](_0x8cf293));const _0x26fea=_0x240a58[_0x8cf293],_0x519c93=Object['keys'](_0x26fea),_0x3d13fe=_0x2b19fb[_0x8cf293];for(const _0x22d24d of _0x1a5920['getAttributeKeys']())_0x519c93['includes'](_0x22d24d)||_0x3c65ef['removeAttribute'](_0x22d24d,_0x1a5920);for(const _0x49c03e of _0x519c93)_0x3c65ef['setAttribute'](_0x49c03e,_0x240a58[_0x8cf293][_0x49c03e],_0x1a5920);_0x3c65ef['remove'](_0x3c65ef['createRangeIn'](_0x1a5920)),_0x3c65ef['insert'](_0x3168dc['data']['parse'](_0x3d13fe,_0x1a5920),_0x1a5920,0x0);}});const _0x409d20=y(_0x3168dc['locale'],'Restored');if(_0x209f09['name'])_0xa7e83=-0x1==_0x209f09['name']['indexOf'](_0x409d20)?_0x409d20+':\x20'+_0x209f09['name']:_0x209f09['name'];else _0xa7e83=_0x409d20+':\x20'+(_0x209f09['createdAt']['toLocaleDateString'](_0x3168dc['locale']['uiLanguage'],{'month':'long','day':'numeric'})+',\x20'+_0x209f09['createdAt']['toLocaleTimeString'](_0x3168dc['locale']['uiLanguage'],{'hour':'numeric','minute':'numeric'}));return await _0x43a187['saveRevision']({'name':_0xa7e83}),_0x4588e6['isReady']=!0x0,_0x3168dc['config']['get']('revisionHistory')['closeRevisionViewerCallback']();}}export{a as Revision,H as RevisionHistory,u as RevisionHistoryUI,l as RevisionTracker,d as RevisionViewer,de as RevisionViewerLoadingOverlay,R as RevisionViewerUI,A as RevisionsRepository,w as RevisionsSidebar};