@ckeditor/ckeditor5-revision-history 0.0.0-nightly-20240424.0 → 0.0.0-nightly-20240425.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 (61) hide show
  1. package/build/revision-history.js +1 -1
  2. package/dist/index.js +1 -1
  3. package/dist/translations/af.umd.js +23 -0
  4. package/dist/translations/ar.umd.js +23 -0
  5. package/dist/translations/az.umd.js +23 -0
  6. package/dist/translations/bg.umd.js +23 -0
  7. package/dist/translations/bn.umd.js +23 -0
  8. package/dist/translations/bs.umd.js +23 -0
  9. package/dist/translations/ca.umd.js +23 -0
  10. package/dist/translations/cs.umd.js +23 -0
  11. package/dist/translations/da.umd.js +23 -0
  12. package/dist/translations/de-ch.umd.js +23 -0
  13. package/dist/translations/de.umd.js +23 -0
  14. package/dist/translations/el.umd.js +23 -0
  15. package/dist/translations/en-au.umd.js +23 -0
  16. package/dist/translations/en-gb.umd.js +23 -0
  17. package/dist/translations/en.umd.js +23 -0
  18. package/dist/translations/es-co.umd.js +23 -0
  19. package/dist/translations/es.umd.js +23 -0
  20. package/dist/translations/et.umd.js +23 -0
  21. package/dist/translations/fa.umd.js +23 -0
  22. package/dist/translations/fi.umd.js +23 -0
  23. package/dist/translations/fr.umd.js +23 -0
  24. package/dist/translations/gl.umd.js +23 -0
  25. package/dist/translations/he.umd.js +23 -0
  26. package/dist/translations/hi.umd.js +23 -0
  27. package/dist/translations/hr.umd.js +23 -0
  28. package/dist/translations/hu.umd.js +23 -0
  29. package/dist/translations/id.umd.js +23 -0
  30. package/dist/translations/it.umd.js +23 -0
  31. package/dist/translations/ja.umd.js +23 -0
  32. package/dist/translations/jv.umd.js +23 -0
  33. package/dist/translations/ko.umd.js +23 -0
  34. package/dist/translations/ku.umd.js +23 -0
  35. package/dist/translations/lt.umd.js +23 -0
  36. package/dist/translations/lv.umd.js +23 -0
  37. package/dist/translations/ms.umd.js +23 -0
  38. package/dist/translations/ne.umd.js +23 -0
  39. package/dist/translations/nl.umd.js +23 -0
  40. package/dist/translations/no.umd.js +23 -0
  41. package/dist/translations/pl.umd.js +23 -0
  42. package/dist/translations/pt-br.umd.js +23 -0
  43. package/dist/translations/pt.umd.js +23 -0
  44. package/dist/translations/ro.umd.js +23 -0
  45. package/dist/translations/ru.umd.js +23 -0
  46. package/dist/translations/sk.umd.js +23 -0
  47. package/dist/translations/sr-latn.umd.js +23 -0
  48. package/dist/translations/sr.umd.js +23 -0
  49. package/dist/translations/sv.umd.js +23 -0
  50. package/dist/translations/th.umd.js +23 -0
  51. package/dist/translations/tk.umd.js +23 -0
  52. package/dist/translations/tr.umd.js +23 -0
  53. package/dist/translations/tt.umd.js +23 -0
  54. package/dist/translations/ug.umd.js +23 -0
  55. package/dist/translations/uk.umd.js +23 -0
  56. package/dist/translations/ur.umd.js +23 -0
  57. package/dist/translations/vi.umd.js +23 -0
  58. package/dist/translations/zh-cn.umd.js +23 -0
  59. package/dist/translations/zh.umd.js +23 -0
  60. package/package.json +5 -5
  61. package/src/revisionsrepository.js +1 -1
package/dist/index.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x570a5a,Context as _0x5a1ba5,PendingActions as _0x45f053,icons as _0x528e9f,Command as _0x3bc71e,DataApiMixin as rt,ElementApiMixin as st,Editor as it}from'@ckeditor/ckeditor5-core/dist/index.js';import{ObservableMixin as _0x36ed95,uid as _0x306f0d,Collection as _0x343672,logWarning as _0x281426,FocusTracker as _0x2f39e5,KeystrokeHandler as _0x3884d3,scrollViewportToShowTarget as _0x2ad12f,ResizeObserver as kt,ElementReplacer as nt,CKEditorError as _0x2af7ea}from'@ckeditor/ckeditor5-utils/dist/index.js';import{Users as _0x207ab7,getMarkerDomElement as _0x4f7fee,ConfirmMixin as _0x377d61,sanitizeEditorConfig as _0x44b806}from'ckeditor5-collaboration/dist/index.js';import{ViewDocumentFragment as _0x305ea1,ViewText as _0x1a9fdd,ViewElement as _0x4ce593,Element as ft,Range as gt,Position as wt,DocumentFragment as _t,ViewContainerElement as _0x1caa10,ViewAttributeElement as _0x5052cb,ViewEmptyElement as _0x574a1d,ViewRawElement as _0x5f46c6,ViewUIElement as _0x2d9e1a,Text as yt}from'@ckeditor/ckeditor5-engine/dist/index.js';import{cloneDeep as _0x2de5be,set as _0x2fd349,unset as _0x25545d,isEqual as _0x46d546}from'lodash-es';import{View as _0x31a2e3,submitHandler as _0x1947b8,LabeledFieldView as mt,createLabeledInputText as _0x5d53d4,injectCssTransitionDisabler as ts,createDropdown as _0xdccbe0,ListView as te,ListItemView as _0x366224,ButtonView as _0x4ba64e,MenuBarMenuView as _0x8cfcd6,MenuBarMenuListView as _0xb09468,MenuBarMenuListItemView as _0xaec418,MenuBarMenuListItemButtonView as _0x379846,ContextualBalloon as _0x4d8e6e,ToolbarSeparatorView as _0xa3514d,IconView as _0x1588e4,addListToDropdown as _0x5bff20,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 _0x52adef}from'luxon';class a extends _0x36ed95(){['setName'](_0x2d65cc){this['_update']({'name':_0x2d65cc});}['setAttribute'](_0xb8b19b,_0x40b65b){const _0x23996e=_0x2de5be(this['attributes']);_0x2fd349(_0x23996e,_0xb8b19b,_0x40b65b),this['_update']({'attributes':_0x23996e});}['removeAttribute'](_0x10527b){const _0x1b6e56=_0x2de5be(this['attributes']);_0x25545d(_0x1b6e56,_0x10527b),this['_update']({'attributes':_0x1b6e56});}['_update'](_0x288643,_0x3c2bfc=!0x1){let _0x29400b=!0x1;const _0x1bb6f5={'id':this['id']},_0x444f2a=['name','createdAt','diffData','authors','attributes','toVersion','fromVersion','creatorId'];for(const _0x3d9113 of _0x444f2a){const _0xe3f5fb=_0x288643[_0x3d9113];void 0x0!==_0xe3f5fb&&_0xe3f5fb!==this[_0x3d9113]&&(this[_0x3d9113]=_0xe3f5fb,_0x1bb6f5[_0x3d9113]=_0xe3f5fb,_0x29400b=!0x0);}_0x29400b&&(_0x1bb6f5['authors']&&(_0x1bb6f5['authorsIds']=_0x1bb6f5['authors']['map'](_0x1fdfc7=>_0x1fdfc7['id']),delete _0x1bb6f5['authors']),this['fire']('_update',_0x1bb6f5,_0x3c2bfc));}['toJSON'](){return{'id':this['id'],'name':this['name'],'creatorId':this['creator']?this['creator']['id']:null,'authorsIds':this['authors']['map'](_0x2b39f0=>_0x2b39f0['id']),'diffData':this['diffData'],'createdAt':this['createdAt'],'attributes':this['attributes'],'fromVersion':this['fromVersion'],'toVersion':this['toVersion']};}constructor(_0xe16b73){super(),this['id']=_0xe16b73['id']||_0x306f0d(),this['creator']=_0xe16b73['creator']||null,this['authors']=_0xe16b73['authors']||[],this['diffData']=_0xe16b73['diffData']||null,this['toVersion']=_0xe16b73['toVersion']||0x0,this['fromVersion']=_0xe16b73['fromVersion']||0x0,this['set']('name',_0xe16b73['name']||''),this['set']('createdAt',_0xe16b73['createdAt']||new Date()),this['set']('attributes',_0xe16b73['attributes']||{});}}class A extends _0x570a5a{static get['requires'](){return[_0x207ab7];}static get['pluginName'](){return'RevisionsRepository';}get['length'](){return this['_revisions']['length'];}['afterInit'](){!function(_0x4efb0a){function _0x509f0f(_0x1a0af0,_0x9bfb3,_0x3d4450){const _0x8065d6={};_0x8065d6[_0x1fdcfd([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])]={0x10:0xa,0x18:0xc,0x20:0xe},_0x8065d6[_0x1fdcfd([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],_0x8065d6[_0x1fdcfd([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],_0x8065d6[_0x1fdcfd([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],_0x8065d6[_0x1fdcfd([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],_0x8065d6[_0x1fdcfd([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],_0x8065d6[_0x1fdcfd([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],_0x8065d6[_0x1fdcfd([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],_0x8065d6[_0x1fdcfd([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],_0x8065d6[_0x1fdcfd([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],_0x8065d6[_0x1fdcfd([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 _0x55b24d=new Uint8Array(0x10);for(let _0x5479d1=0xf;_0x5479d1>=0x0;--_0x5479d1)_0x55b24d[_0x5479d1]=_0x3d4450%0x100,_0x3d4450=parseInt(_0x3d4450/0x100);let _0x372c75=null,_0x16fc77=0x10;const _0x3fde18=new Uint8Array(_0x9bfb3),_0x2bad7d=[],_0x2c0c61=[];_0x8cccbb();for(let _0x3ffab9=0x0;_0x3ffab9<_0x1a0af0[_0x1fdcfd([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3ffab9++)0x10===_0x16fc77&&(_0x372c75=_0x41f80c(_0x55b24d),_0x16fc77=0x0,_0x45eef2(_0x55b24d)),_0x1a0af0[_0x3ffab9]^=_0x372c75[_0x16fc77++];return _0x1a0af0;function _0x13f05e(_0x4f464a){const _0x260b77=[];for(let _0x35187f=0x0;_0x35187f<_0x4f464a[_0x1fdcfd([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x35187f+=0x4)_0x260b77[_0x1fdcfd([0x70,0x75,0x73,0x68])](_0x4f464a[_0x35187f]<<0x18|_0x4f464a[_0x35187f+0x1]<<0x10|_0x4f464a[_0x35187f+0x2]<<0x8|_0x4f464a[_0x35187f+0x3]);return _0x260b77;}function _0x45eef2(_0x1fe515){for(let _0x143c9a=0xf;_0x143c9a>=0x0;_0x143c9a--){if(0xff!==_0x1fe515[_0x143c9a]){_0x1fe515[_0x143c9a]++;break;}_0x1fe515[_0x143c9a]=0x0;}}function _0x41f80c(_0x3afd9f){const _0x1ed9c9=_0x2bad7d[_0x1fdcfd([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x1,_0x21ead4=[0x0,0x0,0x0,0x0];let t=_0x13f05e(_0x3afd9f);for(let _0x3554cb=0x0;_0x3554cb<0x4;_0x3554cb++)t[_0x3554cb]^=_0x2bad7d[0x0][_0x3554cb];for(let _0x21921f=0x1;_0x21921f<_0x1ed9c9;_0x21921f++){for(let _0x52b2be=0x0;_0x52b2be<0x4;_0x52b2be++)_0x21ead4[_0x52b2be]=_0x8065d6[_0x1fdcfd([0x54,0x31])][t[_0x52b2be]>>0x18&0xff]^_0x8065d6[_0x1fdcfd([0x54,0x32])][t[(_0x52b2be+0x1)%0x4]>>0x10&0xff]^_0x8065d6[_0x1fdcfd([0x54,0x33])][t[(_0x52b2be+0x2)%0x4]>>0x8&0xff]^_0x8065d6[_0x1fdcfd([0x54,0x34])][0xff&t[(_0x52b2be+0x3)%0x4]]^_0x2bad7d[_0x21921f][_0x52b2be];t=_0x21ead4[_0x1fdcfd([0x73,0x6c,0x69,0x63,0x65])]();}const _0x4dba5b=new Uint8Array(0x10);let _0x535ed5;for(let _0x3f5a71=0x0;_0x3f5a71<0x4;_0x3f5a71++)_0x535ed5=_0x2bad7d[_0x1ed9c9][_0x3f5a71],_0x4dba5b[0x4*_0x3f5a71]=0xff&(_0x8065d6[_0x1fdcfd([0x53])][t[_0x3f5a71]>>0x18&0xff]^_0x535ed5>>0x18),_0x4dba5b[0x4*_0x3f5a71+0x1]=0xff&(_0x8065d6[_0x1fdcfd([0x53])][t[(_0x3f5a71+0x1)%0x4]>>0x10&0xff]^_0x535ed5>>0x10),_0x4dba5b[0x4*_0x3f5a71+0x2]=0xff&(_0x8065d6[_0x1fdcfd([0x53])][t[(_0x3f5a71+0x2)%0x4]>>0x8&0xff]^_0x535ed5>>0x8),_0x4dba5b[0x4*_0x3f5a71+0x3]=0xff&(_0x8065d6[_0x1fdcfd([0x53])][0xff&t[(_0x3f5a71+0x3)%0x4]]^_0x535ed5);return _0x4dba5b;}function _0x8cccbb(){const _0x5ca191=_0x8065d6[_0x1fdcfd([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])][_0x3fde18[_0x1fdcfd([0x6c,0x65,0x6e,0x67,0x74,0x68])]];for(let _0x4c899f=0x0;_0x4c899f<=_0x5ca191;_0x4c899f++)_0x2bad7d[_0x1fdcfd([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]),_0x2c0c61[_0x1fdcfd([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]);const _0x300b0d=0x4*(_0x5ca191+0x1),_0xc3a890=_0x3fde18[_0x1fdcfd([0x6c,0x65,0x6e,0x67,0x74,0x68])]/0x4,_0x2d0b2e=_0x13f05e(_0x3fde18);let _0x315fbb;for(let _0x1beb29=0x0;_0x1beb29<_0xc3a890;_0x1beb29++)_0x315fbb=_0x1beb29>>0x2,_0x2bad7d[_0x315fbb][_0x1beb29%0x4]=_0x2d0b2e[_0x1beb29],_0x2c0c61[_0x5ca191-_0x315fbb][_0x1beb29%0x4]=_0x2d0b2e[_0x1beb29];let _0x331b67,_0x161351=0x0,t=_0xc3a890;for(;t<_0x300b0d;){_0x331b67=_0x2d0b2e[_0xc3a890-0x1],_0x2d0b2e[0x0]^=_0x8065d6[_0x1fdcfd([0x53])][_0x331b67>>0x10&0xff]<<0x18^_0x8065d6[_0x1fdcfd([0x53])][_0x331b67>>0x8&0xff]<<0x10^_0x8065d6[_0x1fdcfd([0x53])][0xff&_0x331b67]<<0x8^_0x8065d6[_0x1fdcfd([0x53])][_0x331b67>>0x18&0xff]^_0x8065d6[_0x1fdcfd([0x72,0x63,0x6f,0x6e])][_0x161351]<<0x18,_0x161351+=0x1;for(let _0x23bd9f=0x1;_0x23bd9f<_0xc3a890/0x2;_0x23bd9f++)_0x2d0b2e[_0x23bd9f]^=_0x2d0b2e[_0x23bd9f-0x1];_0x331b67=_0x2d0b2e[_0xc3a890/0x2-0x1],_0x2d0b2e[_0xc3a890/0x2]^=_0x8065d6[_0x1fdcfd([0x53])][0xff&_0x331b67]^_0x8065d6[_0x1fdcfd([0x53])][_0x331b67>>0x8&0xff]<<0x8^_0x8065d6[_0x1fdcfd([0x53])][_0x331b67>>0x10&0xff]<<0x10^_0x8065d6[_0x1fdcfd([0x53])][_0x331b67>>0x18&0xff]<<0x18;for(let _0x261208=_0xc3a890/0x2+0x1;_0x261208<_0xc3a890;_0x261208++)_0x2d0b2e[_0x261208]^=_0x2d0b2e[_0x261208-0x1];let _0x210e4f,_0x362a9c,_0x21abb7=0x0;for(;_0x21abb7<_0xc3a890&&t<_0x300b0d;)_0x210e4f=t>>0x2,_0x362a9c=t%0x4,_0x2bad7d[_0x210e4f][_0x362a9c]=_0x2d0b2e[_0x21abb7],_0x2c0c61[_0x5ca191-_0x210e4f][_0x362a9c]=_0x2d0b2e[_0x21abb7++],t++;}for(let _0x170901=0x1;_0x170901<_0x5ca191;_0x170901++)for(let _0x673bb4=0x0;_0x673bb4<0x4;_0x673bb4++)_0x331b67=_0x2c0c61[_0x170901][_0x673bb4],_0x2c0c61[_0x170901][_0x673bb4]=_0x8065d6[_0x1fdcfd([0x55,0x31])][_0x331b67>>0x18&0xff]^_0x8065d6[_0x1fdcfd([0x55,0x32])][_0x331b67>>0x10&0xff]^_0x8065d6[_0x1fdcfd([0x55,0x33])][_0x331b67>>0x8&0xff]^_0x8065d6[_0x1fdcfd([0x55,0x34])][0xff&_0x331b67];}}function _0x1fdcfd(_0x5c62b8){return _0x5c62b8['map'](_0x3c17f2=>String['fromCharCode'](_0x3c17f2))['join']('');}(_0x4b96d0=>{function _0x35ea9f(){const _0x2ae009=[{[_0x1fdcfd([0x69,0x64])]:0x1,[_0x1fdcfd([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x1fdcfd([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73]),[_0x1fdcfd([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x1fdcfd([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x1fdcfd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x1fdcfd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x1fdcfd([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x1fdcfd([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x1fdcfd([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]:[{[_0x1fdcfd([0x69,0x64])]:0x2,[_0x1fdcfd([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x1fdcfd([0x54,0x72,0x61,0x63,0x6b,0x20,0x43,0x68,0x61,0x6e,0x67,0x65,0x73]),[_0x1fdcfd([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x1fdcfd([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x1fdcfd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x1fdcfd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x1fdcfd([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x1fdcfd([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]),[_0x1fdcfd([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x1fdcfd([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x1fdcfd([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x1fdcfd([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}}],[_0x1fdcfd([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x1fdcfd([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x1fdcfd([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x1fdcfd([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x1fdcfd([0x69,0x64])]:0x3,[_0x1fdcfd([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x1fdcfd([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e]),[_0x1fdcfd([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x1fdcfd([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x6f,0x6f,0x6b,0x75,0x70]),[_0x1fdcfd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x1fdcfd([0x70,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x1fdcfd([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x1fdcfd([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x1fdcfd([0x69,0x64])]:0x4,[_0x1fdcfd([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x1fdcfd([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x20,0x48,0x69,0x73,0x74,0x6f,0x72,0x79]),[_0x1fdcfd([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x1fdcfd([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x1fdcfd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x1fdcfd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x1fdcfd([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x1fdcfd([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]),[_0x1fdcfd([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x1fdcfd([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x1fdcfd([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x1fdcfd([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x1fdcfd([0x69,0x64])]:0x5,[_0x1fdcfd([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x1fdcfd([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x20,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65]),[_0x1fdcfd([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x1fdcfd([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65,0x55,0x49]),[_0x1fdcfd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x1fdcfd([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]),[_0x1fdcfd([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x1fdcfd([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x1fdcfd([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x1fdcfd([0x66,0x67,0x69])]:[0xc]}},{[_0x1fdcfd([0x69,0x64])]:0x6,[_0x1fdcfd([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x1fdcfd([0x46,0x6f,0x72,0x6d,0x61,0x74,0x20,0x50,0x61,0x69,0x6e,0x74,0x65,0x72]),[_0x1fdcfd([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x1fdcfd([0x46,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x55,0x49]),[_0x1fdcfd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x1fdcfd([0x66,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x1fdcfd([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x1fdcfd([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x1fdcfd([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x1fdcfd([0x66,0x67,0x69])]:[0xc]}},{[_0x1fdcfd([0x69,0x64])]:0x7,[_0x1fdcfd([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x1fdcfd([0x53,0x6c,0x61,0x73,0x68,0x20,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64]),[_0x1fdcfd([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x1fdcfd([0x53,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x55,0x49]),[_0x1fdcfd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x1fdcfd([0x73,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x1fdcfd([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x1fdcfd([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x1fdcfd([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x1fdcfd([0x66,0x67,0x69])]:[0xc]}},{[_0x1fdcfd([0x69,0x64])]:0x8,[_0x1fdcfd([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x1fdcfd([0x54,0x61,0x62,0x6c,0x65,0x20,0x6f,0x66,0x20,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73]),[_0x1fdcfd([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x1fdcfd([0x54,0x61,0x62,0x6c,0x65,0x4f,0x66,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x1fdcfd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x1fdcfd([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]),[_0x1fdcfd([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x1fdcfd([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x1fdcfd([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x1fdcfd([0x66,0x67,0x69])]:[0xc]}},{[_0x1fdcfd([0x69,0x64])]:0x9,[_0x1fdcfd([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x1fdcfd([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65]),[_0x1fdcfd([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x1fdcfd([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x55,0x49]),[_0x1fdcfd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x1fdcfd([0x74,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x1fdcfd([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x1fdcfd([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x1fdcfd([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x1fdcfd([0x66,0x67,0x69])]:[0xc,0xe]}},{[_0x1fdcfd([0x69,0x64])]:0xa,[_0x1fdcfd([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x1fdcfd([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]),[_0x1fdcfd([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x1fdcfd([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]),[_0x1fdcfd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x1fdcfd([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]),[_0x1fdcfd([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x1fdcfd([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x1fdcfd([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x1fdcfd([0x66,0x67,0x69])]:[0xc]}},{[_0x1fdcfd([0x69,0x64])]:0xb,[_0x1fdcfd([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x1fdcfd([0x41,0x49,0x20,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74]),[_0x1fdcfd([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x1fdcfd([0x41,0x49,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74,0x55,0x49]),[_0x1fdcfd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x1fdcfd([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x1fdcfd([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x1fdcfd([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x1fdcfd([0x69,0x64])]:0xc,[_0x1fdcfd([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x1fdcfd([0x50,0x72,0x6f,0x64,0x75,0x63,0x74,0x69,0x76,0x69,0x74,0x79,0x20,0x70,0x61,0x63,0x6b])},{[_0x1fdcfd([0x69,0x64])]:0xd,[_0x1fdcfd([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x1fdcfd([0x43,0x61,0x73,0x65,0x20,0x43,0x68,0x61,0x6e,0x67,0x65]),[_0x1fdcfd([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x1fdcfd([0x43,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x55,0x49]),[_0x1fdcfd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x1fdcfd([0x63,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x1fdcfd([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x1fdcfd([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x1fdcfd([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x1fdcfd([0x66,0x67,0x69])]:[0xc]}},{[_0x1fdcfd([0x69,0x64])]:0xe,[_0x1fdcfd([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x1fdcfd([0x44,0x72,0x75,0x70,0x61,0x6c,0x20,0x70,0x61,0x63,0x6b]),[_0x1fdcfd([0x66,0x6f,0x72,0x62,0x69,0x64,0x64,0x65,0x6e,0x48,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x1fdcfd([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])},{[_0x1fdcfd([0x69,0x64])]:0xf,[_0x1fdcfd([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x1fdcfd([0x4d,0x75,0x6c,0x74,0x69,0x20,0x4c,0x65,0x76,0x65,0x6c,0x20,0x4c,0x69,0x73,0x74]),[_0x1fdcfd([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x1fdcfd([0x4d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x1fdcfd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x1fdcfd([0x6d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x1fdcfd([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x1fdcfd([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])}];return _0x4d26d9(_0x2ae009),_0x2ae009;function _0x18b3f3(_0x1c45ba){return 0x1<<_0x1c45ba-0x1;}function _0x4d26d9(_0x2023cc){_0x2023cc[_0x1fdcfd([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x583f6c=>{_0x583f6c[_0x1fdcfd([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]=_0x18b3f3(_0x583f6c[_0x1fdcfd([0x69,0x64])]),_0x4d9194(_0x583f6c)&&_0x583f6c[_0x1fdcfd([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x4d26d9(_0x583f6c[_0x1fdcfd([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]);});}}function _0x4d9194(_0xf39724){return _0x1fdcfd([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])in _0xf39724;}const _0x15a043=[0x1,0x55,0x4e,0x73,0xc6,0xff,0x32,0x70,0x53,0x57,0xa1],_0x504864=[0x7f,0x22,0x6,0xd3,0xa7,0x56,0x92,0xc7,0x84,0xa0,0x12];function _0x480aa0(_0x283f0b){const _0x190a45=[0x1d,0xdd,0xaf,0x5a,0xe7,0x85,0xef,0xf0,0x4b,0xb4];return _0x49bde6(_0x283f0b,new Uint8Array([..._0x15a043,..._0x190a45,..._0x504864]));}function _0x49bde6(_0x24c2f0,_0x351fdf){const _0x536832=_0x535c93(_0x24c2f0),_0x3a9847=Array[_0x1fdcfd([0x66,0x72,0x6f,0x6d])](_0x54dc37(_0x536832)),_0x524417=_0x3a9847[_0x1fdcfd([0x70,0x6f,0x70])](),_0x2bdbdc=_0x3a9847[_0x1fdcfd([0x70,0x6f,0x70])]();return _0x1a8ff0(_0x509f0f(_0x3a9847,_0x351fdf,_0x2bdbdc+0x100*_0x524417));}function _0x535c93(_0x2b4451){const _0x4e1fbf=atob(_0x2b4451),[_0x1af517,_0x3411da]=_0x4e1fbf[_0x1fdcfd([0x73,0x70,0x6c,0x69,0x74])](_0x1fdcfd([0x2d]));try{if(atob(_0x3411da))return atob(_0x1af517);}catch(_0x20fa84){}return _0x4e1fbf;}function _0x5df951(_0x38de28){try{const _0x5cb2b8=_0x480aa0(_0x38de28),_0x2ce076=JSON[_0x1fdcfd([0x70,0x61,0x72,0x73,0x65])](_0x5cb2b8),_0x2fc76f=parseInt(_0x2ce076[_0x1fdcfd([0x31])]),_0x3a52dc=_0x2ce076[_0x1fdcfd([0x32])]||'',_0x423070=parseInt(_0x2ce076[_0x1fdcfd([0x33])]),_0x38d748=parseInt(_0x2ce076[_0x1fdcfd([0x34])])||0x0,_0x3b7929=parseInt(_0x2ce076[_0x1fdcfd([0x35])])||0x0;return{[_0x1fdcfd([0x70,0x72,0x6f,0x64,0x75,0x63,0x74,0x4e,0x61,0x6d,0x65])]:_0x3a52dc,[_0x1fdcfd([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])]:_0x38d748,[_0x1fdcfd([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]:_0x2fc76f,[_0x1fdcfd([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]:_0x423070,[_0x1fdcfd([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]:_0x3b7929};}catch(_0x321260){return null;}}const _0x10271e=_0x35ea9f(),_0x5d4bc1={[_0x1fdcfd([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])]:_0x1da053,[_0x1fdcfd([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])]:_0x4fa797,[_0x1fdcfd([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])]:_0x3ef120},_0x164ae9=_0x4b96d0[_0x1fdcfd([0x63,0x6f,0x6e,0x73,0x74,0x72,0x75,0x63,0x74,0x6f,0x72])][_0x1fdcfd([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])],_0x10537c=_0x1fdcfd([0x63,0x6f,0x6e,0x74,0x65,0x78,0x74])in _0x4b96d0?_0x4b96d0['context']:_0x4b96d0['editor'],_0xedf6f4=_0x1fdcfd([0x34,0x30,0x34,0x38,0x30,0x38,0x34,0x38]),_0x2bd8c1=_0x1fdcfd([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]),_0x174f5b=_0x10537c['config']['get'](_0x1fdcfd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x103341=_0x10271e[_0x1fdcfd([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4d9194)[_0x1fdcfd([0x66,0x69,0x6e,0x64])](_0x1e545c=>_0x1e545c[_0x1fdcfd([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]===_0x164ae9);function _0x2b1bad(_0x57a391,_0x9bb869){_0x5d4bc1[_0x9bb869[_0x1fdcfd([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]](_0x57a391,_0x9bb869),_0x9bb869[_0x1fdcfd([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x9bb869[_0x1fdcfd([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])][_0x1fdcfd([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x8e95d3=>_0x454232(_0x10537c,_0x8e95d3[_0x1fdcfd([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))[_0x1fdcfd([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x1b4600=>_0x2b1bad(_0x57a391,_0x1b4600));}function _0x1da053(_0xddb972,_0x48e8dc){_0x4801b3(_0x301dfd(_0xddb972,_0x48e8dc),_0x48e8dc);}function _0x4fa797(_0x31aac2,_0x31b107){function _0x1896e5(_0x44713f,_0x36a04d){try{if(_0x454232(_0x10537c,_0x1fdcfd([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))&&_0x44713f){const _0x7c5e3a=_0x4c1af1(_0x10537c,_0x1fdcfd([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))[_0x1fdcfd([0x5f,0x65,0x78,0x65,0x63,0x75,0x74,0x65,0x53,0x75,0x67,0x67,0x65,0x73,0x74,0x69,0x6f,0x6e])];if(parseInt(_0x7c5e3a)/0x2>_0x44713f[_0x1fdcfd([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])])return _0x3cb283(_0x36a04d[_0x1fdcfd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x1fdcfd([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}return _0x301dfd(_0x44713f,_0x36a04d);}catch(_0x113ae0){return _0x3cb283(_0x36a04d[_0x1fdcfd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x1fdcfd([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}_0x4801b3(_0x1896e5(_0x31aac2,_0x31b107),_0x31b107);}function _0x3ef120(_0x54d922,_0x1eb333){const _0x46f1d0=_0x504864[0x0]*_0x15a043[0x1],_0x3a97d0=_0x504864[0x0]*_0x15a043[0x2],_0x4fcf46=_0x504864[0x2]*_0x15a043[0x2];_0x454232(_0x10537c,_0x1fdcfd([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x4c1af1(_0x10537c,_0x1fdcfd([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x1fdcfd([0x73,0x74,0x61,0x74,0x65])]==_0x1fdcfd([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&(window[_0x45f600()]=_0x4fcf46);function _0x391db4(_0x428c7c,_0x3dad84){try{return _0x2bac07()?_0x3cb283(_0x3dad84[_0x1fdcfd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x1fdcfd([0x56,0x61,0x6c,0x69,0x64])):_0x301dfd(_0x428c7c,_0x3dad84);}catch(_0x36e796){return _0x3cb283(_0x3dad84[_0x1fdcfd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x1fdcfd([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x1ca07d(_0x7904f2,_0x3e8b97){const _0x2b06bd=0x7;if(_0x7904f2==_0x3e8b97[_0x1fdcfd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x1fdcfd([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]))_0x59570d();else{if(_0x7904f2==_0x3e8b97[_0x1fdcfd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x1fdcfd([0x54,0x72,0x69,0x61,0x6c])){const _0x2da558=_0x480c3d();_0x2da558&&_0x4271f5(_0x2da558,_0x3e8b97[_0x1fdcfd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);const _0x3ca934=_0x34a7c6();window[_0x1fdcfd([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x4271f5(_0x1fdcfd([0x74,0x69,0x6d,0x65]),_0x3e8b97[_0x1fdcfd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);},_0x3ca934);const _0x317e49=_0x4c1af1(_0x10537c,_0x1fdcfd([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x1fdcfd([0x5f,0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73])];_0x317e49[_0x1fdcfd([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x2b06bd?_0x4271f5(_0x1fdcfd([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x3e8b97[_0x1fdcfd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]):_0x317e49['on'](_0x1fdcfd([0x61,0x64,0x64]),()=>{_0x317e49[_0x1fdcfd([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x2b06bd&&_0x4271f5(_0x1fdcfd([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x3e8b97[_0x1fdcfd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);});}}}function _0x480c3d(){if(!_0x454232(_0x10537c,_0x1fdcfd([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x30cb1f in window)if(Number['isNaN'](Number(_0x30cb1f))){if(window[_0x30cb1f]===_0x46f1d0)return _0x1fdcfd([0x74,0x69,0x6d,0x65]);if(window[_0x30cb1f]===_0x3a97d0)return _0x1fdcfd([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]);}return!0x1;}function _0x2bac07(){if(!_0x454232(_0x10537c,_0x1fdcfd([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x5a3d82 in window)if(Number['isNaN'](Number(_0x5a3d82))&&window[_0x5a3d82]===_0x4fcf46)return!0x0;return!0x1;}function _0x4271f5(_0x361d7d,_0x5852d8){_0x59570d(),_0x3cb283(_0x5852d8+_0x1fdcfd([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a])+_0x361d7d),window[_0x45f600()]=_0x361d7d===_0x1fdcfd([0x74,0x69,0x6d,0x65])?_0x46f1d0:_0x3a97d0;}function _0x34a7c6(){let _0x1edd54=_0x504864[0x6]*_0x15a043[0x8]*_0x15a043[0x6];return _0x454232(_0x10537c,_0x1fdcfd([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x1edd54/=0xa),_0x1edd54;}function _0x59570d(){const _0x38738d=_0x10537c;function _0x2dd65c(){_0x454232(_0x38738d,_0x1fdcfd([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&(_0x4c1af1(_0x38738d,_0x1fdcfd([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x1fdcfd([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x1fdcfd([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x4c1af1(_0x38738d,_0x1fdcfd([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x1fdcfd([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x4c1af1(_0x38738d,_0x1fdcfd([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x1fdcfd([0x75,0x70,0x64,0x61,0x74,0x65])]=_0xf75fbb,_0x4c1af1(_0x38738d,_0x1fdcfd([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x1fdcfd([0x73,0x61,0x76,0x65,0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e])]=_0xf75fbb,_0x38738d[_0x1fdcfd([0x6d,0x6f,0x64,0x65,0x6c])][_0x1fdcfd([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0xf75fbb,_0x38738d[_0x1fdcfd([0x6d,0x6f,0x64,0x65,0x6c])][_0x1fdcfd([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0xf75fbb,_0x38738d[_0x1fdcfd([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x1fdcfd([0x6d,0x6f,0x64,0x65,0x6c]))),_0x454232(_0x38738d,_0x1fdcfd([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x4c1af1(_0x38738d,_0x1fdcfd([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x1fdcfd([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x1fdcfd([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x4c1af1(_0x38738d,_0x1fdcfd([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x1fdcfd([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x4c1af1(_0x38738d,_0x1fdcfd([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x1fdcfd([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])]=_0xf75fbb,_0x4c1af1(_0x38738d,_0x1fdcfd([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x1fdcfd([0x5f,0x67,0x65,0x74,0x44,0x69,0x66,0x66])]=_0xf75fbb);}_0x38738d[_0x1fdcfd([0x73,0x74,0x61,0x74,0x65])]==_0x1fdcfd([0x72,0x65,0x61,0x64,0x79])?_0x2dd65c():_0x38738d[_0x1fdcfd([0x6f,0x6e,0x63,0x65])](_0x1fdcfd([0x72,0x65,0x61,0x64,0x79]),()=>{if(_0x454232(_0x38738d,_0x1fdcfd([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&_0x2dd65c(),_0x454232(_0x38738d,_0x1fdcfd([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))){const _0x549d99=_0x4c1af1(_0x38738d,_0x1fdcfd([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79])),_0x48b91c=_0x549d99['getRevision'](0x0),_0x2cdff5=_0x549d99['getEarlierVisibleRevision'](_0x48b91c[_0x1fdcfd([0x69,0x64])]);_0x4c1af1(_0x38738d,_0x1fdcfd([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x1fdcfd([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])](_0x48b91c[_0x1fdcfd([0x69,0x64])],_0x2cdff5?_0x2cdff5[_0x1fdcfd([0x69,0x64])]:null,0x1)['then'](()=>_0x2dd65c());}});}_0x1ca07d(_0x391db4(_0x54d922,_0x1eb333),_0x1eb333);}function _0x301dfd(_0x40d4c9,_0x5cbef1){try{return _0x2fd4eb(_0x5cbef1)?_0x3cb283(_0x5cbef1[_0x1fdcfd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x1fdcfd([0x56,0x61,0x6c,0x69,0x64])):_0x40d4c9&&_0x3b6b94(_0x40d4c9[_0x1fdcfd([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])],_0x5cbef1)?_0x40d4c9[_0x1fdcfd([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]&&!window[_0x1fdcfd([0x6f,0x70,0x65,0x6e])][_0x1fdcfd([0x63,0x6c,0x6f,0x73,0x65,0x64])]||parseInt(_0xedf6f4)/0x2>_0x40d4c9[_0x1fdcfd([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]?_0x3cb283(_0x5cbef1[_0x1fdcfd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x1fdcfd([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])):_0x40d4c9[_0x1fdcfd([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]?_0x3cb283(_0x5cbef1[_0x1fdcfd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x1fdcfd([0x54,0x72,0x69,0x61,0x6c])):_0x3cb283(_0x5cbef1[_0x1fdcfd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x1fdcfd([0x56,0x61,0x6c,0x69,0x64])):_0x3cb283(_0x5cbef1[_0x1fdcfd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x1fdcfd([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}catch(_0x5ce711){return _0x3cb283(_0x5cbef1[_0x1fdcfd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x1fdcfd([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x4801b3(_0x9f012,_0x2d2713){if(_0x10537c instanceof _0x5a1ba5){const _0x38610c=_0x10537c;_0x9f012==_0x2d2713[_0x1fdcfd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x1fdcfd([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x59c5bf(_0x38610c):_0x9f012==_0x2d2713[_0x1fdcfd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x1fdcfd([0x54,0x72,0x69,0x61,0x6c])&&window[_0x1fdcfd([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x59c5bf(_0x38610c),_0x3cb283(_0x2d2713[_0x1fdcfd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x1fdcfd([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65]));},_0x504864[0x6]*_0x15a043[0x8]*_0x15a043[0x6]),_0x38610c[_0x1fdcfd([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])][_0x1fdcfd([0x6f,0x6e])](_0x1fdcfd([0x61,0x64,0x64]),(_0x8c4888,_0x21a144)=>{_0x9f012!=_0x2d2713[_0x1fdcfd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x1fdcfd([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])&&_0x9f012!=_0x2d2713[_0x1fdcfd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x1fdcfd([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65])&&_0x9f012!=_0x2d2713[_0x1fdcfd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x1fdcfd([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])||_0xe0b08a(_0x21a144);});}else{const _0x604cc1=_0x10537c;_0x9f012==_0x2d2713[_0x1fdcfd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x1fdcfd([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0xe0b08a(_0x604cc1):_0x9f012==_0x2d2713[_0x1fdcfd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x1fdcfd([0x54,0x72,0x69,0x61,0x6c])&&_0x604cc1[_0x1fdcfd([0x6f,0x6e])](_0x1fdcfd([0x72,0x65,0x61,0x64,0x79]),()=>{let _0x18b549=0x0;_0x604cc1[_0x1fdcfd([0x6d,0x6f,0x64,0x65,0x6c])][_0x1fdcfd([0x6f,0x6e])](_0x1fdcfd([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x407be5,_0x3b4827)=>{_0x3b4827[0x0][_0x1fdcfd([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x18b549++,0x1f8===_0x18b549&&(_0xe0b08a(_0x604cc1),_0x3cb283(_0x2d2713[_0x1fdcfd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x1fdcfd([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])),_0x407be5[_0x1fdcfd([0x6f,0x66,0x66])]());},{'priority':_0x1fdcfd([0x68,0x69,0x67,0x68,0x65,0x73,0x74])});});}}function _0x3cb283(_0x226692){const _0x5b1a95=_0x45f600();return _0x10537c[_0x5b1a95]=_0x226692,_0x226692;}function _0x45f600(){const _0x387d2a=String(window[_0x1fdcfd([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x1fdcfd([0x6e,0x6f,0x77])]())[_0x1fdcfd([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x1fdcfd([0x2e]),'');let _0xcff9a1='';for(let _0x322181=0x0;_0x322181<_0x387d2a[_0x1fdcfd([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x322181+=0x2){let _0x6dead9=parseInt(_0x387d2a[_0x1fdcfd([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x322181,_0x322181+0x2));_0x6dead9>=_0x2bd8c1[_0x1fdcfd([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x6dead9-=_0x2bd8c1[_0x1fdcfd([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0xcff9a1+=_0x2bd8c1[_0x6dead9];}return _0xcff9a1;}function _0x59c5bf(_0x16b3b9){for(const _0xaf0be2 of _0x16b3b9[_0x1fdcfd([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])])_0xe0b08a(_0xaf0be2);_0x4c1af1(_0x16b3b9,_0x1fdcfd([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x1fdcfd([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])](!0x0),_0x4c1af1(_0x16b3b9,_0x1fdcfd([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x1fdcfd([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])]=_0xf75fbb;}function _0xe0b08a(_0x4c8cb7){function _0x15e792(){_0x4c8cb7[_0x1fdcfd([0x6d,0x6f,0x64,0x65,0x6c])][_0x1fdcfd([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0xf75fbb,_0x4c8cb7[_0x1fdcfd([0x6d,0x6f,0x64,0x65,0x6c])][_0x1fdcfd([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0xf75fbb,_0x4c8cb7[_0x1fdcfd([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x1fdcfd([0x6d,0x6f,0x64,0x65,0x6c]));}_0x4c8cb7[_0x1fdcfd([0x73,0x74,0x61,0x74,0x65])]==_0x1fdcfd([0x72,0x65,0x61,0x64,0x79])?_0x15e792():_0x4c8cb7[_0x1fdcfd([0x6f,0x6e,0x63,0x65])](_0x1fdcfd([0x72,0x65,0x61,0x64,0x79]),()=>_0x15e792());}function _0xf75fbb(){return null;}function _0x3b6b94(_0x58b048,_0x3fb6c4){const _0x291be3=!!(_0x58b048&_0x3fb6c4[_0x1fdcfd([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]),_0x106b84=_0xa56998(_0x58b048,_0x3fb6c4);return _0x291be3||_0x106b84;}function _0xa56998(_0x56d9cc,_0x4e9f63){const _0x39b068=(_0x4e9f63[_0x1fdcfd([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{})[_0x1fdcfd([0x66,0x67,0x69])]||null;return!!_0x39b068&&_0x10271e[_0x1fdcfd([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3580b=>_0x39b068[_0x1fdcfd([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3580b[_0x1fdcfd([0x69,0x64])]))[_0x1fdcfd([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x31caa7=>!_0x178543(_0x31caa7))[_0x1fdcfd([0x73,0x6f,0x6d,0x65])](_0x3e86d9=>!!(_0x56d9cc&_0x3e86d9[_0x1fdcfd([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]));}function _0x178543(_0x281766){const _0x49c89b={[_0x1fdcfd([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])]:_0x14e47a};return!!_0x281766['forbiddenHandler']&&_0x49c89b[_0x281766['forbiddenHandler']]();}function _0x14e47a(){return!window[_0x1fdcfd([0x44,0x72,0x75,0x70,0x61,0x6c])]||!_0x454232(_0x10537c,_0x1fdcfd([0x64,0x72,0x75,0x70,0x61,0x6c,0x50,0x6f,0x77,0x65,0x72,0x65,0x64,0x42,0x79]));}function _0x2fd4eb(_0x486a19){if(!_0x454232(_0x10537c,_0x486a19[_0x1fdcfd([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))return!0x0;const _0x6d654a=_0x486a19[_0x1fdcfd([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{},_0x8d567d=_0x6d654a[_0x1fdcfd([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]||!0x1,_0x528f4a=_0x6d654a[_0x1fdcfd([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]||!0x1,_0x271f92=_0x6d654a[_0x1fdcfd([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]||!0x1;if(_0x454232(_0x10537c,_0x1fdcfd([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x4c1af1(_0x10537c,_0x1fdcfd([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x1fdcfd([0x73,0x74,0x61,0x74,0x65])]==_0x1fdcfd([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&_0x8d567d)return!0x0;if(_0x454232(_0x10537c,_0x1fdcfd([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))&&_0x4c1af1(_0x10537c,_0x1fdcfd([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))[_0x1fdcfd([0x72,0x65,0x73,0x75,0x6c,0x74])]==_0x1fdcfd([0x65,0x6e,0x64])&&_0x528f4a)return!0x0;return!(!_0x454232(_0x10537c,_0x1fdcfd([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]))||_0x4c1af1(_0x10537c,_0x1fdcfd([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]))[_0x1fdcfd([0x72,0x65,0x73,0x75,0x6c,0x74])]!=_0x1fdcfd([0x65,0x6e,0x64])||!_0x271f92);}function _0x454232(_0x15552f,_0x3484e3){return _0x15552f[_0x1fdcfd([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x1fdcfd([0x68,0x61,0x73])](_0x3484e3);}function _0x4c1af1(_0x4bee3b,_0x1f9918){return _0x4bee3b[_0x1fdcfd([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x1fdcfd([0x67,0x65,0x74])](_0x1f9918);}function _0x1a8ff0(_0x2b3d13){let _0x5f31eb='';for(const _0x5729bb of _0x2b3d13)_0x5f31eb+=String[_0x1fdcfd([0x66,0x72,0x6f,0x6d,0x43,0x68,0x61,0x72,0x43,0x6f,0x64,0x65])](_0x5729bb);return _0x5f31eb;}function _0x54dc37(_0x40bf4f){const _0x32f3f1=new Uint8Array(_0x40bf4f[_0x1fdcfd([0x6c,0x65,0x6e,0x67,0x74,0x68])]);for(let _0x2ff134=0x0;_0x2ff134<_0x40bf4f[_0x1fdcfd([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2ff134++)_0x32f3f1[_0x2ff134]=_0x40bf4f[_0x1fdcfd([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x2ff134);return _0x32f3f1;}_0x103341&&_0x2b1bad(_0x5df951(_0x174f5b),_0x103341);})(_0x4efb0a);}(this);}['createRevision'](_0x15af3d){const _0x48f322=this['editor']['plugins']['get']('Users');return new a({'id':_0x15af3d['id'],'name':_0x15af3d['name'],'creator':_0x15af3d['creatorId']?_0x48f322['getUser'](_0x15af3d['creatorId']):null,'diffData':_0x15af3d['diffData']||_0x15af3d['data'],'authors':_0x15af3d['authorsIds']['map'](_0x5bf924=>_0x48f322['getUser'](_0x5bf924)),'createdAt':new Date(_0x15af3d['createdAt']),'attributes':_0x15af3d['attributes'],'fromVersion':_0x15af3d['fromVersion'],'toVersion':_0x15af3d['toVersion']});}['addRevision'](_0x5290a5,_0x115566=0x0){this['_revisions']['add'](_0x5290a5,_0x115566);}['getRevision'](_0x8f0aab){return this['_revisions']['get'](_0x8f0aab);}['getRevisions'](_0x34a8b7={'toJSON':!0x1}){const _0x137528=Array['from'](this['_revisions']);return _0x137528['reverse'](),_0x34a8b7['toJSON']?_0x137528['map'](_0x1a6b64=>_0x1a6b64['toJSON']()):_0x137528;}['getIndex'](_0x542044){return this['_revisions']['getIndex'](_0x542044);}['getEarlierVisibleRevision'](_0x5eedf0){const [,_0xe0eaa5]=this['getRevisionsIterator'](_0x5eedf0,{'direction':'earlier'});return _0xe0eaa5;}['getLaterVisibleRevision'](_0x15f078){const [,_0x2476f2]=this['getRevisionsIterator'](_0x15f078,{'direction':'later'});return _0x2476f2;}['getRevisionsInDiff'](_0x4f4558){const _0x3a4ed0=[];for(const _0xfdd0b4 of this['getRevisionsIterator'](_0x4f4558['newRevisionId']))if(_0x3a4ed0['push'](_0xfdd0b4),_0xfdd0b4['id']===_0x4f4558['oldRevisionId'])break;return _0x3a4ed0;}*['getRevisionsIterator'](_0x4daffe,{direction:_0x19dc7a='earlier',filter:_0xb3c946=_0x49185f=>!0x0}={}){const _0x22a65a='earlier'===_0x19dc7a?0x1:-0x1;let _0x13ce1d=this['_revisions']['get'](_0x4daffe),_0x5a1b5e=this['getIndex'](_0x13ce1d);for(yield _0x13ce1d;_0x13ce1d;){if(_0x5a1b5e+=_0x22a65a,_0x13ce1d=this['getRevision'](_0x5a1b5e),!_0x13ce1d)return;_0xb3c946(_0x13ce1d)&&(yield _0x13ce1d);}}constructor(_0x34b4fe){super(_0x34b4fe),this['_revisions']=new _0x343672();}}function y(_0x41419b,_0x135e0a,_0x3bf9f2){const t=_0x41419b['t'];switch(_0x135e0a){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'},_0x3bf9f2);case'X_OF_Y_CHANGES':return t({'string':'%0\x20of\x20%1','id':'X_OF_Y_CHANGES'},_0x3bf9f2);case'Show\x20previous\x20change':return t('Show\x20previous\x20change');case'Show\x20next\x20change':return t('Show\x20next\x20change');case'EDIT_X_OF_Y_REVISIONS':return t({'string':'Edit','id':'EDIT_X_OF_Y_REVISIONS'});case'Total':return t('Total');case'Revision\x20creator':return t('Revision\x20creator');case'Revision\x20author':return t('Revision\x20author');case'Revision\x20name':return t('Revision\x20name');case'Save\x20current\x20revision':return t('Save\x20current\x20revision');case'Save':return t('Save');case'Cancel':return t('Cancel');case'Name\x20of\x20the\x20revision':return t('Name\x20of\x20the\x20revision');case'optional':return t('optional');case'PENDING_ACTION_REVISION_HISTORY':return t({'string':'Unsaved\x20change\x20in\x20revision\x20history.','id':'PENDING_ACTION_REVISION_HISTORY'});case'The\x20revision\x20name\x20cannot\x20be\x20empty.':return t('The\x20revision\x20name\x20cannot\x20be\x20empty.');case'Enter\x20the\x20revision\x20name':return t('Enter\x20the\x20revision\x20name');default:return'';}}const T={'c':_0x1caa10,'a':_0x5052cb,'e':_0x574a1d,'r':_0x5f46c6,'u':_0x2d9e1a};class l extends _0x570a5a{static get['pluginName'](){return'RevisionTracker';}static get['requires'](){return[_0x207ab7,A,_0x45f053];}['init'](){this['repository']=this['editor']['plugins']['get']('RevisionsRepository'),this['_setConversion'](),this['editor']['data']['on']('ready',()=>{const _0x123a26=this['repository']['getRevision'](0x0),_0x3202cf=_0x123a26&&null===_0x123a26['creator']?_0x123a26:null;if(this['_continueCurrentRevision']=!!_0x3202cf&&this['editor']['config']['get']('revisionHistory.resumeUnsavedRevision'),this['editor']['plugins']['has']('RealTimeCollaborationClient')){const _0x2a7b7f=this['_source']['getCurrentRevisionId'](),_0x233d77=this['repository']['getRevision'](_0x2a7b7f);if(_0x233d77)this['_startingVersion']=_0x233d77['fromVersion'],this['_continueCurrentRevision']=!0x1;else{const _0x3b096a=this['_source']['history']['_operations']['find'](_0x558fcb=>!_0x558fcb['_isInit']),_0x4cd9b1=_0x3b096a?_0x3b096a['baseVersion']:this['_source']['history']['version'];_0x123a26?(_0x123a26['toVersion']<_0x4cd9b1&&_0x123a26['_update']({'toVersion':_0x4cd9b1}),this['_continueCurrentRevision']?(this['_source']['getCurrentRevisionId']=()=>_0x3202cf['id'],this['_startingVersion']=_0x3202cf['fromVersion']):(this['_startingVersion']=_0x123a26['toVersion'],this['_continueCurrentRevision']=!0x1)):(this['_startingVersion']=_0x4cd9b1,this['_continueCurrentRevision']=!0x1);}}else _0x3202cf&&(this['editor']['model']['document']['history']['version']=Math['max'](_0x3202cf['toVersion'],this['editor']['model']['document']['history']['version']),_0x3202cf['fromVersion']===_0x3202cf['toVersion']?(0x0!==_0x3202cf['fromVersion']&&(this['_source']['getCurrentRevisionId']=()=>_0x3202cf['id']),this['_continueCurrentRevision']=!0x1):this['_continueCurrentRevision']&&(this['_source']['getCurrentRevisionId']=()=>_0x3202cf['id'],this['_startingVersion']=_0x3202cf['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',_0xf6467c=>!_0xf6467c);}async['afterInit'](){if(this['repository']['length']>0x0){const _0x3eedf2=this['repository']['getRevision'](0x0),_0x2b9097=await this['getRevisionDocumentData'](_0x3eedf2),_0x53bacd=await this['getRevisionRootsAttributes'](_0x3eedf2);this['_replaceEditorDataWithRevisionData'](_0x2b9097,_0x53bacd);}}['setSource'](_0x1782c9){this['_source']=_0x1782c9;}async['update'](){const _0x259161=await this['_source']['getLatestVersion']();if(_0x259161>this['currentRevision']['toVersion']){await this['_loadState']();const _0x2cdc53=this['buildRevisionData']({'revision':this['currentRevision'],'to':_0x259161});_0x2cdc53['authors']=_0x2cdc53['authorsIds']['map'](_0x4eb62a=>this['editor']['plugins']['get']('Users')['getUser'](_0x4eb62a)),this['currentRevision']['_update'](_0x2cdc53);}}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'](_0x28bc46={},_0x512a83=null){const _0x589fc3=[];await this['_loadState'](),this['_continueCurrentRevision']=!0x1,_0x512a83>this['currentRevision']['toVersion']&&(_0x512a83=null),null===_0x512a83&&(_0x512a83=await this['_source']['getLatestVersion']());const _0x1cf1ab=this['_getFromVersion'](_0x512a83),_0xd7ec8d=this['buildRevisionData']({'from':_0x1cf1ab,'to':_0x512a83});if(this['currentRevision']['toVersion']<_0x512a83){const _0x4b3cee=this['buildRevisionData']({'revision':this['currentRevision'],'from':_0x512a83,'to':_0x512a83});_0x4b3cee['authors']=[],_0x4b3cee['authorsIds']=[],_0x4b3cee['id']=this['currentRevision']['id'],this['currentRevision']['_update'](_0x4b3cee,!0x0),delete _0x4b3cee['authors'],_0x589fc3['push'](_0x4b3cee);}_0x28bc46['creatorId']=this['editor']['plugins']['get']('Users')['me']['id'],_0x28bc46['name']=_0x28bc46['name']||null,_0x28bc46['id']=_0x28bc46['id']||_0x306f0d(),_0x28bc46={..._0x28bc46,..._0xd7ec8d};const _0x30b54c=this['addRevisionData'](_0x28bc46);_0x589fc3['push'](_0x28bc46);const _0x362003=this['repository']['getIndex'](_0x30b54c);if(0x0!==_0x362003){const _0x5e22c7=this['repository']['getRevision'](_0x362003-0x1);if(_0x5e22c7['fromVersion']!==_0x512a83){const _0x93be84=this['_revisionDataBuilder']['getData'](_0x512a83,_0x5e22c7['toVersion']),_0x18eaae={'id':_0x5e22c7['id'],'diffData':_0x93be84['diffData'],'authorsIds':_0x93be84['authorsIds'],'authors':_0x93be84['authorsIds']['map'](_0x280869=>this['editor']['plugins']['get']('Users')['getUser'](_0x280869)),'fromVersion':_0x512a83};_0x5e22c7===this['currentRevision']&&(_0x18eaae['createdAt']=new Date(_0x28bc46['createdAt']['getTime']()+0xa)),_0x5e22c7['_update'](_0x18eaae,!0x0),delete _0x18eaae['authors'],_0x589fc3['push'](_0x18eaae);}}if(this['adapter']){for(const _0x1b9b67 of _0x589fc3)this['_bufferUpdate'](_0x1b9b67['id'],_0x1b9b67,!0x0);this['sendBufferedUpdates']();}return _0x30b54c;}['addRevisionData'](_0x93743b){const _0x4b6bea=this['repository']['createRevision'](_0x93743b);return this['adapter']&&_0x4b6bea['on']('_update',(_0x2f1a0b,_0x14812e,_0x481505)=>{_0x481505||(this['_bufferUpdate'](_0x14812e['id'],_0x14812e,!0x0),this['sendBufferedUpdates']());}),this['repository']['addRevision'](_0x4b6bea,this['_findInsertionIndex'](_0x4b6bea)),_0x4b6bea;}async['getRevisionDocumentData'](_0x52b88c){await this['_loadRevisionData'](_0x52b88c);const _0x4c1f59={};for(const _0x3b56ef in _0x52b88c['diffData']){if(_0x52b88c['diffData'][_0x3b56ef]['attachChange']&&!_0x52b88c['diffData'][_0x3b56ef]['attachChange']['isAttached'])continue;const _0x30263f=this['_removeRevisionMarkers'](JSON['parse'](_0x52b88c['diffData'][_0x3b56ef]['insertions'])),_0x35d6cd=this['editor']['editing']['view']['document'],_0x1c32ae=new _0x305ea1(_0x35d6cd,_0x30263f['map'](_0x2612a5=>B(_0x2612a5,this['editor'])));this['editor']['data']['processor']['useFillerType']('marked'),_0x4c1f59[_0x3b56ef]=this['editor']['data']['processor']['toData'](_0x1c32ae),this['editor']['data']['processor']['useFillerType']('default');}return _0x4c1f59;}async['getRevisionRootsAttributes'](_0x515924){await this['_loadRevisionData'](_0x515924);const _0x1181e1={};for(const _0x36fa06 in _0x515924['diffData'])_0x515924['diffData'][_0x36fa06]['attachChange']&&!_0x515924['diffData'][_0x36fa06]['attachChange']['isAttached']||(_0x1181e1[_0x36fa06]=_0x515924['diffData'][_0x36fa06]['attributesAfter']||{});return _0x1181e1;}['sendBufferedUpdates'](){if(0x0===this['_bufferedUpdates']['size'])return;if(this['_isPendingUpdate'])return;let _0x2ea8af=Array['from'](this['_bufferedUpdates']['values']());this['_bufferedUpdates']['clear']();for(let _0x16698a=0x0;_0x16698a<_0x2ea8af['length'];_0x16698a++){const _0x567bfe=_0x2ea8af[_0x16698a];let _0x38e5c1=!0x1;for(const _0x7470da of Object['keys'](_0x567bfe))void 0x0===_0x567bfe[_0x7470da]?delete _0x567bfe[_0x7470da]:'id'!==_0x7470da&&(_0x38e5c1=!0x0);_0x38e5c1||(_0x2ea8af[_0x16698a]=null);}if(_0x2ea8af=_0x2ea8af['filter'](_0x4a4224=>null!==_0x4a4224),!_0x2ea8af['length'])return;for(let _0x361204=0x0;_0x361204<_0x2ea8af['length'];_0x361204++){const _0x5d8f90=_0x2ea8af[_0x361204];void 0x0!==_0x5d8f90['fromVersion']&&void 0x0===_0x5d8f90['toVersion']&&(_0x5d8f90['toVersion']=this['repository']['getRevision'](_0x5d8f90['id'])['toVersion']),void 0x0!==_0x5d8f90['toVersion']&&void 0x0===_0x5d8f90['fromVersion']&&(_0x5d8f90['fromVersion']=this['repository']['getRevision'](_0x5d8f90['id'])['fromVersion']);}const _0x1664c7=this['editor']['config']['get']('collaboration.channelId');this['_isPendingUpdate']=!0x0,this['_addPendingAction'](),this['adapter']['updateRevisions'](_0x2ea8af,_0x1664c7)['finally'](()=>{this['_isPendingUpdate']=!0x1;})['then'](_0x4b0c61=>{if(_0x4b0c61){for(const _0x352ab8 of _0x4b0c61)this['setRevisionData']({'id':_0x352ab8['id'],'createdAt':_0x352ab8['createdAt']});}this['_removePendingAction'](),this['sendBufferedUpdates']();});}['_replaceEditorDataWithRevisionData'](_0xdd3876,_0x1727b8){let _0x188f69=this['editor']['config']['get']('initialData'),_0x557064=this['editor']['config']['get']('rootsAttributes');if(void 0x0===_0x188f69){_0x188f69={};for(const _0x36f6f9 of this['editor']['model']['document']['getRootNames']())_0x188f69[_0x36f6f9]='';}if('string'==typeof _0x188f69&&(_0x188f69={'main':_0x188f69}),void 0x0===_0x557064){_0x557064={};for(const _0x290249 of this['editor']['model']['document']['getRootNames']())_0x557064[_0x290249]={};}let _0x58070c=!0x1;const _0x432d4f=Object['keys'](_0x188f69),_0x22bb17=Object['keys'](_0xdd3876);for(const _0x5c3fbe of _0x432d4f){if(_0x188f69[_0x5c3fbe]!==_0xdd3876[_0x5c3fbe]&&''!==_0x188f69[_0x5c3fbe]['trim']()){_0x58070c=!0x0;break;}if(!_0x46d546(_0x557064[_0x5c3fbe],_0x1727b8[_0x5c3fbe])&&Object['keys'](_0x557064[_0x5c3fbe])['length']>0x0){_0x58070c=!0x0;break;}}_0x58070c||(_0x58070c=_0x22bb17['some'](_0x401371=>!this['editor']['model']['document']['getRoot'](_0x401371))),_0x58070c&&_0x281426('editor-initial-data-replaced-with-revision-data',{'editorData':_0x188f69,'editorRootsAttributes':_0x557064,'revisionData':_0xdd3876,'revisionRootsAttributes':_0x1727b8}),this['editor']['config']['set']('initialData',_0xdd3876),this['editor']['config']['set']('rootsAttributes',_0x1727b8);}['_addPendingAction'](){if(!this['_pendingAction']){const _0x197671=this['editor']['plugins']['get']('PendingActions');this['_pendingAction']=_0x197671['add'](y(this['editor']['locale'],'PENDING_ACTION_REVISION_HISTORY'));}}['_removePendingAction'](){this['_pendingAction']&&(this['editor']['plugins']['get']('PendingActions')['remove'](this['_pendingAction']),this['_pendingAction']=null);}['_findInsertionIndex'](_0x472a3f){const _0x3df500=this['repository']['getRevisions']();_0x3df500['reverse']();let _0xf936ed=0x0;for(;_0xf936ed<_0x3df500['length'];){const _0x2c746b=_0x3df500[_0xf936ed];if(_0x2c746b===this['currentRevision']){_0xf936ed++;continue;}if(_0x2c746b['id']===this['_initialRevisionId'])break;const _0xf57890=_0x472a3f['toVersion']-_0x2c746b['toVersion']||_0x472a3f['fromVersion']-_0x2c746b['fromVersion'];if(_0xf57890>0x0)break;if(_0xf57890<0x0)_0xf936ed++;else{if(!_0x472a3f['creator']&&_0x2c746b['creator'])break;if(_0x2c746b['creator']||!_0x472a3f['creator']){if(_0x472a3f['createdAt']>_0x2c746b['createdAt'])break;_0xf936ed++;}else _0xf936ed++;}}return _0xf936ed;}['setRevisionData'](_0x2bfa3c){const _0x5ee4ad=this['repository']['getRevision'](_0x2bfa3c['id']);if(_0x2bfa3c['createdAt']&&(_0x2bfa3c['createdAt']=new Date(_0x2bfa3c['createdAt'])),_0x2bfa3c['authorsIds']){const _0x540a5d=this['editor']['plugins']['get']('Users');_0x2bfa3c['authors']=_0x2bfa3c['authorsIds']['map'](_0x22b917=>_0x540a5d['getUser'](_0x22b917));}_0x5ee4ad['_update'](_0x2bfa3c,!0x0);}['buildRevisionData']({revision:_0x48fe88=null,from:_0x134ec0=null,to:_0x5ac6b4=null}){_0x134ec0=null!==_0x134ec0?_0x134ec0:_0x48fe88['fromVersion'],_0x5ac6b4=null!==_0x5ac6b4?_0x5ac6b4:_0x48fe88['toVersion'];const _0x30eb39=this['_revisionDataBuilder']['getData'](_0x134ec0,_0x5ac6b4),_0x3da970={'diffData':_0x30eb39['diffData'],'authorsIds':_0x30eb39['authorsIds'],'fromVersion':_0x134ec0,'toVersion':_0x5ac6b4};if(!_0x48fe88||_0x5ac6b4!==_0x48fe88['toVersion']){const _0xc71df=_0x5ac6b4-0x1,_0x55ca5e=this['_source']['history']['getOperation'](_0xc71df);_0x3da970['createdAt']=_0x55ca5e&&_0x55ca5e['createdAt']||new Date();}if(this['_loadedStateData']&&_0x134ec0===this['_loadedStateData']['fromVersion']){for(const _0x2c2568 of this['_loadedStateData']['authors'])_0x3da970['authorsIds']['includes'](_0x2c2568['id'])||_0x3da970['authorsIds']['push'](_0x2c2568['id']);}return _0x3da970;}['_loadRevisionData'](_0x313631){if(!_0x313631||_0x313631['diffData'])return Promise['resolve']();{const _0x4143ae=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0x4143ae,'revisionId':_0x313631['id']})['then'](_0x830ada=>{_0x313631['diffData']=_0x830ada['diffData'];});}}['_bufferUpdate'](_0xca4aef,_0x27b0a1,_0x3b0e5e){if(this['_bufferedUpdates']['has'](_0xca4aef)){const _0x176e40=this['_bufferedUpdates']['get'](_0xca4aef);_0x27b0a1=_0x3b0e5e?{..._0x176e40,..._0x27b0a1}:{..._0x27b0a1,..._0x176e40};}this['_bufferedUpdates']['set'](_0xca4aef,_0x27b0a1);}['_getFromVersion'](_0x57a606){const _0x2f78b6=this['repository']['getRevisions']();_0x2f78b6['reverse'](),_0x2f78b6['shift']();const _0x1c6468=_0x2f78b6['find'](_0xc90270=>_0xc90270['toVersion']<=_0x57a606)['toVersion'];return _0x1c6468<this['_startingVersion']?this['_startingVersion']:_0x1c6468;}['_createInitialRevision'](_0x577e40){const _0x43c309=this['repository']['getRevision'](this['repository']['length']-0x1);if(_0x43c309)this['_initialRevisionId']=_0x43c309['id'];else{const _0x26bb7d=!this['editor']['model']['document']['roots']['find'](_0x41d7eb=>this['editor']['model']['hasContent'](_0x41d7eb)),_0x19c1fd=this['editor']['plugins']['get']('Users')['me']['id'],_0x7a743a=y(this['editor']['locale'],_0x26bb7d?'Empty\x20document':'Initial\x20revision');this['_makeRevision']({'from':_0x577e40,'to':_0x577e40,'id':this['_initialRevisionId'],'name':_0x7a743a,'creatorId':_0x19c1fd});}}['_createCurrentRevision'](_0x5ba6e3){const _0x295eef=this['_source']['getCurrentRevisionId']();this['currentRevision']=this['repository']['getRevision'](_0x295eef),this['currentRevision']||(this['currentRevision']=this['_makeRevision']({'from':_0x5ba6e3,'to':_0x5ba6e3,'id':_0x295eef,'name':'','creatorId':null}));}['_makeRevision']({name:_0x5bb4c9,from:_0x5c437f,to:_0x131c3e,creatorId:_0xba687d,id:_0x2e3d1c}){const _0x2f5cdc=this['buildRevisionData']({'from':_0x5c437f,'to':_0x131c3e});_0x2f5cdc['name']=_0x5bb4c9,_0x2f5cdc['creatorId']=_0xba687d,_0x2f5cdc['id']=_0x2e3d1c;const _0x352f5f=this['addRevisionData'](_0x2f5cdc);return this['adapter']&&this['_bufferUpdate'](_0x2f5cdc['id'],_0x2f5cdc,!0x0),_0x352f5f;}['_setConversion'](){this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'});}['_removeRevisionMarkers'](_0x229c3a){return(_0x229c3a=_0x229c3a['filter'](_0x54837c=>!_0x54837c['name']||'revision-start'!==_0x54837c['name']&&'revision-end'!==_0x54837c['name']))['forEach'](_0x358533=>{'string'!=typeof _0x358533&&(_0x358533['children']=this['_removeRevisionMarkers'](_0x358533['children']),_0x358533['attributes']=_0x358533['attributes']['filter'](_0x413b30=>!_0x413b30[0x0]['startsWith']('data-revision-')));}),_0x229c3a;}constructor(_0x1b8f02){super(_0x1b8f02),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 _0x2b1eee=_0x306f0d();this['_source']={'history':this['editor']['model']['document']['history'],'getLatestVersion':()=>Promise['resolve'](this['editor']['model']['document']['version']),'getCurrentRevisionId':()=>_0x2b1eee},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'});}}function B(_0x41b545,_0x2408ce){const _0x34d349=_0x2408ce['editing']['view']['document'];if('string'==typeof _0x41b545)return new _0x1a9fdd(_0x34d349,_0x41b545);{const _0x3d9b6a=_0x41b545['children']['map'](_0x58a7e9=>B(_0x58a7e9,_0x2408ce));return new(T[_0x41b545['type']]||_0x4ce593)(_0x34d349,_0x41b545['name'],_0x41b545['attributes'],_0x3d9b6a);}}class J{['init'](_0x2c5f9f){this['source']=_0x2c5f9f;const _0xb99e7e=new Map(),_0x2f5aa6=new Map(),_0x36cf06=this['editor']['model']['document']['roots']['map'](_0x1e1dc1=>_0x1e1dc1['rootName']);for(const _0x2f5323 of _0x36cf06){const _0x5c5419=this['editor']['model']['document']['getRoot'](_0x2f5323),_0x5b752d=q(_0x5c5419);_0xb99e7e['set'](_0x2f5323,_0x5b752d),_0x2f5aa6['set'](_0x2f5323,Object['fromEntries'](_0x5c5419['getAttributes']()));}const _0x231f96=Array['from'](this['editor']['model']['markers'])['map'](_0x9b5c4=>[_0x9b5c4['name'],_0x9b5c4['getRange']()]),_0x21e294=this['source']['version'];this['_saveMetaData'](_0x21e294,_0xb99e7e,_0x231f96,_0x2f5aa6),this['_startingRevisionId']=this['_revisionId'];const _0x2d7982=new Map(),_0x4a87e2=new Map();for(const _0x4ed69e of _0x36cf06){const _0x7a3d4=G(_0x4ed69e);_0x2d7982['set'](_0x4ed69e,_0x7a3d4),_0x4a87e2['set'](_0x4ed69e,{});}this['_saveMetaData'](Number['NEGATIVE_INFINITY'],_0x2d7982,[],_0x4a87e2);}['getData'](_0x237f0f,_0x464231){if(this['_lastFrom']===_0x237f0f&&this['_lastTo']<=_0x464231)this['_savedMetaData']['size']>0x1&&this['_removeMetaData'](this['_lastTo']),this['_applyOperations'](this['_lastTo'],_0x464231,!0x0);else{if(!this['_savedMetaData']['has'](_0x237f0f)){const _0x535b95=this['_getPreviousFrom'](_0x237f0f);this['_calculateMetaData'](_0x535b95,_0x237f0f,!0x1);}this['_calculateMetaData'](_0x237f0f,_0x464231,!0x0);}return this['_lastFrom']=_0x237f0f,this['_lastTo']=_0x464231,this['_getState']();}['loadState'](_0x167259){this['_reset'](),this['_lastFrom']=_0x167259['fromVersion'],this['_lastTo']=_0x167259['toVersion'];for(const _0x352fc6 in _0x167259['diffData']){const _0x411f7e=_0x167259['diffData'][_0x352fc6]['attachChange'],_0x40969e=_0x2de5be(_0x167259['diffData'][_0x352fc6]['attributesBefore'])||{},_0x5ddaa6=this['_makeModelFromViewString'](_0x167259['diffData'][_0x352fc6]['deletions']);_0x5ddaa6['rootName']=_0x352fc6,_0x5ddaa6['_isAttached']=!_0x411f7e||!_0x411f7e['isAttached'],_0x5ddaa6['isAttached']=()=>_0x5ddaa6['_isAttached'],this['_baseRoots']['set'](_0x352fc6,_0x5ddaa6),this['_baseRootsAttributes']['set'](_0x352fc6,_0x40969e),_0x411f7e&&this['_touchedRoots']['set'](_0x352fc6,_0x411f7e);const _0x689e8b=this['_makeIdsRoot'](_0x5ddaa6);this['_baseIdsRoots']['set'](_0x352fc6,_0x689e8b);for(const [_0x5e4174,_0x2610d6]of _0x5ddaa6['markers']){if(!_0x5e4174['startsWith']('revision:'))continue;const _0x1b210b=_0x5e4174['split'](':')[0x2];for(const _0xaa3ca6 of _0x2610d6['getWalker']({'singleCharacters':!0x0})){const _0x386a47=this['_getVidAttributeName'](_0xaa3ca6),_0x7fa228='elementEnd'==_0xaa3ca6['type']?_0xaa3ca6['previousPosition']['path']['slice'](0x0,-0x1):_0xaa3ca6['previousPosition']['path'],_0x5af3be=_0x689e8b['getNodeByPath'](_0x7fa228)['getAttribute'](_0x386a47);this['_touched']['set'](_0x5af3be,{'userId':_0x1b210b});}}}this['_startingRevisionId']=this['_revisionId'];const _0x4fafc5=[...Array(this['_revisionId'])['keys']()]['slice'](0x1)['filter'](_0x421c39=>!this['_touched']['has'](_0x421c39));let _0x572cf5=0x0;const _0x1a4019=new Map();for(const _0x57f1ae in _0x167259['diffData']){const _0x4a502e=_0x167259['diffData'][_0x57f1ae]['attachChange'],_0x5ed921=_0x2de5be(_0x167259['diffData'][_0x57f1ae]['attributesAfter'])||{},_0x50f8ba=this['_makeModelFromViewString'](_0x167259['diffData'][_0x57f1ae]['insertions']);_0x50f8ba['rootName']=_0x57f1ae,_0x50f8ba['_isAttached']=!_0x4a502e||_0x4a502e['isAttached'],_0x50f8ba['isAttached']=()=>_0x50f8ba['_isAttached'],this['_diffRoots']['set'](_0x57f1ae,_0x50f8ba),this['_diffRootsAttributes']['set'](_0x57f1ae,_0x5ed921);const _0x4c3103=this['_makeIdsRoot'](_0x50f8ba,Number['NEGATIVE_INFINITY']);this['_idsRoots']['set'](_0x57f1ae,_0x4c3103),_0x1a4019['set'](_0x57f1ae,_0x50f8ba['isAttached']()?_0x5ed921:{});for(const [_0x3fa91f,_0x3b461b]of _0x50f8ba['markers']){if(!_0x3fa91f['startsWith']('revision:'))continue;const _0x4a0930=_0x3fa91f['split'](':')[0x2];for(const _0xab81a0 of _0x3b461b['getWalker']({'singleCharacters':!0x0})){const _0x386831=this['_getVidAttributeName'](_0xab81a0),_0x1d19de=this['_revisionId']++,_0x3ea295='elementEnd'==_0xab81a0['type']?_0xab81a0['previousPosition']['path']['slice'](0x0,-0x1):_0xab81a0['previousPosition']['path'];_0x4c3103['getNodeByPath'](_0x3ea295)['_setAttribute'](_0x386831,_0x1d19de),this['_touched']['set'](_0x1d19de,{'userId':_0x4a0930});}}for(const _0x1b9b5e of this['editor']['model']['createRangeIn'](_0x50f8ba)['getWalker']({'singleCharacters':!0x0})){const _0x42230d=this['_getVidAttributeName'](_0x1b9b5e),_0x6dcc12='elementEnd'==_0x1b9b5e['type']?_0x1b9b5e['previousPosition']['path']['slice'](0x0,-0x1):_0x1b9b5e['previousPosition']['path'],_0x19cb70=_0x4c3103['getNodeByPath'](_0x6dcc12);_0x19cb70['getAttribute'](_0x42230d)>0x0||_0x19cb70['_setAttribute'](_0x42230d,_0x4fafc5[_0x572cf5++]);}for(const [_0x1310d4,_0x2d3254]of _0x50f8ba['markers'])_0x1310d4['startsWith']('revision:')||this['_markers']['set'](_0x1310d4,_0x2d3254);}const _0x93b8cd=G('$graveyard');this['_baseRoots']['set']('$graveyard',_0x93b8cd),this['_baseIdsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x93b8cd,0x1));const _0xc7270a=G('$graveyard');this['_diffRoots']['set']('$graveyard',_0xc7270a),this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0xc7270a,0x1));const _0x5138d6=Array['from'](this['_diffRoots'])['map'](([_0x435c6a,_0x5199ad])=>[_0x435c6a,q(_0x5199ad)]);this['_saveMetaData'](this['_lastTo'],_0x5138d6,this['_markers'],_0x1a4019);}['_makeModelFromViewString'](_0x59a701){const _0x50d68f=JSON['parse'](_0x59a701),_0x35e686=this['editor']['editing']['view']['document'],_0x3b3659=new _0x305ea1(_0x35e686,_0x50d68f['map'](_0x5b9e29=>B(_0x5b9e29,this['editor'])));return this['editor']['data']['toModel'](_0x3b3659);}['_saveMetaData'](_0x43c5b8,_0x3082f7,_0x2eacf3,_0x12481c){const _0x34730=new Map(_0x3082f7),_0x5bd0da=new Map(_0x2de5be(_0x12481c)),_0x2d5229=new Map();for(const [_0x1b676b,_0x4154e0]of _0x2eacf3)_0x2d5229['set'](_0x1b676b,{'start':_0x4154e0['start']['clone'](),'end':_0x4154e0['end']['clone'](),'rootName':_0x4154e0['root']['rootName']});this['_savedMetaData']['set'](_0x43c5b8,{'roots':_0x34730,'markers':_0x2d5229,'rootsAttributes':_0x5bd0da});}['_removeMetaData'](_0x2b3318){this['_savedMetaData']['delete'](_0x2b3318);}['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'](_0x25152c,_0x488188=null){let _0x2c8222=null;_0x25152c['is']('documentFragment')||(_0x2c8222=new ft(_0x25152c['name'],{'vid_start':null===_0x488188?this['_revisionId']++:_0x488188++}));const _0x118650=[];for(const _0x324622 of _0x25152c['getChildren']())if(_0x324622['is']('element')){_0x118650['push'](this['_makeIdsRoot'](_0x324622,_0x488188));const _0x39463d=_0x118650[_0x118650['length']-0x1];null!==_0x488188&&(_0x488188=_0x39463d['is']('element','$text')?_0x39463d['getAttribute']('vid')+0x1:_0x39463d['getAttribute']('vid_end')+0x1);}else{for(let _0x174b16=0x0;_0x174b16<_0x324622['offsetSize'];_0x174b16++)_0x118650['push'](new ft('$text',{'vid':null===_0x488188?this['_revisionId']++:_0x488188++}));}if(_0x25152c['is']('documentFragment')){const _0x2938c7=G(_0x25152c['rootName']);return _0x2938c7['_insertChild'](0x0,_0x118650),_0x2938c7;}return _0x2c8222['_setAttribute']('vid_end',null===_0x488188?this['_revisionId']++:_0x488188++),_0x2c8222['_insertChild'](0x0,_0x118650),_0x2c8222;}['_calculateMetaData'](_0x36d185,_0x2a75fd,_0x1863ff){this['_reset']();const {roots:_0x4a56e8,markers:_0x1913e7,rootsAttributes:_0x40c52d}=this['_savedMetaData']['get'](_0x36d185);this['_baseRoots']=new Map(_0x4a56e8),this['_baseRootsAttributes']=new Map(_0x2de5be(_0x40c52d));for(const [_0x4e1a25,_0x551494]of this['_baseRoots'])if('$graveyard'!==_0x4e1a25&&(this['_diffRoots']['set'](_0x4e1a25,q(_0x551494)),this['_diffRootsAttributes']=new Map(_0x2de5be(_0x40c52d)),_0x1863ff)){const _0x479328=this['_revisionId'];this['_idsRoots']['set'](_0x4e1a25,this['_makeIdsRoot'](_0x551494)),this['_baseIdsRoots']['set'](_0x4e1a25,this['_makeIdsRoot'](_0x551494,_0x479328));}this['_startingRevisionId']=this['_revisionId'],this['_diffRoots']['set']('$graveyard',q(this['_baseRoots']['get']('$graveyard'))),_0x1863ff&&this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](this['_baseRoots']['get']('$graveyard')));for(const [_0x1ad744,_0xb3a953]of _0x1913e7){const _0x4c6cb5=this['_baseRoots']['get'](_0xb3a953['rootName']),_0x1bf80b=this['_diffRoots']['get'](_0xb3a953['rootName']),_0x3edad8=new gt(this['_fixPosition'](_0xb3a953['start'],_0x4c6cb5),this['_fixPosition'](_0xb3a953['end'],_0x4c6cb5)),_0x28cf04=this['_fixRange'](_0x3edad8,_0x1bf80b);_0x4c6cb5['markers']['set'](_0x1ad744,_0x3edad8),this['_markers']['set'](_0x1ad744,_0x28cf04);}this['_applyOperations'](_0x36d185,_0x2a75fd,_0x1863ff);}['_applyOperations'](_0x349607,_0x5b035f,_0x2639c8){for(const _0x24189a of this['source']['getOperations'](_0x349607,_0x5b035f))this['_handleOperation'](_0x24189a,_0x2639c8);for(const _0x1fda57 of this['_diffRoots']['values']())_0x1fda57['markers']['clear']();for(const [_0x37c265,_0x1dab9a]of this['_markers']){this['_diffRoots']['get'](_0x1dab9a['root']['rootName'])['markers']['set'](_0x37c265,_0x1dab9a['clone']());}const _0x5324e5=new Map(),_0x37a27c=new Map();for(const [_0x189765,_0x311f56]of this['_diffRoots'])_0x5324e5['set'](_0x189765,q(_0x311f56)),_0x37a27c['set'](_0x189765,this['_diffRootsAttributes']['get'](_0x189765));this['_saveMetaData'](_0x5b035f,_0x5324e5,this['_markers'],_0x37a27c);}['_getPreviousFrom'](_0x6897bf){const _0x5b154d=Array['from'](this['_savedMetaData']['keys']());_0x5b154d['sort']((_0x497973,_0x508ee0)=>_0x497973-_0x508ee0),_0x5b154d['reverse']();for(const _0x104032 of _0x5b154d)if(_0x104032<_0x6897bf)return _0x104032;return Number['NEGATIVE_INFINITY'];}['_copyMarkers'](_0x329553,_0x289b29){const _0x432e0b=Array['from'](_0x289b29['markers'])['map'](([_0x59ca6c,_0x490e96])=>[_0x59ca6c,this['_fixRange'](_0x490e96,_0x329553)]);_0x329553['markers']=new Map(_0x432e0b);}['_transformMarkers'](_0x44db5d){for(const _0x8a9aa1 of this['_markers']['values']()){const _0x362d2a=_0x8a9aa1['getTransformedByOperation'](_0x44db5d),_0x8fca1e=gt['_createFromRanges'](_0x362d2a);_0x8a9aa1['start']=_0x8fca1e['start'],_0x8a9aa1['end']=_0x8fca1e['end'];}}['_handleOperation'](_0x1a3de3,_0x5f5666){if('addRoot'==_0x1a3de3['type']||'detachRoot'==_0x1a3de3['type'])return void this['_handleRootOperation'](_0x1a3de3,_0x5f5666);if('insert'==_0x1a3de3['type']){const _0x30fd81=_0x1a3de3['position']['root']['rootName'];this['_diffRoots']['has'](_0x30fd81)||(this['_diffRoots']['set'](_0x30fd81,G(_0x30fd81,!0x0)),this['_diffRootsAttributes']['set'](_0x30fd81,{}),_0x5f5666&&this['_idsRoots']['set'](_0x30fd81,G(_0x30fd81,!0x0)));}else{if('addRootAttribute'==_0x1a3de3['type']||'removeRootAttribute'==_0x1a3de3['type']||'changeRootAttribute'==_0x1a3de3['type'])return void this['_handleRootAttributeOperation'](_0x1a3de3);}const _0x88c220=this['_cloneOperation'](_0x1a3de3,this['_diffRoots']);if('marker'!==_0x1a3de3['type']&&(_0x88c220['_execute'](),this['_transformMarkers'](_0x88c220)),_0x5f5666)switch(_0x88c220['type']){case'insert':this['_handleInsertOperation'](_0x1a3de3);break;case'move':case'remove':case'reinsert':this['_handleMoveOperation'](_0x1a3de3);break;case'merge':this['_handleMergeOperation'](_0x1a3de3);break;case'split':this['_handleSplitOperation'](_0x1a3de3);break;case'marker':this['_handleMarkerOperation'](_0x1a3de3);}}['_cloneOperation'](_0x43fcfe,_0x4dc420){const _0xd27105=_0x43fcfe['clone']();return _0xd27105['_authorId']=_0x43fcfe['_authorId'],this['_fixOperation'](_0xd27105,_0x4dc420),_0xd27105;}['_getBaseVids'](_0x4e45c6){return _0x4e45c6['map'](_0x1a49c7=>{const _0x10a13a=this['_getVidAttributeName'](_0x1a49c7);return Number(_0x1a49c7['item']['getAttribute'](_0x10a13a));});}['_generateTape'](_0x1cfb1d,_0x1a8629){if(_0x1cfb1d['is']('element','$text'))_0x1a8629['push']({'item':_0x1cfb1d,'type':'text'});else{_0x1cfb1d['is']('element')&&_0x1a8629['push']({'item':_0x1cfb1d,'type':'elementStart'});for(const _0xadd14b of _0x1cfb1d['getChildren']())this['_generateTape'](_0xadd14b,_0x1a8629);_0x1cfb1d['is']('element')&&_0x1a8629['push']({'item':_0x1cfb1d,'type':'elementEnd'});}return _0x1a8629;}['_getState'](){const _0x2c38a2=new Map(this['_touched']),_0x7e89a1=new Map(_0x2c38a2),_0x4f60d0=new Map(),_0x4663b4={'insertions':{},'deletions':{}},_0xd098b4={'insertions':{},'deletions':{}},_0x296182=new Map(),_0x558318=new Set([...this['_baseRoots']['keys'](),...this['_diffRoots']['keys']()]);_0x558318['delete']('$graveyard');for(const _0xf3665c of _0x558318){const _0x1e6ef7=this['_diffRoots']['get'](_0xf3665c)||G(_0xf3665c,!0x1),_0x1df6b1=this['_baseRoots']['get'](_0xf3665c)||G(_0xf3665c,!0x1);_0x1e6ef7['isAttached']()||_0x1df6b1['isAttached']()?(_0x4663b4['insertions'][_0xf3665c]=q(_0x1e6ef7),_0x4663b4['deletions'][_0xf3665c]=q(_0x1df6b1),this['_copyMarkers'](_0x4663b4['deletions'][_0xf3665c],_0x1df6b1),this['_copyMarkers'](_0x4663b4['insertions'][_0xf3665c],_0x1e6ef7),_0xd098b4['insertions'][_0xf3665c]=this['_generateTape'](this['_idsRoots']['get'](_0xf3665c),[]),_0xd098b4['deletions'][_0xf3665c]=this['_generateTape'](this['_baseIdsRoots']['get'](_0xf3665c)||G(_0xf3665c,!0x1),[])):_0x558318['delete'](_0xf3665c);}for(const _0x6412af of _0x558318){const _0x14abc5=_0xd098b4['insertions'][_0x6412af];for(const _0x16e65c of _0x14abc5){const _0x179e8d=this['_getVidAttributeName'](_0x16e65c),_0x78ea08=_0x16e65c['item']['getAttribute'](_0x179e8d);_0x7e89a1['delete'](_0x78ea08),_0x78ea08>=this['_startingRevisionId']&&_0x4f60d0['set'](_0x78ea08,_0x2c38a2['get'](_0x78ea08));}}for(const _0xc132c6 of _0x558318){const _0x4f0b49=_0xd098b4['insertions'][_0xc132c6],_0x5ae781=this['_getBaseVids'](_0xd098b4['deletions'][_0xc132c6]);let _0x2b1960=0x0;for(const _0x217eb8 of _0x4f0b49){const _0x18514d=this['_getVidAttributeName'](_0x217eb8),_0x12b6c7=_0x217eb8['item']['getAttribute'](_0x18514d);if(!_0x4f60d0['has'](_0x12b6c7)&&!_0x296182['has'](_0x12b6c7)){if(_0x7e89a1['has'](_0x12b6c7))_0x2b1960++;else{if(_0x12b6c7!=_0x5ae781[_0x2b1960]){const _0x3abfd0=_0x2c38a2['get'](_0x12b6c7)||_0x2c38a2['get'](_0x5ae781[_0x2b1960]);for(;_0x12b6c7!=_0x5ae781[_0x2b1960];)_0x7e89a1['has'](_0x5ae781[_0x2b1960])||(_0x296182['set'](_0x5ae781[_0x2b1960],_0x3abfd0),_0x2c38a2['set'](_0x5ae781[_0x2b1960],_0x3abfd0)),_0x2b1960++;}_0x2b1960++;}}}}for(const _0x5c2d57 of _0x558318){const _0xf1015d=_0xd098b4['insertions'][_0x5c2d57];for(const _0x576e22 of _0xf1015d){const _0x5a81be=this['_getVidAttributeName'](_0x576e22),_0x3d8cdd=_0x576e22['item']['getAttribute'](_0x5a81be);if(_0x296182['has'](_0x3d8cdd)){const _0x1e808e=_0x296182['get'](_0x3d8cdd);_0x7e89a1['has'](_0x3d8cdd)||_0x7e89a1['set'](_0x3d8cdd,{..._0x1e808e}),_0x4f60d0['set'](_0x3d8cdd,{..._0x1e808e});}}}for(const _0x1bd3ff of _0x7e89a1['keys']())_0x1bd3ff>=this['_startingRevisionId']&&_0x7e89a1['delete'](_0x1bd3ff);const _0x424671=new Map();for(const _0x3dcdf2 of _0x558318){let _0x307e93=_0xd098b4['insertions'][_0x3dcdf2];for(const _0x5d6503 of _0x307e93)if(_0x5d6503['item']['is']('element','tableCell')){const _0x58c364=this['_getVidAttributeName'](_0x5d6503),_0x2ab1b6=_0x5d6503['item']['getAttribute'](_0x58c364);if(_0x4f60d0['has'](_0x2ab1b6)){const _0x2f3c97=_0x5d6503['item']['parent']['parent']['getAttribute']('vid_start'),_0x38ffb3=_0x424671['get'](_0x2f3c97)||new Set();_0x38ffb3['add'](_0x4f60d0['get'](_0x2ab1b6)['userId']),_0x424671['set'](_0x2f3c97,_0x38ffb3);}}_0x307e93=_0xd098b4['deletions'][_0x3dcdf2];for(const _0x2abe7d of _0x307e93)if(_0x2abe7d['item']['is']('element','tableCell')){const _0x50430c=this['_getVidAttributeName'](_0x2abe7d),_0x177ab7=_0x2abe7d['item']['getAttribute'](_0x50430c);if(_0x7e89a1['has'](_0x177ab7)){const _0x2208bb=_0x2abe7d['item']['parent']['parent']['getAttribute']('vid_start'),_0x1a3743=_0x424671['get'](_0x2208bb)||new Set();_0x1a3743['add'](_0x7e89a1['get'](_0x177ab7)['userId']),_0x424671['set'](_0x2208bb,_0x1a3743);}}for(const _0x28e743 of _0x424671['keys']())(_0x4f60d0['has'](_0x28e743)||_0x7e89a1['has'](_0x28e743))&&_0x424671['delete'](_0x28e743);}for(const _0x429c9e of _0x558318){const _0x45f5de=_0xd098b4['insertions'][_0x429c9e];let _0x7a4ddd=null,_0x22ba50=null;for(const _0x1b000b of _0x45f5de){const _0xf15ba4=this['_getVidAttributeName'](_0x1b000b),_0x383fb6=_0x1b000b['item']['getAttribute'](_0xf15ba4),_0x5ab813=_0x424671['get'](_0x383fb6);_0x5ab813&&'elementStart'==_0x1b000b['type']&&(_0x7a4ddd=Array['from'](_0x5ab813)[0x0],_0x22ba50=_0x1b000b['item']['getAttribute']('vid_end')),_0x7a4ddd&&(_0x7e89a1['set'](_0x383fb6,{'userId':_0x7a4ddd}),_0x4f60d0['set'](_0x383fb6,{'userId':_0x7a4ddd})),_0x383fb6==_0x22ba50&&(_0x7a4ddd=null,_0x22ba50=null);}}const _0x32b04c={},_0x3aed27=new Set();for(const _0x2673e3 of _0x558318){const _0x531d9d=_0x4663b4['deletions'][_0x2673e3],_0x588b32=_0x4663b4['insertions'][_0x2673e3];for(const {userId:_0x5ba73b}of this['_touchedMarkers']['values']())null!==_0x5ba73b&&_0x3aed27['add'](_0x5ba73b);for(const {userId:_0x55fbb3}of this['_touchedRoots']['values']())null!==_0x55fbb3&&_0x3aed27['add'](_0x55fbb3);this['_markChanges'](_0x588b32,_0xd098b4['insertions'][_0x2673e3],_0x4f60d0,'insertion',_0x3aed27),this['_markChanges'](_0x531d9d,_0xd098b4['deletions'][_0x2673e3],_0x7e89a1,'deletion',_0x3aed27),_0x32b04c[_0x2673e3]={'insertions':this['_prepareViewToSave'](_0x588b32),'deletions':this['_prepareViewToSave'](_0x531d9d),'attachChange':this['_touchedRoots']['get'](_0x2673e3)||null,'attributesBefore':_0x2de5be(this['_baseRootsAttributes']['get'](_0x2673e3))||{},'attributesAfter':_0x2de5be(this['_diffRootsAttributes']['get'](_0x2673e3))};}return{'diffData':_0x32b04c,'authorsIds':Array['from'](_0x3aed27)};}['_processRootBeforeSave'](_0x14dc7e){for(const [,_0x4d9443]of _0x14dc7e['markers']){const _0x317026=_0x4d9443['start']['getAncestors']()['filter'](_0x442086=>'tableCell'==_0x442086['name']);for(const _0x3b481f of _0x317026)0x1==_0x3b481f['childCount']&&_0x3b481f['getChild'](0x0)['is']('element','paragraph')&&_0x3b481f['getChild'](0x0)['_setAttribute']('keepParagraph',!0x0);}}['_prepareViewToSave'](_0x77662e){this['_processRootBeforeSave'](_0x77662e);const _0x118bc2=this['editor']['data']['toView'](_0x77662e,{}),_0x24f43c=Array['from'](_0x118bc2['getChildren']())['map'](_0x513e9c=>this['_getViewJson'](_0x513e9c));return JSON['stringify'](_0x24f43c);}['_getViewJson'](_0x3af728){if(_0x3af728['is']('$text'))return _0x3af728['data'];{const _0x6ff350=_0x3af728;return{'type':Object['keys'](T)['find'](_0x562705=>_0x3af728 instanceof T[_0x562705]),'name':_0x6ff350['name'],'attributes':Array['from'](_0x6ff350['getAttributes']()),'children':Array['from'](_0x6ff350['getChildren']())['map'](_0x589545=>this['_getViewJson'](_0x589545))};}}['_markChanges'](_0x3f5da6,_0x115a54,_0x44b321,_0x335370,_0x3f30b0){let _0x1ae50=null,_0x227d44=null,_0x1baef3=0x0;const _0xf21851=this['editor']['model'];for(let _0xcdd7f5=0x0;_0xcdd7f5<_0x115a54['length'];_0xcdd7f5++){const _0x2621b2=this['_getVidAttributeName'](_0x115a54[_0xcdd7f5]),_0x216604=_0x115a54[_0xcdd7f5]['item']['getAttribute'](_0x2621b2),_0x3ce9dc=_0x44b321['get'](_0x216604),_0x1c3483=_0xcdd7f5==_0x115a54['length']-0x1;(!_0x1ae50&&_0x3ce9dc&&(_0x1ae50=_0x3ce9dc,_0x227d44=_0x115a54[_0xcdd7f5]),_0x1ae50&&(!_0x3ce9dc||_0x3ce9dc['userId']!=_0x1ae50['userId']))&&(_0x277e75(_0x3ce9dc,L(_0x227d44,_0x3f5da6,_0xf21851),L(_0x115a54[_0xcdd7f5],_0x3f5da6,_0xf21851)),_0x1ae50=_0x3ce9dc||null,_0x227d44=_0x3ce9dc?_0x115a54[_0xcdd7f5]:null),_0x1ae50&&_0x1c3483&&_0x277e75(_0x3ce9dc,L(_0x227d44,_0x3f5da6,_0xf21851),W(_0x115a54[_0xcdd7f5],_0x3f5da6,_0xf21851));}function _0x277e75(_0x43ba5d,_0x5add5b,_0x116807){const _0x2785a3=_0x1ae50['userId'],_0x19a4e1='revision:'+_0x335370+':'+_0x2785a3+':'+_0x1baef3++,_0x467e2c=_0xf21851['createRange'](_0x5add5b,_0x116807);_0x3f5da6['markers']['set'](_0x19a4e1,_0x467e2c),null!==_0x2785a3&&_0x3f30b0['add'](_0x2785a3);}}['_getVidAttributeName'](_0x8dc011){switch(_0x8dc011['type']){case'elementStart':return'vid_start';case'elementEnd':return'vid_end';default:return'vid';}}['_fixOperation'](_0x459b46,_0x46eb95){_0x459b46['baseVersion']=null;for(const _0x502b4e in _0x459b46){const _0x3571ef=_0x459b46[_0x502b4e];if(_0x3571ef instanceof wt){const _0x33e539=_0x46eb95['get'](_0x3571ef['root']['rootName']);_0x459b46[_0x502b4e]=this['_fixPosition'](_0x3571ef,_0x33e539);}if(_0x3571ef instanceof gt){const _0x121e40=_0x46eb95['get'](_0x3571ef['root']['rootName']);_0x459b46[_0x502b4e]=this['_fixRange'](_0x3571ef,_0x121e40);}'root'===_0x502b4e&&(_0x459b46['root']=_0x46eb95['get'](_0x459b46['root']['rootName']));}}['_fixRange'](_0x1cdb2a,_0x578154){return this['editor']['model']['createRange'](this['_fixPosition'](_0x1cdb2a['start'],_0x578154),this['_fixPosition'](_0x1cdb2a['end'],_0x578154));}['_fixPosition'](_0x55b664,_0x540b1a){return this['editor']['model']['createPositionFromPath'](_0x540b1a,_0x55b664['path'],_0x55b664['stickiness']);}['_handleInsertOperation'](_0x9ff8f0){const _0x18cc13=this['_idsRoots']['get'](_0x9ff8f0['position']['root']['rootName']),_0xa33f9c=this['_fixPosition'](_0x9ff8f0['position'],_0x18cc13),_0x2f241e=null===_0x9ff8f0['_authorId']?null:_0x9ff8f0['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x2bd54b=_0xa33f9c['parent'],_0x3aed9d=this['_revisionId'],_0x7032d1=[];for(const _0x47356f of _0x9ff8f0['nodes'])if(_0x47356f['is']('element'))_0x7032d1['push'](this['_makeIdsRoot'](_0x47356f));else{for(let _0x3a82b0=0x0;_0x3a82b0<_0x47356f['offsetSize'];_0x3a82b0++)_0x7032d1['push'](new ft('$text',{'vid':this['_revisionId']++}));}const _0x360428=this['_revisionId'];for(let _0x39caf4=_0x3aed9d;_0x39caf4<_0x360428;_0x39caf4++)this['_touched']['set'](_0x39caf4,{'userId':_0x2f241e});_0x2bd54b['_insertChild'](_0xa33f9c['offset'],_0x7032d1);}['_handleMoveOperation'](_0x19a878){(_0x19a878=this['_cloneOperation'](_0x19a878,this['_idsRoots']))['_execute']();const _0x1898f7=null===_0x19a878['_authorId']?null:_0x19a878['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x559551=_0x19a878['getMovedRangeStart'](),_0x15517e=_0x559551['parent'],_0x5c772a=_0x559551['offset'];!function _0x391431(_0x177667,_0x1df6d1,_0x1496f0,_0x160eee){for(let _0xad2a73=_0x1496f0;_0xad2a73<_0x160eee;_0xad2a73++){const _0x594135=_0x1df6d1['getChild'](_0xad2a73);_0x594135['is']('element','$text')?_0x177667['set'](_0x594135['getAttribute']('vid'),{'userId':_0x1898f7}):(_0x177667['set'](_0x594135['getAttribute']('vid_start'),{'userId':_0x1898f7}),_0x391431(_0x177667,_0x594135,0x0,_0x594135['childCount']),_0x177667['set'](_0x594135['getAttribute']('vid_end'),{'userId':_0x1898f7}));}}(this['_touched'],_0x15517e,_0x5c772a,_0x5c772a+_0x19a878['howMany']);}['_handleMergeOperation'](_0x3c6c62){const _0x49a495=null===(_0x3c6c62=this['_cloneOperation'](_0x3c6c62,this['_idsRoots']))['_authorId']?null:_0x3c6c62['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x3df72b=_0x3c6c62['targetPosition']['parent'],_0x11c3d8=_0x3c6c62['sourcePosition']['parent'],_0x23d0ee=_0x3df72b['getAttribute']('vid_end'),_0x33d789=_0x11c3d8['getAttribute']('vid_start');_0x3df72b['_setAttribute']('vid_end',_0x11c3d8['getAttribute']('vid_end')),_0x11c3d8['_setAttribute']('vid_end',_0x23d0ee),this['_touched']['set'](_0x33d789,{'userId':_0x49a495}),this['_touched']['set'](_0x23d0ee,{'userId':_0x49a495}),_0x3c6c62['_execute']();}['_handleSplitOperation'](_0x335730){const _0x6aa022=null===(_0x335730=this['_cloneOperation'](_0x335730,this['_idsRoots']))['_authorId']?null:_0x335730['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0xa107ce=_0x335730['graveyardPosition'],_0x480276=_0x335730['splitPosition']['parent'];_0x335730['_execute']();const _0x31b3f7=_0x480276['getAttribute']('vid_end'),_0x1dbdd5=_0x335730['insertionPosition']['nodeAfter'];if(_0xa107ce){const _0x1c19e4=_0x1dbdd5['getAttribute']('vid_end'),_0x32f231=_0x480276['getAttribute']('vid_end');_0x480276['_setAttribute']('vid_end',_0x1c19e4),_0x1dbdd5['_setAttribute']('vid_end',_0x32f231),this['_touched']['set'](_0x480276['getAttribute']('vid_end'),{'userId':_0x6aa022}),this['_touched']['set'](_0x1dbdd5['getAttribute']('vid_start'),{'userId':_0x6aa022});}else{const _0x35d85d=this['_revisionId']++,_0x4dcd19=this['_revisionId']++;_0x480276['_setAttribute']('vid_end',_0x35d85d),_0x1dbdd5['_setAttribute']('vid_start',_0x4dcd19),_0x1dbdd5['_setAttribute']('vid_end',_0x31b3f7),this['_touched']['set'](_0x35d85d,{'userId':_0x6aa022}),this['_touched']['set'](_0x4dcd19,{'userId':_0x6aa022});}}['_handleMarkerOperation'](_0x2101cc){if(!_0x2101cc['affectsData'])return;const _0x233c2d=(_0x2101cc=this['_cloneOperation'](_0x2101cc,this['_diffRoots']))['oldRange']?_0x2101cc['oldRange']['root']:null,_0x4c2050=_0x2101cc['newRange']?_0x2101cc['newRange']['root']:null;_0x233c2d&&this['_markers']['delete'](_0x2101cc['name']),_0x4c2050&&this['_markers']['set'](_0x2101cc['name'],_0x2101cc['newRange']['clone']());const _0x1fcb87=null===_0x2101cc['_authorId']?null:_0x2101cc['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x5da32b=_0x2101cc['name'];if(!this['_touchedMarkers']['has'](_0x5da32b))return void this['_touchedMarkers']['set'](_0x5da32b,{'range':_0x2101cc['oldRange'],'userId':_0x1fcb87});const _0x4b0851=this['_touchedMarkers']['get'](_0x5da32b),_0x3896ee=_0x4b0851['range'],_0x2261d8=_0x2101cc['newRange'];null==_0x3896ee&&null==_0x2261d8||_0x3896ee&&_0x2261d8&&_0x3896ee['isEqual'](_0x2261d8)?this['_touchedMarkers']['delete'](_0x2101cc['name']):_0x4b0851['userId']=_0x1fcb87;}['_handleRootOperation'](_0x4029de,_0x5cbaac){this['_diffRoots']['has'](_0x4029de['rootName'])?this['_diffRoots']['get'](_0x4029de['rootName'])['_isAttached']=_0x4029de['isAdd']:(this['_diffRoots']['set'](_0x4029de['rootName'],G(_0x4029de['rootName'],!0x0)),this['_diffRootsAttributes']['set'](_0x4029de['rootName'],{}),_0x5cbaac&&this['_idsRoots']['set'](_0x4029de['rootName'],G(_0x4029de['rootName'],!0x0)));const _0x12976b=null===_0x4029de['_authorId']?null:_0x4029de['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x5491ec=this['_touchedRoots']['get'](_0x4029de['rootName']);_0x5491ec&&_0x5491ec['userId']===_0x12976b?this['_touchedRoots']['delete'](_0x4029de['rootName']):this['_touchedRoots']['set'](_0x4029de['rootName'],{'userId':_0x12976b,'isAttached':_0x4029de['isAdd']});}['_handleRootAttributeOperation'](_0x19c968){const _0x2f24b4=this['_diffRootsAttributes']['get'](_0x19c968['root']['rootName']);null===_0x19c968['newValue']?delete _0x2f24b4[_0x19c968['key']]:_0x2f24b4[_0x19c968['key']]=_0x19c968['newValue'];}constructor(_0x543962){this['editor']=_0x543962,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;}}function q(_0x53e5ae){const _0x50711e=G(_0x53e5ae['rootName'],_0x53e5ae['isAttached']());for(const _0x371050 of _0x53e5ae['getChildren']()){const _0x357519=_0x371050['_clone'](!0x0);_0x50711e['_appendChild'](_0x357519);}return _0x50711e;}function G(_0x2ebc83,_0x196f4d=!0x0){const _0x1e4ea5=new _t();return _0x1e4ea5['rootName']=_0x2ebc83,_0x1e4ea5['_isAttached']=_0x196f4d,_0x1e4ea5['isAttached']=()=>_0x1e4ea5['_isAttached'],_0x1e4ea5;}function L(_0x2a2bf5,_0x6445b6,_0x228fe7){const _0x5dde8e='elementEnd'==_0x2a2bf5['type']?_0x228fe7['createPositionAt'](_0x2a2bf5['item'],'end'):_0x228fe7['createPositionBefore'](_0x2a2bf5['item']);return _0x228fe7['createPositionFromPath'](_0x6445b6,_0x5dde8e['path'],_0x5dde8e['stickiness']);}function W(_0x176945,_0x2df9e5,_0x2ed32b){const _0x376cf8='elementStart'==_0x176945['type']?_0x2ed32b['createPositionAt'](_0x176945['item'],0x0):_0x2ed32b['createPositionAfter'](_0x176945['item']);return _0x2ed32b['createPositionFromPath'](_0x2df9e5,_0x376cf8['path'],_0x376cf8['stickiness']);}class ns extends _0x31a2e3{['render'](){super['render'](),_0x1947b8({'view':this}),this['focusTracker']['add'](this['revisionNameInputView']['element']),this['keystrokes']['listenTo'](this['element']);const _0x246df8=_0x14c65a=>_0x14c65a['stopPropagation']();this['keystrokes']['set']('arrowright',_0x246df8),this['keystrokes']['set']('arrowleft',_0x246df8),this['keystrokes']['set']('arrowup',_0x246df8),this['keystrokes']['set']('arrowdown',_0x246df8);}['focus'](){this['revisionNameInputView']['focus']();}get['revisionName'](){return this['revisionNameInputView']['fieldView']['element']['value']['trim']();}set['revisionName'](_0x3ebb9d){this['revisionNameInputView']['fieldView']['element']['value']=_0x3ebb9d['trim']();}['reset'](){this['revisionNameInputView']['fieldView']['element']['value']='',this['revisionNameInputView']['errorText']=null;}['_createRevisionNameInput'](_0x35463c){const _0x10b075=new mt(this['locale'],_0x5d53d4),_0x3093b1=_0x10b075['fieldView'];_0x3093b1['extendTemplate']({'attributes':{'maxlength':'220'}});let _0x5b49a2=y(this['locale'],'Name\x20of\x20the\x20revision');return!_0x35463c&&(_0x5b49a2+='\x20('+y(this['locale'],'optional')+')'),(_0x10b075['label']=_0x5b49a2,_0x3093b1['on']('input',()=>{this['revisionNameInputValue']=_0x3093b1['element']['value']['trim']();}),_0x10b075);}constructor(_0x1af72e,_0x576822){super(_0x1af72e),this['focusTracker']=new _0x2f39e5(),this['keystrokes']=new _0x3884d3(),this['set']('revisionNameInputValue',''),this['revisionNameInputView']=this['_createRevisionNameInput'](_0x576822),this['setTemplate']({'tag':'form','attributes':{'class':['ck','ck-revision-history-save-revision-form','ck-responsive-form'],'tabindex':'-1'},'children':[this['revisionNameInputView']]}),ts(this);}}class u extends _0x570a5a{static get['pluginName'](){return'RevisionHistoryUI';}static get['requires'](){return[l];}['init'](){const _0x1bb479=this['editor'],_0x5eef5c=_0x1bb479['plugins']['get']('RevisionTracker');_0x1bb479['ui']['componentFactory']['add']('revisionHistory',_0x2e6b9b=>{const _0x5ce98c=_0xdccbe0(_0x2e6b9b),_0x4cdf66=_0x5ce98c['panelView']['children'],_0x19e5b0=new te(_0x2e6b9b),_0xbe1069=new _0x366224(_0x2e6b9b),_0x3bf682=new _0x4ba64e(_0x2e6b9b),_0x5cc0ef=new _0x366224(_0x2e6b9b),_0xf834d4=new _0x4ba64e(_0x2e6b9b);return _0x5ce98c['bind']('isEnabled')['to'](_0x5eef5c,'isReady',_0x5eef5c,'isEnabled',_0x1bb479,'isReadOnly',(_0xe442b0,_0x249756,_0x533132)=>_0xe442b0&&_0x249756&&!_0x533132),_0x5ce98c['buttonView']['set']({'icon':_0x528e9f['history'],'label':y(_0x2e6b9b,'Revision\x20history'),'tooltip':!0x0}),_0x3bf682['set']({'label':y(_0x2e6b9b,'Save\x20current\x20revision'),'withText':!0x0}),_0x3bf682['bind']('isEnabled')['to'](_0x5eef5c,'isReady',_0x5eef5c,'isEnabled',_0x1bb479,'isReadOnly',(_0x2a50dc,_0x325c02,_0x29e23a)=>_0x2a50dc&&_0x325c02&&!_0x29e23a),_0x3bf682['on']('execute',()=>this['_showDialog']()),_0xf834d4['set']({'label':y(_0x2e6b9b,'Open\x20revision\x20history'),'withText':!0x0}),_0xf834d4['bind']('isEnabled')['to'](_0x5eef5c,'isReady',_0x1bb479,'isReadOnly',(_0x18fe98,_0x330625)=>_0x18fe98&&!_0x330625),_0xf834d4['on']('execute',()=>{_0x1bb479['config']['get']('revisionHistory')['showRevisionViewerCallback'](),_0x5ce98c['isOpen']=!0x1,_0x1bb479['editing']['view']['focus']();}),_0xbe1069['children']['add'](_0x3bf682),_0x5cc0ef['children']['add'](_0xf834d4),_0x19e5b0['items']['addMany']([_0xbe1069,_0x5cc0ef]),_0x4cdf66['add'](_0x19e5b0),_0x5ce98c;}),_0x1bb479['ui']['componentFactory']['add']('menuBar:revisionHistory',()=>this['_registerMenuComponent']());}['_registerMenuComponent'](){const _0x182345=this['editor'],_0x3eda71=_0x182345['locale'],_0x33d153=new _0x8cfcd6(_0x3eda71),_0x4d441d=new _0xb09468(_0x3eda71);_0x33d153['buttonView']['set']({'icon':_0x528e9f['history'],'label':y(_0x3eda71,'Revision\x20history')});const _0x353a5=new _0xaec418(_0x3eda71,_0x33d153),_0x47e21c=new _0x379846(_0x3eda71);_0x47e21c['set']({'label':y(_0x3eda71,'Save\x20current\x20revision')}),_0x47e21c['delegate']('execute')['to'](_0x33d153),_0x47e21c['on']('execute',()=>{this['_showDialog']();}),_0x353a5['children']['add'](_0x47e21c),_0x4d441d['items']['add'](_0x353a5);const _0x22c162=new _0xaec418(_0x3eda71,_0x33d153),_0x591695=new _0x379846(_0x3eda71);return _0x591695['set']({'label':y(_0x3eda71,'Open\x20revision\x20history')}),_0x591695['delegate']('execute')['to'](_0x33d153),_0x591695['on']('execute',()=>{_0x182345['config']['get']('revisionHistory')['showRevisionViewerCallback']();}),_0x22c162['children']['add'](_0x591695),_0x4d441d['items']['add'](_0x22c162),_0x33d153['panelView']['children']['add'](_0x4d441d),_0x33d153;}['_showDialog'](){const _0xcf37cf=this['editor'],_0x4d2957=_0xcf37cf['locale'],t=_0x4d2957['t'],_0x25cb27=_0xcf37cf['plugins']['get']('Dialog'),_0x12720c=_0xcf37cf['plugins']['get']('RevisionTracker');function _0x56fb3e(_0x4aa827){_0xcf37cf['config']['get']('revisionHistory.requireRevisionName')&&''===_0x4aa827['revisionName']?_0x4aa827['revisionNameInputView']['errorText']=y(_0x4d2957,'The\x20revision\x20name\x20cannot\x20be\x20empty.'):(_0xcf37cf['plugins']['get'](l)['saveRevision']({'name':_0x4aa827['revisionName']}),_0x25cb27['hide']());}this['_saveRevisionFormView']||(this['_createSaveRevisionFormView'](),this['_saveRevisionFormView']['on']('submit',()=>_0x56fb3e(this['_saveRevisionFormView']))),this['_saveRevisionFormView']['reset'](),_0x25cb27['show']({'id':'findAndReplace','title':y(_0x4d2957,'Save\x20current\x20revision'),'isModal':!0x0,'content':this['_saveRevisionFormView'],'actionButtons':[{'label':t('Cancel'),'withText':!0x0,'onExecute':()=>_0x25cb27['hide']()},{'label':t('Accept'),'class':'ck-button-action','withText':!0x0,'onCreate'(_0x36546f){_0x36546f['bind']('isEnabled')['to'](_0x12720c,'isReady',_0x12720c,'isEnabled',_0xcf37cf,'isReadOnly',(_0x2d71d7,_0x5581b6,_0xf50a20)=>_0x2d71d7&&_0x5581b6&&!_0xf50a20);},'onExecute':()=>_0x56fb3e(this['_saveRevisionFormView'])}]});}['_createSaveRevisionFormView'](){const _0x292641=this['editor'],_0x56ad63=_0x292641['locale'];this['_saveRevisionFormView']=new ns(_0x56ad63,_0x292641['config']['get']('revisionHistory.requireRevisionName')),this['_saveRevisionFormView']['render']();}}class Z extends _0x31a2e3{['focus'](){this['element']['focus']();}constructor(_0x35e379,_0xded4ac){super(_0x35e379),this['_model']=_0xded4ac,this['changeId']=_0xded4ac['id'];const _0x1404f1=this['bindTemplate'],_0x38fcb4=y(_0x35e379,_0xded4ac['data']['isSuggestion']?'Suggested\x20by':'add'==_0xded4ac['type']?'Added\x20by':'Removed\x20by');this['set']('type',_0xded4ac['type']),this['setTemplate']({'tag':'div','attributes':{'class':['ck-annotation','ck-revision-change',_0x1404f1['to']('type',_0x829911=>'ck-revision-change__'+_0x829911)],'tabindex':-0x1},'children':[{'tag':'span','children':[{'tag':'span','attributes':{'class':['ck-revision-change__label']},'children':[{'text':_0x38fcb4}]},{'text':'\x20'+_0xded4ac['author']['name']}]}]});}}class r extends _0x36ed95(){['toJSON'](){return{'id':this['id'],'authorId':this['author']['id'],'type':this['type'],'data':this['data'],'createdAt':this['createdAt']};}constructor(_0x23de7f){super(),this['id']=_0x23de7f['id']||_0x306f0d(),this['author']=_0x23de7f['author'],this['type']=_0x23de7f['type'],this['data']=_0x23de7f['data']||{},this['rootName']=_0x23de7f['rootName'],this['set']('createdAt',_0x23de7f['createdAt']);}}class f{['_setChanges'](_0x525696){for(const _0x185331 of _0x525696)this['changes']['add'](_0x185331);}constructor(_0x3fdf5b,_0xf3ff60){this['newRevisionId']=_0x3fdf5b,this['oldRevisionId']=_0xf3ff60,this['changes']=new _0x343672();}}const tt={'c':_0x1caa10,'a':_0x5052cb,'e':_0x574a1d,'r':_0x5f46c6,'u':_0x2d9e1a};class d extends _0x570a5a{static get['pluginName'](){return'RevisionViewer';}static get['requires'](){return[_0x207ab7,_0x4d8e6e,A];}['init'](){const _0x52e019=this['editor'],_0x52b544=new Rt(_0x52e019,{'direction':'backward'}),_0x191747=new Rt(_0x52e019,{'direction':'forward'});(_0x52e019['commands']['add']('showPreviousChange',_0x52b544),_0x52e019['commands']['add']('showNextChange',_0x191747),_0x52e019['commands']['add']('restoreRevision',new bt(_0x52e019)),this['on']('change:numberOfChanges',()=>{_0x52b544['refresh'](),_0x191747['refresh']();}),this['_setConversion'](),this['_initInteractions'](),_0x52e019['enableReadOnlyMode']('revision-viewer'),_0x52e019['plugins']['has']('WidgetToolbarRepository'))&&_0x52e019['plugins']['get']('WidgetToolbarRepository')['forceDisabled']('revision-viewer');}async['getRevisionData'](_0x3cb492){await this['loadRevisionData'](_0x3cb492);const _0xb18c2d={};for(const _0x2dfa0b in _0x3cb492['diffData']){if(_0x3cb492['diffData'][_0x2dfa0b]['attachChange']&&!_0x3cb492['diffData'][_0x2dfa0b]['attachChange']['isAttached'])continue;const _0x239e8f=this['_removeRevisionMarkers'](JSON['parse'](_0x3cb492['diffData'][_0x2dfa0b]['insertions'])),_0x2c9c48=this['editor']['editing']['view']['document'],_0x4d1498=new _0x305ea1(_0x2c9c48,_0x239e8f['map'](_0x4eab98=>this['_getViewObj'](_0x4eab98)));this['editor']['data']['processor']['useFillerType']('marked'),_0xb18c2d[_0x2dfa0b]=this['editor']['data']['processor']['toData'](_0x4d1498),this['editor']['data']['processor']['useFillerType']('default');}return _0xb18c2d;}async['getRevisionRootsAttributes'](_0x531e29){await this['loadRevisionData'](_0x531e29);const _0x5efbab={};for(const _0x1f59ae in _0x531e29['diffData'])_0x531e29['diffData'][_0x1f59ae]['attachChange']&&!_0x531e29['diffData'][_0x1f59ae]['attachChange']['isAttached']||(_0x5efbab[_0x1f59ae]=_0x531e29['diffData'][_0x1f59ae]['attributesAfter']||{});return _0x5efbab;}['_removeRevisionMarkers'](_0x33f123){return(_0x33f123=_0x33f123['filter'](_0x469e1a=>!_0x469e1a['name']||'revision-start'!==_0x469e1a['name']&&'revision-end'!==_0x469e1a['name']))['forEach'](_0x4f21c0=>{'string'!=typeof _0x4f21c0&&(_0x4f21c0['children']=this['_removeRevisionMarkers'](_0x4f21c0['children']),_0x4f21c0['attributes']=_0x4f21c0['attributes']['filter'](_0xff0b43=>!_0xff0b43[0x0]['startsWith']('data-revision-')));}),_0x33f123;}async['compare'](_0x548e87,_0x13965c,_0x446f7e=!0x1){if(!this['isEnabled'])return;const _0x401ae2=this['diff'],_0x10a6b7=this['repository'],_0x1e3d56='string'==typeof _0x548e87?_0x10a6b7['getRevision'](_0x548e87):_0x548e87,_0x5492b3='string'==typeof _0x13965c?_0x10a6b7['getRevision'](_0x13965c):_0x13965c,_0x54e0c2=_0x1e3d56['id'],_0x3d942c=_0x5492b3?_0x5492b3['id']:null;if(!_0x446f7e&&this['diff']&&this['diff']['newRevisionId']===_0x54e0c2&&this['diff']['oldRevisionId']===_0x3d942c)return Promise['resolve']();this['isReady']=!0x1,this['activeView']=null,this['activeChange']=null,this['diff']=new f(_0x54e0c2,_0x3d942c);const _0x52ecbf=this['_getRevisionsRange'](_0x1e3d56,_0x5492b3,!0x0)['map'](_0x2ac968=>this['loadRevisionData'](_0x2ac968));return _0x52ecbf['push'](new Promise(_0x541375=>{setTimeout(_0x541375,0x14);})),Promise['all'](_0x52ecbf)['then'](()=>{if(!this['isEnabled'])return;this['_cleanUp']();const _0x31cad6=this['_getDiff'](_0x54e0c2,_0x3d942c);for(const _0x4b8e44 of _0x31cad6['changes'])this['_changeIdToChange']['set'](_0x4b8e44['id'],_0x4b8e44);this['editor']['model']['enqueueChange']({'isUndoable':!0x1},_0x20707b=>{for(const _0x2c2c77 of this['editor']['model']['document']['getRootNames']())_0x20707b['detachRoot'](_0x2c2c77);for(const _0xcccb42 of Object['keys'](_0x31cad6['model'])){const _0x2d6ab2=_0x20707b['addRoot'](_0xcccb42);for(const _0x2cdd8c of Object['keys'](_0x31cad6['attributes'][_0xcccb42]))_0x20707b['setAttribute'](_0x2cdd8c,_0x31cad6['attributes'][_0xcccb42][_0x2cdd8c],_0x2d6ab2);_0x20707b['insert'](_0x31cad6['model'][_0xcccb42],_0x2d6ab2,0x0);}}),this['diff']['_setChanges'](this['_sortAndFilterDiffChanges'](_0x31cad6['changes'])),this['isReady']=!0x0;})['catch'](_0x1d5cc3=>{console['error'](_0x1d5cc3),this['_cleanUp'](),_0x401ae2&&(this['diff']=_0x401ae2),this['isReady']=!0x0;});}['addRevisionData'](_0x44371f,_0x1bf355){const _0x4b1923=this['repository']['createRevision'](_0x44371f);return _0x4b1923['on']('_update',(_0x454c4b,_0x91d19d,_0x371702)=>_0x1bf355(_0x91d19d,_0x371702,_0x4b1923)),this['repository']['addRevision'](_0x4b1923),_0x4b1923;}['loadRevisionData'](_0x9628b8){if(!_0x9628b8||_0x9628b8['diffData'])return Promise['resolve']();{const _0x98bbfd=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0x98bbfd,'revisionId':_0x9628b8['id']})['then'](_0x241690=>{_0x9628b8['_update']({'diffData':_0x241690['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},_0x4787e2=>{for(const _0x253ba8 of this['editor']['model']['document']['getRootNames']())_0x4787e2['detachRoot'](_0x253ba8);});}['_sortAndFilterDiffChanges'](_0x14ef4d){const _0x279964=[],_0x1b58c9=new Map();for(const _0x132b9b of this['editor']['model']['document']['getRootNames']()){const _0x176e21=this['editor']['editing']['view']['getDomRoot'](_0x132b9b);if(!_0x176e21)continue;const _0x413489=_0x176e21['getClientRects']()['item'](0x0);_0x413489&&(_0x279964['push'](_0x132b9b),_0x1b58c9['set'](_0x132b9b,_0x413489));}return _0x279964['sort']((_0x35866d,_0x4dc767)=>{const _0x39388f=_0x1b58c9['get'](_0x35866d),_0x4026aa=_0x1b58c9['get'](_0x4dc767);return _0x39388f['y']-_0x4026aa['y']||_0x39388f['x']-_0x4026aa['x'];}),(_0x14ef4d=_0x14ef4d['filter'](_0x56f7e7=>_0x279964['includes'](_0x56f7e7['rootName'])))['sort']((_0x46f864,_0x153738)=>_0x279964['indexOf'](_0x46f864['rootName'])-_0x279964['indexOf'](_0x153738['rootName'])),_0x14ef4d;}['_makeTape'](_0x178f7f){const _0x204089=Array['from'](_0x178f7f['markers'])['filter'](([_0x7477d6,_0x14e153])=>_0x7477d6['startsWith']('revision:')&&!_0x14e153['isCollapsed']),_0x5ab2d7=Array['from'](this['editor']['model']['createRangeIn'](_0x178f7f)['getWalker']({'singleCharacters':!0x0}));if(0x0!=_0x204089['length'])for(const _0xde43b1 of _0x5ab2d7){const [_0x1959da,_0x27b819]=_0x204089[0x0],[,_0x4f4054,_0x317647]=_0x1959da['split'](':');if(_0x27b819['end']['isEqual'](_0xde43b1['nextPosition'])&&_0x204089['shift'](),(_0xde43b1['previousPosition']['isEqual'](_0x27b819['start'])||_0xde43b1['previousPosition']['isAfter'](_0x27b819['start']))&&('insertion'==_0x4f4054?_0xde43b1['isAdded']={'userId':_0x317647}:'deletion'==_0x4f4054&&(_0xde43b1['isRemoved']={'userId':_0x317647})),0x0==_0x204089['length'])break;}return _0x5ab2d7;}['_refreshStartEndIndex'](_0x1a525a){const _0x518488=new Map();for(let _0x53b9cc=0x0;_0x53b9cc<_0x1a525a['length'];_0x53b9cc++)'text'===_0x1a525a[_0x53b9cc]['type']?(_0x1a525a[_0x53b9cc]['item']['startIndex']=_0x53b9cc,_0x1a525a[_0x53b9cc]['item']['endIndex']=_0x53b9cc):('elementStart'===_0x1a525a[_0x53b9cc]['type']?_0x1a525a[_0x53b9cc]['item']['startIndex']=_0x53b9cc:'elementEnd'===_0x1a525a[_0x53b9cc]['type']&&(_0x1a525a[_0x53b9cc]['item']['endIndex']=_0x53b9cc),_0x518488['set'](_0x1a525a[_0x53b9cc]['id'],_0x53b9cc));for(const _0x587399 of _0x518488['values']())'elementStart'===_0x1a525a[_0x587399]['type']?_0x1a525a[_0x587399]['item']['endIndex']=_0x518488['get'](_0x1a525a[_0x587399]['pairId']):'elementEnd'===_0x1a525a[_0x587399]['type']&&(_0x1a525a[_0x587399]['item']['startIndex']=_0x518488['get'](_0x1a525a[_0x587399]['pairId']));}['_processTape'](_0x2b764c){for(let _0x27c95c=0x0;_0x27c95c<_0x2b764c['length'];_0x27c95c++){if('elementStart'===_0x2b764c[_0x27c95c]['type'])_0x2b764c[_0x27c95c]['item']['startIndex']=_0x27c95c;else{if('elementEnd'===_0x2b764c[_0x27c95c]['type']){_0x2b764c[_0x27c95c]['item']['endIndex']=_0x27c95c;const _0x2dba59=_0x2b764c[_0x27c95c]['item']['startIndex'];_0x2b764c[_0x2dba59]['pairId']=_0x2b764c[_0x27c95c]['id'],_0x2b764c[_0x27c95c]['pairId']=_0x2b764c[_0x2dba59]['id'];}else _0x2b764c[_0x27c95c]['item']['startIndex']=_0x27c95c,_0x2b764c[_0x27c95c]['item']['endIndex']=_0x27c95c,_0x2b764c[_0x27c95c]['pairId']=null;}_0x2b764c[_0x27c95c]['markersStart']||(_0x2b764c[_0x27c95c]['markersStart']=[],_0x2b764c[_0x27c95c]['markersEnd']=[]);}}['_markInsertions'](_0x16a7ae,_0x4fe860){const _0x296dac=_0x16a7ae['filter'](_0x15432b=>!_0x15432b['isAdded']);for(let _0x2c39b1=0x0;_0x2c39b1<_0x4fe860['length'];_0x2c39b1++)_0x4fe860[_0x2c39b1]['isAdded']&&(_0x296dac[_0x2c39b1]['isAdded']=_0x4fe860[_0x2c39b1]['isAdded']);}['_makeModelFromViewString'](_0x1237bf){const _0x50b7ad=JSON['parse'](_0x1237bf),_0x490cb1=this['editor']['editing']['view']['document'],_0x5784c2=new _0x305ea1(_0x490cb1,_0x50b7ad['map'](_0x13744e=>this['_getViewObj'](_0x13744e)));return this['editor']['data']['toModel'](_0x5784c2);}['_getViewObj'](_0x43fa08){const _0x110903=this['editor']['editing']['view']['document'];if('string'==typeof _0x43fa08)return new _0x1a9fdd(_0x110903,_0x43fa08);{const _0x517e35=_0x43fa08['children']['map'](_0x367992=>this['_getViewObj'](_0x367992));return new(tt[_0x43fa08['type']]||_0x4ce593)(_0x110903,_0x43fa08['name'],_0x43fa08['attributes'],_0x517e35);}}['_getDiff'](_0x3ee21f,_0x407d60=null){const _0xb3b936=this['repository']['getRevision'](_0x3ee21f),_0x32c1c5=_0x407d60?this['repository']['getRevision'](_0x407d60):null,_0x49d1ff=this['_getRevisionsRange'](_0xb3b936,_0x32c1c5),_0x2b6bb9=_0x49d1ff[_0x49d1ff['length']-0x1],_0x33ccc5=new Map(),_0x433862={'model':{},'attributes':{},'changes':[]},_0x42e1dd=new Set(),_0x211749=new Map();for(let _0x49c1c4=_0x49d1ff['length']-0x1;_0x49c1c4>=0x0;_0x49c1c4--){const _0x883acf=_0x49d1ff[_0x49c1c4];for(const _0x37c0ab of Object['keys'](_0x883acf['diffData']))if(_0x883acf['diffData'][_0x37c0ab]['attachChange']){const _0x37d9c2=_0x883acf['diffData'][_0x37c0ab]['attachChange'];_0x37d9c2['isAttached']?(_0x42e1dd['add'](_0x37c0ab),_0x211749['has'](_0x37c0ab)&&_0x211749['get'](_0x37c0ab)['userId']==_0x37d9c2['userId']?_0x211749['delete'](_0x37c0ab):_0x211749['set'](_0x37c0ab,_0x37d9c2)):_0x211749['has'](_0x37c0ab)?(_0x42e1dd['delete'](_0x37c0ab),_0x211749['delete'](_0x37c0ab)):(_0x42e1dd['add'](_0x37c0ab),_0x211749['set'](_0x37c0ab,_0x37d9c2));}else _0x42e1dd['add'](_0x37c0ab);}for(const _0x18fae8 of _0x42e1dd){const _0x891b56=_0x211749['has'](_0x18fae8)&&!_0x211749['get'](_0x18fae8)['isAttached'];let _0x5f0e48=_0x891b56?_0x49d1ff['length']-0x1:0x0;const _0x56d84b=_0x891b56?-0x1:0x1;for(;_0x49d1ff[_0x5f0e48];){const _0x12a577=_0x49d1ff[_0x5f0e48];if(_0x12a577['diffData'][_0x18fae8]){const _0xda7eed=_0x891b56?_0x12a577['diffData'][_0x18fae8]['attributesBefore']:_0x12a577['diffData'][_0x18fae8]['attributesAfter'];_0x433862['attributes'][_0x18fae8]=_0xda7eed?_0x2de5be(_0xda7eed):{};break;}_0x5f0e48+=_0x56d84b;}}for(const _0x1a1682 of _0x49d1ff){_0x1a1682['model']={};for(const _0x216579 of _0x1a1682['authors'])_0x33ccc5['set'](_0x216579['id'],_0x216579);for(const _0x3fd349 of _0x42e1dd){const _0x43f184=_0x1a1682['diffData'][_0x3fd349]?_0x1a1682['diffData'][_0x3fd349]['insertions']:'[]',_0x49e50e=_0x1a1682['diffData'][_0x3fd349]?_0x1a1682['diffData'][_0x3fd349]['deletions']:'[]';_0x1a1682['model'][_0x3fd349]={'insertions':this['_makeModelFromViewString'](_0x43f184),'deletions':this['_makeModelFromViewString'](_0x49e50e)};}}for(const _0x36e130 of _0x42e1dd){let _0x309098=null,_0x5cedeb=0x0;const _0x167e71=new Map(Array['from'](_0xb3b936['model'][_0x36e130]['insertions']['markers'])['filter'](([_0x2c3edf])=>!_0x2c3edf['startsWith']('revision:')));let _0x348f2e=0x0;for(const _0xc894ac of _0x49d1ff){const _0x20257f=this['_makeTape'](_0xc894ac['model'][_0x36e130]['insertions']);_0xc894ac==_0xb3b936?(_0x309098=_0x20257f,_0x5cedeb=_0x309098['length'],_0x309098['forEach'](_0x1e8cc0=>{_0x1e8cc0['id']=_0x348f2e++;}),this['_processTape'](_0x309098)):this['_markInsertions'](_0x309098,_0x20257f);const _0x250303=_0x309098['filter'](_0x7b3c48=>!_0x7b3c48['isAdded'])['map'](_0x3027ab=>_0x3027ab['id']);let _0x40666f=0x0;const _0x5baa8a=this['_makeTape'](_0xc894ac['model'][_0x36e130]['deletions']);_0x5baa8a['forEach'](_0x13e865=>{_0x13e865['isRemoved']?_0x13e865['id']=_0x5cedeb++:_0x13e865['id']=_0x250303[_0x40666f++];}),this['_processTape'](_0x5baa8a),this['_setDistance'](_0x309098,'isAdded'),this['_setDistance'](_0x5baa8a,'isRemoved'),_0xc894ac==_0xb3b936&&this['_markMarkers'](_0x309098,_0x167e71),_0x309098=this['_joinTapes'](_0x309098,_0x5baa8a),this['_refreshStartEndIndex'](_0x309098),this['_setDistance'](_0x309098,'isRemoved');}_0x309098=_0x309098['filter'](_0x1be765=>!(_0x1be765['isAdded']&&_0x1be765['isRemoved']));const _0x343883=new Map(_0x2b6bb9['model'][_0x36e130]['deletions']['markers']),_0xcdd226=new Set(_0x167e71['keys']());for(const _0x5624e8 of _0x343883['keys']())_0xcdd226['delete'](_0x5624e8);this['_markSuggestions'](_0x309098,_0xcdd226),this['_fixObsoleteTags'](_0x309098),_0x309098=this['_removeMissingPairs'](_0x309098),_0x309098=this['_markMismatchedRemovedTags'](_0x309098),_0x309098=this['_removeUnsupportedChanges'](_0x309098);const {root:_0x345c32,changes:_0x11b2b5}=this['_makeModelFromTape'](_0x309098,_0x33ccc5,_0x36e130);_0x433862['model'][_0x36e130]=_0x345c32;const _0x78c9e9=_0x211749['get'](_0x36e130);if(_0x78c9e9){const _0x5b2e6a=_0x33ccc5['get'](_0x78c9e9['userId']),_0x42c404=new r({'author':_0x5b2e6a,'type':_0x78c9e9['isAttached']?'add':'remove','data':{'isOnRoot':!0x0},'createdAt':new Date(),'rootName':_0x36e130});_0x11b2b5['unshift'](_0x42c404),_0x433862['attributes'][_0x36e130]['revisionHistoryAttachChange']=_0x42c404['id'];}_0x433862['changes']=_0x433862['changes']['concat'](_0x11b2b5);}return _0x433862;}['_markMarkers'](_0x241e68,_0xba7f11){for(let _0x4ae50=0x0;_0x4ae50<_0x241e68['length'];_0x4ae50++)for(const [_0x2cf4b6,_0x198d0c]of _0xba7f11)_0x198d0c['start']['isEqual'](_0x241e68[_0x4ae50]['previousPosition'])&&_0x241e68[_0x4ae50]['markersStart']['push'](_0x2cf4b6),_0x198d0c['end']['isEqual'](_0x241e68[_0x4ae50]['nextPosition'])&&_0x241e68[_0x4ae50]['markersEnd']['push'](_0x2cf4b6);}['_joinTapes'](_0x549ba9,_0x2f3e28){let _0xd6a0f9=[],_0xd0f432=0x0,_0x8ae50f=0x0;for(;_0xd0f432<_0x549ba9['length']||_0x8ae50f<_0x2f3e28['length'];){const _0xa4e30f=_0x549ba9[_0xd0f432]||{},_0x1cd568=_0x2f3e28[_0x8ae50f]||{};if(_0xa4e30f['id']==_0x1cd568['id'])_0xd0f432++,_0x8ae50f++,_0xd6a0f9['push'](_0xa4e30f);else{if(_0x1cd568['isRemoved']&&_0xa4e30f['isAdded']){const {commonTape:_0x23bddf,iEnd:_0x444f87,jEnd:_0x32bb89}=this['_threeWayMerge'](_0x549ba9,_0xd0f432,_0x2f3e28,_0x8ae50f);_0xd6a0f9=_0xd6a0f9['concat'](_0x23bddf),_0xd0f432=_0x444f87,_0x8ae50f=_0x32bb89;}else _0x1cd568['isRemoved']?(_0x8ae50f++,_0xd6a0f9['push'](_0x1cd568)):(_0xd0f432++,_0xd6a0f9['push'](_0xa4e30f));}}return _0xd6a0f9;}['_markSuggestions'](_0x194c02,_0x5aaf20){const _0xa9846a=[];for(let _0x486727=0x0;_0x486727<_0x194c02['length'];_0x486727++){for(let _0x11897b=0x0;_0x11897b<_0x194c02[_0x486727]['markersStart']['length'];_0x11897b++){const _0x413867=_0x194c02[_0x486727]['markersStart'][_0x11897b];if(!_0x5aaf20['has'](_0x413867))continue;const {group:_0x19b565,type:_0x3910f8,authorId:_0x1b213b}=_0xaa4445(_0x413867);'revision-suggestion'!=_0x19b565||'insertion'!=_0x3910f8&&'deletion'!=_0x3910f8||(_0xa9846a['unshift']({'type':_0x3910f8,'name':_0x413867,'userId':_0x1b213b}),_0x194c02[_0x486727]['markersStart']['splice'](_0x11897b,0x1),_0x11897b--);}_0x27a2a0(_0x194c02[_0x486727]);for(let _0x4d994d=0x0;_0x4d994d<_0x194c02[_0x486727]['markersEnd']['length'];_0x4d994d++){const _0x4a871e=_0x194c02[_0x486727]['markersEnd'][_0x4d994d];if(!_0x5aaf20['has'](_0x4a871e))continue;const {group:_0x254452,type:_0x283309}=_0xaa4445(_0x4a871e);if('revision-suggestion'!=_0x254452||'insertion'!=_0x283309&&'deletion'!=_0x283309)continue;_0x194c02[_0x486727]['markersEnd']['splice'](_0x4d994d,0x1),_0x4d994d--;const _0x494ae6=_0xa9846a['findIndex'](_0x582b2f=>_0x582b2f['name']==_0x4a871e);_0x494ae6>-0x1&&_0xa9846a['splice'](_0x494ae6,0x1);}}function _0xaa4445(_0x16b14b){const _0x2a8669=_0x16b14b['split'](':');return{'group':_0x2a8669[0x0],'type':_0x2a8669[0x1],'subType':_0x2a8669['length']>=0x5?_0x2a8669[0x2]:null,'id':_0x2a8669['length']<0x5?_0x2a8669[0x2]:_0x2a8669[0x3],'authorId':_0x2a8669['length']<0x5?_0x2a8669[0x3]:_0x2a8669[0x4],'markerCount':0x6==_0x2a8669['length']?_0x2a8669[0x5]:null};}function _0x27a2a0(_0x5ee900){for(let _0x59faeb=0x0;_0x59faeb<_0xa9846a['length'];_0x59faeb++){if(_0x5ee900['isAdded']&&'insertion'==_0xa9846a[_0x59faeb]['type'])return _0x5ee900['isAddSuggestion']=_0xa9846a[_0x59faeb],void delete _0x5ee900['isAdded'];if(!_0x5ee900['isAdded']&&!_0x5ee900['isRemoved']&&'deletion'==_0xa9846a[_0x59faeb]['type'])return void(_0x5ee900['isRemoveSuggestion']=_0xa9846a[_0x59faeb]);}}}['_setDistance'](_0x17847e,_0x11b500){let _0x2038f9=0x0,_0x4828b5=!0x1;const _0x57f6de=new Map();for(const _0x3cc5e2 of _0x17847e)_0x3cc5e2[_0x11b500]?_0x4828b5&&(_0x2038f9++,_0x4828b5=!0x1):(_0x2038f9++,_0x4828b5=!0x0),_0x57f6de['set'](_0x3cc5e2['id'],_0x2038f9);for(let _0x5e3964=0x0;_0x5e3964<_0x17847e['length'];_0x5e3964++){if('isRemoved'==_0x11b500&&_0x17847e[_0x5e3964]['isAdded']||'isAdded'==_0x11b500&&_0x17847e[_0x5e3964]['isRemoved'])continue;if('text'==_0x17847e[_0x5e3964]['type']){_0x17847e[_0x5e3964]['distance']=0x0;continue;}const _0xb5e02c=_0x57f6de['get'](_0x17847e[_0x5e3964]['pairId']),_0x45fb09=_0x57f6de['get'](_0x17847e[_0x5e3964]['id']);_0x17847e[_0x5e3964]['distance']=_0xb5e02c-_0x45fb09;}}['_getRevisionsRange'](_0x28a01c,_0x15944e,_0x5cba7c=!0x1){const _0x5ad354=[];let _0x1f54b4=this['repository']['getIndex'](_0x28a01c),_0x162d89=this['repository']['getIndex'](_0x15944e);for(-0x1==_0x162d89&&(_0x162d89=this['repository']['_revisions']['length'],_0x5cba7c=!0x1);_0x1f54b4<_0x162d89;)_0x5ad354['push'](this['repository']['getRevision'](_0x1f54b4)),_0x1f54b4++;return _0x5cba7c&&_0x5ad354['push'](this['repository']['getRevision'](_0x1f54b4)),_0x5ad354;}['_threeWayMerge'](_0x4affe4,_0x1fac5c,_0x5a140f,_0x1b0939){const _0x51070c=this['editor']['model']['schema'];let _0x26826b=_0x1fac5c;for(;_0x4affe4[_0x26826b]&&_0x4affe4[_0x26826b]['isAdded'];)_0x26826b++;let _0x21db5b=_0x1b0939;for(;_0x5a140f[_0x21db5b]&&_0x5a140f[_0x21db5b]['isRemoved'];)_0x21db5b++;_0x13616f(_0x4affe4,_0x1fac5c,_0x26826b),_0x13616f(_0x5a140f,_0x1b0939,_0x21db5b);const _0x3c6cee=_0x5a140f['slice'](_0x1b0939,_0x21db5b)['concat'](_0x4affe4['slice'](_0x1fac5c,_0x26826b));return _0x3c6cee['sort']((_0x48178e,_0x438d7a)=>_0x48178e['side']!=_0x438d7a['side']?_0x48178e['side']-_0x438d7a['side']:_0x48178e['level']!=_0x438d7a['level']?_0x48178e['level']-_0x438d7a['level']:_0x48178e['distance']!=_0x438d7a['distance']?_0x438d7a['distance']-_0x48178e['distance']:!!_0x48178e['isAdded']!=!!_0x438d7a['isAdded']?-0x1==_0x48178e['side']||0x0==_0x48178e['side']?_0x48178e['isAdded']?-0x1:0x1:_0x48178e['isAdded']?0x1:-0x1:_0x48178e['index']-_0x438d7a['index']),{'commonTape':_0x3c6cee,'iEnd':_0x26826b,'jEnd':_0x21db5b};function _0x13616f(_0x54e009,_0xa0bcbb,_0x3e1796){let _0x175c29=-0x1,_0x1af131=Number['POSITIVE_INFINITY'],_0x128ff8=!0x0;for(let _0x42cd1f=_0xa0bcbb;_0x42cd1f<_0x3e1796;_0x42cd1f++)if(_0x51070c['isInline'](_0x54e009[_0x42cd1f]['item'])||(_0x128ff8=!0x1),_0x54e009[_0x42cd1f]['item']['startIndex']<_0xa0bcbb&&(_0x175c29=_0x42cd1f),_0x54e009[_0x42cd1f]['item']['endIndex']>=_0x3e1796){_0x1af131=_0x42cd1f;break;}_0x128ff8&&(_0x175c29=_0x3e1796-0x1);for(let _0x363661=_0xa0bcbb;_0x363661<_0x3e1796;_0x363661++)_0x54e009[_0x363661]['side']=_0x363661<=_0x175c29?-0x1:_0x363661<_0x1af131?0x0:0x1,_0x54e009[_0x363661]['index']=_0x363661;let _0x39f14f=0x0;for(let _0x5e9e3d=_0xa0bcbb;_0x5e9e3d<=_0x175c29;_0x5e9e3d++)0x0==_0x54e009[_0x5e9e3d]['distance']?_0x54e009[_0x5e9e3d]['level']=_0x39f14f:(_0x39f14f++,_0x54e009[_0x5e9e3d]['level']=_0x39f14f,_0x39f14f++);for(let _0x2473fc=_0xa0bcbb;_0x2473fc<_0x3e1796;_0x2473fc++)0x0==_0x54e009[_0x2473fc]['side']&&(_0x54e009[_0x2473fc]['level']=_0x39f14f);_0x39f14f=0x0;for(let _0x3baa64=_0x3e1796-0x1;_0x3baa64>=_0x1af131;_0x3baa64--)0x0==_0x54e009[_0x3baa64]['distance']?_0x54e009[_0x3baa64]['level']=_0x39f14f:(_0x39f14f--,_0x54e009[_0x3baa64]['level']=_0x39f14f,_0x39f14f--);}}['_fixObsoleteTags'](_0x3493c5){const _0x4de6fa=new Map(),_0x5881c9=this['editor']['model']['schema'];for(let _0x53f0a5=0x1;_0x53f0a5<_0x3493c5['length'];_0x53f0a5++){let _0x2a532c,_0x431452,_0xf5c9d4;const _0x37a3a5=_0x3493c5[_0x53f0a5],_0x50203c=_0x3493c5[_0x53f0a5-0x1];if('text'==_0x37a3a5['type'])continue;if(_0x37a3a5['type']!=_0x50203c['type'])continue;if(!_0x5881c9['isBlock'](_0x50203c['item'])||_0x5881c9['isLimit'](_0x50203c['item']))continue;if(!_0x5881c9['isBlock'](_0x37a3a5['item'])||_0x5881c9['isLimit'](_0x37a3a5['item']))continue;if((_0x3493c5[_0x53f0a5]['isAdded']||_0x3493c5[_0x53f0a5]['isAddSuggestion'])&&_0x3493c5[_0x53f0a5-0x1]['isRemoved'])_0x2a532c=_0x3493c5[_0x53f0a5],_0x431452=_0x3493c5[_0x53f0a5-0x1],_0xf5c9d4=_0x53f0a5-0x1;else{if(!_0x3493c5[_0x53f0a5]['isRemoved']||!_0x3493c5[_0x53f0a5-0x1]['isAdded']&&!_0x3493c5[_0x53f0a5-0x1]['isAddSuggestion'])continue;_0x2a532c=_0x3493c5[_0x53f0a5-0x1],_0x431452=_0x3493c5[_0x53f0a5],_0xf5c9d4=_0x53f0a5;}const _0x375c40=_0x2a532c['level']==_0x431452['level'],_0x53e7db=Math['abs'](_0x2a532c['level'])<Math['abs'](_0x431452['level'])&&0x0==_0x431452['distance'];(_0x375c40||_0x53e7db)&&(_0x4de6fa['set'](_0x431452['id'],_0x2a532c['id']),_0x3493c5['splice'](_0xf5c9d4,0x1),_0x53f0a5--,_0x2a532c['isAdded']=!0x1);}for(let _0x248ce8=0x0;_0x248ce8<_0x3493c5['length'];_0x248ce8++)_0x4de6fa['has'](_0x3493c5[_0x248ce8]['pairId'])&&(_0x3493c5[_0x248ce8]['pairId']=_0x4de6fa['get'](_0x3493c5[_0x248ce8]['pairId']));}['_removeMissingPairs'](_0x58bebe){const _0x48d2e8=new Set(_0x58bebe['map'](_0x368db3=>_0x368db3['id']));for(let _0x19a8d3=0x0;_0x19a8d3<_0x58bebe['length'];_0x19a8d3++)_0x48d2e8['has'](_0x58bebe[_0x19a8d3]['pairId'])||0x0==_0x58bebe[_0x19a8d3]['distance']||(_0x58bebe[_0x19a8d3]['isIncorrect']=!0x0);return _0x58bebe['filter'](_0x40679b=>!_0x40679b['isIncorrect']);}['_markMismatchedRemovedTags'](_0x568c30){const _0x125a12=new Set();for(let _0x567b93=0x0;_0x567b93<_0x568c30['length'];_0x567b93++){if(_0x125a12['has'](_0x568c30[_0x567b93]['id'])&&_0x568c30[_0x567b93]['isRemoved']&&(_0x568c30[_0x567b93]['isIncorrect']=!0x0),_0x568c30[_0x567b93]['isIncorrect'])continue;if(0x0==_0x568c30[_0x567b93]['distance'])continue;if('elementStart'!=_0x568c30[_0x567b93]['type'])continue;if(null==_0x568c30[_0x567b93]['pairId'])continue;let _0x229567=_0x567b93+0x1,_0x291de0=0x0;for(;_0x568c30[_0x229567]['id']!=_0x568c30[_0x567b93]['pairId'];)'elementStart'==_0x568c30[_0x229567]['type']?_0x291de0++:'elementEnd'==_0x568c30[_0x229567]['type']&&_0x291de0--,_0x229567++;if(0x0!=_0x291de0){if(_0x568c30[_0x567b93]['isRemoved'])_0x568c30[_0x567b93]['isIncorrect']=!0x0;else{for(;_0x229567!=_0x567b93;)_0x568c30[_0x229567]['isRemoved']&&0x0!=_0x568c30[_0x229567]['distance']&&(_0x568c30[_0x229567]['isIncorrect']=!0x0,_0x125a12['add'](_0x568c30[_0x229567]['pairId'])),_0x229567--;}}}return _0x568c30['filter'](_0x1ab216=>!_0x1ab216['isIncorrect']);}['_removeUnsupportedChanges'](_0x2f3c2d){const _0x452826=this['editor']['model']['schema'];for(let _0x46b5aa=0x0;_0x46b5aa<_0x2f3c2d['length'];_0x46b5aa++){if(!(_0x2f3c2d[_0x46b5aa]['isAdded']||_0x2f3c2d[_0x46b5aa]['isAddSuggestion']||_0x2f3c2d[_0x46b5aa]['isRemoved']||_0x2f3c2d[_0x46b5aa]['isRemoveSuggestion']))continue;if(0x0==_0x2f3c2d[_0x46b5aa]['distance'])continue;const _0x43c664=_0x2f3c2d[_0x46b5aa]['item'];_0x452826['isBlock'](_0x43c664)||_0x452826['isLimit'](_0x43c664)||(_0x2f3c2d[_0x46b5aa]['isAdded']&&delete _0x2f3c2d[_0x46b5aa]['isAdded'],_0x2f3c2d[_0x46b5aa]['isAddSuggestion']&&delete _0x2f3c2d[_0x46b5aa]['isAddSuggestion'],_0x2f3c2d[_0x46b5aa]['isRemoveSuggestion']&&delete _0x2f3c2d[_0x46b5aa]['isRemoveSuggestion'],_0x2f3c2d[_0x46b5aa]['isRemoved']&&(_0x2f3c2d[_0x46b5aa]['isIncorrect']=!0x0));}return _0x2f3c2d['filter'](_0x50373c=>!_0x50373c['isIncorrect']);}['_makeModelFromTape'](_0x273537,_0x4afc52,_0xad91c3){const _0x44e992=new _t(),_0x25eb01=[],_0x7b9882=new Map(),_0xfac6e4=this['editor']['model'],_0x1406f1=_0xfac6e4['schema'],_0x54e922=[_0x44e992],_0x2b5d47={},_0x56724e={'isAdded':[],'isRemoved':[],'isAddSuggestion':[],'isRemoveSuggestion':[]};let _0x458dbf=null;const _0x52937f=[0x0];for(let _0x38031c=0x0;_0x38031c<_0x273537['length'];_0x38031c++){let _0x58bd1d,_0x3fbd57;if('elementStart'===_0x273537[_0x38031c]['type']){_0x58bd1d=_0xfac6e4['createPositionFromPath'](_0x44e992,_0x52937f);const _0x11c8f3=new ft(_0x273537[_0x38031c]['item']['name'],_0x273537[_0x38031c]['item']['getAttributes']());_0x54e922[0x0]['_appendChild'](_0x11c8f3),_0x52937f['push'](0x0),_0x54e922['unshift'](_0x11c8f3),_0x3fbd57=_0xfac6e4['createPositionFromPath'](_0x44e992,_0x52937f),_0x458dbf=null;}else{if('elementEnd'===_0x273537[_0x38031c]['type'])_0x54e922['shift'](),_0x58bd1d=_0xfac6e4['createPositionFromPath'](_0x44e992,_0x52937f),_0x52937f['pop'](),_0x52937f[_0x52937f['length']-0x1]++,_0x3fbd57=_0xfac6e4['createPositionFromPath'](_0x44e992,_0x52937f),_0x458dbf=null;else{if(_0x58bd1d=_0xfac6e4['createPositionFromPath'](_0x44e992,_0x52937f),_0x458dbf&&_0x32d5a8(_0x458dbf,_0x273537[_0x38031c]['item']))_0x458dbf['_data']+=_0x273537[_0x38031c]['item']['data'];else{const _0x2788b4=new yt(_0x273537[_0x38031c]['item']['data'],_0x273537[_0x38031c]['item']['getAttributes']());_0x54e922[0x0]['_appendChild'](_0x2788b4),_0x458dbf=_0x2788b4;}_0x52937f[_0x52937f['length']-0x1]+=_0x273537[_0x38031c]['item']['offsetSize'],_0x3fbd57=_0xfac6e4['createPositionFromPath'](_0x44e992,_0x52937f);}}for(const _0x4deff6 of _0x273537[_0x38031c]['markersStart'])_0x7b9882['set'](_0x4deff6,{'start':_0x58bd1d,'end':null});_0x18c133('isRemoveSuggestion',_0x38031c,_0x58bd1d,_0x3fbd57),_0x18c133('isAddSuggestion',_0x38031c,_0x58bd1d,_0x3fbd57),_0x18c133('isRemoved',_0x38031c,_0x58bd1d,_0x3fbd57),_0x18c133('isAdded',_0x38031c,_0x58bd1d,_0x3fbd57);for(const _0x176030 of _0x273537[_0x38031c]['markersEnd']){_0x7b9882['get'](_0x176030)['end']=_0x3fbd57;}}for(const [_0x460ccd,_0x3b6e37]of _0x7b9882){const _0x1afb8b=this['editor']['model']['createRange'](_0x3b6e37['start'],_0x3b6e37['end']);_0x44e992['markers']['set'](_0x460ccd,_0x1afb8b);}return _0x25eb01['sort']((_0x1b718d,_0xdd5faf)=>{const _0x5648e6=_0x44e992['markers']['get']('revision:'+_0x1b718d['id']),_0x312886=_0x44e992['markers']['get']('revision:'+_0xdd5faf['id']);return _0x5648e6['start']['isBefore'](_0x312886['start'])?-0x1:_0x5648e6['start']['isAfter'](_0x312886['start'])?0x1:_0x5648e6['end']['isBefore'](_0x312886['end'])?-0x1:_0x5648e6['end']['isAfter'](_0x312886['end'])?0x1:'add'===_0x1b718d['type']?-0x1:0x1;}),{'root':_0x44e992,'changes':_0x25eb01};function _0x18c133(_0x445576,_0x701bf1,_0x1c9e9c,_0x3db5b8){const _0x4c5ba2=!!_0x273537[_0x701bf1][_0x445576],_0x1a7391=_0x4c5ba2?_0x273537[_0x701bf1][_0x445576]['userId']:null,_0x570447=_0x701bf1===_0x273537['length']-0x1,_0xbbcc29=_0x56724e[_0x445576][0x0],_0x239611=_0x1406f1['isObject'](_0x273537[_0x701bf1]['item']);!_0x2b5d47[_0x445576]&&_0x4c5ba2?_0x2b5d47[_0x445576]={'start':_0x1c9e9c,'tapeItem':_0x273537[_0x701bf1],'userId':_0x1a7391,'type':_0x445576}:_0x2b5d47[_0x445576]&&!_0x4c5ba2?(_0x2b5d47[_0x445576]['end']=_0x1c9e9c,_0x1c9661(_0x2b5d47[_0x445576]),_0x2b5d47[_0x445576]=null):_0x2b5d47[_0x445576]&&_0x4c5ba2&&_0x2b5d47[_0x445576]['userId']!==_0x1a7391&&(_0x2b5d47[_0x445576]['end']=_0x1c9e9c,_0xbbcc29&&_0xbbcc29['userId']===_0x2b5d47[_0x445576]['userId']||_0x1c9661(_0x2b5d47[_0x445576]),_0x2b5d47[_0x445576]={'start':_0x1c9e9c,'tapeItem':_0x273537[_0x701bf1],'userId':_0x1a7391,'type':_0x445576}),_0x2b5d47[_0x445576]&&_0x239611&&('elementStart'!==_0x273537[_0x701bf1]['type']||_0xbbcc29&&_0xbbcc29['userId']===_0x1a7391||_0x56724e[_0x445576]['unshift']({'userId':_0x1a7391,'object':_0x273537[_0x701bf1]['item'],'change':_0x2b5d47[_0x445576]}),'elementEnd'===_0x273537[_0x701bf1]['type']&&_0xbbcc29&&_0xbbcc29['object']===_0x273537[_0x701bf1]['item']&&(_0x56724e[_0x445576]['shift'](),_0x2b5d47[_0x445576]=_0xbbcc29['change'])),_0x2b5d47[_0x445576]&&_0x570447&&(_0x2b5d47[_0x445576]['end']=_0x3db5b8,_0x1c9661(_0x2b5d47[_0x445576]),_0x2b5d47[_0x445576]=null);}function _0x1c9661({start:_0x3534b6,end:_0x26f211,tapeItem:_0x45b2ea,userId:_0x6fde67,type:_0x46db4}){const _0x33c333=_0x45b2ea['item'],_0x15fd53=_0xfac6e4['schema']['isBlock'](_0x33c333)&&!_0xfac6e4['schema']['isLimit'](_0x33c333),_0x1a6a7d=_0x3534b6['nodeAfter']==_0x26f211['parent']&&_0x26f211['isAtStart'];if(_0x15fd53&&_0x1a6a7d)return;const _0x4bc719=_0xfac6e4['createRange'](_0x3534b6,_0x26f211),_0x20f376=_0x4afc52['get'](_0x6fde67),_0x476483=new r({'author':_0x20f376,'type':'isAdded'==_0x46db4||'isAddSuggestion'==_0x46db4?'add':'remove','data':{'isSuggestion':'isAddSuggestion'==_0x46db4||'isRemoveSuggestion'==_0x46db4},'createdAt':new Date(),'rootName':_0xad91c3});_0x25eb01['push'](_0x476483),_0x44e992['markers']['set']('revision:'+_0x476483['id'],_0x4bc719);}function _0x32d5a8(_0x1a0dc2,_0x483a6a){const _0x5a0d85=_0x1a0dc2['getAttributes'](),_0x3b1370=_0x483a6a['getAttributes']();for(const _0x3cad41 of _0x5a0d85){if(_0x3cad41[0x1]!==_0x483a6a['getAttribute'](_0x3cad41[0x0]))return!0x1;_0x3b1370['next']();}return _0x3b1370['next']()['done'];}}['_setConversion'](){this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'revision'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision','view':_0x44d98c=>{const _0x4969b7=_0x44d98c['markerName']['split'](':')[0x1],_0x12e64d=this['_getChangeFromId'](_0x4969b7);if(!_0x12e64d)return null;const _0x186ea0='add'==_0x12e64d['type']?'insertion':'deletion',_0x1cbabf=['ck-suggestion-marker','ck-suggestion-marker-'+_0x186ea0];return _0x12e64d['data']['isSuggestion']&&_0x1cbabf['push']('ck-suggestion-marker-'+_0x186ea0+'-new'),this['activeChange']==_0x12e64d&&_0x1cbabf['push']('ck-suggestion-marker--active'),{'classes':_0x1cbabf,'attributes':{'data-change-id':_0x4969b7}};}}),this['editor']['conversion']['for']('upcast')['add'](_0x4e9275=>{_0x4e9275['on']('element:pre',(_0x297258,_0x2b90ca,_0x19c19a)=>{const _0x641857=_0x2b90ca['viewItem']['getChild'](0x0);if(!_0x641857||!_0x641857['is']('element','code'))return;if(!_0x19c19a['consumable']['consume'](_0x641857,{'attributes':['vid_start','vid_end']}))return;const _0x1fa6e6=_0x2b90ca['modelRange']['start']['nodeAfter'];_0x19c19a['writer']['setAttribute']('vid_start',_0x641857['getAttribute']('vid_start'),_0x1fa6e6),_0x19c19a['writer']['setAttribute']('vid_end',_0x641857['getAttribute']('vid_end'),_0x1fa6e6);},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['add'](_0x1a26d6=>{_0x1a26d6['on']('element',(_0x1b1739,_0x344700,_0x5a1e99)=>{if(!_0x5a1e99['consumable']['consume'](_0x344700['viewItem'],{'attributes':['vid_start','vid_end']}))return;if(_0x344700['modelRange']['isCollapsed'])return;const _0x1281a4=_0x344700['modelRange']['start']['nodeAfter'];_0x1281a4['hasAttribute']('vid_start')||_0x1281a4['hasAttribute']('vid')||(_0x5a1e99['writer']['setAttribute']('vid_start',_0x344700['viewItem']['getAttribute']('vid_start'),_0x1281a4),_0x5a1e99['writer']['setAttribute']('vid_end',_0x344700['viewItem']['getAttribute']('vid_end'),_0x1281a4));},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['elementToAttribute']({'view':{'name':'span','attributes':{'vid':!0x0}},'model':{'key':'vid','value':_0x108721=>_0x108721['getAttribute']('vid')}}),this['editor']['model']['schema']['on']('checkAttribute',(_0x27aa1f,[,_0x3a6e14])=>{['vid_start','vid_end','vid']['includes'](_0x3a6e14)&&(_0x27aa1f['return']=!0x0,_0x27aa1f['stop']());},{'priority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['add'](_0x51075e=>{_0x51075e['on']('attribute:vid',(_0x1128eb,_0x1b991b,_0x3178b3)=>{if('\x20'!=_0x1b991b['item']['data']||_0x1b991b['item']['parent']['maxOffset']>0x1)return;if(!_0x3178b3['consumable']['consume'](_0x1b991b['item'],_0x1128eb['name']))return;const _0x38bd02=_0x3178b3['writer'],_0x1d328a=_0x3178b3['mapper']['toViewRange'](_0x1b991b['range']);_0x38bd02['wrap'](_0x1d328a,_0x38bd02['createAttributeElement']('span'));});}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',function(_0x5bbe14){const _0x95a71b=_0x5bbe14['plugins']['get']('RevisionViewer');return(_0x2ca4c5,_0x13aeb3,_0x24c1db)=>{const _0x53b4ae=_0x13aeb3['markerName']['split'](':')[0x1],_0x31ab0f=_0x95a71b['_getChangeFromId'](_0x53b4ae);if(!_0x31ab0f)return null;const _0x235529='add'==_0x31ab0f['type']?'split':'merge';if(!_0x24c1db['consumable']['test'](_0x13aeb3['markerRange'],_0x2ca4c5['name']))return;const _0x12d585=_0x13aeb3['markerRange']['getWalker'](),_0x27e14a=_0x13aeb3['markerRange']['start'],_0x209a7d=_0x5bbe14['model']['schema'];let _0x2383c3=null,_0x194b7b=null,_0x5551dd=!0x1,_0x2de723=!0x1;for(const _0x1aa04a of _0x12d585){const _0x2cffa6=_0x1aa04a['item'];_0x5551dd=_0x5551dd||_0x209a7d['isContent'](_0x2cffa6);const _0x2a6c47=_0x24c1db['mapper']['toViewElement'](_0x2cffa6);if(_0x2a6c47&&_0x2a6c47['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x1aa04a['type']&&(_0x209a7d['isBlock'](_0x2cffa6)&&!_0x209a7d['isLimit'](_0x2cffa6)&&(_0x2cffa6['nextSibling']||_0x27e14a['isAtEnd']?_0x2383c3&&_0x2383c3['parent']==_0x2cffa6||(_0x2383c3=_0x2cffa6,_0x4a4549(_0x1aa04a['previousPosition']),_0x2de723=!0x0):_0x194b7b=_0x194b7b||_0x1aa04a['previousPosition']));}function _0x4a4549(_0x28ebd5){const _0x28a1bc=_0x24c1db['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x235529}),_0x39fc29=_0x24c1db['mapper']['toViewPosition'](_0x28ebd5);_0x31ab0f['data']['isSuggestion']&&_0x24c1db['writer']['addClass']('ck-suggestion-marker-'+_0x235529+'-new',_0x28a1bc),_0x95a71b['activeChange']==_0x31ab0f&&_0x24c1db['writer']['addClass']('ck-suggestion-marker--active',_0x28a1bc),_0x24c1db['writer']['insert'](_0x39fc29,_0x28a1bc),_0x24c1db['mapper']['bindElementToMarker'](_0x28a1bc,_0x13aeb3['markerName']);}_0x5551dd||_0x2de723||!_0x194b7b||_0x4a4549(_0x194b7b);};}(this['editor']),{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('removeMarker:revision',(_0x584fd1,_0x3c5b9e,_0x6ba3d3)=>{const _0xea8e6e=_0x6ba3d3['mapper']['markerNameToElements'](_0x3c5b9e['markerName']);if(_0xea8e6e){for(const _0x43299a of _0xea8e6e)(_0x43299a['hasClass']('ck-suggestion-marker-split')||_0x43299a['hasClass']('ck-suggestion-marker-merge'))&&(_0x6ba3d3['mapper']['unbindElementFromMarkerName'](_0x43299a,_0x3c5b9e['markerName']),_0x6ba3d3['writer']['remove'](_0x43299a));}},{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',(_0x24bcb6,_0x2cf0f9,_0x1e9bfb)=>{const _0x3687ac=_0x2cf0f9['markerName']['split'](':')[0x1],_0xb77b4=this['_getChangeFromId'](_0x3687ac);if(!_0xb77b4)return null;const _0x3ae804='add'==_0xb77b4['type']?'split':'merge';if(_0x1e9bfb['consumable']['test'](_0x2cf0f9['markerRange'],_0x24bcb6['name']))for(const _0x527953 of _0x2cf0f9['markerRange']['getItems']()){if(!_0x527953['is']('element','softBreak'))continue;const _0x4d8930=_0x1e9bfb['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x3ae804}),_0x4dea92=_0x1e9bfb['mapper']['toViewPosition'](this['editor']['model']['createPositionBefore'](_0x527953));_0xb77b4['data']['isSuggestion']&&_0x1e9bfb['writer']['addClass']('ck-suggestion-marker-'+_0x3ae804+'-new',_0x4d8930),this['activeChange']==_0xb77b4&&_0x1e9bfb['writer']['addClass']('ck-suggestion-marker--active',_0x4d8930),_0x1e9bfb['writer']['insert'](_0x4dea92,_0x4d8930),_0x1e9bfb['mapper']['bindElementToMarker'](_0x4d8930,_0x2cf0f9['markerName']);}},{'priority':'high'}),this['editor']['model']['document']['on']('change',()=>{this['editor']['editing']['view']['change'](_0x572157=>{for(const _0x1ab3e1 of this['editor']['model']['document']['getRootNames']()){const _0x1c5472=this['editor']['model']['document']['getRoot'](_0x1ab3e1),_0x3bf048=this['editor']['editing']['view']['document']['getRoot'](_0x1ab3e1);if(_0x3bf048){const _0x5dfa54=_0x1c5472['getAttribute']('revisionHistoryAttachChange');if(_0x572157['removeAttribute']('data-change-id',_0x3bf048),_0x572157['removeClass']('ck-revision-history-root-add',_0x3bf048),_0x572157['removeClass']('ck-revision-history-root-remove',_0x3bf048),_0x572157['removeClass']('ck-revision-history-root--active',_0x3bf048),_0x5dfa54){const _0x304ce4=this['_getChangeFromId'](_0x5dfa54);if(!_0x304ce4)return null;_0x572157['setAttribute']('data-change-id',_0x5dfa54,_0x3bf048),_0x572157['addClass']('ck-revision-history-root-'+_0x304ce4['type'],_0x3bf048),this['activeChange']==_0x304ce4&&_0x572157['addClass']('ck-revision-history-root--active',_0x3bf048);}}}});}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'comment','model':_0x5a049f=>'revision-comment:'+_0x5a049f,'converterPriority':'highest'}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'suggestion','model':_0x51c036=>'revision-suggestion:'+_0x51c036,'converterPriority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision-suggestion','view':_0x16e4b2=>({'name':'suggestion:'+_0x16e4b2,'group':'revision-suggestion'}),'converterPriority':'highest'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision-suggestion','view':_0x522318=>{const _0x1a57f4=_0x522318['markerName']['split'](':')[0x1];return'insertion'!=_0x1a57f4&&'deletion'!=_0x1a57f4?null:{'classes':['ck-suggestion-preview-marker','ck-suggestion-preview-marker-'+_0x1a57f4]};}}),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',(_0x14ad0b,_0x3d0b21,_0x5777a)=>{const _0x347c62=_0x5777a['mapper']['markerNameToElements'](_0x3d0b21['markerName']);if(_0x347c62){for(const _0xcb1014 of _0x347c62)_0xcb1014['is']('uiElement')&&(_0x5777a['mapper']['unbindElementFromMarkerName'](_0xcb1014,_0x3d0b21['markerName']),_0x5777a['writer']['remove'](_0xcb1014));}},{'priority':'high'});}['_getChangeFromId'](_0xef5496){return this['_changeIdToChange']['get'](_0xef5496);}['_getViewForChange'](_0x43be77){return this['_changeView']&&this['_changeView']['destroy'](),this['_changeView']=new Z(this['editor']['locale'],_0x43be77),this['_changeView'];}['_initInteractions'](){this['editor']['model']['document']['selection']['observeMarkers']('revision'),this['on']('change:activeView',(_0x50911c,_0x4e7773,_0x44eb22,_0x574ab1)=>{_0x574ab1&&this['_balloon']['remove'](_0x574ab1),_0x44eb22&&(this['_balloon']['add']({'view':_0x44eb22,'stackId':'revisionHistoryLabel','position':{'target':()=>{const _0x1b7c1f=this['editor']['editing'],_0x2ac754=this['_getChangeFromId'](_0x44eb22['changeId']);let _0x122a6a;if(_0x2ac754['data']['isOnRoot']){const _0x4a1698=_0x1b7c1f['view']['getDomRoot'](_0x2ac754['rootName']);_0x122a6a=Array['from'](_0x4a1698['getClientRects']());}else{const _0x4129ac=this['editor']['model']['markers']['get']('revision:'+_0x44eb22['changeId']);_0x122a6a=Array['from'](_0x1b7c1f['mapper']['markerNameToElements'](_0x4129ac['name']))['map'](_0x42f5c8=>_0x1b7c1f['view']['domConverter']['mapViewToDom'](_0x42f5c8))['map'](_0x33b7a1=>Array['from'](_0x33b7a1['getClientRects']()))['flat']();}if(!this['_activeViewTarget'])return _0x122a6a[0x0];return _0x122a6a['find'](_0x26a675=>_0x26a675['top']-0x3<=this['_activeViewTarget']['y']&&_0x26a675['bottom']+0x3>=this['_activeViewTarget']['y']&&_0x26a675['left']-0x3<=this['_activeViewTarget']['x']&&_0x26a675['right']+0x3>=this['_activeViewTarget']['x'])||_0x122a6a[0x0];}}}),this['_balloon']['showStack']('revisionHistoryLabel'));}),this['on']('change:activeChange',(_0x71f1e7,_0x3b6c89,_0x3feaa8,_0x4ebeca)=>{this['activeView']=_0x3feaa8?this['_getViewForChange'](_0x3feaa8):null,this['editor']['model']['change'](()=>{const _0x178a4a=this['editor']['editing'];_0x4ebeca&&(_0x4ebeca['data']['isOnRoot']?_0x178a4a['view']['change'](_0x5291ad=>{_0x5291ad['removeClass']('ck-revision-history-root--active',_0x178a4a['view']['document']['getRoot'](_0x4ebeca['rootName']));}):_0x178a4a['reconvertMarker']('revision:'+_0x4ebeca['id'])),_0x3feaa8&&(_0x3feaa8['data']['isOnRoot']?_0x178a4a['view']['change'](_0x1a1f5b=>{_0x1a1f5b['addClass']('ck-revision-history-root--active',_0x178a4a['view']['document']['getRoot'](_0x3feaa8['rootName']));}):_0x178a4a['reconvertMarker']('revision:'+_0x3feaa8['id']));});}),this['listenTo'](this['editor']['editing']['view']['document'],'mouseover',(_0x37f28a,_0x30c5f6)=>{if(this['activeChange'])return;const _0xb1aef7=this['_findChangeIdFromDomTarget'](_0x30c5f6['target']),_0x415940=this['_changeIdToChange']['get'](_0xb1aef7);_0x415940?(this['_activeViewTarget']={'x':_0x30c5f6['domEvent']['x'],'y':_0x30c5f6['domEvent']['y']},this['activeView']=this['_getViewForChange'](_0x415940)):(this['_activeViewTarget']=null,this['activeView']=null);}),this['listenTo'](this['editor']['editing']['view']['document'],'mousedown',(_0x587e2b,_0x4dc604)=>{const _0x30738d=this['_findChangeIdFromDomTarget'](_0x4dc604['target']),_0x2cdd46=this['_changeIdToChange']['get'](_0x30738d);_0x2cdd46?(this['_activeViewTarget']={'x':_0x4dc604['domEvent']['x'],'y':_0x4dc604['domEvent']['y']},_0x2cdd46===this['activeChange']?this['_balloon']['updatePosition']():this['activeChange']=_0x2cdd46):(this['_activeViewTarget']=null,this['activeChange']=null);});}['_findChangeIdFromDomTarget'](_0xa10f00){do{const _0x32978e=_0xa10f00['getAttribute']('data-change-id');if(_0x32978e)return _0x32978e;_0xa10f00=_0xa10f00['parent'];}while(_0xa10f00);return null;}['_cleanMarkers'](){this['editor']['model']['change'](_0x3b914b=>{for(const _0xb266e6 of this['editor']['model']['markers'])_0x3b914b['removeMarker'](_0xb266e6);});}constructor(_0x51745e){super(_0x51745e),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',(_0x522b61,_0x10c433,_0x2e2aba)=>{this['activeChange']=null,this['activeView']=null,this['editor']['editing']['view']['change'](_0x3d1a2a=>{for(const _0x396fd9 of this['editor']['editing']['view']['document']['roots'])_0x2e2aba?_0x3d1a2a['removeClass']('ck-editor__editable__overlay',_0x396fd9):_0x3d1a2a['addClass']('ck-editor__editable__overlay',_0x396fd9);});}),this['bind']('isNavigationMode')['to'](this,'activeChange',_0x511e06=>null!==_0x511e06),this['bind']('currentChangeNumber')['to'](this,'isReady',this,'diff',this,'activeChange',(_0xcc097f,_0x25a2ce,_0x1cfc5b)=>_0xcc097f&&_0x1cfc5b?_0x25a2ce['changes']['getIndex'](_0x1cfc5b):0x0),this['bind']('numberOfChanges')['to'](this,'isReady',this,'diff',(_0x2951f0,_0x5cace3)=>_0x2951f0?_0x5cace3['changes']['length']:0x0),this['_changeView']=null,this['_changeIdToChange']=new Map(),this['adapter']=null,this['_balloon']=this['editor']['plugins']['get'](_0x4d8e6e);}}function et(_0x5aea40,_0x19ede2){return(_0x433a08,_0xe32184,_0x2bcc8b)=>{if(!_0x2bcc8b['consumable']['test'](_0xe32184['markerRange'],_0x433a08['name']))return;const _0x522c02=_0xe32184['markerRange']['getWalker'](),_0x5a4fd7=_0xe32184['markerRange']['start'],_0x5eb8f6=_0x5aea40['model']['schema'];let _0x4214f8=null,_0x5b9a74=null,_0x195271=!0x1,_0x3c91f2=!0x1;for(const _0x2ceca9 of _0x522c02){const _0xae97b1=_0x2ceca9['item'];_0x195271=_0x195271||_0x5eb8f6['isContent'](_0xae97b1);const _0x29de72=_0x2bcc8b['mapper']['toViewElement'](_0xae97b1);if(_0x29de72&&_0x29de72['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x2ceca9['type']&&(_0x5eb8f6['isBlock'](_0xae97b1)&&!_0x5eb8f6['isLimit'](_0xae97b1)&&(_0xae97b1['nextSibling']||_0x5a4fd7['isAtEnd']?_0x4214f8&&_0x4214f8['parent']==_0xae97b1||(_0x4214f8=_0xae97b1,_0x5bda7d(_0x2ceca9['previousPosition']),_0x3c91f2=!0x0):_0x5b9a74=_0x5b9a74||_0x2ceca9['previousPosition']));}function _0x5bda7d(_0x40d687){const _0x4a7564=_0x2bcc8b['mapper']['toViewPosition'](_0x40d687),_0x2a6a17=_0x2bcc8b['writer']['createUIElement']('span',{'class':'ck-suggestion-preview-marker-'+_0x19ede2});_0x2bcc8b['writer']['insert'](_0x4a7564,_0x2a6a17),_0x2bcc8b['mapper']['bindElementToMarker'](_0x2a6a17,_0xe32184['markerName']);}_0x195271||_0x3c91f2||!_0x5b9a74||_0x5bda7d(_0x5b9a74);};}class bt extends _0x3bc71e{['execute'](){const _0x511026=this['editor'],_0x32e448=_0x511026['plugins']['get'](d),_0x51ad98=_0x32e448['isReady']?_0x32e448['diff']['newRevisionId']:null;_0x511026['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x51ad98);}['refresh'](){const {isReady:_0x511f51,isEnabled:_0x15e5b0}=this['editor']['plugins']['get'](d);this['isEnabled']=_0x511f51&&_0x15e5b0;}constructor(_0x2b9473){super(_0x2b9473);const _0x32648d=_0x2b9473['plugins']['get'](d);this['affectsData']=!0x1,this['listenTo'](_0x32648d,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x32648d,'change:isEnabled',()=>this['refresh']());}}class Rt extends _0x3bc71e{['execute'](){const _0x395dec=this['editor'],_0x67b60c=_0x395dec['plugins']['get'](d),{isNavigationMode:_0x518b88,currentChangeNumber:_0x37c0d5}=_0x67b60c;let _0x3130ca;if(_0x67b60c['activeChange']=_0x518b88?_0x67b60c['diff']['changes']['get'](_0x37c0d5+this['_step']):_0x67b60c['diff']['changes']['first'],_0x67b60c['activeChange']['data']['isOnRoot'])_0x3130ca=_0x395dec['editing']['view']['getDomRoot'](_0x67b60c['activeChange']['rootName']);else{const _0x30b802=_0x395dec['model']['markers']['get']('revision:'+_0x67b60c['activeChange']['id']);_0x3130ca=_0x4f7fee(_0x395dec['editing'],_0x30b802);}_0x2ad12f({'target':_0x3130ca,'viewportOffset':0x28});}['refresh'](){const {isNavigationMode:_0xe4e0ab,currentChangeNumber:_0xea3cea,numberOfChanges:_0x49f64e,isReady:_0x4cfa70,isEnabled:_0x593411}=this['editor']['plugins']['get'](d);this['isEnabled']=!!(_0x593411&&_0x4cfa70&&_0x49f64e)&&(!_0xe4e0ab||(0x1===this['_step']?_0xea3cea<_0x49f64e-0x1:_0xea3cea>0x0));}constructor(_0x4b965e,{direction:_0x4a1e17}){super(_0x4b965e);const _0x2d3901=_0x4b965e['plugins']['get'](d);this['affectsData']=!0x1,this['_step']='forward'===_0x4a1e17?0x1:-0x1,this['listenTo'](_0x2d3901,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x2d3901,'change:isEnabled',()=>this['refresh']()),this['listenTo'](_0x2d3901,'change:activeChange',()=>this['refresh']());}}class _i extends _0x31a2e3{constructor(_0x297738){super(_0x297738);const _0x1cb5c2=this['bindTemplate'],_0x1c2cd7=new _0x4ba64e(_0x297738),_0x4ffad2=new _0x4ba64e(_0x297738);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',(_0x3e28d0,_0xb24382)=>_0x3e28d0&&_0xb24382>0x0),this['bind']('_statusText')['to'](this,'isReady',this,'currentChangeNumber',this,'numberOfChanges',this,'isNavigationMode',(_0x57f5a7,_0x59efef,_0x253eb1,_0x46aff3)=>{if(!_0x57f5a7)return y(_0x297738,'Loading...');if(!_0x253eb1)return y(_0x297738,'No\x20changes');const _0x46566a=y(_0x297738,'NUMBER_OF_CHANGES',_0x253eb1);return _0x46aff3?y(_0x297738,'X_OF_Y_CHANGES',[_0x59efef+0x1,_0x253eb1]):_0x46566a;}),_0x1c2cd7['set']({'label':y(_0x297738,'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'}),_0x4ffad2['set']({'label':y(_0x297738,'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'}),_0x1c2cd7['bind']('isEnabled')['to'](this,'isBackwardNavigationEnabled'),_0x4ffad2['bind']('isEnabled')['to'](this,'isForwardNavigationEnabled'),_0x1c2cd7['on']('execute',()=>this['fire']('execute','backward')),_0x4ffad2['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',_0x1cb5c2['if']('_isStatusLabelVisible','ck-hidden',_0x434e6c=>!_0x434e6c)]},'children':[{'text':_0x1cb5c2['to']('isNavigationMode',_0x42047e=>_0x42047e?y(_0x297738,'EDIT_X_OF_Y_REVISIONS')+':\x20':y(_0x297738,'Total')+':\x20')}]},{'text':_0x1cb5c2['to']('_statusText')}]},new _0xa3514d(),{'tag':'div','attributes':{'class':['ck-revision-history-ui__changes-navigation__navigation']},'children':[_0x1c2cd7,_0x4ffad2]}]});}}const ce='ck-editor__editable__loading-overlay';class de extends _0x570a5a{static get['pluginName'](){return'RevisionViewerLoadingOverlay';}['show'](){const _0x4d9d1f=this['editor']['editing']['view'];_0x4d9d1f['change'](_0x359efc=>{for(const _0x2a16f6 of _0x4d9d1f['document']['roots'])_0x359efc['addClass'](ce,_0x2a16f6);});}['hide'](){const _0x3db530=this['editor']['editing']['view'];_0x3db530['change'](_0x313bf1=>{for(const _0x1a1f71 of _0x3db530['document']['roots'])_0x313bf1['removeClass'](ce,_0x1a1f71);});}}class R extends _0x570a5a{static get['pluginName'](){return'RevisionViewerUI';}static get['requires'](){return[d,de];}['init'](){const _0x36c3f7=this['editor'],_0x5b3f24=_0x36c3f7['plugins']['get'](d),_0x17c389=_0x36c3f7['plugins']['get'](de);_0x36c3f7['ui']['componentFactory']['add']('exitToEditing',_0x19f699=>{const _0x1122fd=new _0x4ba64e(_0x19f699);return _0x1122fd['set']({'label':y(_0x19f699,'Back\x20to\x20editing'),'icon':_0x528e9f['undo'],'withText':!0x0,'tooltip':!0x0,'class':'ck-revision-history-ui__back-to-editing'}),this['listenTo'](_0x1122fd,'execute',()=>{_0x36c3f7['config']['get']('revisionHistory')['closeRevisionViewerCallback']();}),_0x1122fd;}),_0x36c3f7['ui']['componentFactory']['add']('restoreRevision',_0x5aa900=>{const _0x105fdc=new _0x4ba64e(_0x5aa900);return _0x105fdc['set']({'label':y(_0x5aa900,'Restore\x20this\x20revision'),'withText':!0x0,'tooltip':!0x0}),_0x105fdc['bind']('isEnabled')['to'](_0x36c3f7['commands']['get']('restoreRevision')),this['listenTo'](_0x105fdc,'execute',()=>_0x36c3f7['execute']('restoreRevision')),_0x105fdc;}),_0x36c3f7['ui']['componentFactory']['add']('changesNavigation',_0x6991fb=>{const _0x32b423=new _i(_0x6991fb),_0x234936=_0x36c3f7['commands']['get']('showPreviousChange'),_0x4617de=_0x36c3f7['commands']['get']('showNextChange');return _0x32b423['bind']('isBackwardNavigationEnabled')['to'](_0x234936,'isEnabled'),_0x32b423['bind']('isForwardNavigationEnabled')['to'](_0x4617de,'isEnabled'),_0x32b423['bind']('isReady','currentChangeNumber','numberOfChanges','isNavigationMode')['to'](_0x5b3f24),this['listenTo'](_0x32b423,'execute',(_0x37abeb,_0x58e035)=>{_0x36c3f7['execute']('forward'===_0x58e035?'showNextChange':'showPreviousChange');}),_0x32b423;}),_0x17c389['show'](),_0x5b3f24['on']('change:isReady',(_0x30497a,_0x598fd5,_0x1b8f25)=>{_0x1b8f25?_0x17c389['hide']():_0x17c389['show']();});}}class vt extends mt{['render'](){super['render'](),this['_resizeObserver']=new kt(this['fieldView']['element'],()=>this['_updateTooltipText']()),this['listenTo'](this['fieldView'],'input',()=>this['_updateTooltipText']());}['destroy'](){super['destroy'](),this['_resizeObserver']&&this['_resizeObserver']['destroy']();}['_updateTooltipText'](){const _0x159a2a=this['fieldView']['element'];this['_tooltipString']=_0x159a2a['scrollWidth']>_0x159a2a['clientWidth']&&_0x159a2a['value']||'';}constructor(_0x11b948,_0x3dba42){super(_0x11b948,_0x3dba42),this['_resizeObserver']=null;const _0x3a2742=this['bindTemplate'];this['set']({'label':y(_0x11b948,'Revision\x20name'),'_tooltipString':''}),this['fieldView']['placeholder']=y(_0x11b948,'Enter\x20the\x20revision\x20name'),this['extendTemplate']({'tag':'span','attributes':{'class':['ck-revision-history-sidebar__revision-name'],'data-cke-tooltip-text':_0x3a2742['to']('_tooltipString'),'data-cke-tooltip-position':'s','data-cke-tooltip-class':'ck-tooltip_multi-line'}});}}class ti extends _0x31a2e3{constructor(_0x42dc19,_0x1d1004,_0x3bf6e4){super(_0x42dc19);const _0x329b95=new _0x1588e4();_0x329b95['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 _0x5346c0=['ck','ck-revision-history-sidebar__revision-author'];_0x3bf6e4&&_0x5346c0['push']('ck-revision-history-sidebar__revision-author_creator');const _0x31f22f=[{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__revision-author__name'],'title':y(_0x42dc19,_0x3bf6e4?'Revision\x20creator':'Revision\x20author')},'children':[_0x329b95,_0x1d1004['name']]}];this['setTemplate']({'tag':'li','attributes':{'class':_0x5346c0},'children':_0x31f22f});}}function ni(_0x250025,_0x41b357){const _0x2f20c6=_0x250025['bindTemplate'],_0x1af15b=_0x250025['locale'],_0x56f5cd=_0xdccbe0(_0x1af15b);_0x56f5cd['panelPosition']='sw';const _0x12459d=function(_0x46e226,_0x4f9840){const _0x5cee95=function(_0x2827e8,_0xc96187){const _0x17cb54=_0x2827e8['locale'],_0x5444b1={'Compare\x20against\x20selected':y(_0x17cb54,'Compare\x20against\x20selected'),'Name\x20this\x20revision':y(_0x17cb54,'Name\x20this\x20revision'),'Restore\x20this\x20revision':y(_0x17cb54,'Restore\x20this\x20revision')};return _0xc96187['map'](_0x491563=>{const _0x9cfc2a=_0x5444b1[_0x491563['name']];return _0x9cfc2a&&_0x9cfc2a!==_0x491563['name']&&(_0x491563['name']=_0x9cfc2a),_0x491563;});}(_0x46e226,_0x4f9840),_0x492e40=new _0x343672();for(const _0x5c989c of _0x5cee95){const _0x11f5d7={'type':'button','model':new to({'label':_0x5c989c['name'],'class':_0x5c989c['class'],'withText':!0x0,'_action':_0x5c989c['action']})};_0x11f5d7['model']['bind']('isEnabled')['to'](_0x46e226,'isActionsDropdownOpen',_0x5474c1=>'function'!=typeof _0x5c989c['isEnabled']||(!_0x5474c1||_0x5c989c['isEnabled'](_0x46e226))),_0x492e40['add'](_0x11f5d7);}return _0x492e40;}(_0x250025,_0x41b357);return _0x250025['bind']('isActionsDropdownOpen')['to'](_0x56f5cd,'isOpen'),_0x56f5cd['buttonView']['set']({'label':y(_0x1af15b,'Show\x20more\x20items'),'tooltip':!0x0,'tooltipPosition':'sw','icon':_0x528e9f['threeVerticalDots']}),_0x56f5cd['extendTemplate']({'attributes':{'class':['ck-revision-history-sidebar__revision__actions',_0x2f20c6['if']('isActionsDropdownOpen','ck-on')]},'on':{'click':_0x2f20c6['to'](_0x11138f=>_0x11138f['stopPropagation']())}}),_0x56f5cd['on']('execute',_0x4d0c33=>{_0x250025['isReady']&&'function'==typeof _0x4d0c33['source']['_action']&&_0x4d0c33['source']['_action'](_0x250025);}),_0x5bff20(_0x56f5cd,_0x12459d),_0x56f5cd['listenTo'](_0x250025,'change:isActionsDropdownOpen',(_0x55e1c5,_0x26f277,_0x20d1ba)=>{if(_0x20d1ba)for(const _0x5f2d75 of _0x56f5cd['listView']['items']){const _0x2c130a=_0x5f2d75['children']['first'],_0x59a9c6=_0x41b357['find'](_0x3997ee=>_0x3997ee['action']===_0x2c130a['_action'])['isVisible'];_0x5f2d75['isVisible']=void 0x0===_0x59a9c6||_0x59a9c6(_0x250025);}}),_0x56f5cd;}class ai extends _0x377d61(_0x31a2e3){['render'](){super['render']();const _0x28eec2=this['revisionNameView']['fieldView']['element'];this['listenTo'](_0x28eec2,'change',()=>{this['_requireRevisionName']&&!_0x28eec2['value']||this['fire']('setName',{'id':this['id'],'name':_0x28eec2['value']}),_0x28eec2['value']||(_0x28eec2['value']=this['name']?this['name']:this['_createdAtFormatted']);});}['select'](){this['isSelected']=!0x0;}['deselect'](){this['isSelected']=!0x1;}['highlight'](){this['isHighlighted']=!0x0;}['unhighlight'](){this['isHighlighted']=!0x1;}constructor(_0x4c2185,_0x35c033,_0x7175c2,_0x380f74){super(_0x4c2185);const _0x5db778=this['bindTemplate'],_0x37d05b=function(_0x4e4976,_0x2fee77){const _0x1b43fd=Array['from'](_0x2fee77['authors'])['filter'](_0x40829e=>_0x40829e!=_0x2fee77['creator']);return _0x2fee77['creator']&&_0x1b43fd['unshift'](_0x2fee77['creator']),_0x1b43fd['map'](_0x490203=>new ti(_0x4e4976,_0x490203,_0x490203==_0x2fee77['creator']));}(_0x4c2185,_0x35c033);this['id']=_0x35c033['id'],this['_revision']=_0x35c033,this['_requireRevisionName']=_0x380f74,this['bind']('name','createdAt')['to'](_0x35c033),this['bind']('_createdAtFormatted')['to'](this,'createdAt',_0x50fc08=>{return _0x439f67=_0x4c2185['uiLanguage'],(_0x34269f=_0x50fc08)['toLocaleDateString'](_0x439f67,{'month':'long','day':'numeric'})+',\x20'+_0x34269f['toLocaleTimeString'](_0x439f67,{'hour':'numeric','minute':'numeric'});var _0x439f67,_0x34269f;}),this['set']('isSelected',!0x1),this['set']('isHighlighted',!0x1),this['set']('isActionsDropdownOpen',!0x1),this['set']('isReady',!0x1),this['set']('isEnabled',!0x1),this['revisionNameView']=new vt(_0x4c2185,_0x5d53d4),this['revisionNameView']['fieldView']['extendTemplate']({'attributes':{'maxlength':'220'}}),this['revisionNameView']['fieldView']['bind']('value')['to'](this,'name',_0xfa9772=>_0xfa9772||this['_createdAtFormatted']),this['revisionNameView']['bind']('isEnabled')['to'](this,'isSelected',this,'isEnabled',(_0x259772,_0x93a212)=>_0x259772&&_0x93a212),this['revisionActionsView']=_0x7175c2&&_0x7175c2['length']?ni(this,_0x7175c2):'',this['revisionActionsView']&&this['revisionActionsView']['bind']('isEnabled')['to'](this),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision-wrapper',_0x5db778['if']('isConfirm','ck-revision-history-sidebar__revision-wrapper_confirmation_visible')]},'children':[{'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision',_0x5db778['if']('isEnabled','ck-disabled',_0x287845=>!_0x287845),_0x5db778['if']('isSelected','ck-revision-history-sidebar__revision_selected'),_0x5db778['if']('isHighlighted','ck-revision-history-sidebar__revision_highlighted'),_0x5db778['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':_0x5db778['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':_0x37d05b}]},this['revisionActionsView']],'on':{'click':_0x5db778['to'](_0x1a7be9=>{_0x1a7be9['srcElement']['closest']('.ck-thread__remove-confirm')||this['isReady']&&this['isEnabled']&&this['fire']('select',{'id':this['id']});})}}]});}}function di(_0x418df8,_0x73153){const _0x21ccd2=_0x52adef['fromJSDate'](_0x418df8)['setLocale'](_0x73153),_0x17cb7c=_0x52adef['local'](),_0x351a4d=_0x17cb7c['minus']({'days':0x1})['startOf']('day');let _0x192d6c,_0x357a68;return _0x21ccd2['hasSame'](_0x17cb7c,'day')?(_0x192d6c=_0x21ccd2['startOf']('day')['toJSDate'](),_0x357a68=_0x21ccd2['toRelativeCalendar']()):_0x21ccd2['hasSame'](_0x351a4d,'day')?(_0x192d6c=_0x351a4d['toJSDate'](),_0x357a68=_0x21ccd2['toRelativeCalendar']()):_0x21ccd2['hasSame'](_0x17cb7c,'week')?(_0x192d6c=_0x21ccd2['startOf']('week')['toJSDate'](),_0x357a68=_0x21ccd2['weekdayLong']||''):_0x21ccd2['hasSame'](_0x17cb7c,'year')?(_0x192d6c=_0x21ccd2['startOf']('month')['toJSDate'](),_0x357a68=_0x21ccd2['monthLong']||''):(_0x192d6c=_0x21ccd2['startOf']('year')['toJSDate'](),_0x357a68=String(_0x21ccd2['year'])),{'startDate':_0x192d6c,'localizedPeriodName':_0x357a68};}class mi extends _0x31a2e3{['addRevision'](_0x1f59bd){const _0x530ae2=new ai(this['locale'],_0x1f59bd,this['_revisionActions'],this['_requireRevisionName']);this['revisionViews']['add'](_0x530ae2);}['removeRevision'](_0x5a9ed6){const _0x124499=this['revisionViews']['find'](_0x1b7a12=>_0x1b7a12['id']===_0x5a9ed6['id']);this['revisionViews']['remove'](_0x124499);}constructor(_0x3898ff,_0x318e74,_0x1c7863,_0x52bfc7){super(_0x3898ff);const _0x38caf1=di(_0x318e74,this['locale']['uiLanguage'])['localizedPeriodName'];this['startDate']=_0x318e74,this['revisionViews']=this['createCollection'](),this['_revisionActions']=_0x1c7863,this['_requireRevisionName']=_0x52bfc7,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':_0x38caf1}]},{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__time-period__revisions']},'children':this['revisionViews']}]});}}class as extends _0x31a2e3{constructor(_0x30bf61){super(_0x30bf61);const _0x2ed891=new _0x1588e4();_0x2ed891['content']=_0x528e9f['history'],this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all','ck-revision-history-sidebar__header']},'children':[_0x2ed891,{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__header__label']},'children':[y(_0x30bf61,'Revision\x20history')]}]});}}class ci extends _0x31a2e3{['render'](){super['render']();for(const _0x534525 of this['_revisions'])this['_addRevision'](_0x534525);this['_revisions']['on']('add',(_0xb7c12d,_0x5b0b26)=>{this['_addRevision'](_0x5b0b26);}),this['_revisions']['on']('remove',(_0x873886,_0x212a70)=>{this['_removeRevision'](_0x212a70);});}get['revisionViews'](){return this['timePeriodViews']['map'](_0x2c39a7=>_0x2c39a7['revisionViews']['map'](_0x2efece=>_0x2efece))['flat']();}['selectRevision'](_0x34926c){for(const _0x47b0f6 of this['revisionViews'])_0x34926c&&_0x34926c['id']===_0x47b0f6['id']?_0x47b0f6['select']():_0x47b0f6['deselect']();}['highlightRevisions'](_0x310ab6){for(const _0xc62b9c of this['revisionViews'])_0x310ab6['some'](({id:_0xe0243b})=>_0xe0243b===_0xc62b9c['id'])?_0xc62b9c['highlight']():_0xc62b9c['unhighlight']();}['_addRevision'](_0x2a0f44){const _0x568a5b=di(_0x2a0f44['createdAt'],this['locale']['uiLanguage'])['startDate'];let _0x3cddcb=this['timePeriodViews']['get'](0x0);_0x3cddcb&&_0x3cddcb['startDate']['getTime']()===_0x568a5b['getTime']()||(_0x3cddcb=new mi(this['locale'],_0x568a5b,this['_revisionActions'],this['_requireRevisionName']),this['timePeriodViews']['add'](_0x3cddcb)),_0x3cddcb['addRevision'](_0x2a0f44);}['_removeRevision'](_0x4a04d2){const _0x56522e=di(_0x4a04d2['createdAt'],this['locale']['uiLanguage'])['startDate'];this['_getTimePeriodViewByStartDate'](_0x56522e)['removeRevision'](_0x4a04d2);}['_getTimePeriodViewByStartDate'](_0x36cd0c){return this['timePeriodViews']['find'](_0x2e54b6=>_0x2e54b6['startDate']['getTime']()===_0x36cd0c['getTime']());}constructor(_0x2d7005,_0x31d23f,_0x40b776,_0x2bead6){super(_0x2d7005);const _0x4f9f2a=this['bindTemplate'];this['timePeriodViews']=this['createCollection'](),this['timePeriodViews']['delegate']('select')['to'](this),this['timePeriodViews']['delegate']('setName')['to'](this),this['_revisions']=_0x31d23f,this['_revisionActions']=_0x40b776,this['_requireRevisionName']=_0x2bead6,this['on']('select',(_0x3218c5,_0x28e445)=>{this['fire']('revisionSelected',_0x28e445);}),this['on']('setName',(_0x4f9989,_0x8fdf2b)=>{this['fire']('revisionSetName',_0x8fdf2b);}),this['set']('isEnabled',!0x1),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-rounded-corners','ck-revision-history-sidebar']},'children':[new as(_0x2d7005),{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__timeline',_0x4f9f2a['if']('isEnabled','ck-disabled',_0xd3e358=>!_0xd3e358)]},'children':this['timePeriodViews']}]});}}class w extends _0x570a5a{static get['pluginName'](){return'RevisionsSidebar';}static get['requires'](){return[d];}['init'](){const _0x1299ba=this['_revisionsRepository']['_revisions'],_0x53d1ca=this['_createRevisionActions'](),_0x2c0321=this['editor']['config']['get']('revisionHistory.viewerSidebarContainer');this['_sidebarView']=new ci(this['editor']['locale'],_0x1299ba,_0x53d1ca,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',(_0x1e2d86,_0xe2b83c)=>{_0xe2b83c['revisionViews']['on']('add',(_0x13a73e,_0x2c2b88)=>{_0x2c2b88['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)),_0x2c0321['appendChild'](this['_sidebarView']['element']);}['destroy'](){this['_sidebarView']['element']['remove'](),this['_sidebarView']['destroy']();}['_handleEditorDataReady'](){const _0x503bef=this['_revisionsRepository']['getRevision'](0x0);if(_0x503bef){const _0x1713a8=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x503bef['id']);this['_revisionViewer']['compare'](_0x503bef,_0x1713a8);}}['_handleRevisionSelected'](_0x457f49,_0x181f6a){const _0x21df76=this['_revisionsRepository']['getRevision'](_0x181f6a['id']),_0x3d8d3c=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x21df76['id']);this['_revisionViewer']['compare'](_0x21df76,_0x3d8d3c);}['_handleRevisionSetName'](_0x26b143,_0x2fc42d){this['_revisionsRepository']['getRevision'](_0x2fc42d['id'])['setName'](_0x2fc42d['name']);}['_handleDiffChange'](_0x17e8b0,_0x5e6963,_0x4095de){const _0xfef014=this['_revisionsRepository']['getRevisionsInDiff'](_0x4095de);_0xfef014['length']>0x2?(this['_sidebarView']['highlightRevisions'](_0xfef014),this['_sidebarView']['selectRevision'](null)):(this['_sidebarView']['highlightRevisions']([]),this['_sidebarView']['selectRevision'](_0xfef014[0x0]));}['_createRevisionActions'](){const _0x3808a8=this['editor'],_0x321497=w['availableRevisionActions'],_0x1abaa4=_0x3808a8['config']['get']('revisionHistory.revisionActions')||w['defaultRevisionActions'];if(_0x1abaa4['length'])return _0x1abaa4['map'](_0x175073=>{const _0x5a9931='string'==typeof _0x175073?Object['assign']({},_0x321497[_0x175073]):_0x175073;return _0x5a9931['action']=_0x5a9931['action']['bind'](this,_0x3808a8),_0x5a9931['isVisible']&&(_0x5a9931['isVisible']=_0x5a9931['isVisible']['bind'](this,_0x3808a8)),_0x5a9931;});}constructor(_0xde42d5){super(_0xde42d5),this['_revisionViewer']=_0xde42d5['plugins']['get'](d),this['_revisionsRepository']=this['_revisionViewer']['repository'],this['_sidebarView']=null;}}w['availableRevisionActions']={'compareAgainstSelected':{'name':'Compare\x20against\x20selected','action':({plugins:_0x3f0cda},_0x2ed39c)=>{const _0x3a316d=_0x3f0cda['get'](d),_0x1399fc=_0x3a316d['repository'];let _0xb369eb=_0x3a316d['diff']['newRevisionId'],_0x4cec87=_0x2ed39c['id'];_0x1399fc['getIndex'](_0xb369eb)>_0x1399fc['getIndex'](_0x4cec87)&&([_0xb369eb,_0x4cec87]=[_0x4cec87,_0xb369eb]),_0x3a316d['compare'](_0xb369eb,_0x4cec87);},'isVisible':({plugins:_0x428c5b},_0x1a995a)=>{const _0x416b61=_0x428c5b['get'](d);return!(_0x416b61['repository']['getRevisionsInDiff'](_0x416b61['diff'])['length']>0x2)&&!_0x1a995a['isSelected'];}},'restoreRevision':{'name':'Restore\x20this\x20revision','action':(_0x43150e,{id:_0x405550})=>{_0x43150e['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x405550);},'isVisible':({plugins:_0x1ab977},_0x30b88f)=>!!_0x1ab977['get'](d)['repository']['getLaterVisibleRevision'](_0x30b88f['id'])},'nameRevision':{'name':'Name\x20this\x20revision','action':({plugins:_0x3f73b9},{id:_0x16a948,revisionNameView:_0x10421f})=>{const _0x2cb5c1=_0x3f73b9['get'](d),_0x4c3ab6=_0x2cb5c1['repository']['getEarlierVisibleRevision'](_0x16a948);_0x2cb5c1['compare'](_0x16a948,_0x4c3ab6),_0x10421f['focus'](),_0x10421f['fieldView']['select']();}}},w['defaultRevisionActions']=['compareAgainstSelected','restoreRevision','nameRevision'];class ot extends ht{get['view'](){return this['_view'];}get['element'](){return this['view']['element'];}['init'](_0x632918){const _0x3f0d24=this['editor'],_0x2f960f=this['view'],_0x33b0a2=_0x3f0d24['editing']['view'],_0x3afef0=_0x2f960f['editable'],_0x1feefa=_0x33b0a2['document']['getRoot']();_0x3afef0['name']=_0x1feefa['rootName'],_0x2f960f['render']();const _0x5bcfa0=_0x3afef0['element'];this['setEditableElement'](_0x3afef0['name'],_0x5bcfa0),_0x2f960f['editable']['bind']('isFocused')['to'](this['focusTracker']),_0x33b0a2['attachDomRoot'](_0x5bcfa0),this['_elementReplacer']['replace'](_0x632918,this['element']),this['_initToolbar'](),this['fire']('ready');}['destroy'](){super['destroy']();const _0x542521=this['view'],_0x2dceaa=this['editor']['editing']['view'];this['_elementReplacer']['restore'](),_0x2dceaa['detachDomRoot'](_0x542521['editable']['name']),_0x542521['destroy']();}['_initToolbar'](){const _0x288cca=this['view'];_0x288cca['stickyPanel']['bind']('isActive')['to'](this['focusTracker'],'isFocused'),_0x288cca['stickyPanel']['limiterElement']=_0x288cca['element'],_0x288cca['stickyPanel']['bind']('viewportTopOffset')['to'](this,'viewportOffset',({top:_0x2ead8b})=>_0x2ead8b),_0x288cca['toolbar']['fillFromConfig'](this['_toolbarConfig'],this['componentFactory']),this['addToolbar'](_0x288cca['toolbar']);}constructor(_0x270545,_0x35596b){super(_0x270545),this['_view']=_0x35596b,this['_toolbarConfig']=ct(_0x270545['config']['get']('toolbar')),this['_elementReplacer']=new nt();}}class at extends dt{get['editable'](){return this['_editable'];}['render'](){super['render'](),this['stickyPanel']['content']['add'](this['toolbar']),this['top']['add'](this['stickyPanel']),this['main']['add'](this['editable']);}constructor(_0x36b664,_0x4e94cd,_0x14b415={}){super(_0x36b664),this['stickyPanel']=new lt(_0x36b664),this['toolbar']=new pt(_0x36b664,{'shouldGroupWhenFull':_0x14b415['shouldToolbarGroupWhenFull']}),this['_editable']=new ut(_0x36b664,_0x4e94cd);}}class m extends rt(st(it)){get['ui'](){return this['_ui'];}['destroy'](){return this['updateSourceElement'](),this['ui']['destroy'](),super['destroy']();}static async['create'](_0xa4574a,_0x5aebf7){const _0x16cbcc=new this(_0xa4574a,_0x5aebf7);return await _0x16cbcc['initPlugins'](),await _0x16cbcc['ui']['init'](_0xa4574a),await _0x16cbcc['data']['init'](_0x16cbcc['config']['get']('initialData')||''),_0x16cbcc['fire']('ready'),_0x16cbcc;}constructor(_0x134258,_0x769d0d){super(_0x769d0d),this['sourceElement']=_0x134258,this['model']['document']['createRoot']();const _0x11cecf=new at(this['locale'],this['editing']['view'],{'shouldToolbarGroupWhenFull':!0x0});this['_ui']=new ot(this,_0x11cecf);}}const g=['RevisionHistoryUI','RestrictedEditingMode'];class k extends _0x570a5a{static get['pluginName'](){return'RevisionViewerIntegration';}constructor(_0x2e73f0){super(_0x2e73f0),this['result']='end';}}class H extends _0x570a5a{static get['pluginName'](){return'RevisionHistory';}static get['requires'](){return[l,u];}set['adapter'](_0x10e460){this['editor']['plugins']['get']('RevisionTracker')['adapter']=_0x10e460;}get['adapter'](){return this['editor']['plugins']['get']('RevisionTracker')['adapter'];}['addRevisionData'](_0x58bce1){return this['editor']['plugins']['get']('RevisionTracker')['addRevisionData'](_0x58bce1);}['getRevision'](_0x3b68b1){return this['editor']['plugins']['get']('RevisionsRepository')['getRevision'](_0x3b68b1);}['getRevisions'](_0x2a2ac3={'toJSON':!0x1}){return this['editor']['plugins']['get']('RevisionsRepository')['getRevisions'](_0x2a2ac3);}['_getRevisionViewerEditorConfig'](){const _0x555b1e=this['editor'],_0x752d95=_0x44b806(_0x555b1e,g),_0x228beb=_0x555b1e['plugins']['get']('RevisionTracker'),_0x216efb=_0x555b1e['plugins']['get']('Users')['users'];return _0x752d95['toolbar']=['exitToEditing','restoreRevision','changesNavigation'],delete _0x752d95['lazyRoots'],(_0x752d95['plugins']['push'](k,d,R,class extends _0x570a5a{static get['requires'](){return[d,'Users'];}['init'](){const _0x24ff02=this['editor']['plugins']['get']('Users');for(const _0x1b2d30 of _0x216efb)_0x1b2d30['isAnonymous']||_0x24ff02['getUser'](_0x1b2d30['id'])||_0x24ff02['addUser'](_0x1b2d30);const _0x32127f=_0x228beb['repository']['getRevisions']();let _0x36c141=null;const _0x20646a=this['editor']['plugins']['get']('RevisionViewer');_0x20646a['adapter']=_0x228beb['adapter'],_0x20646a['bind']('isEnabled')['to'](_0x228beb),this['editor']['commands']['get']('restoreRevision')['bind']('isEnabled')['to'](_0x555b1e,'isReadOnly',_0x145b55=>!_0x145b55);for(const _0x40998d of _0x32127f){const _0x515e05=null===_0x40998d['creator'];if(_0x515e05&&_0x40998d['toVersion']===_0x40998d['fromVersion'])continue;const _0x4c4d3f=_0x40998d['toJSON']();_0x20646a['addRevisionData'](_0x4c4d3f,(_0x230df2,_0x3b83cb,_0x195e2c)=>{if(_0x515e05){if(_0x36c141)_0x36c141['_update'](_0x230df2,_0x3b83cb);else{if(!_0x3b83cb){const _0x1e33e2=_0x195e2c['toJSON']();_0x1e33e2['id']=_0x306f0d(),_0x228beb['saveRevision'](_0x1e33e2,_0x195e2c['toVersion'])['then'](_0xceecc6=>{_0x36c141=_0xceecc6;});}}}else _0x40998d['_update'](_0x230df2,_0x3b83cb);});}}},w),_0x752d95);}['_enhanceShowRevisionViewerCallback'](){const _0xc8fc6b=this['editor']['config']['get']('revisionHistory')['showRevisionViewerCallback'];this['editor']['config']['set']('revisionHistory.showRevisionViewerCallback',async()=>{this['editor']['enableReadOnlyMode']('revision-history-viewer-opened');const _0x59d767=this['editor']['plugins']['get']('RevisionTracker');if(this['editor']['plugins']['has']('Autosave')){const _0xfa050f=this['editor']['plugins']['get']('Autosave');await _0xfa050f['save']();}else await _0x59d767['update']();this['editor']['plugins']['has']('PaginationLookup')&&this['editor']['plugins']['get']('PaginationLookup')['_recalculatePageBreaks']();const _0x343e89=this['_getRevisionViewerEditorConfig']();return _0xc8fc6b(_0x343e89)['then'](_0x59c665=>{return(this['_viewerEditor']=_0x59c665,this['editor']['plugins']['has']('Annotations'))&&this['editor']['plugins']['get']('Annotations')['refreshVisibility'](),_0x59c665;})['catch'](_0x1ad984=>(console['error'](_0x1ad984),this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),null));});}['_enhanceCloseRevisionViewerCallback'](){const _0x9b5679=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'](),_0x9b5679(this['_viewerEditor'])['then'](()=>{if(this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),this['_viewerEditor']=null,this['editor']['plugins']['has']('Annotations')){const _0x46a758=this['editor']['plugins']['get']('Annotations');_0x46a758['refreshVisibility'](),_0x46a758['refreshPositioning']();}})));}['_showRevisionViewer'](_0x3a9ecc){const _0x4f2c7b=this['editor']['config']['get']('revisionHistory.editorContainer'),_0x941fc4=this['editor']['config']['get']('revisionHistory.viewerContainer'),_0xcfd370=this['editor']['config']['get']('revisionHistory.viewerEditorElement');return m['create'](_0xcfd370,_0x3a9ecc)['then'](_0x75607b=>(_0x941fc4['style']['display']='block',_0x4f2c7b['style']['display']='none',_0x75607b));}['_closeRevisionViewer'](_0x29009b){const _0x4d54df=this['editor']['config']['get']('revisionHistory.editorContainer');return this['editor']['config']['get']('revisionHistory.viewerContainer')['style']['display']='none',_0x4d54df['style']['display']='',_0x29009b['destroy']();}async['_restoreRevision'](_0x4fc0a4){const _0x282029=this['editor'],_0x32c4b1=this['_viewerEditor']['plugins']['get']('RevisionViewer'),_0xa0d3f8=_0x282029['plugins']['get']('RevisionTracker'),_0x681abc=_0x32c4b1['repository']['getRevision'](_0x4fc0a4);let _0x21aafc,_0x1dc198,_0x387103;try{_0x21aafc=await _0x32c4b1['getRevisionData'](_0x681abc),_0x1dc198=await _0x32c4b1['getRevisionRootsAttributes'](_0x681abc);}catch(_0x54aecc){return void console['error'](_0x54aecc);}_0x282029['model']['change'](_0x568da5=>{for(const _0x3058ed of Array['from'](_0x282029['model']['markers']['getMarkersGroup']('restrictedEditingException')))_0x568da5['removeMarker'](_0x3058ed);}),_0x32c4b1['isReady']=!0x1,_0x282029['model']['enqueueChange'](_0x2f0dab=>{_0x2f0dab['setSelection'](null),_0x2f0dab['removeSelectionAttribute'](_0x282029['model']['document']['selection']['getAttributeKeys']());const _0x419921=Object['keys'](_0x21aafc);for(const _0x1ad4c9 of _0x282029['model']['document']['roots'])'$graveyard'!=_0x1ad4c9['rootName']&&_0x1ad4c9['isAttached']()&&!_0x419921['includes'](_0x1ad4c9['rootName'])&&_0x2f0dab['detachRoot'](_0x1ad4c9);for(const _0xf22a58 of _0x419921){let _0x369092=_0x282029['model']['document']['getRoot'](_0xf22a58);_0x369092&&_0x369092['isAttached']()||(_0x369092=_0x2f0dab['addRoot'](_0xf22a58));const _0x14cee0=_0x1dc198[_0xf22a58],_0x211317=Object['keys'](_0x14cee0),_0x1cb082=_0x21aafc[_0xf22a58];for(const _0x36384e of _0x369092['getAttributeKeys']())_0x211317['includes'](_0x36384e)||_0x2f0dab['removeAttribute'](_0x36384e,_0x369092);for(const _0x3ec72d of _0x211317)_0x2f0dab['setAttribute'](_0x3ec72d,_0x1dc198[_0xf22a58][_0x3ec72d],_0x369092);_0x2f0dab['remove'](_0x2f0dab['createRangeIn'](_0x369092)),_0x2f0dab['insert'](_0x282029['data']['parse'](_0x1cb082,_0x369092),_0x369092,0x0);}});const _0x185113=y(_0x282029['locale'],'Restored');if(_0x681abc['name'])_0x387103=-0x1==_0x681abc['name']['indexOf'](_0x185113)?_0x185113+':\x20'+_0x681abc['name']:_0x681abc['name'];else _0x387103=_0x185113+':\x20'+(_0x681abc['createdAt']['toLocaleDateString'](_0x282029['locale']['uiLanguage'],{'month':'long','day':'numeric'})+',\x20'+_0x681abc['createdAt']['toLocaleTimeString'](_0x282029['locale']['uiLanguage'],{'hour':'numeric','minute':'numeric'}));return await _0xa0d3f8['saveRevision']({'name':_0x387103}),_0x32c4b1['isReady']=!0x0,_0x282029['config']['get']('revisionHistory')['closeRevisionViewerCallback']();}constructor(_0x80fc7b){if(super(_0x80fc7b),!this['editor']['config']['get']('revisionHistory'))throw new _0x2af7ea('revision-history-missing-configuration',this);this['_viewerEditor']=null,this['editor']['config']['define']('revisionHistory.showRevisionViewerCallback',_0x54d14f=>this['_showRevisionViewer'](_0x54d14f)),this['editor']['config']['define']('revisionHistory.closeRevisionViewerCallback',_0x40b28d=>this['_closeRevisionViewer'](_0x40b28d)),this['editor']['config']['define']('revisionHistory.restoreRevisionCallback',_0x5878bf=>this['_restoreRevision'](_0x5878bf)),this['editor']['config']['define']('revisionHistory.requireRevisionName',!0x1),this['_enhanceShowRevisionViewerCallback'](),this['_enhanceCloseRevisionViewerCallback']();}}export{H as RevisionHistory,u as RevisionHistoryUI,l as RevisionTracker,d as RevisionViewer,de as RevisionViewerLoadingOverlay,R as RevisionViewerUI,A as RevisionsRepository,w as RevisionsSidebar};
23
+ import{Plugin as _0x580e1f,Context as _0x5981e5,PendingActions as _0x22ed99,icons as _0x40f1df,Command as _0x188b37,DataApiMixin as rt,ElementApiMixin as st,Editor as it}from'@ckeditor/ckeditor5-core/dist/index.js';import{ObservableMixin as _0x330e54,uid as _0x4f3974,Collection as _0x2e3edc,logWarning as _0x4c1761,FocusTracker as _0x2253e3,KeystrokeHandler as _0x5b12dd,scrollViewportToShowTarget as _0xc6c84d,ResizeObserver as kt,ElementReplacer as nt,CKEditorError as _0x40464c}from'@ckeditor/ckeditor5-utils/dist/index.js';import{Users as _0x4a39ba,getMarkerDomElement as _0x280166,ConfirmMixin as _0x4a2aec,sanitizeEditorConfig as _0x47375a}from'ckeditor5-collaboration/dist/index.js';import{ViewDocumentFragment as _0x5659e8,ViewText as _0x1e000c,ViewElement as _0x1dbbc1,Element as ft,Range as gt,Position as wt,DocumentFragment as _t,ViewContainerElement as _0x42597e,ViewAttributeElement as _0x400d97,ViewEmptyElement as _0x54a34f,ViewRawElement as _0xd4e566,ViewUIElement as _0x1755ed,Text as yt}from'@ckeditor/ckeditor5-engine/dist/index.js';import{cloneDeep as _0x5e4b81,set as _0x3bb554,unset as _0xfaab04,isEqual as _0x10a2a2}from'lodash-es';import{View as _0x4bcd56,submitHandler as _0x3635ce,LabeledFieldView as mt,createLabeledInputText as _0x3a13f6,injectCssTransitionDisabler as ts,createDropdown as _0x43d373,ListView as te,ListItemView as _0x43c2e5,ButtonView as _0x99d8d4,MenuBarMenuView as _0x4fa6ad,MenuBarMenuListView as _0x21f133,MenuBarMenuListItemView as _0x1e1e38,MenuBarMenuListItemButtonView as _0x33c27a,ContextualBalloon as _0x1f4f7b,ToolbarSeparatorView as _0x4d4910,IconView as _0x4c04a6,addListToDropdown as _0x52a1c1,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 _0x4158e4}from'luxon';class a extends _0x330e54(){['setName'](_0x15c2be){this['_update']({'name':_0x15c2be});}['setAttribute'](_0x1e817a,_0x2554a1){const _0x5cd25e=_0x5e4b81(this['attributes']);_0x3bb554(_0x5cd25e,_0x1e817a,_0x2554a1),this['_update']({'attributes':_0x5cd25e});}['removeAttribute'](_0x4d3983){const _0x42fdb9=_0x5e4b81(this['attributes']);_0xfaab04(_0x42fdb9,_0x4d3983),this['_update']({'attributes':_0x42fdb9});}['_update'](_0x2d5047,_0x4ba912=!0x1){let _0x284d1e=!0x1;const _0x5d1378={'id':this['id']},_0x3e3311=['name','createdAt','diffData','authors','attributes','toVersion','fromVersion','creatorId'];for(const _0x32a9b0 of _0x3e3311){const _0x383511=_0x2d5047[_0x32a9b0];void 0x0!==_0x383511&&_0x383511!==this[_0x32a9b0]&&(this[_0x32a9b0]=_0x383511,_0x5d1378[_0x32a9b0]=_0x383511,_0x284d1e=!0x0);}_0x284d1e&&(_0x5d1378['authors']&&(_0x5d1378['authorsIds']=_0x5d1378['authors']['map'](_0x416e67=>_0x416e67['id']),delete _0x5d1378['authors']),this['fire']('_update',_0x5d1378,_0x4ba912));}['toJSON'](){return{'id':this['id'],'name':this['name'],'creatorId':this['creator']?this['creator']['id']:null,'authorsIds':this['authors']['map'](_0x4b41be=>_0x4b41be['id']),'diffData':this['diffData'],'createdAt':this['createdAt'],'attributes':this['attributes'],'fromVersion':this['fromVersion'],'toVersion':this['toVersion']};}constructor(_0x34729a){super(),this['id']=_0x34729a['id']||_0x4f3974(),this['creator']=_0x34729a['creator']||null,this['authors']=_0x34729a['authors']||[],this['diffData']=_0x34729a['diffData']||null,this['toVersion']=_0x34729a['toVersion']||0x0,this['fromVersion']=_0x34729a['fromVersion']||0x0,this['set']('name',_0x34729a['name']||''),this['set']('createdAt',_0x34729a['createdAt']||new Date()),this['set']('attributes',_0x34729a['attributes']||{});}}class A extends _0x580e1f{static get['requires'](){return[_0x4a39ba];}static get['pluginName'](){return'RevisionsRepository';}get['length'](){return this['_revisions']['length'];}['afterInit'](){!function(_0x65fa68){function _0x9e6844(_0x36a41c,_0x27509d,_0x5853c1){const _0x3a411c={};_0x3a411c[_0x4809dc([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])]={0x10:0xa,0x18:0xc,0x20:0xe},_0x3a411c[_0x4809dc([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],_0x3a411c[_0x4809dc([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],_0x3a411c[_0x4809dc([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],_0x3a411c[_0x4809dc([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],_0x3a411c[_0x4809dc([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],_0x3a411c[_0x4809dc([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],_0x3a411c[_0x4809dc([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],_0x3a411c[_0x4809dc([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],_0x3a411c[_0x4809dc([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],_0x3a411c[_0x4809dc([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 _0xd2f288=new Uint8Array(0x10);for(let _0x14db4e=0xf;_0x14db4e>=0x0;--_0x14db4e)_0xd2f288[_0x14db4e]=_0x5853c1%0x100,_0x5853c1=parseInt(_0x5853c1/0x100);let _0x36e846=null,_0x290831=0x10;const _0x3fd089=new Uint8Array(_0x27509d),_0x4c8bb9=[],_0x547148=[];_0x5d6251();for(let _0x37b994=0x0;_0x37b994<_0x36a41c[_0x4809dc([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x37b994++)0x10===_0x290831&&(_0x36e846=_0x2b40a7(_0xd2f288),_0x290831=0x0,_0x297278(_0xd2f288)),_0x36a41c[_0x37b994]^=_0x36e846[_0x290831++];return _0x36a41c;function _0x2a05e8(_0x5c2c96){const _0x577f30=[];for(let _0x2244b=0x0;_0x2244b<_0x5c2c96[_0x4809dc([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2244b+=0x4)_0x577f30[_0x4809dc([0x70,0x75,0x73,0x68])](_0x5c2c96[_0x2244b]<<0x18|_0x5c2c96[_0x2244b+0x1]<<0x10|_0x5c2c96[_0x2244b+0x2]<<0x8|_0x5c2c96[_0x2244b+0x3]);return _0x577f30;}function _0x297278(_0x4d6da8){for(let _0xbe744b=0xf;_0xbe744b>=0x0;_0xbe744b--){if(0xff!==_0x4d6da8[_0xbe744b]){_0x4d6da8[_0xbe744b]++;break;}_0x4d6da8[_0xbe744b]=0x0;}}function _0x2b40a7(_0x1a0bd8){const _0x1e60a2=_0x4c8bb9[_0x4809dc([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x1,_0x1f14ce=[0x0,0x0,0x0,0x0];let t=_0x2a05e8(_0x1a0bd8);for(let _0xc4c971=0x0;_0xc4c971<0x4;_0xc4c971++)t[_0xc4c971]^=_0x4c8bb9[0x0][_0xc4c971];for(let _0x115b14=0x1;_0x115b14<_0x1e60a2;_0x115b14++){for(let _0x2bb065=0x0;_0x2bb065<0x4;_0x2bb065++)_0x1f14ce[_0x2bb065]=_0x3a411c[_0x4809dc([0x54,0x31])][t[_0x2bb065]>>0x18&0xff]^_0x3a411c[_0x4809dc([0x54,0x32])][t[(_0x2bb065+0x1)%0x4]>>0x10&0xff]^_0x3a411c[_0x4809dc([0x54,0x33])][t[(_0x2bb065+0x2)%0x4]>>0x8&0xff]^_0x3a411c[_0x4809dc([0x54,0x34])][0xff&t[(_0x2bb065+0x3)%0x4]]^_0x4c8bb9[_0x115b14][_0x2bb065];t=_0x1f14ce[_0x4809dc([0x73,0x6c,0x69,0x63,0x65])]();}const _0x45edcb=new Uint8Array(0x10);let _0x31b542;for(let _0x3be2c=0x0;_0x3be2c<0x4;_0x3be2c++)_0x31b542=_0x4c8bb9[_0x1e60a2][_0x3be2c],_0x45edcb[0x4*_0x3be2c]=0xff&(_0x3a411c[_0x4809dc([0x53])][t[_0x3be2c]>>0x18&0xff]^_0x31b542>>0x18),_0x45edcb[0x4*_0x3be2c+0x1]=0xff&(_0x3a411c[_0x4809dc([0x53])][t[(_0x3be2c+0x1)%0x4]>>0x10&0xff]^_0x31b542>>0x10),_0x45edcb[0x4*_0x3be2c+0x2]=0xff&(_0x3a411c[_0x4809dc([0x53])][t[(_0x3be2c+0x2)%0x4]>>0x8&0xff]^_0x31b542>>0x8),_0x45edcb[0x4*_0x3be2c+0x3]=0xff&(_0x3a411c[_0x4809dc([0x53])][0xff&t[(_0x3be2c+0x3)%0x4]]^_0x31b542);return _0x45edcb;}function _0x5d6251(){const _0x1e0149=_0x3a411c[_0x4809dc([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])][_0x3fd089[_0x4809dc([0x6c,0x65,0x6e,0x67,0x74,0x68])]];for(let _0x1002c4=0x0;_0x1002c4<=_0x1e0149;_0x1002c4++)_0x4c8bb9[_0x4809dc([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]),_0x547148[_0x4809dc([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]);const _0x2122c7=0x4*(_0x1e0149+0x1),_0x2b8613=_0x3fd089[_0x4809dc([0x6c,0x65,0x6e,0x67,0x74,0x68])]/0x4,_0x4d179b=_0x2a05e8(_0x3fd089);let _0x27eefc;for(let _0x3aa5f3=0x0;_0x3aa5f3<_0x2b8613;_0x3aa5f3++)_0x27eefc=_0x3aa5f3>>0x2,_0x4c8bb9[_0x27eefc][_0x3aa5f3%0x4]=_0x4d179b[_0x3aa5f3],_0x547148[_0x1e0149-_0x27eefc][_0x3aa5f3%0x4]=_0x4d179b[_0x3aa5f3];let _0xfa7d37,_0x40b56f=0x0,t=_0x2b8613;for(;t<_0x2122c7;){_0xfa7d37=_0x4d179b[_0x2b8613-0x1],_0x4d179b[0x0]^=_0x3a411c[_0x4809dc([0x53])][_0xfa7d37>>0x10&0xff]<<0x18^_0x3a411c[_0x4809dc([0x53])][_0xfa7d37>>0x8&0xff]<<0x10^_0x3a411c[_0x4809dc([0x53])][0xff&_0xfa7d37]<<0x8^_0x3a411c[_0x4809dc([0x53])][_0xfa7d37>>0x18&0xff]^_0x3a411c[_0x4809dc([0x72,0x63,0x6f,0x6e])][_0x40b56f]<<0x18,_0x40b56f+=0x1;for(let _0x182abe=0x1;_0x182abe<_0x2b8613/0x2;_0x182abe++)_0x4d179b[_0x182abe]^=_0x4d179b[_0x182abe-0x1];_0xfa7d37=_0x4d179b[_0x2b8613/0x2-0x1],_0x4d179b[_0x2b8613/0x2]^=_0x3a411c[_0x4809dc([0x53])][0xff&_0xfa7d37]^_0x3a411c[_0x4809dc([0x53])][_0xfa7d37>>0x8&0xff]<<0x8^_0x3a411c[_0x4809dc([0x53])][_0xfa7d37>>0x10&0xff]<<0x10^_0x3a411c[_0x4809dc([0x53])][_0xfa7d37>>0x18&0xff]<<0x18;for(let _0xf04cb8=_0x2b8613/0x2+0x1;_0xf04cb8<_0x2b8613;_0xf04cb8++)_0x4d179b[_0xf04cb8]^=_0x4d179b[_0xf04cb8-0x1];let _0x1840c7,_0x210a49,_0x4fea02=0x0;for(;_0x4fea02<_0x2b8613&&t<_0x2122c7;)_0x1840c7=t>>0x2,_0x210a49=t%0x4,_0x4c8bb9[_0x1840c7][_0x210a49]=_0x4d179b[_0x4fea02],_0x547148[_0x1e0149-_0x1840c7][_0x210a49]=_0x4d179b[_0x4fea02++],t++;}for(let _0x292d84=0x1;_0x292d84<_0x1e0149;_0x292d84++)for(let _0x8d4dd=0x0;_0x8d4dd<0x4;_0x8d4dd++)_0xfa7d37=_0x547148[_0x292d84][_0x8d4dd],_0x547148[_0x292d84][_0x8d4dd]=_0x3a411c[_0x4809dc([0x55,0x31])][_0xfa7d37>>0x18&0xff]^_0x3a411c[_0x4809dc([0x55,0x32])][_0xfa7d37>>0x10&0xff]^_0x3a411c[_0x4809dc([0x55,0x33])][_0xfa7d37>>0x8&0xff]^_0x3a411c[_0x4809dc([0x55,0x34])][0xff&_0xfa7d37];}}function _0x4809dc(_0x4f1e87){return _0x4f1e87['map'](_0x20e338=>String['fromCharCode'](_0x20e338))['join']('');}(_0x545f09=>{function _0x4de8b8(){const _0x320105=[{[_0x4809dc([0x69,0x64])]:0x1,[_0x4809dc([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x4809dc([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73]),[_0x4809dc([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x4809dc([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x4809dc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x4809dc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x4809dc([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x4809dc([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x4809dc([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]:[{[_0x4809dc([0x69,0x64])]:0x2,[_0x4809dc([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x4809dc([0x54,0x72,0x61,0x63,0x6b,0x20,0x43,0x68,0x61,0x6e,0x67,0x65,0x73]),[_0x4809dc([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x4809dc([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x4809dc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x4809dc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x4809dc([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x4809dc([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]),[_0x4809dc([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x4809dc([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x4809dc([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x4809dc([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}}],[_0x4809dc([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x4809dc([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x4809dc([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x4809dc([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x4809dc([0x69,0x64])]:0x3,[_0x4809dc([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x4809dc([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e]),[_0x4809dc([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x4809dc([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x6f,0x6f,0x6b,0x75,0x70]),[_0x4809dc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x4809dc([0x70,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x4809dc([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x4809dc([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x4809dc([0x69,0x64])]:0x4,[_0x4809dc([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x4809dc([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x20,0x48,0x69,0x73,0x74,0x6f,0x72,0x79]),[_0x4809dc([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x4809dc([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x4809dc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x4809dc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x4809dc([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x4809dc([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]),[_0x4809dc([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x4809dc([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x4809dc([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x4809dc([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x4809dc([0x69,0x64])]:0x5,[_0x4809dc([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x4809dc([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x20,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65]),[_0x4809dc([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x4809dc([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65,0x55,0x49]),[_0x4809dc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x4809dc([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]),[_0x4809dc([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x4809dc([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x4809dc([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x4809dc([0x66,0x67,0x69])]:[0xc]}},{[_0x4809dc([0x69,0x64])]:0x6,[_0x4809dc([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x4809dc([0x46,0x6f,0x72,0x6d,0x61,0x74,0x20,0x50,0x61,0x69,0x6e,0x74,0x65,0x72]),[_0x4809dc([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x4809dc([0x46,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x55,0x49]),[_0x4809dc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x4809dc([0x66,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x4809dc([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x4809dc([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x4809dc([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x4809dc([0x66,0x67,0x69])]:[0xc]}},{[_0x4809dc([0x69,0x64])]:0x7,[_0x4809dc([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x4809dc([0x53,0x6c,0x61,0x73,0x68,0x20,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64]),[_0x4809dc([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x4809dc([0x53,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x55,0x49]),[_0x4809dc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x4809dc([0x73,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x4809dc([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x4809dc([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x4809dc([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x4809dc([0x66,0x67,0x69])]:[0xc]}},{[_0x4809dc([0x69,0x64])]:0x8,[_0x4809dc([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x4809dc([0x54,0x61,0x62,0x6c,0x65,0x20,0x6f,0x66,0x20,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73]),[_0x4809dc([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x4809dc([0x54,0x61,0x62,0x6c,0x65,0x4f,0x66,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x4809dc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x4809dc([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]),[_0x4809dc([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x4809dc([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x4809dc([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x4809dc([0x66,0x67,0x69])]:[0xc]}},{[_0x4809dc([0x69,0x64])]:0x9,[_0x4809dc([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x4809dc([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65]),[_0x4809dc([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x4809dc([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x55,0x49]),[_0x4809dc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x4809dc([0x74,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x4809dc([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x4809dc([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x4809dc([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x4809dc([0x66,0x67,0x69])]:[0xc,0xe]}},{[_0x4809dc([0x69,0x64])]:0xa,[_0x4809dc([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x4809dc([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]),[_0x4809dc([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x4809dc([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]),[_0x4809dc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x4809dc([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]),[_0x4809dc([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x4809dc([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x4809dc([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x4809dc([0x66,0x67,0x69])]:[0xc]}},{[_0x4809dc([0x69,0x64])]:0xb,[_0x4809dc([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x4809dc([0x41,0x49,0x20,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74]),[_0x4809dc([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x4809dc([0x41,0x49,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74,0x55,0x49]),[_0x4809dc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x4809dc([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x4809dc([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x4809dc([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x4809dc([0x69,0x64])]:0xc,[_0x4809dc([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x4809dc([0x50,0x72,0x6f,0x64,0x75,0x63,0x74,0x69,0x76,0x69,0x74,0x79,0x20,0x70,0x61,0x63,0x6b])},{[_0x4809dc([0x69,0x64])]:0xd,[_0x4809dc([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x4809dc([0x43,0x61,0x73,0x65,0x20,0x43,0x68,0x61,0x6e,0x67,0x65]),[_0x4809dc([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x4809dc([0x43,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x55,0x49]),[_0x4809dc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x4809dc([0x63,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x4809dc([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x4809dc([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x4809dc([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x4809dc([0x66,0x67,0x69])]:[0xc]}},{[_0x4809dc([0x69,0x64])]:0xe,[_0x4809dc([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x4809dc([0x44,0x72,0x75,0x70,0x61,0x6c,0x20,0x70,0x61,0x63,0x6b]),[_0x4809dc([0x66,0x6f,0x72,0x62,0x69,0x64,0x64,0x65,0x6e,0x48,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x4809dc([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])},{[_0x4809dc([0x69,0x64])]:0xf,[_0x4809dc([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x4809dc([0x4d,0x75,0x6c,0x74,0x69,0x20,0x4c,0x65,0x76,0x65,0x6c,0x20,0x4c,0x69,0x73,0x74]),[_0x4809dc([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x4809dc([0x4d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x4809dc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x4809dc([0x6d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x4809dc([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x4809dc([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])}];return _0x418038(_0x320105),_0x320105;function _0x33ee13(_0xb2f20a){return 0x1<<_0xb2f20a-0x1;}function _0x418038(_0x40b016){_0x40b016[_0x4809dc([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x237b57=>{_0x237b57[_0x4809dc([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]=_0x33ee13(_0x237b57[_0x4809dc([0x69,0x64])]),_0x27758e(_0x237b57)&&_0x237b57[_0x4809dc([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x418038(_0x237b57[_0x4809dc([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]);});}}function _0x27758e(_0x194651){return _0x4809dc([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])in _0x194651;}const _0x510631=[0x1,0x55,0x4e,0x73,0xc6,0xff,0x32,0x70,0x53,0x57,0xa1],_0x3f9532=[0x7f,0x22,0x6,0xd3,0xa7,0x56,0x92,0xc7,0x84,0xa0,0x12];function _0x10b930(_0x5947a7){const _0x5c044d=[0x1d,0xdd,0xaf,0x5a,0xe7,0x85,0xef,0xf0,0x4b,0xb4];return _0x979b1d(_0x5947a7,new Uint8Array([..._0x510631,..._0x5c044d,..._0x3f9532]));}function _0x979b1d(_0x4405a1,_0xd42b71){const _0x5b4e7e=_0x1fdf04(_0x4405a1),_0x1c12b4=Array[_0x4809dc([0x66,0x72,0x6f,0x6d])](_0xf21e43(_0x5b4e7e)),_0x372c93=_0x1c12b4[_0x4809dc([0x70,0x6f,0x70])](),_0x599c10=_0x1c12b4[_0x4809dc([0x70,0x6f,0x70])]();return _0x3a45cf(_0x9e6844(_0x1c12b4,_0xd42b71,_0x599c10+0x100*_0x372c93));}function _0x1fdf04(_0x75bd39){const _0xb2fff8=atob(_0x75bd39),[_0x4c8480,_0x3c479b]=_0xb2fff8[_0x4809dc([0x73,0x70,0x6c,0x69,0x74])](_0x4809dc([0x2d]));try{if(atob(_0x3c479b))return atob(_0x4c8480);}catch(_0x20c73d){}return _0xb2fff8;}function _0xd294cc(_0x55c85f){try{const _0x41b337=_0x10b930(_0x55c85f),_0x1d7a51=JSON[_0x4809dc([0x70,0x61,0x72,0x73,0x65])](_0x41b337),_0xafb011=parseInt(_0x1d7a51[_0x4809dc([0x31])]),_0x9f42ff=_0x1d7a51[_0x4809dc([0x32])]||'',_0x13b6dc=parseInt(_0x1d7a51[_0x4809dc([0x33])]),_0x724545=parseInt(_0x1d7a51[_0x4809dc([0x34])])||0x0,_0x2a8187=parseInt(_0x1d7a51[_0x4809dc([0x35])])||0x0;return{[_0x4809dc([0x70,0x72,0x6f,0x64,0x75,0x63,0x74,0x4e,0x61,0x6d,0x65])]:_0x9f42ff,[_0x4809dc([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])]:_0x724545,[_0x4809dc([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]:_0xafb011,[_0x4809dc([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]:_0x13b6dc,[_0x4809dc([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]:_0x2a8187};}catch(_0x57ccd1){return null;}}const _0x2f63bb=_0x4de8b8(),_0x4bf80c={[_0x4809dc([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])]:_0x56b026,[_0x4809dc([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])]:_0x59bd23,[_0x4809dc([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])]:_0x3c490c},_0x33dcce=_0x545f09[_0x4809dc([0x63,0x6f,0x6e,0x73,0x74,0x72,0x75,0x63,0x74,0x6f,0x72])][_0x4809dc([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])],_0x4befb5=_0x4809dc([0x63,0x6f,0x6e,0x74,0x65,0x78,0x74])in _0x545f09?_0x545f09['context']:_0x545f09['editor'],_0x11b980=_0x4809dc([0x34,0x30,0x34,0x38,0x30,0x38,0x35,0x30]),_0x1a1db7=_0x4809dc([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]),_0x48ceaf=_0x4befb5['config']['get'](_0x4809dc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x501dbb=_0x2f63bb[_0x4809dc([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x27758e)[_0x4809dc([0x66,0x69,0x6e,0x64])](_0x1c1426=>_0x1c1426[_0x4809dc([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]===_0x33dcce);function _0x548691(_0x4bb7ee,_0x3503ce){_0x4bf80c[_0x3503ce[_0x4809dc([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]](_0x4bb7ee,_0x3503ce),_0x3503ce[_0x4809dc([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x3503ce[_0x4809dc([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])][_0x4809dc([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4d570c=>_0x38f1f7(_0x4befb5,_0x4d570c[_0x4809dc([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))[_0x4809dc([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x36c3a6=>_0x548691(_0x4bb7ee,_0x36c3a6));}function _0x56b026(_0x174585,_0x1b65e6){_0x597ff9(_0x59b0d9(_0x174585,_0x1b65e6),_0x1b65e6);}function _0x59bd23(_0x3d7736,_0x4e8810){function _0x141bf9(_0x2e6509,_0x1ddb50){try{if(_0x38f1f7(_0x4befb5,_0x4809dc([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))&&_0x2e6509){const _0x3c0806=_0x5b6a30(_0x4befb5,_0x4809dc([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))[_0x4809dc([0x5f,0x65,0x78,0x65,0x63,0x75,0x74,0x65,0x53,0x75,0x67,0x67,0x65,0x73,0x74,0x69,0x6f,0x6e])];if(parseInt(_0x3c0806)/0x2>_0x2e6509[_0x4809dc([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])])return _0x2a64cd(_0x1ddb50[_0x4809dc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4809dc([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}return _0x59b0d9(_0x2e6509,_0x1ddb50);}catch(_0x4484cf){return _0x2a64cd(_0x1ddb50[_0x4809dc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4809dc([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}_0x597ff9(_0x141bf9(_0x3d7736,_0x4e8810),_0x4e8810);}function _0x3c490c(_0x8c18f6,_0x2ff058){const _0x2c894f=_0x3f9532[0x0]*_0x510631[0x1],_0x1fe903=_0x3f9532[0x0]*_0x510631[0x2],_0x58b2f7=_0x3f9532[0x2]*_0x510631[0x2];_0x38f1f7(_0x4befb5,_0x4809dc([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x5b6a30(_0x4befb5,_0x4809dc([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x4809dc([0x73,0x74,0x61,0x74,0x65])]==_0x4809dc([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&(window[_0x526c03()]=_0x58b2f7);function _0x52e53d(_0x2f9f5f,_0x158c85){try{return _0x728eb6()?_0x2a64cd(_0x158c85[_0x4809dc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4809dc([0x56,0x61,0x6c,0x69,0x64])):_0x59b0d9(_0x2f9f5f,_0x158c85);}catch(_0x42593c){return _0x2a64cd(_0x158c85[_0x4809dc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4809dc([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x31fab5(_0x3a859f,_0x1a75c1){const _0x5dd2a2=0x7;if(_0x3a859f==_0x1a75c1[_0x4809dc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4809dc([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]))_0x1a9f64();else{if(_0x3a859f==_0x1a75c1[_0x4809dc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4809dc([0x54,0x72,0x69,0x61,0x6c])){const _0x321bd7=_0x5bf6a4();_0x321bd7&&_0x2390b8(_0x321bd7,_0x1a75c1[_0x4809dc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);const _0x7862f=_0x19f11d();window[_0x4809dc([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x2390b8(_0x4809dc([0x74,0x69,0x6d,0x65]),_0x1a75c1[_0x4809dc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);},_0x7862f);const _0x1e45a4=_0x5b6a30(_0x4befb5,_0x4809dc([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x4809dc([0x5f,0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73])];_0x1e45a4[_0x4809dc([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x5dd2a2?_0x2390b8(_0x4809dc([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x1a75c1[_0x4809dc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]):_0x1e45a4['on'](_0x4809dc([0x61,0x64,0x64]),()=>{_0x1e45a4[_0x4809dc([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x5dd2a2&&_0x2390b8(_0x4809dc([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x1a75c1[_0x4809dc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);});}}}function _0x5bf6a4(){if(!_0x38f1f7(_0x4befb5,_0x4809dc([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x4bd7cd in window)if(Number['isNaN'](Number(_0x4bd7cd))){if(window[_0x4bd7cd]===_0x2c894f)return _0x4809dc([0x74,0x69,0x6d,0x65]);if(window[_0x4bd7cd]===_0x1fe903)return _0x4809dc([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]);}return!0x1;}function _0x728eb6(){if(!_0x38f1f7(_0x4befb5,_0x4809dc([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x47267d in window)if(Number['isNaN'](Number(_0x47267d))&&window[_0x47267d]===_0x58b2f7)return!0x0;return!0x1;}function _0x2390b8(_0x13955e,_0x54acd7){_0x1a9f64(),_0x2a64cd(_0x54acd7+_0x4809dc([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a])+_0x13955e),window[_0x526c03()]=_0x13955e===_0x4809dc([0x74,0x69,0x6d,0x65])?_0x2c894f:_0x1fe903;}function _0x19f11d(){let _0x5d263b=_0x3f9532[0x6]*_0x510631[0x8]*_0x510631[0x6];return _0x38f1f7(_0x4befb5,_0x4809dc([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x5d263b/=0xa),_0x5d263b;}function _0x1a9f64(){const _0x4aefd1=_0x4befb5;function _0x25f258(){_0x38f1f7(_0x4aefd1,_0x4809dc([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&(_0x5b6a30(_0x4aefd1,_0x4809dc([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x4809dc([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x4809dc([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x5b6a30(_0x4aefd1,_0x4809dc([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x4809dc([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x5b6a30(_0x4aefd1,_0x4809dc([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x4809dc([0x75,0x70,0x64,0x61,0x74,0x65])]=_0x4d3ea6,_0x5b6a30(_0x4aefd1,_0x4809dc([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x4809dc([0x73,0x61,0x76,0x65,0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e])]=_0x4d3ea6,_0x4aefd1[_0x4809dc([0x6d,0x6f,0x64,0x65,0x6c])][_0x4809dc([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x4d3ea6,_0x4aefd1[_0x4809dc([0x6d,0x6f,0x64,0x65,0x6c])][_0x4809dc([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x4d3ea6,_0x4aefd1[_0x4809dc([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x4809dc([0x6d,0x6f,0x64,0x65,0x6c]))),_0x38f1f7(_0x4aefd1,_0x4809dc([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x5b6a30(_0x4aefd1,_0x4809dc([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x4809dc([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x4809dc([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x5b6a30(_0x4aefd1,_0x4809dc([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x4809dc([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x5b6a30(_0x4aefd1,_0x4809dc([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x4809dc([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])]=_0x4d3ea6,_0x5b6a30(_0x4aefd1,_0x4809dc([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x4809dc([0x5f,0x67,0x65,0x74,0x44,0x69,0x66,0x66])]=_0x4d3ea6);}_0x4aefd1[_0x4809dc([0x73,0x74,0x61,0x74,0x65])]==_0x4809dc([0x72,0x65,0x61,0x64,0x79])?_0x25f258():_0x4aefd1[_0x4809dc([0x6f,0x6e,0x63,0x65])](_0x4809dc([0x72,0x65,0x61,0x64,0x79]),()=>{if(_0x38f1f7(_0x4aefd1,_0x4809dc([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&_0x25f258(),_0x38f1f7(_0x4aefd1,_0x4809dc([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))){const _0x1eb5bb=_0x5b6a30(_0x4aefd1,_0x4809dc([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79])),_0x1c72bf=_0x1eb5bb['getRevision'](0x0),_0x1c5ae3=_0x1eb5bb['getEarlierVisibleRevision'](_0x1c72bf[_0x4809dc([0x69,0x64])]);_0x5b6a30(_0x4aefd1,_0x4809dc([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x4809dc([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])](_0x1c72bf[_0x4809dc([0x69,0x64])],_0x1c5ae3?_0x1c5ae3[_0x4809dc([0x69,0x64])]:null,0x1)['then'](()=>_0x25f258());}});}_0x31fab5(_0x52e53d(_0x8c18f6,_0x2ff058),_0x2ff058);}function _0x59b0d9(_0x17f225,_0xbcb0be){try{return _0x204181(_0xbcb0be)?_0x2a64cd(_0xbcb0be[_0x4809dc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4809dc([0x56,0x61,0x6c,0x69,0x64])):_0x17f225&&_0xb8b5f4(_0x17f225[_0x4809dc([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])],_0xbcb0be)?_0x17f225[_0x4809dc([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]&&!window[_0x4809dc([0x6f,0x70,0x65,0x6e])][_0x4809dc([0x63,0x6c,0x6f,0x73,0x65,0x64])]||parseInt(_0x11b980)/0x2>_0x17f225[_0x4809dc([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]?_0x2a64cd(_0xbcb0be[_0x4809dc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4809dc([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])):_0x17f225[_0x4809dc([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]?_0x2a64cd(_0xbcb0be[_0x4809dc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4809dc([0x54,0x72,0x69,0x61,0x6c])):_0x2a64cd(_0xbcb0be[_0x4809dc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4809dc([0x56,0x61,0x6c,0x69,0x64])):_0x2a64cd(_0xbcb0be[_0x4809dc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4809dc([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}catch(_0xa39261){return _0x2a64cd(_0xbcb0be[_0x4809dc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4809dc([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x597ff9(_0x3888b7,_0x158416){if(_0x4befb5 instanceof _0x5981e5){const _0x4127be=_0x4befb5;_0x3888b7==_0x158416[_0x4809dc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4809dc([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x19b427(_0x4127be):_0x3888b7==_0x158416[_0x4809dc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4809dc([0x54,0x72,0x69,0x61,0x6c])&&window[_0x4809dc([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x19b427(_0x4127be),_0x2a64cd(_0x158416[_0x4809dc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4809dc([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65]));},_0x3f9532[0x6]*_0x510631[0x8]*_0x510631[0x6]),_0x4127be[_0x4809dc([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])][_0x4809dc([0x6f,0x6e])](_0x4809dc([0x61,0x64,0x64]),(_0x110dcc,_0x31bd6c)=>{_0x3888b7!=_0x158416[_0x4809dc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4809dc([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])&&_0x3888b7!=_0x158416[_0x4809dc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4809dc([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65])&&_0x3888b7!=_0x158416[_0x4809dc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4809dc([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])||_0x34bbd7(_0x31bd6c);});}else{const _0x40f53a=_0x4befb5;_0x3888b7==_0x158416[_0x4809dc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4809dc([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x34bbd7(_0x40f53a):_0x3888b7==_0x158416[_0x4809dc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4809dc([0x54,0x72,0x69,0x61,0x6c])&&_0x40f53a[_0x4809dc([0x6f,0x6e])](_0x4809dc([0x72,0x65,0x61,0x64,0x79]),()=>{let _0x49ed1e=0x0;_0x40f53a[_0x4809dc([0x6d,0x6f,0x64,0x65,0x6c])][_0x4809dc([0x6f,0x6e])](_0x4809dc([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0xc7d9eb,_0x287a73)=>{_0x287a73[0x0][_0x4809dc([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x49ed1e++,0x1f8===_0x49ed1e&&(_0x34bbd7(_0x40f53a),_0x2a64cd(_0x158416[_0x4809dc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4809dc([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])),_0xc7d9eb[_0x4809dc([0x6f,0x66,0x66])]());},{'priority':_0x4809dc([0x68,0x69,0x67,0x68,0x65,0x73,0x74])});});}}function _0x2a64cd(_0x1aec8e){const _0x3eafb6=_0x526c03();return _0x4befb5[_0x3eafb6]=_0x1aec8e,_0x1aec8e;}function _0x526c03(){const _0x451513=String(window[_0x4809dc([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x4809dc([0x6e,0x6f,0x77])]())[_0x4809dc([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x4809dc([0x2e]),'');let _0x4d4924='';for(let _0x28221a=0x0;_0x28221a<_0x451513[_0x4809dc([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x28221a+=0x2){let _0x47817e=parseInt(_0x451513[_0x4809dc([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x28221a,_0x28221a+0x2));_0x47817e>=_0x1a1db7[_0x4809dc([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x47817e-=_0x1a1db7[_0x4809dc([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x4d4924+=_0x1a1db7[_0x47817e];}return _0x4d4924;}function _0x19b427(_0x5c0167){for(const _0x237de0 of _0x5c0167[_0x4809dc([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])])_0x34bbd7(_0x237de0);_0x5b6a30(_0x5c0167,_0x4809dc([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x4809dc([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])](!0x0),_0x5b6a30(_0x5c0167,_0x4809dc([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x4809dc([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])]=_0x4d3ea6;}function _0x34bbd7(_0x1a4b80){function _0x6d9865(){_0x1a4b80[_0x4809dc([0x6d,0x6f,0x64,0x65,0x6c])][_0x4809dc([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x4d3ea6,_0x1a4b80[_0x4809dc([0x6d,0x6f,0x64,0x65,0x6c])][_0x4809dc([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x4d3ea6,_0x1a4b80[_0x4809dc([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x4809dc([0x6d,0x6f,0x64,0x65,0x6c]));}_0x1a4b80[_0x4809dc([0x73,0x74,0x61,0x74,0x65])]==_0x4809dc([0x72,0x65,0x61,0x64,0x79])?_0x6d9865():_0x1a4b80[_0x4809dc([0x6f,0x6e,0x63,0x65])](_0x4809dc([0x72,0x65,0x61,0x64,0x79]),()=>_0x6d9865());}function _0x4d3ea6(){return null;}function _0xb8b5f4(_0xcde083,_0x120e2f){const _0x105d4b=!!(_0xcde083&_0x120e2f[_0x4809dc([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]),_0x129c54=_0x48616c(_0xcde083,_0x120e2f);return _0x105d4b||_0x129c54;}function _0x48616c(_0x2ef2e6,_0x37ec88){const _0x53ead0=(_0x37ec88[_0x4809dc([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{})[_0x4809dc([0x66,0x67,0x69])]||null;return!!_0x53ead0&&_0x2f63bb[_0x4809dc([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xa2d018=>_0x53ead0[_0x4809dc([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xa2d018[_0x4809dc([0x69,0x64])]))[_0x4809dc([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x45bb89=>!_0x119809(_0x45bb89))[_0x4809dc([0x73,0x6f,0x6d,0x65])](_0x4eefdb=>!!(_0x2ef2e6&_0x4eefdb[_0x4809dc([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]));}function _0x119809(_0x111790){const _0x4645ce={[_0x4809dc([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])]:_0x5a6070};return!!_0x111790['forbiddenHandler']&&_0x4645ce[_0x111790['forbiddenHandler']]();}function _0x5a6070(){return!window[_0x4809dc([0x44,0x72,0x75,0x70,0x61,0x6c])]||!_0x38f1f7(_0x4befb5,_0x4809dc([0x64,0x72,0x75,0x70,0x61,0x6c,0x50,0x6f,0x77,0x65,0x72,0x65,0x64,0x42,0x79]));}function _0x204181(_0x24bbaf){if(!_0x38f1f7(_0x4befb5,_0x24bbaf[_0x4809dc([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))return!0x0;const _0x8b4a84=_0x24bbaf[_0x4809dc([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{},_0x5d8bf4=_0x8b4a84[_0x4809dc([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]||!0x1,_0x4ce230=_0x8b4a84[_0x4809dc([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]||!0x1,_0x37d7f6=_0x8b4a84[_0x4809dc([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]||!0x1;if(_0x38f1f7(_0x4befb5,_0x4809dc([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x5b6a30(_0x4befb5,_0x4809dc([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x4809dc([0x73,0x74,0x61,0x74,0x65])]==_0x4809dc([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&_0x5d8bf4)return!0x0;if(_0x38f1f7(_0x4befb5,_0x4809dc([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))&&_0x5b6a30(_0x4befb5,_0x4809dc([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))[_0x4809dc([0x72,0x65,0x73,0x75,0x6c,0x74])]==_0x4809dc([0x65,0x6e,0x64])&&_0x4ce230)return!0x0;return!(!_0x38f1f7(_0x4befb5,_0x4809dc([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]))||_0x5b6a30(_0x4befb5,_0x4809dc([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]))[_0x4809dc([0x72,0x65,0x73,0x75,0x6c,0x74])]!=_0x4809dc([0x65,0x6e,0x64])||!_0x37d7f6);}function _0x38f1f7(_0x2c6cdc,_0x17e93e){return _0x2c6cdc[_0x4809dc([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x4809dc([0x68,0x61,0x73])](_0x17e93e);}function _0x5b6a30(_0x219fd7,_0x2a267c){return _0x219fd7[_0x4809dc([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x4809dc([0x67,0x65,0x74])](_0x2a267c);}function _0x3a45cf(_0x1055be){let _0x383959='';for(const _0x40e492 of _0x1055be)_0x383959+=String[_0x4809dc([0x66,0x72,0x6f,0x6d,0x43,0x68,0x61,0x72,0x43,0x6f,0x64,0x65])](_0x40e492);return _0x383959;}function _0xf21e43(_0x380346){const _0x23ea0a=new Uint8Array(_0x380346[_0x4809dc([0x6c,0x65,0x6e,0x67,0x74,0x68])]);for(let _0x10ca5b=0x0;_0x10ca5b<_0x380346[_0x4809dc([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x10ca5b++)_0x23ea0a[_0x10ca5b]=_0x380346[_0x4809dc([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x10ca5b);return _0x23ea0a;}_0x501dbb&&_0x548691(_0xd294cc(_0x48ceaf),_0x501dbb);})(_0x65fa68);}(this);}['createRevision'](_0x5fdad4){const _0x22fe4c=this['editor']['plugins']['get']('Users');return new a({'id':_0x5fdad4['id'],'name':_0x5fdad4['name'],'creator':_0x5fdad4['creatorId']?_0x22fe4c['getUser'](_0x5fdad4['creatorId']):null,'diffData':_0x5fdad4['diffData']||_0x5fdad4['data'],'authors':_0x5fdad4['authorsIds']['map'](_0x45d701=>_0x22fe4c['getUser'](_0x45d701)),'createdAt':new Date(_0x5fdad4['createdAt']),'attributes':_0x5fdad4['attributes'],'fromVersion':_0x5fdad4['fromVersion'],'toVersion':_0x5fdad4['toVersion']});}['addRevision'](_0xad0876,_0x30a6de=0x0){this['_revisions']['add'](_0xad0876,_0x30a6de);}['getRevision'](_0x132232){return this['_revisions']['get'](_0x132232);}['getRevisions'](_0xa01c00={'toJSON':!0x1}){const _0x4a9c35=Array['from'](this['_revisions']);return _0x4a9c35['reverse'](),_0xa01c00['toJSON']?_0x4a9c35['map'](_0x37cdd3=>_0x37cdd3['toJSON']()):_0x4a9c35;}['getIndex'](_0x896374){return this['_revisions']['getIndex'](_0x896374);}['getEarlierVisibleRevision'](_0x5bcfa4){const [,_0x212e67]=this['getRevisionsIterator'](_0x5bcfa4,{'direction':'earlier'});return _0x212e67;}['getLaterVisibleRevision'](_0x573d42){const [,_0x11342a]=this['getRevisionsIterator'](_0x573d42,{'direction':'later'});return _0x11342a;}['getRevisionsInDiff'](_0x3b28af){const _0x41cc68=[];for(const _0x53b0b4 of this['getRevisionsIterator'](_0x3b28af['newRevisionId']))if(_0x41cc68['push'](_0x53b0b4),_0x53b0b4['id']===_0x3b28af['oldRevisionId'])break;return _0x41cc68;}*['getRevisionsIterator'](_0x41d541,{direction:_0x19bb70='earlier',filter:_0x432204=_0x14f5de=>!0x0}={}){const _0x54d3b9='earlier'===_0x19bb70?0x1:-0x1;let _0x27fc8d=this['_revisions']['get'](_0x41d541),_0xe62ee5=this['getIndex'](_0x27fc8d);for(yield _0x27fc8d;_0x27fc8d;){if(_0xe62ee5+=_0x54d3b9,_0x27fc8d=this['getRevision'](_0xe62ee5),!_0x27fc8d)return;_0x432204(_0x27fc8d)&&(yield _0x27fc8d);}}constructor(_0x5929ad){super(_0x5929ad),this['_revisions']=new _0x2e3edc();}}function y(_0x29974f,_0x52d997,_0x2c5f15){const t=_0x29974f['t'];switch(_0x52d997){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'},_0x2c5f15);case'X_OF_Y_CHANGES':return t({'string':'%0\x20of\x20%1','id':'X_OF_Y_CHANGES'},_0x2c5f15);case'Show\x20previous\x20change':return t('Show\x20previous\x20change');case'Show\x20next\x20change':return t('Show\x20next\x20change');case'EDIT_X_OF_Y_REVISIONS':return t({'string':'Edit','id':'EDIT_X_OF_Y_REVISIONS'});case'Total':return t('Total');case'Revision\x20creator':return t('Revision\x20creator');case'Revision\x20author':return t('Revision\x20author');case'Revision\x20name':return t('Revision\x20name');case'Save\x20current\x20revision':return t('Save\x20current\x20revision');case'Save':return t('Save');case'Cancel':return t('Cancel');case'Name\x20of\x20the\x20revision':return t('Name\x20of\x20the\x20revision');case'optional':return t('optional');case'PENDING_ACTION_REVISION_HISTORY':return t({'string':'Unsaved\x20change\x20in\x20revision\x20history.','id':'PENDING_ACTION_REVISION_HISTORY'});case'The\x20revision\x20name\x20cannot\x20be\x20empty.':return t('The\x20revision\x20name\x20cannot\x20be\x20empty.');case'Enter\x20the\x20revision\x20name':return t('Enter\x20the\x20revision\x20name');default:return'';}}const T={'c':_0x42597e,'a':_0x400d97,'e':_0x54a34f,'r':_0xd4e566,'u':_0x1755ed};class l extends _0x580e1f{static get['pluginName'](){return'RevisionTracker';}static get['requires'](){return[_0x4a39ba,A,_0x22ed99];}['init'](){this['repository']=this['editor']['plugins']['get']('RevisionsRepository'),this['_setConversion'](),this['editor']['data']['on']('ready',()=>{const _0x2e49a9=this['repository']['getRevision'](0x0),_0x46bd87=_0x2e49a9&&null===_0x2e49a9['creator']?_0x2e49a9:null;if(this['_continueCurrentRevision']=!!_0x46bd87&&this['editor']['config']['get']('revisionHistory.resumeUnsavedRevision'),this['editor']['plugins']['has']('RealTimeCollaborationClient')){const _0x10cc23=this['_source']['getCurrentRevisionId'](),_0x8f772e=this['repository']['getRevision'](_0x10cc23);if(_0x8f772e)this['_startingVersion']=_0x8f772e['fromVersion'],this['_continueCurrentRevision']=!0x1;else{const _0x23b0b9=this['_source']['history']['_operations']['find'](_0x71d295=>!_0x71d295['_isInit']),_0x37e92a=_0x23b0b9?_0x23b0b9['baseVersion']:this['_source']['history']['version'];_0x2e49a9?(_0x2e49a9['toVersion']<_0x37e92a&&_0x2e49a9['_update']({'toVersion':_0x37e92a}),this['_continueCurrentRevision']?(this['_source']['getCurrentRevisionId']=()=>_0x46bd87['id'],this['_startingVersion']=_0x46bd87['fromVersion']):(this['_startingVersion']=_0x2e49a9['toVersion'],this['_continueCurrentRevision']=!0x1)):(this['_startingVersion']=_0x37e92a,this['_continueCurrentRevision']=!0x1);}}else _0x46bd87&&(this['editor']['model']['document']['history']['version']=Math['max'](_0x46bd87['toVersion'],this['editor']['model']['document']['history']['version']),_0x46bd87['fromVersion']===_0x46bd87['toVersion']?(0x0!==_0x46bd87['fromVersion']&&(this['_source']['getCurrentRevisionId']=()=>_0x46bd87['id']),this['_continueCurrentRevision']=!0x1):this['_continueCurrentRevision']&&(this['_source']['getCurrentRevisionId']=()=>_0x46bd87['id'],this['_startingVersion']=_0x46bd87['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',_0x216ac9=>!_0x216ac9);}async['afterInit'](){if(this['repository']['length']>0x0){const _0x13fff5=this['repository']['getRevision'](0x0),_0x572c96=await this['getRevisionDocumentData'](_0x13fff5),_0x23de41=await this['getRevisionRootsAttributes'](_0x13fff5);this['_replaceEditorDataWithRevisionData'](_0x572c96,_0x23de41);}}['setSource'](_0x3a5e52){this['_source']=_0x3a5e52;}async['update'](){const _0x40f23f=await this['_source']['getLatestVersion']();if(_0x40f23f>this['currentRevision']['toVersion']){await this['_loadState']();const _0x407e9d=this['buildRevisionData']({'revision':this['currentRevision'],'to':_0x40f23f});_0x407e9d['authors']=_0x407e9d['authorsIds']['map'](_0x3fd6b7=>this['editor']['plugins']['get']('Users')['getUser'](_0x3fd6b7)),this['currentRevision']['_update'](_0x407e9d);}}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'](_0x4078f5={},_0x154ab5=null){const _0x1cebb3=[];await this['_loadState'](),this['_continueCurrentRevision']=!0x1,_0x154ab5>this['currentRevision']['toVersion']&&(_0x154ab5=null),null===_0x154ab5&&(_0x154ab5=await this['_source']['getLatestVersion']());const _0x3afd42=this['_getFromVersion'](_0x154ab5),_0x2062d9=this['buildRevisionData']({'from':_0x3afd42,'to':_0x154ab5});if(this['currentRevision']['toVersion']<_0x154ab5){const _0x860e8d=this['buildRevisionData']({'revision':this['currentRevision'],'from':_0x154ab5,'to':_0x154ab5});_0x860e8d['authors']=[],_0x860e8d['authorsIds']=[],_0x860e8d['id']=this['currentRevision']['id'],this['currentRevision']['_update'](_0x860e8d,!0x0),delete _0x860e8d['authors'],_0x1cebb3['push'](_0x860e8d);}_0x4078f5['creatorId']=this['editor']['plugins']['get']('Users')['me']['id'],_0x4078f5['name']=_0x4078f5['name']||null,_0x4078f5['id']=_0x4078f5['id']||_0x4f3974(),_0x4078f5={..._0x4078f5,..._0x2062d9};const _0x58a5ed=this['addRevisionData'](_0x4078f5);_0x1cebb3['push'](_0x4078f5);const _0x39037b=this['repository']['getIndex'](_0x58a5ed);if(0x0!==_0x39037b){const _0x46dcf1=this['repository']['getRevision'](_0x39037b-0x1);if(_0x46dcf1['fromVersion']!==_0x154ab5){const _0x50a33c=this['_revisionDataBuilder']['getData'](_0x154ab5,_0x46dcf1['toVersion']),_0x3978dc={'id':_0x46dcf1['id'],'diffData':_0x50a33c['diffData'],'authorsIds':_0x50a33c['authorsIds'],'authors':_0x50a33c['authorsIds']['map'](_0x1b2456=>this['editor']['plugins']['get']('Users')['getUser'](_0x1b2456)),'fromVersion':_0x154ab5};_0x46dcf1===this['currentRevision']&&(_0x3978dc['createdAt']=new Date(_0x4078f5['createdAt']['getTime']()+0xa)),_0x46dcf1['_update'](_0x3978dc,!0x0),delete _0x3978dc['authors'],_0x1cebb3['push'](_0x3978dc);}}if(this['adapter']){for(const _0x2c3851 of _0x1cebb3)this['_bufferUpdate'](_0x2c3851['id'],_0x2c3851,!0x0);this['sendBufferedUpdates']();}return _0x58a5ed;}['addRevisionData'](_0x4986a7){const _0x24a002=this['repository']['createRevision'](_0x4986a7);return this['adapter']&&_0x24a002['on']('_update',(_0x4d6a8c,_0xaa0d36,_0x40b19f)=>{_0x40b19f||(this['_bufferUpdate'](_0xaa0d36['id'],_0xaa0d36,!0x0),this['sendBufferedUpdates']());}),this['repository']['addRevision'](_0x24a002,this['_findInsertionIndex'](_0x24a002)),_0x24a002;}async['getRevisionDocumentData'](_0x92a02a){await this['_loadRevisionData'](_0x92a02a);const _0x2d6050={};for(const _0x4a822c in _0x92a02a['diffData']){if(_0x92a02a['diffData'][_0x4a822c]['attachChange']&&!_0x92a02a['diffData'][_0x4a822c]['attachChange']['isAttached'])continue;const _0x4539ac=this['_removeRevisionMarkers'](JSON['parse'](_0x92a02a['diffData'][_0x4a822c]['insertions'])),_0x1d2d87=this['editor']['editing']['view']['document'],_0x37281d=new _0x5659e8(_0x1d2d87,_0x4539ac['map'](_0x966cf=>B(_0x966cf,this['editor'])));this['editor']['data']['processor']['useFillerType']('marked'),_0x2d6050[_0x4a822c]=this['editor']['data']['processor']['toData'](_0x37281d),this['editor']['data']['processor']['useFillerType']('default');}return _0x2d6050;}async['getRevisionRootsAttributes'](_0x12ddc2){await this['_loadRevisionData'](_0x12ddc2);const _0x3ad045={};for(const _0x4f3200 in _0x12ddc2['diffData'])_0x12ddc2['diffData'][_0x4f3200]['attachChange']&&!_0x12ddc2['diffData'][_0x4f3200]['attachChange']['isAttached']||(_0x3ad045[_0x4f3200]=_0x12ddc2['diffData'][_0x4f3200]['attributesAfter']||{});return _0x3ad045;}['sendBufferedUpdates'](){if(0x0===this['_bufferedUpdates']['size'])return;if(this['_isPendingUpdate'])return;let _0x59b851=Array['from'](this['_bufferedUpdates']['values']());this['_bufferedUpdates']['clear']();for(let _0x309bc0=0x0;_0x309bc0<_0x59b851['length'];_0x309bc0++){const _0x4dba3f=_0x59b851[_0x309bc0];let _0x48cf1a=!0x1;for(const _0x1f82ad of Object['keys'](_0x4dba3f))void 0x0===_0x4dba3f[_0x1f82ad]?delete _0x4dba3f[_0x1f82ad]:'id'!==_0x1f82ad&&(_0x48cf1a=!0x0);_0x48cf1a||(_0x59b851[_0x309bc0]=null);}if(_0x59b851=_0x59b851['filter'](_0x5dedee=>null!==_0x5dedee),!_0x59b851['length'])return;for(let _0x462c1f=0x0;_0x462c1f<_0x59b851['length'];_0x462c1f++){const _0x1defde=_0x59b851[_0x462c1f];void 0x0!==_0x1defde['fromVersion']&&void 0x0===_0x1defde['toVersion']&&(_0x1defde['toVersion']=this['repository']['getRevision'](_0x1defde['id'])['toVersion']),void 0x0!==_0x1defde['toVersion']&&void 0x0===_0x1defde['fromVersion']&&(_0x1defde['fromVersion']=this['repository']['getRevision'](_0x1defde['id'])['fromVersion']);}const _0x61859d=this['editor']['config']['get']('collaboration.channelId');this['_isPendingUpdate']=!0x0,this['_addPendingAction'](),this['adapter']['updateRevisions'](_0x59b851,_0x61859d)['finally'](()=>{this['_isPendingUpdate']=!0x1;})['then'](_0x8e4dda=>{if(_0x8e4dda){for(const _0x5965d2 of _0x8e4dda)this['setRevisionData']({'id':_0x5965d2['id'],'createdAt':_0x5965d2['createdAt']});}this['_removePendingAction'](),this['sendBufferedUpdates']();});}['_replaceEditorDataWithRevisionData'](_0x4b1f4e,_0x5660ed){let _0x5cab71=this['editor']['config']['get']('initialData'),_0x2f72c2=this['editor']['config']['get']('rootsAttributes');if(void 0x0===_0x5cab71){_0x5cab71={};for(const _0x33e4c7 of this['editor']['model']['document']['getRootNames']())_0x5cab71[_0x33e4c7]='';}if('string'==typeof _0x5cab71&&(_0x5cab71={'main':_0x5cab71}),void 0x0===_0x2f72c2){_0x2f72c2={};for(const _0x49d408 of this['editor']['model']['document']['getRootNames']())_0x2f72c2[_0x49d408]={};}let _0x2f1bbe=!0x1;const _0xdc26ac=Object['keys'](_0x5cab71),_0x58dcf1=Object['keys'](_0x4b1f4e);for(const _0x1ccba5 of _0xdc26ac){if(_0x5cab71[_0x1ccba5]!==_0x4b1f4e[_0x1ccba5]&&''!==_0x5cab71[_0x1ccba5]['trim']()){_0x2f1bbe=!0x0;break;}if(!_0x10a2a2(_0x2f72c2[_0x1ccba5],_0x5660ed[_0x1ccba5])&&Object['keys'](_0x2f72c2[_0x1ccba5])['length']>0x0){_0x2f1bbe=!0x0;break;}}_0x2f1bbe||(_0x2f1bbe=_0x58dcf1['some'](_0x3f13ce=>!this['editor']['model']['document']['getRoot'](_0x3f13ce))),_0x2f1bbe&&_0x4c1761('editor-initial-data-replaced-with-revision-data',{'editorData':_0x5cab71,'editorRootsAttributes':_0x2f72c2,'revisionData':_0x4b1f4e,'revisionRootsAttributes':_0x5660ed}),this['editor']['config']['set']('initialData',_0x4b1f4e),this['editor']['config']['set']('rootsAttributes',_0x5660ed);}['_addPendingAction'](){if(!this['_pendingAction']){const _0x414f7e=this['editor']['plugins']['get']('PendingActions');this['_pendingAction']=_0x414f7e['add'](y(this['editor']['locale'],'PENDING_ACTION_REVISION_HISTORY'));}}['_removePendingAction'](){this['_pendingAction']&&(this['editor']['plugins']['get']('PendingActions')['remove'](this['_pendingAction']),this['_pendingAction']=null);}['_findInsertionIndex'](_0x53ee11){const _0x134089=this['repository']['getRevisions']();_0x134089['reverse']();let _0x225f30=0x0;for(;_0x225f30<_0x134089['length'];){const _0xee8ecf=_0x134089[_0x225f30];if(_0xee8ecf===this['currentRevision']){_0x225f30++;continue;}if(_0xee8ecf['id']===this['_initialRevisionId'])break;const _0x403b59=_0x53ee11['toVersion']-_0xee8ecf['toVersion']||_0x53ee11['fromVersion']-_0xee8ecf['fromVersion'];if(_0x403b59>0x0)break;if(_0x403b59<0x0)_0x225f30++;else{if(!_0x53ee11['creator']&&_0xee8ecf['creator'])break;if(_0xee8ecf['creator']||!_0x53ee11['creator']){if(_0x53ee11['createdAt']>_0xee8ecf['createdAt'])break;_0x225f30++;}else _0x225f30++;}}return _0x225f30;}['setRevisionData'](_0x412638){const _0x1be585=this['repository']['getRevision'](_0x412638['id']);if(_0x412638['createdAt']&&(_0x412638['createdAt']=new Date(_0x412638['createdAt'])),_0x412638['authorsIds']){const _0x540558=this['editor']['plugins']['get']('Users');_0x412638['authors']=_0x412638['authorsIds']['map'](_0x1ff7fa=>_0x540558['getUser'](_0x1ff7fa));}_0x1be585['_update'](_0x412638,!0x0);}['buildRevisionData']({revision:_0x391726=null,from:_0x2ab804=null,to:_0x4b66c6=null}){_0x2ab804=null!==_0x2ab804?_0x2ab804:_0x391726['fromVersion'],_0x4b66c6=null!==_0x4b66c6?_0x4b66c6:_0x391726['toVersion'];const _0x8f7b2b=this['_revisionDataBuilder']['getData'](_0x2ab804,_0x4b66c6),_0x3da9b7={'diffData':_0x8f7b2b['diffData'],'authorsIds':_0x8f7b2b['authorsIds'],'fromVersion':_0x2ab804,'toVersion':_0x4b66c6};if(!_0x391726||_0x4b66c6!==_0x391726['toVersion']){const _0x3392d0=_0x4b66c6-0x1,_0x56cc5a=this['_source']['history']['getOperation'](_0x3392d0);_0x3da9b7['createdAt']=_0x56cc5a&&_0x56cc5a['createdAt']||new Date();}if(this['_loadedStateData']&&_0x2ab804===this['_loadedStateData']['fromVersion']){for(const _0x5f2f5d of this['_loadedStateData']['authors'])_0x3da9b7['authorsIds']['includes'](_0x5f2f5d['id'])||_0x3da9b7['authorsIds']['push'](_0x5f2f5d['id']);}return _0x3da9b7;}['_loadRevisionData'](_0x2b957c){if(!_0x2b957c||_0x2b957c['diffData'])return Promise['resolve']();{const _0x314a79=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0x314a79,'revisionId':_0x2b957c['id']})['then'](_0x366fb6=>{_0x2b957c['diffData']=_0x366fb6['diffData'];});}}['_bufferUpdate'](_0x2eac89,_0x4fb456,_0xb2d7ee){if(this['_bufferedUpdates']['has'](_0x2eac89)){const _0x89be00=this['_bufferedUpdates']['get'](_0x2eac89);_0x4fb456=_0xb2d7ee?{..._0x89be00,..._0x4fb456}:{..._0x4fb456,..._0x89be00};}this['_bufferedUpdates']['set'](_0x2eac89,_0x4fb456);}['_getFromVersion'](_0x58524d){const _0x2ca7d4=this['repository']['getRevisions']();_0x2ca7d4['reverse'](),_0x2ca7d4['shift']();const _0x26a3e3=_0x2ca7d4['find'](_0x4c0aea=>_0x4c0aea['toVersion']<=_0x58524d)['toVersion'];return _0x26a3e3<this['_startingVersion']?this['_startingVersion']:_0x26a3e3;}['_createInitialRevision'](_0x290dcf){const _0x311ec4=this['repository']['getRevision'](this['repository']['length']-0x1);if(_0x311ec4)this['_initialRevisionId']=_0x311ec4['id'];else{const _0x5b0bd7=!this['editor']['model']['document']['roots']['find'](_0x29f7f0=>this['editor']['model']['hasContent'](_0x29f7f0)),_0x4deba8=this['editor']['plugins']['get']('Users')['me']['id'],_0x3dcee6=y(this['editor']['locale'],_0x5b0bd7?'Empty\x20document':'Initial\x20revision');this['_makeRevision']({'from':_0x290dcf,'to':_0x290dcf,'id':this['_initialRevisionId'],'name':_0x3dcee6,'creatorId':_0x4deba8});}}['_createCurrentRevision'](_0x5b7a03){const _0x4c7a5b=this['_source']['getCurrentRevisionId']();this['currentRevision']=this['repository']['getRevision'](_0x4c7a5b),this['currentRevision']||(this['currentRevision']=this['_makeRevision']({'from':_0x5b7a03,'to':_0x5b7a03,'id':_0x4c7a5b,'name':'','creatorId':null}));}['_makeRevision']({name:_0x5ee7e0,from:_0x5b19d4,to:_0x853324,creatorId:_0x51dadc,id:_0x1ea409}){const _0x2ed91a=this['buildRevisionData']({'from':_0x5b19d4,'to':_0x853324});_0x2ed91a['name']=_0x5ee7e0,_0x2ed91a['creatorId']=_0x51dadc,_0x2ed91a['id']=_0x1ea409;const _0x13525a=this['addRevisionData'](_0x2ed91a);return this['adapter']&&this['_bufferUpdate'](_0x2ed91a['id'],_0x2ed91a,!0x0),_0x13525a;}['_setConversion'](){this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'});}['_removeRevisionMarkers'](_0x4bb642){return(_0x4bb642=_0x4bb642['filter'](_0x496591=>!_0x496591['name']||'revision-start'!==_0x496591['name']&&'revision-end'!==_0x496591['name']))['forEach'](_0x2f70c4=>{'string'!=typeof _0x2f70c4&&(_0x2f70c4['children']=this['_removeRevisionMarkers'](_0x2f70c4['children']),_0x2f70c4['attributes']=_0x2f70c4['attributes']['filter'](_0x192c16=>!_0x192c16[0x0]['startsWith']('data-revision-')));}),_0x4bb642;}constructor(_0xaf5c44){super(_0xaf5c44),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 _0x1facca=_0x4f3974();this['_source']={'history':this['editor']['model']['document']['history'],'getLatestVersion':()=>Promise['resolve'](this['editor']['model']['document']['version']),'getCurrentRevisionId':()=>_0x1facca},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'});}}function B(_0x441c67,_0x3c2cb6){const _0x411ee6=_0x3c2cb6['editing']['view']['document'];if('string'==typeof _0x441c67)return new _0x1e000c(_0x411ee6,_0x441c67);{const _0x2068dd=_0x441c67['children']['map'](_0x51bb06=>B(_0x51bb06,_0x3c2cb6));return new(T[_0x441c67['type']]||_0x1dbbc1)(_0x411ee6,_0x441c67['name'],_0x441c67['attributes'],_0x2068dd);}}class J{['init'](_0x29dcba){this['source']=_0x29dcba;const _0x161a55=new Map(),_0x318698=new Map(),_0x37fca9=this['editor']['model']['document']['roots']['map'](_0x5c9309=>_0x5c9309['rootName']);for(const _0x40750b of _0x37fca9){const _0x1c1efa=this['editor']['model']['document']['getRoot'](_0x40750b),_0x2493d8=q(_0x1c1efa);_0x161a55['set'](_0x40750b,_0x2493d8),_0x318698['set'](_0x40750b,Object['fromEntries'](_0x1c1efa['getAttributes']()));}const _0x3b219b=Array['from'](this['editor']['model']['markers'])['map'](_0x292ee4=>[_0x292ee4['name'],_0x292ee4['getRange']()]),_0x40cf75=this['source']['version'];this['_saveMetaData'](_0x40cf75,_0x161a55,_0x3b219b,_0x318698),this['_startingRevisionId']=this['_revisionId'];const _0x32e8ec=new Map(),_0x123468=new Map();for(const _0x4b36c2 of _0x37fca9){const _0x58bb1a=G(_0x4b36c2);_0x32e8ec['set'](_0x4b36c2,_0x58bb1a),_0x123468['set'](_0x4b36c2,{});}this['_saveMetaData'](Number['NEGATIVE_INFINITY'],_0x32e8ec,[],_0x123468);}['getData'](_0x178418,_0x34ca35){if(this['_lastFrom']===_0x178418&&this['_lastTo']<=_0x34ca35)this['_savedMetaData']['size']>0x1&&this['_removeMetaData'](this['_lastTo']),this['_applyOperations'](this['_lastTo'],_0x34ca35,!0x0);else{if(!this['_savedMetaData']['has'](_0x178418)){const _0x176f20=this['_getPreviousFrom'](_0x178418);this['_calculateMetaData'](_0x176f20,_0x178418,!0x1);}this['_calculateMetaData'](_0x178418,_0x34ca35,!0x0);}return this['_lastFrom']=_0x178418,this['_lastTo']=_0x34ca35,this['_getState']();}['loadState'](_0x1de6a2){this['_reset'](),this['_lastFrom']=_0x1de6a2['fromVersion'],this['_lastTo']=_0x1de6a2['toVersion'];for(const _0x5f5899 in _0x1de6a2['diffData']){const _0x52c814=_0x1de6a2['diffData'][_0x5f5899]['attachChange'],_0x3259bd=_0x5e4b81(_0x1de6a2['diffData'][_0x5f5899]['attributesBefore'])||{},_0xce0cb2=this['_makeModelFromViewString'](_0x1de6a2['diffData'][_0x5f5899]['deletions']);_0xce0cb2['rootName']=_0x5f5899,_0xce0cb2['_isAttached']=!_0x52c814||!_0x52c814['isAttached'],_0xce0cb2['isAttached']=()=>_0xce0cb2['_isAttached'],this['_baseRoots']['set'](_0x5f5899,_0xce0cb2),this['_baseRootsAttributes']['set'](_0x5f5899,_0x3259bd),_0x52c814&&this['_touchedRoots']['set'](_0x5f5899,_0x52c814);const _0x1018e0=this['_makeIdsRoot'](_0xce0cb2);this['_baseIdsRoots']['set'](_0x5f5899,_0x1018e0);for(const [_0x408970,_0x36904a]of _0xce0cb2['markers']){if(!_0x408970['startsWith']('revision:'))continue;const _0xbd048=_0x408970['split'](':')[0x2];for(const _0x2c31bb of _0x36904a['getWalker']({'singleCharacters':!0x0})){const _0x5a78d7=this['_getVidAttributeName'](_0x2c31bb),_0x41ed95='elementEnd'==_0x2c31bb['type']?_0x2c31bb['previousPosition']['path']['slice'](0x0,-0x1):_0x2c31bb['previousPosition']['path'],_0x23ed17=_0x1018e0['getNodeByPath'](_0x41ed95)['getAttribute'](_0x5a78d7);this['_touched']['set'](_0x23ed17,{'userId':_0xbd048});}}}this['_startingRevisionId']=this['_revisionId'];const _0x1115f5=[...Array(this['_revisionId'])['keys']()]['slice'](0x1)['filter'](_0x22ee25=>!this['_touched']['has'](_0x22ee25));let _0x5f4fbb=0x0;const _0x31bd6d=new Map();for(const _0x18d62b in _0x1de6a2['diffData']){const _0x236565=_0x1de6a2['diffData'][_0x18d62b]['attachChange'],_0x362a84=_0x5e4b81(_0x1de6a2['diffData'][_0x18d62b]['attributesAfter'])||{},_0x4f5a22=this['_makeModelFromViewString'](_0x1de6a2['diffData'][_0x18d62b]['insertions']);_0x4f5a22['rootName']=_0x18d62b,_0x4f5a22['_isAttached']=!_0x236565||_0x236565['isAttached'],_0x4f5a22['isAttached']=()=>_0x4f5a22['_isAttached'],this['_diffRoots']['set'](_0x18d62b,_0x4f5a22),this['_diffRootsAttributes']['set'](_0x18d62b,_0x362a84);const _0x1c97ee=this['_makeIdsRoot'](_0x4f5a22,Number['NEGATIVE_INFINITY']);this['_idsRoots']['set'](_0x18d62b,_0x1c97ee),_0x31bd6d['set'](_0x18d62b,_0x4f5a22['isAttached']()?_0x362a84:{});for(const [_0x188139,_0x269f47]of _0x4f5a22['markers']){if(!_0x188139['startsWith']('revision:'))continue;const _0x246aef=_0x188139['split'](':')[0x2];for(const _0x4a01e4 of _0x269f47['getWalker']({'singleCharacters':!0x0})){const _0x280289=this['_getVidAttributeName'](_0x4a01e4),_0x16dff5=this['_revisionId']++,_0x20c6a0='elementEnd'==_0x4a01e4['type']?_0x4a01e4['previousPosition']['path']['slice'](0x0,-0x1):_0x4a01e4['previousPosition']['path'];_0x1c97ee['getNodeByPath'](_0x20c6a0)['_setAttribute'](_0x280289,_0x16dff5),this['_touched']['set'](_0x16dff5,{'userId':_0x246aef});}}for(const _0x51d035 of this['editor']['model']['createRangeIn'](_0x4f5a22)['getWalker']({'singleCharacters':!0x0})){const _0x25e4d6=this['_getVidAttributeName'](_0x51d035),_0x56f4ce='elementEnd'==_0x51d035['type']?_0x51d035['previousPosition']['path']['slice'](0x0,-0x1):_0x51d035['previousPosition']['path'],_0x5a2883=_0x1c97ee['getNodeByPath'](_0x56f4ce);_0x5a2883['getAttribute'](_0x25e4d6)>0x0||_0x5a2883['_setAttribute'](_0x25e4d6,_0x1115f5[_0x5f4fbb++]);}for(const [_0x1956ef,_0xb21a96]of _0x4f5a22['markers'])_0x1956ef['startsWith']('revision:')||this['_markers']['set'](_0x1956ef,_0xb21a96);}const _0x239dd7=G('$graveyard');this['_baseRoots']['set']('$graveyard',_0x239dd7),this['_baseIdsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x239dd7,0x1));const _0x18fe46=G('$graveyard');this['_diffRoots']['set']('$graveyard',_0x18fe46),this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x18fe46,0x1));const _0x5c76ce=Array['from'](this['_diffRoots'])['map'](([_0x2ddfb9,_0x19c38b])=>[_0x2ddfb9,q(_0x19c38b)]);this['_saveMetaData'](this['_lastTo'],_0x5c76ce,this['_markers'],_0x31bd6d);}['_makeModelFromViewString'](_0x1e7401){const _0x16cf05=JSON['parse'](_0x1e7401),_0x1e555f=this['editor']['editing']['view']['document'],_0x545e51=new _0x5659e8(_0x1e555f,_0x16cf05['map'](_0x2e6009=>B(_0x2e6009,this['editor'])));return this['editor']['data']['toModel'](_0x545e51);}['_saveMetaData'](_0x546284,_0x43cb2b,_0x387869,_0x57f5c8){const _0x45775f=new Map(_0x43cb2b),_0x34fd92=new Map(_0x5e4b81(_0x57f5c8)),_0x3e9c84=new Map();for(const [_0xa6974a,_0x330864]of _0x387869)_0x3e9c84['set'](_0xa6974a,{'start':_0x330864['start']['clone'](),'end':_0x330864['end']['clone'](),'rootName':_0x330864['root']['rootName']});this['_savedMetaData']['set'](_0x546284,{'roots':_0x45775f,'markers':_0x3e9c84,'rootsAttributes':_0x34fd92});}['_removeMetaData'](_0x59bc76){this['_savedMetaData']['delete'](_0x59bc76);}['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'](_0x52ab9e,_0x40668c=null){let _0x4bcdf3=null;_0x52ab9e['is']('documentFragment')||(_0x4bcdf3=new ft(_0x52ab9e['name'],{'vid_start':null===_0x40668c?this['_revisionId']++:_0x40668c++}));const _0x295241=[];for(const _0x201673 of _0x52ab9e['getChildren']())if(_0x201673['is']('element')){_0x295241['push'](this['_makeIdsRoot'](_0x201673,_0x40668c));const _0x8d9536=_0x295241[_0x295241['length']-0x1];null!==_0x40668c&&(_0x40668c=_0x8d9536['is']('element','$text')?_0x8d9536['getAttribute']('vid')+0x1:_0x8d9536['getAttribute']('vid_end')+0x1);}else{for(let _0x2b1ddc=0x0;_0x2b1ddc<_0x201673['offsetSize'];_0x2b1ddc++)_0x295241['push'](new ft('$text',{'vid':null===_0x40668c?this['_revisionId']++:_0x40668c++}));}if(_0x52ab9e['is']('documentFragment')){const _0x4e0ba0=G(_0x52ab9e['rootName']);return _0x4e0ba0['_insertChild'](0x0,_0x295241),_0x4e0ba0;}return _0x4bcdf3['_setAttribute']('vid_end',null===_0x40668c?this['_revisionId']++:_0x40668c++),_0x4bcdf3['_insertChild'](0x0,_0x295241),_0x4bcdf3;}['_calculateMetaData'](_0x4322db,_0x53c443,_0x8b68){this['_reset']();const {roots:_0x4a0d7f,markers:_0x2701b7,rootsAttributes:_0x2ce6b9}=this['_savedMetaData']['get'](_0x4322db);this['_baseRoots']=new Map(_0x4a0d7f),this['_baseRootsAttributes']=new Map(_0x5e4b81(_0x2ce6b9));for(const [_0x773a78,_0x577cb8]of this['_baseRoots'])if('$graveyard'!==_0x773a78&&(this['_diffRoots']['set'](_0x773a78,q(_0x577cb8)),this['_diffRootsAttributes']=new Map(_0x5e4b81(_0x2ce6b9)),_0x8b68)){const _0xb0abc1=this['_revisionId'];this['_idsRoots']['set'](_0x773a78,this['_makeIdsRoot'](_0x577cb8)),this['_baseIdsRoots']['set'](_0x773a78,this['_makeIdsRoot'](_0x577cb8,_0xb0abc1));}this['_startingRevisionId']=this['_revisionId'],this['_diffRoots']['set']('$graveyard',q(this['_baseRoots']['get']('$graveyard'))),_0x8b68&&this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](this['_baseRoots']['get']('$graveyard')));for(const [_0x8fb568,_0x176a7c]of _0x2701b7){const _0x383f71=this['_baseRoots']['get'](_0x176a7c['rootName']),_0x326b10=this['_diffRoots']['get'](_0x176a7c['rootName']),_0x4e23ee=new gt(this['_fixPosition'](_0x176a7c['start'],_0x383f71),this['_fixPosition'](_0x176a7c['end'],_0x383f71)),_0x1ebde0=this['_fixRange'](_0x4e23ee,_0x326b10);_0x383f71['markers']['set'](_0x8fb568,_0x4e23ee),this['_markers']['set'](_0x8fb568,_0x1ebde0);}this['_applyOperations'](_0x4322db,_0x53c443,_0x8b68);}['_applyOperations'](_0x10fb39,_0x4bd999,_0xbbffb0){for(const _0x21059f of this['source']['getOperations'](_0x10fb39,_0x4bd999))this['_handleOperation'](_0x21059f,_0xbbffb0);for(const _0xba1484 of this['_diffRoots']['values']())_0xba1484['markers']['clear']();for(const [_0x2030c6,_0x3e62a3]of this['_markers']){this['_diffRoots']['get'](_0x3e62a3['root']['rootName'])['markers']['set'](_0x2030c6,_0x3e62a3['clone']());}const _0x565d33=new Map(),_0x4fee11=new Map();for(const [_0x361805,_0x17463b]of this['_diffRoots'])_0x565d33['set'](_0x361805,q(_0x17463b)),_0x4fee11['set'](_0x361805,this['_diffRootsAttributes']['get'](_0x361805));this['_saveMetaData'](_0x4bd999,_0x565d33,this['_markers'],_0x4fee11);}['_getPreviousFrom'](_0x323c5e){const _0x441cf2=Array['from'](this['_savedMetaData']['keys']());_0x441cf2['sort']((_0x17257a,_0x3426cc)=>_0x17257a-_0x3426cc),_0x441cf2['reverse']();for(const _0x5c6f0f of _0x441cf2)if(_0x5c6f0f<_0x323c5e)return _0x5c6f0f;return Number['NEGATIVE_INFINITY'];}['_copyMarkers'](_0x2b439e,_0x5d12da){const _0x42e6f7=Array['from'](_0x5d12da['markers'])['map'](([_0x5f50f7,_0x459114])=>[_0x5f50f7,this['_fixRange'](_0x459114,_0x2b439e)]);_0x2b439e['markers']=new Map(_0x42e6f7);}['_transformMarkers'](_0x375f1b){for(const _0x193550 of this['_markers']['values']()){const _0x32ba61=_0x193550['getTransformedByOperation'](_0x375f1b),_0x2ab1c4=gt['_createFromRanges'](_0x32ba61);_0x193550['start']=_0x2ab1c4['start'],_0x193550['end']=_0x2ab1c4['end'];}}['_handleOperation'](_0x3e84d6,_0x3ceab7){if('addRoot'==_0x3e84d6['type']||'detachRoot'==_0x3e84d6['type'])return void this['_handleRootOperation'](_0x3e84d6,_0x3ceab7);if('insert'==_0x3e84d6['type']){const _0x5432f9=_0x3e84d6['position']['root']['rootName'];this['_diffRoots']['has'](_0x5432f9)||(this['_diffRoots']['set'](_0x5432f9,G(_0x5432f9,!0x0)),this['_diffRootsAttributes']['set'](_0x5432f9,{}),_0x3ceab7&&this['_idsRoots']['set'](_0x5432f9,G(_0x5432f9,!0x0)));}else{if('addRootAttribute'==_0x3e84d6['type']||'removeRootAttribute'==_0x3e84d6['type']||'changeRootAttribute'==_0x3e84d6['type'])return void this['_handleRootAttributeOperation'](_0x3e84d6);}const _0x2c7cf5=this['_cloneOperation'](_0x3e84d6,this['_diffRoots']);if('marker'!==_0x3e84d6['type']&&(_0x2c7cf5['_execute'](),this['_transformMarkers'](_0x2c7cf5)),_0x3ceab7)switch(_0x2c7cf5['type']){case'insert':this['_handleInsertOperation'](_0x3e84d6);break;case'move':case'remove':case'reinsert':this['_handleMoveOperation'](_0x3e84d6);break;case'merge':this['_handleMergeOperation'](_0x3e84d6);break;case'split':this['_handleSplitOperation'](_0x3e84d6);break;case'marker':this['_handleMarkerOperation'](_0x3e84d6);}}['_cloneOperation'](_0x285bc0,_0x540a3e){const _0x4b06cf=_0x285bc0['clone']();return _0x4b06cf['_authorId']=_0x285bc0['_authorId'],this['_fixOperation'](_0x4b06cf,_0x540a3e),_0x4b06cf;}['_getBaseVids'](_0x5a5ab9){return _0x5a5ab9['map'](_0x5e5783=>{const _0x1c6e9e=this['_getVidAttributeName'](_0x5e5783);return Number(_0x5e5783['item']['getAttribute'](_0x1c6e9e));});}['_generateTape'](_0xa34b43,_0x4394fc){if(_0xa34b43['is']('element','$text'))_0x4394fc['push']({'item':_0xa34b43,'type':'text'});else{_0xa34b43['is']('element')&&_0x4394fc['push']({'item':_0xa34b43,'type':'elementStart'});for(const _0x424bc3 of _0xa34b43['getChildren']())this['_generateTape'](_0x424bc3,_0x4394fc);_0xa34b43['is']('element')&&_0x4394fc['push']({'item':_0xa34b43,'type':'elementEnd'});}return _0x4394fc;}['_getState'](){const _0x2b6634=new Map(this['_touched']),_0x2b7f37=new Map(_0x2b6634),_0x4b8cc0=new Map(),_0x52c3ea={'insertions':{},'deletions':{}},_0x1d2ea2={'insertions':{},'deletions':{}},_0xc812a2=new Map(),_0x330f7f=new Set([...this['_baseRoots']['keys'](),...this['_diffRoots']['keys']()]);_0x330f7f['delete']('$graveyard');for(const _0x356876 of _0x330f7f){const _0x5f03a7=this['_diffRoots']['get'](_0x356876)||G(_0x356876,!0x1),_0x243411=this['_baseRoots']['get'](_0x356876)||G(_0x356876,!0x1);_0x5f03a7['isAttached']()||_0x243411['isAttached']()?(_0x52c3ea['insertions'][_0x356876]=q(_0x5f03a7),_0x52c3ea['deletions'][_0x356876]=q(_0x243411),this['_copyMarkers'](_0x52c3ea['deletions'][_0x356876],_0x243411),this['_copyMarkers'](_0x52c3ea['insertions'][_0x356876],_0x5f03a7),_0x1d2ea2['insertions'][_0x356876]=this['_generateTape'](this['_idsRoots']['get'](_0x356876),[]),_0x1d2ea2['deletions'][_0x356876]=this['_generateTape'](this['_baseIdsRoots']['get'](_0x356876)||G(_0x356876,!0x1),[])):_0x330f7f['delete'](_0x356876);}for(const _0x3df4e0 of _0x330f7f){const _0x47fe21=_0x1d2ea2['insertions'][_0x3df4e0];for(const _0x4fb301 of _0x47fe21){const _0x249727=this['_getVidAttributeName'](_0x4fb301),_0x22a23c=_0x4fb301['item']['getAttribute'](_0x249727);_0x2b7f37['delete'](_0x22a23c),_0x22a23c>=this['_startingRevisionId']&&_0x4b8cc0['set'](_0x22a23c,_0x2b6634['get'](_0x22a23c));}}for(const _0x405fae of _0x330f7f){const _0x44093c=_0x1d2ea2['insertions'][_0x405fae],_0x3025b3=this['_getBaseVids'](_0x1d2ea2['deletions'][_0x405fae]);let _0x39146d=0x0;for(const _0x3f3c03 of _0x44093c){const _0x1c0f4e=this['_getVidAttributeName'](_0x3f3c03),_0x5c8847=_0x3f3c03['item']['getAttribute'](_0x1c0f4e);if(!_0x4b8cc0['has'](_0x5c8847)&&!_0xc812a2['has'](_0x5c8847)){if(_0x2b7f37['has'](_0x5c8847))_0x39146d++;else{if(_0x5c8847!=_0x3025b3[_0x39146d]){const _0xb0a50c=_0x2b6634['get'](_0x5c8847)||_0x2b6634['get'](_0x3025b3[_0x39146d]);for(;_0x5c8847!=_0x3025b3[_0x39146d];)_0x2b7f37['has'](_0x3025b3[_0x39146d])||(_0xc812a2['set'](_0x3025b3[_0x39146d],_0xb0a50c),_0x2b6634['set'](_0x3025b3[_0x39146d],_0xb0a50c)),_0x39146d++;}_0x39146d++;}}}}for(const _0x31dd2e of _0x330f7f){const _0x4ac2a2=_0x1d2ea2['insertions'][_0x31dd2e];for(const _0x5bca28 of _0x4ac2a2){const _0x1e569d=this['_getVidAttributeName'](_0x5bca28),_0x5065fb=_0x5bca28['item']['getAttribute'](_0x1e569d);if(_0xc812a2['has'](_0x5065fb)){const _0x44db03=_0xc812a2['get'](_0x5065fb);_0x2b7f37['has'](_0x5065fb)||_0x2b7f37['set'](_0x5065fb,{..._0x44db03}),_0x4b8cc0['set'](_0x5065fb,{..._0x44db03});}}}for(const _0x486007 of _0x2b7f37['keys']())_0x486007>=this['_startingRevisionId']&&_0x2b7f37['delete'](_0x486007);const _0x30cd9f=new Map();for(const _0x37b301 of _0x330f7f){let _0x2a8777=_0x1d2ea2['insertions'][_0x37b301];for(const _0xd8317b of _0x2a8777)if(_0xd8317b['item']['is']('element','tableCell')){const _0x2bd189=this['_getVidAttributeName'](_0xd8317b),_0x1a71a9=_0xd8317b['item']['getAttribute'](_0x2bd189);if(_0x4b8cc0['has'](_0x1a71a9)){const _0x41931f=_0xd8317b['item']['parent']['parent']['getAttribute']('vid_start'),_0xcf05c0=_0x30cd9f['get'](_0x41931f)||new Set();_0xcf05c0['add'](_0x4b8cc0['get'](_0x1a71a9)['userId']),_0x30cd9f['set'](_0x41931f,_0xcf05c0);}}_0x2a8777=_0x1d2ea2['deletions'][_0x37b301];for(const _0x3903c9 of _0x2a8777)if(_0x3903c9['item']['is']('element','tableCell')){const _0xbc7b82=this['_getVidAttributeName'](_0x3903c9),_0x2cf5a1=_0x3903c9['item']['getAttribute'](_0xbc7b82);if(_0x2b7f37['has'](_0x2cf5a1)){const _0x3f1888=_0x3903c9['item']['parent']['parent']['getAttribute']('vid_start'),_0x3f0d80=_0x30cd9f['get'](_0x3f1888)||new Set();_0x3f0d80['add'](_0x2b7f37['get'](_0x2cf5a1)['userId']),_0x30cd9f['set'](_0x3f1888,_0x3f0d80);}}for(const _0x1f6ceb of _0x30cd9f['keys']())(_0x4b8cc0['has'](_0x1f6ceb)||_0x2b7f37['has'](_0x1f6ceb))&&_0x30cd9f['delete'](_0x1f6ceb);}for(const _0x42debb of _0x330f7f){const _0x26a539=_0x1d2ea2['insertions'][_0x42debb];let _0x289f19=null,_0x53aeb2=null;for(const _0x4eacc9 of _0x26a539){const _0xfad6f3=this['_getVidAttributeName'](_0x4eacc9),_0x5e0484=_0x4eacc9['item']['getAttribute'](_0xfad6f3),_0x18584e=_0x30cd9f['get'](_0x5e0484);_0x18584e&&'elementStart'==_0x4eacc9['type']&&(_0x289f19=Array['from'](_0x18584e)[0x0],_0x53aeb2=_0x4eacc9['item']['getAttribute']('vid_end')),_0x289f19&&(_0x2b7f37['set'](_0x5e0484,{'userId':_0x289f19}),_0x4b8cc0['set'](_0x5e0484,{'userId':_0x289f19})),_0x5e0484==_0x53aeb2&&(_0x289f19=null,_0x53aeb2=null);}}const _0x35c105={},_0x13af08=new Set();for(const _0x28f57e of _0x330f7f){const _0x39e406=_0x52c3ea['deletions'][_0x28f57e],_0x4bd88c=_0x52c3ea['insertions'][_0x28f57e];for(const {userId:_0x26f9d8}of this['_touchedMarkers']['values']())null!==_0x26f9d8&&_0x13af08['add'](_0x26f9d8);for(const {userId:_0x1cf37b}of this['_touchedRoots']['values']())null!==_0x1cf37b&&_0x13af08['add'](_0x1cf37b);this['_markChanges'](_0x4bd88c,_0x1d2ea2['insertions'][_0x28f57e],_0x4b8cc0,'insertion',_0x13af08),this['_markChanges'](_0x39e406,_0x1d2ea2['deletions'][_0x28f57e],_0x2b7f37,'deletion',_0x13af08),_0x35c105[_0x28f57e]={'insertions':this['_prepareViewToSave'](_0x4bd88c),'deletions':this['_prepareViewToSave'](_0x39e406),'attachChange':this['_touchedRoots']['get'](_0x28f57e)||null,'attributesBefore':_0x5e4b81(this['_baseRootsAttributes']['get'](_0x28f57e))||{},'attributesAfter':_0x5e4b81(this['_diffRootsAttributes']['get'](_0x28f57e))};}return{'diffData':_0x35c105,'authorsIds':Array['from'](_0x13af08)};}['_processRootBeforeSave'](_0x539365){for(const [,_0x3423bd]of _0x539365['markers']){const _0x19a48a=_0x3423bd['start']['getAncestors']()['filter'](_0x1d7d5b=>'tableCell'==_0x1d7d5b['name']);for(const _0x450a40 of _0x19a48a)0x1==_0x450a40['childCount']&&_0x450a40['getChild'](0x0)['is']('element','paragraph')&&_0x450a40['getChild'](0x0)['_setAttribute']('keepParagraph',!0x0);}}['_prepareViewToSave'](_0x5ed539){this['_processRootBeforeSave'](_0x5ed539);const _0x4fb55a=this['editor']['data']['toView'](_0x5ed539,{}),_0xabc031=Array['from'](_0x4fb55a['getChildren']())['map'](_0x45c334=>this['_getViewJson'](_0x45c334));return JSON['stringify'](_0xabc031);}['_getViewJson'](_0xc4543a){if(_0xc4543a['is']('$text'))return _0xc4543a['data'];{const _0x40b334=_0xc4543a;return{'type':Object['keys'](T)['find'](_0x394712=>_0xc4543a instanceof T[_0x394712]),'name':_0x40b334['name'],'attributes':Array['from'](_0x40b334['getAttributes']()),'children':Array['from'](_0x40b334['getChildren']())['map'](_0x112bba=>this['_getViewJson'](_0x112bba))};}}['_markChanges'](_0x4d5c0a,_0x5cdb94,_0x5b8c0c,_0x4fd691,_0x577efc){let _0x571842=null,_0x343547=null,_0x305f8a=0x0;const _0xbbeef8=this['editor']['model'];for(let _0x5eefc5=0x0;_0x5eefc5<_0x5cdb94['length'];_0x5eefc5++){const _0x583d6d=this['_getVidAttributeName'](_0x5cdb94[_0x5eefc5]),_0x5ea498=_0x5cdb94[_0x5eefc5]['item']['getAttribute'](_0x583d6d),_0xc17183=_0x5b8c0c['get'](_0x5ea498),_0x2b2bc4=_0x5eefc5==_0x5cdb94['length']-0x1;(!_0x571842&&_0xc17183&&(_0x571842=_0xc17183,_0x343547=_0x5cdb94[_0x5eefc5]),_0x571842&&(!_0xc17183||_0xc17183['userId']!=_0x571842['userId']))&&(_0x43c75a(_0xc17183,L(_0x343547,_0x4d5c0a,_0xbbeef8),L(_0x5cdb94[_0x5eefc5],_0x4d5c0a,_0xbbeef8)),_0x571842=_0xc17183||null,_0x343547=_0xc17183?_0x5cdb94[_0x5eefc5]:null),_0x571842&&_0x2b2bc4&&_0x43c75a(_0xc17183,L(_0x343547,_0x4d5c0a,_0xbbeef8),W(_0x5cdb94[_0x5eefc5],_0x4d5c0a,_0xbbeef8));}function _0x43c75a(_0x350bff,_0x16ac53,_0x5a8f61){const _0x20ef1a=_0x571842['userId'],_0x2403e5='revision:'+_0x4fd691+':'+_0x20ef1a+':'+_0x305f8a++,_0x43d255=_0xbbeef8['createRange'](_0x16ac53,_0x5a8f61);_0x4d5c0a['markers']['set'](_0x2403e5,_0x43d255),null!==_0x20ef1a&&_0x577efc['add'](_0x20ef1a);}}['_getVidAttributeName'](_0x15d068){switch(_0x15d068['type']){case'elementStart':return'vid_start';case'elementEnd':return'vid_end';default:return'vid';}}['_fixOperation'](_0x30fcbb,_0x28e2bb){_0x30fcbb['baseVersion']=null;for(const _0x1cf9dc in _0x30fcbb){const _0x58cdff=_0x30fcbb[_0x1cf9dc];if(_0x58cdff instanceof wt){const _0xeadb60=_0x28e2bb['get'](_0x58cdff['root']['rootName']);_0x30fcbb[_0x1cf9dc]=this['_fixPosition'](_0x58cdff,_0xeadb60);}if(_0x58cdff instanceof gt){const _0x2f8c95=_0x28e2bb['get'](_0x58cdff['root']['rootName']);_0x30fcbb[_0x1cf9dc]=this['_fixRange'](_0x58cdff,_0x2f8c95);}'root'===_0x1cf9dc&&(_0x30fcbb['root']=_0x28e2bb['get'](_0x30fcbb['root']['rootName']));}}['_fixRange'](_0x1aa2d5,_0x14101a){return this['editor']['model']['createRange'](this['_fixPosition'](_0x1aa2d5['start'],_0x14101a),this['_fixPosition'](_0x1aa2d5['end'],_0x14101a));}['_fixPosition'](_0x353f96,_0x196d42){return this['editor']['model']['createPositionFromPath'](_0x196d42,_0x353f96['path'],_0x353f96['stickiness']);}['_handleInsertOperation'](_0x30170b){const _0x41b98e=this['_idsRoots']['get'](_0x30170b['position']['root']['rootName']),_0x528379=this['_fixPosition'](_0x30170b['position'],_0x41b98e),_0x5455e0=null===_0x30170b['_authorId']?null:_0x30170b['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x3cccc2=_0x528379['parent'],_0x117757=this['_revisionId'],_0x374eda=[];for(const _0xd83c2c of _0x30170b['nodes'])if(_0xd83c2c['is']('element'))_0x374eda['push'](this['_makeIdsRoot'](_0xd83c2c));else{for(let _0x211309=0x0;_0x211309<_0xd83c2c['offsetSize'];_0x211309++)_0x374eda['push'](new ft('$text',{'vid':this['_revisionId']++}));}const _0x22cc58=this['_revisionId'];for(let _0x1070b2=_0x117757;_0x1070b2<_0x22cc58;_0x1070b2++)this['_touched']['set'](_0x1070b2,{'userId':_0x5455e0});_0x3cccc2['_insertChild'](_0x528379['offset'],_0x374eda);}['_handleMoveOperation'](_0x47a66c){(_0x47a66c=this['_cloneOperation'](_0x47a66c,this['_idsRoots']))['_execute']();const _0x2f785e=null===_0x47a66c['_authorId']?null:_0x47a66c['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x34dbb7=_0x47a66c['getMovedRangeStart'](),_0x3c4458=_0x34dbb7['parent'],_0x13af7b=_0x34dbb7['offset'];!function _0x1f2de4(_0x24a412,_0xa8ed0a,_0x21c725,_0x3da542){for(let _0x28102a=_0x21c725;_0x28102a<_0x3da542;_0x28102a++){const _0x21be56=_0xa8ed0a['getChild'](_0x28102a);_0x21be56['is']('element','$text')?_0x24a412['set'](_0x21be56['getAttribute']('vid'),{'userId':_0x2f785e}):(_0x24a412['set'](_0x21be56['getAttribute']('vid_start'),{'userId':_0x2f785e}),_0x1f2de4(_0x24a412,_0x21be56,0x0,_0x21be56['childCount']),_0x24a412['set'](_0x21be56['getAttribute']('vid_end'),{'userId':_0x2f785e}));}}(this['_touched'],_0x3c4458,_0x13af7b,_0x13af7b+_0x47a66c['howMany']);}['_handleMergeOperation'](_0x277e88){const _0x2c86eb=null===(_0x277e88=this['_cloneOperation'](_0x277e88,this['_idsRoots']))['_authorId']?null:_0x277e88['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x384f87=_0x277e88['targetPosition']['parent'],_0x421b45=_0x277e88['sourcePosition']['parent'],_0x5bac80=_0x384f87['getAttribute']('vid_end'),_0x5b4bea=_0x421b45['getAttribute']('vid_start');_0x384f87['_setAttribute']('vid_end',_0x421b45['getAttribute']('vid_end')),_0x421b45['_setAttribute']('vid_end',_0x5bac80),this['_touched']['set'](_0x5b4bea,{'userId':_0x2c86eb}),this['_touched']['set'](_0x5bac80,{'userId':_0x2c86eb}),_0x277e88['_execute']();}['_handleSplitOperation'](_0x298e64){const _0x317e71=null===(_0x298e64=this['_cloneOperation'](_0x298e64,this['_idsRoots']))['_authorId']?null:_0x298e64['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x5be3ff=_0x298e64['graveyardPosition'],_0x44419f=_0x298e64['splitPosition']['parent'];_0x298e64['_execute']();const _0x5cd08f=_0x44419f['getAttribute']('vid_end'),_0x4a03df=_0x298e64['insertionPosition']['nodeAfter'];if(_0x5be3ff){const _0x2abcea=_0x4a03df['getAttribute']('vid_end'),_0x4842af=_0x44419f['getAttribute']('vid_end');_0x44419f['_setAttribute']('vid_end',_0x2abcea),_0x4a03df['_setAttribute']('vid_end',_0x4842af),this['_touched']['set'](_0x44419f['getAttribute']('vid_end'),{'userId':_0x317e71}),this['_touched']['set'](_0x4a03df['getAttribute']('vid_start'),{'userId':_0x317e71});}else{const _0x189047=this['_revisionId']++,_0x516ec6=this['_revisionId']++;_0x44419f['_setAttribute']('vid_end',_0x189047),_0x4a03df['_setAttribute']('vid_start',_0x516ec6),_0x4a03df['_setAttribute']('vid_end',_0x5cd08f),this['_touched']['set'](_0x189047,{'userId':_0x317e71}),this['_touched']['set'](_0x516ec6,{'userId':_0x317e71});}}['_handleMarkerOperation'](_0x1d01b6){if(!_0x1d01b6['affectsData'])return;const _0x1005f6=(_0x1d01b6=this['_cloneOperation'](_0x1d01b6,this['_diffRoots']))['oldRange']?_0x1d01b6['oldRange']['root']:null,_0x24dc00=_0x1d01b6['newRange']?_0x1d01b6['newRange']['root']:null;_0x1005f6&&this['_markers']['delete'](_0x1d01b6['name']),_0x24dc00&&this['_markers']['set'](_0x1d01b6['name'],_0x1d01b6['newRange']['clone']());const _0x4e8c16=null===_0x1d01b6['_authorId']?null:_0x1d01b6['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x160f72=_0x1d01b6['name'];if(!this['_touchedMarkers']['has'](_0x160f72))return void this['_touchedMarkers']['set'](_0x160f72,{'range':_0x1d01b6['oldRange'],'userId':_0x4e8c16});const _0x4b282f=this['_touchedMarkers']['get'](_0x160f72),_0x16d596=_0x4b282f['range'],_0x2205f3=_0x1d01b6['newRange'];null==_0x16d596&&null==_0x2205f3||_0x16d596&&_0x2205f3&&_0x16d596['isEqual'](_0x2205f3)?this['_touchedMarkers']['delete'](_0x1d01b6['name']):_0x4b282f['userId']=_0x4e8c16;}['_handleRootOperation'](_0x66c017,_0x3ed42e){this['_diffRoots']['has'](_0x66c017['rootName'])?this['_diffRoots']['get'](_0x66c017['rootName'])['_isAttached']=_0x66c017['isAdd']:(this['_diffRoots']['set'](_0x66c017['rootName'],G(_0x66c017['rootName'],!0x0)),this['_diffRootsAttributes']['set'](_0x66c017['rootName'],{}),_0x3ed42e&&this['_idsRoots']['set'](_0x66c017['rootName'],G(_0x66c017['rootName'],!0x0)));const _0x4c55ed=null===_0x66c017['_authorId']?null:_0x66c017['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x2ccf5a=this['_touchedRoots']['get'](_0x66c017['rootName']);_0x2ccf5a&&_0x2ccf5a['userId']===_0x4c55ed?this['_touchedRoots']['delete'](_0x66c017['rootName']):this['_touchedRoots']['set'](_0x66c017['rootName'],{'userId':_0x4c55ed,'isAttached':_0x66c017['isAdd']});}['_handleRootAttributeOperation'](_0x20feb7){const _0x565fac=this['_diffRootsAttributes']['get'](_0x20feb7['root']['rootName']);null===_0x20feb7['newValue']?delete _0x565fac[_0x20feb7['key']]:_0x565fac[_0x20feb7['key']]=_0x20feb7['newValue'];}constructor(_0x169699){this['editor']=_0x169699,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;}}function q(_0x11dce8){const _0x1833a1=G(_0x11dce8['rootName'],_0x11dce8['isAttached']());for(const _0x588f99 of _0x11dce8['getChildren']()){const _0x1af804=_0x588f99['_clone'](!0x0);_0x1833a1['_appendChild'](_0x1af804);}return _0x1833a1;}function G(_0x4ed790,_0x488278=!0x0){const _0x3dd63a=new _t();return _0x3dd63a['rootName']=_0x4ed790,_0x3dd63a['_isAttached']=_0x488278,_0x3dd63a['isAttached']=()=>_0x3dd63a['_isAttached'],_0x3dd63a;}function L(_0x3f69b2,_0x22c07e,_0xc86e81){const _0x1519e7='elementEnd'==_0x3f69b2['type']?_0xc86e81['createPositionAt'](_0x3f69b2['item'],'end'):_0xc86e81['createPositionBefore'](_0x3f69b2['item']);return _0xc86e81['createPositionFromPath'](_0x22c07e,_0x1519e7['path'],_0x1519e7['stickiness']);}function W(_0x4d4858,_0x2cc3e5,_0x1450f0){const _0xe37910='elementStart'==_0x4d4858['type']?_0x1450f0['createPositionAt'](_0x4d4858['item'],0x0):_0x1450f0['createPositionAfter'](_0x4d4858['item']);return _0x1450f0['createPositionFromPath'](_0x2cc3e5,_0xe37910['path'],_0xe37910['stickiness']);}class ns extends _0x4bcd56{['render'](){super['render'](),_0x3635ce({'view':this}),this['focusTracker']['add'](this['revisionNameInputView']['element']),this['keystrokes']['listenTo'](this['element']);const _0x34ed39=_0x4843b0=>_0x4843b0['stopPropagation']();this['keystrokes']['set']('arrowright',_0x34ed39),this['keystrokes']['set']('arrowleft',_0x34ed39),this['keystrokes']['set']('arrowup',_0x34ed39),this['keystrokes']['set']('arrowdown',_0x34ed39);}['focus'](){this['revisionNameInputView']['focus']();}get['revisionName'](){return this['revisionNameInputView']['fieldView']['element']['value']['trim']();}set['revisionName'](_0x85e0f7){this['revisionNameInputView']['fieldView']['element']['value']=_0x85e0f7['trim']();}['reset'](){this['revisionNameInputView']['fieldView']['element']['value']='',this['revisionNameInputView']['errorText']=null;}['_createRevisionNameInput'](_0x3154c7){const _0x2c4b6b=new mt(this['locale'],_0x3a13f6),_0x16ffa3=_0x2c4b6b['fieldView'];_0x16ffa3['extendTemplate']({'attributes':{'maxlength':'220'}});let _0x331216=y(this['locale'],'Name\x20of\x20the\x20revision');return!_0x3154c7&&(_0x331216+='\x20('+y(this['locale'],'optional')+')'),(_0x2c4b6b['label']=_0x331216,_0x16ffa3['on']('input',()=>{this['revisionNameInputValue']=_0x16ffa3['element']['value']['trim']();}),_0x2c4b6b);}constructor(_0x24e082,_0x4cc092){super(_0x24e082),this['focusTracker']=new _0x2253e3(),this['keystrokes']=new _0x5b12dd(),this['set']('revisionNameInputValue',''),this['revisionNameInputView']=this['_createRevisionNameInput'](_0x4cc092),this['setTemplate']({'tag':'form','attributes':{'class':['ck','ck-revision-history-save-revision-form','ck-responsive-form'],'tabindex':'-1'},'children':[this['revisionNameInputView']]}),ts(this);}}class u extends _0x580e1f{static get['pluginName'](){return'RevisionHistoryUI';}static get['requires'](){return[l];}['init'](){const _0x490a08=this['editor'],_0x43fbbf=_0x490a08['plugins']['get']('RevisionTracker');_0x490a08['ui']['componentFactory']['add']('revisionHistory',_0x1f1027=>{const _0x3b8c60=_0x43d373(_0x1f1027),_0x191359=_0x3b8c60['panelView']['children'],_0x4b7ea4=new te(_0x1f1027),_0x1f9faa=new _0x43c2e5(_0x1f1027),_0x541db8=new _0x99d8d4(_0x1f1027),_0x56fc06=new _0x43c2e5(_0x1f1027),_0x61948e=new _0x99d8d4(_0x1f1027);return _0x3b8c60['bind']('isEnabled')['to'](_0x43fbbf,'isReady',_0x43fbbf,'isEnabled',_0x490a08,'isReadOnly',(_0x46c6cc,_0x396e0c,_0x7434dc)=>_0x46c6cc&&_0x396e0c&&!_0x7434dc),_0x3b8c60['buttonView']['set']({'icon':_0x40f1df['history'],'label':y(_0x1f1027,'Revision\x20history'),'tooltip':!0x0}),_0x541db8['set']({'label':y(_0x1f1027,'Save\x20current\x20revision'),'withText':!0x0}),_0x541db8['bind']('isEnabled')['to'](_0x43fbbf,'isReady',_0x43fbbf,'isEnabled',_0x490a08,'isReadOnly',(_0x12897a,_0x5bcb7f,_0x5887d1)=>_0x12897a&&_0x5bcb7f&&!_0x5887d1),_0x541db8['on']('execute',()=>this['_showDialog']()),_0x61948e['set']({'label':y(_0x1f1027,'Open\x20revision\x20history'),'withText':!0x0}),_0x61948e['bind']('isEnabled')['to'](_0x43fbbf,'isReady',_0x490a08,'isReadOnly',(_0x3c9361,_0x553671)=>_0x3c9361&&!_0x553671),_0x61948e['on']('execute',()=>{_0x490a08['config']['get']('revisionHistory')['showRevisionViewerCallback'](),_0x3b8c60['isOpen']=!0x1,_0x490a08['editing']['view']['focus']();}),_0x1f9faa['children']['add'](_0x541db8),_0x56fc06['children']['add'](_0x61948e),_0x4b7ea4['items']['addMany']([_0x1f9faa,_0x56fc06]),_0x191359['add'](_0x4b7ea4),_0x3b8c60;}),_0x490a08['ui']['componentFactory']['add']('menuBar:revisionHistory',()=>this['_registerMenuComponent']());}['_registerMenuComponent'](){const _0x14a9c5=this['editor'],_0x2b96f4=_0x14a9c5['locale'],_0x4279dd=new _0x4fa6ad(_0x2b96f4),_0x14d2a8=new _0x21f133(_0x2b96f4);_0x4279dd['buttonView']['set']({'icon':_0x40f1df['history'],'label':y(_0x2b96f4,'Revision\x20history')});const _0x4eb9de=new _0x1e1e38(_0x2b96f4,_0x4279dd),_0x1c774a=new _0x33c27a(_0x2b96f4);_0x1c774a['set']({'label':y(_0x2b96f4,'Save\x20current\x20revision')}),_0x1c774a['delegate']('execute')['to'](_0x4279dd),_0x1c774a['on']('execute',()=>{this['_showDialog']();}),_0x4eb9de['children']['add'](_0x1c774a),_0x14d2a8['items']['add'](_0x4eb9de);const _0x5e2bf4=new _0x1e1e38(_0x2b96f4,_0x4279dd),_0x48dd8c=new _0x33c27a(_0x2b96f4);return _0x48dd8c['set']({'label':y(_0x2b96f4,'Open\x20revision\x20history')}),_0x48dd8c['delegate']('execute')['to'](_0x4279dd),_0x48dd8c['on']('execute',()=>{_0x14a9c5['config']['get']('revisionHistory')['showRevisionViewerCallback']();}),_0x5e2bf4['children']['add'](_0x48dd8c),_0x14d2a8['items']['add'](_0x5e2bf4),_0x4279dd['panelView']['children']['add'](_0x14d2a8),_0x4279dd;}['_showDialog'](){const _0x35e31c=this['editor'],_0xb11d15=_0x35e31c['locale'],t=_0xb11d15['t'],_0x27aeab=_0x35e31c['plugins']['get']('Dialog'),_0x2c875b=_0x35e31c['plugins']['get']('RevisionTracker');function _0x2cc8d5(_0x5e3245){_0x35e31c['config']['get']('revisionHistory.requireRevisionName')&&''===_0x5e3245['revisionName']?_0x5e3245['revisionNameInputView']['errorText']=y(_0xb11d15,'The\x20revision\x20name\x20cannot\x20be\x20empty.'):(_0x35e31c['plugins']['get'](l)['saveRevision']({'name':_0x5e3245['revisionName']}),_0x27aeab['hide']());}this['_saveRevisionFormView']||(this['_createSaveRevisionFormView'](),this['_saveRevisionFormView']['on']('submit',()=>_0x2cc8d5(this['_saveRevisionFormView']))),this['_saveRevisionFormView']['reset'](),_0x27aeab['show']({'id':'findAndReplace','title':y(_0xb11d15,'Save\x20current\x20revision'),'isModal':!0x0,'content':this['_saveRevisionFormView'],'actionButtons':[{'label':t('Cancel'),'withText':!0x0,'onExecute':()=>_0x27aeab['hide']()},{'label':t('Accept'),'class':'ck-button-action','withText':!0x0,'onCreate'(_0xf58824){_0xf58824['bind']('isEnabled')['to'](_0x2c875b,'isReady',_0x2c875b,'isEnabled',_0x35e31c,'isReadOnly',(_0x353aac,_0x14f719,_0xbbea83)=>_0x353aac&&_0x14f719&&!_0xbbea83);},'onExecute':()=>_0x2cc8d5(this['_saveRevisionFormView'])}]});}['_createSaveRevisionFormView'](){const _0x2b0e2c=this['editor'],_0x49da27=_0x2b0e2c['locale'];this['_saveRevisionFormView']=new ns(_0x49da27,_0x2b0e2c['config']['get']('revisionHistory.requireRevisionName')),this['_saveRevisionFormView']['render']();}}class Z extends _0x4bcd56{['focus'](){this['element']['focus']();}constructor(_0x486d5b,_0x5c345c){super(_0x486d5b),this['_model']=_0x5c345c,this['changeId']=_0x5c345c['id'];const _0x27a60c=this['bindTemplate'],_0x239331=y(_0x486d5b,_0x5c345c['data']['isSuggestion']?'Suggested\x20by':'add'==_0x5c345c['type']?'Added\x20by':'Removed\x20by');this['set']('type',_0x5c345c['type']),this['setTemplate']({'tag':'div','attributes':{'class':['ck-annotation','ck-revision-change',_0x27a60c['to']('type',_0x1a085c=>'ck-revision-change__'+_0x1a085c)],'tabindex':-0x1},'children':[{'tag':'span','children':[{'tag':'span','attributes':{'class':['ck-revision-change__label']},'children':[{'text':_0x239331}]},{'text':'\x20'+_0x5c345c['author']['name']}]}]});}}class r extends _0x330e54(){['toJSON'](){return{'id':this['id'],'authorId':this['author']['id'],'type':this['type'],'data':this['data'],'createdAt':this['createdAt']};}constructor(_0x3ac1d1){super(),this['id']=_0x3ac1d1['id']||_0x4f3974(),this['author']=_0x3ac1d1['author'],this['type']=_0x3ac1d1['type'],this['data']=_0x3ac1d1['data']||{},this['rootName']=_0x3ac1d1['rootName'],this['set']('createdAt',_0x3ac1d1['createdAt']);}}class f{['_setChanges'](_0xc6bdf9){for(const _0xd9ebca of _0xc6bdf9)this['changes']['add'](_0xd9ebca);}constructor(_0x3cbee1,_0x5513cf){this['newRevisionId']=_0x3cbee1,this['oldRevisionId']=_0x5513cf,this['changes']=new _0x2e3edc();}}const tt={'c':_0x42597e,'a':_0x400d97,'e':_0x54a34f,'r':_0xd4e566,'u':_0x1755ed};class d extends _0x580e1f{static get['pluginName'](){return'RevisionViewer';}static get['requires'](){return[_0x4a39ba,_0x1f4f7b,A];}['init'](){const _0x5eac38=this['editor'],_0x379ebf=new Rt(_0x5eac38,{'direction':'backward'}),_0x462b63=new Rt(_0x5eac38,{'direction':'forward'});(_0x5eac38['commands']['add']('showPreviousChange',_0x379ebf),_0x5eac38['commands']['add']('showNextChange',_0x462b63),_0x5eac38['commands']['add']('restoreRevision',new bt(_0x5eac38)),this['on']('change:numberOfChanges',()=>{_0x379ebf['refresh'](),_0x462b63['refresh']();}),this['_setConversion'](),this['_initInteractions'](),_0x5eac38['enableReadOnlyMode']('revision-viewer'),_0x5eac38['plugins']['has']('WidgetToolbarRepository'))&&_0x5eac38['plugins']['get']('WidgetToolbarRepository')['forceDisabled']('revision-viewer');}async['getRevisionData'](_0xb39596){await this['loadRevisionData'](_0xb39596);const _0x25f13d={};for(const _0x22d7a4 in _0xb39596['diffData']){if(_0xb39596['diffData'][_0x22d7a4]['attachChange']&&!_0xb39596['diffData'][_0x22d7a4]['attachChange']['isAttached'])continue;const _0xaf00e2=this['_removeRevisionMarkers'](JSON['parse'](_0xb39596['diffData'][_0x22d7a4]['insertions'])),_0x23f5d6=this['editor']['editing']['view']['document'],_0x32b302=new _0x5659e8(_0x23f5d6,_0xaf00e2['map'](_0x1527d6=>this['_getViewObj'](_0x1527d6)));this['editor']['data']['processor']['useFillerType']('marked'),_0x25f13d[_0x22d7a4]=this['editor']['data']['processor']['toData'](_0x32b302),this['editor']['data']['processor']['useFillerType']('default');}return _0x25f13d;}async['getRevisionRootsAttributes'](_0x1f2564){await this['loadRevisionData'](_0x1f2564);const _0x4554a1={};for(const _0x1fcbda in _0x1f2564['diffData'])_0x1f2564['diffData'][_0x1fcbda]['attachChange']&&!_0x1f2564['diffData'][_0x1fcbda]['attachChange']['isAttached']||(_0x4554a1[_0x1fcbda]=_0x1f2564['diffData'][_0x1fcbda]['attributesAfter']||{});return _0x4554a1;}['_removeRevisionMarkers'](_0x22f255){return(_0x22f255=_0x22f255['filter'](_0x3e9322=>!_0x3e9322['name']||'revision-start'!==_0x3e9322['name']&&'revision-end'!==_0x3e9322['name']))['forEach'](_0xb24a1f=>{'string'!=typeof _0xb24a1f&&(_0xb24a1f['children']=this['_removeRevisionMarkers'](_0xb24a1f['children']),_0xb24a1f['attributes']=_0xb24a1f['attributes']['filter'](_0x3cdb08=>!_0x3cdb08[0x0]['startsWith']('data-revision-')));}),_0x22f255;}async['compare'](_0x5df8e3,_0x5687c2,_0x419527=!0x1){if(!this['isEnabled'])return;const _0x1a010a=this['diff'],_0x56a13f=this['repository'],_0x56706b='string'==typeof _0x5df8e3?_0x56a13f['getRevision'](_0x5df8e3):_0x5df8e3,_0x3becc4='string'==typeof _0x5687c2?_0x56a13f['getRevision'](_0x5687c2):_0x5687c2,_0xd07a1c=_0x56706b['id'],_0x13c1d0=_0x3becc4?_0x3becc4['id']:null;if(!_0x419527&&this['diff']&&this['diff']['newRevisionId']===_0xd07a1c&&this['diff']['oldRevisionId']===_0x13c1d0)return Promise['resolve']();this['isReady']=!0x1,this['activeView']=null,this['activeChange']=null,this['diff']=new f(_0xd07a1c,_0x13c1d0);const _0x5ad234=this['_getRevisionsRange'](_0x56706b,_0x3becc4,!0x0)['map'](_0x434a57=>this['loadRevisionData'](_0x434a57));return _0x5ad234['push'](new Promise(_0x37f0ee=>{setTimeout(_0x37f0ee,0x14);})),Promise['all'](_0x5ad234)['then'](()=>{if(!this['isEnabled'])return;this['_cleanUp']();const _0x10ea20=this['_getDiff'](_0xd07a1c,_0x13c1d0);for(const _0x50d61a of _0x10ea20['changes'])this['_changeIdToChange']['set'](_0x50d61a['id'],_0x50d61a);this['editor']['model']['enqueueChange']({'isUndoable':!0x1},_0x134949=>{for(const _0x25a298 of this['editor']['model']['document']['getRootNames']())_0x134949['detachRoot'](_0x25a298);for(const _0x30fba5 of Object['keys'](_0x10ea20['model'])){const _0x5b43f2=_0x134949['addRoot'](_0x30fba5);for(const _0x4c5a8c of Object['keys'](_0x10ea20['attributes'][_0x30fba5]))_0x134949['setAttribute'](_0x4c5a8c,_0x10ea20['attributes'][_0x30fba5][_0x4c5a8c],_0x5b43f2);_0x134949['insert'](_0x10ea20['model'][_0x30fba5],_0x5b43f2,0x0);}}),this['diff']['_setChanges'](this['_sortAndFilterDiffChanges'](_0x10ea20['changes'])),this['isReady']=!0x0;})['catch'](_0x2faaed=>{console['error'](_0x2faaed),this['_cleanUp'](),_0x1a010a&&(this['diff']=_0x1a010a),this['isReady']=!0x0;});}['addRevisionData'](_0x1976b9,_0x2bd0a0){const _0x1a8b0b=this['repository']['createRevision'](_0x1976b9);return _0x1a8b0b['on']('_update',(_0x4acbbe,_0x6c64b4,_0x499b6a)=>_0x2bd0a0(_0x6c64b4,_0x499b6a,_0x1a8b0b)),this['repository']['addRevision'](_0x1a8b0b),_0x1a8b0b;}['loadRevisionData'](_0x3d9aeb){if(!_0x3d9aeb||_0x3d9aeb['diffData'])return Promise['resolve']();{const _0x5c1cdf=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0x5c1cdf,'revisionId':_0x3d9aeb['id']})['then'](_0x79dedb=>{_0x3d9aeb['_update']({'diffData':_0x79dedb['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},_0x3775c4=>{for(const _0x1eca8c of this['editor']['model']['document']['getRootNames']())_0x3775c4['detachRoot'](_0x1eca8c);});}['_sortAndFilterDiffChanges'](_0x30539b){const _0x480397=[],_0x201736=new Map();for(const _0x48ced5 of this['editor']['model']['document']['getRootNames']()){const _0x28f6b5=this['editor']['editing']['view']['getDomRoot'](_0x48ced5);if(!_0x28f6b5)continue;const _0x2fbff9=_0x28f6b5['getClientRects']()['item'](0x0);_0x2fbff9&&(_0x480397['push'](_0x48ced5),_0x201736['set'](_0x48ced5,_0x2fbff9));}return _0x480397['sort']((_0x448350,_0x368894)=>{const _0x4125c0=_0x201736['get'](_0x448350),_0x3cc59b=_0x201736['get'](_0x368894);return _0x4125c0['y']-_0x3cc59b['y']||_0x4125c0['x']-_0x3cc59b['x'];}),(_0x30539b=_0x30539b['filter'](_0x5c60f9=>_0x480397['includes'](_0x5c60f9['rootName'])))['sort']((_0x46dc64,_0x6603aa)=>_0x480397['indexOf'](_0x46dc64['rootName'])-_0x480397['indexOf'](_0x6603aa['rootName'])),_0x30539b;}['_makeTape'](_0x4f2ec4){const _0x327d33=Array['from'](_0x4f2ec4['markers'])['filter'](([_0x3bb464,_0x207849])=>_0x3bb464['startsWith']('revision:')&&!_0x207849['isCollapsed']),_0xc9a418=Array['from'](this['editor']['model']['createRangeIn'](_0x4f2ec4)['getWalker']({'singleCharacters':!0x0}));if(0x0!=_0x327d33['length'])for(const _0x28024e of _0xc9a418){const [_0x325df6,_0x2aa30d]=_0x327d33[0x0],[,_0x2c51e4,_0x9a61ab]=_0x325df6['split'](':');if(_0x2aa30d['end']['isEqual'](_0x28024e['nextPosition'])&&_0x327d33['shift'](),(_0x28024e['previousPosition']['isEqual'](_0x2aa30d['start'])||_0x28024e['previousPosition']['isAfter'](_0x2aa30d['start']))&&('insertion'==_0x2c51e4?_0x28024e['isAdded']={'userId':_0x9a61ab}:'deletion'==_0x2c51e4&&(_0x28024e['isRemoved']={'userId':_0x9a61ab})),0x0==_0x327d33['length'])break;}return _0xc9a418;}['_refreshStartEndIndex'](_0x1d8e84){const _0x366e07=new Map();for(let _0x1d9647=0x0;_0x1d9647<_0x1d8e84['length'];_0x1d9647++)'text'===_0x1d8e84[_0x1d9647]['type']?(_0x1d8e84[_0x1d9647]['item']['startIndex']=_0x1d9647,_0x1d8e84[_0x1d9647]['item']['endIndex']=_0x1d9647):('elementStart'===_0x1d8e84[_0x1d9647]['type']?_0x1d8e84[_0x1d9647]['item']['startIndex']=_0x1d9647:'elementEnd'===_0x1d8e84[_0x1d9647]['type']&&(_0x1d8e84[_0x1d9647]['item']['endIndex']=_0x1d9647),_0x366e07['set'](_0x1d8e84[_0x1d9647]['id'],_0x1d9647));for(const _0x241e72 of _0x366e07['values']())'elementStart'===_0x1d8e84[_0x241e72]['type']?_0x1d8e84[_0x241e72]['item']['endIndex']=_0x366e07['get'](_0x1d8e84[_0x241e72]['pairId']):'elementEnd'===_0x1d8e84[_0x241e72]['type']&&(_0x1d8e84[_0x241e72]['item']['startIndex']=_0x366e07['get'](_0x1d8e84[_0x241e72]['pairId']));}['_processTape'](_0x1bcf34){for(let _0xc44192=0x0;_0xc44192<_0x1bcf34['length'];_0xc44192++){if('elementStart'===_0x1bcf34[_0xc44192]['type'])_0x1bcf34[_0xc44192]['item']['startIndex']=_0xc44192;else{if('elementEnd'===_0x1bcf34[_0xc44192]['type']){_0x1bcf34[_0xc44192]['item']['endIndex']=_0xc44192;const _0x142106=_0x1bcf34[_0xc44192]['item']['startIndex'];_0x1bcf34[_0x142106]['pairId']=_0x1bcf34[_0xc44192]['id'],_0x1bcf34[_0xc44192]['pairId']=_0x1bcf34[_0x142106]['id'];}else _0x1bcf34[_0xc44192]['item']['startIndex']=_0xc44192,_0x1bcf34[_0xc44192]['item']['endIndex']=_0xc44192,_0x1bcf34[_0xc44192]['pairId']=null;}_0x1bcf34[_0xc44192]['markersStart']||(_0x1bcf34[_0xc44192]['markersStart']=[],_0x1bcf34[_0xc44192]['markersEnd']=[]);}}['_markInsertions'](_0x32996c,_0x3cbfa1){const _0x1f6c6a=_0x32996c['filter'](_0x3ca51b=>!_0x3ca51b['isAdded']);for(let _0x732db1=0x0;_0x732db1<_0x3cbfa1['length'];_0x732db1++)_0x3cbfa1[_0x732db1]['isAdded']&&(_0x1f6c6a[_0x732db1]['isAdded']=_0x3cbfa1[_0x732db1]['isAdded']);}['_makeModelFromViewString'](_0x4e85dc){const _0x15f4c2=JSON['parse'](_0x4e85dc),_0x5c844a=this['editor']['editing']['view']['document'],_0x2b43c5=new _0x5659e8(_0x5c844a,_0x15f4c2['map'](_0x35e883=>this['_getViewObj'](_0x35e883)));return this['editor']['data']['toModel'](_0x2b43c5);}['_getViewObj'](_0x1b4314){const _0x682b64=this['editor']['editing']['view']['document'];if('string'==typeof _0x1b4314)return new _0x1e000c(_0x682b64,_0x1b4314);{const _0x4f7db4=_0x1b4314['children']['map'](_0x36c0d8=>this['_getViewObj'](_0x36c0d8));return new(tt[_0x1b4314['type']]||_0x1dbbc1)(_0x682b64,_0x1b4314['name'],_0x1b4314['attributes'],_0x4f7db4);}}['_getDiff'](_0x15c16c,_0x296b1d=null){const _0xc24e80=this['repository']['getRevision'](_0x15c16c),_0x36bc70=_0x296b1d?this['repository']['getRevision'](_0x296b1d):null,_0x371bb9=this['_getRevisionsRange'](_0xc24e80,_0x36bc70),_0x31a1ce=_0x371bb9[_0x371bb9['length']-0x1],_0x2301a1=new Map(),_0x22269b={'model':{},'attributes':{},'changes':[]},_0x2cbba7=new Set(),_0x2413f3=new Map();for(let _0x1e18c8=_0x371bb9['length']-0x1;_0x1e18c8>=0x0;_0x1e18c8--){const _0x50a581=_0x371bb9[_0x1e18c8];for(const _0x561613 of Object['keys'](_0x50a581['diffData']))if(_0x50a581['diffData'][_0x561613]['attachChange']){const _0x478e61=_0x50a581['diffData'][_0x561613]['attachChange'];_0x478e61['isAttached']?(_0x2cbba7['add'](_0x561613),_0x2413f3['has'](_0x561613)&&_0x2413f3['get'](_0x561613)['userId']==_0x478e61['userId']?_0x2413f3['delete'](_0x561613):_0x2413f3['set'](_0x561613,_0x478e61)):_0x2413f3['has'](_0x561613)?(_0x2cbba7['delete'](_0x561613),_0x2413f3['delete'](_0x561613)):(_0x2cbba7['add'](_0x561613),_0x2413f3['set'](_0x561613,_0x478e61));}else _0x2cbba7['add'](_0x561613);}for(const _0x3b70b1 of _0x2cbba7){const _0x5aacff=_0x2413f3['has'](_0x3b70b1)&&!_0x2413f3['get'](_0x3b70b1)['isAttached'];let _0x8a85e1=_0x5aacff?_0x371bb9['length']-0x1:0x0;const _0x512520=_0x5aacff?-0x1:0x1;for(;_0x371bb9[_0x8a85e1];){const _0x7e923b=_0x371bb9[_0x8a85e1];if(_0x7e923b['diffData'][_0x3b70b1]){const _0x58fa76=_0x5aacff?_0x7e923b['diffData'][_0x3b70b1]['attributesBefore']:_0x7e923b['diffData'][_0x3b70b1]['attributesAfter'];_0x22269b['attributes'][_0x3b70b1]=_0x58fa76?_0x5e4b81(_0x58fa76):{};break;}_0x8a85e1+=_0x512520;}}for(const _0x449864 of _0x371bb9){_0x449864['model']={};for(const _0x1618e4 of _0x449864['authors'])_0x2301a1['set'](_0x1618e4['id'],_0x1618e4);for(const _0x2748ed of _0x2cbba7){const _0x20db61=_0x449864['diffData'][_0x2748ed]?_0x449864['diffData'][_0x2748ed]['insertions']:'[]',_0x19c7fb=_0x449864['diffData'][_0x2748ed]?_0x449864['diffData'][_0x2748ed]['deletions']:'[]';_0x449864['model'][_0x2748ed]={'insertions':this['_makeModelFromViewString'](_0x20db61),'deletions':this['_makeModelFromViewString'](_0x19c7fb)};}}for(const _0x55c98c of _0x2cbba7){let _0x5538c8=null,_0x2049ff=0x0;const _0x426ede=new Map(Array['from'](_0xc24e80['model'][_0x55c98c]['insertions']['markers'])['filter'](([_0x109501])=>!_0x109501['startsWith']('revision:')));let _0x547deb=0x0;for(const _0x366bdf of _0x371bb9){const _0x428df1=this['_makeTape'](_0x366bdf['model'][_0x55c98c]['insertions']);_0x366bdf==_0xc24e80?(_0x5538c8=_0x428df1,_0x2049ff=_0x5538c8['length'],_0x5538c8['forEach'](_0x526bd2=>{_0x526bd2['id']=_0x547deb++;}),this['_processTape'](_0x5538c8)):this['_markInsertions'](_0x5538c8,_0x428df1);const _0x406b67=_0x5538c8['filter'](_0x469596=>!_0x469596['isAdded'])['map'](_0x2fabfa=>_0x2fabfa['id']);let _0x3d991a=0x0;const _0x3deba1=this['_makeTape'](_0x366bdf['model'][_0x55c98c]['deletions']);_0x3deba1['forEach'](_0x172ace=>{_0x172ace['isRemoved']?_0x172ace['id']=_0x2049ff++:_0x172ace['id']=_0x406b67[_0x3d991a++];}),this['_processTape'](_0x3deba1),this['_setDistance'](_0x5538c8,'isAdded'),this['_setDistance'](_0x3deba1,'isRemoved'),_0x366bdf==_0xc24e80&&this['_markMarkers'](_0x5538c8,_0x426ede),_0x5538c8=this['_joinTapes'](_0x5538c8,_0x3deba1),this['_refreshStartEndIndex'](_0x5538c8),this['_setDistance'](_0x5538c8,'isRemoved');}_0x5538c8=_0x5538c8['filter'](_0xdc98c2=>!(_0xdc98c2['isAdded']&&_0xdc98c2['isRemoved']));const _0x797593=new Map(_0x31a1ce['model'][_0x55c98c]['deletions']['markers']),_0x1e33ad=new Set(_0x426ede['keys']());for(const _0x1da725 of _0x797593['keys']())_0x1e33ad['delete'](_0x1da725);this['_markSuggestions'](_0x5538c8,_0x1e33ad),this['_fixObsoleteTags'](_0x5538c8),_0x5538c8=this['_removeMissingPairs'](_0x5538c8),_0x5538c8=this['_markMismatchedRemovedTags'](_0x5538c8),_0x5538c8=this['_removeUnsupportedChanges'](_0x5538c8);const {root:_0x34bb9f,changes:_0x61ea3b}=this['_makeModelFromTape'](_0x5538c8,_0x2301a1,_0x55c98c);_0x22269b['model'][_0x55c98c]=_0x34bb9f;const _0x20e58c=_0x2413f3['get'](_0x55c98c);if(_0x20e58c){const _0x5548ee=_0x2301a1['get'](_0x20e58c['userId']),_0x562fd6=new r({'author':_0x5548ee,'type':_0x20e58c['isAttached']?'add':'remove','data':{'isOnRoot':!0x0},'createdAt':new Date(),'rootName':_0x55c98c});_0x61ea3b['unshift'](_0x562fd6),_0x22269b['attributes'][_0x55c98c]['revisionHistoryAttachChange']=_0x562fd6['id'];}_0x22269b['changes']=_0x22269b['changes']['concat'](_0x61ea3b);}return _0x22269b;}['_markMarkers'](_0x2a1b19,_0x2a3472){for(let _0x451899=0x0;_0x451899<_0x2a1b19['length'];_0x451899++)for(const [_0x17e5b2,_0x50f6b8]of _0x2a3472)_0x50f6b8['start']['isEqual'](_0x2a1b19[_0x451899]['previousPosition'])&&_0x2a1b19[_0x451899]['markersStart']['push'](_0x17e5b2),_0x50f6b8['end']['isEqual'](_0x2a1b19[_0x451899]['nextPosition'])&&_0x2a1b19[_0x451899]['markersEnd']['push'](_0x17e5b2);}['_joinTapes'](_0x41f3d5,_0x357bc1){let _0x55f131=[],_0x578dfd=0x0,_0x197f57=0x0;for(;_0x578dfd<_0x41f3d5['length']||_0x197f57<_0x357bc1['length'];){const _0x4f5304=_0x41f3d5[_0x578dfd]||{},_0x14bc31=_0x357bc1[_0x197f57]||{};if(_0x4f5304['id']==_0x14bc31['id'])_0x578dfd++,_0x197f57++,_0x55f131['push'](_0x4f5304);else{if(_0x14bc31['isRemoved']&&_0x4f5304['isAdded']){const {commonTape:_0x36e26e,iEnd:_0x5565f2,jEnd:_0x381392}=this['_threeWayMerge'](_0x41f3d5,_0x578dfd,_0x357bc1,_0x197f57);_0x55f131=_0x55f131['concat'](_0x36e26e),_0x578dfd=_0x5565f2,_0x197f57=_0x381392;}else _0x14bc31['isRemoved']?(_0x197f57++,_0x55f131['push'](_0x14bc31)):(_0x578dfd++,_0x55f131['push'](_0x4f5304));}}return _0x55f131;}['_markSuggestions'](_0x580558,_0x4883f0){const _0x2d6e67=[];for(let _0x469de2=0x0;_0x469de2<_0x580558['length'];_0x469de2++){for(let _0x426d88=0x0;_0x426d88<_0x580558[_0x469de2]['markersStart']['length'];_0x426d88++){const _0x2009f0=_0x580558[_0x469de2]['markersStart'][_0x426d88];if(!_0x4883f0['has'](_0x2009f0))continue;const {group:_0x2cc1c2,type:_0x13c918,authorId:_0x5e8af7}=_0x2aec0f(_0x2009f0);'revision-suggestion'!=_0x2cc1c2||'insertion'!=_0x13c918&&'deletion'!=_0x13c918||(_0x2d6e67['unshift']({'type':_0x13c918,'name':_0x2009f0,'userId':_0x5e8af7}),_0x580558[_0x469de2]['markersStart']['splice'](_0x426d88,0x1),_0x426d88--);}_0x3dfd59(_0x580558[_0x469de2]);for(let _0x3c2b83=0x0;_0x3c2b83<_0x580558[_0x469de2]['markersEnd']['length'];_0x3c2b83++){const _0x595db1=_0x580558[_0x469de2]['markersEnd'][_0x3c2b83];if(!_0x4883f0['has'](_0x595db1))continue;const {group:_0x1b0424,type:_0x47c81b}=_0x2aec0f(_0x595db1);if('revision-suggestion'!=_0x1b0424||'insertion'!=_0x47c81b&&'deletion'!=_0x47c81b)continue;_0x580558[_0x469de2]['markersEnd']['splice'](_0x3c2b83,0x1),_0x3c2b83--;const _0x9cd241=_0x2d6e67['findIndex'](_0x4bbb0e=>_0x4bbb0e['name']==_0x595db1);_0x9cd241>-0x1&&_0x2d6e67['splice'](_0x9cd241,0x1);}}function _0x2aec0f(_0x3f324f){const _0x26550a=_0x3f324f['split'](':');return{'group':_0x26550a[0x0],'type':_0x26550a[0x1],'subType':_0x26550a['length']>=0x5?_0x26550a[0x2]:null,'id':_0x26550a['length']<0x5?_0x26550a[0x2]:_0x26550a[0x3],'authorId':_0x26550a['length']<0x5?_0x26550a[0x3]:_0x26550a[0x4],'markerCount':0x6==_0x26550a['length']?_0x26550a[0x5]:null};}function _0x3dfd59(_0x17dce2){for(let _0x2aa4d1=0x0;_0x2aa4d1<_0x2d6e67['length'];_0x2aa4d1++){if(_0x17dce2['isAdded']&&'insertion'==_0x2d6e67[_0x2aa4d1]['type'])return _0x17dce2['isAddSuggestion']=_0x2d6e67[_0x2aa4d1],void delete _0x17dce2['isAdded'];if(!_0x17dce2['isAdded']&&!_0x17dce2['isRemoved']&&'deletion'==_0x2d6e67[_0x2aa4d1]['type'])return void(_0x17dce2['isRemoveSuggestion']=_0x2d6e67[_0x2aa4d1]);}}}['_setDistance'](_0xeff394,_0x297373){let _0x2b9d19=0x0,_0x3ededd=!0x1;const _0x559507=new Map();for(const _0x4bae3f of _0xeff394)_0x4bae3f[_0x297373]?_0x3ededd&&(_0x2b9d19++,_0x3ededd=!0x1):(_0x2b9d19++,_0x3ededd=!0x0),_0x559507['set'](_0x4bae3f['id'],_0x2b9d19);for(let _0x4b2223=0x0;_0x4b2223<_0xeff394['length'];_0x4b2223++){if('isRemoved'==_0x297373&&_0xeff394[_0x4b2223]['isAdded']||'isAdded'==_0x297373&&_0xeff394[_0x4b2223]['isRemoved'])continue;if('text'==_0xeff394[_0x4b2223]['type']){_0xeff394[_0x4b2223]['distance']=0x0;continue;}const _0x34344a=_0x559507['get'](_0xeff394[_0x4b2223]['pairId']),_0x245c7c=_0x559507['get'](_0xeff394[_0x4b2223]['id']);_0xeff394[_0x4b2223]['distance']=_0x34344a-_0x245c7c;}}['_getRevisionsRange'](_0x33ed1f,_0x10025a,_0x2fceba=!0x1){const _0x2f476f=[];let _0x494156=this['repository']['getIndex'](_0x33ed1f),_0x1cd976=this['repository']['getIndex'](_0x10025a);for(-0x1==_0x1cd976&&(_0x1cd976=this['repository']['_revisions']['length'],_0x2fceba=!0x1);_0x494156<_0x1cd976;)_0x2f476f['push'](this['repository']['getRevision'](_0x494156)),_0x494156++;return _0x2fceba&&_0x2f476f['push'](this['repository']['getRevision'](_0x494156)),_0x2f476f;}['_threeWayMerge'](_0x51cef4,_0x2b740d,_0x134f8f,_0x5e9340){const _0x462d61=this['editor']['model']['schema'];let _0x21b0db=_0x2b740d;for(;_0x51cef4[_0x21b0db]&&_0x51cef4[_0x21b0db]['isAdded'];)_0x21b0db++;let _0xb77a43=_0x5e9340;for(;_0x134f8f[_0xb77a43]&&_0x134f8f[_0xb77a43]['isRemoved'];)_0xb77a43++;_0x36e5d4(_0x51cef4,_0x2b740d,_0x21b0db),_0x36e5d4(_0x134f8f,_0x5e9340,_0xb77a43);const _0x7d4fe4=_0x134f8f['slice'](_0x5e9340,_0xb77a43)['concat'](_0x51cef4['slice'](_0x2b740d,_0x21b0db));return _0x7d4fe4['sort']((_0x10e16,_0x24e389)=>_0x10e16['side']!=_0x24e389['side']?_0x10e16['side']-_0x24e389['side']:_0x10e16['level']!=_0x24e389['level']?_0x10e16['level']-_0x24e389['level']:_0x10e16['distance']!=_0x24e389['distance']?_0x24e389['distance']-_0x10e16['distance']:!!_0x10e16['isAdded']!=!!_0x24e389['isAdded']?-0x1==_0x10e16['side']||0x0==_0x10e16['side']?_0x10e16['isAdded']?-0x1:0x1:_0x10e16['isAdded']?0x1:-0x1:_0x10e16['index']-_0x24e389['index']),{'commonTape':_0x7d4fe4,'iEnd':_0x21b0db,'jEnd':_0xb77a43};function _0x36e5d4(_0x1b1dda,_0x3a4ae8,_0x58e33f){let _0x55d0bd=-0x1,_0x3e77de=Number['POSITIVE_INFINITY'],_0x181a38=!0x0;for(let _0x3721a5=_0x3a4ae8;_0x3721a5<_0x58e33f;_0x3721a5++)if(_0x462d61['isInline'](_0x1b1dda[_0x3721a5]['item'])||(_0x181a38=!0x1),_0x1b1dda[_0x3721a5]['item']['startIndex']<_0x3a4ae8&&(_0x55d0bd=_0x3721a5),_0x1b1dda[_0x3721a5]['item']['endIndex']>=_0x58e33f){_0x3e77de=_0x3721a5;break;}_0x181a38&&(_0x55d0bd=_0x58e33f-0x1);for(let _0x5b3166=_0x3a4ae8;_0x5b3166<_0x58e33f;_0x5b3166++)_0x1b1dda[_0x5b3166]['side']=_0x5b3166<=_0x55d0bd?-0x1:_0x5b3166<_0x3e77de?0x0:0x1,_0x1b1dda[_0x5b3166]['index']=_0x5b3166;let _0x16f6f0=0x0;for(let _0x26490b=_0x3a4ae8;_0x26490b<=_0x55d0bd;_0x26490b++)0x0==_0x1b1dda[_0x26490b]['distance']?_0x1b1dda[_0x26490b]['level']=_0x16f6f0:(_0x16f6f0++,_0x1b1dda[_0x26490b]['level']=_0x16f6f0,_0x16f6f0++);for(let _0x23884c=_0x3a4ae8;_0x23884c<_0x58e33f;_0x23884c++)0x0==_0x1b1dda[_0x23884c]['side']&&(_0x1b1dda[_0x23884c]['level']=_0x16f6f0);_0x16f6f0=0x0;for(let _0x29ece2=_0x58e33f-0x1;_0x29ece2>=_0x3e77de;_0x29ece2--)0x0==_0x1b1dda[_0x29ece2]['distance']?_0x1b1dda[_0x29ece2]['level']=_0x16f6f0:(_0x16f6f0--,_0x1b1dda[_0x29ece2]['level']=_0x16f6f0,_0x16f6f0--);}}['_fixObsoleteTags'](_0x53d985){const _0x2b4209=new Map(),_0x46d5e2=this['editor']['model']['schema'];for(let _0x5c78f9=0x1;_0x5c78f9<_0x53d985['length'];_0x5c78f9++){let _0x2ba87b,_0x65c8a7,_0x57389d;const _0xd58b3d=_0x53d985[_0x5c78f9],_0x507db4=_0x53d985[_0x5c78f9-0x1];if('text'==_0xd58b3d['type'])continue;if(_0xd58b3d['type']!=_0x507db4['type'])continue;if(!_0x46d5e2['isBlock'](_0x507db4['item'])||_0x46d5e2['isLimit'](_0x507db4['item']))continue;if(!_0x46d5e2['isBlock'](_0xd58b3d['item'])||_0x46d5e2['isLimit'](_0xd58b3d['item']))continue;if((_0x53d985[_0x5c78f9]['isAdded']||_0x53d985[_0x5c78f9]['isAddSuggestion'])&&_0x53d985[_0x5c78f9-0x1]['isRemoved'])_0x2ba87b=_0x53d985[_0x5c78f9],_0x65c8a7=_0x53d985[_0x5c78f9-0x1],_0x57389d=_0x5c78f9-0x1;else{if(!_0x53d985[_0x5c78f9]['isRemoved']||!_0x53d985[_0x5c78f9-0x1]['isAdded']&&!_0x53d985[_0x5c78f9-0x1]['isAddSuggestion'])continue;_0x2ba87b=_0x53d985[_0x5c78f9-0x1],_0x65c8a7=_0x53d985[_0x5c78f9],_0x57389d=_0x5c78f9;}const _0x4a1a55=_0x2ba87b['level']==_0x65c8a7['level'],_0x13c818=Math['abs'](_0x2ba87b['level'])<Math['abs'](_0x65c8a7['level'])&&0x0==_0x65c8a7['distance'];(_0x4a1a55||_0x13c818)&&(_0x2b4209['set'](_0x65c8a7['id'],_0x2ba87b['id']),_0x53d985['splice'](_0x57389d,0x1),_0x5c78f9--,_0x2ba87b['isAdded']=!0x1);}for(let _0x560fe1=0x0;_0x560fe1<_0x53d985['length'];_0x560fe1++)_0x2b4209['has'](_0x53d985[_0x560fe1]['pairId'])&&(_0x53d985[_0x560fe1]['pairId']=_0x2b4209['get'](_0x53d985[_0x560fe1]['pairId']));}['_removeMissingPairs'](_0x538072){const _0x16fcc3=new Set(_0x538072['map'](_0x1e042f=>_0x1e042f['id']));for(let _0x5cde4f=0x0;_0x5cde4f<_0x538072['length'];_0x5cde4f++)_0x16fcc3['has'](_0x538072[_0x5cde4f]['pairId'])||0x0==_0x538072[_0x5cde4f]['distance']||(_0x538072[_0x5cde4f]['isIncorrect']=!0x0);return _0x538072['filter'](_0x3c5634=>!_0x3c5634['isIncorrect']);}['_markMismatchedRemovedTags'](_0x487cf5){const _0x28068c=new Set();for(let _0x28cfa7=0x0;_0x28cfa7<_0x487cf5['length'];_0x28cfa7++){if(_0x28068c['has'](_0x487cf5[_0x28cfa7]['id'])&&_0x487cf5[_0x28cfa7]['isRemoved']&&(_0x487cf5[_0x28cfa7]['isIncorrect']=!0x0),_0x487cf5[_0x28cfa7]['isIncorrect'])continue;if(0x0==_0x487cf5[_0x28cfa7]['distance'])continue;if('elementStart'!=_0x487cf5[_0x28cfa7]['type'])continue;if(null==_0x487cf5[_0x28cfa7]['pairId'])continue;let _0x30cfc3=_0x28cfa7+0x1,_0x36d319=0x0;for(;_0x487cf5[_0x30cfc3]['id']!=_0x487cf5[_0x28cfa7]['pairId'];)'elementStart'==_0x487cf5[_0x30cfc3]['type']?_0x36d319++:'elementEnd'==_0x487cf5[_0x30cfc3]['type']&&_0x36d319--,_0x30cfc3++;if(0x0!=_0x36d319){if(_0x487cf5[_0x28cfa7]['isRemoved'])_0x487cf5[_0x28cfa7]['isIncorrect']=!0x0;else{for(;_0x30cfc3!=_0x28cfa7;)_0x487cf5[_0x30cfc3]['isRemoved']&&0x0!=_0x487cf5[_0x30cfc3]['distance']&&(_0x487cf5[_0x30cfc3]['isIncorrect']=!0x0,_0x28068c['add'](_0x487cf5[_0x30cfc3]['pairId'])),_0x30cfc3--;}}}return _0x487cf5['filter'](_0x14062d=>!_0x14062d['isIncorrect']);}['_removeUnsupportedChanges'](_0x45811e){const _0x75786d=this['editor']['model']['schema'];for(let _0x2b5395=0x0;_0x2b5395<_0x45811e['length'];_0x2b5395++){if(!(_0x45811e[_0x2b5395]['isAdded']||_0x45811e[_0x2b5395]['isAddSuggestion']||_0x45811e[_0x2b5395]['isRemoved']||_0x45811e[_0x2b5395]['isRemoveSuggestion']))continue;if(0x0==_0x45811e[_0x2b5395]['distance'])continue;const _0x2af1da=_0x45811e[_0x2b5395]['item'];_0x75786d['isBlock'](_0x2af1da)||_0x75786d['isLimit'](_0x2af1da)||(_0x45811e[_0x2b5395]['isAdded']&&delete _0x45811e[_0x2b5395]['isAdded'],_0x45811e[_0x2b5395]['isAddSuggestion']&&delete _0x45811e[_0x2b5395]['isAddSuggestion'],_0x45811e[_0x2b5395]['isRemoveSuggestion']&&delete _0x45811e[_0x2b5395]['isRemoveSuggestion'],_0x45811e[_0x2b5395]['isRemoved']&&(_0x45811e[_0x2b5395]['isIncorrect']=!0x0));}return _0x45811e['filter'](_0x42ca74=>!_0x42ca74['isIncorrect']);}['_makeModelFromTape'](_0x39c8ed,_0x2696fc,_0x31f1e5){const _0x3e4414=new _t(),_0x4c5ced=[],_0x3f9863=new Map(),_0xbc2435=this['editor']['model'],_0x41bb9c=_0xbc2435['schema'],_0x53d263=[_0x3e4414],_0x1c0ad1={},_0x358eac={'isAdded':[],'isRemoved':[],'isAddSuggestion':[],'isRemoveSuggestion':[]};let _0x50cfee=null;const _0xf2304f=[0x0];for(let _0x5044a4=0x0;_0x5044a4<_0x39c8ed['length'];_0x5044a4++){let _0x6073cb,_0x232844;if('elementStart'===_0x39c8ed[_0x5044a4]['type']){_0x6073cb=_0xbc2435['createPositionFromPath'](_0x3e4414,_0xf2304f);const _0x1ee81e=new ft(_0x39c8ed[_0x5044a4]['item']['name'],_0x39c8ed[_0x5044a4]['item']['getAttributes']());_0x53d263[0x0]['_appendChild'](_0x1ee81e),_0xf2304f['push'](0x0),_0x53d263['unshift'](_0x1ee81e),_0x232844=_0xbc2435['createPositionFromPath'](_0x3e4414,_0xf2304f),_0x50cfee=null;}else{if('elementEnd'===_0x39c8ed[_0x5044a4]['type'])_0x53d263['shift'](),_0x6073cb=_0xbc2435['createPositionFromPath'](_0x3e4414,_0xf2304f),_0xf2304f['pop'](),_0xf2304f[_0xf2304f['length']-0x1]++,_0x232844=_0xbc2435['createPositionFromPath'](_0x3e4414,_0xf2304f),_0x50cfee=null;else{if(_0x6073cb=_0xbc2435['createPositionFromPath'](_0x3e4414,_0xf2304f),_0x50cfee&&_0x29f1ea(_0x50cfee,_0x39c8ed[_0x5044a4]['item']))_0x50cfee['_data']+=_0x39c8ed[_0x5044a4]['item']['data'];else{const _0x321467=new yt(_0x39c8ed[_0x5044a4]['item']['data'],_0x39c8ed[_0x5044a4]['item']['getAttributes']());_0x53d263[0x0]['_appendChild'](_0x321467),_0x50cfee=_0x321467;}_0xf2304f[_0xf2304f['length']-0x1]+=_0x39c8ed[_0x5044a4]['item']['offsetSize'],_0x232844=_0xbc2435['createPositionFromPath'](_0x3e4414,_0xf2304f);}}for(const _0x9f6b7f of _0x39c8ed[_0x5044a4]['markersStart'])_0x3f9863['set'](_0x9f6b7f,{'start':_0x6073cb,'end':null});_0x43c6d5('isRemoveSuggestion',_0x5044a4,_0x6073cb,_0x232844),_0x43c6d5('isAddSuggestion',_0x5044a4,_0x6073cb,_0x232844),_0x43c6d5('isRemoved',_0x5044a4,_0x6073cb,_0x232844),_0x43c6d5('isAdded',_0x5044a4,_0x6073cb,_0x232844);for(const _0x441880 of _0x39c8ed[_0x5044a4]['markersEnd']){_0x3f9863['get'](_0x441880)['end']=_0x232844;}}for(const [_0x388a4a,_0x3e86e0]of _0x3f9863){const _0x42d044=this['editor']['model']['createRange'](_0x3e86e0['start'],_0x3e86e0['end']);_0x3e4414['markers']['set'](_0x388a4a,_0x42d044);}return _0x4c5ced['sort']((_0x50baed,_0x33010d)=>{const _0x46f6f0=_0x3e4414['markers']['get']('revision:'+_0x50baed['id']),_0x30f69e=_0x3e4414['markers']['get']('revision:'+_0x33010d['id']);return _0x46f6f0['start']['isBefore'](_0x30f69e['start'])?-0x1:_0x46f6f0['start']['isAfter'](_0x30f69e['start'])?0x1:_0x46f6f0['end']['isBefore'](_0x30f69e['end'])?-0x1:_0x46f6f0['end']['isAfter'](_0x30f69e['end'])?0x1:'add'===_0x50baed['type']?-0x1:0x1;}),{'root':_0x3e4414,'changes':_0x4c5ced};function _0x43c6d5(_0x27d4bc,_0x2355b1,_0x3089d8,_0x46f201){const _0x4c1be3=!!_0x39c8ed[_0x2355b1][_0x27d4bc],_0x34ea65=_0x4c1be3?_0x39c8ed[_0x2355b1][_0x27d4bc]['userId']:null,_0x5384d3=_0x2355b1===_0x39c8ed['length']-0x1,_0x231b0f=_0x358eac[_0x27d4bc][0x0],_0x4520f7=_0x41bb9c['isObject'](_0x39c8ed[_0x2355b1]['item']);!_0x1c0ad1[_0x27d4bc]&&_0x4c1be3?_0x1c0ad1[_0x27d4bc]={'start':_0x3089d8,'tapeItem':_0x39c8ed[_0x2355b1],'userId':_0x34ea65,'type':_0x27d4bc}:_0x1c0ad1[_0x27d4bc]&&!_0x4c1be3?(_0x1c0ad1[_0x27d4bc]['end']=_0x3089d8,_0x28aa8f(_0x1c0ad1[_0x27d4bc]),_0x1c0ad1[_0x27d4bc]=null):_0x1c0ad1[_0x27d4bc]&&_0x4c1be3&&_0x1c0ad1[_0x27d4bc]['userId']!==_0x34ea65&&(_0x1c0ad1[_0x27d4bc]['end']=_0x3089d8,_0x231b0f&&_0x231b0f['userId']===_0x1c0ad1[_0x27d4bc]['userId']||_0x28aa8f(_0x1c0ad1[_0x27d4bc]),_0x1c0ad1[_0x27d4bc]={'start':_0x3089d8,'tapeItem':_0x39c8ed[_0x2355b1],'userId':_0x34ea65,'type':_0x27d4bc}),_0x1c0ad1[_0x27d4bc]&&_0x4520f7&&('elementStart'!==_0x39c8ed[_0x2355b1]['type']||_0x231b0f&&_0x231b0f['userId']===_0x34ea65||_0x358eac[_0x27d4bc]['unshift']({'userId':_0x34ea65,'object':_0x39c8ed[_0x2355b1]['item'],'change':_0x1c0ad1[_0x27d4bc]}),'elementEnd'===_0x39c8ed[_0x2355b1]['type']&&_0x231b0f&&_0x231b0f['object']===_0x39c8ed[_0x2355b1]['item']&&(_0x358eac[_0x27d4bc]['shift'](),_0x1c0ad1[_0x27d4bc]=_0x231b0f['change'])),_0x1c0ad1[_0x27d4bc]&&_0x5384d3&&(_0x1c0ad1[_0x27d4bc]['end']=_0x46f201,_0x28aa8f(_0x1c0ad1[_0x27d4bc]),_0x1c0ad1[_0x27d4bc]=null);}function _0x28aa8f({start:_0x42b23c,end:_0x4b5609,tapeItem:_0x45f075,userId:_0x2b8560,type:_0x299eb1}){const _0x37b2cc=_0x45f075['item'],_0x270d26=_0xbc2435['schema']['isBlock'](_0x37b2cc)&&!_0xbc2435['schema']['isLimit'](_0x37b2cc),_0x4a0c50=_0x42b23c['nodeAfter']==_0x4b5609['parent']&&_0x4b5609['isAtStart'];if(_0x270d26&&_0x4a0c50)return;const _0x3ded54=_0xbc2435['createRange'](_0x42b23c,_0x4b5609),_0x2ddabc=_0x2696fc['get'](_0x2b8560),_0x553b8d=new r({'author':_0x2ddabc,'type':'isAdded'==_0x299eb1||'isAddSuggestion'==_0x299eb1?'add':'remove','data':{'isSuggestion':'isAddSuggestion'==_0x299eb1||'isRemoveSuggestion'==_0x299eb1},'createdAt':new Date(),'rootName':_0x31f1e5});_0x4c5ced['push'](_0x553b8d),_0x3e4414['markers']['set']('revision:'+_0x553b8d['id'],_0x3ded54);}function _0x29f1ea(_0x35d7d5,_0x473aa3){const _0x14f771=_0x35d7d5['getAttributes'](),_0x1f822d=_0x473aa3['getAttributes']();for(const _0x1a9ab1 of _0x14f771){if(_0x1a9ab1[0x1]!==_0x473aa3['getAttribute'](_0x1a9ab1[0x0]))return!0x1;_0x1f822d['next']();}return _0x1f822d['next']()['done'];}}['_setConversion'](){this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'revision'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision','view':_0x575461=>{const _0x42b2af=_0x575461['markerName']['split'](':')[0x1],_0x1063a0=this['_getChangeFromId'](_0x42b2af);if(!_0x1063a0)return null;const _0x4ccd3d='add'==_0x1063a0['type']?'insertion':'deletion',_0x113557=['ck-suggestion-marker','ck-suggestion-marker-'+_0x4ccd3d];return _0x1063a0['data']['isSuggestion']&&_0x113557['push']('ck-suggestion-marker-'+_0x4ccd3d+'-new'),this['activeChange']==_0x1063a0&&_0x113557['push']('ck-suggestion-marker--active'),{'classes':_0x113557,'attributes':{'data-change-id':_0x42b2af}};}}),this['editor']['conversion']['for']('upcast')['add'](_0x191b29=>{_0x191b29['on']('element:pre',(_0x1aecf8,_0x8e94e6,_0x40057c)=>{const _0x7ee877=_0x8e94e6['viewItem']['getChild'](0x0);if(!_0x7ee877||!_0x7ee877['is']('element','code'))return;if(!_0x40057c['consumable']['consume'](_0x7ee877,{'attributes':['vid_start','vid_end']}))return;const _0x1feef7=_0x8e94e6['modelRange']['start']['nodeAfter'];_0x40057c['writer']['setAttribute']('vid_start',_0x7ee877['getAttribute']('vid_start'),_0x1feef7),_0x40057c['writer']['setAttribute']('vid_end',_0x7ee877['getAttribute']('vid_end'),_0x1feef7);},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['add'](_0x339fc9=>{_0x339fc9['on']('element',(_0x5c0bb5,_0x4cfaef,_0x35c03e)=>{if(!_0x35c03e['consumable']['consume'](_0x4cfaef['viewItem'],{'attributes':['vid_start','vid_end']}))return;if(_0x4cfaef['modelRange']['isCollapsed'])return;const _0x4d3b83=_0x4cfaef['modelRange']['start']['nodeAfter'];_0x4d3b83['hasAttribute']('vid_start')||_0x4d3b83['hasAttribute']('vid')||(_0x35c03e['writer']['setAttribute']('vid_start',_0x4cfaef['viewItem']['getAttribute']('vid_start'),_0x4d3b83),_0x35c03e['writer']['setAttribute']('vid_end',_0x4cfaef['viewItem']['getAttribute']('vid_end'),_0x4d3b83));},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['elementToAttribute']({'view':{'name':'span','attributes':{'vid':!0x0}},'model':{'key':'vid','value':_0x2ce92d=>_0x2ce92d['getAttribute']('vid')}}),this['editor']['model']['schema']['on']('checkAttribute',(_0x4c6b81,[,_0x277665])=>{['vid_start','vid_end','vid']['includes'](_0x277665)&&(_0x4c6b81['return']=!0x0,_0x4c6b81['stop']());},{'priority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['add'](_0x24c1d0=>{_0x24c1d0['on']('attribute:vid',(_0x4a96d1,_0x3cc007,_0x589067)=>{if('\x20'!=_0x3cc007['item']['data']||_0x3cc007['item']['parent']['maxOffset']>0x1)return;if(!_0x589067['consumable']['consume'](_0x3cc007['item'],_0x4a96d1['name']))return;const _0x17ec98=_0x589067['writer'],_0x2b05ed=_0x589067['mapper']['toViewRange'](_0x3cc007['range']);_0x17ec98['wrap'](_0x2b05ed,_0x17ec98['createAttributeElement']('span'));});}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',function(_0x2bb380){const _0x428326=_0x2bb380['plugins']['get']('RevisionViewer');return(_0x441727,_0x212ec7,_0x344ac5)=>{const _0x1f6568=_0x212ec7['markerName']['split'](':')[0x1],_0x4e3e04=_0x428326['_getChangeFromId'](_0x1f6568);if(!_0x4e3e04)return null;const _0x5e75e2='add'==_0x4e3e04['type']?'split':'merge';if(!_0x344ac5['consumable']['test'](_0x212ec7['markerRange'],_0x441727['name']))return;const _0x1093ee=_0x212ec7['markerRange']['getWalker'](),_0x1c0561=_0x212ec7['markerRange']['start'],_0x3dbfbb=_0x2bb380['model']['schema'];let _0x1236f7=null,_0x23f550=null,_0x334351=!0x1,_0x189b90=!0x1;for(const _0x2c6649 of _0x1093ee){const _0x52bcb7=_0x2c6649['item'];_0x334351=_0x334351||_0x3dbfbb['isContent'](_0x52bcb7);const _0x585c19=_0x344ac5['mapper']['toViewElement'](_0x52bcb7);if(_0x585c19&&_0x585c19['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x2c6649['type']&&(_0x3dbfbb['isBlock'](_0x52bcb7)&&!_0x3dbfbb['isLimit'](_0x52bcb7)&&(_0x52bcb7['nextSibling']||_0x1c0561['isAtEnd']?_0x1236f7&&_0x1236f7['parent']==_0x52bcb7||(_0x1236f7=_0x52bcb7,_0x20633b(_0x2c6649['previousPosition']),_0x189b90=!0x0):_0x23f550=_0x23f550||_0x2c6649['previousPosition']));}function _0x20633b(_0x34ee2a){const _0x39faf0=_0x344ac5['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x5e75e2}),_0x205a28=_0x344ac5['mapper']['toViewPosition'](_0x34ee2a);_0x4e3e04['data']['isSuggestion']&&_0x344ac5['writer']['addClass']('ck-suggestion-marker-'+_0x5e75e2+'-new',_0x39faf0),_0x428326['activeChange']==_0x4e3e04&&_0x344ac5['writer']['addClass']('ck-suggestion-marker--active',_0x39faf0),_0x344ac5['writer']['insert'](_0x205a28,_0x39faf0),_0x344ac5['mapper']['bindElementToMarker'](_0x39faf0,_0x212ec7['markerName']);}_0x334351||_0x189b90||!_0x23f550||_0x20633b(_0x23f550);};}(this['editor']),{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('removeMarker:revision',(_0x1cd865,_0x1df124,_0x3e9fef)=>{const _0x30e417=_0x3e9fef['mapper']['markerNameToElements'](_0x1df124['markerName']);if(_0x30e417){for(const _0x416931 of _0x30e417)(_0x416931['hasClass']('ck-suggestion-marker-split')||_0x416931['hasClass']('ck-suggestion-marker-merge'))&&(_0x3e9fef['mapper']['unbindElementFromMarkerName'](_0x416931,_0x1df124['markerName']),_0x3e9fef['writer']['remove'](_0x416931));}},{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',(_0x277dcd,_0x482e6a,_0x589413)=>{const _0x1dcf5b=_0x482e6a['markerName']['split'](':')[0x1],_0x323424=this['_getChangeFromId'](_0x1dcf5b);if(!_0x323424)return null;const _0x1e2ae1='add'==_0x323424['type']?'split':'merge';if(_0x589413['consumable']['test'](_0x482e6a['markerRange'],_0x277dcd['name']))for(const _0x29075d of _0x482e6a['markerRange']['getItems']()){if(!_0x29075d['is']('element','softBreak'))continue;const _0x4637dd=_0x589413['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x1e2ae1}),_0x518ae5=_0x589413['mapper']['toViewPosition'](this['editor']['model']['createPositionBefore'](_0x29075d));_0x323424['data']['isSuggestion']&&_0x589413['writer']['addClass']('ck-suggestion-marker-'+_0x1e2ae1+'-new',_0x4637dd),this['activeChange']==_0x323424&&_0x589413['writer']['addClass']('ck-suggestion-marker--active',_0x4637dd),_0x589413['writer']['insert'](_0x518ae5,_0x4637dd),_0x589413['mapper']['bindElementToMarker'](_0x4637dd,_0x482e6a['markerName']);}},{'priority':'high'}),this['editor']['model']['document']['on']('change',()=>{this['editor']['editing']['view']['change'](_0x1a5f4a=>{for(const _0x233d02 of this['editor']['model']['document']['getRootNames']()){const _0x2809df=this['editor']['model']['document']['getRoot'](_0x233d02),_0x1aee95=this['editor']['editing']['view']['document']['getRoot'](_0x233d02);if(_0x1aee95){const _0x456c06=_0x2809df['getAttribute']('revisionHistoryAttachChange');if(_0x1a5f4a['removeAttribute']('data-change-id',_0x1aee95),_0x1a5f4a['removeClass']('ck-revision-history-root-add',_0x1aee95),_0x1a5f4a['removeClass']('ck-revision-history-root-remove',_0x1aee95),_0x1a5f4a['removeClass']('ck-revision-history-root--active',_0x1aee95),_0x456c06){const _0x271eef=this['_getChangeFromId'](_0x456c06);if(!_0x271eef)return null;_0x1a5f4a['setAttribute']('data-change-id',_0x456c06,_0x1aee95),_0x1a5f4a['addClass']('ck-revision-history-root-'+_0x271eef['type'],_0x1aee95),this['activeChange']==_0x271eef&&_0x1a5f4a['addClass']('ck-revision-history-root--active',_0x1aee95);}}}});}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'comment','model':_0x7667d3=>'revision-comment:'+_0x7667d3,'converterPriority':'highest'}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'suggestion','model':_0x511eaa=>'revision-suggestion:'+_0x511eaa,'converterPriority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision-suggestion','view':_0x35b2b6=>({'name':'suggestion:'+_0x35b2b6,'group':'revision-suggestion'}),'converterPriority':'highest'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision-suggestion','view':_0x414e9f=>{const _0xbda31f=_0x414e9f['markerName']['split'](':')[0x1];return'insertion'!=_0xbda31f&&'deletion'!=_0xbda31f?null:{'classes':['ck-suggestion-preview-marker','ck-suggestion-preview-marker-'+_0xbda31f]};}}),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',(_0x4262f5,_0x1fce18,_0x770bc0)=>{const _0x28cf3f=_0x770bc0['mapper']['markerNameToElements'](_0x1fce18['markerName']);if(_0x28cf3f){for(const _0x3f6a15 of _0x28cf3f)_0x3f6a15['is']('uiElement')&&(_0x770bc0['mapper']['unbindElementFromMarkerName'](_0x3f6a15,_0x1fce18['markerName']),_0x770bc0['writer']['remove'](_0x3f6a15));}},{'priority':'high'});}['_getChangeFromId'](_0x1dcdb3){return this['_changeIdToChange']['get'](_0x1dcdb3);}['_getViewForChange'](_0x399c66){return this['_changeView']&&this['_changeView']['destroy'](),this['_changeView']=new Z(this['editor']['locale'],_0x399c66),this['_changeView'];}['_initInteractions'](){this['editor']['model']['document']['selection']['observeMarkers']('revision'),this['on']('change:activeView',(_0x934457,_0x4c2bb8,_0x138fd9,_0x2eb795)=>{_0x2eb795&&this['_balloon']['remove'](_0x2eb795),_0x138fd9&&(this['_balloon']['add']({'view':_0x138fd9,'stackId':'revisionHistoryLabel','position':{'target':()=>{const _0x3e89cd=this['editor']['editing'],_0x1d2536=this['_getChangeFromId'](_0x138fd9['changeId']);let _0x4d1cf6;if(_0x1d2536['data']['isOnRoot']){const _0x3f0523=_0x3e89cd['view']['getDomRoot'](_0x1d2536['rootName']);_0x4d1cf6=Array['from'](_0x3f0523['getClientRects']());}else{const _0x4595aa=this['editor']['model']['markers']['get']('revision:'+_0x138fd9['changeId']);_0x4d1cf6=Array['from'](_0x3e89cd['mapper']['markerNameToElements'](_0x4595aa['name']))['map'](_0x195f9e=>_0x3e89cd['view']['domConverter']['mapViewToDom'](_0x195f9e))['map'](_0x38c9ec=>Array['from'](_0x38c9ec['getClientRects']()))['flat']();}if(!this['_activeViewTarget'])return _0x4d1cf6[0x0];return _0x4d1cf6['find'](_0x2b1b5b=>_0x2b1b5b['top']-0x3<=this['_activeViewTarget']['y']&&_0x2b1b5b['bottom']+0x3>=this['_activeViewTarget']['y']&&_0x2b1b5b['left']-0x3<=this['_activeViewTarget']['x']&&_0x2b1b5b['right']+0x3>=this['_activeViewTarget']['x'])||_0x4d1cf6[0x0];}}}),this['_balloon']['showStack']('revisionHistoryLabel'));}),this['on']('change:activeChange',(_0x510515,_0xf49d2f,_0x496d9c,_0x15e56c)=>{this['activeView']=_0x496d9c?this['_getViewForChange'](_0x496d9c):null,this['editor']['model']['change'](()=>{const _0xc796e2=this['editor']['editing'];_0x15e56c&&(_0x15e56c['data']['isOnRoot']?_0xc796e2['view']['change'](_0x4fedf5=>{_0x4fedf5['removeClass']('ck-revision-history-root--active',_0xc796e2['view']['document']['getRoot'](_0x15e56c['rootName']));}):_0xc796e2['reconvertMarker']('revision:'+_0x15e56c['id'])),_0x496d9c&&(_0x496d9c['data']['isOnRoot']?_0xc796e2['view']['change'](_0x5e6f2b=>{_0x5e6f2b['addClass']('ck-revision-history-root--active',_0xc796e2['view']['document']['getRoot'](_0x496d9c['rootName']));}):_0xc796e2['reconvertMarker']('revision:'+_0x496d9c['id']));});}),this['listenTo'](this['editor']['editing']['view']['document'],'mouseover',(_0x32a81f,_0x267618)=>{if(this['activeChange'])return;const _0x21cca8=this['_findChangeIdFromDomTarget'](_0x267618['target']),_0x516631=this['_changeIdToChange']['get'](_0x21cca8);_0x516631?(this['_activeViewTarget']={'x':_0x267618['domEvent']['x'],'y':_0x267618['domEvent']['y']},this['activeView']=this['_getViewForChange'](_0x516631)):(this['_activeViewTarget']=null,this['activeView']=null);}),this['listenTo'](this['editor']['editing']['view']['document'],'mousedown',(_0x28ed7b,_0x26e676)=>{const _0x49c3f9=this['_findChangeIdFromDomTarget'](_0x26e676['target']),_0x41a151=this['_changeIdToChange']['get'](_0x49c3f9);_0x41a151?(this['_activeViewTarget']={'x':_0x26e676['domEvent']['x'],'y':_0x26e676['domEvent']['y']},_0x41a151===this['activeChange']?this['_balloon']['updatePosition']():this['activeChange']=_0x41a151):(this['_activeViewTarget']=null,this['activeChange']=null);});}['_findChangeIdFromDomTarget'](_0x30eb30){do{const _0x44b2b6=_0x30eb30['getAttribute']('data-change-id');if(_0x44b2b6)return _0x44b2b6;_0x30eb30=_0x30eb30['parent'];}while(_0x30eb30);return null;}['_cleanMarkers'](){this['editor']['model']['change'](_0x384d7a=>{for(const _0xee1989 of this['editor']['model']['markers'])_0x384d7a['removeMarker'](_0xee1989);});}constructor(_0x5cf261){super(_0x5cf261),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',(_0x2ed430,_0x5b0693,_0x17c5b7)=>{this['activeChange']=null,this['activeView']=null,this['editor']['editing']['view']['change'](_0x1d919a=>{for(const _0x5c3070 of this['editor']['editing']['view']['document']['roots'])_0x17c5b7?_0x1d919a['removeClass']('ck-editor__editable__overlay',_0x5c3070):_0x1d919a['addClass']('ck-editor__editable__overlay',_0x5c3070);});}),this['bind']('isNavigationMode')['to'](this,'activeChange',_0x94c4cf=>null!==_0x94c4cf),this['bind']('currentChangeNumber')['to'](this,'isReady',this,'diff',this,'activeChange',(_0x582ad5,_0x35f6ca,_0x49d4ac)=>_0x582ad5&&_0x49d4ac?_0x35f6ca['changes']['getIndex'](_0x49d4ac):0x0),this['bind']('numberOfChanges')['to'](this,'isReady',this,'diff',(_0x2163d2,_0x881c1a)=>_0x2163d2?_0x881c1a['changes']['length']:0x0),this['_changeView']=null,this['_changeIdToChange']=new Map(),this['adapter']=null,this['_balloon']=this['editor']['plugins']['get'](_0x1f4f7b);}}function et(_0x265568,_0xdb3294){return(_0x4dc83b,_0x406045,_0x208cd0)=>{if(!_0x208cd0['consumable']['test'](_0x406045['markerRange'],_0x4dc83b['name']))return;const _0x269363=_0x406045['markerRange']['getWalker'](),_0x930cfe=_0x406045['markerRange']['start'],_0x52be7e=_0x265568['model']['schema'];let _0x3bccf9=null,_0x1204c8=null,_0x3de6d3=!0x1,_0x17e169=!0x1;for(const _0x4659c9 of _0x269363){const _0xf619b8=_0x4659c9['item'];_0x3de6d3=_0x3de6d3||_0x52be7e['isContent'](_0xf619b8);const _0x4e64e0=_0x208cd0['mapper']['toViewElement'](_0xf619b8);if(_0x4e64e0&&_0x4e64e0['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x4659c9['type']&&(_0x52be7e['isBlock'](_0xf619b8)&&!_0x52be7e['isLimit'](_0xf619b8)&&(_0xf619b8['nextSibling']||_0x930cfe['isAtEnd']?_0x3bccf9&&_0x3bccf9['parent']==_0xf619b8||(_0x3bccf9=_0xf619b8,_0x2a8879(_0x4659c9['previousPosition']),_0x17e169=!0x0):_0x1204c8=_0x1204c8||_0x4659c9['previousPosition']));}function _0x2a8879(_0xa89191){const _0x38e61e=_0x208cd0['mapper']['toViewPosition'](_0xa89191),_0x2a2321=_0x208cd0['writer']['createUIElement']('span',{'class':'ck-suggestion-preview-marker-'+_0xdb3294});_0x208cd0['writer']['insert'](_0x38e61e,_0x2a2321),_0x208cd0['mapper']['bindElementToMarker'](_0x2a2321,_0x406045['markerName']);}_0x3de6d3||_0x17e169||!_0x1204c8||_0x2a8879(_0x1204c8);};}class bt extends _0x188b37{['execute'](){const _0x36320d=this['editor'],_0x736389=_0x36320d['plugins']['get'](d),_0x331bb0=_0x736389['isReady']?_0x736389['diff']['newRevisionId']:null;_0x36320d['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x331bb0);}['refresh'](){const {isReady:_0x3072fe,isEnabled:_0x192a3a}=this['editor']['plugins']['get'](d);this['isEnabled']=_0x3072fe&&_0x192a3a;}constructor(_0x51fc6b){super(_0x51fc6b);const _0x1fbfc9=_0x51fc6b['plugins']['get'](d);this['affectsData']=!0x1,this['listenTo'](_0x1fbfc9,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x1fbfc9,'change:isEnabled',()=>this['refresh']());}}class Rt extends _0x188b37{['execute'](){const _0x45684b=this['editor'],_0x413620=_0x45684b['plugins']['get'](d),{isNavigationMode:_0x22bd0b,currentChangeNumber:_0x176c1b}=_0x413620;let _0x372f37;if(_0x413620['activeChange']=_0x22bd0b?_0x413620['diff']['changes']['get'](_0x176c1b+this['_step']):_0x413620['diff']['changes']['first'],_0x413620['activeChange']['data']['isOnRoot'])_0x372f37=_0x45684b['editing']['view']['getDomRoot'](_0x413620['activeChange']['rootName']);else{const _0x16f6e8=_0x45684b['model']['markers']['get']('revision:'+_0x413620['activeChange']['id']);_0x372f37=_0x280166(_0x45684b['editing'],_0x16f6e8);}_0xc6c84d({'target':_0x372f37,'viewportOffset':0x28});}['refresh'](){const {isNavigationMode:_0x4fa8b9,currentChangeNumber:_0x576a46,numberOfChanges:_0x3ee25f,isReady:_0x2cae6f,isEnabled:_0x5e37c7}=this['editor']['plugins']['get'](d);this['isEnabled']=!!(_0x5e37c7&&_0x2cae6f&&_0x3ee25f)&&(!_0x4fa8b9||(0x1===this['_step']?_0x576a46<_0x3ee25f-0x1:_0x576a46>0x0));}constructor(_0xa1c308,{direction:_0x57ae5f}){super(_0xa1c308);const _0x254b1a=_0xa1c308['plugins']['get'](d);this['affectsData']=!0x1,this['_step']='forward'===_0x57ae5f?0x1:-0x1,this['listenTo'](_0x254b1a,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x254b1a,'change:isEnabled',()=>this['refresh']()),this['listenTo'](_0x254b1a,'change:activeChange',()=>this['refresh']());}}class _i extends _0x4bcd56{constructor(_0x2925df){super(_0x2925df);const _0x21d5bf=this['bindTemplate'],_0x541481=new _0x99d8d4(_0x2925df),_0x3701e2=new _0x99d8d4(_0x2925df);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',(_0x9dd002,_0x9c8292)=>_0x9dd002&&_0x9c8292>0x0),this['bind']('_statusText')['to'](this,'isReady',this,'currentChangeNumber',this,'numberOfChanges',this,'isNavigationMode',(_0x162840,_0x391162,_0x31deb8,_0x28fd83)=>{if(!_0x162840)return y(_0x2925df,'Loading...');if(!_0x31deb8)return y(_0x2925df,'No\x20changes');const _0x3477e5=y(_0x2925df,'NUMBER_OF_CHANGES',_0x31deb8);return _0x28fd83?y(_0x2925df,'X_OF_Y_CHANGES',[_0x391162+0x1,_0x31deb8]):_0x3477e5;}),_0x541481['set']({'label':y(_0x2925df,'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'}),_0x3701e2['set']({'label':y(_0x2925df,'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'}),_0x541481['bind']('isEnabled')['to'](this,'isBackwardNavigationEnabled'),_0x3701e2['bind']('isEnabled')['to'](this,'isForwardNavigationEnabled'),_0x541481['on']('execute',()=>this['fire']('execute','backward')),_0x3701e2['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',_0x21d5bf['if']('_isStatusLabelVisible','ck-hidden',_0x23cb79=>!_0x23cb79)]},'children':[{'text':_0x21d5bf['to']('isNavigationMode',_0x431588=>_0x431588?y(_0x2925df,'EDIT_X_OF_Y_REVISIONS')+':\x20':y(_0x2925df,'Total')+':\x20')}]},{'text':_0x21d5bf['to']('_statusText')}]},new _0x4d4910(),{'tag':'div','attributes':{'class':['ck-revision-history-ui__changes-navigation__navigation']},'children':[_0x541481,_0x3701e2]}]});}}const ce='ck-editor__editable__loading-overlay';class de extends _0x580e1f{static get['pluginName'](){return'RevisionViewerLoadingOverlay';}['show'](){const _0x21527e=this['editor']['editing']['view'];_0x21527e['change'](_0x398939=>{for(const _0x2f688f of _0x21527e['document']['roots'])_0x398939['addClass'](ce,_0x2f688f);});}['hide'](){const _0x55f0bb=this['editor']['editing']['view'];_0x55f0bb['change'](_0x1ff84e=>{for(const _0x29080d of _0x55f0bb['document']['roots'])_0x1ff84e['removeClass'](ce,_0x29080d);});}}class R extends _0x580e1f{static get['pluginName'](){return'RevisionViewerUI';}static get['requires'](){return[d,de];}['init'](){const _0x4807b2=this['editor'],_0x48bb41=_0x4807b2['plugins']['get'](d),_0x1c0267=_0x4807b2['plugins']['get'](de);_0x4807b2['ui']['componentFactory']['add']('exitToEditing',_0x4a0ca1=>{const _0x66623c=new _0x99d8d4(_0x4a0ca1);return _0x66623c['set']({'label':y(_0x4a0ca1,'Back\x20to\x20editing'),'icon':_0x40f1df['undo'],'withText':!0x0,'tooltip':!0x0,'class':'ck-revision-history-ui__back-to-editing'}),this['listenTo'](_0x66623c,'execute',()=>{_0x4807b2['config']['get']('revisionHistory')['closeRevisionViewerCallback']();}),_0x66623c;}),_0x4807b2['ui']['componentFactory']['add']('restoreRevision',_0x5b8bca=>{const _0x259485=new _0x99d8d4(_0x5b8bca);return _0x259485['set']({'label':y(_0x5b8bca,'Restore\x20this\x20revision'),'withText':!0x0,'tooltip':!0x0}),_0x259485['bind']('isEnabled')['to'](_0x4807b2['commands']['get']('restoreRevision')),this['listenTo'](_0x259485,'execute',()=>_0x4807b2['execute']('restoreRevision')),_0x259485;}),_0x4807b2['ui']['componentFactory']['add']('changesNavigation',_0x57e3a6=>{const _0x445de6=new _i(_0x57e3a6),_0x12eb42=_0x4807b2['commands']['get']('showPreviousChange'),_0x1adfa9=_0x4807b2['commands']['get']('showNextChange');return _0x445de6['bind']('isBackwardNavigationEnabled')['to'](_0x12eb42,'isEnabled'),_0x445de6['bind']('isForwardNavigationEnabled')['to'](_0x1adfa9,'isEnabled'),_0x445de6['bind']('isReady','currentChangeNumber','numberOfChanges','isNavigationMode')['to'](_0x48bb41),this['listenTo'](_0x445de6,'execute',(_0x28719d,_0x1849a2)=>{_0x4807b2['execute']('forward'===_0x1849a2?'showNextChange':'showPreviousChange');}),_0x445de6;}),_0x1c0267['show'](),_0x48bb41['on']('change:isReady',(_0x421aad,_0x3ccec3,_0x3fdcf1)=>{_0x3fdcf1?_0x1c0267['hide']():_0x1c0267['show']();});}}class vt extends mt{['render'](){super['render'](),this['_resizeObserver']=new kt(this['fieldView']['element'],()=>this['_updateTooltipText']()),this['listenTo'](this['fieldView'],'input',()=>this['_updateTooltipText']());}['destroy'](){super['destroy'](),this['_resizeObserver']&&this['_resizeObserver']['destroy']();}['_updateTooltipText'](){const _0x3b327b=this['fieldView']['element'];this['_tooltipString']=_0x3b327b['scrollWidth']>_0x3b327b['clientWidth']&&_0x3b327b['value']||'';}constructor(_0x4849d5,_0xcf36fd){super(_0x4849d5,_0xcf36fd),this['_resizeObserver']=null;const _0x327f49=this['bindTemplate'];this['set']({'label':y(_0x4849d5,'Revision\x20name'),'_tooltipString':''}),this['fieldView']['placeholder']=y(_0x4849d5,'Enter\x20the\x20revision\x20name'),this['extendTemplate']({'tag':'span','attributes':{'class':['ck-revision-history-sidebar__revision-name'],'data-cke-tooltip-text':_0x327f49['to']('_tooltipString'),'data-cke-tooltip-position':'s','data-cke-tooltip-class':'ck-tooltip_multi-line'}});}}class ti extends _0x4bcd56{constructor(_0x2c6eab,_0x2346df,_0x365cd0){super(_0x2c6eab);const _0x2a69b9=new _0x4c04a6();_0x2a69b9['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 _0x4e9e2e=['ck','ck-revision-history-sidebar__revision-author'];_0x365cd0&&_0x4e9e2e['push']('ck-revision-history-sidebar__revision-author_creator');const _0x5a7c11=[{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__revision-author__name'],'title':y(_0x2c6eab,_0x365cd0?'Revision\x20creator':'Revision\x20author')},'children':[_0x2a69b9,_0x2346df['name']]}];this['setTemplate']({'tag':'li','attributes':{'class':_0x4e9e2e},'children':_0x5a7c11});}}function ni(_0x470370,_0x4866a4){const _0x31750a=_0x470370['bindTemplate'],_0x10d986=_0x470370['locale'],_0xc85753=_0x43d373(_0x10d986);_0xc85753['panelPosition']='sw';const _0x17f7ee=function(_0x342acd,_0x1b0ece){const _0x51f0c8=function(_0x4ad863,_0x4d39b7){const _0x4ea353=_0x4ad863['locale'],_0x473382={'Compare\x20against\x20selected':y(_0x4ea353,'Compare\x20against\x20selected'),'Name\x20this\x20revision':y(_0x4ea353,'Name\x20this\x20revision'),'Restore\x20this\x20revision':y(_0x4ea353,'Restore\x20this\x20revision')};return _0x4d39b7['map'](_0xe3801f=>{const _0x1cad1c=_0x473382[_0xe3801f['name']];return _0x1cad1c&&_0x1cad1c!==_0xe3801f['name']&&(_0xe3801f['name']=_0x1cad1c),_0xe3801f;});}(_0x342acd,_0x1b0ece),_0x41d715=new _0x2e3edc();for(const _0x4c53cb of _0x51f0c8){const _0x46a4ed={'type':'button','model':new to({'label':_0x4c53cb['name'],'class':_0x4c53cb['class'],'withText':!0x0,'_action':_0x4c53cb['action']})};_0x46a4ed['model']['bind']('isEnabled')['to'](_0x342acd,'isActionsDropdownOpen',_0x3ce7f2=>'function'!=typeof _0x4c53cb['isEnabled']||(!_0x3ce7f2||_0x4c53cb['isEnabled'](_0x342acd))),_0x41d715['add'](_0x46a4ed);}return _0x41d715;}(_0x470370,_0x4866a4);return _0x470370['bind']('isActionsDropdownOpen')['to'](_0xc85753,'isOpen'),_0xc85753['buttonView']['set']({'label':y(_0x10d986,'Show\x20more\x20items'),'tooltip':!0x0,'tooltipPosition':'sw','icon':_0x40f1df['threeVerticalDots']}),_0xc85753['extendTemplate']({'attributes':{'class':['ck-revision-history-sidebar__revision__actions',_0x31750a['if']('isActionsDropdownOpen','ck-on')]},'on':{'click':_0x31750a['to'](_0x316634=>_0x316634['stopPropagation']())}}),_0xc85753['on']('execute',_0x2bbb08=>{_0x470370['isReady']&&'function'==typeof _0x2bbb08['source']['_action']&&_0x2bbb08['source']['_action'](_0x470370);}),_0x52a1c1(_0xc85753,_0x17f7ee),_0xc85753['listenTo'](_0x470370,'change:isActionsDropdownOpen',(_0x1e8e05,_0x128cdc,_0x445d5d)=>{if(_0x445d5d)for(const _0x303d9e of _0xc85753['listView']['items']){const _0x517707=_0x303d9e['children']['first'],_0x6b8980=_0x4866a4['find'](_0x3ac1e9=>_0x3ac1e9['action']===_0x517707['_action'])['isVisible'];_0x303d9e['isVisible']=void 0x0===_0x6b8980||_0x6b8980(_0x470370);}}),_0xc85753;}class ai extends _0x4a2aec(_0x4bcd56){['render'](){super['render']();const _0x11c3ec=this['revisionNameView']['fieldView']['element'];this['listenTo'](_0x11c3ec,'change',()=>{this['_requireRevisionName']&&!_0x11c3ec['value']||this['fire']('setName',{'id':this['id'],'name':_0x11c3ec['value']}),_0x11c3ec['value']||(_0x11c3ec['value']=this['name']?this['name']:this['_createdAtFormatted']);});}['select'](){this['isSelected']=!0x0;}['deselect'](){this['isSelected']=!0x1;}['highlight'](){this['isHighlighted']=!0x0;}['unhighlight'](){this['isHighlighted']=!0x1;}constructor(_0x10eed2,_0x1620ea,_0x55264f,_0x1a408e){super(_0x10eed2);const _0x3c5eab=this['bindTemplate'],_0x1f7009=function(_0x1d0f07,_0x41a632){const _0x3c806c=Array['from'](_0x41a632['authors'])['filter'](_0x2c06a3=>_0x2c06a3!=_0x41a632['creator']);return _0x41a632['creator']&&_0x3c806c['unshift'](_0x41a632['creator']),_0x3c806c['map'](_0x211b40=>new ti(_0x1d0f07,_0x211b40,_0x211b40==_0x41a632['creator']));}(_0x10eed2,_0x1620ea);this['id']=_0x1620ea['id'],this['_revision']=_0x1620ea,this['_requireRevisionName']=_0x1a408e,this['bind']('name','createdAt')['to'](_0x1620ea),this['bind']('_createdAtFormatted')['to'](this,'createdAt',_0x20751d=>{return _0x3c627b=_0x10eed2['uiLanguage'],(_0x4eb09b=_0x20751d)['toLocaleDateString'](_0x3c627b,{'month':'long','day':'numeric'})+',\x20'+_0x4eb09b['toLocaleTimeString'](_0x3c627b,{'hour':'numeric','minute':'numeric'});var _0x3c627b,_0x4eb09b;}),this['set']('isSelected',!0x1),this['set']('isHighlighted',!0x1),this['set']('isActionsDropdownOpen',!0x1),this['set']('isReady',!0x1),this['set']('isEnabled',!0x1),this['revisionNameView']=new vt(_0x10eed2,_0x3a13f6),this['revisionNameView']['fieldView']['extendTemplate']({'attributes':{'maxlength':'220'}}),this['revisionNameView']['fieldView']['bind']('value')['to'](this,'name',_0xe251bc=>_0xe251bc||this['_createdAtFormatted']),this['revisionNameView']['bind']('isEnabled')['to'](this,'isSelected',this,'isEnabled',(_0x9a95b3,_0x23097d)=>_0x9a95b3&&_0x23097d),this['revisionActionsView']=_0x55264f&&_0x55264f['length']?ni(this,_0x55264f):'',this['revisionActionsView']&&this['revisionActionsView']['bind']('isEnabled')['to'](this),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision-wrapper',_0x3c5eab['if']('isConfirm','ck-revision-history-sidebar__revision-wrapper_confirmation_visible')]},'children':[{'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision',_0x3c5eab['if']('isEnabled','ck-disabled',_0x1fb4fc=>!_0x1fb4fc),_0x3c5eab['if']('isSelected','ck-revision-history-sidebar__revision_selected'),_0x3c5eab['if']('isHighlighted','ck-revision-history-sidebar__revision_highlighted'),_0x3c5eab['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':_0x3c5eab['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':_0x1f7009}]},this['revisionActionsView']],'on':{'click':_0x3c5eab['to'](_0x5596b9=>{_0x5596b9['srcElement']['closest']('.ck-thread__remove-confirm')||this['isReady']&&this['isEnabled']&&this['fire']('select',{'id':this['id']});})}}]});}}function di(_0x14a7f0,_0x1e688e){const _0x4db2a1=_0x4158e4['fromJSDate'](_0x14a7f0)['setLocale'](_0x1e688e),_0x5a88e7=_0x4158e4['local'](),_0x2b0d9b=_0x5a88e7['minus']({'days':0x1})['startOf']('day');let _0x357611,_0x443ef1;return _0x4db2a1['hasSame'](_0x5a88e7,'day')?(_0x357611=_0x4db2a1['startOf']('day')['toJSDate'](),_0x443ef1=_0x4db2a1['toRelativeCalendar']()):_0x4db2a1['hasSame'](_0x2b0d9b,'day')?(_0x357611=_0x2b0d9b['toJSDate'](),_0x443ef1=_0x4db2a1['toRelativeCalendar']()):_0x4db2a1['hasSame'](_0x5a88e7,'week')?(_0x357611=_0x4db2a1['startOf']('week')['toJSDate'](),_0x443ef1=_0x4db2a1['weekdayLong']||''):_0x4db2a1['hasSame'](_0x5a88e7,'year')?(_0x357611=_0x4db2a1['startOf']('month')['toJSDate'](),_0x443ef1=_0x4db2a1['monthLong']||''):(_0x357611=_0x4db2a1['startOf']('year')['toJSDate'](),_0x443ef1=String(_0x4db2a1['year'])),{'startDate':_0x357611,'localizedPeriodName':_0x443ef1};}class mi extends _0x4bcd56{['addRevision'](_0x297182){const _0x4c4752=new ai(this['locale'],_0x297182,this['_revisionActions'],this['_requireRevisionName']);this['revisionViews']['add'](_0x4c4752);}['removeRevision'](_0x21a83d){const _0x2181f9=this['revisionViews']['find'](_0x19a8b4=>_0x19a8b4['id']===_0x21a83d['id']);this['revisionViews']['remove'](_0x2181f9);}constructor(_0x2bb0d9,_0x52dc10,_0x3c359e,_0x19c487){super(_0x2bb0d9);const _0x2a4b0e=di(_0x52dc10,this['locale']['uiLanguage'])['localizedPeriodName'];this['startDate']=_0x52dc10,this['revisionViews']=this['createCollection'](),this['_revisionActions']=_0x3c359e,this['_requireRevisionName']=_0x19c487,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':_0x2a4b0e}]},{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__time-period__revisions']},'children':this['revisionViews']}]});}}class as extends _0x4bcd56{constructor(_0x55cf86){super(_0x55cf86);const _0x74a749=new _0x4c04a6();_0x74a749['content']=_0x40f1df['history'],this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all','ck-revision-history-sidebar__header']},'children':[_0x74a749,{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__header__label']},'children':[y(_0x55cf86,'Revision\x20history')]}]});}}class ci extends _0x4bcd56{['render'](){super['render']();for(const _0x5ddb9a of this['_revisions'])this['_addRevision'](_0x5ddb9a);this['_revisions']['on']('add',(_0x1b2355,_0x5b2e82)=>{this['_addRevision'](_0x5b2e82);}),this['_revisions']['on']('remove',(_0x3d4b6f,_0x1538d5)=>{this['_removeRevision'](_0x1538d5);});}get['revisionViews'](){return this['timePeriodViews']['map'](_0x29c00b=>_0x29c00b['revisionViews']['map'](_0xf80c6e=>_0xf80c6e))['flat']();}['selectRevision'](_0x25f39f){for(const _0x199e20 of this['revisionViews'])_0x25f39f&&_0x25f39f['id']===_0x199e20['id']?_0x199e20['select']():_0x199e20['deselect']();}['highlightRevisions'](_0x36c544){for(const _0x2e9d14 of this['revisionViews'])_0x36c544['some'](({id:_0x59097c})=>_0x59097c===_0x2e9d14['id'])?_0x2e9d14['highlight']():_0x2e9d14['unhighlight']();}['_addRevision'](_0x5eb001){const _0x259310=di(_0x5eb001['createdAt'],this['locale']['uiLanguage'])['startDate'];let _0xabdd93=this['timePeriodViews']['get'](0x0);_0xabdd93&&_0xabdd93['startDate']['getTime']()===_0x259310['getTime']()||(_0xabdd93=new mi(this['locale'],_0x259310,this['_revisionActions'],this['_requireRevisionName']),this['timePeriodViews']['add'](_0xabdd93)),_0xabdd93['addRevision'](_0x5eb001);}['_removeRevision'](_0x4390a4){const _0x5b5494=di(_0x4390a4['createdAt'],this['locale']['uiLanguage'])['startDate'];this['_getTimePeriodViewByStartDate'](_0x5b5494)['removeRevision'](_0x4390a4);}['_getTimePeriodViewByStartDate'](_0x13959d){return this['timePeriodViews']['find'](_0x290045=>_0x290045['startDate']['getTime']()===_0x13959d['getTime']());}constructor(_0x12bd28,_0x2b9dd3,_0x2f7677,_0x4fcaaf){super(_0x12bd28);const _0x4fcffb=this['bindTemplate'];this['timePeriodViews']=this['createCollection'](),this['timePeriodViews']['delegate']('select')['to'](this),this['timePeriodViews']['delegate']('setName')['to'](this),this['_revisions']=_0x2b9dd3,this['_revisionActions']=_0x2f7677,this['_requireRevisionName']=_0x4fcaaf,this['on']('select',(_0x47081b,_0x2df94e)=>{this['fire']('revisionSelected',_0x2df94e);}),this['on']('setName',(_0x5ddc1c,_0x5c6cce)=>{this['fire']('revisionSetName',_0x5c6cce);}),this['set']('isEnabled',!0x1),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-rounded-corners','ck-revision-history-sidebar']},'children':[new as(_0x12bd28),{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__timeline',_0x4fcffb['if']('isEnabled','ck-disabled',_0x387fac=>!_0x387fac)]},'children':this['timePeriodViews']}]});}}class w extends _0x580e1f{static get['pluginName'](){return'RevisionsSidebar';}static get['requires'](){return[d];}['init'](){const _0x2474c2=this['_revisionsRepository']['_revisions'],_0x3e0f48=this['_createRevisionActions'](),_0x1fca93=this['editor']['config']['get']('revisionHistory.viewerSidebarContainer');this['_sidebarView']=new ci(this['editor']['locale'],_0x2474c2,_0x3e0f48,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',(_0x49a80e,_0x2196bc)=>{_0x2196bc['revisionViews']['on']('add',(_0x1169d7,_0x4536af)=>{_0x4536af['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)),_0x1fca93['appendChild'](this['_sidebarView']['element']);}['destroy'](){this['_sidebarView']['element']['remove'](),this['_sidebarView']['destroy']();}['_handleEditorDataReady'](){const _0x1913c9=this['_revisionsRepository']['getRevision'](0x0);if(_0x1913c9){const _0x3ecf67=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x1913c9['id']);this['_revisionViewer']['compare'](_0x1913c9,_0x3ecf67);}}['_handleRevisionSelected'](_0x2b7751,_0x23dd69){const _0x20aa9d=this['_revisionsRepository']['getRevision'](_0x23dd69['id']),_0x2eef80=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x20aa9d['id']);this['_revisionViewer']['compare'](_0x20aa9d,_0x2eef80);}['_handleRevisionSetName'](_0x35b366,_0x24e2f6){this['_revisionsRepository']['getRevision'](_0x24e2f6['id'])['setName'](_0x24e2f6['name']);}['_handleDiffChange'](_0x4a48ab,_0x414dac,_0x348fd3){const _0xe37947=this['_revisionsRepository']['getRevisionsInDiff'](_0x348fd3);_0xe37947['length']>0x2?(this['_sidebarView']['highlightRevisions'](_0xe37947),this['_sidebarView']['selectRevision'](null)):(this['_sidebarView']['highlightRevisions']([]),this['_sidebarView']['selectRevision'](_0xe37947[0x0]));}['_createRevisionActions'](){const _0x2a6df0=this['editor'],_0x1864fa=w['availableRevisionActions'],_0x135a74=_0x2a6df0['config']['get']('revisionHistory.revisionActions')||w['defaultRevisionActions'];if(_0x135a74['length'])return _0x135a74['map'](_0x92f2ef=>{const _0x517daf='string'==typeof _0x92f2ef?Object['assign']({},_0x1864fa[_0x92f2ef]):_0x92f2ef;return _0x517daf['action']=_0x517daf['action']['bind'](this,_0x2a6df0),_0x517daf['isVisible']&&(_0x517daf['isVisible']=_0x517daf['isVisible']['bind'](this,_0x2a6df0)),_0x517daf;});}constructor(_0x2e0c3b){super(_0x2e0c3b),this['_revisionViewer']=_0x2e0c3b['plugins']['get'](d),this['_revisionsRepository']=this['_revisionViewer']['repository'],this['_sidebarView']=null;}}w['availableRevisionActions']={'compareAgainstSelected':{'name':'Compare\x20against\x20selected','action':({plugins:_0x4b9497},_0x2cd1c4)=>{const _0x17a5d9=_0x4b9497['get'](d),_0x32ba3c=_0x17a5d9['repository'];let _0x5a4937=_0x17a5d9['diff']['newRevisionId'],_0x51a4fa=_0x2cd1c4['id'];_0x32ba3c['getIndex'](_0x5a4937)>_0x32ba3c['getIndex'](_0x51a4fa)&&([_0x5a4937,_0x51a4fa]=[_0x51a4fa,_0x5a4937]),_0x17a5d9['compare'](_0x5a4937,_0x51a4fa);},'isVisible':({plugins:_0x2a3354},_0x3c000e)=>{const _0x3ecbe6=_0x2a3354['get'](d);return!(_0x3ecbe6['repository']['getRevisionsInDiff'](_0x3ecbe6['diff'])['length']>0x2)&&!_0x3c000e['isSelected'];}},'restoreRevision':{'name':'Restore\x20this\x20revision','action':(_0x50d87d,{id:_0x423206})=>{_0x50d87d['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x423206);},'isVisible':({plugins:_0x4b7e70},_0x1bc3b0)=>!!_0x4b7e70['get'](d)['repository']['getLaterVisibleRevision'](_0x1bc3b0['id'])},'nameRevision':{'name':'Name\x20this\x20revision','action':({plugins:_0x260dd9},{id:_0x7bd02c,revisionNameView:_0x4f8dde})=>{const _0x25195f=_0x260dd9['get'](d),_0x163da8=_0x25195f['repository']['getEarlierVisibleRevision'](_0x7bd02c);_0x25195f['compare'](_0x7bd02c,_0x163da8),_0x4f8dde['focus'](),_0x4f8dde['fieldView']['select']();}}},w['defaultRevisionActions']=['compareAgainstSelected','restoreRevision','nameRevision'];class ot extends ht{get['view'](){return this['_view'];}get['element'](){return this['view']['element'];}['init'](_0x4509fb){const _0x4f2083=this['editor'],_0xcc8d62=this['view'],_0x3cb760=_0x4f2083['editing']['view'],_0x400ac2=_0xcc8d62['editable'],_0xa7dea6=_0x3cb760['document']['getRoot']();_0x400ac2['name']=_0xa7dea6['rootName'],_0xcc8d62['render']();const _0x2d85a8=_0x400ac2['element'];this['setEditableElement'](_0x400ac2['name'],_0x2d85a8),_0xcc8d62['editable']['bind']('isFocused')['to'](this['focusTracker']),_0x3cb760['attachDomRoot'](_0x2d85a8),this['_elementReplacer']['replace'](_0x4509fb,this['element']),this['_initToolbar'](),this['fire']('ready');}['destroy'](){super['destroy']();const _0x5ba449=this['view'],_0xf8bf8d=this['editor']['editing']['view'];this['_elementReplacer']['restore'](),_0xf8bf8d['detachDomRoot'](_0x5ba449['editable']['name']),_0x5ba449['destroy']();}['_initToolbar'](){const _0x55d030=this['view'];_0x55d030['stickyPanel']['bind']('isActive')['to'](this['focusTracker'],'isFocused'),_0x55d030['stickyPanel']['limiterElement']=_0x55d030['element'],_0x55d030['stickyPanel']['bind']('viewportTopOffset')['to'](this,'viewportOffset',({top:_0x5be6dc})=>_0x5be6dc),_0x55d030['toolbar']['fillFromConfig'](this['_toolbarConfig'],this['componentFactory']),this['addToolbar'](_0x55d030['toolbar']);}constructor(_0x1b61fd,_0x159d61){super(_0x1b61fd),this['_view']=_0x159d61,this['_toolbarConfig']=ct(_0x1b61fd['config']['get']('toolbar')),this['_elementReplacer']=new nt();}}class at extends dt{get['editable'](){return this['_editable'];}['render'](){super['render'](),this['stickyPanel']['content']['add'](this['toolbar']),this['top']['add'](this['stickyPanel']),this['main']['add'](this['editable']);}constructor(_0x4513ec,_0x5dfc23,_0x3a2480={}){super(_0x4513ec),this['stickyPanel']=new lt(_0x4513ec),this['toolbar']=new pt(_0x4513ec,{'shouldGroupWhenFull':_0x3a2480['shouldToolbarGroupWhenFull']}),this['_editable']=new ut(_0x4513ec,_0x5dfc23);}}class m extends rt(st(it)){get['ui'](){return this['_ui'];}['destroy'](){return this['updateSourceElement'](),this['ui']['destroy'](),super['destroy']();}static async['create'](_0x2f0980,_0x4e139a){const _0x2e98ee=new this(_0x2f0980,_0x4e139a);return await _0x2e98ee['initPlugins'](),await _0x2e98ee['ui']['init'](_0x2f0980),await _0x2e98ee['data']['init'](_0x2e98ee['config']['get']('initialData')||''),_0x2e98ee['fire']('ready'),_0x2e98ee;}constructor(_0x204d38,_0x1d1411){super(_0x1d1411),this['sourceElement']=_0x204d38,this['model']['document']['createRoot']();const _0x527f61=new at(this['locale'],this['editing']['view'],{'shouldToolbarGroupWhenFull':!0x0});this['_ui']=new ot(this,_0x527f61);}}const g=['RevisionHistoryUI','RestrictedEditingMode'];class k extends _0x580e1f{static get['pluginName'](){return'RevisionViewerIntegration';}constructor(_0x9588f0){super(_0x9588f0),this['result']='end';}}class H extends _0x580e1f{static get['pluginName'](){return'RevisionHistory';}static get['requires'](){return[l,u];}set['adapter'](_0x6bdd1){this['editor']['plugins']['get']('RevisionTracker')['adapter']=_0x6bdd1;}get['adapter'](){return this['editor']['plugins']['get']('RevisionTracker')['adapter'];}['addRevisionData'](_0x19552a){return this['editor']['plugins']['get']('RevisionTracker')['addRevisionData'](_0x19552a);}['getRevision'](_0x5864b7){return this['editor']['plugins']['get']('RevisionsRepository')['getRevision'](_0x5864b7);}['getRevisions'](_0x21af38={'toJSON':!0x1}){return this['editor']['plugins']['get']('RevisionsRepository')['getRevisions'](_0x21af38);}['_getRevisionViewerEditorConfig'](){const _0x58cba2=this['editor'],_0x28e381=_0x47375a(_0x58cba2,g),_0x274d32=_0x58cba2['plugins']['get']('RevisionTracker'),_0x4cd4f6=_0x58cba2['plugins']['get']('Users')['users'];return _0x28e381['toolbar']=['exitToEditing','restoreRevision','changesNavigation'],delete _0x28e381['lazyRoots'],(_0x28e381['plugins']['push'](k,d,R,class extends _0x580e1f{static get['requires'](){return[d,'Users'];}['init'](){const _0x346914=this['editor']['plugins']['get']('Users');for(const _0x144d99 of _0x4cd4f6)_0x144d99['isAnonymous']||_0x346914['getUser'](_0x144d99['id'])||_0x346914['addUser'](_0x144d99);const _0x44c979=_0x274d32['repository']['getRevisions']();let _0x469efd=null;const _0x467865=this['editor']['plugins']['get']('RevisionViewer');_0x467865['adapter']=_0x274d32['adapter'],_0x467865['bind']('isEnabled')['to'](_0x274d32),this['editor']['commands']['get']('restoreRevision')['bind']('isEnabled')['to'](_0x58cba2,'isReadOnly',_0x373bd1=>!_0x373bd1);for(const _0x3503f9 of _0x44c979){const _0x44a966=null===_0x3503f9['creator'];if(_0x44a966&&_0x3503f9['toVersion']===_0x3503f9['fromVersion'])continue;const _0x3e51f0=_0x3503f9['toJSON']();_0x467865['addRevisionData'](_0x3e51f0,(_0x3533cc,_0x2f99fb,_0x517ee3)=>{if(_0x44a966){if(_0x469efd)_0x469efd['_update'](_0x3533cc,_0x2f99fb);else{if(!_0x2f99fb){const _0x336b5d=_0x517ee3['toJSON']();_0x336b5d['id']=_0x4f3974(),_0x274d32['saveRevision'](_0x336b5d,_0x517ee3['toVersion'])['then'](_0xd966aa=>{_0x469efd=_0xd966aa;});}}}else _0x3503f9['_update'](_0x3533cc,_0x2f99fb);});}}},w),_0x28e381);}['_enhanceShowRevisionViewerCallback'](){const _0xcc07ab=this['editor']['config']['get']('revisionHistory')['showRevisionViewerCallback'];this['editor']['config']['set']('revisionHistory.showRevisionViewerCallback',async()=>{this['editor']['enableReadOnlyMode']('revision-history-viewer-opened');const _0x48ae09=this['editor']['plugins']['get']('RevisionTracker');if(this['editor']['plugins']['has']('Autosave')){const _0x1b486e=this['editor']['plugins']['get']('Autosave');await _0x1b486e['save']();}else await _0x48ae09['update']();this['editor']['plugins']['has']('PaginationLookup')&&this['editor']['plugins']['get']('PaginationLookup')['_recalculatePageBreaks']();const _0x58d362=this['_getRevisionViewerEditorConfig']();return _0xcc07ab(_0x58d362)['then'](_0x5b1635=>{return(this['_viewerEditor']=_0x5b1635,this['editor']['plugins']['has']('Annotations'))&&this['editor']['plugins']['get']('Annotations')['refreshVisibility'](),_0x5b1635;})['catch'](_0x27b8cf=>(console['error'](_0x27b8cf),this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),null));});}['_enhanceCloseRevisionViewerCallback'](){const _0x18cec9=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'](),_0x18cec9(this['_viewerEditor'])['then'](()=>{if(this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),this['_viewerEditor']=null,this['editor']['plugins']['has']('Annotations')){const _0x1a2c50=this['editor']['plugins']['get']('Annotations');_0x1a2c50['refreshVisibility'](),_0x1a2c50['refreshPositioning']();}})));}['_showRevisionViewer'](_0x45105d){const _0x5963cc=this['editor']['config']['get']('revisionHistory.editorContainer'),_0x354852=this['editor']['config']['get']('revisionHistory.viewerContainer'),_0x1ca347=this['editor']['config']['get']('revisionHistory.viewerEditorElement');return m['create'](_0x1ca347,_0x45105d)['then'](_0x7ff192=>(_0x354852['style']['display']='block',_0x5963cc['style']['display']='none',_0x7ff192));}['_closeRevisionViewer'](_0x33e646){const _0x531bfb=this['editor']['config']['get']('revisionHistory.editorContainer');return this['editor']['config']['get']('revisionHistory.viewerContainer')['style']['display']='none',_0x531bfb['style']['display']='',_0x33e646['destroy']();}async['_restoreRevision'](_0x1bd265){const _0x5bb0d2=this['editor'],_0x3b0314=this['_viewerEditor']['plugins']['get']('RevisionViewer'),_0x13c14c=_0x5bb0d2['plugins']['get']('RevisionTracker'),_0x5200cc=_0x3b0314['repository']['getRevision'](_0x1bd265);let _0x18db15,_0x21b255,_0x4efd77;try{_0x18db15=await _0x3b0314['getRevisionData'](_0x5200cc),_0x21b255=await _0x3b0314['getRevisionRootsAttributes'](_0x5200cc);}catch(_0x4bfe21){return void console['error'](_0x4bfe21);}_0x5bb0d2['model']['change'](_0xba27f0=>{for(const _0x9033c1 of Array['from'](_0x5bb0d2['model']['markers']['getMarkersGroup']('restrictedEditingException')))_0xba27f0['removeMarker'](_0x9033c1);}),_0x3b0314['isReady']=!0x1,_0x5bb0d2['model']['enqueueChange'](_0x1ee8be=>{_0x1ee8be['setSelection'](null),_0x1ee8be['removeSelectionAttribute'](_0x5bb0d2['model']['document']['selection']['getAttributeKeys']());const _0x2ff04e=Object['keys'](_0x18db15);for(const _0x5a173c of _0x5bb0d2['model']['document']['roots'])'$graveyard'!=_0x5a173c['rootName']&&_0x5a173c['isAttached']()&&!_0x2ff04e['includes'](_0x5a173c['rootName'])&&_0x1ee8be['detachRoot'](_0x5a173c);for(const _0x393d35 of _0x2ff04e){let _0x5e1a65=_0x5bb0d2['model']['document']['getRoot'](_0x393d35);_0x5e1a65&&_0x5e1a65['isAttached']()||(_0x5e1a65=_0x1ee8be['addRoot'](_0x393d35));const _0xb80082=_0x21b255[_0x393d35],_0x517bb7=Object['keys'](_0xb80082),_0xe817d=_0x18db15[_0x393d35];for(const _0x28bd28 of _0x5e1a65['getAttributeKeys']())_0x517bb7['includes'](_0x28bd28)||_0x1ee8be['removeAttribute'](_0x28bd28,_0x5e1a65);for(const _0x55167d of _0x517bb7)_0x1ee8be['setAttribute'](_0x55167d,_0x21b255[_0x393d35][_0x55167d],_0x5e1a65);_0x1ee8be['remove'](_0x1ee8be['createRangeIn'](_0x5e1a65)),_0x1ee8be['insert'](_0x5bb0d2['data']['parse'](_0xe817d,_0x5e1a65),_0x5e1a65,0x0);}});const _0x50f184=y(_0x5bb0d2['locale'],'Restored');if(_0x5200cc['name'])_0x4efd77=-0x1==_0x5200cc['name']['indexOf'](_0x50f184)?_0x50f184+':\x20'+_0x5200cc['name']:_0x5200cc['name'];else _0x4efd77=_0x50f184+':\x20'+(_0x5200cc['createdAt']['toLocaleDateString'](_0x5bb0d2['locale']['uiLanguage'],{'month':'long','day':'numeric'})+',\x20'+_0x5200cc['createdAt']['toLocaleTimeString'](_0x5bb0d2['locale']['uiLanguage'],{'hour':'numeric','minute':'numeric'}));return await _0x13c14c['saveRevision']({'name':_0x4efd77}),_0x3b0314['isReady']=!0x0,_0x5bb0d2['config']['get']('revisionHistory')['closeRevisionViewerCallback']();}constructor(_0x8dd26a){if(super(_0x8dd26a),!this['editor']['config']['get']('revisionHistory'))throw new _0x40464c('revision-history-missing-configuration',this);this['_viewerEditor']=null,this['editor']['config']['define']('revisionHistory.showRevisionViewerCallback',_0xcf1e1f=>this['_showRevisionViewer'](_0xcf1e1f)),this['editor']['config']['define']('revisionHistory.closeRevisionViewerCallback',_0x3e0458=>this['_closeRevisionViewer'](_0x3e0458)),this['editor']['config']['define']('revisionHistory.restoreRevisionCallback',_0x3e9c93=>this['_restoreRevision'](_0x3e9c93)),this['editor']['config']['define']('revisionHistory.requireRevisionName',!0x1),this['_enhanceShowRevisionViewerCallback'](),this['_enhanceCloseRevisionViewerCallback']();}}export{H as RevisionHistory,u as RevisionHistoryUI,l as RevisionTracker,d as RevisionViewer,de as RevisionViewerLoadingOverlay,R as RevisionViewerUI,A as RevisionsRepository,w as RevisionsSidebar};