@ckeditor/ckeditor5-revision-history 0.0.0-nightly-20240815.0 → 0.0.0-nightly-20240817.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/revision-history.js +1 -1
- package/dist/index.js +6 -6
- package/package.json +8 -8
- package/src/revisionsrepository.js +1 -1
package/dist/index.js
CHANGED
|
@@ -20,10 +20,10 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Plugin as
|
|
24
|
-
_0x54b2cb(){['id'];['creator'];['authors'];['diffData'];['toVersion'];['fromVersion'];['model'];constructor(_0x431ace){super(),this['id']=_0x431ace['id']||_0x26cc9f(),this['creator']=_0x431ace['creator']||null,this['authors']=_0x431ace['authors']||[],this['diffData']=_0x431ace['diffData']||null,this['toVersion']=_0x431ace['toVersion']||0x0,this['fromVersion']=_0x431ace['fromVersion']||0x0,this['set']('name',_0x431ace['name']||''),this['set']('createdAt',_0x431ace['createdAt']||new Date()),this['set']('attributes',_0x431ace['attributes']||{});}['setName'](_0xad76f4){this['_update']({'name':_0xad76f4});}['setAttribute'](_0x24b368,_0x4d235d){const _0xadb50a=_0x43cdf1(this['attributes']);_0x58b296(_0xadb50a,_0x24b368,_0x4d235d),this['_update']({'attributes':_0xadb50a});}['removeAttribute'](_0x1586c5){const _0x41efba=_0x43cdf1(this['attributes']);_0x2a3ce0(_0x41efba,_0x1586c5),this['_update']({'attributes':_0x41efba});}['_update'](_0x24b705,_0x37a59f=!0x1){let _0x494c9a=!0x1;const _0x2258bf={'id':this['id']},_0x3e13b5=['name','createdAt','diffData','authors','attributes','toVersion','fromVersion','creatorId'];for(const _0x4978a3 of _0x3e13b5){const _0x50bff6=_0x24b705[_0x4978a3];void 0x0!==_0x50bff6&&_0x50bff6!==this[_0x4978a3]&&(this[_0x4978a3]=_0x50bff6,_0x2258bf[_0x4978a3]=_0x50bff6,_0x494c9a=!0x0);}_0x494c9a&&(_0x2258bf['authors']&&(_0x2258bf['authorsIds']=_0x2258bf['authors']['map'](_0x535f48=>_0x535f48['id']),delete _0x2258bf['authors']),this['fire']('_update',_0x2258bf,_0x37a59f));}['toJSON'](){return{'id':this['id'],'name':this['name'],'creatorId':this['creator']?this['creator']['id']:null,'authorsIds':this['authors']['map'](_0x2e2220=>_0x2e2220['id']),'diffData':this['diffData'],'createdAt':this['createdAt'],'attributes':this['attributes'],'fromVersion':this['fromVersion'],'toVersion':this['toVersion']};}}class A extends _0x2453cb{['_revisions'];static get['requires'](){return[_0x3ea14a];}static get['pluginName'](){return'RevisionsRepository';}get['length'](){return this['_revisions']['length'];}constructor(_0xd50d50){super(_0xd50d50),this['_revisions']=new _0x3098b8();}['afterInit'](){!function(_0x500107){function _0x487dee(_0x55b6ae,_0x4d8244,_0x1cd7ab){const _0x2ef2c6={};_0x2ef2c6[_0x534e46([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])]={0x10:0xa,0x18:0xc,0x20:0xe},_0x2ef2c6[_0x534e46([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],_0x2ef2c6[_0x534e46([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],_0x2ef2c6[_0x534e46([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],_0x2ef2c6[_0x534e46([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],_0x2ef2c6[_0x534e46([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],_0x2ef2c6[_0x534e46([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],_0x2ef2c6[_0x534e46([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],_0x2ef2c6[_0x534e46([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],_0x2ef2c6[_0x534e46([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],_0x2ef2c6[_0x534e46([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 _0x544edc=new Uint8Array(0x10);for(let _0x3ce26c=0xf;_0x3ce26c>=0x0;--_0x3ce26c)_0x544edc[_0x3ce26c]=_0x1cd7ab%0x100,_0x1cd7ab=parseInt(_0x1cd7ab/0x100);let _0x3e5f67=null,_0xd1bce6=0x10;const _0x11b454=new Uint8Array(_0x4d8244),_0x1f0aae=[],_0x5322ad=[];_0x221952();for(let _0x1b245e=0x0;_0x1b245e<_0x55b6ae[_0x534e46([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1b245e++)0x10===_0xd1bce6&&(_0x3e5f67=_0x53fdaf(_0x544edc),_0xd1bce6=0x0,_0x4a34f5(_0x544edc)),_0x55b6ae[_0x1b245e]^=_0x3e5f67[_0xd1bce6++];return _0x55b6ae;function _0xf121c6(_0x5661bc){const _0xd0ecd6=[];for(let _0x13584f=0x0;_0x13584f<_0x5661bc[_0x534e46([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x13584f+=0x4)_0xd0ecd6[_0x534e46([0x70,0x75,0x73,0x68])](_0x5661bc[_0x13584f]<<0x18|_0x5661bc[_0x13584f+0x1]<<0x10|_0x5661bc[_0x13584f+0x2]<<0x8|_0x5661bc[_0x13584f+0x3]);return _0xd0ecd6;}function _0x4a34f5(_0x4ad49a){for(let _0x4afa33=0xf;_0x4afa33>=0x0;_0x4afa33--){if(0xff!==_0x4ad49a[_0x4afa33]){_0x4ad49a[_0x4afa33]++;break;}_0x4ad49a[_0x4afa33]=0x0;}}function _0x53fdaf(_0x312b20){const _0x5a372c=_0x1f0aae[_0x534e46([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x1,_0x439a04=[0x0,0x0,0x0,0x0];let t=_0xf121c6(_0x312b20);for(let _0x39f993=0x0;_0x39f993<0x4;_0x39f993++)t[_0x39f993]^=_0x1f0aae[0x0][_0x39f993];for(let _0x3bc44e=0x1;_0x3bc44e<_0x5a372c;_0x3bc44e++){for(let _0x15ee6f=0x0;_0x15ee6f<0x4;_0x15ee6f++)_0x439a04[_0x15ee6f]=_0x2ef2c6[_0x534e46([0x54,0x31])][t[_0x15ee6f]>>0x18&0xff]^_0x2ef2c6[_0x534e46([0x54,0x32])][t[(_0x15ee6f+0x1)%0x4]>>0x10&0xff]^_0x2ef2c6[_0x534e46([0x54,0x33])][t[(_0x15ee6f+0x2)%0x4]>>0x8&0xff]^_0x2ef2c6[_0x534e46([0x54,0x34])][0xff&t[(_0x15ee6f+0x3)%0x4]]^_0x1f0aae[_0x3bc44e][_0x15ee6f];t=_0x439a04[_0x534e46([0x73,0x6c,0x69,0x63,0x65])]();}const _0x1daab0=new Uint8Array(0x10);let _0x37e4b2;for(let _0x3c96a5=0x0;_0x3c96a5<0x4;_0x3c96a5++)_0x37e4b2=_0x1f0aae[_0x5a372c][_0x3c96a5],_0x1daab0[0x4*_0x3c96a5]=0xff&(_0x2ef2c6[_0x534e46([0x53])][t[_0x3c96a5]>>0x18&0xff]^_0x37e4b2>>0x18),_0x1daab0[0x4*_0x3c96a5+0x1]=0xff&(_0x2ef2c6[_0x534e46([0x53])][t[(_0x3c96a5+0x1)%0x4]>>0x10&0xff]^_0x37e4b2>>0x10),_0x1daab0[0x4*_0x3c96a5+0x2]=0xff&(_0x2ef2c6[_0x534e46([0x53])][t[(_0x3c96a5+0x2)%0x4]>>0x8&0xff]^_0x37e4b2>>0x8),_0x1daab0[0x4*_0x3c96a5+0x3]=0xff&(_0x2ef2c6[_0x534e46([0x53])][0xff&t[(_0x3c96a5+0x3)%0x4]]^_0x37e4b2);return _0x1daab0;}function _0x221952(){const _0x4ce6c9=_0x2ef2c6[_0x534e46([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])][_0x11b454[_0x534e46([0x6c,0x65,0x6e,0x67,0x74,0x68])]];for(let _0x26d6cd=0x0;_0x26d6cd<=_0x4ce6c9;_0x26d6cd++)_0x1f0aae[_0x534e46([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]),_0x5322ad[_0x534e46([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]);const _0x41b39b=0x4*(_0x4ce6c9+0x1),_0x8618da=_0x11b454[_0x534e46([0x6c,0x65,0x6e,0x67,0x74,0x68])]/0x4,_0x200bce=_0xf121c6(_0x11b454);let _0x4b4795;for(let _0x33efb3=0x0;_0x33efb3<_0x8618da;_0x33efb3++)_0x4b4795=_0x33efb3>>0x2,_0x1f0aae[_0x4b4795][_0x33efb3%0x4]=_0x200bce[_0x33efb3],_0x5322ad[_0x4ce6c9-_0x4b4795][_0x33efb3%0x4]=_0x200bce[_0x33efb3];let _0x25db73,_0x3ae90e=0x0,t=_0x8618da;for(;t<_0x41b39b;){_0x25db73=_0x200bce[_0x8618da-0x1],_0x200bce[0x0]^=_0x2ef2c6[_0x534e46([0x53])][_0x25db73>>0x10&0xff]<<0x18^_0x2ef2c6[_0x534e46([0x53])][_0x25db73>>0x8&0xff]<<0x10^_0x2ef2c6[_0x534e46([0x53])][0xff&_0x25db73]<<0x8^_0x2ef2c6[_0x534e46([0x53])][_0x25db73>>0x18&0xff]^_0x2ef2c6[_0x534e46([0x72,0x63,0x6f,0x6e])][_0x3ae90e]<<0x18,_0x3ae90e+=0x1;for(let _0x44a654=0x1;_0x44a654<_0x8618da/0x2;_0x44a654++)_0x200bce[_0x44a654]^=_0x200bce[_0x44a654-0x1];_0x25db73=_0x200bce[_0x8618da/0x2-0x1],_0x200bce[_0x8618da/0x2]^=_0x2ef2c6[_0x534e46([0x53])][0xff&_0x25db73]^_0x2ef2c6[_0x534e46([0x53])][_0x25db73>>0x8&0xff]<<0x8^_0x2ef2c6[_0x534e46([0x53])][_0x25db73>>0x10&0xff]<<0x10^_0x2ef2c6[_0x534e46([0x53])][_0x25db73>>0x18&0xff]<<0x18;for(let _0x8b8cf5=_0x8618da/0x2+0x1;_0x8b8cf5<_0x8618da;_0x8b8cf5++)_0x200bce[_0x8b8cf5]^=_0x200bce[_0x8b8cf5-0x1];let _0x359c6a,_0xffaae5,_0x5ad8be=0x0;for(;_0x5ad8be<_0x8618da&&t<_0x41b39b;)_0x359c6a=t>>0x2,_0xffaae5=t%0x4,_0x1f0aae[_0x359c6a][_0xffaae5]=_0x200bce[_0x5ad8be],_0x5322ad[_0x4ce6c9-_0x359c6a][_0xffaae5]=_0x200bce[_0x5ad8be++],t++;}for(let _0x68c593=0x1;_0x68c593<_0x4ce6c9;_0x68c593++)for(let _0x4f5676=0x0;_0x4f5676<0x4;_0x4f5676++)_0x25db73=_0x5322ad[_0x68c593][_0x4f5676],_0x5322ad[_0x68c593][_0x4f5676]=_0x2ef2c6[_0x534e46([0x55,0x31])][_0x25db73>>0x18&0xff]^_0x2ef2c6[_0x534e46([0x55,0x32])][_0x25db73>>0x10&0xff]^_0x2ef2c6[_0x534e46([0x55,0x33])][_0x25db73>>0x8&0xff]^_0x2ef2c6[_0x534e46([0x55,0x34])][0xff&_0x25db73];}}function _0x534e46(_0x4487b2){return _0x4487b2['map'](_0x3bf096=>String['fromCharCode'](_0x3bf096))['join']('');}(_0x18749c=>{function _0x2f44d4(){const _0x2227eb=[{[_0x534e46([0x69,0x64])]:0x1,[_0x534e46([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x534e46([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73]),[_0x534e46([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x534e46([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x534e46([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x534e46([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x534e46([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x534e46([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x534e46([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]:[{[_0x534e46([0x69,0x64])]:0x2,[_0x534e46([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x534e46([0x54,0x72,0x61,0x63,0x6b,0x20,0x43,0x68,0x61,0x6e,0x67,0x65,0x73]),[_0x534e46([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x534e46([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x534e46([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x534e46([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x534e46([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x534e46([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]),[_0x534e46([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x534e46([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x534e46([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x534e46([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}}],[_0x534e46([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x534e46([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x534e46([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x534e46([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x534e46([0x69,0x64])]:0x3,[_0x534e46([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x534e46([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e]),[_0x534e46([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x534e46([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x6f,0x6f,0x6b,0x75,0x70]),[_0x534e46([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x534e46([0x70,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x534e46([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x534e46([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x534e46([0x69,0x64])]:0x4,[_0x534e46([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x534e46([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x20,0x48,0x69,0x73,0x74,0x6f,0x72,0x79]),[_0x534e46([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x534e46([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x534e46([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x534e46([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x534e46([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x534e46([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]),[_0x534e46([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x534e46([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x534e46([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x534e46([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x534e46([0x69,0x64])]:0x5,[_0x534e46([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x534e46([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x20,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65]),[_0x534e46([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x534e46([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65,0x55,0x49]),[_0x534e46([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x534e46([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]),[_0x534e46([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x534e46([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x534e46([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x534e46([0x66,0x67,0x69])]:[0xc]}},{[_0x534e46([0x69,0x64])]:0x6,[_0x534e46([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x534e46([0x46,0x6f,0x72,0x6d,0x61,0x74,0x20,0x50,0x61,0x69,0x6e,0x74,0x65,0x72]),[_0x534e46([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x534e46([0x46,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x55,0x49]),[_0x534e46([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x534e46([0x66,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x534e46([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x534e46([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x534e46([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x534e46([0x66,0x67,0x69])]:[0xc]}},{[_0x534e46([0x69,0x64])]:0x7,[_0x534e46([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x534e46([0x53,0x6c,0x61,0x73,0x68,0x20,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64]),[_0x534e46([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x534e46([0x53,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x55,0x49]),[_0x534e46([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x534e46([0x73,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x534e46([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x534e46([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x534e46([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x534e46([0x66,0x67,0x69])]:[0xc]}},{[_0x534e46([0x69,0x64])]:0x8,[_0x534e46([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x534e46([0x54,0x61,0x62,0x6c,0x65,0x20,0x6f,0x66,0x20,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73]),[_0x534e46([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x534e46([0x54,0x61,0x62,0x6c,0x65,0x4f,0x66,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x534e46([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x534e46([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]),[_0x534e46([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x534e46([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x534e46([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x534e46([0x66,0x67,0x69])]:[0xc]}},{[_0x534e46([0x69,0x64])]:0x9,[_0x534e46([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x534e46([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65]),[_0x534e46([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x534e46([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x55,0x49]),[_0x534e46([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x534e46([0x74,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x534e46([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x534e46([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x534e46([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x534e46([0x66,0x67,0x69])]:[0xc,0xe]}},{[_0x534e46([0x69,0x64])]:0xa,[_0x534e46([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x534e46([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]),[_0x534e46([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x534e46([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]),[_0x534e46([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x534e46([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]),[_0x534e46([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x534e46([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x534e46([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x534e46([0x66,0x67,0x69])]:[0xc]}},{[_0x534e46([0x69,0x64])]:0xb,[_0x534e46([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x534e46([0x41,0x49,0x20,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74]),[_0x534e46([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x534e46([0x41,0x49,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74,0x55,0x49]),[_0x534e46([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x534e46([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x534e46([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x534e46([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x534e46([0x69,0x64])]:0xc,[_0x534e46([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x534e46([0x50,0x72,0x6f,0x64,0x75,0x63,0x74,0x69,0x76,0x69,0x74,0x79,0x20,0x70,0x61,0x63,0x6b])},{[_0x534e46([0x69,0x64])]:0xd,[_0x534e46([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x534e46([0x43,0x61,0x73,0x65,0x20,0x43,0x68,0x61,0x6e,0x67,0x65]),[_0x534e46([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x534e46([0x43,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x55,0x49]),[_0x534e46([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x534e46([0x63,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x534e46([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x534e46([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x534e46([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x534e46([0x66,0x67,0x69])]:[0xc]}},{[_0x534e46([0x69,0x64])]:0xe,[_0x534e46([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x534e46([0x44,0x72,0x75,0x70,0x61,0x6c,0x20,0x70,0x61,0x63,0x6b]),[_0x534e46([0x66,0x6f,0x72,0x62,0x69,0x64,0x64,0x65,0x6e,0x48,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x534e46([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])},{[_0x534e46([0x69,0x64])]:0xf,[_0x534e46([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x534e46([0x4d,0x75,0x6c,0x74,0x69,0x20,0x4c,0x65,0x76,0x65,0x6c,0x20,0x4c,0x69,0x73,0x74]),[_0x534e46([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x534e46([0x4d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x534e46([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x534e46([0x6d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x534e46([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x534e46([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x534e46([0x69,0x64])]:0x10,[_0x534e46([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x534e46([0x4d,0x65,0x72,0x67,0x65,0x20,0x46,0x69,0x65,0x6c,0x64,0x73]),[_0x534e46([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x534e46([0x4d,0x65,0x72,0x67,0x65,0x46,0x69,0x65,0x6c,0x64,0x73,0x55,0x49]),[_0x534e46([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x534e46([0x6d,0x65,0x72,0x67,0x65,0x46,0x69,0x65,0x6c,0x64,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x534e46([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x534e46([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x534e46([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x534e46([0x66,0x67,0x69])]:[0xc]}}];return _0x1c571f(_0x2227eb),_0x2227eb;function _0x5264b6(_0x179fd0){return 0x1<<_0x179fd0-0x1;}function _0x1c571f(_0x628619){_0x628619[_0x534e46([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x2f889f=>{_0x2f889f[_0x534e46([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]=_0x5264b6(_0x2f889f[_0x534e46([0x69,0x64])]),_0x57777e(_0x2f889f)&&_0x2f889f[_0x534e46([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x1c571f(_0x2f889f[_0x534e46([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]);});}}function _0x57777e(_0x24c6d3){return _0x534e46([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])in _0x24c6d3;}const _0x4f9f72=[0x1,0x55,0x4e,0x73,0xc6,0xff,0x32,0x70,0x53,0x57,0xa1],_0x52a112=[0x7f,0x22,0x6,0xd3,0xa7,0x56,0x92,0xc7,0x84,0xa0,0x12];function _0x1088fb(_0x3577f5){const _0x1330be=[0x1d,0xdd,0xaf,0x5a,0xe7,0x85,0xef,0xf0,0x4b,0xb4];return _0x5e5d3a(_0x3577f5,new Uint8Array([..._0x4f9f72,..._0x1330be,..._0x52a112]));}function _0x5e5d3a(_0x3e6cb1,_0xa82497){const _0x3330e4=_0x5f1d99(_0x3e6cb1),_0x4e25ac=Array[_0x534e46([0x66,0x72,0x6f,0x6d])](_0x4b5b47(_0x3330e4)),_0x49fe63=_0x4e25ac[_0x534e46([0x70,0x6f,0x70])](),_0x2b129a=_0x4e25ac[_0x534e46([0x70,0x6f,0x70])]();return _0x11062a(_0x487dee(_0x4e25ac,_0xa82497,_0x2b129a+0x100*_0x49fe63));}function _0x5f1d99(_0x2175af){const _0x3c6f50=atob(_0x2175af),[_0x2fbe51,_0x4ff85a]=_0x3c6f50[_0x534e46([0x73,0x70,0x6c,0x69,0x74])](_0x534e46([0x2d]));try{if(atob(_0x4ff85a))return atob(_0x2fbe51);}catch(_0x226fa4){}return _0x3c6f50;}function _0x340620(_0x590d4c){try{const _0x9c5aa1=_0x1088fb(_0x590d4c),_0x436176=JSON[_0x534e46([0x70,0x61,0x72,0x73,0x65])](_0x9c5aa1),_0x471053=parseInt(_0x436176[_0x534e46([0x31])]),_0x181811=_0x436176[_0x534e46([0x32])]||'',_0x344892=parseInt(_0x436176[_0x534e46([0x33])]),_0x4f77d8=parseInt(_0x436176[_0x534e46([0x34])])||0x0,_0xe6fa1d=parseInt(_0x436176[_0x534e46([0x35])])||0x0;return{[_0x534e46([0x70,0x72,0x6f,0x64,0x75,0x63,0x74,0x4e,0x61,0x6d,0x65])]:_0x181811,[_0x534e46([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])]:_0x4f77d8,[_0x534e46([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]:_0x471053,[_0x534e46([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]:_0x344892,[_0x534e46([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]:_0xe6fa1d};}catch(_0x30dab9){return null;}}const _0x7b9323=_0x2f44d4(),_0x3fadfa={[_0x534e46([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])]:_0x37956f,[_0x534e46([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])]:_0x4b2383,[_0x534e46([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])]:_0x125023},_0x264012=_0x18749c[_0x534e46([0x63,0x6f,0x6e,0x73,0x74,0x72,0x75,0x63,0x74,0x6f,0x72])][_0x534e46([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])],_0x1570b9=_0x534e46([0x63,0x6f,0x6e,0x74,0x65,0x78,0x74])in _0x18749c?_0x18749c['context']:_0x18749c['editor'],_0x1eee62=_0x534e46([0x34,0x30,0x34,0x38,0x31,0x36,0x33,0x30]),_0xe742e2=_0x534e46([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]),_0x4f795d=_0x1570b9['config']['get'](_0x534e46([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x4591cc=_0x7b9323[_0x534e46([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x57777e)[_0x534e46([0x66,0x69,0x6e,0x64])](_0xc2d923=>_0xc2d923[_0x534e46([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]===_0x264012);function _0x595641(_0x34498a,_0x584c17){_0x3fadfa[_0x584c17[_0x534e46([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]](_0x34498a,_0x584c17),_0x584c17[_0x534e46([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x584c17[_0x534e46([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])][_0x534e46([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5d0bdf=>_0x3c0130(_0x1570b9,_0x5d0bdf[_0x534e46([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))[_0x534e46([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x7abf5b=>_0x595641(_0x34498a,_0x7abf5b));}function _0x37956f(_0x613908,_0x275f59){_0x2f7421(_0x60ee16(_0x613908,_0x275f59),_0x275f59);}function _0x4b2383(_0x263c4b,_0x247475){function _0x5f4b1d(_0x44fb61,_0x1fc4c5){try{if(_0x3c0130(_0x1570b9,_0x534e46([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))&&_0x44fb61){const _0x48b763=_0x1b525f(_0x1570b9,_0x534e46([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))[_0x534e46([0x5f,0x65,0x78,0x65,0x63,0x75,0x74,0x65,0x53,0x75,0x67,0x67,0x65,0x73,0x74,0x69,0x6f,0x6e])];if(parseInt(_0x48b763)/0x2>_0x44fb61[_0x534e46([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])])return _0x58be39(_0x1fc4c5[_0x534e46([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x534e46([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}return _0x60ee16(_0x44fb61,_0x1fc4c5);}catch(_0x2de2a5){return _0x58be39(_0x1fc4c5[_0x534e46([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x534e46([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}_0x2f7421(_0x5f4b1d(_0x263c4b,_0x247475),_0x247475);}function _0x125023(_0x1c458b,_0x924f1a){const _0x170aee=_0x52a112[0x0]*_0x4f9f72[0x1],_0xffd5f2=_0x52a112[0x0]*_0x4f9f72[0x2],_0x2cd0c9=_0x52a112[0x2]*_0x4f9f72[0x2];_0x3c0130(_0x1570b9,_0x534e46([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x1b525f(_0x1570b9,_0x534e46([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x534e46([0x73,0x74,0x61,0x74,0x65])]==_0x534e46([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&(window[_0x443082()]=_0x2cd0c9);function _0x290b47(_0x2c060c,_0x33d9e3){try{return _0xc0343()?_0x58be39(_0x33d9e3[_0x534e46([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x534e46([0x56,0x61,0x6c,0x69,0x64])):_0x60ee16(_0x2c060c,_0x33d9e3);}catch(_0x23ba1e){return _0x58be39(_0x33d9e3[_0x534e46([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x534e46([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x143ed3(_0xd04707,_0x51b6c8){const _0x2e7107=0x7;if(_0xd04707==_0x51b6c8[_0x534e46([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x534e46([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]))_0x31985c();else{if(_0xd04707==_0x51b6c8[_0x534e46([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x534e46([0x54,0x72,0x69,0x61,0x6c])){const _0xe64e89=_0x471224();_0xe64e89&&_0x3fb8bd(_0xe64e89,_0x51b6c8[_0x534e46([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);const _0x3cf453=_0x2fbc47();window[_0x534e46([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x3fb8bd(_0x534e46([0x74,0x69,0x6d,0x65]),_0x51b6c8[_0x534e46([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);},_0x3cf453);const _0x3d2786=_0x1b525f(_0x1570b9,_0x534e46([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x534e46([0x5f,0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73])];_0x3d2786[_0x534e46([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x2e7107?_0x3fb8bd(_0x534e46([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x51b6c8[_0x534e46([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]):_0x3d2786['on'](_0x534e46([0x61,0x64,0x64]),()=>{_0x3d2786[_0x534e46([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x2e7107&&_0x3fb8bd(_0x534e46([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x51b6c8[_0x534e46([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);});}}}function _0x471224(){if(!_0x3c0130(_0x1570b9,_0x534e46([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x19c6c5 in window)if(Number['isNaN'](Number(_0x19c6c5))){if(window[_0x19c6c5]===_0x170aee)return _0x534e46([0x74,0x69,0x6d,0x65]);if(window[_0x19c6c5]===_0xffd5f2)return _0x534e46([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]);}return!0x1;}function _0xc0343(){if(!_0x3c0130(_0x1570b9,_0x534e46([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x4a51bc in window)if(Number['isNaN'](Number(_0x4a51bc))&&window[_0x4a51bc]===_0x2cd0c9)return!0x0;return!0x1;}function _0x3fb8bd(_0x1e55df,_0x22b54b){_0x31985c(),_0x58be39(_0x22b54b+_0x534e46([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a])+_0x1e55df),window[_0x443082()]=_0x1e55df===_0x534e46([0x74,0x69,0x6d,0x65])?_0x170aee:_0xffd5f2;}function _0x2fbc47(){let _0x5440e0=_0x52a112[0x6]*_0x4f9f72[0x8]*_0x4f9f72[0x6];return _0x3c0130(_0x1570b9,_0x534e46([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x5440e0/=0xa),_0x5440e0;}function _0x31985c(){const _0x51cfe9=_0x1570b9;function _0x143598(){_0x3c0130(_0x51cfe9,_0x534e46([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&(_0x1b525f(_0x51cfe9,_0x534e46([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x534e46([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x534e46([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x1b525f(_0x51cfe9,_0x534e46([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x534e46([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x1b525f(_0x51cfe9,_0x534e46([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x534e46([0x75,0x70,0x64,0x61,0x74,0x65])]=_0x3c8071,_0x1b525f(_0x51cfe9,_0x534e46([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x534e46([0x73,0x61,0x76,0x65,0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e])]=_0x3c8071,_0x51cfe9[_0x534e46([0x6d,0x6f,0x64,0x65,0x6c])][_0x534e46([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x3c8071,_0x51cfe9[_0x534e46([0x6d,0x6f,0x64,0x65,0x6c])][_0x534e46([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x3c8071,_0x51cfe9[_0x534e46([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x534e46([0x6d,0x6f,0x64,0x65,0x6c]))),_0x3c0130(_0x51cfe9,_0x534e46([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x1b525f(_0x51cfe9,_0x534e46([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x534e46([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x534e46([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x1b525f(_0x51cfe9,_0x534e46([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x534e46([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x1b525f(_0x51cfe9,_0x534e46([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x534e46([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])]=_0x3c8071,_0x1b525f(_0x51cfe9,_0x534e46([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x534e46([0x5f,0x67,0x65,0x74,0x44,0x69,0x66,0x66])]=_0x3c8071);}_0x51cfe9[_0x534e46([0x73,0x74,0x61,0x74,0x65])]==_0x534e46([0x72,0x65,0x61,0x64,0x79])?_0x143598():_0x51cfe9[_0x534e46([0x6f,0x6e,0x63,0x65])](_0x534e46([0x72,0x65,0x61,0x64,0x79]),()=>{if(_0x3c0130(_0x51cfe9,_0x534e46([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&_0x143598(),_0x3c0130(_0x51cfe9,_0x534e46([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))){const _0x35ac48=_0x1b525f(_0x51cfe9,_0x534e46([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79])),_0x4105ae=_0x35ac48['getRevision'](0x0),_0x566874=_0x35ac48['getEarlierVisibleRevision'](_0x4105ae[_0x534e46([0x69,0x64])]);_0x1b525f(_0x51cfe9,_0x534e46([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x534e46([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])](_0x4105ae[_0x534e46([0x69,0x64])],_0x566874?_0x566874[_0x534e46([0x69,0x64])]:null,0x1)['then'](()=>_0x143598());}});}_0x143ed3(_0x290b47(_0x1c458b,_0x924f1a),_0x924f1a);}function _0x60ee16(_0x146de1,_0x29d3ae){try{return _0x14c769(_0x29d3ae)?_0x58be39(_0x29d3ae[_0x534e46([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x534e46([0x56,0x61,0x6c,0x69,0x64])):_0x146de1&&_0x3002b1(_0x146de1[_0x534e46([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])],_0x29d3ae)?_0x146de1[_0x534e46([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]&&!window[_0x534e46([0x6f,0x70,0x65,0x6e])][_0x534e46([0x63,0x6c,0x6f,0x73,0x65,0x64])]||parseInt(_0x1eee62)/0x2>_0x146de1[_0x534e46([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]?_0x58be39(_0x29d3ae[_0x534e46([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x534e46([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])):_0x146de1[_0x534e46([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]?_0x58be39(_0x29d3ae[_0x534e46([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x534e46([0x54,0x72,0x69,0x61,0x6c])):_0x58be39(_0x29d3ae[_0x534e46([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x534e46([0x56,0x61,0x6c,0x69,0x64])):_0x58be39(_0x29d3ae[_0x534e46([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x534e46([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}catch(_0x2112ab){return _0x58be39(_0x29d3ae[_0x534e46([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x534e46([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x2f7421(_0x1ad528,_0xe19c98){if(_0x1570b9 instanceof _0x8326d6){const _0x1dea4c=_0x1570b9;_0x1ad528==_0xe19c98[_0x534e46([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x534e46([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x2df2d0(_0x1dea4c):_0x1ad528==_0xe19c98[_0x534e46([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x534e46([0x54,0x72,0x69,0x61,0x6c])&&window[_0x534e46([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x2df2d0(_0x1dea4c),_0x58be39(_0xe19c98[_0x534e46([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x534e46([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65]));},_0x52a112[0x6]*_0x4f9f72[0x8]*_0x4f9f72[0x6]),_0x1dea4c[_0x534e46([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])][_0x534e46([0x6f,0x6e])](_0x534e46([0x61,0x64,0x64]),(_0x58e5da,_0x17995c)=>{_0x1ad528!=_0xe19c98[_0x534e46([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x534e46([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])&&_0x1ad528!=_0xe19c98[_0x534e46([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x534e46([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65])&&_0x1ad528!=_0xe19c98[_0x534e46([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x534e46([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])||_0x44972e(_0x17995c);});}else{const _0x1bba59=_0x1570b9;_0x1ad528==_0xe19c98[_0x534e46([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x534e46([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x44972e(_0x1bba59):_0x1ad528==_0xe19c98[_0x534e46([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x534e46([0x54,0x72,0x69,0x61,0x6c])&&_0x1bba59[_0x534e46([0x6f,0x6e])](_0x534e46([0x72,0x65,0x61,0x64,0x79]),()=>{let _0x39a3ba=0x0;_0x1bba59[_0x534e46([0x6d,0x6f,0x64,0x65,0x6c])][_0x534e46([0x6f,0x6e])](_0x534e46([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x530c25,_0x25563d)=>{_0x25563d[0x0][_0x534e46([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x39a3ba++,0x1f8===_0x39a3ba&&(_0x44972e(_0x1bba59),_0x58be39(_0xe19c98[_0x534e46([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x534e46([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])),_0x530c25[_0x534e46([0x6f,0x66,0x66])]());},{'priority':_0x534e46([0x68,0x69,0x67,0x68,0x65,0x73,0x74])});});}}function _0x58be39(_0x4ed33d){const _0x5e8fc8=_0x443082();return _0x1570b9[_0x5e8fc8]=_0x4ed33d,_0x4ed33d;}function _0x443082(){const _0x2d0c5f=String(window[_0x534e46([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x534e46([0x6e,0x6f,0x77])]())[_0x534e46([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x534e46([0x2e]),'');let _0x21b5c9='';for(let _0x498151=0x0;_0x498151<_0x2d0c5f[_0x534e46([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x498151+=0x2){let _0x35c232=parseInt(_0x2d0c5f[_0x534e46([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x498151,_0x498151+0x2));_0x35c232>=_0xe742e2[_0x534e46([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x35c232-=_0xe742e2[_0x534e46([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x21b5c9+=_0xe742e2[_0x35c232];}return _0x21b5c9;}function _0x2df2d0(_0x3d4cb6){for(const _0xc2237f of _0x3d4cb6[_0x534e46([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])])_0x44972e(_0xc2237f);_0x1b525f(_0x3d4cb6,_0x534e46([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x534e46([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])](!0x0),_0x1b525f(_0x3d4cb6,_0x534e46([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x534e46([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])]=_0x3c8071;}function _0x44972e(_0x7e8e03){function _0x308836(){_0x7e8e03[_0x534e46([0x6d,0x6f,0x64,0x65,0x6c])][_0x534e46([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x3c8071,_0x7e8e03[_0x534e46([0x6d,0x6f,0x64,0x65,0x6c])][_0x534e46([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x3c8071,_0x7e8e03[_0x534e46([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x534e46([0x6d,0x6f,0x64,0x65,0x6c]));}_0x7e8e03[_0x534e46([0x73,0x74,0x61,0x74,0x65])]==_0x534e46([0x72,0x65,0x61,0x64,0x79])?_0x308836():_0x7e8e03[_0x534e46([0x6f,0x6e,0x63,0x65])](_0x534e46([0x72,0x65,0x61,0x64,0x79]),()=>_0x308836());}function _0x3c8071(){return null;}function _0x3002b1(_0x552717,_0x5c7114){const _0x2645c8=!!(_0x552717&_0x5c7114[_0x534e46([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]),_0x477de6=_0x1a1459(_0x552717,_0x5c7114);return _0x2645c8||_0x477de6;}function _0x1a1459(_0x2a3b7f,_0x4f1c0f){const _0x471866=(_0x4f1c0f[_0x534e46([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{})[_0x534e46([0x66,0x67,0x69])]||null;return!!_0x471866&&_0x7b9323[_0x534e46([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x11dbd1=>_0x471866[_0x534e46([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x11dbd1[_0x534e46([0x69,0x64])]))[_0x534e46([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5886c2=>!_0x36ed5a(_0x5886c2))[_0x534e46([0x73,0x6f,0x6d,0x65])](_0x3b56f3=>!!(_0x2a3b7f&_0x3b56f3[_0x534e46([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]));}function _0x36ed5a(_0x23eed2){const _0x3dd66e={[_0x534e46([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])]:_0x42b5e3};return!!_0x23eed2['forbiddenHandler']&&_0x3dd66e[_0x23eed2['forbiddenHandler']]();}function _0x42b5e3(){return!window[_0x534e46([0x44,0x72,0x75,0x70,0x61,0x6c])]||!_0x3c0130(_0x1570b9,_0x534e46([0x64,0x72,0x75,0x70,0x61,0x6c,0x50,0x6f,0x77,0x65,0x72,0x65,0x64,0x42,0x79]));}function _0x14c769(_0x227e47){if(!_0x3c0130(_0x1570b9,_0x227e47[_0x534e46([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))return!0x0;const _0x2d86a9=_0x227e47[_0x534e46([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{},_0x357ea4=_0x2d86a9[_0x534e46([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]||!0x1,_0x4304f4=_0x2d86a9[_0x534e46([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]||!0x1,_0x55b3a6=_0x2d86a9[_0x534e46([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]||!0x1;if(_0x3c0130(_0x1570b9,_0x534e46([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x1b525f(_0x1570b9,_0x534e46([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x534e46([0x73,0x74,0x61,0x74,0x65])]==_0x534e46([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&_0x357ea4)return!0x0;if(_0x3c0130(_0x1570b9,_0x534e46([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))&&_0x1b525f(_0x1570b9,_0x534e46([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))[_0x534e46([0x72,0x65,0x73,0x75,0x6c,0x74])]==_0x534e46([0x65,0x6e,0x64])&&_0x4304f4)return!0x0;return!(!_0x3c0130(_0x1570b9,_0x534e46([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]))||_0x1b525f(_0x1570b9,_0x534e46([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]))[_0x534e46([0x72,0x65,0x73,0x75,0x6c,0x74])]!=_0x534e46([0x65,0x6e,0x64])||!_0x55b3a6);}function _0x3c0130(_0x54e434,_0x599624){return _0x54e434[_0x534e46([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x534e46([0x68,0x61,0x73])](_0x599624);}function _0x1b525f(_0x35d7ae,_0x113385){return _0x35d7ae[_0x534e46([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x534e46([0x67,0x65,0x74])](_0x113385);}function _0x11062a(_0x283c43){let _0x20e711='';for(const _0x587913 of _0x283c43)_0x20e711+=String[_0x534e46([0x66,0x72,0x6f,0x6d,0x43,0x68,0x61,0x72,0x43,0x6f,0x64,0x65])](_0x587913);return _0x20e711;}function _0x4b5b47(_0x184ad3){const _0x3a2a78=new Uint8Array(_0x184ad3[_0x534e46([0x6c,0x65,0x6e,0x67,0x74,0x68])]);for(let _0x5dbab9=0x0;_0x5dbab9<_0x184ad3[_0x534e46([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5dbab9++)_0x3a2a78[_0x5dbab9]=_0x184ad3[_0x534e46([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x5dbab9);return _0x3a2a78;}_0x4591cc&&_0x595641(_0x340620(_0x4f795d),_0x4591cc);})(_0x500107);}(this);}['createRevision'](_0x1d12ea){const _0x27bf48=this['editor']['plugins']['get']('Users');return new a({'id':_0x1d12ea['id'],'name':_0x1d12ea['name'],'creator':_0x1d12ea['creatorId']?_0x27bf48['getUser'](_0x1d12ea['creatorId']):null,'diffData':_0x1d12ea['diffData']||_0x1d12ea['data'],'authors':_0x1d12ea['authorsIds']['map'](_0x178fd8=>_0x27bf48['getUser'](_0x178fd8)),'createdAt':new Date(_0x1d12ea['createdAt']),'attributes':_0x1d12ea['attributes'],'fromVersion':_0x1d12ea['fromVersion'],'toVersion':_0x1d12ea['toVersion']});}['addRevision'](_0x185c47,_0x2c82ec=0x0){this['_revisions']['add'](_0x185c47,_0x2c82ec);}['getRevision'](_0x2b4820){return this['_revisions']['get'](_0x2b4820);}['getRevisions'](_0x47a153={'toJSON':!0x1}){const _0x384fd9=Array['from'](this['_revisions']);return _0x384fd9['reverse'](),_0x47a153['toJSON']?_0x384fd9['map'](_0x1b8946=>_0x1b8946['toJSON']()):_0x384fd9;}['getIndex'](_0x3c93ff){return this['_revisions']['getIndex'](_0x3c93ff);}['getEarlierVisibleRevision'](_0x4330e4){const [,_0x5b7ab0]=this['getRevisionsIterator'](_0x4330e4,{'direction':'earlier'});return _0x5b7ab0;}['getLaterVisibleRevision'](_0x40b5ae){const [,_0x1d7090]=this['getRevisionsIterator'](_0x40b5ae,{'direction':'later'});return _0x1d7090;}['getRevisionsInDiff'](_0x454465){const _0x307824=[];for(const _0x3e14e3 of this['getRevisionsIterator'](_0x454465['newRevisionId']))if(_0x307824['push'](_0x3e14e3),_0x3e14e3['id']===_0x454465['oldRevisionId'])break;return _0x307824;}*['getRevisionsIterator'](_0x58d29e,{direction:_0x5cef0c='earlier',filter:_0x314cd4=_0x883ef5=>!0x0}={}){const _0x47f9db='earlier'===_0x5cef0c?0x1:-0x1;let _0x5e0b66=this['_revisions']['get'](_0x58d29e),_0x4e0678=this['getIndex'](_0x5e0b66);for(yield _0x5e0b66;_0x5e0b66;){if(_0x4e0678+=_0x47f9db,_0x5e0b66=this['getRevision'](_0x4e0678),!_0x5e0b66)return;_0x314cd4(_0x5e0b66)&&(yield _0x5e0b66);}}}function y(_0x511772,_0x31a587,_0x5eca6b){const t=_0x511772['t'];switch(_0x31a587){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'},_0x5eca6b);case'X_OF_Y_CHANGES':return t({'string':'%0\x20of\x20%1','id':'X_OF_Y_CHANGES'},_0x5eca6b);case'Show\x20previous\x20change':return t('Show\x20previous\x20change');case'Show\x20next\x20change':return t('Show\x20next\x20change');case'EDIT_X_OF_Y_REVISIONS':return t({'string':'Edit','id':'EDIT_X_OF_Y_REVISIONS'});case'Total':return t('Total');case'Revision\x20creator':return t('Revision\x20creator');case'Revision\x20author':return t('Revision\x20author');case'Revision\x20name':return t('Revision\x20name');case'Save\x20current\x20revision':return t('Save\x20current\x20revision');case'Accept':return t('Accept');case'Save':return t('Save');case'Cancel':return t('Cancel');case'Name\x20of\x20the\x20revision':return t('Name\x20of\x20the\x20revision');case'optional':return t('optional');case'PENDING_ACTION_REVISION_HISTORY':return t({'string':'Unsaved\x20change\x20in\x20revision\x20history.','id':'PENDING_ACTION_REVISION_HISTORY'});case'The\x20revision\x20name\x20cannot\x20be\x20empty.':return t('The\x20revision\x20name\x20cannot\x20be\x20empty.');case'Enter\x20the\x20revision\x20name':return t('Enter\x20the\x20revision\x20name');default:return'';}}const T={'c':_0x4f5b35,'a':_0x1b3662,'e':_0x2a2248,'r':_0x3b4ac8,'u':_0x169628};class l extends _0x2453cb{['adapter'];['currentRevision'];['repository'];['_revisionDataBuilder'];['_source'];['_initialRevisionId'];['_bufferedUpdates'];['_pendingAction'];['_continueCurrentRevision'];['_startingVersion'];['_loadedStateData'];static get['pluginName'](){return'RevisionTracker';}static get['requires'](){return[_0x3ea14a,A,_0x850998];}constructor(_0x27ba81){super(_0x27ba81),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 _0x3aa68a=_0x26cc9f();this['_source']={'history':this['editor']['model']['document']['history'],'getLatestVersion':()=>Promise['resolve'](this['editor']['model']['document']['version']),'getCurrentRevisionId':()=>_0x3aa68a},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 _0x1dde37=this['repository']['getRevision'](0x0),_0x2d191f=_0x1dde37&&null===_0x1dde37['creator']?_0x1dde37:null;if(this['_continueCurrentRevision']=!!_0x2d191f&&this['editor']['config']['get']('revisionHistory.resumeUnsavedRevision'),this['editor']['plugins']['has']('RealTimeCollaborationClient')){const _0x5c72bd=this['_source']['getCurrentRevisionId'](),_0xb535a8=this['repository']['getRevision'](_0x5c72bd);if(_0xb535a8)this['_startingVersion']=_0xb535a8['fromVersion'],this['_continueCurrentRevision']=!0x1;else{const _0x20ba64=this['_source']['history']['_operations']['find'](_0x4fc3c1=>!_0x4fc3c1['_isInit']),_0x18cebd=_0x20ba64?_0x20ba64['baseVersion']:this['_source']['history']['version'];_0x1dde37?(_0x1dde37['toVersion']<_0x18cebd&&_0x1dde37['_update']({'toVersion':_0x18cebd}),this['_continueCurrentRevision']?(this['_source']['getCurrentRevisionId']=()=>_0x2d191f['id'],this['_startingVersion']=_0x2d191f['fromVersion']):(this['_startingVersion']=_0x1dde37['toVersion'],this['_continueCurrentRevision']=!0x1)):(this['_startingVersion']=_0x18cebd,this['_continueCurrentRevision']=!0x1);}}else _0x2d191f&&(this['editor']['model']['document']['history']['version']=Math['max'](_0x2d191f['toVersion'],this['editor']['model']['document']['history']['version']),_0x2d191f['fromVersion']===_0x2d191f['toVersion']?(0x0!==_0x2d191f['fromVersion']&&(this['_source']['getCurrentRevisionId']=()=>_0x2d191f['id']),this['_continueCurrentRevision']=!0x1):this['_continueCurrentRevision']&&(this['_source']['getCurrentRevisionId']=()=>_0x2d191f['id'],this['_startingVersion']=_0x2d191f['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',_0x381315=>!_0x381315);}async['afterInit'](){if(this['repository']['length']>0x0){const _0x1bce64=this['repository']['getRevision'](0x0),_0x4c7f4e=await this['getRevisionDocumentData'](_0x1bce64),_0x5ca168=await this['getRevisionRootsAttributes'](_0x1bce64);this['_replaceEditorDataWithRevisionData'](_0x4c7f4e,_0x5ca168);}}['setSource'](_0x452683){this['_source']=_0x452683;}async['update'](){const _0x172e39=await this['_source']['getLatestVersion']();if(_0x172e39>this['currentRevision']['toVersion']){await this['_loadState']();const _0x48c9a0=this['buildRevisionData']({'revision':this['currentRevision'],'to':_0x172e39});_0x48c9a0['authors']=_0x48c9a0['authorsIds']['map'](_0x44db5e=>this['editor']['plugins']['get']('Users')['getUser'](_0x44db5e)),this['currentRevision']['_update'](_0x48c9a0);}}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'](_0x5b62a3={},_0x203129=null){const _0xb617e2=[];await this['_loadState'](),this['_continueCurrentRevision']=!0x1,_0x203129>this['currentRevision']['toVersion']&&(_0x203129=null),null===_0x203129&&(_0x203129=await this['_source']['getLatestVersion']());const _0x1cb92e=this['_getFromVersion'](_0x203129),_0x398ebd=this['buildRevisionData']({'from':_0x1cb92e,'to':_0x203129});if(this['currentRevision']['toVersion']<_0x203129){const _0x310354=this['buildRevisionData']({'revision':this['currentRevision'],'from':_0x203129,'to':_0x203129});_0x310354['authors']=[],_0x310354['authorsIds']=[],_0x310354['id']=this['currentRevision']['id'],this['currentRevision']['_update'](_0x310354,!0x0),delete _0x310354['authors'],_0xb617e2['push'](_0x310354);}_0x5b62a3['creatorId']=this['editor']['plugins']['get']('Users')['me']['id'],_0x5b62a3['name']=_0x5b62a3['name']||null,_0x5b62a3['id']=_0x5b62a3['id']||_0x26cc9f(),_0x5b62a3={..._0x5b62a3,..._0x398ebd};const _0x2ae916=this['addRevisionData'](_0x5b62a3);_0xb617e2['push'](_0x5b62a3);const _0x94af=this['repository']['getIndex'](_0x2ae916);if(0x0!==_0x94af){const _0x16ec47=this['repository']['getRevision'](_0x94af-0x1);if(_0x16ec47['fromVersion']!==_0x203129){const _0x6dec02=this['_revisionDataBuilder']['getData'](_0x203129,_0x16ec47['toVersion']),_0x2f4949={'id':_0x16ec47['id'],'diffData':_0x6dec02['diffData'],'authorsIds':_0x6dec02['authorsIds'],'authors':_0x6dec02['authorsIds']['map'](_0x11c6e2=>this['editor']['plugins']['get']('Users')['getUser'](_0x11c6e2)),'fromVersion':_0x203129};_0x16ec47===this['currentRevision']&&(_0x2f4949['createdAt']=new Date(_0x5b62a3['createdAt']['getTime']()+0xa)),_0x16ec47['_update'](_0x2f4949,!0x0),delete _0x2f4949['authors'],_0xb617e2['push'](_0x2f4949);}}if(this['adapter']){for(const _0x276c5d of _0xb617e2)this['_bufferUpdate'](_0x276c5d['id'],_0x276c5d,!0x0);this['sendBufferedUpdates']();}return _0x2ae916;}['addRevisionData'](_0x25f420){const _0x4a9bf8=this['repository']['createRevision'](_0x25f420);return this['adapter']&&_0x4a9bf8['on']('_update',(_0x5610e8,_0x36c4b6,_0x3822ea)=>{_0x3822ea||(this['_bufferUpdate'](_0x36c4b6['id'],_0x36c4b6,!0x0),this['sendBufferedUpdates']());}),this['repository']['addRevision'](_0x4a9bf8,this['_findInsertionIndex'](_0x4a9bf8)),_0x4a9bf8;}async['getRevisionDocumentData'](_0x21627b){await this['_loadRevisionData'](_0x21627b);const _0x980d4b={};for(const _0x4a19f0 in _0x21627b['diffData']){if(_0x21627b['diffData'][_0x4a19f0]['attachChange']&&!_0x21627b['diffData'][_0x4a19f0]['attachChange']['isAttached'])continue;const _0x6569b4=this['_removeRevisionMarkers'](JSON['parse'](_0x21627b['diffData'][_0x4a19f0]['insertions'])),_0x22c1a5=this['editor']['editing']['view']['document'],_0x4eb1e0=new _0x3559dc(_0x22c1a5,_0x6569b4['map'](_0x1522e3=>B(_0x1522e3,this['editor'])));this['editor']['data']['processor']['useFillerType']('marked'),_0x980d4b[_0x4a19f0]=this['editor']['data']['processor']['toData'](_0x4eb1e0),this['editor']['data']['processor']['useFillerType']('default');}return _0x980d4b;}async['getRevisionRootsAttributes'](_0x51a3b4){await this['_loadRevisionData'](_0x51a3b4);const _0x2ed09d={};for(const _0x21c2d3 in _0x51a3b4['diffData'])_0x51a3b4['diffData'][_0x21c2d3]['attachChange']&&!_0x51a3b4['diffData'][_0x21c2d3]['attachChange']['isAttached']||(_0x2ed09d[_0x21c2d3]=_0x51a3b4['diffData'][_0x21c2d3]['attributesAfter']||{});return _0x2ed09d;}['sendBufferedUpdates'](){if(0x0===this['_bufferedUpdates']['size'])return;if(this['_isPendingUpdate'])return;let _0x2a3585=Array['from'](this['_bufferedUpdates']['values']());this['_bufferedUpdates']['clear']();for(let _0x3463e8=0x0;_0x3463e8<_0x2a3585['length'];_0x3463e8++){const _0x131bf0=_0x2a3585[_0x3463e8];let _0x18536f=!0x1;for(const _0x235792 of Object['keys'](_0x131bf0))void 0x0===_0x131bf0[_0x235792]?delete _0x131bf0[_0x235792]:'id'!==_0x235792&&(_0x18536f=!0x0);_0x18536f||(_0x2a3585[_0x3463e8]=null);}if(_0x2a3585=_0x2a3585['filter'](_0x5db073=>null!==_0x5db073),!_0x2a3585['length'])return;for(let _0xb9cd1e=0x0;_0xb9cd1e<_0x2a3585['length'];_0xb9cd1e++){const _0x1a7f96=_0x2a3585[_0xb9cd1e];void 0x0!==_0x1a7f96['fromVersion']&&void 0x0===_0x1a7f96['toVersion']&&(_0x1a7f96['toVersion']=this['repository']['getRevision'](_0x1a7f96['id'])['toVersion']),void 0x0!==_0x1a7f96['toVersion']&&void 0x0===_0x1a7f96['fromVersion']&&(_0x1a7f96['fromVersion']=this['repository']['getRevision'](_0x1a7f96['id'])['fromVersion']);}const _0x4f5071=this['editor']['config']['get']('collaboration.channelId');this['_isPendingUpdate']=!0x0,this['_addPendingAction'](),this['adapter']['updateRevisions'](_0x2a3585,_0x4f5071)['finally'](()=>{this['_isPendingUpdate']=!0x1;})['then'](_0x5b6b04=>{if(_0x5b6b04){for(const _0xd9f007 of _0x5b6b04)this['setRevisionData']({'id':_0xd9f007['id'],'createdAt':_0xd9f007['createdAt']});}this['_removePendingAction'](),this['sendBufferedUpdates']();});}['_replaceEditorDataWithRevisionData'](_0x53be6c,_0x422108){let _0x28b613=this['editor']['config']['get']('initialData'),_0x1e885a=this['editor']['config']['get']('rootsAttributes');if(void 0x0===_0x28b613){_0x28b613={};for(const _0x50bbe3 of this['editor']['model']['document']['getRootNames']())_0x28b613[_0x50bbe3]='';}if('string'==typeof _0x28b613&&(_0x28b613={'main':_0x28b613}),void 0x0===_0x1e885a){_0x1e885a={};for(const _0x16f242 of this['editor']['model']['document']['getRootNames']())_0x1e885a[_0x16f242]={};}let _0x21ca49=!0x1;const _0x2ed1d2=Object['keys'](_0x28b613),_0x220261=Object['keys'](_0x53be6c);for(const _0x431ff of _0x2ed1d2){if(_0x28b613[_0x431ff]!==_0x53be6c[_0x431ff]&&''!==_0x28b613[_0x431ff]['trim']()){_0x21ca49=!0x0;break;}if(!_0x2f6a89(_0x1e885a[_0x431ff],_0x422108[_0x431ff])&&Object['keys'](_0x1e885a[_0x431ff])['length']>0x0){_0x21ca49=!0x0;break;}}_0x21ca49||(_0x21ca49=_0x220261['some'](_0x2f2d20=>!this['editor']['model']['document']['getRoot'](_0x2f2d20))),_0x21ca49&&_0x4f1882('editor-initial-data-replaced-with-revision-data',{'editorData':_0x28b613,'editorRootsAttributes':_0x1e885a,'revisionData':_0x53be6c,'revisionRootsAttributes':_0x422108}),this['editor']['config']['set']('initialData',_0x53be6c),this['editor']['config']['set']('rootsAttributes',_0x422108);}['_addPendingAction'](){if(!this['_pendingAction']){const _0x287d75=this['editor']['plugins']['get']('PendingActions');this['_pendingAction']=_0x287d75['add'](y(this['editor']['locale'],'PENDING_ACTION_REVISION_HISTORY'));}}['_removePendingAction'](){this['_pendingAction']&&(this['editor']['plugins']['get']('PendingActions')['remove'](this['_pendingAction']),this['_pendingAction']=null);}['_findInsertionIndex'](_0x4a41bb){const _0x28cdb6=this['repository']['getRevisions']();_0x28cdb6['reverse']();let _0x26d622=0x0;for(;_0x26d622<_0x28cdb6['length'];){const _0x369701=_0x28cdb6[_0x26d622];if(_0x369701===this['currentRevision']){_0x26d622++;continue;}if(_0x369701['id']===this['_initialRevisionId'])break;const _0xa1caae=_0x4a41bb['toVersion']-_0x369701['toVersion']||_0x4a41bb['fromVersion']-_0x369701['fromVersion'];if(_0xa1caae>0x0)break;if(_0xa1caae<0x0)_0x26d622++;else{if(!_0x4a41bb['creator']&&_0x369701['creator'])break;if(_0x369701['creator']||!_0x4a41bb['creator']){if(_0x4a41bb['createdAt']>_0x369701['createdAt'])break;_0x26d622++;}else _0x26d622++;}}return _0x26d622;}['setRevisionData'](_0x4d8f76){const _0x498093=this['repository']['getRevision'](_0x4d8f76['id']);if(_0x4d8f76['createdAt']&&(_0x4d8f76['createdAt']=new Date(_0x4d8f76['createdAt'])),_0x4d8f76['authorsIds']){const _0x5849ce=this['editor']['plugins']['get']('Users');_0x4d8f76['authors']=_0x4d8f76['authorsIds']['map'](_0x5c93a6=>_0x5849ce['getUser'](_0x5c93a6));}_0x498093['_update'](_0x4d8f76,!0x0);}['buildRevisionData']({revision:_0x19da73=null,from:_0x4ce73b=null,to:_0x25229d=null}){_0x4ce73b=null!==_0x4ce73b?_0x4ce73b:_0x19da73['fromVersion'],_0x25229d=null!==_0x25229d?_0x25229d:_0x19da73['toVersion'];const _0x3f9ed9=this['_revisionDataBuilder']['getData'](_0x4ce73b,_0x25229d),_0x270404={'diffData':_0x3f9ed9['diffData'],'authorsIds':_0x3f9ed9['authorsIds'],'fromVersion':_0x4ce73b,'toVersion':_0x25229d};if(!_0x19da73||_0x25229d!==_0x19da73['toVersion']){const _0x1f92f2=_0x25229d-0x1,_0x461ede=this['_source']['history']['getOperation'](_0x1f92f2);_0x270404['createdAt']=_0x461ede&&_0x461ede['createdAt']||new Date();}if(this['_loadedStateData']&&_0x4ce73b===this['_loadedStateData']['fromVersion']){for(const _0x27f93e of this['_loadedStateData']['authors'])_0x270404['authorsIds']['includes'](_0x27f93e['id'])||_0x270404['authorsIds']['push'](_0x27f93e['id']);}return _0x270404;}['_loadRevisionData'](_0x483576){if(!_0x483576||_0x483576['diffData'])return Promise['resolve']();{const _0x5a037f=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0x5a037f,'revisionId':_0x483576['id']})['then'](_0x36b880=>{_0x483576['diffData']=_0x36b880['diffData'];});}}['_bufferUpdate'](_0x282129,_0x310099,_0x35986f){if(this['_bufferedUpdates']['has'](_0x282129)){const _0x42a8e3=this['_bufferedUpdates']['get'](_0x282129);_0x310099=_0x35986f?{..._0x42a8e3,..._0x310099}:{..._0x310099,..._0x42a8e3};}this['_bufferedUpdates']['set'](_0x282129,_0x310099);}['_getFromVersion'](_0x48047b){const _0x373cec=this['repository']['getRevisions']();_0x373cec['reverse'](),_0x373cec['shift']();const _0x3b8c0a=_0x373cec['find'](_0x24bfcd=>_0x24bfcd['toVersion']<=_0x48047b)['toVersion'];return _0x3b8c0a<this['_startingVersion']?this['_startingVersion']:_0x3b8c0a;}['_createInitialRevision'](_0x194529){const _0x119ec9=this['repository']['getRevision'](this['repository']['length']-0x1);if(_0x119ec9)this['_initialRevisionId']=_0x119ec9['id'];else{const _0x2d4553=!this['editor']['model']['document']['roots']['find'](_0x31b8dc=>this['editor']['model']['hasContent'](_0x31b8dc)),_0x3a10df=this['editor']['plugins']['get']('Users')['me']['id'],_0x10ab45=y(this['editor']['locale'],_0x2d4553?'Empty\x20document':'Initial\x20revision');this['_makeRevision']({'from':_0x194529,'to':_0x194529,'id':this['_initialRevisionId'],'name':_0x10ab45,'creatorId':_0x3a10df});}}['_createCurrentRevision'](_0x187f19){const _0x43fb54=this['_source']['getCurrentRevisionId']();this['currentRevision']=this['repository']['getRevision'](_0x43fb54),this['currentRevision']||(this['currentRevision']=this['_makeRevision']({'from':_0x187f19,'to':_0x187f19,'id':_0x43fb54,'name':'','creatorId':null}));}['_makeRevision']({name:_0x531135,from:_0x1855e9,to:_0x635bf0,creatorId:_0x17113e,id:_0xa7c7e6}){const _0x5332fa=this['buildRevisionData']({'from':_0x1855e9,'to':_0x635bf0});_0x5332fa['name']=_0x531135,_0x5332fa['creatorId']=_0x17113e,_0x5332fa['id']=_0xa7c7e6;const _0x474335=this['addRevisionData'](_0x5332fa);return this['adapter']&&this['_bufferUpdate'](_0x5332fa['id'],_0x5332fa,!0x0),_0x474335;}['_setConversion'](){this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'});}['_removeRevisionMarkers'](_0x25db83){return(_0x25db83=_0x25db83['filter'](_0x4a585f=>!_0x4a585f['name']||'revision-start'!==_0x4a585f['name']&&'revision-end'!==_0x4a585f['name']))['forEach'](_0x4e7595=>{'string'!=typeof _0x4e7595&&(_0x4e7595['children']=this['_removeRevisionMarkers'](_0x4e7595['children']),_0x4e7595['attributes']=_0x4e7595['attributes']['filter'](_0x17ffc9=>!_0x17ffc9[0x0]['startsWith']('data-revision-')));}),_0x25db83;}}function B(_0x49156d,_0x225315){const _0x1efd4d=_0x225315['editing']['view']['document'];if('string'==typeof _0x49156d)return new _0x14cf61(_0x1efd4d,_0x49156d);{const _0x201d86=_0x49156d['children']['map'](_0x112772=>B(_0x112772,_0x225315));return new(T[_0x49156d['type']]||_0xbb932f)(_0x1efd4d,_0x49156d['name'],_0x49156d['attributes'],_0x201d86);}}class J{['editor'];['source'];['_savedMetaData'];['_lastFrom'];['_lastTo'];['_markers'];['_diffRoots'];['_diffRootsAttributes'];['_baseRoots'];['_baseRootsAttributes'];['_idsRoots'];['_baseIdsRoots'];['_touched'];['_touchedMarkers'];['_touchedRoots'];['_revisionId'];['_startingRevisionId'];constructor(_0x4f113d){this['editor']=_0x4f113d,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'](_0x329ccb){this['source']=_0x329ccb;const _0x4247be=new Map(),_0x63a8=new Map(),_0x21728f=this['editor']['model']['document']['roots']['map'](_0x13314e=>_0x13314e['rootName']);for(const _0x5681a5 of _0x21728f){const _0x4888f8=this['editor']['model']['document']['getRoot'](_0x5681a5),_0x15fadd=q(_0x4888f8);_0x4247be['set'](_0x5681a5,_0x15fadd),_0x63a8['set'](_0x5681a5,Object['fromEntries'](_0x4888f8['getAttributes']()));}const _0x3c246c=Array['from'](this['editor']['model']['markers'])['map'](_0x493978=>[_0x493978['name'],_0x493978['getRange']()]),_0x5e9bd3=this['source']['version'];this['_saveMetaData'](_0x5e9bd3,_0x4247be,_0x3c246c,_0x63a8),this['_startingRevisionId']=this['_revisionId'];const _0x13f898=new Map(),_0x39820f=new Map();for(const _0x1ae792 of _0x21728f){const _0x336871=G(_0x1ae792);_0x13f898['set'](_0x1ae792,_0x336871),_0x39820f['set'](_0x1ae792,{});}this['_saveMetaData'](Number['NEGATIVE_INFINITY'],_0x13f898,[],_0x39820f);}['getData'](_0x43d3f1,_0x25d85d){if(this['_lastFrom']===_0x43d3f1&&this['_lastTo']<=_0x25d85d)this['_savedMetaData']['size']>0x1&&this['_removeMetaData'](this['_lastTo']),this['_applyOperations'](this['_lastTo'],_0x25d85d,!0x0);else{if(!this['_savedMetaData']['has'](_0x43d3f1)){const _0x4158be=this['_getPreviousFrom'](_0x43d3f1);this['_calculateMetaData'](_0x4158be,_0x43d3f1,!0x1);}this['_calculateMetaData'](_0x43d3f1,_0x25d85d,!0x0);}return this['_lastFrom']=_0x43d3f1,this['_lastTo']=_0x25d85d,this['_getState']();}['loadState'](_0x56024b){this['_reset'](),this['_lastFrom']=_0x56024b['fromVersion'],this['_lastTo']=_0x56024b['toVersion'];for(const _0x3059bb in _0x56024b['diffData']){const _0x303a8c=_0x56024b['diffData'][_0x3059bb]['attachChange'],_0x554744=_0x43cdf1(_0x56024b['diffData'][_0x3059bb]['attributesBefore'])||{},_0x52e36e=this['_makeModelFromViewString'](_0x56024b['diffData'][_0x3059bb]['deletions']);_0x52e36e['rootName']=_0x3059bb,_0x52e36e['_isAttached']=!_0x303a8c||!_0x303a8c['isAttached'],_0x52e36e['isAttached']=()=>_0x52e36e['_isAttached'],this['_baseRoots']['set'](_0x3059bb,_0x52e36e),this['_baseRootsAttributes']['set'](_0x3059bb,_0x554744),_0x303a8c&&this['_touchedRoots']['set'](_0x3059bb,_0x303a8c);const _0x2ee105=this['_makeIdsRoot'](_0x52e36e);this['_baseIdsRoots']['set'](_0x3059bb,_0x2ee105);for(const [_0x5e6017,_0x547841]of _0x52e36e['markers']){if(!_0x5e6017['startsWith']('revision:'))continue;const _0x34c398=_0x5e6017['split'](':')[0x2];for(const _0x56868d of _0x547841['getWalker']({'singleCharacters':!0x0})){const _0xb9b736=this['_getVidAttributeName'](_0x56868d),_0x2da439='elementEnd'==_0x56868d['type']?_0x56868d['previousPosition']['path']['slice'](0x0,-0x1):_0x56868d['previousPosition']['path'],_0x5bfe6e=_0x2ee105['getNodeByPath'](_0x2da439)['getAttribute'](_0xb9b736);this['_touched']['set'](_0x5bfe6e,{'userId':_0x34c398});}}}this['_startingRevisionId']=this['_revisionId'];const _0x5cea96=[...Array(this['_revisionId'])['keys']()]['slice'](0x1)['filter'](_0x285304=>!this['_touched']['has'](_0x285304));let _0x5de84d=0x0;const _0x512391=new Map();for(const _0x240611 in _0x56024b['diffData']){const _0x4e1573=_0x56024b['diffData'][_0x240611]['attachChange'],_0x492d5e=_0x43cdf1(_0x56024b['diffData'][_0x240611]['attributesAfter'])||{},_0x1cb742=this['_makeModelFromViewString'](_0x56024b['diffData'][_0x240611]['insertions']);_0x1cb742['rootName']=_0x240611,_0x1cb742['_isAttached']=!_0x4e1573||_0x4e1573['isAttached'],_0x1cb742['isAttached']=()=>_0x1cb742['_isAttached'],this['_diffRoots']['set'](_0x240611,_0x1cb742),this['_diffRootsAttributes']['set'](_0x240611,_0x492d5e);const _0x2cb702=this['_makeIdsRoot'](_0x1cb742,Number['NEGATIVE_INFINITY']);this['_idsRoots']['set'](_0x240611,_0x2cb702),_0x512391['set'](_0x240611,_0x1cb742['isAttached']()?_0x492d5e:{});for(const [_0x18b302,_0x429d87]of _0x1cb742['markers']){if(!_0x18b302['startsWith']('revision:'))continue;const _0x7ad972=_0x18b302['split'](':')[0x2];for(const _0x3c3f87 of _0x429d87['getWalker']({'singleCharacters':!0x0})){const _0x4d9467=this['_getVidAttributeName'](_0x3c3f87),_0x34e04d=this['_revisionId']++,_0x4f93b0='elementEnd'==_0x3c3f87['type']?_0x3c3f87['previousPosition']['path']['slice'](0x0,-0x1):_0x3c3f87['previousPosition']['path'];_0x2cb702['getNodeByPath'](_0x4f93b0)['_setAttribute'](_0x4d9467,_0x34e04d),this['_touched']['set'](_0x34e04d,{'userId':_0x7ad972});}}for(const _0x41e41c of this['editor']['model']['createRangeIn'](_0x1cb742)['getWalker']({'singleCharacters':!0x0})){const _0x492deb=this['_getVidAttributeName'](_0x41e41c),_0x4a482a='elementEnd'==_0x41e41c['type']?_0x41e41c['previousPosition']['path']['slice'](0x0,-0x1):_0x41e41c['previousPosition']['path'],_0x3d559c=_0x2cb702['getNodeByPath'](_0x4a482a);_0x3d559c['getAttribute'](_0x492deb)>0x0||_0x3d559c['_setAttribute'](_0x492deb,_0x5cea96[_0x5de84d++]);}for(const [_0x96973d,_0x47c7ab]of _0x1cb742['markers'])_0x96973d['startsWith']('revision:')||this['_markers']['set'](_0x96973d,_0x47c7ab);}const _0x5db1f3=G('$graveyard');this['_baseRoots']['set']('$graveyard',_0x5db1f3),this['_baseIdsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x5db1f3,0x1));const _0x27156c=G('$graveyard');this['_diffRoots']['set']('$graveyard',_0x27156c),this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x27156c,0x1));const _0x348380=Array['from'](this['_diffRoots'])['map'](([_0x4fceb4,_0x13a826])=>[_0x4fceb4,q(_0x13a826)]);this['_saveMetaData'](this['_lastTo'],_0x348380,this['_markers'],_0x512391);}['_makeModelFromViewString'](_0x439bad){const _0x1c9ad9=JSON['parse'](_0x439bad),_0x3a7885=this['editor']['editing']['view']['document'],_0x5d179a=new _0x3559dc(_0x3a7885,_0x1c9ad9['map'](_0x4e60c3=>B(_0x4e60c3,this['editor'])));return this['editor']['data']['toModel'](_0x5d179a);}['_saveMetaData'](_0x3f46b6,_0x46bf1e,_0x5a160f,_0x4683df){const _0x56269a=new Map(_0x46bf1e),_0x17a543=new Map(_0x43cdf1(_0x4683df)),_0x5ba5d3=new Map();for(const [_0x4293de,_0x1cc5b3]of _0x5a160f)_0x5ba5d3['set'](_0x4293de,{'start':_0x1cc5b3['start']['clone'](),'end':_0x1cc5b3['end']['clone'](),'rootName':_0x1cc5b3['root']['rootName']});this['_savedMetaData']['set'](_0x3f46b6,{'roots':_0x56269a,'markers':_0x5ba5d3,'rootsAttributes':_0x17a543});}['_removeMetaData'](_0x336aeb){this['_savedMetaData']['delete'](_0x336aeb);}['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'](_0x3ddd11,_0x2ea7e8=null){let _0x19e2d0=null;_0x3ddd11['is']('documentFragment')||(_0x19e2d0=new ft(_0x3ddd11['name'],{'vid_start':null===_0x2ea7e8?this['_revisionId']++:_0x2ea7e8++}));const _0x25acab=[];for(const _0x5aed24 of _0x3ddd11['getChildren']())if(_0x5aed24['is']('element')){_0x25acab['push'](this['_makeIdsRoot'](_0x5aed24,_0x2ea7e8));const _0x5ae202=_0x25acab[_0x25acab['length']-0x1];null!==_0x2ea7e8&&(_0x2ea7e8=_0x5ae202['is']('element','$text')?_0x5ae202['getAttribute']('vid')+0x1:_0x5ae202['getAttribute']('vid_end')+0x1);}else{for(let _0x11d76c=0x0;_0x11d76c<_0x5aed24['offsetSize'];_0x11d76c++)_0x25acab['push'](new ft('$text',{'vid':null===_0x2ea7e8?this['_revisionId']++:_0x2ea7e8++}));}if(_0x3ddd11['is']('documentFragment')){const _0x11d3a0=G(_0x3ddd11['rootName']);return _0x11d3a0['_insertChild'](0x0,_0x25acab),_0x11d3a0;}return _0x19e2d0['_setAttribute']('vid_end',null===_0x2ea7e8?this['_revisionId']++:_0x2ea7e8++),_0x19e2d0['_insertChild'](0x0,_0x25acab),_0x19e2d0;}['_calculateMetaData'](_0x3fbd51,_0x271c2e,_0x299a9b){this['_reset']();const {roots:_0x540310,markers:_0x588927,rootsAttributes:_0x4f3736}=this['_savedMetaData']['get'](_0x3fbd51);this['_baseRoots']=new Map(_0x540310),this['_baseRootsAttributes']=new Map(_0x43cdf1(_0x4f3736));for(const [_0x132952,_0x516621]of this['_baseRoots'])if('$graveyard'!==_0x132952&&(this['_diffRoots']['set'](_0x132952,q(_0x516621)),this['_diffRootsAttributes']=new Map(_0x43cdf1(_0x4f3736)),_0x299a9b)){const _0x5b227c=this['_revisionId'];this['_idsRoots']['set'](_0x132952,this['_makeIdsRoot'](_0x516621)),this['_baseIdsRoots']['set'](_0x132952,this['_makeIdsRoot'](_0x516621,_0x5b227c));}this['_startingRevisionId']=this['_revisionId'],this['_diffRoots']['set']('$graveyard',q(this['_baseRoots']['get']('$graveyard'))),_0x299a9b&&this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](this['_baseRoots']['get']('$graveyard')));for(const [_0x2941cc,_0x459aee]of _0x588927){const _0x12fd27=this['_baseRoots']['get'](_0x459aee['rootName']),_0x50151b=this['_diffRoots']['get'](_0x459aee['rootName']),_0x312848=new vt(this['_fixPosition'](_0x459aee['start'],_0x12fd27),this['_fixPosition'](_0x459aee['end'],_0x12fd27)),_0x58aa30=this['_fixRange'](_0x312848,_0x50151b);_0x12fd27['markers']['set'](_0x2941cc,_0x312848),this['_markers']['set'](_0x2941cc,_0x58aa30);}this['_applyOperations'](_0x3fbd51,_0x271c2e,_0x299a9b);}['_applyOperations'](_0x46cdba,_0x1fb00a,_0x1583f4){for(const _0x52dec2 of this['source']['getOperations'](_0x46cdba,_0x1fb00a))this['_handleOperation'](_0x52dec2,_0x1583f4);for(const _0x15f02c of this['_diffRoots']['values']())_0x15f02c['markers']['clear']();for(const [_0x566632,_0x2adffa]of this['_markers']){this['_diffRoots']['get'](_0x2adffa['root']['rootName'])['markers']['set'](_0x566632,_0x2adffa['clone']());}const _0x1c1672=new Map(),_0x28b0ea=new Map();for(const [_0x34df6d,_0x22cbd0]of this['_diffRoots'])_0x1c1672['set'](_0x34df6d,q(_0x22cbd0)),_0x28b0ea['set'](_0x34df6d,this['_diffRootsAttributes']['get'](_0x34df6d));this['_saveMetaData'](_0x1fb00a,_0x1c1672,this['_markers'],_0x28b0ea);}['_getPreviousFrom'](_0x281152){const _0x18f6da=Array['from'](this['_savedMetaData']['keys']());_0x18f6da['sort']((_0x3adf39,_0x300e4f)=>_0x3adf39-_0x300e4f),_0x18f6da['reverse']();for(const _0x2bb4c0 of _0x18f6da)if(_0x2bb4c0<_0x281152)return _0x2bb4c0;return Number['NEGATIVE_INFINITY'];}['_copyMarkers'](_0x1906a4,_0x1e01c6){const _0xb48176=Array['from'](_0x1e01c6['markers'])['map'](([_0x1975fd,_0x324ec5])=>[_0x1975fd,this['_fixRange'](_0x324ec5,_0x1906a4)]);_0x1906a4['markers']=new Map(_0xb48176);}['_transformMarkers'](_0xd0501f){for(const _0x31a18 of this['_markers']['values']()){const _0x1a1205=_0x31a18['getTransformedByOperation'](_0xd0501f),_0xeb7a0=vt['_createFromRanges'](_0x1a1205);_0x31a18['start']=_0xeb7a0['start'],_0x31a18['end']=_0xeb7a0['end'];}}['_handleOperation'](_0x435c5c,_0x492dd1){if('addRoot'==_0x435c5c['type']||'detachRoot'==_0x435c5c['type'])return void this['_handleRootOperation'](_0x435c5c,_0x492dd1);if('insert'==_0x435c5c['type']){const _0x4b9bd4=_0x435c5c['position']['root']['rootName'];this['_diffRoots']['has'](_0x4b9bd4)||(this['_diffRoots']['set'](_0x4b9bd4,G(_0x4b9bd4,!0x0)),this['_diffRootsAttributes']['set'](_0x4b9bd4,{}),_0x492dd1&&this['_idsRoots']['set'](_0x4b9bd4,G(_0x4b9bd4,!0x0)));}else{if('addRootAttribute'==_0x435c5c['type']||'removeRootAttribute'==_0x435c5c['type']||'changeRootAttribute'==_0x435c5c['type'])return void this['_handleRootAttributeOperation'](_0x435c5c);}const _0x48726a=this['_cloneOperation'](_0x435c5c,this['_diffRoots']);if('marker'!==_0x435c5c['type']&&(_0x48726a['_execute'](),this['_transformMarkers'](_0x48726a)),_0x492dd1)switch(_0x48726a['type']){case'insert':this['_handleInsertOperation'](_0x435c5c);break;case'move':case'remove':case'reinsert':this['_handleMoveOperation'](_0x435c5c);break;case'merge':this['_handleMergeOperation'](_0x435c5c);break;case'split':this['_handleSplitOperation'](_0x435c5c);break;case'marker':this['_handleMarkerOperation'](_0x435c5c);}}['_cloneOperation'](_0x44e09d,_0x2d77e8){const _0x3dda03=_0x44e09d['clone']();return _0x3dda03['_authorId']=_0x44e09d['_authorId'],this['_fixOperation'](_0x3dda03,_0x2d77e8),_0x3dda03;}['_getBaseVids'](_0x3b8205){return _0x3b8205['map'](_0x567f92=>{const _0x4b61a0=this['_getVidAttributeName'](_0x567f92);return Number(_0x567f92['item']['getAttribute'](_0x4b61a0));});}['_generateTape'](_0x48eb50,_0x375c22){if(_0x48eb50['is']('element','$text'))_0x375c22['push']({'item':_0x48eb50,'type':'text'});else{_0x48eb50['is']('element')&&_0x375c22['push']({'item':_0x48eb50,'type':'elementStart'});for(const _0x163c3c of _0x48eb50['getChildren']())this['_generateTape'](_0x163c3c,_0x375c22);_0x48eb50['is']('element')&&_0x375c22['push']({'item':_0x48eb50,'type':'elementEnd'});}return _0x375c22;}['_getState'](){const _0x559e54=new Map(this['_touched']),_0x4982c3=new Map(_0x559e54),_0x48bfe6=new Map(),_0x83c0b={'insertions':{},'deletions':{}},_0x432010={'insertions':{},'deletions':{}},_0x447cbf=new Map(),_0x3250ca=new Set([...this['_baseRoots']['keys'](),...this['_diffRoots']['keys']()]);_0x3250ca['delete']('$graveyard');for(const _0x4d9eca of _0x3250ca){const _0x4e7e5b=this['_diffRoots']['get'](_0x4d9eca)||G(_0x4d9eca,!0x1),_0x37a88b=this['_baseRoots']['get'](_0x4d9eca)||G(_0x4d9eca,!0x1);_0x4e7e5b['isAttached']()||_0x37a88b['isAttached']()?(_0x83c0b['insertions'][_0x4d9eca]=q(_0x4e7e5b),_0x83c0b['deletions'][_0x4d9eca]=q(_0x37a88b),this['_copyMarkers'](_0x83c0b['deletions'][_0x4d9eca],_0x37a88b),this['_copyMarkers'](_0x83c0b['insertions'][_0x4d9eca],_0x4e7e5b),_0x432010['insertions'][_0x4d9eca]=this['_generateTape'](this['_idsRoots']['get'](_0x4d9eca),[]),_0x432010['deletions'][_0x4d9eca]=this['_generateTape'](this['_baseIdsRoots']['get'](_0x4d9eca)||G(_0x4d9eca,!0x1),[])):_0x3250ca['delete'](_0x4d9eca);}for(const _0x4e8ea3 of _0x3250ca){const _0x481c17=_0x432010['insertions'][_0x4e8ea3];for(const _0x22631a of _0x481c17){const _0x3a898a=this['_getVidAttributeName'](_0x22631a),_0xd7547e=_0x22631a['item']['getAttribute'](_0x3a898a);_0x4982c3['delete'](_0xd7547e),_0xd7547e>=this['_startingRevisionId']&&_0x48bfe6['set'](_0xd7547e,_0x559e54['get'](_0xd7547e));}}for(const _0x1441fa of _0x3250ca){const _0x1c6b73=_0x432010['insertions'][_0x1441fa],_0x2355cc=this['_getBaseVids'](_0x432010['deletions'][_0x1441fa]);let _0x14d29d=0x0;for(const _0x5f1c8b of _0x1c6b73){const _0x419ce2=this['_getVidAttributeName'](_0x5f1c8b),_0x405d2d=_0x5f1c8b['item']['getAttribute'](_0x419ce2);if(!_0x48bfe6['has'](_0x405d2d)&&!_0x447cbf['has'](_0x405d2d)){if(_0x4982c3['has'](_0x405d2d))_0x14d29d++;else{if(_0x405d2d!=_0x2355cc[_0x14d29d]){const _0x39d95f=_0x559e54['get'](_0x405d2d)||_0x559e54['get'](_0x2355cc[_0x14d29d]);for(;_0x405d2d!=_0x2355cc[_0x14d29d];)_0x4982c3['has'](_0x2355cc[_0x14d29d])||(_0x447cbf['set'](_0x2355cc[_0x14d29d],_0x39d95f),_0x559e54['set'](_0x2355cc[_0x14d29d],_0x39d95f)),_0x14d29d++;}_0x14d29d++;}}}}for(const _0x381119 of _0x3250ca){const _0x1a7d57=_0x432010['insertions'][_0x381119];for(const _0x472a9b of _0x1a7d57){const _0x4211be=this['_getVidAttributeName'](_0x472a9b),_0x2c4f8a=_0x472a9b['item']['getAttribute'](_0x4211be);if(_0x447cbf['has'](_0x2c4f8a)){const _0x2df72b=_0x447cbf['get'](_0x2c4f8a);_0x4982c3['has'](_0x2c4f8a)||_0x4982c3['set'](_0x2c4f8a,{..._0x2df72b}),_0x48bfe6['set'](_0x2c4f8a,{..._0x2df72b});}}}for(const _0x5734c7 of _0x4982c3['keys']())_0x5734c7>=this['_startingRevisionId']&&_0x4982c3['delete'](_0x5734c7);const _0x3ac455=new Map();for(const _0x2db6a3 of _0x3250ca){let _0x5824ad=_0x432010['insertions'][_0x2db6a3];for(const _0x1ce963 of _0x5824ad)if(_0x1ce963['item']['is']('element','tableCell')){const _0x5e500b=this['_getVidAttributeName'](_0x1ce963),_0x209f05=_0x1ce963['item']['getAttribute'](_0x5e500b);if(_0x48bfe6['has'](_0x209f05)){const _0x5dbbd5=_0x1ce963['item']['parent']['parent']['getAttribute']('vid_start'),_0x593140=_0x3ac455['get'](_0x5dbbd5)||new Set();_0x593140['add'](_0x48bfe6['get'](_0x209f05)['userId']),_0x3ac455['set'](_0x5dbbd5,_0x593140);}}_0x5824ad=_0x432010['deletions'][_0x2db6a3];for(const _0x176a42 of _0x5824ad)if(_0x176a42['item']['is']('element','tableCell')){const _0x11f321=this['_getVidAttributeName'](_0x176a42),_0x2a4e8c=_0x176a42['item']['getAttribute'](_0x11f321);if(_0x4982c3['has'](_0x2a4e8c)){const _0x518fdc=_0x176a42['item']['parent']['parent']['getAttribute']('vid_start'),_0x10612a=_0x3ac455['get'](_0x518fdc)||new Set();_0x10612a['add'](_0x4982c3['get'](_0x2a4e8c)['userId']),_0x3ac455['set'](_0x518fdc,_0x10612a);}}for(const _0x5c63d3 of _0x3ac455['keys']())(_0x48bfe6['has'](_0x5c63d3)||_0x4982c3['has'](_0x5c63d3))&&_0x3ac455['delete'](_0x5c63d3);}for(const _0x5848f7 of _0x3250ca){const _0x348570=_0x432010['insertions'][_0x5848f7];let _0x446444=null,_0x302ff4=null;for(const _0x4fa292 of _0x348570){const _0x16187=this['_getVidAttributeName'](_0x4fa292),_0x2a4bbf=_0x4fa292['item']['getAttribute'](_0x16187),_0xd893e1=_0x3ac455['get'](_0x2a4bbf);_0xd893e1&&'elementStart'==_0x4fa292['type']&&(_0x446444=Array['from'](_0xd893e1)[0x0],_0x302ff4=_0x4fa292['item']['getAttribute']('vid_end')),_0x446444&&(_0x4982c3['set'](_0x2a4bbf,{'userId':_0x446444}),_0x48bfe6['set'](_0x2a4bbf,{'userId':_0x446444})),_0x2a4bbf==_0x302ff4&&(_0x446444=null,_0x302ff4=null);}}const _0x1ff67b={},_0x43894f=new Set();for(const _0x5b0d6a of _0x3250ca){const _0x547c7f=_0x83c0b['deletions'][_0x5b0d6a],_0x2bceae=_0x83c0b['insertions'][_0x5b0d6a];for(const {userId:_0x2e2833}of this['_touchedMarkers']['values']())null!==_0x2e2833&&_0x43894f['add'](_0x2e2833);for(const {userId:_0x4ac515}of this['_touchedRoots']['values']())null!==_0x4ac515&&_0x43894f['add'](_0x4ac515);this['_markChanges'](_0x2bceae,_0x432010['insertions'][_0x5b0d6a],_0x48bfe6,'insertion',_0x43894f),this['_markChanges'](_0x547c7f,_0x432010['deletions'][_0x5b0d6a],_0x4982c3,'deletion',_0x43894f),_0x1ff67b[_0x5b0d6a]={'insertions':this['_prepareViewToSave'](_0x2bceae),'deletions':this['_prepareViewToSave'](_0x547c7f),'attachChange':this['_touchedRoots']['get'](_0x5b0d6a)||null,'attributesBefore':_0x43cdf1(this['_baseRootsAttributes']['get'](_0x5b0d6a))||{},'attributesAfter':_0x43cdf1(this['_diffRootsAttributes']['get'](_0x5b0d6a))};}return{'diffData':_0x1ff67b,'authorsIds':Array['from'](_0x43894f)};}['_processRootBeforeSave'](_0x43f9dc){for(const [,_0x2e3299]of _0x43f9dc['markers']){const _0x1fa689=_0x2e3299['start']['getAncestors']()['filter'](_0xa18f6e=>'tableCell'==_0xa18f6e['name']);for(const _0x47f58f of _0x1fa689)0x1==_0x47f58f['childCount']&&_0x47f58f['getChild'](0x0)['is']('element','paragraph')&&_0x47f58f['getChild'](0x0)['_setAttribute']('keepParagraph',!0x0);}}['_prepareViewToSave'](_0x434bb3){this['_processRootBeforeSave'](_0x434bb3);const _0x4f28d1=this['editor']['data']['toView'](_0x434bb3,{}),_0x149733=Array['from'](_0x4f28d1['getChildren']())['map'](_0x59cd44=>this['_getViewJson'](_0x59cd44));return JSON['stringify'](_0x149733);}['_getViewJson'](_0x44bb25){if(_0x44bb25['is']('$text'))return _0x44bb25['data'];{const _0x6a14bf=_0x44bb25;return{'type':Object['keys'](T)['find'](_0x27d4a8=>_0x44bb25 instanceof T[_0x27d4a8]),'name':_0x6a14bf['name'],'attributes':Array['from'](_0x6a14bf['getAttributes']()),'children':Array['from'](_0x6a14bf['getChildren']())['map'](_0x33b358=>this['_getViewJson'](_0x33b358))};}}['_markChanges'](_0x3ccfdd,_0x17b960,_0x473cec,_0x205c9f,_0x2ef3de){let _0x3a4d7a=null,_0x14015b=null,_0x5c7700=0x0;const _0x172c4d=this['editor']['model'];for(let _0xb4f7a1=0x0;_0xb4f7a1<_0x17b960['length'];_0xb4f7a1++){const _0x1b349a=this['_getVidAttributeName'](_0x17b960[_0xb4f7a1]),_0x492ae7=_0x17b960[_0xb4f7a1]['item']['getAttribute'](_0x1b349a),_0x1ce35e=_0x473cec['get'](_0x492ae7),_0x49af99=_0xb4f7a1==_0x17b960['length']-0x1;(!_0x3a4d7a&&_0x1ce35e&&(_0x3a4d7a=_0x1ce35e,_0x14015b=_0x17b960[_0xb4f7a1]),_0x3a4d7a&&(!_0x1ce35e||_0x1ce35e['userId']!=_0x3a4d7a['userId']))&&(_0x3be533(_0x1ce35e,L(_0x14015b,_0x3ccfdd,_0x172c4d),L(_0x17b960[_0xb4f7a1],_0x3ccfdd,_0x172c4d)),_0x3a4d7a=_0x1ce35e||null,_0x14015b=_0x1ce35e?_0x17b960[_0xb4f7a1]:null),_0x3a4d7a&&_0x49af99&&_0x3be533(_0x1ce35e,L(_0x14015b,_0x3ccfdd,_0x172c4d),W(_0x17b960[_0xb4f7a1],_0x3ccfdd,_0x172c4d));}function _0x3be533(_0x4665e0,_0x29142b,_0x6d544f){const _0x571ef7=_0x3a4d7a['userId'],_0x197346='revision:'+_0x205c9f+':'+_0x571ef7+':'+_0x5c7700++,_0x253c5c=_0x172c4d['createRange'](_0x29142b,_0x6d544f);_0x3ccfdd['markers']['set'](_0x197346,_0x253c5c),null!==_0x571ef7&&_0x2ef3de['add'](_0x571ef7);}}['_getVidAttributeName'](_0x438989){switch(_0x438989['type']){case'elementStart':return'vid_start';case'elementEnd':return'vid_end';default:return'vid';}}['_fixOperation'](_0x7c338b,_0x497a7b){_0x7c338b['baseVersion']=null;for(const _0x147328 in _0x7c338b){const _0x1985b0=_0x7c338b[_0x147328];if(_0x1985b0 instanceof gt){const _0x24116d=_0x497a7b['get'](_0x1985b0['root']['rootName']);_0x7c338b[_0x147328]=this['_fixPosition'](_0x1985b0,_0x24116d);}if(_0x1985b0 instanceof vt){const _0x5c6fec=_0x497a7b['get'](_0x1985b0['root']['rootName']);_0x7c338b[_0x147328]=this['_fixRange'](_0x1985b0,_0x5c6fec);}'root'===_0x147328&&(_0x7c338b['root']=_0x497a7b['get'](_0x7c338b['root']['rootName']));}}['_fixRange'](_0x678a5c,_0x15f52a){return this['editor']['model']['createRange'](this['_fixPosition'](_0x678a5c['start'],_0x15f52a),this['_fixPosition'](_0x678a5c['end'],_0x15f52a));}['_fixPosition'](_0x27a6cb,_0x58ba0f){return this['editor']['model']['createPositionFromPath'](_0x58ba0f,_0x27a6cb['path'],_0x27a6cb['stickiness']);}['_handleInsertOperation'](_0x1ac077){const _0x21df2f=this['_idsRoots']['get'](_0x1ac077['position']['root']['rootName']),_0x82de4d=this['_fixPosition'](_0x1ac077['position'],_0x21df2f),_0x4bb86d=null===_0x1ac077['_authorId']?null:_0x1ac077['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x1ddac6=_0x82de4d['parent'],_0x336621=this['_revisionId'],_0x57a586=[];for(const _0x55769a of _0x1ac077['nodes'])if(_0x55769a['is']('element'))_0x57a586['push'](this['_makeIdsRoot'](_0x55769a));else{for(let _0x3b6908=0x0;_0x3b6908<_0x55769a['offsetSize'];_0x3b6908++)_0x57a586['push'](new ft('$text',{'vid':this['_revisionId']++}));}const _0x536589=this['_revisionId'];for(let _0x16f303=_0x336621;_0x16f303<_0x536589;_0x16f303++)this['_touched']['set'](_0x16f303,{'userId':_0x4bb86d});_0x1ddac6['_insertChild'](_0x82de4d['offset'],_0x57a586);}['_handleMoveOperation'](_0x32a8cc){(_0x32a8cc=this['_cloneOperation'](_0x32a8cc,this['_idsRoots']))['_execute']();const _0x4f1895=null===_0x32a8cc['_authorId']?null:_0x32a8cc['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x10451a=_0x32a8cc['getMovedRangeStart'](),_0x128fce=_0x10451a['parent'],_0x35daae=_0x10451a['offset'];!function _0x64cfce(_0xc714c,_0x1720e8,_0x103537,_0x2ca50d){for(let _0x7cd53d=_0x103537;_0x7cd53d<_0x2ca50d;_0x7cd53d++){const _0x3b6b2d=_0x1720e8['getChild'](_0x7cd53d);_0x3b6b2d['is']('element','$text')?_0xc714c['set'](_0x3b6b2d['getAttribute']('vid'),{'userId':_0x4f1895}):(_0xc714c['set'](_0x3b6b2d['getAttribute']('vid_start'),{'userId':_0x4f1895}),_0x64cfce(_0xc714c,_0x3b6b2d,0x0,_0x3b6b2d['childCount']),_0xc714c['set'](_0x3b6b2d['getAttribute']('vid_end'),{'userId':_0x4f1895}));}}(this['_touched'],_0x128fce,_0x35daae,_0x35daae+_0x32a8cc['howMany']);}['_handleMergeOperation'](_0x49fa98){const _0x3c2604=null===(_0x49fa98=this['_cloneOperation'](_0x49fa98,this['_idsRoots']))['_authorId']?null:_0x49fa98['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x5248e8=_0x49fa98['targetPosition']['parent'],_0x11d8ab=_0x49fa98['sourcePosition']['parent'],_0x131358=_0x5248e8['getAttribute']('vid_end'),_0x247177=_0x11d8ab['getAttribute']('vid_start');_0x5248e8['_setAttribute']('vid_end',_0x11d8ab['getAttribute']('vid_end')),_0x11d8ab['_setAttribute']('vid_end',_0x131358),this['_touched']['set'](_0x247177,{'userId':_0x3c2604}),this['_touched']['set'](_0x131358,{'userId':_0x3c2604}),_0x49fa98['_execute']();}['_handleSplitOperation'](_0x3ad536){const _0x580a1a=null===(_0x3ad536=this['_cloneOperation'](_0x3ad536,this['_idsRoots']))['_authorId']?null:_0x3ad536['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x59713a=_0x3ad536['graveyardPosition'],_0x29a834=_0x3ad536['splitPosition']['parent'];_0x3ad536['_execute']();const _0x102f8c=_0x29a834['getAttribute']('vid_end'),_0x51f445=_0x3ad536['insertionPosition']['nodeAfter'];if(_0x59713a){const _0x17452e=_0x51f445['getAttribute']('vid_end'),_0x11a58d=_0x29a834['getAttribute']('vid_end');_0x29a834['_setAttribute']('vid_end',_0x17452e),_0x51f445['_setAttribute']('vid_end',_0x11a58d),this['_touched']['set'](_0x29a834['getAttribute']('vid_end'),{'userId':_0x580a1a}),this['_touched']['set'](_0x51f445['getAttribute']('vid_start'),{'userId':_0x580a1a});}else{const _0xc9b0a0=this['_revisionId']++,_0x6df2df=this['_revisionId']++;_0x29a834['_setAttribute']('vid_end',_0xc9b0a0),_0x51f445['_setAttribute']('vid_start',_0x6df2df),_0x51f445['_setAttribute']('vid_end',_0x102f8c),this['_touched']['set'](_0xc9b0a0,{'userId':_0x580a1a}),this['_touched']['set'](_0x6df2df,{'userId':_0x580a1a});}}['_handleMarkerOperation'](_0x586249){if(!_0x586249['affectsData'])return;const _0x48fa2e=(_0x586249=this['_cloneOperation'](_0x586249,this['_diffRoots']))['oldRange']?_0x586249['oldRange']['root']:null,_0x18b92b=_0x586249['newRange']?_0x586249['newRange']['root']:null;_0x48fa2e&&this['_markers']['delete'](_0x586249['name']),_0x18b92b&&this['_markers']['set'](_0x586249['name'],_0x586249['newRange']['clone']());const _0x392d27=null===_0x586249['_authorId']?null:_0x586249['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0xa1861a=_0x586249['name'];if(!this['_touchedMarkers']['has'](_0xa1861a))return void this['_touchedMarkers']['set'](_0xa1861a,{'range':_0x586249['oldRange'],'userId':_0x392d27});const _0x2a85d7=this['_touchedMarkers']['get'](_0xa1861a),_0x3f1cda=_0x2a85d7['range'],_0x5e9b56=_0x586249['newRange'];null==_0x3f1cda&&null==_0x5e9b56||_0x3f1cda&&_0x5e9b56&&_0x3f1cda['isEqual'](_0x5e9b56)?this['_touchedMarkers']['delete'](_0x586249['name']):_0x2a85d7['userId']=_0x392d27;}['_handleRootOperation'](_0x21059b,_0x22b92c){this['_diffRoots']['has'](_0x21059b['rootName'])?this['_diffRoots']['get'](_0x21059b['rootName'])['_isAttached']=_0x21059b['isAdd']:(this['_diffRoots']['set'](_0x21059b['rootName'],G(_0x21059b['rootName'],!0x0)),this['_diffRootsAttributes']['set'](_0x21059b['rootName'],{}),_0x22b92c&&this['_idsRoots']['set'](_0x21059b['rootName'],G(_0x21059b['rootName'],!0x0)));const _0x3c73f6=null===_0x21059b['_authorId']?null:_0x21059b['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x1d87c8=this['_touchedRoots']['get'](_0x21059b['rootName']);_0x1d87c8&&_0x1d87c8['userId']===_0x3c73f6?this['_touchedRoots']['delete'](_0x21059b['rootName']):this['_touchedRoots']['set'](_0x21059b['rootName'],{'userId':_0x3c73f6,'isAttached':_0x21059b['isAdd']});}['_handleRootAttributeOperation'](_0x28b2b5){const _0xb782d5=this['_diffRootsAttributes']['get'](_0x28b2b5['root']['rootName']);null===_0x28b2b5['newValue']?delete _0xb782d5[_0x28b2b5['key']]:_0xb782d5[_0x28b2b5['key']]=_0x28b2b5['newValue'];}}function q(_0x363800){const _0x1def9b=G(_0x363800['rootName'],_0x363800['isAttached']());for(const _0x4a550a of _0x363800['getChildren']()){const _0x17750b=_0x4a550a['_clone'](!0x0);_0x1def9b['_appendChild'](_0x17750b);}return _0x1def9b;}function G(_0x5ecacf,_0x2d5468=!0x0){const _0x57f82f=new wt();return _0x57f82f['rootName']=_0x5ecacf,_0x57f82f['_isAttached']=_0x2d5468,_0x57f82f['isAttached']=()=>_0x57f82f['_isAttached'],_0x57f82f;}function L(_0x207a28,_0x27d753,_0x992f1e){const _0x194c1e='elementEnd'==_0x207a28['type']?_0x992f1e['createPositionAt'](_0x207a28['item'],'end'):_0x992f1e['createPositionBefore'](_0x207a28['item']);return _0x992f1e['createPositionFromPath'](_0x27d753,_0x194c1e['path'],_0x194c1e['stickiness']);}function W(_0x119aca,_0x9b1275,_0x444b22){const _0xb05195='elementStart'==_0x119aca['type']?_0x444b22['createPositionAt'](_0x119aca['item'],0x0):_0x444b22['createPositionAfter'](_0x119aca['item']);return _0x444b22['createPositionFromPath'](_0x9b1275,_0xb05195['path'],_0xb05195['stickiness']);}class ns extends _0xdfc4bb{['focusTracker'];['keystrokes'];['revisionNameInputView'];constructor(_0x4a036b,_0xe1ee70){super(_0x4a036b),this['focusTracker']=new _0x4b2374(),this['keystrokes']=new _0x613410(),this['set']('revisionNameInputValue',''),this['revisionNameInputView']=this['_createRevisionNameInput'](_0xe1ee70),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'](),_0x3ac641({'view':this}),this['focusTracker']['add'](this['revisionNameInputView']['element']),this['keystrokes']['listenTo'](this['element']);const _0x3fcf21=_0x4a314c=>_0x4a314c['stopPropagation']();this['keystrokes']['set']('arrowright',_0x3fcf21),this['keystrokes']['set']('arrowleft',_0x3fcf21),this['keystrokes']['set']('arrowup',_0x3fcf21),this['keystrokes']['set']('arrowdown',_0x3fcf21);}['focus'](){this['revisionNameInputView']['focus']();}get['revisionName'](){return this['revisionNameInputView']['fieldView']['element']['value']['trim']();}set['revisionName'](_0xd1c65b){this['revisionNameInputView']['fieldView']['element']['value']=_0xd1c65b['trim']();}['reset'](){this['revisionNameInputView']['fieldView']['element']['value']='',this['revisionNameInputView']['errorText']=null;}['_createRevisionNameInput'](_0x61cd0a){const _0xf51e37=new at(this['locale'],_0x5c139f),_0x193fee=_0xf51e37['fieldView'];_0x193fee['extendTemplate']({'attributes':{'maxlength':'220'}});let _0x18359f=y(this['locale'],'Name\x20of\x20the\x20revision');return!_0x61cd0a&&(_0x18359f+='\x20('+y(this['locale'],'optional')+')'),(_0xf51e37['label']=_0x18359f,_0x193fee['on']('input',()=>{this['revisionNameInputValue']=_0x193fee['element']['value']['trim']();}),_0xf51e37);}}class u extends _0x2453cb{static get['pluginName'](){return'RevisionHistoryUI';}static get['requires'](){return[l];}['_saveRevisionFormView'];['init'](){const _0x424980=this['editor'],_0x233e79=_0x424980['plugins']['get']('RevisionTracker');_0x424980['ui']['componentFactory']['add']('revisionHistory',_0x4abdad=>{const _0x48b934=_0xeca3c(_0x4abdad),_0x357cf5=_0x48b934['panelView']['children'],_0x54a6cc=new te(_0x4abdad),_0x5d8d22=new _0x1bdb66(_0x4abdad),_0x564421=new _0x22cf05(_0x4abdad),_0x3e8bed=new _0x1bdb66(_0x4abdad),_0x1671dd=new _0x22cf05(_0x4abdad);return _0x48b934['bind']('isEnabled')['to'](_0x233e79,'isReady',_0x233e79,'isEnabled',_0x424980,'isReadOnly',(_0x35153f,_0x4cd424,_0x168239)=>_0x35153f&&_0x4cd424&&!_0x168239),_0x48b934['buttonView']['set']({'icon':_0xd33e26['history'],'label':y(_0x4abdad,'Revision\x20history'),'tooltip':!0x0}),_0x564421['set']({'label':y(_0x4abdad,'Save\x20current\x20revision'),'withText':!0x0,'role':'menuitem'}),_0x564421['bind']('isEnabled')['to'](_0x233e79,'isReady',_0x233e79,'isEnabled',_0x424980,'isReadOnly',(_0x191f37,_0xfe4788,_0x3823de)=>_0x191f37&&_0xfe4788&&!_0x3823de),_0x564421['on']('execute',()=>this['_showDialog']()),_0x1671dd['set']({'label':y(_0x4abdad,'Open\x20revision\x20history'),'withText':!0x0,'role':'menuitem'}),_0x1671dd['bind']('isEnabled')['to'](_0x233e79,'isReady',_0x424980,'isReadOnly',(_0x5a76c7,_0x5a1a81)=>_0x5a76c7&&!_0x5a1a81),_0x1671dd['on']('execute',()=>{_0x424980['config']['get']('revisionHistory')['showRevisionViewerCallback'](),_0x48b934['isOpen']=!0x1,_0x424980['editing']['view']['focus']();}),_0x5d8d22['children']['add'](_0x564421),_0x3e8bed['children']['add'](_0x1671dd),_0x54a6cc['role']='menu',_0x54a6cc['items']['addMany']([_0x5d8d22,_0x3e8bed]),_0x357cf5['add'](_0x54a6cc),_0x48b934;}),_0x424980['ui']['componentFactory']['add']('menuBar:revisionHistory',()=>this['_registerMenuComponent']());}['_registerMenuComponent'](){const _0x45dc73=this['editor'],_0x11fbc4=_0x45dc73['locale'],_0xb9e490=new _0x191dde(_0x11fbc4),_0x5e010a=new _0x563f30(_0x11fbc4);_0xb9e490['buttonView']['set']({'icon':_0xd33e26['history'],'label':y(_0x11fbc4,'Revision\x20history')});const _0x3a32d3=new _0x59ac01(_0x11fbc4,_0xb9e490),_0x523fe6=new _0x54b4c9(_0x11fbc4);_0x523fe6['set']({'label':y(_0x11fbc4,'Save\x20current\x20revision')}),_0x523fe6['delegate']('execute')['to'](_0xb9e490),_0x523fe6['on']('execute',()=>{this['_showDialog']();}),_0x3a32d3['children']['add'](_0x523fe6),_0x5e010a['items']['add'](_0x3a32d3);const _0x4adf2f=new _0x59ac01(_0x11fbc4,_0xb9e490),_0x1dfb2b=new _0x54b4c9(_0x11fbc4);return _0x1dfb2b['set']({'label':y(_0x11fbc4,'Open\x20revision\x20history')}),_0x1dfb2b['delegate']('execute')['to'](_0xb9e490),_0x1dfb2b['on']('execute',()=>{_0x45dc73['config']['get']('revisionHistory')['showRevisionViewerCallback']();}),_0x4adf2f['children']['add'](_0x1dfb2b),_0x5e010a['items']['add'](_0x4adf2f),_0xb9e490['panelView']['children']['add'](_0x5e010a),_0xb9e490;}['_showDialog'](){const _0x1268a8=this['editor'],_0x47341a=_0x1268a8['locale'],_0x143d8c=_0x1268a8['plugins']['get']('Dialog'),_0x4c2817=_0x1268a8['plugins']['get']('RevisionTracker');function _0x200b8f(_0x24d98d){_0x1268a8['config']['get']('revisionHistory.requireRevisionName')&&''===_0x24d98d['revisionName']?_0x24d98d['revisionNameInputView']['errorText']=y(_0x47341a,'The\x20revision\x20name\x20cannot\x20be\x20empty.'):(_0x1268a8['plugins']['get'](l)['saveRevision']({'name':_0x24d98d['revisionName']}),_0x143d8c['hide']());}this['_saveRevisionFormView']||(this['_createSaveRevisionFormView'](),this['_saveRevisionFormView']['on']('submit',()=>_0x200b8f(this['_saveRevisionFormView']))),this['_saveRevisionFormView']['reset'](),_0x143d8c['show']({'id':'revisionSave','title':y(_0x47341a,'Save\x20current\x20revision'),'isModal':!0x0,'content':this['_saveRevisionFormView'],'actionButtons':[{'label':y(_0x1268a8['locale'],'Cancel'),'withText':!0x0,'onExecute':()=>_0x143d8c['hide']()},{'label':y(_0x1268a8['locale'],'Accept'),'class':'ck-button-action','withText':!0x0,'onCreate'(_0xfec8fa){_0xfec8fa['bind']('isEnabled')['to'](_0x4c2817,'isReady',_0x4c2817,'isEnabled',_0x1268a8,'isReadOnly',(_0x4f1bca,_0xdc1de4,_0x3a55da)=>_0x4f1bca&&_0xdc1de4&&!_0x3a55da);},'onExecute':()=>_0x200b8f(this['_saveRevisionFormView'])}]});}['_createSaveRevisionFormView'](){const _0x140f94=this['editor'],_0x463693=_0x140f94['locale'];this['_saveRevisionFormView']=new ns(_0x463693,_0x140f94['config']['get']('revisionHistory.requireRevisionName')),this['_saveRevisionFormView']['render']();}}class Z extends _0xdfc4bb{['changeId'];['_model'];constructor(_0x4c69ce,_0x599d8d){super(_0x4c69ce),this['_model']=_0x599d8d,this['changeId']=_0x599d8d['id'];const _0x12d116=this['bindTemplate'],_0x117ee4=y(_0x4c69ce,_0x599d8d['data']['isSuggestion']?'Suggested\x20by':'add'==_0x599d8d['type']?'Added\x20by':'Removed\x20by');this['set']('type',_0x599d8d['type']),this['setTemplate']({'tag':'div','attributes':{'class':['ck-annotation','ck-revision-change',_0x12d116['to']('type',_0x41d5d3=>'ck-revision-change__'+_0x41d5d3)],'tabindex':-0x1},'children':[{'tag':'span','children':[{'tag':'span','attributes':{'class':['ck-revision-change__label']},'children':[{'text':_0x117ee4}]},{'text':'\x20'+_0x599d8d['author']['name']}]}]});}['focus'](){this['element']['focus']();}}class r extends/* #__PURE__ -- @preserve */
|
|
25
|
-
_0x54b2cb(){['id'];['author'];['type'];['data'];['rootName'];constructor(_0x354d94){super(),this['id']=_0x354d94['id']||_0x26cc9f(),this['author']=_0x354d94['author'],this['type']=_0x354d94['type'],this['data']=_0x354d94['data']||{},this['rootName']=_0x354d94['rootName'],this['set']('createdAt',_0x354d94['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(_0x176744,_0x59c1b0){this['newRevisionId']=_0x176744,this['oldRevisionId']=_0x59c1b0,this['changes']=new _0x3098b8();}['_setChanges'](_0x5d228b){for(const _0x2ed009 of _0x5d228b)this['changes']['add'](_0x2ed009);}}const tt={'c':_0x4f5b35,'a':_0x1b3662,'e':_0x2a2248,'r':_0x3b4ac8,'u':_0x169628};class d extends _0x2453cb{['repository'];['adapter'];['_activeViewTarget'];['_changeView'];['_changeIdToChange'];['_balloon'];static get['pluginName'](){return'RevisionViewer';}static get['requires'](){return[_0x3ea14a,_0x310ff2,A];}constructor(_0x40b2fd){super(_0x40b2fd),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',(_0x2beccf,_0x227fc6,_0x26b705)=>{this['activeChange']=null,this['activeView']=null,this['editor']['editing']['view']['change'](_0x4cd0bc=>{for(const _0x13f87b of this['editor']['editing']['view']['document']['roots'])_0x26b705?_0x4cd0bc['removeClass']('ck-editor__editable__overlay',_0x13f87b):_0x4cd0bc['addClass']('ck-editor__editable__overlay',_0x13f87b);});}),this['bind']('isNavigationMode')['to'](this,'activeChange',_0x6c5cd2=>null!==_0x6c5cd2),this['bind']('currentChangeNumber')['to'](this,'isReady',this,'diff',this,'activeChange',(_0x2b9cea,_0x229c93,_0x3100a6)=>_0x2b9cea&&_0x3100a6?_0x229c93['changes']['getIndex'](_0x3100a6):0x0),this['bind']('numberOfChanges')['to'](this,'isReady',this,'diff',(_0x2c7fcf,_0x338e3d)=>_0x2c7fcf?_0x338e3d['changes']['length']:0x0),this['_changeView']=null,this['_changeIdToChange']=new Map(),this['adapter']=null,this['_balloon']=this['editor']['plugins']['get'](_0x310ff2);}['init'](){const _0xaf5754=this['editor'],_0x320abc=new yt(_0xaf5754,{'direction':'backward'}),_0x102ff8=new yt(_0xaf5754,{'direction':'forward'});(_0xaf5754['commands']['add']('showPreviousChange',_0x320abc),_0xaf5754['commands']['add']('showNextChange',_0x102ff8),_0xaf5754['commands']['add']('restoreRevision',new bt(_0xaf5754)),this['on']('change:numberOfChanges',()=>{_0x320abc['refresh'](),_0x102ff8['refresh']();}),this['_setConversion'](),this['_initInteractions'](),_0xaf5754['enableReadOnlyMode']('revision-viewer'),_0xaf5754['plugins']['has']('WidgetToolbarRepository'))&&_0xaf5754['plugins']['get']('WidgetToolbarRepository')['forceDisabled']('revision-viewer');}async['getRevisionData'](_0x88c856){await this['loadRevisionData'](_0x88c856);const _0x23f928={};for(const _0x267e2d in _0x88c856['diffData']){if(_0x88c856['diffData'][_0x267e2d]['attachChange']&&!_0x88c856['diffData'][_0x267e2d]['attachChange']['isAttached'])continue;const _0x1c484a=this['_removeRevisionMarkers'](JSON['parse'](_0x88c856['diffData'][_0x267e2d]['insertions'])),_0x827478=this['editor']['editing']['view']['document'],_0x4a4b2b=new _0x3559dc(_0x827478,_0x1c484a['map'](_0x586e71=>this['_getViewObj'](_0x586e71)));this['editor']['data']['processor']['useFillerType']('marked'),_0x23f928[_0x267e2d]=this['editor']['data']['processor']['toData'](_0x4a4b2b),this['editor']['data']['processor']['useFillerType']('default');}return _0x23f928;}async['getRevisionRootsAttributes'](_0x23f8c5){await this['loadRevisionData'](_0x23f8c5);const _0x3a4433={};for(const _0x2771d7 in _0x23f8c5['diffData'])_0x23f8c5['diffData'][_0x2771d7]['attachChange']&&!_0x23f8c5['diffData'][_0x2771d7]['attachChange']['isAttached']||(_0x3a4433[_0x2771d7]=_0x23f8c5['diffData'][_0x2771d7]['attributesAfter']||{});return _0x3a4433;}['_removeRevisionMarkers'](_0x12fcf8){return(_0x12fcf8=_0x12fcf8['filter'](_0x298e6b=>!_0x298e6b['name']||'revision-start'!==_0x298e6b['name']&&'revision-end'!==_0x298e6b['name']))['forEach'](_0x35ffb7=>{'string'!=typeof _0x35ffb7&&(_0x35ffb7['children']=this['_removeRevisionMarkers'](_0x35ffb7['children']),_0x35ffb7['attributes']=_0x35ffb7['attributes']['filter'](_0x3133c7=>!_0x3133c7[0x0]['startsWith']('data-revision-')));}),_0x12fcf8;}async['compare'](_0x1da37e,_0x5f29c5,_0x498811=!0x1){if(!this['isEnabled'])return;const _0x18fb4d=this['diff'],_0x386c45=this['repository'],_0x21f988='string'==typeof _0x1da37e?_0x386c45['getRevision'](_0x1da37e):_0x1da37e,_0x2c463e='string'==typeof _0x5f29c5?_0x386c45['getRevision'](_0x5f29c5):_0x5f29c5,_0x50ab14=_0x21f988['id'],_0x3f8675=_0x2c463e?_0x2c463e['id']:null;if(!_0x498811&&this['diff']&&this['diff']['newRevisionId']===_0x50ab14&&this['diff']['oldRevisionId']===_0x3f8675)return Promise['resolve']();this['isReady']=!0x1,this['activeView']=null,this['activeChange']=null,this['diff']=new f(_0x50ab14,_0x3f8675);const _0x513a34=this['_getRevisionsRange'](_0x21f988,_0x2c463e,!0x0)['map'](_0x5a204f=>this['loadRevisionData'](_0x5a204f));return _0x513a34['push'](new Promise(_0x4db70f=>{setTimeout(_0x4db70f,0x14);})),Promise['all'](_0x513a34)['then'](()=>{if(!this['isEnabled'])return;this['_cleanUp']();const _0x578fe3=this['_getDiff'](_0x50ab14,_0x3f8675);for(const _0x3719b5 of _0x578fe3['changes'])this['_changeIdToChange']['set'](_0x3719b5['id'],_0x3719b5);this['editor']['model']['enqueueChange']({'isUndoable':!0x1},_0x3032e8=>{for(const _0x28f0cc of this['editor']['model']['document']['getRootNames']())_0x3032e8['detachRoot'](_0x28f0cc);for(const _0x65fcee of Object['keys'](_0x578fe3['model'])){const _0x5edced=_0x3032e8['addRoot'](_0x65fcee);for(const _0x2fb55a of Object['keys'](_0x578fe3['attributes'][_0x65fcee]))_0x3032e8['setAttribute'](_0x2fb55a,_0x578fe3['attributes'][_0x65fcee][_0x2fb55a],_0x5edced);_0x3032e8['insert'](_0x578fe3['model'][_0x65fcee],_0x5edced,0x0);}}),this['diff']['_setChanges'](this['_sortAndFilterDiffChanges'](_0x578fe3['changes'])),this['isReady']=!0x0;})['catch'](_0x41be5b=>{console['error'](_0x41be5b),this['_cleanUp'](),_0x18fb4d&&(this['diff']=_0x18fb4d),this['isReady']=!0x0;});}['addRevisionData'](_0x5bae80,_0x5a38ec){const _0x195365=this['repository']['createRevision'](_0x5bae80);return _0x195365['on']('_update',(_0x1b1e7f,_0x613336,_0x10924b)=>_0x5a38ec(_0x613336,_0x10924b,_0x195365)),this['repository']['addRevision'](_0x195365),_0x195365;}['loadRevisionData'](_0x167360){if(!_0x167360||_0x167360['diffData'])return Promise['resolve']();{const _0x5afb62=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0x5afb62,'revisionId':_0x167360['id']})['then'](_0x24596b=>{_0x167360['_update']({'diffData':_0x24596b['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},_0x510e91=>{for(const _0x1e733e of this['editor']['model']['document']['getRootNames']())_0x510e91['detachRoot'](_0x1e733e);});}['_sortAndFilterDiffChanges'](_0x2bdc76){const _0x2150d2=[],_0x327b54=new Map();for(const _0x2f442d of this['editor']['model']['document']['getRootNames']()){const _0x57cf0e=this['editor']['editing']['view']['getDomRoot'](_0x2f442d);if(!_0x57cf0e)continue;const _0x4fe30a=_0x57cf0e['getClientRects']()['item'](0x0);_0x4fe30a&&(_0x2150d2['push'](_0x2f442d),_0x327b54['set'](_0x2f442d,_0x4fe30a));}return _0x2150d2['sort']((_0xdc14ef,_0x1c17eb)=>{const _0x5c4df3=_0x327b54['get'](_0xdc14ef),_0x585b08=_0x327b54['get'](_0x1c17eb);return _0x5c4df3['y']-_0x585b08['y']||_0x5c4df3['x']-_0x585b08['x'];}),(_0x2bdc76=_0x2bdc76['filter'](_0x317a22=>_0x2150d2['includes'](_0x317a22['rootName'])))['sort']((_0x5cc26a,_0x45aa8f)=>_0x2150d2['indexOf'](_0x5cc26a['rootName'])-_0x2150d2['indexOf'](_0x45aa8f['rootName'])),_0x2bdc76;}['_makeTape'](_0x2d8677){const _0xfd47a6=Array['from'](_0x2d8677['markers'])['filter'](([_0x3ff934,_0x761487])=>_0x3ff934['startsWith']('revision:')&&!_0x761487['isCollapsed']),_0x2159a6=Array['from'](this['editor']['model']['createRangeIn'](_0x2d8677)['getWalker']({'singleCharacters':!0x0}));if(0x0!=_0xfd47a6['length'])for(const _0x4c9423 of _0x2159a6){const [_0x53e548,_0x27122d]=_0xfd47a6[0x0],[,_0x11c2d2,_0xc870e1]=_0x53e548['split'](':');if(_0x27122d['end']['isEqual'](_0x4c9423['nextPosition'])&&_0xfd47a6['shift'](),(_0x4c9423['previousPosition']['isEqual'](_0x27122d['start'])||_0x4c9423['previousPosition']['isAfter'](_0x27122d['start']))&&('insertion'==_0x11c2d2?_0x4c9423['isAdded']={'userId':_0xc870e1}:'deletion'==_0x11c2d2&&(_0x4c9423['isRemoved']={'userId':_0xc870e1})),0x0==_0xfd47a6['length'])break;}return _0x2159a6;}['_refreshStartEndIndex'](_0x55428b){const _0xca0b1b=new Map();for(let _0x1149c0=0x0;_0x1149c0<_0x55428b['length'];_0x1149c0++)'text'===_0x55428b[_0x1149c0]['type']?(_0x55428b[_0x1149c0]['item']['startIndex']=_0x1149c0,_0x55428b[_0x1149c0]['item']['endIndex']=_0x1149c0):('elementStart'===_0x55428b[_0x1149c0]['type']?_0x55428b[_0x1149c0]['item']['startIndex']=_0x1149c0:'elementEnd'===_0x55428b[_0x1149c0]['type']&&(_0x55428b[_0x1149c0]['item']['endIndex']=_0x1149c0),_0xca0b1b['set'](_0x55428b[_0x1149c0]['id'],_0x1149c0));for(const _0x14568e of _0xca0b1b['values']())'elementStart'===_0x55428b[_0x14568e]['type']?_0x55428b[_0x14568e]['item']['endIndex']=_0xca0b1b['get'](_0x55428b[_0x14568e]['pairId']):'elementEnd'===_0x55428b[_0x14568e]['type']&&(_0x55428b[_0x14568e]['item']['startIndex']=_0xca0b1b['get'](_0x55428b[_0x14568e]['pairId']));}['_processTape'](_0x14f529){for(let _0x44c12c=0x0;_0x44c12c<_0x14f529['length'];_0x44c12c++){if('elementStart'===_0x14f529[_0x44c12c]['type'])_0x14f529[_0x44c12c]['item']['startIndex']=_0x44c12c;else{if('elementEnd'===_0x14f529[_0x44c12c]['type']){_0x14f529[_0x44c12c]['item']['endIndex']=_0x44c12c;const _0x3478ce=_0x14f529[_0x44c12c]['item']['startIndex'];_0x14f529[_0x3478ce]['pairId']=_0x14f529[_0x44c12c]['id'],_0x14f529[_0x44c12c]['pairId']=_0x14f529[_0x3478ce]['id'];}else _0x14f529[_0x44c12c]['item']['startIndex']=_0x44c12c,_0x14f529[_0x44c12c]['item']['endIndex']=_0x44c12c,_0x14f529[_0x44c12c]['pairId']=null;}_0x14f529[_0x44c12c]['markersStart']||(_0x14f529[_0x44c12c]['markersStart']=[],_0x14f529[_0x44c12c]['markersEnd']=[]);}}['_markInsertions'](_0x79c776,_0x2b636c){const _0x373edd=_0x79c776['filter'](_0x360b51=>!_0x360b51['isAdded']);for(let _0x332fec=0x0;_0x332fec<_0x2b636c['length'];_0x332fec++)_0x2b636c[_0x332fec]['isAdded']&&(_0x373edd[_0x332fec]['isAdded']=_0x2b636c[_0x332fec]['isAdded']);}['_makeModelFromViewString'](_0x53cf02){const _0x22b5be=JSON['parse'](_0x53cf02),_0x37a8cd=this['editor']['editing']['view']['document'],_0x4c9ca1=new _0x3559dc(_0x37a8cd,_0x22b5be['map'](_0x4b3c10=>this['_getViewObj'](_0x4b3c10)));return this['editor']['data']['toModel'](_0x4c9ca1);}['_getViewObj'](_0x1e1899){const _0x1f87c6=this['editor']['editing']['view']['document'];if('string'==typeof _0x1e1899)return new _0x14cf61(_0x1f87c6,_0x1e1899);{const _0x1bff86=_0x1e1899['children']['map'](_0x1204cf=>this['_getViewObj'](_0x1204cf));return new(tt[_0x1e1899['type']]||_0xbb932f)(_0x1f87c6,_0x1e1899['name'],_0x1e1899['attributes'],_0x1bff86);}}['_getDiff'](_0x496113,_0x5a52b2=null){const _0x4e21db=this['repository']['getRevision'](_0x496113),_0x1c9d9f=_0x5a52b2?this['repository']['getRevision'](_0x5a52b2):null,_0x58d0a2=this['_getRevisionsRange'](_0x4e21db,_0x1c9d9f),_0x3e30e4=_0x58d0a2[_0x58d0a2['length']-0x1],_0x2ae9e0=new Map(),_0x530d51={'model':{},'attributes':{},'changes':[]},_0x2ee2ad=new Set(),_0x12d51b=new Map();for(let _0x550091=_0x58d0a2['length']-0x1;_0x550091>=0x0;_0x550091--){const _0x32f887=_0x58d0a2[_0x550091];for(const _0xb7692e of Object['keys'](_0x32f887['diffData']))if(_0x32f887['diffData'][_0xb7692e]['attachChange']){const _0x22abcd=_0x32f887['diffData'][_0xb7692e]['attachChange'];_0x22abcd['isAttached']?(_0x2ee2ad['add'](_0xb7692e),_0x12d51b['has'](_0xb7692e)&&_0x12d51b['get'](_0xb7692e)['userId']==_0x22abcd['userId']?_0x12d51b['delete'](_0xb7692e):_0x12d51b['set'](_0xb7692e,_0x22abcd)):_0x12d51b['has'](_0xb7692e)?(_0x2ee2ad['delete'](_0xb7692e),_0x12d51b['delete'](_0xb7692e)):(_0x2ee2ad['add'](_0xb7692e),_0x12d51b['set'](_0xb7692e,_0x22abcd));}else _0x2ee2ad['add'](_0xb7692e);}for(const _0x526e2e of _0x2ee2ad){const _0x349cf7=_0x12d51b['has'](_0x526e2e)&&!_0x12d51b['get'](_0x526e2e)['isAttached'];let _0x3c2c5f=_0x349cf7?_0x58d0a2['length']-0x1:0x0;const _0x7b8aa=_0x349cf7?-0x1:0x1;for(;_0x58d0a2[_0x3c2c5f];){const _0x33f80f=_0x58d0a2[_0x3c2c5f];if(_0x33f80f['diffData'][_0x526e2e]){const _0x51c182=_0x349cf7?_0x33f80f['diffData'][_0x526e2e]['attributesBefore']:_0x33f80f['diffData'][_0x526e2e]['attributesAfter'];_0x530d51['attributes'][_0x526e2e]=_0x51c182?_0x43cdf1(_0x51c182):{};break;}_0x3c2c5f+=_0x7b8aa;}}for(const _0x5d48da of _0x58d0a2){_0x5d48da['model']={};for(const _0x59dd38 of _0x5d48da['authors'])_0x2ae9e0['set'](_0x59dd38['id'],_0x59dd38);for(const _0x7e8555 of _0x2ee2ad){const _0x13e97e=_0x5d48da['diffData'][_0x7e8555]?_0x5d48da['diffData'][_0x7e8555]['insertions']:'[]',_0x5c71d2=_0x5d48da['diffData'][_0x7e8555]?_0x5d48da['diffData'][_0x7e8555]['deletions']:'[]';_0x5d48da['model'][_0x7e8555]={'insertions':this['_makeModelFromViewString'](_0x13e97e),'deletions':this['_makeModelFromViewString'](_0x5c71d2)};}}for(const _0x59637e of _0x2ee2ad){let _0x27b070=null,_0x248251=0x0;const _0x4d71f3=new Map(Array['from'](_0x4e21db['model'][_0x59637e]['insertions']['markers'])['filter'](([_0x510441])=>!_0x510441['startsWith']('revision:')));let _0x1a87e2=0x0;for(const _0x2b1b25 of _0x58d0a2){const _0x533297=this['_makeTape'](_0x2b1b25['model'][_0x59637e]['insertions']);_0x2b1b25==_0x4e21db?(_0x27b070=_0x533297,_0x248251=_0x27b070['length'],_0x27b070['forEach'](_0x4affe5=>{_0x4affe5['id']=_0x1a87e2++;}),this['_processTape'](_0x27b070)):this['_markInsertions'](_0x27b070,_0x533297);const _0x49b914=_0x27b070['filter'](_0x2f4782=>!_0x2f4782['isAdded'])['map'](_0x30ba5e=>_0x30ba5e['id']);let _0x6b96c=0x0;const _0x34dbef=this['_makeTape'](_0x2b1b25['model'][_0x59637e]['deletions']);_0x34dbef['forEach'](_0x4f6536=>{_0x4f6536['isRemoved']?_0x4f6536['id']=_0x248251++:_0x4f6536['id']=_0x49b914[_0x6b96c++];}),this['_processTape'](_0x34dbef),this['_setDistance'](_0x27b070,'isAdded'),this['_setDistance'](_0x34dbef,'isRemoved'),_0x2b1b25==_0x4e21db&&this['_markMarkers'](_0x27b070,_0x4d71f3),_0x27b070=this['_joinTapes'](_0x27b070,_0x34dbef),this['_refreshStartEndIndex'](_0x27b070),this['_setDistance'](_0x27b070,'isRemoved');}_0x27b070=_0x27b070['filter'](_0x48316f=>!(_0x48316f['isAdded']&&_0x48316f['isRemoved']));const _0x53300a=new Map(_0x3e30e4['model'][_0x59637e]['deletions']['markers']),_0x1371a5=new Set(_0x4d71f3['keys']());for(const _0x17afe2 of _0x53300a['keys']())_0x1371a5['delete'](_0x17afe2);this['_markSuggestions'](_0x27b070,_0x1371a5),this['_fixObsoleteTags'](_0x27b070),_0x27b070=this['_removeMissingPairs'](_0x27b070),_0x27b070=this['_markMismatchedRemovedTags'](_0x27b070),_0x27b070=this['_removeUnsupportedChanges'](_0x27b070);const {root:_0x45b409,changes:_0x23e552}=this['_makeModelFromTape'](_0x27b070,_0x2ae9e0,_0x59637e);_0x530d51['model'][_0x59637e]=_0x45b409;const _0x52301d=_0x12d51b['get'](_0x59637e);if(_0x52301d){const _0x13d063=_0x2ae9e0['get'](_0x52301d['userId']),_0x3ee9cb=new r({'author':_0x13d063,'type':_0x52301d['isAttached']?'add':'remove','data':{'isOnRoot':!0x0},'createdAt':new Date(),'rootName':_0x59637e});_0x23e552['unshift'](_0x3ee9cb),_0x530d51['attributes'][_0x59637e]['revisionHistoryAttachChange']=_0x3ee9cb['id'];}_0x530d51['changes']=_0x530d51['changes']['concat'](_0x23e552);}return _0x530d51;}['_markMarkers'](_0x1944ac,_0x33c9d7){for(let _0x2d2886=0x0;_0x2d2886<_0x1944ac['length'];_0x2d2886++)for(const [_0x1c6b3a,_0xd72df5]of _0x33c9d7)_0xd72df5['start']['isEqual'](_0x1944ac[_0x2d2886]['previousPosition'])&&_0x1944ac[_0x2d2886]['markersStart']['push'](_0x1c6b3a),_0xd72df5['end']['isEqual'](_0x1944ac[_0x2d2886]['nextPosition'])&&_0x1944ac[_0x2d2886]['markersEnd']['push'](_0x1c6b3a);}['_joinTapes'](_0x35f96a,_0x262a37){let _0x812f69=[],_0x5593e7=0x0,_0x1ec3c7=0x0;for(;_0x5593e7<_0x35f96a['length']||_0x1ec3c7<_0x262a37['length'];){const _0x34d24d=_0x35f96a[_0x5593e7]||{},_0x5a3fc4=_0x262a37[_0x1ec3c7]||{};if(_0x34d24d['id']==_0x5a3fc4['id'])_0x5593e7++,_0x1ec3c7++,_0x812f69['push'](_0x34d24d);else{if(_0x5a3fc4['isRemoved']&&_0x34d24d['isAdded']){const {commonTape:_0xf57fa6,iEnd:_0x56e831,jEnd:_0x33ebaa}=this['_threeWayMerge'](_0x35f96a,_0x5593e7,_0x262a37,_0x1ec3c7);_0x812f69=_0x812f69['concat'](_0xf57fa6),_0x5593e7=_0x56e831,_0x1ec3c7=_0x33ebaa;}else _0x5a3fc4['isRemoved']?(_0x1ec3c7++,_0x812f69['push'](_0x5a3fc4)):(_0x5593e7++,_0x812f69['push'](_0x34d24d));}}return _0x812f69;}['_markSuggestions'](_0x4b6f9a,_0x370308){const _0x25ecc0=[];for(let _0x59c17b=0x0;_0x59c17b<_0x4b6f9a['length'];_0x59c17b++){for(let _0x4f17df=0x0;_0x4f17df<_0x4b6f9a[_0x59c17b]['markersStart']['length'];_0x4f17df++){const _0x4d3bf9=_0x4b6f9a[_0x59c17b]['markersStart'][_0x4f17df];if(!_0x370308['has'](_0x4d3bf9))continue;const {group:_0x3c1116,type:_0x1011dd,authorId:_0x4f93ec}=_0x13fb2a(_0x4d3bf9);'revision-suggestion'!=_0x3c1116||'insertion'!=_0x1011dd&&'deletion'!=_0x1011dd||(_0x25ecc0['unshift']({'type':_0x1011dd,'name':_0x4d3bf9,'userId':_0x4f93ec}),_0x4b6f9a[_0x59c17b]['markersStart']['splice'](_0x4f17df,0x1),_0x4f17df--);}_0x44f62c(_0x4b6f9a[_0x59c17b]);for(let _0x430604=0x0;_0x430604<_0x4b6f9a[_0x59c17b]['markersEnd']['length'];_0x430604++){const _0x3c1281=_0x4b6f9a[_0x59c17b]['markersEnd'][_0x430604];if(!_0x370308['has'](_0x3c1281))continue;const {group:_0x140af0,type:_0xbcd522}=_0x13fb2a(_0x3c1281);if('revision-suggestion'!=_0x140af0||'insertion'!=_0xbcd522&&'deletion'!=_0xbcd522)continue;_0x4b6f9a[_0x59c17b]['markersEnd']['splice'](_0x430604,0x1),_0x430604--;const _0x57554b=_0x25ecc0['findIndex'](_0x15cbd0=>_0x15cbd0['name']==_0x3c1281);_0x57554b>-0x1&&_0x25ecc0['splice'](_0x57554b,0x1);}}function _0x13fb2a(_0x43a023){const _0x52bbaa=_0x43a023['split'](':');return{'group':_0x52bbaa[0x0],'type':_0x52bbaa[0x1],'subType':_0x52bbaa['length']>=0x5?_0x52bbaa[0x2]:null,'id':_0x52bbaa['length']<0x5?_0x52bbaa[0x2]:_0x52bbaa[0x3],'authorId':_0x52bbaa['length']<0x5?_0x52bbaa[0x3]:_0x52bbaa[0x4],'markerCount':0x6==_0x52bbaa['length']?_0x52bbaa[0x5]:null};}function _0x44f62c(_0xc5565c){for(let _0x219a9e=0x0;_0x219a9e<_0x25ecc0['length'];_0x219a9e++){if(_0xc5565c['isAdded']&&'insertion'==_0x25ecc0[_0x219a9e]['type'])return _0xc5565c['isAddSuggestion']=_0x25ecc0[_0x219a9e],void delete _0xc5565c['isAdded'];if(!_0xc5565c['isAdded']&&!_0xc5565c['isRemoved']&&'deletion'==_0x25ecc0[_0x219a9e]['type'])return void(_0xc5565c['isRemoveSuggestion']=_0x25ecc0[_0x219a9e]);}}}['_setDistance'](_0x5dd40c,_0x8f147b){let _0x45a7db=0x0,_0xf50b6c=!0x1;const _0x521064=new Map();for(const _0x133bcb of _0x5dd40c)_0x133bcb[_0x8f147b]?_0xf50b6c&&(_0x45a7db++,_0xf50b6c=!0x1):(_0x45a7db++,_0xf50b6c=!0x0),_0x521064['set'](_0x133bcb['id'],_0x45a7db);for(let _0x4bbf67=0x0;_0x4bbf67<_0x5dd40c['length'];_0x4bbf67++){if('isRemoved'==_0x8f147b&&_0x5dd40c[_0x4bbf67]['isAdded']||'isAdded'==_0x8f147b&&_0x5dd40c[_0x4bbf67]['isRemoved'])continue;if('text'==_0x5dd40c[_0x4bbf67]['type']){_0x5dd40c[_0x4bbf67]['distance']=0x0;continue;}const _0x462646=_0x521064['get'](_0x5dd40c[_0x4bbf67]['pairId']),_0x197380=_0x521064['get'](_0x5dd40c[_0x4bbf67]['id']);_0x5dd40c[_0x4bbf67]['distance']=_0x462646-_0x197380;}}['_getRevisionsRange'](_0x3811da,_0x21d6be,_0x2e856a=!0x1){const _0x29ed81=[];let _0x661174=this['repository']['getIndex'](_0x3811da),_0x35f5fd=this['repository']['getIndex'](_0x21d6be);for(-0x1==_0x35f5fd&&(_0x35f5fd=this['repository']['_revisions']['length'],_0x2e856a=!0x1);_0x661174<_0x35f5fd;)_0x29ed81['push'](this['repository']['getRevision'](_0x661174)),_0x661174++;return _0x2e856a&&_0x29ed81['push'](this['repository']['getRevision'](_0x661174)),_0x29ed81;}['_threeWayMerge'](_0x34f7da,_0x4202b5,_0x49aeba,_0x4cbc9d){const _0x4742dd=this['editor']['model']['schema'];let _0x487c53=_0x4202b5;for(;_0x34f7da[_0x487c53]&&_0x34f7da[_0x487c53]['isAdded'];)_0x487c53++;let _0x2e101c=_0x4cbc9d;for(;_0x49aeba[_0x2e101c]&&_0x49aeba[_0x2e101c]['isRemoved'];)_0x2e101c++;_0x5dc4bd(_0x34f7da,_0x4202b5,_0x487c53),_0x5dc4bd(_0x49aeba,_0x4cbc9d,_0x2e101c);const _0x22547f=_0x49aeba['slice'](_0x4cbc9d,_0x2e101c)['concat'](_0x34f7da['slice'](_0x4202b5,_0x487c53));return _0x22547f['sort']((_0x54bd7c,_0x4b9e1c)=>_0x54bd7c['side']!=_0x4b9e1c['side']?_0x54bd7c['side']-_0x4b9e1c['side']:_0x54bd7c['level']!=_0x4b9e1c['level']?_0x54bd7c['level']-_0x4b9e1c['level']:_0x54bd7c['distance']!=_0x4b9e1c['distance']?_0x4b9e1c['distance']-_0x54bd7c['distance']:!!_0x54bd7c['isAdded']!=!!_0x4b9e1c['isAdded']?-0x1==_0x54bd7c['side']||0x0==_0x54bd7c['side']?_0x54bd7c['isAdded']?-0x1:0x1:_0x54bd7c['isAdded']?0x1:-0x1:_0x54bd7c['index']-_0x4b9e1c['index']),{'commonTape':_0x22547f,'iEnd':_0x487c53,'jEnd':_0x2e101c};function _0x5dc4bd(_0xfd286,_0x5593c5,_0x595291){let _0x5943d7=-0x1,_0x5a763a=Number['POSITIVE_INFINITY'],_0x3c4988=!0x0;for(let _0x9b507a=_0x5593c5;_0x9b507a<_0x595291;_0x9b507a++)if(_0x4742dd['isInline'](_0xfd286[_0x9b507a]['item'])||(_0x3c4988=!0x1),_0xfd286[_0x9b507a]['item']['startIndex']<_0x5593c5&&(_0x5943d7=_0x9b507a),_0xfd286[_0x9b507a]['item']['endIndex']>=_0x595291){_0x5a763a=_0x9b507a;break;}_0x3c4988&&(_0x5943d7=_0x595291-0x1);for(let _0x2b6b97=_0x5593c5;_0x2b6b97<_0x595291;_0x2b6b97++)_0xfd286[_0x2b6b97]['side']=_0x2b6b97<=_0x5943d7?-0x1:_0x2b6b97<_0x5a763a?0x0:0x1,_0xfd286[_0x2b6b97]['index']=_0x2b6b97;let _0x335972=0x0;for(let _0x41ae6a=_0x5593c5;_0x41ae6a<=_0x5943d7;_0x41ae6a++)0x0==_0xfd286[_0x41ae6a]['distance']?_0xfd286[_0x41ae6a]['level']=_0x335972:(_0x335972++,_0xfd286[_0x41ae6a]['level']=_0x335972,_0x335972++);for(let _0xef400c=_0x5593c5;_0xef400c<_0x595291;_0xef400c++)0x0==_0xfd286[_0xef400c]['side']&&(_0xfd286[_0xef400c]['level']=_0x335972);_0x335972=0x0;for(let _0x25048b=_0x595291-0x1;_0x25048b>=_0x5a763a;_0x25048b--)0x0==_0xfd286[_0x25048b]['distance']?_0xfd286[_0x25048b]['level']=_0x335972:(_0x335972--,_0xfd286[_0x25048b]['level']=_0x335972,_0x335972--);}}['_fixObsoleteTags'](_0x2f39ae){const _0x4aee70=new Map(),_0x45abfa=this['editor']['model']['schema'];for(let _0x2f62ba=0x1;_0x2f62ba<_0x2f39ae['length'];_0x2f62ba++){let _0x42b9bb,_0x4e4096,_0x5136f5;const _0x20318d=_0x2f39ae[_0x2f62ba],_0x1807e4=_0x2f39ae[_0x2f62ba-0x1];if('text'==_0x20318d['type'])continue;if(_0x20318d['type']!=_0x1807e4['type'])continue;if(!_0x45abfa['isBlock'](_0x1807e4['item'])||_0x45abfa['isLimit'](_0x1807e4['item']))continue;if(!_0x45abfa['isBlock'](_0x20318d['item'])||_0x45abfa['isLimit'](_0x20318d['item']))continue;if((_0x2f39ae[_0x2f62ba]['isAdded']||_0x2f39ae[_0x2f62ba]['isAddSuggestion'])&&_0x2f39ae[_0x2f62ba-0x1]['isRemoved'])_0x42b9bb=_0x2f39ae[_0x2f62ba],_0x4e4096=_0x2f39ae[_0x2f62ba-0x1],_0x5136f5=_0x2f62ba-0x1;else{if(!_0x2f39ae[_0x2f62ba]['isRemoved']||!_0x2f39ae[_0x2f62ba-0x1]['isAdded']&&!_0x2f39ae[_0x2f62ba-0x1]['isAddSuggestion'])continue;_0x42b9bb=_0x2f39ae[_0x2f62ba-0x1],_0x4e4096=_0x2f39ae[_0x2f62ba],_0x5136f5=_0x2f62ba;}const _0x4e4c69=_0x42b9bb['level']==_0x4e4096['level'],_0x4c873c=Math['abs'](_0x42b9bb['level'])<Math['abs'](_0x4e4096['level'])&&0x0==_0x4e4096['distance'];(_0x4e4c69||_0x4c873c)&&(_0x4aee70['set'](_0x4e4096['id'],_0x42b9bb['id']),_0x2f39ae['splice'](_0x5136f5,0x1),_0x2f62ba--,_0x42b9bb['isAdded']=!0x1);}for(let _0x3c1c04=0x0;_0x3c1c04<_0x2f39ae['length'];_0x3c1c04++)_0x4aee70['has'](_0x2f39ae[_0x3c1c04]['pairId'])&&(_0x2f39ae[_0x3c1c04]['pairId']=_0x4aee70['get'](_0x2f39ae[_0x3c1c04]['pairId']));}['_removeMissingPairs'](_0x3e1e60){const _0x123709=new Set(_0x3e1e60['map'](_0x21796f=>_0x21796f['id']));for(let _0x540529=0x0;_0x540529<_0x3e1e60['length'];_0x540529++)_0x123709['has'](_0x3e1e60[_0x540529]['pairId'])||0x0==_0x3e1e60[_0x540529]['distance']||(_0x3e1e60[_0x540529]['isIncorrect']=!0x0);return _0x3e1e60['filter'](_0xe5ef31=>!_0xe5ef31['isIncorrect']);}['_markMismatchedRemovedTags'](_0x5ce5ad){const _0x2d7876=new Set();for(let _0x39007d=0x0;_0x39007d<_0x5ce5ad['length'];_0x39007d++){if(_0x2d7876['has'](_0x5ce5ad[_0x39007d]['id'])&&_0x5ce5ad[_0x39007d]['isRemoved']&&(_0x5ce5ad[_0x39007d]['isIncorrect']=!0x0),_0x5ce5ad[_0x39007d]['isIncorrect'])continue;if(0x0==_0x5ce5ad[_0x39007d]['distance'])continue;if('elementStart'!=_0x5ce5ad[_0x39007d]['type'])continue;if(null==_0x5ce5ad[_0x39007d]['pairId'])continue;let _0x297ecc=_0x39007d+0x1,_0x285755=0x0;for(;_0x5ce5ad[_0x297ecc]['id']!=_0x5ce5ad[_0x39007d]['pairId'];)'elementStart'==_0x5ce5ad[_0x297ecc]['type']?_0x285755++:'elementEnd'==_0x5ce5ad[_0x297ecc]['type']&&_0x285755--,_0x297ecc++;if(0x0!=_0x285755){if(_0x5ce5ad[_0x39007d]['isRemoved'])_0x5ce5ad[_0x39007d]['isIncorrect']=!0x0;else{for(;_0x297ecc!=_0x39007d;)_0x5ce5ad[_0x297ecc]['isRemoved']&&0x0!=_0x5ce5ad[_0x297ecc]['distance']&&(_0x5ce5ad[_0x297ecc]['isIncorrect']=!0x0,_0x2d7876['add'](_0x5ce5ad[_0x297ecc]['pairId'])),_0x297ecc--;}}}return _0x5ce5ad['filter'](_0x44da03=>!_0x44da03['isIncorrect']);}['_removeUnsupportedChanges'](_0x2ab220){const _0x1212f5=this['editor']['model']['schema'];for(let _0x50da46=0x0;_0x50da46<_0x2ab220['length'];_0x50da46++){if(!(_0x2ab220[_0x50da46]['isAdded']||_0x2ab220[_0x50da46]['isAddSuggestion']||_0x2ab220[_0x50da46]['isRemoved']||_0x2ab220[_0x50da46]['isRemoveSuggestion']))continue;if(0x0==_0x2ab220[_0x50da46]['distance'])continue;const _0x3072bc=_0x2ab220[_0x50da46]['item'];_0x1212f5['isBlock'](_0x3072bc)||_0x1212f5['isLimit'](_0x3072bc)||(_0x2ab220[_0x50da46]['isAdded']&&delete _0x2ab220[_0x50da46]['isAdded'],_0x2ab220[_0x50da46]['isAddSuggestion']&&delete _0x2ab220[_0x50da46]['isAddSuggestion'],_0x2ab220[_0x50da46]['isRemoveSuggestion']&&delete _0x2ab220[_0x50da46]['isRemoveSuggestion'],_0x2ab220[_0x50da46]['isRemoved']&&(_0x2ab220[_0x50da46]['isIncorrect']=!0x0));}return _0x2ab220['filter'](_0x206b3a=>!_0x206b3a['isIncorrect']);}['_makeModelFromTape'](_0x15700f,_0x3077ac,_0x2a6391){const _0x419423=new wt(),_0x2bb20=[],_0x48810f=new Map(),_0x6d3fb2=this['editor']['model'],_0x3c07ef=_0x6d3fb2['schema'],_0x2cca19=[_0x419423],_0x2d4742={},_0x3c0a20={'isAdded':[],'isRemoved':[],'isAddSuggestion':[],'isRemoveSuggestion':[]};let _0x2f6213=null;const _0x2d55fc=[0x0];for(let _0x352f8c=0x0;_0x352f8c<_0x15700f['length'];_0x352f8c++){let _0x264b38,_0x42a2a4;if('elementStart'===_0x15700f[_0x352f8c]['type']){_0x264b38=_0x6d3fb2['createPositionFromPath'](_0x419423,_0x2d55fc);const _0x5221eb=new ft(_0x15700f[_0x352f8c]['item']['name'],_0x15700f[_0x352f8c]['item']['getAttributes']());_0x2cca19[0x0]['_appendChild'](_0x5221eb),_0x2d55fc['push'](0x0),_0x2cca19['unshift'](_0x5221eb),_0x42a2a4=_0x6d3fb2['createPositionFromPath'](_0x419423,_0x2d55fc),_0x2f6213=null;}else{if('elementEnd'===_0x15700f[_0x352f8c]['type'])_0x2cca19['shift'](),_0x264b38=_0x6d3fb2['createPositionFromPath'](_0x419423,_0x2d55fc),_0x2d55fc['pop'](),_0x2d55fc[_0x2d55fc['length']-0x1]++,_0x42a2a4=_0x6d3fb2['createPositionFromPath'](_0x419423,_0x2d55fc),_0x2f6213=null;else{if(_0x264b38=_0x6d3fb2['createPositionFromPath'](_0x419423,_0x2d55fc),_0x2f6213&&_0x5c971e(_0x2f6213,_0x15700f[_0x352f8c]['item']))_0x2f6213['_data']+=_0x15700f[_0x352f8c]['item']['data'];else{const _0x4fa131=new _t(_0x15700f[_0x352f8c]['item']['data'],_0x15700f[_0x352f8c]['item']['getAttributes']());_0x2cca19[0x0]['_appendChild'](_0x4fa131),_0x2f6213=_0x4fa131;}_0x2d55fc[_0x2d55fc['length']-0x1]+=_0x15700f[_0x352f8c]['item']['offsetSize'],_0x42a2a4=_0x6d3fb2['createPositionFromPath'](_0x419423,_0x2d55fc);}}for(const _0x2c84f7 of _0x15700f[_0x352f8c]['markersStart'])_0x48810f['set'](_0x2c84f7,{'start':_0x264b38,'end':null});_0x4bafb9('isRemoveSuggestion',_0x352f8c,_0x264b38,_0x42a2a4),_0x4bafb9('isAddSuggestion',_0x352f8c,_0x264b38,_0x42a2a4),_0x4bafb9('isRemoved',_0x352f8c,_0x264b38,_0x42a2a4),_0x4bafb9('isAdded',_0x352f8c,_0x264b38,_0x42a2a4);for(const _0x258d52 of _0x15700f[_0x352f8c]['markersEnd']){_0x48810f['get'](_0x258d52)['end']=_0x42a2a4;}}for(const [_0x20dca4,_0x5d9e75]of _0x48810f){const _0x32870d=this['editor']['model']['createRange'](_0x5d9e75['start'],_0x5d9e75['end']);_0x419423['markers']['set'](_0x20dca4,_0x32870d);}return _0x2bb20['sort']((_0x17becd,_0x273fca)=>{const _0x365780=_0x419423['markers']['get']('revision:'+_0x17becd['id']),_0xa18f4c=_0x419423['markers']['get']('revision:'+_0x273fca['id']);return _0x365780['start']['isBefore'](_0xa18f4c['start'])?-0x1:_0x365780['start']['isAfter'](_0xa18f4c['start'])?0x1:_0x365780['end']['isBefore'](_0xa18f4c['end'])?-0x1:_0x365780['end']['isAfter'](_0xa18f4c['end'])?0x1:'add'===_0x17becd['type']?-0x1:0x1;}),{'root':_0x419423,'changes':_0x2bb20};function _0x4bafb9(_0x5c3437,_0x1511af,_0x1a2c69,_0x458639){const _0x501aa9=!!_0x15700f[_0x1511af][_0x5c3437],_0x569443=_0x501aa9?_0x15700f[_0x1511af][_0x5c3437]['userId']:null,_0x1924ed=_0x1511af===_0x15700f['length']-0x1,_0x267a0f=_0x3c0a20[_0x5c3437][0x0],_0x5e5f4e=_0x3c07ef['isObject'](_0x15700f[_0x1511af]['item']);!_0x2d4742[_0x5c3437]&&_0x501aa9?_0x2d4742[_0x5c3437]={'start':_0x1a2c69,'tapeItem':_0x15700f[_0x1511af],'userId':_0x569443,'type':_0x5c3437}:_0x2d4742[_0x5c3437]&&!_0x501aa9?(_0x2d4742[_0x5c3437]['end']=_0x1a2c69,_0x3e4d8a(_0x2d4742[_0x5c3437]),_0x2d4742[_0x5c3437]=null):_0x2d4742[_0x5c3437]&&_0x501aa9&&_0x2d4742[_0x5c3437]['userId']!==_0x569443&&(_0x2d4742[_0x5c3437]['end']=_0x1a2c69,_0x267a0f&&_0x267a0f['userId']===_0x2d4742[_0x5c3437]['userId']||_0x3e4d8a(_0x2d4742[_0x5c3437]),_0x2d4742[_0x5c3437]={'start':_0x1a2c69,'tapeItem':_0x15700f[_0x1511af],'userId':_0x569443,'type':_0x5c3437}),_0x2d4742[_0x5c3437]&&_0x5e5f4e&&('elementStart'!==_0x15700f[_0x1511af]['type']||_0x267a0f&&_0x267a0f['userId']===_0x569443||_0x3c0a20[_0x5c3437]['unshift']({'userId':_0x569443,'object':_0x15700f[_0x1511af]['item'],'change':_0x2d4742[_0x5c3437]}),'elementEnd'===_0x15700f[_0x1511af]['type']&&_0x267a0f&&_0x267a0f['object']===_0x15700f[_0x1511af]['item']&&(_0x3c0a20[_0x5c3437]['shift'](),_0x2d4742[_0x5c3437]=_0x267a0f['change'])),_0x2d4742[_0x5c3437]&&_0x1924ed&&(_0x2d4742[_0x5c3437]['end']=_0x458639,_0x3e4d8a(_0x2d4742[_0x5c3437]),_0x2d4742[_0x5c3437]=null);}function _0x3e4d8a({start:_0x32c54e,end:_0x4fbb32,tapeItem:_0x279516,userId:_0x5a1f30,type:_0x3fa13d}){const _0x2f485f=_0x279516['item'],_0x171a4a=_0x6d3fb2['schema']['isBlock'](_0x2f485f)&&!_0x6d3fb2['schema']['isLimit'](_0x2f485f),_0x164c1d=_0x32c54e['nodeAfter']==_0x4fbb32['parent']&&_0x4fbb32['isAtStart'];if(_0x171a4a&&_0x164c1d)return;const _0x2e2681=_0x6d3fb2['createRange'](_0x32c54e,_0x4fbb32),_0x142314=_0x3077ac['get'](_0x5a1f30),_0x589b32=new r({'author':_0x142314,'type':'isAdded'==_0x3fa13d||'isAddSuggestion'==_0x3fa13d?'add':'remove','data':{'isSuggestion':'isAddSuggestion'==_0x3fa13d||'isRemoveSuggestion'==_0x3fa13d},'createdAt':new Date(),'rootName':_0x2a6391});_0x2bb20['push'](_0x589b32),_0x419423['markers']['set']('revision:'+_0x589b32['id'],_0x2e2681);}function _0x5c971e(_0x11539b,_0x554edf){const _0x2e5a6f=_0x11539b['getAttributes'](),_0x16f3d3=_0x554edf['getAttributes']();for(const _0x4fb981 of _0x2e5a6f){if(_0x4fb981[0x1]!==_0x554edf['getAttribute'](_0x4fb981[0x0]))return!0x1;_0x16f3d3['next']();}return _0x16f3d3['next']()['done'];}}['_setConversion'](){this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'revision'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision','view':_0x4848a3=>{const _0x3d43aa=_0x4848a3['markerName']['split'](':')[0x1],_0x446feb=this['_getChangeFromId'](_0x3d43aa);if(!_0x446feb)return null;const _0x1e2d98='add'==_0x446feb['type']?'insertion':'deletion',_0x327099=['ck-suggestion-marker','ck-suggestion-marker-'+_0x1e2d98];return _0x446feb['data']['isSuggestion']&&_0x327099['push']('ck-suggestion-marker-'+_0x1e2d98+'-new'),this['activeChange']==_0x446feb&&_0x327099['push']('ck-suggestion-marker--active'),{'classes':_0x327099,'attributes':{'data-change-id':_0x3d43aa}};}}),this['editor']['conversion']['for']('upcast')['add'](_0x23ce02=>{_0x23ce02['on']('element:pre',(_0x175626,_0x24c00b,_0xa2f8e6)=>{const _0x227676=_0x24c00b['viewItem']['getChild'](0x0);if(!_0x227676||!_0x227676['is']('element','code'))return;if(!_0xa2f8e6['consumable']['consume'](_0x227676,{'attributes':['vid_start','vid_end']}))return;const _0x4e97a8=_0x24c00b['modelRange']['start']['nodeAfter'];_0xa2f8e6['writer']['setAttribute']('vid_start',_0x227676['getAttribute']('vid_start'),_0x4e97a8),_0xa2f8e6['writer']['setAttribute']('vid_end',_0x227676['getAttribute']('vid_end'),_0x4e97a8);},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['add'](_0x67c2d2=>{_0x67c2d2['on']('element',(_0x3ccc2f,_0x284fd2,_0xdb66e2)=>{if(!_0xdb66e2['consumable']['consume'](_0x284fd2['viewItem'],{'attributes':['vid_start','vid_end']}))return;if(_0x284fd2['modelRange']['isCollapsed'])return;const _0x5430e6=_0x284fd2['modelRange']['start']['nodeAfter'];_0x5430e6['hasAttribute']('vid_start')||_0x5430e6['hasAttribute']('vid')||(_0xdb66e2['writer']['setAttribute']('vid_start',_0x284fd2['viewItem']['getAttribute']('vid_start'),_0x5430e6),_0xdb66e2['writer']['setAttribute']('vid_end',_0x284fd2['viewItem']['getAttribute']('vid_end'),_0x5430e6));},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['elementToAttribute']({'view':{'name':'span','attributes':{'vid':!0x0}},'model':{'key':'vid','value':_0x5a325a=>_0x5a325a['getAttribute']('vid')}}),this['editor']['model']['schema']['on']('checkAttribute',(_0x26d224,[,_0xd894c8])=>{['vid_start','vid_end','vid']['includes'](_0xd894c8)&&(_0x26d224['return']=!0x0,_0x26d224['stop']());},{'priority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['add'](_0x4713d7=>{_0x4713d7['on']('attribute:vid',(_0x4a2b71,_0x12bd30,_0x48ef75)=>{if('\x20'!=_0x12bd30['item']['data']||_0x12bd30['item']['parent']['maxOffset']>0x1)return;if(!_0x48ef75['consumable']['consume'](_0x12bd30['item'],_0x4a2b71['name']))return;const _0x136689=_0x48ef75['writer'],_0x3eadd5=_0x48ef75['mapper']['toViewRange'](_0x12bd30['range']);_0x136689['wrap'](_0x3eadd5,_0x136689['createAttributeElement']('span'));});}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',function(_0xfbfe3){const _0x36c4cc=_0xfbfe3['plugins']['get']('RevisionViewer');return(_0x45d5b5,_0x4eee77,_0x37c2c5)=>{const _0x4eebe0=_0x4eee77['markerName']['split'](':')[0x1],_0x101b41=_0x36c4cc['_getChangeFromId'](_0x4eebe0);if(!_0x101b41)return null;const _0x3e5dac='add'==_0x101b41['type']?'split':'merge';if(!_0x37c2c5['consumable']['test'](_0x4eee77['markerRange'],_0x45d5b5['name']))return;const _0x57fe4c=_0x4eee77['markerRange']['getWalker'](),_0x394f06=_0x4eee77['markerRange']['start'],_0x6f98bf=_0xfbfe3['model']['schema'];let _0x2709d7=null,_0x3fd8bc=null,_0x26f6a1=!0x1,_0x409d5d=!0x1;for(const _0x2bf1bd of _0x57fe4c){const _0x4f511d=_0x2bf1bd['item'];_0x26f6a1=_0x26f6a1||_0x6f98bf['isContent'](_0x4f511d);const _0x1c08c0=_0x37c2c5['mapper']['toViewElement'](_0x4f511d);if(_0x1c08c0&&_0x1c08c0['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x2bf1bd['type']&&(_0x6f98bf['isBlock'](_0x4f511d)&&!_0x6f98bf['isLimit'](_0x4f511d)&&(_0x4f511d['nextSibling']||_0x394f06['isAtEnd']?_0x2709d7&&_0x2709d7['parent']==_0x4f511d||(_0x2709d7=_0x4f511d,_0x4fddbc(_0x2bf1bd['previousPosition']),_0x409d5d=!0x0):_0x3fd8bc=_0x3fd8bc||_0x2bf1bd['previousPosition']));}function _0x4fddbc(_0x1d12be){const _0x1269af=_0x37c2c5['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x3e5dac}),_0x511f52=_0x37c2c5['mapper']['toViewPosition'](_0x1d12be);_0x101b41['data']['isSuggestion']&&_0x37c2c5['writer']['addClass']('ck-suggestion-marker-'+_0x3e5dac+'-new',_0x1269af),_0x36c4cc['activeChange']==_0x101b41&&_0x37c2c5['writer']['addClass']('ck-suggestion-marker--active',_0x1269af),_0x37c2c5['writer']['insert'](_0x511f52,_0x1269af),_0x37c2c5['mapper']['bindElementToMarker'](_0x1269af,_0x4eee77['markerName']);}_0x26f6a1||_0x409d5d||!_0x3fd8bc||_0x4fddbc(_0x3fd8bc);};}(this['editor']),{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('removeMarker:revision',(_0x57daca,_0x3ac679,_0x5c66ec)=>{const _0x53f341=_0x5c66ec['mapper']['markerNameToElements'](_0x3ac679['markerName']);if(_0x53f341){for(const _0xadc8ab of _0x53f341)(_0xadc8ab['hasClass']('ck-suggestion-marker-split')||_0xadc8ab['hasClass']('ck-suggestion-marker-merge'))&&(_0x5c66ec['mapper']['unbindElementFromMarkerName'](_0xadc8ab,_0x3ac679['markerName']),_0x5c66ec['writer']['remove'](_0xadc8ab));}},{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',(_0x37d0d8,_0x35a234,_0x33526b)=>{const _0x1fc4fb=_0x35a234['markerName']['split'](':')[0x1],_0x15508c=this['_getChangeFromId'](_0x1fc4fb);if(!_0x15508c)return null;const _0x1bc394='add'==_0x15508c['type']?'split':'merge';if(_0x33526b['consumable']['test'](_0x35a234['markerRange'],_0x37d0d8['name']))for(const _0x774406 of _0x35a234['markerRange']['getItems']()){if(!_0x774406['is']('element','softBreak'))continue;const _0x4179c4=_0x33526b['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x1bc394}),_0x23d858=_0x33526b['mapper']['toViewPosition'](this['editor']['model']['createPositionBefore'](_0x774406));_0x15508c['data']['isSuggestion']&&_0x33526b['writer']['addClass']('ck-suggestion-marker-'+_0x1bc394+'-new',_0x4179c4),this['activeChange']==_0x15508c&&_0x33526b['writer']['addClass']('ck-suggestion-marker--active',_0x4179c4),_0x33526b['writer']['insert'](_0x23d858,_0x4179c4),_0x33526b['mapper']['bindElementToMarker'](_0x4179c4,_0x35a234['markerName']);}},{'priority':'high'}),this['editor']['model']['document']['on']('change',()=>{this['editor']['editing']['view']['change'](_0x4cab4a=>{for(const _0x2c1014 of this['editor']['model']['document']['getRootNames']()){const _0x460454=this['editor']['model']['document']['getRoot'](_0x2c1014),_0x1af02f=this['editor']['editing']['view']['document']['getRoot'](_0x2c1014);if(_0x1af02f){const _0x1d1342=_0x460454['getAttribute']('revisionHistoryAttachChange');if(_0x4cab4a['removeAttribute']('data-change-id',_0x1af02f),_0x4cab4a['removeClass']('ck-revision-history-root-add',_0x1af02f),_0x4cab4a['removeClass']('ck-revision-history-root-remove',_0x1af02f),_0x4cab4a['removeClass']('ck-revision-history-root--active',_0x1af02f),_0x1d1342){const _0x12ef6c=this['_getChangeFromId'](_0x1d1342);if(!_0x12ef6c)return null;_0x4cab4a['setAttribute']('data-change-id',_0x1d1342,_0x1af02f),_0x4cab4a['addClass']('ck-revision-history-root-'+_0x12ef6c['type'],_0x1af02f),this['activeChange']==_0x12ef6c&&_0x4cab4a['addClass']('ck-revision-history-root--active',_0x1af02f);}}}});}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'comment','model':_0x2784f6=>'revision-comment:'+_0x2784f6,'converterPriority':'highest'}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'suggestion','model':_0x51701d=>'revision-suggestion:'+_0x51701d,'converterPriority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision-suggestion','view':_0x516870=>({'name':'suggestion:'+_0x516870,'group':'revision-suggestion'}),'converterPriority':'highest'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision-suggestion','view':_0x6316b6=>{const _0x2bf2c8=_0x6316b6['markerName']['split'](':')[0x1];return'insertion'!=_0x2bf2c8&&'deletion'!=_0x2bf2c8?null:{'classes':['ck-suggestion-preview-marker','ck-suggestion-preview-marker-'+_0x2bf2c8]};}}),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',(_0x20fcb8,_0x47dbc7,_0x56d947)=>{const _0x440e0a=_0x56d947['mapper']['markerNameToElements'](_0x47dbc7['markerName']);if(_0x440e0a){for(const _0x454613 of _0x440e0a)_0x454613['is']('uiElement')&&(_0x56d947['mapper']['unbindElementFromMarkerName'](_0x454613,_0x47dbc7['markerName']),_0x56d947['writer']['remove'](_0x454613));}},{'priority':'high'});}['_getChangeFromId'](_0xbb6a5){return this['_changeIdToChange']['get'](_0xbb6a5);}['_getViewForChange'](_0x185ad2){return this['_changeView']&&this['_changeView']['destroy'](),this['_changeView']=new Z(this['editor']['locale'],_0x185ad2),this['_changeView'];}['_initInteractions'](){this['editor']['model']['document']['selection']['observeMarkers']('revision'),this['on']('change:activeView',(_0x21378d,_0x5f3964,_0xdeb4c4,_0x334869)=>{_0x334869&&this['_balloon']['remove'](_0x334869),_0xdeb4c4&&(this['_balloon']['add']({'view':_0xdeb4c4,'stackId':'revisionHistoryLabel','position':{'target':()=>{const _0x5b075d=this['editor']['editing'],_0x2ab9a7=this['_getChangeFromId'](_0xdeb4c4['changeId']);let _0x30ca69;if(_0x2ab9a7['data']['isOnRoot']){const _0x6dd4ab=_0x5b075d['view']['getDomRoot'](_0x2ab9a7['rootName']);_0x30ca69=Array['from'](_0x6dd4ab['getClientRects']());}else{const _0x40aaf4=this['editor']['model']['markers']['get']('revision:'+_0xdeb4c4['changeId']);_0x30ca69=Array['from'](_0x5b075d['mapper']['markerNameToElements'](_0x40aaf4['name']))['map'](_0x58aa8e=>_0x5b075d['view']['domConverter']['mapViewToDom'](_0x58aa8e))['map'](_0x58df2b=>Array['from'](_0x58df2b['getClientRects']()))['flat']();}if(!this['_activeViewTarget'])return _0x30ca69[0x0];return _0x30ca69['find'](_0x3fdb9c=>_0x3fdb9c['top']-0x3<=this['_activeViewTarget']['y']&&_0x3fdb9c['bottom']+0x3>=this['_activeViewTarget']['y']&&_0x3fdb9c['left']-0x3<=this['_activeViewTarget']['x']&&_0x3fdb9c['right']+0x3>=this['_activeViewTarget']['x'])||_0x30ca69[0x0];}}}),this['_balloon']['showStack']('revisionHistoryLabel'));}),this['on']('change:activeChange',(_0x318dd4,_0x5247d3,_0x330ab6,_0x4dd4cf)=>{this['activeView']=_0x330ab6?this['_getViewForChange'](_0x330ab6):null,this['editor']['model']['change'](()=>{const _0x500053=this['editor']['editing'];_0x4dd4cf&&(_0x4dd4cf['data']['isOnRoot']?_0x500053['view']['change'](_0x2fe5ac=>{_0x2fe5ac['removeClass']('ck-revision-history-root--active',_0x500053['view']['document']['getRoot'](_0x4dd4cf['rootName']));}):_0x500053['reconvertMarker']('revision:'+_0x4dd4cf['id'])),_0x330ab6&&(_0x330ab6['data']['isOnRoot']?_0x500053['view']['change'](_0x2cc465=>{_0x2cc465['addClass']('ck-revision-history-root--active',_0x500053['view']['document']['getRoot'](_0x330ab6['rootName']));}):_0x500053['reconvertMarker']('revision:'+_0x330ab6['id']));});}),this['listenTo'](this['editor']['editing']['view']['document'],'mouseover',(_0x45f8ca,_0x991e33)=>{if(this['activeChange'])return;const _0x3499b7=this['_findChangeIdFromDomTarget'](_0x991e33['target']),_0x2fdafa=this['_changeIdToChange']['get'](_0x3499b7);_0x2fdafa?(this['_activeViewTarget']={'x':_0x991e33['domEvent']['x'],'y':_0x991e33['domEvent']['y']},this['activeView']=this['_getViewForChange'](_0x2fdafa)):(this['_activeViewTarget']=null,this['activeView']=null);}),this['listenTo'](this['editor']['editing']['view']['document'],'mousedown',(_0x5db292,_0x300627)=>{const _0x3841a4=this['_findChangeIdFromDomTarget'](_0x300627['target']),_0x443e08=this['_changeIdToChange']['get'](_0x3841a4);_0x443e08?(this['_activeViewTarget']={'x':_0x300627['domEvent']['x'],'y':_0x300627['domEvent']['y']},_0x443e08===this['activeChange']?this['_balloon']['updatePosition']():this['activeChange']=_0x443e08):(this['_activeViewTarget']=null,this['activeChange']=null);});}['_findChangeIdFromDomTarget'](_0x4f6ad5){do{const _0x79fb6d=_0x4f6ad5['getAttribute']('data-change-id');if(_0x79fb6d)return _0x79fb6d;_0x4f6ad5=_0x4f6ad5['parent'];}while(_0x4f6ad5);return null;}['_cleanMarkers'](){this['editor']['model']['change'](_0x3f2740=>{for(const _0x12cd62 of this['editor']['model']['markers'])_0x3f2740['removeMarker'](_0x12cd62);});}}function et(_0x3134a5,_0x23560e){return(_0x4c7da8,_0x290116,_0x3e84dd)=>{if(!_0x3e84dd['consumable']['test'](_0x290116['markerRange'],_0x4c7da8['name']))return;const _0x2cc68f=_0x290116['markerRange']['getWalker'](),_0xc05bda=_0x290116['markerRange']['start'],_0x434e9b=_0x3134a5['model']['schema'];let _0x55b0b0=null,_0x54351f=null,_0x595634=!0x1,_0x5ad207=!0x1;for(const _0x1d44f5 of _0x2cc68f){const _0x2023b3=_0x1d44f5['item'];_0x595634=_0x595634||_0x434e9b['isContent'](_0x2023b3);const _0x55002f=_0x3e84dd['mapper']['toViewElement'](_0x2023b3);if(_0x55002f&&_0x55002f['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x1d44f5['type']&&(_0x434e9b['isBlock'](_0x2023b3)&&!_0x434e9b['isLimit'](_0x2023b3)&&(_0x2023b3['nextSibling']||_0xc05bda['isAtEnd']?_0x55b0b0&&_0x55b0b0['parent']==_0x2023b3||(_0x55b0b0=_0x2023b3,_0x390ec4(_0x1d44f5['previousPosition']),_0x5ad207=!0x0):_0x54351f=_0x54351f||_0x1d44f5['previousPosition']));}function _0x390ec4(_0x5b10df){const _0x200066=_0x3e84dd['mapper']['toViewPosition'](_0x5b10df),_0x1649fb=_0x3e84dd['writer']['createUIElement']('span',{'class':'ck-suggestion-preview-marker-'+_0x23560e});_0x3e84dd['writer']['insert'](_0x200066,_0x1649fb),_0x3e84dd['mapper']['bindElementToMarker'](_0x1649fb,_0x290116['markerName']);}_0x595634||_0x5ad207||!_0x54351f||_0x390ec4(_0x54351f);};}class bt extends _0x45736d{constructor(_0x136c3b){super(_0x136c3b);const _0x133fd6=_0x136c3b['plugins']['get'](d);this['affectsData']=!0x1,this['listenTo'](_0x133fd6,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x133fd6,'change:isEnabled',()=>this['refresh']());}['execute'](){const _0x3de887=this['editor'],_0xc5ec3b=_0x3de887['plugins']['get'](d),_0x57e991=_0xc5ec3b['isReady']?_0xc5ec3b['diff']['newRevisionId']:null;_0x3de887['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x57e991);}['refresh'](){const {isReady:_0x2e4a8e,isEnabled:_0x40e62d}=this['editor']['plugins']['get'](d);this['isEnabled']=_0x2e4a8e&&_0x40e62d;}}class yt extends _0x45736d{['_step'];constructor(_0x1d6780,{direction:_0x4312a3}){super(_0x1d6780);const _0x50a1f7=_0x1d6780['plugins']['get'](d);this['affectsData']=!0x1,this['_step']='forward'===_0x4312a3?0x1:-0x1,this['listenTo'](_0x50a1f7,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x50a1f7,'change:isEnabled',()=>this['refresh']()),this['listenTo'](_0x50a1f7,'change:activeChange',()=>this['refresh']());}['execute'](){const _0x29b294=this['editor'],_0x714e3a=_0x29b294['plugins']['get'](d),{isNavigationMode:_0x3e872c,currentChangeNumber:_0x4b9f2b}=_0x714e3a;let _0x2a339a;if(_0x714e3a['activeChange']=_0x3e872c?_0x714e3a['diff']['changes']['get'](_0x4b9f2b+this['_step']):_0x714e3a['diff']['changes']['first'],_0x714e3a['activeChange']['data']['isOnRoot'])_0x2a339a=_0x29b294['editing']['view']['getDomRoot'](_0x714e3a['activeChange']['rootName']);else{const _0x4cc75f=_0x29b294['model']['markers']['get']('revision:'+_0x714e3a['activeChange']['id']);_0x2a339a=_0x2f27f3(_0x29b294['editing'],_0x4cc75f);}_0x3d3b7d({'target':_0x2a339a,'viewportOffset':0x28});}['refresh'](){const {isNavigationMode:_0x1e9d57,currentChangeNumber:_0x27a075,numberOfChanges:_0x4128a5,isReady:_0x3b0601,isEnabled:_0x218482}=this['editor']['plugins']['get'](d);this['isEnabled']=!!(_0x218482&&_0x3b0601&&_0x4128a5)&&(!_0x1e9d57||(0x1===this['_step']?_0x27a075<_0x4128a5-0x1:_0x27a075>0x0));}}class _i extends _0xdfc4bb{constructor(_0xf8ac0d){super(_0xf8ac0d);const _0x2fa8ce=this['bindTemplate'],_0x4ac962=new _0x22cf05(_0xf8ac0d),_0x18b466=new _0x22cf05(_0xf8ac0d);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',(_0x3582fd,_0x3a2057)=>_0x3582fd&&_0x3a2057>0x0),this['bind']('_statusText')['to'](this,'isReady',this,'currentChangeNumber',this,'numberOfChanges',this,'isNavigationMode',(_0x9e9740,_0x41cfef,_0x2130e2,_0x2d0c23)=>{if(!_0x9e9740)return y(_0xf8ac0d,'Loading...');if(!_0x2130e2)return y(_0xf8ac0d,'No\x20changes');const _0x3613ef=y(_0xf8ac0d,'NUMBER_OF_CHANGES',_0x2130e2);return _0x2d0c23?y(_0xf8ac0d,'X_OF_Y_CHANGES',[_0x41cfef+0x1,_0x2130e2]):_0x3613ef;}),_0x4ac962['set']({'label':y(_0xf8ac0d,'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'}),_0x18b466['set']({'label':y(_0xf8ac0d,'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'}),_0x4ac962['bind']('isEnabled')['to'](this,'isBackwardNavigationEnabled'),_0x18b466['bind']('isEnabled')['to'](this,'isForwardNavigationEnabled'),_0x4ac962['on']('execute',()=>this['fire']('execute','backward')),_0x18b466['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',_0x2fa8ce['if']('_isStatusLabelVisible','ck-hidden',_0x32f850=>!_0x32f850)]},'children':[{'text':_0x2fa8ce['to']('isNavigationMode',_0xa69f15=>_0xa69f15?y(_0xf8ac0d,'EDIT_X_OF_Y_REVISIONS')+':\x20':y(_0xf8ac0d,'Total')+':\x20')}]},{'text':_0x2fa8ce['to']('_statusText')}]},new _0x467123(),{'tag':'div','attributes':{'class':['ck-revision-history-ui__changes-navigation__navigation']},'children':[_0x4ac962,_0x18b466]}]});}}const ce='ck-editor__editable__loading-overlay';class de extends _0x2453cb{static get['pluginName'](){return'RevisionViewerLoadingOverlay';}['show'](){const _0x1a1dc5=this['editor']['editing']['view'];_0x1a1dc5['change'](_0x123d58=>{for(const _0x133596 of _0x1a1dc5['document']['roots'])_0x123d58['addClass'](ce,_0x133596);});}['hide'](){const _0x585023=this['editor']['editing']['view'];_0x585023['change'](_0x2dde81=>{for(const _0x393338 of _0x585023['document']['roots'])_0x2dde81['removeClass'](ce,_0x393338);});}}class R extends _0x2453cb{static get['pluginName'](){return'RevisionViewerUI';}static get['requires'](){return[d,de];}['init'](){const _0x1aaef0=this['editor'],_0x5f3231=_0x1aaef0['plugins']['get'](d),_0x363873=_0x1aaef0['plugins']['get'](de);_0x1aaef0['ui']['componentFactory']['add']('exitToEditing',_0x12ce7c=>{const _0xf120e0=new _0x22cf05(_0x12ce7c);return _0xf120e0['set']({'label':y(_0x12ce7c,'Back\x20to\x20editing'),'icon':_0xd33e26['undo'],'withText':!0x0,'tooltip':!0x0,'class':'ck-revision-history-ui__back-to-editing'}),this['listenTo'](_0xf120e0,'execute',()=>{_0x1aaef0['config']['get']('revisionHistory')['closeRevisionViewerCallback']();}),_0xf120e0;}),_0x1aaef0['ui']['componentFactory']['add']('restoreRevision',_0x143b85=>{const _0x2e4f8e=new _0x22cf05(_0x143b85);return _0x2e4f8e['set']({'label':y(_0x143b85,'Restore\x20this\x20revision'),'withText':!0x0,'tooltip':!0x0}),_0x2e4f8e['bind']('isEnabled')['to'](_0x1aaef0['commands']['get']('restoreRevision')),this['listenTo'](_0x2e4f8e,'execute',()=>_0x1aaef0['execute']('restoreRevision')),_0x2e4f8e;}),_0x1aaef0['ui']['componentFactory']['add']('changesNavigation',_0x1a824d=>{const _0x5f0a73=new _i(_0x1a824d),_0x1ed5f4=_0x1aaef0['commands']['get']('showPreviousChange'),_0x10ef64=_0x1aaef0['commands']['get']('showNextChange');return _0x5f0a73['bind']('isBackwardNavigationEnabled')['to'](_0x1ed5f4,'isEnabled'),_0x5f0a73['bind']('isForwardNavigationEnabled')['to'](_0x10ef64,'isEnabled'),_0x5f0a73['bind']('isReady','currentChangeNumber','numberOfChanges','isNavigationMode')['to'](_0x5f3231),this['listenTo'](_0x5f0a73,'execute',(_0x5b55dd,_0xea5ee0)=>{_0x1aaef0['execute']('forward'===_0xea5ee0?'showNextChange':'showPreviousChange');}),_0x5f0a73;}),_0x363873['show'](),_0x5f3231['on']('change:isReady',(_0x31bddf,_0x30cfa9,_0xafc86b)=>{_0xafc86b?_0x363873['hide']():_0x363873['show']();});}}class kt extends at{['_resizeObserver']=null;constructor(_0x183583,_0x43060a){super(_0x183583,_0x43060a);const _0x3921b2=this['bindTemplate'];this['set']({'label':y(_0x183583,'Revision\x20name'),'_tooltipString':''}),this['fieldView']['placeholder']=y(_0x183583,'Enter\x20the\x20revision\x20name'),this['extendTemplate']({'tag':'span','attributes':{'class':['ck-revision-history-sidebar__revision-name'],'data-cke-tooltip-text':_0x3921b2['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 _0x36270e=this['fieldView']['element'];this['_tooltipString']=_0x36270e['scrollWidth']>_0x36270e['clientWidth']&&_0x36270e['value']||'';}}class ti extends _0xdfc4bb{constructor(_0x2db264,_0x5c50a8,_0x48ea6d){super(_0x2db264);const _0x10df22=new _0x5ef10e();_0x10df22['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 _0x57340a=['ck','ck-revision-history-sidebar__revision-author'];_0x48ea6d&&_0x57340a['push']('ck-revision-history-sidebar__revision-author_creator');const _0x1455fa=[{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__revision-author__name'],'title':y(_0x2db264,_0x48ea6d?'Revision\x20creator':'Revision\x20author')},'children':[_0x10df22,_0x5c50a8['name']]}];this['setTemplate']({'tag':'li','attributes':{'class':_0x57340a},'children':_0x1455fa});}}function ni(_0x319fea,_0x3a7e1c){const _0x31a3f0=_0x319fea['bindTemplate'],_0x1f1f4d=_0x319fea['locale'],_0x5eb8f2=_0xeca3c(_0x1f1f4d);_0x5eb8f2['panelPosition']='sw';const _0x2d857d=function(_0x267a24,_0x683ed4){const _0x5c3fbd=function(_0xb8f164,_0x24747b){const _0x56066d=_0xb8f164['locale'],_0xe60db5={'Compare\x20against\x20selected':y(_0x56066d,'Compare\x20against\x20selected'),'Name\x20this\x20revision':y(_0x56066d,'Name\x20this\x20revision'),'Restore\x20this\x20revision':y(_0x56066d,'Restore\x20this\x20revision')};return _0x24747b['map'](_0x295ded=>{const _0x8e7b76=_0xe60db5[_0x295ded['name']];return _0x8e7b76&&_0x8e7b76!==_0x295ded['name']&&(_0x295ded['name']=_0x8e7b76),_0x295ded;});}(_0x267a24,_0x683ed4),_0x270d92=new _0x3098b8();for(const _0x2dd7bc of _0x5c3fbd){const _0x1cc0c6={'type':'button','model':new to({'label':_0x2dd7bc['name'],'class':_0x2dd7bc['class'],'withText':!0x0,'role':'menuitem','_action':_0x2dd7bc['action']})};_0x1cc0c6['model']['bind']('isEnabled')['to'](_0x267a24,'isActionsDropdownOpen',_0x1d268a=>'function'!=typeof _0x2dd7bc['isEnabled']||(!_0x1d268a||_0x2dd7bc['isEnabled'](_0x267a24))),_0x270d92['add'](_0x1cc0c6);}return _0x270d92;}(_0x319fea,_0x3a7e1c);return _0x319fea['bind']('isActionsDropdownOpen')['to'](_0x5eb8f2,'isOpen'),_0x5eb8f2['buttonView']['set']({'label':y(_0x1f1f4d,'Show\x20more\x20items'),'tooltip':!0x0,'tooltipPosition':'sw','icon':_0xd33e26['threeVerticalDots']}),_0x5eb8f2['extendTemplate']({'attributes':{'class':['ck-revision-history-sidebar__revision__actions',_0x31a3f0['if']('isActionsDropdownOpen','ck-on')]},'on':{'click':_0x31a3f0['to'](_0x244968=>_0x244968['stopPropagation']())}}),_0x5eb8f2['on']('execute',_0x351190=>{_0x319fea['isReady']&&'function'==typeof _0x351190['source']['_action']&&_0x351190['source']['_action'](_0x319fea);}),_0x6b42da(_0x5eb8f2,_0x2d857d,{'role':'menu'}),_0x5eb8f2['listenTo'](_0x319fea,'change:isActionsDropdownOpen',(_0x47b280,_0x15d95f,_0x37f1e2)=>{if(_0x37f1e2)for(const _0xccc92 of _0x5eb8f2['listView']['items']){const _0x37bc26=_0xccc92['children']['first'],_0x1af005=_0x3a7e1c['find'](_0x579f04=>_0x579f04['action']===_0x37bc26['_action'])['isVisible'];_0xccc92['isVisible']=void 0x0===_0x1af005||_0x1af005(_0x319fea);}}),_0x5eb8f2;}class ai extends/* #__PURE__ -- @preserve */
|
|
26
|
-
|
|
23
|
+
import{Plugin as _0x557740,Context as _0x3e564d,PendingActions as _0x189170,icons as _0x128e1a,Command as _0x507496,ElementApiMixin as rt,Editor as it}from'@ckeditor/ckeditor5-core/dist/index.js';import{ObservableMixin as _0x15c3ff,uid as _0x565755,Collection as _0x27a848,logWarning as _0x13b3df,FocusTracker as _0x41fab8,KeystrokeHandler as _0x1f22af,scrollViewportToShowTarget as _0x95a173,ResizeObserver as mt,ElementReplacer as nt,CKEditorError as _0x3f8a58}from'@ckeditor/ckeditor5-utils/dist/index.js';import{Users as _0x564d83,getMarkerDomElement as _0x148bea,ConfirmMixin as _0x155ccd,sanitizeEditorConfig as _0x2776c5}from'ckeditor5-collaboration/dist/index.js';import{ViewDocumentFragment as _0x4422da,ViewText as _0x153831,ViewElement as _0x4b88aa,Element as ft,Range as vt,Position as gt,DocumentFragment as wt,ViewContainerElement as _0x523077,ViewAttributeElement as _0x420821,ViewEmptyElement as _0x51d9d3,ViewRawElement as _0x1a6abe,ViewUIElement as _0x244ae2,Text as _t}from'@ckeditor/ckeditor5-engine/dist/index.js';import{cloneDeep as _0x1b8411,set as _0x322046,unset as _0x635324,isEqual as _0x161e30}from'lodash-es';import{View as _0x15d4d1,injectCssTransitionDisabler as ts,submitHandler as _0x510005,LabeledFieldView as at,createLabeledInputText as _0xac2b2e,createDropdown as _0x1707e6,ListView as te,ListItemView as _0x278575,ButtonView as _0x35fca5,MenuBarMenuView as _0x3d5e6a,MenuBarMenuListView as _0x5d14ba,MenuBarMenuListItemView as _0x38cb51,MenuBarMenuListItemButtonView as _0x3dffc0,ContextualBalloon as _0x539508,ToolbarSeparatorView as _0x53111b,IconView as _0x3698f3,addListToDropdown as _0x426176,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 _0x54dacf}from'luxon';class a extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x15c3ff(){['id'];['creator'];['authors'];['diffData'];['toVersion'];['fromVersion'];['model'];constructor(_0x524489){super(),this['id']=_0x524489['id']||_0x565755(),this['creator']=_0x524489['creator']||null,this['authors']=_0x524489['authors']||[],this['diffData']=_0x524489['diffData']||null,this['toVersion']=_0x524489['toVersion']||0x0,this['fromVersion']=_0x524489['fromVersion']||0x0,this['set']('name',_0x524489['name']||''),this['set']('createdAt',_0x524489['createdAt']||new Date()),this['set']('attributes',_0x524489['attributes']||{});}['setName'](_0x22bc20){this['_update']({'name':_0x22bc20});}['setAttribute'](_0x1fe32c,_0x531af6){const _0x5c81dc=_0x1b8411(this['attributes']);_0x322046(_0x5c81dc,_0x1fe32c,_0x531af6),this['_update']({'attributes':_0x5c81dc});}['removeAttribute'](_0x4703a0){const _0x373bbf=_0x1b8411(this['attributes']);_0x635324(_0x373bbf,_0x4703a0),this['_update']({'attributes':_0x373bbf});}['_update'](_0xc6ae05,_0x37c0c4=!0x1){let _0x3e3965=!0x1;const _0x48abc8={'id':this['id']},_0x59a9ec=['name','createdAt','diffData','authors','attributes','toVersion','fromVersion','creatorId'];for(const _0x453b29 of _0x59a9ec){const _0x1328fa=_0xc6ae05[_0x453b29];void 0x0!==_0x1328fa&&_0x1328fa!==this[_0x453b29]&&(this[_0x453b29]=_0x1328fa,_0x48abc8[_0x453b29]=_0x1328fa,_0x3e3965=!0x0);}_0x3e3965&&(_0x48abc8['authors']&&(_0x48abc8['authorsIds']=_0x48abc8['authors']['map'](_0x409767=>_0x409767['id']),delete _0x48abc8['authors']),this['fire']('_update',_0x48abc8,_0x37c0c4));}['toJSON'](){return{'id':this['id'],'name':this['name'],'creatorId':this['creator']?this['creator']['id']:null,'authorsIds':this['authors']['map'](_0x303759=>_0x303759['id']),'diffData':this['diffData'],'createdAt':this['createdAt'],'attributes':this['attributes'],'fromVersion':this['fromVersion'],'toVersion':this['toVersion']};}}class A extends _0x557740{['_revisions'];static get['requires'](){return[_0x564d83];}static get['pluginName'](){return'RevisionsRepository';}get['length'](){return this['_revisions']['length'];}constructor(_0x32f345){super(_0x32f345),this['_revisions']=new _0x27a848();}['afterInit'](){!function(_0x127022){function _0x52c988(_0x11b2d6,_0x53c387,_0xf42b7d){const _0x5168c2={};_0x5168c2[_0x168133([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])]={0x10:0xa,0x18:0xc,0x20:0xe},_0x5168c2[_0x168133([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],_0x5168c2[_0x168133([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],_0x5168c2[_0x168133([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],_0x5168c2[_0x168133([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],_0x5168c2[_0x168133([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],_0x5168c2[_0x168133([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],_0x5168c2[_0x168133([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],_0x5168c2[_0x168133([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],_0x5168c2[_0x168133([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],_0x5168c2[_0x168133([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 _0x1bb9b3=new Uint8Array(0x10);for(let _0x2f62d9=0xf;_0x2f62d9>=0x0;--_0x2f62d9)_0x1bb9b3[_0x2f62d9]=_0xf42b7d%0x100,_0xf42b7d=parseInt(_0xf42b7d/0x100);let _0x27ae5a=null,_0x266ba5=0x10;const _0x502663=new Uint8Array(_0x53c387),_0x13d89f=[],_0x55073d=[];_0x1783c5();for(let _0x590448=0x0;_0x590448<_0x11b2d6[_0x168133([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x590448++)0x10===_0x266ba5&&(_0x27ae5a=_0x58bcdf(_0x1bb9b3),_0x266ba5=0x0,_0xd6bdf8(_0x1bb9b3)),_0x11b2d6[_0x590448]^=_0x27ae5a[_0x266ba5++];return _0x11b2d6;function _0x14daca(_0x6f3a7d){const _0x4d5cd6=[];for(let _0x1360a7=0x0;_0x1360a7<_0x6f3a7d[_0x168133([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1360a7+=0x4)_0x4d5cd6[_0x168133([0x70,0x75,0x73,0x68])](_0x6f3a7d[_0x1360a7]<<0x18|_0x6f3a7d[_0x1360a7+0x1]<<0x10|_0x6f3a7d[_0x1360a7+0x2]<<0x8|_0x6f3a7d[_0x1360a7+0x3]);return _0x4d5cd6;}function _0xd6bdf8(_0x29c1b0){for(let _0x2ad2af=0xf;_0x2ad2af>=0x0;_0x2ad2af--){if(0xff!==_0x29c1b0[_0x2ad2af]){_0x29c1b0[_0x2ad2af]++;break;}_0x29c1b0[_0x2ad2af]=0x0;}}function _0x58bcdf(_0x42aa15){const _0x502085=_0x13d89f[_0x168133([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x1,_0x549441=[0x0,0x0,0x0,0x0];let t=_0x14daca(_0x42aa15);for(let _0x982d38=0x0;_0x982d38<0x4;_0x982d38++)t[_0x982d38]^=_0x13d89f[0x0][_0x982d38];for(let _0x454eba=0x1;_0x454eba<_0x502085;_0x454eba++){for(let _0x580df7=0x0;_0x580df7<0x4;_0x580df7++)_0x549441[_0x580df7]=_0x5168c2[_0x168133([0x54,0x31])][t[_0x580df7]>>0x18&0xff]^_0x5168c2[_0x168133([0x54,0x32])][t[(_0x580df7+0x1)%0x4]>>0x10&0xff]^_0x5168c2[_0x168133([0x54,0x33])][t[(_0x580df7+0x2)%0x4]>>0x8&0xff]^_0x5168c2[_0x168133([0x54,0x34])][0xff&t[(_0x580df7+0x3)%0x4]]^_0x13d89f[_0x454eba][_0x580df7];t=_0x549441[_0x168133([0x73,0x6c,0x69,0x63,0x65])]();}const _0x413a3=new Uint8Array(0x10);let _0xe08337;for(let _0x4650d2=0x0;_0x4650d2<0x4;_0x4650d2++)_0xe08337=_0x13d89f[_0x502085][_0x4650d2],_0x413a3[0x4*_0x4650d2]=0xff&(_0x5168c2[_0x168133([0x53])][t[_0x4650d2]>>0x18&0xff]^_0xe08337>>0x18),_0x413a3[0x4*_0x4650d2+0x1]=0xff&(_0x5168c2[_0x168133([0x53])][t[(_0x4650d2+0x1)%0x4]>>0x10&0xff]^_0xe08337>>0x10),_0x413a3[0x4*_0x4650d2+0x2]=0xff&(_0x5168c2[_0x168133([0x53])][t[(_0x4650d2+0x2)%0x4]>>0x8&0xff]^_0xe08337>>0x8),_0x413a3[0x4*_0x4650d2+0x3]=0xff&(_0x5168c2[_0x168133([0x53])][0xff&t[(_0x4650d2+0x3)%0x4]]^_0xe08337);return _0x413a3;}function _0x1783c5(){const _0x55afd4=_0x5168c2[_0x168133([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])][_0x502663[_0x168133([0x6c,0x65,0x6e,0x67,0x74,0x68])]];for(let _0x50e2f9=0x0;_0x50e2f9<=_0x55afd4;_0x50e2f9++)_0x13d89f[_0x168133([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]),_0x55073d[_0x168133([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]);const _0x4b34c0=0x4*(_0x55afd4+0x1),_0x340ae2=_0x502663[_0x168133([0x6c,0x65,0x6e,0x67,0x74,0x68])]/0x4,_0x2edea1=_0x14daca(_0x502663);let _0x232700;for(let _0x587f5e=0x0;_0x587f5e<_0x340ae2;_0x587f5e++)_0x232700=_0x587f5e>>0x2,_0x13d89f[_0x232700][_0x587f5e%0x4]=_0x2edea1[_0x587f5e],_0x55073d[_0x55afd4-_0x232700][_0x587f5e%0x4]=_0x2edea1[_0x587f5e];let _0x4f2a7a,_0x14fcd1=0x0,t=_0x340ae2;for(;t<_0x4b34c0;){_0x4f2a7a=_0x2edea1[_0x340ae2-0x1],_0x2edea1[0x0]^=_0x5168c2[_0x168133([0x53])][_0x4f2a7a>>0x10&0xff]<<0x18^_0x5168c2[_0x168133([0x53])][_0x4f2a7a>>0x8&0xff]<<0x10^_0x5168c2[_0x168133([0x53])][0xff&_0x4f2a7a]<<0x8^_0x5168c2[_0x168133([0x53])][_0x4f2a7a>>0x18&0xff]^_0x5168c2[_0x168133([0x72,0x63,0x6f,0x6e])][_0x14fcd1]<<0x18,_0x14fcd1+=0x1;for(let _0x3e8ea2=0x1;_0x3e8ea2<_0x340ae2/0x2;_0x3e8ea2++)_0x2edea1[_0x3e8ea2]^=_0x2edea1[_0x3e8ea2-0x1];_0x4f2a7a=_0x2edea1[_0x340ae2/0x2-0x1],_0x2edea1[_0x340ae2/0x2]^=_0x5168c2[_0x168133([0x53])][0xff&_0x4f2a7a]^_0x5168c2[_0x168133([0x53])][_0x4f2a7a>>0x8&0xff]<<0x8^_0x5168c2[_0x168133([0x53])][_0x4f2a7a>>0x10&0xff]<<0x10^_0x5168c2[_0x168133([0x53])][_0x4f2a7a>>0x18&0xff]<<0x18;for(let _0x257bbe=_0x340ae2/0x2+0x1;_0x257bbe<_0x340ae2;_0x257bbe++)_0x2edea1[_0x257bbe]^=_0x2edea1[_0x257bbe-0x1];let _0x2d2b70,_0x193a8a,_0x51fdfa=0x0;for(;_0x51fdfa<_0x340ae2&&t<_0x4b34c0;)_0x2d2b70=t>>0x2,_0x193a8a=t%0x4,_0x13d89f[_0x2d2b70][_0x193a8a]=_0x2edea1[_0x51fdfa],_0x55073d[_0x55afd4-_0x2d2b70][_0x193a8a]=_0x2edea1[_0x51fdfa++],t++;}for(let _0x14f763=0x1;_0x14f763<_0x55afd4;_0x14f763++)for(let _0x3665eb=0x0;_0x3665eb<0x4;_0x3665eb++)_0x4f2a7a=_0x55073d[_0x14f763][_0x3665eb],_0x55073d[_0x14f763][_0x3665eb]=_0x5168c2[_0x168133([0x55,0x31])][_0x4f2a7a>>0x18&0xff]^_0x5168c2[_0x168133([0x55,0x32])][_0x4f2a7a>>0x10&0xff]^_0x5168c2[_0x168133([0x55,0x33])][_0x4f2a7a>>0x8&0xff]^_0x5168c2[_0x168133([0x55,0x34])][0xff&_0x4f2a7a];}}function _0x168133(_0x170500){return _0x170500['map'](_0x3e5ec4=>String['fromCharCode'](_0x3e5ec4))['join']('');}(_0x225666=>{function _0x17f60e(){const _0x26c84a=[{[_0x168133([0x69,0x64])]:0x1,[_0x168133([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x168133([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73]),[_0x168133([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x168133([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x168133([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x168133([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x168133([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x168133([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x168133([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]:[{[_0x168133([0x69,0x64])]:0x2,[_0x168133([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x168133([0x54,0x72,0x61,0x63,0x6b,0x20,0x43,0x68,0x61,0x6e,0x67,0x65,0x73]),[_0x168133([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x168133([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x168133([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x168133([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x168133([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x168133([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]),[_0x168133([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x168133([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x168133([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x168133([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}}],[_0x168133([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x168133([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x168133([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x168133([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x168133([0x69,0x64])]:0x3,[_0x168133([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x168133([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e]),[_0x168133([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x168133([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x6f,0x6f,0x6b,0x75,0x70]),[_0x168133([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x168133([0x70,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x168133([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x168133([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x168133([0x69,0x64])]:0x4,[_0x168133([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x168133([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x20,0x48,0x69,0x73,0x74,0x6f,0x72,0x79]),[_0x168133([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x168133([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x168133([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x168133([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x168133([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x168133([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]),[_0x168133([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x168133([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x168133([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x168133([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x168133([0x69,0x64])]:0x5,[_0x168133([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x168133([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x20,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65]),[_0x168133([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x168133([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65,0x55,0x49]),[_0x168133([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x168133([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]),[_0x168133([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x168133([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x168133([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x168133([0x66,0x67,0x69])]:[0xc]}},{[_0x168133([0x69,0x64])]:0x6,[_0x168133([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x168133([0x46,0x6f,0x72,0x6d,0x61,0x74,0x20,0x50,0x61,0x69,0x6e,0x74,0x65,0x72]),[_0x168133([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x168133([0x46,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x55,0x49]),[_0x168133([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x168133([0x66,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x168133([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x168133([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x168133([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x168133([0x66,0x67,0x69])]:[0xc]}},{[_0x168133([0x69,0x64])]:0x7,[_0x168133([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x168133([0x53,0x6c,0x61,0x73,0x68,0x20,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64]),[_0x168133([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x168133([0x53,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x55,0x49]),[_0x168133([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x168133([0x73,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x168133([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x168133([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x168133([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x168133([0x66,0x67,0x69])]:[0xc]}},{[_0x168133([0x69,0x64])]:0x8,[_0x168133([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x168133([0x54,0x61,0x62,0x6c,0x65,0x20,0x6f,0x66,0x20,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73]),[_0x168133([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x168133([0x54,0x61,0x62,0x6c,0x65,0x4f,0x66,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x168133([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x168133([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]),[_0x168133([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x168133([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x168133([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x168133([0x66,0x67,0x69])]:[0xc]}},{[_0x168133([0x69,0x64])]:0x9,[_0x168133([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x168133([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65]),[_0x168133([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x168133([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x55,0x49]),[_0x168133([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x168133([0x74,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x168133([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x168133([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x168133([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x168133([0x66,0x67,0x69])]:[0xc,0xe]}},{[_0x168133([0x69,0x64])]:0xa,[_0x168133([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x168133([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]),[_0x168133([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x168133([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]),[_0x168133([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x168133([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]),[_0x168133([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x168133([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x168133([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x168133([0x66,0x67,0x69])]:[0xc]}},{[_0x168133([0x69,0x64])]:0xb,[_0x168133([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x168133([0x41,0x49,0x20,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74]),[_0x168133([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x168133([0x41,0x49,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74,0x55,0x49]),[_0x168133([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x168133([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x168133([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x168133([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x168133([0x69,0x64])]:0xc,[_0x168133([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x168133([0x50,0x72,0x6f,0x64,0x75,0x63,0x74,0x69,0x76,0x69,0x74,0x79,0x20,0x70,0x61,0x63,0x6b])},{[_0x168133([0x69,0x64])]:0xd,[_0x168133([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x168133([0x43,0x61,0x73,0x65,0x20,0x43,0x68,0x61,0x6e,0x67,0x65]),[_0x168133([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x168133([0x43,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x55,0x49]),[_0x168133([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x168133([0x63,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x168133([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x168133([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x168133([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x168133([0x66,0x67,0x69])]:[0xc]}},{[_0x168133([0x69,0x64])]:0xe,[_0x168133([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x168133([0x44,0x72,0x75,0x70,0x61,0x6c,0x20,0x70,0x61,0x63,0x6b]),[_0x168133([0x66,0x6f,0x72,0x62,0x69,0x64,0x64,0x65,0x6e,0x48,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x168133([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])},{[_0x168133([0x69,0x64])]:0xf,[_0x168133([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x168133([0x4d,0x75,0x6c,0x74,0x69,0x20,0x4c,0x65,0x76,0x65,0x6c,0x20,0x4c,0x69,0x73,0x74]),[_0x168133([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x168133([0x4d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x168133([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x168133([0x6d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x168133([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x168133([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x168133([0x69,0x64])]:0x10,[_0x168133([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x168133([0x4d,0x65,0x72,0x67,0x65,0x20,0x46,0x69,0x65,0x6c,0x64,0x73]),[_0x168133([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x168133([0x4d,0x65,0x72,0x67,0x65,0x46,0x69,0x65,0x6c,0x64,0x73,0x55,0x49]),[_0x168133([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x168133([0x6d,0x65,0x72,0x67,0x65,0x46,0x69,0x65,0x6c,0x64,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x168133([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x168133([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x168133([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x168133([0x66,0x67,0x69])]:[0xc]}}];return _0x2d76d5(_0x26c84a),_0x26c84a;function _0x5656d2(_0xe00eda){return 0x1<<_0xe00eda-0x1;}function _0x2d76d5(_0x1deb5d){_0x1deb5d[_0x168133([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0xbe08fc=>{_0xbe08fc[_0x168133([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]=_0x5656d2(_0xbe08fc[_0x168133([0x69,0x64])]),_0xf335eb(_0xbe08fc)&&_0xbe08fc[_0x168133([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x2d76d5(_0xbe08fc[_0x168133([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]);});}}function _0xf335eb(_0x394e4a){return _0x168133([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])in _0x394e4a;}const _0x45f9d6=[0x1,0x55,0x4e,0x73,0xc6,0xff,0x32,0x70,0x53,0x57,0xa1],_0x2f395d=[0x7f,0x22,0x6,0xd3,0xa7,0x56,0x92,0xc7,0x84,0xa0,0x12];function _0xbf199c(_0x273bcd){const _0xecb763=[0x1d,0xdd,0xaf,0x5a,0xe7,0x85,0xef,0xf0,0x4b,0xb4];return _0x453178(_0x273bcd,new Uint8Array([..._0x45f9d6,..._0xecb763,..._0x2f395d]));}function _0x453178(_0x2d6761,_0x1ca6cc){const _0x3e726f=_0x45bd04(_0x2d6761),_0x20f56d=Array[_0x168133([0x66,0x72,0x6f,0x6d])](_0x3c67dd(_0x3e726f)),_0x2af0e5=_0x20f56d[_0x168133([0x70,0x6f,0x70])](),_0x578265=_0x20f56d[_0x168133([0x70,0x6f,0x70])]();return _0x5aa507(_0x52c988(_0x20f56d,_0x1ca6cc,_0x578265+0x100*_0x2af0e5));}function _0x45bd04(_0x266605){const _0x2986c3=atob(_0x266605),[_0x4a0b33,_0xa59d96]=_0x2986c3[_0x168133([0x73,0x70,0x6c,0x69,0x74])](_0x168133([0x2d]));try{if(atob(_0xa59d96))return atob(_0x4a0b33);}catch(_0x53378d){}return _0x2986c3;}function _0xd2f72e(_0x4f9d69){try{const _0x189335=_0xbf199c(_0x4f9d69),_0x12f83c=JSON[_0x168133([0x70,0x61,0x72,0x73,0x65])](_0x189335),_0x5235b0=parseInt(_0x12f83c[_0x168133([0x31])]),_0x2600f7=_0x12f83c[_0x168133([0x32])]||'',_0x478c32=parseInt(_0x12f83c[_0x168133([0x33])]),_0xf979f4=parseInt(_0x12f83c[_0x168133([0x34])])||0x0,_0x575299=parseInt(_0x12f83c[_0x168133([0x35])])||0x0;return{[_0x168133([0x70,0x72,0x6f,0x64,0x75,0x63,0x74,0x4e,0x61,0x6d,0x65])]:_0x2600f7,[_0x168133([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])]:_0xf979f4,[_0x168133([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]:_0x5235b0,[_0x168133([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]:_0x478c32,[_0x168133([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]:_0x575299};}catch(_0x141ffd){return null;}}const _0x5c950e=_0x17f60e(),_0x143a06={[_0x168133([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])]:_0x3d3410,[_0x168133([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])]:_0x223f98,[_0x168133([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])]:_0x48fd8d},_0x2e7ba1=_0x225666[_0x168133([0x63,0x6f,0x6e,0x73,0x74,0x72,0x75,0x63,0x74,0x6f,0x72])][_0x168133([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])],_0x6f07c3=_0x168133([0x63,0x6f,0x6e,0x74,0x65,0x78,0x74])in _0x225666?_0x225666['context']:_0x225666['editor'],_0x29ef32=_0x168133([0x34,0x30,0x34,0x38,0x31,0x36,0x33,0x34]),_0x3c9abc=_0x168133([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]),_0x57b71d=_0x6f07c3['config']['get'](_0x168133([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x22e59a=_0x5c950e[_0x168133([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xf335eb)[_0x168133([0x66,0x69,0x6e,0x64])](_0x413da7=>_0x413da7[_0x168133([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]===_0x2e7ba1);function _0x1d346d(_0x32916c,_0x5826c4){_0x143a06[_0x5826c4[_0x168133([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]](_0x32916c,_0x5826c4),_0x5826c4[_0x168133([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x5826c4[_0x168133([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])][_0x168133([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x46248b=>_0x5f423f(_0x6f07c3,_0x46248b[_0x168133([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))[_0x168133([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x27221d=>_0x1d346d(_0x32916c,_0x27221d));}function _0x3d3410(_0xc77ea4,_0x1ac1e7){_0x10357e(_0x4526e6(_0xc77ea4,_0x1ac1e7),_0x1ac1e7);}function _0x223f98(_0x323e5f,_0x1e128f){function _0x3ae481(_0x201b6d,_0x3baea4){try{if(_0x5f423f(_0x6f07c3,_0x168133([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))&&_0x201b6d){const _0x465dbd=_0x1a9053(_0x6f07c3,_0x168133([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))[_0x168133([0x5f,0x65,0x78,0x65,0x63,0x75,0x74,0x65,0x53,0x75,0x67,0x67,0x65,0x73,0x74,0x69,0x6f,0x6e])];if(parseInt(_0x465dbd)/0x2>_0x201b6d[_0x168133([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])])return _0x134dae(_0x3baea4[_0x168133([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x168133([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}return _0x4526e6(_0x201b6d,_0x3baea4);}catch(_0x216c4d){return _0x134dae(_0x3baea4[_0x168133([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x168133([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}_0x10357e(_0x3ae481(_0x323e5f,_0x1e128f),_0x1e128f);}function _0x48fd8d(_0x3996f4,_0x2757a9){const _0x10e2b2=_0x2f395d[0x0]*_0x45f9d6[0x1],_0x4c72f1=_0x2f395d[0x0]*_0x45f9d6[0x2],_0x1459d3=_0x2f395d[0x2]*_0x45f9d6[0x2];_0x5f423f(_0x6f07c3,_0x168133([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x1a9053(_0x6f07c3,_0x168133([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x168133([0x73,0x74,0x61,0x74,0x65])]==_0x168133([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&(window[_0x30a825()]=_0x1459d3);function _0x1dac24(_0x7ba960,_0x57c28d){try{return _0xfae5dd()?_0x134dae(_0x57c28d[_0x168133([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x168133([0x56,0x61,0x6c,0x69,0x64])):_0x4526e6(_0x7ba960,_0x57c28d);}catch(_0x56e68f){return _0x134dae(_0x57c28d[_0x168133([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x168133([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x1e020b(_0x70339c,_0x4eb30f){const _0x32d4a8=0x7;if(_0x70339c==_0x4eb30f[_0x168133([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x168133([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]))_0x75e1e5();else{if(_0x70339c==_0x4eb30f[_0x168133([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x168133([0x54,0x72,0x69,0x61,0x6c])){const _0x495e7b=_0x2764eb();_0x495e7b&&_0x41d2e0(_0x495e7b,_0x4eb30f[_0x168133([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);const _0xae3b6c=_0xdc965();window[_0x168133([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x41d2e0(_0x168133([0x74,0x69,0x6d,0x65]),_0x4eb30f[_0x168133([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);},_0xae3b6c);const _0x473cc3=_0x1a9053(_0x6f07c3,_0x168133([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x168133([0x5f,0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73])];_0x473cc3[_0x168133([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x32d4a8?_0x41d2e0(_0x168133([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x4eb30f[_0x168133([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]):_0x473cc3['on'](_0x168133([0x61,0x64,0x64]),()=>{_0x473cc3[_0x168133([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x32d4a8&&_0x41d2e0(_0x168133([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x4eb30f[_0x168133([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);});}}}function _0x2764eb(){if(!_0x5f423f(_0x6f07c3,_0x168133([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x3f9ed3 in window)if(Number['isNaN'](Number(_0x3f9ed3))){if(window[_0x3f9ed3]===_0x10e2b2)return _0x168133([0x74,0x69,0x6d,0x65]);if(window[_0x3f9ed3]===_0x4c72f1)return _0x168133([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]);}return!0x1;}function _0xfae5dd(){if(!_0x5f423f(_0x6f07c3,_0x168133([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x3aebf4 in window)if(Number['isNaN'](Number(_0x3aebf4))&&window[_0x3aebf4]===_0x1459d3)return!0x0;return!0x1;}function _0x41d2e0(_0x2c436d,_0x5080b1){_0x75e1e5(),_0x134dae(_0x5080b1+_0x168133([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a])+_0x2c436d),window[_0x30a825()]=_0x2c436d===_0x168133([0x74,0x69,0x6d,0x65])?_0x10e2b2:_0x4c72f1;}function _0xdc965(){let _0x24665a=_0x2f395d[0x6]*_0x45f9d6[0x8]*_0x45f9d6[0x6];return _0x5f423f(_0x6f07c3,_0x168133([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x24665a/=0xa),_0x24665a;}function _0x75e1e5(){const _0x2e34d9=_0x6f07c3;function _0x596c5d(){_0x5f423f(_0x2e34d9,_0x168133([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&(_0x1a9053(_0x2e34d9,_0x168133([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x168133([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x168133([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x1a9053(_0x2e34d9,_0x168133([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x168133([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x1a9053(_0x2e34d9,_0x168133([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x168133([0x75,0x70,0x64,0x61,0x74,0x65])]=_0x20c617,_0x1a9053(_0x2e34d9,_0x168133([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x168133([0x73,0x61,0x76,0x65,0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e])]=_0x20c617,_0x2e34d9[_0x168133([0x6d,0x6f,0x64,0x65,0x6c])][_0x168133([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x20c617,_0x2e34d9[_0x168133([0x6d,0x6f,0x64,0x65,0x6c])][_0x168133([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x20c617,_0x2e34d9[_0x168133([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x168133([0x6d,0x6f,0x64,0x65,0x6c]))),_0x5f423f(_0x2e34d9,_0x168133([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x1a9053(_0x2e34d9,_0x168133([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x168133([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x168133([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x1a9053(_0x2e34d9,_0x168133([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x168133([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x1a9053(_0x2e34d9,_0x168133([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x168133([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])]=_0x20c617,_0x1a9053(_0x2e34d9,_0x168133([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x168133([0x5f,0x67,0x65,0x74,0x44,0x69,0x66,0x66])]=_0x20c617);}_0x2e34d9[_0x168133([0x73,0x74,0x61,0x74,0x65])]==_0x168133([0x72,0x65,0x61,0x64,0x79])?_0x596c5d():_0x2e34d9[_0x168133([0x6f,0x6e,0x63,0x65])](_0x168133([0x72,0x65,0x61,0x64,0x79]),()=>{if(_0x5f423f(_0x2e34d9,_0x168133([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&_0x596c5d(),_0x5f423f(_0x2e34d9,_0x168133([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))){const _0x45e13=_0x1a9053(_0x2e34d9,_0x168133([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79])),_0xb0da97=_0x45e13['getRevision'](0x0),_0x542834=_0x45e13['getEarlierVisibleRevision'](_0xb0da97[_0x168133([0x69,0x64])]);_0x1a9053(_0x2e34d9,_0x168133([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x168133([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])](_0xb0da97[_0x168133([0x69,0x64])],_0x542834?_0x542834[_0x168133([0x69,0x64])]:null,0x1)['then'](()=>_0x596c5d());}});}_0x1e020b(_0x1dac24(_0x3996f4,_0x2757a9),_0x2757a9);}function _0x4526e6(_0xcba56b,_0x1c3ed3){try{return _0xc78e28(_0x1c3ed3)?_0x134dae(_0x1c3ed3[_0x168133([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x168133([0x56,0x61,0x6c,0x69,0x64])):_0xcba56b&&_0x515e07(_0xcba56b[_0x168133([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])],_0x1c3ed3)?_0xcba56b[_0x168133([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]&&!window[_0x168133([0x6f,0x70,0x65,0x6e])][_0x168133([0x63,0x6c,0x6f,0x73,0x65,0x64])]||parseInt(_0x29ef32)/0x2>_0xcba56b[_0x168133([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]?_0x134dae(_0x1c3ed3[_0x168133([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x168133([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])):_0xcba56b[_0x168133([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]?_0x134dae(_0x1c3ed3[_0x168133([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x168133([0x54,0x72,0x69,0x61,0x6c])):_0x134dae(_0x1c3ed3[_0x168133([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x168133([0x56,0x61,0x6c,0x69,0x64])):_0x134dae(_0x1c3ed3[_0x168133([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x168133([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}catch(_0xd3882d){return _0x134dae(_0x1c3ed3[_0x168133([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x168133([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x10357e(_0x107a77,_0x3e8533){if(_0x6f07c3 instanceof _0x3e564d){const _0x225079=_0x6f07c3;_0x107a77==_0x3e8533[_0x168133([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x168133([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x1d87a3(_0x225079):_0x107a77==_0x3e8533[_0x168133([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x168133([0x54,0x72,0x69,0x61,0x6c])&&window[_0x168133([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x1d87a3(_0x225079),_0x134dae(_0x3e8533[_0x168133([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x168133([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65]));},_0x2f395d[0x6]*_0x45f9d6[0x8]*_0x45f9d6[0x6]),_0x225079[_0x168133([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])][_0x168133([0x6f,0x6e])](_0x168133([0x61,0x64,0x64]),(_0x5d5152,_0x2f7661)=>{_0x107a77!=_0x3e8533[_0x168133([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x168133([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])&&_0x107a77!=_0x3e8533[_0x168133([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x168133([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65])&&_0x107a77!=_0x3e8533[_0x168133([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x168133([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])||_0x4ea499(_0x2f7661);});}else{const _0x1ef6e7=_0x6f07c3;_0x107a77==_0x3e8533[_0x168133([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x168133([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x4ea499(_0x1ef6e7):_0x107a77==_0x3e8533[_0x168133([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x168133([0x54,0x72,0x69,0x61,0x6c])&&_0x1ef6e7[_0x168133([0x6f,0x6e])](_0x168133([0x72,0x65,0x61,0x64,0x79]),()=>{let _0x20a412=0x0;_0x1ef6e7[_0x168133([0x6d,0x6f,0x64,0x65,0x6c])][_0x168133([0x6f,0x6e])](_0x168133([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x126477,_0x46a929)=>{_0x46a929[0x0][_0x168133([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x20a412++,0x1f8===_0x20a412&&(_0x4ea499(_0x1ef6e7),_0x134dae(_0x3e8533[_0x168133([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x168133([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])),_0x126477[_0x168133([0x6f,0x66,0x66])]());},{'priority':_0x168133([0x68,0x69,0x67,0x68,0x65,0x73,0x74])});});}}function _0x134dae(_0x50d99a){const _0x4ea482=_0x30a825();return _0x6f07c3[_0x4ea482]=_0x50d99a,_0x50d99a;}function _0x30a825(){const _0x9f2b7f=String(window[_0x168133([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x168133([0x6e,0x6f,0x77])]())[_0x168133([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x168133([0x2e]),'');let _0xaca7fb='';for(let _0x518321=0x0;_0x518321<_0x9f2b7f[_0x168133([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x518321+=0x2){let _0x45d79c=parseInt(_0x9f2b7f[_0x168133([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x518321,_0x518321+0x2));_0x45d79c>=_0x3c9abc[_0x168133([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x45d79c-=_0x3c9abc[_0x168133([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0xaca7fb+=_0x3c9abc[_0x45d79c];}return _0xaca7fb;}function _0x1d87a3(_0x77906a){for(const _0x1f5c81 of _0x77906a[_0x168133([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])])_0x4ea499(_0x1f5c81);_0x1a9053(_0x77906a,_0x168133([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x168133([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])](!0x0),_0x1a9053(_0x77906a,_0x168133([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x168133([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])]=_0x20c617;}function _0x4ea499(_0x356985){function _0x452222(){_0x356985[_0x168133([0x6d,0x6f,0x64,0x65,0x6c])][_0x168133([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x20c617,_0x356985[_0x168133([0x6d,0x6f,0x64,0x65,0x6c])][_0x168133([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x20c617,_0x356985[_0x168133([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x168133([0x6d,0x6f,0x64,0x65,0x6c]));}_0x356985[_0x168133([0x73,0x74,0x61,0x74,0x65])]==_0x168133([0x72,0x65,0x61,0x64,0x79])?_0x452222():_0x356985[_0x168133([0x6f,0x6e,0x63,0x65])](_0x168133([0x72,0x65,0x61,0x64,0x79]),()=>_0x452222());}function _0x20c617(){return null;}function _0x515e07(_0x193a73,_0x46dd45){const _0x1cc426=!!(_0x193a73&_0x46dd45[_0x168133([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]),_0xf4896a=_0x3ddc82(_0x193a73,_0x46dd45);return _0x1cc426||_0xf4896a;}function _0x3ddc82(_0x5d978a,_0x3f1b58){const _0x49e898=(_0x3f1b58[_0x168133([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{})[_0x168133([0x66,0x67,0x69])]||null;return!!_0x49e898&&_0x5c950e[_0x168133([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5cf587=>_0x49e898[_0x168133([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5cf587[_0x168133([0x69,0x64])]))[_0x168133([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x21b47a=>!_0x3da8e9(_0x21b47a))[_0x168133([0x73,0x6f,0x6d,0x65])](_0x4cbe58=>!!(_0x5d978a&_0x4cbe58[_0x168133([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]));}function _0x3da8e9(_0x5d6055){const _0x40d9f3={[_0x168133([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])]:_0xaf3c14};return!!_0x5d6055['forbiddenHandler']&&_0x40d9f3[_0x5d6055['forbiddenHandler']]();}function _0xaf3c14(){return!window[_0x168133([0x44,0x72,0x75,0x70,0x61,0x6c])]||!_0x5f423f(_0x6f07c3,_0x168133([0x64,0x72,0x75,0x70,0x61,0x6c,0x50,0x6f,0x77,0x65,0x72,0x65,0x64,0x42,0x79]));}function _0xc78e28(_0x2c3c0e){if(!_0x5f423f(_0x6f07c3,_0x2c3c0e[_0x168133([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))return!0x0;const _0xa1d84d=_0x2c3c0e[_0x168133([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{},_0x20aa46=_0xa1d84d[_0x168133([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]||!0x1,_0x469ea3=_0xa1d84d[_0x168133([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]||!0x1,_0x3162d8=_0xa1d84d[_0x168133([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]||!0x1;if(_0x5f423f(_0x6f07c3,_0x168133([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x1a9053(_0x6f07c3,_0x168133([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x168133([0x73,0x74,0x61,0x74,0x65])]==_0x168133([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&_0x20aa46)return!0x0;if(_0x5f423f(_0x6f07c3,_0x168133([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))&&_0x1a9053(_0x6f07c3,_0x168133([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))[_0x168133([0x72,0x65,0x73,0x75,0x6c,0x74])]==_0x168133([0x65,0x6e,0x64])&&_0x469ea3)return!0x0;return!(!_0x5f423f(_0x6f07c3,_0x168133([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]))||_0x1a9053(_0x6f07c3,_0x168133([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]))[_0x168133([0x72,0x65,0x73,0x75,0x6c,0x74])]!=_0x168133([0x65,0x6e,0x64])||!_0x3162d8);}function _0x5f423f(_0x28e035,_0x1dd879){return _0x28e035[_0x168133([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x168133([0x68,0x61,0x73])](_0x1dd879);}function _0x1a9053(_0x83b919,_0x356530){return _0x83b919[_0x168133([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x168133([0x67,0x65,0x74])](_0x356530);}function _0x5aa507(_0x38dc75){let _0x37774b='';for(const _0x19142f of _0x38dc75)_0x37774b+=String[_0x168133([0x66,0x72,0x6f,0x6d,0x43,0x68,0x61,0x72,0x43,0x6f,0x64,0x65])](_0x19142f);return _0x37774b;}function _0x3c67dd(_0x362ef9){const _0x3a44b2=new Uint8Array(_0x362ef9[_0x168133([0x6c,0x65,0x6e,0x67,0x74,0x68])]);for(let _0x5b4836=0x0;_0x5b4836<_0x362ef9[_0x168133([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5b4836++)_0x3a44b2[_0x5b4836]=_0x362ef9[_0x168133([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x5b4836);return _0x3a44b2;}_0x22e59a&&_0x1d346d(_0xd2f72e(_0x57b71d),_0x22e59a);})(_0x127022);}(this);}['createRevision'](_0x3fda0e){const _0x4c583a=this['editor']['plugins']['get']('Users');return new a({'id':_0x3fda0e['id'],'name':_0x3fda0e['name'],'creator':_0x3fda0e['creatorId']?_0x4c583a['getUser'](_0x3fda0e['creatorId']):null,'diffData':_0x3fda0e['diffData']||_0x3fda0e['data'],'authors':_0x3fda0e['authorsIds']['map'](_0x5eba99=>_0x4c583a['getUser'](_0x5eba99)),'createdAt':new Date(_0x3fda0e['createdAt']),'attributes':_0x3fda0e['attributes'],'fromVersion':_0x3fda0e['fromVersion'],'toVersion':_0x3fda0e['toVersion']});}['addRevision'](_0x2c08ed,_0x1b9153=0x0){this['_revisions']['add'](_0x2c08ed,_0x1b9153);}['getRevision'](_0x1ca3ce){return this['_revisions']['get'](_0x1ca3ce);}['getRevisions'](_0x2934a7={'toJSON':!0x1}){const _0x4a0d0b=Array['from'](this['_revisions']);return _0x4a0d0b['reverse'](),_0x2934a7['toJSON']?_0x4a0d0b['map'](_0x32cc54=>_0x32cc54['toJSON']()):_0x4a0d0b;}['getIndex'](_0x2a3dc8){return this['_revisions']['getIndex'](_0x2a3dc8);}['getEarlierVisibleRevision'](_0x47717c){const [,_0x5f46fb]=this['getRevisionsIterator'](_0x47717c,{'direction':'earlier'});return _0x5f46fb;}['getLaterVisibleRevision'](_0x2d7e1e){const [,_0x1e17e1]=this['getRevisionsIterator'](_0x2d7e1e,{'direction':'later'});return _0x1e17e1;}['getRevisionsInDiff'](_0x199ef5){const _0x231370=[];for(const _0x3b28a1 of this['getRevisionsIterator'](_0x199ef5['newRevisionId']))if(_0x231370['push'](_0x3b28a1),_0x3b28a1['id']===_0x199ef5['oldRevisionId'])break;return _0x231370;}*['getRevisionsIterator'](_0x2593d8,{direction:_0x1ed372='earlier',filter:_0x1ab30b=_0xc645d2=>!0x0}={}){const _0x3b2018='earlier'===_0x1ed372?0x1:-0x1;let _0x3b626e=this['_revisions']['get'](_0x2593d8),_0x2bf449=this['getIndex'](_0x3b626e);for(yield _0x3b626e;_0x3b626e;){if(_0x2bf449+=_0x3b2018,_0x3b626e=this['getRevision'](_0x2bf449),!_0x3b626e)return;_0x1ab30b(_0x3b626e)&&(yield _0x3b626e);}}}function y(_0x37ed72,_0x5212bd,_0xb6786){const t=_0x37ed72['t'];switch(_0x5212bd){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'},_0xb6786);case'X_OF_Y_CHANGES':return t({'string':'%0\x20of\x20%1','id':'X_OF_Y_CHANGES'},_0xb6786);case'Show\x20previous\x20change':return t('Show\x20previous\x20change');case'Show\x20next\x20change':return t('Show\x20next\x20change');case'EDIT_X_OF_Y_REVISIONS':return t({'string':'Edit','id':'EDIT_X_OF_Y_REVISIONS'});case'Total':return t('Total');case'Revision\x20creator':return t('Revision\x20creator');case'Revision\x20author':return t('Revision\x20author');case'Revision\x20name':return t('Revision\x20name');case'Save\x20current\x20revision':return t('Save\x20current\x20revision');case'Accept':return t('Accept');case'Save':return t('Save');case'Cancel':return t('Cancel');case'Name\x20of\x20the\x20revision':return t('Name\x20of\x20the\x20revision');case'optional':return t('optional');case'PENDING_ACTION_REVISION_HISTORY':return t({'string':'Unsaved\x20change\x20in\x20revision\x20history.','id':'PENDING_ACTION_REVISION_HISTORY'});case'The\x20revision\x20name\x20cannot\x20be\x20empty.':return t('The\x20revision\x20name\x20cannot\x20be\x20empty.');case'Enter\x20the\x20revision\x20name':return t('Enter\x20the\x20revision\x20name');default:return'';}}const T={'c':_0x523077,'a':_0x420821,'e':_0x51d9d3,'r':_0x1a6abe,'u':_0x244ae2};class l extends _0x557740{['adapter'];['currentRevision'];['repository'];['_revisionDataBuilder'];['_source'];['_initialRevisionId'];['_bufferedUpdates'];['_pendingAction'];['_continueCurrentRevision'];['_startingVersion'];['_loadedStateData'];static get['pluginName'](){return'RevisionTracker';}static get['requires'](){return[_0x564d83,A,_0x189170];}constructor(_0x99f93){super(_0x99f93),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 _0x165985=_0x565755();this['_source']={'history':this['editor']['model']['document']['history'],'getLatestVersion':()=>Promise['resolve'](this['editor']['model']['document']['version']),'getCurrentRevisionId':()=>_0x165985},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 _0x326f1d=this['repository']['getRevision'](0x0),_0x154238=_0x326f1d&&null===_0x326f1d['creator']?_0x326f1d:null;if(this['_continueCurrentRevision']=!!_0x154238&&this['editor']['config']['get']('revisionHistory.resumeUnsavedRevision'),this['editor']['plugins']['has']('RealTimeCollaborationClient')){const _0x5f1bb3=this['_source']['getCurrentRevisionId'](),_0xe16d98=this['repository']['getRevision'](_0x5f1bb3);if(_0xe16d98)this['_startingVersion']=_0xe16d98['fromVersion'],this['_continueCurrentRevision']=!0x1;else{const _0x334a95=this['_source']['history']['_operations']['find'](_0x16fa7a=>!_0x16fa7a['_isInit']),_0x2d410a=_0x334a95?_0x334a95['baseVersion']:this['_source']['history']['version'];_0x326f1d?(_0x326f1d['toVersion']<_0x2d410a&&_0x326f1d['_update']({'toVersion':_0x2d410a}),this['_continueCurrentRevision']?(this['_source']['getCurrentRevisionId']=()=>_0x154238['id'],this['_startingVersion']=_0x154238['fromVersion']):(this['_startingVersion']=_0x326f1d['toVersion'],this['_continueCurrentRevision']=!0x1)):(this['_startingVersion']=_0x2d410a,this['_continueCurrentRevision']=!0x1);}}else _0x154238&&(this['editor']['model']['document']['history']['version']=Math['max'](_0x154238['toVersion'],this['editor']['model']['document']['history']['version']),_0x154238['fromVersion']===_0x154238['toVersion']?(0x0!==_0x154238['fromVersion']&&(this['_source']['getCurrentRevisionId']=()=>_0x154238['id']),this['_continueCurrentRevision']=!0x1):this['_continueCurrentRevision']&&(this['_source']['getCurrentRevisionId']=()=>_0x154238['id'],this['_startingVersion']=_0x154238['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',_0x422959=>!_0x422959);}async['afterInit'](){if(this['repository']['length']>0x0){const _0x59c7a1=this['repository']['getRevision'](0x0),_0xbb9851=await this['getRevisionDocumentData'](_0x59c7a1),_0x5aac27=await this['getRevisionRootsAttributes'](_0x59c7a1);this['_replaceEditorDataWithRevisionData'](_0xbb9851,_0x5aac27);}}['setSource'](_0x2cbb20){this['_source']=_0x2cbb20;}async['update'](){const _0x599e98=await this['_source']['getLatestVersion']();if(_0x599e98>this['currentRevision']['toVersion']){await this['_loadState']();const _0x43e887=this['buildRevisionData']({'revision':this['currentRevision'],'to':_0x599e98});_0x43e887['authors']=_0x43e887['authorsIds']['map'](_0x455e01=>this['editor']['plugins']['get']('Users')['getUser'](_0x455e01)),this['currentRevision']['_update'](_0x43e887);}}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'](_0x1c3d9d={},_0x1f6a53=null){const _0x2619f9=[];await this['_loadState'](),this['_continueCurrentRevision']=!0x1,_0x1f6a53>this['currentRevision']['toVersion']&&(_0x1f6a53=null),null===_0x1f6a53&&(_0x1f6a53=await this['_source']['getLatestVersion']());const _0x15e30d=this['_getFromVersion'](_0x1f6a53),_0x2f418b=this['buildRevisionData']({'from':_0x15e30d,'to':_0x1f6a53});if(this['currentRevision']['toVersion']<_0x1f6a53){const _0xe15124=this['buildRevisionData']({'revision':this['currentRevision'],'from':_0x1f6a53,'to':_0x1f6a53});_0xe15124['authors']=[],_0xe15124['authorsIds']=[],_0xe15124['id']=this['currentRevision']['id'],this['currentRevision']['_update'](_0xe15124,!0x0),delete _0xe15124['authors'],_0x2619f9['push'](_0xe15124);}_0x1c3d9d['creatorId']=this['editor']['plugins']['get']('Users')['me']['id'],_0x1c3d9d['name']=_0x1c3d9d['name']||null,_0x1c3d9d['id']=_0x1c3d9d['id']||_0x565755(),_0x1c3d9d={..._0x1c3d9d,..._0x2f418b};const _0x59a428=this['addRevisionData'](_0x1c3d9d);_0x2619f9['push'](_0x1c3d9d);const _0x121605=this['repository']['getIndex'](_0x59a428);if(0x0!==_0x121605){const _0x2ffcde=this['repository']['getRevision'](_0x121605-0x1);if(_0x2ffcde['fromVersion']!==_0x1f6a53){const _0x31f2f2=this['_revisionDataBuilder']['getData'](_0x1f6a53,_0x2ffcde['toVersion']),_0x434fcb={'id':_0x2ffcde['id'],'diffData':_0x31f2f2['diffData'],'authorsIds':_0x31f2f2['authorsIds'],'authors':_0x31f2f2['authorsIds']['map'](_0xf089c1=>this['editor']['plugins']['get']('Users')['getUser'](_0xf089c1)),'fromVersion':_0x1f6a53};_0x2ffcde===this['currentRevision']&&(_0x434fcb['createdAt']=new Date(_0x1c3d9d['createdAt']['getTime']()+0xa)),_0x2ffcde['_update'](_0x434fcb,!0x0),delete _0x434fcb['authors'],_0x2619f9['push'](_0x434fcb);}}if(this['adapter']){for(const _0x1b26dc of _0x2619f9)this['_bufferUpdate'](_0x1b26dc['id'],_0x1b26dc,!0x0);this['sendBufferedUpdates']();}return _0x59a428;}['addRevisionData'](_0x32433f){const _0x6c3bac=this['repository']['createRevision'](_0x32433f);return this['adapter']&&_0x6c3bac['on']('_update',(_0x13fdbc,_0x11cea0,_0x3b591d)=>{_0x3b591d||(this['_bufferUpdate'](_0x11cea0['id'],_0x11cea0,!0x0),this['sendBufferedUpdates']());}),this['repository']['addRevision'](_0x6c3bac,this['_findInsertionIndex'](_0x6c3bac)),_0x6c3bac;}async['getRevisionDocumentData'](_0x11b1a7){await this['_loadRevisionData'](_0x11b1a7);const _0xd01085={};for(const _0x10e903 in _0x11b1a7['diffData']){if(_0x11b1a7['diffData'][_0x10e903]['attachChange']&&!_0x11b1a7['diffData'][_0x10e903]['attachChange']['isAttached'])continue;const _0x2e124c=this['_removeRevisionMarkers'](JSON['parse'](_0x11b1a7['diffData'][_0x10e903]['insertions'])),_0x2a814a=this['editor']['editing']['view']['document'],_0x5dc682=new _0x4422da(_0x2a814a,_0x2e124c['map'](_0x5ab48c=>B(_0x5ab48c,this['editor'])));this['editor']['data']['processor']['useFillerType']('marked'),_0xd01085[_0x10e903]=this['editor']['data']['processor']['toData'](_0x5dc682),this['editor']['data']['processor']['useFillerType']('default');}return _0xd01085;}async['getRevisionRootsAttributes'](_0x41dde2){await this['_loadRevisionData'](_0x41dde2);const _0x138c3c={};for(const _0x5dd5b0 in _0x41dde2['diffData'])_0x41dde2['diffData'][_0x5dd5b0]['attachChange']&&!_0x41dde2['diffData'][_0x5dd5b0]['attachChange']['isAttached']||(_0x138c3c[_0x5dd5b0]=_0x41dde2['diffData'][_0x5dd5b0]['attributesAfter']||{});return _0x138c3c;}['sendBufferedUpdates'](){if(0x0===this['_bufferedUpdates']['size'])return;if(this['_isPendingUpdate'])return;let _0x3e5aac=Array['from'](this['_bufferedUpdates']['values']());this['_bufferedUpdates']['clear']();for(let _0x23dc08=0x0;_0x23dc08<_0x3e5aac['length'];_0x23dc08++){const _0x473db2=_0x3e5aac[_0x23dc08];let _0x59dc58=!0x1;for(const _0x2b84cc of Object['keys'](_0x473db2))void 0x0===_0x473db2[_0x2b84cc]?delete _0x473db2[_0x2b84cc]:'id'!==_0x2b84cc&&(_0x59dc58=!0x0);_0x59dc58||(_0x3e5aac[_0x23dc08]=null);}if(_0x3e5aac=_0x3e5aac['filter'](_0x32347f=>null!==_0x32347f),!_0x3e5aac['length'])return;for(let _0x30627b=0x0;_0x30627b<_0x3e5aac['length'];_0x30627b++){const _0x10667a=_0x3e5aac[_0x30627b];void 0x0!==_0x10667a['fromVersion']&&void 0x0===_0x10667a['toVersion']&&(_0x10667a['toVersion']=this['repository']['getRevision'](_0x10667a['id'])['toVersion']),void 0x0!==_0x10667a['toVersion']&&void 0x0===_0x10667a['fromVersion']&&(_0x10667a['fromVersion']=this['repository']['getRevision'](_0x10667a['id'])['fromVersion']);}const _0x2f9f71=this['editor']['config']['get']('collaboration.channelId');this['_isPendingUpdate']=!0x0,this['_addPendingAction'](),this['adapter']['updateRevisions'](_0x3e5aac,_0x2f9f71)['finally'](()=>{this['_isPendingUpdate']=!0x1;})['then'](_0x14b199=>{if(_0x14b199){for(const _0x3f24d7 of _0x14b199)this['setRevisionData']({'id':_0x3f24d7['id'],'createdAt':_0x3f24d7['createdAt']});}this['_removePendingAction'](),this['sendBufferedUpdates']();});}['_replaceEditorDataWithRevisionData'](_0x110d24,_0x50eb90){let _0x9df3ba=this['editor']['config']['get']('initialData'),_0x10d9f6=this['editor']['config']['get']('rootsAttributes');if(void 0x0===_0x9df3ba){_0x9df3ba={};for(const _0x5e10da of this['editor']['model']['document']['getRootNames']())_0x9df3ba[_0x5e10da]='';}if('string'==typeof _0x9df3ba&&(_0x9df3ba={'main':_0x9df3ba}),void 0x0===_0x10d9f6){_0x10d9f6={};for(const _0x5dd95f of this['editor']['model']['document']['getRootNames']())_0x10d9f6[_0x5dd95f]={};}let _0x4122a0=!0x1;const _0x5835c9=Object['keys'](_0x9df3ba),_0x57541b=Object['keys'](_0x110d24);for(const _0x50fbe0 of _0x5835c9){if(_0x9df3ba[_0x50fbe0]!==_0x110d24[_0x50fbe0]&&''!==_0x9df3ba[_0x50fbe0]['trim']()){_0x4122a0=!0x0;break;}if(!_0x161e30(_0x10d9f6[_0x50fbe0],_0x50eb90[_0x50fbe0])&&Object['keys'](_0x10d9f6[_0x50fbe0])['length']>0x0){_0x4122a0=!0x0;break;}}_0x4122a0||(_0x4122a0=_0x57541b['some'](_0xeb7cb2=>!this['editor']['model']['document']['getRoot'](_0xeb7cb2))),_0x4122a0&&_0x13b3df('editor-initial-data-replaced-with-revision-data',{'editorData':_0x9df3ba,'editorRootsAttributes':_0x10d9f6,'revisionData':_0x110d24,'revisionRootsAttributes':_0x50eb90}),this['editor']['config']['set']('initialData',_0x110d24),this['editor']['config']['set']('rootsAttributes',_0x50eb90);}['_addPendingAction'](){if(!this['_pendingAction']){const _0x16db7a=this['editor']['plugins']['get']('PendingActions');this['_pendingAction']=_0x16db7a['add'](y(this['editor']['locale'],'PENDING_ACTION_REVISION_HISTORY'));}}['_removePendingAction'](){this['_pendingAction']&&(this['editor']['plugins']['get']('PendingActions')['remove'](this['_pendingAction']),this['_pendingAction']=null);}['_findInsertionIndex'](_0x19bffb){const _0x14644f=this['repository']['getRevisions']();_0x14644f['reverse']();let _0x453097=0x0;for(;_0x453097<_0x14644f['length'];){const _0x4c7dca=_0x14644f[_0x453097];if(_0x4c7dca===this['currentRevision']){_0x453097++;continue;}if(_0x4c7dca['id']===this['_initialRevisionId'])break;const _0x53fa26=_0x19bffb['toVersion']-_0x4c7dca['toVersion']||_0x19bffb['fromVersion']-_0x4c7dca['fromVersion'];if(_0x53fa26>0x0)break;if(_0x53fa26<0x0)_0x453097++;else{if(!_0x19bffb['creator']&&_0x4c7dca['creator'])break;if(_0x4c7dca['creator']||!_0x19bffb['creator']){if(_0x19bffb['createdAt']>_0x4c7dca['createdAt'])break;_0x453097++;}else _0x453097++;}}return _0x453097;}['setRevisionData'](_0x1705c7){const _0x339f0b=this['repository']['getRevision'](_0x1705c7['id']);if(_0x1705c7['createdAt']&&(_0x1705c7['createdAt']=new Date(_0x1705c7['createdAt'])),_0x1705c7['authorsIds']){const _0x22c96f=this['editor']['plugins']['get']('Users');_0x1705c7['authors']=_0x1705c7['authorsIds']['map'](_0x1538e8=>_0x22c96f['getUser'](_0x1538e8));}_0x339f0b['_update'](_0x1705c7,!0x0);}['buildRevisionData']({revision:_0x42f15a=null,from:_0x4fb52d=null,to:_0x4d5cf2=null}){_0x4fb52d=null!==_0x4fb52d?_0x4fb52d:_0x42f15a['fromVersion'],_0x4d5cf2=null!==_0x4d5cf2?_0x4d5cf2:_0x42f15a['toVersion'];const _0x312ba1=this['_revisionDataBuilder']['getData'](_0x4fb52d,_0x4d5cf2),_0x2aef07={'diffData':_0x312ba1['diffData'],'authorsIds':_0x312ba1['authorsIds'],'fromVersion':_0x4fb52d,'toVersion':_0x4d5cf2};if(!_0x42f15a||_0x4d5cf2!==_0x42f15a['toVersion']){const _0x5ba621=_0x4d5cf2-0x1,_0x47b074=this['_source']['history']['getOperation'](_0x5ba621);_0x2aef07['createdAt']=_0x47b074&&_0x47b074['createdAt']||new Date();}if(this['_loadedStateData']&&_0x4fb52d===this['_loadedStateData']['fromVersion']){for(const _0x555bf2 of this['_loadedStateData']['authors'])_0x2aef07['authorsIds']['includes'](_0x555bf2['id'])||_0x2aef07['authorsIds']['push'](_0x555bf2['id']);}return _0x2aef07;}['_loadRevisionData'](_0x4f14bc){if(!_0x4f14bc||_0x4f14bc['diffData'])return Promise['resolve']();{const _0x333329=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0x333329,'revisionId':_0x4f14bc['id']})['then'](_0x25cfb2=>{_0x4f14bc['diffData']=_0x25cfb2['diffData'];});}}['_bufferUpdate'](_0x296235,_0x51eb4a,_0x3fda41){if(this['_bufferedUpdates']['has'](_0x296235)){const _0x41bcd1=this['_bufferedUpdates']['get'](_0x296235);_0x51eb4a=_0x3fda41?{..._0x41bcd1,..._0x51eb4a}:{..._0x51eb4a,..._0x41bcd1};}this['_bufferedUpdates']['set'](_0x296235,_0x51eb4a);}['_getFromVersion'](_0x1fc40c){const _0x4ded6b=this['repository']['getRevisions']();_0x4ded6b['reverse'](),_0x4ded6b['shift']();const _0x54182d=_0x4ded6b['find'](_0x3592a9=>_0x3592a9['toVersion']<=_0x1fc40c)['toVersion'];return _0x54182d<this['_startingVersion']?this['_startingVersion']:_0x54182d;}['_createInitialRevision'](_0x559a9e){const _0xf37d32=this['repository']['getRevision'](this['repository']['length']-0x1);if(_0xf37d32)this['_initialRevisionId']=_0xf37d32['id'];else{const _0xa57370=!this['editor']['model']['document']['roots']['find'](_0x10d76a=>this['editor']['model']['hasContent'](_0x10d76a)),_0x2c8b39=this['editor']['plugins']['get']('Users')['me']['id'],_0x4f8f5d=y(this['editor']['locale'],_0xa57370?'Empty\x20document':'Initial\x20revision');this['_makeRevision']({'from':_0x559a9e,'to':_0x559a9e,'id':this['_initialRevisionId'],'name':_0x4f8f5d,'creatorId':_0x2c8b39});}}['_createCurrentRevision'](_0x6d03c6){const _0x4d7287=this['_source']['getCurrentRevisionId']();this['currentRevision']=this['repository']['getRevision'](_0x4d7287),this['currentRevision']||(this['currentRevision']=this['_makeRevision']({'from':_0x6d03c6,'to':_0x6d03c6,'id':_0x4d7287,'name':'','creatorId':null}));}['_makeRevision']({name:_0x391697,from:_0x305555,to:_0x126168,creatorId:_0x30f6e8,id:_0x47d692}){const _0x344c6f=this['buildRevisionData']({'from':_0x305555,'to':_0x126168});_0x344c6f['name']=_0x391697,_0x344c6f['creatorId']=_0x30f6e8,_0x344c6f['id']=_0x47d692;const _0x43006d=this['addRevisionData'](_0x344c6f);return this['adapter']&&this['_bufferUpdate'](_0x344c6f['id'],_0x344c6f,!0x0),_0x43006d;}['_setConversion'](){this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'});}['_removeRevisionMarkers'](_0x8f0473){return(_0x8f0473=_0x8f0473['filter'](_0x49265c=>!_0x49265c['name']||'revision-start'!==_0x49265c['name']&&'revision-end'!==_0x49265c['name']))['forEach'](_0xa2aef7=>{'string'!=typeof _0xa2aef7&&(_0xa2aef7['children']=this['_removeRevisionMarkers'](_0xa2aef7['children']),_0xa2aef7['attributes']=_0xa2aef7['attributes']['filter'](_0x513340=>!_0x513340[0x0]['startsWith']('data-revision-')));}),_0x8f0473;}}function B(_0x184926,_0x29e546){const _0x3cd076=_0x29e546['editing']['view']['document'];if('string'==typeof _0x184926)return new _0x153831(_0x3cd076,_0x184926);{const _0x432e53=_0x184926['children']['map'](_0x2e8da9=>B(_0x2e8da9,_0x29e546));return new(T[_0x184926['type']]||_0x4b88aa)(_0x3cd076,_0x184926['name'],_0x184926['attributes'],_0x432e53);}}class J{['editor'];['source'];['_savedMetaData'];['_lastFrom'];['_lastTo'];['_markers'];['_diffRoots'];['_diffRootsAttributes'];['_baseRoots'];['_baseRootsAttributes'];['_idsRoots'];['_baseIdsRoots'];['_touched'];['_touchedMarkers'];['_touchedRoots'];['_revisionId'];['_startingRevisionId'];constructor(_0x214947){this['editor']=_0x214947,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'](_0x16ae8b){this['source']=_0x16ae8b;const _0x4b37d5=new Map(),_0x4fb660=new Map(),_0x3a7fa6=this['editor']['model']['document']['roots']['map'](_0x227299=>_0x227299['rootName']);for(const _0x11bffc of _0x3a7fa6){const _0x477974=this['editor']['model']['document']['getRoot'](_0x11bffc),_0xb7c919=q(_0x477974);_0x4b37d5['set'](_0x11bffc,_0xb7c919),_0x4fb660['set'](_0x11bffc,Object['fromEntries'](_0x477974['getAttributes']()));}const _0x30a6ca=Array['from'](this['editor']['model']['markers'])['map'](_0x40feb0=>[_0x40feb0['name'],_0x40feb0['getRange']()]),_0x39a864=this['source']['version'];this['_saveMetaData'](_0x39a864,_0x4b37d5,_0x30a6ca,_0x4fb660),this['_startingRevisionId']=this['_revisionId'];const _0x5379f8=new Map(),_0x17fc71=new Map();for(const _0x176be1 of _0x3a7fa6){const _0x4a05c9=G(_0x176be1);_0x5379f8['set'](_0x176be1,_0x4a05c9),_0x17fc71['set'](_0x176be1,{});}this['_saveMetaData'](Number['NEGATIVE_INFINITY'],_0x5379f8,[],_0x17fc71);}['getData'](_0x2c215d,_0x2cfa60){if(this['_lastFrom']===_0x2c215d&&this['_lastTo']<=_0x2cfa60)this['_savedMetaData']['size']>0x1&&this['_removeMetaData'](this['_lastTo']),this['_applyOperations'](this['_lastTo'],_0x2cfa60,!0x0);else{if(!this['_savedMetaData']['has'](_0x2c215d)){const _0x27b019=this['_getPreviousFrom'](_0x2c215d);this['_calculateMetaData'](_0x27b019,_0x2c215d,!0x1);}this['_calculateMetaData'](_0x2c215d,_0x2cfa60,!0x0);}return this['_lastFrom']=_0x2c215d,this['_lastTo']=_0x2cfa60,this['_getState']();}['loadState'](_0x474b68){this['_reset'](),this['_lastFrom']=_0x474b68['fromVersion'],this['_lastTo']=_0x474b68['toVersion'];for(const _0x45f942 in _0x474b68['diffData']){const _0xee8af5=_0x474b68['diffData'][_0x45f942]['attachChange'],_0x1a93c3=_0x1b8411(_0x474b68['diffData'][_0x45f942]['attributesBefore'])||{},_0x1521c2=this['_makeModelFromViewString'](_0x474b68['diffData'][_0x45f942]['deletions']);_0x1521c2['rootName']=_0x45f942,_0x1521c2['_isAttached']=!_0xee8af5||!_0xee8af5['isAttached'],_0x1521c2['isAttached']=()=>_0x1521c2['_isAttached'],this['_baseRoots']['set'](_0x45f942,_0x1521c2),this['_baseRootsAttributes']['set'](_0x45f942,_0x1a93c3),_0xee8af5&&this['_touchedRoots']['set'](_0x45f942,_0xee8af5);const _0x3ce9c4=this['_makeIdsRoot'](_0x1521c2);this['_baseIdsRoots']['set'](_0x45f942,_0x3ce9c4);for(const [_0x5340fa,_0x382a12]of _0x1521c2['markers']){if(!_0x5340fa['startsWith']('revision:'))continue;const _0x528b63=_0x5340fa['split'](':')[0x2];for(const _0xf48724 of _0x382a12['getWalker']({'singleCharacters':!0x0})){const _0x523fd4=this['_getVidAttributeName'](_0xf48724),_0x5e5139='elementEnd'==_0xf48724['type']?_0xf48724['previousPosition']['path']['slice'](0x0,-0x1):_0xf48724['previousPosition']['path'],_0x406c93=_0x3ce9c4['getNodeByPath'](_0x5e5139)['getAttribute'](_0x523fd4);this['_touched']['set'](_0x406c93,{'userId':_0x528b63});}}}this['_startingRevisionId']=this['_revisionId'];const _0x1956c3=[...Array(this['_revisionId'])['keys']()]['slice'](0x1)['filter'](_0x163061=>!this['_touched']['has'](_0x163061));let _0x230bae=0x0;const _0x2301af=new Map();for(const _0x183641 in _0x474b68['diffData']){const _0xbc4f74=_0x474b68['diffData'][_0x183641]['attachChange'],_0x5c13e5=_0x1b8411(_0x474b68['diffData'][_0x183641]['attributesAfter'])||{},_0x460ddc=this['_makeModelFromViewString'](_0x474b68['diffData'][_0x183641]['insertions']);_0x460ddc['rootName']=_0x183641,_0x460ddc['_isAttached']=!_0xbc4f74||_0xbc4f74['isAttached'],_0x460ddc['isAttached']=()=>_0x460ddc['_isAttached'],this['_diffRoots']['set'](_0x183641,_0x460ddc),this['_diffRootsAttributes']['set'](_0x183641,_0x5c13e5);const _0x1f814b=this['_makeIdsRoot'](_0x460ddc,Number['NEGATIVE_INFINITY']);this['_idsRoots']['set'](_0x183641,_0x1f814b),_0x2301af['set'](_0x183641,_0x460ddc['isAttached']()?_0x5c13e5:{});for(const [_0x31b536,_0x1e7e95]of _0x460ddc['markers']){if(!_0x31b536['startsWith']('revision:'))continue;const _0x55af36=_0x31b536['split'](':')[0x2];for(const _0x5efde7 of _0x1e7e95['getWalker']({'singleCharacters':!0x0})){const _0x393749=this['_getVidAttributeName'](_0x5efde7),_0x439431=this['_revisionId']++,_0x5eac2d='elementEnd'==_0x5efde7['type']?_0x5efde7['previousPosition']['path']['slice'](0x0,-0x1):_0x5efde7['previousPosition']['path'];_0x1f814b['getNodeByPath'](_0x5eac2d)['_setAttribute'](_0x393749,_0x439431),this['_touched']['set'](_0x439431,{'userId':_0x55af36});}}for(const _0x50ba50 of this['editor']['model']['createRangeIn'](_0x460ddc)['getWalker']({'singleCharacters':!0x0})){const _0x5b7e62=this['_getVidAttributeName'](_0x50ba50),_0x1d843e='elementEnd'==_0x50ba50['type']?_0x50ba50['previousPosition']['path']['slice'](0x0,-0x1):_0x50ba50['previousPosition']['path'],_0x4629c8=_0x1f814b['getNodeByPath'](_0x1d843e);_0x4629c8['getAttribute'](_0x5b7e62)>0x0||_0x4629c8['_setAttribute'](_0x5b7e62,_0x1956c3[_0x230bae++]);}for(const [_0x340047,_0x25cb6b]of _0x460ddc['markers'])_0x340047['startsWith']('revision:')||this['_markers']['set'](_0x340047,_0x25cb6b);}const _0x33c96c=G('$graveyard');this['_baseRoots']['set']('$graveyard',_0x33c96c),this['_baseIdsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x33c96c,0x1));const _0x2019ba=G('$graveyard');this['_diffRoots']['set']('$graveyard',_0x2019ba),this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x2019ba,0x1));const _0x382090=Array['from'](this['_diffRoots'])['map'](([_0x55268f,_0x1f3c75])=>[_0x55268f,q(_0x1f3c75)]);this['_saveMetaData'](this['_lastTo'],_0x382090,this['_markers'],_0x2301af);}['_makeModelFromViewString'](_0x5e48a5){const _0xae453a=JSON['parse'](_0x5e48a5),_0x18795d=this['editor']['editing']['view']['document'],_0x36d703=new _0x4422da(_0x18795d,_0xae453a['map'](_0x25bec3=>B(_0x25bec3,this['editor'])));return this['editor']['data']['toModel'](_0x36d703);}['_saveMetaData'](_0x301258,_0xa76159,_0x56ffde,_0x27f7c7){const _0x55750d=new Map(_0xa76159),_0x45a592=new Map(_0x1b8411(_0x27f7c7)),_0x230d6c=new Map();for(const [_0x2146d4,_0xa4a066]of _0x56ffde)_0x230d6c['set'](_0x2146d4,{'start':_0xa4a066['start']['clone'](),'end':_0xa4a066['end']['clone'](),'rootName':_0xa4a066['root']['rootName']});this['_savedMetaData']['set'](_0x301258,{'roots':_0x55750d,'markers':_0x230d6c,'rootsAttributes':_0x45a592});}['_removeMetaData'](_0x50b8a3){this['_savedMetaData']['delete'](_0x50b8a3);}['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'](_0x50bbb3,_0x12772f=null){let _0x5e50c6=null;_0x50bbb3['is']('documentFragment')||(_0x5e50c6=new ft(_0x50bbb3['name'],{'vid_start':null===_0x12772f?this['_revisionId']++:_0x12772f++}));const _0x613cc7=[];for(const _0x3af024 of _0x50bbb3['getChildren']())if(_0x3af024['is']('element')){_0x613cc7['push'](this['_makeIdsRoot'](_0x3af024,_0x12772f));const _0x1eeff1=_0x613cc7[_0x613cc7['length']-0x1];null!==_0x12772f&&(_0x12772f=_0x1eeff1['is']('element','$text')?_0x1eeff1['getAttribute']('vid')+0x1:_0x1eeff1['getAttribute']('vid_end')+0x1);}else{for(let _0x255e06=0x0;_0x255e06<_0x3af024['offsetSize'];_0x255e06++)_0x613cc7['push'](new ft('$text',{'vid':null===_0x12772f?this['_revisionId']++:_0x12772f++}));}if(_0x50bbb3['is']('documentFragment')){const _0x22e24b=G(_0x50bbb3['rootName']);return _0x22e24b['_insertChild'](0x0,_0x613cc7),_0x22e24b;}return _0x5e50c6['_setAttribute']('vid_end',null===_0x12772f?this['_revisionId']++:_0x12772f++),_0x5e50c6['_insertChild'](0x0,_0x613cc7),_0x5e50c6;}['_calculateMetaData'](_0x56d245,_0x2705a0,_0x7d32da){this['_reset']();const {roots:_0x5ab773,markers:_0x1f9741,rootsAttributes:_0x4cc9b1}=this['_savedMetaData']['get'](_0x56d245);this['_baseRoots']=new Map(_0x5ab773),this['_baseRootsAttributes']=new Map(_0x1b8411(_0x4cc9b1));for(const [_0x1c79f0,_0x2e49b9]of this['_baseRoots'])if('$graveyard'!==_0x1c79f0&&(this['_diffRoots']['set'](_0x1c79f0,q(_0x2e49b9)),this['_diffRootsAttributes']=new Map(_0x1b8411(_0x4cc9b1)),_0x7d32da)){const _0x159ba8=this['_revisionId'];this['_idsRoots']['set'](_0x1c79f0,this['_makeIdsRoot'](_0x2e49b9)),this['_baseIdsRoots']['set'](_0x1c79f0,this['_makeIdsRoot'](_0x2e49b9,_0x159ba8));}this['_startingRevisionId']=this['_revisionId'],this['_diffRoots']['set']('$graveyard',q(this['_baseRoots']['get']('$graveyard'))),_0x7d32da&&this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](this['_baseRoots']['get']('$graveyard')));for(const [_0x1dc56e,_0x2962ff]of _0x1f9741){const _0x437ac1=this['_baseRoots']['get'](_0x2962ff['rootName']),_0x524373=this['_diffRoots']['get'](_0x2962ff['rootName']),_0x4fa6a0=new vt(this['_fixPosition'](_0x2962ff['start'],_0x437ac1),this['_fixPosition'](_0x2962ff['end'],_0x437ac1)),_0x4403d5=this['_fixRange'](_0x4fa6a0,_0x524373);_0x437ac1['markers']['set'](_0x1dc56e,_0x4fa6a0),this['_markers']['set'](_0x1dc56e,_0x4403d5);}this['_applyOperations'](_0x56d245,_0x2705a0,_0x7d32da);}['_applyOperations'](_0x3ca61f,_0x7e18b7,_0x19c8c0){for(const _0x18a9aa of this['source']['getOperations'](_0x3ca61f,_0x7e18b7))this['_handleOperation'](_0x18a9aa,_0x19c8c0);for(const _0x3df248 of this['_diffRoots']['values']())_0x3df248['markers']['clear']();for(const [_0x307fd4,_0x31f211]of this['_markers']){this['_diffRoots']['get'](_0x31f211['root']['rootName'])['markers']['set'](_0x307fd4,_0x31f211['clone']());}const _0x511fd0=new Map(),_0x5245d8=new Map();for(const [_0x5aab46,_0x43635c]of this['_diffRoots'])_0x511fd0['set'](_0x5aab46,q(_0x43635c)),_0x5245d8['set'](_0x5aab46,this['_diffRootsAttributes']['get'](_0x5aab46));this['_saveMetaData'](_0x7e18b7,_0x511fd0,this['_markers'],_0x5245d8);}['_getPreviousFrom'](_0x24af63){const _0x1a4d95=Array['from'](this['_savedMetaData']['keys']());_0x1a4d95['sort']((_0x1d1248,_0x14e6f0)=>_0x1d1248-_0x14e6f0),_0x1a4d95['reverse']();for(const _0x51dca2 of _0x1a4d95)if(_0x51dca2<_0x24af63)return _0x51dca2;return Number['NEGATIVE_INFINITY'];}['_copyMarkers'](_0x4cc13c,_0x525816){const _0x9bb62a=Array['from'](_0x525816['markers'])['map'](([_0x7df25c,_0x5bba32])=>[_0x7df25c,this['_fixRange'](_0x5bba32,_0x4cc13c)]);_0x4cc13c['markers']=new Map(_0x9bb62a);}['_transformMarkers'](_0x38dc57){for(const _0x908806 of this['_markers']['values']()){const _0x28e7e1=_0x908806['getTransformedByOperation'](_0x38dc57),_0x39e93f=vt['_createFromRanges'](_0x28e7e1);_0x908806['start']=_0x39e93f['start'],_0x908806['end']=_0x39e93f['end'];}}['_handleOperation'](_0x1acd7d,_0x495360){if('addRoot'==_0x1acd7d['type']||'detachRoot'==_0x1acd7d['type'])return void this['_handleRootOperation'](_0x1acd7d,_0x495360);if('insert'==_0x1acd7d['type']){const _0x1626f1=_0x1acd7d['position']['root']['rootName'];this['_diffRoots']['has'](_0x1626f1)||(this['_diffRoots']['set'](_0x1626f1,G(_0x1626f1,!0x0)),this['_diffRootsAttributes']['set'](_0x1626f1,{}),_0x495360&&this['_idsRoots']['set'](_0x1626f1,G(_0x1626f1,!0x0)));}else{if('addRootAttribute'==_0x1acd7d['type']||'removeRootAttribute'==_0x1acd7d['type']||'changeRootAttribute'==_0x1acd7d['type'])return void this['_handleRootAttributeOperation'](_0x1acd7d);}const _0xedd6da=this['_cloneOperation'](_0x1acd7d,this['_diffRoots']);if('marker'!==_0x1acd7d['type']&&(_0xedd6da['_execute'](),this['_transformMarkers'](_0xedd6da)),_0x495360)switch(_0xedd6da['type']){case'insert':this['_handleInsertOperation'](_0x1acd7d);break;case'move':case'remove':case'reinsert':this['_handleMoveOperation'](_0x1acd7d);break;case'merge':this['_handleMergeOperation'](_0x1acd7d);break;case'split':this['_handleSplitOperation'](_0x1acd7d);break;case'marker':this['_handleMarkerOperation'](_0x1acd7d);}}['_cloneOperation'](_0x14a97c,_0x54d80b){const _0x2308dd=_0x14a97c['clone']();return _0x2308dd['_authorId']=_0x14a97c['_authorId'],this['_fixOperation'](_0x2308dd,_0x54d80b),_0x2308dd;}['_getBaseVids'](_0x97d12b){return _0x97d12b['map'](_0x452588=>{const _0x405b65=this['_getVidAttributeName'](_0x452588);return Number(_0x452588['item']['getAttribute'](_0x405b65));});}['_generateTape'](_0x1ad4ef,_0x1e94ff){if(_0x1ad4ef['is']('element','$text'))_0x1e94ff['push']({'item':_0x1ad4ef,'type':'text'});else{_0x1ad4ef['is']('element')&&_0x1e94ff['push']({'item':_0x1ad4ef,'type':'elementStart'});for(const _0x5bf6b8 of _0x1ad4ef['getChildren']())this['_generateTape'](_0x5bf6b8,_0x1e94ff);_0x1ad4ef['is']('element')&&_0x1e94ff['push']({'item':_0x1ad4ef,'type':'elementEnd'});}return _0x1e94ff;}['_getState'](){const _0x1be227=new Map(this['_touched']),_0x13af68=new Map(_0x1be227),_0x13304e=new Map(),_0x55f3ff={'insertions':{},'deletions':{}},_0xe735be={'insertions':{},'deletions':{}},_0x2e177c=new Map(),_0x1480c3=new Set([...this['_baseRoots']['keys'](),...this['_diffRoots']['keys']()]);_0x1480c3['delete']('$graveyard');for(const _0x2cdd3a of _0x1480c3){const _0x4f3f39=this['_diffRoots']['get'](_0x2cdd3a)||G(_0x2cdd3a,!0x1),_0x57bddb=this['_baseRoots']['get'](_0x2cdd3a)||G(_0x2cdd3a,!0x1);_0x4f3f39['isAttached']()||_0x57bddb['isAttached']()?(_0x55f3ff['insertions'][_0x2cdd3a]=q(_0x4f3f39),_0x55f3ff['deletions'][_0x2cdd3a]=q(_0x57bddb),this['_copyMarkers'](_0x55f3ff['deletions'][_0x2cdd3a],_0x57bddb),this['_copyMarkers'](_0x55f3ff['insertions'][_0x2cdd3a],_0x4f3f39),_0xe735be['insertions'][_0x2cdd3a]=this['_generateTape'](this['_idsRoots']['get'](_0x2cdd3a),[]),_0xe735be['deletions'][_0x2cdd3a]=this['_generateTape'](this['_baseIdsRoots']['get'](_0x2cdd3a)||G(_0x2cdd3a,!0x1),[])):_0x1480c3['delete'](_0x2cdd3a);}for(const _0x5c92b3 of _0x1480c3){const _0x367d83=_0xe735be['insertions'][_0x5c92b3];for(const _0x51719e of _0x367d83){const _0x62c3b1=this['_getVidAttributeName'](_0x51719e),_0x157372=_0x51719e['item']['getAttribute'](_0x62c3b1);_0x13af68['delete'](_0x157372),_0x157372>=this['_startingRevisionId']&&_0x13304e['set'](_0x157372,_0x1be227['get'](_0x157372));}}for(const _0x547b4e of _0x1480c3){const _0x24c80c=_0xe735be['insertions'][_0x547b4e],_0x49d4b0=this['_getBaseVids'](_0xe735be['deletions'][_0x547b4e]);let _0x43ca51=0x0;for(const _0x2da4da of _0x24c80c){const _0x18bf5c=this['_getVidAttributeName'](_0x2da4da),_0x147907=_0x2da4da['item']['getAttribute'](_0x18bf5c);if(!_0x13304e['has'](_0x147907)&&!_0x2e177c['has'](_0x147907)){if(_0x13af68['has'](_0x147907))_0x43ca51++;else{if(_0x147907!=_0x49d4b0[_0x43ca51]){const _0x2dc5df=_0x1be227['get'](_0x147907)||_0x1be227['get'](_0x49d4b0[_0x43ca51]);for(;_0x147907!=_0x49d4b0[_0x43ca51];)_0x13af68['has'](_0x49d4b0[_0x43ca51])||(_0x2e177c['set'](_0x49d4b0[_0x43ca51],_0x2dc5df),_0x1be227['set'](_0x49d4b0[_0x43ca51],_0x2dc5df)),_0x43ca51++;}_0x43ca51++;}}}}for(const _0x5c528e of _0x1480c3){const _0xa94e24=_0xe735be['insertions'][_0x5c528e];for(const _0x288cac of _0xa94e24){const _0xa483f5=this['_getVidAttributeName'](_0x288cac),_0x15b1a5=_0x288cac['item']['getAttribute'](_0xa483f5);if(_0x2e177c['has'](_0x15b1a5)){const _0x514ef1=_0x2e177c['get'](_0x15b1a5);_0x13af68['has'](_0x15b1a5)||_0x13af68['set'](_0x15b1a5,{..._0x514ef1}),_0x13304e['set'](_0x15b1a5,{..._0x514ef1});}}}for(const _0x27da54 of _0x13af68['keys']())_0x27da54>=this['_startingRevisionId']&&_0x13af68['delete'](_0x27da54);const _0x4b6794=new Map();for(const _0x5bd6ce of _0x1480c3){let _0x36158a=_0xe735be['insertions'][_0x5bd6ce];for(const _0x5b9c28 of _0x36158a)if(_0x5b9c28['item']['is']('element','tableCell')){const _0x264cbb=this['_getVidAttributeName'](_0x5b9c28),_0x3227a4=_0x5b9c28['item']['getAttribute'](_0x264cbb);if(_0x13304e['has'](_0x3227a4)){const _0x22d7c7=_0x5b9c28['item']['parent']['parent']['getAttribute']('vid_start'),_0x181e49=_0x4b6794['get'](_0x22d7c7)||new Set();_0x181e49['add'](_0x13304e['get'](_0x3227a4)['userId']),_0x4b6794['set'](_0x22d7c7,_0x181e49);}}_0x36158a=_0xe735be['deletions'][_0x5bd6ce];for(const _0x218c21 of _0x36158a)if(_0x218c21['item']['is']('element','tableCell')){const _0x203c70=this['_getVidAttributeName'](_0x218c21),_0x377e9e=_0x218c21['item']['getAttribute'](_0x203c70);if(_0x13af68['has'](_0x377e9e)){const _0x8ddc4=_0x218c21['item']['parent']['parent']['getAttribute']('vid_start'),_0xa6a717=_0x4b6794['get'](_0x8ddc4)||new Set();_0xa6a717['add'](_0x13af68['get'](_0x377e9e)['userId']),_0x4b6794['set'](_0x8ddc4,_0xa6a717);}}for(const _0x1b5bb1 of _0x4b6794['keys']())(_0x13304e['has'](_0x1b5bb1)||_0x13af68['has'](_0x1b5bb1))&&_0x4b6794['delete'](_0x1b5bb1);}for(const _0x1cd643 of _0x1480c3){const _0x35cf5f=_0xe735be['insertions'][_0x1cd643];let _0x33f593=null,_0x30b41e=null;for(const _0x20bb66 of _0x35cf5f){const _0x246d87=this['_getVidAttributeName'](_0x20bb66),_0x56b14e=_0x20bb66['item']['getAttribute'](_0x246d87),_0x2cab24=_0x4b6794['get'](_0x56b14e);_0x2cab24&&'elementStart'==_0x20bb66['type']&&(_0x33f593=Array['from'](_0x2cab24)[0x0],_0x30b41e=_0x20bb66['item']['getAttribute']('vid_end')),_0x33f593&&(_0x13af68['set'](_0x56b14e,{'userId':_0x33f593}),_0x13304e['set'](_0x56b14e,{'userId':_0x33f593})),_0x56b14e==_0x30b41e&&(_0x33f593=null,_0x30b41e=null);}}const _0x14b95d={},_0x345cd0=new Set();for(const _0x5a0430 of _0x1480c3){const _0x5276da=_0x55f3ff['deletions'][_0x5a0430],_0x52fc64=_0x55f3ff['insertions'][_0x5a0430];for(const {userId:_0x179e50}of this['_touchedMarkers']['values']())null!==_0x179e50&&_0x345cd0['add'](_0x179e50);for(const {userId:_0x42229f}of this['_touchedRoots']['values']())null!==_0x42229f&&_0x345cd0['add'](_0x42229f);this['_markChanges'](_0x52fc64,_0xe735be['insertions'][_0x5a0430],_0x13304e,'insertion',_0x345cd0),this['_markChanges'](_0x5276da,_0xe735be['deletions'][_0x5a0430],_0x13af68,'deletion',_0x345cd0),_0x14b95d[_0x5a0430]={'insertions':this['_prepareViewToSave'](_0x52fc64),'deletions':this['_prepareViewToSave'](_0x5276da),'attachChange':this['_touchedRoots']['get'](_0x5a0430)||null,'attributesBefore':_0x1b8411(this['_baseRootsAttributes']['get'](_0x5a0430))||{},'attributesAfter':_0x1b8411(this['_diffRootsAttributes']['get'](_0x5a0430))};}return{'diffData':_0x14b95d,'authorsIds':Array['from'](_0x345cd0)};}['_processRootBeforeSave'](_0x511dd3){for(const [,_0x11a826]of _0x511dd3['markers']){const _0x4b213b=_0x11a826['start']['getAncestors']()['filter'](_0x186eff=>'tableCell'==_0x186eff['name']);for(const _0x124208 of _0x4b213b)0x1==_0x124208['childCount']&&_0x124208['getChild'](0x0)['is']('element','paragraph')&&_0x124208['getChild'](0x0)['_setAttribute']('keepParagraph',!0x0);}}['_prepareViewToSave'](_0x760bb4){this['_processRootBeforeSave'](_0x760bb4);const _0x5d6f6f=this['editor']['data']['toView'](_0x760bb4,{}),_0x98784b=Array['from'](_0x5d6f6f['getChildren']())['map'](_0x35e234=>this['_getViewJson'](_0x35e234));return JSON['stringify'](_0x98784b);}['_getViewJson'](_0x2bf9d2){if(_0x2bf9d2['is']('$text'))return _0x2bf9d2['data'];{const _0x2df8b4=_0x2bf9d2;return{'type':Object['keys'](T)['find'](_0x4acf60=>_0x2bf9d2 instanceof T[_0x4acf60]),'name':_0x2df8b4['name'],'attributes':Array['from'](_0x2df8b4['getAttributes']()),'children':Array['from'](_0x2df8b4['getChildren']())['map'](_0x29e8c4=>this['_getViewJson'](_0x29e8c4))};}}['_markChanges'](_0x2224d6,_0x552c8c,_0x2f2543,_0x16b1ef,_0x26c20b){let _0x3827a2=null,_0x5b2a1c=null,_0x181d75=0x0;const _0x3c8192=this['editor']['model'];for(let _0x49fb5a=0x0;_0x49fb5a<_0x552c8c['length'];_0x49fb5a++){const _0x238231=this['_getVidAttributeName'](_0x552c8c[_0x49fb5a]),_0x43cfe8=_0x552c8c[_0x49fb5a]['item']['getAttribute'](_0x238231),_0x37c5e9=_0x2f2543['get'](_0x43cfe8),_0x3e519c=_0x49fb5a==_0x552c8c['length']-0x1;(!_0x3827a2&&_0x37c5e9&&(_0x3827a2=_0x37c5e9,_0x5b2a1c=_0x552c8c[_0x49fb5a]),_0x3827a2&&(!_0x37c5e9||_0x37c5e9['userId']!=_0x3827a2['userId']))&&(_0x116391(_0x37c5e9,L(_0x5b2a1c,_0x2224d6,_0x3c8192),L(_0x552c8c[_0x49fb5a],_0x2224d6,_0x3c8192)),_0x3827a2=_0x37c5e9||null,_0x5b2a1c=_0x37c5e9?_0x552c8c[_0x49fb5a]:null),_0x3827a2&&_0x3e519c&&_0x116391(_0x37c5e9,L(_0x5b2a1c,_0x2224d6,_0x3c8192),W(_0x552c8c[_0x49fb5a],_0x2224d6,_0x3c8192));}function _0x116391(_0x5f1153,_0x9a2cfb,_0x34e8b7){const _0x2573aa=_0x3827a2['userId'],_0x27fb52='revision:'+_0x16b1ef+':'+_0x2573aa+':'+_0x181d75++,_0x230836=_0x3c8192['createRange'](_0x9a2cfb,_0x34e8b7);_0x2224d6['markers']['set'](_0x27fb52,_0x230836),null!==_0x2573aa&&_0x26c20b['add'](_0x2573aa);}}['_getVidAttributeName'](_0x4ddf6f){switch(_0x4ddf6f['type']){case'elementStart':return'vid_start';case'elementEnd':return'vid_end';default:return'vid';}}['_fixOperation'](_0x5652f9,_0x3b32f9){_0x5652f9['baseVersion']=null;for(const _0xa58e65 in _0x5652f9){const _0x546909=_0x5652f9[_0xa58e65];if(_0x546909 instanceof gt){const _0x2da62c=_0x3b32f9['get'](_0x546909['root']['rootName']);_0x5652f9[_0xa58e65]=this['_fixPosition'](_0x546909,_0x2da62c);}if(_0x546909 instanceof vt){const _0x3c2692=_0x3b32f9['get'](_0x546909['root']['rootName']);_0x5652f9[_0xa58e65]=this['_fixRange'](_0x546909,_0x3c2692);}'root'===_0xa58e65&&(_0x5652f9['root']=_0x3b32f9['get'](_0x5652f9['root']['rootName']));}}['_fixRange'](_0x27268a,_0x1524b8){return this['editor']['model']['createRange'](this['_fixPosition'](_0x27268a['start'],_0x1524b8),this['_fixPosition'](_0x27268a['end'],_0x1524b8));}['_fixPosition'](_0x5a945d,_0x4a0ddd){return this['editor']['model']['createPositionFromPath'](_0x4a0ddd,_0x5a945d['path'],_0x5a945d['stickiness']);}['_handleInsertOperation'](_0x585868){const _0x4cfa4d=this['_idsRoots']['get'](_0x585868['position']['root']['rootName']),_0x24aaa6=this['_fixPosition'](_0x585868['position'],_0x4cfa4d),_0x3188b6=null===_0x585868['_authorId']?null:_0x585868['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x1a7f83=_0x24aaa6['parent'],_0x7626ba=this['_revisionId'],_0x4a3b84=[];for(const _0x5d06d2 of _0x585868['nodes'])if(_0x5d06d2['is']('element'))_0x4a3b84['push'](this['_makeIdsRoot'](_0x5d06d2));else{for(let _0x2d1910=0x0;_0x2d1910<_0x5d06d2['offsetSize'];_0x2d1910++)_0x4a3b84['push'](new ft('$text',{'vid':this['_revisionId']++}));}const _0x508a82=this['_revisionId'];for(let _0xf8191d=_0x7626ba;_0xf8191d<_0x508a82;_0xf8191d++)this['_touched']['set'](_0xf8191d,{'userId':_0x3188b6});_0x1a7f83['_insertChild'](_0x24aaa6['offset'],_0x4a3b84);}['_handleMoveOperation'](_0xbc87a4){(_0xbc87a4=this['_cloneOperation'](_0xbc87a4,this['_idsRoots']))['_execute']();const _0x3b0717=null===_0xbc87a4['_authorId']?null:_0xbc87a4['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x542da4=_0xbc87a4['getMovedRangeStart'](),_0x337255=_0x542da4['parent'],_0x15243d=_0x542da4['offset'];!function _0x1db4d4(_0x3aef07,_0x3473da,_0x29523e,_0x3da0fd){for(let _0x1792c5=_0x29523e;_0x1792c5<_0x3da0fd;_0x1792c5++){const _0x382300=_0x3473da['getChild'](_0x1792c5);_0x382300['is']('element','$text')?_0x3aef07['set'](_0x382300['getAttribute']('vid'),{'userId':_0x3b0717}):(_0x3aef07['set'](_0x382300['getAttribute']('vid_start'),{'userId':_0x3b0717}),_0x1db4d4(_0x3aef07,_0x382300,0x0,_0x382300['childCount']),_0x3aef07['set'](_0x382300['getAttribute']('vid_end'),{'userId':_0x3b0717}));}}(this['_touched'],_0x337255,_0x15243d,_0x15243d+_0xbc87a4['howMany']);}['_handleMergeOperation'](_0x19f373){const _0x28ec5a=null===(_0x19f373=this['_cloneOperation'](_0x19f373,this['_idsRoots']))['_authorId']?null:_0x19f373['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x4fb33b=_0x19f373['targetPosition']['parent'],_0x3a4370=_0x19f373['sourcePosition']['parent'],_0x4f0117=_0x4fb33b['getAttribute']('vid_end'),_0x4330be=_0x3a4370['getAttribute']('vid_start');_0x4fb33b['_setAttribute']('vid_end',_0x3a4370['getAttribute']('vid_end')),_0x3a4370['_setAttribute']('vid_end',_0x4f0117),this['_touched']['set'](_0x4330be,{'userId':_0x28ec5a}),this['_touched']['set'](_0x4f0117,{'userId':_0x28ec5a}),_0x19f373['_execute']();}['_handleSplitOperation'](_0x1a8f78){const _0x1de3c8=null===(_0x1a8f78=this['_cloneOperation'](_0x1a8f78,this['_idsRoots']))['_authorId']?null:_0x1a8f78['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x59de4e=_0x1a8f78['graveyardPosition'],_0x289f5c=_0x1a8f78['splitPosition']['parent'];_0x1a8f78['_execute']();const _0x4fe13a=_0x289f5c['getAttribute']('vid_end'),_0x9f9355=_0x1a8f78['insertionPosition']['nodeAfter'];if(_0x59de4e){const _0x17bda5=_0x9f9355['getAttribute']('vid_end'),_0x533ba4=_0x289f5c['getAttribute']('vid_end');_0x289f5c['_setAttribute']('vid_end',_0x17bda5),_0x9f9355['_setAttribute']('vid_end',_0x533ba4),this['_touched']['set'](_0x289f5c['getAttribute']('vid_end'),{'userId':_0x1de3c8}),this['_touched']['set'](_0x9f9355['getAttribute']('vid_start'),{'userId':_0x1de3c8});}else{const _0x56acf1=this['_revisionId']++,_0x52004b=this['_revisionId']++;_0x289f5c['_setAttribute']('vid_end',_0x56acf1),_0x9f9355['_setAttribute']('vid_start',_0x52004b),_0x9f9355['_setAttribute']('vid_end',_0x4fe13a),this['_touched']['set'](_0x56acf1,{'userId':_0x1de3c8}),this['_touched']['set'](_0x52004b,{'userId':_0x1de3c8});}}['_handleMarkerOperation'](_0x182f3b){if(!_0x182f3b['affectsData'])return;const _0x209d66=(_0x182f3b=this['_cloneOperation'](_0x182f3b,this['_diffRoots']))['oldRange']?_0x182f3b['oldRange']['root']:null,_0x59964f=_0x182f3b['newRange']?_0x182f3b['newRange']['root']:null;_0x209d66&&this['_markers']['delete'](_0x182f3b['name']),_0x59964f&&this['_markers']['set'](_0x182f3b['name'],_0x182f3b['newRange']['clone']());const _0x26af19=null===_0x182f3b['_authorId']?null:_0x182f3b['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x2afb3a=_0x182f3b['name'];if(!this['_touchedMarkers']['has'](_0x2afb3a))return void this['_touchedMarkers']['set'](_0x2afb3a,{'range':_0x182f3b['oldRange'],'userId':_0x26af19});const _0x4f4123=this['_touchedMarkers']['get'](_0x2afb3a),_0xabc78c=_0x4f4123['range'],_0x2cd33a=_0x182f3b['newRange'];null==_0xabc78c&&null==_0x2cd33a||_0xabc78c&&_0x2cd33a&&_0xabc78c['isEqual'](_0x2cd33a)?this['_touchedMarkers']['delete'](_0x182f3b['name']):_0x4f4123['userId']=_0x26af19;}['_handleRootOperation'](_0x53ca13,_0x2e8498){this['_diffRoots']['has'](_0x53ca13['rootName'])?this['_diffRoots']['get'](_0x53ca13['rootName'])['_isAttached']=_0x53ca13['isAdd']:(this['_diffRoots']['set'](_0x53ca13['rootName'],G(_0x53ca13['rootName'],!0x0)),this['_diffRootsAttributes']['set'](_0x53ca13['rootName'],{}),_0x2e8498&&this['_idsRoots']['set'](_0x53ca13['rootName'],G(_0x53ca13['rootName'],!0x0)));const _0x2a9351=null===_0x53ca13['_authorId']?null:_0x53ca13['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x2e84a0=this['_touchedRoots']['get'](_0x53ca13['rootName']);_0x2e84a0&&_0x2e84a0['userId']===_0x2a9351?this['_touchedRoots']['delete'](_0x53ca13['rootName']):this['_touchedRoots']['set'](_0x53ca13['rootName'],{'userId':_0x2a9351,'isAttached':_0x53ca13['isAdd']});}['_handleRootAttributeOperation'](_0xa30066){const _0x198e31=this['_diffRootsAttributes']['get'](_0xa30066['root']['rootName']);null===_0xa30066['newValue']?delete _0x198e31[_0xa30066['key']]:_0x198e31[_0xa30066['key']]=_0xa30066['newValue'];}}function q(_0x1ddca7){const _0xd2350=G(_0x1ddca7['rootName'],_0x1ddca7['isAttached']());for(const _0x325616 of _0x1ddca7['getChildren']()){const _0x326a34=_0x325616['_clone'](!0x0);_0xd2350['_appendChild'](_0x326a34);}return _0xd2350;}function G(_0x5ddce0,_0x3a00d5=!0x0){const _0x16b0e2=new wt();return _0x16b0e2['rootName']=_0x5ddce0,_0x16b0e2['_isAttached']=_0x3a00d5,_0x16b0e2['isAttached']=()=>_0x16b0e2['_isAttached'],_0x16b0e2;}function L(_0x560bef,_0x38c474,_0x35328e){const _0xaea194='elementEnd'==_0x560bef['type']?_0x35328e['createPositionAt'](_0x560bef['item'],'end'):_0x35328e['createPositionBefore'](_0x560bef['item']);return _0x35328e['createPositionFromPath'](_0x38c474,_0xaea194['path'],_0xaea194['stickiness']);}function W(_0x4ed059,_0x54dd30,_0x183764){const _0x1114ff='elementStart'==_0x4ed059['type']?_0x183764['createPositionAt'](_0x4ed059['item'],0x0):_0x183764['createPositionAfter'](_0x4ed059['item']);return _0x183764['createPositionFromPath'](_0x54dd30,_0x1114ff['path'],_0x1114ff['stickiness']);}class ns extends _0x15d4d1{['focusTracker'];['keystrokes'];['revisionNameInputView'];constructor(_0x8dbeee,_0x59cb5e){super(_0x8dbeee),this['focusTracker']=new _0x41fab8(),this['keystrokes']=new _0x1f22af(),this['set']('revisionNameInputValue',''),this['revisionNameInputView']=this['_createRevisionNameInput'](_0x59cb5e),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'](),_0x510005({'view':this}),this['focusTracker']['add'](this['revisionNameInputView']['element']),this['keystrokes']['listenTo'](this['element']);const _0x5b6f12=_0xc27e5e=>_0xc27e5e['stopPropagation']();this['keystrokes']['set']('arrowright',_0x5b6f12),this['keystrokes']['set']('arrowleft',_0x5b6f12),this['keystrokes']['set']('arrowup',_0x5b6f12),this['keystrokes']['set']('arrowdown',_0x5b6f12);}['focus'](){this['revisionNameInputView']['focus']();}get['revisionName'](){return this['revisionNameInputView']['fieldView']['element']['value']['trim']();}set['revisionName'](_0x1f23d3){this['revisionNameInputView']['fieldView']['element']['value']=_0x1f23d3['trim']();}['reset'](){this['revisionNameInputView']['fieldView']['element']['value']='',this['revisionNameInputView']['errorText']=null;}['_createRevisionNameInput'](_0x3b9ea6){const _0xc46192=new at(this['locale'],_0xac2b2e),_0x3e2c83=_0xc46192['fieldView'];_0x3e2c83['extendTemplate']({'attributes':{'maxlength':'220'}});let _0x3b76b9=y(this['locale'],'Name\x20of\x20the\x20revision');return!_0x3b9ea6&&(_0x3b76b9+='\x20('+y(this['locale'],'optional')+')'),(_0xc46192['label']=_0x3b76b9,_0x3e2c83['on']('input',()=>{this['revisionNameInputValue']=_0x3e2c83['element']['value']['trim']();}),_0xc46192);}}class u extends _0x557740{static get['pluginName'](){return'RevisionHistoryUI';}static get['requires'](){return[l];}['_saveRevisionFormView'];['init'](){const _0x88ce2f=this['editor'],_0x420e74=_0x88ce2f['plugins']['get']('RevisionTracker');_0x88ce2f['ui']['componentFactory']['add']('revisionHistory',_0x4396c5=>{const _0x89ea6c=_0x1707e6(_0x4396c5),_0x462cee=_0x89ea6c['panelView']['children'],_0xb95cb3=new te(_0x4396c5),_0x27e93b=new _0x278575(_0x4396c5),_0x57dbdb=new _0x35fca5(_0x4396c5),_0x4234cf=new _0x278575(_0x4396c5),_0x18d0f7=new _0x35fca5(_0x4396c5);return _0x89ea6c['bind']('isEnabled')['to'](_0x420e74,'isReady',_0x420e74,'isEnabled',_0x88ce2f,'isReadOnly',(_0x20deeb,_0x32f9e2,_0x103f08)=>_0x20deeb&&_0x32f9e2&&!_0x103f08),_0x89ea6c['buttonView']['set']({'icon':_0x128e1a['history'],'label':y(_0x4396c5,'Revision\x20history'),'tooltip':!0x0}),_0x57dbdb['set']({'label':y(_0x4396c5,'Save\x20current\x20revision'),'withText':!0x0,'role':'menuitem'}),_0x57dbdb['bind']('isEnabled')['to'](_0x420e74,'isReady',_0x420e74,'isEnabled',_0x88ce2f,'isReadOnly',(_0x34ba98,_0x199c38,_0xfcf387)=>_0x34ba98&&_0x199c38&&!_0xfcf387),_0x57dbdb['on']('execute',()=>this['_showDialog']()),_0x18d0f7['set']({'label':y(_0x4396c5,'Open\x20revision\x20history'),'withText':!0x0,'role':'menuitem'}),_0x18d0f7['bind']('isEnabled')['to'](_0x420e74,'isReady',_0x88ce2f,'isReadOnly',(_0x1eaf95,_0x5f2c7a)=>_0x1eaf95&&!_0x5f2c7a),_0x18d0f7['on']('execute',()=>{_0x88ce2f['config']['get']('revisionHistory')['showRevisionViewerCallback'](),_0x89ea6c['isOpen']=!0x1,_0x88ce2f['editing']['view']['focus']();}),_0x27e93b['children']['add'](_0x57dbdb),_0x4234cf['children']['add'](_0x18d0f7),_0xb95cb3['role']='menu',_0xb95cb3['items']['addMany']([_0x27e93b,_0x4234cf]),_0x462cee['add'](_0xb95cb3),_0x89ea6c;}),_0x88ce2f['ui']['componentFactory']['add']('menuBar:revisionHistory',()=>this['_registerMenuComponent']());}['_registerMenuComponent'](){const _0x1b2018=this['editor'],_0x329eca=_0x1b2018['locale'],_0x5bc970=new _0x3d5e6a(_0x329eca),_0x2750b3=new _0x5d14ba(_0x329eca);_0x5bc970['buttonView']['set']({'icon':_0x128e1a['history'],'label':y(_0x329eca,'Revision\x20history')});const _0x1b7778=new _0x38cb51(_0x329eca,_0x5bc970),_0x57eab8=new _0x3dffc0(_0x329eca);_0x57eab8['set']({'label':y(_0x329eca,'Save\x20current\x20revision')}),_0x57eab8['delegate']('execute')['to'](_0x5bc970),_0x57eab8['on']('execute',()=>{this['_showDialog']();}),_0x1b7778['children']['add'](_0x57eab8),_0x2750b3['items']['add'](_0x1b7778);const _0x443102=new _0x38cb51(_0x329eca,_0x5bc970),_0x5f26fe=new _0x3dffc0(_0x329eca);return _0x5f26fe['set']({'label':y(_0x329eca,'Open\x20revision\x20history')}),_0x5f26fe['delegate']('execute')['to'](_0x5bc970),_0x5f26fe['on']('execute',()=>{_0x1b2018['config']['get']('revisionHistory')['showRevisionViewerCallback']();}),_0x443102['children']['add'](_0x5f26fe),_0x2750b3['items']['add'](_0x443102),_0x5bc970['panelView']['children']['add'](_0x2750b3),_0x5bc970;}['_showDialog'](){const _0xc0a110=this['editor'],_0x4d44be=_0xc0a110['locale'],_0x5cde5c=_0xc0a110['plugins']['get']('Dialog'),_0x57838d=_0xc0a110['plugins']['get']('RevisionTracker');function _0x1a0e84(_0x1e339e){_0xc0a110['config']['get']('revisionHistory.requireRevisionName')&&''===_0x1e339e['revisionName']?_0x1e339e['revisionNameInputView']['errorText']=y(_0x4d44be,'The\x20revision\x20name\x20cannot\x20be\x20empty.'):(_0xc0a110['plugins']['get'](l)['saveRevision']({'name':_0x1e339e['revisionName']}),_0x5cde5c['hide']());}this['_saveRevisionFormView']||(this['_createSaveRevisionFormView'](),this['_saveRevisionFormView']['on']('submit',()=>_0x1a0e84(this['_saveRevisionFormView']))),this['_saveRevisionFormView']['reset'](),_0x5cde5c['show']({'id':'revisionSave','title':y(_0x4d44be,'Save\x20current\x20revision'),'isModal':!0x0,'content':this['_saveRevisionFormView'],'actionButtons':[{'label':y(_0xc0a110['locale'],'Cancel'),'withText':!0x0,'onExecute':()=>_0x5cde5c['hide']()},{'label':y(_0xc0a110['locale'],'Accept'),'class':'ck-button-action','withText':!0x0,'onCreate'(_0x1d70b9){_0x1d70b9['bind']('isEnabled')['to'](_0x57838d,'isReady',_0x57838d,'isEnabled',_0xc0a110,'isReadOnly',(_0x7d0561,_0x26432b,_0x351b4f)=>_0x7d0561&&_0x26432b&&!_0x351b4f);},'onExecute':()=>_0x1a0e84(this['_saveRevisionFormView'])}]});}['_createSaveRevisionFormView'](){const _0x475051=this['editor'],_0x4ed452=_0x475051['locale'];this['_saveRevisionFormView']=new ns(_0x4ed452,_0x475051['config']['get']('revisionHistory.requireRevisionName')),this['_saveRevisionFormView']['render']();}}class Z extends _0x15d4d1{['changeId'];['_model'];constructor(_0x172385,_0x549556){super(_0x172385),this['_model']=_0x549556,this['changeId']=_0x549556['id'];const _0x3d01b0=this['bindTemplate'],_0x44ab90=y(_0x172385,_0x549556['data']['isSuggestion']?'Suggested\x20by':'add'==_0x549556['type']?'Added\x20by':'Removed\x20by');this['set']('type',_0x549556['type']),this['setTemplate']({'tag':'div','attributes':{'class':['ck-annotation','ck-revision-change',_0x3d01b0['to']('type',_0x9f30e5=>'ck-revision-change__'+_0x9f30e5)],'tabindex':-0x1},'children':[{'tag':'span','children':[{'tag':'span','attributes':{'class':['ck-revision-change__label']},'children':[{'text':_0x44ab90}]},{'text':'\x20'+_0x549556['author']['name']}]}]});}['focus'](){this['element']['focus']();}}class r extends/* #__PURE__ -- @preserve */
|
|
25
|
+
_0x15c3ff(){['id'];['author'];['type'];['data'];['rootName'];constructor(_0x169afd){super(),this['id']=_0x169afd['id']||_0x565755(),this['author']=_0x169afd['author'],this['type']=_0x169afd['type'],this['data']=_0x169afd['data']||{},this['rootName']=_0x169afd['rootName'],this['set']('createdAt',_0x169afd['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(_0xf87ce3,_0x180492){this['newRevisionId']=_0xf87ce3,this['oldRevisionId']=_0x180492,this['changes']=new _0x27a848();}['_setChanges'](_0x143316){for(const _0x5d6425 of _0x143316)this['changes']['add'](_0x5d6425);}}const tt={'c':_0x523077,'a':_0x420821,'e':_0x51d9d3,'r':_0x1a6abe,'u':_0x244ae2};class d extends _0x557740{['repository'];['adapter'];['_activeViewTarget'];['_changeView'];['_changeIdToChange'];['_balloon'];static get['pluginName'](){return'RevisionViewer';}static get['requires'](){return[_0x564d83,_0x539508,A];}constructor(_0x5369df){super(_0x5369df),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',(_0x2253b7,_0x2b9252,_0x57232e)=>{this['activeChange']=null,this['activeView']=null,this['editor']['editing']['view']['change'](_0x1ea8f8=>{for(const _0x4f38c7 of this['editor']['editing']['view']['document']['roots'])_0x57232e?_0x1ea8f8['removeClass']('ck-editor__editable__overlay',_0x4f38c7):_0x1ea8f8['addClass']('ck-editor__editable__overlay',_0x4f38c7);});}),this['bind']('isNavigationMode')['to'](this,'activeChange',_0x2f75d0=>null!==_0x2f75d0),this['bind']('currentChangeNumber')['to'](this,'isReady',this,'diff',this,'activeChange',(_0x29de56,_0x15b12a,_0x138584)=>_0x29de56&&_0x138584?_0x15b12a['changes']['getIndex'](_0x138584):0x0),this['bind']('numberOfChanges')['to'](this,'isReady',this,'diff',(_0x31773c,_0x4799ca)=>_0x31773c?_0x4799ca['changes']['length']:0x0),this['_changeView']=null,this['_changeIdToChange']=new Map(),this['adapter']=null,this['_balloon']=this['editor']['plugins']['get'](_0x539508);}['init'](){const _0x1c7ff7=this['editor'],_0x40aa06=new yt(_0x1c7ff7,{'direction':'backward'}),_0x3f6408=new yt(_0x1c7ff7,{'direction':'forward'});(_0x1c7ff7['commands']['add']('showPreviousChange',_0x40aa06),_0x1c7ff7['commands']['add']('showNextChange',_0x3f6408),_0x1c7ff7['commands']['add']('restoreRevision',new bt(_0x1c7ff7)),this['on']('change:numberOfChanges',()=>{_0x40aa06['refresh'](),_0x3f6408['refresh']();}),this['_setConversion'](),this['_initInteractions'](),_0x1c7ff7['enableReadOnlyMode']('revision-viewer'),_0x1c7ff7['plugins']['has']('WidgetToolbarRepository'))&&_0x1c7ff7['plugins']['get']('WidgetToolbarRepository')['forceDisabled']('revision-viewer');}async['getRevisionData'](_0x24b172){await this['loadRevisionData'](_0x24b172);const _0x7181cb={};for(const _0x48c2c3 in _0x24b172['diffData']){if(_0x24b172['diffData'][_0x48c2c3]['attachChange']&&!_0x24b172['diffData'][_0x48c2c3]['attachChange']['isAttached'])continue;const _0x4dcf14=this['_removeRevisionMarkers'](JSON['parse'](_0x24b172['diffData'][_0x48c2c3]['insertions'])),_0x1073a8=this['editor']['editing']['view']['document'],_0x32d49f=new _0x4422da(_0x1073a8,_0x4dcf14['map'](_0xebd2d8=>this['_getViewObj'](_0xebd2d8)));this['editor']['data']['processor']['useFillerType']('marked'),_0x7181cb[_0x48c2c3]=this['editor']['data']['processor']['toData'](_0x32d49f),this['editor']['data']['processor']['useFillerType']('default');}return _0x7181cb;}async['getRevisionRootsAttributes'](_0xa3ec2d){await this['loadRevisionData'](_0xa3ec2d);const _0x373853={};for(const _0x54f355 in _0xa3ec2d['diffData'])_0xa3ec2d['diffData'][_0x54f355]['attachChange']&&!_0xa3ec2d['diffData'][_0x54f355]['attachChange']['isAttached']||(_0x373853[_0x54f355]=_0xa3ec2d['diffData'][_0x54f355]['attributesAfter']||{});return _0x373853;}['_removeRevisionMarkers'](_0xdd620d){return(_0xdd620d=_0xdd620d['filter'](_0x113cb6=>!_0x113cb6['name']||'revision-start'!==_0x113cb6['name']&&'revision-end'!==_0x113cb6['name']))['forEach'](_0x1a8e0a=>{'string'!=typeof _0x1a8e0a&&(_0x1a8e0a['children']=this['_removeRevisionMarkers'](_0x1a8e0a['children']),_0x1a8e0a['attributes']=_0x1a8e0a['attributes']['filter'](_0x59edac=>!_0x59edac[0x0]['startsWith']('data-revision-')));}),_0xdd620d;}async['compare'](_0x40de46,_0x34e5ed,_0x1528cb=!0x1){if(!this['isEnabled'])return;const _0x366d9c=this['diff'],_0x72ef4c=this['repository'],_0x3d8c2a='string'==typeof _0x40de46?_0x72ef4c['getRevision'](_0x40de46):_0x40de46,_0x1bce3f='string'==typeof _0x34e5ed?_0x72ef4c['getRevision'](_0x34e5ed):_0x34e5ed,_0x1a3428=_0x3d8c2a['id'],_0x2aca87=_0x1bce3f?_0x1bce3f['id']:null;if(!_0x1528cb&&this['diff']&&this['diff']['newRevisionId']===_0x1a3428&&this['diff']['oldRevisionId']===_0x2aca87)return Promise['resolve']();this['isReady']=!0x1,this['activeView']=null,this['activeChange']=null,this['diff']=new f(_0x1a3428,_0x2aca87);const _0x32bd22=this['_getRevisionsRange'](_0x3d8c2a,_0x1bce3f,!0x0)['map'](_0x2678a8=>this['loadRevisionData'](_0x2678a8));return _0x32bd22['push'](new Promise(_0xcaf2a4=>{setTimeout(_0xcaf2a4,0x14);})),Promise['all'](_0x32bd22)['then'](()=>{if(!this['isEnabled'])return;this['_cleanUp']();const _0x7503fb=this['_getDiff'](_0x1a3428,_0x2aca87);for(const _0x554c2b of _0x7503fb['changes'])this['_changeIdToChange']['set'](_0x554c2b['id'],_0x554c2b);this['editor']['model']['enqueueChange']({'isUndoable':!0x1},_0x46786f=>{for(const _0x7d448a of this['editor']['model']['document']['getRootNames']())_0x46786f['detachRoot'](_0x7d448a);for(const _0xbd681f of Object['keys'](_0x7503fb['model'])){const _0x50185a=_0x46786f['addRoot'](_0xbd681f);for(const _0x1bfce5 of Object['keys'](_0x7503fb['attributes'][_0xbd681f]))_0x46786f['setAttribute'](_0x1bfce5,_0x7503fb['attributes'][_0xbd681f][_0x1bfce5],_0x50185a);_0x46786f['insert'](_0x7503fb['model'][_0xbd681f],_0x50185a,0x0);}}),this['diff']['_setChanges'](this['_sortAndFilterDiffChanges'](_0x7503fb['changes'])),this['isReady']=!0x0;})['catch'](_0x3cba0b=>{console['error'](_0x3cba0b),this['_cleanUp'](),_0x366d9c&&(this['diff']=_0x366d9c),this['isReady']=!0x0;});}['addRevisionData'](_0x3da188,_0x3b7d5b){const _0x135dd1=this['repository']['createRevision'](_0x3da188);return _0x135dd1['on']('_update',(_0x57d2fd,_0x12c306,_0x45a35c)=>_0x3b7d5b(_0x12c306,_0x45a35c,_0x135dd1)),this['repository']['addRevision'](_0x135dd1),_0x135dd1;}['loadRevisionData'](_0x5c1940){if(!_0x5c1940||_0x5c1940['diffData'])return Promise['resolve']();{const _0xadff1d=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0xadff1d,'revisionId':_0x5c1940['id']})['then'](_0xc545da=>{_0x5c1940['_update']({'diffData':_0xc545da['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},_0x102b29=>{for(const _0x4ec05d of this['editor']['model']['document']['getRootNames']())_0x102b29['detachRoot'](_0x4ec05d);});}['_sortAndFilterDiffChanges'](_0x1863d3){const _0x395fd1=[],_0x1f9ddc=new Map();for(const _0x448520 of this['editor']['model']['document']['getRootNames']()){const _0x1edb9a=this['editor']['editing']['view']['getDomRoot'](_0x448520);if(!_0x1edb9a)continue;const _0x4f1dff=_0x1edb9a['getClientRects']()['item'](0x0);_0x4f1dff&&(_0x395fd1['push'](_0x448520),_0x1f9ddc['set'](_0x448520,_0x4f1dff));}return _0x395fd1['sort']((_0x1f130a,_0x4f13e6)=>{const _0x46f534=_0x1f9ddc['get'](_0x1f130a),_0x4aaf79=_0x1f9ddc['get'](_0x4f13e6);return _0x46f534['y']-_0x4aaf79['y']||_0x46f534['x']-_0x4aaf79['x'];}),(_0x1863d3=_0x1863d3['filter'](_0x15310e=>_0x395fd1['includes'](_0x15310e['rootName'])))['sort']((_0x241acb,_0x4fbebc)=>_0x395fd1['indexOf'](_0x241acb['rootName'])-_0x395fd1['indexOf'](_0x4fbebc['rootName'])),_0x1863d3;}['_makeTape'](_0x3f6d78){const _0x5374c6=Array['from'](_0x3f6d78['markers'])['filter'](([_0x43cc3a,_0xbb5303])=>_0x43cc3a['startsWith']('revision:')&&!_0xbb5303['isCollapsed']),_0x526737=Array['from'](this['editor']['model']['createRangeIn'](_0x3f6d78)['getWalker']({'singleCharacters':!0x0}));if(0x0!=_0x5374c6['length'])for(const _0x174b39 of _0x526737){const [_0x5797c2,_0x4576c9]=_0x5374c6[0x0],[,_0x513b84,_0xa59c1c]=_0x5797c2['split'](':');if(_0x4576c9['end']['isEqual'](_0x174b39['nextPosition'])&&_0x5374c6['shift'](),(_0x174b39['previousPosition']['isEqual'](_0x4576c9['start'])||_0x174b39['previousPosition']['isAfter'](_0x4576c9['start']))&&('insertion'==_0x513b84?_0x174b39['isAdded']={'userId':_0xa59c1c}:'deletion'==_0x513b84&&(_0x174b39['isRemoved']={'userId':_0xa59c1c})),0x0==_0x5374c6['length'])break;}return _0x526737;}['_refreshStartEndIndex'](_0x58dcc0){const _0x158817=new Map();for(let _0x144f76=0x0;_0x144f76<_0x58dcc0['length'];_0x144f76++)'text'===_0x58dcc0[_0x144f76]['type']?(_0x58dcc0[_0x144f76]['item']['startIndex']=_0x144f76,_0x58dcc0[_0x144f76]['item']['endIndex']=_0x144f76):('elementStart'===_0x58dcc0[_0x144f76]['type']?_0x58dcc0[_0x144f76]['item']['startIndex']=_0x144f76:'elementEnd'===_0x58dcc0[_0x144f76]['type']&&(_0x58dcc0[_0x144f76]['item']['endIndex']=_0x144f76),_0x158817['set'](_0x58dcc0[_0x144f76]['id'],_0x144f76));for(const _0x5ab1cd of _0x158817['values']())'elementStart'===_0x58dcc0[_0x5ab1cd]['type']?_0x58dcc0[_0x5ab1cd]['item']['endIndex']=_0x158817['get'](_0x58dcc0[_0x5ab1cd]['pairId']):'elementEnd'===_0x58dcc0[_0x5ab1cd]['type']&&(_0x58dcc0[_0x5ab1cd]['item']['startIndex']=_0x158817['get'](_0x58dcc0[_0x5ab1cd]['pairId']));}['_processTape'](_0x23a800){for(let _0x4595c4=0x0;_0x4595c4<_0x23a800['length'];_0x4595c4++){if('elementStart'===_0x23a800[_0x4595c4]['type'])_0x23a800[_0x4595c4]['item']['startIndex']=_0x4595c4;else{if('elementEnd'===_0x23a800[_0x4595c4]['type']){_0x23a800[_0x4595c4]['item']['endIndex']=_0x4595c4;const _0x897fdd=_0x23a800[_0x4595c4]['item']['startIndex'];_0x23a800[_0x897fdd]['pairId']=_0x23a800[_0x4595c4]['id'],_0x23a800[_0x4595c4]['pairId']=_0x23a800[_0x897fdd]['id'];}else _0x23a800[_0x4595c4]['item']['startIndex']=_0x4595c4,_0x23a800[_0x4595c4]['item']['endIndex']=_0x4595c4,_0x23a800[_0x4595c4]['pairId']=null;}_0x23a800[_0x4595c4]['markersStart']||(_0x23a800[_0x4595c4]['markersStart']=[],_0x23a800[_0x4595c4]['markersEnd']=[]);}}['_markInsertions'](_0x14a3ce,_0x2b3e8d){const _0xe0e3b9=_0x14a3ce['filter'](_0x1ff37e=>!_0x1ff37e['isAdded']);for(let _0x564b99=0x0;_0x564b99<_0x2b3e8d['length'];_0x564b99++)_0x2b3e8d[_0x564b99]['isAdded']&&(_0xe0e3b9[_0x564b99]['isAdded']=_0x2b3e8d[_0x564b99]['isAdded']);}['_makeModelFromViewString'](_0x5b7c13){const _0x4d3244=JSON['parse'](_0x5b7c13),_0x3f4aae=this['editor']['editing']['view']['document'],_0x4f4884=new _0x4422da(_0x3f4aae,_0x4d3244['map'](_0x2a7ed2=>this['_getViewObj'](_0x2a7ed2)));return this['editor']['data']['toModel'](_0x4f4884);}['_getViewObj'](_0x22002b){const _0x10f6f6=this['editor']['editing']['view']['document'];if('string'==typeof _0x22002b)return new _0x153831(_0x10f6f6,_0x22002b);{const _0x26f33f=_0x22002b['children']['map'](_0x166935=>this['_getViewObj'](_0x166935));return new(tt[_0x22002b['type']]||_0x4b88aa)(_0x10f6f6,_0x22002b['name'],_0x22002b['attributes'],_0x26f33f);}}['_getDiff'](_0x52cd51,_0x4016de=null){const _0x19395b=this['repository']['getRevision'](_0x52cd51),_0x176427=_0x4016de?this['repository']['getRevision'](_0x4016de):null,_0xff4405=this['_getRevisionsRange'](_0x19395b,_0x176427),_0x457aaa=_0xff4405[_0xff4405['length']-0x1],_0x318e01=new Map(),_0x346afd={'model':{},'attributes':{},'changes':[]},_0x31e83a=new Set(),_0x58e7da=new Map();for(let _0x31bb0d=_0xff4405['length']-0x1;_0x31bb0d>=0x0;_0x31bb0d--){const _0x55277f=_0xff4405[_0x31bb0d];for(const _0x1d9da4 of Object['keys'](_0x55277f['diffData']))if(_0x55277f['diffData'][_0x1d9da4]['attachChange']){const _0x5ca475=_0x55277f['diffData'][_0x1d9da4]['attachChange'];_0x5ca475['isAttached']?(_0x31e83a['add'](_0x1d9da4),_0x58e7da['has'](_0x1d9da4)&&_0x58e7da['get'](_0x1d9da4)['userId']==_0x5ca475['userId']?_0x58e7da['delete'](_0x1d9da4):_0x58e7da['set'](_0x1d9da4,_0x5ca475)):_0x58e7da['has'](_0x1d9da4)?(_0x31e83a['delete'](_0x1d9da4),_0x58e7da['delete'](_0x1d9da4)):(_0x31e83a['add'](_0x1d9da4),_0x58e7da['set'](_0x1d9da4,_0x5ca475));}else _0x31e83a['add'](_0x1d9da4);}for(const _0x2c3116 of _0x31e83a){const _0x193aff=_0x58e7da['has'](_0x2c3116)&&!_0x58e7da['get'](_0x2c3116)['isAttached'];let _0x2af62b=_0x193aff?_0xff4405['length']-0x1:0x0;const _0x190483=_0x193aff?-0x1:0x1;for(;_0xff4405[_0x2af62b];){const _0x3cce3d=_0xff4405[_0x2af62b];if(_0x3cce3d['diffData'][_0x2c3116]){const _0x5e7a9f=_0x193aff?_0x3cce3d['diffData'][_0x2c3116]['attributesBefore']:_0x3cce3d['diffData'][_0x2c3116]['attributesAfter'];_0x346afd['attributes'][_0x2c3116]=_0x5e7a9f?_0x1b8411(_0x5e7a9f):{};break;}_0x2af62b+=_0x190483;}}for(const _0x5a9970 of _0xff4405){_0x5a9970['model']={};for(const _0x183257 of _0x5a9970['authors'])_0x318e01['set'](_0x183257['id'],_0x183257);for(const _0x14de1e of _0x31e83a){const _0x52c2c1=_0x5a9970['diffData'][_0x14de1e]?_0x5a9970['diffData'][_0x14de1e]['insertions']:'[]',_0x40a600=_0x5a9970['diffData'][_0x14de1e]?_0x5a9970['diffData'][_0x14de1e]['deletions']:'[]';_0x5a9970['model'][_0x14de1e]={'insertions':this['_makeModelFromViewString'](_0x52c2c1),'deletions':this['_makeModelFromViewString'](_0x40a600)};}}for(const _0x1bba21 of _0x31e83a){let _0x4736ec=null,_0x5e89f1=0x0;const _0x16f160=new Map(Array['from'](_0x19395b['model'][_0x1bba21]['insertions']['markers'])['filter'](([_0x2d452e])=>!_0x2d452e['startsWith']('revision:')));let _0x3bfeac=0x0;for(const _0x3ac7c9 of _0xff4405){const _0x338b2a=this['_makeTape'](_0x3ac7c9['model'][_0x1bba21]['insertions']);_0x3ac7c9==_0x19395b?(_0x4736ec=_0x338b2a,_0x5e89f1=_0x4736ec['length'],_0x4736ec['forEach'](_0x485114=>{_0x485114['id']=_0x3bfeac++;}),this['_processTape'](_0x4736ec)):this['_markInsertions'](_0x4736ec,_0x338b2a);const _0x357bb6=_0x4736ec['filter'](_0x138763=>!_0x138763['isAdded'])['map'](_0x1ed043=>_0x1ed043['id']);let _0x3d0301=0x0;const _0x1167a3=this['_makeTape'](_0x3ac7c9['model'][_0x1bba21]['deletions']);_0x1167a3['forEach'](_0x3e6c9=>{_0x3e6c9['isRemoved']?_0x3e6c9['id']=_0x5e89f1++:_0x3e6c9['id']=_0x357bb6[_0x3d0301++];}),this['_processTape'](_0x1167a3),this['_setDistance'](_0x4736ec,'isAdded'),this['_setDistance'](_0x1167a3,'isRemoved'),_0x3ac7c9==_0x19395b&&this['_markMarkers'](_0x4736ec,_0x16f160),_0x4736ec=this['_joinTapes'](_0x4736ec,_0x1167a3),this['_refreshStartEndIndex'](_0x4736ec),this['_setDistance'](_0x4736ec,'isRemoved');}_0x4736ec=_0x4736ec['filter'](_0x24a10a=>!(_0x24a10a['isAdded']&&_0x24a10a['isRemoved']));const _0x28e7e0=new Map(_0x457aaa['model'][_0x1bba21]['deletions']['markers']),_0x4d55e6=new Set(_0x16f160['keys']());for(const _0x565b45 of _0x28e7e0['keys']())_0x4d55e6['delete'](_0x565b45);this['_markSuggestions'](_0x4736ec,_0x4d55e6),this['_fixObsoleteTags'](_0x4736ec),_0x4736ec=this['_removeMissingPairs'](_0x4736ec),_0x4736ec=this['_markMismatchedRemovedTags'](_0x4736ec),_0x4736ec=this['_removeUnsupportedChanges'](_0x4736ec);const {root:_0x5a2c1a,changes:_0x563687}=this['_makeModelFromTape'](_0x4736ec,_0x318e01,_0x1bba21);_0x346afd['model'][_0x1bba21]=_0x5a2c1a;const _0x1b1ed0=_0x58e7da['get'](_0x1bba21);if(_0x1b1ed0){const _0x49a4f9=_0x318e01['get'](_0x1b1ed0['userId']),_0x478181=new r({'author':_0x49a4f9,'type':_0x1b1ed0['isAttached']?'add':'remove','data':{'isOnRoot':!0x0},'createdAt':new Date(),'rootName':_0x1bba21});_0x563687['unshift'](_0x478181),_0x346afd['attributes'][_0x1bba21]['revisionHistoryAttachChange']=_0x478181['id'];}_0x346afd['changes']=_0x346afd['changes']['concat'](_0x563687);}return _0x346afd;}['_markMarkers'](_0x253202,_0x3a87ce){for(let _0x467a83=0x0;_0x467a83<_0x253202['length'];_0x467a83++)for(const [_0x954d97,_0x607059]of _0x3a87ce)_0x607059['start']['isEqual'](_0x253202[_0x467a83]['previousPosition'])&&_0x253202[_0x467a83]['markersStart']['push'](_0x954d97),_0x607059['end']['isEqual'](_0x253202[_0x467a83]['nextPosition'])&&_0x253202[_0x467a83]['markersEnd']['push'](_0x954d97);}['_joinTapes'](_0x3af0a7,_0x2966ce){let _0x4bcaeb=[],_0x3b9765=0x0,_0x1f51b7=0x0;for(;_0x3b9765<_0x3af0a7['length']||_0x1f51b7<_0x2966ce['length'];){const _0x18cfe2=_0x3af0a7[_0x3b9765]||{},_0x32ecf9=_0x2966ce[_0x1f51b7]||{};if(_0x18cfe2['id']==_0x32ecf9['id'])_0x3b9765++,_0x1f51b7++,_0x4bcaeb['push'](_0x18cfe2);else{if(_0x32ecf9['isRemoved']&&_0x18cfe2['isAdded']){const {commonTape:_0x32892a,iEnd:_0x2510c1,jEnd:_0x18cc81}=this['_threeWayMerge'](_0x3af0a7,_0x3b9765,_0x2966ce,_0x1f51b7);_0x4bcaeb=_0x4bcaeb['concat'](_0x32892a),_0x3b9765=_0x2510c1,_0x1f51b7=_0x18cc81;}else _0x32ecf9['isRemoved']?(_0x1f51b7++,_0x4bcaeb['push'](_0x32ecf9)):(_0x3b9765++,_0x4bcaeb['push'](_0x18cfe2));}}return _0x4bcaeb;}['_markSuggestions'](_0x4981ea,_0x26117f){const _0xc9adb=[];for(let _0x4b2640=0x0;_0x4b2640<_0x4981ea['length'];_0x4b2640++){for(let _0x1cce75=0x0;_0x1cce75<_0x4981ea[_0x4b2640]['markersStart']['length'];_0x1cce75++){const _0x25f246=_0x4981ea[_0x4b2640]['markersStart'][_0x1cce75];if(!_0x26117f['has'](_0x25f246))continue;const {group:_0x2e3a8d,type:_0x2004c0,authorId:_0xc6b672}=_0x4bb756(_0x25f246);'revision-suggestion'!=_0x2e3a8d||'insertion'!=_0x2004c0&&'deletion'!=_0x2004c0||(_0xc9adb['unshift']({'type':_0x2004c0,'name':_0x25f246,'userId':_0xc6b672}),_0x4981ea[_0x4b2640]['markersStart']['splice'](_0x1cce75,0x1),_0x1cce75--);}_0x3a9167(_0x4981ea[_0x4b2640]);for(let _0x341870=0x0;_0x341870<_0x4981ea[_0x4b2640]['markersEnd']['length'];_0x341870++){const _0x47aa54=_0x4981ea[_0x4b2640]['markersEnd'][_0x341870];if(!_0x26117f['has'](_0x47aa54))continue;const {group:_0x58b490,type:_0x345ced}=_0x4bb756(_0x47aa54);if('revision-suggestion'!=_0x58b490||'insertion'!=_0x345ced&&'deletion'!=_0x345ced)continue;_0x4981ea[_0x4b2640]['markersEnd']['splice'](_0x341870,0x1),_0x341870--;const _0x2cbf45=_0xc9adb['findIndex'](_0x346bc2=>_0x346bc2['name']==_0x47aa54);_0x2cbf45>-0x1&&_0xc9adb['splice'](_0x2cbf45,0x1);}}function _0x4bb756(_0x3d9fe4){const _0x221ab5=_0x3d9fe4['split'](':');return{'group':_0x221ab5[0x0],'type':_0x221ab5[0x1],'subType':_0x221ab5['length']>=0x5?_0x221ab5[0x2]:null,'id':_0x221ab5['length']<0x5?_0x221ab5[0x2]:_0x221ab5[0x3],'authorId':_0x221ab5['length']<0x5?_0x221ab5[0x3]:_0x221ab5[0x4],'markerCount':0x6==_0x221ab5['length']?_0x221ab5[0x5]:null};}function _0x3a9167(_0x40139e){for(let _0x1b0740=0x0;_0x1b0740<_0xc9adb['length'];_0x1b0740++){if(_0x40139e['isAdded']&&'insertion'==_0xc9adb[_0x1b0740]['type'])return _0x40139e['isAddSuggestion']=_0xc9adb[_0x1b0740],void delete _0x40139e['isAdded'];if(!_0x40139e['isAdded']&&!_0x40139e['isRemoved']&&'deletion'==_0xc9adb[_0x1b0740]['type'])return void(_0x40139e['isRemoveSuggestion']=_0xc9adb[_0x1b0740]);}}}['_setDistance'](_0x3bca2f,_0x45c1f9){let _0x592cf9=0x0,_0x3795af=!0x1;const _0x2e405e=new Map();for(const _0x4e3dae of _0x3bca2f)_0x4e3dae[_0x45c1f9]?_0x3795af&&(_0x592cf9++,_0x3795af=!0x1):(_0x592cf9++,_0x3795af=!0x0),_0x2e405e['set'](_0x4e3dae['id'],_0x592cf9);for(let _0x1238c8=0x0;_0x1238c8<_0x3bca2f['length'];_0x1238c8++){if('isRemoved'==_0x45c1f9&&_0x3bca2f[_0x1238c8]['isAdded']||'isAdded'==_0x45c1f9&&_0x3bca2f[_0x1238c8]['isRemoved'])continue;if('text'==_0x3bca2f[_0x1238c8]['type']){_0x3bca2f[_0x1238c8]['distance']=0x0;continue;}const _0x23970d=_0x2e405e['get'](_0x3bca2f[_0x1238c8]['pairId']),_0x23b52b=_0x2e405e['get'](_0x3bca2f[_0x1238c8]['id']);_0x3bca2f[_0x1238c8]['distance']=_0x23970d-_0x23b52b;}}['_getRevisionsRange'](_0x376da2,_0x391a1e,_0x1a31f4=!0x1){const _0x52ee0d=[];let _0x54ea8c=this['repository']['getIndex'](_0x376da2),_0x5d981c=this['repository']['getIndex'](_0x391a1e);for(-0x1==_0x5d981c&&(_0x5d981c=this['repository']['_revisions']['length'],_0x1a31f4=!0x1);_0x54ea8c<_0x5d981c;)_0x52ee0d['push'](this['repository']['getRevision'](_0x54ea8c)),_0x54ea8c++;return _0x1a31f4&&_0x52ee0d['push'](this['repository']['getRevision'](_0x54ea8c)),_0x52ee0d;}['_threeWayMerge'](_0x5b2ae1,_0x5ef617,_0x18032e,_0x20b764){const _0x561dc3=this['editor']['model']['schema'];let _0x15063b=_0x5ef617;for(;_0x5b2ae1[_0x15063b]&&_0x5b2ae1[_0x15063b]['isAdded'];)_0x15063b++;let _0x131dcf=_0x20b764;for(;_0x18032e[_0x131dcf]&&_0x18032e[_0x131dcf]['isRemoved'];)_0x131dcf++;_0x51bb87(_0x5b2ae1,_0x5ef617,_0x15063b),_0x51bb87(_0x18032e,_0x20b764,_0x131dcf);const _0x103a94=_0x18032e['slice'](_0x20b764,_0x131dcf)['concat'](_0x5b2ae1['slice'](_0x5ef617,_0x15063b));return _0x103a94['sort']((_0x52b049,_0x40cf3d)=>_0x52b049['side']!=_0x40cf3d['side']?_0x52b049['side']-_0x40cf3d['side']:_0x52b049['level']!=_0x40cf3d['level']?_0x52b049['level']-_0x40cf3d['level']:_0x52b049['distance']!=_0x40cf3d['distance']?_0x40cf3d['distance']-_0x52b049['distance']:!!_0x52b049['isAdded']!=!!_0x40cf3d['isAdded']?-0x1==_0x52b049['side']||0x0==_0x52b049['side']?_0x52b049['isAdded']?-0x1:0x1:_0x52b049['isAdded']?0x1:-0x1:_0x52b049['index']-_0x40cf3d['index']),{'commonTape':_0x103a94,'iEnd':_0x15063b,'jEnd':_0x131dcf};function _0x51bb87(_0x4db280,_0x514c35,_0x350e8f){let _0x5577aa=-0x1,_0x4a01b0=Number['POSITIVE_INFINITY'],_0x389a20=!0x0;for(let _0x5e04dd=_0x514c35;_0x5e04dd<_0x350e8f;_0x5e04dd++)if(_0x561dc3['isInline'](_0x4db280[_0x5e04dd]['item'])||(_0x389a20=!0x1),_0x4db280[_0x5e04dd]['item']['startIndex']<_0x514c35&&(_0x5577aa=_0x5e04dd),_0x4db280[_0x5e04dd]['item']['endIndex']>=_0x350e8f){_0x4a01b0=_0x5e04dd;break;}_0x389a20&&(_0x5577aa=_0x350e8f-0x1);for(let _0x3ba824=_0x514c35;_0x3ba824<_0x350e8f;_0x3ba824++)_0x4db280[_0x3ba824]['side']=_0x3ba824<=_0x5577aa?-0x1:_0x3ba824<_0x4a01b0?0x0:0x1,_0x4db280[_0x3ba824]['index']=_0x3ba824;let _0x83fb89=0x0;for(let _0x3aea4a=_0x514c35;_0x3aea4a<=_0x5577aa;_0x3aea4a++)0x0==_0x4db280[_0x3aea4a]['distance']?_0x4db280[_0x3aea4a]['level']=_0x83fb89:(_0x83fb89++,_0x4db280[_0x3aea4a]['level']=_0x83fb89,_0x83fb89++);for(let _0x1885d2=_0x514c35;_0x1885d2<_0x350e8f;_0x1885d2++)0x0==_0x4db280[_0x1885d2]['side']&&(_0x4db280[_0x1885d2]['level']=_0x83fb89);_0x83fb89=0x0;for(let _0x37f270=_0x350e8f-0x1;_0x37f270>=_0x4a01b0;_0x37f270--)0x0==_0x4db280[_0x37f270]['distance']?_0x4db280[_0x37f270]['level']=_0x83fb89:(_0x83fb89--,_0x4db280[_0x37f270]['level']=_0x83fb89,_0x83fb89--);}}['_fixObsoleteTags'](_0x417223){const _0x411a11=new Map(),_0x5f3b29=this['editor']['model']['schema'];for(let _0x1bfc5d=0x1;_0x1bfc5d<_0x417223['length'];_0x1bfc5d++){let _0x2b4b62,_0x394031,_0x55c098;const _0x357a2f=_0x417223[_0x1bfc5d],_0x573379=_0x417223[_0x1bfc5d-0x1];if('text'==_0x357a2f['type'])continue;if(_0x357a2f['type']!=_0x573379['type'])continue;if(!_0x5f3b29['isBlock'](_0x573379['item'])||_0x5f3b29['isLimit'](_0x573379['item']))continue;if(!_0x5f3b29['isBlock'](_0x357a2f['item'])||_0x5f3b29['isLimit'](_0x357a2f['item']))continue;if((_0x417223[_0x1bfc5d]['isAdded']||_0x417223[_0x1bfc5d]['isAddSuggestion'])&&_0x417223[_0x1bfc5d-0x1]['isRemoved'])_0x2b4b62=_0x417223[_0x1bfc5d],_0x394031=_0x417223[_0x1bfc5d-0x1],_0x55c098=_0x1bfc5d-0x1;else{if(!_0x417223[_0x1bfc5d]['isRemoved']||!_0x417223[_0x1bfc5d-0x1]['isAdded']&&!_0x417223[_0x1bfc5d-0x1]['isAddSuggestion'])continue;_0x2b4b62=_0x417223[_0x1bfc5d-0x1],_0x394031=_0x417223[_0x1bfc5d],_0x55c098=_0x1bfc5d;}const _0x2726c4=_0x2b4b62['level']==_0x394031['level'],_0x2939d6=Math['abs'](_0x2b4b62['level'])<Math['abs'](_0x394031['level'])&&0x0==_0x394031['distance'];(_0x2726c4||_0x2939d6)&&(_0x411a11['set'](_0x394031['id'],_0x2b4b62['id']),_0x417223['splice'](_0x55c098,0x1),_0x1bfc5d--,_0x2b4b62['isAdded']=!0x1);}for(let _0x2cddb9=0x0;_0x2cddb9<_0x417223['length'];_0x2cddb9++)_0x411a11['has'](_0x417223[_0x2cddb9]['pairId'])&&(_0x417223[_0x2cddb9]['pairId']=_0x411a11['get'](_0x417223[_0x2cddb9]['pairId']));}['_removeMissingPairs'](_0x45824e){const _0x3e344e=new Set(_0x45824e['map'](_0x212ac4=>_0x212ac4['id']));for(let _0x5b744d=0x0;_0x5b744d<_0x45824e['length'];_0x5b744d++)_0x3e344e['has'](_0x45824e[_0x5b744d]['pairId'])||0x0==_0x45824e[_0x5b744d]['distance']||(_0x45824e[_0x5b744d]['isIncorrect']=!0x0);return _0x45824e['filter'](_0x2418c4=>!_0x2418c4['isIncorrect']);}['_markMismatchedRemovedTags'](_0x2a42b1){const _0xb38ff0=new Set();for(let _0x57f2b4=0x0;_0x57f2b4<_0x2a42b1['length'];_0x57f2b4++){if(_0xb38ff0['has'](_0x2a42b1[_0x57f2b4]['id'])&&_0x2a42b1[_0x57f2b4]['isRemoved']&&(_0x2a42b1[_0x57f2b4]['isIncorrect']=!0x0),_0x2a42b1[_0x57f2b4]['isIncorrect'])continue;if(0x0==_0x2a42b1[_0x57f2b4]['distance'])continue;if('elementStart'!=_0x2a42b1[_0x57f2b4]['type'])continue;if(null==_0x2a42b1[_0x57f2b4]['pairId'])continue;let _0x3cf235=_0x57f2b4+0x1,_0x2ae757=0x0;for(;_0x2a42b1[_0x3cf235]['id']!=_0x2a42b1[_0x57f2b4]['pairId'];)'elementStart'==_0x2a42b1[_0x3cf235]['type']?_0x2ae757++:'elementEnd'==_0x2a42b1[_0x3cf235]['type']&&_0x2ae757--,_0x3cf235++;if(0x0!=_0x2ae757){if(_0x2a42b1[_0x57f2b4]['isRemoved'])_0x2a42b1[_0x57f2b4]['isIncorrect']=!0x0;else{for(;_0x3cf235!=_0x57f2b4;)_0x2a42b1[_0x3cf235]['isRemoved']&&0x0!=_0x2a42b1[_0x3cf235]['distance']&&(_0x2a42b1[_0x3cf235]['isIncorrect']=!0x0,_0xb38ff0['add'](_0x2a42b1[_0x3cf235]['pairId'])),_0x3cf235--;}}}return _0x2a42b1['filter'](_0x22e3e4=>!_0x22e3e4['isIncorrect']);}['_removeUnsupportedChanges'](_0x33e330){const _0x243c82=this['editor']['model']['schema'];for(let _0x3c9732=0x0;_0x3c9732<_0x33e330['length'];_0x3c9732++){if(!(_0x33e330[_0x3c9732]['isAdded']||_0x33e330[_0x3c9732]['isAddSuggestion']||_0x33e330[_0x3c9732]['isRemoved']||_0x33e330[_0x3c9732]['isRemoveSuggestion']))continue;if(0x0==_0x33e330[_0x3c9732]['distance'])continue;const _0x1044e4=_0x33e330[_0x3c9732]['item'];_0x243c82['isBlock'](_0x1044e4)||_0x243c82['isLimit'](_0x1044e4)||(_0x33e330[_0x3c9732]['isAdded']&&delete _0x33e330[_0x3c9732]['isAdded'],_0x33e330[_0x3c9732]['isAddSuggestion']&&delete _0x33e330[_0x3c9732]['isAddSuggestion'],_0x33e330[_0x3c9732]['isRemoveSuggestion']&&delete _0x33e330[_0x3c9732]['isRemoveSuggestion'],_0x33e330[_0x3c9732]['isRemoved']&&(_0x33e330[_0x3c9732]['isIncorrect']=!0x0));}return _0x33e330['filter'](_0x23643b=>!_0x23643b['isIncorrect']);}['_makeModelFromTape'](_0x209cba,_0xa07189,_0x37a79d){const _0x455f32=new wt(),_0x88c89e=[],_0x15ec4b=new Map(),_0x49e271=this['editor']['model'],_0x514b70=_0x49e271['schema'],_0x50a317=[_0x455f32],_0x13af9b={},_0x430cf3={'isAdded':[],'isRemoved':[],'isAddSuggestion':[],'isRemoveSuggestion':[]};let _0x1999c8=null;const _0x349f26=[0x0];for(let _0x5328c6=0x0;_0x5328c6<_0x209cba['length'];_0x5328c6++){let _0x4a77cf,_0x10b293;if('elementStart'===_0x209cba[_0x5328c6]['type']){_0x4a77cf=_0x49e271['createPositionFromPath'](_0x455f32,_0x349f26);const _0x7be4f5=new ft(_0x209cba[_0x5328c6]['item']['name'],_0x209cba[_0x5328c6]['item']['getAttributes']());_0x50a317[0x0]['_appendChild'](_0x7be4f5),_0x349f26['push'](0x0),_0x50a317['unshift'](_0x7be4f5),_0x10b293=_0x49e271['createPositionFromPath'](_0x455f32,_0x349f26),_0x1999c8=null;}else{if('elementEnd'===_0x209cba[_0x5328c6]['type'])_0x50a317['shift'](),_0x4a77cf=_0x49e271['createPositionFromPath'](_0x455f32,_0x349f26),_0x349f26['pop'](),_0x349f26[_0x349f26['length']-0x1]++,_0x10b293=_0x49e271['createPositionFromPath'](_0x455f32,_0x349f26),_0x1999c8=null;else{if(_0x4a77cf=_0x49e271['createPositionFromPath'](_0x455f32,_0x349f26),_0x1999c8&&_0x275222(_0x1999c8,_0x209cba[_0x5328c6]['item']))_0x1999c8['_data']+=_0x209cba[_0x5328c6]['item']['data'];else{const _0x448d1d=new _t(_0x209cba[_0x5328c6]['item']['data'],_0x209cba[_0x5328c6]['item']['getAttributes']());_0x50a317[0x0]['_appendChild'](_0x448d1d),_0x1999c8=_0x448d1d;}_0x349f26[_0x349f26['length']-0x1]+=_0x209cba[_0x5328c6]['item']['offsetSize'],_0x10b293=_0x49e271['createPositionFromPath'](_0x455f32,_0x349f26);}}for(const _0x2ea053 of _0x209cba[_0x5328c6]['markersStart'])_0x15ec4b['set'](_0x2ea053,{'start':_0x4a77cf,'end':null});_0x25471e('isRemoveSuggestion',_0x5328c6,_0x4a77cf,_0x10b293),_0x25471e('isAddSuggestion',_0x5328c6,_0x4a77cf,_0x10b293),_0x25471e('isRemoved',_0x5328c6,_0x4a77cf,_0x10b293),_0x25471e('isAdded',_0x5328c6,_0x4a77cf,_0x10b293);for(const _0x12e5cd of _0x209cba[_0x5328c6]['markersEnd']){_0x15ec4b['get'](_0x12e5cd)['end']=_0x10b293;}}for(const [_0x236b8f,_0x1fafd1]of _0x15ec4b){const _0x203605=this['editor']['model']['createRange'](_0x1fafd1['start'],_0x1fafd1['end']);_0x455f32['markers']['set'](_0x236b8f,_0x203605);}return _0x88c89e['sort']((_0x237ead,_0x1ec56d)=>{const _0x14240d=_0x455f32['markers']['get']('revision:'+_0x237ead['id']),_0x137488=_0x455f32['markers']['get']('revision:'+_0x1ec56d['id']);return _0x14240d['start']['isBefore'](_0x137488['start'])?-0x1:_0x14240d['start']['isAfter'](_0x137488['start'])?0x1:_0x14240d['end']['isBefore'](_0x137488['end'])?-0x1:_0x14240d['end']['isAfter'](_0x137488['end'])?0x1:'add'===_0x237ead['type']?-0x1:0x1;}),{'root':_0x455f32,'changes':_0x88c89e};function _0x25471e(_0x2a4e04,_0x431769,_0x212314,_0x115406){const _0x2978b8=!!_0x209cba[_0x431769][_0x2a4e04],_0x9991c=_0x2978b8?_0x209cba[_0x431769][_0x2a4e04]['userId']:null,_0x55ea6d=_0x431769===_0x209cba['length']-0x1,_0x641c80=_0x430cf3[_0x2a4e04][0x0],_0x25f7e7=_0x514b70['isObject'](_0x209cba[_0x431769]['item']);!_0x13af9b[_0x2a4e04]&&_0x2978b8?_0x13af9b[_0x2a4e04]={'start':_0x212314,'tapeItem':_0x209cba[_0x431769],'userId':_0x9991c,'type':_0x2a4e04}:_0x13af9b[_0x2a4e04]&&!_0x2978b8?(_0x13af9b[_0x2a4e04]['end']=_0x212314,_0x32f44e(_0x13af9b[_0x2a4e04]),_0x13af9b[_0x2a4e04]=null):_0x13af9b[_0x2a4e04]&&_0x2978b8&&_0x13af9b[_0x2a4e04]['userId']!==_0x9991c&&(_0x13af9b[_0x2a4e04]['end']=_0x212314,_0x641c80&&_0x641c80['userId']===_0x13af9b[_0x2a4e04]['userId']||_0x32f44e(_0x13af9b[_0x2a4e04]),_0x13af9b[_0x2a4e04]={'start':_0x212314,'tapeItem':_0x209cba[_0x431769],'userId':_0x9991c,'type':_0x2a4e04}),_0x13af9b[_0x2a4e04]&&_0x25f7e7&&('elementStart'!==_0x209cba[_0x431769]['type']||_0x641c80&&_0x641c80['userId']===_0x9991c||_0x430cf3[_0x2a4e04]['unshift']({'userId':_0x9991c,'object':_0x209cba[_0x431769]['item'],'change':_0x13af9b[_0x2a4e04]}),'elementEnd'===_0x209cba[_0x431769]['type']&&_0x641c80&&_0x641c80['object']===_0x209cba[_0x431769]['item']&&(_0x430cf3[_0x2a4e04]['shift'](),_0x13af9b[_0x2a4e04]=_0x641c80['change'])),_0x13af9b[_0x2a4e04]&&_0x55ea6d&&(_0x13af9b[_0x2a4e04]['end']=_0x115406,_0x32f44e(_0x13af9b[_0x2a4e04]),_0x13af9b[_0x2a4e04]=null);}function _0x32f44e({start:_0x24de6d,end:_0x2ddfda,tapeItem:_0x37cb90,userId:_0x32e142,type:_0x3531d7}){const _0x20757f=_0x37cb90['item'],_0x13e30d=_0x49e271['schema']['isBlock'](_0x20757f)&&!_0x49e271['schema']['isLimit'](_0x20757f),_0xa7f388=_0x24de6d['nodeAfter']==_0x2ddfda['parent']&&_0x2ddfda['isAtStart'];if(_0x13e30d&&_0xa7f388)return;const _0x390480=_0x49e271['createRange'](_0x24de6d,_0x2ddfda),_0x566aeb=_0xa07189['get'](_0x32e142),_0x7e4fc1=new r({'author':_0x566aeb,'type':'isAdded'==_0x3531d7||'isAddSuggestion'==_0x3531d7?'add':'remove','data':{'isSuggestion':'isAddSuggestion'==_0x3531d7||'isRemoveSuggestion'==_0x3531d7},'createdAt':new Date(),'rootName':_0x37a79d});_0x88c89e['push'](_0x7e4fc1),_0x455f32['markers']['set']('revision:'+_0x7e4fc1['id'],_0x390480);}function _0x275222(_0xd086e,_0x1464bc){const _0x4676ac=_0xd086e['getAttributes'](),_0x3a765a=_0x1464bc['getAttributes']();for(const _0x41f9c8 of _0x4676ac){if(_0x41f9c8[0x1]!==_0x1464bc['getAttribute'](_0x41f9c8[0x0]))return!0x1;_0x3a765a['next']();}return _0x3a765a['next']()['done'];}}['_setConversion'](){this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'revision'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision','view':_0x6012ec=>{const _0x41d200=_0x6012ec['markerName']['split'](':')[0x1],_0xbf3956=this['_getChangeFromId'](_0x41d200);if(!_0xbf3956)return null;const _0x1f8229='add'==_0xbf3956['type']?'insertion':'deletion',_0x1110cd=['ck-suggestion-marker','ck-suggestion-marker-'+_0x1f8229];return _0xbf3956['data']['isSuggestion']&&_0x1110cd['push']('ck-suggestion-marker-'+_0x1f8229+'-new'),this['activeChange']==_0xbf3956&&_0x1110cd['push']('ck-suggestion-marker--active'),{'classes':_0x1110cd,'attributes':{'data-change-id':_0x41d200}};}}),this['editor']['conversion']['for']('upcast')['add'](_0x44f3d8=>{_0x44f3d8['on']('element:pre',(_0x6aa940,_0x15999a,_0xfb0335)=>{const _0xfee3ee=_0x15999a['viewItem']['getChild'](0x0);if(!_0xfee3ee||!_0xfee3ee['is']('element','code'))return;if(!_0xfb0335['consumable']['consume'](_0xfee3ee,{'attributes':['vid_start','vid_end']}))return;const _0x146c8b=_0x15999a['modelRange']['start']['nodeAfter'];_0xfb0335['writer']['setAttribute']('vid_start',_0xfee3ee['getAttribute']('vid_start'),_0x146c8b),_0xfb0335['writer']['setAttribute']('vid_end',_0xfee3ee['getAttribute']('vid_end'),_0x146c8b);},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['add'](_0x27da2e=>{_0x27da2e['on']('element',(_0x55b235,_0x5300e0,_0x3577c6)=>{if(!_0x3577c6['consumable']['consume'](_0x5300e0['viewItem'],{'attributes':['vid_start','vid_end']}))return;if(_0x5300e0['modelRange']['isCollapsed'])return;const _0x3ef6ce=_0x5300e0['modelRange']['start']['nodeAfter'];_0x3ef6ce['hasAttribute']('vid_start')||_0x3ef6ce['hasAttribute']('vid')||(_0x3577c6['writer']['setAttribute']('vid_start',_0x5300e0['viewItem']['getAttribute']('vid_start'),_0x3ef6ce),_0x3577c6['writer']['setAttribute']('vid_end',_0x5300e0['viewItem']['getAttribute']('vid_end'),_0x3ef6ce));},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['elementToAttribute']({'view':{'name':'span','attributes':{'vid':!0x0}},'model':{'key':'vid','value':_0xf10ee1=>_0xf10ee1['getAttribute']('vid')}}),this['editor']['model']['schema']['on']('checkAttribute',(_0x16e64f,[,_0x251865])=>{['vid_start','vid_end','vid']['includes'](_0x251865)&&(_0x16e64f['return']=!0x0,_0x16e64f['stop']());},{'priority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['add'](_0x1da43f=>{_0x1da43f['on']('attribute:vid',(_0xbeca89,_0x122f0b,_0x48e941)=>{if('\x20'!=_0x122f0b['item']['data']||_0x122f0b['item']['parent']['maxOffset']>0x1)return;if(!_0x48e941['consumable']['consume'](_0x122f0b['item'],_0xbeca89['name']))return;const _0x4b5bb2=_0x48e941['writer'],_0x407618=_0x48e941['mapper']['toViewRange'](_0x122f0b['range']);_0x4b5bb2['wrap'](_0x407618,_0x4b5bb2['createAttributeElement']('span'));});}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',function(_0x4290de){const _0x28c714=_0x4290de['plugins']['get']('RevisionViewer');return(_0x156bf9,_0x53acfb,_0x1903a7)=>{const _0x12c678=_0x53acfb['markerName']['split'](':')[0x1],_0x63d766=_0x28c714['_getChangeFromId'](_0x12c678);if(!_0x63d766)return null;const _0x1cf927='add'==_0x63d766['type']?'split':'merge';if(!_0x1903a7['consumable']['test'](_0x53acfb['markerRange'],_0x156bf9['name']))return;const _0x4b3888=_0x53acfb['markerRange']['getWalker'](),_0x540ad0=_0x53acfb['markerRange']['start'],_0x466495=_0x4290de['model']['schema'];let _0x35a8c4=null,_0x5aa556=null,_0x31fba3=!0x1,_0x978ddc=!0x1;for(const _0x8e410 of _0x4b3888){const _0x319966=_0x8e410['item'];_0x31fba3=_0x31fba3||_0x466495['isContent'](_0x319966);const _0x158723=_0x1903a7['mapper']['toViewElement'](_0x319966);if(_0x158723&&_0x158723['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x8e410['type']&&(_0x466495['isBlock'](_0x319966)&&!_0x466495['isLimit'](_0x319966)&&(_0x319966['nextSibling']||_0x540ad0['isAtEnd']?_0x35a8c4&&_0x35a8c4['parent']==_0x319966||(_0x35a8c4=_0x319966,_0x5428d8(_0x8e410['previousPosition']),_0x978ddc=!0x0):_0x5aa556=_0x5aa556||_0x8e410['previousPosition']));}function _0x5428d8(_0x276b76){const _0x33552e=_0x1903a7['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x1cf927}),_0x546c05=_0x1903a7['mapper']['toViewPosition'](_0x276b76);_0x63d766['data']['isSuggestion']&&_0x1903a7['writer']['addClass']('ck-suggestion-marker-'+_0x1cf927+'-new',_0x33552e),_0x28c714['activeChange']==_0x63d766&&_0x1903a7['writer']['addClass']('ck-suggestion-marker--active',_0x33552e),_0x1903a7['writer']['insert'](_0x546c05,_0x33552e),_0x1903a7['mapper']['bindElementToMarker'](_0x33552e,_0x53acfb['markerName']);}_0x31fba3||_0x978ddc||!_0x5aa556||_0x5428d8(_0x5aa556);};}(this['editor']),{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('removeMarker:revision',(_0x3ee545,_0x206a84,_0x44797d)=>{const _0x282dd5=_0x44797d['mapper']['markerNameToElements'](_0x206a84['markerName']);if(_0x282dd5){for(const _0x5eba6d of _0x282dd5)(_0x5eba6d['hasClass']('ck-suggestion-marker-split')||_0x5eba6d['hasClass']('ck-suggestion-marker-merge'))&&(_0x44797d['mapper']['unbindElementFromMarkerName'](_0x5eba6d,_0x206a84['markerName']),_0x44797d['writer']['remove'](_0x5eba6d));}},{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',(_0x3c7f7b,_0x3181cc,_0x4ae074)=>{const _0x5dbf94=_0x3181cc['markerName']['split'](':')[0x1],_0x43a5a7=this['_getChangeFromId'](_0x5dbf94);if(!_0x43a5a7)return null;const _0x44efef='add'==_0x43a5a7['type']?'split':'merge';if(_0x4ae074['consumable']['test'](_0x3181cc['markerRange'],_0x3c7f7b['name']))for(const _0x5a78b5 of _0x3181cc['markerRange']['getItems']()){if(!_0x5a78b5['is']('element','softBreak'))continue;const _0x3b5dcb=_0x4ae074['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x44efef}),_0x34e68b=_0x4ae074['mapper']['toViewPosition'](this['editor']['model']['createPositionBefore'](_0x5a78b5));_0x43a5a7['data']['isSuggestion']&&_0x4ae074['writer']['addClass']('ck-suggestion-marker-'+_0x44efef+'-new',_0x3b5dcb),this['activeChange']==_0x43a5a7&&_0x4ae074['writer']['addClass']('ck-suggestion-marker--active',_0x3b5dcb),_0x4ae074['writer']['insert'](_0x34e68b,_0x3b5dcb),_0x4ae074['mapper']['bindElementToMarker'](_0x3b5dcb,_0x3181cc['markerName']);}},{'priority':'high'}),this['editor']['model']['document']['on']('change',()=>{this['editor']['editing']['view']['change'](_0x10c0d6=>{for(const _0x5aaeb5 of this['editor']['model']['document']['getRootNames']()){const _0x309232=this['editor']['model']['document']['getRoot'](_0x5aaeb5),_0x3941a0=this['editor']['editing']['view']['document']['getRoot'](_0x5aaeb5);if(_0x3941a0){const _0x244c89=_0x309232['getAttribute']('revisionHistoryAttachChange');if(_0x10c0d6['removeAttribute']('data-change-id',_0x3941a0),_0x10c0d6['removeClass']('ck-revision-history-root-add',_0x3941a0),_0x10c0d6['removeClass']('ck-revision-history-root-remove',_0x3941a0),_0x10c0d6['removeClass']('ck-revision-history-root--active',_0x3941a0),_0x244c89){const _0x4e3d72=this['_getChangeFromId'](_0x244c89);if(!_0x4e3d72)return null;_0x10c0d6['setAttribute']('data-change-id',_0x244c89,_0x3941a0),_0x10c0d6['addClass']('ck-revision-history-root-'+_0x4e3d72['type'],_0x3941a0),this['activeChange']==_0x4e3d72&&_0x10c0d6['addClass']('ck-revision-history-root--active',_0x3941a0);}}}});}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'comment','model':_0x2faf3d=>'revision-comment:'+_0x2faf3d,'converterPriority':'highest'}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'suggestion','model':_0x194923=>'revision-suggestion:'+_0x194923,'converterPriority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision-suggestion','view':_0x5e27b2=>({'name':'suggestion:'+_0x5e27b2,'group':'revision-suggestion'}),'converterPriority':'highest'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision-suggestion','view':_0x4a5aa5=>{const _0x31caca=_0x4a5aa5['markerName']['split'](':')[0x1];return'insertion'!=_0x31caca&&'deletion'!=_0x31caca?null:{'classes':['ck-suggestion-preview-marker','ck-suggestion-preview-marker-'+_0x31caca]};}}),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',(_0x21b59f,_0xee44ab,_0x5046d3)=>{const _0x4c2b9c=_0x5046d3['mapper']['markerNameToElements'](_0xee44ab['markerName']);if(_0x4c2b9c){for(const _0x490d21 of _0x4c2b9c)_0x490d21['is']('uiElement')&&(_0x5046d3['mapper']['unbindElementFromMarkerName'](_0x490d21,_0xee44ab['markerName']),_0x5046d3['writer']['remove'](_0x490d21));}},{'priority':'high'});}['_getChangeFromId'](_0xc35920){return this['_changeIdToChange']['get'](_0xc35920);}['_getViewForChange'](_0x55f4e7){return this['_changeView']&&this['_changeView']['destroy'](),this['_changeView']=new Z(this['editor']['locale'],_0x55f4e7),this['_changeView'];}['_initInteractions'](){this['editor']['model']['document']['selection']['observeMarkers']('revision'),this['on']('change:activeView',(_0x165210,_0x24fb95,_0xae24f0,_0x4111a8)=>{_0x4111a8&&this['_balloon']['remove'](_0x4111a8),_0xae24f0&&(this['_balloon']['add']({'view':_0xae24f0,'stackId':'revisionHistoryLabel','position':{'target':()=>{const _0x484a26=this['editor']['editing'],_0x112ef8=this['_getChangeFromId'](_0xae24f0['changeId']);let _0x51bafe;if(_0x112ef8['data']['isOnRoot']){const _0x4cae5b=_0x484a26['view']['getDomRoot'](_0x112ef8['rootName']);_0x51bafe=Array['from'](_0x4cae5b['getClientRects']());}else{const _0x1f0a02=this['editor']['model']['markers']['get']('revision:'+_0xae24f0['changeId']);_0x51bafe=Array['from'](_0x484a26['mapper']['markerNameToElements'](_0x1f0a02['name']))['map'](_0x18638a=>_0x484a26['view']['domConverter']['mapViewToDom'](_0x18638a))['map'](_0x2b5ff4=>Array['from'](_0x2b5ff4['getClientRects']()))['flat']();}if(!this['_activeViewTarget'])return _0x51bafe[0x0];return _0x51bafe['find'](_0x4374d1=>_0x4374d1['top']-0x3<=this['_activeViewTarget']['y']&&_0x4374d1['bottom']+0x3>=this['_activeViewTarget']['y']&&_0x4374d1['left']-0x3<=this['_activeViewTarget']['x']&&_0x4374d1['right']+0x3>=this['_activeViewTarget']['x'])||_0x51bafe[0x0];}}}),this['_balloon']['showStack']('revisionHistoryLabel'));}),this['on']('change:activeChange',(_0x2345b7,_0x4c00e2,_0x5b53f9,_0x7ed00d)=>{this['activeView']=_0x5b53f9?this['_getViewForChange'](_0x5b53f9):null,this['editor']['model']['change'](()=>{const _0x215d59=this['editor']['editing'];_0x7ed00d&&(_0x7ed00d['data']['isOnRoot']?_0x215d59['view']['change'](_0x30d421=>{_0x30d421['removeClass']('ck-revision-history-root--active',_0x215d59['view']['document']['getRoot'](_0x7ed00d['rootName']));}):_0x215d59['reconvertMarker']('revision:'+_0x7ed00d['id'])),_0x5b53f9&&(_0x5b53f9['data']['isOnRoot']?_0x215d59['view']['change'](_0x497478=>{_0x497478['addClass']('ck-revision-history-root--active',_0x215d59['view']['document']['getRoot'](_0x5b53f9['rootName']));}):_0x215d59['reconvertMarker']('revision:'+_0x5b53f9['id']));});}),this['listenTo'](this['editor']['editing']['view']['document'],'mouseover',(_0x20fe41,_0x1745bf)=>{if(this['activeChange'])return;const _0x44fcbd=this['_findChangeIdFromDomTarget'](_0x1745bf['target']),_0x2eaa25=this['_changeIdToChange']['get'](_0x44fcbd);_0x2eaa25?(this['_activeViewTarget']={'x':_0x1745bf['domEvent']['x'],'y':_0x1745bf['domEvent']['y']},this['activeView']=this['_getViewForChange'](_0x2eaa25)):(this['_activeViewTarget']=null,this['activeView']=null);}),this['listenTo'](this['editor']['editing']['view']['document'],'mousedown',(_0x176b07,_0x3d7cea)=>{const _0x41bdaf=this['_findChangeIdFromDomTarget'](_0x3d7cea['target']),_0x25e1a0=this['_changeIdToChange']['get'](_0x41bdaf);_0x25e1a0?(this['_activeViewTarget']={'x':_0x3d7cea['domEvent']['x'],'y':_0x3d7cea['domEvent']['y']},_0x25e1a0===this['activeChange']?this['_balloon']['updatePosition']():this['activeChange']=_0x25e1a0):(this['_activeViewTarget']=null,this['activeChange']=null);});}['_findChangeIdFromDomTarget'](_0x3c44cd){do{const _0x40fd88=_0x3c44cd['getAttribute']('data-change-id');if(_0x40fd88)return _0x40fd88;_0x3c44cd=_0x3c44cd['parent'];}while(_0x3c44cd);return null;}['_cleanMarkers'](){this['editor']['model']['change'](_0x27e9a4=>{for(const _0xa7776c of this['editor']['model']['markers'])_0x27e9a4['removeMarker'](_0xa7776c);});}}function et(_0x3d1692,_0x55e73d){return(_0x2346af,_0x1990c7,_0x2396fb)=>{if(!_0x2396fb['consumable']['test'](_0x1990c7['markerRange'],_0x2346af['name']))return;const _0x2f6985=_0x1990c7['markerRange']['getWalker'](),_0x51dccd=_0x1990c7['markerRange']['start'],_0x41359a=_0x3d1692['model']['schema'];let _0x290d07=null,_0x2b986a=null,_0x1dbb9e=!0x1,_0x253a49=!0x1;for(const _0x519aee of _0x2f6985){const _0x505e05=_0x519aee['item'];_0x1dbb9e=_0x1dbb9e||_0x41359a['isContent'](_0x505e05);const _0x2167b1=_0x2396fb['mapper']['toViewElement'](_0x505e05);if(_0x2167b1&&_0x2167b1['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x519aee['type']&&(_0x41359a['isBlock'](_0x505e05)&&!_0x41359a['isLimit'](_0x505e05)&&(_0x505e05['nextSibling']||_0x51dccd['isAtEnd']?_0x290d07&&_0x290d07['parent']==_0x505e05||(_0x290d07=_0x505e05,_0x4b9566(_0x519aee['previousPosition']),_0x253a49=!0x0):_0x2b986a=_0x2b986a||_0x519aee['previousPosition']));}function _0x4b9566(_0x538d62){const _0x344133=_0x2396fb['mapper']['toViewPosition'](_0x538d62),_0x3dec35=_0x2396fb['writer']['createUIElement']('span',{'class':'ck-suggestion-preview-marker-'+_0x55e73d});_0x2396fb['writer']['insert'](_0x344133,_0x3dec35),_0x2396fb['mapper']['bindElementToMarker'](_0x3dec35,_0x1990c7['markerName']);}_0x1dbb9e||_0x253a49||!_0x2b986a||_0x4b9566(_0x2b986a);};}class bt extends _0x507496{constructor(_0x10a075){super(_0x10a075);const _0x10cb46=_0x10a075['plugins']['get'](d);this['affectsData']=!0x1,this['listenTo'](_0x10cb46,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x10cb46,'change:isEnabled',()=>this['refresh']());}['execute'](){const _0x111877=this['editor'],_0x4ca440=_0x111877['plugins']['get'](d),_0x3c7f43=_0x4ca440['isReady']?_0x4ca440['diff']['newRevisionId']:null;_0x111877['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x3c7f43);}['refresh'](){const {isReady:_0xb1fc24,isEnabled:_0x3119ab}=this['editor']['plugins']['get'](d);this['isEnabled']=_0xb1fc24&&_0x3119ab;}}class yt extends _0x507496{['_step'];constructor(_0x1cd049,{direction:_0x20b9fd}){super(_0x1cd049);const _0x5adc7b=_0x1cd049['plugins']['get'](d);this['affectsData']=!0x1,this['_step']='forward'===_0x20b9fd?0x1:-0x1,this['listenTo'](_0x5adc7b,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x5adc7b,'change:isEnabled',()=>this['refresh']()),this['listenTo'](_0x5adc7b,'change:activeChange',()=>this['refresh']());}['execute'](){const _0x5aeee8=this['editor'],_0x5f5a19=_0x5aeee8['plugins']['get'](d),{isNavigationMode:_0x58bdf5,currentChangeNumber:_0x129d20}=_0x5f5a19;let _0x4bb72d;if(_0x5f5a19['activeChange']=_0x58bdf5?_0x5f5a19['diff']['changes']['get'](_0x129d20+this['_step']):_0x5f5a19['diff']['changes']['first'],_0x5f5a19['activeChange']['data']['isOnRoot'])_0x4bb72d=_0x5aeee8['editing']['view']['getDomRoot'](_0x5f5a19['activeChange']['rootName']);else{const _0x424ab8=_0x5aeee8['model']['markers']['get']('revision:'+_0x5f5a19['activeChange']['id']);_0x4bb72d=_0x148bea(_0x5aeee8['editing'],_0x424ab8);}_0x95a173({'target':_0x4bb72d,'viewportOffset':0x28});}['refresh'](){const {isNavigationMode:_0x5c65c8,currentChangeNumber:_0x4c58dd,numberOfChanges:_0x2bc6f4,isReady:_0x54aabd,isEnabled:_0x213242}=this['editor']['plugins']['get'](d);this['isEnabled']=!!(_0x213242&&_0x54aabd&&_0x2bc6f4)&&(!_0x5c65c8||(0x1===this['_step']?_0x4c58dd<_0x2bc6f4-0x1:_0x4c58dd>0x0));}}class _i extends _0x15d4d1{constructor(_0x3815a1){super(_0x3815a1);const _0x57a9d2=this['bindTemplate'],_0x5615db=new _0x35fca5(_0x3815a1),_0x52714b=new _0x35fca5(_0x3815a1);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',(_0x2ebb2b,_0x3721dc)=>_0x2ebb2b&&_0x3721dc>0x0),this['bind']('_statusText')['to'](this,'isReady',this,'currentChangeNumber',this,'numberOfChanges',this,'isNavigationMode',(_0x11a98f,_0x4906c7,_0x230f29,_0x30cf13)=>{if(!_0x11a98f)return y(_0x3815a1,'Loading...');if(!_0x230f29)return y(_0x3815a1,'No\x20changes');const _0x53153b=y(_0x3815a1,'NUMBER_OF_CHANGES',_0x230f29);return _0x30cf13?y(_0x3815a1,'X_OF_Y_CHANGES',[_0x4906c7+0x1,_0x230f29]):_0x53153b;}),_0x5615db['set']({'label':y(_0x3815a1,'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'}),_0x52714b['set']({'label':y(_0x3815a1,'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'}),_0x5615db['bind']('isEnabled')['to'](this,'isBackwardNavigationEnabled'),_0x52714b['bind']('isEnabled')['to'](this,'isForwardNavigationEnabled'),_0x5615db['on']('execute',()=>this['fire']('execute','backward')),_0x52714b['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',_0x57a9d2['if']('_isStatusLabelVisible','ck-hidden',_0x34c7d1=>!_0x34c7d1)]},'children':[{'text':_0x57a9d2['to']('isNavigationMode',_0x399562=>_0x399562?y(_0x3815a1,'EDIT_X_OF_Y_REVISIONS')+':\x20':y(_0x3815a1,'Total')+':\x20')}]},{'text':_0x57a9d2['to']('_statusText')}]},new _0x53111b(),{'tag':'div','attributes':{'class':['ck-revision-history-ui__changes-navigation__navigation']},'children':[_0x5615db,_0x52714b]}]});}}const ce='ck-editor__editable__loading-overlay';class de extends _0x557740{static get['pluginName'](){return'RevisionViewerLoadingOverlay';}['show'](){const _0x35915e=this['editor']['editing']['view'];_0x35915e['change'](_0x42e7b3=>{for(const _0x5a315f of _0x35915e['document']['roots'])_0x42e7b3['addClass'](ce,_0x5a315f);});}['hide'](){const _0x10af06=this['editor']['editing']['view'];_0x10af06['change'](_0x479596=>{for(const _0x4681f5 of _0x10af06['document']['roots'])_0x479596['removeClass'](ce,_0x4681f5);});}}class R extends _0x557740{static get['pluginName'](){return'RevisionViewerUI';}static get['requires'](){return[d,de];}['init'](){const _0x2fee73=this['editor'],_0x2d6b72=_0x2fee73['plugins']['get'](d),_0x4456f3=_0x2fee73['plugins']['get'](de);_0x2fee73['ui']['componentFactory']['add']('exitToEditing',_0x373542=>{const _0x36f445=new _0x35fca5(_0x373542);return _0x36f445['set']({'label':y(_0x373542,'Back\x20to\x20editing'),'icon':_0x128e1a['undo'],'withText':!0x0,'tooltip':!0x0,'class':'ck-revision-history-ui__back-to-editing'}),this['listenTo'](_0x36f445,'execute',()=>{_0x2fee73['config']['get']('revisionHistory')['closeRevisionViewerCallback']();}),_0x36f445;}),_0x2fee73['ui']['componentFactory']['add']('restoreRevision',_0x11f979=>{const _0x74e8db=new _0x35fca5(_0x11f979);return _0x74e8db['set']({'label':y(_0x11f979,'Restore\x20this\x20revision'),'withText':!0x0,'tooltip':!0x0}),_0x74e8db['bind']('isEnabled')['to'](_0x2fee73['commands']['get']('restoreRevision')),this['listenTo'](_0x74e8db,'execute',()=>_0x2fee73['execute']('restoreRevision')),_0x74e8db;}),_0x2fee73['ui']['componentFactory']['add']('changesNavigation',_0x363cf3=>{const _0x3cb65d=new _i(_0x363cf3),_0x320f0e=_0x2fee73['commands']['get']('showPreviousChange'),_0x5b45dc=_0x2fee73['commands']['get']('showNextChange');return _0x3cb65d['bind']('isBackwardNavigationEnabled')['to'](_0x320f0e,'isEnabled'),_0x3cb65d['bind']('isForwardNavigationEnabled')['to'](_0x5b45dc,'isEnabled'),_0x3cb65d['bind']('isReady','currentChangeNumber','numberOfChanges','isNavigationMode')['to'](_0x2d6b72),this['listenTo'](_0x3cb65d,'execute',(_0x363c19,_0x42017a)=>{_0x2fee73['execute']('forward'===_0x42017a?'showNextChange':'showPreviousChange');}),_0x3cb65d;}),_0x4456f3['show'](),_0x2d6b72['on']('change:isReady',(_0x3a08cc,_0x2e24b0,_0x31611d)=>{_0x31611d?_0x4456f3['hide']():_0x4456f3['show']();});}}class kt extends at{['_resizeObserver']=null;constructor(_0x5340c4,_0x5e9033){super(_0x5340c4,_0x5e9033);const _0x471e95=this['bindTemplate'];this['set']({'label':y(_0x5340c4,'Revision\x20name'),'_tooltipString':''}),this['fieldView']['placeholder']=y(_0x5340c4,'Enter\x20the\x20revision\x20name'),this['extendTemplate']({'tag':'span','attributes':{'class':['ck-revision-history-sidebar__revision-name'],'data-cke-tooltip-text':_0x471e95['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 _0x176a60=this['fieldView']['element'];this['_tooltipString']=_0x176a60['scrollWidth']>_0x176a60['clientWidth']&&_0x176a60['value']||'';}}class ti extends _0x15d4d1{constructor(_0x44a41e,_0xb3dbae,_0x5be7a2){super(_0x44a41e);const _0x1fb6fd=new _0x3698f3();_0x1fb6fd['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 _0x2100fb=['ck','ck-revision-history-sidebar__revision-author'];_0x5be7a2&&_0x2100fb['push']('ck-revision-history-sidebar__revision-author_creator');const _0x2bc2c5=[{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__revision-author__name'],'title':y(_0x44a41e,_0x5be7a2?'Revision\x20creator':'Revision\x20author')},'children':[_0x1fb6fd,_0xb3dbae['name']]}];this['setTemplate']({'tag':'li','attributes':{'class':_0x2100fb},'children':_0x2bc2c5});}}function ni(_0x717f3a,_0x17a46b){const _0x58032f=_0x717f3a['bindTemplate'],_0x2e7a65=_0x717f3a['locale'],_0x454d07=_0x1707e6(_0x2e7a65);_0x454d07['panelPosition']='sw';const _0x3a06aa=function(_0x276e8f,_0x39a556){const _0x1f368e=function(_0x2796c6,_0x43049b){const _0x157827=_0x2796c6['locale'],_0x3020bf={'Compare\x20against\x20selected':y(_0x157827,'Compare\x20against\x20selected'),'Name\x20this\x20revision':y(_0x157827,'Name\x20this\x20revision'),'Restore\x20this\x20revision':y(_0x157827,'Restore\x20this\x20revision')};return _0x43049b['map'](_0x115b54=>{const _0x3abc4e=_0x3020bf[_0x115b54['name']];return _0x3abc4e&&_0x3abc4e!==_0x115b54['name']&&(_0x115b54['name']=_0x3abc4e),_0x115b54;});}(_0x276e8f,_0x39a556),_0x2023c7=new _0x27a848();for(const _0xd762f5 of _0x1f368e){const _0x31cc92={'type':'button','model':new to({'label':_0xd762f5['name'],'class':_0xd762f5['class'],'withText':!0x0,'role':'menuitem','_action':_0xd762f5['action']})};_0x31cc92['model']['bind']('isEnabled')['to'](_0x276e8f,'isActionsDropdownOpen',_0x504aea=>'function'!=typeof _0xd762f5['isEnabled']||(!_0x504aea||_0xd762f5['isEnabled'](_0x276e8f))),_0x2023c7['add'](_0x31cc92);}return _0x2023c7;}(_0x717f3a,_0x17a46b);return _0x717f3a['bind']('isActionsDropdownOpen')['to'](_0x454d07,'isOpen'),_0x454d07['buttonView']['set']({'label':y(_0x2e7a65,'Show\x20more\x20items'),'tooltip':!0x0,'tooltipPosition':'sw','icon':_0x128e1a['threeVerticalDots']}),_0x454d07['extendTemplate']({'attributes':{'class':['ck-revision-history-sidebar__revision__actions',_0x58032f['if']('isActionsDropdownOpen','ck-on')]},'on':{'click':_0x58032f['to'](_0x1fe36e=>_0x1fe36e['stopPropagation']())}}),_0x454d07['on']('execute',_0x61d893=>{_0x717f3a['isReady']&&'function'==typeof _0x61d893['source']['_action']&&_0x61d893['source']['_action'](_0x717f3a);}),_0x426176(_0x454d07,_0x3a06aa,{'role':'menu'}),_0x454d07['listenTo'](_0x717f3a,'change:isActionsDropdownOpen',(_0x2d5319,_0x4d25f8,_0x2ce8f9)=>{if(_0x2ce8f9)for(const _0x4bbccb of _0x454d07['listView']['items']){const _0x27d1e8=_0x4bbccb['children']['first'],_0xba8ff7=_0x17a46b['find'](_0x11c977=>_0x11c977['action']===_0x27d1e8['_action'])['isVisible'];_0x4bbccb['isVisible']=void 0x0===_0xba8ff7||_0xba8ff7(_0x717f3a);}}),_0x454d07;}class ai extends/* #__PURE__ -- @preserve */
|
|
26
|
+
_0x155ccd(_0x15d4d1){['id'];['revisionNameView'];['revisionActionsView'];['_revision'];['_requireRevisionName'];constructor(_0x39af4a,_0x374b9f,_0x56b42a,_0xf453c){super(_0x39af4a);const _0x575992=this['bindTemplate'],_0x15a4b0=function(_0xe3f5a5,_0x433800){const _0x16f7e1=Array['from'](_0x433800['authors'])['filter'](_0x3b17ff=>_0x3b17ff!=_0x433800['creator']);return _0x433800['creator']&&_0x16f7e1['unshift'](_0x433800['creator']),_0x16f7e1['map'](_0xa86f26=>new ti(_0xe3f5a5,_0xa86f26,_0xa86f26==_0x433800['creator']));}(_0x39af4a,_0x374b9f);this['id']=_0x374b9f['id'],this['_revision']=_0x374b9f,this['_requireRevisionName']=_0xf453c,this['bind']('name','createdAt')['to'](_0x374b9f),this['bind']('_createdAtFormatted')['to'](this,'createdAt',_0x840eae=>{return _0x352bdd=_0x39af4a['uiLanguage'],(_0x2a7dd0=_0x840eae)['toLocaleDateString'](_0x352bdd,{'month':'long','day':'numeric'})+',\x20'+_0x2a7dd0['toLocaleTimeString'](_0x352bdd,{'hour':'numeric','minute':'numeric'});var _0x352bdd,_0x2a7dd0;}),this['set']('isSelected',!0x1),this['set']('isHighlighted',!0x1),this['set']('isActionsDropdownOpen',!0x1),this['set']('isReady',!0x1),this['set']('isEnabled',!0x1),this['revisionNameView']=new kt(_0x39af4a,_0xac2b2e),this['revisionNameView']['fieldView']['extendTemplate']({'attributes':{'maxlength':'220'}}),this['revisionNameView']['fieldView']['bind']('value')['to'](this,'name',_0x1efe4e=>_0x1efe4e||this['_createdAtFormatted']),this['revisionNameView']['bind']('isEnabled')['to'](this,'isSelected',this,'isEnabled',(_0x3ffe26,_0x13d70a)=>_0x3ffe26&&_0x13d70a),this['revisionActionsView']=_0x56b42a&&_0x56b42a['length']?ni(this,_0x56b42a):'',this['revisionActionsView']&&this['revisionActionsView']['bind']('isEnabled')['to'](this),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision-wrapper',_0x575992['if']('isConfirm','ck-revision-history-sidebar__revision-wrapper_confirmation_visible')]},'children':[{'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision',_0x575992['if']('isEnabled','ck-disabled',_0x4737c=>!_0x4737c),_0x575992['if']('isSelected','ck-revision-history-sidebar__revision_selected'),_0x575992['if']('isHighlighted','ck-revision-history-sidebar__revision_highlighted'),_0x575992['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':_0x575992['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':_0x15a4b0}]},this['revisionActionsView']],'on':{'click':_0x575992['to'](_0x4a87ae=>{_0x4a87ae['srcElement']['closest']('.ck-thread__remove-confirm')||this['isReady']&&this['isEnabled']&&this['fire']('select',{'id':this['id']});})}}]});}['render'](){super['render']();const _0x4d8da2=this['revisionNameView']['fieldView']['element'];this['listenTo'](_0x4d8da2,'change',()=>{this['_requireRevisionName']&&!_0x4d8da2['value']||this['fire']('setName',{'id':this['id'],'name':_0x4d8da2['value']}),_0x4d8da2['value']||(_0x4d8da2['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(_0x3fd5d4,_0x3416c7){const _0x279231=_0x54dacf['fromJSDate'](_0x3fd5d4)['setLocale'](_0x3416c7),_0x398ea5=_0x54dacf['local'](),_0x106149=_0x398ea5['minus']({'days':0x1})['startOf']('day');let _0x80baa3,_0x3e1ca9;return _0x279231['hasSame'](_0x398ea5,'day')?(_0x80baa3=_0x279231['startOf']('day')['toJSDate'](),_0x3e1ca9=_0x279231['toRelativeCalendar']()):_0x279231['hasSame'](_0x106149,'day')?(_0x80baa3=_0x106149['toJSDate'](),_0x3e1ca9=_0x279231['toRelativeCalendar']()):_0x279231['hasSame'](_0x398ea5,'week')?(_0x80baa3=_0x279231['startOf']('week')['toJSDate'](),_0x3e1ca9=_0x279231['weekdayLong']||''):_0x279231['hasSame'](_0x398ea5,'year')?(_0x80baa3=_0x279231['startOf']('month')['toJSDate'](),_0x3e1ca9=_0x279231['monthLong']||''):(_0x80baa3=_0x279231['startOf']('year')['toJSDate'](),_0x3e1ca9=String(_0x279231['year'])),{'startDate':_0x80baa3,'localizedPeriodName':_0x3e1ca9};}class mi extends _0x15d4d1{['startDate'];['revisionViews'];['_revisionActions'];['_requireRevisionName'];constructor(_0x3afdc1,_0x515288,_0x187b7e,_0x519b6e){super(_0x3afdc1);const _0x397461=di(_0x515288,this['locale']['uiLanguage'])['localizedPeriodName'];this['startDate']=_0x515288,this['revisionViews']=this['createCollection'](),this['_revisionActions']=_0x187b7e,this['_requireRevisionName']=_0x519b6e,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':_0x397461}]},{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__time-period__revisions']},'children':this['revisionViews']}]});}['addRevision'](_0x1235d1){const _0x5ecaea=new ai(this['locale'],_0x1235d1,this['_revisionActions'],this['_requireRevisionName']);this['revisionViews']['add'](_0x5ecaea);}['removeRevision'](_0x14d1b8){const _0xe28e03=this['revisionViews']['find'](_0x363d28=>_0x363d28['id']===_0x14d1b8['id']);this['revisionViews']['remove'](_0xe28e03);}}class as extends _0x15d4d1{constructor(_0x334a8a){super(_0x334a8a);const _0x42d575=new _0x3698f3();_0x42d575['content']=_0x128e1a['history'],this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all','ck-revision-history-sidebar__header']},'children':[_0x42d575,{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__header__label']},'children':[y(_0x334a8a,'Revision\x20history')]}]});}}class ci extends _0x15d4d1{['timePeriodViews'];['_revisions'];['_revisionActions'];['_requireRevisionName'];constructor(_0x23986a,_0x2ecda2,_0x466b43,_0x5f426f){super(_0x23986a);const _0x2f6131=this['bindTemplate'];this['timePeriodViews']=this['createCollection'](),this['timePeriodViews']['delegate']('select')['to'](this),this['timePeriodViews']['delegate']('setName')['to'](this),this['_revisions']=_0x2ecda2,this['_revisionActions']=_0x466b43,this['_requireRevisionName']=_0x5f426f,this['on']('select',(_0xc9654,_0x34d67e)=>{this['fire']('revisionSelected',_0x34d67e);}),this['on']('setName',(_0x27ba02,_0x4e40aa)=>{this['fire']('revisionSetName',_0x4e40aa);}),this['set']('isEnabled',!0x1),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-rounded-corners','ck-revision-history-sidebar']},'children':[new as(_0x23986a),{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__timeline',_0x2f6131['if']('isEnabled','ck-disabled',_0x2d6360=>!_0x2d6360)]},'children':this['timePeriodViews']}]});}['render'](){super['render']();for(const _0x2696cd of this['_revisions'])this['_addRevision'](_0x2696cd);this['_revisions']['on']('add',(_0x5bbf74,_0x1a0163)=>{this['_addRevision'](_0x1a0163);}),this['_revisions']['on']('remove',(_0x470396,_0x5a3e97)=>{this['_removeRevision'](_0x5a3e97);});}get['revisionViews'](){return this['timePeriodViews']['map'](_0x442224=>_0x442224['revisionViews']['map'](_0x443a02=>_0x443a02))['flat']();}['selectRevision'](_0x156a93){for(const _0x4a5bb7 of this['revisionViews'])_0x156a93&&_0x156a93['id']===_0x4a5bb7['id']?_0x4a5bb7['select']():_0x4a5bb7['deselect']();}['highlightRevisions'](_0x522339){for(const _0x448a71 of this['revisionViews'])_0x522339['some'](({id:_0x34e189})=>_0x34e189===_0x448a71['id'])?_0x448a71['highlight']():_0x448a71['unhighlight']();}['_addRevision'](_0x4a164e){const _0x3c7719=di(_0x4a164e['createdAt'],this['locale']['uiLanguage'])['startDate'];let _0x43f4a0=this['timePeriodViews']['get'](0x0);_0x43f4a0&&_0x43f4a0['startDate']['getTime']()===_0x3c7719['getTime']()||(_0x43f4a0=new mi(this['locale'],_0x3c7719,this['_revisionActions'],this['_requireRevisionName']),this['timePeriodViews']['add'](_0x43f4a0)),_0x43f4a0['addRevision'](_0x4a164e);}['_removeRevision'](_0x32e47e){const _0x23978c=di(_0x32e47e['createdAt'],this['locale']['uiLanguage'])['startDate'];this['_getTimePeriodViewByStartDate'](_0x23978c)['removeRevision'](_0x32e47e);}['_getTimePeriodViewByStartDate'](_0x17bac5){return this['timePeriodViews']['find'](_0x5d4c64=>_0x5d4c64['startDate']['getTime']()===_0x17bac5['getTime']());}}class w extends _0x557740{['_revisionViewer'];['_revisionsRepository'];['_sidebarView'];static ['defaultRevisionActions']=/* #__PURE__ -- @preserve */
|
|
27
27
|
((()=>['compareAgainstSelected','restoreRevision','nameRevision'])());static ['availableRevisionActions']=/* #__PURE__ -- @preserve */
|
|
28
|
-
Rt();static get['pluginName'](){return'RevisionsSidebar';}static get['requires'](){return[d];}constructor(
|
|
29
|
-
rt(it){['_ui'];get['ui'](){return this['_ui'];}constructor(
|
|
28
|
+
Rt();static get['pluginName'](){return'RevisionsSidebar';}static get['requires'](){return[d];}constructor(_0xf62f15){super(_0xf62f15),this['_revisionViewer']=_0xf62f15['plugins']['get'](d),this['_revisionsRepository']=this['_revisionViewer']['repository'],this['_sidebarView']=null;}['init'](){const _0x2c6fcc=this['_revisionsRepository']['_revisions'],_0x4a4c55=this['_createRevisionActions'](),_0x35b9b9=this['editor']['config']['get']('revisionHistory.viewerSidebarContainer');this['_sidebarView']=new ci(this['editor']['locale'],_0x2c6fcc,_0x4a4c55,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',(_0x165553,_0x586d69)=>{_0x586d69['revisionViews']['on']('add',(_0x57e8b3,_0x59f53e)=>{_0x59f53e['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)),_0x35b9b9['appendChild'](this['_sidebarView']['element']);}['destroy'](){this['_sidebarView']['element']['remove'](),this['_sidebarView']['destroy']();}['_handleEditorDataReady'](){const _0x149ee9=this['_revisionsRepository']['getRevision'](0x0);if(_0x149ee9){const _0x82156b=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x149ee9['id']);this['_revisionViewer']['compare'](_0x149ee9,_0x82156b);}}['_handleRevisionSelected'](_0x412e34,_0x13803c){const _0x2953dd=this['_revisionsRepository']['getRevision'](_0x13803c['id']),_0x47f23f=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x2953dd['id']);this['_revisionViewer']['compare'](_0x2953dd,_0x47f23f);}['_handleRevisionSetName'](_0x21d451,_0x28d55d){this['_revisionsRepository']['getRevision'](_0x28d55d['id'])['setName'](_0x28d55d['name']);}['_handleDiffChange'](_0x3442b0,_0x59b32f,_0xfd8e68){const _0x470042=this['_revisionsRepository']['getRevisionsInDiff'](_0xfd8e68);_0x470042['length']>0x2?(this['_sidebarView']['highlightRevisions'](_0x470042),this['_sidebarView']['selectRevision'](null)):(this['_sidebarView']['highlightRevisions']([]),this['_sidebarView']['selectRevision'](_0x470042[0x0]));}['_createRevisionActions'](){const _0x205e30=this['editor'],_0x15965b=w['availableRevisionActions'],_0x3b79de=_0x205e30['config']['get']('revisionHistory.revisionActions')||w['defaultRevisionActions'];if(_0x3b79de['length'])return _0x3b79de['map'](_0x3d512c=>{const _0x3e8ace='string'==typeof _0x3d512c?Object['assign']({},_0x15965b[_0x3d512c]):_0x3d512c;return _0x3e8ace['action']=_0x3e8ace['action']['bind'](this,_0x205e30),_0x3e8ace['isVisible']&&(_0x3e8ace['isVisible']=_0x3e8ace['isVisible']['bind'](this,_0x205e30)),_0x3e8ace;});}}function Rt(){return{'compareAgainstSelected':{'name':'Compare\x20against\x20selected','action':({plugins:_0x5891e6},_0x4b88c4)=>{const _0x2207c5=_0x5891e6['get'](d),_0x331a30=_0x2207c5['repository'];let _0x55e29c=_0x2207c5['diff']['newRevisionId'],_0x52aea1=_0x4b88c4['id'];_0x331a30['getIndex'](_0x55e29c)>_0x331a30['getIndex'](_0x52aea1)&&([_0x55e29c,_0x52aea1]=[_0x52aea1,_0x55e29c]),_0x2207c5['compare'](_0x55e29c,_0x52aea1);},'isVisible':({plugins:_0x52b4e7},_0x814e2c)=>{const _0x5db8e1=_0x52b4e7['get'](d);return!(_0x5db8e1['repository']['getRevisionsInDiff'](_0x5db8e1['diff'])['length']>0x2)&&!_0x814e2c['isSelected'];}},'restoreRevision':{'name':'Restore\x20this\x20revision','action':(_0x1400fa,{id:_0x1bce55})=>{_0x1400fa['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x1bce55);},'isVisible':({plugins:_0x1c6739},_0x17eb34)=>!!_0x1c6739['get'](d)['repository']['getLaterVisibleRevision'](_0x17eb34['id'])},'nameRevision':{'name':'Name\x20this\x20revision','action':({plugins:_0xe02eb1},{id:_0x38e5a8,revisionNameView:_0x3db02c})=>{const _0x27b394=_0xe02eb1['get'](d),_0x581baf=_0x27b394['repository']['getEarlierVisibleRevision'](_0x38e5a8);_0x27b394['compare'](_0x38e5a8,_0x581baf),_0x3db02c['focus'](),_0x3db02c['fieldView']['select']();}}};}class st extends ht{['_view'];['_toolbarConfig'];['_elementReplacer'];get['view'](){return this['_view'];}constructor(_0x4b80ab,_0x57b7bc){super(_0x4b80ab),this['_view']=_0x57b7bc,this['_toolbarConfig']=ct(_0x4b80ab['config']['get']('toolbar')),this['_elementReplacer']=new nt();}get['element'](){return this['view']['element'];}['init'](_0x65b89c){const _0x17eede=this['editor'],_0x50fa87=this['view'],_0x258e63=_0x17eede['editing']['view'],_0x42415a=_0x50fa87['editable'],_0x5c34dd=_0x258e63['document']['getRoot']();_0x42415a['name']=_0x5c34dd['rootName'],_0x50fa87['render']();const _0x262174=_0x42415a['element'];this['setEditableElement'](_0x42415a['name'],_0x262174),_0x50fa87['editable']['bind']('isFocused')['to'](this['focusTracker']),_0x258e63['attachDomRoot'](_0x262174),this['_elementReplacer']['replace'](_0x65b89c,this['element']),this['_initToolbar'](),this['fire']('ready');}['destroy'](){super['destroy']();const _0x2b1260=this['view'],_0x121fcd=this['editor']['editing']['view'];this['_elementReplacer']['restore'](),_0x121fcd['detachDomRoot'](_0x2b1260['editable']['name']),_0x2b1260['destroy']();}['_initToolbar'](){const _0x2deab8=this['view'];_0x2deab8['stickyPanel']['bind']('isActive')['to'](this['focusTracker'],'isFocused'),_0x2deab8['stickyPanel']['limiterElement']=_0x2deab8['element'],_0x2deab8['stickyPanel']['bind']('viewportTopOffset')['to'](this,'viewportOffset',({top:_0x5bdcd5})=>_0x5bdcd5),_0x2deab8['toolbar']['fillFromConfig'](this['_toolbarConfig'],this['componentFactory']),this['addToolbar'](_0x2deab8['toolbar']);}}class ot extends dt{['_editable'];['stickyPanel'];['toolbar'];get['editable'](){return this['_editable'];}constructor(_0x32bc19,_0x826ce8,_0x1a5588={}){super(_0x32bc19),this['stickyPanel']=new lt(_0x32bc19),this['toolbar']=new pt(_0x32bc19,{'shouldGroupWhenFull':_0x1a5588['shouldToolbarGroupWhenFull']}),this['_editable']=new ut(_0x32bc19,_0x826ce8);}['render'](){super['render'](),this['stickyPanel']['content']['add'](this['toolbar']),this['top']['add'](this['stickyPanel']),this['main']['add'](this['editable']);}}class m extends/* #__PURE__ -- @preserve */
|
|
29
|
+
rt(it){['_ui'];get['ui'](){return this['_ui'];}constructor(_0x1e5191,_0x12d6b6){super(_0x12d6b6),this['sourceElement']=_0x1e5191,this['model']['document']['createRoot']();const _0xd4e76d=new ot(this['locale'],this['editing']['view'],{'shouldToolbarGroupWhenFull':!0x0});this['_ui']=new st(this,_0xd4e76d);}['destroy'](){return this['updateSourceElement'](),this['ui']['destroy'](),super['destroy']();}static async['create'](_0x3daad6,_0x3c32ff){const _0xe33447=new this(_0x3daad6,_0x3c32ff);return await _0xe33447['initPlugins'](),await _0xe33447['ui']['init'](_0x3daad6),await _0xe33447['data']['init'](_0xe33447['config']['get']('initialData')||''),_0xe33447['fire']('ready'),_0xe33447;}}const p=['RevisionHistoryUI','RestrictedEditingMode'];class k extends _0x557740{['result'];static get['pluginName'](){return'RevisionViewerIntegration';}constructor(_0x4edcee){super(_0x4edcee),this['result']='end';}}class H extends _0x557740{['_viewerEditor'];static get['pluginName'](){return'RevisionHistory';}static get['requires'](){return[l,u];}constructor(_0x498a87){if(super(_0x498a87),!this['editor']['config']['get']('revisionHistory'))throw new _0x3f8a58('revision-history-missing-configuration',this);this['_viewerEditor']=null,this['editor']['config']['define']('revisionHistory.showRevisionViewerCallback',_0x40d670=>this['_showRevisionViewer']({..._0x40d670,'translations':this['editor']['locale']['translations']})),this['editor']['config']['define']('revisionHistory.closeRevisionViewerCallback',_0x259192=>this['_closeRevisionViewer'](_0x259192)),this['editor']['config']['define']('revisionHistory.restoreRevisionCallback',_0x4f16be=>this['_restoreRevision'](_0x4f16be)),this['editor']['config']['define']('revisionHistory.requireRevisionName',!0x1),this['_enhanceShowRevisionViewerCallback'](),this['_enhanceCloseRevisionViewerCallback']();}set['adapter'](_0x38ddb9){this['editor']['plugins']['get']('RevisionTracker')['adapter']=_0x38ddb9;}get['adapter'](){return this['editor']['plugins']['get']('RevisionTracker')['adapter'];}['addRevisionData'](_0x2ac0ca){return this['editor']['plugins']['get']('RevisionTracker')['addRevisionData'](_0x2ac0ca);}['getRevision'](_0x47f64d){return this['editor']['plugins']['get']('RevisionsRepository')['getRevision'](_0x47f64d);}['getRevisions'](_0x94293f){return this['editor']['plugins']['get']('RevisionsRepository')['getRevisions'](_0x94293f||{'toJSON':!0x1});}['_getRevisionViewerEditorConfig'](){const _0x4f8d11=this['editor'],_0x2a7db2=_0x2776c5(_0x4f8d11,p),_0x40e8bd=_0x4f8d11['plugins']['get']('RevisionTracker'),_0x582d5a=_0x4f8d11['plugins']['get']('Users')['users'];return _0x2a7db2['toolbar']=['exitToEditing','restoreRevision','changesNavigation'],delete _0x2a7db2['lazyRoots'],(_0x2a7db2['plugins']['push'](k,d,R,class extends _0x557740{static get['requires'](){return[d,'Users'];}['init'](){const _0x2b222e=this['editor']['plugins']['get']('Users');for(const _0x104742 of _0x582d5a)_0x104742['isAnonymous']||_0x2b222e['getUser'](_0x104742['id'])||_0x2b222e['addUser'](_0x104742);const _0x132feb=_0x40e8bd['repository']['getRevisions']();let _0x54145b=null;const _0x5eba95=this['editor']['plugins']['get']('RevisionViewer');_0x5eba95['adapter']=_0x40e8bd['adapter'],_0x5eba95['bind']('isEnabled')['to'](_0x40e8bd),this['editor']['commands']['get']('restoreRevision')['bind']('isEnabled')['to'](_0x4f8d11,'isReadOnly',_0x5d368a=>!_0x5d368a);for(const _0x3fbaa8 of _0x132feb){const _0x1544c1=null===_0x3fbaa8['creator'];if(_0x1544c1&&_0x3fbaa8['toVersion']===_0x3fbaa8['fromVersion'])continue;const _0x17f475=_0x3fbaa8['toJSON']();_0x5eba95['addRevisionData'](_0x17f475,(_0x47b022,_0x27d3d6,_0x5d9230)=>{if(_0x1544c1){if(_0x54145b)_0x54145b['_update'](_0x47b022,_0x27d3d6);else{if(!_0x27d3d6){const _0x3ad5e2=_0x5d9230['toJSON']();_0x3ad5e2['id']=_0x565755(),_0x40e8bd['saveRevision'](_0x3ad5e2,_0x5d9230['toVersion'])['then'](_0x1bb50a=>{_0x54145b=_0x1bb50a;});}}}else _0x3fbaa8['_update'](_0x47b022,_0x27d3d6);});}}},w),_0x2a7db2);}['_enhanceShowRevisionViewerCallback'](){const _0x49527a=this['editor']['config']['get']('revisionHistory')['showRevisionViewerCallback'];this['editor']['config']['set']('revisionHistory.showRevisionViewerCallback',async()=>{this['editor']['enableReadOnlyMode']('revision-history-viewer-opened');const _0x46caed=this['editor']['plugins']['get']('RevisionTracker');if(this['editor']['plugins']['has']('Autosave')){const _0x34b7f3=this['editor']['plugins']['get']('Autosave');await _0x34b7f3['save']();}else await _0x46caed['update']();if(this['editor']['plugins']['has']('PaginationLookup')&&this['editor']['plugins']['get']('PaginationLookup')['_recalculatePageBreaks'](),this['editor']['plugins']['has']('Dialog')){const _0x12318f=this['editor']['plugins']['get']('Dialog');_0x12318f['isOpen']&&_0x12318f['hide']();}const _0x40df1b=this['_getRevisionViewerEditorConfig']();return _0x49527a(_0x40df1b)['then'](_0x45e2ce=>{return(this['_viewerEditor']=_0x45e2ce,this['editor']['plugins']['has']('Annotations'))&&this['editor']['plugins']['get']('Annotations')['refreshVisibility'](),_0x45e2ce;})['catch'](_0x7d6518=>(console['error'](_0x7d6518),this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),null));});}['_enhanceCloseRevisionViewerCallback'](){const _0x2e2da0=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'](),_0x2e2da0(this['_viewerEditor'])['then'](()=>{if(this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),this['_viewerEditor']=null,this['editor']['plugins']['has']('Annotations')){const _0x1eaed5=this['editor']['plugins']['get']('Annotations');_0x1eaed5['refreshVisibility'](),_0x1eaed5['refreshPositioning']();}})));}['_showRevisionViewer'](_0x289bdc){const _0x3eac1e=this['editor']['config']['get']('revisionHistory.editorContainer'),_0x400a9c=this['editor']['config']['get']('revisionHistory.viewerContainer'),_0x201027=this['editor']['config']['get']('revisionHistory.viewerEditorElement');return m['create'](_0x201027,_0x289bdc)['then'](_0x5a94d9=>(_0x400a9c['style']['display']='block',_0x3eac1e['style']['display']='none',_0x5a94d9));}['_closeRevisionViewer'](_0x2d203c){const _0x4089fe=this['editor']['config']['get']('revisionHistory.editorContainer');return this['editor']['config']['get']('revisionHistory.viewerContainer')['style']['display']='none',_0x4089fe['style']['display']='',_0x2d203c['destroy']();}async['_restoreRevision'](_0x495548){const _0x4a5245=this['editor'],_0x139a8b=this['_viewerEditor']['plugins']['get']('RevisionViewer'),_0x2320b3=_0x4a5245['plugins']['get']('RevisionTracker'),_0x3fcdda=_0x139a8b['repository']['getRevision'](_0x495548);let _0x2bc77f,_0x577b1e,_0x233430;try{_0x2bc77f=await _0x139a8b['getRevisionData'](_0x3fcdda),_0x577b1e=await _0x139a8b['getRevisionRootsAttributes'](_0x3fcdda);}catch(_0x5cf1a8){return void console['error'](_0x5cf1a8);}_0x4a5245['model']['change'](_0x31f9e8=>{for(const _0x3d8376 of Array['from'](_0x4a5245['model']['markers']['getMarkersGroup']('restrictedEditingException')))_0x31f9e8['removeMarker'](_0x3d8376);}),_0x139a8b['isReady']=!0x1,_0x4a5245['model']['enqueueChange'](_0x313a09=>{_0x313a09['setSelection'](null),_0x313a09['removeSelectionAttribute'](_0x4a5245['model']['document']['selection']['getAttributeKeys']());const _0x38085d=Object['keys'](_0x2bc77f);for(const _0x8ec905 of _0x4a5245['model']['document']['roots'])'$graveyard'!=_0x8ec905['rootName']&&_0x8ec905['isAttached']()&&!_0x38085d['includes'](_0x8ec905['rootName'])&&_0x313a09['detachRoot'](_0x8ec905);for(const _0x174e3a of _0x38085d){let _0xf7cf63=_0x4a5245['model']['document']['getRoot'](_0x174e3a);_0xf7cf63&&_0xf7cf63['isAttached']()||(_0xf7cf63=_0x313a09['addRoot'](_0x174e3a));const _0x3b8df1=_0x577b1e[_0x174e3a],_0x38a3fb=Object['keys'](_0x3b8df1),_0x48fdfc=_0x2bc77f[_0x174e3a];for(const _0x5721e7 of _0xf7cf63['getAttributeKeys']())_0x38a3fb['includes'](_0x5721e7)||_0x313a09['removeAttribute'](_0x5721e7,_0xf7cf63);for(const _0x5e28f0 of _0x38a3fb)_0x313a09['setAttribute'](_0x5e28f0,_0x577b1e[_0x174e3a][_0x5e28f0],_0xf7cf63);_0x313a09['remove'](_0x313a09['createRangeIn'](_0xf7cf63)),_0x313a09['insert'](_0x4a5245['data']['parse'](_0x48fdfc,_0xf7cf63),_0xf7cf63,0x0);}});const _0x4aece1=y(_0x4a5245['locale'],'Restored');if(_0x3fcdda['name'])_0x233430=-0x1==_0x3fcdda['name']['indexOf'](_0x4aece1)?_0x4aece1+':\x20'+_0x3fcdda['name']:_0x3fcdda['name'];else _0x233430=_0x4aece1+':\x20'+(_0x3fcdda['createdAt']['toLocaleDateString'](_0x4a5245['locale']['uiLanguage'],{'month':'long','day':'numeric'})+',\x20'+_0x3fcdda['createdAt']['toLocaleTimeString'](_0x4a5245['locale']['uiLanguage'],{'hour':'numeric','minute':'numeric'}));return await _0x2320b3['saveRevision']({'name':_0x233430}),_0x139a8b['isReady']=!0x0,_0x4a5245['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};
|