@ckeditor/ckeditor5-revision-history 42.0.0-alpha.20 → 42.0.0-alpha.22
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
|
-
_0x342d1c(){['id'];['creator'];['authors'];['diffData'];['toVersion'];['fromVersion'];['model'];constructor(_0x57d95f){super(),this['id']=_0x57d95f['id']||_0x42c424(),this['creator']=_0x57d95f['creator']||null,this['authors']=_0x57d95f['authors']||[],this['diffData']=_0x57d95f['diffData']||null,this['toVersion']=_0x57d95f['toVersion']||0x0,this['fromVersion']=_0x57d95f['fromVersion']||0x0,this['set']('name',_0x57d95f['name']||''),this['set']('createdAt',_0x57d95f['createdAt']||new Date()),this['set']('attributes',_0x57d95f['attributes']||{});}['setName'](_0x5cf91f){this['_update']({'name':_0x5cf91f});}['setAttribute'](_0x1ab525,_0x5af5c0){const _0x2e25eb=_0x5c50ea(this['attributes']);_0x2aad67(_0x2e25eb,_0x1ab525,_0x5af5c0),this['_update']({'attributes':_0x2e25eb});}['removeAttribute'](_0x3eec5c){const _0x4a19e8=_0x5c50ea(this['attributes']);_0x1a3166(_0x4a19e8,_0x3eec5c),this['_update']({'attributes':_0x4a19e8});}['_update'](_0x4b2289,_0xc515bf=!0x1){let _0x55233b=!0x1;const _0x38d930={'id':this['id']},_0x561a1e=['name','createdAt','diffData','authors','attributes','toVersion','fromVersion','creatorId'];for(const _0x46df7b of _0x561a1e){const _0x54f2e9=_0x4b2289[_0x46df7b];void 0x0!==_0x54f2e9&&_0x54f2e9!==this[_0x46df7b]&&(this[_0x46df7b]=_0x54f2e9,_0x38d930[_0x46df7b]=_0x54f2e9,_0x55233b=!0x0);}_0x55233b&&(_0x38d930['authors']&&(_0x38d930['authorsIds']=_0x38d930['authors']['map'](_0x283cf5=>_0x283cf5['id']),delete _0x38d930['authors']),this['fire']('_update',_0x38d930,_0xc515bf));}['toJSON'](){return{'id':this['id'],'name':this['name'],'creatorId':this['creator']?this['creator']['id']:null,'authorsIds':this['authors']['map'](_0x3279a2=>_0x3279a2['id']),'diffData':this['diffData'],'createdAt':this['createdAt'],'attributes':this['attributes'],'fromVersion':this['fromVersion'],'toVersion':this['toVersion']};}}class A extends _0x3bc8af{['_revisions'];static get['requires'](){return[_0x45f376];}static get['pluginName'](){return'RevisionsRepository';}get['length'](){return this['_revisions']['length'];}constructor(_0x4e8833){super(_0x4e8833),this['_revisions']=new _0x141ac7();}['afterInit'](){!function(_0x2d47dd){function _0x3de38f(_0x13f3c5,_0x39f667,_0x1226a8){const _0x3258d9={};_0x3258d9[_0x3b20a9([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])]={0x10:0xa,0x18:0xc,0x20:0xe},_0x3258d9[_0x3b20a9([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],_0x3258d9[_0x3b20a9([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],_0x3258d9[_0x3b20a9([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],_0x3258d9[_0x3b20a9([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],_0x3258d9[_0x3b20a9([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],_0x3258d9[_0x3b20a9([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],_0x3258d9[_0x3b20a9([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],_0x3258d9[_0x3b20a9([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],_0x3258d9[_0x3b20a9([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],_0x3258d9[_0x3b20a9([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 _0x141890=new Uint8Array(0x10);for(let _0x2bee4e=0xf;_0x2bee4e>=0x0;--_0x2bee4e)_0x141890[_0x2bee4e]=_0x1226a8%0x100,_0x1226a8=parseInt(_0x1226a8/0x100);let _0x269ca8=null,_0x1bfdf7=0x10;const _0x5e4cb8=new Uint8Array(_0x39f667),_0x20a526=[],_0x2e53fa=[];_0x5ab5ac();for(let _0x5f3da8=0x0;_0x5f3da8<_0x13f3c5[_0x3b20a9([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5f3da8++)0x10===_0x1bfdf7&&(_0x269ca8=_0x2da569(_0x141890),_0x1bfdf7=0x0,_0x11b479(_0x141890)),_0x13f3c5[_0x5f3da8]^=_0x269ca8[_0x1bfdf7++];return _0x13f3c5;function _0x213760(_0x2a4903){const _0xcbf3=[];for(let _0x3d9f58=0x0;_0x3d9f58<_0x2a4903[_0x3b20a9([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3d9f58+=0x4)_0xcbf3[_0x3b20a9([0x70,0x75,0x73,0x68])](_0x2a4903[_0x3d9f58]<<0x18|_0x2a4903[_0x3d9f58+0x1]<<0x10|_0x2a4903[_0x3d9f58+0x2]<<0x8|_0x2a4903[_0x3d9f58+0x3]);return _0xcbf3;}function _0x11b479(_0x1c8e00){for(let _0x290743=0xf;_0x290743>=0x0;_0x290743--){if(0xff!==_0x1c8e00[_0x290743]){_0x1c8e00[_0x290743]++;break;}_0x1c8e00[_0x290743]=0x0;}}function _0x2da569(_0x54197){const _0x4100d4=_0x20a526[_0x3b20a9([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x1,_0x398a78=[0x0,0x0,0x0,0x0];let t=_0x213760(_0x54197);for(let _0x385c34=0x0;_0x385c34<0x4;_0x385c34++)t[_0x385c34]^=_0x20a526[0x0][_0x385c34];for(let _0x438268=0x1;_0x438268<_0x4100d4;_0x438268++){for(let _0x140638=0x0;_0x140638<0x4;_0x140638++)_0x398a78[_0x140638]=_0x3258d9[_0x3b20a9([0x54,0x31])][t[_0x140638]>>0x18&0xff]^_0x3258d9[_0x3b20a9([0x54,0x32])][t[(_0x140638+0x1)%0x4]>>0x10&0xff]^_0x3258d9[_0x3b20a9([0x54,0x33])][t[(_0x140638+0x2)%0x4]>>0x8&0xff]^_0x3258d9[_0x3b20a9([0x54,0x34])][0xff&t[(_0x140638+0x3)%0x4]]^_0x20a526[_0x438268][_0x140638];t=_0x398a78[_0x3b20a9([0x73,0x6c,0x69,0x63,0x65])]();}const _0x243a7e=new Uint8Array(0x10);let _0x4619c3;for(let _0x1ca951=0x0;_0x1ca951<0x4;_0x1ca951++)_0x4619c3=_0x20a526[_0x4100d4][_0x1ca951],_0x243a7e[0x4*_0x1ca951]=0xff&(_0x3258d9[_0x3b20a9([0x53])][t[_0x1ca951]>>0x18&0xff]^_0x4619c3>>0x18),_0x243a7e[0x4*_0x1ca951+0x1]=0xff&(_0x3258d9[_0x3b20a9([0x53])][t[(_0x1ca951+0x1)%0x4]>>0x10&0xff]^_0x4619c3>>0x10),_0x243a7e[0x4*_0x1ca951+0x2]=0xff&(_0x3258d9[_0x3b20a9([0x53])][t[(_0x1ca951+0x2)%0x4]>>0x8&0xff]^_0x4619c3>>0x8),_0x243a7e[0x4*_0x1ca951+0x3]=0xff&(_0x3258d9[_0x3b20a9([0x53])][0xff&t[(_0x1ca951+0x3)%0x4]]^_0x4619c3);return _0x243a7e;}function _0x5ab5ac(){const _0x5443bb=_0x3258d9[_0x3b20a9([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])][_0x5e4cb8[_0x3b20a9([0x6c,0x65,0x6e,0x67,0x74,0x68])]];for(let _0x2c1e02=0x0;_0x2c1e02<=_0x5443bb;_0x2c1e02++)_0x20a526[_0x3b20a9([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]),_0x2e53fa[_0x3b20a9([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]);const _0xb0378=0x4*(_0x5443bb+0x1),_0x195c41=_0x5e4cb8[_0x3b20a9([0x6c,0x65,0x6e,0x67,0x74,0x68])]/0x4,_0x4b774b=_0x213760(_0x5e4cb8);let _0x33d194;for(let _0x1aaecc=0x0;_0x1aaecc<_0x195c41;_0x1aaecc++)_0x33d194=_0x1aaecc>>0x2,_0x20a526[_0x33d194][_0x1aaecc%0x4]=_0x4b774b[_0x1aaecc],_0x2e53fa[_0x5443bb-_0x33d194][_0x1aaecc%0x4]=_0x4b774b[_0x1aaecc];let _0x5cec4a,_0x4b79a2=0x0,t=_0x195c41;for(;t<_0xb0378;){_0x5cec4a=_0x4b774b[_0x195c41-0x1],_0x4b774b[0x0]^=_0x3258d9[_0x3b20a9([0x53])][_0x5cec4a>>0x10&0xff]<<0x18^_0x3258d9[_0x3b20a9([0x53])][_0x5cec4a>>0x8&0xff]<<0x10^_0x3258d9[_0x3b20a9([0x53])][0xff&_0x5cec4a]<<0x8^_0x3258d9[_0x3b20a9([0x53])][_0x5cec4a>>0x18&0xff]^_0x3258d9[_0x3b20a9([0x72,0x63,0x6f,0x6e])][_0x4b79a2]<<0x18,_0x4b79a2+=0x1;for(let _0x13deb6=0x1;_0x13deb6<_0x195c41/0x2;_0x13deb6++)_0x4b774b[_0x13deb6]^=_0x4b774b[_0x13deb6-0x1];_0x5cec4a=_0x4b774b[_0x195c41/0x2-0x1],_0x4b774b[_0x195c41/0x2]^=_0x3258d9[_0x3b20a9([0x53])][0xff&_0x5cec4a]^_0x3258d9[_0x3b20a9([0x53])][_0x5cec4a>>0x8&0xff]<<0x8^_0x3258d9[_0x3b20a9([0x53])][_0x5cec4a>>0x10&0xff]<<0x10^_0x3258d9[_0x3b20a9([0x53])][_0x5cec4a>>0x18&0xff]<<0x18;for(let _0x34d951=_0x195c41/0x2+0x1;_0x34d951<_0x195c41;_0x34d951++)_0x4b774b[_0x34d951]^=_0x4b774b[_0x34d951-0x1];let _0x399135,_0x583559,_0x3a6220=0x0;for(;_0x3a6220<_0x195c41&&t<_0xb0378;)_0x399135=t>>0x2,_0x583559=t%0x4,_0x20a526[_0x399135][_0x583559]=_0x4b774b[_0x3a6220],_0x2e53fa[_0x5443bb-_0x399135][_0x583559]=_0x4b774b[_0x3a6220++],t++;}for(let _0x6e5d80=0x1;_0x6e5d80<_0x5443bb;_0x6e5d80++)for(let _0x40edf9=0x0;_0x40edf9<0x4;_0x40edf9++)_0x5cec4a=_0x2e53fa[_0x6e5d80][_0x40edf9],_0x2e53fa[_0x6e5d80][_0x40edf9]=_0x3258d9[_0x3b20a9([0x55,0x31])][_0x5cec4a>>0x18&0xff]^_0x3258d9[_0x3b20a9([0x55,0x32])][_0x5cec4a>>0x10&0xff]^_0x3258d9[_0x3b20a9([0x55,0x33])][_0x5cec4a>>0x8&0xff]^_0x3258d9[_0x3b20a9([0x55,0x34])][0xff&_0x5cec4a];}}function _0x3b20a9(_0x442c8d){return _0x442c8d['map'](_0x5535df=>String['fromCharCode'](_0x5535df))['join']('');}(_0x511a2e=>{function _0x360fed(){const _0x5672bc=[{[_0x3b20a9([0x69,0x64])]:0x1,[_0x3b20a9([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3b20a9([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73]),[_0x3b20a9([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x3b20a9([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x3b20a9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x3b20a9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x3b20a9([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x3b20a9([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x3b20a9([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]:[{[_0x3b20a9([0x69,0x64])]:0x2,[_0x3b20a9([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3b20a9([0x54,0x72,0x61,0x63,0x6b,0x20,0x43,0x68,0x61,0x6e,0x67,0x65,0x73]),[_0x3b20a9([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x3b20a9([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x3b20a9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x3b20a9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x3b20a9([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x3b20a9([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]),[_0x3b20a9([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x3b20a9([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x3b20a9([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x3b20a9([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}}],[_0x3b20a9([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x3b20a9([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x3b20a9([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x3b20a9([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x3b20a9([0x69,0x64])]:0x3,[_0x3b20a9([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3b20a9([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e]),[_0x3b20a9([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x3b20a9([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x6f,0x6f,0x6b,0x75,0x70]),[_0x3b20a9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x3b20a9([0x70,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x3b20a9([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x3b20a9([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x3b20a9([0x69,0x64])]:0x4,[_0x3b20a9([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3b20a9([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x20,0x48,0x69,0x73,0x74,0x6f,0x72,0x79]),[_0x3b20a9([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x3b20a9([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x3b20a9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x3b20a9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x3b20a9([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x3b20a9([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]),[_0x3b20a9([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x3b20a9([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x3b20a9([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x3b20a9([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x3b20a9([0x69,0x64])]:0x5,[_0x3b20a9([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3b20a9([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x20,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65]),[_0x3b20a9([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x3b20a9([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65,0x55,0x49]),[_0x3b20a9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x3b20a9([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]),[_0x3b20a9([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x3b20a9([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x3b20a9([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x3b20a9([0x66,0x67,0x69])]:[0xc]}},{[_0x3b20a9([0x69,0x64])]:0x6,[_0x3b20a9([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3b20a9([0x46,0x6f,0x72,0x6d,0x61,0x74,0x20,0x50,0x61,0x69,0x6e,0x74,0x65,0x72]),[_0x3b20a9([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x3b20a9([0x46,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x55,0x49]),[_0x3b20a9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x3b20a9([0x66,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x3b20a9([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x3b20a9([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x3b20a9([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x3b20a9([0x66,0x67,0x69])]:[0xc]}},{[_0x3b20a9([0x69,0x64])]:0x7,[_0x3b20a9([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3b20a9([0x53,0x6c,0x61,0x73,0x68,0x20,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64]),[_0x3b20a9([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x3b20a9([0x53,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x55,0x49]),[_0x3b20a9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x3b20a9([0x73,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x3b20a9([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x3b20a9([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x3b20a9([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x3b20a9([0x66,0x67,0x69])]:[0xc]}},{[_0x3b20a9([0x69,0x64])]:0x8,[_0x3b20a9([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3b20a9([0x54,0x61,0x62,0x6c,0x65,0x20,0x6f,0x66,0x20,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73]),[_0x3b20a9([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x3b20a9([0x54,0x61,0x62,0x6c,0x65,0x4f,0x66,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x3b20a9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x3b20a9([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]),[_0x3b20a9([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x3b20a9([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x3b20a9([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x3b20a9([0x66,0x67,0x69])]:[0xc]}},{[_0x3b20a9([0x69,0x64])]:0x9,[_0x3b20a9([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3b20a9([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65]),[_0x3b20a9([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x3b20a9([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x55,0x49]),[_0x3b20a9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x3b20a9([0x74,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x3b20a9([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x3b20a9([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x3b20a9([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x3b20a9([0x66,0x67,0x69])]:[0xc,0xe]}},{[_0x3b20a9([0x69,0x64])]:0xa,[_0x3b20a9([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3b20a9([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]),[_0x3b20a9([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x3b20a9([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]),[_0x3b20a9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x3b20a9([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]),[_0x3b20a9([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x3b20a9([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x3b20a9([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x3b20a9([0x66,0x67,0x69])]:[0xc]}},{[_0x3b20a9([0x69,0x64])]:0xb,[_0x3b20a9([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3b20a9([0x41,0x49,0x20,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74]),[_0x3b20a9([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x3b20a9([0x41,0x49,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74,0x55,0x49]),[_0x3b20a9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x3b20a9([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x3b20a9([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x3b20a9([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x3b20a9([0x69,0x64])]:0xc,[_0x3b20a9([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3b20a9([0x50,0x72,0x6f,0x64,0x75,0x63,0x74,0x69,0x76,0x69,0x74,0x79,0x20,0x70,0x61,0x63,0x6b])},{[_0x3b20a9([0x69,0x64])]:0xd,[_0x3b20a9([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3b20a9([0x43,0x61,0x73,0x65,0x20,0x43,0x68,0x61,0x6e,0x67,0x65]),[_0x3b20a9([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x3b20a9([0x43,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x55,0x49]),[_0x3b20a9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x3b20a9([0x63,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x3b20a9([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x3b20a9([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x3b20a9([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x3b20a9([0x66,0x67,0x69])]:[0xc]}},{[_0x3b20a9([0x69,0x64])]:0xe,[_0x3b20a9([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3b20a9([0x44,0x72,0x75,0x70,0x61,0x6c,0x20,0x70,0x61,0x63,0x6b]),[_0x3b20a9([0x66,0x6f,0x72,0x62,0x69,0x64,0x64,0x65,0x6e,0x48,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x3b20a9([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])},{[_0x3b20a9([0x69,0x64])]:0xf,[_0x3b20a9([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3b20a9([0x4d,0x75,0x6c,0x74,0x69,0x20,0x4c,0x65,0x76,0x65,0x6c,0x20,0x4c,0x69,0x73,0x74]),[_0x3b20a9([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x3b20a9([0x4d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x3b20a9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x3b20a9([0x6d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x3b20a9([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x3b20a9([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x3b20a9([0x69,0x64])]:0x10,[_0x3b20a9([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3b20a9([0x4d,0x65,0x72,0x67,0x65,0x20,0x54,0x61,0x67,0x73]),[_0x3b20a9([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x3b20a9([0x4d,0x65,0x72,0x67,0x65,0x54,0x61,0x67,0x73,0x55,0x49]),[_0x3b20a9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x3b20a9([0x6d,0x65,0x72,0x67,0x65,0x54,0x61,0x67,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x3b20a9([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x3b20a9([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x3b20a9([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x3b20a9([0x66,0x67,0x69])]:[0xc]}}];return _0x5e7279(_0x5672bc),_0x5672bc;function _0x569162(_0x5df381){return 0x1<<_0x5df381-0x1;}function _0x5e7279(_0x5651c2){_0x5651c2[_0x3b20a9([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x15fe14=>{_0x15fe14[_0x3b20a9([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]=_0x569162(_0x15fe14[_0x3b20a9([0x69,0x64])]),_0x29cea9(_0x15fe14)&&_0x15fe14[_0x3b20a9([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x5e7279(_0x15fe14[_0x3b20a9([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]);});}}function _0x29cea9(_0x5dbc3f){return _0x3b20a9([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])in _0x5dbc3f;}const _0x9fcc29=[0x1,0x55,0x4e,0x73,0xc6,0xff,0x32,0x70,0x53,0x57,0xa1],_0x1c85be=[0x7f,0x22,0x6,0xd3,0xa7,0x56,0x92,0xc7,0x84,0xa0,0x12];function _0x301360(_0x4b2086){const _0x18a00f=[0x1d,0xdd,0xaf,0x5a,0xe7,0x85,0xef,0xf0,0x4b,0xb4];return _0x5ae3ac(_0x4b2086,new Uint8Array([..._0x9fcc29,..._0x18a00f,..._0x1c85be]));}function _0x5ae3ac(_0x19cea9,_0x49d68a){const _0x1ddb28=_0x94e5a4(_0x19cea9),_0x182928=Array[_0x3b20a9([0x66,0x72,0x6f,0x6d])](_0x43317d(_0x1ddb28)),_0x4479cd=_0x182928[_0x3b20a9([0x70,0x6f,0x70])](),_0x3c2b7b=_0x182928[_0x3b20a9([0x70,0x6f,0x70])]();return _0x50a380(_0x3de38f(_0x182928,_0x49d68a,_0x3c2b7b+0x100*_0x4479cd));}function _0x94e5a4(_0x1dc48a){const _0x49517a=atob(_0x1dc48a),[_0x1ac8a5,_0x4f8152]=_0x49517a[_0x3b20a9([0x73,0x70,0x6c,0x69,0x74])](_0x3b20a9([0x2d]));try{if(atob(_0x4f8152))return atob(_0x1ac8a5);}catch(_0x563d89){}return _0x49517a;}function _0x5b7548(_0x2565b0){try{const _0x48e003=_0x301360(_0x2565b0),_0x33c932=JSON[_0x3b20a9([0x70,0x61,0x72,0x73,0x65])](_0x48e003),_0x593ee1=parseInt(_0x33c932[_0x3b20a9([0x31])]),_0x1b6c68=_0x33c932[_0x3b20a9([0x32])]||'',_0x340d10=parseInt(_0x33c932[_0x3b20a9([0x33])]),_0x461315=parseInt(_0x33c932[_0x3b20a9([0x34])])||0x0,_0x3bec4c=parseInt(_0x33c932[_0x3b20a9([0x35])])||0x0;return{[_0x3b20a9([0x70,0x72,0x6f,0x64,0x75,0x63,0x74,0x4e,0x61,0x6d,0x65])]:_0x1b6c68,[_0x3b20a9([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])]:_0x461315,[_0x3b20a9([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]:_0x593ee1,[_0x3b20a9([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]:_0x340d10,[_0x3b20a9([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]:_0x3bec4c};}catch(_0x233518){return null;}}const _0x154910=_0x360fed(),_0x584957={[_0x3b20a9([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])]:_0x3e2fde,[_0x3b20a9([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])]:_0x1f71da,[_0x3b20a9([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])]:_0x2982fc},_0x3cd5ed=_0x511a2e[_0x3b20a9([0x63,0x6f,0x6e,0x73,0x74,0x72,0x75,0x63,0x74,0x6f,0x72])][_0x3b20a9([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])],_0x1fa9a8=_0x3b20a9([0x63,0x6f,0x6e,0x74,0x65,0x78,0x74])in _0x511a2e?_0x511a2e['context']:_0x511a2e['editor'],_0x733782=_0x3b20a9([0x34,0x30,0x34,0x38,0x31,0x32,0x34,0x36]),_0x351626=_0x3b20a9([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]),_0x3a5645=_0x1fa9a8['config']['get'](_0x3b20a9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x3fbd0c=_0x154910[_0x3b20a9([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x29cea9)[_0x3b20a9([0x66,0x69,0x6e,0x64])](_0x1debae=>_0x1debae[_0x3b20a9([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]===_0x3cd5ed);function _0x284125(_0x16379d,_0x225c51){_0x584957[_0x225c51[_0x3b20a9([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]](_0x16379d,_0x225c51),_0x225c51[_0x3b20a9([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x225c51[_0x3b20a9([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])][_0x3b20a9([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3fabb8=>_0x4f068a(_0x1fa9a8,_0x3fabb8[_0x3b20a9([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))[_0x3b20a9([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x3665e1=>_0x284125(_0x16379d,_0x3665e1));}function _0x3e2fde(_0x41a0d8,_0x6d2430){_0x1bfdff(_0x586f89(_0x41a0d8,_0x6d2430),_0x6d2430);}function _0x1f71da(_0x50b060,_0x4ef896){function _0x4d7f80(_0x34930f,_0x28c859){try{if(_0x4f068a(_0x1fa9a8,_0x3b20a9([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))&&_0x34930f){const _0x3b26eb=_0x310bb8(_0x1fa9a8,_0x3b20a9([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))[_0x3b20a9([0x5f,0x65,0x78,0x65,0x63,0x75,0x74,0x65,0x53,0x75,0x67,0x67,0x65,0x73,0x74,0x69,0x6f,0x6e])];if(parseInt(_0x3b26eb)/0x2>_0x34930f[_0x3b20a9([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])])return _0x58d8ca(_0x28c859[_0x3b20a9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3b20a9([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}return _0x586f89(_0x34930f,_0x28c859);}catch(_0x4abf47){return _0x58d8ca(_0x28c859[_0x3b20a9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3b20a9([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}_0x1bfdff(_0x4d7f80(_0x50b060,_0x4ef896),_0x4ef896);}function _0x2982fc(_0x2a3dfb,_0x128999){const _0x323341=_0x1c85be[0x0]*_0x9fcc29[0x1],_0xbb22c4=_0x1c85be[0x0]*_0x9fcc29[0x2],_0x309c12=_0x1c85be[0x2]*_0x9fcc29[0x2];_0x4f068a(_0x1fa9a8,_0x3b20a9([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x310bb8(_0x1fa9a8,_0x3b20a9([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x3b20a9([0x73,0x74,0x61,0x74,0x65])]==_0x3b20a9([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&(window[_0x3a4ec2()]=_0x309c12);function _0x1d1e4a(_0x2649bc,_0x5dd9ce){try{return _0x3f1c1a()?_0x58d8ca(_0x5dd9ce[_0x3b20a9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3b20a9([0x56,0x61,0x6c,0x69,0x64])):_0x586f89(_0x2649bc,_0x5dd9ce);}catch(_0x4bd3ac){return _0x58d8ca(_0x5dd9ce[_0x3b20a9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3b20a9([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x2555ae(_0x57ed33,_0x3e1b26){const _0x468ddd=0x7;if(_0x57ed33==_0x3e1b26[_0x3b20a9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3b20a9([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]))_0xc69a63();else{if(_0x57ed33==_0x3e1b26[_0x3b20a9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3b20a9([0x54,0x72,0x69,0x61,0x6c])){const _0x2621b7=_0x18db2f();_0x2621b7&&_0x2776fe(_0x2621b7,_0x3e1b26[_0x3b20a9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);const _0x272f83=_0xa8c744();window[_0x3b20a9([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x2776fe(_0x3b20a9([0x74,0x69,0x6d,0x65]),_0x3e1b26[_0x3b20a9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);},_0x272f83);const _0x55894a=_0x310bb8(_0x1fa9a8,_0x3b20a9([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x3b20a9([0x5f,0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73])];_0x55894a[_0x3b20a9([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x468ddd?_0x2776fe(_0x3b20a9([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x3e1b26[_0x3b20a9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]):_0x55894a['on'](_0x3b20a9([0x61,0x64,0x64]),()=>{_0x55894a[_0x3b20a9([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x468ddd&&_0x2776fe(_0x3b20a9([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x3e1b26[_0x3b20a9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);});}}}function _0x18db2f(){if(!_0x4f068a(_0x1fa9a8,_0x3b20a9([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x22031b in window)if(Number['isNaN'](Number(_0x22031b))){if(window[_0x22031b]===_0x323341)return _0x3b20a9([0x74,0x69,0x6d,0x65]);if(window[_0x22031b]===_0xbb22c4)return _0x3b20a9([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]);}return!0x1;}function _0x3f1c1a(){if(!_0x4f068a(_0x1fa9a8,_0x3b20a9([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x5e7603 in window)if(Number['isNaN'](Number(_0x5e7603))&&window[_0x5e7603]===_0x309c12)return!0x0;return!0x1;}function _0x2776fe(_0x50c84d,_0x1280e0){_0xc69a63(),_0x58d8ca(_0x1280e0+_0x3b20a9([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a])+_0x50c84d),window[_0x3a4ec2()]=_0x50c84d===_0x3b20a9([0x74,0x69,0x6d,0x65])?_0x323341:_0xbb22c4;}function _0xa8c744(){let _0x15001a=_0x1c85be[0x6]*_0x9fcc29[0x8]*_0x9fcc29[0x6];return _0x4f068a(_0x1fa9a8,_0x3b20a9([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x15001a/=0xa),_0x15001a;}function _0xc69a63(){const _0x3053e6=_0x1fa9a8;function _0x583271(){_0x4f068a(_0x3053e6,_0x3b20a9([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&(_0x310bb8(_0x3053e6,_0x3b20a9([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x3b20a9([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x3b20a9([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x310bb8(_0x3053e6,_0x3b20a9([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x3b20a9([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x310bb8(_0x3053e6,_0x3b20a9([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x3b20a9([0x75,0x70,0x64,0x61,0x74,0x65])]=_0x2b0346,_0x310bb8(_0x3053e6,_0x3b20a9([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x3b20a9([0x73,0x61,0x76,0x65,0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e])]=_0x2b0346,_0x3053e6[_0x3b20a9([0x6d,0x6f,0x64,0x65,0x6c])][_0x3b20a9([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2b0346,_0x3053e6[_0x3b20a9([0x6d,0x6f,0x64,0x65,0x6c])][_0x3b20a9([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2b0346,_0x3053e6[_0x3b20a9([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x3b20a9([0x6d,0x6f,0x64,0x65,0x6c]))),_0x4f068a(_0x3053e6,_0x3b20a9([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x310bb8(_0x3053e6,_0x3b20a9([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x3b20a9([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x3b20a9([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x310bb8(_0x3053e6,_0x3b20a9([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x3b20a9([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x310bb8(_0x3053e6,_0x3b20a9([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x3b20a9([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])]=_0x2b0346,_0x310bb8(_0x3053e6,_0x3b20a9([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x3b20a9([0x5f,0x67,0x65,0x74,0x44,0x69,0x66,0x66])]=_0x2b0346);}_0x3053e6[_0x3b20a9([0x73,0x74,0x61,0x74,0x65])]==_0x3b20a9([0x72,0x65,0x61,0x64,0x79])?_0x583271():_0x3053e6[_0x3b20a9([0x6f,0x6e,0x63,0x65])](_0x3b20a9([0x72,0x65,0x61,0x64,0x79]),()=>{if(_0x4f068a(_0x3053e6,_0x3b20a9([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&_0x583271(),_0x4f068a(_0x3053e6,_0x3b20a9([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))){const _0x140cbd=_0x310bb8(_0x3053e6,_0x3b20a9([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79])),_0x39cafa=_0x140cbd['getRevision'](0x0),_0x23761e=_0x140cbd['getEarlierVisibleRevision'](_0x39cafa[_0x3b20a9([0x69,0x64])]);_0x310bb8(_0x3053e6,_0x3b20a9([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x3b20a9([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])](_0x39cafa[_0x3b20a9([0x69,0x64])],_0x23761e?_0x23761e[_0x3b20a9([0x69,0x64])]:null,0x1)['then'](()=>_0x583271());}});}_0x2555ae(_0x1d1e4a(_0x2a3dfb,_0x128999),_0x128999);}function _0x586f89(_0x2e1a6c,_0x4251c7){try{return _0x2ee41c(_0x4251c7)?_0x58d8ca(_0x4251c7[_0x3b20a9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3b20a9([0x56,0x61,0x6c,0x69,0x64])):_0x2e1a6c&&_0x33d982(_0x2e1a6c[_0x3b20a9([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])],_0x4251c7)?_0x2e1a6c[_0x3b20a9([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]&&!window[_0x3b20a9([0x6f,0x70,0x65,0x6e])][_0x3b20a9([0x63,0x6c,0x6f,0x73,0x65,0x64])]||parseInt(_0x733782)/0x2>_0x2e1a6c[_0x3b20a9([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]?_0x58d8ca(_0x4251c7[_0x3b20a9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3b20a9([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])):_0x2e1a6c[_0x3b20a9([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]?_0x58d8ca(_0x4251c7[_0x3b20a9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3b20a9([0x54,0x72,0x69,0x61,0x6c])):_0x58d8ca(_0x4251c7[_0x3b20a9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3b20a9([0x56,0x61,0x6c,0x69,0x64])):_0x58d8ca(_0x4251c7[_0x3b20a9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3b20a9([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}catch(_0x2515b9){return _0x58d8ca(_0x4251c7[_0x3b20a9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3b20a9([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x1bfdff(_0x50f1bc,_0x539fc5){if(_0x1fa9a8 instanceof _0x29c6ef){const _0x2af22e=_0x1fa9a8;_0x50f1bc==_0x539fc5[_0x3b20a9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3b20a9([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x149809(_0x2af22e):_0x50f1bc==_0x539fc5[_0x3b20a9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3b20a9([0x54,0x72,0x69,0x61,0x6c])&&window[_0x3b20a9([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x149809(_0x2af22e),_0x58d8ca(_0x539fc5[_0x3b20a9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3b20a9([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65]));},_0x1c85be[0x6]*_0x9fcc29[0x8]*_0x9fcc29[0x6]),_0x2af22e[_0x3b20a9([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])][_0x3b20a9([0x6f,0x6e])](_0x3b20a9([0x61,0x64,0x64]),(_0x3d30e7,_0x538bb1)=>{_0x50f1bc!=_0x539fc5[_0x3b20a9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3b20a9([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])&&_0x50f1bc!=_0x539fc5[_0x3b20a9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3b20a9([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65])&&_0x50f1bc!=_0x539fc5[_0x3b20a9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3b20a9([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])||_0x3caa80(_0x538bb1);});}else{const _0x32606e=_0x1fa9a8;_0x50f1bc==_0x539fc5[_0x3b20a9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3b20a9([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x3caa80(_0x32606e):_0x50f1bc==_0x539fc5[_0x3b20a9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3b20a9([0x54,0x72,0x69,0x61,0x6c])&&_0x32606e[_0x3b20a9([0x6f,0x6e])](_0x3b20a9([0x72,0x65,0x61,0x64,0x79]),()=>{let _0x9120a9=0x0;_0x32606e[_0x3b20a9([0x6d,0x6f,0x64,0x65,0x6c])][_0x3b20a9([0x6f,0x6e])](_0x3b20a9([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x213fb9,_0x2f9162)=>{_0x2f9162[0x0][_0x3b20a9([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x9120a9++,0x1f8===_0x9120a9&&(_0x3caa80(_0x32606e),_0x58d8ca(_0x539fc5[_0x3b20a9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3b20a9([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])),_0x213fb9[_0x3b20a9([0x6f,0x66,0x66])]());},{'priority':_0x3b20a9([0x68,0x69,0x67,0x68,0x65,0x73,0x74])});});}}function _0x58d8ca(_0x119cd7){const _0x29c789=_0x3a4ec2();return _0x1fa9a8[_0x29c789]=_0x119cd7,_0x119cd7;}function _0x3a4ec2(){const _0x51ed8f=String(window[_0x3b20a9([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x3b20a9([0x6e,0x6f,0x77])]())[_0x3b20a9([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x3b20a9([0x2e]),'');let _0x3b0586='';for(let _0x25f49a=0x0;_0x25f49a<_0x51ed8f[_0x3b20a9([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x25f49a+=0x2){let _0x4d8c51=parseInt(_0x51ed8f[_0x3b20a9([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x25f49a,_0x25f49a+0x2));_0x4d8c51>=_0x351626[_0x3b20a9([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x4d8c51-=_0x351626[_0x3b20a9([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x3b0586+=_0x351626[_0x4d8c51];}return _0x3b0586;}function _0x149809(_0x467fb6){for(const _0x5227f4 of _0x467fb6[_0x3b20a9([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])])_0x3caa80(_0x5227f4);_0x310bb8(_0x467fb6,_0x3b20a9([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x3b20a9([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])](!0x0),_0x310bb8(_0x467fb6,_0x3b20a9([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x3b20a9([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])]=_0x2b0346;}function _0x3caa80(_0x6a0a27){function _0x19d4bb(){_0x6a0a27[_0x3b20a9([0x6d,0x6f,0x64,0x65,0x6c])][_0x3b20a9([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2b0346,_0x6a0a27[_0x3b20a9([0x6d,0x6f,0x64,0x65,0x6c])][_0x3b20a9([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2b0346,_0x6a0a27[_0x3b20a9([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x3b20a9([0x6d,0x6f,0x64,0x65,0x6c]));}_0x6a0a27[_0x3b20a9([0x73,0x74,0x61,0x74,0x65])]==_0x3b20a9([0x72,0x65,0x61,0x64,0x79])?_0x19d4bb():_0x6a0a27[_0x3b20a9([0x6f,0x6e,0x63,0x65])](_0x3b20a9([0x72,0x65,0x61,0x64,0x79]),()=>_0x19d4bb());}function _0x2b0346(){return null;}function _0x33d982(_0x291e60,_0x19e6cf){const _0x11f7b5=!!(_0x291e60&_0x19e6cf[_0x3b20a9([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]),_0x40ca01=_0x34f1ea(_0x291e60,_0x19e6cf);return _0x11f7b5||_0x40ca01;}function _0x34f1ea(_0x2fcb85,_0x1d7faf){const _0x332beb=(_0x1d7faf[_0x3b20a9([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{})[_0x3b20a9([0x66,0x67,0x69])]||null;return!!_0x332beb&&_0x154910[_0x3b20a9([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1e1eb3=>_0x332beb[_0x3b20a9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1e1eb3[_0x3b20a9([0x69,0x64])]))[_0x3b20a9([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3c1a34=>!_0x5955c9(_0x3c1a34))[_0x3b20a9([0x73,0x6f,0x6d,0x65])](_0x482a8e=>!!(_0x2fcb85&_0x482a8e[_0x3b20a9([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]));}function _0x5955c9(_0x438f18){const _0x5b6e6f={[_0x3b20a9([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])]:_0xc1f488};return!!_0x438f18['forbiddenHandler']&&_0x5b6e6f[_0x438f18['forbiddenHandler']]();}function _0xc1f488(){return!window[_0x3b20a9([0x44,0x72,0x75,0x70,0x61,0x6c])]||!_0x4f068a(_0x1fa9a8,_0x3b20a9([0x64,0x72,0x75,0x70,0x61,0x6c,0x50,0x6f,0x77,0x65,0x72,0x65,0x64,0x42,0x79]));}function _0x2ee41c(_0x709830){if(!_0x4f068a(_0x1fa9a8,_0x709830[_0x3b20a9([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))return!0x0;const _0x41002b=_0x709830[_0x3b20a9([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{},_0x56777a=_0x41002b[_0x3b20a9([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]||!0x1,_0x4826a7=_0x41002b[_0x3b20a9([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]||!0x1,_0x2646ba=_0x41002b[_0x3b20a9([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]||!0x1;if(_0x4f068a(_0x1fa9a8,_0x3b20a9([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x310bb8(_0x1fa9a8,_0x3b20a9([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x3b20a9([0x73,0x74,0x61,0x74,0x65])]==_0x3b20a9([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&_0x56777a)return!0x0;if(_0x4f068a(_0x1fa9a8,_0x3b20a9([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))&&_0x310bb8(_0x1fa9a8,_0x3b20a9([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))[_0x3b20a9([0x72,0x65,0x73,0x75,0x6c,0x74])]==_0x3b20a9([0x65,0x6e,0x64])&&_0x4826a7)return!0x0;return!(!_0x4f068a(_0x1fa9a8,_0x3b20a9([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]))||_0x310bb8(_0x1fa9a8,_0x3b20a9([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]))[_0x3b20a9([0x72,0x65,0x73,0x75,0x6c,0x74])]!=_0x3b20a9([0x65,0x6e,0x64])||!_0x2646ba);}function _0x4f068a(_0x4a23de,_0x7737f5){return _0x4a23de[_0x3b20a9([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x3b20a9([0x68,0x61,0x73])](_0x7737f5);}function _0x310bb8(_0x5a3431,_0xcdf15f){return _0x5a3431[_0x3b20a9([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x3b20a9([0x67,0x65,0x74])](_0xcdf15f);}function _0x50a380(_0x49642b){let _0x9f55ad='';for(const _0x310d44 of _0x49642b)_0x9f55ad+=String[_0x3b20a9([0x66,0x72,0x6f,0x6d,0x43,0x68,0x61,0x72,0x43,0x6f,0x64,0x65])](_0x310d44);return _0x9f55ad;}function _0x43317d(_0xfaaaff){const _0x2b49dc=new Uint8Array(_0xfaaaff[_0x3b20a9([0x6c,0x65,0x6e,0x67,0x74,0x68])]);for(let _0x484eca=0x0;_0x484eca<_0xfaaaff[_0x3b20a9([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x484eca++)_0x2b49dc[_0x484eca]=_0xfaaaff[_0x3b20a9([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x484eca);return _0x2b49dc;}_0x3fbd0c&&_0x284125(_0x5b7548(_0x3a5645),_0x3fbd0c);})(_0x2d47dd);}(this);}['createRevision'](_0x4f2e0e){const _0x48ab00=this['editor']['plugins']['get']('Users');return new a({'id':_0x4f2e0e['id'],'name':_0x4f2e0e['name'],'creator':_0x4f2e0e['creatorId']?_0x48ab00['getUser'](_0x4f2e0e['creatorId']):null,'diffData':_0x4f2e0e['diffData']||_0x4f2e0e['data'],'authors':_0x4f2e0e['authorsIds']['map'](_0x1e66e6=>_0x48ab00['getUser'](_0x1e66e6)),'createdAt':new Date(_0x4f2e0e['createdAt']),'attributes':_0x4f2e0e['attributes'],'fromVersion':_0x4f2e0e['fromVersion'],'toVersion':_0x4f2e0e['toVersion']});}['addRevision'](_0x50a3bc,_0x92846=0x0){this['_revisions']['add'](_0x50a3bc,_0x92846);}['getRevision'](_0x2da477){return this['_revisions']['get'](_0x2da477);}['getRevisions'](_0x4ed2df={'toJSON':!0x1}){const _0x5ef254=Array['from'](this['_revisions']);return _0x5ef254['reverse'](),_0x4ed2df['toJSON']?_0x5ef254['map'](_0x3f756a=>_0x3f756a['toJSON']()):_0x5ef254;}['getIndex'](_0x4adef9){return this['_revisions']['getIndex'](_0x4adef9);}['getEarlierVisibleRevision'](_0x248f19){const [,_0x1f08e0]=this['getRevisionsIterator'](_0x248f19,{'direction':'earlier'});return _0x1f08e0;}['getLaterVisibleRevision'](_0x178d54){const [,_0x5bf401]=this['getRevisionsIterator'](_0x178d54,{'direction':'later'});return _0x5bf401;}['getRevisionsInDiff'](_0x519af8){const _0x33b791=[];for(const _0x684c05 of this['getRevisionsIterator'](_0x519af8['newRevisionId']))if(_0x33b791['push'](_0x684c05),_0x684c05['id']===_0x519af8['oldRevisionId'])break;return _0x33b791;}*['getRevisionsIterator'](_0x1b426f,{direction:_0x1a5ed8='earlier',filter:_0x360980=_0x5de0d3=>!0x0}={}){const _0x5b55f3='earlier'===_0x1a5ed8?0x1:-0x1;let _0x57ea8e=this['_revisions']['get'](_0x1b426f),_0x53ef06=this['getIndex'](_0x57ea8e);for(yield _0x57ea8e;_0x57ea8e;){if(_0x53ef06+=_0x5b55f3,_0x57ea8e=this['getRevision'](_0x53ef06),!_0x57ea8e)return;_0x360980(_0x57ea8e)&&(yield _0x57ea8e);}}}function y(_0x472581,_0x179272,_0x415076){const t=_0x472581['t'];switch(_0x179272){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'},_0x415076);case'X_OF_Y_CHANGES':return t({'string':'%0\x20of\x20%1','id':'X_OF_Y_CHANGES'},_0x415076);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':_0x22cfa1,'a':_0x2fcb99,'e':_0x340848,'r':_0x3024d4,'u':_0x409b2b};class l extends _0x3bc8af{['adapter'];['currentRevision'];['repository'];['_revisionDataBuilder'];['_source'];['_initialRevisionId'];['_bufferedUpdates'];['_pendingAction'];['_continueCurrentRevision'];['_startingVersion'];['_loadedStateData'];static get['pluginName'](){return'RevisionTracker';}static get['requires'](){return[_0x45f376,A,_0x6dd356];}constructor(_0x44275e){super(_0x44275e),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 _0xcc3430=_0x42c424();this['_source']={'history':this['editor']['model']['document']['history'],'getLatestVersion':()=>Promise['resolve'](this['editor']['model']['document']['version']),'getCurrentRevisionId':()=>_0xcc3430},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 _0x4ae8b8=this['repository']['getRevision'](0x0),_0x335128=_0x4ae8b8&&null===_0x4ae8b8['creator']?_0x4ae8b8:null;if(this['_continueCurrentRevision']=!!_0x335128&&this['editor']['config']['get']('revisionHistory.resumeUnsavedRevision'),this['editor']['plugins']['has']('RealTimeCollaborationClient')){const _0x625065=this['_source']['getCurrentRevisionId'](),_0xf30f32=this['repository']['getRevision'](_0x625065);if(_0xf30f32)this['_startingVersion']=_0xf30f32['fromVersion'],this['_continueCurrentRevision']=!0x1;else{const _0x67f3f8=this['_source']['history']['_operations']['find'](_0x2bd41c=>!_0x2bd41c['_isInit']),_0x3bd57f=_0x67f3f8?_0x67f3f8['baseVersion']:this['_source']['history']['version'];_0x4ae8b8?(_0x4ae8b8['toVersion']<_0x3bd57f&&_0x4ae8b8['_update']({'toVersion':_0x3bd57f}),this['_continueCurrentRevision']?(this['_source']['getCurrentRevisionId']=()=>_0x335128['id'],this['_startingVersion']=_0x335128['fromVersion']):(this['_startingVersion']=_0x4ae8b8['toVersion'],this['_continueCurrentRevision']=!0x1)):(this['_startingVersion']=_0x3bd57f,this['_continueCurrentRevision']=!0x1);}}else _0x335128&&(this['editor']['model']['document']['history']['version']=Math['max'](_0x335128['toVersion'],this['editor']['model']['document']['history']['version']),_0x335128['fromVersion']===_0x335128['toVersion']?(0x0!==_0x335128['fromVersion']&&(this['_source']['getCurrentRevisionId']=()=>_0x335128['id']),this['_continueCurrentRevision']=!0x1):this['_continueCurrentRevision']&&(this['_source']['getCurrentRevisionId']=()=>_0x335128['id'],this['_startingVersion']=_0x335128['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',_0xce2119=>!_0xce2119);}async['afterInit'](){if(this['repository']['length']>0x0){const _0x890a4a=this['repository']['getRevision'](0x0),_0x34e0e4=await this['getRevisionDocumentData'](_0x890a4a),_0x20d042=await this['getRevisionRootsAttributes'](_0x890a4a);this['_replaceEditorDataWithRevisionData'](_0x34e0e4,_0x20d042);}}['setSource'](_0x470fc4){this['_source']=_0x470fc4;}async['update'](){const _0x22b37f=await this['_source']['getLatestVersion']();if(_0x22b37f>this['currentRevision']['toVersion']){await this['_loadState']();const _0x4ec578=this['buildRevisionData']({'revision':this['currentRevision'],'to':_0x22b37f});_0x4ec578['authors']=_0x4ec578['authorsIds']['map'](_0x5151d2=>this['editor']['plugins']['get']('Users')['getUser'](_0x5151d2)),this['currentRevision']['_update'](_0x4ec578);}}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'](_0x3a492c={},_0x14be5d=null){const _0x4bc35e=[];await this['_loadState'](),this['_continueCurrentRevision']=!0x1,_0x14be5d>this['currentRevision']['toVersion']&&(_0x14be5d=null),null===_0x14be5d&&(_0x14be5d=await this['_source']['getLatestVersion']());const _0x31aabe=this['_getFromVersion'](_0x14be5d),_0x486c42=this['buildRevisionData']({'from':_0x31aabe,'to':_0x14be5d});if(this['currentRevision']['toVersion']<_0x14be5d){const _0x2bddf2=this['buildRevisionData']({'revision':this['currentRevision'],'from':_0x14be5d,'to':_0x14be5d});_0x2bddf2['authors']=[],_0x2bddf2['authorsIds']=[],_0x2bddf2['id']=this['currentRevision']['id'],this['currentRevision']['_update'](_0x2bddf2,!0x0),delete _0x2bddf2['authors'],_0x4bc35e['push'](_0x2bddf2);}_0x3a492c['creatorId']=this['editor']['plugins']['get']('Users')['me']['id'],_0x3a492c['name']=_0x3a492c['name']||null,_0x3a492c['id']=_0x3a492c['id']||_0x42c424(),_0x3a492c={..._0x3a492c,..._0x486c42};const _0x2e6c7f=this['addRevisionData'](_0x3a492c);_0x4bc35e['push'](_0x3a492c);const _0x220577=this['repository']['getIndex'](_0x2e6c7f);if(0x0!==_0x220577){const _0x49674f=this['repository']['getRevision'](_0x220577-0x1);if(_0x49674f['fromVersion']!==_0x14be5d){const _0x722e34=this['_revisionDataBuilder']['getData'](_0x14be5d,_0x49674f['toVersion']),_0x5a8d65={'id':_0x49674f['id'],'diffData':_0x722e34['diffData'],'authorsIds':_0x722e34['authorsIds'],'authors':_0x722e34['authorsIds']['map'](_0x3a6e86=>this['editor']['plugins']['get']('Users')['getUser'](_0x3a6e86)),'fromVersion':_0x14be5d};_0x49674f===this['currentRevision']&&(_0x5a8d65['createdAt']=new Date(_0x3a492c['createdAt']['getTime']()+0xa)),_0x49674f['_update'](_0x5a8d65,!0x0),delete _0x5a8d65['authors'],_0x4bc35e['push'](_0x5a8d65);}}if(this['adapter']){for(const _0x3f2ae2 of _0x4bc35e)this['_bufferUpdate'](_0x3f2ae2['id'],_0x3f2ae2,!0x0);this['sendBufferedUpdates']();}return _0x2e6c7f;}['addRevisionData'](_0x4205bc){const _0x14f556=this['repository']['createRevision'](_0x4205bc);return this['adapter']&&_0x14f556['on']('_update',(_0x2b237c,_0x391a8c,_0x2b0a47)=>{_0x2b0a47||(this['_bufferUpdate'](_0x391a8c['id'],_0x391a8c,!0x0),this['sendBufferedUpdates']());}),this['repository']['addRevision'](_0x14f556,this['_findInsertionIndex'](_0x14f556)),_0x14f556;}async['getRevisionDocumentData'](_0x1fce9d){await this['_loadRevisionData'](_0x1fce9d);const _0x328a6d={};for(const _0x1104da in _0x1fce9d['diffData']){if(_0x1fce9d['diffData'][_0x1104da]['attachChange']&&!_0x1fce9d['diffData'][_0x1104da]['attachChange']['isAttached'])continue;const _0x4adc0c=this['_removeRevisionMarkers'](JSON['parse'](_0x1fce9d['diffData'][_0x1104da]['insertions'])),_0x2b8010=this['editor']['editing']['view']['document'],_0x465d6f=new _0x68de1b(_0x2b8010,_0x4adc0c['map'](_0x21e113=>B(_0x21e113,this['editor'])));this['editor']['data']['processor']['useFillerType']('marked'),_0x328a6d[_0x1104da]=this['editor']['data']['processor']['toData'](_0x465d6f),this['editor']['data']['processor']['useFillerType']('default');}return _0x328a6d;}async['getRevisionRootsAttributes'](_0x2e4f77){await this['_loadRevisionData'](_0x2e4f77);const _0x5e8387={};for(const _0x5852df in _0x2e4f77['diffData'])_0x2e4f77['diffData'][_0x5852df]['attachChange']&&!_0x2e4f77['diffData'][_0x5852df]['attachChange']['isAttached']||(_0x5e8387[_0x5852df]=_0x2e4f77['diffData'][_0x5852df]['attributesAfter']||{});return _0x5e8387;}['sendBufferedUpdates'](){if(0x0===this['_bufferedUpdates']['size'])return;if(this['_isPendingUpdate'])return;let _0x4170c3=Array['from'](this['_bufferedUpdates']['values']());this['_bufferedUpdates']['clear']();for(let _0x3239ac=0x0;_0x3239ac<_0x4170c3['length'];_0x3239ac++){const _0x4770e3=_0x4170c3[_0x3239ac];let _0xa75613=!0x1;for(const _0x4233f8 of Object['keys'](_0x4770e3))void 0x0===_0x4770e3[_0x4233f8]?delete _0x4770e3[_0x4233f8]:'id'!==_0x4233f8&&(_0xa75613=!0x0);_0xa75613||(_0x4170c3[_0x3239ac]=null);}if(_0x4170c3=_0x4170c3['filter'](_0x1d2031=>null!==_0x1d2031),!_0x4170c3['length'])return;for(let _0x264328=0x0;_0x264328<_0x4170c3['length'];_0x264328++){const _0x3b9fdd=_0x4170c3[_0x264328];void 0x0!==_0x3b9fdd['fromVersion']&&void 0x0===_0x3b9fdd['toVersion']&&(_0x3b9fdd['toVersion']=this['repository']['getRevision'](_0x3b9fdd['id'])['toVersion']),void 0x0!==_0x3b9fdd['toVersion']&&void 0x0===_0x3b9fdd['fromVersion']&&(_0x3b9fdd['fromVersion']=this['repository']['getRevision'](_0x3b9fdd['id'])['fromVersion']);}const _0x45ca5c=this['editor']['config']['get']('collaboration.channelId');this['_isPendingUpdate']=!0x0,this['_addPendingAction'](),this['adapter']['updateRevisions'](_0x4170c3,_0x45ca5c)['finally'](()=>{this['_isPendingUpdate']=!0x1;})['then'](_0x240d4f=>{if(_0x240d4f){for(const _0x6ff37d of _0x240d4f)this['setRevisionData']({'id':_0x6ff37d['id'],'createdAt':_0x6ff37d['createdAt']});}this['_removePendingAction'](),this['sendBufferedUpdates']();});}['_replaceEditorDataWithRevisionData'](_0x529668,_0x26386f){let _0x3788b7=this['editor']['config']['get']('initialData'),_0x130cc4=this['editor']['config']['get']('rootsAttributes');if(void 0x0===_0x3788b7){_0x3788b7={};for(const _0x5a7acb of this['editor']['model']['document']['getRootNames']())_0x3788b7[_0x5a7acb]='';}if('string'==typeof _0x3788b7&&(_0x3788b7={'main':_0x3788b7}),void 0x0===_0x130cc4){_0x130cc4={};for(const _0x501ce5 of this['editor']['model']['document']['getRootNames']())_0x130cc4[_0x501ce5]={};}let _0xe5a2c6=!0x1;const _0x595f76=Object['keys'](_0x3788b7),_0x31c12e=Object['keys'](_0x529668);for(const _0x113b18 of _0x595f76){if(_0x3788b7[_0x113b18]!==_0x529668[_0x113b18]&&''!==_0x3788b7[_0x113b18]['trim']()){_0xe5a2c6=!0x0;break;}if(!_0x44b192(_0x130cc4[_0x113b18],_0x26386f[_0x113b18])&&Object['keys'](_0x130cc4[_0x113b18])['length']>0x0){_0xe5a2c6=!0x0;break;}}_0xe5a2c6||(_0xe5a2c6=_0x31c12e['some'](_0x3dddaa=>!this['editor']['model']['document']['getRoot'](_0x3dddaa))),_0xe5a2c6&&_0x4eff96('editor-initial-data-replaced-with-revision-data',{'editorData':_0x3788b7,'editorRootsAttributes':_0x130cc4,'revisionData':_0x529668,'revisionRootsAttributes':_0x26386f}),this['editor']['config']['set']('initialData',_0x529668),this['editor']['config']['set']('rootsAttributes',_0x26386f);}['_addPendingAction'](){if(!this['_pendingAction']){const _0x38fa9c=this['editor']['plugins']['get']('PendingActions');this['_pendingAction']=_0x38fa9c['add'](y(this['editor']['locale'],'PENDING_ACTION_REVISION_HISTORY'));}}['_removePendingAction'](){this['_pendingAction']&&(this['editor']['plugins']['get']('PendingActions')['remove'](this['_pendingAction']),this['_pendingAction']=null);}['_findInsertionIndex'](_0x5f1620){const _0x757422=this['repository']['getRevisions']();_0x757422['reverse']();let _0x3d3ab0=0x0;for(;_0x3d3ab0<_0x757422['length'];){const _0x199ab4=_0x757422[_0x3d3ab0];if(_0x199ab4===this['currentRevision']){_0x3d3ab0++;continue;}if(_0x199ab4['id']===this['_initialRevisionId'])break;const _0x35724b=_0x5f1620['toVersion']-_0x199ab4['toVersion']||_0x5f1620['fromVersion']-_0x199ab4['fromVersion'];if(_0x35724b>0x0)break;if(_0x35724b<0x0)_0x3d3ab0++;else{if(!_0x5f1620['creator']&&_0x199ab4['creator'])break;if(_0x199ab4['creator']||!_0x5f1620['creator']){if(_0x5f1620['createdAt']>_0x199ab4['createdAt'])break;_0x3d3ab0++;}else _0x3d3ab0++;}}return _0x3d3ab0;}['setRevisionData'](_0x10852c){const _0x2f65d3=this['repository']['getRevision'](_0x10852c['id']);if(_0x10852c['createdAt']&&(_0x10852c['createdAt']=new Date(_0x10852c['createdAt'])),_0x10852c['authorsIds']){const _0x235090=this['editor']['plugins']['get']('Users');_0x10852c['authors']=_0x10852c['authorsIds']['map'](_0x3b76ea=>_0x235090['getUser'](_0x3b76ea));}_0x2f65d3['_update'](_0x10852c,!0x0);}['buildRevisionData']({revision:_0x83a66e=null,from:_0x4b4191=null,to:_0x46c593=null}){_0x4b4191=null!==_0x4b4191?_0x4b4191:_0x83a66e['fromVersion'],_0x46c593=null!==_0x46c593?_0x46c593:_0x83a66e['toVersion'];const _0x316695=this['_revisionDataBuilder']['getData'](_0x4b4191,_0x46c593),_0x10002f={'diffData':_0x316695['diffData'],'authorsIds':_0x316695['authorsIds'],'fromVersion':_0x4b4191,'toVersion':_0x46c593};if(!_0x83a66e||_0x46c593!==_0x83a66e['toVersion']){const _0x2eccfa=_0x46c593-0x1,_0x110e07=this['_source']['history']['getOperation'](_0x2eccfa);_0x10002f['createdAt']=_0x110e07&&_0x110e07['createdAt']||new Date();}if(this['_loadedStateData']&&_0x4b4191===this['_loadedStateData']['fromVersion']){for(const _0x4c689e of this['_loadedStateData']['authors'])_0x10002f['authorsIds']['includes'](_0x4c689e['id'])||_0x10002f['authorsIds']['push'](_0x4c689e['id']);}return _0x10002f;}['_loadRevisionData'](_0xf8e031){if(!_0xf8e031||_0xf8e031['diffData'])return Promise['resolve']();{const _0x3bbd82=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0x3bbd82,'revisionId':_0xf8e031['id']})['then'](_0x26f48a=>{_0xf8e031['diffData']=_0x26f48a['diffData'];});}}['_bufferUpdate'](_0x5a8cc8,_0x120222,_0x4d0ec4){if(this['_bufferedUpdates']['has'](_0x5a8cc8)){const _0x78f369=this['_bufferedUpdates']['get'](_0x5a8cc8);_0x120222=_0x4d0ec4?{..._0x78f369,..._0x120222}:{..._0x120222,..._0x78f369};}this['_bufferedUpdates']['set'](_0x5a8cc8,_0x120222);}['_getFromVersion'](_0x4510ae){const _0xd315e7=this['repository']['getRevisions']();_0xd315e7['reverse'](),_0xd315e7['shift']();const _0x4f07a5=_0xd315e7['find'](_0x185c4a=>_0x185c4a['toVersion']<=_0x4510ae)['toVersion'];return _0x4f07a5<this['_startingVersion']?this['_startingVersion']:_0x4f07a5;}['_createInitialRevision'](_0xec6957){const _0x676ea5=this['repository']['getRevision'](this['repository']['length']-0x1);if(_0x676ea5)this['_initialRevisionId']=_0x676ea5['id'];else{const _0x337bba=!this['editor']['model']['document']['roots']['find'](_0x578bcf=>this['editor']['model']['hasContent'](_0x578bcf)),_0x56970c=this['editor']['plugins']['get']('Users')['me']['id'],_0x50a0bd=y(this['editor']['locale'],_0x337bba?'Empty\x20document':'Initial\x20revision');this['_makeRevision']({'from':_0xec6957,'to':_0xec6957,'id':this['_initialRevisionId'],'name':_0x50a0bd,'creatorId':_0x56970c});}}['_createCurrentRevision'](_0x322f20){const _0x17605a=this['_source']['getCurrentRevisionId']();this['currentRevision']=this['repository']['getRevision'](_0x17605a),this['currentRevision']||(this['currentRevision']=this['_makeRevision']({'from':_0x322f20,'to':_0x322f20,'id':_0x17605a,'name':'','creatorId':null}));}['_makeRevision']({name:_0x10faea,from:_0x5f2444,to:_0x51b9bc,creatorId:_0x437b35,id:_0xe5726f}){const _0x1daa75=this['buildRevisionData']({'from':_0x5f2444,'to':_0x51b9bc});_0x1daa75['name']=_0x10faea,_0x1daa75['creatorId']=_0x437b35,_0x1daa75['id']=_0xe5726f;const _0x164450=this['addRevisionData'](_0x1daa75);return this['adapter']&&this['_bufferUpdate'](_0x1daa75['id'],_0x1daa75,!0x0),_0x164450;}['_setConversion'](){this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'});}['_removeRevisionMarkers'](_0x43a84c){return(_0x43a84c=_0x43a84c['filter'](_0xab1225=>!_0xab1225['name']||'revision-start'!==_0xab1225['name']&&'revision-end'!==_0xab1225['name']))['forEach'](_0x255cee=>{'string'!=typeof _0x255cee&&(_0x255cee['children']=this['_removeRevisionMarkers'](_0x255cee['children']),_0x255cee['attributes']=_0x255cee['attributes']['filter'](_0x4928ec=>!_0x4928ec[0x0]['startsWith']('data-revision-')));}),_0x43a84c;}}function B(_0x76020c,_0x204db3){const _0x4be529=_0x204db3['editing']['view']['document'];if('string'==typeof _0x76020c)return new _0x75ba4f(_0x4be529,_0x76020c);{const _0x20a4bb=_0x76020c['children']['map'](_0x2c6a18=>B(_0x2c6a18,_0x204db3));return new(T[_0x76020c['type']]||_0x37b0cc)(_0x4be529,_0x76020c['name'],_0x76020c['attributes'],_0x20a4bb);}}class J{['editor'];['source'];['_savedMetaData'];['_lastFrom'];['_lastTo'];['_markers'];['_diffRoots'];['_diffRootsAttributes'];['_baseRoots'];['_baseRootsAttributes'];['_idsRoots'];['_baseIdsRoots'];['_touched'];['_touchedMarkers'];['_touchedRoots'];['_revisionId'];['_startingRevisionId'];constructor(_0x554543){this['editor']=_0x554543,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'](_0x3506f5){this['source']=_0x3506f5;const _0x1793dd=new Map(),_0x97fa6e=new Map(),_0x2eb5ec=this['editor']['model']['document']['roots']['map'](_0x27c538=>_0x27c538['rootName']);for(const _0x5661ad of _0x2eb5ec){const _0x481993=this['editor']['model']['document']['getRoot'](_0x5661ad),_0x1dfaea=q(_0x481993);_0x1793dd['set'](_0x5661ad,_0x1dfaea),_0x97fa6e['set'](_0x5661ad,Object['fromEntries'](_0x481993['getAttributes']()));}const _0xca8231=Array['from'](this['editor']['model']['markers'])['map'](_0x4371ca=>[_0x4371ca['name'],_0x4371ca['getRange']()]),_0x45b915=this['source']['version'];this['_saveMetaData'](_0x45b915,_0x1793dd,_0xca8231,_0x97fa6e),this['_startingRevisionId']=this['_revisionId'];const _0x404278=new Map(),_0x91ba1e=new Map();for(const _0x3fecb9 of _0x2eb5ec){const _0x48e37e=G(_0x3fecb9);_0x404278['set'](_0x3fecb9,_0x48e37e),_0x91ba1e['set'](_0x3fecb9,{});}this['_saveMetaData'](Number['NEGATIVE_INFINITY'],_0x404278,[],_0x91ba1e);}['getData'](_0x1507e0,_0x510855){if(this['_lastFrom']===_0x1507e0&&this['_lastTo']<=_0x510855)this['_savedMetaData']['size']>0x1&&this['_removeMetaData'](this['_lastTo']),this['_applyOperations'](this['_lastTo'],_0x510855,!0x0);else{if(!this['_savedMetaData']['has'](_0x1507e0)){const _0x1b74db=this['_getPreviousFrom'](_0x1507e0);this['_calculateMetaData'](_0x1b74db,_0x1507e0,!0x1);}this['_calculateMetaData'](_0x1507e0,_0x510855,!0x0);}return this['_lastFrom']=_0x1507e0,this['_lastTo']=_0x510855,this['_getState']();}['loadState'](_0x389056){this['_reset'](),this['_lastFrom']=_0x389056['fromVersion'],this['_lastTo']=_0x389056['toVersion'];for(const _0x2a31f1 in _0x389056['diffData']){const _0x3a2ad2=_0x389056['diffData'][_0x2a31f1]['attachChange'],_0x2a8d9c=_0x5c50ea(_0x389056['diffData'][_0x2a31f1]['attributesBefore'])||{},_0x1e6eba=this['_makeModelFromViewString'](_0x389056['diffData'][_0x2a31f1]['deletions']);_0x1e6eba['rootName']=_0x2a31f1,_0x1e6eba['_isAttached']=!_0x3a2ad2||!_0x3a2ad2['isAttached'],_0x1e6eba['isAttached']=()=>_0x1e6eba['_isAttached'],this['_baseRoots']['set'](_0x2a31f1,_0x1e6eba),this['_baseRootsAttributes']['set'](_0x2a31f1,_0x2a8d9c),_0x3a2ad2&&this['_touchedRoots']['set'](_0x2a31f1,_0x3a2ad2);const _0x4859fe=this['_makeIdsRoot'](_0x1e6eba);this['_baseIdsRoots']['set'](_0x2a31f1,_0x4859fe);for(const [_0xfe95c,_0x2dd13f]of _0x1e6eba['markers']){if(!_0xfe95c['startsWith']('revision:'))continue;const _0x26a65a=_0xfe95c['split'](':')[0x2];for(const _0x5dc512 of _0x2dd13f['getWalker']({'singleCharacters':!0x0})){const _0x99d445=this['_getVidAttributeName'](_0x5dc512),_0x28d05f='elementEnd'==_0x5dc512['type']?_0x5dc512['previousPosition']['path']['slice'](0x0,-0x1):_0x5dc512['previousPosition']['path'],_0x364b1d=_0x4859fe['getNodeByPath'](_0x28d05f)['getAttribute'](_0x99d445);this['_touched']['set'](_0x364b1d,{'userId':_0x26a65a});}}}this['_startingRevisionId']=this['_revisionId'];const _0x1be91a=[...Array(this['_revisionId'])['keys']()]['slice'](0x1)['filter'](_0x28aab4=>!this['_touched']['has'](_0x28aab4));let _0x90c2cd=0x0;const _0x4f8913=new Map();for(const _0xe6790a in _0x389056['diffData']){const _0x4e7d00=_0x389056['diffData'][_0xe6790a]['attachChange'],_0x372271=_0x5c50ea(_0x389056['diffData'][_0xe6790a]['attributesAfter'])||{},_0x102d3a=this['_makeModelFromViewString'](_0x389056['diffData'][_0xe6790a]['insertions']);_0x102d3a['rootName']=_0xe6790a,_0x102d3a['_isAttached']=!_0x4e7d00||_0x4e7d00['isAttached'],_0x102d3a['isAttached']=()=>_0x102d3a['_isAttached'],this['_diffRoots']['set'](_0xe6790a,_0x102d3a),this['_diffRootsAttributes']['set'](_0xe6790a,_0x372271);const _0x5ba7a3=this['_makeIdsRoot'](_0x102d3a,Number['NEGATIVE_INFINITY']);this['_idsRoots']['set'](_0xe6790a,_0x5ba7a3),_0x4f8913['set'](_0xe6790a,_0x102d3a['isAttached']()?_0x372271:{});for(const [_0x2ef255,_0xc74245]of _0x102d3a['markers']){if(!_0x2ef255['startsWith']('revision:'))continue;const _0x290ed7=_0x2ef255['split'](':')[0x2];for(const _0x1b675a of _0xc74245['getWalker']({'singleCharacters':!0x0})){const _0x1f4651=this['_getVidAttributeName'](_0x1b675a),_0x2fdeab=this['_revisionId']++,_0x59f52e='elementEnd'==_0x1b675a['type']?_0x1b675a['previousPosition']['path']['slice'](0x0,-0x1):_0x1b675a['previousPosition']['path'];_0x5ba7a3['getNodeByPath'](_0x59f52e)['_setAttribute'](_0x1f4651,_0x2fdeab),this['_touched']['set'](_0x2fdeab,{'userId':_0x290ed7});}}for(const _0x1c141d of this['editor']['model']['createRangeIn'](_0x102d3a)['getWalker']({'singleCharacters':!0x0})){const _0x3743e8=this['_getVidAttributeName'](_0x1c141d),_0x5a7ef0='elementEnd'==_0x1c141d['type']?_0x1c141d['previousPosition']['path']['slice'](0x0,-0x1):_0x1c141d['previousPosition']['path'],_0x3a6769=_0x5ba7a3['getNodeByPath'](_0x5a7ef0);_0x3a6769['getAttribute'](_0x3743e8)>0x0||_0x3a6769['_setAttribute'](_0x3743e8,_0x1be91a[_0x90c2cd++]);}for(const [_0x1bbebd,_0x36704e]of _0x102d3a['markers'])_0x1bbebd['startsWith']('revision:')||this['_markers']['set'](_0x1bbebd,_0x36704e);}const _0x532cf3=G('$graveyard');this['_baseRoots']['set']('$graveyard',_0x532cf3),this['_baseIdsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x532cf3,0x1));const _0x340ed8=G('$graveyard');this['_diffRoots']['set']('$graveyard',_0x340ed8),this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x340ed8,0x1));const _0x227e1c=Array['from'](this['_diffRoots'])['map'](([_0xc0c268,_0x3196b3])=>[_0xc0c268,q(_0x3196b3)]);this['_saveMetaData'](this['_lastTo'],_0x227e1c,this['_markers'],_0x4f8913);}['_makeModelFromViewString'](_0x579344){const _0x216fb5=JSON['parse'](_0x579344),_0x1ad880=this['editor']['editing']['view']['document'],_0x55fdc9=new _0x68de1b(_0x1ad880,_0x216fb5['map'](_0x49af96=>B(_0x49af96,this['editor'])));return this['editor']['data']['toModel'](_0x55fdc9);}['_saveMetaData'](_0x5067e4,_0x44d061,_0x5e79c7,_0xe336a2){const _0x3be1de=new Map(_0x44d061),_0x426f7a=new Map(_0x5c50ea(_0xe336a2)),_0x2bf243=new Map();for(const [_0x3a1afb,_0x3359fe]of _0x5e79c7)_0x2bf243['set'](_0x3a1afb,{'start':_0x3359fe['start']['clone'](),'end':_0x3359fe['end']['clone'](),'rootName':_0x3359fe['root']['rootName']});this['_savedMetaData']['set'](_0x5067e4,{'roots':_0x3be1de,'markers':_0x2bf243,'rootsAttributes':_0x426f7a});}['_removeMetaData'](_0x4fdba3){this['_savedMetaData']['delete'](_0x4fdba3);}['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'](_0x4948c5,_0x2e2b9b=null){let _0x54b171=null;_0x4948c5['is']('documentFragment')||(_0x54b171=new ft(_0x4948c5['name'],{'vid_start':null===_0x2e2b9b?this['_revisionId']++:_0x2e2b9b++}));const _0x4fa374=[];for(const _0x2d772b of _0x4948c5['getChildren']())if(_0x2d772b['is']('element')){_0x4fa374['push'](this['_makeIdsRoot'](_0x2d772b,_0x2e2b9b));const _0x2373bc=_0x4fa374[_0x4fa374['length']-0x1];null!==_0x2e2b9b&&(_0x2e2b9b=_0x2373bc['is']('element','$text')?_0x2373bc['getAttribute']('vid')+0x1:_0x2373bc['getAttribute']('vid_end')+0x1);}else{for(let _0x574dec=0x0;_0x574dec<_0x2d772b['offsetSize'];_0x574dec++)_0x4fa374['push'](new ft('$text',{'vid':null===_0x2e2b9b?this['_revisionId']++:_0x2e2b9b++}));}if(_0x4948c5['is']('documentFragment')){const _0x5bcfb4=G(_0x4948c5['rootName']);return _0x5bcfb4['_insertChild'](0x0,_0x4fa374),_0x5bcfb4;}return _0x54b171['_setAttribute']('vid_end',null===_0x2e2b9b?this['_revisionId']++:_0x2e2b9b++),_0x54b171['_insertChild'](0x0,_0x4fa374),_0x54b171;}['_calculateMetaData'](_0x1ab8b0,_0x32cc96,_0x47143d){this['_reset']();const {roots:_0x494a11,markers:_0x4bddb1,rootsAttributes:_0x3e4b11}=this['_savedMetaData']['get'](_0x1ab8b0);this['_baseRoots']=new Map(_0x494a11),this['_baseRootsAttributes']=new Map(_0x5c50ea(_0x3e4b11));for(const [_0x46e384,_0x1f9a49]of this['_baseRoots'])if('$graveyard'!==_0x46e384&&(this['_diffRoots']['set'](_0x46e384,q(_0x1f9a49)),this['_diffRootsAttributes']=new Map(_0x5c50ea(_0x3e4b11)),_0x47143d)){const _0x4d28d3=this['_revisionId'];this['_idsRoots']['set'](_0x46e384,this['_makeIdsRoot'](_0x1f9a49)),this['_baseIdsRoots']['set'](_0x46e384,this['_makeIdsRoot'](_0x1f9a49,_0x4d28d3));}this['_startingRevisionId']=this['_revisionId'],this['_diffRoots']['set']('$graveyard',q(this['_baseRoots']['get']('$graveyard'))),_0x47143d&&this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](this['_baseRoots']['get']('$graveyard')));for(const [_0x49acb3,_0xfbd10a]of _0x4bddb1){const _0x37ff2f=this['_baseRoots']['get'](_0xfbd10a['rootName']),_0x120766=this['_diffRoots']['get'](_0xfbd10a['rootName']),_0x2a480d=new vt(this['_fixPosition'](_0xfbd10a['start'],_0x37ff2f),this['_fixPosition'](_0xfbd10a['end'],_0x37ff2f)),_0x49e796=this['_fixRange'](_0x2a480d,_0x120766);_0x37ff2f['markers']['set'](_0x49acb3,_0x2a480d),this['_markers']['set'](_0x49acb3,_0x49e796);}this['_applyOperations'](_0x1ab8b0,_0x32cc96,_0x47143d);}['_applyOperations'](_0x31c845,_0x19db6b,_0x546b1e){for(const _0x20d9a2 of this['source']['getOperations'](_0x31c845,_0x19db6b))this['_handleOperation'](_0x20d9a2,_0x546b1e);for(const _0x3d5c76 of this['_diffRoots']['values']())_0x3d5c76['markers']['clear']();for(const [_0x2be2dc,_0x38ac6b]of this['_markers']){this['_diffRoots']['get'](_0x38ac6b['root']['rootName'])['markers']['set'](_0x2be2dc,_0x38ac6b['clone']());}const _0x4ae6ee=new Map(),_0x34899b=new Map();for(const [_0x57efa9,_0x330c52]of this['_diffRoots'])_0x4ae6ee['set'](_0x57efa9,q(_0x330c52)),_0x34899b['set'](_0x57efa9,this['_diffRootsAttributes']['get'](_0x57efa9));this['_saveMetaData'](_0x19db6b,_0x4ae6ee,this['_markers'],_0x34899b);}['_getPreviousFrom'](_0x16101d){const _0x3b4b21=Array['from'](this['_savedMetaData']['keys']());_0x3b4b21['sort']((_0x2f7b14,_0x334ae0)=>_0x2f7b14-_0x334ae0),_0x3b4b21['reverse']();for(const _0x458dec of _0x3b4b21)if(_0x458dec<_0x16101d)return _0x458dec;return Number['NEGATIVE_INFINITY'];}['_copyMarkers'](_0x273014,_0x55ddb8){const _0x3d1227=Array['from'](_0x55ddb8['markers'])['map'](([_0x2dd5c5,_0x3d9541])=>[_0x2dd5c5,this['_fixRange'](_0x3d9541,_0x273014)]);_0x273014['markers']=new Map(_0x3d1227);}['_transformMarkers'](_0x34e5ff){for(const _0x2f73c0 of this['_markers']['values']()){const _0xbc58f6=_0x2f73c0['getTransformedByOperation'](_0x34e5ff),_0x7ae5ab=vt['_createFromRanges'](_0xbc58f6);_0x2f73c0['start']=_0x7ae5ab['start'],_0x2f73c0['end']=_0x7ae5ab['end'];}}['_handleOperation'](_0x32ae82,_0x3a6d31){if('addRoot'==_0x32ae82['type']||'detachRoot'==_0x32ae82['type'])return void this['_handleRootOperation'](_0x32ae82,_0x3a6d31);if('insert'==_0x32ae82['type']){const _0x2bcc77=_0x32ae82['position']['root']['rootName'];this['_diffRoots']['has'](_0x2bcc77)||(this['_diffRoots']['set'](_0x2bcc77,G(_0x2bcc77,!0x0)),this['_diffRootsAttributes']['set'](_0x2bcc77,{}),_0x3a6d31&&this['_idsRoots']['set'](_0x2bcc77,G(_0x2bcc77,!0x0)));}else{if('addRootAttribute'==_0x32ae82['type']||'removeRootAttribute'==_0x32ae82['type']||'changeRootAttribute'==_0x32ae82['type'])return void this['_handleRootAttributeOperation'](_0x32ae82);}const _0x42f649=this['_cloneOperation'](_0x32ae82,this['_diffRoots']);if('marker'!==_0x32ae82['type']&&(_0x42f649['_execute'](),this['_transformMarkers'](_0x42f649)),_0x3a6d31)switch(_0x42f649['type']){case'insert':this['_handleInsertOperation'](_0x32ae82);break;case'move':case'remove':case'reinsert':this['_handleMoveOperation'](_0x32ae82);break;case'merge':this['_handleMergeOperation'](_0x32ae82);break;case'split':this['_handleSplitOperation'](_0x32ae82);break;case'marker':this['_handleMarkerOperation'](_0x32ae82);}}['_cloneOperation'](_0x255822,_0x37a92a){const _0x493bcb=_0x255822['clone']();return _0x493bcb['_authorId']=_0x255822['_authorId'],this['_fixOperation'](_0x493bcb,_0x37a92a),_0x493bcb;}['_getBaseVids'](_0x3efa08){return _0x3efa08['map'](_0x58488c=>{const _0x181857=this['_getVidAttributeName'](_0x58488c);return Number(_0x58488c['item']['getAttribute'](_0x181857));});}['_generateTape'](_0x28c0ff,_0x46cd82){if(_0x28c0ff['is']('element','$text'))_0x46cd82['push']({'item':_0x28c0ff,'type':'text'});else{_0x28c0ff['is']('element')&&_0x46cd82['push']({'item':_0x28c0ff,'type':'elementStart'});for(const _0x35a435 of _0x28c0ff['getChildren']())this['_generateTape'](_0x35a435,_0x46cd82);_0x28c0ff['is']('element')&&_0x46cd82['push']({'item':_0x28c0ff,'type':'elementEnd'});}return _0x46cd82;}['_getState'](){const _0x2d1685=new Map(this['_touched']),_0x55356a=new Map(_0x2d1685),_0x4329d3=new Map(),_0x3f2ef6={'insertions':{},'deletions':{}},_0x2a1fa9={'insertions':{},'deletions':{}},_0x41ca20=new Map(),_0x1b9d51=new Set([...this['_baseRoots']['keys'](),...this['_diffRoots']['keys']()]);_0x1b9d51['delete']('$graveyard');for(const _0x313180 of _0x1b9d51){const _0x551298=this['_diffRoots']['get'](_0x313180)||G(_0x313180,!0x1),_0x453a48=this['_baseRoots']['get'](_0x313180)||G(_0x313180,!0x1);_0x551298['isAttached']()||_0x453a48['isAttached']()?(_0x3f2ef6['insertions'][_0x313180]=q(_0x551298),_0x3f2ef6['deletions'][_0x313180]=q(_0x453a48),this['_copyMarkers'](_0x3f2ef6['deletions'][_0x313180],_0x453a48),this['_copyMarkers'](_0x3f2ef6['insertions'][_0x313180],_0x551298),_0x2a1fa9['insertions'][_0x313180]=this['_generateTape'](this['_idsRoots']['get'](_0x313180),[]),_0x2a1fa9['deletions'][_0x313180]=this['_generateTape'](this['_baseIdsRoots']['get'](_0x313180)||G(_0x313180,!0x1),[])):_0x1b9d51['delete'](_0x313180);}for(const _0x335d3f of _0x1b9d51){const _0x32381d=_0x2a1fa9['insertions'][_0x335d3f];for(const _0x179a6d of _0x32381d){const _0x269198=this['_getVidAttributeName'](_0x179a6d),_0x4527fb=_0x179a6d['item']['getAttribute'](_0x269198);_0x55356a['delete'](_0x4527fb),_0x4527fb>=this['_startingRevisionId']&&_0x4329d3['set'](_0x4527fb,_0x2d1685['get'](_0x4527fb));}}for(const _0x24a72a of _0x1b9d51){const _0x50b6c0=_0x2a1fa9['insertions'][_0x24a72a],_0x52fe9c=this['_getBaseVids'](_0x2a1fa9['deletions'][_0x24a72a]);let _0x55cc42=0x0;for(const _0x4a9d24 of _0x50b6c0){const _0x50cfa6=this['_getVidAttributeName'](_0x4a9d24),_0x3e7959=_0x4a9d24['item']['getAttribute'](_0x50cfa6);if(!_0x4329d3['has'](_0x3e7959)&&!_0x41ca20['has'](_0x3e7959)){if(_0x55356a['has'](_0x3e7959))_0x55cc42++;else{if(_0x3e7959!=_0x52fe9c[_0x55cc42]){const _0x250c1b=_0x2d1685['get'](_0x3e7959)||_0x2d1685['get'](_0x52fe9c[_0x55cc42]);for(;_0x3e7959!=_0x52fe9c[_0x55cc42];)_0x55356a['has'](_0x52fe9c[_0x55cc42])||(_0x41ca20['set'](_0x52fe9c[_0x55cc42],_0x250c1b),_0x2d1685['set'](_0x52fe9c[_0x55cc42],_0x250c1b)),_0x55cc42++;}_0x55cc42++;}}}}for(const _0x861725 of _0x1b9d51){const _0x35e385=_0x2a1fa9['insertions'][_0x861725];for(const _0x235bc9 of _0x35e385){const _0xe8021d=this['_getVidAttributeName'](_0x235bc9),_0x5e24af=_0x235bc9['item']['getAttribute'](_0xe8021d);if(_0x41ca20['has'](_0x5e24af)){const _0x20f3ae=_0x41ca20['get'](_0x5e24af);_0x55356a['has'](_0x5e24af)||_0x55356a['set'](_0x5e24af,{..._0x20f3ae}),_0x4329d3['set'](_0x5e24af,{..._0x20f3ae});}}}for(const _0x49f06f of _0x55356a['keys']())_0x49f06f>=this['_startingRevisionId']&&_0x55356a['delete'](_0x49f06f);const _0x3e1176=new Map();for(const _0x2dde51 of _0x1b9d51){let _0x44927c=_0x2a1fa9['insertions'][_0x2dde51];for(const _0x29be1f of _0x44927c)if(_0x29be1f['item']['is']('element','tableCell')){const _0x5c0c7a=this['_getVidAttributeName'](_0x29be1f),_0x5cb439=_0x29be1f['item']['getAttribute'](_0x5c0c7a);if(_0x4329d3['has'](_0x5cb439)){const _0x55e0c8=_0x29be1f['item']['parent']['parent']['getAttribute']('vid_start'),_0x162792=_0x3e1176['get'](_0x55e0c8)||new Set();_0x162792['add'](_0x4329d3['get'](_0x5cb439)['userId']),_0x3e1176['set'](_0x55e0c8,_0x162792);}}_0x44927c=_0x2a1fa9['deletions'][_0x2dde51];for(const _0x2761e1 of _0x44927c)if(_0x2761e1['item']['is']('element','tableCell')){const _0x227cbb=this['_getVidAttributeName'](_0x2761e1),_0x23949b=_0x2761e1['item']['getAttribute'](_0x227cbb);if(_0x55356a['has'](_0x23949b)){const _0x1b5ce8=_0x2761e1['item']['parent']['parent']['getAttribute']('vid_start'),_0x43735c=_0x3e1176['get'](_0x1b5ce8)||new Set();_0x43735c['add'](_0x55356a['get'](_0x23949b)['userId']),_0x3e1176['set'](_0x1b5ce8,_0x43735c);}}for(const _0x8cdecf of _0x3e1176['keys']())(_0x4329d3['has'](_0x8cdecf)||_0x55356a['has'](_0x8cdecf))&&_0x3e1176['delete'](_0x8cdecf);}for(const _0x55c4f2 of _0x1b9d51){const _0x108771=_0x2a1fa9['insertions'][_0x55c4f2];let _0x5f5736=null,_0xaa9d10=null;for(const _0x14b976 of _0x108771){const _0x2f421f=this['_getVidAttributeName'](_0x14b976),_0x4c82c9=_0x14b976['item']['getAttribute'](_0x2f421f),_0x41965e=_0x3e1176['get'](_0x4c82c9);_0x41965e&&'elementStart'==_0x14b976['type']&&(_0x5f5736=Array['from'](_0x41965e)[0x0],_0xaa9d10=_0x14b976['item']['getAttribute']('vid_end')),_0x5f5736&&(_0x55356a['set'](_0x4c82c9,{'userId':_0x5f5736}),_0x4329d3['set'](_0x4c82c9,{'userId':_0x5f5736})),_0x4c82c9==_0xaa9d10&&(_0x5f5736=null,_0xaa9d10=null);}}const _0xb0d3b6={},_0x7af7af=new Set();for(const _0x5500b7 of _0x1b9d51){const _0x111268=_0x3f2ef6['deletions'][_0x5500b7],_0x14d4b0=_0x3f2ef6['insertions'][_0x5500b7];for(const {userId:_0x39ee20}of this['_touchedMarkers']['values']())null!==_0x39ee20&&_0x7af7af['add'](_0x39ee20);for(const {userId:_0x246e88}of this['_touchedRoots']['values']())null!==_0x246e88&&_0x7af7af['add'](_0x246e88);this['_markChanges'](_0x14d4b0,_0x2a1fa9['insertions'][_0x5500b7],_0x4329d3,'insertion',_0x7af7af),this['_markChanges'](_0x111268,_0x2a1fa9['deletions'][_0x5500b7],_0x55356a,'deletion',_0x7af7af),_0xb0d3b6[_0x5500b7]={'insertions':this['_prepareViewToSave'](_0x14d4b0),'deletions':this['_prepareViewToSave'](_0x111268),'attachChange':this['_touchedRoots']['get'](_0x5500b7)||null,'attributesBefore':_0x5c50ea(this['_baseRootsAttributes']['get'](_0x5500b7))||{},'attributesAfter':_0x5c50ea(this['_diffRootsAttributes']['get'](_0x5500b7))};}return{'diffData':_0xb0d3b6,'authorsIds':Array['from'](_0x7af7af)};}['_processRootBeforeSave'](_0xa0eb9c){for(const [,_0x234487]of _0xa0eb9c['markers']){const _0x898fa6=_0x234487['start']['getAncestors']()['filter'](_0x44dc34=>'tableCell'==_0x44dc34['name']);for(const _0x2ef597 of _0x898fa6)0x1==_0x2ef597['childCount']&&_0x2ef597['getChild'](0x0)['is']('element','paragraph')&&_0x2ef597['getChild'](0x0)['_setAttribute']('keepParagraph',!0x0);}}['_prepareViewToSave'](_0x394f31){this['_processRootBeforeSave'](_0x394f31);const _0x249ade=this['editor']['data']['toView'](_0x394f31,{}),_0x5843dc=Array['from'](_0x249ade['getChildren']())['map'](_0x558c90=>this['_getViewJson'](_0x558c90));return JSON['stringify'](_0x5843dc);}['_getViewJson'](_0x24d7a1){if(_0x24d7a1['is']('$text'))return _0x24d7a1['data'];{const _0x2e6bb9=_0x24d7a1;return{'type':Object['keys'](T)['find'](_0x107320=>_0x24d7a1 instanceof T[_0x107320]),'name':_0x2e6bb9['name'],'attributes':Array['from'](_0x2e6bb9['getAttributes']()),'children':Array['from'](_0x2e6bb9['getChildren']())['map'](_0x37b8fc=>this['_getViewJson'](_0x37b8fc))};}}['_markChanges'](_0x213f9b,_0x2491a7,_0x8af9d,_0x4d434d,_0x1f127f){let _0x414992=null,_0x362233=null,_0x384bde=0x0;const _0x3e9ca1=this['editor']['model'];for(let _0x112db2=0x0;_0x112db2<_0x2491a7['length'];_0x112db2++){const _0x240afa=this['_getVidAttributeName'](_0x2491a7[_0x112db2]),_0x30ecb9=_0x2491a7[_0x112db2]['item']['getAttribute'](_0x240afa),_0x3a9c72=_0x8af9d['get'](_0x30ecb9),_0x47c6fb=_0x112db2==_0x2491a7['length']-0x1;(!_0x414992&&_0x3a9c72&&(_0x414992=_0x3a9c72,_0x362233=_0x2491a7[_0x112db2]),_0x414992&&(!_0x3a9c72||_0x3a9c72['userId']!=_0x414992['userId']))&&(_0x325a79(_0x3a9c72,L(_0x362233,_0x213f9b,_0x3e9ca1),L(_0x2491a7[_0x112db2],_0x213f9b,_0x3e9ca1)),_0x414992=_0x3a9c72||null,_0x362233=_0x3a9c72?_0x2491a7[_0x112db2]:null),_0x414992&&_0x47c6fb&&_0x325a79(_0x3a9c72,L(_0x362233,_0x213f9b,_0x3e9ca1),W(_0x2491a7[_0x112db2],_0x213f9b,_0x3e9ca1));}function _0x325a79(_0x8ec7bb,_0x164e6e,_0x346d60){const _0xfd9bcd=_0x414992['userId'],_0x413b02='revision:'+_0x4d434d+':'+_0xfd9bcd+':'+_0x384bde++,_0x3c6877=_0x3e9ca1['createRange'](_0x164e6e,_0x346d60);_0x213f9b['markers']['set'](_0x413b02,_0x3c6877),null!==_0xfd9bcd&&_0x1f127f['add'](_0xfd9bcd);}}['_getVidAttributeName'](_0x355cc3){switch(_0x355cc3['type']){case'elementStart':return'vid_start';case'elementEnd':return'vid_end';default:return'vid';}}['_fixOperation'](_0x5d9289,_0x7df4d8){_0x5d9289['baseVersion']=null;for(const _0x1ca6c7 in _0x5d9289){const _0x5cc7bb=_0x5d9289[_0x1ca6c7];if(_0x5cc7bb instanceof gt){const _0x140610=_0x7df4d8['get'](_0x5cc7bb['root']['rootName']);_0x5d9289[_0x1ca6c7]=this['_fixPosition'](_0x5cc7bb,_0x140610);}if(_0x5cc7bb instanceof vt){const _0x245c54=_0x7df4d8['get'](_0x5cc7bb['root']['rootName']);_0x5d9289[_0x1ca6c7]=this['_fixRange'](_0x5cc7bb,_0x245c54);}'root'===_0x1ca6c7&&(_0x5d9289['root']=_0x7df4d8['get'](_0x5d9289['root']['rootName']));}}['_fixRange'](_0x41ad1e,_0x1c4d51){return this['editor']['model']['createRange'](this['_fixPosition'](_0x41ad1e['start'],_0x1c4d51),this['_fixPosition'](_0x41ad1e['end'],_0x1c4d51));}['_fixPosition'](_0x494e11,_0x2dc298){return this['editor']['model']['createPositionFromPath'](_0x2dc298,_0x494e11['path'],_0x494e11['stickiness']);}['_handleInsertOperation'](_0x5cf333){const _0x5e32e6=this['_idsRoots']['get'](_0x5cf333['position']['root']['rootName']),_0x588ac8=this['_fixPosition'](_0x5cf333['position'],_0x5e32e6),_0x2e5fea=null===_0x5cf333['_authorId']?null:_0x5cf333['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x51f951=_0x588ac8['parent'],_0xc40b66=this['_revisionId'],_0x292728=[];for(const _0x360466 of _0x5cf333['nodes'])if(_0x360466['is']('element'))_0x292728['push'](this['_makeIdsRoot'](_0x360466));else{for(let _0x25d90e=0x0;_0x25d90e<_0x360466['offsetSize'];_0x25d90e++)_0x292728['push'](new ft('$text',{'vid':this['_revisionId']++}));}const _0xe1e1fe=this['_revisionId'];for(let _0x4a7db3=_0xc40b66;_0x4a7db3<_0xe1e1fe;_0x4a7db3++)this['_touched']['set'](_0x4a7db3,{'userId':_0x2e5fea});_0x51f951['_insertChild'](_0x588ac8['offset'],_0x292728);}['_handleMoveOperation'](_0x19ff7c){(_0x19ff7c=this['_cloneOperation'](_0x19ff7c,this['_idsRoots']))['_execute']();const _0x4db43d=null===_0x19ff7c['_authorId']?null:_0x19ff7c['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x3942c3=_0x19ff7c['getMovedRangeStart'](),_0x44b13e=_0x3942c3['parent'],_0x3d4e31=_0x3942c3['offset'];!function _0x25960f(_0x3efdb9,_0x2108b3,_0x46809e,_0x2969ce){for(let _0x1b8f20=_0x46809e;_0x1b8f20<_0x2969ce;_0x1b8f20++){const _0x56d12e=_0x2108b3['getChild'](_0x1b8f20);_0x56d12e['is']('element','$text')?_0x3efdb9['set'](_0x56d12e['getAttribute']('vid'),{'userId':_0x4db43d}):(_0x3efdb9['set'](_0x56d12e['getAttribute']('vid_start'),{'userId':_0x4db43d}),_0x25960f(_0x3efdb9,_0x56d12e,0x0,_0x56d12e['childCount']),_0x3efdb9['set'](_0x56d12e['getAttribute']('vid_end'),{'userId':_0x4db43d}));}}(this['_touched'],_0x44b13e,_0x3d4e31,_0x3d4e31+_0x19ff7c['howMany']);}['_handleMergeOperation'](_0xc1114b){const _0x3c4daa=null===(_0xc1114b=this['_cloneOperation'](_0xc1114b,this['_idsRoots']))['_authorId']?null:_0xc1114b['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x21d51a=_0xc1114b['targetPosition']['parent'],_0x4a4803=_0xc1114b['sourcePosition']['parent'],_0x2b434a=_0x21d51a['getAttribute']('vid_end'),_0x90124f=_0x4a4803['getAttribute']('vid_start');_0x21d51a['_setAttribute']('vid_end',_0x4a4803['getAttribute']('vid_end')),_0x4a4803['_setAttribute']('vid_end',_0x2b434a),this['_touched']['set'](_0x90124f,{'userId':_0x3c4daa}),this['_touched']['set'](_0x2b434a,{'userId':_0x3c4daa}),_0xc1114b['_execute']();}['_handleSplitOperation'](_0x1f9179){const _0x306c66=null===(_0x1f9179=this['_cloneOperation'](_0x1f9179,this['_idsRoots']))['_authorId']?null:_0x1f9179['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x4055e5=_0x1f9179['graveyardPosition'],_0x9abece=_0x1f9179['splitPosition']['parent'];_0x1f9179['_execute']();const _0x1c92f7=_0x9abece['getAttribute']('vid_end'),_0x323078=_0x1f9179['insertionPosition']['nodeAfter'];if(_0x4055e5){const _0x260165=_0x323078['getAttribute']('vid_end'),_0x366350=_0x9abece['getAttribute']('vid_end');_0x9abece['_setAttribute']('vid_end',_0x260165),_0x323078['_setAttribute']('vid_end',_0x366350),this['_touched']['set'](_0x9abece['getAttribute']('vid_end'),{'userId':_0x306c66}),this['_touched']['set'](_0x323078['getAttribute']('vid_start'),{'userId':_0x306c66});}else{const _0x57e3e2=this['_revisionId']++,_0x678f3d=this['_revisionId']++;_0x9abece['_setAttribute']('vid_end',_0x57e3e2),_0x323078['_setAttribute']('vid_start',_0x678f3d),_0x323078['_setAttribute']('vid_end',_0x1c92f7),this['_touched']['set'](_0x57e3e2,{'userId':_0x306c66}),this['_touched']['set'](_0x678f3d,{'userId':_0x306c66});}}['_handleMarkerOperation'](_0x414193){if(!_0x414193['affectsData'])return;const _0x5145cf=(_0x414193=this['_cloneOperation'](_0x414193,this['_diffRoots']))['oldRange']?_0x414193['oldRange']['root']:null,_0x45f09a=_0x414193['newRange']?_0x414193['newRange']['root']:null;_0x5145cf&&this['_markers']['delete'](_0x414193['name']),_0x45f09a&&this['_markers']['set'](_0x414193['name'],_0x414193['newRange']['clone']());const _0x4626f7=null===_0x414193['_authorId']?null:_0x414193['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x217b4f=_0x414193['name'];if(!this['_touchedMarkers']['has'](_0x217b4f))return void this['_touchedMarkers']['set'](_0x217b4f,{'range':_0x414193['oldRange'],'userId':_0x4626f7});const _0xad81fd=this['_touchedMarkers']['get'](_0x217b4f),_0x38c4b9=_0xad81fd['range'],_0x2602bd=_0x414193['newRange'];null==_0x38c4b9&&null==_0x2602bd||_0x38c4b9&&_0x2602bd&&_0x38c4b9['isEqual'](_0x2602bd)?this['_touchedMarkers']['delete'](_0x414193['name']):_0xad81fd['userId']=_0x4626f7;}['_handleRootOperation'](_0x16748e,_0x413bcc){this['_diffRoots']['has'](_0x16748e['rootName'])?this['_diffRoots']['get'](_0x16748e['rootName'])['_isAttached']=_0x16748e['isAdd']:(this['_diffRoots']['set'](_0x16748e['rootName'],G(_0x16748e['rootName'],!0x0)),this['_diffRootsAttributes']['set'](_0x16748e['rootName'],{}),_0x413bcc&&this['_idsRoots']['set'](_0x16748e['rootName'],G(_0x16748e['rootName'],!0x0)));const _0x326c33=null===_0x16748e['_authorId']?null:_0x16748e['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x4f47e4=this['_touchedRoots']['get'](_0x16748e['rootName']);_0x4f47e4&&_0x4f47e4['userId']===_0x326c33?this['_touchedRoots']['delete'](_0x16748e['rootName']):this['_touchedRoots']['set'](_0x16748e['rootName'],{'userId':_0x326c33,'isAttached':_0x16748e['isAdd']});}['_handleRootAttributeOperation'](_0x43156d){const _0xdde4ca=this['_diffRootsAttributes']['get'](_0x43156d['root']['rootName']);null===_0x43156d['newValue']?delete _0xdde4ca[_0x43156d['key']]:_0xdde4ca[_0x43156d['key']]=_0x43156d['newValue'];}}function q(_0x226f14){const _0xbf1d9a=G(_0x226f14['rootName'],_0x226f14['isAttached']());for(const _0x425ae6 of _0x226f14['getChildren']()){const _0x5ca6c4=_0x425ae6['_clone'](!0x0);_0xbf1d9a['_appendChild'](_0x5ca6c4);}return _0xbf1d9a;}function G(_0x4b348b,_0x1a60c2=!0x0){const _0x3eab18=new wt();return _0x3eab18['rootName']=_0x4b348b,_0x3eab18['_isAttached']=_0x1a60c2,_0x3eab18['isAttached']=()=>_0x3eab18['_isAttached'],_0x3eab18;}function L(_0xc89627,_0x75bd7a,_0x22b67d){const _0x445435='elementEnd'==_0xc89627['type']?_0x22b67d['createPositionAt'](_0xc89627['item'],'end'):_0x22b67d['createPositionBefore'](_0xc89627['item']);return _0x22b67d['createPositionFromPath'](_0x75bd7a,_0x445435['path'],_0x445435['stickiness']);}function W(_0x2046ca,_0x5a8d6f,_0x6190f5){const _0x18eaef='elementStart'==_0x2046ca['type']?_0x6190f5['createPositionAt'](_0x2046ca['item'],0x0):_0x6190f5['createPositionAfter'](_0x2046ca['item']);return _0x6190f5['createPositionFromPath'](_0x5a8d6f,_0x18eaef['path'],_0x18eaef['stickiness']);}class ns extends _0x5804aa{['focusTracker'];['keystrokes'];['revisionNameInputView'];constructor(_0x18e5dd,_0x504420){super(_0x18e5dd),this['focusTracker']=new _0x4e8013(),this['keystrokes']=new _0x528809(),this['set']('revisionNameInputValue',''),this['revisionNameInputView']=this['_createRevisionNameInput'](_0x504420),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'](),_0x2feea4({'view':this}),this['focusTracker']['add'](this['revisionNameInputView']['element']),this['keystrokes']['listenTo'](this['element']);const _0x52965b=_0x403eb7=>_0x403eb7['stopPropagation']();this['keystrokes']['set']('arrowright',_0x52965b),this['keystrokes']['set']('arrowleft',_0x52965b),this['keystrokes']['set']('arrowup',_0x52965b),this['keystrokes']['set']('arrowdown',_0x52965b);}['focus'](){this['revisionNameInputView']['focus']();}get['revisionName'](){return this['revisionNameInputView']['fieldView']['element']['value']['trim']();}set['revisionName'](_0x2903e0){this['revisionNameInputView']['fieldView']['element']['value']=_0x2903e0['trim']();}['reset'](){this['revisionNameInputView']['fieldView']['element']['value']='',this['revisionNameInputView']['errorText']=null;}['_createRevisionNameInput'](_0x42f1e8){const _0x20c2b2=new at(this['locale'],_0x3b77d0),_0x1b7bf8=_0x20c2b2['fieldView'];_0x1b7bf8['extendTemplate']({'attributes':{'maxlength':'220'}});let _0x2e081f=y(this['locale'],'Name\x20of\x20the\x20revision');return!_0x42f1e8&&(_0x2e081f+='\x20('+y(this['locale'],'optional')+')'),(_0x20c2b2['label']=_0x2e081f,_0x1b7bf8['on']('input',()=>{this['revisionNameInputValue']=_0x1b7bf8['element']['value']['trim']();}),_0x20c2b2);}}class u extends _0x3bc8af{static get['pluginName'](){return'RevisionHistoryUI';}static get['requires'](){return[l];}['_saveRevisionFormView'];['init'](){const _0x5350bf=this['editor'],_0x5499e1=_0x5350bf['plugins']['get']('RevisionTracker');_0x5350bf['ui']['componentFactory']['add']('revisionHistory',_0x476f49=>{const _0x305527=_0x54d2f5(_0x476f49),_0x515fe0=_0x305527['panelView']['children'],_0x1978d7=new te(_0x476f49),_0x20a179=new _0x3895a4(_0x476f49),_0x1e4e65=new _0xa1287(_0x476f49),_0x1a14dd=new _0x3895a4(_0x476f49),_0x7668cc=new _0xa1287(_0x476f49);return _0x305527['bind']('isEnabled')['to'](_0x5499e1,'isReady',_0x5499e1,'isEnabled',_0x5350bf,'isReadOnly',(_0x20ef9a,_0x510b16,_0x437375)=>_0x20ef9a&&_0x510b16&&!_0x437375),_0x305527['buttonView']['set']({'icon':_0x18e07b['history'],'label':y(_0x476f49,'Revision\x20history'),'tooltip':!0x0}),_0x1e4e65['set']({'label':y(_0x476f49,'Save\x20current\x20revision'),'withText':!0x0,'role':'menuitem'}),_0x1e4e65['bind']('isEnabled')['to'](_0x5499e1,'isReady',_0x5499e1,'isEnabled',_0x5350bf,'isReadOnly',(_0x4ff59f,_0x353d72,_0x202053)=>_0x4ff59f&&_0x353d72&&!_0x202053),_0x1e4e65['on']('execute',()=>this['_showDialog']()),_0x7668cc['set']({'label':y(_0x476f49,'Open\x20revision\x20history'),'withText':!0x0,'role':'menuitem'}),_0x7668cc['bind']('isEnabled')['to'](_0x5499e1,'isReady',_0x5350bf,'isReadOnly',(_0x58dc7b,_0x1f277c)=>_0x58dc7b&&!_0x1f277c),_0x7668cc['on']('execute',()=>{_0x5350bf['config']['get']('revisionHistory')['showRevisionViewerCallback'](),_0x305527['isOpen']=!0x1,_0x5350bf['editing']['view']['focus']();}),_0x20a179['children']['add'](_0x1e4e65),_0x1a14dd['children']['add'](_0x7668cc),_0x1978d7['role']='menu',_0x1978d7['items']['addMany']([_0x20a179,_0x1a14dd]),_0x515fe0['add'](_0x1978d7),_0x305527;}),_0x5350bf['ui']['componentFactory']['add']('menuBar:revisionHistory',()=>this['_registerMenuComponent']());}['_registerMenuComponent'](){const _0x4863aa=this['editor'],_0x11fc81=_0x4863aa['locale'],_0x5c5d08=new _0x4dd2ae(_0x11fc81),_0x3547ab=new _0xbf31bd(_0x11fc81);_0x5c5d08['buttonView']['set']({'icon':_0x18e07b['history'],'label':y(_0x11fc81,'Revision\x20history')});const _0x25ce92=new _0x2e9e0a(_0x11fc81,_0x5c5d08),_0x4921f8=new _0x511fd0(_0x11fc81);_0x4921f8['set']({'label':y(_0x11fc81,'Save\x20current\x20revision')}),_0x4921f8['delegate']('execute')['to'](_0x5c5d08),_0x4921f8['on']('execute',()=>{this['_showDialog']();}),_0x25ce92['children']['add'](_0x4921f8),_0x3547ab['items']['add'](_0x25ce92);const _0x537a92=new _0x2e9e0a(_0x11fc81,_0x5c5d08),_0x12d37c=new _0x511fd0(_0x11fc81);return _0x12d37c['set']({'label':y(_0x11fc81,'Open\x20revision\x20history')}),_0x12d37c['delegate']('execute')['to'](_0x5c5d08),_0x12d37c['on']('execute',()=>{_0x4863aa['config']['get']('revisionHistory')['showRevisionViewerCallback']();}),_0x537a92['children']['add'](_0x12d37c),_0x3547ab['items']['add'](_0x537a92),_0x5c5d08['panelView']['children']['add'](_0x3547ab),_0x5c5d08;}['_showDialog'](){const _0x4e111f=this['editor'],_0x595c47=_0x4e111f['locale'],t=_0x595c47['t'],_0x166b86=_0x4e111f['plugins']['get']('Dialog'),_0x317764=_0x4e111f['plugins']['get']('RevisionTracker');function _0x307ef0(_0x5544dd){_0x4e111f['config']['get']('revisionHistory.requireRevisionName')&&''===_0x5544dd['revisionName']?_0x5544dd['revisionNameInputView']['errorText']=y(_0x595c47,'The\x20revision\x20name\x20cannot\x20be\x20empty.'):(_0x4e111f['plugins']['get'](l)['saveRevision']({'name':_0x5544dd['revisionName']}),_0x166b86['hide']());}this['_saveRevisionFormView']||(this['_createSaveRevisionFormView'](),this['_saveRevisionFormView']['on']('submit',()=>_0x307ef0(this['_saveRevisionFormView']))),this['_saveRevisionFormView']['reset'](),_0x166b86['show']({'id':'revisionSave','title':y(_0x595c47,'Save\x20current\x20revision'),'isModal':!0x0,'content':this['_saveRevisionFormView'],'actionButtons':[{'label':t('Cancel'),'withText':!0x0,'onExecute':()=>_0x166b86['hide']()},{'label':t('Accept'),'class':'ck-button-action','withText':!0x0,'onCreate'(_0x3e20ac){_0x3e20ac['bind']('isEnabled')['to'](_0x317764,'isReady',_0x317764,'isEnabled',_0x4e111f,'isReadOnly',(_0x4a1c25,_0x36a9fc,_0x33aa18)=>_0x4a1c25&&_0x36a9fc&&!_0x33aa18);},'onExecute':()=>_0x307ef0(this['_saveRevisionFormView'])}]});}['_createSaveRevisionFormView'](){const _0x52b24e=this['editor'],_0x2bf9a7=_0x52b24e['locale'];this['_saveRevisionFormView']=new ns(_0x2bf9a7,_0x52b24e['config']['get']('revisionHistory.requireRevisionName')),this['_saveRevisionFormView']['render']();}}class Z extends _0x5804aa{['changeId'];['_model'];constructor(_0xcee0fa,_0x54a308){super(_0xcee0fa),this['_model']=_0x54a308,this['changeId']=_0x54a308['id'];const _0x4a14a5=this['bindTemplate'],_0x2dcbc7=y(_0xcee0fa,_0x54a308['data']['isSuggestion']?'Suggested\x20by':'add'==_0x54a308['type']?'Added\x20by':'Removed\x20by');this['set']('type',_0x54a308['type']),this['setTemplate']({'tag':'div','attributes':{'class':['ck-annotation','ck-revision-change',_0x4a14a5['to']('type',_0x49e2fc=>'ck-revision-change__'+_0x49e2fc)],'tabindex':-0x1},'children':[{'tag':'span','children':[{'tag':'span','attributes':{'class':['ck-revision-change__label']},'children':[{'text':_0x2dcbc7}]},{'text':'\x20'+_0x54a308['author']['name']}]}]});}['focus'](){this['element']['focus']();}}class r extends/* #__PURE__ -- @preserve */
|
|
25
|
-
_0x342d1c(){['id'];['author'];['type'];['data'];['rootName'];constructor(_0x1737d0){super(),this['id']=_0x1737d0['id']||_0x42c424(),this['author']=_0x1737d0['author'],this['type']=_0x1737d0['type'],this['data']=_0x1737d0['data']||{},this['rootName']=_0x1737d0['rootName'],this['set']('createdAt',_0x1737d0['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(_0x5ddaac,_0x1d60ef){this['newRevisionId']=_0x5ddaac,this['oldRevisionId']=_0x1d60ef,this['changes']=new _0x141ac7();}['_setChanges'](_0x502c66){for(const _0x489c6b of _0x502c66)this['changes']['add'](_0x489c6b);}}const tt={'c':_0x22cfa1,'a':_0x2fcb99,'e':_0x340848,'r':_0x3024d4,'u':_0x409b2b};class d extends _0x3bc8af{['repository'];['adapter'];['_activeViewTarget'];['_changeView'];['_changeIdToChange'];['_balloon'];static get['pluginName'](){return'RevisionViewer';}static get['requires'](){return[_0x45f376,_0x25b583,A];}constructor(_0x50e683){super(_0x50e683),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',(_0x2cfbc7,_0x589468,_0x5b55ee)=>{this['activeChange']=null,this['activeView']=null,this['editor']['editing']['view']['change'](_0x1596b5=>{for(const _0x1d3f09 of this['editor']['editing']['view']['document']['roots'])_0x5b55ee?_0x1596b5['removeClass']('ck-editor__editable__overlay',_0x1d3f09):_0x1596b5['addClass']('ck-editor__editable__overlay',_0x1d3f09);});}),this['bind']('isNavigationMode')['to'](this,'activeChange',_0x1cd092=>null!==_0x1cd092),this['bind']('currentChangeNumber')['to'](this,'isReady',this,'diff',this,'activeChange',(_0x4f5bc4,_0x7a2eb3,_0x39e9b5)=>_0x4f5bc4&&_0x39e9b5?_0x7a2eb3['changes']['getIndex'](_0x39e9b5):0x0),this['bind']('numberOfChanges')['to'](this,'isReady',this,'diff',(_0x17bb92,_0x4c590b)=>_0x17bb92?_0x4c590b['changes']['length']:0x0),this['_changeView']=null,this['_changeIdToChange']=new Map(),this['adapter']=null,this['_balloon']=this['editor']['plugins']['get'](_0x25b583);}['init'](){const _0x582dc7=this['editor'],_0x26cce5=new yt(_0x582dc7,{'direction':'backward'}),_0x19dfb3=new yt(_0x582dc7,{'direction':'forward'});(_0x582dc7['commands']['add']('showPreviousChange',_0x26cce5),_0x582dc7['commands']['add']('showNextChange',_0x19dfb3),_0x582dc7['commands']['add']('restoreRevision',new bt(_0x582dc7)),this['on']('change:numberOfChanges',()=>{_0x26cce5['refresh'](),_0x19dfb3['refresh']();}),this['_setConversion'](),this['_initInteractions'](),_0x582dc7['enableReadOnlyMode']('revision-viewer'),_0x582dc7['plugins']['has']('WidgetToolbarRepository'))&&_0x582dc7['plugins']['get']('WidgetToolbarRepository')['forceDisabled']('revision-viewer');}async['getRevisionData'](_0x25bff4){await this['loadRevisionData'](_0x25bff4);const _0x1010cb={};for(const _0x15c699 in _0x25bff4['diffData']){if(_0x25bff4['diffData'][_0x15c699]['attachChange']&&!_0x25bff4['diffData'][_0x15c699]['attachChange']['isAttached'])continue;const _0x520c47=this['_removeRevisionMarkers'](JSON['parse'](_0x25bff4['diffData'][_0x15c699]['insertions'])),_0xffe660=this['editor']['editing']['view']['document'],_0x346722=new _0x68de1b(_0xffe660,_0x520c47['map'](_0x354b9e=>this['_getViewObj'](_0x354b9e)));this['editor']['data']['processor']['useFillerType']('marked'),_0x1010cb[_0x15c699]=this['editor']['data']['processor']['toData'](_0x346722),this['editor']['data']['processor']['useFillerType']('default');}return _0x1010cb;}async['getRevisionRootsAttributes'](_0x3786ad){await this['loadRevisionData'](_0x3786ad);const _0x593fa3={};for(const _0x3977be in _0x3786ad['diffData'])_0x3786ad['diffData'][_0x3977be]['attachChange']&&!_0x3786ad['diffData'][_0x3977be]['attachChange']['isAttached']||(_0x593fa3[_0x3977be]=_0x3786ad['diffData'][_0x3977be]['attributesAfter']||{});return _0x593fa3;}['_removeRevisionMarkers'](_0x3c8f00){return(_0x3c8f00=_0x3c8f00['filter'](_0x5108f0=>!_0x5108f0['name']||'revision-start'!==_0x5108f0['name']&&'revision-end'!==_0x5108f0['name']))['forEach'](_0x2c3390=>{'string'!=typeof _0x2c3390&&(_0x2c3390['children']=this['_removeRevisionMarkers'](_0x2c3390['children']),_0x2c3390['attributes']=_0x2c3390['attributes']['filter'](_0x3d3298=>!_0x3d3298[0x0]['startsWith']('data-revision-')));}),_0x3c8f00;}async['compare'](_0x2d4e18,_0x3e6bd4,_0x344a88=!0x1){if(!this['isEnabled'])return;const _0x6597d5=this['diff'],_0x2ca5ec=this['repository'],_0x49a724='string'==typeof _0x2d4e18?_0x2ca5ec['getRevision'](_0x2d4e18):_0x2d4e18,_0x276fa8='string'==typeof _0x3e6bd4?_0x2ca5ec['getRevision'](_0x3e6bd4):_0x3e6bd4,_0x460e4b=_0x49a724['id'],_0x159ce7=_0x276fa8?_0x276fa8['id']:null;if(!_0x344a88&&this['diff']&&this['diff']['newRevisionId']===_0x460e4b&&this['diff']['oldRevisionId']===_0x159ce7)return Promise['resolve']();this['isReady']=!0x1,this['activeView']=null,this['activeChange']=null,this['diff']=new f(_0x460e4b,_0x159ce7);const _0xa74da0=this['_getRevisionsRange'](_0x49a724,_0x276fa8,!0x0)['map'](_0x3f3b01=>this['loadRevisionData'](_0x3f3b01));return _0xa74da0['push'](new Promise(_0x4943df=>{setTimeout(_0x4943df,0x14);})),Promise['all'](_0xa74da0)['then'](()=>{if(!this['isEnabled'])return;this['_cleanUp']();const _0x575251=this['_getDiff'](_0x460e4b,_0x159ce7);for(const _0x2d93c2 of _0x575251['changes'])this['_changeIdToChange']['set'](_0x2d93c2['id'],_0x2d93c2);this['editor']['model']['enqueueChange']({'isUndoable':!0x1},_0x238ee4=>{for(const _0x3d74e2 of this['editor']['model']['document']['getRootNames']())_0x238ee4['detachRoot'](_0x3d74e2);for(const _0x1bcb0c of Object['keys'](_0x575251['model'])){const _0x261942=_0x238ee4['addRoot'](_0x1bcb0c);for(const _0x4575c7 of Object['keys'](_0x575251['attributes'][_0x1bcb0c]))_0x238ee4['setAttribute'](_0x4575c7,_0x575251['attributes'][_0x1bcb0c][_0x4575c7],_0x261942);_0x238ee4['insert'](_0x575251['model'][_0x1bcb0c],_0x261942,0x0);}}),this['diff']['_setChanges'](this['_sortAndFilterDiffChanges'](_0x575251['changes'])),this['isReady']=!0x0;})['catch'](_0x346cd1=>{console['error'](_0x346cd1),this['_cleanUp'](),_0x6597d5&&(this['diff']=_0x6597d5),this['isReady']=!0x0;});}['addRevisionData'](_0x208080,_0x1c9cf9){const _0x12d9e6=this['repository']['createRevision'](_0x208080);return _0x12d9e6['on']('_update',(_0x2c7436,_0x5afdc3,_0x403b3f)=>_0x1c9cf9(_0x5afdc3,_0x403b3f,_0x12d9e6)),this['repository']['addRevision'](_0x12d9e6),_0x12d9e6;}['loadRevisionData'](_0x194805){if(!_0x194805||_0x194805['diffData'])return Promise['resolve']();{const _0x31f4bf=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0x31f4bf,'revisionId':_0x194805['id']})['then'](_0x55c7fe=>{_0x194805['_update']({'diffData':_0x55c7fe['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},_0xd24e38=>{for(const _0x34110e of this['editor']['model']['document']['getRootNames']())_0xd24e38['detachRoot'](_0x34110e);});}['_sortAndFilterDiffChanges'](_0x22597f){const _0x49e8b9=[],_0x3bd383=new Map();for(const _0x3103b5 of this['editor']['model']['document']['getRootNames']()){const _0x1f7229=this['editor']['editing']['view']['getDomRoot'](_0x3103b5);if(!_0x1f7229)continue;const _0x43b181=_0x1f7229['getClientRects']()['item'](0x0);_0x43b181&&(_0x49e8b9['push'](_0x3103b5),_0x3bd383['set'](_0x3103b5,_0x43b181));}return _0x49e8b9['sort']((_0x4ea677,_0x4d0eb8)=>{const _0x4cc977=_0x3bd383['get'](_0x4ea677),_0x2b4df8=_0x3bd383['get'](_0x4d0eb8);return _0x4cc977['y']-_0x2b4df8['y']||_0x4cc977['x']-_0x2b4df8['x'];}),(_0x22597f=_0x22597f['filter'](_0x263c5a=>_0x49e8b9['includes'](_0x263c5a['rootName'])))['sort']((_0x584668,_0x171cd7)=>_0x49e8b9['indexOf'](_0x584668['rootName'])-_0x49e8b9['indexOf'](_0x171cd7['rootName'])),_0x22597f;}['_makeTape'](_0x410a28){const _0x27d093=Array['from'](_0x410a28['markers'])['filter'](([_0x16d415,_0x11891c])=>_0x16d415['startsWith']('revision:')&&!_0x11891c['isCollapsed']),_0xb97e47=Array['from'](this['editor']['model']['createRangeIn'](_0x410a28)['getWalker']({'singleCharacters':!0x0}));if(0x0!=_0x27d093['length'])for(const _0x445173 of _0xb97e47){const [_0x4f0676,_0x46aa2f]=_0x27d093[0x0],[,_0x1f886a,_0x4c85e5]=_0x4f0676['split'](':');if(_0x46aa2f['end']['isEqual'](_0x445173['nextPosition'])&&_0x27d093['shift'](),(_0x445173['previousPosition']['isEqual'](_0x46aa2f['start'])||_0x445173['previousPosition']['isAfter'](_0x46aa2f['start']))&&('insertion'==_0x1f886a?_0x445173['isAdded']={'userId':_0x4c85e5}:'deletion'==_0x1f886a&&(_0x445173['isRemoved']={'userId':_0x4c85e5})),0x0==_0x27d093['length'])break;}return _0xb97e47;}['_refreshStartEndIndex'](_0x2fc761){const _0x3c0151=new Map();for(let _0x5d6c6c=0x0;_0x5d6c6c<_0x2fc761['length'];_0x5d6c6c++)'text'===_0x2fc761[_0x5d6c6c]['type']?(_0x2fc761[_0x5d6c6c]['item']['startIndex']=_0x5d6c6c,_0x2fc761[_0x5d6c6c]['item']['endIndex']=_0x5d6c6c):('elementStart'===_0x2fc761[_0x5d6c6c]['type']?_0x2fc761[_0x5d6c6c]['item']['startIndex']=_0x5d6c6c:'elementEnd'===_0x2fc761[_0x5d6c6c]['type']&&(_0x2fc761[_0x5d6c6c]['item']['endIndex']=_0x5d6c6c),_0x3c0151['set'](_0x2fc761[_0x5d6c6c]['id'],_0x5d6c6c));for(const _0x3838c4 of _0x3c0151['values']())'elementStart'===_0x2fc761[_0x3838c4]['type']?_0x2fc761[_0x3838c4]['item']['endIndex']=_0x3c0151['get'](_0x2fc761[_0x3838c4]['pairId']):'elementEnd'===_0x2fc761[_0x3838c4]['type']&&(_0x2fc761[_0x3838c4]['item']['startIndex']=_0x3c0151['get'](_0x2fc761[_0x3838c4]['pairId']));}['_processTape'](_0x515d36){for(let _0x54e425=0x0;_0x54e425<_0x515d36['length'];_0x54e425++){if('elementStart'===_0x515d36[_0x54e425]['type'])_0x515d36[_0x54e425]['item']['startIndex']=_0x54e425;else{if('elementEnd'===_0x515d36[_0x54e425]['type']){_0x515d36[_0x54e425]['item']['endIndex']=_0x54e425;const _0x30d090=_0x515d36[_0x54e425]['item']['startIndex'];_0x515d36[_0x30d090]['pairId']=_0x515d36[_0x54e425]['id'],_0x515d36[_0x54e425]['pairId']=_0x515d36[_0x30d090]['id'];}else _0x515d36[_0x54e425]['item']['startIndex']=_0x54e425,_0x515d36[_0x54e425]['item']['endIndex']=_0x54e425,_0x515d36[_0x54e425]['pairId']=null;}_0x515d36[_0x54e425]['markersStart']||(_0x515d36[_0x54e425]['markersStart']=[],_0x515d36[_0x54e425]['markersEnd']=[]);}}['_markInsertions'](_0x3cacc8,_0x523ec0){const _0x1d8b27=_0x3cacc8['filter'](_0xdfc235=>!_0xdfc235['isAdded']);for(let _0x2cb7c0=0x0;_0x2cb7c0<_0x523ec0['length'];_0x2cb7c0++)_0x523ec0[_0x2cb7c0]['isAdded']&&(_0x1d8b27[_0x2cb7c0]['isAdded']=_0x523ec0[_0x2cb7c0]['isAdded']);}['_makeModelFromViewString'](_0x5abce7){const _0x1cf4fc=JSON['parse'](_0x5abce7),_0x36be9a=this['editor']['editing']['view']['document'],_0x138345=new _0x68de1b(_0x36be9a,_0x1cf4fc['map'](_0x3191a9=>this['_getViewObj'](_0x3191a9)));return this['editor']['data']['toModel'](_0x138345);}['_getViewObj'](_0x24ecb7){const _0x2142b6=this['editor']['editing']['view']['document'];if('string'==typeof _0x24ecb7)return new _0x75ba4f(_0x2142b6,_0x24ecb7);{const _0x594b77=_0x24ecb7['children']['map'](_0x49b271=>this['_getViewObj'](_0x49b271));return new(tt[_0x24ecb7['type']]||_0x37b0cc)(_0x2142b6,_0x24ecb7['name'],_0x24ecb7['attributes'],_0x594b77);}}['_getDiff'](_0x35a80b,_0x4aeff7=null){const _0x525bd3=this['repository']['getRevision'](_0x35a80b),_0x110459=_0x4aeff7?this['repository']['getRevision'](_0x4aeff7):null,_0x35b3b4=this['_getRevisionsRange'](_0x525bd3,_0x110459),_0x34e215=_0x35b3b4[_0x35b3b4['length']-0x1],_0x29eee4=new Map(),_0x3e8f71={'model':{},'attributes':{},'changes':[]},_0x493c66=new Set(),_0x2aac0a=new Map();for(let _0xe71ae7=_0x35b3b4['length']-0x1;_0xe71ae7>=0x0;_0xe71ae7--){const _0x3be28c=_0x35b3b4[_0xe71ae7];for(const _0x3d7a84 of Object['keys'](_0x3be28c['diffData']))if(_0x3be28c['diffData'][_0x3d7a84]['attachChange']){const _0x3eb124=_0x3be28c['diffData'][_0x3d7a84]['attachChange'];_0x3eb124['isAttached']?(_0x493c66['add'](_0x3d7a84),_0x2aac0a['has'](_0x3d7a84)&&_0x2aac0a['get'](_0x3d7a84)['userId']==_0x3eb124['userId']?_0x2aac0a['delete'](_0x3d7a84):_0x2aac0a['set'](_0x3d7a84,_0x3eb124)):_0x2aac0a['has'](_0x3d7a84)?(_0x493c66['delete'](_0x3d7a84),_0x2aac0a['delete'](_0x3d7a84)):(_0x493c66['add'](_0x3d7a84),_0x2aac0a['set'](_0x3d7a84,_0x3eb124));}else _0x493c66['add'](_0x3d7a84);}for(const _0x1a20e2 of _0x493c66){const _0x2f7702=_0x2aac0a['has'](_0x1a20e2)&&!_0x2aac0a['get'](_0x1a20e2)['isAttached'];let _0xbf5930=_0x2f7702?_0x35b3b4['length']-0x1:0x0;const _0x257494=_0x2f7702?-0x1:0x1;for(;_0x35b3b4[_0xbf5930];){const _0x376138=_0x35b3b4[_0xbf5930];if(_0x376138['diffData'][_0x1a20e2]){const _0x3be44d=_0x2f7702?_0x376138['diffData'][_0x1a20e2]['attributesBefore']:_0x376138['diffData'][_0x1a20e2]['attributesAfter'];_0x3e8f71['attributes'][_0x1a20e2]=_0x3be44d?_0x5c50ea(_0x3be44d):{};break;}_0xbf5930+=_0x257494;}}for(const _0x24ad01 of _0x35b3b4){_0x24ad01['model']={};for(const _0x2a53a7 of _0x24ad01['authors'])_0x29eee4['set'](_0x2a53a7['id'],_0x2a53a7);for(const _0xe68f84 of _0x493c66){const _0x5080a0=_0x24ad01['diffData'][_0xe68f84]?_0x24ad01['diffData'][_0xe68f84]['insertions']:'[]',_0x59a6cc=_0x24ad01['diffData'][_0xe68f84]?_0x24ad01['diffData'][_0xe68f84]['deletions']:'[]';_0x24ad01['model'][_0xe68f84]={'insertions':this['_makeModelFromViewString'](_0x5080a0),'deletions':this['_makeModelFromViewString'](_0x59a6cc)};}}for(const _0x25d1e7 of _0x493c66){let _0x5558f6=null,_0x6bbca8=0x0;const _0x5f46a4=new Map(Array['from'](_0x525bd3['model'][_0x25d1e7]['insertions']['markers'])['filter'](([_0x311923])=>!_0x311923['startsWith']('revision:')));let _0x35520a=0x0;for(const _0x14f627 of _0x35b3b4){const _0x13e914=this['_makeTape'](_0x14f627['model'][_0x25d1e7]['insertions']);_0x14f627==_0x525bd3?(_0x5558f6=_0x13e914,_0x6bbca8=_0x5558f6['length'],_0x5558f6['forEach'](_0x196d15=>{_0x196d15['id']=_0x35520a++;}),this['_processTape'](_0x5558f6)):this['_markInsertions'](_0x5558f6,_0x13e914);const _0x5cdf53=_0x5558f6['filter'](_0x212115=>!_0x212115['isAdded'])['map'](_0x139d31=>_0x139d31['id']);let _0x4e4f17=0x0;const _0x5ed2bc=this['_makeTape'](_0x14f627['model'][_0x25d1e7]['deletions']);_0x5ed2bc['forEach'](_0x27cbeb=>{_0x27cbeb['isRemoved']?_0x27cbeb['id']=_0x6bbca8++:_0x27cbeb['id']=_0x5cdf53[_0x4e4f17++];}),this['_processTape'](_0x5ed2bc),this['_setDistance'](_0x5558f6,'isAdded'),this['_setDistance'](_0x5ed2bc,'isRemoved'),_0x14f627==_0x525bd3&&this['_markMarkers'](_0x5558f6,_0x5f46a4),_0x5558f6=this['_joinTapes'](_0x5558f6,_0x5ed2bc),this['_refreshStartEndIndex'](_0x5558f6),this['_setDistance'](_0x5558f6,'isRemoved');}_0x5558f6=_0x5558f6['filter'](_0x43a1f6=>!(_0x43a1f6['isAdded']&&_0x43a1f6['isRemoved']));const _0x22387a=new Map(_0x34e215['model'][_0x25d1e7]['deletions']['markers']),_0x3c3e1f=new Set(_0x5f46a4['keys']());for(const _0x22104a of _0x22387a['keys']())_0x3c3e1f['delete'](_0x22104a);this['_markSuggestions'](_0x5558f6,_0x3c3e1f),this['_fixObsoleteTags'](_0x5558f6),_0x5558f6=this['_removeMissingPairs'](_0x5558f6),_0x5558f6=this['_markMismatchedRemovedTags'](_0x5558f6),_0x5558f6=this['_removeUnsupportedChanges'](_0x5558f6);const {root:_0x12890f,changes:_0x4c1397}=this['_makeModelFromTape'](_0x5558f6,_0x29eee4,_0x25d1e7);_0x3e8f71['model'][_0x25d1e7]=_0x12890f;const _0x5b4b50=_0x2aac0a['get'](_0x25d1e7);if(_0x5b4b50){const _0x68ff65=_0x29eee4['get'](_0x5b4b50['userId']),_0x4e5a80=new r({'author':_0x68ff65,'type':_0x5b4b50['isAttached']?'add':'remove','data':{'isOnRoot':!0x0},'createdAt':new Date(),'rootName':_0x25d1e7});_0x4c1397['unshift'](_0x4e5a80),_0x3e8f71['attributes'][_0x25d1e7]['revisionHistoryAttachChange']=_0x4e5a80['id'];}_0x3e8f71['changes']=_0x3e8f71['changes']['concat'](_0x4c1397);}return _0x3e8f71;}['_markMarkers'](_0x49a351,_0x24ba0f){for(let _0x266edc=0x0;_0x266edc<_0x49a351['length'];_0x266edc++)for(const [_0x137a48,_0x381ef0]of _0x24ba0f)_0x381ef0['start']['isEqual'](_0x49a351[_0x266edc]['previousPosition'])&&_0x49a351[_0x266edc]['markersStart']['push'](_0x137a48),_0x381ef0['end']['isEqual'](_0x49a351[_0x266edc]['nextPosition'])&&_0x49a351[_0x266edc]['markersEnd']['push'](_0x137a48);}['_joinTapes'](_0x5e885d,_0x228159){let _0x86e96e=[],_0x20eb6c=0x0,_0x3ff78d=0x0;for(;_0x20eb6c<_0x5e885d['length']||_0x3ff78d<_0x228159['length'];){const _0x221d3e=_0x5e885d[_0x20eb6c]||{},_0x21e9f4=_0x228159[_0x3ff78d]||{};if(_0x221d3e['id']==_0x21e9f4['id'])_0x20eb6c++,_0x3ff78d++,_0x86e96e['push'](_0x221d3e);else{if(_0x21e9f4['isRemoved']&&_0x221d3e['isAdded']){const {commonTape:_0xf11c07,iEnd:_0x21307b,jEnd:_0x57223f}=this['_threeWayMerge'](_0x5e885d,_0x20eb6c,_0x228159,_0x3ff78d);_0x86e96e=_0x86e96e['concat'](_0xf11c07),_0x20eb6c=_0x21307b,_0x3ff78d=_0x57223f;}else _0x21e9f4['isRemoved']?(_0x3ff78d++,_0x86e96e['push'](_0x21e9f4)):(_0x20eb6c++,_0x86e96e['push'](_0x221d3e));}}return _0x86e96e;}['_markSuggestions'](_0x32ce4a,_0x2200c2){const _0x4a37dc=[];for(let _0x18a503=0x0;_0x18a503<_0x32ce4a['length'];_0x18a503++){for(let _0x3c734e=0x0;_0x3c734e<_0x32ce4a[_0x18a503]['markersStart']['length'];_0x3c734e++){const _0x3a84ca=_0x32ce4a[_0x18a503]['markersStart'][_0x3c734e];if(!_0x2200c2['has'](_0x3a84ca))continue;const {group:_0x46c72c,type:_0x28b8d0,authorId:_0x2c1d82}=_0x3a67df(_0x3a84ca);'revision-suggestion'!=_0x46c72c||'insertion'!=_0x28b8d0&&'deletion'!=_0x28b8d0||(_0x4a37dc['unshift']({'type':_0x28b8d0,'name':_0x3a84ca,'userId':_0x2c1d82}),_0x32ce4a[_0x18a503]['markersStart']['splice'](_0x3c734e,0x1),_0x3c734e--);}_0x1b78c3(_0x32ce4a[_0x18a503]);for(let _0x2b2f6d=0x0;_0x2b2f6d<_0x32ce4a[_0x18a503]['markersEnd']['length'];_0x2b2f6d++){const _0x35e647=_0x32ce4a[_0x18a503]['markersEnd'][_0x2b2f6d];if(!_0x2200c2['has'](_0x35e647))continue;const {group:_0x32294d,type:_0x55d532}=_0x3a67df(_0x35e647);if('revision-suggestion'!=_0x32294d||'insertion'!=_0x55d532&&'deletion'!=_0x55d532)continue;_0x32ce4a[_0x18a503]['markersEnd']['splice'](_0x2b2f6d,0x1),_0x2b2f6d--;const _0x2fe0c6=_0x4a37dc['findIndex'](_0x892e45=>_0x892e45['name']==_0x35e647);_0x2fe0c6>-0x1&&_0x4a37dc['splice'](_0x2fe0c6,0x1);}}function _0x3a67df(_0x5d65bd){const _0x45493b=_0x5d65bd['split'](':');return{'group':_0x45493b[0x0],'type':_0x45493b[0x1],'subType':_0x45493b['length']>=0x5?_0x45493b[0x2]:null,'id':_0x45493b['length']<0x5?_0x45493b[0x2]:_0x45493b[0x3],'authorId':_0x45493b['length']<0x5?_0x45493b[0x3]:_0x45493b[0x4],'markerCount':0x6==_0x45493b['length']?_0x45493b[0x5]:null};}function _0x1b78c3(_0xef4575){for(let _0x268230=0x0;_0x268230<_0x4a37dc['length'];_0x268230++){if(_0xef4575['isAdded']&&'insertion'==_0x4a37dc[_0x268230]['type'])return _0xef4575['isAddSuggestion']=_0x4a37dc[_0x268230],void delete _0xef4575['isAdded'];if(!_0xef4575['isAdded']&&!_0xef4575['isRemoved']&&'deletion'==_0x4a37dc[_0x268230]['type'])return void(_0xef4575['isRemoveSuggestion']=_0x4a37dc[_0x268230]);}}}['_setDistance'](_0x4c87a8,_0x471910){let _0x2bac68=0x0,_0x2eae40=!0x1;const _0x3d8b89=new Map();for(const _0x1400c4 of _0x4c87a8)_0x1400c4[_0x471910]?_0x2eae40&&(_0x2bac68++,_0x2eae40=!0x1):(_0x2bac68++,_0x2eae40=!0x0),_0x3d8b89['set'](_0x1400c4['id'],_0x2bac68);for(let _0x1e9a61=0x0;_0x1e9a61<_0x4c87a8['length'];_0x1e9a61++){if('isRemoved'==_0x471910&&_0x4c87a8[_0x1e9a61]['isAdded']||'isAdded'==_0x471910&&_0x4c87a8[_0x1e9a61]['isRemoved'])continue;if('text'==_0x4c87a8[_0x1e9a61]['type']){_0x4c87a8[_0x1e9a61]['distance']=0x0;continue;}const _0x44ce98=_0x3d8b89['get'](_0x4c87a8[_0x1e9a61]['pairId']),_0x469d32=_0x3d8b89['get'](_0x4c87a8[_0x1e9a61]['id']);_0x4c87a8[_0x1e9a61]['distance']=_0x44ce98-_0x469d32;}}['_getRevisionsRange'](_0x1f7c47,_0x43452b,_0x1217b0=!0x1){const _0x2f1498=[];let _0x408277=this['repository']['getIndex'](_0x1f7c47),_0x587ecc=this['repository']['getIndex'](_0x43452b);for(-0x1==_0x587ecc&&(_0x587ecc=this['repository']['_revisions']['length'],_0x1217b0=!0x1);_0x408277<_0x587ecc;)_0x2f1498['push'](this['repository']['getRevision'](_0x408277)),_0x408277++;return _0x1217b0&&_0x2f1498['push'](this['repository']['getRevision'](_0x408277)),_0x2f1498;}['_threeWayMerge'](_0x5c6526,_0x33b36e,_0x28d7c3,_0x58bbcc){const _0x7276bc=this['editor']['model']['schema'];let _0xac1dd4=_0x33b36e;for(;_0x5c6526[_0xac1dd4]&&_0x5c6526[_0xac1dd4]['isAdded'];)_0xac1dd4++;let _0x4fe5a2=_0x58bbcc;for(;_0x28d7c3[_0x4fe5a2]&&_0x28d7c3[_0x4fe5a2]['isRemoved'];)_0x4fe5a2++;_0x391341(_0x5c6526,_0x33b36e,_0xac1dd4),_0x391341(_0x28d7c3,_0x58bbcc,_0x4fe5a2);const _0x4b32ec=_0x28d7c3['slice'](_0x58bbcc,_0x4fe5a2)['concat'](_0x5c6526['slice'](_0x33b36e,_0xac1dd4));return _0x4b32ec['sort']((_0x25cead,_0x19e667)=>_0x25cead['side']!=_0x19e667['side']?_0x25cead['side']-_0x19e667['side']:_0x25cead['level']!=_0x19e667['level']?_0x25cead['level']-_0x19e667['level']:_0x25cead['distance']!=_0x19e667['distance']?_0x19e667['distance']-_0x25cead['distance']:!!_0x25cead['isAdded']!=!!_0x19e667['isAdded']?-0x1==_0x25cead['side']||0x0==_0x25cead['side']?_0x25cead['isAdded']?-0x1:0x1:_0x25cead['isAdded']?0x1:-0x1:_0x25cead['index']-_0x19e667['index']),{'commonTape':_0x4b32ec,'iEnd':_0xac1dd4,'jEnd':_0x4fe5a2};function _0x391341(_0x353df3,_0x5f2ce7,_0x2e3a97){let _0x10095f=-0x1,_0xd22c6=Number['POSITIVE_INFINITY'],_0x52106c=!0x0;for(let _0x22e544=_0x5f2ce7;_0x22e544<_0x2e3a97;_0x22e544++)if(_0x7276bc['isInline'](_0x353df3[_0x22e544]['item'])||(_0x52106c=!0x1),_0x353df3[_0x22e544]['item']['startIndex']<_0x5f2ce7&&(_0x10095f=_0x22e544),_0x353df3[_0x22e544]['item']['endIndex']>=_0x2e3a97){_0xd22c6=_0x22e544;break;}_0x52106c&&(_0x10095f=_0x2e3a97-0x1);for(let _0x4b65f6=_0x5f2ce7;_0x4b65f6<_0x2e3a97;_0x4b65f6++)_0x353df3[_0x4b65f6]['side']=_0x4b65f6<=_0x10095f?-0x1:_0x4b65f6<_0xd22c6?0x0:0x1,_0x353df3[_0x4b65f6]['index']=_0x4b65f6;let _0x467521=0x0;for(let _0x89d04c=_0x5f2ce7;_0x89d04c<=_0x10095f;_0x89d04c++)0x0==_0x353df3[_0x89d04c]['distance']?_0x353df3[_0x89d04c]['level']=_0x467521:(_0x467521++,_0x353df3[_0x89d04c]['level']=_0x467521,_0x467521++);for(let _0x4164f6=_0x5f2ce7;_0x4164f6<_0x2e3a97;_0x4164f6++)0x0==_0x353df3[_0x4164f6]['side']&&(_0x353df3[_0x4164f6]['level']=_0x467521);_0x467521=0x0;for(let _0x1557f5=_0x2e3a97-0x1;_0x1557f5>=_0xd22c6;_0x1557f5--)0x0==_0x353df3[_0x1557f5]['distance']?_0x353df3[_0x1557f5]['level']=_0x467521:(_0x467521--,_0x353df3[_0x1557f5]['level']=_0x467521,_0x467521--);}}['_fixObsoleteTags'](_0x1b2ae0){const _0x24dffa=new Map(),_0x152bc3=this['editor']['model']['schema'];for(let _0xfe673c=0x1;_0xfe673c<_0x1b2ae0['length'];_0xfe673c++){let _0x208918,_0xde5c81,_0x4a6c8f;const _0x1d4ff0=_0x1b2ae0[_0xfe673c],_0x387f22=_0x1b2ae0[_0xfe673c-0x1];if('text'==_0x1d4ff0['type'])continue;if(_0x1d4ff0['type']!=_0x387f22['type'])continue;if(!_0x152bc3['isBlock'](_0x387f22['item'])||_0x152bc3['isLimit'](_0x387f22['item']))continue;if(!_0x152bc3['isBlock'](_0x1d4ff0['item'])||_0x152bc3['isLimit'](_0x1d4ff0['item']))continue;if((_0x1b2ae0[_0xfe673c]['isAdded']||_0x1b2ae0[_0xfe673c]['isAddSuggestion'])&&_0x1b2ae0[_0xfe673c-0x1]['isRemoved'])_0x208918=_0x1b2ae0[_0xfe673c],_0xde5c81=_0x1b2ae0[_0xfe673c-0x1],_0x4a6c8f=_0xfe673c-0x1;else{if(!_0x1b2ae0[_0xfe673c]['isRemoved']||!_0x1b2ae0[_0xfe673c-0x1]['isAdded']&&!_0x1b2ae0[_0xfe673c-0x1]['isAddSuggestion'])continue;_0x208918=_0x1b2ae0[_0xfe673c-0x1],_0xde5c81=_0x1b2ae0[_0xfe673c],_0x4a6c8f=_0xfe673c;}const _0x2e825e=_0x208918['level']==_0xde5c81['level'],_0x3001ed=Math['abs'](_0x208918['level'])<Math['abs'](_0xde5c81['level'])&&0x0==_0xde5c81['distance'];(_0x2e825e||_0x3001ed)&&(_0x24dffa['set'](_0xde5c81['id'],_0x208918['id']),_0x1b2ae0['splice'](_0x4a6c8f,0x1),_0xfe673c--,_0x208918['isAdded']=!0x1);}for(let _0x75b08a=0x0;_0x75b08a<_0x1b2ae0['length'];_0x75b08a++)_0x24dffa['has'](_0x1b2ae0[_0x75b08a]['pairId'])&&(_0x1b2ae0[_0x75b08a]['pairId']=_0x24dffa['get'](_0x1b2ae0[_0x75b08a]['pairId']));}['_removeMissingPairs'](_0xd33ce7){const _0x5f4708=new Set(_0xd33ce7['map'](_0x1d55a7=>_0x1d55a7['id']));for(let _0xc8a58d=0x0;_0xc8a58d<_0xd33ce7['length'];_0xc8a58d++)_0x5f4708['has'](_0xd33ce7[_0xc8a58d]['pairId'])||0x0==_0xd33ce7[_0xc8a58d]['distance']||(_0xd33ce7[_0xc8a58d]['isIncorrect']=!0x0);return _0xd33ce7['filter'](_0x27a484=>!_0x27a484['isIncorrect']);}['_markMismatchedRemovedTags'](_0x412c25){const _0x4a6759=new Set();for(let _0x82d6c7=0x0;_0x82d6c7<_0x412c25['length'];_0x82d6c7++){if(_0x4a6759['has'](_0x412c25[_0x82d6c7]['id'])&&_0x412c25[_0x82d6c7]['isRemoved']&&(_0x412c25[_0x82d6c7]['isIncorrect']=!0x0),_0x412c25[_0x82d6c7]['isIncorrect'])continue;if(0x0==_0x412c25[_0x82d6c7]['distance'])continue;if('elementStart'!=_0x412c25[_0x82d6c7]['type'])continue;if(null==_0x412c25[_0x82d6c7]['pairId'])continue;let _0x24a9a8=_0x82d6c7+0x1,_0x1ccddd=0x0;for(;_0x412c25[_0x24a9a8]['id']!=_0x412c25[_0x82d6c7]['pairId'];)'elementStart'==_0x412c25[_0x24a9a8]['type']?_0x1ccddd++:'elementEnd'==_0x412c25[_0x24a9a8]['type']&&_0x1ccddd--,_0x24a9a8++;if(0x0!=_0x1ccddd){if(_0x412c25[_0x82d6c7]['isRemoved'])_0x412c25[_0x82d6c7]['isIncorrect']=!0x0;else{for(;_0x24a9a8!=_0x82d6c7;)_0x412c25[_0x24a9a8]['isRemoved']&&0x0!=_0x412c25[_0x24a9a8]['distance']&&(_0x412c25[_0x24a9a8]['isIncorrect']=!0x0,_0x4a6759['add'](_0x412c25[_0x24a9a8]['pairId'])),_0x24a9a8--;}}}return _0x412c25['filter'](_0x1067aa=>!_0x1067aa['isIncorrect']);}['_removeUnsupportedChanges'](_0x47c863){const _0x18ecd4=this['editor']['model']['schema'];for(let _0xc590c1=0x0;_0xc590c1<_0x47c863['length'];_0xc590c1++){if(!(_0x47c863[_0xc590c1]['isAdded']||_0x47c863[_0xc590c1]['isAddSuggestion']||_0x47c863[_0xc590c1]['isRemoved']||_0x47c863[_0xc590c1]['isRemoveSuggestion']))continue;if(0x0==_0x47c863[_0xc590c1]['distance'])continue;const _0x773e0d=_0x47c863[_0xc590c1]['item'];_0x18ecd4['isBlock'](_0x773e0d)||_0x18ecd4['isLimit'](_0x773e0d)||(_0x47c863[_0xc590c1]['isAdded']&&delete _0x47c863[_0xc590c1]['isAdded'],_0x47c863[_0xc590c1]['isAddSuggestion']&&delete _0x47c863[_0xc590c1]['isAddSuggestion'],_0x47c863[_0xc590c1]['isRemoveSuggestion']&&delete _0x47c863[_0xc590c1]['isRemoveSuggestion'],_0x47c863[_0xc590c1]['isRemoved']&&(_0x47c863[_0xc590c1]['isIncorrect']=!0x0));}return _0x47c863['filter'](_0x4092ee=>!_0x4092ee['isIncorrect']);}['_makeModelFromTape'](_0x1fd93f,_0xc436ca,_0x1b5656){const _0x5ed9c6=new wt(),_0x70512c=[],_0x44799f=new Map(),_0x459fa3=this['editor']['model'],_0x33f346=_0x459fa3['schema'],_0x3f54ad=[_0x5ed9c6],_0x3eaef7={},_0x3f6390={'isAdded':[],'isRemoved':[],'isAddSuggestion':[],'isRemoveSuggestion':[]};let _0x2d157f=null;const _0x45af3f=[0x0];for(let _0x44359f=0x0;_0x44359f<_0x1fd93f['length'];_0x44359f++){let _0x523f9e,_0x2fa0d4;if('elementStart'===_0x1fd93f[_0x44359f]['type']){_0x523f9e=_0x459fa3['createPositionFromPath'](_0x5ed9c6,_0x45af3f);const _0x3b0558=new ft(_0x1fd93f[_0x44359f]['item']['name'],_0x1fd93f[_0x44359f]['item']['getAttributes']());_0x3f54ad[0x0]['_appendChild'](_0x3b0558),_0x45af3f['push'](0x0),_0x3f54ad['unshift'](_0x3b0558),_0x2fa0d4=_0x459fa3['createPositionFromPath'](_0x5ed9c6,_0x45af3f),_0x2d157f=null;}else{if('elementEnd'===_0x1fd93f[_0x44359f]['type'])_0x3f54ad['shift'](),_0x523f9e=_0x459fa3['createPositionFromPath'](_0x5ed9c6,_0x45af3f),_0x45af3f['pop'](),_0x45af3f[_0x45af3f['length']-0x1]++,_0x2fa0d4=_0x459fa3['createPositionFromPath'](_0x5ed9c6,_0x45af3f),_0x2d157f=null;else{if(_0x523f9e=_0x459fa3['createPositionFromPath'](_0x5ed9c6,_0x45af3f),_0x2d157f&&_0x26b83e(_0x2d157f,_0x1fd93f[_0x44359f]['item']))_0x2d157f['_data']+=_0x1fd93f[_0x44359f]['item']['data'];else{const _0xb17d4b=new _t(_0x1fd93f[_0x44359f]['item']['data'],_0x1fd93f[_0x44359f]['item']['getAttributes']());_0x3f54ad[0x0]['_appendChild'](_0xb17d4b),_0x2d157f=_0xb17d4b;}_0x45af3f[_0x45af3f['length']-0x1]+=_0x1fd93f[_0x44359f]['item']['offsetSize'],_0x2fa0d4=_0x459fa3['createPositionFromPath'](_0x5ed9c6,_0x45af3f);}}for(const _0x5bbc78 of _0x1fd93f[_0x44359f]['markersStart'])_0x44799f['set'](_0x5bbc78,{'start':_0x523f9e,'end':null});_0x46ada3('isRemoveSuggestion',_0x44359f,_0x523f9e,_0x2fa0d4),_0x46ada3('isAddSuggestion',_0x44359f,_0x523f9e,_0x2fa0d4),_0x46ada3('isRemoved',_0x44359f,_0x523f9e,_0x2fa0d4),_0x46ada3('isAdded',_0x44359f,_0x523f9e,_0x2fa0d4);for(const _0x1ddf3f of _0x1fd93f[_0x44359f]['markersEnd']){_0x44799f['get'](_0x1ddf3f)['end']=_0x2fa0d4;}}for(const [_0x1ef551,_0x4c2bdc]of _0x44799f){const _0x481306=this['editor']['model']['createRange'](_0x4c2bdc['start'],_0x4c2bdc['end']);_0x5ed9c6['markers']['set'](_0x1ef551,_0x481306);}return _0x70512c['sort']((_0x586a87,_0x4824a9)=>{const _0x484a52=_0x5ed9c6['markers']['get']('revision:'+_0x586a87['id']),_0x329f13=_0x5ed9c6['markers']['get']('revision:'+_0x4824a9['id']);return _0x484a52['start']['isBefore'](_0x329f13['start'])?-0x1:_0x484a52['start']['isAfter'](_0x329f13['start'])?0x1:_0x484a52['end']['isBefore'](_0x329f13['end'])?-0x1:_0x484a52['end']['isAfter'](_0x329f13['end'])?0x1:'add'===_0x586a87['type']?-0x1:0x1;}),{'root':_0x5ed9c6,'changes':_0x70512c};function _0x46ada3(_0x3e6a8c,_0x569bf6,_0x39d6ce,_0x4c2780){const _0x2d8460=!!_0x1fd93f[_0x569bf6][_0x3e6a8c],_0x22e5c5=_0x2d8460?_0x1fd93f[_0x569bf6][_0x3e6a8c]['userId']:null,_0x4dc9fe=_0x569bf6===_0x1fd93f['length']-0x1,_0x4e4a5b=_0x3f6390[_0x3e6a8c][0x0],_0x92d8cd=_0x33f346['isObject'](_0x1fd93f[_0x569bf6]['item']);!_0x3eaef7[_0x3e6a8c]&&_0x2d8460?_0x3eaef7[_0x3e6a8c]={'start':_0x39d6ce,'tapeItem':_0x1fd93f[_0x569bf6],'userId':_0x22e5c5,'type':_0x3e6a8c}:_0x3eaef7[_0x3e6a8c]&&!_0x2d8460?(_0x3eaef7[_0x3e6a8c]['end']=_0x39d6ce,_0x3b6983(_0x3eaef7[_0x3e6a8c]),_0x3eaef7[_0x3e6a8c]=null):_0x3eaef7[_0x3e6a8c]&&_0x2d8460&&_0x3eaef7[_0x3e6a8c]['userId']!==_0x22e5c5&&(_0x3eaef7[_0x3e6a8c]['end']=_0x39d6ce,_0x4e4a5b&&_0x4e4a5b['userId']===_0x3eaef7[_0x3e6a8c]['userId']||_0x3b6983(_0x3eaef7[_0x3e6a8c]),_0x3eaef7[_0x3e6a8c]={'start':_0x39d6ce,'tapeItem':_0x1fd93f[_0x569bf6],'userId':_0x22e5c5,'type':_0x3e6a8c}),_0x3eaef7[_0x3e6a8c]&&_0x92d8cd&&('elementStart'!==_0x1fd93f[_0x569bf6]['type']||_0x4e4a5b&&_0x4e4a5b['userId']===_0x22e5c5||_0x3f6390[_0x3e6a8c]['unshift']({'userId':_0x22e5c5,'object':_0x1fd93f[_0x569bf6]['item'],'change':_0x3eaef7[_0x3e6a8c]}),'elementEnd'===_0x1fd93f[_0x569bf6]['type']&&_0x4e4a5b&&_0x4e4a5b['object']===_0x1fd93f[_0x569bf6]['item']&&(_0x3f6390[_0x3e6a8c]['shift'](),_0x3eaef7[_0x3e6a8c]=_0x4e4a5b['change'])),_0x3eaef7[_0x3e6a8c]&&_0x4dc9fe&&(_0x3eaef7[_0x3e6a8c]['end']=_0x4c2780,_0x3b6983(_0x3eaef7[_0x3e6a8c]),_0x3eaef7[_0x3e6a8c]=null);}function _0x3b6983({start:_0x2e0457,end:_0x3e1c31,tapeItem:_0x4ea255,userId:_0x350b61,type:_0x25ebc2}){const _0x36253e=_0x4ea255['item'],_0x2b784f=_0x459fa3['schema']['isBlock'](_0x36253e)&&!_0x459fa3['schema']['isLimit'](_0x36253e),_0x59b1be=_0x2e0457['nodeAfter']==_0x3e1c31['parent']&&_0x3e1c31['isAtStart'];if(_0x2b784f&&_0x59b1be)return;const _0xd31aa3=_0x459fa3['createRange'](_0x2e0457,_0x3e1c31),_0x5c0129=_0xc436ca['get'](_0x350b61),_0x442d94=new r({'author':_0x5c0129,'type':'isAdded'==_0x25ebc2||'isAddSuggestion'==_0x25ebc2?'add':'remove','data':{'isSuggestion':'isAddSuggestion'==_0x25ebc2||'isRemoveSuggestion'==_0x25ebc2},'createdAt':new Date(),'rootName':_0x1b5656});_0x70512c['push'](_0x442d94),_0x5ed9c6['markers']['set']('revision:'+_0x442d94['id'],_0xd31aa3);}function _0x26b83e(_0x23ca90,_0x1ad5d7){const _0x127ba9=_0x23ca90['getAttributes'](),_0x685666=_0x1ad5d7['getAttributes']();for(const _0x66e75 of _0x127ba9){if(_0x66e75[0x1]!==_0x1ad5d7['getAttribute'](_0x66e75[0x0]))return!0x1;_0x685666['next']();}return _0x685666['next']()['done'];}}['_setConversion'](){this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'revision'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision','view':_0x38fc57=>{const _0x591bf8=_0x38fc57['markerName']['split'](':')[0x1],_0x4336a0=this['_getChangeFromId'](_0x591bf8);if(!_0x4336a0)return null;const _0x406e1f='add'==_0x4336a0['type']?'insertion':'deletion',_0x366dd3=['ck-suggestion-marker','ck-suggestion-marker-'+_0x406e1f];return _0x4336a0['data']['isSuggestion']&&_0x366dd3['push']('ck-suggestion-marker-'+_0x406e1f+'-new'),this['activeChange']==_0x4336a0&&_0x366dd3['push']('ck-suggestion-marker--active'),{'classes':_0x366dd3,'attributes':{'data-change-id':_0x591bf8}};}}),this['editor']['conversion']['for']('upcast')['add'](_0x153c0b=>{_0x153c0b['on']('element:pre',(_0x48df35,_0x4ee9fc,_0x2cab72)=>{const _0x545664=_0x4ee9fc['viewItem']['getChild'](0x0);if(!_0x545664||!_0x545664['is']('element','code'))return;if(!_0x2cab72['consumable']['consume'](_0x545664,{'attributes':['vid_start','vid_end']}))return;const _0x46cc05=_0x4ee9fc['modelRange']['start']['nodeAfter'];_0x2cab72['writer']['setAttribute']('vid_start',_0x545664['getAttribute']('vid_start'),_0x46cc05),_0x2cab72['writer']['setAttribute']('vid_end',_0x545664['getAttribute']('vid_end'),_0x46cc05);},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['add'](_0x86e602=>{_0x86e602['on']('element',(_0x4280d4,_0x592316,_0x2b7a2b)=>{if(!_0x2b7a2b['consumable']['consume'](_0x592316['viewItem'],{'attributes':['vid_start','vid_end']}))return;if(_0x592316['modelRange']['isCollapsed'])return;const _0xfe8e07=_0x592316['modelRange']['start']['nodeAfter'];_0xfe8e07['hasAttribute']('vid_start')||_0xfe8e07['hasAttribute']('vid')||(_0x2b7a2b['writer']['setAttribute']('vid_start',_0x592316['viewItem']['getAttribute']('vid_start'),_0xfe8e07),_0x2b7a2b['writer']['setAttribute']('vid_end',_0x592316['viewItem']['getAttribute']('vid_end'),_0xfe8e07));},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['elementToAttribute']({'view':{'name':'span','attributes':{'vid':!0x0}},'model':{'key':'vid','value':_0x27097c=>_0x27097c['getAttribute']('vid')}}),this['editor']['model']['schema']['on']('checkAttribute',(_0x1d90e4,[,_0x574ddc])=>{['vid_start','vid_end','vid']['includes'](_0x574ddc)&&(_0x1d90e4['return']=!0x0,_0x1d90e4['stop']());},{'priority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['add'](_0x231a5a=>{_0x231a5a['on']('attribute:vid',(_0x5adac1,_0x16c257,_0x5704b1)=>{if('\x20'!=_0x16c257['item']['data']||_0x16c257['item']['parent']['maxOffset']>0x1)return;if(!_0x5704b1['consumable']['consume'](_0x16c257['item'],_0x5adac1['name']))return;const _0x3b16df=_0x5704b1['writer'],_0x436ae5=_0x5704b1['mapper']['toViewRange'](_0x16c257['range']);_0x3b16df['wrap'](_0x436ae5,_0x3b16df['createAttributeElement']('span'));});}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',function(_0x332159){const _0x46316a=_0x332159['plugins']['get']('RevisionViewer');return(_0x5f0256,_0x42c75d,_0x5e9081)=>{const _0x2ed007=_0x42c75d['markerName']['split'](':')[0x1],_0x30f38f=_0x46316a['_getChangeFromId'](_0x2ed007);if(!_0x30f38f)return null;const _0x390eca='add'==_0x30f38f['type']?'split':'merge';if(!_0x5e9081['consumable']['test'](_0x42c75d['markerRange'],_0x5f0256['name']))return;const _0x256a3f=_0x42c75d['markerRange']['getWalker'](),_0x37b92b=_0x42c75d['markerRange']['start'],_0x59ef29=_0x332159['model']['schema'];let _0x208d45=null,_0x5dbf01=null,_0x3761ba=!0x1,_0x365423=!0x1;for(const _0x4fe489 of _0x256a3f){const _0x11d131=_0x4fe489['item'];_0x3761ba=_0x3761ba||_0x59ef29['isContent'](_0x11d131);const _0x5461ba=_0x5e9081['mapper']['toViewElement'](_0x11d131);if(_0x5461ba&&_0x5461ba['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x4fe489['type']&&(_0x59ef29['isBlock'](_0x11d131)&&!_0x59ef29['isLimit'](_0x11d131)&&(_0x11d131['nextSibling']||_0x37b92b['isAtEnd']?_0x208d45&&_0x208d45['parent']==_0x11d131||(_0x208d45=_0x11d131,_0x4ecd0a(_0x4fe489['previousPosition']),_0x365423=!0x0):_0x5dbf01=_0x5dbf01||_0x4fe489['previousPosition']));}function _0x4ecd0a(_0x1672ae){const _0x1ad200=_0x5e9081['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x390eca}),_0x4bac5a=_0x5e9081['mapper']['toViewPosition'](_0x1672ae);_0x30f38f['data']['isSuggestion']&&_0x5e9081['writer']['addClass']('ck-suggestion-marker-'+_0x390eca+'-new',_0x1ad200),_0x46316a['activeChange']==_0x30f38f&&_0x5e9081['writer']['addClass']('ck-suggestion-marker--active',_0x1ad200),_0x5e9081['writer']['insert'](_0x4bac5a,_0x1ad200),_0x5e9081['mapper']['bindElementToMarker'](_0x1ad200,_0x42c75d['markerName']);}_0x3761ba||_0x365423||!_0x5dbf01||_0x4ecd0a(_0x5dbf01);};}(this['editor']),{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('removeMarker:revision',(_0x107a09,_0x4c6d7c,_0x16f519)=>{const _0x4173de=_0x16f519['mapper']['markerNameToElements'](_0x4c6d7c['markerName']);if(_0x4173de){for(const _0x4e9b78 of _0x4173de)(_0x4e9b78['hasClass']('ck-suggestion-marker-split')||_0x4e9b78['hasClass']('ck-suggestion-marker-merge'))&&(_0x16f519['mapper']['unbindElementFromMarkerName'](_0x4e9b78,_0x4c6d7c['markerName']),_0x16f519['writer']['remove'](_0x4e9b78));}},{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',(_0x5cdcf6,_0x515d83,_0x5a5626)=>{const _0x57e79c=_0x515d83['markerName']['split'](':')[0x1],_0x542ed3=this['_getChangeFromId'](_0x57e79c);if(!_0x542ed3)return null;const _0x3fa6cd='add'==_0x542ed3['type']?'split':'merge';if(_0x5a5626['consumable']['test'](_0x515d83['markerRange'],_0x5cdcf6['name']))for(const _0x2c90ee of _0x515d83['markerRange']['getItems']()){if(!_0x2c90ee['is']('element','softBreak'))continue;const _0x57eb6f=_0x5a5626['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x3fa6cd}),_0x4d0fcd=_0x5a5626['mapper']['toViewPosition'](this['editor']['model']['createPositionBefore'](_0x2c90ee));_0x542ed3['data']['isSuggestion']&&_0x5a5626['writer']['addClass']('ck-suggestion-marker-'+_0x3fa6cd+'-new',_0x57eb6f),this['activeChange']==_0x542ed3&&_0x5a5626['writer']['addClass']('ck-suggestion-marker--active',_0x57eb6f),_0x5a5626['writer']['insert'](_0x4d0fcd,_0x57eb6f),_0x5a5626['mapper']['bindElementToMarker'](_0x57eb6f,_0x515d83['markerName']);}},{'priority':'high'}),this['editor']['model']['document']['on']('change',()=>{this['editor']['editing']['view']['change'](_0x2fe0a3=>{for(const _0x17248d of this['editor']['model']['document']['getRootNames']()){const _0x20c698=this['editor']['model']['document']['getRoot'](_0x17248d),_0xd00fa9=this['editor']['editing']['view']['document']['getRoot'](_0x17248d);if(_0xd00fa9){const _0x50a14e=_0x20c698['getAttribute']('revisionHistoryAttachChange');if(_0x2fe0a3['removeAttribute']('data-change-id',_0xd00fa9),_0x2fe0a3['removeClass']('ck-revision-history-root-add',_0xd00fa9),_0x2fe0a3['removeClass']('ck-revision-history-root-remove',_0xd00fa9),_0x2fe0a3['removeClass']('ck-revision-history-root--active',_0xd00fa9),_0x50a14e){const _0x2b6c7a=this['_getChangeFromId'](_0x50a14e);if(!_0x2b6c7a)return null;_0x2fe0a3['setAttribute']('data-change-id',_0x50a14e,_0xd00fa9),_0x2fe0a3['addClass']('ck-revision-history-root-'+_0x2b6c7a['type'],_0xd00fa9),this['activeChange']==_0x2b6c7a&&_0x2fe0a3['addClass']('ck-revision-history-root--active',_0xd00fa9);}}}});}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'comment','model':_0x4ba780=>'revision-comment:'+_0x4ba780,'converterPriority':'highest'}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'suggestion','model':_0x51b64c=>'revision-suggestion:'+_0x51b64c,'converterPriority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision-suggestion','view':_0x2840a0=>({'name':'suggestion:'+_0x2840a0,'group':'revision-suggestion'}),'converterPriority':'highest'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision-suggestion','view':_0x4bcfd3=>{const _0x171258=_0x4bcfd3['markerName']['split'](':')[0x1];return'insertion'!=_0x171258&&'deletion'!=_0x171258?null:{'classes':['ck-suggestion-preview-marker','ck-suggestion-preview-marker-'+_0x171258]};}}),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',(_0x765d7b,_0x45d3fc,_0x1c43ff)=>{const _0x22db1e=_0x1c43ff['mapper']['markerNameToElements'](_0x45d3fc['markerName']);if(_0x22db1e){for(const _0x20a217 of _0x22db1e)_0x20a217['is']('uiElement')&&(_0x1c43ff['mapper']['unbindElementFromMarkerName'](_0x20a217,_0x45d3fc['markerName']),_0x1c43ff['writer']['remove'](_0x20a217));}},{'priority':'high'});}['_getChangeFromId'](_0x326ccc){return this['_changeIdToChange']['get'](_0x326ccc);}['_getViewForChange'](_0x13934a){return this['_changeView']&&this['_changeView']['destroy'](),this['_changeView']=new Z(this['editor']['locale'],_0x13934a),this['_changeView'];}['_initInteractions'](){this['editor']['model']['document']['selection']['observeMarkers']('revision'),this['on']('change:activeView',(_0xc88ccd,_0x3e7471,_0xe42480,_0x47d2ce)=>{_0x47d2ce&&this['_balloon']['remove'](_0x47d2ce),_0xe42480&&(this['_balloon']['add']({'view':_0xe42480,'stackId':'revisionHistoryLabel','position':{'target':()=>{const _0x1e606a=this['editor']['editing'],_0x3b1ff1=this['_getChangeFromId'](_0xe42480['changeId']);let _0xe0a1cc;if(_0x3b1ff1['data']['isOnRoot']){const _0x11962d=_0x1e606a['view']['getDomRoot'](_0x3b1ff1['rootName']);_0xe0a1cc=Array['from'](_0x11962d['getClientRects']());}else{const _0x114db6=this['editor']['model']['markers']['get']('revision:'+_0xe42480['changeId']);_0xe0a1cc=Array['from'](_0x1e606a['mapper']['markerNameToElements'](_0x114db6['name']))['map'](_0x2ecc6d=>_0x1e606a['view']['domConverter']['mapViewToDom'](_0x2ecc6d))['map'](_0x53136f=>Array['from'](_0x53136f['getClientRects']()))['flat']();}if(!this['_activeViewTarget'])return _0xe0a1cc[0x0];return _0xe0a1cc['find'](_0x8aa575=>_0x8aa575['top']-0x3<=this['_activeViewTarget']['y']&&_0x8aa575['bottom']+0x3>=this['_activeViewTarget']['y']&&_0x8aa575['left']-0x3<=this['_activeViewTarget']['x']&&_0x8aa575['right']+0x3>=this['_activeViewTarget']['x'])||_0xe0a1cc[0x0];}}}),this['_balloon']['showStack']('revisionHistoryLabel'));}),this['on']('change:activeChange',(_0x4018a9,_0x27bdb9,_0x109ca3,_0x4ba8f4)=>{this['activeView']=_0x109ca3?this['_getViewForChange'](_0x109ca3):null,this['editor']['model']['change'](()=>{const _0x53a9b3=this['editor']['editing'];_0x4ba8f4&&(_0x4ba8f4['data']['isOnRoot']?_0x53a9b3['view']['change'](_0x5ab14e=>{_0x5ab14e['removeClass']('ck-revision-history-root--active',_0x53a9b3['view']['document']['getRoot'](_0x4ba8f4['rootName']));}):_0x53a9b3['reconvertMarker']('revision:'+_0x4ba8f4['id'])),_0x109ca3&&(_0x109ca3['data']['isOnRoot']?_0x53a9b3['view']['change'](_0x512c42=>{_0x512c42['addClass']('ck-revision-history-root--active',_0x53a9b3['view']['document']['getRoot'](_0x109ca3['rootName']));}):_0x53a9b3['reconvertMarker']('revision:'+_0x109ca3['id']));});}),this['listenTo'](this['editor']['editing']['view']['document'],'mouseover',(_0x1a09cb,_0x154e11)=>{if(this['activeChange'])return;const _0x5e89b6=this['_findChangeIdFromDomTarget'](_0x154e11['target']),_0x51f355=this['_changeIdToChange']['get'](_0x5e89b6);_0x51f355?(this['_activeViewTarget']={'x':_0x154e11['domEvent']['x'],'y':_0x154e11['domEvent']['y']},this['activeView']=this['_getViewForChange'](_0x51f355)):(this['_activeViewTarget']=null,this['activeView']=null);}),this['listenTo'](this['editor']['editing']['view']['document'],'mousedown',(_0x6f6964,_0x9f2c09)=>{const _0x48ca37=this['_findChangeIdFromDomTarget'](_0x9f2c09['target']),_0x41bce4=this['_changeIdToChange']['get'](_0x48ca37);_0x41bce4?(this['_activeViewTarget']={'x':_0x9f2c09['domEvent']['x'],'y':_0x9f2c09['domEvent']['y']},_0x41bce4===this['activeChange']?this['_balloon']['updatePosition']():this['activeChange']=_0x41bce4):(this['_activeViewTarget']=null,this['activeChange']=null);});}['_findChangeIdFromDomTarget'](_0x1c67dc){do{const _0x5c5ee3=_0x1c67dc['getAttribute']('data-change-id');if(_0x5c5ee3)return _0x5c5ee3;_0x1c67dc=_0x1c67dc['parent'];}while(_0x1c67dc);return null;}['_cleanMarkers'](){this['editor']['model']['change'](_0x15f544=>{for(const _0x6b130b of this['editor']['model']['markers'])_0x15f544['removeMarker'](_0x6b130b);});}}function et(_0x94a573,_0xf3544e){return(_0x218a86,_0x2009f1,_0x4e921a)=>{if(!_0x4e921a['consumable']['test'](_0x2009f1['markerRange'],_0x218a86['name']))return;const _0x5bcdd4=_0x2009f1['markerRange']['getWalker'](),_0x3a0a46=_0x2009f1['markerRange']['start'],_0x24068f=_0x94a573['model']['schema'];let _0x33570a=null,_0x3103f4=null,_0x588baf=!0x1,_0x581244=!0x1;for(const _0x10fb14 of _0x5bcdd4){const _0xd81b0c=_0x10fb14['item'];_0x588baf=_0x588baf||_0x24068f['isContent'](_0xd81b0c);const _0x3b8ef8=_0x4e921a['mapper']['toViewElement'](_0xd81b0c);if(_0x3b8ef8&&_0x3b8ef8['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x10fb14['type']&&(_0x24068f['isBlock'](_0xd81b0c)&&!_0x24068f['isLimit'](_0xd81b0c)&&(_0xd81b0c['nextSibling']||_0x3a0a46['isAtEnd']?_0x33570a&&_0x33570a['parent']==_0xd81b0c||(_0x33570a=_0xd81b0c,_0x254985(_0x10fb14['previousPosition']),_0x581244=!0x0):_0x3103f4=_0x3103f4||_0x10fb14['previousPosition']));}function _0x254985(_0x204a82){const _0x3ab6b4=_0x4e921a['mapper']['toViewPosition'](_0x204a82),_0x59fce9=_0x4e921a['writer']['createUIElement']('span',{'class':'ck-suggestion-preview-marker-'+_0xf3544e});_0x4e921a['writer']['insert'](_0x3ab6b4,_0x59fce9),_0x4e921a['mapper']['bindElementToMarker'](_0x59fce9,_0x2009f1['markerName']);}_0x588baf||_0x581244||!_0x3103f4||_0x254985(_0x3103f4);};}class bt extends _0x52df47{constructor(_0x621571){super(_0x621571);const _0x5d9698=_0x621571['plugins']['get'](d);this['affectsData']=!0x1,this['listenTo'](_0x5d9698,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x5d9698,'change:isEnabled',()=>this['refresh']());}['execute'](){const _0x30c08d=this['editor'],_0x40bb95=_0x30c08d['plugins']['get'](d),_0x51cee4=_0x40bb95['isReady']?_0x40bb95['diff']['newRevisionId']:null;_0x30c08d['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x51cee4);}['refresh'](){const {isReady:_0xf4e87e,isEnabled:_0x316cc0}=this['editor']['plugins']['get'](d);this['isEnabled']=_0xf4e87e&&_0x316cc0;}}class yt extends _0x52df47{['_step'];constructor(_0x384599,{direction:_0x1f44bf}){super(_0x384599);const _0xcfb21f=_0x384599['plugins']['get'](d);this['affectsData']=!0x1,this['_step']='forward'===_0x1f44bf?0x1:-0x1,this['listenTo'](_0xcfb21f,'change:isReady',()=>this['refresh']()),this['listenTo'](_0xcfb21f,'change:isEnabled',()=>this['refresh']()),this['listenTo'](_0xcfb21f,'change:activeChange',()=>this['refresh']());}['execute'](){const _0x5e2804=this['editor'],_0x3d449a=_0x5e2804['plugins']['get'](d),{isNavigationMode:_0x4136fd,currentChangeNumber:_0xc86ff0}=_0x3d449a;let _0x1ea1bc;if(_0x3d449a['activeChange']=_0x4136fd?_0x3d449a['diff']['changes']['get'](_0xc86ff0+this['_step']):_0x3d449a['diff']['changes']['first'],_0x3d449a['activeChange']['data']['isOnRoot'])_0x1ea1bc=_0x5e2804['editing']['view']['getDomRoot'](_0x3d449a['activeChange']['rootName']);else{const _0x2333fd=_0x5e2804['model']['markers']['get']('revision:'+_0x3d449a['activeChange']['id']);_0x1ea1bc=_0x444f34(_0x5e2804['editing'],_0x2333fd);}_0x3fd308({'target':_0x1ea1bc,'viewportOffset':0x28});}['refresh'](){const {isNavigationMode:_0x3bb8fa,currentChangeNumber:_0x4df66c,numberOfChanges:_0x14a3ac,isReady:_0x607371,isEnabled:_0x50b82e}=this['editor']['plugins']['get'](d);this['isEnabled']=!!(_0x50b82e&&_0x607371&&_0x14a3ac)&&(!_0x3bb8fa||(0x1===this['_step']?_0x4df66c<_0x14a3ac-0x1:_0x4df66c>0x0));}}class _i extends _0x5804aa{constructor(_0x83a143){super(_0x83a143);const _0x53460a=this['bindTemplate'],_0x497efc=new _0xa1287(_0x83a143),_0x444ca4=new _0xa1287(_0x83a143);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',(_0x393086,_0x36e1a9)=>_0x393086&&_0x36e1a9>0x0),this['bind']('_statusText')['to'](this,'isReady',this,'currentChangeNumber',this,'numberOfChanges',this,'isNavigationMode',(_0x506de8,_0x3af76f,_0x429164,_0x29ecf2)=>{if(!_0x506de8)return y(_0x83a143,'Loading...');if(!_0x429164)return y(_0x83a143,'No\x20changes');const _0x117bd2=y(_0x83a143,'NUMBER_OF_CHANGES',_0x429164);return _0x29ecf2?y(_0x83a143,'X_OF_Y_CHANGES',[_0x3af76f+0x1,_0x429164]):_0x117bd2;}),_0x497efc['set']({'label':y(_0x83a143,'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'}),_0x444ca4['set']({'label':y(_0x83a143,'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'}),_0x497efc['bind']('isEnabled')['to'](this,'isBackwardNavigationEnabled'),_0x444ca4['bind']('isEnabled')['to'](this,'isForwardNavigationEnabled'),_0x497efc['on']('execute',()=>this['fire']('execute','backward')),_0x444ca4['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',_0x53460a['if']('_isStatusLabelVisible','ck-hidden',_0x2b409d=>!_0x2b409d)]},'children':[{'text':_0x53460a['to']('isNavigationMode',_0x8222a6=>_0x8222a6?y(_0x83a143,'EDIT_X_OF_Y_REVISIONS')+':\x20':y(_0x83a143,'Total')+':\x20')}]},{'text':_0x53460a['to']('_statusText')}]},new _0x4ea959(),{'tag':'div','attributes':{'class':['ck-revision-history-ui__changes-navigation__navigation']},'children':[_0x497efc,_0x444ca4]}]});}}const ce='ck-editor__editable__loading-overlay';class de extends _0x3bc8af{static get['pluginName'](){return'RevisionViewerLoadingOverlay';}['show'](){const _0x1cdec4=this['editor']['editing']['view'];_0x1cdec4['change'](_0x53a7d8=>{for(const _0x602208 of _0x1cdec4['document']['roots'])_0x53a7d8['addClass'](ce,_0x602208);});}['hide'](){const _0x1ba2de=this['editor']['editing']['view'];_0x1ba2de['change'](_0x4639dc=>{for(const _0x269e66 of _0x1ba2de['document']['roots'])_0x4639dc['removeClass'](ce,_0x269e66);});}}class R extends _0x3bc8af{static get['pluginName'](){return'RevisionViewerUI';}static get['requires'](){return[d,de];}['init'](){const _0x577f10=this['editor'],_0x5719b8=_0x577f10['plugins']['get'](d),_0x27705f=_0x577f10['plugins']['get'](de);_0x577f10['ui']['componentFactory']['add']('exitToEditing',_0x915516=>{const _0x4c521=new _0xa1287(_0x915516);return _0x4c521['set']({'label':y(_0x915516,'Back\x20to\x20editing'),'icon':_0x18e07b['undo'],'withText':!0x0,'tooltip':!0x0,'class':'ck-revision-history-ui__back-to-editing'}),this['listenTo'](_0x4c521,'execute',()=>{_0x577f10['config']['get']('revisionHistory')['closeRevisionViewerCallback']();}),_0x4c521;}),_0x577f10['ui']['componentFactory']['add']('restoreRevision',_0x343152=>{const _0x2cedd8=new _0xa1287(_0x343152);return _0x2cedd8['set']({'label':y(_0x343152,'Restore\x20this\x20revision'),'withText':!0x0,'tooltip':!0x0}),_0x2cedd8['bind']('isEnabled')['to'](_0x577f10['commands']['get']('restoreRevision')),this['listenTo'](_0x2cedd8,'execute',()=>_0x577f10['execute']('restoreRevision')),_0x2cedd8;}),_0x577f10['ui']['componentFactory']['add']('changesNavigation',_0x112dd7=>{const _0x366a26=new _i(_0x112dd7),_0x2c9346=_0x577f10['commands']['get']('showPreviousChange'),_0x2e4fad=_0x577f10['commands']['get']('showNextChange');return _0x366a26['bind']('isBackwardNavigationEnabled')['to'](_0x2c9346,'isEnabled'),_0x366a26['bind']('isForwardNavigationEnabled')['to'](_0x2e4fad,'isEnabled'),_0x366a26['bind']('isReady','currentChangeNumber','numberOfChanges','isNavigationMode')['to'](_0x5719b8),this['listenTo'](_0x366a26,'execute',(_0xe7c793,_0x43766f)=>{_0x577f10['execute']('forward'===_0x43766f?'showNextChange':'showPreviousChange');}),_0x366a26;}),_0x27705f['show'](),_0x5719b8['on']('change:isReady',(_0x49e080,_0x16af35,_0xd211df)=>{_0xd211df?_0x27705f['hide']():_0x27705f['show']();});}}class kt extends at{['_resizeObserver']=null;constructor(_0x3820f9,_0x2dcdfe){super(_0x3820f9,_0x2dcdfe);const _0x5b2baa=this['bindTemplate'];this['set']({'label':y(_0x3820f9,'Revision\x20name'),'_tooltipString':''}),this['fieldView']['placeholder']=y(_0x3820f9,'Enter\x20the\x20revision\x20name'),this['extendTemplate']({'tag':'span','attributes':{'class':['ck-revision-history-sidebar__revision-name'],'data-cke-tooltip-text':_0x5b2baa['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 _0x333b80=this['fieldView']['element'];this['_tooltipString']=_0x333b80['scrollWidth']>_0x333b80['clientWidth']&&_0x333b80['value']||'';}}class ti extends _0x5804aa{constructor(_0x114aec,_0x2fd1cf,_0x1f29ea){super(_0x114aec);const _0x6175a7=new _0x3b2b08();_0x6175a7['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 _0x54304f=['ck','ck-revision-history-sidebar__revision-author'];_0x1f29ea&&_0x54304f['push']('ck-revision-history-sidebar__revision-author_creator');const _0x2269bd=[{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__revision-author__name'],'title':y(_0x114aec,_0x1f29ea?'Revision\x20creator':'Revision\x20author')},'children':[_0x6175a7,_0x2fd1cf['name']]}];this['setTemplate']({'tag':'li','attributes':{'class':_0x54304f},'children':_0x2269bd});}}function ni(_0x7df39a,_0x5391d4){const _0x31b888=_0x7df39a['bindTemplate'],_0x28f516=_0x7df39a['locale'],_0x4de7c4=_0x54d2f5(_0x28f516);_0x4de7c4['panelPosition']='sw';const _0x280b74=function(_0x213a38,_0x3023bc){const _0xf68a64=function(_0x8d3561,_0x585f6b){const _0x10877a=_0x8d3561['locale'],_0x4655ab={'Compare\x20against\x20selected':y(_0x10877a,'Compare\x20against\x20selected'),'Name\x20this\x20revision':y(_0x10877a,'Name\x20this\x20revision'),'Restore\x20this\x20revision':y(_0x10877a,'Restore\x20this\x20revision')};return _0x585f6b['map'](_0x7d88ff=>{const _0x297b5a=_0x4655ab[_0x7d88ff['name']];return _0x297b5a&&_0x297b5a!==_0x7d88ff['name']&&(_0x7d88ff['name']=_0x297b5a),_0x7d88ff;});}(_0x213a38,_0x3023bc),_0x546f99=new _0x141ac7();for(const _0x2b5802 of _0xf68a64){const _0x2c7dc5={'type':'button','model':new to({'label':_0x2b5802['name'],'class':_0x2b5802['class'],'withText':!0x0,'role':'menuitem','_action':_0x2b5802['action']})};_0x2c7dc5['model']['bind']('isEnabled')['to'](_0x213a38,'isActionsDropdownOpen',_0x487060=>'function'!=typeof _0x2b5802['isEnabled']||(!_0x487060||_0x2b5802['isEnabled'](_0x213a38))),_0x546f99['add'](_0x2c7dc5);}return _0x546f99;}(_0x7df39a,_0x5391d4);return _0x7df39a['bind']('isActionsDropdownOpen')['to'](_0x4de7c4,'isOpen'),_0x4de7c4['buttonView']['set']({'label':y(_0x28f516,'Show\x20more\x20items'),'tooltip':!0x0,'tooltipPosition':'sw','icon':_0x18e07b['threeVerticalDots']}),_0x4de7c4['extendTemplate']({'attributes':{'class':['ck-revision-history-sidebar__revision__actions',_0x31b888['if']('isActionsDropdownOpen','ck-on')]},'on':{'click':_0x31b888['to'](_0x5e60df=>_0x5e60df['stopPropagation']())}}),_0x4de7c4['on']('execute',_0x1cd93e=>{_0x7df39a['isReady']&&'function'==typeof _0x1cd93e['source']['_action']&&_0x1cd93e['source']['_action'](_0x7df39a);}),_0x766eeb(_0x4de7c4,_0x280b74,{'role':'menu'}),_0x4de7c4['listenTo'](_0x7df39a,'change:isActionsDropdownOpen',(_0x159d37,_0x5d9c59,_0x1ce6bb)=>{if(_0x1ce6bb)for(const _0x2abbe4 of _0x4de7c4['listView']['items']){const _0x77fdb1=_0x2abbe4['children']['first'],_0x45567c=_0x5391d4['find'](_0x59257e=>_0x59257e['action']===_0x77fdb1['_action'])['isVisible'];_0x2abbe4['isVisible']=void 0x0===_0x45567c||_0x45567c(_0x7df39a);}}),_0x4de7c4;}class ai extends/* #__PURE__ -- @preserve */
|
|
26
|
-
|
|
23
|
+
import{Plugin as _0x2adf2b,Context as _0x3a4b3f,PendingActions as _0x36f7b8,icons as _0x2e42e2,Command as _0x2c59db,ElementApiMixin as rt,Editor as it}from'@ckeditor/ckeditor5-core/dist/index.js';import{ObservableMixin as _0x154d4b,uid as _0x35ac72,Collection as _0x1ae346,logWarning as _0x4dc739,FocusTracker as _0x10cb05,KeystrokeHandler as _0x41e421,scrollViewportToShowTarget as _0x582b14,ResizeObserver as mt,ElementReplacer as nt,CKEditorError as _0x2512e3}from'@ckeditor/ckeditor5-utils/dist/index.js';import{Users as _0x528eec,getMarkerDomElement as _0x2cc4e8,ConfirmMixin as _0x146896,sanitizeEditorConfig as _0x186908}from'ckeditor5-collaboration/dist/index.js';import{ViewDocumentFragment as _0x2ada46,ViewText as _0xa9bb82,ViewElement as _0x2c124e,Element as ft,Range as vt,Position as gt,DocumentFragment as wt,ViewContainerElement as _0x1ca70a,ViewAttributeElement as _0x43bd62,ViewEmptyElement as _0x44a94d,ViewRawElement as _0x39ef2c,ViewUIElement as _0x4a9d9f,Text as _t}from'@ckeditor/ckeditor5-engine/dist/index.js';import{cloneDeep as _0x533e67,set as _0x2cfc77,unset as _0x27510e,isEqual as _0x151428}from'lodash-es';import{View as _0x171859,injectCssTransitionDisabler as ts,submitHandler as _0x5e804d,LabeledFieldView as at,createLabeledInputText as _0x48b85f,createDropdown as _0xcec09,ListView as te,ListItemView as _0x50313c,ButtonView as _0x1b852d,MenuBarMenuView as _0x1fdc61,MenuBarMenuListView as _0x3bdafb,MenuBarMenuListItemView as _0x3cdc0e,MenuBarMenuListItemButtonView as _0x2f0ba0,ContextualBalloon as _0x543881,ToolbarSeparatorView as _0x3e822a,IconView as _0x2d8cd6,addListToDropdown as _0x35e72a,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 _0x578341}from'luxon';class a extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x154d4b(){['id'];['creator'];['authors'];['diffData'];['toVersion'];['fromVersion'];['model'];constructor(_0x323d85){super(),this['id']=_0x323d85['id']||_0x35ac72(),this['creator']=_0x323d85['creator']||null,this['authors']=_0x323d85['authors']||[],this['diffData']=_0x323d85['diffData']||null,this['toVersion']=_0x323d85['toVersion']||0x0,this['fromVersion']=_0x323d85['fromVersion']||0x0,this['set']('name',_0x323d85['name']||''),this['set']('createdAt',_0x323d85['createdAt']||new Date()),this['set']('attributes',_0x323d85['attributes']||{});}['setName'](_0x210dc8){this['_update']({'name':_0x210dc8});}['setAttribute'](_0xed1475,_0x1053fc){const _0x4a16b0=_0x533e67(this['attributes']);_0x2cfc77(_0x4a16b0,_0xed1475,_0x1053fc),this['_update']({'attributes':_0x4a16b0});}['removeAttribute'](_0x453ce8){const _0x123807=_0x533e67(this['attributes']);_0x27510e(_0x123807,_0x453ce8),this['_update']({'attributes':_0x123807});}['_update'](_0x570a69,_0x260a4e=!0x1){let _0x5e7a7e=!0x1;const _0x563718={'id':this['id']},_0xa17368=['name','createdAt','diffData','authors','attributes','toVersion','fromVersion','creatorId'];for(const _0x9b2242 of _0xa17368){const _0x4755ca=_0x570a69[_0x9b2242];void 0x0!==_0x4755ca&&_0x4755ca!==this[_0x9b2242]&&(this[_0x9b2242]=_0x4755ca,_0x563718[_0x9b2242]=_0x4755ca,_0x5e7a7e=!0x0);}_0x5e7a7e&&(_0x563718['authors']&&(_0x563718['authorsIds']=_0x563718['authors']['map'](_0x4b2c1c=>_0x4b2c1c['id']),delete _0x563718['authors']),this['fire']('_update',_0x563718,_0x260a4e));}['toJSON'](){return{'id':this['id'],'name':this['name'],'creatorId':this['creator']?this['creator']['id']:null,'authorsIds':this['authors']['map'](_0x236de1=>_0x236de1['id']),'diffData':this['diffData'],'createdAt':this['createdAt'],'attributes':this['attributes'],'fromVersion':this['fromVersion'],'toVersion':this['toVersion']};}}class A extends _0x2adf2b{['_revisions'];static get['requires'](){return[_0x528eec];}static get['pluginName'](){return'RevisionsRepository';}get['length'](){return this['_revisions']['length'];}constructor(_0x54863a){super(_0x54863a),this['_revisions']=new _0x1ae346();}['afterInit'](){!function(_0x50859e){function _0x415a72(_0x385f95,_0x2b43aa,_0x107f61){const _0x2372d1={};_0x2372d1[_0x2fc9c5([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])]={0x10:0xa,0x18:0xc,0x20:0xe},_0x2372d1[_0x2fc9c5([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],_0x2372d1[_0x2fc9c5([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],_0x2372d1[_0x2fc9c5([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],_0x2372d1[_0x2fc9c5([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],_0x2372d1[_0x2fc9c5([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],_0x2372d1[_0x2fc9c5([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],_0x2372d1[_0x2fc9c5([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],_0x2372d1[_0x2fc9c5([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],_0x2372d1[_0x2fc9c5([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],_0x2372d1[_0x2fc9c5([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 _0x3d6ec3=new Uint8Array(0x10);for(let _0x39c5eb=0xf;_0x39c5eb>=0x0;--_0x39c5eb)_0x3d6ec3[_0x39c5eb]=_0x107f61%0x100,_0x107f61=parseInt(_0x107f61/0x100);let _0x156574=null,_0x876e44=0x10;const _0x5408b8=new Uint8Array(_0x2b43aa),_0x54be83=[],_0x10c46a=[];_0x1aa2b2();for(let _0x2cbb6c=0x0;_0x2cbb6c<_0x385f95[_0x2fc9c5([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2cbb6c++)0x10===_0x876e44&&(_0x156574=_0x21cc11(_0x3d6ec3),_0x876e44=0x0,_0x4d021b(_0x3d6ec3)),_0x385f95[_0x2cbb6c]^=_0x156574[_0x876e44++];return _0x385f95;function _0x1736bb(_0xfc43e1){const _0x4fef59=[];for(let _0x3fea85=0x0;_0x3fea85<_0xfc43e1[_0x2fc9c5([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3fea85+=0x4)_0x4fef59[_0x2fc9c5([0x70,0x75,0x73,0x68])](_0xfc43e1[_0x3fea85]<<0x18|_0xfc43e1[_0x3fea85+0x1]<<0x10|_0xfc43e1[_0x3fea85+0x2]<<0x8|_0xfc43e1[_0x3fea85+0x3]);return _0x4fef59;}function _0x4d021b(_0x525abe){for(let _0x55331e=0xf;_0x55331e>=0x0;_0x55331e--){if(0xff!==_0x525abe[_0x55331e]){_0x525abe[_0x55331e]++;break;}_0x525abe[_0x55331e]=0x0;}}function _0x21cc11(_0xf6f6c){const _0x33dc08=_0x54be83[_0x2fc9c5([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x1,_0x451b66=[0x0,0x0,0x0,0x0];let t=_0x1736bb(_0xf6f6c);for(let _0x2248f4=0x0;_0x2248f4<0x4;_0x2248f4++)t[_0x2248f4]^=_0x54be83[0x0][_0x2248f4];for(let _0x5c60c9=0x1;_0x5c60c9<_0x33dc08;_0x5c60c9++){for(let _0x52b3d1=0x0;_0x52b3d1<0x4;_0x52b3d1++)_0x451b66[_0x52b3d1]=_0x2372d1[_0x2fc9c5([0x54,0x31])][t[_0x52b3d1]>>0x18&0xff]^_0x2372d1[_0x2fc9c5([0x54,0x32])][t[(_0x52b3d1+0x1)%0x4]>>0x10&0xff]^_0x2372d1[_0x2fc9c5([0x54,0x33])][t[(_0x52b3d1+0x2)%0x4]>>0x8&0xff]^_0x2372d1[_0x2fc9c5([0x54,0x34])][0xff&t[(_0x52b3d1+0x3)%0x4]]^_0x54be83[_0x5c60c9][_0x52b3d1];t=_0x451b66[_0x2fc9c5([0x73,0x6c,0x69,0x63,0x65])]();}const _0x85b27e=new Uint8Array(0x10);let _0x162165;for(let _0x2944bb=0x0;_0x2944bb<0x4;_0x2944bb++)_0x162165=_0x54be83[_0x33dc08][_0x2944bb],_0x85b27e[0x4*_0x2944bb]=0xff&(_0x2372d1[_0x2fc9c5([0x53])][t[_0x2944bb]>>0x18&0xff]^_0x162165>>0x18),_0x85b27e[0x4*_0x2944bb+0x1]=0xff&(_0x2372d1[_0x2fc9c5([0x53])][t[(_0x2944bb+0x1)%0x4]>>0x10&0xff]^_0x162165>>0x10),_0x85b27e[0x4*_0x2944bb+0x2]=0xff&(_0x2372d1[_0x2fc9c5([0x53])][t[(_0x2944bb+0x2)%0x4]>>0x8&0xff]^_0x162165>>0x8),_0x85b27e[0x4*_0x2944bb+0x3]=0xff&(_0x2372d1[_0x2fc9c5([0x53])][0xff&t[(_0x2944bb+0x3)%0x4]]^_0x162165);return _0x85b27e;}function _0x1aa2b2(){const _0x2a1fa2=_0x2372d1[_0x2fc9c5([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])][_0x5408b8[_0x2fc9c5([0x6c,0x65,0x6e,0x67,0x74,0x68])]];for(let _0x148ea8=0x0;_0x148ea8<=_0x2a1fa2;_0x148ea8++)_0x54be83[_0x2fc9c5([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]),_0x10c46a[_0x2fc9c5([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]);const _0x23e586=0x4*(_0x2a1fa2+0x1),_0x1486a3=_0x5408b8[_0x2fc9c5([0x6c,0x65,0x6e,0x67,0x74,0x68])]/0x4,_0x242ae4=_0x1736bb(_0x5408b8);let _0x3d5bab;for(let _0x122343=0x0;_0x122343<_0x1486a3;_0x122343++)_0x3d5bab=_0x122343>>0x2,_0x54be83[_0x3d5bab][_0x122343%0x4]=_0x242ae4[_0x122343],_0x10c46a[_0x2a1fa2-_0x3d5bab][_0x122343%0x4]=_0x242ae4[_0x122343];let _0x25e87d,_0x34519c=0x0,t=_0x1486a3;for(;t<_0x23e586;){_0x25e87d=_0x242ae4[_0x1486a3-0x1],_0x242ae4[0x0]^=_0x2372d1[_0x2fc9c5([0x53])][_0x25e87d>>0x10&0xff]<<0x18^_0x2372d1[_0x2fc9c5([0x53])][_0x25e87d>>0x8&0xff]<<0x10^_0x2372d1[_0x2fc9c5([0x53])][0xff&_0x25e87d]<<0x8^_0x2372d1[_0x2fc9c5([0x53])][_0x25e87d>>0x18&0xff]^_0x2372d1[_0x2fc9c5([0x72,0x63,0x6f,0x6e])][_0x34519c]<<0x18,_0x34519c+=0x1;for(let _0x119f87=0x1;_0x119f87<_0x1486a3/0x2;_0x119f87++)_0x242ae4[_0x119f87]^=_0x242ae4[_0x119f87-0x1];_0x25e87d=_0x242ae4[_0x1486a3/0x2-0x1],_0x242ae4[_0x1486a3/0x2]^=_0x2372d1[_0x2fc9c5([0x53])][0xff&_0x25e87d]^_0x2372d1[_0x2fc9c5([0x53])][_0x25e87d>>0x8&0xff]<<0x8^_0x2372d1[_0x2fc9c5([0x53])][_0x25e87d>>0x10&0xff]<<0x10^_0x2372d1[_0x2fc9c5([0x53])][_0x25e87d>>0x18&0xff]<<0x18;for(let _0x14025c=_0x1486a3/0x2+0x1;_0x14025c<_0x1486a3;_0x14025c++)_0x242ae4[_0x14025c]^=_0x242ae4[_0x14025c-0x1];let _0x205280,_0x597532,_0x4c9e6e=0x0;for(;_0x4c9e6e<_0x1486a3&&t<_0x23e586;)_0x205280=t>>0x2,_0x597532=t%0x4,_0x54be83[_0x205280][_0x597532]=_0x242ae4[_0x4c9e6e],_0x10c46a[_0x2a1fa2-_0x205280][_0x597532]=_0x242ae4[_0x4c9e6e++],t++;}for(let _0x2dbc9c=0x1;_0x2dbc9c<_0x2a1fa2;_0x2dbc9c++)for(let _0xd3cbdb=0x0;_0xd3cbdb<0x4;_0xd3cbdb++)_0x25e87d=_0x10c46a[_0x2dbc9c][_0xd3cbdb],_0x10c46a[_0x2dbc9c][_0xd3cbdb]=_0x2372d1[_0x2fc9c5([0x55,0x31])][_0x25e87d>>0x18&0xff]^_0x2372d1[_0x2fc9c5([0x55,0x32])][_0x25e87d>>0x10&0xff]^_0x2372d1[_0x2fc9c5([0x55,0x33])][_0x25e87d>>0x8&0xff]^_0x2372d1[_0x2fc9c5([0x55,0x34])][0xff&_0x25e87d];}}function _0x2fc9c5(_0xb96dec){return _0xb96dec['map'](_0x4b9a62=>String['fromCharCode'](_0x4b9a62))['join']('');}(_0x4ccbe6=>{function _0x4b1a6e(){const _0x3093a0=[{[_0x2fc9c5([0x69,0x64])]:0x1,[_0x2fc9c5([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x2fc9c5([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73]),[_0x2fc9c5([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x2fc9c5([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x2fc9c5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x2fc9c5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x2fc9c5([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x2fc9c5([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x2fc9c5([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]:[{[_0x2fc9c5([0x69,0x64])]:0x2,[_0x2fc9c5([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x2fc9c5([0x54,0x72,0x61,0x63,0x6b,0x20,0x43,0x68,0x61,0x6e,0x67,0x65,0x73]),[_0x2fc9c5([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x2fc9c5([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x2fc9c5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x2fc9c5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x2fc9c5([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x2fc9c5([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]),[_0x2fc9c5([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x2fc9c5([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x2fc9c5([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x2fc9c5([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}}],[_0x2fc9c5([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x2fc9c5([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x2fc9c5([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x2fc9c5([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x2fc9c5([0x69,0x64])]:0x3,[_0x2fc9c5([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x2fc9c5([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e]),[_0x2fc9c5([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x2fc9c5([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x6f,0x6f,0x6b,0x75,0x70]),[_0x2fc9c5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x2fc9c5([0x70,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x2fc9c5([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x2fc9c5([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x2fc9c5([0x69,0x64])]:0x4,[_0x2fc9c5([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x2fc9c5([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x20,0x48,0x69,0x73,0x74,0x6f,0x72,0x79]),[_0x2fc9c5([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x2fc9c5([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x2fc9c5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x2fc9c5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x2fc9c5([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x2fc9c5([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]),[_0x2fc9c5([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x2fc9c5([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x2fc9c5([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x2fc9c5([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x2fc9c5([0x69,0x64])]:0x5,[_0x2fc9c5([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x2fc9c5([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x20,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65]),[_0x2fc9c5([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x2fc9c5([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65,0x55,0x49]),[_0x2fc9c5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x2fc9c5([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]),[_0x2fc9c5([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x2fc9c5([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x2fc9c5([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x2fc9c5([0x66,0x67,0x69])]:[0xc]}},{[_0x2fc9c5([0x69,0x64])]:0x6,[_0x2fc9c5([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x2fc9c5([0x46,0x6f,0x72,0x6d,0x61,0x74,0x20,0x50,0x61,0x69,0x6e,0x74,0x65,0x72]),[_0x2fc9c5([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x2fc9c5([0x46,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x55,0x49]),[_0x2fc9c5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x2fc9c5([0x66,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x2fc9c5([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x2fc9c5([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x2fc9c5([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x2fc9c5([0x66,0x67,0x69])]:[0xc]}},{[_0x2fc9c5([0x69,0x64])]:0x7,[_0x2fc9c5([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x2fc9c5([0x53,0x6c,0x61,0x73,0x68,0x20,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64]),[_0x2fc9c5([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x2fc9c5([0x53,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x55,0x49]),[_0x2fc9c5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x2fc9c5([0x73,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x2fc9c5([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x2fc9c5([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x2fc9c5([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x2fc9c5([0x66,0x67,0x69])]:[0xc]}},{[_0x2fc9c5([0x69,0x64])]:0x8,[_0x2fc9c5([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x2fc9c5([0x54,0x61,0x62,0x6c,0x65,0x20,0x6f,0x66,0x20,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73]),[_0x2fc9c5([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x2fc9c5([0x54,0x61,0x62,0x6c,0x65,0x4f,0x66,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x2fc9c5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x2fc9c5([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]),[_0x2fc9c5([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x2fc9c5([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x2fc9c5([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x2fc9c5([0x66,0x67,0x69])]:[0xc]}},{[_0x2fc9c5([0x69,0x64])]:0x9,[_0x2fc9c5([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x2fc9c5([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65]),[_0x2fc9c5([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x2fc9c5([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x55,0x49]),[_0x2fc9c5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x2fc9c5([0x74,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x2fc9c5([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x2fc9c5([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x2fc9c5([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x2fc9c5([0x66,0x67,0x69])]:[0xc,0xe]}},{[_0x2fc9c5([0x69,0x64])]:0xa,[_0x2fc9c5([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x2fc9c5([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]),[_0x2fc9c5([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x2fc9c5([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]),[_0x2fc9c5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x2fc9c5([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]),[_0x2fc9c5([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x2fc9c5([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x2fc9c5([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x2fc9c5([0x66,0x67,0x69])]:[0xc]}},{[_0x2fc9c5([0x69,0x64])]:0xb,[_0x2fc9c5([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x2fc9c5([0x41,0x49,0x20,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74]),[_0x2fc9c5([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x2fc9c5([0x41,0x49,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74,0x55,0x49]),[_0x2fc9c5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x2fc9c5([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x2fc9c5([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x2fc9c5([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x2fc9c5([0x69,0x64])]:0xc,[_0x2fc9c5([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x2fc9c5([0x50,0x72,0x6f,0x64,0x75,0x63,0x74,0x69,0x76,0x69,0x74,0x79,0x20,0x70,0x61,0x63,0x6b])},{[_0x2fc9c5([0x69,0x64])]:0xd,[_0x2fc9c5([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x2fc9c5([0x43,0x61,0x73,0x65,0x20,0x43,0x68,0x61,0x6e,0x67,0x65]),[_0x2fc9c5([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x2fc9c5([0x43,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x55,0x49]),[_0x2fc9c5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x2fc9c5([0x63,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x2fc9c5([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x2fc9c5([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x2fc9c5([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x2fc9c5([0x66,0x67,0x69])]:[0xc]}},{[_0x2fc9c5([0x69,0x64])]:0xe,[_0x2fc9c5([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x2fc9c5([0x44,0x72,0x75,0x70,0x61,0x6c,0x20,0x70,0x61,0x63,0x6b]),[_0x2fc9c5([0x66,0x6f,0x72,0x62,0x69,0x64,0x64,0x65,0x6e,0x48,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x2fc9c5([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])},{[_0x2fc9c5([0x69,0x64])]:0xf,[_0x2fc9c5([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x2fc9c5([0x4d,0x75,0x6c,0x74,0x69,0x20,0x4c,0x65,0x76,0x65,0x6c,0x20,0x4c,0x69,0x73,0x74]),[_0x2fc9c5([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x2fc9c5([0x4d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x2fc9c5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x2fc9c5([0x6d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x2fc9c5([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x2fc9c5([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x2fc9c5([0x69,0x64])]:0x10,[_0x2fc9c5([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x2fc9c5([0x4d,0x65,0x72,0x67,0x65,0x20,0x54,0x61,0x67,0x73]),[_0x2fc9c5([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x2fc9c5([0x4d,0x65,0x72,0x67,0x65,0x54,0x61,0x67,0x73,0x55,0x49]),[_0x2fc9c5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x2fc9c5([0x6d,0x65,0x72,0x67,0x65,0x54,0x61,0x67,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x2fc9c5([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x2fc9c5([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x2fc9c5([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x2fc9c5([0x66,0x67,0x69])]:[0xc]}}];return _0x5902e4(_0x3093a0),_0x3093a0;function _0x47700e(_0x595ee9){return 0x1<<_0x595ee9-0x1;}function _0x5902e4(_0x4dc97b){_0x4dc97b[_0x2fc9c5([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x3af019=>{_0x3af019[_0x2fc9c5([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]=_0x47700e(_0x3af019[_0x2fc9c5([0x69,0x64])]),_0x31e169(_0x3af019)&&_0x3af019[_0x2fc9c5([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x5902e4(_0x3af019[_0x2fc9c5([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]);});}}function _0x31e169(_0x2d1e69){return _0x2fc9c5([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])in _0x2d1e69;}const _0x519209=[0x1,0x55,0x4e,0x73,0xc6,0xff,0x32,0x70,0x53,0x57,0xa1],_0x34c2da=[0x7f,0x22,0x6,0xd3,0xa7,0x56,0x92,0xc7,0x84,0xa0,0x12];function _0x5c61d0(_0x68cf8a){const _0x487f68=[0x1d,0xdd,0xaf,0x5a,0xe7,0x85,0xef,0xf0,0x4b,0xb4];return _0x23a9ab(_0x68cf8a,new Uint8Array([..._0x519209,..._0x487f68,..._0x34c2da]));}function _0x23a9ab(_0x234106,_0x31be5e){const _0x1321b5=_0xffcbbc(_0x234106),_0x3d6b63=Array[_0x2fc9c5([0x66,0x72,0x6f,0x6d])](_0x2f5a2a(_0x1321b5)),_0x539fb1=_0x3d6b63[_0x2fc9c5([0x70,0x6f,0x70])](),_0x1fea2c=_0x3d6b63[_0x2fc9c5([0x70,0x6f,0x70])]();return _0x25fd8d(_0x415a72(_0x3d6b63,_0x31be5e,_0x1fea2c+0x100*_0x539fb1));}function _0xffcbbc(_0x41835e){const _0x115de8=atob(_0x41835e),[_0x50be1f,_0x1a06dc]=_0x115de8[_0x2fc9c5([0x73,0x70,0x6c,0x69,0x74])](_0x2fc9c5([0x2d]));try{if(atob(_0x1a06dc))return atob(_0x50be1f);}catch(_0x31bbe4){}return _0x115de8;}function _0xeadf29(_0x231e43){try{const _0x133bf7=_0x5c61d0(_0x231e43),_0x2a69dd=JSON[_0x2fc9c5([0x70,0x61,0x72,0x73,0x65])](_0x133bf7),_0x547509=parseInt(_0x2a69dd[_0x2fc9c5([0x31])]),_0x4636cf=_0x2a69dd[_0x2fc9c5([0x32])]||'',_0x269fba=parseInt(_0x2a69dd[_0x2fc9c5([0x33])]),_0x2926c2=parseInt(_0x2a69dd[_0x2fc9c5([0x34])])||0x0,_0xe2283b=parseInt(_0x2a69dd[_0x2fc9c5([0x35])])||0x0;return{[_0x2fc9c5([0x70,0x72,0x6f,0x64,0x75,0x63,0x74,0x4e,0x61,0x6d,0x65])]:_0x4636cf,[_0x2fc9c5([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])]:_0x2926c2,[_0x2fc9c5([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]:_0x547509,[_0x2fc9c5([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]:_0x269fba,[_0x2fc9c5([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]:_0xe2283b};}catch(_0x219a7c){return null;}}const _0x9c605e=_0x4b1a6e(),_0x7523c8={[_0x2fc9c5([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])]:_0x3fa8ab,[_0x2fc9c5([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])]:_0x38cfbb,[_0x2fc9c5([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])]:_0x2a9430},_0x40e29f=_0x4ccbe6[_0x2fc9c5([0x63,0x6f,0x6e,0x73,0x74,0x72,0x75,0x63,0x74,0x6f,0x72])][_0x2fc9c5([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])],_0x44ba70=_0x2fc9c5([0x63,0x6f,0x6e,0x74,0x65,0x78,0x74])in _0x4ccbe6?_0x4ccbe6['context']:_0x4ccbe6['editor'],_0x1b67a1=_0x2fc9c5([0x34,0x30,0x34,0x38,0x31,0x32,0x35,0x30]),_0x183330=_0x2fc9c5([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]),_0x558260=_0x44ba70['config']['get'](_0x2fc9c5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x454218=_0x9c605e[_0x2fc9c5([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x31e169)[_0x2fc9c5([0x66,0x69,0x6e,0x64])](_0x2413cd=>_0x2413cd[_0x2fc9c5([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]===_0x40e29f);function _0x3e2412(_0x552a5d,_0x4fc4dc){_0x7523c8[_0x4fc4dc[_0x2fc9c5([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]](_0x552a5d,_0x4fc4dc),_0x4fc4dc[_0x2fc9c5([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x4fc4dc[_0x2fc9c5([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])][_0x2fc9c5([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5e768f=>_0x43370a(_0x44ba70,_0x5e768f[_0x2fc9c5([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))[_0x2fc9c5([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x96e36f=>_0x3e2412(_0x552a5d,_0x96e36f));}function _0x3fa8ab(_0x33e8f5,_0x4f050d){_0x1e58e0(_0x564bc5(_0x33e8f5,_0x4f050d),_0x4f050d);}function _0x38cfbb(_0x5157b3,_0x133bf1){function _0x3bb3d1(_0x31e00e,_0x46476f){try{if(_0x43370a(_0x44ba70,_0x2fc9c5([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))&&_0x31e00e){const _0x31424b=_0x214bd9(_0x44ba70,_0x2fc9c5([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))[_0x2fc9c5([0x5f,0x65,0x78,0x65,0x63,0x75,0x74,0x65,0x53,0x75,0x67,0x67,0x65,0x73,0x74,0x69,0x6f,0x6e])];if(parseInt(_0x31424b)/0x2>_0x31e00e[_0x2fc9c5([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])])return _0x34d209(_0x46476f[_0x2fc9c5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2fc9c5([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}return _0x564bc5(_0x31e00e,_0x46476f);}catch(_0x482a1b){return _0x34d209(_0x46476f[_0x2fc9c5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2fc9c5([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}_0x1e58e0(_0x3bb3d1(_0x5157b3,_0x133bf1),_0x133bf1);}function _0x2a9430(_0x4a6aee,_0x1b5d47){const _0x560c7f=_0x34c2da[0x0]*_0x519209[0x1],_0x2166a3=_0x34c2da[0x0]*_0x519209[0x2],_0x6b90a3=_0x34c2da[0x2]*_0x519209[0x2];_0x43370a(_0x44ba70,_0x2fc9c5([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x214bd9(_0x44ba70,_0x2fc9c5([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x2fc9c5([0x73,0x74,0x61,0x74,0x65])]==_0x2fc9c5([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&(window[_0x26fb95()]=_0x6b90a3);function _0x49e3ed(_0x4cb076,_0xa9fb78){try{return _0x4e42a4()?_0x34d209(_0xa9fb78[_0x2fc9c5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2fc9c5([0x56,0x61,0x6c,0x69,0x64])):_0x564bc5(_0x4cb076,_0xa9fb78);}catch(_0x52c482){return _0x34d209(_0xa9fb78[_0x2fc9c5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2fc9c5([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x291332(_0x38c293,_0xcf25ad){const _0x3009f8=0x7;if(_0x38c293==_0xcf25ad[_0x2fc9c5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2fc9c5([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]))_0x58aeb5();else{if(_0x38c293==_0xcf25ad[_0x2fc9c5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2fc9c5([0x54,0x72,0x69,0x61,0x6c])){const _0x5b466d=_0x1a65bd();_0x5b466d&&_0x23cbc2(_0x5b466d,_0xcf25ad[_0x2fc9c5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);const _0x24d90c=_0x4039dd();window[_0x2fc9c5([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x23cbc2(_0x2fc9c5([0x74,0x69,0x6d,0x65]),_0xcf25ad[_0x2fc9c5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);},_0x24d90c);const _0x35637b=_0x214bd9(_0x44ba70,_0x2fc9c5([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x2fc9c5([0x5f,0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73])];_0x35637b[_0x2fc9c5([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x3009f8?_0x23cbc2(_0x2fc9c5([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0xcf25ad[_0x2fc9c5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]):_0x35637b['on'](_0x2fc9c5([0x61,0x64,0x64]),()=>{_0x35637b[_0x2fc9c5([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x3009f8&&_0x23cbc2(_0x2fc9c5([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0xcf25ad[_0x2fc9c5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);});}}}function _0x1a65bd(){if(!_0x43370a(_0x44ba70,_0x2fc9c5([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x4934b5 in window)if(Number['isNaN'](Number(_0x4934b5))){if(window[_0x4934b5]===_0x560c7f)return _0x2fc9c5([0x74,0x69,0x6d,0x65]);if(window[_0x4934b5]===_0x2166a3)return _0x2fc9c5([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]);}return!0x1;}function _0x4e42a4(){if(!_0x43370a(_0x44ba70,_0x2fc9c5([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x19eac3 in window)if(Number['isNaN'](Number(_0x19eac3))&&window[_0x19eac3]===_0x6b90a3)return!0x0;return!0x1;}function _0x23cbc2(_0x1ea52e,_0x5d4c94){_0x58aeb5(),_0x34d209(_0x5d4c94+_0x2fc9c5([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a])+_0x1ea52e),window[_0x26fb95()]=_0x1ea52e===_0x2fc9c5([0x74,0x69,0x6d,0x65])?_0x560c7f:_0x2166a3;}function _0x4039dd(){let _0x3ec091=_0x34c2da[0x6]*_0x519209[0x8]*_0x519209[0x6];return _0x43370a(_0x44ba70,_0x2fc9c5([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x3ec091/=0xa),_0x3ec091;}function _0x58aeb5(){const _0x26a06c=_0x44ba70;function _0xb0d5d9(){_0x43370a(_0x26a06c,_0x2fc9c5([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&(_0x214bd9(_0x26a06c,_0x2fc9c5([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x2fc9c5([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x2fc9c5([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x214bd9(_0x26a06c,_0x2fc9c5([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x2fc9c5([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x214bd9(_0x26a06c,_0x2fc9c5([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x2fc9c5([0x75,0x70,0x64,0x61,0x74,0x65])]=_0x32c409,_0x214bd9(_0x26a06c,_0x2fc9c5([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x2fc9c5([0x73,0x61,0x76,0x65,0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e])]=_0x32c409,_0x26a06c[_0x2fc9c5([0x6d,0x6f,0x64,0x65,0x6c])][_0x2fc9c5([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x32c409,_0x26a06c[_0x2fc9c5([0x6d,0x6f,0x64,0x65,0x6c])][_0x2fc9c5([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x32c409,_0x26a06c[_0x2fc9c5([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x2fc9c5([0x6d,0x6f,0x64,0x65,0x6c]))),_0x43370a(_0x26a06c,_0x2fc9c5([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x214bd9(_0x26a06c,_0x2fc9c5([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x2fc9c5([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x2fc9c5([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x214bd9(_0x26a06c,_0x2fc9c5([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x2fc9c5([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x214bd9(_0x26a06c,_0x2fc9c5([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x2fc9c5([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])]=_0x32c409,_0x214bd9(_0x26a06c,_0x2fc9c5([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x2fc9c5([0x5f,0x67,0x65,0x74,0x44,0x69,0x66,0x66])]=_0x32c409);}_0x26a06c[_0x2fc9c5([0x73,0x74,0x61,0x74,0x65])]==_0x2fc9c5([0x72,0x65,0x61,0x64,0x79])?_0xb0d5d9():_0x26a06c[_0x2fc9c5([0x6f,0x6e,0x63,0x65])](_0x2fc9c5([0x72,0x65,0x61,0x64,0x79]),()=>{if(_0x43370a(_0x26a06c,_0x2fc9c5([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&_0xb0d5d9(),_0x43370a(_0x26a06c,_0x2fc9c5([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))){const _0x5a91fc=_0x214bd9(_0x26a06c,_0x2fc9c5([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79])),_0x4e3c04=_0x5a91fc['getRevision'](0x0),_0x48f223=_0x5a91fc['getEarlierVisibleRevision'](_0x4e3c04[_0x2fc9c5([0x69,0x64])]);_0x214bd9(_0x26a06c,_0x2fc9c5([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x2fc9c5([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])](_0x4e3c04[_0x2fc9c5([0x69,0x64])],_0x48f223?_0x48f223[_0x2fc9c5([0x69,0x64])]:null,0x1)['then'](()=>_0xb0d5d9());}});}_0x291332(_0x49e3ed(_0x4a6aee,_0x1b5d47),_0x1b5d47);}function _0x564bc5(_0x3f41f5,_0x260cca){try{return _0x445649(_0x260cca)?_0x34d209(_0x260cca[_0x2fc9c5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2fc9c5([0x56,0x61,0x6c,0x69,0x64])):_0x3f41f5&&_0x57056d(_0x3f41f5[_0x2fc9c5([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])],_0x260cca)?_0x3f41f5[_0x2fc9c5([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]&&!window[_0x2fc9c5([0x6f,0x70,0x65,0x6e])][_0x2fc9c5([0x63,0x6c,0x6f,0x73,0x65,0x64])]||parseInt(_0x1b67a1)/0x2>_0x3f41f5[_0x2fc9c5([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]?_0x34d209(_0x260cca[_0x2fc9c5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2fc9c5([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])):_0x3f41f5[_0x2fc9c5([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]?_0x34d209(_0x260cca[_0x2fc9c5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2fc9c5([0x54,0x72,0x69,0x61,0x6c])):_0x34d209(_0x260cca[_0x2fc9c5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2fc9c5([0x56,0x61,0x6c,0x69,0x64])):_0x34d209(_0x260cca[_0x2fc9c5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2fc9c5([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}catch(_0x3e712b){return _0x34d209(_0x260cca[_0x2fc9c5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2fc9c5([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x1e58e0(_0x3a2417,_0x236d96){if(_0x44ba70 instanceof _0x3a4b3f){const _0x54e361=_0x44ba70;_0x3a2417==_0x236d96[_0x2fc9c5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2fc9c5([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x1efd63(_0x54e361):_0x3a2417==_0x236d96[_0x2fc9c5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2fc9c5([0x54,0x72,0x69,0x61,0x6c])&&window[_0x2fc9c5([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x1efd63(_0x54e361),_0x34d209(_0x236d96[_0x2fc9c5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2fc9c5([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65]));},_0x34c2da[0x6]*_0x519209[0x8]*_0x519209[0x6]),_0x54e361[_0x2fc9c5([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])][_0x2fc9c5([0x6f,0x6e])](_0x2fc9c5([0x61,0x64,0x64]),(_0xe51bc2,_0x4d94b0)=>{_0x3a2417!=_0x236d96[_0x2fc9c5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2fc9c5([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])&&_0x3a2417!=_0x236d96[_0x2fc9c5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2fc9c5([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65])&&_0x3a2417!=_0x236d96[_0x2fc9c5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2fc9c5([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])||_0x3703de(_0x4d94b0);});}else{const _0x22499e=_0x44ba70;_0x3a2417==_0x236d96[_0x2fc9c5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2fc9c5([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x3703de(_0x22499e):_0x3a2417==_0x236d96[_0x2fc9c5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2fc9c5([0x54,0x72,0x69,0x61,0x6c])&&_0x22499e[_0x2fc9c5([0x6f,0x6e])](_0x2fc9c5([0x72,0x65,0x61,0x64,0x79]),()=>{let _0x3fb789=0x0;_0x22499e[_0x2fc9c5([0x6d,0x6f,0x64,0x65,0x6c])][_0x2fc9c5([0x6f,0x6e])](_0x2fc9c5([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x3149f1,_0x5a8841)=>{_0x5a8841[0x0][_0x2fc9c5([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x3fb789++,0x1f8===_0x3fb789&&(_0x3703de(_0x22499e),_0x34d209(_0x236d96[_0x2fc9c5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2fc9c5([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])),_0x3149f1[_0x2fc9c5([0x6f,0x66,0x66])]());},{'priority':_0x2fc9c5([0x68,0x69,0x67,0x68,0x65,0x73,0x74])});});}}function _0x34d209(_0x388e82){const _0x2e55ff=_0x26fb95();return _0x44ba70[_0x2e55ff]=_0x388e82,_0x388e82;}function _0x26fb95(){const _0x5c3b65=String(window[_0x2fc9c5([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x2fc9c5([0x6e,0x6f,0x77])]())[_0x2fc9c5([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x2fc9c5([0x2e]),'');let _0x5ba1ff='';for(let _0x5c2848=0x0;_0x5c2848<_0x5c3b65[_0x2fc9c5([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5c2848+=0x2){let _0x4e9381=parseInt(_0x5c3b65[_0x2fc9c5([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5c2848,_0x5c2848+0x2));_0x4e9381>=_0x183330[_0x2fc9c5([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x4e9381-=_0x183330[_0x2fc9c5([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x5ba1ff+=_0x183330[_0x4e9381];}return _0x5ba1ff;}function _0x1efd63(_0xdbe430){for(const _0x1abb84 of _0xdbe430[_0x2fc9c5([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])])_0x3703de(_0x1abb84);_0x214bd9(_0xdbe430,_0x2fc9c5([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x2fc9c5([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])](!0x0),_0x214bd9(_0xdbe430,_0x2fc9c5([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x2fc9c5([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])]=_0x32c409;}function _0x3703de(_0x6c2b8c){function _0x34b0f0(){_0x6c2b8c[_0x2fc9c5([0x6d,0x6f,0x64,0x65,0x6c])][_0x2fc9c5([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x32c409,_0x6c2b8c[_0x2fc9c5([0x6d,0x6f,0x64,0x65,0x6c])][_0x2fc9c5([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x32c409,_0x6c2b8c[_0x2fc9c5([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x2fc9c5([0x6d,0x6f,0x64,0x65,0x6c]));}_0x6c2b8c[_0x2fc9c5([0x73,0x74,0x61,0x74,0x65])]==_0x2fc9c5([0x72,0x65,0x61,0x64,0x79])?_0x34b0f0():_0x6c2b8c[_0x2fc9c5([0x6f,0x6e,0x63,0x65])](_0x2fc9c5([0x72,0x65,0x61,0x64,0x79]),()=>_0x34b0f0());}function _0x32c409(){return null;}function _0x57056d(_0x4269b1,_0x386bd1){const _0x4aec9f=!!(_0x4269b1&_0x386bd1[_0x2fc9c5([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]),_0x3d274c=_0x532f30(_0x4269b1,_0x386bd1);return _0x4aec9f||_0x3d274c;}function _0x532f30(_0x247601,_0x213919){const _0x52ca2e=(_0x213919[_0x2fc9c5([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{})[_0x2fc9c5([0x66,0x67,0x69])]||null;return!!_0x52ca2e&&_0x9c605e[_0x2fc9c5([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2c3843=>_0x52ca2e[_0x2fc9c5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2c3843[_0x2fc9c5([0x69,0x64])]))[_0x2fc9c5([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x58bf8f=>!_0x3b250d(_0x58bf8f))[_0x2fc9c5([0x73,0x6f,0x6d,0x65])](_0x187ba2=>!!(_0x247601&_0x187ba2[_0x2fc9c5([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]));}function _0x3b250d(_0x13e10a){const _0x85f12c={[_0x2fc9c5([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])]:_0x6ba1d3};return!!_0x13e10a['forbiddenHandler']&&_0x85f12c[_0x13e10a['forbiddenHandler']]();}function _0x6ba1d3(){return!window[_0x2fc9c5([0x44,0x72,0x75,0x70,0x61,0x6c])]||!_0x43370a(_0x44ba70,_0x2fc9c5([0x64,0x72,0x75,0x70,0x61,0x6c,0x50,0x6f,0x77,0x65,0x72,0x65,0x64,0x42,0x79]));}function _0x445649(_0xeb0c04){if(!_0x43370a(_0x44ba70,_0xeb0c04[_0x2fc9c5([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))return!0x0;const _0x59a6ce=_0xeb0c04[_0x2fc9c5([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{},_0x309823=_0x59a6ce[_0x2fc9c5([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]||!0x1,_0x18c486=_0x59a6ce[_0x2fc9c5([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]||!0x1,_0x116722=_0x59a6ce[_0x2fc9c5([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]||!0x1;if(_0x43370a(_0x44ba70,_0x2fc9c5([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x214bd9(_0x44ba70,_0x2fc9c5([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x2fc9c5([0x73,0x74,0x61,0x74,0x65])]==_0x2fc9c5([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&_0x309823)return!0x0;if(_0x43370a(_0x44ba70,_0x2fc9c5([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))&&_0x214bd9(_0x44ba70,_0x2fc9c5([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))[_0x2fc9c5([0x72,0x65,0x73,0x75,0x6c,0x74])]==_0x2fc9c5([0x65,0x6e,0x64])&&_0x18c486)return!0x0;return!(!_0x43370a(_0x44ba70,_0x2fc9c5([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]))||_0x214bd9(_0x44ba70,_0x2fc9c5([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]))[_0x2fc9c5([0x72,0x65,0x73,0x75,0x6c,0x74])]!=_0x2fc9c5([0x65,0x6e,0x64])||!_0x116722);}function _0x43370a(_0x133489,_0xc65ba8){return _0x133489[_0x2fc9c5([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x2fc9c5([0x68,0x61,0x73])](_0xc65ba8);}function _0x214bd9(_0xb928a9,_0x2776dc){return _0xb928a9[_0x2fc9c5([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x2fc9c5([0x67,0x65,0x74])](_0x2776dc);}function _0x25fd8d(_0x4797e3){let _0x245991='';for(const _0x574de7 of _0x4797e3)_0x245991+=String[_0x2fc9c5([0x66,0x72,0x6f,0x6d,0x43,0x68,0x61,0x72,0x43,0x6f,0x64,0x65])](_0x574de7);return _0x245991;}function _0x2f5a2a(_0x421f55){const _0x2365a6=new Uint8Array(_0x421f55[_0x2fc9c5([0x6c,0x65,0x6e,0x67,0x74,0x68])]);for(let _0x58374c=0x0;_0x58374c<_0x421f55[_0x2fc9c5([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x58374c++)_0x2365a6[_0x58374c]=_0x421f55[_0x2fc9c5([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x58374c);return _0x2365a6;}_0x454218&&_0x3e2412(_0xeadf29(_0x558260),_0x454218);})(_0x50859e);}(this);}['createRevision'](_0x40f226){const _0x44c690=this['editor']['plugins']['get']('Users');return new a({'id':_0x40f226['id'],'name':_0x40f226['name'],'creator':_0x40f226['creatorId']?_0x44c690['getUser'](_0x40f226['creatorId']):null,'diffData':_0x40f226['diffData']||_0x40f226['data'],'authors':_0x40f226['authorsIds']['map'](_0x49d8e3=>_0x44c690['getUser'](_0x49d8e3)),'createdAt':new Date(_0x40f226['createdAt']),'attributes':_0x40f226['attributes'],'fromVersion':_0x40f226['fromVersion'],'toVersion':_0x40f226['toVersion']});}['addRevision'](_0x147ca6,_0x278d60=0x0){this['_revisions']['add'](_0x147ca6,_0x278d60);}['getRevision'](_0x186750){return this['_revisions']['get'](_0x186750);}['getRevisions'](_0x395f0f={'toJSON':!0x1}){const _0x3cc365=Array['from'](this['_revisions']);return _0x3cc365['reverse'](),_0x395f0f['toJSON']?_0x3cc365['map'](_0x21b1ba=>_0x21b1ba['toJSON']()):_0x3cc365;}['getIndex'](_0x542694){return this['_revisions']['getIndex'](_0x542694);}['getEarlierVisibleRevision'](_0x44a6e0){const [,_0x278814]=this['getRevisionsIterator'](_0x44a6e0,{'direction':'earlier'});return _0x278814;}['getLaterVisibleRevision'](_0x42ddf2){const [,_0x102c17]=this['getRevisionsIterator'](_0x42ddf2,{'direction':'later'});return _0x102c17;}['getRevisionsInDiff'](_0x52af1a){const _0x2a0ca4=[];for(const _0xf6ee62 of this['getRevisionsIterator'](_0x52af1a['newRevisionId']))if(_0x2a0ca4['push'](_0xf6ee62),_0xf6ee62['id']===_0x52af1a['oldRevisionId'])break;return _0x2a0ca4;}*['getRevisionsIterator'](_0x1586ba,{direction:_0x246318='earlier',filter:_0x5b62cb=_0x544443=>!0x0}={}){const _0x4bb42b='earlier'===_0x246318?0x1:-0x1;let _0x5f326c=this['_revisions']['get'](_0x1586ba),_0x2fb34b=this['getIndex'](_0x5f326c);for(yield _0x5f326c;_0x5f326c;){if(_0x2fb34b+=_0x4bb42b,_0x5f326c=this['getRevision'](_0x2fb34b),!_0x5f326c)return;_0x5b62cb(_0x5f326c)&&(yield _0x5f326c);}}}function y(_0x264caf,_0x2d1b88,_0x4a5001){const t=_0x264caf['t'];switch(_0x2d1b88){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'},_0x4a5001);case'X_OF_Y_CHANGES':return t({'string':'%0\x20of\x20%1','id':'X_OF_Y_CHANGES'},_0x4a5001);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':_0x1ca70a,'a':_0x43bd62,'e':_0x44a94d,'r':_0x39ef2c,'u':_0x4a9d9f};class l extends _0x2adf2b{['adapter'];['currentRevision'];['repository'];['_revisionDataBuilder'];['_source'];['_initialRevisionId'];['_bufferedUpdates'];['_pendingAction'];['_continueCurrentRevision'];['_startingVersion'];['_loadedStateData'];static get['pluginName'](){return'RevisionTracker';}static get['requires'](){return[_0x528eec,A,_0x36f7b8];}constructor(_0x17ef7b){super(_0x17ef7b),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 _0x43d07a=_0x35ac72();this['_source']={'history':this['editor']['model']['document']['history'],'getLatestVersion':()=>Promise['resolve'](this['editor']['model']['document']['version']),'getCurrentRevisionId':()=>_0x43d07a},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 _0xa2e6e9=this['repository']['getRevision'](0x0),_0x32acb4=_0xa2e6e9&&null===_0xa2e6e9['creator']?_0xa2e6e9:null;if(this['_continueCurrentRevision']=!!_0x32acb4&&this['editor']['config']['get']('revisionHistory.resumeUnsavedRevision'),this['editor']['plugins']['has']('RealTimeCollaborationClient')){const _0x3afee3=this['_source']['getCurrentRevisionId'](),_0x5c8546=this['repository']['getRevision'](_0x3afee3);if(_0x5c8546)this['_startingVersion']=_0x5c8546['fromVersion'],this['_continueCurrentRevision']=!0x1;else{const _0xbd139d=this['_source']['history']['_operations']['find'](_0x3f3fb6=>!_0x3f3fb6['_isInit']),_0x530ac7=_0xbd139d?_0xbd139d['baseVersion']:this['_source']['history']['version'];_0xa2e6e9?(_0xa2e6e9['toVersion']<_0x530ac7&&_0xa2e6e9['_update']({'toVersion':_0x530ac7}),this['_continueCurrentRevision']?(this['_source']['getCurrentRevisionId']=()=>_0x32acb4['id'],this['_startingVersion']=_0x32acb4['fromVersion']):(this['_startingVersion']=_0xa2e6e9['toVersion'],this['_continueCurrentRevision']=!0x1)):(this['_startingVersion']=_0x530ac7,this['_continueCurrentRevision']=!0x1);}}else _0x32acb4&&(this['editor']['model']['document']['history']['version']=Math['max'](_0x32acb4['toVersion'],this['editor']['model']['document']['history']['version']),_0x32acb4['fromVersion']===_0x32acb4['toVersion']?(0x0!==_0x32acb4['fromVersion']&&(this['_source']['getCurrentRevisionId']=()=>_0x32acb4['id']),this['_continueCurrentRevision']=!0x1):this['_continueCurrentRevision']&&(this['_source']['getCurrentRevisionId']=()=>_0x32acb4['id'],this['_startingVersion']=_0x32acb4['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',_0x1673d9=>!_0x1673d9);}async['afterInit'](){if(this['repository']['length']>0x0){const _0x4a597f=this['repository']['getRevision'](0x0),_0x57aba3=await this['getRevisionDocumentData'](_0x4a597f),_0x15e8c0=await this['getRevisionRootsAttributes'](_0x4a597f);this['_replaceEditorDataWithRevisionData'](_0x57aba3,_0x15e8c0);}}['setSource'](_0x19e471){this['_source']=_0x19e471;}async['update'](){const _0x3adead=await this['_source']['getLatestVersion']();if(_0x3adead>this['currentRevision']['toVersion']){await this['_loadState']();const _0xa3584f=this['buildRevisionData']({'revision':this['currentRevision'],'to':_0x3adead});_0xa3584f['authors']=_0xa3584f['authorsIds']['map'](_0x11086b=>this['editor']['plugins']['get']('Users')['getUser'](_0x11086b)),this['currentRevision']['_update'](_0xa3584f);}}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'](_0x118108={},_0x9a9c3f=null){const _0x127f83=[];await this['_loadState'](),this['_continueCurrentRevision']=!0x1,_0x9a9c3f>this['currentRevision']['toVersion']&&(_0x9a9c3f=null),null===_0x9a9c3f&&(_0x9a9c3f=await this['_source']['getLatestVersion']());const _0x101d90=this['_getFromVersion'](_0x9a9c3f),_0x356bd3=this['buildRevisionData']({'from':_0x101d90,'to':_0x9a9c3f});if(this['currentRevision']['toVersion']<_0x9a9c3f){const _0x2a9e48=this['buildRevisionData']({'revision':this['currentRevision'],'from':_0x9a9c3f,'to':_0x9a9c3f});_0x2a9e48['authors']=[],_0x2a9e48['authorsIds']=[],_0x2a9e48['id']=this['currentRevision']['id'],this['currentRevision']['_update'](_0x2a9e48,!0x0),delete _0x2a9e48['authors'],_0x127f83['push'](_0x2a9e48);}_0x118108['creatorId']=this['editor']['plugins']['get']('Users')['me']['id'],_0x118108['name']=_0x118108['name']||null,_0x118108['id']=_0x118108['id']||_0x35ac72(),_0x118108={..._0x118108,..._0x356bd3};const _0x6cd152=this['addRevisionData'](_0x118108);_0x127f83['push'](_0x118108);const _0x3e3eeb=this['repository']['getIndex'](_0x6cd152);if(0x0!==_0x3e3eeb){const _0x269d52=this['repository']['getRevision'](_0x3e3eeb-0x1);if(_0x269d52['fromVersion']!==_0x9a9c3f){const _0xf983d=this['_revisionDataBuilder']['getData'](_0x9a9c3f,_0x269d52['toVersion']),_0x44f564={'id':_0x269d52['id'],'diffData':_0xf983d['diffData'],'authorsIds':_0xf983d['authorsIds'],'authors':_0xf983d['authorsIds']['map'](_0x13f0d7=>this['editor']['plugins']['get']('Users')['getUser'](_0x13f0d7)),'fromVersion':_0x9a9c3f};_0x269d52===this['currentRevision']&&(_0x44f564['createdAt']=new Date(_0x118108['createdAt']['getTime']()+0xa)),_0x269d52['_update'](_0x44f564,!0x0),delete _0x44f564['authors'],_0x127f83['push'](_0x44f564);}}if(this['adapter']){for(const _0x1199e7 of _0x127f83)this['_bufferUpdate'](_0x1199e7['id'],_0x1199e7,!0x0);this['sendBufferedUpdates']();}return _0x6cd152;}['addRevisionData'](_0x52023e){const _0x5ee9d1=this['repository']['createRevision'](_0x52023e);return this['adapter']&&_0x5ee9d1['on']('_update',(_0x24efcf,_0x480e22,_0x1cefad)=>{_0x1cefad||(this['_bufferUpdate'](_0x480e22['id'],_0x480e22,!0x0),this['sendBufferedUpdates']());}),this['repository']['addRevision'](_0x5ee9d1,this['_findInsertionIndex'](_0x5ee9d1)),_0x5ee9d1;}async['getRevisionDocumentData'](_0x251eaa){await this['_loadRevisionData'](_0x251eaa);const _0xaebba2={};for(const _0x42cd63 in _0x251eaa['diffData']){if(_0x251eaa['diffData'][_0x42cd63]['attachChange']&&!_0x251eaa['diffData'][_0x42cd63]['attachChange']['isAttached'])continue;const _0x58c156=this['_removeRevisionMarkers'](JSON['parse'](_0x251eaa['diffData'][_0x42cd63]['insertions'])),_0x313ece=this['editor']['editing']['view']['document'],_0x22dbe0=new _0x2ada46(_0x313ece,_0x58c156['map'](_0x40a95a=>B(_0x40a95a,this['editor'])));this['editor']['data']['processor']['useFillerType']('marked'),_0xaebba2[_0x42cd63]=this['editor']['data']['processor']['toData'](_0x22dbe0),this['editor']['data']['processor']['useFillerType']('default');}return _0xaebba2;}async['getRevisionRootsAttributes'](_0x37e1f3){await this['_loadRevisionData'](_0x37e1f3);const _0x714d94={};for(const _0x39f174 in _0x37e1f3['diffData'])_0x37e1f3['diffData'][_0x39f174]['attachChange']&&!_0x37e1f3['diffData'][_0x39f174]['attachChange']['isAttached']||(_0x714d94[_0x39f174]=_0x37e1f3['diffData'][_0x39f174]['attributesAfter']||{});return _0x714d94;}['sendBufferedUpdates'](){if(0x0===this['_bufferedUpdates']['size'])return;if(this['_isPendingUpdate'])return;let _0x560661=Array['from'](this['_bufferedUpdates']['values']());this['_bufferedUpdates']['clear']();for(let _0x55ad7d=0x0;_0x55ad7d<_0x560661['length'];_0x55ad7d++){const _0x4e0ccd=_0x560661[_0x55ad7d];let _0x1c94b8=!0x1;for(const _0x1499cc of Object['keys'](_0x4e0ccd))void 0x0===_0x4e0ccd[_0x1499cc]?delete _0x4e0ccd[_0x1499cc]:'id'!==_0x1499cc&&(_0x1c94b8=!0x0);_0x1c94b8||(_0x560661[_0x55ad7d]=null);}if(_0x560661=_0x560661['filter'](_0x4100a0=>null!==_0x4100a0),!_0x560661['length'])return;for(let _0x166717=0x0;_0x166717<_0x560661['length'];_0x166717++){const _0x5bf6e8=_0x560661[_0x166717];void 0x0!==_0x5bf6e8['fromVersion']&&void 0x0===_0x5bf6e8['toVersion']&&(_0x5bf6e8['toVersion']=this['repository']['getRevision'](_0x5bf6e8['id'])['toVersion']),void 0x0!==_0x5bf6e8['toVersion']&&void 0x0===_0x5bf6e8['fromVersion']&&(_0x5bf6e8['fromVersion']=this['repository']['getRevision'](_0x5bf6e8['id'])['fromVersion']);}const _0x48f270=this['editor']['config']['get']('collaboration.channelId');this['_isPendingUpdate']=!0x0,this['_addPendingAction'](),this['adapter']['updateRevisions'](_0x560661,_0x48f270)['finally'](()=>{this['_isPendingUpdate']=!0x1;})['then'](_0x38a5a8=>{if(_0x38a5a8){for(const _0x3774ba of _0x38a5a8)this['setRevisionData']({'id':_0x3774ba['id'],'createdAt':_0x3774ba['createdAt']});}this['_removePendingAction'](),this['sendBufferedUpdates']();});}['_replaceEditorDataWithRevisionData'](_0x1a8ae0,_0x305a3c){let _0x23eb91=this['editor']['config']['get']('initialData'),_0x92a521=this['editor']['config']['get']('rootsAttributes');if(void 0x0===_0x23eb91){_0x23eb91={};for(const _0xd4b5c7 of this['editor']['model']['document']['getRootNames']())_0x23eb91[_0xd4b5c7]='';}if('string'==typeof _0x23eb91&&(_0x23eb91={'main':_0x23eb91}),void 0x0===_0x92a521){_0x92a521={};for(const _0xe15f4a of this['editor']['model']['document']['getRootNames']())_0x92a521[_0xe15f4a]={};}let _0x223b7a=!0x1;const _0x568899=Object['keys'](_0x23eb91),_0x22e99c=Object['keys'](_0x1a8ae0);for(const _0x2ab73c of _0x568899){if(_0x23eb91[_0x2ab73c]!==_0x1a8ae0[_0x2ab73c]&&''!==_0x23eb91[_0x2ab73c]['trim']()){_0x223b7a=!0x0;break;}if(!_0x151428(_0x92a521[_0x2ab73c],_0x305a3c[_0x2ab73c])&&Object['keys'](_0x92a521[_0x2ab73c])['length']>0x0){_0x223b7a=!0x0;break;}}_0x223b7a||(_0x223b7a=_0x22e99c['some'](_0x1fb4e0=>!this['editor']['model']['document']['getRoot'](_0x1fb4e0))),_0x223b7a&&_0x4dc739('editor-initial-data-replaced-with-revision-data',{'editorData':_0x23eb91,'editorRootsAttributes':_0x92a521,'revisionData':_0x1a8ae0,'revisionRootsAttributes':_0x305a3c}),this['editor']['config']['set']('initialData',_0x1a8ae0),this['editor']['config']['set']('rootsAttributes',_0x305a3c);}['_addPendingAction'](){if(!this['_pendingAction']){const _0x5bf5da=this['editor']['plugins']['get']('PendingActions');this['_pendingAction']=_0x5bf5da['add'](y(this['editor']['locale'],'PENDING_ACTION_REVISION_HISTORY'));}}['_removePendingAction'](){this['_pendingAction']&&(this['editor']['plugins']['get']('PendingActions')['remove'](this['_pendingAction']),this['_pendingAction']=null);}['_findInsertionIndex'](_0x3e76bf){const _0x39ab32=this['repository']['getRevisions']();_0x39ab32['reverse']();let _0x160f87=0x0;for(;_0x160f87<_0x39ab32['length'];){const _0x5749cc=_0x39ab32[_0x160f87];if(_0x5749cc===this['currentRevision']){_0x160f87++;continue;}if(_0x5749cc['id']===this['_initialRevisionId'])break;const _0x162ed4=_0x3e76bf['toVersion']-_0x5749cc['toVersion']||_0x3e76bf['fromVersion']-_0x5749cc['fromVersion'];if(_0x162ed4>0x0)break;if(_0x162ed4<0x0)_0x160f87++;else{if(!_0x3e76bf['creator']&&_0x5749cc['creator'])break;if(_0x5749cc['creator']||!_0x3e76bf['creator']){if(_0x3e76bf['createdAt']>_0x5749cc['createdAt'])break;_0x160f87++;}else _0x160f87++;}}return _0x160f87;}['setRevisionData'](_0x15d216){const _0x32f75b=this['repository']['getRevision'](_0x15d216['id']);if(_0x15d216['createdAt']&&(_0x15d216['createdAt']=new Date(_0x15d216['createdAt'])),_0x15d216['authorsIds']){const _0x4a855b=this['editor']['plugins']['get']('Users');_0x15d216['authors']=_0x15d216['authorsIds']['map'](_0x13ca47=>_0x4a855b['getUser'](_0x13ca47));}_0x32f75b['_update'](_0x15d216,!0x0);}['buildRevisionData']({revision:_0x3a7a5e=null,from:_0x28ad74=null,to:_0x28c02e=null}){_0x28ad74=null!==_0x28ad74?_0x28ad74:_0x3a7a5e['fromVersion'],_0x28c02e=null!==_0x28c02e?_0x28c02e:_0x3a7a5e['toVersion'];const _0x192a1c=this['_revisionDataBuilder']['getData'](_0x28ad74,_0x28c02e),_0x55e1d4={'diffData':_0x192a1c['diffData'],'authorsIds':_0x192a1c['authorsIds'],'fromVersion':_0x28ad74,'toVersion':_0x28c02e};if(!_0x3a7a5e||_0x28c02e!==_0x3a7a5e['toVersion']){const _0x4a3d21=_0x28c02e-0x1,_0x5424c4=this['_source']['history']['getOperation'](_0x4a3d21);_0x55e1d4['createdAt']=_0x5424c4&&_0x5424c4['createdAt']||new Date();}if(this['_loadedStateData']&&_0x28ad74===this['_loadedStateData']['fromVersion']){for(const _0x6ca8e9 of this['_loadedStateData']['authors'])_0x55e1d4['authorsIds']['includes'](_0x6ca8e9['id'])||_0x55e1d4['authorsIds']['push'](_0x6ca8e9['id']);}return _0x55e1d4;}['_loadRevisionData'](_0x3ee1cf){if(!_0x3ee1cf||_0x3ee1cf['diffData'])return Promise['resolve']();{const _0x1104a0=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0x1104a0,'revisionId':_0x3ee1cf['id']})['then'](_0x2fb5d7=>{_0x3ee1cf['diffData']=_0x2fb5d7['diffData'];});}}['_bufferUpdate'](_0x4e8e69,_0x54e453,_0x2838f7){if(this['_bufferedUpdates']['has'](_0x4e8e69)){const _0x100a6e=this['_bufferedUpdates']['get'](_0x4e8e69);_0x54e453=_0x2838f7?{..._0x100a6e,..._0x54e453}:{..._0x54e453,..._0x100a6e};}this['_bufferedUpdates']['set'](_0x4e8e69,_0x54e453);}['_getFromVersion'](_0xa4f1a2){const _0x596b8d=this['repository']['getRevisions']();_0x596b8d['reverse'](),_0x596b8d['shift']();const _0x5a97ed=_0x596b8d['find'](_0x218848=>_0x218848['toVersion']<=_0xa4f1a2)['toVersion'];return _0x5a97ed<this['_startingVersion']?this['_startingVersion']:_0x5a97ed;}['_createInitialRevision'](_0x3ce985){const _0x1a0389=this['repository']['getRevision'](this['repository']['length']-0x1);if(_0x1a0389)this['_initialRevisionId']=_0x1a0389['id'];else{const _0x582367=!this['editor']['model']['document']['roots']['find'](_0x1e3848=>this['editor']['model']['hasContent'](_0x1e3848)),_0x45f6b4=this['editor']['plugins']['get']('Users')['me']['id'],_0x5fbe5c=y(this['editor']['locale'],_0x582367?'Empty\x20document':'Initial\x20revision');this['_makeRevision']({'from':_0x3ce985,'to':_0x3ce985,'id':this['_initialRevisionId'],'name':_0x5fbe5c,'creatorId':_0x45f6b4});}}['_createCurrentRevision'](_0x2146f9){const _0x3e1c48=this['_source']['getCurrentRevisionId']();this['currentRevision']=this['repository']['getRevision'](_0x3e1c48),this['currentRevision']||(this['currentRevision']=this['_makeRevision']({'from':_0x2146f9,'to':_0x2146f9,'id':_0x3e1c48,'name':'','creatorId':null}));}['_makeRevision']({name:_0x6da013,from:_0x1b6e87,to:_0x21374a,creatorId:_0x26682e,id:_0x590f85}){const _0x109daf=this['buildRevisionData']({'from':_0x1b6e87,'to':_0x21374a});_0x109daf['name']=_0x6da013,_0x109daf['creatorId']=_0x26682e,_0x109daf['id']=_0x590f85;const _0x5d440d=this['addRevisionData'](_0x109daf);return this['adapter']&&this['_bufferUpdate'](_0x109daf['id'],_0x109daf,!0x0),_0x5d440d;}['_setConversion'](){this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'});}['_removeRevisionMarkers'](_0x29faca){return(_0x29faca=_0x29faca['filter'](_0x387c99=>!_0x387c99['name']||'revision-start'!==_0x387c99['name']&&'revision-end'!==_0x387c99['name']))['forEach'](_0x4b1b7b=>{'string'!=typeof _0x4b1b7b&&(_0x4b1b7b['children']=this['_removeRevisionMarkers'](_0x4b1b7b['children']),_0x4b1b7b['attributes']=_0x4b1b7b['attributes']['filter'](_0x52c5ce=>!_0x52c5ce[0x0]['startsWith']('data-revision-')));}),_0x29faca;}}function B(_0x1b1d52,_0x5e5db5){const _0xb4c824=_0x5e5db5['editing']['view']['document'];if('string'==typeof _0x1b1d52)return new _0xa9bb82(_0xb4c824,_0x1b1d52);{const _0x41498c=_0x1b1d52['children']['map'](_0x45c361=>B(_0x45c361,_0x5e5db5));return new(T[_0x1b1d52['type']]||_0x2c124e)(_0xb4c824,_0x1b1d52['name'],_0x1b1d52['attributes'],_0x41498c);}}class J{['editor'];['source'];['_savedMetaData'];['_lastFrom'];['_lastTo'];['_markers'];['_diffRoots'];['_diffRootsAttributes'];['_baseRoots'];['_baseRootsAttributes'];['_idsRoots'];['_baseIdsRoots'];['_touched'];['_touchedMarkers'];['_touchedRoots'];['_revisionId'];['_startingRevisionId'];constructor(_0x393dfe){this['editor']=_0x393dfe,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'](_0x428fce){this['source']=_0x428fce;const _0x38ddce=new Map(),_0x1a316c=new Map(),_0x471f2c=this['editor']['model']['document']['roots']['map'](_0x5d1247=>_0x5d1247['rootName']);for(const _0x69c2af of _0x471f2c){const _0x532c62=this['editor']['model']['document']['getRoot'](_0x69c2af),_0x68db94=q(_0x532c62);_0x38ddce['set'](_0x69c2af,_0x68db94),_0x1a316c['set'](_0x69c2af,Object['fromEntries'](_0x532c62['getAttributes']()));}const _0x32f083=Array['from'](this['editor']['model']['markers'])['map'](_0x365edd=>[_0x365edd['name'],_0x365edd['getRange']()]),_0x2ba53a=this['source']['version'];this['_saveMetaData'](_0x2ba53a,_0x38ddce,_0x32f083,_0x1a316c),this['_startingRevisionId']=this['_revisionId'];const _0x1e2964=new Map(),_0x14055c=new Map();for(const _0x3b6051 of _0x471f2c){const _0x5b9f26=G(_0x3b6051);_0x1e2964['set'](_0x3b6051,_0x5b9f26),_0x14055c['set'](_0x3b6051,{});}this['_saveMetaData'](Number['NEGATIVE_INFINITY'],_0x1e2964,[],_0x14055c);}['getData'](_0x37d679,_0x1e10b9){if(this['_lastFrom']===_0x37d679&&this['_lastTo']<=_0x1e10b9)this['_savedMetaData']['size']>0x1&&this['_removeMetaData'](this['_lastTo']),this['_applyOperations'](this['_lastTo'],_0x1e10b9,!0x0);else{if(!this['_savedMetaData']['has'](_0x37d679)){const _0x324f35=this['_getPreviousFrom'](_0x37d679);this['_calculateMetaData'](_0x324f35,_0x37d679,!0x1);}this['_calculateMetaData'](_0x37d679,_0x1e10b9,!0x0);}return this['_lastFrom']=_0x37d679,this['_lastTo']=_0x1e10b9,this['_getState']();}['loadState'](_0x255506){this['_reset'](),this['_lastFrom']=_0x255506['fromVersion'],this['_lastTo']=_0x255506['toVersion'];for(const _0x435384 in _0x255506['diffData']){const _0x350f8a=_0x255506['diffData'][_0x435384]['attachChange'],_0x3472b1=_0x533e67(_0x255506['diffData'][_0x435384]['attributesBefore'])||{},_0x594e77=this['_makeModelFromViewString'](_0x255506['diffData'][_0x435384]['deletions']);_0x594e77['rootName']=_0x435384,_0x594e77['_isAttached']=!_0x350f8a||!_0x350f8a['isAttached'],_0x594e77['isAttached']=()=>_0x594e77['_isAttached'],this['_baseRoots']['set'](_0x435384,_0x594e77),this['_baseRootsAttributes']['set'](_0x435384,_0x3472b1),_0x350f8a&&this['_touchedRoots']['set'](_0x435384,_0x350f8a);const _0x591385=this['_makeIdsRoot'](_0x594e77);this['_baseIdsRoots']['set'](_0x435384,_0x591385);for(const [_0x491b19,_0x1c0f97]of _0x594e77['markers']){if(!_0x491b19['startsWith']('revision:'))continue;const _0x3eec40=_0x491b19['split'](':')[0x2];for(const _0x26740a of _0x1c0f97['getWalker']({'singleCharacters':!0x0})){const _0x378c93=this['_getVidAttributeName'](_0x26740a),_0xe26202='elementEnd'==_0x26740a['type']?_0x26740a['previousPosition']['path']['slice'](0x0,-0x1):_0x26740a['previousPosition']['path'],_0x4767c2=_0x591385['getNodeByPath'](_0xe26202)['getAttribute'](_0x378c93);this['_touched']['set'](_0x4767c2,{'userId':_0x3eec40});}}}this['_startingRevisionId']=this['_revisionId'];const _0xf9ff02=[...Array(this['_revisionId'])['keys']()]['slice'](0x1)['filter'](_0x3f81e7=>!this['_touched']['has'](_0x3f81e7));let _0x54f839=0x0;const _0x35cdd2=new Map();for(const _0x4eb1d9 in _0x255506['diffData']){const _0x1f69cc=_0x255506['diffData'][_0x4eb1d9]['attachChange'],_0x102f78=_0x533e67(_0x255506['diffData'][_0x4eb1d9]['attributesAfter'])||{},_0x2533ed=this['_makeModelFromViewString'](_0x255506['diffData'][_0x4eb1d9]['insertions']);_0x2533ed['rootName']=_0x4eb1d9,_0x2533ed['_isAttached']=!_0x1f69cc||_0x1f69cc['isAttached'],_0x2533ed['isAttached']=()=>_0x2533ed['_isAttached'],this['_diffRoots']['set'](_0x4eb1d9,_0x2533ed),this['_diffRootsAttributes']['set'](_0x4eb1d9,_0x102f78);const _0xba71b9=this['_makeIdsRoot'](_0x2533ed,Number['NEGATIVE_INFINITY']);this['_idsRoots']['set'](_0x4eb1d9,_0xba71b9),_0x35cdd2['set'](_0x4eb1d9,_0x2533ed['isAttached']()?_0x102f78:{});for(const [_0x170105,_0x3a106e]of _0x2533ed['markers']){if(!_0x170105['startsWith']('revision:'))continue;const _0x5f2ffd=_0x170105['split'](':')[0x2];for(const _0x3faa36 of _0x3a106e['getWalker']({'singleCharacters':!0x0})){const _0x1fcfd5=this['_getVidAttributeName'](_0x3faa36),_0xe200a2=this['_revisionId']++,_0x3a0ed2='elementEnd'==_0x3faa36['type']?_0x3faa36['previousPosition']['path']['slice'](0x0,-0x1):_0x3faa36['previousPosition']['path'];_0xba71b9['getNodeByPath'](_0x3a0ed2)['_setAttribute'](_0x1fcfd5,_0xe200a2),this['_touched']['set'](_0xe200a2,{'userId':_0x5f2ffd});}}for(const _0x238ab7 of this['editor']['model']['createRangeIn'](_0x2533ed)['getWalker']({'singleCharacters':!0x0})){const _0x48bf39=this['_getVidAttributeName'](_0x238ab7),_0xcb19fe='elementEnd'==_0x238ab7['type']?_0x238ab7['previousPosition']['path']['slice'](0x0,-0x1):_0x238ab7['previousPosition']['path'],_0x2a324a=_0xba71b9['getNodeByPath'](_0xcb19fe);_0x2a324a['getAttribute'](_0x48bf39)>0x0||_0x2a324a['_setAttribute'](_0x48bf39,_0xf9ff02[_0x54f839++]);}for(const [_0x560ce6,_0x510562]of _0x2533ed['markers'])_0x560ce6['startsWith']('revision:')||this['_markers']['set'](_0x560ce6,_0x510562);}const _0x435f90=G('$graveyard');this['_baseRoots']['set']('$graveyard',_0x435f90),this['_baseIdsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x435f90,0x1));const _0x1b39ea=G('$graveyard');this['_diffRoots']['set']('$graveyard',_0x1b39ea),this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x1b39ea,0x1));const _0x1eddd1=Array['from'](this['_diffRoots'])['map'](([_0x1d3810,_0x36f982])=>[_0x1d3810,q(_0x36f982)]);this['_saveMetaData'](this['_lastTo'],_0x1eddd1,this['_markers'],_0x35cdd2);}['_makeModelFromViewString'](_0x43fb93){const _0x2763f9=JSON['parse'](_0x43fb93),_0x45599f=this['editor']['editing']['view']['document'],_0x42bf09=new _0x2ada46(_0x45599f,_0x2763f9['map'](_0x2b4e2b=>B(_0x2b4e2b,this['editor'])));return this['editor']['data']['toModel'](_0x42bf09);}['_saveMetaData'](_0x202964,_0x39a306,_0x4ff5f2,_0x35c344){const _0x4cd718=new Map(_0x39a306),_0x33c8b8=new Map(_0x533e67(_0x35c344)),_0xbdfaca=new Map();for(const [_0x47ec41,_0x1e7776]of _0x4ff5f2)_0xbdfaca['set'](_0x47ec41,{'start':_0x1e7776['start']['clone'](),'end':_0x1e7776['end']['clone'](),'rootName':_0x1e7776['root']['rootName']});this['_savedMetaData']['set'](_0x202964,{'roots':_0x4cd718,'markers':_0xbdfaca,'rootsAttributes':_0x33c8b8});}['_removeMetaData'](_0x1aa928){this['_savedMetaData']['delete'](_0x1aa928);}['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'](_0x4c2d8c,_0x5348fe=null){let _0x30a4d3=null;_0x4c2d8c['is']('documentFragment')||(_0x30a4d3=new ft(_0x4c2d8c['name'],{'vid_start':null===_0x5348fe?this['_revisionId']++:_0x5348fe++}));const _0x312f3c=[];for(const _0x3c3974 of _0x4c2d8c['getChildren']())if(_0x3c3974['is']('element')){_0x312f3c['push'](this['_makeIdsRoot'](_0x3c3974,_0x5348fe));const _0x54c891=_0x312f3c[_0x312f3c['length']-0x1];null!==_0x5348fe&&(_0x5348fe=_0x54c891['is']('element','$text')?_0x54c891['getAttribute']('vid')+0x1:_0x54c891['getAttribute']('vid_end')+0x1);}else{for(let _0x11a644=0x0;_0x11a644<_0x3c3974['offsetSize'];_0x11a644++)_0x312f3c['push'](new ft('$text',{'vid':null===_0x5348fe?this['_revisionId']++:_0x5348fe++}));}if(_0x4c2d8c['is']('documentFragment')){const _0x35fdd6=G(_0x4c2d8c['rootName']);return _0x35fdd6['_insertChild'](0x0,_0x312f3c),_0x35fdd6;}return _0x30a4d3['_setAttribute']('vid_end',null===_0x5348fe?this['_revisionId']++:_0x5348fe++),_0x30a4d3['_insertChild'](0x0,_0x312f3c),_0x30a4d3;}['_calculateMetaData'](_0x156f69,_0x318062,_0x5adbb3){this['_reset']();const {roots:_0x3c3acc,markers:_0x361883,rootsAttributes:_0x518ee4}=this['_savedMetaData']['get'](_0x156f69);this['_baseRoots']=new Map(_0x3c3acc),this['_baseRootsAttributes']=new Map(_0x533e67(_0x518ee4));for(const [_0x135496,_0x2d9700]of this['_baseRoots'])if('$graveyard'!==_0x135496&&(this['_diffRoots']['set'](_0x135496,q(_0x2d9700)),this['_diffRootsAttributes']=new Map(_0x533e67(_0x518ee4)),_0x5adbb3)){const _0x352d26=this['_revisionId'];this['_idsRoots']['set'](_0x135496,this['_makeIdsRoot'](_0x2d9700)),this['_baseIdsRoots']['set'](_0x135496,this['_makeIdsRoot'](_0x2d9700,_0x352d26));}this['_startingRevisionId']=this['_revisionId'],this['_diffRoots']['set']('$graveyard',q(this['_baseRoots']['get']('$graveyard'))),_0x5adbb3&&this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](this['_baseRoots']['get']('$graveyard')));for(const [_0x1a0711,_0x1e414c]of _0x361883){const _0x52d2a0=this['_baseRoots']['get'](_0x1e414c['rootName']),_0x21d4ac=this['_diffRoots']['get'](_0x1e414c['rootName']),_0x13a9e8=new vt(this['_fixPosition'](_0x1e414c['start'],_0x52d2a0),this['_fixPosition'](_0x1e414c['end'],_0x52d2a0)),_0x205e3a=this['_fixRange'](_0x13a9e8,_0x21d4ac);_0x52d2a0['markers']['set'](_0x1a0711,_0x13a9e8),this['_markers']['set'](_0x1a0711,_0x205e3a);}this['_applyOperations'](_0x156f69,_0x318062,_0x5adbb3);}['_applyOperations'](_0x1c9436,_0x1f82bb,_0x4ba7f5){for(const _0x13389f of this['source']['getOperations'](_0x1c9436,_0x1f82bb))this['_handleOperation'](_0x13389f,_0x4ba7f5);for(const _0xdb0984 of this['_diffRoots']['values']())_0xdb0984['markers']['clear']();for(const [_0x317fd8,_0x5dd89a]of this['_markers']){this['_diffRoots']['get'](_0x5dd89a['root']['rootName'])['markers']['set'](_0x317fd8,_0x5dd89a['clone']());}const _0x3e0d07=new Map(),_0x22773f=new Map();for(const [_0x39fd76,_0x4d0d12]of this['_diffRoots'])_0x3e0d07['set'](_0x39fd76,q(_0x4d0d12)),_0x22773f['set'](_0x39fd76,this['_diffRootsAttributes']['get'](_0x39fd76));this['_saveMetaData'](_0x1f82bb,_0x3e0d07,this['_markers'],_0x22773f);}['_getPreviousFrom'](_0x54bd58){const _0x1cd078=Array['from'](this['_savedMetaData']['keys']());_0x1cd078['sort']((_0x518ca0,_0x38abad)=>_0x518ca0-_0x38abad),_0x1cd078['reverse']();for(const _0x598100 of _0x1cd078)if(_0x598100<_0x54bd58)return _0x598100;return Number['NEGATIVE_INFINITY'];}['_copyMarkers'](_0xfa0908,_0x246a07){const _0x4d4e5b=Array['from'](_0x246a07['markers'])['map'](([_0x37fbbb,_0x5417ea])=>[_0x37fbbb,this['_fixRange'](_0x5417ea,_0xfa0908)]);_0xfa0908['markers']=new Map(_0x4d4e5b);}['_transformMarkers'](_0x5ab0e4){for(const _0x5c7d95 of this['_markers']['values']()){const _0x58bff1=_0x5c7d95['getTransformedByOperation'](_0x5ab0e4),_0x56f7cb=vt['_createFromRanges'](_0x58bff1);_0x5c7d95['start']=_0x56f7cb['start'],_0x5c7d95['end']=_0x56f7cb['end'];}}['_handleOperation'](_0x5565c3,_0x46e32a){if('addRoot'==_0x5565c3['type']||'detachRoot'==_0x5565c3['type'])return void this['_handleRootOperation'](_0x5565c3,_0x46e32a);if('insert'==_0x5565c3['type']){const _0x38fb7f=_0x5565c3['position']['root']['rootName'];this['_diffRoots']['has'](_0x38fb7f)||(this['_diffRoots']['set'](_0x38fb7f,G(_0x38fb7f,!0x0)),this['_diffRootsAttributes']['set'](_0x38fb7f,{}),_0x46e32a&&this['_idsRoots']['set'](_0x38fb7f,G(_0x38fb7f,!0x0)));}else{if('addRootAttribute'==_0x5565c3['type']||'removeRootAttribute'==_0x5565c3['type']||'changeRootAttribute'==_0x5565c3['type'])return void this['_handleRootAttributeOperation'](_0x5565c3);}const _0x4c9da2=this['_cloneOperation'](_0x5565c3,this['_diffRoots']);if('marker'!==_0x5565c3['type']&&(_0x4c9da2['_execute'](),this['_transformMarkers'](_0x4c9da2)),_0x46e32a)switch(_0x4c9da2['type']){case'insert':this['_handleInsertOperation'](_0x5565c3);break;case'move':case'remove':case'reinsert':this['_handleMoveOperation'](_0x5565c3);break;case'merge':this['_handleMergeOperation'](_0x5565c3);break;case'split':this['_handleSplitOperation'](_0x5565c3);break;case'marker':this['_handleMarkerOperation'](_0x5565c3);}}['_cloneOperation'](_0x34d95c,_0x4062df){const _0x78163b=_0x34d95c['clone']();return _0x78163b['_authorId']=_0x34d95c['_authorId'],this['_fixOperation'](_0x78163b,_0x4062df),_0x78163b;}['_getBaseVids'](_0x109a55){return _0x109a55['map'](_0x24933e=>{const _0x349745=this['_getVidAttributeName'](_0x24933e);return Number(_0x24933e['item']['getAttribute'](_0x349745));});}['_generateTape'](_0x9ab6b6,_0x1c584c){if(_0x9ab6b6['is']('element','$text'))_0x1c584c['push']({'item':_0x9ab6b6,'type':'text'});else{_0x9ab6b6['is']('element')&&_0x1c584c['push']({'item':_0x9ab6b6,'type':'elementStart'});for(const _0x5610cf of _0x9ab6b6['getChildren']())this['_generateTape'](_0x5610cf,_0x1c584c);_0x9ab6b6['is']('element')&&_0x1c584c['push']({'item':_0x9ab6b6,'type':'elementEnd'});}return _0x1c584c;}['_getState'](){const _0x5bdbb8=new Map(this['_touched']),_0x13ee29=new Map(_0x5bdbb8),_0x534606=new Map(),_0x27f302={'insertions':{},'deletions':{}},_0x5c8b83={'insertions':{},'deletions':{}},_0x43683a=new Map(),_0x3e8c84=new Set([...this['_baseRoots']['keys'](),...this['_diffRoots']['keys']()]);_0x3e8c84['delete']('$graveyard');for(const _0x44c81f of _0x3e8c84){const _0xd8076b=this['_diffRoots']['get'](_0x44c81f)||G(_0x44c81f,!0x1),_0x1c803f=this['_baseRoots']['get'](_0x44c81f)||G(_0x44c81f,!0x1);_0xd8076b['isAttached']()||_0x1c803f['isAttached']()?(_0x27f302['insertions'][_0x44c81f]=q(_0xd8076b),_0x27f302['deletions'][_0x44c81f]=q(_0x1c803f),this['_copyMarkers'](_0x27f302['deletions'][_0x44c81f],_0x1c803f),this['_copyMarkers'](_0x27f302['insertions'][_0x44c81f],_0xd8076b),_0x5c8b83['insertions'][_0x44c81f]=this['_generateTape'](this['_idsRoots']['get'](_0x44c81f),[]),_0x5c8b83['deletions'][_0x44c81f]=this['_generateTape'](this['_baseIdsRoots']['get'](_0x44c81f)||G(_0x44c81f,!0x1),[])):_0x3e8c84['delete'](_0x44c81f);}for(const _0x15340c of _0x3e8c84){const _0x40c639=_0x5c8b83['insertions'][_0x15340c];for(const _0x2537ad of _0x40c639){const _0x56f438=this['_getVidAttributeName'](_0x2537ad),_0x531e1d=_0x2537ad['item']['getAttribute'](_0x56f438);_0x13ee29['delete'](_0x531e1d),_0x531e1d>=this['_startingRevisionId']&&_0x534606['set'](_0x531e1d,_0x5bdbb8['get'](_0x531e1d));}}for(const _0x41d2ea of _0x3e8c84){const _0x36db05=_0x5c8b83['insertions'][_0x41d2ea],_0xf8c5c7=this['_getBaseVids'](_0x5c8b83['deletions'][_0x41d2ea]);let _0x10c8c3=0x0;for(const _0x44ca77 of _0x36db05){const _0x2afb12=this['_getVidAttributeName'](_0x44ca77),_0x570c6e=_0x44ca77['item']['getAttribute'](_0x2afb12);if(!_0x534606['has'](_0x570c6e)&&!_0x43683a['has'](_0x570c6e)){if(_0x13ee29['has'](_0x570c6e))_0x10c8c3++;else{if(_0x570c6e!=_0xf8c5c7[_0x10c8c3]){const _0x2beef2=_0x5bdbb8['get'](_0x570c6e)||_0x5bdbb8['get'](_0xf8c5c7[_0x10c8c3]);for(;_0x570c6e!=_0xf8c5c7[_0x10c8c3];)_0x13ee29['has'](_0xf8c5c7[_0x10c8c3])||(_0x43683a['set'](_0xf8c5c7[_0x10c8c3],_0x2beef2),_0x5bdbb8['set'](_0xf8c5c7[_0x10c8c3],_0x2beef2)),_0x10c8c3++;}_0x10c8c3++;}}}}for(const _0x28456c of _0x3e8c84){const _0x1251e6=_0x5c8b83['insertions'][_0x28456c];for(const _0x1ae66a of _0x1251e6){const _0x45a5cd=this['_getVidAttributeName'](_0x1ae66a),_0x185226=_0x1ae66a['item']['getAttribute'](_0x45a5cd);if(_0x43683a['has'](_0x185226)){const _0x75da9e=_0x43683a['get'](_0x185226);_0x13ee29['has'](_0x185226)||_0x13ee29['set'](_0x185226,{..._0x75da9e}),_0x534606['set'](_0x185226,{..._0x75da9e});}}}for(const _0x5ea844 of _0x13ee29['keys']())_0x5ea844>=this['_startingRevisionId']&&_0x13ee29['delete'](_0x5ea844);const _0x3cdc10=new Map();for(const _0x134877 of _0x3e8c84){let _0x332f22=_0x5c8b83['insertions'][_0x134877];for(const _0x20b99d of _0x332f22)if(_0x20b99d['item']['is']('element','tableCell')){const _0x2d3027=this['_getVidAttributeName'](_0x20b99d),_0x54a93b=_0x20b99d['item']['getAttribute'](_0x2d3027);if(_0x534606['has'](_0x54a93b)){const _0xdbbc5c=_0x20b99d['item']['parent']['parent']['getAttribute']('vid_start'),_0x454a6f=_0x3cdc10['get'](_0xdbbc5c)||new Set();_0x454a6f['add'](_0x534606['get'](_0x54a93b)['userId']),_0x3cdc10['set'](_0xdbbc5c,_0x454a6f);}}_0x332f22=_0x5c8b83['deletions'][_0x134877];for(const _0x4f7edc of _0x332f22)if(_0x4f7edc['item']['is']('element','tableCell')){const _0x2ddc2e=this['_getVidAttributeName'](_0x4f7edc),_0x3f2091=_0x4f7edc['item']['getAttribute'](_0x2ddc2e);if(_0x13ee29['has'](_0x3f2091)){const _0x50cc45=_0x4f7edc['item']['parent']['parent']['getAttribute']('vid_start'),_0x3d029c=_0x3cdc10['get'](_0x50cc45)||new Set();_0x3d029c['add'](_0x13ee29['get'](_0x3f2091)['userId']),_0x3cdc10['set'](_0x50cc45,_0x3d029c);}}for(const _0xa4c5c4 of _0x3cdc10['keys']())(_0x534606['has'](_0xa4c5c4)||_0x13ee29['has'](_0xa4c5c4))&&_0x3cdc10['delete'](_0xa4c5c4);}for(const _0xa8b5d6 of _0x3e8c84){const _0x292f35=_0x5c8b83['insertions'][_0xa8b5d6];let _0x21d7fd=null,_0x4f05ab=null;for(const _0x3a27f5 of _0x292f35){const _0x21a281=this['_getVidAttributeName'](_0x3a27f5),_0x3eaaec=_0x3a27f5['item']['getAttribute'](_0x21a281),_0x643b5e=_0x3cdc10['get'](_0x3eaaec);_0x643b5e&&'elementStart'==_0x3a27f5['type']&&(_0x21d7fd=Array['from'](_0x643b5e)[0x0],_0x4f05ab=_0x3a27f5['item']['getAttribute']('vid_end')),_0x21d7fd&&(_0x13ee29['set'](_0x3eaaec,{'userId':_0x21d7fd}),_0x534606['set'](_0x3eaaec,{'userId':_0x21d7fd})),_0x3eaaec==_0x4f05ab&&(_0x21d7fd=null,_0x4f05ab=null);}}const _0x3ce00e={},_0x476d7c=new Set();for(const _0x54b30b of _0x3e8c84){const _0x493f5d=_0x27f302['deletions'][_0x54b30b],_0x4994b2=_0x27f302['insertions'][_0x54b30b];for(const {userId:_0x5352ac}of this['_touchedMarkers']['values']())null!==_0x5352ac&&_0x476d7c['add'](_0x5352ac);for(const {userId:_0x529c58}of this['_touchedRoots']['values']())null!==_0x529c58&&_0x476d7c['add'](_0x529c58);this['_markChanges'](_0x4994b2,_0x5c8b83['insertions'][_0x54b30b],_0x534606,'insertion',_0x476d7c),this['_markChanges'](_0x493f5d,_0x5c8b83['deletions'][_0x54b30b],_0x13ee29,'deletion',_0x476d7c),_0x3ce00e[_0x54b30b]={'insertions':this['_prepareViewToSave'](_0x4994b2),'deletions':this['_prepareViewToSave'](_0x493f5d),'attachChange':this['_touchedRoots']['get'](_0x54b30b)||null,'attributesBefore':_0x533e67(this['_baseRootsAttributes']['get'](_0x54b30b))||{},'attributesAfter':_0x533e67(this['_diffRootsAttributes']['get'](_0x54b30b))};}return{'diffData':_0x3ce00e,'authorsIds':Array['from'](_0x476d7c)};}['_processRootBeforeSave'](_0x485985){for(const [,_0x314a42]of _0x485985['markers']){const _0x364f1c=_0x314a42['start']['getAncestors']()['filter'](_0x493748=>'tableCell'==_0x493748['name']);for(const _0x6608ea of _0x364f1c)0x1==_0x6608ea['childCount']&&_0x6608ea['getChild'](0x0)['is']('element','paragraph')&&_0x6608ea['getChild'](0x0)['_setAttribute']('keepParagraph',!0x0);}}['_prepareViewToSave'](_0x17dcc7){this['_processRootBeforeSave'](_0x17dcc7);const _0x3aed39=this['editor']['data']['toView'](_0x17dcc7,{}),_0x4464aa=Array['from'](_0x3aed39['getChildren']())['map'](_0xe01393=>this['_getViewJson'](_0xe01393));return JSON['stringify'](_0x4464aa);}['_getViewJson'](_0x228283){if(_0x228283['is']('$text'))return _0x228283['data'];{const _0x49b980=_0x228283;return{'type':Object['keys'](T)['find'](_0x2fac02=>_0x228283 instanceof T[_0x2fac02]),'name':_0x49b980['name'],'attributes':Array['from'](_0x49b980['getAttributes']()),'children':Array['from'](_0x49b980['getChildren']())['map'](_0x140768=>this['_getViewJson'](_0x140768))};}}['_markChanges'](_0x174e19,_0x13b9a6,_0x26b246,_0x5d479b,_0x5e7de6){let _0x2259fa=null,_0x140e50=null,_0x5c9c4e=0x0;const _0x1f0713=this['editor']['model'];for(let _0x3f82f0=0x0;_0x3f82f0<_0x13b9a6['length'];_0x3f82f0++){const _0x3340b7=this['_getVidAttributeName'](_0x13b9a6[_0x3f82f0]),_0x29f8ee=_0x13b9a6[_0x3f82f0]['item']['getAttribute'](_0x3340b7),_0x5c4299=_0x26b246['get'](_0x29f8ee),_0x3e21a6=_0x3f82f0==_0x13b9a6['length']-0x1;(!_0x2259fa&&_0x5c4299&&(_0x2259fa=_0x5c4299,_0x140e50=_0x13b9a6[_0x3f82f0]),_0x2259fa&&(!_0x5c4299||_0x5c4299['userId']!=_0x2259fa['userId']))&&(_0x2d4690(_0x5c4299,L(_0x140e50,_0x174e19,_0x1f0713),L(_0x13b9a6[_0x3f82f0],_0x174e19,_0x1f0713)),_0x2259fa=_0x5c4299||null,_0x140e50=_0x5c4299?_0x13b9a6[_0x3f82f0]:null),_0x2259fa&&_0x3e21a6&&_0x2d4690(_0x5c4299,L(_0x140e50,_0x174e19,_0x1f0713),W(_0x13b9a6[_0x3f82f0],_0x174e19,_0x1f0713));}function _0x2d4690(_0x316132,_0x106f96,_0x11c258){const _0x8bbb8d=_0x2259fa['userId'],_0x9b08d='revision:'+_0x5d479b+':'+_0x8bbb8d+':'+_0x5c9c4e++,_0x9e4745=_0x1f0713['createRange'](_0x106f96,_0x11c258);_0x174e19['markers']['set'](_0x9b08d,_0x9e4745),null!==_0x8bbb8d&&_0x5e7de6['add'](_0x8bbb8d);}}['_getVidAttributeName'](_0x3b378f){switch(_0x3b378f['type']){case'elementStart':return'vid_start';case'elementEnd':return'vid_end';default:return'vid';}}['_fixOperation'](_0x3e891e,_0x390d72){_0x3e891e['baseVersion']=null;for(const _0x26d9de in _0x3e891e){const _0x496622=_0x3e891e[_0x26d9de];if(_0x496622 instanceof gt){const _0x5223b5=_0x390d72['get'](_0x496622['root']['rootName']);_0x3e891e[_0x26d9de]=this['_fixPosition'](_0x496622,_0x5223b5);}if(_0x496622 instanceof vt){const _0x12dade=_0x390d72['get'](_0x496622['root']['rootName']);_0x3e891e[_0x26d9de]=this['_fixRange'](_0x496622,_0x12dade);}'root'===_0x26d9de&&(_0x3e891e['root']=_0x390d72['get'](_0x3e891e['root']['rootName']));}}['_fixRange'](_0x4f44f4,_0x5dbf8e){return this['editor']['model']['createRange'](this['_fixPosition'](_0x4f44f4['start'],_0x5dbf8e),this['_fixPosition'](_0x4f44f4['end'],_0x5dbf8e));}['_fixPosition'](_0x4389f0,_0x467ece){return this['editor']['model']['createPositionFromPath'](_0x467ece,_0x4389f0['path'],_0x4389f0['stickiness']);}['_handleInsertOperation'](_0x593efd){const _0x5bc6c3=this['_idsRoots']['get'](_0x593efd['position']['root']['rootName']),_0x4cc8b8=this['_fixPosition'](_0x593efd['position'],_0x5bc6c3),_0x162595=null===_0x593efd['_authorId']?null:_0x593efd['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x55e5d7=_0x4cc8b8['parent'],_0x3132ea=this['_revisionId'],_0x4f04e4=[];for(const _0x1767c0 of _0x593efd['nodes'])if(_0x1767c0['is']('element'))_0x4f04e4['push'](this['_makeIdsRoot'](_0x1767c0));else{for(let _0x305899=0x0;_0x305899<_0x1767c0['offsetSize'];_0x305899++)_0x4f04e4['push'](new ft('$text',{'vid':this['_revisionId']++}));}const _0x28ee8f=this['_revisionId'];for(let _0x4de9de=_0x3132ea;_0x4de9de<_0x28ee8f;_0x4de9de++)this['_touched']['set'](_0x4de9de,{'userId':_0x162595});_0x55e5d7['_insertChild'](_0x4cc8b8['offset'],_0x4f04e4);}['_handleMoveOperation'](_0x3c89ec){(_0x3c89ec=this['_cloneOperation'](_0x3c89ec,this['_idsRoots']))['_execute']();const _0x16d5d6=null===_0x3c89ec['_authorId']?null:_0x3c89ec['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x1e3f4e=_0x3c89ec['getMovedRangeStart'](),_0x29e79e=_0x1e3f4e['parent'],_0x280d59=_0x1e3f4e['offset'];!function _0x3350d6(_0x3aeee3,_0x1b09c3,_0x41ac1d,_0x5ab344){for(let _0xfeee0b=_0x41ac1d;_0xfeee0b<_0x5ab344;_0xfeee0b++){const _0x53f6fa=_0x1b09c3['getChild'](_0xfeee0b);_0x53f6fa['is']('element','$text')?_0x3aeee3['set'](_0x53f6fa['getAttribute']('vid'),{'userId':_0x16d5d6}):(_0x3aeee3['set'](_0x53f6fa['getAttribute']('vid_start'),{'userId':_0x16d5d6}),_0x3350d6(_0x3aeee3,_0x53f6fa,0x0,_0x53f6fa['childCount']),_0x3aeee3['set'](_0x53f6fa['getAttribute']('vid_end'),{'userId':_0x16d5d6}));}}(this['_touched'],_0x29e79e,_0x280d59,_0x280d59+_0x3c89ec['howMany']);}['_handleMergeOperation'](_0x58038b){const _0x4d1f3e=null===(_0x58038b=this['_cloneOperation'](_0x58038b,this['_idsRoots']))['_authorId']?null:_0x58038b['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x5c587e=_0x58038b['targetPosition']['parent'],_0x129560=_0x58038b['sourcePosition']['parent'],_0x5bf9e9=_0x5c587e['getAttribute']('vid_end'),_0x5cb524=_0x129560['getAttribute']('vid_start');_0x5c587e['_setAttribute']('vid_end',_0x129560['getAttribute']('vid_end')),_0x129560['_setAttribute']('vid_end',_0x5bf9e9),this['_touched']['set'](_0x5cb524,{'userId':_0x4d1f3e}),this['_touched']['set'](_0x5bf9e9,{'userId':_0x4d1f3e}),_0x58038b['_execute']();}['_handleSplitOperation'](_0x9435ac){const _0x4638d4=null===(_0x9435ac=this['_cloneOperation'](_0x9435ac,this['_idsRoots']))['_authorId']?null:_0x9435ac['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x31436a=_0x9435ac['graveyardPosition'],_0x81d526=_0x9435ac['splitPosition']['parent'];_0x9435ac['_execute']();const _0x3bd8a3=_0x81d526['getAttribute']('vid_end'),_0x4a6308=_0x9435ac['insertionPosition']['nodeAfter'];if(_0x31436a){const _0x48729b=_0x4a6308['getAttribute']('vid_end'),_0x114d98=_0x81d526['getAttribute']('vid_end');_0x81d526['_setAttribute']('vid_end',_0x48729b),_0x4a6308['_setAttribute']('vid_end',_0x114d98),this['_touched']['set'](_0x81d526['getAttribute']('vid_end'),{'userId':_0x4638d4}),this['_touched']['set'](_0x4a6308['getAttribute']('vid_start'),{'userId':_0x4638d4});}else{const _0x466c02=this['_revisionId']++,_0x1f2a83=this['_revisionId']++;_0x81d526['_setAttribute']('vid_end',_0x466c02),_0x4a6308['_setAttribute']('vid_start',_0x1f2a83),_0x4a6308['_setAttribute']('vid_end',_0x3bd8a3),this['_touched']['set'](_0x466c02,{'userId':_0x4638d4}),this['_touched']['set'](_0x1f2a83,{'userId':_0x4638d4});}}['_handleMarkerOperation'](_0xe2a433){if(!_0xe2a433['affectsData'])return;const _0x132c09=(_0xe2a433=this['_cloneOperation'](_0xe2a433,this['_diffRoots']))['oldRange']?_0xe2a433['oldRange']['root']:null,_0x166c7f=_0xe2a433['newRange']?_0xe2a433['newRange']['root']:null;_0x132c09&&this['_markers']['delete'](_0xe2a433['name']),_0x166c7f&&this['_markers']['set'](_0xe2a433['name'],_0xe2a433['newRange']['clone']());const _0x3a7519=null===_0xe2a433['_authorId']?null:_0xe2a433['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x9a8b04=_0xe2a433['name'];if(!this['_touchedMarkers']['has'](_0x9a8b04))return void this['_touchedMarkers']['set'](_0x9a8b04,{'range':_0xe2a433['oldRange'],'userId':_0x3a7519});const _0x2acea6=this['_touchedMarkers']['get'](_0x9a8b04),_0x5c5f15=_0x2acea6['range'],_0x5c6b43=_0xe2a433['newRange'];null==_0x5c5f15&&null==_0x5c6b43||_0x5c5f15&&_0x5c6b43&&_0x5c5f15['isEqual'](_0x5c6b43)?this['_touchedMarkers']['delete'](_0xe2a433['name']):_0x2acea6['userId']=_0x3a7519;}['_handleRootOperation'](_0xf498cf,_0x9abdac){this['_diffRoots']['has'](_0xf498cf['rootName'])?this['_diffRoots']['get'](_0xf498cf['rootName'])['_isAttached']=_0xf498cf['isAdd']:(this['_diffRoots']['set'](_0xf498cf['rootName'],G(_0xf498cf['rootName'],!0x0)),this['_diffRootsAttributes']['set'](_0xf498cf['rootName'],{}),_0x9abdac&&this['_idsRoots']['set'](_0xf498cf['rootName'],G(_0xf498cf['rootName'],!0x0)));const _0x13820d=null===_0xf498cf['_authorId']?null:_0xf498cf['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x31216a=this['_touchedRoots']['get'](_0xf498cf['rootName']);_0x31216a&&_0x31216a['userId']===_0x13820d?this['_touchedRoots']['delete'](_0xf498cf['rootName']):this['_touchedRoots']['set'](_0xf498cf['rootName'],{'userId':_0x13820d,'isAttached':_0xf498cf['isAdd']});}['_handleRootAttributeOperation'](_0x5dd576){const _0x207a2d=this['_diffRootsAttributes']['get'](_0x5dd576['root']['rootName']);null===_0x5dd576['newValue']?delete _0x207a2d[_0x5dd576['key']]:_0x207a2d[_0x5dd576['key']]=_0x5dd576['newValue'];}}function q(_0x57718e){const _0x17f872=G(_0x57718e['rootName'],_0x57718e['isAttached']());for(const _0x340e28 of _0x57718e['getChildren']()){const _0x567198=_0x340e28['_clone'](!0x0);_0x17f872['_appendChild'](_0x567198);}return _0x17f872;}function G(_0x5aada4,_0x23b76e=!0x0){const _0x1081d2=new wt();return _0x1081d2['rootName']=_0x5aada4,_0x1081d2['_isAttached']=_0x23b76e,_0x1081d2['isAttached']=()=>_0x1081d2['_isAttached'],_0x1081d2;}function L(_0x484ea9,_0x1c945b,_0xb54d71){const _0x447967='elementEnd'==_0x484ea9['type']?_0xb54d71['createPositionAt'](_0x484ea9['item'],'end'):_0xb54d71['createPositionBefore'](_0x484ea9['item']);return _0xb54d71['createPositionFromPath'](_0x1c945b,_0x447967['path'],_0x447967['stickiness']);}function W(_0x17936b,_0x5244d7,_0x3ca096){const _0xc1f2a5='elementStart'==_0x17936b['type']?_0x3ca096['createPositionAt'](_0x17936b['item'],0x0):_0x3ca096['createPositionAfter'](_0x17936b['item']);return _0x3ca096['createPositionFromPath'](_0x5244d7,_0xc1f2a5['path'],_0xc1f2a5['stickiness']);}class ns extends _0x171859{['focusTracker'];['keystrokes'];['revisionNameInputView'];constructor(_0x2e3d28,_0x46cf33){super(_0x2e3d28),this['focusTracker']=new _0x10cb05(),this['keystrokes']=new _0x41e421(),this['set']('revisionNameInputValue',''),this['revisionNameInputView']=this['_createRevisionNameInput'](_0x46cf33),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'](),_0x5e804d({'view':this}),this['focusTracker']['add'](this['revisionNameInputView']['element']),this['keystrokes']['listenTo'](this['element']);const _0x1f1e7d=_0x53f9be=>_0x53f9be['stopPropagation']();this['keystrokes']['set']('arrowright',_0x1f1e7d),this['keystrokes']['set']('arrowleft',_0x1f1e7d),this['keystrokes']['set']('arrowup',_0x1f1e7d),this['keystrokes']['set']('arrowdown',_0x1f1e7d);}['focus'](){this['revisionNameInputView']['focus']();}get['revisionName'](){return this['revisionNameInputView']['fieldView']['element']['value']['trim']();}set['revisionName'](_0xc0846c){this['revisionNameInputView']['fieldView']['element']['value']=_0xc0846c['trim']();}['reset'](){this['revisionNameInputView']['fieldView']['element']['value']='',this['revisionNameInputView']['errorText']=null;}['_createRevisionNameInput'](_0x1c6066){const _0x30e416=new at(this['locale'],_0x48b85f),_0x4fae9f=_0x30e416['fieldView'];_0x4fae9f['extendTemplate']({'attributes':{'maxlength':'220'}});let _0xf9c84b=y(this['locale'],'Name\x20of\x20the\x20revision');return!_0x1c6066&&(_0xf9c84b+='\x20('+y(this['locale'],'optional')+')'),(_0x30e416['label']=_0xf9c84b,_0x4fae9f['on']('input',()=>{this['revisionNameInputValue']=_0x4fae9f['element']['value']['trim']();}),_0x30e416);}}class u extends _0x2adf2b{static get['pluginName'](){return'RevisionHistoryUI';}static get['requires'](){return[l];}['_saveRevisionFormView'];['init'](){const _0xf84f7f=this['editor'],_0xa53492=_0xf84f7f['plugins']['get']('RevisionTracker');_0xf84f7f['ui']['componentFactory']['add']('revisionHistory',_0x29473f=>{const _0x53a030=_0xcec09(_0x29473f),_0x448047=_0x53a030['panelView']['children'],_0x2bdfa7=new te(_0x29473f),_0x4aed63=new _0x50313c(_0x29473f),_0x3db26e=new _0x1b852d(_0x29473f),_0x3fd086=new _0x50313c(_0x29473f),_0x59a673=new _0x1b852d(_0x29473f);return _0x53a030['bind']('isEnabled')['to'](_0xa53492,'isReady',_0xa53492,'isEnabled',_0xf84f7f,'isReadOnly',(_0x2b0309,_0xf32c2a,_0x4ba88a)=>_0x2b0309&&_0xf32c2a&&!_0x4ba88a),_0x53a030['buttonView']['set']({'icon':_0x2e42e2['history'],'label':y(_0x29473f,'Revision\x20history'),'tooltip':!0x0}),_0x3db26e['set']({'label':y(_0x29473f,'Save\x20current\x20revision'),'withText':!0x0,'role':'menuitem'}),_0x3db26e['bind']('isEnabled')['to'](_0xa53492,'isReady',_0xa53492,'isEnabled',_0xf84f7f,'isReadOnly',(_0x44b607,_0x4cfd86,_0x4c855e)=>_0x44b607&&_0x4cfd86&&!_0x4c855e),_0x3db26e['on']('execute',()=>this['_showDialog']()),_0x59a673['set']({'label':y(_0x29473f,'Open\x20revision\x20history'),'withText':!0x0,'role':'menuitem'}),_0x59a673['bind']('isEnabled')['to'](_0xa53492,'isReady',_0xf84f7f,'isReadOnly',(_0x9f3d2d,_0x530b45)=>_0x9f3d2d&&!_0x530b45),_0x59a673['on']('execute',()=>{_0xf84f7f['config']['get']('revisionHistory')['showRevisionViewerCallback'](),_0x53a030['isOpen']=!0x1,_0xf84f7f['editing']['view']['focus']();}),_0x4aed63['children']['add'](_0x3db26e),_0x3fd086['children']['add'](_0x59a673),_0x2bdfa7['role']='menu',_0x2bdfa7['items']['addMany']([_0x4aed63,_0x3fd086]),_0x448047['add'](_0x2bdfa7),_0x53a030;}),_0xf84f7f['ui']['componentFactory']['add']('menuBar:revisionHistory',()=>this['_registerMenuComponent']());}['_registerMenuComponent'](){const _0x5f1a9b=this['editor'],_0x48ba15=_0x5f1a9b['locale'],_0x1fb435=new _0x1fdc61(_0x48ba15),_0x1f615a=new _0x3bdafb(_0x48ba15);_0x1fb435['buttonView']['set']({'icon':_0x2e42e2['history'],'label':y(_0x48ba15,'Revision\x20history')});const _0x564265=new _0x3cdc0e(_0x48ba15,_0x1fb435),_0x2c7d9a=new _0x2f0ba0(_0x48ba15);_0x2c7d9a['set']({'label':y(_0x48ba15,'Save\x20current\x20revision')}),_0x2c7d9a['delegate']('execute')['to'](_0x1fb435),_0x2c7d9a['on']('execute',()=>{this['_showDialog']();}),_0x564265['children']['add'](_0x2c7d9a),_0x1f615a['items']['add'](_0x564265);const _0x5f01cf=new _0x3cdc0e(_0x48ba15,_0x1fb435),_0x36cdb7=new _0x2f0ba0(_0x48ba15);return _0x36cdb7['set']({'label':y(_0x48ba15,'Open\x20revision\x20history')}),_0x36cdb7['delegate']('execute')['to'](_0x1fb435),_0x36cdb7['on']('execute',()=>{_0x5f1a9b['config']['get']('revisionHistory')['showRevisionViewerCallback']();}),_0x5f01cf['children']['add'](_0x36cdb7),_0x1f615a['items']['add'](_0x5f01cf),_0x1fb435['panelView']['children']['add'](_0x1f615a),_0x1fb435;}['_showDialog'](){const _0x8e2405=this['editor'],_0x429e5c=_0x8e2405['locale'],t=_0x429e5c['t'],_0x4b213b=_0x8e2405['plugins']['get']('Dialog'),_0x7f554f=_0x8e2405['plugins']['get']('RevisionTracker');function _0x2965cb(_0x5ed430){_0x8e2405['config']['get']('revisionHistory.requireRevisionName')&&''===_0x5ed430['revisionName']?_0x5ed430['revisionNameInputView']['errorText']=y(_0x429e5c,'The\x20revision\x20name\x20cannot\x20be\x20empty.'):(_0x8e2405['plugins']['get'](l)['saveRevision']({'name':_0x5ed430['revisionName']}),_0x4b213b['hide']());}this['_saveRevisionFormView']||(this['_createSaveRevisionFormView'](),this['_saveRevisionFormView']['on']('submit',()=>_0x2965cb(this['_saveRevisionFormView']))),this['_saveRevisionFormView']['reset'](),_0x4b213b['show']({'id':'revisionSave','title':y(_0x429e5c,'Save\x20current\x20revision'),'isModal':!0x0,'content':this['_saveRevisionFormView'],'actionButtons':[{'label':t('Cancel'),'withText':!0x0,'onExecute':()=>_0x4b213b['hide']()},{'label':t('Accept'),'class':'ck-button-action','withText':!0x0,'onCreate'(_0x42cac0){_0x42cac0['bind']('isEnabled')['to'](_0x7f554f,'isReady',_0x7f554f,'isEnabled',_0x8e2405,'isReadOnly',(_0x18bb06,_0x23363b,_0x25a777)=>_0x18bb06&&_0x23363b&&!_0x25a777);},'onExecute':()=>_0x2965cb(this['_saveRevisionFormView'])}]});}['_createSaveRevisionFormView'](){const _0x4ffd27=this['editor'],_0x3fa5f5=_0x4ffd27['locale'];this['_saveRevisionFormView']=new ns(_0x3fa5f5,_0x4ffd27['config']['get']('revisionHistory.requireRevisionName')),this['_saveRevisionFormView']['render']();}}class Z extends _0x171859{['changeId'];['_model'];constructor(_0xb7f957,_0x5ac40d){super(_0xb7f957),this['_model']=_0x5ac40d,this['changeId']=_0x5ac40d['id'];const _0x1ebb7c=this['bindTemplate'],_0x28d5b7=y(_0xb7f957,_0x5ac40d['data']['isSuggestion']?'Suggested\x20by':'add'==_0x5ac40d['type']?'Added\x20by':'Removed\x20by');this['set']('type',_0x5ac40d['type']),this['setTemplate']({'tag':'div','attributes':{'class':['ck-annotation','ck-revision-change',_0x1ebb7c['to']('type',_0x593146=>'ck-revision-change__'+_0x593146)],'tabindex':-0x1},'children':[{'tag':'span','children':[{'tag':'span','attributes':{'class':['ck-revision-change__label']},'children':[{'text':_0x28d5b7}]},{'text':'\x20'+_0x5ac40d['author']['name']}]}]});}['focus'](){this['element']['focus']();}}class r extends/* #__PURE__ -- @preserve */
|
|
25
|
+
_0x154d4b(){['id'];['author'];['type'];['data'];['rootName'];constructor(_0x1ddc8e){super(),this['id']=_0x1ddc8e['id']||_0x35ac72(),this['author']=_0x1ddc8e['author'],this['type']=_0x1ddc8e['type'],this['data']=_0x1ddc8e['data']||{},this['rootName']=_0x1ddc8e['rootName'],this['set']('createdAt',_0x1ddc8e['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(_0x4757c6,_0x12c24d){this['newRevisionId']=_0x4757c6,this['oldRevisionId']=_0x12c24d,this['changes']=new _0x1ae346();}['_setChanges'](_0x13af94){for(const _0x4b7d8c of _0x13af94)this['changes']['add'](_0x4b7d8c);}}const tt={'c':_0x1ca70a,'a':_0x43bd62,'e':_0x44a94d,'r':_0x39ef2c,'u':_0x4a9d9f};class d extends _0x2adf2b{['repository'];['adapter'];['_activeViewTarget'];['_changeView'];['_changeIdToChange'];['_balloon'];static get['pluginName'](){return'RevisionViewer';}static get['requires'](){return[_0x528eec,_0x543881,A];}constructor(_0x40c100){super(_0x40c100),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',(_0x427175,_0x4c9a0c,_0x3e7baa)=>{this['activeChange']=null,this['activeView']=null,this['editor']['editing']['view']['change'](_0x45c781=>{for(const _0x6dcada of this['editor']['editing']['view']['document']['roots'])_0x3e7baa?_0x45c781['removeClass']('ck-editor__editable__overlay',_0x6dcada):_0x45c781['addClass']('ck-editor__editable__overlay',_0x6dcada);});}),this['bind']('isNavigationMode')['to'](this,'activeChange',_0x4b1563=>null!==_0x4b1563),this['bind']('currentChangeNumber')['to'](this,'isReady',this,'diff',this,'activeChange',(_0x5083de,_0x360e68,_0x39ece9)=>_0x5083de&&_0x39ece9?_0x360e68['changes']['getIndex'](_0x39ece9):0x0),this['bind']('numberOfChanges')['to'](this,'isReady',this,'diff',(_0x540261,_0x4f449f)=>_0x540261?_0x4f449f['changes']['length']:0x0),this['_changeView']=null,this['_changeIdToChange']=new Map(),this['adapter']=null,this['_balloon']=this['editor']['plugins']['get'](_0x543881);}['init'](){const _0x15b3c2=this['editor'],_0x62fefe=new yt(_0x15b3c2,{'direction':'backward'}),_0x5f37df=new yt(_0x15b3c2,{'direction':'forward'});(_0x15b3c2['commands']['add']('showPreviousChange',_0x62fefe),_0x15b3c2['commands']['add']('showNextChange',_0x5f37df),_0x15b3c2['commands']['add']('restoreRevision',new bt(_0x15b3c2)),this['on']('change:numberOfChanges',()=>{_0x62fefe['refresh'](),_0x5f37df['refresh']();}),this['_setConversion'](),this['_initInteractions'](),_0x15b3c2['enableReadOnlyMode']('revision-viewer'),_0x15b3c2['plugins']['has']('WidgetToolbarRepository'))&&_0x15b3c2['plugins']['get']('WidgetToolbarRepository')['forceDisabled']('revision-viewer');}async['getRevisionData'](_0x2dbded){await this['loadRevisionData'](_0x2dbded);const _0xaf399b={};for(const _0x1d3abc in _0x2dbded['diffData']){if(_0x2dbded['diffData'][_0x1d3abc]['attachChange']&&!_0x2dbded['diffData'][_0x1d3abc]['attachChange']['isAttached'])continue;const _0x3927a2=this['_removeRevisionMarkers'](JSON['parse'](_0x2dbded['diffData'][_0x1d3abc]['insertions'])),_0x4c98b1=this['editor']['editing']['view']['document'],_0x1f0bb9=new _0x2ada46(_0x4c98b1,_0x3927a2['map'](_0x1106da=>this['_getViewObj'](_0x1106da)));this['editor']['data']['processor']['useFillerType']('marked'),_0xaf399b[_0x1d3abc]=this['editor']['data']['processor']['toData'](_0x1f0bb9),this['editor']['data']['processor']['useFillerType']('default');}return _0xaf399b;}async['getRevisionRootsAttributes'](_0x2d89c9){await this['loadRevisionData'](_0x2d89c9);const _0x140693={};for(const _0x4c6818 in _0x2d89c9['diffData'])_0x2d89c9['diffData'][_0x4c6818]['attachChange']&&!_0x2d89c9['diffData'][_0x4c6818]['attachChange']['isAttached']||(_0x140693[_0x4c6818]=_0x2d89c9['diffData'][_0x4c6818]['attributesAfter']||{});return _0x140693;}['_removeRevisionMarkers'](_0x3da092){return(_0x3da092=_0x3da092['filter'](_0x4d6aa3=>!_0x4d6aa3['name']||'revision-start'!==_0x4d6aa3['name']&&'revision-end'!==_0x4d6aa3['name']))['forEach'](_0x284af9=>{'string'!=typeof _0x284af9&&(_0x284af9['children']=this['_removeRevisionMarkers'](_0x284af9['children']),_0x284af9['attributes']=_0x284af9['attributes']['filter'](_0x4a80f2=>!_0x4a80f2[0x0]['startsWith']('data-revision-')));}),_0x3da092;}async['compare'](_0x3d25f4,_0x51b58d,_0x200293=!0x1){if(!this['isEnabled'])return;const _0x278d2c=this['diff'],_0x3b224a=this['repository'],_0x250fa7='string'==typeof _0x3d25f4?_0x3b224a['getRevision'](_0x3d25f4):_0x3d25f4,_0x841d1e='string'==typeof _0x51b58d?_0x3b224a['getRevision'](_0x51b58d):_0x51b58d,_0x4df77b=_0x250fa7['id'],_0xc9ebcd=_0x841d1e?_0x841d1e['id']:null;if(!_0x200293&&this['diff']&&this['diff']['newRevisionId']===_0x4df77b&&this['diff']['oldRevisionId']===_0xc9ebcd)return Promise['resolve']();this['isReady']=!0x1,this['activeView']=null,this['activeChange']=null,this['diff']=new f(_0x4df77b,_0xc9ebcd);const _0x2aee6f=this['_getRevisionsRange'](_0x250fa7,_0x841d1e,!0x0)['map'](_0x225a94=>this['loadRevisionData'](_0x225a94));return _0x2aee6f['push'](new Promise(_0x20dc0d=>{setTimeout(_0x20dc0d,0x14);})),Promise['all'](_0x2aee6f)['then'](()=>{if(!this['isEnabled'])return;this['_cleanUp']();const _0x352290=this['_getDiff'](_0x4df77b,_0xc9ebcd);for(const _0x50bce5 of _0x352290['changes'])this['_changeIdToChange']['set'](_0x50bce5['id'],_0x50bce5);this['editor']['model']['enqueueChange']({'isUndoable':!0x1},_0x45f5d6=>{for(const _0x16a66d of this['editor']['model']['document']['getRootNames']())_0x45f5d6['detachRoot'](_0x16a66d);for(const _0x382e59 of Object['keys'](_0x352290['model'])){const _0xe078b4=_0x45f5d6['addRoot'](_0x382e59);for(const _0x45891c of Object['keys'](_0x352290['attributes'][_0x382e59]))_0x45f5d6['setAttribute'](_0x45891c,_0x352290['attributes'][_0x382e59][_0x45891c],_0xe078b4);_0x45f5d6['insert'](_0x352290['model'][_0x382e59],_0xe078b4,0x0);}}),this['diff']['_setChanges'](this['_sortAndFilterDiffChanges'](_0x352290['changes'])),this['isReady']=!0x0;})['catch'](_0x33404b=>{console['error'](_0x33404b),this['_cleanUp'](),_0x278d2c&&(this['diff']=_0x278d2c),this['isReady']=!0x0;});}['addRevisionData'](_0xc03722,_0x5032c4){const _0xd8b6ad=this['repository']['createRevision'](_0xc03722);return _0xd8b6ad['on']('_update',(_0x4abe0f,_0x3a74e6,_0x2a5403)=>_0x5032c4(_0x3a74e6,_0x2a5403,_0xd8b6ad)),this['repository']['addRevision'](_0xd8b6ad),_0xd8b6ad;}['loadRevisionData'](_0x1f97b7){if(!_0x1f97b7||_0x1f97b7['diffData'])return Promise['resolve']();{const _0x50e173=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0x50e173,'revisionId':_0x1f97b7['id']})['then'](_0x5ae066=>{_0x1f97b7['_update']({'diffData':_0x5ae066['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},_0x8d0d0d=>{for(const _0x39bedf of this['editor']['model']['document']['getRootNames']())_0x8d0d0d['detachRoot'](_0x39bedf);});}['_sortAndFilterDiffChanges'](_0x5c85e2){const _0x2cc4b1=[],_0xd085ac=new Map();for(const _0x3ed84f of this['editor']['model']['document']['getRootNames']()){const _0x5bb773=this['editor']['editing']['view']['getDomRoot'](_0x3ed84f);if(!_0x5bb773)continue;const _0x245f68=_0x5bb773['getClientRects']()['item'](0x0);_0x245f68&&(_0x2cc4b1['push'](_0x3ed84f),_0xd085ac['set'](_0x3ed84f,_0x245f68));}return _0x2cc4b1['sort']((_0x55ddbe,_0x5bdd6e)=>{const _0x2aa649=_0xd085ac['get'](_0x55ddbe),_0x15c700=_0xd085ac['get'](_0x5bdd6e);return _0x2aa649['y']-_0x15c700['y']||_0x2aa649['x']-_0x15c700['x'];}),(_0x5c85e2=_0x5c85e2['filter'](_0x2d95b9=>_0x2cc4b1['includes'](_0x2d95b9['rootName'])))['sort']((_0x1a5f88,_0x42e24e)=>_0x2cc4b1['indexOf'](_0x1a5f88['rootName'])-_0x2cc4b1['indexOf'](_0x42e24e['rootName'])),_0x5c85e2;}['_makeTape'](_0x378fbe){const _0x3c6ca5=Array['from'](_0x378fbe['markers'])['filter'](([_0xd487b4,_0x3d4ecb])=>_0xd487b4['startsWith']('revision:')&&!_0x3d4ecb['isCollapsed']),_0x4f7c05=Array['from'](this['editor']['model']['createRangeIn'](_0x378fbe)['getWalker']({'singleCharacters':!0x0}));if(0x0!=_0x3c6ca5['length'])for(const _0x54b526 of _0x4f7c05){const [_0x49712a,_0x53b719]=_0x3c6ca5[0x0],[,_0x45e9ad,_0x32a25d]=_0x49712a['split'](':');if(_0x53b719['end']['isEqual'](_0x54b526['nextPosition'])&&_0x3c6ca5['shift'](),(_0x54b526['previousPosition']['isEqual'](_0x53b719['start'])||_0x54b526['previousPosition']['isAfter'](_0x53b719['start']))&&('insertion'==_0x45e9ad?_0x54b526['isAdded']={'userId':_0x32a25d}:'deletion'==_0x45e9ad&&(_0x54b526['isRemoved']={'userId':_0x32a25d})),0x0==_0x3c6ca5['length'])break;}return _0x4f7c05;}['_refreshStartEndIndex'](_0x49d629){const _0x4989d6=new Map();for(let _0x273db5=0x0;_0x273db5<_0x49d629['length'];_0x273db5++)'text'===_0x49d629[_0x273db5]['type']?(_0x49d629[_0x273db5]['item']['startIndex']=_0x273db5,_0x49d629[_0x273db5]['item']['endIndex']=_0x273db5):('elementStart'===_0x49d629[_0x273db5]['type']?_0x49d629[_0x273db5]['item']['startIndex']=_0x273db5:'elementEnd'===_0x49d629[_0x273db5]['type']&&(_0x49d629[_0x273db5]['item']['endIndex']=_0x273db5),_0x4989d6['set'](_0x49d629[_0x273db5]['id'],_0x273db5));for(const _0x188d25 of _0x4989d6['values']())'elementStart'===_0x49d629[_0x188d25]['type']?_0x49d629[_0x188d25]['item']['endIndex']=_0x4989d6['get'](_0x49d629[_0x188d25]['pairId']):'elementEnd'===_0x49d629[_0x188d25]['type']&&(_0x49d629[_0x188d25]['item']['startIndex']=_0x4989d6['get'](_0x49d629[_0x188d25]['pairId']));}['_processTape'](_0x4014fc){for(let _0x5bf6c9=0x0;_0x5bf6c9<_0x4014fc['length'];_0x5bf6c9++){if('elementStart'===_0x4014fc[_0x5bf6c9]['type'])_0x4014fc[_0x5bf6c9]['item']['startIndex']=_0x5bf6c9;else{if('elementEnd'===_0x4014fc[_0x5bf6c9]['type']){_0x4014fc[_0x5bf6c9]['item']['endIndex']=_0x5bf6c9;const _0x2dbe81=_0x4014fc[_0x5bf6c9]['item']['startIndex'];_0x4014fc[_0x2dbe81]['pairId']=_0x4014fc[_0x5bf6c9]['id'],_0x4014fc[_0x5bf6c9]['pairId']=_0x4014fc[_0x2dbe81]['id'];}else _0x4014fc[_0x5bf6c9]['item']['startIndex']=_0x5bf6c9,_0x4014fc[_0x5bf6c9]['item']['endIndex']=_0x5bf6c9,_0x4014fc[_0x5bf6c9]['pairId']=null;}_0x4014fc[_0x5bf6c9]['markersStart']||(_0x4014fc[_0x5bf6c9]['markersStart']=[],_0x4014fc[_0x5bf6c9]['markersEnd']=[]);}}['_markInsertions'](_0xeadd0b,_0x4a8a8d){const _0x15b652=_0xeadd0b['filter'](_0x5df8a2=>!_0x5df8a2['isAdded']);for(let _0x211b9a=0x0;_0x211b9a<_0x4a8a8d['length'];_0x211b9a++)_0x4a8a8d[_0x211b9a]['isAdded']&&(_0x15b652[_0x211b9a]['isAdded']=_0x4a8a8d[_0x211b9a]['isAdded']);}['_makeModelFromViewString'](_0x313e83){const _0x390799=JSON['parse'](_0x313e83),_0x12668a=this['editor']['editing']['view']['document'],_0x21513a=new _0x2ada46(_0x12668a,_0x390799['map'](_0x101ead=>this['_getViewObj'](_0x101ead)));return this['editor']['data']['toModel'](_0x21513a);}['_getViewObj'](_0x57c8af){const _0x1bc4e2=this['editor']['editing']['view']['document'];if('string'==typeof _0x57c8af)return new _0xa9bb82(_0x1bc4e2,_0x57c8af);{const _0x4dac0b=_0x57c8af['children']['map'](_0x2f3015=>this['_getViewObj'](_0x2f3015));return new(tt[_0x57c8af['type']]||_0x2c124e)(_0x1bc4e2,_0x57c8af['name'],_0x57c8af['attributes'],_0x4dac0b);}}['_getDiff'](_0x23022b,_0x1385af=null){const _0xe44c06=this['repository']['getRevision'](_0x23022b),_0x5c1d27=_0x1385af?this['repository']['getRevision'](_0x1385af):null,_0x31c2b2=this['_getRevisionsRange'](_0xe44c06,_0x5c1d27),_0x47490d=_0x31c2b2[_0x31c2b2['length']-0x1],_0x184926=new Map(),_0x4a350f={'model':{},'attributes':{},'changes':[]},_0xa810c=new Set(),_0x1b5fff=new Map();for(let _0x3e29eb=_0x31c2b2['length']-0x1;_0x3e29eb>=0x0;_0x3e29eb--){const _0x4ec8d5=_0x31c2b2[_0x3e29eb];for(const _0x5d8765 of Object['keys'](_0x4ec8d5['diffData']))if(_0x4ec8d5['diffData'][_0x5d8765]['attachChange']){const _0x1ecc99=_0x4ec8d5['diffData'][_0x5d8765]['attachChange'];_0x1ecc99['isAttached']?(_0xa810c['add'](_0x5d8765),_0x1b5fff['has'](_0x5d8765)&&_0x1b5fff['get'](_0x5d8765)['userId']==_0x1ecc99['userId']?_0x1b5fff['delete'](_0x5d8765):_0x1b5fff['set'](_0x5d8765,_0x1ecc99)):_0x1b5fff['has'](_0x5d8765)?(_0xa810c['delete'](_0x5d8765),_0x1b5fff['delete'](_0x5d8765)):(_0xa810c['add'](_0x5d8765),_0x1b5fff['set'](_0x5d8765,_0x1ecc99));}else _0xa810c['add'](_0x5d8765);}for(const _0x565056 of _0xa810c){const _0x1a7828=_0x1b5fff['has'](_0x565056)&&!_0x1b5fff['get'](_0x565056)['isAttached'];let _0x57283e=_0x1a7828?_0x31c2b2['length']-0x1:0x0;const _0x37f277=_0x1a7828?-0x1:0x1;for(;_0x31c2b2[_0x57283e];){const _0x121331=_0x31c2b2[_0x57283e];if(_0x121331['diffData'][_0x565056]){const _0x19be03=_0x1a7828?_0x121331['diffData'][_0x565056]['attributesBefore']:_0x121331['diffData'][_0x565056]['attributesAfter'];_0x4a350f['attributes'][_0x565056]=_0x19be03?_0x533e67(_0x19be03):{};break;}_0x57283e+=_0x37f277;}}for(const _0x1c606b of _0x31c2b2){_0x1c606b['model']={};for(const _0x4d8b9d of _0x1c606b['authors'])_0x184926['set'](_0x4d8b9d['id'],_0x4d8b9d);for(const _0x438bac of _0xa810c){const _0xb0c088=_0x1c606b['diffData'][_0x438bac]?_0x1c606b['diffData'][_0x438bac]['insertions']:'[]',_0x1810b0=_0x1c606b['diffData'][_0x438bac]?_0x1c606b['diffData'][_0x438bac]['deletions']:'[]';_0x1c606b['model'][_0x438bac]={'insertions':this['_makeModelFromViewString'](_0xb0c088),'deletions':this['_makeModelFromViewString'](_0x1810b0)};}}for(const _0x5036fa of _0xa810c){let _0x363416=null,_0x339694=0x0;const _0x5138bc=new Map(Array['from'](_0xe44c06['model'][_0x5036fa]['insertions']['markers'])['filter'](([_0x19223a])=>!_0x19223a['startsWith']('revision:')));let _0x3532cd=0x0;for(const _0x28d857 of _0x31c2b2){const _0x27949f=this['_makeTape'](_0x28d857['model'][_0x5036fa]['insertions']);_0x28d857==_0xe44c06?(_0x363416=_0x27949f,_0x339694=_0x363416['length'],_0x363416['forEach'](_0x406e2a=>{_0x406e2a['id']=_0x3532cd++;}),this['_processTape'](_0x363416)):this['_markInsertions'](_0x363416,_0x27949f);const _0x163887=_0x363416['filter'](_0x584359=>!_0x584359['isAdded'])['map'](_0x4ed7df=>_0x4ed7df['id']);let _0x3f899d=0x0;const _0x50b7b5=this['_makeTape'](_0x28d857['model'][_0x5036fa]['deletions']);_0x50b7b5['forEach'](_0x349a3f=>{_0x349a3f['isRemoved']?_0x349a3f['id']=_0x339694++:_0x349a3f['id']=_0x163887[_0x3f899d++];}),this['_processTape'](_0x50b7b5),this['_setDistance'](_0x363416,'isAdded'),this['_setDistance'](_0x50b7b5,'isRemoved'),_0x28d857==_0xe44c06&&this['_markMarkers'](_0x363416,_0x5138bc),_0x363416=this['_joinTapes'](_0x363416,_0x50b7b5),this['_refreshStartEndIndex'](_0x363416),this['_setDistance'](_0x363416,'isRemoved');}_0x363416=_0x363416['filter'](_0xbcf25a=>!(_0xbcf25a['isAdded']&&_0xbcf25a['isRemoved']));const _0x5c2f83=new Map(_0x47490d['model'][_0x5036fa]['deletions']['markers']),_0x343ada=new Set(_0x5138bc['keys']());for(const _0x55d358 of _0x5c2f83['keys']())_0x343ada['delete'](_0x55d358);this['_markSuggestions'](_0x363416,_0x343ada),this['_fixObsoleteTags'](_0x363416),_0x363416=this['_removeMissingPairs'](_0x363416),_0x363416=this['_markMismatchedRemovedTags'](_0x363416),_0x363416=this['_removeUnsupportedChanges'](_0x363416);const {root:_0x5858f3,changes:_0x53152d}=this['_makeModelFromTape'](_0x363416,_0x184926,_0x5036fa);_0x4a350f['model'][_0x5036fa]=_0x5858f3;const _0x5a0c2a=_0x1b5fff['get'](_0x5036fa);if(_0x5a0c2a){const _0x18244e=_0x184926['get'](_0x5a0c2a['userId']),_0x183a8d=new r({'author':_0x18244e,'type':_0x5a0c2a['isAttached']?'add':'remove','data':{'isOnRoot':!0x0},'createdAt':new Date(),'rootName':_0x5036fa});_0x53152d['unshift'](_0x183a8d),_0x4a350f['attributes'][_0x5036fa]['revisionHistoryAttachChange']=_0x183a8d['id'];}_0x4a350f['changes']=_0x4a350f['changes']['concat'](_0x53152d);}return _0x4a350f;}['_markMarkers'](_0x434ad0,_0x4dc7f2){for(let _0x56fbf9=0x0;_0x56fbf9<_0x434ad0['length'];_0x56fbf9++)for(const [_0x43c84c,_0x4f28df]of _0x4dc7f2)_0x4f28df['start']['isEqual'](_0x434ad0[_0x56fbf9]['previousPosition'])&&_0x434ad0[_0x56fbf9]['markersStart']['push'](_0x43c84c),_0x4f28df['end']['isEqual'](_0x434ad0[_0x56fbf9]['nextPosition'])&&_0x434ad0[_0x56fbf9]['markersEnd']['push'](_0x43c84c);}['_joinTapes'](_0x1d8d5e,_0x1df987){let _0x29b60f=[],_0x4bcb88=0x0,_0x345eb5=0x0;for(;_0x4bcb88<_0x1d8d5e['length']||_0x345eb5<_0x1df987['length'];){const _0x3a9cfa=_0x1d8d5e[_0x4bcb88]||{},_0x5d9793=_0x1df987[_0x345eb5]||{};if(_0x3a9cfa['id']==_0x5d9793['id'])_0x4bcb88++,_0x345eb5++,_0x29b60f['push'](_0x3a9cfa);else{if(_0x5d9793['isRemoved']&&_0x3a9cfa['isAdded']){const {commonTape:_0x42731b,iEnd:_0x11be8b,jEnd:_0x192ac7}=this['_threeWayMerge'](_0x1d8d5e,_0x4bcb88,_0x1df987,_0x345eb5);_0x29b60f=_0x29b60f['concat'](_0x42731b),_0x4bcb88=_0x11be8b,_0x345eb5=_0x192ac7;}else _0x5d9793['isRemoved']?(_0x345eb5++,_0x29b60f['push'](_0x5d9793)):(_0x4bcb88++,_0x29b60f['push'](_0x3a9cfa));}}return _0x29b60f;}['_markSuggestions'](_0x5bc160,_0x292d85){const _0x52a9d8=[];for(let _0xb63e49=0x0;_0xb63e49<_0x5bc160['length'];_0xb63e49++){for(let _0x23cb65=0x0;_0x23cb65<_0x5bc160[_0xb63e49]['markersStart']['length'];_0x23cb65++){const _0x5aca85=_0x5bc160[_0xb63e49]['markersStart'][_0x23cb65];if(!_0x292d85['has'](_0x5aca85))continue;const {group:_0x127753,type:_0x5bbfb3,authorId:_0x1b1f62}=_0x2500d0(_0x5aca85);'revision-suggestion'!=_0x127753||'insertion'!=_0x5bbfb3&&'deletion'!=_0x5bbfb3||(_0x52a9d8['unshift']({'type':_0x5bbfb3,'name':_0x5aca85,'userId':_0x1b1f62}),_0x5bc160[_0xb63e49]['markersStart']['splice'](_0x23cb65,0x1),_0x23cb65--);}_0x33045e(_0x5bc160[_0xb63e49]);for(let _0x100063=0x0;_0x100063<_0x5bc160[_0xb63e49]['markersEnd']['length'];_0x100063++){const _0xf40bfc=_0x5bc160[_0xb63e49]['markersEnd'][_0x100063];if(!_0x292d85['has'](_0xf40bfc))continue;const {group:_0x5787ba,type:_0x6c6d97}=_0x2500d0(_0xf40bfc);if('revision-suggestion'!=_0x5787ba||'insertion'!=_0x6c6d97&&'deletion'!=_0x6c6d97)continue;_0x5bc160[_0xb63e49]['markersEnd']['splice'](_0x100063,0x1),_0x100063--;const _0x33647d=_0x52a9d8['findIndex'](_0x1f40d8=>_0x1f40d8['name']==_0xf40bfc);_0x33647d>-0x1&&_0x52a9d8['splice'](_0x33647d,0x1);}}function _0x2500d0(_0x3148c2){const _0x3de393=_0x3148c2['split'](':');return{'group':_0x3de393[0x0],'type':_0x3de393[0x1],'subType':_0x3de393['length']>=0x5?_0x3de393[0x2]:null,'id':_0x3de393['length']<0x5?_0x3de393[0x2]:_0x3de393[0x3],'authorId':_0x3de393['length']<0x5?_0x3de393[0x3]:_0x3de393[0x4],'markerCount':0x6==_0x3de393['length']?_0x3de393[0x5]:null};}function _0x33045e(_0x2c8c70){for(let _0x35206b=0x0;_0x35206b<_0x52a9d8['length'];_0x35206b++){if(_0x2c8c70['isAdded']&&'insertion'==_0x52a9d8[_0x35206b]['type'])return _0x2c8c70['isAddSuggestion']=_0x52a9d8[_0x35206b],void delete _0x2c8c70['isAdded'];if(!_0x2c8c70['isAdded']&&!_0x2c8c70['isRemoved']&&'deletion'==_0x52a9d8[_0x35206b]['type'])return void(_0x2c8c70['isRemoveSuggestion']=_0x52a9d8[_0x35206b]);}}}['_setDistance'](_0x50eac8,_0x531a4b){let _0x2ec934=0x0,_0x3739c6=!0x1;const _0x32c8ff=new Map();for(const _0x315b39 of _0x50eac8)_0x315b39[_0x531a4b]?_0x3739c6&&(_0x2ec934++,_0x3739c6=!0x1):(_0x2ec934++,_0x3739c6=!0x0),_0x32c8ff['set'](_0x315b39['id'],_0x2ec934);for(let _0x11b906=0x0;_0x11b906<_0x50eac8['length'];_0x11b906++){if('isRemoved'==_0x531a4b&&_0x50eac8[_0x11b906]['isAdded']||'isAdded'==_0x531a4b&&_0x50eac8[_0x11b906]['isRemoved'])continue;if('text'==_0x50eac8[_0x11b906]['type']){_0x50eac8[_0x11b906]['distance']=0x0;continue;}const _0x140e25=_0x32c8ff['get'](_0x50eac8[_0x11b906]['pairId']),_0x5d31ed=_0x32c8ff['get'](_0x50eac8[_0x11b906]['id']);_0x50eac8[_0x11b906]['distance']=_0x140e25-_0x5d31ed;}}['_getRevisionsRange'](_0x1edc9f,_0x62bef8,_0x1e2b69=!0x1){const _0x21386d=[];let _0x2493fd=this['repository']['getIndex'](_0x1edc9f),_0x137440=this['repository']['getIndex'](_0x62bef8);for(-0x1==_0x137440&&(_0x137440=this['repository']['_revisions']['length'],_0x1e2b69=!0x1);_0x2493fd<_0x137440;)_0x21386d['push'](this['repository']['getRevision'](_0x2493fd)),_0x2493fd++;return _0x1e2b69&&_0x21386d['push'](this['repository']['getRevision'](_0x2493fd)),_0x21386d;}['_threeWayMerge'](_0x3a6c04,_0x5e43af,_0x45d89f,_0x28745b){const _0x5a5e49=this['editor']['model']['schema'];let _0x376a9d=_0x5e43af;for(;_0x3a6c04[_0x376a9d]&&_0x3a6c04[_0x376a9d]['isAdded'];)_0x376a9d++;let _0x36dfc7=_0x28745b;for(;_0x45d89f[_0x36dfc7]&&_0x45d89f[_0x36dfc7]['isRemoved'];)_0x36dfc7++;_0x3fe094(_0x3a6c04,_0x5e43af,_0x376a9d),_0x3fe094(_0x45d89f,_0x28745b,_0x36dfc7);const _0x295555=_0x45d89f['slice'](_0x28745b,_0x36dfc7)['concat'](_0x3a6c04['slice'](_0x5e43af,_0x376a9d));return _0x295555['sort']((_0x2a4efe,_0x5392f6)=>_0x2a4efe['side']!=_0x5392f6['side']?_0x2a4efe['side']-_0x5392f6['side']:_0x2a4efe['level']!=_0x5392f6['level']?_0x2a4efe['level']-_0x5392f6['level']:_0x2a4efe['distance']!=_0x5392f6['distance']?_0x5392f6['distance']-_0x2a4efe['distance']:!!_0x2a4efe['isAdded']!=!!_0x5392f6['isAdded']?-0x1==_0x2a4efe['side']||0x0==_0x2a4efe['side']?_0x2a4efe['isAdded']?-0x1:0x1:_0x2a4efe['isAdded']?0x1:-0x1:_0x2a4efe['index']-_0x5392f6['index']),{'commonTape':_0x295555,'iEnd':_0x376a9d,'jEnd':_0x36dfc7};function _0x3fe094(_0x191081,_0x57f445,_0x329964){let _0x34b6e9=-0x1,_0x3b8195=Number['POSITIVE_INFINITY'],_0x8ef045=!0x0;for(let _0x475c82=_0x57f445;_0x475c82<_0x329964;_0x475c82++)if(_0x5a5e49['isInline'](_0x191081[_0x475c82]['item'])||(_0x8ef045=!0x1),_0x191081[_0x475c82]['item']['startIndex']<_0x57f445&&(_0x34b6e9=_0x475c82),_0x191081[_0x475c82]['item']['endIndex']>=_0x329964){_0x3b8195=_0x475c82;break;}_0x8ef045&&(_0x34b6e9=_0x329964-0x1);for(let _0x2e87d6=_0x57f445;_0x2e87d6<_0x329964;_0x2e87d6++)_0x191081[_0x2e87d6]['side']=_0x2e87d6<=_0x34b6e9?-0x1:_0x2e87d6<_0x3b8195?0x0:0x1,_0x191081[_0x2e87d6]['index']=_0x2e87d6;let _0xc9e6b4=0x0;for(let _0x522ad8=_0x57f445;_0x522ad8<=_0x34b6e9;_0x522ad8++)0x0==_0x191081[_0x522ad8]['distance']?_0x191081[_0x522ad8]['level']=_0xc9e6b4:(_0xc9e6b4++,_0x191081[_0x522ad8]['level']=_0xc9e6b4,_0xc9e6b4++);for(let _0x1b49f3=_0x57f445;_0x1b49f3<_0x329964;_0x1b49f3++)0x0==_0x191081[_0x1b49f3]['side']&&(_0x191081[_0x1b49f3]['level']=_0xc9e6b4);_0xc9e6b4=0x0;for(let _0x363ade=_0x329964-0x1;_0x363ade>=_0x3b8195;_0x363ade--)0x0==_0x191081[_0x363ade]['distance']?_0x191081[_0x363ade]['level']=_0xc9e6b4:(_0xc9e6b4--,_0x191081[_0x363ade]['level']=_0xc9e6b4,_0xc9e6b4--);}}['_fixObsoleteTags'](_0x346e19){const _0x36205d=new Map(),_0x1219a7=this['editor']['model']['schema'];for(let _0x2d1390=0x1;_0x2d1390<_0x346e19['length'];_0x2d1390++){let _0x47840d,_0x3ceaad,_0x14dd72;const _0x221101=_0x346e19[_0x2d1390],_0x19df08=_0x346e19[_0x2d1390-0x1];if('text'==_0x221101['type'])continue;if(_0x221101['type']!=_0x19df08['type'])continue;if(!_0x1219a7['isBlock'](_0x19df08['item'])||_0x1219a7['isLimit'](_0x19df08['item']))continue;if(!_0x1219a7['isBlock'](_0x221101['item'])||_0x1219a7['isLimit'](_0x221101['item']))continue;if((_0x346e19[_0x2d1390]['isAdded']||_0x346e19[_0x2d1390]['isAddSuggestion'])&&_0x346e19[_0x2d1390-0x1]['isRemoved'])_0x47840d=_0x346e19[_0x2d1390],_0x3ceaad=_0x346e19[_0x2d1390-0x1],_0x14dd72=_0x2d1390-0x1;else{if(!_0x346e19[_0x2d1390]['isRemoved']||!_0x346e19[_0x2d1390-0x1]['isAdded']&&!_0x346e19[_0x2d1390-0x1]['isAddSuggestion'])continue;_0x47840d=_0x346e19[_0x2d1390-0x1],_0x3ceaad=_0x346e19[_0x2d1390],_0x14dd72=_0x2d1390;}const _0x23ff81=_0x47840d['level']==_0x3ceaad['level'],_0x474221=Math['abs'](_0x47840d['level'])<Math['abs'](_0x3ceaad['level'])&&0x0==_0x3ceaad['distance'];(_0x23ff81||_0x474221)&&(_0x36205d['set'](_0x3ceaad['id'],_0x47840d['id']),_0x346e19['splice'](_0x14dd72,0x1),_0x2d1390--,_0x47840d['isAdded']=!0x1);}for(let _0x1b0797=0x0;_0x1b0797<_0x346e19['length'];_0x1b0797++)_0x36205d['has'](_0x346e19[_0x1b0797]['pairId'])&&(_0x346e19[_0x1b0797]['pairId']=_0x36205d['get'](_0x346e19[_0x1b0797]['pairId']));}['_removeMissingPairs'](_0xf99af8){const _0x51f238=new Set(_0xf99af8['map'](_0x1e7254=>_0x1e7254['id']));for(let _0x419083=0x0;_0x419083<_0xf99af8['length'];_0x419083++)_0x51f238['has'](_0xf99af8[_0x419083]['pairId'])||0x0==_0xf99af8[_0x419083]['distance']||(_0xf99af8[_0x419083]['isIncorrect']=!0x0);return _0xf99af8['filter'](_0x1f2e4c=>!_0x1f2e4c['isIncorrect']);}['_markMismatchedRemovedTags'](_0x39b441){const _0x84ba69=new Set();for(let _0x5e1595=0x0;_0x5e1595<_0x39b441['length'];_0x5e1595++){if(_0x84ba69['has'](_0x39b441[_0x5e1595]['id'])&&_0x39b441[_0x5e1595]['isRemoved']&&(_0x39b441[_0x5e1595]['isIncorrect']=!0x0),_0x39b441[_0x5e1595]['isIncorrect'])continue;if(0x0==_0x39b441[_0x5e1595]['distance'])continue;if('elementStart'!=_0x39b441[_0x5e1595]['type'])continue;if(null==_0x39b441[_0x5e1595]['pairId'])continue;let _0x214d93=_0x5e1595+0x1,_0x3d61e7=0x0;for(;_0x39b441[_0x214d93]['id']!=_0x39b441[_0x5e1595]['pairId'];)'elementStart'==_0x39b441[_0x214d93]['type']?_0x3d61e7++:'elementEnd'==_0x39b441[_0x214d93]['type']&&_0x3d61e7--,_0x214d93++;if(0x0!=_0x3d61e7){if(_0x39b441[_0x5e1595]['isRemoved'])_0x39b441[_0x5e1595]['isIncorrect']=!0x0;else{for(;_0x214d93!=_0x5e1595;)_0x39b441[_0x214d93]['isRemoved']&&0x0!=_0x39b441[_0x214d93]['distance']&&(_0x39b441[_0x214d93]['isIncorrect']=!0x0,_0x84ba69['add'](_0x39b441[_0x214d93]['pairId'])),_0x214d93--;}}}return _0x39b441['filter'](_0x3cfd67=>!_0x3cfd67['isIncorrect']);}['_removeUnsupportedChanges'](_0x2a50b0){const _0xc4907f=this['editor']['model']['schema'];for(let _0xec1002=0x0;_0xec1002<_0x2a50b0['length'];_0xec1002++){if(!(_0x2a50b0[_0xec1002]['isAdded']||_0x2a50b0[_0xec1002]['isAddSuggestion']||_0x2a50b0[_0xec1002]['isRemoved']||_0x2a50b0[_0xec1002]['isRemoveSuggestion']))continue;if(0x0==_0x2a50b0[_0xec1002]['distance'])continue;const _0x11f255=_0x2a50b0[_0xec1002]['item'];_0xc4907f['isBlock'](_0x11f255)||_0xc4907f['isLimit'](_0x11f255)||(_0x2a50b0[_0xec1002]['isAdded']&&delete _0x2a50b0[_0xec1002]['isAdded'],_0x2a50b0[_0xec1002]['isAddSuggestion']&&delete _0x2a50b0[_0xec1002]['isAddSuggestion'],_0x2a50b0[_0xec1002]['isRemoveSuggestion']&&delete _0x2a50b0[_0xec1002]['isRemoveSuggestion'],_0x2a50b0[_0xec1002]['isRemoved']&&(_0x2a50b0[_0xec1002]['isIncorrect']=!0x0));}return _0x2a50b0['filter'](_0x37a7c2=>!_0x37a7c2['isIncorrect']);}['_makeModelFromTape'](_0x6b24cc,_0x57b7b0,_0x271b6f){const _0x18b39b=new wt(),_0x36b0be=[],_0x43c480=new Map(),_0x5110e5=this['editor']['model'],_0x1e72c2=_0x5110e5['schema'],_0x2621c3=[_0x18b39b],_0x32dd10={},_0x1d9ac6={'isAdded':[],'isRemoved':[],'isAddSuggestion':[],'isRemoveSuggestion':[]};let _0x5ced75=null;const _0x24bf44=[0x0];for(let _0x33c109=0x0;_0x33c109<_0x6b24cc['length'];_0x33c109++){let _0x399127,_0x606d36;if('elementStart'===_0x6b24cc[_0x33c109]['type']){_0x399127=_0x5110e5['createPositionFromPath'](_0x18b39b,_0x24bf44);const _0x32c54a=new ft(_0x6b24cc[_0x33c109]['item']['name'],_0x6b24cc[_0x33c109]['item']['getAttributes']());_0x2621c3[0x0]['_appendChild'](_0x32c54a),_0x24bf44['push'](0x0),_0x2621c3['unshift'](_0x32c54a),_0x606d36=_0x5110e5['createPositionFromPath'](_0x18b39b,_0x24bf44),_0x5ced75=null;}else{if('elementEnd'===_0x6b24cc[_0x33c109]['type'])_0x2621c3['shift'](),_0x399127=_0x5110e5['createPositionFromPath'](_0x18b39b,_0x24bf44),_0x24bf44['pop'](),_0x24bf44[_0x24bf44['length']-0x1]++,_0x606d36=_0x5110e5['createPositionFromPath'](_0x18b39b,_0x24bf44),_0x5ced75=null;else{if(_0x399127=_0x5110e5['createPositionFromPath'](_0x18b39b,_0x24bf44),_0x5ced75&&_0x5d2098(_0x5ced75,_0x6b24cc[_0x33c109]['item']))_0x5ced75['_data']+=_0x6b24cc[_0x33c109]['item']['data'];else{const _0x51ee89=new _t(_0x6b24cc[_0x33c109]['item']['data'],_0x6b24cc[_0x33c109]['item']['getAttributes']());_0x2621c3[0x0]['_appendChild'](_0x51ee89),_0x5ced75=_0x51ee89;}_0x24bf44[_0x24bf44['length']-0x1]+=_0x6b24cc[_0x33c109]['item']['offsetSize'],_0x606d36=_0x5110e5['createPositionFromPath'](_0x18b39b,_0x24bf44);}}for(const _0x2de595 of _0x6b24cc[_0x33c109]['markersStart'])_0x43c480['set'](_0x2de595,{'start':_0x399127,'end':null});_0x35a14b('isRemoveSuggestion',_0x33c109,_0x399127,_0x606d36),_0x35a14b('isAddSuggestion',_0x33c109,_0x399127,_0x606d36),_0x35a14b('isRemoved',_0x33c109,_0x399127,_0x606d36),_0x35a14b('isAdded',_0x33c109,_0x399127,_0x606d36);for(const _0x2cc03a of _0x6b24cc[_0x33c109]['markersEnd']){_0x43c480['get'](_0x2cc03a)['end']=_0x606d36;}}for(const [_0x5cbebe,_0x3b3c82]of _0x43c480){const _0x11c001=this['editor']['model']['createRange'](_0x3b3c82['start'],_0x3b3c82['end']);_0x18b39b['markers']['set'](_0x5cbebe,_0x11c001);}return _0x36b0be['sort']((_0x2ab609,_0x5a14bd)=>{const _0x32ca8b=_0x18b39b['markers']['get']('revision:'+_0x2ab609['id']),_0xbf1d11=_0x18b39b['markers']['get']('revision:'+_0x5a14bd['id']);return _0x32ca8b['start']['isBefore'](_0xbf1d11['start'])?-0x1:_0x32ca8b['start']['isAfter'](_0xbf1d11['start'])?0x1:_0x32ca8b['end']['isBefore'](_0xbf1d11['end'])?-0x1:_0x32ca8b['end']['isAfter'](_0xbf1d11['end'])?0x1:'add'===_0x2ab609['type']?-0x1:0x1;}),{'root':_0x18b39b,'changes':_0x36b0be};function _0x35a14b(_0x27ef3b,_0x39235a,_0xd73ed5,_0x4a08e3){const _0x1a2314=!!_0x6b24cc[_0x39235a][_0x27ef3b],_0x3095a0=_0x1a2314?_0x6b24cc[_0x39235a][_0x27ef3b]['userId']:null,_0x4546b3=_0x39235a===_0x6b24cc['length']-0x1,_0xf5a49=_0x1d9ac6[_0x27ef3b][0x0],_0x115c77=_0x1e72c2['isObject'](_0x6b24cc[_0x39235a]['item']);!_0x32dd10[_0x27ef3b]&&_0x1a2314?_0x32dd10[_0x27ef3b]={'start':_0xd73ed5,'tapeItem':_0x6b24cc[_0x39235a],'userId':_0x3095a0,'type':_0x27ef3b}:_0x32dd10[_0x27ef3b]&&!_0x1a2314?(_0x32dd10[_0x27ef3b]['end']=_0xd73ed5,_0x33b3e0(_0x32dd10[_0x27ef3b]),_0x32dd10[_0x27ef3b]=null):_0x32dd10[_0x27ef3b]&&_0x1a2314&&_0x32dd10[_0x27ef3b]['userId']!==_0x3095a0&&(_0x32dd10[_0x27ef3b]['end']=_0xd73ed5,_0xf5a49&&_0xf5a49['userId']===_0x32dd10[_0x27ef3b]['userId']||_0x33b3e0(_0x32dd10[_0x27ef3b]),_0x32dd10[_0x27ef3b]={'start':_0xd73ed5,'tapeItem':_0x6b24cc[_0x39235a],'userId':_0x3095a0,'type':_0x27ef3b}),_0x32dd10[_0x27ef3b]&&_0x115c77&&('elementStart'!==_0x6b24cc[_0x39235a]['type']||_0xf5a49&&_0xf5a49['userId']===_0x3095a0||_0x1d9ac6[_0x27ef3b]['unshift']({'userId':_0x3095a0,'object':_0x6b24cc[_0x39235a]['item'],'change':_0x32dd10[_0x27ef3b]}),'elementEnd'===_0x6b24cc[_0x39235a]['type']&&_0xf5a49&&_0xf5a49['object']===_0x6b24cc[_0x39235a]['item']&&(_0x1d9ac6[_0x27ef3b]['shift'](),_0x32dd10[_0x27ef3b]=_0xf5a49['change'])),_0x32dd10[_0x27ef3b]&&_0x4546b3&&(_0x32dd10[_0x27ef3b]['end']=_0x4a08e3,_0x33b3e0(_0x32dd10[_0x27ef3b]),_0x32dd10[_0x27ef3b]=null);}function _0x33b3e0({start:_0x264622,end:_0x50cbf5,tapeItem:_0x2d8a62,userId:_0x24576b,type:_0x7d3001}){const _0x29500e=_0x2d8a62['item'],_0x3e2d3c=_0x5110e5['schema']['isBlock'](_0x29500e)&&!_0x5110e5['schema']['isLimit'](_0x29500e),_0x550dd5=_0x264622['nodeAfter']==_0x50cbf5['parent']&&_0x50cbf5['isAtStart'];if(_0x3e2d3c&&_0x550dd5)return;const _0x1a722b=_0x5110e5['createRange'](_0x264622,_0x50cbf5),_0x5a3743=_0x57b7b0['get'](_0x24576b),_0x5c2317=new r({'author':_0x5a3743,'type':'isAdded'==_0x7d3001||'isAddSuggestion'==_0x7d3001?'add':'remove','data':{'isSuggestion':'isAddSuggestion'==_0x7d3001||'isRemoveSuggestion'==_0x7d3001},'createdAt':new Date(),'rootName':_0x271b6f});_0x36b0be['push'](_0x5c2317),_0x18b39b['markers']['set']('revision:'+_0x5c2317['id'],_0x1a722b);}function _0x5d2098(_0x401d04,_0x4a98be){const _0x5c52ea=_0x401d04['getAttributes'](),_0x970998=_0x4a98be['getAttributes']();for(const _0x1da666 of _0x5c52ea){if(_0x1da666[0x1]!==_0x4a98be['getAttribute'](_0x1da666[0x0]))return!0x1;_0x970998['next']();}return _0x970998['next']()['done'];}}['_setConversion'](){this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'revision'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision','view':_0x2358ba=>{const _0x3255b1=_0x2358ba['markerName']['split'](':')[0x1],_0xb67d3e=this['_getChangeFromId'](_0x3255b1);if(!_0xb67d3e)return null;const _0x4f5e89='add'==_0xb67d3e['type']?'insertion':'deletion',_0x554744=['ck-suggestion-marker','ck-suggestion-marker-'+_0x4f5e89];return _0xb67d3e['data']['isSuggestion']&&_0x554744['push']('ck-suggestion-marker-'+_0x4f5e89+'-new'),this['activeChange']==_0xb67d3e&&_0x554744['push']('ck-suggestion-marker--active'),{'classes':_0x554744,'attributes':{'data-change-id':_0x3255b1}};}}),this['editor']['conversion']['for']('upcast')['add'](_0x579ab9=>{_0x579ab9['on']('element:pre',(_0x2dc25d,_0x5000d7,_0x6b0ab8)=>{const _0x30845b=_0x5000d7['viewItem']['getChild'](0x0);if(!_0x30845b||!_0x30845b['is']('element','code'))return;if(!_0x6b0ab8['consumable']['consume'](_0x30845b,{'attributes':['vid_start','vid_end']}))return;const _0x27924d=_0x5000d7['modelRange']['start']['nodeAfter'];_0x6b0ab8['writer']['setAttribute']('vid_start',_0x30845b['getAttribute']('vid_start'),_0x27924d),_0x6b0ab8['writer']['setAttribute']('vid_end',_0x30845b['getAttribute']('vid_end'),_0x27924d);},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['add'](_0x493f80=>{_0x493f80['on']('element',(_0x271614,_0x974198,_0x6c0c18)=>{if(!_0x6c0c18['consumable']['consume'](_0x974198['viewItem'],{'attributes':['vid_start','vid_end']}))return;if(_0x974198['modelRange']['isCollapsed'])return;const _0x5e8957=_0x974198['modelRange']['start']['nodeAfter'];_0x5e8957['hasAttribute']('vid_start')||_0x5e8957['hasAttribute']('vid')||(_0x6c0c18['writer']['setAttribute']('vid_start',_0x974198['viewItem']['getAttribute']('vid_start'),_0x5e8957),_0x6c0c18['writer']['setAttribute']('vid_end',_0x974198['viewItem']['getAttribute']('vid_end'),_0x5e8957));},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['elementToAttribute']({'view':{'name':'span','attributes':{'vid':!0x0}},'model':{'key':'vid','value':_0xba578f=>_0xba578f['getAttribute']('vid')}}),this['editor']['model']['schema']['on']('checkAttribute',(_0x20eb9b,[,_0xddd55a])=>{['vid_start','vid_end','vid']['includes'](_0xddd55a)&&(_0x20eb9b['return']=!0x0,_0x20eb9b['stop']());},{'priority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['add'](_0x2a979f=>{_0x2a979f['on']('attribute:vid',(_0x1cb1a7,_0x11fcd7,_0x3f59f1)=>{if('\x20'!=_0x11fcd7['item']['data']||_0x11fcd7['item']['parent']['maxOffset']>0x1)return;if(!_0x3f59f1['consumable']['consume'](_0x11fcd7['item'],_0x1cb1a7['name']))return;const _0x323f36=_0x3f59f1['writer'],_0xf5edc3=_0x3f59f1['mapper']['toViewRange'](_0x11fcd7['range']);_0x323f36['wrap'](_0xf5edc3,_0x323f36['createAttributeElement']('span'));});}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',function(_0x3e3944){const _0x14ac8e=_0x3e3944['plugins']['get']('RevisionViewer');return(_0x50a3c5,_0x140bf7,_0x5c7a9f)=>{const _0x4160aa=_0x140bf7['markerName']['split'](':')[0x1],_0x5f54d8=_0x14ac8e['_getChangeFromId'](_0x4160aa);if(!_0x5f54d8)return null;const _0x1c999d='add'==_0x5f54d8['type']?'split':'merge';if(!_0x5c7a9f['consumable']['test'](_0x140bf7['markerRange'],_0x50a3c5['name']))return;const _0x549fe4=_0x140bf7['markerRange']['getWalker'](),_0x2ea9fb=_0x140bf7['markerRange']['start'],_0x2a6e3a=_0x3e3944['model']['schema'];let _0x275564=null,_0x451c75=null,_0x4c813b=!0x1,_0x174329=!0x1;for(const _0x1d4d82 of _0x549fe4){const _0xb07e8e=_0x1d4d82['item'];_0x4c813b=_0x4c813b||_0x2a6e3a['isContent'](_0xb07e8e);const _0x1e564c=_0x5c7a9f['mapper']['toViewElement'](_0xb07e8e);if(_0x1e564c&&_0x1e564c['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x1d4d82['type']&&(_0x2a6e3a['isBlock'](_0xb07e8e)&&!_0x2a6e3a['isLimit'](_0xb07e8e)&&(_0xb07e8e['nextSibling']||_0x2ea9fb['isAtEnd']?_0x275564&&_0x275564['parent']==_0xb07e8e||(_0x275564=_0xb07e8e,_0x340638(_0x1d4d82['previousPosition']),_0x174329=!0x0):_0x451c75=_0x451c75||_0x1d4d82['previousPosition']));}function _0x340638(_0x2cfd78){const _0x33953d=_0x5c7a9f['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x1c999d}),_0x426efc=_0x5c7a9f['mapper']['toViewPosition'](_0x2cfd78);_0x5f54d8['data']['isSuggestion']&&_0x5c7a9f['writer']['addClass']('ck-suggestion-marker-'+_0x1c999d+'-new',_0x33953d),_0x14ac8e['activeChange']==_0x5f54d8&&_0x5c7a9f['writer']['addClass']('ck-suggestion-marker--active',_0x33953d),_0x5c7a9f['writer']['insert'](_0x426efc,_0x33953d),_0x5c7a9f['mapper']['bindElementToMarker'](_0x33953d,_0x140bf7['markerName']);}_0x4c813b||_0x174329||!_0x451c75||_0x340638(_0x451c75);};}(this['editor']),{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('removeMarker:revision',(_0x16a2f8,_0x267947,_0x39c416)=>{const _0x522495=_0x39c416['mapper']['markerNameToElements'](_0x267947['markerName']);if(_0x522495){for(const _0x469545 of _0x522495)(_0x469545['hasClass']('ck-suggestion-marker-split')||_0x469545['hasClass']('ck-suggestion-marker-merge'))&&(_0x39c416['mapper']['unbindElementFromMarkerName'](_0x469545,_0x267947['markerName']),_0x39c416['writer']['remove'](_0x469545));}},{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',(_0x38e877,_0xcef1b6,_0x70aa2c)=>{const _0x2bb3d1=_0xcef1b6['markerName']['split'](':')[0x1],_0x2ac7e7=this['_getChangeFromId'](_0x2bb3d1);if(!_0x2ac7e7)return null;const _0x2ed265='add'==_0x2ac7e7['type']?'split':'merge';if(_0x70aa2c['consumable']['test'](_0xcef1b6['markerRange'],_0x38e877['name']))for(const _0x3e0d7a of _0xcef1b6['markerRange']['getItems']()){if(!_0x3e0d7a['is']('element','softBreak'))continue;const _0x27b609=_0x70aa2c['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x2ed265}),_0x536ab0=_0x70aa2c['mapper']['toViewPosition'](this['editor']['model']['createPositionBefore'](_0x3e0d7a));_0x2ac7e7['data']['isSuggestion']&&_0x70aa2c['writer']['addClass']('ck-suggestion-marker-'+_0x2ed265+'-new',_0x27b609),this['activeChange']==_0x2ac7e7&&_0x70aa2c['writer']['addClass']('ck-suggestion-marker--active',_0x27b609),_0x70aa2c['writer']['insert'](_0x536ab0,_0x27b609),_0x70aa2c['mapper']['bindElementToMarker'](_0x27b609,_0xcef1b6['markerName']);}},{'priority':'high'}),this['editor']['model']['document']['on']('change',()=>{this['editor']['editing']['view']['change'](_0x4796c8=>{for(const _0x3b368 of this['editor']['model']['document']['getRootNames']()){const _0x17aabd=this['editor']['model']['document']['getRoot'](_0x3b368),_0x21e850=this['editor']['editing']['view']['document']['getRoot'](_0x3b368);if(_0x21e850){const _0x2f06cc=_0x17aabd['getAttribute']('revisionHistoryAttachChange');if(_0x4796c8['removeAttribute']('data-change-id',_0x21e850),_0x4796c8['removeClass']('ck-revision-history-root-add',_0x21e850),_0x4796c8['removeClass']('ck-revision-history-root-remove',_0x21e850),_0x4796c8['removeClass']('ck-revision-history-root--active',_0x21e850),_0x2f06cc){const _0x3cbc09=this['_getChangeFromId'](_0x2f06cc);if(!_0x3cbc09)return null;_0x4796c8['setAttribute']('data-change-id',_0x2f06cc,_0x21e850),_0x4796c8['addClass']('ck-revision-history-root-'+_0x3cbc09['type'],_0x21e850),this['activeChange']==_0x3cbc09&&_0x4796c8['addClass']('ck-revision-history-root--active',_0x21e850);}}}});}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'comment','model':_0x3b4ae4=>'revision-comment:'+_0x3b4ae4,'converterPriority':'highest'}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'suggestion','model':_0x28d511=>'revision-suggestion:'+_0x28d511,'converterPriority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision-suggestion','view':_0x120cd5=>({'name':'suggestion:'+_0x120cd5,'group':'revision-suggestion'}),'converterPriority':'highest'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision-suggestion','view':_0x5380a5=>{const _0x46941c=_0x5380a5['markerName']['split'](':')[0x1];return'insertion'!=_0x46941c&&'deletion'!=_0x46941c?null:{'classes':['ck-suggestion-preview-marker','ck-suggestion-preview-marker-'+_0x46941c]};}}),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',(_0x3bf129,_0x304727,_0x67614)=>{const _0x382274=_0x67614['mapper']['markerNameToElements'](_0x304727['markerName']);if(_0x382274){for(const _0x1fa2f2 of _0x382274)_0x1fa2f2['is']('uiElement')&&(_0x67614['mapper']['unbindElementFromMarkerName'](_0x1fa2f2,_0x304727['markerName']),_0x67614['writer']['remove'](_0x1fa2f2));}},{'priority':'high'});}['_getChangeFromId'](_0x647381){return this['_changeIdToChange']['get'](_0x647381);}['_getViewForChange'](_0x28e57b){return this['_changeView']&&this['_changeView']['destroy'](),this['_changeView']=new Z(this['editor']['locale'],_0x28e57b),this['_changeView'];}['_initInteractions'](){this['editor']['model']['document']['selection']['observeMarkers']('revision'),this['on']('change:activeView',(_0x49ac6b,_0x2071a8,_0x73d329,_0x2ba183)=>{_0x2ba183&&this['_balloon']['remove'](_0x2ba183),_0x73d329&&(this['_balloon']['add']({'view':_0x73d329,'stackId':'revisionHistoryLabel','position':{'target':()=>{const _0x81024e=this['editor']['editing'],_0x587416=this['_getChangeFromId'](_0x73d329['changeId']);let _0x4b9bc9;if(_0x587416['data']['isOnRoot']){const _0x102fe4=_0x81024e['view']['getDomRoot'](_0x587416['rootName']);_0x4b9bc9=Array['from'](_0x102fe4['getClientRects']());}else{const _0x3a90b4=this['editor']['model']['markers']['get']('revision:'+_0x73d329['changeId']);_0x4b9bc9=Array['from'](_0x81024e['mapper']['markerNameToElements'](_0x3a90b4['name']))['map'](_0x527634=>_0x81024e['view']['domConverter']['mapViewToDom'](_0x527634))['map'](_0x386cd3=>Array['from'](_0x386cd3['getClientRects']()))['flat']();}if(!this['_activeViewTarget'])return _0x4b9bc9[0x0];return _0x4b9bc9['find'](_0x4e4f67=>_0x4e4f67['top']-0x3<=this['_activeViewTarget']['y']&&_0x4e4f67['bottom']+0x3>=this['_activeViewTarget']['y']&&_0x4e4f67['left']-0x3<=this['_activeViewTarget']['x']&&_0x4e4f67['right']+0x3>=this['_activeViewTarget']['x'])||_0x4b9bc9[0x0];}}}),this['_balloon']['showStack']('revisionHistoryLabel'));}),this['on']('change:activeChange',(_0x38aebe,_0x1e8b0b,_0x4b8d98,_0x56e3ab)=>{this['activeView']=_0x4b8d98?this['_getViewForChange'](_0x4b8d98):null,this['editor']['model']['change'](()=>{const _0x24f8a2=this['editor']['editing'];_0x56e3ab&&(_0x56e3ab['data']['isOnRoot']?_0x24f8a2['view']['change'](_0x5df2db=>{_0x5df2db['removeClass']('ck-revision-history-root--active',_0x24f8a2['view']['document']['getRoot'](_0x56e3ab['rootName']));}):_0x24f8a2['reconvertMarker']('revision:'+_0x56e3ab['id'])),_0x4b8d98&&(_0x4b8d98['data']['isOnRoot']?_0x24f8a2['view']['change'](_0x23350d=>{_0x23350d['addClass']('ck-revision-history-root--active',_0x24f8a2['view']['document']['getRoot'](_0x4b8d98['rootName']));}):_0x24f8a2['reconvertMarker']('revision:'+_0x4b8d98['id']));});}),this['listenTo'](this['editor']['editing']['view']['document'],'mouseover',(_0x433091,_0x1e9c75)=>{if(this['activeChange'])return;const _0x1c0916=this['_findChangeIdFromDomTarget'](_0x1e9c75['target']),_0x25ac07=this['_changeIdToChange']['get'](_0x1c0916);_0x25ac07?(this['_activeViewTarget']={'x':_0x1e9c75['domEvent']['x'],'y':_0x1e9c75['domEvent']['y']},this['activeView']=this['_getViewForChange'](_0x25ac07)):(this['_activeViewTarget']=null,this['activeView']=null);}),this['listenTo'](this['editor']['editing']['view']['document'],'mousedown',(_0x278071,_0x3a24e2)=>{const _0xb536a=this['_findChangeIdFromDomTarget'](_0x3a24e2['target']),_0xd5fb0d=this['_changeIdToChange']['get'](_0xb536a);_0xd5fb0d?(this['_activeViewTarget']={'x':_0x3a24e2['domEvent']['x'],'y':_0x3a24e2['domEvent']['y']},_0xd5fb0d===this['activeChange']?this['_balloon']['updatePosition']():this['activeChange']=_0xd5fb0d):(this['_activeViewTarget']=null,this['activeChange']=null);});}['_findChangeIdFromDomTarget'](_0x207925){do{const _0x2a9e1f=_0x207925['getAttribute']('data-change-id');if(_0x2a9e1f)return _0x2a9e1f;_0x207925=_0x207925['parent'];}while(_0x207925);return null;}['_cleanMarkers'](){this['editor']['model']['change'](_0x506153=>{for(const _0x44da28 of this['editor']['model']['markers'])_0x506153['removeMarker'](_0x44da28);});}}function et(_0x321bd8,_0x284e12){return(_0x5573e8,_0x507352,_0x1457e7)=>{if(!_0x1457e7['consumable']['test'](_0x507352['markerRange'],_0x5573e8['name']))return;const _0x4bcef2=_0x507352['markerRange']['getWalker'](),_0x4d7329=_0x507352['markerRange']['start'],_0x758c89=_0x321bd8['model']['schema'];let _0x512c6b=null,_0x241a40=null,_0x37209b=!0x1,_0x52c092=!0x1;for(const _0x3eb8dd of _0x4bcef2){const _0xb89f27=_0x3eb8dd['item'];_0x37209b=_0x37209b||_0x758c89['isContent'](_0xb89f27);const _0x3ff439=_0x1457e7['mapper']['toViewElement'](_0xb89f27);if(_0x3ff439&&_0x3ff439['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x3eb8dd['type']&&(_0x758c89['isBlock'](_0xb89f27)&&!_0x758c89['isLimit'](_0xb89f27)&&(_0xb89f27['nextSibling']||_0x4d7329['isAtEnd']?_0x512c6b&&_0x512c6b['parent']==_0xb89f27||(_0x512c6b=_0xb89f27,_0x5aead5(_0x3eb8dd['previousPosition']),_0x52c092=!0x0):_0x241a40=_0x241a40||_0x3eb8dd['previousPosition']));}function _0x5aead5(_0x1b1cd8){const _0x414e40=_0x1457e7['mapper']['toViewPosition'](_0x1b1cd8),_0x233e43=_0x1457e7['writer']['createUIElement']('span',{'class':'ck-suggestion-preview-marker-'+_0x284e12});_0x1457e7['writer']['insert'](_0x414e40,_0x233e43),_0x1457e7['mapper']['bindElementToMarker'](_0x233e43,_0x507352['markerName']);}_0x37209b||_0x52c092||!_0x241a40||_0x5aead5(_0x241a40);};}class bt extends _0x2c59db{constructor(_0x5c2585){super(_0x5c2585);const _0x276342=_0x5c2585['plugins']['get'](d);this['affectsData']=!0x1,this['listenTo'](_0x276342,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x276342,'change:isEnabled',()=>this['refresh']());}['execute'](){const _0x1238e1=this['editor'],_0xdc4f00=_0x1238e1['plugins']['get'](d),_0x57e877=_0xdc4f00['isReady']?_0xdc4f00['diff']['newRevisionId']:null;_0x1238e1['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x57e877);}['refresh'](){const {isReady:_0xecd75e,isEnabled:_0x529c3c}=this['editor']['plugins']['get'](d);this['isEnabled']=_0xecd75e&&_0x529c3c;}}class yt extends _0x2c59db{['_step'];constructor(_0x941a5f,{direction:_0x54a959}){super(_0x941a5f);const _0x151d83=_0x941a5f['plugins']['get'](d);this['affectsData']=!0x1,this['_step']='forward'===_0x54a959?0x1:-0x1,this['listenTo'](_0x151d83,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x151d83,'change:isEnabled',()=>this['refresh']()),this['listenTo'](_0x151d83,'change:activeChange',()=>this['refresh']());}['execute'](){const _0x409106=this['editor'],_0x409bd3=_0x409106['plugins']['get'](d),{isNavigationMode:_0x38a7de,currentChangeNumber:_0x545508}=_0x409bd3;let _0x45086e;if(_0x409bd3['activeChange']=_0x38a7de?_0x409bd3['diff']['changes']['get'](_0x545508+this['_step']):_0x409bd3['diff']['changes']['first'],_0x409bd3['activeChange']['data']['isOnRoot'])_0x45086e=_0x409106['editing']['view']['getDomRoot'](_0x409bd3['activeChange']['rootName']);else{const _0x37fcb8=_0x409106['model']['markers']['get']('revision:'+_0x409bd3['activeChange']['id']);_0x45086e=_0x2cc4e8(_0x409106['editing'],_0x37fcb8);}_0x582b14({'target':_0x45086e,'viewportOffset':0x28});}['refresh'](){const {isNavigationMode:_0x4e81c5,currentChangeNumber:_0x1b371e,numberOfChanges:_0xf83d98,isReady:_0x3c93f5,isEnabled:_0x1ca11a}=this['editor']['plugins']['get'](d);this['isEnabled']=!!(_0x1ca11a&&_0x3c93f5&&_0xf83d98)&&(!_0x4e81c5||(0x1===this['_step']?_0x1b371e<_0xf83d98-0x1:_0x1b371e>0x0));}}class _i extends _0x171859{constructor(_0x59f2d7){super(_0x59f2d7);const _0x283be6=this['bindTemplate'],_0x445eb7=new _0x1b852d(_0x59f2d7),_0x3dc5cb=new _0x1b852d(_0x59f2d7);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',(_0x5a1448,_0x25112e)=>_0x5a1448&&_0x25112e>0x0),this['bind']('_statusText')['to'](this,'isReady',this,'currentChangeNumber',this,'numberOfChanges',this,'isNavigationMode',(_0x2c3bb2,_0x54c411,_0x5c528d,_0x31443c)=>{if(!_0x2c3bb2)return y(_0x59f2d7,'Loading...');if(!_0x5c528d)return y(_0x59f2d7,'No\x20changes');const _0x3aa34b=y(_0x59f2d7,'NUMBER_OF_CHANGES',_0x5c528d);return _0x31443c?y(_0x59f2d7,'X_OF_Y_CHANGES',[_0x54c411+0x1,_0x5c528d]):_0x3aa34b;}),_0x445eb7['set']({'label':y(_0x59f2d7,'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'}),_0x3dc5cb['set']({'label':y(_0x59f2d7,'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'}),_0x445eb7['bind']('isEnabled')['to'](this,'isBackwardNavigationEnabled'),_0x3dc5cb['bind']('isEnabled')['to'](this,'isForwardNavigationEnabled'),_0x445eb7['on']('execute',()=>this['fire']('execute','backward')),_0x3dc5cb['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',_0x283be6['if']('_isStatusLabelVisible','ck-hidden',_0x16fc5a=>!_0x16fc5a)]},'children':[{'text':_0x283be6['to']('isNavigationMode',_0x2ee44e=>_0x2ee44e?y(_0x59f2d7,'EDIT_X_OF_Y_REVISIONS')+':\x20':y(_0x59f2d7,'Total')+':\x20')}]},{'text':_0x283be6['to']('_statusText')}]},new _0x3e822a(),{'tag':'div','attributes':{'class':['ck-revision-history-ui__changes-navigation__navigation']},'children':[_0x445eb7,_0x3dc5cb]}]});}}const ce='ck-editor__editable__loading-overlay';class de extends _0x2adf2b{static get['pluginName'](){return'RevisionViewerLoadingOverlay';}['show'](){const _0xb012e1=this['editor']['editing']['view'];_0xb012e1['change'](_0x48fbf3=>{for(const _0x5d4ad1 of _0xb012e1['document']['roots'])_0x48fbf3['addClass'](ce,_0x5d4ad1);});}['hide'](){const _0x210769=this['editor']['editing']['view'];_0x210769['change'](_0x566443=>{for(const _0x1ea865 of _0x210769['document']['roots'])_0x566443['removeClass'](ce,_0x1ea865);});}}class R extends _0x2adf2b{static get['pluginName'](){return'RevisionViewerUI';}static get['requires'](){return[d,de];}['init'](){const _0x25e479=this['editor'],_0x3bf54b=_0x25e479['plugins']['get'](d),_0x138746=_0x25e479['plugins']['get'](de);_0x25e479['ui']['componentFactory']['add']('exitToEditing',_0x4fa7ea=>{const _0x4d4478=new _0x1b852d(_0x4fa7ea);return _0x4d4478['set']({'label':y(_0x4fa7ea,'Back\x20to\x20editing'),'icon':_0x2e42e2['undo'],'withText':!0x0,'tooltip':!0x0,'class':'ck-revision-history-ui__back-to-editing'}),this['listenTo'](_0x4d4478,'execute',()=>{_0x25e479['config']['get']('revisionHistory')['closeRevisionViewerCallback']();}),_0x4d4478;}),_0x25e479['ui']['componentFactory']['add']('restoreRevision',_0x311e51=>{const _0x127749=new _0x1b852d(_0x311e51);return _0x127749['set']({'label':y(_0x311e51,'Restore\x20this\x20revision'),'withText':!0x0,'tooltip':!0x0}),_0x127749['bind']('isEnabled')['to'](_0x25e479['commands']['get']('restoreRevision')),this['listenTo'](_0x127749,'execute',()=>_0x25e479['execute']('restoreRevision')),_0x127749;}),_0x25e479['ui']['componentFactory']['add']('changesNavigation',_0x4b5b08=>{const _0x74995f=new _i(_0x4b5b08),_0x2684d3=_0x25e479['commands']['get']('showPreviousChange'),_0x9bdac3=_0x25e479['commands']['get']('showNextChange');return _0x74995f['bind']('isBackwardNavigationEnabled')['to'](_0x2684d3,'isEnabled'),_0x74995f['bind']('isForwardNavigationEnabled')['to'](_0x9bdac3,'isEnabled'),_0x74995f['bind']('isReady','currentChangeNumber','numberOfChanges','isNavigationMode')['to'](_0x3bf54b),this['listenTo'](_0x74995f,'execute',(_0x1fa9ac,_0x19d484)=>{_0x25e479['execute']('forward'===_0x19d484?'showNextChange':'showPreviousChange');}),_0x74995f;}),_0x138746['show'](),_0x3bf54b['on']('change:isReady',(_0x17f0b4,_0x16f252,_0x3d6520)=>{_0x3d6520?_0x138746['hide']():_0x138746['show']();});}}class kt extends at{['_resizeObserver']=null;constructor(_0x5dc857,_0x4b89aa){super(_0x5dc857,_0x4b89aa);const _0x5810d1=this['bindTemplate'];this['set']({'label':y(_0x5dc857,'Revision\x20name'),'_tooltipString':''}),this['fieldView']['placeholder']=y(_0x5dc857,'Enter\x20the\x20revision\x20name'),this['extendTemplate']({'tag':'span','attributes':{'class':['ck-revision-history-sidebar__revision-name'],'data-cke-tooltip-text':_0x5810d1['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 _0xfa2551=this['fieldView']['element'];this['_tooltipString']=_0xfa2551['scrollWidth']>_0xfa2551['clientWidth']&&_0xfa2551['value']||'';}}class ti extends _0x171859{constructor(_0x2346a3,_0x1307d4,_0x41dd9a){super(_0x2346a3);const _0x3a5f7e=new _0x2d8cd6();_0x3a5f7e['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 _0x4a5433=['ck','ck-revision-history-sidebar__revision-author'];_0x41dd9a&&_0x4a5433['push']('ck-revision-history-sidebar__revision-author_creator');const _0x5887ad=[{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__revision-author__name'],'title':y(_0x2346a3,_0x41dd9a?'Revision\x20creator':'Revision\x20author')},'children':[_0x3a5f7e,_0x1307d4['name']]}];this['setTemplate']({'tag':'li','attributes':{'class':_0x4a5433},'children':_0x5887ad});}}function ni(_0x1d3989,_0x4f9f3e){const _0x46b12c=_0x1d3989['bindTemplate'],_0x36ec79=_0x1d3989['locale'],_0x2c15a8=_0xcec09(_0x36ec79);_0x2c15a8['panelPosition']='sw';const _0x151076=function(_0x3374d4,_0x34a57f){const _0x1614ad=function(_0x412fbc,_0x295981){const _0x3d1dfa=_0x412fbc['locale'],_0x1106f5={'Compare\x20against\x20selected':y(_0x3d1dfa,'Compare\x20against\x20selected'),'Name\x20this\x20revision':y(_0x3d1dfa,'Name\x20this\x20revision'),'Restore\x20this\x20revision':y(_0x3d1dfa,'Restore\x20this\x20revision')};return _0x295981['map'](_0x2ae504=>{const _0x4660cf=_0x1106f5[_0x2ae504['name']];return _0x4660cf&&_0x4660cf!==_0x2ae504['name']&&(_0x2ae504['name']=_0x4660cf),_0x2ae504;});}(_0x3374d4,_0x34a57f),_0x23ff0c=new _0x1ae346();for(const _0x5477e8 of _0x1614ad){const _0xfba95e={'type':'button','model':new to({'label':_0x5477e8['name'],'class':_0x5477e8['class'],'withText':!0x0,'role':'menuitem','_action':_0x5477e8['action']})};_0xfba95e['model']['bind']('isEnabled')['to'](_0x3374d4,'isActionsDropdownOpen',_0x4637f4=>'function'!=typeof _0x5477e8['isEnabled']||(!_0x4637f4||_0x5477e8['isEnabled'](_0x3374d4))),_0x23ff0c['add'](_0xfba95e);}return _0x23ff0c;}(_0x1d3989,_0x4f9f3e);return _0x1d3989['bind']('isActionsDropdownOpen')['to'](_0x2c15a8,'isOpen'),_0x2c15a8['buttonView']['set']({'label':y(_0x36ec79,'Show\x20more\x20items'),'tooltip':!0x0,'tooltipPosition':'sw','icon':_0x2e42e2['threeVerticalDots']}),_0x2c15a8['extendTemplate']({'attributes':{'class':['ck-revision-history-sidebar__revision__actions',_0x46b12c['if']('isActionsDropdownOpen','ck-on')]},'on':{'click':_0x46b12c['to'](_0x41e752=>_0x41e752['stopPropagation']())}}),_0x2c15a8['on']('execute',_0x43103b=>{_0x1d3989['isReady']&&'function'==typeof _0x43103b['source']['_action']&&_0x43103b['source']['_action'](_0x1d3989);}),_0x35e72a(_0x2c15a8,_0x151076,{'role':'menu'}),_0x2c15a8['listenTo'](_0x1d3989,'change:isActionsDropdownOpen',(_0x13ced7,_0x2a547b,_0x109b04)=>{if(_0x109b04)for(const _0x320c03 of _0x2c15a8['listView']['items']){const _0x3958a5=_0x320c03['children']['first'],_0x40b7e9=_0x4f9f3e['find'](_0x23ee67=>_0x23ee67['action']===_0x3958a5['_action'])['isVisible'];_0x320c03['isVisible']=void 0x0===_0x40b7e9||_0x40b7e9(_0x1d3989);}}),_0x2c15a8;}class ai extends/* #__PURE__ -- @preserve */
|
|
26
|
+
_0x146896(_0x171859){['id'];['revisionNameView'];['revisionActionsView'];['_revision'];['_requireRevisionName'];constructor(_0x59bf03,_0x172594,_0xe8a694,_0xb65b03){super(_0x59bf03);const _0xc345=this['bindTemplate'],_0x58f9bf=function(_0x2ee432,_0x4167e5){const _0x58fca7=Array['from'](_0x4167e5['authors'])['filter'](_0x154804=>_0x154804!=_0x4167e5['creator']);return _0x4167e5['creator']&&_0x58fca7['unshift'](_0x4167e5['creator']),_0x58fca7['map'](_0x13b1b7=>new ti(_0x2ee432,_0x13b1b7,_0x13b1b7==_0x4167e5['creator']));}(_0x59bf03,_0x172594);this['id']=_0x172594['id'],this['_revision']=_0x172594,this['_requireRevisionName']=_0xb65b03,this['bind']('name','createdAt')['to'](_0x172594),this['bind']('_createdAtFormatted')['to'](this,'createdAt',_0x2aeed6=>{return _0x4cbaa9=_0x59bf03['uiLanguage'],(_0x41fd4e=_0x2aeed6)['toLocaleDateString'](_0x4cbaa9,{'month':'long','day':'numeric'})+',\x20'+_0x41fd4e['toLocaleTimeString'](_0x4cbaa9,{'hour':'numeric','minute':'numeric'});var _0x4cbaa9,_0x41fd4e;}),this['set']('isSelected',!0x1),this['set']('isHighlighted',!0x1),this['set']('isActionsDropdownOpen',!0x1),this['set']('isReady',!0x1),this['set']('isEnabled',!0x1),this['revisionNameView']=new kt(_0x59bf03,_0x48b85f),this['revisionNameView']['fieldView']['extendTemplate']({'attributes':{'maxlength':'220'}}),this['revisionNameView']['fieldView']['bind']('value')['to'](this,'name',_0xd8c091=>_0xd8c091||this['_createdAtFormatted']),this['revisionNameView']['bind']('isEnabled')['to'](this,'isSelected',this,'isEnabled',(_0x753967,_0x363149)=>_0x753967&&_0x363149),this['revisionActionsView']=_0xe8a694&&_0xe8a694['length']?ni(this,_0xe8a694):'',this['revisionActionsView']&&this['revisionActionsView']['bind']('isEnabled')['to'](this),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision-wrapper',_0xc345['if']('isConfirm','ck-revision-history-sidebar__revision-wrapper_confirmation_visible')]},'children':[{'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision',_0xc345['if']('isEnabled','ck-disabled',_0x556dec=>!_0x556dec),_0xc345['if']('isSelected','ck-revision-history-sidebar__revision_selected'),_0xc345['if']('isHighlighted','ck-revision-history-sidebar__revision_highlighted'),_0xc345['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':_0xc345['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':_0x58f9bf}]},this['revisionActionsView']],'on':{'click':_0xc345['to'](_0x5a7cfb=>{_0x5a7cfb['srcElement']['closest']('.ck-thread__remove-confirm')||this['isReady']&&this['isEnabled']&&this['fire']('select',{'id':this['id']});})}}]});}['render'](){super['render']();const _0x1a38b0=this['revisionNameView']['fieldView']['element'];this['listenTo'](_0x1a38b0,'change',()=>{this['_requireRevisionName']&&!_0x1a38b0['value']||this['fire']('setName',{'id':this['id'],'name':_0x1a38b0['value']}),_0x1a38b0['value']||(_0x1a38b0['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(_0x519279,_0x4c6ed3){const _0x152c52=_0x578341['fromJSDate'](_0x519279)['setLocale'](_0x4c6ed3),_0x150c1c=_0x578341['local'](),_0x40925a=_0x150c1c['minus']({'days':0x1})['startOf']('day');let _0x24b1f0,_0x4caa20;return _0x152c52['hasSame'](_0x150c1c,'day')?(_0x24b1f0=_0x152c52['startOf']('day')['toJSDate'](),_0x4caa20=_0x152c52['toRelativeCalendar']()):_0x152c52['hasSame'](_0x40925a,'day')?(_0x24b1f0=_0x40925a['toJSDate'](),_0x4caa20=_0x152c52['toRelativeCalendar']()):_0x152c52['hasSame'](_0x150c1c,'week')?(_0x24b1f0=_0x152c52['startOf']('week')['toJSDate'](),_0x4caa20=_0x152c52['weekdayLong']||''):_0x152c52['hasSame'](_0x150c1c,'year')?(_0x24b1f0=_0x152c52['startOf']('month')['toJSDate'](),_0x4caa20=_0x152c52['monthLong']||''):(_0x24b1f0=_0x152c52['startOf']('year')['toJSDate'](),_0x4caa20=String(_0x152c52['year'])),{'startDate':_0x24b1f0,'localizedPeriodName':_0x4caa20};}class mi extends _0x171859{['startDate'];['revisionViews'];['_revisionActions'];['_requireRevisionName'];constructor(_0x29246b,_0x3246e3,_0x479245,_0x2e5b88){super(_0x29246b);const _0xcef9bb=di(_0x3246e3,this['locale']['uiLanguage'])['localizedPeriodName'];this['startDate']=_0x3246e3,this['revisionViews']=this['createCollection'](),this['_revisionActions']=_0x479245,this['_requireRevisionName']=_0x2e5b88,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':_0xcef9bb}]},{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__time-period__revisions']},'children':this['revisionViews']}]});}['addRevision'](_0x17af8b){const _0x39f7f6=new ai(this['locale'],_0x17af8b,this['_revisionActions'],this['_requireRevisionName']);this['revisionViews']['add'](_0x39f7f6);}['removeRevision'](_0x37caad){const _0x4e5628=this['revisionViews']['find'](_0x296704=>_0x296704['id']===_0x37caad['id']);this['revisionViews']['remove'](_0x4e5628);}}class as extends _0x171859{constructor(_0x59ce71){super(_0x59ce71);const _0x50472d=new _0x2d8cd6();_0x50472d['content']=_0x2e42e2['history'],this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all','ck-revision-history-sidebar__header']},'children':[_0x50472d,{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__header__label']},'children':[y(_0x59ce71,'Revision\x20history')]}]});}}class ci extends _0x171859{['timePeriodViews'];['_revisions'];['_revisionActions'];['_requireRevisionName'];constructor(_0x2645ab,_0x3365dc,_0x53653e,_0x55a9a4){super(_0x2645ab);const _0x5345a2=this['bindTemplate'];this['timePeriodViews']=this['createCollection'](),this['timePeriodViews']['delegate']('select')['to'](this),this['timePeriodViews']['delegate']('setName')['to'](this),this['_revisions']=_0x3365dc,this['_revisionActions']=_0x53653e,this['_requireRevisionName']=_0x55a9a4,this['on']('select',(_0xf1acd,_0x3c0e71)=>{this['fire']('revisionSelected',_0x3c0e71);}),this['on']('setName',(_0x163123,_0x48d7d4)=>{this['fire']('revisionSetName',_0x48d7d4);}),this['set']('isEnabled',!0x1),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-rounded-corners','ck-revision-history-sidebar']},'children':[new as(_0x2645ab),{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__timeline',_0x5345a2['if']('isEnabled','ck-disabled',_0x2b2f27=>!_0x2b2f27)]},'children':this['timePeriodViews']}]});}['render'](){super['render']();for(const _0x55c225 of this['_revisions'])this['_addRevision'](_0x55c225);this['_revisions']['on']('add',(_0x127287,_0x28869e)=>{this['_addRevision'](_0x28869e);}),this['_revisions']['on']('remove',(_0x1f699c,_0x39d2b5)=>{this['_removeRevision'](_0x39d2b5);});}get['revisionViews'](){return this['timePeriodViews']['map'](_0x40dfd7=>_0x40dfd7['revisionViews']['map'](_0x31059a=>_0x31059a))['flat']();}['selectRevision'](_0x109931){for(const _0x2d7c7e of this['revisionViews'])_0x109931&&_0x109931['id']===_0x2d7c7e['id']?_0x2d7c7e['select']():_0x2d7c7e['deselect']();}['highlightRevisions'](_0x4fa2cd){for(const _0x203d7e of this['revisionViews'])_0x4fa2cd['some'](({id:_0x192695})=>_0x192695===_0x203d7e['id'])?_0x203d7e['highlight']():_0x203d7e['unhighlight']();}['_addRevision'](_0x4b57e3){const _0xc6d4c9=di(_0x4b57e3['createdAt'],this['locale']['uiLanguage'])['startDate'];let _0x1620a9=this['timePeriodViews']['get'](0x0);_0x1620a9&&_0x1620a9['startDate']['getTime']()===_0xc6d4c9['getTime']()||(_0x1620a9=new mi(this['locale'],_0xc6d4c9,this['_revisionActions'],this['_requireRevisionName']),this['timePeriodViews']['add'](_0x1620a9)),_0x1620a9['addRevision'](_0x4b57e3);}['_removeRevision'](_0x311425){const _0x43dccc=di(_0x311425['createdAt'],this['locale']['uiLanguage'])['startDate'];this['_getTimePeriodViewByStartDate'](_0x43dccc)['removeRevision'](_0x311425);}['_getTimePeriodViewByStartDate'](_0x56ca37){return this['timePeriodViews']['find'](_0x41fc62=>_0x41fc62['startDate']['getTime']()===_0x56ca37['getTime']());}}class w extends _0x2adf2b{['_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(_0xd34dd5){super(_0xd34dd5),this['_revisionViewer']=_0xd34dd5['plugins']['get'](d),this['_revisionsRepository']=this['_revisionViewer']['repository'],this['_sidebarView']=null;}['init'](){const _0x2c3dfe=this['_revisionsRepository']['_revisions'],_0x444b65=this['_createRevisionActions'](),_0x1af33a=this['editor']['config']['get']('revisionHistory.viewerSidebarContainer');this['_sidebarView']=new ci(this['editor']['locale'],_0x2c3dfe,_0x444b65,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',(_0x5128c1,_0x4ddbc6)=>{_0x4ddbc6['revisionViews']['on']('add',(_0x2cb601,_0x47ffa1)=>{_0x47ffa1['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)),_0x1af33a['appendChild'](this['_sidebarView']['element']);}['destroy'](){this['_sidebarView']['element']['remove'](),this['_sidebarView']['destroy']();}['_handleEditorDataReady'](){const _0x4f6502=this['_revisionsRepository']['getRevision'](0x0);if(_0x4f6502){const _0x38cfd2=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x4f6502['id']);this['_revisionViewer']['compare'](_0x4f6502,_0x38cfd2);}}['_handleRevisionSelected'](_0x5dbd7d,_0x44ed25){const _0x277ab1=this['_revisionsRepository']['getRevision'](_0x44ed25['id']),_0x3bd1bb=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x277ab1['id']);this['_revisionViewer']['compare'](_0x277ab1,_0x3bd1bb);}['_handleRevisionSetName'](_0x2795db,_0x3063ad){this['_revisionsRepository']['getRevision'](_0x3063ad['id'])['setName'](_0x3063ad['name']);}['_handleDiffChange'](_0x371d95,_0x5af8a8,_0x27eb65){const _0x2a1eb1=this['_revisionsRepository']['getRevisionsInDiff'](_0x27eb65);_0x2a1eb1['length']>0x2?(this['_sidebarView']['highlightRevisions'](_0x2a1eb1),this['_sidebarView']['selectRevision'](null)):(this['_sidebarView']['highlightRevisions']([]),this['_sidebarView']['selectRevision'](_0x2a1eb1[0x0]));}['_createRevisionActions'](){const _0x2c38ef=this['editor'],_0x55311c=w['availableRevisionActions'],_0x5c9ac4=_0x2c38ef['config']['get']('revisionHistory.revisionActions')||w['defaultRevisionActions'];if(_0x5c9ac4['length'])return _0x5c9ac4['map'](_0x5dd35a=>{const _0x5d3acb='string'==typeof _0x5dd35a?Object['assign']({},_0x55311c[_0x5dd35a]):_0x5dd35a;return _0x5d3acb['action']=_0x5d3acb['action']['bind'](this,_0x2c38ef),_0x5d3acb['isVisible']&&(_0x5d3acb['isVisible']=_0x5d3acb['isVisible']['bind'](this,_0x2c38ef)),_0x5d3acb;});}}function Rt(){return{'compareAgainstSelected':{'name':'Compare\x20against\x20selected','action':({plugins:_0x3f1b81},_0xc38ade)=>{const _0x4e35cb=_0x3f1b81['get'](d),_0x4923c8=_0x4e35cb['repository'];let _0xc4fb9a=_0x4e35cb['diff']['newRevisionId'],_0xa327b2=_0xc38ade['id'];_0x4923c8['getIndex'](_0xc4fb9a)>_0x4923c8['getIndex'](_0xa327b2)&&([_0xc4fb9a,_0xa327b2]=[_0xa327b2,_0xc4fb9a]),_0x4e35cb['compare'](_0xc4fb9a,_0xa327b2);},'isVisible':({plugins:_0x332a64},_0x496674)=>{const _0x4e62e3=_0x332a64['get'](d);return!(_0x4e62e3['repository']['getRevisionsInDiff'](_0x4e62e3['diff'])['length']>0x2)&&!_0x496674['isSelected'];}},'restoreRevision':{'name':'Restore\x20this\x20revision','action':(_0x1f91ba,{id:_0x208c54})=>{_0x1f91ba['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x208c54);},'isVisible':({plugins:_0x330364},_0x1ccde3)=>!!_0x330364['get'](d)['repository']['getLaterVisibleRevision'](_0x1ccde3['id'])},'nameRevision':{'name':'Name\x20this\x20revision','action':({plugins:_0x3f6ba4},{id:_0x48a8f0,revisionNameView:_0x3529c3})=>{const _0x2f4cda=_0x3f6ba4['get'](d),_0x2a690e=_0x2f4cda['repository']['getEarlierVisibleRevision'](_0x48a8f0);_0x2f4cda['compare'](_0x48a8f0,_0x2a690e),_0x3529c3['focus'](),_0x3529c3['fieldView']['select']();}}};}class st extends ht{['_view'];['_toolbarConfig'];['_elementReplacer'];get['view'](){return this['_view'];}constructor(_0x2cee75,_0x48fc6e){super(_0x2cee75),this['_view']=_0x48fc6e,this['_toolbarConfig']=ct(_0x2cee75['config']['get']('toolbar')),this['_elementReplacer']=new nt();}get['element'](){return this['view']['element'];}['init'](_0x5955f6){const _0x489c49=this['editor'],_0x67447a=this['view'],_0x52133d=_0x489c49['editing']['view'],_0x4ccdc8=_0x67447a['editable'],_0x53fb69=_0x52133d['document']['getRoot']();_0x4ccdc8['name']=_0x53fb69['rootName'],_0x67447a['render']();const _0x11930d=_0x4ccdc8['element'];this['setEditableElement'](_0x4ccdc8['name'],_0x11930d),_0x67447a['editable']['bind']('isFocused')['to'](this['focusTracker']),_0x52133d['attachDomRoot'](_0x11930d),this['_elementReplacer']['replace'](_0x5955f6,this['element']),this['_initToolbar'](),this['fire']('ready');}['destroy'](){super['destroy']();const _0x2dded0=this['view'],_0x377329=this['editor']['editing']['view'];this['_elementReplacer']['restore'](),_0x377329['detachDomRoot'](_0x2dded0['editable']['name']),_0x2dded0['destroy']();}['_initToolbar'](){const _0x1b3542=this['view'];_0x1b3542['stickyPanel']['bind']('isActive')['to'](this['focusTracker'],'isFocused'),_0x1b3542['stickyPanel']['limiterElement']=_0x1b3542['element'],_0x1b3542['stickyPanel']['bind']('viewportTopOffset')['to'](this,'viewportOffset',({top:_0x5cc550})=>_0x5cc550),_0x1b3542['toolbar']['fillFromConfig'](this['_toolbarConfig'],this['componentFactory']),this['addToolbar'](_0x1b3542['toolbar']);}}class ot extends dt{['_editable'];['stickyPanel'];['toolbar'];get['editable'](){return this['_editable'];}constructor(_0xcc02a4,_0x2516fe,_0x1f04dd={}){super(_0xcc02a4),this['stickyPanel']=new lt(_0xcc02a4),this['toolbar']=new pt(_0xcc02a4,{'shouldGroupWhenFull':_0x1f04dd['shouldToolbarGroupWhenFull']}),this['_editable']=new ut(_0xcc02a4,_0x2516fe);}['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(_0x1c9b45,_0x151309){super(_0x151309),this['sourceElement']=_0x1c9b45,this['model']['document']['createRoot']();const _0x3019d8=new ot(this['locale'],this['editing']['view'],{'shouldToolbarGroupWhenFull':!0x0});this['_ui']=new st(this,_0x3019d8);}['destroy'](){return this['updateSourceElement'](),this['ui']['destroy'](),super['destroy']();}static async['create'](_0x906a67,_0x4ea143){const _0x1cc963=new this(_0x906a67,_0x4ea143);return await _0x1cc963['initPlugins'](),await _0x1cc963['ui']['init'](_0x906a67),await _0x1cc963['data']['init'](_0x1cc963['config']['get']('initialData')||''),_0x1cc963['fire']('ready'),_0x1cc963;}}const p=['RevisionHistoryUI','RestrictedEditingMode'];class k extends _0x2adf2b{['result'];static get['pluginName'](){return'RevisionViewerIntegration';}constructor(_0x7c956e){super(_0x7c956e),this['result']='end';}}class H extends _0x2adf2b{['_viewerEditor'];static get['pluginName'](){return'RevisionHistory';}static get['requires'](){return[l,u];}constructor(_0x42aa1d){if(super(_0x42aa1d),!this['editor']['config']['get']('revisionHistory'))throw new _0x2512e3('revision-history-missing-configuration',this);this['_viewerEditor']=null,this['editor']['config']['define']('revisionHistory.showRevisionViewerCallback',_0x1fe585=>this['_showRevisionViewer']({..._0x1fe585,'translations':this['editor']['locale']['translations']})),this['editor']['config']['define']('revisionHistory.closeRevisionViewerCallback',_0x36d225=>this['_closeRevisionViewer'](_0x36d225)),this['editor']['config']['define']('revisionHistory.restoreRevisionCallback',_0x11956f=>this['_restoreRevision'](_0x11956f)),this['editor']['config']['define']('revisionHistory.requireRevisionName',!0x1),this['_enhanceShowRevisionViewerCallback'](),this['_enhanceCloseRevisionViewerCallback']();}set['adapter'](_0x395701){this['editor']['plugins']['get']('RevisionTracker')['adapter']=_0x395701;}get['adapter'](){return this['editor']['plugins']['get']('RevisionTracker')['adapter'];}['addRevisionData'](_0x5256d8){return this['editor']['plugins']['get']('RevisionTracker')['addRevisionData'](_0x5256d8);}['getRevision'](_0x5b8903){return this['editor']['plugins']['get']('RevisionsRepository')['getRevision'](_0x5b8903);}['getRevisions'](_0x51430c){return this['editor']['plugins']['get']('RevisionsRepository')['getRevisions'](_0x51430c||{'toJSON':!0x1});}['_getRevisionViewerEditorConfig'](){const _0x5cc782=this['editor'],_0x6f93df=_0x186908(_0x5cc782,p),_0x2d0bb8=_0x5cc782['plugins']['get']('RevisionTracker'),_0x114a2d=_0x5cc782['plugins']['get']('Users')['users'];return _0x6f93df['toolbar']=['exitToEditing','restoreRevision','changesNavigation'],delete _0x6f93df['lazyRoots'],(_0x6f93df['plugins']['push'](k,d,R,class extends _0x2adf2b{static get['requires'](){return[d,'Users'];}['init'](){const _0xeb8c1a=this['editor']['plugins']['get']('Users');for(const _0x2a7559 of _0x114a2d)_0x2a7559['isAnonymous']||_0xeb8c1a['getUser'](_0x2a7559['id'])||_0xeb8c1a['addUser'](_0x2a7559);const _0x3c9e8a=_0x2d0bb8['repository']['getRevisions']();let _0x4b3c6f=null;const _0x1edf2a=this['editor']['plugins']['get']('RevisionViewer');_0x1edf2a['adapter']=_0x2d0bb8['adapter'],_0x1edf2a['bind']('isEnabled')['to'](_0x2d0bb8),this['editor']['commands']['get']('restoreRevision')['bind']('isEnabled')['to'](_0x5cc782,'isReadOnly',_0x1fc54e=>!_0x1fc54e);for(const _0x2d3a7e of _0x3c9e8a){const _0x186376=null===_0x2d3a7e['creator'];if(_0x186376&&_0x2d3a7e['toVersion']===_0x2d3a7e['fromVersion'])continue;const _0x4adf67=_0x2d3a7e['toJSON']();_0x1edf2a['addRevisionData'](_0x4adf67,(_0x3f4250,_0x175488,_0x41dd7c)=>{if(_0x186376){if(_0x4b3c6f)_0x4b3c6f['_update'](_0x3f4250,_0x175488);else{if(!_0x175488){const _0x5779e4=_0x41dd7c['toJSON']();_0x5779e4['id']=_0x35ac72(),_0x2d0bb8['saveRevision'](_0x5779e4,_0x41dd7c['toVersion'])['then'](_0x2041cb=>{_0x4b3c6f=_0x2041cb;});}}}else _0x2d3a7e['_update'](_0x3f4250,_0x175488);});}}},w),_0x6f93df);}['_enhanceShowRevisionViewerCallback'](){const _0x29e3f4=this['editor']['config']['get']('revisionHistory')['showRevisionViewerCallback'];this['editor']['config']['set']('revisionHistory.showRevisionViewerCallback',async()=>{this['editor']['enableReadOnlyMode']('revision-history-viewer-opened');const _0x307a7d=this['editor']['plugins']['get']('RevisionTracker');if(this['editor']['plugins']['has']('Autosave')){const _0x1803bd=this['editor']['plugins']['get']('Autosave');await _0x1803bd['save']();}else await _0x307a7d['update']();if(this['editor']['plugins']['has']('PaginationLookup')&&this['editor']['plugins']['get']('PaginationLookup')['_recalculatePageBreaks'](),this['editor']['plugins']['has']('Dialog')){const _0x29d3e3=this['editor']['plugins']['get']('Dialog');_0x29d3e3['isOpen']&&_0x29d3e3['hide']();}const _0x49ceb6=this['_getRevisionViewerEditorConfig']();return _0x29e3f4(_0x49ceb6)['then'](_0x35502b=>{return(this['_viewerEditor']=_0x35502b,this['editor']['plugins']['has']('Annotations'))&&this['editor']['plugins']['get']('Annotations')['refreshVisibility'](),_0x35502b;})['catch'](_0x13f100=>(console['error'](_0x13f100),this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),null));});}['_enhanceCloseRevisionViewerCallback'](){const _0x1ece6b=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'](),_0x1ece6b(this['_viewerEditor'])['then'](()=>{if(this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),this['_viewerEditor']=null,this['editor']['plugins']['has']('Annotations')){const _0xdcbd65=this['editor']['plugins']['get']('Annotations');_0xdcbd65['refreshVisibility'](),_0xdcbd65['refreshPositioning']();}})));}['_showRevisionViewer'](_0x40a2ca){const _0x553998=this['editor']['config']['get']('revisionHistory.editorContainer'),_0x2ca920=this['editor']['config']['get']('revisionHistory.viewerContainer'),_0x399f52=this['editor']['config']['get']('revisionHistory.viewerEditorElement');return m['create'](_0x399f52,_0x40a2ca)['then'](_0x24802e=>(_0x2ca920['style']['display']='block',_0x553998['style']['display']='none',_0x24802e));}['_closeRevisionViewer'](_0x403055){const _0x22dd27=this['editor']['config']['get']('revisionHistory.editorContainer');return this['editor']['config']['get']('revisionHistory.viewerContainer')['style']['display']='none',_0x22dd27['style']['display']='',_0x403055['destroy']();}async['_restoreRevision'](_0x3217d6){const _0x2bc29c=this['editor'],_0x509d7e=this['_viewerEditor']['plugins']['get']('RevisionViewer'),_0x27b906=_0x2bc29c['plugins']['get']('RevisionTracker'),_0x2a87a5=_0x509d7e['repository']['getRevision'](_0x3217d6);let _0x4083fe,_0x59a011,_0x4676ef;try{_0x4083fe=await _0x509d7e['getRevisionData'](_0x2a87a5),_0x59a011=await _0x509d7e['getRevisionRootsAttributes'](_0x2a87a5);}catch(_0x80b8c9){return void console['error'](_0x80b8c9);}_0x2bc29c['model']['change'](_0xf32e0a=>{for(const _0x3cdd76 of Array['from'](_0x2bc29c['model']['markers']['getMarkersGroup']('restrictedEditingException')))_0xf32e0a['removeMarker'](_0x3cdd76);}),_0x509d7e['isReady']=!0x1,_0x2bc29c['model']['enqueueChange'](_0x38982d=>{_0x38982d['setSelection'](null),_0x38982d['removeSelectionAttribute'](_0x2bc29c['model']['document']['selection']['getAttributeKeys']());const _0xf81fda=Object['keys'](_0x4083fe);for(const _0x4fd35e of _0x2bc29c['model']['document']['roots'])'$graveyard'!=_0x4fd35e['rootName']&&_0x4fd35e['isAttached']()&&!_0xf81fda['includes'](_0x4fd35e['rootName'])&&_0x38982d['detachRoot'](_0x4fd35e);for(const _0x54d2e2 of _0xf81fda){let _0x566526=_0x2bc29c['model']['document']['getRoot'](_0x54d2e2);_0x566526&&_0x566526['isAttached']()||(_0x566526=_0x38982d['addRoot'](_0x54d2e2));const _0x2e35b1=_0x59a011[_0x54d2e2],_0x1e354e=Object['keys'](_0x2e35b1),_0x2bb6bb=_0x4083fe[_0x54d2e2];for(const _0x2df9b3 of _0x566526['getAttributeKeys']())_0x1e354e['includes'](_0x2df9b3)||_0x38982d['removeAttribute'](_0x2df9b3,_0x566526);for(const _0x2a4549 of _0x1e354e)_0x38982d['setAttribute'](_0x2a4549,_0x59a011[_0x54d2e2][_0x2a4549],_0x566526);_0x38982d['remove'](_0x38982d['createRangeIn'](_0x566526)),_0x38982d['insert'](_0x2bc29c['data']['parse'](_0x2bb6bb,_0x566526),_0x566526,0x0);}});const _0x4d103f=y(_0x2bc29c['locale'],'Restored');if(_0x2a87a5['name'])_0x4676ef=-0x1==_0x2a87a5['name']['indexOf'](_0x4d103f)?_0x4d103f+':\x20'+_0x2a87a5['name']:_0x2a87a5['name'];else _0x4676ef=_0x4d103f+':\x20'+(_0x2a87a5['createdAt']['toLocaleDateString'](_0x2bc29c['locale']['uiLanguage'],{'month':'long','day':'numeric'})+',\x20'+_0x2a87a5['createdAt']['toLocaleTimeString'](_0x2bc29c['locale']['uiLanguage'],{'hour':'numeric','minute':'numeric'}));return await _0x27b906['saveRevision']({'name':_0x4676ef}),_0x509d7e['isReady']=!0x0,_0x2bc29c['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};
|