@ckeditor/ckeditor5-revision-history 0.0.0-nightly-20240927.0 → 0.0.0-nightly-20240928.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (148) hide show
  1. package/build/revision-history.js +1 -1
  2. package/dist/index.js +6 -6
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/az.js +1 -1
  8. package/dist/translations/az.umd.js +1 -1
  9. package/dist/translations/bg.js +1 -1
  10. package/dist/translations/bg.umd.js +1 -1
  11. package/dist/translations/bn.js +1 -1
  12. package/dist/translations/bn.umd.js +1 -1
  13. package/dist/translations/bs.js +1 -1
  14. package/dist/translations/bs.umd.js +1 -1
  15. package/dist/translations/ca.js +1 -1
  16. package/dist/translations/ca.umd.js +1 -1
  17. package/dist/translations/cs.js +1 -1
  18. package/dist/translations/cs.umd.js +1 -1
  19. package/dist/translations/da.js +1 -1
  20. package/dist/translations/da.umd.js +1 -1
  21. package/dist/translations/de-ch.js +1 -1
  22. package/dist/translations/de-ch.umd.js +1 -1
  23. package/dist/translations/de.js +1 -1
  24. package/dist/translations/de.umd.js +1 -1
  25. package/dist/translations/el.js +1 -1
  26. package/dist/translations/el.umd.js +1 -1
  27. package/dist/translations/en-au.js +1 -1
  28. package/dist/translations/en-au.umd.js +1 -1
  29. package/dist/translations/en-gb.js +1 -1
  30. package/dist/translations/en-gb.umd.js +1 -1
  31. package/dist/translations/en.umd.js +1 -1
  32. package/dist/translations/es-co.js +1 -1
  33. package/dist/translations/es-co.umd.js +1 -1
  34. package/dist/translations/es.js +1 -1
  35. package/dist/translations/es.umd.js +1 -1
  36. package/dist/translations/et.js +1 -1
  37. package/dist/translations/et.umd.js +1 -1
  38. package/dist/translations/fa.js +1 -1
  39. package/dist/translations/fa.umd.js +1 -1
  40. package/dist/translations/fi.js +1 -1
  41. package/dist/translations/fi.umd.js +1 -1
  42. package/dist/translations/fr.js +1 -1
  43. package/dist/translations/fr.umd.js +1 -1
  44. package/dist/translations/gl.js +1 -1
  45. package/dist/translations/gl.umd.js +1 -1
  46. package/dist/translations/he.js +1 -1
  47. package/dist/translations/he.umd.js +1 -1
  48. package/dist/translations/hi.js +1 -1
  49. package/dist/translations/hi.umd.js +1 -1
  50. package/dist/translations/hr.js +1 -1
  51. package/dist/translations/hr.umd.js +1 -1
  52. package/dist/translations/hu.js +1 -1
  53. package/dist/translations/hu.umd.js +1 -1
  54. package/dist/translations/id.js +1 -1
  55. package/dist/translations/id.umd.js +1 -1
  56. package/dist/translations/it.js +1 -1
  57. package/dist/translations/it.umd.js +1 -1
  58. package/dist/translations/ja.js +1 -1
  59. package/dist/translations/ja.umd.js +1 -1
  60. package/dist/translations/jv.js +1 -1
  61. package/dist/translations/jv.umd.js +1 -1
  62. package/dist/translations/ko.js +1 -1
  63. package/dist/translations/ko.umd.js +1 -1
  64. package/dist/translations/ku.js +1 -1
  65. package/dist/translations/ku.umd.js +1 -1
  66. package/dist/translations/lt.js +1 -1
  67. package/dist/translations/lt.umd.js +1 -1
  68. package/dist/translations/lv.js +1 -1
  69. package/dist/translations/lv.umd.js +1 -1
  70. package/dist/translations/ms.js +1 -1
  71. package/dist/translations/ms.umd.js +1 -1
  72. package/dist/translations/ne.js +1 -1
  73. package/dist/translations/ne.umd.js +1 -1
  74. package/dist/translations/nl.js +1 -1
  75. package/dist/translations/nl.umd.js +1 -1
  76. package/dist/translations/no.js +1 -1
  77. package/dist/translations/no.umd.js +1 -1
  78. package/dist/translations/pl.js +1 -1
  79. package/dist/translations/pl.umd.js +1 -1
  80. package/dist/translations/pt-br.js +1 -1
  81. package/dist/translations/pt-br.umd.js +1 -1
  82. package/dist/translations/pt.js +1 -1
  83. package/dist/translations/pt.umd.js +1 -1
  84. package/dist/translations/ro.js +1 -1
  85. package/dist/translations/ro.umd.js +1 -1
  86. package/dist/translations/ru.js +1 -1
  87. package/dist/translations/ru.umd.js +1 -1
  88. package/dist/translations/sk.js +1 -1
  89. package/dist/translations/sk.umd.js +1 -1
  90. package/dist/translations/sr-latn.js +1 -1
  91. package/dist/translations/sr-latn.umd.js +1 -1
  92. package/dist/translations/sr.js +1 -1
  93. package/dist/translations/sr.umd.js +1 -1
  94. package/dist/translations/sv.js +1 -1
  95. package/dist/translations/sv.umd.js +1 -1
  96. package/dist/translations/th.js +1 -1
  97. package/dist/translations/th.umd.js +1 -1
  98. package/dist/translations/ti.js +1 -1
  99. package/dist/translations/ti.umd.js +1 -1
  100. package/dist/translations/tk.js +1 -1
  101. package/dist/translations/tk.umd.js +1 -1
  102. package/dist/translations/tr.js +1 -1
  103. package/dist/translations/tr.umd.js +1 -1
  104. package/dist/translations/tt.js +1 -1
  105. package/dist/translations/tt.umd.js +1 -1
  106. package/dist/translations/ug.js +1 -1
  107. package/dist/translations/ug.umd.js +1 -1
  108. package/dist/translations/uk.js +1 -1
  109. package/dist/translations/uk.umd.js +1 -1
  110. package/dist/translations/ur.js +1 -1
  111. package/dist/translations/ur.umd.js +1 -1
  112. package/dist/translations/vi.js +1 -1
  113. package/dist/translations/vi.umd.js +1 -1
  114. package/dist/translations/zh-cn.js +1 -1
  115. package/dist/translations/zh-cn.umd.js +1 -1
  116. package/dist/translations/zh.js +1 -1
  117. package/dist/translations/zh.umd.js +1 -1
  118. package/package.json +8 -8
  119. package/src/changeitem.js +2 -2
  120. package/src/editor/revisionviewereditor.js +2 -2
  121. package/src/editor/revisionviewereditorui.js +1 -1
  122. package/src/editor/revisionviewereditoruiview.js +1 -1
  123. package/src/index.js +1 -1
  124. package/src/revision.js +2 -2
  125. package/src/revisiondiff.js +1 -1
  126. package/src/revisionhistory.js +1 -1
  127. package/src/revisionsrepository.js +1 -1
  128. package/src/revisiontracker.js +1 -1
  129. package/src/revisionviewer.js +1 -1
  130. package/src/ui/revision/createrevisionactionsdropdown.js +1 -1
  131. package/src/ui/revision/revisionauthorview.js +1 -1
  132. package/src/ui/revision/revisionnameview.js +1 -1
  133. package/src/ui/revision/revisionview.js +2 -2
  134. package/src/ui/revision/subrevisioncollapserview.js +1 -1
  135. package/src/ui/revision/subrevisionview.js +1 -1
  136. package/src/ui/revision/utils.js +1 -1
  137. package/src/ui/revisionhistory/revisionhistorysaverevisionformview.js +1 -1
  138. package/src/ui/revisionhistory/revisionhistoryui.js +1 -1
  139. package/src/ui/revisionssidebar/revisionssidebar.js +1 -1
  140. package/src/ui/revisionssidebar/revisionssidebarheaderview.js +1 -1
  141. package/src/ui/revisionssidebar/revisionssidebartimeperiodview.js +1 -1
  142. package/src/ui/revisionssidebar/revisionssidebarview.js +1 -1
  143. package/src/ui/revisionssidebar/utils.js +1 -1
  144. package/src/ui/revisionviewer/changedetailsview.js +1 -1
  145. package/src/ui/revisionviewer/changesnavigationview.js +1 -1
  146. package/src/ui/revisionviewer/revisionviewerloadingoverlay.js +1 -1
  147. package/src/ui/revisionviewer/revisionviewerui.js +1 -1
  148. package/src/utils/common-translations.js +1 -1
package/dist/index.js CHANGED
@@ -20,10 +20,10 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{ObservableMixin as _0x5bd7ed,uid as _0x19b58f,Collection as _0x3d9d1f,logWarning as _0x262c92,FocusTracker as _0x41dea2,KeystrokeHandler as _0x56db34,scrollViewportToShowTarget as _0x393f1d,ResizeObserver as mt,ElementReplacer as nt,CKEditorError as _0x5a2e2c}from'@ckeditor/ckeditor5-utils/dist/index.js';import{cloneDeep as _0x2cba02,set as _0x39425c,unset as _0x166a32,isEqual as _0x2d4cf5}from'lodash-es';import{Plugin as _0x26b929,Context as _0x5a3725,PendingActions as _0x9a2eb1,icons as _0x584023,Command as _0x583a22,ElementApiMixin as rt,Editor as it}from'@ckeditor/ckeditor5-core/dist/index.js';import{Users as _0x59f4ae,getMarkerDomElement as _0x5847c6,ConfirmMixin as _0x15d958,sanitizeEditorConfig as _0x207ed5}from'ckeditor5-collaboration/dist/index.js';import{ViewDocumentFragment as _0x33efc2,ViewText as _0x373200,ViewElement as _0xd46171,Element as ft,Range as vt,Position as gt,DocumentFragment as wt,ViewContainerElement as _0x15699c,ViewAttributeElement as _0x52cd38,ViewEmptyElement as _0x37f203,ViewRawElement as _0x71ebbe,ViewUIElement as _0x4781b5,Text as _t}from'@ckeditor/ckeditor5-engine/dist/index.js';import{View as _0x2b2166,injectCssTransitionDisabler as ts,submitHandler as _0x41aac2,LabeledFieldView as at,createLabeledInputText as _0x2bec7e,createDropdown as _0x506054,ListView as te,ListItemView as _0x4056e5,ButtonView as _0x5f47dc,MenuBarMenuView as _0x5db1a9,MenuBarMenuListView as _0x5cd7d1,MenuBarMenuListItemView as _0xacabc2,MenuBarMenuListItemButtonView as _0x3b1146,ContextualBalloon as _0x275567,ToolbarSeparatorView as _0x1d775a,IconView as _0x4ca0ed,addListToDropdown as _0x425f27,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 _0x2af748}from'luxon';class a extends/* #__PURE__ -- @preserve */
24
- _0x5bd7ed(){['id'];['creator'];['authors'];['diffData'];['toVersion'];['fromVersion'];['model'];constructor(_0xc843a7){super(),this['id']=_0xc843a7['id']||_0x19b58f(),this['creator']=_0xc843a7['creator']||null,this['authors']=_0xc843a7['authors']||[],this['diffData']=_0xc843a7['diffData']||null,this['toVersion']=_0xc843a7['toVersion']||0x0,this['fromVersion']=_0xc843a7['fromVersion']||0x0,this['set']('name',_0xc843a7['name']||''),this['set']('createdAt',_0xc843a7['createdAt']||new Date()),this['set']('attributes',_0xc843a7['attributes']||{});}['setName'](_0x41bf6d){this['_update']({'name':_0x41bf6d});}['setAttribute'](_0x240387,_0x239047){const _0x18c892=_0x2cba02(this['attributes']);_0x39425c(_0x18c892,_0x240387,_0x239047),this['_update']({'attributes':_0x18c892});}['removeAttribute'](_0x57c663){const _0x59f67d=_0x2cba02(this['attributes']);_0x166a32(_0x59f67d,_0x57c663),this['_update']({'attributes':_0x59f67d});}['_update'](_0x2c6d2f,_0x945dc6=!0x1){let _0x2337ee=!0x1;const _0xd43c6={'id':this['id']},_0x401e66=['name','createdAt','diffData','authors','attributes','toVersion','fromVersion','creatorId'];for(const _0x34d8c1 of _0x401e66){const _0x5377fe=_0x2c6d2f[_0x34d8c1];void 0x0!==_0x5377fe&&_0x5377fe!==this[_0x34d8c1]&&(this[_0x34d8c1]=_0x5377fe,_0xd43c6[_0x34d8c1]=_0x5377fe,_0x2337ee=!0x0);}_0x2337ee&&(_0xd43c6['authors']&&(_0xd43c6['authorsIds']=_0xd43c6['authors']['map'](_0x3b0031=>_0x3b0031['id']),delete _0xd43c6['authors']),this['fire']('_update',_0xd43c6,_0x945dc6));}['toJSON'](){return{'id':this['id'],'name':this['name'],'creatorId':this['creator']?this['creator']['id']:null,'authorsIds':this['authors']['map'](_0x4f1c99=>_0x4f1c99['id']),'diffData':this['diffData'],'createdAt':this['createdAt'],'attributes':this['attributes'],'fromVersion':this['fromVersion'],'toVersion':this['toVersion']};}}class A extends _0x26b929{['_revisions'];static get['requires'](){return[_0x59f4ae];}static get['pluginName'](){return'RevisionsRepository';}get['length'](){return this['_revisions']['length'];}constructor(_0x1d2665){super(_0x1d2665),this['_revisions']=new _0x3d9d1f();}['afterInit'](){!function(_0x17c311){function _0x51245b(_0x5eaf17,_0x1fddab,_0x77e1e8){const _0x4e3caa={};_0x4e3caa[_0x3f8952([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])]={0x10:0xa,0x18:0xc,0x20:0xe},_0x4e3caa[_0x3f8952([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],_0x4e3caa[_0x3f8952([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],_0x4e3caa[_0x3f8952([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],_0x4e3caa[_0x3f8952([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],_0x4e3caa[_0x3f8952([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],_0x4e3caa[_0x3f8952([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],_0x4e3caa[_0x3f8952([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],_0x4e3caa[_0x3f8952([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],_0x4e3caa[_0x3f8952([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],_0x4e3caa[_0x3f8952([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 _0x13c654=new Uint8Array(0x10);for(let _0x471636=0xf;_0x471636>=0x0;--_0x471636)_0x13c654[_0x471636]=_0x77e1e8%0x100,_0x77e1e8=parseInt(_0x77e1e8/0x100);let _0x313750=null,_0xcbedb6=0x10;const _0x23789a=new Uint8Array(_0x1fddab),_0x52fe7e=[],_0x2271c4=[];_0x26fd5f();for(let _0x29a17e=0x0;_0x29a17e<_0x5eaf17[_0x3f8952([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x29a17e++)0x10===_0xcbedb6&&(_0x313750=_0x43c801(_0x13c654),_0xcbedb6=0x0,_0x928e23(_0x13c654)),_0x5eaf17[_0x29a17e]^=_0x313750[_0xcbedb6++];return _0x5eaf17;function _0x167d91(_0xc867d0){const _0x1a6e22=[];for(let _0x4abbde=0x0;_0x4abbde<_0xc867d0[_0x3f8952([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4abbde+=0x4)_0x1a6e22[_0x3f8952([0x70,0x75,0x73,0x68])](_0xc867d0[_0x4abbde]<<0x18|_0xc867d0[_0x4abbde+0x1]<<0x10|_0xc867d0[_0x4abbde+0x2]<<0x8|_0xc867d0[_0x4abbde+0x3]);return _0x1a6e22;}function _0x928e23(_0x4c51f0){for(let _0x52fdaf=0xf;_0x52fdaf>=0x0;_0x52fdaf--){if(0xff!==_0x4c51f0[_0x52fdaf]){_0x4c51f0[_0x52fdaf]++;break;}_0x4c51f0[_0x52fdaf]=0x0;}}function _0x43c801(_0x17ab0c){const _0x12521a=_0x52fe7e[_0x3f8952([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x1,_0x20455d=[0x0,0x0,0x0,0x0];let t=_0x167d91(_0x17ab0c);for(let _0x5c9370=0x0;_0x5c9370<0x4;_0x5c9370++)t[_0x5c9370]^=_0x52fe7e[0x0][_0x5c9370];for(let _0x113f90=0x1;_0x113f90<_0x12521a;_0x113f90++){for(let _0x27d60b=0x0;_0x27d60b<0x4;_0x27d60b++)_0x20455d[_0x27d60b]=_0x4e3caa[_0x3f8952([0x54,0x31])][t[_0x27d60b]>>0x18&0xff]^_0x4e3caa[_0x3f8952([0x54,0x32])][t[(_0x27d60b+0x1)%0x4]>>0x10&0xff]^_0x4e3caa[_0x3f8952([0x54,0x33])][t[(_0x27d60b+0x2)%0x4]>>0x8&0xff]^_0x4e3caa[_0x3f8952([0x54,0x34])][0xff&t[(_0x27d60b+0x3)%0x4]]^_0x52fe7e[_0x113f90][_0x27d60b];t=_0x20455d[_0x3f8952([0x73,0x6c,0x69,0x63,0x65])]();}const _0x1cf6d4=new Uint8Array(0x10);let _0x3e2d39;for(let _0x4e716f=0x0;_0x4e716f<0x4;_0x4e716f++)_0x3e2d39=_0x52fe7e[_0x12521a][_0x4e716f],_0x1cf6d4[0x4*_0x4e716f]=0xff&(_0x4e3caa[_0x3f8952([0x53])][t[_0x4e716f]>>0x18&0xff]^_0x3e2d39>>0x18),_0x1cf6d4[0x4*_0x4e716f+0x1]=0xff&(_0x4e3caa[_0x3f8952([0x53])][t[(_0x4e716f+0x1)%0x4]>>0x10&0xff]^_0x3e2d39>>0x10),_0x1cf6d4[0x4*_0x4e716f+0x2]=0xff&(_0x4e3caa[_0x3f8952([0x53])][t[(_0x4e716f+0x2)%0x4]>>0x8&0xff]^_0x3e2d39>>0x8),_0x1cf6d4[0x4*_0x4e716f+0x3]=0xff&(_0x4e3caa[_0x3f8952([0x53])][0xff&t[(_0x4e716f+0x3)%0x4]]^_0x3e2d39);return _0x1cf6d4;}function _0x26fd5f(){const _0x4a6f87=_0x4e3caa[_0x3f8952([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])][_0x23789a[_0x3f8952([0x6c,0x65,0x6e,0x67,0x74,0x68])]];for(let _0x4f0c88=0x0;_0x4f0c88<=_0x4a6f87;_0x4f0c88++)_0x52fe7e[_0x3f8952([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]),_0x2271c4[_0x3f8952([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]);const _0x2d5d9f=0x4*(_0x4a6f87+0x1),_0x19d11a=_0x23789a[_0x3f8952([0x6c,0x65,0x6e,0x67,0x74,0x68])]/0x4,_0x1cae2b=_0x167d91(_0x23789a);let _0x182ee6;for(let _0x30a899=0x0;_0x30a899<_0x19d11a;_0x30a899++)_0x182ee6=_0x30a899>>0x2,_0x52fe7e[_0x182ee6][_0x30a899%0x4]=_0x1cae2b[_0x30a899],_0x2271c4[_0x4a6f87-_0x182ee6][_0x30a899%0x4]=_0x1cae2b[_0x30a899];let _0x44df56,_0x51df11=0x0,t=_0x19d11a;for(;t<_0x2d5d9f;){_0x44df56=_0x1cae2b[_0x19d11a-0x1],_0x1cae2b[0x0]^=_0x4e3caa[_0x3f8952([0x53])][_0x44df56>>0x10&0xff]<<0x18^_0x4e3caa[_0x3f8952([0x53])][_0x44df56>>0x8&0xff]<<0x10^_0x4e3caa[_0x3f8952([0x53])][0xff&_0x44df56]<<0x8^_0x4e3caa[_0x3f8952([0x53])][_0x44df56>>0x18&0xff]^_0x4e3caa[_0x3f8952([0x72,0x63,0x6f,0x6e])][_0x51df11]<<0x18,_0x51df11+=0x1;for(let _0x4ab69f=0x1;_0x4ab69f<_0x19d11a/0x2;_0x4ab69f++)_0x1cae2b[_0x4ab69f]^=_0x1cae2b[_0x4ab69f-0x1];_0x44df56=_0x1cae2b[_0x19d11a/0x2-0x1],_0x1cae2b[_0x19d11a/0x2]^=_0x4e3caa[_0x3f8952([0x53])][0xff&_0x44df56]^_0x4e3caa[_0x3f8952([0x53])][_0x44df56>>0x8&0xff]<<0x8^_0x4e3caa[_0x3f8952([0x53])][_0x44df56>>0x10&0xff]<<0x10^_0x4e3caa[_0x3f8952([0x53])][_0x44df56>>0x18&0xff]<<0x18;for(let _0x50787d=_0x19d11a/0x2+0x1;_0x50787d<_0x19d11a;_0x50787d++)_0x1cae2b[_0x50787d]^=_0x1cae2b[_0x50787d-0x1];let _0x345548,_0x390e81,_0x132436=0x0;for(;_0x132436<_0x19d11a&&t<_0x2d5d9f;)_0x345548=t>>0x2,_0x390e81=t%0x4,_0x52fe7e[_0x345548][_0x390e81]=_0x1cae2b[_0x132436],_0x2271c4[_0x4a6f87-_0x345548][_0x390e81]=_0x1cae2b[_0x132436++],t++;}for(let _0x3d1258=0x1;_0x3d1258<_0x4a6f87;_0x3d1258++)for(let _0x36b7aa=0x0;_0x36b7aa<0x4;_0x36b7aa++)_0x44df56=_0x2271c4[_0x3d1258][_0x36b7aa],_0x2271c4[_0x3d1258][_0x36b7aa]=_0x4e3caa[_0x3f8952([0x55,0x31])][_0x44df56>>0x18&0xff]^_0x4e3caa[_0x3f8952([0x55,0x32])][_0x44df56>>0x10&0xff]^_0x4e3caa[_0x3f8952([0x55,0x33])][_0x44df56>>0x8&0xff]^_0x4e3caa[_0x3f8952([0x55,0x34])][0xff&_0x44df56];}}function _0x3f8952(_0x186fb9){return _0x186fb9['map'](_0x74cbe1=>String['fromCharCode'](_0x74cbe1))['join']('');}(_0x42f22b=>{function _0x1abd25(){const _0x4fcf2d=[{[_0x3f8952([0x69,0x64])]:0x1,[_0x3f8952([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3f8952([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73]),[_0x3f8952([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x3f8952([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x3f8952([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x3f8952([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x3f8952([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x3f8952([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x3f8952([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]:[{[_0x3f8952([0x69,0x64])]:0x2,[_0x3f8952([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3f8952([0x54,0x72,0x61,0x63,0x6b,0x20,0x43,0x68,0x61,0x6e,0x67,0x65,0x73]),[_0x3f8952([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x3f8952([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x3f8952([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x3f8952([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x3f8952([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x3f8952([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]),[_0x3f8952([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x3f8952([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x3f8952([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x3f8952([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}}],[_0x3f8952([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x3f8952([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x3f8952([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x3f8952([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x3f8952([0x69,0x64])]:0x3,[_0x3f8952([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3f8952([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e]),[_0x3f8952([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x3f8952([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x6f,0x6f,0x6b,0x75,0x70]),[_0x3f8952([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x3f8952([0x70,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x3f8952([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x3f8952([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x3f8952([0x69,0x64])]:0x4,[_0x3f8952([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3f8952([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x20,0x48,0x69,0x73,0x74,0x6f,0x72,0x79]),[_0x3f8952([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x3f8952([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x3f8952([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x3f8952([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x3f8952([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x3f8952([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]),[_0x3f8952([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x3f8952([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x3f8952([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x3f8952([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x3f8952([0x69,0x64])]:0x5,[_0x3f8952([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3f8952([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x20,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65]),[_0x3f8952([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x3f8952([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65,0x55,0x49]),[_0x3f8952([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x3f8952([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]),[_0x3f8952([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x3f8952([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x3f8952([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x3f8952([0x66,0x67,0x69])]:[0xc]}},{[_0x3f8952([0x69,0x64])]:0x6,[_0x3f8952([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3f8952([0x46,0x6f,0x72,0x6d,0x61,0x74,0x20,0x50,0x61,0x69,0x6e,0x74,0x65,0x72]),[_0x3f8952([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x3f8952([0x46,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x55,0x49]),[_0x3f8952([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x3f8952([0x66,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x3f8952([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x3f8952([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x3f8952([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x3f8952([0x66,0x67,0x69])]:[0xc]}},{[_0x3f8952([0x69,0x64])]:0x7,[_0x3f8952([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3f8952([0x53,0x6c,0x61,0x73,0x68,0x20,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64]),[_0x3f8952([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x3f8952([0x53,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x55,0x49]),[_0x3f8952([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x3f8952([0x73,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x3f8952([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x3f8952([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x3f8952([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x3f8952([0x66,0x67,0x69])]:[0xc]}},{[_0x3f8952([0x69,0x64])]:0x8,[_0x3f8952([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3f8952([0x54,0x61,0x62,0x6c,0x65,0x20,0x6f,0x66,0x20,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73]),[_0x3f8952([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x3f8952([0x54,0x61,0x62,0x6c,0x65,0x4f,0x66,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x3f8952([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x3f8952([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]),[_0x3f8952([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x3f8952([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x3f8952([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x3f8952([0x66,0x67,0x69])]:[0xc]}},{[_0x3f8952([0x69,0x64])]:0x9,[_0x3f8952([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3f8952([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65]),[_0x3f8952([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x3f8952([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x55,0x49]),[_0x3f8952([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x3f8952([0x74,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x3f8952([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x3f8952([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x3f8952([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x3f8952([0x66,0x67,0x69])]:[0xc,0xe]}},{[_0x3f8952([0x69,0x64])]:0xa,[_0x3f8952([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3f8952([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]),[_0x3f8952([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x3f8952([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]),[_0x3f8952([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x3f8952([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]),[_0x3f8952([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x3f8952([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x3f8952([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x3f8952([0x66,0x67,0x69])]:[0xc]}},{[_0x3f8952([0x69,0x64])]:0xb,[_0x3f8952([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3f8952([0x41,0x49,0x20,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74]),[_0x3f8952([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x3f8952([0x41,0x49,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74,0x55,0x49]),[_0x3f8952([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x3f8952([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x3f8952([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x3f8952([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x3f8952([0x69,0x64])]:0xc,[_0x3f8952([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3f8952([0x50,0x72,0x6f,0x64,0x75,0x63,0x74,0x69,0x76,0x69,0x74,0x79,0x20,0x70,0x61,0x63,0x6b])},{[_0x3f8952([0x69,0x64])]:0xd,[_0x3f8952([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3f8952([0x43,0x61,0x73,0x65,0x20,0x43,0x68,0x61,0x6e,0x67,0x65]),[_0x3f8952([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x3f8952([0x43,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x55,0x49]),[_0x3f8952([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x3f8952([0x63,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x3f8952([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x3f8952([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x3f8952([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x3f8952([0x66,0x67,0x69])]:[0xc]}},{[_0x3f8952([0x69,0x64])]:0xe,[_0x3f8952([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3f8952([0x44,0x72,0x75,0x70,0x61,0x6c,0x20,0x70,0x61,0x63,0x6b]),[_0x3f8952([0x66,0x6f,0x72,0x62,0x69,0x64,0x64,0x65,0x6e,0x48,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x3f8952([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])},{[_0x3f8952([0x69,0x64])]:0xf,[_0x3f8952([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3f8952([0x4d,0x75,0x6c,0x74,0x69,0x20,0x4c,0x65,0x76,0x65,0x6c,0x20,0x4c,0x69,0x73,0x74]),[_0x3f8952([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x3f8952([0x4d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x3f8952([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x3f8952([0x6d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x3f8952([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x3f8952([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x3f8952([0x69,0x64])]:0x10,[_0x3f8952([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3f8952([0x4d,0x65,0x72,0x67,0x65,0x20,0x46,0x69,0x65,0x6c,0x64,0x73]),[_0x3f8952([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x3f8952([0x4d,0x65,0x72,0x67,0x65,0x46,0x69,0x65,0x6c,0x64,0x73,0x55,0x49]),[_0x3f8952([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x3f8952([0x6d,0x65,0x72,0x67,0x65,0x46,0x69,0x65,0x6c,0x64,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x3f8952([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x3f8952([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x3f8952([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x3f8952([0x66,0x67,0x69])]:[0xc]}}];return _0x5f56e9(_0x4fcf2d),_0x4fcf2d;function _0x22e43a(_0x42db2d){return 0x1<<_0x42db2d-0x1;}function _0x5f56e9(_0x51f529){_0x51f529[_0x3f8952([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x4ef00f=>{_0x4ef00f[_0x3f8952([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]=_0x22e43a(_0x4ef00f[_0x3f8952([0x69,0x64])]),_0x1c58da(_0x4ef00f)&&_0x4ef00f[_0x3f8952([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x5f56e9(_0x4ef00f[_0x3f8952([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]);});}}function _0x1c58da(_0x22beb0){return _0x3f8952([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])in _0x22beb0;}const _0x3ff809=[0x1,0x55,0x4e,0x73,0xc6,0xff,0x32,0x70,0x53,0x57,0xa1],_0x39c11d=[0x7f,0x22,0x6,0xd3,0xa7,0x56,0x92,0xc7,0x84,0xa0,0x12];function _0x48dbfc(_0x15ac42){const _0x183c7a=[0x1d,0xdd,0xaf,0x5a,0xe7,0x85,0xef,0xf0,0x4b,0xb4];return _0x5df646(_0x15ac42,new Uint8Array([..._0x3ff809,..._0x183c7a,..._0x39c11d]));}function _0x5df646(_0x174d2c,_0x10a626){const _0x3c8e83=_0x444e87(_0x174d2c),_0x145ae9=Array[_0x3f8952([0x66,0x72,0x6f,0x6d])](_0x437668(_0x3c8e83)),_0x1072f4=_0x145ae9[_0x3f8952([0x70,0x6f,0x70])](),_0x502e71=_0x145ae9[_0x3f8952([0x70,0x6f,0x70])]();return _0x4a612b(_0x51245b(_0x145ae9,_0x10a626,_0x502e71+0x100*_0x1072f4));}function _0x444e87(_0x3b38d7){const _0x50f8d3=atob(_0x3b38d7),[_0x1554f3,_0x235f9e]=_0x50f8d3[_0x3f8952([0x73,0x70,0x6c,0x69,0x74])](_0x3f8952([0x2d]));try{if(atob(_0x235f9e))return atob(_0x1554f3);}catch(_0x688349){}return _0x50f8d3;}function _0x3f2891(_0x33277d){try{const _0x3b38d4=_0x48dbfc(_0x33277d),_0x4ef927=JSON[_0x3f8952([0x70,0x61,0x72,0x73,0x65])](_0x3b38d4),_0x25b070=parseInt(_0x4ef927[_0x3f8952([0x31])]),_0x52df58=_0x4ef927[_0x3f8952([0x32])]||'',_0x3be355=parseInt(_0x4ef927[_0x3f8952([0x33])]),_0x39abe1=parseInt(_0x4ef927[_0x3f8952([0x34])])||0x0,_0x3d52b0=parseInt(_0x4ef927[_0x3f8952([0x35])])||0x0;return{[_0x3f8952([0x70,0x72,0x6f,0x64,0x75,0x63,0x74,0x4e,0x61,0x6d,0x65])]:_0x52df58,[_0x3f8952([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])]:_0x39abe1,[_0x3f8952([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]:_0x25b070,[_0x3f8952([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]:_0x3be355,[_0x3f8952([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]:_0x3d52b0};}catch(_0x8ebdaa){return null;}}const _0x1cec14=_0x1abd25(),_0x23f6ab={[_0x3f8952([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])]:_0x1875b6,[_0x3f8952([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])]:_0x1eeed9,[_0x3f8952([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])]:_0x2c1e32},_0x59c319=_0x42f22b[_0x3f8952([0x63,0x6f,0x6e,0x73,0x74,0x72,0x75,0x63,0x74,0x6f,0x72])][_0x3f8952([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])],_0x2739c3=_0x3f8952([0x63,0x6f,0x6e,0x74,0x65,0x78,0x74])in _0x42f22b?_0x42f22b['context']:_0x42f22b['editor'],_0x3424c5=_0x3f8952([0x34,0x30,0x34,0x38,0x31,0x38,0x35,0x34]),_0x303777=_0x3f8952([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]),_0x18b453=_0x2739c3['config']['get'](_0x3f8952([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x1da33f=_0x1cec14[_0x3f8952([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1c58da)[_0x3f8952([0x66,0x69,0x6e,0x64])](_0x4e7ee5=>_0x4e7ee5[_0x3f8952([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]===_0x59c319);function _0x3431d5(_0x297e25,_0x9879ac){_0x23f6ab[_0x9879ac[_0x3f8952([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]](_0x297e25,_0x9879ac),_0x9879ac[_0x3f8952([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x9879ac[_0x3f8952([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])][_0x3f8952([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x34a4a8=>_0x25cea6(_0x2739c3,_0x34a4a8[_0x3f8952([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))[_0x3f8952([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x4e7ff7=>_0x3431d5(_0x297e25,_0x4e7ff7));}function _0x1875b6(_0x29a10f,_0x43e1dc){_0x3ccc6c(_0x2ef4d4(_0x29a10f,_0x43e1dc),_0x43e1dc);}function _0x1eeed9(_0x1a45ef,_0x2eb049){function _0x4cdc50(_0x3d8440,_0x485998){try{if(_0x25cea6(_0x2739c3,_0x3f8952([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))&&_0x3d8440){const _0x1cc520=_0x22a306(_0x2739c3,_0x3f8952([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))[_0x3f8952([0x5f,0x65,0x78,0x65,0x63,0x75,0x74,0x65,0x53,0x75,0x67,0x67,0x65,0x73,0x74,0x69,0x6f,0x6e])];if(parseInt(_0x1cc520)/0x2>_0x3d8440[_0x3f8952([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])])return _0x4866f4(_0x485998[_0x3f8952([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3f8952([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}return _0x2ef4d4(_0x3d8440,_0x485998);}catch(_0x3fcf9d){return _0x4866f4(_0x485998[_0x3f8952([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3f8952([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}_0x3ccc6c(_0x4cdc50(_0x1a45ef,_0x2eb049),_0x2eb049);}function _0x2c1e32(_0x187162,_0x172561){const _0x2657d5=_0x39c11d[0x0]*_0x3ff809[0x1],_0xd04536=_0x39c11d[0x0]*_0x3ff809[0x2],_0xf6f97=_0x39c11d[0x2]*_0x3ff809[0x2];_0x25cea6(_0x2739c3,_0x3f8952([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x22a306(_0x2739c3,_0x3f8952([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x3f8952([0x73,0x74,0x61,0x74,0x65])]==_0x3f8952([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&(window[_0x35f23e()]=_0xf6f97);function _0x3586bc(_0x59e17f,_0x2a401b){try{return _0x5827a1()?_0x4866f4(_0x2a401b[_0x3f8952([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3f8952([0x56,0x61,0x6c,0x69,0x64])):_0x2ef4d4(_0x59e17f,_0x2a401b);}catch(_0x4f1c8a){return _0x4866f4(_0x2a401b[_0x3f8952([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3f8952([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x482828(_0x4fc70e,_0x527dc8){const _0x2ae0c8=0x7;if(_0x4fc70e==_0x527dc8[_0x3f8952([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3f8952([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]))_0x507e8d();else{if(_0x4fc70e==_0x527dc8[_0x3f8952([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3f8952([0x54,0x72,0x69,0x61,0x6c])){const _0x42620e=_0x56ce04();_0x42620e&&_0x33be96(_0x42620e,_0x527dc8[_0x3f8952([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);const _0x1f2a8f=_0x4c051c();window[_0x3f8952([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x33be96(_0x3f8952([0x74,0x69,0x6d,0x65]),_0x527dc8[_0x3f8952([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);},_0x1f2a8f);const _0x259a81=_0x22a306(_0x2739c3,_0x3f8952([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x3f8952([0x5f,0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73])];_0x259a81[_0x3f8952([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x2ae0c8?_0x33be96(_0x3f8952([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x527dc8[_0x3f8952([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]):_0x259a81['on'](_0x3f8952([0x61,0x64,0x64]),()=>{_0x259a81[_0x3f8952([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x2ae0c8&&_0x33be96(_0x3f8952([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x527dc8[_0x3f8952([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);});}}}function _0x56ce04(){if(!_0x25cea6(_0x2739c3,_0x3f8952([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x3d67da in window)if(Number['isNaN'](Number(_0x3d67da))){if(window[_0x3d67da]===_0x2657d5)return _0x3f8952([0x74,0x69,0x6d,0x65]);if(window[_0x3d67da]===_0xd04536)return _0x3f8952([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]);}return!0x1;}function _0x5827a1(){if(!_0x25cea6(_0x2739c3,_0x3f8952([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x30abd9 in window)if(Number['isNaN'](Number(_0x30abd9))&&window[_0x30abd9]===_0xf6f97)return!0x0;return!0x1;}function _0x33be96(_0x6455b9,_0xc53513){_0x507e8d(),_0x4866f4(_0xc53513+_0x3f8952([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a])+_0x6455b9),window[_0x35f23e()]=_0x6455b9===_0x3f8952([0x74,0x69,0x6d,0x65])?_0x2657d5:_0xd04536;}function _0x4c051c(){let _0x3a2202=_0x39c11d[0x6]*_0x3ff809[0x8]*_0x3ff809[0x6];return _0x25cea6(_0x2739c3,_0x3f8952([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x3a2202/=0xa),_0x3a2202;}function _0x507e8d(){const _0x13ab7e=_0x2739c3;function _0x20e972(){_0x25cea6(_0x13ab7e,_0x3f8952([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&(_0x22a306(_0x13ab7e,_0x3f8952([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x3f8952([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x3f8952([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x22a306(_0x13ab7e,_0x3f8952([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x3f8952([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x22a306(_0x13ab7e,_0x3f8952([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x3f8952([0x75,0x70,0x64,0x61,0x74,0x65])]=_0xd2f8c1,_0x22a306(_0x13ab7e,_0x3f8952([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x3f8952([0x73,0x61,0x76,0x65,0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e])]=_0xd2f8c1,_0x13ab7e[_0x3f8952([0x6d,0x6f,0x64,0x65,0x6c])][_0x3f8952([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0xd2f8c1,_0x13ab7e[_0x3f8952([0x6d,0x6f,0x64,0x65,0x6c])][_0x3f8952([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0xd2f8c1,_0x13ab7e[_0x3f8952([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x3f8952([0x6d,0x6f,0x64,0x65,0x6c]))),_0x25cea6(_0x13ab7e,_0x3f8952([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x22a306(_0x13ab7e,_0x3f8952([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x3f8952([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x3f8952([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x22a306(_0x13ab7e,_0x3f8952([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x3f8952([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x22a306(_0x13ab7e,_0x3f8952([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x3f8952([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])]=_0xd2f8c1,_0x22a306(_0x13ab7e,_0x3f8952([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x3f8952([0x5f,0x67,0x65,0x74,0x44,0x69,0x66,0x66])]=_0xd2f8c1);}_0x13ab7e[_0x3f8952([0x73,0x74,0x61,0x74,0x65])]==_0x3f8952([0x72,0x65,0x61,0x64,0x79])?_0x20e972():_0x13ab7e[_0x3f8952([0x6f,0x6e,0x63,0x65])](_0x3f8952([0x72,0x65,0x61,0x64,0x79]),()=>{if(_0x25cea6(_0x13ab7e,_0x3f8952([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&_0x20e972(),_0x25cea6(_0x13ab7e,_0x3f8952([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))){const _0x5d3f0c=_0x22a306(_0x13ab7e,_0x3f8952([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79])),_0x1e4232=_0x5d3f0c['getRevision'](0x0),_0x15d29a=_0x5d3f0c['getEarlierVisibleRevision'](_0x1e4232[_0x3f8952([0x69,0x64])]);_0x22a306(_0x13ab7e,_0x3f8952([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x3f8952([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])](_0x1e4232[_0x3f8952([0x69,0x64])],_0x15d29a?_0x15d29a[_0x3f8952([0x69,0x64])]:null,0x1)['then'](()=>_0x20e972());}});}_0x482828(_0x3586bc(_0x187162,_0x172561),_0x172561);}function _0x2ef4d4(_0x54ffa1,_0x189bfa){try{return _0x1b95ed(_0x189bfa)?_0x4866f4(_0x189bfa[_0x3f8952([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3f8952([0x56,0x61,0x6c,0x69,0x64])):_0x54ffa1&&_0x1c5166(_0x54ffa1[_0x3f8952([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])],_0x189bfa)?_0x54ffa1[_0x3f8952([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]&&!window[_0x3f8952([0x6f,0x70,0x65,0x6e])][_0x3f8952([0x63,0x6c,0x6f,0x73,0x65,0x64])]||parseInt(_0x3424c5)/0x2>_0x54ffa1[_0x3f8952([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]?_0x4866f4(_0x189bfa[_0x3f8952([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3f8952([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])):_0x54ffa1[_0x3f8952([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]?_0x4866f4(_0x189bfa[_0x3f8952([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3f8952([0x54,0x72,0x69,0x61,0x6c])):_0x4866f4(_0x189bfa[_0x3f8952([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3f8952([0x56,0x61,0x6c,0x69,0x64])):_0x4866f4(_0x189bfa[_0x3f8952([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3f8952([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}catch(_0x885d5){return _0x4866f4(_0x189bfa[_0x3f8952([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3f8952([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x3ccc6c(_0x180ade,_0xca1681){if(_0x2739c3 instanceof _0x5a3725){const _0x49f64a=_0x2739c3;_0x180ade==_0xca1681[_0x3f8952([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3f8952([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x244e14(_0x49f64a):_0x180ade==_0xca1681[_0x3f8952([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3f8952([0x54,0x72,0x69,0x61,0x6c])&&window[_0x3f8952([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x244e14(_0x49f64a),_0x4866f4(_0xca1681[_0x3f8952([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3f8952([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65]));},_0x39c11d[0x6]*_0x3ff809[0x8]*_0x3ff809[0x6]),_0x49f64a[_0x3f8952([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])][_0x3f8952([0x6f,0x6e])](_0x3f8952([0x61,0x64,0x64]),(_0x284d80,_0x2c5599)=>{_0x180ade!=_0xca1681[_0x3f8952([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3f8952([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])&&_0x180ade!=_0xca1681[_0x3f8952([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3f8952([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65])&&_0x180ade!=_0xca1681[_0x3f8952([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3f8952([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])||_0x442712(_0x2c5599);});}else{const _0xd7e3da=_0x2739c3;_0x180ade==_0xca1681[_0x3f8952([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3f8952([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x442712(_0xd7e3da):_0x180ade==_0xca1681[_0x3f8952([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3f8952([0x54,0x72,0x69,0x61,0x6c])&&_0xd7e3da[_0x3f8952([0x6f,0x6e])](_0x3f8952([0x72,0x65,0x61,0x64,0x79]),()=>{let _0x24fc6d=0x0;_0xd7e3da[_0x3f8952([0x6d,0x6f,0x64,0x65,0x6c])][_0x3f8952([0x6f,0x6e])](_0x3f8952([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x1f8c63,_0x3f285c)=>{_0x3f285c[0x0][_0x3f8952([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x24fc6d++,0x1f8===_0x24fc6d&&(_0x442712(_0xd7e3da),_0x4866f4(_0xca1681[_0x3f8952([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3f8952([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])),_0x1f8c63[_0x3f8952([0x6f,0x66,0x66])]());},{'priority':_0x3f8952([0x68,0x69,0x67,0x68,0x65,0x73,0x74])});});}}function _0x4866f4(_0x3ff843){const _0x20d8f5=_0x35f23e();return _0x2739c3[_0x20d8f5]=_0x3ff843,_0x3ff843;}function _0x35f23e(){const _0x299a00=String(window[_0x3f8952([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x3f8952([0x6e,0x6f,0x77])]())[_0x3f8952([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x3f8952([0x2e]),'');let _0x5a3c9c='';for(let _0x42fafa=0x0;_0x42fafa<_0x299a00[_0x3f8952([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x42fafa+=0x2){let _0x558d35=parseInt(_0x299a00[_0x3f8952([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x42fafa,_0x42fafa+0x2));_0x558d35>=_0x303777[_0x3f8952([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x558d35-=_0x303777[_0x3f8952([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x5a3c9c+=_0x303777[_0x558d35];}return _0x5a3c9c;}function _0x244e14(_0xe7ce13){for(const _0x57e65e of _0xe7ce13[_0x3f8952([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])])_0x442712(_0x57e65e);_0x22a306(_0xe7ce13,_0x3f8952([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x3f8952([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])](!0x0),_0x22a306(_0xe7ce13,_0x3f8952([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x3f8952([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])]=_0xd2f8c1;}function _0x442712(_0x56b071){function _0x4da965(){_0x56b071[_0x3f8952([0x6d,0x6f,0x64,0x65,0x6c])][_0x3f8952([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0xd2f8c1,_0x56b071[_0x3f8952([0x6d,0x6f,0x64,0x65,0x6c])][_0x3f8952([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0xd2f8c1,_0x56b071[_0x3f8952([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x3f8952([0x6d,0x6f,0x64,0x65,0x6c]));}_0x56b071[_0x3f8952([0x73,0x74,0x61,0x74,0x65])]==_0x3f8952([0x72,0x65,0x61,0x64,0x79])?_0x4da965():_0x56b071[_0x3f8952([0x6f,0x6e,0x63,0x65])](_0x3f8952([0x72,0x65,0x61,0x64,0x79]),()=>_0x4da965());}function _0xd2f8c1(){return null;}function _0x1c5166(_0x33fc0f,_0x3dc254){const _0xe582a=!!(_0x33fc0f&_0x3dc254[_0x3f8952([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]),_0x46224f=_0x2c62ae(_0x33fc0f,_0x3dc254);return _0xe582a||_0x46224f;}function _0x2c62ae(_0x5dd6a9,_0x2f750e){const _0xf92bd7=(_0x2f750e[_0x3f8952([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{})[_0x3f8952([0x66,0x67,0x69])]||null;return!!_0xf92bd7&&_0x1cec14[_0x3f8952([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4717a3=>_0xf92bd7[_0x3f8952([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4717a3[_0x3f8952([0x69,0x64])]))[_0x3f8952([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3c9961=>!_0x1a57d5(_0x3c9961))[_0x3f8952([0x73,0x6f,0x6d,0x65])](_0x2ce108=>!!(_0x5dd6a9&_0x2ce108[_0x3f8952([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]));}function _0x1a57d5(_0x222daa){const _0x2a37bd={[_0x3f8952([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])]:_0x2cff79};return!!_0x222daa['forbiddenHandler']&&_0x2a37bd[_0x222daa['forbiddenHandler']]();}function _0x2cff79(){return!window[_0x3f8952([0x44,0x72,0x75,0x70,0x61,0x6c])]||!_0x25cea6(_0x2739c3,_0x3f8952([0x64,0x72,0x75,0x70,0x61,0x6c,0x50,0x6f,0x77,0x65,0x72,0x65,0x64,0x42,0x79]));}function _0x1b95ed(_0x963c60){if(!_0x25cea6(_0x2739c3,_0x963c60[_0x3f8952([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))return!0x0;const _0x17332e=_0x963c60[_0x3f8952([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{},_0x511888=_0x17332e[_0x3f8952([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]||!0x1,_0x5007a0=_0x17332e[_0x3f8952([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]||!0x1,_0x52a5e1=_0x17332e[_0x3f8952([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]||!0x1;if(_0x25cea6(_0x2739c3,_0x3f8952([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x22a306(_0x2739c3,_0x3f8952([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x3f8952([0x73,0x74,0x61,0x74,0x65])]==_0x3f8952([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&_0x511888)return!0x0;if(_0x25cea6(_0x2739c3,_0x3f8952([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))&&_0x22a306(_0x2739c3,_0x3f8952([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))[_0x3f8952([0x72,0x65,0x73,0x75,0x6c,0x74])]==_0x3f8952([0x65,0x6e,0x64])&&_0x5007a0)return!0x0;return!(!_0x25cea6(_0x2739c3,_0x3f8952([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]))||_0x22a306(_0x2739c3,_0x3f8952([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]))[_0x3f8952([0x72,0x65,0x73,0x75,0x6c,0x74])]!=_0x3f8952([0x65,0x6e,0x64])||!_0x52a5e1);}function _0x25cea6(_0x6e4124,_0x268691){return _0x6e4124[_0x3f8952([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x3f8952([0x68,0x61,0x73])](_0x268691);}function _0x22a306(_0x224533,_0x34257b){return _0x224533[_0x3f8952([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x3f8952([0x67,0x65,0x74])](_0x34257b);}function _0x4a612b(_0x447b36){let _0xde896d='';for(const _0x17d2c2 of _0x447b36)_0xde896d+=String[_0x3f8952([0x66,0x72,0x6f,0x6d,0x43,0x68,0x61,0x72,0x43,0x6f,0x64,0x65])](_0x17d2c2);return _0xde896d;}function _0x437668(_0x220f80){const _0x1b0a97=new Uint8Array(_0x220f80[_0x3f8952([0x6c,0x65,0x6e,0x67,0x74,0x68])]);for(let _0x28e1d3=0x0;_0x28e1d3<_0x220f80[_0x3f8952([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x28e1d3++)_0x1b0a97[_0x28e1d3]=_0x220f80[_0x3f8952([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x28e1d3);return _0x1b0a97;}_0x1da33f&&_0x3431d5(_0x3f2891(_0x18b453),_0x1da33f);})(_0x17c311);}(this);}['createRevision'](_0x5ef214){const _0x526d0f=this['editor']['plugins']['get']('Users');return new a({'id':_0x5ef214['id'],'name':_0x5ef214['name'],'creator':_0x5ef214['creatorId']?_0x526d0f['getUser'](_0x5ef214['creatorId']):null,'diffData':_0x5ef214['diffData']||_0x5ef214['data'],'authors':_0x5ef214['authorsIds']['map'](_0x309cd7=>_0x526d0f['getUser'](_0x309cd7)),'createdAt':new Date(_0x5ef214['createdAt']),'attributes':_0x5ef214['attributes'],'fromVersion':_0x5ef214['fromVersion'],'toVersion':_0x5ef214['toVersion']});}['addRevision'](_0x4e30ac,_0x2a7aea=0x0){this['_revisions']['add'](_0x4e30ac,_0x2a7aea);}['getRevision'](_0x2caae5){return this['_revisions']['get'](_0x2caae5);}['getRevisions'](_0x2570a4={'toJSON':!0x1}){const _0x134a4c=Array['from'](this['_revisions']);return _0x134a4c['reverse'](),_0x2570a4['toJSON']?_0x134a4c['map'](_0x3775e9=>_0x3775e9['toJSON']()):_0x134a4c;}['getIndex'](_0x5ef6cb){return this['_revisions']['getIndex'](_0x5ef6cb);}['getEarlierVisibleRevision'](_0x2976af){const [,_0x1ef1da]=this['getRevisionsIterator'](_0x2976af,{'direction':'earlier'});return _0x1ef1da;}['getLaterVisibleRevision'](_0x560cbb){const [,_0x3ef141]=this['getRevisionsIterator'](_0x560cbb,{'direction':'later'});return _0x3ef141;}['getRevisionsInDiff'](_0x359ef2){const _0x2188ef=[];for(const _0x305e9c of this['getRevisionsIterator'](_0x359ef2['newRevisionId']))if(_0x2188ef['push'](_0x305e9c),_0x305e9c['id']===_0x359ef2['oldRevisionId'])break;return _0x2188ef;}*['getRevisionsIterator'](_0xeb61cf,{direction:_0x3e39ff='earlier',filter:_0x2d875c=()=>!0x0}={}){const _0x432fae='earlier'===_0x3e39ff?0x1:-0x1;let _0x1632bc=this['_revisions']['get'](_0xeb61cf),_0x1a201b=this['getIndex'](_0x1632bc);for(yield _0x1632bc;_0x1632bc;){if(_0x1a201b+=_0x432fae,_0x1632bc=this['getRevision'](_0x1a201b),!_0x1632bc)return;_0x2d875c(_0x1632bc)&&(yield _0x1632bc);}}}function y(_0x255962,_0x195a4e,_0x4d95a9){const t=_0x255962['t'];switch(_0x195a4e){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'},_0x4d95a9);case'X_OF_Y_CHANGES':return t({'string':'%0\x20of\x20%1','id':'X_OF_Y_CHANGES'},_0x4d95a9);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':_0x15699c,'a':_0x52cd38,'e':_0x37f203,'r':_0x71ebbe,'u':_0x4781b5};class l extends _0x26b929{['adapter'];['currentRevision'];['repository'];['_revisionDataBuilder'];['_source'];['_initialRevisionId'];['_bufferedUpdates'];['_pendingAction'];['_continueCurrentRevision'];['_startingVersion'];['_loadedStateData'];static get['pluginName'](){return'RevisionTracker';}static get['requires'](){return[_0x59f4ae,A,_0x9a2eb1];}constructor(_0x3164e7){super(_0x3164e7),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 _0x58a439=_0x19b58f();this['_source']={'history':this['editor']['model']['document']['history'],'getLatestVersion':()=>Promise['resolve'](this['editor']['model']['document']['version']),'getCurrentRevisionId':()=>_0x58a439},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 _0x2df0d4=this['repository']['getRevision'](0x0),_0x4b08fa=_0x2df0d4&&null===_0x2df0d4['creator']?_0x2df0d4:null;if(this['_continueCurrentRevision']=!!_0x4b08fa&&this['editor']['config']['get']('revisionHistory.resumeUnsavedRevision'),this['editor']['plugins']['has']('RealTimeCollaborationClient')){const _0x218d42=this['_source']['getCurrentRevisionId'](),_0x714c9a=this['repository']['getRevision'](_0x218d42);if(_0x714c9a)this['_startingVersion']=_0x714c9a['fromVersion'],this['_continueCurrentRevision']=!0x1;else{const _0x56a716=this['_source']['history']['_operations']['find'](_0xeabb5f=>!_0xeabb5f['_isInit']),_0x38e351=_0x56a716?_0x56a716['baseVersion']:this['_source']['history']['version'];_0x2df0d4?(_0x2df0d4['toVersion']<_0x38e351&&_0x2df0d4['_update']({'toVersion':_0x38e351}),this['_continueCurrentRevision']?(this['_source']['getCurrentRevisionId']=()=>_0x4b08fa['id'],this['_startingVersion']=_0x4b08fa['fromVersion']):(this['_startingVersion']=_0x2df0d4['toVersion'],this['_continueCurrentRevision']=!0x1)):(this['_startingVersion']=_0x38e351,this['_continueCurrentRevision']=!0x1);}}else _0x4b08fa&&(this['editor']['model']['document']['history']['version']=Math['max'](_0x4b08fa['toVersion'],this['editor']['model']['document']['history']['version']),_0x4b08fa['fromVersion']===_0x4b08fa['toVersion']?(0x0!==_0x4b08fa['fromVersion']&&(this['_source']['getCurrentRevisionId']=()=>_0x4b08fa['id']),this['_continueCurrentRevision']=!0x1):this['_continueCurrentRevision']&&(this['_source']['getCurrentRevisionId']=()=>_0x4b08fa['id'],this['_startingVersion']=_0x4b08fa['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',_0x2e8a1a=>!_0x2e8a1a);}async['afterInit'](){if(this['repository']['length']>0x0){const _0x3a96ae=this['repository']['getRevision'](0x0),_0x40753b=await this['getRevisionDocumentData'](_0x3a96ae),_0x2dc19f=await this['getRevisionRootsAttributes'](_0x3a96ae);this['_replaceEditorDataWithRevisionData'](_0x40753b,_0x2dc19f);}}['setSource'](_0x7ec683){this['_source']=_0x7ec683;}async['update'](){const _0x275020=await this['_source']['getLatestVersion']();if(_0x275020>this['currentRevision']['toVersion']){await this['_loadState']();const _0xa3f817=this['buildRevisionData']({'revision':this['currentRevision'],'to':_0x275020});_0xa3f817['authors']=_0xa3f817['authorsIds']['map'](_0x482a83=>this['editor']['plugins']['get']('Users')['getUser'](_0x482a83)),this['currentRevision']['_update'](_0xa3f817);}}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'](_0x7d6b5a={},_0x9357e6=null){const _0x16e8b0=[];await this['_loadState'](),this['_continueCurrentRevision']=!0x1,_0x9357e6>this['currentRevision']['toVersion']&&(_0x9357e6=null),null===_0x9357e6&&(_0x9357e6=await this['_source']['getLatestVersion']());const _0x230071=this['_getFromVersion'](_0x9357e6),_0x7ccc89=this['buildRevisionData']({'from':_0x230071,'to':_0x9357e6});if(this['currentRevision']['toVersion']<_0x9357e6){const _0x596387=this['buildRevisionData']({'revision':this['currentRevision'],'from':_0x9357e6,'to':_0x9357e6});_0x596387['authors']=[],_0x596387['authorsIds']=[],_0x596387['id']=this['currentRevision']['id'],this['currentRevision']['_update'](_0x596387,!0x0),delete _0x596387['authors'],_0x16e8b0['push'](_0x596387);}_0x7d6b5a['creatorId']=this['editor']['plugins']['get']('Users')['me']['id'],_0x7d6b5a['name']=_0x7d6b5a['name']||null,_0x7d6b5a['id']=_0x7d6b5a['id']||_0x19b58f(),_0x7d6b5a={..._0x7d6b5a,..._0x7ccc89};const _0x442995=this['addRevisionData'](_0x7d6b5a);_0x16e8b0['push'](_0x7d6b5a);const _0x2fee03=this['repository']['getIndex'](_0x442995);if(0x0!==_0x2fee03){const _0x56a073=this['repository']['getRevision'](_0x2fee03-0x1);if(_0x56a073['fromVersion']!==_0x9357e6){const _0x41e0f9=this['_revisionDataBuilder']['getData'](_0x9357e6,_0x56a073['toVersion']),_0x3207b9={'id':_0x56a073['id'],'diffData':_0x41e0f9['diffData'],'authorsIds':_0x41e0f9['authorsIds'],'authors':_0x41e0f9['authorsIds']['map'](_0x4a7a19=>this['editor']['plugins']['get']('Users')['getUser'](_0x4a7a19)),'fromVersion':_0x9357e6};_0x56a073===this['currentRevision']&&(_0x3207b9['createdAt']=new Date(_0x7d6b5a['createdAt']['getTime']()+0xa)),_0x56a073['_update'](_0x3207b9,!0x0),delete _0x3207b9['authors'],_0x16e8b0['push'](_0x3207b9);}}if(this['adapter']){for(const _0x5c09d1 of _0x16e8b0)this['_bufferUpdate'](_0x5c09d1['id'],_0x5c09d1,!0x0);this['sendBufferedUpdates']();}return _0x442995;}['addRevisionData'](_0x94b03a){const _0xe081f=this['repository']['createRevision'](_0x94b03a);return this['adapter']&&_0xe081f['on']('_update',(_0xbf4c99,_0xbbac7,_0xe65e8)=>{_0xe65e8||(this['_bufferUpdate'](_0xbbac7['id'],_0xbbac7,!0x0),this['sendBufferedUpdates']());}),this['repository']['addRevision'](_0xe081f,this['_findInsertionIndex'](_0xe081f)),_0xe081f;}async['getRevisionDocumentData'](_0x442278){await this['_loadRevisionData'](_0x442278);const _0x44282a={};for(const _0x93b71c in _0x442278['diffData']){if(_0x442278['diffData'][_0x93b71c]['attachChange']&&!_0x442278['diffData'][_0x93b71c]['attachChange']['isAttached'])continue;const _0xcbfee1=this['_removeRevisionMarkers'](JSON['parse'](_0x442278['diffData'][_0x93b71c]['insertions'])),_0x396a8e=this['editor']['editing']['view']['document'],_0x294962=new _0x33efc2(_0x396a8e,_0xcbfee1['map'](_0x1237e0=>B(_0x1237e0,this['editor'])));this['editor']['data']['processor']['useFillerType']('marked'),_0x44282a[_0x93b71c]=this['editor']['data']['processor']['toData'](_0x294962),this['editor']['data']['processor']['useFillerType']('default');}return _0x44282a;}async['getRevisionRootsAttributes'](_0x4934c4){await this['_loadRevisionData'](_0x4934c4);const _0xbe0023={};for(const _0x480052 in _0x4934c4['diffData'])_0x4934c4['diffData'][_0x480052]['attachChange']&&!_0x4934c4['diffData'][_0x480052]['attachChange']['isAttached']||(_0xbe0023[_0x480052]=_0x4934c4['diffData'][_0x480052]['attributesAfter']||{});return _0xbe0023;}['sendBufferedUpdates'](){if(0x0===this['_bufferedUpdates']['size'])return;if(this['_isPendingUpdate'])return;let _0x4a5a73=Array['from'](this['_bufferedUpdates']['values']());this['_bufferedUpdates']['clear']();for(let _0x3c54ee=0x0;_0x3c54ee<_0x4a5a73['length'];_0x3c54ee++){const _0x3284b5=_0x4a5a73[_0x3c54ee];let _0x2cfc7f=!0x1;for(const _0x4de6fa of Object['keys'](_0x3284b5))void 0x0===_0x3284b5[_0x4de6fa]?delete _0x3284b5[_0x4de6fa]:'id'!==_0x4de6fa&&(_0x2cfc7f=!0x0);_0x2cfc7f||(_0x4a5a73[_0x3c54ee]=null);}if(_0x4a5a73=_0x4a5a73['filter'](_0x5a89c2=>null!==_0x5a89c2),!_0x4a5a73['length'])return;for(let _0x544332=0x0;_0x544332<_0x4a5a73['length'];_0x544332++){const _0x189b6d=_0x4a5a73[_0x544332];void 0x0!==_0x189b6d['fromVersion']&&void 0x0===_0x189b6d['toVersion']&&(_0x189b6d['toVersion']=this['repository']['getRevision'](_0x189b6d['id'])['toVersion']),void 0x0!==_0x189b6d['toVersion']&&void 0x0===_0x189b6d['fromVersion']&&(_0x189b6d['fromVersion']=this['repository']['getRevision'](_0x189b6d['id'])['fromVersion']);}const _0x159b3a=this['editor']['config']['get']('collaboration.channelId');this['_isPendingUpdate']=!0x0,this['_addPendingAction'](),this['adapter']['updateRevisions'](_0x4a5a73,_0x159b3a)['finally'](()=>{this['_isPendingUpdate']=!0x1;})['then'](_0x5babcb=>{if(_0x5babcb){for(const _0xf58e59 of _0x5babcb)this['setRevisionData']({'id':_0xf58e59['id'],'createdAt':_0xf58e59['createdAt']});}this['_removePendingAction'](),this['sendBufferedUpdates']();});}['_replaceEditorDataWithRevisionData'](_0x672152,_0x5d784c){let _0x13e86a=this['editor']['config']['get']('initialData'),_0x49b3a8=this['editor']['config']['get']('rootsAttributes');if(void 0x0===_0x13e86a){_0x13e86a={};for(const _0x57e3c8 of this['editor']['model']['document']['getRootNames']())_0x13e86a[_0x57e3c8]='';}if('string'==typeof _0x13e86a&&(_0x13e86a={'main':_0x13e86a}),void 0x0===_0x49b3a8){_0x49b3a8={};for(const _0x577646 of this['editor']['model']['document']['getRootNames']())_0x49b3a8[_0x577646]={};}let _0x87f50d=!0x1;const _0x172601=Object['keys'](_0x13e86a),_0x17561a=Object['keys'](_0x672152);for(const _0x5d6f36 of _0x172601){if(_0x13e86a[_0x5d6f36]!==_0x672152[_0x5d6f36]&&''!==_0x13e86a[_0x5d6f36]['trim']()){_0x87f50d=!0x0;break;}if(!_0x2d4cf5(_0x49b3a8[_0x5d6f36],_0x5d784c[_0x5d6f36])&&Object['keys'](_0x49b3a8[_0x5d6f36])['length']>0x0){_0x87f50d=!0x0;break;}}_0x87f50d||(_0x87f50d=_0x17561a['some'](_0x39f41e=>!this['editor']['model']['document']['getRoot'](_0x39f41e))),_0x87f50d&&_0x262c92('editor-initial-data-replaced-with-revision-data',{'editorData':_0x13e86a,'editorRootsAttributes':_0x49b3a8,'revisionData':_0x672152,'revisionRootsAttributes':_0x5d784c}),this['editor']['config']['set']('initialData',_0x672152),this['editor']['config']['set']('rootsAttributes',_0x5d784c);}['_addPendingAction'](){if(!this['_pendingAction']){const _0x5df403=this['editor']['plugins']['get']('PendingActions');this['_pendingAction']=_0x5df403['add'](y(this['editor']['locale'],'PENDING_ACTION_REVISION_HISTORY'));}}['_removePendingAction'](){this['_pendingAction']&&(this['editor']['plugins']['get']('PendingActions')['remove'](this['_pendingAction']),this['_pendingAction']=null);}['_findInsertionIndex'](_0x59ceb2){const _0x1678cd=this['repository']['getRevisions']();_0x1678cd['reverse']();let _0x1e5ca8=0x0;for(;_0x1e5ca8<_0x1678cd['length'];){const _0x40b768=_0x1678cd[_0x1e5ca8];if(_0x40b768===this['currentRevision']){_0x1e5ca8++;continue;}if(_0x40b768['id']===this['_initialRevisionId'])break;const _0x35cc40=_0x59ceb2['toVersion']-_0x40b768['toVersion']||_0x59ceb2['fromVersion']-_0x40b768['fromVersion'];if(_0x35cc40>0x0)break;if(_0x35cc40<0x0)_0x1e5ca8++;else{if(!_0x59ceb2['creator']&&_0x40b768['creator'])break;if(_0x40b768['creator']||!_0x59ceb2['creator']){if(_0x59ceb2['createdAt']>_0x40b768['createdAt'])break;_0x1e5ca8++;}else _0x1e5ca8++;}}return _0x1e5ca8;}['setRevisionData'](_0x2f216f){const _0x268f87=this['repository']['getRevision'](_0x2f216f['id']);if(_0x2f216f['createdAt']&&(_0x2f216f['createdAt']=new Date(_0x2f216f['createdAt'])),_0x2f216f['authorsIds']){const _0xff9ad=this['editor']['plugins']['get']('Users');_0x2f216f['authors']=_0x2f216f['authorsIds']['map'](_0x207192=>_0xff9ad['getUser'](_0x207192));}_0x268f87['_update'](_0x2f216f,!0x0);}['buildRevisionData']({revision:_0x2d6da1=null,from:_0x205a23=null,to:_0x90089a=null}){_0x205a23=null!==_0x205a23?_0x205a23:_0x2d6da1['fromVersion'],_0x90089a=null!==_0x90089a?_0x90089a:_0x2d6da1['toVersion'];const _0x1fbc0b=this['_revisionDataBuilder']['getData'](_0x205a23,_0x90089a),_0x598352={'diffData':_0x1fbc0b['diffData'],'authorsIds':_0x1fbc0b['authorsIds'],'fromVersion':_0x205a23,'toVersion':_0x90089a};if(!_0x2d6da1||_0x90089a!==_0x2d6da1['toVersion']){const _0x4af70d=_0x90089a-0x1,_0xa13496=this['_source']['history']['getOperation'](_0x4af70d);_0x598352['createdAt']=_0xa13496&&_0xa13496['createdAt']||new Date();}if(this['_loadedStateData']&&_0x205a23===this['_loadedStateData']['fromVersion']){for(const _0x440ae5 of this['_loadedStateData']['authors'])_0x598352['authorsIds']['includes'](_0x440ae5['id'])||_0x598352['authorsIds']['push'](_0x440ae5['id']);}return _0x598352;}['_loadRevisionData'](_0x5bfa68){if(!_0x5bfa68||_0x5bfa68['diffData'])return Promise['resolve']();{const _0xf66941=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0xf66941,'revisionId':_0x5bfa68['id']})['then'](_0x4862c8=>{_0x5bfa68['diffData']=_0x4862c8['diffData'];});}}['_bufferUpdate'](_0x47d007,_0x453d7b,_0x343c8f){if(this['_bufferedUpdates']['has'](_0x47d007)){const _0x9baae6=this['_bufferedUpdates']['get'](_0x47d007);_0x453d7b=_0x343c8f?{..._0x9baae6,..._0x453d7b}:{..._0x453d7b,..._0x9baae6};}this['_bufferedUpdates']['set'](_0x47d007,_0x453d7b);}['_getFromVersion'](_0x4bc46d){const _0x270185=this['repository']['getRevisions']();_0x270185['reverse'](),_0x270185['shift']();const _0x21f46c=_0x270185['find'](_0x49da3b=>_0x49da3b['toVersion']<=_0x4bc46d)['toVersion'];return _0x21f46c<this['_startingVersion']?this['_startingVersion']:_0x21f46c;}['_createInitialRevision'](_0x358c8b){const _0x37b719=this['repository']['getRevision'](this['repository']['length']-0x1);if(_0x37b719)this['_initialRevisionId']=_0x37b719['id'];else{const _0x47a628=!this['editor']['model']['document']['roots']['find'](_0x5c7cf7=>this['editor']['model']['hasContent'](_0x5c7cf7)),_0x2b3b0f=this['editor']['plugins']['get']('Users')['me']['id'],_0x4efc14=y(this['editor']['locale'],_0x47a628?'Empty\x20document':'Initial\x20revision');this['_makeRevision']({'from':_0x358c8b,'to':_0x358c8b,'id':this['_initialRevisionId'],'name':_0x4efc14,'creatorId':_0x2b3b0f});}}['_createCurrentRevision'](_0x20e94d){const _0x30e26c=this['_source']['getCurrentRevisionId']();this['currentRevision']=this['repository']['getRevision'](_0x30e26c),this['currentRevision']||(this['currentRevision']=this['_makeRevision']({'from':_0x20e94d,'to':_0x20e94d,'id':_0x30e26c,'name':'','creatorId':null}));}['_makeRevision']({name:_0x5ec889,from:_0x4bfa25,to:_0x332930,creatorId:_0x28fefb,id:_0x30866b}){const _0x2150a2=this['buildRevisionData']({'from':_0x4bfa25,'to':_0x332930});_0x2150a2['name']=_0x5ec889,_0x2150a2['creatorId']=_0x28fefb,_0x2150a2['id']=_0x30866b;const _0x365ad4=this['addRevisionData'](_0x2150a2);return this['adapter']&&this['_bufferUpdate'](_0x2150a2['id'],_0x2150a2,!0x0),_0x365ad4;}['_setConversion'](){this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'});}['_removeRevisionMarkers'](_0x5d9fef){return(_0x5d9fef=_0x5d9fef['filter'](_0x48f4e7=>!_0x48f4e7['name']||'revision-start'!==_0x48f4e7['name']&&'revision-end'!==_0x48f4e7['name']))['forEach'](_0x43a1d4=>{'string'!=typeof _0x43a1d4&&(_0x43a1d4['children']=this['_removeRevisionMarkers'](_0x43a1d4['children']),_0x43a1d4['attributes']=_0x43a1d4['attributes']['filter'](_0x386eff=>!_0x386eff[0x0]['startsWith']('data-revision-')));}),_0x5d9fef;}}function B(_0x307fc8,_0x54efbc){const _0x193c11=_0x54efbc['editing']['view']['document'];if('string'==typeof _0x307fc8)return new _0x373200(_0x193c11,_0x307fc8);{const _0x209d0f=_0x307fc8['children']['map'](_0x157737=>B(_0x157737,_0x54efbc));return new(T[_0x307fc8['type']]||_0xd46171)(_0x193c11,_0x307fc8['name'],_0x307fc8['attributes'],_0x209d0f);}}class J{['editor'];['source'];['_savedMetaData'];['_lastFrom'];['_lastTo'];['_markers'];['_diffRoots'];['_diffRootsAttributes'];['_baseRoots'];['_baseRootsAttributes'];['_idsRoots'];['_baseIdsRoots'];['_touched'];['_touchedMarkers'];['_touchedRoots'];['_revisionId'];['_startingRevisionId'];constructor(_0xea37cb){this['editor']=_0xea37cb,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'](_0x4022e5){this['source']=_0x4022e5;const _0x528d2d=new Map(),_0x55a53b=new Map(),_0x52754a=this['editor']['model']['document']['roots']['map'](_0x4c0680=>_0x4c0680['rootName']);for(const _0x26e8c4 of _0x52754a){const _0x59a6b3=this['editor']['model']['document']['getRoot'](_0x26e8c4),_0xdd8b8a=q(_0x59a6b3);_0x528d2d['set'](_0x26e8c4,_0xdd8b8a),_0x55a53b['set'](_0x26e8c4,Object['fromEntries'](_0x59a6b3['getAttributes']()));}const _0xafd883=Array['from'](this['editor']['model']['markers'])['map'](_0x152227=>[_0x152227['name'],_0x152227['getRange']()]),_0x373ec9=this['source']['version'];this['_saveMetaData'](_0x373ec9,_0x528d2d,_0xafd883,_0x55a53b),this['_startingRevisionId']=this['_revisionId'];const _0x41a277=new Map(),_0xf6edff=new Map();for(const _0x5c7a2a of _0x52754a){const _0x814e1b=G(_0x5c7a2a);_0x41a277['set'](_0x5c7a2a,_0x814e1b),_0xf6edff['set'](_0x5c7a2a,{});}this['_saveMetaData'](Number['NEGATIVE_INFINITY'],_0x41a277,[],_0xf6edff);}['getData'](_0x540803,_0x107666){if(this['_lastFrom']===_0x540803&&this['_lastTo']<=_0x107666)this['_savedMetaData']['size']>0x1&&this['_removeMetaData'](this['_lastTo']),this['_applyOperations'](this['_lastTo'],_0x107666,!0x0);else{if(!this['_savedMetaData']['has'](_0x540803)){const _0x4872b8=this['_getPreviousFrom'](_0x540803);this['_calculateMetaData'](_0x4872b8,_0x540803,!0x1);}this['_calculateMetaData'](_0x540803,_0x107666,!0x0);}return this['_lastFrom']=_0x540803,this['_lastTo']=_0x107666,this['_getState']();}['loadState'](_0x566ed1){this['_reset'](),this['_lastFrom']=_0x566ed1['fromVersion'],this['_lastTo']=_0x566ed1['toVersion'];for(const _0x5cbc71 in _0x566ed1['diffData']){const _0x597ea9=_0x566ed1['diffData'][_0x5cbc71]['attachChange'],_0x2dd0ae=_0x2cba02(_0x566ed1['diffData'][_0x5cbc71]['attributesBefore'])||{},_0xb00c13=this['_makeModelFromViewString'](_0x566ed1['diffData'][_0x5cbc71]['deletions']);_0xb00c13['rootName']=_0x5cbc71,_0xb00c13['_isAttached']=!_0x597ea9||!_0x597ea9['isAttached'],_0xb00c13['isAttached']=()=>_0xb00c13['_isAttached'],this['_baseRoots']['set'](_0x5cbc71,_0xb00c13),this['_baseRootsAttributes']['set'](_0x5cbc71,_0x2dd0ae),_0x597ea9&&this['_touchedRoots']['set'](_0x5cbc71,_0x597ea9);const _0x1c10b5=this['_makeIdsRoot'](_0xb00c13);this['_baseIdsRoots']['set'](_0x5cbc71,_0x1c10b5);for(const [_0x1b7076,_0x5bd125]of _0xb00c13['markers']){if(!_0x1b7076['startsWith']('revision:'))continue;const _0x44f148=_0x1b7076['split'](':')[0x2];for(const _0x527bab of _0x5bd125['getWalker']({'singleCharacters':!0x0})){const _0x1f9070=this['_getVidAttributeName'](_0x527bab),_0xc7011c='elementEnd'==_0x527bab['type']?_0x527bab['previousPosition']['path']['slice'](0x0,-0x1):_0x527bab['previousPosition']['path'],_0x173c6f=_0x1c10b5['getNodeByPath'](_0xc7011c)['getAttribute'](_0x1f9070);this['_touched']['set'](_0x173c6f,{'userId':_0x44f148});}}}this['_startingRevisionId']=this['_revisionId'];const _0x19db83=[...Array(this['_revisionId'])['keys']()]['slice'](0x1)['filter'](_0x5ee83f=>!this['_touched']['has'](_0x5ee83f));let _0x10c406=0x0;const _0x2dccf7=new Map();for(const _0x5a302e in _0x566ed1['diffData']){const _0x34a01d=_0x566ed1['diffData'][_0x5a302e]['attachChange'],_0xa18255=_0x2cba02(_0x566ed1['diffData'][_0x5a302e]['attributesAfter'])||{},_0x5aad16=this['_makeModelFromViewString'](_0x566ed1['diffData'][_0x5a302e]['insertions']);_0x5aad16['rootName']=_0x5a302e,_0x5aad16['_isAttached']=!_0x34a01d||_0x34a01d['isAttached'],_0x5aad16['isAttached']=()=>_0x5aad16['_isAttached'],this['_diffRoots']['set'](_0x5a302e,_0x5aad16),this['_diffRootsAttributes']['set'](_0x5a302e,_0xa18255);const _0xc8168c=this['_makeIdsRoot'](_0x5aad16,Number['NEGATIVE_INFINITY']);this['_idsRoots']['set'](_0x5a302e,_0xc8168c),_0x2dccf7['set'](_0x5a302e,_0x5aad16['isAttached']()?_0xa18255:{});for(const [_0x3453ae,_0x441730]of _0x5aad16['markers']){if(!_0x3453ae['startsWith']('revision:'))continue;const _0x56ba52=_0x3453ae['split'](':')[0x2];for(const _0x4376b4 of _0x441730['getWalker']({'singleCharacters':!0x0})){const _0x5ac454=this['_getVidAttributeName'](_0x4376b4),_0x38798b=this['_revisionId']++,_0x5b9d28='elementEnd'==_0x4376b4['type']?_0x4376b4['previousPosition']['path']['slice'](0x0,-0x1):_0x4376b4['previousPosition']['path'];_0xc8168c['getNodeByPath'](_0x5b9d28)['_setAttribute'](_0x5ac454,_0x38798b),this['_touched']['set'](_0x38798b,{'userId':_0x56ba52});}}for(const _0x464f97 of this['editor']['model']['createRangeIn'](_0x5aad16)['getWalker']({'singleCharacters':!0x0})){const _0x4c05be=this['_getVidAttributeName'](_0x464f97),_0x2d7da2='elementEnd'==_0x464f97['type']?_0x464f97['previousPosition']['path']['slice'](0x0,-0x1):_0x464f97['previousPosition']['path'],_0x5bd793=_0xc8168c['getNodeByPath'](_0x2d7da2);_0x5bd793['getAttribute'](_0x4c05be)>0x0||_0x5bd793['_setAttribute'](_0x4c05be,_0x19db83[_0x10c406++]);}for(const [_0x1ce5f2,_0xa847cc]of _0x5aad16['markers'])_0x1ce5f2['startsWith']('revision:')||this['_markers']['set'](_0x1ce5f2,_0xa847cc);}const _0x2c2606=G('$graveyard');this['_baseRoots']['set']('$graveyard',_0x2c2606),this['_baseIdsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x2c2606,0x1));const _0x268469=G('$graveyard');this['_diffRoots']['set']('$graveyard',_0x268469),this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x268469,0x1));const _0x5da813=Array['from'](this['_diffRoots'])['map'](([_0x2372c1,_0x2ea0a9])=>[_0x2372c1,q(_0x2ea0a9)]);this['_saveMetaData'](this['_lastTo'],_0x5da813,this['_markers'],_0x2dccf7);}['_makeModelFromViewString'](_0x5da005){const _0x4861d4=JSON['parse'](_0x5da005),_0x47996b=this['editor']['editing']['view']['document'],_0x270d7b=new _0x33efc2(_0x47996b,_0x4861d4['map'](_0x5dcff7=>B(_0x5dcff7,this['editor'])));return this['editor']['data']['toModel'](_0x270d7b);}['_saveMetaData'](_0x5b50ea,_0x222952,_0x2f2720,_0x5d5a32){const _0x234c17=new Map(_0x222952),_0x18bbd9=new Map(_0x2cba02(_0x5d5a32)),_0x172eb5=new Map();for(const [_0x494956,_0x9f28a7]of _0x2f2720)_0x172eb5['set'](_0x494956,{'start':_0x9f28a7['start']['clone'](),'end':_0x9f28a7['end']['clone'](),'rootName':_0x9f28a7['root']['rootName']});this['_savedMetaData']['set'](_0x5b50ea,{'roots':_0x234c17,'markers':_0x172eb5,'rootsAttributes':_0x18bbd9});}['_removeMetaData'](_0x3021ac){this['_savedMetaData']['delete'](_0x3021ac);}['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'](_0x8322b3,_0x51b5f1=null){let _0x4e7e27=null;_0x8322b3['is']('documentFragment')||(_0x4e7e27=new ft(_0x8322b3['name'],{'vid_start':null===_0x51b5f1?this['_revisionId']++:_0x51b5f1++}));const _0x12f3a6=[];for(const _0x1c11c6 of _0x8322b3['getChildren']())if(_0x1c11c6['is']('element')){_0x12f3a6['push'](this['_makeIdsRoot'](_0x1c11c6,_0x51b5f1));const _0xdb3ea2=_0x12f3a6[_0x12f3a6['length']-0x1];null!==_0x51b5f1&&(_0x51b5f1=_0xdb3ea2['is']('element','$text')?_0xdb3ea2['getAttribute']('vid')+0x1:_0xdb3ea2['getAttribute']('vid_end')+0x1);}else{for(let _0x5f26c6=0x0;_0x5f26c6<_0x1c11c6['offsetSize'];_0x5f26c6++)_0x12f3a6['push'](new ft('$text',{'vid':null===_0x51b5f1?this['_revisionId']++:_0x51b5f1++}));}if(_0x8322b3['is']('documentFragment')){const _0x51d1ab=G(_0x8322b3['rootName']);return _0x51d1ab['_insertChild'](0x0,_0x12f3a6),_0x51d1ab;}return _0x4e7e27['_setAttribute']('vid_end',null===_0x51b5f1?this['_revisionId']++:_0x51b5f1++),_0x4e7e27['_insertChild'](0x0,_0x12f3a6),_0x4e7e27;}['_calculateMetaData'](_0x5cb534,_0x4f7f50,_0xcf83c8){this['_reset']();const {roots:_0x3a70ff,markers:_0x4f3c57,rootsAttributes:_0x523831}=this['_savedMetaData']['get'](_0x5cb534);this['_baseRoots']=new Map(_0x3a70ff),this['_baseRootsAttributes']=new Map(_0x2cba02(_0x523831));for(const [_0x5715ca,_0x3c8ab6]of this['_baseRoots'])if('$graveyard'!==_0x5715ca&&(this['_diffRoots']['set'](_0x5715ca,q(_0x3c8ab6)),this['_diffRootsAttributes']=new Map(_0x2cba02(_0x523831)),_0xcf83c8)){const _0x137128=this['_revisionId'];this['_idsRoots']['set'](_0x5715ca,this['_makeIdsRoot'](_0x3c8ab6)),this['_baseIdsRoots']['set'](_0x5715ca,this['_makeIdsRoot'](_0x3c8ab6,_0x137128));}this['_startingRevisionId']=this['_revisionId'],this['_diffRoots']['set']('$graveyard',q(this['_baseRoots']['get']('$graveyard'))),_0xcf83c8&&this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](this['_baseRoots']['get']('$graveyard')));for(const [_0x490d6e,_0x3fb10b]of _0x4f3c57){const _0x13756b=this['_baseRoots']['get'](_0x3fb10b['rootName']),_0x358dcc=this['_diffRoots']['get'](_0x3fb10b['rootName']),_0x5c67d5=new vt(this['_fixPosition'](_0x3fb10b['start'],_0x13756b),this['_fixPosition'](_0x3fb10b['end'],_0x13756b)),_0x15922e=this['_fixRange'](_0x5c67d5,_0x358dcc);_0x13756b['markers']['set'](_0x490d6e,_0x5c67d5),this['_markers']['set'](_0x490d6e,_0x15922e);}this['_applyOperations'](_0x5cb534,_0x4f7f50,_0xcf83c8);}['_applyOperations'](_0x564f24,_0x4cb543,_0x1ea2f9){for(const _0x5b0b8a of this['source']['getOperations'](_0x564f24,_0x4cb543))this['_handleOperation'](_0x5b0b8a,_0x1ea2f9);for(const _0x333382 of this['_diffRoots']['values']())_0x333382['markers']['clear']();for(const [_0x485b9a,_0x230bab]of this['_markers']){this['_diffRoots']['get'](_0x230bab['root']['rootName'])['markers']['set'](_0x485b9a,_0x230bab['clone']());}const _0x4e3a47=new Map(),_0x5696e2=new Map();for(const [_0x119373,_0x31cdc5]of this['_diffRoots'])_0x4e3a47['set'](_0x119373,q(_0x31cdc5)),_0x5696e2['set'](_0x119373,this['_diffRootsAttributes']['get'](_0x119373));this['_saveMetaData'](_0x4cb543,_0x4e3a47,this['_markers'],_0x5696e2);}['_getPreviousFrom'](_0x2f6a2a){const _0x7229d9=Array['from'](this['_savedMetaData']['keys']());_0x7229d9['sort']((_0x142ebf,_0x3ad271)=>_0x142ebf-_0x3ad271),_0x7229d9['reverse']();for(const _0x4bcd7e of _0x7229d9)if(_0x4bcd7e<_0x2f6a2a)return _0x4bcd7e;return Number['NEGATIVE_INFINITY'];}['_copyMarkers'](_0x2d36e8,_0xfa9bce){const _0x4b93d5=Array['from'](_0xfa9bce['markers'])['map'](([_0x2ae039,_0x5d757c])=>[_0x2ae039,this['_fixRange'](_0x5d757c,_0x2d36e8)]);_0x2d36e8['markers']=new Map(_0x4b93d5);}['_transformMarkers'](_0x53a185){for(const _0x2ec0fe of this['_markers']['values']()){const _0x55ec10=_0x2ec0fe['getTransformedByOperation'](_0x53a185),_0x113517=vt['_createFromRanges'](_0x55ec10);_0x2ec0fe['start']=_0x113517['start'],_0x2ec0fe['end']=_0x113517['end'];}}['_handleOperation'](_0x501ec6,_0x582e65){if('addRoot'==_0x501ec6['type']||'detachRoot'==_0x501ec6['type'])return void this['_handleRootOperation'](_0x501ec6,_0x582e65);if('insert'==_0x501ec6['type']){const _0x5d8ae2=_0x501ec6['position']['root']['rootName'];this['_diffRoots']['has'](_0x5d8ae2)||(this['_diffRoots']['set'](_0x5d8ae2,G(_0x5d8ae2,!0x0)),this['_diffRootsAttributes']['set'](_0x5d8ae2,{}),_0x582e65&&this['_idsRoots']['set'](_0x5d8ae2,G(_0x5d8ae2,!0x0)));}else{if('addRootAttribute'==_0x501ec6['type']||'removeRootAttribute'==_0x501ec6['type']||'changeRootAttribute'==_0x501ec6['type'])return void this['_handleRootAttributeOperation'](_0x501ec6);}const _0xedacfa=this['_cloneOperation'](_0x501ec6,this['_diffRoots']);if('marker'!==_0x501ec6['type']&&(_0xedacfa['_execute'](),this['_transformMarkers'](_0xedacfa)),_0x582e65)switch(_0xedacfa['type']){case'insert':this['_handleInsertOperation'](_0x501ec6);break;case'move':case'remove':case'reinsert':this['_handleMoveOperation'](_0x501ec6);break;case'merge':this['_handleMergeOperation'](_0x501ec6);break;case'split':this['_handleSplitOperation'](_0x501ec6);break;case'marker':this['_handleMarkerOperation'](_0x501ec6);}}['_cloneOperation'](_0x73eb96,_0x4cd95a){const _0x4df637=_0x73eb96['clone']();return _0x4df637['_authorId']=_0x73eb96['_authorId'],this['_fixOperation'](_0x4df637,_0x4cd95a),_0x4df637;}['_getBaseVids'](_0x49ddbb){return _0x49ddbb['map'](_0x47ca44=>{const _0x43da5f=this['_getVidAttributeName'](_0x47ca44);return Number(_0x47ca44['item']['getAttribute'](_0x43da5f));});}['_generateTape'](_0x2bb34b,_0x134331){if(_0x2bb34b['is']('element','$text'))_0x134331['push']({'item':_0x2bb34b,'type':'text'});else{_0x2bb34b['is']('element')&&_0x134331['push']({'item':_0x2bb34b,'type':'elementStart'});for(const _0x44a33c of _0x2bb34b['getChildren']())this['_generateTape'](_0x44a33c,_0x134331);_0x2bb34b['is']('element')&&_0x134331['push']({'item':_0x2bb34b,'type':'elementEnd'});}return _0x134331;}['_getState'](){const _0x420d43=new Map(this['_touched']),_0x2f347c=new Map(_0x420d43),_0x2c0a33=new Map(),_0x202249={'insertions':{},'deletions':{}},_0x2c1580={'insertions':{},'deletions':{}},_0xe09118=new Map(),_0x4a6ffc=new Set([...this['_baseRoots']['keys'](),...this['_diffRoots']['keys']()]);_0x4a6ffc['delete']('$graveyard');for(const _0x21a0f7 of _0x4a6ffc){const _0x5cf514=this['_diffRoots']['get'](_0x21a0f7)||G(_0x21a0f7,!0x1),_0x17be29=this['_baseRoots']['get'](_0x21a0f7)||G(_0x21a0f7,!0x1);_0x5cf514['isAttached']()||_0x17be29['isAttached']()?(_0x202249['insertions'][_0x21a0f7]=q(_0x5cf514),_0x202249['deletions'][_0x21a0f7]=q(_0x17be29),this['_copyMarkers'](_0x202249['deletions'][_0x21a0f7],_0x17be29),this['_copyMarkers'](_0x202249['insertions'][_0x21a0f7],_0x5cf514),_0x2c1580['insertions'][_0x21a0f7]=this['_generateTape'](this['_idsRoots']['get'](_0x21a0f7),[]),_0x2c1580['deletions'][_0x21a0f7]=this['_generateTape'](this['_baseIdsRoots']['get'](_0x21a0f7)||G(_0x21a0f7,!0x1),[])):_0x4a6ffc['delete'](_0x21a0f7);}for(const _0x10ad69 of _0x4a6ffc){const _0x4bdd86=_0x2c1580['insertions'][_0x10ad69];for(const _0x63e28f of _0x4bdd86){const _0x357f98=this['_getVidAttributeName'](_0x63e28f),_0x48b72c=_0x63e28f['item']['getAttribute'](_0x357f98);_0x2f347c['delete'](_0x48b72c),_0x48b72c>=this['_startingRevisionId']&&_0x2c0a33['set'](_0x48b72c,_0x420d43['get'](_0x48b72c));}}for(const _0x29bc78 of _0x4a6ffc){const _0x1322cd=_0x2c1580['insertions'][_0x29bc78],_0x494a73=this['_getBaseVids'](_0x2c1580['deletions'][_0x29bc78]);let _0x1aaa1e=0x0;for(const _0x49402d of _0x1322cd){const _0x1d6fbf=this['_getVidAttributeName'](_0x49402d),_0xb8593b=_0x49402d['item']['getAttribute'](_0x1d6fbf);if(!_0x2c0a33['has'](_0xb8593b)&&!_0xe09118['has'](_0xb8593b)){if(_0x2f347c['has'](_0xb8593b))_0x1aaa1e++;else{if(_0xb8593b!=_0x494a73[_0x1aaa1e]){const _0x2f89c3=_0x420d43['get'](_0xb8593b)||_0x420d43['get'](_0x494a73[_0x1aaa1e]);for(;_0xb8593b!=_0x494a73[_0x1aaa1e];)_0x2f347c['has'](_0x494a73[_0x1aaa1e])||(_0xe09118['set'](_0x494a73[_0x1aaa1e],_0x2f89c3),_0x420d43['set'](_0x494a73[_0x1aaa1e],_0x2f89c3)),_0x1aaa1e++;}_0x1aaa1e++;}}}}for(const _0x104543 of _0x4a6ffc){const _0x121607=_0x2c1580['insertions'][_0x104543];for(const _0x444be1 of _0x121607){const _0x38c2da=this['_getVidAttributeName'](_0x444be1),_0x3ef619=_0x444be1['item']['getAttribute'](_0x38c2da);if(_0xe09118['has'](_0x3ef619)){const _0x322159=_0xe09118['get'](_0x3ef619);_0x2f347c['has'](_0x3ef619)||_0x2f347c['set'](_0x3ef619,{..._0x322159}),_0x2c0a33['set'](_0x3ef619,{..._0x322159});}}}for(const _0x7be233 of _0x2f347c['keys']())_0x7be233>=this['_startingRevisionId']&&_0x2f347c['delete'](_0x7be233);const _0x133a9a=new Map();for(const _0x3f5bae of _0x4a6ffc){let _0x4b8cfd=_0x2c1580['insertions'][_0x3f5bae];for(const _0x54f740 of _0x4b8cfd)if(_0x54f740['item']['is']('element','tableCell')){const _0x279e57=this['_getVidAttributeName'](_0x54f740),_0x47257a=_0x54f740['item']['getAttribute'](_0x279e57);if(_0x2c0a33['has'](_0x47257a)){const _0x9a228c=_0x54f740['item']['parent']['parent']['getAttribute']('vid_start'),_0x2062f7=_0x133a9a['get'](_0x9a228c)||new Set();_0x2062f7['add'](_0x2c0a33['get'](_0x47257a)['userId']),_0x133a9a['set'](_0x9a228c,_0x2062f7);}}_0x4b8cfd=_0x2c1580['deletions'][_0x3f5bae];for(const _0x515e83 of _0x4b8cfd)if(_0x515e83['item']['is']('element','tableCell')){const _0x1bd02d=this['_getVidAttributeName'](_0x515e83),_0x44440e=_0x515e83['item']['getAttribute'](_0x1bd02d);if(_0x2f347c['has'](_0x44440e)){const _0x5eb7bf=_0x515e83['item']['parent']['parent']['getAttribute']('vid_start'),_0x80208f=_0x133a9a['get'](_0x5eb7bf)||new Set();_0x80208f['add'](_0x2f347c['get'](_0x44440e)['userId']),_0x133a9a['set'](_0x5eb7bf,_0x80208f);}}for(const _0x2d60fb of _0x133a9a['keys']())(_0x2c0a33['has'](_0x2d60fb)||_0x2f347c['has'](_0x2d60fb))&&_0x133a9a['delete'](_0x2d60fb);}for(const _0xab5cad of _0x4a6ffc){const _0x48aaa7=_0x2c1580['insertions'][_0xab5cad];let _0xa35112=null,_0x2641f5=null;for(const _0x203028 of _0x48aaa7){const _0x28c3ee=this['_getVidAttributeName'](_0x203028),_0x506728=_0x203028['item']['getAttribute'](_0x28c3ee),_0x1a7272=_0x133a9a['get'](_0x506728);_0x1a7272&&'elementStart'==_0x203028['type']&&(_0xa35112=Array['from'](_0x1a7272)[0x0],_0x2641f5=_0x203028['item']['getAttribute']('vid_end')),_0xa35112&&(_0x2f347c['set'](_0x506728,{'userId':_0xa35112}),_0x2c0a33['set'](_0x506728,{'userId':_0xa35112})),_0x506728==_0x2641f5&&(_0xa35112=null,_0x2641f5=null);}}const _0x216086={},_0x2604a1=new Set();for(const _0x220b78 of _0x4a6ffc){const _0x4011c2=_0x202249['deletions'][_0x220b78],_0x3a4bc6=_0x202249['insertions'][_0x220b78];for(const {userId:_0x3f9c76}of this['_touchedMarkers']['values']())null!==_0x3f9c76&&_0x2604a1['add'](_0x3f9c76);for(const {userId:_0x1bccb7}of this['_touchedRoots']['values']())null!==_0x1bccb7&&_0x2604a1['add'](_0x1bccb7);this['_markChanges'](_0x3a4bc6,_0x2c1580['insertions'][_0x220b78],_0x2c0a33,'insertion',_0x2604a1),this['_markChanges'](_0x4011c2,_0x2c1580['deletions'][_0x220b78],_0x2f347c,'deletion',_0x2604a1),_0x216086[_0x220b78]={'insertions':this['_prepareViewToSave'](_0x3a4bc6),'deletions':this['_prepareViewToSave'](_0x4011c2),'attachChange':this['_touchedRoots']['get'](_0x220b78)||null,'attributesBefore':_0x2cba02(this['_baseRootsAttributes']['get'](_0x220b78))||{},'attributesAfter':_0x2cba02(this['_diffRootsAttributes']['get'](_0x220b78))};}return{'diffData':_0x216086,'authorsIds':Array['from'](_0x2604a1)};}['_processRootBeforeSave'](_0x3dbb1c){for(const [,_0x54e2db]of _0x3dbb1c['markers']){const _0x35f950=_0x54e2db['start']['getAncestors']()['filter'](_0x15843a=>'tableCell'==_0x15843a['name']);for(const _0x1a1d14 of _0x35f950)0x1==_0x1a1d14['childCount']&&_0x1a1d14['getChild'](0x0)['is']('element','paragraph')&&_0x1a1d14['getChild'](0x0)['_setAttribute']('keepParagraph',!0x0);}}['_prepareViewToSave'](_0x469d54){this['_processRootBeforeSave'](_0x469d54);const _0x236e09=this['editor']['data']['toView'](_0x469d54,{}),_0x1e61f6=Array['from'](_0x236e09['getChildren']())['map'](_0x328e1d=>this['_getViewJson'](_0x328e1d));return JSON['stringify'](_0x1e61f6);}['_getViewJson'](_0x436e2e){if(_0x436e2e['is']('$text'))return _0x436e2e['data'];{const _0x4bf749=_0x436e2e;return{'type':Object['keys'](T)['find'](_0x41bcdb=>_0x436e2e instanceof T[_0x41bcdb]),'name':_0x4bf749['name'],'attributes':Array['from'](_0x4bf749['getAttributes']()),'children':Array['from'](_0x4bf749['getChildren']())['map'](_0x54bd9a=>this['_getViewJson'](_0x54bd9a))};}}['_markChanges'](_0x4447aa,_0x4dad02,_0x462e59,_0x15a6be,_0x6c091d){let _0x270721=null,_0x1f049e=null,_0x5c959d=0x0;const _0x11c617=this['editor']['model'];for(let _0x43ea5f=0x0;_0x43ea5f<_0x4dad02['length'];_0x43ea5f++){const _0x6b2b6c=this['_getVidAttributeName'](_0x4dad02[_0x43ea5f]),_0x16f091=_0x4dad02[_0x43ea5f]['item']['getAttribute'](_0x6b2b6c),_0x481a49=_0x462e59['get'](_0x16f091),_0x43b6bb=_0x43ea5f==_0x4dad02['length']-0x1;(!_0x270721&&_0x481a49&&(_0x270721=_0x481a49,_0x1f049e=_0x4dad02[_0x43ea5f]),_0x270721&&(!_0x481a49||_0x481a49['userId']!=_0x270721['userId']))&&(_0x7146f(_0x481a49,L(_0x1f049e,_0x4447aa,_0x11c617),L(_0x4dad02[_0x43ea5f],_0x4447aa,_0x11c617)),_0x270721=_0x481a49||null,_0x1f049e=_0x481a49?_0x4dad02[_0x43ea5f]:null),_0x270721&&_0x43b6bb&&_0x7146f(_0x481a49,L(_0x1f049e,_0x4447aa,_0x11c617),W(_0x4dad02[_0x43ea5f],_0x4447aa,_0x11c617));}function _0x7146f(_0xc22f4f,_0xb8d9f9,_0x2b6572){const _0x1966ed=_0x270721['userId'],_0x50cf2c='revision:'+_0x15a6be+':'+_0x1966ed+':'+_0x5c959d++,_0x2baf29=_0x11c617['createRange'](_0xb8d9f9,_0x2b6572);_0x4447aa['markers']['set'](_0x50cf2c,_0x2baf29),null!==_0x1966ed&&_0x6c091d['add'](_0x1966ed);}}['_getVidAttributeName'](_0x148065){switch(_0x148065['type']){case'elementStart':return'vid_start';case'elementEnd':return'vid_end';default:return'vid';}}['_fixOperation'](_0x4328c0,_0x36e566){_0x4328c0['baseVersion']=null;for(const _0x3bd386 in _0x4328c0){const _0x43a6eb=_0x4328c0[_0x3bd386];if(_0x43a6eb instanceof gt){const _0x144f62=_0x36e566['get'](_0x43a6eb['root']['rootName']);_0x4328c0[_0x3bd386]=this['_fixPosition'](_0x43a6eb,_0x144f62);}if(_0x43a6eb instanceof vt){const _0x1979df=_0x36e566['get'](_0x43a6eb['root']['rootName']);_0x4328c0[_0x3bd386]=this['_fixRange'](_0x43a6eb,_0x1979df);}'root'===_0x3bd386&&(_0x4328c0['root']=_0x36e566['get'](_0x4328c0['root']['rootName']));}}['_fixRange'](_0x596c90,_0x519cb3){return this['editor']['model']['createRange'](this['_fixPosition'](_0x596c90['start'],_0x519cb3),this['_fixPosition'](_0x596c90['end'],_0x519cb3));}['_fixPosition'](_0x164e04,_0x4d1402){return this['editor']['model']['createPositionFromPath'](_0x4d1402,_0x164e04['path'],_0x164e04['stickiness']);}['_handleInsertOperation'](_0x43453d){const _0x39bb30=this['_idsRoots']['get'](_0x43453d['position']['root']['rootName']),_0x550fa9=this['_fixPosition'](_0x43453d['position'],_0x39bb30),_0xcdd233=null===_0x43453d['_authorId']?null:_0x43453d['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x145a57=_0x550fa9['parent'],_0x43603d=this['_revisionId'],_0x3acce3=[];for(const _0x42901b of _0x43453d['nodes'])if(_0x42901b['is']('element'))_0x3acce3['push'](this['_makeIdsRoot'](_0x42901b));else{for(let _0x93cbb5=0x0;_0x93cbb5<_0x42901b['offsetSize'];_0x93cbb5++)_0x3acce3['push'](new ft('$text',{'vid':this['_revisionId']++}));}const _0x23301b=this['_revisionId'];for(let _0x4b305d=_0x43603d;_0x4b305d<_0x23301b;_0x4b305d++)this['_touched']['set'](_0x4b305d,{'userId':_0xcdd233});_0x145a57['_insertChild'](_0x550fa9['offset'],_0x3acce3);}['_handleMoveOperation'](_0x356d77){(_0x356d77=this['_cloneOperation'](_0x356d77,this['_idsRoots']))['_execute']();const _0xd9bd30=null===_0x356d77['_authorId']?null:_0x356d77['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x1c118f=_0x356d77['getMovedRangeStart'](),_0x2c6b8d=_0x1c118f['parent'],_0x4cb2dd=_0x1c118f['offset'];!function _0x5202c2(_0x56a646,_0x4a5e83,_0x54761f,_0x4ebe38){for(let _0x4f1a04=_0x54761f;_0x4f1a04<_0x4ebe38;_0x4f1a04++){const _0x49500b=_0x4a5e83['getChild'](_0x4f1a04);_0x49500b['is']('element','$text')?_0x56a646['set'](_0x49500b['getAttribute']('vid'),{'userId':_0xd9bd30}):(_0x56a646['set'](_0x49500b['getAttribute']('vid_start'),{'userId':_0xd9bd30}),_0x5202c2(_0x56a646,_0x49500b,0x0,_0x49500b['childCount']),_0x56a646['set'](_0x49500b['getAttribute']('vid_end'),{'userId':_0xd9bd30}));}}(this['_touched'],_0x2c6b8d,_0x4cb2dd,_0x4cb2dd+_0x356d77['howMany']);}['_handleMergeOperation'](_0xc73f52){const _0x420939=null===(_0xc73f52=this['_cloneOperation'](_0xc73f52,this['_idsRoots']))['_authorId']?null:_0xc73f52['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x50981d=_0xc73f52['targetPosition']['parent'],_0x8aef17=_0xc73f52['sourcePosition']['parent'],_0x25d0ef=_0x50981d['getAttribute']('vid_end'),_0x3fff97=_0x8aef17['getAttribute']('vid_start');_0x50981d['_setAttribute']('vid_end',_0x8aef17['getAttribute']('vid_end')),_0x8aef17['_setAttribute']('vid_end',_0x25d0ef),this['_touched']['set'](_0x3fff97,{'userId':_0x420939}),this['_touched']['set'](_0x25d0ef,{'userId':_0x420939}),_0xc73f52['_execute']();}['_handleSplitOperation'](_0xeded2d){const _0x26ed85=null===(_0xeded2d=this['_cloneOperation'](_0xeded2d,this['_idsRoots']))['_authorId']?null:_0xeded2d['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x5a052b=_0xeded2d['graveyardPosition'],_0x494a75=_0xeded2d['splitPosition']['parent'];_0xeded2d['_execute']();const _0xf1bd3e=_0x494a75['getAttribute']('vid_end'),_0x48fcb4=_0xeded2d['insertionPosition']['nodeAfter'];if(_0x5a052b){const _0x22672f=_0x48fcb4['getAttribute']('vid_end'),_0x2da987=_0x494a75['getAttribute']('vid_end');_0x494a75['_setAttribute']('vid_end',_0x22672f),_0x48fcb4['_setAttribute']('vid_end',_0x2da987),this['_touched']['set'](_0x494a75['getAttribute']('vid_end'),{'userId':_0x26ed85}),this['_touched']['set'](_0x48fcb4['getAttribute']('vid_start'),{'userId':_0x26ed85});}else{const _0x458d61=this['_revisionId']++,_0x86725b=this['_revisionId']++;_0x494a75['_setAttribute']('vid_end',_0x458d61),_0x48fcb4['_setAttribute']('vid_start',_0x86725b),_0x48fcb4['_setAttribute']('vid_end',_0xf1bd3e),this['_touched']['set'](_0x458d61,{'userId':_0x26ed85}),this['_touched']['set'](_0x86725b,{'userId':_0x26ed85});}}['_handleMarkerOperation'](_0x3b4185){if(!_0x3b4185['affectsData'])return;const _0x20716d=(_0x3b4185=this['_cloneOperation'](_0x3b4185,this['_diffRoots']))['oldRange']?_0x3b4185['oldRange']['root']:null,_0x1fc26f=_0x3b4185['newRange']?_0x3b4185['newRange']['root']:null;_0x20716d&&this['_markers']['delete'](_0x3b4185['name']),_0x1fc26f&&this['_markers']['set'](_0x3b4185['name'],_0x3b4185['newRange']['clone']());const _0x39c7ba=null===_0x3b4185['_authorId']?null:_0x3b4185['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x5f0322=_0x3b4185['name'];if(!this['_touchedMarkers']['has'](_0x5f0322))return void this['_touchedMarkers']['set'](_0x5f0322,{'range':_0x3b4185['oldRange'],'userId':_0x39c7ba});const _0x4d6d3e=this['_touchedMarkers']['get'](_0x5f0322),_0x2b188c=_0x4d6d3e['range'],_0x5cb7c5=_0x3b4185['newRange'];null==_0x2b188c&&null==_0x5cb7c5||_0x2b188c&&_0x5cb7c5&&_0x2b188c['isEqual'](_0x5cb7c5)?this['_touchedMarkers']['delete'](_0x3b4185['name']):_0x4d6d3e['userId']=_0x39c7ba;}['_handleRootOperation'](_0x243d98,_0x54cdf9){this['_diffRoots']['has'](_0x243d98['rootName'])?this['_diffRoots']['get'](_0x243d98['rootName'])['_isAttached']=_0x243d98['isAdd']:(this['_diffRoots']['set'](_0x243d98['rootName'],G(_0x243d98['rootName'],!0x0)),this['_diffRootsAttributes']['set'](_0x243d98['rootName'],{}),_0x54cdf9&&this['_idsRoots']['set'](_0x243d98['rootName'],G(_0x243d98['rootName'],!0x0)));const _0x4c5c61=null===_0x243d98['_authorId']?null:_0x243d98['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x1fda63=this['_touchedRoots']['get'](_0x243d98['rootName']);_0x1fda63&&_0x1fda63['userId']===_0x4c5c61?this['_touchedRoots']['delete'](_0x243d98['rootName']):this['_touchedRoots']['set'](_0x243d98['rootName'],{'userId':_0x4c5c61,'isAttached':_0x243d98['isAdd']});}['_handleRootAttributeOperation'](_0x3931b3){const _0xe1573a=this['_diffRootsAttributes']['get'](_0x3931b3['root']['rootName']);null===_0x3931b3['newValue']?delete _0xe1573a[_0x3931b3['key']]:_0xe1573a[_0x3931b3['key']]=_0x3931b3['newValue'];}}function q(_0x23c183){const _0xb909a7=G(_0x23c183['rootName'],_0x23c183['isAttached']());for(const _0x2af0d1 of _0x23c183['getChildren']()){const _0x212bdb=_0x2af0d1['_clone'](!0x0);_0xb909a7['_appendChild'](_0x212bdb);}return _0xb909a7;}function G(_0x3f4e17,_0x22c416=!0x0){const _0x247013=new wt();return _0x247013['rootName']=_0x3f4e17,_0x247013['_isAttached']=_0x22c416,_0x247013['isAttached']=()=>_0x247013['_isAttached'],_0x247013;}function L(_0x2042c2,_0x8ed981,_0x47816e){const _0xd11394='elementEnd'==_0x2042c2['type']?_0x47816e['createPositionAt'](_0x2042c2['item'],'end'):_0x47816e['createPositionBefore'](_0x2042c2['item']);return _0x47816e['createPositionFromPath'](_0x8ed981,_0xd11394['path'],_0xd11394['stickiness']);}function W(_0x746b48,_0x2975b1,_0x2796b8){const _0x5071a5='elementStart'==_0x746b48['type']?_0x2796b8['createPositionAt'](_0x746b48['item'],0x0):_0x2796b8['createPositionAfter'](_0x746b48['item']);return _0x2796b8['createPositionFromPath'](_0x2975b1,_0x5071a5['path'],_0x5071a5['stickiness']);}class ns extends _0x2b2166{['focusTracker'];['keystrokes'];['revisionNameInputView'];constructor(_0x5eb217,_0x4932cf){super(_0x5eb217),this['focusTracker']=new _0x41dea2(),this['keystrokes']=new _0x56db34(),this['set']('revisionNameInputValue',''),this['revisionNameInputView']=this['_createRevisionNameInput'](_0x4932cf),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'](),_0x41aac2({'view':this}),this['focusTracker']['add'](this['revisionNameInputView']['element']),this['keystrokes']['listenTo'](this['element']);const _0x198dae=_0x59cf5a=>_0x59cf5a['stopPropagation']();this['keystrokes']['set']('arrowright',_0x198dae),this['keystrokes']['set']('arrowleft',_0x198dae),this['keystrokes']['set']('arrowup',_0x198dae),this['keystrokes']['set']('arrowdown',_0x198dae);}['focus'](){this['revisionNameInputView']['focus']();}get['revisionName'](){return this['revisionNameInputView']['fieldView']['element']['value']['trim']();}set['revisionName'](_0xf7b176){this['revisionNameInputView']['fieldView']['element']['value']=_0xf7b176['trim']();}['reset'](){this['revisionNameInputView']['fieldView']['element']['value']='',this['revisionNameInputView']['errorText']=null;}['_createRevisionNameInput'](_0x127dd3){const _0x1b45aa=new at(this['locale'],_0x2bec7e),_0x14ba2a=_0x1b45aa['fieldView'];_0x14ba2a['extendTemplate']({'attributes':{'maxlength':'220'}});let _0x3d1df5=y(this['locale'],'Name\x20of\x20the\x20revision');return!_0x127dd3&&(_0x3d1df5+='\x20('+y(this['locale'],'optional')+')'),(_0x1b45aa['label']=_0x3d1df5,_0x14ba2a['on']('input',()=>{this['revisionNameInputValue']=_0x14ba2a['element']['value']['trim']();}),_0x1b45aa);}}class u extends _0x26b929{static get['pluginName'](){return'RevisionHistoryUI';}static get['requires'](){return[l];}['_saveRevisionFormView'];['init'](){const _0x4c6909=this['editor'],_0x5167c4=_0x4c6909['plugins']['get']('RevisionTracker');_0x4c6909['ui']['componentFactory']['add']('revisionHistory',_0x23df26=>{const _0x54973c=_0x506054(_0x23df26),_0x37e467=_0x54973c['panelView']['children'],_0x3158d5=new te(_0x23df26),_0x2ad9d0=new _0x4056e5(_0x23df26),_0x511adb=new _0x5f47dc(_0x23df26),_0x47be3e=new _0x4056e5(_0x23df26),_0x146079=new _0x5f47dc(_0x23df26);return _0x54973c['bind']('isEnabled')['to'](_0x5167c4,'isReady',_0x5167c4,'isEnabled',_0x4c6909,'isReadOnly',(_0x78e5b,_0x5e78da,_0xd4beef)=>_0x78e5b&&_0x5e78da&&!_0xd4beef),_0x54973c['buttonView']['set']({'icon':_0x584023['history'],'label':y(_0x23df26,'Revision\x20history'),'tooltip':!0x0}),_0x511adb['set']({'label':y(_0x23df26,'Save\x20current\x20revision'),'withText':!0x0,'role':'menuitem'}),_0x511adb['bind']('isEnabled')['to'](_0x5167c4,'isReady',_0x5167c4,'isEnabled',_0x4c6909,'isReadOnly',(_0x49d4b1,_0x4b7ee1,_0x2afc33)=>_0x49d4b1&&_0x4b7ee1&&!_0x2afc33),_0x511adb['on']('execute',()=>this['_showDialog']()),_0x146079['set']({'label':y(_0x23df26,'Open\x20revision\x20history'),'withText':!0x0,'role':'menuitem'}),_0x146079['bind']('isEnabled')['to'](_0x5167c4,'isReady',_0x4c6909,'isReadOnly',(_0x47fedb,_0x438960)=>_0x47fedb&&!_0x438960),_0x146079['on']('execute',()=>{_0x4c6909['config']['get']('revisionHistory')['showRevisionViewerCallback'](),_0x54973c['isOpen']=!0x1,_0x4c6909['editing']['view']['focus']();}),_0x2ad9d0['children']['add'](_0x511adb),_0x47be3e['children']['add'](_0x146079),_0x3158d5['role']='menu',_0x3158d5['items']['addMany']([_0x2ad9d0,_0x47be3e]),_0x37e467['add'](_0x3158d5),_0x54973c;}),_0x4c6909['ui']['componentFactory']['add']('menuBar:revisionHistory',()=>this['_registerMenuComponent']());}['_registerMenuComponent'](){const _0x4defb2=this['editor'],_0x5b29db=_0x4defb2['locale'],_0x5c874c=new _0x5db1a9(_0x5b29db),_0x4800d1=new _0x5cd7d1(_0x5b29db);_0x5c874c['buttonView']['set']({'icon':_0x584023['history'],'label':y(_0x5b29db,'Revision\x20history')});const _0xd1386a=new _0xacabc2(_0x5b29db,_0x5c874c),_0x439416=new _0x3b1146(_0x5b29db);_0x439416['set']({'label':y(_0x5b29db,'Save\x20current\x20revision')}),_0x439416['delegate']('execute')['to'](_0x5c874c),_0x439416['on']('execute',()=>{this['_showDialog']();}),_0xd1386a['children']['add'](_0x439416),_0x4800d1['items']['add'](_0xd1386a);const _0xb6d897=new _0xacabc2(_0x5b29db,_0x5c874c),_0x4ce618=new _0x3b1146(_0x5b29db);return _0x4ce618['set']({'label':y(_0x5b29db,'Open\x20revision\x20history')}),_0x4ce618['delegate']('execute')['to'](_0x5c874c),_0x4ce618['on']('execute',()=>{_0x4defb2['config']['get']('revisionHistory')['showRevisionViewerCallback']();}),_0xb6d897['children']['add'](_0x4ce618),_0x4800d1['items']['add'](_0xb6d897),_0x5c874c['panelView']['children']['add'](_0x4800d1),_0x5c874c;}['_showDialog'](){const _0x6eea58=this['editor'],_0x20ea02=_0x6eea58['locale'],_0x1473d9=_0x6eea58['plugins']['get']('Dialog'),_0x5ec26=_0x6eea58['plugins']['get']('RevisionTracker');function _0x54102e(_0x37889b){_0x6eea58['config']['get']('revisionHistory.requireRevisionName')&&''===_0x37889b['revisionName']?_0x37889b['revisionNameInputView']['errorText']=y(_0x20ea02,'The\x20revision\x20name\x20cannot\x20be\x20empty.'):(_0x6eea58['plugins']['get'](l)['saveRevision']({'name':_0x37889b['revisionName']}),_0x1473d9['hide']());}this['_saveRevisionFormView']||(this['_createSaveRevisionFormView'](),this['_saveRevisionFormView']['on']('submit',()=>_0x54102e(this['_saveRevisionFormView']))),this['_saveRevisionFormView']['reset'](),_0x1473d9['show']({'id':'revisionSave','title':y(_0x20ea02,'Save\x20current\x20revision'),'isModal':!0x0,'content':this['_saveRevisionFormView'],'actionButtons':[{'label':y(_0x6eea58['locale'],'Cancel'),'withText':!0x0,'onExecute':()=>_0x1473d9['hide']()},{'label':y(_0x6eea58['locale'],'Accept'),'class':'ck-button-action','withText':!0x0,'onCreate'(_0x368317){_0x368317['bind']('isEnabled')['to'](_0x5ec26,'isReady',_0x5ec26,'isEnabled',_0x6eea58,'isReadOnly',(_0x39daf3,_0x17b4aa,_0x1dfde2)=>_0x39daf3&&_0x17b4aa&&!_0x1dfde2);},'onExecute':()=>_0x54102e(this['_saveRevisionFormView'])}]});}['_createSaveRevisionFormView'](){const _0x1d58d4=this['editor'],_0x46381c=_0x1d58d4['locale'];this['_saveRevisionFormView']=new ns(_0x46381c,_0x1d58d4['config']['get']('revisionHistory.requireRevisionName')),this['_saveRevisionFormView']['render']();}}class Z extends _0x2b2166{['changeId'];['_model'];constructor(_0x51c5e0,_0x32698c){super(_0x51c5e0),this['_model']=_0x32698c,this['changeId']=_0x32698c['id'];const _0x516b8e=this['bindTemplate'],_0x435e5a=y(_0x51c5e0,_0x32698c['data']['isSuggestion']?'Suggested\x20by':'add'==_0x32698c['type']?'Added\x20by':'Removed\x20by');this['set']('type',_0x32698c['type']),this['setTemplate']({'tag':'div','attributes':{'class':['ck-annotation','ck-revision-change',_0x516b8e['to']('type',_0x5b114b=>'ck-revision-change__'+_0x5b114b)],'tabindex':-0x1},'children':[{'tag':'span','children':[{'tag':'span','attributes':{'class':['ck-revision-change__label']},'children':[{'text':_0x435e5a}]},{'text':'\x20'+_0x32698c['author']['name']}]}]});}['focus'](){this['element']['focus']();}}class r extends/* #__PURE__ -- @preserve */
25
- _0x5bd7ed(){['id'];['author'];['type'];['data'];['rootName'];constructor(_0x3ee365){super(),this['id']=_0x3ee365['id']||_0x19b58f(),this['author']=_0x3ee365['author'],this['type']=_0x3ee365['type'],this['data']=_0x3ee365['data']||{},this['rootName']=_0x3ee365['rootName'],this['set']('createdAt',_0x3ee365['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(_0x1fad49,_0xc1aeaf){this['newRevisionId']=_0x1fad49,this['oldRevisionId']=_0xc1aeaf,this['changes']=new _0x3d9d1f();}['_setChanges'](_0x5bbc5f){for(const _0x46b0eb of _0x5bbc5f)this['changes']['add'](_0x46b0eb);}}const tt={'c':_0x15699c,'a':_0x52cd38,'e':_0x37f203,'r':_0x71ebbe,'u':_0x4781b5};class d extends _0x26b929{['repository'];['adapter'];['_activeViewTarget'];['_changeView'];['_changeIdToChange'];['_balloon'];static get['pluginName'](){return'RevisionViewer';}static get['requires'](){return[_0x59f4ae,_0x275567,A];}constructor(_0x11d60a){super(_0x11d60a),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',(_0x4b468c,_0x54433e,_0x23c149)=>{this['activeChange']=null,this['activeView']=null,this['editor']['editing']['view']['change'](_0x545fbf=>{for(const _0x27e514 of this['editor']['editing']['view']['document']['roots'])_0x23c149?_0x545fbf['removeClass']('ck-editor__editable__overlay',_0x27e514):_0x545fbf['addClass']('ck-editor__editable__overlay',_0x27e514);});}),this['bind']('isNavigationMode')['to'](this,'activeChange',_0x39de80=>null!==_0x39de80),this['bind']('currentChangeNumber')['to'](this,'isReady',this,'diff',this,'activeChange',(_0x1f5379,_0x5bb61a,_0x130d01)=>_0x1f5379&&_0x130d01?_0x5bb61a['changes']['getIndex'](_0x130d01):0x0),this['bind']('numberOfChanges')['to'](this,'isReady',this,'diff',(_0x502ae1,_0x2be0a0)=>_0x502ae1?_0x2be0a0['changes']['length']:0x0),this['_changeView']=null,this['_changeIdToChange']=new Map(),this['adapter']=null,this['_balloon']=this['editor']['plugins']['get'](_0x275567);}['init'](){const _0x39ff9d=this['editor'],_0x62deb0=new yt(_0x39ff9d,{'direction':'backward'}),_0x4ae7e1=new yt(_0x39ff9d,{'direction':'forward'});(_0x39ff9d['commands']['add']('showPreviousChange',_0x62deb0),_0x39ff9d['commands']['add']('showNextChange',_0x4ae7e1),_0x39ff9d['commands']['add']('restoreRevision',new bt(_0x39ff9d)),this['on']('change:numberOfChanges',()=>{_0x62deb0['refresh'](),_0x4ae7e1['refresh']();}),this['_setConversion'](),this['_initInteractions'](),_0x39ff9d['enableReadOnlyMode']('revision-viewer'),_0x39ff9d['plugins']['has']('WidgetToolbarRepository'))&&_0x39ff9d['plugins']['get']('WidgetToolbarRepository')['forceDisabled']('revision-viewer');}async['getRevisionData'](_0x519f37){await this['loadRevisionData'](_0x519f37);const _0x44233c={};for(const _0x382c99 in _0x519f37['diffData']){if(_0x519f37['diffData'][_0x382c99]['attachChange']&&!_0x519f37['diffData'][_0x382c99]['attachChange']['isAttached'])continue;const _0xb9d0cd=this['_removeRevisionMarkers'](JSON['parse'](_0x519f37['diffData'][_0x382c99]['insertions'])),_0x2cdccc=this['editor']['editing']['view']['document'],_0x1131a8=new _0x33efc2(_0x2cdccc,_0xb9d0cd['map'](_0x489f36=>this['_getViewObj'](_0x489f36)));this['editor']['data']['processor']['useFillerType']('marked'),_0x44233c[_0x382c99]=this['editor']['data']['processor']['toData'](_0x1131a8),this['editor']['data']['processor']['useFillerType']('default');}return _0x44233c;}async['getRevisionRootsAttributes'](_0x5f52a9){await this['loadRevisionData'](_0x5f52a9);const _0x256303={};for(const _0x376fdf in _0x5f52a9['diffData'])_0x5f52a9['diffData'][_0x376fdf]['attachChange']&&!_0x5f52a9['diffData'][_0x376fdf]['attachChange']['isAttached']||(_0x256303[_0x376fdf]=_0x5f52a9['diffData'][_0x376fdf]['attributesAfter']||{});return _0x256303;}['_removeRevisionMarkers'](_0x5133af){return(_0x5133af=_0x5133af['filter'](_0x13abac=>!_0x13abac['name']||'revision-start'!==_0x13abac['name']&&'revision-end'!==_0x13abac['name']))['forEach'](_0x2b8d49=>{'string'!=typeof _0x2b8d49&&(_0x2b8d49['children']=this['_removeRevisionMarkers'](_0x2b8d49['children']),_0x2b8d49['attributes']=_0x2b8d49['attributes']['filter'](_0x49ca0c=>!_0x49ca0c[0x0]['startsWith']('data-revision-')));}),_0x5133af;}async['compare'](_0x617ecf,_0xd7118a,_0x58cae3=!0x1){if(!this['isEnabled'])return;const _0x3c5ca4=this['diff'],_0x460f88=this['repository'],_0x1da2db='string'==typeof _0x617ecf?_0x460f88['getRevision'](_0x617ecf):_0x617ecf,_0x33a05b='string'==typeof _0xd7118a?_0x460f88['getRevision'](_0xd7118a):_0xd7118a,_0x290ab2=_0x1da2db['id'],_0x336304=_0x33a05b?_0x33a05b['id']:null;if(!_0x58cae3&&this['diff']&&this['diff']['newRevisionId']===_0x290ab2&&this['diff']['oldRevisionId']===_0x336304)return Promise['resolve']();this['isReady']=!0x1,this['activeView']=null,this['activeChange']=null,this['diff']=new f(_0x290ab2,_0x336304);const _0x470a4d=this['_getRevisionsRange'](_0x1da2db,_0x33a05b,!0x0)['map'](_0x1fc8f2=>this['loadRevisionData'](_0x1fc8f2));return _0x470a4d['push'](new Promise(_0x19c2a2=>{setTimeout(_0x19c2a2,0x14);})),Promise['all'](_0x470a4d)['then'](()=>{if(!this['isEnabled'])return;this['_cleanUp']();const _0x466964=this['_getDiff'](_0x290ab2,_0x336304);for(const _0x2edd9f of _0x466964['changes'])this['_changeIdToChange']['set'](_0x2edd9f['id'],_0x2edd9f);this['editor']['model']['enqueueChange']({'isUndoable':!0x1},_0x32eb31=>{for(const _0x75cc8f of this['editor']['model']['document']['getRootNames']())_0x32eb31['detachRoot'](_0x75cc8f);for(const _0x225c14 of Object['keys'](_0x466964['model'])){const _0x56c5e5=_0x32eb31['addRoot'](_0x225c14);for(const _0x27a7bd of Object['keys'](_0x466964['attributes'][_0x225c14]))_0x32eb31['setAttribute'](_0x27a7bd,_0x466964['attributes'][_0x225c14][_0x27a7bd],_0x56c5e5);_0x32eb31['insert'](_0x466964['model'][_0x225c14],_0x56c5e5,0x0);}}),this['diff']['_setChanges'](this['_sortAndFilterDiffChanges'](_0x466964['changes'])),this['isReady']=!0x0;})['catch'](_0x33d918=>{console['error'](_0x33d918),this['_cleanUp'](),_0x3c5ca4&&(this['diff']=_0x3c5ca4),this['isReady']=!0x0;});}['addRevisionData'](_0x443f7a,_0x2da492){const _0x315c4f=this['repository']['createRevision'](_0x443f7a);return _0x315c4f['on']('_update',(_0x5c9716,_0x51f52f,_0x518b9a)=>_0x2da492(_0x51f52f,_0x518b9a,_0x315c4f)),this['repository']['addRevision'](_0x315c4f),_0x315c4f;}['loadRevisionData'](_0x54d247){if(!_0x54d247||_0x54d247['diffData'])return Promise['resolve']();{const _0x3e4310=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0x3e4310,'revisionId':_0x54d247['id']})['then'](_0x538416=>{_0x54d247['_update']({'diffData':_0x538416['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},_0x2217db=>{for(const _0x5e1bb0 of this['editor']['model']['document']['getRootNames']())_0x2217db['detachRoot'](_0x5e1bb0);});}['_sortAndFilterDiffChanges'](_0x5b9460){const _0x8e6086=[],_0x4c2d8c=new Map();for(const _0x57226a of this['editor']['model']['document']['getRootNames']()){const _0x2693f7=this['editor']['editing']['view']['getDomRoot'](_0x57226a);if(!_0x2693f7)continue;const _0x53d12c=_0x2693f7['getClientRects']()['item'](0x0);_0x53d12c&&(_0x8e6086['push'](_0x57226a),_0x4c2d8c['set'](_0x57226a,_0x53d12c));}return _0x8e6086['sort']((_0x16a8ac,_0x123492)=>{const _0x2953e5=_0x4c2d8c['get'](_0x16a8ac),_0x4df946=_0x4c2d8c['get'](_0x123492);return _0x2953e5['y']-_0x4df946['y']||_0x2953e5['x']-_0x4df946['x'];}),(_0x5b9460=_0x5b9460['filter'](_0x12cfa4=>_0x8e6086['includes'](_0x12cfa4['rootName'])))['sort']((_0x38cbbe,_0x1fc1c6)=>_0x8e6086['indexOf'](_0x38cbbe['rootName'])-_0x8e6086['indexOf'](_0x1fc1c6['rootName'])),_0x5b9460;}['_makeTape'](_0x174b3e){const _0x464964=Array['from'](_0x174b3e['markers'])['filter'](([_0x4a32ca,_0x4891aa])=>_0x4a32ca['startsWith']('revision:')&&!_0x4891aa['isCollapsed']),_0x5e8b07=Array['from'](this['editor']['model']['createRangeIn'](_0x174b3e)['getWalker']({'singleCharacters':!0x0}));if(0x0!=_0x464964['length'])for(const _0x300250 of _0x5e8b07){const [_0x3c7926,_0xc8741a]=_0x464964[0x0],[,_0x458fd2,_0xa0fef6]=_0x3c7926['split'](':');if(_0xc8741a['end']['isEqual'](_0x300250['nextPosition'])&&_0x464964['shift'](),(_0x300250['previousPosition']['isEqual'](_0xc8741a['start'])||_0x300250['previousPosition']['isAfter'](_0xc8741a['start']))&&('insertion'==_0x458fd2?_0x300250['isAdded']={'userId':_0xa0fef6}:'deletion'==_0x458fd2&&(_0x300250['isRemoved']={'userId':_0xa0fef6})),0x0==_0x464964['length'])break;}return _0x5e8b07;}['_refreshStartEndIndex'](_0xdd01aa){const _0x42a08d=new Map();for(let _0xbfc3c6=0x0;_0xbfc3c6<_0xdd01aa['length'];_0xbfc3c6++)'text'===_0xdd01aa[_0xbfc3c6]['type']?(_0xdd01aa[_0xbfc3c6]['item']['startIndex']=_0xbfc3c6,_0xdd01aa[_0xbfc3c6]['item']['endIndex']=_0xbfc3c6):('elementStart'===_0xdd01aa[_0xbfc3c6]['type']?_0xdd01aa[_0xbfc3c6]['item']['startIndex']=_0xbfc3c6:'elementEnd'===_0xdd01aa[_0xbfc3c6]['type']&&(_0xdd01aa[_0xbfc3c6]['item']['endIndex']=_0xbfc3c6),_0x42a08d['set'](_0xdd01aa[_0xbfc3c6]['id'],_0xbfc3c6));for(const _0x563b6f of _0x42a08d['values']())'elementStart'===_0xdd01aa[_0x563b6f]['type']?_0xdd01aa[_0x563b6f]['item']['endIndex']=_0x42a08d['get'](_0xdd01aa[_0x563b6f]['pairId']):'elementEnd'===_0xdd01aa[_0x563b6f]['type']&&(_0xdd01aa[_0x563b6f]['item']['startIndex']=_0x42a08d['get'](_0xdd01aa[_0x563b6f]['pairId']));}['_processTape'](_0x364a2a){for(let _0x5e91aa=0x0;_0x5e91aa<_0x364a2a['length'];_0x5e91aa++){if('elementStart'===_0x364a2a[_0x5e91aa]['type'])_0x364a2a[_0x5e91aa]['item']['startIndex']=_0x5e91aa;else{if('elementEnd'===_0x364a2a[_0x5e91aa]['type']){_0x364a2a[_0x5e91aa]['item']['endIndex']=_0x5e91aa;const _0x10df30=_0x364a2a[_0x5e91aa]['item']['startIndex'];_0x364a2a[_0x10df30]['pairId']=_0x364a2a[_0x5e91aa]['id'],_0x364a2a[_0x5e91aa]['pairId']=_0x364a2a[_0x10df30]['id'];}else _0x364a2a[_0x5e91aa]['item']['startIndex']=_0x5e91aa,_0x364a2a[_0x5e91aa]['item']['endIndex']=_0x5e91aa,_0x364a2a[_0x5e91aa]['pairId']=null;}_0x364a2a[_0x5e91aa]['markersStart']||(_0x364a2a[_0x5e91aa]['markersStart']=[],_0x364a2a[_0x5e91aa]['markersEnd']=[]);}}['_markInsertions'](_0x54c466,_0x1035c9){const _0x1cadf1=_0x54c466['filter'](_0x2b3942=>!_0x2b3942['isAdded']);for(let _0x380f68=0x0;_0x380f68<_0x1035c9['length'];_0x380f68++)_0x1035c9[_0x380f68]['isAdded']&&(_0x1cadf1[_0x380f68]['isAdded']=_0x1035c9[_0x380f68]['isAdded']);}['_makeModelFromViewString'](_0x22eac1){const _0xde3a4c=JSON['parse'](_0x22eac1),_0x18b351=this['editor']['editing']['view']['document'],_0x2fcbfd=new _0x33efc2(_0x18b351,_0xde3a4c['map'](_0x490322=>this['_getViewObj'](_0x490322)));return this['editor']['data']['toModel'](_0x2fcbfd);}['_getViewObj'](_0x31b245){const _0x11502f=this['editor']['editing']['view']['document'];if('string'==typeof _0x31b245)return new _0x373200(_0x11502f,_0x31b245);{const _0x1c7f9d=_0x31b245['children']['map'](_0x46f080=>this['_getViewObj'](_0x46f080));return new(tt[_0x31b245['type']]||_0xd46171)(_0x11502f,_0x31b245['name'],_0x31b245['attributes'],_0x1c7f9d);}}['_getDiff'](_0x52e36e,_0x372217=null){const _0x1c6b62=this['repository']['getRevision'](_0x52e36e),_0x49d7a1=_0x372217?this['repository']['getRevision'](_0x372217):null,_0x5f5bea=this['_getRevisionsRange'](_0x1c6b62,_0x49d7a1),_0x153f1b=_0x5f5bea[_0x5f5bea['length']-0x1],_0x438637=new Map(),_0x4cb504={'model':{},'attributes':{},'changes':[]},_0x1b724e=new Set(),_0x4b3305=new Map();for(let _0x79d6ba=_0x5f5bea['length']-0x1;_0x79d6ba>=0x0;_0x79d6ba--){const _0x35c341=_0x5f5bea[_0x79d6ba];for(const _0x694adb of Object['keys'](_0x35c341['diffData']))if(_0x35c341['diffData'][_0x694adb]['attachChange']){const _0x2489dc=_0x35c341['diffData'][_0x694adb]['attachChange'];_0x2489dc['isAttached']?(_0x1b724e['add'](_0x694adb),_0x4b3305['has'](_0x694adb)&&_0x4b3305['get'](_0x694adb)['userId']==_0x2489dc['userId']?_0x4b3305['delete'](_0x694adb):_0x4b3305['set'](_0x694adb,_0x2489dc)):_0x4b3305['has'](_0x694adb)?(_0x1b724e['delete'](_0x694adb),_0x4b3305['delete'](_0x694adb)):(_0x1b724e['add'](_0x694adb),_0x4b3305['set'](_0x694adb,_0x2489dc));}else _0x1b724e['add'](_0x694adb);}for(const _0x367df3 of _0x1b724e){const _0x361006=_0x4b3305['has'](_0x367df3)&&!_0x4b3305['get'](_0x367df3)['isAttached'];let _0x5256e1=_0x361006?_0x5f5bea['length']-0x1:0x0;const _0x141866=_0x361006?-0x1:0x1;for(;_0x5f5bea[_0x5256e1];){const _0x491a44=_0x5f5bea[_0x5256e1];if(_0x491a44['diffData'][_0x367df3]){const _0x5a68cb=_0x361006?_0x491a44['diffData'][_0x367df3]['attributesBefore']:_0x491a44['diffData'][_0x367df3]['attributesAfter'];_0x4cb504['attributes'][_0x367df3]=_0x5a68cb?_0x2cba02(_0x5a68cb):{};break;}_0x5256e1+=_0x141866;}}for(const _0x18e52b of _0x5f5bea){_0x18e52b['model']={};for(const _0x21e5e3 of _0x18e52b['authors'])_0x438637['set'](_0x21e5e3['id'],_0x21e5e3);for(const _0x5e1366 of _0x1b724e){const _0xadd724=_0x18e52b['diffData'][_0x5e1366]?_0x18e52b['diffData'][_0x5e1366]['insertions']:'[]',_0x2ef915=_0x18e52b['diffData'][_0x5e1366]?_0x18e52b['diffData'][_0x5e1366]['deletions']:'[]';_0x18e52b['model'][_0x5e1366]={'insertions':this['_makeModelFromViewString'](_0xadd724),'deletions':this['_makeModelFromViewString'](_0x2ef915)};}}for(const _0x506067 of _0x1b724e){let _0x4fd0fe=null,_0x19778f=0x0;const _0x5b6fad=new Map(Array['from'](_0x1c6b62['model'][_0x506067]['insertions']['markers'])['filter'](([_0x2c57ba])=>!_0x2c57ba['startsWith']('revision:')));let _0x1e599e=0x0;for(const _0x13237a of _0x5f5bea){const _0x256522=this['_makeTape'](_0x13237a['model'][_0x506067]['insertions']);_0x13237a==_0x1c6b62?(_0x4fd0fe=_0x256522,_0x19778f=_0x4fd0fe['length'],_0x4fd0fe['forEach'](_0x110591=>{_0x110591['id']=_0x1e599e++;}),this['_processTape'](_0x4fd0fe)):this['_markInsertions'](_0x4fd0fe,_0x256522);const _0x14906e=_0x4fd0fe['filter'](_0x4fbfcd=>!_0x4fbfcd['isAdded'])['map'](_0x1eeb6f=>_0x1eeb6f['id']);let _0x29febd=0x0;const _0x3b1682=this['_makeTape'](_0x13237a['model'][_0x506067]['deletions']);_0x3b1682['forEach'](_0x220f25=>{_0x220f25['isRemoved']?_0x220f25['id']=_0x19778f++:_0x220f25['id']=_0x14906e[_0x29febd++];}),this['_processTape'](_0x3b1682),this['_setDistance'](_0x4fd0fe,'isAdded'),this['_setDistance'](_0x3b1682,'isRemoved'),_0x13237a==_0x1c6b62&&this['_markMarkers'](_0x4fd0fe,_0x5b6fad),_0x4fd0fe=this['_joinTapes'](_0x4fd0fe,_0x3b1682),this['_refreshStartEndIndex'](_0x4fd0fe),this['_setDistance'](_0x4fd0fe,'isRemoved');}_0x4fd0fe=_0x4fd0fe['filter'](_0x3229de=>!(_0x3229de['isAdded']&&_0x3229de['isRemoved']));const _0x5aedb1=new Map(_0x153f1b['model'][_0x506067]['deletions']['markers']),_0x4419b5=new Set(_0x5b6fad['keys']());for(const _0x2d29a3 of _0x5aedb1['keys']())_0x4419b5['delete'](_0x2d29a3);this['_markSuggestions'](_0x4fd0fe,_0x4419b5),this['_fixObsoleteTags'](_0x4fd0fe),_0x4fd0fe=this['_removeMissingPairs'](_0x4fd0fe),_0x4fd0fe=this['_markMismatchedRemovedTags'](_0x4fd0fe),_0x4fd0fe=this['_removeUnsupportedChanges'](_0x4fd0fe);const {root:_0x1fbfe0,changes:_0x3543b7}=this['_makeModelFromTape'](_0x4fd0fe,_0x438637,_0x506067);_0x4cb504['model'][_0x506067]=_0x1fbfe0;const _0xbfec30=_0x4b3305['get'](_0x506067);if(_0xbfec30){const _0x26cf97=_0x438637['get'](_0xbfec30['userId']),_0x7ae464=new r({'author':_0x26cf97,'type':_0xbfec30['isAttached']?'add':'remove','data':{'isOnRoot':!0x0},'createdAt':new Date(),'rootName':_0x506067});_0x3543b7['unshift'](_0x7ae464),_0x4cb504['attributes'][_0x506067]['revisionHistoryAttachChange']=_0x7ae464['id'];}_0x4cb504['changes']=_0x4cb504['changes']['concat'](_0x3543b7);}return _0x4cb504;}['_markMarkers'](_0x2b7748,_0x520e5e){for(let _0x597c65=0x0;_0x597c65<_0x2b7748['length'];_0x597c65++)for(const [_0x313e2e,_0x652c71]of _0x520e5e)_0x652c71['start']['isEqual'](_0x2b7748[_0x597c65]['previousPosition'])&&_0x2b7748[_0x597c65]['markersStart']['push'](_0x313e2e),_0x652c71['end']['isEqual'](_0x2b7748[_0x597c65]['nextPosition'])&&_0x2b7748[_0x597c65]['markersEnd']['push'](_0x313e2e);}['_joinTapes'](_0x3216c4,_0x28ab69){let _0x2b8722=[],_0x1b2592=0x0,_0xdaa19f=0x0;for(;_0x1b2592<_0x3216c4['length']||_0xdaa19f<_0x28ab69['length'];){const _0x5a5eea=_0x3216c4[_0x1b2592]||{},_0xf41474=_0x28ab69[_0xdaa19f]||{};if(_0x5a5eea['id']==_0xf41474['id'])_0x1b2592++,_0xdaa19f++,_0x2b8722['push'](_0x5a5eea);else{if(_0xf41474['isRemoved']&&_0x5a5eea['isAdded']){const {commonTape:_0x50a327,iEnd:_0xa0d428,jEnd:_0x30bd8d}=this['_threeWayMerge'](_0x3216c4,_0x1b2592,_0x28ab69,_0xdaa19f);_0x2b8722=_0x2b8722['concat'](_0x50a327),_0x1b2592=_0xa0d428,_0xdaa19f=_0x30bd8d;}else _0xf41474['isRemoved']?(_0xdaa19f++,_0x2b8722['push'](_0xf41474)):(_0x1b2592++,_0x2b8722['push'](_0x5a5eea));}}return _0x2b8722;}['_markSuggestions'](_0x52fd0c,_0x2b14de){const _0x346f33=[];for(let _0x121d5a=0x0;_0x121d5a<_0x52fd0c['length'];_0x121d5a++){for(let _0x208829=0x0;_0x208829<_0x52fd0c[_0x121d5a]['markersStart']['length'];_0x208829++){const _0x5d8227=_0x52fd0c[_0x121d5a]['markersStart'][_0x208829];if(!_0x2b14de['has'](_0x5d8227))continue;const {group:_0x1eb0e1,type:_0x5304db,authorId:_0x3ec9d2}=_0x520164(_0x5d8227);'revision-suggestion'!=_0x1eb0e1||'insertion'!=_0x5304db&&'deletion'!=_0x5304db||(_0x346f33['unshift']({'type':_0x5304db,'name':_0x5d8227,'userId':_0x3ec9d2}),_0x52fd0c[_0x121d5a]['markersStart']['splice'](_0x208829,0x1),_0x208829--);}_0x544189(_0x52fd0c[_0x121d5a]);for(let _0xe6a0e2=0x0;_0xe6a0e2<_0x52fd0c[_0x121d5a]['markersEnd']['length'];_0xe6a0e2++){const _0x308f7c=_0x52fd0c[_0x121d5a]['markersEnd'][_0xe6a0e2];if(!_0x2b14de['has'](_0x308f7c))continue;const {group:_0x507677,type:_0x591c47}=_0x520164(_0x308f7c);if('revision-suggestion'!=_0x507677||'insertion'!=_0x591c47&&'deletion'!=_0x591c47)continue;_0x52fd0c[_0x121d5a]['markersEnd']['splice'](_0xe6a0e2,0x1),_0xe6a0e2--;const _0x132e07=_0x346f33['findIndex'](_0x449985=>_0x449985['name']==_0x308f7c);_0x132e07>-0x1&&_0x346f33['splice'](_0x132e07,0x1);}}function _0x520164(_0x29dbb6){const _0x2e5d56=_0x29dbb6['split'](':');return{'group':_0x2e5d56[0x0],'type':_0x2e5d56[0x1],'subType':_0x2e5d56['length']>=0x5?_0x2e5d56[0x2]:null,'id':_0x2e5d56['length']<0x5?_0x2e5d56[0x2]:_0x2e5d56[0x3],'authorId':_0x2e5d56['length']<0x5?_0x2e5d56[0x3]:_0x2e5d56[0x4],'markerCount':0x6==_0x2e5d56['length']?_0x2e5d56[0x5]:null};}function _0x544189(_0x126c52){for(let _0x4b6db9=0x0;_0x4b6db9<_0x346f33['length'];_0x4b6db9++){if(_0x126c52['isAdded']&&'insertion'==_0x346f33[_0x4b6db9]['type'])return _0x126c52['isAddSuggestion']=_0x346f33[_0x4b6db9],void delete _0x126c52['isAdded'];if(!_0x126c52['isAdded']&&!_0x126c52['isRemoved']&&'deletion'==_0x346f33[_0x4b6db9]['type'])return void(_0x126c52['isRemoveSuggestion']=_0x346f33[_0x4b6db9]);}}}['_setDistance'](_0x242e5e,_0x40d34b){let _0x99df9a=0x0,_0x3ded1f=!0x1;const _0x5dc6c2=new Map();for(const _0x2d8cf0 of _0x242e5e)_0x2d8cf0[_0x40d34b]?_0x3ded1f&&(_0x99df9a++,_0x3ded1f=!0x1):(_0x99df9a++,_0x3ded1f=!0x0),_0x5dc6c2['set'](_0x2d8cf0['id'],_0x99df9a);for(let _0x4b61a8=0x0;_0x4b61a8<_0x242e5e['length'];_0x4b61a8++){if('isRemoved'==_0x40d34b&&_0x242e5e[_0x4b61a8]['isAdded']||'isAdded'==_0x40d34b&&_0x242e5e[_0x4b61a8]['isRemoved'])continue;if('text'==_0x242e5e[_0x4b61a8]['type']){_0x242e5e[_0x4b61a8]['distance']=0x0;continue;}const _0x281093=_0x5dc6c2['get'](_0x242e5e[_0x4b61a8]['pairId']),_0x256000=_0x5dc6c2['get'](_0x242e5e[_0x4b61a8]['id']);_0x242e5e[_0x4b61a8]['distance']=_0x281093-_0x256000;}}['_getRevisionsRange'](_0x451d7b,_0x3def10,_0x117180=!0x1){const _0x4ebdb4=[];let _0x1b3646=this['repository']['getIndex'](_0x451d7b),_0x2e8f74=this['repository']['getIndex'](_0x3def10);for(-0x1==_0x2e8f74&&(_0x2e8f74=this['repository']['_revisions']['length'],_0x117180=!0x1);_0x1b3646<_0x2e8f74;)_0x4ebdb4['push'](this['repository']['getRevision'](_0x1b3646)),_0x1b3646++;return _0x117180&&_0x4ebdb4['push'](this['repository']['getRevision'](_0x1b3646)),_0x4ebdb4;}['_threeWayMerge'](_0x3dd972,_0x48857f,_0x181d6f,_0x398d7e){const _0x5e743d=this['editor']['model']['schema'];let _0x22baaf=_0x48857f;for(;_0x3dd972[_0x22baaf]&&_0x3dd972[_0x22baaf]['isAdded'];)_0x22baaf++;let _0x13620a=_0x398d7e;for(;_0x181d6f[_0x13620a]&&_0x181d6f[_0x13620a]['isRemoved'];)_0x13620a++;_0x71a1fe(_0x3dd972,_0x48857f,_0x22baaf),_0x71a1fe(_0x181d6f,_0x398d7e,_0x13620a);const _0x33c151=_0x181d6f['slice'](_0x398d7e,_0x13620a)['concat'](_0x3dd972['slice'](_0x48857f,_0x22baaf));return _0x33c151['sort']((_0x55469e,_0x4cb31e)=>_0x55469e['side']!=_0x4cb31e['side']?_0x55469e['side']-_0x4cb31e['side']:_0x55469e['level']!=_0x4cb31e['level']?_0x55469e['level']-_0x4cb31e['level']:_0x55469e['distance']!=_0x4cb31e['distance']?_0x4cb31e['distance']-_0x55469e['distance']:!!_0x55469e['isAdded']!=!!_0x4cb31e['isAdded']?-0x1==_0x55469e['side']||0x0==_0x55469e['side']?_0x55469e['isAdded']?-0x1:0x1:_0x55469e['isAdded']?0x1:-0x1:_0x55469e['index']-_0x4cb31e['index']),{'commonTape':_0x33c151,'iEnd':_0x22baaf,'jEnd':_0x13620a};function _0x71a1fe(_0x19c9e0,_0x2d6423,_0x320b60){let _0x4c27f6=-0x1,_0x41ae54=Number['POSITIVE_INFINITY'],_0x5f0c64=!0x0;for(let _0x8a5827=_0x2d6423;_0x8a5827<_0x320b60;_0x8a5827++)if(_0x5e743d['isInline'](_0x19c9e0[_0x8a5827]['item'])||(_0x5f0c64=!0x1),_0x19c9e0[_0x8a5827]['item']['startIndex']<_0x2d6423&&(_0x4c27f6=_0x8a5827),_0x19c9e0[_0x8a5827]['item']['endIndex']>=_0x320b60){_0x41ae54=_0x8a5827;break;}_0x5f0c64&&(_0x4c27f6=_0x320b60-0x1);for(let _0x3affe1=_0x2d6423;_0x3affe1<_0x320b60;_0x3affe1++)_0x19c9e0[_0x3affe1]['side']=_0x3affe1<=_0x4c27f6?-0x1:_0x3affe1<_0x41ae54?0x0:0x1,_0x19c9e0[_0x3affe1]['index']=_0x3affe1;let _0x116322=0x0;for(let _0x5b20f2=_0x2d6423;_0x5b20f2<=_0x4c27f6;_0x5b20f2++)0x0==_0x19c9e0[_0x5b20f2]['distance']?_0x19c9e0[_0x5b20f2]['level']=_0x116322:(_0x116322++,_0x19c9e0[_0x5b20f2]['level']=_0x116322,_0x116322++);for(let _0xaed506=_0x2d6423;_0xaed506<_0x320b60;_0xaed506++)0x0==_0x19c9e0[_0xaed506]['side']&&(_0x19c9e0[_0xaed506]['level']=_0x116322);_0x116322=0x0;for(let _0x1e491c=_0x320b60-0x1;_0x1e491c>=_0x41ae54;_0x1e491c--)0x0==_0x19c9e0[_0x1e491c]['distance']?_0x19c9e0[_0x1e491c]['level']=_0x116322:(_0x116322--,_0x19c9e0[_0x1e491c]['level']=_0x116322,_0x116322--);}}['_fixObsoleteTags'](_0x56de03){const _0x1b7578=new Map(),_0x582ecb=this['editor']['model']['schema'];for(let _0x4eca10=0x1;_0x4eca10<_0x56de03['length'];_0x4eca10++){let _0x3177fa,_0x51a03d,_0xe9cbd8;const _0x3a90b7=_0x56de03[_0x4eca10],_0x1ac09d=_0x56de03[_0x4eca10-0x1];if('text'==_0x3a90b7['type'])continue;if(_0x3a90b7['type']!=_0x1ac09d['type'])continue;if(!_0x582ecb['isBlock'](_0x1ac09d['item'])||_0x582ecb['isLimit'](_0x1ac09d['item']))continue;if(!_0x582ecb['isBlock'](_0x3a90b7['item'])||_0x582ecb['isLimit'](_0x3a90b7['item']))continue;if((_0x56de03[_0x4eca10]['isAdded']||_0x56de03[_0x4eca10]['isAddSuggestion'])&&_0x56de03[_0x4eca10-0x1]['isRemoved'])_0x3177fa=_0x56de03[_0x4eca10],_0x51a03d=_0x56de03[_0x4eca10-0x1],_0xe9cbd8=_0x4eca10-0x1;else{if(!_0x56de03[_0x4eca10]['isRemoved']||!_0x56de03[_0x4eca10-0x1]['isAdded']&&!_0x56de03[_0x4eca10-0x1]['isAddSuggestion'])continue;_0x3177fa=_0x56de03[_0x4eca10-0x1],_0x51a03d=_0x56de03[_0x4eca10],_0xe9cbd8=_0x4eca10;}const _0x1ee7f5=_0x3177fa['level']==_0x51a03d['level'],_0x192474=Math['abs'](_0x3177fa['level'])<Math['abs'](_0x51a03d['level'])&&0x0==_0x51a03d['distance'];(_0x1ee7f5||_0x192474)&&(_0x1b7578['set'](_0x51a03d['id'],_0x3177fa['id']),_0x56de03['splice'](_0xe9cbd8,0x1),_0x4eca10--,_0x3177fa['isAdded']=!0x1);}for(let _0x41fd18=0x0;_0x41fd18<_0x56de03['length'];_0x41fd18++)_0x1b7578['has'](_0x56de03[_0x41fd18]['pairId'])&&(_0x56de03[_0x41fd18]['pairId']=_0x1b7578['get'](_0x56de03[_0x41fd18]['pairId']));}['_removeMissingPairs'](_0x48c8ad){const _0x3259a0=new Set(_0x48c8ad['map'](_0x5f252f=>_0x5f252f['id']));for(let _0xee3ce7=0x0;_0xee3ce7<_0x48c8ad['length'];_0xee3ce7++)_0x3259a0['has'](_0x48c8ad[_0xee3ce7]['pairId'])||0x0==_0x48c8ad[_0xee3ce7]['distance']||(_0x48c8ad[_0xee3ce7]['isIncorrect']=!0x0);return _0x48c8ad['filter'](_0x55c4ea=>!_0x55c4ea['isIncorrect']);}['_markMismatchedRemovedTags'](_0x1fcae9){const _0x32289f=new Set();for(let _0x2bcd14=0x0;_0x2bcd14<_0x1fcae9['length'];_0x2bcd14++){if(_0x32289f['has'](_0x1fcae9[_0x2bcd14]['id'])&&_0x1fcae9[_0x2bcd14]['isRemoved']&&(_0x1fcae9[_0x2bcd14]['isIncorrect']=!0x0),_0x1fcae9[_0x2bcd14]['isIncorrect'])continue;if(0x0==_0x1fcae9[_0x2bcd14]['distance'])continue;if('elementStart'!=_0x1fcae9[_0x2bcd14]['type'])continue;if(null==_0x1fcae9[_0x2bcd14]['pairId'])continue;let _0x1d2c28=_0x2bcd14+0x1,_0x211b75=0x0;for(;_0x1fcae9[_0x1d2c28]['id']!=_0x1fcae9[_0x2bcd14]['pairId'];)'elementStart'==_0x1fcae9[_0x1d2c28]['type']?_0x211b75++:'elementEnd'==_0x1fcae9[_0x1d2c28]['type']&&_0x211b75--,_0x1d2c28++;if(0x0!=_0x211b75){if(_0x1fcae9[_0x2bcd14]['isRemoved'])_0x1fcae9[_0x2bcd14]['isIncorrect']=!0x0;else{for(;_0x1d2c28!=_0x2bcd14;)_0x1fcae9[_0x1d2c28]['isRemoved']&&0x0!=_0x1fcae9[_0x1d2c28]['distance']&&(_0x1fcae9[_0x1d2c28]['isIncorrect']=!0x0,_0x32289f['add'](_0x1fcae9[_0x1d2c28]['pairId'])),_0x1d2c28--;}}}return _0x1fcae9['filter'](_0x3af758=>!_0x3af758['isIncorrect']);}['_removeUnsupportedChanges'](_0x473673){const _0x53e234=this['editor']['model']['schema'];for(let _0x4a3572=0x0;_0x4a3572<_0x473673['length'];_0x4a3572++){if(!(_0x473673[_0x4a3572]['isAdded']||_0x473673[_0x4a3572]['isAddSuggestion']||_0x473673[_0x4a3572]['isRemoved']||_0x473673[_0x4a3572]['isRemoveSuggestion']))continue;if(0x0==_0x473673[_0x4a3572]['distance'])continue;const _0x558b82=_0x473673[_0x4a3572]['item'];_0x53e234['isBlock'](_0x558b82)||_0x53e234['isLimit'](_0x558b82)||(_0x473673[_0x4a3572]['isAdded']&&delete _0x473673[_0x4a3572]['isAdded'],_0x473673[_0x4a3572]['isAddSuggestion']&&delete _0x473673[_0x4a3572]['isAddSuggestion'],_0x473673[_0x4a3572]['isRemoveSuggestion']&&delete _0x473673[_0x4a3572]['isRemoveSuggestion'],_0x473673[_0x4a3572]['isRemoved']&&(_0x473673[_0x4a3572]['isIncorrect']=!0x0));}return _0x473673['filter'](_0x2ad6f4=>!_0x2ad6f4['isIncorrect']);}['_makeModelFromTape'](_0xa1dc1b,_0x44ec55,_0x151af7){const _0x5601d0=new wt(),_0x4ad40a=[],_0x4c6bae=new Map(),_0x3cf9cc=this['editor']['model'],_0x10369b=_0x3cf9cc['schema'],_0x120420=[_0x5601d0],_0x2a16b8={},_0x3e535e={'isAdded':[],'isRemoved':[],'isAddSuggestion':[],'isRemoveSuggestion':[]};let _0x3ec0e5=null;const _0x2f0bba=[0x0];for(let _0x844334=0x0;_0x844334<_0xa1dc1b['length'];_0x844334++){let _0x142d31,_0x2135fc;if('elementStart'===_0xa1dc1b[_0x844334]['type']){_0x142d31=_0x3cf9cc['createPositionFromPath'](_0x5601d0,_0x2f0bba);const _0x114071=new ft(_0xa1dc1b[_0x844334]['item']['name'],_0xa1dc1b[_0x844334]['item']['getAttributes']());_0x120420[0x0]['_appendChild'](_0x114071),_0x2f0bba['push'](0x0),_0x120420['unshift'](_0x114071),_0x2135fc=_0x3cf9cc['createPositionFromPath'](_0x5601d0,_0x2f0bba),_0x3ec0e5=null;}else{if('elementEnd'===_0xa1dc1b[_0x844334]['type'])_0x120420['shift'](),_0x142d31=_0x3cf9cc['createPositionFromPath'](_0x5601d0,_0x2f0bba),_0x2f0bba['pop'](),_0x2f0bba[_0x2f0bba['length']-0x1]++,_0x2135fc=_0x3cf9cc['createPositionFromPath'](_0x5601d0,_0x2f0bba),_0x3ec0e5=null;else{if(_0x142d31=_0x3cf9cc['createPositionFromPath'](_0x5601d0,_0x2f0bba),_0x3ec0e5&&_0x47ec35(_0x3ec0e5,_0xa1dc1b[_0x844334]['item']))_0x3ec0e5['_data']+=_0xa1dc1b[_0x844334]['item']['data'];else{const _0x41b390=new _t(_0xa1dc1b[_0x844334]['item']['data'],_0xa1dc1b[_0x844334]['item']['getAttributes']());_0x120420[0x0]['_appendChild'](_0x41b390),_0x3ec0e5=_0x41b390;}_0x2f0bba[_0x2f0bba['length']-0x1]+=_0xa1dc1b[_0x844334]['item']['offsetSize'],_0x2135fc=_0x3cf9cc['createPositionFromPath'](_0x5601d0,_0x2f0bba);}}for(const _0x3f2158 of _0xa1dc1b[_0x844334]['markersStart'])_0x4c6bae['set'](_0x3f2158,{'start':_0x142d31,'end':null});_0x5d6f52('isRemoveSuggestion',_0x844334,_0x142d31,_0x2135fc),_0x5d6f52('isAddSuggestion',_0x844334,_0x142d31,_0x2135fc),_0x5d6f52('isRemoved',_0x844334,_0x142d31,_0x2135fc),_0x5d6f52('isAdded',_0x844334,_0x142d31,_0x2135fc);for(const _0x577af7 of _0xa1dc1b[_0x844334]['markersEnd']){_0x4c6bae['get'](_0x577af7)['end']=_0x2135fc;}}for(const [_0xe24c0c,_0x1a546c]of _0x4c6bae){const _0x3ae858=this['editor']['model']['createRange'](_0x1a546c['start'],_0x1a546c['end']);_0x5601d0['markers']['set'](_0xe24c0c,_0x3ae858);}return _0x4ad40a['sort']((_0x1e3b4f,_0x5847cb)=>{const _0x8c7599=_0x5601d0['markers']['get']('revision:'+_0x1e3b4f['id']),_0x1d7d9c=_0x5601d0['markers']['get']('revision:'+_0x5847cb['id']);return _0x8c7599['start']['isBefore'](_0x1d7d9c['start'])?-0x1:_0x8c7599['start']['isAfter'](_0x1d7d9c['start'])?0x1:_0x8c7599['end']['isBefore'](_0x1d7d9c['end'])?-0x1:_0x8c7599['end']['isAfter'](_0x1d7d9c['end'])?0x1:'add'===_0x1e3b4f['type']?-0x1:0x1;}),{'root':_0x5601d0,'changes':_0x4ad40a};function _0x5d6f52(_0x5d7dfa,_0x264c5a,_0x125a97,_0x3574d5){const _0x41efad=!!_0xa1dc1b[_0x264c5a][_0x5d7dfa],_0x13a36b=_0x41efad?_0xa1dc1b[_0x264c5a][_0x5d7dfa]['userId']:null,_0x35fcb6=_0x264c5a===_0xa1dc1b['length']-0x1,_0x3885b1=_0x3e535e[_0x5d7dfa][0x0],_0xd5bdad=_0x10369b['isObject'](_0xa1dc1b[_0x264c5a]['item']);!_0x2a16b8[_0x5d7dfa]&&_0x41efad?_0x2a16b8[_0x5d7dfa]={'start':_0x125a97,'tapeItem':_0xa1dc1b[_0x264c5a],'userId':_0x13a36b,'type':_0x5d7dfa}:_0x2a16b8[_0x5d7dfa]&&!_0x41efad?(_0x2a16b8[_0x5d7dfa]['end']=_0x125a97,_0x57c3e8(_0x2a16b8[_0x5d7dfa]),_0x2a16b8[_0x5d7dfa]=null):_0x2a16b8[_0x5d7dfa]&&_0x41efad&&_0x2a16b8[_0x5d7dfa]['userId']!==_0x13a36b&&(_0x2a16b8[_0x5d7dfa]['end']=_0x125a97,_0x3885b1&&_0x3885b1['userId']===_0x2a16b8[_0x5d7dfa]['userId']||_0x57c3e8(_0x2a16b8[_0x5d7dfa]),_0x2a16b8[_0x5d7dfa]={'start':_0x125a97,'tapeItem':_0xa1dc1b[_0x264c5a],'userId':_0x13a36b,'type':_0x5d7dfa}),_0x2a16b8[_0x5d7dfa]&&_0xd5bdad&&('elementStart'!==_0xa1dc1b[_0x264c5a]['type']||_0x3885b1&&_0x3885b1['userId']===_0x13a36b||_0x3e535e[_0x5d7dfa]['unshift']({'userId':_0x13a36b,'object':_0xa1dc1b[_0x264c5a]['item'],'change':_0x2a16b8[_0x5d7dfa]}),'elementEnd'===_0xa1dc1b[_0x264c5a]['type']&&_0x3885b1&&_0x3885b1['object']===_0xa1dc1b[_0x264c5a]['item']&&(_0x3e535e[_0x5d7dfa]['shift'](),_0x2a16b8[_0x5d7dfa]=_0x3885b1['change'])),_0x2a16b8[_0x5d7dfa]&&_0x35fcb6&&(_0x2a16b8[_0x5d7dfa]['end']=_0x3574d5,_0x57c3e8(_0x2a16b8[_0x5d7dfa]),_0x2a16b8[_0x5d7dfa]=null);}function _0x57c3e8({start:_0x2e0194,end:_0xe51e16,tapeItem:_0x90080,userId:_0x1d3be4,type:_0x125206}){const _0x373ef2=_0x90080['item'],_0x28bdb7=_0x3cf9cc['schema']['isBlock'](_0x373ef2)&&!_0x3cf9cc['schema']['isLimit'](_0x373ef2),_0x1336bf=_0x2e0194['nodeAfter']==_0xe51e16['parent']&&_0xe51e16['isAtStart'];if(_0x28bdb7&&_0x1336bf)return;const _0x3cb4ed=_0x3cf9cc['createRange'](_0x2e0194,_0xe51e16),_0x46314f=_0x44ec55['get'](_0x1d3be4),_0x48f2e5=new r({'author':_0x46314f,'type':'isAdded'==_0x125206||'isAddSuggestion'==_0x125206?'add':'remove','data':{'isSuggestion':'isAddSuggestion'==_0x125206||'isRemoveSuggestion'==_0x125206},'createdAt':new Date(),'rootName':_0x151af7});_0x4ad40a['push'](_0x48f2e5),_0x5601d0['markers']['set']('revision:'+_0x48f2e5['id'],_0x3cb4ed);}function _0x47ec35(_0x5e66e2,_0x5a1e00){const _0x81d177=_0x5e66e2['getAttributes'](),_0x4e723b=_0x5a1e00['getAttributes']();for(const _0x861490 of _0x81d177){if(_0x861490[0x1]!==_0x5a1e00['getAttribute'](_0x861490[0x0]))return!0x1;_0x4e723b['next']();}return _0x4e723b['next']()['done'];}}['_setConversion'](){this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'revision'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision','view':_0x46bf9d=>{const _0x26b527=_0x46bf9d['markerName']['split'](':')[0x1],_0x10b676=this['_getChangeFromId'](_0x26b527);if(!_0x10b676)return null;const _0x3e967c='add'==_0x10b676['type']?'insertion':'deletion',_0x5016c2=['ck-suggestion-marker','ck-suggestion-marker-'+_0x3e967c];return _0x10b676['data']['isSuggestion']&&_0x5016c2['push']('ck-suggestion-marker-'+_0x3e967c+'-new'),this['activeChange']==_0x10b676&&_0x5016c2['push']('ck-suggestion-marker--active'),{'classes':_0x5016c2,'attributes':{'data-change-id':_0x26b527}};}}),this['editor']['conversion']['for']('upcast')['add'](_0x3427f5=>{_0x3427f5['on']('element:pre',(_0x687cb3,_0x48063d,_0x23ba2a)=>{const _0x4745c5=_0x48063d['viewItem']['getChild'](0x0);if(!_0x4745c5||!_0x4745c5['is']('element','code'))return;if(!_0x23ba2a['consumable']['consume'](_0x4745c5,{'attributes':['vid_start','vid_end']}))return;const _0x310907=_0x48063d['modelRange']['start']['nodeAfter'];_0x23ba2a['writer']['setAttribute']('vid_start',_0x4745c5['getAttribute']('vid_start'),_0x310907),_0x23ba2a['writer']['setAttribute']('vid_end',_0x4745c5['getAttribute']('vid_end'),_0x310907);},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['add'](_0xd360de=>{_0xd360de['on']('element',(_0x4b2de7,_0x26cb79,_0x9afef3)=>{if(!_0x9afef3['consumable']['consume'](_0x26cb79['viewItem'],{'attributes':['vid_start','vid_end']}))return;if(_0x26cb79['modelRange']['isCollapsed'])return;const _0x3df32c=_0x26cb79['modelRange']['start']['nodeAfter'];_0x3df32c['hasAttribute']('vid_start')||_0x3df32c['hasAttribute']('vid')||(_0x9afef3['writer']['setAttribute']('vid_start',_0x26cb79['viewItem']['getAttribute']('vid_start'),_0x3df32c),_0x9afef3['writer']['setAttribute']('vid_end',_0x26cb79['viewItem']['getAttribute']('vid_end'),_0x3df32c));},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['elementToAttribute']({'view':{'name':'span','attributes':{'vid':!0x0}},'model':{'key':'vid','value':_0x3611ff=>_0x3611ff['getAttribute']('vid')}}),this['editor']['model']['schema']['on']('checkAttribute',(_0xa462f3,[,_0x3f0af4])=>{['vid_start','vid_end','vid']['includes'](_0x3f0af4)&&(_0xa462f3['return']=!0x0,_0xa462f3['stop']());},{'priority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['add'](_0x4ec303=>{_0x4ec303['on']('attribute:vid',(_0x4546f7,_0x5b3613,_0x43d044)=>{if('\x20'!=_0x5b3613['item']['data']||_0x5b3613['item']['parent']['maxOffset']>0x1)return;if(!_0x43d044['consumable']['consume'](_0x5b3613['item'],_0x4546f7['name']))return;const _0x26e328=_0x43d044['writer'],_0x21cbd2=_0x43d044['mapper']['toViewRange'](_0x5b3613['range']);_0x26e328['wrap'](_0x21cbd2,_0x26e328['createAttributeElement']('span'));});}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',function(_0x395f8a){const _0x19f705=_0x395f8a['plugins']['get']('RevisionViewer');return(_0x3f1dba,_0x5e87cb,_0x1f255b)=>{const _0x391f7d=_0x5e87cb['markerName']['split'](':')[0x1],_0x29a2ce=_0x19f705['_getChangeFromId'](_0x391f7d);if(!_0x29a2ce)return null;const _0x3564c7='add'==_0x29a2ce['type']?'split':'merge';if(!_0x1f255b['consumable']['test'](_0x5e87cb['markerRange'],_0x3f1dba['name']))return;const _0x278b60=_0x5e87cb['markerRange']['getWalker'](),_0x373b94=_0x5e87cb['markerRange']['start'],_0x490564=_0x395f8a['model']['schema'];let _0x338d1b=null,_0x35d926=null,_0x3ff031=!0x1,_0x30a9ec=!0x1;for(const _0x38191a of _0x278b60){const _0x540ef7=_0x38191a['item'];_0x3ff031=_0x3ff031||_0x490564['isContent'](_0x540ef7);const _0x2d7151=_0x1f255b['mapper']['toViewElement'](_0x540ef7);if(_0x2d7151&&_0x2d7151['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x38191a['type']&&(_0x490564['isBlock'](_0x540ef7)&&!_0x490564['isLimit'](_0x540ef7)&&(_0x540ef7['nextSibling']||_0x373b94['isAtEnd']?_0x338d1b&&_0x338d1b['parent']==_0x540ef7||(_0x338d1b=_0x540ef7,_0xa15d76(_0x38191a['previousPosition']),_0x30a9ec=!0x0):_0x35d926=_0x35d926||_0x38191a['previousPosition']));}function _0xa15d76(_0x2eb685){const _0x8713e=_0x1f255b['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x3564c7}),_0x1ac8cb=_0x1f255b['mapper']['toViewPosition'](_0x2eb685);_0x29a2ce['data']['isSuggestion']&&_0x1f255b['writer']['addClass']('ck-suggestion-marker-'+_0x3564c7+'-new',_0x8713e),_0x19f705['activeChange']==_0x29a2ce&&_0x1f255b['writer']['addClass']('ck-suggestion-marker--active',_0x8713e),_0x1f255b['writer']['insert'](_0x1ac8cb,_0x8713e),_0x1f255b['mapper']['bindElementToMarker'](_0x8713e,_0x5e87cb['markerName']);}_0x3ff031||_0x30a9ec||!_0x35d926||_0xa15d76(_0x35d926);};}(this['editor']),{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('removeMarker:revision',(_0x74d113,_0x5795bc,_0x3a2b20)=>{const _0x51e536=_0x3a2b20['mapper']['markerNameToElements'](_0x5795bc['markerName']);if(_0x51e536){for(const _0x3763a0 of _0x51e536)(_0x3763a0['hasClass']('ck-suggestion-marker-split')||_0x3763a0['hasClass']('ck-suggestion-marker-merge'))&&(_0x3a2b20['mapper']['unbindElementFromMarkerName'](_0x3763a0,_0x5795bc['markerName']),_0x3a2b20['writer']['remove'](_0x3763a0));}},{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',(_0x346ea6,_0x4e16b7,_0x3070ca)=>{const _0x4f117c=_0x4e16b7['markerName']['split'](':')[0x1],_0x5d7152=this['_getChangeFromId'](_0x4f117c);if(!_0x5d7152)return null;const _0x10cf4f='add'==_0x5d7152['type']?'split':'merge';if(_0x3070ca['consumable']['test'](_0x4e16b7['markerRange'],_0x346ea6['name']))for(const _0x5c47b1 of _0x4e16b7['markerRange']['getItems']()){if(!_0x5c47b1['is']('element','softBreak'))continue;const _0x49179d=_0x3070ca['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x10cf4f}),_0x2fc8e7=_0x3070ca['mapper']['toViewPosition'](this['editor']['model']['createPositionBefore'](_0x5c47b1));_0x5d7152['data']['isSuggestion']&&_0x3070ca['writer']['addClass']('ck-suggestion-marker-'+_0x10cf4f+'-new',_0x49179d),this['activeChange']==_0x5d7152&&_0x3070ca['writer']['addClass']('ck-suggestion-marker--active',_0x49179d),_0x3070ca['writer']['insert'](_0x2fc8e7,_0x49179d),_0x3070ca['mapper']['bindElementToMarker'](_0x49179d,_0x4e16b7['markerName']);}},{'priority':'high'}),this['editor']['model']['document']['on']('change',()=>{this['editor']['editing']['view']['change'](_0x137cd8=>{for(const _0x475113 of this['editor']['model']['document']['getRootNames']()){const _0x18e23c=this['editor']['model']['document']['getRoot'](_0x475113),_0xae0c7d=this['editor']['editing']['view']['document']['getRoot'](_0x475113);if(_0xae0c7d){const _0x22848d=_0x18e23c['getAttribute']('revisionHistoryAttachChange');if(_0x137cd8['removeAttribute']('data-change-id',_0xae0c7d),_0x137cd8['removeClass']('ck-revision-history-root-add',_0xae0c7d),_0x137cd8['removeClass']('ck-revision-history-root-remove',_0xae0c7d),_0x137cd8['removeClass']('ck-revision-history-root--active',_0xae0c7d),_0x22848d){const _0xa9e318=this['_getChangeFromId'](_0x22848d);if(!_0xa9e318)return null;_0x137cd8['setAttribute']('data-change-id',_0x22848d,_0xae0c7d),_0x137cd8['addClass']('ck-revision-history-root-'+_0xa9e318['type'],_0xae0c7d),this['activeChange']==_0xa9e318&&_0x137cd8['addClass']('ck-revision-history-root--active',_0xae0c7d);}}}});}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'comment','model':_0x50bc6b=>'revision-comment:'+_0x50bc6b,'converterPriority':'highest'}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'suggestion','model':_0xd70d82=>'revision-suggestion:'+_0xd70d82,'converterPriority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision-suggestion','view':_0xe4a677=>({'name':'suggestion:'+_0xe4a677,'group':'revision-suggestion'}),'converterPriority':'highest'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision-suggestion','view':_0x32f07f=>{const _0x10bc3f=_0x32f07f['markerName']['split'](':')[0x1];return'insertion'!=_0x10bc3f&&'deletion'!=_0x10bc3f?null:{'classes':['ck-suggestion-preview-marker','ck-suggestion-preview-marker-'+_0x10bc3f]};}}),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',(_0xb3562,_0x4fd9e3,_0x3fa1b6)=>{const _0x19e67f=_0x3fa1b6['mapper']['markerNameToElements'](_0x4fd9e3['markerName']);if(_0x19e67f){for(const _0x3e0e42 of _0x19e67f)_0x3e0e42['is']('uiElement')&&(_0x3fa1b6['mapper']['unbindElementFromMarkerName'](_0x3e0e42,_0x4fd9e3['markerName']),_0x3fa1b6['writer']['remove'](_0x3e0e42));}},{'priority':'high'});}['_getChangeFromId'](_0x5c1a42){return this['_changeIdToChange']['get'](_0x5c1a42);}['_getViewForChange'](_0x35433f){return this['_changeView']&&this['_changeView']['destroy'](),this['_changeView']=new Z(this['editor']['locale'],_0x35433f),this['_changeView'];}['_initInteractions'](){this['editor']['model']['document']['selection']['observeMarkers']('revision'),this['on']('change:activeView',(_0x3cbf83,_0x129d3e,_0x3d4eec,_0x2acd9f)=>{_0x2acd9f&&this['_balloon']['remove'](_0x2acd9f),_0x3d4eec&&(this['_balloon']['add']({'view':_0x3d4eec,'stackId':'revisionHistoryLabel','position':{'target':()=>{const _0x404e50=this['editor']['editing'],_0x353cbb=this['_getChangeFromId'](_0x3d4eec['changeId']);let _0x43b3e7;if(_0x353cbb['data']['isOnRoot']){const _0x506e5e=_0x404e50['view']['getDomRoot'](_0x353cbb['rootName']);_0x43b3e7=Array['from'](_0x506e5e['getClientRects']());}else{const _0x1b2b04=this['editor']['model']['markers']['get']('revision:'+_0x3d4eec['changeId']);_0x43b3e7=Array['from'](_0x404e50['mapper']['markerNameToElements'](_0x1b2b04['name']))['map'](_0x409601=>_0x404e50['view']['domConverter']['mapViewToDom'](_0x409601))['map'](_0x953fac=>Array['from'](_0x953fac['getClientRects']()))['flat']();}if(!this['_activeViewTarget'])return _0x43b3e7[0x0];return _0x43b3e7['find'](_0x54befd=>_0x54befd['top']-0x3<=this['_activeViewTarget']['y']&&_0x54befd['bottom']+0x3>=this['_activeViewTarget']['y']&&_0x54befd['left']-0x3<=this['_activeViewTarget']['x']&&_0x54befd['right']+0x3>=this['_activeViewTarget']['x'])||_0x43b3e7[0x0];}}}),this['_balloon']['showStack']('revisionHistoryLabel'));}),this['on']('change:activeChange',(_0x3d8da3,_0x2fea81,_0xd0b520,_0x5274a3)=>{this['activeView']=_0xd0b520?this['_getViewForChange'](_0xd0b520):null,this['editor']['model']['change'](()=>{const _0x1ba7be=this['editor']['editing'];_0x5274a3&&(_0x5274a3['data']['isOnRoot']?_0x1ba7be['view']['change'](_0x12f9a4=>{_0x12f9a4['removeClass']('ck-revision-history-root--active',_0x1ba7be['view']['document']['getRoot'](_0x5274a3['rootName']));}):_0x1ba7be['reconvertMarker']('revision:'+_0x5274a3['id'])),_0xd0b520&&(_0xd0b520['data']['isOnRoot']?_0x1ba7be['view']['change'](_0x41380f=>{_0x41380f['addClass']('ck-revision-history-root--active',_0x1ba7be['view']['document']['getRoot'](_0xd0b520['rootName']));}):_0x1ba7be['reconvertMarker']('revision:'+_0xd0b520['id']));});}),this['listenTo'](this['editor']['editing']['view']['document'],'mouseover',(_0x4cf40d,_0xeaa6b9)=>{if(this['activeChange'])return;const _0x3f42c8=this['_findChangeIdFromDomTarget'](_0xeaa6b9['target']),_0x2af5cc=this['_changeIdToChange']['get'](_0x3f42c8);_0x2af5cc?(this['_activeViewTarget']={'x':_0xeaa6b9['domEvent']['x'],'y':_0xeaa6b9['domEvent']['y']},this['activeView']=this['_getViewForChange'](_0x2af5cc)):(this['_activeViewTarget']=null,this['activeView']=null);}),this['listenTo'](this['editor']['editing']['view']['document'],'mousedown',(_0x46200a,_0x134dcc)=>{const _0x374c9d=this['_findChangeIdFromDomTarget'](_0x134dcc['target']),_0x5542b8=this['_changeIdToChange']['get'](_0x374c9d);_0x5542b8?(this['_activeViewTarget']={'x':_0x134dcc['domEvent']['x'],'y':_0x134dcc['domEvent']['y']},_0x5542b8===this['activeChange']?this['_balloon']['updatePosition']():this['activeChange']=_0x5542b8):(this['_activeViewTarget']=null,this['activeChange']=null);});}['_findChangeIdFromDomTarget'](_0x18c8df){do{const _0x2a358e=_0x18c8df['getAttribute']('data-change-id');if(_0x2a358e)return _0x2a358e;_0x18c8df=_0x18c8df['parent'];}while(_0x18c8df);return null;}['_cleanMarkers'](){this['editor']['model']['change'](_0x4390f6=>{for(const _0x2e45a5 of this['editor']['model']['markers'])_0x4390f6['removeMarker'](_0x2e45a5);});}}function et(_0x1cfa0f,_0x86962a){return(_0x34275e,_0x4f6105,_0x2fbd61)=>{if(!_0x2fbd61['consumable']['test'](_0x4f6105['markerRange'],_0x34275e['name']))return;const _0x2a7bce=_0x4f6105['markerRange']['getWalker'](),_0x419863=_0x4f6105['markerRange']['start'],_0x1b4fd4=_0x1cfa0f['model']['schema'];let _0x2c7f04=null,_0x58c68e=null,_0x4d1642=!0x1,_0xb82c63=!0x1;for(const _0x304e7f of _0x2a7bce){const _0x594d09=_0x304e7f['item'];_0x4d1642=_0x4d1642||_0x1b4fd4['isContent'](_0x594d09);const _0x2b7cf4=_0x2fbd61['mapper']['toViewElement'](_0x594d09);if(_0x2b7cf4&&_0x2b7cf4['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x304e7f['type']&&(_0x1b4fd4['isBlock'](_0x594d09)&&!_0x1b4fd4['isLimit'](_0x594d09)&&(_0x594d09['nextSibling']||_0x419863['isAtEnd']?_0x2c7f04&&_0x2c7f04['parent']==_0x594d09||(_0x2c7f04=_0x594d09,_0x3048d4(_0x304e7f['previousPosition']),_0xb82c63=!0x0):_0x58c68e=_0x58c68e||_0x304e7f['previousPosition']));}function _0x3048d4(_0x53ac27){const _0x191fca=_0x2fbd61['mapper']['toViewPosition'](_0x53ac27),_0x32de12=_0x2fbd61['writer']['createUIElement']('span',{'class':'ck-suggestion-preview-marker-'+_0x86962a});_0x2fbd61['writer']['insert'](_0x191fca,_0x32de12),_0x2fbd61['mapper']['bindElementToMarker'](_0x32de12,_0x4f6105['markerName']);}_0x4d1642||_0xb82c63||!_0x58c68e||_0x3048d4(_0x58c68e);};}class bt extends _0x583a22{constructor(_0x530308){super(_0x530308);const _0x1c8659=_0x530308['plugins']['get'](d);this['affectsData']=!0x1,this['listenTo'](_0x1c8659,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x1c8659,'change:isEnabled',()=>this['refresh']());}['execute'](){const _0x50d390=this['editor'],_0x1d98a9=_0x50d390['plugins']['get'](d),_0x4b52c1=_0x1d98a9['isReady']?_0x1d98a9['diff']['newRevisionId']:null;_0x50d390['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x4b52c1);}['refresh'](){const {isReady:_0x2589f2,isEnabled:_0x35aee3}=this['editor']['plugins']['get'](d);this['isEnabled']=_0x2589f2&&_0x35aee3;}}class yt extends _0x583a22{['_step'];constructor(_0x5c4f73,{direction:_0x5b2c5f}){super(_0x5c4f73);const _0x1270ea=_0x5c4f73['plugins']['get'](d);this['affectsData']=!0x1,this['_step']='forward'===_0x5b2c5f?0x1:-0x1,this['listenTo'](_0x1270ea,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x1270ea,'change:isEnabled',()=>this['refresh']()),this['listenTo'](_0x1270ea,'change:activeChange',()=>this['refresh']());}['execute'](){const _0xbc6dc8=this['editor'],_0x5768de=_0xbc6dc8['plugins']['get'](d),{isNavigationMode:_0x68dc83,currentChangeNumber:_0x1ec361}=_0x5768de;let _0x495c7;if(_0x5768de['activeChange']=_0x68dc83?_0x5768de['diff']['changes']['get'](_0x1ec361+this['_step']):_0x5768de['diff']['changes']['first'],_0x5768de['activeChange']['data']['isOnRoot'])_0x495c7=_0xbc6dc8['editing']['view']['getDomRoot'](_0x5768de['activeChange']['rootName']);else{const _0x116af0=_0xbc6dc8['model']['markers']['get']('revision:'+_0x5768de['activeChange']['id']);_0x495c7=_0x5847c6(_0xbc6dc8['editing'],_0x116af0);}_0x393f1d({'target':_0x495c7,'viewportOffset':0x28});}['refresh'](){const {isNavigationMode:_0x104e42,currentChangeNumber:_0x6deea7,numberOfChanges:_0x17c0bd,isReady:_0x1e54ee,isEnabled:_0x58fcf8}=this['editor']['plugins']['get'](d);this['isEnabled']=!!(_0x58fcf8&&_0x1e54ee&&_0x17c0bd)&&(!_0x104e42||(0x1===this['_step']?_0x6deea7<_0x17c0bd-0x1:_0x6deea7>0x0));}}class _i extends _0x2b2166{constructor(_0x4a2949){super(_0x4a2949);const _0x5261a0=this['bindTemplate'],_0x3f1c46=new _0x5f47dc(_0x4a2949),_0x276ecc=new _0x5f47dc(_0x4a2949);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',(_0x547d1d,_0xbae235)=>_0x547d1d&&_0xbae235>0x0),this['bind']('_statusText')['to'](this,'isReady',this,'currentChangeNumber',this,'numberOfChanges',this,'isNavigationMode',(_0xf3ece,_0x1967da,_0x46a94e,_0x4cdbc8)=>{if(!_0xf3ece)return y(_0x4a2949,'Loading...');if(!_0x46a94e)return y(_0x4a2949,'No\x20changes');const _0x1d27e6=y(_0x4a2949,'NUMBER_OF_CHANGES',_0x46a94e);return _0x4cdbc8?y(_0x4a2949,'X_OF_Y_CHANGES',[_0x1967da+0x1,_0x46a94e]):_0x1d27e6;}),_0x3f1c46['set']({'label':y(_0x4a2949,'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'}),_0x276ecc['set']({'label':y(_0x4a2949,'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'}),_0x3f1c46['bind']('isEnabled')['to'](this,'isBackwardNavigationEnabled'),_0x276ecc['bind']('isEnabled')['to'](this,'isForwardNavigationEnabled'),_0x3f1c46['on']('execute',()=>this['fire']('execute','backward')),_0x276ecc['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',_0x5261a0['if']('_isStatusLabelVisible','ck-hidden',_0x327b39=>!_0x327b39)]},'children':[{'text':_0x5261a0['to']('isNavigationMode',_0x974b7b=>_0x974b7b?y(_0x4a2949,'EDIT_X_OF_Y_REVISIONS')+':\x20':y(_0x4a2949,'Total')+':\x20')}]},{'text':_0x5261a0['to']('_statusText')}]},new _0x1d775a(),{'tag':'div','attributes':{'class':['ck-revision-history-ui__changes-navigation__navigation']},'children':[_0x3f1c46,_0x276ecc]}]});}}const ce='ck-editor__editable__loading-overlay';class de extends _0x26b929{static get['pluginName'](){return'RevisionViewerLoadingOverlay';}['show'](){const _0x365ffb=this['editor']['editing']['view'];_0x365ffb['change'](_0x4cf94f=>{for(const _0x18ddea of _0x365ffb['document']['roots'])_0x4cf94f['addClass'](ce,_0x18ddea);});}['hide'](){const _0x206db9=this['editor']['editing']['view'];_0x206db9['change'](_0x436679=>{for(const _0x5dbbfb of _0x206db9['document']['roots'])_0x436679['removeClass'](ce,_0x5dbbfb);});}}class R extends _0x26b929{static get['pluginName'](){return'RevisionViewerUI';}static get['requires'](){return[d,de];}['init'](){const _0x5b06fa=this['editor'],_0x5452c9=_0x5b06fa['plugins']['get'](d),_0x18953f=_0x5b06fa['plugins']['get'](de);_0x5b06fa['ui']['componentFactory']['add']('exitToEditing',_0x57a0e6=>{const _0x35fa24=new _0x5f47dc(_0x57a0e6);return _0x35fa24['set']({'label':y(_0x57a0e6,'Back\x20to\x20editing'),'icon':_0x584023['undo'],'withText':!0x0,'tooltip':!0x0,'class':'ck-revision-history-ui__back-to-editing'}),this['listenTo'](_0x35fa24,'execute',()=>{_0x5b06fa['config']['get']('revisionHistory')['closeRevisionViewerCallback']();}),_0x35fa24;}),_0x5b06fa['ui']['componentFactory']['add']('restoreRevision',_0x5193af=>{const _0x109f49=new _0x5f47dc(_0x5193af);return _0x109f49['set']({'label':y(_0x5193af,'Restore\x20this\x20revision'),'withText':!0x0,'tooltip':!0x0}),_0x109f49['bind']('isEnabled')['to'](_0x5b06fa['commands']['get']('restoreRevision')),this['listenTo'](_0x109f49,'execute',()=>_0x5b06fa['execute']('restoreRevision')),_0x109f49;}),_0x5b06fa['ui']['componentFactory']['add']('changesNavigation',_0x1aebca=>{const _0x5d7d20=new _i(_0x1aebca),_0x62d964=_0x5b06fa['commands']['get']('showPreviousChange'),_0x70bf47=_0x5b06fa['commands']['get']('showNextChange');return _0x5d7d20['bind']('isBackwardNavigationEnabled')['to'](_0x62d964,'isEnabled'),_0x5d7d20['bind']('isForwardNavigationEnabled')['to'](_0x70bf47,'isEnabled'),_0x5d7d20['bind']('isReady','currentChangeNumber','numberOfChanges','isNavigationMode')['to'](_0x5452c9),this['listenTo'](_0x5d7d20,'execute',(_0x3a5359,_0x177f16)=>{_0x5b06fa['execute']('forward'===_0x177f16?'showNextChange':'showPreviousChange');}),_0x5d7d20;}),_0x18953f['show'](),_0x5452c9['on']('change:isReady',(_0x574450,_0x355e86,_0x5c5249)=>{_0x5c5249?_0x18953f['hide']():_0x18953f['show']();});}}class kt extends at{['_resizeObserver']=null;constructor(_0x37fb44,_0xddd88e){super(_0x37fb44,_0xddd88e);const _0x4cbb9a=this['bindTemplate'];this['set']({'label':y(_0x37fb44,'Revision\x20name'),'_tooltipString':''}),this['fieldView']['placeholder']=y(_0x37fb44,'Enter\x20the\x20revision\x20name'),this['extendTemplate']({'tag':'span','attributes':{'class':['ck-revision-history-sidebar__revision-name'],'data-cke-tooltip-text':_0x4cbb9a['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 _0x4782e2=this['fieldView']['element'];this['_tooltipString']=_0x4782e2['scrollWidth']>_0x4782e2['clientWidth']&&_0x4782e2['value']||'';}}class ti extends _0x2b2166{constructor(_0x21ae89,_0x230355,_0x408265){super(_0x21ae89);const _0xc79ed=new _0x4ca0ed();_0xc79ed['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 _0x5025e9=['ck','ck-revision-history-sidebar__revision-author'];_0x408265&&_0x5025e9['push']('ck-revision-history-sidebar__revision-author_creator');const _0x5e7164=[{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__revision-author__name'],'title':y(_0x21ae89,_0x408265?'Revision\x20creator':'Revision\x20author')},'children':[_0xc79ed,_0x230355['name']]}];this['setTemplate']({'tag':'li','attributes':{'class':_0x5025e9},'children':_0x5e7164});}}function ni(_0x17a080,_0x4f5269){const _0x4f7571=_0x17a080['bindTemplate'],_0x180a72=_0x17a080['locale'],_0x34e47d=_0x506054(_0x180a72);_0x34e47d['panelPosition']='sw';const _0x1517fe=function(_0x17df11,_0x339d59){const _0x71583e=function(_0x72faa2,_0x299408){const _0x8765bb=_0x72faa2['locale'],_0x5061b8={'Compare\x20against\x20selected':y(_0x8765bb,'Compare\x20against\x20selected'),'Name\x20this\x20revision':y(_0x8765bb,'Name\x20this\x20revision'),'Restore\x20this\x20revision':y(_0x8765bb,'Restore\x20this\x20revision')};return _0x299408['map'](_0x4b6a9b=>{const _0x21a2c2=_0x5061b8[_0x4b6a9b['name']];return _0x21a2c2&&_0x21a2c2!==_0x4b6a9b['name']&&(_0x4b6a9b['name']=_0x21a2c2),_0x4b6a9b;});}(_0x17df11,_0x339d59),_0x1b45f5=new _0x3d9d1f();for(const _0x420bb1 of _0x71583e){const _0x12f159={'type':'button','model':new to({'label':_0x420bb1['name'],'class':_0x420bb1['class'],'withText':!0x0,'role':'menuitem','_action':_0x420bb1['action']})};_0x12f159['model']['bind']('isEnabled')['to'](_0x17df11,'isActionsDropdownOpen',_0x2d0532=>'function'!=typeof _0x420bb1['isEnabled']||(!_0x2d0532||_0x420bb1['isEnabled'](_0x17df11))),_0x1b45f5['add'](_0x12f159);}return _0x1b45f5;}(_0x17a080,_0x4f5269);return _0x17a080['bind']('isActionsDropdownOpen')['to'](_0x34e47d,'isOpen'),_0x34e47d['buttonView']['set']({'label':y(_0x180a72,'Show\x20more\x20items'),'tooltip':!0x0,'tooltipPosition':'sw','icon':_0x584023['threeVerticalDots']}),_0x34e47d['extendTemplate']({'attributes':{'class':['ck-revision-history-sidebar__revision__actions',_0x4f7571['if']('isActionsDropdownOpen','ck-on')]},'on':{'click':_0x4f7571['to'](_0x50bf5c=>_0x50bf5c['stopPropagation']())}}),_0x34e47d['on']('execute',_0x514f63=>{_0x17a080['isReady']&&'function'==typeof _0x514f63['source']['_action']&&_0x514f63['source']['_action'](_0x17a080);}),_0x425f27(_0x34e47d,_0x1517fe,{'role':'menu'}),_0x34e47d['listenTo'](_0x17a080,'change:isActionsDropdownOpen',(_0x2d0993,_0x5311f6,_0xe8c362)=>{if(_0xe8c362)for(const _0x1b28bb of _0x34e47d['listView']['items']){const _0x166fc1=_0x1b28bb['children']['first'],_0x1c509c=_0x4f5269['find'](_0x28a2e6=>_0x28a2e6['action']===_0x166fc1['_action'])['isVisible'];_0x1b28bb['isVisible']=void 0x0===_0x1c509c||_0x1c509c(_0x17a080);}}),_0x34e47d;}class ai extends/* #__PURE__ -- @preserve */
26
- _0x15d958(_0x2b2166){['id'];['revisionNameView'];['revisionActionsView'];['_revision'];['_requireRevisionName'];constructor(_0x428824,_0x23847d,_0xcc57bb,_0x3621e1){super(_0x428824);const _0x594c66=this['bindTemplate'],_0x577df4=function(_0x298a55,_0x33a1c8){const _0x3c5495=Array['from'](_0x33a1c8['authors'])['filter'](_0x172882=>_0x172882!=_0x33a1c8['creator']);return _0x33a1c8['creator']&&_0x3c5495['unshift'](_0x33a1c8['creator']),_0x3c5495['map'](_0x277cfc=>new ti(_0x298a55,_0x277cfc,_0x277cfc==_0x33a1c8['creator']));}(_0x428824,_0x23847d);this['id']=_0x23847d['id'],this['_revision']=_0x23847d,this['_requireRevisionName']=_0x3621e1,this['bind']('name','createdAt')['to'](_0x23847d),this['bind']('_createdAtFormatted')['to'](this,'createdAt',_0x184167=>{return _0x665624=_0x428824['uiLanguage'],(_0x2581af=_0x184167)['toLocaleDateString'](_0x665624,{'month':'long','day':'numeric'})+',\x20'+_0x2581af['toLocaleTimeString'](_0x665624,{'hour':'numeric','minute':'numeric'});var _0x665624,_0x2581af;}),this['set']('isSelected',!0x1),this['set']('isHighlighted',!0x1),this['set']('isActionsDropdownOpen',!0x1),this['set']('isReady',!0x1),this['set']('isEnabled',!0x1),this['revisionNameView']=new kt(_0x428824,_0x2bec7e),this['revisionNameView']['fieldView']['extendTemplate']({'attributes':{'maxlength':'220'}}),this['revisionNameView']['fieldView']['bind']('value')['to'](this,'name',_0x3f9982=>_0x3f9982||this['_createdAtFormatted']),this['revisionNameView']['bind']('isEnabled')['to'](this,'isSelected',this,'isEnabled',(_0x50c212,_0x4e1226)=>_0x50c212&&_0x4e1226),this['revisionActionsView']=_0xcc57bb&&_0xcc57bb['length']?ni(this,_0xcc57bb):'',this['revisionActionsView']&&this['revisionActionsView']['bind']('isEnabled')['to'](this),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision-wrapper',_0x594c66['if']('isConfirm','ck-revision-history-sidebar__revision-wrapper_confirmation_visible')]},'children':[{'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision',_0x594c66['if']('isEnabled','ck-disabled',_0x541c0f=>!_0x541c0f),_0x594c66['if']('isSelected','ck-revision-history-sidebar__revision_selected'),_0x594c66['if']('isHighlighted','ck-revision-history-sidebar__revision_highlighted'),_0x594c66['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':_0x594c66['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':_0x577df4}]},this['revisionActionsView']],'on':{'click':_0x594c66['to'](_0x2870bc=>{_0x2870bc['srcElement']['closest']('.ck-thread__remove-confirm')||this['isReady']&&this['isEnabled']&&this['fire']('select',{'id':this['id']});})}}]});}['render'](){super['render']();const _0x1d0b0e=this['revisionNameView']['fieldView']['element'];this['listenTo'](_0x1d0b0e,'change',()=>{this['_requireRevisionName']&&!_0x1d0b0e['value']||this['fire']('setName',{'id':this['id'],'name':_0x1d0b0e['value']}),_0x1d0b0e['value']||(_0x1d0b0e['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(_0x4e04af,_0x49100b){const _0x56c3f2=_0x2af748['fromJSDate'](_0x4e04af)['setLocale'](_0x49100b),_0x3b487c=_0x2af748['local'](),_0x5bda5d=_0x3b487c['minus']({'days':0x1})['startOf']('day');let _0x30643e,_0x51b3b8;return _0x56c3f2['hasSame'](_0x3b487c,'day')?(_0x30643e=_0x56c3f2['startOf']('day')['toJSDate'](),_0x51b3b8=_0x56c3f2['toRelativeCalendar']()):_0x56c3f2['hasSame'](_0x5bda5d,'day')?(_0x30643e=_0x5bda5d['toJSDate'](),_0x51b3b8=_0x56c3f2['toRelativeCalendar']()):_0x56c3f2['hasSame'](_0x3b487c,'week')?(_0x30643e=_0x56c3f2['startOf']('week')['toJSDate'](),_0x51b3b8=_0x56c3f2['weekdayLong']||''):_0x56c3f2['hasSame'](_0x3b487c,'year')?(_0x30643e=_0x56c3f2['startOf']('month')['toJSDate'](),_0x51b3b8=_0x56c3f2['monthLong']||''):(_0x30643e=_0x56c3f2['startOf']('year')['toJSDate'](),_0x51b3b8=String(_0x56c3f2['year'])),{'startDate':_0x30643e,'localizedPeriodName':_0x51b3b8};}class mi extends _0x2b2166{['startDate'];['revisionViews'];['_revisionActions'];['_requireRevisionName'];constructor(_0x404833,_0xe30443,_0xe1275c,_0x30f29b){super(_0x404833);const _0x1a6069=di(_0xe30443,this['locale']['uiLanguage'])['localizedPeriodName'];this['startDate']=_0xe30443,this['revisionViews']=this['createCollection'](),this['_revisionActions']=_0xe1275c,this['_requireRevisionName']=_0x30f29b,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':_0x1a6069}]},{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__time-period__revisions']},'children':this['revisionViews']}]});}['addRevision'](_0x3648cc){const _0x2889f1=new ai(this['locale'],_0x3648cc,this['_revisionActions'],this['_requireRevisionName']);this['revisionViews']['add'](_0x2889f1);}['removeRevision'](_0x38c463){const _0x2d37a9=this['revisionViews']['find'](_0x2806bd=>_0x2806bd['id']===_0x38c463['id']);this['revisionViews']['remove'](_0x2d37a9);}}class as extends _0x2b2166{constructor(_0x20ec5b){super(_0x20ec5b);const _0x5a8329=new _0x4ca0ed();_0x5a8329['content']=_0x584023['history'],this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all','ck-revision-history-sidebar__header']},'children':[_0x5a8329,{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__header__label']},'children':[y(_0x20ec5b,'Revision\x20history')]}]});}}class ci extends _0x2b2166{['timePeriodViews'];['_revisions'];['_revisionActions'];['_requireRevisionName'];constructor(_0x5c5594,_0x4f6a39,_0x38dfe0,_0x269d11){super(_0x5c5594);const _0x471a1c=this['bindTemplate'];this['timePeriodViews']=this['createCollection'](),this['timePeriodViews']['delegate']('select')['to'](this),this['timePeriodViews']['delegate']('setName')['to'](this),this['_revisions']=_0x4f6a39,this['_revisionActions']=_0x38dfe0,this['_requireRevisionName']=_0x269d11,this['on']('select',(_0x2c9195,_0x33a42d)=>{this['fire']('revisionSelected',_0x33a42d);}),this['on']('setName',(_0x40b0be,_0x3fbfcb)=>{this['fire']('revisionSetName',_0x3fbfcb);}),this['set']('isEnabled',!0x1),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-rounded-corners','ck-revision-history-sidebar']},'children':[new as(_0x5c5594),{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__timeline',_0x471a1c['if']('isEnabled','ck-disabled',_0x33b071=>!_0x33b071)]},'children':this['timePeriodViews']}]});}['render'](){super['render']();for(const _0x1b4e67 of this['_revisions'])this['_addRevision'](_0x1b4e67);this['_revisions']['on']('add',(_0x256f92,_0x3dd4c7)=>{this['_addRevision'](_0x3dd4c7);}),this['_revisions']['on']('remove',(_0x27222c,_0x345608)=>{this['_removeRevision'](_0x345608);});}get['revisionViews'](){return this['timePeriodViews']['map'](_0x5bf0bf=>_0x5bf0bf['revisionViews']['map'](_0x871532=>_0x871532))['flat']();}['selectRevision'](_0x39664b){for(const _0x2c6dc0 of this['revisionViews'])_0x39664b&&_0x39664b['id']===_0x2c6dc0['id']?_0x2c6dc0['select']():_0x2c6dc0['deselect']();}['highlightRevisions'](_0x3f3b58){for(const _0x19d3dd of this['revisionViews'])_0x3f3b58['some'](({id:_0x1ceb32})=>_0x1ceb32===_0x19d3dd['id'])?_0x19d3dd['highlight']():_0x19d3dd['unhighlight']();}['_addRevision'](_0x3e35ce){const _0x228fbb=di(_0x3e35ce['createdAt'],this['locale']['uiLanguage'])['startDate'];let _0x2c0e52=this['timePeriodViews']['get'](0x0);_0x2c0e52&&_0x2c0e52['startDate']['getTime']()===_0x228fbb['getTime']()||(_0x2c0e52=new mi(this['locale'],_0x228fbb,this['_revisionActions'],this['_requireRevisionName']),this['timePeriodViews']['add'](_0x2c0e52)),_0x2c0e52['addRevision'](_0x3e35ce);}['_removeRevision'](_0x57b9b5){const _0x45d238=di(_0x57b9b5['createdAt'],this['locale']['uiLanguage'])['startDate'];this['_getTimePeriodViewByStartDate'](_0x45d238)['removeRevision'](_0x57b9b5);}['_getTimePeriodViewByStartDate'](_0x19fd5c){return this['timePeriodViews']['find'](_0x44d72d=>_0x44d72d['startDate']['getTime']()===_0x19fd5c['getTime']());}}class w extends _0x26b929{['_revisionViewer'];['_revisionsRepository'];['_sidebarView'];static ['defaultRevisionActions']=/* #__PURE__ -- @preserve */
23
+ import{ObservableMixin as _0x364854,uid as _0x43218d,Collection as _0x46bcc9,logWarning as _0x17636b,FocusTracker as _0x51c708,KeystrokeHandler as _0x5a1b21,scrollViewportToShowTarget as _0x1a296b,ResizeObserver as mt,ElementReplacer as nt,CKEditorError as _0x193bc4}from'@ckeditor/ckeditor5-utils/dist/index.js';import{cloneDeep as _0x2af7a2,set as _0x5b251b,unset as _0x362bca,isEqual as _0x5704f6}from'lodash-es';import{Plugin as _0x14d499,Context as _0x195c3a,PendingActions as _0x572860,icons as _0x20e030,Command as _0x5098f9,ElementApiMixin as rt,Editor as it}from'@ckeditor/ckeditor5-core/dist/index.js';import{Users as _0x305683,getMarkerDomElement as _0x4c06f8,ConfirmMixin as _0x43a3a2,sanitizeEditorConfig as _0x211f4e}from'ckeditor5-collaboration/dist/index.js';import{ViewDocumentFragment as _0x357978,ViewText as _0xbee8f,ViewElement as _0x3cd62f,Element as ft,Range as vt,Position as gt,DocumentFragment as wt,ViewContainerElement as _0x1073ed,ViewAttributeElement as _0xa8f9a7,ViewEmptyElement as _0xda1521,ViewRawElement as _0x185cf4,ViewUIElement as _0x2d9726,Text as _t}from'@ckeditor/ckeditor5-engine/dist/index.js';import{View as _0x389b94,injectCssTransitionDisabler as ts,submitHandler as _0x29374f,LabeledFieldView as at,createLabeledInputText as _0x33b571,createDropdown as _0x2cb310,ListView as te,ListItemView as _0x2118af,ButtonView as _0x6e6c0d,MenuBarMenuView as _0x2d7527,MenuBarMenuListView as _0x5e18f7,MenuBarMenuListItemView as _0x352e6e,MenuBarMenuListItemButtonView as _0x11e0da,ContextualBalloon as _0x3f2d99,ToolbarSeparatorView as _0x134a6c,IconView as _0x4ed7cb,addListToDropdown as _0x2fd658,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 _0x37e5b6}from'luxon';class a extends/* #__PURE__ -- @preserve */
24
+ _0x364854(){['id'];['creator'];['authors'];['diffData'];['toVersion'];['fromVersion'];['model'];constructor(_0x178673){super(),this['id']=_0x178673['id']||_0x43218d(),this['creator']=_0x178673['creator']||null,this['authors']=_0x178673['authors']||[],this['diffData']=_0x178673['diffData']||null,this['toVersion']=_0x178673['toVersion']||0x0,this['fromVersion']=_0x178673['fromVersion']||0x0,this['set']('name',_0x178673['name']||''),this['set']('createdAt',_0x178673['createdAt']||new Date()),this['set']('attributes',_0x178673['attributes']||{});}['setName'](_0x22d3a1){this['_update']({'name':_0x22d3a1});}['setAttribute'](_0x5cbaac,_0x4548c0){const _0x49d8c1=_0x2af7a2(this['attributes']);_0x5b251b(_0x49d8c1,_0x5cbaac,_0x4548c0),this['_update']({'attributes':_0x49d8c1});}['removeAttribute'](_0x357698){const _0x1c36fb=_0x2af7a2(this['attributes']);_0x362bca(_0x1c36fb,_0x357698),this['_update']({'attributes':_0x1c36fb});}['_update'](_0x204f79,_0x15fe0e=!0x1){let _0x1808cd=!0x1;const _0xb5764b={'id':this['id']},_0xb0aa76=['name','createdAt','diffData','authors','attributes','toVersion','fromVersion','creatorId'];for(const _0x14f620 of _0xb0aa76){const _0x4fd1aa=_0x204f79[_0x14f620];void 0x0!==_0x4fd1aa&&_0x4fd1aa!==this[_0x14f620]&&(this[_0x14f620]=_0x4fd1aa,_0xb5764b[_0x14f620]=_0x4fd1aa,_0x1808cd=!0x0);}_0x1808cd&&(_0xb5764b['authors']&&(_0xb5764b['authorsIds']=_0xb5764b['authors']['map'](_0xe5b53e=>_0xe5b53e['id']),delete _0xb5764b['authors']),this['fire']('_update',_0xb5764b,_0x15fe0e));}['toJSON'](){return{'id':this['id'],'name':this['name'],'creatorId':this['creator']?this['creator']['id']:null,'authorsIds':this['authors']['map'](_0x4b16be=>_0x4b16be['id']),'diffData':this['diffData'],'createdAt':this['createdAt'],'attributes':this['attributes'],'fromVersion':this['fromVersion'],'toVersion':this['toVersion']};}}class A extends _0x14d499{['_revisions'];static get['requires'](){return[_0x305683];}static get['pluginName'](){return'RevisionsRepository';}get['length'](){return this['_revisions']['length'];}constructor(_0x213cf8){super(_0x213cf8),this['_revisions']=new _0x46bcc9();}['afterInit'](){!function(_0x3be05e){function _0x4b5bd9(_0x2b1713,_0x24daf7,_0x1b00e8){const _0x5df22b={};_0x5df22b[_0x326e2b([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])]={0x10:0xa,0x18:0xc,0x20:0xe},_0x5df22b[_0x326e2b([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],_0x5df22b[_0x326e2b([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],_0x5df22b[_0x326e2b([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],_0x5df22b[_0x326e2b([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],_0x5df22b[_0x326e2b([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],_0x5df22b[_0x326e2b([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],_0x5df22b[_0x326e2b([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],_0x5df22b[_0x326e2b([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],_0x5df22b[_0x326e2b([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],_0x5df22b[_0x326e2b([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 _0xc52029=new Uint8Array(0x10);for(let _0x3ce2aa=0xf;_0x3ce2aa>=0x0;--_0x3ce2aa)_0xc52029[_0x3ce2aa]=_0x1b00e8%0x100,_0x1b00e8=parseInt(_0x1b00e8/0x100);let _0x10df8b=null,_0x4ca9da=0x10;const _0x2ed5af=new Uint8Array(_0x24daf7),_0x141cc9=[],_0x1a236e=[];_0x4dc4c4();for(let _0x3153c0=0x0;_0x3153c0<_0x2b1713[_0x326e2b([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3153c0++)0x10===_0x4ca9da&&(_0x10df8b=_0x4c6abc(_0xc52029),_0x4ca9da=0x0,_0x6d3b38(_0xc52029)),_0x2b1713[_0x3153c0]^=_0x10df8b[_0x4ca9da++];return _0x2b1713;function _0x38c841(_0x3f3f5e){const _0x5a56d1=[];for(let _0x286d62=0x0;_0x286d62<_0x3f3f5e[_0x326e2b([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x286d62+=0x4)_0x5a56d1[_0x326e2b([0x70,0x75,0x73,0x68])](_0x3f3f5e[_0x286d62]<<0x18|_0x3f3f5e[_0x286d62+0x1]<<0x10|_0x3f3f5e[_0x286d62+0x2]<<0x8|_0x3f3f5e[_0x286d62+0x3]);return _0x5a56d1;}function _0x6d3b38(_0x4d9d57){for(let _0x3bbd7a=0xf;_0x3bbd7a>=0x0;_0x3bbd7a--){if(0xff!==_0x4d9d57[_0x3bbd7a]){_0x4d9d57[_0x3bbd7a]++;break;}_0x4d9d57[_0x3bbd7a]=0x0;}}function _0x4c6abc(_0x4ab87f){const _0x144759=_0x141cc9[_0x326e2b([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x1,_0xa8ac1=[0x0,0x0,0x0,0x0];let t=_0x38c841(_0x4ab87f);for(let _0x153bb5=0x0;_0x153bb5<0x4;_0x153bb5++)t[_0x153bb5]^=_0x141cc9[0x0][_0x153bb5];for(let _0x3ebde6=0x1;_0x3ebde6<_0x144759;_0x3ebde6++){for(let _0x3e0cb9=0x0;_0x3e0cb9<0x4;_0x3e0cb9++)_0xa8ac1[_0x3e0cb9]=_0x5df22b[_0x326e2b([0x54,0x31])][t[_0x3e0cb9]>>0x18&0xff]^_0x5df22b[_0x326e2b([0x54,0x32])][t[(_0x3e0cb9+0x1)%0x4]>>0x10&0xff]^_0x5df22b[_0x326e2b([0x54,0x33])][t[(_0x3e0cb9+0x2)%0x4]>>0x8&0xff]^_0x5df22b[_0x326e2b([0x54,0x34])][0xff&t[(_0x3e0cb9+0x3)%0x4]]^_0x141cc9[_0x3ebde6][_0x3e0cb9];t=_0xa8ac1[_0x326e2b([0x73,0x6c,0x69,0x63,0x65])]();}const _0x19e510=new Uint8Array(0x10);let _0x3b7fb0;for(let _0x147013=0x0;_0x147013<0x4;_0x147013++)_0x3b7fb0=_0x141cc9[_0x144759][_0x147013],_0x19e510[0x4*_0x147013]=0xff&(_0x5df22b[_0x326e2b([0x53])][t[_0x147013]>>0x18&0xff]^_0x3b7fb0>>0x18),_0x19e510[0x4*_0x147013+0x1]=0xff&(_0x5df22b[_0x326e2b([0x53])][t[(_0x147013+0x1)%0x4]>>0x10&0xff]^_0x3b7fb0>>0x10),_0x19e510[0x4*_0x147013+0x2]=0xff&(_0x5df22b[_0x326e2b([0x53])][t[(_0x147013+0x2)%0x4]>>0x8&0xff]^_0x3b7fb0>>0x8),_0x19e510[0x4*_0x147013+0x3]=0xff&(_0x5df22b[_0x326e2b([0x53])][0xff&t[(_0x147013+0x3)%0x4]]^_0x3b7fb0);return _0x19e510;}function _0x4dc4c4(){const _0x53c596=_0x5df22b[_0x326e2b([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])][_0x2ed5af[_0x326e2b([0x6c,0x65,0x6e,0x67,0x74,0x68])]];for(let _0x2d2f41=0x0;_0x2d2f41<=_0x53c596;_0x2d2f41++)_0x141cc9[_0x326e2b([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]),_0x1a236e[_0x326e2b([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]);const _0x1963ae=0x4*(_0x53c596+0x1),_0x2fff28=_0x2ed5af[_0x326e2b([0x6c,0x65,0x6e,0x67,0x74,0x68])]/0x4,_0x360521=_0x38c841(_0x2ed5af);let _0x4fbba4;for(let _0x5ddf2f=0x0;_0x5ddf2f<_0x2fff28;_0x5ddf2f++)_0x4fbba4=_0x5ddf2f>>0x2,_0x141cc9[_0x4fbba4][_0x5ddf2f%0x4]=_0x360521[_0x5ddf2f],_0x1a236e[_0x53c596-_0x4fbba4][_0x5ddf2f%0x4]=_0x360521[_0x5ddf2f];let _0xaa1cfc,_0x196a05=0x0,t=_0x2fff28;for(;t<_0x1963ae;){_0xaa1cfc=_0x360521[_0x2fff28-0x1],_0x360521[0x0]^=_0x5df22b[_0x326e2b([0x53])][_0xaa1cfc>>0x10&0xff]<<0x18^_0x5df22b[_0x326e2b([0x53])][_0xaa1cfc>>0x8&0xff]<<0x10^_0x5df22b[_0x326e2b([0x53])][0xff&_0xaa1cfc]<<0x8^_0x5df22b[_0x326e2b([0x53])][_0xaa1cfc>>0x18&0xff]^_0x5df22b[_0x326e2b([0x72,0x63,0x6f,0x6e])][_0x196a05]<<0x18,_0x196a05+=0x1;for(let _0x5bacb5=0x1;_0x5bacb5<_0x2fff28/0x2;_0x5bacb5++)_0x360521[_0x5bacb5]^=_0x360521[_0x5bacb5-0x1];_0xaa1cfc=_0x360521[_0x2fff28/0x2-0x1],_0x360521[_0x2fff28/0x2]^=_0x5df22b[_0x326e2b([0x53])][0xff&_0xaa1cfc]^_0x5df22b[_0x326e2b([0x53])][_0xaa1cfc>>0x8&0xff]<<0x8^_0x5df22b[_0x326e2b([0x53])][_0xaa1cfc>>0x10&0xff]<<0x10^_0x5df22b[_0x326e2b([0x53])][_0xaa1cfc>>0x18&0xff]<<0x18;for(let _0x9a947a=_0x2fff28/0x2+0x1;_0x9a947a<_0x2fff28;_0x9a947a++)_0x360521[_0x9a947a]^=_0x360521[_0x9a947a-0x1];let _0x571188,_0x4c0e8c,_0x244880=0x0;for(;_0x244880<_0x2fff28&&t<_0x1963ae;)_0x571188=t>>0x2,_0x4c0e8c=t%0x4,_0x141cc9[_0x571188][_0x4c0e8c]=_0x360521[_0x244880],_0x1a236e[_0x53c596-_0x571188][_0x4c0e8c]=_0x360521[_0x244880++],t++;}for(let _0x1e55ad=0x1;_0x1e55ad<_0x53c596;_0x1e55ad++)for(let _0x589c8=0x0;_0x589c8<0x4;_0x589c8++)_0xaa1cfc=_0x1a236e[_0x1e55ad][_0x589c8],_0x1a236e[_0x1e55ad][_0x589c8]=_0x5df22b[_0x326e2b([0x55,0x31])][_0xaa1cfc>>0x18&0xff]^_0x5df22b[_0x326e2b([0x55,0x32])][_0xaa1cfc>>0x10&0xff]^_0x5df22b[_0x326e2b([0x55,0x33])][_0xaa1cfc>>0x8&0xff]^_0x5df22b[_0x326e2b([0x55,0x34])][0xff&_0xaa1cfc];}}function _0x326e2b(_0x92619f){return _0x92619f['map'](_0x24e6a5=>String['fromCharCode'](_0x24e6a5))['join']('');}(_0x59037d=>{function _0x1c1f98(){const _0x54f5bf=[{[_0x326e2b([0x69,0x64])]:0x1,[_0x326e2b([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x326e2b([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73]),[_0x326e2b([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x326e2b([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x326e2b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x326e2b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x326e2b([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x326e2b([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x326e2b([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]:[{[_0x326e2b([0x69,0x64])]:0x2,[_0x326e2b([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x326e2b([0x54,0x72,0x61,0x63,0x6b,0x20,0x43,0x68,0x61,0x6e,0x67,0x65,0x73]),[_0x326e2b([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x326e2b([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x326e2b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x326e2b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x326e2b([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x326e2b([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]),[_0x326e2b([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x326e2b([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x326e2b([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x326e2b([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}}],[_0x326e2b([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x326e2b([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x326e2b([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x326e2b([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x326e2b([0x69,0x64])]:0x3,[_0x326e2b([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x326e2b([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e]),[_0x326e2b([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x326e2b([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x6f,0x6f,0x6b,0x75,0x70]),[_0x326e2b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x326e2b([0x70,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x326e2b([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x326e2b([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x326e2b([0x69,0x64])]:0x4,[_0x326e2b([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x326e2b([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x20,0x48,0x69,0x73,0x74,0x6f,0x72,0x79]),[_0x326e2b([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x326e2b([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x326e2b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x326e2b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x326e2b([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x326e2b([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]),[_0x326e2b([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x326e2b([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x326e2b([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x326e2b([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x326e2b([0x69,0x64])]:0x5,[_0x326e2b([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x326e2b([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x20,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65]),[_0x326e2b([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x326e2b([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65,0x55,0x49]),[_0x326e2b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x326e2b([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]),[_0x326e2b([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x326e2b([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x326e2b([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x326e2b([0x66,0x67,0x69])]:[0xc]}},{[_0x326e2b([0x69,0x64])]:0x6,[_0x326e2b([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x326e2b([0x46,0x6f,0x72,0x6d,0x61,0x74,0x20,0x50,0x61,0x69,0x6e,0x74,0x65,0x72]),[_0x326e2b([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x326e2b([0x46,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x55,0x49]),[_0x326e2b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x326e2b([0x66,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x326e2b([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x326e2b([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x326e2b([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x326e2b([0x66,0x67,0x69])]:[0xc]}},{[_0x326e2b([0x69,0x64])]:0x7,[_0x326e2b([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x326e2b([0x53,0x6c,0x61,0x73,0x68,0x20,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64]),[_0x326e2b([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x326e2b([0x53,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x55,0x49]),[_0x326e2b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x326e2b([0x73,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x326e2b([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x326e2b([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x326e2b([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x326e2b([0x66,0x67,0x69])]:[0xc]}},{[_0x326e2b([0x69,0x64])]:0x8,[_0x326e2b([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x326e2b([0x54,0x61,0x62,0x6c,0x65,0x20,0x6f,0x66,0x20,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73]),[_0x326e2b([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x326e2b([0x54,0x61,0x62,0x6c,0x65,0x4f,0x66,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x326e2b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x326e2b([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]),[_0x326e2b([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x326e2b([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x326e2b([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x326e2b([0x66,0x67,0x69])]:[0xc]}},{[_0x326e2b([0x69,0x64])]:0x9,[_0x326e2b([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x326e2b([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65]),[_0x326e2b([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x326e2b([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x55,0x49]),[_0x326e2b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x326e2b([0x74,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x326e2b([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x326e2b([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x326e2b([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x326e2b([0x66,0x67,0x69])]:[0xc,0xe]}},{[_0x326e2b([0x69,0x64])]:0xa,[_0x326e2b([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x326e2b([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]),[_0x326e2b([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x326e2b([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]),[_0x326e2b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x326e2b([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]),[_0x326e2b([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x326e2b([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x326e2b([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x326e2b([0x66,0x67,0x69])]:[0xc]}},{[_0x326e2b([0x69,0x64])]:0xb,[_0x326e2b([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x326e2b([0x41,0x49,0x20,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74]),[_0x326e2b([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x326e2b([0x41,0x49,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74,0x55,0x49]),[_0x326e2b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x326e2b([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x326e2b([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x326e2b([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x326e2b([0x69,0x64])]:0xc,[_0x326e2b([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x326e2b([0x50,0x72,0x6f,0x64,0x75,0x63,0x74,0x69,0x76,0x69,0x74,0x79,0x20,0x70,0x61,0x63,0x6b])},{[_0x326e2b([0x69,0x64])]:0xd,[_0x326e2b([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x326e2b([0x43,0x61,0x73,0x65,0x20,0x43,0x68,0x61,0x6e,0x67,0x65]),[_0x326e2b([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x326e2b([0x43,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x55,0x49]),[_0x326e2b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x326e2b([0x63,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x326e2b([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x326e2b([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x326e2b([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x326e2b([0x66,0x67,0x69])]:[0xc]}},{[_0x326e2b([0x69,0x64])]:0xe,[_0x326e2b([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x326e2b([0x44,0x72,0x75,0x70,0x61,0x6c,0x20,0x70,0x61,0x63,0x6b]),[_0x326e2b([0x66,0x6f,0x72,0x62,0x69,0x64,0x64,0x65,0x6e,0x48,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x326e2b([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])},{[_0x326e2b([0x69,0x64])]:0xf,[_0x326e2b([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x326e2b([0x4d,0x75,0x6c,0x74,0x69,0x20,0x4c,0x65,0x76,0x65,0x6c,0x20,0x4c,0x69,0x73,0x74]),[_0x326e2b([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x326e2b([0x4d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x326e2b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x326e2b([0x6d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x326e2b([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x326e2b([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x326e2b([0x69,0x64])]:0x10,[_0x326e2b([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x326e2b([0x4d,0x65,0x72,0x67,0x65,0x20,0x46,0x69,0x65,0x6c,0x64,0x73]),[_0x326e2b([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x326e2b([0x4d,0x65,0x72,0x67,0x65,0x46,0x69,0x65,0x6c,0x64,0x73,0x55,0x49]),[_0x326e2b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x326e2b([0x6d,0x65,0x72,0x67,0x65,0x46,0x69,0x65,0x6c,0x64,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x326e2b([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x326e2b([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x326e2b([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x326e2b([0x66,0x67,0x69])]:[0xc]}}];return _0x51646e(_0x54f5bf),_0x54f5bf;function _0x32bdeb(_0x5db2e1){return 0x1<<_0x5db2e1-0x1;}function _0x51646e(_0x551502){_0x551502[_0x326e2b([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x510054=>{_0x510054[_0x326e2b([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]=_0x32bdeb(_0x510054[_0x326e2b([0x69,0x64])]),_0x3d5257(_0x510054)&&_0x510054[_0x326e2b([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x51646e(_0x510054[_0x326e2b([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]);});}}function _0x3d5257(_0x13d67c){return _0x326e2b([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])in _0x13d67c;}const _0x2cfc6f=[0x1,0x55,0x4e,0x73,0xc6,0xff,0x32,0x70,0x53,0x57,0xa1],_0x24060e=[0x7f,0x22,0x6,0xd3,0xa7,0x56,0x92,0xc7,0x84,0xa0,0x12];function _0x36774d(_0x12f3e2){const _0x114e97=[0x1d,0xdd,0xaf,0x5a,0xe7,0x85,0xef,0xf0,0x4b,0xb4];return _0x35fc7f(_0x12f3e2,new Uint8Array([..._0x2cfc6f,..._0x114e97,..._0x24060e]));}function _0x35fc7f(_0x4f997a,_0x252d31){const _0x2ac67c=_0xdfb9f7(_0x4f997a),_0x208aed=Array[_0x326e2b([0x66,0x72,0x6f,0x6d])](_0x1c28e6(_0x2ac67c)),_0x5b66c3=_0x208aed[_0x326e2b([0x70,0x6f,0x70])](),_0xa0d1fc=_0x208aed[_0x326e2b([0x70,0x6f,0x70])]();return _0x2f8c85(_0x4b5bd9(_0x208aed,_0x252d31,_0xa0d1fc+0x100*_0x5b66c3));}function _0xdfb9f7(_0x2494fb){const _0x1fa1d6=atob(_0x2494fb),[_0x2fca30,_0x5e8bc4]=_0x1fa1d6[_0x326e2b([0x73,0x70,0x6c,0x69,0x74])](_0x326e2b([0x2d]));try{if(atob(_0x5e8bc4))return atob(_0x2fca30);}catch(_0x2eaaa0){}return _0x1fa1d6;}function _0x187d49(_0x364bf9){try{const _0x3fd862=_0x36774d(_0x364bf9),_0xb38ffb=JSON[_0x326e2b([0x70,0x61,0x72,0x73,0x65])](_0x3fd862),_0x20bd15=parseInt(_0xb38ffb[_0x326e2b([0x31])]),_0x5bbd1a=_0xb38ffb[_0x326e2b([0x32])]||'',_0xf8421f=parseInt(_0xb38ffb[_0x326e2b([0x33])]),_0x3e46bb=parseInt(_0xb38ffb[_0x326e2b([0x34])])||0x0,_0xa9ecf4=parseInt(_0xb38ffb[_0x326e2b([0x35])])||0x0;return{[_0x326e2b([0x70,0x72,0x6f,0x64,0x75,0x63,0x74,0x4e,0x61,0x6d,0x65])]:_0x5bbd1a,[_0x326e2b([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])]:_0x3e46bb,[_0x326e2b([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]:_0x20bd15,[_0x326e2b([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]:_0xf8421f,[_0x326e2b([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]:_0xa9ecf4};}catch(_0x4b2d04){return null;}}const _0x329cb5=_0x1c1f98(),_0x2cc5ad={[_0x326e2b([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])]:_0x16ecd4,[_0x326e2b([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])]:_0x1145da,[_0x326e2b([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])]:_0x14a6e2},_0x593c28=_0x59037d[_0x326e2b([0x63,0x6f,0x6e,0x73,0x74,0x72,0x75,0x63,0x74,0x6f,0x72])][_0x326e2b([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])],_0x5d6d91=_0x326e2b([0x63,0x6f,0x6e,0x74,0x65,0x78,0x74])in _0x59037d?_0x59037d['context']:_0x59037d['editor'],_0x22984b=_0x326e2b([0x34,0x30,0x34,0x38,0x31,0x38,0x35,0x36]),_0x5650c4=_0x326e2b([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]),_0x3fad93=_0x5d6d91['config']['get'](_0x326e2b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x28b43f=_0x329cb5[_0x326e2b([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3d5257)[_0x326e2b([0x66,0x69,0x6e,0x64])](_0x11582a=>_0x11582a[_0x326e2b([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]===_0x593c28);function _0x39903f(_0x35870f,_0x1ae16e){_0x2cc5ad[_0x1ae16e[_0x326e2b([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]](_0x35870f,_0x1ae16e),_0x1ae16e[_0x326e2b([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x1ae16e[_0x326e2b([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])][_0x326e2b([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x10590e=>_0xc8f50d(_0x5d6d91,_0x10590e[_0x326e2b([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))[_0x326e2b([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x7482ac=>_0x39903f(_0x35870f,_0x7482ac));}function _0x16ecd4(_0xa43748,_0x40a9e4){_0x106f7d(_0x69ee28(_0xa43748,_0x40a9e4),_0x40a9e4);}function _0x1145da(_0xc74bf2,_0x5a129a){function _0x1d9670(_0x35e2bb,_0x459532){try{if(_0xc8f50d(_0x5d6d91,_0x326e2b([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))&&_0x35e2bb){const _0x48ba6d=_0x27faea(_0x5d6d91,_0x326e2b([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))[_0x326e2b([0x5f,0x65,0x78,0x65,0x63,0x75,0x74,0x65,0x53,0x75,0x67,0x67,0x65,0x73,0x74,0x69,0x6f,0x6e])];if(parseInt(_0x48ba6d)/0x2>_0x35e2bb[_0x326e2b([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])])return _0x5329ed(_0x459532[_0x326e2b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x326e2b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}return _0x69ee28(_0x35e2bb,_0x459532);}catch(_0x16244f){return _0x5329ed(_0x459532[_0x326e2b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x326e2b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}_0x106f7d(_0x1d9670(_0xc74bf2,_0x5a129a),_0x5a129a);}function _0x14a6e2(_0x284ae2,_0x37c893){const _0x542437=_0x24060e[0x0]*_0x2cfc6f[0x1],_0x15728b=_0x24060e[0x0]*_0x2cfc6f[0x2],_0x32fc4a=_0x24060e[0x2]*_0x2cfc6f[0x2];_0xc8f50d(_0x5d6d91,_0x326e2b([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x27faea(_0x5d6d91,_0x326e2b([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x326e2b([0x73,0x74,0x61,0x74,0x65])]==_0x326e2b([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&(window[_0x116d0f()]=_0x32fc4a);function _0x56540d(_0x126b78,_0x1772ba){try{return _0x395ed0()?_0x5329ed(_0x1772ba[_0x326e2b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x326e2b([0x56,0x61,0x6c,0x69,0x64])):_0x69ee28(_0x126b78,_0x1772ba);}catch(_0x56db39){return _0x5329ed(_0x1772ba[_0x326e2b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x326e2b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x4af9c9(_0x84af72,_0x378f1a){const _0xcf338d=0x7;if(_0x84af72==_0x378f1a[_0x326e2b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x326e2b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]))_0xe92f9b();else{if(_0x84af72==_0x378f1a[_0x326e2b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x326e2b([0x54,0x72,0x69,0x61,0x6c])){const _0x4e5175=_0x125ea9();_0x4e5175&&_0x40af0a(_0x4e5175,_0x378f1a[_0x326e2b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);const _0x5f30f2=_0x17802f();window[_0x326e2b([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x40af0a(_0x326e2b([0x74,0x69,0x6d,0x65]),_0x378f1a[_0x326e2b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);},_0x5f30f2);const _0x34574a=_0x27faea(_0x5d6d91,_0x326e2b([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x326e2b([0x5f,0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73])];_0x34574a[_0x326e2b([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0xcf338d?_0x40af0a(_0x326e2b([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x378f1a[_0x326e2b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]):_0x34574a['on'](_0x326e2b([0x61,0x64,0x64]),()=>{_0x34574a[_0x326e2b([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0xcf338d&&_0x40af0a(_0x326e2b([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x378f1a[_0x326e2b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);});}}}function _0x125ea9(){if(!_0xc8f50d(_0x5d6d91,_0x326e2b([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x214ae7 in window)if(Number['isNaN'](Number(_0x214ae7))){if(window[_0x214ae7]===_0x542437)return _0x326e2b([0x74,0x69,0x6d,0x65]);if(window[_0x214ae7]===_0x15728b)return _0x326e2b([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]);}return!0x1;}function _0x395ed0(){if(!_0xc8f50d(_0x5d6d91,_0x326e2b([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x3af456 in window)if(Number['isNaN'](Number(_0x3af456))&&window[_0x3af456]===_0x32fc4a)return!0x0;return!0x1;}function _0x40af0a(_0x3d8b89,_0x3be01a){_0xe92f9b(),_0x5329ed(_0x3be01a+_0x326e2b([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a])+_0x3d8b89),window[_0x116d0f()]=_0x3d8b89===_0x326e2b([0x74,0x69,0x6d,0x65])?_0x542437:_0x15728b;}function _0x17802f(){let _0x3d0a13=_0x24060e[0x6]*_0x2cfc6f[0x8]*_0x2cfc6f[0x6];return _0xc8f50d(_0x5d6d91,_0x326e2b([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x3d0a13/=0xa),_0x3d0a13;}function _0xe92f9b(){const _0x39d0e9=_0x5d6d91;function _0x53cc2a(){_0xc8f50d(_0x39d0e9,_0x326e2b([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&(_0x27faea(_0x39d0e9,_0x326e2b([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x326e2b([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x326e2b([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x27faea(_0x39d0e9,_0x326e2b([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x326e2b([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x27faea(_0x39d0e9,_0x326e2b([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x326e2b([0x75,0x70,0x64,0x61,0x74,0x65])]=_0x3506a4,_0x27faea(_0x39d0e9,_0x326e2b([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x326e2b([0x73,0x61,0x76,0x65,0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e])]=_0x3506a4,_0x39d0e9[_0x326e2b([0x6d,0x6f,0x64,0x65,0x6c])][_0x326e2b([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x3506a4,_0x39d0e9[_0x326e2b([0x6d,0x6f,0x64,0x65,0x6c])][_0x326e2b([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x3506a4,_0x39d0e9[_0x326e2b([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x326e2b([0x6d,0x6f,0x64,0x65,0x6c]))),_0xc8f50d(_0x39d0e9,_0x326e2b([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x27faea(_0x39d0e9,_0x326e2b([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x326e2b([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x326e2b([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x27faea(_0x39d0e9,_0x326e2b([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x326e2b([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x27faea(_0x39d0e9,_0x326e2b([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x326e2b([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])]=_0x3506a4,_0x27faea(_0x39d0e9,_0x326e2b([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x326e2b([0x5f,0x67,0x65,0x74,0x44,0x69,0x66,0x66])]=_0x3506a4);}_0x39d0e9[_0x326e2b([0x73,0x74,0x61,0x74,0x65])]==_0x326e2b([0x72,0x65,0x61,0x64,0x79])?_0x53cc2a():_0x39d0e9[_0x326e2b([0x6f,0x6e,0x63,0x65])](_0x326e2b([0x72,0x65,0x61,0x64,0x79]),()=>{if(_0xc8f50d(_0x39d0e9,_0x326e2b([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&_0x53cc2a(),_0xc8f50d(_0x39d0e9,_0x326e2b([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))){const _0x18fe62=_0x27faea(_0x39d0e9,_0x326e2b([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79])),_0x3c14a4=_0x18fe62['getRevision'](0x0),_0x84eab7=_0x18fe62['getEarlierVisibleRevision'](_0x3c14a4[_0x326e2b([0x69,0x64])]);_0x27faea(_0x39d0e9,_0x326e2b([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x326e2b([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])](_0x3c14a4[_0x326e2b([0x69,0x64])],_0x84eab7?_0x84eab7[_0x326e2b([0x69,0x64])]:null,0x1)['then'](()=>_0x53cc2a());}});}_0x4af9c9(_0x56540d(_0x284ae2,_0x37c893),_0x37c893);}function _0x69ee28(_0x4c9015,_0xfbe635){try{return _0x347447(_0xfbe635)?_0x5329ed(_0xfbe635[_0x326e2b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x326e2b([0x56,0x61,0x6c,0x69,0x64])):_0x4c9015&&_0x98c4be(_0x4c9015[_0x326e2b([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])],_0xfbe635)?_0x4c9015[_0x326e2b([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]&&!window[_0x326e2b([0x6f,0x70,0x65,0x6e])][_0x326e2b([0x63,0x6c,0x6f,0x73,0x65,0x64])]||parseInt(_0x22984b)/0x2>_0x4c9015[_0x326e2b([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]?_0x5329ed(_0xfbe635[_0x326e2b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x326e2b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])):_0x4c9015[_0x326e2b([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]?_0x5329ed(_0xfbe635[_0x326e2b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x326e2b([0x54,0x72,0x69,0x61,0x6c])):_0x5329ed(_0xfbe635[_0x326e2b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x326e2b([0x56,0x61,0x6c,0x69,0x64])):_0x5329ed(_0xfbe635[_0x326e2b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x326e2b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}catch(_0x5a1e8c){return _0x5329ed(_0xfbe635[_0x326e2b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x326e2b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x106f7d(_0x1a644d,_0x42691a){if(_0x5d6d91 instanceof _0x195c3a){const _0x586889=_0x5d6d91;_0x1a644d==_0x42691a[_0x326e2b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x326e2b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x1276d7(_0x586889):_0x1a644d==_0x42691a[_0x326e2b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x326e2b([0x54,0x72,0x69,0x61,0x6c])&&window[_0x326e2b([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x1276d7(_0x586889),_0x5329ed(_0x42691a[_0x326e2b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x326e2b([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65]));},_0x24060e[0x6]*_0x2cfc6f[0x8]*_0x2cfc6f[0x6]),_0x586889[_0x326e2b([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])][_0x326e2b([0x6f,0x6e])](_0x326e2b([0x61,0x64,0x64]),(_0x12e6cf,_0x58dc49)=>{_0x1a644d!=_0x42691a[_0x326e2b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x326e2b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])&&_0x1a644d!=_0x42691a[_0x326e2b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x326e2b([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65])&&_0x1a644d!=_0x42691a[_0x326e2b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x326e2b([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])||_0x3b28a5(_0x58dc49);});}else{const _0x79d5f1=_0x5d6d91;_0x1a644d==_0x42691a[_0x326e2b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x326e2b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x3b28a5(_0x79d5f1):_0x1a644d==_0x42691a[_0x326e2b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x326e2b([0x54,0x72,0x69,0x61,0x6c])&&_0x79d5f1[_0x326e2b([0x6f,0x6e])](_0x326e2b([0x72,0x65,0x61,0x64,0x79]),()=>{let _0x3dec09=0x0;_0x79d5f1[_0x326e2b([0x6d,0x6f,0x64,0x65,0x6c])][_0x326e2b([0x6f,0x6e])](_0x326e2b([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x25e82b,_0x2e1d56)=>{_0x2e1d56[0x0][_0x326e2b([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x3dec09++,0x1f8===_0x3dec09&&(_0x3b28a5(_0x79d5f1),_0x5329ed(_0x42691a[_0x326e2b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x326e2b([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])),_0x25e82b[_0x326e2b([0x6f,0x66,0x66])]());},{'priority':_0x326e2b([0x68,0x69,0x67,0x68,0x65,0x73,0x74])});});}}function _0x5329ed(_0x22a416){const _0x31c62a=_0x116d0f();return _0x5d6d91[_0x31c62a]=_0x22a416,_0x22a416;}function _0x116d0f(){const _0x5f02ba=String(window[_0x326e2b([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x326e2b([0x6e,0x6f,0x77])]())[_0x326e2b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x326e2b([0x2e]),'');let _0x56c034='';for(let _0x16cc5f=0x0;_0x16cc5f<_0x5f02ba[_0x326e2b([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x16cc5f+=0x2){let _0x247345=parseInt(_0x5f02ba[_0x326e2b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x16cc5f,_0x16cc5f+0x2));_0x247345>=_0x5650c4[_0x326e2b([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x247345-=_0x5650c4[_0x326e2b([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x56c034+=_0x5650c4[_0x247345];}return _0x56c034;}function _0x1276d7(_0x5c4d83){for(const _0x5b6760 of _0x5c4d83[_0x326e2b([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])])_0x3b28a5(_0x5b6760);_0x27faea(_0x5c4d83,_0x326e2b([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x326e2b([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])](!0x0),_0x27faea(_0x5c4d83,_0x326e2b([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x326e2b([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])]=_0x3506a4;}function _0x3b28a5(_0x10e5c0){function _0x4f091f(){_0x10e5c0[_0x326e2b([0x6d,0x6f,0x64,0x65,0x6c])][_0x326e2b([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x3506a4,_0x10e5c0[_0x326e2b([0x6d,0x6f,0x64,0x65,0x6c])][_0x326e2b([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x3506a4,_0x10e5c0[_0x326e2b([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x326e2b([0x6d,0x6f,0x64,0x65,0x6c]));}_0x10e5c0[_0x326e2b([0x73,0x74,0x61,0x74,0x65])]==_0x326e2b([0x72,0x65,0x61,0x64,0x79])?_0x4f091f():_0x10e5c0[_0x326e2b([0x6f,0x6e,0x63,0x65])](_0x326e2b([0x72,0x65,0x61,0x64,0x79]),()=>_0x4f091f());}function _0x3506a4(){return null;}function _0x98c4be(_0x1d79b4,_0x216e35){const _0x1ed097=!!(_0x1d79b4&_0x216e35[_0x326e2b([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]),_0x458154=_0x1d7539(_0x1d79b4,_0x216e35);return _0x1ed097||_0x458154;}function _0x1d7539(_0x1ed3e8,_0x5a2247){const _0x1da0d8=(_0x5a2247[_0x326e2b([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{})[_0x326e2b([0x66,0x67,0x69])]||null;return!!_0x1da0d8&&_0x329cb5[_0x326e2b([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x219b12=>_0x1da0d8[_0x326e2b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x219b12[_0x326e2b([0x69,0x64])]))[_0x326e2b([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x25dcae=>!_0xa220a0(_0x25dcae))[_0x326e2b([0x73,0x6f,0x6d,0x65])](_0x2e691e=>!!(_0x1ed3e8&_0x2e691e[_0x326e2b([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]));}function _0xa220a0(_0x4f9f2b){const _0x4dcf99={[_0x326e2b([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])]:_0x30b6c3};return!!_0x4f9f2b['forbiddenHandler']&&_0x4dcf99[_0x4f9f2b['forbiddenHandler']]();}function _0x30b6c3(){return!window[_0x326e2b([0x44,0x72,0x75,0x70,0x61,0x6c])]||!_0xc8f50d(_0x5d6d91,_0x326e2b([0x64,0x72,0x75,0x70,0x61,0x6c,0x50,0x6f,0x77,0x65,0x72,0x65,0x64,0x42,0x79]));}function _0x347447(_0x499e0c){if(!_0xc8f50d(_0x5d6d91,_0x499e0c[_0x326e2b([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))return!0x0;const _0x4262d6=_0x499e0c[_0x326e2b([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{},_0x533a04=_0x4262d6[_0x326e2b([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]||!0x1,_0x309b3a=_0x4262d6[_0x326e2b([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]||!0x1,_0x5a1f53=_0x4262d6[_0x326e2b([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]||!0x1;if(_0xc8f50d(_0x5d6d91,_0x326e2b([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x27faea(_0x5d6d91,_0x326e2b([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x326e2b([0x73,0x74,0x61,0x74,0x65])]==_0x326e2b([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&_0x533a04)return!0x0;if(_0xc8f50d(_0x5d6d91,_0x326e2b([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))&&_0x27faea(_0x5d6d91,_0x326e2b([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))[_0x326e2b([0x72,0x65,0x73,0x75,0x6c,0x74])]==_0x326e2b([0x65,0x6e,0x64])&&_0x309b3a)return!0x0;return!(!_0xc8f50d(_0x5d6d91,_0x326e2b([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]))||_0x27faea(_0x5d6d91,_0x326e2b([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]))[_0x326e2b([0x72,0x65,0x73,0x75,0x6c,0x74])]!=_0x326e2b([0x65,0x6e,0x64])||!_0x5a1f53);}function _0xc8f50d(_0x525d6d,_0x210724){return _0x525d6d[_0x326e2b([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x326e2b([0x68,0x61,0x73])](_0x210724);}function _0x27faea(_0x3b5add,_0x554f1a){return _0x3b5add[_0x326e2b([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x326e2b([0x67,0x65,0x74])](_0x554f1a);}function _0x2f8c85(_0x473370){let _0x393389='';for(const _0x3c7549 of _0x473370)_0x393389+=String[_0x326e2b([0x66,0x72,0x6f,0x6d,0x43,0x68,0x61,0x72,0x43,0x6f,0x64,0x65])](_0x3c7549);return _0x393389;}function _0x1c28e6(_0x150ef1){const _0x3a7978=new Uint8Array(_0x150ef1[_0x326e2b([0x6c,0x65,0x6e,0x67,0x74,0x68])]);for(let _0x33b7d5=0x0;_0x33b7d5<_0x150ef1[_0x326e2b([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x33b7d5++)_0x3a7978[_0x33b7d5]=_0x150ef1[_0x326e2b([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x33b7d5);return _0x3a7978;}_0x28b43f&&_0x39903f(_0x187d49(_0x3fad93),_0x28b43f);})(_0x3be05e);}(this);}['createRevision'](_0x40fea9){const _0x51ee6b=this['editor']['plugins']['get']('Users');return new a({'id':_0x40fea9['id'],'name':_0x40fea9['name'],'creator':_0x40fea9['creatorId']?_0x51ee6b['getUser'](_0x40fea9['creatorId']):null,'diffData':_0x40fea9['diffData']||_0x40fea9['data'],'authors':_0x40fea9['authorsIds']['map'](_0x2d9796=>_0x51ee6b['getUser'](_0x2d9796)),'createdAt':new Date(_0x40fea9['createdAt']),'attributes':_0x40fea9['attributes'],'fromVersion':_0x40fea9['fromVersion'],'toVersion':_0x40fea9['toVersion']});}['addRevision'](_0x42e1e9,_0x312f99=0x0){this['_revisions']['add'](_0x42e1e9,_0x312f99);}['getRevision'](_0x287e87){return this['_revisions']['get'](_0x287e87);}['getRevisions'](_0x4cb4c6={'toJSON':!0x1}){const _0x22cf67=Array['from'](this['_revisions']);return _0x22cf67['reverse'](),_0x4cb4c6['toJSON']?_0x22cf67['map'](_0x48c9b0=>_0x48c9b0['toJSON']()):_0x22cf67;}['getIndex'](_0x1a120d){return this['_revisions']['getIndex'](_0x1a120d);}['getEarlierVisibleRevision'](_0x407afc){const [,_0x20ca7e]=this['getRevisionsIterator'](_0x407afc,{'direction':'earlier'});return _0x20ca7e;}['getLaterVisibleRevision'](_0x577f4c){const [,_0x1d30a4]=this['getRevisionsIterator'](_0x577f4c,{'direction':'later'});return _0x1d30a4;}['getRevisionsInDiff'](_0x4c9754){const _0x3f4c65=[];for(const _0x1aac07 of this['getRevisionsIterator'](_0x4c9754['newRevisionId']))if(_0x3f4c65['push'](_0x1aac07),_0x1aac07['id']===_0x4c9754['oldRevisionId'])break;return _0x3f4c65;}*['getRevisionsIterator'](_0x4e0a73,{direction:_0x18df88='earlier',filter:_0x5ba5ce=()=>!0x0}={}){const _0x29758d='earlier'===_0x18df88?0x1:-0x1;let _0x3988ee=this['_revisions']['get'](_0x4e0a73),_0x31047d=this['getIndex'](_0x3988ee);for(yield _0x3988ee;_0x3988ee;){if(_0x31047d+=_0x29758d,_0x3988ee=this['getRevision'](_0x31047d),!_0x3988ee)return;_0x5ba5ce(_0x3988ee)&&(yield _0x3988ee);}}}function y(_0x547ad0,_0x5bed05,_0x22d150){const t=_0x547ad0['t'];switch(_0x5bed05){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'},_0x22d150);case'X_OF_Y_CHANGES':return t({'string':'%0\x20of\x20%1','id':'X_OF_Y_CHANGES'},_0x22d150);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':_0x1073ed,'a':_0xa8f9a7,'e':_0xda1521,'r':_0x185cf4,'u':_0x2d9726};class l extends _0x14d499{['adapter'];['currentRevision'];['repository'];['_revisionDataBuilder'];['_source'];['_initialRevisionId'];['_bufferedUpdates'];['_pendingAction'];['_continueCurrentRevision'];['_startingVersion'];['_loadedStateData'];static get['pluginName'](){return'RevisionTracker';}static get['requires'](){return[_0x305683,A,_0x572860];}constructor(_0x26e20f){super(_0x26e20f),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 _0x1b7b2a=_0x43218d();this['_source']={'history':this['editor']['model']['document']['history'],'getLatestVersion':()=>Promise['resolve'](this['editor']['model']['document']['version']),'getCurrentRevisionId':()=>_0x1b7b2a},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 _0x3186f3=this['repository']['getRevision'](0x0),_0x540177=_0x3186f3&&null===_0x3186f3['creator']?_0x3186f3:null;if(this['_continueCurrentRevision']=!!_0x540177&&this['editor']['config']['get']('revisionHistory.resumeUnsavedRevision'),this['editor']['plugins']['has']('RealTimeCollaborationClient')){const _0x19a7e0=this['_source']['getCurrentRevisionId'](),_0x9dcd26=this['repository']['getRevision'](_0x19a7e0);if(_0x9dcd26)this['_startingVersion']=_0x9dcd26['fromVersion'],this['_continueCurrentRevision']=!0x1;else{const _0x318f2d=this['_source']['history']['_operations']['find'](_0x3d26b3=>!_0x3d26b3['_isInit']),_0x11d58e=_0x318f2d?_0x318f2d['baseVersion']:this['_source']['history']['version'];_0x3186f3?(_0x3186f3['toVersion']<_0x11d58e&&_0x3186f3['_update']({'toVersion':_0x11d58e}),this['_continueCurrentRevision']?(this['_source']['getCurrentRevisionId']=()=>_0x540177['id'],this['_startingVersion']=_0x540177['fromVersion']):(this['_startingVersion']=_0x3186f3['toVersion'],this['_continueCurrentRevision']=!0x1)):(this['_startingVersion']=_0x11d58e,this['_continueCurrentRevision']=!0x1);}}else _0x540177&&(this['editor']['model']['document']['history']['version']=Math['max'](_0x540177['toVersion'],this['editor']['model']['document']['history']['version']),_0x540177['fromVersion']===_0x540177['toVersion']?(0x0!==_0x540177['fromVersion']&&(this['_source']['getCurrentRevisionId']=()=>_0x540177['id']),this['_continueCurrentRevision']=!0x1):this['_continueCurrentRevision']&&(this['_source']['getCurrentRevisionId']=()=>_0x540177['id'],this['_startingVersion']=_0x540177['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',_0x5c6cbe=>!_0x5c6cbe);}async['afterInit'](){if(this['repository']['length']>0x0){const _0x2e617b=this['repository']['getRevision'](0x0),_0x5a4268=await this['getRevisionDocumentData'](_0x2e617b),_0x14e741=await this['getRevisionRootsAttributes'](_0x2e617b);this['_replaceEditorDataWithRevisionData'](_0x5a4268,_0x14e741);}}['setSource'](_0x37b58f){this['_source']=_0x37b58f;}async['update'](){const _0x87fb48=await this['_source']['getLatestVersion']();if(_0x87fb48>this['currentRevision']['toVersion']){await this['_loadState']();const _0x2b2160=this['buildRevisionData']({'revision':this['currentRevision'],'to':_0x87fb48});_0x2b2160['authors']=_0x2b2160['authorsIds']['map'](_0x17fb9b=>this['editor']['plugins']['get']('Users')['getUser'](_0x17fb9b)),this['currentRevision']['_update'](_0x2b2160);}}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'](_0x4d523c={},_0x4da426=null){const _0x355a9c=[];await this['_loadState'](),this['_continueCurrentRevision']=!0x1,_0x4da426>this['currentRevision']['toVersion']&&(_0x4da426=null),null===_0x4da426&&(_0x4da426=await this['_source']['getLatestVersion']());const _0x3aeac5=this['_getFromVersion'](_0x4da426),_0xa7fb3c=this['buildRevisionData']({'from':_0x3aeac5,'to':_0x4da426});if(this['currentRevision']['toVersion']<_0x4da426){const _0x1c9637=this['buildRevisionData']({'revision':this['currentRevision'],'from':_0x4da426,'to':_0x4da426});_0x1c9637['authors']=[],_0x1c9637['authorsIds']=[],_0x1c9637['id']=this['currentRevision']['id'],this['currentRevision']['_update'](_0x1c9637,!0x0),delete _0x1c9637['authors'],_0x355a9c['push'](_0x1c9637);}_0x4d523c['creatorId']=this['editor']['plugins']['get']('Users')['me']['id'],_0x4d523c['name']=_0x4d523c['name']||null,_0x4d523c['id']=_0x4d523c['id']||_0x43218d(),_0x4d523c={..._0x4d523c,..._0xa7fb3c};const _0x2fd878=this['addRevisionData'](_0x4d523c);_0x355a9c['push'](_0x4d523c);const _0x5cf2e0=this['repository']['getIndex'](_0x2fd878);if(0x0!==_0x5cf2e0){const _0x451a6a=this['repository']['getRevision'](_0x5cf2e0-0x1);if(_0x451a6a['fromVersion']!==_0x4da426){const _0x5e0493=this['_revisionDataBuilder']['getData'](_0x4da426,_0x451a6a['toVersion']),_0x2dd18a={'id':_0x451a6a['id'],'diffData':_0x5e0493['diffData'],'authorsIds':_0x5e0493['authorsIds'],'authors':_0x5e0493['authorsIds']['map'](_0x28296a=>this['editor']['plugins']['get']('Users')['getUser'](_0x28296a)),'fromVersion':_0x4da426};_0x451a6a===this['currentRevision']&&(_0x2dd18a['createdAt']=new Date(_0x4d523c['createdAt']['getTime']()+0xa)),_0x451a6a['_update'](_0x2dd18a,!0x0),delete _0x2dd18a['authors'],_0x355a9c['push'](_0x2dd18a);}}if(this['adapter']){for(const _0x77458 of _0x355a9c)this['_bufferUpdate'](_0x77458['id'],_0x77458,!0x0);this['sendBufferedUpdates']();}return _0x2fd878;}['addRevisionData'](_0x39c512){const _0x4e7f08=this['repository']['createRevision'](_0x39c512);return this['adapter']&&_0x4e7f08['on']('_update',(_0x5ba796,_0x3c1eb9,_0x49bde3)=>{_0x49bde3||(this['_bufferUpdate'](_0x3c1eb9['id'],_0x3c1eb9,!0x0),this['sendBufferedUpdates']());}),this['repository']['addRevision'](_0x4e7f08,this['_findInsertionIndex'](_0x4e7f08)),_0x4e7f08;}async['getRevisionDocumentData'](_0xf16efb){await this['_loadRevisionData'](_0xf16efb);const _0x59a32f={};for(const _0x5624c6 in _0xf16efb['diffData']){if(_0xf16efb['diffData'][_0x5624c6]['attachChange']&&!_0xf16efb['diffData'][_0x5624c6]['attachChange']['isAttached'])continue;const _0xd10678=this['_removeRevisionMarkers'](JSON['parse'](_0xf16efb['diffData'][_0x5624c6]['insertions'])),_0x367100=this['editor']['editing']['view']['document'],_0x28b33a=new _0x357978(_0x367100,_0xd10678['map'](_0x57898e=>B(_0x57898e,this['editor'])));this['editor']['data']['processor']['useFillerType']('marked'),_0x59a32f[_0x5624c6]=this['editor']['data']['processor']['toData'](_0x28b33a),this['editor']['data']['processor']['useFillerType']('default');}return _0x59a32f;}async['getRevisionRootsAttributes'](_0x3debac){await this['_loadRevisionData'](_0x3debac);const _0x48d5c0={};for(const _0x48d065 in _0x3debac['diffData'])_0x3debac['diffData'][_0x48d065]['attachChange']&&!_0x3debac['diffData'][_0x48d065]['attachChange']['isAttached']||(_0x48d5c0[_0x48d065]=_0x3debac['diffData'][_0x48d065]['attributesAfter']||{});return _0x48d5c0;}['sendBufferedUpdates'](){if(0x0===this['_bufferedUpdates']['size'])return;if(this['_isPendingUpdate'])return;let _0x498b15=Array['from'](this['_bufferedUpdates']['values']());this['_bufferedUpdates']['clear']();for(let _0x40011e=0x0;_0x40011e<_0x498b15['length'];_0x40011e++){const _0x1f495d=_0x498b15[_0x40011e];let _0xd700e=!0x1;for(const _0x1bdab1 of Object['keys'](_0x1f495d))void 0x0===_0x1f495d[_0x1bdab1]?delete _0x1f495d[_0x1bdab1]:'id'!==_0x1bdab1&&(_0xd700e=!0x0);_0xd700e||(_0x498b15[_0x40011e]=null);}if(_0x498b15=_0x498b15['filter'](_0x434231=>null!==_0x434231),!_0x498b15['length'])return;for(let _0x98bfd6=0x0;_0x98bfd6<_0x498b15['length'];_0x98bfd6++){const _0x391766=_0x498b15[_0x98bfd6];void 0x0!==_0x391766['fromVersion']&&void 0x0===_0x391766['toVersion']&&(_0x391766['toVersion']=this['repository']['getRevision'](_0x391766['id'])['toVersion']),void 0x0!==_0x391766['toVersion']&&void 0x0===_0x391766['fromVersion']&&(_0x391766['fromVersion']=this['repository']['getRevision'](_0x391766['id'])['fromVersion']);}const _0x31b85a=this['editor']['config']['get']('collaboration.channelId');this['_isPendingUpdate']=!0x0,this['_addPendingAction'](),this['adapter']['updateRevisions'](_0x498b15,_0x31b85a)['finally'](()=>{this['_isPendingUpdate']=!0x1;})['then'](_0x33e6e2=>{if(_0x33e6e2){for(const _0x59ae5a of _0x33e6e2)this['setRevisionData']({'id':_0x59ae5a['id'],'createdAt':_0x59ae5a['createdAt']});}this['_removePendingAction'](),this['sendBufferedUpdates']();});}['_replaceEditorDataWithRevisionData'](_0x29f3bf,_0x2d6eca){let _0x344ddf=this['editor']['config']['get']('initialData'),_0x46bd18=this['editor']['config']['get']('rootsAttributes');if(void 0x0===_0x344ddf){_0x344ddf={};for(const _0x3b0eed of this['editor']['model']['document']['getRootNames']())_0x344ddf[_0x3b0eed]='';}if('string'==typeof _0x344ddf&&(_0x344ddf={'main':_0x344ddf}),void 0x0===_0x46bd18){_0x46bd18={};for(const _0x301027 of this['editor']['model']['document']['getRootNames']())_0x46bd18[_0x301027]={};}let _0x418b1e=!0x1;const _0x4a07e2=Object['keys'](_0x344ddf),_0x414aef=Object['keys'](_0x29f3bf);for(const _0x4c0424 of _0x4a07e2){if(_0x344ddf[_0x4c0424]!==_0x29f3bf[_0x4c0424]&&''!==_0x344ddf[_0x4c0424]['trim']()){_0x418b1e=!0x0;break;}if(!_0x5704f6(_0x46bd18[_0x4c0424],_0x2d6eca[_0x4c0424])&&Object['keys'](_0x46bd18[_0x4c0424])['length']>0x0){_0x418b1e=!0x0;break;}}_0x418b1e||(_0x418b1e=_0x414aef['some'](_0x1b3fb3=>!this['editor']['model']['document']['getRoot'](_0x1b3fb3))),_0x418b1e&&_0x17636b('editor-initial-data-replaced-with-revision-data',{'editorData':_0x344ddf,'editorRootsAttributes':_0x46bd18,'revisionData':_0x29f3bf,'revisionRootsAttributes':_0x2d6eca}),this['editor']['config']['set']('initialData',_0x29f3bf),this['editor']['config']['set']('rootsAttributes',_0x2d6eca);}['_addPendingAction'](){if(!this['_pendingAction']){const _0x1764ff=this['editor']['plugins']['get']('PendingActions');this['_pendingAction']=_0x1764ff['add'](y(this['editor']['locale'],'PENDING_ACTION_REVISION_HISTORY'));}}['_removePendingAction'](){this['_pendingAction']&&(this['editor']['plugins']['get']('PendingActions')['remove'](this['_pendingAction']),this['_pendingAction']=null);}['_findInsertionIndex'](_0x3123e0){const _0x4c32f5=this['repository']['getRevisions']();_0x4c32f5['reverse']();let _0x4aaf02=0x0;for(;_0x4aaf02<_0x4c32f5['length'];){const _0x2ec248=_0x4c32f5[_0x4aaf02];if(_0x2ec248===this['currentRevision']){_0x4aaf02++;continue;}if(_0x2ec248['id']===this['_initialRevisionId'])break;const _0x594475=_0x3123e0['toVersion']-_0x2ec248['toVersion']||_0x3123e0['fromVersion']-_0x2ec248['fromVersion'];if(_0x594475>0x0)break;if(_0x594475<0x0)_0x4aaf02++;else{if(!_0x3123e0['creator']&&_0x2ec248['creator'])break;if(_0x2ec248['creator']||!_0x3123e0['creator']){if(_0x3123e0['createdAt']>_0x2ec248['createdAt'])break;_0x4aaf02++;}else _0x4aaf02++;}}return _0x4aaf02;}['setRevisionData'](_0x427ef0){const _0x552da3=this['repository']['getRevision'](_0x427ef0['id']);if(_0x427ef0['createdAt']&&(_0x427ef0['createdAt']=new Date(_0x427ef0['createdAt'])),_0x427ef0['authorsIds']){const _0x3a283c=this['editor']['plugins']['get']('Users');_0x427ef0['authors']=_0x427ef0['authorsIds']['map'](_0x1b00e9=>_0x3a283c['getUser'](_0x1b00e9));}_0x552da3['_update'](_0x427ef0,!0x0);}['buildRevisionData']({revision:_0xcd261=null,from:_0x168719=null,to:_0x309966=null}){_0x168719=null!==_0x168719?_0x168719:_0xcd261['fromVersion'],_0x309966=null!==_0x309966?_0x309966:_0xcd261['toVersion'];const _0x51c644=this['_revisionDataBuilder']['getData'](_0x168719,_0x309966),_0x479a34={'diffData':_0x51c644['diffData'],'authorsIds':_0x51c644['authorsIds'],'fromVersion':_0x168719,'toVersion':_0x309966};if(!_0xcd261||_0x309966!==_0xcd261['toVersion']){const _0x31d7a8=_0x309966-0x1,_0x10b8cd=this['_source']['history']['getOperation'](_0x31d7a8);_0x479a34['createdAt']=_0x10b8cd&&_0x10b8cd['createdAt']||new Date();}if(this['_loadedStateData']&&_0x168719===this['_loadedStateData']['fromVersion']){for(const _0x5012eb of this['_loadedStateData']['authors'])_0x479a34['authorsIds']['includes'](_0x5012eb['id'])||_0x479a34['authorsIds']['push'](_0x5012eb['id']);}return _0x479a34;}['_loadRevisionData'](_0x80956c){if(!_0x80956c||_0x80956c['diffData'])return Promise['resolve']();{const _0x5ad246=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0x5ad246,'revisionId':_0x80956c['id']})['then'](_0x501c6f=>{_0x80956c['diffData']=_0x501c6f['diffData'];});}}['_bufferUpdate'](_0x4287e9,_0x452073,_0x32645c){if(this['_bufferedUpdates']['has'](_0x4287e9)){const _0x469f9d=this['_bufferedUpdates']['get'](_0x4287e9);_0x452073=_0x32645c?{..._0x469f9d,..._0x452073}:{..._0x452073,..._0x469f9d};}this['_bufferedUpdates']['set'](_0x4287e9,_0x452073);}['_getFromVersion'](_0x45cdc5){const _0x4813c7=this['repository']['getRevisions']();_0x4813c7['reverse'](),_0x4813c7['shift']();const _0x16b40e=_0x4813c7['find'](_0x19bbd1=>_0x19bbd1['toVersion']<=_0x45cdc5)['toVersion'];return _0x16b40e<this['_startingVersion']?this['_startingVersion']:_0x16b40e;}['_createInitialRevision'](_0x34e275){const _0x169b69=this['repository']['getRevision'](this['repository']['length']-0x1);if(_0x169b69)this['_initialRevisionId']=_0x169b69['id'];else{const _0x151d39=!this['editor']['model']['document']['roots']['find'](_0x45842e=>this['editor']['model']['hasContent'](_0x45842e)),_0x3faf17=this['editor']['plugins']['get']('Users')['me']['id'],_0x2c44be=y(this['editor']['locale'],_0x151d39?'Empty\x20document':'Initial\x20revision');this['_makeRevision']({'from':_0x34e275,'to':_0x34e275,'id':this['_initialRevisionId'],'name':_0x2c44be,'creatorId':_0x3faf17});}}['_createCurrentRevision'](_0x3016b8){const _0x1c405e=this['_source']['getCurrentRevisionId']();this['currentRevision']=this['repository']['getRevision'](_0x1c405e),this['currentRevision']||(this['currentRevision']=this['_makeRevision']({'from':_0x3016b8,'to':_0x3016b8,'id':_0x1c405e,'name':'','creatorId':null}));}['_makeRevision']({name:_0x59187f,from:_0x74b60b,to:_0x2d4eff,creatorId:_0x5e61c3,id:_0x8b8e57}){const _0x3ba269=this['buildRevisionData']({'from':_0x74b60b,'to':_0x2d4eff});_0x3ba269['name']=_0x59187f,_0x3ba269['creatorId']=_0x5e61c3,_0x3ba269['id']=_0x8b8e57;const _0x863b34=this['addRevisionData'](_0x3ba269);return this['adapter']&&this['_bufferUpdate'](_0x3ba269['id'],_0x3ba269,!0x0),_0x863b34;}['_setConversion'](){this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'});}['_removeRevisionMarkers'](_0x38d908){return(_0x38d908=_0x38d908['filter'](_0x59d732=>!_0x59d732['name']||'revision-start'!==_0x59d732['name']&&'revision-end'!==_0x59d732['name']))['forEach'](_0x151dbc=>{'string'!=typeof _0x151dbc&&(_0x151dbc['children']=this['_removeRevisionMarkers'](_0x151dbc['children']),_0x151dbc['attributes']=_0x151dbc['attributes']['filter'](_0x27bb44=>!_0x27bb44[0x0]['startsWith']('data-revision-')));}),_0x38d908;}}function B(_0x2794ab,_0xbc98d8){const _0x2650e4=_0xbc98d8['editing']['view']['document'];if('string'==typeof _0x2794ab)return new _0xbee8f(_0x2650e4,_0x2794ab);{const _0x94731=_0x2794ab['children']['map'](_0x1ae615=>B(_0x1ae615,_0xbc98d8));return new(T[_0x2794ab['type']]||_0x3cd62f)(_0x2650e4,_0x2794ab['name'],_0x2794ab['attributes'],_0x94731);}}class J{['editor'];['source'];['_savedMetaData'];['_lastFrom'];['_lastTo'];['_markers'];['_diffRoots'];['_diffRootsAttributes'];['_baseRoots'];['_baseRootsAttributes'];['_idsRoots'];['_baseIdsRoots'];['_touched'];['_touchedMarkers'];['_touchedRoots'];['_revisionId'];['_startingRevisionId'];constructor(_0x2b8f4f){this['editor']=_0x2b8f4f,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'](_0xe3e6f7){this['source']=_0xe3e6f7;const _0x492938=new Map(),_0xed427e=new Map(),_0x1e173b=this['editor']['model']['document']['roots']['map'](_0x1dda71=>_0x1dda71['rootName']);for(const _0x13f9c9 of _0x1e173b){const _0x2e385f=this['editor']['model']['document']['getRoot'](_0x13f9c9),_0x104270=q(_0x2e385f);_0x492938['set'](_0x13f9c9,_0x104270),_0xed427e['set'](_0x13f9c9,Object['fromEntries'](_0x2e385f['getAttributes']()));}const _0x444502=Array['from'](this['editor']['model']['markers'])['map'](_0x50c7bc=>[_0x50c7bc['name'],_0x50c7bc['getRange']()]),_0xd8e1ee=this['source']['version'];this['_saveMetaData'](_0xd8e1ee,_0x492938,_0x444502,_0xed427e),this['_startingRevisionId']=this['_revisionId'];const _0x5747ec=new Map(),_0x11518b=new Map();for(const _0x57c708 of _0x1e173b){const _0x5ddf2a=G(_0x57c708);_0x5747ec['set'](_0x57c708,_0x5ddf2a),_0x11518b['set'](_0x57c708,{});}this['_saveMetaData'](Number['NEGATIVE_INFINITY'],_0x5747ec,[],_0x11518b);}['getData'](_0x2aed83,_0x3767d5){if(this['_lastFrom']===_0x2aed83&&this['_lastTo']<=_0x3767d5)this['_savedMetaData']['size']>0x1&&this['_removeMetaData'](this['_lastTo']),this['_applyOperations'](this['_lastTo'],_0x3767d5,!0x0);else{if(!this['_savedMetaData']['has'](_0x2aed83)){const _0x12407e=this['_getPreviousFrom'](_0x2aed83);this['_calculateMetaData'](_0x12407e,_0x2aed83,!0x1);}this['_calculateMetaData'](_0x2aed83,_0x3767d5,!0x0);}return this['_lastFrom']=_0x2aed83,this['_lastTo']=_0x3767d5,this['_getState']();}['loadState'](_0x6f4688){this['_reset'](),this['_lastFrom']=_0x6f4688['fromVersion'],this['_lastTo']=_0x6f4688['toVersion'];for(const _0x384cc5 in _0x6f4688['diffData']){const _0x1cd2f4=_0x6f4688['diffData'][_0x384cc5]['attachChange'],_0x15c278=_0x2af7a2(_0x6f4688['diffData'][_0x384cc5]['attributesBefore'])||{},_0x9a6efa=this['_makeModelFromViewString'](_0x6f4688['diffData'][_0x384cc5]['deletions']);_0x9a6efa['rootName']=_0x384cc5,_0x9a6efa['_isAttached']=!_0x1cd2f4||!_0x1cd2f4['isAttached'],_0x9a6efa['isAttached']=()=>_0x9a6efa['_isAttached'],this['_baseRoots']['set'](_0x384cc5,_0x9a6efa),this['_baseRootsAttributes']['set'](_0x384cc5,_0x15c278),_0x1cd2f4&&this['_touchedRoots']['set'](_0x384cc5,_0x1cd2f4);const _0x4c8ede=this['_makeIdsRoot'](_0x9a6efa);this['_baseIdsRoots']['set'](_0x384cc5,_0x4c8ede);for(const [_0x16d119,_0x511904]of _0x9a6efa['markers']){if(!_0x16d119['startsWith']('revision:'))continue;const _0x2ab732=_0x16d119['split'](':')[0x2];for(const _0x5f24b3 of _0x511904['getWalker']({'singleCharacters':!0x0})){const _0x1e27ad=this['_getVidAttributeName'](_0x5f24b3),_0x4ba80a='elementEnd'==_0x5f24b3['type']?_0x5f24b3['previousPosition']['path']['slice'](0x0,-0x1):_0x5f24b3['previousPosition']['path'],_0x19838d=_0x4c8ede['getNodeByPath'](_0x4ba80a)['getAttribute'](_0x1e27ad);this['_touched']['set'](_0x19838d,{'userId':_0x2ab732});}}}this['_startingRevisionId']=this['_revisionId'];const _0x720430=[...Array(this['_revisionId'])['keys']()]['slice'](0x1)['filter'](_0x314aa2=>!this['_touched']['has'](_0x314aa2));let _0xcdc260=0x0;const _0x21a905=new Map();for(const _0x1dba22 in _0x6f4688['diffData']){const _0x52faa9=_0x6f4688['diffData'][_0x1dba22]['attachChange'],_0x269aa8=_0x2af7a2(_0x6f4688['diffData'][_0x1dba22]['attributesAfter'])||{},_0x1251a2=this['_makeModelFromViewString'](_0x6f4688['diffData'][_0x1dba22]['insertions']);_0x1251a2['rootName']=_0x1dba22,_0x1251a2['_isAttached']=!_0x52faa9||_0x52faa9['isAttached'],_0x1251a2['isAttached']=()=>_0x1251a2['_isAttached'],this['_diffRoots']['set'](_0x1dba22,_0x1251a2),this['_diffRootsAttributes']['set'](_0x1dba22,_0x269aa8);const _0xadbf85=this['_makeIdsRoot'](_0x1251a2,Number['NEGATIVE_INFINITY']);this['_idsRoots']['set'](_0x1dba22,_0xadbf85),_0x21a905['set'](_0x1dba22,_0x1251a2['isAttached']()?_0x269aa8:{});for(const [_0x35faff,_0x11a974]of _0x1251a2['markers']){if(!_0x35faff['startsWith']('revision:'))continue;const _0x13219c=_0x35faff['split'](':')[0x2];for(const _0x1ea51b of _0x11a974['getWalker']({'singleCharacters':!0x0})){const _0x328d7f=this['_getVidAttributeName'](_0x1ea51b),_0x56211c=this['_revisionId']++,_0x4d3977='elementEnd'==_0x1ea51b['type']?_0x1ea51b['previousPosition']['path']['slice'](0x0,-0x1):_0x1ea51b['previousPosition']['path'];_0xadbf85['getNodeByPath'](_0x4d3977)['_setAttribute'](_0x328d7f,_0x56211c),this['_touched']['set'](_0x56211c,{'userId':_0x13219c});}}for(const _0x162d4b of this['editor']['model']['createRangeIn'](_0x1251a2)['getWalker']({'singleCharacters':!0x0})){const _0x4f9eb4=this['_getVidAttributeName'](_0x162d4b),_0x474448='elementEnd'==_0x162d4b['type']?_0x162d4b['previousPosition']['path']['slice'](0x0,-0x1):_0x162d4b['previousPosition']['path'],_0x1e23e9=_0xadbf85['getNodeByPath'](_0x474448);_0x1e23e9['getAttribute'](_0x4f9eb4)>0x0||_0x1e23e9['_setAttribute'](_0x4f9eb4,_0x720430[_0xcdc260++]);}for(const [_0x6acd4e,_0x55d57a]of _0x1251a2['markers'])_0x6acd4e['startsWith']('revision:')||this['_markers']['set'](_0x6acd4e,_0x55d57a);}const _0x1a58da=G('$graveyard');this['_baseRoots']['set']('$graveyard',_0x1a58da),this['_baseIdsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x1a58da,0x1));const _0x3cad8d=G('$graveyard');this['_diffRoots']['set']('$graveyard',_0x3cad8d),this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x3cad8d,0x1));const _0x5c3be3=Array['from'](this['_diffRoots'])['map'](([_0x48d1f8,_0x23ccd5])=>[_0x48d1f8,q(_0x23ccd5)]);this['_saveMetaData'](this['_lastTo'],_0x5c3be3,this['_markers'],_0x21a905);}['_makeModelFromViewString'](_0x17c141){const _0x350a85=JSON['parse'](_0x17c141),_0x271fec=this['editor']['editing']['view']['document'],_0x40a479=new _0x357978(_0x271fec,_0x350a85['map'](_0x499272=>B(_0x499272,this['editor'])));return this['editor']['data']['toModel'](_0x40a479);}['_saveMetaData'](_0x10d375,_0x17bef3,_0x4ea480,_0x3e78e5){const _0x4b1ca0=new Map(_0x17bef3),_0x2c0e7e=new Map(_0x2af7a2(_0x3e78e5)),_0x4db0c9=new Map();for(const [_0x1187f6,_0xb59759]of _0x4ea480)_0x4db0c9['set'](_0x1187f6,{'start':_0xb59759['start']['clone'](),'end':_0xb59759['end']['clone'](),'rootName':_0xb59759['root']['rootName']});this['_savedMetaData']['set'](_0x10d375,{'roots':_0x4b1ca0,'markers':_0x4db0c9,'rootsAttributes':_0x2c0e7e});}['_removeMetaData'](_0x51c986){this['_savedMetaData']['delete'](_0x51c986);}['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'](_0x2acda0,_0x173feb=null){let _0x271c27=null;_0x2acda0['is']('documentFragment')||(_0x271c27=new ft(_0x2acda0['name'],{'vid_start':null===_0x173feb?this['_revisionId']++:_0x173feb++}));const _0x444789=[];for(const _0x1d2ec2 of _0x2acda0['getChildren']())if(_0x1d2ec2['is']('element')){_0x444789['push'](this['_makeIdsRoot'](_0x1d2ec2,_0x173feb));const _0x5bc9c4=_0x444789[_0x444789['length']-0x1];null!==_0x173feb&&(_0x173feb=_0x5bc9c4['is']('element','$text')?_0x5bc9c4['getAttribute']('vid')+0x1:_0x5bc9c4['getAttribute']('vid_end')+0x1);}else{for(let _0x5a92db=0x0;_0x5a92db<_0x1d2ec2['offsetSize'];_0x5a92db++)_0x444789['push'](new ft('$text',{'vid':null===_0x173feb?this['_revisionId']++:_0x173feb++}));}if(_0x2acda0['is']('documentFragment')){const _0x59ca3b=G(_0x2acda0['rootName']);return _0x59ca3b['_insertChild'](0x0,_0x444789),_0x59ca3b;}return _0x271c27['_setAttribute']('vid_end',null===_0x173feb?this['_revisionId']++:_0x173feb++),_0x271c27['_insertChild'](0x0,_0x444789),_0x271c27;}['_calculateMetaData'](_0x9fcc4d,_0x3b1e6c,_0x59b2dc){this['_reset']();const {roots:_0x20f471,markers:_0x5a90ab,rootsAttributes:_0x18a801}=this['_savedMetaData']['get'](_0x9fcc4d);this['_baseRoots']=new Map(_0x20f471),this['_baseRootsAttributes']=new Map(_0x2af7a2(_0x18a801));for(const [_0x2b9201,_0x1ae737]of this['_baseRoots'])if('$graveyard'!==_0x2b9201&&(this['_diffRoots']['set'](_0x2b9201,q(_0x1ae737)),this['_diffRootsAttributes']=new Map(_0x2af7a2(_0x18a801)),_0x59b2dc)){const _0x2c9efa=this['_revisionId'];this['_idsRoots']['set'](_0x2b9201,this['_makeIdsRoot'](_0x1ae737)),this['_baseIdsRoots']['set'](_0x2b9201,this['_makeIdsRoot'](_0x1ae737,_0x2c9efa));}this['_startingRevisionId']=this['_revisionId'],this['_diffRoots']['set']('$graveyard',q(this['_baseRoots']['get']('$graveyard'))),_0x59b2dc&&this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](this['_baseRoots']['get']('$graveyard')));for(const [_0x824646,_0x4b1389]of _0x5a90ab){const _0x2fb526=this['_baseRoots']['get'](_0x4b1389['rootName']),_0x576640=this['_diffRoots']['get'](_0x4b1389['rootName']),_0x3d0a12=new vt(this['_fixPosition'](_0x4b1389['start'],_0x2fb526),this['_fixPosition'](_0x4b1389['end'],_0x2fb526)),_0x4c466a=this['_fixRange'](_0x3d0a12,_0x576640);_0x2fb526['markers']['set'](_0x824646,_0x3d0a12),this['_markers']['set'](_0x824646,_0x4c466a);}this['_applyOperations'](_0x9fcc4d,_0x3b1e6c,_0x59b2dc);}['_applyOperations'](_0x31cca4,_0x3209f1,_0x37e809){for(const _0x382118 of this['source']['getOperations'](_0x31cca4,_0x3209f1))this['_handleOperation'](_0x382118,_0x37e809);for(const _0x218b65 of this['_diffRoots']['values']())_0x218b65['markers']['clear']();for(const [_0x5539a9,_0xbaf450]of this['_markers']){this['_diffRoots']['get'](_0xbaf450['root']['rootName'])['markers']['set'](_0x5539a9,_0xbaf450['clone']());}const _0x3d0dcd=new Map(),_0x1daaee=new Map();for(const [_0x5d9c07,_0xde6442]of this['_diffRoots'])_0x3d0dcd['set'](_0x5d9c07,q(_0xde6442)),_0x1daaee['set'](_0x5d9c07,this['_diffRootsAttributes']['get'](_0x5d9c07));this['_saveMetaData'](_0x3209f1,_0x3d0dcd,this['_markers'],_0x1daaee);}['_getPreviousFrom'](_0x31c3ab){const _0x5d13ea=Array['from'](this['_savedMetaData']['keys']());_0x5d13ea['sort']((_0x27ba7f,_0x1d358b)=>_0x27ba7f-_0x1d358b),_0x5d13ea['reverse']();for(const _0x551b3d of _0x5d13ea)if(_0x551b3d<_0x31c3ab)return _0x551b3d;return Number['NEGATIVE_INFINITY'];}['_copyMarkers'](_0x5145d4,_0x52f709){const _0x1ef884=Array['from'](_0x52f709['markers'])['map'](([_0x38f1e9,_0x43f741])=>[_0x38f1e9,this['_fixRange'](_0x43f741,_0x5145d4)]);_0x5145d4['markers']=new Map(_0x1ef884);}['_transformMarkers'](_0xf8258c){for(const _0x59e3ff of this['_markers']['values']()){const _0x59398d=_0x59e3ff['getTransformedByOperation'](_0xf8258c),_0x2cbcb=vt['_createFromRanges'](_0x59398d);_0x59e3ff['start']=_0x2cbcb['start'],_0x59e3ff['end']=_0x2cbcb['end'];}}['_handleOperation'](_0x196f22,_0x51a2d8){if('addRoot'==_0x196f22['type']||'detachRoot'==_0x196f22['type'])return void this['_handleRootOperation'](_0x196f22,_0x51a2d8);if('insert'==_0x196f22['type']){const _0x9b76a0=_0x196f22['position']['root']['rootName'];this['_diffRoots']['has'](_0x9b76a0)||(this['_diffRoots']['set'](_0x9b76a0,G(_0x9b76a0,!0x0)),this['_diffRootsAttributes']['set'](_0x9b76a0,{}),_0x51a2d8&&this['_idsRoots']['set'](_0x9b76a0,G(_0x9b76a0,!0x0)));}else{if('addRootAttribute'==_0x196f22['type']||'removeRootAttribute'==_0x196f22['type']||'changeRootAttribute'==_0x196f22['type'])return void this['_handleRootAttributeOperation'](_0x196f22);}const _0x1abf3d=this['_cloneOperation'](_0x196f22,this['_diffRoots']);if('marker'!==_0x196f22['type']&&(_0x1abf3d['_execute'](),this['_transformMarkers'](_0x1abf3d)),_0x51a2d8)switch(_0x1abf3d['type']){case'insert':this['_handleInsertOperation'](_0x196f22);break;case'move':case'remove':case'reinsert':this['_handleMoveOperation'](_0x196f22);break;case'merge':this['_handleMergeOperation'](_0x196f22);break;case'split':this['_handleSplitOperation'](_0x196f22);break;case'marker':this['_handleMarkerOperation'](_0x196f22);}}['_cloneOperation'](_0x22c751,_0x30a7a5){const _0x5bb4fc=_0x22c751['clone']();return _0x5bb4fc['_authorId']=_0x22c751['_authorId'],this['_fixOperation'](_0x5bb4fc,_0x30a7a5),_0x5bb4fc;}['_getBaseVids'](_0x393f5f){return _0x393f5f['map'](_0x637fb2=>{const _0x3282d2=this['_getVidAttributeName'](_0x637fb2);return Number(_0x637fb2['item']['getAttribute'](_0x3282d2));});}['_generateTape'](_0x1c26a4,_0x22ea80){if(_0x1c26a4['is']('element','$text'))_0x22ea80['push']({'item':_0x1c26a4,'type':'text'});else{_0x1c26a4['is']('element')&&_0x22ea80['push']({'item':_0x1c26a4,'type':'elementStart'});for(const _0x559cbd of _0x1c26a4['getChildren']())this['_generateTape'](_0x559cbd,_0x22ea80);_0x1c26a4['is']('element')&&_0x22ea80['push']({'item':_0x1c26a4,'type':'elementEnd'});}return _0x22ea80;}['_getState'](){const _0x2a3d40=new Map(this['_touched']),_0x330deb=new Map(_0x2a3d40),_0x3bd267=new Map(),_0x4159ba={'insertions':{},'deletions':{}},_0x5dd3be={'insertions':{},'deletions':{}},_0x5d999f=new Map(),_0x273968=new Set([...this['_baseRoots']['keys'](),...this['_diffRoots']['keys']()]);_0x273968['delete']('$graveyard');for(const _0x47c0a1 of _0x273968){const _0x49ad72=this['_diffRoots']['get'](_0x47c0a1)||G(_0x47c0a1,!0x1),_0x28d061=this['_baseRoots']['get'](_0x47c0a1)||G(_0x47c0a1,!0x1);_0x49ad72['isAttached']()||_0x28d061['isAttached']()?(_0x4159ba['insertions'][_0x47c0a1]=q(_0x49ad72),_0x4159ba['deletions'][_0x47c0a1]=q(_0x28d061),this['_copyMarkers'](_0x4159ba['deletions'][_0x47c0a1],_0x28d061),this['_copyMarkers'](_0x4159ba['insertions'][_0x47c0a1],_0x49ad72),_0x5dd3be['insertions'][_0x47c0a1]=this['_generateTape'](this['_idsRoots']['get'](_0x47c0a1),[]),_0x5dd3be['deletions'][_0x47c0a1]=this['_generateTape'](this['_baseIdsRoots']['get'](_0x47c0a1)||G(_0x47c0a1,!0x1),[])):_0x273968['delete'](_0x47c0a1);}for(const _0x27edbf of _0x273968){const _0x24b0f6=_0x5dd3be['insertions'][_0x27edbf];for(const _0x46cba3 of _0x24b0f6){const _0x24dcc1=this['_getVidAttributeName'](_0x46cba3),_0x2aaefd=_0x46cba3['item']['getAttribute'](_0x24dcc1);_0x330deb['delete'](_0x2aaefd),_0x2aaefd>=this['_startingRevisionId']&&_0x3bd267['set'](_0x2aaefd,_0x2a3d40['get'](_0x2aaefd));}}for(const _0x5c980b of _0x273968){const _0x3ba14c=_0x5dd3be['insertions'][_0x5c980b],_0x35ec39=this['_getBaseVids'](_0x5dd3be['deletions'][_0x5c980b]);let _0x87f55e=0x0;for(const _0x1eef28 of _0x3ba14c){const _0xb4d257=this['_getVidAttributeName'](_0x1eef28),_0x561784=_0x1eef28['item']['getAttribute'](_0xb4d257);if(!_0x3bd267['has'](_0x561784)&&!_0x5d999f['has'](_0x561784)){if(_0x330deb['has'](_0x561784))_0x87f55e++;else{if(_0x561784!=_0x35ec39[_0x87f55e]){const _0x39b329=_0x2a3d40['get'](_0x561784)||_0x2a3d40['get'](_0x35ec39[_0x87f55e]);for(;_0x561784!=_0x35ec39[_0x87f55e];)_0x330deb['has'](_0x35ec39[_0x87f55e])||(_0x5d999f['set'](_0x35ec39[_0x87f55e],_0x39b329),_0x2a3d40['set'](_0x35ec39[_0x87f55e],_0x39b329)),_0x87f55e++;}_0x87f55e++;}}}}for(const _0x48452f of _0x273968){const _0x1f8080=_0x5dd3be['insertions'][_0x48452f];for(const _0x568d6d of _0x1f8080){const _0x4884a1=this['_getVidAttributeName'](_0x568d6d),_0x3922b1=_0x568d6d['item']['getAttribute'](_0x4884a1);if(_0x5d999f['has'](_0x3922b1)){const _0x25059e=_0x5d999f['get'](_0x3922b1);_0x330deb['has'](_0x3922b1)||_0x330deb['set'](_0x3922b1,{..._0x25059e}),_0x3bd267['set'](_0x3922b1,{..._0x25059e});}}}for(const _0x2266cf of _0x330deb['keys']())_0x2266cf>=this['_startingRevisionId']&&_0x330deb['delete'](_0x2266cf);const _0x508b38=new Map();for(const _0x478b2e of _0x273968){let _0x29cf09=_0x5dd3be['insertions'][_0x478b2e];for(const _0x9d49c0 of _0x29cf09)if(_0x9d49c0['item']['is']('element','tableCell')){const _0x524705=this['_getVidAttributeName'](_0x9d49c0),_0x5b98c7=_0x9d49c0['item']['getAttribute'](_0x524705);if(_0x3bd267['has'](_0x5b98c7)){const _0x58b89e=_0x9d49c0['item']['parent']['parent']['getAttribute']('vid_start'),_0x32241d=_0x508b38['get'](_0x58b89e)||new Set();_0x32241d['add'](_0x3bd267['get'](_0x5b98c7)['userId']),_0x508b38['set'](_0x58b89e,_0x32241d);}}_0x29cf09=_0x5dd3be['deletions'][_0x478b2e];for(const _0x153c01 of _0x29cf09)if(_0x153c01['item']['is']('element','tableCell')){const _0x4804c0=this['_getVidAttributeName'](_0x153c01),_0x1e6ec7=_0x153c01['item']['getAttribute'](_0x4804c0);if(_0x330deb['has'](_0x1e6ec7)){const _0x240cd7=_0x153c01['item']['parent']['parent']['getAttribute']('vid_start'),_0x34741e=_0x508b38['get'](_0x240cd7)||new Set();_0x34741e['add'](_0x330deb['get'](_0x1e6ec7)['userId']),_0x508b38['set'](_0x240cd7,_0x34741e);}}for(const _0x337805 of _0x508b38['keys']())(_0x3bd267['has'](_0x337805)||_0x330deb['has'](_0x337805))&&_0x508b38['delete'](_0x337805);}for(const _0x3a980b of _0x273968){const _0x2d292f=_0x5dd3be['insertions'][_0x3a980b];let _0x3686a6=null,_0x2b2423=null;for(const _0x5759d1 of _0x2d292f){const _0x337b67=this['_getVidAttributeName'](_0x5759d1),_0x32475b=_0x5759d1['item']['getAttribute'](_0x337b67),_0x1005c1=_0x508b38['get'](_0x32475b);_0x1005c1&&'elementStart'==_0x5759d1['type']&&(_0x3686a6=Array['from'](_0x1005c1)[0x0],_0x2b2423=_0x5759d1['item']['getAttribute']('vid_end')),_0x3686a6&&(_0x330deb['set'](_0x32475b,{'userId':_0x3686a6}),_0x3bd267['set'](_0x32475b,{'userId':_0x3686a6})),_0x32475b==_0x2b2423&&(_0x3686a6=null,_0x2b2423=null);}}const _0x220c4a={},_0x140157=new Set();for(const _0x269fb8 of _0x273968){const _0x1ac0d3=_0x4159ba['deletions'][_0x269fb8],_0x4ae944=_0x4159ba['insertions'][_0x269fb8];for(const {userId:_0x1bef5d}of this['_touchedMarkers']['values']())null!==_0x1bef5d&&_0x140157['add'](_0x1bef5d);for(const {userId:_0x561070}of this['_touchedRoots']['values']())null!==_0x561070&&_0x140157['add'](_0x561070);this['_markChanges'](_0x4ae944,_0x5dd3be['insertions'][_0x269fb8],_0x3bd267,'insertion',_0x140157),this['_markChanges'](_0x1ac0d3,_0x5dd3be['deletions'][_0x269fb8],_0x330deb,'deletion',_0x140157),_0x220c4a[_0x269fb8]={'insertions':this['_prepareViewToSave'](_0x4ae944),'deletions':this['_prepareViewToSave'](_0x1ac0d3),'attachChange':this['_touchedRoots']['get'](_0x269fb8)||null,'attributesBefore':_0x2af7a2(this['_baseRootsAttributes']['get'](_0x269fb8))||{},'attributesAfter':_0x2af7a2(this['_diffRootsAttributes']['get'](_0x269fb8))};}return{'diffData':_0x220c4a,'authorsIds':Array['from'](_0x140157)};}['_processRootBeforeSave'](_0x564378){for(const [,_0x24346c]of _0x564378['markers']){const _0x2a62eb=_0x24346c['start']['getAncestors']()['filter'](_0x441924=>'tableCell'==_0x441924['name']);for(const _0x326a89 of _0x2a62eb)0x1==_0x326a89['childCount']&&_0x326a89['getChild'](0x0)['is']('element','paragraph')&&_0x326a89['getChild'](0x0)['_setAttribute']('keepParagraph',!0x0);}}['_prepareViewToSave'](_0xd2f163){this['_processRootBeforeSave'](_0xd2f163);const _0x401af5=this['editor']['data']['toView'](_0xd2f163,{}),_0x20275c=Array['from'](_0x401af5['getChildren']())['map'](_0x15b515=>this['_getViewJson'](_0x15b515));return JSON['stringify'](_0x20275c);}['_getViewJson'](_0x165ae2){if(_0x165ae2['is']('$text'))return _0x165ae2['data'];{const _0x235908=_0x165ae2;return{'type':Object['keys'](T)['find'](_0x1d63bf=>_0x165ae2 instanceof T[_0x1d63bf]),'name':_0x235908['name'],'attributes':Array['from'](_0x235908['getAttributes']()),'children':Array['from'](_0x235908['getChildren']())['map'](_0x19b583=>this['_getViewJson'](_0x19b583))};}}['_markChanges'](_0xf68483,_0xfb9a34,_0x2a2c3c,_0x3f502b,_0x29e8d7){let _0x42f6a9=null,_0x2ac62d=null,_0x49f752=0x0;const _0x27db58=this['editor']['model'];for(let _0x2873c1=0x0;_0x2873c1<_0xfb9a34['length'];_0x2873c1++){const _0x50c79c=this['_getVidAttributeName'](_0xfb9a34[_0x2873c1]),_0x534610=_0xfb9a34[_0x2873c1]['item']['getAttribute'](_0x50c79c),_0x1013b4=_0x2a2c3c['get'](_0x534610),_0x13157f=_0x2873c1==_0xfb9a34['length']-0x1;(!_0x42f6a9&&_0x1013b4&&(_0x42f6a9=_0x1013b4,_0x2ac62d=_0xfb9a34[_0x2873c1]),_0x42f6a9&&(!_0x1013b4||_0x1013b4['userId']!=_0x42f6a9['userId']))&&(_0x27d6e5(_0x1013b4,L(_0x2ac62d,_0xf68483,_0x27db58),L(_0xfb9a34[_0x2873c1],_0xf68483,_0x27db58)),_0x42f6a9=_0x1013b4||null,_0x2ac62d=_0x1013b4?_0xfb9a34[_0x2873c1]:null),_0x42f6a9&&_0x13157f&&_0x27d6e5(_0x1013b4,L(_0x2ac62d,_0xf68483,_0x27db58),W(_0xfb9a34[_0x2873c1],_0xf68483,_0x27db58));}function _0x27d6e5(_0x5bcace,_0x431f8f,_0x63f195){const _0x26d3b0=_0x42f6a9['userId'],_0x4e5eff='revision:'+_0x3f502b+':'+_0x26d3b0+':'+_0x49f752++,_0x49cd09=_0x27db58['createRange'](_0x431f8f,_0x63f195);_0xf68483['markers']['set'](_0x4e5eff,_0x49cd09),null!==_0x26d3b0&&_0x29e8d7['add'](_0x26d3b0);}}['_getVidAttributeName'](_0x148e81){switch(_0x148e81['type']){case'elementStart':return'vid_start';case'elementEnd':return'vid_end';default:return'vid';}}['_fixOperation'](_0x2d0683,_0xad57c3){_0x2d0683['baseVersion']=null;for(const _0x258dbc in _0x2d0683){const _0x5dec18=_0x2d0683[_0x258dbc];if(_0x5dec18 instanceof gt){const _0x5eb29d=_0xad57c3['get'](_0x5dec18['root']['rootName']);_0x2d0683[_0x258dbc]=this['_fixPosition'](_0x5dec18,_0x5eb29d);}if(_0x5dec18 instanceof vt){const _0x59e3b5=_0xad57c3['get'](_0x5dec18['root']['rootName']);_0x2d0683[_0x258dbc]=this['_fixRange'](_0x5dec18,_0x59e3b5);}'root'===_0x258dbc&&(_0x2d0683['root']=_0xad57c3['get'](_0x2d0683['root']['rootName']));}}['_fixRange'](_0x221da8,_0x4c3eb9){return this['editor']['model']['createRange'](this['_fixPosition'](_0x221da8['start'],_0x4c3eb9),this['_fixPosition'](_0x221da8['end'],_0x4c3eb9));}['_fixPosition'](_0x49230e,_0x2736c2){return this['editor']['model']['createPositionFromPath'](_0x2736c2,_0x49230e['path'],_0x49230e['stickiness']);}['_handleInsertOperation'](_0x472470){const _0x399a70=this['_idsRoots']['get'](_0x472470['position']['root']['rootName']),_0x5b35c4=this['_fixPosition'](_0x472470['position'],_0x399a70),_0x589e29=null===_0x472470['_authorId']?null:_0x472470['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x2d34d8=_0x5b35c4['parent'],_0x11e2c5=this['_revisionId'],_0x3214b0=[];for(const _0x2def6b of _0x472470['nodes'])if(_0x2def6b['is']('element'))_0x3214b0['push'](this['_makeIdsRoot'](_0x2def6b));else{for(let _0x7eaf2a=0x0;_0x7eaf2a<_0x2def6b['offsetSize'];_0x7eaf2a++)_0x3214b0['push'](new ft('$text',{'vid':this['_revisionId']++}));}const _0x1ec29a=this['_revisionId'];for(let _0x332483=_0x11e2c5;_0x332483<_0x1ec29a;_0x332483++)this['_touched']['set'](_0x332483,{'userId':_0x589e29});_0x2d34d8['_insertChild'](_0x5b35c4['offset'],_0x3214b0);}['_handleMoveOperation'](_0x3e1c36){(_0x3e1c36=this['_cloneOperation'](_0x3e1c36,this['_idsRoots']))['_execute']();const _0x5ccbea=null===_0x3e1c36['_authorId']?null:_0x3e1c36['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x5a66bc=_0x3e1c36['getMovedRangeStart'](),_0xaa39f0=_0x5a66bc['parent'],_0x582090=_0x5a66bc['offset'];!function _0x3daac3(_0x33bf53,_0x55d89e,_0x55cc51,_0xcc60a1){for(let _0x13534d=_0x55cc51;_0x13534d<_0xcc60a1;_0x13534d++){const _0x3dad49=_0x55d89e['getChild'](_0x13534d);_0x3dad49['is']('element','$text')?_0x33bf53['set'](_0x3dad49['getAttribute']('vid'),{'userId':_0x5ccbea}):(_0x33bf53['set'](_0x3dad49['getAttribute']('vid_start'),{'userId':_0x5ccbea}),_0x3daac3(_0x33bf53,_0x3dad49,0x0,_0x3dad49['childCount']),_0x33bf53['set'](_0x3dad49['getAttribute']('vid_end'),{'userId':_0x5ccbea}));}}(this['_touched'],_0xaa39f0,_0x582090,_0x582090+_0x3e1c36['howMany']);}['_handleMergeOperation'](_0x5710cc){const _0x3771ff=null===(_0x5710cc=this['_cloneOperation'](_0x5710cc,this['_idsRoots']))['_authorId']?null:_0x5710cc['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x4d162c=_0x5710cc['targetPosition']['parent'],_0x51d6d4=_0x5710cc['sourcePosition']['parent'],_0x55534f=_0x4d162c['getAttribute']('vid_end'),_0x47ab13=_0x51d6d4['getAttribute']('vid_start');_0x4d162c['_setAttribute']('vid_end',_0x51d6d4['getAttribute']('vid_end')),_0x51d6d4['_setAttribute']('vid_end',_0x55534f),this['_touched']['set'](_0x47ab13,{'userId':_0x3771ff}),this['_touched']['set'](_0x55534f,{'userId':_0x3771ff}),_0x5710cc['_execute']();}['_handleSplitOperation'](_0x43ec56){const _0x1d5496=null===(_0x43ec56=this['_cloneOperation'](_0x43ec56,this['_idsRoots']))['_authorId']?null:_0x43ec56['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x5e04e8=_0x43ec56['graveyardPosition'],_0x58aa4b=_0x43ec56['splitPosition']['parent'];_0x43ec56['_execute']();const _0x5524f2=_0x58aa4b['getAttribute']('vid_end'),_0x180556=_0x43ec56['insertionPosition']['nodeAfter'];if(_0x5e04e8){const _0x17cad9=_0x180556['getAttribute']('vid_end'),_0x5498d5=_0x58aa4b['getAttribute']('vid_end');_0x58aa4b['_setAttribute']('vid_end',_0x17cad9),_0x180556['_setAttribute']('vid_end',_0x5498d5),this['_touched']['set'](_0x58aa4b['getAttribute']('vid_end'),{'userId':_0x1d5496}),this['_touched']['set'](_0x180556['getAttribute']('vid_start'),{'userId':_0x1d5496});}else{const _0x14bac0=this['_revisionId']++,_0x60b626=this['_revisionId']++;_0x58aa4b['_setAttribute']('vid_end',_0x14bac0),_0x180556['_setAttribute']('vid_start',_0x60b626),_0x180556['_setAttribute']('vid_end',_0x5524f2),this['_touched']['set'](_0x14bac0,{'userId':_0x1d5496}),this['_touched']['set'](_0x60b626,{'userId':_0x1d5496});}}['_handleMarkerOperation'](_0x3bc898){if(!_0x3bc898['affectsData'])return;const _0x2568b3=(_0x3bc898=this['_cloneOperation'](_0x3bc898,this['_diffRoots']))['oldRange']?_0x3bc898['oldRange']['root']:null,_0x139a8d=_0x3bc898['newRange']?_0x3bc898['newRange']['root']:null;_0x2568b3&&this['_markers']['delete'](_0x3bc898['name']),_0x139a8d&&this['_markers']['set'](_0x3bc898['name'],_0x3bc898['newRange']['clone']());const _0x18a1f0=null===_0x3bc898['_authorId']?null:_0x3bc898['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0xacf21a=_0x3bc898['name'];if(!this['_touchedMarkers']['has'](_0xacf21a))return void this['_touchedMarkers']['set'](_0xacf21a,{'range':_0x3bc898['oldRange'],'userId':_0x18a1f0});const _0xeb0b7e=this['_touchedMarkers']['get'](_0xacf21a),_0x5a3db5=_0xeb0b7e['range'],_0x3fd139=_0x3bc898['newRange'];null==_0x5a3db5&&null==_0x3fd139||_0x5a3db5&&_0x3fd139&&_0x5a3db5['isEqual'](_0x3fd139)?this['_touchedMarkers']['delete'](_0x3bc898['name']):_0xeb0b7e['userId']=_0x18a1f0;}['_handleRootOperation'](_0x14ba62,_0x437412){this['_diffRoots']['has'](_0x14ba62['rootName'])?this['_diffRoots']['get'](_0x14ba62['rootName'])['_isAttached']=_0x14ba62['isAdd']:(this['_diffRoots']['set'](_0x14ba62['rootName'],G(_0x14ba62['rootName'],!0x0)),this['_diffRootsAttributes']['set'](_0x14ba62['rootName'],{}),_0x437412&&this['_idsRoots']['set'](_0x14ba62['rootName'],G(_0x14ba62['rootName'],!0x0)));const _0x204d71=null===_0x14ba62['_authorId']?null:_0x14ba62['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x401df4=this['_touchedRoots']['get'](_0x14ba62['rootName']);_0x401df4&&_0x401df4['userId']===_0x204d71?this['_touchedRoots']['delete'](_0x14ba62['rootName']):this['_touchedRoots']['set'](_0x14ba62['rootName'],{'userId':_0x204d71,'isAttached':_0x14ba62['isAdd']});}['_handleRootAttributeOperation'](_0x2f50fa){const _0x1b8953=this['_diffRootsAttributes']['get'](_0x2f50fa['root']['rootName']);null===_0x2f50fa['newValue']?delete _0x1b8953[_0x2f50fa['key']]:_0x1b8953[_0x2f50fa['key']]=_0x2f50fa['newValue'];}}function q(_0x594bb9){const _0x5e07bf=G(_0x594bb9['rootName'],_0x594bb9['isAttached']());for(const _0x5d9c17 of _0x594bb9['getChildren']()){const _0x50e96f=_0x5d9c17['_clone'](!0x0);_0x5e07bf['_appendChild'](_0x50e96f);}return _0x5e07bf;}function G(_0x13cfbc,_0x35bddd=!0x0){const _0x247740=new wt();return _0x247740['rootName']=_0x13cfbc,_0x247740['_isAttached']=_0x35bddd,_0x247740['isAttached']=()=>_0x247740['_isAttached'],_0x247740;}function L(_0x22f35a,_0x4eca94,_0x4bb6a7){const _0x22e245='elementEnd'==_0x22f35a['type']?_0x4bb6a7['createPositionAt'](_0x22f35a['item'],'end'):_0x4bb6a7['createPositionBefore'](_0x22f35a['item']);return _0x4bb6a7['createPositionFromPath'](_0x4eca94,_0x22e245['path'],_0x22e245['stickiness']);}function W(_0x5ae031,_0x44b272,_0xc6a49){const _0x593137='elementStart'==_0x5ae031['type']?_0xc6a49['createPositionAt'](_0x5ae031['item'],0x0):_0xc6a49['createPositionAfter'](_0x5ae031['item']);return _0xc6a49['createPositionFromPath'](_0x44b272,_0x593137['path'],_0x593137['stickiness']);}class ns extends _0x389b94{['focusTracker'];['keystrokes'];['revisionNameInputView'];constructor(_0x3d56fd,_0x5dad4a){super(_0x3d56fd),this['focusTracker']=new _0x51c708(),this['keystrokes']=new _0x5a1b21(),this['set']('revisionNameInputValue',''),this['revisionNameInputView']=this['_createRevisionNameInput'](_0x5dad4a),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'](),_0x29374f({'view':this}),this['focusTracker']['add'](this['revisionNameInputView']['element']),this['keystrokes']['listenTo'](this['element']);const _0x5ea82c=_0x56d356=>_0x56d356['stopPropagation']();this['keystrokes']['set']('arrowright',_0x5ea82c),this['keystrokes']['set']('arrowleft',_0x5ea82c),this['keystrokes']['set']('arrowup',_0x5ea82c),this['keystrokes']['set']('arrowdown',_0x5ea82c);}['focus'](){this['revisionNameInputView']['focus']();}get['revisionName'](){return this['revisionNameInputView']['fieldView']['element']['value']['trim']();}set['revisionName'](_0x39ea8b){this['revisionNameInputView']['fieldView']['element']['value']=_0x39ea8b['trim']();}['reset'](){this['revisionNameInputView']['fieldView']['element']['value']='',this['revisionNameInputView']['errorText']=null;}['_createRevisionNameInput'](_0x486118){const _0x25c9df=new at(this['locale'],_0x33b571),_0x34b426=_0x25c9df['fieldView'];_0x34b426['extendTemplate']({'attributes':{'maxlength':'220'}});let _0xd54413=y(this['locale'],'Name\x20of\x20the\x20revision');return!_0x486118&&(_0xd54413+='\x20('+y(this['locale'],'optional')+')'),(_0x25c9df['label']=_0xd54413,_0x34b426['on']('input',()=>{this['revisionNameInputValue']=_0x34b426['element']['value']['trim']();}),_0x25c9df);}}class u extends _0x14d499{static get['pluginName'](){return'RevisionHistoryUI';}static get['requires'](){return[l];}['_saveRevisionFormView'];['init'](){const _0x5685b0=this['editor'],_0x4c9f58=_0x5685b0['plugins']['get']('RevisionTracker');_0x5685b0['ui']['componentFactory']['add']('revisionHistory',_0x14b761=>{const _0x383e9d=_0x2cb310(_0x14b761),_0x5d8112=_0x383e9d['panelView']['children'],_0x10577f=new te(_0x14b761),_0x16e793=new _0x2118af(_0x14b761),_0x5dd8c0=new _0x6e6c0d(_0x14b761),_0x4e4ceb=new _0x2118af(_0x14b761),_0x5aa0c8=new _0x6e6c0d(_0x14b761);return _0x383e9d['bind']('isEnabled')['to'](_0x4c9f58,'isReady',_0x4c9f58,'isEnabled',_0x5685b0,'isReadOnly',(_0x36e115,_0x7d35fd,_0x13183a)=>_0x36e115&&_0x7d35fd&&!_0x13183a),_0x383e9d['buttonView']['set']({'icon':_0x20e030['history'],'label':y(_0x14b761,'Revision\x20history'),'tooltip':!0x0}),_0x5dd8c0['set']({'label':y(_0x14b761,'Save\x20current\x20revision'),'withText':!0x0,'role':'menuitem'}),_0x5dd8c0['bind']('isEnabled')['to'](_0x4c9f58,'isReady',_0x4c9f58,'isEnabled',_0x5685b0,'isReadOnly',(_0x29c22c,_0x2ce6b3,_0x9e1c27)=>_0x29c22c&&_0x2ce6b3&&!_0x9e1c27),_0x5dd8c0['on']('execute',()=>this['_showDialog']()),_0x5aa0c8['set']({'label':y(_0x14b761,'Open\x20revision\x20history'),'withText':!0x0,'role':'menuitem'}),_0x5aa0c8['bind']('isEnabled')['to'](_0x4c9f58,'isReady',_0x5685b0,'isReadOnly',(_0x3640e2,_0x5bdad3)=>_0x3640e2&&!_0x5bdad3),_0x5aa0c8['on']('execute',()=>{_0x5685b0['config']['get']('revisionHistory')['showRevisionViewerCallback'](),_0x383e9d['isOpen']=!0x1,_0x5685b0['editing']['view']['focus']();}),_0x16e793['children']['add'](_0x5dd8c0),_0x4e4ceb['children']['add'](_0x5aa0c8),_0x10577f['role']='menu',_0x10577f['items']['addMany']([_0x16e793,_0x4e4ceb]),_0x5d8112['add'](_0x10577f),_0x383e9d;}),_0x5685b0['ui']['componentFactory']['add']('menuBar:revisionHistory',()=>this['_registerMenuComponent']());}['_registerMenuComponent'](){const _0x702894=this['editor'],_0x1fdd73=_0x702894['locale'],_0x10d049=new _0x2d7527(_0x1fdd73),_0x3c7810=new _0x5e18f7(_0x1fdd73);_0x10d049['buttonView']['set']({'icon':_0x20e030['history'],'label':y(_0x1fdd73,'Revision\x20history')});const _0xa9d344=new _0x352e6e(_0x1fdd73,_0x10d049),_0x245418=new _0x11e0da(_0x1fdd73);_0x245418['set']({'label':y(_0x1fdd73,'Save\x20current\x20revision')}),_0x245418['delegate']('execute')['to'](_0x10d049),_0x245418['on']('execute',()=>{this['_showDialog']();}),_0xa9d344['children']['add'](_0x245418),_0x3c7810['items']['add'](_0xa9d344);const _0x24bc90=new _0x352e6e(_0x1fdd73,_0x10d049),_0xffae4a=new _0x11e0da(_0x1fdd73);return _0xffae4a['set']({'label':y(_0x1fdd73,'Open\x20revision\x20history')}),_0xffae4a['delegate']('execute')['to'](_0x10d049),_0xffae4a['on']('execute',()=>{_0x702894['config']['get']('revisionHistory')['showRevisionViewerCallback']();}),_0x24bc90['children']['add'](_0xffae4a),_0x3c7810['items']['add'](_0x24bc90),_0x10d049['panelView']['children']['add'](_0x3c7810),_0x10d049;}['_showDialog'](){const _0xc6dc28=this['editor'],_0x2b5b79=_0xc6dc28['locale'],_0x43058e=_0xc6dc28['plugins']['get']('Dialog'),_0x132ace=_0xc6dc28['plugins']['get']('RevisionTracker');function _0x4f5dac(_0x11fece){_0xc6dc28['config']['get']('revisionHistory.requireRevisionName')&&''===_0x11fece['revisionName']?_0x11fece['revisionNameInputView']['errorText']=y(_0x2b5b79,'The\x20revision\x20name\x20cannot\x20be\x20empty.'):(_0xc6dc28['plugins']['get'](l)['saveRevision']({'name':_0x11fece['revisionName']}),_0x43058e['hide']());}this['_saveRevisionFormView']||(this['_createSaveRevisionFormView'](),this['_saveRevisionFormView']['on']('submit',()=>_0x4f5dac(this['_saveRevisionFormView']))),this['_saveRevisionFormView']['reset'](),_0x43058e['show']({'id':'revisionSave','title':y(_0x2b5b79,'Save\x20current\x20revision'),'isModal':!0x0,'content':this['_saveRevisionFormView'],'actionButtons':[{'label':y(_0xc6dc28['locale'],'Cancel'),'withText':!0x0,'onExecute':()=>_0x43058e['hide']()},{'label':y(_0xc6dc28['locale'],'Accept'),'class':'ck-button-action','withText':!0x0,'onCreate'(_0x433e0b){_0x433e0b['bind']('isEnabled')['to'](_0x132ace,'isReady',_0x132ace,'isEnabled',_0xc6dc28,'isReadOnly',(_0x290af9,_0x175a60,_0x11abe7)=>_0x290af9&&_0x175a60&&!_0x11abe7);},'onExecute':()=>_0x4f5dac(this['_saveRevisionFormView'])}]});}['_createSaveRevisionFormView'](){const _0x26f2b8=this['editor'],_0x489ed0=_0x26f2b8['locale'];this['_saveRevisionFormView']=new ns(_0x489ed0,_0x26f2b8['config']['get']('revisionHistory.requireRevisionName')),this['_saveRevisionFormView']['render']();}}class Z extends _0x389b94{['changeId'];['_model'];constructor(_0x223b3b,_0x3371e4){super(_0x223b3b),this['_model']=_0x3371e4,this['changeId']=_0x3371e4['id'];const _0x4bb049=this['bindTemplate'],_0x372404=y(_0x223b3b,_0x3371e4['data']['isSuggestion']?'Suggested\x20by':'add'==_0x3371e4['type']?'Added\x20by':'Removed\x20by');this['set']('type',_0x3371e4['type']),this['setTemplate']({'tag':'div','attributes':{'class':['ck-annotation','ck-revision-change',_0x4bb049['to']('type',_0x410d1f=>'ck-revision-change__'+_0x410d1f)],'tabindex':-0x1},'children':[{'tag':'span','children':[{'tag':'span','attributes':{'class':['ck-revision-change__label']},'children':[{'text':_0x372404}]},{'text':'\x20'+_0x3371e4['author']['name']}]}]});}['focus'](){this['element']['focus']();}}class r extends/* #__PURE__ -- @preserve */
25
+ _0x364854(){['id'];['author'];['type'];['data'];['rootName'];constructor(_0x300bc3){super(),this['id']=_0x300bc3['id']||_0x43218d(),this['author']=_0x300bc3['author'],this['type']=_0x300bc3['type'],this['data']=_0x300bc3['data']||{},this['rootName']=_0x300bc3['rootName'],this['set']('createdAt',_0x300bc3['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(_0x273a1d,_0x5cd34c){this['newRevisionId']=_0x273a1d,this['oldRevisionId']=_0x5cd34c,this['changes']=new _0x46bcc9();}['_setChanges'](_0x52b974){for(const _0x58e264 of _0x52b974)this['changes']['add'](_0x58e264);}}const tt={'c':_0x1073ed,'a':_0xa8f9a7,'e':_0xda1521,'r':_0x185cf4,'u':_0x2d9726};class d extends _0x14d499{['repository'];['adapter'];['_activeViewTarget'];['_changeView'];['_changeIdToChange'];['_balloon'];static get['pluginName'](){return'RevisionViewer';}static get['requires'](){return[_0x305683,_0x3f2d99,A];}constructor(_0x14e992){super(_0x14e992),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',(_0x1efcf4,_0x4356e4,_0xef7bea)=>{this['activeChange']=null,this['activeView']=null,this['editor']['editing']['view']['change'](_0x1945ea=>{for(const _0x414791 of this['editor']['editing']['view']['document']['roots'])_0xef7bea?_0x1945ea['removeClass']('ck-editor__editable__overlay',_0x414791):_0x1945ea['addClass']('ck-editor__editable__overlay',_0x414791);});}),this['bind']('isNavigationMode')['to'](this,'activeChange',_0xa59102=>null!==_0xa59102),this['bind']('currentChangeNumber')['to'](this,'isReady',this,'diff',this,'activeChange',(_0x469f4d,_0x52bce4,_0xcc7560)=>_0x469f4d&&_0xcc7560?_0x52bce4['changes']['getIndex'](_0xcc7560):0x0),this['bind']('numberOfChanges')['to'](this,'isReady',this,'diff',(_0x26d34b,_0x23151f)=>_0x26d34b?_0x23151f['changes']['length']:0x0),this['_changeView']=null,this['_changeIdToChange']=new Map(),this['adapter']=null,this['_balloon']=this['editor']['plugins']['get'](_0x3f2d99);}['init'](){const _0x2ead73=this['editor'],_0x20ac25=new yt(_0x2ead73,{'direction':'backward'}),_0x45018d=new yt(_0x2ead73,{'direction':'forward'});(_0x2ead73['commands']['add']('showPreviousChange',_0x20ac25),_0x2ead73['commands']['add']('showNextChange',_0x45018d),_0x2ead73['commands']['add']('restoreRevision',new bt(_0x2ead73)),this['on']('change:numberOfChanges',()=>{_0x20ac25['refresh'](),_0x45018d['refresh']();}),this['_setConversion'](),this['_initInteractions'](),_0x2ead73['enableReadOnlyMode']('revision-viewer'),_0x2ead73['plugins']['has']('WidgetToolbarRepository'))&&_0x2ead73['plugins']['get']('WidgetToolbarRepository')['forceDisabled']('revision-viewer');}async['getRevisionData'](_0x5889b4){await this['loadRevisionData'](_0x5889b4);const _0x54eac3={};for(const _0x37e369 in _0x5889b4['diffData']){if(_0x5889b4['diffData'][_0x37e369]['attachChange']&&!_0x5889b4['diffData'][_0x37e369]['attachChange']['isAttached'])continue;const _0x31785c=this['_removeRevisionMarkers'](JSON['parse'](_0x5889b4['diffData'][_0x37e369]['insertions'])),_0x1e03de=this['editor']['editing']['view']['document'],_0x48eb46=new _0x357978(_0x1e03de,_0x31785c['map'](_0x197f69=>this['_getViewObj'](_0x197f69)));this['editor']['data']['processor']['useFillerType']('marked'),_0x54eac3[_0x37e369]=this['editor']['data']['processor']['toData'](_0x48eb46),this['editor']['data']['processor']['useFillerType']('default');}return _0x54eac3;}async['getRevisionRootsAttributes'](_0xcf5065){await this['loadRevisionData'](_0xcf5065);const _0x5b060c={};for(const _0x562978 in _0xcf5065['diffData'])_0xcf5065['diffData'][_0x562978]['attachChange']&&!_0xcf5065['diffData'][_0x562978]['attachChange']['isAttached']||(_0x5b060c[_0x562978]=_0xcf5065['diffData'][_0x562978]['attributesAfter']||{});return _0x5b060c;}['_removeRevisionMarkers'](_0x5c1101){return(_0x5c1101=_0x5c1101['filter'](_0x5a65ce=>!_0x5a65ce['name']||'revision-start'!==_0x5a65ce['name']&&'revision-end'!==_0x5a65ce['name']))['forEach'](_0x5edac2=>{'string'!=typeof _0x5edac2&&(_0x5edac2['children']=this['_removeRevisionMarkers'](_0x5edac2['children']),_0x5edac2['attributes']=_0x5edac2['attributes']['filter'](_0x5e35e6=>!_0x5e35e6[0x0]['startsWith']('data-revision-')));}),_0x5c1101;}async['compare'](_0x24165e,_0xda06fd,_0x4482de=!0x1){if(!this['isEnabled'])return;const _0x3c19be=this['diff'],_0x1c7291=this['repository'],_0x586153='string'==typeof _0x24165e?_0x1c7291['getRevision'](_0x24165e):_0x24165e,_0x1d5979='string'==typeof _0xda06fd?_0x1c7291['getRevision'](_0xda06fd):_0xda06fd,_0x2d08c2=_0x586153['id'],_0x28cd4a=_0x1d5979?_0x1d5979['id']:null;if(!_0x4482de&&this['diff']&&this['diff']['newRevisionId']===_0x2d08c2&&this['diff']['oldRevisionId']===_0x28cd4a)return Promise['resolve']();this['isReady']=!0x1,this['activeView']=null,this['activeChange']=null,this['diff']=new f(_0x2d08c2,_0x28cd4a);const _0x5b6b86=this['_getRevisionsRange'](_0x586153,_0x1d5979,!0x0)['map'](_0x1408a7=>this['loadRevisionData'](_0x1408a7));return _0x5b6b86['push'](new Promise(_0x2bb704=>{setTimeout(_0x2bb704,0x14);})),Promise['all'](_0x5b6b86)['then'](()=>{if(!this['isEnabled'])return;this['_cleanUp']();const _0x54c61e=this['_getDiff'](_0x2d08c2,_0x28cd4a);for(const _0x4d8567 of _0x54c61e['changes'])this['_changeIdToChange']['set'](_0x4d8567['id'],_0x4d8567);this['editor']['model']['enqueueChange']({'isUndoable':!0x1},_0x535788=>{for(const _0x1e0999 of this['editor']['model']['document']['getRootNames']())_0x535788['detachRoot'](_0x1e0999);for(const _0x409717 of Object['keys'](_0x54c61e['model'])){const _0x40081e=_0x535788['addRoot'](_0x409717);for(const _0x1e1c6a of Object['keys'](_0x54c61e['attributes'][_0x409717]))_0x535788['setAttribute'](_0x1e1c6a,_0x54c61e['attributes'][_0x409717][_0x1e1c6a],_0x40081e);_0x535788['insert'](_0x54c61e['model'][_0x409717],_0x40081e,0x0);}}),this['diff']['_setChanges'](this['_sortAndFilterDiffChanges'](_0x54c61e['changes'])),this['isReady']=!0x0;})['catch'](_0x3c8f24=>{console['error'](_0x3c8f24),this['_cleanUp'](),_0x3c19be&&(this['diff']=_0x3c19be),this['isReady']=!0x0;});}['addRevisionData'](_0x3c99a9,_0x2524ab){const _0x38d72f=this['repository']['createRevision'](_0x3c99a9);return _0x38d72f['on']('_update',(_0x2980a5,_0x31d0e1,_0x56eb75)=>_0x2524ab(_0x31d0e1,_0x56eb75,_0x38d72f)),this['repository']['addRevision'](_0x38d72f),_0x38d72f;}['loadRevisionData'](_0x5001ef){if(!_0x5001ef||_0x5001ef['diffData'])return Promise['resolve']();{const _0xfba523=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0xfba523,'revisionId':_0x5001ef['id']})['then'](_0x132b04=>{_0x5001ef['_update']({'diffData':_0x132b04['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},_0x2e4e91=>{for(const _0x29f9b4 of this['editor']['model']['document']['getRootNames']())_0x2e4e91['detachRoot'](_0x29f9b4);});}['_sortAndFilterDiffChanges'](_0x5596be){const _0x582103=[],_0x12f632=new Map();for(const _0x192f25 of this['editor']['model']['document']['getRootNames']()){const _0x33fe6d=this['editor']['editing']['view']['getDomRoot'](_0x192f25);if(!_0x33fe6d)continue;const _0x592ee2=_0x33fe6d['getClientRects']()['item'](0x0);_0x592ee2&&(_0x582103['push'](_0x192f25),_0x12f632['set'](_0x192f25,_0x592ee2));}return _0x582103['sort']((_0x2b7ac9,_0x40d813)=>{const _0xc24df4=_0x12f632['get'](_0x2b7ac9),_0x5811f0=_0x12f632['get'](_0x40d813);return _0xc24df4['y']-_0x5811f0['y']||_0xc24df4['x']-_0x5811f0['x'];}),(_0x5596be=_0x5596be['filter'](_0x58c180=>_0x582103['includes'](_0x58c180['rootName'])))['sort']((_0x4a7b18,_0x25d1ae)=>_0x582103['indexOf'](_0x4a7b18['rootName'])-_0x582103['indexOf'](_0x25d1ae['rootName'])),_0x5596be;}['_makeTape'](_0x1569e3){const _0xd1f591=Array['from'](_0x1569e3['markers'])['filter'](([_0x5dcbf8,_0x565709])=>_0x5dcbf8['startsWith']('revision:')&&!_0x565709['isCollapsed']),_0x492d64=Array['from'](this['editor']['model']['createRangeIn'](_0x1569e3)['getWalker']({'singleCharacters':!0x0}));if(0x0!=_0xd1f591['length'])for(const _0x42eeaa of _0x492d64){const [_0x203645,_0xf99e63]=_0xd1f591[0x0],[,_0x4547b0,_0x53eacb]=_0x203645['split'](':');if(_0xf99e63['end']['isEqual'](_0x42eeaa['nextPosition'])&&_0xd1f591['shift'](),(_0x42eeaa['previousPosition']['isEqual'](_0xf99e63['start'])||_0x42eeaa['previousPosition']['isAfter'](_0xf99e63['start']))&&('insertion'==_0x4547b0?_0x42eeaa['isAdded']={'userId':_0x53eacb}:'deletion'==_0x4547b0&&(_0x42eeaa['isRemoved']={'userId':_0x53eacb})),0x0==_0xd1f591['length'])break;}return _0x492d64;}['_refreshStartEndIndex'](_0x1ffbdb){const _0xe2d0a3=new Map();for(let _0x524bfa=0x0;_0x524bfa<_0x1ffbdb['length'];_0x524bfa++)'text'===_0x1ffbdb[_0x524bfa]['type']?(_0x1ffbdb[_0x524bfa]['item']['startIndex']=_0x524bfa,_0x1ffbdb[_0x524bfa]['item']['endIndex']=_0x524bfa):('elementStart'===_0x1ffbdb[_0x524bfa]['type']?_0x1ffbdb[_0x524bfa]['item']['startIndex']=_0x524bfa:'elementEnd'===_0x1ffbdb[_0x524bfa]['type']&&(_0x1ffbdb[_0x524bfa]['item']['endIndex']=_0x524bfa),_0xe2d0a3['set'](_0x1ffbdb[_0x524bfa]['id'],_0x524bfa));for(const _0x1af6b0 of _0xe2d0a3['values']())'elementStart'===_0x1ffbdb[_0x1af6b0]['type']?_0x1ffbdb[_0x1af6b0]['item']['endIndex']=_0xe2d0a3['get'](_0x1ffbdb[_0x1af6b0]['pairId']):'elementEnd'===_0x1ffbdb[_0x1af6b0]['type']&&(_0x1ffbdb[_0x1af6b0]['item']['startIndex']=_0xe2d0a3['get'](_0x1ffbdb[_0x1af6b0]['pairId']));}['_processTape'](_0x42fa2c){for(let _0x3298ee=0x0;_0x3298ee<_0x42fa2c['length'];_0x3298ee++){if('elementStart'===_0x42fa2c[_0x3298ee]['type'])_0x42fa2c[_0x3298ee]['item']['startIndex']=_0x3298ee;else{if('elementEnd'===_0x42fa2c[_0x3298ee]['type']){_0x42fa2c[_0x3298ee]['item']['endIndex']=_0x3298ee;const _0x56c7ac=_0x42fa2c[_0x3298ee]['item']['startIndex'];_0x42fa2c[_0x56c7ac]['pairId']=_0x42fa2c[_0x3298ee]['id'],_0x42fa2c[_0x3298ee]['pairId']=_0x42fa2c[_0x56c7ac]['id'];}else _0x42fa2c[_0x3298ee]['item']['startIndex']=_0x3298ee,_0x42fa2c[_0x3298ee]['item']['endIndex']=_0x3298ee,_0x42fa2c[_0x3298ee]['pairId']=null;}_0x42fa2c[_0x3298ee]['markersStart']||(_0x42fa2c[_0x3298ee]['markersStart']=[],_0x42fa2c[_0x3298ee]['markersEnd']=[]);}}['_markInsertions'](_0xbf7a0b,_0x2cf222){const _0x25e235=_0xbf7a0b['filter'](_0x28b720=>!_0x28b720['isAdded']);for(let _0x3b3c55=0x0;_0x3b3c55<_0x2cf222['length'];_0x3b3c55++)_0x2cf222[_0x3b3c55]['isAdded']&&(_0x25e235[_0x3b3c55]['isAdded']=_0x2cf222[_0x3b3c55]['isAdded']);}['_makeModelFromViewString'](_0x100543){const _0x2866a2=JSON['parse'](_0x100543),_0x567120=this['editor']['editing']['view']['document'],_0x3194e2=new _0x357978(_0x567120,_0x2866a2['map'](_0x30cc3d=>this['_getViewObj'](_0x30cc3d)));return this['editor']['data']['toModel'](_0x3194e2);}['_getViewObj'](_0x1e5009){const _0x5a4d90=this['editor']['editing']['view']['document'];if('string'==typeof _0x1e5009)return new _0xbee8f(_0x5a4d90,_0x1e5009);{const _0x5accd3=_0x1e5009['children']['map'](_0x298ffa=>this['_getViewObj'](_0x298ffa));return new(tt[_0x1e5009['type']]||_0x3cd62f)(_0x5a4d90,_0x1e5009['name'],_0x1e5009['attributes'],_0x5accd3);}}['_getDiff'](_0x5409bb,_0x2ed8af=null){const _0x177588=this['repository']['getRevision'](_0x5409bb),_0xc7a3ee=_0x2ed8af?this['repository']['getRevision'](_0x2ed8af):null,_0x4778d6=this['_getRevisionsRange'](_0x177588,_0xc7a3ee),_0x1a6104=_0x4778d6[_0x4778d6['length']-0x1],_0x547348=new Map(),_0x3b6d11={'model':{},'attributes':{},'changes':[]},_0x3c48cd=new Set(),_0x226380=new Map();for(let _0x13ec6a=_0x4778d6['length']-0x1;_0x13ec6a>=0x0;_0x13ec6a--){const _0x11de3d=_0x4778d6[_0x13ec6a];for(const _0x2ba46a of Object['keys'](_0x11de3d['diffData']))if(_0x11de3d['diffData'][_0x2ba46a]['attachChange']){const _0x294ebc=_0x11de3d['diffData'][_0x2ba46a]['attachChange'];_0x294ebc['isAttached']?(_0x3c48cd['add'](_0x2ba46a),_0x226380['has'](_0x2ba46a)&&_0x226380['get'](_0x2ba46a)['userId']==_0x294ebc['userId']?_0x226380['delete'](_0x2ba46a):_0x226380['set'](_0x2ba46a,_0x294ebc)):_0x226380['has'](_0x2ba46a)?(_0x3c48cd['delete'](_0x2ba46a),_0x226380['delete'](_0x2ba46a)):(_0x3c48cd['add'](_0x2ba46a),_0x226380['set'](_0x2ba46a,_0x294ebc));}else _0x3c48cd['add'](_0x2ba46a);}for(const _0x192763 of _0x3c48cd){const _0x1b873b=_0x226380['has'](_0x192763)&&!_0x226380['get'](_0x192763)['isAttached'];let _0x36fab7=_0x1b873b?_0x4778d6['length']-0x1:0x0;const _0x2c3caf=_0x1b873b?-0x1:0x1;for(;_0x4778d6[_0x36fab7];){const _0x38eee9=_0x4778d6[_0x36fab7];if(_0x38eee9['diffData'][_0x192763]){const _0x52f217=_0x1b873b?_0x38eee9['diffData'][_0x192763]['attributesBefore']:_0x38eee9['diffData'][_0x192763]['attributesAfter'];_0x3b6d11['attributes'][_0x192763]=_0x52f217?_0x2af7a2(_0x52f217):{};break;}_0x36fab7+=_0x2c3caf;}}for(const _0x44515e of _0x4778d6){_0x44515e['model']={};for(const _0x22353f of _0x44515e['authors'])_0x547348['set'](_0x22353f['id'],_0x22353f);for(const _0x1ae014 of _0x3c48cd){const _0x1054e8=_0x44515e['diffData'][_0x1ae014]?_0x44515e['diffData'][_0x1ae014]['insertions']:'[]',_0x514fba=_0x44515e['diffData'][_0x1ae014]?_0x44515e['diffData'][_0x1ae014]['deletions']:'[]';_0x44515e['model'][_0x1ae014]={'insertions':this['_makeModelFromViewString'](_0x1054e8),'deletions':this['_makeModelFromViewString'](_0x514fba)};}}for(const _0xbaa1f3 of _0x3c48cd){let _0x516c25=null,_0xeefb50=0x0;const _0x258fd1=new Map(Array['from'](_0x177588['model'][_0xbaa1f3]['insertions']['markers'])['filter'](([_0x4f12b8])=>!_0x4f12b8['startsWith']('revision:')));let _0x31a3c6=0x0;for(const _0x303569 of _0x4778d6){const _0x1204bf=this['_makeTape'](_0x303569['model'][_0xbaa1f3]['insertions']);_0x303569==_0x177588?(_0x516c25=_0x1204bf,_0xeefb50=_0x516c25['length'],_0x516c25['forEach'](_0x3b406a=>{_0x3b406a['id']=_0x31a3c6++;}),this['_processTape'](_0x516c25)):this['_markInsertions'](_0x516c25,_0x1204bf);const _0x2244d9=_0x516c25['filter'](_0x30538f=>!_0x30538f['isAdded'])['map'](_0x520951=>_0x520951['id']);let _0x1c7dac=0x0;const _0x103fb2=this['_makeTape'](_0x303569['model'][_0xbaa1f3]['deletions']);_0x103fb2['forEach'](_0x237cb4=>{_0x237cb4['isRemoved']?_0x237cb4['id']=_0xeefb50++:_0x237cb4['id']=_0x2244d9[_0x1c7dac++];}),this['_processTape'](_0x103fb2),this['_setDistance'](_0x516c25,'isAdded'),this['_setDistance'](_0x103fb2,'isRemoved'),_0x303569==_0x177588&&this['_markMarkers'](_0x516c25,_0x258fd1),_0x516c25=this['_joinTapes'](_0x516c25,_0x103fb2),this['_refreshStartEndIndex'](_0x516c25),this['_setDistance'](_0x516c25,'isRemoved');}_0x516c25=_0x516c25['filter'](_0x6aad81=>!(_0x6aad81['isAdded']&&_0x6aad81['isRemoved']));const _0x2804d0=new Map(_0x1a6104['model'][_0xbaa1f3]['deletions']['markers']),_0x2f473c=new Set(_0x258fd1['keys']());for(const _0x8d2e01 of _0x2804d0['keys']())_0x2f473c['delete'](_0x8d2e01);this['_markSuggestions'](_0x516c25,_0x2f473c),this['_fixObsoleteTags'](_0x516c25),_0x516c25=this['_removeMissingPairs'](_0x516c25),_0x516c25=this['_markMismatchedRemovedTags'](_0x516c25),_0x516c25=this['_removeUnsupportedChanges'](_0x516c25);const {root:_0x48f691,changes:_0x246e7d}=this['_makeModelFromTape'](_0x516c25,_0x547348,_0xbaa1f3);_0x3b6d11['model'][_0xbaa1f3]=_0x48f691;const _0x378377=_0x226380['get'](_0xbaa1f3);if(_0x378377){const _0x44b74e=_0x547348['get'](_0x378377['userId']),_0x43d6b5=new r({'author':_0x44b74e,'type':_0x378377['isAttached']?'add':'remove','data':{'isOnRoot':!0x0},'createdAt':new Date(),'rootName':_0xbaa1f3});_0x246e7d['unshift'](_0x43d6b5),_0x3b6d11['attributes'][_0xbaa1f3]['revisionHistoryAttachChange']=_0x43d6b5['id'];}_0x3b6d11['changes']=_0x3b6d11['changes']['concat'](_0x246e7d);}return _0x3b6d11;}['_markMarkers'](_0x114cf9,_0x3e335d){for(let _0x30a467=0x0;_0x30a467<_0x114cf9['length'];_0x30a467++)for(const [_0x54d14c,_0x317952]of _0x3e335d)_0x317952['start']['isEqual'](_0x114cf9[_0x30a467]['previousPosition'])&&_0x114cf9[_0x30a467]['markersStart']['push'](_0x54d14c),_0x317952['end']['isEqual'](_0x114cf9[_0x30a467]['nextPosition'])&&_0x114cf9[_0x30a467]['markersEnd']['push'](_0x54d14c);}['_joinTapes'](_0x40f5c7,_0x15c966){let _0x3bd669=[],_0x458311=0x0,_0x5bfae3=0x0;for(;_0x458311<_0x40f5c7['length']||_0x5bfae3<_0x15c966['length'];){const _0x38b7d4=_0x40f5c7[_0x458311]||{},_0x4efcb7=_0x15c966[_0x5bfae3]||{};if(_0x38b7d4['id']==_0x4efcb7['id'])_0x458311++,_0x5bfae3++,_0x3bd669['push'](_0x38b7d4);else{if(_0x4efcb7['isRemoved']&&_0x38b7d4['isAdded']){const {commonTape:_0x17d9cd,iEnd:_0x492f3b,jEnd:_0x368687}=this['_threeWayMerge'](_0x40f5c7,_0x458311,_0x15c966,_0x5bfae3);_0x3bd669=_0x3bd669['concat'](_0x17d9cd),_0x458311=_0x492f3b,_0x5bfae3=_0x368687;}else _0x4efcb7['isRemoved']?(_0x5bfae3++,_0x3bd669['push'](_0x4efcb7)):(_0x458311++,_0x3bd669['push'](_0x38b7d4));}}return _0x3bd669;}['_markSuggestions'](_0x21b48d,_0x345574){const _0x2da9af=[];for(let _0xb19801=0x0;_0xb19801<_0x21b48d['length'];_0xb19801++){for(let _0x400bab=0x0;_0x400bab<_0x21b48d[_0xb19801]['markersStart']['length'];_0x400bab++){const _0xc632a1=_0x21b48d[_0xb19801]['markersStart'][_0x400bab];if(!_0x345574['has'](_0xc632a1))continue;const {group:_0x41d365,type:_0x5a343d,authorId:_0x3ffe3e}=_0x42640d(_0xc632a1);'revision-suggestion'!=_0x41d365||'insertion'!=_0x5a343d&&'deletion'!=_0x5a343d||(_0x2da9af['unshift']({'type':_0x5a343d,'name':_0xc632a1,'userId':_0x3ffe3e}),_0x21b48d[_0xb19801]['markersStart']['splice'](_0x400bab,0x1),_0x400bab--);}_0x3f65c4(_0x21b48d[_0xb19801]);for(let _0x503cef=0x0;_0x503cef<_0x21b48d[_0xb19801]['markersEnd']['length'];_0x503cef++){const _0xe62ddd=_0x21b48d[_0xb19801]['markersEnd'][_0x503cef];if(!_0x345574['has'](_0xe62ddd))continue;const {group:_0x54bef5,type:_0x354796}=_0x42640d(_0xe62ddd);if('revision-suggestion'!=_0x54bef5||'insertion'!=_0x354796&&'deletion'!=_0x354796)continue;_0x21b48d[_0xb19801]['markersEnd']['splice'](_0x503cef,0x1),_0x503cef--;const _0x1c3f9d=_0x2da9af['findIndex'](_0x29d10f=>_0x29d10f['name']==_0xe62ddd);_0x1c3f9d>-0x1&&_0x2da9af['splice'](_0x1c3f9d,0x1);}}function _0x42640d(_0x3a8bdb){const _0x2ff6de=_0x3a8bdb['split'](':');return{'group':_0x2ff6de[0x0],'type':_0x2ff6de[0x1],'subType':_0x2ff6de['length']>=0x5?_0x2ff6de[0x2]:null,'id':_0x2ff6de['length']<0x5?_0x2ff6de[0x2]:_0x2ff6de[0x3],'authorId':_0x2ff6de['length']<0x5?_0x2ff6de[0x3]:_0x2ff6de[0x4],'markerCount':0x6==_0x2ff6de['length']?_0x2ff6de[0x5]:null};}function _0x3f65c4(_0x3fdb8b){for(let _0x236d62=0x0;_0x236d62<_0x2da9af['length'];_0x236d62++){if(_0x3fdb8b['isAdded']&&'insertion'==_0x2da9af[_0x236d62]['type'])return _0x3fdb8b['isAddSuggestion']=_0x2da9af[_0x236d62],void delete _0x3fdb8b['isAdded'];if(!_0x3fdb8b['isAdded']&&!_0x3fdb8b['isRemoved']&&'deletion'==_0x2da9af[_0x236d62]['type'])return void(_0x3fdb8b['isRemoveSuggestion']=_0x2da9af[_0x236d62]);}}}['_setDistance'](_0x2f6241,_0x4b3a10){let _0xe7bce6=0x0,_0x2cff91=!0x1;const _0x3c68a3=new Map();for(const _0x5ac126 of _0x2f6241)_0x5ac126[_0x4b3a10]?_0x2cff91&&(_0xe7bce6++,_0x2cff91=!0x1):(_0xe7bce6++,_0x2cff91=!0x0),_0x3c68a3['set'](_0x5ac126['id'],_0xe7bce6);for(let _0x459e1c=0x0;_0x459e1c<_0x2f6241['length'];_0x459e1c++){if('isRemoved'==_0x4b3a10&&_0x2f6241[_0x459e1c]['isAdded']||'isAdded'==_0x4b3a10&&_0x2f6241[_0x459e1c]['isRemoved'])continue;if('text'==_0x2f6241[_0x459e1c]['type']){_0x2f6241[_0x459e1c]['distance']=0x0;continue;}const _0x4b185f=_0x3c68a3['get'](_0x2f6241[_0x459e1c]['pairId']),_0x22573b=_0x3c68a3['get'](_0x2f6241[_0x459e1c]['id']);_0x2f6241[_0x459e1c]['distance']=_0x4b185f-_0x22573b;}}['_getRevisionsRange'](_0x31442a,_0x172a9c,_0x354851=!0x1){const _0x2ce4c7=[];let _0x295241=this['repository']['getIndex'](_0x31442a),_0x4c0c1a=this['repository']['getIndex'](_0x172a9c);for(-0x1==_0x4c0c1a&&(_0x4c0c1a=this['repository']['_revisions']['length'],_0x354851=!0x1);_0x295241<_0x4c0c1a;)_0x2ce4c7['push'](this['repository']['getRevision'](_0x295241)),_0x295241++;return _0x354851&&_0x2ce4c7['push'](this['repository']['getRevision'](_0x295241)),_0x2ce4c7;}['_threeWayMerge'](_0x174bbc,_0x140aa1,_0x394f1f,_0x502429){const _0x55f28e=this['editor']['model']['schema'];let _0x45c400=_0x140aa1;for(;_0x174bbc[_0x45c400]&&_0x174bbc[_0x45c400]['isAdded'];)_0x45c400++;let _0x10f165=_0x502429;for(;_0x394f1f[_0x10f165]&&_0x394f1f[_0x10f165]['isRemoved'];)_0x10f165++;_0x4b2c10(_0x174bbc,_0x140aa1,_0x45c400),_0x4b2c10(_0x394f1f,_0x502429,_0x10f165);const _0x3830a4=_0x394f1f['slice'](_0x502429,_0x10f165)['concat'](_0x174bbc['slice'](_0x140aa1,_0x45c400));return _0x3830a4['sort']((_0x415b84,_0x916692)=>_0x415b84['side']!=_0x916692['side']?_0x415b84['side']-_0x916692['side']:_0x415b84['level']!=_0x916692['level']?_0x415b84['level']-_0x916692['level']:_0x415b84['distance']!=_0x916692['distance']?_0x916692['distance']-_0x415b84['distance']:!!_0x415b84['isAdded']!=!!_0x916692['isAdded']?-0x1==_0x415b84['side']||0x0==_0x415b84['side']?_0x415b84['isAdded']?-0x1:0x1:_0x415b84['isAdded']?0x1:-0x1:_0x415b84['index']-_0x916692['index']),{'commonTape':_0x3830a4,'iEnd':_0x45c400,'jEnd':_0x10f165};function _0x4b2c10(_0x4ebc9d,_0x14b8c1,_0x299bbf){let _0x52e177=-0x1,_0x260dba=Number['POSITIVE_INFINITY'],_0x228197=!0x0;for(let _0x3e6e07=_0x14b8c1;_0x3e6e07<_0x299bbf;_0x3e6e07++)if(_0x55f28e['isInline'](_0x4ebc9d[_0x3e6e07]['item'])||(_0x228197=!0x1),_0x4ebc9d[_0x3e6e07]['item']['startIndex']<_0x14b8c1&&(_0x52e177=_0x3e6e07),_0x4ebc9d[_0x3e6e07]['item']['endIndex']>=_0x299bbf){_0x260dba=_0x3e6e07;break;}_0x228197&&(_0x52e177=_0x299bbf-0x1);for(let _0x45be41=_0x14b8c1;_0x45be41<_0x299bbf;_0x45be41++)_0x4ebc9d[_0x45be41]['side']=_0x45be41<=_0x52e177?-0x1:_0x45be41<_0x260dba?0x0:0x1,_0x4ebc9d[_0x45be41]['index']=_0x45be41;let _0x196da8=0x0;for(let _0x7bfa4b=_0x14b8c1;_0x7bfa4b<=_0x52e177;_0x7bfa4b++)0x0==_0x4ebc9d[_0x7bfa4b]['distance']?_0x4ebc9d[_0x7bfa4b]['level']=_0x196da8:(_0x196da8++,_0x4ebc9d[_0x7bfa4b]['level']=_0x196da8,_0x196da8++);for(let _0x3107ab=_0x14b8c1;_0x3107ab<_0x299bbf;_0x3107ab++)0x0==_0x4ebc9d[_0x3107ab]['side']&&(_0x4ebc9d[_0x3107ab]['level']=_0x196da8);_0x196da8=0x0;for(let _0x1f6d85=_0x299bbf-0x1;_0x1f6d85>=_0x260dba;_0x1f6d85--)0x0==_0x4ebc9d[_0x1f6d85]['distance']?_0x4ebc9d[_0x1f6d85]['level']=_0x196da8:(_0x196da8--,_0x4ebc9d[_0x1f6d85]['level']=_0x196da8,_0x196da8--);}}['_fixObsoleteTags'](_0x4aedc4){const _0x5137a3=new Map(),_0xb9aa58=this['editor']['model']['schema'];for(let _0x53528e=0x1;_0x53528e<_0x4aedc4['length'];_0x53528e++){let _0x3730a8,_0x5bd6d0,_0x44da2d;const _0x587033=_0x4aedc4[_0x53528e],_0x3776de=_0x4aedc4[_0x53528e-0x1];if('text'==_0x587033['type'])continue;if(_0x587033['type']!=_0x3776de['type'])continue;if(!_0xb9aa58['isBlock'](_0x3776de['item'])||_0xb9aa58['isLimit'](_0x3776de['item']))continue;if(!_0xb9aa58['isBlock'](_0x587033['item'])||_0xb9aa58['isLimit'](_0x587033['item']))continue;if((_0x4aedc4[_0x53528e]['isAdded']||_0x4aedc4[_0x53528e]['isAddSuggestion'])&&_0x4aedc4[_0x53528e-0x1]['isRemoved'])_0x3730a8=_0x4aedc4[_0x53528e],_0x5bd6d0=_0x4aedc4[_0x53528e-0x1],_0x44da2d=_0x53528e-0x1;else{if(!_0x4aedc4[_0x53528e]['isRemoved']||!_0x4aedc4[_0x53528e-0x1]['isAdded']&&!_0x4aedc4[_0x53528e-0x1]['isAddSuggestion'])continue;_0x3730a8=_0x4aedc4[_0x53528e-0x1],_0x5bd6d0=_0x4aedc4[_0x53528e],_0x44da2d=_0x53528e;}const _0x1d10ba=_0x3730a8['level']==_0x5bd6d0['level'],_0x4b6b2b=Math['abs'](_0x3730a8['level'])<Math['abs'](_0x5bd6d0['level'])&&0x0==_0x5bd6d0['distance'];(_0x1d10ba||_0x4b6b2b)&&(_0x5137a3['set'](_0x5bd6d0['id'],_0x3730a8['id']),_0x4aedc4['splice'](_0x44da2d,0x1),_0x53528e--,_0x3730a8['isAdded']=!0x1);}for(let _0x5352f2=0x0;_0x5352f2<_0x4aedc4['length'];_0x5352f2++)_0x5137a3['has'](_0x4aedc4[_0x5352f2]['pairId'])&&(_0x4aedc4[_0x5352f2]['pairId']=_0x5137a3['get'](_0x4aedc4[_0x5352f2]['pairId']));}['_removeMissingPairs'](_0x1a87b3){const _0x134218=new Set(_0x1a87b3['map'](_0x4406ec=>_0x4406ec['id']));for(let _0x54735d=0x0;_0x54735d<_0x1a87b3['length'];_0x54735d++)_0x134218['has'](_0x1a87b3[_0x54735d]['pairId'])||0x0==_0x1a87b3[_0x54735d]['distance']||(_0x1a87b3[_0x54735d]['isIncorrect']=!0x0);return _0x1a87b3['filter'](_0x440bbd=>!_0x440bbd['isIncorrect']);}['_markMismatchedRemovedTags'](_0x3e147e){const _0x275d34=new Set();for(let _0x395262=0x0;_0x395262<_0x3e147e['length'];_0x395262++){if(_0x275d34['has'](_0x3e147e[_0x395262]['id'])&&_0x3e147e[_0x395262]['isRemoved']&&(_0x3e147e[_0x395262]['isIncorrect']=!0x0),_0x3e147e[_0x395262]['isIncorrect'])continue;if(0x0==_0x3e147e[_0x395262]['distance'])continue;if('elementStart'!=_0x3e147e[_0x395262]['type'])continue;if(null==_0x3e147e[_0x395262]['pairId'])continue;let _0x1cd073=_0x395262+0x1,_0x4257ee=0x0;for(;_0x3e147e[_0x1cd073]['id']!=_0x3e147e[_0x395262]['pairId'];)'elementStart'==_0x3e147e[_0x1cd073]['type']?_0x4257ee++:'elementEnd'==_0x3e147e[_0x1cd073]['type']&&_0x4257ee--,_0x1cd073++;if(0x0!=_0x4257ee){if(_0x3e147e[_0x395262]['isRemoved'])_0x3e147e[_0x395262]['isIncorrect']=!0x0;else{for(;_0x1cd073!=_0x395262;)_0x3e147e[_0x1cd073]['isRemoved']&&0x0!=_0x3e147e[_0x1cd073]['distance']&&(_0x3e147e[_0x1cd073]['isIncorrect']=!0x0,_0x275d34['add'](_0x3e147e[_0x1cd073]['pairId'])),_0x1cd073--;}}}return _0x3e147e['filter'](_0x5d53f7=>!_0x5d53f7['isIncorrect']);}['_removeUnsupportedChanges'](_0x40009e){const _0x54f1fa=this['editor']['model']['schema'];for(let _0x1c4d2e=0x0;_0x1c4d2e<_0x40009e['length'];_0x1c4d2e++){if(!(_0x40009e[_0x1c4d2e]['isAdded']||_0x40009e[_0x1c4d2e]['isAddSuggestion']||_0x40009e[_0x1c4d2e]['isRemoved']||_0x40009e[_0x1c4d2e]['isRemoveSuggestion']))continue;if(0x0==_0x40009e[_0x1c4d2e]['distance'])continue;const _0x2a8df1=_0x40009e[_0x1c4d2e]['item'];_0x54f1fa['isBlock'](_0x2a8df1)||_0x54f1fa['isLimit'](_0x2a8df1)||(_0x40009e[_0x1c4d2e]['isAdded']&&delete _0x40009e[_0x1c4d2e]['isAdded'],_0x40009e[_0x1c4d2e]['isAddSuggestion']&&delete _0x40009e[_0x1c4d2e]['isAddSuggestion'],_0x40009e[_0x1c4d2e]['isRemoveSuggestion']&&delete _0x40009e[_0x1c4d2e]['isRemoveSuggestion'],_0x40009e[_0x1c4d2e]['isRemoved']&&(_0x40009e[_0x1c4d2e]['isIncorrect']=!0x0));}return _0x40009e['filter'](_0x3b8cdf=>!_0x3b8cdf['isIncorrect']);}['_makeModelFromTape'](_0x576a04,_0xb818a7,_0x33d8ab){const _0x481b9e=new wt(),_0x2dc92e=[],_0x49dda7=new Map(),_0x3f2e64=this['editor']['model'],_0x495381=_0x3f2e64['schema'],_0x3d65f8=[_0x481b9e],_0x100a50={},_0x5180bd={'isAdded':[],'isRemoved':[],'isAddSuggestion':[],'isRemoveSuggestion':[]};let _0x135519=null;const _0x2e96ca=[0x0];for(let _0x1abdf7=0x0;_0x1abdf7<_0x576a04['length'];_0x1abdf7++){let _0x409c95,_0x547738;if('elementStart'===_0x576a04[_0x1abdf7]['type']){_0x409c95=_0x3f2e64['createPositionFromPath'](_0x481b9e,_0x2e96ca);const _0xaa9970=new ft(_0x576a04[_0x1abdf7]['item']['name'],_0x576a04[_0x1abdf7]['item']['getAttributes']());_0x3d65f8[0x0]['_appendChild'](_0xaa9970),_0x2e96ca['push'](0x0),_0x3d65f8['unshift'](_0xaa9970),_0x547738=_0x3f2e64['createPositionFromPath'](_0x481b9e,_0x2e96ca),_0x135519=null;}else{if('elementEnd'===_0x576a04[_0x1abdf7]['type'])_0x3d65f8['shift'](),_0x409c95=_0x3f2e64['createPositionFromPath'](_0x481b9e,_0x2e96ca),_0x2e96ca['pop'](),_0x2e96ca[_0x2e96ca['length']-0x1]++,_0x547738=_0x3f2e64['createPositionFromPath'](_0x481b9e,_0x2e96ca),_0x135519=null;else{if(_0x409c95=_0x3f2e64['createPositionFromPath'](_0x481b9e,_0x2e96ca),_0x135519&&_0x5dcddf(_0x135519,_0x576a04[_0x1abdf7]['item']))_0x135519['_data']+=_0x576a04[_0x1abdf7]['item']['data'];else{const _0x4d0734=new _t(_0x576a04[_0x1abdf7]['item']['data'],_0x576a04[_0x1abdf7]['item']['getAttributes']());_0x3d65f8[0x0]['_appendChild'](_0x4d0734),_0x135519=_0x4d0734;}_0x2e96ca[_0x2e96ca['length']-0x1]+=_0x576a04[_0x1abdf7]['item']['offsetSize'],_0x547738=_0x3f2e64['createPositionFromPath'](_0x481b9e,_0x2e96ca);}}for(const _0x4f3345 of _0x576a04[_0x1abdf7]['markersStart'])_0x49dda7['set'](_0x4f3345,{'start':_0x409c95,'end':null});_0x32e092('isRemoveSuggestion',_0x1abdf7,_0x409c95,_0x547738),_0x32e092('isAddSuggestion',_0x1abdf7,_0x409c95,_0x547738),_0x32e092('isRemoved',_0x1abdf7,_0x409c95,_0x547738),_0x32e092('isAdded',_0x1abdf7,_0x409c95,_0x547738);for(const _0x164ace of _0x576a04[_0x1abdf7]['markersEnd']){_0x49dda7['get'](_0x164ace)['end']=_0x547738;}}for(const [_0x4717d3,_0x33bb1f]of _0x49dda7){const _0x3bc59d=this['editor']['model']['createRange'](_0x33bb1f['start'],_0x33bb1f['end']);_0x481b9e['markers']['set'](_0x4717d3,_0x3bc59d);}return _0x2dc92e['sort']((_0x4a71be,_0x477001)=>{const _0x165cdf=_0x481b9e['markers']['get']('revision:'+_0x4a71be['id']),_0x25f43a=_0x481b9e['markers']['get']('revision:'+_0x477001['id']);return _0x165cdf['start']['isBefore'](_0x25f43a['start'])?-0x1:_0x165cdf['start']['isAfter'](_0x25f43a['start'])?0x1:_0x165cdf['end']['isBefore'](_0x25f43a['end'])?-0x1:_0x165cdf['end']['isAfter'](_0x25f43a['end'])?0x1:'add'===_0x4a71be['type']?-0x1:0x1;}),{'root':_0x481b9e,'changes':_0x2dc92e};function _0x32e092(_0x22d01f,_0x40cbcc,_0x315abe,_0x1eac49){const _0x58dab3=!!_0x576a04[_0x40cbcc][_0x22d01f],_0x57501a=_0x58dab3?_0x576a04[_0x40cbcc][_0x22d01f]['userId']:null,_0x4da38d=_0x40cbcc===_0x576a04['length']-0x1,_0x2d889f=_0x5180bd[_0x22d01f][0x0],_0x1a91db=_0x495381['isObject'](_0x576a04[_0x40cbcc]['item']);!_0x100a50[_0x22d01f]&&_0x58dab3?_0x100a50[_0x22d01f]={'start':_0x315abe,'tapeItem':_0x576a04[_0x40cbcc],'userId':_0x57501a,'type':_0x22d01f}:_0x100a50[_0x22d01f]&&!_0x58dab3?(_0x100a50[_0x22d01f]['end']=_0x315abe,_0x4dcada(_0x100a50[_0x22d01f]),_0x100a50[_0x22d01f]=null):_0x100a50[_0x22d01f]&&_0x58dab3&&_0x100a50[_0x22d01f]['userId']!==_0x57501a&&(_0x100a50[_0x22d01f]['end']=_0x315abe,_0x2d889f&&_0x2d889f['userId']===_0x100a50[_0x22d01f]['userId']||_0x4dcada(_0x100a50[_0x22d01f]),_0x100a50[_0x22d01f]={'start':_0x315abe,'tapeItem':_0x576a04[_0x40cbcc],'userId':_0x57501a,'type':_0x22d01f}),_0x100a50[_0x22d01f]&&_0x1a91db&&('elementStart'!==_0x576a04[_0x40cbcc]['type']||_0x2d889f&&_0x2d889f['userId']===_0x57501a||_0x5180bd[_0x22d01f]['unshift']({'userId':_0x57501a,'object':_0x576a04[_0x40cbcc]['item'],'change':_0x100a50[_0x22d01f]}),'elementEnd'===_0x576a04[_0x40cbcc]['type']&&_0x2d889f&&_0x2d889f['object']===_0x576a04[_0x40cbcc]['item']&&(_0x5180bd[_0x22d01f]['shift'](),_0x100a50[_0x22d01f]=_0x2d889f['change'])),_0x100a50[_0x22d01f]&&_0x4da38d&&(_0x100a50[_0x22d01f]['end']=_0x1eac49,_0x4dcada(_0x100a50[_0x22d01f]),_0x100a50[_0x22d01f]=null);}function _0x4dcada({start:_0x45ba55,end:_0x3cc5d1,tapeItem:_0x55f64b,userId:_0x3785f6,type:_0x7ffea7}){const _0x2a141c=_0x55f64b['item'],_0x70b250=_0x3f2e64['schema']['isBlock'](_0x2a141c)&&!_0x3f2e64['schema']['isLimit'](_0x2a141c),_0x12e5c8=_0x45ba55['nodeAfter']==_0x3cc5d1['parent']&&_0x3cc5d1['isAtStart'];if(_0x70b250&&_0x12e5c8)return;const _0x251680=_0x3f2e64['createRange'](_0x45ba55,_0x3cc5d1),_0xbf4ffc=_0xb818a7['get'](_0x3785f6),_0x34a2a3=new r({'author':_0xbf4ffc,'type':'isAdded'==_0x7ffea7||'isAddSuggestion'==_0x7ffea7?'add':'remove','data':{'isSuggestion':'isAddSuggestion'==_0x7ffea7||'isRemoveSuggestion'==_0x7ffea7},'createdAt':new Date(),'rootName':_0x33d8ab});_0x2dc92e['push'](_0x34a2a3),_0x481b9e['markers']['set']('revision:'+_0x34a2a3['id'],_0x251680);}function _0x5dcddf(_0x36f017,_0x3cdabc){const _0x15b6b8=_0x36f017['getAttributes'](),_0x267e61=_0x3cdabc['getAttributes']();for(const _0x3fb3de of _0x15b6b8){if(_0x3fb3de[0x1]!==_0x3cdabc['getAttribute'](_0x3fb3de[0x0]))return!0x1;_0x267e61['next']();}return _0x267e61['next']()['done'];}}['_setConversion'](){this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'revision'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision','view':_0x3c91e0=>{const _0x4281a2=_0x3c91e0['markerName']['split'](':')[0x1],_0x23c8ac=this['_getChangeFromId'](_0x4281a2);if(!_0x23c8ac)return null;const _0x4df50c='add'==_0x23c8ac['type']?'insertion':'deletion',_0x54052c=['ck-suggestion-marker','ck-suggestion-marker-'+_0x4df50c];return _0x23c8ac['data']['isSuggestion']&&_0x54052c['push']('ck-suggestion-marker-'+_0x4df50c+'-new'),this['activeChange']==_0x23c8ac&&_0x54052c['push']('ck-suggestion-marker--active'),{'classes':_0x54052c,'attributes':{'data-change-id':_0x4281a2}};}}),this['editor']['conversion']['for']('upcast')['add'](_0x52bd2f=>{_0x52bd2f['on']('element:pre',(_0x39401e,_0x4077b8,_0x3b7f63)=>{const _0x436439=_0x4077b8['viewItem']['getChild'](0x0);if(!_0x436439||!_0x436439['is']('element','code'))return;if(!_0x3b7f63['consumable']['consume'](_0x436439,{'attributes':['vid_start','vid_end']}))return;const _0x3d7fe2=_0x4077b8['modelRange']['start']['nodeAfter'];_0x3b7f63['writer']['setAttribute']('vid_start',_0x436439['getAttribute']('vid_start'),_0x3d7fe2),_0x3b7f63['writer']['setAttribute']('vid_end',_0x436439['getAttribute']('vid_end'),_0x3d7fe2);},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['add'](_0x11f32d=>{_0x11f32d['on']('element',(_0xb2b322,_0x3ac843,_0x4d8964)=>{if(!_0x4d8964['consumable']['consume'](_0x3ac843['viewItem'],{'attributes':['vid_start','vid_end']}))return;if(_0x3ac843['modelRange']['isCollapsed'])return;const _0x1fa71a=_0x3ac843['modelRange']['start']['nodeAfter'];_0x1fa71a['hasAttribute']('vid_start')||_0x1fa71a['hasAttribute']('vid')||(_0x4d8964['writer']['setAttribute']('vid_start',_0x3ac843['viewItem']['getAttribute']('vid_start'),_0x1fa71a),_0x4d8964['writer']['setAttribute']('vid_end',_0x3ac843['viewItem']['getAttribute']('vid_end'),_0x1fa71a));},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['elementToAttribute']({'view':{'name':'span','attributes':{'vid':!0x0}},'model':{'key':'vid','value':_0x398016=>_0x398016['getAttribute']('vid')}}),this['editor']['model']['schema']['on']('checkAttribute',(_0x290a8b,[,_0x3366bf])=>{['vid_start','vid_end','vid']['includes'](_0x3366bf)&&(_0x290a8b['return']=!0x0,_0x290a8b['stop']());},{'priority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['add'](_0x447f85=>{_0x447f85['on']('attribute:vid',(_0x22eca9,_0x42dab4,_0xfd1881)=>{if('\x20'!=_0x42dab4['item']['data']||_0x42dab4['item']['parent']['maxOffset']>0x1)return;if(!_0xfd1881['consumable']['consume'](_0x42dab4['item'],_0x22eca9['name']))return;const _0x308ebb=_0xfd1881['writer'],_0x3de269=_0xfd1881['mapper']['toViewRange'](_0x42dab4['range']);_0x308ebb['wrap'](_0x3de269,_0x308ebb['createAttributeElement']('span'));});}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',function(_0x49c716){const _0x345237=_0x49c716['plugins']['get']('RevisionViewer');return(_0x963af7,_0x11351a,_0xc0db68)=>{const _0x20b69f=_0x11351a['markerName']['split'](':')[0x1],_0x3957d6=_0x345237['_getChangeFromId'](_0x20b69f);if(!_0x3957d6)return null;const _0xfeef01='add'==_0x3957d6['type']?'split':'merge';if(!_0xc0db68['consumable']['test'](_0x11351a['markerRange'],_0x963af7['name']))return;const _0x26332d=_0x11351a['markerRange']['getWalker'](),_0x45f79d=_0x11351a['markerRange']['start'],_0x9cb103=_0x49c716['model']['schema'];let _0x552922=null,_0x235946=null,_0x3ffba3=!0x1,_0x6d0dc5=!0x1;for(const _0x290da6 of _0x26332d){const _0x2093b6=_0x290da6['item'];_0x3ffba3=_0x3ffba3||_0x9cb103['isContent'](_0x2093b6);const _0x3fdb00=_0xc0db68['mapper']['toViewElement'](_0x2093b6);if(_0x3fdb00&&_0x3fdb00['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x290da6['type']&&(_0x9cb103['isBlock'](_0x2093b6)&&!_0x9cb103['isLimit'](_0x2093b6)&&(_0x2093b6['nextSibling']||_0x45f79d['isAtEnd']?_0x552922&&_0x552922['parent']==_0x2093b6||(_0x552922=_0x2093b6,_0x3d257c(_0x290da6['previousPosition']),_0x6d0dc5=!0x0):_0x235946=_0x235946||_0x290da6['previousPosition']));}function _0x3d257c(_0x373cf9){const _0x30200d=_0xc0db68['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0xfeef01}),_0x3aebfd=_0xc0db68['mapper']['toViewPosition'](_0x373cf9);_0x3957d6['data']['isSuggestion']&&_0xc0db68['writer']['addClass']('ck-suggestion-marker-'+_0xfeef01+'-new',_0x30200d),_0x345237['activeChange']==_0x3957d6&&_0xc0db68['writer']['addClass']('ck-suggestion-marker--active',_0x30200d),_0xc0db68['writer']['insert'](_0x3aebfd,_0x30200d),_0xc0db68['mapper']['bindElementToMarker'](_0x30200d,_0x11351a['markerName']);}_0x3ffba3||_0x6d0dc5||!_0x235946||_0x3d257c(_0x235946);};}(this['editor']),{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('removeMarker:revision',(_0x2896a4,_0x3ac46e,_0x566ca)=>{const _0x3c2660=_0x566ca['mapper']['markerNameToElements'](_0x3ac46e['markerName']);if(_0x3c2660){for(const _0x951aa of _0x3c2660)(_0x951aa['hasClass']('ck-suggestion-marker-split')||_0x951aa['hasClass']('ck-suggestion-marker-merge'))&&(_0x566ca['mapper']['unbindElementFromMarkerName'](_0x951aa,_0x3ac46e['markerName']),_0x566ca['writer']['remove'](_0x951aa));}},{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',(_0x17385f,_0x39082f,_0x5e3b76)=>{const _0x2bd688=_0x39082f['markerName']['split'](':')[0x1],_0x8cc02b=this['_getChangeFromId'](_0x2bd688);if(!_0x8cc02b)return null;const _0x313789='add'==_0x8cc02b['type']?'split':'merge';if(_0x5e3b76['consumable']['test'](_0x39082f['markerRange'],_0x17385f['name']))for(const _0x468a10 of _0x39082f['markerRange']['getItems']()){if(!_0x468a10['is']('element','softBreak'))continue;const _0x1b67b3=_0x5e3b76['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x313789}),_0x58c4fa=_0x5e3b76['mapper']['toViewPosition'](this['editor']['model']['createPositionBefore'](_0x468a10));_0x8cc02b['data']['isSuggestion']&&_0x5e3b76['writer']['addClass']('ck-suggestion-marker-'+_0x313789+'-new',_0x1b67b3),this['activeChange']==_0x8cc02b&&_0x5e3b76['writer']['addClass']('ck-suggestion-marker--active',_0x1b67b3),_0x5e3b76['writer']['insert'](_0x58c4fa,_0x1b67b3),_0x5e3b76['mapper']['bindElementToMarker'](_0x1b67b3,_0x39082f['markerName']);}},{'priority':'high'}),this['editor']['model']['document']['on']('change',()=>{this['editor']['editing']['view']['change'](_0x4c6a84=>{for(const _0x1f5b1e of this['editor']['model']['document']['getRootNames']()){const _0xe03d7d=this['editor']['model']['document']['getRoot'](_0x1f5b1e),_0x57debd=this['editor']['editing']['view']['document']['getRoot'](_0x1f5b1e);if(_0x57debd){const _0x1c39dc=_0xe03d7d['getAttribute']('revisionHistoryAttachChange');if(_0x4c6a84['removeAttribute']('data-change-id',_0x57debd),_0x4c6a84['removeClass']('ck-revision-history-root-add',_0x57debd),_0x4c6a84['removeClass']('ck-revision-history-root-remove',_0x57debd),_0x4c6a84['removeClass']('ck-revision-history-root--active',_0x57debd),_0x1c39dc){const _0x3f829d=this['_getChangeFromId'](_0x1c39dc);if(!_0x3f829d)return null;_0x4c6a84['setAttribute']('data-change-id',_0x1c39dc,_0x57debd),_0x4c6a84['addClass']('ck-revision-history-root-'+_0x3f829d['type'],_0x57debd),this['activeChange']==_0x3f829d&&_0x4c6a84['addClass']('ck-revision-history-root--active',_0x57debd);}}}});}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'comment','model':_0x784bdd=>'revision-comment:'+_0x784bdd,'converterPriority':'highest'}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'suggestion','model':_0x51f415=>'revision-suggestion:'+_0x51f415,'converterPriority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision-suggestion','view':_0x5187ef=>({'name':'suggestion:'+_0x5187ef,'group':'revision-suggestion'}),'converterPriority':'highest'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision-suggestion','view':_0x597f3b=>{const _0x44dc84=_0x597f3b['markerName']['split'](':')[0x1];return'insertion'!=_0x44dc84&&'deletion'!=_0x44dc84?null:{'classes':['ck-suggestion-preview-marker','ck-suggestion-preview-marker-'+_0x44dc84]};}}),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',(_0x2caf73,_0x4924b2,_0x5d5f28)=>{const _0x264a76=_0x5d5f28['mapper']['markerNameToElements'](_0x4924b2['markerName']);if(_0x264a76){for(const _0x5470a7 of _0x264a76)_0x5470a7['is']('uiElement')&&(_0x5d5f28['mapper']['unbindElementFromMarkerName'](_0x5470a7,_0x4924b2['markerName']),_0x5d5f28['writer']['remove'](_0x5470a7));}},{'priority':'high'});}['_getChangeFromId'](_0x18abe2){return this['_changeIdToChange']['get'](_0x18abe2);}['_getViewForChange'](_0x1ccebf){return this['_changeView']&&this['_changeView']['destroy'](),this['_changeView']=new Z(this['editor']['locale'],_0x1ccebf),this['_changeView'];}['_initInteractions'](){this['editor']['model']['document']['selection']['observeMarkers']('revision'),this['on']('change:activeView',(_0x17205c,_0x2d608e,_0x4645c5,_0x344cae)=>{_0x344cae&&this['_balloon']['remove'](_0x344cae),_0x4645c5&&(this['_balloon']['add']({'view':_0x4645c5,'stackId':'revisionHistoryLabel','position':{'target':()=>{const _0x557a23=this['editor']['editing'],_0x39ef17=this['_getChangeFromId'](_0x4645c5['changeId']);let _0x2f6676;if(_0x39ef17['data']['isOnRoot']){const _0x2ff99c=_0x557a23['view']['getDomRoot'](_0x39ef17['rootName']);_0x2f6676=Array['from'](_0x2ff99c['getClientRects']());}else{const _0x5e09c6=this['editor']['model']['markers']['get']('revision:'+_0x4645c5['changeId']);_0x2f6676=Array['from'](_0x557a23['mapper']['markerNameToElements'](_0x5e09c6['name']))['map'](_0x13425e=>_0x557a23['view']['domConverter']['mapViewToDom'](_0x13425e))['map'](_0x19b87d=>Array['from'](_0x19b87d['getClientRects']()))['flat']();}if(!this['_activeViewTarget'])return _0x2f6676[0x0];return _0x2f6676['find'](_0x4a6ce7=>_0x4a6ce7['top']-0x3<=this['_activeViewTarget']['y']&&_0x4a6ce7['bottom']+0x3>=this['_activeViewTarget']['y']&&_0x4a6ce7['left']-0x3<=this['_activeViewTarget']['x']&&_0x4a6ce7['right']+0x3>=this['_activeViewTarget']['x'])||_0x2f6676[0x0];}}}),this['_balloon']['showStack']('revisionHistoryLabel'));}),this['on']('change:activeChange',(_0x167f77,_0x1c0363,_0x4ea086,_0x81e191)=>{this['activeView']=_0x4ea086?this['_getViewForChange'](_0x4ea086):null,this['editor']['model']['change'](()=>{const _0x3510a5=this['editor']['editing'];_0x81e191&&(_0x81e191['data']['isOnRoot']?_0x3510a5['view']['change'](_0x44c377=>{_0x44c377['removeClass']('ck-revision-history-root--active',_0x3510a5['view']['document']['getRoot'](_0x81e191['rootName']));}):_0x3510a5['reconvertMarker']('revision:'+_0x81e191['id'])),_0x4ea086&&(_0x4ea086['data']['isOnRoot']?_0x3510a5['view']['change'](_0x5cd851=>{_0x5cd851['addClass']('ck-revision-history-root--active',_0x3510a5['view']['document']['getRoot'](_0x4ea086['rootName']));}):_0x3510a5['reconvertMarker']('revision:'+_0x4ea086['id']));});}),this['listenTo'](this['editor']['editing']['view']['document'],'mouseover',(_0x1e6144,_0x354361)=>{if(this['activeChange'])return;const _0x49a72f=this['_findChangeIdFromDomTarget'](_0x354361['target']),_0x330f15=this['_changeIdToChange']['get'](_0x49a72f);_0x330f15?(this['_activeViewTarget']={'x':_0x354361['domEvent']['x'],'y':_0x354361['domEvent']['y']},this['activeView']=this['_getViewForChange'](_0x330f15)):(this['_activeViewTarget']=null,this['activeView']=null);}),this['listenTo'](this['editor']['editing']['view']['document'],'mousedown',(_0x1c40cf,_0x474d32)=>{const _0x298bb0=this['_findChangeIdFromDomTarget'](_0x474d32['target']),_0x42c677=this['_changeIdToChange']['get'](_0x298bb0);_0x42c677?(this['_activeViewTarget']={'x':_0x474d32['domEvent']['x'],'y':_0x474d32['domEvent']['y']},_0x42c677===this['activeChange']?this['_balloon']['updatePosition']():this['activeChange']=_0x42c677):(this['_activeViewTarget']=null,this['activeChange']=null);});}['_findChangeIdFromDomTarget'](_0x37bb64){do{const _0x5e5b27=_0x37bb64['getAttribute']('data-change-id');if(_0x5e5b27)return _0x5e5b27;_0x37bb64=_0x37bb64['parent'];}while(_0x37bb64);return null;}['_cleanMarkers'](){this['editor']['model']['change'](_0x409dfe=>{for(const _0x10b4d9 of this['editor']['model']['markers'])_0x409dfe['removeMarker'](_0x10b4d9);});}}function et(_0x3db2e3,_0x55af81){return(_0x257c9b,_0x524003,_0x4e63f6)=>{if(!_0x4e63f6['consumable']['test'](_0x524003['markerRange'],_0x257c9b['name']))return;const _0x508e8d=_0x524003['markerRange']['getWalker'](),_0x4c04d9=_0x524003['markerRange']['start'],_0x5b834a=_0x3db2e3['model']['schema'];let _0x531524=null,_0xba8ae7=null,_0x34405f=!0x1,_0x3daefe=!0x1;for(const _0x51f0cc of _0x508e8d){const _0x184a67=_0x51f0cc['item'];_0x34405f=_0x34405f||_0x5b834a['isContent'](_0x184a67);const _0xa54ead=_0x4e63f6['mapper']['toViewElement'](_0x184a67);if(_0xa54ead&&_0xa54ead['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x51f0cc['type']&&(_0x5b834a['isBlock'](_0x184a67)&&!_0x5b834a['isLimit'](_0x184a67)&&(_0x184a67['nextSibling']||_0x4c04d9['isAtEnd']?_0x531524&&_0x531524['parent']==_0x184a67||(_0x531524=_0x184a67,_0x4c22c0(_0x51f0cc['previousPosition']),_0x3daefe=!0x0):_0xba8ae7=_0xba8ae7||_0x51f0cc['previousPosition']));}function _0x4c22c0(_0x330165){const _0x58435c=_0x4e63f6['mapper']['toViewPosition'](_0x330165),_0x1a087c=_0x4e63f6['writer']['createUIElement']('span',{'class':'ck-suggestion-preview-marker-'+_0x55af81});_0x4e63f6['writer']['insert'](_0x58435c,_0x1a087c),_0x4e63f6['mapper']['bindElementToMarker'](_0x1a087c,_0x524003['markerName']);}_0x34405f||_0x3daefe||!_0xba8ae7||_0x4c22c0(_0xba8ae7);};}class bt extends _0x5098f9{constructor(_0x402e0d){super(_0x402e0d);const _0x1d27ed=_0x402e0d['plugins']['get'](d);this['affectsData']=!0x1,this['listenTo'](_0x1d27ed,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x1d27ed,'change:isEnabled',()=>this['refresh']());}['execute'](){const _0x3bf7bd=this['editor'],_0x40db49=_0x3bf7bd['plugins']['get'](d),_0x415dbd=_0x40db49['isReady']?_0x40db49['diff']['newRevisionId']:null;_0x3bf7bd['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x415dbd);}['refresh'](){const {isReady:_0x2c1956,isEnabled:_0x4e990f}=this['editor']['plugins']['get'](d);this['isEnabled']=_0x2c1956&&_0x4e990f;}}class yt extends _0x5098f9{['_step'];constructor(_0x3baab2,{direction:_0x282f2c}){super(_0x3baab2);const _0x1e63ce=_0x3baab2['plugins']['get'](d);this['affectsData']=!0x1,this['_step']='forward'===_0x282f2c?0x1:-0x1,this['listenTo'](_0x1e63ce,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x1e63ce,'change:isEnabled',()=>this['refresh']()),this['listenTo'](_0x1e63ce,'change:activeChange',()=>this['refresh']());}['execute'](){const _0x29d9e4=this['editor'],_0x4b145b=_0x29d9e4['plugins']['get'](d),{isNavigationMode:_0x4ddaee,currentChangeNumber:_0x20a425}=_0x4b145b;let _0x20f60f;if(_0x4b145b['activeChange']=_0x4ddaee?_0x4b145b['diff']['changes']['get'](_0x20a425+this['_step']):_0x4b145b['diff']['changes']['first'],_0x4b145b['activeChange']['data']['isOnRoot'])_0x20f60f=_0x29d9e4['editing']['view']['getDomRoot'](_0x4b145b['activeChange']['rootName']);else{const _0x150163=_0x29d9e4['model']['markers']['get']('revision:'+_0x4b145b['activeChange']['id']);_0x20f60f=_0x4c06f8(_0x29d9e4['editing'],_0x150163);}_0x1a296b({'target':_0x20f60f,'viewportOffset':0x28});}['refresh'](){const {isNavigationMode:_0x3cba2b,currentChangeNumber:_0x13e7f6,numberOfChanges:_0x447db5,isReady:_0x564c1b,isEnabled:_0x6bb07c}=this['editor']['plugins']['get'](d);this['isEnabled']=!!(_0x6bb07c&&_0x564c1b&&_0x447db5)&&(!_0x3cba2b||(0x1===this['_step']?_0x13e7f6<_0x447db5-0x1:_0x13e7f6>0x0));}}class di extends _0x389b94{constructor(_0x331652){super(_0x331652);const _0x41c96a=this['bindTemplate'],_0x399e23=new _0x6e6c0d(_0x331652),_0x454216=new _0x6e6c0d(_0x331652);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',(_0x5349c7,_0x45c892)=>_0x5349c7&&_0x45c892>0x0),this['bind']('_statusText')['to'](this,'isReady',this,'currentChangeNumber',this,'numberOfChanges',this,'isNavigationMode',(_0x12ad0f,_0xb5d7f1,_0x64bee9,_0x1c9757)=>{if(!_0x12ad0f)return y(_0x331652,'Loading...');if(!_0x64bee9)return y(_0x331652,'No\x20changes');const _0x51d574=y(_0x331652,'NUMBER_OF_CHANGES',_0x64bee9);return _0x1c9757?y(_0x331652,'X_OF_Y_CHANGES',[_0xb5d7f1+0x1,_0x64bee9]):_0x51d574;}),_0x399e23['set']({'label':y(_0x331652,'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'}),_0x454216['set']({'label':y(_0x331652,'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'}),_0x399e23['bind']('isEnabled')['to'](this,'isBackwardNavigationEnabled'),_0x454216['bind']('isEnabled')['to'](this,'isForwardNavigationEnabled'),_0x399e23['on']('execute',()=>this['fire']('execute','backward')),_0x454216['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',_0x41c96a['if']('_isStatusLabelVisible','ck-hidden',_0x5081b4=>!_0x5081b4)]},'children':[{'text':_0x41c96a['to']('isNavigationMode',_0x1f5603=>_0x1f5603?y(_0x331652,'EDIT_X_OF_Y_REVISIONS')+':\x20':y(_0x331652,'Total')+':\x20')}]},{'text':_0x41c96a['to']('_statusText')}]},new _0x134a6c(),{'tag':'div','attributes':{'class':['ck-revision-history-ui__changes-navigation__navigation']},'children':[_0x399e23,_0x454216]}]});}}const ce='ck-editor__editable__loading-overlay';class ae extends _0x14d499{static get['pluginName'](){return'RevisionViewerLoadingOverlay';}['show'](){const _0x1a71bc=this['editor']['editing']['view'];_0x1a71bc['change'](_0x4510c2=>{for(const _0x2d6941 of _0x1a71bc['document']['roots'])_0x4510c2['addClass'](ce,_0x2d6941);});}['hide'](){const _0x5c8715=this['editor']['editing']['view'];_0x5c8715['change'](_0x298e68=>{for(const _0xb3e44 of _0x5c8715['document']['roots'])_0x298e68['removeClass'](ce,_0xb3e44);});}}class R extends _0x14d499{static get['pluginName'](){return'RevisionViewerUI';}static get['requires'](){return[d,ae];}['init'](){const _0x3eff24=this['editor'],_0x55eee1=_0x3eff24['plugins']['get'](d),_0x288309=_0x3eff24['plugins']['get'](ae);_0x3eff24['ui']['componentFactory']['add']('exitToEditing',_0x5b9ec9=>{const _0x3bd9db=new _0x6e6c0d(_0x5b9ec9);return _0x3bd9db['set']({'label':y(_0x5b9ec9,'Back\x20to\x20editing'),'icon':_0x20e030['undo'],'withText':!0x0,'tooltip':!0x0,'class':'ck-revision-history-ui__back-to-editing'}),this['listenTo'](_0x3bd9db,'execute',()=>{_0x3eff24['config']['get']('revisionHistory')['closeRevisionViewerCallback']();}),_0x3bd9db;}),_0x3eff24['ui']['componentFactory']['add']('restoreRevision',_0x3b139f=>{const _0x31aa35=new _0x6e6c0d(_0x3b139f);return _0x31aa35['set']({'label':y(_0x3b139f,'Restore\x20this\x20revision'),'withText':!0x0,'tooltip':!0x0}),_0x31aa35['bind']('isEnabled')['to'](_0x3eff24['commands']['get']('restoreRevision')),this['listenTo'](_0x31aa35,'execute',()=>_0x3eff24['execute']('restoreRevision')),_0x31aa35;}),_0x3eff24['ui']['componentFactory']['add']('changesNavigation',_0x10a49d=>{const _0x58f67b=new di(_0x10a49d),_0x5bf733=_0x3eff24['commands']['get']('showPreviousChange'),_0x151268=_0x3eff24['commands']['get']('showNextChange');return _0x58f67b['bind']('isBackwardNavigationEnabled')['to'](_0x5bf733,'isEnabled'),_0x58f67b['bind']('isForwardNavigationEnabled')['to'](_0x151268,'isEnabled'),_0x58f67b['bind']('isReady','currentChangeNumber','numberOfChanges','isNavigationMode')['to'](_0x55eee1),this['listenTo'](_0x58f67b,'execute',(_0x354a00,_0x2e7f4c)=>{_0x3eff24['execute']('forward'===_0x2e7f4c?'showNextChange':'showPreviousChange');}),_0x58f67b;}),_0x288309['show'](),_0x55eee1['on']('change:isReady',(_0x31ddfd,_0x3f74bd,_0x4282d6)=>{_0x4282d6?_0x288309['hide']():_0x288309['show']();});}}class kt extends at{['_resizeObserver']=null;constructor(_0x23c246,_0x3ddad8){super(_0x23c246,_0x3ddad8);const _0xa491b6=this['bindTemplate'];this['set']({'label':y(_0x23c246,'Revision\x20name'),'_tooltipString':''}),this['fieldView']['placeholder']=y(_0x23c246,'Enter\x20the\x20revision\x20name'),this['extendTemplate']({'tag':'span','attributes':{'class':['ck-revision-history-sidebar__revision-name'],'data-cke-tooltip-text':_0xa491b6['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 _0x444d81=this['fieldView']['element'];this['_tooltipString']=_0x444d81['scrollWidth']>_0x444d81['clientWidth']&&_0x444d81['value']||'';}}class ti extends _0x389b94{constructor(_0x5a4e92,_0xa57c1f,_0x5a3818){super(_0x5a4e92);const _0x187360=new _0x4ed7cb();_0x187360['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 _0x200a27=['ck','ck-revision-history-sidebar__revision-author'];_0x5a3818&&_0x200a27['push']('ck-revision-history-sidebar__revision-author_creator');const _0x1850b4=[{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__revision-author__name'],'title':y(_0x5a4e92,_0x5a3818?'Revision\x20creator':'Revision\x20author')},'children':[_0x187360,_0xa57c1f['name']]}];this['setTemplate']({'tag':'li','attributes':{'class':_0x200a27},'children':_0x1850b4});}}function ni(_0x398a8b,_0x33ce2e){const _0x36ab66=_0x398a8b['bindTemplate'],_0x488c56=_0x398a8b['locale'],_0xc72827=_0x2cb310(_0x488c56);_0xc72827['panelPosition']='sw';const _0x4c0bf8=function(_0x264fa6,_0x71f064){const _0x24b68c=function(_0x354554,_0x5ee9da){const _0x36ef4b=_0x354554['locale'],_0x5bda88={'Compare\x20against\x20selected':y(_0x36ef4b,'Compare\x20against\x20selected'),'Name\x20this\x20revision':y(_0x36ef4b,'Name\x20this\x20revision'),'Restore\x20this\x20revision':y(_0x36ef4b,'Restore\x20this\x20revision')};return _0x5ee9da['map'](_0x180364=>{const _0x2a33f1=_0x5bda88[_0x180364['name']];return _0x2a33f1&&_0x2a33f1!==_0x180364['name']&&(_0x180364['name']=_0x2a33f1),_0x180364;});}(_0x264fa6,_0x71f064),_0x50cc9f=new _0x46bcc9();for(const _0x1c0dc1 of _0x24b68c){const _0x10c358={'type':'button','model':new to({'label':_0x1c0dc1['name'],'class':_0x1c0dc1['class'],'withText':!0x0,'role':'menuitem','_action':_0x1c0dc1['action']})};_0x10c358['model']['bind']('isEnabled')['to'](_0x264fa6,'isActionsDropdownOpen',_0x1e04c9=>'function'!=typeof _0x1c0dc1['isEnabled']||(!_0x1e04c9||_0x1c0dc1['isEnabled'](_0x264fa6))),_0x50cc9f['add'](_0x10c358);}return _0x50cc9f;}(_0x398a8b,_0x33ce2e);return _0x398a8b['bind']('isActionsDropdownOpen')['to'](_0xc72827,'isOpen'),_0xc72827['buttonView']['set']({'label':y(_0x488c56,'Show\x20more\x20items'),'tooltip':!0x0,'tooltipPosition':'sw','icon':_0x20e030['threeVerticalDots']}),_0xc72827['extendTemplate']({'attributes':{'class':['ck-revision-history-sidebar__revision__actions',_0x36ab66['if']('isActionsDropdownOpen','ck-on')]},'on':{'click':_0x36ab66['to'](_0x5bd88=>_0x5bd88['stopPropagation']())}}),_0xc72827['on']('execute',_0x4187fb=>{_0x398a8b['isReady']&&'function'==typeof _0x4187fb['source']['_action']&&_0x4187fb['source']['_action'](_0x398a8b);}),_0x2fd658(_0xc72827,_0x4c0bf8,{'role':'menu'}),_0xc72827['listenTo'](_0x398a8b,'change:isActionsDropdownOpen',(_0x1dcd78,_0x2ff1c7,_0x5e6e7d)=>{if(_0x5e6e7d)for(const _0x3b422c of _0xc72827['listView']['items']){const _0x3d301e=_0x3b422c['children']['first'],_0x516b33=_0x33ce2e['find'](_0x1bc852=>_0x1bc852['action']===_0x3d301e['_action'])['isVisible'];_0x3b422c['isVisible']=void 0x0===_0x516b33||_0x516b33(_0x398a8b);}}),_0xc72827;}class ai extends/* #__PURE__ -- @preserve */
26
+ _0x43a3a2(_0x389b94){['id'];['revisionNameView'];['revisionActionsView'];['_revision'];['_requireRevisionName'];constructor(_0x2ce23e,_0x24ce67,_0x2fb9ae,_0x44fb03){super(_0x2ce23e);const _0x347306=this['bindTemplate'],_0x3e0bdb=function(_0x5a4589,_0x48cd8d){const _0x659ce=Array['from'](_0x48cd8d['authors'])['filter'](_0x5a5fc5=>_0x5a5fc5!=_0x48cd8d['creator']);return _0x48cd8d['creator']&&_0x659ce['unshift'](_0x48cd8d['creator']),_0x659ce['map'](_0x108595=>new ti(_0x5a4589,_0x108595,_0x108595==_0x48cd8d['creator']));}(_0x2ce23e,_0x24ce67);this['id']=_0x24ce67['id'],this['_revision']=_0x24ce67,this['_requireRevisionName']=_0x44fb03,this['bind']('name','createdAt')['to'](_0x24ce67),this['bind']('_createdAtFormatted')['to'](this,'createdAt',_0x351d1d=>{return _0x2c07a1=_0x2ce23e['uiLanguage'],(_0x485d64=_0x351d1d)['toLocaleDateString'](_0x2c07a1,{'month':'long','day':'numeric'})+',\x20'+_0x485d64['toLocaleTimeString'](_0x2c07a1,{'hour':'numeric','minute':'numeric'});var _0x2c07a1,_0x485d64;}),this['set']('isSelected',!0x1),this['set']('isHighlighted',!0x1),this['set']('isActionsDropdownOpen',!0x1),this['set']('isReady',!0x1),this['set']('isEnabled',!0x1),this['revisionNameView']=new kt(_0x2ce23e,_0x33b571),this['revisionNameView']['fieldView']['extendTemplate']({'attributes':{'maxlength':'220'}}),this['revisionNameView']['fieldView']['bind']('value')['to'](this,'name',_0x3f35fc=>_0x3f35fc||this['_createdAtFormatted']),this['revisionNameView']['bind']('isEnabled')['to'](this,'isSelected',this,'isEnabled',(_0x4c6e8c,_0x219379)=>_0x4c6e8c&&_0x219379),this['revisionActionsView']=_0x2fb9ae&&_0x2fb9ae['length']?ni(this,_0x2fb9ae):'',this['revisionActionsView']&&this['revisionActionsView']['bind']('isEnabled')['to'](this),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision-wrapper',_0x347306['if']('isConfirm','ck-revision-history-sidebar__revision-wrapper_confirmation_visible')]},'children':[{'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision',_0x347306['if']('isEnabled','ck-disabled',_0xfb3535=>!_0xfb3535),_0x347306['if']('isSelected','ck-revision-history-sidebar__revision_selected'),_0x347306['if']('isHighlighted','ck-revision-history-sidebar__revision_highlighted'),_0x347306['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':_0x347306['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':_0x3e0bdb}]},this['revisionActionsView']],'on':{'click':_0x347306['to'](_0x2e2901=>{_0x2e2901['srcElement']['closest']('.ck-thread__remove-confirm')||this['isReady']&&this['isEnabled']&&this['fire']('select',{'id':this['id']});})}}]});}['render'](){super['render']();const _0x45d245=this['revisionNameView']['fieldView']['element'];this['listenTo'](_0x45d245,'change',()=>{this['_requireRevisionName']&&!_0x45d245['value']||this['fire']('setName',{'id':this['id'],'name':_0x45d245['value']}),_0x45d245['value']||(_0x45d245['value']=this['name']?this['name']:this['_createdAtFormatted']);});}['select'](){this['isSelected']=!0x0;}['deselect'](){this['isSelected']=!0x1;}['highlight'](){this['isHighlighted']=!0x0;}['unhighlight'](){this['isHighlighted']=!0x1;}}function mi(_0x564734,_0xa3ceca){const _0x16cb48=_0x37e5b6['fromJSDate'](_0x564734)['setLocale'](_0xa3ceca),_0x3ce1fc=_0x37e5b6['local'](),_0x407b1c=_0x3ce1fc['minus']({'days':0x1})['startOf']('day');let _0x4220f3,_0x3f44d3;return _0x16cb48['hasSame'](_0x3ce1fc,'day')?(_0x4220f3=_0x16cb48['startOf']('day')['toJSDate'](),_0x3f44d3=_0x16cb48['toRelativeCalendar']()):_0x16cb48['hasSame'](_0x407b1c,'day')?(_0x4220f3=_0x407b1c['toJSDate'](),_0x3f44d3=_0x16cb48['toRelativeCalendar']()):_0x16cb48['hasSame'](_0x3ce1fc,'week')?(_0x4220f3=_0x16cb48['startOf']('week')['toJSDate'](),_0x3f44d3=_0x16cb48['weekdayLong']||''):_0x16cb48['hasSame'](_0x3ce1fc,'year')?(_0x4220f3=_0x16cb48['startOf']('month')['toJSDate'](),_0x3f44d3=_0x16cb48['monthLong']||''):(_0x4220f3=_0x16cb48['startOf']('year')['toJSDate'](),_0x3f44d3=String(_0x16cb48['year'])),{'startDate':_0x4220f3,'localizedPeriodName':_0x3f44d3};}class vi extends _0x389b94{['startDate'];['revisionViews'];['_revisionActions'];['_requireRevisionName'];constructor(_0x4ddf10,_0x1f8557,_0x62dc41,_0x5cd71d){super(_0x4ddf10);const _0x183858=mi(_0x1f8557,this['locale']['uiLanguage'])['localizedPeriodName'];this['startDate']=_0x1f8557,this['revisionViews']=this['createCollection'](),this['_revisionActions']=_0x62dc41,this['_requireRevisionName']=_0x5cd71d,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':_0x183858}]},{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__time-period__revisions']},'children':this['revisionViews']}]});}['addRevision'](_0x8341a0){const _0x3268ac=new ai(this['locale'],_0x8341a0,this['_revisionActions'],this['_requireRevisionName']);this['revisionViews']['add'](_0x3268ac);}['removeRevision'](_0x30ff47){const _0x120e46=this['revisionViews']['find'](_0x24bbaa=>_0x24bbaa['id']===_0x30ff47['id']);this['revisionViews']['remove'](_0x120e46);}}class as extends _0x389b94{constructor(_0x2d3a2a){super(_0x2d3a2a);const _0x23b404=new _0x4ed7cb();_0x23b404['content']=_0x20e030['history'],this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all','ck-revision-history-sidebar__header']},'children':[_0x23b404,{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__header__label']},'children':[y(_0x2d3a2a,'Revision\x20history')]}]});}}class li extends _0x389b94{['timePeriodViews'];['_revisions'];['_revisionActions'];['_requireRevisionName'];constructor(_0x5ccc07,_0x5a825f,_0x2c19ee,_0x171835){super(_0x5ccc07);const _0x3a3ae0=this['bindTemplate'];this['timePeriodViews']=this['createCollection'](),this['timePeriodViews']['delegate']('select')['to'](this),this['timePeriodViews']['delegate']('setName')['to'](this),this['_revisions']=_0x5a825f,this['_revisionActions']=_0x2c19ee,this['_requireRevisionName']=_0x171835,this['on']('select',(_0x54b323,_0x2e5b5b)=>{this['fire']('revisionSelected',_0x2e5b5b);}),this['on']('setName',(_0x24a7d4,_0x20b998)=>{this['fire']('revisionSetName',_0x20b998);}),this['set']('isEnabled',!0x1),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-rounded-corners','ck-revision-history-sidebar']},'children':[new as(_0x5ccc07),{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__timeline',_0x3a3ae0['if']('isEnabled','ck-disabled',_0x255ec6=>!_0x255ec6)]},'children':this['timePeriodViews']}]});}['render'](){super['render']();for(const _0x4e1eb2 of this['_revisions'])this['_addRevision'](_0x4e1eb2);this['_revisions']['on']('add',(_0x1cba9c,_0x585dfc)=>{this['_addRevision'](_0x585dfc);}),this['_revisions']['on']('remove',(_0x279fce,_0x587625)=>{this['_removeRevision'](_0x587625);});}get['revisionViews'](){return this['timePeriodViews']['map'](_0x469376=>_0x469376['revisionViews']['map'](_0xf5fc49=>_0xf5fc49))['flat']();}['selectRevision'](_0x337731){for(const _0x20039b of this['revisionViews'])_0x337731&&_0x337731['id']===_0x20039b['id']?_0x20039b['select']():_0x20039b['deselect']();}['highlightRevisions'](_0x1d5d06){for(const _0x1f6d45 of this['revisionViews'])_0x1d5d06['some'](({id:_0x1d4a1a})=>_0x1d4a1a===_0x1f6d45['id'])?_0x1f6d45['highlight']():_0x1f6d45['unhighlight']();}['_addRevision'](_0x6237fe){const _0x48956a=mi(_0x6237fe['createdAt'],this['locale']['uiLanguage'])['startDate'];let _0x40516b=this['timePeriodViews']['get'](0x0);_0x40516b&&_0x40516b['startDate']['getTime']()===_0x48956a['getTime']()||(_0x40516b=new vi(this['locale'],_0x48956a,this['_revisionActions'],this['_requireRevisionName']),this['timePeriodViews']['add'](_0x40516b)),_0x40516b['addRevision'](_0x6237fe);}['_removeRevision'](_0x451827){const _0x4fd3d5=mi(_0x451827['createdAt'],this['locale']['uiLanguage'])['startDate'];this['_getTimePeriodViewByStartDate'](_0x4fd3d5)['removeRevision'](_0x451827);}['_getTimePeriodViewByStartDate'](_0x3dc9b7){return this['timePeriodViews']['find'](_0xc37bcd=>_0xc37bcd['startDate']['getTime']()===_0x3dc9b7['getTime']());}}class w extends _0x14d499{['_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(_0x59692b){super(_0x59692b),this['_revisionViewer']=_0x59692b['plugins']['get'](d),this['_revisionsRepository']=this['_revisionViewer']['repository'],this['_sidebarView']=null;}['init'](){const _0x138848=this['_revisionsRepository']['_revisions'],_0x2bcec2=this['_createRevisionActions'](),_0x271aae=this['editor']['config']['get']('revisionHistory.viewerSidebarContainer');this['_sidebarView']=new ci(this['editor']['locale'],_0x138848,_0x2bcec2,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',(_0x54b9ad,_0x2fa619)=>{_0x2fa619['revisionViews']['on']('add',(_0x3bd619,_0x1653f2)=>{_0x1653f2['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)),_0x271aae['appendChild'](this['_sidebarView']['element']);}['destroy'](){this['_sidebarView']['element']['remove'](),this['_sidebarView']['destroy']();}['_handleEditorDataReady'](){const _0x2fcd61=this['_revisionsRepository']['getRevision'](0x0);if(_0x2fcd61){const _0x5a73e1=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x2fcd61['id']);this['_revisionViewer']['compare'](_0x2fcd61,_0x5a73e1);}}['_handleRevisionSelected'](_0x2eea5c,_0x33decc){const _0x2dad32=this['_revisionsRepository']['getRevision'](_0x33decc['id']),_0x51ae8d=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x2dad32['id']);this['_revisionViewer']['compare'](_0x2dad32,_0x51ae8d);}['_handleRevisionSetName'](_0x4183c,_0x18db1d){this['_revisionsRepository']['getRevision'](_0x18db1d['id'])['setName'](_0x18db1d['name']);}['_handleDiffChange'](_0x457151,_0x2eb673,_0x15213d){const _0xb62128=this['_revisionsRepository']['getRevisionsInDiff'](_0x15213d);_0xb62128['length']>0x2?(this['_sidebarView']['highlightRevisions'](_0xb62128),this['_sidebarView']['selectRevision'](null)):(this['_sidebarView']['highlightRevisions']([]),this['_sidebarView']['selectRevision'](_0xb62128[0x0]));}['_createRevisionActions'](){const _0x2cf35c=this['editor'],_0x5d8992=w['availableRevisionActions'],_0x3e03b7=_0x2cf35c['config']['get']('revisionHistory.revisionActions')||w['defaultRevisionActions'];if(_0x3e03b7['length'])return _0x3e03b7['map'](_0x12588b=>{const _0x32218e='string'==typeof _0x12588b?Object['assign']({},_0x5d8992[_0x12588b]):_0x12588b;return _0x32218e['action']=_0x32218e['action']['bind'](this,_0x2cf35c),_0x32218e['isVisible']&&(_0x32218e['isVisible']=_0x32218e['isVisible']['bind'](this,_0x2cf35c)),_0x32218e;});}}function Rt(){return{'compareAgainstSelected':{'name':'Compare\x20against\x20selected','action':({plugins:_0x1cccb6},_0x5c40eb)=>{const _0x19161e=_0x1cccb6['get'](d),_0x10bc27=_0x19161e['repository'];let _0x1c5068=_0x19161e['diff']['newRevisionId'],_0x406df6=_0x5c40eb['id'];_0x10bc27['getIndex'](_0x1c5068)>_0x10bc27['getIndex'](_0x406df6)&&([_0x1c5068,_0x406df6]=[_0x406df6,_0x1c5068]),_0x19161e['compare'](_0x1c5068,_0x406df6);},'isVisible':({plugins:_0x34f861},_0x26ec5a)=>{const _0x5a9cff=_0x34f861['get'](d);return!(_0x5a9cff['repository']['getRevisionsInDiff'](_0x5a9cff['diff'])['length']>0x2)&&!_0x26ec5a['isSelected'];}},'restoreRevision':{'name':'Restore\x20this\x20revision','action':(_0x1c79a0,{id:_0x4e7db0})=>{_0x1c79a0['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x4e7db0);},'isVisible':({plugins:_0xc2692b},_0x32cea1)=>!!_0xc2692b['get'](d)['repository']['getLaterVisibleRevision'](_0x32cea1['id'])},'nameRevision':{'name':'Name\x20this\x20revision','action':({plugins:_0x1aa458},{id:_0x423621,revisionNameView:_0x3df1ca})=>{const _0x134955=_0x1aa458['get'](d),_0x2a5c26=_0x134955['repository']['getEarlierVisibleRevision'](_0x423621);_0x134955['compare'](_0x423621,_0x2a5c26),_0x3df1ca['focus'](),_0x3df1ca['fieldView']['select']();}}};}class st extends ht{['_view'];['_toolbarConfig'];['_elementReplacer'];get['view'](){return this['_view'];}constructor(_0x20d7c2,_0x4eeb03){super(_0x20d7c2),this['_view']=_0x4eeb03,this['_toolbarConfig']=ct(_0x20d7c2['config']['get']('toolbar')),this['_elementReplacer']=new nt();}get['element'](){return this['view']['element'];}['init'](_0x83ef31){const _0x45116b=this['editor'],_0x461efd=this['view'],_0x5625f7=_0x45116b['editing']['view'],_0x1a9202=_0x461efd['editable'],_0x28be91=_0x5625f7['document']['getRoot']();_0x1a9202['name']=_0x28be91['rootName'],_0x461efd['render']();const _0x9eb6b=_0x1a9202['element'];this['setEditableElement'](_0x1a9202['name'],_0x9eb6b),_0x461efd['editable']['bind']('isFocused')['to'](this['focusTracker']),_0x5625f7['attachDomRoot'](_0x9eb6b),this['_elementReplacer']['replace'](_0x83ef31,this['element']),this['_initToolbar'](),this['fire']('ready');}['destroy'](){super['destroy']();const _0x97bac0=this['view'],_0x7eb652=this['editor']['editing']['view'];this['_elementReplacer']['restore'](),_0x7eb652['detachDomRoot'](_0x97bac0['editable']['name']),_0x97bac0['destroy']();}['_initToolbar'](){const _0x3ec38d=this['view'];_0x3ec38d['stickyPanel']['bind']('isActive')['to'](this['focusTracker'],'isFocused'),_0x3ec38d['stickyPanel']['limiterElement']=_0x3ec38d['element'],_0x3ec38d['stickyPanel']['bind']('viewportTopOffset')['to'](this,'viewportOffset',({top:_0x1d886a})=>_0x1d886a),_0x3ec38d['toolbar']['fillFromConfig'](this['_toolbarConfig'],this['componentFactory']),this['addToolbar'](_0x3ec38d['toolbar']);}}class ot extends dt{['_editable'];['stickyPanel'];['toolbar'];get['editable'](){return this['_editable'];}constructor(_0x408ca7,_0x1101e1,_0x2d5f1f={}){super(_0x408ca7),this['stickyPanel']=new lt(_0x408ca7),this['toolbar']=new pt(_0x408ca7,{'shouldGroupWhenFull':_0x2d5f1f['shouldToolbarGroupWhenFull']}),this['_editable']=new ut(_0x408ca7,_0x1101e1);}['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(_0x36d12e,_0x265015){super(_0x265015),this['sourceElement']=_0x36d12e,this['model']['document']['createRoot']();const _0x39183e=new ot(this['locale'],this['editing']['view'],{'shouldToolbarGroupWhenFull':!0x0});this['_ui']=new st(this,_0x39183e);}['destroy'](){return this['updateSourceElement'](),this['ui']['destroy'](),super['destroy']();}static async['create'](_0x322334,_0x2240b9){const _0x1a4fe8=new this(_0x322334,_0x2240b9);return await _0x1a4fe8['initPlugins'](),await _0x1a4fe8['ui']['init'](_0x322334),await _0x1a4fe8['data']['init'](_0x1a4fe8['config']['get']('initialData')||''),_0x1a4fe8['fire']('ready'),_0x1a4fe8;}}const p=['RevisionHistoryUI','RestrictedEditingMode'];class k extends _0x26b929{['result'];static get['pluginName'](){return'RevisionViewerIntegration';}constructor(_0x422f81){super(_0x422f81),this['result']='end';}}class H extends _0x26b929{['_viewerEditor'];static get['pluginName'](){return'RevisionHistory';}static get['requires'](){return[l,u];}constructor(_0x30f757){if(super(_0x30f757),!this['editor']['config']['get']('revisionHistory'))throw new _0x5a2e2c('revision-history-missing-configuration',this);this['_viewerEditor']=null,this['editor']['config']['define']('revisionHistory.showRevisionViewerCallback',_0x14cd13=>this['_showRevisionViewer']({..._0x14cd13,'translations':this['editor']['locale']['translations']})),this['editor']['config']['define']('revisionHistory.closeRevisionViewerCallback',_0x1223a7=>this['_closeRevisionViewer'](_0x1223a7)),this['editor']['config']['define']('revisionHistory.restoreRevisionCallback',_0x16c454=>this['_restoreRevision'](_0x16c454)),this['editor']['config']['define']('revisionHistory.requireRevisionName',!0x1),this['_enhanceShowRevisionViewerCallback'](),this['_enhanceCloseRevisionViewerCallback']();}set['adapter'](_0x3d824c){this['editor']['plugins']['get']('RevisionTracker')['adapter']=_0x3d824c;}get['adapter'](){return this['editor']['plugins']['get']('RevisionTracker')['adapter'];}['addRevisionData'](_0x1e93f1){return this['editor']['plugins']['get']('RevisionTracker')['addRevisionData'](_0x1e93f1);}['getRevision'](_0x4631d0){return this['editor']['plugins']['get']('RevisionsRepository')['getRevision'](_0x4631d0);}['getRevisions'](_0xf6a3){return this['editor']['plugins']['get']('RevisionsRepository')['getRevisions'](_0xf6a3||{'toJSON':!0x1});}['_getRevisionViewerEditorConfig'](){const _0xf90a40=this['editor'],_0x3d980d=_0x207ed5(_0xf90a40,p),_0x3979af=_0xf90a40['plugins']['get']('RevisionTracker'),_0x27f74d=_0xf90a40['plugins']['get']('Users')['users'];return _0x3d980d['toolbar']=['exitToEditing','restoreRevision','changesNavigation'],delete _0x3d980d['lazyRoots'],(_0x3d980d['plugins']['push'](k,d,R,class extends _0x26b929{static get['requires'](){return[d,'Users'];}['init'](){const _0x217f0a=this['editor']['plugins']['get']('Users');for(const _0x16954f of _0x27f74d)_0x16954f['isAnonymous']||_0x217f0a['getUser'](_0x16954f['id'])||_0x217f0a['addUser'](_0x16954f);const _0x31342c=_0x3979af['repository']['getRevisions']();let _0x572fa7=null;const _0x856c6c=this['editor']['plugins']['get']('RevisionViewer');_0x856c6c['adapter']=_0x3979af['adapter'],_0x856c6c['bind']('isEnabled')['to'](_0x3979af),this['editor']['commands']['get']('restoreRevision')['bind']('isEnabled')['to'](_0xf90a40,'isReadOnly',_0x46436f=>!_0x46436f);for(const _0x51f345 of _0x31342c){const _0x308680=null===_0x51f345['creator'];if(_0x308680&&_0x51f345['toVersion']===_0x51f345['fromVersion'])continue;const _0xd10491=_0x51f345['toJSON']();_0x856c6c['addRevisionData'](_0xd10491,(_0x1658bf,_0x4ef2ba,_0x5078a1)=>{if(_0x308680){if(_0x572fa7)_0x572fa7['_update'](_0x1658bf,_0x4ef2ba);else{if(!_0x4ef2ba){const _0x995f2c=_0x5078a1['toJSON']();_0x995f2c['id']=_0x19b58f(),_0x3979af['saveRevision'](_0x995f2c,_0x5078a1['toVersion'])['then'](_0x176aba=>{_0x572fa7=_0x176aba;});}}}else _0x51f345['_update'](_0x1658bf,_0x4ef2ba);});}}},w),_0x3d980d);}['_enhanceShowRevisionViewerCallback'](){const _0x3b37c2=this['editor']['config']['get']('revisionHistory')['showRevisionViewerCallback'];this['editor']['config']['set']('revisionHistory.showRevisionViewerCallback',async()=>{this['editor']['enableReadOnlyMode']('revision-history-viewer-opened');const _0x2c6cfe=this['editor']['plugins']['get']('RevisionTracker');if(this['editor']['plugins']['has']('Autosave')){const _0x1d01c6=this['editor']['plugins']['get']('Autosave');await _0x1d01c6['save']();}else await _0x2c6cfe['update']();if(this['editor']['plugins']['has']('PaginationLookup')&&this['editor']['plugins']['get']('PaginationLookup')['_recalculatePageBreaks'](),this['editor']['plugins']['has']('Dialog')){const _0x15bba3=this['editor']['plugins']['get']('Dialog');_0x15bba3['isOpen']&&_0x15bba3['hide']();}const _0x426c09=this['_getRevisionViewerEditorConfig']();return _0x3b37c2(_0x426c09)['then'](_0x226be8=>{return(this['_viewerEditor']=_0x226be8,this['editor']['plugins']['has']('Annotations'))&&this['editor']['plugins']['get']('Annotations')['refreshVisibility'](),_0x226be8;})['catch'](_0xec5091=>(console['error'](_0xec5091),this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),null));});}['_enhanceCloseRevisionViewerCallback'](){const _0x2d156c=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'](),_0x2d156c(this['_viewerEditor'])['then'](()=>{if(this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),this['_viewerEditor']=null,this['editor']['plugins']['has']('Annotations')){const _0x540ef4=this['editor']['plugins']['get']('Annotations');_0x540ef4['refreshVisibility'](),_0x540ef4['refreshPositioning']();}})));}['_showRevisionViewer'](_0x5acc89){const _0x29f87d=this['editor']['config']['get']('revisionHistory.editorContainer'),_0x51f062=this['editor']['config']['get']('revisionHistory.viewerContainer'),_0x4ec575=this['editor']['config']['get']('revisionHistory.viewerEditorElement');return m['create'](_0x4ec575,_0x5acc89)['then'](_0x2123fa=>(_0x51f062['style']['display']='block',_0x29f87d['style']['display']='none',_0x2123fa));}['_closeRevisionViewer'](_0x2bc2b8){const _0xeae52=this['editor']['config']['get']('revisionHistory.editorContainer');return this['editor']['config']['get']('revisionHistory.viewerContainer')['style']['display']='none',_0xeae52['style']['display']='',_0x2bc2b8['destroy']();}async['_restoreRevision'](_0xe24c37){const _0x5eee6d=this['editor'],_0x284bca=this['_viewerEditor']['plugins']['get']('RevisionViewer'),_0x291b3c=_0x5eee6d['plugins']['get']('RevisionTracker'),_0x1c9082=_0x284bca['repository']['getRevision'](_0xe24c37);let _0x39d543,_0x15f0b8,_0x4580aa;try{_0x39d543=await _0x284bca['getRevisionData'](_0x1c9082),_0x15f0b8=await _0x284bca['getRevisionRootsAttributes'](_0x1c9082);}catch(_0x2e2278){return void console['error'](_0x2e2278);}_0x5eee6d['model']['change'](_0x49721f=>{for(const _0x11f0a2 of Array['from'](_0x5eee6d['model']['markers']['getMarkersGroup']('restrictedEditingException')))_0x49721f['removeMarker'](_0x11f0a2);}),_0x284bca['isReady']=!0x1,_0x5eee6d['model']['enqueueChange'](_0x804385=>{_0x804385['setSelection'](null),_0x804385['removeSelectionAttribute'](_0x5eee6d['model']['document']['selection']['getAttributeKeys']());const _0x3545ee=Object['keys'](_0x39d543);for(const _0x37e4d1 of _0x5eee6d['model']['document']['roots'])'$graveyard'!=_0x37e4d1['rootName']&&_0x37e4d1['isAttached']()&&!_0x3545ee['includes'](_0x37e4d1['rootName'])&&_0x804385['detachRoot'](_0x37e4d1);for(const _0x196583 of _0x3545ee){let _0xffa209=_0x5eee6d['model']['document']['getRoot'](_0x196583);_0xffa209&&_0xffa209['isAttached']()||(_0xffa209=_0x804385['addRoot'](_0x196583));const _0x2b7397=_0x15f0b8[_0x196583],_0x1e0d8c=Object['keys'](_0x2b7397),_0x320057=_0x39d543[_0x196583];for(const _0x4889ae of _0xffa209['getAttributeKeys']())_0x1e0d8c['includes'](_0x4889ae)||_0x804385['removeAttribute'](_0x4889ae,_0xffa209);for(const _0x3dbe32 of _0x1e0d8c)_0x804385['setAttribute'](_0x3dbe32,_0x15f0b8[_0x196583][_0x3dbe32],_0xffa209);_0x804385['remove'](_0x804385['createRangeIn'](_0xffa209)),_0x804385['insert'](_0x5eee6d['data']['parse'](_0x320057,_0xffa209),_0xffa209,0x0);}});const _0x1a7066=y(_0x5eee6d['locale'],'Restored');if(_0x1c9082['name'])_0x4580aa=-0x1==_0x1c9082['name']['indexOf'](_0x1a7066)?_0x1a7066+':\x20'+_0x1c9082['name']:_0x1c9082['name'];else _0x4580aa=_0x1a7066+':\x20'+(_0x1c9082['createdAt']['toLocaleDateString'](_0x5eee6d['locale']['uiLanguage'],{'month':'long','day':'numeric'})+',\x20'+_0x1c9082['createdAt']['toLocaleTimeString'](_0x5eee6d['locale']['uiLanguage'],{'hour':'numeric','minute':'numeric'}));return await _0x291b3c['saveRevision']({'name':_0x4580aa}),_0x284bca['isReady']=!0x0,_0x5eee6d['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};
28
+ Rt();static get['pluginName'](){return'RevisionsSidebar';}static get['requires'](){return[d];}constructor(_0x454f96){super(_0x454f96),this['_revisionViewer']=_0x454f96['plugins']['get'](d),this['_revisionsRepository']=this['_revisionViewer']['repository'],this['_sidebarView']=null;}['init'](){const _0x30747f=this['_revisionsRepository']['_revisions'],_0x417316=this['_createRevisionActions'](),_0x516126=this['editor']['config']['get']('revisionHistory.viewerSidebarContainer');this['_sidebarView']=new li(this['editor']['locale'],_0x30747f,_0x417316,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',(_0x1446db,_0xefc938)=>{_0xefc938['revisionViews']['on']('add',(_0x5c4a9d,_0x1e6419)=>{_0x1e6419['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)),_0x516126['appendChild'](this['_sidebarView']['element']);}['destroy'](){this['_sidebarView']['element']['remove'](),this['_sidebarView']['destroy']();}['_handleEditorDataReady'](){const _0x4e80a7=this['_revisionsRepository']['getRevision'](0x0);if(_0x4e80a7){const _0x50ff04=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x4e80a7['id']);this['_revisionViewer']['compare'](_0x4e80a7,_0x50ff04);}}['_handleRevisionSelected'](_0x508e40,_0x2f4433){const _0x30e4ae=this['_revisionsRepository']['getRevision'](_0x2f4433['id']),_0x1ebbf9=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x30e4ae['id']);this['_revisionViewer']['compare'](_0x30e4ae,_0x1ebbf9);}['_handleRevisionSetName'](_0x519db6,_0x46f891){this['_revisionsRepository']['getRevision'](_0x46f891['id'])['setName'](_0x46f891['name']);}['_handleDiffChange'](_0x29d992,_0x155222,_0x25534e){const _0x5d3ea3=this['_revisionsRepository']['getRevisionsInDiff'](_0x25534e);_0x5d3ea3['length']>0x2?(this['_sidebarView']['highlightRevisions'](_0x5d3ea3),this['_sidebarView']['selectRevision'](null)):(this['_sidebarView']['highlightRevisions']([]),this['_sidebarView']['selectRevision'](_0x5d3ea3[0x0]));}['_createRevisionActions'](){const _0x18253f=this['editor'],_0x4d1806=w['availableRevisionActions'],_0x4534d8=_0x18253f['config']['get']('revisionHistory.revisionActions')||w['defaultRevisionActions'];if(_0x4534d8['length'])return _0x4534d8['map'](_0x2e9826=>{const _0x270c1a='string'==typeof _0x2e9826?Object['assign']({},_0x4d1806[_0x2e9826]):_0x2e9826;return _0x270c1a['action']=_0x270c1a['action']['bind'](this,_0x18253f),_0x270c1a['isVisible']&&(_0x270c1a['isVisible']=_0x270c1a['isVisible']['bind'](this,_0x18253f)),_0x270c1a;});}}function Rt(){return{'compareAgainstSelected':{'name':'Compare\x20against\x20selected','action':({plugins:_0x26fa66},_0x4fe75e)=>{const _0x2545f4=_0x26fa66['get'](d),_0x40161b=_0x2545f4['repository'];let _0x51e2a4=_0x2545f4['diff']['newRevisionId'],_0x3c78ee=_0x4fe75e['id'];_0x40161b['getIndex'](_0x51e2a4)>_0x40161b['getIndex'](_0x3c78ee)&&([_0x51e2a4,_0x3c78ee]=[_0x3c78ee,_0x51e2a4]),_0x2545f4['compare'](_0x51e2a4,_0x3c78ee);},'isVisible':({plugins:_0x2881d3},_0x5966e7)=>{const _0x475591=_0x2881d3['get'](d);return!(_0x475591['repository']['getRevisionsInDiff'](_0x475591['diff'])['length']>0x2)&&!_0x5966e7['isSelected'];}},'restoreRevision':{'name':'Restore\x20this\x20revision','action':(_0x59ad54,{id:_0x2dee0f})=>{_0x59ad54['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x2dee0f);},'isVisible':({plugins:_0x529ae4},_0x4d63e0)=>!!_0x529ae4['get'](d)['repository']['getLaterVisibleRevision'](_0x4d63e0['id'])},'nameRevision':{'name':'Name\x20this\x20revision','action':({plugins:_0x3e26af},{id:_0x422893,revisionNameView:_0x1c265e})=>{const _0x224907=_0x3e26af['get'](d),_0x251b04=_0x224907['repository']['getEarlierVisibleRevision'](_0x422893);_0x224907['compare'](_0x422893,_0x251b04),_0x1c265e['focus'](),_0x1c265e['fieldView']['select']();}}};}class st extends ht{['_view'];['_toolbarConfig'];['_elementReplacer'];get['view'](){return this['_view'];}constructor(_0x1ae282,_0x2154be){super(_0x1ae282),this['_view']=_0x2154be,this['_toolbarConfig']=ct(_0x1ae282['config']['get']('toolbar')),this['_elementReplacer']=new nt();}get['element'](){return this['view']['element'];}['init'](_0xa41e1e){const _0x5494dd=this['editor'],_0x2d0537=this['view'],_0x598bd2=_0x5494dd['editing']['view'],_0x310794=_0x2d0537['editable'],_0x2a3cf4=_0x598bd2['document']['getRoot']();_0x310794['name']=_0x2a3cf4['rootName'],_0x2d0537['render']();const _0x421eec=_0x310794['element'];this['setEditableElement'](_0x310794['name'],_0x421eec),_0x2d0537['editable']['bind']('isFocused')['to'](this['focusTracker']),_0x598bd2['attachDomRoot'](_0x421eec),this['_elementReplacer']['replace'](_0xa41e1e,this['element']),this['_initToolbar'](),this['fire']('ready');}['destroy'](){super['destroy']();const _0x40a0c2=this['view'],_0x2b7c59=this['editor']['editing']['view'];this['_elementReplacer']['restore'](),_0x2b7c59['detachDomRoot'](_0x40a0c2['editable']['name']),_0x40a0c2['destroy']();}['_initToolbar'](){const _0x2e95b6=this['view'];_0x2e95b6['stickyPanel']['bind']('isActive')['to'](this['focusTracker'],'isFocused'),_0x2e95b6['stickyPanel']['limiterElement']=_0x2e95b6['element'],_0x2e95b6['stickyPanel']['bind']('viewportTopOffset')['to'](this,'viewportOffset',({top:_0x3d54f9})=>_0x3d54f9),_0x2e95b6['toolbar']['fillFromConfig'](this['_toolbarConfig'],this['componentFactory']),this['addToolbar'](_0x2e95b6['toolbar']);}}class ot extends dt{['_editable'];['stickyPanel'];['toolbar'];get['editable'](){return this['_editable'];}constructor(_0x4ebd37,_0x5b0e90,_0x22f394={}){super(_0x4ebd37),this['stickyPanel']=new lt(_0x4ebd37),this['toolbar']=new pt(_0x4ebd37,{'shouldGroupWhenFull':_0x22f394['shouldToolbarGroupWhenFull']}),this['_editable']=new ut(_0x4ebd37,_0x5b0e90);}['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(_0x5f2b13,_0x17457e){super(_0x17457e),this['sourceElement']=_0x5f2b13,this['model']['document']['createRoot']();const _0x3473f5=new ot(this['locale'],this['editing']['view'],{'shouldToolbarGroupWhenFull':!0x0});this['_ui']=new st(this,_0x3473f5);}['destroy'](){return this['updateSourceElement'](),this['ui']['destroy'](),super['destroy']();}static async['create'](_0x2331d0,_0x327d69){const _0x4e4d1f=new this(_0x2331d0,_0x327d69);return await _0x4e4d1f['initPlugins'](),await _0x4e4d1f['ui']['init'](_0x2331d0),await _0x4e4d1f['data']['init'](_0x4e4d1f['config']['get']('initialData')||''),_0x4e4d1f['fire']('ready'),_0x4e4d1f;}}const p=['RevisionHistoryUI','RestrictedEditingMode'];class k extends _0x14d499{['result'];static get['pluginName'](){return'RevisionViewerIntegration';}constructor(_0x1a3326){super(_0x1a3326),this['result']='end';}}class H extends _0x14d499{['_viewerEditor'];static get['pluginName'](){return'RevisionHistory';}static get['requires'](){return[l,u];}constructor(_0x5ce412){if(super(_0x5ce412),!this['editor']['config']['get']('revisionHistory'))throw new _0x193bc4('revision-history-missing-configuration',this);this['_viewerEditor']=null,this['editor']['config']['define']('revisionHistory.showRevisionViewerCallback',_0x356cdb=>this['_showRevisionViewer']({..._0x356cdb,'translations':this['editor']['locale']['translations']})),this['editor']['config']['define']('revisionHistory.closeRevisionViewerCallback',_0x3a4849=>this['_closeRevisionViewer'](_0x3a4849)),this['editor']['config']['define']('revisionHistory.restoreRevisionCallback',_0x5fd247=>this['_restoreRevision'](_0x5fd247)),this['editor']['config']['define']('revisionHistory.requireRevisionName',!0x1),this['_enhanceShowRevisionViewerCallback'](),this['_enhanceCloseRevisionViewerCallback']();}set['adapter'](_0x2c5038){this['editor']['plugins']['get']('RevisionTracker')['adapter']=_0x2c5038;}get['adapter'](){return this['editor']['plugins']['get']('RevisionTracker')['adapter'];}['addRevisionData'](_0x1f5cc2){return this['editor']['plugins']['get']('RevisionTracker')['addRevisionData'](_0x1f5cc2);}['getRevision'](_0xfacaa9){return this['editor']['plugins']['get']('RevisionsRepository')['getRevision'](_0xfacaa9);}['getRevisions'](_0x430f8e){return this['editor']['plugins']['get']('RevisionsRepository')['getRevisions'](_0x430f8e||{'toJSON':!0x1});}['_getRevisionViewerEditorConfig'](){const _0x20618f=this['editor'],_0x21a5de=_0x211f4e(_0x20618f,p),_0x281ffd=_0x20618f['plugins']['get']('RevisionTracker'),_0x294e35=_0x20618f['plugins']['get']('Users')['users'];return _0x21a5de['toolbar']=['exitToEditing','restoreRevision','changesNavigation'],delete _0x21a5de['lazyRoots'],(_0x21a5de['plugins']['push'](k,d,R,class extends _0x14d499{static get['requires'](){return[d,'Users'];}['init'](){const _0x53fb2e=this['editor']['plugins']['get']('Users');for(const _0x4c5e94 of _0x294e35)_0x4c5e94['isAnonymous']||_0x53fb2e['getUser'](_0x4c5e94['id'])||_0x53fb2e['addUser'](_0x4c5e94);const _0x180bda=_0x281ffd['repository']['getRevisions']();let _0x50e9d1=null;const _0x13c042=this['editor']['plugins']['get']('RevisionViewer');_0x13c042['adapter']=_0x281ffd['adapter'],_0x13c042['bind']('isEnabled')['to'](_0x281ffd),this['editor']['commands']['get']('restoreRevision')['bind']('isEnabled')['to'](_0x20618f,'isReadOnly',_0x305681=>!_0x305681);for(const _0x20b132 of _0x180bda){const _0x39ba56=null===_0x20b132['creator'];if(_0x39ba56&&_0x20b132['toVersion']===_0x20b132['fromVersion'])continue;const _0x1d30a7=_0x20b132['toJSON']();_0x13c042['addRevisionData'](_0x1d30a7,(_0x579711,_0x1511f8,_0x51dff1)=>{if(_0x39ba56){if(_0x50e9d1)_0x50e9d1['_update'](_0x579711,_0x1511f8);else{if(!_0x1511f8){const _0x1923f8=_0x51dff1['toJSON']();_0x1923f8['id']=_0x43218d(),_0x281ffd['saveRevision'](_0x1923f8,_0x51dff1['toVersion'])['then'](_0x326591=>{_0x50e9d1=_0x326591;});}}}else _0x20b132['_update'](_0x579711,_0x1511f8);});}}},w),_0x21a5de);}['_enhanceShowRevisionViewerCallback'](){const _0x1de02f=this['editor']['config']['get']('revisionHistory')['showRevisionViewerCallback'];this['editor']['config']['set']('revisionHistory.showRevisionViewerCallback',async()=>{this['editor']['enableReadOnlyMode']('revision-history-viewer-opened');const _0x5bf245=this['editor']['plugins']['get']('RevisionTracker');if(this['editor']['plugins']['has']('Autosave')){const _0x1b1b09=this['editor']['plugins']['get']('Autosave');await _0x1b1b09['save']();}else await _0x5bf245['update']();if(this['editor']['plugins']['has']('PaginationLookup')&&this['editor']['plugins']['get']('PaginationLookup')['_recalculatePageBreaks'](),this['editor']['plugins']['has']('Dialog')){const _0x44a817=this['editor']['plugins']['get']('Dialog');_0x44a817['isOpen']&&_0x44a817['hide']();}const _0x448f63=this['_getRevisionViewerEditorConfig']();return _0x1de02f(_0x448f63)['then'](_0x2e7f88=>{return(this['_viewerEditor']=_0x2e7f88,this['editor']['plugins']['has']('Annotations'))&&this['editor']['plugins']['get']('Annotations')['refreshVisibility'](),_0x2e7f88;})['catch'](_0x5144ad=>(console['error'](_0x5144ad),this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),null));});}['_enhanceCloseRevisionViewerCallback'](){const _0x1e6edf=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'](),_0x1e6edf(this['_viewerEditor'])['then'](()=>{if(this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),this['_viewerEditor']=null,this['editor']['plugins']['has']('Annotations')){const _0x25b71f=this['editor']['plugins']['get']('Annotations');_0x25b71f['refreshVisibility'](),_0x25b71f['refreshPositioning']();}})));}['_showRevisionViewer'](_0x23d1f3){const _0x909ab1=this['editor']['config']['get']('revisionHistory.editorContainer'),_0x3c2238=this['editor']['config']['get']('revisionHistory.viewerContainer'),_0x3da3f4=this['editor']['config']['get']('revisionHistory.viewerEditorElement');return m['create'](_0x3da3f4,_0x23d1f3)['then'](_0x4f306f=>(_0x3c2238['style']['display']='block',_0x909ab1['style']['display']='none',_0x4f306f));}['_closeRevisionViewer'](_0x4e7bd1){const _0xf8ad98=this['editor']['config']['get']('revisionHistory.editorContainer');return this['editor']['config']['get']('revisionHistory.viewerContainer')['style']['display']='none',_0xf8ad98['style']['display']='',_0x4e7bd1['destroy']();}async['_restoreRevision'](_0x4b9535){const _0x2e3a91=this['editor'],_0x268f7b=this['_viewerEditor']['plugins']['get']('RevisionViewer'),_0x427b50=_0x2e3a91['plugins']['get']('RevisionTracker'),_0x48c4d4=_0x268f7b['repository']['getRevision'](_0x4b9535);let _0x26cec4,_0x1c1f90,_0x18f67f;try{_0x26cec4=await _0x268f7b['getRevisionData'](_0x48c4d4),_0x1c1f90=await _0x268f7b['getRevisionRootsAttributes'](_0x48c4d4);}catch(_0x3f54e9){return void console['error'](_0x3f54e9);}_0x2e3a91['model']['change'](_0x578bc4=>{for(const _0x15a46 of Array['from'](_0x2e3a91['model']['markers']['getMarkersGroup']('restrictedEditingException')))_0x578bc4['removeMarker'](_0x15a46);}),_0x268f7b['isReady']=!0x1,_0x2e3a91['model']['enqueueChange'](_0x5443d4=>{_0x5443d4['setSelection'](null),_0x5443d4['removeSelectionAttribute'](_0x2e3a91['model']['document']['selection']['getAttributeKeys']());const _0x12bdb3=Object['keys'](_0x26cec4);for(const _0x4a1da3 of _0x2e3a91['model']['document']['roots'])'$graveyard'!=_0x4a1da3['rootName']&&_0x4a1da3['isAttached']()&&!_0x12bdb3['includes'](_0x4a1da3['rootName'])&&_0x5443d4['detachRoot'](_0x4a1da3);for(const _0x362716 of _0x12bdb3){let _0x5d777c=_0x2e3a91['model']['document']['getRoot'](_0x362716);_0x5d777c&&_0x5d777c['isAttached']()||(_0x5d777c=_0x5443d4['addRoot'](_0x362716));const _0x2977dd=_0x1c1f90[_0x362716],_0x50a00c=Object['keys'](_0x2977dd),_0x58d68c=_0x26cec4[_0x362716];for(const _0x50afd4 of _0x5d777c['getAttributeKeys']())_0x50a00c['includes'](_0x50afd4)||_0x5443d4['removeAttribute'](_0x50afd4,_0x5d777c);for(const _0x3c8b1f of _0x50a00c)_0x5443d4['setAttribute'](_0x3c8b1f,_0x1c1f90[_0x362716][_0x3c8b1f],_0x5d777c);_0x5443d4['remove'](_0x5443d4['createRangeIn'](_0x5d777c)),_0x5443d4['insert'](_0x2e3a91['data']['parse'](_0x58d68c,_0x5d777c),_0x5d777c,0x0);}});const _0x20c6d4=y(_0x2e3a91['locale'],'Restored');if(_0x48c4d4['name'])_0x18f67f=-0x1==_0x48c4d4['name']['indexOf'](_0x20c6d4)?_0x20c6d4+':\x20'+_0x48c4d4['name']:_0x48c4d4['name'];else _0x18f67f=_0x20c6d4+':\x20'+(_0x48c4d4['createdAt']['toLocaleDateString'](_0x2e3a91['locale']['uiLanguage'],{'month':'long','day':'numeric'})+',\x20'+_0x48c4d4['createdAt']['toLocaleTimeString'](_0x2e3a91['locale']['uiLanguage'],{'hour':'numeric','minute':'numeric'}));return await _0x427b50['saveRevision']({'name':_0x18f67f}),_0x268f7b['isReady']=!0x0,_0x2e3a91['config']['get']('revisionHistory')['closeRevisionViewerCallback']();}}export{a as Revision,H as RevisionHistory,u as RevisionHistoryUI,l as RevisionTracker,d as RevisionViewer,ae as RevisionViewerLoadingOverlay,R as RevisionViewerUI,A as RevisionsRepository,w as RevisionsSidebar};