@ckeditor/ckeditor5-revision-history 43.0.0 → 43.1.0-alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/revision-history.js +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.js +6 -6
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +8 -8
- package/src/changeitem.js +2 -2
- package/src/editor/revisionviewereditor.js +2 -2
- package/src/editor/revisionviewereditorui.js +1 -1
- package/src/editor/revisionviewereditoruiview.js +1 -1
- package/src/index.d.ts +1 -0
- package/src/index.js +1 -1
- package/src/revision.js +2 -2
- package/src/revisiondiff.js +1 -1
- package/src/revisionhistory.js +1 -1
- package/src/revisionsrepository.js +1 -1
- package/src/revisiontracker.js +1 -1
- package/src/revisionviewer.js +1 -1
- package/src/ui/revision/createrevisionactionsdropdown.js +1 -1
- package/src/ui/revision/revisionauthorview.js +1 -1
- package/src/ui/revision/revisionnameview.js +1 -1
- package/src/ui/revision/revisionview.js +2 -2
- package/src/ui/revision/subrevisioncollapserview.js +1 -1
- package/src/ui/revision/subrevisionview.js +1 -1
- package/src/ui/revision/utils.js +1 -1
- package/src/ui/revisionhistory/revisionhistorysaverevisionformview.js +1 -1
- package/src/ui/revisionhistory/revisionhistoryui.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebar.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebarheaderview.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebartimeperiodview.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebarview.js +1 -1
- package/src/ui/revisionssidebar/utils.js +1 -1
- package/src/ui/revisionviewer/changedetailsview.js +1 -1
- package/src/ui/revisionviewer/changesnavigationview.js +1 -1
- package/src/ui/revisionviewer/revisionviewerloadingoverlay.js +1 -1
- package/src/ui/revisionviewer/revisionviewerui.js +1 -1
- package/src/utils/common-translations.js +1 -1
package/dist/index.js
CHANGED
|
@@ -20,10 +20,10 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{
|
|
24
|
-
_0x169ba8(){['id'];['creator'];['authors'];['diffData'];['toVersion'];['fromVersion'];['model'];constructor(_0x4f8f45){super(),this['id']=_0x4f8f45['id']||_0xe98175(),this['creator']=_0x4f8f45['creator']||null,this['authors']=_0x4f8f45['authors']||[],this['diffData']=_0x4f8f45['diffData']||null,this['toVersion']=_0x4f8f45['toVersion']||0x0,this['fromVersion']=_0x4f8f45['fromVersion']||0x0,this['set']('name',_0x4f8f45['name']||''),this['set']('createdAt',_0x4f8f45['createdAt']||new Date()),this['set']('attributes',_0x4f8f45['attributes']||{});}['setName'](_0x1d00aa){this['_update']({'name':_0x1d00aa});}['setAttribute'](_0x598103,_0x1f6769){const _0x8cc10d=_0x146537(this['attributes']);_0x12320f(_0x8cc10d,_0x598103,_0x1f6769),this['_update']({'attributes':_0x8cc10d});}['removeAttribute'](_0x3cd3f2){const _0x57138e=_0x146537(this['attributes']);_0x44dba8(_0x57138e,_0x3cd3f2),this['_update']({'attributes':_0x57138e});}['_update'](_0x3ad660,_0x2609a8=!0x1){let _0x1d74ae=!0x1;const _0xf3027={'id':this['id']},_0x2cb589=['name','createdAt','diffData','authors','attributes','toVersion','fromVersion','creatorId'];for(const _0x144240 of _0x2cb589){const _0x5a30ce=_0x3ad660[_0x144240];void 0x0!==_0x5a30ce&&_0x5a30ce!==this[_0x144240]&&(this[_0x144240]=_0x5a30ce,_0xf3027[_0x144240]=_0x5a30ce,_0x1d74ae=!0x0);}_0x1d74ae&&(_0xf3027['authors']&&(_0xf3027['authorsIds']=_0xf3027['authors']['map'](_0x33eda6=>_0x33eda6['id']),delete _0xf3027['authors']),this['fire']('_update',_0xf3027,_0x2609a8));}['toJSON'](){return{'id':this['id'],'name':this['name'],'creatorId':this['creator']?this['creator']['id']:null,'authorsIds':this['authors']['map'](_0x1ae154=>_0x1ae154['id']),'diffData':this['diffData'],'createdAt':this['createdAt'],'attributes':this['attributes'],'fromVersion':this['fromVersion'],'toVersion':this['toVersion']};}}class A extends _0x508c8f{['_revisions'];static get['requires'](){return[_0x5265ea];}static get['pluginName'](){return'RevisionsRepository';}get['length'](){return this['_revisions']['length'];}constructor(_0x52eccc){super(_0x52eccc),this['_revisions']=new _0x3f7d5c();}['afterInit'](){!function(_0x3554db){function _0x1dbaa7(_0x31ffed,_0x267d6d,_0x4c3280){const _0x137f3f={};_0x137f3f[_0x262804([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])]={0x10:0xa,0x18:0xc,0x20:0xe},_0x137f3f[_0x262804([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],_0x137f3f[_0x262804([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],_0x137f3f[_0x262804([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],_0x137f3f[_0x262804([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],_0x137f3f[_0x262804([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],_0x137f3f[_0x262804([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],_0x137f3f[_0x262804([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],_0x137f3f[_0x262804([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],_0x137f3f[_0x262804([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],_0x137f3f[_0x262804([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 _0xe74f6=new Uint8Array(0x10);for(let _0x4f1d2c=0xf;_0x4f1d2c>=0x0;--_0x4f1d2c)_0xe74f6[_0x4f1d2c]=_0x4c3280%0x100,_0x4c3280=parseInt(_0x4c3280/0x100);let _0x586a83=null,_0x43c03d=0x10;const _0xc89187=new Uint8Array(_0x267d6d),_0x575f28=[],_0x9fffb7=[];_0x32067c();for(let _0x2172be=0x0;_0x2172be<_0x31ffed[_0x262804([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2172be++)0x10===_0x43c03d&&(_0x586a83=_0x3311b7(_0xe74f6),_0x43c03d=0x0,_0x4ea845(_0xe74f6)),_0x31ffed[_0x2172be]^=_0x586a83[_0x43c03d++];return _0x31ffed;function _0x5ed589(_0x2457d7){const _0x58c6f3=[];for(let _0x43f1c0=0x0;_0x43f1c0<_0x2457d7[_0x262804([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x43f1c0+=0x4)_0x58c6f3[_0x262804([0x70,0x75,0x73,0x68])](_0x2457d7[_0x43f1c0]<<0x18|_0x2457d7[_0x43f1c0+0x1]<<0x10|_0x2457d7[_0x43f1c0+0x2]<<0x8|_0x2457d7[_0x43f1c0+0x3]);return _0x58c6f3;}function _0x4ea845(_0x55aa8c){for(let _0x110f9a=0xf;_0x110f9a>=0x0;_0x110f9a--){if(0xff!==_0x55aa8c[_0x110f9a]){_0x55aa8c[_0x110f9a]++;break;}_0x55aa8c[_0x110f9a]=0x0;}}function _0x3311b7(_0x1c87ba){const _0x3fedd1=_0x575f28[_0x262804([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x1,_0x2850f3=[0x0,0x0,0x0,0x0];let t=_0x5ed589(_0x1c87ba);for(let _0xa867d8=0x0;_0xa867d8<0x4;_0xa867d8++)t[_0xa867d8]^=_0x575f28[0x0][_0xa867d8];for(let _0x19af1a=0x1;_0x19af1a<_0x3fedd1;_0x19af1a++){for(let _0x35d7b5=0x0;_0x35d7b5<0x4;_0x35d7b5++)_0x2850f3[_0x35d7b5]=_0x137f3f[_0x262804([0x54,0x31])][t[_0x35d7b5]>>0x18&0xff]^_0x137f3f[_0x262804([0x54,0x32])][t[(_0x35d7b5+0x1)%0x4]>>0x10&0xff]^_0x137f3f[_0x262804([0x54,0x33])][t[(_0x35d7b5+0x2)%0x4]>>0x8&0xff]^_0x137f3f[_0x262804([0x54,0x34])][0xff&t[(_0x35d7b5+0x3)%0x4]]^_0x575f28[_0x19af1a][_0x35d7b5];t=_0x2850f3[_0x262804([0x73,0x6c,0x69,0x63,0x65])]();}const _0x5378f9=new Uint8Array(0x10);let _0x138884;for(let _0x55945d=0x0;_0x55945d<0x4;_0x55945d++)_0x138884=_0x575f28[_0x3fedd1][_0x55945d],_0x5378f9[0x4*_0x55945d]=0xff&(_0x137f3f[_0x262804([0x53])][t[_0x55945d]>>0x18&0xff]^_0x138884>>0x18),_0x5378f9[0x4*_0x55945d+0x1]=0xff&(_0x137f3f[_0x262804([0x53])][t[(_0x55945d+0x1)%0x4]>>0x10&0xff]^_0x138884>>0x10),_0x5378f9[0x4*_0x55945d+0x2]=0xff&(_0x137f3f[_0x262804([0x53])][t[(_0x55945d+0x2)%0x4]>>0x8&0xff]^_0x138884>>0x8),_0x5378f9[0x4*_0x55945d+0x3]=0xff&(_0x137f3f[_0x262804([0x53])][0xff&t[(_0x55945d+0x3)%0x4]]^_0x138884);return _0x5378f9;}function _0x32067c(){const _0x142e18=_0x137f3f[_0x262804([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])][_0xc89187[_0x262804([0x6c,0x65,0x6e,0x67,0x74,0x68])]];for(let _0x5905b8=0x0;_0x5905b8<=_0x142e18;_0x5905b8++)_0x575f28[_0x262804([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]),_0x9fffb7[_0x262804([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]);const _0x3c2daf=0x4*(_0x142e18+0x1),_0x5b545e=_0xc89187[_0x262804([0x6c,0x65,0x6e,0x67,0x74,0x68])]/0x4,_0x5e70ea=_0x5ed589(_0xc89187);let _0x14fb8e;for(let _0x5366fd=0x0;_0x5366fd<_0x5b545e;_0x5366fd++)_0x14fb8e=_0x5366fd>>0x2,_0x575f28[_0x14fb8e][_0x5366fd%0x4]=_0x5e70ea[_0x5366fd],_0x9fffb7[_0x142e18-_0x14fb8e][_0x5366fd%0x4]=_0x5e70ea[_0x5366fd];let _0x3af820,_0x1a3250=0x0,t=_0x5b545e;for(;t<_0x3c2daf;){_0x3af820=_0x5e70ea[_0x5b545e-0x1],_0x5e70ea[0x0]^=_0x137f3f[_0x262804([0x53])][_0x3af820>>0x10&0xff]<<0x18^_0x137f3f[_0x262804([0x53])][_0x3af820>>0x8&0xff]<<0x10^_0x137f3f[_0x262804([0x53])][0xff&_0x3af820]<<0x8^_0x137f3f[_0x262804([0x53])][_0x3af820>>0x18&0xff]^_0x137f3f[_0x262804([0x72,0x63,0x6f,0x6e])][_0x1a3250]<<0x18,_0x1a3250+=0x1;for(let _0x3c2bb7=0x1;_0x3c2bb7<_0x5b545e/0x2;_0x3c2bb7++)_0x5e70ea[_0x3c2bb7]^=_0x5e70ea[_0x3c2bb7-0x1];_0x3af820=_0x5e70ea[_0x5b545e/0x2-0x1],_0x5e70ea[_0x5b545e/0x2]^=_0x137f3f[_0x262804([0x53])][0xff&_0x3af820]^_0x137f3f[_0x262804([0x53])][_0x3af820>>0x8&0xff]<<0x8^_0x137f3f[_0x262804([0x53])][_0x3af820>>0x10&0xff]<<0x10^_0x137f3f[_0x262804([0x53])][_0x3af820>>0x18&0xff]<<0x18;for(let _0x565c27=_0x5b545e/0x2+0x1;_0x565c27<_0x5b545e;_0x565c27++)_0x5e70ea[_0x565c27]^=_0x5e70ea[_0x565c27-0x1];let _0xbe71cc,_0x339bae,_0x21b3e5=0x0;for(;_0x21b3e5<_0x5b545e&&t<_0x3c2daf;)_0xbe71cc=t>>0x2,_0x339bae=t%0x4,_0x575f28[_0xbe71cc][_0x339bae]=_0x5e70ea[_0x21b3e5],_0x9fffb7[_0x142e18-_0xbe71cc][_0x339bae]=_0x5e70ea[_0x21b3e5++],t++;}for(let _0x78c357=0x1;_0x78c357<_0x142e18;_0x78c357++)for(let _0x86594e=0x0;_0x86594e<0x4;_0x86594e++)_0x3af820=_0x9fffb7[_0x78c357][_0x86594e],_0x9fffb7[_0x78c357][_0x86594e]=_0x137f3f[_0x262804([0x55,0x31])][_0x3af820>>0x18&0xff]^_0x137f3f[_0x262804([0x55,0x32])][_0x3af820>>0x10&0xff]^_0x137f3f[_0x262804([0x55,0x33])][_0x3af820>>0x8&0xff]^_0x137f3f[_0x262804([0x55,0x34])][0xff&_0x3af820];}}function _0x262804(_0x4da7eb){return _0x4da7eb['map'](_0x10c16e=>String['fromCharCode'](_0x10c16e))['join']('');}(_0x34c9f0=>{function _0x178dd0(){const _0x5251cd=[{[_0x262804([0x69,0x64])]:0x1,[_0x262804([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x262804([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73]),[_0x262804([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x262804([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x262804([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x262804([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x262804([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x262804([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x262804([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]:[{[_0x262804([0x69,0x64])]:0x2,[_0x262804([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x262804([0x54,0x72,0x61,0x63,0x6b,0x20,0x43,0x68,0x61,0x6e,0x67,0x65,0x73]),[_0x262804([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x262804([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x262804([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x262804([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x262804([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x262804([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]),[_0x262804([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x262804([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x262804([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x262804([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}}],[_0x262804([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x262804([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x262804([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x262804([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x262804([0x69,0x64])]:0x3,[_0x262804([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x262804([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e]),[_0x262804([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x262804([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x6f,0x6f,0x6b,0x75,0x70]),[_0x262804([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x262804([0x70,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x262804([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x262804([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x262804([0x69,0x64])]:0x4,[_0x262804([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x262804([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x20,0x48,0x69,0x73,0x74,0x6f,0x72,0x79]),[_0x262804([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x262804([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x262804([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x262804([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x262804([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x262804([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]),[_0x262804([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x262804([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x262804([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x262804([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x262804([0x69,0x64])]:0x5,[_0x262804([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x262804([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x20,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65]),[_0x262804([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x262804([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65,0x55,0x49]),[_0x262804([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x262804([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]),[_0x262804([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x262804([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x262804([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x262804([0x66,0x67,0x69])]:[0xc]}},{[_0x262804([0x69,0x64])]:0x6,[_0x262804([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x262804([0x46,0x6f,0x72,0x6d,0x61,0x74,0x20,0x50,0x61,0x69,0x6e,0x74,0x65,0x72]),[_0x262804([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x262804([0x46,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x55,0x49]),[_0x262804([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x262804([0x66,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x262804([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x262804([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x262804([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x262804([0x66,0x67,0x69])]:[0xc]}},{[_0x262804([0x69,0x64])]:0x7,[_0x262804([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x262804([0x53,0x6c,0x61,0x73,0x68,0x20,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64]),[_0x262804([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x262804([0x53,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x55,0x49]),[_0x262804([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x262804([0x73,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x262804([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x262804([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x262804([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x262804([0x66,0x67,0x69])]:[0xc]}},{[_0x262804([0x69,0x64])]:0x8,[_0x262804([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x262804([0x54,0x61,0x62,0x6c,0x65,0x20,0x6f,0x66,0x20,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73]),[_0x262804([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x262804([0x54,0x61,0x62,0x6c,0x65,0x4f,0x66,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x262804([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x262804([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]),[_0x262804([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x262804([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x262804([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x262804([0x66,0x67,0x69])]:[0xc]}},{[_0x262804([0x69,0x64])]:0x9,[_0x262804([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x262804([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65]),[_0x262804([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x262804([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x55,0x49]),[_0x262804([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x262804([0x74,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x262804([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x262804([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x262804([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x262804([0x66,0x67,0x69])]:[0xc,0xe]}},{[_0x262804([0x69,0x64])]:0xa,[_0x262804([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x262804([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]),[_0x262804([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x262804([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]),[_0x262804([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x262804([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]),[_0x262804([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x262804([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x262804([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x262804([0x66,0x67,0x69])]:[0xc]}},{[_0x262804([0x69,0x64])]:0xb,[_0x262804([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x262804([0x41,0x49,0x20,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74]),[_0x262804([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x262804([0x41,0x49,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74,0x55,0x49]),[_0x262804([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x262804([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x262804([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x262804([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x262804([0x69,0x64])]:0xc,[_0x262804([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x262804([0x50,0x72,0x6f,0x64,0x75,0x63,0x74,0x69,0x76,0x69,0x74,0x79,0x20,0x70,0x61,0x63,0x6b])},{[_0x262804([0x69,0x64])]:0xd,[_0x262804([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x262804([0x43,0x61,0x73,0x65,0x20,0x43,0x68,0x61,0x6e,0x67,0x65]),[_0x262804([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x262804([0x43,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x55,0x49]),[_0x262804([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x262804([0x63,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x262804([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x262804([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x262804([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x262804([0x66,0x67,0x69])]:[0xc]}},{[_0x262804([0x69,0x64])]:0xe,[_0x262804([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x262804([0x44,0x72,0x75,0x70,0x61,0x6c,0x20,0x70,0x61,0x63,0x6b]),[_0x262804([0x66,0x6f,0x72,0x62,0x69,0x64,0x64,0x65,0x6e,0x48,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x262804([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])},{[_0x262804([0x69,0x64])]:0xf,[_0x262804([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x262804([0x4d,0x75,0x6c,0x74,0x69,0x20,0x4c,0x65,0x76,0x65,0x6c,0x20,0x4c,0x69,0x73,0x74]),[_0x262804([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x262804([0x4d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x262804([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x262804([0x6d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x262804([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x262804([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x262804([0x69,0x64])]:0x10,[_0x262804([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x262804([0x4d,0x65,0x72,0x67,0x65,0x20,0x46,0x69,0x65,0x6c,0x64,0x73]),[_0x262804([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x262804([0x4d,0x65,0x72,0x67,0x65,0x46,0x69,0x65,0x6c,0x64,0x73,0x55,0x49]),[_0x262804([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x262804([0x6d,0x65,0x72,0x67,0x65,0x46,0x69,0x65,0x6c,0x64,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x262804([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x262804([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x262804([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x262804([0x66,0x67,0x69])]:[0xc]}}];return _0x1bfcd2(_0x5251cd),_0x5251cd;function _0xc43fc0(_0x191f05){return 0x1<<_0x191f05-0x1;}function _0x1bfcd2(_0x4b436b){_0x4b436b[_0x262804([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x26324c=>{_0x26324c[_0x262804([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]=_0xc43fc0(_0x26324c[_0x262804([0x69,0x64])]),_0xf3f0ed(_0x26324c)&&_0x26324c[_0x262804([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x1bfcd2(_0x26324c[_0x262804([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]);});}}function _0xf3f0ed(_0x4344ff){return _0x262804([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])in _0x4344ff;}const _0x491df8=[0x1,0x55,0x4e,0x73,0xc6,0xff,0x32,0x70,0x53,0x57,0xa1],_0x18c9a5=[0x7f,0x22,0x6,0xd3,0xa7,0x56,0x92,0xc7,0x84,0xa0,0x12];function _0x7db8a9(_0x594de4){const _0x3224de=[0x1d,0xdd,0xaf,0x5a,0xe7,0x85,0xef,0xf0,0x4b,0xb4];return _0x2b6cb9(_0x594de4,new Uint8Array([..._0x491df8,..._0x3224de,..._0x18c9a5]));}function _0x2b6cb9(_0xd30c91,_0x27f1e6){const _0x5f31e8=_0x35451b(_0xd30c91),_0x3b374f=Array[_0x262804([0x66,0x72,0x6f,0x6d])](_0x272f21(_0x5f31e8)),_0x3db7f1=_0x3b374f[_0x262804([0x70,0x6f,0x70])](),_0x41c920=_0x3b374f[_0x262804([0x70,0x6f,0x70])]();return _0x400338(_0x1dbaa7(_0x3b374f,_0x27f1e6,_0x41c920+0x100*_0x3db7f1));}function _0x35451b(_0x29c418){const _0x51c91b=atob(_0x29c418),[_0x5be7d4,_0x50fd4c]=_0x51c91b[_0x262804([0x73,0x70,0x6c,0x69,0x74])](_0x262804([0x2d]));try{if(atob(_0x50fd4c))return atob(_0x5be7d4);}catch(_0x4f4a8e){}return _0x51c91b;}function _0x29a85f(_0x464738){try{const _0x4e85a4=_0x7db8a9(_0x464738),_0x301184=JSON[_0x262804([0x70,0x61,0x72,0x73,0x65])](_0x4e85a4),_0x159564=parseInt(_0x301184[_0x262804([0x31])]),_0x1cf091=_0x301184[_0x262804([0x32])]||'',_0x126238=parseInt(_0x301184[_0x262804([0x33])]),_0x328f3b=parseInt(_0x301184[_0x262804([0x34])])||0x0,_0x5211b6=parseInt(_0x301184[_0x262804([0x35])])||0x0;return{[_0x262804([0x70,0x72,0x6f,0x64,0x75,0x63,0x74,0x4e,0x61,0x6d,0x65])]:_0x1cf091,[_0x262804([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])]:_0x328f3b,[_0x262804([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]:_0x159564,[_0x262804([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]:_0x126238,[_0x262804([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]:_0x5211b6};}catch(_0x1964ba){return null;}}const _0x344faa=_0x178dd0(),_0x98323d={[_0x262804([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])]:_0x134fd4,[_0x262804([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])]:_0x1be72d,[_0x262804([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])]:_0x4d906d},_0x16ecaa=_0x34c9f0[_0x262804([0x63,0x6f,0x6e,0x73,0x74,0x72,0x75,0x63,0x74,0x6f,0x72])][_0x262804([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])],_0x4e5101=_0x262804([0x63,0x6f,0x6e,0x74,0x65,0x78,0x74])in _0x34c9f0?_0x34c9f0['context']:_0x34c9f0['editor'],_0x4cccb9=_0x262804([0x34,0x30,0x34,0x38,0x31,0x36,0x31,0x34]),_0x481a19=_0x262804([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]),_0x27a807=_0x4e5101['config']['get'](_0x262804([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x48f251=_0x344faa[_0x262804([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xf3f0ed)[_0x262804([0x66,0x69,0x6e,0x64])](_0x460da3=>_0x460da3[_0x262804([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]===_0x16ecaa);function _0x4d6949(_0x56660a,_0x3ae396){_0x98323d[_0x3ae396[_0x262804([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]](_0x56660a,_0x3ae396),_0x3ae396[_0x262804([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x3ae396[_0x262804([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])][_0x262804([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4ba2c=>_0x59f35f(_0x4e5101,_0x4ba2c[_0x262804([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))[_0x262804([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x282eda=>_0x4d6949(_0x56660a,_0x282eda));}function _0x134fd4(_0x19bca5,_0x5d3ae4){_0x55c711(_0x2952c1(_0x19bca5,_0x5d3ae4),_0x5d3ae4);}function _0x1be72d(_0xba2945,_0x3d2162){function _0x142edd(_0x4936a9,_0x29a372){try{if(_0x59f35f(_0x4e5101,_0x262804([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))&&_0x4936a9){const _0x365da2=_0x4e53ed(_0x4e5101,_0x262804([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))[_0x262804([0x5f,0x65,0x78,0x65,0x63,0x75,0x74,0x65,0x53,0x75,0x67,0x67,0x65,0x73,0x74,0x69,0x6f,0x6e])];if(parseInt(_0x365da2)/0x2>_0x4936a9[_0x262804([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])])return _0x22f911(_0x29a372[_0x262804([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x262804([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}return _0x2952c1(_0x4936a9,_0x29a372);}catch(_0x5000fc){return _0x22f911(_0x29a372[_0x262804([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x262804([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}_0x55c711(_0x142edd(_0xba2945,_0x3d2162),_0x3d2162);}function _0x4d906d(_0xefab15,_0x134bb3){const _0x1077e6=_0x18c9a5[0x0]*_0x491df8[0x1],_0x1485f2=_0x18c9a5[0x0]*_0x491df8[0x2],_0x4fe5a0=_0x18c9a5[0x2]*_0x491df8[0x2];_0x59f35f(_0x4e5101,_0x262804([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x4e53ed(_0x4e5101,_0x262804([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x262804([0x73,0x74,0x61,0x74,0x65])]==_0x262804([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&(window[_0x17041e()]=_0x4fe5a0);function _0x290ac6(_0x141620,_0x415a7b){try{return _0x31f25d()?_0x22f911(_0x415a7b[_0x262804([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x262804([0x56,0x61,0x6c,0x69,0x64])):_0x2952c1(_0x141620,_0x415a7b);}catch(_0x2772fc){return _0x22f911(_0x415a7b[_0x262804([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x262804([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x9d4c3e(_0x72d680,_0x5d7af8){const _0x56dd31=0x7;if(_0x72d680==_0x5d7af8[_0x262804([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x262804([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]))_0x268ed4();else{if(_0x72d680==_0x5d7af8[_0x262804([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x262804([0x54,0x72,0x69,0x61,0x6c])){const _0x53a43b=_0x18f49f();_0x53a43b&&_0x3c67d2(_0x53a43b,_0x5d7af8[_0x262804([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);const _0x301a12=_0x286045();window[_0x262804([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x3c67d2(_0x262804([0x74,0x69,0x6d,0x65]),_0x5d7af8[_0x262804([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);},_0x301a12);const _0x1ebf85=_0x4e53ed(_0x4e5101,_0x262804([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x262804([0x5f,0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73])];_0x1ebf85[_0x262804([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x56dd31?_0x3c67d2(_0x262804([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x5d7af8[_0x262804([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]):_0x1ebf85['on'](_0x262804([0x61,0x64,0x64]),()=>{_0x1ebf85[_0x262804([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x56dd31&&_0x3c67d2(_0x262804([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x5d7af8[_0x262804([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);});}}}function _0x18f49f(){if(!_0x59f35f(_0x4e5101,_0x262804([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x99355d in window)if(Number['isNaN'](Number(_0x99355d))){if(window[_0x99355d]===_0x1077e6)return _0x262804([0x74,0x69,0x6d,0x65]);if(window[_0x99355d]===_0x1485f2)return _0x262804([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]);}return!0x1;}function _0x31f25d(){if(!_0x59f35f(_0x4e5101,_0x262804([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x4a4b4d in window)if(Number['isNaN'](Number(_0x4a4b4d))&&window[_0x4a4b4d]===_0x4fe5a0)return!0x0;return!0x1;}function _0x3c67d2(_0xfa8fec,_0xf23ec3){_0x268ed4(),_0x22f911(_0xf23ec3+_0x262804([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a])+_0xfa8fec),window[_0x17041e()]=_0xfa8fec===_0x262804([0x74,0x69,0x6d,0x65])?_0x1077e6:_0x1485f2;}function _0x286045(){let _0x4bfdf6=_0x18c9a5[0x6]*_0x491df8[0x8]*_0x491df8[0x6];return _0x59f35f(_0x4e5101,_0x262804([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x4bfdf6/=0xa),_0x4bfdf6;}function _0x268ed4(){const _0x189691=_0x4e5101;function _0x5f1c2b(){_0x59f35f(_0x189691,_0x262804([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&(_0x4e53ed(_0x189691,_0x262804([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x262804([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x262804([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x4e53ed(_0x189691,_0x262804([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x262804([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x4e53ed(_0x189691,_0x262804([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x262804([0x75,0x70,0x64,0x61,0x74,0x65])]=_0x2a120a,_0x4e53ed(_0x189691,_0x262804([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x262804([0x73,0x61,0x76,0x65,0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e])]=_0x2a120a,_0x189691[_0x262804([0x6d,0x6f,0x64,0x65,0x6c])][_0x262804([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2a120a,_0x189691[_0x262804([0x6d,0x6f,0x64,0x65,0x6c])][_0x262804([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2a120a,_0x189691[_0x262804([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x262804([0x6d,0x6f,0x64,0x65,0x6c]))),_0x59f35f(_0x189691,_0x262804([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x4e53ed(_0x189691,_0x262804([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x262804([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x262804([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x4e53ed(_0x189691,_0x262804([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x262804([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x4e53ed(_0x189691,_0x262804([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x262804([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])]=_0x2a120a,_0x4e53ed(_0x189691,_0x262804([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x262804([0x5f,0x67,0x65,0x74,0x44,0x69,0x66,0x66])]=_0x2a120a);}_0x189691[_0x262804([0x73,0x74,0x61,0x74,0x65])]==_0x262804([0x72,0x65,0x61,0x64,0x79])?_0x5f1c2b():_0x189691[_0x262804([0x6f,0x6e,0x63,0x65])](_0x262804([0x72,0x65,0x61,0x64,0x79]),()=>{if(_0x59f35f(_0x189691,_0x262804([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&_0x5f1c2b(),_0x59f35f(_0x189691,_0x262804([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))){const _0x196a74=_0x4e53ed(_0x189691,_0x262804([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79])),_0x508d12=_0x196a74['getRevision'](0x0),_0x42ccef=_0x196a74['getEarlierVisibleRevision'](_0x508d12[_0x262804([0x69,0x64])]);_0x4e53ed(_0x189691,_0x262804([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x262804([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])](_0x508d12[_0x262804([0x69,0x64])],_0x42ccef?_0x42ccef[_0x262804([0x69,0x64])]:null,0x1)['then'](()=>_0x5f1c2b());}});}_0x9d4c3e(_0x290ac6(_0xefab15,_0x134bb3),_0x134bb3);}function _0x2952c1(_0x5a2573,_0x4e93b8){try{return _0x4e3a21(_0x4e93b8)?_0x22f911(_0x4e93b8[_0x262804([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x262804([0x56,0x61,0x6c,0x69,0x64])):_0x5a2573&&_0x5da1a5(_0x5a2573[_0x262804([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])],_0x4e93b8)?_0x5a2573[_0x262804([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]&&!window[_0x262804([0x6f,0x70,0x65,0x6e])][_0x262804([0x63,0x6c,0x6f,0x73,0x65,0x64])]||parseInt(_0x4cccb9)/0x2>_0x5a2573[_0x262804([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]?_0x22f911(_0x4e93b8[_0x262804([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x262804([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])):_0x5a2573[_0x262804([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]?_0x22f911(_0x4e93b8[_0x262804([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x262804([0x54,0x72,0x69,0x61,0x6c])):_0x22f911(_0x4e93b8[_0x262804([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x262804([0x56,0x61,0x6c,0x69,0x64])):_0x22f911(_0x4e93b8[_0x262804([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x262804([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}catch(_0x304a4d){return _0x22f911(_0x4e93b8[_0x262804([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x262804([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x55c711(_0x4bfd9d,_0x182cb3){if(_0x4e5101 instanceof _0x49c4e4){const _0x30a830=_0x4e5101;_0x4bfd9d==_0x182cb3[_0x262804([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x262804([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x3791c7(_0x30a830):_0x4bfd9d==_0x182cb3[_0x262804([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x262804([0x54,0x72,0x69,0x61,0x6c])&&window[_0x262804([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x3791c7(_0x30a830),_0x22f911(_0x182cb3[_0x262804([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x262804([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65]));},_0x18c9a5[0x6]*_0x491df8[0x8]*_0x491df8[0x6]),_0x30a830[_0x262804([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])][_0x262804([0x6f,0x6e])](_0x262804([0x61,0x64,0x64]),(_0x174c38,_0x28a81e)=>{_0x4bfd9d!=_0x182cb3[_0x262804([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x262804([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])&&_0x4bfd9d!=_0x182cb3[_0x262804([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x262804([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65])&&_0x4bfd9d!=_0x182cb3[_0x262804([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x262804([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])||_0x484b1b(_0x28a81e);});}else{const _0xef362a=_0x4e5101;_0x4bfd9d==_0x182cb3[_0x262804([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x262804([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x484b1b(_0xef362a):_0x4bfd9d==_0x182cb3[_0x262804([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x262804([0x54,0x72,0x69,0x61,0x6c])&&_0xef362a[_0x262804([0x6f,0x6e])](_0x262804([0x72,0x65,0x61,0x64,0x79]),()=>{let _0x2f8239=0x0;_0xef362a[_0x262804([0x6d,0x6f,0x64,0x65,0x6c])][_0x262804([0x6f,0x6e])](_0x262804([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x37de8e,_0x53aeb3)=>{_0x53aeb3[0x0][_0x262804([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x2f8239++,0x1f8===_0x2f8239&&(_0x484b1b(_0xef362a),_0x22f911(_0x182cb3[_0x262804([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x262804([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])),_0x37de8e[_0x262804([0x6f,0x66,0x66])]());},{'priority':_0x262804([0x68,0x69,0x67,0x68,0x65,0x73,0x74])});});}}function _0x22f911(_0xa58165){const _0x4552e8=_0x17041e();return _0x4e5101[_0x4552e8]=_0xa58165,_0xa58165;}function _0x17041e(){const _0x5a4a15=String(window[_0x262804([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x262804([0x6e,0x6f,0x77])]())[_0x262804([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x262804([0x2e]),'');let _0x566d96='';for(let _0x5d2bca=0x0;_0x5d2bca<_0x5a4a15[_0x262804([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5d2bca+=0x2){let _0x5332b9=parseInt(_0x5a4a15[_0x262804([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5d2bca,_0x5d2bca+0x2));_0x5332b9>=_0x481a19[_0x262804([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x5332b9-=_0x481a19[_0x262804([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x566d96+=_0x481a19[_0x5332b9];}return _0x566d96;}function _0x3791c7(_0x47d1c3){for(const _0x369b94 of _0x47d1c3[_0x262804([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])])_0x484b1b(_0x369b94);_0x4e53ed(_0x47d1c3,_0x262804([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x262804([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])](!0x0),_0x4e53ed(_0x47d1c3,_0x262804([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x262804([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])]=_0x2a120a;}function _0x484b1b(_0x2ced85){function _0x2b761a(){_0x2ced85[_0x262804([0x6d,0x6f,0x64,0x65,0x6c])][_0x262804([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2a120a,_0x2ced85[_0x262804([0x6d,0x6f,0x64,0x65,0x6c])][_0x262804([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2a120a,_0x2ced85[_0x262804([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x262804([0x6d,0x6f,0x64,0x65,0x6c]));}_0x2ced85[_0x262804([0x73,0x74,0x61,0x74,0x65])]==_0x262804([0x72,0x65,0x61,0x64,0x79])?_0x2b761a():_0x2ced85[_0x262804([0x6f,0x6e,0x63,0x65])](_0x262804([0x72,0x65,0x61,0x64,0x79]),()=>_0x2b761a());}function _0x2a120a(){return null;}function _0x5da1a5(_0x12a6ed,_0x229356){const _0x2d57ff=!!(_0x12a6ed&_0x229356[_0x262804([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]),_0x42fbf7=_0x3352be(_0x12a6ed,_0x229356);return _0x2d57ff||_0x42fbf7;}function _0x3352be(_0xe7223f,_0x1ea0d4){const _0x167ebb=(_0x1ea0d4[_0x262804([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{})[_0x262804([0x66,0x67,0x69])]||null;return!!_0x167ebb&&_0x344faa[_0x262804([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xa75058=>_0x167ebb[_0x262804([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xa75058[_0x262804([0x69,0x64])]))[_0x262804([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x318056=>!_0x23b519(_0x318056))[_0x262804([0x73,0x6f,0x6d,0x65])](_0x53cdee=>!!(_0xe7223f&_0x53cdee[_0x262804([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]));}function _0x23b519(_0xe0fe5){const _0x2dd345={[_0x262804([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])]:_0x3e54e3};return!!_0xe0fe5['forbiddenHandler']&&_0x2dd345[_0xe0fe5['forbiddenHandler']]();}function _0x3e54e3(){return!window[_0x262804([0x44,0x72,0x75,0x70,0x61,0x6c])]||!_0x59f35f(_0x4e5101,_0x262804([0x64,0x72,0x75,0x70,0x61,0x6c,0x50,0x6f,0x77,0x65,0x72,0x65,0x64,0x42,0x79]));}function _0x4e3a21(_0xe0fd75){if(!_0x59f35f(_0x4e5101,_0xe0fd75[_0x262804([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))return!0x0;const _0x2f938d=_0xe0fd75[_0x262804([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{},_0x167984=_0x2f938d[_0x262804([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]||!0x1,_0x8c785e=_0x2f938d[_0x262804([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]||!0x1,_0x34122b=_0x2f938d[_0x262804([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]||!0x1;if(_0x59f35f(_0x4e5101,_0x262804([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x4e53ed(_0x4e5101,_0x262804([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x262804([0x73,0x74,0x61,0x74,0x65])]==_0x262804([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&_0x167984)return!0x0;if(_0x59f35f(_0x4e5101,_0x262804([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))&&_0x4e53ed(_0x4e5101,_0x262804([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))[_0x262804([0x72,0x65,0x73,0x75,0x6c,0x74])]==_0x262804([0x65,0x6e,0x64])&&_0x8c785e)return!0x0;return!(!_0x59f35f(_0x4e5101,_0x262804([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]))||_0x4e53ed(_0x4e5101,_0x262804([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]))[_0x262804([0x72,0x65,0x73,0x75,0x6c,0x74])]!=_0x262804([0x65,0x6e,0x64])||!_0x34122b);}function _0x59f35f(_0x153213,_0x14809b){return _0x153213[_0x262804([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x262804([0x68,0x61,0x73])](_0x14809b);}function _0x4e53ed(_0x27c75e,_0x3d9f28){return _0x27c75e[_0x262804([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x262804([0x67,0x65,0x74])](_0x3d9f28);}function _0x400338(_0x3f987e){let _0x41cacd='';for(const _0x19519c of _0x3f987e)_0x41cacd+=String[_0x262804([0x66,0x72,0x6f,0x6d,0x43,0x68,0x61,0x72,0x43,0x6f,0x64,0x65])](_0x19519c);return _0x41cacd;}function _0x272f21(_0x43b344){const _0x99ff90=new Uint8Array(_0x43b344[_0x262804([0x6c,0x65,0x6e,0x67,0x74,0x68])]);for(let _0x432cc6=0x0;_0x432cc6<_0x43b344[_0x262804([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x432cc6++)_0x99ff90[_0x432cc6]=_0x43b344[_0x262804([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x432cc6);return _0x99ff90;}_0x48f251&&_0x4d6949(_0x29a85f(_0x27a807),_0x48f251);})(_0x3554db);}(this);}['createRevision'](_0x5841f5){const _0x5d8096=this['editor']['plugins']['get']('Users');return new a({'id':_0x5841f5['id'],'name':_0x5841f5['name'],'creator':_0x5841f5['creatorId']?_0x5d8096['getUser'](_0x5841f5['creatorId']):null,'diffData':_0x5841f5['diffData']||_0x5841f5['data'],'authors':_0x5841f5['authorsIds']['map'](_0x2e6de6=>_0x5d8096['getUser'](_0x2e6de6)),'createdAt':new Date(_0x5841f5['createdAt']),'attributes':_0x5841f5['attributes'],'fromVersion':_0x5841f5['fromVersion'],'toVersion':_0x5841f5['toVersion']});}['addRevision'](_0x2459fb,_0x49d300=0x0){this['_revisions']['add'](_0x2459fb,_0x49d300);}['getRevision'](_0x1e5740){return this['_revisions']['get'](_0x1e5740);}['getRevisions'](_0x2c1d97={'toJSON':!0x1}){const _0x109864=Array['from'](this['_revisions']);return _0x109864['reverse'](),_0x2c1d97['toJSON']?_0x109864['map'](_0x27211f=>_0x27211f['toJSON']()):_0x109864;}['getIndex'](_0x37ba80){return this['_revisions']['getIndex'](_0x37ba80);}['getEarlierVisibleRevision'](_0x519d24){const [,_0x4eeed5]=this['getRevisionsIterator'](_0x519d24,{'direction':'earlier'});return _0x4eeed5;}['getLaterVisibleRevision'](_0x8f9be8){const [,_0x444a0f]=this['getRevisionsIterator'](_0x8f9be8,{'direction':'later'});return _0x444a0f;}['getRevisionsInDiff'](_0x3fa39f){const _0x183121=[];for(const _0x49125e of this['getRevisionsIterator'](_0x3fa39f['newRevisionId']))if(_0x183121['push'](_0x49125e),_0x49125e['id']===_0x3fa39f['oldRevisionId'])break;return _0x183121;}*['getRevisionsIterator'](_0x2c4b50,{direction:_0x253ed4='earlier',filter:_0x130203=_0x38ee8b=>!0x0}={}){const _0x44cb54='earlier'===_0x253ed4?0x1:-0x1;let _0xe9b824=this['_revisions']['get'](_0x2c4b50),_0x1e8a94=this['getIndex'](_0xe9b824);for(yield _0xe9b824;_0xe9b824;){if(_0x1e8a94+=_0x44cb54,_0xe9b824=this['getRevision'](_0x1e8a94),!_0xe9b824)return;_0x130203(_0xe9b824)&&(yield _0xe9b824);}}}function y(_0x52245d,_0x45ddc5,_0x5d22b1){const t=_0x52245d['t'];switch(_0x45ddc5){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'},_0x5d22b1);case'X_OF_Y_CHANGES':return t({'string':'%0\x20of\x20%1','id':'X_OF_Y_CHANGES'},_0x5d22b1);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':_0xe2caaa,'a':_0x4ec476,'e':_0x390d7b,'r':_0x4e998e,'u':_0x444885};class l extends _0x508c8f{['adapter'];['currentRevision'];['repository'];['_revisionDataBuilder'];['_source'];['_initialRevisionId'];['_bufferedUpdates'];['_pendingAction'];['_continueCurrentRevision'];['_startingVersion'];['_loadedStateData'];static get['pluginName'](){return'RevisionTracker';}static get['requires'](){return[_0x5265ea,A,_0x1b8edf];}constructor(_0x58b377){super(_0x58b377),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 _0x4df939=_0xe98175();this['_source']={'history':this['editor']['model']['document']['history'],'getLatestVersion':()=>Promise['resolve'](this['editor']['model']['document']['version']),'getCurrentRevisionId':()=>_0x4df939},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 _0x2b16d5=this['repository']['getRevision'](0x0),_0x2b323f=_0x2b16d5&&null===_0x2b16d5['creator']?_0x2b16d5:null;if(this['_continueCurrentRevision']=!!_0x2b323f&&this['editor']['config']['get']('revisionHistory.resumeUnsavedRevision'),this['editor']['plugins']['has']('RealTimeCollaborationClient')){const _0x516005=this['_source']['getCurrentRevisionId'](),_0x2b6895=this['repository']['getRevision'](_0x516005);if(_0x2b6895)this['_startingVersion']=_0x2b6895['fromVersion'],this['_continueCurrentRevision']=!0x1;else{const _0x2b5a02=this['_source']['history']['_operations']['find'](_0x34ae8f=>!_0x34ae8f['_isInit']),_0x4ee24c=_0x2b5a02?_0x2b5a02['baseVersion']:this['_source']['history']['version'];_0x2b16d5?(_0x2b16d5['toVersion']<_0x4ee24c&&_0x2b16d5['_update']({'toVersion':_0x4ee24c}),this['_continueCurrentRevision']?(this['_source']['getCurrentRevisionId']=()=>_0x2b323f['id'],this['_startingVersion']=_0x2b323f['fromVersion']):(this['_startingVersion']=_0x2b16d5['toVersion'],this['_continueCurrentRevision']=!0x1)):(this['_startingVersion']=_0x4ee24c,this['_continueCurrentRevision']=!0x1);}}else _0x2b323f&&(this['editor']['model']['document']['history']['version']=Math['max'](_0x2b323f['toVersion'],this['editor']['model']['document']['history']['version']),_0x2b323f['fromVersion']===_0x2b323f['toVersion']?(0x0!==_0x2b323f['fromVersion']&&(this['_source']['getCurrentRevisionId']=()=>_0x2b323f['id']),this['_continueCurrentRevision']=!0x1):this['_continueCurrentRevision']&&(this['_source']['getCurrentRevisionId']=()=>_0x2b323f['id'],this['_startingVersion']=_0x2b323f['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',_0x4196ec=>!_0x4196ec);}async['afterInit'](){if(this['repository']['length']>0x0){const _0x9de06d=this['repository']['getRevision'](0x0),_0x8ba350=await this['getRevisionDocumentData'](_0x9de06d),_0x3eaaca=await this['getRevisionRootsAttributes'](_0x9de06d);this['_replaceEditorDataWithRevisionData'](_0x8ba350,_0x3eaaca);}}['setSource'](_0x1f19a){this['_source']=_0x1f19a;}async['update'](){const _0x377c84=await this['_source']['getLatestVersion']();if(_0x377c84>this['currentRevision']['toVersion']){await this['_loadState']();const _0x5cc091=this['buildRevisionData']({'revision':this['currentRevision'],'to':_0x377c84});_0x5cc091['authors']=_0x5cc091['authorsIds']['map'](_0x19db8c=>this['editor']['plugins']['get']('Users')['getUser'](_0x19db8c)),this['currentRevision']['_update'](_0x5cc091);}}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'](_0x115a6a={},_0x16fb3a=null){const _0x58c7ec=[];await this['_loadState'](),this['_continueCurrentRevision']=!0x1,_0x16fb3a>this['currentRevision']['toVersion']&&(_0x16fb3a=null),null===_0x16fb3a&&(_0x16fb3a=await this['_source']['getLatestVersion']());const _0x59eea6=this['_getFromVersion'](_0x16fb3a),_0x5205fc=this['buildRevisionData']({'from':_0x59eea6,'to':_0x16fb3a});if(this['currentRevision']['toVersion']<_0x16fb3a){const _0x40ef63=this['buildRevisionData']({'revision':this['currentRevision'],'from':_0x16fb3a,'to':_0x16fb3a});_0x40ef63['authors']=[],_0x40ef63['authorsIds']=[],_0x40ef63['id']=this['currentRevision']['id'],this['currentRevision']['_update'](_0x40ef63,!0x0),delete _0x40ef63['authors'],_0x58c7ec['push'](_0x40ef63);}_0x115a6a['creatorId']=this['editor']['plugins']['get']('Users')['me']['id'],_0x115a6a['name']=_0x115a6a['name']||null,_0x115a6a['id']=_0x115a6a['id']||_0xe98175(),_0x115a6a={..._0x115a6a,..._0x5205fc};const _0x13a463=this['addRevisionData'](_0x115a6a);_0x58c7ec['push'](_0x115a6a);const _0x7dcffc=this['repository']['getIndex'](_0x13a463);if(0x0!==_0x7dcffc){const _0x4490a9=this['repository']['getRevision'](_0x7dcffc-0x1);if(_0x4490a9['fromVersion']!==_0x16fb3a){const _0xd348c2=this['_revisionDataBuilder']['getData'](_0x16fb3a,_0x4490a9['toVersion']),_0x5d8091={'id':_0x4490a9['id'],'diffData':_0xd348c2['diffData'],'authorsIds':_0xd348c2['authorsIds'],'authors':_0xd348c2['authorsIds']['map'](_0x17b09e=>this['editor']['plugins']['get']('Users')['getUser'](_0x17b09e)),'fromVersion':_0x16fb3a};_0x4490a9===this['currentRevision']&&(_0x5d8091['createdAt']=new Date(_0x115a6a['createdAt']['getTime']()+0xa)),_0x4490a9['_update'](_0x5d8091,!0x0),delete _0x5d8091['authors'],_0x58c7ec['push'](_0x5d8091);}}if(this['adapter']){for(const _0x1ce986 of _0x58c7ec)this['_bufferUpdate'](_0x1ce986['id'],_0x1ce986,!0x0);this['sendBufferedUpdates']();}return _0x13a463;}['addRevisionData'](_0x238d8c){const _0x559ac7=this['repository']['createRevision'](_0x238d8c);return this['adapter']&&_0x559ac7['on']('_update',(_0x3a679a,_0x5aaee7,_0x457888)=>{_0x457888||(this['_bufferUpdate'](_0x5aaee7['id'],_0x5aaee7,!0x0),this['sendBufferedUpdates']());}),this['repository']['addRevision'](_0x559ac7,this['_findInsertionIndex'](_0x559ac7)),_0x559ac7;}async['getRevisionDocumentData'](_0x599d0f){await this['_loadRevisionData'](_0x599d0f);const _0x2c700b={};for(const _0x3218bb in _0x599d0f['diffData']){if(_0x599d0f['diffData'][_0x3218bb]['attachChange']&&!_0x599d0f['diffData'][_0x3218bb]['attachChange']['isAttached'])continue;const _0x5f0e67=this['_removeRevisionMarkers'](JSON['parse'](_0x599d0f['diffData'][_0x3218bb]['insertions'])),_0x1423f0=this['editor']['editing']['view']['document'],_0x5c0b31=new _0x18edb1(_0x1423f0,_0x5f0e67['map'](_0x35b647=>B(_0x35b647,this['editor'])));this['editor']['data']['processor']['useFillerType']('marked'),_0x2c700b[_0x3218bb]=this['editor']['data']['processor']['toData'](_0x5c0b31),this['editor']['data']['processor']['useFillerType']('default');}return _0x2c700b;}async['getRevisionRootsAttributes'](_0x3a9693){await this['_loadRevisionData'](_0x3a9693);const _0xb14f9d={};for(const _0x133138 in _0x3a9693['diffData'])_0x3a9693['diffData'][_0x133138]['attachChange']&&!_0x3a9693['diffData'][_0x133138]['attachChange']['isAttached']||(_0xb14f9d[_0x133138]=_0x3a9693['diffData'][_0x133138]['attributesAfter']||{});return _0xb14f9d;}['sendBufferedUpdates'](){if(0x0===this['_bufferedUpdates']['size'])return;if(this['_isPendingUpdate'])return;let _0x165279=Array['from'](this['_bufferedUpdates']['values']());this['_bufferedUpdates']['clear']();for(let _0x30040e=0x0;_0x30040e<_0x165279['length'];_0x30040e++){const _0x2fa9a8=_0x165279[_0x30040e];let _0x273722=!0x1;for(const _0xe25ab0 of Object['keys'](_0x2fa9a8))void 0x0===_0x2fa9a8[_0xe25ab0]?delete _0x2fa9a8[_0xe25ab0]:'id'!==_0xe25ab0&&(_0x273722=!0x0);_0x273722||(_0x165279[_0x30040e]=null);}if(_0x165279=_0x165279['filter'](_0x3ec217=>null!==_0x3ec217),!_0x165279['length'])return;for(let _0x33fb28=0x0;_0x33fb28<_0x165279['length'];_0x33fb28++){const _0x300090=_0x165279[_0x33fb28];void 0x0!==_0x300090['fromVersion']&&void 0x0===_0x300090['toVersion']&&(_0x300090['toVersion']=this['repository']['getRevision'](_0x300090['id'])['toVersion']),void 0x0!==_0x300090['toVersion']&&void 0x0===_0x300090['fromVersion']&&(_0x300090['fromVersion']=this['repository']['getRevision'](_0x300090['id'])['fromVersion']);}const _0x4e7f5a=this['editor']['config']['get']('collaboration.channelId');this['_isPendingUpdate']=!0x0,this['_addPendingAction'](),this['adapter']['updateRevisions'](_0x165279,_0x4e7f5a)['finally'](()=>{this['_isPendingUpdate']=!0x1;})['then'](_0x486d2c=>{if(_0x486d2c){for(const _0x43e51b of _0x486d2c)this['setRevisionData']({'id':_0x43e51b['id'],'createdAt':_0x43e51b['createdAt']});}this['_removePendingAction'](),this['sendBufferedUpdates']();});}['_replaceEditorDataWithRevisionData'](_0x4fdcdd,_0x5d0453){let _0x43d2fc=this['editor']['config']['get']('initialData'),_0x4fbc02=this['editor']['config']['get']('rootsAttributes');if(void 0x0===_0x43d2fc){_0x43d2fc={};for(const _0x447f4c of this['editor']['model']['document']['getRootNames']())_0x43d2fc[_0x447f4c]='';}if('string'==typeof _0x43d2fc&&(_0x43d2fc={'main':_0x43d2fc}),void 0x0===_0x4fbc02){_0x4fbc02={};for(const _0x119ae1 of this['editor']['model']['document']['getRootNames']())_0x4fbc02[_0x119ae1]={};}let _0x2303ed=!0x1;const _0x182d58=Object['keys'](_0x43d2fc),_0xd6296a=Object['keys'](_0x4fdcdd);for(const _0x1b645 of _0x182d58){if(_0x43d2fc[_0x1b645]!==_0x4fdcdd[_0x1b645]&&''!==_0x43d2fc[_0x1b645]['trim']()){_0x2303ed=!0x0;break;}if(!_0x2d8493(_0x4fbc02[_0x1b645],_0x5d0453[_0x1b645])&&Object['keys'](_0x4fbc02[_0x1b645])['length']>0x0){_0x2303ed=!0x0;break;}}_0x2303ed||(_0x2303ed=_0xd6296a['some'](_0x428374=>!this['editor']['model']['document']['getRoot'](_0x428374))),_0x2303ed&&_0x34b09f('editor-initial-data-replaced-with-revision-data',{'editorData':_0x43d2fc,'editorRootsAttributes':_0x4fbc02,'revisionData':_0x4fdcdd,'revisionRootsAttributes':_0x5d0453}),this['editor']['config']['set']('initialData',_0x4fdcdd),this['editor']['config']['set']('rootsAttributes',_0x5d0453);}['_addPendingAction'](){if(!this['_pendingAction']){const _0x31ed12=this['editor']['plugins']['get']('PendingActions');this['_pendingAction']=_0x31ed12['add'](y(this['editor']['locale'],'PENDING_ACTION_REVISION_HISTORY'));}}['_removePendingAction'](){this['_pendingAction']&&(this['editor']['plugins']['get']('PendingActions')['remove'](this['_pendingAction']),this['_pendingAction']=null);}['_findInsertionIndex'](_0xd0d29){const _0x42ba71=this['repository']['getRevisions']();_0x42ba71['reverse']();let _0x39ca5e=0x0;for(;_0x39ca5e<_0x42ba71['length'];){const _0x83a070=_0x42ba71[_0x39ca5e];if(_0x83a070===this['currentRevision']){_0x39ca5e++;continue;}if(_0x83a070['id']===this['_initialRevisionId'])break;const _0xe91a50=_0xd0d29['toVersion']-_0x83a070['toVersion']||_0xd0d29['fromVersion']-_0x83a070['fromVersion'];if(_0xe91a50>0x0)break;if(_0xe91a50<0x0)_0x39ca5e++;else{if(!_0xd0d29['creator']&&_0x83a070['creator'])break;if(_0x83a070['creator']||!_0xd0d29['creator']){if(_0xd0d29['createdAt']>_0x83a070['createdAt'])break;_0x39ca5e++;}else _0x39ca5e++;}}return _0x39ca5e;}['setRevisionData'](_0x81fe08){const _0x295c3e=this['repository']['getRevision'](_0x81fe08['id']);if(_0x81fe08['createdAt']&&(_0x81fe08['createdAt']=new Date(_0x81fe08['createdAt'])),_0x81fe08['authorsIds']){const _0x5645b0=this['editor']['plugins']['get']('Users');_0x81fe08['authors']=_0x81fe08['authorsIds']['map'](_0x1d585c=>_0x5645b0['getUser'](_0x1d585c));}_0x295c3e['_update'](_0x81fe08,!0x0);}['buildRevisionData']({revision:_0x1b446a=null,from:_0xa8e12d=null,to:_0x103028=null}){_0xa8e12d=null!==_0xa8e12d?_0xa8e12d:_0x1b446a['fromVersion'],_0x103028=null!==_0x103028?_0x103028:_0x1b446a['toVersion'];const _0x8fd92=this['_revisionDataBuilder']['getData'](_0xa8e12d,_0x103028),_0x128a44={'diffData':_0x8fd92['diffData'],'authorsIds':_0x8fd92['authorsIds'],'fromVersion':_0xa8e12d,'toVersion':_0x103028};if(!_0x1b446a||_0x103028!==_0x1b446a['toVersion']){const _0x3d159f=_0x103028-0x1,_0x2f7d26=this['_source']['history']['getOperation'](_0x3d159f);_0x128a44['createdAt']=_0x2f7d26&&_0x2f7d26['createdAt']||new Date();}if(this['_loadedStateData']&&_0xa8e12d===this['_loadedStateData']['fromVersion']){for(const _0xeac293 of this['_loadedStateData']['authors'])_0x128a44['authorsIds']['includes'](_0xeac293['id'])||_0x128a44['authorsIds']['push'](_0xeac293['id']);}return _0x128a44;}['_loadRevisionData'](_0x554609){if(!_0x554609||_0x554609['diffData'])return Promise['resolve']();{const _0x42f86d=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0x42f86d,'revisionId':_0x554609['id']})['then'](_0x1fc4b6=>{_0x554609['diffData']=_0x1fc4b6['diffData'];});}}['_bufferUpdate'](_0xf8199d,_0x12476c,_0x176b10){if(this['_bufferedUpdates']['has'](_0xf8199d)){const _0x35f75d=this['_bufferedUpdates']['get'](_0xf8199d);_0x12476c=_0x176b10?{..._0x35f75d,..._0x12476c}:{..._0x12476c,..._0x35f75d};}this['_bufferedUpdates']['set'](_0xf8199d,_0x12476c);}['_getFromVersion'](_0x5b4411){const _0x1013cf=this['repository']['getRevisions']();_0x1013cf['reverse'](),_0x1013cf['shift']();const _0x2126b5=_0x1013cf['find'](_0x5da864=>_0x5da864['toVersion']<=_0x5b4411)['toVersion'];return _0x2126b5<this['_startingVersion']?this['_startingVersion']:_0x2126b5;}['_createInitialRevision'](_0x1c94e7){const _0x250a81=this['repository']['getRevision'](this['repository']['length']-0x1);if(_0x250a81)this['_initialRevisionId']=_0x250a81['id'];else{const _0x4e3e2d=!this['editor']['model']['document']['roots']['find'](_0x5f34b5=>this['editor']['model']['hasContent'](_0x5f34b5)),_0x1f3a63=this['editor']['plugins']['get']('Users')['me']['id'],_0x3acae8=y(this['editor']['locale'],_0x4e3e2d?'Empty\x20document':'Initial\x20revision');this['_makeRevision']({'from':_0x1c94e7,'to':_0x1c94e7,'id':this['_initialRevisionId'],'name':_0x3acae8,'creatorId':_0x1f3a63});}}['_createCurrentRevision'](_0x3711c9){const _0x31230d=this['_source']['getCurrentRevisionId']();this['currentRevision']=this['repository']['getRevision'](_0x31230d),this['currentRevision']||(this['currentRevision']=this['_makeRevision']({'from':_0x3711c9,'to':_0x3711c9,'id':_0x31230d,'name':'','creatorId':null}));}['_makeRevision']({name:_0x275e9e,from:_0x5334a8,to:_0x2e5290,creatorId:_0x38a0df,id:_0x30d8b3}){const _0x56a7ff=this['buildRevisionData']({'from':_0x5334a8,'to':_0x2e5290});_0x56a7ff['name']=_0x275e9e,_0x56a7ff['creatorId']=_0x38a0df,_0x56a7ff['id']=_0x30d8b3;const _0x531057=this['addRevisionData'](_0x56a7ff);return this['adapter']&&this['_bufferUpdate'](_0x56a7ff['id'],_0x56a7ff,!0x0),_0x531057;}['_setConversion'](){this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'});}['_removeRevisionMarkers'](_0x91481d){return(_0x91481d=_0x91481d['filter'](_0x129710=>!_0x129710['name']||'revision-start'!==_0x129710['name']&&'revision-end'!==_0x129710['name']))['forEach'](_0x3a3adb=>{'string'!=typeof _0x3a3adb&&(_0x3a3adb['children']=this['_removeRevisionMarkers'](_0x3a3adb['children']),_0x3a3adb['attributes']=_0x3a3adb['attributes']['filter'](_0x3a90cf=>!_0x3a90cf[0x0]['startsWith']('data-revision-')));}),_0x91481d;}}function B(_0x5c9930,_0x3490d3){const _0x5bdaaa=_0x3490d3['editing']['view']['document'];if('string'==typeof _0x5c9930)return new _0x21ea8e(_0x5bdaaa,_0x5c9930);{const _0x22520f=_0x5c9930['children']['map'](_0x2dc6a7=>B(_0x2dc6a7,_0x3490d3));return new(T[_0x5c9930['type']]||_0x493ac4)(_0x5bdaaa,_0x5c9930['name'],_0x5c9930['attributes'],_0x22520f);}}class J{['editor'];['source'];['_savedMetaData'];['_lastFrom'];['_lastTo'];['_markers'];['_diffRoots'];['_diffRootsAttributes'];['_baseRoots'];['_baseRootsAttributes'];['_idsRoots'];['_baseIdsRoots'];['_touched'];['_touchedMarkers'];['_touchedRoots'];['_revisionId'];['_startingRevisionId'];constructor(_0xd7e719){this['editor']=_0xd7e719,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'](_0x1198c5){this['source']=_0x1198c5;const _0x596173=new Map(),_0x1533b1=new Map(),_0xe8dce3=this['editor']['model']['document']['roots']['map'](_0x14a784=>_0x14a784['rootName']);for(const _0x234f04 of _0xe8dce3){const _0x1723f8=this['editor']['model']['document']['getRoot'](_0x234f04),_0x58968c=q(_0x1723f8);_0x596173['set'](_0x234f04,_0x58968c),_0x1533b1['set'](_0x234f04,Object['fromEntries'](_0x1723f8['getAttributes']()));}const _0x483b17=Array['from'](this['editor']['model']['markers'])['map'](_0xfa5345=>[_0xfa5345['name'],_0xfa5345['getRange']()]),_0x275d50=this['source']['version'];this['_saveMetaData'](_0x275d50,_0x596173,_0x483b17,_0x1533b1),this['_startingRevisionId']=this['_revisionId'];const _0x23641c=new Map(),_0x43b970=new Map();for(const _0x45d0d4 of _0xe8dce3){const _0x5ef839=G(_0x45d0d4);_0x23641c['set'](_0x45d0d4,_0x5ef839),_0x43b970['set'](_0x45d0d4,{});}this['_saveMetaData'](Number['NEGATIVE_INFINITY'],_0x23641c,[],_0x43b970);}['getData'](_0x5b73bc,_0x398c39){if(this['_lastFrom']===_0x5b73bc&&this['_lastTo']<=_0x398c39)this['_savedMetaData']['size']>0x1&&this['_removeMetaData'](this['_lastTo']),this['_applyOperations'](this['_lastTo'],_0x398c39,!0x0);else{if(!this['_savedMetaData']['has'](_0x5b73bc)){const _0x23fca5=this['_getPreviousFrom'](_0x5b73bc);this['_calculateMetaData'](_0x23fca5,_0x5b73bc,!0x1);}this['_calculateMetaData'](_0x5b73bc,_0x398c39,!0x0);}return this['_lastFrom']=_0x5b73bc,this['_lastTo']=_0x398c39,this['_getState']();}['loadState'](_0x4cc61e){this['_reset'](),this['_lastFrom']=_0x4cc61e['fromVersion'],this['_lastTo']=_0x4cc61e['toVersion'];for(const _0x1e8fad in _0x4cc61e['diffData']){const _0x3e0f0e=_0x4cc61e['diffData'][_0x1e8fad]['attachChange'],_0x3266fb=_0x146537(_0x4cc61e['diffData'][_0x1e8fad]['attributesBefore'])||{},_0x24fb01=this['_makeModelFromViewString'](_0x4cc61e['diffData'][_0x1e8fad]['deletions']);_0x24fb01['rootName']=_0x1e8fad,_0x24fb01['_isAttached']=!_0x3e0f0e||!_0x3e0f0e['isAttached'],_0x24fb01['isAttached']=()=>_0x24fb01['_isAttached'],this['_baseRoots']['set'](_0x1e8fad,_0x24fb01),this['_baseRootsAttributes']['set'](_0x1e8fad,_0x3266fb),_0x3e0f0e&&this['_touchedRoots']['set'](_0x1e8fad,_0x3e0f0e);const _0x2efdc1=this['_makeIdsRoot'](_0x24fb01);this['_baseIdsRoots']['set'](_0x1e8fad,_0x2efdc1);for(const [_0x11421b,_0x5ecfe6]of _0x24fb01['markers']){if(!_0x11421b['startsWith']('revision:'))continue;const _0x49edd7=_0x11421b['split'](':')[0x2];for(const _0x36a7be of _0x5ecfe6['getWalker']({'singleCharacters':!0x0})){const _0x4a2561=this['_getVidAttributeName'](_0x36a7be),_0x280d60='elementEnd'==_0x36a7be['type']?_0x36a7be['previousPosition']['path']['slice'](0x0,-0x1):_0x36a7be['previousPosition']['path'],_0x2c48d8=_0x2efdc1['getNodeByPath'](_0x280d60)['getAttribute'](_0x4a2561);this['_touched']['set'](_0x2c48d8,{'userId':_0x49edd7});}}}this['_startingRevisionId']=this['_revisionId'];const _0x1fa8d7=[...Array(this['_revisionId'])['keys']()]['slice'](0x1)['filter'](_0x33ee87=>!this['_touched']['has'](_0x33ee87));let _0xe96a53=0x0;const _0x319ae4=new Map();for(const _0x3caf52 in _0x4cc61e['diffData']){const _0x53e678=_0x4cc61e['diffData'][_0x3caf52]['attachChange'],_0x410d3e=_0x146537(_0x4cc61e['diffData'][_0x3caf52]['attributesAfter'])||{},_0x2d4128=this['_makeModelFromViewString'](_0x4cc61e['diffData'][_0x3caf52]['insertions']);_0x2d4128['rootName']=_0x3caf52,_0x2d4128['_isAttached']=!_0x53e678||_0x53e678['isAttached'],_0x2d4128['isAttached']=()=>_0x2d4128['_isAttached'],this['_diffRoots']['set'](_0x3caf52,_0x2d4128),this['_diffRootsAttributes']['set'](_0x3caf52,_0x410d3e);const _0x272314=this['_makeIdsRoot'](_0x2d4128,Number['NEGATIVE_INFINITY']);this['_idsRoots']['set'](_0x3caf52,_0x272314),_0x319ae4['set'](_0x3caf52,_0x2d4128['isAttached']()?_0x410d3e:{});for(const [_0x43a7c6,_0x4d2cfe]of _0x2d4128['markers']){if(!_0x43a7c6['startsWith']('revision:'))continue;const _0x34eccd=_0x43a7c6['split'](':')[0x2];for(const _0x37d1e3 of _0x4d2cfe['getWalker']({'singleCharacters':!0x0})){const _0xbadd2f=this['_getVidAttributeName'](_0x37d1e3),_0x30857f=this['_revisionId']++,_0x43ea00='elementEnd'==_0x37d1e3['type']?_0x37d1e3['previousPosition']['path']['slice'](0x0,-0x1):_0x37d1e3['previousPosition']['path'];_0x272314['getNodeByPath'](_0x43ea00)['_setAttribute'](_0xbadd2f,_0x30857f),this['_touched']['set'](_0x30857f,{'userId':_0x34eccd});}}for(const _0x35bc0e of this['editor']['model']['createRangeIn'](_0x2d4128)['getWalker']({'singleCharacters':!0x0})){const _0x443c42=this['_getVidAttributeName'](_0x35bc0e),_0x47775b='elementEnd'==_0x35bc0e['type']?_0x35bc0e['previousPosition']['path']['slice'](0x0,-0x1):_0x35bc0e['previousPosition']['path'],_0x40e8cb=_0x272314['getNodeByPath'](_0x47775b);_0x40e8cb['getAttribute'](_0x443c42)>0x0||_0x40e8cb['_setAttribute'](_0x443c42,_0x1fa8d7[_0xe96a53++]);}for(const [_0x1110ef,_0x37f1cf]of _0x2d4128['markers'])_0x1110ef['startsWith']('revision:')||this['_markers']['set'](_0x1110ef,_0x37f1cf);}const _0x50b27b=G('$graveyard');this['_baseRoots']['set']('$graveyard',_0x50b27b),this['_baseIdsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x50b27b,0x1));const _0x32db12=G('$graveyard');this['_diffRoots']['set']('$graveyard',_0x32db12),this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x32db12,0x1));const _0x33f990=Array['from'](this['_diffRoots'])['map'](([_0x436b7d,_0x5a6f18])=>[_0x436b7d,q(_0x5a6f18)]);this['_saveMetaData'](this['_lastTo'],_0x33f990,this['_markers'],_0x319ae4);}['_makeModelFromViewString'](_0x2a6673){const _0x39f8c1=JSON['parse'](_0x2a6673),_0x226665=this['editor']['editing']['view']['document'],_0x3f46f5=new _0x18edb1(_0x226665,_0x39f8c1['map'](_0x3c2588=>B(_0x3c2588,this['editor'])));return this['editor']['data']['toModel'](_0x3f46f5);}['_saveMetaData'](_0x41ffe4,_0x4433fc,_0x324f41,_0xef773c){const _0x22e34c=new Map(_0x4433fc),_0x55f394=new Map(_0x146537(_0xef773c)),_0x3f76b0=new Map();for(const [_0x3a2411,_0x2f2fb6]of _0x324f41)_0x3f76b0['set'](_0x3a2411,{'start':_0x2f2fb6['start']['clone'](),'end':_0x2f2fb6['end']['clone'](),'rootName':_0x2f2fb6['root']['rootName']});this['_savedMetaData']['set'](_0x41ffe4,{'roots':_0x22e34c,'markers':_0x3f76b0,'rootsAttributes':_0x55f394});}['_removeMetaData'](_0xcb7299){this['_savedMetaData']['delete'](_0xcb7299);}['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'](_0x2a1a1c,_0xde8a32=null){let _0x16bbca=null;_0x2a1a1c['is']('documentFragment')||(_0x16bbca=new ft(_0x2a1a1c['name'],{'vid_start':null===_0xde8a32?this['_revisionId']++:_0xde8a32++}));const _0x44fc6b=[];for(const _0xc92b56 of _0x2a1a1c['getChildren']())if(_0xc92b56['is']('element')){_0x44fc6b['push'](this['_makeIdsRoot'](_0xc92b56,_0xde8a32));const _0x452fbb=_0x44fc6b[_0x44fc6b['length']-0x1];null!==_0xde8a32&&(_0xde8a32=_0x452fbb['is']('element','$text')?_0x452fbb['getAttribute']('vid')+0x1:_0x452fbb['getAttribute']('vid_end')+0x1);}else{for(let _0x4e4de8=0x0;_0x4e4de8<_0xc92b56['offsetSize'];_0x4e4de8++)_0x44fc6b['push'](new ft('$text',{'vid':null===_0xde8a32?this['_revisionId']++:_0xde8a32++}));}if(_0x2a1a1c['is']('documentFragment')){const _0x1213ca=G(_0x2a1a1c['rootName']);return _0x1213ca['_insertChild'](0x0,_0x44fc6b),_0x1213ca;}return _0x16bbca['_setAttribute']('vid_end',null===_0xde8a32?this['_revisionId']++:_0xde8a32++),_0x16bbca['_insertChild'](0x0,_0x44fc6b),_0x16bbca;}['_calculateMetaData'](_0x2fe3dd,_0x1f9d04,_0x5cfbc0){this['_reset']();const {roots:_0xf5e54d,markers:_0x2fc5be,rootsAttributes:_0x411c21}=this['_savedMetaData']['get'](_0x2fe3dd);this['_baseRoots']=new Map(_0xf5e54d),this['_baseRootsAttributes']=new Map(_0x146537(_0x411c21));for(const [_0x433690,_0x4559c4]of this['_baseRoots'])if('$graveyard'!==_0x433690&&(this['_diffRoots']['set'](_0x433690,q(_0x4559c4)),this['_diffRootsAttributes']=new Map(_0x146537(_0x411c21)),_0x5cfbc0)){const _0x39a5fe=this['_revisionId'];this['_idsRoots']['set'](_0x433690,this['_makeIdsRoot'](_0x4559c4)),this['_baseIdsRoots']['set'](_0x433690,this['_makeIdsRoot'](_0x4559c4,_0x39a5fe));}this['_startingRevisionId']=this['_revisionId'],this['_diffRoots']['set']('$graveyard',q(this['_baseRoots']['get']('$graveyard'))),_0x5cfbc0&&this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](this['_baseRoots']['get']('$graveyard')));for(const [_0x46c7b3,_0x58f1e2]of _0x2fc5be){const _0x18c31a=this['_baseRoots']['get'](_0x58f1e2['rootName']),_0x573f26=this['_diffRoots']['get'](_0x58f1e2['rootName']),_0x55ba0c=new vt(this['_fixPosition'](_0x58f1e2['start'],_0x18c31a),this['_fixPosition'](_0x58f1e2['end'],_0x18c31a)),_0x322440=this['_fixRange'](_0x55ba0c,_0x573f26);_0x18c31a['markers']['set'](_0x46c7b3,_0x55ba0c),this['_markers']['set'](_0x46c7b3,_0x322440);}this['_applyOperations'](_0x2fe3dd,_0x1f9d04,_0x5cfbc0);}['_applyOperations'](_0x339145,_0x2cec96,_0xfc5b5a){for(const _0x3999d6 of this['source']['getOperations'](_0x339145,_0x2cec96))this['_handleOperation'](_0x3999d6,_0xfc5b5a);for(const _0x58a89e of this['_diffRoots']['values']())_0x58a89e['markers']['clear']();for(const [_0x368581,_0x56af07]of this['_markers']){this['_diffRoots']['get'](_0x56af07['root']['rootName'])['markers']['set'](_0x368581,_0x56af07['clone']());}const _0x507755=new Map(),_0xe2387b=new Map();for(const [_0x4f89cb,_0x2db402]of this['_diffRoots'])_0x507755['set'](_0x4f89cb,q(_0x2db402)),_0xe2387b['set'](_0x4f89cb,this['_diffRootsAttributes']['get'](_0x4f89cb));this['_saveMetaData'](_0x2cec96,_0x507755,this['_markers'],_0xe2387b);}['_getPreviousFrom'](_0x2ab4bc){const _0x1bf878=Array['from'](this['_savedMetaData']['keys']());_0x1bf878['sort']((_0x5daa68,_0x5b7987)=>_0x5daa68-_0x5b7987),_0x1bf878['reverse']();for(const _0x20a1b5 of _0x1bf878)if(_0x20a1b5<_0x2ab4bc)return _0x20a1b5;return Number['NEGATIVE_INFINITY'];}['_copyMarkers'](_0x2ac338,_0x5bd475){const _0x52f808=Array['from'](_0x5bd475['markers'])['map'](([_0x4db49f,_0x155bef])=>[_0x4db49f,this['_fixRange'](_0x155bef,_0x2ac338)]);_0x2ac338['markers']=new Map(_0x52f808);}['_transformMarkers'](_0x5d7b74){for(const _0x421b31 of this['_markers']['values']()){const _0x20c2c0=_0x421b31['getTransformedByOperation'](_0x5d7b74),_0x3c3445=vt['_createFromRanges'](_0x20c2c0);_0x421b31['start']=_0x3c3445['start'],_0x421b31['end']=_0x3c3445['end'];}}['_handleOperation'](_0x4bd210,_0x3dc475){if('addRoot'==_0x4bd210['type']||'detachRoot'==_0x4bd210['type'])return void this['_handleRootOperation'](_0x4bd210,_0x3dc475);if('insert'==_0x4bd210['type']){const _0x4a4a23=_0x4bd210['position']['root']['rootName'];this['_diffRoots']['has'](_0x4a4a23)||(this['_diffRoots']['set'](_0x4a4a23,G(_0x4a4a23,!0x0)),this['_diffRootsAttributes']['set'](_0x4a4a23,{}),_0x3dc475&&this['_idsRoots']['set'](_0x4a4a23,G(_0x4a4a23,!0x0)));}else{if('addRootAttribute'==_0x4bd210['type']||'removeRootAttribute'==_0x4bd210['type']||'changeRootAttribute'==_0x4bd210['type'])return void this['_handleRootAttributeOperation'](_0x4bd210);}const _0x13922d=this['_cloneOperation'](_0x4bd210,this['_diffRoots']);if('marker'!==_0x4bd210['type']&&(_0x13922d['_execute'](),this['_transformMarkers'](_0x13922d)),_0x3dc475)switch(_0x13922d['type']){case'insert':this['_handleInsertOperation'](_0x4bd210);break;case'move':case'remove':case'reinsert':this['_handleMoveOperation'](_0x4bd210);break;case'merge':this['_handleMergeOperation'](_0x4bd210);break;case'split':this['_handleSplitOperation'](_0x4bd210);break;case'marker':this['_handleMarkerOperation'](_0x4bd210);}}['_cloneOperation'](_0x2de812,_0x42182c){const _0x308bf8=_0x2de812['clone']();return _0x308bf8['_authorId']=_0x2de812['_authorId'],this['_fixOperation'](_0x308bf8,_0x42182c),_0x308bf8;}['_getBaseVids'](_0x2469e6){return _0x2469e6['map'](_0x4a51dc=>{const _0x9524d5=this['_getVidAttributeName'](_0x4a51dc);return Number(_0x4a51dc['item']['getAttribute'](_0x9524d5));});}['_generateTape'](_0x3af6c9,_0x5e533e){if(_0x3af6c9['is']('element','$text'))_0x5e533e['push']({'item':_0x3af6c9,'type':'text'});else{_0x3af6c9['is']('element')&&_0x5e533e['push']({'item':_0x3af6c9,'type':'elementStart'});for(const _0x4b615f of _0x3af6c9['getChildren']())this['_generateTape'](_0x4b615f,_0x5e533e);_0x3af6c9['is']('element')&&_0x5e533e['push']({'item':_0x3af6c9,'type':'elementEnd'});}return _0x5e533e;}['_getState'](){const _0x210238=new Map(this['_touched']),_0x5286a8=new Map(_0x210238),_0x1a29a1=new Map(),_0x91e62d={'insertions':{},'deletions':{}},_0x56a6c4={'insertions':{},'deletions':{}},_0x4010b3=new Map(),_0x5c0249=new Set([...this['_baseRoots']['keys'](),...this['_diffRoots']['keys']()]);_0x5c0249['delete']('$graveyard');for(const _0x19e693 of _0x5c0249){const _0x543a20=this['_diffRoots']['get'](_0x19e693)||G(_0x19e693,!0x1),_0x491000=this['_baseRoots']['get'](_0x19e693)||G(_0x19e693,!0x1);_0x543a20['isAttached']()||_0x491000['isAttached']()?(_0x91e62d['insertions'][_0x19e693]=q(_0x543a20),_0x91e62d['deletions'][_0x19e693]=q(_0x491000),this['_copyMarkers'](_0x91e62d['deletions'][_0x19e693],_0x491000),this['_copyMarkers'](_0x91e62d['insertions'][_0x19e693],_0x543a20),_0x56a6c4['insertions'][_0x19e693]=this['_generateTape'](this['_idsRoots']['get'](_0x19e693),[]),_0x56a6c4['deletions'][_0x19e693]=this['_generateTape'](this['_baseIdsRoots']['get'](_0x19e693)||G(_0x19e693,!0x1),[])):_0x5c0249['delete'](_0x19e693);}for(const _0x459b32 of _0x5c0249){const _0x1b6542=_0x56a6c4['insertions'][_0x459b32];for(const _0x71c938 of _0x1b6542){const _0x111f77=this['_getVidAttributeName'](_0x71c938),_0x3e06b0=_0x71c938['item']['getAttribute'](_0x111f77);_0x5286a8['delete'](_0x3e06b0),_0x3e06b0>=this['_startingRevisionId']&&_0x1a29a1['set'](_0x3e06b0,_0x210238['get'](_0x3e06b0));}}for(const _0x280144 of _0x5c0249){const _0x2f550b=_0x56a6c4['insertions'][_0x280144],_0x50c770=this['_getBaseVids'](_0x56a6c4['deletions'][_0x280144]);let _0x241739=0x0;for(const _0x46b59e of _0x2f550b){const _0x25ff33=this['_getVidAttributeName'](_0x46b59e),_0x5d93a6=_0x46b59e['item']['getAttribute'](_0x25ff33);if(!_0x1a29a1['has'](_0x5d93a6)&&!_0x4010b3['has'](_0x5d93a6)){if(_0x5286a8['has'](_0x5d93a6))_0x241739++;else{if(_0x5d93a6!=_0x50c770[_0x241739]){const _0x2bee80=_0x210238['get'](_0x5d93a6)||_0x210238['get'](_0x50c770[_0x241739]);for(;_0x5d93a6!=_0x50c770[_0x241739];)_0x5286a8['has'](_0x50c770[_0x241739])||(_0x4010b3['set'](_0x50c770[_0x241739],_0x2bee80),_0x210238['set'](_0x50c770[_0x241739],_0x2bee80)),_0x241739++;}_0x241739++;}}}}for(const _0x233606 of _0x5c0249){const _0x1af4f9=_0x56a6c4['insertions'][_0x233606];for(const _0x65195b of _0x1af4f9){const _0x26ea3e=this['_getVidAttributeName'](_0x65195b),_0x519ad3=_0x65195b['item']['getAttribute'](_0x26ea3e);if(_0x4010b3['has'](_0x519ad3)){const _0x2c746b=_0x4010b3['get'](_0x519ad3);_0x5286a8['has'](_0x519ad3)||_0x5286a8['set'](_0x519ad3,{..._0x2c746b}),_0x1a29a1['set'](_0x519ad3,{..._0x2c746b});}}}for(const _0x501427 of _0x5286a8['keys']())_0x501427>=this['_startingRevisionId']&&_0x5286a8['delete'](_0x501427);const _0x4cb222=new Map();for(const _0x4685c0 of _0x5c0249){let _0x56a446=_0x56a6c4['insertions'][_0x4685c0];for(const _0xe76933 of _0x56a446)if(_0xe76933['item']['is']('element','tableCell')){const _0x5b4ce0=this['_getVidAttributeName'](_0xe76933),_0x41e88e=_0xe76933['item']['getAttribute'](_0x5b4ce0);if(_0x1a29a1['has'](_0x41e88e)){const _0x5257c8=_0xe76933['item']['parent']['parent']['getAttribute']('vid_start'),_0xfc6d=_0x4cb222['get'](_0x5257c8)||new Set();_0xfc6d['add'](_0x1a29a1['get'](_0x41e88e)['userId']),_0x4cb222['set'](_0x5257c8,_0xfc6d);}}_0x56a446=_0x56a6c4['deletions'][_0x4685c0];for(const _0x28b328 of _0x56a446)if(_0x28b328['item']['is']('element','tableCell')){const _0x3bfebf=this['_getVidAttributeName'](_0x28b328),_0x22b166=_0x28b328['item']['getAttribute'](_0x3bfebf);if(_0x5286a8['has'](_0x22b166)){const _0x4ef3dc=_0x28b328['item']['parent']['parent']['getAttribute']('vid_start'),_0x1ad15b=_0x4cb222['get'](_0x4ef3dc)||new Set();_0x1ad15b['add'](_0x5286a8['get'](_0x22b166)['userId']),_0x4cb222['set'](_0x4ef3dc,_0x1ad15b);}}for(const _0x23ddd5 of _0x4cb222['keys']())(_0x1a29a1['has'](_0x23ddd5)||_0x5286a8['has'](_0x23ddd5))&&_0x4cb222['delete'](_0x23ddd5);}for(const _0x59defa of _0x5c0249){const _0x390c0a=_0x56a6c4['insertions'][_0x59defa];let _0xe85ee9=null,_0x1c51cb=null;for(const _0x12b5a9 of _0x390c0a){const _0x396a3f=this['_getVidAttributeName'](_0x12b5a9),_0xdd0578=_0x12b5a9['item']['getAttribute'](_0x396a3f),_0x77c136=_0x4cb222['get'](_0xdd0578);_0x77c136&&'elementStart'==_0x12b5a9['type']&&(_0xe85ee9=Array['from'](_0x77c136)[0x0],_0x1c51cb=_0x12b5a9['item']['getAttribute']('vid_end')),_0xe85ee9&&(_0x5286a8['set'](_0xdd0578,{'userId':_0xe85ee9}),_0x1a29a1['set'](_0xdd0578,{'userId':_0xe85ee9})),_0xdd0578==_0x1c51cb&&(_0xe85ee9=null,_0x1c51cb=null);}}const _0x21f937={},_0x36498d=new Set();for(const _0x2334ac of _0x5c0249){const _0x2fd3eb=_0x91e62d['deletions'][_0x2334ac],_0x218f66=_0x91e62d['insertions'][_0x2334ac];for(const {userId:_0x5bfc65}of this['_touchedMarkers']['values']())null!==_0x5bfc65&&_0x36498d['add'](_0x5bfc65);for(const {userId:_0x545a75}of this['_touchedRoots']['values']())null!==_0x545a75&&_0x36498d['add'](_0x545a75);this['_markChanges'](_0x218f66,_0x56a6c4['insertions'][_0x2334ac],_0x1a29a1,'insertion',_0x36498d),this['_markChanges'](_0x2fd3eb,_0x56a6c4['deletions'][_0x2334ac],_0x5286a8,'deletion',_0x36498d),_0x21f937[_0x2334ac]={'insertions':this['_prepareViewToSave'](_0x218f66),'deletions':this['_prepareViewToSave'](_0x2fd3eb),'attachChange':this['_touchedRoots']['get'](_0x2334ac)||null,'attributesBefore':_0x146537(this['_baseRootsAttributes']['get'](_0x2334ac))||{},'attributesAfter':_0x146537(this['_diffRootsAttributes']['get'](_0x2334ac))};}return{'diffData':_0x21f937,'authorsIds':Array['from'](_0x36498d)};}['_processRootBeforeSave'](_0x2d8771){for(const [,_0x286fe4]of _0x2d8771['markers']){const _0x1e1312=_0x286fe4['start']['getAncestors']()['filter'](_0x18c44f=>'tableCell'==_0x18c44f['name']);for(const _0x301eaa of _0x1e1312)0x1==_0x301eaa['childCount']&&_0x301eaa['getChild'](0x0)['is']('element','paragraph')&&_0x301eaa['getChild'](0x0)['_setAttribute']('keepParagraph',!0x0);}}['_prepareViewToSave'](_0x576664){this['_processRootBeforeSave'](_0x576664);const _0xa924ac=this['editor']['data']['toView'](_0x576664,{}),_0x3fb116=Array['from'](_0xa924ac['getChildren']())['map'](_0x503d47=>this['_getViewJson'](_0x503d47));return JSON['stringify'](_0x3fb116);}['_getViewJson'](_0x4e2172){if(_0x4e2172['is']('$text'))return _0x4e2172['data'];{const _0x4a2374=_0x4e2172;return{'type':Object['keys'](T)['find'](_0x2ff77d=>_0x4e2172 instanceof T[_0x2ff77d]),'name':_0x4a2374['name'],'attributes':Array['from'](_0x4a2374['getAttributes']()),'children':Array['from'](_0x4a2374['getChildren']())['map'](_0xb96f43=>this['_getViewJson'](_0xb96f43))};}}['_markChanges'](_0xd3dada,_0x2743f6,_0x2ec353,_0x58c8f4,_0x3396ec){let _0x2ae951=null,_0x434334=null,_0xb9cd4d=0x0;const _0x595c80=this['editor']['model'];for(let _0xd17747=0x0;_0xd17747<_0x2743f6['length'];_0xd17747++){const _0x439f35=this['_getVidAttributeName'](_0x2743f6[_0xd17747]),_0x15786f=_0x2743f6[_0xd17747]['item']['getAttribute'](_0x439f35),_0x3e427b=_0x2ec353['get'](_0x15786f),_0x284225=_0xd17747==_0x2743f6['length']-0x1;(!_0x2ae951&&_0x3e427b&&(_0x2ae951=_0x3e427b,_0x434334=_0x2743f6[_0xd17747]),_0x2ae951&&(!_0x3e427b||_0x3e427b['userId']!=_0x2ae951['userId']))&&(_0x4bba34(_0x3e427b,L(_0x434334,_0xd3dada,_0x595c80),L(_0x2743f6[_0xd17747],_0xd3dada,_0x595c80)),_0x2ae951=_0x3e427b||null,_0x434334=_0x3e427b?_0x2743f6[_0xd17747]:null),_0x2ae951&&_0x284225&&_0x4bba34(_0x3e427b,L(_0x434334,_0xd3dada,_0x595c80),W(_0x2743f6[_0xd17747],_0xd3dada,_0x595c80));}function _0x4bba34(_0x5f32c5,_0x2653f4,_0x3ef4f1){const _0x51e87e=_0x2ae951['userId'],_0x4e7fca='revision:'+_0x58c8f4+':'+_0x51e87e+':'+_0xb9cd4d++,_0x332f86=_0x595c80['createRange'](_0x2653f4,_0x3ef4f1);_0xd3dada['markers']['set'](_0x4e7fca,_0x332f86),null!==_0x51e87e&&_0x3396ec['add'](_0x51e87e);}}['_getVidAttributeName'](_0x57452a){switch(_0x57452a['type']){case'elementStart':return'vid_start';case'elementEnd':return'vid_end';default:return'vid';}}['_fixOperation'](_0x59d36d,_0x2b6933){_0x59d36d['baseVersion']=null;for(const _0xbaccb1 in _0x59d36d){const _0x1421df=_0x59d36d[_0xbaccb1];if(_0x1421df instanceof gt){const _0x368cac=_0x2b6933['get'](_0x1421df['root']['rootName']);_0x59d36d[_0xbaccb1]=this['_fixPosition'](_0x1421df,_0x368cac);}if(_0x1421df instanceof vt){const _0x444a53=_0x2b6933['get'](_0x1421df['root']['rootName']);_0x59d36d[_0xbaccb1]=this['_fixRange'](_0x1421df,_0x444a53);}'root'===_0xbaccb1&&(_0x59d36d['root']=_0x2b6933['get'](_0x59d36d['root']['rootName']));}}['_fixRange'](_0x1417b3,_0x2f78ee){return this['editor']['model']['createRange'](this['_fixPosition'](_0x1417b3['start'],_0x2f78ee),this['_fixPosition'](_0x1417b3['end'],_0x2f78ee));}['_fixPosition'](_0x1e6411,_0x171726){return this['editor']['model']['createPositionFromPath'](_0x171726,_0x1e6411['path'],_0x1e6411['stickiness']);}['_handleInsertOperation'](_0x46fb3e){const _0x2f9a2e=this['_idsRoots']['get'](_0x46fb3e['position']['root']['rootName']),_0x404951=this['_fixPosition'](_0x46fb3e['position'],_0x2f9a2e),_0x590356=null===_0x46fb3e['_authorId']?null:_0x46fb3e['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x438a18=_0x404951['parent'],_0xedb586=this['_revisionId'],_0x417916=[];for(const _0x5b8781 of _0x46fb3e['nodes'])if(_0x5b8781['is']('element'))_0x417916['push'](this['_makeIdsRoot'](_0x5b8781));else{for(let _0x39be7f=0x0;_0x39be7f<_0x5b8781['offsetSize'];_0x39be7f++)_0x417916['push'](new ft('$text',{'vid':this['_revisionId']++}));}const _0x1082b2=this['_revisionId'];for(let _0x51aa01=_0xedb586;_0x51aa01<_0x1082b2;_0x51aa01++)this['_touched']['set'](_0x51aa01,{'userId':_0x590356});_0x438a18['_insertChild'](_0x404951['offset'],_0x417916);}['_handleMoveOperation'](_0x515de4){(_0x515de4=this['_cloneOperation'](_0x515de4,this['_idsRoots']))['_execute']();const _0x44df2c=null===_0x515de4['_authorId']?null:_0x515de4['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x17f955=_0x515de4['getMovedRangeStart'](),_0xf5d27e=_0x17f955['parent'],_0x406c9c=_0x17f955['offset'];!function _0x23a90c(_0x4d217b,_0x51490e,_0x1f5eaf,_0x364e74){for(let _0x470eab=_0x1f5eaf;_0x470eab<_0x364e74;_0x470eab++){const _0x234a30=_0x51490e['getChild'](_0x470eab);_0x234a30['is']('element','$text')?_0x4d217b['set'](_0x234a30['getAttribute']('vid'),{'userId':_0x44df2c}):(_0x4d217b['set'](_0x234a30['getAttribute']('vid_start'),{'userId':_0x44df2c}),_0x23a90c(_0x4d217b,_0x234a30,0x0,_0x234a30['childCount']),_0x4d217b['set'](_0x234a30['getAttribute']('vid_end'),{'userId':_0x44df2c}));}}(this['_touched'],_0xf5d27e,_0x406c9c,_0x406c9c+_0x515de4['howMany']);}['_handleMergeOperation'](_0x403ddd){const _0x29a018=null===(_0x403ddd=this['_cloneOperation'](_0x403ddd,this['_idsRoots']))['_authorId']?null:_0x403ddd['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x125486=_0x403ddd['targetPosition']['parent'],_0x5e3d4f=_0x403ddd['sourcePosition']['parent'],_0x3242aa=_0x125486['getAttribute']('vid_end'),_0x1316f4=_0x5e3d4f['getAttribute']('vid_start');_0x125486['_setAttribute']('vid_end',_0x5e3d4f['getAttribute']('vid_end')),_0x5e3d4f['_setAttribute']('vid_end',_0x3242aa),this['_touched']['set'](_0x1316f4,{'userId':_0x29a018}),this['_touched']['set'](_0x3242aa,{'userId':_0x29a018}),_0x403ddd['_execute']();}['_handleSplitOperation'](_0x45748f){const _0x58b5b6=null===(_0x45748f=this['_cloneOperation'](_0x45748f,this['_idsRoots']))['_authorId']?null:_0x45748f['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x4863da=_0x45748f['graveyardPosition'],_0x22ce00=_0x45748f['splitPosition']['parent'];_0x45748f['_execute']();const _0x446db5=_0x22ce00['getAttribute']('vid_end'),_0x3f7178=_0x45748f['insertionPosition']['nodeAfter'];if(_0x4863da){const _0x4b853a=_0x3f7178['getAttribute']('vid_end'),_0x1502c0=_0x22ce00['getAttribute']('vid_end');_0x22ce00['_setAttribute']('vid_end',_0x4b853a),_0x3f7178['_setAttribute']('vid_end',_0x1502c0),this['_touched']['set'](_0x22ce00['getAttribute']('vid_end'),{'userId':_0x58b5b6}),this['_touched']['set'](_0x3f7178['getAttribute']('vid_start'),{'userId':_0x58b5b6});}else{const _0x246653=this['_revisionId']++,_0x4d371e=this['_revisionId']++;_0x22ce00['_setAttribute']('vid_end',_0x246653),_0x3f7178['_setAttribute']('vid_start',_0x4d371e),_0x3f7178['_setAttribute']('vid_end',_0x446db5),this['_touched']['set'](_0x246653,{'userId':_0x58b5b6}),this['_touched']['set'](_0x4d371e,{'userId':_0x58b5b6});}}['_handleMarkerOperation'](_0x45b836){if(!_0x45b836['affectsData'])return;const _0x5f5238=(_0x45b836=this['_cloneOperation'](_0x45b836,this['_diffRoots']))['oldRange']?_0x45b836['oldRange']['root']:null,_0x18cad8=_0x45b836['newRange']?_0x45b836['newRange']['root']:null;_0x5f5238&&this['_markers']['delete'](_0x45b836['name']),_0x18cad8&&this['_markers']['set'](_0x45b836['name'],_0x45b836['newRange']['clone']());const _0x12f590=null===_0x45b836['_authorId']?null:_0x45b836['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x62aeab=_0x45b836['name'];if(!this['_touchedMarkers']['has'](_0x62aeab))return void this['_touchedMarkers']['set'](_0x62aeab,{'range':_0x45b836['oldRange'],'userId':_0x12f590});const _0x26adaf=this['_touchedMarkers']['get'](_0x62aeab),_0x3ba1ad=_0x26adaf['range'],_0x4b484d=_0x45b836['newRange'];null==_0x3ba1ad&&null==_0x4b484d||_0x3ba1ad&&_0x4b484d&&_0x3ba1ad['isEqual'](_0x4b484d)?this['_touchedMarkers']['delete'](_0x45b836['name']):_0x26adaf['userId']=_0x12f590;}['_handleRootOperation'](_0x1ea82c,_0x2caca3){this['_diffRoots']['has'](_0x1ea82c['rootName'])?this['_diffRoots']['get'](_0x1ea82c['rootName'])['_isAttached']=_0x1ea82c['isAdd']:(this['_diffRoots']['set'](_0x1ea82c['rootName'],G(_0x1ea82c['rootName'],!0x0)),this['_diffRootsAttributes']['set'](_0x1ea82c['rootName'],{}),_0x2caca3&&this['_idsRoots']['set'](_0x1ea82c['rootName'],G(_0x1ea82c['rootName'],!0x0)));const _0x348e4f=null===_0x1ea82c['_authorId']?null:_0x1ea82c['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x4918f1=this['_touchedRoots']['get'](_0x1ea82c['rootName']);_0x4918f1&&_0x4918f1['userId']===_0x348e4f?this['_touchedRoots']['delete'](_0x1ea82c['rootName']):this['_touchedRoots']['set'](_0x1ea82c['rootName'],{'userId':_0x348e4f,'isAttached':_0x1ea82c['isAdd']});}['_handleRootAttributeOperation'](_0x2c3ffd){const _0x1a9071=this['_diffRootsAttributes']['get'](_0x2c3ffd['root']['rootName']);null===_0x2c3ffd['newValue']?delete _0x1a9071[_0x2c3ffd['key']]:_0x1a9071[_0x2c3ffd['key']]=_0x2c3ffd['newValue'];}}function q(_0x529d82){const _0x8f8de6=G(_0x529d82['rootName'],_0x529d82['isAttached']());for(const _0xef34cd of _0x529d82['getChildren']()){const _0x1035a5=_0xef34cd['_clone'](!0x0);_0x8f8de6['_appendChild'](_0x1035a5);}return _0x8f8de6;}function G(_0x1affb8,_0x144a2a=!0x0){const _0x4fcdf7=new wt();return _0x4fcdf7['rootName']=_0x1affb8,_0x4fcdf7['_isAttached']=_0x144a2a,_0x4fcdf7['isAttached']=()=>_0x4fcdf7['_isAttached'],_0x4fcdf7;}function L(_0x100a66,_0x586c21,_0x507741){const _0x2b5c0e='elementEnd'==_0x100a66['type']?_0x507741['createPositionAt'](_0x100a66['item'],'end'):_0x507741['createPositionBefore'](_0x100a66['item']);return _0x507741['createPositionFromPath'](_0x586c21,_0x2b5c0e['path'],_0x2b5c0e['stickiness']);}function W(_0x5a2152,_0x3c7d5d,_0x404031){const _0x4091e1='elementStart'==_0x5a2152['type']?_0x404031['createPositionAt'](_0x5a2152['item'],0x0):_0x404031['createPositionAfter'](_0x5a2152['item']);return _0x404031['createPositionFromPath'](_0x3c7d5d,_0x4091e1['path'],_0x4091e1['stickiness']);}class ns extends _0x47aea3{['focusTracker'];['keystrokes'];['revisionNameInputView'];constructor(_0x69a934,_0x3cc14d){super(_0x69a934),this['focusTracker']=new _0x59f083(),this['keystrokes']=new _0x60b7e1(),this['set']('revisionNameInputValue',''),this['revisionNameInputView']=this['_createRevisionNameInput'](_0x3cc14d),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'](),_0xfe357f({'view':this}),this['focusTracker']['add'](this['revisionNameInputView']['element']),this['keystrokes']['listenTo'](this['element']);const _0xa5ec21=_0x28986e=>_0x28986e['stopPropagation']();this['keystrokes']['set']('arrowright',_0xa5ec21),this['keystrokes']['set']('arrowleft',_0xa5ec21),this['keystrokes']['set']('arrowup',_0xa5ec21),this['keystrokes']['set']('arrowdown',_0xa5ec21);}['focus'](){this['revisionNameInputView']['focus']();}get['revisionName'](){return this['revisionNameInputView']['fieldView']['element']['value']['trim']();}set['revisionName'](_0x100620){this['revisionNameInputView']['fieldView']['element']['value']=_0x100620['trim']();}['reset'](){this['revisionNameInputView']['fieldView']['element']['value']='',this['revisionNameInputView']['errorText']=null;}['_createRevisionNameInput'](_0x52c35f){const _0x1bf4c5=new at(this['locale'],_0x52b2b4),_0x165ace=_0x1bf4c5['fieldView'];_0x165ace['extendTemplate']({'attributes':{'maxlength':'220'}});let _0x21a5ec=y(this['locale'],'Name\x20of\x20the\x20revision');return!_0x52c35f&&(_0x21a5ec+='\x20('+y(this['locale'],'optional')+')'),(_0x1bf4c5['label']=_0x21a5ec,_0x165ace['on']('input',()=>{this['revisionNameInputValue']=_0x165ace['element']['value']['trim']();}),_0x1bf4c5);}}class u extends _0x508c8f{static get['pluginName'](){return'RevisionHistoryUI';}static get['requires'](){return[l];}['_saveRevisionFormView'];['init'](){const _0x25a6b2=this['editor'],_0x39faef=_0x25a6b2['plugins']['get']('RevisionTracker');_0x25a6b2['ui']['componentFactory']['add']('revisionHistory',_0x965f51=>{const _0x13a434=_0x1c4f3f(_0x965f51),_0x3835ed=_0x13a434['panelView']['children'],_0x252c4e=new te(_0x965f51),_0x242bf8=new _0x1848a7(_0x965f51),_0x706ee2=new _0x29ed67(_0x965f51),_0x56f88a=new _0x1848a7(_0x965f51),_0x51118d=new _0x29ed67(_0x965f51);return _0x13a434['bind']('isEnabled')['to'](_0x39faef,'isReady',_0x39faef,'isEnabled',_0x25a6b2,'isReadOnly',(_0x412c0c,_0x142fd1,_0x4d9efa)=>_0x412c0c&&_0x142fd1&&!_0x4d9efa),_0x13a434['buttonView']['set']({'icon':_0x21c271['history'],'label':y(_0x965f51,'Revision\x20history'),'tooltip':!0x0}),_0x706ee2['set']({'label':y(_0x965f51,'Save\x20current\x20revision'),'withText':!0x0,'role':'menuitem'}),_0x706ee2['bind']('isEnabled')['to'](_0x39faef,'isReady',_0x39faef,'isEnabled',_0x25a6b2,'isReadOnly',(_0x1477bb,_0xacb1f9,_0x2b961d)=>_0x1477bb&&_0xacb1f9&&!_0x2b961d),_0x706ee2['on']('execute',()=>this['_showDialog']()),_0x51118d['set']({'label':y(_0x965f51,'Open\x20revision\x20history'),'withText':!0x0,'role':'menuitem'}),_0x51118d['bind']('isEnabled')['to'](_0x39faef,'isReady',_0x25a6b2,'isReadOnly',(_0x1fcbaa,_0x76cf33)=>_0x1fcbaa&&!_0x76cf33),_0x51118d['on']('execute',()=>{_0x25a6b2['config']['get']('revisionHistory')['showRevisionViewerCallback'](),_0x13a434['isOpen']=!0x1,_0x25a6b2['editing']['view']['focus']();}),_0x242bf8['children']['add'](_0x706ee2),_0x56f88a['children']['add'](_0x51118d),_0x252c4e['role']='menu',_0x252c4e['items']['addMany']([_0x242bf8,_0x56f88a]),_0x3835ed['add'](_0x252c4e),_0x13a434;}),_0x25a6b2['ui']['componentFactory']['add']('menuBar:revisionHistory',()=>this['_registerMenuComponent']());}['_registerMenuComponent'](){const _0x3fa5bc=this['editor'],_0x473ff6=_0x3fa5bc['locale'],_0x5e99d2=new _0x46aa4d(_0x473ff6),_0x13f56e=new _0x15ae58(_0x473ff6);_0x5e99d2['buttonView']['set']({'icon':_0x21c271['history'],'label':y(_0x473ff6,'Revision\x20history')});const _0x12f415=new _0x402552(_0x473ff6,_0x5e99d2),_0x322340=new _0x344f82(_0x473ff6);_0x322340['set']({'label':y(_0x473ff6,'Save\x20current\x20revision')}),_0x322340['delegate']('execute')['to'](_0x5e99d2),_0x322340['on']('execute',()=>{this['_showDialog']();}),_0x12f415['children']['add'](_0x322340),_0x13f56e['items']['add'](_0x12f415);const _0x4c19bc=new _0x402552(_0x473ff6,_0x5e99d2),_0x3dba34=new _0x344f82(_0x473ff6);return _0x3dba34['set']({'label':y(_0x473ff6,'Open\x20revision\x20history')}),_0x3dba34['delegate']('execute')['to'](_0x5e99d2),_0x3dba34['on']('execute',()=>{_0x3fa5bc['config']['get']('revisionHistory')['showRevisionViewerCallback']();}),_0x4c19bc['children']['add'](_0x3dba34),_0x13f56e['items']['add'](_0x4c19bc),_0x5e99d2['panelView']['children']['add'](_0x13f56e),_0x5e99d2;}['_showDialog'](){const _0x25579e=this['editor'],_0x1496ed=_0x25579e['locale'],_0x11ddd5=_0x25579e['plugins']['get']('Dialog'),_0x307dbb=_0x25579e['plugins']['get']('RevisionTracker');function _0x6c45f3(_0x4dc136){_0x25579e['config']['get']('revisionHistory.requireRevisionName')&&''===_0x4dc136['revisionName']?_0x4dc136['revisionNameInputView']['errorText']=y(_0x1496ed,'The\x20revision\x20name\x20cannot\x20be\x20empty.'):(_0x25579e['plugins']['get'](l)['saveRevision']({'name':_0x4dc136['revisionName']}),_0x11ddd5['hide']());}this['_saveRevisionFormView']||(this['_createSaveRevisionFormView'](),this['_saveRevisionFormView']['on']('submit',()=>_0x6c45f3(this['_saveRevisionFormView']))),this['_saveRevisionFormView']['reset'](),_0x11ddd5['show']({'id':'revisionSave','title':y(_0x1496ed,'Save\x20current\x20revision'),'isModal':!0x0,'content':this['_saveRevisionFormView'],'actionButtons':[{'label':y(_0x25579e['locale'],'Cancel'),'withText':!0x0,'onExecute':()=>_0x11ddd5['hide']()},{'label':y(_0x25579e['locale'],'Accept'),'class':'ck-button-action','withText':!0x0,'onCreate'(_0x11a0ec){_0x11a0ec['bind']('isEnabled')['to'](_0x307dbb,'isReady',_0x307dbb,'isEnabled',_0x25579e,'isReadOnly',(_0x25e464,_0x1239e4,_0x28d5a2)=>_0x25e464&&_0x1239e4&&!_0x28d5a2);},'onExecute':()=>_0x6c45f3(this['_saveRevisionFormView'])}]});}['_createSaveRevisionFormView'](){const _0x54a53=this['editor'],_0x48f28e=_0x54a53['locale'];this['_saveRevisionFormView']=new ns(_0x48f28e,_0x54a53['config']['get']('revisionHistory.requireRevisionName')),this['_saveRevisionFormView']['render']();}}class Z extends _0x47aea3{['changeId'];['_model'];constructor(_0x3f4e95,_0x87e77b){super(_0x3f4e95),this['_model']=_0x87e77b,this['changeId']=_0x87e77b['id'];const _0x583a03=this['bindTemplate'],_0x1130ba=y(_0x3f4e95,_0x87e77b['data']['isSuggestion']?'Suggested\x20by':'add'==_0x87e77b['type']?'Added\x20by':'Removed\x20by');this['set']('type',_0x87e77b['type']),this['setTemplate']({'tag':'div','attributes':{'class':['ck-annotation','ck-revision-change',_0x583a03['to']('type',_0x454be5=>'ck-revision-change__'+_0x454be5)],'tabindex':-0x1},'children':[{'tag':'span','children':[{'tag':'span','attributes':{'class':['ck-revision-change__label']},'children':[{'text':_0x1130ba}]},{'text':'\x20'+_0x87e77b['author']['name']}]}]});}['focus'](){this['element']['focus']();}}class r extends/* #__PURE__ -- @preserve */
|
|
25
|
-
_0x169ba8(){['id'];['author'];['type'];['data'];['rootName'];constructor(_0x163e0a){super(),this['id']=_0x163e0a['id']||_0xe98175(),this['author']=_0x163e0a['author'],this['type']=_0x163e0a['type'],this['data']=_0x163e0a['data']||{},this['rootName']=_0x163e0a['rootName'],this['set']('createdAt',_0x163e0a['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(_0x2a500c,_0x5545c3){this['newRevisionId']=_0x2a500c,this['oldRevisionId']=_0x5545c3,this['changes']=new _0x3f7d5c();}['_setChanges'](_0x3d08c8){for(const _0x29d3ed of _0x3d08c8)this['changes']['add'](_0x29d3ed);}}const tt={'c':_0xe2caaa,'a':_0x4ec476,'e':_0x390d7b,'r':_0x4e998e,'u':_0x444885};class d extends _0x508c8f{['repository'];['adapter'];['_activeViewTarget'];['_changeView'];['_changeIdToChange'];['_balloon'];static get['pluginName'](){return'RevisionViewer';}static get['requires'](){return[_0x5265ea,_0x325603,A];}constructor(_0x18766c){super(_0x18766c),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',(_0x29b84b,_0x3d5a3a,_0x32c6bf)=>{this['activeChange']=null,this['activeView']=null,this['editor']['editing']['view']['change'](_0x2bf81d=>{for(const _0x16b248 of this['editor']['editing']['view']['document']['roots'])_0x32c6bf?_0x2bf81d['removeClass']('ck-editor__editable__overlay',_0x16b248):_0x2bf81d['addClass']('ck-editor__editable__overlay',_0x16b248);});}),this['bind']('isNavigationMode')['to'](this,'activeChange',_0x1afb56=>null!==_0x1afb56),this['bind']('currentChangeNumber')['to'](this,'isReady',this,'diff',this,'activeChange',(_0x1273e4,_0x5973ba,_0x39a64f)=>_0x1273e4&&_0x39a64f?_0x5973ba['changes']['getIndex'](_0x39a64f):0x0),this['bind']('numberOfChanges')['to'](this,'isReady',this,'diff',(_0x1d1ca8,_0x456af5)=>_0x1d1ca8?_0x456af5['changes']['length']:0x0),this['_changeView']=null,this['_changeIdToChange']=new Map(),this['adapter']=null,this['_balloon']=this['editor']['plugins']['get'](_0x325603);}['init'](){const _0x2b6955=this['editor'],_0x27209c=new yt(_0x2b6955,{'direction':'backward'}),_0x5015b6=new yt(_0x2b6955,{'direction':'forward'});(_0x2b6955['commands']['add']('showPreviousChange',_0x27209c),_0x2b6955['commands']['add']('showNextChange',_0x5015b6),_0x2b6955['commands']['add']('restoreRevision',new bt(_0x2b6955)),this['on']('change:numberOfChanges',()=>{_0x27209c['refresh'](),_0x5015b6['refresh']();}),this['_setConversion'](),this['_initInteractions'](),_0x2b6955['enableReadOnlyMode']('revision-viewer'),_0x2b6955['plugins']['has']('WidgetToolbarRepository'))&&_0x2b6955['plugins']['get']('WidgetToolbarRepository')['forceDisabled']('revision-viewer');}async['getRevisionData'](_0x34a069){await this['loadRevisionData'](_0x34a069);const _0x19e3a2={};for(const _0x33c164 in _0x34a069['diffData']){if(_0x34a069['diffData'][_0x33c164]['attachChange']&&!_0x34a069['diffData'][_0x33c164]['attachChange']['isAttached'])continue;const _0x76e870=this['_removeRevisionMarkers'](JSON['parse'](_0x34a069['diffData'][_0x33c164]['insertions'])),_0x3f8caa=this['editor']['editing']['view']['document'],_0x137d0f=new _0x18edb1(_0x3f8caa,_0x76e870['map'](_0x377977=>this['_getViewObj'](_0x377977)));this['editor']['data']['processor']['useFillerType']('marked'),_0x19e3a2[_0x33c164]=this['editor']['data']['processor']['toData'](_0x137d0f),this['editor']['data']['processor']['useFillerType']('default');}return _0x19e3a2;}async['getRevisionRootsAttributes'](_0xea4632){await this['loadRevisionData'](_0xea4632);const _0x2ef4d4={};for(const _0x259cb8 in _0xea4632['diffData'])_0xea4632['diffData'][_0x259cb8]['attachChange']&&!_0xea4632['diffData'][_0x259cb8]['attachChange']['isAttached']||(_0x2ef4d4[_0x259cb8]=_0xea4632['diffData'][_0x259cb8]['attributesAfter']||{});return _0x2ef4d4;}['_removeRevisionMarkers'](_0x14bb9c){return(_0x14bb9c=_0x14bb9c['filter'](_0x2af27c=>!_0x2af27c['name']||'revision-start'!==_0x2af27c['name']&&'revision-end'!==_0x2af27c['name']))['forEach'](_0x59d0ae=>{'string'!=typeof _0x59d0ae&&(_0x59d0ae['children']=this['_removeRevisionMarkers'](_0x59d0ae['children']),_0x59d0ae['attributes']=_0x59d0ae['attributes']['filter'](_0x411be8=>!_0x411be8[0x0]['startsWith']('data-revision-')));}),_0x14bb9c;}async['compare'](_0x5e0986,_0x53d69c,_0x2ed105=!0x1){if(!this['isEnabled'])return;const _0xc32d84=this['diff'],_0x21a847=this['repository'],_0x475d15='string'==typeof _0x5e0986?_0x21a847['getRevision'](_0x5e0986):_0x5e0986,_0x36864f='string'==typeof _0x53d69c?_0x21a847['getRevision'](_0x53d69c):_0x53d69c,_0x56e2ba=_0x475d15['id'],_0x35f672=_0x36864f?_0x36864f['id']:null;if(!_0x2ed105&&this['diff']&&this['diff']['newRevisionId']===_0x56e2ba&&this['diff']['oldRevisionId']===_0x35f672)return Promise['resolve']();this['isReady']=!0x1,this['activeView']=null,this['activeChange']=null,this['diff']=new f(_0x56e2ba,_0x35f672);const _0x469a3e=this['_getRevisionsRange'](_0x475d15,_0x36864f,!0x0)['map'](_0x44cad9=>this['loadRevisionData'](_0x44cad9));return _0x469a3e['push'](new Promise(_0x9b2c3=>{setTimeout(_0x9b2c3,0x14);})),Promise['all'](_0x469a3e)['then'](()=>{if(!this['isEnabled'])return;this['_cleanUp']();const _0x331c14=this['_getDiff'](_0x56e2ba,_0x35f672);for(const _0x19c223 of _0x331c14['changes'])this['_changeIdToChange']['set'](_0x19c223['id'],_0x19c223);this['editor']['model']['enqueueChange']({'isUndoable':!0x1},_0x5df136=>{for(const _0x581aa3 of this['editor']['model']['document']['getRootNames']())_0x5df136['detachRoot'](_0x581aa3);for(const _0x24bf5d of Object['keys'](_0x331c14['model'])){const _0x1bba7d=_0x5df136['addRoot'](_0x24bf5d);for(const _0x231d5c of Object['keys'](_0x331c14['attributes'][_0x24bf5d]))_0x5df136['setAttribute'](_0x231d5c,_0x331c14['attributes'][_0x24bf5d][_0x231d5c],_0x1bba7d);_0x5df136['insert'](_0x331c14['model'][_0x24bf5d],_0x1bba7d,0x0);}}),this['diff']['_setChanges'](this['_sortAndFilterDiffChanges'](_0x331c14['changes'])),this['isReady']=!0x0;})['catch'](_0x4713b0=>{console['error'](_0x4713b0),this['_cleanUp'](),_0xc32d84&&(this['diff']=_0xc32d84),this['isReady']=!0x0;});}['addRevisionData'](_0x1fd165,_0x470ef3){const _0x3dbe29=this['repository']['createRevision'](_0x1fd165);return _0x3dbe29['on']('_update',(_0x48d46e,_0x3102a7,_0x100998)=>_0x470ef3(_0x3102a7,_0x100998,_0x3dbe29)),this['repository']['addRevision'](_0x3dbe29),_0x3dbe29;}['loadRevisionData'](_0x423e56){if(!_0x423e56||_0x423e56['diffData'])return Promise['resolve']();{const _0x593e55=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0x593e55,'revisionId':_0x423e56['id']})['then'](_0x345eeb=>{_0x423e56['_update']({'diffData':_0x345eeb['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},_0x30debb=>{for(const _0xa7d729 of this['editor']['model']['document']['getRootNames']())_0x30debb['detachRoot'](_0xa7d729);});}['_sortAndFilterDiffChanges'](_0x1badbe){const _0x1f0ad2=[],_0x2a08b5=new Map();for(const _0x11920f of this['editor']['model']['document']['getRootNames']()){const _0x251ce5=this['editor']['editing']['view']['getDomRoot'](_0x11920f);if(!_0x251ce5)continue;const _0x31cdcd=_0x251ce5['getClientRects']()['item'](0x0);_0x31cdcd&&(_0x1f0ad2['push'](_0x11920f),_0x2a08b5['set'](_0x11920f,_0x31cdcd));}return _0x1f0ad2['sort']((_0x40fef5,_0x6935d5)=>{const _0x1eb0d8=_0x2a08b5['get'](_0x40fef5),_0x1d2d7c=_0x2a08b5['get'](_0x6935d5);return _0x1eb0d8['y']-_0x1d2d7c['y']||_0x1eb0d8['x']-_0x1d2d7c['x'];}),(_0x1badbe=_0x1badbe['filter'](_0x53687d=>_0x1f0ad2['includes'](_0x53687d['rootName'])))['sort']((_0x125fce,_0x77bd82)=>_0x1f0ad2['indexOf'](_0x125fce['rootName'])-_0x1f0ad2['indexOf'](_0x77bd82['rootName'])),_0x1badbe;}['_makeTape'](_0x218f15){const _0xa4fcc7=Array['from'](_0x218f15['markers'])['filter'](([_0x5a2df4,_0x4ac3a1])=>_0x5a2df4['startsWith']('revision:')&&!_0x4ac3a1['isCollapsed']),_0x6ffaee=Array['from'](this['editor']['model']['createRangeIn'](_0x218f15)['getWalker']({'singleCharacters':!0x0}));if(0x0!=_0xa4fcc7['length'])for(const _0x163259 of _0x6ffaee){const [_0x57c4b2,_0x85a0a9]=_0xa4fcc7[0x0],[,_0x9d3599,_0x4b276a]=_0x57c4b2['split'](':');if(_0x85a0a9['end']['isEqual'](_0x163259['nextPosition'])&&_0xa4fcc7['shift'](),(_0x163259['previousPosition']['isEqual'](_0x85a0a9['start'])||_0x163259['previousPosition']['isAfter'](_0x85a0a9['start']))&&('insertion'==_0x9d3599?_0x163259['isAdded']={'userId':_0x4b276a}:'deletion'==_0x9d3599&&(_0x163259['isRemoved']={'userId':_0x4b276a})),0x0==_0xa4fcc7['length'])break;}return _0x6ffaee;}['_refreshStartEndIndex'](_0x1bdb37){const _0x1a36fd=new Map();for(let _0x2a4f7f=0x0;_0x2a4f7f<_0x1bdb37['length'];_0x2a4f7f++)'text'===_0x1bdb37[_0x2a4f7f]['type']?(_0x1bdb37[_0x2a4f7f]['item']['startIndex']=_0x2a4f7f,_0x1bdb37[_0x2a4f7f]['item']['endIndex']=_0x2a4f7f):('elementStart'===_0x1bdb37[_0x2a4f7f]['type']?_0x1bdb37[_0x2a4f7f]['item']['startIndex']=_0x2a4f7f:'elementEnd'===_0x1bdb37[_0x2a4f7f]['type']&&(_0x1bdb37[_0x2a4f7f]['item']['endIndex']=_0x2a4f7f),_0x1a36fd['set'](_0x1bdb37[_0x2a4f7f]['id'],_0x2a4f7f));for(const _0x4e29ed of _0x1a36fd['values']())'elementStart'===_0x1bdb37[_0x4e29ed]['type']?_0x1bdb37[_0x4e29ed]['item']['endIndex']=_0x1a36fd['get'](_0x1bdb37[_0x4e29ed]['pairId']):'elementEnd'===_0x1bdb37[_0x4e29ed]['type']&&(_0x1bdb37[_0x4e29ed]['item']['startIndex']=_0x1a36fd['get'](_0x1bdb37[_0x4e29ed]['pairId']));}['_processTape'](_0x4d0a6f){for(let _0x4c24d1=0x0;_0x4c24d1<_0x4d0a6f['length'];_0x4c24d1++){if('elementStart'===_0x4d0a6f[_0x4c24d1]['type'])_0x4d0a6f[_0x4c24d1]['item']['startIndex']=_0x4c24d1;else{if('elementEnd'===_0x4d0a6f[_0x4c24d1]['type']){_0x4d0a6f[_0x4c24d1]['item']['endIndex']=_0x4c24d1;const _0x31f8c9=_0x4d0a6f[_0x4c24d1]['item']['startIndex'];_0x4d0a6f[_0x31f8c9]['pairId']=_0x4d0a6f[_0x4c24d1]['id'],_0x4d0a6f[_0x4c24d1]['pairId']=_0x4d0a6f[_0x31f8c9]['id'];}else _0x4d0a6f[_0x4c24d1]['item']['startIndex']=_0x4c24d1,_0x4d0a6f[_0x4c24d1]['item']['endIndex']=_0x4c24d1,_0x4d0a6f[_0x4c24d1]['pairId']=null;}_0x4d0a6f[_0x4c24d1]['markersStart']||(_0x4d0a6f[_0x4c24d1]['markersStart']=[],_0x4d0a6f[_0x4c24d1]['markersEnd']=[]);}}['_markInsertions'](_0x26d8be,_0x4b7ba8){const _0x44a584=_0x26d8be['filter'](_0x3f6d4c=>!_0x3f6d4c['isAdded']);for(let _0x3f3a82=0x0;_0x3f3a82<_0x4b7ba8['length'];_0x3f3a82++)_0x4b7ba8[_0x3f3a82]['isAdded']&&(_0x44a584[_0x3f3a82]['isAdded']=_0x4b7ba8[_0x3f3a82]['isAdded']);}['_makeModelFromViewString'](_0x4fca4c){const _0x237102=JSON['parse'](_0x4fca4c),_0x127cbc=this['editor']['editing']['view']['document'],_0x2318c=new _0x18edb1(_0x127cbc,_0x237102['map'](_0x220216=>this['_getViewObj'](_0x220216)));return this['editor']['data']['toModel'](_0x2318c);}['_getViewObj'](_0x433f51){const _0x96b36c=this['editor']['editing']['view']['document'];if('string'==typeof _0x433f51)return new _0x21ea8e(_0x96b36c,_0x433f51);{const _0x5c1725=_0x433f51['children']['map'](_0xd1ba5=>this['_getViewObj'](_0xd1ba5));return new(tt[_0x433f51['type']]||_0x493ac4)(_0x96b36c,_0x433f51['name'],_0x433f51['attributes'],_0x5c1725);}}['_getDiff'](_0x169fb8,_0x169a2c=null){const _0x3e6abe=this['repository']['getRevision'](_0x169fb8),_0x4a0b99=_0x169a2c?this['repository']['getRevision'](_0x169a2c):null,_0x3e422f=this['_getRevisionsRange'](_0x3e6abe,_0x4a0b99),_0x3f9d32=_0x3e422f[_0x3e422f['length']-0x1],_0x3abdaa=new Map(),_0x51b3b8={'model':{},'attributes':{},'changes':[]},_0x3eee33=new Set(),_0x4b1fd6=new Map();for(let _0x39d009=_0x3e422f['length']-0x1;_0x39d009>=0x0;_0x39d009--){const _0x4cf2f3=_0x3e422f[_0x39d009];for(const _0x4a5fe3 of Object['keys'](_0x4cf2f3['diffData']))if(_0x4cf2f3['diffData'][_0x4a5fe3]['attachChange']){const _0x272bd1=_0x4cf2f3['diffData'][_0x4a5fe3]['attachChange'];_0x272bd1['isAttached']?(_0x3eee33['add'](_0x4a5fe3),_0x4b1fd6['has'](_0x4a5fe3)&&_0x4b1fd6['get'](_0x4a5fe3)['userId']==_0x272bd1['userId']?_0x4b1fd6['delete'](_0x4a5fe3):_0x4b1fd6['set'](_0x4a5fe3,_0x272bd1)):_0x4b1fd6['has'](_0x4a5fe3)?(_0x3eee33['delete'](_0x4a5fe3),_0x4b1fd6['delete'](_0x4a5fe3)):(_0x3eee33['add'](_0x4a5fe3),_0x4b1fd6['set'](_0x4a5fe3,_0x272bd1));}else _0x3eee33['add'](_0x4a5fe3);}for(const _0x3b919f of _0x3eee33){const _0x9062f1=_0x4b1fd6['has'](_0x3b919f)&&!_0x4b1fd6['get'](_0x3b919f)['isAttached'];let _0x366a3d=_0x9062f1?_0x3e422f['length']-0x1:0x0;const _0x253af5=_0x9062f1?-0x1:0x1;for(;_0x3e422f[_0x366a3d];){const _0x35ad8f=_0x3e422f[_0x366a3d];if(_0x35ad8f['diffData'][_0x3b919f]){const _0x4f8cf7=_0x9062f1?_0x35ad8f['diffData'][_0x3b919f]['attributesBefore']:_0x35ad8f['diffData'][_0x3b919f]['attributesAfter'];_0x51b3b8['attributes'][_0x3b919f]=_0x4f8cf7?_0x146537(_0x4f8cf7):{};break;}_0x366a3d+=_0x253af5;}}for(const _0x1f2472 of _0x3e422f){_0x1f2472['model']={};for(const _0x57e8f3 of _0x1f2472['authors'])_0x3abdaa['set'](_0x57e8f3['id'],_0x57e8f3);for(const _0x15a68c of _0x3eee33){const _0x3dd3a6=_0x1f2472['diffData'][_0x15a68c]?_0x1f2472['diffData'][_0x15a68c]['insertions']:'[]',_0x4a2fc7=_0x1f2472['diffData'][_0x15a68c]?_0x1f2472['diffData'][_0x15a68c]['deletions']:'[]';_0x1f2472['model'][_0x15a68c]={'insertions':this['_makeModelFromViewString'](_0x3dd3a6),'deletions':this['_makeModelFromViewString'](_0x4a2fc7)};}}for(const _0x30e718 of _0x3eee33){let _0x26e60e=null,_0x12b45d=0x0;const _0x239edf=new Map(Array['from'](_0x3e6abe['model'][_0x30e718]['insertions']['markers'])['filter'](([_0x10faf4])=>!_0x10faf4['startsWith']('revision:')));let _0x4fd4ce=0x0;for(const _0x26143f of _0x3e422f){const _0x4c707e=this['_makeTape'](_0x26143f['model'][_0x30e718]['insertions']);_0x26143f==_0x3e6abe?(_0x26e60e=_0x4c707e,_0x12b45d=_0x26e60e['length'],_0x26e60e['forEach'](_0x14bff5=>{_0x14bff5['id']=_0x4fd4ce++;}),this['_processTape'](_0x26e60e)):this['_markInsertions'](_0x26e60e,_0x4c707e);const _0x1f3915=_0x26e60e['filter'](_0x4c8110=>!_0x4c8110['isAdded'])['map'](_0x2bdb52=>_0x2bdb52['id']);let _0x5fdbc9=0x0;const _0x316510=this['_makeTape'](_0x26143f['model'][_0x30e718]['deletions']);_0x316510['forEach'](_0x5d4190=>{_0x5d4190['isRemoved']?_0x5d4190['id']=_0x12b45d++:_0x5d4190['id']=_0x1f3915[_0x5fdbc9++];}),this['_processTape'](_0x316510),this['_setDistance'](_0x26e60e,'isAdded'),this['_setDistance'](_0x316510,'isRemoved'),_0x26143f==_0x3e6abe&&this['_markMarkers'](_0x26e60e,_0x239edf),_0x26e60e=this['_joinTapes'](_0x26e60e,_0x316510),this['_refreshStartEndIndex'](_0x26e60e),this['_setDistance'](_0x26e60e,'isRemoved');}_0x26e60e=_0x26e60e['filter'](_0x1c1a6b=>!(_0x1c1a6b['isAdded']&&_0x1c1a6b['isRemoved']));const _0x2720fb=new Map(_0x3f9d32['model'][_0x30e718]['deletions']['markers']),_0x107e75=new Set(_0x239edf['keys']());for(const _0x28e042 of _0x2720fb['keys']())_0x107e75['delete'](_0x28e042);this['_markSuggestions'](_0x26e60e,_0x107e75),this['_fixObsoleteTags'](_0x26e60e),_0x26e60e=this['_removeMissingPairs'](_0x26e60e),_0x26e60e=this['_markMismatchedRemovedTags'](_0x26e60e),_0x26e60e=this['_removeUnsupportedChanges'](_0x26e60e);const {root:_0x2d4001,changes:_0x44310e}=this['_makeModelFromTape'](_0x26e60e,_0x3abdaa,_0x30e718);_0x51b3b8['model'][_0x30e718]=_0x2d4001;const _0x57ae76=_0x4b1fd6['get'](_0x30e718);if(_0x57ae76){const _0x319f87=_0x3abdaa['get'](_0x57ae76['userId']),_0x490443=new r({'author':_0x319f87,'type':_0x57ae76['isAttached']?'add':'remove','data':{'isOnRoot':!0x0},'createdAt':new Date(),'rootName':_0x30e718});_0x44310e['unshift'](_0x490443),_0x51b3b8['attributes'][_0x30e718]['revisionHistoryAttachChange']=_0x490443['id'];}_0x51b3b8['changes']=_0x51b3b8['changes']['concat'](_0x44310e);}return _0x51b3b8;}['_markMarkers'](_0xec4fe7,_0x360896){for(let _0x13e71a=0x0;_0x13e71a<_0xec4fe7['length'];_0x13e71a++)for(const [_0x5184da,_0x1d9bcd]of _0x360896)_0x1d9bcd['start']['isEqual'](_0xec4fe7[_0x13e71a]['previousPosition'])&&_0xec4fe7[_0x13e71a]['markersStart']['push'](_0x5184da),_0x1d9bcd['end']['isEqual'](_0xec4fe7[_0x13e71a]['nextPosition'])&&_0xec4fe7[_0x13e71a]['markersEnd']['push'](_0x5184da);}['_joinTapes'](_0x3b7f44,_0x2de3f0){let _0x3df8a6=[],_0x413f8b=0x0,_0x566dc8=0x0;for(;_0x413f8b<_0x3b7f44['length']||_0x566dc8<_0x2de3f0['length'];){const _0x59c75c=_0x3b7f44[_0x413f8b]||{},_0x4c2374=_0x2de3f0[_0x566dc8]||{};if(_0x59c75c['id']==_0x4c2374['id'])_0x413f8b++,_0x566dc8++,_0x3df8a6['push'](_0x59c75c);else{if(_0x4c2374['isRemoved']&&_0x59c75c['isAdded']){const {commonTape:_0x386a95,iEnd:_0x527833,jEnd:_0x33afab}=this['_threeWayMerge'](_0x3b7f44,_0x413f8b,_0x2de3f0,_0x566dc8);_0x3df8a6=_0x3df8a6['concat'](_0x386a95),_0x413f8b=_0x527833,_0x566dc8=_0x33afab;}else _0x4c2374['isRemoved']?(_0x566dc8++,_0x3df8a6['push'](_0x4c2374)):(_0x413f8b++,_0x3df8a6['push'](_0x59c75c));}}return _0x3df8a6;}['_markSuggestions'](_0x4b7182,_0x50db48){const _0x75847c=[];for(let _0x3a6771=0x0;_0x3a6771<_0x4b7182['length'];_0x3a6771++){for(let _0x3efca4=0x0;_0x3efca4<_0x4b7182[_0x3a6771]['markersStart']['length'];_0x3efca4++){const _0x3b7685=_0x4b7182[_0x3a6771]['markersStart'][_0x3efca4];if(!_0x50db48['has'](_0x3b7685))continue;const {group:_0x59164b,type:_0x5804c3,authorId:_0x152035}=_0x453743(_0x3b7685);'revision-suggestion'!=_0x59164b||'insertion'!=_0x5804c3&&'deletion'!=_0x5804c3||(_0x75847c['unshift']({'type':_0x5804c3,'name':_0x3b7685,'userId':_0x152035}),_0x4b7182[_0x3a6771]['markersStart']['splice'](_0x3efca4,0x1),_0x3efca4--);}_0x1afa02(_0x4b7182[_0x3a6771]);for(let _0x510841=0x0;_0x510841<_0x4b7182[_0x3a6771]['markersEnd']['length'];_0x510841++){const _0x5145a6=_0x4b7182[_0x3a6771]['markersEnd'][_0x510841];if(!_0x50db48['has'](_0x5145a6))continue;const {group:_0x5e1765,type:_0xd467e6}=_0x453743(_0x5145a6);if('revision-suggestion'!=_0x5e1765||'insertion'!=_0xd467e6&&'deletion'!=_0xd467e6)continue;_0x4b7182[_0x3a6771]['markersEnd']['splice'](_0x510841,0x1),_0x510841--;const _0x5b50fb=_0x75847c['findIndex'](_0x3ac294=>_0x3ac294['name']==_0x5145a6);_0x5b50fb>-0x1&&_0x75847c['splice'](_0x5b50fb,0x1);}}function _0x453743(_0x41727a){const _0x484e78=_0x41727a['split'](':');return{'group':_0x484e78[0x0],'type':_0x484e78[0x1],'subType':_0x484e78['length']>=0x5?_0x484e78[0x2]:null,'id':_0x484e78['length']<0x5?_0x484e78[0x2]:_0x484e78[0x3],'authorId':_0x484e78['length']<0x5?_0x484e78[0x3]:_0x484e78[0x4],'markerCount':0x6==_0x484e78['length']?_0x484e78[0x5]:null};}function _0x1afa02(_0x53fafa){for(let _0x1617a4=0x0;_0x1617a4<_0x75847c['length'];_0x1617a4++){if(_0x53fafa['isAdded']&&'insertion'==_0x75847c[_0x1617a4]['type'])return _0x53fafa['isAddSuggestion']=_0x75847c[_0x1617a4],void delete _0x53fafa['isAdded'];if(!_0x53fafa['isAdded']&&!_0x53fafa['isRemoved']&&'deletion'==_0x75847c[_0x1617a4]['type'])return void(_0x53fafa['isRemoveSuggestion']=_0x75847c[_0x1617a4]);}}}['_setDistance'](_0x5524af,_0x95223e){let _0x519585=0x0,_0x3977fc=!0x1;const _0x583251=new Map();for(const _0x252c3f of _0x5524af)_0x252c3f[_0x95223e]?_0x3977fc&&(_0x519585++,_0x3977fc=!0x1):(_0x519585++,_0x3977fc=!0x0),_0x583251['set'](_0x252c3f['id'],_0x519585);for(let _0x20b451=0x0;_0x20b451<_0x5524af['length'];_0x20b451++){if('isRemoved'==_0x95223e&&_0x5524af[_0x20b451]['isAdded']||'isAdded'==_0x95223e&&_0x5524af[_0x20b451]['isRemoved'])continue;if('text'==_0x5524af[_0x20b451]['type']){_0x5524af[_0x20b451]['distance']=0x0;continue;}const _0x1fd75a=_0x583251['get'](_0x5524af[_0x20b451]['pairId']),_0x29ed91=_0x583251['get'](_0x5524af[_0x20b451]['id']);_0x5524af[_0x20b451]['distance']=_0x1fd75a-_0x29ed91;}}['_getRevisionsRange'](_0xc74a3e,_0x4cf72e,_0x1ecfa8=!0x1){const _0x134382=[];let _0x36bd78=this['repository']['getIndex'](_0xc74a3e),_0x1e9796=this['repository']['getIndex'](_0x4cf72e);for(-0x1==_0x1e9796&&(_0x1e9796=this['repository']['_revisions']['length'],_0x1ecfa8=!0x1);_0x36bd78<_0x1e9796;)_0x134382['push'](this['repository']['getRevision'](_0x36bd78)),_0x36bd78++;return _0x1ecfa8&&_0x134382['push'](this['repository']['getRevision'](_0x36bd78)),_0x134382;}['_threeWayMerge'](_0x8f74b5,_0x29960b,_0x4dee3e,_0x1b82c8){const _0x141245=this['editor']['model']['schema'];let _0x182cc6=_0x29960b;for(;_0x8f74b5[_0x182cc6]&&_0x8f74b5[_0x182cc6]['isAdded'];)_0x182cc6++;let _0x2fbdf9=_0x1b82c8;for(;_0x4dee3e[_0x2fbdf9]&&_0x4dee3e[_0x2fbdf9]['isRemoved'];)_0x2fbdf9++;_0x1e0f27(_0x8f74b5,_0x29960b,_0x182cc6),_0x1e0f27(_0x4dee3e,_0x1b82c8,_0x2fbdf9);const _0x378d72=_0x4dee3e['slice'](_0x1b82c8,_0x2fbdf9)['concat'](_0x8f74b5['slice'](_0x29960b,_0x182cc6));return _0x378d72['sort']((_0x3cf5a3,_0x197c1b)=>_0x3cf5a3['side']!=_0x197c1b['side']?_0x3cf5a3['side']-_0x197c1b['side']:_0x3cf5a3['level']!=_0x197c1b['level']?_0x3cf5a3['level']-_0x197c1b['level']:_0x3cf5a3['distance']!=_0x197c1b['distance']?_0x197c1b['distance']-_0x3cf5a3['distance']:!!_0x3cf5a3['isAdded']!=!!_0x197c1b['isAdded']?-0x1==_0x3cf5a3['side']||0x0==_0x3cf5a3['side']?_0x3cf5a3['isAdded']?-0x1:0x1:_0x3cf5a3['isAdded']?0x1:-0x1:_0x3cf5a3['index']-_0x197c1b['index']),{'commonTape':_0x378d72,'iEnd':_0x182cc6,'jEnd':_0x2fbdf9};function _0x1e0f27(_0x48480d,_0x25976c,_0x20dd3a){let _0x3e0d29=-0x1,_0x5ce830=Number['POSITIVE_INFINITY'],_0x1b8a4a=!0x0;for(let _0x29b7d7=_0x25976c;_0x29b7d7<_0x20dd3a;_0x29b7d7++)if(_0x141245['isInline'](_0x48480d[_0x29b7d7]['item'])||(_0x1b8a4a=!0x1),_0x48480d[_0x29b7d7]['item']['startIndex']<_0x25976c&&(_0x3e0d29=_0x29b7d7),_0x48480d[_0x29b7d7]['item']['endIndex']>=_0x20dd3a){_0x5ce830=_0x29b7d7;break;}_0x1b8a4a&&(_0x3e0d29=_0x20dd3a-0x1);for(let _0x344cee=_0x25976c;_0x344cee<_0x20dd3a;_0x344cee++)_0x48480d[_0x344cee]['side']=_0x344cee<=_0x3e0d29?-0x1:_0x344cee<_0x5ce830?0x0:0x1,_0x48480d[_0x344cee]['index']=_0x344cee;let _0x296dd2=0x0;for(let _0x2b6e93=_0x25976c;_0x2b6e93<=_0x3e0d29;_0x2b6e93++)0x0==_0x48480d[_0x2b6e93]['distance']?_0x48480d[_0x2b6e93]['level']=_0x296dd2:(_0x296dd2++,_0x48480d[_0x2b6e93]['level']=_0x296dd2,_0x296dd2++);for(let _0x15663d=_0x25976c;_0x15663d<_0x20dd3a;_0x15663d++)0x0==_0x48480d[_0x15663d]['side']&&(_0x48480d[_0x15663d]['level']=_0x296dd2);_0x296dd2=0x0;for(let _0x139931=_0x20dd3a-0x1;_0x139931>=_0x5ce830;_0x139931--)0x0==_0x48480d[_0x139931]['distance']?_0x48480d[_0x139931]['level']=_0x296dd2:(_0x296dd2--,_0x48480d[_0x139931]['level']=_0x296dd2,_0x296dd2--);}}['_fixObsoleteTags'](_0x1d7198){const _0x2b4fe7=new Map(),_0xb037cb=this['editor']['model']['schema'];for(let _0x51c38a=0x1;_0x51c38a<_0x1d7198['length'];_0x51c38a++){let _0x58ad08,_0x37f011,_0x2384ab;const _0x28396b=_0x1d7198[_0x51c38a],_0x42e178=_0x1d7198[_0x51c38a-0x1];if('text'==_0x28396b['type'])continue;if(_0x28396b['type']!=_0x42e178['type'])continue;if(!_0xb037cb['isBlock'](_0x42e178['item'])||_0xb037cb['isLimit'](_0x42e178['item']))continue;if(!_0xb037cb['isBlock'](_0x28396b['item'])||_0xb037cb['isLimit'](_0x28396b['item']))continue;if((_0x1d7198[_0x51c38a]['isAdded']||_0x1d7198[_0x51c38a]['isAddSuggestion'])&&_0x1d7198[_0x51c38a-0x1]['isRemoved'])_0x58ad08=_0x1d7198[_0x51c38a],_0x37f011=_0x1d7198[_0x51c38a-0x1],_0x2384ab=_0x51c38a-0x1;else{if(!_0x1d7198[_0x51c38a]['isRemoved']||!_0x1d7198[_0x51c38a-0x1]['isAdded']&&!_0x1d7198[_0x51c38a-0x1]['isAddSuggestion'])continue;_0x58ad08=_0x1d7198[_0x51c38a-0x1],_0x37f011=_0x1d7198[_0x51c38a],_0x2384ab=_0x51c38a;}const _0x3bed93=_0x58ad08['level']==_0x37f011['level'],_0x2f16c8=Math['abs'](_0x58ad08['level'])<Math['abs'](_0x37f011['level'])&&0x0==_0x37f011['distance'];(_0x3bed93||_0x2f16c8)&&(_0x2b4fe7['set'](_0x37f011['id'],_0x58ad08['id']),_0x1d7198['splice'](_0x2384ab,0x1),_0x51c38a--,_0x58ad08['isAdded']=!0x1);}for(let _0xb40137=0x0;_0xb40137<_0x1d7198['length'];_0xb40137++)_0x2b4fe7['has'](_0x1d7198[_0xb40137]['pairId'])&&(_0x1d7198[_0xb40137]['pairId']=_0x2b4fe7['get'](_0x1d7198[_0xb40137]['pairId']));}['_removeMissingPairs'](_0x422f0b){const _0x271e15=new Set(_0x422f0b['map'](_0x255829=>_0x255829['id']));for(let _0x5d8128=0x0;_0x5d8128<_0x422f0b['length'];_0x5d8128++)_0x271e15['has'](_0x422f0b[_0x5d8128]['pairId'])||0x0==_0x422f0b[_0x5d8128]['distance']||(_0x422f0b[_0x5d8128]['isIncorrect']=!0x0);return _0x422f0b['filter'](_0x19de0a=>!_0x19de0a['isIncorrect']);}['_markMismatchedRemovedTags'](_0x3c758b){const _0xb40d7c=new Set();for(let _0x1d9ab4=0x0;_0x1d9ab4<_0x3c758b['length'];_0x1d9ab4++){if(_0xb40d7c['has'](_0x3c758b[_0x1d9ab4]['id'])&&_0x3c758b[_0x1d9ab4]['isRemoved']&&(_0x3c758b[_0x1d9ab4]['isIncorrect']=!0x0),_0x3c758b[_0x1d9ab4]['isIncorrect'])continue;if(0x0==_0x3c758b[_0x1d9ab4]['distance'])continue;if('elementStart'!=_0x3c758b[_0x1d9ab4]['type'])continue;if(null==_0x3c758b[_0x1d9ab4]['pairId'])continue;let _0x1ecba4=_0x1d9ab4+0x1,_0x5c2541=0x0;for(;_0x3c758b[_0x1ecba4]['id']!=_0x3c758b[_0x1d9ab4]['pairId'];)'elementStart'==_0x3c758b[_0x1ecba4]['type']?_0x5c2541++:'elementEnd'==_0x3c758b[_0x1ecba4]['type']&&_0x5c2541--,_0x1ecba4++;if(0x0!=_0x5c2541){if(_0x3c758b[_0x1d9ab4]['isRemoved'])_0x3c758b[_0x1d9ab4]['isIncorrect']=!0x0;else{for(;_0x1ecba4!=_0x1d9ab4;)_0x3c758b[_0x1ecba4]['isRemoved']&&0x0!=_0x3c758b[_0x1ecba4]['distance']&&(_0x3c758b[_0x1ecba4]['isIncorrect']=!0x0,_0xb40d7c['add'](_0x3c758b[_0x1ecba4]['pairId'])),_0x1ecba4--;}}}return _0x3c758b['filter'](_0x554b35=>!_0x554b35['isIncorrect']);}['_removeUnsupportedChanges'](_0x89f025){const _0x466534=this['editor']['model']['schema'];for(let _0x42e46e=0x0;_0x42e46e<_0x89f025['length'];_0x42e46e++){if(!(_0x89f025[_0x42e46e]['isAdded']||_0x89f025[_0x42e46e]['isAddSuggestion']||_0x89f025[_0x42e46e]['isRemoved']||_0x89f025[_0x42e46e]['isRemoveSuggestion']))continue;if(0x0==_0x89f025[_0x42e46e]['distance'])continue;const _0x10a837=_0x89f025[_0x42e46e]['item'];_0x466534['isBlock'](_0x10a837)||_0x466534['isLimit'](_0x10a837)||(_0x89f025[_0x42e46e]['isAdded']&&delete _0x89f025[_0x42e46e]['isAdded'],_0x89f025[_0x42e46e]['isAddSuggestion']&&delete _0x89f025[_0x42e46e]['isAddSuggestion'],_0x89f025[_0x42e46e]['isRemoveSuggestion']&&delete _0x89f025[_0x42e46e]['isRemoveSuggestion'],_0x89f025[_0x42e46e]['isRemoved']&&(_0x89f025[_0x42e46e]['isIncorrect']=!0x0));}return _0x89f025['filter'](_0x1f5f45=>!_0x1f5f45['isIncorrect']);}['_makeModelFromTape'](_0x3e7bca,_0x568fe,_0x275209){const _0x402a93=new wt(),_0x39b316=[],_0x5169d7=new Map(),_0x24b135=this['editor']['model'],_0x3dd3fd=_0x24b135['schema'],_0x54ec95=[_0x402a93],_0x568a34={},_0x327685={'isAdded':[],'isRemoved':[],'isAddSuggestion':[],'isRemoveSuggestion':[]};let _0x344459=null;const _0x5cc9e5=[0x0];for(let _0x5d7887=0x0;_0x5d7887<_0x3e7bca['length'];_0x5d7887++){let _0x35de7b,_0x24359e;if('elementStart'===_0x3e7bca[_0x5d7887]['type']){_0x35de7b=_0x24b135['createPositionFromPath'](_0x402a93,_0x5cc9e5);const _0xbad737=new ft(_0x3e7bca[_0x5d7887]['item']['name'],_0x3e7bca[_0x5d7887]['item']['getAttributes']());_0x54ec95[0x0]['_appendChild'](_0xbad737),_0x5cc9e5['push'](0x0),_0x54ec95['unshift'](_0xbad737),_0x24359e=_0x24b135['createPositionFromPath'](_0x402a93,_0x5cc9e5),_0x344459=null;}else{if('elementEnd'===_0x3e7bca[_0x5d7887]['type'])_0x54ec95['shift'](),_0x35de7b=_0x24b135['createPositionFromPath'](_0x402a93,_0x5cc9e5),_0x5cc9e5['pop'](),_0x5cc9e5[_0x5cc9e5['length']-0x1]++,_0x24359e=_0x24b135['createPositionFromPath'](_0x402a93,_0x5cc9e5),_0x344459=null;else{if(_0x35de7b=_0x24b135['createPositionFromPath'](_0x402a93,_0x5cc9e5),_0x344459&&_0x2711e1(_0x344459,_0x3e7bca[_0x5d7887]['item']))_0x344459['_data']+=_0x3e7bca[_0x5d7887]['item']['data'];else{const _0x2683ac=new _t(_0x3e7bca[_0x5d7887]['item']['data'],_0x3e7bca[_0x5d7887]['item']['getAttributes']());_0x54ec95[0x0]['_appendChild'](_0x2683ac),_0x344459=_0x2683ac;}_0x5cc9e5[_0x5cc9e5['length']-0x1]+=_0x3e7bca[_0x5d7887]['item']['offsetSize'],_0x24359e=_0x24b135['createPositionFromPath'](_0x402a93,_0x5cc9e5);}}for(const _0x39be20 of _0x3e7bca[_0x5d7887]['markersStart'])_0x5169d7['set'](_0x39be20,{'start':_0x35de7b,'end':null});_0x5a57ec('isRemoveSuggestion',_0x5d7887,_0x35de7b,_0x24359e),_0x5a57ec('isAddSuggestion',_0x5d7887,_0x35de7b,_0x24359e),_0x5a57ec('isRemoved',_0x5d7887,_0x35de7b,_0x24359e),_0x5a57ec('isAdded',_0x5d7887,_0x35de7b,_0x24359e);for(const _0xbd8da1 of _0x3e7bca[_0x5d7887]['markersEnd']){_0x5169d7['get'](_0xbd8da1)['end']=_0x24359e;}}for(const [_0x294ac0,_0x367371]of _0x5169d7){const _0x23ac10=this['editor']['model']['createRange'](_0x367371['start'],_0x367371['end']);_0x402a93['markers']['set'](_0x294ac0,_0x23ac10);}return _0x39b316['sort']((_0x1320bd,_0x252b0a)=>{const _0x50a573=_0x402a93['markers']['get']('revision:'+_0x1320bd['id']),_0x15686d=_0x402a93['markers']['get']('revision:'+_0x252b0a['id']);return _0x50a573['start']['isBefore'](_0x15686d['start'])?-0x1:_0x50a573['start']['isAfter'](_0x15686d['start'])?0x1:_0x50a573['end']['isBefore'](_0x15686d['end'])?-0x1:_0x50a573['end']['isAfter'](_0x15686d['end'])?0x1:'add'===_0x1320bd['type']?-0x1:0x1;}),{'root':_0x402a93,'changes':_0x39b316};function _0x5a57ec(_0x54b9da,_0x216df0,_0x9773db,_0x38fa0d){const _0x389cfc=!!_0x3e7bca[_0x216df0][_0x54b9da],_0x2e6be2=_0x389cfc?_0x3e7bca[_0x216df0][_0x54b9da]['userId']:null,_0x367947=_0x216df0===_0x3e7bca['length']-0x1,_0x10ee73=_0x327685[_0x54b9da][0x0],_0x5bbf9f=_0x3dd3fd['isObject'](_0x3e7bca[_0x216df0]['item']);!_0x568a34[_0x54b9da]&&_0x389cfc?_0x568a34[_0x54b9da]={'start':_0x9773db,'tapeItem':_0x3e7bca[_0x216df0],'userId':_0x2e6be2,'type':_0x54b9da}:_0x568a34[_0x54b9da]&&!_0x389cfc?(_0x568a34[_0x54b9da]['end']=_0x9773db,_0x6e5859(_0x568a34[_0x54b9da]),_0x568a34[_0x54b9da]=null):_0x568a34[_0x54b9da]&&_0x389cfc&&_0x568a34[_0x54b9da]['userId']!==_0x2e6be2&&(_0x568a34[_0x54b9da]['end']=_0x9773db,_0x10ee73&&_0x10ee73['userId']===_0x568a34[_0x54b9da]['userId']||_0x6e5859(_0x568a34[_0x54b9da]),_0x568a34[_0x54b9da]={'start':_0x9773db,'tapeItem':_0x3e7bca[_0x216df0],'userId':_0x2e6be2,'type':_0x54b9da}),_0x568a34[_0x54b9da]&&_0x5bbf9f&&('elementStart'!==_0x3e7bca[_0x216df0]['type']||_0x10ee73&&_0x10ee73['userId']===_0x2e6be2||_0x327685[_0x54b9da]['unshift']({'userId':_0x2e6be2,'object':_0x3e7bca[_0x216df0]['item'],'change':_0x568a34[_0x54b9da]}),'elementEnd'===_0x3e7bca[_0x216df0]['type']&&_0x10ee73&&_0x10ee73['object']===_0x3e7bca[_0x216df0]['item']&&(_0x327685[_0x54b9da]['shift'](),_0x568a34[_0x54b9da]=_0x10ee73['change'])),_0x568a34[_0x54b9da]&&_0x367947&&(_0x568a34[_0x54b9da]['end']=_0x38fa0d,_0x6e5859(_0x568a34[_0x54b9da]),_0x568a34[_0x54b9da]=null);}function _0x6e5859({start:_0x1875f5,end:_0x54e16c,tapeItem:_0x4facf3,userId:_0x555a04,type:_0x22eeac}){const _0x50a128=_0x4facf3['item'],_0x1fd1db=_0x24b135['schema']['isBlock'](_0x50a128)&&!_0x24b135['schema']['isLimit'](_0x50a128),_0x273bcd=_0x1875f5['nodeAfter']==_0x54e16c['parent']&&_0x54e16c['isAtStart'];if(_0x1fd1db&&_0x273bcd)return;const _0x18e2b6=_0x24b135['createRange'](_0x1875f5,_0x54e16c),_0x41ae73=_0x568fe['get'](_0x555a04),_0x45b821=new r({'author':_0x41ae73,'type':'isAdded'==_0x22eeac||'isAddSuggestion'==_0x22eeac?'add':'remove','data':{'isSuggestion':'isAddSuggestion'==_0x22eeac||'isRemoveSuggestion'==_0x22eeac},'createdAt':new Date(),'rootName':_0x275209});_0x39b316['push'](_0x45b821),_0x402a93['markers']['set']('revision:'+_0x45b821['id'],_0x18e2b6);}function _0x2711e1(_0x2308cf,_0x344f4a){const _0x13f62d=_0x2308cf['getAttributes'](),_0x588b0c=_0x344f4a['getAttributes']();for(const _0xd09e71 of _0x13f62d){if(_0xd09e71[0x1]!==_0x344f4a['getAttribute'](_0xd09e71[0x0]))return!0x1;_0x588b0c['next']();}return _0x588b0c['next']()['done'];}}['_setConversion'](){this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'revision'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision','view':_0x3bac01=>{const _0x1a96eb=_0x3bac01['markerName']['split'](':')[0x1],_0x477bdf=this['_getChangeFromId'](_0x1a96eb);if(!_0x477bdf)return null;const _0x5369f2='add'==_0x477bdf['type']?'insertion':'deletion',_0x101e2a=['ck-suggestion-marker','ck-suggestion-marker-'+_0x5369f2];return _0x477bdf['data']['isSuggestion']&&_0x101e2a['push']('ck-suggestion-marker-'+_0x5369f2+'-new'),this['activeChange']==_0x477bdf&&_0x101e2a['push']('ck-suggestion-marker--active'),{'classes':_0x101e2a,'attributes':{'data-change-id':_0x1a96eb}};}}),this['editor']['conversion']['for']('upcast')['add'](_0x414a1c=>{_0x414a1c['on']('element:pre',(_0x596d53,_0x31fb18,_0x299b00)=>{const _0x26c9cc=_0x31fb18['viewItem']['getChild'](0x0);if(!_0x26c9cc||!_0x26c9cc['is']('element','code'))return;if(!_0x299b00['consumable']['consume'](_0x26c9cc,{'attributes':['vid_start','vid_end']}))return;const _0x4f0f51=_0x31fb18['modelRange']['start']['nodeAfter'];_0x299b00['writer']['setAttribute']('vid_start',_0x26c9cc['getAttribute']('vid_start'),_0x4f0f51),_0x299b00['writer']['setAttribute']('vid_end',_0x26c9cc['getAttribute']('vid_end'),_0x4f0f51);},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['add'](_0x54c139=>{_0x54c139['on']('element',(_0x255789,_0x3aa329,_0x471e95)=>{if(!_0x471e95['consumable']['consume'](_0x3aa329['viewItem'],{'attributes':['vid_start','vid_end']}))return;if(_0x3aa329['modelRange']['isCollapsed'])return;const _0x32c629=_0x3aa329['modelRange']['start']['nodeAfter'];_0x32c629['hasAttribute']('vid_start')||_0x32c629['hasAttribute']('vid')||(_0x471e95['writer']['setAttribute']('vid_start',_0x3aa329['viewItem']['getAttribute']('vid_start'),_0x32c629),_0x471e95['writer']['setAttribute']('vid_end',_0x3aa329['viewItem']['getAttribute']('vid_end'),_0x32c629));},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['elementToAttribute']({'view':{'name':'span','attributes':{'vid':!0x0}},'model':{'key':'vid','value':_0x2dc718=>_0x2dc718['getAttribute']('vid')}}),this['editor']['model']['schema']['on']('checkAttribute',(_0x1f4116,[,_0x4df2c7])=>{['vid_start','vid_end','vid']['includes'](_0x4df2c7)&&(_0x1f4116['return']=!0x0,_0x1f4116['stop']());},{'priority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['add'](_0x10091c=>{_0x10091c['on']('attribute:vid',(_0x557ed4,_0x5e9f3a,_0xc8298c)=>{if('\x20'!=_0x5e9f3a['item']['data']||_0x5e9f3a['item']['parent']['maxOffset']>0x1)return;if(!_0xc8298c['consumable']['consume'](_0x5e9f3a['item'],_0x557ed4['name']))return;const _0x2111a9=_0xc8298c['writer'],_0x1d68d3=_0xc8298c['mapper']['toViewRange'](_0x5e9f3a['range']);_0x2111a9['wrap'](_0x1d68d3,_0x2111a9['createAttributeElement']('span'));});}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',function(_0x380050){const _0x4eff1f=_0x380050['plugins']['get']('RevisionViewer');return(_0x1923e6,_0x495d7a,_0x4c3276)=>{const _0x19b77e=_0x495d7a['markerName']['split'](':')[0x1],_0x232d9f=_0x4eff1f['_getChangeFromId'](_0x19b77e);if(!_0x232d9f)return null;const _0x3394d5='add'==_0x232d9f['type']?'split':'merge';if(!_0x4c3276['consumable']['test'](_0x495d7a['markerRange'],_0x1923e6['name']))return;const _0x3fcc26=_0x495d7a['markerRange']['getWalker'](),_0x11aa21=_0x495d7a['markerRange']['start'],_0xe317b6=_0x380050['model']['schema'];let _0x32877f=null,_0x4f8429=null,_0x559cf1=!0x1,_0x813a22=!0x1;for(const _0x1d53fb of _0x3fcc26){const _0x3d1c9a=_0x1d53fb['item'];_0x559cf1=_0x559cf1||_0xe317b6['isContent'](_0x3d1c9a);const _0x5b9ddd=_0x4c3276['mapper']['toViewElement'](_0x3d1c9a);if(_0x5b9ddd&&_0x5b9ddd['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x1d53fb['type']&&(_0xe317b6['isBlock'](_0x3d1c9a)&&!_0xe317b6['isLimit'](_0x3d1c9a)&&(_0x3d1c9a['nextSibling']||_0x11aa21['isAtEnd']?_0x32877f&&_0x32877f['parent']==_0x3d1c9a||(_0x32877f=_0x3d1c9a,_0x1a2b86(_0x1d53fb['previousPosition']),_0x813a22=!0x0):_0x4f8429=_0x4f8429||_0x1d53fb['previousPosition']));}function _0x1a2b86(_0xa2d4ab){const _0x3c023c=_0x4c3276['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x3394d5}),_0x23f2cd=_0x4c3276['mapper']['toViewPosition'](_0xa2d4ab);_0x232d9f['data']['isSuggestion']&&_0x4c3276['writer']['addClass']('ck-suggestion-marker-'+_0x3394d5+'-new',_0x3c023c),_0x4eff1f['activeChange']==_0x232d9f&&_0x4c3276['writer']['addClass']('ck-suggestion-marker--active',_0x3c023c),_0x4c3276['writer']['insert'](_0x23f2cd,_0x3c023c),_0x4c3276['mapper']['bindElementToMarker'](_0x3c023c,_0x495d7a['markerName']);}_0x559cf1||_0x813a22||!_0x4f8429||_0x1a2b86(_0x4f8429);};}(this['editor']),{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('removeMarker:revision',(_0x544dcf,_0x5177a7,_0x5b2f42)=>{const _0x2324f8=_0x5b2f42['mapper']['markerNameToElements'](_0x5177a7['markerName']);if(_0x2324f8){for(const _0x4d6d1f of _0x2324f8)(_0x4d6d1f['hasClass']('ck-suggestion-marker-split')||_0x4d6d1f['hasClass']('ck-suggestion-marker-merge'))&&(_0x5b2f42['mapper']['unbindElementFromMarkerName'](_0x4d6d1f,_0x5177a7['markerName']),_0x5b2f42['writer']['remove'](_0x4d6d1f));}},{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',(_0x35534e,_0xd6542d,_0x2ef5b2)=>{const _0xdf5db1=_0xd6542d['markerName']['split'](':')[0x1],_0x1a91bf=this['_getChangeFromId'](_0xdf5db1);if(!_0x1a91bf)return null;const _0x49690a='add'==_0x1a91bf['type']?'split':'merge';if(_0x2ef5b2['consumable']['test'](_0xd6542d['markerRange'],_0x35534e['name']))for(const _0x30a81a of _0xd6542d['markerRange']['getItems']()){if(!_0x30a81a['is']('element','softBreak'))continue;const _0x1a6f19=_0x2ef5b2['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x49690a}),_0x3013db=_0x2ef5b2['mapper']['toViewPosition'](this['editor']['model']['createPositionBefore'](_0x30a81a));_0x1a91bf['data']['isSuggestion']&&_0x2ef5b2['writer']['addClass']('ck-suggestion-marker-'+_0x49690a+'-new',_0x1a6f19),this['activeChange']==_0x1a91bf&&_0x2ef5b2['writer']['addClass']('ck-suggestion-marker--active',_0x1a6f19),_0x2ef5b2['writer']['insert'](_0x3013db,_0x1a6f19),_0x2ef5b2['mapper']['bindElementToMarker'](_0x1a6f19,_0xd6542d['markerName']);}},{'priority':'high'}),this['editor']['model']['document']['on']('change',()=>{this['editor']['editing']['view']['change'](_0x4fcef8=>{for(const _0x29cc77 of this['editor']['model']['document']['getRootNames']()){const _0x46bf92=this['editor']['model']['document']['getRoot'](_0x29cc77),_0x9f8191=this['editor']['editing']['view']['document']['getRoot'](_0x29cc77);if(_0x9f8191){const _0x59febc=_0x46bf92['getAttribute']('revisionHistoryAttachChange');if(_0x4fcef8['removeAttribute']('data-change-id',_0x9f8191),_0x4fcef8['removeClass']('ck-revision-history-root-add',_0x9f8191),_0x4fcef8['removeClass']('ck-revision-history-root-remove',_0x9f8191),_0x4fcef8['removeClass']('ck-revision-history-root--active',_0x9f8191),_0x59febc){const _0xa49f1=this['_getChangeFromId'](_0x59febc);if(!_0xa49f1)return null;_0x4fcef8['setAttribute']('data-change-id',_0x59febc,_0x9f8191),_0x4fcef8['addClass']('ck-revision-history-root-'+_0xa49f1['type'],_0x9f8191),this['activeChange']==_0xa49f1&&_0x4fcef8['addClass']('ck-revision-history-root--active',_0x9f8191);}}}});}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'comment','model':_0x14f5df=>'revision-comment:'+_0x14f5df,'converterPriority':'highest'}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'suggestion','model':_0x5013a6=>'revision-suggestion:'+_0x5013a6,'converterPriority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision-suggestion','view':_0x3db0ef=>({'name':'suggestion:'+_0x3db0ef,'group':'revision-suggestion'}),'converterPriority':'highest'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision-suggestion','view':_0x413858=>{const _0x27c956=_0x413858['markerName']['split'](':')[0x1];return'insertion'!=_0x27c956&&'deletion'!=_0x27c956?null:{'classes':['ck-suggestion-preview-marker','ck-suggestion-preview-marker-'+_0x27c956]};}}),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',(_0x4d3c16,_0x1edd93,_0x1426b9)=>{const _0x5c66bd=_0x1426b9['mapper']['markerNameToElements'](_0x1edd93['markerName']);if(_0x5c66bd){for(const _0x2346b7 of _0x5c66bd)_0x2346b7['is']('uiElement')&&(_0x1426b9['mapper']['unbindElementFromMarkerName'](_0x2346b7,_0x1edd93['markerName']),_0x1426b9['writer']['remove'](_0x2346b7));}},{'priority':'high'});}['_getChangeFromId'](_0x5b772c){return this['_changeIdToChange']['get'](_0x5b772c);}['_getViewForChange'](_0x1a57dc){return this['_changeView']&&this['_changeView']['destroy'](),this['_changeView']=new Z(this['editor']['locale'],_0x1a57dc),this['_changeView'];}['_initInteractions'](){this['editor']['model']['document']['selection']['observeMarkers']('revision'),this['on']('change:activeView',(_0x4ff61e,_0x4334cf,_0x337cd2,_0x13ac59)=>{_0x13ac59&&this['_balloon']['remove'](_0x13ac59),_0x337cd2&&(this['_balloon']['add']({'view':_0x337cd2,'stackId':'revisionHistoryLabel','position':{'target':()=>{const _0x2759ff=this['editor']['editing'],_0x294554=this['_getChangeFromId'](_0x337cd2['changeId']);let _0x5df58c;if(_0x294554['data']['isOnRoot']){const _0x2d2802=_0x2759ff['view']['getDomRoot'](_0x294554['rootName']);_0x5df58c=Array['from'](_0x2d2802['getClientRects']());}else{const _0xc095d3=this['editor']['model']['markers']['get']('revision:'+_0x337cd2['changeId']);_0x5df58c=Array['from'](_0x2759ff['mapper']['markerNameToElements'](_0xc095d3['name']))['map'](_0xc5c1d4=>_0x2759ff['view']['domConverter']['mapViewToDom'](_0xc5c1d4))['map'](_0x39f631=>Array['from'](_0x39f631['getClientRects']()))['flat']();}if(!this['_activeViewTarget'])return _0x5df58c[0x0];return _0x5df58c['find'](_0x2603d0=>_0x2603d0['top']-0x3<=this['_activeViewTarget']['y']&&_0x2603d0['bottom']+0x3>=this['_activeViewTarget']['y']&&_0x2603d0['left']-0x3<=this['_activeViewTarget']['x']&&_0x2603d0['right']+0x3>=this['_activeViewTarget']['x'])||_0x5df58c[0x0];}}}),this['_balloon']['showStack']('revisionHistoryLabel'));}),this['on']('change:activeChange',(_0x1ea648,_0x380927,_0x20de19,_0x2fec61)=>{this['activeView']=_0x20de19?this['_getViewForChange'](_0x20de19):null,this['editor']['model']['change'](()=>{const _0x408d0e=this['editor']['editing'];_0x2fec61&&(_0x2fec61['data']['isOnRoot']?_0x408d0e['view']['change'](_0x44d490=>{_0x44d490['removeClass']('ck-revision-history-root--active',_0x408d0e['view']['document']['getRoot'](_0x2fec61['rootName']));}):_0x408d0e['reconvertMarker']('revision:'+_0x2fec61['id'])),_0x20de19&&(_0x20de19['data']['isOnRoot']?_0x408d0e['view']['change'](_0x2f4df4=>{_0x2f4df4['addClass']('ck-revision-history-root--active',_0x408d0e['view']['document']['getRoot'](_0x20de19['rootName']));}):_0x408d0e['reconvertMarker']('revision:'+_0x20de19['id']));});}),this['listenTo'](this['editor']['editing']['view']['document'],'mouseover',(_0x3dccc5,_0x1bb2e0)=>{if(this['activeChange'])return;const _0x4df38c=this['_findChangeIdFromDomTarget'](_0x1bb2e0['target']),_0x54ff88=this['_changeIdToChange']['get'](_0x4df38c);_0x54ff88?(this['_activeViewTarget']={'x':_0x1bb2e0['domEvent']['x'],'y':_0x1bb2e0['domEvent']['y']},this['activeView']=this['_getViewForChange'](_0x54ff88)):(this['_activeViewTarget']=null,this['activeView']=null);}),this['listenTo'](this['editor']['editing']['view']['document'],'mousedown',(_0x8069fc,_0x2d31a7)=>{const _0x2027e0=this['_findChangeIdFromDomTarget'](_0x2d31a7['target']),_0x3e6a93=this['_changeIdToChange']['get'](_0x2027e0);_0x3e6a93?(this['_activeViewTarget']={'x':_0x2d31a7['domEvent']['x'],'y':_0x2d31a7['domEvent']['y']},_0x3e6a93===this['activeChange']?this['_balloon']['updatePosition']():this['activeChange']=_0x3e6a93):(this['_activeViewTarget']=null,this['activeChange']=null);});}['_findChangeIdFromDomTarget'](_0x5df638){do{const _0x38e29c=_0x5df638['getAttribute']('data-change-id');if(_0x38e29c)return _0x38e29c;_0x5df638=_0x5df638['parent'];}while(_0x5df638);return null;}['_cleanMarkers'](){this['editor']['model']['change'](_0x2cde2f=>{for(const _0x2974b8 of this['editor']['model']['markers'])_0x2cde2f['removeMarker'](_0x2974b8);});}}function et(_0x498cfa,_0x67df54){return(_0x28fa37,_0x595c59,_0x377b45)=>{if(!_0x377b45['consumable']['test'](_0x595c59['markerRange'],_0x28fa37['name']))return;const _0x43f66b=_0x595c59['markerRange']['getWalker'](),_0x5bd061=_0x595c59['markerRange']['start'],_0x2f4757=_0x498cfa['model']['schema'];let _0x1ff337=null,_0x245f96=null,_0x229e2c=!0x1,_0x2773c2=!0x1;for(const _0x538211 of _0x43f66b){const _0x27ca1c=_0x538211['item'];_0x229e2c=_0x229e2c||_0x2f4757['isContent'](_0x27ca1c);const _0x19f94c=_0x377b45['mapper']['toViewElement'](_0x27ca1c);if(_0x19f94c&&_0x19f94c['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x538211['type']&&(_0x2f4757['isBlock'](_0x27ca1c)&&!_0x2f4757['isLimit'](_0x27ca1c)&&(_0x27ca1c['nextSibling']||_0x5bd061['isAtEnd']?_0x1ff337&&_0x1ff337['parent']==_0x27ca1c||(_0x1ff337=_0x27ca1c,_0x2b5334(_0x538211['previousPosition']),_0x2773c2=!0x0):_0x245f96=_0x245f96||_0x538211['previousPosition']));}function _0x2b5334(_0x284f9a){const _0x4164d7=_0x377b45['mapper']['toViewPosition'](_0x284f9a),_0x52b3cd=_0x377b45['writer']['createUIElement']('span',{'class':'ck-suggestion-preview-marker-'+_0x67df54});_0x377b45['writer']['insert'](_0x4164d7,_0x52b3cd),_0x377b45['mapper']['bindElementToMarker'](_0x52b3cd,_0x595c59['markerName']);}_0x229e2c||_0x2773c2||!_0x245f96||_0x2b5334(_0x245f96);};}class bt extends _0x16bbd7{constructor(_0xd78980){super(_0xd78980);const _0x87a90f=_0xd78980['plugins']['get'](d);this['affectsData']=!0x1,this['listenTo'](_0x87a90f,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x87a90f,'change:isEnabled',()=>this['refresh']());}['execute'](){const _0x310068=this['editor'],_0x50f8af=_0x310068['plugins']['get'](d),_0x325b16=_0x50f8af['isReady']?_0x50f8af['diff']['newRevisionId']:null;_0x310068['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x325b16);}['refresh'](){const {isReady:_0x5a3404,isEnabled:_0x52d905}=this['editor']['plugins']['get'](d);this['isEnabled']=_0x5a3404&&_0x52d905;}}class yt extends _0x16bbd7{['_step'];constructor(_0x366e55,{direction:_0x38e6fd}){super(_0x366e55);const _0x2a60cb=_0x366e55['plugins']['get'](d);this['affectsData']=!0x1,this['_step']='forward'===_0x38e6fd?0x1:-0x1,this['listenTo'](_0x2a60cb,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x2a60cb,'change:isEnabled',()=>this['refresh']()),this['listenTo'](_0x2a60cb,'change:activeChange',()=>this['refresh']());}['execute'](){const _0x2cafb2=this['editor'],_0x5442b4=_0x2cafb2['plugins']['get'](d),{isNavigationMode:_0x48785e,currentChangeNumber:_0x143dc2}=_0x5442b4;let _0x5962df;if(_0x5442b4['activeChange']=_0x48785e?_0x5442b4['diff']['changes']['get'](_0x143dc2+this['_step']):_0x5442b4['diff']['changes']['first'],_0x5442b4['activeChange']['data']['isOnRoot'])_0x5962df=_0x2cafb2['editing']['view']['getDomRoot'](_0x5442b4['activeChange']['rootName']);else{const _0x2b8199=_0x2cafb2['model']['markers']['get']('revision:'+_0x5442b4['activeChange']['id']);_0x5962df=_0x545bb6(_0x2cafb2['editing'],_0x2b8199);}_0x410388({'target':_0x5962df,'viewportOffset':0x28});}['refresh'](){const {isNavigationMode:_0x506db6,currentChangeNumber:_0x56b10a,numberOfChanges:_0x19bbca,isReady:_0x35cb47,isEnabled:_0x1c7ca0}=this['editor']['plugins']['get'](d);this['isEnabled']=!!(_0x1c7ca0&&_0x35cb47&&_0x19bbca)&&(!_0x506db6||(0x1===this['_step']?_0x56b10a<_0x19bbca-0x1:_0x56b10a>0x0));}}class _i extends _0x47aea3{constructor(_0x334e8c){super(_0x334e8c);const _0x162c91=this['bindTemplate'],_0x4d115c=new _0x29ed67(_0x334e8c),_0x59697a=new _0x29ed67(_0x334e8c);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',(_0x3a966d,_0x5639b7)=>_0x3a966d&&_0x5639b7>0x0),this['bind']('_statusText')['to'](this,'isReady',this,'currentChangeNumber',this,'numberOfChanges',this,'isNavigationMode',(_0x25a28f,_0x4029fb,_0xef0be8,_0x4ee30d)=>{if(!_0x25a28f)return y(_0x334e8c,'Loading...');if(!_0xef0be8)return y(_0x334e8c,'No\x20changes');const _0x93a304=y(_0x334e8c,'NUMBER_OF_CHANGES',_0xef0be8);return _0x4ee30d?y(_0x334e8c,'X_OF_Y_CHANGES',[_0x4029fb+0x1,_0xef0be8]):_0x93a304;}),_0x4d115c['set']({'label':y(_0x334e8c,'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'}),_0x59697a['set']({'label':y(_0x334e8c,'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'}),_0x4d115c['bind']('isEnabled')['to'](this,'isBackwardNavigationEnabled'),_0x59697a['bind']('isEnabled')['to'](this,'isForwardNavigationEnabled'),_0x4d115c['on']('execute',()=>this['fire']('execute','backward')),_0x59697a['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',_0x162c91['if']('_isStatusLabelVisible','ck-hidden',_0x33e23e=>!_0x33e23e)]},'children':[{'text':_0x162c91['to']('isNavigationMode',_0x29b97e=>_0x29b97e?y(_0x334e8c,'EDIT_X_OF_Y_REVISIONS')+':\x20':y(_0x334e8c,'Total')+':\x20')}]},{'text':_0x162c91['to']('_statusText')}]},new _0x3ebe4e(),{'tag':'div','attributes':{'class':['ck-revision-history-ui__changes-navigation__navigation']},'children':[_0x4d115c,_0x59697a]}]});}}const ce='ck-editor__editable__loading-overlay';class de extends _0x508c8f{static get['pluginName'](){return'RevisionViewerLoadingOverlay';}['show'](){const _0x335189=this['editor']['editing']['view'];_0x335189['change'](_0x4aee8a=>{for(const _0x40c2e1 of _0x335189['document']['roots'])_0x4aee8a['addClass'](ce,_0x40c2e1);});}['hide'](){const _0x29321d=this['editor']['editing']['view'];_0x29321d['change'](_0x1ecea7=>{for(const _0x560f48 of _0x29321d['document']['roots'])_0x1ecea7['removeClass'](ce,_0x560f48);});}}class R extends _0x508c8f{static get['pluginName'](){return'RevisionViewerUI';}static get['requires'](){return[d,de];}['init'](){const _0x4e0d22=this['editor'],_0x22974f=_0x4e0d22['plugins']['get'](d),_0x5a8c27=_0x4e0d22['plugins']['get'](de);_0x4e0d22['ui']['componentFactory']['add']('exitToEditing',_0x47fa93=>{const _0x580dc3=new _0x29ed67(_0x47fa93);return _0x580dc3['set']({'label':y(_0x47fa93,'Back\x20to\x20editing'),'icon':_0x21c271['undo'],'withText':!0x0,'tooltip':!0x0,'class':'ck-revision-history-ui__back-to-editing'}),this['listenTo'](_0x580dc3,'execute',()=>{_0x4e0d22['config']['get']('revisionHistory')['closeRevisionViewerCallback']();}),_0x580dc3;}),_0x4e0d22['ui']['componentFactory']['add']('restoreRevision',_0xc670d=>{const _0x5da6e0=new _0x29ed67(_0xc670d);return _0x5da6e0['set']({'label':y(_0xc670d,'Restore\x20this\x20revision'),'withText':!0x0,'tooltip':!0x0}),_0x5da6e0['bind']('isEnabled')['to'](_0x4e0d22['commands']['get']('restoreRevision')),this['listenTo'](_0x5da6e0,'execute',()=>_0x4e0d22['execute']('restoreRevision')),_0x5da6e0;}),_0x4e0d22['ui']['componentFactory']['add']('changesNavigation',_0x51095e=>{const _0x3d7eef=new _i(_0x51095e),_0x2b1651=_0x4e0d22['commands']['get']('showPreviousChange'),_0x2ad001=_0x4e0d22['commands']['get']('showNextChange');return _0x3d7eef['bind']('isBackwardNavigationEnabled')['to'](_0x2b1651,'isEnabled'),_0x3d7eef['bind']('isForwardNavigationEnabled')['to'](_0x2ad001,'isEnabled'),_0x3d7eef['bind']('isReady','currentChangeNumber','numberOfChanges','isNavigationMode')['to'](_0x22974f),this['listenTo'](_0x3d7eef,'execute',(_0x3db093,_0x4c1ef5)=>{_0x4e0d22['execute']('forward'===_0x4c1ef5?'showNextChange':'showPreviousChange');}),_0x3d7eef;}),_0x5a8c27['show'](),_0x22974f['on']('change:isReady',(_0xbcb099,_0xb97197,_0x378c5e)=>{_0x378c5e?_0x5a8c27['hide']():_0x5a8c27['show']();});}}class kt extends at{['_resizeObserver']=null;constructor(_0x37bcc7,_0x158e0d){super(_0x37bcc7,_0x158e0d);const _0x29ede=this['bindTemplate'];this['set']({'label':y(_0x37bcc7,'Revision\x20name'),'_tooltipString':''}),this['fieldView']['placeholder']=y(_0x37bcc7,'Enter\x20the\x20revision\x20name'),this['extendTemplate']({'tag':'span','attributes':{'class':['ck-revision-history-sidebar__revision-name'],'data-cke-tooltip-text':_0x29ede['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 _0x1319f3=this['fieldView']['element'];this['_tooltipString']=_0x1319f3['scrollWidth']>_0x1319f3['clientWidth']&&_0x1319f3['value']||'';}}class ti extends _0x47aea3{constructor(_0x4e8ca3,_0x58d6a6,_0x540f25){super(_0x4e8ca3);const _0x4b08d8=new _0x3bc2cb();_0x4b08d8['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 _0x418efb=['ck','ck-revision-history-sidebar__revision-author'];_0x540f25&&_0x418efb['push']('ck-revision-history-sidebar__revision-author_creator');const _0x9781b0=[{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__revision-author__name'],'title':y(_0x4e8ca3,_0x540f25?'Revision\x20creator':'Revision\x20author')},'children':[_0x4b08d8,_0x58d6a6['name']]}];this['setTemplate']({'tag':'li','attributes':{'class':_0x418efb},'children':_0x9781b0});}}function ni(_0x4db8d6,_0x2b78d9){const _0x1216b8=_0x4db8d6['bindTemplate'],_0x1ae398=_0x4db8d6['locale'],_0x59bf8c=_0x1c4f3f(_0x1ae398);_0x59bf8c['panelPosition']='sw';const _0x590ead=function(_0x558f77,_0x4c016f){const _0x5a263c=function(_0x1c1265,_0xf0fd6e){const _0x516b73=_0x1c1265['locale'],_0x48e21b={'Compare\x20against\x20selected':y(_0x516b73,'Compare\x20against\x20selected'),'Name\x20this\x20revision':y(_0x516b73,'Name\x20this\x20revision'),'Restore\x20this\x20revision':y(_0x516b73,'Restore\x20this\x20revision')};return _0xf0fd6e['map'](_0x6c2b8b=>{const _0x3fd170=_0x48e21b[_0x6c2b8b['name']];return _0x3fd170&&_0x3fd170!==_0x6c2b8b['name']&&(_0x6c2b8b['name']=_0x3fd170),_0x6c2b8b;});}(_0x558f77,_0x4c016f),_0x1e5ab4=new _0x3f7d5c();for(const _0x322945 of _0x5a263c){const _0x4490c9={'type':'button','model':new to({'label':_0x322945['name'],'class':_0x322945['class'],'withText':!0x0,'role':'menuitem','_action':_0x322945['action']})};_0x4490c9['model']['bind']('isEnabled')['to'](_0x558f77,'isActionsDropdownOpen',_0x46cce0=>'function'!=typeof _0x322945['isEnabled']||(!_0x46cce0||_0x322945['isEnabled'](_0x558f77))),_0x1e5ab4['add'](_0x4490c9);}return _0x1e5ab4;}(_0x4db8d6,_0x2b78d9);return _0x4db8d6['bind']('isActionsDropdownOpen')['to'](_0x59bf8c,'isOpen'),_0x59bf8c['buttonView']['set']({'label':y(_0x1ae398,'Show\x20more\x20items'),'tooltip':!0x0,'tooltipPosition':'sw','icon':_0x21c271['threeVerticalDots']}),_0x59bf8c['extendTemplate']({'attributes':{'class':['ck-revision-history-sidebar__revision__actions',_0x1216b8['if']('isActionsDropdownOpen','ck-on')]},'on':{'click':_0x1216b8['to'](_0x953210=>_0x953210['stopPropagation']())}}),_0x59bf8c['on']('execute',_0x75f95b=>{_0x4db8d6['isReady']&&'function'==typeof _0x75f95b['source']['_action']&&_0x75f95b['source']['_action'](_0x4db8d6);}),_0x56e1fe(_0x59bf8c,_0x590ead,{'role':'menu'}),_0x59bf8c['listenTo'](_0x4db8d6,'change:isActionsDropdownOpen',(_0x305045,_0x3adeab,_0x1c5a4e)=>{if(_0x1c5a4e)for(const _0x4b60a0 of _0x59bf8c['listView']['items']){const _0x36c530=_0x4b60a0['children']['first'],_0x22e156=_0x2b78d9['find'](_0x3c030c=>_0x3c030c['action']===_0x36c530['_action'])['isVisible'];_0x4b60a0['isVisible']=void 0x0===_0x22e156||_0x22e156(_0x4db8d6);}}),_0x59bf8c;}class ai extends/* #__PURE__ -- @preserve */
|
|
26
|
-
|
|
23
|
+
import{ObservableMixin as _0xf6fc38,uid as _0x27425f,Collection as _0x4a3cfc,logWarning as _0x204ac0,FocusTracker as _0xd0c074,KeystrokeHandler as _0x16598b,scrollViewportToShowTarget as _0x1d350f,ResizeObserver as mt,ElementReplacer as nt,CKEditorError as _0x2e8286}from'@ckeditor/ckeditor5-utils/dist/index.js';import{cloneDeep as _0x342b60,set as _0x1d4198,unset as _0xe53c1d,isEqual as _0x4eb14b}from'lodash-es';import{Plugin as _0x56b4f6,Context as _0x146eb5,PendingActions as _0x306bd0,icons as _0xd19f15,Command as _0x3d80cf,ElementApiMixin as rt,Editor as it}from'@ckeditor/ckeditor5-core/dist/index.js';import{Users as _0x556799,getMarkerDomElement as _0x1eeae2,ConfirmMixin as _0x3a175c,sanitizeEditorConfig as _0x1749c9}from'ckeditor5-collaboration/dist/index.js';import{ViewDocumentFragment as _0x1c65ec,ViewText as _0x5d054e,ViewElement as _0x1f988b,Element as ft,Range as vt,Position as gt,DocumentFragment as wt,ViewContainerElement as _0x17212c,ViewAttributeElement as _0x5754e2,ViewEmptyElement as _0x52d8f6,ViewRawElement as _0x1158ef,ViewUIElement as _0x31b59c,Text as _t}from'@ckeditor/ckeditor5-engine/dist/index.js';import{View as _0x28f441,injectCssTransitionDisabler as ts,submitHandler as _0x1222ff,LabeledFieldView as at,createLabeledInputText as _0x211ca4,createDropdown as _0x452444,ListView as te,ListItemView as _0xa18561,ButtonView as _0x14d86a,MenuBarMenuView as _0x368300,MenuBarMenuListView as _0x47ac39,MenuBarMenuListItemView as _0x89f74f,MenuBarMenuListItemButtonView as _0x5b9065,ContextualBalloon as _0x4a0bca,ToolbarSeparatorView as _0x45a25c,IconView as _0x4f0de5,addListToDropdown as _0xe90c70,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 _0x1722bf}from'luxon';class a extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0xf6fc38(){['id'];['creator'];['authors'];['diffData'];['toVersion'];['fromVersion'];['model'];constructor(_0x6a3fbe){super(),this['id']=_0x6a3fbe['id']||_0x27425f(),this['creator']=_0x6a3fbe['creator']||null,this['authors']=_0x6a3fbe['authors']||[],this['diffData']=_0x6a3fbe['diffData']||null,this['toVersion']=_0x6a3fbe['toVersion']||0x0,this['fromVersion']=_0x6a3fbe['fromVersion']||0x0,this['set']('name',_0x6a3fbe['name']||''),this['set']('createdAt',_0x6a3fbe['createdAt']||new Date()),this['set']('attributes',_0x6a3fbe['attributes']||{});}['setName'](_0x577d03){this['_update']({'name':_0x577d03});}['setAttribute'](_0x29a444,_0x20da02){const _0x5089a0=_0x342b60(this['attributes']);_0x1d4198(_0x5089a0,_0x29a444,_0x20da02),this['_update']({'attributes':_0x5089a0});}['removeAttribute'](_0x572599){const _0x4a9cb9=_0x342b60(this['attributes']);_0xe53c1d(_0x4a9cb9,_0x572599),this['_update']({'attributes':_0x4a9cb9});}['_update'](_0x3b12a3,_0x24b392=!0x1){let _0x3f1786=!0x1;const _0x5ee0fb={'id':this['id']},_0x10e65a=['name','createdAt','diffData','authors','attributes','toVersion','fromVersion','creatorId'];for(const _0x538fa5 of _0x10e65a){const _0x4e53f8=_0x3b12a3[_0x538fa5];void 0x0!==_0x4e53f8&&_0x4e53f8!==this[_0x538fa5]&&(this[_0x538fa5]=_0x4e53f8,_0x5ee0fb[_0x538fa5]=_0x4e53f8,_0x3f1786=!0x0);}_0x3f1786&&(_0x5ee0fb['authors']&&(_0x5ee0fb['authorsIds']=_0x5ee0fb['authors']['map'](_0x443260=>_0x443260['id']),delete _0x5ee0fb['authors']),this['fire']('_update',_0x5ee0fb,_0x24b392));}['toJSON'](){return{'id':this['id'],'name':this['name'],'creatorId':this['creator']?this['creator']['id']:null,'authorsIds':this['authors']['map'](_0x32bb4d=>_0x32bb4d['id']),'diffData':this['diffData'],'createdAt':this['createdAt'],'attributes':this['attributes'],'fromVersion':this['fromVersion'],'toVersion':this['toVersion']};}}class A extends _0x56b4f6{['_revisions'];static get['requires'](){return[_0x556799];}static get['pluginName'](){return'RevisionsRepository';}get['length'](){return this['_revisions']['length'];}constructor(_0x1bac31){super(_0x1bac31),this['_revisions']=new _0x4a3cfc();}['afterInit'](){!function(_0x3c495a){function _0x11123c(_0x1aaba7,_0x483c30,_0x45bc3a){const _0x556142={};_0x556142[_0x34ecf7([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])]={0x10:0xa,0x18:0xc,0x20:0xe},_0x556142[_0x34ecf7([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],_0x556142[_0x34ecf7([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],_0x556142[_0x34ecf7([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],_0x556142[_0x34ecf7([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],_0x556142[_0x34ecf7([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],_0x556142[_0x34ecf7([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],_0x556142[_0x34ecf7([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],_0x556142[_0x34ecf7([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],_0x556142[_0x34ecf7([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],_0x556142[_0x34ecf7([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 _0x56dccc=new Uint8Array(0x10);for(let _0x1ba7eb=0xf;_0x1ba7eb>=0x0;--_0x1ba7eb)_0x56dccc[_0x1ba7eb]=_0x45bc3a%0x100,_0x45bc3a=parseInt(_0x45bc3a/0x100);let _0x4d40be=null,_0x21e5cf=0x10;const _0x1ad64d=new Uint8Array(_0x483c30),_0x343a95=[],_0x1009c8=[];_0x5b4b2b();for(let _0x23e950=0x0;_0x23e950<_0x1aaba7[_0x34ecf7([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x23e950++)0x10===_0x21e5cf&&(_0x4d40be=_0x14a8c7(_0x56dccc),_0x21e5cf=0x0,_0x3c9305(_0x56dccc)),_0x1aaba7[_0x23e950]^=_0x4d40be[_0x21e5cf++];return _0x1aaba7;function _0x3970d3(_0x14dc14){const _0x5d5f1d=[];for(let _0x6dc2c6=0x0;_0x6dc2c6<_0x14dc14[_0x34ecf7([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x6dc2c6+=0x4)_0x5d5f1d[_0x34ecf7([0x70,0x75,0x73,0x68])](_0x14dc14[_0x6dc2c6]<<0x18|_0x14dc14[_0x6dc2c6+0x1]<<0x10|_0x14dc14[_0x6dc2c6+0x2]<<0x8|_0x14dc14[_0x6dc2c6+0x3]);return _0x5d5f1d;}function _0x3c9305(_0x2185df){for(let _0x56d3a5=0xf;_0x56d3a5>=0x0;_0x56d3a5--){if(0xff!==_0x2185df[_0x56d3a5]){_0x2185df[_0x56d3a5]++;break;}_0x2185df[_0x56d3a5]=0x0;}}function _0x14a8c7(_0x1aca36){const _0x374e49=_0x343a95[_0x34ecf7([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x1,_0x4bdfd2=[0x0,0x0,0x0,0x0];let t=_0x3970d3(_0x1aca36);for(let _0x1db83c=0x0;_0x1db83c<0x4;_0x1db83c++)t[_0x1db83c]^=_0x343a95[0x0][_0x1db83c];for(let _0x101d39=0x1;_0x101d39<_0x374e49;_0x101d39++){for(let _0x5c811a=0x0;_0x5c811a<0x4;_0x5c811a++)_0x4bdfd2[_0x5c811a]=_0x556142[_0x34ecf7([0x54,0x31])][t[_0x5c811a]>>0x18&0xff]^_0x556142[_0x34ecf7([0x54,0x32])][t[(_0x5c811a+0x1)%0x4]>>0x10&0xff]^_0x556142[_0x34ecf7([0x54,0x33])][t[(_0x5c811a+0x2)%0x4]>>0x8&0xff]^_0x556142[_0x34ecf7([0x54,0x34])][0xff&t[(_0x5c811a+0x3)%0x4]]^_0x343a95[_0x101d39][_0x5c811a];t=_0x4bdfd2[_0x34ecf7([0x73,0x6c,0x69,0x63,0x65])]();}const _0x90ca11=new Uint8Array(0x10);let _0x3c612d;for(let _0x56914a=0x0;_0x56914a<0x4;_0x56914a++)_0x3c612d=_0x343a95[_0x374e49][_0x56914a],_0x90ca11[0x4*_0x56914a]=0xff&(_0x556142[_0x34ecf7([0x53])][t[_0x56914a]>>0x18&0xff]^_0x3c612d>>0x18),_0x90ca11[0x4*_0x56914a+0x1]=0xff&(_0x556142[_0x34ecf7([0x53])][t[(_0x56914a+0x1)%0x4]>>0x10&0xff]^_0x3c612d>>0x10),_0x90ca11[0x4*_0x56914a+0x2]=0xff&(_0x556142[_0x34ecf7([0x53])][t[(_0x56914a+0x2)%0x4]>>0x8&0xff]^_0x3c612d>>0x8),_0x90ca11[0x4*_0x56914a+0x3]=0xff&(_0x556142[_0x34ecf7([0x53])][0xff&t[(_0x56914a+0x3)%0x4]]^_0x3c612d);return _0x90ca11;}function _0x5b4b2b(){const _0x4cf79e=_0x556142[_0x34ecf7([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])][_0x1ad64d[_0x34ecf7([0x6c,0x65,0x6e,0x67,0x74,0x68])]];for(let _0x3996bb=0x0;_0x3996bb<=_0x4cf79e;_0x3996bb++)_0x343a95[_0x34ecf7([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]),_0x1009c8[_0x34ecf7([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]);const _0x289b8f=0x4*(_0x4cf79e+0x1),_0x314cf3=_0x1ad64d[_0x34ecf7([0x6c,0x65,0x6e,0x67,0x74,0x68])]/0x4,_0x1f5adb=_0x3970d3(_0x1ad64d);let _0x47d337;for(let _0xd38239=0x0;_0xd38239<_0x314cf3;_0xd38239++)_0x47d337=_0xd38239>>0x2,_0x343a95[_0x47d337][_0xd38239%0x4]=_0x1f5adb[_0xd38239],_0x1009c8[_0x4cf79e-_0x47d337][_0xd38239%0x4]=_0x1f5adb[_0xd38239];let _0x6b9975,_0x532e3b=0x0,t=_0x314cf3;for(;t<_0x289b8f;){_0x6b9975=_0x1f5adb[_0x314cf3-0x1],_0x1f5adb[0x0]^=_0x556142[_0x34ecf7([0x53])][_0x6b9975>>0x10&0xff]<<0x18^_0x556142[_0x34ecf7([0x53])][_0x6b9975>>0x8&0xff]<<0x10^_0x556142[_0x34ecf7([0x53])][0xff&_0x6b9975]<<0x8^_0x556142[_0x34ecf7([0x53])][_0x6b9975>>0x18&0xff]^_0x556142[_0x34ecf7([0x72,0x63,0x6f,0x6e])][_0x532e3b]<<0x18,_0x532e3b+=0x1;for(let _0x45ddca=0x1;_0x45ddca<_0x314cf3/0x2;_0x45ddca++)_0x1f5adb[_0x45ddca]^=_0x1f5adb[_0x45ddca-0x1];_0x6b9975=_0x1f5adb[_0x314cf3/0x2-0x1],_0x1f5adb[_0x314cf3/0x2]^=_0x556142[_0x34ecf7([0x53])][0xff&_0x6b9975]^_0x556142[_0x34ecf7([0x53])][_0x6b9975>>0x8&0xff]<<0x8^_0x556142[_0x34ecf7([0x53])][_0x6b9975>>0x10&0xff]<<0x10^_0x556142[_0x34ecf7([0x53])][_0x6b9975>>0x18&0xff]<<0x18;for(let _0x36d7b1=_0x314cf3/0x2+0x1;_0x36d7b1<_0x314cf3;_0x36d7b1++)_0x1f5adb[_0x36d7b1]^=_0x1f5adb[_0x36d7b1-0x1];let _0x26c952,_0x24dfdd,_0x3ef444=0x0;for(;_0x3ef444<_0x314cf3&&t<_0x289b8f;)_0x26c952=t>>0x2,_0x24dfdd=t%0x4,_0x343a95[_0x26c952][_0x24dfdd]=_0x1f5adb[_0x3ef444],_0x1009c8[_0x4cf79e-_0x26c952][_0x24dfdd]=_0x1f5adb[_0x3ef444++],t++;}for(let _0xa139a4=0x1;_0xa139a4<_0x4cf79e;_0xa139a4++)for(let _0x350e18=0x0;_0x350e18<0x4;_0x350e18++)_0x6b9975=_0x1009c8[_0xa139a4][_0x350e18],_0x1009c8[_0xa139a4][_0x350e18]=_0x556142[_0x34ecf7([0x55,0x31])][_0x6b9975>>0x18&0xff]^_0x556142[_0x34ecf7([0x55,0x32])][_0x6b9975>>0x10&0xff]^_0x556142[_0x34ecf7([0x55,0x33])][_0x6b9975>>0x8&0xff]^_0x556142[_0x34ecf7([0x55,0x34])][0xff&_0x6b9975];}}function _0x34ecf7(_0x337a88){return _0x337a88['map'](_0x5a010f=>String['fromCharCode'](_0x5a010f))['join']('');}(_0x41971a=>{function _0x5b13ad(){const _0x920119=[{[_0x34ecf7([0x69,0x64])]:0x1,[_0x34ecf7([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x34ecf7([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73]),[_0x34ecf7([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x34ecf7([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x34ecf7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x34ecf7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x34ecf7([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x34ecf7([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x34ecf7([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]:[{[_0x34ecf7([0x69,0x64])]:0x2,[_0x34ecf7([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x34ecf7([0x54,0x72,0x61,0x63,0x6b,0x20,0x43,0x68,0x61,0x6e,0x67,0x65,0x73]),[_0x34ecf7([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x34ecf7([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x34ecf7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x34ecf7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x34ecf7([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x34ecf7([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]),[_0x34ecf7([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x34ecf7([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x34ecf7([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x34ecf7([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}}],[_0x34ecf7([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x34ecf7([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x34ecf7([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x34ecf7([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x34ecf7([0x69,0x64])]:0x3,[_0x34ecf7([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x34ecf7([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e]),[_0x34ecf7([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x34ecf7([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x6f,0x6f,0x6b,0x75,0x70]),[_0x34ecf7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x34ecf7([0x70,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x34ecf7([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x34ecf7([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x34ecf7([0x69,0x64])]:0x4,[_0x34ecf7([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x34ecf7([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x20,0x48,0x69,0x73,0x74,0x6f,0x72,0x79]),[_0x34ecf7([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x34ecf7([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x34ecf7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x34ecf7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x34ecf7([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x34ecf7([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]),[_0x34ecf7([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x34ecf7([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x34ecf7([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x34ecf7([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x34ecf7([0x69,0x64])]:0x5,[_0x34ecf7([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x34ecf7([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x20,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65]),[_0x34ecf7([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x34ecf7([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65,0x55,0x49]),[_0x34ecf7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x34ecf7([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]),[_0x34ecf7([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x34ecf7([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x34ecf7([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x34ecf7([0x66,0x67,0x69])]:[0xc]}},{[_0x34ecf7([0x69,0x64])]:0x6,[_0x34ecf7([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x34ecf7([0x46,0x6f,0x72,0x6d,0x61,0x74,0x20,0x50,0x61,0x69,0x6e,0x74,0x65,0x72]),[_0x34ecf7([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x34ecf7([0x46,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x55,0x49]),[_0x34ecf7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x34ecf7([0x66,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x34ecf7([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x34ecf7([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x34ecf7([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x34ecf7([0x66,0x67,0x69])]:[0xc]}},{[_0x34ecf7([0x69,0x64])]:0x7,[_0x34ecf7([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x34ecf7([0x53,0x6c,0x61,0x73,0x68,0x20,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64]),[_0x34ecf7([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x34ecf7([0x53,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x55,0x49]),[_0x34ecf7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x34ecf7([0x73,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x34ecf7([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x34ecf7([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x34ecf7([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x34ecf7([0x66,0x67,0x69])]:[0xc]}},{[_0x34ecf7([0x69,0x64])]:0x8,[_0x34ecf7([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x34ecf7([0x54,0x61,0x62,0x6c,0x65,0x20,0x6f,0x66,0x20,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73]),[_0x34ecf7([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x34ecf7([0x54,0x61,0x62,0x6c,0x65,0x4f,0x66,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x34ecf7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x34ecf7([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]),[_0x34ecf7([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x34ecf7([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x34ecf7([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x34ecf7([0x66,0x67,0x69])]:[0xc]}},{[_0x34ecf7([0x69,0x64])]:0x9,[_0x34ecf7([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x34ecf7([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65]),[_0x34ecf7([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x34ecf7([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x55,0x49]),[_0x34ecf7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x34ecf7([0x74,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x34ecf7([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x34ecf7([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x34ecf7([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x34ecf7([0x66,0x67,0x69])]:[0xc,0xe]}},{[_0x34ecf7([0x69,0x64])]:0xa,[_0x34ecf7([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x34ecf7([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]),[_0x34ecf7([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x34ecf7([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]),[_0x34ecf7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x34ecf7([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]),[_0x34ecf7([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x34ecf7([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x34ecf7([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x34ecf7([0x66,0x67,0x69])]:[0xc]}},{[_0x34ecf7([0x69,0x64])]:0xb,[_0x34ecf7([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x34ecf7([0x41,0x49,0x20,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74]),[_0x34ecf7([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x34ecf7([0x41,0x49,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74,0x55,0x49]),[_0x34ecf7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x34ecf7([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x34ecf7([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x34ecf7([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x34ecf7([0x69,0x64])]:0xc,[_0x34ecf7([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x34ecf7([0x50,0x72,0x6f,0x64,0x75,0x63,0x74,0x69,0x76,0x69,0x74,0x79,0x20,0x70,0x61,0x63,0x6b])},{[_0x34ecf7([0x69,0x64])]:0xd,[_0x34ecf7([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x34ecf7([0x43,0x61,0x73,0x65,0x20,0x43,0x68,0x61,0x6e,0x67,0x65]),[_0x34ecf7([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x34ecf7([0x43,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x55,0x49]),[_0x34ecf7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x34ecf7([0x63,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x34ecf7([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x34ecf7([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x34ecf7([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x34ecf7([0x66,0x67,0x69])]:[0xc]}},{[_0x34ecf7([0x69,0x64])]:0xe,[_0x34ecf7([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x34ecf7([0x44,0x72,0x75,0x70,0x61,0x6c,0x20,0x70,0x61,0x63,0x6b]),[_0x34ecf7([0x66,0x6f,0x72,0x62,0x69,0x64,0x64,0x65,0x6e,0x48,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x34ecf7([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])},{[_0x34ecf7([0x69,0x64])]:0xf,[_0x34ecf7([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x34ecf7([0x4d,0x75,0x6c,0x74,0x69,0x20,0x4c,0x65,0x76,0x65,0x6c,0x20,0x4c,0x69,0x73,0x74]),[_0x34ecf7([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x34ecf7([0x4d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x34ecf7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x34ecf7([0x6d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x34ecf7([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x34ecf7([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x34ecf7([0x69,0x64])]:0x10,[_0x34ecf7([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x34ecf7([0x4d,0x65,0x72,0x67,0x65,0x20,0x46,0x69,0x65,0x6c,0x64,0x73]),[_0x34ecf7([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x34ecf7([0x4d,0x65,0x72,0x67,0x65,0x46,0x69,0x65,0x6c,0x64,0x73,0x55,0x49]),[_0x34ecf7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x34ecf7([0x6d,0x65,0x72,0x67,0x65,0x46,0x69,0x65,0x6c,0x64,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x34ecf7([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x34ecf7([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x34ecf7([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x34ecf7([0x66,0x67,0x69])]:[0xc]}}];return _0x4047c5(_0x920119),_0x920119;function _0x22d98d(_0x6ff24e){return 0x1<<_0x6ff24e-0x1;}function _0x4047c5(_0x39878b){_0x39878b[_0x34ecf7([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x2a4b61=>{_0x2a4b61[_0x34ecf7([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]=_0x22d98d(_0x2a4b61[_0x34ecf7([0x69,0x64])]),_0x6c007(_0x2a4b61)&&_0x2a4b61[_0x34ecf7([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x4047c5(_0x2a4b61[_0x34ecf7([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]);});}}function _0x6c007(_0x2e84de){return _0x34ecf7([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])in _0x2e84de;}const _0x3de423=[0x1,0x55,0x4e,0x73,0xc6,0xff,0x32,0x70,0x53,0x57,0xa1],_0x8c378b=[0x7f,0x22,0x6,0xd3,0xa7,0x56,0x92,0xc7,0x84,0xa0,0x12];function _0x576d68(_0x48a060){const _0x3578a7=[0x1d,0xdd,0xaf,0x5a,0xe7,0x85,0xef,0xf0,0x4b,0xb4];return _0x6badb(_0x48a060,new Uint8Array([..._0x3de423,..._0x3578a7,..._0x8c378b]));}function _0x6badb(_0x55e60d,_0x18b6e1){const _0x50b97a=_0x2f05af(_0x55e60d),_0x4b423a=Array[_0x34ecf7([0x66,0x72,0x6f,0x6d])](_0x2cdf28(_0x50b97a)),_0x40b777=_0x4b423a[_0x34ecf7([0x70,0x6f,0x70])](),_0x5933dd=_0x4b423a[_0x34ecf7([0x70,0x6f,0x70])]();return _0x760a92(_0x11123c(_0x4b423a,_0x18b6e1,_0x5933dd+0x100*_0x40b777));}function _0x2f05af(_0xf22d6d){const _0x33ef2f=atob(_0xf22d6d),[_0x201c0b,_0x23d855]=_0x33ef2f[_0x34ecf7([0x73,0x70,0x6c,0x69,0x74])](_0x34ecf7([0x2d]));try{if(atob(_0x23d855))return atob(_0x201c0b);}catch(_0x40fd76){}return _0x33ef2f;}function _0x217b05(_0x13db2f){try{const _0x41b4ba=_0x576d68(_0x13db2f),_0x201ff4=JSON[_0x34ecf7([0x70,0x61,0x72,0x73,0x65])](_0x41b4ba),_0xc436ad=parseInt(_0x201ff4[_0x34ecf7([0x31])]),_0x2fce7e=_0x201ff4[_0x34ecf7([0x32])]||'',_0x3ae21b=parseInt(_0x201ff4[_0x34ecf7([0x33])]),_0x37fb80=parseInt(_0x201ff4[_0x34ecf7([0x34])])||0x0,_0x37fdf9=parseInt(_0x201ff4[_0x34ecf7([0x35])])||0x0;return{[_0x34ecf7([0x70,0x72,0x6f,0x64,0x75,0x63,0x74,0x4e,0x61,0x6d,0x65])]:_0x2fce7e,[_0x34ecf7([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])]:_0x37fb80,[_0x34ecf7([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]:_0xc436ad,[_0x34ecf7([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]:_0x3ae21b,[_0x34ecf7([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]:_0x37fdf9};}catch(_0x3e3cb1){return null;}}const _0x176c10=_0x5b13ad(),_0x174a5b={[_0x34ecf7([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])]:_0x2097d2,[_0x34ecf7([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])]:_0xfb3315,[_0x34ecf7([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])]:_0x17c3e0},_0x16d32a=_0x41971a[_0x34ecf7([0x63,0x6f,0x6e,0x73,0x74,0x72,0x75,0x63,0x74,0x6f,0x72])][_0x34ecf7([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])],_0x56f526=_0x34ecf7([0x63,0x6f,0x6e,0x74,0x65,0x78,0x74])in _0x41971a?_0x41971a['context']:_0x41971a['editor'],_0x36748c=_0x34ecf7([0x34,0x30,0x34,0x38,0x31,0x36,0x35,0x38]),_0xd063d9=_0x34ecf7([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]),_0x3972b0=_0x56f526['config']['get'](_0x34ecf7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x5f3397=_0x176c10[_0x34ecf7([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x6c007)[_0x34ecf7([0x66,0x69,0x6e,0x64])](_0x556e8f=>_0x556e8f[_0x34ecf7([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]===_0x16d32a);function _0x525fdb(_0x470da,_0x5c46ad){_0x174a5b[_0x5c46ad[_0x34ecf7([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]](_0x470da,_0x5c46ad),_0x5c46ad[_0x34ecf7([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x5c46ad[_0x34ecf7([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])][_0x34ecf7([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x19f276=>_0x5f58a1(_0x56f526,_0x19f276[_0x34ecf7([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))[_0x34ecf7([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x4b5d96=>_0x525fdb(_0x470da,_0x4b5d96));}function _0x2097d2(_0x416786,_0x276422){_0x375617(_0x1b09e8(_0x416786,_0x276422),_0x276422);}function _0xfb3315(_0xc06a4,_0x1e6eae){function _0x507ca4(_0x8921c2,_0x371128){try{if(_0x5f58a1(_0x56f526,_0x34ecf7([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))&&_0x8921c2){const _0x591ebd=_0x11f3d1(_0x56f526,_0x34ecf7([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))[_0x34ecf7([0x5f,0x65,0x78,0x65,0x63,0x75,0x74,0x65,0x53,0x75,0x67,0x67,0x65,0x73,0x74,0x69,0x6f,0x6e])];if(parseInt(_0x591ebd)/0x2>_0x8921c2[_0x34ecf7([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])])return _0x4251e4(_0x371128[_0x34ecf7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x34ecf7([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}return _0x1b09e8(_0x8921c2,_0x371128);}catch(_0x1ecc04){return _0x4251e4(_0x371128[_0x34ecf7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x34ecf7([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}_0x375617(_0x507ca4(_0xc06a4,_0x1e6eae),_0x1e6eae);}function _0x17c3e0(_0x4836f0,_0x2a6162){const _0x368d6b=_0x8c378b[0x0]*_0x3de423[0x1],_0x414c15=_0x8c378b[0x0]*_0x3de423[0x2],_0x5d6474=_0x8c378b[0x2]*_0x3de423[0x2];_0x5f58a1(_0x56f526,_0x34ecf7([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x11f3d1(_0x56f526,_0x34ecf7([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x34ecf7([0x73,0x74,0x61,0x74,0x65])]==_0x34ecf7([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&(window[_0x543374()]=_0x5d6474);function _0x59cca7(_0x54982d,_0x4efd8f){try{return _0x196328()?_0x4251e4(_0x4efd8f[_0x34ecf7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x34ecf7([0x56,0x61,0x6c,0x69,0x64])):_0x1b09e8(_0x54982d,_0x4efd8f);}catch(_0x5a963a){return _0x4251e4(_0x4efd8f[_0x34ecf7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x34ecf7([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x4d9c90(_0x27842a,_0x1122a4){const _0x4102f7=0x7;if(_0x27842a==_0x1122a4[_0x34ecf7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x34ecf7([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]))_0x4b339a();else{if(_0x27842a==_0x1122a4[_0x34ecf7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x34ecf7([0x54,0x72,0x69,0x61,0x6c])){const _0x3e5394=_0x1cf3ee();_0x3e5394&&_0x2f14dc(_0x3e5394,_0x1122a4[_0x34ecf7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);const _0x3a45c4=_0x59b0f7();window[_0x34ecf7([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x2f14dc(_0x34ecf7([0x74,0x69,0x6d,0x65]),_0x1122a4[_0x34ecf7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);},_0x3a45c4);const _0x47a392=_0x11f3d1(_0x56f526,_0x34ecf7([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x34ecf7([0x5f,0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73])];_0x47a392[_0x34ecf7([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x4102f7?_0x2f14dc(_0x34ecf7([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x1122a4[_0x34ecf7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]):_0x47a392['on'](_0x34ecf7([0x61,0x64,0x64]),()=>{_0x47a392[_0x34ecf7([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x4102f7&&_0x2f14dc(_0x34ecf7([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x1122a4[_0x34ecf7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);});}}}function _0x1cf3ee(){if(!_0x5f58a1(_0x56f526,_0x34ecf7([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x3145b5 in window)if(Number['isNaN'](Number(_0x3145b5))){if(window[_0x3145b5]===_0x368d6b)return _0x34ecf7([0x74,0x69,0x6d,0x65]);if(window[_0x3145b5]===_0x414c15)return _0x34ecf7([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]);}return!0x1;}function _0x196328(){if(!_0x5f58a1(_0x56f526,_0x34ecf7([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x374920 in window)if(Number['isNaN'](Number(_0x374920))&&window[_0x374920]===_0x5d6474)return!0x0;return!0x1;}function _0x2f14dc(_0x2f3bf0,_0x14f605){_0x4b339a(),_0x4251e4(_0x14f605+_0x34ecf7([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a])+_0x2f3bf0),window[_0x543374()]=_0x2f3bf0===_0x34ecf7([0x74,0x69,0x6d,0x65])?_0x368d6b:_0x414c15;}function _0x59b0f7(){let _0x3bf523=_0x8c378b[0x6]*_0x3de423[0x8]*_0x3de423[0x6];return _0x5f58a1(_0x56f526,_0x34ecf7([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x3bf523/=0xa),_0x3bf523;}function _0x4b339a(){const _0x2d018a=_0x56f526;function _0x156956(){_0x5f58a1(_0x2d018a,_0x34ecf7([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&(_0x11f3d1(_0x2d018a,_0x34ecf7([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x34ecf7([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x34ecf7([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x11f3d1(_0x2d018a,_0x34ecf7([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x34ecf7([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x11f3d1(_0x2d018a,_0x34ecf7([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x34ecf7([0x75,0x70,0x64,0x61,0x74,0x65])]=_0x57086b,_0x11f3d1(_0x2d018a,_0x34ecf7([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x34ecf7([0x73,0x61,0x76,0x65,0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e])]=_0x57086b,_0x2d018a[_0x34ecf7([0x6d,0x6f,0x64,0x65,0x6c])][_0x34ecf7([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x57086b,_0x2d018a[_0x34ecf7([0x6d,0x6f,0x64,0x65,0x6c])][_0x34ecf7([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x57086b,_0x2d018a[_0x34ecf7([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x34ecf7([0x6d,0x6f,0x64,0x65,0x6c]))),_0x5f58a1(_0x2d018a,_0x34ecf7([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x11f3d1(_0x2d018a,_0x34ecf7([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x34ecf7([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x34ecf7([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x11f3d1(_0x2d018a,_0x34ecf7([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x34ecf7([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x11f3d1(_0x2d018a,_0x34ecf7([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x34ecf7([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])]=_0x57086b,_0x11f3d1(_0x2d018a,_0x34ecf7([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x34ecf7([0x5f,0x67,0x65,0x74,0x44,0x69,0x66,0x66])]=_0x57086b);}_0x2d018a[_0x34ecf7([0x73,0x74,0x61,0x74,0x65])]==_0x34ecf7([0x72,0x65,0x61,0x64,0x79])?_0x156956():_0x2d018a[_0x34ecf7([0x6f,0x6e,0x63,0x65])](_0x34ecf7([0x72,0x65,0x61,0x64,0x79]),()=>{if(_0x5f58a1(_0x2d018a,_0x34ecf7([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&_0x156956(),_0x5f58a1(_0x2d018a,_0x34ecf7([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))){const _0xff4809=_0x11f3d1(_0x2d018a,_0x34ecf7([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79])),_0x43a5c2=_0xff4809['getRevision'](0x0),_0x50aeab=_0xff4809['getEarlierVisibleRevision'](_0x43a5c2[_0x34ecf7([0x69,0x64])]);_0x11f3d1(_0x2d018a,_0x34ecf7([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x34ecf7([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])](_0x43a5c2[_0x34ecf7([0x69,0x64])],_0x50aeab?_0x50aeab[_0x34ecf7([0x69,0x64])]:null,0x1)['then'](()=>_0x156956());}});}_0x4d9c90(_0x59cca7(_0x4836f0,_0x2a6162),_0x2a6162);}function _0x1b09e8(_0x467998,_0x536924){try{return _0x5ac742(_0x536924)?_0x4251e4(_0x536924[_0x34ecf7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x34ecf7([0x56,0x61,0x6c,0x69,0x64])):_0x467998&&_0x326a7f(_0x467998[_0x34ecf7([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])],_0x536924)?_0x467998[_0x34ecf7([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]&&!window[_0x34ecf7([0x6f,0x70,0x65,0x6e])][_0x34ecf7([0x63,0x6c,0x6f,0x73,0x65,0x64])]||parseInt(_0x36748c)/0x2>_0x467998[_0x34ecf7([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]?_0x4251e4(_0x536924[_0x34ecf7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x34ecf7([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])):_0x467998[_0x34ecf7([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]?_0x4251e4(_0x536924[_0x34ecf7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x34ecf7([0x54,0x72,0x69,0x61,0x6c])):_0x4251e4(_0x536924[_0x34ecf7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x34ecf7([0x56,0x61,0x6c,0x69,0x64])):_0x4251e4(_0x536924[_0x34ecf7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x34ecf7([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}catch(_0x537997){return _0x4251e4(_0x536924[_0x34ecf7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x34ecf7([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x375617(_0x1fa238,_0x22ad0e){if(_0x56f526 instanceof _0x146eb5){const _0x4f96ea=_0x56f526;_0x1fa238==_0x22ad0e[_0x34ecf7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x34ecf7([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x322474(_0x4f96ea):_0x1fa238==_0x22ad0e[_0x34ecf7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x34ecf7([0x54,0x72,0x69,0x61,0x6c])&&window[_0x34ecf7([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x322474(_0x4f96ea),_0x4251e4(_0x22ad0e[_0x34ecf7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x34ecf7([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65]));},_0x8c378b[0x6]*_0x3de423[0x8]*_0x3de423[0x6]),_0x4f96ea[_0x34ecf7([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])][_0x34ecf7([0x6f,0x6e])](_0x34ecf7([0x61,0x64,0x64]),(_0x369182,_0x36c77c)=>{_0x1fa238!=_0x22ad0e[_0x34ecf7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x34ecf7([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])&&_0x1fa238!=_0x22ad0e[_0x34ecf7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x34ecf7([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65])&&_0x1fa238!=_0x22ad0e[_0x34ecf7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x34ecf7([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])||_0x16dde8(_0x36c77c);});}else{const _0x439a43=_0x56f526;_0x1fa238==_0x22ad0e[_0x34ecf7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x34ecf7([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x16dde8(_0x439a43):_0x1fa238==_0x22ad0e[_0x34ecf7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x34ecf7([0x54,0x72,0x69,0x61,0x6c])&&_0x439a43[_0x34ecf7([0x6f,0x6e])](_0x34ecf7([0x72,0x65,0x61,0x64,0x79]),()=>{let _0x311da1=0x0;_0x439a43[_0x34ecf7([0x6d,0x6f,0x64,0x65,0x6c])][_0x34ecf7([0x6f,0x6e])](_0x34ecf7([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x588499,_0x1ad7b4)=>{_0x1ad7b4[0x0][_0x34ecf7([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x311da1++,0x1f8===_0x311da1&&(_0x16dde8(_0x439a43),_0x4251e4(_0x22ad0e[_0x34ecf7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x34ecf7([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])),_0x588499[_0x34ecf7([0x6f,0x66,0x66])]());},{'priority':_0x34ecf7([0x68,0x69,0x67,0x68,0x65,0x73,0x74])});});}}function _0x4251e4(_0x5ba391){const _0xf3a597=_0x543374();return _0x56f526[_0xf3a597]=_0x5ba391,_0x5ba391;}function _0x543374(){const _0x1ddb1f=String(window[_0x34ecf7([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x34ecf7([0x6e,0x6f,0x77])]())[_0x34ecf7([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x34ecf7([0x2e]),'');let _0x29c2e2='';for(let _0x2a6e56=0x0;_0x2a6e56<_0x1ddb1f[_0x34ecf7([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2a6e56+=0x2){let _0x251da6=parseInt(_0x1ddb1f[_0x34ecf7([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2a6e56,_0x2a6e56+0x2));_0x251da6>=_0xd063d9[_0x34ecf7([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x251da6-=_0xd063d9[_0x34ecf7([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x29c2e2+=_0xd063d9[_0x251da6];}return _0x29c2e2;}function _0x322474(_0x47823a){for(const _0x20d5d4 of _0x47823a[_0x34ecf7([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])])_0x16dde8(_0x20d5d4);_0x11f3d1(_0x47823a,_0x34ecf7([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x34ecf7([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])](!0x0),_0x11f3d1(_0x47823a,_0x34ecf7([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x34ecf7([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])]=_0x57086b;}function _0x16dde8(_0x24d644){function _0x1f66bf(){_0x24d644[_0x34ecf7([0x6d,0x6f,0x64,0x65,0x6c])][_0x34ecf7([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x57086b,_0x24d644[_0x34ecf7([0x6d,0x6f,0x64,0x65,0x6c])][_0x34ecf7([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x57086b,_0x24d644[_0x34ecf7([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x34ecf7([0x6d,0x6f,0x64,0x65,0x6c]));}_0x24d644[_0x34ecf7([0x73,0x74,0x61,0x74,0x65])]==_0x34ecf7([0x72,0x65,0x61,0x64,0x79])?_0x1f66bf():_0x24d644[_0x34ecf7([0x6f,0x6e,0x63,0x65])](_0x34ecf7([0x72,0x65,0x61,0x64,0x79]),()=>_0x1f66bf());}function _0x57086b(){return null;}function _0x326a7f(_0x3082ed,_0x56de03){const _0x3d503c=!!(_0x3082ed&_0x56de03[_0x34ecf7([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]),_0x513304=_0x3c01fc(_0x3082ed,_0x56de03);return _0x3d503c||_0x513304;}function _0x3c01fc(_0x108215,_0x53849a){const _0x568293=(_0x53849a[_0x34ecf7([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{})[_0x34ecf7([0x66,0x67,0x69])]||null;return!!_0x568293&&_0x176c10[_0x34ecf7([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1d95c1=>_0x568293[_0x34ecf7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1d95c1[_0x34ecf7([0x69,0x64])]))[_0x34ecf7([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x15dbd1=>!_0x4d9e0a(_0x15dbd1))[_0x34ecf7([0x73,0x6f,0x6d,0x65])](_0x5befeb=>!!(_0x108215&_0x5befeb[_0x34ecf7([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]));}function _0x4d9e0a(_0x54bee6){const _0x3415f7={[_0x34ecf7([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])]:_0x2551e6};return!!_0x54bee6['forbiddenHandler']&&_0x3415f7[_0x54bee6['forbiddenHandler']]();}function _0x2551e6(){return!window[_0x34ecf7([0x44,0x72,0x75,0x70,0x61,0x6c])]||!_0x5f58a1(_0x56f526,_0x34ecf7([0x64,0x72,0x75,0x70,0x61,0x6c,0x50,0x6f,0x77,0x65,0x72,0x65,0x64,0x42,0x79]));}function _0x5ac742(_0x4cb5e6){if(!_0x5f58a1(_0x56f526,_0x4cb5e6[_0x34ecf7([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))return!0x0;const _0xf2e92f=_0x4cb5e6[_0x34ecf7([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{},_0x4daf8f=_0xf2e92f[_0x34ecf7([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]||!0x1,_0x20486a=_0xf2e92f[_0x34ecf7([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]||!0x1,_0x3c4c2c=_0xf2e92f[_0x34ecf7([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]||!0x1;if(_0x5f58a1(_0x56f526,_0x34ecf7([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x11f3d1(_0x56f526,_0x34ecf7([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x34ecf7([0x73,0x74,0x61,0x74,0x65])]==_0x34ecf7([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&_0x4daf8f)return!0x0;if(_0x5f58a1(_0x56f526,_0x34ecf7([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))&&_0x11f3d1(_0x56f526,_0x34ecf7([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))[_0x34ecf7([0x72,0x65,0x73,0x75,0x6c,0x74])]==_0x34ecf7([0x65,0x6e,0x64])&&_0x20486a)return!0x0;return!(!_0x5f58a1(_0x56f526,_0x34ecf7([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]))||_0x11f3d1(_0x56f526,_0x34ecf7([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]))[_0x34ecf7([0x72,0x65,0x73,0x75,0x6c,0x74])]!=_0x34ecf7([0x65,0x6e,0x64])||!_0x3c4c2c);}function _0x5f58a1(_0x3e6d7b,_0x2f1540){return _0x3e6d7b[_0x34ecf7([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x34ecf7([0x68,0x61,0x73])](_0x2f1540);}function _0x11f3d1(_0x4bb59c,_0x3b2e9e){return _0x4bb59c[_0x34ecf7([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x34ecf7([0x67,0x65,0x74])](_0x3b2e9e);}function _0x760a92(_0x3c1d50){let _0x39f42b='';for(const _0x51871b of _0x3c1d50)_0x39f42b+=String[_0x34ecf7([0x66,0x72,0x6f,0x6d,0x43,0x68,0x61,0x72,0x43,0x6f,0x64,0x65])](_0x51871b);return _0x39f42b;}function _0x2cdf28(_0xa02b01){const _0x2d42e7=new Uint8Array(_0xa02b01[_0x34ecf7([0x6c,0x65,0x6e,0x67,0x74,0x68])]);for(let _0x132bce=0x0;_0x132bce<_0xa02b01[_0x34ecf7([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x132bce++)_0x2d42e7[_0x132bce]=_0xa02b01[_0x34ecf7([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x132bce);return _0x2d42e7;}_0x5f3397&&_0x525fdb(_0x217b05(_0x3972b0),_0x5f3397);})(_0x3c495a);}(this);}['createRevision'](_0x10dbe8){const _0x2634dc=this['editor']['plugins']['get']('Users');return new a({'id':_0x10dbe8['id'],'name':_0x10dbe8['name'],'creator':_0x10dbe8['creatorId']?_0x2634dc['getUser'](_0x10dbe8['creatorId']):null,'diffData':_0x10dbe8['diffData']||_0x10dbe8['data'],'authors':_0x10dbe8['authorsIds']['map'](_0x4c7ef0=>_0x2634dc['getUser'](_0x4c7ef0)),'createdAt':new Date(_0x10dbe8['createdAt']),'attributes':_0x10dbe8['attributes'],'fromVersion':_0x10dbe8['fromVersion'],'toVersion':_0x10dbe8['toVersion']});}['addRevision'](_0x3f5377,_0x1047cc=0x0){this['_revisions']['add'](_0x3f5377,_0x1047cc);}['getRevision'](_0x4a1d6c){return this['_revisions']['get'](_0x4a1d6c);}['getRevisions'](_0x16d726={'toJSON':!0x1}){const _0x3b813b=Array['from'](this['_revisions']);return _0x3b813b['reverse'](),_0x16d726['toJSON']?_0x3b813b['map'](_0x5b855d=>_0x5b855d['toJSON']()):_0x3b813b;}['getIndex'](_0xa3b420){return this['_revisions']['getIndex'](_0xa3b420);}['getEarlierVisibleRevision'](_0x3e7bbe){const [,_0x2b82e2]=this['getRevisionsIterator'](_0x3e7bbe,{'direction':'earlier'});return _0x2b82e2;}['getLaterVisibleRevision'](_0x144acd){const [,_0x51dd93]=this['getRevisionsIterator'](_0x144acd,{'direction':'later'});return _0x51dd93;}['getRevisionsInDiff'](_0x13fdfa){const _0xfa6b78=[];for(const _0x379ee5 of this['getRevisionsIterator'](_0x13fdfa['newRevisionId']))if(_0xfa6b78['push'](_0x379ee5),_0x379ee5['id']===_0x13fdfa['oldRevisionId'])break;return _0xfa6b78;}*['getRevisionsIterator'](_0x15d2a5,{direction:_0x66c1ed='earlier',filter:_0x4f6057=_0x408411=>!0x0}={}){const _0x1d6643='earlier'===_0x66c1ed?0x1:-0x1;let _0x2c7294=this['_revisions']['get'](_0x15d2a5),_0x24980e=this['getIndex'](_0x2c7294);for(yield _0x2c7294;_0x2c7294;){if(_0x24980e+=_0x1d6643,_0x2c7294=this['getRevision'](_0x24980e),!_0x2c7294)return;_0x4f6057(_0x2c7294)&&(yield _0x2c7294);}}}function y(_0x34ffc3,_0x1061a4,_0x298116){const t=_0x34ffc3['t'];switch(_0x1061a4){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'},_0x298116);case'X_OF_Y_CHANGES':return t({'string':'%0\x20of\x20%1','id':'X_OF_Y_CHANGES'},_0x298116);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':_0x17212c,'a':_0x5754e2,'e':_0x52d8f6,'r':_0x1158ef,'u':_0x31b59c};class l extends _0x56b4f6{['adapter'];['currentRevision'];['repository'];['_revisionDataBuilder'];['_source'];['_initialRevisionId'];['_bufferedUpdates'];['_pendingAction'];['_continueCurrentRevision'];['_startingVersion'];['_loadedStateData'];static get['pluginName'](){return'RevisionTracker';}static get['requires'](){return[_0x556799,A,_0x306bd0];}constructor(_0x2eb8e4){super(_0x2eb8e4),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 _0x417228=_0x27425f();this['_source']={'history':this['editor']['model']['document']['history'],'getLatestVersion':()=>Promise['resolve'](this['editor']['model']['document']['version']),'getCurrentRevisionId':()=>_0x417228},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 _0x25ddea=this['repository']['getRevision'](0x0),_0x4ce130=_0x25ddea&&null===_0x25ddea['creator']?_0x25ddea:null;if(this['_continueCurrentRevision']=!!_0x4ce130&&this['editor']['config']['get']('revisionHistory.resumeUnsavedRevision'),this['editor']['plugins']['has']('RealTimeCollaborationClient')){const _0x43873a=this['_source']['getCurrentRevisionId'](),_0x3b126e=this['repository']['getRevision'](_0x43873a);if(_0x3b126e)this['_startingVersion']=_0x3b126e['fromVersion'],this['_continueCurrentRevision']=!0x1;else{const _0x25b319=this['_source']['history']['_operations']['find'](_0x5c8bca=>!_0x5c8bca['_isInit']),_0x303d79=_0x25b319?_0x25b319['baseVersion']:this['_source']['history']['version'];_0x25ddea?(_0x25ddea['toVersion']<_0x303d79&&_0x25ddea['_update']({'toVersion':_0x303d79}),this['_continueCurrentRevision']?(this['_source']['getCurrentRevisionId']=()=>_0x4ce130['id'],this['_startingVersion']=_0x4ce130['fromVersion']):(this['_startingVersion']=_0x25ddea['toVersion'],this['_continueCurrentRevision']=!0x1)):(this['_startingVersion']=_0x303d79,this['_continueCurrentRevision']=!0x1);}}else _0x4ce130&&(this['editor']['model']['document']['history']['version']=Math['max'](_0x4ce130['toVersion'],this['editor']['model']['document']['history']['version']),_0x4ce130['fromVersion']===_0x4ce130['toVersion']?(0x0!==_0x4ce130['fromVersion']&&(this['_source']['getCurrentRevisionId']=()=>_0x4ce130['id']),this['_continueCurrentRevision']=!0x1):this['_continueCurrentRevision']&&(this['_source']['getCurrentRevisionId']=()=>_0x4ce130['id'],this['_startingVersion']=_0x4ce130['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',_0x33a6af=>!_0x33a6af);}async['afterInit'](){if(this['repository']['length']>0x0){const _0x493243=this['repository']['getRevision'](0x0),_0x3be56a=await this['getRevisionDocumentData'](_0x493243),_0xde22a1=await this['getRevisionRootsAttributes'](_0x493243);this['_replaceEditorDataWithRevisionData'](_0x3be56a,_0xde22a1);}}['setSource'](_0x467e6a){this['_source']=_0x467e6a;}async['update'](){const _0x5de782=await this['_source']['getLatestVersion']();if(_0x5de782>this['currentRevision']['toVersion']){await this['_loadState']();const _0x5517d4=this['buildRevisionData']({'revision':this['currentRevision'],'to':_0x5de782});_0x5517d4['authors']=_0x5517d4['authorsIds']['map'](_0x40ffc9=>this['editor']['plugins']['get']('Users')['getUser'](_0x40ffc9)),this['currentRevision']['_update'](_0x5517d4);}}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'](_0x3d96a2={},_0x3d0ef9=null){const _0x18a7b3=[];await this['_loadState'](),this['_continueCurrentRevision']=!0x1,_0x3d0ef9>this['currentRevision']['toVersion']&&(_0x3d0ef9=null),null===_0x3d0ef9&&(_0x3d0ef9=await this['_source']['getLatestVersion']());const _0x15e890=this['_getFromVersion'](_0x3d0ef9),_0x574656=this['buildRevisionData']({'from':_0x15e890,'to':_0x3d0ef9});if(this['currentRevision']['toVersion']<_0x3d0ef9){const _0x3d1723=this['buildRevisionData']({'revision':this['currentRevision'],'from':_0x3d0ef9,'to':_0x3d0ef9});_0x3d1723['authors']=[],_0x3d1723['authorsIds']=[],_0x3d1723['id']=this['currentRevision']['id'],this['currentRevision']['_update'](_0x3d1723,!0x0),delete _0x3d1723['authors'],_0x18a7b3['push'](_0x3d1723);}_0x3d96a2['creatorId']=this['editor']['plugins']['get']('Users')['me']['id'],_0x3d96a2['name']=_0x3d96a2['name']||null,_0x3d96a2['id']=_0x3d96a2['id']||_0x27425f(),_0x3d96a2={..._0x3d96a2,..._0x574656};const _0x399663=this['addRevisionData'](_0x3d96a2);_0x18a7b3['push'](_0x3d96a2);const _0x145572=this['repository']['getIndex'](_0x399663);if(0x0!==_0x145572){const _0x100802=this['repository']['getRevision'](_0x145572-0x1);if(_0x100802['fromVersion']!==_0x3d0ef9){const _0x232aae=this['_revisionDataBuilder']['getData'](_0x3d0ef9,_0x100802['toVersion']),_0x23901c={'id':_0x100802['id'],'diffData':_0x232aae['diffData'],'authorsIds':_0x232aae['authorsIds'],'authors':_0x232aae['authorsIds']['map'](_0x39a2e=>this['editor']['plugins']['get']('Users')['getUser'](_0x39a2e)),'fromVersion':_0x3d0ef9};_0x100802===this['currentRevision']&&(_0x23901c['createdAt']=new Date(_0x3d96a2['createdAt']['getTime']()+0xa)),_0x100802['_update'](_0x23901c,!0x0),delete _0x23901c['authors'],_0x18a7b3['push'](_0x23901c);}}if(this['adapter']){for(const _0x3dc3ba of _0x18a7b3)this['_bufferUpdate'](_0x3dc3ba['id'],_0x3dc3ba,!0x0);this['sendBufferedUpdates']();}return _0x399663;}['addRevisionData'](_0x918103){const _0x1c6990=this['repository']['createRevision'](_0x918103);return this['adapter']&&_0x1c6990['on']('_update',(_0x4e8f56,_0x5c3f2f,_0xe15582)=>{_0xe15582||(this['_bufferUpdate'](_0x5c3f2f['id'],_0x5c3f2f,!0x0),this['sendBufferedUpdates']());}),this['repository']['addRevision'](_0x1c6990,this['_findInsertionIndex'](_0x1c6990)),_0x1c6990;}async['getRevisionDocumentData'](_0x475c04){await this['_loadRevisionData'](_0x475c04);const _0x5d5cf6={};for(const _0x5a5fb8 in _0x475c04['diffData']){if(_0x475c04['diffData'][_0x5a5fb8]['attachChange']&&!_0x475c04['diffData'][_0x5a5fb8]['attachChange']['isAttached'])continue;const _0x3665af=this['_removeRevisionMarkers'](JSON['parse'](_0x475c04['diffData'][_0x5a5fb8]['insertions'])),_0x325d72=this['editor']['editing']['view']['document'],_0x3a5f7e=new _0x1c65ec(_0x325d72,_0x3665af['map'](_0x54fb55=>B(_0x54fb55,this['editor'])));this['editor']['data']['processor']['useFillerType']('marked'),_0x5d5cf6[_0x5a5fb8]=this['editor']['data']['processor']['toData'](_0x3a5f7e),this['editor']['data']['processor']['useFillerType']('default');}return _0x5d5cf6;}async['getRevisionRootsAttributes'](_0x228da4){await this['_loadRevisionData'](_0x228da4);const _0xa74a3c={};for(const _0x4a1d23 in _0x228da4['diffData'])_0x228da4['diffData'][_0x4a1d23]['attachChange']&&!_0x228da4['diffData'][_0x4a1d23]['attachChange']['isAttached']||(_0xa74a3c[_0x4a1d23]=_0x228da4['diffData'][_0x4a1d23]['attributesAfter']||{});return _0xa74a3c;}['sendBufferedUpdates'](){if(0x0===this['_bufferedUpdates']['size'])return;if(this['_isPendingUpdate'])return;let _0x5c9efe=Array['from'](this['_bufferedUpdates']['values']());this['_bufferedUpdates']['clear']();for(let _0x115012=0x0;_0x115012<_0x5c9efe['length'];_0x115012++){const _0x34e4f4=_0x5c9efe[_0x115012];let _0x45a5c4=!0x1;for(const _0x4333ef of Object['keys'](_0x34e4f4))void 0x0===_0x34e4f4[_0x4333ef]?delete _0x34e4f4[_0x4333ef]:'id'!==_0x4333ef&&(_0x45a5c4=!0x0);_0x45a5c4||(_0x5c9efe[_0x115012]=null);}if(_0x5c9efe=_0x5c9efe['filter'](_0x1774f6=>null!==_0x1774f6),!_0x5c9efe['length'])return;for(let _0x18b8fc=0x0;_0x18b8fc<_0x5c9efe['length'];_0x18b8fc++){const _0x493682=_0x5c9efe[_0x18b8fc];void 0x0!==_0x493682['fromVersion']&&void 0x0===_0x493682['toVersion']&&(_0x493682['toVersion']=this['repository']['getRevision'](_0x493682['id'])['toVersion']),void 0x0!==_0x493682['toVersion']&&void 0x0===_0x493682['fromVersion']&&(_0x493682['fromVersion']=this['repository']['getRevision'](_0x493682['id'])['fromVersion']);}const _0x128e0d=this['editor']['config']['get']('collaboration.channelId');this['_isPendingUpdate']=!0x0,this['_addPendingAction'](),this['adapter']['updateRevisions'](_0x5c9efe,_0x128e0d)['finally'](()=>{this['_isPendingUpdate']=!0x1;})['then'](_0x37bcad=>{if(_0x37bcad){for(const _0x345448 of _0x37bcad)this['setRevisionData']({'id':_0x345448['id'],'createdAt':_0x345448['createdAt']});}this['_removePendingAction'](),this['sendBufferedUpdates']();});}['_replaceEditorDataWithRevisionData'](_0x5aa75a,_0x4fb542){let _0x25f7a6=this['editor']['config']['get']('initialData'),_0x31bfd9=this['editor']['config']['get']('rootsAttributes');if(void 0x0===_0x25f7a6){_0x25f7a6={};for(const _0x10c108 of this['editor']['model']['document']['getRootNames']())_0x25f7a6[_0x10c108]='';}if('string'==typeof _0x25f7a6&&(_0x25f7a6={'main':_0x25f7a6}),void 0x0===_0x31bfd9){_0x31bfd9={};for(const _0x1d92c3 of this['editor']['model']['document']['getRootNames']())_0x31bfd9[_0x1d92c3]={};}let _0x5479ff=!0x1;const _0x491ba1=Object['keys'](_0x25f7a6),_0x274a56=Object['keys'](_0x5aa75a);for(const _0x4744ea of _0x491ba1){if(_0x25f7a6[_0x4744ea]!==_0x5aa75a[_0x4744ea]&&''!==_0x25f7a6[_0x4744ea]['trim']()){_0x5479ff=!0x0;break;}if(!_0x4eb14b(_0x31bfd9[_0x4744ea],_0x4fb542[_0x4744ea])&&Object['keys'](_0x31bfd9[_0x4744ea])['length']>0x0){_0x5479ff=!0x0;break;}}_0x5479ff||(_0x5479ff=_0x274a56['some'](_0x5c0837=>!this['editor']['model']['document']['getRoot'](_0x5c0837))),_0x5479ff&&_0x204ac0('editor-initial-data-replaced-with-revision-data',{'editorData':_0x25f7a6,'editorRootsAttributes':_0x31bfd9,'revisionData':_0x5aa75a,'revisionRootsAttributes':_0x4fb542}),this['editor']['config']['set']('initialData',_0x5aa75a),this['editor']['config']['set']('rootsAttributes',_0x4fb542);}['_addPendingAction'](){if(!this['_pendingAction']){const _0x4892c1=this['editor']['plugins']['get']('PendingActions');this['_pendingAction']=_0x4892c1['add'](y(this['editor']['locale'],'PENDING_ACTION_REVISION_HISTORY'));}}['_removePendingAction'](){this['_pendingAction']&&(this['editor']['plugins']['get']('PendingActions')['remove'](this['_pendingAction']),this['_pendingAction']=null);}['_findInsertionIndex'](_0x24eb46){const _0x58efe4=this['repository']['getRevisions']();_0x58efe4['reverse']();let _0x47759b=0x0;for(;_0x47759b<_0x58efe4['length'];){const _0x5c120f=_0x58efe4[_0x47759b];if(_0x5c120f===this['currentRevision']){_0x47759b++;continue;}if(_0x5c120f['id']===this['_initialRevisionId'])break;const _0x20c514=_0x24eb46['toVersion']-_0x5c120f['toVersion']||_0x24eb46['fromVersion']-_0x5c120f['fromVersion'];if(_0x20c514>0x0)break;if(_0x20c514<0x0)_0x47759b++;else{if(!_0x24eb46['creator']&&_0x5c120f['creator'])break;if(_0x5c120f['creator']||!_0x24eb46['creator']){if(_0x24eb46['createdAt']>_0x5c120f['createdAt'])break;_0x47759b++;}else _0x47759b++;}}return _0x47759b;}['setRevisionData'](_0x5efb3c){const _0x3e2bd9=this['repository']['getRevision'](_0x5efb3c['id']);if(_0x5efb3c['createdAt']&&(_0x5efb3c['createdAt']=new Date(_0x5efb3c['createdAt'])),_0x5efb3c['authorsIds']){const _0x1d7315=this['editor']['plugins']['get']('Users');_0x5efb3c['authors']=_0x5efb3c['authorsIds']['map'](_0x39c05b=>_0x1d7315['getUser'](_0x39c05b));}_0x3e2bd9['_update'](_0x5efb3c,!0x0);}['buildRevisionData']({revision:_0x2b04dc=null,from:_0x522264=null,to:_0x3a392b=null}){_0x522264=null!==_0x522264?_0x522264:_0x2b04dc['fromVersion'],_0x3a392b=null!==_0x3a392b?_0x3a392b:_0x2b04dc['toVersion'];const _0x4f7554=this['_revisionDataBuilder']['getData'](_0x522264,_0x3a392b),_0x219fdf={'diffData':_0x4f7554['diffData'],'authorsIds':_0x4f7554['authorsIds'],'fromVersion':_0x522264,'toVersion':_0x3a392b};if(!_0x2b04dc||_0x3a392b!==_0x2b04dc['toVersion']){const _0x47f431=_0x3a392b-0x1,_0x1829a8=this['_source']['history']['getOperation'](_0x47f431);_0x219fdf['createdAt']=_0x1829a8&&_0x1829a8['createdAt']||new Date();}if(this['_loadedStateData']&&_0x522264===this['_loadedStateData']['fromVersion']){for(const _0x56a72b of this['_loadedStateData']['authors'])_0x219fdf['authorsIds']['includes'](_0x56a72b['id'])||_0x219fdf['authorsIds']['push'](_0x56a72b['id']);}return _0x219fdf;}['_loadRevisionData'](_0x3cc12d){if(!_0x3cc12d||_0x3cc12d['diffData'])return Promise['resolve']();{const _0x7d9b19=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0x7d9b19,'revisionId':_0x3cc12d['id']})['then'](_0x1d6c7e=>{_0x3cc12d['diffData']=_0x1d6c7e['diffData'];});}}['_bufferUpdate'](_0x5a0f69,_0x43e393,_0x236d21){if(this['_bufferedUpdates']['has'](_0x5a0f69)){const _0x15c6d6=this['_bufferedUpdates']['get'](_0x5a0f69);_0x43e393=_0x236d21?{..._0x15c6d6,..._0x43e393}:{..._0x43e393,..._0x15c6d6};}this['_bufferedUpdates']['set'](_0x5a0f69,_0x43e393);}['_getFromVersion'](_0x370791){const _0x3fac8a=this['repository']['getRevisions']();_0x3fac8a['reverse'](),_0x3fac8a['shift']();const _0x2a5c9a=_0x3fac8a['find'](_0x25d155=>_0x25d155['toVersion']<=_0x370791)['toVersion'];return _0x2a5c9a<this['_startingVersion']?this['_startingVersion']:_0x2a5c9a;}['_createInitialRevision'](_0x3dfa21){const _0x36e4eb=this['repository']['getRevision'](this['repository']['length']-0x1);if(_0x36e4eb)this['_initialRevisionId']=_0x36e4eb['id'];else{const _0x5b106b=!this['editor']['model']['document']['roots']['find'](_0x44c5a1=>this['editor']['model']['hasContent'](_0x44c5a1)),_0x2f23e9=this['editor']['plugins']['get']('Users')['me']['id'],_0x3ee8c3=y(this['editor']['locale'],_0x5b106b?'Empty\x20document':'Initial\x20revision');this['_makeRevision']({'from':_0x3dfa21,'to':_0x3dfa21,'id':this['_initialRevisionId'],'name':_0x3ee8c3,'creatorId':_0x2f23e9});}}['_createCurrentRevision'](_0x26a481){const _0x4794d8=this['_source']['getCurrentRevisionId']();this['currentRevision']=this['repository']['getRevision'](_0x4794d8),this['currentRevision']||(this['currentRevision']=this['_makeRevision']({'from':_0x26a481,'to':_0x26a481,'id':_0x4794d8,'name':'','creatorId':null}));}['_makeRevision']({name:_0x2467e8,from:_0x20095c,to:_0x50c3af,creatorId:_0x458df3,id:_0x332b4c}){const _0x20ef4c=this['buildRevisionData']({'from':_0x20095c,'to':_0x50c3af});_0x20ef4c['name']=_0x2467e8,_0x20ef4c['creatorId']=_0x458df3,_0x20ef4c['id']=_0x332b4c;const _0x59ea7b=this['addRevisionData'](_0x20ef4c);return this['adapter']&&this['_bufferUpdate'](_0x20ef4c['id'],_0x20ef4c,!0x0),_0x59ea7b;}['_setConversion'](){this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'});}['_removeRevisionMarkers'](_0xa35fd7){return(_0xa35fd7=_0xa35fd7['filter'](_0x20fcd9=>!_0x20fcd9['name']||'revision-start'!==_0x20fcd9['name']&&'revision-end'!==_0x20fcd9['name']))['forEach'](_0x428cb8=>{'string'!=typeof _0x428cb8&&(_0x428cb8['children']=this['_removeRevisionMarkers'](_0x428cb8['children']),_0x428cb8['attributes']=_0x428cb8['attributes']['filter'](_0x35a945=>!_0x35a945[0x0]['startsWith']('data-revision-')));}),_0xa35fd7;}}function B(_0x12e99b,_0x2bb619){const _0x47b499=_0x2bb619['editing']['view']['document'];if('string'==typeof _0x12e99b)return new _0x5d054e(_0x47b499,_0x12e99b);{const _0x24f9b4=_0x12e99b['children']['map'](_0x571170=>B(_0x571170,_0x2bb619));return new(T[_0x12e99b['type']]||_0x1f988b)(_0x47b499,_0x12e99b['name'],_0x12e99b['attributes'],_0x24f9b4);}}class J{['editor'];['source'];['_savedMetaData'];['_lastFrom'];['_lastTo'];['_markers'];['_diffRoots'];['_diffRootsAttributes'];['_baseRoots'];['_baseRootsAttributes'];['_idsRoots'];['_baseIdsRoots'];['_touched'];['_touchedMarkers'];['_touchedRoots'];['_revisionId'];['_startingRevisionId'];constructor(_0x40a89a){this['editor']=_0x40a89a,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'](_0x1f1540){this['source']=_0x1f1540;const _0x2d83d8=new Map(),_0x3eae8c=new Map(),_0x4e4be8=this['editor']['model']['document']['roots']['map'](_0xd2a6a7=>_0xd2a6a7['rootName']);for(const _0x429d98 of _0x4e4be8){const _0x337122=this['editor']['model']['document']['getRoot'](_0x429d98),_0x33754d=q(_0x337122);_0x2d83d8['set'](_0x429d98,_0x33754d),_0x3eae8c['set'](_0x429d98,Object['fromEntries'](_0x337122['getAttributes']()));}const _0x37e322=Array['from'](this['editor']['model']['markers'])['map'](_0x13f051=>[_0x13f051['name'],_0x13f051['getRange']()]),_0x526d10=this['source']['version'];this['_saveMetaData'](_0x526d10,_0x2d83d8,_0x37e322,_0x3eae8c),this['_startingRevisionId']=this['_revisionId'];const _0x39dc62=new Map(),_0x20ea4a=new Map();for(const _0x17f1fa of _0x4e4be8){const _0x38068e=G(_0x17f1fa);_0x39dc62['set'](_0x17f1fa,_0x38068e),_0x20ea4a['set'](_0x17f1fa,{});}this['_saveMetaData'](Number['NEGATIVE_INFINITY'],_0x39dc62,[],_0x20ea4a);}['getData'](_0x16f151,_0x20b470){if(this['_lastFrom']===_0x16f151&&this['_lastTo']<=_0x20b470)this['_savedMetaData']['size']>0x1&&this['_removeMetaData'](this['_lastTo']),this['_applyOperations'](this['_lastTo'],_0x20b470,!0x0);else{if(!this['_savedMetaData']['has'](_0x16f151)){const _0x550328=this['_getPreviousFrom'](_0x16f151);this['_calculateMetaData'](_0x550328,_0x16f151,!0x1);}this['_calculateMetaData'](_0x16f151,_0x20b470,!0x0);}return this['_lastFrom']=_0x16f151,this['_lastTo']=_0x20b470,this['_getState']();}['loadState'](_0x4abd09){this['_reset'](),this['_lastFrom']=_0x4abd09['fromVersion'],this['_lastTo']=_0x4abd09['toVersion'];for(const _0x546ed8 in _0x4abd09['diffData']){const _0x3caf49=_0x4abd09['diffData'][_0x546ed8]['attachChange'],_0x27dd87=_0x342b60(_0x4abd09['diffData'][_0x546ed8]['attributesBefore'])||{},_0x397e59=this['_makeModelFromViewString'](_0x4abd09['diffData'][_0x546ed8]['deletions']);_0x397e59['rootName']=_0x546ed8,_0x397e59['_isAttached']=!_0x3caf49||!_0x3caf49['isAttached'],_0x397e59['isAttached']=()=>_0x397e59['_isAttached'],this['_baseRoots']['set'](_0x546ed8,_0x397e59),this['_baseRootsAttributes']['set'](_0x546ed8,_0x27dd87),_0x3caf49&&this['_touchedRoots']['set'](_0x546ed8,_0x3caf49);const _0x2e22ea=this['_makeIdsRoot'](_0x397e59);this['_baseIdsRoots']['set'](_0x546ed8,_0x2e22ea);for(const [_0xa05f43,_0x7b30f3]of _0x397e59['markers']){if(!_0xa05f43['startsWith']('revision:'))continue;const _0x4acd29=_0xa05f43['split'](':')[0x2];for(const _0x1830b8 of _0x7b30f3['getWalker']({'singleCharacters':!0x0})){const _0x1762bc=this['_getVidAttributeName'](_0x1830b8),_0xc1c8b5='elementEnd'==_0x1830b8['type']?_0x1830b8['previousPosition']['path']['slice'](0x0,-0x1):_0x1830b8['previousPosition']['path'],_0x5a45f7=_0x2e22ea['getNodeByPath'](_0xc1c8b5)['getAttribute'](_0x1762bc);this['_touched']['set'](_0x5a45f7,{'userId':_0x4acd29});}}}this['_startingRevisionId']=this['_revisionId'];const _0x6333a1=[...Array(this['_revisionId'])['keys']()]['slice'](0x1)['filter'](_0x4c9f75=>!this['_touched']['has'](_0x4c9f75));let _0x3e58bf=0x0;const _0x59618b=new Map();for(const _0x594994 in _0x4abd09['diffData']){const _0x3e9c52=_0x4abd09['diffData'][_0x594994]['attachChange'],_0x5b4ee9=_0x342b60(_0x4abd09['diffData'][_0x594994]['attributesAfter'])||{},_0x1ff1f1=this['_makeModelFromViewString'](_0x4abd09['diffData'][_0x594994]['insertions']);_0x1ff1f1['rootName']=_0x594994,_0x1ff1f1['_isAttached']=!_0x3e9c52||_0x3e9c52['isAttached'],_0x1ff1f1['isAttached']=()=>_0x1ff1f1['_isAttached'],this['_diffRoots']['set'](_0x594994,_0x1ff1f1),this['_diffRootsAttributes']['set'](_0x594994,_0x5b4ee9);const _0x2f013a=this['_makeIdsRoot'](_0x1ff1f1,Number['NEGATIVE_INFINITY']);this['_idsRoots']['set'](_0x594994,_0x2f013a),_0x59618b['set'](_0x594994,_0x1ff1f1['isAttached']()?_0x5b4ee9:{});for(const [_0xa643b6,_0x414c14]of _0x1ff1f1['markers']){if(!_0xa643b6['startsWith']('revision:'))continue;const _0x19d7a6=_0xa643b6['split'](':')[0x2];for(const _0x1eca62 of _0x414c14['getWalker']({'singleCharacters':!0x0})){const _0x485517=this['_getVidAttributeName'](_0x1eca62),_0x56a521=this['_revisionId']++,_0x40d773='elementEnd'==_0x1eca62['type']?_0x1eca62['previousPosition']['path']['slice'](0x0,-0x1):_0x1eca62['previousPosition']['path'];_0x2f013a['getNodeByPath'](_0x40d773)['_setAttribute'](_0x485517,_0x56a521),this['_touched']['set'](_0x56a521,{'userId':_0x19d7a6});}}for(const _0x25fadb of this['editor']['model']['createRangeIn'](_0x1ff1f1)['getWalker']({'singleCharacters':!0x0})){const _0x57e8d1=this['_getVidAttributeName'](_0x25fadb),_0x1faa78='elementEnd'==_0x25fadb['type']?_0x25fadb['previousPosition']['path']['slice'](0x0,-0x1):_0x25fadb['previousPosition']['path'],_0x1392b5=_0x2f013a['getNodeByPath'](_0x1faa78);_0x1392b5['getAttribute'](_0x57e8d1)>0x0||_0x1392b5['_setAttribute'](_0x57e8d1,_0x6333a1[_0x3e58bf++]);}for(const [_0x15d6e8,_0x55c4f6]of _0x1ff1f1['markers'])_0x15d6e8['startsWith']('revision:')||this['_markers']['set'](_0x15d6e8,_0x55c4f6);}const _0x45e1c4=G('$graveyard');this['_baseRoots']['set']('$graveyard',_0x45e1c4),this['_baseIdsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x45e1c4,0x1));const _0x1831c5=G('$graveyard');this['_diffRoots']['set']('$graveyard',_0x1831c5),this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x1831c5,0x1));const _0x4eddf9=Array['from'](this['_diffRoots'])['map'](([_0x4108a3,_0x1a2ba2])=>[_0x4108a3,q(_0x1a2ba2)]);this['_saveMetaData'](this['_lastTo'],_0x4eddf9,this['_markers'],_0x59618b);}['_makeModelFromViewString'](_0x522647){const _0x1f2214=JSON['parse'](_0x522647),_0x2aaba0=this['editor']['editing']['view']['document'],_0xd69579=new _0x1c65ec(_0x2aaba0,_0x1f2214['map'](_0x63dc03=>B(_0x63dc03,this['editor'])));return this['editor']['data']['toModel'](_0xd69579);}['_saveMetaData'](_0x4ed7f8,_0x23542e,_0x274535,_0x2622f4){const _0x3525d5=new Map(_0x23542e),_0x2676ef=new Map(_0x342b60(_0x2622f4)),_0x35eeea=new Map();for(const [_0x37c255,_0x5e106b]of _0x274535)_0x35eeea['set'](_0x37c255,{'start':_0x5e106b['start']['clone'](),'end':_0x5e106b['end']['clone'](),'rootName':_0x5e106b['root']['rootName']});this['_savedMetaData']['set'](_0x4ed7f8,{'roots':_0x3525d5,'markers':_0x35eeea,'rootsAttributes':_0x2676ef});}['_removeMetaData'](_0x39d3e8){this['_savedMetaData']['delete'](_0x39d3e8);}['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'](_0x194b8c,_0xe6929c=null){let _0x51ee25=null;_0x194b8c['is']('documentFragment')||(_0x51ee25=new ft(_0x194b8c['name'],{'vid_start':null===_0xe6929c?this['_revisionId']++:_0xe6929c++}));const _0x529e44=[];for(const _0x3fa33f of _0x194b8c['getChildren']())if(_0x3fa33f['is']('element')){_0x529e44['push'](this['_makeIdsRoot'](_0x3fa33f,_0xe6929c));const _0x1cf5ba=_0x529e44[_0x529e44['length']-0x1];null!==_0xe6929c&&(_0xe6929c=_0x1cf5ba['is']('element','$text')?_0x1cf5ba['getAttribute']('vid')+0x1:_0x1cf5ba['getAttribute']('vid_end')+0x1);}else{for(let _0x50c364=0x0;_0x50c364<_0x3fa33f['offsetSize'];_0x50c364++)_0x529e44['push'](new ft('$text',{'vid':null===_0xe6929c?this['_revisionId']++:_0xe6929c++}));}if(_0x194b8c['is']('documentFragment')){const _0x289109=G(_0x194b8c['rootName']);return _0x289109['_insertChild'](0x0,_0x529e44),_0x289109;}return _0x51ee25['_setAttribute']('vid_end',null===_0xe6929c?this['_revisionId']++:_0xe6929c++),_0x51ee25['_insertChild'](0x0,_0x529e44),_0x51ee25;}['_calculateMetaData'](_0x3531fa,_0x18ddae,_0x59fc42){this['_reset']();const {roots:_0x583953,markers:_0x5f5cb4,rootsAttributes:_0x4a256e}=this['_savedMetaData']['get'](_0x3531fa);this['_baseRoots']=new Map(_0x583953),this['_baseRootsAttributes']=new Map(_0x342b60(_0x4a256e));for(const [_0x249928,_0x134df8]of this['_baseRoots'])if('$graveyard'!==_0x249928&&(this['_diffRoots']['set'](_0x249928,q(_0x134df8)),this['_diffRootsAttributes']=new Map(_0x342b60(_0x4a256e)),_0x59fc42)){const _0x5e68ee=this['_revisionId'];this['_idsRoots']['set'](_0x249928,this['_makeIdsRoot'](_0x134df8)),this['_baseIdsRoots']['set'](_0x249928,this['_makeIdsRoot'](_0x134df8,_0x5e68ee));}this['_startingRevisionId']=this['_revisionId'],this['_diffRoots']['set']('$graveyard',q(this['_baseRoots']['get']('$graveyard'))),_0x59fc42&&this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](this['_baseRoots']['get']('$graveyard')));for(const [_0x1fb412,_0x2f9925]of _0x5f5cb4){const _0x58964f=this['_baseRoots']['get'](_0x2f9925['rootName']),_0x53920c=this['_diffRoots']['get'](_0x2f9925['rootName']),_0x217ea4=new vt(this['_fixPosition'](_0x2f9925['start'],_0x58964f),this['_fixPosition'](_0x2f9925['end'],_0x58964f)),_0x45881c=this['_fixRange'](_0x217ea4,_0x53920c);_0x58964f['markers']['set'](_0x1fb412,_0x217ea4),this['_markers']['set'](_0x1fb412,_0x45881c);}this['_applyOperations'](_0x3531fa,_0x18ddae,_0x59fc42);}['_applyOperations'](_0x5a6882,_0x2d4238,_0x2c388e){for(const _0x110888 of this['source']['getOperations'](_0x5a6882,_0x2d4238))this['_handleOperation'](_0x110888,_0x2c388e);for(const _0x2c0e44 of this['_diffRoots']['values']())_0x2c0e44['markers']['clear']();for(const [_0x313a4f,_0x22bad2]of this['_markers']){this['_diffRoots']['get'](_0x22bad2['root']['rootName'])['markers']['set'](_0x313a4f,_0x22bad2['clone']());}const _0x38cefa=new Map(),_0x48223b=new Map();for(const [_0x1fc634,_0x3c3db6]of this['_diffRoots'])_0x38cefa['set'](_0x1fc634,q(_0x3c3db6)),_0x48223b['set'](_0x1fc634,this['_diffRootsAttributes']['get'](_0x1fc634));this['_saveMetaData'](_0x2d4238,_0x38cefa,this['_markers'],_0x48223b);}['_getPreviousFrom'](_0x284c3d){const _0xb21f75=Array['from'](this['_savedMetaData']['keys']());_0xb21f75['sort']((_0x4ea927,_0x25fae4)=>_0x4ea927-_0x25fae4),_0xb21f75['reverse']();for(const _0x1f7109 of _0xb21f75)if(_0x1f7109<_0x284c3d)return _0x1f7109;return Number['NEGATIVE_INFINITY'];}['_copyMarkers'](_0x312444,_0x18436c){const _0x3372b8=Array['from'](_0x18436c['markers'])['map'](([_0x17160e,_0x14a068])=>[_0x17160e,this['_fixRange'](_0x14a068,_0x312444)]);_0x312444['markers']=new Map(_0x3372b8);}['_transformMarkers'](_0xee47b8){for(const _0x5360c9 of this['_markers']['values']()){const _0x17ec5b=_0x5360c9['getTransformedByOperation'](_0xee47b8),_0x4ef659=vt['_createFromRanges'](_0x17ec5b);_0x5360c9['start']=_0x4ef659['start'],_0x5360c9['end']=_0x4ef659['end'];}}['_handleOperation'](_0x5224da,_0x42a52e){if('addRoot'==_0x5224da['type']||'detachRoot'==_0x5224da['type'])return void this['_handleRootOperation'](_0x5224da,_0x42a52e);if('insert'==_0x5224da['type']){const _0x3bd17b=_0x5224da['position']['root']['rootName'];this['_diffRoots']['has'](_0x3bd17b)||(this['_diffRoots']['set'](_0x3bd17b,G(_0x3bd17b,!0x0)),this['_diffRootsAttributes']['set'](_0x3bd17b,{}),_0x42a52e&&this['_idsRoots']['set'](_0x3bd17b,G(_0x3bd17b,!0x0)));}else{if('addRootAttribute'==_0x5224da['type']||'removeRootAttribute'==_0x5224da['type']||'changeRootAttribute'==_0x5224da['type'])return void this['_handleRootAttributeOperation'](_0x5224da);}const _0x22cc5c=this['_cloneOperation'](_0x5224da,this['_diffRoots']);if('marker'!==_0x5224da['type']&&(_0x22cc5c['_execute'](),this['_transformMarkers'](_0x22cc5c)),_0x42a52e)switch(_0x22cc5c['type']){case'insert':this['_handleInsertOperation'](_0x5224da);break;case'move':case'remove':case'reinsert':this['_handleMoveOperation'](_0x5224da);break;case'merge':this['_handleMergeOperation'](_0x5224da);break;case'split':this['_handleSplitOperation'](_0x5224da);break;case'marker':this['_handleMarkerOperation'](_0x5224da);}}['_cloneOperation'](_0x4ce744,_0x548f89){const _0x2f95b9=_0x4ce744['clone']();return _0x2f95b9['_authorId']=_0x4ce744['_authorId'],this['_fixOperation'](_0x2f95b9,_0x548f89),_0x2f95b9;}['_getBaseVids'](_0x5196ad){return _0x5196ad['map'](_0x8a9268=>{const _0x2ffbd5=this['_getVidAttributeName'](_0x8a9268);return Number(_0x8a9268['item']['getAttribute'](_0x2ffbd5));});}['_generateTape'](_0x18829d,_0x167139){if(_0x18829d['is']('element','$text'))_0x167139['push']({'item':_0x18829d,'type':'text'});else{_0x18829d['is']('element')&&_0x167139['push']({'item':_0x18829d,'type':'elementStart'});for(const _0x2ab4f0 of _0x18829d['getChildren']())this['_generateTape'](_0x2ab4f0,_0x167139);_0x18829d['is']('element')&&_0x167139['push']({'item':_0x18829d,'type':'elementEnd'});}return _0x167139;}['_getState'](){const _0xd99cdd=new Map(this['_touched']),_0x2a9fa9=new Map(_0xd99cdd),_0x150270=new Map(),_0x2092a1={'insertions':{},'deletions':{}},_0x4b9653={'insertions':{},'deletions':{}},_0x53d32e=new Map(),_0x208c84=new Set([...this['_baseRoots']['keys'](),...this['_diffRoots']['keys']()]);_0x208c84['delete']('$graveyard');for(const _0x5f37e7 of _0x208c84){const _0x1c117a=this['_diffRoots']['get'](_0x5f37e7)||G(_0x5f37e7,!0x1),_0x13f86d=this['_baseRoots']['get'](_0x5f37e7)||G(_0x5f37e7,!0x1);_0x1c117a['isAttached']()||_0x13f86d['isAttached']()?(_0x2092a1['insertions'][_0x5f37e7]=q(_0x1c117a),_0x2092a1['deletions'][_0x5f37e7]=q(_0x13f86d),this['_copyMarkers'](_0x2092a1['deletions'][_0x5f37e7],_0x13f86d),this['_copyMarkers'](_0x2092a1['insertions'][_0x5f37e7],_0x1c117a),_0x4b9653['insertions'][_0x5f37e7]=this['_generateTape'](this['_idsRoots']['get'](_0x5f37e7),[]),_0x4b9653['deletions'][_0x5f37e7]=this['_generateTape'](this['_baseIdsRoots']['get'](_0x5f37e7)||G(_0x5f37e7,!0x1),[])):_0x208c84['delete'](_0x5f37e7);}for(const _0x266ae6 of _0x208c84){const _0x204c8e=_0x4b9653['insertions'][_0x266ae6];for(const _0x3d0928 of _0x204c8e){const _0x2fc61e=this['_getVidAttributeName'](_0x3d0928),_0x236517=_0x3d0928['item']['getAttribute'](_0x2fc61e);_0x2a9fa9['delete'](_0x236517),_0x236517>=this['_startingRevisionId']&&_0x150270['set'](_0x236517,_0xd99cdd['get'](_0x236517));}}for(const _0x5eeae7 of _0x208c84){const _0x313d28=_0x4b9653['insertions'][_0x5eeae7],_0x18b6d1=this['_getBaseVids'](_0x4b9653['deletions'][_0x5eeae7]);let _0x2f3e13=0x0;for(const _0x5051d1 of _0x313d28){const _0x407d56=this['_getVidAttributeName'](_0x5051d1),_0x20bce0=_0x5051d1['item']['getAttribute'](_0x407d56);if(!_0x150270['has'](_0x20bce0)&&!_0x53d32e['has'](_0x20bce0)){if(_0x2a9fa9['has'](_0x20bce0))_0x2f3e13++;else{if(_0x20bce0!=_0x18b6d1[_0x2f3e13]){const _0x5188c2=_0xd99cdd['get'](_0x20bce0)||_0xd99cdd['get'](_0x18b6d1[_0x2f3e13]);for(;_0x20bce0!=_0x18b6d1[_0x2f3e13];)_0x2a9fa9['has'](_0x18b6d1[_0x2f3e13])||(_0x53d32e['set'](_0x18b6d1[_0x2f3e13],_0x5188c2),_0xd99cdd['set'](_0x18b6d1[_0x2f3e13],_0x5188c2)),_0x2f3e13++;}_0x2f3e13++;}}}}for(const _0xf797cb of _0x208c84){const _0x25c10c=_0x4b9653['insertions'][_0xf797cb];for(const _0x58477a of _0x25c10c){const _0x29ed33=this['_getVidAttributeName'](_0x58477a),_0x273680=_0x58477a['item']['getAttribute'](_0x29ed33);if(_0x53d32e['has'](_0x273680)){const _0x99b4=_0x53d32e['get'](_0x273680);_0x2a9fa9['has'](_0x273680)||_0x2a9fa9['set'](_0x273680,{..._0x99b4}),_0x150270['set'](_0x273680,{..._0x99b4});}}}for(const _0x22a39b of _0x2a9fa9['keys']())_0x22a39b>=this['_startingRevisionId']&&_0x2a9fa9['delete'](_0x22a39b);const _0x227961=new Map();for(const _0x95a87b of _0x208c84){let _0x4f1d9f=_0x4b9653['insertions'][_0x95a87b];for(const _0x1baab2 of _0x4f1d9f)if(_0x1baab2['item']['is']('element','tableCell')){const _0x132a65=this['_getVidAttributeName'](_0x1baab2),_0x422d02=_0x1baab2['item']['getAttribute'](_0x132a65);if(_0x150270['has'](_0x422d02)){const _0x29bd58=_0x1baab2['item']['parent']['parent']['getAttribute']('vid_start'),_0x334e49=_0x227961['get'](_0x29bd58)||new Set();_0x334e49['add'](_0x150270['get'](_0x422d02)['userId']),_0x227961['set'](_0x29bd58,_0x334e49);}}_0x4f1d9f=_0x4b9653['deletions'][_0x95a87b];for(const _0x14ae6e of _0x4f1d9f)if(_0x14ae6e['item']['is']('element','tableCell')){const _0x1567f0=this['_getVidAttributeName'](_0x14ae6e),_0x5692f0=_0x14ae6e['item']['getAttribute'](_0x1567f0);if(_0x2a9fa9['has'](_0x5692f0)){const _0x3d2465=_0x14ae6e['item']['parent']['parent']['getAttribute']('vid_start'),_0x290a51=_0x227961['get'](_0x3d2465)||new Set();_0x290a51['add'](_0x2a9fa9['get'](_0x5692f0)['userId']),_0x227961['set'](_0x3d2465,_0x290a51);}}for(const _0x4ac6d2 of _0x227961['keys']())(_0x150270['has'](_0x4ac6d2)||_0x2a9fa9['has'](_0x4ac6d2))&&_0x227961['delete'](_0x4ac6d2);}for(const _0x54650a of _0x208c84){const _0x54259b=_0x4b9653['insertions'][_0x54650a];let _0x21e095=null,_0x3a3fea=null;for(const _0x4fc228 of _0x54259b){const _0x1e344c=this['_getVidAttributeName'](_0x4fc228),_0x2c991b=_0x4fc228['item']['getAttribute'](_0x1e344c),_0x4909bc=_0x227961['get'](_0x2c991b);_0x4909bc&&'elementStart'==_0x4fc228['type']&&(_0x21e095=Array['from'](_0x4909bc)[0x0],_0x3a3fea=_0x4fc228['item']['getAttribute']('vid_end')),_0x21e095&&(_0x2a9fa9['set'](_0x2c991b,{'userId':_0x21e095}),_0x150270['set'](_0x2c991b,{'userId':_0x21e095})),_0x2c991b==_0x3a3fea&&(_0x21e095=null,_0x3a3fea=null);}}const _0x520ff6={},_0x53c821=new Set();for(const _0x739cda of _0x208c84){const _0x5058e4=_0x2092a1['deletions'][_0x739cda],_0x2b95dd=_0x2092a1['insertions'][_0x739cda];for(const {userId:_0x4d26d7}of this['_touchedMarkers']['values']())null!==_0x4d26d7&&_0x53c821['add'](_0x4d26d7);for(const {userId:_0x5b6b89}of this['_touchedRoots']['values']())null!==_0x5b6b89&&_0x53c821['add'](_0x5b6b89);this['_markChanges'](_0x2b95dd,_0x4b9653['insertions'][_0x739cda],_0x150270,'insertion',_0x53c821),this['_markChanges'](_0x5058e4,_0x4b9653['deletions'][_0x739cda],_0x2a9fa9,'deletion',_0x53c821),_0x520ff6[_0x739cda]={'insertions':this['_prepareViewToSave'](_0x2b95dd),'deletions':this['_prepareViewToSave'](_0x5058e4),'attachChange':this['_touchedRoots']['get'](_0x739cda)||null,'attributesBefore':_0x342b60(this['_baseRootsAttributes']['get'](_0x739cda))||{},'attributesAfter':_0x342b60(this['_diffRootsAttributes']['get'](_0x739cda))};}return{'diffData':_0x520ff6,'authorsIds':Array['from'](_0x53c821)};}['_processRootBeforeSave'](_0x524bb1){for(const [,_0x5207ff]of _0x524bb1['markers']){const _0x2b547e=_0x5207ff['start']['getAncestors']()['filter'](_0x612020=>'tableCell'==_0x612020['name']);for(const _0x5bf406 of _0x2b547e)0x1==_0x5bf406['childCount']&&_0x5bf406['getChild'](0x0)['is']('element','paragraph')&&_0x5bf406['getChild'](0x0)['_setAttribute']('keepParagraph',!0x0);}}['_prepareViewToSave'](_0x52f6fd){this['_processRootBeforeSave'](_0x52f6fd);const _0x18d598=this['editor']['data']['toView'](_0x52f6fd,{}),_0x4b3f6a=Array['from'](_0x18d598['getChildren']())['map'](_0x2f86a1=>this['_getViewJson'](_0x2f86a1));return JSON['stringify'](_0x4b3f6a);}['_getViewJson'](_0x3f65e7){if(_0x3f65e7['is']('$text'))return _0x3f65e7['data'];{const _0x3ac0ed=_0x3f65e7;return{'type':Object['keys'](T)['find'](_0x5dc70c=>_0x3f65e7 instanceof T[_0x5dc70c]),'name':_0x3ac0ed['name'],'attributes':Array['from'](_0x3ac0ed['getAttributes']()),'children':Array['from'](_0x3ac0ed['getChildren']())['map'](_0x442c66=>this['_getViewJson'](_0x442c66))};}}['_markChanges'](_0x1c6795,_0x327da2,_0x15b6cf,_0x10ef48,_0x389d81){let _0x1fb29f=null,_0x2c4828=null,_0x3e0098=0x0;const _0x37f4a3=this['editor']['model'];for(let _0xaca8d9=0x0;_0xaca8d9<_0x327da2['length'];_0xaca8d9++){const _0x1bcc17=this['_getVidAttributeName'](_0x327da2[_0xaca8d9]),_0xad4664=_0x327da2[_0xaca8d9]['item']['getAttribute'](_0x1bcc17),_0x16925a=_0x15b6cf['get'](_0xad4664),_0x4c11d7=_0xaca8d9==_0x327da2['length']-0x1;(!_0x1fb29f&&_0x16925a&&(_0x1fb29f=_0x16925a,_0x2c4828=_0x327da2[_0xaca8d9]),_0x1fb29f&&(!_0x16925a||_0x16925a['userId']!=_0x1fb29f['userId']))&&(_0x474d80(_0x16925a,L(_0x2c4828,_0x1c6795,_0x37f4a3),L(_0x327da2[_0xaca8d9],_0x1c6795,_0x37f4a3)),_0x1fb29f=_0x16925a||null,_0x2c4828=_0x16925a?_0x327da2[_0xaca8d9]:null),_0x1fb29f&&_0x4c11d7&&_0x474d80(_0x16925a,L(_0x2c4828,_0x1c6795,_0x37f4a3),W(_0x327da2[_0xaca8d9],_0x1c6795,_0x37f4a3));}function _0x474d80(_0x1f6f8d,_0x402447,_0x34306f){const _0x3a278f=_0x1fb29f['userId'],_0x4c2b15='revision:'+_0x10ef48+':'+_0x3a278f+':'+_0x3e0098++,_0x14b13b=_0x37f4a3['createRange'](_0x402447,_0x34306f);_0x1c6795['markers']['set'](_0x4c2b15,_0x14b13b),null!==_0x3a278f&&_0x389d81['add'](_0x3a278f);}}['_getVidAttributeName'](_0x37170a){switch(_0x37170a['type']){case'elementStart':return'vid_start';case'elementEnd':return'vid_end';default:return'vid';}}['_fixOperation'](_0x2232fc,_0x17f376){_0x2232fc['baseVersion']=null;for(const _0x1758a0 in _0x2232fc){const _0x26192a=_0x2232fc[_0x1758a0];if(_0x26192a instanceof gt){const _0x1b833a=_0x17f376['get'](_0x26192a['root']['rootName']);_0x2232fc[_0x1758a0]=this['_fixPosition'](_0x26192a,_0x1b833a);}if(_0x26192a instanceof vt){const _0x462774=_0x17f376['get'](_0x26192a['root']['rootName']);_0x2232fc[_0x1758a0]=this['_fixRange'](_0x26192a,_0x462774);}'root'===_0x1758a0&&(_0x2232fc['root']=_0x17f376['get'](_0x2232fc['root']['rootName']));}}['_fixRange'](_0x2c4a0f,_0x1a8665){return this['editor']['model']['createRange'](this['_fixPosition'](_0x2c4a0f['start'],_0x1a8665),this['_fixPosition'](_0x2c4a0f['end'],_0x1a8665));}['_fixPosition'](_0x30db97,_0x52a0e0){return this['editor']['model']['createPositionFromPath'](_0x52a0e0,_0x30db97['path'],_0x30db97['stickiness']);}['_handleInsertOperation'](_0x476fb9){const _0x33a85f=this['_idsRoots']['get'](_0x476fb9['position']['root']['rootName']),_0x37c11f=this['_fixPosition'](_0x476fb9['position'],_0x33a85f),_0x492ac7=null===_0x476fb9['_authorId']?null:_0x476fb9['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x149342=_0x37c11f['parent'],_0x5764b9=this['_revisionId'],_0x295a1e=[];for(const _0x460e0e of _0x476fb9['nodes'])if(_0x460e0e['is']('element'))_0x295a1e['push'](this['_makeIdsRoot'](_0x460e0e));else{for(let _0x1a7ba8=0x0;_0x1a7ba8<_0x460e0e['offsetSize'];_0x1a7ba8++)_0x295a1e['push'](new ft('$text',{'vid':this['_revisionId']++}));}const _0x24c393=this['_revisionId'];for(let _0x124553=_0x5764b9;_0x124553<_0x24c393;_0x124553++)this['_touched']['set'](_0x124553,{'userId':_0x492ac7});_0x149342['_insertChild'](_0x37c11f['offset'],_0x295a1e);}['_handleMoveOperation'](_0x3a4774){(_0x3a4774=this['_cloneOperation'](_0x3a4774,this['_idsRoots']))['_execute']();const _0xcd5ddb=null===_0x3a4774['_authorId']?null:_0x3a4774['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x3b32ed=_0x3a4774['getMovedRangeStart'](),_0x3367a4=_0x3b32ed['parent'],_0x3691d8=_0x3b32ed['offset'];!function _0x338b41(_0xd64d92,_0x47261a,_0x6a24f3,_0x2061bc){for(let _0x2babb8=_0x6a24f3;_0x2babb8<_0x2061bc;_0x2babb8++){const _0x541f79=_0x47261a['getChild'](_0x2babb8);_0x541f79['is']('element','$text')?_0xd64d92['set'](_0x541f79['getAttribute']('vid'),{'userId':_0xcd5ddb}):(_0xd64d92['set'](_0x541f79['getAttribute']('vid_start'),{'userId':_0xcd5ddb}),_0x338b41(_0xd64d92,_0x541f79,0x0,_0x541f79['childCount']),_0xd64d92['set'](_0x541f79['getAttribute']('vid_end'),{'userId':_0xcd5ddb}));}}(this['_touched'],_0x3367a4,_0x3691d8,_0x3691d8+_0x3a4774['howMany']);}['_handleMergeOperation'](_0x2428c8){const _0x179a13=null===(_0x2428c8=this['_cloneOperation'](_0x2428c8,this['_idsRoots']))['_authorId']?null:_0x2428c8['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x3d8339=_0x2428c8['targetPosition']['parent'],_0x53ad14=_0x2428c8['sourcePosition']['parent'],_0x3ff8e3=_0x3d8339['getAttribute']('vid_end'),_0x141019=_0x53ad14['getAttribute']('vid_start');_0x3d8339['_setAttribute']('vid_end',_0x53ad14['getAttribute']('vid_end')),_0x53ad14['_setAttribute']('vid_end',_0x3ff8e3),this['_touched']['set'](_0x141019,{'userId':_0x179a13}),this['_touched']['set'](_0x3ff8e3,{'userId':_0x179a13}),_0x2428c8['_execute']();}['_handleSplitOperation'](_0x27aa9b){const _0x5f4471=null===(_0x27aa9b=this['_cloneOperation'](_0x27aa9b,this['_idsRoots']))['_authorId']?null:_0x27aa9b['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x2ae41e=_0x27aa9b['graveyardPosition'],_0xce0bcb=_0x27aa9b['splitPosition']['parent'];_0x27aa9b['_execute']();const _0x151fd9=_0xce0bcb['getAttribute']('vid_end'),_0x264f92=_0x27aa9b['insertionPosition']['nodeAfter'];if(_0x2ae41e){const _0x3acde4=_0x264f92['getAttribute']('vid_end'),_0x313b76=_0xce0bcb['getAttribute']('vid_end');_0xce0bcb['_setAttribute']('vid_end',_0x3acde4),_0x264f92['_setAttribute']('vid_end',_0x313b76),this['_touched']['set'](_0xce0bcb['getAttribute']('vid_end'),{'userId':_0x5f4471}),this['_touched']['set'](_0x264f92['getAttribute']('vid_start'),{'userId':_0x5f4471});}else{const _0x4a76ee=this['_revisionId']++,_0xa7a981=this['_revisionId']++;_0xce0bcb['_setAttribute']('vid_end',_0x4a76ee),_0x264f92['_setAttribute']('vid_start',_0xa7a981),_0x264f92['_setAttribute']('vid_end',_0x151fd9),this['_touched']['set'](_0x4a76ee,{'userId':_0x5f4471}),this['_touched']['set'](_0xa7a981,{'userId':_0x5f4471});}}['_handleMarkerOperation'](_0x17b187){if(!_0x17b187['affectsData'])return;const _0xba5ef2=(_0x17b187=this['_cloneOperation'](_0x17b187,this['_diffRoots']))['oldRange']?_0x17b187['oldRange']['root']:null,_0x144a55=_0x17b187['newRange']?_0x17b187['newRange']['root']:null;_0xba5ef2&&this['_markers']['delete'](_0x17b187['name']),_0x144a55&&this['_markers']['set'](_0x17b187['name'],_0x17b187['newRange']['clone']());const _0x4e8905=null===_0x17b187['_authorId']?null:_0x17b187['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x4c707c=_0x17b187['name'];if(!this['_touchedMarkers']['has'](_0x4c707c))return void this['_touchedMarkers']['set'](_0x4c707c,{'range':_0x17b187['oldRange'],'userId':_0x4e8905});const _0x333a62=this['_touchedMarkers']['get'](_0x4c707c),_0x45e5cd=_0x333a62['range'],_0x2e3bde=_0x17b187['newRange'];null==_0x45e5cd&&null==_0x2e3bde||_0x45e5cd&&_0x2e3bde&&_0x45e5cd['isEqual'](_0x2e3bde)?this['_touchedMarkers']['delete'](_0x17b187['name']):_0x333a62['userId']=_0x4e8905;}['_handleRootOperation'](_0x37736a,_0x542de6){this['_diffRoots']['has'](_0x37736a['rootName'])?this['_diffRoots']['get'](_0x37736a['rootName'])['_isAttached']=_0x37736a['isAdd']:(this['_diffRoots']['set'](_0x37736a['rootName'],G(_0x37736a['rootName'],!0x0)),this['_diffRootsAttributes']['set'](_0x37736a['rootName'],{}),_0x542de6&&this['_idsRoots']['set'](_0x37736a['rootName'],G(_0x37736a['rootName'],!0x0)));const _0x3484a5=null===_0x37736a['_authorId']?null:_0x37736a['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x46cc4b=this['_touchedRoots']['get'](_0x37736a['rootName']);_0x46cc4b&&_0x46cc4b['userId']===_0x3484a5?this['_touchedRoots']['delete'](_0x37736a['rootName']):this['_touchedRoots']['set'](_0x37736a['rootName'],{'userId':_0x3484a5,'isAttached':_0x37736a['isAdd']});}['_handleRootAttributeOperation'](_0x2157f4){const _0x5da14c=this['_diffRootsAttributes']['get'](_0x2157f4['root']['rootName']);null===_0x2157f4['newValue']?delete _0x5da14c[_0x2157f4['key']]:_0x5da14c[_0x2157f4['key']]=_0x2157f4['newValue'];}}function q(_0x58d487){const _0x41b1e3=G(_0x58d487['rootName'],_0x58d487['isAttached']());for(const _0x4e7c47 of _0x58d487['getChildren']()){const _0x506a17=_0x4e7c47['_clone'](!0x0);_0x41b1e3['_appendChild'](_0x506a17);}return _0x41b1e3;}function G(_0x2bfd3b,_0x27c86a=!0x0){const _0x4ec976=new wt();return _0x4ec976['rootName']=_0x2bfd3b,_0x4ec976['_isAttached']=_0x27c86a,_0x4ec976['isAttached']=()=>_0x4ec976['_isAttached'],_0x4ec976;}function L(_0x1fb7dd,_0x310256,_0x2f00b4){const _0x144a1f='elementEnd'==_0x1fb7dd['type']?_0x2f00b4['createPositionAt'](_0x1fb7dd['item'],'end'):_0x2f00b4['createPositionBefore'](_0x1fb7dd['item']);return _0x2f00b4['createPositionFromPath'](_0x310256,_0x144a1f['path'],_0x144a1f['stickiness']);}function W(_0x329e23,_0x594f2a,_0x5f1c0a){const _0x168d4d='elementStart'==_0x329e23['type']?_0x5f1c0a['createPositionAt'](_0x329e23['item'],0x0):_0x5f1c0a['createPositionAfter'](_0x329e23['item']);return _0x5f1c0a['createPositionFromPath'](_0x594f2a,_0x168d4d['path'],_0x168d4d['stickiness']);}class ns extends _0x28f441{['focusTracker'];['keystrokes'];['revisionNameInputView'];constructor(_0x499a92,_0xd2e2bf){super(_0x499a92),this['focusTracker']=new _0xd0c074(),this['keystrokes']=new _0x16598b(),this['set']('revisionNameInputValue',''),this['revisionNameInputView']=this['_createRevisionNameInput'](_0xd2e2bf),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'](),_0x1222ff({'view':this}),this['focusTracker']['add'](this['revisionNameInputView']['element']),this['keystrokes']['listenTo'](this['element']);const _0x42bd56=_0x345271=>_0x345271['stopPropagation']();this['keystrokes']['set']('arrowright',_0x42bd56),this['keystrokes']['set']('arrowleft',_0x42bd56),this['keystrokes']['set']('arrowup',_0x42bd56),this['keystrokes']['set']('arrowdown',_0x42bd56);}['focus'](){this['revisionNameInputView']['focus']();}get['revisionName'](){return this['revisionNameInputView']['fieldView']['element']['value']['trim']();}set['revisionName'](_0x222e84){this['revisionNameInputView']['fieldView']['element']['value']=_0x222e84['trim']();}['reset'](){this['revisionNameInputView']['fieldView']['element']['value']='',this['revisionNameInputView']['errorText']=null;}['_createRevisionNameInput'](_0x1dafe1){const _0x3ab76a=new at(this['locale'],_0x211ca4),_0x2ab40d=_0x3ab76a['fieldView'];_0x2ab40d['extendTemplate']({'attributes':{'maxlength':'220'}});let _0x34e8c6=y(this['locale'],'Name\x20of\x20the\x20revision');return!_0x1dafe1&&(_0x34e8c6+='\x20('+y(this['locale'],'optional')+')'),(_0x3ab76a['label']=_0x34e8c6,_0x2ab40d['on']('input',()=>{this['revisionNameInputValue']=_0x2ab40d['element']['value']['trim']();}),_0x3ab76a);}}class u extends _0x56b4f6{static get['pluginName'](){return'RevisionHistoryUI';}static get['requires'](){return[l];}['_saveRevisionFormView'];['init'](){const _0x3d5986=this['editor'],_0x572f10=_0x3d5986['plugins']['get']('RevisionTracker');_0x3d5986['ui']['componentFactory']['add']('revisionHistory',_0x28c918=>{const _0x3f2aae=_0x452444(_0x28c918),_0x16a1c5=_0x3f2aae['panelView']['children'],_0x3f5281=new te(_0x28c918),_0x54ce36=new _0xa18561(_0x28c918),_0x5a578a=new _0x14d86a(_0x28c918),_0x1c38c3=new _0xa18561(_0x28c918),_0x4fd124=new _0x14d86a(_0x28c918);return _0x3f2aae['bind']('isEnabled')['to'](_0x572f10,'isReady',_0x572f10,'isEnabled',_0x3d5986,'isReadOnly',(_0x354b5a,_0x50b28c,_0x5df248)=>_0x354b5a&&_0x50b28c&&!_0x5df248),_0x3f2aae['buttonView']['set']({'icon':_0xd19f15['history'],'label':y(_0x28c918,'Revision\x20history'),'tooltip':!0x0}),_0x5a578a['set']({'label':y(_0x28c918,'Save\x20current\x20revision'),'withText':!0x0,'role':'menuitem'}),_0x5a578a['bind']('isEnabled')['to'](_0x572f10,'isReady',_0x572f10,'isEnabled',_0x3d5986,'isReadOnly',(_0x1f1a2d,_0x1e788d,_0x5ca711)=>_0x1f1a2d&&_0x1e788d&&!_0x5ca711),_0x5a578a['on']('execute',()=>this['_showDialog']()),_0x4fd124['set']({'label':y(_0x28c918,'Open\x20revision\x20history'),'withText':!0x0,'role':'menuitem'}),_0x4fd124['bind']('isEnabled')['to'](_0x572f10,'isReady',_0x3d5986,'isReadOnly',(_0x256714,_0x1e29c6)=>_0x256714&&!_0x1e29c6),_0x4fd124['on']('execute',()=>{_0x3d5986['config']['get']('revisionHistory')['showRevisionViewerCallback'](),_0x3f2aae['isOpen']=!0x1,_0x3d5986['editing']['view']['focus']();}),_0x54ce36['children']['add'](_0x5a578a),_0x1c38c3['children']['add'](_0x4fd124),_0x3f5281['role']='menu',_0x3f5281['items']['addMany']([_0x54ce36,_0x1c38c3]),_0x16a1c5['add'](_0x3f5281),_0x3f2aae;}),_0x3d5986['ui']['componentFactory']['add']('menuBar:revisionHistory',()=>this['_registerMenuComponent']());}['_registerMenuComponent'](){const _0x5d5235=this['editor'],_0x4b6e19=_0x5d5235['locale'],_0x82b384=new _0x368300(_0x4b6e19),_0x158faf=new _0x47ac39(_0x4b6e19);_0x82b384['buttonView']['set']({'icon':_0xd19f15['history'],'label':y(_0x4b6e19,'Revision\x20history')});const _0xd4b8de=new _0x89f74f(_0x4b6e19,_0x82b384),_0x19d2ed=new _0x5b9065(_0x4b6e19);_0x19d2ed['set']({'label':y(_0x4b6e19,'Save\x20current\x20revision')}),_0x19d2ed['delegate']('execute')['to'](_0x82b384),_0x19d2ed['on']('execute',()=>{this['_showDialog']();}),_0xd4b8de['children']['add'](_0x19d2ed),_0x158faf['items']['add'](_0xd4b8de);const _0x46a10f=new _0x89f74f(_0x4b6e19,_0x82b384),_0x4c1ffd=new _0x5b9065(_0x4b6e19);return _0x4c1ffd['set']({'label':y(_0x4b6e19,'Open\x20revision\x20history')}),_0x4c1ffd['delegate']('execute')['to'](_0x82b384),_0x4c1ffd['on']('execute',()=>{_0x5d5235['config']['get']('revisionHistory')['showRevisionViewerCallback']();}),_0x46a10f['children']['add'](_0x4c1ffd),_0x158faf['items']['add'](_0x46a10f),_0x82b384['panelView']['children']['add'](_0x158faf),_0x82b384;}['_showDialog'](){const _0x2f8863=this['editor'],_0x1de0ef=_0x2f8863['locale'],_0x537d6f=_0x2f8863['plugins']['get']('Dialog'),_0x25f97b=_0x2f8863['plugins']['get']('RevisionTracker');function _0x527c30(_0x27ac68){_0x2f8863['config']['get']('revisionHistory.requireRevisionName')&&''===_0x27ac68['revisionName']?_0x27ac68['revisionNameInputView']['errorText']=y(_0x1de0ef,'The\x20revision\x20name\x20cannot\x20be\x20empty.'):(_0x2f8863['plugins']['get'](l)['saveRevision']({'name':_0x27ac68['revisionName']}),_0x537d6f['hide']());}this['_saveRevisionFormView']||(this['_createSaveRevisionFormView'](),this['_saveRevisionFormView']['on']('submit',()=>_0x527c30(this['_saveRevisionFormView']))),this['_saveRevisionFormView']['reset'](),_0x537d6f['show']({'id':'revisionSave','title':y(_0x1de0ef,'Save\x20current\x20revision'),'isModal':!0x0,'content':this['_saveRevisionFormView'],'actionButtons':[{'label':y(_0x2f8863['locale'],'Cancel'),'withText':!0x0,'onExecute':()=>_0x537d6f['hide']()},{'label':y(_0x2f8863['locale'],'Accept'),'class':'ck-button-action','withText':!0x0,'onCreate'(_0x5f48f5){_0x5f48f5['bind']('isEnabled')['to'](_0x25f97b,'isReady',_0x25f97b,'isEnabled',_0x2f8863,'isReadOnly',(_0x3d28b2,_0x490652,_0x17b2a3)=>_0x3d28b2&&_0x490652&&!_0x17b2a3);},'onExecute':()=>_0x527c30(this['_saveRevisionFormView'])}]});}['_createSaveRevisionFormView'](){const _0x32066f=this['editor'],_0x577815=_0x32066f['locale'];this['_saveRevisionFormView']=new ns(_0x577815,_0x32066f['config']['get']('revisionHistory.requireRevisionName')),this['_saveRevisionFormView']['render']();}}class Z extends _0x28f441{['changeId'];['_model'];constructor(_0x4d73b9,_0x36dda9){super(_0x4d73b9),this['_model']=_0x36dda9,this['changeId']=_0x36dda9['id'];const _0x2bdb41=this['bindTemplate'],_0x55b680=y(_0x4d73b9,_0x36dda9['data']['isSuggestion']?'Suggested\x20by':'add'==_0x36dda9['type']?'Added\x20by':'Removed\x20by');this['set']('type',_0x36dda9['type']),this['setTemplate']({'tag':'div','attributes':{'class':['ck-annotation','ck-revision-change',_0x2bdb41['to']('type',_0x123b9e=>'ck-revision-change__'+_0x123b9e)],'tabindex':-0x1},'children':[{'tag':'span','children':[{'tag':'span','attributes':{'class':['ck-revision-change__label']},'children':[{'text':_0x55b680}]},{'text':'\x20'+_0x36dda9['author']['name']}]}]});}['focus'](){this['element']['focus']();}}class r extends/* #__PURE__ -- @preserve */
|
|
25
|
+
_0xf6fc38(){['id'];['author'];['type'];['data'];['rootName'];constructor(_0x58e383){super(),this['id']=_0x58e383['id']||_0x27425f(),this['author']=_0x58e383['author'],this['type']=_0x58e383['type'],this['data']=_0x58e383['data']||{},this['rootName']=_0x58e383['rootName'],this['set']('createdAt',_0x58e383['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(_0x1ae601,_0x1a1c05){this['newRevisionId']=_0x1ae601,this['oldRevisionId']=_0x1a1c05,this['changes']=new _0x4a3cfc();}['_setChanges'](_0x1390a7){for(const _0x486346 of _0x1390a7)this['changes']['add'](_0x486346);}}const tt={'c':_0x17212c,'a':_0x5754e2,'e':_0x52d8f6,'r':_0x1158ef,'u':_0x31b59c};class d extends _0x56b4f6{['repository'];['adapter'];['_activeViewTarget'];['_changeView'];['_changeIdToChange'];['_balloon'];static get['pluginName'](){return'RevisionViewer';}static get['requires'](){return[_0x556799,_0x4a0bca,A];}constructor(_0x49acaa){super(_0x49acaa),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',(_0x22d754,_0x18a58f,_0x34edd4)=>{this['activeChange']=null,this['activeView']=null,this['editor']['editing']['view']['change'](_0x368186=>{for(const _0x17c1f8 of this['editor']['editing']['view']['document']['roots'])_0x34edd4?_0x368186['removeClass']('ck-editor__editable__overlay',_0x17c1f8):_0x368186['addClass']('ck-editor__editable__overlay',_0x17c1f8);});}),this['bind']('isNavigationMode')['to'](this,'activeChange',_0x378866=>null!==_0x378866),this['bind']('currentChangeNumber')['to'](this,'isReady',this,'diff',this,'activeChange',(_0x542d88,_0x371306,_0x2982d3)=>_0x542d88&&_0x2982d3?_0x371306['changes']['getIndex'](_0x2982d3):0x0),this['bind']('numberOfChanges')['to'](this,'isReady',this,'diff',(_0xca2d02,_0x16868a)=>_0xca2d02?_0x16868a['changes']['length']:0x0),this['_changeView']=null,this['_changeIdToChange']=new Map(),this['adapter']=null,this['_balloon']=this['editor']['plugins']['get'](_0x4a0bca);}['init'](){const _0x4bc61d=this['editor'],_0x515403=new yt(_0x4bc61d,{'direction':'backward'}),_0x57cc39=new yt(_0x4bc61d,{'direction':'forward'});(_0x4bc61d['commands']['add']('showPreviousChange',_0x515403),_0x4bc61d['commands']['add']('showNextChange',_0x57cc39),_0x4bc61d['commands']['add']('restoreRevision',new bt(_0x4bc61d)),this['on']('change:numberOfChanges',()=>{_0x515403['refresh'](),_0x57cc39['refresh']();}),this['_setConversion'](),this['_initInteractions'](),_0x4bc61d['enableReadOnlyMode']('revision-viewer'),_0x4bc61d['plugins']['has']('WidgetToolbarRepository'))&&_0x4bc61d['plugins']['get']('WidgetToolbarRepository')['forceDisabled']('revision-viewer');}async['getRevisionData'](_0x1e9097){await this['loadRevisionData'](_0x1e9097);const _0x58571f={};for(const _0x8fdc7b in _0x1e9097['diffData']){if(_0x1e9097['diffData'][_0x8fdc7b]['attachChange']&&!_0x1e9097['diffData'][_0x8fdc7b]['attachChange']['isAttached'])continue;const _0x118ab8=this['_removeRevisionMarkers'](JSON['parse'](_0x1e9097['diffData'][_0x8fdc7b]['insertions'])),_0x219d59=this['editor']['editing']['view']['document'],_0x46a18d=new _0x1c65ec(_0x219d59,_0x118ab8['map'](_0x16d8f4=>this['_getViewObj'](_0x16d8f4)));this['editor']['data']['processor']['useFillerType']('marked'),_0x58571f[_0x8fdc7b]=this['editor']['data']['processor']['toData'](_0x46a18d),this['editor']['data']['processor']['useFillerType']('default');}return _0x58571f;}async['getRevisionRootsAttributes'](_0x527475){await this['loadRevisionData'](_0x527475);const _0x5db4af={};for(const _0x4f4935 in _0x527475['diffData'])_0x527475['diffData'][_0x4f4935]['attachChange']&&!_0x527475['diffData'][_0x4f4935]['attachChange']['isAttached']||(_0x5db4af[_0x4f4935]=_0x527475['diffData'][_0x4f4935]['attributesAfter']||{});return _0x5db4af;}['_removeRevisionMarkers'](_0x1518f3){return(_0x1518f3=_0x1518f3['filter'](_0x4d3890=>!_0x4d3890['name']||'revision-start'!==_0x4d3890['name']&&'revision-end'!==_0x4d3890['name']))['forEach'](_0x3fb81c=>{'string'!=typeof _0x3fb81c&&(_0x3fb81c['children']=this['_removeRevisionMarkers'](_0x3fb81c['children']),_0x3fb81c['attributes']=_0x3fb81c['attributes']['filter'](_0xbba7f5=>!_0xbba7f5[0x0]['startsWith']('data-revision-')));}),_0x1518f3;}async['compare'](_0x47dfd7,_0x10ef30,_0x481a37=!0x1){if(!this['isEnabled'])return;const _0x3c837a=this['diff'],_0x24c8e7=this['repository'],_0x5333ee='string'==typeof _0x47dfd7?_0x24c8e7['getRevision'](_0x47dfd7):_0x47dfd7,_0x41edc8='string'==typeof _0x10ef30?_0x24c8e7['getRevision'](_0x10ef30):_0x10ef30,_0x4f7e52=_0x5333ee['id'],_0x103ab0=_0x41edc8?_0x41edc8['id']:null;if(!_0x481a37&&this['diff']&&this['diff']['newRevisionId']===_0x4f7e52&&this['diff']['oldRevisionId']===_0x103ab0)return Promise['resolve']();this['isReady']=!0x1,this['activeView']=null,this['activeChange']=null,this['diff']=new f(_0x4f7e52,_0x103ab0);const _0x9e92de=this['_getRevisionsRange'](_0x5333ee,_0x41edc8,!0x0)['map'](_0x230339=>this['loadRevisionData'](_0x230339));return _0x9e92de['push'](new Promise(_0x5f3a9e=>{setTimeout(_0x5f3a9e,0x14);})),Promise['all'](_0x9e92de)['then'](()=>{if(!this['isEnabled'])return;this['_cleanUp']();const _0x59a9a9=this['_getDiff'](_0x4f7e52,_0x103ab0);for(const _0x3e23c3 of _0x59a9a9['changes'])this['_changeIdToChange']['set'](_0x3e23c3['id'],_0x3e23c3);this['editor']['model']['enqueueChange']({'isUndoable':!0x1},_0x2ba97e=>{for(const _0x3eca0f of this['editor']['model']['document']['getRootNames']())_0x2ba97e['detachRoot'](_0x3eca0f);for(const _0x3c0c42 of Object['keys'](_0x59a9a9['model'])){const _0x515608=_0x2ba97e['addRoot'](_0x3c0c42);for(const _0x4385bc of Object['keys'](_0x59a9a9['attributes'][_0x3c0c42]))_0x2ba97e['setAttribute'](_0x4385bc,_0x59a9a9['attributes'][_0x3c0c42][_0x4385bc],_0x515608);_0x2ba97e['insert'](_0x59a9a9['model'][_0x3c0c42],_0x515608,0x0);}}),this['diff']['_setChanges'](this['_sortAndFilterDiffChanges'](_0x59a9a9['changes'])),this['isReady']=!0x0;})['catch'](_0xc1f5b2=>{console['error'](_0xc1f5b2),this['_cleanUp'](),_0x3c837a&&(this['diff']=_0x3c837a),this['isReady']=!0x0;});}['addRevisionData'](_0x4df6d0,_0x40df68){const _0x2b5510=this['repository']['createRevision'](_0x4df6d0);return _0x2b5510['on']('_update',(_0x350167,_0x127133,_0x3fb7a0)=>_0x40df68(_0x127133,_0x3fb7a0,_0x2b5510)),this['repository']['addRevision'](_0x2b5510),_0x2b5510;}['loadRevisionData'](_0x13580e){if(!_0x13580e||_0x13580e['diffData'])return Promise['resolve']();{const _0x1dce49=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0x1dce49,'revisionId':_0x13580e['id']})['then'](_0x2393e9=>{_0x13580e['_update']({'diffData':_0x2393e9['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},_0x33cda4=>{for(const _0x530ae7 of this['editor']['model']['document']['getRootNames']())_0x33cda4['detachRoot'](_0x530ae7);});}['_sortAndFilterDiffChanges'](_0x207bd3){const _0x745b3c=[],_0x498cd8=new Map();for(const _0x1ca078 of this['editor']['model']['document']['getRootNames']()){const _0x210f5d=this['editor']['editing']['view']['getDomRoot'](_0x1ca078);if(!_0x210f5d)continue;const _0x4834f5=_0x210f5d['getClientRects']()['item'](0x0);_0x4834f5&&(_0x745b3c['push'](_0x1ca078),_0x498cd8['set'](_0x1ca078,_0x4834f5));}return _0x745b3c['sort']((_0x127dd4,_0x2bd0f2)=>{const _0x486c01=_0x498cd8['get'](_0x127dd4),_0x1062e8=_0x498cd8['get'](_0x2bd0f2);return _0x486c01['y']-_0x1062e8['y']||_0x486c01['x']-_0x1062e8['x'];}),(_0x207bd3=_0x207bd3['filter'](_0x32ea36=>_0x745b3c['includes'](_0x32ea36['rootName'])))['sort']((_0x748854,_0x50037e)=>_0x745b3c['indexOf'](_0x748854['rootName'])-_0x745b3c['indexOf'](_0x50037e['rootName'])),_0x207bd3;}['_makeTape'](_0x183f62){const _0x500680=Array['from'](_0x183f62['markers'])['filter'](([_0x2373ab,_0x3422de])=>_0x2373ab['startsWith']('revision:')&&!_0x3422de['isCollapsed']),_0x23da86=Array['from'](this['editor']['model']['createRangeIn'](_0x183f62)['getWalker']({'singleCharacters':!0x0}));if(0x0!=_0x500680['length'])for(const _0xda307a of _0x23da86){const [_0x4945bf,_0xa66b86]=_0x500680[0x0],[,_0x145640,_0x1125b9]=_0x4945bf['split'](':');if(_0xa66b86['end']['isEqual'](_0xda307a['nextPosition'])&&_0x500680['shift'](),(_0xda307a['previousPosition']['isEqual'](_0xa66b86['start'])||_0xda307a['previousPosition']['isAfter'](_0xa66b86['start']))&&('insertion'==_0x145640?_0xda307a['isAdded']={'userId':_0x1125b9}:'deletion'==_0x145640&&(_0xda307a['isRemoved']={'userId':_0x1125b9})),0x0==_0x500680['length'])break;}return _0x23da86;}['_refreshStartEndIndex'](_0x41228b){const _0x478391=new Map();for(let _0x40eb34=0x0;_0x40eb34<_0x41228b['length'];_0x40eb34++)'text'===_0x41228b[_0x40eb34]['type']?(_0x41228b[_0x40eb34]['item']['startIndex']=_0x40eb34,_0x41228b[_0x40eb34]['item']['endIndex']=_0x40eb34):('elementStart'===_0x41228b[_0x40eb34]['type']?_0x41228b[_0x40eb34]['item']['startIndex']=_0x40eb34:'elementEnd'===_0x41228b[_0x40eb34]['type']&&(_0x41228b[_0x40eb34]['item']['endIndex']=_0x40eb34),_0x478391['set'](_0x41228b[_0x40eb34]['id'],_0x40eb34));for(const _0x23c5e7 of _0x478391['values']())'elementStart'===_0x41228b[_0x23c5e7]['type']?_0x41228b[_0x23c5e7]['item']['endIndex']=_0x478391['get'](_0x41228b[_0x23c5e7]['pairId']):'elementEnd'===_0x41228b[_0x23c5e7]['type']&&(_0x41228b[_0x23c5e7]['item']['startIndex']=_0x478391['get'](_0x41228b[_0x23c5e7]['pairId']));}['_processTape'](_0x2e774b){for(let _0x2f23e1=0x0;_0x2f23e1<_0x2e774b['length'];_0x2f23e1++){if('elementStart'===_0x2e774b[_0x2f23e1]['type'])_0x2e774b[_0x2f23e1]['item']['startIndex']=_0x2f23e1;else{if('elementEnd'===_0x2e774b[_0x2f23e1]['type']){_0x2e774b[_0x2f23e1]['item']['endIndex']=_0x2f23e1;const _0x19e6bb=_0x2e774b[_0x2f23e1]['item']['startIndex'];_0x2e774b[_0x19e6bb]['pairId']=_0x2e774b[_0x2f23e1]['id'],_0x2e774b[_0x2f23e1]['pairId']=_0x2e774b[_0x19e6bb]['id'];}else _0x2e774b[_0x2f23e1]['item']['startIndex']=_0x2f23e1,_0x2e774b[_0x2f23e1]['item']['endIndex']=_0x2f23e1,_0x2e774b[_0x2f23e1]['pairId']=null;}_0x2e774b[_0x2f23e1]['markersStart']||(_0x2e774b[_0x2f23e1]['markersStart']=[],_0x2e774b[_0x2f23e1]['markersEnd']=[]);}}['_markInsertions'](_0x3266a0,_0x1230fb){const _0x538cad=_0x3266a0['filter'](_0x5dc61e=>!_0x5dc61e['isAdded']);for(let _0x144884=0x0;_0x144884<_0x1230fb['length'];_0x144884++)_0x1230fb[_0x144884]['isAdded']&&(_0x538cad[_0x144884]['isAdded']=_0x1230fb[_0x144884]['isAdded']);}['_makeModelFromViewString'](_0x2b27ac){const _0x21e5b7=JSON['parse'](_0x2b27ac),_0x42bdfb=this['editor']['editing']['view']['document'],_0x3f803c=new _0x1c65ec(_0x42bdfb,_0x21e5b7['map'](_0x576338=>this['_getViewObj'](_0x576338)));return this['editor']['data']['toModel'](_0x3f803c);}['_getViewObj'](_0x4b5fef){const _0x4cdfb8=this['editor']['editing']['view']['document'];if('string'==typeof _0x4b5fef)return new _0x5d054e(_0x4cdfb8,_0x4b5fef);{const _0x5480c9=_0x4b5fef['children']['map'](_0x35e0c9=>this['_getViewObj'](_0x35e0c9));return new(tt[_0x4b5fef['type']]||_0x1f988b)(_0x4cdfb8,_0x4b5fef['name'],_0x4b5fef['attributes'],_0x5480c9);}}['_getDiff'](_0x396f83,_0x50472b=null){const _0x345f8a=this['repository']['getRevision'](_0x396f83),_0x49334d=_0x50472b?this['repository']['getRevision'](_0x50472b):null,_0x8914be=this['_getRevisionsRange'](_0x345f8a,_0x49334d),_0x5e03f6=_0x8914be[_0x8914be['length']-0x1],_0x1406fa=new Map(),_0x19768f={'model':{},'attributes':{},'changes':[]},_0x212358=new Set(),_0x5a82c5=new Map();for(let _0x59216f=_0x8914be['length']-0x1;_0x59216f>=0x0;_0x59216f--){const _0x307291=_0x8914be[_0x59216f];for(const _0x2dc1bf of Object['keys'](_0x307291['diffData']))if(_0x307291['diffData'][_0x2dc1bf]['attachChange']){const _0x225901=_0x307291['diffData'][_0x2dc1bf]['attachChange'];_0x225901['isAttached']?(_0x212358['add'](_0x2dc1bf),_0x5a82c5['has'](_0x2dc1bf)&&_0x5a82c5['get'](_0x2dc1bf)['userId']==_0x225901['userId']?_0x5a82c5['delete'](_0x2dc1bf):_0x5a82c5['set'](_0x2dc1bf,_0x225901)):_0x5a82c5['has'](_0x2dc1bf)?(_0x212358['delete'](_0x2dc1bf),_0x5a82c5['delete'](_0x2dc1bf)):(_0x212358['add'](_0x2dc1bf),_0x5a82c5['set'](_0x2dc1bf,_0x225901));}else _0x212358['add'](_0x2dc1bf);}for(const _0x1383ea of _0x212358){const _0x4e9a3f=_0x5a82c5['has'](_0x1383ea)&&!_0x5a82c5['get'](_0x1383ea)['isAttached'];let _0x9f9982=_0x4e9a3f?_0x8914be['length']-0x1:0x0;const _0x1ef6f0=_0x4e9a3f?-0x1:0x1;for(;_0x8914be[_0x9f9982];){const _0x306461=_0x8914be[_0x9f9982];if(_0x306461['diffData'][_0x1383ea]){const _0x57545b=_0x4e9a3f?_0x306461['diffData'][_0x1383ea]['attributesBefore']:_0x306461['diffData'][_0x1383ea]['attributesAfter'];_0x19768f['attributes'][_0x1383ea]=_0x57545b?_0x342b60(_0x57545b):{};break;}_0x9f9982+=_0x1ef6f0;}}for(const _0x3251fc of _0x8914be){_0x3251fc['model']={};for(const _0x4178a4 of _0x3251fc['authors'])_0x1406fa['set'](_0x4178a4['id'],_0x4178a4);for(const _0x86f157 of _0x212358){const _0x31a835=_0x3251fc['diffData'][_0x86f157]?_0x3251fc['diffData'][_0x86f157]['insertions']:'[]',_0x2270a7=_0x3251fc['diffData'][_0x86f157]?_0x3251fc['diffData'][_0x86f157]['deletions']:'[]';_0x3251fc['model'][_0x86f157]={'insertions':this['_makeModelFromViewString'](_0x31a835),'deletions':this['_makeModelFromViewString'](_0x2270a7)};}}for(const _0xba835e of _0x212358){let _0xb8f7a1=null,_0x431cd8=0x0;const _0x1eee01=new Map(Array['from'](_0x345f8a['model'][_0xba835e]['insertions']['markers'])['filter'](([_0x15388a])=>!_0x15388a['startsWith']('revision:')));let _0x2d8676=0x0;for(const _0x14fbdb of _0x8914be){const _0x3e2baf=this['_makeTape'](_0x14fbdb['model'][_0xba835e]['insertions']);_0x14fbdb==_0x345f8a?(_0xb8f7a1=_0x3e2baf,_0x431cd8=_0xb8f7a1['length'],_0xb8f7a1['forEach'](_0x4238dd=>{_0x4238dd['id']=_0x2d8676++;}),this['_processTape'](_0xb8f7a1)):this['_markInsertions'](_0xb8f7a1,_0x3e2baf);const _0x240e2b=_0xb8f7a1['filter'](_0x40fc00=>!_0x40fc00['isAdded'])['map'](_0x226074=>_0x226074['id']);let _0x3d0b1e=0x0;const _0x14b200=this['_makeTape'](_0x14fbdb['model'][_0xba835e]['deletions']);_0x14b200['forEach'](_0x2b9217=>{_0x2b9217['isRemoved']?_0x2b9217['id']=_0x431cd8++:_0x2b9217['id']=_0x240e2b[_0x3d0b1e++];}),this['_processTape'](_0x14b200),this['_setDistance'](_0xb8f7a1,'isAdded'),this['_setDistance'](_0x14b200,'isRemoved'),_0x14fbdb==_0x345f8a&&this['_markMarkers'](_0xb8f7a1,_0x1eee01),_0xb8f7a1=this['_joinTapes'](_0xb8f7a1,_0x14b200),this['_refreshStartEndIndex'](_0xb8f7a1),this['_setDistance'](_0xb8f7a1,'isRemoved');}_0xb8f7a1=_0xb8f7a1['filter'](_0x1db0a4=>!(_0x1db0a4['isAdded']&&_0x1db0a4['isRemoved']));const _0x481af5=new Map(_0x5e03f6['model'][_0xba835e]['deletions']['markers']),_0x3e6b2e=new Set(_0x1eee01['keys']());for(const _0x235dbd of _0x481af5['keys']())_0x3e6b2e['delete'](_0x235dbd);this['_markSuggestions'](_0xb8f7a1,_0x3e6b2e),this['_fixObsoleteTags'](_0xb8f7a1),_0xb8f7a1=this['_removeMissingPairs'](_0xb8f7a1),_0xb8f7a1=this['_markMismatchedRemovedTags'](_0xb8f7a1),_0xb8f7a1=this['_removeUnsupportedChanges'](_0xb8f7a1);const {root:_0x485ac2,changes:_0x21c88d}=this['_makeModelFromTape'](_0xb8f7a1,_0x1406fa,_0xba835e);_0x19768f['model'][_0xba835e]=_0x485ac2;const _0x32166c=_0x5a82c5['get'](_0xba835e);if(_0x32166c){const _0x15596c=_0x1406fa['get'](_0x32166c['userId']),_0x443fbe=new r({'author':_0x15596c,'type':_0x32166c['isAttached']?'add':'remove','data':{'isOnRoot':!0x0},'createdAt':new Date(),'rootName':_0xba835e});_0x21c88d['unshift'](_0x443fbe),_0x19768f['attributes'][_0xba835e]['revisionHistoryAttachChange']=_0x443fbe['id'];}_0x19768f['changes']=_0x19768f['changes']['concat'](_0x21c88d);}return _0x19768f;}['_markMarkers'](_0xa4cc3e,_0x124298){for(let _0x47eb52=0x0;_0x47eb52<_0xa4cc3e['length'];_0x47eb52++)for(const [_0x29d8ac,_0x20a41a]of _0x124298)_0x20a41a['start']['isEqual'](_0xa4cc3e[_0x47eb52]['previousPosition'])&&_0xa4cc3e[_0x47eb52]['markersStart']['push'](_0x29d8ac),_0x20a41a['end']['isEqual'](_0xa4cc3e[_0x47eb52]['nextPosition'])&&_0xa4cc3e[_0x47eb52]['markersEnd']['push'](_0x29d8ac);}['_joinTapes'](_0x64224,_0x8e1254){let _0x1340b4=[],_0x50be44=0x0,_0x551744=0x0;for(;_0x50be44<_0x64224['length']||_0x551744<_0x8e1254['length'];){const _0x15e3cf=_0x64224[_0x50be44]||{},_0x404629=_0x8e1254[_0x551744]||{};if(_0x15e3cf['id']==_0x404629['id'])_0x50be44++,_0x551744++,_0x1340b4['push'](_0x15e3cf);else{if(_0x404629['isRemoved']&&_0x15e3cf['isAdded']){const {commonTape:_0x326464,iEnd:_0x490531,jEnd:_0x1d0779}=this['_threeWayMerge'](_0x64224,_0x50be44,_0x8e1254,_0x551744);_0x1340b4=_0x1340b4['concat'](_0x326464),_0x50be44=_0x490531,_0x551744=_0x1d0779;}else _0x404629['isRemoved']?(_0x551744++,_0x1340b4['push'](_0x404629)):(_0x50be44++,_0x1340b4['push'](_0x15e3cf));}}return _0x1340b4;}['_markSuggestions'](_0x21a128,_0x215ca3){const _0x2afc08=[];for(let _0x421bd3=0x0;_0x421bd3<_0x21a128['length'];_0x421bd3++){for(let _0x2a39ed=0x0;_0x2a39ed<_0x21a128[_0x421bd3]['markersStart']['length'];_0x2a39ed++){const _0x3e60f5=_0x21a128[_0x421bd3]['markersStart'][_0x2a39ed];if(!_0x215ca3['has'](_0x3e60f5))continue;const {group:_0x434c54,type:_0xffe5b3,authorId:_0x10ff63}=_0x28a5bc(_0x3e60f5);'revision-suggestion'!=_0x434c54||'insertion'!=_0xffe5b3&&'deletion'!=_0xffe5b3||(_0x2afc08['unshift']({'type':_0xffe5b3,'name':_0x3e60f5,'userId':_0x10ff63}),_0x21a128[_0x421bd3]['markersStart']['splice'](_0x2a39ed,0x1),_0x2a39ed--);}_0x76192c(_0x21a128[_0x421bd3]);for(let _0x48f474=0x0;_0x48f474<_0x21a128[_0x421bd3]['markersEnd']['length'];_0x48f474++){const _0x32f579=_0x21a128[_0x421bd3]['markersEnd'][_0x48f474];if(!_0x215ca3['has'](_0x32f579))continue;const {group:_0x46f517,type:_0x844d01}=_0x28a5bc(_0x32f579);if('revision-suggestion'!=_0x46f517||'insertion'!=_0x844d01&&'deletion'!=_0x844d01)continue;_0x21a128[_0x421bd3]['markersEnd']['splice'](_0x48f474,0x1),_0x48f474--;const _0x3a3889=_0x2afc08['findIndex'](_0x579184=>_0x579184['name']==_0x32f579);_0x3a3889>-0x1&&_0x2afc08['splice'](_0x3a3889,0x1);}}function _0x28a5bc(_0x5f4480){const _0x1ddd1c=_0x5f4480['split'](':');return{'group':_0x1ddd1c[0x0],'type':_0x1ddd1c[0x1],'subType':_0x1ddd1c['length']>=0x5?_0x1ddd1c[0x2]:null,'id':_0x1ddd1c['length']<0x5?_0x1ddd1c[0x2]:_0x1ddd1c[0x3],'authorId':_0x1ddd1c['length']<0x5?_0x1ddd1c[0x3]:_0x1ddd1c[0x4],'markerCount':0x6==_0x1ddd1c['length']?_0x1ddd1c[0x5]:null};}function _0x76192c(_0x4a985c){for(let _0x246659=0x0;_0x246659<_0x2afc08['length'];_0x246659++){if(_0x4a985c['isAdded']&&'insertion'==_0x2afc08[_0x246659]['type'])return _0x4a985c['isAddSuggestion']=_0x2afc08[_0x246659],void delete _0x4a985c['isAdded'];if(!_0x4a985c['isAdded']&&!_0x4a985c['isRemoved']&&'deletion'==_0x2afc08[_0x246659]['type'])return void(_0x4a985c['isRemoveSuggestion']=_0x2afc08[_0x246659]);}}}['_setDistance'](_0xc83d2c,_0x53e0d0){let _0x411c53=0x0,_0x57590f=!0x1;const _0x1e3153=new Map();for(const _0x2c8d08 of _0xc83d2c)_0x2c8d08[_0x53e0d0]?_0x57590f&&(_0x411c53++,_0x57590f=!0x1):(_0x411c53++,_0x57590f=!0x0),_0x1e3153['set'](_0x2c8d08['id'],_0x411c53);for(let _0x3089db=0x0;_0x3089db<_0xc83d2c['length'];_0x3089db++){if('isRemoved'==_0x53e0d0&&_0xc83d2c[_0x3089db]['isAdded']||'isAdded'==_0x53e0d0&&_0xc83d2c[_0x3089db]['isRemoved'])continue;if('text'==_0xc83d2c[_0x3089db]['type']){_0xc83d2c[_0x3089db]['distance']=0x0;continue;}const _0x53c768=_0x1e3153['get'](_0xc83d2c[_0x3089db]['pairId']),_0x4fb9ab=_0x1e3153['get'](_0xc83d2c[_0x3089db]['id']);_0xc83d2c[_0x3089db]['distance']=_0x53c768-_0x4fb9ab;}}['_getRevisionsRange'](_0x25e9b2,_0x216b2b,_0x172a1f=!0x1){const _0x438cb4=[];let _0x1af0eb=this['repository']['getIndex'](_0x25e9b2),_0x341cc4=this['repository']['getIndex'](_0x216b2b);for(-0x1==_0x341cc4&&(_0x341cc4=this['repository']['_revisions']['length'],_0x172a1f=!0x1);_0x1af0eb<_0x341cc4;)_0x438cb4['push'](this['repository']['getRevision'](_0x1af0eb)),_0x1af0eb++;return _0x172a1f&&_0x438cb4['push'](this['repository']['getRevision'](_0x1af0eb)),_0x438cb4;}['_threeWayMerge'](_0x4c308a,_0x3b45eb,_0x17abe1,_0x2a47cd){const _0x453e47=this['editor']['model']['schema'];let _0x3f0177=_0x3b45eb;for(;_0x4c308a[_0x3f0177]&&_0x4c308a[_0x3f0177]['isAdded'];)_0x3f0177++;let _0xc4b2e=_0x2a47cd;for(;_0x17abe1[_0xc4b2e]&&_0x17abe1[_0xc4b2e]['isRemoved'];)_0xc4b2e++;_0x3819d6(_0x4c308a,_0x3b45eb,_0x3f0177),_0x3819d6(_0x17abe1,_0x2a47cd,_0xc4b2e);const _0x5c190c=_0x17abe1['slice'](_0x2a47cd,_0xc4b2e)['concat'](_0x4c308a['slice'](_0x3b45eb,_0x3f0177));return _0x5c190c['sort']((_0xbb8a10,_0x43503b)=>_0xbb8a10['side']!=_0x43503b['side']?_0xbb8a10['side']-_0x43503b['side']:_0xbb8a10['level']!=_0x43503b['level']?_0xbb8a10['level']-_0x43503b['level']:_0xbb8a10['distance']!=_0x43503b['distance']?_0x43503b['distance']-_0xbb8a10['distance']:!!_0xbb8a10['isAdded']!=!!_0x43503b['isAdded']?-0x1==_0xbb8a10['side']||0x0==_0xbb8a10['side']?_0xbb8a10['isAdded']?-0x1:0x1:_0xbb8a10['isAdded']?0x1:-0x1:_0xbb8a10['index']-_0x43503b['index']),{'commonTape':_0x5c190c,'iEnd':_0x3f0177,'jEnd':_0xc4b2e};function _0x3819d6(_0x2da482,_0x43de1b,_0x55861f){let _0xdf4fe0=-0x1,_0x212678=Number['POSITIVE_INFINITY'],_0x2b64bf=!0x0;for(let _0x54e2c0=_0x43de1b;_0x54e2c0<_0x55861f;_0x54e2c0++)if(_0x453e47['isInline'](_0x2da482[_0x54e2c0]['item'])||(_0x2b64bf=!0x1),_0x2da482[_0x54e2c0]['item']['startIndex']<_0x43de1b&&(_0xdf4fe0=_0x54e2c0),_0x2da482[_0x54e2c0]['item']['endIndex']>=_0x55861f){_0x212678=_0x54e2c0;break;}_0x2b64bf&&(_0xdf4fe0=_0x55861f-0x1);for(let _0x521ede=_0x43de1b;_0x521ede<_0x55861f;_0x521ede++)_0x2da482[_0x521ede]['side']=_0x521ede<=_0xdf4fe0?-0x1:_0x521ede<_0x212678?0x0:0x1,_0x2da482[_0x521ede]['index']=_0x521ede;let _0x2d8d75=0x0;for(let _0xdfd312=_0x43de1b;_0xdfd312<=_0xdf4fe0;_0xdfd312++)0x0==_0x2da482[_0xdfd312]['distance']?_0x2da482[_0xdfd312]['level']=_0x2d8d75:(_0x2d8d75++,_0x2da482[_0xdfd312]['level']=_0x2d8d75,_0x2d8d75++);for(let _0x3433d3=_0x43de1b;_0x3433d3<_0x55861f;_0x3433d3++)0x0==_0x2da482[_0x3433d3]['side']&&(_0x2da482[_0x3433d3]['level']=_0x2d8d75);_0x2d8d75=0x0;for(let _0x5d9266=_0x55861f-0x1;_0x5d9266>=_0x212678;_0x5d9266--)0x0==_0x2da482[_0x5d9266]['distance']?_0x2da482[_0x5d9266]['level']=_0x2d8d75:(_0x2d8d75--,_0x2da482[_0x5d9266]['level']=_0x2d8d75,_0x2d8d75--);}}['_fixObsoleteTags'](_0x48a103){const _0x30eea4=new Map(),_0xb2fc27=this['editor']['model']['schema'];for(let _0x1bd3d9=0x1;_0x1bd3d9<_0x48a103['length'];_0x1bd3d9++){let _0x5eb7a1,_0x31b50d,_0x267f1d;const _0x2253a2=_0x48a103[_0x1bd3d9],_0x44f731=_0x48a103[_0x1bd3d9-0x1];if('text'==_0x2253a2['type'])continue;if(_0x2253a2['type']!=_0x44f731['type'])continue;if(!_0xb2fc27['isBlock'](_0x44f731['item'])||_0xb2fc27['isLimit'](_0x44f731['item']))continue;if(!_0xb2fc27['isBlock'](_0x2253a2['item'])||_0xb2fc27['isLimit'](_0x2253a2['item']))continue;if((_0x48a103[_0x1bd3d9]['isAdded']||_0x48a103[_0x1bd3d9]['isAddSuggestion'])&&_0x48a103[_0x1bd3d9-0x1]['isRemoved'])_0x5eb7a1=_0x48a103[_0x1bd3d9],_0x31b50d=_0x48a103[_0x1bd3d9-0x1],_0x267f1d=_0x1bd3d9-0x1;else{if(!_0x48a103[_0x1bd3d9]['isRemoved']||!_0x48a103[_0x1bd3d9-0x1]['isAdded']&&!_0x48a103[_0x1bd3d9-0x1]['isAddSuggestion'])continue;_0x5eb7a1=_0x48a103[_0x1bd3d9-0x1],_0x31b50d=_0x48a103[_0x1bd3d9],_0x267f1d=_0x1bd3d9;}const _0x5842e8=_0x5eb7a1['level']==_0x31b50d['level'],_0xebf0cd=Math['abs'](_0x5eb7a1['level'])<Math['abs'](_0x31b50d['level'])&&0x0==_0x31b50d['distance'];(_0x5842e8||_0xebf0cd)&&(_0x30eea4['set'](_0x31b50d['id'],_0x5eb7a1['id']),_0x48a103['splice'](_0x267f1d,0x1),_0x1bd3d9--,_0x5eb7a1['isAdded']=!0x1);}for(let _0x2a2e68=0x0;_0x2a2e68<_0x48a103['length'];_0x2a2e68++)_0x30eea4['has'](_0x48a103[_0x2a2e68]['pairId'])&&(_0x48a103[_0x2a2e68]['pairId']=_0x30eea4['get'](_0x48a103[_0x2a2e68]['pairId']));}['_removeMissingPairs'](_0x4c1300){const _0x555295=new Set(_0x4c1300['map'](_0x321f72=>_0x321f72['id']));for(let _0x52f34c=0x0;_0x52f34c<_0x4c1300['length'];_0x52f34c++)_0x555295['has'](_0x4c1300[_0x52f34c]['pairId'])||0x0==_0x4c1300[_0x52f34c]['distance']||(_0x4c1300[_0x52f34c]['isIncorrect']=!0x0);return _0x4c1300['filter'](_0x4f9d96=>!_0x4f9d96['isIncorrect']);}['_markMismatchedRemovedTags'](_0x1b0fa5){const _0x505965=new Set();for(let _0x359795=0x0;_0x359795<_0x1b0fa5['length'];_0x359795++){if(_0x505965['has'](_0x1b0fa5[_0x359795]['id'])&&_0x1b0fa5[_0x359795]['isRemoved']&&(_0x1b0fa5[_0x359795]['isIncorrect']=!0x0),_0x1b0fa5[_0x359795]['isIncorrect'])continue;if(0x0==_0x1b0fa5[_0x359795]['distance'])continue;if('elementStart'!=_0x1b0fa5[_0x359795]['type'])continue;if(null==_0x1b0fa5[_0x359795]['pairId'])continue;let _0x166402=_0x359795+0x1,_0x463310=0x0;for(;_0x1b0fa5[_0x166402]['id']!=_0x1b0fa5[_0x359795]['pairId'];)'elementStart'==_0x1b0fa5[_0x166402]['type']?_0x463310++:'elementEnd'==_0x1b0fa5[_0x166402]['type']&&_0x463310--,_0x166402++;if(0x0!=_0x463310){if(_0x1b0fa5[_0x359795]['isRemoved'])_0x1b0fa5[_0x359795]['isIncorrect']=!0x0;else{for(;_0x166402!=_0x359795;)_0x1b0fa5[_0x166402]['isRemoved']&&0x0!=_0x1b0fa5[_0x166402]['distance']&&(_0x1b0fa5[_0x166402]['isIncorrect']=!0x0,_0x505965['add'](_0x1b0fa5[_0x166402]['pairId'])),_0x166402--;}}}return _0x1b0fa5['filter'](_0x277f53=>!_0x277f53['isIncorrect']);}['_removeUnsupportedChanges'](_0x7e4b7){const _0x4af7de=this['editor']['model']['schema'];for(let _0x2c56a3=0x0;_0x2c56a3<_0x7e4b7['length'];_0x2c56a3++){if(!(_0x7e4b7[_0x2c56a3]['isAdded']||_0x7e4b7[_0x2c56a3]['isAddSuggestion']||_0x7e4b7[_0x2c56a3]['isRemoved']||_0x7e4b7[_0x2c56a3]['isRemoveSuggestion']))continue;if(0x0==_0x7e4b7[_0x2c56a3]['distance'])continue;const _0x542c22=_0x7e4b7[_0x2c56a3]['item'];_0x4af7de['isBlock'](_0x542c22)||_0x4af7de['isLimit'](_0x542c22)||(_0x7e4b7[_0x2c56a3]['isAdded']&&delete _0x7e4b7[_0x2c56a3]['isAdded'],_0x7e4b7[_0x2c56a3]['isAddSuggestion']&&delete _0x7e4b7[_0x2c56a3]['isAddSuggestion'],_0x7e4b7[_0x2c56a3]['isRemoveSuggestion']&&delete _0x7e4b7[_0x2c56a3]['isRemoveSuggestion'],_0x7e4b7[_0x2c56a3]['isRemoved']&&(_0x7e4b7[_0x2c56a3]['isIncorrect']=!0x0));}return _0x7e4b7['filter'](_0x153d0d=>!_0x153d0d['isIncorrect']);}['_makeModelFromTape'](_0x5a033d,_0x4fa1d6,_0x24e5ab){const _0x5362e8=new wt(),_0x35b730=[],_0x147381=new Map(),_0x50ab1f=this['editor']['model'],_0xb494a1=_0x50ab1f['schema'],_0x3bc45c=[_0x5362e8],_0x236abf={},_0xf70071={'isAdded':[],'isRemoved':[],'isAddSuggestion':[],'isRemoveSuggestion':[]};let _0x3e06cc=null;const _0x504260=[0x0];for(let _0x5a15ba=0x0;_0x5a15ba<_0x5a033d['length'];_0x5a15ba++){let _0x4bf758,_0x3ac6e8;if('elementStart'===_0x5a033d[_0x5a15ba]['type']){_0x4bf758=_0x50ab1f['createPositionFromPath'](_0x5362e8,_0x504260);const _0x526b1a=new ft(_0x5a033d[_0x5a15ba]['item']['name'],_0x5a033d[_0x5a15ba]['item']['getAttributes']());_0x3bc45c[0x0]['_appendChild'](_0x526b1a),_0x504260['push'](0x0),_0x3bc45c['unshift'](_0x526b1a),_0x3ac6e8=_0x50ab1f['createPositionFromPath'](_0x5362e8,_0x504260),_0x3e06cc=null;}else{if('elementEnd'===_0x5a033d[_0x5a15ba]['type'])_0x3bc45c['shift'](),_0x4bf758=_0x50ab1f['createPositionFromPath'](_0x5362e8,_0x504260),_0x504260['pop'](),_0x504260[_0x504260['length']-0x1]++,_0x3ac6e8=_0x50ab1f['createPositionFromPath'](_0x5362e8,_0x504260),_0x3e06cc=null;else{if(_0x4bf758=_0x50ab1f['createPositionFromPath'](_0x5362e8,_0x504260),_0x3e06cc&&_0x4214d1(_0x3e06cc,_0x5a033d[_0x5a15ba]['item']))_0x3e06cc['_data']+=_0x5a033d[_0x5a15ba]['item']['data'];else{const _0x5191fb=new _t(_0x5a033d[_0x5a15ba]['item']['data'],_0x5a033d[_0x5a15ba]['item']['getAttributes']());_0x3bc45c[0x0]['_appendChild'](_0x5191fb),_0x3e06cc=_0x5191fb;}_0x504260[_0x504260['length']-0x1]+=_0x5a033d[_0x5a15ba]['item']['offsetSize'],_0x3ac6e8=_0x50ab1f['createPositionFromPath'](_0x5362e8,_0x504260);}}for(const _0x1d1a14 of _0x5a033d[_0x5a15ba]['markersStart'])_0x147381['set'](_0x1d1a14,{'start':_0x4bf758,'end':null});_0xc28248('isRemoveSuggestion',_0x5a15ba,_0x4bf758,_0x3ac6e8),_0xc28248('isAddSuggestion',_0x5a15ba,_0x4bf758,_0x3ac6e8),_0xc28248('isRemoved',_0x5a15ba,_0x4bf758,_0x3ac6e8),_0xc28248('isAdded',_0x5a15ba,_0x4bf758,_0x3ac6e8);for(const _0x112426 of _0x5a033d[_0x5a15ba]['markersEnd']){_0x147381['get'](_0x112426)['end']=_0x3ac6e8;}}for(const [_0x31b10e,_0xd50301]of _0x147381){const _0x42ec67=this['editor']['model']['createRange'](_0xd50301['start'],_0xd50301['end']);_0x5362e8['markers']['set'](_0x31b10e,_0x42ec67);}return _0x35b730['sort']((_0x394c83,_0xc50cd7)=>{const _0x218daf=_0x5362e8['markers']['get']('revision:'+_0x394c83['id']),_0x568685=_0x5362e8['markers']['get']('revision:'+_0xc50cd7['id']);return _0x218daf['start']['isBefore'](_0x568685['start'])?-0x1:_0x218daf['start']['isAfter'](_0x568685['start'])?0x1:_0x218daf['end']['isBefore'](_0x568685['end'])?-0x1:_0x218daf['end']['isAfter'](_0x568685['end'])?0x1:'add'===_0x394c83['type']?-0x1:0x1;}),{'root':_0x5362e8,'changes':_0x35b730};function _0xc28248(_0x11509a,_0x1246ba,_0x484b60,_0x33d1a1){const _0x473592=!!_0x5a033d[_0x1246ba][_0x11509a],_0x3632fb=_0x473592?_0x5a033d[_0x1246ba][_0x11509a]['userId']:null,_0x49963c=_0x1246ba===_0x5a033d['length']-0x1,_0x35dd20=_0xf70071[_0x11509a][0x0],_0x451251=_0xb494a1['isObject'](_0x5a033d[_0x1246ba]['item']);!_0x236abf[_0x11509a]&&_0x473592?_0x236abf[_0x11509a]={'start':_0x484b60,'tapeItem':_0x5a033d[_0x1246ba],'userId':_0x3632fb,'type':_0x11509a}:_0x236abf[_0x11509a]&&!_0x473592?(_0x236abf[_0x11509a]['end']=_0x484b60,_0x4d2b70(_0x236abf[_0x11509a]),_0x236abf[_0x11509a]=null):_0x236abf[_0x11509a]&&_0x473592&&_0x236abf[_0x11509a]['userId']!==_0x3632fb&&(_0x236abf[_0x11509a]['end']=_0x484b60,_0x35dd20&&_0x35dd20['userId']===_0x236abf[_0x11509a]['userId']||_0x4d2b70(_0x236abf[_0x11509a]),_0x236abf[_0x11509a]={'start':_0x484b60,'tapeItem':_0x5a033d[_0x1246ba],'userId':_0x3632fb,'type':_0x11509a}),_0x236abf[_0x11509a]&&_0x451251&&('elementStart'!==_0x5a033d[_0x1246ba]['type']||_0x35dd20&&_0x35dd20['userId']===_0x3632fb||_0xf70071[_0x11509a]['unshift']({'userId':_0x3632fb,'object':_0x5a033d[_0x1246ba]['item'],'change':_0x236abf[_0x11509a]}),'elementEnd'===_0x5a033d[_0x1246ba]['type']&&_0x35dd20&&_0x35dd20['object']===_0x5a033d[_0x1246ba]['item']&&(_0xf70071[_0x11509a]['shift'](),_0x236abf[_0x11509a]=_0x35dd20['change'])),_0x236abf[_0x11509a]&&_0x49963c&&(_0x236abf[_0x11509a]['end']=_0x33d1a1,_0x4d2b70(_0x236abf[_0x11509a]),_0x236abf[_0x11509a]=null);}function _0x4d2b70({start:_0x11a391,end:_0x381304,tapeItem:_0x32ed63,userId:_0x3fac83,type:_0x448fcd}){const _0x367d73=_0x32ed63['item'],_0x4a4170=_0x50ab1f['schema']['isBlock'](_0x367d73)&&!_0x50ab1f['schema']['isLimit'](_0x367d73),_0x410c8e=_0x11a391['nodeAfter']==_0x381304['parent']&&_0x381304['isAtStart'];if(_0x4a4170&&_0x410c8e)return;const _0xf526ce=_0x50ab1f['createRange'](_0x11a391,_0x381304),_0x4966c9=_0x4fa1d6['get'](_0x3fac83),_0x2ca31b=new r({'author':_0x4966c9,'type':'isAdded'==_0x448fcd||'isAddSuggestion'==_0x448fcd?'add':'remove','data':{'isSuggestion':'isAddSuggestion'==_0x448fcd||'isRemoveSuggestion'==_0x448fcd},'createdAt':new Date(),'rootName':_0x24e5ab});_0x35b730['push'](_0x2ca31b),_0x5362e8['markers']['set']('revision:'+_0x2ca31b['id'],_0xf526ce);}function _0x4214d1(_0xaf9597,_0x111cc0){const _0x59b495=_0xaf9597['getAttributes'](),_0x25747a=_0x111cc0['getAttributes']();for(const _0x134d99 of _0x59b495){if(_0x134d99[0x1]!==_0x111cc0['getAttribute'](_0x134d99[0x0]))return!0x1;_0x25747a['next']();}return _0x25747a['next']()['done'];}}['_setConversion'](){this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'revision'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision','view':_0x44a626=>{const _0x1384f1=_0x44a626['markerName']['split'](':')[0x1],_0x50980c=this['_getChangeFromId'](_0x1384f1);if(!_0x50980c)return null;const _0x36eb93='add'==_0x50980c['type']?'insertion':'deletion',_0x44a875=['ck-suggestion-marker','ck-suggestion-marker-'+_0x36eb93];return _0x50980c['data']['isSuggestion']&&_0x44a875['push']('ck-suggestion-marker-'+_0x36eb93+'-new'),this['activeChange']==_0x50980c&&_0x44a875['push']('ck-suggestion-marker--active'),{'classes':_0x44a875,'attributes':{'data-change-id':_0x1384f1}};}}),this['editor']['conversion']['for']('upcast')['add'](_0x2abf4e=>{_0x2abf4e['on']('element:pre',(_0x13f4b6,_0x2f41d2,_0x57c4c1)=>{const _0x1a369b=_0x2f41d2['viewItem']['getChild'](0x0);if(!_0x1a369b||!_0x1a369b['is']('element','code'))return;if(!_0x57c4c1['consumable']['consume'](_0x1a369b,{'attributes':['vid_start','vid_end']}))return;const _0x3a10dc=_0x2f41d2['modelRange']['start']['nodeAfter'];_0x57c4c1['writer']['setAttribute']('vid_start',_0x1a369b['getAttribute']('vid_start'),_0x3a10dc),_0x57c4c1['writer']['setAttribute']('vid_end',_0x1a369b['getAttribute']('vid_end'),_0x3a10dc);},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['add'](_0x5eab54=>{_0x5eab54['on']('element',(_0x103846,_0x18e3ce,_0x59cacb)=>{if(!_0x59cacb['consumable']['consume'](_0x18e3ce['viewItem'],{'attributes':['vid_start','vid_end']}))return;if(_0x18e3ce['modelRange']['isCollapsed'])return;const _0x40be39=_0x18e3ce['modelRange']['start']['nodeAfter'];_0x40be39['hasAttribute']('vid_start')||_0x40be39['hasAttribute']('vid')||(_0x59cacb['writer']['setAttribute']('vid_start',_0x18e3ce['viewItem']['getAttribute']('vid_start'),_0x40be39),_0x59cacb['writer']['setAttribute']('vid_end',_0x18e3ce['viewItem']['getAttribute']('vid_end'),_0x40be39));},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['elementToAttribute']({'view':{'name':'span','attributes':{'vid':!0x0}},'model':{'key':'vid','value':_0x52ed1d=>_0x52ed1d['getAttribute']('vid')}}),this['editor']['model']['schema']['on']('checkAttribute',(_0x17117d,[,_0x3207dc])=>{['vid_start','vid_end','vid']['includes'](_0x3207dc)&&(_0x17117d['return']=!0x0,_0x17117d['stop']());},{'priority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['add'](_0x35ee02=>{_0x35ee02['on']('attribute:vid',(_0x2dd5e1,_0x3bf6b8,_0xd637cc)=>{if('\x20'!=_0x3bf6b8['item']['data']||_0x3bf6b8['item']['parent']['maxOffset']>0x1)return;if(!_0xd637cc['consumable']['consume'](_0x3bf6b8['item'],_0x2dd5e1['name']))return;const _0x5ed345=_0xd637cc['writer'],_0x385f43=_0xd637cc['mapper']['toViewRange'](_0x3bf6b8['range']);_0x5ed345['wrap'](_0x385f43,_0x5ed345['createAttributeElement']('span'));});}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',function(_0x46f5e9){const _0xf53997=_0x46f5e9['plugins']['get']('RevisionViewer');return(_0x2af79e,_0x16e4e0,_0xa1ed9c)=>{const _0x206479=_0x16e4e0['markerName']['split'](':')[0x1],_0x1eaed5=_0xf53997['_getChangeFromId'](_0x206479);if(!_0x1eaed5)return null;const _0x551692='add'==_0x1eaed5['type']?'split':'merge';if(!_0xa1ed9c['consumable']['test'](_0x16e4e0['markerRange'],_0x2af79e['name']))return;const _0x5e54a9=_0x16e4e0['markerRange']['getWalker'](),_0x1fc972=_0x16e4e0['markerRange']['start'],_0x5c8b87=_0x46f5e9['model']['schema'];let _0x595ce8=null,_0x1b5203=null,_0x5b9c6b=!0x1,_0x2f1d41=!0x1;for(const _0x10015f of _0x5e54a9){const _0x1ac89b=_0x10015f['item'];_0x5b9c6b=_0x5b9c6b||_0x5c8b87['isContent'](_0x1ac89b);const _0x43dc42=_0xa1ed9c['mapper']['toViewElement'](_0x1ac89b);if(_0x43dc42&&_0x43dc42['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x10015f['type']&&(_0x5c8b87['isBlock'](_0x1ac89b)&&!_0x5c8b87['isLimit'](_0x1ac89b)&&(_0x1ac89b['nextSibling']||_0x1fc972['isAtEnd']?_0x595ce8&&_0x595ce8['parent']==_0x1ac89b||(_0x595ce8=_0x1ac89b,_0x40f9ef(_0x10015f['previousPosition']),_0x2f1d41=!0x0):_0x1b5203=_0x1b5203||_0x10015f['previousPosition']));}function _0x40f9ef(_0x2d6f78){const _0x371d7b=_0xa1ed9c['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x551692}),_0x301abf=_0xa1ed9c['mapper']['toViewPosition'](_0x2d6f78);_0x1eaed5['data']['isSuggestion']&&_0xa1ed9c['writer']['addClass']('ck-suggestion-marker-'+_0x551692+'-new',_0x371d7b),_0xf53997['activeChange']==_0x1eaed5&&_0xa1ed9c['writer']['addClass']('ck-suggestion-marker--active',_0x371d7b),_0xa1ed9c['writer']['insert'](_0x301abf,_0x371d7b),_0xa1ed9c['mapper']['bindElementToMarker'](_0x371d7b,_0x16e4e0['markerName']);}_0x5b9c6b||_0x2f1d41||!_0x1b5203||_0x40f9ef(_0x1b5203);};}(this['editor']),{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('removeMarker:revision',(_0x5735bf,_0x5574e4,_0x26612b)=>{const _0x1b1ac0=_0x26612b['mapper']['markerNameToElements'](_0x5574e4['markerName']);if(_0x1b1ac0){for(const _0x27e403 of _0x1b1ac0)(_0x27e403['hasClass']('ck-suggestion-marker-split')||_0x27e403['hasClass']('ck-suggestion-marker-merge'))&&(_0x26612b['mapper']['unbindElementFromMarkerName'](_0x27e403,_0x5574e4['markerName']),_0x26612b['writer']['remove'](_0x27e403));}},{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',(_0x4136b6,_0x1d835e,_0x4d147d)=>{const _0x260ade=_0x1d835e['markerName']['split'](':')[0x1],_0x4e7a8d=this['_getChangeFromId'](_0x260ade);if(!_0x4e7a8d)return null;const _0x22d8a8='add'==_0x4e7a8d['type']?'split':'merge';if(_0x4d147d['consumable']['test'](_0x1d835e['markerRange'],_0x4136b6['name']))for(const _0x58cbae of _0x1d835e['markerRange']['getItems']()){if(!_0x58cbae['is']('element','softBreak'))continue;const _0x14176a=_0x4d147d['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x22d8a8}),_0xcfbe62=_0x4d147d['mapper']['toViewPosition'](this['editor']['model']['createPositionBefore'](_0x58cbae));_0x4e7a8d['data']['isSuggestion']&&_0x4d147d['writer']['addClass']('ck-suggestion-marker-'+_0x22d8a8+'-new',_0x14176a),this['activeChange']==_0x4e7a8d&&_0x4d147d['writer']['addClass']('ck-suggestion-marker--active',_0x14176a),_0x4d147d['writer']['insert'](_0xcfbe62,_0x14176a),_0x4d147d['mapper']['bindElementToMarker'](_0x14176a,_0x1d835e['markerName']);}},{'priority':'high'}),this['editor']['model']['document']['on']('change',()=>{this['editor']['editing']['view']['change'](_0x24a97e=>{for(const _0x351b26 of this['editor']['model']['document']['getRootNames']()){const _0x25fe47=this['editor']['model']['document']['getRoot'](_0x351b26),_0x1164e4=this['editor']['editing']['view']['document']['getRoot'](_0x351b26);if(_0x1164e4){const _0x54c29b=_0x25fe47['getAttribute']('revisionHistoryAttachChange');if(_0x24a97e['removeAttribute']('data-change-id',_0x1164e4),_0x24a97e['removeClass']('ck-revision-history-root-add',_0x1164e4),_0x24a97e['removeClass']('ck-revision-history-root-remove',_0x1164e4),_0x24a97e['removeClass']('ck-revision-history-root--active',_0x1164e4),_0x54c29b){const _0x2e979b=this['_getChangeFromId'](_0x54c29b);if(!_0x2e979b)return null;_0x24a97e['setAttribute']('data-change-id',_0x54c29b,_0x1164e4),_0x24a97e['addClass']('ck-revision-history-root-'+_0x2e979b['type'],_0x1164e4),this['activeChange']==_0x2e979b&&_0x24a97e['addClass']('ck-revision-history-root--active',_0x1164e4);}}}});}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'comment','model':_0x54b3dc=>'revision-comment:'+_0x54b3dc,'converterPriority':'highest'}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'suggestion','model':_0x437356=>'revision-suggestion:'+_0x437356,'converterPriority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision-suggestion','view':_0x51f108=>({'name':'suggestion:'+_0x51f108,'group':'revision-suggestion'}),'converterPriority':'highest'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision-suggestion','view':_0x1735aa=>{const _0x2c821c=_0x1735aa['markerName']['split'](':')[0x1];return'insertion'!=_0x2c821c&&'deletion'!=_0x2c821c?null:{'classes':['ck-suggestion-preview-marker','ck-suggestion-preview-marker-'+_0x2c821c]};}}),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',(_0x23920f,_0x1a7aba,_0x49c693)=>{const _0x2ecae7=_0x49c693['mapper']['markerNameToElements'](_0x1a7aba['markerName']);if(_0x2ecae7){for(const _0x212413 of _0x2ecae7)_0x212413['is']('uiElement')&&(_0x49c693['mapper']['unbindElementFromMarkerName'](_0x212413,_0x1a7aba['markerName']),_0x49c693['writer']['remove'](_0x212413));}},{'priority':'high'});}['_getChangeFromId'](_0x5b46aa){return this['_changeIdToChange']['get'](_0x5b46aa);}['_getViewForChange'](_0x1354e7){return this['_changeView']&&this['_changeView']['destroy'](),this['_changeView']=new Z(this['editor']['locale'],_0x1354e7),this['_changeView'];}['_initInteractions'](){this['editor']['model']['document']['selection']['observeMarkers']('revision'),this['on']('change:activeView',(_0x339f76,_0x15c271,_0xf0828a,_0x582198)=>{_0x582198&&this['_balloon']['remove'](_0x582198),_0xf0828a&&(this['_balloon']['add']({'view':_0xf0828a,'stackId':'revisionHistoryLabel','position':{'target':()=>{const _0x1a7be2=this['editor']['editing'],_0x3a1f55=this['_getChangeFromId'](_0xf0828a['changeId']);let _0x21481a;if(_0x3a1f55['data']['isOnRoot']){const _0x318b0b=_0x1a7be2['view']['getDomRoot'](_0x3a1f55['rootName']);_0x21481a=Array['from'](_0x318b0b['getClientRects']());}else{const _0x47f0ed=this['editor']['model']['markers']['get']('revision:'+_0xf0828a['changeId']);_0x21481a=Array['from'](_0x1a7be2['mapper']['markerNameToElements'](_0x47f0ed['name']))['map'](_0x3f9528=>_0x1a7be2['view']['domConverter']['mapViewToDom'](_0x3f9528))['map'](_0x458dfb=>Array['from'](_0x458dfb['getClientRects']()))['flat']();}if(!this['_activeViewTarget'])return _0x21481a[0x0];return _0x21481a['find'](_0x630a20=>_0x630a20['top']-0x3<=this['_activeViewTarget']['y']&&_0x630a20['bottom']+0x3>=this['_activeViewTarget']['y']&&_0x630a20['left']-0x3<=this['_activeViewTarget']['x']&&_0x630a20['right']+0x3>=this['_activeViewTarget']['x'])||_0x21481a[0x0];}}}),this['_balloon']['showStack']('revisionHistoryLabel'));}),this['on']('change:activeChange',(_0x4aa840,_0x27fee9,_0x4abaeb,_0x1afb4d)=>{this['activeView']=_0x4abaeb?this['_getViewForChange'](_0x4abaeb):null,this['editor']['model']['change'](()=>{const _0xc7b9d4=this['editor']['editing'];_0x1afb4d&&(_0x1afb4d['data']['isOnRoot']?_0xc7b9d4['view']['change'](_0x400276=>{_0x400276['removeClass']('ck-revision-history-root--active',_0xc7b9d4['view']['document']['getRoot'](_0x1afb4d['rootName']));}):_0xc7b9d4['reconvertMarker']('revision:'+_0x1afb4d['id'])),_0x4abaeb&&(_0x4abaeb['data']['isOnRoot']?_0xc7b9d4['view']['change'](_0x1d163f=>{_0x1d163f['addClass']('ck-revision-history-root--active',_0xc7b9d4['view']['document']['getRoot'](_0x4abaeb['rootName']));}):_0xc7b9d4['reconvertMarker']('revision:'+_0x4abaeb['id']));});}),this['listenTo'](this['editor']['editing']['view']['document'],'mouseover',(_0x12cd72,_0x49258c)=>{if(this['activeChange'])return;const _0x51f226=this['_findChangeIdFromDomTarget'](_0x49258c['target']),_0x59c8f3=this['_changeIdToChange']['get'](_0x51f226);_0x59c8f3?(this['_activeViewTarget']={'x':_0x49258c['domEvent']['x'],'y':_0x49258c['domEvent']['y']},this['activeView']=this['_getViewForChange'](_0x59c8f3)):(this['_activeViewTarget']=null,this['activeView']=null);}),this['listenTo'](this['editor']['editing']['view']['document'],'mousedown',(_0x3095bd,_0x2d0df1)=>{const _0x1660c4=this['_findChangeIdFromDomTarget'](_0x2d0df1['target']),_0x2b6e46=this['_changeIdToChange']['get'](_0x1660c4);_0x2b6e46?(this['_activeViewTarget']={'x':_0x2d0df1['domEvent']['x'],'y':_0x2d0df1['domEvent']['y']},_0x2b6e46===this['activeChange']?this['_balloon']['updatePosition']():this['activeChange']=_0x2b6e46):(this['_activeViewTarget']=null,this['activeChange']=null);});}['_findChangeIdFromDomTarget'](_0x1a81e6){do{const _0x5413f0=_0x1a81e6['getAttribute']('data-change-id');if(_0x5413f0)return _0x5413f0;_0x1a81e6=_0x1a81e6['parent'];}while(_0x1a81e6);return null;}['_cleanMarkers'](){this['editor']['model']['change'](_0x4a89d4=>{for(const _0x173425 of this['editor']['model']['markers'])_0x4a89d4['removeMarker'](_0x173425);});}}function et(_0x156e2c,_0xe51d55){return(_0x246d11,_0xa52a1c,_0x164d48)=>{if(!_0x164d48['consumable']['test'](_0xa52a1c['markerRange'],_0x246d11['name']))return;const _0x3b75b2=_0xa52a1c['markerRange']['getWalker'](),_0x4e39a7=_0xa52a1c['markerRange']['start'],_0x5231d6=_0x156e2c['model']['schema'];let _0xd8769a=null,_0x44cdc7=null,_0x4a3521=!0x1,_0x31511a=!0x1;for(const _0xfc4b1b of _0x3b75b2){const _0x371a62=_0xfc4b1b['item'];_0x4a3521=_0x4a3521||_0x5231d6['isContent'](_0x371a62);const _0x362a3c=_0x164d48['mapper']['toViewElement'](_0x371a62);if(_0x362a3c&&_0x362a3c['getCustomProperty']('addHighlight'))return;'elementEnd'==_0xfc4b1b['type']&&(_0x5231d6['isBlock'](_0x371a62)&&!_0x5231d6['isLimit'](_0x371a62)&&(_0x371a62['nextSibling']||_0x4e39a7['isAtEnd']?_0xd8769a&&_0xd8769a['parent']==_0x371a62||(_0xd8769a=_0x371a62,_0x5b551b(_0xfc4b1b['previousPosition']),_0x31511a=!0x0):_0x44cdc7=_0x44cdc7||_0xfc4b1b['previousPosition']));}function _0x5b551b(_0xaa03b1){const _0x319007=_0x164d48['mapper']['toViewPosition'](_0xaa03b1),_0x90322a=_0x164d48['writer']['createUIElement']('span',{'class':'ck-suggestion-preview-marker-'+_0xe51d55});_0x164d48['writer']['insert'](_0x319007,_0x90322a),_0x164d48['mapper']['bindElementToMarker'](_0x90322a,_0xa52a1c['markerName']);}_0x4a3521||_0x31511a||!_0x44cdc7||_0x5b551b(_0x44cdc7);};}class bt extends _0x3d80cf{constructor(_0x4c938e){super(_0x4c938e);const _0x325668=_0x4c938e['plugins']['get'](d);this['affectsData']=!0x1,this['listenTo'](_0x325668,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x325668,'change:isEnabled',()=>this['refresh']());}['execute'](){const _0x56e769=this['editor'],_0x1d13dc=_0x56e769['plugins']['get'](d),_0x451d53=_0x1d13dc['isReady']?_0x1d13dc['diff']['newRevisionId']:null;_0x56e769['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x451d53);}['refresh'](){const {isReady:_0x54b11e,isEnabled:_0x2afe4b}=this['editor']['plugins']['get'](d);this['isEnabled']=_0x54b11e&&_0x2afe4b;}}class yt extends _0x3d80cf{['_step'];constructor(_0x2b34f1,{direction:_0x3694d7}){super(_0x2b34f1);const _0x824c3c=_0x2b34f1['plugins']['get'](d);this['affectsData']=!0x1,this['_step']='forward'===_0x3694d7?0x1:-0x1,this['listenTo'](_0x824c3c,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x824c3c,'change:isEnabled',()=>this['refresh']()),this['listenTo'](_0x824c3c,'change:activeChange',()=>this['refresh']());}['execute'](){const _0x6ef4cb=this['editor'],_0x16322b=_0x6ef4cb['plugins']['get'](d),{isNavigationMode:_0x19bb5e,currentChangeNumber:_0x570cfd}=_0x16322b;let _0x453cee;if(_0x16322b['activeChange']=_0x19bb5e?_0x16322b['diff']['changes']['get'](_0x570cfd+this['_step']):_0x16322b['diff']['changes']['first'],_0x16322b['activeChange']['data']['isOnRoot'])_0x453cee=_0x6ef4cb['editing']['view']['getDomRoot'](_0x16322b['activeChange']['rootName']);else{const _0x24d24a=_0x6ef4cb['model']['markers']['get']('revision:'+_0x16322b['activeChange']['id']);_0x453cee=_0x1eeae2(_0x6ef4cb['editing'],_0x24d24a);}_0x1d350f({'target':_0x453cee,'viewportOffset':0x28});}['refresh'](){const {isNavigationMode:_0x260301,currentChangeNumber:_0x3387ac,numberOfChanges:_0x5b97a4,isReady:_0x14a23e,isEnabled:_0x445aec}=this['editor']['plugins']['get'](d);this['isEnabled']=!!(_0x445aec&&_0x14a23e&&_0x5b97a4)&&(!_0x260301||(0x1===this['_step']?_0x3387ac<_0x5b97a4-0x1:_0x3387ac>0x0));}}class _i extends _0x28f441{constructor(_0x48a60f){super(_0x48a60f);const _0x44ec2d=this['bindTemplate'],_0x2d3022=new _0x14d86a(_0x48a60f),_0x2dc26f=new _0x14d86a(_0x48a60f);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',(_0x1f2e29,_0x1ecbd9)=>_0x1f2e29&&_0x1ecbd9>0x0),this['bind']('_statusText')['to'](this,'isReady',this,'currentChangeNumber',this,'numberOfChanges',this,'isNavigationMode',(_0x197717,_0x44f660,_0x14f456,_0x839fea)=>{if(!_0x197717)return y(_0x48a60f,'Loading...');if(!_0x14f456)return y(_0x48a60f,'No\x20changes');const _0x49d435=y(_0x48a60f,'NUMBER_OF_CHANGES',_0x14f456);return _0x839fea?y(_0x48a60f,'X_OF_Y_CHANGES',[_0x44f660+0x1,_0x14f456]):_0x49d435;}),_0x2d3022['set']({'label':y(_0x48a60f,'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'}),_0x2dc26f['set']({'label':y(_0x48a60f,'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'}),_0x2d3022['bind']('isEnabled')['to'](this,'isBackwardNavigationEnabled'),_0x2dc26f['bind']('isEnabled')['to'](this,'isForwardNavigationEnabled'),_0x2d3022['on']('execute',()=>this['fire']('execute','backward')),_0x2dc26f['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',_0x44ec2d['if']('_isStatusLabelVisible','ck-hidden',_0xbe95de=>!_0xbe95de)]},'children':[{'text':_0x44ec2d['to']('isNavigationMode',_0x4aad77=>_0x4aad77?y(_0x48a60f,'EDIT_X_OF_Y_REVISIONS')+':\x20':y(_0x48a60f,'Total')+':\x20')}]},{'text':_0x44ec2d['to']('_statusText')}]},new _0x45a25c(),{'tag':'div','attributes':{'class':['ck-revision-history-ui__changes-navigation__navigation']},'children':[_0x2d3022,_0x2dc26f]}]});}}const ce='ck-editor__editable__loading-overlay';class de extends _0x56b4f6{static get['pluginName'](){return'RevisionViewerLoadingOverlay';}['show'](){const _0x661bd0=this['editor']['editing']['view'];_0x661bd0['change'](_0x1394c7=>{for(const _0x3c5b85 of _0x661bd0['document']['roots'])_0x1394c7['addClass'](ce,_0x3c5b85);});}['hide'](){const _0x5e6857=this['editor']['editing']['view'];_0x5e6857['change'](_0x36e27d=>{for(const _0x23a722 of _0x5e6857['document']['roots'])_0x36e27d['removeClass'](ce,_0x23a722);});}}class R extends _0x56b4f6{static get['pluginName'](){return'RevisionViewerUI';}static get['requires'](){return[d,de];}['init'](){const _0x5a2430=this['editor'],_0x3dffdb=_0x5a2430['plugins']['get'](d),_0x108257=_0x5a2430['plugins']['get'](de);_0x5a2430['ui']['componentFactory']['add']('exitToEditing',_0x4b6a9c=>{const _0x20989e=new _0x14d86a(_0x4b6a9c);return _0x20989e['set']({'label':y(_0x4b6a9c,'Back\x20to\x20editing'),'icon':_0xd19f15['undo'],'withText':!0x0,'tooltip':!0x0,'class':'ck-revision-history-ui__back-to-editing'}),this['listenTo'](_0x20989e,'execute',()=>{_0x5a2430['config']['get']('revisionHistory')['closeRevisionViewerCallback']();}),_0x20989e;}),_0x5a2430['ui']['componentFactory']['add']('restoreRevision',_0x5d9202=>{const _0x13f6e9=new _0x14d86a(_0x5d9202);return _0x13f6e9['set']({'label':y(_0x5d9202,'Restore\x20this\x20revision'),'withText':!0x0,'tooltip':!0x0}),_0x13f6e9['bind']('isEnabled')['to'](_0x5a2430['commands']['get']('restoreRevision')),this['listenTo'](_0x13f6e9,'execute',()=>_0x5a2430['execute']('restoreRevision')),_0x13f6e9;}),_0x5a2430['ui']['componentFactory']['add']('changesNavigation',_0x532776=>{const _0x58bbf4=new _i(_0x532776),_0x3c9e32=_0x5a2430['commands']['get']('showPreviousChange'),_0x1d28e7=_0x5a2430['commands']['get']('showNextChange');return _0x58bbf4['bind']('isBackwardNavigationEnabled')['to'](_0x3c9e32,'isEnabled'),_0x58bbf4['bind']('isForwardNavigationEnabled')['to'](_0x1d28e7,'isEnabled'),_0x58bbf4['bind']('isReady','currentChangeNumber','numberOfChanges','isNavigationMode')['to'](_0x3dffdb),this['listenTo'](_0x58bbf4,'execute',(_0x38d45b,_0x516e87)=>{_0x5a2430['execute']('forward'===_0x516e87?'showNextChange':'showPreviousChange');}),_0x58bbf4;}),_0x108257['show'](),_0x3dffdb['on']('change:isReady',(_0x386b53,_0x2fdf43,_0x3bbd2d)=>{_0x3bbd2d?_0x108257['hide']():_0x108257['show']();});}}class kt extends at{['_resizeObserver']=null;constructor(_0x1c7e1c,_0x59fc53){super(_0x1c7e1c,_0x59fc53);const _0x53806f=this['bindTemplate'];this['set']({'label':y(_0x1c7e1c,'Revision\x20name'),'_tooltipString':''}),this['fieldView']['placeholder']=y(_0x1c7e1c,'Enter\x20the\x20revision\x20name'),this['extendTemplate']({'tag':'span','attributes':{'class':['ck-revision-history-sidebar__revision-name'],'data-cke-tooltip-text':_0x53806f['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 _0x9bf6=this['fieldView']['element'];this['_tooltipString']=_0x9bf6['scrollWidth']>_0x9bf6['clientWidth']&&_0x9bf6['value']||'';}}class ti extends _0x28f441{constructor(_0x4f126f,_0x3ce0e1,_0x3ed997){super(_0x4f126f);const _0x196f12=new _0x4f0de5();_0x196f12['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 _0x12dd83=['ck','ck-revision-history-sidebar__revision-author'];_0x3ed997&&_0x12dd83['push']('ck-revision-history-sidebar__revision-author_creator');const _0x5ef50a=[{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__revision-author__name'],'title':y(_0x4f126f,_0x3ed997?'Revision\x20creator':'Revision\x20author')},'children':[_0x196f12,_0x3ce0e1['name']]}];this['setTemplate']({'tag':'li','attributes':{'class':_0x12dd83},'children':_0x5ef50a});}}function ni(_0x3af92c,_0x315e81){const _0x1ebc42=_0x3af92c['bindTemplate'],_0x26df57=_0x3af92c['locale'],_0x112977=_0x452444(_0x26df57);_0x112977['panelPosition']='sw';const _0x24b373=function(_0x47882d,_0xa557e4){const _0x5b08af=function(_0x91ef07,_0x23a3ba){const _0x5358d8=_0x91ef07['locale'],_0x3dd482={'Compare\x20against\x20selected':y(_0x5358d8,'Compare\x20against\x20selected'),'Name\x20this\x20revision':y(_0x5358d8,'Name\x20this\x20revision'),'Restore\x20this\x20revision':y(_0x5358d8,'Restore\x20this\x20revision')};return _0x23a3ba['map'](_0x22ec0c=>{const _0x570a85=_0x3dd482[_0x22ec0c['name']];return _0x570a85&&_0x570a85!==_0x22ec0c['name']&&(_0x22ec0c['name']=_0x570a85),_0x22ec0c;});}(_0x47882d,_0xa557e4),_0x191e97=new _0x4a3cfc();for(const _0x264adb of _0x5b08af){const _0x152f88={'type':'button','model':new to({'label':_0x264adb['name'],'class':_0x264adb['class'],'withText':!0x0,'role':'menuitem','_action':_0x264adb['action']})};_0x152f88['model']['bind']('isEnabled')['to'](_0x47882d,'isActionsDropdownOpen',_0x55469c=>'function'!=typeof _0x264adb['isEnabled']||(!_0x55469c||_0x264adb['isEnabled'](_0x47882d))),_0x191e97['add'](_0x152f88);}return _0x191e97;}(_0x3af92c,_0x315e81);return _0x3af92c['bind']('isActionsDropdownOpen')['to'](_0x112977,'isOpen'),_0x112977['buttonView']['set']({'label':y(_0x26df57,'Show\x20more\x20items'),'tooltip':!0x0,'tooltipPosition':'sw','icon':_0xd19f15['threeVerticalDots']}),_0x112977['extendTemplate']({'attributes':{'class':['ck-revision-history-sidebar__revision__actions',_0x1ebc42['if']('isActionsDropdownOpen','ck-on')]},'on':{'click':_0x1ebc42['to'](_0x59a69c=>_0x59a69c['stopPropagation']())}}),_0x112977['on']('execute',_0x223050=>{_0x3af92c['isReady']&&'function'==typeof _0x223050['source']['_action']&&_0x223050['source']['_action'](_0x3af92c);}),_0xe90c70(_0x112977,_0x24b373,{'role':'menu'}),_0x112977['listenTo'](_0x3af92c,'change:isActionsDropdownOpen',(_0x7cc95c,_0x303a14,_0x36e855)=>{if(_0x36e855)for(const _0x19e6b9 of _0x112977['listView']['items']){const _0x2fcc25=_0x19e6b9['children']['first'],_0x218d7f=_0x315e81['find'](_0x2e7f25=>_0x2e7f25['action']===_0x2fcc25['_action'])['isVisible'];_0x19e6b9['isVisible']=void 0x0===_0x218d7f||_0x218d7f(_0x3af92c);}}),_0x112977;}class ai extends/* #__PURE__ -- @preserve */
|
|
26
|
+
_0x3a175c(_0x28f441){['id'];['revisionNameView'];['revisionActionsView'];['_revision'];['_requireRevisionName'];constructor(_0x1c8053,_0x7453d4,_0x35d2bc,_0x14817e){super(_0x1c8053);const _0x13db63=this['bindTemplate'],_0x43eeba=function(_0x39f99f,_0x4f7a7c){const _0x4da235=Array['from'](_0x4f7a7c['authors'])['filter'](_0x7901db=>_0x7901db!=_0x4f7a7c['creator']);return _0x4f7a7c['creator']&&_0x4da235['unshift'](_0x4f7a7c['creator']),_0x4da235['map'](_0x428ae2=>new ti(_0x39f99f,_0x428ae2,_0x428ae2==_0x4f7a7c['creator']));}(_0x1c8053,_0x7453d4);this['id']=_0x7453d4['id'],this['_revision']=_0x7453d4,this['_requireRevisionName']=_0x14817e,this['bind']('name','createdAt')['to'](_0x7453d4),this['bind']('_createdAtFormatted')['to'](this,'createdAt',_0x2f6168=>{return _0x5b772c=_0x1c8053['uiLanguage'],(_0x4973e4=_0x2f6168)['toLocaleDateString'](_0x5b772c,{'month':'long','day':'numeric'})+',\x20'+_0x4973e4['toLocaleTimeString'](_0x5b772c,{'hour':'numeric','minute':'numeric'});var _0x5b772c,_0x4973e4;}),this['set']('isSelected',!0x1),this['set']('isHighlighted',!0x1),this['set']('isActionsDropdownOpen',!0x1),this['set']('isReady',!0x1),this['set']('isEnabled',!0x1),this['revisionNameView']=new kt(_0x1c8053,_0x211ca4),this['revisionNameView']['fieldView']['extendTemplate']({'attributes':{'maxlength':'220'}}),this['revisionNameView']['fieldView']['bind']('value')['to'](this,'name',_0x46fea1=>_0x46fea1||this['_createdAtFormatted']),this['revisionNameView']['bind']('isEnabled')['to'](this,'isSelected',this,'isEnabled',(_0x1fac32,_0x360002)=>_0x1fac32&&_0x360002),this['revisionActionsView']=_0x35d2bc&&_0x35d2bc['length']?ni(this,_0x35d2bc):'',this['revisionActionsView']&&this['revisionActionsView']['bind']('isEnabled')['to'](this),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision-wrapper',_0x13db63['if']('isConfirm','ck-revision-history-sidebar__revision-wrapper_confirmation_visible')]},'children':[{'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision',_0x13db63['if']('isEnabled','ck-disabled',_0x1964dc=>!_0x1964dc),_0x13db63['if']('isSelected','ck-revision-history-sidebar__revision_selected'),_0x13db63['if']('isHighlighted','ck-revision-history-sidebar__revision_highlighted'),_0x13db63['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':_0x13db63['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':_0x43eeba}]},this['revisionActionsView']],'on':{'click':_0x13db63['to'](_0x160708=>{_0x160708['srcElement']['closest']('.ck-thread__remove-confirm')||this['isReady']&&this['isEnabled']&&this['fire']('select',{'id':this['id']});})}}]});}['render'](){super['render']();const _0x3a5dcb=this['revisionNameView']['fieldView']['element'];this['listenTo'](_0x3a5dcb,'change',()=>{this['_requireRevisionName']&&!_0x3a5dcb['value']||this['fire']('setName',{'id':this['id'],'name':_0x3a5dcb['value']}),_0x3a5dcb['value']||(_0x3a5dcb['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(_0x5bfd45,_0x174cc7){const _0x4bde81=_0x1722bf['fromJSDate'](_0x5bfd45)['setLocale'](_0x174cc7),_0x393a3b=_0x1722bf['local'](),_0x534893=_0x393a3b['minus']({'days':0x1})['startOf']('day');let _0x4c129b,_0x3adece;return _0x4bde81['hasSame'](_0x393a3b,'day')?(_0x4c129b=_0x4bde81['startOf']('day')['toJSDate'](),_0x3adece=_0x4bde81['toRelativeCalendar']()):_0x4bde81['hasSame'](_0x534893,'day')?(_0x4c129b=_0x534893['toJSDate'](),_0x3adece=_0x4bde81['toRelativeCalendar']()):_0x4bde81['hasSame'](_0x393a3b,'week')?(_0x4c129b=_0x4bde81['startOf']('week')['toJSDate'](),_0x3adece=_0x4bde81['weekdayLong']||''):_0x4bde81['hasSame'](_0x393a3b,'year')?(_0x4c129b=_0x4bde81['startOf']('month')['toJSDate'](),_0x3adece=_0x4bde81['monthLong']||''):(_0x4c129b=_0x4bde81['startOf']('year')['toJSDate'](),_0x3adece=String(_0x4bde81['year'])),{'startDate':_0x4c129b,'localizedPeriodName':_0x3adece};}class mi extends _0x28f441{['startDate'];['revisionViews'];['_revisionActions'];['_requireRevisionName'];constructor(_0x19c0cc,_0x4990bb,_0xf0235e,_0x583bee){super(_0x19c0cc);const _0x1d2ade=di(_0x4990bb,this['locale']['uiLanguage'])['localizedPeriodName'];this['startDate']=_0x4990bb,this['revisionViews']=this['createCollection'](),this['_revisionActions']=_0xf0235e,this['_requireRevisionName']=_0x583bee,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':_0x1d2ade}]},{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__time-period__revisions']},'children':this['revisionViews']}]});}['addRevision'](_0x45d5cc){const _0x10d213=new ai(this['locale'],_0x45d5cc,this['_revisionActions'],this['_requireRevisionName']);this['revisionViews']['add'](_0x10d213);}['removeRevision'](_0x2e8354){const _0x58620c=this['revisionViews']['find'](_0x3f4dd0=>_0x3f4dd0['id']===_0x2e8354['id']);this['revisionViews']['remove'](_0x58620c);}}class as extends _0x28f441{constructor(_0x422331){super(_0x422331);const _0x58579b=new _0x4f0de5();_0x58579b['content']=_0xd19f15['history'],this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all','ck-revision-history-sidebar__header']},'children':[_0x58579b,{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__header__label']},'children':[y(_0x422331,'Revision\x20history')]}]});}}class ci extends _0x28f441{['timePeriodViews'];['_revisions'];['_revisionActions'];['_requireRevisionName'];constructor(_0x5f2faf,_0x36e236,_0xcec7ac,_0x1a5430){super(_0x5f2faf);const _0x4ef730=this['bindTemplate'];this['timePeriodViews']=this['createCollection'](),this['timePeriodViews']['delegate']('select')['to'](this),this['timePeriodViews']['delegate']('setName')['to'](this),this['_revisions']=_0x36e236,this['_revisionActions']=_0xcec7ac,this['_requireRevisionName']=_0x1a5430,this['on']('select',(_0x35b930,_0x898db7)=>{this['fire']('revisionSelected',_0x898db7);}),this['on']('setName',(_0x16c630,_0x4915b7)=>{this['fire']('revisionSetName',_0x4915b7);}),this['set']('isEnabled',!0x1),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-rounded-corners','ck-revision-history-sidebar']},'children':[new as(_0x5f2faf),{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__timeline',_0x4ef730['if']('isEnabled','ck-disabled',_0x1e0e2e=>!_0x1e0e2e)]},'children':this['timePeriodViews']}]});}['render'](){super['render']();for(const _0x5acb4a of this['_revisions'])this['_addRevision'](_0x5acb4a);this['_revisions']['on']('add',(_0x513a00,_0x1ce84e)=>{this['_addRevision'](_0x1ce84e);}),this['_revisions']['on']('remove',(_0x2e1265,_0x414cdd)=>{this['_removeRevision'](_0x414cdd);});}get['revisionViews'](){return this['timePeriodViews']['map'](_0x2f32dc=>_0x2f32dc['revisionViews']['map'](_0x2c4a6e=>_0x2c4a6e))['flat']();}['selectRevision'](_0x447d5b){for(const _0x20c793 of this['revisionViews'])_0x447d5b&&_0x447d5b['id']===_0x20c793['id']?_0x20c793['select']():_0x20c793['deselect']();}['highlightRevisions'](_0x282170){for(const _0x1ff3bc of this['revisionViews'])_0x282170['some'](({id:_0x4d5425})=>_0x4d5425===_0x1ff3bc['id'])?_0x1ff3bc['highlight']():_0x1ff3bc['unhighlight']();}['_addRevision'](_0x1f5e0e){const _0x2e5555=di(_0x1f5e0e['createdAt'],this['locale']['uiLanguage'])['startDate'];let _0x549ceb=this['timePeriodViews']['get'](0x0);_0x549ceb&&_0x549ceb['startDate']['getTime']()===_0x2e5555['getTime']()||(_0x549ceb=new mi(this['locale'],_0x2e5555,this['_revisionActions'],this['_requireRevisionName']),this['timePeriodViews']['add'](_0x549ceb)),_0x549ceb['addRevision'](_0x1f5e0e);}['_removeRevision'](_0x146256){const _0x79953c=di(_0x146256['createdAt'],this['locale']['uiLanguage'])['startDate'];this['_getTimePeriodViewByStartDate'](_0x79953c)['removeRevision'](_0x146256);}['_getTimePeriodViewByStartDate'](_0x9a83be){return this['timePeriodViews']['find'](_0x584da0=>_0x584da0['startDate']['getTime']()===_0x9a83be['getTime']());}}class w extends _0x56b4f6{['_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(_0x2ce26e){super(_0x2ce26e),this['_revisionViewer']=_0x2ce26e['plugins']['get'](d),this['_revisionsRepository']=this['_revisionViewer']['repository'],this['_sidebarView']=null;}['init'](){const _0x1f591d=this['_revisionsRepository']['_revisions'],_0x11f899=this['_createRevisionActions'](),_0x3337bf=this['editor']['config']['get']('revisionHistory.viewerSidebarContainer');this['_sidebarView']=new ci(this['editor']['locale'],_0x1f591d,_0x11f899,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',(_0x3cacd4,_0x21b267)=>{_0x21b267['revisionViews']['on']('add',(_0x232453,_0x2ab785)=>{_0x2ab785['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)),_0x3337bf['appendChild'](this['_sidebarView']['element']);}['destroy'](){this['_sidebarView']['element']['remove'](),this['_sidebarView']['destroy']();}['_handleEditorDataReady'](){const _0x27b16b=this['_revisionsRepository']['getRevision'](0x0);if(_0x27b16b){const _0x587af6=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x27b16b['id']);this['_revisionViewer']['compare'](_0x27b16b,_0x587af6);}}['_handleRevisionSelected'](_0x3d34d2,_0x7fa127){const _0x23902d=this['_revisionsRepository']['getRevision'](_0x7fa127['id']),_0x1c8e5b=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x23902d['id']);this['_revisionViewer']['compare'](_0x23902d,_0x1c8e5b);}['_handleRevisionSetName'](_0x325095,_0x57726b){this['_revisionsRepository']['getRevision'](_0x57726b['id'])['setName'](_0x57726b['name']);}['_handleDiffChange'](_0x3a55cf,_0xdf295c,_0x4e62e8){const _0x531d71=this['_revisionsRepository']['getRevisionsInDiff'](_0x4e62e8);_0x531d71['length']>0x2?(this['_sidebarView']['highlightRevisions'](_0x531d71),this['_sidebarView']['selectRevision'](null)):(this['_sidebarView']['highlightRevisions']([]),this['_sidebarView']['selectRevision'](_0x531d71[0x0]));}['_createRevisionActions'](){const _0x3bd4d3=this['editor'],_0x4a86e8=w['availableRevisionActions'],_0x189595=_0x3bd4d3['config']['get']('revisionHistory.revisionActions')||w['defaultRevisionActions'];if(_0x189595['length'])return _0x189595['map'](_0x14c315=>{const _0x520557='string'==typeof _0x14c315?Object['assign']({},_0x4a86e8[_0x14c315]):_0x14c315;return _0x520557['action']=_0x520557['action']['bind'](this,_0x3bd4d3),_0x520557['isVisible']&&(_0x520557['isVisible']=_0x520557['isVisible']['bind'](this,_0x3bd4d3)),_0x520557;});}}function Rt(){return{'compareAgainstSelected':{'name':'Compare\x20against\x20selected','action':({plugins:_0x5c9e13},_0x2e2cf8)=>{const _0x24af04=_0x5c9e13['get'](d),_0x2150c2=_0x24af04['repository'];let _0x1990df=_0x24af04['diff']['newRevisionId'],_0x233e9c=_0x2e2cf8['id'];_0x2150c2['getIndex'](_0x1990df)>_0x2150c2['getIndex'](_0x233e9c)&&([_0x1990df,_0x233e9c]=[_0x233e9c,_0x1990df]),_0x24af04['compare'](_0x1990df,_0x233e9c);},'isVisible':({plugins:_0x3bd1ed},_0x5bd51b)=>{const _0x120359=_0x3bd1ed['get'](d);return!(_0x120359['repository']['getRevisionsInDiff'](_0x120359['diff'])['length']>0x2)&&!_0x5bd51b['isSelected'];}},'restoreRevision':{'name':'Restore\x20this\x20revision','action':(_0x2b4a1f,{id:_0x352a2d})=>{_0x2b4a1f['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x352a2d);},'isVisible':({plugins:_0xe94f8b},_0x4253fa)=>!!_0xe94f8b['get'](d)['repository']['getLaterVisibleRevision'](_0x4253fa['id'])},'nameRevision':{'name':'Name\x20this\x20revision','action':({plugins:_0x1fe7b3},{id:_0xf54e82,revisionNameView:_0x33cc48})=>{const _0x1572b6=_0x1fe7b3['get'](d),_0x2b9789=_0x1572b6['repository']['getEarlierVisibleRevision'](_0xf54e82);_0x1572b6['compare'](_0xf54e82,_0x2b9789),_0x33cc48['focus'](),_0x33cc48['fieldView']['select']();}}};}class st extends ht{['_view'];['_toolbarConfig'];['_elementReplacer'];get['view'](){return this['_view'];}constructor(_0x5a1228,_0x4520f1){super(_0x5a1228),this['_view']=_0x4520f1,this['_toolbarConfig']=ct(_0x5a1228['config']['get']('toolbar')),this['_elementReplacer']=new nt();}get['element'](){return this['view']['element'];}['init'](_0x319569){const _0x663230=this['editor'],_0x1d63f2=this['view'],_0x12522e=_0x663230['editing']['view'],_0x2d6035=_0x1d63f2['editable'],_0x2e5e7a=_0x12522e['document']['getRoot']();_0x2d6035['name']=_0x2e5e7a['rootName'],_0x1d63f2['render']();const _0x1b846b=_0x2d6035['element'];this['setEditableElement'](_0x2d6035['name'],_0x1b846b),_0x1d63f2['editable']['bind']('isFocused')['to'](this['focusTracker']),_0x12522e['attachDomRoot'](_0x1b846b),this['_elementReplacer']['replace'](_0x319569,this['element']),this['_initToolbar'](),this['fire']('ready');}['destroy'](){super['destroy']();const _0xa96a74=this['view'],_0x3b574f=this['editor']['editing']['view'];this['_elementReplacer']['restore'](),_0x3b574f['detachDomRoot'](_0xa96a74['editable']['name']),_0xa96a74['destroy']();}['_initToolbar'](){const _0xb03fe8=this['view'];_0xb03fe8['stickyPanel']['bind']('isActive')['to'](this['focusTracker'],'isFocused'),_0xb03fe8['stickyPanel']['limiterElement']=_0xb03fe8['element'],_0xb03fe8['stickyPanel']['bind']('viewportTopOffset')['to'](this,'viewportOffset',({top:_0x2e7f43})=>_0x2e7f43),_0xb03fe8['toolbar']['fillFromConfig'](this['_toolbarConfig'],this['componentFactory']),this['addToolbar'](_0xb03fe8['toolbar']);}}class ot extends dt{['_editable'];['stickyPanel'];['toolbar'];get['editable'](){return this['_editable'];}constructor(_0x1caa9d,_0x374872,_0x147c33={}){super(_0x1caa9d),this['stickyPanel']=new lt(_0x1caa9d),this['toolbar']=new pt(_0x1caa9d,{'shouldGroupWhenFull':_0x147c33['shouldToolbarGroupWhenFull']}),this['_editable']=new ut(_0x1caa9d,_0x374872);}['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(_0x164380,_0x1887df){super(_0x1887df),this['sourceElement']=_0x164380,this['model']['document']['createRoot']();const _0x291ea5=new ot(this['locale'],this['editing']['view'],{'shouldToolbarGroupWhenFull':!0x0});this['_ui']=new st(this,_0x291ea5);}['destroy'](){return this['updateSourceElement'](),this['ui']['destroy'](),super['destroy']();}static async['create'](_0x3e3c3c,_0x2a80f4){const _0x3bf1f0=new this(_0x3e3c3c,_0x2a80f4);return await _0x3bf1f0['initPlugins'](),await _0x3bf1f0['ui']['init'](_0x3e3c3c),await _0x3bf1f0['data']['init'](_0x3bf1f0['config']['get']('initialData')||''),_0x3bf1f0['fire']('ready'),_0x3bf1f0;}}const p=['RevisionHistoryUI','RestrictedEditingMode'];class k extends _0x56b4f6{['result'];static get['pluginName'](){return'RevisionViewerIntegration';}constructor(_0x5bcc9d){super(_0x5bcc9d),this['result']='end';}}class H extends _0x56b4f6{['_viewerEditor'];static get['pluginName'](){return'RevisionHistory';}static get['requires'](){return[l,u];}constructor(_0x301841){if(super(_0x301841),!this['editor']['config']['get']('revisionHistory'))throw new _0x2e8286('revision-history-missing-configuration',this);this['_viewerEditor']=null,this['editor']['config']['define']('revisionHistory.showRevisionViewerCallback',_0x2e984f=>this['_showRevisionViewer']({..._0x2e984f,'translations':this['editor']['locale']['translations']})),this['editor']['config']['define']('revisionHistory.closeRevisionViewerCallback',_0x4f7e46=>this['_closeRevisionViewer'](_0x4f7e46)),this['editor']['config']['define']('revisionHistory.restoreRevisionCallback',_0x346e41=>this['_restoreRevision'](_0x346e41)),this['editor']['config']['define']('revisionHistory.requireRevisionName',!0x1),this['_enhanceShowRevisionViewerCallback'](),this['_enhanceCloseRevisionViewerCallback']();}set['adapter'](_0x13b591){this['editor']['plugins']['get']('RevisionTracker')['adapter']=_0x13b591;}get['adapter'](){return this['editor']['plugins']['get']('RevisionTracker')['adapter'];}['addRevisionData'](_0x3093b0){return this['editor']['plugins']['get']('RevisionTracker')['addRevisionData'](_0x3093b0);}['getRevision'](_0x1e73c5){return this['editor']['plugins']['get']('RevisionsRepository')['getRevision'](_0x1e73c5);}['getRevisions'](_0x566d9c){return this['editor']['plugins']['get']('RevisionsRepository')['getRevisions'](_0x566d9c||{'toJSON':!0x1});}['_getRevisionViewerEditorConfig'](){const _0xde04fb=this['editor'],_0x2e20be=_0x1749c9(_0xde04fb,p),_0x1e59d8=_0xde04fb['plugins']['get']('RevisionTracker'),_0x3db3bb=_0xde04fb['plugins']['get']('Users')['users'];return _0x2e20be['toolbar']=['exitToEditing','restoreRevision','changesNavigation'],delete _0x2e20be['lazyRoots'],(_0x2e20be['plugins']['push'](k,d,R,class extends _0x56b4f6{static get['requires'](){return[d,'Users'];}['init'](){const _0x42ab73=this['editor']['plugins']['get']('Users');for(const _0x1a0b3b of _0x3db3bb)_0x1a0b3b['isAnonymous']||_0x42ab73['getUser'](_0x1a0b3b['id'])||_0x42ab73['addUser'](_0x1a0b3b);const _0x1f7d95=_0x1e59d8['repository']['getRevisions']();let _0x519306=null;const _0x5b3a98=this['editor']['plugins']['get']('RevisionViewer');_0x5b3a98['adapter']=_0x1e59d8['adapter'],_0x5b3a98['bind']('isEnabled')['to'](_0x1e59d8),this['editor']['commands']['get']('restoreRevision')['bind']('isEnabled')['to'](_0xde04fb,'isReadOnly',_0x40c14c=>!_0x40c14c);for(const _0x1f604a of _0x1f7d95){const _0x14622b=null===_0x1f604a['creator'];if(_0x14622b&&_0x1f604a['toVersion']===_0x1f604a['fromVersion'])continue;const _0x3ef62e=_0x1f604a['toJSON']();_0x5b3a98['addRevisionData'](_0x3ef62e,(_0x29404b,_0x5ec07d,_0x54848d)=>{if(_0x14622b){if(_0x519306)_0x519306['_update'](_0x29404b,_0x5ec07d);else{if(!_0x5ec07d){const _0x16fb5d=_0x54848d['toJSON']();_0x16fb5d['id']=_0x27425f(),_0x1e59d8['saveRevision'](_0x16fb5d,_0x54848d['toVersion'])['then'](_0x2b1278=>{_0x519306=_0x2b1278;});}}}else _0x1f604a['_update'](_0x29404b,_0x5ec07d);});}}},w),_0x2e20be);}['_enhanceShowRevisionViewerCallback'](){const _0x1cea4e=this['editor']['config']['get']('revisionHistory')['showRevisionViewerCallback'];this['editor']['config']['set']('revisionHistory.showRevisionViewerCallback',async()=>{this['editor']['enableReadOnlyMode']('revision-history-viewer-opened');const _0x1f54af=this['editor']['plugins']['get']('RevisionTracker');if(this['editor']['plugins']['has']('Autosave')){const _0x369970=this['editor']['plugins']['get']('Autosave');await _0x369970['save']();}else await _0x1f54af['update']();if(this['editor']['plugins']['has']('PaginationLookup')&&this['editor']['plugins']['get']('PaginationLookup')['_recalculatePageBreaks'](),this['editor']['plugins']['has']('Dialog')){const _0x24099a=this['editor']['plugins']['get']('Dialog');_0x24099a['isOpen']&&_0x24099a['hide']();}const _0x30a465=this['_getRevisionViewerEditorConfig']();return _0x1cea4e(_0x30a465)['then'](_0xd1fdc3=>{return(this['_viewerEditor']=_0xd1fdc3,this['editor']['plugins']['has']('Annotations'))&&this['editor']['plugins']['get']('Annotations')['refreshVisibility'](),_0xd1fdc3;})['catch'](_0x333d3b=>(console['error'](_0x333d3b),this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),null));});}['_enhanceCloseRevisionViewerCallback'](){const _0x7a791a=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'](),_0x7a791a(this['_viewerEditor'])['then'](()=>{if(this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),this['_viewerEditor']=null,this['editor']['plugins']['has']('Annotations')){const _0x4ba601=this['editor']['plugins']['get']('Annotations');_0x4ba601['refreshVisibility'](),_0x4ba601['refreshPositioning']();}})));}['_showRevisionViewer'](_0x2e5249){const _0x486d7c=this['editor']['config']['get']('revisionHistory.editorContainer'),_0x7c8da0=this['editor']['config']['get']('revisionHistory.viewerContainer'),_0x4de18d=this['editor']['config']['get']('revisionHistory.viewerEditorElement');return m['create'](_0x4de18d,_0x2e5249)['then'](_0x2af035=>(_0x7c8da0['style']['display']='block',_0x486d7c['style']['display']='none',_0x2af035));}['_closeRevisionViewer'](_0x2bdece){const _0x39ed00=this['editor']['config']['get']('revisionHistory.editorContainer');return this['editor']['config']['get']('revisionHistory.viewerContainer')['style']['display']='none',_0x39ed00['style']['display']='',_0x2bdece['destroy']();}async['_restoreRevision'](_0x1c63da){const _0x6a034d=this['editor'],_0x57e224=this['_viewerEditor']['plugins']['get']('RevisionViewer'),_0x15a0bd=_0x6a034d['plugins']['get']('RevisionTracker'),_0x3b7939=_0x57e224['repository']['getRevision'](_0x1c63da);let _0x1cee52,_0x3bea76,_0x285ccb;try{_0x1cee52=await _0x57e224['getRevisionData'](_0x3b7939),_0x3bea76=await _0x57e224['getRevisionRootsAttributes'](_0x3b7939);}catch(_0x3641e0){return void console['error'](_0x3641e0);}_0x6a034d['model']['change'](_0x8ccd01=>{for(const _0x2a0a76 of Array['from'](_0x6a034d['model']['markers']['getMarkersGroup']('restrictedEditingException')))_0x8ccd01['removeMarker'](_0x2a0a76);}),_0x57e224['isReady']=!0x1,_0x6a034d['model']['enqueueChange'](_0x2d70de=>{_0x2d70de['setSelection'](null),_0x2d70de['removeSelectionAttribute'](_0x6a034d['model']['document']['selection']['getAttributeKeys']());const _0x26485a=Object['keys'](_0x1cee52);for(const _0x5679b2 of _0x6a034d['model']['document']['roots'])'$graveyard'!=_0x5679b2['rootName']&&_0x5679b2['isAttached']()&&!_0x26485a['includes'](_0x5679b2['rootName'])&&_0x2d70de['detachRoot'](_0x5679b2);for(const _0x149273 of _0x26485a){let _0x18f9d0=_0x6a034d['model']['document']['getRoot'](_0x149273);_0x18f9d0&&_0x18f9d0['isAttached']()||(_0x18f9d0=_0x2d70de['addRoot'](_0x149273));const _0x5d1e19=_0x3bea76[_0x149273],_0x51ddfe=Object['keys'](_0x5d1e19),_0x97f8d0=_0x1cee52[_0x149273];for(const _0x493271 of _0x18f9d0['getAttributeKeys']())_0x51ddfe['includes'](_0x493271)||_0x2d70de['removeAttribute'](_0x493271,_0x18f9d0);for(const _0x2af1ce of _0x51ddfe)_0x2d70de['setAttribute'](_0x2af1ce,_0x3bea76[_0x149273][_0x2af1ce],_0x18f9d0);_0x2d70de['remove'](_0x2d70de['createRangeIn'](_0x18f9d0)),_0x2d70de['insert'](_0x6a034d['data']['parse'](_0x97f8d0,_0x18f9d0),_0x18f9d0,0x0);}});const _0x514456=y(_0x6a034d['locale'],'Restored');if(_0x3b7939['name'])_0x285ccb=-0x1==_0x3b7939['name']['indexOf'](_0x514456)?_0x514456+':\x20'+_0x3b7939['name']:_0x3b7939['name'];else _0x285ccb=_0x514456+':\x20'+(_0x3b7939['createdAt']['toLocaleDateString'](_0x6a034d['locale']['uiLanguage'],{'month':'long','day':'numeric'})+',\x20'+_0x3b7939['createdAt']['toLocaleTimeString'](_0x6a034d['locale']['uiLanguage'],{'hour':'numeric','minute':'numeric'}));return await _0x15a0bd['saveRevision']({'name':_0x285ccb}),_0x57e224['isReady']=!0x0,_0x6a034d['config']['get']('revisionHistory')['closeRevisionViewerCallback']();}}export{a as Revision,H as RevisionHistory,u as RevisionHistoryUI,l as RevisionTracker,d as RevisionViewer,de as RevisionViewerLoadingOverlay,R as RevisionViewerUI,A as RevisionsRepository,w as RevisionsSidebar};
|