@ckeditor/ckeditor5-revision-history 42.0.0-alpha.6 → 42.0.0-alpha.7
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.
- package/build/revision-history.js +1 -1
- package/dist/index.js +6 -6
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +5 -5
- package/src/changeitem.js +2 -2
- package/src/editor/revisionviewereditor.js +2 -2
- package/src/editor/revisionviewereditorui.js +1 -1
- package/src/editor/revisionviewereditoruiview.js +1 -1
- package/src/index.js +1 -1
- package/src/revision.js +2 -2
- package/src/revisiondiff.js +1 -1
- package/src/revisionhistory.js +1 -1
- package/src/revisionsrepository.js +1 -1
- package/src/revisiontracker.js +1 -1
- package/src/revisionviewer.js +1 -1
- package/src/ui/revision/createrevisionactionsdropdown.js +1 -1
- package/src/ui/revision/revisionauthorview.js +1 -1
- package/src/ui/revision/revisionnameview.js +1 -1
- package/src/ui/revision/revisionview.js +2 -2
- package/src/ui/revision/subrevisioncollapserview.js +1 -1
- package/src/ui/revision/subrevisionview.js +1 -1
- package/src/ui/revision/utils.js +1 -1
- package/src/ui/revisionhistory/revisionhistorysaverevisionformview.js +1 -1
- package/src/ui/revisionhistory/revisionhistoryui.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebar.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebarheaderview.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebartimeperiodview.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebarview.js +1 -1
- package/src/ui/revisionssidebar/utils.js +1 -1
- package/src/ui/revisionviewer/changedetailsview.js +1 -1
- package/src/ui/revisionviewer/changesnavigationview.js +1 -1
- package/src/ui/revisionviewer/revisionviewerloadingoverlay.js +1 -1
- package/src/ui/revisionviewer/revisionviewerui.js +1 -1
- package/src/utils/common-translations.js +1 -1
package/dist/index.js
CHANGED
|
@@ -20,10 +20,10 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Plugin as
|
|
24
|
-
_0x3f1030(){['id'];['creator'];['authors'];['diffData'];['toVersion'];['fromVersion'];['model'];constructor(_0x326358){super(),this['id']=_0x326358['id']||_0x27bb41(),this['creator']=_0x326358['creator']||null,this['authors']=_0x326358['authors']||[],this['diffData']=_0x326358['diffData']||null,this['toVersion']=_0x326358['toVersion']||0x0,this['fromVersion']=_0x326358['fromVersion']||0x0,this['set']('name',_0x326358['name']||''),this['set']('createdAt',_0x326358['createdAt']||new Date()),this['set']('attributes',_0x326358['attributes']||{});}['setName'](_0x4a5b0d){this['_update']({'name':_0x4a5b0d});}['setAttribute'](_0x2b160e,_0xc4a5e8){const _0x26ba06=_0x50b8b3(this['attributes']);_0x490e97(_0x26ba06,_0x2b160e,_0xc4a5e8),this['_update']({'attributes':_0x26ba06});}['removeAttribute'](_0x2ef904){const _0x316c03=_0x50b8b3(this['attributes']);_0x2621d0(_0x316c03,_0x2ef904),this['_update']({'attributes':_0x316c03});}['_update'](_0x57beb4,_0x4a57b8=!0x1){let _0x5031ee=!0x1;const _0x3cb4fa={'id':this['id']},_0x962020=['name','createdAt','diffData','authors','attributes','toVersion','fromVersion','creatorId'];for(const _0x5e64b6 of _0x962020){const _0x510dc9=_0x57beb4[_0x5e64b6];void 0x0!==_0x510dc9&&_0x510dc9!==this[_0x5e64b6]&&(this[_0x5e64b6]=_0x510dc9,_0x3cb4fa[_0x5e64b6]=_0x510dc9,_0x5031ee=!0x0);}_0x5031ee&&(_0x3cb4fa['authors']&&(_0x3cb4fa['authorsIds']=_0x3cb4fa['authors']['map'](_0x12d973=>_0x12d973['id']),delete _0x3cb4fa['authors']),this['fire']('_update',_0x3cb4fa,_0x4a57b8));}['toJSON'](){return{'id':this['id'],'name':this['name'],'creatorId':this['creator']?this['creator']['id']:null,'authorsIds':this['authors']['map'](_0x4f4eb5=>_0x4f4eb5['id']),'diffData':this['diffData'],'createdAt':this['createdAt'],'attributes':this['attributes'],'fromVersion':this['fromVersion'],'toVersion':this['toVersion']};}}class A extends _0x5edd62{['_revisions'];static get['requires'](){return[_0x341501];}static get['pluginName'](){return'RevisionsRepository';}get['length'](){return this['_revisions']['length'];}constructor(_0x20d26e){super(_0x20d26e),this['_revisions']=new _0x546aee();}['afterInit'](){!function(_0x451d99){function _0x1106da(_0x2730c8,_0x3f4726,_0x6c552c){const _0x1ea345={};_0x1ea345[_0x558857([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])]={0x10:0xa,0x18:0xc,0x20:0xe},_0x1ea345[_0x558857([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],_0x1ea345[_0x558857([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],_0x1ea345[_0x558857([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],_0x1ea345[_0x558857([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],_0x1ea345[_0x558857([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],_0x1ea345[_0x558857([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],_0x1ea345[_0x558857([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],_0x1ea345[_0x558857([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],_0x1ea345[_0x558857([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],_0x1ea345[_0x558857([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 _0x5a30fe=new Uint8Array(0x10);for(let _0x4476bc=0xf;_0x4476bc>=0x0;--_0x4476bc)_0x5a30fe[_0x4476bc]=_0x6c552c%0x100,_0x6c552c=parseInt(_0x6c552c/0x100);let _0x2faa64=null,_0xc66173=0x10;const _0x102e89=new Uint8Array(_0x3f4726),_0x2d45ca=[],_0xb74214=[];_0x1af06e();for(let _0x54a165=0x0;_0x54a165<_0x2730c8[_0x558857([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x54a165++)0x10===_0xc66173&&(_0x2faa64=_0x543d85(_0x5a30fe),_0xc66173=0x0,_0x3bd9dd(_0x5a30fe)),_0x2730c8[_0x54a165]^=_0x2faa64[_0xc66173++];return _0x2730c8;function _0x5b495e(_0x40a43c){const _0x43706c=[];for(let _0x3e5386=0x0;_0x3e5386<_0x40a43c[_0x558857([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3e5386+=0x4)_0x43706c[_0x558857([0x70,0x75,0x73,0x68])](_0x40a43c[_0x3e5386]<<0x18|_0x40a43c[_0x3e5386+0x1]<<0x10|_0x40a43c[_0x3e5386+0x2]<<0x8|_0x40a43c[_0x3e5386+0x3]);return _0x43706c;}function _0x3bd9dd(_0x24cf5d){for(let _0x1e7c6b=0xf;_0x1e7c6b>=0x0;_0x1e7c6b--){if(0xff!==_0x24cf5d[_0x1e7c6b]){_0x24cf5d[_0x1e7c6b]++;break;}_0x24cf5d[_0x1e7c6b]=0x0;}}function _0x543d85(_0x23c8f3){const _0x86dbb7=_0x2d45ca[_0x558857([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x1,_0x131fda=[0x0,0x0,0x0,0x0];let t=_0x5b495e(_0x23c8f3);for(let _0x14f045=0x0;_0x14f045<0x4;_0x14f045++)t[_0x14f045]^=_0x2d45ca[0x0][_0x14f045];for(let _0x3dfc29=0x1;_0x3dfc29<_0x86dbb7;_0x3dfc29++){for(let _0x73e7fe=0x0;_0x73e7fe<0x4;_0x73e7fe++)_0x131fda[_0x73e7fe]=_0x1ea345[_0x558857([0x54,0x31])][t[_0x73e7fe]>>0x18&0xff]^_0x1ea345[_0x558857([0x54,0x32])][t[(_0x73e7fe+0x1)%0x4]>>0x10&0xff]^_0x1ea345[_0x558857([0x54,0x33])][t[(_0x73e7fe+0x2)%0x4]>>0x8&0xff]^_0x1ea345[_0x558857([0x54,0x34])][0xff&t[(_0x73e7fe+0x3)%0x4]]^_0x2d45ca[_0x3dfc29][_0x73e7fe];t=_0x131fda[_0x558857([0x73,0x6c,0x69,0x63,0x65])]();}const _0x573394=new Uint8Array(0x10);let _0x5a9d7a;for(let _0x4cf00b=0x0;_0x4cf00b<0x4;_0x4cf00b++)_0x5a9d7a=_0x2d45ca[_0x86dbb7][_0x4cf00b],_0x573394[0x4*_0x4cf00b]=0xff&(_0x1ea345[_0x558857([0x53])][t[_0x4cf00b]>>0x18&0xff]^_0x5a9d7a>>0x18),_0x573394[0x4*_0x4cf00b+0x1]=0xff&(_0x1ea345[_0x558857([0x53])][t[(_0x4cf00b+0x1)%0x4]>>0x10&0xff]^_0x5a9d7a>>0x10),_0x573394[0x4*_0x4cf00b+0x2]=0xff&(_0x1ea345[_0x558857([0x53])][t[(_0x4cf00b+0x2)%0x4]>>0x8&0xff]^_0x5a9d7a>>0x8),_0x573394[0x4*_0x4cf00b+0x3]=0xff&(_0x1ea345[_0x558857([0x53])][0xff&t[(_0x4cf00b+0x3)%0x4]]^_0x5a9d7a);return _0x573394;}function _0x1af06e(){const _0x53ab52=_0x1ea345[_0x558857([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])][_0x102e89[_0x558857([0x6c,0x65,0x6e,0x67,0x74,0x68])]];for(let _0x5253c6=0x0;_0x5253c6<=_0x53ab52;_0x5253c6++)_0x2d45ca[_0x558857([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]),_0xb74214[_0x558857([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]);const _0x5ad859=0x4*(_0x53ab52+0x1),_0x3e733d=_0x102e89[_0x558857([0x6c,0x65,0x6e,0x67,0x74,0x68])]/0x4,_0xf003d9=_0x5b495e(_0x102e89);let _0x49425c;for(let _0x102d38=0x0;_0x102d38<_0x3e733d;_0x102d38++)_0x49425c=_0x102d38>>0x2,_0x2d45ca[_0x49425c][_0x102d38%0x4]=_0xf003d9[_0x102d38],_0xb74214[_0x53ab52-_0x49425c][_0x102d38%0x4]=_0xf003d9[_0x102d38];let _0x429ba1,_0x3326fa=0x0,t=_0x3e733d;for(;t<_0x5ad859;){_0x429ba1=_0xf003d9[_0x3e733d-0x1],_0xf003d9[0x0]^=_0x1ea345[_0x558857([0x53])][_0x429ba1>>0x10&0xff]<<0x18^_0x1ea345[_0x558857([0x53])][_0x429ba1>>0x8&0xff]<<0x10^_0x1ea345[_0x558857([0x53])][0xff&_0x429ba1]<<0x8^_0x1ea345[_0x558857([0x53])][_0x429ba1>>0x18&0xff]^_0x1ea345[_0x558857([0x72,0x63,0x6f,0x6e])][_0x3326fa]<<0x18,_0x3326fa+=0x1;for(let _0x12063b=0x1;_0x12063b<_0x3e733d/0x2;_0x12063b++)_0xf003d9[_0x12063b]^=_0xf003d9[_0x12063b-0x1];_0x429ba1=_0xf003d9[_0x3e733d/0x2-0x1],_0xf003d9[_0x3e733d/0x2]^=_0x1ea345[_0x558857([0x53])][0xff&_0x429ba1]^_0x1ea345[_0x558857([0x53])][_0x429ba1>>0x8&0xff]<<0x8^_0x1ea345[_0x558857([0x53])][_0x429ba1>>0x10&0xff]<<0x10^_0x1ea345[_0x558857([0x53])][_0x429ba1>>0x18&0xff]<<0x18;for(let _0x31dbe7=_0x3e733d/0x2+0x1;_0x31dbe7<_0x3e733d;_0x31dbe7++)_0xf003d9[_0x31dbe7]^=_0xf003d9[_0x31dbe7-0x1];let _0x35642b,_0x5e6a6d,_0x5a19bc=0x0;for(;_0x5a19bc<_0x3e733d&&t<_0x5ad859;)_0x35642b=t>>0x2,_0x5e6a6d=t%0x4,_0x2d45ca[_0x35642b][_0x5e6a6d]=_0xf003d9[_0x5a19bc],_0xb74214[_0x53ab52-_0x35642b][_0x5e6a6d]=_0xf003d9[_0x5a19bc++],t++;}for(let _0x116b45=0x1;_0x116b45<_0x53ab52;_0x116b45++)for(let _0x36b19c=0x0;_0x36b19c<0x4;_0x36b19c++)_0x429ba1=_0xb74214[_0x116b45][_0x36b19c],_0xb74214[_0x116b45][_0x36b19c]=_0x1ea345[_0x558857([0x55,0x31])][_0x429ba1>>0x18&0xff]^_0x1ea345[_0x558857([0x55,0x32])][_0x429ba1>>0x10&0xff]^_0x1ea345[_0x558857([0x55,0x33])][_0x429ba1>>0x8&0xff]^_0x1ea345[_0x558857([0x55,0x34])][0xff&_0x429ba1];}}function _0x558857(_0x70ce15){return _0x70ce15['map'](_0x4277d6=>String['fromCharCode'](_0x4277d6))['join']('');}(_0x34113d=>{function _0x65005a(){const _0x5dbc5d=[{[_0x558857([0x69,0x64])]:0x1,[_0x558857([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x558857([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73]),[_0x558857([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x558857([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x558857([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x558857([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x558857([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x558857([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x558857([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]:[{[_0x558857([0x69,0x64])]:0x2,[_0x558857([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x558857([0x54,0x72,0x61,0x63,0x6b,0x20,0x43,0x68,0x61,0x6e,0x67,0x65,0x73]),[_0x558857([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x558857([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x558857([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x558857([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x558857([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x558857([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]),[_0x558857([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x558857([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x558857([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x558857([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}}],[_0x558857([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x558857([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x558857([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x558857([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x558857([0x69,0x64])]:0x3,[_0x558857([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x558857([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e]),[_0x558857([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x558857([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x6f,0x6f,0x6b,0x75,0x70]),[_0x558857([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x558857([0x70,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x558857([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x558857([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x558857([0x69,0x64])]:0x4,[_0x558857([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x558857([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x20,0x48,0x69,0x73,0x74,0x6f,0x72,0x79]),[_0x558857([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x558857([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x558857([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x558857([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x558857([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x558857([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]),[_0x558857([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x558857([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x558857([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x558857([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x558857([0x69,0x64])]:0x5,[_0x558857([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x558857([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x20,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65]),[_0x558857([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x558857([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65,0x55,0x49]),[_0x558857([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x558857([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]),[_0x558857([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x558857([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x558857([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x558857([0x66,0x67,0x69])]:[0xc]}},{[_0x558857([0x69,0x64])]:0x6,[_0x558857([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x558857([0x46,0x6f,0x72,0x6d,0x61,0x74,0x20,0x50,0x61,0x69,0x6e,0x74,0x65,0x72]),[_0x558857([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x558857([0x46,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x55,0x49]),[_0x558857([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x558857([0x66,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x558857([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x558857([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x558857([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x558857([0x66,0x67,0x69])]:[0xc]}},{[_0x558857([0x69,0x64])]:0x7,[_0x558857([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x558857([0x53,0x6c,0x61,0x73,0x68,0x20,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64]),[_0x558857([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x558857([0x53,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x55,0x49]),[_0x558857([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x558857([0x73,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x558857([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x558857([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x558857([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x558857([0x66,0x67,0x69])]:[0xc]}},{[_0x558857([0x69,0x64])]:0x8,[_0x558857([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x558857([0x54,0x61,0x62,0x6c,0x65,0x20,0x6f,0x66,0x20,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73]),[_0x558857([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x558857([0x54,0x61,0x62,0x6c,0x65,0x4f,0x66,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x558857([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x558857([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]),[_0x558857([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x558857([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x558857([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x558857([0x66,0x67,0x69])]:[0xc]}},{[_0x558857([0x69,0x64])]:0x9,[_0x558857([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x558857([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65]),[_0x558857([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x558857([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x55,0x49]),[_0x558857([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x558857([0x74,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x558857([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x558857([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x558857([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x558857([0x66,0x67,0x69])]:[0xc,0xe]}},{[_0x558857([0x69,0x64])]:0xa,[_0x558857([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x558857([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]),[_0x558857([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x558857([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]),[_0x558857([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x558857([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]),[_0x558857([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x558857([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x558857([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x558857([0x66,0x67,0x69])]:[0xc]}},{[_0x558857([0x69,0x64])]:0xb,[_0x558857([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x558857([0x41,0x49,0x20,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74]),[_0x558857([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x558857([0x41,0x49,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74,0x55,0x49]),[_0x558857([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x558857([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x558857([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x558857([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x558857([0x69,0x64])]:0xc,[_0x558857([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x558857([0x50,0x72,0x6f,0x64,0x75,0x63,0x74,0x69,0x76,0x69,0x74,0x79,0x20,0x70,0x61,0x63,0x6b])},{[_0x558857([0x69,0x64])]:0xd,[_0x558857([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x558857([0x43,0x61,0x73,0x65,0x20,0x43,0x68,0x61,0x6e,0x67,0x65]),[_0x558857([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x558857([0x43,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x55,0x49]),[_0x558857([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x558857([0x63,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x558857([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x558857([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x558857([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x558857([0x66,0x67,0x69])]:[0xc]}},{[_0x558857([0x69,0x64])]:0xe,[_0x558857([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x558857([0x44,0x72,0x75,0x70,0x61,0x6c,0x20,0x70,0x61,0x63,0x6b]),[_0x558857([0x66,0x6f,0x72,0x62,0x69,0x64,0x64,0x65,0x6e,0x48,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x558857([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])},{[_0x558857([0x69,0x64])]:0xf,[_0x558857([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x558857([0x4d,0x75,0x6c,0x74,0x69,0x20,0x4c,0x65,0x76,0x65,0x6c,0x20,0x4c,0x69,0x73,0x74]),[_0x558857([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x558857([0x4d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x558857([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x558857([0x6d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x558857([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x558857([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x558857([0x69,0x64])]:0x10,[_0x558857([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x558857([0x4d,0x65,0x72,0x67,0x65,0x20,0x54,0x61,0x67,0x73]),[_0x558857([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x558857([0x4d,0x65,0x72,0x67,0x65,0x54,0x61,0x67,0x73,0x55,0x49]),[_0x558857([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x558857([0x6d,0x65,0x72,0x67,0x65,0x54,0x61,0x67,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x558857([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x558857([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x558857([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x558857([0x66,0x67,0x69])]:[0xc]}}];return _0x27ce54(_0x5dbc5d),_0x5dbc5d;function _0x50ea1c(_0x258c68){return 0x1<<_0x258c68-0x1;}function _0x27ce54(_0x27bd57){_0x27bd57[_0x558857([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x2726ed=>{_0x2726ed[_0x558857([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]=_0x50ea1c(_0x2726ed[_0x558857([0x69,0x64])]),_0x397a22(_0x2726ed)&&_0x2726ed[_0x558857([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x27ce54(_0x2726ed[_0x558857([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]);});}}function _0x397a22(_0x4a6cba){return _0x558857([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])in _0x4a6cba;}const _0x11a894=[0x1,0x55,0x4e,0x73,0xc6,0xff,0x32,0x70,0x53,0x57,0xa1],_0x1e3345=[0x7f,0x22,0x6,0xd3,0xa7,0x56,0x92,0xc7,0x84,0xa0,0x12];function _0x2dfd7a(_0x242d77){const _0x5ea81f=[0x1d,0xdd,0xaf,0x5a,0xe7,0x85,0xef,0xf0,0x4b,0xb4];return _0x524459(_0x242d77,new Uint8Array([..._0x11a894,..._0x5ea81f,..._0x1e3345]));}function _0x524459(_0x348370,_0x4ba942){const _0x24fc9f=_0x1b2bb4(_0x348370),_0x3f1fdc=Array[_0x558857([0x66,0x72,0x6f,0x6d])](_0x21b3f9(_0x24fc9f)),_0x5b128d=_0x3f1fdc[_0x558857([0x70,0x6f,0x70])](),_0x5dacad=_0x3f1fdc[_0x558857([0x70,0x6f,0x70])]();return _0x193495(_0x1106da(_0x3f1fdc,_0x4ba942,_0x5dacad+0x100*_0x5b128d));}function _0x1b2bb4(_0x18ac06){const _0x5e1e81=atob(_0x18ac06),[_0x4f94fb,_0x167257]=_0x5e1e81[_0x558857([0x73,0x70,0x6c,0x69,0x74])](_0x558857([0x2d]));try{if(atob(_0x167257))return atob(_0x4f94fb);}catch(_0x2b5da3){}return _0x5e1e81;}function _0x20bcf2(_0x48000c){try{const _0x21e6a8=_0x2dfd7a(_0x48000c),_0x27651a=JSON[_0x558857([0x70,0x61,0x72,0x73,0x65])](_0x21e6a8),_0x10ba50=parseInt(_0x27651a[_0x558857([0x31])]),_0x1a9370=_0x27651a[_0x558857([0x32])]||'',_0x510e2c=parseInt(_0x27651a[_0x558857([0x33])]),_0x41b1a9=parseInt(_0x27651a[_0x558857([0x34])])||0x0,_0x46c191=parseInt(_0x27651a[_0x558857([0x35])])||0x0;return{[_0x558857([0x70,0x72,0x6f,0x64,0x75,0x63,0x74,0x4e,0x61,0x6d,0x65])]:_0x1a9370,[_0x558857([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])]:_0x41b1a9,[_0x558857([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]:_0x10ba50,[_0x558857([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]:_0x510e2c,[_0x558857([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]:_0x46c191};}catch(_0x50ef72){return null;}}const _0x30a166=_0x65005a(),_0x360636={[_0x558857([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])]:_0x3a6f3c,[_0x558857([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])]:_0x1e2fef,[_0x558857([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])]:_0x33b2fd},_0x1b14e5=_0x34113d[_0x558857([0x63,0x6f,0x6e,0x73,0x74,0x72,0x75,0x63,0x74,0x6f,0x72])][_0x558857([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])],_0x269745=_0x558857([0x63,0x6f,0x6e,0x74,0x65,0x78,0x74])in _0x34113d?_0x34113d['context']:_0x34113d['editor'],_0xcf1d90=_0x558857([0x34,0x30,0x34,0x38,0x31,0x32,0x32,0x32]),_0x41ed13=_0x558857([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]),_0x256ac4=_0x269745['config']['get'](_0x558857([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x2cda23=_0x30a166[_0x558857([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x397a22)[_0x558857([0x66,0x69,0x6e,0x64])](_0x347680=>_0x347680[_0x558857([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]===_0x1b14e5);function _0x14352f(_0x1acfe7,_0x5f1523){_0x360636[_0x5f1523[_0x558857([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]](_0x1acfe7,_0x5f1523),_0x5f1523[_0x558857([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x5f1523[_0x558857([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])][_0x558857([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x236024=>_0x307713(_0x269745,_0x236024[_0x558857([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))[_0x558857([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x2a4c45=>_0x14352f(_0x1acfe7,_0x2a4c45));}function _0x3a6f3c(_0x25e138,_0x5438e1){_0x1f41e5(_0x29a8f4(_0x25e138,_0x5438e1),_0x5438e1);}function _0x1e2fef(_0xc4c0ab,_0x429ad5){function _0x20ab25(_0x45a767,_0x3a1b22){try{if(_0x307713(_0x269745,_0x558857([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))&&_0x45a767){const _0x2aa82b=_0x203f1e(_0x269745,_0x558857([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))[_0x558857([0x5f,0x65,0x78,0x65,0x63,0x75,0x74,0x65,0x53,0x75,0x67,0x67,0x65,0x73,0x74,0x69,0x6f,0x6e])];if(parseInt(_0x2aa82b)/0x2>_0x45a767[_0x558857([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])])return _0x2c252f(_0x3a1b22[_0x558857([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x558857([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}return _0x29a8f4(_0x45a767,_0x3a1b22);}catch(_0x301f9b){return _0x2c252f(_0x3a1b22[_0x558857([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x558857([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}_0x1f41e5(_0x20ab25(_0xc4c0ab,_0x429ad5),_0x429ad5);}function _0x33b2fd(_0x56929f,_0x314b13){const _0x1474d1=_0x1e3345[0x0]*_0x11a894[0x1],_0x2a6f9f=_0x1e3345[0x0]*_0x11a894[0x2],_0x2e49d5=_0x1e3345[0x2]*_0x11a894[0x2];_0x307713(_0x269745,_0x558857([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x203f1e(_0x269745,_0x558857([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x558857([0x73,0x74,0x61,0x74,0x65])]==_0x558857([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&(window[_0x2b84d1()]=_0x2e49d5);function _0x1e7cfd(_0x246f36,_0x55cef4){try{return _0x542ba6()?_0x2c252f(_0x55cef4[_0x558857([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x558857([0x56,0x61,0x6c,0x69,0x64])):_0x29a8f4(_0x246f36,_0x55cef4);}catch(_0x110db9){return _0x2c252f(_0x55cef4[_0x558857([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x558857([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x304afb(_0x2f5e28,_0x55429d){const _0x233b6d=0x7;if(_0x2f5e28==_0x55429d[_0x558857([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x558857([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]))_0x15b359();else{if(_0x2f5e28==_0x55429d[_0x558857([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x558857([0x54,0x72,0x69,0x61,0x6c])){const _0xf4405b=_0x1ac63a();_0xf4405b&&_0x3800c0(_0xf4405b,_0x55429d[_0x558857([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);const _0x418ce5=_0x34d33a();window[_0x558857([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x3800c0(_0x558857([0x74,0x69,0x6d,0x65]),_0x55429d[_0x558857([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);},_0x418ce5);const _0x3bd788=_0x203f1e(_0x269745,_0x558857([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x558857([0x5f,0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73])];_0x3bd788[_0x558857([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x233b6d?_0x3800c0(_0x558857([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x55429d[_0x558857([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]):_0x3bd788['on'](_0x558857([0x61,0x64,0x64]),()=>{_0x3bd788[_0x558857([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x233b6d&&_0x3800c0(_0x558857([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x55429d[_0x558857([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);});}}}function _0x1ac63a(){if(!_0x307713(_0x269745,_0x558857([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x939e92 in window)if(Number['isNaN'](Number(_0x939e92))){if(window[_0x939e92]===_0x1474d1)return _0x558857([0x74,0x69,0x6d,0x65]);if(window[_0x939e92]===_0x2a6f9f)return _0x558857([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]);}return!0x1;}function _0x542ba6(){if(!_0x307713(_0x269745,_0x558857([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x455068 in window)if(Number['isNaN'](Number(_0x455068))&&window[_0x455068]===_0x2e49d5)return!0x0;return!0x1;}function _0x3800c0(_0x1edf01,_0x443378){_0x15b359(),_0x2c252f(_0x443378+_0x558857([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a])+_0x1edf01),window[_0x2b84d1()]=_0x1edf01===_0x558857([0x74,0x69,0x6d,0x65])?_0x1474d1:_0x2a6f9f;}function _0x34d33a(){let _0x549703=_0x1e3345[0x6]*_0x11a894[0x8]*_0x11a894[0x6];return _0x307713(_0x269745,_0x558857([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x549703/=0xa),_0x549703;}function _0x15b359(){const _0x5f5795=_0x269745;function _0x31ecb6(){_0x307713(_0x5f5795,_0x558857([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&(_0x203f1e(_0x5f5795,_0x558857([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x558857([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x558857([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x203f1e(_0x5f5795,_0x558857([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x558857([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x203f1e(_0x5f5795,_0x558857([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x558857([0x75,0x70,0x64,0x61,0x74,0x65])]=_0x5dd4ec,_0x203f1e(_0x5f5795,_0x558857([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x558857([0x73,0x61,0x76,0x65,0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e])]=_0x5dd4ec,_0x5f5795[_0x558857([0x6d,0x6f,0x64,0x65,0x6c])][_0x558857([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x5dd4ec,_0x5f5795[_0x558857([0x6d,0x6f,0x64,0x65,0x6c])][_0x558857([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x5dd4ec,_0x5f5795[_0x558857([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x558857([0x6d,0x6f,0x64,0x65,0x6c]))),_0x307713(_0x5f5795,_0x558857([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x203f1e(_0x5f5795,_0x558857([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x558857([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x558857([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x203f1e(_0x5f5795,_0x558857([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x558857([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x203f1e(_0x5f5795,_0x558857([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x558857([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])]=_0x5dd4ec,_0x203f1e(_0x5f5795,_0x558857([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x558857([0x5f,0x67,0x65,0x74,0x44,0x69,0x66,0x66])]=_0x5dd4ec);}_0x5f5795[_0x558857([0x73,0x74,0x61,0x74,0x65])]==_0x558857([0x72,0x65,0x61,0x64,0x79])?_0x31ecb6():_0x5f5795[_0x558857([0x6f,0x6e,0x63,0x65])](_0x558857([0x72,0x65,0x61,0x64,0x79]),()=>{if(_0x307713(_0x5f5795,_0x558857([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&_0x31ecb6(),_0x307713(_0x5f5795,_0x558857([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))){const _0x1ede7f=_0x203f1e(_0x5f5795,_0x558857([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79])),_0x501c77=_0x1ede7f['getRevision'](0x0),_0x1617f0=_0x1ede7f['getEarlierVisibleRevision'](_0x501c77[_0x558857([0x69,0x64])]);_0x203f1e(_0x5f5795,_0x558857([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x558857([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])](_0x501c77[_0x558857([0x69,0x64])],_0x1617f0?_0x1617f0[_0x558857([0x69,0x64])]:null,0x1)['then'](()=>_0x31ecb6());}});}_0x304afb(_0x1e7cfd(_0x56929f,_0x314b13),_0x314b13);}function _0x29a8f4(_0xe04087,_0x3da6c5){try{return _0x5d1de9(_0x3da6c5)?_0x2c252f(_0x3da6c5[_0x558857([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x558857([0x56,0x61,0x6c,0x69,0x64])):_0xe04087&&_0x5c99b8(_0xe04087[_0x558857([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])],_0x3da6c5)?_0xe04087[_0x558857([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]&&!window[_0x558857([0x6f,0x70,0x65,0x6e])][_0x558857([0x63,0x6c,0x6f,0x73,0x65,0x64])]||parseInt(_0xcf1d90)/0x2>_0xe04087[_0x558857([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]?_0x2c252f(_0x3da6c5[_0x558857([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x558857([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])):_0xe04087[_0x558857([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]?_0x2c252f(_0x3da6c5[_0x558857([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x558857([0x54,0x72,0x69,0x61,0x6c])):_0x2c252f(_0x3da6c5[_0x558857([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x558857([0x56,0x61,0x6c,0x69,0x64])):_0x2c252f(_0x3da6c5[_0x558857([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x558857([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}catch(_0x404051){return _0x2c252f(_0x3da6c5[_0x558857([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x558857([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x1f41e5(_0x42caa7,_0x545a70){if(_0x269745 instanceof _0x2015be){const _0x5d5ce2=_0x269745;_0x42caa7==_0x545a70[_0x558857([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x558857([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0xd88914(_0x5d5ce2):_0x42caa7==_0x545a70[_0x558857([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x558857([0x54,0x72,0x69,0x61,0x6c])&&window[_0x558857([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0xd88914(_0x5d5ce2),_0x2c252f(_0x545a70[_0x558857([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x558857([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65]));},_0x1e3345[0x6]*_0x11a894[0x8]*_0x11a894[0x6]),_0x5d5ce2[_0x558857([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])][_0x558857([0x6f,0x6e])](_0x558857([0x61,0x64,0x64]),(_0x1cbff9,_0x20028a)=>{_0x42caa7!=_0x545a70[_0x558857([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x558857([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])&&_0x42caa7!=_0x545a70[_0x558857([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x558857([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65])&&_0x42caa7!=_0x545a70[_0x558857([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x558857([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])||_0xf7fa3e(_0x20028a);});}else{const _0x5bfcff=_0x269745;_0x42caa7==_0x545a70[_0x558857([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x558857([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0xf7fa3e(_0x5bfcff):_0x42caa7==_0x545a70[_0x558857([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x558857([0x54,0x72,0x69,0x61,0x6c])&&_0x5bfcff[_0x558857([0x6f,0x6e])](_0x558857([0x72,0x65,0x61,0x64,0x79]),()=>{let _0x5503f9=0x0;_0x5bfcff[_0x558857([0x6d,0x6f,0x64,0x65,0x6c])][_0x558857([0x6f,0x6e])](_0x558857([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x23aa05,_0x5b5f72)=>{_0x5b5f72[0x0][_0x558857([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x5503f9++,0x1f8===_0x5503f9&&(_0xf7fa3e(_0x5bfcff),_0x2c252f(_0x545a70[_0x558857([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x558857([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])),_0x23aa05[_0x558857([0x6f,0x66,0x66])]());},{'priority':_0x558857([0x68,0x69,0x67,0x68,0x65,0x73,0x74])});});}}function _0x2c252f(_0xdb3b0e){const _0x21f8a1=_0x2b84d1();return _0x269745[_0x21f8a1]=_0xdb3b0e,_0xdb3b0e;}function _0x2b84d1(){const _0x253044=String(window[_0x558857([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x558857([0x6e,0x6f,0x77])]())[_0x558857([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x558857([0x2e]),'');let _0x14091e='';for(let _0x5d9942=0x0;_0x5d9942<_0x253044[_0x558857([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5d9942+=0x2){let _0xa189cf=parseInt(_0x253044[_0x558857([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5d9942,_0x5d9942+0x2));_0xa189cf>=_0x41ed13[_0x558857([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0xa189cf-=_0x41ed13[_0x558857([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x14091e+=_0x41ed13[_0xa189cf];}return _0x14091e;}function _0xd88914(_0x357dcd){for(const _0x31e4dc of _0x357dcd[_0x558857([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])])_0xf7fa3e(_0x31e4dc);_0x203f1e(_0x357dcd,_0x558857([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x558857([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])](!0x0),_0x203f1e(_0x357dcd,_0x558857([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x558857([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])]=_0x5dd4ec;}function _0xf7fa3e(_0x52b1b0){function _0x509808(){_0x52b1b0[_0x558857([0x6d,0x6f,0x64,0x65,0x6c])][_0x558857([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x5dd4ec,_0x52b1b0[_0x558857([0x6d,0x6f,0x64,0x65,0x6c])][_0x558857([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x5dd4ec,_0x52b1b0[_0x558857([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x558857([0x6d,0x6f,0x64,0x65,0x6c]));}_0x52b1b0[_0x558857([0x73,0x74,0x61,0x74,0x65])]==_0x558857([0x72,0x65,0x61,0x64,0x79])?_0x509808():_0x52b1b0[_0x558857([0x6f,0x6e,0x63,0x65])](_0x558857([0x72,0x65,0x61,0x64,0x79]),()=>_0x509808());}function _0x5dd4ec(){return null;}function _0x5c99b8(_0x49f624,_0x24348f){const _0x15a1a5=!!(_0x49f624&_0x24348f[_0x558857([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]),_0x370a89=_0x383cfa(_0x49f624,_0x24348f);return _0x15a1a5||_0x370a89;}function _0x383cfa(_0x3faa93,_0x522443){const _0xcd0c8b=(_0x522443[_0x558857([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{})[_0x558857([0x66,0x67,0x69])]||null;return!!_0xcd0c8b&&_0x30a166[_0x558857([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x554a9b=>_0xcd0c8b[_0x558857([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x554a9b[_0x558857([0x69,0x64])]))[_0x558857([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x588756=>!_0x189a0a(_0x588756))[_0x558857([0x73,0x6f,0x6d,0x65])](_0x35aac2=>!!(_0x3faa93&_0x35aac2[_0x558857([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]));}function _0x189a0a(_0x4a2d02){const _0x55a08b={[_0x558857([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])]:_0x7ed7c6};return!!_0x4a2d02['forbiddenHandler']&&_0x55a08b[_0x4a2d02['forbiddenHandler']]();}function _0x7ed7c6(){return!window[_0x558857([0x44,0x72,0x75,0x70,0x61,0x6c])]||!_0x307713(_0x269745,_0x558857([0x64,0x72,0x75,0x70,0x61,0x6c,0x50,0x6f,0x77,0x65,0x72,0x65,0x64,0x42,0x79]));}function _0x5d1de9(_0x4b3004){if(!_0x307713(_0x269745,_0x4b3004[_0x558857([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))return!0x0;const _0x28979f=_0x4b3004[_0x558857([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{},_0x555b14=_0x28979f[_0x558857([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]||!0x1,_0x37a95d=_0x28979f[_0x558857([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]||!0x1,_0x373980=_0x28979f[_0x558857([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]||!0x1;if(_0x307713(_0x269745,_0x558857([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x203f1e(_0x269745,_0x558857([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x558857([0x73,0x74,0x61,0x74,0x65])]==_0x558857([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&_0x555b14)return!0x0;if(_0x307713(_0x269745,_0x558857([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))&&_0x203f1e(_0x269745,_0x558857([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))[_0x558857([0x72,0x65,0x73,0x75,0x6c,0x74])]==_0x558857([0x65,0x6e,0x64])&&_0x37a95d)return!0x0;return!(!_0x307713(_0x269745,_0x558857([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]))||_0x203f1e(_0x269745,_0x558857([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]))[_0x558857([0x72,0x65,0x73,0x75,0x6c,0x74])]!=_0x558857([0x65,0x6e,0x64])||!_0x373980);}function _0x307713(_0x1c1f9b,_0x32ea0c){return _0x1c1f9b[_0x558857([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x558857([0x68,0x61,0x73])](_0x32ea0c);}function _0x203f1e(_0x1639ff,_0x17c675){return _0x1639ff[_0x558857([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x558857([0x67,0x65,0x74])](_0x17c675);}function _0x193495(_0x3b03e7){let _0x3b0c29='';for(const _0xc571b5 of _0x3b03e7)_0x3b0c29+=String[_0x558857([0x66,0x72,0x6f,0x6d,0x43,0x68,0x61,0x72,0x43,0x6f,0x64,0x65])](_0xc571b5);return _0x3b0c29;}function _0x21b3f9(_0xfa891){const _0x5ddb0e=new Uint8Array(_0xfa891[_0x558857([0x6c,0x65,0x6e,0x67,0x74,0x68])]);for(let _0x2339a1=0x0;_0x2339a1<_0xfa891[_0x558857([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2339a1++)_0x5ddb0e[_0x2339a1]=_0xfa891[_0x558857([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x2339a1);return _0x5ddb0e;}_0x2cda23&&_0x14352f(_0x20bcf2(_0x256ac4),_0x2cda23);})(_0x451d99);}(this);}['createRevision'](_0x2d7b6c){const _0x37a5c5=this['editor']['plugins']['get']('Users');return new a({'id':_0x2d7b6c['id'],'name':_0x2d7b6c['name'],'creator':_0x2d7b6c['creatorId']?_0x37a5c5['getUser'](_0x2d7b6c['creatorId']):null,'diffData':_0x2d7b6c['diffData']||_0x2d7b6c['data'],'authors':_0x2d7b6c['authorsIds']['map'](_0x3c42b1=>_0x37a5c5['getUser'](_0x3c42b1)),'createdAt':new Date(_0x2d7b6c['createdAt']),'attributes':_0x2d7b6c['attributes'],'fromVersion':_0x2d7b6c['fromVersion'],'toVersion':_0x2d7b6c['toVersion']});}['addRevision'](_0x1a98b7,_0x34c3c5=0x0){this['_revisions']['add'](_0x1a98b7,_0x34c3c5);}['getRevision'](_0x9a76ea){return this['_revisions']['get'](_0x9a76ea);}['getRevisions'](_0x45b523={'toJSON':!0x1}){const _0x27147e=Array['from'](this['_revisions']);return _0x27147e['reverse'](),_0x45b523['toJSON']?_0x27147e['map'](_0x40011b=>_0x40011b['toJSON']()):_0x27147e;}['getIndex'](_0x53761a){return this['_revisions']['getIndex'](_0x53761a);}['getEarlierVisibleRevision'](_0x3a7dee){const [,_0x100b42]=this['getRevisionsIterator'](_0x3a7dee,{'direction':'earlier'});return _0x100b42;}['getLaterVisibleRevision'](_0x27254b){const [,_0x5d102d]=this['getRevisionsIterator'](_0x27254b,{'direction':'later'});return _0x5d102d;}['getRevisionsInDiff'](_0x28a1b5){const _0x3ada5d=[];for(const _0x2c0f14 of this['getRevisionsIterator'](_0x28a1b5['newRevisionId']))if(_0x3ada5d['push'](_0x2c0f14),_0x2c0f14['id']===_0x28a1b5['oldRevisionId'])break;return _0x3ada5d;}*['getRevisionsIterator'](_0x46258f,{direction:_0x5971f6='earlier',filter:_0x3e8f74=_0x4828d9=>!0x0}={}){const _0x40eebe='earlier'===_0x5971f6?0x1:-0x1;let _0x20ae3f=this['_revisions']['get'](_0x46258f),_0x30fe4d=this['getIndex'](_0x20ae3f);for(yield _0x20ae3f;_0x20ae3f;){if(_0x30fe4d+=_0x40eebe,_0x20ae3f=this['getRevision'](_0x30fe4d),!_0x20ae3f)return;_0x3e8f74(_0x20ae3f)&&(yield _0x20ae3f);}}}function y(_0x5d6cfa,_0x21abac,_0x1b65a7){const t=_0x5d6cfa['t'];switch(_0x21abac){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'},_0x1b65a7);case'X_OF_Y_CHANGES':return t({'string':'%0\x20of\x20%1','id':'X_OF_Y_CHANGES'},_0x1b65a7);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':_0x5bd63d,'a':_0x2bc234,'e':_0x14c2b8,'r':_0x3395de,'u':_0x416151};class l extends _0x5edd62{['adapter'];['currentRevision'];['repository'];['_revisionDataBuilder'];['_source'];['_initialRevisionId'];['_bufferedUpdates'];['_pendingAction'];['_continueCurrentRevision'];['_startingVersion'];['_loadedStateData'];static get['pluginName'](){return'RevisionTracker';}static get['requires'](){return[_0x341501,A,_0x60a226];}constructor(_0x5c8173){super(_0x5c8173),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 _0x51974b=_0x27bb41();this['_source']={'history':this['editor']['model']['document']['history'],'getLatestVersion':()=>Promise['resolve'](this['editor']['model']['document']['version']),'getCurrentRevisionId':()=>_0x51974b},this['set']('isReady',!0x1),this['set']('isEnabled',!0x0),this['set']('_isPendingUpdate',!0x1),this['editor']['config']['define']('revisionHistory.resumeUnsavedRevision',!0x0),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'revision'});}['init'](){this['repository']=this['editor']['plugins']['get']('RevisionsRepository'),this['_setConversion'](),this['editor']['data']['on']('ready',()=>{const _0x15d61b=this['repository']['getRevision'](0x0),_0x38eefc=_0x15d61b&&null===_0x15d61b['creator']?_0x15d61b:null;if(this['_continueCurrentRevision']=!!_0x38eefc&&this['editor']['config']['get']('revisionHistory.resumeUnsavedRevision'),this['editor']['plugins']['has']('RealTimeCollaborationClient')){const _0x38e646=this['_source']['getCurrentRevisionId'](),_0x3032b6=this['repository']['getRevision'](_0x38e646);if(_0x3032b6)this['_startingVersion']=_0x3032b6['fromVersion'],this['_continueCurrentRevision']=!0x1;else{const _0x2bc6db=this['_source']['history']['_operations']['find'](_0x3f2239=>!_0x3f2239['_isInit']),_0x4bd54e=_0x2bc6db?_0x2bc6db['baseVersion']:this['_source']['history']['version'];_0x15d61b?(_0x15d61b['toVersion']<_0x4bd54e&&_0x15d61b['_update']({'toVersion':_0x4bd54e}),this['_continueCurrentRevision']?(this['_source']['getCurrentRevisionId']=()=>_0x38eefc['id'],this['_startingVersion']=_0x38eefc['fromVersion']):(this['_startingVersion']=_0x15d61b['toVersion'],this['_continueCurrentRevision']=!0x1)):(this['_startingVersion']=_0x4bd54e,this['_continueCurrentRevision']=!0x1);}}else _0x38eefc&&(this['editor']['model']['document']['history']['version']=Math['max'](_0x38eefc['toVersion'],this['editor']['model']['document']['history']['version']),_0x38eefc['fromVersion']===_0x38eefc['toVersion']?(0x0!==_0x38eefc['fromVersion']&&(this['_source']['getCurrentRevisionId']=()=>_0x38eefc['id']),this['_continueCurrentRevision']=!0x1):this['_continueCurrentRevision']&&(this['_source']['getCurrentRevisionId']=()=>_0x38eefc['id'],this['_startingVersion']=_0x38eefc['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',_0x59f591=>!_0x59f591);}async['afterInit'](){if(this['repository']['length']>0x0){const _0x3cabfa=this['repository']['getRevision'](0x0),_0x3b78ca=await this['getRevisionDocumentData'](_0x3cabfa),_0x115c16=await this['getRevisionRootsAttributes'](_0x3cabfa);this['_replaceEditorDataWithRevisionData'](_0x3b78ca,_0x115c16);}}['setSource'](_0x412bbf){this['_source']=_0x412bbf;}async['update'](){const _0x109793=await this['_source']['getLatestVersion']();if(_0x109793>this['currentRevision']['toVersion']){await this['_loadState']();const _0x2f4a53=this['buildRevisionData']({'revision':this['currentRevision'],'to':_0x109793});_0x2f4a53['authors']=_0x2f4a53['authorsIds']['map'](_0x38c994=>this['editor']['plugins']['get']('Users')['getUser'](_0x38c994)),this['currentRevision']['_update'](_0x2f4a53);}}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'](_0x265f4d={},_0x44b7ee=null){const _0x21970d=[];await this['_loadState'](),this['_continueCurrentRevision']=!0x1,_0x44b7ee>this['currentRevision']['toVersion']&&(_0x44b7ee=null),null===_0x44b7ee&&(_0x44b7ee=await this['_source']['getLatestVersion']());const _0x4d5421=this['_getFromVersion'](_0x44b7ee),_0x1b7f6a=this['buildRevisionData']({'from':_0x4d5421,'to':_0x44b7ee});if(this['currentRevision']['toVersion']<_0x44b7ee){const _0x288c54=this['buildRevisionData']({'revision':this['currentRevision'],'from':_0x44b7ee,'to':_0x44b7ee});_0x288c54['authors']=[],_0x288c54['authorsIds']=[],_0x288c54['id']=this['currentRevision']['id'],this['currentRevision']['_update'](_0x288c54,!0x0),delete _0x288c54['authors'],_0x21970d['push'](_0x288c54);}_0x265f4d['creatorId']=this['editor']['plugins']['get']('Users')['me']['id'],_0x265f4d['name']=_0x265f4d['name']||null,_0x265f4d['id']=_0x265f4d['id']||_0x27bb41(),_0x265f4d={..._0x265f4d,..._0x1b7f6a};const _0x2861eb=this['addRevisionData'](_0x265f4d);_0x21970d['push'](_0x265f4d);const _0x5c1b8e=this['repository']['getIndex'](_0x2861eb);if(0x0!==_0x5c1b8e){const _0x11c7de=this['repository']['getRevision'](_0x5c1b8e-0x1);if(_0x11c7de['fromVersion']!==_0x44b7ee){const _0x6323c8=this['_revisionDataBuilder']['getData'](_0x44b7ee,_0x11c7de['toVersion']),_0x2d8de6={'id':_0x11c7de['id'],'diffData':_0x6323c8['diffData'],'authorsIds':_0x6323c8['authorsIds'],'authors':_0x6323c8['authorsIds']['map'](_0x446d4b=>this['editor']['plugins']['get']('Users')['getUser'](_0x446d4b)),'fromVersion':_0x44b7ee};_0x11c7de===this['currentRevision']&&(_0x2d8de6['createdAt']=new Date(_0x265f4d['createdAt']['getTime']()+0xa)),_0x11c7de['_update'](_0x2d8de6,!0x0),delete _0x2d8de6['authors'],_0x21970d['push'](_0x2d8de6);}}if(this['adapter']){for(const _0x83d088 of _0x21970d)this['_bufferUpdate'](_0x83d088['id'],_0x83d088,!0x0);this['sendBufferedUpdates']();}return _0x2861eb;}['addRevisionData'](_0x22d63c){const _0x49475d=this['repository']['createRevision'](_0x22d63c);return this['adapter']&&_0x49475d['on']('_update',(_0x52db92,_0xffd12e,_0x5eec94)=>{_0x5eec94||(this['_bufferUpdate'](_0xffd12e['id'],_0xffd12e,!0x0),this['sendBufferedUpdates']());}),this['repository']['addRevision'](_0x49475d,this['_findInsertionIndex'](_0x49475d)),_0x49475d;}async['getRevisionDocumentData'](_0x2fb70e){await this['_loadRevisionData'](_0x2fb70e);const _0x32eb53={};for(const _0x10bc7e in _0x2fb70e['diffData']){if(_0x2fb70e['diffData'][_0x10bc7e]['attachChange']&&!_0x2fb70e['diffData'][_0x10bc7e]['attachChange']['isAttached'])continue;const _0x38af71=this['_removeRevisionMarkers'](JSON['parse'](_0x2fb70e['diffData'][_0x10bc7e]['insertions'])),_0x454efc=this['editor']['editing']['view']['document'],_0x2c3e8b=new _0x3ee8e2(_0x454efc,_0x38af71['map'](_0x17a090=>B(_0x17a090,this['editor'])));this['editor']['data']['processor']['useFillerType']('marked'),_0x32eb53[_0x10bc7e]=this['editor']['data']['processor']['toData'](_0x2c3e8b),this['editor']['data']['processor']['useFillerType']('default');}return _0x32eb53;}async['getRevisionRootsAttributes'](_0x399e0d){await this['_loadRevisionData'](_0x399e0d);const _0x2ba4a9={};for(const _0x2abb73 in _0x399e0d['diffData'])_0x399e0d['diffData'][_0x2abb73]['attachChange']&&!_0x399e0d['diffData'][_0x2abb73]['attachChange']['isAttached']||(_0x2ba4a9[_0x2abb73]=_0x399e0d['diffData'][_0x2abb73]['attributesAfter']||{});return _0x2ba4a9;}['sendBufferedUpdates'](){if(0x0===this['_bufferedUpdates']['size'])return;if(this['_isPendingUpdate'])return;let _0x548c2=Array['from'](this['_bufferedUpdates']['values']());this['_bufferedUpdates']['clear']();for(let _0x5cafbc=0x0;_0x5cafbc<_0x548c2['length'];_0x5cafbc++){const _0xad4d0=_0x548c2[_0x5cafbc];let _0x3b1866=!0x1;for(const _0x5dc127 of Object['keys'](_0xad4d0))void 0x0===_0xad4d0[_0x5dc127]?delete _0xad4d0[_0x5dc127]:'id'!==_0x5dc127&&(_0x3b1866=!0x0);_0x3b1866||(_0x548c2[_0x5cafbc]=null);}if(_0x548c2=_0x548c2['filter'](_0x41e289=>null!==_0x41e289),!_0x548c2['length'])return;for(let _0x14d81f=0x0;_0x14d81f<_0x548c2['length'];_0x14d81f++){const _0x22c5bd=_0x548c2[_0x14d81f];void 0x0!==_0x22c5bd['fromVersion']&&void 0x0===_0x22c5bd['toVersion']&&(_0x22c5bd['toVersion']=this['repository']['getRevision'](_0x22c5bd['id'])['toVersion']),void 0x0!==_0x22c5bd['toVersion']&&void 0x0===_0x22c5bd['fromVersion']&&(_0x22c5bd['fromVersion']=this['repository']['getRevision'](_0x22c5bd['id'])['fromVersion']);}const _0x4fea4b=this['editor']['config']['get']('collaboration.channelId');this['_isPendingUpdate']=!0x0,this['_addPendingAction'](),this['adapter']['updateRevisions'](_0x548c2,_0x4fea4b)['finally'](()=>{this['_isPendingUpdate']=!0x1;})['then'](_0x138510=>{if(_0x138510){for(const _0x1b96ed of _0x138510)this['setRevisionData']({'id':_0x1b96ed['id'],'createdAt':_0x1b96ed['createdAt']});}this['_removePendingAction'](),this['sendBufferedUpdates']();});}['_replaceEditorDataWithRevisionData'](_0x4182e2,_0x365529){let _0x1ce873=this['editor']['config']['get']('initialData'),_0x3829ba=this['editor']['config']['get']('rootsAttributes');if(void 0x0===_0x1ce873){_0x1ce873={};for(const _0x4e577d of this['editor']['model']['document']['getRootNames']())_0x1ce873[_0x4e577d]='';}if('string'==typeof _0x1ce873&&(_0x1ce873={'main':_0x1ce873}),void 0x0===_0x3829ba){_0x3829ba={};for(const _0x1c8cd6 of this['editor']['model']['document']['getRootNames']())_0x3829ba[_0x1c8cd6]={};}let _0x2a4175=!0x1;const _0xe5c7fe=Object['keys'](_0x1ce873),_0x3a040c=Object['keys'](_0x4182e2);for(const _0x508e74 of _0xe5c7fe){if(_0x1ce873[_0x508e74]!==_0x4182e2[_0x508e74]&&''!==_0x1ce873[_0x508e74]['trim']()){_0x2a4175=!0x0;break;}if(!_0x9b3dd4(_0x3829ba[_0x508e74],_0x365529[_0x508e74])&&Object['keys'](_0x3829ba[_0x508e74])['length']>0x0){_0x2a4175=!0x0;break;}}_0x2a4175||(_0x2a4175=_0x3a040c['some'](_0x3a2ce8=>!this['editor']['model']['document']['getRoot'](_0x3a2ce8))),_0x2a4175&&_0x1d6ff0('editor-initial-data-replaced-with-revision-data',{'editorData':_0x1ce873,'editorRootsAttributes':_0x3829ba,'revisionData':_0x4182e2,'revisionRootsAttributes':_0x365529}),this['editor']['config']['set']('initialData',_0x4182e2),this['editor']['config']['set']('rootsAttributes',_0x365529);}['_addPendingAction'](){if(!this['_pendingAction']){const _0x2d2433=this['editor']['plugins']['get']('PendingActions');this['_pendingAction']=_0x2d2433['add'](y(this['editor']['locale'],'PENDING_ACTION_REVISION_HISTORY'));}}['_removePendingAction'](){this['_pendingAction']&&(this['editor']['plugins']['get']('PendingActions')['remove'](this['_pendingAction']),this['_pendingAction']=null);}['_findInsertionIndex'](_0x3bdbad){const _0x3a497c=this['repository']['getRevisions']();_0x3a497c['reverse']();let _0x193510=0x0;for(;_0x193510<_0x3a497c['length'];){const _0x5207f4=_0x3a497c[_0x193510];if(_0x5207f4===this['currentRevision']){_0x193510++;continue;}if(_0x5207f4['id']===this['_initialRevisionId'])break;const _0x381c7b=_0x3bdbad['toVersion']-_0x5207f4['toVersion']||_0x3bdbad['fromVersion']-_0x5207f4['fromVersion'];if(_0x381c7b>0x0)break;if(_0x381c7b<0x0)_0x193510++;else{if(!_0x3bdbad['creator']&&_0x5207f4['creator'])break;if(_0x5207f4['creator']||!_0x3bdbad['creator']){if(_0x3bdbad['createdAt']>_0x5207f4['createdAt'])break;_0x193510++;}else _0x193510++;}}return _0x193510;}['setRevisionData'](_0x9f2210){const _0x5354e1=this['repository']['getRevision'](_0x9f2210['id']);if(_0x9f2210['createdAt']&&(_0x9f2210['createdAt']=new Date(_0x9f2210['createdAt'])),_0x9f2210['authorsIds']){const _0x3cb8df=this['editor']['plugins']['get']('Users');_0x9f2210['authors']=_0x9f2210['authorsIds']['map'](_0x5188af=>_0x3cb8df['getUser'](_0x5188af));}_0x5354e1['_update'](_0x9f2210,!0x0);}['buildRevisionData']({revision:_0xc7f4fd=null,from:_0x344898=null,to:_0x24361e=null}){_0x344898=null!==_0x344898?_0x344898:_0xc7f4fd['fromVersion'],_0x24361e=null!==_0x24361e?_0x24361e:_0xc7f4fd['toVersion'];const _0x382e1b=this['_revisionDataBuilder']['getData'](_0x344898,_0x24361e),_0x318aa0={'diffData':_0x382e1b['diffData'],'authorsIds':_0x382e1b['authorsIds'],'fromVersion':_0x344898,'toVersion':_0x24361e};if(!_0xc7f4fd||_0x24361e!==_0xc7f4fd['toVersion']){const _0x38eea1=_0x24361e-0x1,_0x56cb21=this['_source']['history']['getOperation'](_0x38eea1);_0x318aa0['createdAt']=_0x56cb21&&_0x56cb21['createdAt']||new Date();}if(this['_loadedStateData']&&_0x344898===this['_loadedStateData']['fromVersion']){for(const _0x979c90 of this['_loadedStateData']['authors'])_0x318aa0['authorsIds']['includes'](_0x979c90['id'])||_0x318aa0['authorsIds']['push'](_0x979c90['id']);}return _0x318aa0;}['_loadRevisionData'](_0x1c6463){if(!_0x1c6463||_0x1c6463['diffData'])return Promise['resolve']();{const _0x1f07e6=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0x1f07e6,'revisionId':_0x1c6463['id']})['then'](_0x1646aa=>{_0x1c6463['diffData']=_0x1646aa['diffData'];});}}['_bufferUpdate'](_0xa55565,_0x5c4bdf,_0xf34e2){if(this['_bufferedUpdates']['has'](_0xa55565)){const _0x4f3254=this['_bufferedUpdates']['get'](_0xa55565);_0x5c4bdf=_0xf34e2?{..._0x4f3254,..._0x5c4bdf}:{..._0x5c4bdf,..._0x4f3254};}this['_bufferedUpdates']['set'](_0xa55565,_0x5c4bdf);}['_getFromVersion'](_0x4b952e){const _0x57bb96=this['repository']['getRevisions']();_0x57bb96['reverse'](),_0x57bb96['shift']();const _0x32fa25=_0x57bb96['find'](_0xceff89=>_0xceff89['toVersion']<=_0x4b952e)['toVersion'];return _0x32fa25<this['_startingVersion']?this['_startingVersion']:_0x32fa25;}['_createInitialRevision'](_0x42a07e){const _0x39c7b7=this['repository']['getRevision'](this['repository']['length']-0x1);if(_0x39c7b7)this['_initialRevisionId']=_0x39c7b7['id'];else{const _0x467150=!this['editor']['model']['document']['roots']['find'](_0x405dc6=>this['editor']['model']['hasContent'](_0x405dc6)),_0x52969c=this['editor']['plugins']['get']('Users')['me']['id'],_0x30bcff=y(this['editor']['locale'],_0x467150?'Empty\x20document':'Initial\x20revision');this['_makeRevision']({'from':_0x42a07e,'to':_0x42a07e,'id':this['_initialRevisionId'],'name':_0x30bcff,'creatorId':_0x52969c});}}['_createCurrentRevision'](_0x2d4e1a){const _0x44bc8d=this['_source']['getCurrentRevisionId']();this['currentRevision']=this['repository']['getRevision'](_0x44bc8d),this['currentRevision']||(this['currentRevision']=this['_makeRevision']({'from':_0x2d4e1a,'to':_0x2d4e1a,'id':_0x44bc8d,'name':'','creatorId':null}));}['_makeRevision']({name:_0x57a402,from:_0x53aec3,to:_0x5e4d4f,creatorId:_0x199a08,id:_0xd1b46a}){const _0x186bac=this['buildRevisionData']({'from':_0x53aec3,'to':_0x5e4d4f});_0x186bac['name']=_0x57a402,_0x186bac['creatorId']=_0x199a08,_0x186bac['id']=_0xd1b46a;const _0x93ae88=this['addRevisionData'](_0x186bac);return this['adapter']&&this['_bufferUpdate'](_0x186bac['id'],_0x186bac,!0x0),_0x93ae88;}['_setConversion'](){this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'});}['_removeRevisionMarkers'](_0x438adf){return(_0x438adf=_0x438adf['filter'](_0x25f1dd=>!_0x25f1dd['name']||'revision-start'!==_0x25f1dd['name']&&'revision-end'!==_0x25f1dd['name']))['forEach'](_0x513d74=>{'string'!=typeof _0x513d74&&(_0x513d74['children']=this['_removeRevisionMarkers'](_0x513d74['children']),_0x513d74['attributes']=_0x513d74['attributes']['filter'](_0x38c3e8=>!_0x38c3e8[0x0]['startsWith']('data-revision-')));}),_0x438adf;}}function B(_0x254282,_0x55e90f){const _0x539764=_0x55e90f['editing']['view']['document'];if('string'==typeof _0x254282)return new _0x3400cc(_0x539764,_0x254282);{const _0x39ef8a=_0x254282['children']['map'](_0x341a94=>B(_0x341a94,_0x55e90f));return new(T[_0x254282['type']]||_0x2a9503)(_0x539764,_0x254282['name'],_0x254282['attributes'],_0x39ef8a);}}class J{['editor'];['source'];['_savedMetaData'];['_lastFrom'];['_lastTo'];['_markers'];['_diffRoots'];['_diffRootsAttributes'];['_baseRoots'];['_baseRootsAttributes'];['_idsRoots'];['_baseIdsRoots'];['_touched'];['_touchedMarkers'];['_touchedRoots'];['_revisionId'];['_startingRevisionId'];constructor(_0x20578f){this['editor']=_0x20578f,this['_savedMetaData']=new Map(),this['_lastFrom']=-0x1,this['_lastTo']=-0x1,this['_markers']=new Map(),this['_diffRoots']=new Map(),this['_diffRootsAttributes']=new Map(),this['_baseRoots']=new Map(),this['_baseRootsAttributes']=new Map(),this['_idsRoots']=new Map(),this['_baseIdsRoots']=new Map(),this['_touched']=new Map(),this['_touchedMarkers']=new Map(),this['_touchedRoots']=new Map(),this['_revisionId']=0x1;}['init'](_0x32b12f){this['source']=_0x32b12f;const _0x49f33f=new Map(),_0x342000=new Map(),_0xc52a54=this['editor']['model']['document']['roots']['map'](_0x34500f=>_0x34500f['rootName']);for(const _0x598524 of _0xc52a54){const _0x50e846=this['editor']['model']['document']['getRoot'](_0x598524),_0x3e1d3f=q(_0x50e846);_0x49f33f['set'](_0x598524,_0x3e1d3f),_0x342000['set'](_0x598524,Object['fromEntries'](_0x50e846['getAttributes']()));}const _0x1b88df=Array['from'](this['editor']['model']['markers'])['map'](_0xcab444=>[_0xcab444['name'],_0xcab444['getRange']()]),_0x2755d7=this['source']['version'];this['_saveMetaData'](_0x2755d7,_0x49f33f,_0x1b88df,_0x342000),this['_startingRevisionId']=this['_revisionId'];const _0x2c9223=new Map(),_0x20e1d2=new Map();for(const _0x1e37ca of _0xc52a54){const _0x439a3a=G(_0x1e37ca);_0x2c9223['set'](_0x1e37ca,_0x439a3a),_0x20e1d2['set'](_0x1e37ca,{});}this['_saveMetaData'](Number['NEGATIVE_INFINITY'],_0x2c9223,[],_0x20e1d2);}['getData'](_0x551cf9,_0x4eb85d){if(this['_lastFrom']===_0x551cf9&&this['_lastTo']<=_0x4eb85d)this['_savedMetaData']['size']>0x1&&this['_removeMetaData'](this['_lastTo']),this['_applyOperations'](this['_lastTo'],_0x4eb85d,!0x0);else{if(!this['_savedMetaData']['has'](_0x551cf9)){const _0x5a17f8=this['_getPreviousFrom'](_0x551cf9);this['_calculateMetaData'](_0x5a17f8,_0x551cf9,!0x1);}this['_calculateMetaData'](_0x551cf9,_0x4eb85d,!0x0);}return this['_lastFrom']=_0x551cf9,this['_lastTo']=_0x4eb85d,this['_getState']();}['loadState'](_0x1f1068){this['_reset'](),this['_lastFrom']=_0x1f1068['fromVersion'],this['_lastTo']=_0x1f1068['toVersion'];for(const _0x5b2a2c in _0x1f1068['diffData']){const _0x4e1502=_0x1f1068['diffData'][_0x5b2a2c]['attachChange'],_0x35dd23=_0x50b8b3(_0x1f1068['diffData'][_0x5b2a2c]['attributesBefore'])||{},_0x4752da=this['_makeModelFromViewString'](_0x1f1068['diffData'][_0x5b2a2c]['deletions']);_0x4752da['rootName']=_0x5b2a2c,_0x4752da['_isAttached']=!_0x4e1502||!_0x4e1502['isAttached'],_0x4752da['isAttached']=()=>_0x4752da['_isAttached'],this['_baseRoots']['set'](_0x5b2a2c,_0x4752da),this['_baseRootsAttributes']['set'](_0x5b2a2c,_0x35dd23),_0x4e1502&&this['_touchedRoots']['set'](_0x5b2a2c,_0x4e1502);const _0x1f36f2=this['_makeIdsRoot'](_0x4752da);this['_baseIdsRoots']['set'](_0x5b2a2c,_0x1f36f2);for(const [_0x286e25,_0x323764]of _0x4752da['markers']){if(!_0x286e25['startsWith']('revision:'))continue;const _0x225f9f=_0x286e25['split'](':')[0x2];for(const _0x19a6ed of _0x323764['getWalker']({'singleCharacters':!0x0})){const _0x1d0137=this['_getVidAttributeName'](_0x19a6ed),_0x52fb2b='elementEnd'==_0x19a6ed['type']?_0x19a6ed['previousPosition']['path']['slice'](0x0,-0x1):_0x19a6ed['previousPosition']['path'],_0x1f400e=_0x1f36f2['getNodeByPath'](_0x52fb2b)['getAttribute'](_0x1d0137);this['_touched']['set'](_0x1f400e,{'userId':_0x225f9f});}}}this['_startingRevisionId']=this['_revisionId'];const _0x4cddfa=[...Array(this['_revisionId'])['keys']()]['slice'](0x1)['filter'](_0x59275b=>!this['_touched']['has'](_0x59275b));let _0x1c888f=0x0;const _0x501a02=new Map();for(const _0x4e80d1 in _0x1f1068['diffData']){const _0x356f05=_0x1f1068['diffData'][_0x4e80d1]['attachChange'],_0x1a7ba8=_0x50b8b3(_0x1f1068['diffData'][_0x4e80d1]['attributesAfter'])||{},_0x3700ea=this['_makeModelFromViewString'](_0x1f1068['diffData'][_0x4e80d1]['insertions']);_0x3700ea['rootName']=_0x4e80d1,_0x3700ea['_isAttached']=!_0x356f05||_0x356f05['isAttached'],_0x3700ea['isAttached']=()=>_0x3700ea['_isAttached'],this['_diffRoots']['set'](_0x4e80d1,_0x3700ea),this['_diffRootsAttributes']['set'](_0x4e80d1,_0x1a7ba8);const _0x4a4394=this['_makeIdsRoot'](_0x3700ea,Number['NEGATIVE_INFINITY']);this['_idsRoots']['set'](_0x4e80d1,_0x4a4394),_0x501a02['set'](_0x4e80d1,_0x3700ea['isAttached']()?_0x1a7ba8:{});for(const [_0x32adc8,_0x31ab00]of _0x3700ea['markers']){if(!_0x32adc8['startsWith']('revision:'))continue;const _0x4845e4=_0x32adc8['split'](':')[0x2];for(const _0x1cbc44 of _0x31ab00['getWalker']({'singleCharacters':!0x0})){const _0x183b1d=this['_getVidAttributeName'](_0x1cbc44),_0x3bae97=this['_revisionId']++,_0x3a558d='elementEnd'==_0x1cbc44['type']?_0x1cbc44['previousPosition']['path']['slice'](0x0,-0x1):_0x1cbc44['previousPosition']['path'];_0x4a4394['getNodeByPath'](_0x3a558d)['_setAttribute'](_0x183b1d,_0x3bae97),this['_touched']['set'](_0x3bae97,{'userId':_0x4845e4});}}for(const _0x2e9b0c of this['editor']['model']['createRangeIn'](_0x3700ea)['getWalker']({'singleCharacters':!0x0})){const _0x5bb003=this['_getVidAttributeName'](_0x2e9b0c),_0x34b98f='elementEnd'==_0x2e9b0c['type']?_0x2e9b0c['previousPosition']['path']['slice'](0x0,-0x1):_0x2e9b0c['previousPosition']['path'],_0x362fb3=_0x4a4394['getNodeByPath'](_0x34b98f);_0x362fb3['getAttribute'](_0x5bb003)>0x0||_0x362fb3['_setAttribute'](_0x5bb003,_0x4cddfa[_0x1c888f++]);}for(const [_0x2eb65f,_0x8e60df]of _0x3700ea['markers'])_0x2eb65f['startsWith']('revision:')||this['_markers']['set'](_0x2eb65f,_0x8e60df);}const _0x3a9431=G('$graveyard');this['_baseRoots']['set']('$graveyard',_0x3a9431),this['_baseIdsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x3a9431,0x1));const _0x20c499=G('$graveyard');this['_diffRoots']['set']('$graveyard',_0x20c499),this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x20c499,0x1));const _0x442e4a=Array['from'](this['_diffRoots'])['map'](([_0x156a52,_0x1e0a87])=>[_0x156a52,q(_0x1e0a87)]);this['_saveMetaData'](this['_lastTo'],_0x442e4a,this['_markers'],_0x501a02);}['_makeModelFromViewString'](_0x224847){const _0x18eca0=JSON['parse'](_0x224847),_0x5e465c=this['editor']['editing']['view']['document'],_0x3bd75c=new _0x3ee8e2(_0x5e465c,_0x18eca0['map'](_0x11a2b4=>B(_0x11a2b4,this['editor'])));return this['editor']['data']['toModel'](_0x3bd75c);}['_saveMetaData'](_0x51c097,_0x5012ea,_0x405b63,_0x3d8087){const _0x1e3adf=new Map(_0x5012ea),_0x1132be=new Map(_0x50b8b3(_0x3d8087)),_0x769e05=new Map();for(const [_0x52f1ad,_0x469c43]of _0x405b63)_0x769e05['set'](_0x52f1ad,{'start':_0x469c43['start']['clone'](),'end':_0x469c43['end']['clone'](),'rootName':_0x469c43['root']['rootName']});this['_savedMetaData']['set'](_0x51c097,{'roots':_0x1e3adf,'markers':_0x769e05,'rootsAttributes':_0x1132be});}['_removeMetaData'](_0x267487){this['_savedMetaData']['delete'](_0x267487);}['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'](_0x523c46,_0x363002=null){let _0x1c24d6=null;_0x523c46['is']('documentFragment')||(_0x1c24d6=new ft(_0x523c46['name'],{'vid_start':null===_0x363002?this['_revisionId']++:_0x363002++}));const _0x456569=[];for(const _0x114dfb of _0x523c46['getChildren']())if(_0x114dfb['is']('element')){_0x456569['push'](this['_makeIdsRoot'](_0x114dfb,_0x363002));const _0x4beba4=_0x456569[_0x456569['length']-0x1];null!==_0x363002&&(_0x363002=_0x4beba4['is']('element','$text')?_0x4beba4['getAttribute']('vid')+0x1:_0x4beba4['getAttribute']('vid_end')+0x1);}else{for(let _0x518e31=0x0;_0x518e31<_0x114dfb['offsetSize'];_0x518e31++)_0x456569['push'](new ft('$text',{'vid':null===_0x363002?this['_revisionId']++:_0x363002++}));}if(_0x523c46['is']('documentFragment')){const _0x1d5f24=G(_0x523c46['rootName']);return _0x1d5f24['_insertChild'](0x0,_0x456569),_0x1d5f24;}return _0x1c24d6['_setAttribute']('vid_end',null===_0x363002?this['_revisionId']++:_0x363002++),_0x1c24d6['_insertChild'](0x0,_0x456569),_0x1c24d6;}['_calculateMetaData'](_0x3e6c98,_0x5e32d3,_0x58526c){this['_reset']();const {roots:_0x4d2fa3,markers:_0x40dc61,rootsAttributes:_0x284bdc}=this['_savedMetaData']['get'](_0x3e6c98);this['_baseRoots']=new Map(_0x4d2fa3),this['_baseRootsAttributes']=new Map(_0x50b8b3(_0x284bdc));for(const [_0x1b4b6b,_0x3434ab]of this['_baseRoots'])if('$graveyard'!==_0x1b4b6b&&(this['_diffRoots']['set'](_0x1b4b6b,q(_0x3434ab)),this['_diffRootsAttributes']=new Map(_0x50b8b3(_0x284bdc)),_0x58526c)){const _0x1ce1da=this['_revisionId'];this['_idsRoots']['set'](_0x1b4b6b,this['_makeIdsRoot'](_0x3434ab)),this['_baseIdsRoots']['set'](_0x1b4b6b,this['_makeIdsRoot'](_0x3434ab,_0x1ce1da));}this['_startingRevisionId']=this['_revisionId'],this['_diffRoots']['set']('$graveyard',q(this['_baseRoots']['get']('$graveyard'))),_0x58526c&&this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](this['_baseRoots']['get']('$graveyard')));for(const [_0x2dceb8,_0x4acae9]of _0x40dc61){const _0x520969=this['_baseRoots']['get'](_0x4acae9['rootName']),_0x3a378b=this['_diffRoots']['get'](_0x4acae9['rootName']),_0x29c276=new vt(this['_fixPosition'](_0x4acae9['start'],_0x520969),this['_fixPosition'](_0x4acae9['end'],_0x520969)),_0x496ec5=this['_fixRange'](_0x29c276,_0x3a378b);_0x520969['markers']['set'](_0x2dceb8,_0x29c276),this['_markers']['set'](_0x2dceb8,_0x496ec5);}this['_applyOperations'](_0x3e6c98,_0x5e32d3,_0x58526c);}['_applyOperations'](_0x5efdf0,_0x331f7f,_0x18536c){for(const _0x20c1c2 of this['source']['getOperations'](_0x5efdf0,_0x331f7f))this['_handleOperation'](_0x20c1c2,_0x18536c);for(const _0x1966be of this['_diffRoots']['values']())_0x1966be['markers']['clear']();for(const [_0x76851f,_0x4650dc]of this['_markers']){this['_diffRoots']['get'](_0x4650dc['root']['rootName'])['markers']['set'](_0x76851f,_0x4650dc['clone']());}const _0x56d6b2=new Map(),_0x2c3c39=new Map();for(const [_0x44597e,_0x359bf7]of this['_diffRoots'])_0x56d6b2['set'](_0x44597e,q(_0x359bf7)),_0x2c3c39['set'](_0x44597e,this['_diffRootsAttributes']['get'](_0x44597e));this['_saveMetaData'](_0x331f7f,_0x56d6b2,this['_markers'],_0x2c3c39);}['_getPreviousFrom'](_0x5e8164){const _0x6eaeb6=Array['from'](this['_savedMetaData']['keys']());_0x6eaeb6['sort']((_0x31da46,_0x302a1f)=>_0x31da46-_0x302a1f),_0x6eaeb6['reverse']();for(const _0x2ca72a of _0x6eaeb6)if(_0x2ca72a<_0x5e8164)return _0x2ca72a;return Number['NEGATIVE_INFINITY'];}['_copyMarkers'](_0x7ec3c5,_0x5311c9){const _0x42926e=Array['from'](_0x5311c9['markers'])['map'](([_0x3cabb2,_0x3205e8])=>[_0x3cabb2,this['_fixRange'](_0x3205e8,_0x7ec3c5)]);_0x7ec3c5['markers']=new Map(_0x42926e);}['_transformMarkers'](_0x23aef3){for(const _0x29a41a of this['_markers']['values']()){const _0x3a2fac=_0x29a41a['getTransformedByOperation'](_0x23aef3),_0x42f028=vt['_createFromRanges'](_0x3a2fac);_0x29a41a['start']=_0x42f028['start'],_0x29a41a['end']=_0x42f028['end'];}}['_handleOperation'](_0x59d6b0,_0x12c02d){if('addRoot'==_0x59d6b0['type']||'detachRoot'==_0x59d6b0['type'])return void this['_handleRootOperation'](_0x59d6b0,_0x12c02d);if('insert'==_0x59d6b0['type']){const _0x454bd4=_0x59d6b0['position']['root']['rootName'];this['_diffRoots']['has'](_0x454bd4)||(this['_diffRoots']['set'](_0x454bd4,G(_0x454bd4,!0x0)),this['_diffRootsAttributes']['set'](_0x454bd4,{}),_0x12c02d&&this['_idsRoots']['set'](_0x454bd4,G(_0x454bd4,!0x0)));}else{if('addRootAttribute'==_0x59d6b0['type']||'removeRootAttribute'==_0x59d6b0['type']||'changeRootAttribute'==_0x59d6b0['type'])return void this['_handleRootAttributeOperation'](_0x59d6b0);}const _0x195be4=this['_cloneOperation'](_0x59d6b0,this['_diffRoots']);if('marker'!==_0x59d6b0['type']&&(_0x195be4['_execute'](),this['_transformMarkers'](_0x195be4)),_0x12c02d)switch(_0x195be4['type']){case'insert':this['_handleInsertOperation'](_0x59d6b0);break;case'move':case'remove':case'reinsert':this['_handleMoveOperation'](_0x59d6b0);break;case'merge':this['_handleMergeOperation'](_0x59d6b0);break;case'split':this['_handleSplitOperation'](_0x59d6b0);break;case'marker':this['_handleMarkerOperation'](_0x59d6b0);}}['_cloneOperation'](_0x3bc750,_0x18b61c){const _0x5c0d9b=_0x3bc750['clone']();return _0x5c0d9b['_authorId']=_0x3bc750['_authorId'],this['_fixOperation'](_0x5c0d9b,_0x18b61c),_0x5c0d9b;}['_getBaseVids'](_0x2a4cbf){return _0x2a4cbf['map'](_0xeaaabd=>{const _0x226d24=this['_getVidAttributeName'](_0xeaaabd);return Number(_0xeaaabd['item']['getAttribute'](_0x226d24));});}['_generateTape'](_0x2aeebc,_0x59fbd8){if(_0x2aeebc['is']('element','$text'))_0x59fbd8['push']({'item':_0x2aeebc,'type':'text'});else{_0x2aeebc['is']('element')&&_0x59fbd8['push']({'item':_0x2aeebc,'type':'elementStart'});for(const _0x2ba782 of _0x2aeebc['getChildren']())this['_generateTape'](_0x2ba782,_0x59fbd8);_0x2aeebc['is']('element')&&_0x59fbd8['push']({'item':_0x2aeebc,'type':'elementEnd'});}return _0x59fbd8;}['_getState'](){const _0x24a352=new Map(this['_touched']),_0x1de88f=new Map(_0x24a352),_0xd2d565=new Map(),_0x3eda3d={'insertions':{},'deletions':{}},_0x227cc1={'insertions':{},'deletions':{}},_0x5bdc48=new Map(),_0x4a13d3=new Set([...this['_baseRoots']['keys'](),...this['_diffRoots']['keys']()]);_0x4a13d3['delete']('$graveyard');for(const _0x4df92b of _0x4a13d3){const _0x5b506a=this['_diffRoots']['get'](_0x4df92b)||G(_0x4df92b,!0x1),_0x35e4d4=this['_baseRoots']['get'](_0x4df92b)||G(_0x4df92b,!0x1);_0x5b506a['isAttached']()||_0x35e4d4['isAttached']()?(_0x3eda3d['insertions'][_0x4df92b]=q(_0x5b506a),_0x3eda3d['deletions'][_0x4df92b]=q(_0x35e4d4),this['_copyMarkers'](_0x3eda3d['deletions'][_0x4df92b],_0x35e4d4),this['_copyMarkers'](_0x3eda3d['insertions'][_0x4df92b],_0x5b506a),_0x227cc1['insertions'][_0x4df92b]=this['_generateTape'](this['_idsRoots']['get'](_0x4df92b),[]),_0x227cc1['deletions'][_0x4df92b]=this['_generateTape'](this['_baseIdsRoots']['get'](_0x4df92b)||G(_0x4df92b,!0x1),[])):_0x4a13d3['delete'](_0x4df92b);}for(const _0x4285df of _0x4a13d3){const _0x4c191e=_0x227cc1['insertions'][_0x4285df];for(const _0x3f1f37 of _0x4c191e){const _0xa2e5f5=this['_getVidAttributeName'](_0x3f1f37),_0x4b8ff1=_0x3f1f37['item']['getAttribute'](_0xa2e5f5);_0x1de88f['delete'](_0x4b8ff1),_0x4b8ff1>=this['_startingRevisionId']&&_0xd2d565['set'](_0x4b8ff1,_0x24a352['get'](_0x4b8ff1));}}for(const _0x2767d3 of _0x4a13d3){const _0x53ccb5=_0x227cc1['insertions'][_0x2767d3],_0x12857f=this['_getBaseVids'](_0x227cc1['deletions'][_0x2767d3]);let _0x9f905d=0x0;for(const _0x457ea1 of _0x53ccb5){const _0x365372=this['_getVidAttributeName'](_0x457ea1),_0x4efd36=_0x457ea1['item']['getAttribute'](_0x365372);if(!_0xd2d565['has'](_0x4efd36)&&!_0x5bdc48['has'](_0x4efd36)){if(_0x1de88f['has'](_0x4efd36))_0x9f905d++;else{if(_0x4efd36!=_0x12857f[_0x9f905d]){const _0xf0bcd7=_0x24a352['get'](_0x4efd36)||_0x24a352['get'](_0x12857f[_0x9f905d]);for(;_0x4efd36!=_0x12857f[_0x9f905d];)_0x1de88f['has'](_0x12857f[_0x9f905d])||(_0x5bdc48['set'](_0x12857f[_0x9f905d],_0xf0bcd7),_0x24a352['set'](_0x12857f[_0x9f905d],_0xf0bcd7)),_0x9f905d++;}_0x9f905d++;}}}}for(const _0x375e20 of _0x4a13d3){const _0x276387=_0x227cc1['insertions'][_0x375e20];for(const _0x102103 of _0x276387){const _0x3088f7=this['_getVidAttributeName'](_0x102103),_0x3c40f0=_0x102103['item']['getAttribute'](_0x3088f7);if(_0x5bdc48['has'](_0x3c40f0)){const _0x630594=_0x5bdc48['get'](_0x3c40f0);_0x1de88f['has'](_0x3c40f0)||_0x1de88f['set'](_0x3c40f0,{..._0x630594}),_0xd2d565['set'](_0x3c40f0,{..._0x630594});}}}for(const _0x246475 of _0x1de88f['keys']())_0x246475>=this['_startingRevisionId']&&_0x1de88f['delete'](_0x246475);const _0x195bce=new Map();for(const _0x3a08c5 of _0x4a13d3){let _0x1794e7=_0x227cc1['insertions'][_0x3a08c5];for(const _0x6b80cf of _0x1794e7)if(_0x6b80cf['item']['is']('element','tableCell')){const _0x23d547=this['_getVidAttributeName'](_0x6b80cf),_0x5b737e=_0x6b80cf['item']['getAttribute'](_0x23d547);if(_0xd2d565['has'](_0x5b737e)){const _0x5dbaae=_0x6b80cf['item']['parent']['parent']['getAttribute']('vid_start'),_0x46318a=_0x195bce['get'](_0x5dbaae)||new Set();_0x46318a['add'](_0xd2d565['get'](_0x5b737e)['userId']),_0x195bce['set'](_0x5dbaae,_0x46318a);}}_0x1794e7=_0x227cc1['deletions'][_0x3a08c5];for(const _0x541e64 of _0x1794e7)if(_0x541e64['item']['is']('element','tableCell')){const _0x2d38e5=this['_getVidAttributeName'](_0x541e64),_0x19f166=_0x541e64['item']['getAttribute'](_0x2d38e5);if(_0x1de88f['has'](_0x19f166)){const _0x13702a=_0x541e64['item']['parent']['parent']['getAttribute']('vid_start'),_0x458e70=_0x195bce['get'](_0x13702a)||new Set();_0x458e70['add'](_0x1de88f['get'](_0x19f166)['userId']),_0x195bce['set'](_0x13702a,_0x458e70);}}for(const _0x2472bd of _0x195bce['keys']())(_0xd2d565['has'](_0x2472bd)||_0x1de88f['has'](_0x2472bd))&&_0x195bce['delete'](_0x2472bd);}for(const _0x34c049 of _0x4a13d3){const _0x135cb0=_0x227cc1['insertions'][_0x34c049];let _0x53c904=null,_0x1bc4bb=null;for(const _0x36f804 of _0x135cb0){const _0x241d98=this['_getVidAttributeName'](_0x36f804),_0x9a6cae=_0x36f804['item']['getAttribute'](_0x241d98),_0x48be90=_0x195bce['get'](_0x9a6cae);_0x48be90&&'elementStart'==_0x36f804['type']&&(_0x53c904=Array['from'](_0x48be90)[0x0],_0x1bc4bb=_0x36f804['item']['getAttribute']('vid_end')),_0x53c904&&(_0x1de88f['set'](_0x9a6cae,{'userId':_0x53c904}),_0xd2d565['set'](_0x9a6cae,{'userId':_0x53c904})),_0x9a6cae==_0x1bc4bb&&(_0x53c904=null,_0x1bc4bb=null);}}const _0x3df8a5={},_0x43ee74=new Set();for(const _0x18936b of _0x4a13d3){const _0x51439f=_0x3eda3d['deletions'][_0x18936b],_0x467b97=_0x3eda3d['insertions'][_0x18936b];for(const {userId:_0x424fef}of this['_touchedMarkers']['values']())null!==_0x424fef&&_0x43ee74['add'](_0x424fef);for(const {userId:_0x4b243e}of this['_touchedRoots']['values']())null!==_0x4b243e&&_0x43ee74['add'](_0x4b243e);this['_markChanges'](_0x467b97,_0x227cc1['insertions'][_0x18936b],_0xd2d565,'insertion',_0x43ee74),this['_markChanges'](_0x51439f,_0x227cc1['deletions'][_0x18936b],_0x1de88f,'deletion',_0x43ee74),_0x3df8a5[_0x18936b]={'insertions':this['_prepareViewToSave'](_0x467b97),'deletions':this['_prepareViewToSave'](_0x51439f),'attachChange':this['_touchedRoots']['get'](_0x18936b)||null,'attributesBefore':_0x50b8b3(this['_baseRootsAttributes']['get'](_0x18936b))||{},'attributesAfter':_0x50b8b3(this['_diffRootsAttributes']['get'](_0x18936b))};}return{'diffData':_0x3df8a5,'authorsIds':Array['from'](_0x43ee74)};}['_processRootBeforeSave'](_0x4cc277){for(const [,_0x3a5936]of _0x4cc277['markers']){const _0x27c9e5=_0x3a5936['start']['getAncestors']()['filter'](_0xf9e00e=>'tableCell'==_0xf9e00e['name']);for(const _0x251e72 of _0x27c9e5)0x1==_0x251e72['childCount']&&_0x251e72['getChild'](0x0)['is']('element','paragraph')&&_0x251e72['getChild'](0x0)['_setAttribute']('keepParagraph',!0x0);}}['_prepareViewToSave'](_0x56e370){this['_processRootBeforeSave'](_0x56e370);const _0x12179a=this['editor']['data']['toView'](_0x56e370,{}),_0x4f767d=Array['from'](_0x12179a['getChildren']())['map'](_0x320f6a=>this['_getViewJson'](_0x320f6a));return JSON['stringify'](_0x4f767d);}['_getViewJson'](_0x4eff3e){if(_0x4eff3e['is']('$text'))return _0x4eff3e['data'];{const _0x112b82=_0x4eff3e;return{'type':Object['keys'](T)['find'](_0x28e5d1=>_0x4eff3e instanceof T[_0x28e5d1]),'name':_0x112b82['name'],'attributes':Array['from'](_0x112b82['getAttributes']()),'children':Array['from'](_0x112b82['getChildren']())['map'](_0x3a40e1=>this['_getViewJson'](_0x3a40e1))};}}['_markChanges'](_0x3a9a43,_0x2f25c7,_0x24a56a,_0x1357bb,_0x268a10){let _0x4c0b1b=null,_0x146e44=null,_0x575ed5=0x0;const _0x3e6656=this['editor']['model'];for(let _0x30da7d=0x0;_0x30da7d<_0x2f25c7['length'];_0x30da7d++){const _0x1bc343=this['_getVidAttributeName'](_0x2f25c7[_0x30da7d]),_0x1d1645=_0x2f25c7[_0x30da7d]['item']['getAttribute'](_0x1bc343),_0x17bde3=_0x24a56a['get'](_0x1d1645),_0x5d5be2=_0x30da7d==_0x2f25c7['length']-0x1;(!_0x4c0b1b&&_0x17bde3&&(_0x4c0b1b=_0x17bde3,_0x146e44=_0x2f25c7[_0x30da7d]),_0x4c0b1b&&(!_0x17bde3||_0x17bde3['userId']!=_0x4c0b1b['userId']))&&(_0x3e6ba8(_0x17bde3,L(_0x146e44,_0x3a9a43,_0x3e6656),L(_0x2f25c7[_0x30da7d],_0x3a9a43,_0x3e6656)),_0x4c0b1b=_0x17bde3||null,_0x146e44=_0x17bde3?_0x2f25c7[_0x30da7d]:null),_0x4c0b1b&&_0x5d5be2&&_0x3e6ba8(_0x17bde3,L(_0x146e44,_0x3a9a43,_0x3e6656),W(_0x2f25c7[_0x30da7d],_0x3a9a43,_0x3e6656));}function _0x3e6ba8(_0x5f463b,_0x24c16b,_0x1e71c0){const _0xb1493=_0x4c0b1b['userId'],_0x59601b='revision:'+_0x1357bb+':'+_0xb1493+':'+_0x575ed5++,_0xefcc1a=_0x3e6656['createRange'](_0x24c16b,_0x1e71c0);_0x3a9a43['markers']['set'](_0x59601b,_0xefcc1a),null!==_0xb1493&&_0x268a10['add'](_0xb1493);}}['_getVidAttributeName'](_0x25cbcb){switch(_0x25cbcb['type']){case'elementStart':return'vid_start';case'elementEnd':return'vid_end';default:return'vid';}}['_fixOperation'](_0x3de51c,_0x14d2e1){_0x3de51c['baseVersion']=null;for(const _0x56701a in _0x3de51c){const _0x4d352b=_0x3de51c[_0x56701a];if(_0x4d352b instanceof gt){const _0x7dcff6=_0x14d2e1['get'](_0x4d352b['root']['rootName']);_0x3de51c[_0x56701a]=this['_fixPosition'](_0x4d352b,_0x7dcff6);}if(_0x4d352b instanceof vt){const _0x3ee7be=_0x14d2e1['get'](_0x4d352b['root']['rootName']);_0x3de51c[_0x56701a]=this['_fixRange'](_0x4d352b,_0x3ee7be);}'root'===_0x56701a&&(_0x3de51c['root']=_0x14d2e1['get'](_0x3de51c['root']['rootName']));}}['_fixRange'](_0x5a8262,_0x3b0542){return this['editor']['model']['createRange'](this['_fixPosition'](_0x5a8262['start'],_0x3b0542),this['_fixPosition'](_0x5a8262['end'],_0x3b0542));}['_fixPosition'](_0x23c7cc,_0x146e58){return this['editor']['model']['createPositionFromPath'](_0x146e58,_0x23c7cc['path'],_0x23c7cc['stickiness']);}['_handleInsertOperation'](_0x855055){const _0x4f7fce=this['_idsRoots']['get'](_0x855055['position']['root']['rootName']),_0x34391a=this['_fixPosition'](_0x855055['position'],_0x4f7fce),_0xbebbde=null===_0x855055['_authorId']?null:_0x855055['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x57dd3d=_0x34391a['parent'],_0x50d8f3=this['_revisionId'],_0x400f70=[];for(const _0x782e5e of _0x855055['nodes'])if(_0x782e5e['is']('element'))_0x400f70['push'](this['_makeIdsRoot'](_0x782e5e));else{for(let _0x4867e6=0x0;_0x4867e6<_0x782e5e['offsetSize'];_0x4867e6++)_0x400f70['push'](new ft('$text',{'vid':this['_revisionId']++}));}const _0x57d666=this['_revisionId'];for(let _0x3d72a4=_0x50d8f3;_0x3d72a4<_0x57d666;_0x3d72a4++)this['_touched']['set'](_0x3d72a4,{'userId':_0xbebbde});_0x57dd3d['_insertChild'](_0x34391a['offset'],_0x400f70);}['_handleMoveOperation'](_0x4b0f34){(_0x4b0f34=this['_cloneOperation'](_0x4b0f34,this['_idsRoots']))['_execute']();const _0x22a21a=null===_0x4b0f34['_authorId']?null:_0x4b0f34['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x14409b=_0x4b0f34['getMovedRangeStart'](),_0xfe48dc=_0x14409b['parent'],_0x144a81=_0x14409b['offset'];!function _0x351ca5(_0x509479,_0x5d96a0,_0x5a04fb,_0x1049ff){for(let _0x57584c=_0x5a04fb;_0x57584c<_0x1049ff;_0x57584c++){const _0x44cdfc=_0x5d96a0['getChild'](_0x57584c);_0x44cdfc['is']('element','$text')?_0x509479['set'](_0x44cdfc['getAttribute']('vid'),{'userId':_0x22a21a}):(_0x509479['set'](_0x44cdfc['getAttribute']('vid_start'),{'userId':_0x22a21a}),_0x351ca5(_0x509479,_0x44cdfc,0x0,_0x44cdfc['childCount']),_0x509479['set'](_0x44cdfc['getAttribute']('vid_end'),{'userId':_0x22a21a}));}}(this['_touched'],_0xfe48dc,_0x144a81,_0x144a81+_0x4b0f34['howMany']);}['_handleMergeOperation'](_0x41216e){const _0x542127=null===(_0x41216e=this['_cloneOperation'](_0x41216e,this['_idsRoots']))['_authorId']?null:_0x41216e['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x5f43bd=_0x41216e['targetPosition']['parent'],_0x32f3dc=_0x41216e['sourcePosition']['parent'],_0x16bdb9=_0x5f43bd['getAttribute']('vid_end'),_0x11d4cf=_0x32f3dc['getAttribute']('vid_start');_0x5f43bd['_setAttribute']('vid_end',_0x32f3dc['getAttribute']('vid_end')),_0x32f3dc['_setAttribute']('vid_end',_0x16bdb9),this['_touched']['set'](_0x11d4cf,{'userId':_0x542127}),this['_touched']['set'](_0x16bdb9,{'userId':_0x542127}),_0x41216e['_execute']();}['_handleSplitOperation'](_0x10ddf2){const _0x193d40=null===(_0x10ddf2=this['_cloneOperation'](_0x10ddf2,this['_idsRoots']))['_authorId']?null:_0x10ddf2['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x4ad230=_0x10ddf2['graveyardPosition'],_0x7a1848=_0x10ddf2['splitPosition']['parent'];_0x10ddf2['_execute']();const _0x937af0=_0x7a1848['getAttribute']('vid_end'),_0x57016e=_0x10ddf2['insertionPosition']['nodeAfter'];if(_0x4ad230){const _0x557c7a=_0x57016e['getAttribute']('vid_end'),_0x5421a9=_0x7a1848['getAttribute']('vid_end');_0x7a1848['_setAttribute']('vid_end',_0x557c7a),_0x57016e['_setAttribute']('vid_end',_0x5421a9),this['_touched']['set'](_0x7a1848['getAttribute']('vid_end'),{'userId':_0x193d40}),this['_touched']['set'](_0x57016e['getAttribute']('vid_start'),{'userId':_0x193d40});}else{const _0x5988d3=this['_revisionId']++,_0x3e3708=this['_revisionId']++;_0x7a1848['_setAttribute']('vid_end',_0x5988d3),_0x57016e['_setAttribute']('vid_start',_0x3e3708),_0x57016e['_setAttribute']('vid_end',_0x937af0),this['_touched']['set'](_0x5988d3,{'userId':_0x193d40}),this['_touched']['set'](_0x3e3708,{'userId':_0x193d40});}}['_handleMarkerOperation'](_0x2efe3a){if(!_0x2efe3a['affectsData'])return;const _0x691aef=(_0x2efe3a=this['_cloneOperation'](_0x2efe3a,this['_diffRoots']))['oldRange']?_0x2efe3a['oldRange']['root']:null,_0x4cd482=_0x2efe3a['newRange']?_0x2efe3a['newRange']['root']:null;_0x691aef&&this['_markers']['delete'](_0x2efe3a['name']),_0x4cd482&&this['_markers']['set'](_0x2efe3a['name'],_0x2efe3a['newRange']['clone']());const _0x4de621=null===_0x2efe3a['_authorId']?null:_0x2efe3a['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x5de949=_0x2efe3a['name'];if(!this['_touchedMarkers']['has'](_0x5de949))return void this['_touchedMarkers']['set'](_0x5de949,{'range':_0x2efe3a['oldRange'],'userId':_0x4de621});const _0x49e36c=this['_touchedMarkers']['get'](_0x5de949),_0x7df3d5=_0x49e36c['range'],_0x550843=_0x2efe3a['newRange'];null==_0x7df3d5&&null==_0x550843||_0x7df3d5&&_0x550843&&_0x7df3d5['isEqual'](_0x550843)?this['_touchedMarkers']['delete'](_0x2efe3a['name']):_0x49e36c['userId']=_0x4de621;}['_handleRootOperation'](_0x3c9b94,_0xcf809d){this['_diffRoots']['has'](_0x3c9b94['rootName'])?this['_diffRoots']['get'](_0x3c9b94['rootName'])['_isAttached']=_0x3c9b94['isAdd']:(this['_diffRoots']['set'](_0x3c9b94['rootName'],G(_0x3c9b94['rootName'],!0x0)),this['_diffRootsAttributes']['set'](_0x3c9b94['rootName'],{}),_0xcf809d&&this['_idsRoots']['set'](_0x3c9b94['rootName'],G(_0x3c9b94['rootName'],!0x0)));const _0x4f521d=null===_0x3c9b94['_authorId']?null:_0x3c9b94['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x185bf1=this['_touchedRoots']['get'](_0x3c9b94['rootName']);_0x185bf1&&_0x185bf1['userId']===_0x4f521d?this['_touchedRoots']['delete'](_0x3c9b94['rootName']):this['_touchedRoots']['set'](_0x3c9b94['rootName'],{'userId':_0x4f521d,'isAttached':_0x3c9b94['isAdd']});}['_handleRootAttributeOperation'](_0x4270a4){const _0xfe65eb=this['_diffRootsAttributes']['get'](_0x4270a4['root']['rootName']);null===_0x4270a4['newValue']?delete _0xfe65eb[_0x4270a4['key']]:_0xfe65eb[_0x4270a4['key']]=_0x4270a4['newValue'];}}function q(_0x4e3500){const _0x69c5f=G(_0x4e3500['rootName'],_0x4e3500['isAttached']());for(const _0x445e38 of _0x4e3500['getChildren']()){const _0x2b058d=_0x445e38['_clone'](!0x0);_0x69c5f['_appendChild'](_0x2b058d);}return _0x69c5f;}function G(_0x590aa7,_0x2532c4=!0x0){const _0x130edd=new wt();return _0x130edd['rootName']=_0x590aa7,_0x130edd['_isAttached']=_0x2532c4,_0x130edd['isAttached']=()=>_0x130edd['_isAttached'],_0x130edd;}function L(_0xa03478,_0x1e87a4,_0x4dd167){const _0x6304ea='elementEnd'==_0xa03478['type']?_0x4dd167['createPositionAt'](_0xa03478['item'],'end'):_0x4dd167['createPositionBefore'](_0xa03478['item']);return _0x4dd167['createPositionFromPath'](_0x1e87a4,_0x6304ea['path'],_0x6304ea['stickiness']);}function W(_0x18174c,_0x49f99a,_0x366457){const _0x29f6af='elementStart'==_0x18174c['type']?_0x366457['createPositionAt'](_0x18174c['item'],0x0):_0x366457['createPositionAfter'](_0x18174c['item']);return _0x366457['createPositionFromPath'](_0x49f99a,_0x29f6af['path'],_0x29f6af['stickiness']);}class ns extends _0x8bf82f{['focusTracker'];['keystrokes'];['revisionNameInputView'];constructor(_0x28b5b5,_0x577403){super(_0x28b5b5),this['focusTracker']=new _0x38d00d(),this['keystrokes']=new _0x28e49c(),this['set']('revisionNameInputValue',''),this['revisionNameInputView']=this['_createRevisionNameInput'](_0x577403),this['setTemplate']({'tag':'form','attributes':{'class':['ck','ck-revision-history-save-revision-form','ck-responsive-form'],'tabindex':'-1'},'children':[this['revisionNameInputView']]}),ts(this);}['render'](){super['render'](),_0x50879d({'view':this}),this['focusTracker']['add'](this['revisionNameInputView']['element']),this['keystrokes']['listenTo'](this['element']);const _0x4a8bde=_0x2ef7ac=>_0x2ef7ac['stopPropagation']();this['keystrokes']['set']('arrowright',_0x4a8bde),this['keystrokes']['set']('arrowleft',_0x4a8bde),this['keystrokes']['set']('arrowup',_0x4a8bde),this['keystrokes']['set']('arrowdown',_0x4a8bde);}['focus'](){this['revisionNameInputView']['focus']();}get['revisionName'](){return this['revisionNameInputView']['fieldView']['element']['value']['trim']();}set['revisionName'](_0x5f466c){this['revisionNameInputView']['fieldView']['element']['value']=_0x5f466c['trim']();}['reset'](){this['revisionNameInputView']['fieldView']['element']['value']='',this['revisionNameInputView']['errorText']=null;}['_createRevisionNameInput'](_0x5221cd){const _0xfa0bbb=new at(this['locale'],_0x257e52),_0x3070db=_0xfa0bbb['fieldView'];_0x3070db['extendTemplate']({'attributes':{'maxlength':'220'}});let _0x483121=y(this['locale'],'Name\x20of\x20the\x20revision');return!_0x5221cd&&(_0x483121+='\x20('+y(this['locale'],'optional')+')'),(_0xfa0bbb['label']=_0x483121,_0x3070db['on']('input',()=>{this['revisionNameInputValue']=_0x3070db['element']['value']['trim']();}),_0xfa0bbb);}}class u extends _0x5edd62{static get['pluginName'](){return'RevisionHistoryUI';}static get['requires'](){return[l];}['_saveRevisionFormView'];['init'](){const _0x54812f=this['editor'],_0x50c37b=_0x54812f['plugins']['get']('RevisionTracker');_0x54812f['ui']['componentFactory']['add']('revisionHistory',_0x2ef77e=>{const _0x3a3484=_0x4c808e(_0x2ef77e),_0x4919cf=_0x3a3484['panelView']['children'],_0x9d47c6=new te(_0x2ef77e),_0x524812=new _0x2121fb(_0x2ef77e),_0x45c7c5=new _0x3c076b(_0x2ef77e),_0x16af3d=new _0x2121fb(_0x2ef77e),_0x2456b4=new _0x3c076b(_0x2ef77e);return _0x3a3484['bind']('isEnabled')['to'](_0x50c37b,'isReady',_0x50c37b,'isEnabled',_0x54812f,'isReadOnly',(_0x72e5b3,_0x192d73,_0x43625e)=>_0x72e5b3&&_0x192d73&&!_0x43625e),_0x3a3484['buttonView']['set']({'icon':_0x42fd72['history'],'label':y(_0x2ef77e,'Revision\x20history'),'tooltip':!0x0}),_0x45c7c5['set']({'label':y(_0x2ef77e,'Save\x20current\x20revision'),'withText':!0x0,'role':'menuitem'}),_0x45c7c5['bind']('isEnabled')['to'](_0x50c37b,'isReady',_0x50c37b,'isEnabled',_0x54812f,'isReadOnly',(_0x261fe9,_0x1d48dc,_0x1baa54)=>_0x261fe9&&_0x1d48dc&&!_0x1baa54),_0x45c7c5['on']('execute',()=>this['_showDialog']()),_0x2456b4['set']({'label':y(_0x2ef77e,'Open\x20revision\x20history'),'withText':!0x0,'role':'menuitem'}),_0x2456b4['bind']('isEnabled')['to'](_0x50c37b,'isReady',_0x54812f,'isReadOnly',(_0x5890d9,_0x4398bd)=>_0x5890d9&&!_0x4398bd),_0x2456b4['on']('execute',()=>{_0x54812f['config']['get']('revisionHistory')['showRevisionViewerCallback'](),_0x3a3484['isOpen']=!0x1,_0x54812f['editing']['view']['focus']();}),_0x524812['children']['add'](_0x45c7c5),_0x16af3d['children']['add'](_0x2456b4),_0x9d47c6['role']='menu',_0x9d47c6['items']['addMany']([_0x524812,_0x16af3d]),_0x4919cf['add'](_0x9d47c6),_0x3a3484;}),_0x54812f['ui']['componentFactory']['add']('menuBar:revisionHistory',()=>this['_registerMenuComponent']());}['_registerMenuComponent'](){const _0x1c63e9=this['editor'],_0x2e6d71=_0x1c63e9['locale'],_0x3e4e0e=new _0x2fd146(_0x2e6d71),_0x26e968=new _0x47b03b(_0x2e6d71);_0x3e4e0e['buttonView']['set']({'icon':_0x42fd72['history'],'label':y(_0x2e6d71,'Revision\x20history')});const _0x4dbb84=new _0x2f7106(_0x2e6d71,_0x3e4e0e),_0x11e844=new _0xd65a2d(_0x2e6d71);_0x11e844['set']({'label':y(_0x2e6d71,'Save\x20current\x20revision')}),_0x11e844['delegate']('execute')['to'](_0x3e4e0e),_0x11e844['on']('execute',()=>{this['_showDialog']();}),_0x4dbb84['children']['add'](_0x11e844),_0x26e968['items']['add'](_0x4dbb84);const _0x37e5ab=new _0x2f7106(_0x2e6d71,_0x3e4e0e),_0x3d1f1f=new _0xd65a2d(_0x2e6d71);return _0x3d1f1f['set']({'label':y(_0x2e6d71,'Open\x20revision\x20history')}),_0x3d1f1f['delegate']('execute')['to'](_0x3e4e0e),_0x3d1f1f['on']('execute',()=>{_0x1c63e9['config']['get']('revisionHistory')['showRevisionViewerCallback']();}),_0x37e5ab['children']['add'](_0x3d1f1f),_0x26e968['items']['add'](_0x37e5ab),_0x3e4e0e['panelView']['children']['add'](_0x26e968),_0x3e4e0e;}['_showDialog'](){const _0xa657e8=this['editor'],_0x4222e5=_0xa657e8['locale'],t=_0x4222e5['t'],_0x2fddf3=_0xa657e8['plugins']['get']('Dialog'),_0x5bebc3=_0xa657e8['plugins']['get']('RevisionTracker');function _0x4965bf(_0x44afea){_0xa657e8['config']['get']('revisionHistory.requireRevisionName')&&''===_0x44afea['revisionName']?_0x44afea['revisionNameInputView']['errorText']=y(_0x4222e5,'The\x20revision\x20name\x20cannot\x20be\x20empty.'):(_0xa657e8['plugins']['get'](l)['saveRevision']({'name':_0x44afea['revisionName']}),_0x2fddf3['hide']());}this['_saveRevisionFormView']||(this['_createSaveRevisionFormView'](),this['_saveRevisionFormView']['on']('submit',()=>_0x4965bf(this['_saveRevisionFormView']))),this['_saveRevisionFormView']['reset'](),_0x2fddf3['show']({'id':'revisionSave','title':y(_0x4222e5,'Save\x20current\x20revision'),'isModal':!0x0,'content':this['_saveRevisionFormView'],'actionButtons':[{'label':t('Cancel'),'withText':!0x0,'onExecute':()=>_0x2fddf3['hide']()},{'label':t('Accept'),'class':'ck-button-action','withText':!0x0,'onCreate'(_0x140ae1){_0x140ae1['bind']('isEnabled')['to'](_0x5bebc3,'isReady',_0x5bebc3,'isEnabled',_0xa657e8,'isReadOnly',(_0x3ecafc,_0x232089,_0x478703)=>_0x3ecafc&&_0x232089&&!_0x478703);},'onExecute':()=>_0x4965bf(this['_saveRevisionFormView'])}]});}['_createSaveRevisionFormView'](){const _0x254c11=this['editor'],_0xa66061=_0x254c11['locale'];this['_saveRevisionFormView']=new ns(_0xa66061,_0x254c11['config']['get']('revisionHistory.requireRevisionName')),this['_saveRevisionFormView']['render']();}}class Z extends _0x8bf82f{['changeId'];['_model'];constructor(_0x34a03b,_0x11c28e){super(_0x34a03b),this['_model']=_0x11c28e,this['changeId']=_0x11c28e['id'];const _0x14b165=this['bindTemplate'],_0x535972=y(_0x34a03b,_0x11c28e['data']['isSuggestion']?'Suggested\x20by':'add'==_0x11c28e['type']?'Added\x20by':'Removed\x20by');this['set']('type',_0x11c28e['type']),this['setTemplate']({'tag':'div','attributes':{'class':['ck-annotation','ck-revision-change',_0x14b165['to']('type',_0x396e8c=>'ck-revision-change__'+_0x396e8c)],'tabindex':-0x1},'children':[{'tag':'span','children':[{'tag':'span','attributes':{'class':['ck-revision-change__label']},'children':[{'text':_0x535972}]},{'text':'\x20'+_0x11c28e['author']['name']}]}]});}['focus'](){this['element']['focus']();}}class r extends/* #__PURE__ -- @preserve */
|
|
25
|
-
_0x3f1030(){['id'];['author'];['type'];['data'];['rootName'];constructor(_0x4eae53){super(),this['id']=_0x4eae53['id']||_0x27bb41(),this['author']=_0x4eae53['author'],this['type']=_0x4eae53['type'],this['data']=_0x4eae53['data']||{},this['rootName']=_0x4eae53['rootName'],this['set']('createdAt',_0x4eae53['createdAt']);}['toJSON'](){return{'id':this['id'],'authorId':this['author']['id'],'type':this['type'],'data':this['data'],'createdAt':this['createdAt']};}}class f{['newRevisionId'];['oldRevisionId'];['changes'];constructor(_0x2d3e81,_0xb2fed7){this['newRevisionId']=_0x2d3e81,this['oldRevisionId']=_0xb2fed7,this['changes']=new _0x546aee();}['_setChanges'](_0x52de73){for(const _0x3d4315 of _0x52de73)this['changes']['add'](_0x3d4315);}}const tt={'c':_0x5bd63d,'a':_0x2bc234,'e':_0x14c2b8,'r':_0x3395de,'u':_0x416151};class d extends _0x5edd62{['repository'];['adapter'];['_activeViewTarget'];['_changeView'];['_changeIdToChange'];['_balloon'];static get['pluginName'](){return'RevisionViewer';}static get['requires'](){return[_0x341501,_0x3568bb,A];}constructor(_0x2ee2c6){super(_0x2ee2c6),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',(_0x48ce73,_0x3ce0d8,_0x22fcc8)=>{this['activeChange']=null,this['activeView']=null,this['editor']['editing']['view']['change'](_0x462d99=>{for(const _0x32a63f of this['editor']['editing']['view']['document']['roots'])_0x22fcc8?_0x462d99['removeClass']('ck-editor__editable__overlay',_0x32a63f):_0x462d99['addClass']('ck-editor__editable__overlay',_0x32a63f);});}),this['bind']('isNavigationMode')['to'](this,'activeChange',_0x4d12c2=>null!==_0x4d12c2),this['bind']('currentChangeNumber')['to'](this,'isReady',this,'diff',this,'activeChange',(_0x10c583,_0x2fec30,_0x32840b)=>_0x10c583&&_0x32840b?_0x2fec30['changes']['getIndex'](_0x32840b):0x0),this['bind']('numberOfChanges')['to'](this,'isReady',this,'diff',(_0x15c339,_0x3a5843)=>_0x15c339?_0x3a5843['changes']['length']:0x0),this['_changeView']=null,this['_changeIdToChange']=new Map(),this['adapter']=null,this['_balloon']=this['editor']['plugins']['get'](_0x3568bb);}['init'](){const _0xad51c3=this['editor'],_0x932d98=new yt(_0xad51c3,{'direction':'backward'}),_0x3c346a=new yt(_0xad51c3,{'direction':'forward'});(_0xad51c3['commands']['add']('showPreviousChange',_0x932d98),_0xad51c3['commands']['add']('showNextChange',_0x3c346a),_0xad51c3['commands']['add']('restoreRevision',new bt(_0xad51c3)),this['on']('change:numberOfChanges',()=>{_0x932d98['refresh'](),_0x3c346a['refresh']();}),this['_setConversion'](),this['_initInteractions'](),_0xad51c3['enableReadOnlyMode']('revision-viewer'),_0xad51c3['plugins']['has']('WidgetToolbarRepository'))&&_0xad51c3['plugins']['get']('WidgetToolbarRepository')['forceDisabled']('revision-viewer');}async['getRevisionData'](_0x1d8d20){await this['loadRevisionData'](_0x1d8d20);const _0x3ab00c={};for(const _0x79c1ce in _0x1d8d20['diffData']){if(_0x1d8d20['diffData'][_0x79c1ce]['attachChange']&&!_0x1d8d20['diffData'][_0x79c1ce]['attachChange']['isAttached'])continue;const _0x33693e=this['_removeRevisionMarkers'](JSON['parse'](_0x1d8d20['diffData'][_0x79c1ce]['insertions'])),_0x16c6fe=this['editor']['editing']['view']['document'],_0xfb29a9=new _0x3ee8e2(_0x16c6fe,_0x33693e['map'](_0x2e7dec=>this['_getViewObj'](_0x2e7dec)));this['editor']['data']['processor']['useFillerType']('marked'),_0x3ab00c[_0x79c1ce]=this['editor']['data']['processor']['toData'](_0xfb29a9),this['editor']['data']['processor']['useFillerType']('default');}return _0x3ab00c;}async['getRevisionRootsAttributes'](_0x4588d2){await this['loadRevisionData'](_0x4588d2);const _0xdb6ce4={};for(const _0x1746a9 in _0x4588d2['diffData'])_0x4588d2['diffData'][_0x1746a9]['attachChange']&&!_0x4588d2['diffData'][_0x1746a9]['attachChange']['isAttached']||(_0xdb6ce4[_0x1746a9]=_0x4588d2['diffData'][_0x1746a9]['attributesAfter']||{});return _0xdb6ce4;}['_removeRevisionMarkers'](_0x351414){return(_0x351414=_0x351414['filter'](_0x28f3de=>!_0x28f3de['name']||'revision-start'!==_0x28f3de['name']&&'revision-end'!==_0x28f3de['name']))['forEach'](_0x29ee6a=>{'string'!=typeof _0x29ee6a&&(_0x29ee6a['children']=this['_removeRevisionMarkers'](_0x29ee6a['children']),_0x29ee6a['attributes']=_0x29ee6a['attributes']['filter'](_0x186f67=>!_0x186f67[0x0]['startsWith']('data-revision-')));}),_0x351414;}async['compare'](_0x222e19,_0x48f695,_0x3fb7e8=!0x1){if(!this['isEnabled'])return;const _0x2e06d9=this['diff'],_0x1004ff=this['repository'],_0x3d269e='string'==typeof _0x222e19?_0x1004ff['getRevision'](_0x222e19):_0x222e19,_0x4f18f7='string'==typeof _0x48f695?_0x1004ff['getRevision'](_0x48f695):_0x48f695,_0x4dfcc9=_0x3d269e['id'],_0x35f7ba=_0x4f18f7?_0x4f18f7['id']:null;if(!_0x3fb7e8&&this['diff']&&this['diff']['newRevisionId']===_0x4dfcc9&&this['diff']['oldRevisionId']===_0x35f7ba)return Promise['resolve']();this['isReady']=!0x1,this['activeView']=null,this['activeChange']=null,this['diff']=new f(_0x4dfcc9,_0x35f7ba);const _0x3269b8=this['_getRevisionsRange'](_0x3d269e,_0x4f18f7,!0x0)['map'](_0x36c896=>this['loadRevisionData'](_0x36c896));return _0x3269b8['push'](new Promise(_0x715af9=>{setTimeout(_0x715af9,0x14);})),Promise['all'](_0x3269b8)['then'](()=>{if(!this['isEnabled'])return;this['_cleanUp']();const _0x5c7fe2=this['_getDiff'](_0x4dfcc9,_0x35f7ba);for(const _0x4dba1f of _0x5c7fe2['changes'])this['_changeIdToChange']['set'](_0x4dba1f['id'],_0x4dba1f);this['editor']['model']['enqueueChange']({'isUndoable':!0x1},_0x32fb2f=>{for(const _0x423e6c of this['editor']['model']['document']['getRootNames']())_0x32fb2f['detachRoot'](_0x423e6c);for(const _0x467024 of Object['keys'](_0x5c7fe2['model'])){const _0x44404f=_0x32fb2f['addRoot'](_0x467024);for(const _0x329e18 of Object['keys'](_0x5c7fe2['attributes'][_0x467024]))_0x32fb2f['setAttribute'](_0x329e18,_0x5c7fe2['attributes'][_0x467024][_0x329e18],_0x44404f);_0x32fb2f['insert'](_0x5c7fe2['model'][_0x467024],_0x44404f,0x0);}}),this['diff']['_setChanges'](this['_sortAndFilterDiffChanges'](_0x5c7fe2['changes'])),this['isReady']=!0x0;})['catch'](_0x15d7cf=>{console['error'](_0x15d7cf),this['_cleanUp'](),_0x2e06d9&&(this['diff']=_0x2e06d9),this['isReady']=!0x0;});}['addRevisionData'](_0x1a4ae5,_0x44c33a){const _0x1541c2=this['repository']['createRevision'](_0x1a4ae5);return _0x1541c2['on']('_update',(_0x58c1e8,_0x219cb1,_0x1c4db5)=>_0x44c33a(_0x219cb1,_0x1c4db5,_0x1541c2)),this['repository']['addRevision'](_0x1541c2),_0x1541c2;}['loadRevisionData'](_0x111fee){if(!_0x111fee||_0x111fee['diffData'])return Promise['resolve']();{const _0x440fc9=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0x440fc9,'revisionId':_0x111fee['id']})['then'](_0x1af391=>{_0x111fee['_update']({'diffData':_0x1af391['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},_0x330b3a=>{for(const _0x2b7a8d of this['editor']['model']['document']['getRootNames']())_0x330b3a['detachRoot'](_0x2b7a8d);});}['_sortAndFilterDiffChanges'](_0x4c28ed){const _0x3d02d6=[],_0x167004=new Map();for(const _0xffd816 of this['editor']['model']['document']['getRootNames']()){const _0x305807=this['editor']['editing']['view']['getDomRoot'](_0xffd816);if(!_0x305807)continue;const _0xf62c90=_0x305807['getClientRects']()['item'](0x0);_0xf62c90&&(_0x3d02d6['push'](_0xffd816),_0x167004['set'](_0xffd816,_0xf62c90));}return _0x3d02d6['sort']((_0x159986,_0x2405ab)=>{const _0x278725=_0x167004['get'](_0x159986),_0x1a1945=_0x167004['get'](_0x2405ab);return _0x278725['y']-_0x1a1945['y']||_0x278725['x']-_0x1a1945['x'];}),(_0x4c28ed=_0x4c28ed['filter'](_0x30de76=>_0x3d02d6['includes'](_0x30de76['rootName'])))['sort']((_0x1af456,_0x22bd11)=>_0x3d02d6['indexOf'](_0x1af456['rootName'])-_0x3d02d6['indexOf'](_0x22bd11['rootName'])),_0x4c28ed;}['_makeTape'](_0x4cd7d7){const _0x2b99fa=Array['from'](_0x4cd7d7['markers'])['filter'](([_0x151492,_0x5dd475])=>_0x151492['startsWith']('revision:')&&!_0x5dd475['isCollapsed']),_0x2fbeb2=Array['from'](this['editor']['model']['createRangeIn'](_0x4cd7d7)['getWalker']({'singleCharacters':!0x0}));if(0x0!=_0x2b99fa['length'])for(const _0x8e2371 of _0x2fbeb2){const [_0x15c9bb,_0x4032b3]=_0x2b99fa[0x0],[,_0x33cc27,_0x3c7c6c]=_0x15c9bb['split'](':');if(_0x4032b3['end']['isEqual'](_0x8e2371['nextPosition'])&&_0x2b99fa['shift'](),(_0x8e2371['previousPosition']['isEqual'](_0x4032b3['start'])||_0x8e2371['previousPosition']['isAfter'](_0x4032b3['start']))&&('insertion'==_0x33cc27?_0x8e2371['isAdded']={'userId':_0x3c7c6c}:'deletion'==_0x33cc27&&(_0x8e2371['isRemoved']={'userId':_0x3c7c6c})),0x0==_0x2b99fa['length'])break;}return _0x2fbeb2;}['_refreshStartEndIndex'](_0x3bae33){const _0x5413fa=new Map();for(let _0x19dbf9=0x0;_0x19dbf9<_0x3bae33['length'];_0x19dbf9++)'text'===_0x3bae33[_0x19dbf9]['type']?(_0x3bae33[_0x19dbf9]['item']['startIndex']=_0x19dbf9,_0x3bae33[_0x19dbf9]['item']['endIndex']=_0x19dbf9):('elementStart'===_0x3bae33[_0x19dbf9]['type']?_0x3bae33[_0x19dbf9]['item']['startIndex']=_0x19dbf9:'elementEnd'===_0x3bae33[_0x19dbf9]['type']&&(_0x3bae33[_0x19dbf9]['item']['endIndex']=_0x19dbf9),_0x5413fa['set'](_0x3bae33[_0x19dbf9]['id'],_0x19dbf9));for(const _0x38b49c of _0x5413fa['values']())'elementStart'===_0x3bae33[_0x38b49c]['type']?_0x3bae33[_0x38b49c]['item']['endIndex']=_0x5413fa['get'](_0x3bae33[_0x38b49c]['pairId']):'elementEnd'===_0x3bae33[_0x38b49c]['type']&&(_0x3bae33[_0x38b49c]['item']['startIndex']=_0x5413fa['get'](_0x3bae33[_0x38b49c]['pairId']));}['_processTape'](_0x2c1063){for(let _0x34cd4b=0x0;_0x34cd4b<_0x2c1063['length'];_0x34cd4b++){if('elementStart'===_0x2c1063[_0x34cd4b]['type'])_0x2c1063[_0x34cd4b]['item']['startIndex']=_0x34cd4b;else{if('elementEnd'===_0x2c1063[_0x34cd4b]['type']){_0x2c1063[_0x34cd4b]['item']['endIndex']=_0x34cd4b;const _0x1ee89e=_0x2c1063[_0x34cd4b]['item']['startIndex'];_0x2c1063[_0x1ee89e]['pairId']=_0x2c1063[_0x34cd4b]['id'],_0x2c1063[_0x34cd4b]['pairId']=_0x2c1063[_0x1ee89e]['id'];}else _0x2c1063[_0x34cd4b]['item']['startIndex']=_0x34cd4b,_0x2c1063[_0x34cd4b]['item']['endIndex']=_0x34cd4b,_0x2c1063[_0x34cd4b]['pairId']=null;}_0x2c1063[_0x34cd4b]['markersStart']||(_0x2c1063[_0x34cd4b]['markersStart']=[],_0x2c1063[_0x34cd4b]['markersEnd']=[]);}}['_markInsertions'](_0x16bd3d,_0x921d7c){const _0x3c4c07=_0x16bd3d['filter'](_0x2aa825=>!_0x2aa825['isAdded']);for(let _0x1e6afb=0x0;_0x1e6afb<_0x921d7c['length'];_0x1e6afb++)_0x921d7c[_0x1e6afb]['isAdded']&&(_0x3c4c07[_0x1e6afb]['isAdded']=_0x921d7c[_0x1e6afb]['isAdded']);}['_makeModelFromViewString'](_0x3b471c){const _0x5d5e03=JSON['parse'](_0x3b471c),_0x3f7f31=this['editor']['editing']['view']['document'],_0x4a3523=new _0x3ee8e2(_0x3f7f31,_0x5d5e03['map'](_0x2d4142=>this['_getViewObj'](_0x2d4142)));return this['editor']['data']['toModel'](_0x4a3523);}['_getViewObj'](_0x410c94){const _0x5a337b=this['editor']['editing']['view']['document'];if('string'==typeof _0x410c94)return new _0x3400cc(_0x5a337b,_0x410c94);{const _0x504656=_0x410c94['children']['map'](_0x5c372e=>this['_getViewObj'](_0x5c372e));return new(tt[_0x410c94['type']]||_0x2a9503)(_0x5a337b,_0x410c94['name'],_0x410c94['attributes'],_0x504656);}}['_getDiff'](_0x333566,_0x40034b=null){const _0x346a8f=this['repository']['getRevision'](_0x333566),_0x39dbaa=_0x40034b?this['repository']['getRevision'](_0x40034b):null,_0x4b4bfd=this['_getRevisionsRange'](_0x346a8f,_0x39dbaa),_0x166ee3=_0x4b4bfd[_0x4b4bfd['length']-0x1],_0x5eaff1=new Map(),_0x5945e0={'model':{},'attributes':{},'changes':[]},_0x29d4e2=new Set(),_0x1ef995=new Map();for(let _0x3ef1ee=_0x4b4bfd['length']-0x1;_0x3ef1ee>=0x0;_0x3ef1ee--){const _0x506f37=_0x4b4bfd[_0x3ef1ee];for(const _0xc457f1 of Object['keys'](_0x506f37['diffData']))if(_0x506f37['diffData'][_0xc457f1]['attachChange']){const _0x8cd50f=_0x506f37['diffData'][_0xc457f1]['attachChange'];_0x8cd50f['isAttached']?(_0x29d4e2['add'](_0xc457f1),_0x1ef995['has'](_0xc457f1)&&_0x1ef995['get'](_0xc457f1)['userId']==_0x8cd50f['userId']?_0x1ef995['delete'](_0xc457f1):_0x1ef995['set'](_0xc457f1,_0x8cd50f)):_0x1ef995['has'](_0xc457f1)?(_0x29d4e2['delete'](_0xc457f1),_0x1ef995['delete'](_0xc457f1)):(_0x29d4e2['add'](_0xc457f1),_0x1ef995['set'](_0xc457f1,_0x8cd50f));}else _0x29d4e2['add'](_0xc457f1);}for(const _0x34c357 of _0x29d4e2){const _0x238bd2=_0x1ef995['has'](_0x34c357)&&!_0x1ef995['get'](_0x34c357)['isAttached'];let _0x36c20b=_0x238bd2?_0x4b4bfd['length']-0x1:0x0;const _0x292cc9=_0x238bd2?-0x1:0x1;for(;_0x4b4bfd[_0x36c20b];){const _0x26168d=_0x4b4bfd[_0x36c20b];if(_0x26168d['diffData'][_0x34c357]){const _0x3bf757=_0x238bd2?_0x26168d['diffData'][_0x34c357]['attributesBefore']:_0x26168d['diffData'][_0x34c357]['attributesAfter'];_0x5945e0['attributes'][_0x34c357]=_0x3bf757?_0x50b8b3(_0x3bf757):{};break;}_0x36c20b+=_0x292cc9;}}for(const _0x42b9aa of _0x4b4bfd){_0x42b9aa['model']={};for(const _0x38078c of _0x42b9aa['authors'])_0x5eaff1['set'](_0x38078c['id'],_0x38078c);for(const _0x10c529 of _0x29d4e2){const _0x3a0909=_0x42b9aa['diffData'][_0x10c529]?_0x42b9aa['diffData'][_0x10c529]['insertions']:'[]',_0xe6250=_0x42b9aa['diffData'][_0x10c529]?_0x42b9aa['diffData'][_0x10c529]['deletions']:'[]';_0x42b9aa['model'][_0x10c529]={'insertions':this['_makeModelFromViewString'](_0x3a0909),'deletions':this['_makeModelFromViewString'](_0xe6250)};}}for(const _0x3ba690 of _0x29d4e2){let _0x49e619=null,_0x438d07=0x0;const _0x59bba9=new Map(Array['from'](_0x346a8f['model'][_0x3ba690]['insertions']['markers'])['filter'](([_0x219f3b])=>!_0x219f3b['startsWith']('revision:')));let _0x434863=0x0;for(const _0xf86574 of _0x4b4bfd){const _0x32eec3=this['_makeTape'](_0xf86574['model'][_0x3ba690]['insertions']);_0xf86574==_0x346a8f?(_0x49e619=_0x32eec3,_0x438d07=_0x49e619['length'],_0x49e619['forEach'](_0x4e8efe=>{_0x4e8efe['id']=_0x434863++;}),this['_processTape'](_0x49e619)):this['_markInsertions'](_0x49e619,_0x32eec3);const _0x5f30e1=_0x49e619['filter'](_0x492398=>!_0x492398['isAdded'])['map'](_0x18b32b=>_0x18b32b['id']);let _0x53e322=0x0;const _0x18c2c3=this['_makeTape'](_0xf86574['model'][_0x3ba690]['deletions']);_0x18c2c3['forEach'](_0x416036=>{_0x416036['isRemoved']?_0x416036['id']=_0x438d07++:_0x416036['id']=_0x5f30e1[_0x53e322++];}),this['_processTape'](_0x18c2c3),this['_setDistance'](_0x49e619,'isAdded'),this['_setDistance'](_0x18c2c3,'isRemoved'),_0xf86574==_0x346a8f&&this['_markMarkers'](_0x49e619,_0x59bba9),_0x49e619=this['_joinTapes'](_0x49e619,_0x18c2c3),this['_refreshStartEndIndex'](_0x49e619),this['_setDistance'](_0x49e619,'isRemoved');}_0x49e619=_0x49e619['filter'](_0x1a2abc=>!(_0x1a2abc['isAdded']&&_0x1a2abc['isRemoved']));const _0x364951=new Map(_0x166ee3['model'][_0x3ba690]['deletions']['markers']),_0x55e902=new Set(_0x59bba9['keys']());for(const _0x4de860 of _0x364951['keys']())_0x55e902['delete'](_0x4de860);this['_markSuggestions'](_0x49e619,_0x55e902),this['_fixObsoleteTags'](_0x49e619),_0x49e619=this['_removeMissingPairs'](_0x49e619),_0x49e619=this['_markMismatchedRemovedTags'](_0x49e619),_0x49e619=this['_removeUnsupportedChanges'](_0x49e619);const {root:_0x2abfd3,changes:_0x49a05f}=this['_makeModelFromTape'](_0x49e619,_0x5eaff1,_0x3ba690);_0x5945e0['model'][_0x3ba690]=_0x2abfd3;const _0x241b1a=_0x1ef995['get'](_0x3ba690);if(_0x241b1a){const _0x1a5c8a=_0x5eaff1['get'](_0x241b1a['userId']),_0x5b54b4=new r({'author':_0x1a5c8a,'type':_0x241b1a['isAttached']?'add':'remove','data':{'isOnRoot':!0x0},'createdAt':new Date(),'rootName':_0x3ba690});_0x49a05f['unshift'](_0x5b54b4),_0x5945e0['attributes'][_0x3ba690]['revisionHistoryAttachChange']=_0x5b54b4['id'];}_0x5945e0['changes']=_0x5945e0['changes']['concat'](_0x49a05f);}return _0x5945e0;}['_markMarkers'](_0x2e341b,_0x1a9ffc){for(let _0x8c7c01=0x0;_0x8c7c01<_0x2e341b['length'];_0x8c7c01++)for(const [_0x332be7,_0x5c0f2b]of _0x1a9ffc)_0x5c0f2b['start']['isEqual'](_0x2e341b[_0x8c7c01]['previousPosition'])&&_0x2e341b[_0x8c7c01]['markersStart']['push'](_0x332be7),_0x5c0f2b['end']['isEqual'](_0x2e341b[_0x8c7c01]['nextPosition'])&&_0x2e341b[_0x8c7c01]['markersEnd']['push'](_0x332be7);}['_joinTapes'](_0x43a8f3,_0x54a3f0){let _0x5a3cd4=[],_0x518525=0x0,_0x370c0f=0x0;for(;_0x518525<_0x43a8f3['length']||_0x370c0f<_0x54a3f0['length'];){const _0x4b3f6d=_0x43a8f3[_0x518525]||{},_0x58c47a=_0x54a3f0[_0x370c0f]||{};if(_0x4b3f6d['id']==_0x58c47a['id'])_0x518525++,_0x370c0f++,_0x5a3cd4['push'](_0x4b3f6d);else{if(_0x58c47a['isRemoved']&&_0x4b3f6d['isAdded']){const {commonTape:_0x4aa888,iEnd:_0x395b47,jEnd:_0x3a9730}=this['_threeWayMerge'](_0x43a8f3,_0x518525,_0x54a3f0,_0x370c0f);_0x5a3cd4=_0x5a3cd4['concat'](_0x4aa888),_0x518525=_0x395b47,_0x370c0f=_0x3a9730;}else _0x58c47a['isRemoved']?(_0x370c0f++,_0x5a3cd4['push'](_0x58c47a)):(_0x518525++,_0x5a3cd4['push'](_0x4b3f6d));}}return _0x5a3cd4;}['_markSuggestions'](_0x45a248,_0x3a18ae){const _0x19ab24=[];for(let _0x53ac13=0x0;_0x53ac13<_0x45a248['length'];_0x53ac13++){for(let _0x2682c8=0x0;_0x2682c8<_0x45a248[_0x53ac13]['markersStart']['length'];_0x2682c8++){const _0x282efc=_0x45a248[_0x53ac13]['markersStart'][_0x2682c8];if(!_0x3a18ae['has'](_0x282efc))continue;const {group:_0x51b53f,type:_0x19a722,authorId:_0x53c7a6}=_0x171e31(_0x282efc);'revision-suggestion'!=_0x51b53f||'insertion'!=_0x19a722&&'deletion'!=_0x19a722||(_0x19ab24['unshift']({'type':_0x19a722,'name':_0x282efc,'userId':_0x53c7a6}),_0x45a248[_0x53ac13]['markersStart']['splice'](_0x2682c8,0x1),_0x2682c8--);}_0x31532b(_0x45a248[_0x53ac13]);for(let _0x5ee6f5=0x0;_0x5ee6f5<_0x45a248[_0x53ac13]['markersEnd']['length'];_0x5ee6f5++){const _0x228f75=_0x45a248[_0x53ac13]['markersEnd'][_0x5ee6f5];if(!_0x3a18ae['has'](_0x228f75))continue;const {group:_0x27a4c5,type:_0x260e73}=_0x171e31(_0x228f75);if('revision-suggestion'!=_0x27a4c5||'insertion'!=_0x260e73&&'deletion'!=_0x260e73)continue;_0x45a248[_0x53ac13]['markersEnd']['splice'](_0x5ee6f5,0x1),_0x5ee6f5--;const _0x4fd5dd=_0x19ab24['findIndex'](_0x47a0f9=>_0x47a0f9['name']==_0x228f75);_0x4fd5dd>-0x1&&_0x19ab24['splice'](_0x4fd5dd,0x1);}}function _0x171e31(_0x53670c){const _0x2cb568=_0x53670c['split'](':');return{'group':_0x2cb568[0x0],'type':_0x2cb568[0x1],'subType':_0x2cb568['length']>=0x5?_0x2cb568[0x2]:null,'id':_0x2cb568['length']<0x5?_0x2cb568[0x2]:_0x2cb568[0x3],'authorId':_0x2cb568['length']<0x5?_0x2cb568[0x3]:_0x2cb568[0x4],'markerCount':0x6==_0x2cb568['length']?_0x2cb568[0x5]:null};}function _0x31532b(_0x19e726){for(let _0x2c59d2=0x0;_0x2c59d2<_0x19ab24['length'];_0x2c59d2++){if(_0x19e726['isAdded']&&'insertion'==_0x19ab24[_0x2c59d2]['type'])return _0x19e726['isAddSuggestion']=_0x19ab24[_0x2c59d2],void delete _0x19e726['isAdded'];if(!_0x19e726['isAdded']&&!_0x19e726['isRemoved']&&'deletion'==_0x19ab24[_0x2c59d2]['type'])return void(_0x19e726['isRemoveSuggestion']=_0x19ab24[_0x2c59d2]);}}}['_setDistance'](_0x16bda0,_0x2a32e2){let _0x161043=0x0,_0x14fd62=!0x1;const _0x2a3c9e=new Map();for(const _0x1359e0 of _0x16bda0)_0x1359e0[_0x2a32e2]?_0x14fd62&&(_0x161043++,_0x14fd62=!0x1):(_0x161043++,_0x14fd62=!0x0),_0x2a3c9e['set'](_0x1359e0['id'],_0x161043);for(let _0x586759=0x0;_0x586759<_0x16bda0['length'];_0x586759++){if('isRemoved'==_0x2a32e2&&_0x16bda0[_0x586759]['isAdded']||'isAdded'==_0x2a32e2&&_0x16bda0[_0x586759]['isRemoved'])continue;if('text'==_0x16bda0[_0x586759]['type']){_0x16bda0[_0x586759]['distance']=0x0;continue;}const _0x10adb5=_0x2a3c9e['get'](_0x16bda0[_0x586759]['pairId']),_0x54afe8=_0x2a3c9e['get'](_0x16bda0[_0x586759]['id']);_0x16bda0[_0x586759]['distance']=_0x10adb5-_0x54afe8;}}['_getRevisionsRange'](_0x1cf3c4,_0x2d85fe,_0x403469=!0x1){const _0x4c4fa5=[];let _0x3c18d5=this['repository']['getIndex'](_0x1cf3c4),_0x4ee42e=this['repository']['getIndex'](_0x2d85fe);for(-0x1==_0x4ee42e&&(_0x4ee42e=this['repository']['_revisions']['length'],_0x403469=!0x1);_0x3c18d5<_0x4ee42e;)_0x4c4fa5['push'](this['repository']['getRevision'](_0x3c18d5)),_0x3c18d5++;return _0x403469&&_0x4c4fa5['push'](this['repository']['getRevision'](_0x3c18d5)),_0x4c4fa5;}['_threeWayMerge'](_0x4b9bea,_0x337e07,_0x13575b,_0x2374ad){const _0x5566ca=this['editor']['model']['schema'];let _0x47ca3b=_0x337e07;for(;_0x4b9bea[_0x47ca3b]&&_0x4b9bea[_0x47ca3b]['isAdded'];)_0x47ca3b++;let _0x28cac0=_0x2374ad;for(;_0x13575b[_0x28cac0]&&_0x13575b[_0x28cac0]['isRemoved'];)_0x28cac0++;_0x28a87c(_0x4b9bea,_0x337e07,_0x47ca3b),_0x28a87c(_0x13575b,_0x2374ad,_0x28cac0);const _0x28758d=_0x13575b['slice'](_0x2374ad,_0x28cac0)['concat'](_0x4b9bea['slice'](_0x337e07,_0x47ca3b));return _0x28758d['sort']((_0x1a357e,_0x24569c)=>_0x1a357e['side']!=_0x24569c['side']?_0x1a357e['side']-_0x24569c['side']:_0x1a357e['level']!=_0x24569c['level']?_0x1a357e['level']-_0x24569c['level']:_0x1a357e['distance']!=_0x24569c['distance']?_0x24569c['distance']-_0x1a357e['distance']:!!_0x1a357e['isAdded']!=!!_0x24569c['isAdded']?-0x1==_0x1a357e['side']||0x0==_0x1a357e['side']?_0x1a357e['isAdded']?-0x1:0x1:_0x1a357e['isAdded']?0x1:-0x1:_0x1a357e['index']-_0x24569c['index']),{'commonTape':_0x28758d,'iEnd':_0x47ca3b,'jEnd':_0x28cac0};function _0x28a87c(_0x3334f6,_0x205fc5,_0x28ac4a){let _0x27209b=-0x1,_0x11af82=Number['POSITIVE_INFINITY'],_0x29b668=!0x0;for(let _0x3bea32=_0x205fc5;_0x3bea32<_0x28ac4a;_0x3bea32++)if(_0x5566ca['isInline'](_0x3334f6[_0x3bea32]['item'])||(_0x29b668=!0x1),_0x3334f6[_0x3bea32]['item']['startIndex']<_0x205fc5&&(_0x27209b=_0x3bea32),_0x3334f6[_0x3bea32]['item']['endIndex']>=_0x28ac4a){_0x11af82=_0x3bea32;break;}_0x29b668&&(_0x27209b=_0x28ac4a-0x1);for(let _0x489220=_0x205fc5;_0x489220<_0x28ac4a;_0x489220++)_0x3334f6[_0x489220]['side']=_0x489220<=_0x27209b?-0x1:_0x489220<_0x11af82?0x0:0x1,_0x3334f6[_0x489220]['index']=_0x489220;let _0x5d5708=0x0;for(let _0xe75bc9=_0x205fc5;_0xe75bc9<=_0x27209b;_0xe75bc9++)0x0==_0x3334f6[_0xe75bc9]['distance']?_0x3334f6[_0xe75bc9]['level']=_0x5d5708:(_0x5d5708++,_0x3334f6[_0xe75bc9]['level']=_0x5d5708,_0x5d5708++);for(let _0x3c7b87=_0x205fc5;_0x3c7b87<_0x28ac4a;_0x3c7b87++)0x0==_0x3334f6[_0x3c7b87]['side']&&(_0x3334f6[_0x3c7b87]['level']=_0x5d5708);_0x5d5708=0x0;for(let _0x5eb073=_0x28ac4a-0x1;_0x5eb073>=_0x11af82;_0x5eb073--)0x0==_0x3334f6[_0x5eb073]['distance']?_0x3334f6[_0x5eb073]['level']=_0x5d5708:(_0x5d5708--,_0x3334f6[_0x5eb073]['level']=_0x5d5708,_0x5d5708--);}}['_fixObsoleteTags'](_0xd16206){const _0x33295e=new Map(),_0x525681=this['editor']['model']['schema'];for(let _0x184db7=0x1;_0x184db7<_0xd16206['length'];_0x184db7++){let _0x3c4f0c,_0x23ad11,_0x57c9e1;const _0x54dd9b=_0xd16206[_0x184db7],_0x1b445a=_0xd16206[_0x184db7-0x1];if('text'==_0x54dd9b['type'])continue;if(_0x54dd9b['type']!=_0x1b445a['type'])continue;if(!_0x525681['isBlock'](_0x1b445a['item'])||_0x525681['isLimit'](_0x1b445a['item']))continue;if(!_0x525681['isBlock'](_0x54dd9b['item'])||_0x525681['isLimit'](_0x54dd9b['item']))continue;if((_0xd16206[_0x184db7]['isAdded']||_0xd16206[_0x184db7]['isAddSuggestion'])&&_0xd16206[_0x184db7-0x1]['isRemoved'])_0x3c4f0c=_0xd16206[_0x184db7],_0x23ad11=_0xd16206[_0x184db7-0x1],_0x57c9e1=_0x184db7-0x1;else{if(!_0xd16206[_0x184db7]['isRemoved']||!_0xd16206[_0x184db7-0x1]['isAdded']&&!_0xd16206[_0x184db7-0x1]['isAddSuggestion'])continue;_0x3c4f0c=_0xd16206[_0x184db7-0x1],_0x23ad11=_0xd16206[_0x184db7],_0x57c9e1=_0x184db7;}const _0x2d4ec9=_0x3c4f0c['level']==_0x23ad11['level'],_0x4d2b1a=Math['abs'](_0x3c4f0c['level'])<Math['abs'](_0x23ad11['level'])&&0x0==_0x23ad11['distance'];(_0x2d4ec9||_0x4d2b1a)&&(_0x33295e['set'](_0x23ad11['id'],_0x3c4f0c['id']),_0xd16206['splice'](_0x57c9e1,0x1),_0x184db7--,_0x3c4f0c['isAdded']=!0x1);}for(let _0x4841c5=0x0;_0x4841c5<_0xd16206['length'];_0x4841c5++)_0x33295e['has'](_0xd16206[_0x4841c5]['pairId'])&&(_0xd16206[_0x4841c5]['pairId']=_0x33295e['get'](_0xd16206[_0x4841c5]['pairId']));}['_removeMissingPairs'](_0x35668d){const _0x5573fb=new Set(_0x35668d['map'](_0x500ef8=>_0x500ef8['id']));for(let _0x269f2f=0x0;_0x269f2f<_0x35668d['length'];_0x269f2f++)_0x5573fb['has'](_0x35668d[_0x269f2f]['pairId'])||0x0==_0x35668d[_0x269f2f]['distance']||(_0x35668d[_0x269f2f]['isIncorrect']=!0x0);return _0x35668d['filter'](_0x4d6cf7=>!_0x4d6cf7['isIncorrect']);}['_markMismatchedRemovedTags'](_0xd44223){const _0x4b1166=new Set();for(let _0x13ec79=0x0;_0x13ec79<_0xd44223['length'];_0x13ec79++){if(_0x4b1166['has'](_0xd44223[_0x13ec79]['id'])&&_0xd44223[_0x13ec79]['isRemoved']&&(_0xd44223[_0x13ec79]['isIncorrect']=!0x0),_0xd44223[_0x13ec79]['isIncorrect'])continue;if(0x0==_0xd44223[_0x13ec79]['distance'])continue;if('elementStart'!=_0xd44223[_0x13ec79]['type'])continue;if(null==_0xd44223[_0x13ec79]['pairId'])continue;let _0x2b9b99=_0x13ec79+0x1,_0x1240c8=0x0;for(;_0xd44223[_0x2b9b99]['id']!=_0xd44223[_0x13ec79]['pairId'];)'elementStart'==_0xd44223[_0x2b9b99]['type']?_0x1240c8++:'elementEnd'==_0xd44223[_0x2b9b99]['type']&&_0x1240c8--,_0x2b9b99++;if(0x0!=_0x1240c8){if(_0xd44223[_0x13ec79]['isRemoved'])_0xd44223[_0x13ec79]['isIncorrect']=!0x0;else{for(;_0x2b9b99!=_0x13ec79;)_0xd44223[_0x2b9b99]['isRemoved']&&0x0!=_0xd44223[_0x2b9b99]['distance']&&(_0xd44223[_0x2b9b99]['isIncorrect']=!0x0,_0x4b1166['add'](_0xd44223[_0x2b9b99]['pairId'])),_0x2b9b99--;}}}return _0xd44223['filter'](_0x4f7437=>!_0x4f7437['isIncorrect']);}['_removeUnsupportedChanges'](_0x17bb49){const _0x1db2dd=this['editor']['model']['schema'];for(let _0x2efe79=0x0;_0x2efe79<_0x17bb49['length'];_0x2efe79++){if(!(_0x17bb49[_0x2efe79]['isAdded']||_0x17bb49[_0x2efe79]['isAddSuggestion']||_0x17bb49[_0x2efe79]['isRemoved']||_0x17bb49[_0x2efe79]['isRemoveSuggestion']))continue;if(0x0==_0x17bb49[_0x2efe79]['distance'])continue;const _0xd80685=_0x17bb49[_0x2efe79]['item'];_0x1db2dd['isBlock'](_0xd80685)||_0x1db2dd['isLimit'](_0xd80685)||(_0x17bb49[_0x2efe79]['isAdded']&&delete _0x17bb49[_0x2efe79]['isAdded'],_0x17bb49[_0x2efe79]['isAddSuggestion']&&delete _0x17bb49[_0x2efe79]['isAddSuggestion'],_0x17bb49[_0x2efe79]['isRemoveSuggestion']&&delete _0x17bb49[_0x2efe79]['isRemoveSuggestion'],_0x17bb49[_0x2efe79]['isRemoved']&&(_0x17bb49[_0x2efe79]['isIncorrect']=!0x0));}return _0x17bb49['filter'](_0x48fe52=>!_0x48fe52['isIncorrect']);}['_makeModelFromTape'](_0x214436,_0x539f1c,_0x187939){const _0x364821=new wt(),_0x241e32=[],_0x294c45=new Map(),_0x111d53=this['editor']['model'],_0x1aed4d=_0x111d53['schema'],_0x5487b8=[_0x364821],_0x4a93db={},_0x2c1939={'isAdded':[],'isRemoved':[],'isAddSuggestion':[],'isRemoveSuggestion':[]};let _0x1679f0=null;const _0x4a3037=[0x0];for(let _0x378d33=0x0;_0x378d33<_0x214436['length'];_0x378d33++){let _0x5ad9c9,_0x2579b4;if('elementStart'===_0x214436[_0x378d33]['type']){_0x5ad9c9=_0x111d53['createPositionFromPath'](_0x364821,_0x4a3037);const _0x232dcb=new ft(_0x214436[_0x378d33]['item']['name'],_0x214436[_0x378d33]['item']['getAttributes']());_0x5487b8[0x0]['_appendChild'](_0x232dcb),_0x4a3037['push'](0x0),_0x5487b8['unshift'](_0x232dcb),_0x2579b4=_0x111d53['createPositionFromPath'](_0x364821,_0x4a3037),_0x1679f0=null;}else{if('elementEnd'===_0x214436[_0x378d33]['type'])_0x5487b8['shift'](),_0x5ad9c9=_0x111d53['createPositionFromPath'](_0x364821,_0x4a3037),_0x4a3037['pop'](),_0x4a3037[_0x4a3037['length']-0x1]++,_0x2579b4=_0x111d53['createPositionFromPath'](_0x364821,_0x4a3037),_0x1679f0=null;else{if(_0x5ad9c9=_0x111d53['createPositionFromPath'](_0x364821,_0x4a3037),_0x1679f0&&_0x470e66(_0x1679f0,_0x214436[_0x378d33]['item']))_0x1679f0['_data']+=_0x214436[_0x378d33]['item']['data'];else{const _0x25b4c0=new _t(_0x214436[_0x378d33]['item']['data'],_0x214436[_0x378d33]['item']['getAttributes']());_0x5487b8[0x0]['_appendChild'](_0x25b4c0),_0x1679f0=_0x25b4c0;}_0x4a3037[_0x4a3037['length']-0x1]+=_0x214436[_0x378d33]['item']['offsetSize'],_0x2579b4=_0x111d53['createPositionFromPath'](_0x364821,_0x4a3037);}}for(const _0x29d53a of _0x214436[_0x378d33]['markersStart'])_0x294c45['set'](_0x29d53a,{'start':_0x5ad9c9,'end':null});_0x1f9603('isRemoveSuggestion',_0x378d33,_0x5ad9c9,_0x2579b4),_0x1f9603('isAddSuggestion',_0x378d33,_0x5ad9c9,_0x2579b4),_0x1f9603('isRemoved',_0x378d33,_0x5ad9c9,_0x2579b4),_0x1f9603('isAdded',_0x378d33,_0x5ad9c9,_0x2579b4);for(const _0x28df71 of _0x214436[_0x378d33]['markersEnd']){_0x294c45['get'](_0x28df71)['end']=_0x2579b4;}}for(const [_0x59fac1,_0x3a229f]of _0x294c45){const _0x8e3630=this['editor']['model']['createRange'](_0x3a229f['start'],_0x3a229f['end']);_0x364821['markers']['set'](_0x59fac1,_0x8e3630);}return _0x241e32['sort']((_0x3ef292,_0x4fc9a2)=>{const _0x1fae9b=_0x364821['markers']['get']('revision:'+_0x3ef292['id']),_0x5e10b4=_0x364821['markers']['get']('revision:'+_0x4fc9a2['id']);return _0x1fae9b['start']['isBefore'](_0x5e10b4['start'])?-0x1:_0x1fae9b['start']['isAfter'](_0x5e10b4['start'])?0x1:_0x1fae9b['end']['isBefore'](_0x5e10b4['end'])?-0x1:_0x1fae9b['end']['isAfter'](_0x5e10b4['end'])?0x1:'add'===_0x3ef292['type']?-0x1:0x1;}),{'root':_0x364821,'changes':_0x241e32};function _0x1f9603(_0x5805d0,_0x270732,_0x11b666,_0x22ae41){const _0x2549eb=!!_0x214436[_0x270732][_0x5805d0],_0x143f2b=_0x2549eb?_0x214436[_0x270732][_0x5805d0]['userId']:null,_0x56062e=_0x270732===_0x214436['length']-0x1,_0x273a57=_0x2c1939[_0x5805d0][0x0],_0x15b500=_0x1aed4d['isObject'](_0x214436[_0x270732]['item']);!_0x4a93db[_0x5805d0]&&_0x2549eb?_0x4a93db[_0x5805d0]={'start':_0x11b666,'tapeItem':_0x214436[_0x270732],'userId':_0x143f2b,'type':_0x5805d0}:_0x4a93db[_0x5805d0]&&!_0x2549eb?(_0x4a93db[_0x5805d0]['end']=_0x11b666,_0xdbc7f1(_0x4a93db[_0x5805d0]),_0x4a93db[_0x5805d0]=null):_0x4a93db[_0x5805d0]&&_0x2549eb&&_0x4a93db[_0x5805d0]['userId']!==_0x143f2b&&(_0x4a93db[_0x5805d0]['end']=_0x11b666,_0x273a57&&_0x273a57['userId']===_0x4a93db[_0x5805d0]['userId']||_0xdbc7f1(_0x4a93db[_0x5805d0]),_0x4a93db[_0x5805d0]={'start':_0x11b666,'tapeItem':_0x214436[_0x270732],'userId':_0x143f2b,'type':_0x5805d0}),_0x4a93db[_0x5805d0]&&_0x15b500&&('elementStart'!==_0x214436[_0x270732]['type']||_0x273a57&&_0x273a57['userId']===_0x143f2b||_0x2c1939[_0x5805d0]['unshift']({'userId':_0x143f2b,'object':_0x214436[_0x270732]['item'],'change':_0x4a93db[_0x5805d0]}),'elementEnd'===_0x214436[_0x270732]['type']&&_0x273a57&&_0x273a57['object']===_0x214436[_0x270732]['item']&&(_0x2c1939[_0x5805d0]['shift'](),_0x4a93db[_0x5805d0]=_0x273a57['change'])),_0x4a93db[_0x5805d0]&&_0x56062e&&(_0x4a93db[_0x5805d0]['end']=_0x22ae41,_0xdbc7f1(_0x4a93db[_0x5805d0]),_0x4a93db[_0x5805d0]=null);}function _0xdbc7f1({start:_0x509615,end:_0x10e292,tapeItem:_0x49315f,userId:_0xa5ea4,type:_0x143606}){const _0x2034aa=_0x49315f['item'],_0x33210d=_0x111d53['schema']['isBlock'](_0x2034aa)&&!_0x111d53['schema']['isLimit'](_0x2034aa),_0x549390=_0x509615['nodeAfter']==_0x10e292['parent']&&_0x10e292['isAtStart'];if(_0x33210d&&_0x549390)return;const _0x2b7d30=_0x111d53['createRange'](_0x509615,_0x10e292),_0x33e9c7=_0x539f1c['get'](_0xa5ea4),_0x1e774d=new r({'author':_0x33e9c7,'type':'isAdded'==_0x143606||'isAddSuggestion'==_0x143606?'add':'remove','data':{'isSuggestion':'isAddSuggestion'==_0x143606||'isRemoveSuggestion'==_0x143606},'createdAt':new Date(),'rootName':_0x187939});_0x241e32['push'](_0x1e774d),_0x364821['markers']['set']('revision:'+_0x1e774d['id'],_0x2b7d30);}function _0x470e66(_0xa61903,_0xdb17c5){const _0x1bab98=_0xa61903['getAttributes'](),_0x2c371c=_0xdb17c5['getAttributes']();for(const _0x1926c7 of _0x1bab98){if(_0x1926c7[0x1]!==_0xdb17c5['getAttribute'](_0x1926c7[0x0]))return!0x1;_0x2c371c['next']();}return _0x2c371c['next']()['done'];}}['_setConversion'](){this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'revision'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision','view':_0x3bd96d=>{const _0x53cff0=_0x3bd96d['markerName']['split'](':')[0x1],_0x4a5447=this['_getChangeFromId'](_0x53cff0);if(!_0x4a5447)return null;const _0x37327d='add'==_0x4a5447['type']?'insertion':'deletion',_0x1d2182=['ck-suggestion-marker','ck-suggestion-marker-'+_0x37327d];return _0x4a5447['data']['isSuggestion']&&_0x1d2182['push']('ck-suggestion-marker-'+_0x37327d+'-new'),this['activeChange']==_0x4a5447&&_0x1d2182['push']('ck-suggestion-marker--active'),{'classes':_0x1d2182,'attributes':{'data-change-id':_0x53cff0}};}}),this['editor']['conversion']['for']('upcast')['add'](_0x52bde1=>{_0x52bde1['on']('element:pre',(_0x26ce13,_0x2fc2f0,_0x1fdbdb)=>{const _0x1f8308=_0x2fc2f0['viewItem']['getChild'](0x0);if(!_0x1f8308||!_0x1f8308['is']('element','code'))return;if(!_0x1fdbdb['consumable']['consume'](_0x1f8308,{'attributes':['vid_start','vid_end']}))return;const _0x49cf38=_0x2fc2f0['modelRange']['start']['nodeAfter'];_0x1fdbdb['writer']['setAttribute']('vid_start',_0x1f8308['getAttribute']('vid_start'),_0x49cf38),_0x1fdbdb['writer']['setAttribute']('vid_end',_0x1f8308['getAttribute']('vid_end'),_0x49cf38);},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['add'](_0x181905=>{_0x181905['on']('element',(_0x515c27,_0x5659fb,_0x2ccb17)=>{if(!_0x2ccb17['consumable']['consume'](_0x5659fb['viewItem'],{'attributes':['vid_start','vid_end']}))return;if(_0x5659fb['modelRange']['isCollapsed'])return;const _0x4e8db8=_0x5659fb['modelRange']['start']['nodeAfter'];_0x4e8db8['hasAttribute']('vid_start')||_0x4e8db8['hasAttribute']('vid')||(_0x2ccb17['writer']['setAttribute']('vid_start',_0x5659fb['viewItem']['getAttribute']('vid_start'),_0x4e8db8),_0x2ccb17['writer']['setAttribute']('vid_end',_0x5659fb['viewItem']['getAttribute']('vid_end'),_0x4e8db8));},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['elementToAttribute']({'view':{'name':'span','attributes':{'vid':!0x0}},'model':{'key':'vid','value':_0x54dd89=>_0x54dd89['getAttribute']('vid')}}),this['editor']['model']['schema']['on']('checkAttribute',(_0x1b5fd5,[,_0x28cd09])=>{['vid_start','vid_end','vid']['includes'](_0x28cd09)&&(_0x1b5fd5['return']=!0x0,_0x1b5fd5['stop']());},{'priority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['add'](_0x4cdc32=>{_0x4cdc32['on']('attribute:vid',(_0x5572c0,_0x3df48b,_0x54f879)=>{if('\x20'!=_0x3df48b['item']['data']||_0x3df48b['item']['parent']['maxOffset']>0x1)return;if(!_0x54f879['consumable']['consume'](_0x3df48b['item'],_0x5572c0['name']))return;const _0x341383=_0x54f879['writer'],_0x3c50ff=_0x54f879['mapper']['toViewRange'](_0x3df48b['range']);_0x341383['wrap'](_0x3c50ff,_0x341383['createAttributeElement']('span'));});}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',function(_0x468255){const _0x5a335f=_0x468255['plugins']['get']('RevisionViewer');return(_0x49aed0,_0xfc0063,_0x34f4f0)=>{const _0x48500b=_0xfc0063['markerName']['split'](':')[0x1],_0x2d4f97=_0x5a335f['_getChangeFromId'](_0x48500b);if(!_0x2d4f97)return null;const _0x4c3a62='add'==_0x2d4f97['type']?'split':'merge';if(!_0x34f4f0['consumable']['test'](_0xfc0063['markerRange'],_0x49aed0['name']))return;const _0x3ccaba=_0xfc0063['markerRange']['getWalker'](),_0x3d7df1=_0xfc0063['markerRange']['start'],_0x163720=_0x468255['model']['schema'];let _0x8d1bff=null,_0x14cf40=null,_0x97bb4e=!0x1,_0x3eab06=!0x1;for(const _0xf44339 of _0x3ccaba){const _0x24622a=_0xf44339['item'];_0x97bb4e=_0x97bb4e||_0x163720['isContent'](_0x24622a);const _0x136c4e=_0x34f4f0['mapper']['toViewElement'](_0x24622a);if(_0x136c4e&&_0x136c4e['getCustomProperty']('addHighlight'))return;'elementEnd'==_0xf44339['type']&&(_0x163720['isBlock'](_0x24622a)&&!_0x163720['isLimit'](_0x24622a)&&(_0x24622a['nextSibling']||_0x3d7df1['isAtEnd']?_0x8d1bff&&_0x8d1bff['parent']==_0x24622a||(_0x8d1bff=_0x24622a,_0x3e7111(_0xf44339['previousPosition']),_0x3eab06=!0x0):_0x14cf40=_0x14cf40||_0xf44339['previousPosition']));}function _0x3e7111(_0x3f164c){const _0x22bb99=_0x34f4f0['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x4c3a62}),_0x1607bb=_0x34f4f0['mapper']['toViewPosition'](_0x3f164c);_0x2d4f97['data']['isSuggestion']&&_0x34f4f0['writer']['addClass']('ck-suggestion-marker-'+_0x4c3a62+'-new',_0x22bb99),_0x5a335f['activeChange']==_0x2d4f97&&_0x34f4f0['writer']['addClass']('ck-suggestion-marker--active',_0x22bb99),_0x34f4f0['writer']['insert'](_0x1607bb,_0x22bb99),_0x34f4f0['mapper']['bindElementToMarker'](_0x22bb99,_0xfc0063['markerName']);}_0x97bb4e||_0x3eab06||!_0x14cf40||_0x3e7111(_0x14cf40);};}(this['editor']),{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('removeMarker:revision',(_0x2c0981,_0x108cd7,_0x26e005)=>{const _0xd191a9=_0x26e005['mapper']['markerNameToElements'](_0x108cd7['markerName']);if(_0xd191a9){for(const _0xd1ba30 of _0xd191a9)(_0xd1ba30['hasClass']('ck-suggestion-marker-split')||_0xd1ba30['hasClass']('ck-suggestion-marker-merge'))&&(_0x26e005['mapper']['unbindElementFromMarkerName'](_0xd1ba30,_0x108cd7['markerName']),_0x26e005['writer']['remove'](_0xd1ba30));}},{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',(_0x49bbf7,_0x10f828,_0x32eca3)=>{const _0xe22b8b=_0x10f828['markerName']['split'](':')[0x1],_0x8c1b9=this['_getChangeFromId'](_0xe22b8b);if(!_0x8c1b9)return null;const _0x2ec4b2='add'==_0x8c1b9['type']?'split':'merge';if(_0x32eca3['consumable']['test'](_0x10f828['markerRange'],_0x49bbf7['name']))for(const _0x3735c9 of _0x10f828['markerRange']['getItems']()){if(!_0x3735c9['is']('element','softBreak'))continue;const _0x2eb092=_0x32eca3['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x2ec4b2}),_0x52b54e=_0x32eca3['mapper']['toViewPosition'](this['editor']['model']['createPositionBefore'](_0x3735c9));_0x8c1b9['data']['isSuggestion']&&_0x32eca3['writer']['addClass']('ck-suggestion-marker-'+_0x2ec4b2+'-new',_0x2eb092),this['activeChange']==_0x8c1b9&&_0x32eca3['writer']['addClass']('ck-suggestion-marker--active',_0x2eb092),_0x32eca3['writer']['insert'](_0x52b54e,_0x2eb092),_0x32eca3['mapper']['bindElementToMarker'](_0x2eb092,_0x10f828['markerName']);}},{'priority':'high'}),this['editor']['model']['document']['on']('change',()=>{this['editor']['editing']['view']['change'](_0x351a4=>{for(const _0xe90b56 of this['editor']['model']['document']['getRootNames']()){const _0x550e39=this['editor']['model']['document']['getRoot'](_0xe90b56),_0x51340f=this['editor']['editing']['view']['document']['getRoot'](_0xe90b56);if(_0x51340f){const _0x315b31=_0x550e39['getAttribute']('revisionHistoryAttachChange');if(_0x351a4['removeAttribute']('data-change-id',_0x51340f),_0x351a4['removeClass']('ck-revision-history-root-add',_0x51340f),_0x351a4['removeClass']('ck-revision-history-root-remove',_0x51340f),_0x351a4['removeClass']('ck-revision-history-root--active',_0x51340f),_0x315b31){const _0x47a25a=this['_getChangeFromId'](_0x315b31);if(!_0x47a25a)return null;_0x351a4['setAttribute']('data-change-id',_0x315b31,_0x51340f),_0x351a4['addClass']('ck-revision-history-root-'+_0x47a25a['type'],_0x51340f),this['activeChange']==_0x47a25a&&_0x351a4['addClass']('ck-revision-history-root--active',_0x51340f);}}}});}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'comment','model':_0x484cdb=>'revision-comment:'+_0x484cdb,'converterPriority':'highest'}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'suggestion','model':_0x13a382=>'revision-suggestion:'+_0x13a382,'converterPriority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision-suggestion','view':_0x4ec6ae=>({'name':'suggestion:'+_0x4ec6ae,'group':'revision-suggestion'}),'converterPriority':'highest'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision-suggestion','view':_0x1fd1a5=>{const _0x598623=_0x1fd1a5['markerName']['split'](':')[0x1];return'insertion'!=_0x598623&&'deletion'!=_0x598623?null:{'classes':['ck-suggestion-preview-marker','ck-suggestion-preview-marker-'+_0x598623]};}}),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',(_0x194a73,_0x1532fb,_0x4b5f69)=>{const _0x7ca9f2=_0x4b5f69['mapper']['markerNameToElements'](_0x1532fb['markerName']);if(_0x7ca9f2){for(const _0x3939ae of _0x7ca9f2)_0x3939ae['is']('uiElement')&&(_0x4b5f69['mapper']['unbindElementFromMarkerName'](_0x3939ae,_0x1532fb['markerName']),_0x4b5f69['writer']['remove'](_0x3939ae));}},{'priority':'high'});}['_getChangeFromId'](_0x3f2dfc){return this['_changeIdToChange']['get'](_0x3f2dfc);}['_getViewForChange'](_0x3c260f){return this['_changeView']&&this['_changeView']['destroy'](),this['_changeView']=new Z(this['editor']['locale'],_0x3c260f),this['_changeView'];}['_initInteractions'](){this['editor']['model']['document']['selection']['observeMarkers']('revision'),this['on']('change:activeView',(_0x1f2f40,_0x31db0a,_0x42d6f4,_0x1961a)=>{_0x1961a&&this['_balloon']['remove'](_0x1961a),_0x42d6f4&&(this['_balloon']['add']({'view':_0x42d6f4,'stackId':'revisionHistoryLabel','position':{'target':()=>{const _0x327b59=this['editor']['editing'],_0x4f04ec=this['_getChangeFromId'](_0x42d6f4['changeId']);let _0x3a4851;if(_0x4f04ec['data']['isOnRoot']){const _0x43e1d8=_0x327b59['view']['getDomRoot'](_0x4f04ec['rootName']);_0x3a4851=Array['from'](_0x43e1d8['getClientRects']());}else{const _0x8cce6f=this['editor']['model']['markers']['get']('revision:'+_0x42d6f4['changeId']);_0x3a4851=Array['from'](_0x327b59['mapper']['markerNameToElements'](_0x8cce6f['name']))['map'](_0x2cb9f=>_0x327b59['view']['domConverter']['mapViewToDom'](_0x2cb9f))['map'](_0x3a939b=>Array['from'](_0x3a939b['getClientRects']()))['flat']();}if(!this['_activeViewTarget'])return _0x3a4851[0x0];return _0x3a4851['find'](_0x2405ed=>_0x2405ed['top']-0x3<=this['_activeViewTarget']['y']&&_0x2405ed['bottom']+0x3>=this['_activeViewTarget']['y']&&_0x2405ed['left']-0x3<=this['_activeViewTarget']['x']&&_0x2405ed['right']+0x3>=this['_activeViewTarget']['x'])||_0x3a4851[0x0];}}}),this['_balloon']['showStack']('revisionHistoryLabel'));}),this['on']('change:activeChange',(_0x1c4491,_0x546dc2,_0x252e02,_0x192ebd)=>{this['activeView']=_0x252e02?this['_getViewForChange'](_0x252e02):null,this['editor']['model']['change'](()=>{const _0x413840=this['editor']['editing'];_0x192ebd&&(_0x192ebd['data']['isOnRoot']?_0x413840['view']['change'](_0x20a882=>{_0x20a882['removeClass']('ck-revision-history-root--active',_0x413840['view']['document']['getRoot'](_0x192ebd['rootName']));}):_0x413840['reconvertMarker']('revision:'+_0x192ebd['id'])),_0x252e02&&(_0x252e02['data']['isOnRoot']?_0x413840['view']['change'](_0x3d411e=>{_0x3d411e['addClass']('ck-revision-history-root--active',_0x413840['view']['document']['getRoot'](_0x252e02['rootName']));}):_0x413840['reconvertMarker']('revision:'+_0x252e02['id']));});}),this['listenTo'](this['editor']['editing']['view']['document'],'mouseover',(_0x3cb8ab,_0x283bde)=>{if(this['activeChange'])return;const _0x5a5d6d=this['_findChangeIdFromDomTarget'](_0x283bde['target']),_0x544759=this['_changeIdToChange']['get'](_0x5a5d6d);_0x544759?(this['_activeViewTarget']={'x':_0x283bde['domEvent']['x'],'y':_0x283bde['domEvent']['y']},this['activeView']=this['_getViewForChange'](_0x544759)):(this['_activeViewTarget']=null,this['activeView']=null);}),this['listenTo'](this['editor']['editing']['view']['document'],'mousedown',(_0x3adb23,_0x4f4879)=>{const _0x20cb2d=this['_findChangeIdFromDomTarget'](_0x4f4879['target']),_0x2c76da=this['_changeIdToChange']['get'](_0x20cb2d);_0x2c76da?(this['_activeViewTarget']={'x':_0x4f4879['domEvent']['x'],'y':_0x4f4879['domEvent']['y']},_0x2c76da===this['activeChange']?this['_balloon']['updatePosition']():this['activeChange']=_0x2c76da):(this['_activeViewTarget']=null,this['activeChange']=null);});}['_findChangeIdFromDomTarget'](_0x354daa){do{const _0x550567=_0x354daa['getAttribute']('data-change-id');if(_0x550567)return _0x550567;_0x354daa=_0x354daa['parent'];}while(_0x354daa);return null;}['_cleanMarkers'](){this['editor']['model']['change'](_0x5151db=>{for(const _0x1e8ab1 of this['editor']['model']['markers'])_0x5151db['removeMarker'](_0x1e8ab1);});}}function et(_0x1e92c7,_0xbc0ebd){return(_0x232e7a,_0x29abcd,_0x349103)=>{if(!_0x349103['consumable']['test'](_0x29abcd['markerRange'],_0x232e7a['name']))return;const _0x1bc6aa=_0x29abcd['markerRange']['getWalker'](),_0x197e40=_0x29abcd['markerRange']['start'],_0x391e1e=_0x1e92c7['model']['schema'];let _0x25834b=null,_0x4e7bdb=null,_0x4305df=!0x1,_0x4d824c=!0x1;for(const _0x45ead5 of _0x1bc6aa){const _0x34cc25=_0x45ead5['item'];_0x4305df=_0x4305df||_0x391e1e['isContent'](_0x34cc25);const _0x148a29=_0x349103['mapper']['toViewElement'](_0x34cc25);if(_0x148a29&&_0x148a29['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x45ead5['type']&&(_0x391e1e['isBlock'](_0x34cc25)&&!_0x391e1e['isLimit'](_0x34cc25)&&(_0x34cc25['nextSibling']||_0x197e40['isAtEnd']?_0x25834b&&_0x25834b['parent']==_0x34cc25||(_0x25834b=_0x34cc25,_0x2f43be(_0x45ead5['previousPosition']),_0x4d824c=!0x0):_0x4e7bdb=_0x4e7bdb||_0x45ead5['previousPosition']));}function _0x2f43be(_0x4f89b4){const _0x5a8d1e=_0x349103['mapper']['toViewPosition'](_0x4f89b4),_0x423231=_0x349103['writer']['createUIElement']('span',{'class':'ck-suggestion-preview-marker-'+_0xbc0ebd});_0x349103['writer']['insert'](_0x5a8d1e,_0x423231),_0x349103['mapper']['bindElementToMarker'](_0x423231,_0x29abcd['markerName']);}_0x4305df||_0x4d824c||!_0x4e7bdb||_0x2f43be(_0x4e7bdb);};}class bt extends _0x2418f7{constructor(_0x4b840e){super(_0x4b840e);const _0x58d3bc=_0x4b840e['plugins']['get'](d);this['affectsData']=!0x1,this['listenTo'](_0x58d3bc,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x58d3bc,'change:isEnabled',()=>this['refresh']());}['execute'](){const _0x320a3d=this['editor'],_0x487e61=_0x320a3d['plugins']['get'](d),_0x3d1092=_0x487e61['isReady']?_0x487e61['diff']['newRevisionId']:null;_0x320a3d['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x3d1092);}['refresh'](){const {isReady:_0x979e4c,isEnabled:_0x452aa4}=this['editor']['plugins']['get'](d);this['isEnabled']=_0x979e4c&&_0x452aa4;}}class yt extends _0x2418f7{['_step'];constructor(_0x1bb0d0,{direction:_0x4db897}){super(_0x1bb0d0);const _0x3f3246=_0x1bb0d0['plugins']['get'](d);this['affectsData']=!0x1,this['_step']='forward'===_0x4db897?0x1:-0x1,this['listenTo'](_0x3f3246,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x3f3246,'change:isEnabled',()=>this['refresh']()),this['listenTo'](_0x3f3246,'change:activeChange',()=>this['refresh']());}['execute'](){const _0x5c26fc=this['editor'],_0x629ddc=_0x5c26fc['plugins']['get'](d),{isNavigationMode:_0x2bdafe,currentChangeNumber:_0x3162c8}=_0x629ddc;let _0x750084;if(_0x629ddc['activeChange']=_0x2bdafe?_0x629ddc['diff']['changes']['get'](_0x3162c8+this['_step']):_0x629ddc['diff']['changes']['first'],_0x629ddc['activeChange']['data']['isOnRoot'])_0x750084=_0x5c26fc['editing']['view']['getDomRoot'](_0x629ddc['activeChange']['rootName']);else{const _0x4194c2=_0x5c26fc['model']['markers']['get']('revision:'+_0x629ddc['activeChange']['id']);_0x750084=_0x252131(_0x5c26fc['editing'],_0x4194c2);}_0x2cb8ef({'target':_0x750084,'viewportOffset':0x28});}['refresh'](){const {isNavigationMode:_0x5a2b9c,currentChangeNumber:_0x27f141,numberOfChanges:_0x554f8e,isReady:_0xcd3834,isEnabled:_0x1073e3}=this['editor']['plugins']['get'](d);this['isEnabled']=!!(_0x1073e3&&_0xcd3834&&_0x554f8e)&&(!_0x5a2b9c||(0x1===this['_step']?_0x27f141<_0x554f8e-0x1:_0x27f141>0x0));}}class _i extends _0x8bf82f{constructor(_0x3195f0){super(_0x3195f0);const _0x3750d4=this['bindTemplate'],_0x220626=new _0x3c076b(_0x3195f0),_0x5e026c=new _0x3c076b(_0x3195f0);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',(_0x368872,_0x3cd761)=>_0x368872&&_0x3cd761>0x0),this['bind']('_statusText')['to'](this,'isReady',this,'currentChangeNumber',this,'numberOfChanges',this,'isNavigationMode',(_0x2701c9,_0x4bd474,_0x54db08,_0x4c14cd)=>{if(!_0x2701c9)return y(_0x3195f0,'Loading...');if(!_0x54db08)return y(_0x3195f0,'No\x20changes');const _0x2269a4=y(_0x3195f0,'NUMBER_OF_CHANGES',_0x54db08);return _0x4c14cd?y(_0x3195f0,'X_OF_Y_CHANGES',[_0x4bd474+0x1,_0x54db08]):_0x2269a4;}),_0x220626['set']({'label':y(_0x3195f0,'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'}),_0x5e026c['set']({'label':y(_0x3195f0,'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'}),_0x220626['bind']('isEnabled')['to'](this,'isBackwardNavigationEnabled'),_0x5e026c['bind']('isEnabled')['to'](this,'isForwardNavigationEnabled'),_0x220626['on']('execute',()=>this['fire']('execute','backward')),_0x5e026c['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',_0x3750d4['if']('_isStatusLabelVisible','ck-hidden',_0x51422b=>!_0x51422b)]},'children':[{'text':_0x3750d4['to']('isNavigationMode',_0x44a34d=>_0x44a34d?y(_0x3195f0,'EDIT_X_OF_Y_REVISIONS')+':\x20':y(_0x3195f0,'Total')+':\x20')}]},{'text':_0x3750d4['to']('_statusText')}]},new _0x7bb676(),{'tag':'div','attributes':{'class':['ck-revision-history-ui__changes-navigation__navigation']},'children':[_0x220626,_0x5e026c]}]});}}const ce='ck-editor__editable__loading-overlay';class de extends _0x5edd62{static get['pluginName'](){return'RevisionViewerLoadingOverlay';}['show'](){const _0x2ab467=this['editor']['editing']['view'];_0x2ab467['change'](_0x1a3454=>{for(const _0x286f55 of _0x2ab467['document']['roots'])_0x1a3454['addClass'](ce,_0x286f55);});}['hide'](){const _0x409825=this['editor']['editing']['view'];_0x409825['change'](_0x26b356=>{for(const _0xb49fe8 of _0x409825['document']['roots'])_0x26b356['removeClass'](ce,_0xb49fe8);});}}class R extends _0x5edd62{static get['pluginName'](){return'RevisionViewerUI';}static get['requires'](){return[d,de];}['init'](){const _0x58e657=this['editor'],_0x276272=_0x58e657['plugins']['get'](d),_0xc0798a=_0x58e657['plugins']['get'](de);_0x58e657['ui']['componentFactory']['add']('exitToEditing',_0x12dff5=>{const _0x243651=new _0x3c076b(_0x12dff5);return _0x243651['set']({'label':y(_0x12dff5,'Back\x20to\x20editing'),'icon':_0x42fd72['undo'],'withText':!0x0,'tooltip':!0x0,'class':'ck-revision-history-ui__back-to-editing'}),this['listenTo'](_0x243651,'execute',()=>{_0x58e657['config']['get']('revisionHistory')['closeRevisionViewerCallback']();}),_0x243651;}),_0x58e657['ui']['componentFactory']['add']('restoreRevision',_0x42fc02=>{const _0x210c6a=new _0x3c076b(_0x42fc02);return _0x210c6a['set']({'label':y(_0x42fc02,'Restore\x20this\x20revision'),'withText':!0x0,'tooltip':!0x0}),_0x210c6a['bind']('isEnabled')['to'](_0x58e657['commands']['get']('restoreRevision')),this['listenTo'](_0x210c6a,'execute',()=>_0x58e657['execute']('restoreRevision')),_0x210c6a;}),_0x58e657['ui']['componentFactory']['add']('changesNavigation',_0x979dd2=>{const _0x44d62d=new _i(_0x979dd2),_0x282e81=_0x58e657['commands']['get']('showPreviousChange'),_0x4f3246=_0x58e657['commands']['get']('showNextChange');return _0x44d62d['bind']('isBackwardNavigationEnabled')['to'](_0x282e81,'isEnabled'),_0x44d62d['bind']('isForwardNavigationEnabled')['to'](_0x4f3246,'isEnabled'),_0x44d62d['bind']('isReady','currentChangeNumber','numberOfChanges','isNavigationMode')['to'](_0x276272),this['listenTo'](_0x44d62d,'execute',(_0x10cea9,_0x1642c8)=>{_0x58e657['execute']('forward'===_0x1642c8?'showNextChange':'showPreviousChange');}),_0x44d62d;}),_0xc0798a['show'](),_0x276272['on']('change:isReady',(_0x899fb0,_0x4cbaa6,_0x461d73)=>{_0x461d73?_0xc0798a['hide']():_0xc0798a['show']();});}}class kt extends at{['_resizeObserver']=null;constructor(_0x3051b6,_0x5c928f){super(_0x3051b6,_0x5c928f);const _0x15416b=this['bindTemplate'];this['set']({'label':y(_0x3051b6,'Revision\x20name'),'_tooltipString':''}),this['fieldView']['placeholder']=y(_0x3051b6,'Enter\x20the\x20revision\x20name'),this['extendTemplate']({'tag':'span','attributes':{'class':['ck-revision-history-sidebar__revision-name'],'data-cke-tooltip-text':_0x15416b['to']('_tooltipString'),'data-cke-tooltip-position':'s','data-cke-tooltip-class':'ck-tooltip_multi-line'}});}['render'](){super['render'](),this['_resizeObserver']=new mt(this['fieldView']['element'],()=>this['_updateTooltipText']()),this['listenTo'](this['fieldView'],'input',()=>this['_updateTooltipText']());}['destroy'](){super['destroy'](),this['_resizeObserver']&&this['_resizeObserver']['destroy']();}['_updateTooltipText'](){const _0x16c97b=this['fieldView']['element'];this['_tooltipString']=_0x16c97b['scrollWidth']>_0x16c97b['clientWidth']&&_0x16c97b['value']||'';}}class ti extends _0x8bf82f{constructor(_0x2873b3,_0x10cd83,_0x58b04c){super(_0x2873b3);const _0xe7557e=new _0x341eb5();_0xe7557e['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 _0x2f2c35=['ck','ck-revision-history-sidebar__revision-author'];_0x58b04c&&_0x2f2c35['push']('ck-revision-history-sidebar__revision-author_creator');const _0x4bef8d=[{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__revision-author__name'],'title':y(_0x2873b3,_0x58b04c?'Revision\x20creator':'Revision\x20author')},'children':[_0xe7557e,_0x10cd83['name']]}];this['setTemplate']({'tag':'li','attributes':{'class':_0x2f2c35},'children':_0x4bef8d});}}function ni(_0x4887bc,_0x179ce7){const _0x5becd3=_0x4887bc['bindTemplate'],_0x37932b=_0x4887bc['locale'],_0x542839=_0x4c808e(_0x37932b);_0x542839['panelPosition']='sw';const _0x147f89=function(_0x1a06b6,_0x240236){const _0x2d48d6=function(_0x506d71,_0x49d455){const _0x36d32d=_0x506d71['locale'],_0x4b30d5={'Compare\x20against\x20selected':y(_0x36d32d,'Compare\x20against\x20selected'),'Name\x20this\x20revision':y(_0x36d32d,'Name\x20this\x20revision'),'Restore\x20this\x20revision':y(_0x36d32d,'Restore\x20this\x20revision')};return _0x49d455['map'](_0x2148f2=>{const _0x1af46f=_0x4b30d5[_0x2148f2['name']];return _0x1af46f&&_0x1af46f!==_0x2148f2['name']&&(_0x2148f2['name']=_0x1af46f),_0x2148f2;});}(_0x1a06b6,_0x240236),_0x311afa=new _0x546aee();for(const _0x51a368 of _0x2d48d6){const _0x6acb72={'type':'button','model':new to({'label':_0x51a368['name'],'class':_0x51a368['class'],'withText':!0x0,'role':'menuitem','_action':_0x51a368['action']})};_0x6acb72['model']['bind']('isEnabled')['to'](_0x1a06b6,'isActionsDropdownOpen',_0x50615e=>'function'!=typeof _0x51a368['isEnabled']||(!_0x50615e||_0x51a368['isEnabled'](_0x1a06b6))),_0x311afa['add'](_0x6acb72);}return _0x311afa;}(_0x4887bc,_0x179ce7);return _0x4887bc['bind']('isActionsDropdownOpen')['to'](_0x542839,'isOpen'),_0x542839['buttonView']['set']({'label':y(_0x37932b,'Show\x20more\x20items'),'tooltip':!0x0,'tooltipPosition':'sw','icon':_0x42fd72['threeVerticalDots']}),_0x542839['extendTemplate']({'attributes':{'class':['ck-revision-history-sidebar__revision__actions',_0x5becd3['if']('isActionsDropdownOpen','ck-on')]},'on':{'click':_0x5becd3['to'](_0x5278c9=>_0x5278c9['stopPropagation']())}}),_0x542839['on']('execute',_0x2f75ac=>{_0x4887bc['isReady']&&'function'==typeof _0x2f75ac['source']['_action']&&_0x2f75ac['source']['_action'](_0x4887bc);}),_0x19906a(_0x542839,_0x147f89,{'role':'menu'}),_0x542839['listenTo'](_0x4887bc,'change:isActionsDropdownOpen',(_0x25d11c,_0x3f5494,_0x569275)=>{if(_0x569275)for(const _0x528161 of _0x542839['listView']['items']){const _0x18b490=_0x528161['children']['first'],_0x2571a8=_0x179ce7['find'](_0x7c1e73=>_0x7c1e73['action']===_0x18b490['_action'])['isVisible'];_0x528161['isVisible']=void 0x0===_0x2571a8||_0x2571a8(_0x4887bc);}}),_0x542839;}class ai extends/* #__PURE__ -- @preserve */
|
|
26
|
-
|
|
23
|
+
import{Plugin as _0x1a2be0,Context as _0x34b4ce,PendingActions as _0x565f37,icons as _0x8785f0,Command as _0x8e5b0,ElementApiMixin as rt,Editor as it}from'@ckeditor/ckeditor5-core/dist/index.js';import{ObservableMixin as _0x13b2ce,uid as _0x4693f2,Collection as _0x4fae73,logWarning as _0x5ea378,FocusTracker as _0xa25151,KeystrokeHandler as _0xfe6e2d,scrollViewportToShowTarget as _0x41fd94,ResizeObserver as mt,ElementReplacer as nt,CKEditorError as _0x1e00de}from'@ckeditor/ckeditor5-utils/dist/index.js';import{Users as _0x1945a4,getMarkerDomElement as _0x3271cb,ConfirmMixin as _0x2f8a30,sanitizeEditorConfig as _0x1e7983}from'ckeditor5-collaboration/dist/index.js';import{ViewDocumentFragment as _0x3abca1,ViewText as _0x297982,ViewElement as _0x7eba0d,Element as ft,Range as vt,Position as gt,DocumentFragment as wt,ViewContainerElement as _0x5626b6,ViewAttributeElement as _0x4b1cea,ViewEmptyElement as _0x578701,ViewRawElement as _0x427790,ViewUIElement as _0x364ff0,Text as _t}from'@ckeditor/ckeditor5-engine/dist/index.js';import{cloneDeep as _0x463027,set as _0x3466aa,unset as _0xf021f5,isEqual as _0x546f00}from'lodash-es';import{View as _0x3165d1,injectCssTransitionDisabler as ts,submitHandler as _0x2360be,LabeledFieldView as at,createLabeledInputText as _0xfbddd4,createDropdown as _0x10fd7b,ListView as te,ListItemView as _0x2497df,ButtonView as _0x53da7b,MenuBarMenuView as _0x151158,MenuBarMenuListView as _0x3dbca6,MenuBarMenuListItemView as _0xe2483b,MenuBarMenuListItemButtonView as _0x5cfe9f,ContextualBalloon as _0x305120,ToolbarSeparatorView as _0x9fbac0,IconView as _0x8be0d8,addListToDropdown as _0x4a5947,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 _0x6f6604}from'luxon';class a extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x13b2ce(){['id'];['creator'];['authors'];['diffData'];['toVersion'];['fromVersion'];['model'];constructor(_0x37425a){super(),this['id']=_0x37425a['id']||_0x4693f2(),this['creator']=_0x37425a['creator']||null,this['authors']=_0x37425a['authors']||[],this['diffData']=_0x37425a['diffData']||null,this['toVersion']=_0x37425a['toVersion']||0x0,this['fromVersion']=_0x37425a['fromVersion']||0x0,this['set']('name',_0x37425a['name']||''),this['set']('createdAt',_0x37425a['createdAt']||new Date()),this['set']('attributes',_0x37425a['attributes']||{});}['setName'](_0xa2bfd2){this['_update']({'name':_0xa2bfd2});}['setAttribute'](_0x1486a3,_0x26fec7){const _0x26b514=_0x463027(this['attributes']);_0x3466aa(_0x26b514,_0x1486a3,_0x26fec7),this['_update']({'attributes':_0x26b514});}['removeAttribute'](_0x465c98){const _0x7054d3=_0x463027(this['attributes']);_0xf021f5(_0x7054d3,_0x465c98),this['_update']({'attributes':_0x7054d3});}['_update'](_0x10f04f,_0x372e3e=!0x1){let _0x5ca899=!0x1;const _0x52b8c5={'id':this['id']},_0x388503=['name','createdAt','diffData','authors','attributes','toVersion','fromVersion','creatorId'];for(const _0x4d20e7 of _0x388503){const _0x52091f=_0x10f04f[_0x4d20e7];void 0x0!==_0x52091f&&_0x52091f!==this[_0x4d20e7]&&(this[_0x4d20e7]=_0x52091f,_0x52b8c5[_0x4d20e7]=_0x52091f,_0x5ca899=!0x0);}_0x5ca899&&(_0x52b8c5['authors']&&(_0x52b8c5['authorsIds']=_0x52b8c5['authors']['map'](_0x486cb6=>_0x486cb6['id']),delete _0x52b8c5['authors']),this['fire']('_update',_0x52b8c5,_0x372e3e));}['toJSON'](){return{'id':this['id'],'name':this['name'],'creatorId':this['creator']?this['creator']['id']:null,'authorsIds':this['authors']['map'](_0xabf7be=>_0xabf7be['id']),'diffData':this['diffData'],'createdAt':this['createdAt'],'attributes':this['attributes'],'fromVersion':this['fromVersion'],'toVersion':this['toVersion']};}}class A extends _0x1a2be0{['_revisions'];static get['requires'](){return[_0x1945a4];}static get['pluginName'](){return'RevisionsRepository';}get['length'](){return this['_revisions']['length'];}constructor(_0x19e6d1){super(_0x19e6d1),this['_revisions']=new _0x4fae73();}['afterInit'](){!function(_0x5a0e27){function _0x4ae5e3(_0x49d5ab,_0x478f33,_0x589efc){const _0x5c2b68={};_0x5c2b68[_0x4946bc([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])]={0x10:0xa,0x18:0xc,0x20:0xe},_0x5c2b68[_0x4946bc([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],_0x5c2b68[_0x4946bc([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],_0x5c2b68[_0x4946bc([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],_0x5c2b68[_0x4946bc([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],_0x5c2b68[_0x4946bc([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],_0x5c2b68[_0x4946bc([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],_0x5c2b68[_0x4946bc([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],_0x5c2b68[_0x4946bc([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],_0x5c2b68[_0x4946bc([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],_0x5c2b68[_0x4946bc([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 _0x323c08=new Uint8Array(0x10);for(let _0x35babe=0xf;_0x35babe>=0x0;--_0x35babe)_0x323c08[_0x35babe]=_0x589efc%0x100,_0x589efc=parseInt(_0x589efc/0x100);let _0xbdce20=null,_0x4dcbcf=0x10;const _0xca98ef=new Uint8Array(_0x478f33),_0x196036=[],_0x18fa1d=[];_0x2c9ef5();for(let _0x729e5d=0x0;_0x729e5d<_0x49d5ab[_0x4946bc([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x729e5d++)0x10===_0x4dcbcf&&(_0xbdce20=_0x24769c(_0x323c08),_0x4dcbcf=0x0,_0x49a4f8(_0x323c08)),_0x49d5ab[_0x729e5d]^=_0xbdce20[_0x4dcbcf++];return _0x49d5ab;function _0x138183(_0xa3882a){const _0x19402e=[];for(let _0x1f3139=0x0;_0x1f3139<_0xa3882a[_0x4946bc([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1f3139+=0x4)_0x19402e[_0x4946bc([0x70,0x75,0x73,0x68])](_0xa3882a[_0x1f3139]<<0x18|_0xa3882a[_0x1f3139+0x1]<<0x10|_0xa3882a[_0x1f3139+0x2]<<0x8|_0xa3882a[_0x1f3139+0x3]);return _0x19402e;}function _0x49a4f8(_0x40f7be){for(let _0x1f226d=0xf;_0x1f226d>=0x0;_0x1f226d--){if(0xff!==_0x40f7be[_0x1f226d]){_0x40f7be[_0x1f226d]++;break;}_0x40f7be[_0x1f226d]=0x0;}}function _0x24769c(_0x2f921e){const _0x401dca=_0x196036[_0x4946bc([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x1,_0x74dd70=[0x0,0x0,0x0,0x0];let t=_0x138183(_0x2f921e);for(let _0x5658e9=0x0;_0x5658e9<0x4;_0x5658e9++)t[_0x5658e9]^=_0x196036[0x0][_0x5658e9];for(let _0x3394ba=0x1;_0x3394ba<_0x401dca;_0x3394ba++){for(let _0x3718de=0x0;_0x3718de<0x4;_0x3718de++)_0x74dd70[_0x3718de]=_0x5c2b68[_0x4946bc([0x54,0x31])][t[_0x3718de]>>0x18&0xff]^_0x5c2b68[_0x4946bc([0x54,0x32])][t[(_0x3718de+0x1)%0x4]>>0x10&0xff]^_0x5c2b68[_0x4946bc([0x54,0x33])][t[(_0x3718de+0x2)%0x4]>>0x8&0xff]^_0x5c2b68[_0x4946bc([0x54,0x34])][0xff&t[(_0x3718de+0x3)%0x4]]^_0x196036[_0x3394ba][_0x3718de];t=_0x74dd70[_0x4946bc([0x73,0x6c,0x69,0x63,0x65])]();}const _0x549c8e=new Uint8Array(0x10);let _0x349930;for(let _0x460868=0x0;_0x460868<0x4;_0x460868++)_0x349930=_0x196036[_0x401dca][_0x460868],_0x549c8e[0x4*_0x460868]=0xff&(_0x5c2b68[_0x4946bc([0x53])][t[_0x460868]>>0x18&0xff]^_0x349930>>0x18),_0x549c8e[0x4*_0x460868+0x1]=0xff&(_0x5c2b68[_0x4946bc([0x53])][t[(_0x460868+0x1)%0x4]>>0x10&0xff]^_0x349930>>0x10),_0x549c8e[0x4*_0x460868+0x2]=0xff&(_0x5c2b68[_0x4946bc([0x53])][t[(_0x460868+0x2)%0x4]>>0x8&0xff]^_0x349930>>0x8),_0x549c8e[0x4*_0x460868+0x3]=0xff&(_0x5c2b68[_0x4946bc([0x53])][0xff&t[(_0x460868+0x3)%0x4]]^_0x349930);return _0x549c8e;}function _0x2c9ef5(){const _0xdb9a97=_0x5c2b68[_0x4946bc([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])][_0xca98ef[_0x4946bc([0x6c,0x65,0x6e,0x67,0x74,0x68])]];for(let _0x1cc5b0=0x0;_0x1cc5b0<=_0xdb9a97;_0x1cc5b0++)_0x196036[_0x4946bc([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]),_0x18fa1d[_0x4946bc([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]);const _0x5448f2=0x4*(_0xdb9a97+0x1),_0x297915=_0xca98ef[_0x4946bc([0x6c,0x65,0x6e,0x67,0x74,0x68])]/0x4,_0x57daeb=_0x138183(_0xca98ef);let _0x3155ca;for(let _0x475122=0x0;_0x475122<_0x297915;_0x475122++)_0x3155ca=_0x475122>>0x2,_0x196036[_0x3155ca][_0x475122%0x4]=_0x57daeb[_0x475122],_0x18fa1d[_0xdb9a97-_0x3155ca][_0x475122%0x4]=_0x57daeb[_0x475122];let _0xb69ed2,_0x5c9d89=0x0,t=_0x297915;for(;t<_0x5448f2;){_0xb69ed2=_0x57daeb[_0x297915-0x1],_0x57daeb[0x0]^=_0x5c2b68[_0x4946bc([0x53])][_0xb69ed2>>0x10&0xff]<<0x18^_0x5c2b68[_0x4946bc([0x53])][_0xb69ed2>>0x8&0xff]<<0x10^_0x5c2b68[_0x4946bc([0x53])][0xff&_0xb69ed2]<<0x8^_0x5c2b68[_0x4946bc([0x53])][_0xb69ed2>>0x18&0xff]^_0x5c2b68[_0x4946bc([0x72,0x63,0x6f,0x6e])][_0x5c9d89]<<0x18,_0x5c9d89+=0x1;for(let _0x410a4f=0x1;_0x410a4f<_0x297915/0x2;_0x410a4f++)_0x57daeb[_0x410a4f]^=_0x57daeb[_0x410a4f-0x1];_0xb69ed2=_0x57daeb[_0x297915/0x2-0x1],_0x57daeb[_0x297915/0x2]^=_0x5c2b68[_0x4946bc([0x53])][0xff&_0xb69ed2]^_0x5c2b68[_0x4946bc([0x53])][_0xb69ed2>>0x8&0xff]<<0x8^_0x5c2b68[_0x4946bc([0x53])][_0xb69ed2>>0x10&0xff]<<0x10^_0x5c2b68[_0x4946bc([0x53])][_0xb69ed2>>0x18&0xff]<<0x18;for(let _0x41e391=_0x297915/0x2+0x1;_0x41e391<_0x297915;_0x41e391++)_0x57daeb[_0x41e391]^=_0x57daeb[_0x41e391-0x1];let _0x144649,_0x281394,_0x17f925=0x0;for(;_0x17f925<_0x297915&&t<_0x5448f2;)_0x144649=t>>0x2,_0x281394=t%0x4,_0x196036[_0x144649][_0x281394]=_0x57daeb[_0x17f925],_0x18fa1d[_0xdb9a97-_0x144649][_0x281394]=_0x57daeb[_0x17f925++],t++;}for(let _0x5a2990=0x1;_0x5a2990<_0xdb9a97;_0x5a2990++)for(let _0x39a6d4=0x0;_0x39a6d4<0x4;_0x39a6d4++)_0xb69ed2=_0x18fa1d[_0x5a2990][_0x39a6d4],_0x18fa1d[_0x5a2990][_0x39a6d4]=_0x5c2b68[_0x4946bc([0x55,0x31])][_0xb69ed2>>0x18&0xff]^_0x5c2b68[_0x4946bc([0x55,0x32])][_0xb69ed2>>0x10&0xff]^_0x5c2b68[_0x4946bc([0x55,0x33])][_0xb69ed2>>0x8&0xff]^_0x5c2b68[_0x4946bc([0x55,0x34])][0xff&_0xb69ed2];}}function _0x4946bc(_0x4a053e){return _0x4a053e['map'](_0x2fe58d=>String['fromCharCode'](_0x2fe58d))['join']('');}(_0x3800cc=>{function _0x325f01(){const _0x303b76=[{[_0x4946bc([0x69,0x64])]:0x1,[_0x4946bc([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x4946bc([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73]),[_0x4946bc([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x4946bc([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x4946bc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x4946bc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x4946bc([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x4946bc([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x4946bc([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]:[{[_0x4946bc([0x69,0x64])]:0x2,[_0x4946bc([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x4946bc([0x54,0x72,0x61,0x63,0x6b,0x20,0x43,0x68,0x61,0x6e,0x67,0x65,0x73]),[_0x4946bc([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x4946bc([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x4946bc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x4946bc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x4946bc([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x4946bc([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]),[_0x4946bc([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x4946bc([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x4946bc([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x4946bc([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}}],[_0x4946bc([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x4946bc([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x4946bc([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x4946bc([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x4946bc([0x69,0x64])]:0x3,[_0x4946bc([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x4946bc([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e]),[_0x4946bc([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x4946bc([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x6f,0x6f,0x6b,0x75,0x70]),[_0x4946bc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x4946bc([0x70,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x4946bc([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x4946bc([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x4946bc([0x69,0x64])]:0x4,[_0x4946bc([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x4946bc([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x20,0x48,0x69,0x73,0x74,0x6f,0x72,0x79]),[_0x4946bc([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x4946bc([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x4946bc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x4946bc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x4946bc([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x4946bc([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]),[_0x4946bc([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x4946bc([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x4946bc([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x4946bc([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x4946bc([0x69,0x64])]:0x5,[_0x4946bc([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x4946bc([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x20,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65]),[_0x4946bc([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x4946bc([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65,0x55,0x49]),[_0x4946bc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x4946bc([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]),[_0x4946bc([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x4946bc([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x4946bc([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x4946bc([0x66,0x67,0x69])]:[0xc]}},{[_0x4946bc([0x69,0x64])]:0x6,[_0x4946bc([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x4946bc([0x46,0x6f,0x72,0x6d,0x61,0x74,0x20,0x50,0x61,0x69,0x6e,0x74,0x65,0x72]),[_0x4946bc([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x4946bc([0x46,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x55,0x49]),[_0x4946bc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x4946bc([0x66,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x4946bc([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x4946bc([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x4946bc([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x4946bc([0x66,0x67,0x69])]:[0xc]}},{[_0x4946bc([0x69,0x64])]:0x7,[_0x4946bc([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x4946bc([0x53,0x6c,0x61,0x73,0x68,0x20,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64]),[_0x4946bc([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x4946bc([0x53,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x55,0x49]),[_0x4946bc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x4946bc([0x73,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x4946bc([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x4946bc([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x4946bc([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x4946bc([0x66,0x67,0x69])]:[0xc]}},{[_0x4946bc([0x69,0x64])]:0x8,[_0x4946bc([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x4946bc([0x54,0x61,0x62,0x6c,0x65,0x20,0x6f,0x66,0x20,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73]),[_0x4946bc([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x4946bc([0x54,0x61,0x62,0x6c,0x65,0x4f,0x66,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x4946bc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x4946bc([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]),[_0x4946bc([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x4946bc([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x4946bc([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x4946bc([0x66,0x67,0x69])]:[0xc]}},{[_0x4946bc([0x69,0x64])]:0x9,[_0x4946bc([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x4946bc([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65]),[_0x4946bc([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x4946bc([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x55,0x49]),[_0x4946bc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x4946bc([0x74,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x4946bc([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x4946bc([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x4946bc([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x4946bc([0x66,0x67,0x69])]:[0xc,0xe]}},{[_0x4946bc([0x69,0x64])]:0xa,[_0x4946bc([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x4946bc([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]),[_0x4946bc([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x4946bc([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]),[_0x4946bc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x4946bc([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]),[_0x4946bc([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x4946bc([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x4946bc([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x4946bc([0x66,0x67,0x69])]:[0xc]}},{[_0x4946bc([0x69,0x64])]:0xb,[_0x4946bc([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x4946bc([0x41,0x49,0x20,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74]),[_0x4946bc([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x4946bc([0x41,0x49,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74,0x55,0x49]),[_0x4946bc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x4946bc([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x4946bc([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x4946bc([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x4946bc([0x69,0x64])]:0xc,[_0x4946bc([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x4946bc([0x50,0x72,0x6f,0x64,0x75,0x63,0x74,0x69,0x76,0x69,0x74,0x79,0x20,0x70,0x61,0x63,0x6b])},{[_0x4946bc([0x69,0x64])]:0xd,[_0x4946bc([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x4946bc([0x43,0x61,0x73,0x65,0x20,0x43,0x68,0x61,0x6e,0x67,0x65]),[_0x4946bc([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x4946bc([0x43,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x55,0x49]),[_0x4946bc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x4946bc([0x63,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x4946bc([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x4946bc([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x4946bc([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x4946bc([0x66,0x67,0x69])]:[0xc]}},{[_0x4946bc([0x69,0x64])]:0xe,[_0x4946bc([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x4946bc([0x44,0x72,0x75,0x70,0x61,0x6c,0x20,0x70,0x61,0x63,0x6b]),[_0x4946bc([0x66,0x6f,0x72,0x62,0x69,0x64,0x64,0x65,0x6e,0x48,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x4946bc([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])},{[_0x4946bc([0x69,0x64])]:0xf,[_0x4946bc([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x4946bc([0x4d,0x75,0x6c,0x74,0x69,0x20,0x4c,0x65,0x76,0x65,0x6c,0x20,0x4c,0x69,0x73,0x74]),[_0x4946bc([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x4946bc([0x4d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x4946bc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x4946bc([0x6d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x4946bc([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x4946bc([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x4946bc([0x69,0x64])]:0x10,[_0x4946bc([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x4946bc([0x4d,0x65,0x72,0x67,0x65,0x20,0x54,0x61,0x67,0x73]),[_0x4946bc([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x4946bc([0x4d,0x65,0x72,0x67,0x65,0x54,0x61,0x67,0x73,0x55,0x49]),[_0x4946bc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x4946bc([0x6d,0x65,0x72,0x67,0x65,0x54,0x61,0x67,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x4946bc([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x4946bc([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x4946bc([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x4946bc([0x66,0x67,0x69])]:[0xc]}}];return _0x4c0b5c(_0x303b76),_0x303b76;function _0x168289(_0x6eaeb){return 0x1<<_0x6eaeb-0x1;}function _0x4c0b5c(_0x1120e2){_0x1120e2[_0x4946bc([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x519f20=>{_0x519f20[_0x4946bc([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]=_0x168289(_0x519f20[_0x4946bc([0x69,0x64])]),_0x320999(_0x519f20)&&_0x519f20[_0x4946bc([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x4c0b5c(_0x519f20[_0x4946bc([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]);});}}function _0x320999(_0x46b32d){return _0x4946bc([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])in _0x46b32d;}const _0x1d3c51=[0x1,0x55,0x4e,0x73,0xc6,0xff,0x32,0x70,0x53,0x57,0xa1],_0x3b60d9=[0x7f,0x22,0x6,0xd3,0xa7,0x56,0x92,0xc7,0x84,0xa0,0x12];function _0x5e998d(_0x2b5578){const _0x531f61=[0x1d,0xdd,0xaf,0x5a,0xe7,0x85,0xef,0xf0,0x4b,0xb4];return _0x32db78(_0x2b5578,new Uint8Array([..._0x1d3c51,..._0x531f61,..._0x3b60d9]));}function _0x32db78(_0x3cc18e,_0x4bda40){const _0x3c1361=_0x2c36b4(_0x3cc18e),_0x554f9c=Array[_0x4946bc([0x66,0x72,0x6f,0x6d])](_0x1ddbdb(_0x3c1361)),_0x21a943=_0x554f9c[_0x4946bc([0x70,0x6f,0x70])](),_0x35fbfb=_0x554f9c[_0x4946bc([0x70,0x6f,0x70])]();return _0x38bdee(_0x4ae5e3(_0x554f9c,_0x4bda40,_0x35fbfb+0x100*_0x21a943));}function _0x2c36b4(_0x36c220){const _0x53fdce=atob(_0x36c220),[_0x3cb650,_0x165e42]=_0x53fdce[_0x4946bc([0x73,0x70,0x6c,0x69,0x74])](_0x4946bc([0x2d]));try{if(atob(_0x165e42))return atob(_0x3cb650);}catch(_0x55e26a){}return _0x53fdce;}function _0x1647a9(_0x3fa960){try{const _0x1f87a3=_0x5e998d(_0x3fa960),_0x4e6565=JSON[_0x4946bc([0x70,0x61,0x72,0x73,0x65])](_0x1f87a3),_0x18cb95=parseInt(_0x4e6565[_0x4946bc([0x31])]),_0x2e90bc=_0x4e6565[_0x4946bc([0x32])]||'',_0x4bb593=parseInt(_0x4e6565[_0x4946bc([0x33])]),_0x47110f=parseInt(_0x4e6565[_0x4946bc([0x34])])||0x0,_0x50b052=parseInt(_0x4e6565[_0x4946bc([0x35])])||0x0;return{[_0x4946bc([0x70,0x72,0x6f,0x64,0x75,0x63,0x74,0x4e,0x61,0x6d,0x65])]:_0x2e90bc,[_0x4946bc([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])]:_0x47110f,[_0x4946bc([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]:_0x18cb95,[_0x4946bc([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]:_0x4bb593,[_0x4946bc([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]:_0x50b052};}catch(_0x4cfd29){return null;}}const _0x5cf105=_0x325f01(),_0x112757={[_0x4946bc([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])]:_0x5ce9d8,[_0x4946bc([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])]:_0x30a238,[_0x4946bc([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])]:_0x5d8f18},_0x59fff5=_0x3800cc[_0x4946bc([0x63,0x6f,0x6e,0x73,0x74,0x72,0x75,0x63,0x74,0x6f,0x72])][_0x4946bc([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])],_0x2ed0d1=_0x4946bc([0x63,0x6f,0x6e,0x74,0x65,0x78,0x74])in _0x3800cc?_0x3800cc['context']:_0x3800cc['editor'],_0x5ec0a6=_0x4946bc([0x34,0x30,0x34,0x38,0x31,0x32,0x32,0x34]),_0x135b09=_0x4946bc([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]),_0x38634f=_0x2ed0d1['config']['get'](_0x4946bc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x3b3ae2=_0x5cf105[_0x4946bc([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x320999)[_0x4946bc([0x66,0x69,0x6e,0x64])](_0x3f35af=>_0x3f35af[_0x4946bc([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]===_0x59fff5);function _0x53f460(_0x271bd6,_0xd0f735){_0x112757[_0xd0f735[_0x4946bc([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]](_0x271bd6,_0xd0f735),_0xd0f735[_0x4946bc([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0xd0f735[_0x4946bc([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])][_0x4946bc([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x7b99ee=>_0x342cdf(_0x2ed0d1,_0x7b99ee[_0x4946bc([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))[_0x4946bc([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x5aa30b=>_0x53f460(_0x271bd6,_0x5aa30b));}function _0x5ce9d8(_0x548b13,_0x197a7e){_0x27536a(_0x40ded6(_0x548b13,_0x197a7e),_0x197a7e);}function _0x30a238(_0x375157,_0x3bb5b5){function _0x520d5d(_0x2f5e01,_0x12ab77){try{if(_0x342cdf(_0x2ed0d1,_0x4946bc([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))&&_0x2f5e01){const _0x1f8793=_0x55fba9(_0x2ed0d1,_0x4946bc([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))[_0x4946bc([0x5f,0x65,0x78,0x65,0x63,0x75,0x74,0x65,0x53,0x75,0x67,0x67,0x65,0x73,0x74,0x69,0x6f,0x6e])];if(parseInt(_0x1f8793)/0x2>_0x2f5e01[_0x4946bc([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])])return _0x1f4b5b(_0x12ab77[_0x4946bc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4946bc([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}return _0x40ded6(_0x2f5e01,_0x12ab77);}catch(_0x44e6c4){return _0x1f4b5b(_0x12ab77[_0x4946bc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4946bc([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}_0x27536a(_0x520d5d(_0x375157,_0x3bb5b5),_0x3bb5b5);}function _0x5d8f18(_0x44eb7d,_0xb85fd6){const _0x922105=_0x3b60d9[0x0]*_0x1d3c51[0x1],_0x143a76=_0x3b60d9[0x0]*_0x1d3c51[0x2],_0x1f93c7=_0x3b60d9[0x2]*_0x1d3c51[0x2];_0x342cdf(_0x2ed0d1,_0x4946bc([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x55fba9(_0x2ed0d1,_0x4946bc([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x4946bc([0x73,0x74,0x61,0x74,0x65])]==_0x4946bc([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&(window[_0x5d4eed()]=_0x1f93c7);function _0x5b86e3(_0x244204,_0x471c8f){try{return _0x356484()?_0x1f4b5b(_0x471c8f[_0x4946bc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4946bc([0x56,0x61,0x6c,0x69,0x64])):_0x40ded6(_0x244204,_0x471c8f);}catch(_0x6de39e){return _0x1f4b5b(_0x471c8f[_0x4946bc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4946bc([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x4e081b(_0xc4aa05,_0x512c74){const _0x2a3a2d=0x7;if(_0xc4aa05==_0x512c74[_0x4946bc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4946bc([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]))_0xcf836c();else{if(_0xc4aa05==_0x512c74[_0x4946bc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4946bc([0x54,0x72,0x69,0x61,0x6c])){const _0x405097=_0x13bbdb();_0x405097&&_0x3e8a3a(_0x405097,_0x512c74[_0x4946bc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);const _0x5a7909=_0x2e0603();window[_0x4946bc([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x3e8a3a(_0x4946bc([0x74,0x69,0x6d,0x65]),_0x512c74[_0x4946bc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);},_0x5a7909);const _0x4ef315=_0x55fba9(_0x2ed0d1,_0x4946bc([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x4946bc([0x5f,0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73])];_0x4ef315[_0x4946bc([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x2a3a2d?_0x3e8a3a(_0x4946bc([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x512c74[_0x4946bc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]):_0x4ef315['on'](_0x4946bc([0x61,0x64,0x64]),()=>{_0x4ef315[_0x4946bc([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x2a3a2d&&_0x3e8a3a(_0x4946bc([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x512c74[_0x4946bc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);});}}}function _0x13bbdb(){if(!_0x342cdf(_0x2ed0d1,_0x4946bc([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x214871 in window)if(Number['isNaN'](Number(_0x214871))){if(window[_0x214871]===_0x922105)return _0x4946bc([0x74,0x69,0x6d,0x65]);if(window[_0x214871]===_0x143a76)return _0x4946bc([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]);}return!0x1;}function _0x356484(){if(!_0x342cdf(_0x2ed0d1,_0x4946bc([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x4ad397 in window)if(Number['isNaN'](Number(_0x4ad397))&&window[_0x4ad397]===_0x1f93c7)return!0x0;return!0x1;}function _0x3e8a3a(_0x4edd45,_0x4720f5){_0xcf836c(),_0x1f4b5b(_0x4720f5+_0x4946bc([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a])+_0x4edd45),window[_0x5d4eed()]=_0x4edd45===_0x4946bc([0x74,0x69,0x6d,0x65])?_0x922105:_0x143a76;}function _0x2e0603(){let _0x43159e=_0x3b60d9[0x6]*_0x1d3c51[0x8]*_0x1d3c51[0x6];return _0x342cdf(_0x2ed0d1,_0x4946bc([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x43159e/=0xa),_0x43159e;}function _0xcf836c(){const _0x1462b8=_0x2ed0d1;function _0x5dae2b(){_0x342cdf(_0x1462b8,_0x4946bc([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&(_0x55fba9(_0x1462b8,_0x4946bc([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x4946bc([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x4946bc([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x55fba9(_0x1462b8,_0x4946bc([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x4946bc([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x55fba9(_0x1462b8,_0x4946bc([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x4946bc([0x75,0x70,0x64,0x61,0x74,0x65])]=_0xa386b2,_0x55fba9(_0x1462b8,_0x4946bc([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x4946bc([0x73,0x61,0x76,0x65,0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e])]=_0xa386b2,_0x1462b8[_0x4946bc([0x6d,0x6f,0x64,0x65,0x6c])][_0x4946bc([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0xa386b2,_0x1462b8[_0x4946bc([0x6d,0x6f,0x64,0x65,0x6c])][_0x4946bc([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0xa386b2,_0x1462b8[_0x4946bc([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x4946bc([0x6d,0x6f,0x64,0x65,0x6c]))),_0x342cdf(_0x1462b8,_0x4946bc([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x55fba9(_0x1462b8,_0x4946bc([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x4946bc([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x4946bc([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x55fba9(_0x1462b8,_0x4946bc([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x4946bc([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x55fba9(_0x1462b8,_0x4946bc([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x4946bc([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])]=_0xa386b2,_0x55fba9(_0x1462b8,_0x4946bc([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x4946bc([0x5f,0x67,0x65,0x74,0x44,0x69,0x66,0x66])]=_0xa386b2);}_0x1462b8[_0x4946bc([0x73,0x74,0x61,0x74,0x65])]==_0x4946bc([0x72,0x65,0x61,0x64,0x79])?_0x5dae2b():_0x1462b8[_0x4946bc([0x6f,0x6e,0x63,0x65])](_0x4946bc([0x72,0x65,0x61,0x64,0x79]),()=>{if(_0x342cdf(_0x1462b8,_0x4946bc([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&_0x5dae2b(),_0x342cdf(_0x1462b8,_0x4946bc([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))){const _0x57f964=_0x55fba9(_0x1462b8,_0x4946bc([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79])),_0x20fb57=_0x57f964['getRevision'](0x0),_0x1f6f33=_0x57f964['getEarlierVisibleRevision'](_0x20fb57[_0x4946bc([0x69,0x64])]);_0x55fba9(_0x1462b8,_0x4946bc([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x4946bc([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])](_0x20fb57[_0x4946bc([0x69,0x64])],_0x1f6f33?_0x1f6f33[_0x4946bc([0x69,0x64])]:null,0x1)['then'](()=>_0x5dae2b());}});}_0x4e081b(_0x5b86e3(_0x44eb7d,_0xb85fd6),_0xb85fd6);}function _0x40ded6(_0x35dc15,_0x35c180){try{return _0x39c640(_0x35c180)?_0x1f4b5b(_0x35c180[_0x4946bc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4946bc([0x56,0x61,0x6c,0x69,0x64])):_0x35dc15&&_0x3d5e8a(_0x35dc15[_0x4946bc([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])],_0x35c180)?_0x35dc15[_0x4946bc([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]&&!window[_0x4946bc([0x6f,0x70,0x65,0x6e])][_0x4946bc([0x63,0x6c,0x6f,0x73,0x65,0x64])]||parseInt(_0x5ec0a6)/0x2>_0x35dc15[_0x4946bc([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]?_0x1f4b5b(_0x35c180[_0x4946bc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4946bc([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])):_0x35dc15[_0x4946bc([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]?_0x1f4b5b(_0x35c180[_0x4946bc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4946bc([0x54,0x72,0x69,0x61,0x6c])):_0x1f4b5b(_0x35c180[_0x4946bc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4946bc([0x56,0x61,0x6c,0x69,0x64])):_0x1f4b5b(_0x35c180[_0x4946bc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4946bc([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}catch(_0x337992){return _0x1f4b5b(_0x35c180[_0x4946bc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4946bc([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x27536a(_0x2571ed,_0x100ffc){if(_0x2ed0d1 instanceof _0x34b4ce){const _0x28fac0=_0x2ed0d1;_0x2571ed==_0x100ffc[_0x4946bc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4946bc([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x32be65(_0x28fac0):_0x2571ed==_0x100ffc[_0x4946bc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4946bc([0x54,0x72,0x69,0x61,0x6c])&&window[_0x4946bc([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x32be65(_0x28fac0),_0x1f4b5b(_0x100ffc[_0x4946bc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4946bc([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65]));},_0x3b60d9[0x6]*_0x1d3c51[0x8]*_0x1d3c51[0x6]),_0x28fac0[_0x4946bc([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])][_0x4946bc([0x6f,0x6e])](_0x4946bc([0x61,0x64,0x64]),(_0x1ce269,_0x33be31)=>{_0x2571ed!=_0x100ffc[_0x4946bc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4946bc([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])&&_0x2571ed!=_0x100ffc[_0x4946bc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4946bc([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65])&&_0x2571ed!=_0x100ffc[_0x4946bc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4946bc([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])||_0x3d7b86(_0x33be31);});}else{const _0x1d6684=_0x2ed0d1;_0x2571ed==_0x100ffc[_0x4946bc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4946bc([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x3d7b86(_0x1d6684):_0x2571ed==_0x100ffc[_0x4946bc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4946bc([0x54,0x72,0x69,0x61,0x6c])&&_0x1d6684[_0x4946bc([0x6f,0x6e])](_0x4946bc([0x72,0x65,0x61,0x64,0x79]),()=>{let _0x39582b=0x0;_0x1d6684[_0x4946bc([0x6d,0x6f,0x64,0x65,0x6c])][_0x4946bc([0x6f,0x6e])](_0x4946bc([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x27dd33,_0x231908)=>{_0x231908[0x0][_0x4946bc([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x39582b++,0x1f8===_0x39582b&&(_0x3d7b86(_0x1d6684),_0x1f4b5b(_0x100ffc[_0x4946bc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4946bc([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])),_0x27dd33[_0x4946bc([0x6f,0x66,0x66])]());},{'priority':_0x4946bc([0x68,0x69,0x67,0x68,0x65,0x73,0x74])});});}}function _0x1f4b5b(_0x34a4c6){const _0x409af4=_0x5d4eed();return _0x2ed0d1[_0x409af4]=_0x34a4c6,_0x34a4c6;}function _0x5d4eed(){const _0x394804=String(window[_0x4946bc([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x4946bc([0x6e,0x6f,0x77])]())[_0x4946bc([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x4946bc([0x2e]),'');let _0x40c144='';for(let _0x9ed971=0x0;_0x9ed971<_0x394804[_0x4946bc([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x9ed971+=0x2){let _0x29ad87=parseInt(_0x394804[_0x4946bc([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x9ed971,_0x9ed971+0x2));_0x29ad87>=_0x135b09[_0x4946bc([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x29ad87-=_0x135b09[_0x4946bc([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x40c144+=_0x135b09[_0x29ad87];}return _0x40c144;}function _0x32be65(_0x137bc7){for(const _0x52a92a of _0x137bc7[_0x4946bc([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])])_0x3d7b86(_0x52a92a);_0x55fba9(_0x137bc7,_0x4946bc([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x4946bc([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])](!0x0),_0x55fba9(_0x137bc7,_0x4946bc([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x4946bc([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])]=_0xa386b2;}function _0x3d7b86(_0x2d25cf){function _0x5aeaf0(){_0x2d25cf[_0x4946bc([0x6d,0x6f,0x64,0x65,0x6c])][_0x4946bc([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0xa386b2,_0x2d25cf[_0x4946bc([0x6d,0x6f,0x64,0x65,0x6c])][_0x4946bc([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0xa386b2,_0x2d25cf[_0x4946bc([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x4946bc([0x6d,0x6f,0x64,0x65,0x6c]));}_0x2d25cf[_0x4946bc([0x73,0x74,0x61,0x74,0x65])]==_0x4946bc([0x72,0x65,0x61,0x64,0x79])?_0x5aeaf0():_0x2d25cf[_0x4946bc([0x6f,0x6e,0x63,0x65])](_0x4946bc([0x72,0x65,0x61,0x64,0x79]),()=>_0x5aeaf0());}function _0xa386b2(){return null;}function _0x3d5e8a(_0x197a21,_0x46615d){const _0x1114b6=!!(_0x197a21&_0x46615d[_0x4946bc([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]),_0x3dce73=_0x48ed04(_0x197a21,_0x46615d);return _0x1114b6||_0x3dce73;}function _0x48ed04(_0x3df432,_0x32eb46){const _0x36b41=(_0x32eb46[_0x4946bc([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{})[_0x4946bc([0x66,0x67,0x69])]||null;return!!_0x36b41&&_0x5cf105[_0x4946bc([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1a7536=>_0x36b41[_0x4946bc([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1a7536[_0x4946bc([0x69,0x64])]))[_0x4946bc([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x497860=>!_0x4f903a(_0x497860))[_0x4946bc([0x73,0x6f,0x6d,0x65])](_0x21ed94=>!!(_0x3df432&_0x21ed94[_0x4946bc([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]));}function _0x4f903a(_0x4ac0cd){const _0x41a973={[_0x4946bc([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])]:_0x2af80a};return!!_0x4ac0cd['forbiddenHandler']&&_0x41a973[_0x4ac0cd['forbiddenHandler']]();}function _0x2af80a(){return!window[_0x4946bc([0x44,0x72,0x75,0x70,0x61,0x6c])]||!_0x342cdf(_0x2ed0d1,_0x4946bc([0x64,0x72,0x75,0x70,0x61,0x6c,0x50,0x6f,0x77,0x65,0x72,0x65,0x64,0x42,0x79]));}function _0x39c640(_0x327e42){if(!_0x342cdf(_0x2ed0d1,_0x327e42[_0x4946bc([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))return!0x0;const _0x19420b=_0x327e42[_0x4946bc([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{},_0x375c8b=_0x19420b[_0x4946bc([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]||!0x1,_0x40d83c=_0x19420b[_0x4946bc([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]||!0x1,_0x1d003d=_0x19420b[_0x4946bc([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]||!0x1;if(_0x342cdf(_0x2ed0d1,_0x4946bc([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x55fba9(_0x2ed0d1,_0x4946bc([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x4946bc([0x73,0x74,0x61,0x74,0x65])]==_0x4946bc([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&_0x375c8b)return!0x0;if(_0x342cdf(_0x2ed0d1,_0x4946bc([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))&&_0x55fba9(_0x2ed0d1,_0x4946bc([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))[_0x4946bc([0x72,0x65,0x73,0x75,0x6c,0x74])]==_0x4946bc([0x65,0x6e,0x64])&&_0x40d83c)return!0x0;return!(!_0x342cdf(_0x2ed0d1,_0x4946bc([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]))||_0x55fba9(_0x2ed0d1,_0x4946bc([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]))[_0x4946bc([0x72,0x65,0x73,0x75,0x6c,0x74])]!=_0x4946bc([0x65,0x6e,0x64])||!_0x1d003d);}function _0x342cdf(_0x352160,_0xcf0725){return _0x352160[_0x4946bc([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x4946bc([0x68,0x61,0x73])](_0xcf0725);}function _0x55fba9(_0x23bcab,_0x2ce773){return _0x23bcab[_0x4946bc([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x4946bc([0x67,0x65,0x74])](_0x2ce773);}function _0x38bdee(_0xcc01e5){let _0x36b93b='';for(const _0xb93b69 of _0xcc01e5)_0x36b93b+=String[_0x4946bc([0x66,0x72,0x6f,0x6d,0x43,0x68,0x61,0x72,0x43,0x6f,0x64,0x65])](_0xb93b69);return _0x36b93b;}function _0x1ddbdb(_0x264403){const _0x75577b=new Uint8Array(_0x264403[_0x4946bc([0x6c,0x65,0x6e,0x67,0x74,0x68])]);for(let _0x3ff332=0x0;_0x3ff332<_0x264403[_0x4946bc([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3ff332++)_0x75577b[_0x3ff332]=_0x264403[_0x4946bc([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x3ff332);return _0x75577b;}_0x3b3ae2&&_0x53f460(_0x1647a9(_0x38634f),_0x3b3ae2);})(_0x5a0e27);}(this);}['createRevision'](_0x424801){const _0x28cd1e=this['editor']['plugins']['get']('Users');return new a({'id':_0x424801['id'],'name':_0x424801['name'],'creator':_0x424801['creatorId']?_0x28cd1e['getUser'](_0x424801['creatorId']):null,'diffData':_0x424801['diffData']||_0x424801['data'],'authors':_0x424801['authorsIds']['map'](_0x359066=>_0x28cd1e['getUser'](_0x359066)),'createdAt':new Date(_0x424801['createdAt']),'attributes':_0x424801['attributes'],'fromVersion':_0x424801['fromVersion'],'toVersion':_0x424801['toVersion']});}['addRevision'](_0xa6bc76,_0x5756e2=0x0){this['_revisions']['add'](_0xa6bc76,_0x5756e2);}['getRevision'](_0x5c7dec){return this['_revisions']['get'](_0x5c7dec);}['getRevisions'](_0x2e54df={'toJSON':!0x1}){const _0x5da1cd=Array['from'](this['_revisions']);return _0x5da1cd['reverse'](),_0x2e54df['toJSON']?_0x5da1cd['map'](_0x28f087=>_0x28f087['toJSON']()):_0x5da1cd;}['getIndex'](_0x36f92b){return this['_revisions']['getIndex'](_0x36f92b);}['getEarlierVisibleRevision'](_0x111d15){const [,_0x1e7fc3]=this['getRevisionsIterator'](_0x111d15,{'direction':'earlier'});return _0x1e7fc3;}['getLaterVisibleRevision'](_0x5efb63){const [,_0x552f5c]=this['getRevisionsIterator'](_0x5efb63,{'direction':'later'});return _0x552f5c;}['getRevisionsInDiff'](_0x5c42ac){const _0x2a999c=[];for(const _0x308212 of this['getRevisionsIterator'](_0x5c42ac['newRevisionId']))if(_0x2a999c['push'](_0x308212),_0x308212['id']===_0x5c42ac['oldRevisionId'])break;return _0x2a999c;}*['getRevisionsIterator'](_0x46edf8,{direction:_0x2eb087='earlier',filter:_0x133dc6=_0x10e5c2=>!0x0}={}){const _0x3a2ef5='earlier'===_0x2eb087?0x1:-0x1;let _0x1acc3b=this['_revisions']['get'](_0x46edf8),_0x5c15dd=this['getIndex'](_0x1acc3b);for(yield _0x1acc3b;_0x1acc3b;){if(_0x5c15dd+=_0x3a2ef5,_0x1acc3b=this['getRevision'](_0x5c15dd),!_0x1acc3b)return;_0x133dc6(_0x1acc3b)&&(yield _0x1acc3b);}}}function y(_0x4d8ca4,_0x5046ae,_0x4142e1){const t=_0x4d8ca4['t'];switch(_0x5046ae){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'},_0x4142e1);case'X_OF_Y_CHANGES':return t({'string':'%0\x20of\x20%1','id':'X_OF_Y_CHANGES'},_0x4142e1);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':_0x5626b6,'a':_0x4b1cea,'e':_0x578701,'r':_0x427790,'u':_0x364ff0};class l extends _0x1a2be0{['adapter'];['currentRevision'];['repository'];['_revisionDataBuilder'];['_source'];['_initialRevisionId'];['_bufferedUpdates'];['_pendingAction'];['_continueCurrentRevision'];['_startingVersion'];['_loadedStateData'];static get['pluginName'](){return'RevisionTracker';}static get['requires'](){return[_0x1945a4,A,_0x565f37];}constructor(_0x1c4e08){super(_0x1c4e08),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 _0x10ac7b=_0x4693f2();this['_source']={'history':this['editor']['model']['document']['history'],'getLatestVersion':()=>Promise['resolve'](this['editor']['model']['document']['version']),'getCurrentRevisionId':()=>_0x10ac7b},this['set']('isReady',!0x1),this['set']('isEnabled',!0x0),this['set']('_isPendingUpdate',!0x1),this['editor']['config']['define']('revisionHistory.resumeUnsavedRevision',!0x0),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'revision'});}['init'](){this['repository']=this['editor']['plugins']['get']('RevisionsRepository'),this['_setConversion'](),this['editor']['data']['on']('ready',()=>{const _0x3b99ba=this['repository']['getRevision'](0x0),_0x3f1ed5=_0x3b99ba&&null===_0x3b99ba['creator']?_0x3b99ba:null;if(this['_continueCurrentRevision']=!!_0x3f1ed5&&this['editor']['config']['get']('revisionHistory.resumeUnsavedRevision'),this['editor']['plugins']['has']('RealTimeCollaborationClient')){const _0x7046c9=this['_source']['getCurrentRevisionId'](),_0xcfc434=this['repository']['getRevision'](_0x7046c9);if(_0xcfc434)this['_startingVersion']=_0xcfc434['fromVersion'],this['_continueCurrentRevision']=!0x1;else{const _0x19b47e=this['_source']['history']['_operations']['find'](_0x32c2be=>!_0x32c2be['_isInit']),_0x1c142a=_0x19b47e?_0x19b47e['baseVersion']:this['_source']['history']['version'];_0x3b99ba?(_0x3b99ba['toVersion']<_0x1c142a&&_0x3b99ba['_update']({'toVersion':_0x1c142a}),this['_continueCurrentRevision']?(this['_source']['getCurrentRevisionId']=()=>_0x3f1ed5['id'],this['_startingVersion']=_0x3f1ed5['fromVersion']):(this['_startingVersion']=_0x3b99ba['toVersion'],this['_continueCurrentRevision']=!0x1)):(this['_startingVersion']=_0x1c142a,this['_continueCurrentRevision']=!0x1);}}else _0x3f1ed5&&(this['editor']['model']['document']['history']['version']=Math['max'](_0x3f1ed5['toVersion'],this['editor']['model']['document']['history']['version']),_0x3f1ed5['fromVersion']===_0x3f1ed5['toVersion']?(0x0!==_0x3f1ed5['fromVersion']&&(this['_source']['getCurrentRevisionId']=()=>_0x3f1ed5['id']),this['_continueCurrentRevision']=!0x1):this['_continueCurrentRevision']&&(this['_source']['getCurrentRevisionId']=()=>_0x3f1ed5['id'],this['_startingVersion']=_0x3f1ed5['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',_0x1849cf=>!_0x1849cf);}async['afterInit'](){if(this['repository']['length']>0x0){const _0x20c40c=this['repository']['getRevision'](0x0),_0x1a0ad2=await this['getRevisionDocumentData'](_0x20c40c),_0x5c1591=await this['getRevisionRootsAttributes'](_0x20c40c);this['_replaceEditorDataWithRevisionData'](_0x1a0ad2,_0x5c1591);}}['setSource'](_0x143a34){this['_source']=_0x143a34;}async['update'](){const _0x5581aa=await this['_source']['getLatestVersion']();if(_0x5581aa>this['currentRevision']['toVersion']){await this['_loadState']();const _0x59f92f=this['buildRevisionData']({'revision':this['currentRevision'],'to':_0x5581aa});_0x59f92f['authors']=_0x59f92f['authorsIds']['map'](_0xcce31f=>this['editor']['plugins']['get']('Users')['getUser'](_0xcce31f)),this['currentRevision']['_update'](_0x59f92f);}}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'](_0xe12672={},_0x146812=null){const _0x15db91=[];await this['_loadState'](),this['_continueCurrentRevision']=!0x1,_0x146812>this['currentRevision']['toVersion']&&(_0x146812=null),null===_0x146812&&(_0x146812=await this['_source']['getLatestVersion']());const _0x107929=this['_getFromVersion'](_0x146812),_0x21dd98=this['buildRevisionData']({'from':_0x107929,'to':_0x146812});if(this['currentRevision']['toVersion']<_0x146812){const _0x600e5f=this['buildRevisionData']({'revision':this['currentRevision'],'from':_0x146812,'to':_0x146812});_0x600e5f['authors']=[],_0x600e5f['authorsIds']=[],_0x600e5f['id']=this['currentRevision']['id'],this['currentRevision']['_update'](_0x600e5f,!0x0),delete _0x600e5f['authors'],_0x15db91['push'](_0x600e5f);}_0xe12672['creatorId']=this['editor']['plugins']['get']('Users')['me']['id'],_0xe12672['name']=_0xe12672['name']||null,_0xe12672['id']=_0xe12672['id']||_0x4693f2(),_0xe12672={..._0xe12672,..._0x21dd98};const _0x1e6756=this['addRevisionData'](_0xe12672);_0x15db91['push'](_0xe12672);const _0x196e9c=this['repository']['getIndex'](_0x1e6756);if(0x0!==_0x196e9c){const _0x32afa9=this['repository']['getRevision'](_0x196e9c-0x1);if(_0x32afa9['fromVersion']!==_0x146812){const _0x3b938b=this['_revisionDataBuilder']['getData'](_0x146812,_0x32afa9['toVersion']),_0x143818={'id':_0x32afa9['id'],'diffData':_0x3b938b['diffData'],'authorsIds':_0x3b938b['authorsIds'],'authors':_0x3b938b['authorsIds']['map'](_0x1d0058=>this['editor']['plugins']['get']('Users')['getUser'](_0x1d0058)),'fromVersion':_0x146812};_0x32afa9===this['currentRevision']&&(_0x143818['createdAt']=new Date(_0xe12672['createdAt']['getTime']()+0xa)),_0x32afa9['_update'](_0x143818,!0x0),delete _0x143818['authors'],_0x15db91['push'](_0x143818);}}if(this['adapter']){for(const _0x182642 of _0x15db91)this['_bufferUpdate'](_0x182642['id'],_0x182642,!0x0);this['sendBufferedUpdates']();}return _0x1e6756;}['addRevisionData'](_0x4411d1){const _0xee9cf2=this['repository']['createRevision'](_0x4411d1);return this['adapter']&&_0xee9cf2['on']('_update',(_0x1a8652,_0x4c6072,_0x2805f9)=>{_0x2805f9||(this['_bufferUpdate'](_0x4c6072['id'],_0x4c6072,!0x0),this['sendBufferedUpdates']());}),this['repository']['addRevision'](_0xee9cf2,this['_findInsertionIndex'](_0xee9cf2)),_0xee9cf2;}async['getRevisionDocumentData'](_0xe3dce7){await this['_loadRevisionData'](_0xe3dce7);const _0x1480ec={};for(const _0xc53f9e in _0xe3dce7['diffData']){if(_0xe3dce7['diffData'][_0xc53f9e]['attachChange']&&!_0xe3dce7['diffData'][_0xc53f9e]['attachChange']['isAttached'])continue;const _0x3736c3=this['_removeRevisionMarkers'](JSON['parse'](_0xe3dce7['diffData'][_0xc53f9e]['insertions'])),_0x550a2c=this['editor']['editing']['view']['document'],_0x5d6aff=new _0x3abca1(_0x550a2c,_0x3736c3['map'](_0x15cbdf=>B(_0x15cbdf,this['editor'])));this['editor']['data']['processor']['useFillerType']('marked'),_0x1480ec[_0xc53f9e]=this['editor']['data']['processor']['toData'](_0x5d6aff),this['editor']['data']['processor']['useFillerType']('default');}return _0x1480ec;}async['getRevisionRootsAttributes'](_0x1a2ec0){await this['_loadRevisionData'](_0x1a2ec0);const _0xb3566e={};for(const _0x530690 in _0x1a2ec0['diffData'])_0x1a2ec0['diffData'][_0x530690]['attachChange']&&!_0x1a2ec0['diffData'][_0x530690]['attachChange']['isAttached']||(_0xb3566e[_0x530690]=_0x1a2ec0['diffData'][_0x530690]['attributesAfter']||{});return _0xb3566e;}['sendBufferedUpdates'](){if(0x0===this['_bufferedUpdates']['size'])return;if(this['_isPendingUpdate'])return;let _0x5c53e2=Array['from'](this['_bufferedUpdates']['values']());this['_bufferedUpdates']['clear']();for(let _0x4e9027=0x0;_0x4e9027<_0x5c53e2['length'];_0x4e9027++){const _0x38ef8e=_0x5c53e2[_0x4e9027];let _0x261ab8=!0x1;for(const _0x3223f7 of Object['keys'](_0x38ef8e))void 0x0===_0x38ef8e[_0x3223f7]?delete _0x38ef8e[_0x3223f7]:'id'!==_0x3223f7&&(_0x261ab8=!0x0);_0x261ab8||(_0x5c53e2[_0x4e9027]=null);}if(_0x5c53e2=_0x5c53e2['filter'](_0xf64cc7=>null!==_0xf64cc7),!_0x5c53e2['length'])return;for(let _0xcdee21=0x0;_0xcdee21<_0x5c53e2['length'];_0xcdee21++){const _0x4e5a41=_0x5c53e2[_0xcdee21];void 0x0!==_0x4e5a41['fromVersion']&&void 0x0===_0x4e5a41['toVersion']&&(_0x4e5a41['toVersion']=this['repository']['getRevision'](_0x4e5a41['id'])['toVersion']),void 0x0!==_0x4e5a41['toVersion']&&void 0x0===_0x4e5a41['fromVersion']&&(_0x4e5a41['fromVersion']=this['repository']['getRevision'](_0x4e5a41['id'])['fromVersion']);}const _0xd8eefc=this['editor']['config']['get']('collaboration.channelId');this['_isPendingUpdate']=!0x0,this['_addPendingAction'](),this['adapter']['updateRevisions'](_0x5c53e2,_0xd8eefc)['finally'](()=>{this['_isPendingUpdate']=!0x1;})['then'](_0x16638d=>{if(_0x16638d){for(const _0x5e6dd6 of _0x16638d)this['setRevisionData']({'id':_0x5e6dd6['id'],'createdAt':_0x5e6dd6['createdAt']});}this['_removePendingAction'](),this['sendBufferedUpdates']();});}['_replaceEditorDataWithRevisionData'](_0x209a2a,_0x11fc08){let _0x269f8d=this['editor']['config']['get']('initialData'),_0x32952e=this['editor']['config']['get']('rootsAttributes');if(void 0x0===_0x269f8d){_0x269f8d={};for(const _0x31866b of this['editor']['model']['document']['getRootNames']())_0x269f8d[_0x31866b]='';}if('string'==typeof _0x269f8d&&(_0x269f8d={'main':_0x269f8d}),void 0x0===_0x32952e){_0x32952e={};for(const _0x457ab0 of this['editor']['model']['document']['getRootNames']())_0x32952e[_0x457ab0]={};}let _0x72e4d9=!0x1;const _0x4c3a75=Object['keys'](_0x269f8d),_0x40a488=Object['keys'](_0x209a2a);for(const _0x2d04cb of _0x4c3a75){if(_0x269f8d[_0x2d04cb]!==_0x209a2a[_0x2d04cb]&&''!==_0x269f8d[_0x2d04cb]['trim']()){_0x72e4d9=!0x0;break;}if(!_0x546f00(_0x32952e[_0x2d04cb],_0x11fc08[_0x2d04cb])&&Object['keys'](_0x32952e[_0x2d04cb])['length']>0x0){_0x72e4d9=!0x0;break;}}_0x72e4d9||(_0x72e4d9=_0x40a488['some'](_0x45bec6=>!this['editor']['model']['document']['getRoot'](_0x45bec6))),_0x72e4d9&&_0x5ea378('editor-initial-data-replaced-with-revision-data',{'editorData':_0x269f8d,'editorRootsAttributes':_0x32952e,'revisionData':_0x209a2a,'revisionRootsAttributes':_0x11fc08}),this['editor']['config']['set']('initialData',_0x209a2a),this['editor']['config']['set']('rootsAttributes',_0x11fc08);}['_addPendingAction'](){if(!this['_pendingAction']){const _0x474156=this['editor']['plugins']['get']('PendingActions');this['_pendingAction']=_0x474156['add'](y(this['editor']['locale'],'PENDING_ACTION_REVISION_HISTORY'));}}['_removePendingAction'](){this['_pendingAction']&&(this['editor']['plugins']['get']('PendingActions')['remove'](this['_pendingAction']),this['_pendingAction']=null);}['_findInsertionIndex'](_0xde5411){const _0xf88622=this['repository']['getRevisions']();_0xf88622['reverse']();let _0x5c6cf6=0x0;for(;_0x5c6cf6<_0xf88622['length'];){const _0x500d43=_0xf88622[_0x5c6cf6];if(_0x500d43===this['currentRevision']){_0x5c6cf6++;continue;}if(_0x500d43['id']===this['_initialRevisionId'])break;const _0x30fcf0=_0xde5411['toVersion']-_0x500d43['toVersion']||_0xde5411['fromVersion']-_0x500d43['fromVersion'];if(_0x30fcf0>0x0)break;if(_0x30fcf0<0x0)_0x5c6cf6++;else{if(!_0xde5411['creator']&&_0x500d43['creator'])break;if(_0x500d43['creator']||!_0xde5411['creator']){if(_0xde5411['createdAt']>_0x500d43['createdAt'])break;_0x5c6cf6++;}else _0x5c6cf6++;}}return _0x5c6cf6;}['setRevisionData'](_0x251883){const _0x14a498=this['repository']['getRevision'](_0x251883['id']);if(_0x251883['createdAt']&&(_0x251883['createdAt']=new Date(_0x251883['createdAt'])),_0x251883['authorsIds']){const _0xf7cdd1=this['editor']['plugins']['get']('Users');_0x251883['authors']=_0x251883['authorsIds']['map'](_0x1c6c4f=>_0xf7cdd1['getUser'](_0x1c6c4f));}_0x14a498['_update'](_0x251883,!0x0);}['buildRevisionData']({revision:_0x31fdc6=null,from:_0x22afe0=null,to:_0x5e4a56=null}){_0x22afe0=null!==_0x22afe0?_0x22afe0:_0x31fdc6['fromVersion'],_0x5e4a56=null!==_0x5e4a56?_0x5e4a56:_0x31fdc6['toVersion'];const _0x1a3358=this['_revisionDataBuilder']['getData'](_0x22afe0,_0x5e4a56),_0x1d0e5c={'diffData':_0x1a3358['diffData'],'authorsIds':_0x1a3358['authorsIds'],'fromVersion':_0x22afe0,'toVersion':_0x5e4a56};if(!_0x31fdc6||_0x5e4a56!==_0x31fdc6['toVersion']){const _0x26ddbe=_0x5e4a56-0x1,_0x446f16=this['_source']['history']['getOperation'](_0x26ddbe);_0x1d0e5c['createdAt']=_0x446f16&&_0x446f16['createdAt']||new Date();}if(this['_loadedStateData']&&_0x22afe0===this['_loadedStateData']['fromVersion']){for(const _0x154f4b of this['_loadedStateData']['authors'])_0x1d0e5c['authorsIds']['includes'](_0x154f4b['id'])||_0x1d0e5c['authorsIds']['push'](_0x154f4b['id']);}return _0x1d0e5c;}['_loadRevisionData'](_0x5a609d){if(!_0x5a609d||_0x5a609d['diffData'])return Promise['resolve']();{const _0x2ab50f=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0x2ab50f,'revisionId':_0x5a609d['id']})['then'](_0x2b6b5a=>{_0x5a609d['diffData']=_0x2b6b5a['diffData'];});}}['_bufferUpdate'](_0x11553b,_0x423b8d,_0xfe2468){if(this['_bufferedUpdates']['has'](_0x11553b)){const _0x22144f=this['_bufferedUpdates']['get'](_0x11553b);_0x423b8d=_0xfe2468?{..._0x22144f,..._0x423b8d}:{..._0x423b8d,..._0x22144f};}this['_bufferedUpdates']['set'](_0x11553b,_0x423b8d);}['_getFromVersion'](_0x225d99){const _0x4ff071=this['repository']['getRevisions']();_0x4ff071['reverse'](),_0x4ff071['shift']();const _0xeb708f=_0x4ff071['find'](_0x208e4e=>_0x208e4e['toVersion']<=_0x225d99)['toVersion'];return _0xeb708f<this['_startingVersion']?this['_startingVersion']:_0xeb708f;}['_createInitialRevision'](_0x272d67){const _0x4d2a5b=this['repository']['getRevision'](this['repository']['length']-0x1);if(_0x4d2a5b)this['_initialRevisionId']=_0x4d2a5b['id'];else{const _0x55c094=!this['editor']['model']['document']['roots']['find'](_0x2249dd=>this['editor']['model']['hasContent'](_0x2249dd)),_0x3cacca=this['editor']['plugins']['get']('Users')['me']['id'],_0x51ead8=y(this['editor']['locale'],_0x55c094?'Empty\x20document':'Initial\x20revision');this['_makeRevision']({'from':_0x272d67,'to':_0x272d67,'id':this['_initialRevisionId'],'name':_0x51ead8,'creatorId':_0x3cacca});}}['_createCurrentRevision'](_0x2e8a22){const _0x2c67a5=this['_source']['getCurrentRevisionId']();this['currentRevision']=this['repository']['getRevision'](_0x2c67a5),this['currentRevision']||(this['currentRevision']=this['_makeRevision']({'from':_0x2e8a22,'to':_0x2e8a22,'id':_0x2c67a5,'name':'','creatorId':null}));}['_makeRevision']({name:_0x5734a9,from:_0x16a86d,to:_0x59235b,creatorId:_0x4c51d3,id:_0x21d127}){const _0x1f23bf=this['buildRevisionData']({'from':_0x16a86d,'to':_0x59235b});_0x1f23bf['name']=_0x5734a9,_0x1f23bf['creatorId']=_0x4c51d3,_0x1f23bf['id']=_0x21d127;const _0x20f209=this['addRevisionData'](_0x1f23bf);return this['adapter']&&this['_bufferUpdate'](_0x1f23bf['id'],_0x1f23bf,!0x0),_0x20f209;}['_setConversion'](){this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'});}['_removeRevisionMarkers'](_0x3efba5){return(_0x3efba5=_0x3efba5['filter'](_0x4fef3a=>!_0x4fef3a['name']||'revision-start'!==_0x4fef3a['name']&&'revision-end'!==_0x4fef3a['name']))['forEach'](_0x33eb26=>{'string'!=typeof _0x33eb26&&(_0x33eb26['children']=this['_removeRevisionMarkers'](_0x33eb26['children']),_0x33eb26['attributes']=_0x33eb26['attributes']['filter'](_0xb8d30e=>!_0xb8d30e[0x0]['startsWith']('data-revision-')));}),_0x3efba5;}}function B(_0x3eccaa,_0x4ba317){const _0x5bf462=_0x4ba317['editing']['view']['document'];if('string'==typeof _0x3eccaa)return new _0x297982(_0x5bf462,_0x3eccaa);{const _0x37c961=_0x3eccaa['children']['map'](_0x30c7ce=>B(_0x30c7ce,_0x4ba317));return new(T[_0x3eccaa['type']]||_0x7eba0d)(_0x5bf462,_0x3eccaa['name'],_0x3eccaa['attributes'],_0x37c961);}}class J{['editor'];['source'];['_savedMetaData'];['_lastFrom'];['_lastTo'];['_markers'];['_diffRoots'];['_diffRootsAttributes'];['_baseRoots'];['_baseRootsAttributes'];['_idsRoots'];['_baseIdsRoots'];['_touched'];['_touchedMarkers'];['_touchedRoots'];['_revisionId'];['_startingRevisionId'];constructor(_0x5d5440){this['editor']=_0x5d5440,this['_savedMetaData']=new Map(),this['_lastFrom']=-0x1,this['_lastTo']=-0x1,this['_markers']=new Map(),this['_diffRoots']=new Map(),this['_diffRootsAttributes']=new Map(),this['_baseRoots']=new Map(),this['_baseRootsAttributes']=new Map(),this['_idsRoots']=new Map(),this['_baseIdsRoots']=new Map(),this['_touched']=new Map(),this['_touchedMarkers']=new Map(),this['_touchedRoots']=new Map(),this['_revisionId']=0x1;}['init'](_0x5c96f0){this['source']=_0x5c96f0;const _0x279dd1=new Map(),_0xfa7f0a=new Map(),_0x2efce1=this['editor']['model']['document']['roots']['map'](_0x58d002=>_0x58d002['rootName']);for(const _0x198537 of _0x2efce1){const _0x333d39=this['editor']['model']['document']['getRoot'](_0x198537),_0x357c99=q(_0x333d39);_0x279dd1['set'](_0x198537,_0x357c99),_0xfa7f0a['set'](_0x198537,Object['fromEntries'](_0x333d39['getAttributes']()));}const _0x526ac7=Array['from'](this['editor']['model']['markers'])['map'](_0x41058d=>[_0x41058d['name'],_0x41058d['getRange']()]),_0x4765f4=this['source']['version'];this['_saveMetaData'](_0x4765f4,_0x279dd1,_0x526ac7,_0xfa7f0a),this['_startingRevisionId']=this['_revisionId'];const _0x14fa3d=new Map(),_0x14f4d9=new Map();for(const _0x14962b of _0x2efce1){const _0x5a205d=G(_0x14962b);_0x14fa3d['set'](_0x14962b,_0x5a205d),_0x14f4d9['set'](_0x14962b,{});}this['_saveMetaData'](Number['NEGATIVE_INFINITY'],_0x14fa3d,[],_0x14f4d9);}['getData'](_0x23feb3,_0x3504d4){if(this['_lastFrom']===_0x23feb3&&this['_lastTo']<=_0x3504d4)this['_savedMetaData']['size']>0x1&&this['_removeMetaData'](this['_lastTo']),this['_applyOperations'](this['_lastTo'],_0x3504d4,!0x0);else{if(!this['_savedMetaData']['has'](_0x23feb3)){const _0x13ef1b=this['_getPreviousFrom'](_0x23feb3);this['_calculateMetaData'](_0x13ef1b,_0x23feb3,!0x1);}this['_calculateMetaData'](_0x23feb3,_0x3504d4,!0x0);}return this['_lastFrom']=_0x23feb3,this['_lastTo']=_0x3504d4,this['_getState']();}['loadState'](_0x5b3837){this['_reset'](),this['_lastFrom']=_0x5b3837['fromVersion'],this['_lastTo']=_0x5b3837['toVersion'];for(const _0x197bb3 in _0x5b3837['diffData']){const _0x358b46=_0x5b3837['diffData'][_0x197bb3]['attachChange'],_0x3d63eb=_0x463027(_0x5b3837['diffData'][_0x197bb3]['attributesBefore'])||{},_0x55e329=this['_makeModelFromViewString'](_0x5b3837['diffData'][_0x197bb3]['deletions']);_0x55e329['rootName']=_0x197bb3,_0x55e329['_isAttached']=!_0x358b46||!_0x358b46['isAttached'],_0x55e329['isAttached']=()=>_0x55e329['_isAttached'],this['_baseRoots']['set'](_0x197bb3,_0x55e329),this['_baseRootsAttributes']['set'](_0x197bb3,_0x3d63eb),_0x358b46&&this['_touchedRoots']['set'](_0x197bb3,_0x358b46);const _0x421c61=this['_makeIdsRoot'](_0x55e329);this['_baseIdsRoots']['set'](_0x197bb3,_0x421c61);for(const [_0x2de130,_0x16c9fc]of _0x55e329['markers']){if(!_0x2de130['startsWith']('revision:'))continue;const _0x330c16=_0x2de130['split'](':')[0x2];for(const _0x34f975 of _0x16c9fc['getWalker']({'singleCharacters':!0x0})){const _0x5eec08=this['_getVidAttributeName'](_0x34f975),_0x2e368d='elementEnd'==_0x34f975['type']?_0x34f975['previousPosition']['path']['slice'](0x0,-0x1):_0x34f975['previousPosition']['path'],_0x4a6498=_0x421c61['getNodeByPath'](_0x2e368d)['getAttribute'](_0x5eec08);this['_touched']['set'](_0x4a6498,{'userId':_0x330c16});}}}this['_startingRevisionId']=this['_revisionId'];const _0x136ac2=[...Array(this['_revisionId'])['keys']()]['slice'](0x1)['filter'](_0x3a16cf=>!this['_touched']['has'](_0x3a16cf));let _0xe372b6=0x0;const _0x31c634=new Map();for(const _0x18441f in _0x5b3837['diffData']){const _0xecd224=_0x5b3837['diffData'][_0x18441f]['attachChange'],_0x3952d5=_0x463027(_0x5b3837['diffData'][_0x18441f]['attributesAfter'])||{},_0x4203aa=this['_makeModelFromViewString'](_0x5b3837['diffData'][_0x18441f]['insertions']);_0x4203aa['rootName']=_0x18441f,_0x4203aa['_isAttached']=!_0xecd224||_0xecd224['isAttached'],_0x4203aa['isAttached']=()=>_0x4203aa['_isAttached'],this['_diffRoots']['set'](_0x18441f,_0x4203aa),this['_diffRootsAttributes']['set'](_0x18441f,_0x3952d5);const _0x4ad791=this['_makeIdsRoot'](_0x4203aa,Number['NEGATIVE_INFINITY']);this['_idsRoots']['set'](_0x18441f,_0x4ad791),_0x31c634['set'](_0x18441f,_0x4203aa['isAttached']()?_0x3952d5:{});for(const [_0x19454e,_0x5ef89d]of _0x4203aa['markers']){if(!_0x19454e['startsWith']('revision:'))continue;const _0x60b21d=_0x19454e['split'](':')[0x2];for(const _0x5b2aa3 of _0x5ef89d['getWalker']({'singleCharacters':!0x0})){const _0x452104=this['_getVidAttributeName'](_0x5b2aa3),_0x45cd68=this['_revisionId']++,_0x186c1c='elementEnd'==_0x5b2aa3['type']?_0x5b2aa3['previousPosition']['path']['slice'](0x0,-0x1):_0x5b2aa3['previousPosition']['path'];_0x4ad791['getNodeByPath'](_0x186c1c)['_setAttribute'](_0x452104,_0x45cd68),this['_touched']['set'](_0x45cd68,{'userId':_0x60b21d});}}for(const _0x32fc19 of this['editor']['model']['createRangeIn'](_0x4203aa)['getWalker']({'singleCharacters':!0x0})){const _0x5d0bf2=this['_getVidAttributeName'](_0x32fc19),_0x4b5a05='elementEnd'==_0x32fc19['type']?_0x32fc19['previousPosition']['path']['slice'](0x0,-0x1):_0x32fc19['previousPosition']['path'],_0x484d99=_0x4ad791['getNodeByPath'](_0x4b5a05);_0x484d99['getAttribute'](_0x5d0bf2)>0x0||_0x484d99['_setAttribute'](_0x5d0bf2,_0x136ac2[_0xe372b6++]);}for(const [_0x305889,_0x2a7789]of _0x4203aa['markers'])_0x305889['startsWith']('revision:')||this['_markers']['set'](_0x305889,_0x2a7789);}const _0x1cbfec=G('$graveyard');this['_baseRoots']['set']('$graveyard',_0x1cbfec),this['_baseIdsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x1cbfec,0x1));const _0x1fc843=G('$graveyard');this['_diffRoots']['set']('$graveyard',_0x1fc843),this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x1fc843,0x1));const _0x464ec2=Array['from'](this['_diffRoots'])['map'](([_0xe791bf,_0x35d3eb])=>[_0xe791bf,q(_0x35d3eb)]);this['_saveMetaData'](this['_lastTo'],_0x464ec2,this['_markers'],_0x31c634);}['_makeModelFromViewString'](_0x233376){const _0x5db5f4=JSON['parse'](_0x233376),_0x1b1c27=this['editor']['editing']['view']['document'],_0x3b2490=new _0x3abca1(_0x1b1c27,_0x5db5f4['map'](_0xf82266=>B(_0xf82266,this['editor'])));return this['editor']['data']['toModel'](_0x3b2490);}['_saveMetaData'](_0x1a3809,_0x3304df,_0x655a61,_0xa90848){const _0x25f1ac=new Map(_0x3304df),_0x2a94d4=new Map(_0x463027(_0xa90848)),_0x9fe8dc=new Map();for(const [_0x43c817,_0x271852]of _0x655a61)_0x9fe8dc['set'](_0x43c817,{'start':_0x271852['start']['clone'](),'end':_0x271852['end']['clone'](),'rootName':_0x271852['root']['rootName']});this['_savedMetaData']['set'](_0x1a3809,{'roots':_0x25f1ac,'markers':_0x9fe8dc,'rootsAttributes':_0x2a94d4});}['_removeMetaData'](_0x3f102f){this['_savedMetaData']['delete'](_0x3f102f);}['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'](_0xaaf3a2,_0x13901c=null){let _0x301b8d=null;_0xaaf3a2['is']('documentFragment')||(_0x301b8d=new ft(_0xaaf3a2['name'],{'vid_start':null===_0x13901c?this['_revisionId']++:_0x13901c++}));const _0x5b9699=[];for(const _0x1e98c0 of _0xaaf3a2['getChildren']())if(_0x1e98c0['is']('element')){_0x5b9699['push'](this['_makeIdsRoot'](_0x1e98c0,_0x13901c));const _0x5f09b2=_0x5b9699[_0x5b9699['length']-0x1];null!==_0x13901c&&(_0x13901c=_0x5f09b2['is']('element','$text')?_0x5f09b2['getAttribute']('vid')+0x1:_0x5f09b2['getAttribute']('vid_end')+0x1);}else{for(let _0x250b93=0x0;_0x250b93<_0x1e98c0['offsetSize'];_0x250b93++)_0x5b9699['push'](new ft('$text',{'vid':null===_0x13901c?this['_revisionId']++:_0x13901c++}));}if(_0xaaf3a2['is']('documentFragment')){const _0x35033e=G(_0xaaf3a2['rootName']);return _0x35033e['_insertChild'](0x0,_0x5b9699),_0x35033e;}return _0x301b8d['_setAttribute']('vid_end',null===_0x13901c?this['_revisionId']++:_0x13901c++),_0x301b8d['_insertChild'](0x0,_0x5b9699),_0x301b8d;}['_calculateMetaData'](_0x26f1fc,_0x3aaf2b,_0x145c2c){this['_reset']();const {roots:_0x17f9db,markers:_0x43961c,rootsAttributes:_0x2a118b}=this['_savedMetaData']['get'](_0x26f1fc);this['_baseRoots']=new Map(_0x17f9db),this['_baseRootsAttributes']=new Map(_0x463027(_0x2a118b));for(const [_0x58b3b0,_0x287c86]of this['_baseRoots'])if('$graveyard'!==_0x58b3b0&&(this['_diffRoots']['set'](_0x58b3b0,q(_0x287c86)),this['_diffRootsAttributes']=new Map(_0x463027(_0x2a118b)),_0x145c2c)){const _0x453785=this['_revisionId'];this['_idsRoots']['set'](_0x58b3b0,this['_makeIdsRoot'](_0x287c86)),this['_baseIdsRoots']['set'](_0x58b3b0,this['_makeIdsRoot'](_0x287c86,_0x453785));}this['_startingRevisionId']=this['_revisionId'],this['_diffRoots']['set']('$graveyard',q(this['_baseRoots']['get']('$graveyard'))),_0x145c2c&&this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](this['_baseRoots']['get']('$graveyard')));for(const [_0x139f9b,_0x3a7920]of _0x43961c){const _0xa65a2b=this['_baseRoots']['get'](_0x3a7920['rootName']),_0x5723d2=this['_diffRoots']['get'](_0x3a7920['rootName']),_0x2e13dc=new vt(this['_fixPosition'](_0x3a7920['start'],_0xa65a2b),this['_fixPosition'](_0x3a7920['end'],_0xa65a2b)),_0x417baf=this['_fixRange'](_0x2e13dc,_0x5723d2);_0xa65a2b['markers']['set'](_0x139f9b,_0x2e13dc),this['_markers']['set'](_0x139f9b,_0x417baf);}this['_applyOperations'](_0x26f1fc,_0x3aaf2b,_0x145c2c);}['_applyOperations'](_0x76ec9,_0x275e0b,_0x23ecc6){for(const _0x1cc860 of this['source']['getOperations'](_0x76ec9,_0x275e0b))this['_handleOperation'](_0x1cc860,_0x23ecc6);for(const _0x31c80c of this['_diffRoots']['values']())_0x31c80c['markers']['clear']();for(const [_0x44c107,_0x13ba8f]of this['_markers']){this['_diffRoots']['get'](_0x13ba8f['root']['rootName'])['markers']['set'](_0x44c107,_0x13ba8f['clone']());}const _0xb8f45d=new Map(),_0x5e43e9=new Map();for(const [_0x110352,_0x54c0fb]of this['_diffRoots'])_0xb8f45d['set'](_0x110352,q(_0x54c0fb)),_0x5e43e9['set'](_0x110352,this['_diffRootsAttributes']['get'](_0x110352));this['_saveMetaData'](_0x275e0b,_0xb8f45d,this['_markers'],_0x5e43e9);}['_getPreviousFrom'](_0x295deb){const _0x28651a=Array['from'](this['_savedMetaData']['keys']());_0x28651a['sort']((_0x54af55,_0x53e473)=>_0x54af55-_0x53e473),_0x28651a['reverse']();for(const _0x10d6b8 of _0x28651a)if(_0x10d6b8<_0x295deb)return _0x10d6b8;return Number['NEGATIVE_INFINITY'];}['_copyMarkers'](_0x2da217,_0x5c6932){const _0x3864ce=Array['from'](_0x5c6932['markers'])['map'](([_0xfc42fd,_0x4cfaee])=>[_0xfc42fd,this['_fixRange'](_0x4cfaee,_0x2da217)]);_0x2da217['markers']=new Map(_0x3864ce);}['_transformMarkers'](_0x56da47){for(const _0x60ed76 of this['_markers']['values']()){const _0x5ca2b2=_0x60ed76['getTransformedByOperation'](_0x56da47),_0x153f3d=vt['_createFromRanges'](_0x5ca2b2);_0x60ed76['start']=_0x153f3d['start'],_0x60ed76['end']=_0x153f3d['end'];}}['_handleOperation'](_0x5d0de0,_0x4de9c4){if('addRoot'==_0x5d0de0['type']||'detachRoot'==_0x5d0de0['type'])return void this['_handleRootOperation'](_0x5d0de0,_0x4de9c4);if('insert'==_0x5d0de0['type']){const _0x3b78d1=_0x5d0de0['position']['root']['rootName'];this['_diffRoots']['has'](_0x3b78d1)||(this['_diffRoots']['set'](_0x3b78d1,G(_0x3b78d1,!0x0)),this['_diffRootsAttributes']['set'](_0x3b78d1,{}),_0x4de9c4&&this['_idsRoots']['set'](_0x3b78d1,G(_0x3b78d1,!0x0)));}else{if('addRootAttribute'==_0x5d0de0['type']||'removeRootAttribute'==_0x5d0de0['type']||'changeRootAttribute'==_0x5d0de0['type'])return void this['_handleRootAttributeOperation'](_0x5d0de0);}const _0x13e6af=this['_cloneOperation'](_0x5d0de0,this['_diffRoots']);if('marker'!==_0x5d0de0['type']&&(_0x13e6af['_execute'](),this['_transformMarkers'](_0x13e6af)),_0x4de9c4)switch(_0x13e6af['type']){case'insert':this['_handleInsertOperation'](_0x5d0de0);break;case'move':case'remove':case'reinsert':this['_handleMoveOperation'](_0x5d0de0);break;case'merge':this['_handleMergeOperation'](_0x5d0de0);break;case'split':this['_handleSplitOperation'](_0x5d0de0);break;case'marker':this['_handleMarkerOperation'](_0x5d0de0);}}['_cloneOperation'](_0xc099bc,_0x254fc0){const _0x3fd42=_0xc099bc['clone']();return _0x3fd42['_authorId']=_0xc099bc['_authorId'],this['_fixOperation'](_0x3fd42,_0x254fc0),_0x3fd42;}['_getBaseVids'](_0x4b579a){return _0x4b579a['map'](_0x34b199=>{const _0x2c032e=this['_getVidAttributeName'](_0x34b199);return Number(_0x34b199['item']['getAttribute'](_0x2c032e));});}['_generateTape'](_0x44a8fa,_0x490457){if(_0x44a8fa['is']('element','$text'))_0x490457['push']({'item':_0x44a8fa,'type':'text'});else{_0x44a8fa['is']('element')&&_0x490457['push']({'item':_0x44a8fa,'type':'elementStart'});for(const _0x5c0c54 of _0x44a8fa['getChildren']())this['_generateTape'](_0x5c0c54,_0x490457);_0x44a8fa['is']('element')&&_0x490457['push']({'item':_0x44a8fa,'type':'elementEnd'});}return _0x490457;}['_getState'](){const _0x370e08=new Map(this['_touched']),_0x59867b=new Map(_0x370e08),_0x12f40e=new Map(),_0xf9c479={'insertions':{},'deletions':{}},_0x541153={'insertions':{},'deletions':{}},_0x12ec03=new Map(),_0x5cb601=new Set([...this['_baseRoots']['keys'](),...this['_diffRoots']['keys']()]);_0x5cb601['delete']('$graveyard');for(const _0x2e19f6 of _0x5cb601){const _0x1ee334=this['_diffRoots']['get'](_0x2e19f6)||G(_0x2e19f6,!0x1),_0x5a2f0e=this['_baseRoots']['get'](_0x2e19f6)||G(_0x2e19f6,!0x1);_0x1ee334['isAttached']()||_0x5a2f0e['isAttached']()?(_0xf9c479['insertions'][_0x2e19f6]=q(_0x1ee334),_0xf9c479['deletions'][_0x2e19f6]=q(_0x5a2f0e),this['_copyMarkers'](_0xf9c479['deletions'][_0x2e19f6],_0x5a2f0e),this['_copyMarkers'](_0xf9c479['insertions'][_0x2e19f6],_0x1ee334),_0x541153['insertions'][_0x2e19f6]=this['_generateTape'](this['_idsRoots']['get'](_0x2e19f6),[]),_0x541153['deletions'][_0x2e19f6]=this['_generateTape'](this['_baseIdsRoots']['get'](_0x2e19f6)||G(_0x2e19f6,!0x1),[])):_0x5cb601['delete'](_0x2e19f6);}for(const _0x2f3083 of _0x5cb601){const _0x465251=_0x541153['insertions'][_0x2f3083];for(const _0x399fa0 of _0x465251){const _0x2d0801=this['_getVidAttributeName'](_0x399fa0),_0x4af17c=_0x399fa0['item']['getAttribute'](_0x2d0801);_0x59867b['delete'](_0x4af17c),_0x4af17c>=this['_startingRevisionId']&&_0x12f40e['set'](_0x4af17c,_0x370e08['get'](_0x4af17c));}}for(const _0x8cd224 of _0x5cb601){const _0x5f4232=_0x541153['insertions'][_0x8cd224],_0x4fea29=this['_getBaseVids'](_0x541153['deletions'][_0x8cd224]);let _0x4f0ea7=0x0;for(const _0x2531eb of _0x5f4232){const _0x115060=this['_getVidAttributeName'](_0x2531eb),_0x285731=_0x2531eb['item']['getAttribute'](_0x115060);if(!_0x12f40e['has'](_0x285731)&&!_0x12ec03['has'](_0x285731)){if(_0x59867b['has'](_0x285731))_0x4f0ea7++;else{if(_0x285731!=_0x4fea29[_0x4f0ea7]){const _0x433570=_0x370e08['get'](_0x285731)||_0x370e08['get'](_0x4fea29[_0x4f0ea7]);for(;_0x285731!=_0x4fea29[_0x4f0ea7];)_0x59867b['has'](_0x4fea29[_0x4f0ea7])||(_0x12ec03['set'](_0x4fea29[_0x4f0ea7],_0x433570),_0x370e08['set'](_0x4fea29[_0x4f0ea7],_0x433570)),_0x4f0ea7++;}_0x4f0ea7++;}}}}for(const _0x42293f of _0x5cb601){const _0x9bc04a=_0x541153['insertions'][_0x42293f];for(const _0x385544 of _0x9bc04a){const _0x500eba=this['_getVidAttributeName'](_0x385544),_0x12773a=_0x385544['item']['getAttribute'](_0x500eba);if(_0x12ec03['has'](_0x12773a)){const _0x455a6e=_0x12ec03['get'](_0x12773a);_0x59867b['has'](_0x12773a)||_0x59867b['set'](_0x12773a,{..._0x455a6e}),_0x12f40e['set'](_0x12773a,{..._0x455a6e});}}}for(const _0x5ba461 of _0x59867b['keys']())_0x5ba461>=this['_startingRevisionId']&&_0x59867b['delete'](_0x5ba461);const _0x5ad2f0=new Map();for(const _0x99073 of _0x5cb601){let _0x441e22=_0x541153['insertions'][_0x99073];for(const _0x422d40 of _0x441e22)if(_0x422d40['item']['is']('element','tableCell')){const _0x98a9db=this['_getVidAttributeName'](_0x422d40),_0x163c6c=_0x422d40['item']['getAttribute'](_0x98a9db);if(_0x12f40e['has'](_0x163c6c)){const _0x2ce601=_0x422d40['item']['parent']['parent']['getAttribute']('vid_start'),_0x4afa0e=_0x5ad2f0['get'](_0x2ce601)||new Set();_0x4afa0e['add'](_0x12f40e['get'](_0x163c6c)['userId']),_0x5ad2f0['set'](_0x2ce601,_0x4afa0e);}}_0x441e22=_0x541153['deletions'][_0x99073];for(const _0xee29ce of _0x441e22)if(_0xee29ce['item']['is']('element','tableCell')){const _0x584ae6=this['_getVidAttributeName'](_0xee29ce),_0x4c34cd=_0xee29ce['item']['getAttribute'](_0x584ae6);if(_0x59867b['has'](_0x4c34cd)){const _0x21c597=_0xee29ce['item']['parent']['parent']['getAttribute']('vid_start'),_0x20d381=_0x5ad2f0['get'](_0x21c597)||new Set();_0x20d381['add'](_0x59867b['get'](_0x4c34cd)['userId']),_0x5ad2f0['set'](_0x21c597,_0x20d381);}}for(const _0x3293bc of _0x5ad2f0['keys']())(_0x12f40e['has'](_0x3293bc)||_0x59867b['has'](_0x3293bc))&&_0x5ad2f0['delete'](_0x3293bc);}for(const _0x3791f5 of _0x5cb601){const _0xb3552a=_0x541153['insertions'][_0x3791f5];let _0x7846f5=null,_0x366995=null;for(const _0x3a6535 of _0xb3552a){const _0x5784d2=this['_getVidAttributeName'](_0x3a6535),_0x3bd3fa=_0x3a6535['item']['getAttribute'](_0x5784d2),_0x283483=_0x5ad2f0['get'](_0x3bd3fa);_0x283483&&'elementStart'==_0x3a6535['type']&&(_0x7846f5=Array['from'](_0x283483)[0x0],_0x366995=_0x3a6535['item']['getAttribute']('vid_end')),_0x7846f5&&(_0x59867b['set'](_0x3bd3fa,{'userId':_0x7846f5}),_0x12f40e['set'](_0x3bd3fa,{'userId':_0x7846f5})),_0x3bd3fa==_0x366995&&(_0x7846f5=null,_0x366995=null);}}const _0x1c1910={},_0xcc05c5=new Set();for(const _0x1bebe2 of _0x5cb601){const _0x5bdcb0=_0xf9c479['deletions'][_0x1bebe2],_0x5f81f5=_0xf9c479['insertions'][_0x1bebe2];for(const {userId:_0x44d05c}of this['_touchedMarkers']['values']())null!==_0x44d05c&&_0xcc05c5['add'](_0x44d05c);for(const {userId:_0xde8ae5}of this['_touchedRoots']['values']())null!==_0xde8ae5&&_0xcc05c5['add'](_0xde8ae5);this['_markChanges'](_0x5f81f5,_0x541153['insertions'][_0x1bebe2],_0x12f40e,'insertion',_0xcc05c5),this['_markChanges'](_0x5bdcb0,_0x541153['deletions'][_0x1bebe2],_0x59867b,'deletion',_0xcc05c5),_0x1c1910[_0x1bebe2]={'insertions':this['_prepareViewToSave'](_0x5f81f5),'deletions':this['_prepareViewToSave'](_0x5bdcb0),'attachChange':this['_touchedRoots']['get'](_0x1bebe2)||null,'attributesBefore':_0x463027(this['_baseRootsAttributes']['get'](_0x1bebe2))||{},'attributesAfter':_0x463027(this['_diffRootsAttributes']['get'](_0x1bebe2))};}return{'diffData':_0x1c1910,'authorsIds':Array['from'](_0xcc05c5)};}['_processRootBeforeSave'](_0x166ee8){for(const [,_0x4e10cb]of _0x166ee8['markers']){const _0x3e0136=_0x4e10cb['start']['getAncestors']()['filter'](_0x586405=>'tableCell'==_0x586405['name']);for(const _0x3264a9 of _0x3e0136)0x1==_0x3264a9['childCount']&&_0x3264a9['getChild'](0x0)['is']('element','paragraph')&&_0x3264a9['getChild'](0x0)['_setAttribute']('keepParagraph',!0x0);}}['_prepareViewToSave'](_0x3f4a12){this['_processRootBeforeSave'](_0x3f4a12);const _0x567005=this['editor']['data']['toView'](_0x3f4a12,{}),_0x22d447=Array['from'](_0x567005['getChildren']())['map'](_0x5a1032=>this['_getViewJson'](_0x5a1032));return JSON['stringify'](_0x22d447);}['_getViewJson'](_0x2d8320){if(_0x2d8320['is']('$text'))return _0x2d8320['data'];{const _0x3a1db8=_0x2d8320;return{'type':Object['keys'](T)['find'](_0x461080=>_0x2d8320 instanceof T[_0x461080]),'name':_0x3a1db8['name'],'attributes':Array['from'](_0x3a1db8['getAttributes']()),'children':Array['from'](_0x3a1db8['getChildren']())['map'](_0x1fde47=>this['_getViewJson'](_0x1fde47))};}}['_markChanges'](_0x493f4f,_0x1a7286,_0x13d0cb,_0x3fc743,_0x33b2c6){let _0x57361c=null,_0x348efa=null,_0x11e833=0x0;const _0x4dcdea=this['editor']['model'];for(let _0x23dca2=0x0;_0x23dca2<_0x1a7286['length'];_0x23dca2++){const _0x1ead3f=this['_getVidAttributeName'](_0x1a7286[_0x23dca2]),_0x2132df=_0x1a7286[_0x23dca2]['item']['getAttribute'](_0x1ead3f),_0x4cb8d3=_0x13d0cb['get'](_0x2132df),_0x48c05d=_0x23dca2==_0x1a7286['length']-0x1;(!_0x57361c&&_0x4cb8d3&&(_0x57361c=_0x4cb8d3,_0x348efa=_0x1a7286[_0x23dca2]),_0x57361c&&(!_0x4cb8d3||_0x4cb8d3['userId']!=_0x57361c['userId']))&&(_0x171415(_0x4cb8d3,L(_0x348efa,_0x493f4f,_0x4dcdea),L(_0x1a7286[_0x23dca2],_0x493f4f,_0x4dcdea)),_0x57361c=_0x4cb8d3||null,_0x348efa=_0x4cb8d3?_0x1a7286[_0x23dca2]:null),_0x57361c&&_0x48c05d&&_0x171415(_0x4cb8d3,L(_0x348efa,_0x493f4f,_0x4dcdea),W(_0x1a7286[_0x23dca2],_0x493f4f,_0x4dcdea));}function _0x171415(_0x1f7321,_0xcc2cef,_0xc8274f){const _0x405de7=_0x57361c['userId'],_0x22456a='revision:'+_0x3fc743+':'+_0x405de7+':'+_0x11e833++,_0x272ec8=_0x4dcdea['createRange'](_0xcc2cef,_0xc8274f);_0x493f4f['markers']['set'](_0x22456a,_0x272ec8),null!==_0x405de7&&_0x33b2c6['add'](_0x405de7);}}['_getVidAttributeName'](_0x22561e){switch(_0x22561e['type']){case'elementStart':return'vid_start';case'elementEnd':return'vid_end';default:return'vid';}}['_fixOperation'](_0x51c40d,_0x2f32ca){_0x51c40d['baseVersion']=null;for(const _0x402dda in _0x51c40d){const _0x5abf5b=_0x51c40d[_0x402dda];if(_0x5abf5b instanceof gt){const _0x4d6725=_0x2f32ca['get'](_0x5abf5b['root']['rootName']);_0x51c40d[_0x402dda]=this['_fixPosition'](_0x5abf5b,_0x4d6725);}if(_0x5abf5b instanceof vt){const _0x153d38=_0x2f32ca['get'](_0x5abf5b['root']['rootName']);_0x51c40d[_0x402dda]=this['_fixRange'](_0x5abf5b,_0x153d38);}'root'===_0x402dda&&(_0x51c40d['root']=_0x2f32ca['get'](_0x51c40d['root']['rootName']));}}['_fixRange'](_0x38dd1b,_0x1d0879){return this['editor']['model']['createRange'](this['_fixPosition'](_0x38dd1b['start'],_0x1d0879),this['_fixPosition'](_0x38dd1b['end'],_0x1d0879));}['_fixPosition'](_0x311793,_0x147160){return this['editor']['model']['createPositionFromPath'](_0x147160,_0x311793['path'],_0x311793['stickiness']);}['_handleInsertOperation'](_0x817136){const _0x3b84bf=this['_idsRoots']['get'](_0x817136['position']['root']['rootName']),_0x2eccd8=this['_fixPosition'](_0x817136['position'],_0x3b84bf),_0x8a8c67=null===_0x817136['_authorId']?null:_0x817136['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x40fd39=_0x2eccd8['parent'],_0x3a83ee=this['_revisionId'],_0x16d6ec=[];for(const _0x33db6b of _0x817136['nodes'])if(_0x33db6b['is']('element'))_0x16d6ec['push'](this['_makeIdsRoot'](_0x33db6b));else{for(let _0x371478=0x0;_0x371478<_0x33db6b['offsetSize'];_0x371478++)_0x16d6ec['push'](new ft('$text',{'vid':this['_revisionId']++}));}const _0x21ef46=this['_revisionId'];for(let _0xc4963b=_0x3a83ee;_0xc4963b<_0x21ef46;_0xc4963b++)this['_touched']['set'](_0xc4963b,{'userId':_0x8a8c67});_0x40fd39['_insertChild'](_0x2eccd8['offset'],_0x16d6ec);}['_handleMoveOperation'](_0x470852){(_0x470852=this['_cloneOperation'](_0x470852,this['_idsRoots']))['_execute']();const _0x436bbc=null===_0x470852['_authorId']?null:_0x470852['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x288fb3=_0x470852['getMovedRangeStart'](),_0x227714=_0x288fb3['parent'],_0x9fe5f=_0x288fb3['offset'];!function _0x25907(_0x347276,_0x3339fb,_0x2323d4,_0x2d87f9){for(let _0x563625=_0x2323d4;_0x563625<_0x2d87f9;_0x563625++){const _0x5b3729=_0x3339fb['getChild'](_0x563625);_0x5b3729['is']('element','$text')?_0x347276['set'](_0x5b3729['getAttribute']('vid'),{'userId':_0x436bbc}):(_0x347276['set'](_0x5b3729['getAttribute']('vid_start'),{'userId':_0x436bbc}),_0x25907(_0x347276,_0x5b3729,0x0,_0x5b3729['childCount']),_0x347276['set'](_0x5b3729['getAttribute']('vid_end'),{'userId':_0x436bbc}));}}(this['_touched'],_0x227714,_0x9fe5f,_0x9fe5f+_0x470852['howMany']);}['_handleMergeOperation'](_0xc038d1){const _0x8fd9d9=null===(_0xc038d1=this['_cloneOperation'](_0xc038d1,this['_idsRoots']))['_authorId']?null:_0xc038d1['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x5802ba=_0xc038d1['targetPosition']['parent'],_0x5e79fd=_0xc038d1['sourcePosition']['parent'],_0x413fdc=_0x5802ba['getAttribute']('vid_end'),_0x15b61f=_0x5e79fd['getAttribute']('vid_start');_0x5802ba['_setAttribute']('vid_end',_0x5e79fd['getAttribute']('vid_end')),_0x5e79fd['_setAttribute']('vid_end',_0x413fdc),this['_touched']['set'](_0x15b61f,{'userId':_0x8fd9d9}),this['_touched']['set'](_0x413fdc,{'userId':_0x8fd9d9}),_0xc038d1['_execute']();}['_handleSplitOperation'](_0x44ede2){const _0x3846cd=null===(_0x44ede2=this['_cloneOperation'](_0x44ede2,this['_idsRoots']))['_authorId']?null:_0x44ede2['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x183d7b=_0x44ede2['graveyardPosition'],_0x45e7c7=_0x44ede2['splitPosition']['parent'];_0x44ede2['_execute']();const _0x161c89=_0x45e7c7['getAttribute']('vid_end'),_0x19f0b9=_0x44ede2['insertionPosition']['nodeAfter'];if(_0x183d7b){const _0xd8c34e=_0x19f0b9['getAttribute']('vid_end'),_0x339483=_0x45e7c7['getAttribute']('vid_end');_0x45e7c7['_setAttribute']('vid_end',_0xd8c34e),_0x19f0b9['_setAttribute']('vid_end',_0x339483),this['_touched']['set'](_0x45e7c7['getAttribute']('vid_end'),{'userId':_0x3846cd}),this['_touched']['set'](_0x19f0b9['getAttribute']('vid_start'),{'userId':_0x3846cd});}else{const _0x2c65fb=this['_revisionId']++,_0x3085db=this['_revisionId']++;_0x45e7c7['_setAttribute']('vid_end',_0x2c65fb),_0x19f0b9['_setAttribute']('vid_start',_0x3085db),_0x19f0b9['_setAttribute']('vid_end',_0x161c89),this['_touched']['set'](_0x2c65fb,{'userId':_0x3846cd}),this['_touched']['set'](_0x3085db,{'userId':_0x3846cd});}}['_handleMarkerOperation'](_0x32fcd1){if(!_0x32fcd1['affectsData'])return;const _0x1f2f9e=(_0x32fcd1=this['_cloneOperation'](_0x32fcd1,this['_diffRoots']))['oldRange']?_0x32fcd1['oldRange']['root']:null,_0xddc288=_0x32fcd1['newRange']?_0x32fcd1['newRange']['root']:null;_0x1f2f9e&&this['_markers']['delete'](_0x32fcd1['name']),_0xddc288&&this['_markers']['set'](_0x32fcd1['name'],_0x32fcd1['newRange']['clone']());const _0x289508=null===_0x32fcd1['_authorId']?null:_0x32fcd1['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x226d03=_0x32fcd1['name'];if(!this['_touchedMarkers']['has'](_0x226d03))return void this['_touchedMarkers']['set'](_0x226d03,{'range':_0x32fcd1['oldRange'],'userId':_0x289508});const _0x406ebd=this['_touchedMarkers']['get'](_0x226d03),_0x2b6428=_0x406ebd['range'],_0x485911=_0x32fcd1['newRange'];null==_0x2b6428&&null==_0x485911||_0x2b6428&&_0x485911&&_0x2b6428['isEqual'](_0x485911)?this['_touchedMarkers']['delete'](_0x32fcd1['name']):_0x406ebd['userId']=_0x289508;}['_handleRootOperation'](_0x43f9b8,_0x37d9a0){this['_diffRoots']['has'](_0x43f9b8['rootName'])?this['_diffRoots']['get'](_0x43f9b8['rootName'])['_isAttached']=_0x43f9b8['isAdd']:(this['_diffRoots']['set'](_0x43f9b8['rootName'],G(_0x43f9b8['rootName'],!0x0)),this['_diffRootsAttributes']['set'](_0x43f9b8['rootName'],{}),_0x37d9a0&&this['_idsRoots']['set'](_0x43f9b8['rootName'],G(_0x43f9b8['rootName'],!0x0)));const _0x5f2208=null===_0x43f9b8['_authorId']?null:_0x43f9b8['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x2c3af0=this['_touchedRoots']['get'](_0x43f9b8['rootName']);_0x2c3af0&&_0x2c3af0['userId']===_0x5f2208?this['_touchedRoots']['delete'](_0x43f9b8['rootName']):this['_touchedRoots']['set'](_0x43f9b8['rootName'],{'userId':_0x5f2208,'isAttached':_0x43f9b8['isAdd']});}['_handleRootAttributeOperation'](_0xae18fb){const _0xb6296b=this['_diffRootsAttributes']['get'](_0xae18fb['root']['rootName']);null===_0xae18fb['newValue']?delete _0xb6296b[_0xae18fb['key']]:_0xb6296b[_0xae18fb['key']]=_0xae18fb['newValue'];}}function q(_0x37c659){const _0x4cdcd6=G(_0x37c659['rootName'],_0x37c659['isAttached']());for(const _0x5885ab of _0x37c659['getChildren']()){const _0x18392a=_0x5885ab['_clone'](!0x0);_0x4cdcd6['_appendChild'](_0x18392a);}return _0x4cdcd6;}function G(_0x5c3887,_0x2048ea=!0x0){const _0x1d6b12=new wt();return _0x1d6b12['rootName']=_0x5c3887,_0x1d6b12['_isAttached']=_0x2048ea,_0x1d6b12['isAttached']=()=>_0x1d6b12['_isAttached'],_0x1d6b12;}function L(_0x2eca05,_0x143cb2,_0x3dfdc1){const _0x582a1f='elementEnd'==_0x2eca05['type']?_0x3dfdc1['createPositionAt'](_0x2eca05['item'],'end'):_0x3dfdc1['createPositionBefore'](_0x2eca05['item']);return _0x3dfdc1['createPositionFromPath'](_0x143cb2,_0x582a1f['path'],_0x582a1f['stickiness']);}function W(_0x232def,_0x3d5af7,_0x554c0d){const _0x44c0f6='elementStart'==_0x232def['type']?_0x554c0d['createPositionAt'](_0x232def['item'],0x0):_0x554c0d['createPositionAfter'](_0x232def['item']);return _0x554c0d['createPositionFromPath'](_0x3d5af7,_0x44c0f6['path'],_0x44c0f6['stickiness']);}class ns extends _0x3165d1{['focusTracker'];['keystrokes'];['revisionNameInputView'];constructor(_0x4116e0,_0x274660){super(_0x4116e0),this['focusTracker']=new _0xa25151(),this['keystrokes']=new _0xfe6e2d(),this['set']('revisionNameInputValue',''),this['revisionNameInputView']=this['_createRevisionNameInput'](_0x274660),this['setTemplate']({'tag':'form','attributes':{'class':['ck','ck-revision-history-save-revision-form','ck-responsive-form'],'tabindex':'-1'},'children':[this['revisionNameInputView']]}),ts(this);}['render'](){super['render'](),_0x2360be({'view':this}),this['focusTracker']['add'](this['revisionNameInputView']['element']),this['keystrokes']['listenTo'](this['element']);const _0x5cb4b3=_0x495a0f=>_0x495a0f['stopPropagation']();this['keystrokes']['set']('arrowright',_0x5cb4b3),this['keystrokes']['set']('arrowleft',_0x5cb4b3),this['keystrokes']['set']('arrowup',_0x5cb4b3),this['keystrokes']['set']('arrowdown',_0x5cb4b3);}['focus'](){this['revisionNameInputView']['focus']();}get['revisionName'](){return this['revisionNameInputView']['fieldView']['element']['value']['trim']();}set['revisionName'](_0x5633b1){this['revisionNameInputView']['fieldView']['element']['value']=_0x5633b1['trim']();}['reset'](){this['revisionNameInputView']['fieldView']['element']['value']='',this['revisionNameInputView']['errorText']=null;}['_createRevisionNameInput'](_0xa7906f){const _0x4f43ae=new at(this['locale'],_0xfbddd4),_0xd81a1a=_0x4f43ae['fieldView'];_0xd81a1a['extendTemplate']({'attributes':{'maxlength':'220'}});let _0x4b7b23=y(this['locale'],'Name\x20of\x20the\x20revision');return!_0xa7906f&&(_0x4b7b23+='\x20('+y(this['locale'],'optional')+')'),(_0x4f43ae['label']=_0x4b7b23,_0xd81a1a['on']('input',()=>{this['revisionNameInputValue']=_0xd81a1a['element']['value']['trim']();}),_0x4f43ae);}}class u extends _0x1a2be0{static get['pluginName'](){return'RevisionHistoryUI';}static get['requires'](){return[l];}['_saveRevisionFormView'];['init'](){const _0x5c7a0e=this['editor'],_0x540519=_0x5c7a0e['plugins']['get']('RevisionTracker');_0x5c7a0e['ui']['componentFactory']['add']('revisionHistory',_0x8d4dc2=>{const _0x1c9ac9=_0x10fd7b(_0x8d4dc2),_0x595eef=_0x1c9ac9['panelView']['children'],_0x36c68f=new te(_0x8d4dc2),_0x372a17=new _0x2497df(_0x8d4dc2),_0x147b48=new _0x53da7b(_0x8d4dc2),_0x5d4dc0=new _0x2497df(_0x8d4dc2),_0x12453c=new _0x53da7b(_0x8d4dc2);return _0x1c9ac9['bind']('isEnabled')['to'](_0x540519,'isReady',_0x540519,'isEnabled',_0x5c7a0e,'isReadOnly',(_0x1911da,_0x255fcc,_0x5971cb)=>_0x1911da&&_0x255fcc&&!_0x5971cb),_0x1c9ac9['buttonView']['set']({'icon':_0x8785f0['history'],'label':y(_0x8d4dc2,'Revision\x20history'),'tooltip':!0x0}),_0x147b48['set']({'label':y(_0x8d4dc2,'Save\x20current\x20revision'),'withText':!0x0,'role':'menuitem'}),_0x147b48['bind']('isEnabled')['to'](_0x540519,'isReady',_0x540519,'isEnabled',_0x5c7a0e,'isReadOnly',(_0xe98d74,_0x1277ce,_0x233a81)=>_0xe98d74&&_0x1277ce&&!_0x233a81),_0x147b48['on']('execute',()=>this['_showDialog']()),_0x12453c['set']({'label':y(_0x8d4dc2,'Open\x20revision\x20history'),'withText':!0x0,'role':'menuitem'}),_0x12453c['bind']('isEnabled')['to'](_0x540519,'isReady',_0x5c7a0e,'isReadOnly',(_0x20475e,_0x2c5ca2)=>_0x20475e&&!_0x2c5ca2),_0x12453c['on']('execute',()=>{_0x5c7a0e['config']['get']('revisionHistory')['showRevisionViewerCallback'](),_0x1c9ac9['isOpen']=!0x1,_0x5c7a0e['editing']['view']['focus']();}),_0x372a17['children']['add'](_0x147b48),_0x5d4dc0['children']['add'](_0x12453c),_0x36c68f['role']='menu',_0x36c68f['items']['addMany']([_0x372a17,_0x5d4dc0]),_0x595eef['add'](_0x36c68f),_0x1c9ac9;}),_0x5c7a0e['ui']['componentFactory']['add']('menuBar:revisionHistory',()=>this['_registerMenuComponent']());}['_registerMenuComponent'](){const _0xdea735=this['editor'],_0x385d56=_0xdea735['locale'],_0x5b6890=new _0x151158(_0x385d56),_0x172bd4=new _0x3dbca6(_0x385d56);_0x5b6890['buttonView']['set']({'icon':_0x8785f0['history'],'label':y(_0x385d56,'Revision\x20history')});const _0x1f5639=new _0xe2483b(_0x385d56,_0x5b6890),_0x49691e=new _0x5cfe9f(_0x385d56);_0x49691e['set']({'label':y(_0x385d56,'Save\x20current\x20revision')}),_0x49691e['delegate']('execute')['to'](_0x5b6890),_0x49691e['on']('execute',()=>{this['_showDialog']();}),_0x1f5639['children']['add'](_0x49691e),_0x172bd4['items']['add'](_0x1f5639);const _0x69a128=new _0xe2483b(_0x385d56,_0x5b6890),_0x578a6c=new _0x5cfe9f(_0x385d56);return _0x578a6c['set']({'label':y(_0x385d56,'Open\x20revision\x20history')}),_0x578a6c['delegate']('execute')['to'](_0x5b6890),_0x578a6c['on']('execute',()=>{_0xdea735['config']['get']('revisionHistory')['showRevisionViewerCallback']();}),_0x69a128['children']['add'](_0x578a6c),_0x172bd4['items']['add'](_0x69a128),_0x5b6890['panelView']['children']['add'](_0x172bd4),_0x5b6890;}['_showDialog'](){const _0x477cf8=this['editor'],_0x5bcfca=_0x477cf8['locale'],t=_0x5bcfca['t'],_0x268f00=_0x477cf8['plugins']['get']('Dialog'),_0x4df940=_0x477cf8['plugins']['get']('RevisionTracker');function _0x4fae50(_0x447863){_0x477cf8['config']['get']('revisionHistory.requireRevisionName')&&''===_0x447863['revisionName']?_0x447863['revisionNameInputView']['errorText']=y(_0x5bcfca,'The\x20revision\x20name\x20cannot\x20be\x20empty.'):(_0x477cf8['plugins']['get'](l)['saveRevision']({'name':_0x447863['revisionName']}),_0x268f00['hide']());}this['_saveRevisionFormView']||(this['_createSaveRevisionFormView'](),this['_saveRevisionFormView']['on']('submit',()=>_0x4fae50(this['_saveRevisionFormView']))),this['_saveRevisionFormView']['reset'](),_0x268f00['show']({'id':'revisionSave','title':y(_0x5bcfca,'Save\x20current\x20revision'),'isModal':!0x0,'content':this['_saveRevisionFormView'],'actionButtons':[{'label':t('Cancel'),'withText':!0x0,'onExecute':()=>_0x268f00['hide']()},{'label':t('Accept'),'class':'ck-button-action','withText':!0x0,'onCreate'(_0x533967){_0x533967['bind']('isEnabled')['to'](_0x4df940,'isReady',_0x4df940,'isEnabled',_0x477cf8,'isReadOnly',(_0x4790a8,_0x2c3d2c,_0xc71905)=>_0x4790a8&&_0x2c3d2c&&!_0xc71905);},'onExecute':()=>_0x4fae50(this['_saveRevisionFormView'])}]});}['_createSaveRevisionFormView'](){const _0x501004=this['editor'],_0x7516fe=_0x501004['locale'];this['_saveRevisionFormView']=new ns(_0x7516fe,_0x501004['config']['get']('revisionHistory.requireRevisionName')),this['_saveRevisionFormView']['render']();}}class Z extends _0x3165d1{['changeId'];['_model'];constructor(_0x535ab5,_0x2e27e6){super(_0x535ab5),this['_model']=_0x2e27e6,this['changeId']=_0x2e27e6['id'];const _0x15707b=this['bindTemplate'],_0x4c8d4d=y(_0x535ab5,_0x2e27e6['data']['isSuggestion']?'Suggested\x20by':'add'==_0x2e27e6['type']?'Added\x20by':'Removed\x20by');this['set']('type',_0x2e27e6['type']),this['setTemplate']({'tag':'div','attributes':{'class':['ck-annotation','ck-revision-change',_0x15707b['to']('type',_0x1d1f70=>'ck-revision-change__'+_0x1d1f70)],'tabindex':-0x1},'children':[{'tag':'span','children':[{'tag':'span','attributes':{'class':['ck-revision-change__label']},'children':[{'text':_0x4c8d4d}]},{'text':'\x20'+_0x2e27e6['author']['name']}]}]});}['focus'](){this['element']['focus']();}}class r extends/* #__PURE__ -- @preserve */
|
|
25
|
+
_0x13b2ce(){['id'];['author'];['type'];['data'];['rootName'];constructor(_0x4a27eb){super(),this['id']=_0x4a27eb['id']||_0x4693f2(),this['author']=_0x4a27eb['author'],this['type']=_0x4a27eb['type'],this['data']=_0x4a27eb['data']||{},this['rootName']=_0x4a27eb['rootName'],this['set']('createdAt',_0x4a27eb['createdAt']);}['toJSON'](){return{'id':this['id'],'authorId':this['author']['id'],'type':this['type'],'data':this['data'],'createdAt':this['createdAt']};}}class f{['newRevisionId'];['oldRevisionId'];['changes'];constructor(_0x429b85,_0x1c2c97){this['newRevisionId']=_0x429b85,this['oldRevisionId']=_0x1c2c97,this['changes']=new _0x4fae73();}['_setChanges'](_0x55eac9){for(const _0x3a6d32 of _0x55eac9)this['changes']['add'](_0x3a6d32);}}const tt={'c':_0x5626b6,'a':_0x4b1cea,'e':_0x578701,'r':_0x427790,'u':_0x364ff0};class d extends _0x1a2be0{['repository'];['adapter'];['_activeViewTarget'];['_changeView'];['_changeIdToChange'];['_balloon'];static get['pluginName'](){return'RevisionViewer';}static get['requires'](){return[_0x1945a4,_0x305120,A];}constructor(_0x267528){super(_0x267528),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',(_0x124a58,_0x5e4e5c,_0x41c5ad)=>{this['activeChange']=null,this['activeView']=null,this['editor']['editing']['view']['change'](_0x50daf6=>{for(const _0x5bf1b8 of this['editor']['editing']['view']['document']['roots'])_0x41c5ad?_0x50daf6['removeClass']('ck-editor__editable__overlay',_0x5bf1b8):_0x50daf6['addClass']('ck-editor__editable__overlay',_0x5bf1b8);});}),this['bind']('isNavigationMode')['to'](this,'activeChange',_0x3fc004=>null!==_0x3fc004),this['bind']('currentChangeNumber')['to'](this,'isReady',this,'diff',this,'activeChange',(_0x47b33c,_0x277e57,_0x59f8c7)=>_0x47b33c&&_0x59f8c7?_0x277e57['changes']['getIndex'](_0x59f8c7):0x0),this['bind']('numberOfChanges')['to'](this,'isReady',this,'diff',(_0x487f5c,_0x76b396)=>_0x487f5c?_0x76b396['changes']['length']:0x0),this['_changeView']=null,this['_changeIdToChange']=new Map(),this['adapter']=null,this['_balloon']=this['editor']['plugins']['get'](_0x305120);}['init'](){const _0x231a8f=this['editor'],_0x24714a=new yt(_0x231a8f,{'direction':'backward'}),_0x10e442=new yt(_0x231a8f,{'direction':'forward'});(_0x231a8f['commands']['add']('showPreviousChange',_0x24714a),_0x231a8f['commands']['add']('showNextChange',_0x10e442),_0x231a8f['commands']['add']('restoreRevision',new bt(_0x231a8f)),this['on']('change:numberOfChanges',()=>{_0x24714a['refresh'](),_0x10e442['refresh']();}),this['_setConversion'](),this['_initInteractions'](),_0x231a8f['enableReadOnlyMode']('revision-viewer'),_0x231a8f['plugins']['has']('WidgetToolbarRepository'))&&_0x231a8f['plugins']['get']('WidgetToolbarRepository')['forceDisabled']('revision-viewer');}async['getRevisionData'](_0x3f0bcd){await this['loadRevisionData'](_0x3f0bcd);const _0x515196={};for(const _0x5ddf14 in _0x3f0bcd['diffData']){if(_0x3f0bcd['diffData'][_0x5ddf14]['attachChange']&&!_0x3f0bcd['diffData'][_0x5ddf14]['attachChange']['isAttached'])continue;const _0x524f7f=this['_removeRevisionMarkers'](JSON['parse'](_0x3f0bcd['diffData'][_0x5ddf14]['insertions'])),_0x852742=this['editor']['editing']['view']['document'],_0x1c0ac9=new _0x3abca1(_0x852742,_0x524f7f['map'](_0x10dcca=>this['_getViewObj'](_0x10dcca)));this['editor']['data']['processor']['useFillerType']('marked'),_0x515196[_0x5ddf14]=this['editor']['data']['processor']['toData'](_0x1c0ac9),this['editor']['data']['processor']['useFillerType']('default');}return _0x515196;}async['getRevisionRootsAttributes'](_0x248b30){await this['loadRevisionData'](_0x248b30);const _0x335750={};for(const _0x3aa05f in _0x248b30['diffData'])_0x248b30['diffData'][_0x3aa05f]['attachChange']&&!_0x248b30['diffData'][_0x3aa05f]['attachChange']['isAttached']||(_0x335750[_0x3aa05f]=_0x248b30['diffData'][_0x3aa05f]['attributesAfter']||{});return _0x335750;}['_removeRevisionMarkers'](_0x303abe){return(_0x303abe=_0x303abe['filter'](_0x4d0ecb=>!_0x4d0ecb['name']||'revision-start'!==_0x4d0ecb['name']&&'revision-end'!==_0x4d0ecb['name']))['forEach'](_0x2326c4=>{'string'!=typeof _0x2326c4&&(_0x2326c4['children']=this['_removeRevisionMarkers'](_0x2326c4['children']),_0x2326c4['attributes']=_0x2326c4['attributes']['filter'](_0x4646a2=>!_0x4646a2[0x0]['startsWith']('data-revision-')));}),_0x303abe;}async['compare'](_0x4dbe22,_0x23d85b,_0x7e095b=!0x1){if(!this['isEnabled'])return;const _0x9ab283=this['diff'],_0x101995=this['repository'],_0x10c628='string'==typeof _0x4dbe22?_0x101995['getRevision'](_0x4dbe22):_0x4dbe22,_0x5b7ffe='string'==typeof _0x23d85b?_0x101995['getRevision'](_0x23d85b):_0x23d85b,_0x4fbff0=_0x10c628['id'],_0x209905=_0x5b7ffe?_0x5b7ffe['id']:null;if(!_0x7e095b&&this['diff']&&this['diff']['newRevisionId']===_0x4fbff0&&this['diff']['oldRevisionId']===_0x209905)return Promise['resolve']();this['isReady']=!0x1,this['activeView']=null,this['activeChange']=null,this['diff']=new f(_0x4fbff0,_0x209905);const _0x5971b3=this['_getRevisionsRange'](_0x10c628,_0x5b7ffe,!0x0)['map'](_0x11c247=>this['loadRevisionData'](_0x11c247));return _0x5971b3['push'](new Promise(_0x4b7221=>{setTimeout(_0x4b7221,0x14);})),Promise['all'](_0x5971b3)['then'](()=>{if(!this['isEnabled'])return;this['_cleanUp']();const _0x4b9486=this['_getDiff'](_0x4fbff0,_0x209905);for(const _0x3c7eb2 of _0x4b9486['changes'])this['_changeIdToChange']['set'](_0x3c7eb2['id'],_0x3c7eb2);this['editor']['model']['enqueueChange']({'isUndoable':!0x1},_0x1d5fa1=>{for(const _0x374f5e of this['editor']['model']['document']['getRootNames']())_0x1d5fa1['detachRoot'](_0x374f5e);for(const _0x1b3ef3 of Object['keys'](_0x4b9486['model'])){const _0x4b6ae0=_0x1d5fa1['addRoot'](_0x1b3ef3);for(const _0x3d4679 of Object['keys'](_0x4b9486['attributes'][_0x1b3ef3]))_0x1d5fa1['setAttribute'](_0x3d4679,_0x4b9486['attributes'][_0x1b3ef3][_0x3d4679],_0x4b6ae0);_0x1d5fa1['insert'](_0x4b9486['model'][_0x1b3ef3],_0x4b6ae0,0x0);}}),this['diff']['_setChanges'](this['_sortAndFilterDiffChanges'](_0x4b9486['changes'])),this['isReady']=!0x0;})['catch'](_0x566760=>{console['error'](_0x566760),this['_cleanUp'](),_0x9ab283&&(this['diff']=_0x9ab283),this['isReady']=!0x0;});}['addRevisionData'](_0x5eac2c,_0x25a6f5){const _0x3e23a3=this['repository']['createRevision'](_0x5eac2c);return _0x3e23a3['on']('_update',(_0x4759cc,_0x1b4b47,_0x2aea40)=>_0x25a6f5(_0x1b4b47,_0x2aea40,_0x3e23a3)),this['repository']['addRevision'](_0x3e23a3),_0x3e23a3;}['loadRevisionData'](_0x39f319){if(!_0x39f319||_0x39f319['diffData'])return Promise['resolve']();{const _0x1baaca=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0x1baaca,'revisionId':_0x39f319['id']})['then'](_0x26dce4=>{_0x39f319['_update']({'diffData':_0x26dce4['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},_0x2d7248=>{for(const _0x5f0e31 of this['editor']['model']['document']['getRootNames']())_0x2d7248['detachRoot'](_0x5f0e31);});}['_sortAndFilterDiffChanges'](_0x90664f){const _0x41f2d7=[],_0x14102b=new Map();for(const _0x4bb326 of this['editor']['model']['document']['getRootNames']()){const _0x86d633=this['editor']['editing']['view']['getDomRoot'](_0x4bb326);if(!_0x86d633)continue;const _0x2d0724=_0x86d633['getClientRects']()['item'](0x0);_0x2d0724&&(_0x41f2d7['push'](_0x4bb326),_0x14102b['set'](_0x4bb326,_0x2d0724));}return _0x41f2d7['sort']((_0x325ffd,_0x857b9d)=>{const _0x5c4a30=_0x14102b['get'](_0x325ffd),_0x5e8db3=_0x14102b['get'](_0x857b9d);return _0x5c4a30['y']-_0x5e8db3['y']||_0x5c4a30['x']-_0x5e8db3['x'];}),(_0x90664f=_0x90664f['filter'](_0x2385bf=>_0x41f2d7['includes'](_0x2385bf['rootName'])))['sort']((_0x4e48b3,_0x1d9de8)=>_0x41f2d7['indexOf'](_0x4e48b3['rootName'])-_0x41f2d7['indexOf'](_0x1d9de8['rootName'])),_0x90664f;}['_makeTape'](_0x496a5d){const _0x257e5e=Array['from'](_0x496a5d['markers'])['filter'](([_0x29f570,_0x4b3921])=>_0x29f570['startsWith']('revision:')&&!_0x4b3921['isCollapsed']),_0x5bce1a=Array['from'](this['editor']['model']['createRangeIn'](_0x496a5d)['getWalker']({'singleCharacters':!0x0}));if(0x0!=_0x257e5e['length'])for(const _0x5410fd of _0x5bce1a){const [_0x6f76d2,_0x17a25e]=_0x257e5e[0x0],[,_0x25b37f,_0x3b50d6]=_0x6f76d2['split'](':');if(_0x17a25e['end']['isEqual'](_0x5410fd['nextPosition'])&&_0x257e5e['shift'](),(_0x5410fd['previousPosition']['isEqual'](_0x17a25e['start'])||_0x5410fd['previousPosition']['isAfter'](_0x17a25e['start']))&&('insertion'==_0x25b37f?_0x5410fd['isAdded']={'userId':_0x3b50d6}:'deletion'==_0x25b37f&&(_0x5410fd['isRemoved']={'userId':_0x3b50d6})),0x0==_0x257e5e['length'])break;}return _0x5bce1a;}['_refreshStartEndIndex'](_0x23a396){const _0x4665b5=new Map();for(let _0x11c93f=0x0;_0x11c93f<_0x23a396['length'];_0x11c93f++)'text'===_0x23a396[_0x11c93f]['type']?(_0x23a396[_0x11c93f]['item']['startIndex']=_0x11c93f,_0x23a396[_0x11c93f]['item']['endIndex']=_0x11c93f):('elementStart'===_0x23a396[_0x11c93f]['type']?_0x23a396[_0x11c93f]['item']['startIndex']=_0x11c93f:'elementEnd'===_0x23a396[_0x11c93f]['type']&&(_0x23a396[_0x11c93f]['item']['endIndex']=_0x11c93f),_0x4665b5['set'](_0x23a396[_0x11c93f]['id'],_0x11c93f));for(const _0x20fea0 of _0x4665b5['values']())'elementStart'===_0x23a396[_0x20fea0]['type']?_0x23a396[_0x20fea0]['item']['endIndex']=_0x4665b5['get'](_0x23a396[_0x20fea0]['pairId']):'elementEnd'===_0x23a396[_0x20fea0]['type']&&(_0x23a396[_0x20fea0]['item']['startIndex']=_0x4665b5['get'](_0x23a396[_0x20fea0]['pairId']));}['_processTape'](_0x3cd666){for(let _0x59beb2=0x0;_0x59beb2<_0x3cd666['length'];_0x59beb2++){if('elementStart'===_0x3cd666[_0x59beb2]['type'])_0x3cd666[_0x59beb2]['item']['startIndex']=_0x59beb2;else{if('elementEnd'===_0x3cd666[_0x59beb2]['type']){_0x3cd666[_0x59beb2]['item']['endIndex']=_0x59beb2;const _0x1eccee=_0x3cd666[_0x59beb2]['item']['startIndex'];_0x3cd666[_0x1eccee]['pairId']=_0x3cd666[_0x59beb2]['id'],_0x3cd666[_0x59beb2]['pairId']=_0x3cd666[_0x1eccee]['id'];}else _0x3cd666[_0x59beb2]['item']['startIndex']=_0x59beb2,_0x3cd666[_0x59beb2]['item']['endIndex']=_0x59beb2,_0x3cd666[_0x59beb2]['pairId']=null;}_0x3cd666[_0x59beb2]['markersStart']||(_0x3cd666[_0x59beb2]['markersStart']=[],_0x3cd666[_0x59beb2]['markersEnd']=[]);}}['_markInsertions'](_0x4ab39b,_0x47f360){const _0x2c610a=_0x4ab39b['filter'](_0x3dd3f7=>!_0x3dd3f7['isAdded']);for(let _0x197de9=0x0;_0x197de9<_0x47f360['length'];_0x197de9++)_0x47f360[_0x197de9]['isAdded']&&(_0x2c610a[_0x197de9]['isAdded']=_0x47f360[_0x197de9]['isAdded']);}['_makeModelFromViewString'](_0x5d02fb){const _0x36fee0=JSON['parse'](_0x5d02fb),_0x42c982=this['editor']['editing']['view']['document'],_0x5deb4f=new _0x3abca1(_0x42c982,_0x36fee0['map'](_0x53de85=>this['_getViewObj'](_0x53de85)));return this['editor']['data']['toModel'](_0x5deb4f);}['_getViewObj'](_0x4be3d5){const _0x28efd1=this['editor']['editing']['view']['document'];if('string'==typeof _0x4be3d5)return new _0x297982(_0x28efd1,_0x4be3d5);{const _0x518507=_0x4be3d5['children']['map'](_0x3ba5f2=>this['_getViewObj'](_0x3ba5f2));return new(tt[_0x4be3d5['type']]||_0x7eba0d)(_0x28efd1,_0x4be3d5['name'],_0x4be3d5['attributes'],_0x518507);}}['_getDiff'](_0x4b7a09,_0x5c7807=null){const _0x412a7f=this['repository']['getRevision'](_0x4b7a09),_0x647b85=_0x5c7807?this['repository']['getRevision'](_0x5c7807):null,_0x1cd581=this['_getRevisionsRange'](_0x412a7f,_0x647b85),_0x129ec9=_0x1cd581[_0x1cd581['length']-0x1],_0x4b2e2d=new Map(),_0x31fcf4={'model':{},'attributes':{},'changes':[]},_0x557d36=new Set(),_0x5539f1=new Map();for(let _0x4ed4b5=_0x1cd581['length']-0x1;_0x4ed4b5>=0x0;_0x4ed4b5--){const _0x4e81d2=_0x1cd581[_0x4ed4b5];for(const _0x1664fa of Object['keys'](_0x4e81d2['diffData']))if(_0x4e81d2['diffData'][_0x1664fa]['attachChange']){const _0x288bff=_0x4e81d2['diffData'][_0x1664fa]['attachChange'];_0x288bff['isAttached']?(_0x557d36['add'](_0x1664fa),_0x5539f1['has'](_0x1664fa)&&_0x5539f1['get'](_0x1664fa)['userId']==_0x288bff['userId']?_0x5539f1['delete'](_0x1664fa):_0x5539f1['set'](_0x1664fa,_0x288bff)):_0x5539f1['has'](_0x1664fa)?(_0x557d36['delete'](_0x1664fa),_0x5539f1['delete'](_0x1664fa)):(_0x557d36['add'](_0x1664fa),_0x5539f1['set'](_0x1664fa,_0x288bff));}else _0x557d36['add'](_0x1664fa);}for(const _0x58d856 of _0x557d36){const _0x203cd3=_0x5539f1['has'](_0x58d856)&&!_0x5539f1['get'](_0x58d856)['isAttached'];let _0x5280ad=_0x203cd3?_0x1cd581['length']-0x1:0x0;const _0x246f2b=_0x203cd3?-0x1:0x1;for(;_0x1cd581[_0x5280ad];){const _0x3c3fcd=_0x1cd581[_0x5280ad];if(_0x3c3fcd['diffData'][_0x58d856]){const _0x334e7d=_0x203cd3?_0x3c3fcd['diffData'][_0x58d856]['attributesBefore']:_0x3c3fcd['diffData'][_0x58d856]['attributesAfter'];_0x31fcf4['attributes'][_0x58d856]=_0x334e7d?_0x463027(_0x334e7d):{};break;}_0x5280ad+=_0x246f2b;}}for(const _0xee6334 of _0x1cd581){_0xee6334['model']={};for(const _0x9fcc8b of _0xee6334['authors'])_0x4b2e2d['set'](_0x9fcc8b['id'],_0x9fcc8b);for(const _0x3139a9 of _0x557d36){const _0x242903=_0xee6334['diffData'][_0x3139a9]?_0xee6334['diffData'][_0x3139a9]['insertions']:'[]',_0x284bb8=_0xee6334['diffData'][_0x3139a9]?_0xee6334['diffData'][_0x3139a9]['deletions']:'[]';_0xee6334['model'][_0x3139a9]={'insertions':this['_makeModelFromViewString'](_0x242903),'deletions':this['_makeModelFromViewString'](_0x284bb8)};}}for(const _0x514496 of _0x557d36){let _0x57a7da=null,_0x101e70=0x0;const _0x24ceca=new Map(Array['from'](_0x412a7f['model'][_0x514496]['insertions']['markers'])['filter'](([_0x3fa84e])=>!_0x3fa84e['startsWith']('revision:')));let _0x5091ed=0x0;for(const _0x685f9a of _0x1cd581){const _0x4612a8=this['_makeTape'](_0x685f9a['model'][_0x514496]['insertions']);_0x685f9a==_0x412a7f?(_0x57a7da=_0x4612a8,_0x101e70=_0x57a7da['length'],_0x57a7da['forEach'](_0x1ab786=>{_0x1ab786['id']=_0x5091ed++;}),this['_processTape'](_0x57a7da)):this['_markInsertions'](_0x57a7da,_0x4612a8);const _0x323998=_0x57a7da['filter'](_0x356a4c=>!_0x356a4c['isAdded'])['map'](_0xadf491=>_0xadf491['id']);let _0x36fa33=0x0;const _0x27d527=this['_makeTape'](_0x685f9a['model'][_0x514496]['deletions']);_0x27d527['forEach'](_0x2348fd=>{_0x2348fd['isRemoved']?_0x2348fd['id']=_0x101e70++:_0x2348fd['id']=_0x323998[_0x36fa33++];}),this['_processTape'](_0x27d527),this['_setDistance'](_0x57a7da,'isAdded'),this['_setDistance'](_0x27d527,'isRemoved'),_0x685f9a==_0x412a7f&&this['_markMarkers'](_0x57a7da,_0x24ceca),_0x57a7da=this['_joinTapes'](_0x57a7da,_0x27d527),this['_refreshStartEndIndex'](_0x57a7da),this['_setDistance'](_0x57a7da,'isRemoved');}_0x57a7da=_0x57a7da['filter'](_0x515db9=>!(_0x515db9['isAdded']&&_0x515db9['isRemoved']));const _0x270da8=new Map(_0x129ec9['model'][_0x514496]['deletions']['markers']),_0x2d2f4b=new Set(_0x24ceca['keys']());for(const _0x5c7b22 of _0x270da8['keys']())_0x2d2f4b['delete'](_0x5c7b22);this['_markSuggestions'](_0x57a7da,_0x2d2f4b),this['_fixObsoleteTags'](_0x57a7da),_0x57a7da=this['_removeMissingPairs'](_0x57a7da),_0x57a7da=this['_markMismatchedRemovedTags'](_0x57a7da),_0x57a7da=this['_removeUnsupportedChanges'](_0x57a7da);const {root:_0x4069ba,changes:_0x14378a}=this['_makeModelFromTape'](_0x57a7da,_0x4b2e2d,_0x514496);_0x31fcf4['model'][_0x514496]=_0x4069ba;const _0x4a5231=_0x5539f1['get'](_0x514496);if(_0x4a5231){const _0x3c6f56=_0x4b2e2d['get'](_0x4a5231['userId']),_0x3a59eb=new r({'author':_0x3c6f56,'type':_0x4a5231['isAttached']?'add':'remove','data':{'isOnRoot':!0x0},'createdAt':new Date(),'rootName':_0x514496});_0x14378a['unshift'](_0x3a59eb),_0x31fcf4['attributes'][_0x514496]['revisionHistoryAttachChange']=_0x3a59eb['id'];}_0x31fcf4['changes']=_0x31fcf4['changes']['concat'](_0x14378a);}return _0x31fcf4;}['_markMarkers'](_0x41a3c9,_0x344dee){for(let _0x23f8b0=0x0;_0x23f8b0<_0x41a3c9['length'];_0x23f8b0++)for(const [_0x241179,_0x1c4064]of _0x344dee)_0x1c4064['start']['isEqual'](_0x41a3c9[_0x23f8b0]['previousPosition'])&&_0x41a3c9[_0x23f8b0]['markersStart']['push'](_0x241179),_0x1c4064['end']['isEqual'](_0x41a3c9[_0x23f8b0]['nextPosition'])&&_0x41a3c9[_0x23f8b0]['markersEnd']['push'](_0x241179);}['_joinTapes'](_0x2eb95a,_0x45b41f){let _0x280de9=[],_0x4ca930=0x0,_0x28d756=0x0;for(;_0x4ca930<_0x2eb95a['length']||_0x28d756<_0x45b41f['length'];){const _0x24b6ac=_0x2eb95a[_0x4ca930]||{},_0x5bd195=_0x45b41f[_0x28d756]||{};if(_0x24b6ac['id']==_0x5bd195['id'])_0x4ca930++,_0x28d756++,_0x280de9['push'](_0x24b6ac);else{if(_0x5bd195['isRemoved']&&_0x24b6ac['isAdded']){const {commonTape:_0x289594,iEnd:_0x3f9ea0,jEnd:_0x3b9ffa}=this['_threeWayMerge'](_0x2eb95a,_0x4ca930,_0x45b41f,_0x28d756);_0x280de9=_0x280de9['concat'](_0x289594),_0x4ca930=_0x3f9ea0,_0x28d756=_0x3b9ffa;}else _0x5bd195['isRemoved']?(_0x28d756++,_0x280de9['push'](_0x5bd195)):(_0x4ca930++,_0x280de9['push'](_0x24b6ac));}}return _0x280de9;}['_markSuggestions'](_0x13d137,_0x2be77b){const _0x202480=[];for(let _0x2e4a69=0x0;_0x2e4a69<_0x13d137['length'];_0x2e4a69++){for(let _0x48f586=0x0;_0x48f586<_0x13d137[_0x2e4a69]['markersStart']['length'];_0x48f586++){const _0x3cea14=_0x13d137[_0x2e4a69]['markersStart'][_0x48f586];if(!_0x2be77b['has'](_0x3cea14))continue;const {group:_0x4456df,type:_0xd5bcb7,authorId:_0xbae011}=_0x418827(_0x3cea14);'revision-suggestion'!=_0x4456df||'insertion'!=_0xd5bcb7&&'deletion'!=_0xd5bcb7||(_0x202480['unshift']({'type':_0xd5bcb7,'name':_0x3cea14,'userId':_0xbae011}),_0x13d137[_0x2e4a69]['markersStart']['splice'](_0x48f586,0x1),_0x48f586--);}_0x8a5905(_0x13d137[_0x2e4a69]);for(let _0x5e5f6f=0x0;_0x5e5f6f<_0x13d137[_0x2e4a69]['markersEnd']['length'];_0x5e5f6f++){const _0x2c68a6=_0x13d137[_0x2e4a69]['markersEnd'][_0x5e5f6f];if(!_0x2be77b['has'](_0x2c68a6))continue;const {group:_0x35ef09,type:_0xe46494}=_0x418827(_0x2c68a6);if('revision-suggestion'!=_0x35ef09||'insertion'!=_0xe46494&&'deletion'!=_0xe46494)continue;_0x13d137[_0x2e4a69]['markersEnd']['splice'](_0x5e5f6f,0x1),_0x5e5f6f--;const _0x3ed84d=_0x202480['findIndex'](_0x58ea37=>_0x58ea37['name']==_0x2c68a6);_0x3ed84d>-0x1&&_0x202480['splice'](_0x3ed84d,0x1);}}function _0x418827(_0x2bd163){const _0x44591f=_0x2bd163['split'](':');return{'group':_0x44591f[0x0],'type':_0x44591f[0x1],'subType':_0x44591f['length']>=0x5?_0x44591f[0x2]:null,'id':_0x44591f['length']<0x5?_0x44591f[0x2]:_0x44591f[0x3],'authorId':_0x44591f['length']<0x5?_0x44591f[0x3]:_0x44591f[0x4],'markerCount':0x6==_0x44591f['length']?_0x44591f[0x5]:null};}function _0x8a5905(_0x5e11e5){for(let _0x1998b4=0x0;_0x1998b4<_0x202480['length'];_0x1998b4++){if(_0x5e11e5['isAdded']&&'insertion'==_0x202480[_0x1998b4]['type'])return _0x5e11e5['isAddSuggestion']=_0x202480[_0x1998b4],void delete _0x5e11e5['isAdded'];if(!_0x5e11e5['isAdded']&&!_0x5e11e5['isRemoved']&&'deletion'==_0x202480[_0x1998b4]['type'])return void(_0x5e11e5['isRemoveSuggestion']=_0x202480[_0x1998b4]);}}}['_setDistance'](_0x136d79,_0x14430c){let _0xf7396f=0x0,_0x31eb8f=!0x1;const _0x35740f=new Map();for(const _0x5cc089 of _0x136d79)_0x5cc089[_0x14430c]?_0x31eb8f&&(_0xf7396f++,_0x31eb8f=!0x1):(_0xf7396f++,_0x31eb8f=!0x0),_0x35740f['set'](_0x5cc089['id'],_0xf7396f);for(let _0x46aa92=0x0;_0x46aa92<_0x136d79['length'];_0x46aa92++){if('isRemoved'==_0x14430c&&_0x136d79[_0x46aa92]['isAdded']||'isAdded'==_0x14430c&&_0x136d79[_0x46aa92]['isRemoved'])continue;if('text'==_0x136d79[_0x46aa92]['type']){_0x136d79[_0x46aa92]['distance']=0x0;continue;}const _0xa9fcdc=_0x35740f['get'](_0x136d79[_0x46aa92]['pairId']),_0x3cb197=_0x35740f['get'](_0x136d79[_0x46aa92]['id']);_0x136d79[_0x46aa92]['distance']=_0xa9fcdc-_0x3cb197;}}['_getRevisionsRange'](_0x553f8c,_0xd0c486,_0x5c7fd6=!0x1){const _0x5c0178=[];let _0x88da72=this['repository']['getIndex'](_0x553f8c),_0x2983f8=this['repository']['getIndex'](_0xd0c486);for(-0x1==_0x2983f8&&(_0x2983f8=this['repository']['_revisions']['length'],_0x5c7fd6=!0x1);_0x88da72<_0x2983f8;)_0x5c0178['push'](this['repository']['getRevision'](_0x88da72)),_0x88da72++;return _0x5c7fd6&&_0x5c0178['push'](this['repository']['getRevision'](_0x88da72)),_0x5c0178;}['_threeWayMerge'](_0x376edb,_0x6349d7,_0x198bb3,_0x5891c5){const _0x44cf34=this['editor']['model']['schema'];let _0x44807f=_0x6349d7;for(;_0x376edb[_0x44807f]&&_0x376edb[_0x44807f]['isAdded'];)_0x44807f++;let _0x4763ff=_0x5891c5;for(;_0x198bb3[_0x4763ff]&&_0x198bb3[_0x4763ff]['isRemoved'];)_0x4763ff++;_0x4e8902(_0x376edb,_0x6349d7,_0x44807f),_0x4e8902(_0x198bb3,_0x5891c5,_0x4763ff);const _0x3fa9b5=_0x198bb3['slice'](_0x5891c5,_0x4763ff)['concat'](_0x376edb['slice'](_0x6349d7,_0x44807f));return _0x3fa9b5['sort']((_0x16eeec,_0x293105)=>_0x16eeec['side']!=_0x293105['side']?_0x16eeec['side']-_0x293105['side']:_0x16eeec['level']!=_0x293105['level']?_0x16eeec['level']-_0x293105['level']:_0x16eeec['distance']!=_0x293105['distance']?_0x293105['distance']-_0x16eeec['distance']:!!_0x16eeec['isAdded']!=!!_0x293105['isAdded']?-0x1==_0x16eeec['side']||0x0==_0x16eeec['side']?_0x16eeec['isAdded']?-0x1:0x1:_0x16eeec['isAdded']?0x1:-0x1:_0x16eeec['index']-_0x293105['index']),{'commonTape':_0x3fa9b5,'iEnd':_0x44807f,'jEnd':_0x4763ff};function _0x4e8902(_0x19f282,_0x5cee68,_0x56edd6){let _0xa2505c=-0x1,_0x4d19ec=Number['POSITIVE_INFINITY'],_0x58cd18=!0x0;for(let _0x3788a3=_0x5cee68;_0x3788a3<_0x56edd6;_0x3788a3++)if(_0x44cf34['isInline'](_0x19f282[_0x3788a3]['item'])||(_0x58cd18=!0x1),_0x19f282[_0x3788a3]['item']['startIndex']<_0x5cee68&&(_0xa2505c=_0x3788a3),_0x19f282[_0x3788a3]['item']['endIndex']>=_0x56edd6){_0x4d19ec=_0x3788a3;break;}_0x58cd18&&(_0xa2505c=_0x56edd6-0x1);for(let _0x4c5e78=_0x5cee68;_0x4c5e78<_0x56edd6;_0x4c5e78++)_0x19f282[_0x4c5e78]['side']=_0x4c5e78<=_0xa2505c?-0x1:_0x4c5e78<_0x4d19ec?0x0:0x1,_0x19f282[_0x4c5e78]['index']=_0x4c5e78;let _0x660f60=0x0;for(let _0x34e4d4=_0x5cee68;_0x34e4d4<=_0xa2505c;_0x34e4d4++)0x0==_0x19f282[_0x34e4d4]['distance']?_0x19f282[_0x34e4d4]['level']=_0x660f60:(_0x660f60++,_0x19f282[_0x34e4d4]['level']=_0x660f60,_0x660f60++);for(let _0x21c9fd=_0x5cee68;_0x21c9fd<_0x56edd6;_0x21c9fd++)0x0==_0x19f282[_0x21c9fd]['side']&&(_0x19f282[_0x21c9fd]['level']=_0x660f60);_0x660f60=0x0;for(let _0x236023=_0x56edd6-0x1;_0x236023>=_0x4d19ec;_0x236023--)0x0==_0x19f282[_0x236023]['distance']?_0x19f282[_0x236023]['level']=_0x660f60:(_0x660f60--,_0x19f282[_0x236023]['level']=_0x660f60,_0x660f60--);}}['_fixObsoleteTags'](_0x4a0830){const _0x456d6f=new Map(),_0x196f98=this['editor']['model']['schema'];for(let _0xfb9115=0x1;_0xfb9115<_0x4a0830['length'];_0xfb9115++){let _0x1ea0a7,_0xdcb09e,_0x4eeffb;const _0x68083d=_0x4a0830[_0xfb9115],_0x462195=_0x4a0830[_0xfb9115-0x1];if('text'==_0x68083d['type'])continue;if(_0x68083d['type']!=_0x462195['type'])continue;if(!_0x196f98['isBlock'](_0x462195['item'])||_0x196f98['isLimit'](_0x462195['item']))continue;if(!_0x196f98['isBlock'](_0x68083d['item'])||_0x196f98['isLimit'](_0x68083d['item']))continue;if((_0x4a0830[_0xfb9115]['isAdded']||_0x4a0830[_0xfb9115]['isAddSuggestion'])&&_0x4a0830[_0xfb9115-0x1]['isRemoved'])_0x1ea0a7=_0x4a0830[_0xfb9115],_0xdcb09e=_0x4a0830[_0xfb9115-0x1],_0x4eeffb=_0xfb9115-0x1;else{if(!_0x4a0830[_0xfb9115]['isRemoved']||!_0x4a0830[_0xfb9115-0x1]['isAdded']&&!_0x4a0830[_0xfb9115-0x1]['isAddSuggestion'])continue;_0x1ea0a7=_0x4a0830[_0xfb9115-0x1],_0xdcb09e=_0x4a0830[_0xfb9115],_0x4eeffb=_0xfb9115;}const _0x65dc6c=_0x1ea0a7['level']==_0xdcb09e['level'],_0x433680=Math['abs'](_0x1ea0a7['level'])<Math['abs'](_0xdcb09e['level'])&&0x0==_0xdcb09e['distance'];(_0x65dc6c||_0x433680)&&(_0x456d6f['set'](_0xdcb09e['id'],_0x1ea0a7['id']),_0x4a0830['splice'](_0x4eeffb,0x1),_0xfb9115--,_0x1ea0a7['isAdded']=!0x1);}for(let _0x31aa86=0x0;_0x31aa86<_0x4a0830['length'];_0x31aa86++)_0x456d6f['has'](_0x4a0830[_0x31aa86]['pairId'])&&(_0x4a0830[_0x31aa86]['pairId']=_0x456d6f['get'](_0x4a0830[_0x31aa86]['pairId']));}['_removeMissingPairs'](_0x1bfda1){const _0x5eab1e=new Set(_0x1bfda1['map'](_0x59cf42=>_0x59cf42['id']));for(let _0xb03ef7=0x0;_0xb03ef7<_0x1bfda1['length'];_0xb03ef7++)_0x5eab1e['has'](_0x1bfda1[_0xb03ef7]['pairId'])||0x0==_0x1bfda1[_0xb03ef7]['distance']||(_0x1bfda1[_0xb03ef7]['isIncorrect']=!0x0);return _0x1bfda1['filter'](_0x3462ad=>!_0x3462ad['isIncorrect']);}['_markMismatchedRemovedTags'](_0x283d50){const _0x520f4c=new Set();for(let _0x1fc30e=0x0;_0x1fc30e<_0x283d50['length'];_0x1fc30e++){if(_0x520f4c['has'](_0x283d50[_0x1fc30e]['id'])&&_0x283d50[_0x1fc30e]['isRemoved']&&(_0x283d50[_0x1fc30e]['isIncorrect']=!0x0),_0x283d50[_0x1fc30e]['isIncorrect'])continue;if(0x0==_0x283d50[_0x1fc30e]['distance'])continue;if('elementStart'!=_0x283d50[_0x1fc30e]['type'])continue;if(null==_0x283d50[_0x1fc30e]['pairId'])continue;let _0x14d03e=_0x1fc30e+0x1,_0x2aa097=0x0;for(;_0x283d50[_0x14d03e]['id']!=_0x283d50[_0x1fc30e]['pairId'];)'elementStart'==_0x283d50[_0x14d03e]['type']?_0x2aa097++:'elementEnd'==_0x283d50[_0x14d03e]['type']&&_0x2aa097--,_0x14d03e++;if(0x0!=_0x2aa097){if(_0x283d50[_0x1fc30e]['isRemoved'])_0x283d50[_0x1fc30e]['isIncorrect']=!0x0;else{for(;_0x14d03e!=_0x1fc30e;)_0x283d50[_0x14d03e]['isRemoved']&&0x0!=_0x283d50[_0x14d03e]['distance']&&(_0x283d50[_0x14d03e]['isIncorrect']=!0x0,_0x520f4c['add'](_0x283d50[_0x14d03e]['pairId'])),_0x14d03e--;}}}return _0x283d50['filter'](_0x5669ac=>!_0x5669ac['isIncorrect']);}['_removeUnsupportedChanges'](_0x82e94){const _0x45a556=this['editor']['model']['schema'];for(let _0x2c1b10=0x0;_0x2c1b10<_0x82e94['length'];_0x2c1b10++){if(!(_0x82e94[_0x2c1b10]['isAdded']||_0x82e94[_0x2c1b10]['isAddSuggestion']||_0x82e94[_0x2c1b10]['isRemoved']||_0x82e94[_0x2c1b10]['isRemoveSuggestion']))continue;if(0x0==_0x82e94[_0x2c1b10]['distance'])continue;const _0x66eb35=_0x82e94[_0x2c1b10]['item'];_0x45a556['isBlock'](_0x66eb35)||_0x45a556['isLimit'](_0x66eb35)||(_0x82e94[_0x2c1b10]['isAdded']&&delete _0x82e94[_0x2c1b10]['isAdded'],_0x82e94[_0x2c1b10]['isAddSuggestion']&&delete _0x82e94[_0x2c1b10]['isAddSuggestion'],_0x82e94[_0x2c1b10]['isRemoveSuggestion']&&delete _0x82e94[_0x2c1b10]['isRemoveSuggestion'],_0x82e94[_0x2c1b10]['isRemoved']&&(_0x82e94[_0x2c1b10]['isIncorrect']=!0x0));}return _0x82e94['filter'](_0x511082=>!_0x511082['isIncorrect']);}['_makeModelFromTape'](_0x122cf8,_0x52a8c8,_0x4c4ef6){const _0x41b51a=new wt(),_0x14e39b=[],_0x12186b=new Map(),_0x459a8b=this['editor']['model'],_0x3c0f02=_0x459a8b['schema'],_0x318699=[_0x41b51a],_0xac0080={},_0x33ee89={'isAdded':[],'isRemoved':[],'isAddSuggestion':[],'isRemoveSuggestion':[]};let _0x588eb9=null;const _0x418fdb=[0x0];for(let _0x26a0dc=0x0;_0x26a0dc<_0x122cf8['length'];_0x26a0dc++){let _0x59440e,_0x586c70;if('elementStart'===_0x122cf8[_0x26a0dc]['type']){_0x59440e=_0x459a8b['createPositionFromPath'](_0x41b51a,_0x418fdb);const _0xc5dc5e=new ft(_0x122cf8[_0x26a0dc]['item']['name'],_0x122cf8[_0x26a0dc]['item']['getAttributes']());_0x318699[0x0]['_appendChild'](_0xc5dc5e),_0x418fdb['push'](0x0),_0x318699['unshift'](_0xc5dc5e),_0x586c70=_0x459a8b['createPositionFromPath'](_0x41b51a,_0x418fdb),_0x588eb9=null;}else{if('elementEnd'===_0x122cf8[_0x26a0dc]['type'])_0x318699['shift'](),_0x59440e=_0x459a8b['createPositionFromPath'](_0x41b51a,_0x418fdb),_0x418fdb['pop'](),_0x418fdb[_0x418fdb['length']-0x1]++,_0x586c70=_0x459a8b['createPositionFromPath'](_0x41b51a,_0x418fdb),_0x588eb9=null;else{if(_0x59440e=_0x459a8b['createPositionFromPath'](_0x41b51a,_0x418fdb),_0x588eb9&&_0x53c37a(_0x588eb9,_0x122cf8[_0x26a0dc]['item']))_0x588eb9['_data']+=_0x122cf8[_0x26a0dc]['item']['data'];else{const _0xd7a1e9=new _t(_0x122cf8[_0x26a0dc]['item']['data'],_0x122cf8[_0x26a0dc]['item']['getAttributes']());_0x318699[0x0]['_appendChild'](_0xd7a1e9),_0x588eb9=_0xd7a1e9;}_0x418fdb[_0x418fdb['length']-0x1]+=_0x122cf8[_0x26a0dc]['item']['offsetSize'],_0x586c70=_0x459a8b['createPositionFromPath'](_0x41b51a,_0x418fdb);}}for(const _0x5ee190 of _0x122cf8[_0x26a0dc]['markersStart'])_0x12186b['set'](_0x5ee190,{'start':_0x59440e,'end':null});_0x4db7e7('isRemoveSuggestion',_0x26a0dc,_0x59440e,_0x586c70),_0x4db7e7('isAddSuggestion',_0x26a0dc,_0x59440e,_0x586c70),_0x4db7e7('isRemoved',_0x26a0dc,_0x59440e,_0x586c70),_0x4db7e7('isAdded',_0x26a0dc,_0x59440e,_0x586c70);for(const _0x5cf8da of _0x122cf8[_0x26a0dc]['markersEnd']){_0x12186b['get'](_0x5cf8da)['end']=_0x586c70;}}for(const [_0x3dcf0c,_0x43c6f8]of _0x12186b){const _0x2c15cb=this['editor']['model']['createRange'](_0x43c6f8['start'],_0x43c6f8['end']);_0x41b51a['markers']['set'](_0x3dcf0c,_0x2c15cb);}return _0x14e39b['sort']((_0x14d9d8,_0x1b1286)=>{const _0x289a54=_0x41b51a['markers']['get']('revision:'+_0x14d9d8['id']),_0x3443fb=_0x41b51a['markers']['get']('revision:'+_0x1b1286['id']);return _0x289a54['start']['isBefore'](_0x3443fb['start'])?-0x1:_0x289a54['start']['isAfter'](_0x3443fb['start'])?0x1:_0x289a54['end']['isBefore'](_0x3443fb['end'])?-0x1:_0x289a54['end']['isAfter'](_0x3443fb['end'])?0x1:'add'===_0x14d9d8['type']?-0x1:0x1;}),{'root':_0x41b51a,'changes':_0x14e39b};function _0x4db7e7(_0x4c3e66,_0x14fb1a,_0x113bd8,_0x97bb5d){const _0x1662e6=!!_0x122cf8[_0x14fb1a][_0x4c3e66],_0x1d54b7=_0x1662e6?_0x122cf8[_0x14fb1a][_0x4c3e66]['userId']:null,_0x45db72=_0x14fb1a===_0x122cf8['length']-0x1,_0x4b2f70=_0x33ee89[_0x4c3e66][0x0],_0x5724e5=_0x3c0f02['isObject'](_0x122cf8[_0x14fb1a]['item']);!_0xac0080[_0x4c3e66]&&_0x1662e6?_0xac0080[_0x4c3e66]={'start':_0x113bd8,'tapeItem':_0x122cf8[_0x14fb1a],'userId':_0x1d54b7,'type':_0x4c3e66}:_0xac0080[_0x4c3e66]&&!_0x1662e6?(_0xac0080[_0x4c3e66]['end']=_0x113bd8,_0x3ccbe7(_0xac0080[_0x4c3e66]),_0xac0080[_0x4c3e66]=null):_0xac0080[_0x4c3e66]&&_0x1662e6&&_0xac0080[_0x4c3e66]['userId']!==_0x1d54b7&&(_0xac0080[_0x4c3e66]['end']=_0x113bd8,_0x4b2f70&&_0x4b2f70['userId']===_0xac0080[_0x4c3e66]['userId']||_0x3ccbe7(_0xac0080[_0x4c3e66]),_0xac0080[_0x4c3e66]={'start':_0x113bd8,'tapeItem':_0x122cf8[_0x14fb1a],'userId':_0x1d54b7,'type':_0x4c3e66}),_0xac0080[_0x4c3e66]&&_0x5724e5&&('elementStart'!==_0x122cf8[_0x14fb1a]['type']||_0x4b2f70&&_0x4b2f70['userId']===_0x1d54b7||_0x33ee89[_0x4c3e66]['unshift']({'userId':_0x1d54b7,'object':_0x122cf8[_0x14fb1a]['item'],'change':_0xac0080[_0x4c3e66]}),'elementEnd'===_0x122cf8[_0x14fb1a]['type']&&_0x4b2f70&&_0x4b2f70['object']===_0x122cf8[_0x14fb1a]['item']&&(_0x33ee89[_0x4c3e66]['shift'](),_0xac0080[_0x4c3e66]=_0x4b2f70['change'])),_0xac0080[_0x4c3e66]&&_0x45db72&&(_0xac0080[_0x4c3e66]['end']=_0x97bb5d,_0x3ccbe7(_0xac0080[_0x4c3e66]),_0xac0080[_0x4c3e66]=null);}function _0x3ccbe7({start:_0x4dbd0d,end:_0xa07aea,tapeItem:_0x9b08b2,userId:_0x49f6ea,type:_0x5d3ddf}){const _0x18e4c4=_0x9b08b2['item'],_0x3e73b2=_0x459a8b['schema']['isBlock'](_0x18e4c4)&&!_0x459a8b['schema']['isLimit'](_0x18e4c4),_0x58d43d=_0x4dbd0d['nodeAfter']==_0xa07aea['parent']&&_0xa07aea['isAtStart'];if(_0x3e73b2&&_0x58d43d)return;const _0x14fcd2=_0x459a8b['createRange'](_0x4dbd0d,_0xa07aea),_0x1e32e2=_0x52a8c8['get'](_0x49f6ea),_0x4f9da4=new r({'author':_0x1e32e2,'type':'isAdded'==_0x5d3ddf||'isAddSuggestion'==_0x5d3ddf?'add':'remove','data':{'isSuggestion':'isAddSuggestion'==_0x5d3ddf||'isRemoveSuggestion'==_0x5d3ddf},'createdAt':new Date(),'rootName':_0x4c4ef6});_0x14e39b['push'](_0x4f9da4),_0x41b51a['markers']['set']('revision:'+_0x4f9da4['id'],_0x14fcd2);}function _0x53c37a(_0x1c2aa7,_0x1401b0){const _0x555ecc=_0x1c2aa7['getAttributes'](),_0xa77f14=_0x1401b0['getAttributes']();for(const _0x4eab0d of _0x555ecc){if(_0x4eab0d[0x1]!==_0x1401b0['getAttribute'](_0x4eab0d[0x0]))return!0x1;_0xa77f14['next']();}return _0xa77f14['next']()['done'];}}['_setConversion'](){this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'revision'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision','view':_0x290d0e=>{const _0x57ea15=_0x290d0e['markerName']['split'](':')[0x1],_0x42a524=this['_getChangeFromId'](_0x57ea15);if(!_0x42a524)return null;const _0x279e36='add'==_0x42a524['type']?'insertion':'deletion',_0x3dd2e0=['ck-suggestion-marker','ck-suggestion-marker-'+_0x279e36];return _0x42a524['data']['isSuggestion']&&_0x3dd2e0['push']('ck-suggestion-marker-'+_0x279e36+'-new'),this['activeChange']==_0x42a524&&_0x3dd2e0['push']('ck-suggestion-marker--active'),{'classes':_0x3dd2e0,'attributes':{'data-change-id':_0x57ea15}};}}),this['editor']['conversion']['for']('upcast')['add'](_0x2e99c7=>{_0x2e99c7['on']('element:pre',(_0x16625e,_0x50767c,_0x58f015)=>{const _0x210f7f=_0x50767c['viewItem']['getChild'](0x0);if(!_0x210f7f||!_0x210f7f['is']('element','code'))return;if(!_0x58f015['consumable']['consume'](_0x210f7f,{'attributes':['vid_start','vid_end']}))return;const _0x31b9cf=_0x50767c['modelRange']['start']['nodeAfter'];_0x58f015['writer']['setAttribute']('vid_start',_0x210f7f['getAttribute']('vid_start'),_0x31b9cf),_0x58f015['writer']['setAttribute']('vid_end',_0x210f7f['getAttribute']('vid_end'),_0x31b9cf);},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['add'](_0xdd2689=>{_0xdd2689['on']('element',(_0x2277a4,_0x49a2cd,_0x4bc0a7)=>{if(!_0x4bc0a7['consumable']['consume'](_0x49a2cd['viewItem'],{'attributes':['vid_start','vid_end']}))return;if(_0x49a2cd['modelRange']['isCollapsed'])return;const _0x41a712=_0x49a2cd['modelRange']['start']['nodeAfter'];_0x41a712['hasAttribute']('vid_start')||_0x41a712['hasAttribute']('vid')||(_0x4bc0a7['writer']['setAttribute']('vid_start',_0x49a2cd['viewItem']['getAttribute']('vid_start'),_0x41a712),_0x4bc0a7['writer']['setAttribute']('vid_end',_0x49a2cd['viewItem']['getAttribute']('vid_end'),_0x41a712));},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['elementToAttribute']({'view':{'name':'span','attributes':{'vid':!0x0}},'model':{'key':'vid','value':_0x16e4d5=>_0x16e4d5['getAttribute']('vid')}}),this['editor']['model']['schema']['on']('checkAttribute',(_0x3dcfc0,[,_0x4d5cee])=>{['vid_start','vid_end','vid']['includes'](_0x4d5cee)&&(_0x3dcfc0['return']=!0x0,_0x3dcfc0['stop']());},{'priority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['add'](_0x28efbd=>{_0x28efbd['on']('attribute:vid',(_0x79b380,_0x56bbea,_0x1a7a89)=>{if('\x20'!=_0x56bbea['item']['data']||_0x56bbea['item']['parent']['maxOffset']>0x1)return;if(!_0x1a7a89['consumable']['consume'](_0x56bbea['item'],_0x79b380['name']))return;const _0x2063e2=_0x1a7a89['writer'],_0x43c828=_0x1a7a89['mapper']['toViewRange'](_0x56bbea['range']);_0x2063e2['wrap'](_0x43c828,_0x2063e2['createAttributeElement']('span'));});}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',function(_0x23f2c2){const _0x144b5a=_0x23f2c2['plugins']['get']('RevisionViewer');return(_0x39725f,_0x382b5a,_0x2f65b7)=>{const _0x11560b=_0x382b5a['markerName']['split'](':')[0x1],_0x4b0f4c=_0x144b5a['_getChangeFromId'](_0x11560b);if(!_0x4b0f4c)return null;const _0x46beef='add'==_0x4b0f4c['type']?'split':'merge';if(!_0x2f65b7['consumable']['test'](_0x382b5a['markerRange'],_0x39725f['name']))return;const _0x12453b=_0x382b5a['markerRange']['getWalker'](),_0x6a3e64=_0x382b5a['markerRange']['start'],_0x23a943=_0x23f2c2['model']['schema'];let _0x51a3e8=null,_0x16fe2b=null,_0x4b33a7=!0x1,_0x34e54e=!0x1;for(const _0x39b2ad of _0x12453b){const _0x361efe=_0x39b2ad['item'];_0x4b33a7=_0x4b33a7||_0x23a943['isContent'](_0x361efe);const _0x3c2751=_0x2f65b7['mapper']['toViewElement'](_0x361efe);if(_0x3c2751&&_0x3c2751['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x39b2ad['type']&&(_0x23a943['isBlock'](_0x361efe)&&!_0x23a943['isLimit'](_0x361efe)&&(_0x361efe['nextSibling']||_0x6a3e64['isAtEnd']?_0x51a3e8&&_0x51a3e8['parent']==_0x361efe||(_0x51a3e8=_0x361efe,_0x251981(_0x39b2ad['previousPosition']),_0x34e54e=!0x0):_0x16fe2b=_0x16fe2b||_0x39b2ad['previousPosition']));}function _0x251981(_0x92ed31){const _0x20d4b6=_0x2f65b7['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x46beef}),_0x58db5b=_0x2f65b7['mapper']['toViewPosition'](_0x92ed31);_0x4b0f4c['data']['isSuggestion']&&_0x2f65b7['writer']['addClass']('ck-suggestion-marker-'+_0x46beef+'-new',_0x20d4b6),_0x144b5a['activeChange']==_0x4b0f4c&&_0x2f65b7['writer']['addClass']('ck-suggestion-marker--active',_0x20d4b6),_0x2f65b7['writer']['insert'](_0x58db5b,_0x20d4b6),_0x2f65b7['mapper']['bindElementToMarker'](_0x20d4b6,_0x382b5a['markerName']);}_0x4b33a7||_0x34e54e||!_0x16fe2b||_0x251981(_0x16fe2b);};}(this['editor']),{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('removeMarker:revision',(_0x838589,_0x29bada,_0x1db878)=>{const _0x395929=_0x1db878['mapper']['markerNameToElements'](_0x29bada['markerName']);if(_0x395929){for(const _0x264787 of _0x395929)(_0x264787['hasClass']('ck-suggestion-marker-split')||_0x264787['hasClass']('ck-suggestion-marker-merge'))&&(_0x1db878['mapper']['unbindElementFromMarkerName'](_0x264787,_0x29bada['markerName']),_0x1db878['writer']['remove'](_0x264787));}},{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',(_0x56a50b,_0x385701,_0x5e6db6)=>{const _0x43a746=_0x385701['markerName']['split'](':')[0x1],_0xddfcfa=this['_getChangeFromId'](_0x43a746);if(!_0xddfcfa)return null;const _0x697c79='add'==_0xddfcfa['type']?'split':'merge';if(_0x5e6db6['consumable']['test'](_0x385701['markerRange'],_0x56a50b['name']))for(const _0x320255 of _0x385701['markerRange']['getItems']()){if(!_0x320255['is']('element','softBreak'))continue;const _0xef01e5=_0x5e6db6['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x697c79}),_0x2e661e=_0x5e6db6['mapper']['toViewPosition'](this['editor']['model']['createPositionBefore'](_0x320255));_0xddfcfa['data']['isSuggestion']&&_0x5e6db6['writer']['addClass']('ck-suggestion-marker-'+_0x697c79+'-new',_0xef01e5),this['activeChange']==_0xddfcfa&&_0x5e6db6['writer']['addClass']('ck-suggestion-marker--active',_0xef01e5),_0x5e6db6['writer']['insert'](_0x2e661e,_0xef01e5),_0x5e6db6['mapper']['bindElementToMarker'](_0xef01e5,_0x385701['markerName']);}},{'priority':'high'}),this['editor']['model']['document']['on']('change',()=>{this['editor']['editing']['view']['change'](_0x5fae34=>{for(const _0x134935 of this['editor']['model']['document']['getRootNames']()){const _0x4adf30=this['editor']['model']['document']['getRoot'](_0x134935),_0x145fd1=this['editor']['editing']['view']['document']['getRoot'](_0x134935);if(_0x145fd1){const _0x36d5bc=_0x4adf30['getAttribute']('revisionHistoryAttachChange');if(_0x5fae34['removeAttribute']('data-change-id',_0x145fd1),_0x5fae34['removeClass']('ck-revision-history-root-add',_0x145fd1),_0x5fae34['removeClass']('ck-revision-history-root-remove',_0x145fd1),_0x5fae34['removeClass']('ck-revision-history-root--active',_0x145fd1),_0x36d5bc){const _0x585558=this['_getChangeFromId'](_0x36d5bc);if(!_0x585558)return null;_0x5fae34['setAttribute']('data-change-id',_0x36d5bc,_0x145fd1),_0x5fae34['addClass']('ck-revision-history-root-'+_0x585558['type'],_0x145fd1),this['activeChange']==_0x585558&&_0x5fae34['addClass']('ck-revision-history-root--active',_0x145fd1);}}}});}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'comment','model':_0x596e4c=>'revision-comment:'+_0x596e4c,'converterPriority':'highest'}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'suggestion','model':_0x2b68dc=>'revision-suggestion:'+_0x2b68dc,'converterPriority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision-suggestion','view':_0x4073c4=>({'name':'suggestion:'+_0x4073c4,'group':'revision-suggestion'}),'converterPriority':'highest'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision-suggestion','view':_0x2d72d6=>{const _0x1e110d=_0x2d72d6['markerName']['split'](':')[0x1];return'insertion'!=_0x1e110d&&'deletion'!=_0x1e110d?null:{'classes':['ck-suggestion-preview-marker','ck-suggestion-preview-marker-'+_0x1e110d]};}}),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',(_0x5e2ac5,_0x1a906b,_0x353e0e)=>{const _0xd64354=_0x353e0e['mapper']['markerNameToElements'](_0x1a906b['markerName']);if(_0xd64354){for(const _0x2c6ed7 of _0xd64354)_0x2c6ed7['is']('uiElement')&&(_0x353e0e['mapper']['unbindElementFromMarkerName'](_0x2c6ed7,_0x1a906b['markerName']),_0x353e0e['writer']['remove'](_0x2c6ed7));}},{'priority':'high'});}['_getChangeFromId'](_0x5e4bff){return this['_changeIdToChange']['get'](_0x5e4bff);}['_getViewForChange'](_0x50712b){return this['_changeView']&&this['_changeView']['destroy'](),this['_changeView']=new Z(this['editor']['locale'],_0x50712b),this['_changeView'];}['_initInteractions'](){this['editor']['model']['document']['selection']['observeMarkers']('revision'),this['on']('change:activeView',(_0x58026e,_0x31e29b,_0x27c8f9,_0x2c9a71)=>{_0x2c9a71&&this['_balloon']['remove'](_0x2c9a71),_0x27c8f9&&(this['_balloon']['add']({'view':_0x27c8f9,'stackId':'revisionHistoryLabel','position':{'target':()=>{const _0x132ab9=this['editor']['editing'],_0xac5a99=this['_getChangeFromId'](_0x27c8f9['changeId']);let _0x412471;if(_0xac5a99['data']['isOnRoot']){const _0x1695d4=_0x132ab9['view']['getDomRoot'](_0xac5a99['rootName']);_0x412471=Array['from'](_0x1695d4['getClientRects']());}else{const _0x2a6b47=this['editor']['model']['markers']['get']('revision:'+_0x27c8f9['changeId']);_0x412471=Array['from'](_0x132ab9['mapper']['markerNameToElements'](_0x2a6b47['name']))['map'](_0x2befef=>_0x132ab9['view']['domConverter']['mapViewToDom'](_0x2befef))['map'](_0x26ba58=>Array['from'](_0x26ba58['getClientRects']()))['flat']();}if(!this['_activeViewTarget'])return _0x412471[0x0];return _0x412471['find'](_0x1801ac=>_0x1801ac['top']-0x3<=this['_activeViewTarget']['y']&&_0x1801ac['bottom']+0x3>=this['_activeViewTarget']['y']&&_0x1801ac['left']-0x3<=this['_activeViewTarget']['x']&&_0x1801ac['right']+0x3>=this['_activeViewTarget']['x'])||_0x412471[0x0];}}}),this['_balloon']['showStack']('revisionHistoryLabel'));}),this['on']('change:activeChange',(_0x3e3096,_0x220ccd,_0x356bc4,_0x5cd485)=>{this['activeView']=_0x356bc4?this['_getViewForChange'](_0x356bc4):null,this['editor']['model']['change'](()=>{const _0x3af5d0=this['editor']['editing'];_0x5cd485&&(_0x5cd485['data']['isOnRoot']?_0x3af5d0['view']['change'](_0x4add17=>{_0x4add17['removeClass']('ck-revision-history-root--active',_0x3af5d0['view']['document']['getRoot'](_0x5cd485['rootName']));}):_0x3af5d0['reconvertMarker']('revision:'+_0x5cd485['id'])),_0x356bc4&&(_0x356bc4['data']['isOnRoot']?_0x3af5d0['view']['change'](_0x5360b5=>{_0x5360b5['addClass']('ck-revision-history-root--active',_0x3af5d0['view']['document']['getRoot'](_0x356bc4['rootName']));}):_0x3af5d0['reconvertMarker']('revision:'+_0x356bc4['id']));});}),this['listenTo'](this['editor']['editing']['view']['document'],'mouseover',(_0x23b70b,_0x6d2179)=>{if(this['activeChange'])return;const _0x522c39=this['_findChangeIdFromDomTarget'](_0x6d2179['target']),_0x21873b=this['_changeIdToChange']['get'](_0x522c39);_0x21873b?(this['_activeViewTarget']={'x':_0x6d2179['domEvent']['x'],'y':_0x6d2179['domEvent']['y']},this['activeView']=this['_getViewForChange'](_0x21873b)):(this['_activeViewTarget']=null,this['activeView']=null);}),this['listenTo'](this['editor']['editing']['view']['document'],'mousedown',(_0x13b0a3,_0x297f2d)=>{const _0x5ad251=this['_findChangeIdFromDomTarget'](_0x297f2d['target']),_0x375d36=this['_changeIdToChange']['get'](_0x5ad251);_0x375d36?(this['_activeViewTarget']={'x':_0x297f2d['domEvent']['x'],'y':_0x297f2d['domEvent']['y']},_0x375d36===this['activeChange']?this['_balloon']['updatePosition']():this['activeChange']=_0x375d36):(this['_activeViewTarget']=null,this['activeChange']=null);});}['_findChangeIdFromDomTarget'](_0x2c0892){do{const _0x4319d5=_0x2c0892['getAttribute']('data-change-id');if(_0x4319d5)return _0x4319d5;_0x2c0892=_0x2c0892['parent'];}while(_0x2c0892);return null;}['_cleanMarkers'](){this['editor']['model']['change'](_0x118070=>{for(const _0x4a9c4f of this['editor']['model']['markers'])_0x118070['removeMarker'](_0x4a9c4f);});}}function et(_0x2c502b,_0x475551){return(_0x2b6b72,_0x349cf3,_0x43bd05)=>{if(!_0x43bd05['consumable']['test'](_0x349cf3['markerRange'],_0x2b6b72['name']))return;const _0x3b9b28=_0x349cf3['markerRange']['getWalker'](),_0x2259a9=_0x349cf3['markerRange']['start'],_0x6c2b34=_0x2c502b['model']['schema'];let _0x249163=null,_0x3ec30f=null,_0x4caff4=!0x1,_0x2a3858=!0x1;for(const _0x3a63e8 of _0x3b9b28){const _0x1da533=_0x3a63e8['item'];_0x4caff4=_0x4caff4||_0x6c2b34['isContent'](_0x1da533);const _0x688ed0=_0x43bd05['mapper']['toViewElement'](_0x1da533);if(_0x688ed0&&_0x688ed0['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x3a63e8['type']&&(_0x6c2b34['isBlock'](_0x1da533)&&!_0x6c2b34['isLimit'](_0x1da533)&&(_0x1da533['nextSibling']||_0x2259a9['isAtEnd']?_0x249163&&_0x249163['parent']==_0x1da533||(_0x249163=_0x1da533,_0x3058ad(_0x3a63e8['previousPosition']),_0x2a3858=!0x0):_0x3ec30f=_0x3ec30f||_0x3a63e8['previousPosition']));}function _0x3058ad(_0x6ab636){const _0x34a24e=_0x43bd05['mapper']['toViewPosition'](_0x6ab636),_0x454007=_0x43bd05['writer']['createUIElement']('span',{'class':'ck-suggestion-preview-marker-'+_0x475551});_0x43bd05['writer']['insert'](_0x34a24e,_0x454007),_0x43bd05['mapper']['bindElementToMarker'](_0x454007,_0x349cf3['markerName']);}_0x4caff4||_0x2a3858||!_0x3ec30f||_0x3058ad(_0x3ec30f);};}class bt extends _0x8e5b0{constructor(_0x376747){super(_0x376747);const _0x170f59=_0x376747['plugins']['get'](d);this['affectsData']=!0x1,this['listenTo'](_0x170f59,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x170f59,'change:isEnabled',()=>this['refresh']());}['execute'](){const _0x37cfd5=this['editor'],_0x3dc8f9=_0x37cfd5['plugins']['get'](d),_0x53bdc7=_0x3dc8f9['isReady']?_0x3dc8f9['diff']['newRevisionId']:null;_0x37cfd5['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x53bdc7);}['refresh'](){const {isReady:_0x28d3c1,isEnabled:_0x81d24c}=this['editor']['plugins']['get'](d);this['isEnabled']=_0x28d3c1&&_0x81d24c;}}class yt extends _0x8e5b0{['_step'];constructor(_0x110e9e,{direction:_0x76a2ef}){super(_0x110e9e);const _0x38311=_0x110e9e['plugins']['get'](d);this['affectsData']=!0x1,this['_step']='forward'===_0x76a2ef?0x1:-0x1,this['listenTo'](_0x38311,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x38311,'change:isEnabled',()=>this['refresh']()),this['listenTo'](_0x38311,'change:activeChange',()=>this['refresh']());}['execute'](){const _0x31dd01=this['editor'],_0x10d36b=_0x31dd01['plugins']['get'](d),{isNavigationMode:_0x549e9a,currentChangeNumber:_0x5369e5}=_0x10d36b;let _0x28bffa;if(_0x10d36b['activeChange']=_0x549e9a?_0x10d36b['diff']['changes']['get'](_0x5369e5+this['_step']):_0x10d36b['diff']['changes']['first'],_0x10d36b['activeChange']['data']['isOnRoot'])_0x28bffa=_0x31dd01['editing']['view']['getDomRoot'](_0x10d36b['activeChange']['rootName']);else{const _0x1c157b=_0x31dd01['model']['markers']['get']('revision:'+_0x10d36b['activeChange']['id']);_0x28bffa=_0x3271cb(_0x31dd01['editing'],_0x1c157b);}_0x41fd94({'target':_0x28bffa,'viewportOffset':0x28});}['refresh'](){const {isNavigationMode:_0x1203bf,currentChangeNumber:_0xb41b69,numberOfChanges:_0x44a85c,isReady:_0x35d778,isEnabled:_0x1c1775}=this['editor']['plugins']['get'](d);this['isEnabled']=!!(_0x1c1775&&_0x35d778&&_0x44a85c)&&(!_0x1203bf||(0x1===this['_step']?_0xb41b69<_0x44a85c-0x1:_0xb41b69>0x0));}}class _i extends _0x3165d1{constructor(_0x466ad2){super(_0x466ad2);const _0x2378ee=this['bindTemplate'],_0x547215=new _0x53da7b(_0x466ad2),_0x3a823f=new _0x53da7b(_0x466ad2);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',(_0x101828,_0x44451a)=>_0x101828&&_0x44451a>0x0),this['bind']('_statusText')['to'](this,'isReady',this,'currentChangeNumber',this,'numberOfChanges',this,'isNavigationMode',(_0x5f0b98,_0x74f792,_0x3c48ce,_0x583447)=>{if(!_0x5f0b98)return y(_0x466ad2,'Loading...');if(!_0x3c48ce)return y(_0x466ad2,'No\x20changes');const _0x3f9193=y(_0x466ad2,'NUMBER_OF_CHANGES',_0x3c48ce);return _0x583447?y(_0x466ad2,'X_OF_Y_CHANGES',[_0x74f792+0x1,_0x3c48ce]):_0x3f9193;}),_0x547215['set']({'label':y(_0x466ad2,'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'}),_0x3a823f['set']({'label':y(_0x466ad2,'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'}),_0x547215['bind']('isEnabled')['to'](this,'isBackwardNavigationEnabled'),_0x3a823f['bind']('isEnabled')['to'](this,'isForwardNavigationEnabled'),_0x547215['on']('execute',()=>this['fire']('execute','backward')),_0x3a823f['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',_0x2378ee['if']('_isStatusLabelVisible','ck-hidden',_0x558e14=>!_0x558e14)]},'children':[{'text':_0x2378ee['to']('isNavigationMode',_0xad7b26=>_0xad7b26?y(_0x466ad2,'EDIT_X_OF_Y_REVISIONS')+':\x20':y(_0x466ad2,'Total')+':\x20')}]},{'text':_0x2378ee['to']('_statusText')}]},new _0x9fbac0(),{'tag':'div','attributes':{'class':['ck-revision-history-ui__changes-navigation__navigation']},'children':[_0x547215,_0x3a823f]}]});}}const ce='ck-editor__editable__loading-overlay';class de extends _0x1a2be0{static get['pluginName'](){return'RevisionViewerLoadingOverlay';}['show'](){const _0x5275a7=this['editor']['editing']['view'];_0x5275a7['change'](_0x18d7f3=>{for(const _0x1cc930 of _0x5275a7['document']['roots'])_0x18d7f3['addClass'](ce,_0x1cc930);});}['hide'](){const _0x2d8059=this['editor']['editing']['view'];_0x2d8059['change'](_0x2f2bbb=>{for(const _0xec39fa of _0x2d8059['document']['roots'])_0x2f2bbb['removeClass'](ce,_0xec39fa);});}}class R extends _0x1a2be0{static get['pluginName'](){return'RevisionViewerUI';}static get['requires'](){return[d,de];}['init'](){const _0x7d927e=this['editor'],_0x788a51=_0x7d927e['plugins']['get'](d),_0x575f4e=_0x7d927e['plugins']['get'](de);_0x7d927e['ui']['componentFactory']['add']('exitToEditing',_0x155854=>{const _0x4bde1f=new _0x53da7b(_0x155854);return _0x4bde1f['set']({'label':y(_0x155854,'Back\x20to\x20editing'),'icon':_0x8785f0['undo'],'withText':!0x0,'tooltip':!0x0,'class':'ck-revision-history-ui__back-to-editing'}),this['listenTo'](_0x4bde1f,'execute',()=>{_0x7d927e['config']['get']('revisionHistory')['closeRevisionViewerCallback']();}),_0x4bde1f;}),_0x7d927e['ui']['componentFactory']['add']('restoreRevision',_0x47ab28=>{const _0x437340=new _0x53da7b(_0x47ab28);return _0x437340['set']({'label':y(_0x47ab28,'Restore\x20this\x20revision'),'withText':!0x0,'tooltip':!0x0}),_0x437340['bind']('isEnabled')['to'](_0x7d927e['commands']['get']('restoreRevision')),this['listenTo'](_0x437340,'execute',()=>_0x7d927e['execute']('restoreRevision')),_0x437340;}),_0x7d927e['ui']['componentFactory']['add']('changesNavigation',_0xe99575=>{const _0x3f61cf=new _i(_0xe99575),_0x149414=_0x7d927e['commands']['get']('showPreviousChange'),_0x5648df=_0x7d927e['commands']['get']('showNextChange');return _0x3f61cf['bind']('isBackwardNavigationEnabled')['to'](_0x149414,'isEnabled'),_0x3f61cf['bind']('isForwardNavigationEnabled')['to'](_0x5648df,'isEnabled'),_0x3f61cf['bind']('isReady','currentChangeNumber','numberOfChanges','isNavigationMode')['to'](_0x788a51),this['listenTo'](_0x3f61cf,'execute',(_0x443c2f,_0x234dca)=>{_0x7d927e['execute']('forward'===_0x234dca?'showNextChange':'showPreviousChange');}),_0x3f61cf;}),_0x575f4e['show'](),_0x788a51['on']('change:isReady',(_0x4075ce,_0x30c582,_0x5a4df3)=>{_0x5a4df3?_0x575f4e['hide']():_0x575f4e['show']();});}}class kt extends at{['_resizeObserver']=null;constructor(_0x590915,_0xf3176a){super(_0x590915,_0xf3176a);const _0xdfd1bb=this['bindTemplate'];this['set']({'label':y(_0x590915,'Revision\x20name'),'_tooltipString':''}),this['fieldView']['placeholder']=y(_0x590915,'Enter\x20the\x20revision\x20name'),this['extendTemplate']({'tag':'span','attributes':{'class':['ck-revision-history-sidebar__revision-name'],'data-cke-tooltip-text':_0xdfd1bb['to']('_tooltipString'),'data-cke-tooltip-position':'s','data-cke-tooltip-class':'ck-tooltip_multi-line'}});}['render'](){super['render'](),this['_resizeObserver']=new mt(this['fieldView']['element'],()=>this['_updateTooltipText']()),this['listenTo'](this['fieldView'],'input',()=>this['_updateTooltipText']());}['destroy'](){super['destroy'](),this['_resizeObserver']&&this['_resizeObserver']['destroy']();}['_updateTooltipText'](){const _0x1cfa2d=this['fieldView']['element'];this['_tooltipString']=_0x1cfa2d['scrollWidth']>_0x1cfa2d['clientWidth']&&_0x1cfa2d['value']||'';}}class ti extends _0x3165d1{constructor(_0x2ea18c,_0x59d3ad,_0x1474e0){super(_0x2ea18c);const _0x361e77=new _0x8be0d8();_0x361e77['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 _0x3cf738=['ck','ck-revision-history-sidebar__revision-author'];_0x1474e0&&_0x3cf738['push']('ck-revision-history-sidebar__revision-author_creator');const _0x1b182a=[{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__revision-author__name'],'title':y(_0x2ea18c,_0x1474e0?'Revision\x20creator':'Revision\x20author')},'children':[_0x361e77,_0x59d3ad['name']]}];this['setTemplate']({'tag':'li','attributes':{'class':_0x3cf738},'children':_0x1b182a});}}function ni(_0x18ce14,_0x8cfa45){const _0x4eb692=_0x18ce14['bindTemplate'],_0x514997=_0x18ce14['locale'],_0x189c42=_0x10fd7b(_0x514997);_0x189c42['panelPosition']='sw';const _0xd7c319=function(_0x348b9b,_0x47c29d){const _0x368528=function(_0x4aa1a0,_0x31ce3d){const _0x37d05e=_0x4aa1a0['locale'],_0x5aab7d={'Compare\x20against\x20selected':y(_0x37d05e,'Compare\x20against\x20selected'),'Name\x20this\x20revision':y(_0x37d05e,'Name\x20this\x20revision'),'Restore\x20this\x20revision':y(_0x37d05e,'Restore\x20this\x20revision')};return _0x31ce3d['map'](_0xd2e344=>{const _0x352679=_0x5aab7d[_0xd2e344['name']];return _0x352679&&_0x352679!==_0xd2e344['name']&&(_0xd2e344['name']=_0x352679),_0xd2e344;});}(_0x348b9b,_0x47c29d),_0x5642dc=new _0x4fae73();for(const _0x4c9ae4 of _0x368528){const _0x5ad61b={'type':'button','model':new to({'label':_0x4c9ae4['name'],'class':_0x4c9ae4['class'],'withText':!0x0,'role':'menuitem','_action':_0x4c9ae4['action']})};_0x5ad61b['model']['bind']('isEnabled')['to'](_0x348b9b,'isActionsDropdownOpen',_0x58338f=>'function'!=typeof _0x4c9ae4['isEnabled']||(!_0x58338f||_0x4c9ae4['isEnabled'](_0x348b9b))),_0x5642dc['add'](_0x5ad61b);}return _0x5642dc;}(_0x18ce14,_0x8cfa45);return _0x18ce14['bind']('isActionsDropdownOpen')['to'](_0x189c42,'isOpen'),_0x189c42['buttonView']['set']({'label':y(_0x514997,'Show\x20more\x20items'),'tooltip':!0x0,'tooltipPosition':'sw','icon':_0x8785f0['threeVerticalDots']}),_0x189c42['extendTemplate']({'attributes':{'class':['ck-revision-history-sidebar__revision__actions',_0x4eb692['if']('isActionsDropdownOpen','ck-on')]},'on':{'click':_0x4eb692['to'](_0xe9b076=>_0xe9b076['stopPropagation']())}}),_0x189c42['on']('execute',_0x5e4b7b=>{_0x18ce14['isReady']&&'function'==typeof _0x5e4b7b['source']['_action']&&_0x5e4b7b['source']['_action'](_0x18ce14);}),_0x4a5947(_0x189c42,_0xd7c319,{'role':'menu'}),_0x189c42['listenTo'](_0x18ce14,'change:isActionsDropdownOpen',(_0x253189,_0x5ba080,_0x215d7f)=>{if(_0x215d7f)for(const _0x59a17f of _0x189c42['listView']['items']){const _0x52558b=_0x59a17f['children']['first'],_0x483407=_0x8cfa45['find'](_0x310000=>_0x310000['action']===_0x52558b['_action'])['isVisible'];_0x59a17f['isVisible']=void 0x0===_0x483407||_0x483407(_0x18ce14);}}),_0x189c42;}class ai extends/* #__PURE__ -- @preserve */
|
|
26
|
+
_0x2f8a30(_0x3165d1){['id'];['revisionNameView'];['revisionActionsView'];['_revision'];['_requireRevisionName'];constructor(_0x320027,_0x7a49ef,_0x55f1fa,_0xb35016){super(_0x320027);const _0x4cbf0b=this['bindTemplate'],_0x41edb0=function(_0x23ae14,_0x59df6a){const _0x510538=Array['from'](_0x59df6a['authors'])['filter'](_0x2eca8f=>_0x2eca8f!=_0x59df6a['creator']);return _0x59df6a['creator']&&_0x510538['unshift'](_0x59df6a['creator']),_0x510538['map'](_0x3a40fc=>new ti(_0x23ae14,_0x3a40fc,_0x3a40fc==_0x59df6a['creator']));}(_0x320027,_0x7a49ef);this['id']=_0x7a49ef['id'],this['_revision']=_0x7a49ef,this['_requireRevisionName']=_0xb35016,this['bind']('name','createdAt')['to'](_0x7a49ef),this['bind']('_createdAtFormatted')['to'](this,'createdAt',_0x27603c=>{return _0x46a80a=_0x320027['uiLanguage'],(_0x1a1c3e=_0x27603c)['toLocaleDateString'](_0x46a80a,{'month':'long','day':'numeric'})+',\x20'+_0x1a1c3e['toLocaleTimeString'](_0x46a80a,{'hour':'numeric','minute':'numeric'});var _0x46a80a,_0x1a1c3e;}),this['set']('isSelected',!0x1),this['set']('isHighlighted',!0x1),this['set']('isActionsDropdownOpen',!0x1),this['set']('isReady',!0x1),this['set']('isEnabled',!0x1),this['revisionNameView']=new kt(_0x320027,_0xfbddd4),this['revisionNameView']['fieldView']['extendTemplate']({'attributes':{'maxlength':'220'}}),this['revisionNameView']['fieldView']['bind']('value')['to'](this,'name',_0x664577=>_0x664577||this['_createdAtFormatted']),this['revisionNameView']['bind']('isEnabled')['to'](this,'isSelected',this,'isEnabled',(_0x417e6c,_0x58d10f)=>_0x417e6c&&_0x58d10f),this['revisionActionsView']=_0x55f1fa&&_0x55f1fa['length']?ni(this,_0x55f1fa):'',this['revisionActionsView']&&this['revisionActionsView']['bind']('isEnabled')['to'](this),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision-wrapper',_0x4cbf0b['if']('isConfirm','ck-revision-history-sidebar__revision-wrapper_confirmation_visible')]},'children':[{'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision',_0x4cbf0b['if']('isEnabled','ck-disabled',_0x476172=>!_0x476172),_0x4cbf0b['if']('isSelected','ck-revision-history-sidebar__revision_selected'),_0x4cbf0b['if']('isHighlighted','ck-revision-history-sidebar__revision_highlighted'),_0x4cbf0b['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':_0x4cbf0b['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':_0x41edb0}]},this['revisionActionsView']],'on':{'click':_0x4cbf0b['to'](_0xf516c1=>{_0xf516c1['srcElement']['closest']('.ck-thread__remove-confirm')||this['isReady']&&this['isEnabled']&&this['fire']('select',{'id':this['id']});})}}]});}['render'](){super['render']();const _0x287999=this['revisionNameView']['fieldView']['element'];this['listenTo'](_0x287999,'change',()=>{this['_requireRevisionName']&&!_0x287999['value']||this['fire']('setName',{'id':this['id'],'name':_0x287999['value']}),_0x287999['value']||(_0x287999['value']=this['name']?this['name']:this['_createdAtFormatted']);});}['select'](){this['isSelected']=!0x0;}['deselect'](){this['isSelected']=!0x1;}['highlight'](){this['isHighlighted']=!0x0;}['unhighlight'](){this['isHighlighted']=!0x1;}}function di(_0x58d7c5,_0x440dbb){const _0x36c151=_0x6f6604['fromJSDate'](_0x58d7c5)['setLocale'](_0x440dbb),_0x5d9e09=_0x6f6604['local'](),_0x138ce2=_0x5d9e09['minus']({'days':0x1})['startOf']('day');let _0x1cc2c2,_0x50cd1e;return _0x36c151['hasSame'](_0x5d9e09,'day')?(_0x1cc2c2=_0x36c151['startOf']('day')['toJSDate'](),_0x50cd1e=_0x36c151['toRelativeCalendar']()):_0x36c151['hasSame'](_0x138ce2,'day')?(_0x1cc2c2=_0x138ce2['toJSDate'](),_0x50cd1e=_0x36c151['toRelativeCalendar']()):_0x36c151['hasSame'](_0x5d9e09,'week')?(_0x1cc2c2=_0x36c151['startOf']('week')['toJSDate'](),_0x50cd1e=_0x36c151['weekdayLong']||''):_0x36c151['hasSame'](_0x5d9e09,'year')?(_0x1cc2c2=_0x36c151['startOf']('month')['toJSDate'](),_0x50cd1e=_0x36c151['monthLong']||''):(_0x1cc2c2=_0x36c151['startOf']('year')['toJSDate'](),_0x50cd1e=String(_0x36c151['year'])),{'startDate':_0x1cc2c2,'localizedPeriodName':_0x50cd1e};}class mi extends _0x3165d1{['startDate'];['revisionViews'];['_revisionActions'];['_requireRevisionName'];constructor(_0x10f76d,_0x49e1e4,_0x197d4b,_0x2338f1){super(_0x10f76d);const _0x101110=di(_0x49e1e4,this['locale']['uiLanguage'])['localizedPeriodName'];this['startDate']=_0x49e1e4,this['revisionViews']=this['createCollection'](),this['_revisionActions']=_0x197d4b,this['_requireRevisionName']=_0x2338f1,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':_0x101110}]},{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__time-period__revisions']},'children':this['revisionViews']}]});}['addRevision'](_0x3fd1ef){const _0x16b106=new ai(this['locale'],_0x3fd1ef,this['_revisionActions'],this['_requireRevisionName']);this['revisionViews']['add'](_0x16b106);}['removeRevision'](_0x42a832){const _0xe4711a=this['revisionViews']['find'](_0x23f7c7=>_0x23f7c7['id']===_0x42a832['id']);this['revisionViews']['remove'](_0xe4711a);}}class as extends _0x3165d1{constructor(_0x168004){super(_0x168004);const _0x18178f=new _0x8be0d8();_0x18178f['content']=_0x8785f0['history'],this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all','ck-revision-history-sidebar__header']},'children':[_0x18178f,{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__header__label']},'children':[y(_0x168004,'Revision\x20history')]}]});}}class ci extends _0x3165d1{['timePeriodViews'];['_revisions'];['_revisionActions'];['_requireRevisionName'];constructor(_0x149731,_0x2c1f85,_0xbd0889,_0x2d8852){super(_0x149731);const _0x1f5b48=this['bindTemplate'];this['timePeriodViews']=this['createCollection'](),this['timePeriodViews']['delegate']('select')['to'](this),this['timePeriodViews']['delegate']('setName')['to'](this),this['_revisions']=_0x2c1f85,this['_revisionActions']=_0xbd0889,this['_requireRevisionName']=_0x2d8852,this['on']('select',(_0x4214ad,_0x4a34c7)=>{this['fire']('revisionSelected',_0x4a34c7);}),this['on']('setName',(_0x398cd1,_0x5b4552)=>{this['fire']('revisionSetName',_0x5b4552);}),this['set']('isEnabled',!0x1),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-rounded-corners','ck-revision-history-sidebar']},'children':[new as(_0x149731),{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__timeline',_0x1f5b48['if']('isEnabled','ck-disabled',_0x46a9ef=>!_0x46a9ef)]},'children':this['timePeriodViews']}]});}['render'](){super['render']();for(const _0x4b79ae of this['_revisions'])this['_addRevision'](_0x4b79ae);this['_revisions']['on']('add',(_0x48776f,_0x12825f)=>{this['_addRevision'](_0x12825f);}),this['_revisions']['on']('remove',(_0xa0691a,_0x3ede70)=>{this['_removeRevision'](_0x3ede70);});}get['revisionViews'](){return this['timePeriodViews']['map'](_0x473caf=>_0x473caf['revisionViews']['map'](_0x4902e1=>_0x4902e1))['flat']();}['selectRevision'](_0x28f1cf){for(const _0x15598f of this['revisionViews'])_0x28f1cf&&_0x28f1cf['id']===_0x15598f['id']?_0x15598f['select']():_0x15598f['deselect']();}['highlightRevisions'](_0x412281){for(const _0x308547 of this['revisionViews'])_0x412281['some'](({id:_0x3ead3c})=>_0x3ead3c===_0x308547['id'])?_0x308547['highlight']():_0x308547['unhighlight']();}['_addRevision'](_0xce8ecd){const _0x448e89=di(_0xce8ecd['createdAt'],this['locale']['uiLanguage'])['startDate'];let _0x186d39=this['timePeriodViews']['get'](0x0);_0x186d39&&_0x186d39['startDate']['getTime']()===_0x448e89['getTime']()||(_0x186d39=new mi(this['locale'],_0x448e89,this['_revisionActions'],this['_requireRevisionName']),this['timePeriodViews']['add'](_0x186d39)),_0x186d39['addRevision'](_0xce8ecd);}['_removeRevision'](_0x4322dd){const _0x2f66fd=di(_0x4322dd['createdAt'],this['locale']['uiLanguage'])['startDate'];this['_getTimePeriodViewByStartDate'](_0x2f66fd)['removeRevision'](_0x4322dd);}['_getTimePeriodViewByStartDate'](_0x4a8336){return this['timePeriodViews']['find'](_0x47686e=>_0x47686e['startDate']['getTime']()===_0x4a8336['getTime']());}}class w extends _0x1a2be0{['_revisionViewer'];['_revisionsRepository'];['_sidebarView'];static ['defaultRevisionActions']=/* #__PURE__ -- @preserve */
|
|
27
27
|
((()=>['compareAgainstSelected','restoreRevision','nameRevision'])());static ['availableRevisionActions']=/* #__PURE__ -- @preserve */
|
|
28
|
-
Rt();static get['pluginName'](){return'RevisionsSidebar';}static get['requires'](){return[d];}constructor(
|
|
29
|
-
rt(it){['_ui'];get['ui'](){return this['_ui'];}constructor(
|
|
28
|
+
Rt();static get['pluginName'](){return'RevisionsSidebar';}static get['requires'](){return[d];}constructor(_0x218aac){super(_0x218aac),this['_revisionViewer']=_0x218aac['plugins']['get'](d),this['_revisionsRepository']=this['_revisionViewer']['repository'],this['_sidebarView']=null;}['init'](){const _0x140248=this['_revisionsRepository']['_revisions'],_0x4955cb=this['_createRevisionActions'](),_0x21a5f0=this['editor']['config']['get']('revisionHistory.viewerSidebarContainer');this['_sidebarView']=new ci(this['editor']['locale'],_0x140248,_0x4955cb,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',(_0xfc6fad,_0xb113fc)=>{_0xb113fc['revisionViews']['on']('add',(_0x3bf70d,_0x25722c)=>{_0x25722c['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)),_0x21a5f0['appendChild'](this['_sidebarView']['element']);}['destroy'](){this['_sidebarView']['element']['remove'](),this['_sidebarView']['destroy']();}['_handleEditorDataReady'](){const _0x583d4a=this['_revisionsRepository']['getRevision'](0x0);if(_0x583d4a){const _0x29f99c=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x583d4a['id']);this['_revisionViewer']['compare'](_0x583d4a,_0x29f99c);}}['_handleRevisionSelected'](_0xd6dc3e,_0x47951d){const _0x308021=this['_revisionsRepository']['getRevision'](_0x47951d['id']),_0x3b926b=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x308021['id']);this['_revisionViewer']['compare'](_0x308021,_0x3b926b);}['_handleRevisionSetName'](_0xa00a90,_0x2b68be){this['_revisionsRepository']['getRevision'](_0x2b68be['id'])['setName'](_0x2b68be['name']);}['_handleDiffChange'](_0x1e6467,_0x446104,_0x52951c){const _0x415e57=this['_revisionsRepository']['getRevisionsInDiff'](_0x52951c);_0x415e57['length']>0x2?(this['_sidebarView']['highlightRevisions'](_0x415e57),this['_sidebarView']['selectRevision'](null)):(this['_sidebarView']['highlightRevisions']([]),this['_sidebarView']['selectRevision'](_0x415e57[0x0]));}['_createRevisionActions'](){const _0x31cb3c=this['editor'],_0x285413=w['availableRevisionActions'],_0x145dd2=_0x31cb3c['config']['get']('revisionHistory.revisionActions')||w['defaultRevisionActions'];if(_0x145dd2['length'])return _0x145dd2['map'](_0x57abe4=>{const _0x5e35da='string'==typeof _0x57abe4?Object['assign']({},_0x285413[_0x57abe4]):_0x57abe4;return _0x5e35da['action']=_0x5e35da['action']['bind'](this,_0x31cb3c),_0x5e35da['isVisible']&&(_0x5e35da['isVisible']=_0x5e35da['isVisible']['bind'](this,_0x31cb3c)),_0x5e35da;});}}function Rt(){return{'compareAgainstSelected':{'name':'Compare\x20against\x20selected','action':({plugins:_0x4441b6},_0x4a83e7)=>{const _0x87ed71=_0x4441b6['get'](d),_0x233dc9=_0x87ed71['repository'];let _0x3e8c7b=_0x87ed71['diff']['newRevisionId'],_0x5cbe17=_0x4a83e7['id'];_0x233dc9['getIndex'](_0x3e8c7b)>_0x233dc9['getIndex'](_0x5cbe17)&&([_0x3e8c7b,_0x5cbe17]=[_0x5cbe17,_0x3e8c7b]),_0x87ed71['compare'](_0x3e8c7b,_0x5cbe17);},'isVisible':({plugins:_0x391fa2},_0x1d47c6)=>{const _0x3c3294=_0x391fa2['get'](d);return!(_0x3c3294['repository']['getRevisionsInDiff'](_0x3c3294['diff'])['length']>0x2)&&!_0x1d47c6['isSelected'];}},'restoreRevision':{'name':'Restore\x20this\x20revision','action':(_0x12058f,{id:_0x456e84})=>{_0x12058f['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x456e84);},'isVisible':({plugins:_0x29afb0},_0x274485)=>!!_0x29afb0['get'](d)['repository']['getLaterVisibleRevision'](_0x274485['id'])},'nameRevision':{'name':'Name\x20this\x20revision','action':({plugins:_0x18abc7},{id:_0x492b54,revisionNameView:_0x50eead})=>{const _0x5ca835=_0x18abc7['get'](d),_0x5b7a35=_0x5ca835['repository']['getEarlierVisibleRevision'](_0x492b54);_0x5ca835['compare'](_0x492b54,_0x5b7a35),_0x50eead['focus'](),_0x50eead['fieldView']['select']();}}};}class st extends ht{['_view'];['_toolbarConfig'];['_elementReplacer'];get['view'](){return this['_view'];}constructor(_0x36fa8f,_0x2d3fdb){super(_0x36fa8f),this['_view']=_0x2d3fdb,this['_toolbarConfig']=ct(_0x36fa8f['config']['get']('toolbar')),this['_elementReplacer']=new nt();}get['element'](){return this['view']['element'];}['init'](_0x1d88e0){const _0x34c1ee=this['editor'],_0x1e352d=this['view'],_0x3b2626=_0x34c1ee['editing']['view'],_0x554ebd=_0x1e352d['editable'],_0x3ccfeb=_0x3b2626['document']['getRoot']();_0x554ebd['name']=_0x3ccfeb['rootName'],_0x1e352d['render']();const _0x2b3e6e=_0x554ebd['element'];this['setEditableElement'](_0x554ebd['name'],_0x2b3e6e),_0x1e352d['editable']['bind']('isFocused')['to'](this['focusTracker']),_0x3b2626['attachDomRoot'](_0x2b3e6e),this['_elementReplacer']['replace'](_0x1d88e0,this['element']),this['_initToolbar'](),this['fire']('ready');}['destroy'](){super['destroy']();const _0x566c1d=this['view'],_0x594ce2=this['editor']['editing']['view'];this['_elementReplacer']['restore'](),_0x594ce2['detachDomRoot'](_0x566c1d['editable']['name']),_0x566c1d['destroy']();}['_initToolbar'](){const _0x13be01=this['view'];_0x13be01['stickyPanel']['bind']('isActive')['to'](this['focusTracker'],'isFocused'),_0x13be01['stickyPanel']['limiterElement']=_0x13be01['element'],_0x13be01['stickyPanel']['bind']('viewportTopOffset')['to'](this,'viewportOffset',({top:_0x242c89})=>_0x242c89),_0x13be01['toolbar']['fillFromConfig'](this['_toolbarConfig'],this['componentFactory']),this['addToolbar'](_0x13be01['toolbar']);}}class ot extends dt{['_editable'];['stickyPanel'];['toolbar'];get['editable'](){return this['_editable'];}constructor(_0x511225,_0x142349,_0x4bafa7={}){super(_0x511225),this['stickyPanel']=new lt(_0x511225),this['toolbar']=new pt(_0x511225,{'shouldGroupWhenFull':_0x4bafa7['shouldToolbarGroupWhenFull']}),this['_editable']=new ut(_0x511225,_0x142349);}['render'](){super['render'](),this['stickyPanel']['content']['add'](this['toolbar']),this['top']['add'](this['stickyPanel']),this['main']['add'](this['editable']);}}class m extends/* #__PURE__ -- @preserve */
|
|
29
|
+
rt(it){['_ui'];get['ui'](){return this['_ui'];}constructor(_0x370ef5,_0x52a9ac){super(_0x52a9ac),this['sourceElement']=_0x370ef5,this['model']['document']['createRoot']();const _0x1cc587=new ot(this['locale'],this['editing']['view'],{'shouldToolbarGroupWhenFull':!0x0});this['_ui']=new st(this,_0x1cc587);}['destroy'](){return this['updateSourceElement'](),this['ui']['destroy'](),super['destroy']();}static async['create'](_0x37a4e6,_0xe1f13f){const _0x33fb1=new this(_0x37a4e6,_0xe1f13f);return await _0x33fb1['initPlugins'](),await _0x33fb1['ui']['init'](_0x37a4e6),await _0x33fb1['data']['init'](_0x33fb1['config']['get']('initialData')||''),_0x33fb1['fire']('ready'),_0x33fb1;}}const p=['RevisionHistoryUI','RestrictedEditingMode'];class k extends _0x1a2be0{['result'];static get['pluginName'](){return'RevisionViewerIntegration';}constructor(_0x5c1757){super(_0x5c1757),this['result']='end';}}class H extends _0x1a2be0{['_viewerEditor'];static get['pluginName'](){return'RevisionHistory';}static get['requires'](){return[l,u];}constructor(_0xdce0b4){if(super(_0xdce0b4),!this['editor']['config']['get']('revisionHistory'))throw new _0x1e00de('revision-history-missing-configuration',this);this['_viewerEditor']=null,this['editor']['config']['define']('revisionHistory.showRevisionViewerCallback',_0x4b8a47=>this['_showRevisionViewer']({..._0x4b8a47,'translations':this['editor']['locale']['translations']})),this['editor']['config']['define']('revisionHistory.closeRevisionViewerCallback',_0x39b8d0=>this['_closeRevisionViewer'](_0x39b8d0)),this['editor']['config']['define']('revisionHistory.restoreRevisionCallback',_0x5357ad=>this['_restoreRevision'](_0x5357ad)),this['editor']['config']['define']('revisionHistory.requireRevisionName',!0x1),this['_enhanceShowRevisionViewerCallback'](),this['_enhanceCloseRevisionViewerCallback']();}set['adapter'](_0x3b6e3e){this['editor']['plugins']['get']('RevisionTracker')['adapter']=_0x3b6e3e;}get['adapter'](){return this['editor']['plugins']['get']('RevisionTracker')['adapter'];}['addRevisionData'](_0x18b645){return this['editor']['plugins']['get']('RevisionTracker')['addRevisionData'](_0x18b645);}['getRevision'](_0x1f22f1){return this['editor']['plugins']['get']('RevisionsRepository')['getRevision'](_0x1f22f1);}['getRevisions'](_0x665a44){return this['editor']['plugins']['get']('RevisionsRepository')['getRevisions'](_0x665a44||{'toJSON':!0x1});}['_getRevisionViewerEditorConfig'](){const _0x5f0c1d=this['editor'],_0x44dc76=_0x1e7983(_0x5f0c1d,p),_0xe89a15=_0x5f0c1d['plugins']['get']('RevisionTracker'),_0x30629a=_0x5f0c1d['plugins']['get']('Users')['users'];return _0x44dc76['toolbar']=['exitToEditing','restoreRevision','changesNavigation'],delete _0x44dc76['lazyRoots'],(_0x44dc76['plugins']['push'](k,d,R,class extends _0x1a2be0{static get['requires'](){return[d,'Users'];}['init'](){const _0x12b41e=this['editor']['plugins']['get']('Users');for(const _0x319d4e of _0x30629a)_0x319d4e['isAnonymous']||_0x12b41e['getUser'](_0x319d4e['id'])||_0x12b41e['addUser'](_0x319d4e);const _0x41b20b=_0xe89a15['repository']['getRevisions']();let _0x5e03a6=null;const _0x9fe610=this['editor']['plugins']['get']('RevisionViewer');_0x9fe610['adapter']=_0xe89a15['adapter'],_0x9fe610['bind']('isEnabled')['to'](_0xe89a15),this['editor']['commands']['get']('restoreRevision')['bind']('isEnabled')['to'](_0x5f0c1d,'isReadOnly',_0x3b6555=>!_0x3b6555);for(const _0x1a953a of _0x41b20b){const _0x17ff71=null===_0x1a953a['creator'];if(_0x17ff71&&_0x1a953a['toVersion']===_0x1a953a['fromVersion'])continue;const _0x1839ba=_0x1a953a['toJSON']();_0x9fe610['addRevisionData'](_0x1839ba,(_0x212ed5,_0x245d1a,_0x1a8c65)=>{if(_0x17ff71){if(_0x5e03a6)_0x5e03a6['_update'](_0x212ed5,_0x245d1a);else{if(!_0x245d1a){const _0x314959=_0x1a8c65['toJSON']();_0x314959['id']=_0x4693f2(),_0xe89a15['saveRevision'](_0x314959,_0x1a8c65['toVersion'])['then'](_0x42bf24=>{_0x5e03a6=_0x42bf24;});}}}else _0x1a953a['_update'](_0x212ed5,_0x245d1a);});}}},w),_0x44dc76);}['_enhanceShowRevisionViewerCallback'](){const _0xe370be=this['editor']['config']['get']('revisionHistory')['showRevisionViewerCallback'];this['editor']['config']['set']('revisionHistory.showRevisionViewerCallback',async()=>{this['editor']['enableReadOnlyMode']('revision-history-viewer-opened');const _0xf1ff59=this['editor']['plugins']['get']('RevisionTracker');if(this['editor']['plugins']['has']('Autosave')){const _0x9b6fe9=this['editor']['plugins']['get']('Autosave');await _0x9b6fe9['save']();}else await _0xf1ff59['update']();if(this['editor']['plugins']['has']('PaginationLookup')&&this['editor']['plugins']['get']('PaginationLookup')['_recalculatePageBreaks'](),this['editor']['plugins']['has']('Dialog')){const _0x3aef3d=this['editor']['plugins']['get']('Dialog');_0x3aef3d['isOpen']&&_0x3aef3d['hide']();}const _0x18d43b=this['_getRevisionViewerEditorConfig']();return _0xe370be(_0x18d43b)['then'](_0x5560e4=>{return(this['_viewerEditor']=_0x5560e4,this['editor']['plugins']['has']('Annotations'))&&this['editor']['plugins']['get']('Annotations')['refreshVisibility'](),_0x5560e4;})['catch'](_0x2c3a89=>(console['error'](_0x2c3a89),this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),null));});}['_enhanceCloseRevisionViewerCallback'](){const _0x33c92f=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'](),_0x33c92f(this['_viewerEditor'])['then'](()=>{if(this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),this['_viewerEditor']=null,this['editor']['plugins']['has']('Annotations')){const _0x38b155=this['editor']['plugins']['get']('Annotations');_0x38b155['refreshVisibility'](),_0x38b155['refreshPositioning']();}})));}['_showRevisionViewer'](_0x5d60af){const _0x52df16=this['editor']['config']['get']('revisionHistory.editorContainer'),_0x5b3863=this['editor']['config']['get']('revisionHistory.viewerContainer'),_0x48b2e9=this['editor']['config']['get']('revisionHistory.viewerEditorElement');return m['create'](_0x48b2e9,_0x5d60af)['then'](_0x2e27e0=>(_0x5b3863['style']['display']='block',_0x52df16['style']['display']='none',_0x2e27e0));}['_closeRevisionViewer'](_0x49be9e){const _0x3a7ea7=this['editor']['config']['get']('revisionHistory.editorContainer');return this['editor']['config']['get']('revisionHistory.viewerContainer')['style']['display']='none',_0x3a7ea7['style']['display']='',_0x49be9e['destroy']();}async['_restoreRevision'](_0x5a160f){const _0x5bd3af=this['editor'],_0x43cd5b=this['_viewerEditor']['plugins']['get']('RevisionViewer'),_0x18ff63=_0x5bd3af['plugins']['get']('RevisionTracker'),_0x5b8871=_0x43cd5b['repository']['getRevision'](_0x5a160f);let _0x37ab83,_0x216c33,_0x434bf6;try{_0x37ab83=await _0x43cd5b['getRevisionData'](_0x5b8871),_0x216c33=await _0x43cd5b['getRevisionRootsAttributes'](_0x5b8871);}catch(_0x2a8fe1){return void console['error'](_0x2a8fe1);}_0x5bd3af['model']['change'](_0x231e26=>{for(const _0x45f8ba of Array['from'](_0x5bd3af['model']['markers']['getMarkersGroup']('restrictedEditingException')))_0x231e26['removeMarker'](_0x45f8ba);}),_0x43cd5b['isReady']=!0x1,_0x5bd3af['model']['enqueueChange'](_0x41dc98=>{_0x41dc98['setSelection'](null),_0x41dc98['removeSelectionAttribute'](_0x5bd3af['model']['document']['selection']['getAttributeKeys']());const _0x31b0d2=Object['keys'](_0x37ab83);for(const _0x59babf of _0x5bd3af['model']['document']['roots'])'$graveyard'!=_0x59babf['rootName']&&_0x59babf['isAttached']()&&!_0x31b0d2['includes'](_0x59babf['rootName'])&&_0x41dc98['detachRoot'](_0x59babf);for(const _0xf62558 of _0x31b0d2){let _0x584a6d=_0x5bd3af['model']['document']['getRoot'](_0xf62558);_0x584a6d&&_0x584a6d['isAttached']()||(_0x584a6d=_0x41dc98['addRoot'](_0xf62558));const _0x3a7b3f=_0x216c33[_0xf62558],_0x184257=Object['keys'](_0x3a7b3f),_0x5d3a1e=_0x37ab83[_0xf62558];for(const _0x2fe39f of _0x584a6d['getAttributeKeys']())_0x184257['includes'](_0x2fe39f)||_0x41dc98['removeAttribute'](_0x2fe39f,_0x584a6d);for(const _0x27efd2 of _0x184257)_0x41dc98['setAttribute'](_0x27efd2,_0x216c33[_0xf62558][_0x27efd2],_0x584a6d);_0x41dc98['remove'](_0x41dc98['createRangeIn'](_0x584a6d)),_0x41dc98['insert'](_0x5bd3af['data']['parse'](_0x5d3a1e,_0x584a6d),_0x584a6d,0x0);}});const _0x178e24=y(_0x5bd3af['locale'],'Restored');if(_0x5b8871['name'])_0x434bf6=-0x1==_0x5b8871['name']['indexOf'](_0x178e24)?_0x178e24+':\x20'+_0x5b8871['name']:_0x5b8871['name'];else _0x434bf6=_0x178e24+':\x20'+(_0x5b8871['createdAt']['toLocaleDateString'](_0x5bd3af['locale']['uiLanguage'],{'month':'long','day':'numeric'})+',\x20'+_0x5b8871['createdAt']['toLocaleTimeString'](_0x5bd3af['locale']['uiLanguage'],{'hour':'numeric','minute':'numeric'}));return await _0x18ff63['saveRevision']({'name':_0x434bf6}),_0x43cd5b['isReady']=!0x0,_0x5bd3af['config']['get']('revisionHistory')['closeRevisionViewerCallback']();}}export{H as RevisionHistory,u as RevisionHistoryUI,l as RevisionTracker,d as RevisionViewer,de as RevisionViewerLoadingOverlay,R as RevisionViewerUI,A as RevisionsRepository,w as RevisionsSidebar};
|