@ckeditor/ckeditor5-revision-history 42.0.0-alpha.20 → 42.0.0-alpha.21

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/dist/index.js CHANGED
@@ -20,10 +20,10 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x3bc8af,Context as _0x29c6ef,PendingActions as _0x6dd356,icons as _0x18e07b,Command as _0x52df47,ElementApiMixin as rt,Editor as it}from'@ckeditor/ckeditor5-core/dist/index.js';import{ObservableMixin as _0x342d1c,uid as _0x42c424,Collection as _0x141ac7,logWarning as _0x4eff96,FocusTracker as _0x4e8013,KeystrokeHandler as _0x528809,scrollViewportToShowTarget as _0x3fd308,ResizeObserver as mt,ElementReplacer as nt,CKEditorError as _0x4dd44b}from'@ckeditor/ckeditor5-utils/dist/index.js';import{Users as _0x45f376,getMarkerDomElement as _0x444f34,ConfirmMixin as _0x2d57c6,sanitizeEditorConfig as _0x1e2ca8}from'ckeditor5-collaboration/dist/index.js';import{ViewDocumentFragment as _0x68de1b,ViewText as _0x75ba4f,ViewElement as _0x37b0cc,Element as ft,Range as vt,Position as gt,DocumentFragment as wt,ViewContainerElement as _0x22cfa1,ViewAttributeElement as _0x2fcb99,ViewEmptyElement as _0x340848,ViewRawElement as _0x3024d4,ViewUIElement as _0x409b2b,Text as _t}from'@ckeditor/ckeditor5-engine/dist/index.js';import{cloneDeep as _0x5c50ea,set as _0x2aad67,unset as _0x1a3166,isEqual as _0x44b192}from'lodash-es';import{View as _0x5804aa,injectCssTransitionDisabler as ts,submitHandler as _0x2feea4,LabeledFieldView as at,createLabeledInputText as _0x3b77d0,createDropdown as _0x54d2f5,ListView as te,ListItemView as _0x3895a4,ButtonView as _0xa1287,MenuBarMenuView as _0x4dd2ae,MenuBarMenuListView as _0xbf31bd,MenuBarMenuListItemView as _0x2e9e0a,MenuBarMenuListItemButtonView as _0x511fd0,ContextualBalloon as _0x25b583,ToolbarSeparatorView as _0x4ea959,IconView as _0x3b2b08,addListToDropdown as _0x766eeb,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 _0x4a009a}from'luxon';class a extends/* #__PURE__ -- @preserve */
24
- _0x342d1c(){['id'];['creator'];['authors'];['diffData'];['toVersion'];['fromVersion'];['model'];constructor(_0x57d95f){super(),this['id']=_0x57d95f['id']||_0x42c424(),this['creator']=_0x57d95f['creator']||null,this['authors']=_0x57d95f['authors']||[],this['diffData']=_0x57d95f['diffData']||null,this['toVersion']=_0x57d95f['toVersion']||0x0,this['fromVersion']=_0x57d95f['fromVersion']||0x0,this['set']('name',_0x57d95f['name']||''),this['set']('createdAt',_0x57d95f['createdAt']||new Date()),this['set']('attributes',_0x57d95f['attributes']||{});}['setName'](_0x5cf91f){this['_update']({'name':_0x5cf91f});}['setAttribute'](_0x1ab525,_0x5af5c0){const _0x2e25eb=_0x5c50ea(this['attributes']);_0x2aad67(_0x2e25eb,_0x1ab525,_0x5af5c0),this['_update']({'attributes':_0x2e25eb});}['removeAttribute'](_0x3eec5c){const _0x4a19e8=_0x5c50ea(this['attributes']);_0x1a3166(_0x4a19e8,_0x3eec5c),this['_update']({'attributes':_0x4a19e8});}['_update'](_0x4b2289,_0xc515bf=!0x1){let _0x55233b=!0x1;const _0x38d930={'id':this['id']},_0x561a1e=['name','createdAt','diffData','authors','attributes','toVersion','fromVersion','creatorId'];for(const _0x46df7b of _0x561a1e){const _0x54f2e9=_0x4b2289[_0x46df7b];void 0x0!==_0x54f2e9&&_0x54f2e9!==this[_0x46df7b]&&(this[_0x46df7b]=_0x54f2e9,_0x38d930[_0x46df7b]=_0x54f2e9,_0x55233b=!0x0);}_0x55233b&&(_0x38d930['authors']&&(_0x38d930['authorsIds']=_0x38d930['authors']['map'](_0x283cf5=>_0x283cf5['id']),delete _0x38d930['authors']),this['fire']('_update',_0x38d930,_0xc515bf));}['toJSON'](){return{'id':this['id'],'name':this['name'],'creatorId':this['creator']?this['creator']['id']:null,'authorsIds':this['authors']['map'](_0x3279a2=>_0x3279a2['id']),'diffData':this['diffData'],'createdAt':this['createdAt'],'attributes':this['attributes'],'fromVersion':this['fromVersion'],'toVersion':this['toVersion']};}}class A extends _0x3bc8af{['_revisions'];static get['requires'](){return[_0x45f376];}static get['pluginName'](){return'RevisionsRepository';}get['length'](){return this['_revisions']['length'];}constructor(_0x4e8833){super(_0x4e8833),this['_revisions']=new _0x141ac7();}['afterInit'](){!function(_0x2d47dd){function _0x3de38f(_0x13f3c5,_0x39f667,_0x1226a8){const _0x3258d9={};_0x3258d9[_0x3b20a9([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])]={0x10:0xa,0x18:0xc,0x20:0xe},_0x3258d9[_0x3b20a9([0x72,0x63,0x6f,0x6e])]=[0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36,0x6c,0xd8,0xab,0x4d,0x9a,0x2f,0x5e,0xbc,0x63,0xc6,0x97,0x35,0x6a,0xd4,0xb3,0x7d,0xfa,0xef,0xc5,0x91],_0x3258d9[_0x3b20a9([0x53])]=[0x63,0x7c,0x77,0x7b,0xf2,0x6b,0x6f,0xc5,0x30,0x1,0x67,0x2b,0xfe,0xd7,0xab,0x76,0xca,0x82,0xc9,0x7d,0xfa,0x59,0x47,0xf0,0xad,0xd4,0xa2,0xaf,0x9c,0xa4,0x72,0xc0,0xb7,0xfd,0x93,0x26,0x36,0x3f,0xf7,0xcc,0x34,0xa5,0xe5,0xf1,0x71,0xd8,0x31,0x15,0x4,0xc7,0x23,0xc3,0x18,0x96,0x5,0x9a,0x7,0x12,0x80,0xe2,0xeb,0x27,0xb2,0x75,0x9,0x83,0x2c,0x1a,0x1b,0x6e,0x5a,0xa0,0x52,0x3b,0xd6,0xb3,0x29,0xe3,0x2f,0x84,0x53,0xd1,0x0,0xed,0x20,0xfc,0xb1,0x5b,0x6a,0xcb,0xbe,0x39,0x4a,0x4c,0x58,0xcf,0xd0,0xef,0xaa,0xfb,0x43,0x4d,0x33,0x85,0x45,0xf9,0x2,0x7f,0x50,0x3c,0x9f,0xa8,0x51,0xa3,0x40,0x8f,0x92,0x9d,0x38,0xf5,0xbc,0xb6,0xda,0x21,0x10,0xff,0xf3,0xd2,0xcd,0xc,0x13,0xec,0x5f,0x97,0x44,0x17,0xc4,0xa7,0x7e,0x3d,0x64,0x5d,0x19,0x73,0x60,0x81,0x4f,0xdc,0x22,0x2a,0x90,0x88,0x46,0xee,0xb8,0x14,0xde,0x5e,0xb,0xdb,0xe0,0x32,0x3a,0xa,0x49,0x6,0x24,0x5c,0xc2,0xd3,0xac,0x62,0x91,0x95,0xe4,0x79,0xe7,0xc8,0x37,0x6d,0x8d,0xd5,0x4e,0xa9,0x6c,0x56,0xf4,0xea,0x65,0x7a,0xae,0x8,0xba,0x78,0x25,0x2e,0x1c,0xa6,0xb4,0xc6,0xe8,0xdd,0x74,0x1f,0x4b,0xbd,0x8b,0x8a,0x70,0x3e,0xb5,0x66,0x48,0x3,0xf6,0xe,0x61,0x35,0x57,0xb9,0x86,0xc1,0x1d,0x9e,0xe1,0xf8,0x98,0x11,0x69,0xd9,0x8e,0x94,0x9b,0x1e,0x87,0xe9,0xce,0x55,0x28,0xdf,0x8c,0xa1,0x89,0xd,0xbf,0xe6,0x42,0x68,0x41,0x99,0x2d,0xf,0xb0,0x54,0xbb,0x16],_0x3258d9[_0x3b20a9([0x54,0x31])]=[0xc66363a5,0xf87c7c84,0xee777799,0xf67b7b8d,0xfff2f20d,0xd66b6bbd,0xde6f6fb1,0x91c5c554,0x60303050,0x2010103,0xce6767a9,0x562b2b7d,0xe7fefe19,0xb5d7d762,0x4dababe6,0xec76769a,0x8fcaca45,0x1f82829d,0x89c9c940,0xfa7d7d87,0xeffafa15,0xb25959eb,0x8e4747c9,0xfbf0f00b,0x41adadec,0xb3d4d467,0x5fa2a2fd,0x45afafea,0x239c9cbf,0x53a4a4f7,0xe4727296,0x9bc0c05b,0x75b7b7c2,0xe1fdfd1c,0x3d9393ae,0x4c26266a,0x6c36365a,0x7e3f3f41,0xf5f7f702,0x83cccc4f,0x6834345c,0x51a5a5f4,0xd1e5e534,0xf9f1f108,0xe2717193,0xabd8d873,0x62313153,0x2a15153f,0x804040c,0x95c7c752,0x46232365,0x9dc3c35e,0x30181828,0x379696a1,0xa05050f,0x2f9a9ab5,0xe070709,0x24121236,0x1b80809b,0xdfe2e23d,0xcdebeb26,0x4e272769,0x7fb2b2cd,0xea75759f,0x1209091b,0x1d83839e,0x582c2c74,0x341a1a2e,0x361b1b2d,0xdc6e6eb2,0xb45a5aee,0x5ba0a0fb,0xa45252f6,0x763b3b4d,0xb7d6d661,0x7db3b3ce,0x5229297b,0xdde3e33e,0x5e2f2f71,0x13848497,0xa65353f5,0xb9d1d168,0x0,0xc1eded2c,0x40202060,0xe3fcfc1f,0x79b1b1c8,0xb65b5bed,0xd46a6abe,0x8dcbcb46,0x67bebed9,0x7239394b,0x944a4ade,0x984c4cd4,0xb05858e8,0x85cfcf4a,0xbbd0d06b,0xc5efef2a,0x4faaaae5,0xedfbfb16,0x864343c5,0x9a4d4dd7,0x66333355,0x11858594,0x8a4545cf,0xe9f9f910,0x4020206,0xfe7f7f81,0xa05050f0,0x783c3c44,0x259f9fba,0x4ba8a8e3,0xa25151f3,0x5da3a3fe,0x804040c0,0x58f8f8a,0x3f9292ad,0x219d9dbc,0x70383848,0xf1f5f504,0x63bcbcdf,0x77b6b6c1,0xafdada75,0x42212163,0x20101030,0xe5ffff1a,0xfdf3f30e,0xbfd2d26d,0x81cdcd4c,0x180c0c14,0x26131335,0xc3ecec2f,0xbe5f5fe1,0x359797a2,0x884444cc,0x2e171739,0x93c4c457,0x55a7a7f2,0xfc7e7e82,0x7a3d3d47,0xc86464ac,0xba5d5de7,0x3219192b,0xe6737395,0xc06060a0,0x19818198,0x9e4f4fd1,0xa3dcdc7f,0x44222266,0x542a2a7e,0x3b9090ab,0xb888883,0x8c4646ca,0xc7eeee29,0x6bb8b8d3,0x2814143c,0xa7dede79,0xbc5e5ee2,0x160b0b1d,0xaddbdb76,0xdbe0e03b,0x64323256,0x743a3a4e,0x140a0a1e,0x924949db,0xc06060a,0x4824246c,0xb85c5ce4,0x9fc2c25d,0xbdd3d36e,0x43acacef,0xc46262a6,0x399191a8,0x319595a4,0xd3e4e437,0xf279798b,0xd5e7e732,0x8bc8c843,0x6e373759,0xda6d6db7,0x18d8d8c,0xb1d5d564,0x9c4e4ed2,0x49a9a9e0,0xd86c6cb4,0xac5656fa,0xf3f4f407,0xcfeaea25,0xca6565af,0xf47a7a8e,0x47aeaee9,0x10080818,0x6fbabad5,0xf0787888,0x4a25256f,0x5c2e2e72,0x381c1c24,0x57a6a6f1,0x73b4b4c7,0x97c6c651,0xcbe8e823,0xa1dddd7c,0xe874749c,0x3e1f1f21,0x964b4bdd,0x61bdbddc,0xd8b8b86,0xf8a8a85,0xe0707090,0x7c3e3e42,0x71b5b5c4,0xcc6666aa,0x904848d8,0x6030305,0xf7f6f601,0x1c0e0e12,0xc26161a3,0x6a35355f,0xae5757f9,0x69b9b9d0,0x17868691,0x99c1c158,0x3a1d1d27,0x279e9eb9,0xd9e1e138,0xebf8f813,0x2b9898b3,0x22111133,0xd26969bb,0xa9d9d970,0x78e8e89,0x339494a7,0x2d9b9bb6,0x3c1e1e22,0x15878792,0xc9e9e920,0x87cece49,0xaa5555ff,0x50282878,0xa5dfdf7a,0x38c8c8f,0x59a1a1f8,0x9898980,0x1a0d0d17,0x65bfbfda,0xd7e6e631,0x844242c6,0xd06868b8,0x824141c3,0x299999b0,0x5a2d2d77,0x1e0f0f11,0x7bb0b0cb,0xa85454fc,0x6dbbbbd6,0x2c16163a],_0x3258d9[_0x3b20a9([0x54,0x32])]=[0xa5c66363,0x84f87c7c,0x99ee7777,0x8df67b7b,0xdfff2f2,0xbdd66b6b,0xb1de6f6f,0x5491c5c5,0x50603030,0x3020101,0xa9ce6767,0x7d562b2b,0x19e7fefe,0x62b5d7d7,0xe64dabab,0x9aec7676,0x458fcaca,0x9d1f8282,0x4089c9c9,0x87fa7d7d,0x15effafa,0xebb25959,0xc98e4747,0xbfbf0f0,0xec41adad,0x67b3d4d4,0xfd5fa2a2,0xea45afaf,0xbf239c9c,0xf753a4a4,0x96e47272,0x5b9bc0c0,0xc275b7b7,0x1ce1fdfd,0xae3d9393,0x6a4c2626,0x5a6c3636,0x417e3f3f,0x2f5f7f7,0x4f83cccc,0x5c683434,0xf451a5a5,0x34d1e5e5,0x8f9f1f1,0x93e27171,0x73abd8d8,0x53623131,0x3f2a1515,0xc080404,0x5295c7c7,0x65462323,0x5e9dc3c3,0x28301818,0xa1379696,0xf0a0505,0xb52f9a9a,0x90e0707,0x36241212,0x9b1b8080,0x3ddfe2e2,0x26cdebeb,0x694e2727,0xcd7fb2b2,0x9fea7575,0x1b120909,0x9e1d8383,0x74582c2c,0x2e341a1a,0x2d361b1b,0xb2dc6e6e,0xeeb45a5a,0xfb5ba0a0,0xf6a45252,0x4d763b3b,0x61b7d6d6,0xce7db3b3,0x7b522929,0x3edde3e3,0x715e2f2f,0x97138484,0xf5a65353,0x68b9d1d1,0x0,0x2cc1eded,0x60402020,0x1fe3fcfc,0xc879b1b1,0xedb65b5b,0xbed46a6a,0x468dcbcb,0xd967bebe,0x4b723939,0xde944a4a,0xd4984c4c,0xe8b05858,0x4a85cfcf,0x6bbbd0d0,0x2ac5efef,0xe54faaaa,0x16edfbfb,0xc5864343,0xd79a4d4d,0x55663333,0x94118585,0xcf8a4545,0x10e9f9f9,0x6040202,0x81fe7f7f,0xf0a05050,0x44783c3c,0xba259f9f,0xe34ba8a8,0xf3a25151,0xfe5da3a3,0xc0804040,0x8a058f8f,0xad3f9292,0xbc219d9d,0x48703838,0x4f1f5f5,0xdf63bcbc,0xc177b6b6,0x75afdada,0x63422121,0x30201010,0x1ae5ffff,0xefdf3f3,0x6dbfd2d2,0x4c81cdcd,0x14180c0c,0x35261313,0x2fc3ecec,0xe1be5f5f,0xa2359797,0xcc884444,0x392e1717,0x5793c4c4,0xf255a7a7,0x82fc7e7e,0x477a3d3d,0xacc86464,0xe7ba5d5d,0x2b321919,0x95e67373,0xa0c06060,0x98198181,0xd19e4f4f,0x7fa3dcdc,0x66442222,0x7e542a2a,0xab3b9090,0x830b8888,0xca8c4646,0x29c7eeee,0xd36bb8b8,0x3c281414,0x79a7dede,0xe2bc5e5e,0x1d160b0b,0x76addbdb,0x3bdbe0e0,0x56643232,0x4e743a3a,0x1e140a0a,0xdb924949,0xa0c0606,0x6c482424,0xe4b85c5c,0x5d9fc2c2,0x6ebdd3d3,0xef43acac,0xa6c46262,0xa8399191,0xa4319595,0x37d3e4e4,0x8bf27979,0x32d5e7e7,0x438bc8c8,0x596e3737,0xb7da6d6d,0x8c018d8d,0x64b1d5d5,0xd29c4e4e,0xe049a9a9,0xb4d86c6c,0xfaac5656,0x7f3f4f4,0x25cfeaea,0xafca6565,0x8ef47a7a,0xe947aeae,0x18100808,0xd56fbaba,0x88f07878,0x6f4a2525,0x725c2e2e,0x24381c1c,0xf157a6a6,0xc773b4b4,0x5197c6c6,0x23cbe8e8,0x7ca1dddd,0x9ce87474,0x213e1f1f,0xdd964b4b,0xdc61bdbd,0x860d8b8b,0x850f8a8a,0x90e07070,0x427c3e3e,0xc471b5b5,0xaacc6666,0xd8904848,0x5060303,0x1f7f6f6,0x121c0e0e,0xa3c26161,0x5f6a3535,0xf9ae5757,0xd069b9b9,0x91178686,0x5899c1c1,0x273a1d1d,0xb9279e9e,0x38d9e1e1,0x13ebf8f8,0xb32b9898,0x33221111,0xbbd26969,0x70a9d9d9,0x89078e8e,0xa7339494,0xb62d9b9b,0x223c1e1e,0x92158787,0x20c9e9e9,0x4987cece,0xffaa5555,0x78502828,0x7aa5dfdf,0x8f038c8c,0xf859a1a1,0x80098989,0x171a0d0d,0xda65bfbf,0x31d7e6e6,0xc6844242,0xb8d06868,0xc3824141,0xb0299999,0x775a2d2d,0x111e0f0f,0xcb7bb0b0,0xfca85454,0xd66dbbbb,0x3a2c1616],_0x3258d9[_0x3b20a9([0x54,0x33])]=[0x63a5c663,0x7c84f87c,0x7799ee77,0x7b8df67b,0xf20dfff2,0x6bbdd66b,0x6fb1de6f,0xc55491c5,0x30506030,0x1030201,0x67a9ce67,0x2b7d562b,0xfe19e7fe,0xd762b5d7,0xabe64dab,0x769aec76,0xca458fca,0x829d1f82,0xc94089c9,0x7d87fa7d,0xfa15effa,0x59ebb259,0x47c98e47,0xf00bfbf0,0xadec41ad,0xd467b3d4,0xa2fd5fa2,0xafea45af,0x9cbf239c,0xa4f753a4,0x7296e472,0xc05b9bc0,0xb7c275b7,0xfd1ce1fd,0x93ae3d93,0x266a4c26,0x365a6c36,0x3f417e3f,0xf702f5f7,0xcc4f83cc,0x345c6834,0xa5f451a5,0xe534d1e5,0xf108f9f1,0x7193e271,0xd873abd8,0x31536231,0x153f2a15,0x40c0804,0xc75295c7,0x23654623,0xc35e9dc3,0x18283018,0x96a13796,0x50f0a05,0x9ab52f9a,0x7090e07,0x12362412,0x809b1b80,0xe23ddfe2,0xeb26cdeb,0x27694e27,0xb2cd7fb2,0x759fea75,0x91b1209,0x839e1d83,0x2c74582c,0x1a2e341a,0x1b2d361b,0x6eb2dc6e,0x5aeeb45a,0xa0fb5ba0,0x52f6a452,0x3b4d763b,0xd661b7d6,0xb3ce7db3,0x297b5229,0xe33edde3,0x2f715e2f,0x84971384,0x53f5a653,0xd168b9d1,0x0,0xed2cc1ed,0x20604020,0xfc1fe3fc,0xb1c879b1,0x5bedb65b,0x6abed46a,0xcb468dcb,0xbed967be,0x394b7239,0x4ade944a,0x4cd4984c,0x58e8b058,0xcf4a85cf,0xd06bbbd0,0xef2ac5ef,0xaae54faa,0xfb16edfb,0x43c58643,0x4dd79a4d,0x33556633,0x85941185,0x45cf8a45,0xf910e9f9,0x2060402,0x7f81fe7f,0x50f0a050,0x3c44783c,0x9fba259f,0xa8e34ba8,0x51f3a251,0xa3fe5da3,0x40c08040,0x8f8a058f,0x92ad3f92,0x9dbc219d,0x38487038,0xf504f1f5,0xbcdf63bc,0xb6c177b6,0xda75afda,0x21634221,0x10302010,0xff1ae5ff,0xf30efdf3,0xd26dbfd2,0xcd4c81cd,0xc14180c,0x13352613,0xec2fc3ec,0x5fe1be5f,0x97a23597,0x44cc8844,0x17392e17,0xc45793c4,0xa7f255a7,0x7e82fc7e,0x3d477a3d,0x64acc864,0x5de7ba5d,0x192b3219,0x7395e673,0x60a0c060,0x81981981,0x4fd19e4f,0xdc7fa3dc,0x22664422,0x2a7e542a,0x90ab3b90,0x88830b88,0x46ca8c46,0xee29c7ee,0xb8d36bb8,0x143c2814,0xde79a7de,0x5ee2bc5e,0xb1d160b,0xdb76addb,0xe03bdbe0,0x32566432,0x3a4e743a,0xa1e140a,0x49db9249,0x60a0c06,0x246c4824,0x5ce4b85c,0xc25d9fc2,0xd36ebdd3,0xacef43ac,0x62a6c462,0x91a83991,0x95a43195,0xe437d3e4,0x798bf279,0xe732d5e7,0xc8438bc8,0x37596e37,0x6db7da6d,0x8d8c018d,0xd564b1d5,0x4ed29c4e,0xa9e049a9,0x6cb4d86c,0x56faac56,0xf407f3f4,0xea25cfea,0x65afca65,0x7a8ef47a,0xaee947ae,0x8181008,0xbad56fba,0x7888f078,0x256f4a25,0x2e725c2e,0x1c24381c,0xa6f157a6,0xb4c773b4,0xc65197c6,0xe823cbe8,0xdd7ca1dd,0x749ce874,0x1f213e1f,0x4bdd964b,0xbddc61bd,0x8b860d8b,0x8a850f8a,0x7090e070,0x3e427c3e,0xb5c471b5,0x66aacc66,0x48d89048,0x3050603,0xf601f7f6,0xe121c0e,0x61a3c261,0x355f6a35,0x57f9ae57,0xb9d069b9,0x86911786,0xc15899c1,0x1d273a1d,0x9eb9279e,0xe138d9e1,0xf813ebf8,0x98b32b98,0x11332211,0x69bbd269,0xd970a9d9,0x8e89078e,0x94a73394,0x9bb62d9b,0x1e223c1e,0x87921587,0xe920c9e9,0xce4987ce,0x55ffaa55,0x28785028,0xdf7aa5df,0x8c8f038c,0xa1f859a1,0x89800989,0xd171a0d,0xbfda65bf,0xe631d7e6,0x42c68442,0x68b8d068,0x41c38241,0x99b02999,0x2d775a2d,0xf111e0f,0xb0cb7bb0,0x54fca854,0xbbd66dbb,0x163a2c16],_0x3258d9[_0x3b20a9([0x54,0x34])]=[0x6363a5c6,0x7c7c84f8,0x777799ee,0x7b7b8df6,0xf2f20dff,0x6b6bbdd6,0x6f6fb1de,0xc5c55491,0x30305060,0x1010302,0x6767a9ce,0x2b2b7d56,0xfefe19e7,0xd7d762b5,0xababe64d,0x76769aec,0xcaca458f,0x82829d1f,0xc9c94089,0x7d7d87fa,0xfafa15ef,0x5959ebb2,0x4747c98e,0xf0f00bfb,0xadadec41,0xd4d467b3,0xa2a2fd5f,0xafafea45,0x9c9cbf23,0xa4a4f753,0x727296e4,0xc0c05b9b,0xb7b7c275,0xfdfd1ce1,0x9393ae3d,0x26266a4c,0x36365a6c,0x3f3f417e,0xf7f702f5,0xcccc4f83,0x34345c68,0xa5a5f451,0xe5e534d1,0xf1f108f9,0x717193e2,0xd8d873ab,0x31315362,0x15153f2a,0x4040c08,0xc7c75295,0x23236546,0xc3c35e9d,0x18182830,0x9696a137,0x5050f0a,0x9a9ab52f,0x707090e,0x12123624,0x80809b1b,0xe2e23ddf,0xebeb26cd,0x2727694e,0xb2b2cd7f,0x75759fea,0x9091b12,0x83839e1d,0x2c2c7458,0x1a1a2e34,0x1b1b2d36,0x6e6eb2dc,0x5a5aeeb4,0xa0a0fb5b,0x5252f6a4,0x3b3b4d76,0xd6d661b7,0xb3b3ce7d,0x29297b52,0xe3e33edd,0x2f2f715e,0x84849713,0x5353f5a6,0xd1d168b9,0x0,0xeded2cc1,0x20206040,0xfcfc1fe3,0xb1b1c879,0x5b5bedb6,0x6a6abed4,0xcbcb468d,0xbebed967,0x39394b72,0x4a4ade94,0x4c4cd498,0x5858e8b0,0xcfcf4a85,0xd0d06bbb,0xefef2ac5,0xaaaae54f,0xfbfb16ed,0x4343c586,0x4d4dd79a,0x33335566,0x85859411,0x4545cf8a,0xf9f910e9,0x2020604,0x7f7f81fe,0x5050f0a0,0x3c3c4478,0x9f9fba25,0xa8a8e34b,0x5151f3a2,0xa3a3fe5d,0x4040c080,0x8f8f8a05,0x9292ad3f,0x9d9dbc21,0x38384870,0xf5f504f1,0xbcbcdf63,0xb6b6c177,0xdada75af,0x21216342,0x10103020,0xffff1ae5,0xf3f30efd,0xd2d26dbf,0xcdcd4c81,0xc0c1418,0x13133526,0xecec2fc3,0x5f5fe1be,0x9797a235,0x4444cc88,0x1717392e,0xc4c45793,0xa7a7f255,0x7e7e82fc,0x3d3d477a,0x6464acc8,0x5d5de7ba,0x19192b32,0x737395e6,0x6060a0c0,0x81819819,0x4f4fd19e,0xdcdc7fa3,0x22226644,0x2a2a7e54,0x9090ab3b,0x8888830b,0x4646ca8c,0xeeee29c7,0xb8b8d36b,0x14143c28,0xdede79a7,0x5e5ee2bc,0xb0b1d16,0xdbdb76ad,0xe0e03bdb,0x32325664,0x3a3a4e74,0xa0a1e14,0x4949db92,0x6060a0c,0x24246c48,0x5c5ce4b8,0xc2c25d9f,0xd3d36ebd,0xacacef43,0x6262a6c4,0x9191a839,0x9595a431,0xe4e437d3,0x79798bf2,0xe7e732d5,0xc8c8438b,0x3737596e,0x6d6db7da,0x8d8d8c01,0xd5d564b1,0x4e4ed29c,0xa9a9e049,0x6c6cb4d8,0x5656faac,0xf4f407f3,0xeaea25cf,0x6565afca,0x7a7a8ef4,0xaeaee947,0x8081810,0xbabad56f,0x787888f0,0x25256f4a,0x2e2e725c,0x1c1c2438,0xa6a6f157,0xb4b4c773,0xc6c65197,0xe8e823cb,0xdddd7ca1,0x74749ce8,0x1f1f213e,0x4b4bdd96,0xbdbddc61,0x8b8b860d,0x8a8a850f,0x707090e0,0x3e3e427c,0xb5b5c471,0x6666aacc,0x4848d890,0x3030506,0xf6f601f7,0xe0e121c,0x6161a3c2,0x35355f6a,0x5757f9ae,0xb9b9d069,0x86869117,0xc1c15899,0x1d1d273a,0x9e9eb927,0xe1e138d9,0xf8f813eb,0x9898b32b,0x11113322,0x6969bbd2,0xd9d970a9,0x8e8e8907,0x9494a733,0x9b9bb62d,0x1e1e223c,0x87879215,0xe9e920c9,0xcece4987,0x5555ffaa,0x28287850,0xdfdf7aa5,0x8c8c8f03,0xa1a1f859,0x89898009,0xd0d171a,0xbfbfda65,0xe6e631d7,0x4242c684,0x6868b8d0,0x4141c382,0x9999b029,0x2d2d775a,0xf0f111e,0xb0b0cb7b,0x5454fca8,0xbbbbd66d,0x16163a2c],_0x3258d9[_0x3b20a9([0x55,0x31])]=[0x0,0xe090d0b,0x1c121a16,0x121b171d,0x3824342c,0x362d3927,0x24362e3a,0x2a3f2331,0x70486858,0x7e416553,0x6c5a724e,0x62537f45,0x486c5c74,0x4665517f,0x547e4662,0x5a774b69,0xe090d0b0,0xee99ddbb,0xfc82caa6,0xf28bc7ad,0xd8b4e49c,0xd6bde997,0xc4a6fe8a,0xcaaff381,0x90d8b8e8,0x9ed1b5e3,0x8ccaa2fe,0x82c3aff5,0xa8fc8cc4,0xa6f581cf,0xb4ee96d2,0xbae79bd9,0xdb3bbb7b,0xd532b670,0xc729a16d,0xc920ac66,0xe31f8f57,0xed16825c,0xff0d9541,0xf104984a,0xab73d323,0xa57ade28,0xb761c935,0xb968c43e,0x9357e70f,0x9d5eea04,0x8f45fd19,0x814cf012,0x3bab6bcb,0x35a266c0,0x27b971dd,0x29b07cd6,0x38f5fe7,0xd8652ec,0x1f9d45f1,0x119448fa,0x4be30393,0x45ea0e98,0x57f11985,0x59f8148e,0x73c737bf,0x7dce3ab4,0x6fd52da9,0x61dc20a2,0xad766df6,0xa37f60fd,0xb16477e0,0xbf6d7aeb,0x955259da,0x9b5b54d1,0x894043cc,0x87494ec7,0xdd3e05ae,0xd33708a5,0xc12c1fb8,0xcf2512b3,0xe51a3182,0xeb133c89,0xf9082b94,0xf701269f,0x4de6bd46,0x43efb04d,0x51f4a750,0x5ffdaa5b,0x75c2896a,0x7bcb8461,0x69d0937c,0x67d99e77,0x3daed51e,0x33a7d815,0x21bccf08,0x2fb5c203,0x58ae132,0xb83ec39,0x1998fb24,0x1791f62f,0x764dd68d,0x7844db86,0x6a5fcc9b,0x6456c190,0x4e69e2a1,0x4060efaa,0x527bf8b7,0x5c72f5bc,0x605bed5,0x80cb3de,0x1a17a4c3,0x141ea9c8,0x3e218af9,0x302887f2,0x223390ef,0x2c3a9de4,0x96dd063d,0x98d40b36,0x8acf1c2b,0x84c61120,0xaef93211,0xa0f03f1a,0xb2eb2807,0xbce2250c,0xe6956e65,0xe89c636e,0xfa877473,0xf48e7978,0xdeb15a49,0xd0b85742,0xc2a3405f,0xccaa4d54,0x41ecdaf7,0x4fe5d7fc,0x5dfec0e1,0x53f7cdea,0x79c8eedb,0x77c1e3d0,0x65daf4cd,0x6bd3f9c6,0x31a4b2af,0x3fadbfa4,0x2db6a8b9,0x23bfa5b2,0x9808683,0x7898b88,0x15929c95,0x1b9b919e,0xa17c0a47,0xaf75074c,0xbd6e1051,0xb3671d5a,0x99583e6b,0x97513360,0x854a247d,0x8b432976,0xd134621f,0xdf3d6f14,0xcd267809,0xc32f7502,0xe9105633,0xe7195b38,0xf5024c25,0xfb0b412e,0x9ad7618c,0x94de6c87,0x86c57b9a,0x88cc7691,0xa2f355a0,0xacfa58ab,0xbee14fb6,0xb0e842bd,0xea9f09d4,0xe49604df,0xf68d13c2,0xf8841ec9,0xd2bb3df8,0xdcb230f3,0xcea927ee,0xc0a02ae5,0x7a47b13c,0x744ebc37,0x6655ab2a,0x685ca621,0x42638510,0x4c6a881b,0x5e719f06,0x5078920d,0xa0fd964,0x406d46f,0x161dc372,0x1814ce79,0x322bed48,0x3c22e043,0x2e39f75e,0x2030fa55,0xec9ab701,0xe293ba0a,0xf088ad17,0xfe81a01c,0xd4be832d,0xdab78e26,0xc8ac993b,0xc6a59430,0x9cd2df59,0x92dbd252,0x80c0c54f,0x8ec9c844,0xa4f6eb75,0xaaffe67e,0xb8e4f163,0xb6edfc68,0xc0a67b1,0x2036aba,0x10187da7,0x1e1170ac,0x342e539d,0x3a275e96,0x283c498b,0x26354480,0x7c420fe9,0x724b02e2,0x605015ff,0x6e5918f4,0x44663bc5,0x4a6f36ce,0x587421d3,0x567d2cd8,0x37a10c7a,0x39a80171,0x2bb3166c,0x25ba1b67,0xf853856,0x18c355d,0x13972240,0x1d9e2f4b,0x47e96422,0x49e06929,0x5bfb7e34,0x55f2733f,0x7fcd500e,0x71c45d05,0x63df4a18,0x6dd64713,0xd731dcca,0xd938d1c1,0xcb23c6dc,0xc52acbd7,0xef15e8e6,0xe11ce5ed,0xf307f2f0,0xfd0efffb,0xa779b492,0xa970b999,0xbb6bae84,0xb562a38f,0x9f5d80be,0x91548db5,0x834f9aa8,0x8d4697a3],_0x3258d9[_0x3b20a9([0x55,0x32])]=[0x0,0xb0e090d,0x161c121a,0x1d121b17,0x2c382434,0x27362d39,0x3a24362e,0x312a3f23,0x58704868,0x537e4165,0x4e6c5a72,0x4562537f,0x74486c5c,0x7f466551,0x62547e46,0x695a774b,0xb0e090d0,0xbbee99dd,0xa6fc82ca,0xadf28bc7,0x9cd8b4e4,0x97d6bde9,0x8ac4a6fe,0x81caaff3,0xe890d8b8,0xe39ed1b5,0xfe8ccaa2,0xf582c3af,0xc4a8fc8c,0xcfa6f581,0xd2b4ee96,0xd9bae79b,0x7bdb3bbb,0x70d532b6,0x6dc729a1,0x66c920ac,0x57e31f8f,0x5ced1682,0x41ff0d95,0x4af10498,0x23ab73d3,0x28a57ade,0x35b761c9,0x3eb968c4,0xf9357e7,0x49d5eea,0x198f45fd,0x12814cf0,0xcb3bab6b,0xc035a266,0xdd27b971,0xd629b07c,0xe7038f5f,0xec0d8652,0xf11f9d45,0xfa119448,0x934be303,0x9845ea0e,0x8557f119,0x8e59f814,0xbf73c737,0xb47dce3a,0xa96fd52d,0xa261dc20,0xf6ad766d,0xfda37f60,0xe0b16477,0xebbf6d7a,0xda955259,0xd19b5b54,0xcc894043,0xc787494e,0xaedd3e05,0xa5d33708,0xb8c12c1f,0xb3cf2512,0x82e51a31,0x89eb133c,0x94f9082b,0x9ff70126,0x464de6bd,0x4d43efb0,0x5051f4a7,0x5b5ffdaa,0x6a75c289,0x617bcb84,0x7c69d093,0x7767d99e,0x1e3daed5,0x1533a7d8,0x821bccf,0x32fb5c2,0x32058ae1,0x390b83ec,0x241998fb,0x2f1791f6,0x8d764dd6,0x867844db,0x9b6a5fcc,0x906456c1,0xa14e69e2,0xaa4060ef,0xb7527bf8,0xbc5c72f5,0xd50605be,0xde080cb3,0xc31a17a4,0xc8141ea9,0xf93e218a,0xf2302887,0xef223390,0xe42c3a9d,0x3d96dd06,0x3698d40b,0x2b8acf1c,0x2084c611,0x11aef932,0x1aa0f03f,0x7b2eb28,0xcbce225,0x65e6956e,0x6ee89c63,0x73fa8774,0x78f48e79,0x49deb15a,0x42d0b857,0x5fc2a340,0x54ccaa4d,0xf741ecda,0xfc4fe5d7,0xe15dfec0,0xea53f7cd,0xdb79c8ee,0xd077c1e3,0xcd65daf4,0xc66bd3f9,0xaf31a4b2,0xa43fadbf,0xb92db6a8,0xb223bfa5,0x83098086,0x8807898b,0x9515929c,0x9e1b9b91,0x47a17c0a,0x4caf7507,0x51bd6e10,0x5ab3671d,0x6b99583e,0x60975133,0x7d854a24,0x768b4329,0x1fd13462,0x14df3d6f,0x9cd2678,0x2c32f75,0x33e91056,0x38e7195b,0x25f5024c,0x2efb0b41,0x8c9ad761,0x8794de6c,0x9a86c57b,0x9188cc76,0xa0a2f355,0xabacfa58,0xb6bee14f,0xbdb0e842,0xd4ea9f09,0xdfe49604,0xc2f68d13,0xc9f8841e,0xf8d2bb3d,0xf3dcb230,0xeecea927,0xe5c0a02a,0x3c7a47b1,0x37744ebc,0x2a6655ab,0x21685ca6,0x10426385,0x1b4c6a88,0x65e719f,0xd507892,0x640a0fd9,0x6f0406d4,0x72161dc3,0x791814ce,0x48322bed,0x433c22e0,0x5e2e39f7,0x552030fa,0x1ec9ab7,0xae293ba,0x17f088ad,0x1cfe81a0,0x2dd4be83,0x26dab78e,0x3bc8ac99,0x30c6a594,0x599cd2df,0x5292dbd2,0x4f80c0c5,0x448ec9c8,0x75a4f6eb,0x7eaaffe6,0x63b8e4f1,0x68b6edfc,0xb10c0a67,0xba02036a,0xa710187d,0xac1e1170,0x9d342e53,0x963a275e,0x8b283c49,0x80263544,0xe97c420f,0xe2724b02,0xff605015,0xf46e5918,0xc544663b,0xce4a6f36,0xd3587421,0xd8567d2c,0x7a37a10c,0x7139a801,0x6c2bb316,0x6725ba1b,0x560f8538,0x5d018c35,0x40139722,0x4b1d9e2f,0x2247e964,0x2949e069,0x345bfb7e,0x3f55f273,0xe7fcd50,0x571c45d,0x1863df4a,0x136dd647,0xcad731dc,0xc1d938d1,0xdccb23c6,0xd7c52acb,0xe6ef15e8,0xede11ce5,0xf0f307f2,0xfbfd0eff,0x92a779b4,0x99a970b9,0x84bb6bae,0x8fb562a3,0xbe9f5d80,0xb591548d,0xa8834f9a,0xa38d4697],_0x3258d9[_0x3b20a9([0x55,0x33])]=[0x0,0xd0b0e09,0x1a161c12,0x171d121b,0x342c3824,0x3927362d,0x2e3a2436,0x23312a3f,0x68587048,0x65537e41,0x724e6c5a,0x7f456253,0x5c74486c,0x517f4665,0x4662547e,0x4b695a77,0xd0b0e090,0xddbbee99,0xcaa6fc82,0xc7adf28b,0xe49cd8b4,0xe997d6bd,0xfe8ac4a6,0xf381caaf,0xb8e890d8,0xb5e39ed1,0xa2fe8cca,0xaff582c3,0x8cc4a8fc,0x81cfa6f5,0x96d2b4ee,0x9bd9bae7,0xbb7bdb3b,0xb670d532,0xa16dc729,0xac66c920,0x8f57e31f,0x825ced16,0x9541ff0d,0x984af104,0xd323ab73,0xde28a57a,0xc935b761,0xc43eb968,0xe70f9357,0xea049d5e,0xfd198f45,0xf012814c,0x6bcb3bab,0x66c035a2,0x71dd27b9,0x7cd629b0,0x5fe7038f,0x52ec0d86,0x45f11f9d,0x48fa1194,0x3934be3,0xe9845ea,0x198557f1,0x148e59f8,0x37bf73c7,0x3ab47dce,0x2da96fd5,0x20a261dc,0x6df6ad76,0x60fda37f,0x77e0b164,0x7aebbf6d,0x59da9552,0x54d19b5b,0x43cc8940,0x4ec78749,0x5aedd3e,0x8a5d337,0x1fb8c12c,0x12b3cf25,0x3182e51a,0x3c89eb13,0x2b94f908,0x269ff701,0xbd464de6,0xb04d43ef,0xa75051f4,0xaa5b5ffd,0x896a75c2,0x84617bcb,0x937c69d0,0x9e7767d9,0xd51e3dae,0xd81533a7,0xcf0821bc,0xc2032fb5,0xe132058a,0xec390b83,0xfb241998,0xf62f1791,0xd68d764d,0xdb867844,0xcc9b6a5f,0xc1906456,0xe2a14e69,0xefaa4060,0xf8b7527b,0xf5bc5c72,0xbed50605,0xb3de080c,0xa4c31a17,0xa9c8141e,0x8af93e21,0x87f23028,0x90ef2233,0x9de42c3a,0x63d96dd,0xb3698d4,0x1c2b8acf,0x112084c6,0x3211aef9,0x3f1aa0f0,0x2807b2eb,0x250cbce2,0x6e65e695,0x636ee89c,0x7473fa87,0x7978f48e,0x5a49deb1,0x5742d0b8,0x405fc2a3,0x4d54ccaa,0xdaf741ec,0xd7fc4fe5,0xc0e15dfe,0xcdea53f7,0xeedb79c8,0xe3d077c1,0xf4cd65da,0xf9c66bd3,0xb2af31a4,0xbfa43fad,0xa8b92db6,0xa5b223bf,0x86830980,0x8b880789,0x9c951592,0x919e1b9b,0xa47a17c,0x74caf75,0x1051bd6e,0x1d5ab367,0x3e6b9958,0x33609751,0x247d854a,0x29768b43,0x621fd134,0x6f14df3d,0x7809cd26,0x7502c32f,0x5633e910,0x5b38e719,0x4c25f502,0x412efb0b,0x618c9ad7,0x6c8794de,0x7b9a86c5,0x769188cc,0x55a0a2f3,0x58abacfa,0x4fb6bee1,0x42bdb0e8,0x9d4ea9f,0x4dfe496,0x13c2f68d,0x1ec9f884,0x3df8d2bb,0x30f3dcb2,0x27eecea9,0x2ae5c0a0,0xb13c7a47,0xbc37744e,0xab2a6655,0xa621685c,0x85104263,0x881b4c6a,0x9f065e71,0x920d5078,0xd9640a0f,0xd46f0406,0xc372161d,0xce791814,0xed48322b,0xe0433c22,0xf75e2e39,0xfa552030,0xb701ec9a,0xba0ae293,0xad17f088,0xa01cfe81,0x832dd4be,0x8e26dab7,0x993bc8ac,0x9430c6a5,0xdf599cd2,0xd25292db,0xc54f80c0,0xc8448ec9,0xeb75a4f6,0xe67eaaff,0xf163b8e4,0xfc68b6ed,0x67b10c0a,0x6aba0203,0x7da71018,0x70ac1e11,0x539d342e,0x5e963a27,0x498b283c,0x44802635,0xfe97c42,0x2e2724b,0x15ff6050,0x18f46e59,0x3bc54466,0x36ce4a6f,0x21d35874,0x2cd8567d,0xc7a37a1,0x17139a8,0x166c2bb3,0x1b6725ba,0x38560f85,0x355d018c,0x22401397,0x2f4b1d9e,0x642247e9,0x692949e0,0x7e345bfb,0x733f55f2,0x500e7fcd,0x5d0571c4,0x4a1863df,0x47136dd6,0xdccad731,0xd1c1d938,0xc6dccb23,0xcbd7c52a,0xe8e6ef15,0xe5ede11c,0xf2f0f307,0xfffbfd0e,0xb492a779,0xb999a970,0xae84bb6b,0xa38fb562,0x80be9f5d,0x8db59154,0x9aa8834f,0x97a38d46],_0x3258d9[_0x3b20a9([0x55,0x34])]=[0x0,0x90d0b0e,0x121a161c,0x1b171d12,0x24342c38,0x2d392736,0x362e3a24,0x3f23312a,0x48685870,0x4165537e,0x5a724e6c,0x537f4562,0x6c5c7448,0x65517f46,0x7e466254,0x774b695a,0x90d0b0e0,0x99ddbbee,0x82caa6fc,0x8bc7adf2,0xb4e49cd8,0xbde997d6,0xa6fe8ac4,0xaff381ca,0xd8b8e890,0xd1b5e39e,0xcaa2fe8c,0xc3aff582,0xfc8cc4a8,0xf581cfa6,0xee96d2b4,0xe79bd9ba,0x3bbb7bdb,0x32b670d5,0x29a16dc7,0x20ac66c9,0x1f8f57e3,0x16825ced,0xd9541ff,0x4984af1,0x73d323ab,0x7ade28a5,0x61c935b7,0x68c43eb9,0x57e70f93,0x5eea049d,0x45fd198f,0x4cf01281,0xab6bcb3b,0xa266c035,0xb971dd27,0xb07cd629,0x8f5fe703,0x8652ec0d,0x9d45f11f,0x9448fa11,0xe303934b,0xea0e9845,0xf1198557,0xf8148e59,0xc737bf73,0xce3ab47d,0xd52da96f,0xdc20a261,0x766df6ad,0x7f60fda3,0x6477e0b1,0x6d7aebbf,0x5259da95,0x5b54d19b,0x4043cc89,0x494ec787,0x3e05aedd,0x3708a5d3,0x2c1fb8c1,0x2512b3cf,0x1a3182e5,0x133c89eb,0x82b94f9,0x1269ff7,0xe6bd464d,0xefb04d43,0xf4a75051,0xfdaa5b5f,0xc2896a75,0xcb84617b,0xd0937c69,0xd99e7767,0xaed51e3d,0xa7d81533,0xbccf0821,0xb5c2032f,0x8ae13205,0x83ec390b,0x98fb2419,0x91f62f17,0x4dd68d76,0x44db8678,0x5fcc9b6a,0x56c19064,0x69e2a14e,0x60efaa40,0x7bf8b752,0x72f5bc5c,0x5bed506,0xcb3de08,0x17a4c31a,0x1ea9c814,0x218af93e,0x2887f230,0x3390ef22,0x3a9de42c,0xdd063d96,0xd40b3698,0xcf1c2b8a,0xc6112084,0xf93211ae,0xf03f1aa0,0xeb2807b2,0xe2250cbc,0x956e65e6,0x9c636ee8,0x877473fa,0x8e7978f4,0xb15a49de,0xb85742d0,0xa3405fc2,0xaa4d54cc,0xecdaf741,0xe5d7fc4f,0xfec0e15d,0xf7cdea53,0xc8eedb79,0xc1e3d077,0xdaf4cd65,0xd3f9c66b,0xa4b2af31,0xadbfa43f,0xb6a8b92d,0xbfa5b223,0x80868309,0x898b8807,0x929c9515,0x9b919e1b,0x7c0a47a1,0x75074caf,0x6e1051bd,0x671d5ab3,0x583e6b99,0x51336097,0x4a247d85,0x4329768b,0x34621fd1,0x3d6f14df,0x267809cd,0x2f7502c3,0x105633e9,0x195b38e7,0x24c25f5,0xb412efb,0xd7618c9a,0xde6c8794,0xc57b9a86,0xcc769188,0xf355a0a2,0xfa58abac,0xe14fb6be,0xe842bdb0,0x9f09d4ea,0x9604dfe4,0x8d13c2f6,0x841ec9f8,0xbb3df8d2,0xb230f3dc,0xa927eece,0xa02ae5c0,0x47b13c7a,0x4ebc3774,0x55ab2a66,0x5ca62168,0x63851042,0x6a881b4c,0x719f065e,0x78920d50,0xfd9640a,0x6d46f04,0x1dc37216,0x14ce7918,0x2bed4832,0x22e0433c,0x39f75e2e,0x30fa5520,0x9ab701ec,0x93ba0ae2,0x88ad17f0,0x81a01cfe,0xbe832dd4,0xb78e26da,0xac993bc8,0xa59430c6,0xd2df599c,0xdbd25292,0xc0c54f80,0xc9c8448e,0xf6eb75a4,0xffe67eaa,0xe4f163b8,0xedfc68b6,0xa67b10c,0x36aba02,0x187da710,0x1170ac1e,0x2e539d34,0x275e963a,0x3c498b28,0x35448026,0x420fe97c,0x4b02e272,0x5015ff60,0x5918f46e,0x663bc544,0x6f36ce4a,0x7421d358,0x7d2cd856,0xa10c7a37,0xa8017139,0xb3166c2b,0xba1b6725,0x8538560f,0x8c355d01,0x97224013,0x9e2f4b1d,0xe9642247,0xe0692949,0xfb7e345b,0xf2733f55,0xcd500e7f,0xc45d0571,0xdf4a1863,0xd647136d,0x31dccad7,0x38d1c1d9,0x23c6dccb,0x2acbd7c5,0x15e8e6ef,0x1ce5ede1,0x7f2f0f3,0xefffbfd,0x79b492a7,0x70b999a9,0x6bae84bb,0x62a38fb5,0x5d80be9f,0x548db591,0x4f9aa883,0x4697a38d];const _0x141890=new Uint8Array(0x10);for(let _0x2bee4e=0xf;_0x2bee4e>=0x0;--_0x2bee4e)_0x141890[_0x2bee4e]=_0x1226a8%0x100,_0x1226a8=parseInt(_0x1226a8/0x100);let _0x269ca8=null,_0x1bfdf7=0x10;const _0x5e4cb8=new Uint8Array(_0x39f667),_0x20a526=[],_0x2e53fa=[];_0x5ab5ac();for(let _0x5f3da8=0x0;_0x5f3da8<_0x13f3c5[_0x3b20a9([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5f3da8++)0x10===_0x1bfdf7&&(_0x269ca8=_0x2da569(_0x141890),_0x1bfdf7=0x0,_0x11b479(_0x141890)),_0x13f3c5[_0x5f3da8]^=_0x269ca8[_0x1bfdf7++];return _0x13f3c5;function _0x213760(_0x2a4903){const _0xcbf3=[];for(let _0x3d9f58=0x0;_0x3d9f58<_0x2a4903[_0x3b20a9([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3d9f58+=0x4)_0xcbf3[_0x3b20a9([0x70,0x75,0x73,0x68])](_0x2a4903[_0x3d9f58]<<0x18|_0x2a4903[_0x3d9f58+0x1]<<0x10|_0x2a4903[_0x3d9f58+0x2]<<0x8|_0x2a4903[_0x3d9f58+0x3]);return _0xcbf3;}function _0x11b479(_0x1c8e00){for(let _0x290743=0xf;_0x290743>=0x0;_0x290743--){if(0xff!==_0x1c8e00[_0x290743]){_0x1c8e00[_0x290743]++;break;}_0x1c8e00[_0x290743]=0x0;}}function _0x2da569(_0x54197){const _0x4100d4=_0x20a526[_0x3b20a9([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x1,_0x398a78=[0x0,0x0,0x0,0x0];let t=_0x213760(_0x54197);for(let _0x385c34=0x0;_0x385c34<0x4;_0x385c34++)t[_0x385c34]^=_0x20a526[0x0][_0x385c34];for(let _0x438268=0x1;_0x438268<_0x4100d4;_0x438268++){for(let _0x140638=0x0;_0x140638<0x4;_0x140638++)_0x398a78[_0x140638]=_0x3258d9[_0x3b20a9([0x54,0x31])][t[_0x140638]>>0x18&0xff]^_0x3258d9[_0x3b20a9([0x54,0x32])][t[(_0x140638+0x1)%0x4]>>0x10&0xff]^_0x3258d9[_0x3b20a9([0x54,0x33])][t[(_0x140638+0x2)%0x4]>>0x8&0xff]^_0x3258d9[_0x3b20a9([0x54,0x34])][0xff&t[(_0x140638+0x3)%0x4]]^_0x20a526[_0x438268][_0x140638];t=_0x398a78[_0x3b20a9([0x73,0x6c,0x69,0x63,0x65])]();}const _0x243a7e=new Uint8Array(0x10);let _0x4619c3;for(let _0x1ca951=0x0;_0x1ca951<0x4;_0x1ca951++)_0x4619c3=_0x20a526[_0x4100d4][_0x1ca951],_0x243a7e[0x4*_0x1ca951]=0xff&(_0x3258d9[_0x3b20a9([0x53])][t[_0x1ca951]>>0x18&0xff]^_0x4619c3>>0x18),_0x243a7e[0x4*_0x1ca951+0x1]=0xff&(_0x3258d9[_0x3b20a9([0x53])][t[(_0x1ca951+0x1)%0x4]>>0x10&0xff]^_0x4619c3>>0x10),_0x243a7e[0x4*_0x1ca951+0x2]=0xff&(_0x3258d9[_0x3b20a9([0x53])][t[(_0x1ca951+0x2)%0x4]>>0x8&0xff]^_0x4619c3>>0x8),_0x243a7e[0x4*_0x1ca951+0x3]=0xff&(_0x3258d9[_0x3b20a9([0x53])][0xff&t[(_0x1ca951+0x3)%0x4]]^_0x4619c3);return _0x243a7e;}function _0x5ab5ac(){const _0x5443bb=_0x3258d9[_0x3b20a9([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])][_0x5e4cb8[_0x3b20a9([0x6c,0x65,0x6e,0x67,0x74,0x68])]];for(let _0x2c1e02=0x0;_0x2c1e02<=_0x5443bb;_0x2c1e02++)_0x20a526[_0x3b20a9([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]),_0x2e53fa[_0x3b20a9([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]);const _0xb0378=0x4*(_0x5443bb+0x1),_0x195c41=_0x5e4cb8[_0x3b20a9([0x6c,0x65,0x6e,0x67,0x74,0x68])]/0x4,_0x4b774b=_0x213760(_0x5e4cb8);let _0x33d194;for(let _0x1aaecc=0x0;_0x1aaecc<_0x195c41;_0x1aaecc++)_0x33d194=_0x1aaecc>>0x2,_0x20a526[_0x33d194][_0x1aaecc%0x4]=_0x4b774b[_0x1aaecc],_0x2e53fa[_0x5443bb-_0x33d194][_0x1aaecc%0x4]=_0x4b774b[_0x1aaecc];let _0x5cec4a,_0x4b79a2=0x0,t=_0x195c41;for(;t<_0xb0378;){_0x5cec4a=_0x4b774b[_0x195c41-0x1],_0x4b774b[0x0]^=_0x3258d9[_0x3b20a9([0x53])][_0x5cec4a>>0x10&0xff]<<0x18^_0x3258d9[_0x3b20a9([0x53])][_0x5cec4a>>0x8&0xff]<<0x10^_0x3258d9[_0x3b20a9([0x53])][0xff&_0x5cec4a]<<0x8^_0x3258d9[_0x3b20a9([0x53])][_0x5cec4a>>0x18&0xff]^_0x3258d9[_0x3b20a9([0x72,0x63,0x6f,0x6e])][_0x4b79a2]<<0x18,_0x4b79a2+=0x1;for(let _0x13deb6=0x1;_0x13deb6<_0x195c41/0x2;_0x13deb6++)_0x4b774b[_0x13deb6]^=_0x4b774b[_0x13deb6-0x1];_0x5cec4a=_0x4b774b[_0x195c41/0x2-0x1],_0x4b774b[_0x195c41/0x2]^=_0x3258d9[_0x3b20a9([0x53])][0xff&_0x5cec4a]^_0x3258d9[_0x3b20a9([0x53])][_0x5cec4a>>0x8&0xff]<<0x8^_0x3258d9[_0x3b20a9([0x53])][_0x5cec4a>>0x10&0xff]<<0x10^_0x3258d9[_0x3b20a9([0x53])][_0x5cec4a>>0x18&0xff]<<0x18;for(let _0x34d951=_0x195c41/0x2+0x1;_0x34d951<_0x195c41;_0x34d951++)_0x4b774b[_0x34d951]^=_0x4b774b[_0x34d951-0x1];let _0x399135,_0x583559,_0x3a6220=0x0;for(;_0x3a6220<_0x195c41&&t<_0xb0378;)_0x399135=t>>0x2,_0x583559=t%0x4,_0x20a526[_0x399135][_0x583559]=_0x4b774b[_0x3a6220],_0x2e53fa[_0x5443bb-_0x399135][_0x583559]=_0x4b774b[_0x3a6220++],t++;}for(let _0x6e5d80=0x1;_0x6e5d80<_0x5443bb;_0x6e5d80++)for(let _0x40edf9=0x0;_0x40edf9<0x4;_0x40edf9++)_0x5cec4a=_0x2e53fa[_0x6e5d80][_0x40edf9],_0x2e53fa[_0x6e5d80][_0x40edf9]=_0x3258d9[_0x3b20a9([0x55,0x31])][_0x5cec4a>>0x18&0xff]^_0x3258d9[_0x3b20a9([0x55,0x32])][_0x5cec4a>>0x10&0xff]^_0x3258d9[_0x3b20a9([0x55,0x33])][_0x5cec4a>>0x8&0xff]^_0x3258d9[_0x3b20a9([0x55,0x34])][0xff&_0x5cec4a];}}function _0x3b20a9(_0x442c8d){return _0x442c8d['map'](_0x5535df=>String['fromCharCode'](_0x5535df))['join']('');}(_0x511a2e=>{function _0x360fed(){const _0x5672bc=[{[_0x3b20a9([0x69,0x64])]:0x1,[_0x3b20a9([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3b20a9([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73]),[_0x3b20a9([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x3b20a9([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x3b20a9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x3b20a9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x3b20a9([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x3b20a9([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x3b20a9([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]:[{[_0x3b20a9([0x69,0x64])]:0x2,[_0x3b20a9([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3b20a9([0x54,0x72,0x61,0x63,0x6b,0x20,0x43,0x68,0x61,0x6e,0x67,0x65,0x73]),[_0x3b20a9([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x3b20a9([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x3b20a9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x3b20a9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x3b20a9([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x3b20a9([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x46,0x6f,0x72,0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73]),[_0x3b20a9([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x3b20a9([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x3b20a9([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x3b20a9([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}}],[_0x3b20a9([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x3b20a9([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x3b20a9([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x3b20a9([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x3b20a9([0x69,0x64])]:0x3,[_0x3b20a9([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3b20a9([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e]),[_0x3b20a9([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x3b20a9([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x6f,0x6f,0x6b,0x75,0x70]),[_0x3b20a9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x3b20a9([0x70,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x3b20a9([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x3b20a9([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x3b20a9([0x69,0x64])]:0x4,[_0x3b20a9([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3b20a9([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x20,0x48,0x69,0x73,0x74,0x6f,0x72,0x79]),[_0x3b20a9([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x3b20a9([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x3b20a9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x3b20a9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x3b20a9([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x3b20a9([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x46,0x6f,0x72,0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x48,0x69,0x73,0x74,0x6f,0x72,0x79]),[_0x3b20a9([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x3b20a9([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x3b20a9([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x3b20a9([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x3b20a9([0x69,0x64])]:0x5,[_0x3b20a9([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3b20a9([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x20,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65]),[_0x3b20a9([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x3b20a9([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65,0x55,0x49]),[_0x3b20a9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x3b20a9([0x64,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x3b20a9([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x3b20a9([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x3b20a9([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x3b20a9([0x66,0x67,0x69])]:[0xc]}},{[_0x3b20a9([0x69,0x64])]:0x6,[_0x3b20a9([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3b20a9([0x46,0x6f,0x72,0x6d,0x61,0x74,0x20,0x50,0x61,0x69,0x6e,0x74,0x65,0x72]),[_0x3b20a9([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x3b20a9([0x46,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x55,0x49]),[_0x3b20a9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x3b20a9([0x66,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x3b20a9([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x3b20a9([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x3b20a9([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x3b20a9([0x66,0x67,0x69])]:[0xc]}},{[_0x3b20a9([0x69,0x64])]:0x7,[_0x3b20a9([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3b20a9([0x53,0x6c,0x61,0x73,0x68,0x20,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64]),[_0x3b20a9([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x3b20a9([0x53,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x55,0x49]),[_0x3b20a9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x3b20a9([0x73,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x3b20a9([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x3b20a9([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x3b20a9([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x3b20a9([0x66,0x67,0x69])]:[0xc]}},{[_0x3b20a9([0x69,0x64])]:0x8,[_0x3b20a9([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3b20a9([0x54,0x61,0x62,0x6c,0x65,0x20,0x6f,0x66,0x20,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73]),[_0x3b20a9([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x3b20a9([0x54,0x61,0x62,0x6c,0x65,0x4f,0x66,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x3b20a9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x3b20a9([0x74,0x61,0x62,0x6c,0x65,0x4f,0x66,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x3b20a9([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x3b20a9([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x3b20a9([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x3b20a9([0x66,0x67,0x69])]:[0xc]}},{[_0x3b20a9([0x69,0x64])]:0x9,[_0x3b20a9([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3b20a9([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65]),[_0x3b20a9([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x3b20a9([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x55,0x49]),[_0x3b20a9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x3b20a9([0x74,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x3b20a9([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x3b20a9([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x3b20a9([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x3b20a9([0x66,0x67,0x69])]:[0xc,0xe]}},{[_0x3b20a9([0x69,0x64])]:0xa,[_0x3b20a9([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3b20a9([0x50,0x61,0x73,0x74,0x65,0x20,0x66,0x72,0x6f,0x6d,0x20,0x4f,0x66,0x66,0x69,0x63,0x65,0x20,0x45,0x6e,0x68,0x61,0x6e,0x63,0x65,0x64]),[_0x3b20a9([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x3b20a9([0x50,0x61,0x73,0x74,0x65,0x46,0x72,0x6f,0x6d,0x4f,0x66,0x66,0x69,0x63,0x65,0x45,0x6e,0x68,0x61,0x6e,0x63,0x65,0x64,0x49,0x6e,0x6c,0x69,0x6e,0x65,0x72]),[_0x3b20a9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x3b20a9([0x70,0x61,0x73,0x74,0x65,0x46,0x72,0x6f,0x6d,0x4f,0x66,0x66,0x69,0x63,0x65,0x45,0x6e,0x68,0x61,0x6e,0x63,0x65,0x64,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x3b20a9([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x3b20a9([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x3b20a9([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x3b20a9([0x66,0x67,0x69])]:[0xc]}},{[_0x3b20a9([0x69,0x64])]:0xb,[_0x3b20a9([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3b20a9([0x41,0x49,0x20,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74]),[_0x3b20a9([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x3b20a9([0x41,0x49,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74,0x55,0x49]),[_0x3b20a9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x3b20a9([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x3b20a9([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x3b20a9([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x3b20a9([0x69,0x64])]:0xc,[_0x3b20a9([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3b20a9([0x50,0x72,0x6f,0x64,0x75,0x63,0x74,0x69,0x76,0x69,0x74,0x79,0x20,0x70,0x61,0x63,0x6b])},{[_0x3b20a9([0x69,0x64])]:0xd,[_0x3b20a9([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3b20a9([0x43,0x61,0x73,0x65,0x20,0x43,0x68,0x61,0x6e,0x67,0x65]),[_0x3b20a9([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x3b20a9([0x43,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x55,0x49]),[_0x3b20a9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x3b20a9([0x63,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x3b20a9([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x3b20a9([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x3b20a9([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x3b20a9([0x66,0x67,0x69])]:[0xc]}},{[_0x3b20a9([0x69,0x64])]:0xe,[_0x3b20a9([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3b20a9([0x44,0x72,0x75,0x70,0x61,0x6c,0x20,0x70,0x61,0x63,0x6b]),[_0x3b20a9([0x66,0x6f,0x72,0x62,0x69,0x64,0x64,0x65,0x6e,0x48,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x3b20a9([0x66,0x6f,0x72,0x62,0x69,0x64,0x64,0x65,0x6e,0x48,0x61,0x6e,0x64,0x6c,0x65,0x72,0x46,0x6f,0x72,0x44,0x72,0x75,0x70,0x61,0x6c])},{[_0x3b20a9([0x69,0x64])]:0xf,[_0x3b20a9([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3b20a9([0x4d,0x75,0x6c,0x74,0x69,0x20,0x4c,0x65,0x76,0x65,0x6c,0x20,0x4c,0x69,0x73,0x74]),[_0x3b20a9([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x3b20a9([0x4d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x3b20a9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x3b20a9([0x6d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x3b20a9([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x3b20a9([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x3b20a9([0x69,0x64])]:0x10,[_0x3b20a9([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3b20a9([0x4d,0x65,0x72,0x67,0x65,0x20,0x54,0x61,0x67,0x73]),[_0x3b20a9([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x3b20a9([0x4d,0x65,0x72,0x67,0x65,0x54,0x61,0x67,0x73,0x55,0x49]),[_0x3b20a9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x3b20a9([0x6d,0x65,0x72,0x67,0x65,0x54,0x61,0x67,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x3b20a9([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x3b20a9([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x3b20a9([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x3b20a9([0x66,0x67,0x69])]:[0xc]}}];return _0x5e7279(_0x5672bc),_0x5672bc;function _0x569162(_0x5df381){return 0x1<<_0x5df381-0x1;}function _0x5e7279(_0x5651c2){_0x5651c2[_0x3b20a9([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x15fe14=>{_0x15fe14[_0x3b20a9([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]=_0x569162(_0x15fe14[_0x3b20a9([0x69,0x64])]),_0x29cea9(_0x15fe14)&&_0x15fe14[_0x3b20a9([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x5e7279(_0x15fe14[_0x3b20a9([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]);});}}function _0x29cea9(_0x5dbc3f){return _0x3b20a9([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])in _0x5dbc3f;}const _0x9fcc29=[0x1,0x55,0x4e,0x73,0xc6,0xff,0x32,0x70,0x53,0x57,0xa1],_0x1c85be=[0x7f,0x22,0x6,0xd3,0xa7,0x56,0x92,0xc7,0x84,0xa0,0x12];function _0x301360(_0x4b2086){const _0x18a00f=[0x1d,0xdd,0xaf,0x5a,0xe7,0x85,0xef,0xf0,0x4b,0xb4];return _0x5ae3ac(_0x4b2086,new Uint8Array([..._0x9fcc29,..._0x18a00f,..._0x1c85be]));}function _0x5ae3ac(_0x19cea9,_0x49d68a){const _0x1ddb28=_0x94e5a4(_0x19cea9),_0x182928=Array[_0x3b20a9([0x66,0x72,0x6f,0x6d])](_0x43317d(_0x1ddb28)),_0x4479cd=_0x182928[_0x3b20a9([0x70,0x6f,0x70])](),_0x3c2b7b=_0x182928[_0x3b20a9([0x70,0x6f,0x70])]();return _0x50a380(_0x3de38f(_0x182928,_0x49d68a,_0x3c2b7b+0x100*_0x4479cd));}function _0x94e5a4(_0x1dc48a){const _0x49517a=atob(_0x1dc48a),[_0x1ac8a5,_0x4f8152]=_0x49517a[_0x3b20a9([0x73,0x70,0x6c,0x69,0x74])](_0x3b20a9([0x2d]));try{if(atob(_0x4f8152))return atob(_0x1ac8a5);}catch(_0x563d89){}return _0x49517a;}function _0x5b7548(_0x2565b0){try{const _0x48e003=_0x301360(_0x2565b0),_0x33c932=JSON[_0x3b20a9([0x70,0x61,0x72,0x73,0x65])](_0x48e003),_0x593ee1=parseInt(_0x33c932[_0x3b20a9([0x31])]),_0x1b6c68=_0x33c932[_0x3b20a9([0x32])]||'',_0x340d10=parseInt(_0x33c932[_0x3b20a9([0x33])]),_0x461315=parseInt(_0x33c932[_0x3b20a9([0x34])])||0x0,_0x3bec4c=parseInt(_0x33c932[_0x3b20a9([0x35])])||0x0;return{[_0x3b20a9([0x70,0x72,0x6f,0x64,0x75,0x63,0x74,0x4e,0x61,0x6d,0x65])]:_0x1b6c68,[_0x3b20a9([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])]:_0x461315,[_0x3b20a9([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]:_0x593ee1,[_0x3b20a9([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]:_0x340d10,[_0x3b20a9([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]:_0x3bec4c};}catch(_0x233518){return null;}}const _0x154910=_0x360fed(),_0x584957={[_0x3b20a9([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])]:_0x3e2fde,[_0x3b20a9([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x46,0x6f,0x72,0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73])]:_0x1f71da,[_0x3b20a9([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x46,0x6f,0x72,0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x48,0x69,0x73,0x74,0x6f,0x72,0x79])]:_0x2982fc},_0x3cd5ed=_0x511a2e[_0x3b20a9([0x63,0x6f,0x6e,0x73,0x74,0x72,0x75,0x63,0x74,0x6f,0x72])][_0x3b20a9([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])],_0x1fa9a8=_0x3b20a9([0x63,0x6f,0x6e,0x74,0x65,0x78,0x74])in _0x511a2e?_0x511a2e['context']:_0x511a2e['editor'],_0x733782=_0x3b20a9([0x34,0x30,0x34,0x38,0x31,0x32,0x34,0x36]),_0x351626=_0x3b20a9([0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4a,0x4b,0x4c,0x4d,0x4e,0x4f,0x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5a,0x61,0x62,0x63,0x64,0x65,0x66,0x67,0x68,0x69,0x6a,0x6b,0x6c,0x6d,0x6e,0x6f,0x70,0x71,0x72,0x73,0x74,0x75,0x76,0x77,0x78,0x79,0x7a,0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39]),_0x3a5645=_0x1fa9a8['config']['get'](_0x3b20a9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x3fbd0c=_0x154910[_0x3b20a9([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x29cea9)[_0x3b20a9([0x66,0x69,0x6e,0x64])](_0x1debae=>_0x1debae[_0x3b20a9([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]===_0x3cd5ed);function _0x284125(_0x16379d,_0x225c51){_0x584957[_0x225c51[_0x3b20a9([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]](_0x16379d,_0x225c51),_0x225c51[_0x3b20a9([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x225c51[_0x3b20a9([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])][_0x3b20a9([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3fabb8=>_0x4f068a(_0x1fa9a8,_0x3fabb8[_0x3b20a9([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))[_0x3b20a9([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x3665e1=>_0x284125(_0x16379d,_0x3665e1));}function _0x3e2fde(_0x41a0d8,_0x6d2430){_0x1bfdff(_0x586f89(_0x41a0d8,_0x6d2430),_0x6d2430);}function _0x1f71da(_0x50b060,_0x4ef896){function _0x4d7f80(_0x34930f,_0x28c859){try{if(_0x4f068a(_0x1fa9a8,_0x3b20a9([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))&&_0x34930f){const _0x3b26eb=_0x310bb8(_0x1fa9a8,_0x3b20a9([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))[_0x3b20a9([0x5f,0x65,0x78,0x65,0x63,0x75,0x74,0x65,0x53,0x75,0x67,0x67,0x65,0x73,0x74,0x69,0x6f,0x6e])];if(parseInt(_0x3b26eb)/0x2>_0x34930f[_0x3b20a9([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])])return _0x58d8ca(_0x28c859[_0x3b20a9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3b20a9([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}return _0x586f89(_0x34930f,_0x28c859);}catch(_0x4abf47){return _0x58d8ca(_0x28c859[_0x3b20a9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3b20a9([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}_0x1bfdff(_0x4d7f80(_0x50b060,_0x4ef896),_0x4ef896);}function _0x2982fc(_0x2a3dfb,_0x128999){const _0x323341=_0x1c85be[0x0]*_0x9fcc29[0x1],_0xbb22c4=_0x1c85be[0x0]*_0x9fcc29[0x2],_0x309c12=_0x1c85be[0x2]*_0x9fcc29[0x2];_0x4f068a(_0x1fa9a8,_0x3b20a9([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x310bb8(_0x1fa9a8,_0x3b20a9([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x3b20a9([0x73,0x74,0x61,0x74,0x65])]==_0x3b20a9([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&(window[_0x3a4ec2()]=_0x309c12);function _0x1d1e4a(_0x2649bc,_0x5dd9ce){try{return _0x3f1c1a()?_0x58d8ca(_0x5dd9ce[_0x3b20a9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3b20a9([0x56,0x61,0x6c,0x69,0x64])):_0x586f89(_0x2649bc,_0x5dd9ce);}catch(_0x4bd3ac){return _0x58d8ca(_0x5dd9ce[_0x3b20a9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3b20a9([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x2555ae(_0x57ed33,_0x3e1b26){const _0x468ddd=0x7;if(_0x57ed33==_0x3e1b26[_0x3b20a9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3b20a9([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]))_0xc69a63();else{if(_0x57ed33==_0x3e1b26[_0x3b20a9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3b20a9([0x54,0x72,0x69,0x61,0x6c])){const _0x2621b7=_0x18db2f();_0x2621b7&&_0x2776fe(_0x2621b7,_0x3e1b26[_0x3b20a9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);const _0x272f83=_0xa8c744();window[_0x3b20a9([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x2776fe(_0x3b20a9([0x74,0x69,0x6d,0x65]),_0x3e1b26[_0x3b20a9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);},_0x272f83);const _0x55894a=_0x310bb8(_0x1fa9a8,_0x3b20a9([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x3b20a9([0x5f,0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73])];_0x55894a[_0x3b20a9([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x468ddd?_0x2776fe(_0x3b20a9([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x3e1b26[_0x3b20a9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]):_0x55894a['on'](_0x3b20a9([0x61,0x64,0x64]),()=>{_0x55894a[_0x3b20a9([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x468ddd&&_0x2776fe(_0x3b20a9([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x3e1b26[_0x3b20a9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);});}}}function _0x18db2f(){if(!_0x4f068a(_0x1fa9a8,_0x3b20a9([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x22031b in window)if(Number['isNaN'](Number(_0x22031b))){if(window[_0x22031b]===_0x323341)return _0x3b20a9([0x74,0x69,0x6d,0x65]);if(window[_0x22031b]===_0xbb22c4)return _0x3b20a9([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]);}return!0x1;}function _0x3f1c1a(){if(!_0x4f068a(_0x1fa9a8,_0x3b20a9([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x5e7603 in window)if(Number['isNaN'](Number(_0x5e7603))&&window[_0x5e7603]===_0x309c12)return!0x0;return!0x1;}function _0x2776fe(_0x50c84d,_0x1280e0){_0xc69a63(),_0x58d8ca(_0x1280e0+_0x3b20a9([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a])+_0x50c84d),window[_0x3a4ec2()]=_0x50c84d===_0x3b20a9([0x74,0x69,0x6d,0x65])?_0x323341:_0xbb22c4;}function _0xa8c744(){let _0x15001a=_0x1c85be[0x6]*_0x9fcc29[0x8]*_0x9fcc29[0x6];return _0x4f068a(_0x1fa9a8,_0x3b20a9([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x15001a/=0xa),_0x15001a;}function _0xc69a63(){const _0x3053e6=_0x1fa9a8;function _0x583271(){_0x4f068a(_0x3053e6,_0x3b20a9([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&(_0x310bb8(_0x3053e6,_0x3b20a9([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x3b20a9([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x3b20a9([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x310bb8(_0x3053e6,_0x3b20a9([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x3b20a9([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x310bb8(_0x3053e6,_0x3b20a9([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x3b20a9([0x75,0x70,0x64,0x61,0x74,0x65])]=_0x2b0346,_0x310bb8(_0x3053e6,_0x3b20a9([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x3b20a9([0x73,0x61,0x76,0x65,0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e])]=_0x2b0346,_0x3053e6[_0x3b20a9([0x6d,0x6f,0x64,0x65,0x6c])][_0x3b20a9([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2b0346,_0x3053e6[_0x3b20a9([0x6d,0x6f,0x64,0x65,0x6c])][_0x3b20a9([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2b0346,_0x3053e6[_0x3b20a9([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x3b20a9([0x6d,0x6f,0x64,0x65,0x6c]))),_0x4f068a(_0x3053e6,_0x3b20a9([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x310bb8(_0x3053e6,_0x3b20a9([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x3b20a9([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x3b20a9([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x310bb8(_0x3053e6,_0x3b20a9([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x3b20a9([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x310bb8(_0x3053e6,_0x3b20a9([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x3b20a9([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])]=_0x2b0346,_0x310bb8(_0x3053e6,_0x3b20a9([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x3b20a9([0x5f,0x67,0x65,0x74,0x44,0x69,0x66,0x66])]=_0x2b0346);}_0x3053e6[_0x3b20a9([0x73,0x74,0x61,0x74,0x65])]==_0x3b20a9([0x72,0x65,0x61,0x64,0x79])?_0x583271():_0x3053e6[_0x3b20a9([0x6f,0x6e,0x63,0x65])](_0x3b20a9([0x72,0x65,0x61,0x64,0x79]),()=>{if(_0x4f068a(_0x3053e6,_0x3b20a9([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&_0x583271(),_0x4f068a(_0x3053e6,_0x3b20a9([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))){const _0x140cbd=_0x310bb8(_0x3053e6,_0x3b20a9([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79])),_0x39cafa=_0x140cbd['getRevision'](0x0),_0x23761e=_0x140cbd['getEarlierVisibleRevision'](_0x39cafa[_0x3b20a9([0x69,0x64])]);_0x310bb8(_0x3053e6,_0x3b20a9([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x3b20a9([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])](_0x39cafa[_0x3b20a9([0x69,0x64])],_0x23761e?_0x23761e[_0x3b20a9([0x69,0x64])]:null,0x1)['then'](()=>_0x583271());}});}_0x2555ae(_0x1d1e4a(_0x2a3dfb,_0x128999),_0x128999);}function _0x586f89(_0x2e1a6c,_0x4251c7){try{return _0x2ee41c(_0x4251c7)?_0x58d8ca(_0x4251c7[_0x3b20a9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3b20a9([0x56,0x61,0x6c,0x69,0x64])):_0x2e1a6c&&_0x33d982(_0x2e1a6c[_0x3b20a9([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])],_0x4251c7)?_0x2e1a6c[_0x3b20a9([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]&&!window[_0x3b20a9([0x6f,0x70,0x65,0x6e])][_0x3b20a9([0x63,0x6c,0x6f,0x73,0x65,0x64])]||parseInt(_0x733782)/0x2>_0x2e1a6c[_0x3b20a9([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]?_0x58d8ca(_0x4251c7[_0x3b20a9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3b20a9([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])):_0x2e1a6c[_0x3b20a9([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]?_0x58d8ca(_0x4251c7[_0x3b20a9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3b20a9([0x54,0x72,0x69,0x61,0x6c])):_0x58d8ca(_0x4251c7[_0x3b20a9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3b20a9([0x56,0x61,0x6c,0x69,0x64])):_0x58d8ca(_0x4251c7[_0x3b20a9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3b20a9([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}catch(_0x2515b9){return _0x58d8ca(_0x4251c7[_0x3b20a9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3b20a9([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x1bfdff(_0x50f1bc,_0x539fc5){if(_0x1fa9a8 instanceof _0x29c6ef){const _0x2af22e=_0x1fa9a8;_0x50f1bc==_0x539fc5[_0x3b20a9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3b20a9([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x149809(_0x2af22e):_0x50f1bc==_0x539fc5[_0x3b20a9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3b20a9([0x54,0x72,0x69,0x61,0x6c])&&window[_0x3b20a9([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x149809(_0x2af22e),_0x58d8ca(_0x539fc5[_0x3b20a9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3b20a9([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65]));},_0x1c85be[0x6]*_0x9fcc29[0x8]*_0x9fcc29[0x6]),_0x2af22e[_0x3b20a9([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])][_0x3b20a9([0x6f,0x6e])](_0x3b20a9([0x61,0x64,0x64]),(_0x3d30e7,_0x538bb1)=>{_0x50f1bc!=_0x539fc5[_0x3b20a9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3b20a9([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])&&_0x50f1bc!=_0x539fc5[_0x3b20a9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3b20a9([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65])&&_0x50f1bc!=_0x539fc5[_0x3b20a9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3b20a9([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])||_0x3caa80(_0x538bb1);});}else{const _0x32606e=_0x1fa9a8;_0x50f1bc==_0x539fc5[_0x3b20a9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3b20a9([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x3caa80(_0x32606e):_0x50f1bc==_0x539fc5[_0x3b20a9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3b20a9([0x54,0x72,0x69,0x61,0x6c])&&_0x32606e[_0x3b20a9([0x6f,0x6e])](_0x3b20a9([0x72,0x65,0x61,0x64,0x79]),()=>{let _0x9120a9=0x0;_0x32606e[_0x3b20a9([0x6d,0x6f,0x64,0x65,0x6c])][_0x3b20a9([0x6f,0x6e])](_0x3b20a9([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x213fb9,_0x2f9162)=>{_0x2f9162[0x0][_0x3b20a9([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x9120a9++,0x1f8===_0x9120a9&&(_0x3caa80(_0x32606e),_0x58d8ca(_0x539fc5[_0x3b20a9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3b20a9([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])),_0x213fb9[_0x3b20a9([0x6f,0x66,0x66])]());},{'priority':_0x3b20a9([0x68,0x69,0x67,0x68,0x65,0x73,0x74])});});}}function _0x58d8ca(_0x119cd7){const _0x29c789=_0x3a4ec2();return _0x1fa9a8[_0x29c789]=_0x119cd7,_0x119cd7;}function _0x3a4ec2(){const _0x51ed8f=String(window[_0x3b20a9([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x3b20a9([0x6e,0x6f,0x77])]())[_0x3b20a9([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x3b20a9([0x2e]),'');let _0x3b0586='';for(let _0x25f49a=0x0;_0x25f49a<_0x51ed8f[_0x3b20a9([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x25f49a+=0x2){let _0x4d8c51=parseInt(_0x51ed8f[_0x3b20a9([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x25f49a,_0x25f49a+0x2));_0x4d8c51>=_0x351626[_0x3b20a9([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x4d8c51-=_0x351626[_0x3b20a9([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x3b0586+=_0x351626[_0x4d8c51];}return _0x3b0586;}function _0x149809(_0x467fb6){for(const _0x5227f4 of _0x467fb6[_0x3b20a9([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])])_0x3caa80(_0x5227f4);_0x310bb8(_0x467fb6,_0x3b20a9([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x3b20a9([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])](!0x0),_0x310bb8(_0x467fb6,_0x3b20a9([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x3b20a9([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])]=_0x2b0346;}function _0x3caa80(_0x6a0a27){function _0x19d4bb(){_0x6a0a27[_0x3b20a9([0x6d,0x6f,0x64,0x65,0x6c])][_0x3b20a9([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2b0346,_0x6a0a27[_0x3b20a9([0x6d,0x6f,0x64,0x65,0x6c])][_0x3b20a9([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2b0346,_0x6a0a27[_0x3b20a9([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x3b20a9([0x6d,0x6f,0x64,0x65,0x6c]));}_0x6a0a27[_0x3b20a9([0x73,0x74,0x61,0x74,0x65])]==_0x3b20a9([0x72,0x65,0x61,0x64,0x79])?_0x19d4bb():_0x6a0a27[_0x3b20a9([0x6f,0x6e,0x63,0x65])](_0x3b20a9([0x72,0x65,0x61,0x64,0x79]),()=>_0x19d4bb());}function _0x2b0346(){return null;}function _0x33d982(_0x291e60,_0x19e6cf){const _0x11f7b5=!!(_0x291e60&_0x19e6cf[_0x3b20a9([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]),_0x40ca01=_0x34f1ea(_0x291e60,_0x19e6cf);return _0x11f7b5||_0x40ca01;}function _0x34f1ea(_0x2fcb85,_0x1d7faf){const _0x332beb=(_0x1d7faf[_0x3b20a9([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{})[_0x3b20a9([0x66,0x67,0x69])]||null;return!!_0x332beb&&_0x154910[_0x3b20a9([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1e1eb3=>_0x332beb[_0x3b20a9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1e1eb3[_0x3b20a9([0x69,0x64])]))[_0x3b20a9([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3c1a34=>!_0x5955c9(_0x3c1a34))[_0x3b20a9([0x73,0x6f,0x6d,0x65])](_0x482a8e=>!!(_0x2fcb85&_0x482a8e[_0x3b20a9([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]));}function _0x5955c9(_0x438f18){const _0x5b6e6f={[_0x3b20a9([0x66,0x6f,0x72,0x62,0x69,0x64,0x64,0x65,0x6e,0x48,0x61,0x6e,0x64,0x6c,0x65,0x72,0x46,0x6f,0x72,0x44,0x72,0x75,0x70,0x61,0x6c])]:_0xc1f488};return!!_0x438f18['forbiddenHandler']&&_0x5b6e6f[_0x438f18['forbiddenHandler']]();}function _0xc1f488(){return!window[_0x3b20a9([0x44,0x72,0x75,0x70,0x61,0x6c])]||!_0x4f068a(_0x1fa9a8,_0x3b20a9([0x64,0x72,0x75,0x70,0x61,0x6c,0x50,0x6f,0x77,0x65,0x72,0x65,0x64,0x42,0x79]));}function _0x2ee41c(_0x709830){if(!_0x4f068a(_0x1fa9a8,_0x709830[_0x3b20a9([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))return!0x0;const _0x41002b=_0x709830[_0x3b20a9([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{},_0x56777a=_0x41002b[_0x3b20a9([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]||!0x1,_0x4826a7=_0x41002b[_0x3b20a9([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]||!0x1,_0x2646ba=_0x41002b[_0x3b20a9([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]||!0x1;if(_0x4f068a(_0x1fa9a8,_0x3b20a9([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x310bb8(_0x1fa9a8,_0x3b20a9([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x3b20a9([0x73,0x74,0x61,0x74,0x65])]==_0x3b20a9([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&_0x56777a)return!0x0;if(_0x4f068a(_0x1fa9a8,_0x3b20a9([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))&&_0x310bb8(_0x1fa9a8,_0x3b20a9([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))[_0x3b20a9([0x72,0x65,0x73,0x75,0x6c,0x74])]==_0x3b20a9([0x65,0x6e,0x64])&&_0x4826a7)return!0x0;return!(!_0x4f068a(_0x1fa9a8,_0x3b20a9([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72,0x49,0x6e,0x74,0x65,0x67,0x72,0x61,0x74,0x69,0x6f,0x6e]))||_0x310bb8(_0x1fa9a8,_0x3b20a9([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72,0x49,0x6e,0x74,0x65,0x67,0x72,0x61,0x74,0x69,0x6f,0x6e]))[_0x3b20a9([0x72,0x65,0x73,0x75,0x6c,0x74])]!=_0x3b20a9([0x65,0x6e,0x64])||!_0x2646ba);}function _0x4f068a(_0x4a23de,_0x7737f5){return _0x4a23de[_0x3b20a9([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x3b20a9([0x68,0x61,0x73])](_0x7737f5);}function _0x310bb8(_0x5a3431,_0xcdf15f){return _0x5a3431[_0x3b20a9([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x3b20a9([0x67,0x65,0x74])](_0xcdf15f);}function _0x50a380(_0x49642b){let _0x9f55ad='';for(const _0x310d44 of _0x49642b)_0x9f55ad+=String[_0x3b20a9([0x66,0x72,0x6f,0x6d,0x43,0x68,0x61,0x72,0x43,0x6f,0x64,0x65])](_0x310d44);return _0x9f55ad;}function _0x43317d(_0xfaaaff){const _0x2b49dc=new Uint8Array(_0xfaaaff[_0x3b20a9([0x6c,0x65,0x6e,0x67,0x74,0x68])]);for(let _0x484eca=0x0;_0x484eca<_0xfaaaff[_0x3b20a9([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x484eca++)_0x2b49dc[_0x484eca]=_0xfaaaff[_0x3b20a9([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x484eca);return _0x2b49dc;}_0x3fbd0c&&_0x284125(_0x5b7548(_0x3a5645),_0x3fbd0c);})(_0x2d47dd);}(this);}['createRevision'](_0x4f2e0e){const _0x48ab00=this['editor']['plugins']['get']('Users');return new a({'id':_0x4f2e0e['id'],'name':_0x4f2e0e['name'],'creator':_0x4f2e0e['creatorId']?_0x48ab00['getUser'](_0x4f2e0e['creatorId']):null,'diffData':_0x4f2e0e['diffData']||_0x4f2e0e['data'],'authors':_0x4f2e0e['authorsIds']['map'](_0x1e66e6=>_0x48ab00['getUser'](_0x1e66e6)),'createdAt':new Date(_0x4f2e0e['createdAt']),'attributes':_0x4f2e0e['attributes'],'fromVersion':_0x4f2e0e['fromVersion'],'toVersion':_0x4f2e0e['toVersion']});}['addRevision'](_0x50a3bc,_0x92846=0x0){this['_revisions']['add'](_0x50a3bc,_0x92846);}['getRevision'](_0x2da477){return this['_revisions']['get'](_0x2da477);}['getRevisions'](_0x4ed2df={'toJSON':!0x1}){const _0x5ef254=Array['from'](this['_revisions']);return _0x5ef254['reverse'](),_0x4ed2df['toJSON']?_0x5ef254['map'](_0x3f756a=>_0x3f756a['toJSON']()):_0x5ef254;}['getIndex'](_0x4adef9){return this['_revisions']['getIndex'](_0x4adef9);}['getEarlierVisibleRevision'](_0x248f19){const [,_0x1f08e0]=this['getRevisionsIterator'](_0x248f19,{'direction':'earlier'});return _0x1f08e0;}['getLaterVisibleRevision'](_0x178d54){const [,_0x5bf401]=this['getRevisionsIterator'](_0x178d54,{'direction':'later'});return _0x5bf401;}['getRevisionsInDiff'](_0x519af8){const _0x33b791=[];for(const _0x684c05 of this['getRevisionsIterator'](_0x519af8['newRevisionId']))if(_0x33b791['push'](_0x684c05),_0x684c05['id']===_0x519af8['oldRevisionId'])break;return _0x33b791;}*['getRevisionsIterator'](_0x1b426f,{direction:_0x1a5ed8='earlier',filter:_0x360980=_0x5de0d3=>!0x0}={}){const _0x5b55f3='earlier'===_0x1a5ed8?0x1:-0x1;let _0x57ea8e=this['_revisions']['get'](_0x1b426f),_0x53ef06=this['getIndex'](_0x57ea8e);for(yield _0x57ea8e;_0x57ea8e;){if(_0x53ef06+=_0x5b55f3,_0x57ea8e=this['getRevision'](_0x53ef06),!_0x57ea8e)return;_0x360980(_0x57ea8e)&&(yield _0x57ea8e);}}}function y(_0x472581,_0x179272,_0x415076){const t=_0x472581['t'];switch(_0x179272){case'Revision\x20history':return t('Revision\x20history');case'Open\x20revision\x20history':return t('Open\x20revision\x20history');case'Restored':return t('Restored');case'Empty\x20document':return t('Empty\x20document');case'Initial\x20revision':return t('Initial\x20revision');case'Suggested\x20by':return t('Suggested\x20by');case'Added\x20by':return t('Added\x20by');case'Removed\x20by':return t('Removed\x20by');case'Show\x20more\x20items':return t('Show\x20more\x20items');case'Compare\x20against\x20selected':return t('Compare\x20against\x20selected');case'Name\x20this\x20revision':return t('Name\x20this\x20revision');case'Restore\x20this\x20revision':return t('Restore\x20this\x20revision');case'Back\x20to\x20editing':return t('Back\x20to\x20editing');case'Loading...':return t('Loading...');case'No\x20changes':return t('No\x20changes');case'NUMBER_OF_CHANGES':return t({'string':'%0\x20change','plural':'%0\x20changes','id':'NUMBER_OF_CHANGES'},_0x415076);case'X_OF_Y_CHANGES':return t({'string':'%0\x20of\x20%1','id':'X_OF_Y_CHANGES'},_0x415076);case'Show\x20previous\x20change':return t('Show\x20previous\x20change');case'Show\x20next\x20change':return t('Show\x20next\x20change');case'EDIT_X_OF_Y_REVISIONS':return t({'string':'Edit','id':'EDIT_X_OF_Y_REVISIONS'});case'Total':return t('Total');case'Revision\x20creator':return t('Revision\x20creator');case'Revision\x20author':return t('Revision\x20author');case'Revision\x20name':return t('Revision\x20name');case'Save\x20current\x20revision':return t('Save\x20current\x20revision');case'Save':return t('Save');case'Cancel':return t('Cancel');case'Name\x20of\x20the\x20revision':return t('Name\x20of\x20the\x20revision');case'optional':return t('optional');case'PENDING_ACTION_REVISION_HISTORY':return t({'string':'Unsaved\x20change\x20in\x20revision\x20history.','id':'PENDING_ACTION_REVISION_HISTORY'});case'The\x20revision\x20name\x20cannot\x20be\x20empty.':return t('The\x20revision\x20name\x20cannot\x20be\x20empty.');case'Enter\x20the\x20revision\x20name':return t('Enter\x20the\x20revision\x20name');default:return'';}}const T={'c':_0x22cfa1,'a':_0x2fcb99,'e':_0x340848,'r':_0x3024d4,'u':_0x409b2b};class l extends _0x3bc8af{['adapter'];['currentRevision'];['repository'];['_revisionDataBuilder'];['_source'];['_initialRevisionId'];['_bufferedUpdates'];['_pendingAction'];['_continueCurrentRevision'];['_startingVersion'];['_loadedStateData'];static get['pluginName'](){return'RevisionTracker';}static get['requires'](){return[_0x45f376,A,_0x6dd356];}constructor(_0x44275e){super(_0x44275e),this['adapter']=null,this['currentRevision']=null,this['_revisionDataBuilder']=new J(this['editor']),this['_initialRevisionId']=this['editor']['config']['get']('collaboration.channelId')||'initial',this['_bufferedUpdates']=new Map(),this['_loadedStateData']=null;const _0xcc3430=_0x42c424();this['_source']={'history':this['editor']['model']['document']['history'],'getLatestVersion':()=>Promise['resolve'](this['editor']['model']['document']['version']),'getCurrentRevisionId':()=>_0xcc3430},this['set']('isReady',!0x1),this['set']('isEnabled',!0x0),this['set']('_isPendingUpdate',!0x1),this['editor']['config']['define']('revisionHistory.resumeUnsavedRevision',!0x0),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'revision'});}['init'](){this['repository']=this['editor']['plugins']['get']('RevisionsRepository'),this['_setConversion'](),this['editor']['data']['on']('ready',()=>{const _0x4ae8b8=this['repository']['getRevision'](0x0),_0x335128=_0x4ae8b8&&null===_0x4ae8b8['creator']?_0x4ae8b8:null;if(this['_continueCurrentRevision']=!!_0x335128&&this['editor']['config']['get']('revisionHistory.resumeUnsavedRevision'),this['editor']['plugins']['has']('RealTimeCollaborationClient')){const _0x625065=this['_source']['getCurrentRevisionId'](),_0xf30f32=this['repository']['getRevision'](_0x625065);if(_0xf30f32)this['_startingVersion']=_0xf30f32['fromVersion'],this['_continueCurrentRevision']=!0x1;else{const _0x67f3f8=this['_source']['history']['_operations']['find'](_0x2bd41c=>!_0x2bd41c['_isInit']),_0x3bd57f=_0x67f3f8?_0x67f3f8['baseVersion']:this['_source']['history']['version'];_0x4ae8b8?(_0x4ae8b8['toVersion']<_0x3bd57f&&_0x4ae8b8['_update']({'toVersion':_0x3bd57f}),this['_continueCurrentRevision']?(this['_source']['getCurrentRevisionId']=()=>_0x335128['id'],this['_startingVersion']=_0x335128['fromVersion']):(this['_startingVersion']=_0x4ae8b8['toVersion'],this['_continueCurrentRevision']=!0x1)):(this['_startingVersion']=_0x3bd57f,this['_continueCurrentRevision']=!0x1);}}else _0x335128&&(this['editor']['model']['document']['history']['version']=Math['max'](_0x335128['toVersion'],this['editor']['model']['document']['history']['version']),_0x335128['fromVersion']===_0x335128['toVersion']?(0x0!==_0x335128['fromVersion']&&(this['_source']['getCurrentRevisionId']=()=>_0x335128['id']),this['_continueCurrentRevision']=!0x1):this['_continueCurrentRevision']&&(this['_source']['getCurrentRevisionId']=()=>_0x335128['id'],this['_startingVersion']=_0x335128['fromVersion'])),this['_continueCurrentRevision']||(this['_startingVersion']=this['editor']['model']['document']['version']);this['_revisionDataBuilder']['init'](this['_source']['history']),this['_createInitialRevision'](this['_startingVersion']),this['_createCurrentRevision'](this['_startingVersion']),this['adapter']&&this['sendBufferedUpdates']();}),this['bind']('isReady')['to'](this,'_isPendingUpdate',_0xce2119=>!_0xce2119);}async['afterInit'](){if(this['repository']['length']>0x0){const _0x890a4a=this['repository']['getRevision'](0x0),_0x34e0e4=await this['getRevisionDocumentData'](_0x890a4a),_0x20d042=await this['getRevisionRootsAttributes'](_0x890a4a);this['_replaceEditorDataWithRevisionData'](_0x34e0e4,_0x20d042);}}['setSource'](_0x470fc4){this['_source']=_0x470fc4;}async['update'](){const _0x22b37f=await this['_source']['getLatestVersion']();if(_0x22b37f>this['currentRevision']['toVersion']){await this['_loadState']();const _0x4ec578=this['buildRevisionData']({'revision':this['currentRevision'],'to':_0x22b37f});_0x4ec578['authors']=_0x4ec578['authorsIds']['map'](_0x5151d2=>this['editor']['plugins']['get']('Users')['getUser'](_0x5151d2)),this['currentRevision']['_update'](_0x4ec578);}}async['_loadState'](){this['_continueCurrentRevision']&&!this['_loadedStateData']&&(await this['_loadRevisionData'](this['currentRevision']),this['_revisionDataBuilder']['loadState'](this['currentRevision']),this['_loadedStateData']={'fromVersion':this['currentRevision']['fromVersion'],'authors':this['currentRevision']['authors']['slice']()});}async['saveRevision'](_0x3a492c={},_0x14be5d=null){const _0x4bc35e=[];await this['_loadState'](),this['_continueCurrentRevision']=!0x1,_0x14be5d>this['currentRevision']['toVersion']&&(_0x14be5d=null),null===_0x14be5d&&(_0x14be5d=await this['_source']['getLatestVersion']());const _0x31aabe=this['_getFromVersion'](_0x14be5d),_0x486c42=this['buildRevisionData']({'from':_0x31aabe,'to':_0x14be5d});if(this['currentRevision']['toVersion']<_0x14be5d){const _0x2bddf2=this['buildRevisionData']({'revision':this['currentRevision'],'from':_0x14be5d,'to':_0x14be5d});_0x2bddf2['authors']=[],_0x2bddf2['authorsIds']=[],_0x2bddf2['id']=this['currentRevision']['id'],this['currentRevision']['_update'](_0x2bddf2,!0x0),delete _0x2bddf2['authors'],_0x4bc35e['push'](_0x2bddf2);}_0x3a492c['creatorId']=this['editor']['plugins']['get']('Users')['me']['id'],_0x3a492c['name']=_0x3a492c['name']||null,_0x3a492c['id']=_0x3a492c['id']||_0x42c424(),_0x3a492c={..._0x3a492c,..._0x486c42};const _0x2e6c7f=this['addRevisionData'](_0x3a492c);_0x4bc35e['push'](_0x3a492c);const _0x220577=this['repository']['getIndex'](_0x2e6c7f);if(0x0!==_0x220577){const _0x49674f=this['repository']['getRevision'](_0x220577-0x1);if(_0x49674f['fromVersion']!==_0x14be5d){const _0x722e34=this['_revisionDataBuilder']['getData'](_0x14be5d,_0x49674f['toVersion']),_0x5a8d65={'id':_0x49674f['id'],'diffData':_0x722e34['diffData'],'authorsIds':_0x722e34['authorsIds'],'authors':_0x722e34['authorsIds']['map'](_0x3a6e86=>this['editor']['plugins']['get']('Users')['getUser'](_0x3a6e86)),'fromVersion':_0x14be5d};_0x49674f===this['currentRevision']&&(_0x5a8d65['createdAt']=new Date(_0x3a492c['createdAt']['getTime']()+0xa)),_0x49674f['_update'](_0x5a8d65,!0x0),delete _0x5a8d65['authors'],_0x4bc35e['push'](_0x5a8d65);}}if(this['adapter']){for(const _0x3f2ae2 of _0x4bc35e)this['_bufferUpdate'](_0x3f2ae2['id'],_0x3f2ae2,!0x0);this['sendBufferedUpdates']();}return _0x2e6c7f;}['addRevisionData'](_0x4205bc){const _0x14f556=this['repository']['createRevision'](_0x4205bc);return this['adapter']&&_0x14f556['on']('_update',(_0x2b237c,_0x391a8c,_0x2b0a47)=>{_0x2b0a47||(this['_bufferUpdate'](_0x391a8c['id'],_0x391a8c,!0x0),this['sendBufferedUpdates']());}),this['repository']['addRevision'](_0x14f556,this['_findInsertionIndex'](_0x14f556)),_0x14f556;}async['getRevisionDocumentData'](_0x1fce9d){await this['_loadRevisionData'](_0x1fce9d);const _0x328a6d={};for(const _0x1104da in _0x1fce9d['diffData']){if(_0x1fce9d['diffData'][_0x1104da]['attachChange']&&!_0x1fce9d['diffData'][_0x1104da]['attachChange']['isAttached'])continue;const _0x4adc0c=this['_removeRevisionMarkers'](JSON['parse'](_0x1fce9d['diffData'][_0x1104da]['insertions'])),_0x2b8010=this['editor']['editing']['view']['document'],_0x465d6f=new _0x68de1b(_0x2b8010,_0x4adc0c['map'](_0x21e113=>B(_0x21e113,this['editor'])));this['editor']['data']['processor']['useFillerType']('marked'),_0x328a6d[_0x1104da]=this['editor']['data']['processor']['toData'](_0x465d6f),this['editor']['data']['processor']['useFillerType']('default');}return _0x328a6d;}async['getRevisionRootsAttributes'](_0x2e4f77){await this['_loadRevisionData'](_0x2e4f77);const _0x5e8387={};for(const _0x5852df in _0x2e4f77['diffData'])_0x2e4f77['diffData'][_0x5852df]['attachChange']&&!_0x2e4f77['diffData'][_0x5852df]['attachChange']['isAttached']||(_0x5e8387[_0x5852df]=_0x2e4f77['diffData'][_0x5852df]['attributesAfter']||{});return _0x5e8387;}['sendBufferedUpdates'](){if(0x0===this['_bufferedUpdates']['size'])return;if(this['_isPendingUpdate'])return;let _0x4170c3=Array['from'](this['_bufferedUpdates']['values']());this['_bufferedUpdates']['clear']();for(let _0x3239ac=0x0;_0x3239ac<_0x4170c3['length'];_0x3239ac++){const _0x4770e3=_0x4170c3[_0x3239ac];let _0xa75613=!0x1;for(const _0x4233f8 of Object['keys'](_0x4770e3))void 0x0===_0x4770e3[_0x4233f8]?delete _0x4770e3[_0x4233f8]:'id'!==_0x4233f8&&(_0xa75613=!0x0);_0xa75613||(_0x4170c3[_0x3239ac]=null);}if(_0x4170c3=_0x4170c3['filter'](_0x1d2031=>null!==_0x1d2031),!_0x4170c3['length'])return;for(let _0x264328=0x0;_0x264328<_0x4170c3['length'];_0x264328++){const _0x3b9fdd=_0x4170c3[_0x264328];void 0x0!==_0x3b9fdd['fromVersion']&&void 0x0===_0x3b9fdd['toVersion']&&(_0x3b9fdd['toVersion']=this['repository']['getRevision'](_0x3b9fdd['id'])['toVersion']),void 0x0!==_0x3b9fdd['toVersion']&&void 0x0===_0x3b9fdd['fromVersion']&&(_0x3b9fdd['fromVersion']=this['repository']['getRevision'](_0x3b9fdd['id'])['fromVersion']);}const _0x45ca5c=this['editor']['config']['get']('collaboration.channelId');this['_isPendingUpdate']=!0x0,this['_addPendingAction'](),this['adapter']['updateRevisions'](_0x4170c3,_0x45ca5c)['finally'](()=>{this['_isPendingUpdate']=!0x1;})['then'](_0x240d4f=>{if(_0x240d4f){for(const _0x6ff37d of _0x240d4f)this['setRevisionData']({'id':_0x6ff37d['id'],'createdAt':_0x6ff37d['createdAt']});}this['_removePendingAction'](),this['sendBufferedUpdates']();});}['_replaceEditorDataWithRevisionData'](_0x529668,_0x26386f){let _0x3788b7=this['editor']['config']['get']('initialData'),_0x130cc4=this['editor']['config']['get']('rootsAttributes');if(void 0x0===_0x3788b7){_0x3788b7={};for(const _0x5a7acb of this['editor']['model']['document']['getRootNames']())_0x3788b7[_0x5a7acb]='';}if('string'==typeof _0x3788b7&&(_0x3788b7={'main':_0x3788b7}),void 0x0===_0x130cc4){_0x130cc4={};for(const _0x501ce5 of this['editor']['model']['document']['getRootNames']())_0x130cc4[_0x501ce5]={};}let _0xe5a2c6=!0x1;const _0x595f76=Object['keys'](_0x3788b7),_0x31c12e=Object['keys'](_0x529668);for(const _0x113b18 of _0x595f76){if(_0x3788b7[_0x113b18]!==_0x529668[_0x113b18]&&''!==_0x3788b7[_0x113b18]['trim']()){_0xe5a2c6=!0x0;break;}if(!_0x44b192(_0x130cc4[_0x113b18],_0x26386f[_0x113b18])&&Object['keys'](_0x130cc4[_0x113b18])['length']>0x0){_0xe5a2c6=!0x0;break;}}_0xe5a2c6||(_0xe5a2c6=_0x31c12e['some'](_0x3dddaa=>!this['editor']['model']['document']['getRoot'](_0x3dddaa))),_0xe5a2c6&&_0x4eff96('editor-initial-data-replaced-with-revision-data',{'editorData':_0x3788b7,'editorRootsAttributes':_0x130cc4,'revisionData':_0x529668,'revisionRootsAttributes':_0x26386f}),this['editor']['config']['set']('initialData',_0x529668),this['editor']['config']['set']('rootsAttributes',_0x26386f);}['_addPendingAction'](){if(!this['_pendingAction']){const _0x38fa9c=this['editor']['plugins']['get']('PendingActions');this['_pendingAction']=_0x38fa9c['add'](y(this['editor']['locale'],'PENDING_ACTION_REVISION_HISTORY'));}}['_removePendingAction'](){this['_pendingAction']&&(this['editor']['plugins']['get']('PendingActions')['remove'](this['_pendingAction']),this['_pendingAction']=null);}['_findInsertionIndex'](_0x5f1620){const _0x757422=this['repository']['getRevisions']();_0x757422['reverse']();let _0x3d3ab0=0x0;for(;_0x3d3ab0<_0x757422['length'];){const _0x199ab4=_0x757422[_0x3d3ab0];if(_0x199ab4===this['currentRevision']){_0x3d3ab0++;continue;}if(_0x199ab4['id']===this['_initialRevisionId'])break;const _0x35724b=_0x5f1620['toVersion']-_0x199ab4['toVersion']||_0x5f1620['fromVersion']-_0x199ab4['fromVersion'];if(_0x35724b>0x0)break;if(_0x35724b<0x0)_0x3d3ab0++;else{if(!_0x5f1620['creator']&&_0x199ab4['creator'])break;if(_0x199ab4['creator']||!_0x5f1620['creator']){if(_0x5f1620['createdAt']>_0x199ab4['createdAt'])break;_0x3d3ab0++;}else _0x3d3ab0++;}}return _0x3d3ab0;}['setRevisionData'](_0x10852c){const _0x2f65d3=this['repository']['getRevision'](_0x10852c['id']);if(_0x10852c['createdAt']&&(_0x10852c['createdAt']=new Date(_0x10852c['createdAt'])),_0x10852c['authorsIds']){const _0x235090=this['editor']['plugins']['get']('Users');_0x10852c['authors']=_0x10852c['authorsIds']['map'](_0x3b76ea=>_0x235090['getUser'](_0x3b76ea));}_0x2f65d3['_update'](_0x10852c,!0x0);}['buildRevisionData']({revision:_0x83a66e=null,from:_0x4b4191=null,to:_0x46c593=null}){_0x4b4191=null!==_0x4b4191?_0x4b4191:_0x83a66e['fromVersion'],_0x46c593=null!==_0x46c593?_0x46c593:_0x83a66e['toVersion'];const _0x316695=this['_revisionDataBuilder']['getData'](_0x4b4191,_0x46c593),_0x10002f={'diffData':_0x316695['diffData'],'authorsIds':_0x316695['authorsIds'],'fromVersion':_0x4b4191,'toVersion':_0x46c593};if(!_0x83a66e||_0x46c593!==_0x83a66e['toVersion']){const _0x2eccfa=_0x46c593-0x1,_0x110e07=this['_source']['history']['getOperation'](_0x2eccfa);_0x10002f['createdAt']=_0x110e07&&_0x110e07['createdAt']||new Date();}if(this['_loadedStateData']&&_0x4b4191===this['_loadedStateData']['fromVersion']){for(const _0x4c689e of this['_loadedStateData']['authors'])_0x10002f['authorsIds']['includes'](_0x4c689e['id'])||_0x10002f['authorsIds']['push'](_0x4c689e['id']);}return _0x10002f;}['_loadRevisionData'](_0xf8e031){if(!_0xf8e031||_0xf8e031['diffData'])return Promise['resolve']();{const _0x3bbd82=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0x3bbd82,'revisionId':_0xf8e031['id']})['then'](_0x26f48a=>{_0xf8e031['diffData']=_0x26f48a['diffData'];});}}['_bufferUpdate'](_0x5a8cc8,_0x120222,_0x4d0ec4){if(this['_bufferedUpdates']['has'](_0x5a8cc8)){const _0x78f369=this['_bufferedUpdates']['get'](_0x5a8cc8);_0x120222=_0x4d0ec4?{..._0x78f369,..._0x120222}:{..._0x120222,..._0x78f369};}this['_bufferedUpdates']['set'](_0x5a8cc8,_0x120222);}['_getFromVersion'](_0x4510ae){const _0xd315e7=this['repository']['getRevisions']();_0xd315e7['reverse'](),_0xd315e7['shift']();const _0x4f07a5=_0xd315e7['find'](_0x185c4a=>_0x185c4a['toVersion']<=_0x4510ae)['toVersion'];return _0x4f07a5<this['_startingVersion']?this['_startingVersion']:_0x4f07a5;}['_createInitialRevision'](_0xec6957){const _0x676ea5=this['repository']['getRevision'](this['repository']['length']-0x1);if(_0x676ea5)this['_initialRevisionId']=_0x676ea5['id'];else{const _0x337bba=!this['editor']['model']['document']['roots']['find'](_0x578bcf=>this['editor']['model']['hasContent'](_0x578bcf)),_0x56970c=this['editor']['plugins']['get']('Users')['me']['id'],_0x50a0bd=y(this['editor']['locale'],_0x337bba?'Empty\x20document':'Initial\x20revision');this['_makeRevision']({'from':_0xec6957,'to':_0xec6957,'id':this['_initialRevisionId'],'name':_0x50a0bd,'creatorId':_0x56970c});}}['_createCurrentRevision'](_0x322f20){const _0x17605a=this['_source']['getCurrentRevisionId']();this['currentRevision']=this['repository']['getRevision'](_0x17605a),this['currentRevision']||(this['currentRevision']=this['_makeRevision']({'from':_0x322f20,'to':_0x322f20,'id':_0x17605a,'name':'','creatorId':null}));}['_makeRevision']({name:_0x10faea,from:_0x5f2444,to:_0x51b9bc,creatorId:_0x437b35,id:_0xe5726f}){const _0x1daa75=this['buildRevisionData']({'from':_0x5f2444,'to':_0x51b9bc});_0x1daa75['name']=_0x10faea,_0x1daa75['creatorId']=_0x437b35,_0x1daa75['id']=_0xe5726f;const _0x164450=this['addRevisionData'](_0x1daa75);return this['adapter']&&this['_bufferUpdate'](_0x1daa75['id'],_0x1daa75,!0x0),_0x164450;}['_setConversion'](){this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'});}['_removeRevisionMarkers'](_0x43a84c){return(_0x43a84c=_0x43a84c['filter'](_0xab1225=>!_0xab1225['name']||'revision-start'!==_0xab1225['name']&&'revision-end'!==_0xab1225['name']))['forEach'](_0x255cee=>{'string'!=typeof _0x255cee&&(_0x255cee['children']=this['_removeRevisionMarkers'](_0x255cee['children']),_0x255cee['attributes']=_0x255cee['attributes']['filter'](_0x4928ec=>!_0x4928ec[0x0]['startsWith']('data-revision-')));}),_0x43a84c;}}function B(_0x76020c,_0x204db3){const _0x4be529=_0x204db3['editing']['view']['document'];if('string'==typeof _0x76020c)return new _0x75ba4f(_0x4be529,_0x76020c);{const _0x20a4bb=_0x76020c['children']['map'](_0x2c6a18=>B(_0x2c6a18,_0x204db3));return new(T[_0x76020c['type']]||_0x37b0cc)(_0x4be529,_0x76020c['name'],_0x76020c['attributes'],_0x20a4bb);}}class J{['editor'];['source'];['_savedMetaData'];['_lastFrom'];['_lastTo'];['_markers'];['_diffRoots'];['_diffRootsAttributes'];['_baseRoots'];['_baseRootsAttributes'];['_idsRoots'];['_baseIdsRoots'];['_touched'];['_touchedMarkers'];['_touchedRoots'];['_revisionId'];['_startingRevisionId'];constructor(_0x554543){this['editor']=_0x554543,this['_savedMetaData']=new Map(),this['_lastFrom']=-0x1,this['_lastTo']=-0x1,this['_markers']=new Map(),this['_diffRoots']=new Map(),this['_diffRootsAttributes']=new Map(),this['_baseRoots']=new Map(),this['_baseRootsAttributes']=new Map(),this['_idsRoots']=new Map(),this['_baseIdsRoots']=new Map(),this['_touched']=new Map(),this['_touchedMarkers']=new Map(),this['_touchedRoots']=new Map(),this['_revisionId']=0x1;}['init'](_0x3506f5){this['source']=_0x3506f5;const _0x1793dd=new Map(),_0x97fa6e=new Map(),_0x2eb5ec=this['editor']['model']['document']['roots']['map'](_0x27c538=>_0x27c538['rootName']);for(const _0x5661ad of _0x2eb5ec){const _0x481993=this['editor']['model']['document']['getRoot'](_0x5661ad),_0x1dfaea=q(_0x481993);_0x1793dd['set'](_0x5661ad,_0x1dfaea),_0x97fa6e['set'](_0x5661ad,Object['fromEntries'](_0x481993['getAttributes']()));}const _0xca8231=Array['from'](this['editor']['model']['markers'])['map'](_0x4371ca=>[_0x4371ca['name'],_0x4371ca['getRange']()]),_0x45b915=this['source']['version'];this['_saveMetaData'](_0x45b915,_0x1793dd,_0xca8231,_0x97fa6e),this['_startingRevisionId']=this['_revisionId'];const _0x404278=new Map(),_0x91ba1e=new Map();for(const _0x3fecb9 of _0x2eb5ec){const _0x48e37e=G(_0x3fecb9);_0x404278['set'](_0x3fecb9,_0x48e37e),_0x91ba1e['set'](_0x3fecb9,{});}this['_saveMetaData'](Number['NEGATIVE_INFINITY'],_0x404278,[],_0x91ba1e);}['getData'](_0x1507e0,_0x510855){if(this['_lastFrom']===_0x1507e0&&this['_lastTo']<=_0x510855)this['_savedMetaData']['size']>0x1&&this['_removeMetaData'](this['_lastTo']),this['_applyOperations'](this['_lastTo'],_0x510855,!0x0);else{if(!this['_savedMetaData']['has'](_0x1507e0)){const _0x1b74db=this['_getPreviousFrom'](_0x1507e0);this['_calculateMetaData'](_0x1b74db,_0x1507e0,!0x1);}this['_calculateMetaData'](_0x1507e0,_0x510855,!0x0);}return this['_lastFrom']=_0x1507e0,this['_lastTo']=_0x510855,this['_getState']();}['loadState'](_0x389056){this['_reset'](),this['_lastFrom']=_0x389056['fromVersion'],this['_lastTo']=_0x389056['toVersion'];for(const _0x2a31f1 in _0x389056['diffData']){const _0x3a2ad2=_0x389056['diffData'][_0x2a31f1]['attachChange'],_0x2a8d9c=_0x5c50ea(_0x389056['diffData'][_0x2a31f1]['attributesBefore'])||{},_0x1e6eba=this['_makeModelFromViewString'](_0x389056['diffData'][_0x2a31f1]['deletions']);_0x1e6eba['rootName']=_0x2a31f1,_0x1e6eba['_isAttached']=!_0x3a2ad2||!_0x3a2ad2['isAttached'],_0x1e6eba['isAttached']=()=>_0x1e6eba['_isAttached'],this['_baseRoots']['set'](_0x2a31f1,_0x1e6eba),this['_baseRootsAttributes']['set'](_0x2a31f1,_0x2a8d9c),_0x3a2ad2&&this['_touchedRoots']['set'](_0x2a31f1,_0x3a2ad2);const _0x4859fe=this['_makeIdsRoot'](_0x1e6eba);this['_baseIdsRoots']['set'](_0x2a31f1,_0x4859fe);for(const [_0xfe95c,_0x2dd13f]of _0x1e6eba['markers']){if(!_0xfe95c['startsWith']('revision:'))continue;const _0x26a65a=_0xfe95c['split'](':')[0x2];for(const _0x5dc512 of _0x2dd13f['getWalker']({'singleCharacters':!0x0})){const _0x99d445=this['_getVidAttributeName'](_0x5dc512),_0x28d05f='elementEnd'==_0x5dc512['type']?_0x5dc512['previousPosition']['path']['slice'](0x0,-0x1):_0x5dc512['previousPosition']['path'],_0x364b1d=_0x4859fe['getNodeByPath'](_0x28d05f)['getAttribute'](_0x99d445);this['_touched']['set'](_0x364b1d,{'userId':_0x26a65a});}}}this['_startingRevisionId']=this['_revisionId'];const _0x1be91a=[...Array(this['_revisionId'])['keys']()]['slice'](0x1)['filter'](_0x28aab4=>!this['_touched']['has'](_0x28aab4));let _0x90c2cd=0x0;const _0x4f8913=new Map();for(const _0xe6790a in _0x389056['diffData']){const _0x4e7d00=_0x389056['diffData'][_0xe6790a]['attachChange'],_0x372271=_0x5c50ea(_0x389056['diffData'][_0xe6790a]['attributesAfter'])||{},_0x102d3a=this['_makeModelFromViewString'](_0x389056['diffData'][_0xe6790a]['insertions']);_0x102d3a['rootName']=_0xe6790a,_0x102d3a['_isAttached']=!_0x4e7d00||_0x4e7d00['isAttached'],_0x102d3a['isAttached']=()=>_0x102d3a['_isAttached'],this['_diffRoots']['set'](_0xe6790a,_0x102d3a),this['_diffRootsAttributes']['set'](_0xe6790a,_0x372271);const _0x5ba7a3=this['_makeIdsRoot'](_0x102d3a,Number['NEGATIVE_INFINITY']);this['_idsRoots']['set'](_0xe6790a,_0x5ba7a3),_0x4f8913['set'](_0xe6790a,_0x102d3a['isAttached']()?_0x372271:{});for(const [_0x2ef255,_0xc74245]of _0x102d3a['markers']){if(!_0x2ef255['startsWith']('revision:'))continue;const _0x290ed7=_0x2ef255['split'](':')[0x2];for(const _0x1b675a of _0xc74245['getWalker']({'singleCharacters':!0x0})){const _0x1f4651=this['_getVidAttributeName'](_0x1b675a),_0x2fdeab=this['_revisionId']++,_0x59f52e='elementEnd'==_0x1b675a['type']?_0x1b675a['previousPosition']['path']['slice'](0x0,-0x1):_0x1b675a['previousPosition']['path'];_0x5ba7a3['getNodeByPath'](_0x59f52e)['_setAttribute'](_0x1f4651,_0x2fdeab),this['_touched']['set'](_0x2fdeab,{'userId':_0x290ed7});}}for(const _0x1c141d of this['editor']['model']['createRangeIn'](_0x102d3a)['getWalker']({'singleCharacters':!0x0})){const _0x3743e8=this['_getVidAttributeName'](_0x1c141d),_0x5a7ef0='elementEnd'==_0x1c141d['type']?_0x1c141d['previousPosition']['path']['slice'](0x0,-0x1):_0x1c141d['previousPosition']['path'],_0x3a6769=_0x5ba7a3['getNodeByPath'](_0x5a7ef0);_0x3a6769['getAttribute'](_0x3743e8)>0x0||_0x3a6769['_setAttribute'](_0x3743e8,_0x1be91a[_0x90c2cd++]);}for(const [_0x1bbebd,_0x36704e]of _0x102d3a['markers'])_0x1bbebd['startsWith']('revision:')||this['_markers']['set'](_0x1bbebd,_0x36704e);}const _0x532cf3=G('$graveyard');this['_baseRoots']['set']('$graveyard',_0x532cf3),this['_baseIdsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x532cf3,0x1));const _0x340ed8=G('$graveyard');this['_diffRoots']['set']('$graveyard',_0x340ed8),this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x340ed8,0x1));const _0x227e1c=Array['from'](this['_diffRoots'])['map'](([_0xc0c268,_0x3196b3])=>[_0xc0c268,q(_0x3196b3)]);this['_saveMetaData'](this['_lastTo'],_0x227e1c,this['_markers'],_0x4f8913);}['_makeModelFromViewString'](_0x579344){const _0x216fb5=JSON['parse'](_0x579344),_0x1ad880=this['editor']['editing']['view']['document'],_0x55fdc9=new _0x68de1b(_0x1ad880,_0x216fb5['map'](_0x49af96=>B(_0x49af96,this['editor'])));return this['editor']['data']['toModel'](_0x55fdc9);}['_saveMetaData'](_0x5067e4,_0x44d061,_0x5e79c7,_0xe336a2){const _0x3be1de=new Map(_0x44d061),_0x426f7a=new Map(_0x5c50ea(_0xe336a2)),_0x2bf243=new Map();for(const [_0x3a1afb,_0x3359fe]of _0x5e79c7)_0x2bf243['set'](_0x3a1afb,{'start':_0x3359fe['start']['clone'](),'end':_0x3359fe['end']['clone'](),'rootName':_0x3359fe['root']['rootName']});this['_savedMetaData']['set'](_0x5067e4,{'roots':_0x3be1de,'markers':_0x2bf243,'rootsAttributes':_0x426f7a});}['_removeMetaData'](_0x4fdba3){this['_savedMetaData']['delete'](_0x4fdba3);}['reInit'](){this['_reset'](),this['_lastFrom']=-0x1,this['_lastTo']=-0x1,this['_savedMetaData']['clear'](),this['init'](this['source']);}['_reset'](){this['_touched']['clear'](),this['_touchedMarkers']['clear'](),this['_touchedRoots']['clear'](),this['_diffRoots']['clear'](),this['_diffRootsAttributes']['clear'](),this['_baseRoots']['clear'](),this['_baseRootsAttributes']['clear'](),this['_idsRoots']['clear'](),this['_baseIdsRoots']['clear'](),this['_markers']['clear'](),this['_revisionId']=0x1,this['_startingRevisionId']=this['_revisionId'];}['_makeIdsRoot'](_0x4948c5,_0x2e2b9b=null){let _0x54b171=null;_0x4948c5['is']('documentFragment')||(_0x54b171=new ft(_0x4948c5['name'],{'vid_start':null===_0x2e2b9b?this['_revisionId']++:_0x2e2b9b++}));const _0x4fa374=[];for(const _0x2d772b of _0x4948c5['getChildren']())if(_0x2d772b['is']('element')){_0x4fa374['push'](this['_makeIdsRoot'](_0x2d772b,_0x2e2b9b));const _0x2373bc=_0x4fa374[_0x4fa374['length']-0x1];null!==_0x2e2b9b&&(_0x2e2b9b=_0x2373bc['is']('element','$text')?_0x2373bc['getAttribute']('vid')+0x1:_0x2373bc['getAttribute']('vid_end')+0x1);}else{for(let _0x574dec=0x0;_0x574dec<_0x2d772b['offsetSize'];_0x574dec++)_0x4fa374['push'](new ft('$text',{'vid':null===_0x2e2b9b?this['_revisionId']++:_0x2e2b9b++}));}if(_0x4948c5['is']('documentFragment')){const _0x5bcfb4=G(_0x4948c5['rootName']);return _0x5bcfb4['_insertChild'](0x0,_0x4fa374),_0x5bcfb4;}return _0x54b171['_setAttribute']('vid_end',null===_0x2e2b9b?this['_revisionId']++:_0x2e2b9b++),_0x54b171['_insertChild'](0x0,_0x4fa374),_0x54b171;}['_calculateMetaData'](_0x1ab8b0,_0x32cc96,_0x47143d){this['_reset']();const {roots:_0x494a11,markers:_0x4bddb1,rootsAttributes:_0x3e4b11}=this['_savedMetaData']['get'](_0x1ab8b0);this['_baseRoots']=new Map(_0x494a11),this['_baseRootsAttributes']=new Map(_0x5c50ea(_0x3e4b11));for(const [_0x46e384,_0x1f9a49]of this['_baseRoots'])if('$graveyard'!==_0x46e384&&(this['_diffRoots']['set'](_0x46e384,q(_0x1f9a49)),this['_diffRootsAttributes']=new Map(_0x5c50ea(_0x3e4b11)),_0x47143d)){const _0x4d28d3=this['_revisionId'];this['_idsRoots']['set'](_0x46e384,this['_makeIdsRoot'](_0x1f9a49)),this['_baseIdsRoots']['set'](_0x46e384,this['_makeIdsRoot'](_0x1f9a49,_0x4d28d3));}this['_startingRevisionId']=this['_revisionId'],this['_diffRoots']['set']('$graveyard',q(this['_baseRoots']['get']('$graveyard'))),_0x47143d&&this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](this['_baseRoots']['get']('$graveyard')));for(const [_0x49acb3,_0xfbd10a]of _0x4bddb1){const _0x37ff2f=this['_baseRoots']['get'](_0xfbd10a['rootName']),_0x120766=this['_diffRoots']['get'](_0xfbd10a['rootName']),_0x2a480d=new vt(this['_fixPosition'](_0xfbd10a['start'],_0x37ff2f),this['_fixPosition'](_0xfbd10a['end'],_0x37ff2f)),_0x49e796=this['_fixRange'](_0x2a480d,_0x120766);_0x37ff2f['markers']['set'](_0x49acb3,_0x2a480d),this['_markers']['set'](_0x49acb3,_0x49e796);}this['_applyOperations'](_0x1ab8b0,_0x32cc96,_0x47143d);}['_applyOperations'](_0x31c845,_0x19db6b,_0x546b1e){for(const _0x20d9a2 of this['source']['getOperations'](_0x31c845,_0x19db6b))this['_handleOperation'](_0x20d9a2,_0x546b1e);for(const _0x3d5c76 of this['_diffRoots']['values']())_0x3d5c76['markers']['clear']();for(const [_0x2be2dc,_0x38ac6b]of this['_markers']){this['_diffRoots']['get'](_0x38ac6b['root']['rootName'])['markers']['set'](_0x2be2dc,_0x38ac6b['clone']());}const _0x4ae6ee=new Map(),_0x34899b=new Map();for(const [_0x57efa9,_0x330c52]of this['_diffRoots'])_0x4ae6ee['set'](_0x57efa9,q(_0x330c52)),_0x34899b['set'](_0x57efa9,this['_diffRootsAttributes']['get'](_0x57efa9));this['_saveMetaData'](_0x19db6b,_0x4ae6ee,this['_markers'],_0x34899b);}['_getPreviousFrom'](_0x16101d){const _0x3b4b21=Array['from'](this['_savedMetaData']['keys']());_0x3b4b21['sort']((_0x2f7b14,_0x334ae0)=>_0x2f7b14-_0x334ae0),_0x3b4b21['reverse']();for(const _0x458dec of _0x3b4b21)if(_0x458dec<_0x16101d)return _0x458dec;return Number['NEGATIVE_INFINITY'];}['_copyMarkers'](_0x273014,_0x55ddb8){const _0x3d1227=Array['from'](_0x55ddb8['markers'])['map'](([_0x2dd5c5,_0x3d9541])=>[_0x2dd5c5,this['_fixRange'](_0x3d9541,_0x273014)]);_0x273014['markers']=new Map(_0x3d1227);}['_transformMarkers'](_0x34e5ff){for(const _0x2f73c0 of this['_markers']['values']()){const _0xbc58f6=_0x2f73c0['getTransformedByOperation'](_0x34e5ff),_0x7ae5ab=vt['_createFromRanges'](_0xbc58f6);_0x2f73c0['start']=_0x7ae5ab['start'],_0x2f73c0['end']=_0x7ae5ab['end'];}}['_handleOperation'](_0x32ae82,_0x3a6d31){if('addRoot'==_0x32ae82['type']||'detachRoot'==_0x32ae82['type'])return void this['_handleRootOperation'](_0x32ae82,_0x3a6d31);if('insert'==_0x32ae82['type']){const _0x2bcc77=_0x32ae82['position']['root']['rootName'];this['_diffRoots']['has'](_0x2bcc77)||(this['_diffRoots']['set'](_0x2bcc77,G(_0x2bcc77,!0x0)),this['_diffRootsAttributes']['set'](_0x2bcc77,{}),_0x3a6d31&&this['_idsRoots']['set'](_0x2bcc77,G(_0x2bcc77,!0x0)));}else{if('addRootAttribute'==_0x32ae82['type']||'removeRootAttribute'==_0x32ae82['type']||'changeRootAttribute'==_0x32ae82['type'])return void this['_handleRootAttributeOperation'](_0x32ae82);}const _0x42f649=this['_cloneOperation'](_0x32ae82,this['_diffRoots']);if('marker'!==_0x32ae82['type']&&(_0x42f649['_execute'](),this['_transformMarkers'](_0x42f649)),_0x3a6d31)switch(_0x42f649['type']){case'insert':this['_handleInsertOperation'](_0x32ae82);break;case'move':case'remove':case'reinsert':this['_handleMoveOperation'](_0x32ae82);break;case'merge':this['_handleMergeOperation'](_0x32ae82);break;case'split':this['_handleSplitOperation'](_0x32ae82);break;case'marker':this['_handleMarkerOperation'](_0x32ae82);}}['_cloneOperation'](_0x255822,_0x37a92a){const _0x493bcb=_0x255822['clone']();return _0x493bcb['_authorId']=_0x255822['_authorId'],this['_fixOperation'](_0x493bcb,_0x37a92a),_0x493bcb;}['_getBaseVids'](_0x3efa08){return _0x3efa08['map'](_0x58488c=>{const _0x181857=this['_getVidAttributeName'](_0x58488c);return Number(_0x58488c['item']['getAttribute'](_0x181857));});}['_generateTape'](_0x28c0ff,_0x46cd82){if(_0x28c0ff['is']('element','$text'))_0x46cd82['push']({'item':_0x28c0ff,'type':'text'});else{_0x28c0ff['is']('element')&&_0x46cd82['push']({'item':_0x28c0ff,'type':'elementStart'});for(const _0x35a435 of _0x28c0ff['getChildren']())this['_generateTape'](_0x35a435,_0x46cd82);_0x28c0ff['is']('element')&&_0x46cd82['push']({'item':_0x28c0ff,'type':'elementEnd'});}return _0x46cd82;}['_getState'](){const _0x2d1685=new Map(this['_touched']),_0x55356a=new Map(_0x2d1685),_0x4329d3=new Map(),_0x3f2ef6={'insertions':{},'deletions':{}},_0x2a1fa9={'insertions':{},'deletions':{}},_0x41ca20=new Map(),_0x1b9d51=new Set([...this['_baseRoots']['keys'](),...this['_diffRoots']['keys']()]);_0x1b9d51['delete']('$graveyard');for(const _0x313180 of _0x1b9d51){const _0x551298=this['_diffRoots']['get'](_0x313180)||G(_0x313180,!0x1),_0x453a48=this['_baseRoots']['get'](_0x313180)||G(_0x313180,!0x1);_0x551298['isAttached']()||_0x453a48['isAttached']()?(_0x3f2ef6['insertions'][_0x313180]=q(_0x551298),_0x3f2ef6['deletions'][_0x313180]=q(_0x453a48),this['_copyMarkers'](_0x3f2ef6['deletions'][_0x313180],_0x453a48),this['_copyMarkers'](_0x3f2ef6['insertions'][_0x313180],_0x551298),_0x2a1fa9['insertions'][_0x313180]=this['_generateTape'](this['_idsRoots']['get'](_0x313180),[]),_0x2a1fa9['deletions'][_0x313180]=this['_generateTape'](this['_baseIdsRoots']['get'](_0x313180)||G(_0x313180,!0x1),[])):_0x1b9d51['delete'](_0x313180);}for(const _0x335d3f of _0x1b9d51){const _0x32381d=_0x2a1fa9['insertions'][_0x335d3f];for(const _0x179a6d of _0x32381d){const _0x269198=this['_getVidAttributeName'](_0x179a6d),_0x4527fb=_0x179a6d['item']['getAttribute'](_0x269198);_0x55356a['delete'](_0x4527fb),_0x4527fb>=this['_startingRevisionId']&&_0x4329d3['set'](_0x4527fb,_0x2d1685['get'](_0x4527fb));}}for(const _0x24a72a of _0x1b9d51){const _0x50b6c0=_0x2a1fa9['insertions'][_0x24a72a],_0x52fe9c=this['_getBaseVids'](_0x2a1fa9['deletions'][_0x24a72a]);let _0x55cc42=0x0;for(const _0x4a9d24 of _0x50b6c0){const _0x50cfa6=this['_getVidAttributeName'](_0x4a9d24),_0x3e7959=_0x4a9d24['item']['getAttribute'](_0x50cfa6);if(!_0x4329d3['has'](_0x3e7959)&&!_0x41ca20['has'](_0x3e7959)){if(_0x55356a['has'](_0x3e7959))_0x55cc42++;else{if(_0x3e7959!=_0x52fe9c[_0x55cc42]){const _0x250c1b=_0x2d1685['get'](_0x3e7959)||_0x2d1685['get'](_0x52fe9c[_0x55cc42]);for(;_0x3e7959!=_0x52fe9c[_0x55cc42];)_0x55356a['has'](_0x52fe9c[_0x55cc42])||(_0x41ca20['set'](_0x52fe9c[_0x55cc42],_0x250c1b),_0x2d1685['set'](_0x52fe9c[_0x55cc42],_0x250c1b)),_0x55cc42++;}_0x55cc42++;}}}}for(const _0x861725 of _0x1b9d51){const _0x35e385=_0x2a1fa9['insertions'][_0x861725];for(const _0x235bc9 of _0x35e385){const _0xe8021d=this['_getVidAttributeName'](_0x235bc9),_0x5e24af=_0x235bc9['item']['getAttribute'](_0xe8021d);if(_0x41ca20['has'](_0x5e24af)){const _0x20f3ae=_0x41ca20['get'](_0x5e24af);_0x55356a['has'](_0x5e24af)||_0x55356a['set'](_0x5e24af,{..._0x20f3ae}),_0x4329d3['set'](_0x5e24af,{..._0x20f3ae});}}}for(const _0x49f06f of _0x55356a['keys']())_0x49f06f>=this['_startingRevisionId']&&_0x55356a['delete'](_0x49f06f);const _0x3e1176=new Map();for(const _0x2dde51 of _0x1b9d51){let _0x44927c=_0x2a1fa9['insertions'][_0x2dde51];for(const _0x29be1f of _0x44927c)if(_0x29be1f['item']['is']('element','tableCell')){const _0x5c0c7a=this['_getVidAttributeName'](_0x29be1f),_0x5cb439=_0x29be1f['item']['getAttribute'](_0x5c0c7a);if(_0x4329d3['has'](_0x5cb439)){const _0x55e0c8=_0x29be1f['item']['parent']['parent']['getAttribute']('vid_start'),_0x162792=_0x3e1176['get'](_0x55e0c8)||new Set();_0x162792['add'](_0x4329d3['get'](_0x5cb439)['userId']),_0x3e1176['set'](_0x55e0c8,_0x162792);}}_0x44927c=_0x2a1fa9['deletions'][_0x2dde51];for(const _0x2761e1 of _0x44927c)if(_0x2761e1['item']['is']('element','tableCell')){const _0x227cbb=this['_getVidAttributeName'](_0x2761e1),_0x23949b=_0x2761e1['item']['getAttribute'](_0x227cbb);if(_0x55356a['has'](_0x23949b)){const _0x1b5ce8=_0x2761e1['item']['parent']['parent']['getAttribute']('vid_start'),_0x43735c=_0x3e1176['get'](_0x1b5ce8)||new Set();_0x43735c['add'](_0x55356a['get'](_0x23949b)['userId']),_0x3e1176['set'](_0x1b5ce8,_0x43735c);}}for(const _0x8cdecf of _0x3e1176['keys']())(_0x4329d3['has'](_0x8cdecf)||_0x55356a['has'](_0x8cdecf))&&_0x3e1176['delete'](_0x8cdecf);}for(const _0x55c4f2 of _0x1b9d51){const _0x108771=_0x2a1fa9['insertions'][_0x55c4f2];let _0x5f5736=null,_0xaa9d10=null;for(const _0x14b976 of _0x108771){const _0x2f421f=this['_getVidAttributeName'](_0x14b976),_0x4c82c9=_0x14b976['item']['getAttribute'](_0x2f421f),_0x41965e=_0x3e1176['get'](_0x4c82c9);_0x41965e&&'elementStart'==_0x14b976['type']&&(_0x5f5736=Array['from'](_0x41965e)[0x0],_0xaa9d10=_0x14b976['item']['getAttribute']('vid_end')),_0x5f5736&&(_0x55356a['set'](_0x4c82c9,{'userId':_0x5f5736}),_0x4329d3['set'](_0x4c82c9,{'userId':_0x5f5736})),_0x4c82c9==_0xaa9d10&&(_0x5f5736=null,_0xaa9d10=null);}}const _0xb0d3b6={},_0x7af7af=new Set();for(const _0x5500b7 of _0x1b9d51){const _0x111268=_0x3f2ef6['deletions'][_0x5500b7],_0x14d4b0=_0x3f2ef6['insertions'][_0x5500b7];for(const {userId:_0x39ee20}of this['_touchedMarkers']['values']())null!==_0x39ee20&&_0x7af7af['add'](_0x39ee20);for(const {userId:_0x246e88}of this['_touchedRoots']['values']())null!==_0x246e88&&_0x7af7af['add'](_0x246e88);this['_markChanges'](_0x14d4b0,_0x2a1fa9['insertions'][_0x5500b7],_0x4329d3,'insertion',_0x7af7af),this['_markChanges'](_0x111268,_0x2a1fa9['deletions'][_0x5500b7],_0x55356a,'deletion',_0x7af7af),_0xb0d3b6[_0x5500b7]={'insertions':this['_prepareViewToSave'](_0x14d4b0),'deletions':this['_prepareViewToSave'](_0x111268),'attachChange':this['_touchedRoots']['get'](_0x5500b7)||null,'attributesBefore':_0x5c50ea(this['_baseRootsAttributes']['get'](_0x5500b7))||{},'attributesAfter':_0x5c50ea(this['_diffRootsAttributes']['get'](_0x5500b7))};}return{'diffData':_0xb0d3b6,'authorsIds':Array['from'](_0x7af7af)};}['_processRootBeforeSave'](_0xa0eb9c){for(const [,_0x234487]of _0xa0eb9c['markers']){const _0x898fa6=_0x234487['start']['getAncestors']()['filter'](_0x44dc34=>'tableCell'==_0x44dc34['name']);for(const _0x2ef597 of _0x898fa6)0x1==_0x2ef597['childCount']&&_0x2ef597['getChild'](0x0)['is']('element','paragraph')&&_0x2ef597['getChild'](0x0)['_setAttribute']('keepParagraph',!0x0);}}['_prepareViewToSave'](_0x394f31){this['_processRootBeforeSave'](_0x394f31);const _0x249ade=this['editor']['data']['toView'](_0x394f31,{}),_0x5843dc=Array['from'](_0x249ade['getChildren']())['map'](_0x558c90=>this['_getViewJson'](_0x558c90));return JSON['stringify'](_0x5843dc);}['_getViewJson'](_0x24d7a1){if(_0x24d7a1['is']('$text'))return _0x24d7a1['data'];{const _0x2e6bb9=_0x24d7a1;return{'type':Object['keys'](T)['find'](_0x107320=>_0x24d7a1 instanceof T[_0x107320]),'name':_0x2e6bb9['name'],'attributes':Array['from'](_0x2e6bb9['getAttributes']()),'children':Array['from'](_0x2e6bb9['getChildren']())['map'](_0x37b8fc=>this['_getViewJson'](_0x37b8fc))};}}['_markChanges'](_0x213f9b,_0x2491a7,_0x8af9d,_0x4d434d,_0x1f127f){let _0x414992=null,_0x362233=null,_0x384bde=0x0;const _0x3e9ca1=this['editor']['model'];for(let _0x112db2=0x0;_0x112db2<_0x2491a7['length'];_0x112db2++){const _0x240afa=this['_getVidAttributeName'](_0x2491a7[_0x112db2]),_0x30ecb9=_0x2491a7[_0x112db2]['item']['getAttribute'](_0x240afa),_0x3a9c72=_0x8af9d['get'](_0x30ecb9),_0x47c6fb=_0x112db2==_0x2491a7['length']-0x1;(!_0x414992&&_0x3a9c72&&(_0x414992=_0x3a9c72,_0x362233=_0x2491a7[_0x112db2]),_0x414992&&(!_0x3a9c72||_0x3a9c72['userId']!=_0x414992['userId']))&&(_0x325a79(_0x3a9c72,L(_0x362233,_0x213f9b,_0x3e9ca1),L(_0x2491a7[_0x112db2],_0x213f9b,_0x3e9ca1)),_0x414992=_0x3a9c72||null,_0x362233=_0x3a9c72?_0x2491a7[_0x112db2]:null),_0x414992&&_0x47c6fb&&_0x325a79(_0x3a9c72,L(_0x362233,_0x213f9b,_0x3e9ca1),W(_0x2491a7[_0x112db2],_0x213f9b,_0x3e9ca1));}function _0x325a79(_0x8ec7bb,_0x164e6e,_0x346d60){const _0xfd9bcd=_0x414992['userId'],_0x413b02='revision:'+_0x4d434d+':'+_0xfd9bcd+':'+_0x384bde++,_0x3c6877=_0x3e9ca1['createRange'](_0x164e6e,_0x346d60);_0x213f9b['markers']['set'](_0x413b02,_0x3c6877),null!==_0xfd9bcd&&_0x1f127f['add'](_0xfd9bcd);}}['_getVidAttributeName'](_0x355cc3){switch(_0x355cc3['type']){case'elementStart':return'vid_start';case'elementEnd':return'vid_end';default:return'vid';}}['_fixOperation'](_0x5d9289,_0x7df4d8){_0x5d9289['baseVersion']=null;for(const _0x1ca6c7 in _0x5d9289){const _0x5cc7bb=_0x5d9289[_0x1ca6c7];if(_0x5cc7bb instanceof gt){const _0x140610=_0x7df4d8['get'](_0x5cc7bb['root']['rootName']);_0x5d9289[_0x1ca6c7]=this['_fixPosition'](_0x5cc7bb,_0x140610);}if(_0x5cc7bb instanceof vt){const _0x245c54=_0x7df4d8['get'](_0x5cc7bb['root']['rootName']);_0x5d9289[_0x1ca6c7]=this['_fixRange'](_0x5cc7bb,_0x245c54);}'root'===_0x1ca6c7&&(_0x5d9289['root']=_0x7df4d8['get'](_0x5d9289['root']['rootName']));}}['_fixRange'](_0x41ad1e,_0x1c4d51){return this['editor']['model']['createRange'](this['_fixPosition'](_0x41ad1e['start'],_0x1c4d51),this['_fixPosition'](_0x41ad1e['end'],_0x1c4d51));}['_fixPosition'](_0x494e11,_0x2dc298){return this['editor']['model']['createPositionFromPath'](_0x2dc298,_0x494e11['path'],_0x494e11['stickiness']);}['_handleInsertOperation'](_0x5cf333){const _0x5e32e6=this['_idsRoots']['get'](_0x5cf333['position']['root']['rootName']),_0x588ac8=this['_fixPosition'](_0x5cf333['position'],_0x5e32e6),_0x2e5fea=null===_0x5cf333['_authorId']?null:_0x5cf333['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x51f951=_0x588ac8['parent'],_0xc40b66=this['_revisionId'],_0x292728=[];for(const _0x360466 of _0x5cf333['nodes'])if(_0x360466['is']('element'))_0x292728['push'](this['_makeIdsRoot'](_0x360466));else{for(let _0x25d90e=0x0;_0x25d90e<_0x360466['offsetSize'];_0x25d90e++)_0x292728['push'](new ft('$text',{'vid':this['_revisionId']++}));}const _0xe1e1fe=this['_revisionId'];for(let _0x4a7db3=_0xc40b66;_0x4a7db3<_0xe1e1fe;_0x4a7db3++)this['_touched']['set'](_0x4a7db3,{'userId':_0x2e5fea});_0x51f951['_insertChild'](_0x588ac8['offset'],_0x292728);}['_handleMoveOperation'](_0x19ff7c){(_0x19ff7c=this['_cloneOperation'](_0x19ff7c,this['_idsRoots']))['_execute']();const _0x4db43d=null===_0x19ff7c['_authorId']?null:_0x19ff7c['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x3942c3=_0x19ff7c['getMovedRangeStart'](),_0x44b13e=_0x3942c3['parent'],_0x3d4e31=_0x3942c3['offset'];!function _0x25960f(_0x3efdb9,_0x2108b3,_0x46809e,_0x2969ce){for(let _0x1b8f20=_0x46809e;_0x1b8f20<_0x2969ce;_0x1b8f20++){const _0x56d12e=_0x2108b3['getChild'](_0x1b8f20);_0x56d12e['is']('element','$text')?_0x3efdb9['set'](_0x56d12e['getAttribute']('vid'),{'userId':_0x4db43d}):(_0x3efdb9['set'](_0x56d12e['getAttribute']('vid_start'),{'userId':_0x4db43d}),_0x25960f(_0x3efdb9,_0x56d12e,0x0,_0x56d12e['childCount']),_0x3efdb9['set'](_0x56d12e['getAttribute']('vid_end'),{'userId':_0x4db43d}));}}(this['_touched'],_0x44b13e,_0x3d4e31,_0x3d4e31+_0x19ff7c['howMany']);}['_handleMergeOperation'](_0xc1114b){const _0x3c4daa=null===(_0xc1114b=this['_cloneOperation'](_0xc1114b,this['_idsRoots']))['_authorId']?null:_0xc1114b['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x21d51a=_0xc1114b['targetPosition']['parent'],_0x4a4803=_0xc1114b['sourcePosition']['parent'],_0x2b434a=_0x21d51a['getAttribute']('vid_end'),_0x90124f=_0x4a4803['getAttribute']('vid_start');_0x21d51a['_setAttribute']('vid_end',_0x4a4803['getAttribute']('vid_end')),_0x4a4803['_setAttribute']('vid_end',_0x2b434a),this['_touched']['set'](_0x90124f,{'userId':_0x3c4daa}),this['_touched']['set'](_0x2b434a,{'userId':_0x3c4daa}),_0xc1114b['_execute']();}['_handleSplitOperation'](_0x1f9179){const _0x306c66=null===(_0x1f9179=this['_cloneOperation'](_0x1f9179,this['_idsRoots']))['_authorId']?null:_0x1f9179['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x4055e5=_0x1f9179['graveyardPosition'],_0x9abece=_0x1f9179['splitPosition']['parent'];_0x1f9179['_execute']();const _0x1c92f7=_0x9abece['getAttribute']('vid_end'),_0x323078=_0x1f9179['insertionPosition']['nodeAfter'];if(_0x4055e5){const _0x260165=_0x323078['getAttribute']('vid_end'),_0x366350=_0x9abece['getAttribute']('vid_end');_0x9abece['_setAttribute']('vid_end',_0x260165),_0x323078['_setAttribute']('vid_end',_0x366350),this['_touched']['set'](_0x9abece['getAttribute']('vid_end'),{'userId':_0x306c66}),this['_touched']['set'](_0x323078['getAttribute']('vid_start'),{'userId':_0x306c66});}else{const _0x57e3e2=this['_revisionId']++,_0x678f3d=this['_revisionId']++;_0x9abece['_setAttribute']('vid_end',_0x57e3e2),_0x323078['_setAttribute']('vid_start',_0x678f3d),_0x323078['_setAttribute']('vid_end',_0x1c92f7),this['_touched']['set'](_0x57e3e2,{'userId':_0x306c66}),this['_touched']['set'](_0x678f3d,{'userId':_0x306c66});}}['_handleMarkerOperation'](_0x414193){if(!_0x414193['affectsData'])return;const _0x5145cf=(_0x414193=this['_cloneOperation'](_0x414193,this['_diffRoots']))['oldRange']?_0x414193['oldRange']['root']:null,_0x45f09a=_0x414193['newRange']?_0x414193['newRange']['root']:null;_0x5145cf&&this['_markers']['delete'](_0x414193['name']),_0x45f09a&&this['_markers']['set'](_0x414193['name'],_0x414193['newRange']['clone']());const _0x4626f7=null===_0x414193['_authorId']?null:_0x414193['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x217b4f=_0x414193['name'];if(!this['_touchedMarkers']['has'](_0x217b4f))return void this['_touchedMarkers']['set'](_0x217b4f,{'range':_0x414193['oldRange'],'userId':_0x4626f7});const _0xad81fd=this['_touchedMarkers']['get'](_0x217b4f),_0x38c4b9=_0xad81fd['range'],_0x2602bd=_0x414193['newRange'];null==_0x38c4b9&&null==_0x2602bd||_0x38c4b9&&_0x2602bd&&_0x38c4b9['isEqual'](_0x2602bd)?this['_touchedMarkers']['delete'](_0x414193['name']):_0xad81fd['userId']=_0x4626f7;}['_handleRootOperation'](_0x16748e,_0x413bcc){this['_diffRoots']['has'](_0x16748e['rootName'])?this['_diffRoots']['get'](_0x16748e['rootName'])['_isAttached']=_0x16748e['isAdd']:(this['_diffRoots']['set'](_0x16748e['rootName'],G(_0x16748e['rootName'],!0x0)),this['_diffRootsAttributes']['set'](_0x16748e['rootName'],{}),_0x413bcc&&this['_idsRoots']['set'](_0x16748e['rootName'],G(_0x16748e['rootName'],!0x0)));const _0x326c33=null===_0x16748e['_authorId']?null:_0x16748e['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x4f47e4=this['_touchedRoots']['get'](_0x16748e['rootName']);_0x4f47e4&&_0x4f47e4['userId']===_0x326c33?this['_touchedRoots']['delete'](_0x16748e['rootName']):this['_touchedRoots']['set'](_0x16748e['rootName'],{'userId':_0x326c33,'isAttached':_0x16748e['isAdd']});}['_handleRootAttributeOperation'](_0x43156d){const _0xdde4ca=this['_diffRootsAttributes']['get'](_0x43156d['root']['rootName']);null===_0x43156d['newValue']?delete _0xdde4ca[_0x43156d['key']]:_0xdde4ca[_0x43156d['key']]=_0x43156d['newValue'];}}function q(_0x226f14){const _0xbf1d9a=G(_0x226f14['rootName'],_0x226f14['isAttached']());for(const _0x425ae6 of _0x226f14['getChildren']()){const _0x5ca6c4=_0x425ae6['_clone'](!0x0);_0xbf1d9a['_appendChild'](_0x5ca6c4);}return _0xbf1d9a;}function G(_0x4b348b,_0x1a60c2=!0x0){const _0x3eab18=new wt();return _0x3eab18['rootName']=_0x4b348b,_0x3eab18['_isAttached']=_0x1a60c2,_0x3eab18['isAttached']=()=>_0x3eab18['_isAttached'],_0x3eab18;}function L(_0xc89627,_0x75bd7a,_0x22b67d){const _0x445435='elementEnd'==_0xc89627['type']?_0x22b67d['createPositionAt'](_0xc89627['item'],'end'):_0x22b67d['createPositionBefore'](_0xc89627['item']);return _0x22b67d['createPositionFromPath'](_0x75bd7a,_0x445435['path'],_0x445435['stickiness']);}function W(_0x2046ca,_0x5a8d6f,_0x6190f5){const _0x18eaef='elementStart'==_0x2046ca['type']?_0x6190f5['createPositionAt'](_0x2046ca['item'],0x0):_0x6190f5['createPositionAfter'](_0x2046ca['item']);return _0x6190f5['createPositionFromPath'](_0x5a8d6f,_0x18eaef['path'],_0x18eaef['stickiness']);}class ns extends _0x5804aa{['focusTracker'];['keystrokes'];['revisionNameInputView'];constructor(_0x18e5dd,_0x504420){super(_0x18e5dd),this['focusTracker']=new _0x4e8013(),this['keystrokes']=new _0x528809(),this['set']('revisionNameInputValue',''),this['revisionNameInputView']=this['_createRevisionNameInput'](_0x504420),this['setTemplate']({'tag':'form','attributes':{'class':['ck','ck-revision-history-save-revision-form','ck-responsive-form'],'tabindex':'-1'},'children':[this['revisionNameInputView']]}),ts(this);}['render'](){super['render'](),_0x2feea4({'view':this}),this['focusTracker']['add'](this['revisionNameInputView']['element']),this['keystrokes']['listenTo'](this['element']);const _0x52965b=_0x403eb7=>_0x403eb7['stopPropagation']();this['keystrokes']['set']('arrowright',_0x52965b),this['keystrokes']['set']('arrowleft',_0x52965b),this['keystrokes']['set']('arrowup',_0x52965b),this['keystrokes']['set']('arrowdown',_0x52965b);}['focus'](){this['revisionNameInputView']['focus']();}get['revisionName'](){return this['revisionNameInputView']['fieldView']['element']['value']['trim']();}set['revisionName'](_0x2903e0){this['revisionNameInputView']['fieldView']['element']['value']=_0x2903e0['trim']();}['reset'](){this['revisionNameInputView']['fieldView']['element']['value']='',this['revisionNameInputView']['errorText']=null;}['_createRevisionNameInput'](_0x42f1e8){const _0x20c2b2=new at(this['locale'],_0x3b77d0),_0x1b7bf8=_0x20c2b2['fieldView'];_0x1b7bf8['extendTemplate']({'attributes':{'maxlength':'220'}});let _0x2e081f=y(this['locale'],'Name\x20of\x20the\x20revision');return!_0x42f1e8&&(_0x2e081f+='\x20('+y(this['locale'],'optional')+')'),(_0x20c2b2['label']=_0x2e081f,_0x1b7bf8['on']('input',()=>{this['revisionNameInputValue']=_0x1b7bf8['element']['value']['trim']();}),_0x20c2b2);}}class u extends _0x3bc8af{static get['pluginName'](){return'RevisionHistoryUI';}static get['requires'](){return[l];}['_saveRevisionFormView'];['init'](){const _0x5350bf=this['editor'],_0x5499e1=_0x5350bf['plugins']['get']('RevisionTracker');_0x5350bf['ui']['componentFactory']['add']('revisionHistory',_0x476f49=>{const _0x305527=_0x54d2f5(_0x476f49),_0x515fe0=_0x305527['panelView']['children'],_0x1978d7=new te(_0x476f49),_0x20a179=new _0x3895a4(_0x476f49),_0x1e4e65=new _0xa1287(_0x476f49),_0x1a14dd=new _0x3895a4(_0x476f49),_0x7668cc=new _0xa1287(_0x476f49);return _0x305527['bind']('isEnabled')['to'](_0x5499e1,'isReady',_0x5499e1,'isEnabled',_0x5350bf,'isReadOnly',(_0x20ef9a,_0x510b16,_0x437375)=>_0x20ef9a&&_0x510b16&&!_0x437375),_0x305527['buttonView']['set']({'icon':_0x18e07b['history'],'label':y(_0x476f49,'Revision\x20history'),'tooltip':!0x0}),_0x1e4e65['set']({'label':y(_0x476f49,'Save\x20current\x20revision'),'withText':!0x0,'role':'menuitem'}),_0x1e4e65['bind']('isEnabled')['to'](_0x5499e1,'isReady',_0x5499e1,'isEnabled',_0x5350bf,'isReadOnly',(_0x4ff59f,_0x353d72,_0x202053)=>_0x4ff59f&&_0x353d72&&!_0x202053),_0x1e4e65['on']('execute',()=>this['_showDialog']()),_0x7668cc['set']({'label':y(_0x476f49,'Open\x20revision\x20history'),'withText':!0x0,'role':'menuitem'}),_0x7668cc['bind']('isEnabled')['to'](_0x5499e1,'isReady',_0x5350bf,'isReadOnly',(_0x58dc7b,_0x1f277c)=>_0x58dc7b&&!_0x1f277c),_0x7668cc['on']('execute',()=>{_0x5350bf['config']['get']('revisionHistory')['showRevisionViewerCallback'](),_0x305527['isOpen']=!0x1,_0x5350bf['editing']['view']['focus']();}),_0x20a179['children']['add'](_0x1e4e65),_0x1a14dd['children']['add'](_0x7668cc),_0x1978d7['role']='menu',_0x1978d7['items']['addMany']([_0x20a179,_0x1a14dd]),_0x515fe0['add'](_0x1978d7),_0x305527;}),_0x5350bf['ui']['componentFactory']['add']('menuBar:revisionHistory',()=>this['_registerMenuComponent']());}['_registerMenuComponent'](){const _0x4863aa=this['editor'],_0x11fc81=_0x4863aa['locale'],_0x5c5d08=new _0x4dd2ae(_0x11fc81),_0x3547ab=new _0xbf31bd(_0x11fc81);_0x5c5d08['buttonView']['set']({'icon':_0x18e07b['history'],'label':y(_0x11fc81,'Revision\x20history')});const _0x25ce92=new _0x2e9e0a(_0x11fc81,_0x5c5d08),_0x4921f8=new _0x511fd0(_0x11fc81);_0x4921f8['set']({'label':y(_0x11fc81,'Save\x20current\x20revision')}),_0x4921f8['delegate']('execute')['to'](_0x5c5d08),_0x4921f8['on']('execute',()=>{this['_showDialog']();}),_0x25ce92['children']['add'](_0x4921f8),_0x3547ab['items']['add'](_0x25ce92);const _0x537a92=new _0x2e9e0a(_0x11fc81,_0x5c5d08),_0x12d37c=new _0x511fd0(_0x11fc81);return _0x12d37c['set']({'label':y(_0x11fc81,'Open\x20revision\x20history')}),_0x12d37c['delegate']('execute')['to'](_0x5c5d08),_0x12d37c['on']('execute',()=>{_0x4863aa['config']['get']('revisionHistory')['showRevisionViewerCallback']();}),_0x537a92['children']['add'](_0x12d37c),_0x3547ab['items']['add'](_0x537a92),_0x5c5d08['panelView']['children']['add'](_0x3547ab),_0x5c5d08;}['_showDialog'](){const _0x4e111f=this['editor'],_0x595c47=_0x4e111f['locale'],t=_0x595c47['t'],_0x166b86=_0x4e111f['plugins']['get']('Dialog'),_0x317764=_0x4e111f['plugins']['get']('RevisionTracker');function _0x307ef0(_0x5544dd){_0x4e111f['config']['get']('revisionHistory.requireRevisionName')&&''===_0x5544dd['revisionName']?_0x5544dd['revisionNameInputView']['errorText']=y(_0x595c47,'The\x20revision\x20name\x20cannot\x20be\x20empty.'):(_0x4e111f['plugins']['get'](l)['saveRevision']({'name':_0x5544dd['revisionName']}),_0x166b86['hide']());}this['_saveRevisionFormView']||(this['_createSaveRevisionFormView'](),this['_saveRevisionFormView']['on']('submit',()=>_0x307ef0(this['_saveRevisionFormView']))),this['_saveRevisionFormView']['reset'](),_0x166b86['show']({'id':'revisionSave','title':y(_0x595c47,'Save\x20current\x20revision'),'isModal':!0x0,'content':this['_saveRevisionFormView'],'actionButtons':[{'label':t('Cancel'),'withText':!0x0,'onExecute':()=>_0x166b86['hide']()},{'label':t('Accept'),'class':'ck-button-action','withText':!0x0,'onCreate'(_0x3e20ac){_0x3e20ac['bind']('isEnabled')['to'](_0x317764,'isReady',_0x317764,'isEnabled',_0x4e111f,'isReadOnly',(_0x4a1c25,_0x36a9fc,_0x33aa18)=>_0x4a1c25&&_0x36a9fc&&!_0x33aa18);},'onExecute':()=>_0x307ef0(this['_saveRevisionFormView'])}]});}['_createSaveRevisionFormView'](){const _0x52b24e=this['editor'],_0x2bf9a7=_0x52b24e['locale'];this['_saveRevisionFormView']=new ns(_0x2bf9a7,_0x52b24e['config']['get']('revisionHistory.requireRevisionName')),this['_saveRevisionFormView']['render']();}}class Z extends _0x5804aa{['changeId'];['_model'];constructor(_0xcee0fa,_0x54a308){super(_0xcee0fa),this['_model']=_0x54a308,this['changeId']=_0x54a308['id'];const _0x4a14a5=this['bindTemplate'],_0x2dcbc7=y(_0xcee0fa,_0x54a308['data']['isSuggestion']?'Suggested\x20by':'add'==_0x54a308['type']?'Added\x20by':'Removed\x20by');this['set']('type',_0x54a308['type']),this['setTemplate']({'tag':'div','attributes':{'class':['ck-annotation','ck-revision-change',_0x4a14a5['to']('type',_0x49e2fc=>'ck-revision-change__'+_0x49e2fc)],'tabindex':-0x1},'children':[{'tag':'span','children':[{'tag':'span','attributes':{'class':['ck-revision-change__label']},'children':[{'text':_0x2dcbc7}]},{'text':'\x20'+_0x54a308['author']['name']}]}]});}['focus'](){this['element']['focus']();}}class r extends/* #__PURE__ -- @preserve */
25
- _0x342d1c(){['id'];['author'];['type'];['data'];['rootName'];constructor(_0x1737d0){super(),this['id']=_0x1737d0['id']||_0x42c424(),this['author']=_0x1737d0['author'],this['type']=_0x1737d0['type'],this['data']=_0x1737d0['data']||{},this['rootName']=_0x1737d0['rootName'],this['set']('createdAt',_0x1737d0['createdAt']);}['toJSON'](){return{'id':this['id'],'authorId':this['author']['id'],'type':this['type'],'data':this['data'],'createdAt':this['createdAt']};}}class f{['newRevisionId'];['oldRevisionId'];['changes'];constructor(_0x5ddaac,_0x1d60ef){this['newRevisionId']=_0x5ddaac,this['oldRevisionId']=_0x1d60ef,this['changes']=new _0x141ac7();}['_setChanges'](_0x502c66){for(const _0x489c6b of _0x502c66)this['changes']['add'](_0x489c6b);}}const tt={'c':_0x22cfa1,'a':_0x2fcb99,'e':_0x340848,'r':_0x3024d4,'u':_0x409b2b};class d extends _0x3bc8af{['repository'];['adapter'];['_activeViewTarget'];['_changeView'];['_changeIdToChange'];['_balloon'];static get['pluginName'](){return'RevisionViewer';}static get['requires'](){return[_0x45f376,_0x25b583,A];}constructor(_0x50e683){super(_0x50e683),this['repository']=this['editor']['plugins']['get']('RevisionsRepository'),this['set']('activeChange',null),this['set']('activeView',null),this['_activeViewTarget']=null,this['set']('diff',null),this['set']('isReady',!0x1),this['set']('isEnabled',!0x0),this['on']('change:isEnabled',(_0x2cfbc7,_0x589468,_0x5b55ee)=>{this['activeChange']=null,this['activeView']=null,this['editor']['editing']['view']['change'](_0x1596b5=>{for(const _0x1d3f09 of this['editor']['editing']['view']['document']['roots'])_0x5b55ee?_0x1596b5['removeClass']('ck-editor__editable__overlay',_0x1d3f09):_0x1596b5['addClass']('ck-editor__editable__overlay',_0x1d3f09);});}),this['bind']('isNavigationMode')['to'](this,'activeChange',_0x1cd092=>null!==_0x1cd092),this['bind']('currentChangeNumber')['to'](this,'isReady',this,'diff',this,'activeChange',(_0x4f5bc4,_0x7a2eb3,_0x39e9b5)=>_0x4f5bc4&&_0x39e9b5?_0x7a2eb3['changes']['getIndex'](_0x39e9b5):0x0),this['bind']('numberOfChanges')['to'](this,'isReady',this,'diff',(_0x17bb92,_0x4c590b)=>_0x17bb92?_0x4c590b['changes']['length']:0x0),this['_changeView']=null,this['_changeIdToChange']=new Map(),this['adapter']=null,this['_balloon']=this['editor']['plugins']['get'](_0x25b583);}['init'](){const _0x582dc7=this['editor'],_0x26cce5=new yt(_0x582dc7,{'direction':'backward'}),_0x19dfb3=new yt(_0x582dc7,{'direction':'forward'});(_0x582dc7['commands']['add']('showPreviousChange',_0x26cce5),_0x582dc7['commands']['add']('showNextChange',_0x19dfb3),_0x582dc7['commands']['add']('restoreRevision',new bt(_0x582dc7)),this['on']('change:numberOfChanges',()=>{_0x26cce5['refresh'](),_0x19dfb3['refresh']();}),this['_setConversion'](),this['_initInteractions'](),_0x582dc7['enableReadOnlyMode']('revision-viewer'),_0x582dc7['plugins']['has']('WidgetToolbarRepository'))&&_0x582dc7['plugins']['get']('WidgetToolbarRepository')['forceDisabled']('revision-viewer');}async['getRevisionData'](_0x25bff4){await this['loadRevisionData'](_0x25bff4);const _0x1010cb={};for(const _0x15c699 in _0x25bff4['diffData']){if(_0x25bff4['diffData'][_0x15c699]['attachChange']&&!_0x25bff4['diffData'][_0x15c699]['attachChange']['isAttached'])continue;const _0x520c47=this['_removeRevisionMarkers'](JSON['parse'](_0x25bff4['diffData'][_0x15c699]['insertions'])),_0xffe660=this['editor']['editing']['view']['document'],_0x346722=new _0x68de1b(_0xffe660,_0x520c47['map'](_0x354b9e=>this['_getViewObj'](_0x354b9e)));this['editor']['data']['processor']['useFillerType']('marked'),_0x1010cb[_0x15c699]=this['editor']['data']['processor']['toData'](_0x346722),this['editor']['data']['processor']['useFillerType']('default');}return _0x1010cb;}async['getRevisionRootsAttributes'](_0x3786ad){await this['loadRevisionData'](_0x3786ad);const _0x593fa3={};for(const _0x3977be in _0x3786ad['diffData'])_0x3786ad['diffData'][_0x3977be]['attachChange']&&!_0x3786ad['diffData'][_0x3977be]['attachChange']['isAttached']||(_0x593fa3[_0x3977be]=_0x3786ad['diffData'][_0x3977be]['attributesAfter']||{});return _0x593fa3;}['_removeRevisionMarkers'](_0x3c8f00){return(_0x3c8f00=_0x3c8f00['filter'](_0x5108f0=>!_0x5108f0['name']||'revision-start'!==_0x5108f0['name']&&'revision-end'!==_0x5108f0['name']))['forEach'](_0x2c3390=>{'string'!=typeof _0x2c3390&&(_0x2c3390['children']=this['_removeRevisionMarkers'](_0x2c3390['children']),_0x2c3390['attributes']=_0x2c3390['attributes']['filter'](_0x3d3298=>!_0x3d3298[0x0]['startsWith']('data-revision-')));}),_0x3c8f00;}async['compare'](_0x2d4e18,_0x3e6bd4,_0x344a88=!0x1){if(!this['isEnabled'])return;const _0x6597d5=this['diff'],_0x2ca5ec=this['repository'],_0x49a724='string'==typeof _0x2d4e18?_0x2ca5ec['getRevision'](_0x2d4e18):_0x2d4e18,_0x276fa8='string'==typeof _0x3e6bd4?_0x2ca5ec['getRevision'](_0x3e6bd4):_0x3e6bd4,_0x460e4b=_0x49a724['id'],_0x159ce7=_0x276fa8?_0x276fa8['id']:null;if(!_0x344a88&&this['diff']&&this['diff']['newRevisionId']===_0x460e4b&&this['diff']['oldRevisionId']===_0x159ce7)return Promise['resolve']();this['isReady']=!0x1,this['activeView']=null,this['activeChange']=null,this['diff']=new f(_0x460e4b,_0x159ce7);const _0xa74da0=this['_getRevisionsRange'](_0x49a724,_0x276fa8,!0x0)['map'](_0x3f3b01=>this['loadRevisionData'](_0x3f3b01));return _0xa74da0['push'](new Promise(_0x4943df=>{setTimeout(_0x4943df,0x14);})),Promise['all'](_0xa74da0)['then'](()=>{if(!this['isEnabled'])return;this['_cleanUp']();const _0x575251=this['_getDiff'](_0x460e4b,_0x159ce7);for(const _0x2d93c2 of _0x575251['changes'])this['_changeIdToChange']['set'](_0x2d93c2['id'],_0x2d93c2);this['editor']['model']['enqueueChange']({'isUndoable':!0x1},_0x238ee4=>{for(const _0x3d74e2 of this['editor']['model']['document']['getRootNames']())_0x238ee4['detachRoot'](_0x3d74e2);for(const _0x1bcb0c of Object['keys'](_0x575251['model'])){const _0x261942=_0x238ee4['addRoot'](_0x1bcb0c);for(const _0x4575c7 of Object['keys'](_0x575251['attributes'][_0x1bcb0c]))_0x238ee4['setAttribute'](_0x4575c7,_0x575251['attributes'][_0x1bcb0c][_0x4575c7],_0x261942);_0x238ee4['insert'](_0x575251['model'][_0x1bcb0c],_0x261942,0x0);}}),this['diff']['_setChanges'](this['_sortAndFilterDiffChanges'](_0x575251['changes'])),this['isReady']=!0x0;})['catch'](_0x346cd1=>{console['error'](_0x346cd1),this['_cleanUp'](),_0x6597d5&&(this['diff']=_0x6597d5),this['isReady']=!0x0;});}['addRevisionData'](_0x208080,_0x1c9cf9){const _0x12d9e6=this['repository']['createRevision'](_0x208080);return _0x12d9e6['on']('_update',(_0x2c7436,_0x5afdc3,_0x403b3f)=>_0x1c9cf9(_0x5afdc3,_0x403b3f,_0x12d9e6)),this['repository']['addRevision'](_0x12d9e6),_0x12d9e6;}['loadRevisionData'](_0x194805){if(!_0x194805||_0x194805['diffData'])return Promise['resolve']();{const _0x31f4bf=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0x31f4bf,'revisionId':_0x194805['id']})['then'](_0x55c7fe=>{_0x194805['_update']({'diffData':_0x55c7fe['diffData']},!0x0);});}}['_cleanUp'](){this['activeChange']=null,this['_cleanMarkers'](),this['_changeView']&&this['_changeView']['destroy'](),this['_changeView']=null,this['_changeIdToChange']['clear'](),this['editor']['model']['enqueueChange']({'isUndoable':!0x1},_0xd24e38=>{for(const _0x34110e of this['editor']['model']['document']['getRootNames']())_0xd24e38['detachRoot'](_0x34110e);});}['_sortAndFilterDiffChanges'](_0x22597f){const _0x49e8b9=[],_0x3bd383=new Map();for(const _0x3103b5 of this['editor']['model']['document']['getRootNames']()){const _0x1f7229=this['editor']['editing']['view']['getDomRoot'](_0x3103b5);if(!_0x1f7229)continue;const _0x43b181=_0x1f7229['getClientRects']()['item'](0x0);_0x43b181&&(_0x49e8b9['push'](_0x3103b5),_0x3bd383['set'](_0x3103b5,_0x43b181));}return _0x49e8b9['sort']((_0x4ea677,_0x4d0eb8)=>{const _0x4cc977=_0x3bd383['get'](_0x4ea677),_0x2b4df8=_0x3bd383['get'](_0x4d0eb8);return _0x4cc977['y']-_0x2b4df8['y']||_0x4cc977['x']-_0x2b4df8['x'];}),(_0x22597f=_0x22597f['filter'](_0x263c5a=>_0x49e8b9['includes'](_0x263c5a['rootName'])))['sort']((_0x584668,_0x171cd7)=>_0x49e8b9['indexOf'](_0x584668['rootName'])-_0x49e8b9['indexOf'](_0x171cd7['rootName'])),_0x22597f;}['_makeTape'](_0x410a28){const _0x27d093=Array['from'](_0x410a28['markers'])['filter'](([_0x16d415,_0x11891c])=>_0x16d415['startsWith']('revision:')&&!_0x11891c['isCollapsed']),_0xb97e47=Array['from'](this['editor']['model']['createRangeIn'](_0x410a28)['getWalker']({'singleCharacters':!0x0}));if(0x0!=_0x27d093['length'])for(const _0x445173 of _0xb97e47){const [_0x4f0676,_0x46aa2f]=_0x27d093[0x0],[,_0x1f886a,_0x4c85e5]=_0x4f0676['split'](':');if(_0x46aa2f['end']['isEqual'](_0x445173['nextPosition'])&&_0x27d093['shift'](),(_0x445173['previousPosition']['isEqual'](_0x46aa2f['start'])||_0x445173['previousPosition']['isAfter'](_0x46aa2f['start']))&&('insertion'==_0x1f886a?_0x445173['isAdded']={'userId':_0x4c85e5}:'deletion'==_0x1f886a&&(_0x445173['isRemoved']={'userId':_0x4c85e5})),0x0==_0x27d093['length'])break;}return _0xb97e47;}['_refreshStartEndIndex'](_0x2fc761){const _0x3c0151=new Map();for(let _0x5d6c6c=0x0;_0x5d6c6c<_0x2fc761['length'];_0x5d6c6c++)'text'===_0x2fc761[_0x5d6c6c]['type']?(_0x2fc761[_0x5d6c6c]['item']['startIndex']=_0x5d6c6c,_0x2fc761[_0x5d6c6c]['item']['endIndex']=_0x5d6c6c):('elementStart'===_0x2fc761[_0x5d6c6c]['type']?_0x2fc761[_0x5d6c6c]['item']['startIndex']=_0x5d6c6c:'elementEnd'===_0x2fc761[_0x5d6c6c]['type']&&(_0x2fc761[_0x5d6c6c]['item']['endIndex']=_0x5d6c6c),_0x3c0151['set'](_0x2fc761[_0x5d6c6c]['id'],_0x5d6c6c));for(const _0x3838c4 of _0x3c0151['values']())'elementStart'===_0x2fc761[_0x3838c4]['type']?_0x2fc761[_0x3838c4]['item']['endIndex']=_0x3c0151['get'](_0x2fc761[_0x3838c4]['pairId']):'elementEnd'===_0x2fc761[_0x3838c4]['type']&&(_0x2fc761[_0x3838c4]['item']['startIndex']=_0x3c0151['get'](_0x2fc761[_0x3838c4]['pairId']));}['_processTape'](_0x515d36){for(let _0x54e425=0x0;_0x54e425<_0x515d36['length'];_0x54e425++){if('elementStart'===_0x515d36[_0x54e425]['type'])_0x515d36[_0x54e425]['item']['startIndex']=_0x54e425;else{if('elementEnd'===_0x515d36[_0x54e425]['type']){_0x515d36[_0x54e425]['item']['endIndex']=_0x54e425;const _0x30d090=_0x515d36[_0x54e425]['item']['startIndex'];_0x515d36[_0x30d090]['pairId']=_0x515d36[_0x54e425]['id'],_0x515d36[_0x54e425]['pairId']=_0x515d36[_0x30d090]['id'];}else _0x515d36[_0x54e425]['item']['startIndex']=_0x54e425,_0x515d36[_0x54e425]['item']['endIndex']=_0x54e425,_0x515d36[_0x54e425]['pairId']=null;}_0x515d36[_0x54e425]['markersStart']||(_0x515d36[_0x54e425]['markersStart']=[],_0x515d36[_0x54e425]['markersEnd']=[]);}}['_markInsertions'](_0x3cacc8,_0x523ec0){const _0x1d8b27=_0x3cacc8['filter'](_0xdfc235=>!_0xdfc235['isAdded']);for(let _0x2cb7c0=0x0;_0x2cb7c0<_0x523ec0['length'];_0x2cb7c0++)_0x523ec0[_0x2cb7c0]['isAdded']&&(_0x1d8b27[_0x2cb7c0]['isAdded']=_0x523ec0[_0x2cb7c0]['isAdded']);}['_makeModelFromViewString'](_0x5abce7){const _0x1cf4fc=JSON['parse'](_0x5abce7),_0x36be9a=this['editor']['editing']['view']['document'],_0x138345=new _0x68de1b(_0x36be9a,_0x1cf4fc['map'](_0x3191a9=>this['_getViewObj'](_0x3191a9)));return this['editor']['data']['toModel'](_0x138345);}['_getViewObj'](_0x24ecb7){const _0x2142b6=this['editor']['editing']['view']['document'];if('string'==typeof _0x24ecb7)return new _0x75ba4f(_0x2142b6,_0x24ecb7);{const _0x594b77=_0x24ecb7['children']['map'](_0x49b271=>this['_getViewObj'](_0x49b271));return new(tt[_0x24ecb7['type']]||_0x37b0cc)(_0x2142b6,_0x24ecb7['name'],_0x24ecb7['attributes'],_0x594b77);}}['_getDiff'](_0x35a80b,_0x4aeff7=null){const _0x525bd3=this['repository']['getRevision'](_0x35a80b),_0x110459=_0x4aeff7?this['repository']['getRevision'](_0x4aeff7):null,_0x35b3b4=this['_getRevisionsRange'](_0x525bd3,_0x110459),_0x34e215=_0x35b3b4[_0x35b3b4['length']-0x1],_0x29eee4=new Map(),_0x3e8f71={'model':{},'attributes':{},'changes':[]},_0x493c66=new Set(),_0x2aac0a=new Map();for(let _0xe71ae7=_0x35b3b4['length']-0x1;_0xe71ae7>=0x0;_0xe71ae7--){const _0x3be28c=_0x35b3b4[_0xe71ae7];for(const _0x3d7a84 of Object['keys'](_0x3be28c['diffData']))if(_0x3be28c['diffData'][_0x3d7a84]['attachChange']){const _0x3eb124=_0x3be28c['diffData'][_0x3d7a84]['attachChange'];_0x3eb124['isAttached']?(_0x493c66['add'](_0x3d7a84),_0x2aac0a['has'](_0x3d7a84)&&_0x2aac0a['get'](_0x3d7a84)['userId']==_0x3eb124['userId']?_0x2aac0a['delete'](_0x3d7a84):_0x2aac0a['set'](_0x3d7a84,_0x3eb124)):_0x2aac0a['has'](_0x3d7a84)?(_0x493c66['delete'](_0x3d7a84),_0x2aac0a['delete'](_0x3d7a84)):(_0x493c66['add'](_0x3d7a84),_0x2aac0a['set'](_0x3d7a84,_0x3eb124));}else _0x493c66['add'](_0x3d7a84);}for(const _0x1a20e2 of _0x493c66){const _0x2f7702=_0x2aac0a['has'](_0x1a20e2)&&!_0x2aac0a['get'](_0x1a20e2)['isAttached'];let _0xbf5930=_0x2f7702?_0x35b3b4['length']-0x1:0x0;const _0x257494=_0x2f7702?-0x1:0x1;for(;_0x35b3b4[_0xbf5930];){const _0x376138=_0x35b3b4[_0xbf5930];if(_0x376138['diffData'][_0x1a20e2]){const _0x3be44d=_0x2f7702?_0x376138['diffData'][_0x1a20e2]['attributesBefore']:_0x376138['diffData'][_0x1a20e2]['attributesAfter'];_0x3e8f71['attributes'][_0x1a20e2]=_0x3be44d?_0x5c50ea(_0x3be44d):{};break;}_0xbf5930+=_0x257494;}}for(const _0x24ad01 of _0x35b3b4){_0x24ad01['model']={};for(const _0x2a53a7 of _0x24ad01['authors'])_0x29eee4['set'](_0x2a53a7['id'],_0x2a53a7);for(const _0xe68f84 of _0x493c66){const _0x5080a0=_0x24ad01['diffData'][_0xe68f84]?_0x24ad01['diffData'][_0xe68f84]['insertions']:'[]',_0x59a6cc=_0x24ad01['diffData'][_0xe68f84]?_0x24ad01['diffData'][_0xe68f84]['deletions']:'[]';_0x24ad01['model'][_0xe68f84]={'insertions':this['_makeModelFromViewString'](_0x5080a0),'deletions':this['_makeModelFromViewString'](_0x59a6cc)};}}for(const _0x25d1e7 of _0x493c66){let _0x5558f6=null,_0x6bbca8=0x0;const _0x5f46a4=new Map(Array['from'](_0x525bd3['model'][_0x25d1e7]['insertions']['markers'])['filter'](([_0x311923])=>!_0x311923['startsWith']('revision:')));let _0x35520a=0x0;for(const _0x14f627 of _0x35b3b4){const _0x13e914=this['_makeTape'](_0x14f627['model'][_0x25d1e7]['insertions']);_0x14f627==_0x525bd3?(_0x5558f6=_0x13e914,_0x6bbca8=_0x5558f6['length'],_0x5558f6['forEach'](_0x196d15=>{_0x196d15['id']=_0x35520a++;}),this['_processTape'](_0x5558f6)):this['_markInsertions'](_0x5558f6,_0x13e914);const _0x5cdf53=_0x5558f6['filter'](_0x212115=>!_0x212115['isAdded'])['map'](_0x139d31=>_0x139d31['id']);let _0x4e4f17=0x0;const _0x5ed2bc=this['_makeTape'](_0x14f627['model'][_0x25d1e7]['deletions']);_0x5ed2bc['forEach'](_0x27cbeb=>{_0x27cbeb['isRemoved']?_0x27cbeb['id']=_0x6bbca8++:_0x27cbeb['id']=_0x5cdf53[_0x4e4f17++];}),this['_processTape'](_0x5ed2bc),this['_setDistance'](_0x5558f6,'isAdded'),this['_setDistance'](_0x5ed2bc,'isRemoved'),_0x14f627==_0x525bd3&&this['_markMarkers'](_0x5558f6,_0x5f46a4),_0x5558f6=this['_joinTapes'](_0x5558f6,_0x5ed2bc),this['_refreshStartEndIndex'](_0x5558f6),this['_setDistance'](_0x5558f6,'isRemoved');}_0x5558f6=_0x5558f6['filter'](_0x43a1f6=>!(_0x43a1f6['isAdded']&&_0x43a1f6['isRemoved']));const _0x22387a=new Map(_0x34e215['model'][_0x25d1e7]['deletions']['markers']),_0x3c3e1f=new Set(_0x5f46a4['keys']());for(const _0x22104a of _0x22387a['keys']())_0x3c3e1f['delete'](_0x22104a);this['_markSuggestions'](_0x5558f6,_0x3c3e1f),this['_fixObsoleteTags'](_0x5558f6),_0x5558f6=this['_removeMissingPairs'](_0x5558f6),_0x5558f6=this['_markMismatchedRemovedTags'](_0x5558f6),_0x5558f6=this['_removeUnsupportedChanges'](_0x5558f6);const {root:_0x12890f,changes:_0x4c1397}=this['_makeModelFromTape'](_0x5558f6,_0x29eee4,_0x25d1e7);_0x3e8f71['model'][_0x25d1e7]=_0x12890f;const _0x5b4b50=_0x2aac0a['get'](_0x25d1e7);if(_0x5b4b50){const _0x68ff65=_0x29eee4['get'](_0x5b4b50['userId']),_0x4e5a80=new r({'author':_0x68ff65,'type':_0x5b4b50['isAttached']?'add':'remove','data':{'isOnRoot':!0x0},'createdAt':new Date(),'rootName':_0x25d1e7});_0x4c1397['unshift'](_0x4e5a80),_0x3e8f71['attributes'][_0x25d1e7]['revisionHistoryAttachChange']=_0x4e5a80['id'];}_0x3e8f71['changes']=_0x3e8f71['changes']['concat'](_0x4c1397);}return _0x3e8f71;}['_markMarkers'](_0x49a351,_0x24ba0f){for(let _0x266edc=0x0;_0x266edc<_0x49a351['length'];_0x266edc++)for(const [_0x137a48,_0x381ef0]of _0x24ba0f)_0x381ef0['start']['isEqual'](_0x49a351[_0x266edc]['previousPosition'])&&_0x49a351[_0x266edc]['markersStart']['push'](_0x137a48),_0x381ef0['end']['isEqual'](_0x49a351[_0x266edc]['nextPosition'])&&_0x49a351[_0x266edc]['markersEnd']['push'](_0x137a48);}['_joinTapes'](_0x5e885d,_0x228159){let _0x86e96e=[],_0x20eb6c=0x0,_0x3ff78d=0x0;for(;_0x20eb6c<_0x5e885d['length']||_0x3ff78d<_0x228159['length'];){const _0x221d3e=_0x5e885d[_0x20eb6c]||{},_0x21e9f4=_0x228159[_0x3ff78d]||{};if(_0x221d3e['id']==_0x21e9f4['id'])_0x20eb6c++,_0x3ff78d++,_0x86e96e['push'](_0x221d3e);else{if(_0x21e9f4['isRemoved']&&_0x221d3e['isAdded']){const {commonTape:_0xf11c07,iEnd:_0x21307b,jEnd:_0x57223f}=this['_threeWayMerge'](_0x5e885d,_0x20eb6c,_0x228159,_0x3ff78d);_0x86e96e=_0x86e96e['concat'](_0xf11c07),_0x20eb6c=_0x21307b,_0x3ff78d=_0x57223f;}else _0x21e9f4['isRemoved']?(_0x3ff78d++,_0x86e96e['push'](_0x21e9f4)):(_0x20eb6c++,_0x86e96e['push'](_0x221d3e));}}return _0x86e96e;}['_markSuggestions'](_0x32ce4a,_0x2200c2){const _0x4a37dc=[];for(let _0x18a503=0x0;_0x18a503<_0x32ce4a['length'];_0x18a503++){for(let _0x3c734e=0x0;_0x3c734e<_0x32ce4a[_0x18a503]['markersStart']['length'];_0x3c734e++){const _0x3a84ca=_0x32ce4a[_0x18a503]['markersStart'][_0x3c734e];if(!_0x2200c2['has'](_0x3a84ca))continue;const {group:_0x46c72c,type:_0x28b8d0,authorId:_0x2c1d82}=_0x3a67df(_0x3a84ca);'revision-suggestion'!=_0x46c72c||'insertion'!=_0x28b8d0&&'deletion'!=_0x28b8d0||(_0x4a37dc['unshift']({'type':_0x28b8d0,'name':_0x3a84ca,'userId':_0x2c1d82}),_0x32ce4a[_0x18a503]['markersStart']['splice'](_0x3c734e,0x1),_0x3c734e--);}_0x1b78c3(_0x32ce4a[_0x18a503]);for(let _0x2b2f6d=0x0;_0x2b2f6d<_0x32ce4a[_0x18a503]['markersEnd']['length'];_0x2b2f6d++){const _0x35e647=_0x32ce4a[_0x18a503]['markersEnd'][_0x2b2f6d];if(!_0x2200c2['has'](_0x35e647))continue;const {group:_0x32294d,type:_0x55d532}=_0x3a67df(_0x35e647);if('revision-suggestion'!=_0x32294d||'insertion'!=_0x55d532&&'deletion'!=_0x55d532)continue;_0x32ce4a[_0x18a503]['markersEnd']['splice'](_0x2b2f6d,0x1),_0x2b2f6d--;const _0x2fe0c6=_0x4a37dc['findIndex'](_0x892e45=>_0x892e45['name']==_0x35e647);_0x2fe0c6>-0x1&&_0x4a37dc['splice'](_0x2fe0c6,0x1);}}function _0x3a67df(_0x5d65bd){const _0x45493b=_0x5d65bd['split'](':');return{'group':_0x45493b[0x0],'type':_0x45493b[0x1],'subType':_0x45493b['length']>=0x5?_0x45493b[0x2]:null,'id':_0x45493b['length']<0x5?_0x45493b[0x2]:_0x45493b[0x3],'authorId':_0x45493b['length']<0x5?_0x45493b[0x3]:_0x45493b[0x4],'markerCount':0x6==_0x45493b['length']?_0x45493b[0x5]:null};}function _0x1b78c3(_0xef4575){for(let _0x268230=0x0;_0x268230<_0x4a37dc['length'];_0x268230++){if(_0xef4575['isAdded']&&'insertion'==_0x4a37dc[_0x268230]['type'])return _0xef4575['isAddSuggestion']=_0x4a37dc[_0x268230],void delete _0xef4575['isAdded'];if(!_0xef4575['isAdded']&&!_0xef4575['isRemoved']&&'deletion'==_0x4a37dc[_0x268230]['type'])return void(_0xef4575['isRemoveSuggestion']=_0x4a37dc[_0x268230]);}}}['_setDistance'](_0x4c87a8,_0x471910){let _0x2bac68=0x0,_0x2eae40=!0x1;const _0x3d8b89=new Map();for(const _0x1400c4 of _0x4c87a8)_0x1400c4[_0x471910]?_0x2eae40&&(_0x2bac68++,_0x2eae40=!0x1):(_0x2bac68++,_0x2eae40=!0x0),_0x3d8b89['set'](_0x1400c4['id'],_0x2bac68);for(let _0x1e9a61=0x0;_0x1e9a61<_0x4c87a8['length'];_0x1e9a61++){if('isRemoved'==_0x471910&&_0x4c87a8[_0x1e9a61]['isAdded']||'isAdded'==_0x471910&&_0x4c87a8[_0x1e9a61]['isRemoved'])continue;if('text'==_0x4c87a8[_0x1e9a61]['type']){_0x4c87a8[_0x1e9a61]['distance']=0x0;continue;}const _0x44ce98=_0x3d8b89['get'](_0x4c87a8[_0x1e9a61]['pairId']),_0x469d32=_0x3d8b89['get'](_0x4c87a8[_0x1e9a61]['id']);_0x4c87a8[_0x1e9a61]['distance']=_0x44ce98-_0x469d32;}}['_getRevisionsRange'](_0x1f7c47,_0x43452b,_0x1217b0=!0x1){const _0x2f1498=[];let _0x408277=this['repository']['getIndex'](_0x1f7c47),_0x587ecc=this['repository']['getIndex'](_0x43452b);for(-0x1==_0x587ecc&&(_0x587ecc=this['repository']['_revisions']['length'],_0x1217b0=!0x1);_0x408277<_0x587ecc;)_0x2f1498['push'](this['repository']['getRevision'](_0x408277)),_0x408277++;return _0x1217b0&&_0x2f1498['push'](this['repository']['getRevision'](_0x408277)),_0x2f1498;}['_threeWayMerge'](_0x5c6526,_0x33b36e,_0x28d7c3,_0x58bbcc){const _0x7276bc=this['editor']['model']['schema'];let _0xac1dd4=_0x33b36e;for(;_0x5c6526[_0xac1dd4]&&_0x5c6526[_0xac1dd4]['isAdded'];)_0xac1dd4++;let _0x4fe5a2=_0x58bbcc;for(;_0x28d7c3[_0x4fe5a2]&&_0x28d7c3[_0x4fe5a2]['isRemoved'];)_0x4fe5a2++;_0x391341(_0x5c6526,_0x33b36e,_0xac1dd4),_0x391341(_0x28d7c3,_0x58bbcc,_0x4fe5a2);const _0x4b32ec=_0x28d7c3['slice'](_0x58bbcc,_0x4fe5a2)['concat'](_0x5c6526['slice'](_0x33b36e,_0xac1dd4));return _0x4b32ec['sort']((_0x25cead,_0x19e667)=>_0x25cead['side']!=_0x19e667['side']?_0x25cead['side']-_0x19e667['side']:_0x25cead['level']!=_0x19e667['level']?_0x25cead['level']-_0x19e667['level']:_0x25cead['distance']!=_0x19e667['distance']?_0x19e667['distance']-_0x25cead['distance']:!!_0x25cead['isAdded']!=!!_0x19e667['isAdded']?-0x1==_0x25cead['side']||0x0==_0x25cead['side']?_0x25cead['isAdded']?-0x1:0x1:_0x25cead['isAdded']?0x1:-0x1:_0x25cead['index']-_0x19e667['index']),{'commonTape':_0x4b32ec,'iEnd':_0xac1dd4,'jEnd':_0x4fe5a2};function _0x391341(_0x353df3,_0x5f2ce7,_0x2e3a97){let _0x10095f=-0x1,_0xd22c6=Number['POSITIVE_INFINITY'],_0x52106c=!0x0;for(let _0x22e544=_0x5f2ce7;_0x22e544<_0x2e3a97;_0x22e544++)if(_0x7276bc['isInline'](_0x353df3[_0x22e544]['item'])||(_0x52106c=!0x1),_0x353df3[_0x22e544]['item']['startIndex']<_0x5f2ce7&&(_0x10095f=_0x22e544),_0x353df3[_0x22e544]['item']['endIndex']>=_0x2e3a97){_0xd22c6=_0x22e544;break;}_0x52106c&&(_0x10095f=_0x2e3a97-0x1);for(let _0x4b65f6=_0x5f2ce7;_0x4b65f6<_0x2e3a97;_0x4b65f6++)_0x353df3[_0x4b65f6]['side']=_0x4b65f6<=_0x10095f?-0x1:_0x4b65f6<_0xd22c6?0x0:0x1,_0x353df3[_0x4b65f6]['index']=_0x4b65f6;let _0x467521=0x0;for(let _0x89d04c=_0x5f2ce7;_0x89d04c<=_0x10095f;_0x89d04c++)0x0==_0x353df3[_0x89d04c]['distance']?_0x353df3[_0x89d04c]['level']=_0x467521:(_0x467521++,_0x353df3[_0x89d04c]['level']=_0x467521,_0x467521++);for(let _0x4164f6=_0x5f2ce7;_0x4164f6<_0x2e3a97;_0x4164f6++)0x0==_0x353df3[_0x4164f6]['side']&&(_0x353df3[_0x4164f6]['level']=_0x467521);_0x467521=0x0;for(let _0x1557f5=_0x2e3a97-0x1;_0x1557f5>=_0xd22c6;_0x1557f5--)0x0==_0x353df3[_0x1557f5]['distance']?_0x353df3[_0x1557f5]['level']=_0x467521:(_0x467521--,_0x353df3[_0x1557f5]['level']=_0x467521,_0x467521--);}}['_fixObsoleteTags'](_0x1b2ae0){const _0x24dffa=new Map(),_0x152bc3=this['editor']['model']['schema'];for(let _0xfe673c=0x1;_0xfe673c<_0x1b2ae0['length'];_0xfe673c++){let _0x208918,_0xde5c81,_0x4a6c8f;const _0x1d4ff0=_0x1b2ae0[_0xfe673c],_0x387f22=_0x1b2ae0[_0xfe673c-0x1];if('text'==_0x1d4ff0['type'])continue;if(_0x1d4ff0['type']!=_0x387f22['type'])continue;if(!_0x152bc3['isBlock'](_0x387f22['item'])||_0x152bc3['isLimit'](_0x387f22['item']))continue;if(!_0x152bc3['isBlock'](_0x1d4ff0['item'])||_0x152bc3['isLimit'](_0x1d4ff0['item']))continue;if((_0x1b2ae0[_0xfe673c]['isAdded']||_0x1b2ae0[_0xfe673c]['isAddSuggestion'])&&_0x1b2ae0[_0xfe673c-0x1]['isRemoved'])_0x208918=_0x1b2ae0[_0xfe673c],_0xde5c81=_0x1b2ae0[_0xfe673c-0x1],_0x4a6c8f=_0xfe673c-0x1;else{if(!_0x1b2ae0[_0xfe673c]['isRemoved']||!_0x1b2ae0[_0xfe673c-0x1]['isAdded']&&!_0x1b2ae0[_0xfe673c-0x1]['isAddSuggestion'])continue;_0x208918=_0x1b2ae0[_0xfe673c-0x1],_0xde5c81=_0x1b2ae0[_0xfe673c],_0x4a6c8f=_0xfe673c;}const _0x2e825e=_0x208918['level']==_0xde5c81['level'],_0x3001ed=Math['abs'](_0x208918['level'])<Math['abs'](_0xde5c81['level'])&&0x0==_0xde5c81['distance'];(_0x2e825e||_0x3001ed)&&(_0x24dffa['set'](_0xde5c81['id'],_0x208918['id']),_0x1b2ae0['splice'](_0x4a6c8f,0x1),_0xfe673c--,_0x208918['isAdded']=!0x1);}for(let _0x75b08a=0x0;_0x75b08a<_0x1b2ae0['length'];_0x75b08a++)_0x24dffa['has'](_0x1b2ae0[_0x75b08a]['pairId'])&&(_0x1b2ae0[_0x75b08a]['pairId']=_0x24dffa['get'](_0x1b2ae0[_0x75b08a]['pairId']));}['_removeMissingPairs'](_0xd33ce7){const _0x5f4708=new Set(_0xd33ce7['map'](_0x1d55a7=>_0x1d55a7['id']));for(let _0xc8a58d=0x0;_0xc8a58d<_0xd33ce7['length'];_0xc8a58d++)_0x5f4708['has'](_0xd33ce7[_0xc8a58d]['pairId'])||0x0==_0xd33ce7[_0xc8a58d]['distance']||(_0xd33ce7[_0xc8a58d]['isIncorrect']=!0x0);return _0xd33ce7['filter'](_0x27a484=>!_0x27a484['isIncorrect']);}['_markMismatchedRemovedTags'](_0x412c25){const _0x4a6759=new Set();for(let _0x82d6c7=0x0;_0x82d6c7<_0x412c25['length'];_0x82d6c7++){if(_0x4a6759['has'](_0x412c25[_0x82d6c7]['id'])&&_0x412c25[_0x82d6c7]['isRemoved']&&(_0x412c25[_0x82d6c7]['isIncorrect']=!0x0),_0x412c25[_0x82d6c7]['isIncorrect'])continue;if(0x0==_0x412c25[_0x82d6c7]['distance'])continue;if('elementStart'!=_0x412c25[_0x82d6c7]['type'])continue;if(null==_0x412c25[_0x82d6c7]['pairId'])continue;let _0x24a9a8=_0x82d6c7+0x1,_0x1ccddd=0x0;for(;_0x412c25[_0x24a9a8]['id']!=_0x412c25[_0x82d6c7]['pairId'];)'elementStart'==_0x412c25[_0x24a9a8]['type']?_0x1ccddd++:'elementEnd'==_0x412c25[_0x24a9a8]['type']&&_0x1ccddd--,_0x24a9a8++;if(0x0!=_0x1ccddd){if(_0x412c25[_0x82d6c7]['isRemoved'])_0x412c25[_0x82d6c7]['isIncorrect']=!0x0;else{for(;_0x24a9a8!=_0x82d6c7;)_0x412c25[_0x24a9a8]['isRemoved']&&0x0!=_0x412c25[_0x24a9a8]['distance']&&(_0x412c25[_0x24a9a8]['isIncorrect']=!0x0,_0x4a6759['add'](_0x412c25[_0x24a9a8]['pairId'])),_0x24a9a8--;}}}return _0x412c25['filter'](_0x1067aa=>!_0x1067aa['isIncorrect']);}['_removeUnsupportedChanges'](_0x47c863){const _0x18ecd4=this['editor']['model']['schema'];for(let _0xc590c1=0x0;_0xc590c1<_0x47c863['length'];_0xc590c1++){if(!(_0x47c863[_0xc590c1]['isAdded']||_0x47c863[_0xc590c1]['isAddSuggestion']||_0x47c863[_0xc590c1]['isRemoved']||_0x47c863[_0xc590c1]['isRemoveSuggestion']))continue;if(0x0==_0x47c863[_0xc590c1]['distance'])continue;const _0x773e0d=_0x47c863[_0xc590c1]['item'];_0x18ecd4['isBlock'](_0x773e0d)||_0x18ecd4['isLimit'](_0x773e0d)||(_0x47c863[_0xc590c1]['isAdded']&&delete _0x47c863[_0xc590c1]['isAdded'],_0x47c863[_0xc590c1]['isAddSuggestion']&&delete _0x47c863[_0xc590c1]['isAddSuggestion'],_0x47c863[_0xc590c1]['isRemoveSuggestion']&&delete _0x47c863[_0xc590c1]['isRemoveSuggestion'],_0x47c863[_0xc590c1]['isRemoved']&&(_0x47c863[_0xc590c1]['isIncorrect']=!0x0));}return _0x47c863['filter'](_0x4092ee=>!_0x4092ee['isIncorrect']);}['_makeModelFromTape'](_0x1fd93f,_0xc436ca,_0x1b5656){const _0x5ed9c6=new wt(),_0x70512c=[],_0x44799f=new Map(),_0x459fa3=this['editor']['model'],_0x33f346=_0x459fa3['schema'],_0x3f54ad=[_0x5ed9c6],_0x3eaef7={},_0x3f6390={'isAdded':[],'isRemoved':[],'isAddSuggestion':[],'isRemoveSuggestion':[]};let _0x2d157f=null;const _0x45af3f=[0x0];for(let _0x44359f=0x0;_0x44359f<_0x1fd93f['length'];_0x44359f++){let _0x523f9e,_0x2fa0d4;if('elementStart'===_0x1fd93f[_0x44359f]['type']){_0x523f9e=_0x459fa3['createPositionFromPath'](_0x5ed9c6,_0x45af3f);const _0x3b0558=new ft(_0x1fd93f[_0x44359f]['item']['name'],_0x1fd93f[_0x44359f]['item']['getAttributes']());_0x3f54ad[0x0]['_appendChild'](_0x3b0558),_0x45af3f['push'](0x0),_0x3f54ad['unshift'](_0x3b0558),_0x2fa0d4=_0x459fa3['createPositionFromPath'](_0x5ed9c6,_0x45af3f),_0x2d157f=null;}else{if('elementEnd'===_0x1fd93f[_0x44359f]['type'])_0x3f54ad['shift'](),_0x523f9e=_0x459fa3['createPositionFromPath'](_0x5ed9c6,_0x45af3f),_0x45af3f['pop'](),_0x45af3f[_0x45af3f['length']-0x1]++,_0x2fa0d4=_0x459fa3['createPositionFromPath'](_0x5ed9c6,_0x45af3f),_0x2d157f=null;else{if(_0x523f9e=_0x459fa3['createPositionFromPath'](_0x5ed9c6,_0x45af3f),_0x2d157f&&_0x26b83e(_0x2d157f,_0x1fd93f[_0x44359f]['item']))_0x2d157f['_data']+=_0x1fd93f[_0x44359f]['item']['data'];else{const _0xb17d4b=new _t(_0x1fd93f[_0x44359f]['item']['data'],_0x1fd93f[_0x44359f]['item']['getAttributes']());_0x3f54ad[0x0]['_appendChild'](_0xb17d4b),_0x2d157f=_0xb17d4b;}_0x45af3f[_0x45af3f['length']-0x1]+=_0x1fd93f[_0x44359f]['item']['offsetSize'],_0x2fa0d4=_0x459fa3['createPositionFromPath'](_0x5ed9c6,_0x45af3f);}}for(const _0x5bbc78 of _0x1fd93f[_0x44359f]['markersStart'])_0x44799f['set'](_0x5bbc78,{'start':_0x523f9e,'end':null});_0x46ada3('isRemoveSuggestion',_0x44359f,_0x523f9e,_0x2fa0d4),_0x46ada3('isAddSuggestion',_0x44359f,_0x523f9e,_0x2fa0d4),_0x46ada3('isRemoved',_0x44359f,_0x523f9e,_0x2fa0d4),_0x46ada3('isAdded',_0x44359f,_0x523f9e,_0x2fa0d4);for(const _0x1ddf3f of _0x1fd93f[_0x44359f]['markersEnd']){_0x44799f['get'](_0x1ddf3f)['end']=_0x2fa0d4;}}for(const [_0x1ef551,_0x4c2bdc]of _0x44799f){const _0x481306=this['editor']['model']['createRange'](_0x4c2bdc['start'],_0x4c2bdc['end']);_0x5ed9c6['markers']['set'](_0x1ef551,_0x481306);}return _0x70512c['sort']((_0x586a87,_0x4824a9)=>{const _0x484a52=_0x5ed9c6['markers']['get']('revision:'+_0x586a87['id']),_0x329f13=_0x5ed9c6['markers']['get']('revision:'+_0x4824a9['id']);return _0x484a52['start']['isBefore'](_0x329f13['start'])?-0x1:_0x484a52['start']['isAfter'](_0x329f13['start'])?0x1:_0x484a52['end']['isBefore'](_0x329f13['end'])?-0x1:_0x484a52['end']['isAfter'](_0x329f13['end'])?0x1:'add'===_0x586a87['type']?-0x1:0x1;}),{'root':_0x5ed9c6,'changes':_0x70512c};function _0x46ada3(_0x3e6a8c,_0x569bf6,_0x39d6ce,_0x4c2780){const _0x2d8460=!!_0x1fd93f[_0x569bf6][_0x3e6a8c],_0x22e5c5=_0x2d8460?_0x1fd93f[_0x569bf6][_0x3e6a8c]['userId']:null,_0x4dc9fe=_0x569bf6===_0x1fd93f['length']-0x1,_0x4e4a5b=_0x3f6390[_0x3e6a8c][0x0],_0x92d8cd=_0x33f346['isObject'](_0x1fd93f[_0x569bf6]['item']);!_0x3eaef7[_0x3e6a8c]&&_0x2d8460?_0x3eaef7[_0x3e6a8c]={'start':_0x39d6ce,'tapeItem':_0x1fd93f[_0x569bf6],'userId':_0x22e5c5,'type':_0x3e6a8c}:_0x3eaef7[_0x3e6a8c]&&!_0x2d8460?(_0x3eaef7[_0x3e6a8c]['end']=_0x39d6ce,_0x3b6983(_0x3eaef7[_0x3e6a8c]),_0x3eaef7[_0x3e6a8c]=null):_0x3eaef7[_0x3e6a8c]&&_0x2d8460&&_0x3eaef7[_0x3e6a8c]['userId']!==_0x22e5c5&&(_0x3eaef7[_0x3e6a8c]['end']=_0x39d6ce,_0x4e4a5b&&_0x4e4a5b['userId']===_0x3eaef7[_0x3e6a8c]['userId']||_0x3b6983(_0x3eaef7[_0x3e6a8c]),_0x3eaef7[_0x3e6a8c]={'start':_0x39d6ce,'tapeItem':_0x1fd93f[_0x569bf6],'userId':_0x22e5c5,'type':_0x3e6a8c}),_0x3eaef7[_0x3e6a8c]&&_0x92d8cd&&('elementStart'!==_0x1fd93f[_0x569bf6]['type']||_0x4e4a5b&&_0x4e4a5b['userId']===_0x22e5c5||_0x3f6390[_0x3e6a8c]['unshift']({'userId':_0x22e5c5,'object':_0x1fd93f[_0x569bf6]['item'],'change':_0x3eaef7[_0x3e6a8c]}),'elementEnd'===_0x1fd93f[_0x569bf6]['type']&&_0x4e4a5b&&_0x4e4a5b['object']===_0x1fd93f[_0x569bf6]['item']&&(_0x3f6390[_0x3e6a8c]['shift'](),_0x3eaef7[_0x3e6a8c]=_0x4e4a5b['change'])),_0x3eaef7[_0x3e6a8c]&&_0x4dc9fe&&(_0x3eaef7[_0x3e6a8c]['end']=_0x4c2780,_0x3b6983(_0x3eaef7[_0x3e6a8c]),_0x3eaef7[_0x3e6a8c]=null);}function _0x3b6983({start:_0x2e0457,end:_0x3e1c31,tapeItem:_0x4ea255,userId:_0x350b61,type:_0x25ebc2}){const _0x36253e=_0x4ea255['item'],_0x2b784f=_0x459fa3['schema']['isBlock'](_0x36253e)&&!_0x459fa3['schema']['isLimit'](_0x36253e),_0x59b1be=_0x2e0457['nodeAfter']==_0x3e1c31['parent']&&_0x3e1c31['isAtStart'];if(_0x2b784f&&_0x59b1be)return;const _0xd31aa3=_0x459fa3['createRange'](_0x2e0457,_0x3e1c31),_0x5c0129=_0xc436ca['get'](_0x350b61),_0x442d94=new r({'author':_0x5c0129,'type':'isAdded'==_0x25ebc2||'isAddSuggestion'==_0x25ebc2?'add':'remove','data':{'isSuggestion':'isAddSuggestion'==_0x25ebc2||'isRemoveSuggestion'==_0x25ebc2},'createdAt':new Date(),'rootName':_0x1b5656});_0x70512c['push'](_0x442d94),_0x5ed9c6['markers']['set']('revision:'+_0x442d94['id'],_0xd31aa3);}function _0x26b83e(_0x23ca90,_0x1ad5d7){const _0x127ba9=_0x23ca90['getAttributes'](),_0x685666=_0x1ad5d7['getAttributes']();for(const _0x66e75 of _0x127ba9){if(_0x66e75[0x1]!==_0x1ad5d7['getAttribute'](_0x66e75[0x0]))return!0x1;_0x685666['next']();}return _0x685666['next']()['done'];}}['_setConversion'](){this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'revision'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision','view':_0x38fc57=>{const _0x591bf8=_0x38fc57['markerName']['split'](':')[0x1],_0x4336a0=this['_getChangeFromId'](_0x591bf8);if(!_0x4336a0)return null;const _0x406e1f='add'==_0x4336a0['type']?'insertion':'deletion',_0x366dd3=['ck-suggestion-marker','ck-suggestion-marker-'+_0x406e1f];return _0x4336a0['data']['isSuggestion']&&_0x366dd3['push']('ck-suggestion-marker-'+_0x406e1f+'-new'),this['activeChange']==_0x4336a0&&_0x366dd3['push']('ck-suggestion-marker--active'),{'classes':_0x366dd3,'attributes':{'data-change-id':_0x591bf8}};}}),this['editor']['conversion']['for']('upcast')['add'](_0x153c0b=>{_0x153c0b['on']('element:pre',(_0x48df35,_0x4ee9fc,_0x2cab72)=>{const _0x545664=_0x4ee9fc['viewItem']['getChild'](0x0);if(!_0x545664||!_0x545664['is']('element','code'))return;if(!_0x2cab72['consumable']['consume'](_0x545664,{'attributes':['vid_start','vid_end']}))return;const _0x46cc05=_0x4ee9fc['modelRange']['start']['nodeAfter'];_0x2cab72['writer']['setAttribute']('vid_start',_0x545664['getAttribute']('vid_start'),_0x46cc05),_0x2cab72['writer']['setAttribute']('vid_end',_0x545664['getAttribute']('vid_end'),_0x46cc05);},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['add'](_0x86e602=>{_0x86e602['on']('element',(_0x4280d4,_0x592316,_0x2b7a2b)=>{if(!_0x2b7a2b['consumable']['consume'](_0x592316['viewItem'],{'attributes':['vid_start','vid_end']}))return;if(_0x592316['modelRange']['isCollapsed'])return;const _0xfe8e07=_0x592316['modelRange']['start']['nodeAfter'];_0xfe8e07['hasAttribute']('vid_start')||_0xfe8e07['hasAttribute']('vid')||(_0x2b7a2b['writer']['setAttribute']('vid_start',_0x592316['viewItem']['getAttribute']('vid_start'),_0xfe8e07),_0x2b7a2b['writer']['setAttribute']('vid_end',_0x592316['viewItem']['getAttribute']('vid_end'),_0xfe8e07));},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['elementToAttribute']({'view':{'name':'span','attributes':{'vid':!0x0}},'model':{'key':'vid','value':_0x27097c=>_0x27097c['getAttribute']('vid')}}),this['editor']['model']['schema']['on']('checkAttribute',(_0x1d90e4,[,_0x574ddc])=>{['vid_start','vid_end','vid']['includes'](_0x574ddc)&&(_0x1d90e4['return']=!0x0,_0x1d90e4['stop']());},{'priority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['add'](_0x231a5a=>{_0x231a5a['on']('attribute:vid',(_0x5adac1,_0x16c257,_0x5704b1)=>{if('\x20'!=_0x16c257['item']['data']||_0x16c257['item']['parent']['maxOffset']>0x1)return;if(!_0x5704b1['consumable']['consume'](_0x16c257['item'],_0x5adac1['name']))return;const _0x3b16df=_0x5704b1['writer'],_0x436ae5=_0x5704b1['mapper']['toViewRange'](_0x16c257['range']);_0x3b16df['wrap'](_0x436ae5,_0x3b16df['createAttributeElement']('span'));});}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',function(_0x332159){const _0x46316a=_0x332159['plugins']['get']('RevisionViewer');return(_0x5f0256,_0x42c75d,_0x5e9081)=>{const _0x2ed007=_0x42c75d['markerName']['split'](':')[0x1],_0x30f38f=_0x46316a['_getChangeFromId'](_0x2ed007);if(!_0x30f38f)return null;const _0x390eca='add'==_0x30f38f['type']?'split':'merge';if(!_0x5e9081['consumable']['test'](_0x42c75d['markerRange'],_0x5f0256['name']))return;const _0x256a3f=_0x42c75d['markerRange']['getWalker'](),_0x37b92b=_0x42c75d['markerRange']['start'],_0x59ef29=_0x332159['model']['schema'];let _0x208d45=null,_0x5dbf01=null,_0x3761ba=!0x1,_0x365423=!0x1;for(const _0x4fe489 of _0x256a3f){const _0x11d131=_0x4fe489['item'];_0x3761ba=_0x3761ba||_0x59ef29['isContent'](_0x11d131);const _0x5461ba=_0x5e9081['mapper']['toViewElement'](_0x11d131);if(_0x5461ba&&_0x5461ba['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x4fe489['type']&&(_0x59ef29['isBlock'](_0x11d131)&&!_0x59ef29['isLimit'](_0x11d131)&&(_0x11d131['nextSibling']||_0x37b92b['isAtEnd']?_0x208d45&&_0x208d45['parent']==_0x11d131||(_0x208d45=_0x11d131,_0x4ecd0a(_0x4fe489['previousPosition']),_0x365423=!0x0):_0x5dbf01=_0x5dbf01||_0x4fe489['previousPosition']));}function _0x4ecd0a(_0x1672ae){const _0x1ad200=_0x5e9081['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x390eca}),_0x4bac5a=_0x5e9081['mapper']['toViewPosition'](_0x1672ae);_0x30f38f['data']['isSuggestion']&&_0x5e9081['writer']['addClass']('ck-suggestion-marker-'+_0x390eca+'-new',_0x1ad200),_0x46316a['activeChange']==_0x30f38f&&_0x5e9081['writer']['addClass']('ck-suggestion-marker--active',_0x1ad200),_0x5e9081['writer']['insert'](_0x4bac5a,_0x1ad200),_0x5e9081['mapper']['bindElementToMarker'](_0x1ad200,_0x42c75d['markerName']);}_0x3761ba||_0x365423||!_0x5dbf01||_0x4ecd0a(_0x5dbf01);};}(this['editor']),{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('removeMarker:revision',(_0x107a09,_0x4c6d7c,_0x16f519)=>{const _0x4173de=_0x16f519['mapper']['markerNameToElements'](_0x4c6d7c['markerName']);if(_0x4173de){for(const _0x4e9b78 of _0x4173de)(_0x4e9b78['hasClass']('ck-suggestion-marker-split')||_0x4e9b78['hasClass']('ck-suggestion-marker-merge'))&&(_0x16f519['mapper']['unbindElementFromMarkerName'](_0x4e9b78,_0x4c6d7c['markerName']),_0x16f519['writer']['remove'](_0x4e9b78));}},{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',(_0x5cdcf6,_0x515d83,_0x5a5626)=>{const _0x57e79c=_0x515d83['markerName']['split'](':')[0x1],_0x542ed3=this['_getChangeFromId'](_0x57e79c);if(!_0x542ed3)return null;const _0x3fa6cd='add'==_0x542ed3['type']?'split':'merge';if(_0x5a5626['consumable']['test'](_0x515d83['markerRange'],_0x5cdcf6['name']))for(const _0x2c90ee of _0x515d83['markerRange']['getItems']()){if(!_0x2c90ee['is']('element','softBreak'))continue;const _0x57eb6f=_0x5a5626['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x3fa6cd}),_0x4d0fcd=_0x5a5626['mapper']['toViewPosition'](this['editor']['model']['createPositionBefore'](_0x2c90ee));_0x542ed3['data']['isSuggestion']&&_0x5a5626['writer']['addClass']('ck-suggestion-marker-'+_0x3fa6cd+'-new',_0x57eb6f),this['activeChange']==_0x542ed3&&_0x5a5626['writer']['addClass']('ck-suggestion-marker--active',_0x57eb6f),_0x5a5626['writer']['insert'](_0x4d0fcd,_0x57eb6f),_0x5a5626['mapper']['bindElementToMarker'](_0x57eb6f,_0x515d83['markerName']);}},{'priority':'high'}),this['editor']['model']['document']['on']('change',()=>{this['editor']['editing']['view']['change'](_0x2fe0a3=>{for(const _0x17248d of this['editor']['model']['document']['getRootNames']()){const _0x20c698=this['editor']['model']['document']['getRoot'](_0x17248d),_0xd00fa9=this['editor']['editing']['view']['document']['getRoot'](_0x17248d);if(_0xd00fa9){const _0x50a14e=_0x20c698['getAttribute']('revisionHistoryAttachChange');if(_0x2fe0a3['removeAttribute']('data-change-id',_0xd00fa9),_0x2fe0a3['removeClass']('ck-revision-history-root-add',_0xd00fa9),_0x2fe0a3['removeClass']('ck-revision-history-root-remove',_0xd00fa9),_0x2fe0a3['removeClass']('ck-revision-history-root--active',_0xd00fa9),_0x50a14e){const _0x2b6c7a=this['_getChangeFromId'](_0x50a14e);if(!_0x2b6c7a)return null;_0x2fe0a3['setAttribute']('data-change-id',_0x50a14e,_0xd00fa9),_0x2fe0a3['addClass']('ck-revision-history-root-'+_0x2b6c7a['type'],_0xd00fa9),this['activeChange']==_0x2b6c7a&&_0x2fe0a3['addClass']('ck-revision-history-root--active',_0xd00fa9);}}}});}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'comment','model':_0x4ba780=>'revision-comment:'+_0x4ba780,'converterPriority':'highest'}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'suggestion','model':_0x51b64c=>'revision-suggestion:'+_0x51b64c,'converterPriority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision-suggestion','view':_0x2840a0=>({'name':'suggestion:'+_0x2840a0,'group':'revision-suggestion'}),'converterPriority':'highest'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision-suggestion','view':_0x4bcfd3=>{const _0x171258=_0x4bcfd3['markerName']['split'](':')[0x1];return'insertion'!=_0x171258&&'deletion'!=_0x171258?null:{'classes':['ck-suggestion-preview-marker','ck-suggestion-preview-marker-'+_0x171258]};}}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision-suggestion:deletion',et(this['editor'],'merge'),{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision-suggestion:insertion',et(this['editor'],'split'),{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('removeMarker:revision-suggestion',(_0x765d7b,_0x45d3fc,_0x1c43ff)=>{const _0x22db1e=_0x1c43ff['mapper']['markerNameToElements'](_0x45d3fc['markerName']);if(_0x22db1e){for(const _0x20a217 of _0x22db1e)_0x20a217['is']('uiElement')&&(_0x1c43ff['mapper']['unbindElementFromMarkerName'](_0x20a217,_0x45d3fc['markerName']),_0x1c43ff['writer']['remove'](_0x20a217));}},{'priority':'high'});}['_getChangeFromId'](_0x326ccc){return this['_changeIdToChange']['get'](_0x326ccc);}['_getViewForChange'](_0x13934a){return this['_changeView']&&this['_changeView']['destroy'](),this['_changeView']=new Z(this['editor']['locale'],_0x13934a),this['_changeView'];}['_initInteractions'](){this['editor']['model']['document']['selection']['observeMarkers']('revision'),this['on']('change:activeView',(_0xc88ccd,_0x3e7471,_0xe42480,_0x47d2ce)=>{_0x47d2ce&&this['_balloon']['remove'](_0x47d2ce),_0xe42480&&(this['_balloon']['add']({'view':_0xe42480,'stackId':'revisionHistoryLabel','position':{'target':()=>{const _0x1e606a=this['editor']['editing'],_0x3b1ff1=this['_getChangeFromId'](_0xe42480['changeId']);let _0xe0a1cc;if(_0x3b1ff1['data']['isOnRoot']){const _0x11962d=_0x1e606a['view']['getDomRoot'](_0x3b1ff1['rootName']);_0xe0a1cc=Array['from'](_0x11962d['getClientRects']());}else{const _0x114db6=this['editor']['model']['markers']['get']('revision:'+_0xe42480['changeId']);_0xe0a1cc=Array['from'](_0x1e606a['mapper']['markerNameToElements'](_0x114db6['name']))['map'](_0x2ecc6d=>_0x1e606a['view']['domConverter']['mapViewToDom'](_0x2ecc6d))['map'](_0x53136f=>Array['from'](_0x53136f['getClientRects']()))['flat']();}if(!this['_activeViewTarget'])return _0xe0a1cc[0x0];return _0xe0a1cc['find'](_0x8aa575=>_0x8aa575['top']-0x3<=this['_activeViewTarget']['y']&&_0x8aa575['bottom']+0x3>=this['_activeViewTarget']['y']&&_0x8aa575['left']-0x3<=this['_activeViewTarget']['x']&&_0x8aa575['right']+0x3>=this['_activeViewTarget']['x'])||_0xe0a1cc[0x0];}}}),this['_balloon']['showStack']('revisionHistoryLabel'));}),this['on']('change:activeChange',(_0x4018a9,_0x27bdb9,_0x109ca3,_0x4ba8f4)=>{this['activeView']=_0x109ca3?this['_getViewForChange'](_0x109ca3):null,this['editor']['model']['change'](()=>{const _0x53a9b3=this['editor']['editing'];_0x4ba8f4&&(_0x4ba8f4['data']['isOnRoot']?_0x53a9b3['view']['change'](_0x5ab14e=>{_0x5ab14e['removeClass']('ck-revision-history-root--active',_0x53a9b3['view']['document']['getRoot'](_0x4ba8f4['rootName']));}):_0x53a9b3['reconvertMarker']('revision:'+_0x4ba8f4['id'])),_0x109ca3&&(_0x109ca3['data']['isOnRoot']?_0x53a9b3['view']['change'](_0x512c42=>{_0x512c42['addClass']('ck-revision-history-root--active',_0x53a9b3['view']['document']['getRoot'](_0x109ca3['rootName']));}):_0x53a9b3['reconvertMarker']('revision:'+_0x109ca3['id']));});}),this['listenTo'](this['editor']['editing']['view']['document'],'mouseover',(_0x1a09cb,_0x154e11)=>{if(this['activeChange'])return;const _0x5e89b6=this['_findChangeIdFromDomTarget'](_0x154e11['target']),_0x51f355=this['_changeIdToChange']['get'](_0x5e89b6);_0x51f355?(this['_activeViewTarget']={'x':_0x154e11['domEvent']['x'],'y':_0x154e11['domEvent']['y']},this['activeView']=this['_getViewForChange'](_0x51f355)):(this['_activeViewTarget']=null,this['activeView']=null);}),this['listenTo'](this['editor']['editing']['view']['document'],'mousedown',(_0x6f6964,_0x9f2c09)=>{const _0x48ca37=this['_findChangeIdFromDomTarget'](_0x9f2c09['target']),_0x41bce4=this['_changeIdToChange']['get'](_0x48ca37);_0x41bce4?(this['_activeViewTarget']={'x':_0x9f2c09['domEvent']['x'],'y':_0x9f2c09['domEvent']['y']},_0x41bce4===this['activeChange']?this['_balloon']['updatePosition']():this['activeChange']=_0x41bce4):(this['_activeViewTarget']=null,this['activeChange']=null);});}['_findChangeIdFromDomTarget'](_0x1c67dc){do{const _0x5c5ee3=_0x1c67dc['getAttribute']('data-change-id');if(_0x5c5ee3)return _0x5c5ee3;_0x1c67dc=_0x1c67dc['parent'];}while(_0x1c67dc);return null;}['_cleanMarkers'](){this['editor']['model']['change'](_0x15f544=>{for(const _0x6b130b of this['editor']['model']['markers'])_0x15f544['removeMarker'](_0x6b130b);});}}function et(_0x94a573,_0xf3544e){return(_0x218a86,_0x2009f1,_0x4e921a)=>{if(!_0x4e921a['consumable']['test'](_0x2009f1['markerRange'],_0x218a86['name']))return;const _0x5bcdd4=_0x2009f1['markerRange']['getWalker'](),_0x3a0a46=_0x2009f1['markerRange']['start'],_0x24068f=_0x94a573['model']['schema'];let _0x33570a=null,_0x3103f4=null,_0x588baf=!0x1,_0x581244=!0x1;for(const _0x10fb14 of _0x5bcdd4){const _0xd81b0c=_0x10fb14['item'];_0x588baf=_0x588baf||_0x24068f['isContent'](_0xd81b0c);const _0x3b8ef8=_0x4e921a['mapper']['toViewElement'](_0xd81b0c);if(_0x3b8ef8&&_0x3b8ef8['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x10fb14['type']&&(_0x24068f['isBlock'](_0xd81b0c)&&!_0x24068f['isLimit'](_0xd81b0c)&&(_0xd81b0c['nextSibling']||_0x3a0a46['isAtEnd']?_0x33570a&&_0x33570a['parent']==_0xd81b0c||(_0x33570a=_0xd81b0c,_0x254985(_0x10fb14['previousPosition']),_0x581244=!0x0):_0x3103f4=_0x3103f4||_0x10fb14['previousPosition']));}function _0x254985(_0x204a82){const _0x3ab6b4=_0x4e921a['mapper']['toViewPosition'](_0x204a82),_0x59fce9=_0x4e921a['writer']['createUIElement']('span',{'class':'ck-suggestion-preview-marker-'+_0xf3544e});_0x4e921a['writer']['insert'](_0x3ab6b4,_0x59fce9),_0x4e921a['mapper']['bindElementToMarker'](_0x59fce9,_0x2009f1['markerName']);}_0x588baf||_0x581244||!_0x3103f4||_0x254985(_0x3103f4);};}class bt extends _0x52df47{constructor(_0x621571){super(_0x621571);const _0x5d9698=_0x621571['plugins']['get'](d);this['affectsData']=!0x1,this['listenTo'](_0x5d9698,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x5d9698,'change:isEnabled',()=>this['refresh']());}['execute'](){const _0x30c08d=this['editor'],_0x40bb95=_0x30c08d['plugins']['get'](d),_0x51cee4=_0x40bb95['isReady']?_0x40bb95['diff']['newRevisionId']:null;_0x30c08d['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x51cee4);}['refresh'](){const {isReady:_0xf4e87e,isEnabled:_0x316cc0}=this['editor']['plugins']['get'](d);this['isEnabled']=_0xf4e87e&&_0x316cc0;}}class yt extends _0x52df47{['_step'];constructor(_0x384599,{direction:_0x1f44bf}){super(_0x384599);const _0xcfb21f=_0x384599['plugins']['get'](d);this['affectsData']=!0x1,this['_step']='forward'===_0x1f44bf?0x1:-0x1,this['listenTo'](_0xcfb21f,'change:isReady',()=>this['refresh']()),this['listenTo'](_0xcfb21f,'change:isEnabled',()=>this['refresh']()),this['listenTo'](_0xcfb21f,'change:activeChange',()=>this['refresh']());}['execute'](){const _0x5e2804=this['editor'],_0x3d449a=_0x5e2804['plugins']['get'](d),{isNavigationMode:_0x4136fd,currentChangeNumber:_0xc86ff0}=_0x3d449a;let _0x1ea1bc;if(_0x3d449a['activeChange']=_0x4136fd?_0x3d449a['diff']['changes']['get'](_0xc86ff0+this['_step']):_0x3d449a['diff']['changes']['first'],_0x3d449a['activeChange']['data']['isOnRoot'])_0x1ea1bc=_0x5e2804['editing']['view']['getDomRoot'](_0x3d449a['activeChange']['rootName']);else{const _0x2333fd=_0x5e2804['model']['markers']['get']('revision:'+_0x3d449a['activeChange']['id']);_0x1ea1bc=_0x444f34(_0x5e2804['editing'],_0x2333fd);}_0x3fd308({'target':_0x1ea1bc,'viewportOffset':0x28});}['refresh'](){const {isNavigationMode:_0x3bb8fa,currentChangeNumber:_0x4df66c,numberOfChanges:_0x14a3ac,isReady:_0x607371,isEnabled:_0x50b82e}=this['editor']['plugins']['get'](d);this['isEnabled']=!!(_0x50b82e&&_0x607371&&_0x14a3ac)&&(!_0x3bb8fa||(0x1===this['_step']?_0x4df66c<_0x14a3ac-0x1:_0x4df66c>0x0));}}class _i extends _0x5804aa{constructor(_0x83a143){super(_0x83a143);const _0x53460a=this['bindTemplate'],_0x497efc=new _0xa1287(_0x83a143),_0x444ca4=new _0xa1287(_0x83a143);this['set']('isNavigationMode',!0x1),this['set']('isReady',!0x1),this['set']('currentChangeNumber',0x0),this['set']('numberOfChanges',0x0),this['set']('isForwardNavigationEnabled',!0x1),this['set']('isBackwardNavigationEnabled',!0x1),this['bind']('_isStatusLabelVisible')['to'](this,'isReady',this,'numberOfChanges',(_0x393086,_0x36e1a9)=>_0x393086&&_0x36e1a9>0x0),this['bind']('_statusText')['to'](this,'isReady',this,'currentChangeNumber',this,'numberOfChanges',this,'isNavigationMode',(_0x506de8,_0x3af76f,_0x429164,_0x29ecf2)=>{if(!_0x506de8)return y(_0x83a143,'Loading...');if(!_0x429164)return y(_0x83a143,'No\x20changes');const _0x117bd2=y(_0x83a143,'NUMBER_OF_CHANGES',_0x429164);return _0x29ecf2?y(_0x83a143,'X_OF_Y_CHANGES',[_0x3af76f+0x1,_0x429164]):_0x117bd2;}),_0x497efc['set']({'label':y(_0x83a143,'Show\x20previous\x20change'),'tooltip':!0x0,'icon':'<svg\x20viewBox=\x220\x200\x2020\x2020\x22\x20xmlns=\x22http://www.w3.org/2000/svg\x22><path\x20d=\x22M16.435\x2014.494a.75.75\x200\x200\x200\x201.197-.899l-.067-.089-6.992-8a.75.75\x200\x200\x200-1.05-.078l-.079.078-7.008\x208a.75.75\x200\x200\x200\x201.049\x201.066l.08-.078\x206.442-7.354\x206.428\x207.354z\x22/></svg>\x0a'}),_0x444ca4['set']({'label':y(_0x83a143,'Show\x20next\x20change'),'tooltip':!0x0,'icon':'<svg\x20viewBox=\x220\x200\x2020\x2020\x22\x20xmlns=\x22http://www.w3.org/2000/svg\x22><path\x20d=\x22M16.435\x205.506a.75.75\x200\x200\x201\x201.197.899l-.067.089-6.992\x208a.75.75\x200\x200\x201-1.05.078l-.079-.078-7.008-8a.75.75\x200\x200\x201\x201.049-1.066l.08.078\x206.442\x207.354\x206.428-7.354z\x22/></svg>\x0a'}),_0x497efc['bind']('isEnabled')['to'](this,'isBackwardNavigationEnabled'),_0x444ca4['bind']('isEnabled')['to'](this,'isForwardNavigationEnabled'),_0x497efc['on']('execute',()=>this['fire']('execute','backward')),_0x444ca4['on']('execute',()=>this['fire']('execute','forward')),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-revision-history-ui','ck-revision-history-ui__changes-navigation']},'children':[{'tag':'span','attributes':{'class':['ck-revision-history-ui__changes-navigation__wrapper']},'children':[{'tag':'span','attributes':{'class':['ck-revision-history-ui__changes-navigation__label',_0x53460a['if']('_isStatusLabelVisible','ck-hidden',_0x2b409d=>!_0x2b409d)]},'children':[{'text':_0x53460a['to']('isNavigationMode',_0x8222a6=>_0x8222a6?y(_0x83a143,'EDIT_X_OF_Y_REVISIONS')+':\x20':y(_0x83a143,'Total')+':\x20')}]},{'text':_0x53460a['to']('_statusText')}]},new _0x4ea959(),{'tag':'div','attributes':{'class':['ck-revision-history-ui__changes-navigation__navigation']},'children':[_0x497efc,_0x444ca4]}]});}}const ce='ck-editor__editable__loading-overlay';class de extends _0x3bc8af{static get['pluginName'](){return'RevisionViewerLoadingOverlay';}['show'](){const _0x1cdec4=this['editor']['editing']['view'];_0x1cdec4['change'](_0x53a7d8=>{for(const _0x602208 of _0x1cdec4['document']['roots'])_0x53a7d8['addClass'](ce,_0x602208);});}['hide'](){const _0x1ba2de=this['editor']['editing']['view'];_0x1ba2de['change'](_0x4639dc=>{for(const _0x269e66 of _0x1ba2de['document']['roots'])_0x4639dc['removeClass'](ce,_0x269e66);});}}class R extends _0x3bc8af{static get['pluginName'](){return'RevisionViewerUI';}static get['requires'](){return[d,de];}['init'](){const _0x577f10=this['editor'],_0x5719b8=_0x577f10['plugins']['get'](d),_0x27705f=_0x577f10['plugins']['get'](de);_0x577f10['ui']['componentFactory']['add']('exitToEditing',_0x915516=>{const _0x4c521=new _0xa1287(_0x915516);return _0x4c521['set']({'label':y(_0x915516,'Back\x20to\x20editing'),'icon':_0x18e07b['undo'],'withText':!0x0,'tooltip':!0x0,'class':'ck-revision-history-ui__back-to-editing'}),this['listenTo'](_0x4c521,'execute',()=>{_0x577f10['config']['get']('revisionHistory')['closeRevisionViewerCallback']();}),_0x4c521;}),_0x577f10['ui']['componentFactory']['add']('restoreRevision',_0x343152=>{const _0x2cedd8=new _0xa1287(_0x343152);return _0x2cedd8['set']({'label':y(_0x343152,'Restore\x20this\x20revision'),'withText':!0x0,'tooltip':!0x0}),_0x2cedd8['bind']('isEnabled')['to'](_0x577f10['commands']['get']('restoreRevision')),this['listenTo'](_0x2cedd8,'execute',()=>_0x577f10['execute']('restoreRevision')),_0x2cedd8;}),_0x577f10['ui']['componentFactory']['add']('changesNavigation',_0x112dd7=>{const _0x366a26=new _i(_0x112dd7),_0x2c9346=_0x577f10['commands']['get']('showPreviousChange'),_0x2e4fad=_0x577f10['commands']['get']('showNextChange');return _0x366a26['bind']('isBackwardNavigationEnabled')['to'](_0x2c9346,'isEnabled'),_0x366a26['bind']('isForwardNavigationEnabled')['to'](_0x2e4fad,'isEnabled'),_0x366a26['bind']('isReady','currentChangeNumber','numberOfChanges','isNavigationMode')['to'](_0x5719b8),this['listenTo'](_0x366a26,'execute',(_0xe7c793,_0x43766f)=>{_0x577f10['execute']('forward'===_0x43766f?'showNextChange':'showPreviousChange');}),_0x366a26;}),_0x27705f['show'](),_0x5719b8['on']('change:isReady',(_0x49e080,_0x16af35,_0xd211df)=>{_0xd211df?_0x27705f['hide']():_0x27705f['show']();});}}class kt extends at{['_resizeObserver']=null;constructor(_0x3820f9,_0x2dcdfe){super(_0x3820f9,_0x2dcdfe);const _0x5b2baa=this['bindTemplate'];this['set']({'label':y(_0x3820f9,'Revision\x20name'),'_tooltipString':''}),this['fieldView']['placeholder']=y(_0x3820f9,'Enter\x20the\x20revision\x20name'),this['extendTemplate']({'tag':'span','attributes':{'class':['ck-revision-history-sidebar__revision-name'],'data-cke-tooltip-text':_0x5b2baa['to']('_tooltipString'),'data-cke-tooltip-position':'s','data-cke-tooltip-class':'ck-tooltip_multi-line'}});}['render'](){super['render'](),this['_resizeObserver']=new mt(this['fieldView']['element'],()=>this['_updateTooltipText']()),this['listenTo'](this['fieldView'],'input',()=>this['_updateTooltipText']());}['destroy'](){super['destroy'](),this['_resizeObserver']&&this['_resizeObserver']['destroy']();}['_updateTooltipText'](){const _0x333b80=this['fieldView']['element'];this['_tooltipString']=_0x333b80['scrollWidth']>_0x333b80['clientWidth']&&_0x333b80['value']||'';}}class ti extends _0x5804aa{constructor(_0x114aec,_0x2fd1cf,_0x1f29ea){super(_0x114aec);const _0x6175a7=new _0x3b2b08();_0x6175a7['set']({'content':'<svg\x20viewBox=\x220\x200\x2011\x2010\x22\x20xmlns=\x22http://www.w3.org/2000/svg\x22\x20xmlns:xlink=\x22http://www.w3.org/1999/xlink\x22><path\x20d=\x22M5.5\x205C8.538\x205\x2011\x207.015\x2011\x209.5c0\x20.17-.011.336-.034.5H.034A3.732\x203.732\x200\x200\x201\x200\x209.5C0\x207.015\x202.462\x205\x205.5\x205zm0-5a2.5\x202.5\x200\x201\x201\x200\x205\x202.5\x202.5\x200\x200\x201\x200-5z\x22\x20/></svg>\x0a','viewBox':'0\x200\x2011\x2010'});const _0x54304f=['ck','ck-revision-history-sidebar__revision-author'];_0x1f29ea&&_0x54304f['push']('ck-revision-history-sidebar__revision-author_creator');const _0x2269bd=[{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__revision-author__name'],'title':y(_0x114aec,_0x1f29ea?'Revision\x20creator':'Revision\x20author')},'children':[_0x6175a7,_0x2fd1cf['name']]}];this['setTemplate']({'tag':'li','attributes':{'class':_0x54304f},'children':_0x2269bd});}}function ni(_0x7df39a,_0x5391d4){const _0x31b888=_0x7df39a['bindTemplate'],_0x28f516=_0x7df39a['locale'],_0x4de7c4=_0x54d2f5(_0x28f516);_0x4de7c4['panelPosition']='sw';const _0x280b74=function(_0x213a38,_0x3023bc){const _0xf68a64=function(_0x8d3561,_0x585f6b){const _0x10877a=_0x8d3561['locale'],_0x4655ab={'Compare\x20against\x20selected':y(_0x10877a,'Compare\x20against\x20selected'),'Name\x20this\x20revision':y(_0x10877a,'Name\x20this\x20revision'),'Restore\x20this\x20revision':y(_0x10877a,'Restore\x20this\x20revision')};return _0x585f6b['map'](_0x7d88ff=>{const _0x297b5a=_0x4655ab[_0x7d88ff['name']];return _0x297b5a&&_0x297b5a!==_0x7d88ff['name']&&(_0x7d88ff['name']=_0x297b5a),_0x7d88ff;});}(_0x213a38,_0x3023bc),_0x546f99=new _0x141ac7();for(const _0x2b5802 of _0xf68a64){const _0x2c7dc5={'type':'button','model':new to({'label':_0x2b5802['name'],'class':_0x2b5802['class'],'withText':!0x0,'role':'menuitem','_action':_0x2b5802['action']})};_0x2c7dc5['model']['bind']('isEnabled')['to'](_0x213a38,'isActionsDropdownOpen',_0x487060=>'function'!=typeof _0x2b5802['isEnabled']||(!_0x487060||_0x2b5802['isEnabled'](_0x213a38))),_0x546f99['add'](_0x2c7dc5);}return _0x546f99;}(_0x7df39a,_0x5391d4);return _0x7df39a['bind']('isActionsDropdownOpen')['to'](_0x4de7c4,'isOpen'),_0x4de7c4['buttonView']['set']({'label':y(_0x28f516,'Show\x20more\x20items'),'tooltip':!0x0,'tooltipPosition':'sw','icon':_0x18e07b['threeVerticalDots']}),_0x4de7c4['extendTemplate']({'attributes':{'class':['ck-revision-history-sidebar__revision__actions',_0x31b888['if']('isActionsDropdownOpen','ck-on')]},'on':{'click':_0x31b888['to'](_0x5e60df=>_0x5e60df['stopPropagation']())}}),_0x4de7c4['on']('execute',_0x1cd93e=>{_0x7df39a['isReady']&&'function'==typeof _0x1cd93e['source']['_action']&&_0x1cd93e['source']['_action'](_0x7df39a);}),_0x766eeb(_0x4de7c4,_0x280b74,{'role':'menu'}),_0x4de7c4['listenTo'](_0x7df39a,'change:isActionsDropdownOpen',(_0x159d37,_0x5d9c59,_0x1ce6bb)=>{if(_0x1ce6bb)for(const _0x2abbe4 of _0x4de7c4['listView']['items']){const _0x77fdb1=_0x2abbe4['children']['first'],_0x45567c=_0x5391d4['find'](_0x59257e=>_0x59257e['action']===_0x77fdb1['_action'])['isVisible'];_0x2abbe4['isVisible']=void 0x0===_0x45567c||_0x45567c(_0x7df39a);}}),_0x4de7c4;}class ai extends/* #__PURE__ -- @preserve */
26
- _0x2d57c6(_0x5804aa){['id'];['revisionNameView'];['revisionActionsView'];['_revision'];['_requireRevisionName'];constructor(_0x29ad47,_0x423b67,_0x5a3607,_0x1a7a04){super(_0x29ad47);const _0x2fee8c=this['bindTemplate'],_0x48f008=function(_0x3b4375,_0x3c0d36){const _0x403712=Array['from'](_0x3c0d36['authors'])['filter'](_0x20bd74=>_0x20bd74!=_0x3c0d36['creator']);return _0x3c0d36['creator']&&_0x403712['unshift'](_0x3c0d36['creator']),_0x403712['map'](_0x3e97a8=>new ti(_0x3b4375,_0x3e97a8,_0x3e97a8==_0x3c0d36['creator']));}(_0x29ad47,_0x423b67);this['id']=_0x423b67['id'],this['_revision']=_0x423b67,this['_requireRevisionName']=_0x1a7a04,this['bind']('name','createdAt')['to'](_0x423b67),this['bind']('_createdAtFormatted')['to'](this,'createdAt',_0xfb4b2=>{return _0xdfb1a7=_0x29ad47['uiLanguage'],(_0xba0043=_0xfb4b2)['toLocaleDateString'](_0xdfb1a7,{'month':'long','day':'numeric'})+',\x20'+_0xba0043['toLocaleTimeString'](_0xdfb1a7,{'hour':'numeric','minute':'numeric'});var _0xdfb1a7,_0xba0043;}),this['set']('isSelected',!0x1),this['set']('isHighlighted',!0x1),this['set']('isActionsDropdownOpen',!0x1),this['set']('isReady',!0x1),this['set']('isEnabled',!0x1),this['revisionNameView']=new kt(_0x29ad47,_0x3b77d0),this['revisionNameView']['fieldView']['extendTemplate']({'attributes':{'maxlength':'220'}}),this['revisionNameView']['fieldView']['bind']('value')['to'](this,'name',_0x26e557=>_0x26e557||this['_createdAtFormatted']),this['revisionNameView']['bind']('isEnabled')['to'](this,'isSelected',this,'isEnabled',(_0x2b7f0b,_0x37a819)=>_0x2b7f0b&&_0x37a819),this['revisionActionsView']=_0x5a3607&&_0x5a3607['length']?ni(this,_0x5a3607):'',this['revisionActionsView']&&this['revisionActionsView']['bind']('isEnabled')['to'](this),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision-wrapper',_0x2fee8c['if']('isConfirm','ck-revision-history-sidebar__revision-wrapper_confirmation_visible')]},'children':[{'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision',_0x2fee8c['if']('isEnabled','ck-disabled',_0x4d4b3b=>!_0x4d4b3b),_0x2fee8c['if']('isSelected','ck-revision-history-sidebar__revision_selected'),_0x2fee8c['if']('isHighlighted','ck-revision-history-sidebar__revision_highlighted'),_0x2fee8c['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':_0x2fee8c['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':_0x48f008}]},this['revisionActionsView']],'on':{'click':_0x2fee8c['to'](_0x3d4be9=>{_0x3d4be9['srcElement']['closest']('.ck-thread__remove-confirm')||this['isReady']&&this['isEnabled']&&this['fire']('select',{'id':this['id']});})}}]});}['render'](){super['render']();const _0x550069=this['revisionNameView']['fieldView']['element'];this['listenTo'](_0x550069,'change',()=>{this['_requireRevisionName']&&!_0x550069['value']||this['fire']('setName',{'id':this['id'],'name':_0x550069['value']}),_0x550069['value']||(_0x550069['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(_0x2d2b13,_0x2aaa1f){const _0x52b3a0=_0x4a009a['fromJSDate'](_0x2d2b13)['setLocale'](_0x2aaa1f),_0x4478bf=_0x4a009a['local'](),_0x497d54=_0x4478bf['minus']({'days':0x1})['startOf']('day');let _0x3952fb,_0x224901;return _0x52b3a0['hasSame'](_0x4478bf,'day')?(_0x3952fb=_0x52b3a0['startOf']('day')['toJSDate'](),_0x224901=_0x52b3a0['toRelativeCalendar']()):_0x52b3a0['hasSame'](_0x497d54,'day')?(_0x3952fb=_0x497d54['toJSDate'](),_0x224901=_0x52b3a0['toRelativeCalendar']()):_0x52b3a0['hasSame'](_0x4478bf,'week')?(_0x3952fb=_0x52b3a0['startOf']('week')['toJSDate'](),_0x224901=_0x52b3a0['weekdayLong']||''):_0x52b3a0['hasSame'](_0x4478bf,'year')?(_0x3952fb=_0x52b3a0['startOf']('month')['toJSDate'](),_0x224901=_0x52b3a0['monthLong']||''):(_0x3952fb=_0x52b3a0['startOf']('year')['toJSDate'](),_0x224901=String(_0x52b3a0['year'])),{'startDate':_0x3952fb,'localizedPeriodName':_0x224901};}class mi extends _0x5804aa{['startDate'];['revisionViews'];['_revisionActions'];['_requireRevisionName'];constructor(_0x4c968d,_0x172aea,_0x368f40,_0x2df412){super(_0x4c968d);const _0x4a29fe=di(_0x172aea,this['locale']['uiLanguage'])['localizedPeriodName'];this['startDate']=_0x172aea,this['revisionViews']=this['createCollection'](),this['_revisionActions']=_0x368f40,this['_requireRevisionName']=_0x2df412,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':_0x4a29fe}]},{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__time-period__revisions']},'children':this['revisionViews']}]});}['addRevision'](_0x357dd6){const _0x4c405b=new ai(this['locale'],_0x357dd6,this['_revisionActions'],this['_requireRevisionName']);this['revisionViews']['add'](_0x4c405b);}['removeRevision'](_0x417a1b){const _0x44e6b4=this['revisionViews']['find'](_0x12d1e3=>_0x12d1e3['id']===_0x417a1b['id']);this['revisionViews']['remove'](_0x44e6b4);}}class as extends _0x5804aa{constructor(_0x1b0ec5){super(_0x1b0ec5);const _0x5ef46b=new _0x3b2b08();_0x5ef46b['content']=_0x18e07b['history'],this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all','ck-revision-history-sidebar__header']},'children':[_0x5ef46b,{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__header__label']},'children':[y(_0x1b0ec5,'Revision\x20history')]}]});}}class ci extends _0x5804aa{['timePeriodViews'];['_revisions'];['_revisionActions'];['_requireRevisionName'];constructor(_0x5bb26d,_0x5eb43c,_0x51f4f8,_0x10d0b0){super(_0x5bb26d);const _0x5bbfac=this['bindTemplate'];this['timePeriodViews']=this['createCollection'](),this['timePeriodViews']['delegate']('select')['to'](this),this['timePeriodViews']['delegate']('setName')['to'](this),this['_revisions']=_0x5eb43c,this['_revisionActions']=_0x51f4f8,this['_requireRevisionName']=_0x10d0b0,this['on']('select',(_0x46834f,_0x4f59e1)=>{this['fire']('revisionSelected',_0x4f59e1);}),this['on']('setName',(_0x4a7dc3,_0x540479)=>{this['fire']('revisionSetName',_0x540479);}),this['set']('isEnabled',!0x1),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-rounded-corners','ck-revision-history-sidebar']},'children':[new as(_0x5bb26d),{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__timeline',_0x5bbfac['if']('isEnabled','ck-disabled',_0x2982a3=>!_0x2982a3)]},'children':this['timePeriodViews']}]});}['render'](){super['render']();for(const _0x408713 of this['_revisions'])this['_addRevision'](_0x408713);this['_revisions']['on']('add',(_0x5d2ffa,_0x540179)=>{this['_addRevision'](_0x540179);}),this['_revisions']['on']('remove',(_0x1198a9,_0x3038b8)=>{this['_removeRevision'](_0x3038b8);});}get['revisionViews'](){return this['timePeriodViews']['map'](_0x130424=>_0x130424['revisionViews']['map'](_0x5968fc=>_0x5968fc))['flat']();}['selectRevision'](_0x10eb7c){for(const _0x151d86 of this['revisionViews'])_0x10eb7c&&_0x10eb7c['id']===_0x151d86['id']?_0x151d86['select']():_0x151d86['deselect']();}['highlightRevisions'](_0x4a2b4d){for(const _0x749954 of this['revisionViews'])_0x4a2b4d['some'](({id:_0x481233})=>_0x481233===_0x749954['id'])?_0x749954['highlight']():_0x749954['unhighlight']();}['_addRevision'](_0x1bc90f){const _0xd1efca=di(_0x1bc90f['createdAt'],this['locale']['uiLanguage'])['startDate'];let _0x5187fe=this['timePeriodViews']['get'](0x0);_0x5187fe&&_0x5187fe['startDate']['getTime']()===_0xd1efca['getTime']()||(_0x5187fe=new mi(this['locale'],_0xd1efca,this['_revisionActions'],this['_requireRevisionName']),this['timePeriodViews']['add'](_0x5187fe)),_0x5187fe['addRevision'](_0x1bc90f);}['_removeRevision'](_0x36857a){const _0x2b24a9=di(_0x36857a['createdAt'],this['locale']['uiLanguage'])['startDate'];this['_getTimePeriodViewByStartDate'](_0x2b24a9)['removeRevision'](_0x36857a);}['_getTimePeriodViewByStartDate'](_0x7e037e){return this['timePeriodViews']['find'](_0x3f7f46=>_0x3f7f46['startDate']['getTime']()===_0x7e037e['getTime']());}}class w extends _0x3bc8af{['_revisionViewer'];['_revisionsRepository'];['_sidebarView'];static ['defaultRevisionActions']=/* #__PURE__ -- @preserve */
23
+ import{Plugin as _0x4595fe,Context as _0x37b604,PendingActions as _0x22bc4a,icons as _0x28a782,Command as _0x3e7edf,ElementApiMixin as rt,Editor as it}from'@ckeditor/ckeditor5-core/dist/index.js';import{ObservableMixin as _0x2854fa,uid as _0x2a85a0,Collection as _0x5c58fb,logWarning as _0x55fd6e,FocusTracker as _0x3f2c27,KeystrokeHandler as _0x2f32ff,scrollViewportToShowTarget as _0x38f60a,ResizeObserver as mt,ElementReplacer as nt,CKEditorError as _0x348cbf}from'@ckeditor/ckeditor5-utils/dist/index.js';import{Users as _0x5044de,getMarkerDomElement as _0x40d4c2,ConfirmMixin as _0x3558f0,sanitizeEditorConfig as _0x12f34e}from'ckeditor5-collaboration/dist/index.js';import{ViewDocumentFragment as _0x1f697b,ViewText as _0x504dd3,ViewElement as _0x624aef,Element as ft,Range as vt,Position as gt,DocumentFragment as wt,ViewContainerElement as _0x21b9af,ViewAttributeElement as _0x385ec0,ViewEmptyElement as _0x35f7e1,ViewRawElement as _0x2205cd,ViewUIElement as _0x3f8852,Text as _t}from'@ckeditor/ckeditor5-engine/dist/index.js';import{cloneDeep as _0x48276e,set as _0x578df2,unset as _0x2c1c04,isEqual as _0x701cc5}from'lodash-es';import{View as _0x4974b8,injectCssTransitionDisabler as ts,submitHandler as _0x54cf56,LabeledFieldView as at,createLabeledInputText as _0x3f7270,createDropdown as _0x392660,ListView as te,ListItemView as _0x9861a7,ButtonView as _0x21e96e,MenuBarMenuView as _0x27f2db,MenuBarMenuListView as _0x1dd04f,MenuBarMenuListItemView as _0x457de9,MenuBarMenuListItemButtonView as _0xc07549,ContextualBalloon as _0x3728f7,ToolbarSeparatorView as _0x1ef7b7,IconView as _0x1aef54,addListToDropdown as _0x5dc3d9,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 _0x41005a}from'luxon';class a extends/* #__PURE__ -- @preserve */
24
+ _0x2854fa(){['id'];['creator'];['authors'];['diffData'];['toVersion'];['fromVersion'];['model'];constructor(_0x161a97){super(),this['id']=_0x161a97['id']||_0x2a85a0(),this['creator']=_0x161a97['creator']||null,this['authors']=_0x161a97['authors']||[],this['diffData']=_0x161a97['diffData']||null,this['toVersion']=_0x161a97['toVersion']||0x0,this['fromVersion']=_0x161a97['fromVersion']||0x0,this['set']('name',_0x161a97['name']||''),this['set']('createdAt',_0x161a97['createdAt']||new Date()),this['set']('attributes',_0x161a97['attributes']||{});}['setName'](_0x31154c){this['_update']({'name':_0x31154c});}['setAttribute'](_0x3887f0,_0x426b4f){const _0x12f901=_0x48276e(this['attributes']);_0x578df2(_0x12f901,_0x3887f0,_0x426b4f),this['_update']({'attributes':_0x12f901});}['removeAttribute'](_0x5f751f){const _0x5c551e=_0x48276e(this['attributes']);_0x2c1c04(_0x5c551e,_0x5f751f),this['_update']({'attributes':_0x5c551e});}['_update'](_0xec5928,_0x4c5e11=!0x1){let _0x5991ce=!0x1;const _0x1273ef={'id':this['id']},_0x9cac77=['name','createdAt','diffData','authors','attributes','toVersion','fromVersion','creatorId'];for(const _0x5d78d3 of _0x9cac77){const _0xbd64ea=_0xec5928[_0x5d78d3];void 0x0!==_0xbd64ea&&_0xbd64ea!==this[_0x5d78d3]&&(this[_0x5d78d3]=_0xbd64ea,_0x1273ef[_0x5d78d3]=_0xbd64ea,_0x5991ce=!0x0);}_0x5991ce&&(_0x1273ef['authors']&&(_0x1273ef['authorsIds']=_0x1273ef['authors']['map'](_0x435b44=>_0x435b44['id']),delete _0x1273ef['authors']),this['fire']('_update',_0x1273ef,_0x4c5e11));}['toJSON'](){return{'id':this['id'],'name':this['name'],'creatorId':this['creator']?this['creator']['id']:null,'authorsIds':this['authors']['map'](_0xeacaf0=>_0xeacaf0['id']),'diffData':this['diffData'],'createdAt':this['createdAt'],'attributes':this['attributes'],'fromVersion':this['fromVersion'],'toVersion':this['toVersion']};}}class A extends _0x4595fe{['_revisions'];static get['requires'](){return[_0x5044de];}static get['pluginName'](){return'RevisionsRepository';}get['length'](){return this['_revisions']['length'];}constructor(_0x111761){super(_0x111761),this['_revisions']=new _0x5c58fb();}['afterInit'](){!function(_0x1478f4){function _0x4f5628(_0xd0754f,_0x5e3176,_0x6b967f){const _0x3e7559={};_0x3e7559[_0x2f3aad([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])]={0x10:0xa,0x18:0xc,0x20:0xe},_0x3e7559[_0x2f3aad([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],_0x3e7559[_0x2f3aad([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],_0x3e7559[_0x2f3aad([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],_0x3e7559[_0x2f3aad([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],_0x3e7559[_0x2f3aad([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],_0x3e7559[_0x2f3aad([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],_0x3e7559[_0x2f3aad([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],_0x3e7559[_0x2f3aad([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],_0x3e7559[_0x2f3aad([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],_0x3e7559[_0x2f3aad([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 _0x34398f=new Uint8Array(0x10);for(let _0x51ef46=0xf;_0x51ef46>=0x0;--_0x51ef46)_0x34398f[_0x51ef46]=_0x6b967f%0x100,_0x6b967f=parseInt(_0x6b967f/0x100);let _0x5b4a91=null,_0x112756=0x10;const _0x53221e=new Uint8Array(_0x5e3176),_0x35257d=[],_0x267545=[];_0x2cabd1();for(let _0x184831=0x0;_0x184831<_0xd0754f[_0x2f3aad([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x184831++)0x10===_0x112756&&(_0x5b4a91=_0x197054(_0x34398f),_0x112756=0x0,_0x220f67(_0x34398f)),_0xd0754f[_0x184831]^=_0x5b4a91[_0x112756++];return _0xd0754f;function _0xba9281(_0x580494){const _0x434877=[];for(let _0x31b5bc=0x0;_0x31b5bc<_0x580494[_0x2f3aad([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x31b5bc+=0x4)_0x434877[_0x2f3aad([0x70,0x75,0x73,0x68])](_0x580494[_0x31b5bc]<<0x18|_0x580494[_0x31b5bc+0x1]<<0x10|_0x580494[_0x31b5bc+0x2]<<0x8|_0x580494[_0x31b5bc+0x3]);return _0x434877;}function _0x220f67(_0x4ee02d){for(let _0x334889=0xf;_0x334889>=0x0;_0x334889--){if(0xff!==_0x4ee02d[_0x334889]){_0x4ee02d[_0x334889]++;break;}_0x4ee02d[_0x334889]=0x0;}}function _0x197054(_0xba5edf){const _0x3d90d3=_0x35257d[_0x2f3aad([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x1,_0x33baf2=[0x0,0x0,0x0,0x0];let t=_0xba9281(_0xba5edf);for(let _0x3492ff=0x0;_0x3492ff<0x4;_0x3492ff++)t[_0x3492ff]^=_0x35257d[0x0][_0x3492ff];for(let _0x49e5ee=0x1;_0x49e5ee<_0x3d90d3;_0x49e5ee++){for(let _0x1db13c=0x0;_0x1db13c<0x4;_0x1db13c++)_0x33baf2[_0x1db13c]=_0x3e7559[_0x2f3aad([0x54,0x31])][t[_0x1db13c]>>0x18&0xff]^_0x3e7559[_0x2f3aad([0x54,0x32])][t[(_0x1db13c+0x1)%0x4]>>0x10&0xff]^_0x3e7559[_0x2f3aad([0x54,0x33])][t[(_0x1db13c+0x2)%0x4]>>0x8&0xff]^_0x3e7559[_0x2f3aad([0x54,0x34])][0xff&t[(_0x1db13c+0x3)%0x4]]^_0x35257d[_0x49e5ee][_0x1db13c];t=_0x33baf2[_0x2f3aad([0x73,0x6c,0x69,0x63,0x65])]();}const _0x3e48e5=new Uint8Array(0x10);let _0x237695;for(let _0x4d7449=0x0;_0x4d7449<0x4;_0x4d7449++)_0x237695=_0x35257d[_0x3d90d3][_0x4d7449],_0x3e48e5[0x4*_0x4d7449]=0xff&(_0x3e7559[_0x2f3aad([0x53])][t[_0x4d7449]>>0x18&0xff]^_0x237695>>0x18),_0x3e48e5[0x4*_0x4d7449+0x1]=0xff&(_0x3e7559[_0x2f3aad([0x53])][t[(_0x4d7449+0x1)%0x4]>>0x10&0xff]^_0x237695>>0x10),_0x3e48e5[0x4*_0x4d7449+0x2]=0xff&(_0x3e7559[_0x2f3aad([0x53])][t[(_0x4d7449+0x2)%0x4]>>0x8&0xff]^_0x237695>>0x8),_0x3e48e5[0x4*_0x4d7449+0x3]=0xff&(_0x3e7559[_0x2f3aad([0x53])][0xff&t[(_0x4d7449+0x3)%0x4]]^_0x237695);return _0x3e48e5;}function _0x2cabd1(){const _0x383813=_0x3e7559[_0x2f3aad([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])][_0x53221e[_0x2f3aad([0x6c,0x65,0x6e,0x67,0x74,0x68])]];for(let _0x53e5ab=0x0;_0x53e5ab<=_0x383813;_0x53e5ab++)_0x35257d[_0x2f3aad([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]),_0x267545[_0x2f3aad([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]);const _0x2a082d=0x4*(_0x383813+0x1),_0x1c7844=_0x53221e[_0x2f3aad([0x6c,0x65,0x6e,0x67,0x74,0x68])]/0x4,_0x194ce7=_0xba9281(_0x53221e);let _0x2a233f;for(let _0x37f967=0x0;_0x37f967<_0x1c7844;_0x37f967++)_0x2a233f=_0x37f967>>0x2,_0x35257d[_0x2a233f][_0x37f967%0x4]=_0x194ce7[_0x37f967],_0x267545[_0x383813-_0x2a233f][_0x37f967%0x4]=_0x194ce7[_0x37f967];let _0x1ade52,_0x32cd89=0x0,t=_0x1c7844;for(;t<_0x2a082d;){_0x1ade52=_0x194ce7[_0x1c7844-0x1],_0x194ce7[0x0]^=_0x3e7559[_0x2f3aad([0x53])][_0x1ade52>>0x10&0xff]<<0x18^_0x3e7559[_0x2f3aad([0x53])][_0x1ade52>>0x8&0xff]<<0x10^_0x3e7559[_0x2f3aad([0x53])][0xff&_0x1ade52]<<0x8^_0x3e7559[_0x2f3aad([0x53])][_0x1ade52>>0x18&0xff]^_0x3e7559[_0x2f3aad([0x72,0x63,0x6f,0x6e])][_0x32cd89]<<0x18,_0x32cd89+=0x1;for(let _0x3352b7=0x1;_0x3352b7<_0x1c7844/0x2;_0x3352b7++)_0x194ce7[_0x3352b7]^=_0x194ce7[_0x3352b7-0x1];_0x1ade52=_0x194ce7[_0x1c7844/0x2-0x1],_0x194ce7[_0x1c7844/0x2]^=_0x3e7559[_0x2f3aad([0x53])][0xff&_0x1ade52]^_0x3e7559[_0x2f3aad([0x53])][_0x1ade52>>0x8&0xff]<<0x8^_0x3e7559[_0x2f3aad([0x53])][_0x1ade52>>0x10&0xff]<<0x10^_0x3e7559[_0x2f3aad([0x53])][_0x1ade52>>0x18&0xff]<<0x18;for(let _0x14ecb5=_0x1c7844/0x2+0x1;_0x14ecb5<_0x1c7844;_0x14ecb5++)_0x194ce7[_0x14ecb5]^=_0x194ce7[_0x14ecb5-0x1];let _0x47bba9,_0x1afa64,_0x2d2e2f=0x0;for(;_0x2d2e2f<_0x1c7844&&t<_0x2a082d;)_0x47bba9=t>>0x2,_0x1afa64=t%0x4,_0x35257d[_0x47bba9][_0x1afa64]=_0x194ce7[_0x2d2e2f],_0x267545[_0x383813-_0x47bba9][_0x1afa64]=_0x194ce7[_0x2d2e2f++],t++;}for(let _0x5208ba=0x1;_0x5208ba<_0x383813;_0x5208ba++)for(let _0x3372a2=0x0;_0x3372a2<0x4;_0x3372a2++)_0x1ade52=_0x267545[_0x5208ba][_0x3372a2],_0x267545[_0x5208ba][_0x3372a2]=_0x3e7559[_0x2f3aad([0x55,0x31])][_0x1ade52>>0x18&0xff]^_0x3e7559[_0x2f3aad([0x55,0x32])][_0x1ade52>>0x10&0xff]^_0x3e7559[_0x2f3aad([0x55,0x33])][_0x1ade52>>0x8&0xff]^_0x3e7559[_0x2f3aad([0x55,0x34])][0xff&_0x1ade52];}}function _0x2f3aad(_0x48777d){return _0x48777d['map'](_0x364ca9=>String['fromCharCode'](_0x364ca9))['join']('');}(_0x5a4c30=>{function _0x4e6a88(){const _0x1b4ad1=[{[_0x2f3aad([0x69,0x64])]:0x1,[_0x2f3aad([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x2f3aad([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73]),[_0x2f3aad([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x2f3aad([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x2f3aad([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x2f3aad([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x2f3aad([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x2f3aad([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x2f3aad([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]:[{[_0x2f3aad([0x69,0x64])]:0x2,[_0x2f3aad([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x2f3aad([0x54,0x72,0x61,0x63,0x6b,0x20,0x43,0x68,0x61,0x6e,0x67,0x65,0x73]),[_0x2f3aad([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x2f3aad([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x2f3aad([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x2f3aad([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x2f3aad([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x2f3aad([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]),[_0x2f3aad([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x2f3aad([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x2f3aad([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x2f3aad([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}}],[_0x2f3aad([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x2f3aad([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x2f3aad([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x2f3aad([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x2f3aad([0x69,0x64])]:0x3,[_0x2f3aad([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x2f3aad([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e]),[_0x2f3aad([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x2f3aad([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x6f,0x6f,0x6b,0x75,0x70]),[_0x2f3aad([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x2f3aad([0x70,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x2f3aad([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x2f3aad([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x2f3aad([0x69,0x64])]:0x4,[_0x2f3aad([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x2f3aad([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x20,0x48,0x69,0x73,0x74,0x6f,0x72,0x79]),[_0x2f3aad([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x2f3aad([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x2f3aad([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x2f3aad([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x2f3aad([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x2f3aad([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]),[_0x2f3aad([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x2f3aad([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x2f3aad([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x2f3aad([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x2f3aad([0x69,0x64])]:0x5,[_0x2f3aad([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x2f3aad([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x20,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65]),[_0x2f3aad([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x2f3aad([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65,0x55,0x49]),[_0x2f3aad([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x2f3aad([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]),[_0x2f3aad([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x2f3aad([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x2f3aad([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x2f3aad([0x66,0x67,0x69])]:[0xc]}},{[_0x2f3aad([0x69,0x64])]:0x6,[_0x2f3aad([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x2f3aad([0x46,0x6f,0x72,0x6d,0x61,0x74,0x20,0x50,0x61,0x69,0x6e,0x74,0x65,0x72]),[_0x2f3aad([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x2f3aad([0x46,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x55,0x49]),[_0x2f3aad([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x2f3aad([0x66,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x2f3aad([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x2f3aad([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x2f3aad([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x2f3aad([0x66,0x67,0x69])]:[0xc]}},{[_0x2f3aad([0x69,0x64])]:0x7,[_0x2f3aad([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x2f3aad([0x53,0x6c,0x61,0x73,0x68,0x20,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64]),[_0x2f3aad([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x2f3aad([0x53,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x55,0x49]),[_0x2f3aad([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x2f3aad([0x73,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x2f3aad([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x2f3aad([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x2f3aad([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x2f3aad([0x66,0x67,0x69])]:[0xc]}},{[_0x2f3aad([0x69,0x64])]:0x8,[_0x2f3aad([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x2f3aad([0x54,0x61,0x62,0x6c,0x65,0x20,0x6f,0x66,0x20,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73]),[_0x2f3aad([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x2f3aad([0x54,0x61,0x62,0x6c,0x65,0x4f,0x66,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x2f3aad([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x2f3aad([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]),[_0x2f3aad([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x2f3aad([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x2f3aad([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x2f3aad([0x66,0x67,0x69])]:[0xc]}},{[_0x2f3aad([0x69,0x64])]:0x9,[_0x2f3aad([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x2f3aad([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65]),[_0x2f3aad([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x2f3aad([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x55,0x49]),[_0x2f3aad([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x2f3aad([0x74,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x2f3aad([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x2f3aad([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x2f3aad([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x2f3aad([0x66,0x67,0x69])]:[0xc,0xe]}},{[_0x2f3aad([0x69,0x64])]:0xa,[_0x2f3aad([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x2f3aad([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]),[_0x2f3aad([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x2f3aad([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]),[_0x2f3aad([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x2f3aad([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]),[_0x2f3aad([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x2f3aad([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x2f3aad([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x2f3aad([0x66,0x67,0x69])]:[0xc]}},{[_0x2f3aad([0x69,0x64])]:0xb,[_0x2f3aad([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x2f3aad([0x41,0x49,0x20,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74]),[_0x2f3aad([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x2f3aad([0x41,0x49,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74,0x55,0x49]),[_0x2f3aad([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x2f3aad([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x2f3aad([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x2f3aad([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x2f3aad([0x69,0x64])]:0xc,[_0x2f3aad([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x2f3aad([0x50,0x72,0x6f,0x64,0x75,0x63,0x74,0x69,0x76,0x69,0x74,0x79,0x20,0x70,0x61,0x63,0x6b])},{[_0x2f3aad([0x69,0x64])]:0xd,[_0x2f3aad([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x2f3aad([0x43,0x61,0x73,0x65,0x20,0x43,0x68,0x61,0x6e,0x67,0x65]),[_0x2f3aad([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x2f3aad([0x43,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x55,0x49]),[_0x2f3aad([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x2f3aad([0x63,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x2f3aad([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x2f3aad([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x2f3aad([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x2f3aad([0x66,0x67,0x69])]:[0xc]}},{[_0x2f3aad([0x69,0x64])]:0xe,[_0x2f3aad([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x2f3aad([0x44,0x72,0x75,0x70,0x61,0x6c,0x20,0x70,0x61,0x63,0x6b]),[_0x2f3aad([0x66,0x6f,0x72,0x62,0x69,0x64,0x64,0x65,0x6e,0x48,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x2f3aad([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])},{[_0x2f3aad([0x69,0x64])]:0xf,[_0x2f3aad([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x2f3aad([0x4d,0x75,0x6c,0x74,0x69,0x20,0x4c,0x65,0x76,0x65,0x6c,0x20,0x4c,0x69,0x73,0x74]),[_0x2f3aad([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x2f3aad([0x4d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x2f3aad([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x2f3aad([0x6d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x2f3aad([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x2f3aad([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x2f3aad([0x69,0x64])]:0x10,[_0x2f3aad([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x2f3aad([0x4d,0x65,0x72,0x67,0x65,0x20,0x54,0x61,0x67,0x73]),[_0x2f3aad([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x2f3aad([0x4d,0x65,0x72,0x67,0x65,0x54,0x61,0x67,0x73,0x55,0x49]),[_0x2f3aad([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x2f3aad([0x6d,0x65,0x72,0x67,0x65,0x54,0x61,0x67,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x2f3aad([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x2f3aad([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x2f3aad([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x2f3aad([0x66,0x67,0x69])]:[0xc]}}];return _0x5a641c(_0x1b4ad1),_0x1b4ad1;function _0x158e60(_0x3938d4){return 0x1<<_0x3938d4-0x1;}function _0x5a641c(_0x39c755){_0x39c755[_0x2f3aad([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x3f2987=>{_0x3f2987[_0x2f3aad([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]=_0x158e60(_0x3f2987[_0x2f3aad([0x69,0x64])]),_0x125448(_0x3f2987)&&_0x3f2987[_0x2f3aad([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x5a641c(_0x3f2987[_0x2f3aad([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]);});}}function _0x125448(_0x2506d2){return _0x2f3aad([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])in _0x2506d2;}const _0x46c984=[0x1,0x55,0x4e,0x73,0xc6,0xff,0x32,0x70,0x53,0x57,0xa1],_0x5932e5=[0x7f,0x22,0x6,0xd3,0xa7,0x56,0x92,0xc7,0x84,0xa0,0x12];function _0x3a9642(_0x407210){const _0x49708c=[0x1d,0xdd,0xaf,0x5a,0xe7,0x85,0xef,0xf0,0x4b,0xb4];return _0x45ee03(_0x407210,new Uint8Array([..._0x46c984,..._0x49708c,..._0x5932e5]));}function _0x45ee03(_0x3da3ce,_0x529ed3){const _0xee442e=_0x365c12(_0x3da3ce),_0x2c3aff=Array[_0x2f3aad([0x66,0x72,0x6f,0x6d])](_0x267fbc(_0xee442e)),_0x1ef019=_0x2c3aff[_0x2f3aad([0x70,0x6f,0x70])](),_0x31739e=_0x2c3aff[_0x2f3aad([0x70,0x6f,0x70])]();return _0x35a2e1(_0x4f5628(_0x2c3aff,_0x529ed3,_0x31739e+0x100*_0x1ef019));}function _0x365c12(_0xdd69a2){const _0x12a9c1=atob(_0xdd69a2),[_0x5c1179,_0x528d91]=_0x12a9c1[_0x2f3aad([0x73,0x70,0x6c,0x69,0x74])](_0x2f3aad([0x2d]));try{if(atob(_0x528d91))return atob(_0x5c1179);}catch(_0x4571fe){}return _0x12a9c1;}function _0x150ed8(_0x21b096){try{const _0x3c8c5e=_0x3a9642(_0x21b096),_0x484e45=JSON[_0x2f3aad([0x70,0x61,0x72,0x73,0x65])](_0x3c8c5e),_0x2c36ea=parseInt(_0x484e45[_0x2f3aad([0x31])]),_0x3e2ee6=_0x484e45[_0x2f3aad([0x32])]||'',_0x16b6d7=parseInt(_0x484e45[_0x2f3aad([0x33])]),_0x56eee3=parseInt(_0x484e45[_0x2f3aad([0x34])])||0x0,_0x28022c=parseInt(_0x484e45[_0x2f3aad([0x35])])||0x0;return{[_0x2f3aad([0x70,0x72,0x6f,0x64,0x75,0x63,0x74,0x4e,0x61,0x6d,0x65])]:_0x3e2ee6,[_0x2f3aad([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])]:_0x56eee3,[_0x2f3aad([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]:_0x2c36ea,[_0x2f3aad([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]:_0x16b6d7,[_0x2f3aad([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]:_0x28022c};}catch(_0x51d9ac){return null;}}const _0x5579e0=_0x4e6a88(),_0x323dc9={[_0x2f3aad([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])]:_0x4e636a,[_0x2f3aad([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])]:_0x6df94b,[_0x2f3aad([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])]:_0x1b9bb2},_0x2bbc7a=_0x5a4c30[_0x2f3aad([0x63,0x6f,0x6e,0x73,0x74,0x72,0x75,0x63,0x74,0x6f,0x72])][_0x2f3aad([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])],_0x57e5fa=_0x2f3aad([0x63,0x6f,0x6e,0x74,0x65,0x78,0x74])in _0x5a4c30?_0x5a4c30['context']:_0x5a4c30['editor'],_0x317d0d=_0x2f3aad([0x34,0x30,0x34,0x38,0x31,0x32,0x34,0x38]),_0x19014c=_0x2f3aad([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]),_0x7e4901=_0x57e5fa['config']['get'](_0x2f3aad([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x5e20de=_0x5579e0[_0x2f3aad([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x125448)[_0x2f3aad([0x66,0x69,0x6e,0x64])](_0x4ce584=>_0x4ce584[_0x2f3aad([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]===_0x2bbc7a);function _0x4b5f71(_0x307a9e,_0x23284f){_0x323dc9[_0x23284f[_0x2f3aad([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]](_0x307a9e,_0x23284f),_0x23284f[_0x2f3aad([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x23284f[_0x2f3aad([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])][_0x2f3aad([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x139fa7=>_0x1e4a26(_0x57e5fa,_0x139fa7[_0x2f3aad([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))[_0x2f3aad([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x47b0a6=>_0x4b5f71(_0x307a9e,_0x47b0a6));}function _0x4e636a(_0x3a9302,_0x37c5a5){_0x34d7b0(_0x244187(_0x3a9302,_0x37c5a5),_0x37c5a5);}function _0x6df94b(_0x266e5f,_0x478fee){function _0x47b39e(_0xaac565,_0x36f0d9){try{if(_0x1e4a26(_0x57e5fa,_0x2f3aad([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))&&_0xaac565){const _0x291252=_0x3f8954(_0x57e5fa,_0x2f3aad([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))[_0x2f3aad([0x5f,0x65,0x78,0x65,0x63,0x75,0x74,0x65,0x53,0x75,0x67,0x67,0x65,0x73,0x74,0x69,0x6f,0x6e])];if(parseInt(_0x291252)/0x2>_0xaac565[_0x2f3aad([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])])return _0x4c23a9(_0x36f0d9[_0x2f3aad([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2f3aad([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}return _0x244187(_0xaac565,_0x36f0d9);}catch(_0x22f5ee){return _0x4c23a9(_0x36f0d9[_0x2f3aad([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2f3aad([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}_0x34d7b0(_0x47b39e(_0x266e5f,_0x478fee),_0x478fee);}function _0x1b9bb2(_0x367ce7,_0x585f8f){const _0x1b5e76=_0x5932e5[0x0]*_0x46c984[0x1],_0x753bb4=_0x5932e5[0x0]*_0x46c984[0x2],_0x8c64db=_0x5932e5[0x2]*_0x46c984[0x2];_0x1e4a26(_0x57e5fa,_0x2f3aad([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x3f8954(_0x57e5fa,_0x2f3aad([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x2f3aad([0x73,0x74,0x61,0x74,0x65])]==_0x2f3aad([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&(window[_0x591ebe()]=_0x8c64db);function _0x22d40c(_0x5ba936,_0x133b52){try{return _0xc8180a()?_0x4c23a9(_0x133b52[_0x2f3aad([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2f3aad([0x56,0x61,0x6c,0x69,0x64])):_0x244187(_0x5ba936,_0x133b52);}catch(_0xc3b842){return _0x4c23a9(_0x133b52[_0x2f3aad([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2f3aad([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0xc0779f(_0x295fbb,_0x5321c4){const _0x1007ad=0x7;if(_0x295fbb==_0x5321c4[_0x2f3aad([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2f3aad([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]))_0x4363b2();else{if(_0x295fbb==_0x5321c4[_0x2f3aad([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2f3aad([0x54,0x72,0x69,0x61,0x6c])){const _0x25bf7f=_0x158582();_0x25bf7f&&_0x24f829(_0x25bf7f,_0x5321c4[_0x2f3aad([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);const _0x4c9b22=_0x4daed3();window[_0x2f3aad([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x24f829(_0x2f3aad([0x74,0x69,0x6d,0x65]),_0x5321c4[_0x2f3aad([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);},_0x4c9b22);const _0x57a375=_0x3f8954(_0x57e5fa,_0x2f3aad([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x2f3aad([0x5f,0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73])];_0x57a375[_0x2f3aad([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x1007ad?_0x24f829(_0x2f3aad([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x5321c4[_0x2f3aad([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]):_0x57a375['on'](_0x2f3aad([0x61,0x64,0x64]),()=>{_0x57a375[_0x2f3aad([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x1007ad&&_0x24f829(_0x2f3aad([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x5321c4[_0x2f3aad([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);});}}}function _0x158582(){if(!_0x1e4a26(_0x57e5fa,_0x2f3aad([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x4a0966 in window)if(Number['isNaN'](Number(_0x4a0966))){if(window[_0x4a0966]===_0x1b5e76)return _0x2f3aad([0x74,0x69,0x6d,0x65]);if(window[_0x4a0966]===_0x753bb4)return _0x2f3aad([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]);}return!0x1;}function _0xc8180a(){if(!_0x1e4a26(_0x57e5fa,_0x2f3aad([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x5d2515 in window)if(Number['isNaN'](Number(_0x5d2515))&&window[_0x5d2515]===_0x8c64db)return!0x0;return!0x1;}function _0x24f829(_0x4205b7,_0x143b67){_0x4363b2(),_0x4c23a9(_0x143b67+_0x2f3aad([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a])+_0x4205b7),window[_0x591ebe()]=_0x4205b7===_0x2f3aad([0x74,0x69,0x6d,0x65])?_0x1b5e76:_0x753bb4;}function _0x4daed3(){let _0x33dd3c=_0x5932e5[0x6]*_0x46c984[0x8]*_0x46c984[0x6];return _0x1e4a26(_0x57e5fa,_0x2f3aad([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x33dd3c/=0xa),_0x33dd3c;}function _0x4363b2(){const _0x3da4a4=_0x57e5fa;function _0x384ad0(){_0x1e4a26(_0x3da4a4,_0x2f3aad([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&(_0x3f8954(_0x3da4a4,_0x2f3aad([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x2f3aad([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x2f3aad([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x3f8954(_0x3da4a4,_0x2f3aad([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x2f3aad([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x3f8954(_0x3da4a4,_0x2f3aad([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x2f3aad([0x75,0x70,0x64,0x61,0x74,0x65])]=_0x409456,_0x3f8954(_0x3da4a4,_0x2f3aad([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x2f3aad([0x73,0x61,0x76,0x65,0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e])]=_0x409456,_0x3da4a4[_0x2f3aad([0x6d,0x6f,0x64,0x65,0x6c])][_0x2f3aad([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x409456,_0x3da4a4[_0x2f3aad([0x6d,0x6f,0x64,0x65,0x6c])][_0x2f3aad([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x409456,_0x3da4a4[_0x2f3aad([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x2f3aad([0x6d,0x6f,0x64,0x65,0x6c]))),_0x1e4a26(_0x3da4a4,_0x2f3aad([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x3f8954(_0x3da4a4,_0x2f3aad([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x2f3aad([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x2f3aad([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x3f8954(_0x3da4a4,_0x2f3aad([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x2f3aad([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x3f8954(_0x3da4a4,_0x2f3aad([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x2f3aad([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])]=_0x409456,_0x3f8954(_0x3da4a4,_0x2f3aad([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x2f3aad([0x5f,0x67,0x65,0x74,0x44,0x69,0x66,0x66])]=_0x409456);}_0x3da4a4[_0x2f3aad([0x73,0x74,0x61,0x74,0x65])]==_0x2f3aad([0x72,0x65,0x61,0x64,0x79])?_0x384ad0():_0x3da4a4[_0x2f3aad([0x6f,0x6e,0x63,0x65])](_0x2f3aad([0x72,0x65,0x61,0x64,0x79]),()=>{if(_0x1e4a26(_0x3da4a4,_0x2f3aad([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&_0x384ad0(),_0x1e4a26(_0x3da4a4,_0x2f3aad([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))){const _0x478c3f=_0x3f8954(_0x3da4a4,_0x2f3aad([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79])),_0x2f4d0e=_0x478c3f['getRevision'](0x0),_0x4adec3=_0x478c3f['getEarlierVisibleRevision'](_0x2f4d0e[_0x2f3aad([0x69,0x64])]);_0x3f8954(_0x3da4a4,_0x2f3aad([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x2f3aad([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])](_0x2f4d0e[_0x2f3aad([0x69,0x64])],_0x4adec3?_0x4adec3[_0x2f3aad([0x69,0x64])]:null,0x1)['then'](()=>_0x384ad0());}});}_0xc0779f(_0x22d40c(_0x367ce7,_0x585f8f),_0x585f8f);}function _0x244187(_0xdaf2c9,_0x4d4722){try{return _0x329666(_0x4d4722)?_0x4c23a9(_0x4d4722[_0x2f3aad([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2f3aad([0x56,0x61,0x6c,0x69,0x64])):_0xdaf2c9&&_0x45f6a1(_0xdaf2c9[_0x2f3aad([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])],_0x4d4722)?_0xdaf2c9[_0x2f3aad([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]&&!window[_0x2f3aad([0x6f,0x70,0x65,0x6e])][_0x2f3aad([0x63,0x6c,0x6f,0x73,0x65,0x64])]||parseInt(_0x317d0d)/0x2>_0xdaf2c9[_0x2f3aad([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]?_0x4c23a9(_0x4d4722[_0x2f3aad([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2f3aad([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])):_0xdaf2c9[_0x2f3aad([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]?_0x4c23a9(_0x4d4722[_0x2f3aad([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2f3aad([0x54,0x72,0x69,0x61,0x6c])):_0x4c23a9(_0x4d4722[_0x2f3aad([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2f3aad([0x56,0x61,0x6c,0x69,0x64])):_0x4c23a9(_0x4d4722[_0x2f3aad([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2f3aad([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}catch(_0x58cd77){return _0x4c23a9(_0x4d4722[_0x2f3aad([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2f3aad([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x34d7b0(_0x46e792,_0x3c5926){if(_0x57e5fa instanceof _0x37b604){const _0x33c037=_0x57e5fa;_0x46e792==_0x3c5926[_0x2f3aad([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2f3aad([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x3992d4(_0x33c037):_0x46e792==_0x3c5926[_0x2f3aad([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2f3aad([0x54,0x72,0x69,0x61,0x6c])&&window[_0x2f3aad([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x3992d4(_0x33c037),_0x4c23a9(_0x3c5926[_0x2f3aad([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2f3aad([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65]));},_0x5932e5[0x6]*_0x46c984[0x8]*_0x46c984[0x6]),_0x33c037[_0x2f3aad([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])][_0x2f3aad([0x6f,0x6e])](_0x2f3aad([0x61,0x64,0x64]),(_0x4a53ac,_0x395004)=>{_0x46e792!=_0x3c5926[_0x2f3aad([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2f3aad([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])&&_0x46e792!=_0x3c5926[_0x2f3aad([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2f3aad([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65])&&_0x46e792!=_0x3c5926[_0x2f3aad([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2f3aad([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])||_0x34c541(_0x395004);});}else{const _0x53baa4=_0x57e5fa;_0x46e792==_0x3c5926[_0x2f3aad([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2f3aad([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x34c541(_0x53baa4):_0x46e792==_0x3c5926[_0x2f3aad([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2f3aad([0x54,0x72,0x69,0x61,0x6c])&&_0x53baa4[_0x2f3aad([0x6f,0x6e])](_0x2f3aad([0x72,0x65,0x61,0x64,0x79]),()=>{let _0x10873a=0x0;_0x53baa4[_0x2f3aad([0x6d,0x6f,0x64,0x65,0x6c])][_0x2f3aad([0x6f,0x6e])](_0x2f3aad([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x27c583,_0x5569b0)=>{_0x5569b0[0x0][_0x2f3aad([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x10873a++,0x1f8===_0x10873a&&(_0x34c541(_0x53baa4),_0x4c23a9(_0x3c5926[_0x2f3aad([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2f3aad([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])),_0x27c583[_0x2f3aad([0x6f,0x66,0x66])]());},{'priority':_0x2f3aad([0x68,0x69,0x67,0x68,0x65,0x73,0x74])});});}}function _0x4c23a9(_0x3ce7ce){const _0x595a11=_0x591ebe();return _0x57e5fa[_0x595a11]=_0x3ce7ce,_0x3ce7ce;}function _0x591ebe(){const _0x56d5ab=String(window[_0x2f3aad([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x2f3aad([0x6e,0x6f,0x77])]())[_0x2f3aad([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x2f3aad([0x2e]),'');let _0x491ca2='';for(let _0x5963e6=0x0;_0x5963e6<_0x56d5ab[_0x2f3aad([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5963e6+=0x2){let _0x24d685=parseInt(_0x56d5ab[_0x2f3aad([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5963e6,_0x5963e6+0x2));_0x24d685>=_0x19014c[_0x2f3aad([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x24d685-=_0x19014c[_0x2f3aad([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x491ca2+=_0x19014c[_0x24d685];}return _0x491ca2;}function _0x3992d4(_0x3b0977){for(const _0xc5f13d of _0x3b0977[_0x2f3aad([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])])_0x34c541(_0xc5f13d);_0x3f8954(_0x3b0977,_0x2f3aad([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x2f3aad([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])](!0x0),_0x3f8954(_0x3b0977,_0x2f3aad([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x2f3aad([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])]=_0x409456;}function _0x34c541(_0x51f9f4){function _0x7aaa12(){_0x51f9f4[_0x2f3aad([0x6d,0x6f,0x64,0x65,0x6c])][_0x2f3aad([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x409456,_0x51f9f4[_0x2f3aad([0x6d,0x6f,0x64,0x65,0x6c])][_0x2f3aad([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x409456,_0x51f9f4[_0x2f3aad([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x2f3aad([0x6d,0x6f,0x64,0x65,0x6c]));}_0x51f9f4[_0x2f3aad([0x73,0x74,0x61,0x74,0x65])]==_0x2f3aad([0x72,0x65,0x61,0x64,0x79])?_0x7aaa12():_0x51f9f4[_0x2f3aad([0x6f,0x6e,0x63,0x65])](_0x2f3aad([0x72,0x65,0x61,0x64,0x79]),()=>_0x7aaa12());}function _0x409456(){return null;}function _0x45f6a1(_0x47067f,_0x15a477){const _0x2c902b=!!(_0x47067f&_0x15a477[_0x2f3aad([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]),_0x1f0d7f=_0x405769(_0x47067f,_0x15a477);return _0x2c902b||_0x1f0d7f;}function _0x405769(_0x3c565a,_0xb5a47e){const _0x55acc5=(_0xb5a47e[_0x2f3aad([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{})[_0x2f3aad([0x66,0x67,0x69])]||null;return!!_0x55acc5&&_0x5579e0[_0x2f3aad([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x50318b=>_0x55acc5[_0x2f3aad([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x50318b[_0x2f3aad([0x69,0x64])]))[_0x2f3aad([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1be2bd=>!_0x507977(_0x1be2bd))[_0x2f3aad([0x73,0x6f,0x6d,0x65])](_0x53de52=>!!(_0x3c565a&_0x53de52[_0x2f3aad([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]));}function _0x507977(_0x1e68ad){const _0x476f43={[_0x2f3aad([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])]:_0x50634f};return!!_0x1e68ad['forbiddenHandler']&&_0x476f43[_0x1e68ad['forbiddenHandler']]();}function _0x50634f(){return!window[_0x2f3aad([0x44,0x72,0x75,0x70,0x61,0x6c])]||!_0x1e4a26(_0x57e5fa,_0x2f3aad([0x64,0x72,0x75,0x70,0x61,0x6c,0x50,0x6f,0x77,0x65,0x72,0x65,0x64,0x42,0x79]));}function _0x329666(_0x19eac0){if(!_0x1e4a26(_0x57e5fa,_0x19eac0[_0x2f3aad([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))return!0x0;const _0x12891e=_0x19eac0[_0x2f3aad([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{},_0x5572e5=_0x12891e[_0x2f3aad([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]||!0x1,_0x1b3a6f=_0x12891e[_0x2f3aad([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]||!0x1,_0x5cf9a5=_0x12891e[_0x2f3aad([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]||!0x1;if(_0x1e4a26(_0x57e5fa,_0x2f3aad([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x3f8954(_0x57e5fa,_0x2f3aad([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x2f3aad([0x73,0x74,0x61,0x74,0x65])]==_0x2f3aad([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&_0x5572e5)return!0x0;if(_0x1e4a26(_0x57e5fa,_0x2f3aad([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))&&_0x3f8954(_0x57e5fa,_0x2f3aad([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))[_0x2f3aad([0x72,0x65,0x73,0x75,0x6c,0x74])]==_0x2f3aad([0x65,0x6e,0x64])&&_0x1b3a6f)return!0x0;return!(!_0x1e4a26(_0x57e5fa,_0x2f3aad([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]))||_0x3f8954(_0x57e5fa,_0x2f3aad([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]))[_0x2f3aad([0x72,0x65,0x73,0x75,0x6c,0x74])]!=_0x2f3aad([0x65,0x6e,0x64])||!_0x5cf9a5);}function _0x1e4a26(_0x10f360,_0x1bdb8f){return _0x10f360[_0x2f3aad([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x2f3aad([0x68,0x61,0x73])](_0x1bdb8f);}function _0x3f8954(_0x267999,_0x4d447b){return _0x267999[_0x2f3aad([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x2f3aad([0x67,0x65,0x74])](_0x4d447b);}function _0x35a2e1(_0x73130d){let _0x3ab8b4='';for(const _0x2e65d5 of _0x73130d)_0x3ab8b4+=String[_0x2f3aad([0x66,0x72,0x6f,0x6d,0x43,0x68,0x61,0x72,0x43,0x6f,0x64,0x65])](_0x2e65d5);return _0x3ab8b4;}function _0x267fbc(_0x4dff1e){const _0xdd7625=new Uint8Array(_0x4dff1e[_0x2f3aad([0x6c,0x65,0x6e,0x67,0x74,0x68])]);for(let _0x56d98e=0x0;_0x56d98e<_0x4dff1e[_0x2f3aad([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x56d98e++)_0xdd7625[_0x56d98e]=_0x4dff1e[_0x2f3aad([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x56d98e);return _0xdd7625;}_0x5e20de&&_0x4b5f71(_0x150ed8(_0x7e4901),_0x5e20de);})(_0x1478f4);}(this);}['createRevision'](_0x5ada24){const _0x9070af=this['editor']['plugins']['get']('Users');return new a({'id':_0x5ada24['id'],'name':_0x5ada24['name'],'creator':_0x5ada24['creatorId']?_0x9070af['getUser'](_0x5ada24['creatorId']):null,'diffData':_0x5ada24['diffData']||_0x5ada24['data'],'authors':_0x5ada24['authorsIds']['map'](_0x5f4cc9=>_0x9070af['getUser'](_0x5f4cc9)),'createdAt':new Date(_0x5ada24['createdAt']),'attributes':_0x5ada24['attributes'],'fromVersion':_0x5ada24['fromVersion'],'toVersion':_0x5ada24['toVersion']});}['addRevision'](_0x37a9c1,_0x355472=0x0){this['_revisions']['add'](_0x37a9c1,_0x355472);}['getRevision'](_0x16a469){return this['_revisions']['get'](_0x16a469);}['getRevisions'](_0x3735bf={'toJSON':!0x1}){const _0x141edb=Array['from'](this['_revisions']);return _0x141edb['reverse'](),_0x3735bf['toJSON']?_0x141edb['map'](_0x35ce30=>_0x35ce30['toJSON']()):_0x141edb;}['getIndex'](_0x49ac2a){return this['_revisions']['getIndex'](_0x49ac2a);}['getEarlierVisibleRevision'](_0x2c62d7){const [,_0x1fe0af]=this['getRevisionsIterator'](_0x2c62d7,{'direction':'earlier'});return _0x1fe0af;}['getLaterVisibleRevision'](_0x552ffd){const [,_0x5351b6]=this['getRevisionsIterator'](_0x552ffd,{'direction':'later'});return _0x5351b6;}['getRevisionsInDiff'](_0xa61b59){const _0x9e21d=[];for(const _0x33bc61 of this['getRevisionsIterator'](_0xa61b59['newRevisionId']))if(_0x9e21d['push'](_0x33bc61),_0x33bc61['id']===_0xa61b59['oldRevisionId'])break;return _0x9e21d;}*['getRevisionsIterator'](_0x32a286,{direction:_0x184093='earlier',filter:_0x503c13=_0x208b17=>!0x0}={}){const _0x454f77='earlier'===_0x184093?0x1:-0x1;let _0x318dd3=this['_revisions']['get'](_0x32a286),_0x3ea5a1=this['getIndex'](_0x318dd3);for(yield _0x318dd3;_0x318dd3;){if(_0x3ea5a1+=_0x454f77,_0x318dd3=this['getRevision'](_0x3ea5a1),!_0x318dd3)return;_0x503c13(_0x318dd3)&&(yield _0x318dd3);}}}function y(_0x18a567,_0x5e0ff3,_0x647192){const t=_0x18a567['t'];switch(_0x5e0ff3){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'},_0x647192);case'X_OF_Y_CHANGES':return t({'string':'%0\x20of\x20%1','id':'X_OF_Y_CHANGES'},_0x647192);case'Show\x20previous\x20change':return t('Show\x20previous\x20change');case'Show\x20next\x20change':return t('Show\x20next\x20change');case'EDIT_X_OF_Y_REVISIONS':return t({'string':'Edit','id':'EDIT_X_OF_Y_REVISIONS'});case'Total':return t('Total');case'Revision\x20creator':return t('Revision\x20creator');case'Revision\x20author':return t('Revision\x20author');case'Revision\x20name':return t('Revision\x20name');case'Save\x20current\x20revision':return t('Save\x20current\x20revision');case'Save':return t('Save');case'Cancel':return t('Cancel');case'Name\x20of\x20the\x20revision':return t('Name\x20of\x20the\x20revision');case'optional':return t('optional');case'PENDING_ACTION_REVISION_HISTORY':return t({'string':'Unsaved\x20change\x20in\x20revision\x20history.','id':'PENDING_ACTION_REVISION_HISTORY'});case'The\x20revision\x20name\x20cannot\x20be\x20empty.':return t('The\x20revision\x20name\x20cannot\x20be\x20empty.');case'Enter\x20the\x20revision\x20name':return t('Enter\x20the\x20revision\x20name');default:return'';}}const T={'c':_0x21b9af,'a':_0x385ec0,'e':_0x35f7e1,'r':_0x2205cd,'u':_0x3f8852};class l extends _0x4595fe{['adapter'];['currentRevision'];['repository'];['_revisionDataBuilder'];['_source'];['_initialRevisionId'];['_bufferedUpdates'];['_pendingAction'];['_continueCurrentRevision'];['_startingVersion'];['_loadedStateData'];static get['pluginName'](){return'RevisionTracker';}static get['requires'](){return[_0x5044de,A,_0x22bc4a];}constructor(_0x1f483f){super(_0x1f483f),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 _0x587e83=_0x2a85a0();this['_source']={'history':this['editor']['model']['document']['history'],'getLatestVersion':()=>Promise['resolve'](this['editor']['model']['document']['version']),'getCurrentRevisionId':()=>_0x587e83},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 _0x4f2aff=this['repository']['getRevision'](0x0),_0x14a38f=_0x4f2aff&&null===_0x4f2aff['creator']?_0x4f2aff:null;if(this['_continueCurrentRevision']=!!_0x14a38f&&this['editor']['config']['get']('revisionHistory.resumeUnsavedRevision'),this['editor']['plugins']['has']('RealTimeCollaborationClient')){const _0x8578d0=this['_source']['getCurrentRevisionId'](),_0x349e47=this['repository']['getRevision'](_0x8578d0);if(_0x349e47)this['_startingVersion']=_0x349e47['fromVersion'],this['_continueCurrentRevision']=!0x1;else{const _0x14e68e=this['_source']['history']['_operations']['find'](_0x3fda78=>!_0x3fda78['_isInit']),_0x3d0f78=_0x14e68e?_0x14e68e['baseVersion']:this['_source']['history']['version'];_0x4f2aff?(_0x4f2aff['toVersion']<_0x3d0f78&&_0x4f2aff['_update']({'toVersion':_0x3d0f78}),this['_continueCurrentRevision']?(this['_source']['getCurrentRevisionId']=()=>_0x14a38f['id'],this['_startingVersion']=_0x14a38f['fromVersion']):(this['_startingVersion']=_0x4f2aff['toVersion'],this['_continueCurrentRevision']=!0x1)):(this['_startingVersion']=_0x3d0f78,this['_continueCurrentRevision']=!0x1);}}else _0x14a38f&&(this['editor']['model']['document']['history']['version']=Math['max'](_0x14a38f['toVersion'],this['editor']['model']['document']['history']['version']),_0x14a38f['fromVersion']===_0x14a38f['toVersion']?(0x0!==_0x14a38f['fromVersion']&&(this['_source']['getCurrentRevisionId']=()=>_0x14a38f['id']),this['_continueCurrentRevision']=!0x1):this['_continueCurrentRevision']&&(this['_source']['getCurrentRevisionId']=()=>_0x14a38f['id'],this['_startingVersion']=_0x14a38f['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',_0x170825=>!_0x170825);}async['afterInit'](){if(this['repository']['length']>0x0){const _0x165389=this['repository']['getRevision'](0x0),_0x251069=await this['getRevisionDocumentData'](_0x165389),_0x554c31=await this['getRevisionRootsAttributes'](_0x165389);this['_replaceEditorDataWithRevisionData'](_0x251069,_0x554c31);}}['setSource'](_0x50f600){this['_source']=_0x50f600;}async['update'](){const _0x27fdb6=await this['_source']['getLatestVersion']();if(_0x27fdb6>this['currentRevision']['toVersion']){await this['_loadState']();const _0x264842=this['buildRevisionData']({'revision':this['currentRevision'],'to':_0x27fdb6});_0x264842['authors']=_0x264842['authorsIds']['map'](_0x4965ce=>this['editor']['plugins']['get']('Users')['getUser'](_0x4965ce)),this['currentRevision']['_update'](_0x264842);}}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'](_0x4e0426={},_0x31e546=null){const _0x5b0ca4=[];await this['_loadState'](),this['_continueCurrentRevision']=!0x1,_0x31e546>this['currentRevision']['toVersion']&&(_0x31e546=null),null===_0x31e546&&(_0x31e546=await this['_source']['getLatestVersion']());const _0x2a6c70=this['_getFromVersion'](_0x31e546),_0x522c7f=this['buildRevisionData']({'from':_0x2a6c70,'to':_0x31e546});if(this['currentRevision']['toVersion']<_0x31e546){const _0x41e65e=this['buildRevisionData']({'revision':this['currentRevision'],'from':_0x31e546,'to':_0x31e546});_0x41e65e['authors']=[],_0x41e65e['authorsIds']=[],_0x41e65e['id']=this['currentRevision']['id'],this['currentRevision']['_update'](_0x41e65e,!0x0),delete _0x41e65e['authors'],_0x5b0ca4['push'](_0x41e65e);}_0x4e0426['creatorId']=this['editor']['plugins']['get']('Users')['me']['id'],_0x4e0426['name']=_0x4e0426['name']||null,_0x4e0426['id']=_0x4e0426['id']||_0x2a85a0(),_0x4e0426={..._0x4e0426,..._0x522c7f};const _0x4bd3e6=this['addRevisionData'](_0x4e0426);_0x5b0ca4['push'](_0x4e0426);const _0x30ae7d=this['repository']['getIndex'](_0x4bd3e6);if(0x0!==_0x30ae7d){const _0x1b93f1=this['repository']['getRevision'](_0x30ae7d-0x1);if(_0x1b93f1['fromVersion']!==_0x31e546){const _0x2b80b8=this['_revisionDataBuilder']['getData'](_0x31e546,_0x1b93f1['toVersion']),_0x2268de={'id':_0x1b93f1['id'],'diffData':_0x2b80b8['diffData'],'authorsIds':_0x2b80b8['authorsIds'],'authors':_0x2b80b8['authorsIds']['map'](_0x2dca1e=>this['editor']['plugins']['get']('Users')['getUser'](_0x2dca1e)),'fromVersion':_0x31e546};_0x1b93f1===this['currentRevision']&&(_0x2268de['createdAt']=new Date(_0x4e0426['createdAt']['getTime']()+0xa)),_0x1b93f1['_update'](_0x2268de,!0x0),delete _0x2268de['authors'],_0x5b0ca4['push'](_0x2268de);}}if(this['adapter']){for(const _0x194d86 of _0x5b0ca4)this['_bufferUpdate'](_0x194d86['id'],_0x194d86,!0x0);this['sendBufferedUpdates']();}return _0x4bd3e6;}['addRevisionData'](_0x55bcee){const _0x1f0fc0=this['repository']['createRevision'](_0x55bcee);return this['adapter']&&_0x1f0fc0['on']('_update',(_0x59c39e,_0xc74aae,_0x11771a)=>{_0x11771a||(this['_bufferUpdate'](_0xc74aae['id'],_0xc74aae,!0x0),this['sendBufferedUpdates']());}),this['repository']['addRevision'](_0x1f0fc0,this['_findInsertionIndex'](_0x1f0fc0)),_0x1f0fc0;}async['getRevisionDocumentData'](_0x211e35){await this['_loadRevisionData'](_0x211e35);const _0x3c19ee={};for(const _0x5e5c86 in _0x211e35['diffData']){if(_0x211e35['diffData'][_0x5e5c86]['attachChange']&&!_0x211e35['diffData'][_0x5e5c86]['attachChange']['isAttached'])continue;const _0x5b4899=this['_removeRevisionMarkers'](JSON['parse'](_0x211e35['diffData'][_0x5e5c86]['insertions'])),_0x44f7d8=this['editor']['editing']['view']['document'],_0x511a5b=new _0x1f697b(_0x44f7d8,_0x5b4899['map'](_0x41b3bc=>B(_0x41b3bc,this['editor'])));this['editor']['data']['processor']['useFillerType']('marked'),_0x3c19ee[_0x5e5c86]=this['editor']['data']['processor']['toData'](_0x511a5b),this['editor']['data']['processor']['useFillerType']('default');}return _0x3c19ee;}async['getRevisionRootsAttributes'](_0x3f2193){await this['_loadRevisionData'](_0x3f2193);const _0x232094={};for(const _0x3bcc8d in _0x3f2193['diffData'])_0x3f2193['diffData'][_0x3bcc8d]['attachChange']&&!_0x3f2193['diffData'][_0x3bcc8d]['attachChange']['isAttached']||(_0x232094[_0x3bcc8d]=_0x3f2193['diffData'][_0x3bcc8d]['attributesAfter']||{});return _0x232094;}['sendBufferedUpdates'](){if(0x0===this['_bufferedUpdates']['size'])return;if(this['_isPendingUpdate'])return;let _0x2a9e68=Array['from'](this['_bufferedUpdates']['values']());this['_bufferedUpdates']['clear']();for(let _0x3f2fbb=0x0;_0x3f2fbb<_0x2a9e68['length'];_0x3f2fbb++){const _0x2391db=_0x2a9e68[_0x3f2fbb];let _0x114db0=!0x1;for(const _0x18267c of Object['keys'](_0x2391db))void 0x0===_0x2391db[_0x18267c]?delete _0x2391db[_0x18267c]:'id'!==_0x18267c&&(_0x114db0=!0x0);_0x114db0||(_0x2a9e68[_0x3f2fbb]=null);}if(_0x2a9e68=_0x2a9e68['filter'](_0x160f41=>null!==_0x160f41),!_0x2a9e68['length'])return;for(let _0x1be5e2=0x0;_0x1be5e2<_0x2a9e68['length'];_0x1be5e2++){const _0x4a5abd=_0x2a9e68[_0x1be5e2];void 0x0!==_0x4a5abd['fromVersion']&&void 0x0===_0x4a5abd['toVersion']&&(_0x4a5abd['toVersion']=this['repository']['getRevision'](_0x4a5abd['id'])['toVersion']),void 0x0!==_0x4a5abd['toVersion']&&void 0x0===_0x4a5abd['fromVersion']&&(_0x4a5abd['fromVersion']=this['repository']['getRevision'](_0x4a5abd['id'])['fromVersion']);}const _0x416abd=this['editor']['config']['get']('collaboration.channelId');this['_isPendingUpdate']=!0x0,this['_addPendingAction'](),this['adapter']['updateRevisions'](_0x2a9e68,_0x416abd)['finally'](()=>{this['_isPendingUpdate']=!0x1;})['then'](_0x41c45d=>{if(_0x41c45d){for(const _0x5d81c2 of _0x41c45d)this['setRevisionData']({'id':_0x5d81c2['id'],'createdAt':_0x5d81c2['createdAt']});}this['_removePendingAction'](),this['sendBufferedUpdates']();});}['_replaceEditorDataWithRevisionData'](_0x2c41b3,_0x2d70ed){let _0x52d59a=this['editor']['config']['get']('initialData'),_0x526c7f=this['editor']['config']['get']('rootsAttributes');if(void 0x0===_0x52d59a){_0x52d59a={};for(const _0xb085a5 of this['editor']['model']['document']['getRootNames']())_0x52d59a[_0xb085a5]='';}if('string'==typeof _0x52d59a&&(_0x52d59a={'main':_0x52d59a}),void 0x0===_0x526c7f){_0x526c7f={};for(const _0x33ef7e of this['editor']['model']['document']['getRootNames']())_0x526c7f[_0x33ef7e]={};}let _0x43cfd0=!0x1;const _0xa1aa5a=Object['keys'](_0x52d59a),_0x401919=Object['keys'](_0x2c41b3);for(const _0x1511a4 of _0xa1aa5a){if(_0x52d59a[_0x1511a4]!==_0x2c41b3[_0x1511a4]&&''!==_0x52d59a[_0x1511a4]['trim']()){_0x43cfd0=!0x0;break;}if(!_0x701cc5(_0x526c7f[_0x1511a4],_0x2d70ed[_0x1511a4])&&Object['keys'](_0x526c7f[_0x1511a4])['length']>0x0){_0x43cfd0=!0x0;break;}}_0x43cfd0||(_0x43cfd0=_0x401919['some'](_0x32e724=>!this['editor']['model']['document']['getRoot'](_0x32e724))),_0x43cfd0&&_0x55fd6e('editor-initial-data-replaced-with-revision-data',{'editorData':_0x52d59a,'editorRootsAttributes':_0x526c7f,'revisionData':_0x2c41b3,'revisionRootsAttributes':_0x2d70ed}),this['editor']['config']['set']('initialData',_0x2c41b3),this['editor']['config']['set']('rootsAttributes',_0x2d70ed);}['_addPendingAction'](){if(!this['_pendingAction']){const _0x109bff=this['editor']['plugins']['get']('PendingActions');this['_pendingAction']=_0x109bff['add'](y(this['editor']['locale'],'PENDING_ACTION_REVISION_HISTORY'));}}['_removePendingAction'](){this['_pendingAction']&&(this['editor']['plugins']['get']('PendingActions')['remove'](this['_pendingAction']),this['_pendingAction']=null);}['_findInsertionIndex'](_0x284928){const _0x42a669=this['repository']['getRevisions']();_0x42a669['reverse']();let _0x152db5=0x0;for(;_0x152db5<_0x42a669['length'];){const _0xcbc689=_0x42a669[_0x152db5];if(_0xcbc689===this['currentRevision']){_0x152db5++;continue;}if(_0xcbc689['id']===this['_initialRevisionId'])break;const _0x4de969=_0x284928['toVersion']-_0xcbc689['toVersion']||_0x284928['fromVersion']-_0xcbc689['fromVersion'];if(_0x4de969>0x0)break;if(_0x4de969<0x0)_0x152db5++;else{if(!_0x284928['creator']&&_0xcbc689['creator'])break;if(_0xcbc689['creator']||!_0x284928['creator']){if(_0x284928['createdAt']>_0xcbc689['createdAt'])break;_0x152db5++;}else _0x152db5++;}}return _0x152db5;}['setRevisionData'](_0x554d5e){const _0x26913c=this['repository']['getRevision'](_0x554d5e['id']);if(_0x554d5e['createdAt']&&(_0x554d5e['createdAt']=new Date(_0x554d5e['createdAt'])),_0x554d5e['authorsIds']){const _0x3f867a=this['editor']['plugins']['get']('Users');_0x554d5e['authors']=_0x554d5e['authorsIds']['map'](_0x11f465=>_0x3f867a['getUser'](_0x11f465));}_0x26913c['_update'](_0x554d5e,!0x0);}['buildRevisionData']({revision:_0x4888ff=null,from:_0x2c30ed=null,to:_0x55b8c3=null}){_0x2c30ed=null!==_0x2c30ed?_0x2c30ed:_0x4888ff['fromVersion'],_0x55b8c3=null!==_0x55b8c3?_0x55b8c3:_0x4888ff['toVersion'];const _0x293fe6=this['_revisionDataBuilder']['getData'](_0x2c30ed,_0x55b8c3),_0x41c309={'diffData':_0x293fe6['diffData'],'authorsIds':_0x293fe6['authorsIds'],'fromVersion':_0x2c30ed,'toVersion':_0x55b8c3};if(!_0x4888ff||_0x55b8c3!==_0x4888ff['toVersion']){const _0x5c6b33=_0x55b8c3-0x1,_0x5b33dd=this['_source']['history']['getOperation'](_0x5c6b33);_0x41c309['createdAt']=_0x5b33dd&&_0x5b33dd['createdAt']||new Date();}if(this['_loadedStateData']&&_0x2c30ed===this['_loadedStateData']['fromVersion']){for(const _0x344c1b of this['_loadedStateData']['authors'])_0x41c309['authorsIds']['includes'](_0x344c1b['id'])||_0x41c309['authorsIds']['push'](_0x344c1b['id']);}return _0x41c309;}['_loadRevisionData'](_0x3746ca){if(!_0x3746ca||_0x3746ca['diffData'])return Promise['resolve']();{const _0x26873f=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0x26873f,'revisionId':_0x3746ca['id']})['then'](_0x4dd0a1=>{_0x3746ca['diffData']=_0x4dd0a1['diffData'];});}}['_bufferUpdate'](_0x4ad33c,_0x2068f1,_0x127a90){if(this['_bufferedUpdates']['has'](_0x4ad33c)){const _0x3f5582=this['_bufferedUpdates']['get'](_0x4ad33c);_0x2068f1=_0x127a90?{..._0x3f5582,..._0x2068f1}:{..._0x2068f1,..._0x3f5582};}this['_bufferedUpdates']['set'](_0x4ad33c,_0x2068f1);}['_getFromVersion'](_0x2e6f0b){const _0x2e27c7=this['repository']['getRevisions']();_0x2e27c7['reverse'](),_0x2e27c7['shift']();const _0x1fbf9d=_0x2e27c7['find'](_0x3d0aec=>_0x3d0aec['toVersion']<=_0x2e6f0b)['toVersion'];return _0x1fbf9d<this['_startingVersion']?this['_startingVersion']:_0x1fbf9d;}['_createInitialRevision'](_0x312579){const _0x1b84eb=this['repository']['getRevision'](this['repository']['length']-0x1);if(_0x1b84eb)this['_initialRevisionId']=_0x1b84eb['id'];else{const _0x678d87=!this['editor']['model']['document']['roots']['find'](_0x4bd575=>this['editor']['model']['hasContent'](_0x4bd575)),_0x49a9fc=this['editor']['plugins']['get']('Users')['me']['id'],_0x19dd83=y(this['editor']['locale'],_0x678d87?'Empty\x20document':'Initial\x20revision');this['_makeRevision']({'from':_0x312579,'to':_0x312579,'id':this['_initialRevisionId'],'name':_0x19dd83,'creatorId':_0x49a9fc});}}['_createCurrentRevision'](_0x122e24){const _0x36043d=this['_source']['getCurrentRevisionId']();this['currentRevision']=this['repository']['getRevision'](_0x36043d),this['currentRevision']||(this['currentRevision']=this['_makeRevision']({'from':_0x122e24,'to':_0x122e24,'id':_0x36043d,'name':'','creatorId':null}));}['_makeRevision']({name:_0x221f46,from:_0x405730,to:_0x16dab9,creatorId:_0x13df07,id:_0x52a2f0}){const _0x3ced5c=this['buildRevisionData']({'from':_0x405730,'to':_0x16dab9});_0x3ced5c['name']=_0x221f46,_0x3ced5c['creatorId']=_0x13df07,_0x3ced5c['id']=_0x52a2f0;const _0x42c49a=this['addRevisionData'](_0x3ced5c);return this['adapter']&&this['_bufferUpdate'](_0x3ced5c['id'],_0x3ced5c,!0x0),_0x42c49a;}['_setConversion'](){this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'});}['_removeRevisionMarkers'](_0x2d8ff3){return(_0x2d8ff3=_0x2d8ff3['filter'](_0x373a11=>!_0x373a11['name']||'revision-start'!==_0x373a11['name']&&'revision-end'!==_0x373a11['name']))['forEach'](_0xbcdfa1=>{'string'!=typeof _0xbcdfa1&&(_0xbcdfa1['children']=this['_removeRevisionMarkers'](_0xbcdfa1['children']),_0xbcdfa1['attributes']=_0xbcdfa1['attributes']['filter'](_0x3fea42=>!_0x3fea42[0x0]['startsWith']('data-revision-')));}),_0x2d8ff3;}}function B(_0x372292,_0x432836){const _0x8009aa=_0x432836['editing']['view']['document'];if('string'==typeof _0x372292)return new _0x504dd3(_0x8009aa,_0x372292);{const _0x32b0b3=_0x372292['children']['map'](_0x24891c=>B(_0x24891c,_0x432836));return new(T[_0x372292['type']]||_0x624aef)(_0x8009aa,_0x372292['name'],_0x372292['attributes'],_0x32b0b3);}}class J{['editor'];['source'];['_savedMetaData'];['_lastFrom'];['_lastTo'];['_markers'];['_diffRoots'];['_diffRootsAttributes'];['_baseRoots'];['_baseRootsAttributes'];['_idsRoots'];['_baseIdsRoots'];['_touched'];['_touchedMarkers'];['_touchedRoots'];['_revisionId'];['_startingRevisionId'];constructor(_0x58572c){this['editor']=_0x58572c,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'](_0x376eeb){this['source']=_0x376eeb;const _0x3c764c=new Map(),_0x139369=new Map(),_0x2ef29c=this['editor']['model']['document']['roots']['map'](_0x49cd99=>_0x49cd99['rootName']);for(const _0x464eb3 of _0x2ef29c){const _0x4ece1c=this['editor']['model']['document']['getRoot'](_0x464eb3),_0x419793=q(_0x4ece1c);_0x3c764c['set'](_0x464eb3,_0x419793),_0x139369['set'](_0x464eb3,Object['fromEntries'](_0x4ece1c['getAttributes']()));}const _0xbf7853=Array['from'](this['editor']['model']['markers'])['map'](_0xdfcb28=>[_0xdfcb28['name'],_0xdfcb28['getRange']()]),_0x341985=this['source']['version'];this['_saveMetaData'](_0x341985,_0x3c764c,_0xbf7853,_0x139369),this['_startingRevisionId']=this['_revisionId'];const _0x11a22e=new Map(),_0x37ca25=new Map();for(const _0x45615a of _0x2ef29c){const _0x251569=G(_0x45615a);_0x11a22e['set'](_0x45615a,_0x251569),_0x37ca25['set'](_0x45615a,{});}this['_saveMetaData'](Number['NEGATIVE_INFINITY'],_0x11a22e,[],_0x37ca25);}['getData'](_0x11d5f0,_0x1e987f){if(this['_lastFrom']===_0x11d5f0&&this['_lastTo']<=_0x1e987f)this['_savedMetaData']['size']>0x1&&this['_removeMetaData'](this['_lastTo']),this['_applyOperations'](this['_lastTo'],_0x1e987f,!0x0);else{if(!this['_savedMetaData']['has'](_0x11d5f0)){const _0x14a8b9=this['_getPreviousFrom'](_0x11d5f0);this['_calculateMetaData'](_0x14a8b9,_0x11d5f0,!0x1);}this['_calculateMetaData'](_0x11d5f0,_0x1e987f,!0x0);}return this['_lastFrom']=_0x11d5f0,this['_lastTo']=_0x1e987f,this['_getState']();}['loadState'](_0xac36ff){this['_reset'](),this['_lastFrom']=_0xac36ff['fromVersion'],this['_lastTo']=_0xac36ff['toVersion'];for(const _0x200a64 in _0xac36ff['diffData']){const _0x28bbc5=_0xac36ff['diffData'][_0x200a64]['attachChange'],_0x2774f3=_0x48276e(_0xac36ff['diffData'][_0x200a64]['attributesBefore'])||{},_0x8d1f6a=this['_makeModelFromViewString'](_0xac36ff['diffData'][_0x200a64]['deletions']);_0x8d1f6a['rootName']=_0x200a64,_0x8d1f6a['_isAttached']=!_0x28bbc5||!_0x28bbc5['isAttached'],_0x8d1f6a['isAttached']=()=>_0x8d1f6a['_isAttached'],this['_baseRoots']['set'](_0x200a64,_0x8d1f6a),this['_baseRootsAttributes']['set'](_0x200a64,_0x2774f3),_0x28bbc5&&this['_touchedRoots']['set'](_0x200a64,_0x28bbc5);const _0x345da3=this['_makeIdsRoot'](_0x8d1f6a);this['_baseIdsRoots']['set'](_0x200a64,_0x345da3);for(const [_0x1de44e,_0x2d3815]of _0x8d1f6a['markers']){if(!_0x1de44e['startsWith']('revision:'))continue;const _0x4f05b8=_0x1de44e['split'](':')[0x2];for(const _0x2ac7f8 of _0x2d3815['getWalker']({'singleCharacters':!0x0})){const _0x12f51e=this['_getVidAttributeName'](_0x2ac7f8),_0x4e4172='elementEnd'==_0x2ac7f8['type']?_0x2ac7f8['previousPosition']['path']['slice'](0x0,-0x1):_0x2ac7f8['previousPosition']['path'],_0x1eacbb=_0x345da3['getNodeByPath'](_0x4e4172)['getAttribute'](_0x12f51e);this['_touched']['set'](_0x1eacbb,{'userId':_0x4f05b8});}}}this['_startingRevisionId']=this['_revisionId'];const _0x48c52f=[...Array(this['_revisionId'])['keys']()]['slice'](0x1)['filter'](_0x590d31=>!this['_touched']['has'](_0x590d31));let _0xc12985=0x0;const _0x4aaf3d=new Map();for(const _0x51ee90 in _0xac36ff['diffData']){const _0x5cca4b=_0xac36ff['diffData'][_0x51ee90]['attachChange'],_0x2fcc96=_0x48276e(_0xac36ff['diffData'][_0x51ee90]['attributesAfter'])||{},_0x2a3f85=this['_makeModelFromViewString'](_0xac36ff['diffData'][_0x51ee90]['insertions']);_0x2a3f85['rootName']=_0x51ee90,_0x2a3f85['_isAttached']=!_0x5cca4b||_0x5cca4b['isAttached'],_0x2a3f85['isAttached']=()=>_0x2a3f85['_isAttached'],this['_diffRoots']['set'](_0x51ee90,_0x2a3f85),this['_diffRootsAttributes']['set'](_0x51ee90,_0x2fcc96);const _0x4cf71b=this['_makeIdsRoot'](_0x2a3f85,Number['NEGATIVE_INFINITY']);this['_idsRoots']['set'](_0x51ee90,_0x4cf71b),_0x4aaf3d['set'](_0x51ee90,_0x2a3f85['isAttached']()?_0x2fcc96:{});for(const [_0x4f9e77,_0x29af4b]of _0x2a3f85['markers']){if(!_0x4f9e77['startsWith']('revision:'))continue;const _0x15d158=_0x4f9e77['split'](':')[0x2];for(const _0x118e87 of _0x29af4b['getWalker']({'singleCharacters':!0x0})){const _0x419d3e=this['_getVidAttributeName'](_0x118e87),_0x2521e7=this['_revisionId']++,_0x32f259='elementEnd'==_0x118e87['type']?_0x118e87['previousPosition']['path']['slice'](0x0,-0x1):_0x118e87['previousPosition']['path'];_0x4cf71b['getNodeByPath'](_0x32f259)['_setAttribute'](_0x419d3e,_0x2521e7),this['_touched']['set'](_0x2521e7,{'userId':_0x15d158});}}for(const _0x5c3991 of this['editor']['model']['createRangeIn'](_0x2a3f85)['getWalker']({'singleCharacters':!0x0})){const _0x47ac74=this['_getVidAttributeName'](_0x5c3991),_0x143d11='elementEnd'==_0x5c3991['type']?_0x5c3991['previousPosition']['path']['slice'](0x0,-0x1):_0x5c3991['previousPosition']['path'],_0x5a747a=_0x4cf71b['getNodeByPath'](_0x143d11);_0x5a747a['getAttribute'](_0x47ac74)>0x0||_0x5a747a['_setAttribute'](_0x47ac74,_0x48c52f[_0xc12985++]);}for(const [_0xef1717,_0x230a3f]of _0x2a3f85['markers'])_0xef1717['startsWith']('revision:')||this['_markers']['set'](_0xef1717,_0x230a3f);}const _0x17ed64=G('$graveyard');this['_baseRoots']['set']('$graveyard',_0x17ed64),this['_baseIdsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x17ed64,0x1));const _0x23e4a3=G('$graveyard');this['_diffRoots']['set']('$graveyard',_0x23e4a3),this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x23e4a3,0x1));const _0x4267a5=Array['from'](this['_diffRoots'])['map'](([_0x1ee12d,_0x400de3])=>[_0x1ee12d,q(_0x400de3)]);this['_saveMetaData'](this['_lastTo'],_0x4267a5,this['_markers'],_0x4aaf3d);}['_makeModelFromViewString'](_0x6eea16){const _0x2b5108=JSON['parse'](_0x6eea16),_0x342d84=this['editor']['editing']['view']['document'],_0x88e15b=new _0x1f697b(_0x342d84,_0x2b5108['map'](_0x125001=>B(_0x125001,this['editor'])));return this['editor']['data']['toModel'](_0x88e15b);}['_saveMetaData'](_0x3cbedb,_0x3392b5,_0x543c9c,_0x545535){const _0x1e5b1f=new Map(_0x3392b5),_0x5e8f43=new Map(_0x48276e(_0x545535)),_0x191c67=new Map();for(const [_0x17737f,_0xfc719f]of _0x543c9c)_0x191c67['set'](_0x17737f,{'start':_0xfc719f['start']['clone'](),'end':_0xfc719f['end']['clone'](),'rootName':_0xfc719f['root']['rootName']});this['_savedMetaData']['set'](_0x3cbedb,{'roots':_0x1e5b1f,'markers':_0x191c67,'rootsAttributes':_0x5e8f43});}['_removeMetaData'](_0x2e1389){this['_savedMetaData']['delete'](_0x2e1389);}['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'](_0x3aa087,_0x27c586=null){let _0x5cd1cf=null;_0x3aa087['is']('documentFragment')||(_0x5cd1cf=new ft(_0x3aa087['name'],{'vid_start':null===_0x27c586?this['_revisionId']++:_0x27c586++}));const _0x3734ce=[];for(const _0x1aab3e of _0x3aa087['getChildren']())if(_0x1aab3e['is']('element')){_0x3734ce['push'](this['_makeIdsRoot'](_0x1aab3e,_0x27c586));const _0x10e9af=_0x3734ce[_0x3734ce['length']-0x1];null!==_0x27c586&&(_0x27c586=_0x10e9af['is']('element','$text')?_0x10e9af['getAttribute']('vid')+0x1:_0x10e9af['getAttribute']('vid_end')+0x1);}else{for(let _0x2d3ade=0x0;_0x2d3ade<_0x1aab3e['offsetSize'];_0x2d3ade++)_0x3734ce['push'](new ft('$text',{'vid':null===_0x27c586?this['_revisionId']++:_0x27c586++}));}if(_0x3aa087['is']('documentFragment')){const _0x475752=G(_0x3aa087['rootName']);return _0x475752['_insertChild'](0x0,_0x3734ce),_0x475752;}return _0x5cd1cf['_setAttribute']('vid_end',null===_0x27c586?this['_revisionId']++:_0x27c586++),_0x5cd1cf['_insertChild'](0x0,_0x3734ce),_0x5cd1cf;}['_calculateMetaData'](_0x24d112,_0x3f25a3,_0x496b61){this['_reset']();const {roots:_0x1edde1,markers:_0x34e166,rootsAttributes:_0x460c6c}=this['_savedMetaData']['get'](_0x24d112);this['_baseRoots']=new Map(_0x1edde1),this['_baseRootsAttributes']=new Map(_0x48276e(_0x460c6c));for(const [_0xdd7511,_0x342ac3]of this['_baseRoots'])if('$graveyard'!==_0xdd7511&&(this['_diffRoots']['set'](_0xdd7511,q(_0x342ac3)),this['_diffRootsAttributes']=new Map(_0x48276e(_0x460c6c)),_0x496b61)){const _0xb861e0=this['_revisionId'];this['_idsRoots']['set'](_0xdd7511,this['_makeIdsRoot'](_0x342ac3)),this['_baseIdsRoots']['set'](_0xdd7511,this['_makeIdsRoot'](_0x342ac3,_0xb861e0));}this['_startingRevisionId']=this['_revisionId'],this['_diffRoots']['set']('$graveyard',q(this['_baseRoots']['get']('$graveyard'))),_0x496b61&&this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](this['_baseRoots']['get']('$graveyard')));for(const [_0x3d2049,_0x44ec68]of _0x34e166){const _0xae1de6=this['_baseRoots']['get'](_0x44ec68['rootName']),_0x1f8ab3=this['_diffRoots']['get'](_0x44ec68['rootName']),_0x31c91f=new vt(this['_fixPosition'](_0x44ec68['start'],_0xae1de6),this['_fixPosition'](_0x44ec68['end'],_0xae1de6)),_0x4615dc=this['_fixRange'](_0x31c91f,_0x1f8ab3);_0xae1de6['markers']['set'](_0x3d2049,_0x31c91f),this['_markers']['set'](_0x3d2049,_0x4615dc);}this['_applyOperations'](_0x24d112,_0x3f25a3,_0x496b61);}['_applyOperations'](_0x4bdf0f,_0x579c2d,_0x348825){for(const _0x5419ab of this['source']['getOperations'](_0x4bdf0f,_0x579c2d))this['_handleOperation'](_0x5419ab,_0x348825);for(const _0x59df67 of this['_diffRoots']['values']())_0x59df67['markers']['clear']();for(const [_0x137717,_0x49d60e]of this['_markers']){this['_diffRoots']['get'](_0x49d60e['root']['rootName'])['markers']['set'](_0x137717,_0x49d60e['clone']());}const _0x4f48ed=new Map(),_0x561702=new Map();for(const [_0x4ebfb0,_0x11344]of this['_diffRoots'])_0x4f48ed['set'](_0x4ebfb0,q(_0x11344)),_0x561702['set'](_0x4ebfb0,this['_diffRootsAttributes']['get'](_0x4ebfb0));this['_saveMetaData'](_0x579c2d,_0x4f48ed,this['_markers'],_0x561702);}['_getPreviousFrom'](_0x2206d5){const _0xaf1f90=Array['from'](this['_savedMetaData']['keys']());_0xaf1f90['sort']((_0x3b4e12,_0x26cbbc)=>_0x3b4e12-_0x26cbbc),_0xaf1f90['reverse']();for(const _0x3bb8cd of _0xaf1f90)if(_0x3bb8cd<_0x2206d5)return _0x3bb8cd;return Number['NEGATIVE_INFINITY'];}['_copyMarkers'](_0x46281a,_0x52b1d7){const _0x6dc7c3=Array['from'](_0x52b1d7['markers'])['map'](([_0xe5fbd9,_0x29ebaa])=>[_0xe5fbd9,this['_fixRange'](_0x29ebaa,_0x46281a)]);_0x46281a['markers']=new Map(_0x6dc7c3);}['_transformMarkers'](_0x41c8d2){for(const _0xc7db4 of this['_markers']['values']()){const _0x54f340=_0xc7db4['getTransformedByOperation'](_0x41c8d2),_0x50e3e3=vt['_createFromRanges'](_0x54f340);_0xc7db4['start']=_0x50e3e3['start'],_0xc7db4['end']=_0x50e3e3['end'];}}['_handleOperation'](_0x2c6f85,_0x2204d6){if('addRoot'==_0x2c6f85['type']||'detachRoot'==_0x2c6f85['type'])return void this['_handleRootOperation'](_0x2c6f85,_0x2204d6);if('insert'==_0x2c6f85['type']){const _0x37b5fa=_0x2c6f85['position']['root']['rootName'];this['_diffRoots']['has'](_0x37b5fa)||(this['_diffRoots']['set'](_0x37b5fa,G(_0x37b5fa,!0x0)),this['_diffRootsAttributes']['set'](_0x37b5fa,{}),_0x2204d6&&this['_idsRoots']['set'](_0x37b5fa,G(_0x37b5fa,!0x0)));}else{if('addRootAttribute'==_0x2c6f85['type']||'removeRootAttribute'==_0x2c6f85['type']||'changeRootAttribute'==_0x2c6f85['type'])return void this['_handleRootAttributeOperation'](_0x2c6f85);}const _0xc43fd0=this['_cloneOperation'](_0x2c6f85,this['_diffRoots']);if('marker'!==_0x2c6f85['type']&&(_0xc43fd0['_execute'](),this['_transformMarkers'](_0xc43fd0)),_0x2204d6)switch(_0xc43fd0['type']){case'insert':this['_handleInsertOperation'](_0x2c6f85);break;case'move':case'remove':case'reinsert':this['_handleMoveOperation'](_0x2c6f85);break;case'merge':this['_handleMergeOperation'](_0x2c6f85);break;case'split':this['_handleSplitOperation'](_0x2c6f85);break;case'marker':this['_handleMarkerOperation'](_0x2c6f85);}}['_cloneOperation'](_0x2e1644,_0x4bbb06){const _0x331f6c=_0x2e1644['clone']();return _0x331f6c['_authorId']=_0x2e1644['_authorId'],this['_fixOperation'](_0x331f6c,_0x4bbb06),_0x331f6c;}['_getBaseVids'](_0x2cfd68){return _0x2cfd68['map'](_0x4cd990=>{const _0x482148=this['_getVidAttributeName'](_0x4cd990);return Number(_0x4cd990['item']['getAttribute'](_0x482148));});}['_generateTape'](_0xa73175,_0x114ad3){if(_0xa73175['is']('element','$text'))_0x114ad3['push']({'item':_0xa73175,'type':'text'});else{_0xa73175['is']('element')&&_0x114ad3['push']({'item':_0xa73175,'type':'elementStart'});for(const _0x419749 of _0xa73175['getChildren']())this['_generateTape'](_0x419749,_0x114ad3);_0xa73175['is']('element')&&_0x114ad3['push']({'item':_0xa73175,'type':'elementEnd'});}return _0x114ad3;}['_getState'](){const _0x2e05ea=new Map(this['_touched']),_0x4a5e1d=new Map(_0x2e05ea),_0x2e9bf0=new Map(),_0x57695e={'insertions':{},'deletions':{}},_0x16ad67={'insertions':{},'deletions':{}},_0x458217=new Map(),_0x43d3cc=new Set([...this['_baseRoots']['keys'](),...this['_diffRoots']['keys']()]);_0x43d3cc['delete']('$graveyard');for(const _0x597345 of _0x43d3cc){const _0xbf2822=this['_diffRoots']['get'](_0x597345)||G(_0x597345,!0x1),_0x1d9b40=this['_baseRoots']['get'](_0x597345)||G(_0x597345,!0x1);_0xbf2822['isAttached']()||_0x1d9b40['isAttached']()?(_0x57695e['insertions'][_0x597345]=q(_0xbf2822),_0x57695e['deletions'][_0x597345]=q(_0x1d9b40),this['_copyMarkers'](_0x57695e['deletions'][_0x597345],_0x1d9b40),this['_copyMarkers'](_0x57695e['insertions'][_0x597345],_0xbf2822),_0x16ad67['insertions'][_0x597345]=this['_generateTape'](this['_idsRoots']['get'](_0x597345),[]),_0x16ad67['deletions'][_0x597345]=this['_generateTape'](this['_baseIdsRoots']['get'](_0x597345)||G(_0x597345,!0x1),[])):_0x43d3cc['delete'](_0x597345);}for(const _0x197343 of _0x43d3cc){const _0xeeaee2=_0x16ad67['insertions'][_0x197343];for(const _0x34b606 of _0xeeaee2){const _0x5ed19a=this['_getVidAttributeName'](_0x34b606),_0x1f4a98=_0x34b606['item']['getAttribute'](_0x5ed19a);_0x4a5e1d['delete'](_0x1f4a98),_0x1f4a98>=this['_startingRevisionId']&&_0x2e9bf0['set'](_0x1f4a98,_0x2e05ea['get'](_0x1f4a98));}}for(const _0x1110d6 of _0x43d3cc){const _0x48f3e2=_0x16ad67['insertions'][_0x1110d6],_0x2b9f96=this['_getBaseVids'](_0x16ad67['deletions'][_0x1110d6]);let _0x28c8b9=0x0;for(const _0x2e1901 of _0x48f3e2){const _0x5216d4=this['_getVidAttributeName'](_0x2e1901),_0x270981=_0x2e1901['item']['getAttribute'](_0x5216d4);if(!_0x2e9bf0['has'](_0x270981)&&!_0x458217['has'](_0x270981)){if(_0x4a5e1d['has'](_0x270981))_0x28c8b9++;else{if(_0x270981!=_0x2b9f96[_0x28c8b9]){const _0x243c2d=_0x2e05ea['get'](_0x270981)||_0x2e05ea['get'](_0x2b9f96[_0x28c8b9]);for(;_0x270981!=_0x2b9f96[_0x28c8b9];)_0x4a5e1d['has'](_0x2b9f96[_0x28c8b9])||(_0x458217['set'](_0x2b9f96[_0x28c8b9],_0x243c2d),_0x2e05ea['set'](_0x2b9f96[_0x28c8b9],_0x243c2d)),_0x28c8b9++;}_0x28c8b9++;}}}}for(const _0x3a3921 of _0x43d3cc){const _0x2b599a=_0x16ad67['insertions'][_0x3a3921];for(const _0x4003fc of _0x2b599a){const _0x391f64=this['_getVidAttributeName'](_0x4003fc),_0x45f01e=_0x4003fc['item']['getAttribute'](_0x391f64);if(_0x458217['has'](_0x45f01e)){const _0x4129f0=_0x458217['get'](_0x45f01e);_0x4a5e1d['has'](_0x45f01e)||_0x4a5e1d['set'](_0x45f01e,{..._0x4129f0}),_0x2e9bf0['set'](_0x45f01e,{..._0x4129f0});}}}for(const _0x2ae950 of _0x4a5e1d['keys']())_0x2ae950>=this['_startingRevisionId']&&_0x4a5e1d['delete'](_0x2ae950);const _0x1b06c2=new Map();for(const _0x41cc2a of _0x43d3cc){let _0x3451fe=_0x16ad67['insertions'][_0x41cc2a];for(const _0x147afb of _0x3451fe)if(_0x147afb['item']['is']('element','tableCell')){const _0x5ed495=this['_getVidAttributeName'](_0x147afb),_0x4b11c5=_0x147afb['item']['getAttribute'](_0x5ed495);if(_0x2e9bf0['has'](_0x4b11c5)){const _0x221dba=_0x147afb['item']['parent']['parent']['getAttribute']('vid_start'),_0x12075b=_0x1b06c2['get'](_0x221dba)||new Set();_0x12075b['add'](_0x2e9bf0['get'](_0x4b11c5)['userId']),_0x1b06c2['set'](_0x221dba,_0x12075b);}}_0x3451fe=_0x16ad67['deletions'][_0x41cc2a];for(const _0x5c7bc7 of _0x3451fe)if(_0x5c7bc7['item']['is']('element','tableCell')){const _0x46f875=this['_getVidAttributeName'](_0x5c7bc7),_0x5c462d=_0x5c7bc7['item']['getAttribute'](_0x46f875);if(_0x4a5e1d['has'](_0x5c462d)){const _0x3c006f=_0x5c7bc7['item']['parent']['parent']['getAttribute']('vid_start'),_0x2d1b92=_0x1b06c2['get'](_0x3c006f)||new Set();_0x2d1b92['add'](_0x4a5e1d['get'](_0x5c462d)['userId']),_0x1b06c2['set'](_0x3c006f,_0x2d1b92);}}for(const _0x39e4d5 of _0x1b06c2['keys']())(_0x2e9bf0['has'](_0x39e4d5)||_0x4a5e1d['has'](_0x39e4d5))&&_0x1b06c2['delete'](_0x39e4d5);}for(const _0x2a0e86 of _0x43d3cc){const _0x489107=_0x16ad67['insertions'][_0x2a0e86];let _0x52216d=null,_0x7fdfb2=null;for(const _0x13601d of _0x489107){const _0x56955f=this['_getVidAttributeName'](_0x13601d),_0x407209=_0x13601d['item']['getAttribute'](_0x56955f),_0x740c60=_0x1b06c2['get'](_0x407209);_0x740c60&&'elementStart'==_0x13601d['type']&&(_0x52216d=Array['from'](_0x740c60)[0x0],_0x7fdfb2=_0x13601d['item']['getAttribute']('vid_end')),_0x52216d&&(_0x4a5e1d['set'](_0x407209,{'userId':_0x52216d}),_0x2e9bf0['set'](_0x407209,{'userId':_0x52216d})),_0x407209==_0x7fdfb2&&(_0x52216d=null,_0x7fdfb2=null);}}const _0x486b05={},_0x34bb34=new Set();for(const _0x4f596e of _0x43d3cc){const _0x1d667f=_0x57695e['deletions'][_0x4f596e],_0x264572=_0x57695e['insertions'][_0x4f596e];for(const {userId:_0x33d110}of this['_touchedMarkers']['values']())null!==_0x33d110&&_0x34bb34['add'](_0x33d110);for(const {userId:_0x3aeb3b}of this['_touchedRoots']['values']())null!==_0x3aeb3b&&_0x34bb34['add'](_0x3aeb3b);this['_markChanges'](_0x264572,_0x16ad67['insertions'][_0x4f596e],_0x2e9bf0,'insertion',_0x34bb34),this['_markChanges'](_0x1d667f,_0x16ad67['deletions'][_0x4f596e],_0x4a5e1d,'deletion',_0x34bb34),_0x486b05[_0x4f596e]={'insertions':this['_prepareViewToSave'](_0x264572),'deletions':this['_prepareViewToSave'](_0x1d667f),'attachChange':this['_touchedRoots']['get'](_0x4f596e)||null,'attributesBefore':_0x48276e(this['_baseRootsAttributes']['get'](_0x4f596e))||{},'attributesAfter':_0x48276e(this['_diffRootsAttributes']['get'](_0x4f596e))};}return{'diffData':_0x486b05,'authorsIds':Array['from'](_0x34bb34)};}['_processRootBeforeSave'](_0x3b30fe){for(const [,_0x31f9be]of _0x3b30fe['markers']){const _0x3d141c=_0x31f9be['start']['getAncestors']()['filter'](_0x27b2ba=>'tableCell'==_0x27b2ba['name']);for(const _0x478a47 of _0x3d141c)0x1==_0x478a47['childCount']&&_0x478a47['getChild'](0x0)['is']('element','paragraph')&&_0x478a47['getChild'](0x0)['_setAttribute']('keepParagraph',!0x0);}}['_prepareViewToSave'](_0x2f16e5){this['_processRootBeforeSave'](_0x2f16e5);const _0xa71c50=this['editor']['data']['toView'](_0x2f16e5,{}),_0x1641f9=Array['from'](_0xa71c50['getChildren']())['map'](_0x3368d1=>this['_getViewJson'](_0x3368d1));return JSON['stringify'](_0x1641f9);}['_getViewJson'](_0x381ff5){if(_0x381ff5['is']('$text'))return _0x381ff5['data'];{const _0x35c86c=_0x381ff5;return{'type':Object['keys'](T)['find'](_0x34fb77=>_0x381ff5 instanceof T[_0x34fb77]),'name':_0x35c86c['name'],'attributes':Array['from'](_0x35c86c['getAttributes']()),'children':Array['from'](_0x35c86c['getChildren']())['map'](_0x523c58=>this['_getViewJson'](_0x523c58))};}}['_markChanges'](_0x16ebde,_0x8aa809,_0x2d1249,_0x33bd90,_0x5a6876){let _0x5126e4=null,_0x3e8baa=null,_0x484b43=0x0;const _0x1b3fbd=this['editor']['model'];for(let _0x5f45d5=0x0;_0x5f45d5<_0x8aa809['length'];_0x5f45d5++){const _0xa8e582=this['_getVidAttributeName'](_0x8aa809[_0x5f45d5]),_0x591c92=_0x8aa809[_0x5f45d5]['item']['getAttribute'](_0xa8e582),_0x12df48=_0x2d1249['get'](_0x591c92),_0x5ce0b7=_0x5f45d5==_0x8aa809['length']-0x1;(!_0x5126e4&&_0x12df48&&(_0x5126e4=_0x12df48,_0x3e8baa=_0x8aa809[_0x5f45d5]),_0x5126e4&&(!_0x12df48||_0x12df48['userId']!=_0x5126e4['userId']))&&(_0x511f64(_0x12df48,L(_0x3e8baa,_0x16ebde,_0x1b3fbd),L(_0x8aa809[_0x5f45d5],_0x16ebde,_0x1b3fbd)),_0x5126e4=_0x12df48||null,_0x3e8baa=_0x12df48?_0x8aa809[_0x5f45d5]:null),_0x5126e4&&_0x5ce0b7&&_0x511f64(_0x12df48,L(_0x3e8baa,_0x16ebde,_0x1b3fbd),W(_0x8aa809[_0x5f45d5],_0x16ebde,_0x1b3fbd));}function _0x511f64(_0x1d0894,_0x4e7d09,_0x25e3de){const _0x454a6c=_0x5126e4['userId'],_0x5bacd8='revision:'+_0x33bd90+':'+_0x454a6c+':'+_0x484b43++,_0x1c7c7a=_0x1b3fbd['createRange'](_0x4e7d09,_0x25e3de);_0x16ebde['markers']['set'](_0x5bacd8,_0x1c7c7a),null!==_0x454a6c&&_0x5a6876['add'](_0x454a6c);}}['_getVidAttributeName'](_0x218f95){switch(_0x218f95['type']){case'elementStart':return'vid_start';case'elementEnd':return'vid_end';default:return'vid';}}['_fixOperation'](_0x5cc5c9,_0x1215b4){_0x5cc5c9['baseVersion']=null;for(const _0x4d2f66 in _0x5cc5c9){const _0x1ec3b0=_0x5cc5c9[_0x4d2f66];if(_0x1ec3b0 instanceof gt){const _0xdae969=_0x1215b4['get'](_0x1ec3b0['root']['rootName']);_0x5cc5c9[_0x4d2f66]=this['_fixPosition'](_0x1ec3b0,_0xdae969);}if(_0x1ec3b0 instanceof vt){const _0x1b9257=_0x1215b4['get'](_0x1ec3b0['root']['rootName']);_0x5cc5c9[_0x4d2f66]=this['_fixRange'](_0x1ec3b0,_0x1b9257);}'root'===_0x4d2f66&&(_0x5cc5c9['root']=_0x1215b4['get'](_0x5cc5c9['root']['rootName']));}}['_fixRange'](_0x4a767d,_0x2bbab3){return this['editor']['model']['createRange'](this['_fixPosition'](_0x4a767d['start'],_0x2bbab3),this['_fixPosition'](_0x4a767d['end'],_0x2bbab3));}['_fixPosition'](_0x311935,_0x59d6a6){return this['editor']['model']['createPositionFromPath'](_0x59d6a6,_0x311935['path'],_0x311935['stickiness']);}['_handleInsertOperation'](_0x63232a){const _0x40a0ff=this['_idsRoots']['get'](_0x63232a['position']['root']['rootName']),_0x1ca94e=this['_fixPosition'](_0x63232a['position'],_0x40a0ff),_0x22fc64=null===_0x63232a['_authorId']?null:_0x63232a['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x3858bd=_0x1ca94e['parent'],_0x2f8d90=this['_revisionId'],_0x28463e=[];for(const _0x1fc3b4 of _0x63232a['nodes'])if(_0x1fc3b4['is']('element'))_0x28463e['push'](this['_makeIdsRoot'](_0x1fc3b4));else{for(let _0xcc6da8=0x0;_0xcc6da8<_0x1fc3b4['offsetSize'];_0xcc6da8++)_0x28463e['push'](new ft('$text',{'vid':this['_revisionId']++}));}const _0x256f1b=this['_revisionId'];for(let _0x542db5=_0x2f8d90;_0x542db5<_0x256f1b;_0x542db5++)this['_touched']['set'](_0x542db5,{'userId':_0x22fc64});_0x3858bd['_insertChild'](_0x1ca94e['offset'],_0x28463e);}['_handleMoveOperation'](_0x5a57ee){(_0x5a57ee=this['_cloneOperation'](_0x5a57ee,this['_idsRoots']))['_execute']();const _0xce6333=null===_0x5a57ee['_authorId']?null:_0x5a57ee['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x5325ee=_0x5a57ee['getMovedRangeStart'](),_0x3be626=_0x5325ee['parent'],_0xa57680=_0x5325ee['offset'];!function _0x54c6ab(_0x582bee,_0x10214f,_0x1106da,_0x5c890){for(let _0x22eb43=_0x1106da;_0x22eb43<_0x5c890;_0x22eb43++){const _0x751735=_0x10214f['getChild'](_0x22eb43);_0x751735['is']('element','$text')?_0x582bee['set'](_0x751735['getAttribute']('vid'),{'userId':_0xce6333}):(_0x582bee['set'](_0x751735['getAttribute']('vid_start'),{'userId':_0xce6333}),_0x54c6ab(_0x582bee,_0x751735,0x0,_0x751735['childCount']),_0x582bee['set'](_0x751735['getAttribute']('vid_end'),{'userId':_0xce6333}));}}(this['_touched'],_0x3be626,_0xa57680,_0xa57680+_0x5a57ee['howMany']);}['_handleMergeOperation'](_0x292bb1){const _0x418062=null===(_0x292bb1=this['_cloneOperation'](_0x292bb1,this['_idsRoots']))['_authorId']?null:_0x292bb1['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x2436a3=_0x292bb1['targetPosition']['parent'],_0x1da8fa=_0x292bb1['sourcePosition']['parent'],_0x4baf62=_0x2436a3['getAttribute']('vid_end'),_0x17168d=_0x1da8fa['getAttribute']('vid_start');_0x2436a3['_setAttribute']('vid_end',_0x1da8fa['getAttribute']('vid_end')),_0x1da8fa['_setAttribute']('vid_end',_0x4baf62),this['_touched']['set'](_0x17168d,{'userId':_0x418062}),this['_touched']['set'](_0x4baf62,{'userId':_0x418062}),_0x292bb1['_execute']();}['_handleSplitOperation'](_0x37fad3){const _0x20e23e=null===(_0x37fad3=this['_cloneOperation'](_0x37fad3,this['_idsRoots']))['_authorId']?null:_0x37fad3['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x4b9609=_0x37fad3['graveyardPosition'],_0x15ace4=_0x37fad3['splitPosition']['parent'];_0x37fad3['_execute']();const _0x3ae16e=_0x15ace4['getAttribute']('vid_end'),_0x26dbbd=_0x37fad3['insertionPosition']['nodeAfter'];if(_0x4b9609){const _0x15a707=_0x26dbbd['getAttribute']('vid_end'),_0x3ebd06=_0x15ace4['getAttribute']('vid_end');_0x15ace4['_setAttribute']('vid_end',_0x15a707),_0x26dbbd['_setAttribute']('vid_end',_0x3ebd06),this['_touched']['set'](_0x15ace4['getAttribute']('vid_end'),{'userId':_0x20e23e}),this['_touched']['set'](_0x26dbbd['getAttribute']('vid_start'),{'userId':_0x20e23e});}else{const _0x130245=this['_revisionId']++,_0x2bdc71=this['_revisionId']++;_0x15ace4['_setAttribute']('vid_end',_0x130245),_0x26dbbd['_setAttribute']('vid_start',_0x2bdc71),_0x26dbbd['_setAttribute']('vid_end',_0x3ae16e),this['_touched']['set'](_0x130245,{'userId':_0x20e23e}),this['_touched']['set'](_0x2bdc71,{'userId':_0x20e23e});}}['_handleMarkerOperation'](_0x25f17f){if(!_0x25f17f['affectsData'])return;const _0x40e015=(_0x25f17f=this['_cloneOperation'](_0x25f17f,this['_diffRoots']))['oldRange']?_0x25f17f['oldRange']['root']:null,_0x3bfddf=_0x25f17f['newRange']?_0x25f17f['newRange']['root']:null;_0x40e015&&this['_markers']['delete'](_0x25f17f['name']),_0x3bfddf&&this['_markers']['set'](_0x25f17f['name'],_0x25f17f['newRange']['clone']());const _0x2683b1=null===_0x25f17f['_authorId']?null:_0x25f17f['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x55e585=_0x25f17f['name'];if(!this['_touchedMarkers']['has'](_0x55e585))return void this['_touchedMarkers']['set'](_0x55e585,{'range':_0x25f17f['oldRange'],'userId':_0x2683b1});const _0x17be26=this['_touchedMarkers']['get'](_0x55e585),_0xd5c9f9=_0x17be26['range'],_0x3b3bfe=_0x25f17f['newRange'];null==_0xd5c9f9&&null==_0x3b3bfe||_0xd5c9f9&&_0x3b3bfe&&_0xd5c9f9['isEqual'](_0x3b3bfe)?this['_touchedMarkers']['delete'](_0x25f17f['name']):_0x17be26['userId']=_0x2683b1;}['_handleRootOperation'](_0x25bc33,_0x3a4572){this['_diffRoots']['has'](_0x25bc33['rootName'])?this['_diffRoots']['get'](_0x25bc33['rootName'])['_isAttached']=_0x25bc33['isAdd']:(this['_diffRoots']['set'](_0x25bc33['rootName'],G(_0x25bc33['rootName'],!0x0)),this['_diffRootsAttributes']['set'](_0x25bc33['rootName'],{}),_0x3a4572&&this['_idsRoots']['set'](_0x25bc33['rootName'],G(_0x25bc33['rootName'],!0x0)));const _0x5efd67=null===_0x25bc33['_authorId']?null:_0x25bc33['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x3bc4d6=this['_touchedRoots']['get'](_0x25bc33['rootName']);_0x3bc4d6&&_0x3bc4d6['userId']===_0x5efd67?this['_touchedRoots']['delete'](_0x25bc33['rootName']):this['_touchedRoots']['set'](_0x25bc33['rootName'],{'userId':_0x5efd67,'isAttached':_0x25bc33['isAdd']});}['_handleRootAttributeOperation'](_0x481604){const _0x264102=this['_diffRootsAttributes']['get'](_0x481604['root']['rootName']);null===_0x481604['newValue']?delete _0x264102[_0x481604['key']]:_0x264102[_0x481604['key']]=_0x481604['newValue'];}}function q(_0x2753d2){const _0x3e3c0d=G(_0x2753d2['rootName'],_0x2753d2['isAttached']());for(const _0xc6ab17 of _0x2753d2['getChildren']()){const _0x20dc64=_0xc6ab17['_clone'](!0x0);_0x3e3c0d['_appendChild'](_0x20dc64);}return _0x3e3c0d;}function G(_0x4c64ff,_0x116453=!0x0){const _0x17d568=new wt();return _0x17d568['rootName']=_0x4c64ff,_0x17d568['_isAttached']=_0x116453,_0x17d568['isAttached']=()=>_0x17d568['_isAttached'],_0x17d568;}function L(_0x3bfc6d,_0x14fbcd,_0x1f5386){const _0x59913d='elementEnd'==_0x3bfc6d['type']?_0x1f5386['createPositionAt'](_0x3bfc6d['item'],'end'):_0x1f5386['createPositionBefore'](_0x3bfc6d['item']);return _0x1f5386['createPositionFromPath'](_0x14fbcd,_0x59913d['path'],_0x59913d['stickiness']);}function W(_0x4209f7,_0x1ee910,_0x327d27){const _0x541fe8='elementStart'==_0x4209f7['type']?_0x327d27['createPositionAt'](_0x4209f7['item'],0x0):_0x327d27['createPositionAfter'](_0x4209f7['item']);return _0x327d27['createPositionFromPath'](_0x1ee910,_0x541fe8['path'],_0x541fe8['stickiness']);}class ns extends _0x4974b8{['focusTracker'];['keystrokes'];['revisionNameInputView'];constructor(_0x31e8ee,_0x23a66b){super(_0x31e8ee),this['focusTracker']=new _0x3f2c27(),this['keystrokes']=new _0x2f32ff(),this['set']('revisionNameInputValue',''),this['revisionNameInputView']=this['_createRevisionNameInput'](_0x23a66b),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'](),_0x54cf56({'view':this}),this['focusTracker']['add'](this['revisionNameInputView']['element']),this['keystrokes']['listenTo'](this['element']);const _0x588f2a=_0x334861=>_0x334861['stopPropagation']();this['keystrokes']['set']('arrowright',_0x588f2a),this['keystrokes']['set']('arrowleft',_0x588f2a),this['keystrokes']['set']('arrowup',_0x588f2a),this['keystrokes']['set']('arrowdown',_0x588f2a);}['focus'](){this['revisionNameInputView']['focus']();}get['revisionName'](){return this['revisionNameInputView']['fieldView']['element']['value']['trim']();}set['revisionName'](_0x16e9d6){this['revisionNameInputView']['fieldView']['element']['value']=_0x16e9d6['trim']();}['reset'](){this['revisionNameInputView']['fieldView']['element']['value']='',this['revisionNameInputView']['errorText']=null;}['_createRevisionNameInput'](_0xa8a84e){const _0x1f25c7=new at(this['locale'],_0x3f7270),_0x28d1df=_0x1f25c7['fieldView'];_0x28d1df['extendTemplate']({'attributes':{'maxlength':'220'}});let _0x25602f=y(this['locale'],'Name\x20of\x20the\x20revision');return!_0xa8a84e&&(_0x25602f+='\x20('+y(this['locale'],'optional')+')'),(_0x1f25c7['label']=_0x25602f,_0x28d1df['on']('input',()=>{this['revisionNameInputValue']=_0x28d1df['element']['value']['trim']();}),_0x1f25c7);}}class u extends _0x4595fe{static get['pluginName'](){return'RevisionHistoryUI';}static get['requires'](){return[l];}['_saveRevisionFormView'];['init'](){const _0x323b29=this['editor'],_0x59752a=_0x323b29['plugins']['get']('RevisionTracker');_0x323b29['ui']['componentFactory']['add']('revisionHistory',_0x1e0392=>{const _0x389967=_0x392660(_0x1e0392),_0x4a10f3=_0x389967['panelView']['children'],_0x17e91a=new te(_0x1e0392),_0x25473c=new _0x9861a7(_0x1e0392),_0x2bde45=new _0x21e96e(_0x1e0392),_0x51edac=new _0x9861a7(_0x1e0392),_0x1a56b6=new _0x21e96e(_0x1e0392);return _0x389967['bind']('isEnabled')['to'](_0x59752a,'isReady',_0x59752a,'isEnabled',_0x323b29,'isReadOnly',(_0x2dae33,_0x4a73c4,_0x1df01b)=>_0x2dae33&&_0x4a73c4&&!_0x1df01b),_0x389967['buttonView']['set']({'icon':_0x28a782['history'],'label':y(_0x1e0392,'Revision\x20history'),'tooltip':!0x0}),_0x2bde45['set']({'label':y(_0x1e0392,'Save\x20current\x20revision'),'withText':!0x0,'role':'menuitem'}),_0x2bde45['bind']('isEnabled')['to'](_0x59752a,'isReady',_0x59752a,'isEnabled',_0x323b29,'isReadOnly',(_0x1e038e,_0x3859a9,_0x660ee4)=>_0x1e038e&&_0x3859a9&&!_0x660ee4),_0x2bde45['on']('execute',()=>this['_showDialog']()),_0x1a56b6['set']({'label':y(_0x1e0392,'Open\x20revision\x20history'),'withText':!0x0,'role':'menuitem'}),_0x1a56b6['bind']('isEnabled')['to'](_0x59752a,'isReady',_0x323b29,'isReadOnly',(_0x1ce55d,_0x1c92cd)=>_0x1ce55d&&!_0x1c92cd),_0x1a56b6['on']('execute',()=>{_0x323b29['config']['get']('revisionHistory')['showRevisionViewerCallback'](),_0x389967['isOpen']=!0x1,_0x323b29['editing']['view']['focus']();}),_0x25473c['children']['add'](_0x2bde45),_0x51edac['children']['add'](_0x1a56b6),_0x17e91a['role']='menu',_0x17e91a['items']['addMany']([_0x25473c,_0x51edac]),_0x4a10f3['add'](_0x17e91a),_0x389967;}),_0x323b29['ui']['componentFactory']['add']('menuBar:revisionHistory',()=>this['_registerMenuComponent']());}['_registerMenuComponent'](){const _0x48ab9c=this['editor'],_0x4a1ca0=_0x48ab9c['locale'],_0x44e220=new _0x27f2db(_0x4a1ca0),_0x4f15b9=new _0x1dd04f(_0x4a1ca0);_0x44e220['buttonView']['set']({'icon':_0x28a782['history'],'label':y(_0x4a1ca0,'Revision\x20history')});const _0x5ca866=new _0x457de9(_0x4a1ca0,_0x44e220),_0x3767cd=new _0xc07549(_0x4a1ca0);_0x3767cd['set']({'label':y(_0x4a1ca0,'Save\x20current\x20revision')}),_0x3767cd['delegate']('execute')['to'](_0x44e220),_0x3767cd['on']('execute',()=>{this['_showDialog']();}),_0x5ca866['children']['add'](_0x3767cd),_0x4f15b9['items']['add'](_0x5ca866);const _0xfd5a7f=new _0x457de9(_0x4a1ca0,_0x44e220),_0x203503=new _0xc07549(_0x4a1ca0);return _0x203503['set']({'label':y(_0x4a1ca0,'Open\x20revision\x20history')}),_0x203503['delegate']('execute')['to'](_0x44e220),_0x203503['on']('execute',()=>{_0x48ab9c['config']['get']('revisionHistory')['showRevisionViewerCallback']();}),_0xfd5a7f['children']['add'](_0x203503),_0x4f15b9['items']['add'](_0xfd5a7f),_0x44e220['panelView']['children']['add'](_0x4f15b9),_0x44e220;}['_showDialog'](){const _0x149183=this['editor'],_0xb7ab16=_0x149183['locale'],t=_0xb7ab16['t'],_0xbd27e9=_0x149183['plugins']['get']('Dialog'),_0x3bd560=_0x149183['plugins']['get']('RevisionTracker');function _0x4151f9(_0x5097fe){_0x149183['config']['get']('revisionHistory.requireRevisionName')&&''===_0x5097fe['revisionName']?_0x5097fe['revisionNameInputView']['errorText']=y(_0xb7ab16,'The\x20revision\x20name\x20cannot\x20be\x20empty.'):(_0x149183['plugins']['get'](l)['saveRevision']({'name':_0x5097fe['revisionName']}),_0xbd27e9['hide']());}this['_saveRevisionFormView']||(this['_createSaveRevisionFormView'](),this['_saveRevisionFormView']['on']('submit',()=>_0x4151f9(this['_saveRevisionFormView']))),this['_saveRevisionFormView']['reset'](),_0xbd27e9['show']({'id':'revisionSave','title':y(_0xb7ab16,'Save\x20current\x20revision'),'isModal':!0x0,'content':this['_saveRevisionFormView'],'actionButtons':[{'label':t('Cancel'),'withText':!0x0,'onExecute':()=>_0xbd27e9['hide']()},{'label':t('Accept'),'class':'ck-button-action','withText':!0x0,'onCreate'(_0x1412ce){_0x1412ce['bind']('isEnabled')['to'](_0x3bd560,'isReady',_0x3bd560,'isEnabled',_0x149183,'isReadOnly',(_0x549776,_0x25ba6e,_0x213914)=>_0x549776&&_0x25ba6e&&!_0x213914);},'onExecute':()=>_0x4151f9(this['_saveRevisionFormView'])}]});}['_createSaveRevisionFormView'](){const _0x447293=this['editor'],_0x47731a=_0x447293['locale'];this['_saveRevisionFormView']=new ns(_0x47731a,_0x447293['config']['get']('revisionHistory.requireRevisionName')),this['_saveRevisionFormView']['render']();}}class Z extends _0x4974b8{['changeId'];['_model'];constructor(_0x36e85d,_0x33d566){super(_0x36e85d),this['_model']=_0x33d566,this['changeId']=_0x33d566['id'];const _0x5936e6=this['bindTemplate'],_0x148fde=y(_0x36e85d,_0x33d566['data']['isSuggestion']?'Suggested\x20by':'add'==_0x33d566['type']?'Added\x20by':'Removed\x20by');this['set']('type',_0x33d566['type']),this['setTemplate']({'tag':'div','attributes':{'class':['ck-annotation','ck-revision-change',_0x5936e6['to']('type',_0x2dda4c=>'ck-revision-change__'+_0x2dda4c)],'tabindex':-0x1},'children':[{'tag':'span','children':[{'tag':'span','attributes':{'class':['ck-revision-change__label']},'children':[{'text':_0x148fde}]},{'text':'\x20'+_0x33d566['author']['name']}]}]});}['focus'](){this['element']['focus']();}}class r extends/* #__PURE__ -- @preserve */
25
+ _0x2854fa(){['id'];['author'];['type'];['data'];['rootName'];constructor(_0x438484){super(),this['id']=_0x438484['id']||_0x2a85a0(),this['author']=_0x438484['author'],this['type']=_0x438484['type'],this['data']=_0x438484['data']||{},this['rootName']=_0x438484['rootName'],this['set']('createdAt',_0x438484['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(_0x13c695,_0x570934){this['newRevisionId']=_0x13c695,this['oldRevisionId']=_0x570934,this['changes']=new _0x5c58fb();}['_setChanges'](_0x2f5343){for(const _0x3652f0 of _0x2f5343)this['changes']['add'](_0x3652f0);}}const tt={'c':_0x21b9af,'a':_0x385ec0,'e':_0x35f7e1,'r':_0x2205cd,'u':_0x3f8852};class d extends _0x4595fe{['repository'];['adapter'];['_activeViewTarget'];['_changeView'];['_changeIdToChange'];['_balloon'];static get['pluginName'](){return'RevisionViewer';}static get['requires'](){return[_0x5044de,_0x3728f7,A];}constructor(_0x22cff9){super(_0x22cff9),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',(_0x54597f,_0x2a0dba,_0x10922b)=>{this['activeChange']=null,this['activeView']=null,this['editor']['editing']['view']['change'](_0x45151b=>{for(const _0x2209cc of this['editor']['editing']['view']['document']['roots'])_0x10922b?_0x45151b['removeClass']('ck-editor__editable__overlay',_0x2209cc):_0x45151b['addClass']('ck-editor__editable__overlay',_0x2209cc);});}),this['bind']('isNavigationMode')['to'](this,'activeChange',_0x33e99d=>null!==_0x33e99d),this['bind']('currentChangeNumber')['to'](this,'isReady',this,'diff',this,'activeChange',(_0x5e9291,_0x5dffd4,_0x20ccb8)=>_0x5e9291&&_0x20ccb8?_0x5dffd4['changes']['getIndex'](_0x20ccb8):0x0),this['bind']('numberOfChanges')['to'](this,'isReady',this,'diff',(_0x2d7d6b,_0x369bf6)=>_0x2d7d6b?_0x369bf6['changes']['length']:0x0),this['_changeView']=null,this['_changeIdToChange']=new Map(),this['adapter']=null,this['_balloon']=this['editor']['plugins']['get'](_0x3728f7);}['init'](){const _0x5c9e76=this['editor'],_0x341632=new yt(_0x5c9e76,{'direction':'backward'}),_0x610ca2=new yt(_0x5c9e76,{'direction':'forward'});(_0x5c9e76['commands']['add']('showPreviousChange',_0x341632),_0x5c9e76['commands']['add']('showNextChange',_0x610ca2),_0x5c9e76['commands']['add']('restoreRevision',new bt(_0x5c9e76)),this['on']('change:numberOfChanges',()=>{_0x341632['refresh'](),_0x610ca2['refresh']();}),this['_setConversion'](),this['_initInteractions'](),_0x5c9e76['enableReadOnlyMode']('revision-viewer'),_0x5c9e76['plugins']['has']('WidgetToolbarRepository'))&&_0x5c9e76['plugins']['get']('WidgetToolbarRepository')['forceDisabled']('revision-viewer');}async['getRevisionData'](_0x3f246b){await this['loadRevisionData'](_0x3f246b);const _0x597009={};for(const _0x13c1c7 in _0x3f246b['diffData']){if(_0x3f246b['diffData'][_0x13c1c7]['attachChange']&&!_0x3f246b['diffData'][_0x13c1c7]['attachChange']['isAttached'])continue;const _0xfa671a=this['_removeRevisionMarkers'](JSON['parse'](_0x3f246b['diffData'][_0x13c1c7]['insertions'])),_0x41d3e5=this['editor']['editing']['view']['document'],_0x4fef66=new _0x1f697b(_0x41d3e5,_0xfa671a['map'](_0x15c86e=>this['_getViewObj'](_0x15c86e)));this['editor']['data']['processor']['useFillerType']('marked'),_0x597009[_0x13c1c7]=this['editor']['data']['processor']['toData'](_0x4fef66),this['editor']['data']['processor']['useFillerType']('default');}return _0x597009;}async['getRevisionRootsAttributes'](_0x540b7a){await this['loadRevisionData'](_0x540b7a);const _0x4a1a54={};for(const _0x47bc3f in _0x540b7a['diffData'])_0x540b7a['diffData'][_0x47bc3f]['attachChange']&&!_0x540b7a['diffData'][_0x47bc3f]['attachChange']['isAttached']||(_0x4a1a54[_0x47bc3f]=_0x540b7a['diffData'][_0x47bc3f]['attributesAfter']||{});return _0x4a1a54;}['_removeRevisionMarkers'](_0x3761df){return(_0x3761df=_0x3761df['filter'](_0x12a2ee=>!_0x12a2ee['name']||'revision-start'!==_0x12a2ee['name']&&'revision-end'!==_0x12a2ee['name']))['forEach'](_0x20e9e2=>{'string'!=typeof _0x20e9e2&&(_0x20e9e2['children']=this['_removeRevisionMarkers'](_0x20e9e2['children']),_0x20e9e2['attributes']=_0x20e9e2['attributes']['filter'](_0xba3033=>!_0xba3033[0x0]['startsWith']('data-revision-')));}),_0x3761df;}async['compare'](_0x767077,_0x115eac,_0xda8cfd=!0x1){if(!this['isEnabled'])return;const _0xc1c907=this['diff'],_0x38dd89=this['repository'],_0x51c0e1='string'==typeof _0x767077?_0x38dd89['getRevision'](_0x767077):_0x767077,_0x256543='string'==typeof _0x115eac?_0x38dd89['getRevision'](_0x115eac):_0x115eac,_0x514ab9=_0x51c0e1['id'],_0xff401e=_0x256543?_0x256543['id']:null;if(!_0xda8cfd&&this['diff']&&this['diff']['newRevisionId']===_0x514ab9&&this['diff']['oldRevisionId']===_0xff401e)return Promise['resolve']();this['isReady']=!0x1,this['activeView']=null,this['activeChange']=null,this['diff']=new f(_0x514ab9,_0xff401e);const _0x4ed6bc=this['_getRevisionsRange'](_0x51c0e1,_0x256543,!0x0)['map'](_0x9bc13b=>this['loadRevisionData'](_0x9bc13b));return _0x4ed6bc['push'](new Promise(_0x4a29de=>{setTimeout(_0x4a29de,0x14);})),Promise['all'](_0x4ed6bc)['then'](()=>{if(!this['isEnabled'])return;this['_cleanUp']();const _0x4d79df=this['_getDiff'](_0x514ab9,_0xff401e);for(const _0x4f6f99 of _0x4d79df['changes'])this['_changeIdToChange']['set'](_0x4f6f99['id'],_0x4f6f99);this['editor']['model']['enqueueChange']({'isUndoable':!0x1},_0x598497=>{for(const _0x3e4e5c of this['editor']['model']['document']['getRootNames']())_0x598497['detachRoot'](_0x3e4e5c);for(const _0xb8b680 of Object['keys'](_0x4d79df['model'])){const _0x3f7659=_0x598497['addRoot'](_0xb8b680);for(const _0x2e7294 of Object['keys'](_0x4d79df['attributes'][_0xb8b680]))_0x598497['setAttribute'](_0x2e7294,_0x4d79df['attributes'][_0xb8b680][_0x2e7294],_0x3f7659);_0x598497['insert'](_0x4d79df['model'][_0xb8b680],_0x3f7659,0x0);}}),this['diff']['_setChanges'](this['_sortAndFilterDiffChanges'](_0x4d79df['changes'])),this['isReady']=!0x0;})['catch'](_0xeae925=>{console['error'](_0xeae925),this['_cleanUp'](),_0xc1c907&&(this['diff']=_0xc1c907),this['isReady']=!0x0;});}['addRevisionData'](_0x5139f2,_0x1e7295){const _0x55ff33=this['repository']['createRevision'](_0x5139f2);return _0x55ff33['on']('_update',(_0x164406,_0xb56814,_0x330e3b)=>_0x1e7295(_0xb56814,_0x330e3b,_0x55ff33)),this['repository']['addRevision'](_0x55ff33),_0x55ff33;}['loadRevisionData'](_0x48620a){if(!_0x48620a||_0x48620a['diffData'])return Promise['resolve']();{const _0x3f97c4=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0x3f97c4,'revisionId':_0x48620a['id']})['then'](_0x325127=>{_0x48620a['_update']({'diffData':_0x325127['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},_0x5f0fdc=>{for(const _0x3ca7bf of this['editor']['model']['document']['getRootNames']())_0x5f0fdc['detachRoot'](_0x3ca7bf);});}['_sortAndFilterDiffChanges'](_0x4c72be){const _0x3069de=[],_0x3bd803=new Map();for(const _0x217dc0 of this['editor']['model']['document']['getRootNames']()){const _0x4b47e2=this['editor']['editing']['view']['getDomRoot'](_0x217dc0);if(!_0x4b47e2)continue;const _0x12fdba=_0x4b47e2['getClientRects']()['item'](0x0);_0x12fdba&&(_0x3069de['push'](_0x217dc0),_0x3bd803['set'](_0x217dc0,_0x12fdba));}return _0x3069de['sort']((_0x556c26,_0x98ab3e)=>{const _0x2e5c8a=_0x3bd803['get'](_0x556c26),_0x19fd2b=_0x3bd803['get'](_0x98ab3e);return _0x2e5c8a['y']-_0x19fd2b['y']||_0x2e5c8a['x']-_0x19fd2b['x'];}),(_0x4c72be=_0x4c72be['filter'](_0x45efcd=>_0x3069de['includes'](_0x45efcd['rootName'])))['sort']((_0x12cc04,_0x105701)=>_0x3069de['indexOf'](_0x12cc04['rootName'])-_0x3069de['indexOf'](_0x105701['rootName'])),_0x4c72be;}['_makeTape'](_0x1f34d3){const _0x276964=Array['from'](_0x1f34d3['markers'])['filter'](([_0x6f693f,_0x6db515])=>_0x6f693f['startsWith']('revision:')&&!_0x6db515['isCollapsed']),_0x3b2537=Array['from'](this['editor']['model']['createRangeIn'](_0x1f34d3)['getWalker']({'singleCharacters':!0x0}));if(0x0!=_0x276964['length'])for(const _0x81e5a9 of _0x3b2537){const [_0x5c3653,_0x1661d9]=_0x276964[0x0],[,_0x5e9d1c,_0x168856]=_0x5c3653['split'](':');if(_0x1661d9['end']['isEqual'](_0x81e5a9['nextPosition'])&&_0x276964['shift'](),(_0x81e5a9['previousPosition']['isEqual'](_0x1661d9['start'])||_0x81e5a9['previousPosition']['isAfter'](_0x1661d9['start']))&&('insertion'==_0x5e9d1c?_0x81e5a9['isAdded']={'userId':_0x168856}:'deletion'==_0x5e9d1c&&(_0x81e5a9['isRemoved']={'userId':_0x168856})),0x0==_0x276964['length'])break;}return _0x3b2537;}['_refreshStartEndIndex'](_0x23005c){const _0x2bdc88=new Map();for(let _0x27577f=0x0;_0x27577f<_0x23005c['length'];_0x27577f++)'text'===_0x23005c[_0x27577f]['type']?(_0x23005c[_0x27577f]['item']['startIndex']=_0x27577f,_0x23005c[_0x27577f]['item']['endIndex']=_0x27577f):('elementStart'===_0x23005c[_0x27577f]['type']?_0x23005c[_0x27577f]['item']['startIndex']=_0x27577f:'elementEnd'===_0x23005c[_0x27577f]['type']&&(_0x23005c[_0x27577f]['item']['endIndex']=_0x27577f),_0x2bdc88['set'](_0x23005c[_0x27577f]['id'],_0x27577f));for(const _0x44090a of _0x2bdc88['values']())'elementStart'===_0x23005c[_0x44090a]['type']?_0x23005c[_0x44090a]['item']['endIndex']=_0x2bdc88['get'](_0x23005c[_0x44090a]['pairId']):'elementEnd'===_0x23005c[_0x44090a]['type']&&(_0x23005c[_0x44090a]['item']['startIndex']=_0x2bdc88['get'](_0x23005c[_0x44090a]['pairId']));}['_processTape'](_0x2b010c){for(let _0x268937=0x0;_0x268937<_0x2b010c['length'];_0x268937++){if('elementStart'===_0x2b010c[_0x268937]['type'])_0x2b010c[_0x268937]['item']['startIndex']=_0x268937;else{if('elementEnd'===_0x2b010c[_0x268937]['type']){_0x2b010c[_0x268937]['item']['endIndex']=_0x268937;const _0x381fc2=_0x2b010c[_0x268937]['item']['startIndex'];_0x2b010c[_0x381fc2]['pairId']=_0x2b010c[_0x268937]['id'],_0x2b010c[_0x268937]['pairId']=_0x2b010c[_0x381fc2]['id'];}else _0x2b010c[_0x268937]['item']['startIndex']=_0x268937,_0x2b010c[_0x268937]['item']['endIndex']=_0x268937,_0x2b010c[_0x268937]['pairId']=null;}_0x2b010c[_0x268937]['markersStart']||(_0x2b010c[_0x268937]['markersStart']=[],_0x2b010c[_0x268937]['markersEnd']=[]);}}['_markInsertions'](_0x33e011,_0x3a00e4){const _0x16f3bc=_0x33e011['filter'](_0x1c999d=>!_0x1c999d['isAdded']);for(let _0x43b58b=0x0;_0x43b58b<_0x3a00e4['length'];_0x43b58b++)_0x3a00e4[_0x43b58b]['isAdded']&&(_0x16f3bc[_0x43b58b]['isAdded']=_0x3a00e4[_0x43b58b]['isAdded']);}['_makeModelFromViewString'](_0x2ea74b){const _0x1f4bd7=JSON['parse'](_0x2ea74b),_0x3e2dfd=this['editor']['editing']['view']['document'],_0x9ef184=new _0x1f697b(_0x3e2dfd,_0x1f4bd7['map'](_0x5565c7=>this['_getViewObj'](_0x5565c7)));return this['editor']['data']['toModel'](_0x9ef184);}['_getViewObj'](_0x41b86a){const _0x1e90b8=this['editor']['editing']['view']['document'];if('string'==typeof _0x41b86a)return new _0x504dd3(_0x1e90b8,_0x41b86a);{const _0x22c9a8=_0x41b86a['children']['map'](_0x483b1e=>this['_getViewObj'](_0x483b1e));return new(tt[_0x41b86a['type']]||_0x624aef)(_0x1e90b8,_0x41b86a['name'],_0x41b86a['attributes'],_0x22c9a8);}}['_getDiff'](_0x474004,_0x492820=null){const _0x4da630=this['repository']['getRevision'](_0x474004),_0x56aca2=_0x492820?this['repository']['getRevision'](_0x492820):null,_0xc796e0=this['_getRevisionsRange'](_0x4da630,_0x56aca2),_0x46b96c=_0xc796e0[_0xc796e0['length']-0x1],_0x223489=new Map(),_0x30e2f2={'model':{},'attributes':{},'changes':[]},_0x50a0fe=new Set(),_0x22a0a7=new Map();for(let _0x3b6f5f=_0xc796e0['length']-0x1;_0x3b6f5f>=0x0;_0x3b6f5f--){const _0x1b2abf=_0xc796e0[_0x3b6f5f];for(const _0x4616ea of Object['keys'](_0x1b2abf['diffData']))if(_0x1b2abf['diffData'][_0x4616ea]['attachChange']){const _0x682b6f=_0x1b2abf['diffData'][_0x4616ea]['attachChange'];_0x682b6f['isAttached']?(_0x50a0fe['add'](_0x4616ea),_0x22a0a7['has'](_0x4616ea)&&_0x22a0a7['get'](_0x4616ea)['userId']==_0x682b6f['userId']?_0x22a0a7['delete'](_0x4616ea):_0x22a0a7['set'](_0x4616ea,_0x682b6f)):_0x22a0a7['has'](_0x4616ea)?(_0x50a0fe['delete'](_0x4616ea),_0x22a0a7['delete'](_0x4616ea)):(_0x50a0fe['add'](_0x4616ea),_0x22a0a7['set'](_0x4616ea,_0x682b6f));}else _0x50a0fe['add'](_0x4616ea);}for(const _0x423393 of _0x50a0fe){const _0x52b572=_0x22a0a7['has'](_0x423393)&&!_0x22a0a7['get'](_0x423393)['isAttached'];let _0x36d6e9=_0x52b572?_0xc796e0['length']-0x1:0x0;const _0x40f910=_0x52b572?-0x1:0x1;for(;_0xc796e0[_0x36d6e9];){const _0x11c3e4=_0xc796e0[_0x36d6e9];if(_0x11c3e4['diffData'][_0x423393]){const _0x3ba26a=_0x52b572?_0x11c3e4['diffData'][_0x423393]['attributesBefore']:_0x11c3e4['diffData'][_0x423393]['attributesAfter'];_0x30e2f2['attributes'][_0x423393]=_0x3ba26a?_0x48276e(_0x3ba26a):{};break;}_0x36d6e9+=_0x40f910;}}for(const _0x43ad11 of _0xc796e0){_0x43ad11['model']={};for(const _0x2960fb of _0x43ad11['authors'])_0x223489['set'](_0x2960fb['id'],_0x2960fb);for(const _0x3828d8 of _0x50a0fe){const _0x50fe09=_0x43ad11['diffData'][_0x3828d8]?_0x43ad11['diffData'][_0x3828d8]['insertions']:'[]',_0x2a318a=_0x43ad11['diffData'][_0x3828d8]?_0x43ad11['diffData'][_0x3828d8]['deletions']:'[]';_0x43ad11['model'][_0x3828d8]={'insertions':this['_makeModelFromViewString'](_0x50fe09),'deletions':this['_makeModelFromViewString'](_0x2a318a)};}}for(const _0x2c313a of _0x50a0fe){let _0x254998=null,_0x25cdc0=0x0;const _0x351d1a=new Map(Array['from'](_0x4da630['model'][_0x2c313a]['insertions']['markers'])['filter'](([_0x3f88e3])=>!_0x3f88e3['startsWith']('revision:')));let _0x53b695=0x0;for(const _0x43a517 of _0xc796e0){const _0x2b43ba=this['_makeTape'](_0x43a517['model'][_0x2c313a]['insertions']);_0x43a517==_0x4da630?(_0x254998=_0x2b43ba,_0x25cdc0=_0x254998['length'],_0x254998['forEach'](_0x10db48=>{_0x10db48['id']=_0x53b695++;}),this['_processTape'](_0x254998)):this['_markInsertions'](_0x254998,_0x2b43ba);const _0x308460=_0x254998['filter'](_0x3c552d=>!_0x3c552d['isAdded'])['map'](_0x2480db=>_0x2480db['id']);let _0x15c10d=0x0;const _0x1aa67e=this['_makeTape'](_0x43a517['model'][_0x2c313a]['deletions']);_0x1aa67e['forEach'](_0x3415fe=>{_0x3415fe['isRemoved']?_0x3415fe['id']=_0x25cdc0++:_0x3415fe['id']=_0x308460[_0x15c10d++];}),this['_processTape'](_0x1aa67e),this['_setDistance'](_0x254998,'isAdded'),this['_setDistance'](_0x1aa67e,'isRemoved'),_0x43a517==_0x4da630&&this['_markMarkers'](_0x254998,_0x351d1a),_0x254998=this['_joinTapes'](_0x254998,_0x1aa67e),this['_refreshStartEndIndex'](_0x254998),this['_setDistance'](_0x254998,'isRemoved');}_0x254998=_0x254998['filter'](_0x455344=>!(_0x455344['isAdded']&&_0x455344['isRemoved']));const _0x412ef7=new Map(_0x46b96c['model'][_0x2c313a]['deletions']['markers']),_0x297e53=new Set(_0x351d1a['keys']());for(const _0x2cc280 of _0x412ef7['keys']())_0x297e53['delete'](_0x2cc280);this['_markSuggestions'](_0x254998,_0x297e53),this['_fixObsoleteTags'](_0x254998),_0x254998=this['_removeMissingPairs'](_0x254998),_0x254998=this['_markMismatchedRemovedTags'](_0x254998),_0x254998=this['_removeUnsupportedChanges'](_0x254998);const {root:_0x307cd2,changes:_0x419c9f}=this['_makeModelFromTape'](_0x254998,_0x223489,_0x2c313a);_0x30e2f2['model'][_0x2c313a]=_0x307cd2;const _0x6dc37c=_0x22a0a7['get'](_0x2c313a);if(_0x6dc37c){const _0xbc5310=_0x223489['get'](_0x6dc37c['userId']),_0x4eb576=new r({'author':_0xbc5310,'type':_0x6dc37c['isAttached']?'add':'remove','data':{'isOnRoot':!0x0},'createdAt':new Date(),'rootName':_0x2c313a});_0x419c9f['unshift'](_0x4eb576),_0x30e2f2['attributes'][_0x2c313a]['revisionHistoryAttachChange']=_0x4eb576['id'];}_0x30e2f2['changes']=_0x30e2f2['changes']['concat'](_0x419c9f);}return _0x30e2f2;}['_markMarkers'](_0x1bdcb7,_0x1b62a2){for(let _0xd61c9a=0x0;_0xd61c9a<_0x1bdcb7['length'];_0xd61c9a++)for(const [_0x588cb8,_0xe7305f]of _0x1b62a2)_0xe7305f['start']['isEqual'](_0x1bdcb7[_0xd61c9a]['previousPosition'])&&_0x1bdcb7[_0xd61c9a]['markersStart']['push'](_0x588cb8),_0xe7305f['end']['isEqual'](_0x1bdcb7[_0xd61c9a]['nextPosition'])&&_0x1bdcb7[_0xd61c9a]['markersEnd']['push'](_0x588cb8);}['_joinTapes'](_0x195a69,_0x249ae9){let _0x276ab2=[],_0x2cb2a6=0x0,_0x4d5191=0x0;for(;_0x2cb2a6<_0x195a69['length']||_0x4d5191<_0x249ae9['length'];){const _0x3bfa06=_0x195a69[_0x2cb2a6]||{},_0x5f3ddc=_0x249ae9[_0x4d5191]||{};if(_0x3bfa06['id']==_0x5f3ddc['id'])_0x2cb2a6++,_0x4d5191++,_0x276ab2['push'](_0x3bfa06);else{if(_0x5f3ddc['isRemoved']&&_0x3bfa06['isAdded']){const {commonTape:_0x17cf61,iEnd:_0x57786d,jEnd:_0x17b654}=this['_threeWayMerge'](_0x195a69,_0x2cb2a6,_0x249ae9,_0x4d5191);_0x276ab2=_0x276ab2['concat'](_0x17cf61),_0x2cb2a6=_0x57786d,_0x4d5191=_0x17b654;}else _0x5f3ddc['isRemoved']?(_0x4d5191++,_0x276ab2['push'](_0x5f3ddc)):(_0x2cb2a6++,_0x276ab2['push'](_0x3bfa06));}}return _0x276ab2;}['_markSuggestions'](_0x5d2abf,_0xc951b5){const _0x2d1dfa=[];for(let _0x14ce87=0x0;_0x14ce87<_0x5d2abf['length'];_0x14ce87++){for(let _0x135ad5=0x0;_0x135ad5<_0x5d2abf[_0x14ce87]['markersStart']['length'];_0x135ad5++){const _0x5142f2=_0x5d2abf[_0x14ce87]['markersStart'][_0x135ad5];if(!_0xc951b5['has'](_0x5142f2))continue;const {group:_0x53bada,type:_0x20ef8d,authorId:_0x8e91dd}=_0x402990(_0x5142f2);'revision-suggestion'!=_0x53bada||'insertion'!=_0x20ef8d&&'deletion'!=_0x20ef8d||(_0x2d1dfa['unshift']({'type':_0x20ef8d,'name':_0x5142f2,'userId':_0x8e91dd}),_0x5d2abf[_0x14ce87]['markersStart']['splice'](_0x135ad5,0x1),_0x135ad5--);}_0x58c9b0(_0x5d2abf[_0x14ce87]);for(let _0xe00e32=0x0;_0xe00e32<_0x5d2abf[_0x14ce87]['markersEnd']['length'];_0xe00e32++){const _0x11ecbc=_0x5d2abf[_0x14ce87]['markersEnd'][_0xe00e32];if(!_0xc951b5['has'](_0x11ecbc))continue;const {group:_0x344b4e,type:_0x5848cd}=_0x402990(_0x11ecbc);if('revision-suggestion'!=_0x344b4e||'insertion'!=_0x5848cd&&'deletion'!=_0x5848cd)continue;_0x5d2abf[_0x14ce87]['markersEnd']['splice'](_0xe00e32,0x1),_0xe00e32--;const _0x179339=_0x2d1dfa['findIndex'](_0xd5596d=>_0xd5596d['name']==_0x11ecbc);_0x179339>-0x1&&_0x2d1dfa['splice'](_0x179339,0x1);}}function _0x402990(_0x1f4424){const _0x5026f4=_0x1f4424['split'](':');return{'group':_0x5026f4[0x0],'type':_0x5026f4[0x1],'subType':_0x5026f4['length']>=0x5?_0x5026f4[0x2]:null,'id':_0x5026f4['length']<0x5?_0x5026f4[0x2]:_0x5026f4[0x3],'authorId':_0x5026f4['length']<0x5?_0x5026f4[0x3]:_0x5026f4[0x4],'markerCount':0x6==_0x5026f4['length']?_0x5026f4[0x5]:null};}function _0x58c9b0(_0x5ea8a1){for(let _0x33aea2=0x0;_0x33aea2<_0x2d1dfa['length'];_0x33aea2++){if(_0x5ea8a1['isAdded']&&'insertion'==_0x2d1dfa[_0x33aea2]['type'])return _0x5ea8a1['isAddSuggestion']=_0x2d1dfa[_0x33aea2],void delete _0x5ea8a1['isAdded'];if(!_0x5ea8a1['isAdded']&&!_0x5ea8a1['isRemoved']&&'deletion'==_0x2d1dfa[_0x33aea2]['type'])return void(_0x5ea8a1['isRemoveSuggestion']=_0x2d1dfa[_0x33aea2]);}}}['_setDistance'](_0x2eed18,_0x3c63e7){let _0x1540f7=0x0,_0x333862=!0x1;const _0x2db27d=new Map();for(const _0x10e2b0 of _0x2eed18)_0x10e2b0[_0x3c63e7]?_0x333862&&(_0x1540f7++,_0x333862=!0x1):(_0x1540f7++,_0x333862=!0x0),_0x2db27d['set'](_0x10e2b0['id'],_0x1540f7);for(let _0x4e71e8=0x0;_0x4e71e8<_0x2eed18['length'];_0x4e71e8++){if('isRemoved'==_0x3c63e7&&_0x2eed18[_0x4e71e8]['isAdded']||'isAdded'==_0x3c63e7&&_0x2eed18[_0x4e71e8]['isRemoved'])continue;if('text'==_0x2eed18[_0x4e71e8]['type']){_0x2eed18[_0x4e71e8]['distance']=0x0;continue;}const _0x4452e1=_0x2db27d['get'](_0x2eed18[_0x4e71e8]['pairId']),_0x2f81bf=_0x2db27d['get'](_0x2eed18[_0x4e71e8]['id']);_0x2eed18[_0x4e71e8]['distance']=_0x4452e1-_0x2f81bf;}}['_getRevisionsRange'](_0x1f95ec,_0x3e8980,_0x49b24f=!0x1){const _0x192a35=[];let _0x145cdc=this['repository']['getIndex'](_0x1f95ec),_0xdd736d=this['repository']['getIndex'](_0x3e8980);for(-0x1==_0xdd736d&&(_0xdd736d=this['repository']['_revisions']['length'],_0x49b24f=!0x1);_0x145cdc<_0xdd736d;)_0x192a35['push'](this['repository']['getRevision'](_0x145cdc)),_0x145cdc++;return _0x49b24f&&_0x192a35['push'](this['repository']['getRevision'](_0x145cdc)),_0x192a35;}['_threeWayMerge'](_0xd9c752,_0x5aba4d,_0x14549e,_0x3ee014){const _0x13859c=this['editor']['model']['schema'];let _0x49801c=_0x5aba4d;for(;_0xd9c752[_0x49801c]&&_0xd9c752[_0x49801c]['isAdded'];)_0x49801c++;let _0x2bd52b=_0x3ee014;for(;_0x14549e[_0x2bd52b]&&_0x14549e[_0x2bd52b]['isRemoved'];)_0x2bd52b++;_0x1738a8(_0xd9c752,_0x5aba4d,_0x49801c),_0x1738a8(_0x14549e,_0x3ee014,_0x2bd52b);const _0x323953=_0x14549e['slice'](_0x3ee014,_0x2bd52b)['concat'](_0xd9c752['slice'](_0x5aba4d,_0x49801c));return _0x323953['sort']((_0x1b3d97,_0x1db5f5)=>_0x1b3d97['side']!=_0x1db5f5['side']?_0x1b3d97['side']-_0x1db5f5['side']:_0x1b3d97['level']!=_0x1db5f5['level']?_0x1b3d97['level']-_0x1db5f5['level']:_0x1b3d97['distance']!=_0x1db5f5['distance']?_0x1db5f5['distance']-_0x1b3d97['distance']:!!_0x1b3d97['isAdded']!=!!_0x1db5f5['isAdded']?-0x1==_0x1b3d97['side']||0x0==_0x1b3d97['side']?_0x1b3d97['isAdded']?-0x1:0x1:_0x1b3d97['isAdded']?0x1:-0x1:_0x1b3d97['index']-_0x1db5f5['index']),{'commonTape':_0x323953,'iEnd':_0x49801c,'jEnd':_0x2bd52b};function _0x1738a8(_0x1e777b,_0x44ba05,_0x5c3496){let _0x2e3e75=-0x1,_0x57a587=Number['POSITIVE_INFINITY'],_0x30a3be=!0x0;for(let _0x5b5670=_0x44ba05;_0x5b5670<_0x5c3496;_0x5b5670++)if(_0x13859c['isInline'](_0x1e777b[_0x5b5670]['item'])||(_0x30a3be=!0x1),_0x1e777b[_0x5b5670]['item']['startIndex']<_0x44ba05&&(_0x2e3e75=_0x5b5670),_0x1e777b[_0x5b5670]['item']['endIndex']>=_0x5c3496){_0x57a587=_0x5b5670;break;}_0x30a3be&&(_0x2e3e75=_0x5c3496-0x1);for(let _0x41d54d=_0x44ba05;_0x41d54d<_0x5c3496;_0x41d54d++)_0x1e777b[_0x41d54d]['side']=_0x41d54d<=_0x2e3e75?-0x1:_0x41d54d<_0x57a587?0x0:0x1,_0x1e777b[_0x41d54d]['index']=_0x41d54d;let _0x1ecd9b=0x0;for(let _0x2252f0=_0x44ba05;_0x2252f0<=_0x2e3e75;_0x2252f0++)0x0==_0x1e777b[_0x2252f0]['distance']?_0x1e777b[_0x2252f0]['level']=_0x1ecd9b:(_0x1ecd9b++,_0x1e777b[_0x2252f0]['level']=_0x1ecd9b,_0x1ecd9b++);for(let _0x49b884=_0x44ba05;_0x49b884<_0x5c3496;_0x49b884++)0x0==_0x1e777b[_0x49b884]['side']&&(_0x1e777b[_0x49b884]['level']=_0x1ecd9b);_0x1ecd9b=0x0;for(let _0x33a58e=_0x5c3496-0x1;_0x33a58e>=_0x57a587;_0x33a58e--)0x0==_0x1e777b[_0x33a58e]['distance']?_0x1e777b[_0x33a58e]['level']=_0x1ecd9b:(_0x1ecd9b--,_0x1e777b[_0x33a58e]['level']=_0x1ecd9b,_0x1ecd9b--);}}['_fixObsoleteTags'](_0x21ebdd){const _0x467081=new Map(),_0x15197f=this['editor']['model']['schema'];for(let _0x19c92a=0x1;_0x19c92a<_0x21ebdd['length'];_0x19c92a++){let _0x42286e,_0x5b4a90,_0x3d8892;const _0x484259=_0x21ebdd[_0x19c92a],_0x1d5155=_0x21ebdd[_0x19c92a-0x1];if('text'==_0x484259['type'])continue;if(_0x484259['type']!=_0x1d5155['type'])continue;if(!_0x15197f['isBlock'](_0x1d5155['item'])||_0x15197f['isLimit'](_0x1d5155['item']))continue;if(!_0x15197f['isBlock'](_0x484259['item'])||_0x15197f['isLimit'](_0x484259['item']))continue;if((_0x21ebdd[_0x19c92a]['isAdded']||_0x21ebdd[_0x19c92a]['isAddSuggestion'])&&_0x21ebdd[_0x19c92a-0x1]['isRemoved'])_0x42286e=_0x21ebdd[_0x19c92a],_0x5b4a90=_0x21ebdd[_0x19c92a-0x1],_0x3d8892=_0x19c92a-0x1;else{if(!_0x21ebdd[_0x19c92a]['isRemoved']||!_0x21ebdd[_0x19c92a-0x1]['isAdded']&&!_0x21ebdd[_0x19c92a-0x1]['isAddSuggestion'])continue;_0x42286e=_0x21ebdd[_0x19c92a-0x1],_0x5b4a90=_0x21ebdd[_0x19c92a],_0x3d8892=_0x19c92a;}const _0x7019ae=_0x42286e['level']==_0x5b4a90['level'],_0x16dcdc=Math['abs'](_0x42286e['level'])<Math['abs'](_0x5b4a90['level'])&&0x0==_0x5b4a90['distance'];(_0x7019ae||_0x16dcdc)&&(_0x467081['set'](_0x5b4a90['id'],_0x42286e['id']),_0x21ebdd['splice'](_0x3d8892,0x1),_0x19c92a--,_0x42286e['isAdded']=!0x1);}for(let _0x9913ce=0x0;_0x9913ce<_0x21ebdd['length'];_0x9913ce++)_0x467081['has'](_0x21ebdd[_0x9913ce]['pairId'])&&(_0x21ebdd[_0x9913ce]['pairId']=_0x467081['get'](_0x21ebdd[_0x9913ce]['pairId']));}['_removeMissingPairs'](_0x28de79){const _0x4562bd=new Set(_0x28de79['map'](_0x3b943f=>_0x3b943f['id']));for(let _0x46438b=0x0;_0x46438b<_0x28de79['length'];_0x46438b++)_0x4562bd['has'](_0x28de79[_0x46438b]['pairId'])||0x0==_0x28de79[_0x46438b]['distance']||(_0x28de79[_0x46438b]['isIncorrect']=!0x0);return _0x28de79['filter'](_0x146318=>!_0x146318['isIncorrect']);}['_markMismatchedRemovedTags'](_0x2130da){const _0x276677=new Set();for(let _0x346d87=0x0;_0x346d87<_0x2130da['length'];_0x346d87++){if(_0x276677['has'](_0x2130da[_0x346d87]['id'])&&_0x2130da[_0x346d87]['isRemoved']&&(_0x2130da[_0x346d87]['isIncorrect']=!0x0),_0x2130da[_0x346d87]['isIncorrect'])continue;if(0x0==_0x2130da[_0x346d87]['distance'])continue;if('elementStart'!=_0x2130da[_0x346d87]['type'])continue;if(null==_0x2130da[_0x346d87]['pairId'])continue;let _0x2bfb42=_0x346d87+0x1,_0x3cb1d6=0x0;for(;_0x2130da[_0x2bfb42]['id']!=_0x2130da[_0x346d87]['pairId'];)'elementStart'==_0x2130da[_0x2bfb42]['type']?_0x3cb1d6++:'elementEnd'==_0x2130da[_0x2bfb42]['type']&&_0x3cb1d6--,_0x2bfb42++;if(0x0!=_0x3cb1d6){if(_0x2130da[_0x346d87]['isRemoved'])_0x2130da[_0x346d87]['isIncorrect']=!0x0;else{for(;_0x2bfb42!=_0x346d87;)_0x2130da[_0x2bfb42]['isRemoved']&&0x0!=_0x2130da[_0x2bfb42]['distance']&&(_0x2130da[_0x2bfb42]['isIncorrect']=!0x0,_0x276677['add'](_0x2130da[_0x2bfb42]['pairId'])),_0x2bfb42--;}}}return _0x2130da['filter'](_0x502f3f=>!_0x502f3f['isIncorrect']);}['_removeUnsupportedChanges'](_0x43fa30){const _0x35602b=this['editor']['model']['schema'];for(let _0x1a74da=0x0;_0x1a74da<_0x43fa30['length'];_0x1a74da++){if(!(_0x43fa30[_0x1a74da]['isAdded']||_0x43fa30[_0x1a74da]['isAddSuggestion']||_0x43fa30[_0x1a74da]['isRemoved']||_0x43fa30[_0x1a74da]['isRemoveSuggestion']))continue;if(0x0==_0x43fa30[_0x1a74da]['distance'])continue;const _0x58671f=_0x43fa30[_0x1a74da]['item'];_0x35602b['isBlock'](_0x58671f)||_0x35602b['isLimit'](_0x58671f)||(_0x43fa30[_0x1a74da]['isAdded']&&delete _0x43fa30[_0x1a74da]['isAdded'],_0x43fa30[_0x1a74da]['isAddSuggestion']&&delete _0x43fa30[_0x1a74da]['isAddSuggestion'],_0x43fa30[_0x1a74da]['isRemoveSuggestion']&&delete _0x43fa30[_0x1a74da]['isRemoveSuggestion'],_0x43fa30[_0x1a74da]['isRemoved']&&(_0x43fa30[_0x1a74da]['isIncorrect']=!0x0));}return _0x43fa30['filter'](_0x52e761=>!_0x52e761['isIncorrect']);}['_makeModelFromTape'](_0x5c5ce1,_0x5c986e,_0x3129c6){const _0xfa731d=new wt(),_0x4ab004=[],_0x107c7e=new Map(),_0x545228=this['editor']['model'],_0x1505a1=_0x545228['schema'],_0x271975=[_0xfa731d],_0x365140={},_0x5b7487={'isAdded':[],'isRemoved':[],'isAddSuggestion':[],'isRemoveSuggestion':[]};let _0x3a67ea=null;const _0x33358f=[0x0];for(let _0x186c4c=0x0;_0x186c4c<_0x5c5ce1['length'];_0x186c4c++){let _0x3cac54,_0x7ded4a;if('elementStart'===_0x5c5ce1[_0x186c4c]['type']){_0x3cac54=_0x545228['createPositionFromPath'](_0xfa731d,_0x33358f);const _0x47957e=new ft(_0x5c5ce1[_0x186c4c]['item']['name'],_0x5c5ce1[_0x186c4c]['item']['getAttributes']());_0x271975[0x0]['_appendChild'](_0x47957e),_0x33358f['push'](0x0),_0x271975['unshift'](_0x47957e),_0x7ded4a=_0x545228['createPositionFromPath'](_0xfa731d,_0x33358f),_0x3a67ea=null;}else{if('elementEnd'===_0x5c5ce1[_0x186c4c]['type'])_0x271975['shift'](),_0x3cac54=_0x545228['createPositionFromPath'](_0xfa731d,_0x33358f),_0x33358f['pop'](),_0x33358f[_0x33358f['length']-0x1]++,_0x7ded4a=_0x545228['createPositionFromPath'](_0xfa731d,_0x33358f),_0x3a67ea=null;else{if(_0x3cac54=_0x545228['createPositionFromPath'](_0xfa731d,_0x33358f),_0x3a67ea&&_0x5ae3f5(_0x3a67ea,_0x5c5ce1[_0x186c4c]['item']))_0x3a67ea['_data']+=_0x5c5ce1[_0x186c4c]['item']['data'];else{const _0x10ff99=new _t(_0x5c5ce1[_0x186c4c]['item']['data'],_0x5c5ce1[_0x186c4c]['item']['getAttributes']());_0x271975[0x0]['_appendChild'](_0x10ff99),_0x3a67ea=_0x10ff99;}_0x33358f[_0x33358f['length']-0x1]+=_0x5c5ce1[_0x186c4c]['item']['offsetSize'],_0x7ded4a=_0x545228['createPositionFromPath'](_0xfa731d,_0x33358f);}}for(const _0x575893 of _0x5c5ce1[_0x186c4c]['markersStart'])_0x107c7e['set'](_0x575893,{'start':_0x3cac54,'end':null});_0x381133('isRemoveSuggestion',_0x186c4c,_0x3cac54,_0x7ded4a),_0x381133('isAddSuggestion',_0x186c4c,_0x3cac54,_0x7ded4a),_0x381133('isRemoved',_0x186c4c,_0x3cac54,_0x7ded4a),_0x381133('isAdded',_0x186c4c,_0x3cac54,_0x7ded4a);for(const _0x159ab4 of _0x5c5ce1[_0x186c4c]['markersEnd']){_0x107c7e['get'](_0x159ab4)['end']=_0x7ded4a;}}for(const [_0x10877d,_0x4b4359]of _0x107c7e){const _0x2abbc7=this['editor']['model']['createRange'](_0x4b4359['start'],_0x4b4359['end']);_0xfa731d['markers']['set'](_0x10877d,_0x2abbc7);}return _0x4ab004['sort']((_0x55c66f,_0x496c2e)=>{const _0x17f333=_0xfa731d['markers']['get']('revision:'+_0x55c66f['id']),_0x37cbb3=_0xfa731d['markers']['get']('revision:'+_0x496c2e['id']);return _0x17f333['start']['isBefore'](_0x37cbb3['start'])?-0x1:_0x17f333['start']['isAfter'](_0x37cbb3['start'])?0x1:_0x17f333['end']['isBefore'](_0x37cbb3['end'])?-0x1:_0x17f333['end']['isAfter'](_0x37cbb3['end'])?0x1:'add'===_0x55c66f['type']?-0x1:0x1;}),{'root':_0xfa731d,'changes':_0x4ab004};function _0x381133(_0x4a46ec,_0x4312e7,_0x3fda91,_0x44fd8d){const _0x381663=!!_0x5c5ce1[_0x4312e7][_0x4a46ec],_0x337c11=_0x381663?_0x5c5ce1[_0x4312e7][_0x4a46ec]['userId']:null,_0x46dfcd=_0x4312e7===_0x5c5ce1['length']-0x1,_0xd9de8b=_0x5b7487[_0x4a46ec][0x0],_0x41f321=_0x1505a1['isObject'](_0x5c5ce1[_0x4312e7]['item']);!_0x365140[_0x4a46ec]&&_0x381663?_0x365140[_0x4a46ec]={'start':_0x3fda91,'tapeItem':_0x5c5ce1[_0x4312e7],'userId':_0x337c11,'type':_0x4a46ec}:_0x365140[_0x4a46ec]&&!_0x381663?(_0x365140[_0x4a46ec]['end']=_0x3fda91,_0x2dcabb(_0x365140[_0x4a46ec]),_0x365140[_0x4a46ec]=null):_0x365140[_0x4a46ec]&&_0x381663&&_0x365140[_0x4a46ec]['userId']!==_0x337c11&&(_0x365140[_0x4a46ec]['end']=_0x3fda91,_0xd9de8b&&_0xd9de8b['userId']===_0x365140[_0x4a46ec]['userId']||_0x2dcabb(_0x365140[_0x4a46ec]),_0x365140[_0x4a46ec]={'start':_0x3fda91,'tapeItem':_0x5c5ce1[_0x4312e7],'userId':_0x337c11,'type':_0x4a46ec}),_0x365140[_0x4a46ec]&&_0x41f321&&('elementStart'!==_0x5c5ce1[_0x4312e7]['type']||_0xd9de8b&&_0xd9de8b['userId']===_0x337c11||_0x5b7487[_0x4a46ec]['unshift']({'userId':_0x337c11,'object':_0x5c5ce1[_0x4312e7]['item'],'change':_0x365140[_0x4a46ec]}),'elementEnd'===_0x5c5ce1[_0x4312e7]['type']&&_0xd9de8b&&_0xd9de8b['object']===_0x5c5ce1[_0x4312e7]['item']&&(_0x5b7487[_0x4a46ec]['shift'](),_0x365140[_0x4a46ec]=_0xd9de8b['change'])),_0x365140[_0x4a46ec]&&_0x46dfcd&&(_0x365140[_0x4a46ec]['end']=_0x44fd8d,_0x2dcabb(_0x365140[_0x4a46ec]),_0x365140[_0x4a46ec]=null);}function _0x2dcabb({start:_0x208e61,end:_0xbf8698,tapeItem:_0x3e48c9,userId:_0x2909a2,type:_0x11071d}){const _0x571c0f=_0x3e48c9['item'],_0x178c1a=_0x545228['schema']['isBlock'](_0x571c0f)&&!_0x545228['schema']['isLimit'](_0x571c0f),_0x8d1c84=_0x208e61['nodeAfter']==_0xbf8698['parent']&&_0xbf8698['isAtStart'];if(_0x178c1a&&_0x8d1c84)return;const _0x53c95a=_0x545228['createRange'](_0x208e61,_0xbf8698),_0x1e0b9a=_0x5c986e['get'](_0x2909a2),_0x19b4c5=new r({'author':_0x1e0b9a,'type':'isAdded'==_0x11071d||'isAddSuggestion'==_0x11071d?'add':'remove','data':{'isSuggestion':'isAddSuggestion'==_0x11071d||'isRemoveSuggestion'==_0x11071d},'createdAt':new Date(),'rootName':_0x3129c6});_0x4ab004['push'](_0x19b4c5),_0xfa731d['markers']['set']('revision:'+_0x19b4c5['id'],_0x53c95a);}function _0x5ae3f5(_0x5a5f5d,_0x480078){const _0x586b3c=_0x5a5f5d['getAttributes'](),_0x1f9155=_0x480078['getAttributes']();for(const _0x3af6a of _0x586b3c){if(_0x3af6a[0x1]!==_0x480078['getAttribute'](_0x3af6a[0x0]))return!0x1;_0x1f9155['next']();}return _0x1f9155['next']()['done'];}}['_setConversion'](){this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'revision'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision','view':_0x2cf9b1=>{const _0x3275a0=_0x2cf9b1['markerName']['split'](':')[0x1],_0x396bb8=this['_getChangeFromId'](_0x3275a0);if(!_0x396bb8)return null;const _0x1d77aa='add'==_0x396bb8['type']?'insertion':'deletion',_0x1b124d=['ck-suggestion-marker','ck-suggestion-marker-'+_0x1d77aa];return _0x396bb8['data']['isSuggestion']&&_0x1b124d['push']('ck-suggestion-marker-'+_0x1d77aa+'-new'),this['activeChange']==_0x396bb8&&_0x1b124d['push']('ck-suggestion-marker--active'),{'classes':_0x1b124d,'attributes':{'data-change-id':_0x3275a0}};}}),this['editor']['conversion']['for']('upcast')['add'](_0x401224=>{_0x401224['on']('element:pre',(_0x5c180e,_0x3beada,_0x4e276e)=>{const _0x524b7b=_0x3beada['viewItem']['getChild'](0x0);if(!_0x524b7b||!_0x524b7b['is']('element','code'))return;if(!_0x4e276e['consumable']['consume'](_0x524b7b,{'attributes':['vid_start','vid_end']}))return;const _0x1d6db5=_0x3beada['modelRange']['start']['nodeAfter'];_0x4e276e['writer']['setAttribute']('vid_start',_0x524b7b['getAttribute']('vid_start'),_0x1d6db5),_0x4e276e['writer']['setAttribute']('vid_end',_0x524b7b['getAttribute']('vid_end'),_0x1d6db5);},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['add'](_0x5b3f34=>{_0x5b3f34['on']('element',(_0x31c7e5,_0x4112d1,_0x15fc13)=>{if(!_0x15fc13['consumable']['consume'](_0x4112d1['viewItem'],{'attributes':['vid_start','vid_end']}))return;if(_0x4112d1['modelRange']['isCollapsed'])return;const _0x288030=_0x4112d1['modelRange']['start']['nodeAfter'];_0x288030['hasAttribute']('vid_start')||_0x288030['hasAttribute']('vid')||(_0x15fc13['writer']['setAttribute']('vid_start',_0x4112d1['viewItem']['getAttribute']('vid_start'),_0x288030),_0x15fc13['writer']['setAttribute']('vid_end',_0x4112d1['viewItem']['getAttribute']('vid_end'),_0x288030));},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['elementToAttribute']({'view':{'name':'span','attributes':{'vid':!0x0}},'model':{'key':'vid','value':_0x32fa4e=>_0x32fa4e['getAttribute']('vid')}}),this['editor']['model']['schema']['on']('checkAttribute',(_0x3c4f84,[,_0x5a4546])=>{['vid_start','vid_end','vid']['includes'](_0x5a4546)&&(_0x3c4f84['return']=!0x0,_0x3c4f84['stop']());},{'priority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['add'](_0x37d0db=>{_0x37d0db['on']('attribute:vid',(_0x1a8919,_0x4fed6a,_0x1bfbc8)=>{if('\x20'!=_0x4fed6a['item']['data']||_0x4fed6a['item']['parent']['maxOffset']>0x1)return;if(!_0x1bfbc8['consumable']['consume'](_0x4fed6a['item'],_0x1a8919['name']))return;const _0x4f9136=_0x1bfbc8['writer'],_0x1bf430=_0x1bfbc8['mapper']['toViewRange'](_0x4fed6a['range']);_0x4f9136['wrap'](_0x1bf430,_0x4f9136['createAttributeElement']('span'));});}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',function(_0xd1d866){const _0xde4acd=_0xd1d866['plugins']['get']('RevisionViewer');return(_0xb68e23,_0x2707d4,_0x28a712)=>{const _0x487054=_0x2707d4['markerName']['split'](':')[0x1],_0x17925e=_0xde4acd['_getChangeFromId'](_0x487054);if(!_0x17925e)return null;const _0x27427a='add'==_0x17925e['type']?'split':'merge';if(!_0x28a712['consumable']['test'](_0x2707d4['markerRange'],_0xb68e23['name']))return;const _0x3619aa=_0x2707d4['markerRange']['getWalker'](),_0x3c8410=_0x2707d4['markerRange']['start'],_0x3918d3=_0xd1d866['model']['schema'];let _0x1d7d93=null,_0x325683=null,_0x460942=!0x1,_0xce4f9f=!0x1;for(const _0x3429cb of _0x3619aa){const _0x104373=_0x3429cb['item'];_0x460942=_0x460942||_0x3918d3['isContent'](_0x104373);const _0x37f2cd=_0x28a712['mapper']['toViewElement'](_0x104373);if(_0x37f2cd&&_0x37f2cd['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x3429cb['type']&&(_0x3918d3['isBlock'](_0x104373)&&!_0x3918d3['isLimit'](_0x104373)&&(_0x104373['nextSibling']||_0x3c8410['isAtEnd']?_0x1d7d93&&_0x1d7d93['parent']==_0x104373||(_0x1d7d93=_0x104373,_0x10a6d9(_0x3429cb['previousPosition']),_0xce4f9f=!0x0):_0x325683=_0x325683||_0x3429cb['previousPosition']));}function _0x10a6d9(_0x1a13b5){const _0x484027=_0x28a712['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x27427a}),_0x2a2265=_0x28a712['mapper']['toViewPosition'](_0x1a13b5);_0x17925e['data']['isSuggestion']&&_0x28a712['writer']['addClass']('ck-suggestion-marker-'+_0x27427a+'-new',_0x484027),_0xde4acd['activeChange']==_0x17925e&&_0x28a712['writer']['addClass']('ck-suggestion-marker--active',_0x484027),_0x28a712['writer']['insert'](_0x2a2265,_0x484027),_0x28a712['mapper']['bindElementToMarker'](_0x484027,_0x2707d4['markerName']);}_0x460942||_0xce4f9f||!_0x325683||_0x10a6d9(_0x325683);};}(this['editor']),{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('removeMarker:revision',(_0x1f55d4,_0x3fe2f2,_0x5d582c)=>{const _0x5a0abb=_0x5d582c['mapper']['markerNameToElements'](_0x3fe2f2['markerName']);if(_0x5a0abb){for(const _0x3df542 of _0x5a0abb)(_0x3df542['hasClass']('ck-suggestion-marker-split')||_0x3df542['hasClass']('ck-suggestion-marker-merge'))&&(_0x5d582c['mapper']['unbindElementFromMarkerName'](_0x3df542,_0x3fe2f2['markerName']),_0x5d582c['writer']['remove'](_0x3df542));}},{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',(_0x835388,_0x54cb26,_0x2c4d42)=>{const _0x531b77=_0x54cb26['markerName']['split'](':')[0x1],_0xd46061=this['_getChangeFromId'](_0x531b77);if(!_0xd46061)return null;const _0xd8970f='add'==_0xd46061['type']?'split':'merge';if(_0x2c4d42['consumable']['test'](_0x54cb26['markerRange'],_0x835388['name']))for(const _0x47ce23 of _0x54cb26['markerRange']['getItems']()){if(!_0x47ce23['is']('element','softBreak'))continue;const _0x28b8ad=_0x2c4d42['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0xd8970f}),_0x52c4c8=_0x2c4d42['mapper']['toViewPosition'](this['editor']['model']['createPositionBefore'](_0x47ce23));_0xd46061['data']['isSuggestion']&&_0x2c4d42['writer']['addClass']('ck-suggestion-marker-'+_0xd8970f+'-new',_0x28b8ad),this['activeChange']==_0xd46061&&_0x2c4d42['writer']['addClass']('ck-suggestion-marker--active',_0x28b8ad),_0x2c4d42['writer']['insert'](_0x52c4c8,_0x28b8ad),_0x2c4d42['mapper']['bindElementToMarker'](_0x28b8ad,_0x54cb26['markerName']);}},{'priority':'high'}),this['editor']['model']['document']['on']('change',()=>{this['editor']['editing']['view']['change'](_0x27cf0d=>{for(const _0x1f6c58 of this['editor']['model']['document']['getRootNames']()){const _0x49da2d=this['editor']['model']['document']['getRoot'](_0x1f6c58),_0x1f8bd9=this['editor']['editing']['view']['document']['getRoot'](_0x1f6c58);if(_0x1f8bd9){const _0x3b5579=_0x49da2d['getAttribute']('revisionHistoryAttachChange');if(_0x27cf0d['removeAttribute']('data-change-id',_0x1f8bd9),_0x27cf0d['removeClass']('ck-revision-history-root-add',_0x1f8bd9),_0x27cf0d['removeClass']('ck-revision-history-root-remove',_0x1f8bd9),_0x27cf0d['removeClass']('ck-revision-history-root--active',_0x1f8bd9),_0x3b5579){const _0x5c589b=this['_getChangeFromId'](_0x3b5579);if(!_0x5c589b)return null;_0x27cf0d['setAttribute']('data-change-id',_0x3b5579,_0x1f8bd9),_0x27cf0d['addClass']('ck-revision-history-root-'+_0x5c589b['type'],_0x1f8bd9),this['activeChange']==_0x5c589b&&_0x27cf0d['addClass']('ck-revision-history-root--active',_0x1f8bd9);}}}});}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'comment','model':_0x386bff=>'revision-comment:'+_0x386bff,'converterPriority':'highest'}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'suggestion','model':_0x524321=>'revision-suggestion:'+_0x524321,'converterPriority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision-suggestion','view':_0x2625ed=>({'name':'suggestion:'+_0x2625ed,'group':'revision-suggestion'}),'converterPriority':'highest'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision-suggestion','view':_0x56e7e4=>{const _0x1d1bc3=_0x56e7e4['markerName']['split'](':')[0x1];return'insertion'!=_0x1d1bc3&&'deletion'!=_0x1d1bc3?null:{'classes':['ck-suggestion-preview-marker','ck-suggestion-preview-marker-'+_0x1d1bc3]};}}),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',(_0x277815,_0x4d8e4c,_0x11fba3)=>{const _0x5805d4=_0x11fba3['mapper']['markerNameToElements'](_0x4d8e4c['markerName']);if(_0x5805d4){for(const _0x5719e4 of _0x5805d4)_0x5719e4['is']('uiElement')&&(_0x11fba3['mapper']['unbindElementFromMarkerName'](_0x5719e4,_0x4d8e4c['markerName']),_0x11fba3['writer']['remove'](_0x5719e4));}},{'priority':'high'});}['_getChangeFromId'](_0xc454ea){return this['_changeIdToChange']['get'](_0xc454ea);}['_getViewForChange'](_0x3e29e9){return this['_changeView']&&this['_changeView']['destroy'](),this['_changeView']=new Z(this['editor']['locale'],_0x3e29e9),this['_changeView'];}['_initInteractions'](){this['editor']['model']['document']['selection']['observeMarkers']('revision'),this['on']('change:activeView',(_0x39d46a,_0x53537e,_0x170cb8,_0x1182c4)=>{_0x1182c4&&this['_balloon']['remove'](_0x1182c4),_0x170cb8&&(this['_balloon']['add']({'view':_0x170cb8,'stackId':'revisionHistoryLabel','position':{'target':()=>{const _0x2be634=this['editor']['editing'],_0x514f65=this['_getChangeFromId'](_0x170cb8['changeId']);let _0x209f03;if(_0x514f65['data']['isOnRoot']){const _0x450086=_0x2be634['view']['getDomRoot'](_0x514f65['rootName']);_0x209f03=Array['from'](_0x450086['getClientRects']());}else{const _0x5eb116=this['editor']['model']['markers']['get']('revision:'+_0x170cb8['changeId']);_0x209f03=Array['from'](_0x2be634['mapper']['markerNameToElements'](_0x5eb116['name']))['map'](_0x2a7c3f=>_0x2be634['view']['domConverter']['mapViewToDom'](_0x2a7c3f))['map'](_0x2174b9=>Array['from'](_0x2174b9['getClientRects']()))['flat']();}if(!this['_activeViewTarget'])return _0x209f03[0x0];return _0x209f03['find'](_0x4fc81e=>_0x4fc81e['top']-0x3<=this['_activeViewTarget']['y']&&_0x4fc81e['bottom']+0x3>=this['_activeViewTarget']['y']&&_0x4fc81e['left']-0x3<=this['_activeViewTarget']['x']&&_0x4fc81e['right']+0x3>=this['_activeViewTarget']['x'])||_0x209f03[0x0];}}}),this['_balloon']['showStack']('revisionHistoryLabel'));}),this['on']('change:activeChange',(_0xa4f04d,_0x44dc24,_0x2e760e,_0x1d0d9c)=>{this['activeView']=_0x2e760e?this['_getViewForChange'](_0x2e760e):null,this['editor']['model']['change'](()=>{const _0x4e76fc=this['editor']['editing'];_0x1d0d9c&&(_0x1d0d9c['data']['isOnRoot']?_0x4e76fc['view']['change'](_0x1a0e38=>{_0x1a0e38['removeClass']('ck-revision-history-root--active',_0x4e76fc['view']['document']['getRoot'](_0x1d0d9c['rootName']));}):_0x4e76fc['reconvertMarker']('revision:'+_0x1d0d9c['id'])),_0x2e760e&&(_0x2e760e['data']['isOnRoot']?_0x4e76fc['view']['change'](_0x4da2a8=>{_0x4da2a8['addClass']('ck-revision-history-root--active',_0x4e76fc['view']['document']['getRoot'](_0x2e760e['rootName']));}):_0x4e76fc['reconvertMarker']('revision:'+_0x2e760e['id']));});}),this['listenTo'](this['editor']['editing']['view']['document'],'mouseover',(_0xd36665,_0x517c9c)=>{if(this['activeChange'])return;const _0x27b43b=this['_findChangeIdFromDomTarget'](_0x517c9c['target']),_0x66f8c0=this['_changeIdToChange']['get'](_0x27b43b);_0x66f8c0?(this['_activeViewTarget']={'x':_0x517c9c['domEvent']['x'],'y':_0x517c9c['domEvent']['y']},this['activeView']=this['_getViewForChange'](_0x66f8c0)):(this['_activeViewTarget']=null,this['activeView']=null);}),this['listenTo'](this['editor']['editing']['view']['document'],'mousedown',(_0x1e4fd2,_0x564a8a)=>{const _0x3d32ad=this['_findChangeIdFromDomTarget'](_0x564a8a['target']),_0x347a7a=this['_changeIdToChange']['get'](_0x3d32ad);_0x347a7a?(this['_activeViewTarget']={'x':_0x564a8a['domEvent']['x'],'y':_0x564a8a['domEvent']['y']},_0x347a7a===this['activeChange']?this['_balloon']['updatePosition']():this['activeChange']=_0x347a7a):(this['_activeViewTarget']=null,this['activeChange']=null);});}['_findChangeIdFromDomTarget'](_0x36107a){do{const _0x20293f=_0x36107a['getAttribute']('data-change-id');if(_0x20293f)return _0x20293f;_0x36107a=_0x36107a['parent'];}while(_0x36107a);return null;}['_cleanMarkers'](){this['editor']['model']['change'](_0x1a094c=>{for(const _0x3129fe of this['editor']['model']['markers'])_0x1a094c['removeMarker'](_0x3129fe);});}}function et(_0x77b017,_0x18adea){return(_0x2506d8,_0x4e77ef,_0x305474)=>{if(!_0x305474['consumable']['test'](_0x4e77ef['markerRange'],_0x2506d8['name']))return;const _0x5c4e53=_0x4e77ef['markerRange']['getWalker'](),_0x4d4c63=_0x4e77ef['markerRange']['start'],_0x574258=_0x77b017['model']['schema'];let _0x40e898=null,_0x40d726=null,_0xcbe0a7=!0x1,_0x52e908=!0x1;for(const _0x57a9cd of _0x5c4e53){const _0xd4aeb3=_0x57a9cd['item'];_0xcbe0a7=_0xcbe0a7||_0x574258['isContent'](_0xd4aeb3);const _0x48d760=_0x305474['mapper']['toViewElement'](_0xd4aeb3);if(_0x48d760&&_0x48d760['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x57a9cd['type']&&(_0x574258['isBlock'](_0xd4aeb3)&&!_0x574258['isLimit'](_0xd4aeb3)&&(_0xd4aeb3['nextSibling']||_0x4d4c63['isAtEnd']?_0x40e898&&_0x40e898['parent']==_0xd4aeb3||(_0x40e898=_0xd4aeb3,_0x2eafaa(_0x57a9cd['previousPosition']),_0x52e908=!0x0):_0x40d726=_0x40d726||_0x57a9cd['previousPosition']));}function _0x2eafaa(_0x3234cc){const _0x54ade2=_0x305474['mapper']['toViewPosition'](_0x3234cc),_0x3e7ef2=_0x305474['writer']['createUIElement']('span',{'class':'ck-suggestion-preview-marker-'+_0x18adea});_0x305474['writer']['insert'](_0x54ade2,_0x3e7ef2),_0x305474['mapper']['bindElementToMarker'](_0x3e7ef2,_0x4e77ef['markerName']);}_0xcbe0a7||_0x52e908||!_0x40d726||_0x2eafaa(_0x40d726);};}class bt extends _0x3e7edf{constructor(_0x444169){super(_0x444169);const _0x2440e6=_0x444169['plugins']['get'](d);this['affectsData']=!0x1,this['listenTo'](_0x2440e6,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x2440e6,'change:isEnabled',()=>this['refresh']());}['execute'](){const _0x5327fe=this['editor'],_0x2a0353=_0x5327fe['plugins']['get'](d),_0x35680a=_0x2a0353['isReady']?_0x2a0353['diff']['newRevisionId']:null;_0x5327fe['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x35680a);}['refresh'](){const {isReady:_0x2ba1e7,isEnabled:_0x32e399}=this['editor']['plugins']['get'](d);this['isEnabled']=_0x2ba1e7&&_0x32e399;}}class yt extends _0x3e7edf{['_step'];constructor(_0x53ea8d,{direction:_0x3fc81b}){super(_0x53ea8d);const _0x2d6850=_0x53ea8d['plugins']['get'](d);this['affectsData']=!0x1,this['_step']='forward'===_0x3fc81b?0x1:-0x1,this['listenTo'](_0x2d6850,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x2d6850,'change:isEnabled',()=>this['refresh']()),this['listenTo'](_0x2d6850,'change:activeChange',()=>this['refresh']());}['execute'](){const _0x187a91=this['editor'],_0x4bb199=_0x187a91['plugins']['get'](d),{isNavigationMode:_0x22820d,currentChangeNumber:_0x1a81ee}=_0x4bb199;let _0x5d16b9;if(_0x4bb199['activeChange']=_0x22820d?_0x4bb199['diff']['changes']['get'](_0x1a81ee+this['_step']):_0x4bb199['diff']['changes']['first'],_0x4bb199['activeChange']['data']['isOnRoot'])_0x5d16b9=_0x187a91['editing']['view']['getDomRoot'](_0x4bb199['activeChange']['rootName']);else{const _0x1502b6=_0x187a91['model']['markers']['get']('revision:'+_0x4bb199['activeChange']['id']);_0x5d16b9=_0x40d4c2(_0x187a91['editing'],_0x1502b6);}_0x38f60a({'target':_0x5d16b9,'viewportOffset':0x28});}['refresh'](){const {isNavigationMode:_0x2b3888,currentChangeNumber:_0x2a894e,numberOfChanges:_0x249f85,isReady:_0x1729c8,isEnabled:_0x5691f8}=this['editor']['plugins']['get'](d);this['isEnabled']=!!(_0x5691f8&&_0x1729c8&&_0x249f85)&&(!_0x2b3888||(0x1===this['_step']?_0x2a894e<_0x249f85-0x1:_0x2a894e>0x0));}}class _i extends _0x4974b8{constructor(_0x305bf5){super(_0x305bf5);const _0x494607=this['bindTemplate'],_0x2e8f63=new _0x21e96e(_0x305bf5),_0x109e0a=new _0x21e96e(_0x305bf5);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',(_0x591103,_0x174ccc)=>_0x591103&&_0x174ccc>0x0),this['bind']('_statusText')['to'](this,'isReady',this,'currentChangeNumber',this,'numberOfChanges',this,'isNavigationMode',(_0x29ccfe,_0x25830b,_0x1f00ce,_0x3b1a5c)=>{if(!_0x29ccfe)return y(_0x305bf5,'Loading...');if(!_0x1f00ce)return y(_0x305bf5,'No\x20changes');const _0x1ab3ac=y(_0x305bf5,'NUMBER_OF_CHANGES',_0x1f00ce);return _0x3b1a5c?y(_0x305bf5,'X_OF_Y_CHANGES',[_0x25830b+0x1,_0x1f00ce]):_0x1ab3ac;}),_0x2e8f63['set']({'label':y(_0x305bf5,'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'}),_0x109e0a['set']({'label':y(_0x305bf5,'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'}),_0x2e8f63['bind']('isEnabled')['to'](this,'isBackwardNavigationEnabled'),_0x109e0a['bind']('isEnabled')['to'](this,'isForwardNavigationEnabled'),_0x2e8f63['on']('execute',()=>this['fire']('execute','backward')),_0x109e0a['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',_0x494607['if']('_isStatusLabelVisible','ck-hidden',_0x309382=>!_0x309382)]},'children':[{'text':_0x494607['to']('isNavigationMode',_0x5385c0=>_0x5385c0?y(_0x305bf5,'EDIT_X_OF_Y_REVISIONS')+':\x20':y(_0x305bf5,'Total')+':\x20')}]},{'text':_0x494607['to']('_statusText')}]},new _0x1ef7b7(),{'tag':'div','attributes':{'class':['ck-revision-history-ui__changes-navigation__navigation']},'children':[_0x2e8f63,_0x109e0a]}]});}}const ce='ck-editor__editable__loading-overlay';class de extends _0x4595fe{static get['pluginName'](){return'RevisionViewerLoadingOverlay';}['show'](){const _0x36d42d=this['editor']['editing']['view'];_0x36d42d['change'](_0x21c575=>{for(const _0x5c7899 of _0x36d42d['document']['roots'])_0x21c575['addClass'](ce,_0x5c7899);});}['hide'](){const _0x1cfced=this['editor']['editing']['view'];_0x1cfced['change'](_0x26bc6a=>{for(const _0x2af980 of _0x1cfced['document']['roots'])_0x26bc6a['removeClass'](ce,_0x2af980);});}}class R extends _0x4595fe{static get['pluginName'](){return'RevisionViewerUI';}static get['requires'](){return[d,de];}['init'](){const _0x5422af=this['editor'],_0xc668b7=_0x5422af['plugins']['get'](d),_0xf8cda9=_0x5422af['plugins']['get'](de);_0x5422af['ui']['componentFactory']['add']('exitToEditing',_0x2c6199=>{const _0x348786=new _0x21e96e(_0x2c6199);return _0x348786['set']({'label':y(_0x2c6199,'Back\x20to\x20editing'),'icon':_0x28a782['undo'],'withText':!0x0,'tooltip':!0x0,'class':'ck-revision-history-ui__back-to-editing'}),this['listenTo'](_0x348786,'execute',()=>{_0x5422af['config']['get']('revisionHistory')['closeRevisionViewerCallback']();}),_0x348786;}),_0x5422af['ui']['componentFactory']['add']('restoreRevision',_0x47e063=>{const _0x3a1d1a=new _0x21e96e(_0x47e063);return _0x3a1d1a['set']({'label':y(_0x47e063,'Restore\x20this\x20revision'),'withText':!0x0,'tooltip':!0x0}),_0x3a1d1a['bind']('isEnabled')['to'](_0x5422af['commands']['get']('restoreRevision')),this['listenTo'](_0x3a1d1a,'execute',()=>_0x5422af['execute']('restoreRevision')),_0x3a1d1a;}),_0x5422af['ui']['componentFactory']['add']('changesNavigation',_0x509d17=>{const _0x2b177f=new _i(_0x509d17),_0x5ae5c4=_0x5422af['commands']['get']('showPreviousChange'),_0x436264=_0x5422af['commands']['get']('showNextChange');return _0x2b177f['bind']('isBackwardNavigationEnabled')['to'](_0x5ae5c4,'isEnabled'),_0x2b177f['bind']('isForwardNavigationEnabled')['to'](_0x436264,'isEnabled'),_0x2b177f['bind']('isReady','currentChangeNumber','numberOfChanges','isNavigationMode')['to'](_0xc668b7),this['listenTo'](_0x2b177f,'execute',(_0x412adf,_0x535342)=>{_0x5422af['execute']('forward'===_0x535342?'showNextChange':'showPreviousChange');}),_0x2b177f;}),_0xf8cda9['show'](),_0xc668b7['on']('change:isReady',(_0x221e02,_0x5ef771,_0xe8a692)=>{_0xe8a692?_0xf8cda9['hide']():_0xf8cda9['show']();});}}class kt extends at{['_resizeObserver']=null;constructor(_0x5dfe80,_0x4632c1){super(_0x5dfe80,_0x4632c1);const _0x2128c0=this['bindTemplate'];this['set']({'label':y(_0x5dfe80,'Revision\x20name'),'_tooltipString':''}),this['fieldView']['placeholder']=y(_0x5dfe80,'Enter\x20the\x20revision\x20name'),this['extendTemplate']({'tag':'span','attributes':{'class':['ck-revision-history-sidebar__revision-name'],'data-cke-tooltip-text':_0x2128c0['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 _0xe69f91=this['fieldView']['element'];this['_tooltipString']=_0xe69f91['scrollWidth']>_0xe69f91['clientWidth']&&_0xe69f91['value']||'';}}class ti extends _0x4974b8{constructor(_0x28c62d,_0x1ef8a4,_0x203bf9){super(_0x28c62d);const _0x5431cd=new _0x1aef54();_0x5431cd['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 _0x176620=['ck','ck-revision-history-sidebar__revision-author'];_0x203bf9&&_0x176620['push']('ck-revision-history-sidebar__revision-author_creator');const _0x311c40=[{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__revision-author__name'],'title':y(_0x28c62d,_0x203bf9?'Revision\x20creator':'Revision\x20author')},'children':[_0x5431cd,_0x1ef8a4['name']]}];this['setTemplate']({'tag':'li','attributes':{'class':_0x176620},'children':_0x311c40});}}function ni(_0x28ef6a,_0x493310){const _0x5a93ab=_0x28ef6a['bindTemplate'],_0x5754d9=_0x28ef6a['locale'],_0x588e45=_0x392660(_0x5754d9);_0x588e45['panelPosition']='sw';const _0x1238b6=function(_0x3716f4,_0x2debc6){const _0x40e028=function(_0x41f7b5,_0x4681bf){const _0x53a4bb=_0x41f7b5['locale'],_0x4be77e={'Compare\x20against\x20selected':y(_0x53a4bb,'Compare\x20against\x20selected'),'Name\x20this\x20revision':y(_0x53a4bb,'Name\x20this\x20revision'),'Restore\x20this\x20revision':y(_0x53a4bb,'Restore\x20this\x20revision')};return _0x4681bf['map'](_0x28161d=>{const _0x1c40dd=_0x4be77e[_0x28161d['name']];return _0x1c40dd&&_0x1c40dd!==_0x28161d['name']&&(_0x28161d['name']=_0x1c40dd),_0x28161d;});}(_0x3716f4,_0x2debc6),_0x424ae3=new _0x5c58fb();for(const _0x39932d of _0x40e028){const _0x34121e={'type':'button','model':new to({'label':_0x39932d['name'],'class':_0x39932d['class'],'withText':!0x0,'role':'menuitem','_action':_0x39932d['action']})};_0x34121e['model']['bind']('isEnabled')['to'](_0x3716f4,'isActionsDropdownOpen',_0xb1eb52=>'function'!=typeof _0x39932d['isEnabled']||(!_0xb1eb52||_0x39932d['isEnabled'](_0x3716f4))),_0x424ae3['add'](_0x34121e);}return _0x424ae3;}(_0x28ef6a,_0x493310);return _0x28ef6a['bind']('isActionsDropdownOpen')['to'](_0x588e45,'isOpen'),_0x588e45['buttonView']['set']({'label':y(_0x5754d9,'Show\x20more\x20items'),'tooltip':!0x0,'tooltipPosition':'sw','icon':_0x28a782['threeVerticalDots']}),_0x588e45['extendTemplate']({'attributes':{'class':['ck-revision-history-sidebar__revision__actions',_0x5a93ab['if']('isActionsDropdownOpen','ck-on')]},'on':{'click':_0x5a93ab['to'](_0x42b766=>_0x42b766['stopPropagation']())}}),_0x588e45['on']('execute',_0x5ca6cd=>{_0x28ef6a['isReady']&&'function'==typeof _0x5ca6cd['source']['_action']&&_0x5ca6cd['source']['_action'](_0x28ef6a);}),_0x5dc3d9(_0x588e45,_0x1238b6,{'role':'menu'}),_0x588e45['listenTo'](_0x28ef6a,'change:isActionsDropdownOpen',(_0x366d00,_0xd8b5fd,_0x41b9ea)=>{if(_0x41b9ea)for(const _0x221826 of _0x588e45['listView']['items']){const _0x10ec4a=_0x221826['children']['first'],_0x45a601=_0x493310['find'](_0x4e2248=>_0x4e2248['action']===_0x10ec4a['_action'])['isVisible'];_0x221826['isVisible']=void 0x0===_0x45a601||_0x45a601(_0x28ef6a);}}),_0x588e45;}class ai extends/* #__PURE__ -- @preserve */
26
+ _0x3558f0(_0x4974b8){['id'];['revisionNameView'];['revisionActionsView'];['_revision'];['_requireRevisionName'];constructor(_0x412030,_0x36588d,_0xa9c143,_0x4441f4){super(_0x412030);const _0x54a338=this['bindTemplate'],_0x2ed0ab=function(_0x4f21f5,_0x161c24){const _0x2e78f3=Array['from'](_0x161c24['authors'])['filter'](_0x214877=>_0x214877!=_0x161c24['creator']);return _0x161c24['creator']&&_0x2e78f3['unshift'](_0x161c24['creator']),_0x2e78f3['map'](_0x27f0f6=>new ti(_0x4f21f5,_0x27f0f6,_0x27f0f6==_0x161c24['creator']));}(_0x412030,_0x36588d);this['id']=_0x36588d['id'],this['_revision']=_0x36588d,this['_requireRevisionName']=_0x4441f4,this['bind']('name','createdAt')['to'](_0x36588d),this['bind']('_createdAtFormatted')['to'](this,'createdAt',_0x40b330=>{return _0x28373c=_0x412030['uiLanguage'],(_0x3aff1d=_0x40b330)['toLocaleDateString'](_0x28373c,{'month':'long','day':'numeric'})+',\x20'+_0x3aff1d['toLocaleTimeString'](_0x28373c,{'hour':'numeric','minute':'numeric'});var _0x28373c,_0x3aff1d;}),this['set']('isSelected',!0x1),this['set']('isHighlighted',!0x1),this['set']('isActionsDropdownOpen',!0x1),this['set']('isReady',!0x1),this['set']('isEnabled',!0x1),this['revisionNameView']=new kt(_0x412030,_0x3f7270),this['revisionNameView']['fieldView']['extendTemplate']({'attributes':{'maxlength':'220'}}),this['revisionNameView']['fieldView']['bind']('value')['to'](this,'name',_0x34eaa6=>_0x34eaa6||this['_createdAtFormatted']),this['revisionNameView']['bind']('isEnabled')['to'](this,'isSelected',this,'isEnabled',(_0x580857,_0x5b583f)=>_0x580857&&_0x5b583f),this['revisionActionsView']=_0xa9c143&&_0xa9c143['length']?ni(this,_0xa9c143):'',this['revisionActionsView']&&this['revisionActionsView']['bind']('isEnabled')['to'](this),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision-wrapper',_0x54a338['if']('isConfirm','ck-revision-history-sidebar__revision-wrapper_confirmation_visible')]},'children':[{'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision',_0x54a338['if']('isEnabled','ck-disabled',_0x22cc46=>!_0x22cc46),_0x54a338['if']('isSelected','ck-revision-history-sidebar__revision_selected'),_0x54a338['if']('isHighlighted','ck-revision-history-sidebar__revision_highlighted'),_0x54a338['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':_0x54a338['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':_0x2ed0ab}]},this['revisionActionsView']],'on':{'click':_0x54a338['to'](_0x18aadc=>{_0x18aadc['srcElement']['closest']('.ck-thread__remove-confirm')||this['isReady']&&this['isEnabled']&&this['fire']('select',{'id':this['id']});})}}]});}['render'](){super['render']();const _0x38d2e1=this['revisionNameView']['fieldView']['element'];this['listenTo'](_0x38d2e1,'change',()=>{this['_requireRevisionName']&&!_0x38d2e1['value']||this['fire']('setName',{'id':this['id'],'name':_0x38d2e1['value']}),_0x38d2e1['value']||(_0x38d2e1['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(_0x2f2569,_0x3e809a){const _0x4a6c86=_0x41005a['fromJSDate'](_0x2f2569)['setLocale'](_0x3e809a),_0x10b87f=_0x41005a['local'](),_0x189c50=_0x10b87f['minus']({'days':0x1})['startOf']('day');let _0x3b9fa8,_0x4ebb19;return _0x4a6c86['hasSame'](_0x10b87f,'day')?(_0x3b9fa8=_0x4a6c86['startOf']('day')['toJSDate'](),_0x4ebb19=_0x4a6c86['toRelativeCalendar']()):_0x4a6c86['hasSame'](_0x189c50,'day')?(_0x3b9fa8=_0x189c50['toJSDate'](),_0x4ebb19=_0x4a6c86['toRelativeCalendar']()):_0x4a6c86['hasSame'](_0x10b87f,'week')?(_0x3b9fa8=_0x4a6c86['startOf']('week')['toJSDate'](),_0x4ebb19=_0x4a6c86['weekdayLong']||''):_0x4a6c86['hasSame'](_0x10b87f,'year')?(_0x3b9fa8=_0x4a6c86['startOf']('month')['toJSDate'](),_0x4ebb19=_0x4a6c86['monthLong']||''):(_0x3b9fa8=_0x4a6c86['startOf']('year')['toJSDate'](),_0x4ebb19=String(_0x4a6c86['year'])),{'startDate':_0x3b9fa8,'localizedPeriodName':_0x4ebb19};}class mi extends _0x4974b8{['startDate'];['revisionViews'];['_revisionActions'];['_requireRevisionName'];constructor(_0x4bedd6,_0x5d1d8e,_0x2e7128,_0x32b5b3){super(_0x4bedd6);const _0x544c1b=di(_0x5d1d8e,this['locale']['uiLanguage'])['localizedPeriodName'];this['startDate']=_0x5d1d8e,this['revisionViews']=this['createCollection'](),this['_revisionActions']=_0x2e7128,this['_requireRevisionName']=_0x32b5b3,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':_0x544c1b}]},{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__time-period__revisions']},'children':this['revisionViews']}]});}['addRevision'](_0x388461){const _0x59eb66=new ai(this['locale'],_0x388461,this['_revisionActions'],this['_requireRevisionName']);this['revisionViews']['add'](_0x59eb66);}['removeRevision'](_0x10a753){const _0x5c5ad0=this['revisionViews']['find'](_0x599578=>_0x599578['id']===_0x10a753['id']);this['revisionViews']['remove'](_0x5c5ad0);}}class as extends _0x4974b8{constructor(_0x3d7936){super(_0x3d7936);const _0x173463=new _0x1aef54();_0x173463['content']=_0x28a782['history'],this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all','ck-revision-history-sidebar__header']},'children':[_0x173463,{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__header__label']},'children':[y(_0x3d7936,'Revision\x20history')]}]});}}class ci extends _0x4974b8{['timePeriodViews'];['_revisions'];['_revisionActions'];['_requireRevisionName'];constructor(_0x2bd050,_0x550761,_0x5bb6b9,_0x4608d3){super(_0x2bd050);const _0x521af1=this['bindTemplate'];this['timePeriodViews']=this['createCollection'](),this['timePeriodViews']['delegate']('select')['to'](this),this['timePeriodViews']['delegate']('setName')['to'](this),this['_revisions']=_0x550761,this['_revisionActions']=_0x5bb6b9,this['_requireRevisionName']=_0x4608d3,this['on']('select',(_0x56b4d4,_0xc85349)=>{this['fire']('revisionSelected',_0xc85349);}),this['on']('setName',(_0x5a7be9,_0xdca449)=>{this['fire']('revisionSetName',_0xdca449);}),this['set']('isEnabled',!0x1),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-rounded-corners','ck-revision-history-sidebar']},'children':[new as(_0x2bd050),{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__timeline',_0x521af1['if']('isEnabled','ck-disabled',_0x312575=>!_0x312575)]},'children':this['timePeriodViews']}]});}['render'](){super['render']();for(const _0x26a4bb of this['_revisions'])this['_addRevision'](_0x26a4bb);this['_revisions']['on']('add',(_0x1bcb07,_0x5b7a41)=>{this['_addRevision'](_0x5b7a41);}),this['_revisions']['on']('remove',(_0xb0efb1,_0x498723)=>{this['_removeRevision'](_0x498723);});}get['revisionViews'](){return this['timePeriodViews']['map'](_0x4baa32=>_0x4baa32['revisionViews']['map'](_0x5710c8=>_0x5710c8))['flat']();}['selectRevision'](_0x5f3b69){for(const _0x6ded20 of this['revisionViews'])_0x5f3b69&&_0x5f3b69['id']===_0x6ded20['id']?_0x6ded20['select']():_0x6ded20['deselect']();}['highlightRevisions'](_0x5a8bbe){for(const _0x20b5e7 of this['revisionViews'])_0x5a8bbe['some'](({id:_0x1de1cf})=>_0x1de1cf===_0x20b5e7['id'])?_0x20b5e7['highlight']():_0x20b5e7['unhighlight']();}['_addRevision'](_0x5ae1c4){const _0x4157a4=di(_0x5ae1c4['createdAt'],this['locale']['uiLanguage'])['startDate'];let _0x39811a=this['timePeriodViews']['get'](0x0);_0x39811a&&_0x39811a['startDate']['getTime']()===_0x4157a4['getTime']()||(_0x39811a=new mi(this['locale'],_0x4157a4,this['_revisionActions'],this['_requireRevisionName']),this['timePeriodViews']['add'](_0x39811a)),_0x39811a['addRevision'](_0x5ae1c4);}['_removeRevision'](_0xe182e7){const _0x3f1fc4=di(_0xe182e7['createdAt'],this['locale']['uiLanguage'])['startDate'];this['_getTimePeriodViewByStartDate'](_0x3f1fc4)['removeRevision'](_0xe182e7);}['_getTimePeriodViewByStartDate'](_0x55f6f6){return this['timePeriodViews']['find'](_0x315c42=>_0x315c42['startDate']['getTime']()===_0x55f6f6['getTime']());}}class w extends _0x4595fe{['_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(_0xd81fa3){super(_0xd81fa3),this['_revisionViewer']=_0xd81fa3['plugins']['get'](d),this['_revisionsRepository']=this['_revisionViewer']['repository'],this['_sidebarView']=null;}['init'](){const _0x56c2c2=this['_revisionsRepository']['_revisions'],_0x5635c9=this['_createRevisionActions'](),_0x59de94=this['editor']['config']['get']('revisionHistory.viewerSidebarContainer');this['_sidebarView']=new ci(this['editor']['locale'],_0x56c2c2,_0x5635c9,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',(_0x21b22c,_0x432913)=>{_0x432913['revisionViews']['on']('add',(_0x4bdf29,_0x229dd1)=>{_0x229dd1['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)),_0x59de94['appendChild'](this['_sidebarView']['element']);}['destroy'](){this['_sidebarView']['element']['remove'](),this['_sidebarView']['destroy']();}['_handleEditorDataReady'](){const _0x5c0485=this['_revisionsRepository']['getRevision'](0x0);if(_0x5c0485){const _0x5514dc=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x5c0485['id']);this['_revisionViewer']['compare'](_0x5c0485,_0x5514dc);}}['_handleRevisionSelected'](_0x2172f7,_0x58d3bd){const _0x6c20d5=this['_revisionsRepository']['getRevision'](_0x58d3bd['id']),_0x55df9f=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x6c20d5['id']);this['_revisionViewer']['compare'](_0x6c20d5,_0x55df9f);}['_handleRevisionSetName'](_0x32560d,_0x486847){this['_revisionsRepository']['getRevision'](_0x486847['id'])['setName'](_0x486847['name']);}['_handleDiffChange'](_0x55c760,_0x4387c0,_0x617a22){const _0x385b25=this['_revisionsRepository']['getRevisionsInDiff'](_0x617a22);_0x385b25['length']>0x2?(this['_sidebarView']['highlightRevisions'](_0x385b25),this['_sidebarView']['selectRevision'](null)):(this['_sidebarView']['highlightRevisions']([]),this['_sidebarView']['selectRevision'](_0x385b25[0x0]));}['_createRevisionActions'](){const _0x5f43fa=this['editor'],_0x333959=w['availableRevisionActions'],_0x953f28=_0x5f43fa['config']['get']('revisionHistory.revisionActions')||w['defaultRevisionActions'];if(_0x953f28['length'])return _0x953f28['map'](_0x4d1477=>{const _0x29fa78='string'==typeof _0x4d1477?Object['assign']({},_0x333959[_0x4d1477]):_0x4d1477;return _0x29fa78['action']=_0x29fa78['action']['bind'](this,_0x5f43fa),_0x29fa78['isVisible']&&(_0x29fa78['isVisible']=_0x29fa78['isVisible']['bind'](this,_0x5f43fa)),_0x29fa78;});}}function Rt(){return{'compareAgainstSelected':{'name':'Compare\x20against\x20selected','action':({plugins:_0x3a3889},_0xdacab6)=>{const _0x156103=_0x3a3889['get'](d),_0x3ca348=_0x156103['repository'];let _0x200d44=_0x156103['diff']['newRevisionId'],_0x420bbd=_0xdacab6['id'];_0x3ca348['getIndex'](_0x200d44)>_0x3ca348['getIndex'](_0x420bbd)&&([_0x200d44,_0x420bbd]=[_0x420bbd,_0x200d44]),_0x156103['compare'](_0x200d44,_0x420bbd);},'isVisible':({plugins:_0x359416},_0xb7e4f7)=>{const _0x13e514=_0x359416['get'](d);return!(_0x13e514['repository']['getRevisionsInDiff'](_0x13e514['diff'])['length']>0x2)&&!_0xb7e4f7['isSelected'];}},'restoreRevision':{'name':'Restore\x20this\x20revision','action':(_0x13e149,{id:_0x4290a1})=>{_0x13e149['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x4290a1);},'isVisible':({plugins:_0x18c8f3},_0x5d4bed)=>!!_0x18c8f3['get'](d)['repository']['getLaterVisibleRevision'](_0x5d4bed['id'])},'nameRevision':{'name':'Name\x20this\x20revision','action':({plugins:_0x438abc},{id:_0x32d729,revisionNameView:_0x4058aa})=>{const _0x28ff2d=_0x438abc['get'](d),_0x59557c=_0x28ff2d['repository']['getEarlierVisibleRevision'](_0x32d729);_0x28ff2d['compare'](_0x32d729,_0x59557c),_0x4058aa['focus'](),_0x4058aa['fieldView']['select']();}}};}class st extends ht{['_view'];['_toolbarConfig'];['_elementReplacer'];get['view'](){return this['_view'];}constructor(_0xef91e,_0x4cb362){super(_0xef91e),this['_view']=_0x4cb362,this['_toolbarConfig']=ct(_0xef91e['config']['get']('toolbar')),this['_elementReplacer']=new nt();}get['element'](){return this['view']['element'];}['init'](_0x27499a){const _0x3746a1=this['editor'],_0x484ac3=this['view'],_0x209d6c=_0x3746a1['editing']['view'],_0x2c6493=_0x484ac3['editable'],_0x1b57f3=_0x209d6c['document']['getRoot']();_0x2c6493['name']=_0x1b57f3['rootName'],_0x484ac3['render']();const _0x16cba1=_0x2c6493['element'];this['setEditableElement'](_0x2c6493['name'],_0x16cba1),_0x484ac3['editable']['bind']('isFocused')['to'](this['focusTracker']),_0x209d6c['attachDomRoot'](_0x16cba1),this['_elementReplacer']['replace'](_0x27499a,this['element']),this['_initToolbar'](),this['fire']('ready');}['destroy'](){super['destroy']();const _0x454dd8=this['view'],_0x28b0f9=this['editor']['editing']['view'];this['_elementReplacer']['restore'](),_0x28b0f9['detachDomRoot'](_0x454dd8['editable']['name']),_0x454dd8['destroy']();}['_initToolbar'](){const _0x389cef=this['view'];_0x389cef['stickyPanel']['bind']('isActive')['to'](this['focusTracker'],'isFocused'),_0x389cef['stickyPanel']['limiterElement']=_0x389cef['element'],_0x389cef['stickyPanel']['bind']('viewportTopOffset')['to'](this,'viewportOffset',({top:_0x2a5a43})=>_0x2a5a43),_0x389cef['toolbar']['fillFromConfig'](this['_toolbarConfig'],this['componentFactory']),this['addToolbar'](_0x389cef['toolbar']);}}class ot extends dt{['_editable'];['stickyPanel'];['toolbar'];get['editable'](){return this['_editable'];}constructor(_0x46ec84,_0x23138d,_0x2540cf={}){super(_0x46ec84),this['stickyPanel']=new lt(_0x46ec84),this['toolbar']=new pt(_0x46ec84,{'shouldGroupWhenFull':_0x2540cf['shouldToolbarGroupWhenFull']}),this['_editable']=new ut(_0x46ec84,_0x23138d);}['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(_0x17b3c8,_0x2aec7f){super(_0x2aec7f),this['sourceElement']=_0x17b3c8,this['model']['document']['createRoot']();const _0xe5ec4b=new ot(this['locale'],this['editing']['view'],{'shouldToolbarGroupWhenFull':!0x0});this['_ui']=new st(this,_0xe5ec4b);}['destroy'](){return this['updateSourceElement'](),this['ui']['destroy'](),super['destroy']();}static async['create'](_0x6a72be,_0x1eef84){const _0x1de80b=new this(_0x6a72be,_0x1eef84);return await _0x1de80b['initPlugins'](),await _0x1de80b['ui']['init'](_0x6a72be),await _0x1de80b['data']['init'](_0x1de80b['config']['get']('initialData')||''),_0x1de80b['fire']('ready'),_0x1de80b;}}const p=['RevisionHistoryUI','RestrictedEditingMode'];class k extends _0x3bc8af{['result'];static get['pluginName'](){return'RevisionViewerIntegration';}constructor(_0x55c3ae){super(_0x55c3ae),this['result']='end';}}class H extends _0x3bc8af{['_viewerEditor'];static get['pluginName'](){return'RevisionHistory';}static get['requires'](){return[l,u];}constructor(_0x269414){if(super(_0x269414),!this['editor']['config']['get']('revisionHistory'))throw new _0x4dd44b('revision-history-missing-configuration',this);this['_viewerEditor']=null,this['editor']['config']['define']('revisionHistory.showRevisionViewerCallback',_0x4c9386=>this['_showRevisionViewer']({..._0x4c9386,'translations':this['editor']['locale']['translations']})),this['editor']['config']['define']('revisionHistory.closeRevisionViewerCallback',_0x314345=>this['_closeRevisionViewer'](_0x314345)),this['editor']['config']['define']('revisionHistory.restoreRevisionCallback',_0x43e095=>this['_restoreRevision'](_0x43e095)),this['editor']['config']['define']('revisionHistory.requireRevisionName',!0x1),this['_enhanceShowRevisionViewerCallback'](),this['_enhanceCloseRevisionViewerCallback']();}set['adapter'](_0x3c7786){this['editor']['plugins']['get']('RevisionTracker')['adapter']=_0x3c7786;}get['adapter'](){return this['editor']['plugins']['get']('RevisionTracker')['adapter'];}['addRevisionData'](_0x5789b2){return this['editor']['plugins']['get']('RevisionTracker')['addRevisionData'](_0x5789b2);}['getRevision'](_0x21381a){return this['editor']['plugins']['get']('RevisionsRepository')['getRevision'](_0x21381a);}['getRevisions'](_0x207921){return this['editor']['plugins']['get']('RevisionsRepository')['getRevisions'](_0x207921||{'toJSON':!0x1});}['_getRevisionViewerEditorConfig'](){const _0x11e473=this['editor'],_0x565e87=_0x1e2ca8(_0x11e473,p),_0x4328a6=_0x11e473['plugins']['get']('RevisionTracker'),_0x475aa2=_0x11e473['plugins']['get']('Users')['users'];return _0x565e87['toolbar']=['exitToEditing','restoreRevision','changesNavigation'],delete _0x565e87['lazyRoots'],(_0x565e87['plugins']['push'](k,d,R,class extends _0x3bc8af{static get['requires'](){return[d,'Users'];}['init'](){const _0x588374=this['editor']['plugins']['get']('Users');for(const _0x25a37c of _0x475aa2)_0x25a37c['isAnonymous']||_0x588374['getUser'](_0x25a37c['id'])||_0x588374['addUser'](_0x25a37c);const _0x43f68a=_0x4328a6['repository']['getRevisions']();let _0x1b7e0e=null;const _0x178ea2=this['editor']['plugins']['get']('RevisionViewer');_0x178ea2['adapter']=_0x4328a6['adapter'],_0x178ea2['bind']('isEnabled')['to'](_0x4328a6),this['editor']['commands']['get']('restoreRevision')['bind']('isEnabled')['to'](_0x11e473,'isReadOnly',_0x2dbd56=>!_0x2dbd56);for(const _0x28e4d4 of _0x43f68a){const _0x5b5b72=null===_0x28e4d4['creator'];if(_0x5b5b72&&_0x28e4d4['toVersion']===_0x28e4d4['fromVersion'])continue;const _0x5b88b8=_0x28e4d4['toJSON']();_0x178ea2['addRevisionData'](_0x5b88b8,(_0x498828,_0x3a58c4,_0xd66cc9)=>{if(_0x5b5b72){if(_0x1b7e0e)_0x1b7e0e['_update'](_0x498828,_0x3a58c4);else{if(!_0x3a58c4){const _0x4524ba=_0xd66cc9['toJSON']();_0x4524ba['id']=_0x42c424(),_0x4328a6['saveRevision'](_0x4524ba,_0xd66cc9['toVersion'])['then'](_0x2d5ab4=>{_0x1b7e0e=_0x2d5ab4;});}}}else _0x28e4d4['_update'](_0x498828,_0x3a58c4);});}}},w),_0x565e87);}['_enhanceShowRevisionViewerCallback'](){const _0x38333e=this['editor']['config']['get']('revisionHistory')['showRevisionViewerCallback'];this['editor']['config']['set']('revisionHistory.showRevisionViewerCallback',async()=>{this['editor']['enableReadOnlyMode']('revision-history-viewer-opened');const _0x230fe1=this['editor']['plugins']['get']('RevisionTracker');if(this['editor']['plugins']['has']('Autosave')){const _0x281669=this['editor']['plugins']['get']('Autosave');await _0x281669['save']();}else await _0x230fe1['update']();if(this['editor']['plugins']['has']('PaginationLookup')&&this['editor']['plugins']['get']('PaginationLookup')['_recalculatePageBreaks'](),this['editor']['plugins']['has']('Dialog')){const _0x1b78e7=this['editor']['plugins']['get']('Dialog');_0x1b78e7['isOpen']&&_0x1b78e7['hide']();}const _0x91f5ba=this['_getRevisionViewerEditorConfig']();return _0x38333e(_0x91f5ba)['then'](_0x4cfa82=>{return(this['_viewerEditor']=_0x4cfa82,this['editor']['plugins']['has']('Annotations'))&&this['editor']['plugins']['get']('Annotations')['refreshVisibility'](),_0x4cfa82;})['catch'](_0x4d7ea4=>(console['error'](_0x4d7ea4),this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),null));});}['_enhanceCloseRevisionViewerCallback'](){const _0x43ae42=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'](),_0x43ae42(this['_viewerEditor'])['then'](()=>{if(this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),this['_viewerEditor']=null,this['editor']['plugins']['has']('Annotations')){const _0x3545c4=this['editor']['plugins']['get']('Annotations');_0x3545c4['refreshVisibility'](),_0x3545c4['refreshPositioning']();}})));}['_showRevisionViewer'](_0x1145ff){const _0x5a1a20=this['editor']['config']['get']('revisionHistory.editorContainer'),_0x592531=this['editor']['config']['get']('revisionHistory.viewerContainer'),_0x307e36=this['editor']['config']['get']('revisionHistory.viewerEditorElement');return m['create'](_0x307e36,_0x1145ff)['then'](_0x406d4f=>(_0x592531['style']['display']='block',_0x5a1a20['style']['display']='none',_0x406d4f));}['_closeRevisionViewer'](_0x49ede4){const _0x47a906=this['editor']['config']['get']('revisionHistory.editorContainer');return this['editor']['config']['get']('revisionHistory.viewerContainer')['style']['display']='none',_0x47a906['style']['display']='',_0x49ede4['destroy']();}async['_restoreRevision'](_0x53008e){const _0x4bd381=this['editor'],_0x4c3fd6=this['_viewerEditor']['plugins']['get']('RevisionViewer'),_0x4388e5=_0x4bd381['plugins']['get']('RevisionTracker'),_0x4cce9b=_0x4c3fd6['repository']['getRevision'](_0x53008e);let _0x44ff81,_0x1cbe4e,_0x524a9e;try{_0x44ff81=await _0x4c3fd6['getRevisionData'](_0x4cce9b),_0x1cbe4e=await _0x4c3fd6['getRevisionRootsAttributes'](_0x4cce9b);}catch(_0x1a2525){return void console['error'](_0x1a2525);}_0x4bd381['model']['change'](_0x2808f8=>{for(const _0x356c29 of Array['from'](_0x4bd381['model']['markers']['getMarkersGroup']('restrictedEditingException')))_0x2808f8['removeMarker'](_0x356c29);}),_0x4c3fd6['isReady']=!0x1,_0x4bd381['model']['enqueueChange'](_0x3f20f3=>{_0x3f20f3['setSelection'](null),_0x3f20f3['removeSelectionAttribute'](_0x4bd381['model']['document']['selection']['getAttributeKeys']());const _0x159f58=Object['keys'](_0x44ff81);for(const _0xa9dba of _0x4bd381['model']['document']['roots'])'$graveyard'!=_0xa9dba['rootName']&&_0xa9dba['isAttached']()&&!_0x159f58['includes'](_0xa9dba['rootName'])&&_0x3f20f3['detachRoot'](_0xa9dba);for(const _0x369145 of _0x159f58){let _0x1d7d01=_0x4bd381['model']['document']['getRoot'](_0x369145);_0x1d7d01&&_0x1d7d01['isAttached']()||(_0x1d7d01=_0x3f20f3['addRoot'](_0x369145));const _0x21bcc7=_0x1cbe4e[_0x369145],_0x298454=Object['keys'](_0x21bcc7),_0x541d73=_0x44ff81[_0x369145];for(const _0x4f1051 of _0x1d7d01['getAttributeKeys']())_0x298454['includes'](_0x4f1051)||_0x3f20f3['removeAttribute'](_0x4f1051,_0x1d7d01);for(const _0x8ad2f9 of _0x298454)_0x3f20f3['setAttribute'](_0x8ad2f9,_0x1cbe4e[_0x369145][_0x8ad2f9],_0x1d7d01);_0x3f20f3['remove'](_0x3f20f3['createRangeIn'](_0x1d7d01)),_0x3f20f3['insert'](_0x4bd381['data']['parse'](_0x541d73,_0x1d7d01),_0x1d7d01,0x0);}});const _0x68bfdf=y(_0x4bd381['locale'],'Restored');if(_0x4cce9b['name'])_0x524a9e=-0x1==_0x4cce9b['name']['indexOf'](_0x68bfdf)?_0x68bfdf+':\x20'+_0x4cce9b['name']:_0x4cce9b['name'];else _0x524a9e=_0x68bfdf+':\x20'+(_0x4cce9b['createdAt']['toLocaleDateString'](_0x4bd381['locale']['uiLanguage'],{'month':'long','day':'numeric'})+',\x20'+_0x4cce9b['createdAt']['toLocaleTimeString'](_0x4bd381['locale']['uiLanguage'],{'hour':'numeric','minute':'numeric'}));return await _0x4388e5['saveRevision']({'name':_0x524a9e}),_0x4c3fd6['isReady']=!0x0,_0x4bd381['config']['get']('revisionHistory')['closeRevisionViewerCallback']();}}export{H as RevisionHistory,u as RevisionHistoryUI,l as RevisionTracker,d as RevisionViewer,de as RevisionViewerLoadingOverlay,R as RevisionViewerUI,A as RevisionsRepository,w as RevisionsSidebar};
28
+ Rt();static get['pluginName'](){return'RevisionsSidebar';}static get['requires'](){return[d];}constructor(_0x5931f4){super(_0x5931f4),this['_revisionViewer']=_0x5931f4['plugins']['get'](d),this['_revisionsRepository']=this['_revisionViewer']['repository'],this['_sidebarView']=null;}['init'](){const _0x21bef0=this['_revisionsRepository']['_revisions'],_0x1d15bf=this['_createRevisionActions'](),_0x3a5476=this['editor']['config']['get']('revisionHistory.viewerSidebarContainer');this['_sidebarView']=new ci(this['editor']['locale'],_0x21bef0,_0x1d15bf,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',(_0x33971f,_0x8f9f34)=>{_0x8f9f34['revisionViews']['on']('add',(_0x110189,_0x21de75)=>{_0x21de75['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)),_0x3a5476['appendChild'](this['_sidebarView']['element']);}['destroy'](){this['_sidebarView']['element']['remove'](),this['_sidebarView']['destroy']();}['_handleEditorDataReady'](){const _0x29fd68=this['_revisionsRepository']['getRevision'](0x0);if(_0x29fd68){const _0xe2b390=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x29fd68['id']);this['_revisionViewer']['compare'](_0x29fd68,_0xe2b390);}}['_handleRevisionSelected'](_0x185947,_0x28b1cf){const _0x198a5f=this['_revisionsRepository']['getRevision'](_0x28b1cf['id']),_0x5d65dd=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x198a5f['id']);this['_revisionViewer']['compare'](_0x198a5f,_0x5d65dd);}['_handleRevisionSetName'](_0x419be0,_0x189a72){this['_revisionsRepository']['getRevision'](_0x189a72['id'])['setName'](_0x189a72['name']);}['_handleDiffChange'](_0x2e8e3a,_0x5252bc,_0x37e27f){const _0x1828a9=this['_revisionsRepository']['getRevisionsInDiff'](_0x37e27f);_0x1828a9['length']>0x2?(this['_sidebarView']['highlightRevisions'](_0x1828a9),this['_sidebarView']['selectRevision'](null)):(this['_sidebarView']['highlightRevisions']([]),this['_sidebarView']['selectRevision'](_0x1828a9[0x0]));}['_createRevisionActions'](){const _0x54e95d=this['editor'],_0x1e9a06=w['availableRevisionActions'],_0x17b9e8=_0x54e95d['config']['get']('revisionHistory.revisionActions')||w['defaultRevisionActions'];if(_0x17b9e8['length'])return _0x17b9e8['map'](_0xd66814=>{const _0x1fbad1='string'==typeof _0xd66814?Object['assign']({},_0x1e9a06[_0xd66814]):_0xd66814;return _0x1fbad1['action']=_0x1fbad1['action']['bind'](this,_0x54e95d),_0x1fbad1['isVisible']&&(_0x1fbad1['isVisible']=_0x1fbad1['isVisible']['bind'](this,_0x54e95d)),_0x1fbad1;});}}function Rt(){return{'compareAgainstSelected':{'name':'Compare\x20against\x20selected','action':({plugins:_0xf521ae},_0x1b2dce)=>{const _0xbe0224=_0xf521ae['get'](d),_0x1af3e1=_0xbe0224['repository'];let _0x1bfd39=_0xbe0224['diff']['newRevisionId'],_0x45dbd3=_0x1b2dce['id'];_0x1af3e1['getIndex'](_0x1bfd39)>_0x1af3e1['getIndex'](_0x45dbd3)&&([_0x1bfd39,_0x45dbd3]=[_0x45dbd3,_0x1bfd39]),_0xbe0224['compare'](_0x1bfd39,_0x45dbd3);},'isVisible':({plugins:_0x41921e},_0x4b9296)=>{const _0x13a2d0=_0x41921e['get'](d);return!(_0x13a2d0['repository']['getRevisionsInDiff'](_0x13a2d0['diff'])['length']>0x2)&&!_0x4b9296['isSelected'];}},'restoreRevision':{'name':'Restore\x20this\x20revision','action':(_0x317de3,{id:_0x11944c})=>{_0x317de3['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x11944c);},'isVisible':({plugins:_0x158d42},_0x296b2d)=>!!_0x158d42['get'](d)['repository']['getLaterVisibleRevision'](_0x296b2d['id'])},'nameRevision':{'name':'Name\x20this\x20revision','action':({plugins:_0x4379af},{id:_0x191428,revisionNameView:_0x3207e7})=>{const _0x1adbe3=_0x4379af['get'](d),_0x4e9c8e=_0x1adbe3['repository']['getEarlierVisibleRevision'](_0x191428);_0x1adbe3['compare'](_0x191428,_0x4e9c8e),_0x3207e7['focus'](),_0x3207e7['fieldView']['select']();}}};}class st extends ht{['_view'];['_toolbarConfig'];['_elementReplacer'];get['view'](){return this['_view'];}constructor(_0x48d9e8,_0x5c0b35){super(_0x48d9e8),this['_view']=_0x5c0b35,this['_toolbarConfig']=ct(_0x48d9e8['config']['get']('toolbar')),this['_elementReplacer']=new nt();}get['element'](){return this['view']['element'];}['init'](_0x59362f){const _0x59f654=this['editor'],_0xa6b5d9=this['view'],_0x284aa1=_0x59f654['editing']['view'],_0x3bc30a=_0xa6b5d9['editable'],_0x5b34b9=_0x284aa1['document']['getRoot']();_0x3bc30a['name']=_0x5b34b9['rootName'],_0xa6b5d9['render']();const _0x555cab=_0x3bc30a['element'];this['setEditableElement'](_0x3bc30a['name'],_0x555cab),_0xa6b5d9['editable']['bind']('isFocused')['to'](this['focusTracker']),_0x284aa1['attachDomRoot'](_0x555cab),this['_elementReplacer']['replace'](_0x59362f,this['element']),this['_initToolbar'](),this['fire']('ready');}['destroy'](){super['destroy']();const _0x3e0d2f=this['view'],_0x632b2a=this['editor']['editing']['view'];this['_elementReplacer']['restore'](),_0x632b2a['detachDomRoot'](_0x3e0d2f['editable']['name']),_0x3e0d2f['destroy']();}['_initToolbar'](){const _0x4f9657=this['view'];_0x4f9657['stickyPanel']['bind']('isActive')['to'](this['focusTracker'],'isFocused'),_0x4f9657['stickyPanel']['limiterElement']=_0x4f9657['element'],_0x4f9657['stickyPanel']['bind']('viewportTopOffset')['to'](this,'viewportOffset',({top:_0xbab57c})=>_0xbab57c),_0x4f9657['toolbar']['fillFromConfig'](this['_toolbarConfig'],this['componentFactory']),this['addToolbar'](_0x4f9657['toolbar']);}}class ot extends dt{['_editable'];['stickyPanel'];['toolbar'];get['editable'](){return this['_editable'];}constructor(_0x4be2fe,_0x21fa3b,_0x1941ec={}){super(_0x4be2fe),this['stickyPanel']=new lt(_0x4be2fe),this['toolbar']=new pt(_0x4be2fe,{'shouldGroupWhenFull':_0x1941ec['shouldToolbarGroupWhenFull']}),this['_editable']=new ut(_0x4be2fe,_0x21fa3b);}['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(_0x13add2,_0x1d4ef0){super(_0x1d4ef0),this['sourceElement']=_0x13add2,this['model']['document']['createRoot']();const _0xc180d7=new ot(this['locale'],this['editing']['view'],{'shouldToolbarGroupWhenFull':!0x0});this['_ui']=new st(this,_0xc180d7);}['destroy'](){return this['updateSourceElement'](),this['ui']['destroy'](),super['destroy']();}static async['create'](_0x21d4e8,_0x4da4ed){const _0xb8d075=new this(_0x21d4e8,_0x4da4ed);return await _0xb8d075['initPlugins'](),await _0xb8d075['ui']['init'](_0x21d4e8),await _0xb8d075['data']['init'](_0xb8d075['config']['get']('initialData')||''),_0xb8d075['fire']('ready'),_0xb8d075;}}const p=['RevisionHistoryUI','RestrictedEditingMode'];class k extends _0x4595fe{['result'];static get['pluginName'](){return'RevisionViewerIntegration';}constructor(_0x2036b2){super(_0x2036b2),this['result']='end';}}class H extends _0x4595fe{['_viewerEditor'];static get['pluginName'](){return'RevisionHistory';}static get['requires'](){return[l,u];}constructor(_0x147ae1){if(super(_0x147ae1),!this['editor']['config']['get']('revisionHistory'))throw new _0x348cbf('revision-history-missing-configuration',this);this['_viewerEditor']=null,this['editor']['config']['define']('revisionHistory.showRevisionViewerCallback',_0x3758db=>this['_showRevisionViewer']({..._0x3758db,'translations':this['editor']['locale']['translations']})),this['editor']['config']['define']('revisionHistory.closeRevisionViewerCallback',_0x35d16b=>this['_closeRevisionViewer'](_0x35d16b)),this['editor']['config']['define']('revisionHistory.restoreRevisionCallback',_0x469120=>this['_restoreRevision'](_0x469120)),this['editor']['config']['define']('revisionHistory.requireRevisionName',!0x1),this['_enhanceShowRevisionViewerCallback'](),this['_enhanceCloseRevisionViewerCallback']();}set['adapter'](_0x2f59e7){this['editor']['plugins']['get']('RevisionTracker')['adapter']=_0x2f59e7;}get['adapter'](){return this['editor']['plugins']['get']('RevisionTracker')['adapter'];}['addRevisionData'](_0x1f792f){return this['editor']['plugins']['get']('RevisionTracker')['addRevisionData'](_0x1f792f);}['getRevision'](_0x478878){return this['editor']['plugins']['get']('RevisionsRepository')['getRevision'](_0x478878);}['getRevisions'](_0x3728a9){return this['editor']['plugins']['get']('RevisionsRepository')['getRevisions'](_0x3728a9||{'toJSON':!0x1});}['_getRevisionViewerEditorConfig'](){const _0x50a021=this['editor'],_0x58013d=_0x12f34e(_0x50a021,p),_0x5685cc=_0x50a021['plugins']['get']('RevisionTracker'),_0x261f9d=_0x50a021['plugins']['get']('Users')['users'];return _0x58013d['toolbar']=['exitToEditing','restoreRevision','changesNavigation'],delete _0x58013d['lazyRoots'],(_0x58013d['plugins']['push'](k,d,R,class extends _0x4595fe{static get['requires'](){return[d,'Users'];}['init'](){const _0x447431=this['editor']['plugins']['get']('Users');for(const _0x574caa of _0x261f9d)_0x574caa['isAnonymous']||_0x447431['getUser'](_0x574caa['id'])||_0x447431['addUser'](_0x574caa);const _0x2f855c=_0x5685cc['repository']['getRevisions']();let _0x33b571=null;const _0x4a0070=this['editor']['plugins']['get']('RevisionViewer');_0x4a0070['adapter']=_0x5685cc['adapter'],_0x4a0070['bind']('isEnabled')['to'](_0x5685cc),this['editor']['commands']['get']('restoreRevision')['bind']('isEnabled')['to'](_0x50a021,'isReadOnly',_0x49f5e6=>!_0x49f5e6);for(const _0x110fa5 of _0x2f855c){const _0x4a2018=null===_0x110fa5['creator'];if(_0x4a2018&&_0x110fa5['toVersion']===_0x110fa5['fromVersion'])continue;const _0x3654b6=_0x110fa5['toJSON']();_0x4a0070['addRevisionData'](_0x3654b6,(_0xb59eaa,_0x4483b0,_0x4d46b7)=>{if(_0x4a2018){if(_0x33b571)_0x33b571['_update'](_0xb59eaa,_0x4483b0);else{if(!_0x4483b0){const _0x44212a=_0x4d46b7['toJSON']();_0x44212a['id']=_0x2a85a0(),_0x5685cc['saveRevision'](_0x44212a,_0x4d46b7['toVersion'])['then'](_0x6007ba=>{_0x33b571=_0x6007ba;});}}}else _0x110fa5['_update'](_0xb59eaa,_0x4483b0);});}}},w),_0x58013d);}['_enhanceShowRevisionViewerCallback'](){const _0x33e8c5=this['editor']['config']['get']('revisionHistory')['showRevisionViewerCallback'];this['editor']['config']['set']('revisionHistory.showRevisionViewerCallback',async()=>{this['editor']['enableReadOnlyMode']('revision-history-viewer-opened');const _0x287da1=this['editor']['plugins']['get']('RevisionTracker');if(this['editor']['plugins']['has']('Autosave')){const _0x4ad45a=this['editor']['plugins']['get']('Autosave');await _0x4ad45a['save']();}else await _0x287da1['update']();if(this['editor']['plugins']['has']('PaginationLookup')&&this['editor']['plugins']['get']('PaginationLookup')['_recalculatePageBreaks'](),this['editor']['plugins']['has']('Dialog')){const _0x4d3ee4=this['editor']['plugins']['get']('Dialog');_0x4d3ee4['isOpen']&&_0x4d3ee4['hide']();}const _0x1bba93=this['_getRevisionViewerEditorConfig']();return _0x33e8c5(_0x1bba93)['then'](_0x11942d=>{return(this['_viewerEditor']=_0x11942d,this['editor']['plugins']['has']('Annotations'))&&this['editor']['plugins']['get']('Annotations')['refreshVisibility'](),_0x11942d;})['catch'](_0x3206c6=>(console['error'](_0x3206c6),this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),null));});}['_enhanceCloseRevisionViewerCallback'](){const _0x4d5b64=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'](),_0x4d5b64(this['_viewerEditor'])['then'](()=>{if(this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),this['_viewerEditor']=null,this['editor']['plugins']['has']('Annotations')){const _0x42784c=this['editor']['plugins']['get']('Annotations');_0x42784c['refreshVisibility'](),_0x42784c['refreshPositioning']();}})));}['_showRevisionViewer'](_0x4597ec){const _0x2124a9=this['editor']['config']['get']('revisionHistory.editorContainer'),_0x281e53=this['editor']['config']['get']('revisionHistory.viewerContainer'),_0x23356d=this['editor']['config']['get']('revisionHistory.viewerEditorElement');return m['create'](_0x23356d,_0x4597ec)['then'](_0x22364a=>(_0x281e53['style']['display']='block',_0x2124a9['style']['display']='none',_0x22364a));}['_closeRevisionViewer'](_0x420721){const _0x1f7c53=this['editor']['config']['get']('revisionHistory.editorContainer');return this['editor']['config']['get']('revisionHistory.viewerContainer')['style']['display']='none',_0x1f7c53['style']['display']='',_0x420721['destroy']();}async['_restoreRevision'](_0x4e0636){const _0x1b9da7=this['editor'],_0x586363=this['_viewerEditor']['plugins']['get']('RevisionViewer'),_0x319710=_0x1b9da7['plugins']['get']('RevisionTracker'),_0x47ca84=_0x586363['repository']['getRevision'](_0x4e0636);let _0x42658d,_0x41ebaf,_0x581d2d;try{_0x42658d=await _0x586363['getRevisionData'](_0x47ca84),_0x41ebaf=await _0x586363['getRevisionRootsAttributes'](_0x47ca84);}catch(_0x181ab7){return void console['error'](_0x181ab7);}_0x1b9da7['model']['change'](_0x555230=>{for(const _0x4c194e of Array['from'](_0x1b9da7['model']['markers']['getMarkersGroup']('restrictedEditingException')))_0x555230['removeMarker'](_0x4c194e);}),_0x586363['isReady']=!0x1,_0x1b9da7['model']['enqueueChange'](_0x311e75=>{_0x311e75['setSelection'](null),_0x311e75['removeSelectionAttribute'](_0x1b9da7['model']['document']['selection']['getAttributeKeys']());const _0x337d14=Object['keys'](_0x42658d);for(const _0x4ada8e of _0x1b9da7['model']['document']['roots'])'$graveyard'!=_0x4ada8e['rootName']&&_0x4ada8e['isAttached']()&&!_0x337d14['includes'](_0x4ada8e['rootName'])&&_0x311e75['detachRoot'](_0x4ada8e);for(const _0x4b9a5d of _0x337d14){let _0x3218e8=_0x1b9da7['model']['document']['getRoot'](_0x4b9a5d);_0x3218e8&&_0x3218e8['isAttached']()||(_0x3218e8=_0x311e75['addRoot'](_0x4b9a5d));const _0xda1cdf=_0x41ebaf[_0x4b9a5d],_0x32b734=Object['keys'](_0xda1cdf),_0x209b94=_0x42658d[_0x4b9a5d];for(const _0x22655e of _0x3218e8['getAttributeKeys']())_0x32b734['includes'](_0x22655e)||_0x311e75['removeAttribute'](_0x22655e,_0x3218e8);for(const _0x261e3e of _0x32b734)_0x311e75['setAttribute'](_0x261e3e,_0x41ebaf[_0x4b9a5d][_0x261e3e],_0x3218e8);_0x311e75['remove'](_0x311e75['createRangeIn'](_0x3218e8)),_0x311e75['insert'](_0x1b9da7['data']['parse'](_0x209b94,_0x3218e8),_0x3218e8,0x0);}});const _0x1b94b6=y(_0x1b9da7['locale'],'Restored');if(_0x47ca84['name'])_0x581d2d=-0x1==_0x47ca84['name']['indexOf'](_0x1b94b6)?_0x1b94b6+':\x20'+_0x47ca84['name']:_0x47ca84['name'];else _0x581d2d=_0x1b94b6+':\x20'+(_0x47ca84['createdAt']['toLocaleDateString'](_0x1b9da7['locale']['uiLanguage'],{'month':'long','day':'numeric'})+',\x20'+_0x47ca84['createdAt']['toLocaleTimeString'](_0x1b9da7['locale']['uiLanguage'],{'hour':'numeric','minute':'numeric'}));return await _0x319710['saveRevision']({'name':_0x581d2d}),_0x586363['isReady']=!0x0,_0x1b9da7['config']['get']('revisionHistory')['closeRevisionViewerCallback']();}}export{H as RevisionHistory,u as RevisionHistoryUI,l as RevisionTracker,d as RevisionViewer,de as RevisionViewerLoadingOverlay,R as RevisionViewerUI,A as RevisionsRepository,w as RevisionsSidebar};