@ckeditor/ckeditor5-revision-history 0.0.0-nightly-20240515.0 → 0.0.0-nightly-20240516.1
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 +5 -5
- 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,8 +20,8 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Plugin as
|
|
24
|
-
_0x189954(){['id'];['creator'];['authors'];['diffData'];['toVersion'];['fromVersion'];['model'];constructor(_0x15e747){super(),this['id']=_0x15e747['id']||_0x2d17fa(),this['creator']=_0x15e747['creator']||null,this['authors']=_0x15e747['authors']||[],this['diffData']=_0x15e747['diffData']||null,this['toVersion']=_0x15e747['toVersion']||0x0,this['fromVersion']=_0x15e747['fromVersion']||0x0,this['set']('name',_0x15e747['name']||''),this['set']('createdAt',_0x15e747['createdAt']||new Date()),this['set']('attributes',_0x15e747['attributes']||{});}['setName'](_0x1dc2a8){this['_update']({'name':_0x1dc2a8});}['setAttribute'](_0x4e26ad,_0x4ad34c){const _0x4f296b=_0x2bccda(this['attributes']);_0x52fc5a(_0x4f296b,_0x4e26ad,_0x4ad34c),this['_update']({'attributes':_0x4f296b});}['removeAttribute'](_0x42024c){const _0x17bc17=_0x2bccda(this['attributes']);_0x40c236(_0x17bc17,_0x42024c),this['_update']({'attributes':_0x17bc17});}['_update'](_0x1c1520,_0x52a4ad=!0x1){let _0x16aac8=!0x1;const _0x1aa279={'id':this['id']},_0x3b0a98=['name','createdAt','diffData','authors','attributes','toVersion','fromVersion','creatorId'];for(const _0x5d4e37 of _0x3b0a98){const _0x16031e=_0x1c1520[_0x5d4e37];void 0x0!==_0x16031e&&_0x16031e!==this[_0x5d4e37]&&(this[_0x5d4e37]=_0x16031e,_0x1aa279[_0x5d4e37]=_0x16031e,_0x16aac8=!0x0);}_0x16aac8&&(_0x1aa279['authors']&&(_0x1aa279['authorsIds']=_0x1aa279['authors']['map'](_0x51450d=>_0x51450d['id']),delete _0x1aa279['authors']),this['fire']('_update',_0x1aa279,_0x52a4ad));}['toJSON'](){return{'id':this['id'],'name':this['name'],'creatorId':this['creator']?this['creator']['id']:null,'authorsIds':this['authors']['map'](_0x10f82a=>_0x10f82a['id']),'diffData':this['diffData'],'createdAt':this['createdAt'],'attributes':this['attributes'],'fromVersion':this['fromVersion'],'toVersion':this['toVersion']};}}class A extends _0x365282{['_revisions'];static get['requires'](){return[_0x2bad0c];}static get['pluginName'](){return'RevisionsRepository';}get['length'](){return this['_revisions']['length'];}constructor(_0x47bb43){super(_0x47bb43),this['_revisions']=new _0x5db5a3();}['afterInit'](){!function(_0x55277f){function _0xf6f611(_0x385966,_0x151b66,_0x4f4de9){const _0x18096b={};_0x18096b[_0x5cfbd3([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])]={0x10:0xa,0x18:0xc,0x20:0xe},_0x18096b[_0x5cfbd3([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],_0x18096b[_0x5cfbd3([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],_0x18096b[_0x5cfbd3([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],_0x18096b[_0x5cfbd3([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],_0x18096b[_0x5cfbd3([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],_0x18096b[_0x5cfbd3([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],_0x18096b[_0x5cfbd3([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],_0x18096b[_0x5cfbd3([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],_0x18096b[_0x5cfbd3([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],_0x18096b[_0x5cfbd3([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 _0x48dc37=new Uint8Array(0x10);for(let _0x43c2c5=0xf;_0x43c2c5>=0x0;--_0x43c2c5)_0x48dc37[_0x43c2c5]=_0x4f4de9%0x100,_0x4f4de9=parseInt(_0x4f4de9/0x100);let _0x157a3f=null,_0x5932c3=0x10;const _0x3ea689=new Uint8Array(_0x151b66),_0x156f5b=[],_0x3ccf4f=[];_0x4e6d0f();for(let _0x4db641=0x0;_0x4db641<_0x385966[_0x5cfbd3([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4db641++)0x10===_0x5932c3&&(_0x157a3f=_0x4d1e77(_0x48dc37),_0x5932c3=0x0,_0x1b4c95(_0x48dc37)),_0x385966[_0x4db641]^=_0x157a3f[_0x5932c3++];return _0x385966;function _0x471e9a(_0x512b25){const _0x4697b2=[];for(let _0x2fb010=0x0;_0x2fb010<_0x512b25[_0x5cfbd3([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2fb010+=0x4)_0x4697b2[_0x5cfbd3([0x70,0x75,0x73,0x68])](_0x512b25[_0x2fb010]<<0x18|_0x512b25[_0x2fb010+0x1]<<0x10|_0x512b25[_0x2fb010+0x2]<<0x8|_0x512b25[_0x2fb010+0x3]);return _0x4697b2;}function _0x1b4c95(_0xd843c){for(let _0x523a76=0xf;_0x523a76>=0x0;_0x523a76--){if(0xff!==_0xd843c[_0x523a76]){_0xd843c[_0x523a76]++;break;}_0xd843c[_0x523a76]=0x0;}}function _0x4d1e77(_0x346347){const _0x25903e=_0x156f5b[_0x5cfbd3([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x1,_0x4467f5=[0x0,0x0,0x0,0x0];let t=_0x471e9a(_0x346347);for(let _0x3e12be=0x0;_0x3e12be<0x4;_0x3e12be++)t[_0x3e12be]^=_0x156f5b[0x0][_0x3e12be];for(let _0x5cdabc=0x1;_0x5cdabc<_0x25903e;_0x5cdabc++){for(let _0x54872c=0x0;_0x54872c<0x4;_0x54872c++)_0x4467f5[_0x54872c]=_0x18096b[_0x5cfbd3([0x54,0x31])][t[_0x54872c]>>0x18&0xff]^_0x18096b[_0x5cfbd3([0x54,0x32])][t[(_0x54872c+0x1)%0x4]>>0x10&0xff]^_0x18096b[_0x5cfbd3([0x54,0x33])][t[(_0x54872c+0x2)%0x4]>>0x8&0xff]^_0x18096b[_0x5cfbd3([0x54,0x34])][0xff&t[(_0x54872c+0x3)%0x4]]^_0x156f5b[_0x5cdabc][_0x54872c];t=_0x4467f5[_0x5cfbd3([0x73,0x6c,0x69,0x63,0x65])]();}const _0x5ac510=new Uint8Array(0x10);let _0x137605;for(let _0x5593b1=0x0;_0x5593b1<0x4;_0x5593b1++)_0x137605=_0x156f5b[_0x25903e][_0x5593b1],_0x5ac510[0x4*_0x5593b1]=0xff&(_0x18096b[_0x5cfbd3([0x53])][t[_0x5593b1]>>0x18&0xff]^_0x137605>>0x18),_0x5ac510[0x4*_0x5593b1+0x1]=0xff&(_0x18096b[_0x5cfbd3([0x53])][t[(_0x5593b1+0x1)%0x4]>>0x10&0xff]^_0x137605>>0x10),_0x5ac510[0x4*_0x5593b1+0x2]=0xff&(_0x18096b[_0x5cfbd3([0x53])][t[(_0x5593b1+0x2)%0x4]>>0x8&0xff]^_0x137605>>0x8),_0x5ac510[0x4*_0x5593b1+0x3]=0xff&(_0x18096b[_0x5cfbd3([0x53])][0xff&t[(_0x5593b1+0x3)%0x4]]^_0x137605);return _0x5ac510;}function _0x4e6d0f(){const _0x4f748d=_0x18096b[_0x5cfbd3([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])][_0x3ea689[_0x5cfbd3([0x6c,0x65,0x6e,0x67,0x74,0x68])]];for(let _0x44ffbc=0x0;_0x44ffbc<=_0x4f748d;_0x44ffbc++)_0x156f5b[_0x5cfbd3([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]),_0x3ccf4f[_0x5cfbd3([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]);const _0x1abd9b=0x4*(_0x4f748d+0x1),_0x58956e=_0x3ea689[_0x5cfbd3([0x6c,0x65,0x6e,0x67,0x74,0x68])]/0x4,_0x45228b=_0x471e9a(_0x3ea689);let _0x33da56;for(let _0x3e9c36=0x0;_0x3e9c36<_0x58956e;_0x3e9c36++)_0x33da56=_0x3e9c36>>0x2,_0x156f5b[_0x33da56][_0x3e9c36%0x4]=_0x45228b[_0x3e9c36],_0x3ccf4f[_0x4f748d-_0x33da56][_0x3e9c36%0x4]=_0x45228b[_0x3e9c36];let _0x2e3739,_0x554c16=0x0,t=_0x58956e;for(;t<_0x1abd9b;){_0x2e3739=_0x45228b[_0x58956e-0x1],_0x45228b[0x0]^=_0x18096b[_0x5cfbd3([0x53])][_0x2e3739>>0x10&0xff]<<0x18^_0x18096b[_0x5cfbd3([0x53])][_0x2e3739>>0x8&0xff]<<0x10^_0x18096b[_0x5cfbd3([0x53])][0xff&_0x2e3739]<<0x8^_0x18096b[_0x5cfbd3([0x53])][_0x2e3739>>0x18&0xff]^_0x18096b[_0x5cfbd3([0x72,0x63,0x6f,0x6e])][_0x554c16]<<0x18,_0x554c16+=0x1;for(let _0xcfdaf6=0x1;_0xcfdaf6<_0x58956e/0x2;_0xcfdaf6++)_0x45228b[_0xcfdaf6]^=_0x45228b[_0xcfdaf6-0x1];_0x2e3739=_0x45228b[_0x58956e/0x2-0x1],_0x45228b[_0x58956e/0x2]^=_0x18096b[_0x5cfbd3([0x53])][0xff&_0x2e3739]^_0x18096b[_0x5cfbd3([0x53])][_0x2e3739>>0x8&0xff]<<0x8^_0x18096b[_0x5cfbd3([0x53])][_0x2e3739>>0x10&0xff]<<0x10^_0x18096b[_0x5cfbd3([0x53])][_0x2e3739>>0x18&0xff]<<0x18;for(let _0x161179=_0x58956e/0x2+0x1;_0x161179<_0x58956e;_0x161179++)_0x45228b[_0x161179]^=_0x45228b[_0x161179-0x1];let _0x13c13c,_0x255339,_0x552512=0x0;for(;_0x552512<_0x58956e&&t<_0x1abd9b;)_0x13c13c=t>>0x2,_0x255339=t%0x4,_0x156f5b[_0x13c13c][_0x255339]=_0x45228b[_0x552512],_0x3ccf4f[_0x4f748d-_0x13c13c][_0x255339]=_0x45228b[_0x552512++],t++;}for(let _0x17971d=0x1;_0x17971d<_0x4f748d;_0x17971d++)for(let _0x5e4b43=0x0;_0x5e4b43<0x4;_0x5e4b43++)_0x2e3739=_0x3ccf4f[_0x17971d][_0x5e4b43],_0x3ccf4f[_0x17971d][_0x5e4b43]=_0x18096b[_0x5cfbd3([0x55,0x31])][_0x2e3739>>0x18&0xff]^_0x18096b[_0x5cfbd3([0x55,0x32])][_0x2e3739>>0x10&0xff]^_0x18096b[_0x5cfbd3([0x55,0x33])][_0x2e3739>>0x8&0xff]^_0x18096b[_0x5cfbd3([0x55,0x34])][0xff&_0x2e3739];}}function _0x5cfbd3(_0x142c39){return _0x142c39['map'](_0x1687df=>String['fromCharCode'](_0x1687df))['join']('');}(_0x274b17=>{function _0x138dc7(){const _0x558fae=[{[_0x5cfbd3([0x69,0x64])]:0x1,[_0x5cfbd3([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x5cfbd3([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73]),[_0x5cfbd3([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x5cfbd3([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x5cfbd3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x5cfbd3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x5cfbd3([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x5cfbd3([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x5cfbd3([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]:[{[_0x5cfbd3([0x69,0x64])]:0x2,[_0x5cfbd3([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x5cfbd3([0x54,0x72,0x61,0x63,0x6b,0x20,0x43,0x68,0x61,0x6e,0x67,0x65,0x73]),[_0x5cfbd3([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x5cfbd3([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x5cfbd3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x5cfbd3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x5cfbd3([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x5cfbd3([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]),[_0x5cfbd3([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x5cfbd3([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x5cfbd3([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x5cfbd3([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}}],[_0x5cfbd3([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x5cfbd3([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x5cfbd3([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x5cfbd3([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x5cfbd3([0x69,0x64])]:0x3,[_0x5cfbd3([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x5cfbd3([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e]),[_0x5cfbd3([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x5cfbd3([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x6f,0x6f,0x6b,0x75,0x70]),[_0x5cfbd3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x5cfbd3([0x70,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x5cfbd3([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x5cfbd3([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x5cfbd3([0x69,0x64])]:0x4,[_0x5cfbd3([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x5cfbd3([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x20,0x48,0x69,0x73,0x74,0x6f,0x72,0x79]),[_0x5cfbd3([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x5cfbd3([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x5cfbd3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x5cfbd3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x5cfbd3([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x5cfbd3([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]),[_0x5cfbd3([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x5cfbd3([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x5cfbd3([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x5cfbd3([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x5cfbd3([0x69,0x64])]:0x5,[_0x5cfbd3([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x5cfbd3([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x20,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65]),[_0x5cfbd3([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x5cfbd3([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65,0x55,0x49]),[_0x5cfbd3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x5cfbd3([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]),[_0x5cfbd3([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x5cfbd3([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x5cfbd3([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x5cfbd3([0x66,0x67,0x69])]:[0xc]}},{[_0x5cfbd3([0x69,0x64])]:0x6,[_0x5cfbd3([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x5cfbd3([0x46,0x6f,0x72,0x6d,0x61,0x74,0x20,0x50,0x61,0x69,0x6e,0x74,0x65,0x72]),[_0x5cfbd3([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x5cfbd3([0x46,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x55,0x49]),[_0x5cfbd3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x5cfbd3([0x66,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x5cfbd3([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x5cfbd3([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x5cfbd3([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x5cfbd3([0x66,0x67,0x69])]:[0xc]}},{[_0x5cfbd3([0x69,0x64])]:0x7,[_0x5cfbd3([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x5cfbd3([0x53,0x6c,0x61,0x73,0x68,0x20,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64]),[_0x5cfbd3([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x5cfbd3([0x53,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x55,0x49]),[_0x5cfbd3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x5cfbd3([0x73,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x5cfbd3([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x5cfbd3([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x5cfbd3([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x5cfbd3([0x66,0x67,0x69])]:[0xc]}},{[_0x5cfbd3([0x69,0x64])]:0x8,[_0x5cfbd3([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x5cfbd3([0x54,0x61,0x62,0x6c,0x65,0x20,0x6f,0x66,0x20,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73]),[_0x5cfbd3([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x5cfbd3([0x54,0x61,0x62,0x6c,0x65,0x4f,0x66,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x5cfbd3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x5cfbd3([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]),[_0x5cfbd3([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x5cfbd3([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x5cfbd3([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x5cfbd3([0x66,0x67,0x69])]:[0xc]}},{[_0x5cfbd3([0x69,0x64])]:0x9,[_0x5cfbd3([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x5cfbd3([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65]),[_0x5cfbd3([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x5cfbd3([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x55,0x49]),[_0x5cfbd3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x5cfbd3([0x74,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x5cfbd3([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x5cfbd3([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x5cfbd3([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x5cfbd3([0x66,0x67,0x69])]:[0xc,0xe]}},{[_0x5cfbd3([0x69,0x64])]:0xa,[_0x5cfbd3([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x5cfbd3([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]),[_0x5cfbd3([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x5cfbd3([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]),[_0x5cfbd3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x5cfbd3([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]),[_0x5cfbd3([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x5cfbd3([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x5cfbd3([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x5cfbd3([0x66,0x67,0x69])]:[0xc]}},{[_0x5cfbd3([0x69,0x64])]:0xb,[_0x5cfbd3([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x5cfbd3([0x41,0x49,0x20,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74]),[_0x5cfbd3([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x5cfbd3([0x41,0x49,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74,0x55,0x49]),[_0x5cfbd3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x5cfbd3([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x5cfbd3([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x5cfbd3([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x5cfbd3([0x69,0x64])]:0xc,[_0x5cfbd3([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x5cfbd3([0x50,0x72,0x6f,0x64,0x75,0x63,0x74,0x69,0x76,0x69,0x74,0x79,0x20,0x70,0x61,0x63,0x6b])},{[_0x5cfbd3([0x69,0x64])]:0xd,[_0x5cfbd3([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x5cfbd3([0x43,0x61,0x73,0x65,0x20,0x43,0x68,0x61,0x6e,0x67,0x65]),[_0x5cfbd3([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x5cfbd3([0x43,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x55,0x49]),[_0x5cfbd3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x5cfbd3([0x63,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x5cfbd3([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x5cfbd3([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x5cfbd3([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x5cfbd3([0x66,0x67,0x69])]:[0xc]}},{[_0x5cfbd3([0x69,0x64])]:0xe,[_0x5cfbd3([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x5cfbd3([0x44,0x72,0x75,0x70,0x61,0x6c,0x20,0x70,0x61,0x63,0x6b]),[_0x5cfbd3([0x66,0x6f,0x72,0x62,0x69,0x64,0x64,0x65,0x6e,0x48,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x5cfbd3([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])},{[_0x5cfbd3([0x69,0x64])]:0xf,[_0x5cfbd3([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x5cfbd3([0x4d,0x75,0x6c,0x74,0x69,0x20,0x4c,0x65,0x76,0x65,0x6c,0x20,0x4c,0x69,0x73,0x74]),[_0x5cfbd3([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x5cfbd3([0x4d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x5cfbd3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x5cfbd3([0x6d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x5cfbd3([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x5cfbd3([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x5cfbd3([0x69,0x64])]:0x10,[_0x5cfbd3([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x5cfbd3([0x4d,0x65,0x72,0x67,0x65,0x20,0x54,0x61,0x67,0x73]),[_0x5cfbd3([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x5cfbd3([0x4d,0x65,0x72,0x67,0x65,0x54,0x61,0x67,0x73,0x55,0x49]),[_0x5cfbd3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x5cfbd3([0x6d,0x65,0x72,0x67,0x65,0x54,0x61,0x67,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x5cfbd3([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x5cfbd3([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x5cfbd3([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x5cfbd3([0x66,0x67,0x69])]:[0xc]}}];return _0x424795(_0x558fae),_0x558fae;function _0x3099f1(_0x3a6d5b){return 0x1<<_0x3a6d5b-0x1;}function _0x424795(_0x4163bd){_0x4163bd[_0x5cfbd3([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x119f0e=>{_0x119f0e[_0x5cfbd3([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]=_0x3099f1(_0x119f0e[_0x5cfbd3([0x69,0x64])]),_0x45c1fc(_0x119f0e)&&_0x119f0e[_0x5cfbd3([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x424795(_0x119f0e[_0x5cfbd3([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]);});}}function _0x45c1fc(_0x59f1c6){return _0x5cfbd3([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])in _0x59f1c6;}const _0x5cf96f=[0x1,0x55,0x4e,0x73,0xc6,0xff,0x32,0x70,0x53,0x57,0xa1],_0xc875ea=[0x7f,0x22,0x6,0xd3,0xa7,0x56,0x92,0xc7,0x84,0xa0,0x12];function _0x57fe98(_0x5d3925){const _0x18cef6=[0x1d,0xdd,0xaf,0x5a,0xe7,0x85,0xef,0xf0,0x4b,0xb4];return _0x5d96ed(_0x5d3925,new Uint8Array([..._0x5cf96f,..._0x18cef6,..._0xc875ea]));}function _0x5d96ed(_0x53fda8,_0x25aea4){const _0x2f5a48=_0x2b3ded(_0x53fda8),_0x30265c=Array[_0x5cfbd3([0x66,0x72,0x6f,0x6d])](_0x48d533(_0x2f5a48)),_0x4ef1c9=_0x30265c[_0x5cfbd3([0x70,0x6f,0x70])](),_0x588ecc=_0x30265c[_0x5cfbd3([0x70,0x6f,0x70])]();return _0x318abc(_0xf6f611(_0x30265c,_0x25aea4,_0x588ecc+0x100*_0x4ef1c9));}function _0x2b3ded(_0x43ccfe){const _0x2c80f8=atob(_0x43ccfe),[_0x53f122,_0x391736]=_0x2c80f8[_0x5cfbd3([0x73,0x70,0x6c,0x69,0x74])](_0x5cfbd3([0x2d]));try{if(atob(_0x391736))return atob(_0x53f122);}catch(_0x4cba1f){}return _0x2c80f8;}function _0x3f5f84(_0x472f9a){try{const _0x13e8e8=_0x57fe98(_0x472f9a),_0x40fe13=JSON[_0x5cfbd3([0x70,0x61,0x72,0x73,0x65])](_0x13e8e8),_0x4a0ecc=parseInt(_0x40fe13[_0x5cfbd3([0x31])]),_0x34ed0d=_0x40fe13[_0x5cfbd3([0x32])]||'',_0x2bebff=parseInt(_0x40fe13[_0x5cfbd3([0x33])]),_0x1a0832=parseInt(_0x40fe13[_0x5cfbd3([0x34])])||0x0,_0x56a3e8=parseInt(_0x40fe13[_0x5cfbd3([0x35])])||0x0;return{[_0x5cfbd3([0x70,0x72,0x6f,0x64,0x75,0x63,0x74,0x4e,0x61,0x6d,0x65])]:_0x34ed0d,[_0x5cfbd3([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])]:_0x1a0832,[_0x5cfbd3([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]:_0x4a0ecc,[_0x5cfbd3([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]:_0x2bebff,[_0x5cfbd3([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]:_0x56a3e8};}catch(_0x4d998d){return null;}}const _0x498d18=_0x138dc7(),_0x5e6640={[_0x5cfbd3([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])]:_0x4693f9,[_0x5cfbd3([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])]:_0x1574cf,[_0x5cfbd3([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])]:_0x340bc5},_0x702a37=_0x274b17[_0x5cfbd3([0x63,0x6f,0x6e,0x73,0x74,0x72,0x75,0x63,0x74,0x6f,0x72])][_0x5cfbd3([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])],_0x1ff8d7=_0x5cfbd3([0x63,0x6f,0x6e,0x74,0x65,0x78,0x74])in _0x274b17?_0x274b17['context']:_0x274b17['editor'],_0x1482fb=_0x5cfbd3([0x34,0x30,0x34,0x38,0x31,0x30,0x33,0x30]),_0x500aff=_0x5cfbd3([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]),_0x121531=_0x1ff8d7['config']['get'](_0x5cfbd3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x4eff00=_0x498d18[_0x5cfbd3([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x45c1fc)[_0x5cfbd3([0x66,0x69,0x6e,0x64])](_0x883fba=>_0x883fba[_0x5cfbd3([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]===_0x702a37);function _0x36eb8b(_0x534185,_0x5a5fde){_0x5e6640[_0x5a5fde[_0x5cfbd3([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]](_0x534185,_0x5a5fde),_0x5a5fde[_0x5cfbd3([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x5a5fde[_0x5cfbd3([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])][_0x5cfbd3([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x117b42=>_0x48ffad(_0x1ff8d7,_0x117b42[_0x5cfbd3([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))[_0x5cfbd3([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x32dbc0=>_0x36eb8b(_0x534185,_0x32dbc0));}function _0x4693f9(_0x476759,_0x38002c){_0x2934aa(_0x466d6a(_0x476759,_0x38002c),_0x38002c);}function _0x1574cf(_0x1cfc52,_0x55d2bc){function _0x407105(_0x4d56a7,_0x5dcbcc){try{if(_0x48ffad(_0x1ff8d7,_0x5cfbd3([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))&&_0x4d56a7){const _0x4e5bcf=_0x4dd1de(_0x1ff8d7,_0x5cfbd3([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))[_0x5cfbd3([0x5f,0x65,0x78,0x65,0x63,0x75,0x74,0x65,0x53,0x75,0x67,0x67,0x65,0x73,0x74,0x69,0x6f,0x6e])];if(parseInt(_0x4e5bcf)/0x2>_0x4d56a7[_0x5cfbd3([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])])return _0x3377a3(_0x5dcbcc[_0x5cfbd3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5cfbd3([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}return _0x466d6a(_0x4d56a7,_0x5dcbcc);}catch(_0x17aaf2){return _0x3377a3(_0x5dcbcc[_0x5cfbd3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5cfbd3([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}_0x2934aa(_0x407105(_0x1cfc52,_0x55d2bc),_0x55d2bc);}function _0x340bc5(_0x120fe8,_0x4f2538){const _0x4ac136=_0xc875ea[0x0]*_0x5cf96f[0x1],_0x2bfec8=_0xc875ea[0x0]*_0x5cf96f[0x2],_0x27525b=_0xc875ea[0x2]*_0x5cf96f[0x2];_0x48ffad(_0x1ff8d7,_0x5cfbd3([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x4dd1de(_0x1ff8d7,_0x5cfbd3([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x5cfbd3([0x73,0x74,0x61,0x74,0x65])]==_0x5cfbd3([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&(window[_0x48f27b()]=_0x27525b);function _0x40491a(_0x2487c9,_0x10e4a8){try{return _0x49b23d()?_0x3377a3(_0x10e4a8[_0x5cfbd3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5cfbd3([0x56,0x61,0x6c,0x69,0x64])):_0x466d6a(_0x2487c9,_0x10e4a8);}catch(_0xe10988){return _0x3377a3(_0x10e4a8[_0x5cfbd3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5cfbd3([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x236e85(_0x13c8be,_0x263618){const _0x26ab43=0x7;if(_0x13c8be==_0x263618[_0x5cfbd3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5cfbd3([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]))_0x473f6a();else{if(_0x13c8be==_0x263618[_0x5cfbd3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5cfbd3([0x54,0x72,0x69,0x61,0x6c])){const _0x101c78=_0x168139();_0x101c78&&_0x53efc9(_0x101c78,_0x263618[_0x5cfbd3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);const _0x5c980e=_0x19f600();window[_0x5cfbd3([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x53efc9(_0x5cfbd3([0x74,0x69,0x6d,0x65]),_0x263618[_0x5cfbd3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);},_0x5c980e);const _0x4ca829=_0x4dd1de(_0x1ff8d7,_0x5cfbd3([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x5cfbd3([0x5f,0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73])];_0x4ca829[_0x5cfbd3([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x26ab43?_0x53efc9(_0x5cfbd3([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x263618[_0x5cfbd3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]):_0x4ca829['on'](_0x5cfbd3([0x61,0x64,0x64]),()=>{_0x4ca829[_0x5cfbd3([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x26ab43&&_0x53efc9(_0x5cfbd3([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x263618[_0x5cfbd3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);});}}}function _0x168139(){if(!_0x48ffad(_0x1ff8d7,_0x5cfbd3([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x4e541c in window)if(Number['isNaN'](Number(_0x4e541c))){if(window[_0x4e541c]===_0x4ac136)return _0x5cfbd3([0x74,0x69,0x6d,0x65]);if(window[_0x4e541c]===_0x2bfec8)return _0x5cfbd3([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]);}return!0x1;}function _0x49b23d(){if(!_0x48ffad(_0x1ff8d7,_0x5cfbd3([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x843212 in window)if(Number['isNaN'](Number(_0x843212))&&window[_0x843212]===_0x27525b)return!0x0;return!0x1;}function _0x53efc9(_0x2feff3,_0x4940cb){_0x473f6a(),_0x3377a3(_0x4940cb+_0x5cfbd3([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a])+_0x2feff3),window[_0x48f27b()]=_0x2feff3===_0x5cfbd3([0x74,0x69,0x6d,0x65])?_0x4ac136:_0x2bfec8;}function _0x19f600(){let _0x282f99=_0xc875ea[0x6]*_0x5cf96f[0x8]*_0x5cf96f[0x6];return _0x48ffad(_0x1ff8d7,_0x5cfbd3([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x282f99/=0xa),_0x282f99;}function _0x473f6a(){const _0x2a99c6=_0x1ff8d7;function _0x489313(){_0x48ffad(_0x2a99c6,_0x5cfbd3([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&(_0x4dd1de(_0x2a99c6,_0x5cfbd3([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x5cfbd3([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x5cfbd3([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x4dd1de(_0x2a99c6,_0x5cfbd3([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x5cfbd3([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x4dd1de(_0x2a99c6,_0x5cfbd3([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x5cfbd3([0x75,0x70,0x64,0x61,0x74,0x65])]=_0x2aa1e8,_0x4dd1de(_0x2a99c6,_0x5cfbd3([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x5cfbd3([0x73,0x61,0x76,0x65,0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e])]=_0x2aa1e8,_0x2a99c6[_0x5cfbd3([0x6d,0x6f,0x64,0x65,0x6c])][_0x5cfbd3([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2aa1e8,_0x2a99c6[_0x5cfbd3([0x6d,0x6f,0x64,0x65,0x6c])][_0x5cfbd3([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2aa1e8,_0x2a99c6[_0x5cfbd3([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x5cfbd3([0x6d,0x6f,0x64,0x65,0x6c]))),_0x48ffad(_0x2a99c6,_0x5cfbd3([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x4dd1de(_0x2a99c6,_0x5cfbd3([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x5cfbd3([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x5cfbd3([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x4dd1de(_0x2a99c6,_0x5cfbd3([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x5cfbd3([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x4dd1de(_0x2a99c6,_0x5cfbd3([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x5cfbd3([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])]=_0x2aa1e8,_0x4dd1de(_0x2a99c6,_0x5cfbd3([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x5cfbd3([0x5f,0x67,0x65,0x74,0x44,0x69,0x66,0x66])]=_0x2aa1e8);}_0x2a99c6[_0x5cfbd3([0x73,0x74,0x61,0x74,0x65])]==_0x5cfbd3([0x72,0x65,0x61,0x64,0x79])?_0x489313():_0x2a99c6[_0x5cfbd3([0x6f,0x6e,0x63,0x65])](_0x5cfbd3([0x72,0x65,0x61,0x64,0x79]),()=>{if(_0x48ffad(_0x2a99c6,_0x5cfbd3([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&_0x489313(),_0x48ffad(_0x2a99c6,_0x5cfbd3([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))){const _0x1b66a8=_0x4dd1de(_0x2a99c6,_0x5cfbd3([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79])),_0x22e627=_0x1b66a8['getRevision'](0x0),_0x3adc2e=_0x1b66a8['getEarlierVisibleRevision'](_0x22e627[_0x5cfbd3([0x69,0x64])]);_0x4dd1de(_0x2a99c6,_0x5cfbd3([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x5cfbd3([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])](_0x22e627[_0x5cfbd3([0x69,0x64])],_0x3adc2e?_0x3adc2e[_0x5cfbd3([0x69,0x64])]:null,0x1)['then'](()=>_0x489313());}});}_0x236e85(_0x40491a(_0x120fe8,_0x4f2538),_0x4f2538);}function _0x466d6a(_0x8345ad,_0xbc17e8){try{return _0x3e7b4d(_0xbc17e8)?_0x3377a3(_0xbc17e8[_0x5cfbd3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5cfbd3([0x56,0x61,0x6c,0x69,0x64])):_0x8345ad&&_0x42c94c(_0x8345ad[_0x5cfbd3([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])],_0xbc17e8)?_0x8345ad[_0x5cfbd3([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]&&!window[_0x5cfbd3([0x6f,0x70,0x65,0x6e])][_0x5cfbd3([0x63,0x6c,0x6f,0x73,0x65,0x64])]||parseInt(_0x1482fb)/0x2>_0x8345ad[_0x5cfbd3([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]?_0x3377a3(_0xbc17e8[_0x5cfbd3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5cfbd3([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])):_0x8345ad[_0x5cfbd3([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]?_0x3377a3(_0xbc17e8[_0x5cfbd3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5cfbd3([0x54,0x72,0x69,0x61,0x6c])):_0x3377a3(_0xbc17e8[_0x5cfbd3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5cfbd3([0x56,0x61,0x6c,0x69,0x64])):_0x3377a3(_0xbc17e8[_0x5cfbd3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5cfbd3([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}catch(_0x32dfa0){return _0x3377a3(_0xbc17e8[_0x5cfbd3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5cfbd3([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x2934aa(_0x2399a3,_0x495278){if(_0x1ff8d7 instanceof _0x52c879){const _0x4c93c4=_0x1ff8d7;_0x2399a3==_0x495278[_0x5cfbd3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5cfbd3([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x4704af(_0x4c93c4):_0x2399a3==_0x495278[_0x5cfbd3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5cfbd3([0x54,0x72,0x69,0x61,0x6c])&&window[_0x5cfbd3([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x4704af(_0x4c93c4),_0x3377a3(_0x495278[_0x5cfbd3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5cfbd3([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65]));},_0xc875ea[0x6]*_0x5cf96f[0x8]*_0x5cf96f[0x6]),_0x4c93c4[_0x5cfbd3([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])][_0x5cfbd3([0x6f,0x6e])](_0x5cfbd3([0x61,0x64,0x64]),(_0x3ec146,_0x33dde8)=>{_0x2399a3!=_0x495278[_0x5cfbd3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5cfbd3([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])&&_0x2399a3!=_0x495278[_0x5cfbd3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5cfbd3([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65])&&_0x2399a3!=_0x495278[_0x5cfbd3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5cfbd3([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])||_0x2fd372(_0x33dde8);});}else{const _0x2b0833=_0x1ff8d7;_0x2399a3==_0x495278[_0x5cfbd3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5cfbd3([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x2fd372(_0x2b0833):_0x2399a3==_0x495278[_0x5cfbd3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5cfbd3([0x54,0x72,0x69,0x61,0x6c])&&_0x2b0833[_0x5cfbd3([0x6f,0x6e])](_0x5cfbd3([0x72,0x65,0x61,0x64,0x79]),()=>{let _0x12c08b=0x0;_0x2b0833[_0x5cfbd3([0x6d,0x6f,0x64,0x65,0x6c])][_0x5cfbd3([0x6f,0x6e])](_0x5cfbd3([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x453443,_0x266d4b)=>{_0x266d4b[0x0][_0x5cfbd3([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x12c08b++,0x1f8===_0x12c08b&&(_0x2fd372(_0x2b0833),_0x3377a3(_0x495278[_0x5cfbd3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5cfbd3([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])),_0x453443[_0x5cfbd3([0x6f,0x66,0x66])]());},{'priority':_0x5cfbd3([0x68,0x69,0x67,0x68,0x65,0x73,0x74])});});}}function _0x3377a3(_0x22b8e1){const _0x13a7e0=_0x48f27b();return _0x1ff8d7[_0x13a7e0]=_0x22b8e1,_0x22b8e1;}function _0x48f27b(){const _0x261e9d=String(window[_0x5cfbd3([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x5cfbd3([0x6e,0x6f,0x77])]())[_0x5cfbd3([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x5cfbd3([0x2e]),'');let _0x214578='';for(let _0x5cdc58=0x0;_0x5cdc58<_0x261e9d[_0x5cfbd3([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5cdc58+=0x2){let _0x417185=parseInt(_0x261e9d[_0x5cfbd3([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5cdc58,_0x5cdc58+0x2));_0x417185>=_0x500aff[_0x5cfbd3([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x417185-=_0x500aff[_0x5cfbd3([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x214578+=_0x500aff[_0x417185];}return _0x214578;}function _0x4704af(_0x3712e1){for(const _0x35b42a of _0x3712e1[_0x5cfbd3([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])])_0x2fd372(_0x35b42a);_0x4dd1de(_0x3712e1,_0x5cfbd3([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x5cfbd3([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])](!0x0),_0x4dd1de(_0x3712e1,_0x5cfbd3([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x5cfbd3([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])]=_0x2aa1e8;}function _0x2fd372(_0x2638fc){function _0x1ed8d4(){_0x2638fc[_0x5cfbd3([0x6d,0x6f,0x64,0x65,0x6c])][_0x5cfbd3([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2aa1e8,_0x2638fc[_0x5cfbd3([0x6d,0x6f,0x64,0x65,0x6c])][_0x5cfbd3([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2aa1e8,_0x2638fc[_0x5cfbd3([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x5cfbd3([0x6d,0x6f,0x64,0x65,0x6c]));}_0x2638fc[_0x5cfbd3([0x73,0x74,0x61,0x74,0x65])]==_0x5cfbd3([0x72,0x65,0x61,0x64,0x79])?_0x1ed8d4():_0x2638fc[_0x5cfbd3([0x6f,0x6e,0x63,0x65])](_0x5cfbd3([0x72,0x65,0x61,0x64,0x79]),()=>_0x1ed8d4());}function _0x2aa1e8(){return null;}function _0x42c94c(_0x5ac980,_0x3ea57d){const _0x3d6c84=!!(_0x5ac980&_0x3ea57d[_0x5cfbd3([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]),_0xbda8df=_0x13d5d9(_0x5ac980,_0x3ea57d);return _0x3d6c84||_0xbda8df;}function _0x13d5d9(_0x171a92,_0x6c6ff1){const _0x13fca0=(_0x6c6ff1[_0x5cfbd3([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{})[_0x5cfbd3([0x66,0x67,0x69])]||null;return!!_0x13fca0&&_0x498d18[_0x5cfbd3([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x58b066=>_0x13fca0[_0x5cfbd3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x58b066[_0x5cfbd3([0x69,0x64])]))[_0x5cfbd3([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4b52e3=>!_0x35b7e2(_0x4b52e3))[_0x5cfbd3([0x73,0x6f,0x6d,0x65])](_0x29e1e0=>!!(_0x171a92&_0x29e1e0[_0x5cfbd3([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]));}function _0x35b7e2(_0x4deeba){const _0x54402d={[_0x5cfbd3([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])]:_0x52b692};return!!_0x4deeba['forbiddenHandler']&&_0x54402d[_0x4deeba['forbiddenHandler']]();}function _0x52b692(){return!window[_0x5cfbd3([0x44,0x72,0x75,0x70,0x61,0x6c])]||!_0x48ffad(_0x1ff8d7,_0x5cfbd3([0x64,0x72,0x75,0x70,0x61,0x6c,0x50,0x6f,0x77,0x65,0x72,0x65,0x64,0x42,0x79]));}function _0x3e7b4d(_0x1b6906){if(!_0x48ffad(_0x1ff8d7,_0x1b6906[_0x5cfbd3([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))return!0x0;const _0x37bfd0=_0x1b6906[_0x5cfbd3([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{},_0x22be9c=_0x37bfd0[_0x5cfbd3([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]||!0x1,_0x201f42=_0x37bfd0[_0x5cfbd3([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]||!0x1,_0x357e8e=_0x37bfd0[_0x5cfbd3([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]||!0x1;if(_0x48ffad(_0x1ff8d7,_0x5cfbd3([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x4dd1de(_0x1ff8d7,_0x5cfbd3([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x5cfbd3([0x73,0x74,0x61,0x74,0x65])]==_0x5cfbd3([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&_0x22be9c)return!0x0;if(_0x48ffad(_0x1ff8d7,_0x5cfbd3([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))&&_0x4dd1de(_0x1ff8d7,_0x5cfbd3([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))[_0x5cfbd3([0x72,0x65,0x73,0x75,0x6c,0x74])]==_0x5cfbd3([0x65,0x6e,0x64])&&_0x201f42)return!0x0;return!(!_0x48ffad(_0x1ff8d7,_0x5cfbd3([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]))||_0x4dd1de(_0x1ff8d7,_0x5cfbd3([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]))[_0x5cfbd3([0x72,0x65,0x73,0x75,0x6c,0x74])]!=_0x5cfbd3([0x65,0x6e,0x64])||!_0x357e8e);}function _0x48ffad(_0x58ba26,_0x5774e7){return _0x58ba26[_0x5cfbd3([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x5cfbd3([0x68,0x61,0x73])](_0x5774e7);}function _0x4dd1de(_0x1077a2,_0x13f325){return _0x1077a2[_0x5cfbd3([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x5cfbd3([0x67,0x65,0x74])](_0x13f325);}function _0x318abc(_0x5a22c1){let _0x36c606='';for(const _0x4b1517 of _0x5a22c1)_0x36c606+=String[_0x5cfbd3([0x66,0x72,0x6f,0x6d,0x43,0x68,0x61,0x72,0x43,0x6f,0x64,0x65])](_0x4b1517);return _0x36c606;}function _0x48d533(_0x842d50){const _0x8341b8=new Uint8Array(_0x842d50[_0x5cfbd3([0x6c,0x65,0x6e,0x67,0x74,0x68])]);for(let _0x2b89ec=0x0;_0x2b89ec<_0x842d50[_0x5cfbd3([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2b89ec++)_0x8341b8[_0x2b89ec]=_0x842d50[_0x5cfbd3([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x2b89ec);return _0x8341b8;}_0x4eff00&&_0x36eb8b(_0x3f5f84(_0x121531),_0x4eff00);})(_0x55277f);}(this);}['createRevision'](_0x3d097c){const _0x2ae64f=this['editor']['plugins']['get']('Users');return new a({'id':_0x3d097c['id'],'name':_0x3d097c['name'],'creator':_0x3d097c['creatorId']?_0x2ae64f['getUser'](_0x3d097c['creatorId']):null,'diffData':_0x3d097c['diffData']||_0x3d097c['data'],'authors':_0x3d097c['authorsIds']['map'](_0x409919=>_0x2ae64f['getUser'](_0x409919)),'createdAt':new Date(_0x3d097c['createdAt']),'attributes':_0x3d097c['attributes'],'fromVersion':_0x3d097c['fromVersion'],'toVersion':_0x3d097c['toVersion']});}['addRevision'](_0x455730,_0x50f4d0=0x0){this['_revisions']['add'](_0x455730,_0x50f4d0);}['getRevision'](_0x541498){return this['_revisions']['get'](_0x541498);}['getRevisions'](_0x1a8290={'toJSON':!0x1}){const _0x17af8b=Array['from'](this['_revisions']);return _0x17af8b['reverse'](),_0x1a8290['toJSON']?_0x17af8b['map'](_0x1ca077=>_0x1ca077['toJSON']()):_0x17af8b;}['getIndex'](_0x393e32){return this['_revisions']['getIndex'](_0x393e32);}['getEarlierVisibleRevision'](_0x1904d3){const [,_0x2416df]=this['getRevisionsIterator'](_0x1904d3,{'direction':'earlier'});return _0x2416df;}['getLaterVisibleRevision'](_0x523457){const [,_0xafe3e4]=this['getRevisionsIterator'](_0x523457,{'direction':'later'});return _0xafe3e4;}['getRevisionsInDiff'](_0x48f9fc){const _0x5b685f=[];for(const _0x59e9f4 of this['getRevisionsIterator'](_0x48f9fc['newRevisionId']))if(_0x5b685f['push'](_0x59e9f4),_0x59e9f4['id']===_0x48f9fc['oldRevisionId'])break;return _0x5b685f;}*['getRevisionsIterator'](_0x21c8b6,{direction:_0x1199d4='earlier',filter:_0x31d4fb=_0x2b80fd=>!0x0}={}){const _0x40208f='earlier'===_0x1199d4?0x1:-0x1;let _0x44a7a5=this['_revisions']['get'](_0x21c8b6),_0x357b70=this['getIndex'](_0x44a7a5);for(yield _0x44a7a5;_0x44a7a5;){if(_0x357b70+=_0x40208f,_0x44a7a5=this['getRevision'](_0x357b70),!_0x44a7a5)return;_0x31d4fb(_0x44a7a5)&&(yield _0x44a7a5);}}}function y(_0x240b62,_0xc47cc,_0xf722f8){const t=_0x240b62['t'];switch(_0xc47cc){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'},_0xf722f8);case'X_OF_Y_CHANGES':return t({'string':'%0\x20of\x20%1','id':'X_OF_Y_CHANGES'},_0xf722f8);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':_0x212c9c,'a':_0x3dfd9c,'e':_0x2d2023,'r':_0x55dd1f,'u':_0x52daae};class l extends _0x365282{['adapter'];['currentRevision'];['repository'];['_revisionDataBuilder'];['_source'];['_initialRevisionId'];['_bufferedUpdates'];['_pendingAction'];['_continueCurrentRevision'];['_startingVersion'];['_loadedStateData'];static get['pluginName'](){return'RevisionTracker';}static get['requires'](){return[_0x2bad0c,A,_0x15c95f];}constructor(_0x12630d){super(_0x12630d),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 _0x344c32=_0x2d17fa();this['_source']={'history':this['editor']['model']['document']['history'],'getLatestVersion':()=>Promise['resolve'](this['editor']['model']['document']['version']),'getCurrentRevisionId':()=>_0x344c32},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 _0x264980=this['repository']['getRevision'](0x0),_0x2720f6=_0x264980&&null===_0x264980['creator']?_0x264980:null;if(this['_continueCurrentRevision']=!!_0x2720f6&&this['editor']['config']['get']('revisionHistory.resumeUnsavedRevision'),this['editor']['plugins']['has']('RealTimeCollaborationClient')){const _0xa8dcff=this['_source']['getCurrentRevisionId'](),_0x54e1=this['repository']['getRevision'](_0xa8dcff);if(_0x54e1)this['_startingVersion']=_0x54e1['fromVersion'],this['_continueCurrentRevision']=!0x1;else{const _0x1eb70d=this['_source']['history']['_operations']['find'](_0x55ef9b=>!_0x55ef9b['_isInit']),_0xd143b4=_0x1eb70d?_0x1eb70d['baseVersion']:this['_source']['history']['version'];_0x264980?(_0x264980['toVersion']<_0xd143b4&&_0x264980['_update']({'toVersion':_0xd143b4}),this['_continueCurrentRevision']?(this['_source']['getCurrentRevisionId']=()=>_0x2720f6['id'],this['_startingVersion']=_0x2720f6['fromVersion']):(this['_startingVersion']=_0x264980['toVersion'],this['_continueCurrentRevision']=!0x1)):(this['_startingVersion']=_0xd143b4,this['_continueCurrentRevision']=!0x1);}}else _0x2720f6&&(this['editor']['model']['document']['history']['version']=Math['max'](_0x2720f6['toVersion'],this['editor']['model']['document']['history']['version']),_0x2720f6['fromVersion']===_0x2720f6['toVersion']?(0x0!==_0x2720f6['fromVersion']&&(this['_source']['getCurrentRevisionId']=()=>_0x2720f6['id']),this['_continueCurrentRevision']=!0x1):this['_continueCurrentRevision']&&(this['_source']['getCurrentRevisionId']=()=>_0x2720f6['id'],this['_startingVersion']=_0x2720f6['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',_0x12079b=>!_0x12079b);}async['afterInit'](){if(this['repository']['length']>0x0){const _0x59d5d5=this['repository']['getRevision'](0x0),_0x46f785=await this['getRevisionDocumentData'](_0x59d5d5),_0xe04c44=await this['getRevisionRootsAttributes'](_0x59d5d5);this['_replaceEditorDataWithRevisionData'](_0x46f785,_0xe04c44);}}['setSource'](_0x4401ee){this['_source']=_0x4401ee;}async['update'](){const _0x3cb867=await this['_source']['getLatestVersion']();if(_0x3cb867>this['currentRevision']['toVersion']){await this['_loadState']();const _0x4f941f=this['buildRevisionData']({'revision':this['currentRevision'],'to':_0x3cb867});_0x4f941f['authors']=_0x4f941f['authorsIds']['map'](_0xfee0eb=>this['editor']['plugins']['get']('Users')['getUser'](_0xfee0eb)),this['currentRevision']['_update'](_0x4f941f);}}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'](_0xd9a293={},_0x2da6cf=null){const _0x28492c=[];await this['_loadState'](),this['_continueCurrentRevision']=!0x1,_0x2da6cf>this['currentRevision']['toVersion']&&(_0x2da6cf=null),null===_0x2da6cf&&(_0x2da6cf=await this['_source']['getLatestVersion']());const _0x3cecf4=this['_getFromVersion'](_0x2da6cf),_0x1a4843=this['buildRevisionData']({'from':_0x3cecf4,'to':_0x2da6cf});if(this['currentRevision']['toVersion']<_0x2da6cf){const _0x5b7676=this['buildRevisionData']({'revision':this['currentRevision'],'from':_0x2da6cf,'to':_0x2da6cf});_0x5b7676['authors']=[],_0x5b7676['authorsIds']=[],_0x5b7676['id']=this['currentRevision']['id'],this['currentRevision']['_update'](_0x5b7676,!0x0),delete _0x5b7676['authors'],_0x28492c['push'](_0x5b7676);}_0xd9a293['creatorId']=this['editor']['plugins']['get']('Users')['me']['id'],_0xd9a293['name']=_0xd9a293['name']||null,_0xd9a293['id']=_0xd9a293['id']||_0x2d17fa(),_0xd9a293={..._0xd9a293,..._0x1a4843};const _0x1a623e=this['addRevisionData'](_0xd9a293);_0x28492c['push'](_0xd9a293);const _0x2b9bc5=this['repository']['getIndex'](_0x1a623e);if(0x0!==_0x2b9bc5){const _0x11274a=this['repository']['getRevision'](_0x2b9bc5-0x1);if(_0x11274a['fromVersion']!==_0x2da6cf){const _0x7e712d=this['_revisionDataBuilder']['getData'](_0x2da6cf,_0x11274a['toVersion']),_0x5e4f87={'id':_0x11274a['id'],'diffData':_0x7e712d['diffData'],'authorsIds':_0x7e712d['authorsIds'],'authors':_0x7e712d['authorsIds']['map'](_0x35a0fb=>this['editor']['plugins']['get']('Users')['getUser'](_0x35a0fb)),'fromVersion':_0x2da6cf};_0x11274a===this['currentRevision']&&(_0x5e4f87['createdAt']=new Date(_0xd9a293['createdAt']['getTime']()+0xa)),_0x11274a['_update'](_0x5e4f87,!0x0),delete _0x5e4f87['authors'],_0x28492c['push'](_0x5e4f87);}}if(this['adapter']){for(const _0x50f8f8 of _0x28492c)this['_bufferUpdate'](_0x50f8f8['id'],_0x50f8f8,!0x0);this['sendBufferedUpdates']();}return _0x1a623e;}['addRevisionData'](_0x4fc674){const _0x39edc1=this['repository']['createRevision'](_0x4fc674);return this['adapter']&&_0x39edc1['on']('_update',(_0x29f446,_0x25c5eb,_0x1b85ee)=>{_0x1b85ee||(this['_bufferUpdate'](_0x25c5eb['id'],_0x25c5eb,!0x0),this['sendBufferedUpdates']());}),this['repository']['addRevision'](_0x39edc1,this['_findInsertionIndex'](_0x39edc1)),_0x39edc1;}async['getRevisionDocumentData'](_0x598751){await this['_loadRevisionData'](_0x598751);const _0x881954={};for(const _0x494402 in _0x598751['diffData']){if(_0x598751['diffData'][_0x494402]['attachChange']&&!_0x598751['diffData'][_0x494402]['attachChange']['isAttached'])continue;const _0x1713b5=this['_removeRevisionMarkers'](JSON['parse'](_0x598751['diffData'][_0x494402]['insertions'])),_0x496f0a=this['editor']['editing']['view']['document'],_0x49e37b=new _0x19e872(_0x496f0a,_0x1713b5['map'](_0x3642a9=>B(_0x3642a9,this['editor'])));this['editor']['data']['processor']['useFillerType']('marked'),_0x881954[_0x494402]=this['editor']['data']['processor']['toData'](_0x49e37b),this['editor']['data']['processor']['useFillerType']('default');}return _0x881954;}async['getRevisionRootsAttributes'](_0xccaa70){await this['_loadRevisionData'](_0xccaa70);const _0x4fc21f={};for(const _0x5b5d80 in _0xccaa70['diffData'])_0xccaa70['diffData'][_0x5b5d80]['attachChange']&&!_0xccaa70['diffData'][_0x5b5d80]['attachChange']['isAttached']||(_0x4fc21f[_0x5b5d80]=_0xccaa70['diffData'][_0x5b5d80]['attributesAfter']||{});return _0x4fc21f;}['sendBufferedUpdates'](){if(0x0===this['_bufferedUpdates']['size'])return;if(this['_isPendingUpdate'])return;let _0xfdd0bd=Array['from'](this['_bufferedUpdates']['values']());this['_bufferedUpdates']['clear']();for(let _0x223309=0x0;_0x223309<_0xfdd0bd['length'];_0x223309++){const _0x5c18cb=_0xfdd0bd[_0x223309];let _0x185c76=!0x1;for(const _0xd2f6d3 of Object['keys'](_0x5c18cb))void 0x0===_0x5c18cb[_0xd2f6d3]?delete _0x5c18cb[_0xd2f6d3]:'id'!==_0xd2f6d3&&(_0x185c76=!0x0);_0x185c76||(_0xfdd0bd[_0x223309]=null);}if(_0xfdd0bd=_0xfdd0bd['filter'](_0x550015=>null!==_0x550015),!_0xfdd0bd['length'])return;for(let _0x48e8d8=0x0;_0x48e8d8<_0xfdd0bd['length'];_0x48e8d8++){const _0x2f3411=_0xfdd0bd[_0x48e8d8];void 0x0!==_0x2f3411['fromVersion']&&void 0x0===_0x2f3411['toVersion']&&(_0x2f3411['toVersion']=this['repository']['getRevision'](_0x2f3411['id'])['toVersion']),void 0x0!==_0x2f3411['toVersion']&&void 0x0===_0x2f3411['fromVersion']&&(_0x2f3411['fromVersion']=this['repository']['getRevision'](_0x2f3411['id'])['fromVersion']);}const _0x5f2fc3=this['editor']['config']['get']('collaboration.channelId');this['_isPendingUpdate']=!0x0,this['_addPendingAction'](),this['adapter']['updateRevisions'](_0xfdd0bd,_0x5f2fc3)['finally'](()=>{this['_isPendingUpdate']=!0x1;})['then'](_0x2ce267=>{if(_0x2ce267){for(const _0x186429 of _0x2ce267)this['setRevisionData']({'id':_0x186429['id'],'createdAt':_0x186429['createdAt']});}this['_removePendingAction'](),this['sendBufferedUpdates']();});}['_replaceEditorDataWithRevisionData'](_0x2defe7,_0x13d6ef){let _0x31b0d2=this['editor']['config']['get']('initialData'),_0xe3dffc=this['editor']['config']['get']('rootsAttributes');if(void 0x0===_0x31b0d2){_0x31b0d2={};for(const _0x43e559 of this['editor']['model']['document']['getRootNames']())_0x31b0d2[_0x43e559]='';}if('string'==typeof _0x31b0d2&&(_0x31b0d2={'main':_0x31b0d2}),void 0x0===_0xe3dffc){_0xe3dffc={};for(const _0x21e5d4 of this['editor']['model']['document']['getRootNames']())_0xe3dffc[_0x21e5d4]={};}let _0x3a7673=!0x1;const _0x4370d4=Object['keys'](_0x31b0d2),_0x1e392c=Object['keys'](_0x2defe7);for(const _0x312972 of _0x4370d4){if(_0x31b0d2[_0x312972]!==_0x2defe7[_0x312972]&&''!==_0x31b0d2[_0x312972]['trim']()){_0x3a7673=!0x0;break;}if(!_0x324e2b(_0xe3dffc[_0x312972],_0x13d6ef[_0x312972])&&Object['keys'](_0xe3dffc[_0x312972])['length']>0x0){_0x3a7673=!0x0;break;}}_0x3a7673||(_0x3a7673=_0x1e392c['some'](_0x2abdfb=>!this['editor']['model']['document']['getRoot'](_0x2abdfb))),_0x3a7673&&_0x45a2f3('editor-initial-data-replaced-with-revision-data',{'editorData':_0x31b0d2,'editorRootsAttributes':_0xe3dffc,'revisionData':_0x2defe7,'revisionRootsAttributes':_0x13d6ef}),this['editor']['config']['set']('initialData',_0x2defe7),this['editor']['config']['set']('rootsAttributes',_0x13d6ef);}['_addPendingAction'](){if(!this['_pendingAction']){const _0x1bcb23=this['editor']['plugins']['get']('PendingActions');this['_pendingAction']=_0x1bcb23['add'](y(this['editor']['locale'],'PENDING_ACTION_REVISION_HISTORY'));}}['_removePendingAction'](){this['_pendingAction']&&(this['editor']['plugins']['get']('PendingActions')['remove'](this['_pendingAction']),this['_pendingAction']=null);}['_findInsertionIndex'](_0x68cca4){const _0x6c40a6=this['repository']['getRevisions']();_0x6c40a6['reverse']();let _0xf07807=0x0;for(;_0xf07807<_0x6c40a6['length'];){const _0x91653e=_0x6c40a6[_0xf07807];if(_0x91653e===this['currentRevision']){_0xf07807++;continue;}if(_0x91653e['id']===this['_initialRevisionId'])break;const _0x422778=_0x68cca4['toVersion']-_0x91653e['toVersion']||_0x68cca4['fromVersion']-_0x91653e['fromVersion'];if(_0x422778>0x0)break;if(_0x422778<0x0)_0xf07807++;else{if(!_0x68cca4['creator']&&_0x91653e['creator'])break;if(_0x91653e['creator']||!_0x68cca4['creator']){if(_0x68cca4['createdAt']>_0x91653e['createdAt'])break;_0xf07807++;}else _0xf07807++;}}return _0xf07807;}['setRevisionData'](_0x463883){const _0x4e9e34=this['repository']['getRevision'](_0x463883['id']);if(_0x463883['createdAt']&&(_0x463883['createdAt']=new Date(_0x463883['createdAt'])),_0x463883['authorsIds']){const _0x5002ac=this['editor']['plugins']['get']('Users');_0x463883['authors']=_0x463883['authorsIds']['map'](_0x2d8fa2=>_0x5002ac['getUser'](_0x2d8fa2));}_0x4e9e34['_update'](_0x463883,!0x0);}['buildRevisionData']({revision:_0x270659=null,from:_0x467007=null,to:_0x589019=null}){_0x467007=null!==_0x467007?_0x467007:_0x270659['fromVersion'],_0x589019=null!==_0x589019?_0x589019:_0x270659['toVersion'];const _0x33fb7b=this['_revisionDataBuilder']['getData'](_0x467007,_0x589019),_0x24b6db={'diffData':_0x33fb7b['diffData'],'authorsIds':_0x33fb7b['authorsIds'],'fromVersion':_0x467007,'toVersion':_0x589019};if(!_0x270659||_0x589019!==_0x270659['toVersion']){const _0x28ef5f=_0x589019-0x1,_0x3aff68=this['_source']['history']['getOperation'](_0x28ef5f);_0x24b6db['createdAt']=_0x3aff68&&_0x3aff68['createdAt']||new Date();}if(this['_loadedStateData']&&_0x467007===this['_loadedStateData']['fromVersion']){for(const _0x4a56a9 of this['_loadedStateData']['authors'])_0x24b6db['authorsIds']['includes'](_0x4a56a9['id'])||_0x24b6db['authorsIds']['push'](_0x4a56a9['id']);}return _0x24b6db;}['_loadRevisionData'](_0x4c15a6){if(!_0x4c15a6||_0x4c15a6['diffData'])return Promise['resolve']();{const _0x123c2e=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0x123c2e,'revisionId':_0x4c15a6['id']})['then'](_0x33b804=>{_0x4c15a6['diffData']=_0x33b804['diffData'];});}}['_bufferUpdate'](_0x47d18b,_0x1bcfe4,_0x4b4296){if(this['_bufferedUpdates']['has'](_0x47d18b)){const _0x2fb610=this['_bufferedUpdates']['get'](_0x47d18b);_0x1bcfe4=_0x4b4296?{..._0x2fb610,..._0x1bcfe4}:{..._0x1bcfe4,..._0x2fb610};}this['_bufferedUpdates']['set'](_0x47d18b,_0x1bcfe4);}['_getFromVersion'](_0x5d1447){const _0x579626=this['repository']['getRevisions']();_0x579626['reverse'](),_0x579626['shift']();const _0x5b6096=_0x579626['find'](_0x13a21b=>_0x13a21b['toVersion']<=_0x5d1447)['toVersion'];return _0x5b6096<this['_startingVersion']?this['_startingVersion']:_0x5b6096;}['_createInitialRevision'](_0x4c9629){const _0x5debbb=this['repository']['getRevision'](this['repository']['length']-0x1);if(_0x5debbb)this['_initialRevisionId']=_0x5debbb['id'];else{const _0x5aa8eb=!this['editor']['model']['document']['roots']['find'](_0x425686=>this['editor']['model']['hasContent'](_0x425686)),_0x3d6aec=this['editor']['plugins']['get']('Users')['me']['id'],_0x1a85c8=y(this['editor']['locale'],_0x5aa8eb?'Empty\x20document':'Initial\x20revision');this['_makeRevision']({'from':_0x4c9629,'to':_0x4c9629,'id':this['_initialRevisionId'],'name':_0x1a85c8,'creatorId':_0x3d6aec});}}['_createCurrentRevision'](_0x202525){const _0xa7f6a2=this['_source']['getCurrentRevisionId']();this['currentRevision']=this['repository']['getRevision'](_0xa7f6a2),this['currentRevision']||(this['currentRevision']=this['_makeRevision']({'from':_0x202525,'to':_0x202525,'id':_0xa7f6a2,'name':'','creatorId':null}));}['_makeRevision']({name:_0x3d8e9d,from:_0x32ad1e,to:_0x4089a9,creatorId:_0x404560,id:_0x1d871f}){const _0x335411=this['buildRevisionData']({'from':_0x32ad1e,'to':_0x4089a9});_0x335411['name']=_0x3d8e9d,_0x335411['creatorId']=_0x404560,_0x335411['id']=_0x1d871f;const _0x2ea6e6=this['addRevisionData'](_0x335411);return this['adapter']&&this['_bufferUpdate'](_0x335411['id'],_0x335411,!0x0),_0x2ea6e6;}['_setConversion'](){this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'});}['_removeRevisionMarkers'](_0x5c4af9){return(_0x5c4af9=_0x5c4af9['filter'](_0x4dffa6=>!_0x4dffa6['name']||'revision-start'!==_0x4dffa6['name']&&'revision-end'!==_0x4dffa6['name']))['forEach'](_0x39881b=>{'string'!=typeof _0x39881b&&(_0x39881b['children']=this['_removeRevisionMarkers'](_0x39881b['children']),_0x39881b['attributes']=_0x39881b['attributes']['filter'](_0x17abe1=>!_0x17abe1[0x0]['startsWith']('data-revision-')));}),_0x5c4af9;}}function B(_0x52ab78,_0x4308e9){const _0x59d374=_0x4308e9['editing']['view']['document'];if('string'==typeof _0x52ab78)return new _0x319b0c(_0x59d374,_0x52ab78);{const _0x398311=_0x52ab78['children']['map'](_0x5c5db1=>B(_0x5c5db1,_0x4308e9));return new(T[_0x52ab78['type']]||_0x3c4bca)(_0x59d374,_0x52ab78['name'],_0x52ab78['attributes'],_0x398311);}}class J{['editor'];['source'];['_savedMetaData'];['_lastFrom'];['_lastTo'];['_markers'];['_diffRoots'];['_diffRootsAttributes'];['_baseRoots'];['_baseRootsAttributes'];['_idsRoots'];['_baseIdsRoots'];['_touched'];['_touchedMarkers'];['_touchedRoots'];['_revisionId'];['_startingRevisionId'];constructor(_0x2bd589){this['editor']=_0x2bd589,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'](_0x95466f){this['source']=_0x95466f;const _0x519ddb=new Map(),_0x2d4ad0=new Map(),_0xc12221=this['editor']['model']['document']['roots']['map'](_0x22b7b2=>_0x22b7b2['rootName']);for(const _0x508b6b of _0xc12221){const _0x331a24=this['editor']['model']['document']['getRoot'](_0x508b6b),_0x423c64=q(_0x331a24);_0x519ddb['set'](_0x508b6b,_0x423c64),_0x2d4ad0['set'](_0x508b6b,Object['fromEntries'](_0x331a24['getAttributes']()));}const _0x5751e4=Array['from'](this['editor']['model']['markers'])['map'](_0x35841c=>[_0x35841c['name'],_0x35841c['getRange']()]),_0x5a43e8=this['source']['version'];this['_saveMetaData'](_0x5a43e8,_0x519ddb,_0x5751e4,_0x2d4ad0),this['_startingRevisionId']=this['_revisionId'];const _0x40467a=new Map(),_0x498ed2=new Map();for(const _0x4b58a3 of _0xc12221){const _0xc84994=G(_0x4b58a3);_0x40467a['set'](_0x4b58a3,_0xc84994),_0x498ed2['set'](_0x4b58a3,{});}this['_saveMetaData'](Number['NEGATIVE_INFINITY'],_0x40467a,[],_0x498ed2);}['getData'](_0x3808d2,_0x49202b){if(this['_lastFrom']===_0x3808d2&&this['_lastTo']<=_0x49202b)this['_savedMetaData']['size']>0x1&&this['_removeMetaData'](this['_lastTo']),this['_applyOperations'](this['_lastTo'],_0x49202b,!0x0);else{if(!this['_savedMetaData']['has'](_0x3808d2)){const _0x16cca0=this['_getPreviousFrom'](_0x3808d2);this['_calculateMetaData'](_0x16cca0,_0x3808d2,!0x1);}this['_calculateMetaData'](_0x3808d2,_0x49202b,!0x0);}return this['_lastFrom']=_0x3808d2,this['_lastTo']=_0x49202b,this['_getState']();}['loadState'](_0x208236){this['_reset'](),this['_lastFrom']=_0x208236['fromVersion'],this['_lastTo']=_0x208236['toVersion'];for(const _0x35ba1d in _0x208236['diffData']){const _0x4c28b0=_0x208236['diffData'][_0x35ba1d]['attachChange'],_0x2f5fc5=_0x2bccda(_0x208236['diffData'][_0x35ba1d]['attributesBefore'])||{},_0xeab14a=this['_makeModelFromViewString'](_0x208236['diffData'][_0x35ba1d]['deletions']);_0xeab14a['rootName']=_0x35ba1d,_0xeab14a['_isAttached']=!_0x4c28b0||!_0x4c28b0['isAttached'],_0xeab14a['isAttached']=()=>_0xeab14a['_isAttached'],this['_baseRoots']['set'](_0x35ba1d,_0xeab14a),this['_baseRootsAttributes']['set'](_0x35ba1d,_0x2f5fc5),_0x4c28b0&&this['_touchedRoots']['set'](_0x35ba1d,_0x4c28b0);const _0x47ccde=this['_makeIdsRoot'](_0xeab14a);this['_baseIdsRoots']['set'](_0x35ba1d,_0x47ccde);for(const [_0xf0ed5e,_0x3e9173]of _0xeab14a['markers']){if(!_0xf0ed5e['startsWith']('revision:'))continue;const _0x7509e9=_0xf0ed5e['split'](':')[0x2];for(const _0x8730aa of _0x3e9173['getWalker']({'singleCharacters':!0x0})){const _0x295e6a=this['_getVidAttributeName'](_0x8730aa),_0x2cd744='elementEnd'==_0x8730aa['type']?_0x8730aa['previousPosition']['path']['slice'](0x0,-0x1):_0x8730aa['previousPosition']['path'],_0x40776c=_0x47ccde['getNodeByPath'](_0x2cd744)['getAttribute'](_0x295e6a);this['_touched']['set'](_0x40776c,{'userId':_0x7509e9});}}}this['_startingRevisionId']=this['_revisionId'];const _0x321d05=[...Array(this['_revisionId'])['keys']()]['slice'](0x1)['filter'](_0x80a762=>!this['_touched']['has'](_0x80a762));let _0x4774cf=0x0;const _0x432d2a=new Map();for(const _0x3729d4 in _0x208236['diffData']){const _0x379f31=_0x208236['diffData'][_0x3729d4]['attachChange'],_0x34b602=_0x2bccda(_0x208236['diffData'][_0x3729d4]['attributesAfter'])||{},_0x18228a=this['_makeModelFromViewString'](_0x208236['diffData'][_0x3729d4]['insertions']);_0x18228a['rootName']=_0x3729d4,_0x18228a['_isAttached']=!_0x379f31||_0x379f31['isAttached'],_0x18228a['isAttached']=()=>_0x18228a['_isAttached'],this['_diffRoots']['set'](_0x3729d4,_0x18228a),this['_diffRootsAttributes']['set'](_0x3729d4,_0x34b602);const _0x176b2e=this['_makeIdsRoot'](_0x18228a,Number['NEGATIVE_INFINITY']);this['_idsRoots']['set'](_0x3729d4,_0x176b2e),_0x432d2a['set'](_0x3729d4,_0x18228a['isAttached']()?_0x34b602:{});for(const [_0x14dc4c,_0x15c85e]of _0x18228a['markers']){if(!_0x14dc4c['startsWith']('revision:'))continue;const _0x44eb5a=_0x14dc4c['split'](':')[0x2];for(const _0x5e7dd1 of _0x15c85e['getWalker']({'singleCharacters':!0x0})){const _0x450226=this['_getVidAttributeName'](_0x5e7dd1),_0x1bfd60=this['_revisionId']++,_0x48b451='elementEnd'==_0x5e7dd1['type']?_0x5e7dd1['previousPosition']['path']['slice'](0x0,-0x1):_0x5e7dd1['previousPosition']['path'];_0x176b2e['getNodeByPath'](_0x48b451)['_setAttribute'](_0x450226,_0x1bfd60),this['_touched']['set'](_0x1bfd60,{'userId':_0x44eb5a});}}for(const _0x4fa466 of this['editor']['model']['createRangeIn'](_0x18228a)['getWalker']({'singleCharacters':!0x0})){const _0x1fa80c=this['_getVidAttributeName'](_0x4fa466),_0x1c263b='elementEnd'==_0x4fa466['type']?_0x4fa466['previousPosition']['path']['slice'](0x0,-0x1):_0x4fa466['previousPosition']['path'],_0x4e1990=_0x176b2e['getNodeByPath'](_0x1c263b);_0x4e1990['getAttribute'](_0x1fa80c)>0x0||_0x4e1990['_setAttribute'](_0x1fa80c,_0x321d05[_0x4774cf++]);}for(const [_0x38215e,_0x1e694b]of _0x18228a['markers'])_0x38215e['startsWith']('revision:')||this['_markers']['set'](_0x38215e,_0x1e694b);}const _0x59f327=G('$graveyard');this['_baseRoots']['set']('$graveyard',_0x59f327),this['_baseIdsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x59f327,0x1));const _0x32c323=G('$graveyard');this['_diffRoots']['set']('$graveyard',_0x32c323),this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x32c323,0x1));const _0x378642=Array['from'](this['_diffRoots'])['map'](([_0x494395,_0x24fb83])=>[_0x494395,q(_0x24fb83)]);this['_saveMetaData'](this['_lastTo'],_0x378642,this['_markers'],_0x432d2a);}['_makeModelFromViewString'](_0x482871){const _0x5f2901=JSON['parse'](_0x482871),_0x5e7acc=this['editor']['editing']['view']['document'],_0x49cf68=new _0x19e872(_0x5e7acc,_0x5f2901['map'](_0x2d09c6=>B(_0x2d09c6,this['editor'])));return this['editor']['data']['toModel'](_0x49cf68);}['_saveMetaData'](_0x1c3c7e,_0x542af2,_0x14e956,_0x3ed9cd){const _0x4ed713=new Map(_0x542af2),_0x49fa78=new Map(_0x2bccda(_0x3ed9cd)),_0x44e626=new Map();for(const [_0x8235aa,_0x4c21fe]of _0x14e956)_0x44e626['set'](_0x8235aa,{'start':_0x4c21fe['start']['clone'](),'end':_0x4c21fe['end']['clone'](),'rootName':_0x4c21fe['root']['rootName']});this['_savedMetaData']['set'](_0x1c3c7e,{'roots':_0x4ed713,'markers':_0x44e626,'rootsAttributes':_0x49fa78});}['_removeMetaData'](_0x21af3d){this['_savedMetaData']['delete'](_0x21af3d);}['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'](_0x1bf631,_0x525bd3=null){let _0x4781dc=null;_0x1bf631['is']('documentFragment')||(_0x4781dc=new ft(_0x1bf631['name'],{'vid_start':null===_0x525bd3?this['_revisionId']++:_0x525bd3++}));const _0x1791f0=[];for(const _0x2af333 of _0x1bf631['getChildren']())if(_0x2af333['is']('element')){_0x1791f0['push'](this['_makeIdsRoot'](_0x2af333,_0x525bd3));const _0x107e96=_0x1791f0[_0x1791f0['length']-0x1];null!==_0x525bd3&&(_0x525bd3=_0x107e96['is']('element','$text')?_0x107e96['getAttribute']('vid')+0x1:_0x107e96['getAttribute']('vid_end')+0x1);}else{for(let _0x3c727b=0x0;_0x3c727b<_0x2af333['offsetSize'];_0x3c727b++)_0x1791f0['push'](new ft('$text',{'vid':null===_0x525bd3?this['_revisionId']++:_0x525bd3++}));}if(_0x1bf631['is']('documentFragment')){const _0x366b63=G(_0x1bf631['rootName']);return _0x366b63['_insertChild'](0x0,_0x1791f0),_0x366b63;}return _0x4781dc['_setAttribute']('vid_end',null===_0x525bd3?this['_revisionId']++:_0x525bd3++),_0x4781dc['_insertChild'](0x0,_0x1791f0),_0x4781dc;}['_calculateMetaData'](_0x5b5686,_0x54d7a8,_0x38b793){this['_reset']();const {roots:_0x16f6bd,markers:_0x38928f,rootsAttributes:_0x5741d5}=this['_savedMetaData']['get'](_0x5b5686);this['_baseRoots']=new Map(_0x16f6bd),this['_baseRootsAttributes']=new Map(_0x2bccda(_0x5741d5));for(const [_0x37eba7,_0x581b18]of this['_baseRoots'])if('$graveyard'!==_0x37eba7&&(this['_diffRoots']['set'](_0x37eba7,q(_0x581b18)),this['_diffRootsAttributes']=new Map(_0x2bccda(_0x5741d5)),_0x38b793)){const _0x53dc7a=this['_revisionId'];this['_idsRoots']['set'](_0x37eba7,this['_makeIdsRoot'](_0x581b18)),this['_baseIdsRoots']['set'](_0x37eba7,this['_makeIdsRoot'](_0x581b18,_0x53dc7a));}this['_startingRevisionId']=this['_revisionId'],this['_diffRoots']['set']('$graveyard',q(this['_baseRoots']['get']('$graveyard'))),_0x38b793&&this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](this['_baseRoots']['get']('$graveyard')));for(const [_0x33182d,_0x4a28c0]of _0x38928f){const _0x38d45a=this['_baseRoots']['get'](_0x4a28c0['rootName']),_0x373d59=this['_diffRoots']['get'](_0x4a28c0['rootName']),_0x3dd7b2=new vt(this['_fixPosition'](_0x4a28c0['start'],_0x38d45a),this['_fixPosition'](_0x4a28c0['end'],_0x38d45a)),_0x1808b1=this['_fixRange'](_0x3dd7b2,_0x373d59);_0x38d45a['markers']['set'](_0x33182d,_0x3dd7b2),this['_markers']['set'](_0x33182d,_0x1808b1);}this['_applyOperations'](_0x5b5686,_0x54d7a8,_0x38b793);}['_applyOperations'](_0x2c8225,_0x27d2da,_0x39bda0){for(const _0x2129e6 of this['source']['getOperations'](_0x2c8225,_0x27d2da))this['_handleOperation'](_0x2129e6,_0x39bda0);for(const _0xa1a4bc of this['_diffRoots']['values']())_0xa1a4bc['markers']['clear']();for(const [_0x710da2,_0x57ade0]of this['_markers']){this['_diffRoots']['get'](_0x57ade0['root']['rootName'])['markers']['set'](_0x710da2,_0x57ade0['clone']());}const _0x59314a=new Map(),_0x22af02=new Map();for(const [_0x3a5465,_0x2de340]of this['_diffRoots'])_0x59314a['set'](_0x3a5465,q(_0x2de340)),_0x22af02['set'](_0x3a5465,this['_diffRootsAttributes']['get'](_0x3a5465));this['_saveMetaData'](_0x27d2da,_0x59314a,this['_markers'],_0x22af02);}['_getPreviousFrom'](_0x264431){const _0x19c1aa=Array['from'](this['_savedMetaData']['keys']());_0x19c1aa['sort']((_0x4e7b5f,_0x265e0f)=>_0x4e7b5f-_0x265e0f),_0x19c1aa['reverse']();for(const _0x4fb49d of _0x19c1aa)if(_0x4fb49d<_0x264431)return _0x4fb49d;return Number['NEGATIVE_INFINITY'];}['_copyMarkers'](_0x24c509,_0x3d436a){const _0x5b6cb7=Array['from'](_0x3d436a['markers'])['map'](([_0x36ac3d,_0x5351fb])=>[_0x36ac3d,this['_fixRange'](_0x5351fb,_0x24c509)]);_0x24c509['markers']=new Map(_0x5b6cb7);}['_transformMarkers'](_0x2d0a26){for(const _0x2301cc of this['_markers']['values']()){const _0xa7d807=_0x2301cc['getTransformedByOperation'](_0x2d0a26),_0x222375=vt['_createFromRanges'](_0xa7d807);_0x2301cc['start']=_0x222375['start'],_0x2301cc['end']=_0x222375['end'];}}['_handleOperation'](_0x23291d,_0x5cbe1c){if('addRoot'==_0x23291d['type']||'detachRoot'==_0x23291d['type'])return void this['_handleRootOperation'](_0x23291d,_0x5cbe1c);if('insert'==_0x23291d['type']){const _0x32e2be=_0x23291d['position']['root']['rootName'];this['_diffRoots']['has'](_0x32e2be)||(this['_diffRoots']['set'](_0x32e2be,G(_0x32e2be,!0x0)),this['_diffRootsAttributes']['set'](_0x32e2be,{}),_0x5cbe1c&&this['_idsRoots']['set'](_0x32e2be,G(_0x32e2be,!0x0)));}else{if('addRootAttribute'==_0x23291d['type']||'removeRootAttribute'==_0x23291d['type']||'changeRootAttribute'==_0x23291d['type'])return void this['_handleRootAttributeOperation'](_0x23291d);}const _0x417e17=this['_cloneOperation'](_0x23291d,this['_diffRoots']);if('marker'!==_0x23291d['type']&&(_0x417e17['_execute'](),this['_transformMarkers'](_0x417e17)),_0x5cbe1c)switch(_0x417e17['type']){case'insert':this['_handleInsertOperation'](_0x23291d);break;case'move':case'remove':case'reinsert':this['_handleMoveOperation'](_0x23291d);break;case'merge':this['_handleMergeOperation'](_0x23291d);break;case'split':this['_handleSplitOperation'](_0x23291d);break;case'marker':this['_handleMarkerOperation'](_0x23291d);}}['_cloneOperation'](_0x558a94,_0x2882d1){const _0x36d368=_0x558a94['clone']();return _0x36d368['_authorId']=_0x558a94['_authorId'],this['_fixOperation'](_0x36d368,_0x2882d1),_0x36d368;}['_getBaseVids'](_0x552cc1){return _0x552cc1['map'](_0x1b71d6=>{const _0x23fbc2=this['_getVidAttributeName'](_0x1b71d6);return Number(_0x1b71d6['item']['getAttribute'](_0x23fbc2));});}['_generateTape'](_0x3a29f4,_0x245a2e){if(_0x3a29f4['is']('element','$text'))_0x245a2e['push']({'item':_0x3a29f4,'type':'text'});else{_0x3a29f4['is']('element')&&_0x245a2e['push']({'item':_0x3a29f4,'type':'elementStart'});for(const _0xc0cfdd of _0x3a29f4['getChildren']())this['_generateTape'](_0xc0cfdd,_0x245a2e);_0x3a29f4['is']('element')&&_0x245a2e['push']({'item':_0x3a29f4,'type':'elementEnd'});}return _0x245a2e;}['_getState'](){const _0x4c141e=new Map(this['_touched']),_0x8aecdf=new Map(_0x4c141e),_0x27e666=new Map(),_0x4a9012={'insertions':{},'deletions':{}},_0xab7a59={'insertions':{},'deletions':{}},_0x40568c=new Map(),_0x5093ce=new Set([...this['_baseRoots']['keys'](),...this['_diffRoots']['keys']()]);_0x5093ce['delete']('$graveyard');for(const _0xe55e83 of _0x5093ce){const _0x21b3c5=this['_diffRoots']['get'](_0xe55e83)||G(_0xe55e83,!0x1),_0x438862=this['_baseRoots']['get'](_0xe55e83)||G(_0xe55e83,!0x1);_0x21b3c5['isAttached']()||_0x438862['isAttached']()?(_0x4a9012['insertions'][_0xe55e83]=q(_0x21b3c5),_0x4a9012['deletions'][_0xe55e83]=q(_0x438862),this['_copyMarkers'](_0x4a9012['deletions'][_0xe55e83],_0x438862),this['_copyMarkers'](_0x4a9012['insertions'][_0xe55e83],_0x21b3c5),_0xab7a59['insertions'][_0xe55e83]=this['_generateTape'](this['_idsRoots']['get'](_0xe55e83),[]),_0xab7a59['deletions'][_0xe55e83]=this['_generateTape'](this['_baseIdsRoots']['get'](_0xe55e83)||G(_0xe55e83,!0x1),[])):_0x5093ce['delete'](_0xe55e83);}for(const _0x40b459 of _0x5093ce){const _0x53ca97=_0xab7a59['insertions'][_0x40b459];for(const _0x5a54f9 of _0x53ca97){const _0x5dccd4=this['_getVidAttributeName'](_0x5a54f9),_0x2c6e6f=_0x5a54f9['item']['getAttribute'](_0x5dccd4);_0x8aecdf['delete'](_0x2c6e6f),_0x2c6e6f>=this['_startingRevisionId']&&_0x27e666['set'](_0x2c6e6f,_0x4c141e['get'](_0x2c6e6f));}}for(const _0x471371 of _0x5093ce){const _0xe109bb=_0xab7a59['insertions'][_0x471371],_0xacbd12=this['_getBaseVids'](_0xab7a59['deletions'][_0x471371]);let _0xb61e2d=0x0;for(const _0x423525 of _0xe109bb){const _0xa30992=this['_getVidAttributeName'](_0x423525),_0x51a066=_0x423525['item']['getAttribute'](_0xa30992);if(!_0x27e666['has'](_0x51a066)&&!_0x40568c['has'](_0x51a066)){if(_0x8aecdf['has'](_0x51a066))_0xb61e2d++;else{if(_0x51a066!=_0xacbd12[_0xb61e2d]){const _0x286caa=_0x4c141e['get'](_0x51a066)||_0x4c141e['get'](_0xacbd12[_0xb61e2d]);for(;_0x51a066!=_0xacbd12[_0xb61e2d];)_0x8aecdf['has'](_0xacbd12[_0xb61e2d])||(_0x40568c['set'](_0xacbd12[_0xb61e2d],_0x286caa),_0x4c141e['set'](_0xacbd12[_0xb61e2d],_0x286caa)),_0xb61e2d++;}_0xb61e2d++;}}}}for(const _0xcd344e of _0x5093ce){const _0x544938=_0xab7a59['insertions'][_0xcd344e];for(const _0x59e0d8 of _0x544938){const _0x301e01=this['_getVidAttributeName'](_0x59e0d8),_0x59c3ca=_0x59e0d8['item']['getAttribute'](_0x301e01);if(_0x40568c['has'](_0x59c3ca)){const _0x48ce0a=_0x40568c['get'](_0x59c3ca);_0x8aecdf['has'](_0x59c3ca)||_0x8aecdf['set'](_0x59c3ca,{..._0x48ce0a}),_0x27e666['set'](_0x59c3ca,{..._0x48ce0a});}}}for(const _0x51e9c4 of _0x8aecdf['keys']())_0x51e9c4>=this['_startingRevisionId']&&_0x8aecdf['delete'](_0x51e9c4);const _0x57a52=new Map();for(const _0x2d7920 of _0x5093ce){let _0x414426=_0xab7a59['insertions'][_0x2d7920];for(const _0x318049 of _0x414426)if(_0x318049['item']['is']('element','tableCell')){const _0x4a9485=this['_getVidAttributeName'](_0x318049),_0x38cc83=_0x318049['item']['getAttribute'](_0x4a9485);if(_0x27e666['has'](_0x38cc83)){const _0x3c3caa=_0x318049['item']['parent']['parent']['getAttribute']('vid_start'),_0x59a60f=_0x57a52['get'](_0x3c3caa)||new Set();_0x59a60f['add'](_0x27e666['get'](_0x38cc83)['userId']),_0x57a52['set'](_0x3c3caa,_0x59a60f);}}_0x414426=_0xab7a59['deletions'][_0x2d7920];for(const _0x3c07f0 of _0x414426)if(_0x3c07f0['item']['is']('element','tableCell')){const _0x5cc5bc=this['_getVidAttributeName'](_0x3c07f0),_0x8cecd=_0x3c07f0['item']['getAttribute'](_0x5cc5bc);if(_0x8aecdf['has'](_0x8cecd)){const _0x12f4a2=_0x3c07f0['item']['parent']['parent']['getAttribute']('vid_start'),_0x586907=_0x57a52['get'](_0x12f4a2)||new Set();_0x586907['add'](_0x8aecdf['get'](_0x8cecd)['userId']),_0x57a52['set'](_0x12f4a2,_0x586907);}}for(const _0x2b5720 of _0x57a52['keys']())(_0x27e666['has'](_0x2b5720)||_0x8aecdf['has'](_0x2b5720))&&_0x57a52['delete'](_0x2b5720);}for(const _0x24a1ed of _0x5093ce){const _0x40fe79=_0xab7a59['insertions'][_0x24a1ed];let _0x23c822=null,_0x5b4422=null;for(const _0xb3e448 of _0x40fe79){const _0x503504=this['_getVidAttributeName'](_0xb3e448),_0x5d1043=_0xb3e448['item']['getAttribute'](_0x503504),_0x4096b8=_0x57a52['get'](_0x5d1043);_0x4096b8&&'elementStart'==_0xb3e448['type']&&(_0x23c822=Array['from'](_0x4096b8)[0x0],_0x5b4422=_0xb3e448['item']['getAttribute']('vid_end')),_0x23c822&&(_0x8aecdf['set'](_0x5d1043,{'userId':_0x23c822}),_0x27e666['set'](_0x5d1043,{'userId':_0x23c822})),_0x5d1043==_0x5b4422&&(_0x23c822=null,_0x5b4422=null);}}const _0x7b6119={},_0xc6c4f0=new Set();for(const _0x59db4f of _0x5093ce){const _0x37e5c5=_0x4a9012['deletions'][_0x59db4f],_0x447492=_0x4a9012['insertions'][_0x59db4f];for(const {userId:_0x23133e}of this['_touchedMarkers']['values']())null!==_0x23133e&&_0xc6c4f0['add'](_0x23133e);for(const {userId:_0x37c8b9}of this['_touchedRoots']['values']())null!==_0x37c8b9&&_0xc6c4f0['add'](_0x37c8b9);this['_markChanges'](_0x447492,_0xab7a59['insertions'][_0x59db4f],_0x27e666,'insertion',_0xc6c4f0),this['_markChanges'](_0x37e5c5,_0xab7a59['deletions'][_0x59db4f],_0x8aecdf,'deletion',_0xc6c4f0),_0x7b6119[_0x59db4f]={'insertions':this['_prepareViewToSave'](_0x447492),'deletions':this['_prepareViewToSave'](_0x37e5c5),'attachChange':this['_touchedRoots']['get'](_0x59db4f)||null,'attributesBefore':_0x2bccda(this['_baseRootsAttributes']['get'](_0x59db4f))||{},'attributesAfter':_0x2bccda(this['_diffRootsAttributes']['get'](_0x59db4f))};}return{'diffData':_0x7b6119,'authorsIds':Array['from'](_0xc6c4f0)};}['_processRootBeforeSave'](_0x742185){for(const [,_0xfffbb9]of _0x742185['markers']){const _0x2438fa=_0xfffbb9['start']['getAncestors']()['filter'](_0x57bdeb=>'tableCell'==_0x57bdeb['name']);for(const _0x2cef36 of _0x2438fa)0x1==_0x2cef36['childCount']&&_0x2cef36['getChild'](0x0)['is']('element','paragraph')&&_0x2cef36['getChild'](0x0)['_setAttribute']('keepParagraph',!0x0);}}['_prepareViewToSave'](_0x328a00){this['_processRootBeforeSave'](_0x328a00);const _0xad94de=this['editor']['data']['toView'](_0x328a00,{}),_0x394df0=Array['from'](_0xad94de['getChildren']())['map'](_0x28a613=>this['_getViewJson'](_0x28a613));return JSON['stringify'](_0x394df0);}['_getViewJson'](_0x4eab59){if(_0x4eab59['is']('$text'))return _0x4eab59['data'];{const _0x54aff3=_0x4eab59;return{'type':Object['keys'](T)['find'](_0x3a4777=>_0x4eab59 instanceof T[_0x3a4777]),'name':_0x54aff3['name'],'attributes':Array['from'](_0x54aff3['getAttributes']()),'children':Array['from'](_0x54aff3['getChildren']())['map'](_0x2f07cc=>this['_getViewJson'](_0x2f07cc))};}}['_markChanges'](_0x2e1633,_0x53ec29,_0x7c916a,_0x5d8d8f,_0x9e6b59){let _0x2d5da3=null,_0x2cae7c=null,_0x50d443=0x0;const _0x4143e7=this['editor']['model'];for(let _0x5766e2=0x0;_0x5766e2<_0x53ec29['length'];_0x5766e2++){const _0x4048e4=this['_getVidAttributeName'](_0x53ec29[_0x5766e2]),_0x1d4705=_0x53ec29[_0x5766e2]['item']['getAttribute'](_0x4048e4),_0x2a27e0=_0x7c916a['get'](_0x1d4705),_0x30a0f2=_0x5766e2==_0x53ec29['length']-0x1;(!_0x2d5da3&&_0x2a27e0&&(_0x2d5da3=_0x2a27e0,_0x2cae7c=_0x53ec29[_0x5766e2]),_0x2d5da3&&(!_0x2a27e0||_0x2a27e0['userId']!=_0x2d5da3['userId']))&&(_0x8be593(_0x2a27e0,L(_0x2cae7c,_0x2e1633,_0x4143e7),L(_0x53ec29[_0x5766e2],_0x2e1633,_0x4143e7)),_0x2d5da3=_0x2a27e0||null,_0x2cae7c=_0x2a27e0?_0x53ec29[_0x5766e2]:null),_0x2d5da3&&_0x30a0f2&&_0x8be593(_0x2a27e0,L(_0x2cae7c,_0x2e1633,_0x4143e7),W(_0x53ec29[_0x5766e2],_0x2e1633,_0x4143e7));}function _0x8be593(_0x21b143,_0x1094c4,_0x37bfa3){const _0x1e6ea5=_0x2d5da3['userId'],_0x3e6557='revision:'+_0x5d8d8f+':'+_0x1e6ea5+':'+_0x50d443++,_0x5a63b5=_0x4143e7['createRange'](_0x1094c4,_0x37bfa3);_0x2e1633['markers']['set'](_0x3e6557,_0x5a63b5),null!==_0x1e6ea5&&_0x9e6b59['add'](_0x1e6ea5);}}['_getVidAttributeName'](_0xd97cfe){switch(_0xd97cfe['type']){case'elementStart':return'vid_start';case'elementEnd':return'vid_end';default:return'vid';}}['_fixOperation'](_0x15aaa0,_0x4c2cf9){_0x15aaa0['baseVersion']=null;for(const _0x510952 in _0x15aaa0){const _0x26c898=_0x15aaa0[_0x510952];if(_0x26c898 instanceof gt){const _0x11cbc3=_0x4c2cf9['get'](_0x26c898['root']['rootName']);_0x15aaa0[_0x510952]=this['_fixPosition'](_0x26c898,_0x11cbc3);}if(_0x26c898 instanceof vt){const _0x3b1d4a=_0x4c2cf9['get'](_0x26c898['root']['rootName']);_0x15aaa0[_0x510952]=this['_fixRange'](_0x26c898,_0x3b1d4a);}'root'===_0x510952&&(_0x15aaa0['root']=_0x4c2cf9['get'](_0x15aaa0['root']['rootName']));}}['_fixRange'](_0x21f2c5,_0xf9193c){return this['editor']['model']['createRange'](this['_fixPosition'](_0x21f2c5['start'],_0xf9193c),this['_fixPosition'](_0x21f2c5['end'],_0xf9193c));}['_fixPosition'](_0x35f263,_0x532b75){return this['editor']['model']['createPositionFromPath'](_0x532b75,_0x35f263['path'],_0x35f263['stickiness']);}['_handleInsertOperation'](_0x155ab3){const _0x2c9f9a=this['_idsRoots']['get'](_0x155ab3['position']['root']['rootName']),_0x3498a4=this['_fixPosition'](_0x155ab3['position'],_0x2c9f9a),_0x23f6da=null===_0x155ab3['_authorId']?null:_0x155ab3['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x4fe890=_0x3498a4['parent'],_0x3179bd=this['_revisionId'],_0x45d8a2=[];for(const _0x4c1fd0 of _0x155ab3['nodes'])if(_0x4c1fd0['is']('element'))_0x45d8a2['push'](this['_makeIdsRoot'](_0x4c1fd0));else{for(let _0x56d7c2=0x0;_0x56d7c2<_0x4c1fd0['offsetSize'];_0x56d7c2++)_0x45d8a2['push'](new ft('$text',{'vid':this['_revisionId']++}));}const _0x21533a=this['_revisionId'];for(let _0x41a41c=_0x3179bd;_0x41a41c<_0x21533a;_0x41a41c++)this['_touched']['set'](_0x41a41c,{'userId':_0x23f6da});_0x4fe890['_insertChild'](_0x3498a4['offset'],_0x45d8a2);}['_handleMoveOperation'](_0x3158c4){(_0x3158c4=this['_cloneOperation'](_0x3158c4,this['_idsRoots']))['_execute']();const _0x267402=null===_0x3158c4['_authorId']?null:_0x3158c4['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x20ed2e=_0x3158c4['getMovedRangeStart'](),_0x1f856c=_0x20ed2e['parent'],_0xf29bac=_0x20ed2e['offset'];!function _0x5af24e(_0xeae282,_0xb7b108,_0x52eadd,_0x32675d){for(let _0x495d4b=_0x52eadd;_0x495d4b<_0x32675d;_0x495d4b++){const _0x237e46=_0xb7b108['getChild'](_0x495d4b);_0x237e46['is']('element','$text')?_0xeae282['set'](_0x237e46['getAttribute']('vid'),{'userId':_0x267402}):(_0xeae282['set'](_0x237e46['getAttribute']('vid_start'),{'userId':_0x267402}),_0x5af24e(_0xeae282,_0x237e46,0x0,_0x237e46['childCount']),_0xeae282['set'](_0x237e46['getAttribute']('vid_end'),{'userId':_0x267402}));}}(this['_touched'],_0x1f856c,_0xf29bac,_0xf29bac+_0x3158c4['howMany']);}['_handleMergeOperation'](_0x57346d){const _0x4e44c9=null===(_0x57346d=this['_cloneOperation'](_0x57346d,this['_idsRoots']))['_authorId']?null:_0x57346d['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x5a7e85=_0x57346d['targetPosition']['parent'],_0x5166c6=_0x57346d['sourcePosition']['parent'],_0xd3e02f=_0x5a7e85['getAttribute']('vid_end'),_0x156507=_0x5166c6['getAttribute']('vid_start');_0x5a7e85['_setAttribute']('vid_end',_0x5166c6['getAttribute']('vid_end')),_0x5166c6['_setAttribute']('vid_end',_0xd3e02f),this['_touched']['set'](_0x156507,{'userId':_0x4e44c9}),this['_touched']['set'](_0xd3e02f,{'userId':_0x4e44c9}),_0x57346d['_execute']();}['_handleSplitOperation'](_0x2334e8){const _0x406735=null===(_0x2334e8=this['_cloneOperation'](_0x2334e8,this['_idsRoots']))['_authorId']?null:_0x2334e8['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x19ffbf=_0x2334e8['graveyardPosition'],_0x1ce50b=_0x2334e8['splitPosition']['parent'];_0x2334e8['_execute']();const _0x3d0fe9=_0x1ce50b['getAttribute']('vid_end'),_0x4a8ea0=_0x2334e8['insertionPosition']['nodeAfter'];if(_0x19ffbf){const _0x1db2ef=_0x4a8ea0['getAttribute']('vid_end'),_0x1c5505=_0x1ce50b['getAttribute']('vid_end');_0x1ce50b['_setAttribute']('vid_end',_0x1db2ef),_0x4a8ea0['_setAttribute']('vid_end',_0x1c5505),this['_touched']['set'](_0x1ce50b['getAttribute']('vid_end'),{'userId':_0x406735}),this['_touched']['set'](_0x4a8ea0['getAttribute']('vid_start'),{'userId':_0x406735});}else{const _0x40453b=this['_revisionId']++,_0xdba9ab=this['_revisionId']++;_0x1ce50b['_setAttribute']('vid_end',_0x40453b),_0x4a8ea0['_setAttribute']('vid_start',_0xdba9ab),_0x4a8ea0['_setAttribute']('vid_end',_0x3d0fe9),this['_touched']['set'](_0x40453b,{'userId':_0x406735}),this['_touched']['set'](_0xdba9ab,{'userId':_0x406735});}}['_handleMarkerOperation'](_0x447345){if(!_0x447345['affectsData'])return;const _0xe1935d=(_0x447345=this['_cloneOperation'](_0x447345,this['_diffRoots']))['oldRange']?_0x447345['oldRange']['root']:null,_0x4d2a32=_0x447345['newRange']?_0x447345['newRange']['root']:null;_0xe1935d&&this['_markers']['delete'](_0x447345['name']),_0x4d2a32&&this['_markers']['set'](_0x447345['name'],_0x447345['newRange']['clone']());const _0x22d2b6=null===_0x447345['_authorId']?null:_0x447345['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x198fc3=_0x447345['name'];if(!this['_touchedMarkers']['has'](_0x198fc3))return void this['_touchedMarkers']['set'](_0x198fc3,{'range':_0x447345['oldRange'],'userId':_0x22d2b6});const _0x17f823=this['_touchedMarkers']['get'](_0x198fc3),_0x56e489=_0x17f823['range'],_0xe08a46=_0x447345['newRange'];null==_0x56e489&&null==_0xe08a46||_0x56e489&&_0xe08a46&&_0x56e489['isEqual'](_0xe08a46)?this['_touchedMarkers']['delete'](_0x447345['name']):_0x17f823['userId']=_0x22d2b6;}['_handleRootOperation'](_0x148646,_0x2395e6){this['_diffRoots']['has'](_0x148646['rootName'])?this['_diffRoots']['get'](_0x148646['rootName'])['_isAttached']=_0x148646['isAdd']:(this['_diffRoots']['set'](_0x148646['rootName'],G(_0x148646['rootName'],!0x0)),this['_diffRootsAttributes']['set'](_0x148646['rootName'],{}),_0x2395e6&&this['_idsRoots']['set'](_0x148646['rootName'],G(_0x148646['rootName'],!0x0)));const _0x3b8b04=null===_0x148646['_authorId']?null:_0x148646['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0xfe1c19=this['_touchedRoots']['get'](_0x148646['rootName']);_0xfe1c19&&_0xfe1c19['userId']===_0x3b8b04?this['_touchedRoots']['delete'](_0x148646['rootName']):this['_touchedRoots']['set'](_0x148646['rootName'],{'userId':_0x3b8b04,'isAttached':_0x148646['isAdd']});}['_handleRootAttributeOperation'](_0x3ca328){const _0x3699b7=this['_diffRootsAttributes']['get'](_0x3ca328['root']['rootName']);null===_0x3ca328['newValue']?delete _0x3699b7[_0x3ca328['key']]:_0x3699b7[_0x3ca328['key']]=_0x3ca328['newValue'];}}function q(_0x3affd0){const _0x440ce6=G(_0x3affd0['rootName'],_0x3affd0['isAttached']());for(const _0x54a126 of _0x3affd0['getChildren']()){const _0x3751be=_0x54a126['_clone'](!0x0);_0x440ce6['_appendChild'](_0x3751be);}return _0x440ce6;}function G(_0x54dd07,_0xf37a8d=!0x0){const _0x316939=new wt();return _0x316939['rootName']=_0x54dd07,_0x316939['_isAttached']=_0xf37a8d,_0x316939['isAttached']=()=>_0x316939['_isAttached'],_0x316939;}function L(_0xfbfa71,_0x24c527,_0x5e8329){const _0x4c8ac5='elementEnd'==_0xfbfa71['type']?_0x5e8329['createPositionAt'](_0xfbfa71['item'],'end'):_0x5e8329['createPositionBefore'](_0xfbfa71['item']);return _0x5e8329['createPositionFromPath'](_0x24c527,_0x4c8ac5['path'],_0x4c8ac5['stickiness']);}function W(_0x4e783d,_0x486f57,_0x4745c8){const _0x30262e='elementStart'==_0x4e783d['type']?_0x4745c8['createPositionAt'](_0x4e783d['item'],0x0):_0x4745c8['createPositionAfter'](_0x4e783d['item']);return _0x4745c8['createPositionFromPath'](_0x486f57,_0x30262e['path'],_0x30262e['stickiness']);}class ns extends _0xb7478c{['focusTracker'];['keystrokes'];['revisionNameInputView'];constructor(_0x393d91,_0xf72b2a){super(_0x393d91),this['focusTracker']=new _0x57b07f(),this['keystrokes']=new _0x576e86(),this['set']('revisionNameInputValue',''),this['revisionNameInputView']=this['_createRevisionNameInput'](_0xf72b2a),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'](),_0x3ce3af({'view':this}),this['focusTracker']['add'](this['revisionNameInputView']['element']),this['keystrokes']['listenTo'](this['element']);const _0x459844=_0x804b44=>_0x804b44['stopPropagation']();this['keystrokes']['set']('arrowright',_0x459844),this['keystrokes']['set']('arrowleft',_0x459844),this['keystrokes']['set']('arrowup',_0x459844),this['keystrokes']['set']('arrowdown',_0x459844);}['focus'](){this['revisionNameInputView']['focus']();}get['revisionName'](){return this['revisionNameInputView']['fieldView']['element']['value']['trim']();}set['revisionName'](_0x2ab4b2){this['revisionNameInputView']['fieldView']['element']['value']=_0x2ab4b2['trim']();}['reset'](){this['revisionNameInputView']['fieldView']['element']['value']='',this['revisionNameInputView']['errorText']=null;}['_createRevisionNameInput'](_0x1a114e){const _0x37830d=new at(this['locale'],_0x183417),_0x2d9818=_0x37830d['fieldView'];_0x2d9818['extendTemplate']({'attributes':{'maxlength':'220'}});let _0x65d07f=y(this['locale'],'Name\x20of\x20the\x20revision');return!_0x1a114e&&(_0x65d07f+='\x20('+y(this['locale'],'optional')+')'),(_0x37830d['label']=_0x65d07f,_0x2d9818['on']('input',()=>{this['revisionNameInputValue']=_0x2d9818['element']['value']['trim']();}),_0x37830d);}}class u extends _0x365282{static get['pluginName'](){return'RevisionHistoryUI';}static get['requires'](){return[l];}['_saveRevisionFormView'];['init'](){const _0x232225=this['editor'],_0x1b1c6d=_0x232225['plugins']['get']('RevisionTracker');_0x232225['ui']['componentFactory']['add']('revisionHistory',_0x56b409=>{const _0x441ea2=_0x547be8(_0x56b409),_0x3f7128=_0x441ea2['panelView']['children'],_0x355b24=new te(_0x56b409),_0x4077d8=new _0x2052b4(_0x56b409),_0x1a24d3=new _0x4d4495(_0x56b409),_0x1724c6=new _0x2052b4(_0x56b409),_0xdf609f=new _0x4d4495(_0x56b409);return _0x441ea2['bind']('isEnabled')['to'](_0x1b1c6d,'isReady',_0x1b1c6d,'isEnabled',_0x232225,'isReadOnly',(_0x1bb11e,_0x1715fa,_0x4ffe66)=>_0x1bb11e&&_0x1715fa&&!_0x4ffe66),_0x441ea2['buttonView']['set']({'icon':_0x3f44ce['history'],'label':y(_0x56b409,'Revision\x20history'),'tooltip':!0x0}),_0x1a24d3['set']({'label':y(_0x56b409,'Save\x20current\x20revision'),'withText':!0x0,'role':'menuitem'}),_0x1a24d3['bind']('isEnabled')['to'](_0x1b1c6d,'isReady',_0x1b1c6d,'isEnabled',_0x232225,'isReadOnly',(_0x391e51,_0x4c90ed,_0x1ae8d2)=>_0x391e51&&_0x4c90ed&&!_0x1ae8d2),_0x1a24d3['on']('execute',()=>this['_showDialog']()),_0xdf609f['set']({'label':y(_0x56b409,'Open\x20revision\x20history'),'withText':!0x0,'role':'menuitem'}),_0xdf609f['bind']('isEnabled')['to'](_0x1b1c6d,'isReady',_0x232225,'isReadOnly',(_0x52c9c7,_0x601624)=>_0x52c9c7&&!_0x601624),_0xdf609f['on']('execute',()=>{_0x232225['config']['get']('revisionHistory')['showRevisionViewerCallback'](),_0x441ea2['isOpen']=!0x1,_0x232225['editing']['view']['focus']();}),_0x4077d8['children']['add'](_0x1a24d3),_0x1724c6['children']['add'](_0xdf609f),_0x355b24['role']='menu',_0x355b24['items']['addMany']([_0x4077d8,_0x1724c6]),_0x3f7128['add'](_0x355b24),_0x441ea2;}),_0x232225['ui']['componentFactory']['add']('menuBar:revisionHistory',()=>this['_registerMenuComponent']());}['_registerMenuComponent'](){const _0x493291=this['editor'],_0x54993b=_0x493291['locale'],_0x5c5d6f=new _0x49b471(_0x54993b),_0x5ed4f4=new _0x1a1261(_0x54993b);_0x5c5d6f['buttonView']['set']({'icon':_0x3f44ce['history'],'label':y(_0x54993b,'Revision\x20history')});const _0x6ad6af=new _0x2b5bdc(_0x54993b,_0x5c5d6f),_0x16bc39=new _0xd0ebac(_0x54993b);_0x16bc39['set']({'label':y(_0x54993b,'Save\x20current\x20revision')}),_0x16bc39['delegate']('execute')['to'](_0x5c5d6f),_0x16bc39['on']('execute',()=>{this['_showDialog']();}),_0x6ad6af['children']['add'](_0x16bc39),_0x5ed4f4['items']['add'](_0x6ad6af);const _0x17b87d=new _0x2b5bdc(_0x54993b,_0x5c5d6f),_0x1ffd11=new _0xd0ebac(_0x54993b);return _0x1ffd11['set']({'label':y(_0x54993b,'Open\x20revision\x20history')}),_0x1ffd11['delegate']('execute')['to'](_0x5c5d6f),_0x1ffd11['on']('execute',()=>{_0x493291['config']['get']('revisionHistory')['showRevisionViewerCallback']();}),_0x17b87d['children']['add'](_0x1ffd11),_0x5ed4f4['items']['add'](_0x17b87d),_0x5c5d6f['panelView']['children']['add'](_0x5ed4f4),_0x5c5d6f;}['_showDialog'](){const _0x321f05=this['editor'],_0xf1dbdf=_0x321f05['locale'],t=_0xf1dbdf['t'],_0x3e428d=_0x321f05['plugins']['get']('Dialog'),_0x670c45=_0x321f05['plugins']['get']('RevisionTracker');function _0x403b84(_0xda494f){_0x321f05['config']['get']('revisionHistory.requireRevisionName')&&''===_0xda494f['revisionName']?_0xda494f['revisionNameInputView']['errorText']=y(_0xf1dbdf,'The\x20revision\x20name\x20cannot\x20be\x20empty.'):(_0x321f05['plugins']['get'](l)['saveRevision']({'name':_0xda494f['revisionName']}),_0x3e428d['hide']());}this['_saveRevisionFormView']||(this['_createSaveRevisionFormView'](),this['_saveRevisionFormView']['on']('submit',()=>_0x403b84(this['_saveRevisionFormView']))),this['_saveRevisionFormView']['reset'](),_0x3e428d['show']({'id':'findAndReplace','title':y(_0xf1dbdf,'Save\x20current\x20revision'),'isModal':!0x0,'content':this['_saveRevisionFormView'],'actionButtons':[{'label':t('Cancel'),'withText':!0x0,'onExecute':()=>_0x3e428d['hide']()},{'label':t('Accept'),'class':'ck-button-action','withText':!0x0,'onCreate'(_0x13f42){_0x13f42['bind']('isEnabled')['to'](_0x670c45,'isReady',_0x670c45,'isEnabled',_0x321f05,'isReadOnly',(_0xed817a,_0x1f614e,_0x2501dc)=>_0xed817a&&_0x1f614e&&!_0x2501dc);},'onExecute':()=>_0x403b84(this['_saveRevisionFormView'])}]});}['_createSaveRevisionFormView'](){const _0xa8398=this['editor'],_0x2020c6=_0xa8398['locale'];this['_saveRevisionFormView']=new ns(_0x2020c6,_0xa8398['config']['get']('revisionHistory.requireRevisionName')),this['_saveRevisionFormView']['render']();}}class Z extends _0xb7478c{['changeId'];['_model'];constructor(_0x3b8cb2,_0x389d57){super(_0x3b8cb2),this['_model']=_0x389d57,this['changeId']=_0x389d57['id'];const _0x54b581=this['bindTemplate'],_0x33c348=y(_0x3b8cb2,_0x389d57['data']['isSuggestion']?'Suggested\x20by':'add'==_0x389d57['type']?'Added\x20by':'Removed\x20by');this['set']('type',_0x389d57['type']),this['setTemplate']({'tag':'div','attributes':{'class':['ck-annotation','ck-revision-change',_0x54b581['to']('type',_0x8c6833=>'ck-revision-change__'+_0x8c6833)],'tabindex':-0x1},'children':[{'tag':'span','children':[{'tag':'span','attributes':{'class':['ck-revision-change__label']},'children':[{'text':_0x33c348}]},{'text':'\x20'+_0x389d57['author']['name']}]}]});}['focus'](){this['element']['focus']();}}class r extends/* #__PURE__ -- @preserve */
|
|
25
|
-
_0x189954(){['id'];['author'];['type'];['data'];['rootName'];constructor(_0x3c552d){super(),this['id']=_0x3c552d['id']||_0x2d17fa(),this['author']=_0x3c552d['author'],this['type']=_0x3c552d['type'],this['data']=_0x3c552d['data']||{},this['rootName']=_0x3c552d['rootName'],this['set']('createdAt',_0x3c552d['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(_0x79cf4,_0x134e00){this['newRevisionId']=_0x79cf4,this['oldRevisionId']=_0x134e00,this['changes']=new _0x5db5a3();}['_setChanges'](_0x193b74){for(const _0x370f3d of _0x193b74)this['changes']['add'](_0x370f3d);}}const tt={'c':_0x212c9c,'a':_0x3dfd9c,'e':_0x2d2023,'r':_0x55dd1f,'u':_0x52daae};class d extends _0x365282{['repository'];['adapter'];['_activeViewTarget'];['_changeView'];['_changeIdToChange'];['_balloon'];static get['pluginName'](){return'RevisionViewer';}static get['requires'](){return[_0x2bad0c,_0x23529a,A];}constructor(_0x4db7cb){super(_0x4db7cb),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',(_0x10283f,_0x22663c,_0x47b45d)=>{this['activeChange']=null,this['activeView']=null,this['editor']['editing']['view']['change'](_0x163b98=>{for(const _0x19ec65 of this['editor']['editing']['view']['document']['roots'])_0x47b45d?_0x163b98['removeClass']('ck-editor__editable__overlay',_0x19ec65):_0x163b98['addClass']('ck-editor__editable__overlay',_0x19ec65);});}),this['bind']('isNavigationMode')['to'](this,'activeChange',_0x952803=>null!==_0x952803),this['bind']('currentChangeNumber')['to'](this,'isReady',this,'diff',this,'activeChange',(_0x37f3ff,_0x4034e3,_0x578e7f)=>_0x37f3ff&&_0x578e7f?_0x4034e3['changes']['getIndex'](_0x578e7f):0x0),this['bind']('numberOfChanges')['to'](this,'isReady',this,'diff',(_0x44a296,_0x25bd8d)=>_0x44a296?_0x25bd8d['changes']['length']:0x0),this['_changeView']=null,this['_changeIdToChange']=new Map(),this['adapter']=null,this['_balloon']=this['editor']['plugins']['get'](_0x23529a);}['init'](){const _0x87ec01=this['editor'],_0x163780=new yt(_0x87ec01,{'direction':'backward'}),_0x2ad2fc=new yt(_0x87ec01,{'direction':'forward'});(_0x87ec01['commands']['add']('showPreviousChange',_0x163780),_0x87ec01['commands']['add']('showNextChange',_0x2ad2fc),_0x87ec01['commands']['add']('restoreRevision',new bt(_0x87ec01)),this['on']('change:numberOfChanges',()=>{_0x163780['refresh'](),_0x2ad2fc['refresh']();}),this['_setConversion'](),this['_initInteractions'](),_0x87ec01['enableReadOnlyMode']('revision-viewer'),_0x87ec01['plugins']['has']('WidgetToolbarRepository'))&&_0x87ec01['plugins']['get']('WidgetToolbarRepository')['forceDisabled']('revision-viewer');}async['getRevisionData'](_0x42a2a7){await this['loadRevisionData'](_0x42a2a7);const _0x36ea45={};for(const _0x4b6bf4 in _0x42a2a7['diffData']){if(_0x42a2a7['diffData'][_0x4b6bf4]['attachChange']&&!_0x42a2a7['diffData'][_0x4b6bf4]['attachChange']['isAttached'])continue;const _0x539ba9=this['_removeRevisionMarkers'](JSON['parse'](_0x42a2a7['diffData'][_0x4b6bf4]['insertions'])),_0x1a8506=this['editor']['editing']['view']['document'],_0x3ee5eb=new _0x19e872(_0x1a8506,_0x539ba9['map'](_0x4549b1=>this['_getViewObj'](_0x4549b1)));this['editor']['data']['processor']['useFillerType']('marked'),_0x36ea45[_0x4b6bf4]=this['editor']['data']['processor']['toData'](_0x3ee5eb),this['editor']['data']['processor']['useFillerType']('default');}return _0x36ea45;}async['getRevisionRootsAttributes'](_0x1d3699){await this['loadRevisionData'](_0x1d3699);const _0x4dd5ee={};for(const _0x241d91 in _0x1d3699['diffData'])_0x1d3699['diffData'][_0x241d91]['attachChange']&&!_0x1d3699['diffData'][_0x241d91]['attachChange']['isAttached']||(_0x4dd5ee[_0x241d91]=_0x1d3699['diffData'][_0x241d91]['attributesAfter']||{});return _0x4dd5ee;}['_removeRevisionMarkers'](_0x385ff9){return(_0x385ff9=_0x385ff9['filter'](_0x2c7091=>!_0x2c7091['name']||'revision-start'!==_0x2c7091['name']&&'revision-end'!==_0x2c7091['name']))['forEach'](_0x18055a=>{'string'!=typeof _0x18055a&&(_0x18055a['children']=this['_removeRevisionMarkers'](_0x18055a['children']),_0x18055a['attributes']=_0x18055a['attributes']['filter'](_0x18a774=>!_0x18a774[0x0]['startsWith']('data-revision-')));}),_0x385ff9;}async['compare'](_0x7cff9e,_0x2f0fa2,_0x1441d1=!0x1){if(!this['isEnabled'])return;const _0x2780cb=this['diff'],_0x8a4750=this['repository'],_0x107bb4='string'==typeof _0x7cff9e?_0x8a4750['getRevision'](_0x7cff9e):_0x7cff9e,_0x277d49='string'==typeof _0x2f0fa2?_0x8a4750['getRevision'](_0x2f0fa2):_0x2f0fa2,_0x4bab19=_0x107bb4['id'],_0x44d91c=_0x277d49?_0x277d49['id']:null;if(!_0x1441d1&&this['diff']&&this['diff']['newRevisionId']===_0x4bab19&&this['diff']['oldRevisionId']===_0x44d91c)return Promise['resolve']();this['isReady']=!0x1,this['activeView']=null,this['activeChange']=null,this['diff']=new f(_0x4bab19,_0x44d91c);const _0x5a5b94=this['_getRevisionsRange'](_0x107bb4,_0x277d49,!0x0)['map'](_0x3fdaf0=>this['loadRevisionData'](_0x3fdaf0));return _0x5a5b94['push'](new Promise(_0x297810=>{setTimeout(_0x297810,0x14);})),Promise['all'](_0x5a5b94)['then'](()=>{if(!this['isEnabled'])return;this['_cleanUp']();const _0x141d86=this['_getDiff'](_0x4bab19,_0x44d91c);for(const _0x5696d7 of _0x141d86['changes'])this['_changeIdToChange']['set'](_0x5696d7['id'],_0x5696d7);this['editor']['model']['enqueueChange']({'isUndoable':!0x1},_0x5ee641=>{for(const _0x1cb593 of this['editor']['model']['document']['getRootNames']())_0x5ee641['detachRoot'](_0x1cb593);for(const _0x1f5949 of Object['keys'](_0x141d86['model'])){const _0x4b7962=_0x5ee641['addRoot'](_0x1f5949);for(const _0x237ed7 of Object['keys'](_0x141d86['attributes'][_0x1f5949]))_0x5ee641['setAttribute'](_0x237ed7,_0x141d86['attributes'][_0x1f5949][_0x237ed7],_0x4b7962);_0x5ee641['insert'](_0x141d86['model'][_0x1f5949],_0x4b7962,0x0);}}),this['diff']['_setChanges'](this['_sortAndFilterDiffChanges'](_0x141d86['changes'])),this['isReady']=!0x0;})['catch'](_0x2756f0=>{console['error'](_0x2756f0),this['_cleanUp'](),_0x2780cb&&(this['diff']=_0x2780cb),this['isReady']=!0x0;});}['addRevisionData'](_0x2aac00,_0x2ed5f4){const _0x1cfc39=this['repository']['createRevision'](_0x2aac00);return _0x1cfc39['on']('_update',(_0x25d954,_0x4c3121,_0x524faf)=>_0x2ed5f4(_0x4c3121,_0x524faf,_0x1cfc39)),this['repository']['addRevision'](_0x1cfc39),_0x1cfc39;}['loadRevisionData'](_0xf63284){if(!_0xf63284||_0xf63284['diffData'])return Promise['resolve']();{const _0x3f3dba=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0x3f3dba,'revisionId':_0xf63284['id']})['then'](_0x524fa4=>{_0xf63284['_update']({'diffData':_0x524fa4['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},_0x14e489=>{for(const _0x2bc15f of this['editor']['model']['document']['getRootNames']())_0x14e489['detachRoot'](_0x2bc15f);});}['_sortAndFilterDiffChanges'](_0x575f55){const _0xf20a9e=[],_0x2a70e9=new Map();for(const _0x3103ac of this['editor']['model']['document']['getRootNames']()){const _0x221563=this['editor']['editing']['view']['getDomRoot'](_0x3103ac);if(!_0x221563)continue;const _0x2cf874=_0x221563['getClientRects']()['item'](0x0);_0x2cf874&&(_0xf20a9e['push'](_0x3103ac),_0x2a70e9['set'](_0x3103ac,_0x2cf874));}return _0xf20a9e['sort']((_0x4df468,_0x308b2f)=>{const _0x5c202e=_0x2a70e9['get'](_0x4df468),_0x5386bf=_0x2a70e9['get'](_0x308b2f);return _0x5c202e['y']-_0x5386bf['y']||_0x5c202e['x']-_0x5386bf['x'];}),(_0x575f55=_0x575f55['filter'](_0x3993ff=>_0xf20a9e['includes'](_0x3993ff['rootName'])))['sort']((_0x4a7029,_0x221ad8)=>_0xf20a9e['indexOf'](_0x4a7029['rootName'])-_0xf20a9e['indexOf'](_0x221ad8['rootName'])),_0x575f55;}['_makeTape'](_0x5968a2){const _0x23a27a=Array['from'](_0x5968a2['markers'])['filter'](([_0xfc4f88,_0x4e4861])=>_0xfc4f88['startsWith']('revision:')&&!_0x4e4861['isCollapsed']),_0x4b4647=Array['from'](this['editor']['model']['createRangeIn'](_0x5968a2)['getWalker']({'singleCharacters':!0x0}));if(0x0!=_0x23a27a['length'])for(const _0x20ae18 of _0x4b4647){const [_0x26d7d3,_0x59d68b]=_0x23a27a[0x0],[,_0x60dffd,_0x5a5fca]=_0x26d7d3['split'](':');if(_0x59d68b['end']['isEqual'](_0x20ae18['nextPosition'])&&_0x23a27a['shift'](),(_0x20ae18['previousPosition']['isEqual'](_0x59d68b['start'])||_0x20ae18['previousPosition']['isAfter'](_0x59d68b['start']))&&('insertion'==_0x60dffd?_0x20ae18['isAdded']={'userId':_0x5a5fca}:'deletion'==_0x60dffd&&(_0x20ae18['isRemoved']={'userId':_0x5a5fca})),0x0==_0x23a27a['length'])break;}return _0x4b4647;}['_refreshStartEndIndex'](_0xf58998){const _0x5134ec=new Map();for(let _0x3d2b8a=0x0;_0x3d2b8a<_0xf58998['length'];_0x3d2b8a++)'text'===_0xf58998[_0x3d2b8a]['type']?(_0xf58998[_0x3d2b8a]['item']['startIndex']=_0x3d2b8a,_0xf58998[_0x3d2b8a]['item']['endIndex']=_0x3d2b8a):('elementStart'===_0xf58998[_0x3d2b8a]['type']?_0xf58998[_0x3d2b8a]['item']['startIndex']=_0x3d2b8a:'elementEnd'===_0xf58998[_0x3d2b8a]['type']&&(_0xf58998[_0x3d2b8a]['item']['endIndex']=_0x3d2b8a),_0x5134ec['set'](_0xf58998[_0x3d2b8a]['id'],_0x3d2b8a));for(const _0x4bb37d of _0x5134ec['values']())'elementStart'===_0xf58998[_0x4bb37d]['type']?_0xf58998[_0x4bb37d]['item']['endIndex']=_0x5134ec['get'](_0xf58998[_0x4bb37d]['pairId']):'elementEnd'===_0xf58998[_0x4bb37d]['type']&&(_0xf58998[_0x4bb37d]['item']['startIndex']=_0x5134ec['get'](_0xf58998[_0x4bb37d]['pairId']));}['_processTape'](_0x522bec){for(let _0x4c64d1=0x0;_0x4c64d1<_0x522bec['length'];_0x4c64d1++){if('elementStart'===_0x522bec[_0x4c64d1]['type'])_0x522bec[_0x4c64d1]['item']['startIndex']=_0x4c64d1;else{if('elementEnd'===_0x522bec[_0x4c64d1]['type']){_0x522bec[_0x4c64d1]['item']['endIndex']=_0x4c64d1;const _0x20508c=_0x522bec[_0x4c64d1]['item']['startIndex'];_0x522bec[_0x20508c]['pairId']=_0x522bec[_0x4c64d1]['id'],_0x522bec[_0x4c64d1]['pairId']=_0x522bec[_0x20508c]['id'];}else _0x522bec[_0x4c64d1]['item']['startIndex']=_0x4c64d1,_0x522bec[_0x4c64d1]['item']['endIndex']=_0x4c64d1,_0x522bec[_0x4c64d1]['pairId']=null;}_0x522bec[_0x4c64d1]['markersStart']||(_0x522bec[_0x4c64d1]['markersStart']=[],_0x522bec[_0x4c64d1]['markersEnd']=[]);}}['_markInsertions'](_0x356724,_0x33ef7d){const _0x2beaf4=_0x356724['filter'](_0x49199b=>!_0x49199b['isAdded']);for(let _0x1d798b=0x0;_0x1d798b<_0x33ef7d['length'];_0x1d798b++)_0x33ef7d[_0x1d798b]['isAdded']&&(_0x2beaf4[_0x1d798b]['isAdded']=_0x33ef7d[_0x1d798b]['isAdded']);}['_makeModelFromViewString'](_0x21124a){const _0x5970e4=JSON['parse'](_0x21124a),_0x21baf3=this['editor']['editing']['view']['document'],_0x4823d8=new _0x19e872(_0x21baf3,_0x5970e4['map'](_0x2069cf=>this['_getViewObj'](_0x2069cf)));return this['editor']['data']['toModel'](_0x4823d8);}['_getViewObj'](_0x3e3455){const _0x5193fc=this['editor']['editing']['view']['document'];if('string'==typeof _0x3e3455)return new _0x319b0c(_0x5193fc,_0x3e3455);{const _0x4ca75f=_0x3e3455['children']['map'](_0xc6fd3b=>this['_getViewObj'](_0xc6fd3b));return new(tt[_0x3e3455['type']]||_0x3c4bca)(_0x5193fc,_0x3e3455['name'],_0x3e3455['attributes'],_0x4ca75f);}}['_getDiff'](_0x11bb4a,_0x322a39=null){const _0x36d7b0=this['repository']['getRevision'](_0x11bb4a),_0x113c51=_0x322a39?this['repository']['getRevision'](_0x322a39):null,_0x34f382=this['_getRevisionsRange'](_0x36d7b0,_0x113c51),_0x50dc60=_0x34f382[_0x34f382['length']-0x1],_0x5381cd=new Map(),_0x4059da={'model':{},'attributes':{},'changes':[]},_0x288336=new Set(),_0x183511=new Map();for(let _0x4dbef2=_0x34f382['length']-0x1;_0x4dbef2>=0x0;_0x4dbef2--){const _0xff9661=_0x34f382[_0x4dbef2];for(const _0x2d13e6 of Object['keys'](_0xff9661['diffData']))if(_0xff9661['diffData'][_0x2d13e6]['attachChange']){const _0x4a73be=_0xff9661['diffData'][_0x2d13e6]['attachChange'];_0x4a73be['isAttached']?(_0x288336['add'](_0x2d13e6),_0x183511['has'](_0x2d13e6)&&_0x183511['get'](_0x2d13e6)['userId']==_0x4a73be['userId']?_0x183511['delete'](_0x2d13e6):_0x183511['set'](_0x2d13e6,_0x4a73be)):_0x183511['has'](_0x2d13e6)?(_0x288336['delete'](_0x2d13e6),_0x183511['delete'](_0x2d13e6)):(_0x288336['add'](_0x2d13e6),_0x183511['set'](_0x2d13e6,_0x4a73be));}else _0x288336['add'](_0x2d13e6);}for(const _0x1a0206 of _0x288336){const _0x1fc81b=_0x183511['has'](_0x1a0206)&&!_0x183511['get'](_0x1a0206)['isAttached'];let _0x55e21f=_0x1fc81b?_0x34f382['length']-0x1:0x0;const _0x23982c=_0x1fc81b?-0x1:0x1;for(;_0x34f382[_0x55e21f];){const _0x12f012=_0x34f382[_0x55e21f];if(_0x12f012['diffData'][_0x1a0206]){const _0x20d7bd=_0x1fc81b?_0x12f012['diffData'][_0x1a0206]['attributesBefore']:_0x12f012['diffData'][_0x1a0206]['attributesAfter'];_0x4059da['attributes'][_0x1a0206]=_0x20d7bd?_0x2bccda(_0x20d7bd):{};break;}_0x55e21f+=_0x23982c;}}for(const _0x5cb6e5 of _0x34f382){_0x5cb6e5['model']={};for(const _0xf0cc48 of _0x5cb6e5['authors'])_0x5381cd['set'](_0xf0cc48['id'],_0xf0cc48);for(const _0x33dbb5 of _0x288336){const _0xf48691=_0x5cb6e5['diffData'][_0x33dbb5]?_0x5cb6e5['diffData'][_0x33dbb5]['insertions']:'[]',_0x1657cd=_0x5cb6e5['diffData'][_0x33dbb5]?_0x5cb6e5['diffData'][_0x33dbb5]['deletions']:'[]';_0x5cb6e5['model'][_0x33dbb5]={'insertions':this['_makeModelFromViewString'](_0xf48691),'deletions':this['_makeModelFromViewString'](_0x1657cd)};}}for(const _0x53851b of _0x288336){let _0x126370=null,_0x215097=0x0;const _0x178bd6=new Map(Array['from'](_0x36d7b0['model'][_0x53851b]['insertions']['markers'])['filter'](([_0x23fc07])=>!_0x23fc07['startsWith']('revision:')));let _0x11665a=0x0;for(const _0x3efeca of _0x34f382){const _0x517595=this['_makeTape'](_0x3efeca['model'][_0x53851b]['insertions']);_0x3efeca==_0x36d7b0?(_0x126370=_0x517595,_0x215097=_0x126370['length'],_0x126370['forEach'](_0x1f62f8=>{_0x1f62f8['id']=_0x11665a++;}),this['_processTape'](_0x126370)):this['_markInsertions'](_0x126370,_0x517595);const _0x4014f7=_0x126370['filter'](_0x52da0f=>!_0x52da0f['isAdded'])['map'](_0x3e2bce=>_0x3e2bce['id']);let _0x2f6b58=0x0;const _0x2a1b5b=this['_makeTape'](_0x3efeca['model'][_0x53851b]['deletions']);_0x2a1b5b['forEach'](_0x51402e=>{_0x51402e['isRemoved']?_0x51402e['id']=_0x215097++:_0x51402e['id']=_0x4014f7[_0x2f6b58++];}),this['_processTape'](_0x2a1b5b),this['_setDistance'](_0x126370,'isAdded'),this['_setDistance'](_0x2a1b5b,'isRemoved'),_0x3efeca==_0x36d7b0&&this['_markMarkers'](_0x126370,_0x178bd6),_0x126370=this['_joinTapes'](_0x126370,_0x2a1b5b),this['_refreshStartEndIndex'](_0x126370),this['_setDistance'](_0x126370,'isRemoved');}_0x126370=_0x126370['filter'](_0x387058=>!(_0x387058['isAdded']&&_0x387058['isRemoved']));const _0x5145e1=new Map(_0x50dc60['model'][_0x53851b]['deletions']['markers']),_0x35edb6=new Set(_0x178bd6['keys']());for(const _0x571cc0 of _0x5145e1['keys']())_0x35edb6['delete'](_0x571cc0);this['_markSuggestions'](_0x126370,_0x35edb6),this['_fixObsoleteTags'](_0x126370),_0x126370=this['_removeMissingPairs'](_0x126370),_0x126370=this['_markMismatchedRemovedTags'](_0x126370),_0x126370=this['_removeUnsupportedChanges'](_0x126370);const {root:_0x2830fc,changes:_0x10894b}=this['_makeModelFromTape'](_0x126370,_0x5381cd,_0x53851b);_0x4059da['model'][_0x53851b]=_0x2830fc;const _0x3b8188=_0x183511['get'](_0x53851b);if(_0x3b8188){const _0xf0907e=_0x5381cd['get'](_0x3b8188['userId']),_0x14c59f=new r({'author':_0xf0907e,'type':_0x3b8188['isAttached']?'add':'remove','data':{'isOnRoot':!0x0},'createdAt':new Date(),'rootName':_0x53851b});_0x10894b['unshift'](_0x14c59f),_0x4059da['attributes'][_0x53851b]['revisionHistoryAttachChange']=_0x14c59f['id'];}_0x4059da['changes']=_0x4059da['changes']['concat'](_0x10894b);}return _0x4059da;}['_markMarkers'](_0x391157,_0x4d5afa){for(let _0x1b2392=0x0;_0x1b2392<_0x391157['length'];_0x1b2392++)for(const [_0xa01d26,_0x139f2b]of _0x4d5afa)_0x139f2b['start']['isEqual'](_0x391157[_0x1b2392]['previousPosition'])&&_0x391157[_0x1b2392]['markersStart']['push'](_0xa01d26),_0x139f2b['end']['isEqual'](_0x391157[_0x1b2392]['nextPosition'])&&_0x391157[_0x1b2392]['markersEnd']['push'](_0xa01d26);}['_joinTapes'](_0x77d8fe,_0x45c808){let _0x2966eb=[],_0x344aca=0x0,_0x57bd49=0x0;for(;_0x344aca<_0x77d8fe['length']||_0x57bd49<_0x45c808['length'];){const _0x19f14c=_0x77d8fe[_0x344aca]||{},_0x443c87=_0x45c808[_0x57bd49]||{};if(_0x19f14c['id']==_0x443c87['id'])_0x344aca++,_0x57bd49++,_0x2966eb['push'](_0x19f14c);else{if(_0x443c87['isRemoved']&&_0x19f14c['isAdded']){const {commonTape:_0x423e34,iEnd:_0x42e345,jEnd:_0x52d1df}=this['_threeWayMerge'](_0x77d8fe,_0x344aca,_0x45c808,_0x57bd49);_0x2966eb=_0x2966eb['concat'](_0x423e34),_0x344aca=_0x42e345,_0x57bd49=_0x52d1df;}else _0x443c87['isRemoved']?(_0x57bd49++,_0x2966eb['push'](_0x443c87)):(_0x344aca++,_0x2966eb['push'](_0x19f14c));}}return _0x2966eb;}['_markSuggestions'](_0x330467,_0x116dff){const _0x1e237a=[];for(let _0x4af3d1=0x0;_0x4af3d1<_0x330467['length'];_0x4af3d1++){for(let _0x5aafc4=0x0;_0x5aafc4<_0x330467[_0x4af3d1]['markersStart']['length'];_0x5aafc4++){const _0x352e76=_0x330467[_0x4af3d1]['markersStart'][_0x5aafc4];if(!_0x116dff['has'](_0x352e76))continue;const {group:_0x47c9f0,type:_0x11b306,authorId:_0x133df2}=_0x320b0e(_0x352e76);'revision-suggestion'!=_0x47c9f0||'insertion'!=_0x11b306&&'deletion'!=_0x11b306||(_0x1e237a['unshift']({'type':_0x11b306,'name':_0x352e76,'userId':_0x133df2}),_0x330467[_0x4af3d1]['markersStart']['splice'](_0x5aafc4,0x1),_0x5aafc4--);}_0x1d5ce4(_0x330467[_0x4af3d1]);for(let _0x577a32=0x0;_0x577a32<_0x330467[_0x4af3d1]['markersEnd']['length'];_0x577a32++){const _0x4b4cb9=_0x330467[_0x4af3d1]['markersEnd'][_0x577a32];if(!_0x116dff['has'](_0x4b4cb9))continue;const {group:_0x48d29c,type:_0x5d25ca}=_0x320b0e(_0x4b4cb9);if('revision-suggestion'!=_0x48d29c||'insertion'!=_0x5d25ca&&'deletion'!=_0x5d25ca)continue;_0x330467[_0x4af3d1]['markersEnd']['splice'](_0x577a32,0x1),_0x577a32--;const _0x22d8cb=_0x1e237a['findIndex'](_0x3e4558=>_0x3e4558['name']==_0x4b4cb9);_0x22d8cb>-0x1&&_0x1e237a['splice'](_0x22d8cb,0x1);}}function _0x320b0e(_0x146ea9){const _0x1b467e=_0x146ea9['split'](':');return{'group':_0x1b467e[0x0],'type':_0x1b467e[0x1],'subType':_0x1b467e['length']>=0x5?_0x1b467e[0x2]:null,'id':_0x1b467e['length']<0x5?_0x1b467e[0x2]:_0x1b467e[0x3],'authorId':_0x1b467e['length']<0x5?_0x1b467e[0x3]:_0x1b467e[0x4],'markerCount':0x6==_0x1b467e['length']?_0x1b467e[0x5]:null};}function _0x1d5ce4(_0x48eebf){for(let _0x46a2a2=0x0;_0x46a2a2<_0x1e237a['length'];_0x46a2a2++){if(_0x48eebf['isAdded']&&'insertion'==_0x1e237a[_0x46a2a2]['type'])return _0x48eebf['isAddSuggestion']=_0x1e237a[_0x46a2a2],void delete _0x48eebf['isAdded'];if(!_0x48eebf['isAdded']&&!_0x48eebf['isRemoved']&&'deletion'==_0x1e237a[_0x46a2a2]['type'])return void(_0x48eebf['isRemoveSuggestion']=_0x1e237a[_0x46a2a2]);}}}['_setDistance'](_0x495665,_0x1c1984){let _0x68088d=0x0,_0x1ec2cb=!0x1;const _0x38764=new Map();for(const _0xc0ea44 of _0x495665)_0xc0ea44[_0x1c1984]?_0x1ec2cb&&(_0x68088d++,_0x1ec2cb=!0x1):(_0x68088d++,_0x1ec2cb=!0x0),_0x38764['set'](_0xc0ea44['id'],_0x68088d);for(let _0x1be0b8=0x0;_0x1be0b8<_0x495665['length'];_0x1be0b8++){if('isRemoved'==_0x1c1984&&_0x495665[_0x1be0b8]['isAdded']||'isAdded'==_0x1c1984&&_0x495665[_0x1be0b8]['isRemoved'])continue;if('text'==_0x495665[_0x1be0b8]['type']){_0x495665[_0x1be0b8]['distance']=0x0;continue;}const _0x3a8c94=_0x38764['get'](_0x495665[_0x1be0b8]['pairId']),_0x295b9b=_0x38764['get'](_0x495665[_0x1be0b8]['id']);_0x495665[_0x1be0b8]['distance']=_0x3a8c94-_0x295b9b;}}['_getRevisionsRange'](_0x26664e,_0x30c46c,_0x5ac6aa=!0x1){const _0x251a45=[];let _0xcb0101=this['repository']['getIndex'](_0x26664e),_0x2f9467=this['repository']['getIndex'](_0x30c46c);for(-0x1==_0x2f9467&&(_0x2f9467=this['repository']['_revisions']['length'],_0x5ac6aa=!0x1);_0xcb0101<_0x2f9467;)_0x251a45['push'](this['repository']['getRevision'](_0xcb0101)),_0xcb0101++;return _0x5ac6aa&&_0x251a45['push'](this['repository']['getRevision'](_0xcb0101)),_0x251a45;}['_threeWayMerge'](_0x7bc1c,_0x32adb5,_0x52552f,_0xb45f1f){const _0x231b54=this['editor']['model']['schema'];let _0x418a73=_0x32adb5;for(;_0x7bc1c[_0x418a73]&&_0x7bc1c[_0x418a73]['isAdded'];)_0x418a73++;let _0x2fb27e=_0xb45f1f;for(;_0x52552f[_0x2fb27e]&&_0x52552f[_0x2fb27e]['isRemoved'];)_0x2fb27e++;_0x4af473(_0x7bc1c,_0x32adb5,_0x418a73),_0x4af473(_0x52552f,_0xb45f1f,_0x2fb27e);const _0x4364fa=_0x52552f['slice'](_0xb45f1f,_0x2fb27e)['concat'](_0x7bc1c['slice'](_0x32adb5,_0x418a73));return _0x4364fa['sort']((_0x466e81,_0xe41c6b)=>_0x466e81['side']!=_0xe41c6b['side']?_0x466e81['side']-_0xe41c6b['side']:_0x466e81['level']!=_0xe41c6b['level']?_0x466e81['level']-_0xe41c6b['level']:_0x466e81['distance']!=_0xe41c6b['distance']?_0xe41c6b['distance']-_0x466e81['distance']:!!_0x466e81['isAdded']!=!!_0xe41c6b['isAdded']?-0x1==_0x466e81['side']||0x0==_0x466e81['side']?_0x466e81['isAdded']?-0x1:0x1:_0x466e81['isAdded']?0x1:-0x1:_0x466e81['index']-_0xe41c6b['index']),{'commonTape':_0x4364fa,'iEnd':_0x418a73,'jEnd':_0x2fb27e};function _0x4af473(_0x3bc52f,_0x40d836,_0xdf9d2){let _0x27932d=-0x1,_0x4977f7=Number['POSITIVE_INFINITY'],_0x2fca3a=!0x0;for(let _0x2106b7=_0x40d836;_0x2106b7<_0xdf9d2;_0x2106b7++)if(_0x231b54['isInline'](_0x3bc52f[_0x2106b7]['item'])||(_0x2fca3a=!0x1),_0x3bc52f[_0x2106b7]['item']['startIndex']<_0x40d836&&(_0x27932d=_0x2106b7),_0x3bc52f[_0x2106b7]['item']['endIndex']>=_0xdf9d2){_0x4977f7=_0x2106b7;break;}_0x2fca3a&&(_0x27932d=_0xdf9d2-0x1);for(let _0x1e3d7b=_0x40d836;_0x1e3d7b<_0xdf9d2;_0x1e3d7b++)_0x3bc52f[_0x1e3d7b]['side']=_0x1e3d7b<=_0x27932d?-0x1:_0x1e3d7b<_0x4977f7?0x0:0x1,_0x3bc52f[_0x1e3d7b]['index']=_0x1e3d7b;let _0x9f022e=0x0;for(let _0x162384=_0x40d836;_0x162384<=_0x27932d;_0x162384++)0x0==_0x3bc52f[_0x162384]['distance']?_0x3bc52f[_0x162384]['level']=_0x9f022e:(_0x9f022e++,_0x3bc52f[_0x162384]['level']=_0x9f022e,_0x9f022e++);for(let _0x9e0386=_0x40d836;_0x9e0386<_0xdf9d2;_0x9e0386++)0x0==_0x3bc52f[_0x9e0386]['side']&&(_0x3bc52f[_0x9e0386]['level']=_0x9f022e);_0x9f022e=0x0;for(let _0x128d3a=_0xdf9d2-0x1;_0x128d3a>=_0x4977f7;_0x128d3a--)0x0==_0x3bc52f[_0x128d3a]['distance']?_0x3bc52f[_0x128d3a]['level']=_0x9f022e:(_0x9f022e--,_0x3bc52f[_0x128d3a]['level']=_0x9f022e,_0x9f022e--);}}['_fixObsoleteTags'](_0x41b999){const _0x12d457=new Map(),_0x3a3836=this['editor']['model']['schema'];for(let _0x155b31=0x1;_0x155b31<_0x41b999['length'];_0x155b31++){let _0x3d5038,_0x1f81ac,_0x782763;const _0x5b6e8e=_0x41b999[_0x155b31],_0x5c8f13=_0x41b999[_0x155b31-0x1];if('text'==_0x5b6e8e['type'])continue;if(_0x5b6e8e['type']!=_0x5c8f13['type'])continue;if(!_0x3a3836['isBlock'](_0x5c8f13['item'])||_0x3a3836['isLimit'](_0x5c8f13['item']))continue;if(!_0x3a3836['isBlock'](_0x5b6e8e['item'])||_0x3a3836['isLimit'](_0x5b6e8e['item']))continue;if((_0x41b999[_0x155b31]['isAdded']||_0x41b999[_0x155b31]['isAddSuggestion'])&&_0x41b999[_0x155b31-0x1]['isRemoved'])_0x3d5038=_0x41b999[_0x155b31],_0x1f81ac=_0x41b999[_0x155b31-0x1],_0x782763=_0x155b31-0x1;else{if(!_0x41b999[_0x155b31]['isRemoved']||!_0x41b999[_0x155b31-0x1]['isAdded']&&!_0x41b999[_0x155b31-0x1]['isAddSuggestion'])continue;_0x3d5038=_0x41b999[_0x155b31-0x1],_0x1f81ac=_0x41b999[_0x155b31],_0x782763=_0x155b31;}const _0x32e4a1=_0x3d5038['level']==_0x1f81ac['level'],_0x662fc7=Math['abs'](_0x3d5038['level'])<Math['abs'](_0x1f81ac['level'])&&0x0==_0x1f81ac['distance'];(_0x32e4a1||_0x662fc7)&&(_0x12d457['set'](_0x1f81ac['id'],_0x3d5038['id']),_0x41b999['splice'](_0x782763,0x1),_0x155b31--,_0x3d5038['isAdded']=!0x1);}for(let _0x36f749=0x0;_0x36f749<_0x41b999['length'];_0x36f749++)_0x12d457['has'](_0x41b999[_0x36f749]['pairId'])&&(_0x41b999[_0x36f749]['pairId']=_0x12d457['get'](_0x41b999[_0x36f749]['pairId']));}['_removeMissingPairs'](_0x36a958){const _0x1538dd=new Set(_0x36a958['map'](_0x1e22c5=>_0x1e22c5['id']));for(let _0x13918a=0x0;_0x13918a<_0x36a958['length'];_0x13918a++)_0x1538dd['has'](_0x36a958[_0x13918a]['pairId'])||0x0==_0x36a958[_0x13918a]['distance']||(_0x36a958[_0x13918a]['isIncorrect']=!0x0);return _0x36a958['filter'](_0xeb6996=>!_0xeb6996['isIncorrect']);}['_markMismatchedRemovedTags'](_0x1a5611){const _0x50964e=new Set();for(let _0x128175=0x0;_0x128175<_0x1a5611['length'];_0x128175++){if(_0x50964e['has'](_0x1a5611[_0x128175]['id'])&&_0x1a5611[_0x128175]['isRemoved']&&(_0x1a5611[_0x128175]['isIncorrect']=!0x0),_0x1a5611[_0x128175]['isIncorrect'])continue;if(0x0==_0x1a5611[_0x128175]['distance'])continue;if('elementStart'!=_0x1a5611[_0x128175]['type'])continue;if(null==_0x1a5611[_0x128175]['pairId'])continue;let _0x598144=_0x128175+0x1,_0x2c1555=0x0;for(;_0x1a5611[_0x598144]['id']!=_0x1a5611[_0x128175]['pairId'];)'elementStart'==_0x1a5611[_0x598144]['type']?_0x2c1555++:'elementEnd'==_0x1a5611[_0x598144]['type']&&_0x2c1555--,_0x598144++;if(0x0!=_0x2c1555){if(_0x1a5611[_0x128175]['isRemoved'])_0x1a5611[_0x128175]['isIncorrect']=!0x0;else{for(;_0x598144!=_0x128175;)_0x1a5611[_0x598144]['isRemoved']&&0x0!=_0x1a5611[_0x598144]['distance']&&(_0x1a5611[_0x598144]['isIncorrect']=!0x0,_0x50964e['add'](_0x1a5611[_0x598144]['pairId'])),_0x598144--;}}}return _0x1a5611['filter'](_0xb0757c=>!_0xb0757c['isIncorrect']);}['_removeUnsupportedChanges'](_0x1dcca8){const _0x3a6b7d=this['editor']['model']['schema'];for(let _0x293611=0x0;_0x293611<_0x1dcca8['length'];_0x293611++){if(!(_0x1dcca8[_0x293611]['isAdded']||_0x1dcca8[_0x293611]['isAddSuggestion']||_0x1dcca8[_0x293611]['isRemoved']||_0x1dcca8[_0x293611]['isRemoveSuggestion']))continue;if(0x0==_0x1dcca8[_0x293611]['distance'])continue;const _0x2fff12=_0x1dcca8[_0x293611]['item'];_0x3a6b7d['isBlock'](_0x2fff12)||_0x3a6b7d['isLimit'](_0x2fff12)||(_0x1dcca8[_0x293611]['isAdded']&&delete _0x1dcca8[_0x293611]['isAdded'],_0x1dcca8[_0x293611]['isAddSuggestion']&&delete _0x1dcca8[_0x293611]['isAddSuggestion'],_0x1dcca8[_0x293611]['isRemoveSuggestion']&&delete _0x1dcca8[_0x293611]['isRemoveSuggestion'],_0x1dcca8[_0x293611]['isRemoved']&&(_0x1dcca8[_0x293611]['isIncorrect']=!0x0));}return _0x1dcca8['filter'](_0x468385=>!_0x468385['isIncorrect']);}['_makeModelFromTape'](_0x4eded3,_0x48f6ae,_0x448b37){const _0x21388b=new wt(),_0x2c6a53=[],_0xf285e0=new Map(),_0x3e2495=this['editor']['model'],_0x47daed=_0x3e2495['schema'],_0x5a0af8=[_0x21388b],_0x134ce1={},_0x2c2c21={'isAdded':[],'isRemoved':[],'isAddSuggestion':[],'isRemoveSuggestion':[]};let _0x5ca5c1=null;const _0x3f0ec7=[0x0];for(let _0x4668fd=0x0;_0x4668fd<_0x4eded3['length'];_0x4668fd++){let _0x48856b,_0x382e0c;if('elementStart'===_0x4eded3[_0x4668fd]['type']){_0x48856b=_0x3e2495['createPositionFromPath'](_0x21388b,_0x3f0ec7);const _0x2a5088=new ft(_0x4eded3[_0x4668fd]['item']['name'],_0x4eded3[_0x4668fd]['item']['getAttributes']());_0x5a0af8[0x0]['_appendChild'](_0x2a5088),_0x3f0ec7['push'](0x0),_0x5a0af8['unshift'](_0x2a5088),_0x382e0c=_0x3e2495['createPositionFromPath'](_0x21388b,_0x3f0ec7),_0x5ca5c1=null;}else{if('elementEnd'===_0x4eded3[_0x4668fd]['type'])_0x5a0af8['shift'](),_0x48856b=_0x3e2495['createPositionFromPath'](_0x21388b,_0x3f0ec7),_0x3f0ec7['pop'](),_0x3f0ec7[_0x3f0ec7['length']-0x1]++,_0x382e0c=_0x3e2495['createPositionFromPath'](_0x21388b,_0x3f0ec7),_0x5ca5c1=null;else{if(_0x48856b=_0x3e2495['createPositionFromPath'](_0x21388b,_0x3f0ec7),_0x5ca5c1&&_0x2582b3(_0x5ca5c1,_0x4eded3[_0x4668fd]['item']))_0x5ca5c1['_data']+=_0x4eded3[_0x4668fd]['item']['data'];else{const _0x16cf1b=new _t(_0x4eded3[_0x4668fd]['item']['data'],_0x4eded3[_0x4668fd]['item']['getAttributes']());_0x5a0af8[0x0]['_appendChild'](_0x16cf1b),_0x5ca5c1=_0x16cf1b;}_0x3f0ec7[_0x3f0ec7['length']-0x1]+=_0x4eded3[_0x4668fd]['item']['offsetSize'],_0x382e0c=_0x3e2495['createPositionFromPath'](_0x21388b,_0x3f0ec7);}}for(const _0x5cb756 of _0x4eded3[_0x4668fd]['markersStart'])_0xf285e0['set'](_0x5cb756,{'start':_0x48856b,'end':null});_0x493037('isRemoveSuggestion',_0x4668fd,_0x48856b,_0x382e0c),_0x493037('isAddSuggestion',_0x4668fd,_0x48856b,_0x382e0c),_0x493037('isRemoved',_0x4668fd,_0x48856b,_0x382e0c),_0x493037('isAdded',_0x4668fd,_0x48856b,_0x382e0c);for(const _0x3d13fb of _0x4eded3[_0x4668fd]['markersEnd']){_0xf285e0['get'](_0x3d13fb)['end']=_0x382e0c;}}for(const [_0x39b955,_0x46ed14]of _0xf285e0){const _0x1a015e=this['editor']['model']['createRange'](_0x46ed14['start'],_0x46ed14['end']);_0x21388b['markers']['set'](_0x39b955,_0x1a015e);}return _0x2c6a53['sort']((_0x46a16b,_0x383bad)=>{const _0x46082b=_0x21388b['markers']['get']('revision:'+_0x46a16b['id']),_0x193c80=_0x21388b['markers']['get']('revision:'+_0x383bad['id']);return _0x46082b['start']['isBefore'](_0x193c80['start'])?-0x1:_0x46082b['start']['isAfter'](_0x193c80['start'])?0x1:_0x46082b['end']['isBefore'](_0x193c80['end'])?-0x1:_0x46082b['end']['isAfter'](_0x193c80['end'])?0x1:'add'===_0x46a16b['type']?-0x1:0x1;}),{'root':_0x21388b,'changes':_0x2c6a53};function _0x493037(_0x286c72,_0x235d71,_0x4ca6b4,_0x47c11f){const _0x4649d0=!!_0x4eded3[_0x235d71][_0x286c72],_0x34bffb=_0x4649d0?_0x4eded3[_0x235d71][_0x286c72]['userId']:null,_0x3e1539=_0x235d71===_0x4eded3['length']-0x1,_0x2896f5=_0x2c2c21[_0x286c72][0x0],_0x1a979a=_0x47daed['isObject'](_0x4eded3[_0x235d71]['item']);!_0x134ce1[_0x286c72]&&_0x4649d0?_0x134ce1[_0x286c72]={'start':_0x4ca6b4,'tapeItem':_0x4eded3[_0x235d71],'userId':_0x34bffb,'type':_0x286c72}:_0x134ce1[_0x286c72]&&!_0x4649d0?(_0x134ce1[_0x286c72]['end']=_0x4ca6b4,_0x5943b2(_0x134ce1[_0x286c72]),_0x134ce1[_0x286c72]=null):_0x134ce1[_0x286c72]&&_0x4649d0&&_0x134ce1[_0x286c72]['userId']!==_0x34bffb&&(_0x134ce1[_0x286c72]['end']=_0x4ca6b4,_0x2896f5&&_0x2896f5['userId']===_0x134ce1[_0x286c72]['userId']||_0x5943b2(_0x134ce1[_0x286c72]),_0x134ce1[_0x286c72]={'start':_0x4ca6b4,'tapeItem':_0x4eded3[_0x235d71],'userId':_0x34bffb,'type':_0x286c72}),_0x134ce1[_0x286c72]&&_0x1a979a&&('elementStart'!==_0x4eded3[_0x235d71]['type']||_0x2896f5&&_0x2896f5['userId']===_0x34bffb||_0x2c2c21[_0x286c72]['unshift']({'userId':_0x34bffb,'object':_0x4eded3[_0x235d71]['item'],'change':_0x134ce1[_0x286c72]}),'elementEnd'===_0x4eded3[_0x235d71]['type']&&_0x2896f5&&_0x2896f5['object']===_0x4eded3[_0x235d71]['item']&&(_0x2c2c21[_0x286c72]['shift'](),_0x134ce1[_0x286c72]=_0x2896f5['change'])),_0x134ce1[_0x286c72]&&_0x3e1539&&(_0x134ce1[_0x286c72]['end']=_0x47c11f,_0x5943b2(_0x134ce1[_0x286c72]),_0x134ce1[_0x286c72]=null);}function _0x5943b2({start:_0x2355bd,end:_0x35df88,tapeItem:_0x4a7d3a,userId:_0x1a7e89,type:_0x90771c}){const _0x4b02fc=_0x4a7d3a['item'],_0x485101=_0x3e2495['schema']['isBlock'](_0x4b02fc)&&!_0x3e2495['schema']['isLimit'](_0x4b02fc),_0x2bd272=_0x2355bd['nodeAfter']==_0x35df88['parent']&&_0x35df88['isAtStart'];if(_0x485101&&_0x2bd272)return;const _0x5e86ce=_0x3e2495['createRange'](_0x2355bd,_0x35df88),_0x538ea4=_0x48f6ae['get'](_0x1a7e89),_0x3af0e3=new r({'author':_0x538ea4,'type':'isAdded'==_0x90771c||'isAddSuggestion'==_0x90771c?'add':'remove','data':{'isSuggestion':'isAddSuggestion'==_0x90771c||'isRemoveSuggestion'==_0x90771c},'createdAt':new Date(),'rootName':_0x448b37});_0x2c6a53['push'](_0x3af0e3),_0x21388b['markers']['set']('revision:'+_0x3af0e3['id'],_0x5e86ce);}function _0x2582b3(_0x20c8f3,_0x2439f2){const _0x5e2434=_0x20c8f3['getAttributes'](),_0x3e8ebd=_0x2439f2['getAttributes']();for(const _0x445bfe of _0x5e2434){if(_0x445bfe[0x1]!==_0x2439f2['getAttribute'](_0x445bfe[0x0]))return!0x1;_0x3e8ebd['next']();}return _0x3e8ebd['next']()['done'];}}['_setConversion'](){this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'revision'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision','view':_0xc9b3ff=>{const _0x44f898=_0xc9b3ff['markerName']['split'](':')[0x1],_0x282978=this['_getChangeFromId'](_0x44f898);if(!_0x282978)return null;const _0x3905ba='add'==_0x282978['type']?'insertion':'deletion',_0x3df67f=['ck-suggestion-marker','ck-suggestion-marker-'+_0x3905ba];return _0x282978['data']['isSuggestion']&&_0x3df67f['push']('ck-suggestion-marker-'+_0x3905ba+'-new'),this['activeChange']==_0x282978&&_0x3df67f['push']('ck-suggestion-marker--active'),{'classes':_0x3df67f,'attributes':{'data-change-id':_0x44f898}};}}),this['editor']['conversion']['for']('upcast')['add'](_0x3d75ee=>{_0x3d75ee['on']('element:pre',(_0x409783,_0x1f2ac4,_0x30d9de)=>{const _0x2eaa64=_0x1f2ac4['viewItem']['getChild'](0x0);if(!_0x2eaa64||!_0x2eaa64['is']('element','code'))return;if(!_0x30d9de['consumable']['consume'](_0x2eaa64,{'attributes':['vid_start','vid_end']}))return;const _0x4b5dde=_0x1f2ac4['modelRange']['start']['nodeAfter'];_0x30d9de['writer']['setAttribute']('vid_start',_0x2eaa64['getAttribute']('vid_start'),_0x4b5dde),_0x30d9de['writer']['setAttribute']('vid_end',_0x2eaa64['getAttribute']('vid_end'),_0x4b5dde);},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['add'](_0x5253f4=>{_0x5253f4['on']('element',(_0x32ff99,_0x1f1da4,_0x4cd07e)=>{if(!_0x4cd07e['consumable']['consume'](_0x1f1da4['viewItem'],{'attributes':['vid_start','vid_end']}))return;if(_0x1f1da4['modelRange']['isCollapsed'])return;const _0x45f79d=_0x1f1da4['modelRange']['start']['nodeAfter'];_0x45f79d['hasAttribute']('vid_start')||_0x45f79d['hasAttribute']('vid')||(_0x4cd07e['writer']['setAttribute']('vid_start',_0x1f1da4['viewItem']['getAttribute']('vid_start'),_0x45f79d),_0x4cd07e['writer']['setAttribute']('vid_end',_0x1f1da4['viewItem']['getAttribute']('vid_end'),_0x45f79d));},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['elementToAttribute']({'view':{'name':'span','attributes':{'vid':!0x0}},'model':{'key':'vid','value':_0x172234=>_0x172234['getAttribute']('vid')}}),this['editor']['model']['schema']['on']('checkAttribute',(_0x414e3b,[,_0x7a13ac])=>{['vid_start','vid_end','vid']['includes'](_0x7a13ac)&&(_0x414e3b['return']=!0x0,_0x414e3b['stop']());},{'priority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['add'](_0x3f9150=>{_0x3f9150['on']('attribute:vid',(_0x3a6213,_0x1c89df,_0x512d6a)=>{if('\x20'!=_0x1c89df['item']['data']||_0x1c89df['item']['parent']['maxOffset']>0x1)return;if(!_0x512d6a['consumable']['consume'](_0x1c89df['item'],_0x3a6213['name']))return;const _0x3e8911=_0x512d6a['writer'],_0x1bc28e=_0x512d6a['mapper']['toViewRange'](_0x1c89df['range']);_0x3e8911['wrap'](_0x1bc28e,_0x3e8911['createAttributeElement']('span'));});}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',function(_0x119ecd){const _0x2e95be=_0x119ecd['plugins']['get']('RevisionViewer');return(_0x1b6519,_0x4949b3,_0x185aff)=>{const _0x22d0b7=_0x4949b3['markerName']['split'](':')[0x1],_0xc97725=_0x2e95be['_getChangeFromId'](_0x22d0b7);if(!_0xc97725)return null;const _0x889b22='add'==_0xc97725['type']?'split':'merge';if(!_0x185aff['consumable']['test'](_0x4949b3['markerRange'],_0x1b6519['name']))return;const _0x3419a6=_0x4949b3['markerRange']['getWalker'](),_0x3a02a8=_0x4949b3['markerRange']['start'],_0x4b2f62=_0x119ecd['model']['schema'];let _0x97b7f8=null,_0x2d7461=null,_0x5b20d4=!0x1,_0x4a1077=!0x1;for(const _0x34376d of _0x3419a6){const _0x51c4d2=_0x34376d['item'];_0x5b20d4=_0x5b20d4||_0x4b2f62['isContent'](_0x51c4d2);const _0x4caa57=_0x185aff['mapper']['toViewElement'](_0x51c4d2);if(_0x4caa57&&_0x4caa57['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x34376d['type']&&(_0x4b2f62['isBlock'](_0x51c4d2)&&!_0x4b2f62['isLimit'](_0x51c4d2)&&(_0x51c4d2['nextSibling']||_0x3a02a8['isAtEnd']?_0x97b7f8&&_0x97b7f8['parent']==_0x51c4d2||(_0x97b7f8=_0x51c4d2,_0x15f946(_0x34376d['previousPosition']),_0x4a1077=!0x0):_0x2d7461=_0x2d7461||_0x34376d['previousPosition']));}function _0x15f946(_0x24bda4){const _0x44dfe4=_0x185aff['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x889b22}),_0x14a5a5=_0x185aff['mapper']['toViewPosition'](_0x24bda4);_0xc97725['data']['isSuggestion']&&_0x185aff['writer']['addClass']('ck-suggestion-marker-'+_0x889b22+'-new',_0x44dfe4),_0x2e95be['activeChange']==_0xc97725&&_0x185aff['writer']['addClass']('ck-suggestion-marker--active',_0x44dfe4),_0x185aff['writer']['insert'](_0x14a5a5,_0x44dfe4),_0x185aff['mapper']['bindElementToMarker'](_0x44dfe4,_0x4949b3['markerName']);}_0x5b20d4||_0x4a1077||!_0x2d7461||_0x15f946(_0x2d7461);};}(this['editor']),{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('removeMarker:revision',(_0x5db14d,_0x599ac4,_0x127c04)=>{const _0x132bd3=_0x127c04['mapper']['markerNameToElements'](_0x599ac4['markerName']);if(_0x132bd3){for(const _0x2103c2 of _0x132bd3)(_0x2103c2['hasClass']('ck-suggestion-marker-split')||_0x2103c2['hasClass']('ck-suggestion-marker-merge'))&&(_0x127c04['mapper']['unbindElementFromMarkerName'](_0x2103c2,_0x599ac4['markerName']),_0x127c04['writer']['remove'](_0x2103c2));}},{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',(_0x3da570,_0x5bbcbd,_0x4dfc29)=>{const _0x3498c8=_0x5bbcbd['markerName']['split'](':')[0x1],_0x450546=this['_getChangeFromId'](_0x3498c8);if(!_0x450546)return null;const _0x48c0ad='add'==_0x450546['type']?'split':'merge';if(_0x4dfc29['consumable']['test'](_0x5bbcbd['markerRange'],_0x3da570['name']))for(const _0xbf8fd3 of _0x5bbcbd['markerRange']['getItems']()){if(!_0xbf8fd3['is']('element','softBreak'))continue;const _0x26d6d0=_0x4dfc29['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x48c0ad}),_0x463afe=_0x4dfc29['mapper']['toViewPosition'](this['editor']['model']['createPositionBefore'](_0xbf8fd3));_0x450546['data']['isSuggestion']&&_0x4dfc29['writer']['addClass']('ck-suggestion-marker-'+_0x48c0ad+'-new',_0x26d6d0),this['activeChange']==_0x450546&&_0x4dfc29['writer']['addClass']('ck-suggestion-marker--active',_0x26d6d0),_0x4dfc29['writer']['insert'](_0x463afe,_0x26d6d0),_0x4dfc29['mapper']['bindElementToMarker'](_0x26d6d0,_0x5bbcbd['markerName']);}},{'priority':'high'}),this['editor']['model']['document']['on']('change',()=>{this['editor']['editing']['view']['change'](_0x3317ad=>{for(const _0x5d6e63 of this['editor']['model']['document']['getRootNames']()){const _0x4117f1=this['editor']['model']['document']['getRoot'](_0x5d6e63),_0x3f3c0d=this['editor']['editing']['view']['document']['getRoot'](_0x5d6e63);if(_0x3f3c0d){const _0xfd11ec=_0x4117f1['getAttribute']('revisionHistoryAttachChange');if(_0x3317ad['removeAttribute']('data-change-id',_0x3f3c0d),_0x3317ad['removeClass']('ck-revision-history-root-add',_0x3f3c0d),_0x3317ad['removeClass']('ck-revision-history-root-remove',_0x3f3c0d),_0x3317ad['removeClass']('ck-revision-history-root--active',_0x3f3c0d),_0xfd11ec){const _0x25f093=this['_getChangeFromId'](_0xfd11ec);if(!_0x25f093)return null;_0x3317ad['setAttribute']('data-change-id',_0xfd11ec,_0x3f3c0d),_0x3317ad['addClass']('ck-revision-history-root-'+_0x25f093['type'],_0x3f3c0d),this['activeChange']==_0x25f093&&_0x3317ad['addClass']('ck-revision-history-root--active',_0x3f3c0d);}}}});}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'comment','model':_0x48965b=>'revision-comment:'+_0x48965b,'converterPriority':'highest'}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'suggestion','model':_0x5be257=>'revision-suggestion:'+_0x5be257,'converterPriority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision-suggestion','view':_0x2fa3e6=>({'name':'suggestion:'+_0x2fa3e6,'group':'revision-suggestion'}),'converterPriority':'highest'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision-suggestion','view':_0x143ac6=>{const _0x192ec7=_0x143ac6['markerName']['split'](':')[0x1];return'insertion'!=_0x192ec7&&'deletion'!=_0x192ec7?null:{'classes':['ck-suggestion-preview-marker','ck-suggestion-preview-marker-'+_0x192ec7]};}}),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',(_0x16b534,_0x40a230,_0x4a7a75)=>{const _0x2bf789=_0x4a7a75['mapper']['markerNameToElements'](_0x40a230['markerName']);if(_0x2bf789){for(const _0x48dad4 of _0x2bf789)_0x48dad4['is']('uiElement')&&(_0x4a7a75['mapper']['unbindElementFromMarkerName'](_0x48dad4,_0x40a230['markerName']),_0x4a7a75['writer']['remove'](_0x48dad4));}},{'priority':'high'});}['_getChangeFromId'](_0x39ae77){return this['_changeIdToChange']['get'](_0x39ae77);}['_getViewForChange'](_0x2805af){return this['_changeView']&&this['_changeView']['destroy'](),this['_changeView']=new Z(this['editor']['locale'],_0x2805af),this['_changeView'];}['_initInteractions'](){this['editor']['model']['document']['selection']['observeMarkers']('revision'),this['on']('change:activeView',(_0x443d58,_0x171c55,_0x756904,_0x27eaf1)=>{_0x27eaf1&&this['_balloon']['remove'](_0x27eaf1),_0x756904&&(this['_balloon']['add']({'view':_0x756904,'stackId':'revisionHistoryLabel','position':{'target':()=>{const _0x2482a3=this['editor']['editing'],_0x5d5b0f=this['_getChangeFromId'](_0x756904['changeId']);let _0x17c5a3;if(_0x5d5b0f['data']['isOnRoot']){const _0x3b4c80=_0x2482a3['view']['getDomRoot'](_0x5d5b0f['rootName']);_0x17c5a3=Array['from'](_0x3b4c80['getClientRects']());}else{const _0x3fca62=this['editor']['model']['markers']['get']('revision:'+_0x756904['changeId']);_0x17c5a3=Array['from'](_0x2482a3['mapper']['markerNameToElements'](_0x3fca62['name']))['map'](_0x4c8f40=>_0x2482a3['view']['domConverter']['mapViewToDom'](_0x4c8f40))['map'](_0x512e51=>Array['from'](_0x512e51['getClientRects']()))['flat']();}if(!this['_activeViewTarget'])return _0x17c5a3[0x0];return _0x17c5a3['find'](_0x451419=>_0x451419['top']-0x3<=this['_activeViewTarget']['y']&&_0x451419['bottom']+0x3>=this['_activeViewTarget']['y']&&_0x451419['left']-0x3<=this['_activeViewTarget']['x']&&_0x451419['right']+0x3>=this['_activeViewTarget']['x'])||_0x17c5a3[0x0];}}}),this['_balloon']['showStack']('revisionHistoryLabel'));}),this['on']('change:activeChange',(_0x377346,_0xd88800,_0x2f58e6,_0xe80d70)=>{this['activeView']=_0x2f58e6?this['_getViewForChange'](_0x2f58e6):null,this['editor']['model']['change'](()=>{const _0x3e1d75=this['editor']['editing'];_0xe80d70&&(_0xe80d70['data']['isOnRoot']?_0x3e1d75['view']['change'](_0x47b301=>{_0x47b301['removeClass']('ck-revision-history-root--active',_0x3e1d75['view']['document']['getRoot'](_0xe80d70['rootName']));}):_0x3e1d75['reconvertMarker']('revision:'+_0xe80d70['id'])),_0x2f58e6&&(_0x2f58e6['data']['isOnRoot']?_0x3e1d75['view']['change'](_0x3fbf86=>{_0x3fbf86['addClass']('ck-revision-history-root--active',_0x3e1d75['view']['document']['getRoot'](_0x2f58e6['rootName']));}):_0x3e1d75['reconvertMarker']('revision:'+_0x2f58e6['id']));});}),this['listenTo'](this['editor']['editing']['view']['document'],'mouseover',(_0x1fbbb7,_0x4e6325)=>{if(this['activeChange'])return;const _0x266cd9=this['_findChangeIdFromDomTarget'](_0x4e6325['target']),_0x9b63e8=this['_changeIdToChange']['get'](_0x266cd9);_0x9b63e8?(this['_activeViewTarget']={'x':_0x4e6325['domEvent']['x'],'y':_0x4e6325['domEvent']['y']},this['activeView']=this['_getViewForChange'](_0x9b63e8)):(this['_activeViewTarget']=null,this['activeView']=null);}),this['listenTo'](this['editor']['editing']['view']['document'],'mousedown',(_0x255ab7,_0x576837)=>{const _0x165e58=this['_findChangeIdFromDomTarget'](_0x576837['target']),_0x5d9398=this['_changeIdToChange']['get'](_0x165e58);_0x5d9398?(this['_activeViewTarget']={'x':_0x576837['domEvent']['x'],'y':_0x576837['domEvent']['y']},_0x5d9398===this['activeChange']?this['_balloon']['updatePosition']():this['activeChange']=_0x5d9398):(this['_activeViewTarget']=null,this['activeChange']=null);});}['_findChangeIdFromDomTarget'](_0x4fc480){do{const _0xff5df7=_0x4fc480['getAttribute']('data-change-id');if(_0xff5df7)return _0xff5df7;_0x4fc480=_0x4fc480['parent'];}while(_0x4fc480);return null;}['_cleanMarkers'](){this['editor']['model']['change'](_0x3581b6=>{for(const _0x5c30e1 of this['editor']['model']['markers'])_0x3581b6['removeMarker'](_0x5c30e1);});}}function et(_0x2c00d0,_0x3b0836){return(_0x368b79,_0x6cdcc2,_0xeab515)=>{if(!_0xeab515['consumable']['test'](_0x6cdcc2['markerRange'],_0x368b79['name']))return;const _0x555de9=_0x6cdcc2['markerRange']['getWalker'](),_0x2b6641=_0x6cdcc2['markerRange']['start'],_0x594648=_0x2c00d0['model']['schema'];let _0x3e61a3=null,_0x493751=null,_0x1340e3=!0x1,_0x1effd0=!0x1;for(const _0x2accd5 of _0x555de9){const _0x18892d=_0x2accd5['item'];_0x1340e3=_0x1340e3||_0x594648['isContent'](_0x18892d);const _0x59922b=_0xeab515['mapper']['toViewElement'](_0x18892d);if(_0x59922b&&_0x59922b['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x2accd5['type']&&(_0x594648['isBlock'](_0x18892d)&&!_0x594648['isLimit'](_0x18892d)&&(_0x18892d['nextSibling']||_0x2b6641['isAtEnd']?_0x3e61a3&&_0x3e61a3['parent']==_0x18892d||(_0x3e61a3=_0x18892d,_0x1c6f3b(_0x2accd5['previousPosition']),_0x1effd0=!0x0):_0x493751=_0x493751||_0x2accd5['previousPosition']));}function _0x1c6f3b(_0x3d0c27){const _0x43f4ca=_0xeab515['mapper']['toViewPosition'](_0x3d0c27),_0x235528=_0xeab515['writer']['createUIElement']('span',{'class':'ck-suggestion-preview-marker-'+_0x3b0836});_0xeab515['writer']['insert'](_0x43f4ca,_0x235528),_0xeab515['mapper']['bindElementToMarker'](_0x235528,_0x6cdcc2['markerName']);}_0x1340e3||_0x1effd0||!_0x493751||_0x1c6f3b(_0x493751);};}class bt extends _0x58d9eb{constructor(_0x2a83f6){super(_0x2a83f6);const _0x4e1bad=_0x2a83f6['plugins']['get'](d);this['affectsData']=!0x1,this['listenTo'](_0x4e1bad,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x4e1bad,'change:isEnabled',()=>this['refresh']());}['execute'](){const _0x20ddac=this['editor'],_0x4b295e=_0x20ddac['plugins']['get'](d),_0x9124ec=_0x4b295e['isReady']?_0x4b295e['diff']['newRevisionId']:null;_0x20ddac['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x9124ec);}['refresh'](){const {isReady:_0x39b3c8,isEnabled:_0x4c3bff}=this['editor']['plugins']['get'](d);this['isEnabled']=_0x39b3c8&&_0x4c3bff;}}class yt extends _0x58d9eb{['_step'];constructor(_0x1ce997,{direction:_0x3c959f}){super(_0x1ce997);const _0x33f236=_0x1ce997['plugins']['get'](d);this['affectsData']=!0x1,this['_step']='forward'===_0x3c959f?0x1:-0x1,this['listenTo'](_0x33f236,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x33f236,'change:isEnabled',()=>this['refresh']()),this['listenTo'](_0x33f236,'change:activeChange',()=>this['refresh']());}['execute'](){const _0x19d1c1=this['editor'],_0x29e40a=_0x19d1c1['plugins']['get'](d),{isNavigationMode:_0x335111,currentChangeNumber:_0x32c5c9}=_0x29e40a;let _0x2d3553;if(_0x29e40a['activeChange']=_0x335111?_0x29e40a['diff']['changes']['get'](_0x32c5c9+this['_step']):_0x29e40a['diff']['changes']['first'],_0x29e40a['activeChange']['data']['isOnRoot'])_0x2d3553=_0x19d1c1['editing']['view']['getDomRoot'](_0x29e40a['activeChange']['rootName']);else{const _0x232512=_0x19d1c1['model']['markers']['get']('revision:'+_0x29e40a['activeChange']['id']);_0x2d3553=_0x511f22(_0x19d1c1['editing'],_0x232512);}_0x4d495d({'target':_0x2d3553,'viewportOffset':0x28});}['refresh'](){const {isNavigationMode:_0x467f8e,currentChangeNumber:_0xd1abb6,numberOfChanges:_0x9f0e77,isReady:_0x3ae296,isEnabled:_0x28a6bc}=this['editor']['plugins']['get'](d);this['isEnabled']=!!(_0x28a6bc&&_0x3ae296&&_0x9f0e77)&&(!_0x467f8e||(0x1===this['_step']?_0xd1abb6<_0x9f0e77-0x1:_0xd1abb6>0x0));}}class _i extends _0xb7478c{constructor(_0x19b785){super(_0x19b785);const _0x2d11e2=this['bindTemplate'],_0x33d034=new _0x4d4495(_0x19b785),_0x185beb=new _0x4d4495(_0x19b785);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',(_0x1264a3,_0x4d93fc)=>_0x1264a3&&_0x4d93fc>0x0),this['bind']('_statusText')['to'](this,'isReady',this,'currentChangeNumber',this,'numberOfChanges',this,'isNavigationMode',(_0x40c893,_0x48cade,_0x31bff9,_0x244197)=>{if(!_0x40c893)return y(_0x19b785,'Loading...');if(!_0x31bff9)return y(_0x19b785,'No\x20changes');const _0x249de6=y(_0x19b785,'NUMBER_OF_CHANGES',_0x31bff9);return _0x244197?y(_0x19b785,'X_OF_Y_CHANGES',[_0x48cade+0x1,_0x31bff9]):_0x249de6;}),_0x33d034['set']({'label':y(_0x19b785,'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'}),_0x185beb['set']({'label':y(_0x19b785,'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'}),_0x33d034['bind']('isEnabled')['to'](this,'isBackwardNavigationEnabled'),_0x185beb['bind']('isEnabled')['to'](this,'isForwardNavigationEnabled'),_0x33d034['on']('execute',()=>this['fire']('execute','backward')),_0x185beb['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',_0x2d11e2['if']('_isStatusLabelVisible','ck-hidden',_0x20d902=>!_0x20d902)]},'children':[{'text':_0x2d11e2['to']('isNavigationMode',_0x46d824=>_0x46d824?y(_0x19b785,'EDIT_X_OF_Y_REVISIONS')+':\x20':y(_0x19b785,'Total')+':\x20')}]},{'text':_0x2d11e2['to']('_statusText')}]},new _0x371d25(),{'tag':'div','attributes':{'class':['ck-revision-history-ui__changes-navigation__navigation']},'children':[_0x33d034,_0x185beb]}]});}}const ce='ck-editor__editable__loading-overlay';class de extends _0x365282{static get['pluginName'](){return'RevisionViewerLoadingOverlay';}['show'](){const _0x49baa4=this['editor']['editing']['view'];_0x49baa4['change'](_0xfaae50=>{for(const _0x11dd43 of _0x49baa4['document']['roots'])_0xfaae50['addClass'](ce,_0x11dd43);});}['hide'](){const _0x5ee90c=this['editor']['editing']['view'];_0x5ee90c['change'](_0x4780dd=>{for(const _0x77ea3 of _0x5ee90c['document']['roots'])_0x4780dd['removeClass'](ce,_0x77ea3);});}}class R extends _0x365282{static get['pluginName'](){return'RevisionViewerUI';}static get['requires'](){return[d,de];}['init'](){const _0xdb2a64=this['editor'],_0x5c290e=_0xdb2a64['plugins']['get'](d),_0x5010e5=_0xdb2a64['plugins']['get'](de);_0xdb2a64['ui']['componentFactory']['add']('exitToEditing',_0x1181a4=>{const _0x550ace=new _0x4d4495(_0x1181a4);return _0x550ace['set']({'label':y(_0x1181a4,'Back\x20to\x20editing'),'icon':_0x3f44ce['undo'],'withText':!0x0,'tooltip':!0x0,'class':'ck-revision-history-ui__back-to-editing'}),this['listenTo'](_0x550ace,'execute',()=>{_0xdb2a64['config']['get']('revisionHistory')['closeRevisionViewerCallback']();}),_0x550ace;}),_0xdb2a64['ui']['componentFactory']['add']('restoreRevision',_0x300147=>{const _0x2b2ddc=new _0x4d4495(_0x300147);return _0x2b2ddc['set']({'label':y(_0x300147,'Restore\x20this\x20revision'),'withText':!0x0,'tooltip':!0x0}),_0x2b2ddc['bind']('isEnabled')['to'](_0xdb2a64['commands']['get']('restoreRevision')),this['listenTo'](_0x2b2ddc,'execute',()=>_0xdb2a64['execute']('restoreRevision')),_0x2b2ddc;}),_0xdb2a64['ui']['componentFactory']['add']('changesNavigation',_0x476f69=>{const _0x82fbb0=new _i(_0x476f69),_0x1d6d47=_0xdb2a64['commands']['get']('showPreviousChange'),_0x23ffb8=_0xdb2a64['commands']['get']('showNextChange');return _0x82fbb0['bind']('isBackwardNavigationEnabled')['to'](_0x1d6d47,'isEnabled'),_0x82fbb0['bind']('isForwardNavigationEnabled')['to'](_0x23ffb8,'isEnabled'),_0x82fbb0['bind']('isReady','currentChangeNumber','numberOfChanges','isNavigationMode')['to'](_0x5c290e),this['listenTo'](_0x82fbb0,'execute',(_0x260cef,_0xe88960)=>{_0xdb2a64['execute']('forward'===_0xe88960?'showNextChange':'showPreviousChange');}),_0x82fbb0;}),_0x5010e5['show'](),_0x5c290e['on']('change:isReady',(_0x4472c2,_0x313419,_0x3ae6d4)=>{_0x3ae6d4?_0x5010e5['hide']():_0x5010e5['show']();});}}class kt extends at{['_resizeObserver']=null;constructor(_0x1a87e4,_0xba8879){super(_0x1a87e4,_0xba8879);const _0x20eba4=this['bindTemplate'];this['set']({'label':y(_0x1a87e4,'Revision\x20name'),'_tooltipString':''}),this['fieldView']['placeholder']=y(_0x1a87e4,'Enter\x20the\x20revision\x20name'),this['extendTemplate']({'tag':'span','attributes':{'class':['ck-revision-history-sidebar__revision-name'],'data-cke-tooltip-text':_0x20eba4['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 _0x3771f5=this['fieldView']['element'];this['_tooltipString']=_0x3771f5['scrollWidth']>_0x3771f5['clientWidth']&&_0x3771f5['value']||'';}}class ti extends _0xb7478c{constructor(_0x2d0aa4,_0x2b5736,_0x2f0a0c){super(_0x2d0aa4);const _0x4e0e0a=new _0x57b90d();_0x4e0e0a['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 _0x5cb9f5=['ck','ck-revision-history-sidebar__revision-author'];_0x2f0a0c&&_0x5cb9f5['push']('ck-revision-history-sidebar__revision-author_creator');const _0x43f797=[{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__revision-author__name'],'title':y(_0x2d0aa4,_0x2f0a0c?'Revision\x20creator':'Revision\x20author')},'children':[_0x4e0e0a,_0x2b5736['name']]}];this['setTemplate']({'tag':'li','attributes':{'class':_0x5cb9f5},'children':_0x43f797});}}function ni(_0x483556,_0x71c04b){const _0x2444b1=_0x483556['bindTemplate'],_0x100cda=_0x483556['locale'],_0x46ce02=_0x547be8(_0x100cda);_0x46ce02['panelPosition']='sw';const _0x2249d7=function(_0x1a7b55,_0xda253a){const _0x347e4b=function(_0x2d3b5e,_0x5398e8){const _0x2324ea=_0x2d3b5e['locale'],_0x1efdf0={'Compare\x20against\x20selected':y(_0x2324ea,'Compare\x20against\x20selected'),'Name\x20this\x20revision':y(_0x2324ea,'Name\x20this\x20revision'),'Restore\x20this\x20revision':y(_0x2324ea,'Restore\x20this\x20revision')};return _0x5398e8['map'](_0x311de5=>{const _0x4c8b4b=_0x1efdf0[_0x311de5['name']];return _0x4c8b4b&&_0x4c8b4b!==_0x311de5['name']&&(_0x311de5['name']=_0x4c8b4b),_0x311de5;});}(_0x1a7b55,_0xda253a),_0x38863d=new _0x5db5a3();for(const _0x17e09f of _0x347e4b){const _0x4d86a={'type':'button','model':new to({'label':_0x17e09f['name'],'class':_0x17e09f['class'],'withText':!0x0,'role':'menuitem','_action':_0x17e09f['action']})};_0x4d86a['model']['bind']('isEnabled')['to'](_0x1a7b55,'isActionsDropdownOpen',_0x5ef2be=>'function'!=typeof _0x17e09f['isEnabled']||(!_0x5ef2be||_0x17e09f['isEnabled'](_0x1a7b55))),_0x38863d['add'](_0x4d86a);}return _0x38863d;}(_0x483556,_0x71c04b);return _0x483556['bind']('isActionsDropdownOpen')['to'](_0x46ce02,'isOpen'),_0x46ce02['buttonView']['set']({'label':y(_0x100cda,'Show\x20more\x20items'),'tooltip':!0x0,'tooltipPosition':'sw','icon':_0x3f44ce['threeVerticalDots']}),_0x46ce02['extendTemplate']({'attributes':{'class':['ck-revision-history-sidebar__revision__actions',_0x2444b1['if']('isActionsDropdownOpen','ck-on')]},'on':{'click':_0x2444b1['to'](_0x280966=>_0x280966['stopPropagation']())}}),_0x46ce02['on']('execute',_0x4e6c2d=>{_0x483556['isReady']&&'function'==typeof _0x4e6c2d['source']['_action']&&_0x4e6c2d['source']['_action'](_0x483556);}),_0x24f52e(_0x46ce02,_0x2249d7,{'role':'menu'}),_0x46ce02['listenTo'](_0x483556,'change:isActionsDropdownOpen',(_0x232d9f,_0x317d5b,_0x3fdc92)=>{if(_0x3fdc92)for(const _0xd5df5d of _0x46ce02['listView']['items']){const _0x40484b=_0xd5df5d['children']['first'],_0x2a9983=_0x71c04b['find'](_0x5936db=>_0x5936db['action']===_0x40484b['_action'])['isVisible'];_0xd5df5d['isVisible']=void 0x0===_0x2a9983||_0x2a9983(_0x483556);}}),_0x46ce02;}class ai extends/* #__PURE__ -- @preserve */
|
|
26
|
-
_0x4b3be0(_0xb7478c){['id'];['revisionNameView'];['revisionActionsView'];['_revision'];['_requireRevisionName'];constructor(_0x298a56,_0x5480ef,_0x1a7ce8,_0x87047d){super(_0x298a56);const _0x223dcb=this['bindTemplate'],_0x397223=function(_0x48b763,_0x519617){const _0x39992e=Array['from'](_0x519617['authors'])['filter'](_0x1c35ac=>_0x1c35ac!=_0x519617['creator']);return _0x519617['creator']&&_0x39992e['unshift'](_0x519617['creator']),_0x39992e['map'](_0x1a5c80=>new ti(_0x48b763,_0x1a5c80,_0x1a5c80==_0x519617['creator']));}(_0x298a56,_0x5480ef);this['id']=_0x5480ef['id'],this['_revision']=_0x5480ef,this['_requireRevisionName']=_0x87047d,this['bind']('name','createdAt')['to'](_0x5480ef),this['bind']('_createdAtFormatted')['to'](this,'createdAt',_0x18cf56=>{return _0x2922f9=_0x298a56['uiLanguage'],(_0x428eac=_0x18cf56)['toLocaleDateString'](_0x2922f9,{'month':'long','day':'numeric'})+',\x20'+_0x428eac['toLocaleTimeString'](_0x2922f9,{'hour':'numeric','minute':'numeric'});var _0x2922f9,_0x428eac;}),this['set']('isSelected',!0x1),this['set']('isHighlighted',!0x1),this['set']('isActionsDropdownOpen',!0x1),this['set']('isReady',!0x1),this['set']('isEnabled',!0x1),this['revisionNameView']=new kt(_0x298a56,_0x183417),this['revisionNameView']['fieldView']['extendTemplate']({'attributes':{'maxlength':'220'}}),this['revisionNameView']['fieldView']['bind']('value')['to'](this,'name',_0x375288=>_0x375288||this['_createdAtFormatted']),this['revisionNameView']['bind']('isEnabled')['to'](this,'isSelected',this,'isEnabled',(_0x190b81,_0xf7f1b4)=>_0x190b81&&_0xf7f1b4),this['revisionActionsView']=_0x1a7ce8&&_0x1a7ce8['length']?ni(this,_0x1a7ce8):'',this['revisionActionsView']&&this['revisionActionsView']['bind']('isEnabled')['to'](this),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision-wrapper',_0x223dcb['if']('isConfirm','ck-revision-history-sidebar__revision-wrapper_confirmation_visible')]},'children':[{'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision',_0x223dcb['if']('isEnabled','ck-disabled',_0x55a686=>!_0x55a686),_0x223dcb['if']('isSelected','ck-revision-history-sidebar__revision_selected'),_0x223dcb['if']('isHighlighted','ck-revision-history-sidebar__revision_highlighted'),_0x223dcb['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':_0x223dcb['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':_0x397223}]},this['revisionActionsView']],'on':{'click':_0x223dcb['to'](_0xc2c343=>{_0xc2c343['srcElement']['closest']('.ck-thread__remove-confirm')||this['isReady']&&this['isEnabled']&&this['fire']('select',{'id':this['id']});})}}]});}['render'](){super['render']();const _0x309b8a=this['revisionNameView']['fieldView']['element'];this['listenTo'](_0x309b8a,'change',()=>{this['_requireRevisionName']&&!_0x309b8a['value']||this['fire']('setName',{'id':this['id'],'name':_0x309b8a['value']}),_0x309b8a['value']||(_0x309b8a['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(_0x447a66,_0x5698e5){const _0x34415a=_0x64c198['fromJSDate'](_0x447a66)['setLocale'](_0x5698e5),_0x2ca675=_0x64c198['local'](),_0x515c6f=_0x2ca675['minus']({'days':0x1})['startOf']('day');let _0x313830,_0x1081c0;return _0x34415a['hasSame'](_0x2ca675,'day')?(_0x313830=_0x34415a['startOf']('day')['toJSDate'](),_0x1081c0=_0x34415a['toRelativeCalendar']()):_0x34415a['hasSame'](_0x515c6f,'day')?(_0x313830=_0x515c6f['toJSDate'](),_0x1081c0=_0x34415a['toRelativeCalendar']()):_0x34415a['hasSame'](_0x2ca675,'week')?(_0x313830=_0x34415a['startOf']('week')['toJSDate'](),_0x1081c0=_0x34415a['weekdayLong']||''):_0x34415a['hasSame'](_0x2ca675,'year')?(_0x313830=_0x34415a['startOf']('month')['toJSDate'](),_0x1081c0=_0x34415a['monthLong']||''):(_0x313830=_0x34415a['startOf']('year')['toJSDate'](),_0x1081c0=String(_0x34415a['year'])),{'startDate':_0x313830,'localizedPeriodName':_0x1081c0};}class mi extends _0xb7478c{['startDate'];['revisionViews'];['_revisionActions'];['_requireRevisionName'];constructor(_0x9822c3,_0x5aa65e,_0x3746c3,_0x161c8c){super(_0x9822c3);const _0xb228b=di(_0x5aa65e,this['locale']['uiLanguage'])['localizedPeriodName'];this['startDate']=_0x5aa65e,this['revisionViews']=this['createCollection'](),this['_revisionActions']=_0x3746c3,this['_requireRevisionName']=_0x161c8c,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':_0xb228b}]},{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__time-period__revisions']},'children':this['revisionViews']}]});}['addRevision'](_0x227168){const _0x53fee8=new ai(this['locale'],_0x227168,this['_revisionActions'],this['_requireRevisionName']);this['revisionViews']['add'](_0x53fee8);}['removeRevision'](_0x33673c){const _0x3dd13a=this['revisionViews']['find'](_0x377291=>_0x377291['id']===_0x33673c['id']);this['revisionViews']['remove'](_0x3dd13a);}}class as extends _0xb7478c{constructor(_0x549c89){super(_0x549c89);const _0x3244d2=new _0x57b90d();_0x3244d2['content']=_0x3f44ce['history'],this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all','ck-revision-history-sidebar__header']},'children':[_0x3244d2,{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__header__label']},'children':[y(_0x549c89,'Revision\x20history')]}]});}}class ci extends _0xb7478c{['timePeriodViews'];['_revisions'];['_revisionActions'];['_requireRevisionName'];constructor(_0x3f6eb9,_0x4cfa22,_0x7e0539,_0x9e0c07){super(_0x3f6eb9);const _0x55d779=this['bindTemplate'];this['timePeriodViews']=this['createCollection'](),this['timePeriodViews']['delegate']('select')['to'](this),this['timePeriodViews']['delegate']('setName')['to'](this),this['_revisions']=_0x4cfa22,this['_revisionActions']=_0x7e0539,this['_requireRevisionName']=_0x9e0c07,this['on']('select',(_0x35fa5e,_0x9aef65)=>{this['fire']('revisionSelected',_0x9aef65);}),this['on']('setName',(_0x4fc7ed,_0xe59893)=>{this['fire']('revisionSetName',_0xe59893);}),this['set']('isEnabled',!0x1),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-rounded-corners','ck-revision-history-sidebar']},'children':[new as(_0x3f6eb9),{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__timeline',_0x55d779['if']('isEnabled','ck-disabled',_0x9d3bd1=>!_0x9d3bd1)]},'children':this['timePeriodViews']}]});}['render'](){super['render']();for(const _0x4e87bb of this['_revisions'])this['_addRevision'](_0x4e87bb);this['_revisions']['on']('add',(_0xf8f03,_0x546246)=>{this['_addRevision'](_0x546246);}),this['_revisions']['on']('remove',(_0x1d59ba,_0x1cb583)=>{this['_removeRevision'](_0x1cb583);});}get['revisionViews'](){return this['timePeriodViews']['map'](_0x3b20d0=>_0x3b20d0['revisionViews']['map'](_0x3434a5=>_0x3434a5))['flat']();}['selectRevision'](_0x30e852){for(const _0x2b9c42 of this['revisionViews'])_0x30e852&&_0x30e852['id']===_0x2b9c42['id']?_0x2b9c42['select']():_0x2b9c42['deselect']();}['highlightRevisions'](_0x3fd3b5){for(const _0x41c0e0 of this['revisionViews'])_0x3fd3b5['some'](({id:_0x51d18f})=>_0x51d18f===_0x41c0e0['id'])?_0x41c0e0['highlight']():_0x41c0e0['unhighlight']();}['_addRevision'](_0x59e15a){const _0x544232=di(_0x59e15a['createdAt'],this['locale']['uiLanguage'])['startDate'];let _0x3c2cdd=this['timePeriodViews']['get'](0x0);_0x3c2cdd&&_0x3c2cdd['startDate']['getTime']()===_0x544232['getTime']()||(_0x3c2cdd=new mi(this['locale'],_0x544232,this['_revisionActions'],this['_requireRevisionName']),this['timePeriodViews']['add'](_0x3c2cdd)),_0x3c2cdd['addRevision'](_0x59e15a);}['_removeRevision'](_0x5d19c7){const _0x4a3178=di(_0x5d19c7['createdAt'],this['locale']['uiLanguage'])['startDate'];this['_getTimePeriodViewByStartDate'](_0x4a3178)['removeRevision'](_0x5d19c7);}['_getTimePeriodViewByStartDate'](_0x3de8a4){return this['timePeriodViews']['find'](_0x23b21c=>_0x23b21c['startDate']['getTime']()===_0x3de8a4['getTime']());}}class w extends _0x365282{['_revisionViewer'];['_revisionsRepository'];['_sidebarView'];static ['defaultRevisionActions'];static ['availableRevisionActions'];static get['pluginName'](){return'RevisionsSidebar';}static get['requires'](){return[d];}constructor(_0x41d8a8){super(_0x41d8a8),this['_revisionViewer']=_0x41d8a8['plugins']['get'](d),this['_revisionsRepository']=this['_revisionViewer']['repository'],this['_sidebarView']=null;}['init'](){const _0x5153eb=this['_revisionsRepository']['_revisions'],_0x4065ff=this['_createRevisionActions'](),_0x2875f9=this['editor']['config']['get']('revisionHistory.viewerSidebarContainer');this['_sidebarView']=new ci(this['editor']['locale'],_0x5153eb,_0x4065ff,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',(_0x431e60,_0x1a0d13)=>{_0x1a0d13['revisionViews']['on']('add',(_0xa5b41,_0x4c27ee)=>{_0x4c27ee['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)),_0x2875f9['appendChild'](this['_sidebarView']['element']);}['destroy'](){this['_sidebarView']['element']['remove'](),this['_sidebarView']['destroy']();}['_handleEditorDataReady'](){const _0x4a8c35=this['_revisionsRepository']['getRevision'](0x0);if(_0x4a8c35){const _0xae7500=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x4a8c35['id']);this['_revisionViewer']['compare'](_0x4a8c35,_0xae7500);}}['_handleRevisionSelected'](_0xe65395,_0x49fb32){const _0x39eb23=this['_revisionsRepository']['getRevision'](_0x49fb32['id']),_0x41f5ce=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x39eb23['id']);this['_revisionViewer']['compare'](_0x39eb23,_0x41f5ce);}['_handleRevisionSetName'](_0xac8f8c,_0x312f54){this['_revisionsRepository']['getRevision'](_0x312f54['id'])['setName'](_0x312f54['name']);}['_handleDiffChange'](_0x10193b,_0x52d647,_0x151071){const _0x305612=this['_revisionsRepository']['getRevisionsInDiff'](_0x151071);_0x305612['length']>0x2?(this['_sidebarView']['highlightRevisions'](_0x305612),this['_sidebarView']['selectRevision'](null)):(this['_sidebarView']['highlightRevisions']([]),this['_sidebarView']['selectRevision'](_0x305612[0x0]));}['_createRevisionActions'](){const _0x58dd8e=this['editor'],_0x103f2d=w['availableRevisionActions'],_0x4814e9=_0x58dd8e['config']['get']('revisionHistory.revisionActions')||w['defaultRevisionActions'];if(_0x4814e9['length'])return _0x4814e9['map'](_0x59fc2b=>{const _0x1bfa23='string'==typeof _0x59fc2b?Object['assign']({},_0x103f2d[_0x59fc2b]):_0x59fc2b;return _0x1bfa23['action']=_0x1bfa23['action']['bind'](this,_0x58dd8e),_0x1bfa23['isVisible']&&(_0x1bfa23['isVisible']=_0x1bfa23['isVisible']['bind'](this,_0x58dd8e)),_0x1bfa23;});}}w['availableRevisionActions']={'compareAgainstSelected':{'name':'Compare\x20against\x20selected','action':({plugins:_0x24c3da},_0x265f76)=>{const _0x4ac181=_0x24c3da['get'](d),_0x2078fe=_0x4ac181['repository'];let _0x22b41d=_0x4ac181['diff']['newRevisionId'],_0x4a9ae6=_0x265f76['id'];_0x2078fe['getIndex'](_0x22b41d)>_0x2078fe['getIndex'](_0x4a9ae6)&&([_0x22b41d,_0x4a9ae6]=[_0x4a9ae6,_0x22b41d]),_0x4ac181['compare'](_0x22b41d,_0x4a9ae6);},'isVisible':({plugins:_0x1b40e1},_0x5bab6e)=>{const _0x424da2=_0x1b40e1['get'](d);return!(_0x424da2['repository']['getRevisionsInDiff'](_0x424da2['diff'])['length']>0x2)&&!_0x5bab6e['isSelected'];}},'restoreRevision':{'name':'Restore\x20this\x20revision','action':(_0x15f405,{id:_0x2624d3})=>{_0x15f405['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x2624d3);},'isVisible':({plugins:_0x3253df},_0x547261)=>!!_0x3253df['get'](d)['repository']['getLaterVisibleRevision'](_0x547261['id'])},'nameRevision':{'name':'Name\x20this\x20revision','action':({plugins:_0x4de3e5},{id:_0x36893c,revisionNameView:_0x455110})=>{const _0x47667b=_0x4de3e5['get'](d),_0x51eef6=_0x47667b['repository']['getEarlierVisibleRevision'](_0x36893c);_0x47667b['compare'](_0x36893c,_0x51eef6),_0x455110['focus'](),_0x455110['fieldView']['select']();}}},w['defaultRevisionActions']=['compareAgainstSelected','restoreRevision','nameRevision'];class st extends ht{['_view'];['_toolbarConfig'];['_elementReplacer'];get['view'](){return this['_view'];}constructor(_0x17ea96,_0xb23536){super(_0x17ea96),this['_view']=_0xb23536,this['_toolbarConfig']=ct(_0x17ea96['config']['get']('toolbar')),this['_elementReplacer']=new nt();}get['element'](){return this['view']['element'];}['init'](_0x1bc02e){const _0x469bb=this['editor'],_0x541bfa=this['view'],_0x6fd10e=_0x469bb['editing']['view'],_0x3e4c1e=_0x541bfa['editable'],_0x45c99a=_0x6fd10e['document']['getRoot']();_0x3e4c1e['name']=_0x45c99a['rootName'],_0x541bfa['render']();const _0x4310cf=_0x3e4c1e['element'];this['setEditableElement'](_0x3e4c1e['name'],_0x4310cf),_0x541bfa['editable']['bind']('isFocused')['to'](this['focusTracker']),_0x6fd10e['attachDomRoot'](_0x4310cf),this['_elementReplacer']['replace'](_0x1bc02e,this['element']),this['_initToolbar'](),this['fire']('ready');}['destroy'](){super['destroy']();const _0x24b237=this['view'],_0x1655ce=this['editor']['editing']['view'];this['_elementReplacer']['restore'](),_0x1655ce['detachDomRoot'](_0x24b237['editable']['name']),_0x24b237['destroy']();}['_initToolbar'](){const _0x353c1f=this['view'];_0x353c1f['stickyPanel']['bind']('isActive')['to'](this['focusTracker'],'isFocused'),_0x353c1f['stickyPanel']['limiterElement']=_0x353c1f['element'],_0x353c1f['stickyPanel']['bind']('viewportTopOffset')['to'](this,'viewportOffset',({top:_0x4fc703})=>_0x4fc703),_0x353c1f['toolbar']['fillFromConfig'](this['_toolbarConfig'],this['componentFactory']),this['addToolbar'](_0x353c1f['toolbar']);}}class ot extends dt{['_editable'];['stickyPanel'];['toolbar'];get['editable'](){return this['_editable'];}constructor(_0x2a4788,_0x40c82f,_0x106f2f={}){super(_0x2a4788),this['stickyPanel']=new lt(_0x2a4788),this['toolbar']=new pt(_0x2a4788,{'shouldGroupWhenFull':_0x106f2f['shouldToolbarGroupWhenFull']}),this['_editable']=new ut(_0x2a4788,_0x40c82f);}['render'](){super['render'](),this['stickyPanel']['content']['add'](this['toolbar']),this['top']['add'](this['stickyPanel']),this['main']['add'](this['editable']);}}class m extends/* #__PURE__ -- @preserve */
|
|
27
|
-
rt(it){['_ui'];get['ui'](){return this['_ui'];}constructor(
|
|
23
|
+
import{Plugin as _0x460216,Context as _0x4c8488,PendingActions as _0x3ed2c4,icons as _0x35adfe,Command as _0x29e63b,ElementApiMixin as rt,Editor as it}from'@ckeditor/ckeditor5-core/dist/index.js';import{ObservableMixin as _0x1b68ce,uid as _0x411af8,Collection as _0x588a09,logWarning as _0x494e13,FocusTracker as _0x4da260,KeystrokeHandler as _0x5bd5f6,scrollViewportToShowTarget as _0x34b769,ResizeObserver as mt,ElementReplacer as nt,CKEditorError as _0xef2ea0}from'@ckeditor/ckeditor5-utils/dist/index.js';import{Users as _0x2fbebd,getMarkerDomElement as _0x4fb29f,ConfirmMixin as _0xa74273,sanitizeEditorConfig as _0x42946d}from'ckeditor5-collaboration/dist/index.js';import{ViewDocumentFragment as _0x1a5418,ViewText as _0x32a2e8,ViewElement as _0x47610d,Element as ft,Range as vt,Position as gt,DocumentFragment as wt,ViewContainerElement as _0x365f1e,ViewAttributeElement as _0x4533a2,ViewEmptyElement as _0x5574c7,ViewRawElement as _0xa666b3,ViewUIElement as _0x105d63,Text as _t}from'@ckeditor/ckeditor5-engine/dist/index.js';import{cloneDeep as _0x4e6aba,set as _0x5cfb59,unset as _0x2dd94d,isEqual as _0x820ff9}from'lodash-es';import{View as _0x403593,injectCssTransitionDisabler as ts,submitHandler as _0x339bc2,LabeledFieldView as at,createLabeledInputText as _0x49e355,createDropdown as _0x3edaf6,ListView as te,ListItemView as _0xbef6eb,ButtonView as _0x57f02f,MenuBarMenuView as _0x34d1b2,MenuBarMenuListView as _0x38a48e,MenuBarMenuListItemView as _0x3d60b8,MenuBarMenuListItemButtonView as _0xa2501b,ContextualBalloon as _0x3729d4,ToolbarSeparatorView as _0x269848,IconView as _0x2ce25a,addListToDropdown as _0x427ccf,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 _0x5d3934}from'luxon';class a extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x1b68ce(){['id'];['creator'];['authors'];['diffData'];['toVersion'];['fromVersion'];['model'];constructor(_0x376a90){super(),this['id']=_0x376a90['id']||_0x411af8(),this['creator']=_0x376a90['creator']||null,this['authors']=_0x376a90['authors']||[],this['diffData']=_0x376a90['diffData']||null,this['toVersion']=_0x376a90['toVersion']||0x0,this['fromVersion']=_0x376a90['fromVersion']||0x0,this['set']('name',_0x376a90['name']||''),this['set']('createdAt',_0x376a90['createdAt']||new Date()),this['set']('attributes',_0x376a90['attributes']||{});}['setName'](_0x484cd6){this['_update']({'name':_0x484cd6});}['setAttribute'](_0x8988ea,_0x20473b){const _0x2b7457=_0x4e6aba(this['attributes']);_0x5cfb59(_0x2b7457,_0x8988ea,_0x20473b),this['_update']({'attributes':_0x2b7457});}['removeAttribute'](_0x3a6f21){const _0x863b40=_0x4e6aba(this['attributes']);_0x2dd94d(_0x863b40,_0x3a6f21),this['_update']({'attributes':_0x863b40});}['_update'](_0x43bbe9,_0x49b247=!0x1){let _0x15ca4d=!0x1;const _0x21299={'id':this['id']},_0x307aee=['name','createdAt','diffData','authors','attributes','toVersion','fromVersion','creatorId'];for(const _0x1de31b of _0x307aee){const _0x173164=_0x43bbe9[_0x1de31b];void 0x0!==_0x173164&&_0x173164!==this[_0x1de31b]&&(this[_0x1de31b]=_0x173164,_0x21299[_0x1de31b]=_0x173164,_0x15ca4d=!0x0);}_0x15ca4d&&(_0x21299['authors']&&(_0x21299['authorsIds']=_0x21299['authors']['map'](_0x3e9421=>_0x3e9421['id']),delete _0x21299['authors']),this['fire']('_update',_0x21299,_0x49b247));}['toJSON'](){return{'id':this['id'],'name':this['name'],'creatorId':this['creator']?this['creator']['id']:null,'authorsIds':this['authors']['map'](_0x2130d0=>_0x2130d0['id']),'diffData':this['diffData'],'createdAt':this['createdAt'],'attributes':this['attributes'],'fromVersion':this['fromVersion'],'toVersion':this['toVersion']};}}class A extends _0x460216{['_revisions'];static get['requires'](){return[_0x2fbebd];}static get['pluginName'](){return'RevisionsRepository';}get['length'](){return this['_revisions']['length'];}constructor(_0x287516){super(_0x287516),this['_revisions']=new _0x588a09();}['afterInit'](){!function(_0x52ec71){function _0x5b8d6a(_0x2d885e,_0x5622e0,_0x2ccb6c){const _0x436493={};_0x436493[_0x5f4b79([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])]={0x10:0xa,0x18:0xc,0x20:0xe},_0x436493[_0x5f4b79([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],_0x436493[_0x5f4b79([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],_0x436493[_0x5f4b79([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],_0x436493[_0x5f4b79([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],_0x436493[_0x5f4b79([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],_0x436493[_0x5f4b79([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],_0x436493[_0x5f4b79([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],_0x436493[_0x5f4b79([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],_0x436493[_0x5f4b79([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],_0x436493[_0x5f4b79([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 _0x882ad4=new Uint8Array(0x10);for(let _0x34ddd5=0xf;_0x34ddd5>=0x0;--_0x34ddd5)_0x882ad4[_0x34ddd5]=_0x2ccb6c%0x100,_0x2ccb6c=parseInt(_0x2ccb6c/0x100);let _0x122d09=null,_0x178228=0x10;const _0x4e47bd=new Uint8Array(_0x5622e0),_0x4b286f=[],_0x211a52=[];_0x1cb8e6();for(let _0x53ec83=0x0;_0x53ec83<_0x2d885e[_0x5f4b79([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x53ec83++)0x10===_0x178228&&(_0x122d09=_0x1ec6a6(_0x882ad4),_0x178228=0x0,_0x2dd6ab(_0x882ad4)),_0x2d885e[_0x53ec83]^=_0x122d09[_0x178228++];return _0x2d885e;function _0x5d219d(_0x4ef59e){const _0x4d7c94=[];for(let _0x1f7627=0x0;_0x1f7627<_0x4ef59e[_0x5f4b79([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1f7627+=0x4)_0x4d7c94[_0x5f4b79([0x70,0x75,0x73,0x68])](_0x4ef59e[_0x1f7627]<<0x18|_0x4ef59e[_0x1f7627+0x1]<<0x10|_0x4ef59e[_0x1f7627+0x2]<<0x8|_0x4ef59e[_0x1f7627+0x3]);return _0x4d7c94;}function _0x2dd6ab(_0x194302){for(let _0x21f87a=0xf;_0x21f87a>=0x0;_0x21f87a--){if(0xff!==_0x194302[_0x21f87a]){_0x194302[_0x21f87a]++;break;}_0x194302[_0x21f87a]=0x0;}}function _0x1ec6a6(_0x75801){const _0x3b6daa=_0x4b286f[_0x5f4b79([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x1,_0x5a20f2=[0x0,0x0,0x0,0x0];let t=_0x5d219d(_0x75801);for(let _0x9d294=0x0;_0x9d294<0x4;_0x9d294++)t[_0x9d294]^=_0x4b286f[0x0][_0x9d294];for(let _0x35d37e=0x1;_0x35d37e<_0x3b6daa;_0x35d37e++){for(let _0x424364=0x0;_0x424364<0x4;_0x424364++)_0x5a20f2[_0x424364]=_0x436493[_0x5f4b79([0x54,0x31])][t[_0x424364]>>0x18&0xff]^_0x436493[_0x5f4b79([0x54,0x32])][t[(_0x424364+0x1)%0x4]>>0x10&0xff]^_0x436493[_0x5f4b79([0x54,0x33])][t[(_0x424364+0x2)%0x4]>>0x8&0xff]^_0x436493[_0x5f4b79([0x54,0x34])][0xff&t[(_0x424364+0x3)%0x4]]^_0x4b286f[_0x35d37e][_0x424364];t=_0x5a20f2[_0x5f4b79([0x73,0x6c,0x69,0x63,0x65])]();}const _0x3c0967=new Uint8Array(0x10);let _0x1712ec;for(let _0x205eca=0x0;_0x205eca<0x4;_0x205eca++)_0x1712ec=_0x4b286f[_0x3b6daa][_0x205eca],_0x3c0967[0x4*_0x205eca]=0xff&(_0x436493[_0x5f4b79([0x53])][t[_0x205eca]>>0x18&0xff]^_0x1712ec>>0x18),_0x3c0967[0x4*_0x205eca+0x1]=0xff&(_0x436493[_0x5f4b79([0x53])][t[(_0x205eca+0x1)%0x4]>>0x10&0xff]^_0x1712ec>>0x10),_0x3c0967[0x4*_0x205eca+0x2]=0xff&(_0x436493[_0x5f4b79([0x53])][t[(_0x205eca+0x2)%0x4]>>0x8&0xff]^_0x1712ec>>0x8),_0x3c0967[0x4*_0x205eca+0x3]=0xff&(_0x436493[_0x5f4b79([0x53])][0xff&t[(_0x205eca+0x3)%0x4]]^_0x1712ec);return _0x3c0967;}function _0x1cb8e6(){const _0x2127bb=_0x436493[_0x5f4b79([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])][_0x4e47bd[_0x5f4b79([0x6c,0x65,0x6e,0x67,0x74,0x68])]];for(let _0x3be4cb=0x0;_0x3be4cb<=_0x2127bb;_0x3be4cb++)_0x4b286f[_0x5f4b79([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]),_0x211a52[_0x5f4b79([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]);const _0x7c5332=0x4*(_0x2127bb+0x1),_0x4c1a4f=_0x4e47bd[_0x5f4b79([0x6c,0x65,0x6e,0x67,0x74,0x68])]/0x4,_0x2768d5=_0x5d219d(_0x4e47bd);let _0x6aa364;for(let _0x545887=0x0;_0x545887<_0x4c1a4f;_0x545887++)_0x6aa364=_0x545887>>0x2,_0x4b286f[_0x6aa364][_0x545887%0x4]=_0x2768d5[_0x545887],_0x211a52[_0x2127bb-_0x6aa364][_0x545887%0x4]=_0x2768d5[_0x545887];let _0x2f6361,_0x26b50e=0x0,t=_0x4c1a4f;for(;t<_0x7c5332;){_0x2f6361=_0x2768d5[_0x4c1a4f-0x1],_0x2768d5[0x0]^=_0x436493[_0x5f4b79([0x53])][_0x2f6361>>0x10&0xff]<<0x18^_0x436493[_0x5f4b79([0x53])][_0x2f6361>>0x8&0xff]<<0x10^_0x436493[_0x5f4b79([0x53])][0xff&_0x2f6361]<<0x8^_0x436493[_0x5f4b79([0x53])][_0x2f6361>>0x18&0xff]^_0x436493[_0x5f4b79([0x72,0x63,0x6f,0x6e])][_0x26b50e]<<0x18,_0x26b50e+=0x1;for(let _0x393f20=0x1;_0x393f20<_0x4c1a4f/0x2;_0x393f20++)_0x2768d5[_0x393f20]^=_0x2768d5[_0x393f20-0x1];_0x2f6361=_0x2768d5[_0x4c1a4f/0x2-0x1],_0x2768d5[_0x4c1a4f/0x2]^=_0x436493[_0x5f4b79([0x53])][0xff&_0x2f6361]^_0x436493[_0x5f4b79([0x53])][_0x2f6361>>0x8&0xff]<<0x8^_0x436493[_0x5f4b79([0x53])][_0x2f6361>>0x10&0xff]<<0x10^_0x436493[_0x5f4b79([0x53])][_0x2f6361>>0x18&0xff]<<0x18;for(let _0x5cbb0f=_0x4c1a4f/0x2+0x1;_0x5cbb0f<_0x4c1a4f;_0x5cbb0f++)_0x2768d5[_0x5cbb0f]^=_0x2768d5[_0x5cbb0f-0x1];let _0x54a4fe,_0xe61683,_0x574732=0x0;for(;_0x574732<_0x4c1a4f&&t<_0x7c5332;)_0x54a4fe=t>>0x2,_0xe61683=t%0x4,_0x4b286f[_0x54a4fe][_0xe61683]=_0x2768d5[_0x574732],_0x211a52[_0x2127bb-_0x54a4fe][_0xe61683]=_0x2768d5[_0x574732++],t++;}for(let _0x2c4eca=0x1;_0x2c4eca<_0x2127bb;_0x2c4eca++)for(let _0x2adf46=0x0;_0x2adf46<0x4;_0x2adf46++)_0x2f6361=_0x211a52[_0x2c4eca][_0x2adf46],_0x211a52[_0x2c4eca][_0x2adf46]=_0x436493[_0x5f4b79([0x55,0x31])][_0x2f6361>>0x18&0xff]^_0x436493[_0x5f4b79([0x55,0x32])][_0x2f6361>>0x10&0xff]^_0x436493[_0x5f4b79([0x55,0x33])][_0x2f6361>>0x8&0xff]^_0x436493[_0x5f4b79([0x55,0x34])][0xff&_0x2f6361];}}function _0x5f4b79(_0x1aa296){return _0x1aa296['map'](_0x53fc42=>String['fromCharCode'](_0x53fc42))['join']('');}(_0x22edd0=>{function _0x1286ae(){const _0x1727a4=[{[_0x5f4b79([0x69,0x64])]:0x1,[_0x5f4b79([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x5f4b79([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73]),[_0x5f4b79([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x5f4b79([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x5f4b79([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x5f4b79([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x5f4b79([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x5f4b79([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x5f4b79([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]:[{[_0x5f4b79([0x69,0x64])]:0x2,[_0x5f4b79([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x5f4b79([0x54,0x72,0x61,0x63,0x6b,0x20,0x43,0x68,0x61,0x6e,0x67,0x65,0x73]),[_0x5f4b79([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x5f4b79([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x5f4b79([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x5f4b79([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x5f4b79([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x5f4b79([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]),[_0x5f4b79([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x5f4b79([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x5f4b79([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x5f4b79([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}}],[_0x5f4b79([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x5f4b79([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x5f4b79([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x5f4b79([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x5f4b79([0x69,0x64])]:0x3,[_0x5f4b79([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x5f4b79([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e]),[_0x5f4b79([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x5f4b79([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x6f,0x6f,0x6b,0x75,0x70]),[_0x5f4b79([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x5f4b79([0x70,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x5f4b79([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x5f4b79([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x5f4b79([0x69,0x64])]:0x4,[_0x5f4b79([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x5f4b79([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x20,0x48,0x69,0x73,0x74,0x6f,0x72,0x79]),[_0x5f4b79([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x5f4b79([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x5f4b79([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x5f4b79([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x5f4b79([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x5f4b79([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]),[_0x5f4b79([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x5f4b79([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x5f4b79([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x5f4b79([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x5f4b79([0x69,0x64])]:0x5,[_0x5f4b79([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x5f4b79([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x20,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65]),[_0x5f4b79([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x5f4b79([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65,0x55,0x49]),[_0x5f4b79([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x5f4b79([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]),[_0x5f4b79([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x5f4b79([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x5f4b79([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x5f4b79([0x66,0x67,0x69])]:[0xc]}},{[_0x5f4b79([0x69,0x64])]:0x6,[_0x5f4b79([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x5f4b79([0x46,0x6f,0x72,0x6d,0x61,0x74,0x20,0x50,0x61,0x69,0x6e,0x74,0x65,0x72]),[_0x5f4b79([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x5f4b79([0x46,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x55,0x49]),[_0x5f4b79([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x5f4b79([0x66,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x5f4b79([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x5f4b79([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x5f4b79([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x5f4b79([0x66,0x67,0x69])]:[0xc]}},{[_0x5f4b79([0x69,0x64])]:0x7,[_0x5f4b79([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x5f4b79([0x53,0x6c,0x61,0x73,0x68,0x20,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64]),[_0x5f4b79([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x5f4b79([0x53,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x55,0x49]),[_0x5f4b79([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x5f4b79([0x73,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x5f4b79([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x5f4b79([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x5f4b79([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x5f4b79([0x66,0x67,0x69])]:[0xc]}},{[_0x5f4b79([0x69,0x64])]:0x8,[_0x5f4b79([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x5f4b79([0x54,0x61,0x62,0x6c,0x65,0x20,0x6f,0x66,0x20,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73]),[_0x5f4b79([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x5f4b79([0x54,0x61,0x62,0x6c,0x65,0x4f,0x66,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x5f4b79([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x5f4b79([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]),[_0x5f4b79([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x5f4b79([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x5f4b79([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x5f4b79([0x66,0x67,0x69])]:[0xc]}},{[_0x5f4b79([0x69,0x64])]:0x9,[_0x5f4b79([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x5f4b79([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65]),[_0x5f4b79([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x5f4b79([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x55,0x49]),[_0x5f4b79([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x5f4b79([0x74,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x5f4b79([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x5f4b79([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x5f4b79([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x5f4b79([0x66,0x67,0x69])]:[0xc,0xe]}},{[_0x5f4b79([0x69,0x64])]:0xa,[_0x5f4b79([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x5f4b79([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]),[_0x5f4b79([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x5f4b79([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]),[_0x5f4b79([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x5f4b79([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]),[_0x5f4b79([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x5f4b79([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x5f4b79([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x5f4b79([0x66,0x67,0x69])]:[0xc]}},{[_0x5f4b79([0x69,0x64])]:0xb,[_0x5f4b79([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x5f4b79([0x41,0x49,0x20,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74]),[_0x5f4b79([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x5f4b79([0x41,0x49,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74,0x55,0x49]),[_0x5f4b79([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x5f4b79([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x5f4b79([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x5f4b79([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x5f4b79([0x69,0x64])]:0xc,[_0x5f4b79([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x5f4b79([0x50,0x72,0x6f,0x64,0x75,0x63,0x74,0x69,0x76,0x69,0x74,0x79,0x20,0x70,0x61,0x63,0x6b])},{[_0x5f4b79([0x69,0x64])]:0xd,[_0x5f4b79([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x5f4b79([0x43,0x61,0x73,0x65,0x20,0x43,0x68,0x61,0x6e,0x67,0x65]),[_0x5f4b79([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x5f4b79([0x43,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x55,0x49]),[_0x5f4b79([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x5f4b79([0x63,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x5f4b79([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x5f4b79([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x5f4b79([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x5f4b79([0x66,0x67,0x69])]:[0xc]}},{[_0x5f4b79([0x69,0x64])]:0xe,[_0x5f4b79([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x5f4b79([0x44,0x72,0x75,0x70,0x61,0x6c,0x20,0x70,0x61,0x63,0x6b]),[_0x5f4b79([0x66,0x6f,0x72,0x62,0x69,0x64,0x64,0x65,0x6e,0x48,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x5f4b79([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])},{[_0x5f4b79([0x69,0x64])]:0xf,[_0x5f4b79([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x5f4b79([0x4d,0x75,0x6c,0x74,0x69,0x20,0x4c,0x65,0x76,0x65,0x6c,0x20,0x4c,0x69,0x73,0x74]),[_0x5f4b79([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x5f4b79([0x4d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x5f4b79([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x5f4b79([0x6d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x5f4b79([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x5f4b79([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x5f4b79([0x69,0x64])]:0x10,[_0x5f4b79([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x5f4b79([0x4d,0x65,0x72,0x67,0x65,0x20,0x54,0x61,0x67,0x73]),[_0x5f4b79([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x5f4b79([0x4d,0x65,0x72,0x67,0x65,0x54,0x61,0x67,0x73,0x55,0x49]),[_0x5f4b79([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x5f4b79([0x6d,0x65,0x72,0x67,0x65,0x54,0x61,0x67,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x5f4b79([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x5f4b79([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x5f4b79([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x5f4b79([0x66,0x67,0x69])]:[0xc]}}];return _0x2035eb(_0x1727a4),_0x1727a4;function _0x2f275d(_0x101fa8){return 0x1<<_0x101fa8-0x1;}function _0x2035eb(_0x1bd3a8){_0x1bd3a8[_0x5f4b79([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x2ff3c1=>{_0x2ff3c1[_0x5f4b79([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]=_0x2f275d(_0x2ff3c1[_0x5f4b79([0x69,0x64])]),_0x3493c7(_0x2ff3c1)&&_0x2ff3c1[_0x5f4b79([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x2035eb(_0x2ff3c1[_0x5f4b79([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]);});}}function _0x3493c7(_0x3ce9fa){return _0x5f4b79([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])in _0x3ce9fa;}const _0x45161a=[0x1,0x55,0x4e,0x73,0xc6,0xff,0x32,0x70,0x53,0x57,0xa1],_0x180c37=[0x7f,0x22,0x6,0xd3,0xa7,0x56,0x92,0xc7,0x84,0xa0,0x12];function _0x5ec6c3(_0x3d410b){const _0x43f03b=[0x1d,0xdd,0xaf,0x5a,0xe7,0x85,0xef,0xf0,0x4b,0xb4];return _0x2bc1a8(_0x3d410b,new Uint8Array([..._0x45161a,..._0x43f03b,..._0x180c37]));}function _0x2bc1a8(_0x2773ff,_0x5cbe8a){const _0x317a1a=_0x40dd23(_0x2773ff),_0x5bb493=Array[_0x5f4b79([0x66,0x72,0x6f,0x6d])](_0x391a37(_0x317a1a)),_0x1d937e=_0x5bb493[_0x5f4b79([0x70,0x6f,0x70])](),_0x5b69ee=_0x5bb493[_0x5f4b79([0x70,0x6f,0x70])]();return _0x944230(_0x5b8d6a(_0x5bb493,_0x5cbe8a,_0x5b69ee+0x100*_0x1d937e));}function _0x40dd23(_0x5eb3e9){const _0x4e70fe=atob(_0x5eb3e9),[_0x42c673,_0x30e05b]=_0x4e70fe[_0x5f4b79([0x73,0x70,0x6c,0x69,0x74])](_0x5f4b79([0x2d]));try{if(atob(_0x30e05b))return atob(_0x42c673);}catch(_0x23ec8a){}return _0x4e70fe;}function _0x33cefd(_0x210023){try{const _0x5cda21=_0x5ec6c3(_0x210023),_0x5ad90f=JSON[_0x5f4b79([0x70,0x61,0x72,0x73,0x65])](_0x5cda21),_0x156267=parseInt(_0x5ad90f[_0x5f4b79([0x31])]),_0x44a13e=_0x5ad90f[_0x5f4b79([0x32])]||'',_0x2c0767=parseInt(_0x5ad90f[_0x5f4b79([0x33])]),_0x4260ed=parseInt(_0x5ad90f[_0x5f4b79([0x34])])||0x0,_0x341fa3=parseInt(_0x5ad90f[_0x5f4b79([0x35])])||0x0;return{[_0x5f4b79([0x70,0x72,0x6f,0x64,0x75,0x63,0x74,0x4e,0x61,0x6d,0x65])]:_0x44a13e,[_0x5f4b79([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])]:_0x4260ed,[_0x5f4b79([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]:_0x156267,[_0x5f4b79([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]:_0x2c0767,[_0x5f4b79([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]:_0x341fa3};}catch(_0x2f94b9){return null;}}const _0x38ea33=_0x1286ae(),_0x4ba90d={[_0x5f4b79([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])]:_0x5dc4b2,[_0x5f4b79([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])]:_0x369835,[_0x5f4b79([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])]:_0x25afac},_0x329350=_0x22edd0[_0x5f4b79([0x63,0x6f,0x6e,0x73,0x74,0x72,0x75,0x63,0x74,0x6f,0x72])][_0x5f4b79([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])],_0x71c1da=_0x5f4b79([0x63,0x6f,0x6e,0x74,0x65,0x78,0x74])in _0x22edd0?_0x22edd0['context']:_0x22edd0['editor'],_0x452af4=_0x5f4b79([0x34,0x30,0x34,0x38,0x31,0x30,0x33,0x32]),_0x2852aa=_0x5f4b79([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]),_0x5b1be9=_0x71c1da['config']['get'](_0x5f4b79([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x3c88b9=_0x38ea33[_0x5f4b79([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3493c7)[_0x5f4b79([0x66,0x69,0x6e,0x64])](_0x4778fc=>_0x4778fc[_0x5f4b79([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]===_0x329350);function _0x58f2bc(_0x2b994f,_0x153802){_0x4ba90d[_0x153802[_0x5f4b79([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]](_0x2b994f,_0x153802),_0x153802[_0x5f4b79([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x153802[_0x5f4b79([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])][_0x5f4b79([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2bebf9=>_0xb29146(_0x71c1da,_0x2bebf9[_0x5f4b79([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))[_0x5f4b79([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x4b7f45=>_0x58f2bc(_0x2b994f,_0x4b7f45));}function _0x5dc4b2(_0x499101,_0x3ba13f){_0x21892c(_0x5ce669(_0x499101,_0x3ba13f),_0x3ba13f);}function _0x369835(_0x19d79a,_0x5919b1){function _0x4df2ec(_0x53a966,_0x4696d4){try{if(_0xb29146(_0x71c1da,_0x5f4b79([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))&&_0x53a966){const _0x270ace=_0x3f9bec(_0x71c1da,_0x5f4b79([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))[_0x5f4b79([0x5f,0x65,0x78,0x65,0x63,0x75,0x74,0x65,0x53,0x75,0x67,0x67,0x65,0x73,0x74,0x69,0x6f,0x6e])];if(parseInt(_0x270ace)/0x2>_0x53a966[_0x5f4b79([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])])return _0x27af34(_0x4696d4[_0x5f4b79([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5f4b79([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}return _0x5ce669(_0x53a966,_0x4696d4);}catch(_0x318161){return _0x27af34(_0x4696d4[_0x5f4b79([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5f4b79([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}_0x21892c(_0x4df2ec(_0x19d79a,_0x5919b1),_0x5919b1);}function _0x25afac(_0x14e051,_0x2ebb72){const _0x408b4a=_0x180c37[0x0]*_0x45161a[0x1],_0x1880e6=_0x180c37[0x0]*_0x45161a[0x2],_0x58b0e8=_0x180c37[0x2]*_0x45161a[0x2];_0xb29146(_0x71c1da,_0x5f4b79([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x3f9bec(_0x71c1da,_0x5f4b79([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x5f4b79([0x73,0x74,0x61,0x74,0x65])]==_0x5f4b79([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&(window[_0x2a74d0()]=_0x58b0e8);function _0x820051(_0xe154c0,_0x2c62f0){try{return _0x57f448()?_0x27af34(_0x2c62f0[_0x5f4b79([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5f4b79([0x56,0x61,0x6c,0x69,0x64])):_0x5ce669(_0xe154c0,_0x2c62f0);}catch(_0x13f2aa){return _0x27af34(_0x2c62f0[_0x5f4b79([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5f4b79([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0xbd3f4a(_0x94a554,_0xe65782){const _0xf3d549=0x7;if(_0x94a554==_0xe65782[_0x5f4b79([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5f4b79([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]))_0x20939d();else{if(_0x94a554==_0xe65782[_0x5f4b79([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5f4b79([0x54,0x72,0x69,0x61,0x6c])){const _0x304168=_0x183f43();_0x304168&&_0x4680ba(_0x304168,_0xe65782[_0x5f4b79([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);const _0x56242b=_0x486261();window[_0x5f4b79([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x4680ba(_0x5f4b79([0x74,0x69,0x6d,0x65]),_0xe65782[_0x5f4b79([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);},_0x56242b);const _0xe37ffd=_0x3f9bec(_0x71c1da,_0x5f4b79([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x5f4b79([0x5f,0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73])];_0xe37ffd[_0x5f4b79([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0xf3d549?_0x4680ba(_0x5f4b79([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0xe65782[_0x5f4b79([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]):_0xe37ffd['on'](_0x5f4b79([0x61,0x64,0x64]),()=>{_0xe37ffd[_0x5f4b79([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0xf3d549&&_0x4680ba(_0x5f4b79([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0xe65782[_0x5f4b79([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);});}}}function _0x183f43(){if(!_0xb29146(_0x71c1da,_0x5f4b79([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x54087a in window)if(Number['isNaN'](Number(_0x54087a))){if(window[_0x54087a]===_0x408b4a)return _0x5f4b79([0x74,0x69,0x6d,0x65]);if(window[_0x54087a]===_0x1880e6)return _0x5f4b79([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]);}return!0x1;}function _0x57f448(){if(!_0xb29146(_0x71c1da,_0x5f4b79([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x2b8f44 in window)if(Number['isNaN'](Number(_0x2b8f44))&&window[_0x2b8f44]===_0x58b0e8)return!0x0;return!0x1;}function _0x4680ba(_0x4c213f,_0x5eb688){_0x20939d(),_0x27af34(_0x5eb688+_0x5f4b79([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a])+_0x4c213f),window[_0x2a74d0()]=_0x4c213f===_0x5f4b79([0x74,0x69,0x6d,0x65])?_0x408b4a:_0x1880e6;}function _0x486261(){let _0x4a8155=_0x180c37[0x6]*_0x45161a[0x8]*_0x45161a[0x6];return _0xb29146(_0x71c1da,_0x5f4b79([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x4a8155/=0xa),_0x4a8155;}function _0x20939d(){const _0x144790=_0x71c1da;function _0x4f4849(){_0xb29146(_0x144790,_0x5f4b79([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&(_0x3f9bec(_0x144790,_0x5f4b79([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x5f4b79([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x5f4b79([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x3f9bec(_0x144790,_0x5f4b79([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x5f4b79([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x3f9bec(_0x144790,_0x5f4b79([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x5f4b79([0x75,0x70,0x64,0x61,0x74,0x65])]=_0x52eeea,_0x3f9bec(_0x144790,_0x5f4b79([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x5f4b79([0x73,0x61,0x76,0x65,0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e])]=_0x52eeea,_0x144790[_0x5f4b79([0x6d,0x6f,0x64,0x65,0x6c])][_0x5f4b79([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x52eeea,_0x144790[_0x5f4b79([0x6d,0x6f,0x64,0x65,0x6c])][_0x5f4b79([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x52eeea,_0x144790[_0x5f4b79([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x5f4b79([0x6d,0x6f,0x64,0x65,0x6c]))),_0xb29146(_0x144790,_0x5f4b79([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x3f9bec(_0x144790,_0x5f4b79([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x5f4b79([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x5f4b79([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x3f9bec(_0x144790,_0x5f4b79([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x5f4b79([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x3f9bec(_0x144790,_0x5f4b79([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x5f4b79([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])]=_0x52eeea,_0x3f9bec(_0x144790,_0x5f4b79([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x5f4b79([0x5f,0x67,0x65,0x74,0x44,0x69,0x66,0x66])]=_0x52eeea);}_0x144790[_0x5f4b79([0x73,0x74,0x61,0x74,0x65])]==_0x5f4b79([0x72,0x65,0x61,0x64,0x79])?_0x4f4849():_0x144790[_0x5f4b79([0x6f,0x6e,0x63,0x65])](_0x5f4b79([0x72,0x65,0x61,0x64,0x79]),()=>{if(_0xb29146(_0x144790,_0x5f4b79([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&_0x4f4849(),_0xb29146(_0x144790,_0x5f4b79([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))){const _0x298efc=_0x3f9bec(_0x144790,_0x5f4b79([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79])),_0x5bf678=_0x298efc['getRevision'](0x0),_0x3f036d=_0x298efc['getEarlierVisibleRevision'](_0x5bf678[_0x5f4b79([0x69,0x64])]);_0x3f9bec(_0x144790,_0x5f4b79([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x5f4b79([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])](_0x5bf678[_0x5f4b79([0x69,0x64])],_0x3f036d?_0x3f036d[_0x5f4b79([0x69,0x64])]:null,0x1)['then'](()=>_0x4f4849());}});}_0xbd3f4a(_0x820051(_0x14e051,_0x2ebb72),_0x2ebb72);}function _0x5ce669(_0x43e03a,_0x376897){try{return _0x1f18c3(_0x376897)?_0x27af34(_0x376897[_0x5f4b79([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5f4b79([0x56,0x61,0x6c,0x69,0x64])):_0x43e03a&&_0x2776c2(_0x43e03a[_0x5f4b79([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])],_0x376897)?_0x43e03a[_0x5f4b79([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]&&!window[_0x5f4b79([0x6f,0x70,0x65,0x6e])][_0x5f4b79([0x63,0x6c,0x6f,0x73,0x65,0x64])]||parseInt(_0x452af4)/0x2>_0x43e03a[_0x5f4b79([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]?_0x27af34(_0x376897[_0x5f4b79([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5f4b79([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])):_0x43e03a[_0x5f4b79([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]?_0x27af34(_0x376897[_0x5f4b79([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5f4b79([0x54,0x72,0x69,0x61,0x6c])):_0x27af34(_0x376897[_0x5f4b79([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5f4b79([0x56,0x61,0x6c,0x69,0x64])):_0x27af34(_0x376897[_0x5f4b79([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5f4b79([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}catch(_0x573332){return _0x27af34(_0x376897[_0x5f4b79([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5f4b79([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x21892c(_0x62b009,_0x271136){if(_0x71c1da instanceof _0x4c8488){const _0x423348=_0x71c1da;_0x62b009==_0x271136[_0x5f4b79([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5f4b79([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x357735(_0x423348):_0x62b009==_0x271136[_0x5f4b79([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5f4b79([0x54,0x72,0x69,0x61,0x6c])&&window[_0x5f4b79([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x357735(_0x423348),_0x27af34(_0x271136[_0x5f4b79([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5f4b79([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65]));},_0x180c37[0x6]*_0x45161a[0x8]*_0x45161a[0x6]),_0x423348[_0x5f4b79([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])][_0x5f4b79([0x6f,0x6e])](_0x5f4b79([0x61,0x64,0x64]),(_0x1ca204,_0x22016d)=>{_0x62b009!=_0x271136[_0x5f4b79([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5f4b79([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])&&_0x62b009!=_0x271136[_0x5f4b79([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5f4b79([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65])&&_0x62b009!=_0x271136[_0x5f4b79([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5f4b79([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])||_0x1c4186(_0x22016d);});}else{const _0x5ac44e=_0x71c1da;_0x62b009==_0x271136[_0x5f4b79([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5f4b79([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x1c4186(_0x5ac44e):_0x62b009==_0x271136[_0x5f4b79([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5f4b79([0x54,0x72,0x69,0x61,0x6c])&&_0x5ac44e[_0x5f4b79([0x6f,0x6e])](_0x5f4b79([0x72,0x65,0x61,0x64,0x79]),()=>{let _0x3e7e89=0x0;_0x5ac44e[_0x5f4b79([0x6d,0x6f,0x64,0x65,0x6c])][_0x5f4b79([0x6f,0x6e])](_0x5f4b79([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0xd0a4b,_0x5c8ab9)=>{_0x5c8ab9[0x0][_0x5f4b79([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x3e7e89++,0x1f8===_0x3e7e89&&(_0x1c4186(_0x5ac44e),_0x27af34(_0x271136[_0x5f4b79([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5f4b79([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])),_0xd0a4b[_0x5f4b79([0x6f,0x66,0x66])]());},{'priority':_0x5f4b79([0x68,0x69,0x67,0x68,0x65,0x73,0x74])});});}}function _0x27af34(_0x37b604){const _0x3e487a=_0x2a74d0();return _0x71c1da[_0x3e487a]=_0x37b604,_0x37b604;}function _0x2a74d0(){const _0x1d63b1=String(window[_0x5f4b79([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x5f4b79([0x6e,0x6f,0x77])]())[_0x5f4b79([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x5f4b79([0x2e]),'');let _0x344e19='';for(let _0x357fd7=0x0;_0x357fd7<_0x1d63b1[_0x5f4b79([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x357fd7+=0x2){let _0x5cfcac=parseInt(_0x1d63b1[_0x5f4b79([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x357fd7,_0x357fd7+0x2));_0x5cfcac>=_0x2852aa[_0x5f4b79([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x5cfcac-=_0x2852aa[_0x5f4b79([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x344e19+=_0x2852aa[_0x5cfcac];}return _0x344e19;}function _0x357735(_0xe48fa2){for(const _0x409dfb of _0xe48fa2[_0x5f4b79([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])])_0x1c4186(_0x409dfb);_0x3f9bec(_0xe48fa2,_0x5f4b79([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x5f4b79([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])](!0x0),_0x3f9bec(_0xe48fa2,_0x5f4b79([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x5f4b79([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])]=_0x52eeea;}function _0x1c4186(_0x2c036d){function _0x1f91d9(){_0x2c036d[_0x5f4b79([0x6d,0x6f,0x64,0x65,0x6c])][_0x5f4b79([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x52eeea,_0x2c036d[_0x5f4b79([0x6d,0x6f,0x64,0x65,0x6c])][_0x5f4b79([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x52eeea,_0x2c036d[_0x5f4b79([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x5f4b79([0x6d,0x6f,0x64,0x65,0x6c]));}_0x2c036d[_0x5f4b79([0x73,0x74,0x61,0x74,0x65])]==_0x5f4b79([0x72,0x65,0x61,0x64,0x79])?_0x1f91d9():_0x2c036d[_0x5f4b79([0x6f,0x6e,0x63,0x65])](_0x5f4b79([0x72,0x65,0x61,0x64,0x79]),()=>_0x1f91d9());}function _0x52eeea(){return null;}function _0x2776c2(_0x494dcd,_0x534a05){const _0x514b6e=!!(_0x494dcd&_0x534a05[_0x5f4b79([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]),_0x4acb10=_0x6fa3f1(_0x494dcd,_0x534a05);return _0x514b6e||_0x4acb10;}function _0x6fa3f1(_0x3924bd,_0x1188e7){const _0xb77ab9=(_0x1188e7[_0x5f4b79([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{})[_0x5f4b79([0x66,0x67,0x69])]||null;return!!_0xb77ab9&&_0x38ea33[_0x5f4b79([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x44c54a=>_0xb77ab9[_0x5f4b79([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x44c54a[_0x5f4b79([0x69,0x64])]))[_0x5f4b79([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5e590d=>!_0xc8009a(_0x5e590d))[_0x5f4b79([0x73,0x6f,0x6d,0x65])](_0x1b3d6d=>!!(_0x3924bd&_0x1b3d6d[_0x5f4b79([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]));}function _0xc8009a(_0x3e6218){const _0xda967={[_0x5f4b79([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])]:_0x454eb7};return!!_0x3e6218['forbiddenHandler']&&_0xda967[_0x3e6218['forbiddenHandler']]();}function _0x454eb7(){return!window[_0x5f4b79([0x44,0x72,0x75,0x70,0x61,0x6c])]||!_0xb29146(_0x71c1da,_0x5f4b79([0x64,0x72,0x75,0x70,0x61,0x6c,0x50,0x6f,0x77,0x65,0x72,0x65,0x64,0x42,0x79]));}function _0x1f18c3(_0x328de2){if(!_0xb29146(_0x71c1da,_0x328de2[_0x5f4b79([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))return!0x0;const _0x386afe=_0x328de2[_0x5f4b79([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{},_0x28c283=_0x386afe[_0x5f4b79([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]||!0x1,_0x47f5d6=_0x386afe[_0x5f4b79([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]||!0x1,_0x3bd9d3=_0x386afe[_0x5f4b79([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]||!0x1;if(_0xb29146(_0x71c1da,_0x5f4b79([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x3f9bec(_0x71c1da,_0x5f4b79([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x5f4b79([0x73,0x74,0x61,0x74,0x65])]==_0x5f4b79([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&_0x28c283)return!0x0;if(_0xb29146(_0x71c1da,_0x5f4b79([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))&&_0x3f9bec(_0x71c1da,_0x5f4b79([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))[_0x5f4b79([0x72,0x65,0x73,0x75,0x6c,0x74])]==_0x5f4b79([0x65,0x6e,0x64])&&_0x47f5d6)return!0x0;return!(!_0xb29146(_0x71c1da,_0x5f4b79([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]))||_0x3f9bec(_0x71c1da,_0x5f4b79([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]))[_0x5f4b79([0x72,0x65,0x73,0x75,0x6c,0x74])]!=_0x5f4b79([0x65,0x6e,0x64])||!_0x3bd9d3);}function _0xb29146(_0x281cab,_0x38911a){return _0x281cab[_0x5f4b79([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x5f4b79([0x68,0x61,0x73])](_0x38911a);}function _0x3f9bec(_0xb66c9e,_0x560fcb){return _0xb66c9e[_0x5f4b79([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x5f4b79([0x67,0x65,0x74])](_0x560fcb);}function _0x944230(_0x5b3ef2){let _0x4cdfb4='';for(const _0x1a5ba9 of _0x5b3ef2)_0x4cdfb4+=String[_0x5f4b79([0x66,0x72,0x6f,0x6d,0x43,0x68,0x61,0x72,0x43,0x6f,0x64,0x65])](_0x1a5ba9);return _0x4cdfb4;}function _0x391a37(_0x4a42ab){const _0x5a2e74=new Uint8Array(_0x4a42ab[_0x5f4b79([0x6c,0x65,0x6e,0x67,0x74,0x68])]);for(let _0x5d0cad=0x0;_0x5d0cad<_0x4a42ab[_0x5f4b79([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5d0cad++)_0x5a2e74[_0x5d0cad]=_0x4a42ab[_0x5f4b79([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x5d0cad);return _0x5a2e74;}_0x3c88b9&&_0x58f2bc(_0x33cefd(_0x5b1be9),_0x3c88b9);})(_0x52ec71);}(this);}['createRevision'](_0x1d0d27){const _0x48fb3c=this['editor']['plugins']['get']('Users');return new a({'id':_0x1d0d27['id'],'name':_0x1d0d27['name'],'creator':_0x1d0d27['creatorId']?_0x48fb3c['getUser'](_0x1d0d27['creatorId']):null,'diffData':_0x1d0d27['diffData']||_0x1d0d27['data'],'authors':_0x1d0d27['authorsIds']['map'](_0x3e796e=>_0x48fb3c['getUser'](_0x3e796e)),'createdAt':new Date(_0x1d0d27['createdAt']),'attributes':_0x1d0d27['attributes'],'fromVersion':_0x1d0d27['fromVersion'],'toVersion':_0x1d0d27['toVersion']});}['addRevision'](_0x12c6d1,_0x512d2f=0x0){this['_revisions']['add'](_0x12c6d1,_0x512d2f);}['getRevision'](_0x1c2c86){return this['_revisions']['get'](_0x1c2c86);}['getRevisions'](_0x554469={'toJSON':!0x1}){const _0x420bb0=Array['from'](this['_revisions']);return _0x420bb0['reverse'](),_0x554469['toJSON']?_0x420bb0['map'](_0x41e6bd=>_0x41e6bd['toJSON']()):_0x420bb0;}['getIndex'](_0x52b8d8){return this['_revisions']['getIndex'](_0x52b8d8);}['getEarlierVisibleRevision'](_0x316a79){const [,_0x1d49f5]=this['getRevisionsIterator'](_0x316a79,{'direction':'earlier'});return _0x1d49f5;}['getLaterVisibleRevision'](_0x4beaff){const [,_0x5d3a14]=this['getRevisionsIterator'](_0x4beaff,{'direction':'later'});return _0x5d3a14;}['getRevisionsInDiff'](_0x46e592){const _0x11c05d=[];for(const _0x366e77 of this['getRevisionsIterator'](_0x46e592['newRevisionId']))if(_0x11c05d['push'](_0x366e77),_0x366e77['id']===_0x46e592['oldRevisionId'])break;return _0x11c05d;}*['getRevisionsIterator'](_0x462b33,{direction:_0x41b1d6='earlier',filter:_0x59b402=_0x506cc7=>!0x0}={}){const _0x103ad7='earlier'===_0x41b1d6?0x1:-0x1;let _0x48fa5e=this['_revisions']['get'](_0x462b33),_0x20bf1c=this['getIndex'](_0x48fa5e);for(yield _0x48fa5e;_0x48fa5e;){if(_0x20bf1c+=_0x103ad7,_0x48fa5e=this['getRevision'](_0x20bf1c),!_0x48fa5e)return;_0x59b402(_0x48fa5e)&&(yield _0x48fa5e);}}}function y(_0xb0d67c,_0x39b3d9,_0xc1d3fa){const t=_0xb0d67c['t'];switch(_0x39b3d9){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'},_0xc1d3fa);case'X_OF_Y_CHANGES':return t({'string':'%0\x20of\x20%1','id':'X_OF_Y_CHANGES'},_0xc1d3fa);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':_0x365f1e,'a':_0x4533a2,'e':_0x5574c7,'r':_0xa666b3,'u':_0x105d63};class l extends _0x460216{['adapter'];['currentRevision'];['repository'];['_revisionDataBuilder'];['_source'];['_initialRevisionId'];['_bufferedUpdates'];['_pendingAction'];['_continueCurrentRevision'];['_startingVersion'];['_loadedStateData'];static get['pluginName'](){return'RevisionTracker';}static get['requires'](){return[_0x2fbebd,A,_0x3ed2c4];}constructor(_0x4a5d6b){super(_0x4a5d6b),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 _0x31445c=_0x411af8();this['_source']={'history':this['editor']['model']['document']['history'],'getLatestVersion':()=>Promise['resolve'](this['editor']['model']['document']['version']),'getCurrentRevisionId':()=>_0x31445c},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 _0x5231a0=this['repository']['getRevision'](0x0),_0x380547=_0x5231a0&&null===_0x5231a0['creator']?_0x5231a0:null;if(this['_continueCurrentRevision']=!!_0x380547&&this['editor']['config']['get']('revisionHistory.resumeUnsavedRevision'),this['editor']['plugins']['has']('RealTimeCollaborationClient')){const _0x2ca4be=this['_source']['getCurrentRevisionId'](),_0x3ba2e9=this['repository']['getRevision'](_0x2ca4be);if(_0x3ba2e9)this['_startingVersion']=_0x3ba2e9['fromVersion'],this['_continueCurrentRevision']=!0x1;else{const _0x6aa104=this['_source']['history']['_operations']['find'](_0x1c5579=>!_0x1c5579['_isInit']),_0xd934a4=_0x6aa104?_0x6aa104['baseVersion']:this['_source']['history']['version'];_0x5231a0?(_0x5231a0['toVersion']<_0xd934a4&&_0x5231a0['_update']({'toVersion':_0xd934a4}),this['_continueCurrentRevision']?(this['_source']['getCurrentRevisionId']=()=>_0x380547['id'],this['_startingVersion']=_0x380547['fromVersion']):(this['_startingVersion']=_0x5231a0['toVersion'],this['_continueCurrentRevision']=!0x1)):(this['_startingVersion']=_0xd934a4,this['_continueCurrentRevision']=!0x1);}}else _0x380547&&(this['editor']['model']['document']['history']['version']=Math['max'](_0x380547['toVersion'],this['editor']['model']['document']['history']['version']),_0x380547['fromVersion']===_0x380547['toVersion']?(0x0!==_0x380547['fromVersion']&&(this['_source']['getCurrentRevisionId']=()=>_0x380547['id']),this['_continueCurrentRevision']=!0x1):this['_continueCurrentRevision']&&(this['_source']['getCurrentRevisionId']=()=>_0x380547['id'],this['_startingVersion']=_0x380547['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',_0x2249ce=>!_0x2249ce);}async['afterInit'](){if(this['repository']['length']>0x0){const _0x4c487a=this['repository']['getRevision'](0x0),_0x1bdd4f=await this['getRevisionDocumentData'](_0x4c487a),_0x1177da=await this['getRevisionRootsAttributes'](_0x4c487a);this['_replaceEditorDataWithRevisionData'](_0x1bdd4f,_0x1177da);}}['setSource'](_0x2a116f){this['_source']=_0x2a116f;}async['update'](){const _0x44460f=await this['_source']['getLatestVersion']();if(_0x44460f>this['currentRevision']['toVersion']){await this['_loadState']();const _0x2d00c3=this['buildRevisionData']({'revision':this['currentRevision'],'to':_0x44460f});_0x2d00c3['authors']=_0x2d00c3['authorsIds']['map'](_0x4434b2=>this['editor']['plugins']['get']('Users')['getUser'](_0x4434b2)),this['currentRevision']['_update'](_0x2d00c3);}}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'](_0x170522={},_0xc86881=null){const _0x1d3aa4=[];await this['_loadState'](),this['_continueCurrentRevision']=!0x1,_0xc86881>this['currentRevision']['toVersion']&&(_0xc86881=null),null===_0xc86881&&(_0xc86881=await this['_source']['getLatestVersion']());const _0x31d4f6=this['_getFromVersion'](_0xc86881),_0x4dc07f=this['buildRevisionData']({'from':_0x31d4f6,'to':_0xc86881});if(this['currentRevision']['toVersion']<_0xc86881){const _0x226e81=this['buildRevisionData']({'revision':this['currentRevision'],'from':_0xc86881,'to':_0xc86881});_0x226e81['authors']=[],_0x226e81['authorsIds']=[],_0x226e81['id']=this['currentRevision']['id'],this['currentRevision']['_update'](_0x226e81,!0x0),delete _0x226e81['authors'],_0x1d3aa4['push'](_0x226e81);}_0x170522['creatorId']=this['editor']['plugins']['get']('Users')['me']['id'],_0x170522['name']=_0x170522['name']||null,_0x170522['id']=_0x170522['id']||_0x411af8(),_0x170522={..._0x170522,..._0x4dc07f};const _0x3314bb=this['addRevisionData'](_0x170522);_0x1d3aa4['push'](_0x170522);const _0x3e6ec7=this['repository']['getIndex'](_0x3314bb);if(0x0!==_0x3e6ec7){const _0x14164c=this['repository']['getRevision'](_0x3e6ec7-0x1);if(_0x14164c['fromVersion']!==_0xc86881){const _0x1fb334=this['_revisionDataBuilder']['getData'](_0xc86881,_0x14164c['toVersion']),_0x1484fe={'id':_0x14164c['id'],'diffData':_0x1fb334['diffData'],'authorsIds':_0x1fb334['authorsIds'],'authors':_0x1fb334['authorsIds']['map'](_0x14a6fd=>this['editor']['plugins']['get']('Users')['getUser'](_0x14a6fd)),'fromVersion':_0xc86881};_0x14164c===this['currentRevision']&&(_0x1484fe['createdAt']=new Date(_0x170522['createdAt']['getTime']()+0xa)),_0x14164c['_update'](_0x1484fe,!0x0),delete _0x1484fe['authors'],_0x1d3aa4['push'](_0x1484fe);}}if(this['adapter']){for(const _0x599650 of _0x1d3aa4)this['_bufferUpdate'](_0x599650['id'],_0x599650,!0x0);this['sendBufferedUpdates']();}return _0x3314bb;}['addRevisionData'](_0x2c1ddf){const _0x20c9d0=this['repository']['createRevision'](_0x2c1ddf);return this['adapter']&&_0x20c9d0['on']('_update',(_0x39b0b2,_0x55cc93,_0x260589)=>{_0x260589||(this['_bufferUpdate'](_0x55cc93['id'],_0x55cc93,!0x0),this['sendBufferedUpdates']());}),this['repository']['addRevision'](_0x20c9d0,this['_findInsertionIndex'](_0x20c9d0)),_0x20c9d0;}async['getRevisionDocumentData'](_0x11dcac){await this['_loadRevisionData'](_0x11dcac);const _0xd17051={};for(const _0x38a438 in _0x11dcac['diffData']){if(_0x11dcac['diffData'][_0x38a438]['attachChange']&&!_0x11dcac['diffData'][_0x38a438]['attachChange']['isAttached'])continue;const _0x284ef4=this['_removeRevisionMarkers'](JSON['parse'](_0x11dcac['diffData'][_0x38a438]['insertions'])),_0x30de4d=this['editor']['editing']['view']['document'],_0x4a416d=new _0x1a5418(_0x30de4d,_0x284ef4['map'](_0x16a76c=>B(_0x16a76c,this['editor'])));this['editor']['data']['processor']['useFillerType']('marked'),_0xd17051[_0x38a438]=this['editor']['data']['processor']['toData'](_0x4a416d),this['editor']['data']['processor']['useFillerType']('default');}return _0xd17051;}async['getRevisionRootsAttributes'](_0x3ad4ac){await this['_loadRevisionData'](_0x3ad4ac);const _0x55d58a={};for(const _0x558989 in _0x3ad4ac['diffData'])_0x3ad4ac['diffData'][_0x558989]['attachChange']&&!_0x3ad4ac['diffData'][_0x558989]['attachChange']['isAttached']||(_0x55d58a[_0x558989]=_0x3ad4ac['diffData'][_0x558989]['attributesAfter']||{});return _0x55d58a;}['sendBufferedUpdates'](){if(0x0===this['_bufferedUpdates']['size'])return;if(this['_isPendingUpdate'])return;let _0x354a37=Array['from'](this['_bufferedUpdates']['values']());this['_bufferedUpdates']['clear']();for(let _0x55fbe1=0x0;_0x55fbe1<_0x354a37['length'];_0x55fbe1++){const _0x4d6a17=_0x354a37[_0x55fbe1];let _0x1405b0=!0x1;for(const _0x485817 of Object['keys'](_0x4d6a17))void 0x0===_0x4d6a17[_0x485817]?delete _0x4d6a17[_0x485817]:'id'!==_0x485817&&(_0x1405b0=!0x0);_0x1405b0||(_0x354a37[_0x55fbe1]=null);}if(_0x354a37=_0x354a37['filter'](_0x30d1b2=>null!==_0x30d1b2),!_0x354a37['length'])return;for(let _0x22b2e1=0x0;_0x22b2e1<_0x354a37['length'];_0x22b2e1++){const _0x5168a0=_0x354a37[_0x22b2e1];void 0x0!==_0x5168a0['fromVersion']&&void 0x0===_0x5168a0['toVersion']&&(_0x5168a0['toVersion']=this['repository']['getRevision'](_0x5168a0['id'])['toVersion']),void 0x0!==_0x5168a0['toVersion']&&void 0x0===_0x5168a0['fromVersion']&&(_0x5168a0['fromVersion']=this['repository']['getRevision'](_0x5168a0['id'])['fromVersion']);}const _0x505771=this['editor']['config']['get']('collaboration.channelId');this['_isPendingUpdate']=!0x0,this['_addPendingAction'](),this['adapter']['updateRevisions'](_0x354a37,_0x505771)['finally'](()=>{this['_isPendingUpdate']=!0x1;})['then'](_0x39e8be=>{if(_0x39e8be){for(const _0x4328f4 of _0x39e8be)this['setRevisionData']({'id':_0x4328f4['id'],'createdAt':_0x4328f4['createdAt']});}this['_removePendingAction'](),this['sendBufferedUpdates']();});}['_replaceEditorDataWithRevisionData'](_0x5ea805,_0x34d9b5){let _0x56e2c3=this['editor']['config']['get']('initialData'),_0x185ed4=this['editor']['config']['get']('rootsAttributes');if(void 0x0===_0x56e2c3){_0x56e2c3={};for(const _0xadbdd0 of this['editor']['model']['document']['getRootNames']())_0x56e2c3[_0xadbdd0]='';}if('string'==typeof _0x56e2c3&&(_0x56e2c3={'main':_0x56e2c3}),void 0x0===_0x185ed4){_0x185ed4={};for(const _0x1bbf5a of this['editor']['model']['document']['getRootNames']())_0x185ed4[_0x1bbf5a]={};}let _0x4d8170=!0x1;const _0x565a48=Object['keys'](_0x56e2c3),_0x3bf5c9=Object['keys'](_0x5ea805);for(const _0x2d3e84 of _0x565a48){if(_0x56e2c3[_0x2d3e84]!==_0x5ea805[_0x2d3e84]&&''!==_0x56e2c3[_0x2d3e84]['trim']()){_0x4d8170=!0x0;break;}if(!_0x820ff9(_0x185ed4[_0x2d3e84],_0x34d9b5[_0x2d3e84])&&Object['keys'](_0x185ed4[_0x2d3e84])['length']>0x0){_0x4d8170=!0x0;break;}}_0x4d8170||(_0x4d8170=_0x3bf5c9['some'](_0x724565=>!this['editor']['model']['document']['getRoot'](_0x724565))),_0x4d8170&&_0x494e13('editor-initial-data-replaced-with-revision-data',{'editorData':_0x56e2c3,'editorRootsAttributes':_0x185ed4,'revisionData':_0x5ea805,'revisionRootsAttributes':_0x34d9b5}),this['editor']['config']['set']('initialData',_0x5ea805),this['editor']['config']['set']('rootsAttributes',_0x34d9b5);}['_addPendingAction'](){if(!this['_pendingAction']){const _0x282048=this['editor']['plugins']['get']('PendingActions');this['_pendingAction']=_0x282048['add'](y(this['editor']['locale'],'PENDING_ACTION_REVISION_HISTORY'));}}['_removePendingAction'](){this['_pendingAction']&&(this['editor']['plugins']['get']('PendingActions')['remove'](this['_pendingAction']),this['_pendingAction']=null);}['_findInsertionIndex'](_0x3aa790){const _0x15a26f=this['repository']['getRevisions']();_0x15a26f['reverse']();let _0x1e757b=0x0;for(;_0x1e757b<_0x15a26f['length'];){const _0xb5c404=_0x15a26f[_0x1e757b];if(_0xb5c404===this['currentRevision']){_0x1e757b++;continue;}if(_0xb5c404['id']===this['_initialRevisionId'])break;const _0x5a55de=_0x3aa790['toVersion']-_0xb5c404['toVersion']||_0x3aa790['fromVersion']-_0xb5c404['fromVersion'];if(_0x5a55de>0x0)break;if(_0x5a55de<0x0)_0x1e757b++;else{if(!_0x3aa790['creator']&&_0xb5c404['creator'])break;if(_0xb5c404['creator']||!_0x3aa790['creator']){if(_0x3aa790['createdAt']>_0xb5c404['createdAt'])break;_0x1e757b++;}else _0x1e757b++;}}return _0x1e757b;}['setRevisionData'](_0x10fc78){const _0x4458a0=this['repository']['getRevision'](_0x10fc78['id']);if(_0x10fc78['createdAt']&&(_0x10fc78['createdAt']=new Date(_0x10fc78['createdAt'])),_0x10fc78['authorsIds']){const _0x6c51cb=this['editor']['plugins']['get']('Users');_0x10fc78['authors']=_0x10fc78['authorsIds']['map'](_0x150320=>_0x6c51cb['getUser'](_0x150320));}_0x4458a0['_update'](_0x10fc78,!0x0);}['buildRevisionData']({revision:_0x2befe9=null,from:_0x409e49=null,to:_0x309f95=null}){_0x409e49=null!==_0x409e49?_0x409e49:_0x2befe9['fromVersion'],_0x309f95=null!==_0x309f95?_0x309f95:_0x2befe9['toVersion'];const _0x3e0069=this['_revisionDataBuilder']['getData'](_0x409e49,_0x309f95),_0x444333={'diffData':_0x3e0069['diffData'],'authorsIds':_0x3e0069['authorsIds'],'fromVersion':_0x409e49,'toVersion':_0x309f95};if(!_0x2befe9||_0x309f95!==_0x2befe9['toVersion']){const _0xc201b7=_0x309f95-0x1,_0x5d0631=this['_source']['history']['getOperation'](_0xc201b7);_0x444333['createdAt']=_0x5d0631&&_0x5d0631['createdAt']||new Date();}if(this['_loadedStateData']&&_0x409e49===this['_loadedStateData']['fromVersion']){for(const _0x8d19a2 of this['_loadedStateData']['authors'])_0x444333['authorsIds']['includes'](_0x8d19a2['id'])||_0x444333['authorsIds']['push'](_0x8d19a2['id']);}return _0x444333;}['_loadRevisionData'](_0xffbe61){if(!_0xffbe61||_0xffbe61['diffData'])return Promise['resolve']();{const _0x548804=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0x548804,'revisionId':_0xffbe61['id']})['then'](_0x414d53=>{_0xffbe61['diffData']=_0x414d53['diffData'];});}}['_bufferUpdate'](_0x853337,_0x492dcc,_0x9c94ab){if(this['_bufferedUpdates']['has'](_0x853337)){const _0x883844=this['_bufferedUpdates']['get'](_0x853337);_0x492dcc=_0x9c94ab?{..._0x883844,..._0x492dcc}:{..._0x492dcc,..._0x883844};}this['_bufferedUpdates']['set'](_0x853337,_0x492dcc);}['_getFromVersion'](_0x5d913e){const _0x1570d4=this['repository']['getRevisions']();_0x1570d4['reverse'](),_0x1570d4['shift']();const _0x3d129f=_0x1570d4['find'](_0x51406d=>_0x51406d['toVersion']<=_0x5d913e)['toVersion'];return _0x3d129f<this['_startingVersion']?this['_startingVersion']:_0x3d129f;}['_createInitialRevision'](_0x289e0e){const _0x1c2c5f=this['repository']['getRevision'](this['repository']['length']-0x1);if(_0x1c2c5f)this['_initialRevisionId']=_0x1c2c5f['id'];else{const _0x4c3a29=!this['editor']['model']['document']['roots']['find'](_0x144622=>this['editor']['model']['hasContent'](_0x144622)),_0x350ac1=this['editor']['plugins']['get']('Users')['me']['id'],_0x633c9=y(this['editor']['locale'],_0x4c3a29?'Empty\x20document':'Initial\x20revision');this['_makeRevision']({'from':_0x289e0e,'to':_0x289e0e,'id':this['_initialRevisionId'],'name':_0x633c9,'creatorId':_0x350ac1});}}['_createCurrentRevision'](_0x1bdce9){const _0x33ca36=this['_source']['getCurrentRevisionId']();this['currentRevision']=this['repository']['getRevision'](_0x33ca36),this['currentRevision']||(this['currentRevision']=this['_makeRevision']({'from':_0x1bdce9,'to':_0x1bdce9,'id':_0x33ca36,'name':'','creatorId':null}));}['_makeRevision']({name:_0x330206,from:_0x2dfe25,to:_0x13876f,creatorId:_0xcf10f5,id:_0x590f70}){const _0x1689bc=this['buildRevisionData']({'from':_0x2dfe25,'to':_0x13876f});_0x1689bc['name']=_0x330206,_0x1689bc['creatorId']=_0xcf10f5,_0x1689bc['id']=_0x590f70;const _0xe75cab=this['addRevisionData'](_0x1689bc);return this['adapter']&&this['_bufferUpdate'](_0x1689bc['id'],_0x1689bc,!0x0),_0xe75cab;}['_setConversion'](){this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'});}['_removeRevisionMarkers'](_0x59dea1){return(_0x59dea1=_0x59dea1['filter'](_0x42666d=>!_0x42666d['name']||'revision-start'!==_0x42666d['name']&&'revision-end'!==_0x42666d['name']))['forEach'](_0x203fa0=>{'string'!=typeof _0x203fa0&&(_0x203fa0['children']=this['_removeRevisionMarkers'](_0x203fa0['children']),_0x203fa0['attributes']=_0x203fa0['attributes']['filter'](_0x3659b0=>!_0x3659b0[0x0]['startsWith']('data-revision-')));}),_0x59dea1;}}function B(_0x224723,_0x51e4d8){const _0x6fb7f9=_0x51e4d8['editing']['view']['document'];if('string'==typeof _0x224723)return new _0x32a2e8(_0x6fb7f9,_0x224723);{const _0x355fe4=_0x224723['children']['map'](_0x5aead0=>B(_0x5aead0,_0x51e4d8));return new(T[_0x224723['type']]||_0x47610d)(_0x6fb7f9,_0x224723['name'],_0x224723['attributes'],_0x355fe4);}}class J{['editor'];['source'];['_savedMetaData'];['_lastFrom'];['_lastTo'];['_markers'];['_diffRoots'];['_diffRootsAttributes'];['_baseRoots'];['_baseRootsAttributes'];['_idsRoots'];['_baseIdsRoots'];['_touched'];['_touchedMarkers'];['_touchedRoots'];['_revisionId'];['_startingRevisionId'];constructor(_0x2d7fa0){this['editor']=_0x2d7fa0,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'](_0x1e51b5){this['source']=_0x1e51b5;const _0x43b579=new Map(),_0x3a1624=new Map(),_0x2ed170=this['editor']['model']['document']['roots']['map'](_0x5a5911=>_0x5a5911['rootName']);for(const _0x39eca4 of _0x2ed170){const _0x1ba92f=this['editor']['model']['document']['getRoot'](_0x39eca4),_0x30a19c=q(_0x1ba92f);_0x43b579['set'](_0x39eca4,_0x30a19c),_0x3a1624['set'](_0x39eca4,Object['fromEntries'](_0x1ba92f['getAttributes']()));}const _0x1ecf6f=Array['from'](this['editor']['model']['markers'])['map'](_0x50a2a8=>[_0x50a2a8['name'],_0x50a2a8['getRange']()]),_0x24c179=this['source']['version'];this['_saveMetaData'](_0x24c179,_0x43b579,_0x1ecf6f,_0x3a1624),this['_startingRevisionId']=this['_revisionId'];const _0x1021a3=new Map(),_0x1542c0=new Map();for(const _0x2999a1 of _0x2ed170){const _0xd9addb=G(_0x2999a1);_0x1021a3['set'](_0x2999a1,_0xd9addb),_0x1542c0['set'](_0x2999a1,{});}this['_saveMetaData'](Number['NEGATIVE_INFINITY'],_0x1021a3,[],_0x1542c0);}['getData'](_0x19b219,_0x3d1d79){if(this['_lastFrom']===_0x19b219&&this['_lastTo']<=_0x3d1d79)this['_savedMetaData']['size']>0x1&&this['_removeMetaData'](this['_lastTo']),this['_applyOperations'](this['_lastTo'],_0x3d1d79,!0x0);else{if(!this['_savedMetaData']['has'](_0x19b219)){const _0x49133d=this['_getPreviousFrom'](_0x19b219);this['_calculateMetaData'](_0x49133d,_0x19b219,!0x1);}this['_calculateMetaData'](_0x19b219,_0x3d1d79,!0x0);}return this['_lastFrom']=_0x19b219,this['_lastTo']=_0x3d1d79,this['_getState']();}['loadState'](_0x3dc341){this['_reset'](),this['_lastFrom']=_0x3dc341['fromVersion'],this['_lastTo']=_0x3dc341['toVersion'];for(const _0x52e090 in _0x3dc341['diffData']){const _0x3f0da7=_0x3dc341['diffData'][_0x52e090]['attachChange'],_0x2a308a=_0x4e6aba(_0x3dc341['diffData'][_0x52e090]['attributesBefore'])||{},_0x29b8b2=this['_makeModelFromViewString'](_0x3dc341['diffData'][_0x52e090]['deletions']);_0x29b8b2['rootName']=_0x52e090,_0x29b8b2['_isAttached']=!_0x3f0da7||!_0x3f0da7['isAttached'],_0x29b8b2['isAttached']=()=>_0x29b8b2['_isAttached'],this['_baseRoots']['set'](_0x52e090,_0x29b8b2),this['_baseRootsAttributes']['set'](_0x52e090,_0x2a308a),_0x3f0da7&&this['_touchedRoots']['set'](_0x52e090,_0x3f0da7);const _0x2658ff=this['_makeIdsRoot'](_0x29b8b2);this['_baseIdsRoots']['set'](_0x52e090,_0x2658ff);for(const [_0x264023,_0x5a4fe9]of _0x29b8b2['markers']){if(!_0x264023['startsWith']('revision:'))continue;const _0x3f0509=_0x264023['split'](':')[0x2];for(const _0x2cee6f of _0x5a4fe9['getWalker']({'singleCharacters':!0x0})){const _0x99fca8=this['_getVidAttributeName'](_0x2cee6f),_0x1ea13d='elementEnd'==_0x2cee6f['type']?_0x2cee6f['previousPosition']['path']['slice'](0x0,-0x1):_0x2cee6f['previousPosition']['path'],_0x510867=_0x2658ff['getNodeByPath'](_0x1ea13d)['getAttribute'](_0x99fca8);this['_touched']['set'](_0x510867,{'userId':_0x3f0509});}}}this['_startingRevisionId']=this['_revisionId'];const _0x82b4e4=[...Array(this['_revisionId'])['keys']()]['slice'](0x1)['filter'](_0x219251=>!this['_touched']['has'](_0x219251));let _0x26cb41=0x0;const _0x589e32=new Map();for(const _0x49b719 in _0x3dc341['diffData']){const _0x48291e=_0x3dc341['diffData'][_0x49b719]['attachChange'],_0x17d078=_0x4e6aba(_0x3dc341['diffData'][_0x49b719]['attributesAfter'])||{},_0x4914d7=this['_makeModelFromViewString'](_0x3dc341['diffData'][_0x49b719]['insertions']);_0x4914d7['rootName']=_0x49b719,_0x4914d7['_isAttached']=!_0x48291e||_0x48291e['isAttached'],_0x4914d7['isAttached']=()=>_0x4914d7['_isAttached'],this['_diffRoots']['set'](_0x49b719,_0x4914d7),this['_diffRootsAttributes']['set'](_0x49b719,_0x17d078);const _0x4a132a=this['_makeIdsRoot'](_0x4914d7,Number['NEGATIVE_INFINITY']);this['_idsRoots']['set'](_0x49b719,_0x4a132a),_0x589e32['set'](_0x49b719,_0x4914d7['isAttached']()?_0x17d078:{});for(const [_0x4d5677,_0x547fa6]of _0x4914d7['markers']){if(!_0x4d5677['startsWith']('revision:'))continue;const _0x217356=_0x4d5677['split'](':')[0x2];for(const _0x4a2ff4 of _0x547fa6['getWalker']({'singleCharacters':!0x0})){const _0x46fee2=this['_getVidAttributeName'](_0x4a2ff4),_0x33a1a6=this['_revisionId']++,_0x55f27e='elementEnd'==_0x4a2ff4['type']?_0x4a2ff4['previousPosition']['path']['slice'](0x0,-0x1):_0x4a2ff4['previousPosition']['path'];_0x4a132a['getNodeByPath'](_0x55f27e)['_setAttribute'](_0x46fee2,_0x33a1a6),this['_touched']['set'](_0x33a1a6,{'userId':_0x217356});}}for(const _0x419037 of this['editor']['model']['createRangeIn'](_0x4914d7)['getWalker']({'singleCharacters':!0x0})){const _0x9e2bf7=this['_getVidAttributeName'](_0x419037),_0x2af839='elementEnd'==_0x419037['type']?_0x419037['previousPosition']['path']['slice'](0x0,-0x1):_0x419037['previousPosition']['path'],_0xa00d84=_0x4a132a['getNodeByPath'](_0x2af839);_0xa00d84['getAttribute'](_0x9e2bf7)>0x0||_0xa00d84['_setAttribute'](_0x9e2bf7,_0x82b4e4[_0x26cb41++]);}for(const [_0x1a9a59,_0x364919]of _0x4914d7['markers'])_0x1a9a59['startsWith']('revision:')||this['_markers']['set'](_0x1a9a59,_0x364919);}const _0x23dac1=G('$graveyard');this['_baseRoots']['set']('$graveyard',_0x23dac1),this['_baseIdsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x23dac1,0x1));const _0x3ab680=G('$graveyard');this['_diffRoots']['set']('$graveyard',_0x3ab680),this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x3ab680,0x1));const _0x1c1ee9=Array['from'](this['_diffRoots'])['map'](([_0x356cb1,_0xea0815])=>[_0x356cb1,q(_0xea0815)]);this['_saveMetaData'](this['_lastTo'],_0x1c1ee9,this['_markers'],_0x589e32);}['_makeModelFromViewString'](_0x191056){const _0xf5b60c=JSON['parse'](_0x191056),_0x435084=this['editor']['editing']['view']['document'],_0x5d4b60=new _0x1a5418(_0x435084,_0xf5b60c['map'](_0x50c767=>B(_0x50c767,this['editor'])));return this['editor']['data']['toModel'](_0x5d4b60);}['_saveMetaData'](_0x5e1e80,_0x41e45b,_0x530431,_0x24099c){const _0x28b9f2=new Map(_0x41e45b),_0x1ea3e1=new Map(_0x4e6aba(_0x24099c)),_0x3c04f3=new Map();for(const [_0x1f92b3,_0x5ed831]of _0x530431)_0x3c04f3['set'](_0x1f92b3,{'start':_0x5ed831['start']['clone'](),'end':_0x5ed831['end']['clone'](),'rootName':_0x5ed831['root']['rootName']});this['_savedMetaData']['set'](_0x5e1e80,{'roots':_0x28b9f2,'markers':_0x3c04f3,'rootsAttributes':_0x1ea3e1});}['_removeMetaData'](_0x12987c){this['_savedMetaData']['delete'](_0x12987c);}['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'](_0x383d99,_0x2127f7=null){let _0x17d4e4=null;_0x383d99['is']('documentFragment')||(_0x17d4e4=new ft(_0x383d99['name'],{'vid_start':null===_0x2127f7?this['_revisionId']++:_0x2127f7++}));const _0x553fc5=[];for(const _0x57b40c of _0x383d99['getChildren']())if(_0x57b40c['is']('element')){_0x553fc5['push'](this['_makeIdsRoot'](_0x57b40c,_0x2127f7));const _0x86ec83=_0x553fc5[_0x553fc5['length']-0x1];null!==_0x2127f7&&(_0x2127f7=_0x86ec83['is']('element','$text')?_0x86ec83['getAttribute']('vid')+0x1:_0x86ec83['getAttribute']('vid_end')+0x1);}else{for(let _0x1f7866=0x0;_0x1f7866<_0x57b40c['offsetSize'];_0x1f7866++)_0x553fc5['push'](new ft('$text',{'vid':null===_0x2127f7?this['_revisionId']++:_0x2127f7++}));}if(_0x383d99['is']('documentFragment')){const _0x3ea9b9=G(_0x383d99['rootName']);return _0x3ea9b9['_insertChild'](0x0,_0x553fc5),_0x3ea9b9;}return _0x17d4e4['_setAttribute']('vid_end',null===_0x2127f7?this['_revisionId']++:_0x2127f7++),_0x17d4e4['_insertChild'](0x0,_0x553fc5),_0x17d4e4;}['_calculateMetaData'](_0x2f1819,_0x5925d1,_0x3fcd6e){this['_reset']();const {roots:_0x3a951f,markers:_0x5dcc88,rootsAttributes:_0x413997}=this['_savedMetaData']['get'](_0x2f1819);this['_baseRoots']=new Map(_0x3a951f),this['_baseRootsAttributes']=new Map(_0x4e6aba(_0x413997));for(const [_0x405cdf,_0x581093]of this['_baseRoots'])if('$graveyard'!==_0x405cdf&&(this['_diffRoots']['set'](_0x405cdf,q(_0x581093)),this['_diffRootsAttributes']=new Map(_0x4e6aba(_0x413997)),_0x3fcd6e)){const _0x31b7dc=this['_revisionId'];this['_idsRoots']['set'](_0x405cdf,this['_makeIdsRoot'](_0x581093)),this['_baseIdsRoots']['set'](_0x405cdf,this['_makeIdsRoot'](_0x581093,_0x31b7dc));}this['_startingRevisionId']=this['_revisionId'],this['_diffRoots']['set']('$graveyard',q(this['_baseRoots']['get']('$graveyard'))),_0x3fcd6e&&this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](this['_baseRoots']['get']('$graveyard')));for(const [_0x3de873,_0x5b017c]of _0x5dcc88){const _0x583935=this['_baseRoots']['get'](_0x5b017c['rootName']),_0x18ddb8=this['_diffRoots']['get'](_0x5b017c['rootName']),_0x3c4c0a=new vt(this['_fixPosition'](_0x5b017c['start'],_0x583935),this['_fixPosition'](_0x5b017c['end'],_0x583935)),_0x260a3b=this['_fixRange'](_0x3c4c0a,_0x18ddb8);_0x583935['markers']['set'](_0x3de873,_0x3c4c0a),this['_markers']['set'](_0x3de873,_0x260a3b);}this['_applyOperations'](_0x2f1819,_0x5925d1,_0x3fcd6e);}['_applyOperations'](_0x24a0c7,_0x6e3952,_0x1979b4){for(const _0x2c8d02 of this['source']['getOperations'](_0x24a0c7,_0x6e3952))this['_handleOperation'](_0x2c8d02,_0x1979b4);for(const _0x2b563b of this['_diffRoots']['values']())_0x2b563b['markers']['clear']();for(const [_0x1cc058,_0x4e3ab0]of this['_markers']){this['_diffRoots']['get'](_0x4e3ab0['root']['rootName'])['markers']['set'](_0x1cc058,_0x4e3ab0['clone']());}const _0x37b8c4=new Map(),_0xaf1920=new Map();for(const [_0x548531,_0x267453]of this['_diffRoots'])_0x37b8c4['set'](_0x548531,q(_0x267453)),_0xaf1920['set'](_0x548531,this['_diffRootsAttributes']['get'](_0x548531));this['_saveMetaData'](_0x6e3952,_0x37b8c4,this['_markers'],_0xaf1920);}['_getPreviousFrom'](_0x4f9ffd){const _0x809e2=Array['from'](this['_savedMetaData']['keys']());_0x809e2['sort']((_0x540441,_0x443f13)=>_0x540441-_0x443f13),_0x809e2['reverse']();for(const _0x196467 of _0x809e2)if(_0x196467<_0x4f9ffd)return _0x196467;return Number['NEGATIVE_INFINITY'];}['_copyMarkers'](_0x4736ae,_0x209191){const _0x1cc69c=Array['from'](_0x209191['markers'])['map'](([_0x161a40,_0x4035af])=>[_0x161a40,this['_fixRange'](_0x4035af,_0x4736ae)]);_0x4736ae['markers']=new Map(_0x1cc69c);}['_transformMarkers'](_0x2c9b5d){for(const _0x1f8741 of this['_markers']['values']()){const _0x2be369=_0x1f8741['getTransformedByOperation'](_0x2c9b5d),_0x22051f=vt['_createFromRanges'](_0x2be369);_0x1f8741['start']=_0x22051f['start'],_0x1f8741['end']=_0x22051f['end'];}}['_handleOperation'](_0x3dfdcf,_0x139faa){if('addRoot'==_0x3dfdcf['type']||'detachRoot'==_0x3dfdcf['type'])return void this['_handleRootOperation'](_0x3dfdcf,_0x139faa);if('insert'==_0x3dfdcf['type']){const _0x567046=_0x3dfdcf['position']['root']['rootName'];this['_diffRoots']['has'](_0x567046)||(this['_diffRoots']['set'](_0x567046,G(_0x567046,!0x0)),this['_diffRootsAttributes']['set'](_0x567046,{}),_0x139faa&&this['_idsRoots']['set'](_0x567046,G(_0x567046,!0x0)));}else{if('addRootAttribute'==_0x3dfdcf['type']||'removeRootAttribute'==_0x3dfdcf['type']||'changeRootAttribute'==_0x3dfdcf['type'])return void this['_handleRootAttributeOperation'](_0x3dfdcf);}const _0x538f85=this['_cloneOperation'](_0x3dfdcf,this['_diffRoots']);if('marker'!==_0x3dfdcf['type']&&(_0x538f85['_execute'](),this['_transformMarkers'](_0x538f85)),_0x139faa)switch(_0x538f85['type']){case'insert':this['_handleInsertOperation'](_0x3dfdcf);break;case'move':case'remove':case'reinsert':this['_handleMoveOperation'](_0x3dfdcf);break;case'merge':this['_handleMergeOperation'](_0x3dfdcf);break;case'split':this['_handleSplitOperation'](_0x3dfdcf);break;case'marker':this['_handleMarkerOperation'](_0x3dfdcf);}}['_cloneOperation'](_0x57cfef,_0x2edeea){const _0x1db05e=_0x57cfef['clone']();return _0x1db05e['_authorId']=_0x57cfef['_authorId'],this['_fixOperation'](_0x1db05e,_0x2edeea),_0x1db05e;}['_getBaseVids'](_0x45f4b3){return _0x45f4b3['map'](_0x46cddd=>{const _0x317229=this['_getVidAttributeName'](_0x46cddd);return Number(_0x46cddd['item']['getAttribute'](_0x317229));});}['_generateTape'](_0x1dd099,_0x51e4b6){if(_0x1dd099['is']('element','$text'))_0x51e4b6['push']({'item':_0x1dd099,'type':'text'});else{_0x1dd099['is']('element')&&_0x51e4b6['push']({'item':_0x1dd099,'type':'elementStart'});for(const _0x27d396 of _0x1dd099['getChildren']())this['_generateTape'](_0x27d396,_0x51e4b6);_0x1dd099['is']('element')&&_0x51e4b6['push']({'item':_0x1dd099,'type':'elementEnd'});}return _0x51e4b6;}['_getState'](){const _0x5f2057=new Map(this['_touched']),_0x3a1c1a=new Map(_0x5f2057),_0x5059fa=new Map(),_0x11aa65={'insertions':{},'deletions':{}},_0xa7ab3b={'insertions':{},'deletions':{}},_0x42f2db=new Map(),_0x3da144=new Set([...this['_baseRoots']['keys'](),...this['_diffRoots']['keys']()]);_0x3da144['delete']('$graveyard');for(const _0xb9a40c of _0x3da144){const _0x5d2f6d=this['_diffRoots']['get'](_0xb9a40c)||G(_0xb9a40c,!0x1),_0x1e941=this['_baseRoots']['get'](_0xb9a40c)||G(_0xb9a40c,!0x1);_0x5d2f6d['isAttached']()||_0x1e941['isAttached']()?(_0x11aa65['insertions'][_0xb9a40c]=q(_0x5d2f6d),_0x11aa65['deletions'][_0xb9a40c]=q(_0x1e941),this['_copyMarkers'](_0x11aa65['deletions'][_0xb9a40c],_0x1e941),this['_copyMarkers'](_0x11aa65['insertions'][_0xb9a40c],_0x5d2f6d),_0xa7ab3b['insertions'][_0xb9a40c]=this['_generateTape'](this['_idsRoots']['get'](_0xb9a40c),[]),_0xa7ab3b['deletions'][_0xb9a40c]=this['_generateTape'](this['_baseIdsRoots']['get'](_0xb9a40c)||G(_0xb9a40c,!0x1),[])):_0x3da144['delete'](_0xb9a40c);}for(const _0x114044 of _0x3da144){const _0x206592=_0xa7ab3b['insertions'][_0x114044];for(const _0x55c904 of _0x206592){const _0xe8f57=this['_getVidAttributeName'](_0x55c904),_0x4a15d0=_0x55c904['item']['getAttribute'](_0xe8f57);_0x3a1c1a['delete'](_0x4a15d0),_0x4a15d0>=this['_startingRevisionId']&&_0x5059fa['set'](_0x4a15d0,_0x5f2057['get'](_0x4a15d0));}}for(const _0x4a38f9 of _0x3da144){const _0x2dc1c3=_0xa7ab3b['insertions'][_0x4a38f9],_0x2d0083=this['_getBaseVids'](_0xa7ab3b['deletions'][_0x4a38f9]);let _0xd71ddb=0x0;for(const _0x2d016e of _0x2dc1c3){const _0x1fa633=this['_getVidAttributeName'](_0x2d016e),_0x3d3c29=_0x2d016e['item']['getAttribute'](_0x1fa633);if(!_0x5059fa['has'](_0x3d3c29)&&!_0x42f2db['has'](_0x3d3c29)){if(_0x3a1c1a['has'](_0x3d3c29))_0xd71ddb++;else{if(_0x3d3c29!=_0x2d0083[_0xd71ddb]){const _0x4b35f1=_0x5f2057['get'](_0x3d3c29)||_0x5f2057['get'](_0x2d0083[_0xd71ddb]);for(;_0x3d3c29!=_0x2d0083[_0xd71ddb];)_0x3a1c1a['has'](_0x2d0083[_0xd71ddb])||(_0x42f2db['set'](_0x2d0083[_0xd71ddb],_0x4b35f1),_0x5f2057['set'](_0x2d0083[_0xd71ddb],_0x4b35f1)),_0xd71ddb++;}_0xd71ddb++;}}}}for(const _0x5c11fc of _0x3da144){const _0x10045e=_0xa7ab3b['insertions'][_0x5c11fc];for(const _0x4c3256 of _0x10045e){const _0x2c9f0b=this['_getVidAttributeName'](_0x4c3256),_0x5c607f=_0x4c3256['item']['getAttribute'](_0x2c9f0b);if(_0x42f2db['has'](_0x5c607f)){const _0x54c557=_0x42f2db['get'](_0x5c607f);_0x3a1c1a['has'](_0x5c607f)||_0x3a1c1a['set'](_0x5c607f,{..._0x54c557}),_0x5059fa['set'](_0x5c607f,{..._0x54c557});}}}for(const _0x52bf18 of _0x3a1c1a['keys']())_0x52bf18>=this['_startingRevisionId']&&_0x3a1c1a['delete'](_0x52bf18);const _0x391d75=new Map();for(const _0x1686c1 of _0x3da144){let _0x52befd=_0xa7ab3b['insertions'][_0x1686c1];for(const _0x799032 of _0x52befd)if(_0x799032['item']['is']('element','tableCell')){const _0x2c0a50=this['_getVidAttributeName'](_0x799032),_0x46278d=_0x799032['item']['getAttribute'](_0x2c0a50);if(_0x5059fa['has'](_0x46278d)){const _0x2c50fd=_0x799032['item']['parent']['parent']['getAttribute']('vid_start'),_0x3d815e=_0x391d75['get'](_0x2c50fd)||new Set();_0x3d815e['add'](_0x5059fa['get'](_0x46278d)['userId']),_0x391d75['set'](_0x2c50fd,_0x3d815e);}}_0x52befd=_0xa7ab3b['deletions'][_0x1686c1];for(const _0x441a7e of _0x52befd)if(_0x441a7e['item']['is']('element','tableCell')){const _0x3b287d=this['_getVidAttributeName'](_0x441a7e),_0x4f6d62=_0x441a7e['item']['getAttribute'](_0x3b287d);if(_0x3a1c1a['has'](_0x4f6d62)){const _0x4aab49=_0x441a7e['item']['parent']['parent']['getAttribute']('vid_start'),_0x5f1603=_0x391d75['get'](_0x4aab49)||new Set();_0x5f1603['add'](_0x3a1c1a['get'](_0x4f6d62)['userId']),_0x391d75['set'](_0x4aab49,_0x5f1603);}}for(const _0x58ee22 of _0x391d75['keys']())(_0x5059fa['has'](_0x58ee22)||_0x3a1c1a['has'](_0x58ee22))&&_0x391d75['delete'](_0x58ee22);}for(const _0x479832 of _0x3da144){const _0x5244e2=_0xa7ab3b['insertions'][_0x479832];let _0x7e03a3=null,_0x406f1e=null;for(const _0x208855 of _0x5244e2){const _0x50cf83=this['_getVidAttributeName'](_0x208855),_0x386283=_0x208855['item']['getAttribute'](_0x50cf83),_0x14667=_0x391d75['get'](_0x386283);_0x14667&&'elementStart'==_0x208855['type']&&(_0x7e03a3=Array['from'](_0x14667)[0x0],_0x406f1e=_0x208855['item']['getAttribute']('vid_end')),_0x7e03a3&&(_0x3a1c1a['set'](_0x386283,{'userId':_0x7e03a3}),_0x5059fa['set'](_0x386283,{'userId':_0x7e03a3})),_0x386283==_0x406f1e&&(_0x7e03a3=null,_0x406f1e=null);}}const _0x45a81f={},_0x343d84=new Set();for(const _0xfa0e14 of _0x3da144){const _0x6118ee=_0x11aa65['deletions'][_0xfa0e14],_0x3fe8fd=_0x11aa65['insertions'][_0xfa0e14];for(const {userId:_0x591a3d}of this['_touchedMarkers']['values']())null!==_0x591a3d&&_0x343d84['add'](_0x591a3d);for(const {userId:_0x2f81e6}of this['_touchedRoots']['values']())null!==_0x2f81e6&&_0x343d84['add'](_0x2f81e6);this['_markChanges'](_0x3fe8fd,_0xa7ab3b['insertions'][_0xfa0e14],_0x5059fa,'insertion',_0x343d84),this['_markChanges'](_0x6118ee,_0xa7ab3b['deletions'][_0xfa0e14],_0x3a1c1a,'deletion',_0x343d84),_0x45a81f[_0xfa0e14]={'insertions':this['_prepareViewToSave'](_0x3fe8fd),'deletions':this['_prepareViewToSave'](_0x6118ee),'attachChange':this['_touchedRoots']['get'](_0xfa0e14)||null,'attributesBefore':_0x4e6aba(this['_baseRootsAttributes']['get'](_0xfa0e14))||{},'attributesAfter':_0x4e6aba(this['_diffRootsAttributes']['get'](_0xfa0e14))};}return{'diffData':_0x45a81f,'authorsIds':Array['from'](_0x343d84)};}['_processRootBeforeSave'](_0x26dc90){for(const [,_0x556a6c]of _0x26dc90['markers']){const _0x595803=_0x556a6c['start']['getAncestors']()['filter'](_0x1a2d8e=>'tableCell'==_0x1a2d8e['name']);for(const _0x26697c of _0x595803)0x1==_0x26697c['childCount']&&_0x26697c['getChild'](0x0)['is']('element','paragraph')&&_0x26697c['getChild'](0x0)['_setAttribute']('keepParagraph',!0x0);}}['_prepareViewToSave'](_0x7ef33b){this['_processRootBeforeSave'](_0x7ef33b);const _0x26a3d8=this['editor']['data']['toView'](_0x7ef33b,{}),_0x2dc49=Array['from'](_0x26a3d8['getChildren']())['map'](_0x34425b=>this['_getViewJson'](_0x34425b));return JSON['stringify'](_0x2dc49);}['_getViewJson'](_0x409bc5){if(_0x409bc5['is']('$text'))return _0x409bc5['data'];{const _0x231fb6=_0x409bc5;return{'type':Object['keys'](T)['find'](_0x11599f=>_0x409bc5 instanceof T[_0x11599f]),'name':_0x231fb6['name'],'attributes':Array['from'](_0x231fb6['getAttributes']()),'children':Array['from'](_0x231fb6['getChildren']())['map'](_0x4da312=>this['_getViewJson'](_0x4da312))};}}['_markChanges'](_0x498946,_0x273cd0,_0x48a0af,_0x4d272,_0x290840){let _0x5c496d=null,_0x47200e=null,_0x2a2b2f=0x0;const _0x5ca17f=this['editor']['model'];for(let _0x4bdea9=0x0;_0x4bdea9<_0x273cd0['length'];_0x4bdea9++){const _0x510d9e=this['_getVidAttributeName'](_0x273cd0[_0x4bdea9]),_0x282217=_0x273cd0[_0x4bdea9]['item']['getAttribute'](_0x510d9e),_0x260e13=_0x48a0af['get'](_0x282217),_0x52ba6f=_0x4bdea9==_0x273cd0['length']-0x1;(!_0x5c496d&&_0x260e13&&(_0x5c496d=_0x260e13,_0x47200e=_0x273cd0[_0x4bdea9]),_0x5c496d&&(!_0x260e13||_0x260e13['userId']!=_0x5c496d['userId']))&&(_0x56bb95(_0x260e13,L(_0x47200e,_0x498946,_0x5ca17f),L(_0x273cd0[_0x4bdea9],_0x498946,_0x5ca17f)),_0x5c496d=_0x260e13||null,_0x47200e=_0x260e13?_0x273cd0[_0x4bdea9]:null),_0x5c496d&&_0x52ba6f&&_0x56bb95(_0x260e13,L(_0x47200e,_0x498946,_0x5ca17f),W(_0x273cd0[_0x4bdea9],_0x498946,_0x5ca17f));}function _0x56bb95(_0x3029df,_0x115790,_0x413797){const _0x58d5cc=_0x5c496d['userId'],_0x39735a='revision:'+_0x4d272+':'+_0x58d5cc+':'+_0x2a2b2f++,_0x6e8df5=_0x5ca17f['createRange'](_0x115790,_0x413797);_0x498946['markers']['set'](_0x39735a,_0x6e8df5),null!==_0x58d5cc&&_0x290840['add'](_0x58d5cc);}}['_getVidAttributeName'](_0x51a6a4){switch(_0x51a6a4['type']){case'elementStart':return'vid_start';case'elementEnd':return'vid_end';default:return'vid';}}['_fixOperation'](_0x2e3ac6,_0x3374b2){_0x2e3ac6['baseVersion']=null;for(const _0x3c46d3 in _0x2e3ac6){const _0x4f806f=_0x2e3ac6[_0x3c46d3];if(_0x4f806f instanceof gt){const _0x21acce=_0x3374b2['get'](_0x4f806f['root']['rootName']);_0x2e3ac6[_0x3c46d3]=this['_fixPosition'](_0x4f806f,_0x21acce);}if(_0x4f806f instanceof vt){const _0x56a908=_0x3374b2['get'](_0x4f806f['root']['rootName']);_0x2e3ac6[_0x3c46d3]=this['_fixRange'](_0x4f806f,_0x56a908);}'root'===_0x3c46d3&&(_0x2e3ac6['root']=_0x3374b2['get'](_0x2e3ac6['root']['rootName']));}}['_fixRange'](_0x857417,_0x13213f){return this['editor']['model']['createRange'](this['_fixPosition'](_0x857417['start'],_0x13213f),this['_fixPosition'](_0x857417['end'],_0x13213f));}['_fixPosition'](_0x1f4299,_0x499eb3){return this['editor']['model']['createPositionFromPath'](_0x499eb3,_0x1f4299['path'],_0x1f4299['stickiness']);}['_handleInsertOperation'](_0x4306f0){const _0x4bb55e=this['_idsRoots']['get'](_0x4306f0['position']['root']['rootName']),_0xbe8f92=this['_fixPosition'](_0x4306f0['position'],_0x4bb55e),_0x377b11=null===_0x4306f0['_authorId']?null:_0x4306f0['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x5bf019=_0xbe8f92['parent'],_0x260922=this['_revisionId'],_0x3337a7=[];for(const _0x4a87e5 of _0x4306f0['nodes'])if(_0x4a87e5['is']('element'))_0x3337a7['push'](this['_makeIdsRoot'](_0x4a87e5));else{for(let _0x448214=0x0;_0x448214<_0x4a87e5['offsetSize'];_0x448214++)_0x3337a7['push'](new ft('$text',{'vid':this['_revisionId']++}));}const _0x2b5471=this['_revisionId'];for(let _0x43524d=_0x260922;_0x43524d<_0x2b5471;_0x43524d++)this['_touched']['set'](_0x43524d,{'userId':_0x377b11});_0x5bf019['_insertChild'](_0xbe8f92['offset'],_0x3337a7);}['_handleMoveOperation'](_0x2685b2){(_0x2685b2=this['_cloneOperation'](_0x2685b2,this['_idsRoots']))['_execute']();const _0x267e52=null===_0x2685b2['_authorId']?null:_0x2685b2['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x4f9abb=_0x2685b2['getMovedRangeStart'](),_0x4b5af0=_0x4f9abb['parent'],_0x5af240=_0x4f9abb['offset'];!function _0x25acfa(_0x269200,_0xc7beb4,_0x49ca59,_0x56071b){for(let _0x2f71c2=_0x49ca59;_0x2f71c2<_0x56071b;_0x2f71c2++){const _0x3de3da=_0xc7beb4['getChild'](_0x2f71c2);_0x3de3da['is']('element','$text')?_0x269200['set'](_0x3de3da['getAttribute']('vid'),{'userId':_0x267e52}):(_0x269200['set'](_0x3de3da['getAttribute']('vid_start'),{'userId':_0x267e52}),_0x25acfa(_0x269200,_0x3de3da,0x0,_0x3de3da['childCount']),_0x269200['set'](_0x3de3da['getAttribute']('vid_end'),{'userId':_0x267e52}));}}(this['_touched'],_0x4b5af0,_0x5af240,_0x5af240+_0x2685b2['howMany']);}['_handleMergeOperation'](_0x13d8b3){const _0x98e18e=null===(_0x13d8b3=this['_cloneOperation'](_0x13d8b3,this['_idsRoots']))['_authorId']?null:_0x13d8b3['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x18cd87=_0x13d8b3['targetPosition']['parent'],_0x39d541=_0x13d8b3['sourcePosition']['parent'],_0x15d339=_0x18cd87['getAttribute']('vid_end'),_0x28c5d9=_0x39d541['getAttribute']('vid_start');_0x18cd87['_setAttribute']('vid_end',_0x39d541['getAttribute']('vid_end')),_0x39d541['_setAttribute']('vid_end',_0x15d339),this['_touched']['set'](_0x28c5d9,{'userId':_0x98e18e}),this['_touched']['set'](_0x15d339,{'userId':_0x98e18e}),_0x13d8b3['_execute']();}['_handleSplitOperation'](_0x24edd8){const _0x1b457b=null===(_0x24edd8=this['_cloneOperation'](_0x24edd8,this['_idsRoots']))['_authorId']?null:_0x24edd8['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x441481=_0x24edd8['graveyardPosition'],_0x2fff51=_0x24edd8['splitPosition']['parent'];_0x24edd8['_execute']();const _0x5bc154=_0x2fff51['getAttribute']('vid_end'),_0x135d09=_0x24edd8['insertionPosition']['nodeAfter'];if(_0x441481){const _0x1172d8=_0x135d09['getAttribute']('vid_end'),_0x4044df=_0x2fff51['getAttribute']('vid_end');_0x2fff51['_setAttribute']('vid_end',_0x1172d8),_0x135d09['_setAttribute']('vid_end',_0x4044df),this['_touched']['set'](_0x2fff51['getAttribute']('vid_end'),{'userId':_0x1b457b}),this['_touched']['set'](_0x135d09['getAttribute']('vid_start'),{'userId':_0x1b457b});}else{const _0x540d77=this['_revisionId']++,_0x47d17d=this['_revisionId']++;_0x2fff51['_setAttribute']('vid_end',_0x540d77),_0x135d09['_setAttribute']('vid_start',_0x47d17d),_0x135d09['_setAttribute']('vid_end',_0x5bc154),this['_touched']['set'](_0x540d77,{'userId':_0x1b457b}),this['_touched']['set'](_0x47d17d,{'userId':_0x1b457b});}}['_handleMarkerOperation'](_0x14d72a){if(!_0x14d72a['affectsData'])return;const _0x29a4b4=(_0x14d72a=this['_cloneOperation'](_0x14d72a,this['_diffRoots']))['oldRange']?_0x14d72a['oldRange']['root']:null,_0x4aea84=_0x14d72a['newRange']?_0x14d72a['newRange']['root']:null;_0x29a4b4&&this['_markers']['delete'](_0x14d72a['name']),_0x4aea84&&this['_markers']['set'](_0x14d72a['name'],_0x14d72a['newRange']['clone']());const _0x16dbfc=null===_0x14d72a['_authorId']?null:_0x14d72a['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x380f25=_0x14d72a['name'];if(!this['_touchedMarkers']['has'](_0x380f25))return void this['_touchedMarkers']['set'](_0x380f25,{'range':_0x14d72a['oldRange'],'userId':_0x16dbfc});const _0x2ee5c6=this['_touchedMarkers']['get'](_0x380f25),_0x595aea=_0x2ee5c6['range'],_0x5de6e2=_0x14d72a['newRange'];null==_0x595aea&&null==_0x5de6e2||_0x595aea&&_0x5de6e2&&_0x595aea['isEqual'](_0x5de6e2)?this['_touchedMarkers']['delete'](_0x14d72a['name']):_0x2ee5c6['userId']=_0x16dbfc;}['_handleRootOperation'](_0x83b1b9,_0x332e99){this['_diffRoots']['has'](_0x83b1b9['rootName'])?this['_diffRoots']['get'](_0x83b1b9['rootName'])['_isAttached']=_0x83b1b9['isAdd']:(this['_diffRoots']['set'](_0x83b1b9['rootName'],G(_0x83b1b9['rootName'],!0x0)),this['_diffRootsAttributes']['set'](_0x83b1b9['rootName'],{}),_0x332e99&&this['_idsRoots']['set'](_0x83b1b9['rootName'],G(_0x83b1b9['rootName'],!0x0)));const _0x237542=null===_0x83b1b9['_authorId']?null:_0x83b1b9['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x587253=this['_touchedRoots']['get'](_0x83b1b9['rootName']);_0x587253&&_0x587253['userId']===_0x237542?this['_touchedRoots']['delete'](_0x83b1b9['rootName']):this['_touchedRoots']['set'](_0x83b1b9['rootName'],{'userId':_0x237542,'isAttached':_0x83b1b9['isAdd']});}['_handleRootAttributeOperation'](_0x4f7d57){const _0x3c8ab9=this['_diffRootsAttributes']['get'](_0x4f7d57['root']['rootName']);null===_0x4f7d57['newValue']?delete _0x3c8ab9[_0x4f7d57['key']]:_0x3c8ab9[_0x4f7d57['key']]=_0x4f7d57['newValue'];}}function q(_0x3cc161){const _0x4be14b=G(_0x3cc161['rootName'],_0x3cc161['isAttached']());for(const _0x290eff of _0x3cc161['getChildren']()){const _0x547e7b=_0x290eff['_clone'](!0x0);_0x4be14b['_appendChild'](_0x547e7b);}return _0x4be14b;}function G(_0x35fa9a,_0x23ef2d=!0x0){const _0x5dcf2a=new wt();return _0x5dcf2a['rootName']=_0x35fa9a,_0x5dcf2a['_isAttached']=_0x23ef2d,_0x5dcf2a['isAttached']=()=>_0x5dcf2a['_isAttached'],_0x5dcf2a;}function L(_0xa0a6d0,_0x1652ec,_0x5cb091){const _0x5ec66f='elementEnd'==_0xa0a6d0['type']?_0x5cb091['createPositionAt'](_0xa0a6d0['item'],'end'):_0x5cb091['createPositionBefore'](_0xa0a6d0['item']);return _0x5cb091['createPositionFromPath'](_0x1652ec,_0x5ec66f['path'],_0x5ec66f['stickiness']);}function W(_0xb42272,_0x171eba,_0xd00dec){const _0xb2ab96='elementStart'==_0xb42272['type']?_0xd00dec['createPositionAt'](_0xb42272['item'],0x0):_0xd00dec['createPositionAfter'](_0xb42272['item']);return _0xd00dec['createPositionFromPath'](_0x171eba,_0xb2ab96['path'],_0xb2ab96['stickiness']);}class ns extends _0x403593{['focusTracker'];['keystrokes'];['revisionNameInputView'];constructor(_0x4b46fe,_0xa16d90){super(_0x4b46fe),this['focusTracker']=new _0x4da260(),this['keystrokes']=new _0x5bd5f6(),this['set']('revisionNameInputValue',''),this['revisionNameInputView']=this['_createRevisionNameInput'](_0xa16d90),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'](),_0x339bc2({'view':this}),this['focusTracker']['add'](this['revisionNameInputView']['element']),this['keystrokes']['listenTo'](this['element']);const _0x47c887=_0x2361d5=>_0x2361d5['stopPropagation']();this['keystrokes']['set']('arrowright',_0x47c887),this['keystrokes']['set']('arrowleft',_0x47c887),this['keystrokes']['set']('arrowup',_0x47c887),this['keystrokes']['set']('arrowdown',_0x47c887);}['focus'](){this['revisionNameInputView']['focus']();}get['revisionName'](){return this['revisionNameInputView']['fieldView']['element']['value']['trim']();}set['revisionName'](_0x2db240){this['revisionNameInputView']['fieldView']['element']['value']=_0x2db240['trim']();}['reset'](){this['revisionNameInputView']['fieldView']['element']['value']='',this['revisionNameInputView']['errorText']=null;}['_createRevisionNameInput'](_0x1a5b49){const _0x8a994d=new at(this['locale'],_0x49e355),_0x599483=_0x8a994d['fieldView'];_0x599483['extendTemplate']({'attributes':{'maxlength':'220'}});let _0xb53d53=y(this['locale'],'Name\x20of\x20the\x20revision');return!_0x1a5b49&&(_0xb53d53+='\x20('+y(this['locale'],'optional')+')'),(_0x8a994d['label']=_0xb53d53,_0x599483['on']('input',()=>{this['revisionNameInputValue']=_0x599483['element']['value']['trim']();}),_0x8a994d);}}class u extends _0x460216{static get['pluginName'](){return'RevisionHistoryUI';}static get['requires'](){return[l];}['_saveRevisionFormView'];['init'](){const _0x565c8b=this['editor'],_0x5adca2=_0x565c8b['plugins']['get']('RevisionTracker');_0x565c8b['ui']['componentFactory']['add']('revisionHistory',_0x1076b8=>{const _0x1aa83e=_0x3edaf6(_0x1076b8),_0x3d2249=_0x1aa83e['panelView']['children'],_0x3afb9f=new te(_0x1076b8),_0x887570=new _0xbef6eb(_0x1076b8),_0x4f65ba=new _0x57f02f(_0x1076b8),_0x487681=new _0xbef6eb(_0x1076b8),_0x11f6a4=new _0x57f02f(_0x1076b8);return _0x1aa83e['bind']('isEnabled')['to'](_0x5adca2,'isReady',_0x5adca2,'isEnabled',_0x565c8b,'isReadOnly',(_0x4482ea,_0x355e6d,_0x3590b8)=>_0x4482ea&&_0x355e6d&&!_0x3590b8),_0x1aa83e['buttonView']['set']({'icon':_0x35adfe['history'],'label':y(_0x1076b8,'Revision\x20history'),'tooltip':!0x0}),_0x4f65ba['set']({'label':y(_0x1076b8,'Save\x20current\x20revision'),'withText':!0x0,'role':'menuitem'}),_0x4f65ba['bind']('isEnabled')['to'](_0x5adca2,'isReady',_0x5adca2,'isEnabled',_0x565c8b,'isReadOnly',(_0x16499f,_0x28fb8e,_0x135f40)=>_0x16499f&&_0x28fb8e&&!_0x135f40),_0x4f65ba['on']('execute',()=>this['_showDialog']()),_0x11f6a4['set']({'label':y(_0x1076b8,'Open\x20revision\x20history'),'withText':!0x0,'role':'menuitem'}),_0x11f6a4['bind']('isEnabled')['to'](_0x5adca2,'isReady',_0x565c8b,'isReadOnly',(_0x2e32f4,_0x3a43b6)=>_0x2e32f4&&!_0x3a43b6),_0x11f6a4['on']('execute',()=>{_0x565c8b['config']['get']('revisionHistory')['showRevisionViewerCallback'](),_0x1aa83e['isOpen']=!0x1,_0x565c8b['editing']['view']['focus']();}),_0x887570['children']['add'](_0x4f65ba),_0x487681['children']['add'](_0x11f6a4),_0x3afb9f['role']='menu',_0x3afb9f['items']['addMany']([_0x887570,_0x487681]),_0x3d2249['add'](_0x3afb9f),_0x1aa83e;}),_0x565c8b['ui']['componentFactory']['add']('menuBar:revisionHistory',()=>this['_registerMenuComponent']());}['_registerMenuComponent'](){const _0x109437=this['editor'],_0x395cc1=_0x109437['locale'],_0x58b222=new _0x34d1b2(_0x395cc1),_0x1f722a=new _0x38a48e(_0x395cc1);_0x58b222['buttonView']['set']({'icon':_0x35adfe['history'],'label':y(_0x395cc1,'Revision\x20history')});const _0x6819f8=new _0x3d60b8(_0x395cc1,_0x58b222),_0x5132d7=new _0xa2501b(_0x395cc1);_0x5132d7['set']({'label':y(_0x395cc1,'Save\x20current\x20revision')}),_0x5132d7['delegate']('execute')['to'](_0x58b222),_0x5132d7['on']('execute',()=>{this['_showDialog']();}),_0x6819f8['children']['add'](_0x5132d7),_0x1f722a['items']['add'](_0x6819f8);const _0x3c1711=new _0x3d60b8(_0x395cc1,_0x58b222),_0x553e5e=new _0xa2501b(_0x395cc1);return _0x553e5e['set']({'label':y(_0x395cc1,'Open\x20revision\x20history')}),_0x553e5e['delegate']('execute')['to'](_0x58b222),_0x553e5e['on']('execute',()=>{_0x109437['config']['get']('revisionHistory')['showRevisionViewerCallback']();}),_0x3c1711['children']['add'](_0x553e5e),_0x1f722a['items']['add'](_0x3c1711),_0x58b222['panelView']['children']['add'](_0x1f722a),_0x58b222;}['_showDialog'](){const _0x970743=this['editor'],_0x3a3d34=_0x970743['locale'],t=_0x3a3d34['t'],_0x407bd7=_0x970743['plugins']['get']('Dialog'),_0x2d0b35=_0x970743['plugins']['get']('RevisionTracker');function _0x2d33a3(_0x31f8c9){_0x970743['config']['get']('revisionHistory.requireRevisionName')&&''===_0x31f8c9['revisionName']?_0x31f8c9['revisionNameInputView']['errorText']=y(_0x3a3d34,'The\x20revision\x20name\x20cannot\x20be\x20empty.'):(_0x970743['plugins']['get'](l)['saveRevision']({'name':_0x31f8c9['revisionName']}),_0x407bd7['hide']());}this['_saveRevisionFormView']||(this['_createSaveRevisionFormView'](),this['_saveRevisionFormView']['on']('submit',()=>_0x2d33a3(this['_saveRevisionFormView']))),this['_saveRevisionFormView']['reset'](),_0x407bd7['show']({'id':'findAndReplace','title':y(_0x3a3d34,'Save\x20current\x20revision'),'isModal':!0x0,'content':this['_saveRevisionFormView'],'actionButtons':[{'label':t('Cancel'),'withText':!0x0,'onExecute':()=>_0x407bd7['hide']()},{'label':t('Accept'),'class':'ck-button-action','withText':!0x0,'onCreate'(_0x1a7de4){_0x1a7de4['bind']('isEnabled')['to'](_0x2d0b35,'isReady',_0x2d0b35,'isEnabled',_0x970743,'isReadOnly',(_0x4de578,_0x228e15,_0x3f8a23)=>_0x4de578&&_0x228e15&&!_0x3f8a23);},'onExecute':()=>_0x2d33a3(this['_saveRevisionFormView'])}]});}['_createSaveRevisionFormView'](){const _0x31b6fa=this['editor'],_0x4faeee=_0x31b6fa['locale'];this['_saveRevisionFormView']=new ns(_0x4faeee,_0x31b6fa['config']['get']('revisionHistory.requireRevisionName')),this['_saveRevisionFormView']['render']();}}class Z extends _0x403593{['changeId'];['_model'];constructor(_0x584531,_0x59ba0c){super(_0x584531),this['_model']=_0x59ba0c,this['changeId']=_0x59ba0c['id'];const _0x554720=this['bindTemplate'],_0x303f0b=y(_0x584531,_0x59ba0c['data']['isSuggestion']?'Suggested\x20by':'add'==_0x59ba0c['type']?'Added\x20by':'Removed\x20by');this['set']('type',_0x59ba0c['type']),this['setTemplate']({'tag':'div','attributes':{'class':['ck-annotation','ck-revision-change',_0x554720['to']('type',_0x15045c=>'ck-revision-change__'+_0x15045c)],'tabindex':-0x1},'children':[{'tag':'span','children':[{'tag':'span','attributes':{'class':['ck-revision-change__label']},'children':[{'text':_0x303f0b}]},{'text':'\x20'+_0x59ba0c['author']['name']}]}]});}['focus'](){this['element']['focus']();}}class r extends/* #__PURE__ -- @preserve */
|
|
25
|
+
_0x1b68ce(){['id'];['author'];['type'];['data'];['rootName'];constructor(_0x51bcf2){super(),this['id']=_0x51bcf2['id']||_0x411af8(),this['author']=_0x51bcf2['author'],this['type']=_0x51bcf2['type'],this['data']=_0x51bcf2['data']||{},this['rootName']=_0x51bcf2['rootName'],this['set']('createdAt',_0x51bcf2['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(_0x54f1f0,_0x3455da){this['newRevisionId']=_0x54f1f0,this['oldRevisionId']=_0x3455da,this['changes']=new _0x588a09();}['_setChanges'](_0x4621d2){for(const _0x5e8f85 of _0x4621d2)this['changes']['add'](_0x5e8f85);}}const tt={'c':_0x365f1e,'a':_0x4533a2,'e':_0x5574c7,'r':_0xa666b3,'u':_0x105d63};class d extends _0x460216{['repository'];['adapter'];['_activeViewTarget'];['_changeView'];['_changeIdToChange'];['_balloon'];static get['pluginName'](){return'RevisionViewer';}static get['requires'](){return[_0x2fbebd,_0x3729d4,A];}constructor(_0x47b62e){super(_0x47b62e),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',(_0x19df36,_0x47591b,_0x374d81)=>{this['activeChange']=null,this['activeView']=null,this['editor']['editing']['view']['change'](_0x245479=>{for(const _0x54d8f9 of this['editor']['editing']['view']['document']['roots'])_0x374d81?_0x245479['removeClass']('ck-editor__editable__overlay',_0x54d8f9):_0x245479['addClass']('ck-editor__editable__overlay',_0x54d8f9);});}),this['bind']('isNavigationMode')['to'](this,'activeChange',_0x27214b=>null!==_0x27214b),this['bind']('currentChangeNumber')['to'](this,'isReady',this,'diff',this,'activeChange',(_0x676d02,_0x583e5c,_0x5d3a71)=>_0x676d02&&_0x5d3a71?_0x583e5c['changes']['getIndex'](_0x5d3a71):0x0),this['bind']('numberOfChanges')['to'](this,'isReady',this,'diff',(_0x37560d,_0x4f27c2)=>_0x37560d?_0x4f27c2['changes']['length']:0x0),this['_changeView']=null,this['_changeIdToChange']=new Map(),this['adapter']=null,this['_balloon']=this['editor']['plugins']['get'](_0x3729d4);}['init'](){const _0x506441=this['editor'],_0x193223=new yt(_0x506441,{'direction':'backward'}),_0x42827c=new yt(_0x506441,{'direction':'forward'});(_0x506441['commands']['add']('showPreviousChange',_0x193223),_0x506441['commands']['add']('showNextChange',_0x42827c),_0x506441['commands']['add']('restoreRevision',new bt(_0x506441)),this['on']('change:numberOfChanges',()=>{_0x193223['refresh'](),_0x42827c['refresh']();}),this['_setConversion'](),this['_initInteractions'](),_0x506441['enableReadOnlyMode']('revision-viewer'),_0x506441['plugins']['has']('WidgetToolbarRepository'))&&_0x506441['plugins']['get']('WidgetToolbarRepository')['forceDisabled']('revision-viewer');}async['getRevisionData'](_0x1a6b9e){await this['loadRevisionData'](_0x1a6b9e);const _0x2bc585={};for(const _0x88d3d in _0x1a6b9e['diffData']){if(_0x1a6b9e['diffData'][_0x88d3d]['attachChange']&&!_0x1a6b9e['diffData'][_0x88d3d]['attachChange']['isAttached'])continue;const _0x121130=this['_removeRevisionMarkers'](JSON['parse'](_0x1a6b9e['diffData'][_0x88d3d]['insertions'])),_0x212b5f=this['editor']['editing']['view']['document'],_0x490e9b=new _0x1a5418(_0x212b5f,_0x121130['map'](_0x159b24=>this['_getViewObj'](_0x159b24)));this['editor']['data']['processor']['useFillerType']('marked'),_0x2bc585[_0x88d3d]=this['editor']['data']['processor']['toData'](_0x490e9b),this['editor']['data']['processor']['useFillerType']('default');}return _0x2bc585;}async['getRevisionRootsAttributes'](_0x539d7a){await this['loadRevisionData'](_0x539d7a);const _0x4bcaef={};for(const _0x2f9b96 in _0x539d7a['diffData'])_0x539d7a['diffData'][_0x2f9b96]['attachChange']&&!_0x539d7a['diffData'][_0x2f9b96]['attachChange']['isAttached']||(_0x4bcaef[_0x2f9b96]=_0x539d7a['diffData'][_0x2f9b96]['attributesAfter']||{});return _0x4bcaef;}['_removeRevisionMarkers'](_0x30dcc1){return(_0x30dcc1=_0x30dcc1['filter'](_0x3643d8=>!_0x3643d8['name']||'revision-start'!==_0x3643d8['name']&&'revision-end'!==_0x3643d8['name']))['forEach'](_0x5a2836=>{'string'!=typeof _0x5a2836&&(_0x5a2836['children']=this['_removeRevisionMarkers'](_0x5a2836['children']),_0x5a2836['attributes']=_0x5a2836['attributes']['filter'](_0x2fe518=>!_0x2fe518[0x0]['startsWith']('data-revision-')));}),_0x30dcc1;}async['compare'](_0x3485c4,_0x5248a4,_0x3c10ce=!0x1){if(!this['isEnabled'])return;const _0x106a32=this['diff'],_0x1e02bb=this['repository'],_0x385b4d='string'==typeof _0x3485c4?_0x1e02bb['getRevision'](_0x3485c4):_0x3485c4,_0x2394dd='string'==typeof _0x5248a4?_0x1e02bb['getRevision'](_0x5248a4):_0x5248a4,_0x48e19c=_0x385b4d['id'],_0x293b86=_0x2394dd?_0x2394dd['id']:null;if(!_0x3c10ce&&this['diff']&&this['diff']['newRevisionId']===_0x48e19c&&this['diff']['oldRevisionId']===_0x293b86)return Promise['resolve']();this['isReady']=!0x1,this['activeView']=null,this['activeChange']=null,this['diff']=new f(_0x48e19c,_0x293b86);const _0x3b5e74=this['_getRevisionsRange'](_0x385b4d,_0x2394dd,!0x0)['map'](_0x37b9c6=>this['loadRevisionData'](_0x37b9c6));return _0x3b5e74['push'](new Promise(_0x373046=>{setTimeout(_0x373046,0x14);})),Promise['all'](_0x3b5e74)['then'](()=>{if(!this['isEnabled'])return;this['_cleanUp']();const _0xceb37=this['_getDiff'](_0x48e19c,_0x293b86);for(const _0x175dae of _0xceb37['changes'])this['_changeIdToChange']['set'](_0x175dae['id'],_0x175dae);this['editor']['model']['enqueueChange']({'isUndoable':!0x1},_0x421672=>{for(const _0x25a5dc of this['editor']['model']['document']['getRootNames']())_0x421672['detachRoot'](_0x25a5dc);for(const _0x22748d of Object['keys'](_0xceb37['model'])){const _0x42396c=_0x421672['addRoot'](_0x22748d);for(const _0x40b4eb of Object['keys'](_0xceb37['attributes'][_0x22748d]))_0x421672['setAttribute'](_0x40b4eb,_0xceb37['attributes'][_0x22748d][_0x40b4eb],_0x42396c);_0x421672['insert'](_0xceb37['model'][_0x22748d],_0x42396c,0x0);}}),this['diff']['_setChanges'](this['_sortAndFilterDiffChanges'](_0xceb37['changes'])),this['isReady']=!0x0;})['catch'](_0x902e01=>{console['error'](_0x902e01),this['_cleanUp'](),_0x106a32&&(this['diff']=_0x106a32),this['isReady']=!0x0;});}['addRevisionData'](_0x3a3865,_0x50f065){const _0x388d43=this['repository']['createRevision'](_0x3a3865);return _0x388d43['on']('_update',(_0x2de21e,_0x5c82e8,_0x2d39e7)=>_0x50f065(_0x5c82e8,_0x2d39e7,_0x388d43)),this['repository']['addRevision'](_0x388d43),_0x388d43;}['loadRevisionData'](_0x513a71){if(!_0x513a71||_0x513a71['diffData'])return Promise['resolve']();{const _0x43a80f=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0x43a80f,'revisionId':_0x513a71['id']})['then'](_0x26c8e8=>{_0x513a71['_update']({'diffData':_0x26c8e8['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},_0x41dee1=>{for(const _0x97fe65 of this['editor']['model']['document']['getRootNames']())_0x41dee1['detachRoot'](_0x97fe65);});}['_sortAndFilterDiffChanges'](_0x45c425){const _0x323745=[],_0x4933da=new Map();for(const _0x53b481 of this['editor']['model']['document']['getRootNames']()){const _0x2bd1ec=this['editor']['editing']['view']['getDomRoot'](_0x53b481);if(!_0x2bd1ec)continue;const _0x463939=_0x2bd1ec['getClientRects']()['item'](0x0);_0x463939&&(_0x323745['push'](_0x53b481),_0x4933da['set'](_0x53b481,_0x463939));}return _0x323745['sort']((_0xcad7ca,_0x4fb1ef)=>{const _0x570a86=_0x4933da['get'](_0xcad7ca),_0x4bd030=_0x4933da['get'](_0x4fb1ef);return _0x570a86['y']-_0x4bd030['y']||_0x570a86['x']-_0x4bd030['x'];}),(_0x45c425=_0x45c425['filter'](_0x10672c=>_0x323745['includes'](_0x10672c['rootName'])))['sort']((_0x13cb77,_0xb49861)=>_0x323745['indexOf'](_0x13cb77['rootName'])-_0x323745['indexOf'](_0xb49861['rootName'])),_0x45c425;}['_makeTape'](_0x4c6a4c){const _0x466091=Array['from'](_0x4c6a4c['markers'])['filter'](([_0x36c51f,_0x20b7f4])=>_0x36c51f['startsWith']('revision:')&&!_0x20b7f4['isCollapsed']),_0x2ed921=Array['from'](this['editor']['model']['createRangeIn'](_0x4c6a4c)['getWalker']({'singleCharacters':!0x0}));if(0x0!=_0x466091['length'])for(const _0x3a7818 of _0x2ed921){const [_0x378865,_0x401ce2]=_0x466091[0x0],[,_0x4afecc,_0x376c5f]=_0x378865['split'](':');if(_0x401ce2['end']['isEqual'](_0x3a7818['nextPosition'])&&_0x466091['shift'](),(_0x3a7818['previousPosition']['isEqual'](_0x401ce2['start'])||_0x3a7818['previousPosition']['isAfter'](_0x401ce2['start']))&&('insertion'==_0x4afecc?_0x3a7818['isAdded']={'userId':_0x376c5f}:'deletion'==_0x4afecc&&(_0x3a7818['isRemoved']={'userId':_0x376c5f})),0x0==_0x466091['length'])break;}return _0x2ed921;}['_refreshStartEndIndex'](_0x51dba0){const _0x8bf66a=new Map();for(let _0x52490b=0x0;_0x52490b<_0x51dba0['length'];_0x52490b++)'text'===_0x51dba0[_0x52490b]['type']?(_0x51dba0[_0x52490b]['item']['startIndex']=_0x52490b,_0x51dba0[_0x52490b]['item']['endIndex']=_0x52490b):('elementStart'===_0x51dba0[_0x52490b]['type']?_0x51dba0[_0x52490b]['item']['startIndex']=_0x52490b:'elementEnd'===_0x51dba0[_0x52490b]['type']&&(_0x51dba0[_0x52490b]['item']['endIndex']=_0x52490b),_0x8bf66a['set'](_0x51dba0[_0x52490b]['id'],_0x52490b));for(const _0x2d967a of _0x8bf66a['values']())'elementStart'===_0x51dba0[_0x2d967a]['type']?_0x51dba0[_0x2d967a]['item']['endIndex']=_0x8bf66a['get'](_0x51dba0[_0x2d967a]['pairId']):'elementEnd'===_0x51dba0[_0x2d967a]['type']&&(_0x51dba0[_0x2d967a]['item']['startIndex']=_0x8bf66a['get'](_0x51dba0[_0x2d967a]['pairId']));}['_processTape'](_0x44d086){for(let _0x2d168b=0x0;_0x2d168b<_0x44d086['length'];_0x2d168b++){if('elementStart'===_0x44d086[_0x2d168b]['type'])_0x44d086[_0x2d168b]['item']['startIndex']=_0x2d168b;else{if('elementEnd'===_0x44d086[_0x2d168b]['type']){_0x44d086[_0x2d168b]['item']['endIndex']=_0x2d168b;const _0x45201b=_0x44d086[_0x2d168b]['item']['startIndex'];_0x44d086[_0x45201b]['pairId']=_0x44d086[_0x2d168b]['id'],_0x44d086[_0x2d168b]['pairId']=_0x44d086[_0x45201b]['id'];}else _0x44d086[_0x2d168b]['item']['startIndex']=_0x2d168b,_0x44d086[_0x2d168b]['item']['endIndex']=_0x2d168b,_0x44d086[_0x2d168b]['pairId']=null;}_0x44d086[_0x2d168b]['markersStart']||(_0x44d086[_0x2d168b]['markersStart']=[],_0x44d086[_0x2d168b]['markersEnd']=[]);}}['_markInsertions'](_0x1a26b1,_0x5730e1){const _0x249cd7=_0x1a26b1['filter'](_0x26bf60=>!_0x26bf60['isAdded']);for(let _0xd018b2=0x0;_0xd018b2<_0x5730e1['length'];_0xd018b2++)_0x5730e1[_0xd018b2]['isAdded']&&(_0x249cd7[_0xd018b2]['isAdded']=_0x5730e1[_0xd018b2]['isAdded']);}['_makeModelFromViewString'](_0x1133a8){const _0xb0f08a=JSON['parse'](_0x1133a8),_0x2eaf3f=this['editor']['editing']['view']['document'],_0x4a1a04=new _0x1a5418(_0x2eaf3f,_0xb0f08a['map'](_0xa6a9da=>this['_getViewObj'](_0xa6a9da)));return this['editor']['data']['toModel'](_0x4a1a04);}['_getViewObj'](_0x4f8397){const _0x1fb7ce=this['editor']['editing']['view']['document'];if('string'==typeof _0x4f8397)return new _0x32a2e8(_0x1fb7ce,_0x4f8397);{const _0x71fdca=_0x4f8397['children']['map'](_0x317b32=>this['_getViewObj'](_0x317b32));return new(tt[_0x4f8397['type']]||_0x47610d)(_0x1fb7ce,_0x4f8397['name'],_0x4f8397['attributes'],_0x71fdca);}}['_getDiff'](_0x578b3a,_0x39e985=null){const _0x1d5ef3=this['repository']['getRevision'](_0x578b3a),_0x870925=_0x39e985?this['repository']['getRevision'](_0x39e985):null,_0x14d1d0=this['_getRevisionsRange'](_0x1d5ef3,_0x870925),_0x47e5ab=_0x14d1d0[_0x14d1d0['length']-0x1],_0xf43474=new Map(),_0x4e6dd4={'model':{},'attributes':{},'changes':[]},_0x5e2421=new Set(),_0x3454e0=new Map();for(let _0x205c20=_0x14d1d0['length']-0x1;_0x205c20>=0x0;_0x205c20--){const _0x40bd89=_0x14d1d0[_0x205c20];for(const _0x459906 of Object['keys'](_0x40bd89['diffData']))if(_0x40bd89['diffData'][_0x459906]['attachChange']){const _0x3aa3ad=_0x40bd89['diffData'][_0x459906]['attachChange'];_0x3aa3ad['isAttached']?(_0x5e2421['add'](_0x459906),_0x3454e0['has'](_0x459906)&&_0x3454e0['get'](_0x459906)['userId']==_0x3aa3ad['userId']?_0x3454e0['delete'](_0x459906):_0x3454e0['set'](_0x459906,_0x3aa3ad)):_0x3454e0['has'](_0x459906)?(_0x5e2421['delete'](_0x459906),_0x3454e0['delete'](_0x459906)):(_0x5e2421['add'](_0x459906),_0x3454e0['set'](_0x459906,_0x3aa3ad));}else _0x5e2421['add'](_0x459906);}for(const _0x4ddef9 of _0x5e2421){const _0x1dc12b=_0x3454e0['has'](_0x4ddef9)&&!_0x3454e0['get'](_0x4ddef9)['isAttached'];let _0x3c3786=_0x1dc12b?_0x14d1d0['length']-0x1:0x0;const _0x59c38a=_0x1dc12b?-0x1:0x1;for(;_0x14d1d0[_0x3c3786];){const _0x10b953=_0x14d1d0[_0x3c3786];if(_0x10b953['diffData'][_0x4ddef9]){const _0x23d97b=_0x1dc12b?_0x10b953['diffData'][_0x4ddef9]['attributesBefore']:_0x10b953['diffData'][_0x4ddef9]['attributesAfter'];_0x4e6dd4['attributes'][_0x4ddef9]=_0x23d97b?_0x4e6aba(_0x23d97b):{};break;}_0x3c3786+=_0x59c38a;}}for(const _0x5bdee2 of _0x14d1d0){_0x5bdee2['model']={};for(const _0x42bbd1 of _0x5bdee2['authors'])_0xf43474['set'](_0x42bbd1['id'],_0x42bbd1);for(const _0x551857 of _0x5e2421){const _0x3d6254=_0x5bdee2['diffData'][_0x551857]?_0x5bdee2['diffData'][_0x551857]['insertions']:'[]',_0x5353a1=_0x5bdee2['diffData'][_0x551857]?_0x5bdee2['diffData'][_0x551857]['deletions']:'[]';_0x5bdee2['model'][_0x551857]={'insertions':this['_makeModelFromViewString'](_0x3d6254),'deletions':this['_makeModelFromViewString'](_0x5353a1)};}}for(const _0x5251cc of _0x5e2421){let _0x2ef2f5=null,_0x4b72ee=0x0;const _0x1b653b=new Map(Array['from'](_0x1d5ef3['model'][_0x5251cc]['insertions']['markers'])['filter'](([_0x24a999])=>!_0x24a999['startsWith']('revision:')));let _0x323fb4=0x0;for(const _0x726fba of _0x14d1d0){const _0x2bd981=this['_makeTape'](_0x726fba['model'][_0x5251cc]['insertions']);_0x726fba==_0x1d5ef3?(_0x2ef2f5=_0x2bd981,_0x4b72ee=_0x2ef2f5['length'],_0x2ef2f5['forEach'](_0x418968=>{_0x418968['id']=_0x323fb4++;}),this['_processTape'](_0x2ef2f5)):this['_markInsertions'](_0x2ef2f5,_0x2bd981);const _0x3c2b18=_0x2ef2f5['filter'](_0x49a48d=>!_0x49a48d['isAdded'])['map'](_0x39d424=>_0x39d424['id']);let _0x5b7237=0x0;const _0x259b6d=this['_makeTape'](_0x726fba['model'][_0x5251cc]['deletions']);_0x259b6d['forEach'](_0x3e7f18=>{_0x3e7f18['isRemoved']?_0x3e7f18['id']=_0x4b72ee++:_0x3e7f18['id']=_0x3c2b18[_0x5b7237++];}),this['_processTape'](_0x259b6d),this['_setDistance'](_0x2ef2f5,'isAdded'),this['_setDistance'](_0x259b6d,'isRemoved'),_0x726fba==_0x1d5ef3&&this['_markMarkers'](_0x2ef2f5,_0x1b653b),_0x2ef2f5=this['_joinTapes'](_0x2ef2f5,_0x259b6d),this['_refreshStartEndIndex'](_0x2ef2f5),this['_setDistance'](_0x2ef2f5,'isRemoved');}_0x2ef2f5=_0x2ef2f5['filter'](_0x3b3a11=>!(_0x3b3a11['isAdded']&&_0x3b3a11['isRemoved']));const _0xd9feae=new Map(_0x47e5ab['model'][_0x5251cc]['deletions']['markers']),_0x4f0cfd=new Set(_0x1b653b['keys']());for(const _0x3478bf of _0xd9feae['keys']())_0x4f0cfd['delete'](_0x3478bf);this['_markSuggestions'](_0x2ef2f5,_0x4f0cfd),this['_fixObsoleteTags'](_0x2ef2f5),_0x2ef2f5=this['_removeMissingPairs'](_0x2ef2f5),_0x2ef2f5=this['_markMismatchedRemovedTags'](_0x2ef2f5),_0x2ef2f5=this['_removeUnsupportedChanges'](_0x2ef2f5);const {root:_0x556247,changes:_0x1a66a6}=this['_makeModelFromTape'](_0x2ef2f5,_0xf43474,_0x5251cc);_0x4e6dd4['model'][_0x5251cc]=_0x556247;const _0x4a38ff=_0x3454e0['get'](_0x5251cc);if(_0x4a38ff){const _0x5dd713=_0xf43474['get'](_0x4a38ff['userId']),_0x37dba7=new r({'author':_0x5dd713,'type':_0x4a38ff['isAttached']?'add':'remove','data':{'isOnRoot':!0x0},'createdAt':new Date(),'rootName':_0x5251cc});_0x1a66a6['unshift'](_0x37dba7),_0x4e6dd4['attributes'][_0x5251cc]['revisionHistoryAttachChange']=_0x37dba7['id'];}_0x4e6dd4['changes']=_0x4e6dd4['changes']['concat'](_0x1a66a6);}return _0x4e6dd4;}['_markMarkers'](_0x248354,_0x2840bf){for(let _0x2baea7=0x0;_0x2baea7<_0x248354['length'];_0x2baea7++)for(const [_0x3b2058,_0xfe1b7c]of _0x2840bf)_0xfe1b7c['start']['isEqual'](_0x248354[_0x2baea7]['previousPosition'])&&_0x248354[_0x2baea7]['markersStart']['push'](_0x3b2058),_0xfe1b7c['end']['isEqual'](_0x248354[_0x2baea7]['nextPosition'])&&_0x248354[_0x2baea7]['markersEnd']['push'](_0x3b2058);}['_joinTapes'](_0x100060,_0x2b56fb){let _0x6404e3=[],_0x20c36e=0x0,_0x381eda=0x0;for(;_0x20c36e<_0x100060['length']||_0x381eda<_0x2b56fb['length'];){const _0x41938f=_0x100060[_0x20c36e]||{},_0x5d5a1e=_0x2b56fb[_0x381eda]||{};if(_0x41938f['id']==_0x5d5a1e['id'])_0x20c36e++,_0x381eda++,_0x6404e3['push'](_0x41938f);else{if(_0x5d5a1e['isRemoved']&&_0x41938f['isAdded']){const {commonTape:_0x4367d0,iEnd:_0x24baef,jEnd:_0x3b6b46}=this['_threeWayMerge'](_0x100060,_0x20c36e,_0x2b56fb,_0x381eda);_0x6404e3=_0x6404e3['concat'](_0x4367d0),_0x20c36e=_0x24baef,_0x381eda=_0x3b6b46;}else _0x5d5a1e['isRemoved']?(_0x381eda++,_0x6404e3['push'](_0x5d5a1e)):(_0x20c36e++,_0x6404e3['push'](_0x41938f));}}return _0x6404e3;}['_markSuggestions'](_0xefeba6,_0x3c5921){const _0x26cf04=[];for(let _0x5beb66=0x0;_0x5beb66<_0xefeba6['length'];_0x5beb66++){for(let _0x51321a=0x0;_0x51321a<_0xefeba6[_0x5beb66]['markersStart']['length'];_0x51321a++){const _0x2d3450=_0xefeba6[_0x5beb66]['markersStart'][_0x51321a];if(!_0x3c5921['has'](_0x2d3450))continue;const {group:_0x4b60ed,type:_0x1bd4ce,authorId:_0x55afa9}=_0x2f0dcf(_0x2d3450);'revision-suggestion'!=_0x4b60ed||'insertion'!=_0x1bd4ce&&'deletion'!=_0x1bd4ce||(_0x26cf04['unshift']({'type':_0x1bd4ce,'name':_0x2d3450,'userId':_0x55afa9}),_0xefeba6[_0x5beb66]['markersStart']['splice'](_0x51321a,0x1),_0x51321a--);}_0x46cf13(_0xefeba6[_0x5beb66]);for(let _0x45cd80=0x0;_0x45cd80<_0xefeba6[_0x5beb66]['markersEnd']['length'];_0x45cd80++){const _0x4712c1=_0xefeba6[_0x5beb66]['markersEnd'][_0x45cd80];if(!_0x3c5921['has'](_0x4712c1))continue;const {group:_0x10fb78,type:_0x5db5c1}=_0x2f0dcf(_0x4712c1);if('revision-suggestion'!=_0x10fb78||'insertion'!=_0x5db5c1&&'deletion'!=_0x5db5c1)continue;_0xefeba6[_0x5beb66]['markersEnd']['splice'](_0x45cd80,0x1),_0x45cd80--;const _0x4d14db=_0x26cf04['findIndex'](_0x186473=>_0x186473['name']==_0x4712c1);_0x4d14db>-0x1&&_0x26cf04['splice'](_0x4d14db,0x1);}}function _0x2f0dcf(_0x582979){const _0x4598a5=_0x582979['split'](':');return{'group':_0x4598a5[0x0],'type':_0x4598a5[0x1],'subType':_0x4598a5['length']>=0x5?_0x4598a5[0x2]:null,'id':_0x4598a5['length']<0x5?_0x4598a5[0x2]:_0x4598a5[0x3],'authorId':_0x4598a5['length']<0x5?_0x4598a5[0x3]:_0x4598a5[0x4],'markerCount':0x6==_0x4598a5['length']?_0x4598a5[0x5]:null};}function _0x46cf13(_0x4763bd){for(let _0x18f455=0x0;_0x18f455<_0x26cf04['length'];_0x18f455++){if(_0x4763bd['isAdded']&&'insertion'==_0x26cf04[_0x18f455]['type'])return _0x4763bd['isAddSuggestion']=_0x26cf04[_0x18f455],void delete _0x4763bd['isAdded'];if(!_0x4763bd['isAdded']&&!_0x4763bd['isRemoved']&&'deletion'==_0x26cf04[_0x18f455]['type'])return void(_0x4763bd['isRemoveSuggestion']=_0x26cf04[_0x18f455]);}}}['_setDistance'](_0x40c070,_0x4276c6){let _0x4628ea=0x0,_0x163439=!0x1;const _0x884965=new Map();for(const _0x3b924e of _0x40c070)_0x3b924e[_0x4276c6]?_0x163439&&(_0x4628ea++,_0x163439=!0x1):(_0x4628ea++,_0x163439=!0x0),_0x884965['set'](_0x3b924e['id'],_0x4628ea);for(let _0x59feab=0x0;_0x59feab<_0x40c070['length'];_0x59feab++){if('isRemoved'==_0x4276c6&&_0x40c070[_0x59feab]['isAdded']||'isAdded'==_0x4276c6&&_0x40c070[_0x59feab]['isRemoved'])continue;if('text'==_0x40c070[_0x59feab]['type']){_0x40c070[_0x59feab]['distance']=0x0;continue;}const _0x1928de=_0x884965['get'](_0x40c070[_0x59feab]['pairId']),_0x56115e=_0x884965['get'](_0x40c070[_0x59feab]['id']);_0x40c070[_0x59feab]['distance']=_0x1928de-_0x56115e;}}['_getRevisionsRange'](_0x221390,_0x5f32e0,_0x409933=!0x1){const _0x82ff57=[];let _0x5b05da=this['repository']['getIndex'](_0x221390),_0x1b8d2f=this['repository']['getIndex'](_0x5f32e0);for(-0x1==_0x1b8d2f&&(_0x1b8d2f=this['repository']['_revisions']['length'],_0x409933=!0x1);_0x5b05da<_0x1b8d2f;)_0x82ff57['push'](this['repository']['getRevision'](_0x5b05da)),_0x5b05da++;return _0x409933&&_0x82ff57['push'](this['repository']['getRevision'](_0x5b05da)),_0x82ff57;}['_threeWayMerge'](_0x50f0e7,_0x68672b,_0x52a0d3,_0x216354){const _0xac5361=this['editor']['model']['schema'];let _0x14db50=_0x68672b;for(;_0x50f0e7[_0x14db50]&&_0x50f0e7[_0x14db50]['isAdded'];)_0x14db50++;let _0x37b1fb=_0x216354;for(;_0x52a0d3[_0x37b1fb]&&_0x52a0d3[_0x37b1fb]['isRemoved'];)_0x37b1fb++;_0x1f9c10(_0x50f0e7,_0x68672b,_0x14db50),_0x1f9c10(_0x52a0d3,_0x216354,_0x37b1fb);const _0x37f156=_0x52a0d3['slice'](_0x216354,_0x37b1fb)['concat'](_0x50f0e7['slice'](_0x68672b,_0x14db50));return _0x37f156['sort']((_0x537b8c,_0x554840)=>_0x537b8c['side']!=_0x554840['side']?_0x537b8c['side']-_0x554840['side']:_0x537b8c['level']!=_0x554840['level']?_0x537b8c['level']-_0x554840['level']:_0x537b8c['distance']!=_0x554840['distance']?_0x554840['distance']-_0x537b8c['distance']:!!_0x537b8c['isAdded']!=!!_0x554840['isAdded']?-0x1==_0x537b8c['side']||0x0==_0x537b8c['side']?_0x537b8c['isAdded']?-0x1:0x1:_0x537b8c['isAdded']?0x1:-0x1:_0x537b8c['index']-_0x554840['index']),{'commonTape':_0x37f156,'iEnd':_0x14db50,'jEnd':_0x37b1fb};function _0x1f9c10(_0x5abba0,_0x242b5f,_0x4cc971){let _0x32379f=-0x1,_0x1d518f=Number['POSITIVE_INFINITY'],_0x4c5eb0=!0x0;for(let _0x59cbda=_0x242b5f;_0x59cbda<_0x4cc971;_0x59cbda++)if(_0xac5361['isInline'](_0x5abba0[_0x59cbda]['item'])||(_0x4c5eb0=!0x1),_0x5abba0[_0x59cbda]['item']['startIndex']<_0x242b5f&&(_0x32379f=_0x59cbda),_0x5abba0[_0x59cbda]['item']['endIndex']>=_0x4cc971){_0x1d518f=_0x59cbda;break;}_0x4c5eb0&&(_0x32379f=_0x4cc971-0x1);for(let _0x148e18=_0x242b5f;_0x148e18<_0x4cc971;_0x148e18++)_0x5abba0[_0x148e18]['side']=_0x148e18<=_0x32379f?-0x1:_0x148e18<_0x1d518f?0x0:0x1,_0x5abba0[_0x148e18]['index']=_0x148e18;let _0x2d9037=0x0;for(let _0x41f456=_0x242b5f;_0x41f456<=_0x32379f;_0x41f456++)0x0==_0x5abba0[_0x41f456]['distance']?_0x5abba0[_0x41f456]['level']=_0x2d9037:(_0x2d9037++,_0x5abba0[_0x41f456]['level']=_0x2d9037,_0x2d9037++);for(let _0x54aa15=_0x242b5f;_0x54aa15<_0x4cc971;_0x54aa15++)0x0==_0x5abba0[_0x54aa15]['side']&&(_0x5abba0[_0x54aa15]['level']=_0x2d9037);_0x2d9037=0x0;for(let _0x11626a=_0x4cc971-0x1;_0x11626a>=_0x1d518f;_0x11626a--)0x0==_0x5abba0[_0x11626a]['distance']?_0x5abba0[_0x11626a]['level']=_0x2d9037:(_0x2d9037--,_0x5abba0[_0x11626a]['level']=_0x2d9037,_0x2d9037--);}}['_fixObsoleteTags'](_0xc71fc7){const _0x251a1c=new Map(),_0x5f1c35=this['editor']['model']['schema'];for(let _0xc551c5=0x1;_0xc551c5<_0xc71fc7['length'];_0xc551c5++){let _0x3836f4,_0x582cc4,_0x4d3872;const _0x1f4b4a=_0xc71fc7[_0xc551c5],_0x2f96eb=_0xc71fc7[_0xc551c5-0x1];if('text'==_0x1f4b4a['type'])continue;if(_0x1f4b4a['type']!=_0x2f96eb['type'])continue;if(!_0x5f1c35['isBlock'](_0x2f96eb['item'])||_0x5f1c35['isLimit'](_0x2f96eb['item']))continue;if(!_0x5f1c35['isBlock'](_0x1f4b4a['item'])||_0x5f1c35['isLimit'](_0x1f4b4a['item']))continue;if((_0xc71fc7[_0xc551c5]['isAdded']||_0xc71fc7[_0xc551c5]['isAddSuggestion'])&&_0xc71fc7[_0xc551c5-0x1]['isRemoved'])_0x3836f4=_0xc71fc7[_0xc551c5],_0x582cc4=_0xc71fc7[_0xc551c5-0x1],_0x4d3872=_0xc551c5-0x1;else{if(!_0xc71fc7[_0xc551c5]['isRemoved']||!_0xc71fc7[_0xc551c5-0x1]['isAdded']&&!_0xc71fc7[_0xc551c5-0x1]['isAddSuggestion'])continue;_0x3836f4=_0xc71fc7[_0xc551c5-0x1],_0x582cc4=_0xc71fc7[_0xc551c5],_0x4d3872=_0xc551c5;}const _0xbe9351=_0x3836f4['level']==_0x582cc4['level'],_0x57ca1b=Math['abs'](_0x3836f4['level'])<Math['abs'](_0x582cc4['level'])&&0x0==_0x582cc4['distance'];(_0xbe9351||_0x57ca1b)&&(_0x251a1c['set'](_0x582cc4['id'],_0x3836f4['id']),_0xc71fc7['splice'](_0x4d3872,0x1),_0xc551c5--,_0x3836f4['isAdded']=!0x1);}for(let _0x14cb27=0x0;_0x14cb27<_0xc71fc7['length'];_0x14cb27++)_0x251a1c['has'](_0xc71fc7[_0x14cb27]['pairId'])&&(_0xc71fc7[_0x14cb27]['pairId']=_0x251a1c['get'](_0xc71fc7[_0x14cb27]['pairId']));}['_removeMissingPairs'](_0x6d0a57){const _0x300f31=new Set(_0x6d0a57['map'](_0x5345ab=>_0x5345ab['id']));for(let _0x177a2f=0x0;_0x177a2f<_0x6d0a57['length'];_0x177a2f++)_0x300f31['has'](_0x6d0a57[_0x177a2f]['pairId'])||0x0==_0x6d0a57[_0x177a2f]['distance']||(_0x6d0a57[_0x177a2f]['isIncorrect']=!0x0);return _0x6d0a57['filter'](_0x5a211d=>!_0x5a211d['isIncorrect']);}['_markMismatchedRemovedTags'](_0x54184f){const _0x214b2f=new Set();for(let _0x46c41f=0x0;_0x46c41f<_0x54184f['length'];_0x46c41f++){if(_0x214b2f['has'](_0x54184f[_0x46c41f]['id'])&&_0x54184f[_0x46c41f]['isRemoved']&&(_0x54184f[_0x46c41f]['isIncorrect']=!0x0),_0x54184f[_0x46c41f]['isIncorrect'])continue;if(0x0==_0x54184f[_0x46c41f]['distance'])continue;if('elementStart'!=_0x54184f[_0x46c41f]['type'])continue;if(null==_0x54184f[_0x46c41f]['pairId'])continue;let _0x454cca=_0x46c41f+0x1,_0x420616=0x0;for(;_0x54184f[_0x454cca]['id']!=_0x54184f[_0x46c41f]['pairId'];)'elementStart'==_0x54184f[_0x454cca]['type']?_0x420616++:'elementEnd'==_0x54184f[_0x454cca]['type']&&_0x420616--,_0x454cca++;if(0x0!=_0x420616){if(_0x54184f[_0x46c41f]['isRemoved'])_0x54184f[_0x46c41f]['isIncorrect']=!0x0;else{for(;_0x454cca!=_0x46c41f;)_0x54184f[_0x454cca]['isRemoved']&&0x0!=_0x54184f[_0x454cca]['distance']&&(_0x54184f[_0x454cca]['isIncorrect']=!0x0,_0x214b2f['add'](_0x54184f[_0x454cca]['pairId'])),_0x454cca--;}}}return _0x54184f['filter'](_0xd4e967=>!_0xd4e967['isIncorrect']);}['_removeUnsupportedChanges'](_0x239cd4){const _0x55513e=this['editor']['model']['schema'];for(let _0x254cb3=0x0;_0x254cb3<_0x239cd4['length'];_0x254cb3++){if(!(_0x239cd4[_0x254cb3]['isAdded']||_0x239cd4[_0x254cb3]['isAddSuggestion']||_0x239cd4[_0x254cb3]['isRemoved']||_0x239cd4[_0x254cb3]['isRemoveSuggestion']))continue;if(0x0==_0x239cd4[_0x254cb3]['distance'])continue;const _0x49276c=_0x239cd4[_0x254cb3]['item'];_0x55513e['isBlock'](_0x49276c)||_0x55513e['isLimit'](_0x49276c)||(_0x239cd4[_0x254cb3]['isAdded']&&delete _0x239cd4[_0x254cb3]['isAdded'],_0x239cd4[_0x254cb3]['isAddSuggestion']&&delete _0x239cd4[_0x254cb3]['isAddSuggestion'],_0x239cd4[_0x254cb3]['isRemoveSuggestion']&&delete _0x239cd4[_0x254cb3]['isRemoveSuggestion'],_0x239cd4[_0x254cb3]['isRemoved']&&(_0x239cd4[_0x254cb3]['isIncorrect']=!0x0));}return _0x239cd4['filter'](_0x221b6d=>!_0x221b6d['isIncorrect']);}['_makeModelFromTape'](_0x504c4b,_0xdf7742,_0x427139){const _0x4178cc=new wt(),_0x4c2d4b=[],_0x505714=new Map(),_0x3587ba=this['editor']['model'],_0x1626ff=_0x3587ba['schema'],_0x134690=[_0x4178cc],_0x128e76={},_0x1b8187={'isAdded':[],'isRemoved':[],'isAddSuggestion':[],'isRemoveSuggestion':[]};let _0x2743ff=null;const _0x2b2399=[0x0];for(let _0x2301df=0x0;_0x2301df<_0x504c4b['length'];_0x2301df++){let _0x1f5a1c,_0xe17e9b;if('elementStart'===_0x504c4b[_0x2301df]['type']){_0x1f5a1c=_0x3587ba['createPositionFromPath'](_0x4178cc,_0x2b2399);const _0x29421d=new ft(_0x504c4b[_0x2301df]['item']['name'],_0x504c4b[_0x2301df]['item']['getAttributes']());_0x134690[0x0]['_appendChild'](_0x29421d),_0x2b2399['push'](0x0),_0x134690['unshift'](_0x29421d),_0xe17e9b=_0x3587ba['createPositionFromPath'](_0x4178cc,_0x2b2399),_0x2743ff=null;}else{if('elementEnd'===_0x504c4b[_0x2301df]['type'])_0x134690['shift'](),_0x1f5a1c=_0x3587ba['createPositionFromPath'](_0x4178cc,_0x2b2399),_0x2b2399['pop'](),_0x2b2399[_0x2b2399['length']-0x1]++,_0xe17e9b=_0x3587ba['createPositionFromPath'](_0x4178cc,_0x2b2399),_0x2743ff=null;else{if(_0x1f5a1c=_0x3587ba['createPositionFromPath'](_0x4178cc,_0x2b2399),_0x2743ff&&_0x28d723(_0x2743ff,_0x504c4b[_0x2301df]['item']))_0x2743ff['_data']+=_0x504c4b[_0x2301df]['item']['data'];else{const _0x127a5d=new _t(_0x504c4b[_0x2301df]['item']['data'],_0x504c4b[_0x2301df]['item']['getAttributes']());_0x134690[0x0]['_appendChild'](_0x127a5d),_0x2743ff=_0x127a5d;}_0x2b2399[_0x2b2399['length']-0x1]+=_0x504c4b[_0x2301df]['item']['offsetSize'],_0xe17e9b=_0x3587ba['createPositionFromPath'](_0x4178cc,_0x2b2399);}}for(const _0x1bdc5f of _0x504c4b[_0x2301df]['markersStart'])_0x505714['set'](_0x1bdc5f,{'start':_0x1f5a1c,'end':null});_0x569dac('isRemoveSuggestion',_0x2301df,_0x1f5a1c,_0xe17e9b),_0x569dac('isAddSuggestion',_0x2301df,_0x1f5a1c,_0xe17e9b),_0x569dac('isRemoved',_0x2301df,_0x1f5a1c,_0xe17e9b),_0x569dac('isAdded',_0x2301df,_0x1f5a1c,_0xe17e9b);for(const _0x4b8c34 of _0x504c4b[_0x2301df]['markersEnd']){_0x505714['get'](_0x4b8c34)['end']=_0xe17e9b;}}for(const [_0x271b5d,_0x5cbbcb]of _0x505714){const _0x56a085=this['editor']['model']['createRange'](_0x5cbbcb['start'],_0x5cbbcb['end']);_0x4178cc['markers']['set'](_0x271b5d,_0x56a085);}return _0x4c2d4b['sort']((_0x24d519,_0x5d0b6c)=>{const _0x199dbd=_0x4178cc['markers']['get']('revision:'+_0x24d519['id']),_0x54792c=_0x4178cc['markers']['get']('revision:'+_0x5d0b6c['id']);return _0x199dbd['start']['isBefore'](_0x54792c['start'])?-0x1:_0x199dbd['start']['isAfter'](_0x54792c['start'])?0x1:_0x199dbd['end']['isBefore'](_0x54792c['end'])?-0x1:_0x199dbd['end']['isAfter'](_0x54792c['end'])?0x1:'add'===_0x24d519['type']?-0x1:0x1;}),{'root':_0x4178cc,'changes':_0x4c2d4b};function _0x569dac(_0x6cbb07,_0x26504a,_0x41b8ed,_0x4d0f16){const _0x58b468=!!_0x504c4b[_0x26504a][_0x6cbb07],_0x2724c6=_0x58b468?_0x504c4b[_0x26504a][_0x6cbb07]['userId']:null,_0x5815e0=_0x26504a===_0x504c4b['length']-0x1,_0x29db92=_0x1b8187[_0x6cbb07][0x0],_0x582404=_0x1626ff['isObject'](_0x504c4b[_0x26504a]['item']);!_0x128e76[_0x6cbb07]&&_0x58b468?_0x128e76[_0x6cbb07]={'start':_0x41b8ed,'tapeItem':_0x504c4b[_0x26504a],'userId':_0x2724c6,'type':_0x6cbb07}:_0x128e76[_0x6cbb07]&&!_0x58b468?(_0x128e76[_0x6cbb07]['end']=_0x41b8ed,_0x5861ac(_0x128e76[_0x6cbb07]),_0x128e76[_0x6cbb07]=null):_0x128e76[_0x6cbb07]&&_0x58b468&&_0x128e76[_0x6cbb07]['userId']!==_0x2724c6&&(_0x128e76[_0x6cbb07]['end']=_0x41b8ed,_0x29db92&&_0x29db92['userId']===_0x128e76[_0x6cbb07]['userId']||_0x5861ac(_0x128e76[_0x6cbb07]),_0x128e76[_0x6cbb07]={'start':_0x41b8ed,'tapeItem':_0x504c4b[_0x26504a],'userId':_0x2724c6,'type':_0x6cbb07}),_0x128e76[_0x6cbb07]&&_0x582404&&('elementStart'!==_0x504c4b[_0x26504a]['type']||_0x29db92&&_0x29db92['userId']===_0x2724c6||_0x1b8187[_0x6cbb07]['unshift']({'userId':_0x2724c6,'object':_0x504c4b[_0x26504a]['item'],'change':_0x128e76[_0x6cbb07]}),'elementEnd'===_0x504c4b[_0x26504a]['type']&&_0x29db92&&_0x29db92['object']===_0x504c4b[_0x26504a]['item']&&(_0x1b8187[_0x6cbb07]['shift'](),_0x128e76[_0x6cbb07]=_0x29db92['change'])),_0x128e76[_0x6cbb07]&&_0x5815e0&&(_0x128e76[_0x6cbb07]['end']=_0x4d0f16,_0x5861ac(_0x128e76[_0x6cbb07]),_0x128e76[_0x6cbb07]=null);}function _0x5861ac({start:_0x4f683b,end:_0xef69e9,tapeItem:_0x1d9336,userId:_0x49fec9,type:_0x49120a}){const _0x3529eb=_0x1d9336['item'],_0x5e27cd=_0x3587ba['schema']['isBlock'](_0x3529eb)&&!_0x3587ba['schema']['isLimit'](_0x3529eb),_0x177610=_0x4f683b['nodeAfter']==_0xef69e9['parent']&&_0xef69e9['isAtStart'];if(_0x5e27cd&&_0x177610)return;const _0x1e57f6=_0x3587ba['createRange'](_0x4f683b,_0xef69e9),_0x3e04cd=_0xdf7742['get'](_0x49fec9),_0x3038d6=new r({'author':_0x3e04cd,'type':'isAdded'==_0x49120a||'isAddSuggestion'==_0x49120a?'add':'remove','data':{'isSuggestion':'isAddSuggestion'==_0x49120a||'isRemoveSuggestion'==_0x49120a},'createdAt':new Date(),'rootName':_0x427139});_0x4c2d4b['push'](_0x3038d6),_0x4178cc['markers']['set']('revision:'+_0x3038d6['id'],_0x1e57f6);}function _0x28d723(_0xa2b1b,_0x2214bf){const _0x100aa6=_0xa2b1b['getAttributes'](),_0x15a301=_0x2214bf['getAttributes']();for(const _0x11a23b of _0x100aa6){if(_0x11a23b[0x1]!==_0x2214bf['getAttribute'](_0x11a23b[0x0]))return!0x1;_0x15a301['next']();}return _0x15a301['next']()['done'];}}['_setConversion'](){this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'revision'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision','view':_0x572cae=>{const _0x5f5ab5=_0x572cae['markerName']['split'](':')[0x1],_0x35cb89=this['_getChangeFromId'](_0x5f5ab5);if(!_0x35cb89)return null;const _0x501dbf='add'==_0x35cb89['type']?'insertion':'deletion',_0x56af76=['ck-suggestion-marker','ck-suggestion-marker-'+_0x501dbf];return _0x35cb89['data']['isSuggestion']&&_0x56af76['push']('ck-suggestion-marker-'+_0x501dbf+'-new'),this['activeChange']==_0x35cb89&&_0x56af76['push']('ck-suggestion-marker--active'),{'classes':_0x56af76,'attributes':{'data-change-id':_0x5f5ab5}};}}),this['editor']['conversion']['for']('upcast')['add'](_0x52edff=>{_0x52edff['on']('element:pre',(_0x609577,_0x5d3289,_0x54f4f8)=>{const _0x2f83a4=_0x5d3289['viewItem']['getChild'](0x0);if(!_0x2f83a4||!_0x2f83a4['is']('element','code'))return;if(!_0x54f4f8['consumable']['consume'](_0x2f83a4,{'attributes':['vid_start','vid_end']}))return;const _0xc288f9=_0x5d3289['modelRange']['start']['nodeAfter'];_0x54f4f8['writer']['setAttribute']('vid_start',_0x2f83a4['getAttribute']('vid_start'),_0xc288f9),_0x54f4f8['writer']['setAttribute']('vid_end',_0x2f83a4['getAttribute']('vid_end'),_0xc288f9);},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['add'](_0x4fc036=>{_0x4fc036['on']('element',(_0x3ae5d9,_0x30ce89,_0x6e1d20)=>{if(!_0x6e1d20['consumable']['consume'](_0x30ce89['viewItem'],{'attributes':['vid_start','vid_end']}))return;if(_0x30ce89['modelRange']['isCollapsed'])return;const _0x4ff822=_0x30ce89['modelRange']['start']['nodeAfter'];_0x4ff822['hasAttribute']('vid_start')||_0x4ff822['hasAttribute']('vid')||(_0x6e1d20['writer']['setAttribute']('vid_start',_0x30ce89['viewItem']['getAttribute']('vid_start'),_0x4ff822),_0x6e1d20['writer']['setAttribute']('vid_end',_0x30ce89['viewItem']['getAttribute']('vid_end'),_0x4ff822));},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['elementToAttribute']({'view':{'name':'span','attributes':{'vid':!0x0}},'model':{'key':'vid','value':_0x229ca8=>_0x229ca8['getAttribute']('vid')}}),this['editor']['model']['schema']['on']('checkAttribute',(_0x5ecf9d,[,_0x109211])=>{['vid_start','vid_end','vid']['includes'](_0x109211)&&(_0x5ecf9d['return']=!0x0,_0x5ecf9d['stop']());},{'priority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['add'](_0x5f39fb=>{_0x5f39fb['on']('attribute:vid',(_0x3509d0,_0x2005e7,_0x645a9c)=>{if('\x20'!=_0x2005e7['item']['data']||_0x2005e7['item']['parent']['maxOffset']>0x1)return;if(!_0x645a9c['consumable']['consume'](_0x2005e7['item'],_0x3509d0['name']))return;const _0x15e407=_0x645a9c['writer'],_0xd772ab=_0x645a9c['mapper']['toViewRange'](_0x2005e7['range']);_0x15e407['wrap'](_0xd772ab,_0x15e407['createAttributeElement']('span'));});}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',function(_0x85b7){const _0x3e0e83=_0x85b7['plugins']['get']('RevisionViewer');return(_0x478fbd,_0x34fd08,_0x3b2fef)=>{const _0x5a8a0d=_0x34fd08['markerName']['split'](':')[0x1],_0x119ddf=_0x3e0e83['_getChangeFromId'](_0x5a8a0d);if(!_0x119ddf)return null;const _0x162441='add'==_0x119ddf['type']?'split':'merge';if(!_0x3b2fef['consumable']['test'](_0x34fd08['markerRange'],_0x478fbd['name']))return;const _0x4f4bea=_0x34fd08['markerRange']['getWalker'](),_0x4657dc=_0x34fd08['markerRange']['start'],_0x3a85aa=_0x85b7['model']['schema'];let _0x11fc1a=null,_0x1d68c7=null,_0x464812=!0x1,_0x2370e3=!0x1;for(const _0x18fc78 of _0x4f4bea){const _0x402448=_0x18fc78['item'];_0x464812=_0x464812||_0x3a85aa['isContent'](_0x402448);const _0x219f01=_0x3b2fef['mapper']['toViewElement'](_0x402448);if(_0x219f01&&_0x219f01['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x18fc78['type']&&(_0x3a85aa['isBlock'](_0x402448)&&!_0x3a85aa['isLimit'](_0x402448)&&(_0x402448['nextSibling']||_0x4657dc['isAtEnd']?_0x11fc1a&&_0x11fc1a['parent']==_0x402448||(_0x11fc1a=_0x402448,_0x5aa7c9(_0x18fc78['previousPosition']),_0x2370e3=!0x0):_0x1d68c7=_0x1d68c7||_0x18fc78['previousPosition']));}function _0x5aa7c9(_0x646572){const _0x1cceac=_0x3b2fef['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x162441}),_0x5e0bdc=_0x3b2fef['mapper']['toViewPosition'](_0x646572);_0x119ddf['data']['isSuggestion']&&_0x3b2fef['writer']['addClass']('ck-suggestion-marker-'+_0x162441+'-new',_0x1cceac),_0x3e0e83['activeChange']==_0x119ddf&&_0x3b2fef['writer']['addClass']('ck-suggestion-marker--active',_0x1cceac),_0x3b2fef['writer']['insert'](_0x5e0bdc,_0x1cceac),_0x3b2fef['mapper']['bindElementToMarker'](_0x1cceac,_0x34fd08['markerName']);}_0x464812||_0x2370e3||!_0x1d68c7||_0x5aa7c9(_0x1d68c7);};}(this['editor']),{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('removeMarker:revision',(_0x20a953,_0x3736cb,_0x27fcbc)=>{const _0x4a0e1d=_0x27fcbc['mapper']['markerNameToElements'](_0x3736cb['markerName']);if(_0x4a0e1d){for(const _0x2e4255 of _0x4a0e1d)(_0x2e4255['hasClass']('ck-suggestion-marker-split')||_0x2e4255['hasClass']('ck-suggestion-marker-merge'))&&(_0x27fcbc['mapper']['unbindElementFromMarkerName'](_0x2e4255,_0x3736cb['markerName']),_0x27fcbc['writer']['remove'](_0x2e4255));}},{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',(_0x247cee,_0x4424fe,_0xb62d90)=>{const _0x5880d7=_0x4424fe['markerName']['split'](':')[0x1],_0x5a884d=this['_getChangeFromId'](_0x5880d7);if(!_0x5a884d)return null;const _0x4e6a3f='add'==_0x5a884d['type']?'split':'merge';if(_0xb62d90['consumable']['test'](_0x4424fe['markerRange'],_0x247cee['name']))for(const _0x3d9bc7 of _0x4424fe['markerRange']['getItems']()){if(!_0x3d9bc7['is']('element','softBreak'))continue;const _0x53bfd0=_0xb62d90['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x4e6a3f}),_0x184d0a=_0xb62d90['mapper']['toViewPosition'](this['editor']['model']['createPositionBefore'](_0x3d9bc7));_0x5a884d['data']['isSuggestion']&&_0xb62d90['writer']['addClass']('ck-suggestion-marker-'+_0x4e6a3f+'-new',_0x53bfd0),this['activeChange']==_0x5a884d&&_0xb62d90['writer']['addClass']('ck-suggestion-marker--active',_0x53bfd0),_0xb62d90['writer']['insert'](_0x184d0a,_0x53bfd0),_0xb62d90['mapper']['bindElementToMarker'](_0x53bfd0,_0x4424fe['markerName']);}},{'priority':'high'}),this['editor']['model']['document']['on']('change',()=>{this['editor']['editing']['view']['change'](_0x1ac837=>{for(const _0x3eece4 of this['editor']['model']['document']['getRootNames']()){const _0x1a3208=this['editor']['model']['document']['getRoot'](_0x3eece4),_0x675fd6=this['editor']['editing']['view']['document']['getRoot'](_0x3eece4);if(_0x675fd6){const _0xb80e97=_0x1a3208['getAttribute']('revisionHistoryAttachChange');if(_0x1ac837['removeAttribute']('data-change-id',_0x675fd6),_0x1ac837['removeClass']('ck-revision-history-root-add',_0x675fd6),_0x1ac837['removeClass']('ck-revision-history-root-remove',_0x675fd6),_0x1ac837['removeClass']('ck-revision-history-root--active',_0x675fd6),_0xb80e97){const _0x5a5649=this['_getChangeFromId'](_0xb80e97);if(!_0x5a5649)return null;_0x1ac837['setAttribute']('data-change-id',_0xb80e97,_0x675fd6),_0x1ac837['addClass']('ck-revision-history-root-'+_0x5a5649['type'],_0x675fd6),this['activeChange']==_0x5a5649&&_0x1ac837['addClass']('ck-revision-history-root--active',_0x675fd6);}}}});}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'comment','model':_0x2ac7c9=>'revision-comment:'+_0x2ac7c9,'converterPriority':'highest'}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'suggestion','model':_0x41275b=>'revision-suggestion:'+_0x41275b,'converterPriority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision-suggestion','view':_0x259d11=>({'name':'suggestion:'+_0x259d11,'group':'revision-suggestion'}),'converterPriority':'highest'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision-suggestion','view':_0x223fdd=>{const _0x874dc5=_0x223fdd['markerName']['split'](':')[0x1];return'insertion'!=_0x874dc5&&'deletion'!=_0x874dc5?null:{'classes':['ck-suggestion-preview-marker','ck-suggestion-preview-marker-'+_0x874dc5]};}}),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',(_0x161310,_0x42f7e8,_0x172016)=>{const _0x367957=_0x172016['mapper']['markerNameToElements'](_0x42f7e8['markerName']);if(_0x367957){for(const _0x37833c of _0x367957)_0x37833c['is']('uiElement')&&(_0x172016['mapper']['unbindElementFromMarkerName'](_0x37833c,_0x42f7e8['markerName']),_0x172016['writer']['remove'](_0x37833c));}},{'priority':'high'});}['_getChangeFromId'](_0x29ad8a){return this['_changeIdToChange']['get'](_0x29ad8a);}['_getViewForChange'](_0x367535){return this['_changeView']&&this['_changeView']['destroy'](),this['_changeView']=new Z(this['editor']['locale'],_0x367535),this['_changeView'];}['_initInteractions'](){this['editor']['model']['document']['selection']['observeMarkers']('revision'),this['on']('change:activeView',(_0x5f2a51,_0x52a079,_0x4c13c9,_0x150ae8)=>{_0x150ae8&&this['_balloon']['remove'](_0x150ae8),_0x4c13c9&&(this['_balloon']['add']({'view':_0x4c13c9,'stackId':'revisionHistoryLabel','position':{'target':()=>{const _0x3ba502=this['editor']['editing'],_0xef6dfe=this['_getChangeFromId'](_0x4c13c9['changeId']);let _0x161936;if(_0xef6dfe['data']['isOnRoot']){const _0x4b582c=_0x3ba502['view']['getDomRoot'](_0xef6dfe['rootName']);_0x161936=Array['from'](_0x4b582c['getClientRects']());}else{const _0xd57033=this['editor']['model']['markers']['get']('revision:'+_0x4c13c9['changeId']);_0x161936=Array['from'](_0x3ba502['mapper']['markerNameToElements'](_0xd57033['name']))['map'](_0x5ae9ee=>_0x3ba502['view']['domConverter']['mapViewToDom'](_0x5ae9ee))['map'](_0x57368d=>Array['from'](_0x57368d['getClientRects']()))['flat']();}if(!this['_activeViewTarget'])return _0x161936[0x0];return _0x161936['find'](_0x45e4f4=>_0x45e4f4['top']-0x3<=this['_activeViewTarget']['y']&&_0x45e4f4['bottom']+0x3>=this['_activeViewTarget']['y']&&_0x45e4f4['left']-0x3<=this['_activeViewTarget']['x']&&_0x45e4f4['right']+0x3>=this['_activeViewTarget']['x'])||_0x161936[0x0];}}}),this['_balloon']['showStack']('revisionHistoryLabel'));}),this['on']('change:activeChange',(_0x5bcd26,_0x147bc0,_0x4aef1f,_0x57f208)=>{this['activeView']=_0x4aef1f?this['_getViewForChange'](_0x4aef1f):null,this['editor']['model']['change'](()=>{const _0x414b8e=this['editor']['editing'];_0x57f208&&(_0x57f208['data']['isOnRoot']?_0x414b8e['view']['change'](_0x90a776=>{_0x90a776['removeClass']('ck-revision-history-root--active',_0x414b8e['view']['document']['getRoot'](_0x57f208['rootName']));}):_0x414b8e['reconvertMarker']('revision:'+_0x57f208['id'])),_0x4aef1f&&(_0x4aef1f['data']['isOnRoot']?_0x414b8e['view']['change'](_0x15d319=>{_0x15d319['addClass']('ck-revision-history-root--active',_0x414b8e['view']['document']['getRoot'](_0x4aef1f['rootName']));}):_0x414b8e['reconvertMarker']('revision:'+_0x4aef1f['id']));});}),this['listenTo'](this['editor']['editing']['view']['document'],'mouseover',(_0x55d800,_0x513ae2)=>{if(this['activeChange'])return;const _0x5d5378=this['_findChangeIdFromDomTarget'](_0x513ae2['target']),_0x2a9ec8=this['_changeIdToChange']['get'](_0x5d5378);_0x2a9ec8?(this['_activeViewTarget']={'x':_0x513ae2['domEvent']['x'],'y':_0x513ae2['domEvent']['y']},this['activeView']=this['_getViewForChange'](_0x2a9ec8)):(this['_activeViewTarget']=null,this['activeView']=null);}),this['listenTo'](this['editor']['editing']['view']['document'],'mousedown',(_0x354f21,_0x17760e)=>{const _0x579220=this['_findChangeIdFromDomTarget'](_0x17760e['target']),_0x1f798a=this['_changeIdToChange']['get'](_0x579220);_0x1f798a?(this['_activeViewTarget']={'x':_0x17760e['domEvent']['x'],'y':_0x17760e['domEvent']['y']},_0x1f798a===this['activeChange']?this['_balloon']['updatePosition']():this['activeChange']=_0x1f798a):(this['_activeViewTarget']=null,this['activeChange']=null);});}['_findChangeIdFromDomTarget'](_0x41350d){do{const _0x1d44d8=_0x41350d['getAttribute']('data-change-id');if(_0x1d44d8)return _0x1d44d8;_0x41350d=_0x41350d['parent'];}while(_0x41350d);return null;}['_cleanMarkers'](){this['editor']['model']['change'](_0x16cf79=>{for(const _0x33d0a8 of this['editor']['model']['markers'])_0x16cf79['removeMarker'](_0x33d0a8);});}}function et(_0x4fd3c4,_0x326c14){return(_0x35310f,_0x5e2d94,_0xd255cf)=>{if(!_0xd255cf['consumable']['test'](_0x5e2d94['markerRange'],_0x35310f['name']))return;const _0x24ab86=_0x5e2d94['markerRange']['getWalker'](),_0x2b083f=_0x5e2d94['markerRange']['start'],_0xf9748d=_0x4fd3c4['model']['schema'];let _0x43daaf=null,_0x1e0c94=null,_0x3b6f58=!0x1,_0x49b027=!0x1;for(const _0x192104 of _0x24ab86){const _0x384cf5=_0x192104['item'];_0x3b6f58=_0x3b6f58||_0xf9748d['isContent'](_0x384cf5);const _0x2619b5=_0xd255cf['mapper']['toViewElement'](_0x384cf5);if(_0x2619b5&&_0x2619b5['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x192104['type']&&(_0xf9748d['isBlock'](_0x384cf5)&&!_0xf9748d['isLimit'](_0x384cf5)&&(_0x384cf5['nextSibling']||_0x2b083f['isAtEnd']?_0x43daaf&&_0x43daaf['parent']==_0x384cf5||(_0x43daaf=_0x384cf5,_0x1f5f0a(_0x192104['previousPosition']),_0x49b027=!0x0):_0x1e0c94=_0x1e0c94||_0x192104['previousPosition']));}function _0x1f5f0a(_0x382ecc){const _0x5e2f9f=_0xd255cf['mapper']['toViewPosition'](_0x382ecc),_0x3e769b=_0xd255cf['writer']['createUIElement']('span',{'class':'ck-suggestion-preview-marker-'+_0x326c14});_0xd255cf['writer']['insert'](_0x5e2f9f,_0x3e769b),_0xd255cf['mapper']['bindElementToMarker'](_0x3e769b,_0x5e2d94['markerName']);}_0x3b6f58||_0x49b027||!_0x1e0c94||_0x1f5f0a(_0x1e0c94);};}class bt extends _0x29e63b{constructor(_0x5b0986){super(_0x5b0986);const _0x2f7590=_0x5b0986['plugins']['get'](d);this['affectsData']=!0x1,this['listenTo'](_0x2f7590,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x2f7590,'change:isEnabled',()=>this['refresh']());}['execute'](){const _0x24bea8=this['editor'],_0x304bed=_0x24bea8['plugins']['get'](d),_0x9dc088=_0x304bed['isReady']?_0x304bed['diff']['newRevisionId']:null;_0x24bea8['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x9dc088);}['refresh'](){const {isReady:_0x2c26f7,isEnabled:_0x47f552}=this['editor']['plugins']['get'](d);this['isEnabled']=_0x2c26f7&&_0x47f552;}}class yt extends _0x29e63b{['_step'];constructor(_0x590f9b,{direction:_0x4ad5b2}){super(_0x590f9b);const _0x3f1c68=_0x590f9b['plugins']['get'](d);this['affectsData']=!0x1,this['_step']='forward'===_0x4ad5b2?0x1:-0x1,this['listenTo'](_0x3f1c68,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x3f1c68,'change:isEnabled',()=>this['refresh']()),this['listenTo'](_0x3f1c68,'change:activeChange',()=>this['refresh']());}['execute'](){const _0x2f7a9a=this['editor'],_0x433684=_0x2f7a9a['plugins']['get'](d),{isNavigationMode:_0x1c8a9e,currentChangeNumber:_0x1a76a9}=_0x433684;let _0xe62308;if(_0x433684['activeChange']=_0x1c8a9e?_0x433684['diff']['changes']['get'](_0x1a76a9+this['_step']):_0x433684['diff']['changes']['first'],_0x433684['activeChange']['data']['isOnRoot'])_0xe62308=_0x2f7a9a['editing']['view']['getDomRoot'](_0x433684['activeChange']['rootName']);else{const _0x50f797=_0x2f7a9a['model']['markers']['get']('revision:'+_0x433684['activeChange']['id']);_0xe62308=_0x4fb29f(_0x2f7a9a['editing'],_0x50f797);}_0x34b769({'target':_0xe62308,'viewportOffset':0x28});}['refresh'](){const {isNavigationMode:_0x585208,currentChangeNumber:_0x369c52,numberOfChanges:_0x3fca53,isReady:_0x254ad0,isEnabled:_0x145fd5}=this['editor']['plugins']['get'](d);this['isEnabled']=!!(_0x145fd5&&_0x254ad0&&_0x3fca53)&&(!_0x585208||(0x1===this['_step']?_0x369c52<_0x3fca53-0x1:_0x369c52>0x0));}}class _i extends _0x403593{constructor(_0xc870c5){super(_0xc870c5);const _0x4803cd=this['bindTemplate'],_0x137d82=new _0x57f02f(_0xc870c5),_0x5c585d=new _0x57f02f(_0xc870c5);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',(_0x2ff003,_0xd7d02e)=>_0x2ff003&&_0xd7d02e>0x0),this['bind']('_statusText')['to'](this,'isReady',this,'currentChangeNumber',this,'numberOfChanges',this,'isNavigationMode',(_0x496664,_0x2543fc,_0x59306c,_0x4f9abd)=>{if(!_0x496664)return y(_0xc870c5,'Loading...');if(!_0x59306c)return y(_0xc870c5,'No\x20changes');const _0xb7cc5f=y(_0xc870c5,'NUMBER_OF_CHANGES',_0x59306c);return _0x4f9abd?y(_0xc870c5,'X_OF_Y_CHANGES',[_0x2543fc+0x1,_0x59306c]):_0xb7cc5f;}),_0x137d82['set']({'label':y(_0xc870c5,'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'}),_0x5c585d['set']({'label':y(_0xc870c5,'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'}),_0x137d82['bind']('isEnabled')['to'](this,'isBackwardNavigationEnabled'),_0x5c585d['bind']('isEnabled')['to'](this,'isForwardNavigationEnabled'),_0x137d82['on']('execute',()=>this['fire']('execute','backward')),_0x5c585d['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',_0x4803cd['if']('_isStatusLabelVisible','ck-hidden',_0x4051cd=>!_0x4051cd)]},'children':[{'text':_0x4803cd['to']('isNavigationMode',_0x3519fe=>_0x3519fe?y(_0xc870c5,'EDIT_X_OF_Y_REVISIONS')+':\x20':y(_0xc870c5,'Total')+':\x20')}]},{'text':_0x4803cd['to']('_statusText')}]},new _0x269848(),{'tag':'div','attributes':{'class':['ck-revision-history-ui__changes-navigation__navigation']},'children':[_0x137d82,_0x5c585d]}]});}}const ce='ck-editor__editable__loading-overlay';class de extends _0x460216{static get['pluginName'](){return'RevisionViewerLoadingOverlay';}['show'](){const _0x223ef2=this['editor']['editing']['view'];_0x223ef2['change'](_0x226183=>{for(const _0x414ea6 of _0x223ef2['document']['roots'])_0x226183['addClass'](ce,_0x414ea6);});}['hide'](){const _0x58f759=this['editor']['editing']['view'];_0x58f759['change'](_0x41bdb2=>{for(const _0x3d694a of _0x58f759['document']['roots'])_0x41bdb2['removeClass'](ce,_0x3d694a);});}}class R extends _0x460216{static get['pluginName'](){return'RevisionViewerUI';}static get['requires'](){return[d,de];}['init'](){const _0x218815=this['editor'],_0x200c3f=_0x218815['plugins']['get'](d),_0x31bc35=_0x218815['plugins']['get'](de);_0x218815['ui']['componentFactory']['add']('exitToEditing',_0x192cc4=>{const _0x415192=new _0x57f02f(_0x192cc4);return _0x415192['set']({'label':y(_0x192cc4,'Back\x20to\x20editing'),'icon':_0x35adfe['undo'],'withText':!0x0,'tooltip':!0x0,'class':'ck-revision-history-ui__back-to-editing'}),this['listenTo'](_0x415192,'execute',()=>{_0x218815['config']['get']('revisionHistory')['closeRevisionViewerCallback']();}),_0x415192;}),_0x218815['ui']['componentFactory']['add']('restoreRevision',_0x539c12=>{const _0x360270=new _0x57f02f(_0x539c12);return _0x360270['set']({'label':y(_0x539c12,'Restore\x20this\x20revision'),'withText':!0x0,'tooltip':!0x0}),_0x360270['bind']('isEnabled')['to'](_0x218815['commands']['get']('restoreRevision')),this['listenTo'](_0x360270,'execute',()=>_0x218815['execute']('restoreRevision')),_0x360270;}),_0x218815['ui']['componentFactory']['add']('changesNavigation',_0x1313a1=>{const _0x3b3766=new _i(_0x1313a1),_0x58a7d5=_0x218815['commands']['get']('showPreviousChange'),_0x463339=_0x218815['commands']['get']('showNextChange');return _0x3b3766['bind']('isBackwardNavigationEnabled')['to'](_0x58a7d5,'isEnabled'),_0x3b3766['bind']('isForwardNavigationEnabled')['to'](_0x463339,'isEnabled'),_0x3b3766['bind']('isReady','currentChangeNumber','numberOfChanges','isNavigationMode')['to'](_0x200c3f),this['listenTo'](_0x3b3766,'execute',(_0x97007e,_0xceeb9f)=>{_0x218815['execute']('forward'===_0xceeb9f?'showNextChange':'showPreviousChange');}),_0x3b3766;}),_0x31bc35['show'](),_0x200c3f['on']('change:isReady',(_0x30e0e8,_0x5deae8,_0x2cf679)=>{_0x2cf679?_0x31bc35['hide']():_0x31bc35['show']();});}}class kt extends at{['_resizeObserver']=null;constructor(_0xb241e9,_0x5bc6c6){super(_0xb241e9,_0x5bc6c6);const _0x3401fe=this['bindTemplate'];this['set']({'label':y(_0xb241e9,'Revision\x20name'),'_tooltipString':''}),this['fieldView']['placeholder']=y(_0xb241e9,'Enter\x20the\x20revision\x20name'),this['extendTemplate']({'tag':'span','attributes':{'class':['ck-revision-history-sidebar__revision-name'],'data-cke-tooltip-text':_0x3401fe['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 _0x2d28e6=this['fieldView']['element'];this['_tooltipString']=_0x2d28e6['scrollWidth']>_0x2d28e6['clientWidth']&&_0x2d28e6['value']||'';}}class ti extends _0x403593{constructor(_0x215913,_0xacec84,_0x560d71){super(_0x215913);const _0x26f808=new _0x2ce25a();_0x26f808['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 _0x8ec03d=['ck','ck-revision-history-sidebar__revision-author'];_0x560d71&&_0x8ec03d['push']('ck-revision-history-sidebar__revision-author_creator');const _0x2359db=[{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__revision-author__name'],'title':y(_0x215913,_0x560d71?'Revision\x20creator':'Revision\x20author')},'children':[_0x26f808,_0xacec84['name']]}];this['setTemplate']({'tag':'li','attributes':{'class':_0x8ec03d},'children':_0x2359db});}}function ni(_0x18cd82,_0x5e1bf2){const _0x515a84=_0x18cd82['bindTemplate'],_0x29f4ed=_0x18cd82['locale'],_0x2ef1ce=_0x3edaf6(_0x29f4ed);_0x2ef1ce['panelPosition']='sw';const _0x59ea22=function(_0x43d191,_0x3da5fd){const _0x2811f7=function(_0x1a75cc,_0x318105){const _0x540808=_0x1a75cc['locale'],_0x123aca={'Compare\x20against\x20selected':y(_0x540808,'Compare\x20against\x20selected'),'Name\x20this\x20revision':y(_0x540808,'Name\x20this\x20revision'),'Restore\x20this\x20revision':y(_0x540808,'Restore\x20this\x20revision')};return _0x318105['map'](_0x2c2453=>{const _0x257afc=_0x123aca[_0x2c2453['name']];return _0x257afc&&_0x257afc!==_0x2c2453['name']&&(_0x2c2453['name']=_0x257afc),_0x2c2453;});}(_0x43d191,_0x3da5fd),_0x38aaf0=new _0x588a09();for(const _0x146f45 of _0x2811f7){const _0x22660f={'type':'button','model':new to({'label':_0x146f45['name'],'class':_0x146f45['class'],'withText':!0x0,'role':'menuitem','_action':_0x146f45['action']})};_0x22660f['model']['bind']('isEnabled')['to'](_0x43d191,'isActionsDropdownOpen',_0x2d2454=>'function'!=typeof _0x146f45['isEnabled']||(!_0x2d2454||_0x146f45['isEnabled'](_0x43d191))),_0x38aaf0['add'](_0x22660f);}return _0x38aaf0;}(_0x18cd82,_0x5e1bf2);return _0x18cd82['bind']('isActionsDropdownOpen')['to'](_0x2ef1ce,'isOpen'),_0x2ef1ce['buttonView']['set']({'label':y(_0x29f4ed,'Show\x20more\x20items'),'tooltip':!0x0,'tooltipPosition':'sw','icon':_0x35adfe['threeVerticalDots']}),_0x2ef1ce['extendTemplate']({'attributes':{'class':['ck-revision-history-sidebar__revision__actions',_0x515a84['if']('isActionsDropdownOpen','ck-on')]},'on':{'click':_0x515a84['to'](_0x2154c6=>_0x2154c6['stopPropagation']())}}),_0x2ef1ce['on']('execute',_0x461d51=>{_0x18cd82['isReady']&&'function'==typeof _0x461d51['source']['_action']&&_0x461d51['source']['_action'](_0x18cd82);}),_0x427ccf(_0x2ef1ce,_0x59ea22,{'role':'menu'}),_0x2ef1ce['listenTo'](_0x18cd82,'change:isActionsDropdownOpen',(_0x4e9537,_0x4d7846,_0x2ce357)=>{if(_0x2ce357)for(const _0x53516b of _0x2ef1ce['listView']['items']){const _0x555ce7=_0x53516b['children']['first'],_0x20cb45=_0x5e1bf2['find'](_0x18eaf2=>_0x18eaf2['action']===_0x555ce7['_action'])['isVisible'];_0x53516b['isVisible']=void 0x0===_0x20cb45||_0x20cb45(_0x18cd82);}}),_0x2ef1ce;}class ai extends/* #__PURE__ -- @preserve */
|
|
26
|
+
_0xa74273(_0x403593){['id'];['revisionNameView'];['revisionActionsView'];['_revision'];['_requireRevisionName'];constructor(_0x5b0ca7,_0x3f9339,_0x6105aa,_0x2e4f73){super(_0x5b0ca7);const _0x3c070d=this['bindTemplate'],_0x226453=function(_0x5c7ada,_0x12bd50){const _0xd78dfd=Array['from'](_0x12bd50['authors'])['filter'](_0x2dfd98=>_0x2dfd98!=_0x12bd50['creator']);return _0x12bd50['creator']&&_0xd78dfd['unshift'](_0x12bd50['creator']),_0xd78dfd['map'](_0x5f1ed6=>new ti(_0x5c7ada,_0x5f1ed6,_0x5f1ed6==_0x12bd50['creator']));}(_0x5b0ca7,_0x3f9339);this['id']=_0x3f9339['id'],this['_revision']=_0x3f9339,this['_requireRevisionName']=_0x2e4f73,this['bind']('name','createdAt')['to'](_0x3f9339),this['bind']('_createdAtFormatted')['to'](this,'createdAt',_0x194a6f=>{return _0xdf215f=_0x5b0ca7['uiLanguage'],(_0x3f6242=_0x194a6f)['toLocaleDateString'](_0xdf215f,{'month':'long','day':'numeric'})+',\x20'+_0x3f6242['toLocaleTimeString'](_0xdf215f,{'hour':'numeric','minute':'numeric'});var _0xdf215f,_0x3f6242;}),this['set']('isSelected',!0x1),this['set']('isHighlighted',!0x1),this['set']('isActionsDropdownOpen',!0x1),this['set']('isReady',!0x1),this['set']('isEnabled',!0x1),this['revisionNameView']=new kt(_0x5b0ca7,_0x49e355),this['revisionNameView']['fieldView']['extendTemplate']({'attributes':{'maxlength':'220'}}),this['revisionNameView']['fieldView']['bind']('value')['to'](this,'name',_0x4f13ff=>_0x4f13ff||this['_createdAtFormatted']),this['revisionNameView']['bind']('isEnabled')['to'](this,'isSelected',this,'isEnabled',(_0x3d0b29,_0x103e3e)=>_0x3d0b29&&_0x103e3e),this['revisionActionsView']=_0x6105aa&&_0x6105aa['length']?ni(this,_0x6105aa):'',this['revisionActionsView']&&this['revisionActionsView']['bind']('isEnabled')['to'](this),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision-wrapper',_0x3c070d['if']('isConfirm','ck-revision-history-sidebar__revision-wrapper_confirmation_visible')]},'children':[{'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision',_0x3c070d['if']('isEnabled','ck-disabled',_0x43251f=>!_0x43251f),_0x3c070d['if']('isSelected','ck-revision-history-sidebar__revision_selected'),_0x3c070d['if']('isHighlighted','ck-revision-history-sidebar__revision_highlighted'),_0x3c070d['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':_0x3c070d['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':_0x226453}]},this['revisionActionsView']],'on':{'click':_0x3c070d['to'](_0x3e2b5f=>{_0x3e2b5f['srcElement']['closest']('.ck-thread__remove-confirm')||this['isReady']&&this['isEnabled']&&this['fire']('select',{'id':this['id']});})}}]});}['render'](){super['render']();const _0x4aa74f=this['revisionNameView']['fieldView']['element'];this['listenTo'](_0x4aa74f,'change',()=>{this['_requireRevisionName']&&!_0x4aa74f['value']||this['fire']('setName',{'id':this['id'],'name':_0x4aa74f['value']}),_0x4aa74f['value']||(_0x4aa74f['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(_0x29fc85,_0x1f9ea5){const _0xb63b71=_0x5d3934['fromJSDate'](_0x29fc85)['setLocale'](_0x1f9ea5),_0x167a2d=_0x5d3934['local'](),_0x54aa9e=_0x167a2d['minus']({'days':0x1})['startOf']('day');let _0x14629e,_0x4e537c;return _0xb63b71['hasSame'](_0x167a2d,'day')?(_0x14629e=_0xb63b71['startOf']('day')['toJSDate'](),_0x4e537c=_0xb63b71['toRelativeCalendar']()):_0xb63b71['hasSame'](_0x54aa9e,'day')?(_0x14629e=_0x54aa9e['toJSDate'](),_0x4e537c=_0xb63b71['toRelativeCalendar']()):_0xb63b71['hasSame'](_0x167a2d,'week')?(_0x14629e=_0xb63b71['startOf']('week')['toJSDate'](),_0x4e537c=_0xb63b71['weekdayLong']||''):_0xb63b71['hasSame'](_0x167a2d,'year')?(_0x14629e=_0xb63b71['startOf']('month')['toJSDate'](),_0x4e537c=_0xb63b71['monthLong']||''):(_0x14629e=_0xb63b71['startOf']('year')['toJSDate'](),_0x4e537c=String(_0xb63b71['year'])),{'startDate':_0x14629e,'localizedPeriodName':_0x4e537c};}class mi extends _0x403593{['startDate'];['revisionViews'];['_revisionActions'];['_requireRevisionName'];constructor(_0x56e046,_0x4cde81,_0x39da11,_0x274ff5){super(_0x56e046);const _0x3107fa=di(_0x4cde81,this['locale']['uiLanguage'])['localizedPeriodName'];this['startDate']=_0x4cde81,this['revisionViews']=this['createCollection'](),this['_revisionActions']=_0x39da11,this['_requireRevisionName']=_0x274ff5,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':_0x3107fa}]},{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__time-period__revisions']},'children':this['revisionViews']}]});}['addRevision'](_0x12fe70){const _0x95c5ef=new ai(this['locale'],_0x12fe70,this['_revisionActions'],this['_requireRevisionName']);this['revisionViews']['add'](_0x95c5ef);}['removeRevision'](_0x3d3bc7){const _0xd8c86a=this['revisionViews']['find'](_0x5eb04e=>_0x5eb04e['id']===_0x3d3bc7['id']);this['revisionViews']['remove'](_0xd8c86a);}}class as extends _0x403593{constructor(_0x31e8a4){super(_0x31e8a4);const _0x3d62aa=new _0x2ce25a();_0x3d62aa['content']=_0x35adfe['history'],this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all','ck-revision-history-sidebar__header']},'children':[_0x3d62aa,{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__header__label']},'children':[y(_0x31e8a4,'Revision\x20history')]}]});}}class ci extends _0x403593{['timePeriodViews'];['_revisions'];['_revisionActions'];['_requireRevisionName'];constructor(_0x361107,_0x31e994,_0x186643,_0x520e5b){super(_0x361107);const _0x57f11e=this['bindTemplate'];this['timePeriodViews']=this['createCollection'](),this['timePeriodViews']['delegate']('select')['to'](this),this['timePeriodViews']['delegate']('setName')['to'](this),this['_revisions']=_0x31e994,this['_revisionActions']=_0x186643,this['_requireRevisionName']=_0x520e5b,this['on']('select',(_0x33ad0f,_0x13a620)=>{this['fire']('revisionSelected',_0x13a620);}),this['on']('setName',(_0x41c0fc,_0x2837a2)=>{this['fire']('revisionSetName',_0x2837a2);}),this['set']('isEnabled',!0x1),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-rounded-corners','ck-revision-history-sidebar']},'children':[new as(_0x361107),{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__timeline',_0x57f11e['if']('isEnabled','ck-disabled',_0x20dcfc=>!_0x20dcfc)]},'children':this['timePeriodViews']}]});}['render'](){super['render']();for(const _0x9cd8ee of this['_revisions'])this['_addRevision'](_0x9cd8ee);this['_revisions']['on']('add',(_0x4ae435,_0x57c9ce)=>{this['_addRevision'](_0x57c9ce);}),this['_revisions']['on']('remove',(_0xfe6c2d,_0x86d258)=>{this['_removeRevision'](_0x86d258);});}get['revisionViews'](){return this['timePeriodViews']['map'](_0x1935e4=>_0x1935e4['revisionViews']['map'](_0x2552b8=>_0x2552b8))['flat']();}['selectRevision'](_0x15e4af){for(const _0xd55343 of this['revisionViews'])_0x15e4af&&_0x15e4af['id']===_0xd55343['id']?_0xd55343['select']():_0xd55343['deselect']();}['highlightRevisions'](_0x59abe3){for(const _0x5c040b of this['revisionViews'])_0x59abe3['some'](({id:_0x5d56ea})=>_0x5d56ea===_0x5c040b['id'])?_0x5c040b['highlight']():_0x5c040b['unhighlight']();}['_addRevision'](_0x28b820){const _0x4ac279=di(_0x28b820['createdAt'],this['locale']['uiLanguage'])['startDate'];let _0x530120=this['timePeriodViews']['get'](0x0);_0x530120&&_0x530120['startDate']['getTime']()===_0x4ac279['getTime']()||(_0x530120=new mi(this['locale'],_0x4ac279,this['_revisionActions'],this['_requireRevisionName']),this['timePeriodViews']['add'](_0x530120)),_0x530120['addRevision'](_0x28b820);}['_removeRevision'](_0x340d32){const _0x40acb9=di(_0x340d32['createdAt'],this['locale']['uiLanguage'])['startDate'];this['_getTimePeriodViewByStartDate'](_0x40acb9)['removeRevision'](_0x340d32);}['_getTimePeriodViewByStartDate'](_0x1c4d8a){return this['timePeriodViews']['find'](_0x35c074=>_0x35c074['startDate']['getTime']()===_0x1c4d8a['getTime']());}}class w extends _0x460216{['_revisionViewer'];['_revisionsRepository'];['_sidebarView'];static ['defaultRevisionActions'];static ['availableRevisionActions'];static get['pluginName'](){return'RevisionsSidebar';}static get['requires'](){return[d];}constructor(_0x32262a){super(_0x32262a),this['_revisionViewer']=_0x32262a['plugins']['get'](d),this['_revisionsRepository']=this['_revisionViewer']['repository'],this['_sidebarView']=null;}['init'](){const _0x5e9d5c=this['_revisionsRepository']['_revisions'],_0x1cdc49=this['_createRevisionActions'](),_0x1c0326=this['editor']['config']['get']('revisionHistory.viewerSidebarContainer');this['_sidebarView']=new ci(this['editor']['locale'],_0x5e9d5c,_0x1cdc49,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',(_0x4c3faa,_0x49c308)=>{_0x49c308['revisionViews']['on']('add',(_0x2af122,_0x653eee)=>{_0x653eee['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)),_0x1c0326['appendChild'](this['_sidebarView']['element']);}['destroy'](){this['_sidebarView']['element']['remove'](),this['_sidebarView']['destroy']();}['_handleEditorDataReady'](){const _0x5491d8=this['_revisionsRepository']['getRevision'](0x0);if(_0x5491d8){const _0x786df3=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x5491d8['id']);this['_revisionViewer']['compare'](_0x5491d8,_0x786df3);}}['_handleRevisionSelected'](_0x59aedb,_0x484a08){const _0x346474=this['_revisionsRepository']['getRevision'](_0x484a08['id']),_0x19dd89=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x346474['id']);this['_revisionViewer']['compare'](_0x346474,_0x19dd89);}['_handleRevisionSetName'](_0x49457b,_0x25d9c9){this['_revisionsRepository']['getRevision'](_0x25d9c9['id'])['setName'](_0x25d9c9['name']);}['_handleDiffChange'](_0x386fca,_0x3f44f5,_0x5b5b5c){const _0x3b4a45=this['_revisionsRepository']['getRevisionsInDiff'](_0x5b5b5c);_0x3b4a45['length']>0x2?(this['_sidebarView']['highlightRevisions'](_0x3b4a45),this['_sidebarView']['selectRevision'](null)):(this['_sidebarView']['highlightRevisions']([]),this['_sidebarView']['selectRevision'](_0x3b4a45[0x0]));}['_createRevisionActions'](){const _0x3bf9c9=this['editor'],_0x2fb51f=w['availableRevisionActions'],_0x88502d=_0x3bf9c9['config']['get']('revisionHistory.revisionActions')||w['defaultRevisionActions'];if(_0x88502d['length'])return _0x88502d['map'](_0x293056=>{const _0x145ed7='string'==typeof _0x293056?Object['assign']({},_0x2fb51f[_0x293056]):_0x293056;return _0x145ed7['action']=_0x145ed7['action']['bind'](this,_0x3bf9c9),_0x145ed7['isVisible']&&(_0x145ed7['isVisible']=_0x145ed7['isVisible']['bind'](this,_0x3bf9c9)),_0x145ed7;});}}w['availableRevisionActions']={'compareAgainstSelected':{'name':'Compare\x20against\x20selected','action':({plugins:_0x2183f9},_0x2ee954)=>{const _0x58fbbe=_0x2183f9['get'](d),_0xa947c1=_0x58fbbe['repository'];let _0x5e9b49=_0x58fbbe['diff']['newRevisionId'],_0x28c80b=_0x2ee954['id'];_0xa947c1['getIndex'](_0x5e9b49)>_0xa947c1['getIndex'](_0x28c80b)&&([_0x5e9b49,_0x28c80b]=[_0x28c80b,_0x5e9b49]),_0x58fbbe['compare'](_0x5e9b49,_0x28c80b);},'isVisible':({plugins:_0x57dd18},_0x33a04f)=>{const _0x1ee5d0=_0x57dd18['get'](d);return!(_0x1ee5d0['repository']['getRevisionsInDiff'](_0x1ee5d0['diff'])['length']>0x2)&&!_0x33a04f['isSelected'];}},'restoreRevision':{'name':'Restore\x20this\x20revision','action':(_0x10dc87,{id:_0xdb2fce})=>{_0x10dc87['config']['get']('revisionHistory')['restoreRevisionCallback'](_0xdb2fce);},'isVisible':({plugins:_0x9c122a},_0x57997a)=>!!_0x9c122a['get'](d)['repository']['getLaterVisibleRevision'](_0x57997a['id'])},'nameRevision':{'name':'Name\x20this\x20revision','action':({plugins:_0x57132f},{id:_0x58b1a9,revisionNameView:_0xff7f61})=>{const _0xe0ee07=_0x57132f['get'](d),_0x1d8740=_0xe0ee07['repository']['getEarlierVisibleRevision'](_0x58b1a9);_0xe0ee07['compare'](_0x58b1a9,_0x1d8740),_0xff7f61['focus'](),_0xff7f61['fieldView']['select']();}}},w['defaultRevisionActions']=['compareAgainstSelected','restoreRevision','nameRevision'];class st extends ht{['_view'];['_toolbarConfig'];['_elementReplacer'];get['view'](){return this['_view'];}constructor(_0x577251,_0x3f90a5){super(_0x577251),this['_view']=_0x3f90a5,this['_toolbarConfig']=ct(_0x577251['config']['get']('toolbar')),this['_elementReplacer']=new nt();}get['element'](){return this['view']['element'];}['init'](_0x3d64a4){const _0xb440f3=this['editor'],_0x2aaf65=this['view'],_0x4cdb1d=_0xb440f3['editing']['view'],_0x475464=_0x2aaf65['editable'],_0x3d8597=_0x4cdb1d['document']['getRoot']();_0x475464['name']=_0x3d8597['rootName'],_0x2aaf65['render']();const _0xc2452c=_0x475464['element'];this['setEditableElement'](_0x475464['name'],_0xc2452c),_0x2aaf65['editable']['bind']('isFocused')['to'](this['focusTracker']),_0x4cdb1d['attachDomRoot'](_0xc2452c),this['_elementReplacer']['replace'](_0x3d64a4,this['element']),this['_initToolbar'](),this['fire']('ready');}['destroy'](){super['destroy']();const _0x32e123=this['view'],_0x132913=this['editor']['editing']['view'];this['_elementReplacer']['restore'](),_0x132913['detachDomRoot'](_0x32e123['editable']['name']),_0x32e123['destroy']();}['_initToolbar'](){const _0x7c6a6b=this['view'];_0x7c6a6b['stickyPanel']['bind']('isActive')['to'](this['focusTracker'],'isFocused'),_0x7c6a6b['stickyPanel']['limiterElement']=_0x7c6a6b['element'],_0x7c6a6b['stickyPanel']['bind']('viewportTopOffset')['to'](this,'viewportOffset',({top:_0x52115c})=>_0x52115c),_0x7c6a6b['toolbar']['fillFromConfig'](this['_toolbarConfig'],this['componentFactory']),this['addToolbar'](_0x7c6a6b['toolbar']);}}class ot extends dt{['_editable'];['stickyPanel'];['toolbar'];get['editable'](){return this['_editable'];}constructor(_0x1821ef,_0x4282fd,_0x4e6ca9={}){super(_0x1821ef),this['stickyPanel']=new lt(_0x1821ef),this['toolbar']=new pt(_0x1821ef,{'shouldGroupWhenFull':_0x4e6ca9['shouldToolbarGroupWhenFull']}),this['_editable']=new ut(_0x1821ef,_0x4282fd);}['render'](){super['render'](),this['stickyPanel']['content']['add'](this['toolbar']),this['top']['add'](this['stickyPanel']),this['main']['add'](this['editable']);}}class m extends/* #__PURE__ -- @preserve */
|
|
27
|
+
rt(it){['_ui'];get['ui'](){return this['_ui'];}constructor(_0x4c5855,_0x51f292){super(_0x51f292),this['sourceElement']=_0x4c5855,this['model']['document']['createRoot']();const _0x24b0f5=new ot(this['locale'],this['editing']['view'],{'shouldToolbarGroupWhenFull':!0x0});this['_ui']=new st(this,_0x24b0f5);}['destroy'](){return this['updateSourceElement'](),this['ui']['destroy'](),super['destroy']();}static async['create'](_0x4a13ee,_0x544e3c){const _0x531c58=new this(_0x4a13ee,_0x544e3c);return await _0x531c58['initPlugins'](),await _0x531c58['ui']['init'](_0x4a13ee),await _0x531c58['data']['init'](_0x531c58['config']['get']('initialData')||''),_0x531c58['fire']('ready'),_0x531c58;}}const g=['RevisionHistoryUI','RestrictedEditingMode'];class k extends _0x460216{['result'];static get['pluginName'](){return'RevisionViewerIntegration';}constructor(_0x1ee223){super(_0x1ee223),this['result']='end';}}class H extends _0x460216{['_viewerEditor'];static get['pluginName'](){return'RevisionHistory';}static get['requires'](){return[l,u];}constructor(_0x3bde9e){if(super(_0x3bde9e),!this['editor']['config']['get']('revisionHistory'))throw new _0xef2ea0('revision-history-missing-configuration',this);this['_viewerEditor']=null,this['editor']['config']['define']('revisionHistory.showRevisionViewerCallback',_0x669007=>this['_showRevisionViewer']({..._0x669007,'translations':this['editor']['locale']['translations']})),this['editor']['config']['define']('revisionHistory.closeRevisionViewerCallback',_0x2f4477=>this['_closeRevisionViewer'](_0x2f4477)),this['editor']['config']['define']('revisionHistory.restoreRevisionCallback',_0x3e880d=>this['_restoreRevision'](_0x3e880d)),this['editor']['config']['define']('revisionHistory.requireRevisionName',!0x1),this['_enhanceShowRevisionViewerCallback'](),this['_enhanceCloseRevisionViewerCallback']();}set['adapter'](_0x2ffcd7){this['editor']['plugins']['get']('RevisionTracker')['adapter']=_0x2ffcd7;}get['adapter'](){return this['editor']['plugins']['get']('RevisionTracker')['adapter'];}['addRevisionData'](_0x3804cb){return this['editor']['plugins']['get']('RevisionTracker')['addRevisionData'](_0x3804cb);}['getRevision'](_0x3fb7dc){return this['editor']['plugins']['get']('RevisionsRepository')['getRevision'](_0x3fb7dc);}['getRevisions'](_0x1df448={'toJSON':!0x1}){return this['editor']['plugins']['get']('RevisionsRepository')['getRevisions'](_0x1df448);}['_getRevisionViewerEditorConfig'](){const _0x2f0979=this['editor'],_0x322bc7=_0x42946d(_0x2f0979,g),_0x8d918b=_0x2f0979['plugins']['get']('RevisionTracker'),_0x5afefb=_0x2f0979['plugins']['get']('Users')['users'];return _0x322bc7['toolbar']=['exitToEditing','restoreRevision','changesNavigation'],delete _0x322bc7['lazyRoots'],(_0x322bc7['plugins']['push'](k,d,R,class extends _0x460216{static get['requires'](){return[d,'Users'];}['init'](){const _0x51f390=this['editor']['plugins']['get']('Users');for(const _0x20b416 of _0x5afefb)_0x20b416['isAnonymous']||_0x51f390['getUser'](_0x20b416['id'])||_0x51f390['addUser'](_0x20b416);const _0x19db69=_0x8d918b['repository']['getRevisions']();let _0x284891=null;const _0x31cbfc=this['editor']['plugins']['get']('RevisionViewer');_0x31cbfc['adapter']=_0x8d918b['adapter'],_0x31cbfc['bind']('isEnabled')['to'](_0x8d918b),this['editor']['commands']['get']('restoreRevision')['bind']('isEnabled')['to'](_0x2f0979,'isReadOnly',_0x2c3a49=>!_0x2c3a49);for(const _0x122bb7 of _0x19db69){const _0x4474a3=null===_0x122bb7['creator'];if(_0x4474a3&&_0x122bb7['toVersion']===_0x122bb7['fromVersion'])continue;const _0x2a37de=_0x122bb7['toJSON']();_0x31cbfc['addRevisionData'](_0x2a37de,(_0x5a3dbb,_0x510f91,_0x3626ca)=>{if(_0x4474a3){if(_0x284891)_0x284891['_update'](_0x5a3dbb,_0x510f91);else{if(!_0x510f91){const _0x4642c8=_0x3626ca['toJSON']();_0x4642c8['id']=_0x411af8(),_0x8d918b['saveRevision'](_0x4642c8,_0x3626ca['toVersion'])['then'](_0x575be4=>{_0x284891=_0x575be4;});}}}else _0x122bb7['_update'](_0x5a3dbb,_0x510f91);});}}},w),_0x322bc7);}['_enhanceShowRevisionViewerCallback'](){const _0x5aab70=this['editor']['config']['get']('revisionHistory')['showRevisionViewerCallback'];this['editor']['config']['set']('revisionHistory.showRevisionViewerCallback',async()=>{this['editor']['enableReadOnlyMode']('revision-history-viewer-opened');const _0x31d8ad=this['editor']['plugins']['get']('RevisionTracker');if(this['editor']['plugins']['has']('Autosave')){const _0x1202d5=this['editor']['plugins']['get']('Autosave');await _0x1202d5['save']();}else await _0x31d8ad['update']();this['editor']['plugins']['has']('PaginationLookup')&&this['editor']['plugins']['get']('PaginationLookup')['_recalculatePageBreaks']();const _0x352ac4=this['_getRevisionViewerEditorConfig']();return _0x5aab70(_0x352ac4)['then'](_0x17b45b=>{return(this['_viewerEditor']=_0x17b45b,this['editor']['plugins']['has']('Annotations'))&&this['editor']['plugins']['get']('Annotations')['refreshVisibility'](),_0x17b45b;})['catch'](_0x3872e9=>(console['error'](_0x3872e9),this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),null));});}['_enhanceCloseRevisionViewerCallback'](){const _0x131d55=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'](),_0x131d55(this['_viewerEditor'])['then'](()=>{if(this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),this['_viewerEditor']=null,this['editor']['plugins']['has']('Annotations')){const _0x2ca193=this['editor']['plugins']['get']('Annotations');_0x2ca193['refreshVisibility'](),_0x2ca193['refreshPositioning']();}})));}['_showRevisionViewer'](_0x1d3333){const _0x5c04ac=this['editor']['config']['get']('revisionHistory.editorContainer'),_0x12a1a8=this['editor']['config']['get']('revisionHistory.viewerContainer'),_0xcb60fb=this['editor']['config']['get']('revisionHistory.viewerEditorElement');return m['create'](_0xcb60fb,_0x1d3333)['then'](_0x4d4e17=>(_0x12a1a8['style']['display']='block',_0x5c04ac['style']['display']='none',_0x4d4e17));}['_closeRevisionViewer'](_0xfd8f55){const _0x17ceed=this['editor']['config']['get']('revisionHistory.editorContainer');return this['editor']['config']['get']('revisionHistory.viewerContainer')['style']['display']='none',_0x17ceed['style']['display']='',_0xfd8f55['destroy']();}async['_restoreRevision'](_0x4b6f26){const _0x30694b=this['editor'],_0x50cd84=this['_viewerEditor']['plugins']['get']('RevisionViewer'),_0x84b35b=_0x30694b['plugins']['get']('RevisionTracker'),_0x3ff971=_0x50cd84['repository']['getRevision'](_0x4b6f26);let _0x1fef8b,_0x347ab3,_0x28eda3;try{_0x1fef8b=await _0x50cd84['getRevisionData'](_0x3ff971),_0x347ab3=await _0x50cd84['getRevisionRootsAttributes'](_0x3ff971);}catch(_0x7d524){return void console['error'](_0x7d524);}_0x30694b['model']['change'](_0x18b2be=>{for(const _0x7988df of Array['from'](_0x30694b['model']['markers']['getMarkersGroup']('restrictedEditingException')))_0x18b2be['removeMarker'](_0x7988df);}),_0x50cd84['isReady']=!0x1,_0x30694b['model']['enqueueChange'](_0x503094=>{_0x503094['setSelection'](null),_0x503094['removeSelectionAttribute'](_0x30694b['model']['document']['selection']['getAttributeKeys']());const _0x366acf=Object['keys'](_0x1fef8b);for(const _0x41f52b of _0x30694b['model']['document']['roots'])'$graveyard'!=_0x41f52b['rootName']&&_0x41f52b['isAttached']()&&!_0x366acf['includes'](_0x41f52b['rootName'])&&_0x503094['detachRoot'](_0x41f52b);for(const _0x33d5ee of _0x366acf){let _0x3c16a9=_0x30694b['model']['document']['getRoot'](_0x33d5ee);_0x3c16a9&&_0x3c16a9['isAttached']()||(_0x3c16a9=_0x503094['addRoot'](_0x33d5ee));const _0x3f784a=_0x347ab3[_0x33d5ee],_0x353daf=Object['keys'](_0x3f784a),_0x402171=_0x1fef8b[_0x33d5ee];for(const _0x56a18b of _0x3c16a9['getAttributeKeys']())_0x353daf['includes'](_0x56a18b)||_0x503094['removeAttribute'](_0x56a18b,_0x3c16a9);for(const _0x102e8d of _0x353daf)_0x503094['setAttribute'](_0x102e8d,_0x347ab3[_0x33d5ee][_0x102e8d],_0x3c16a9);_0x503094['remove'](_0x503094['createRangeIn'](_0x3c16a9)),_0x503094['insert'](_0x30694b['data']['parse'](_0x402171,_0x3c16a9),_0x3c16a9,0x0);}});const _0xba1e64=y(_0x30694b['locale'],'Restored');if(_0x3ff971['name'])_0x28eda3=-0x1==_0x3ff971['name']['indexOf'](_0xba1e64)?_0xba1e64+':\x20'+_0x3ff971['name']:_0x3ff971['name'];else _0x28eda3=_0xba1e64+':\x20'+(_0x3ff971['createdAt']['toLocaleDateString'](_0x30694b['locale']['uiLanguage'],{'month':'long','day':'numeric'})+',\x20'+_0x3ff971['createdAt']['toLocaleTimeString'](_0x30694b['locale']['uiLanguage'],{'hour':'numeric','minute':'numeric'}));return await _0x84b35b['saveRevision']({'name':_0x28eda3}),_0x50cd84['isReady']=!0x0,_0x30694b['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};
|