@ckeditor/ckeditor5-revision-history 0.0.0-nightly-20240503.0 → 0.0.0-nightly-20240504.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0xf14552,Context as _0xca8d15,PendingActions as _0x762bf2,icons as _0x460539,Command as _0x4b9898,DataApiMixin as rt,ElementApiMixin as st,Editor as it}from'@ckeditor/ckeditor5-core/dist/index.js';import{ObservableMixin as _0x568170,uid as _0x522efc,Collection as _0x106dd0,logWarning as _0x408837,FocusTracker as _0x360e44,KeystrokeHandler as _0x2aa5fe,scrollViewportToShowTarget as _0xa65da7,ResizeObserver as kt,ElementReplacer as nt,CKEditorError as _0x417339}from'@ckeditor/ckeditor5-utils/dist/index.js';import{Users as _0x397731,getMarkerDomElement as _0x4393ba,ConfirmMixin as _0x506d12,sanitizeEditorConfig as _0x23b232}from'ckeditor5-collaboration/dist/index.js';import{ViewDocumentFragment as _0x24e3ef,ViewText as _0x389e18,ViewElement as _0x324867,Element as ft,Range as gt,Position as wt,DocumentFragment as _t,ViewContainerElement as _0x352473,ViewAttributeElement as _0x12479e,ViewEmptyElement as _0x1e1035,ViewRawElement as _0x4b0c60,ViewUIElement as _0x469c01,Text as yt}from'@ckeditor/ckeditor5-engine/dist/index.js';import{cloneDeep as _0x50c138,set as _0x5ee956,unset as _0x37d479,isEqual as _0x4b1f7b}from'lodash-es';import{View as _0x150ebb,submitHandler as _0x5e7b3c,LabeledFieldView as mt,createLabeledInputText as _0x2e07e9,injectCssTransitionDisabler as ts,createDropdown as _0x4b28bd,ListView as te,ListItemView as _0x547d17,ButtonView as _0x23a7fc,MenuBarMenuView as _0x12b3f8,MenuBarMenuListView as _0x1639df,MenuBarMenuListItemView as _0x2f496a,MenuBarMenuListItemButtonView as _0x3e540f,ContextualBalloon as _0x3b4c5d,ToolbarSeparatorView as _0x1ade6a,IconView as _0x54461a,addListToDropdown as _0x4eedcc,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 _0x4391dc}from'luxon';class a extends _0x568170(){['setName'](_0x151aa5){this['_update']({'name':_0x151aa5});}['setAttribute'](_0x3d2dd8,_0x61d9bf){const _0x3ebca3=_0x50c138(this['attributes']);_0x5ee956(_0x3ebca3,_0x3d2dd8,_0x61d9bf),this['_update']({'attributes':_0x3ebca3});}['removeAttribute'](_0x15e13d){const _0x1e3f96=_0x50c138(this['attributes']);_0x37d479(_0x1e3f96,_0x15e13d),this['_update']({'attributes':_0x1e3f96});}['_update'](_0x31b827,_0x597f8e=!0x1){let _0x1c0dc9=!0x1;const _0x5ea661={'id':this['id']},_0x238281=['name','createdAt','diffData','authors','attributes','toVersion','fromVersion','creatorId'];for(const _0x27aba9 of _0x238281){const _0x49b013=_0x31b827[_0x27aba9];void 0x0!==_0x49b013&&_0x49b013!==this[_0x27aba9]&&(this[_0x27aba9]=_0x49b013,_0x5ea661[_0x27aba9]=_0x49b013,_0x1c0dc9=!0x0);}_0x1c0dc9&&(_0x5ea661['authors']&&(_0x5ea661['authorsIds']=_0x5ea661['authors']['map'](_0xf1cdd9=>_0xf1cdd9['id']),delete _0x5ea661['authors']),this['fire']('_update',_0x5ea661,_0x597f8e));}['toJSON'](){return{'id':this['id'],'name':this['name'],'creatorId':this['creator']?this['creator']['id']:null,'authorsIds':this['authors']['map'](_0x1567be=>_0x1567be['id']),'diffData':this['diffData'],'createdAt':this['createdAt'],'attributes':this['attributes'],'fromVersion':this['fromVersion'],'toVersion':this['toVersion']};}constructor(_0xe69bb9){super(),this['id']=_0xe69bb9['id']||_0x522efc(),this['creator']=_0xe69bb9['creator']||null,this['authors']=_0xe69bb9['authors']||[],this['diffData']=_0xe69bb9['diffData']||null,this['toVersion']=_0xe69bb9['toVersion']||0x0,this['fromVersion']=_0xe69bb9['fromVersion']||0x0,this['set']('name',_0xe69bb9['name']||''),this['set']('createdAt',_0xe69bb9['createdAt']||new Date()),this['set']('attributes',_0xe69bb9['attributes']||{});}}class A extends _0xf14552{static get['requires'](){return[_0x397731];}static get['pluginName'](){return'RevisionsRepository';}get['length'](){return this['_revisions']['length'];}['afterInit'](){!function(_0x2338d9){function _0xfacdc8(_0x33ca29,_0x41add1,_0x57817a){const _0x16217c={};_0x16217c[_0x5866dd([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])]={0x10:0xa,0x18:0xc,0x20:0xe},_0x16217c[_0x5866dd([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],_0x16217c[_0x5866dd([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],_0x16217c[_0x5866dd([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],_0x16217c[_0x5866dd([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],_0x16217c[_0x5866dd([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],_0x16217c[_0x5866dd([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],_0x16217c[_0x5866dd([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],_0x16217c[_0x5866dd([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],_0x16217c[_0x5866dd([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],_0x16217c[_0x5866dd([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 _0x4f4334=new Uint8Array(0x10);for(let _0x5aa7cf=0xf;_0x5aa7cf>=0x0;--_0x5aa7cf)_0x4f4334[_0x5aa7cf]=_0x57817a%0x100,_0x57817a=parseInt(_0x57817a/0x100);let _0x1dcca3=null,_0x24a208=0x10;const _0x2dadb5=new Uint8Array(_0x41add1),_0x377f79=[],_0xe89201=[];_0x1d532c();for(let _0x33d0cd=0x0;_0x33d0cd<_0x33ca29[_0x5866dd([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x33d0cd++)0x10===_0x24a208&&(_0x1dcca3=_0x3150f8(_0x4f4334),_0x24a208=0x0,_0x33a4ee(_0x4f4334)),_0x33ca29[_0x33d0cd]^=_0x1dcca3[_0x24a208++];return _0x33ca29;function _0x394d5c(_0x5c7b4c){const _0x4df295=[];for(let _0x30ff09=0x0;_0x30ff09<_0x5c7b4c[_0x5866dd([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x30ff09+=0x4)_0x4df295[_0x5866dd([0x70,0x75,0x73,0x68])](_0x5c7b4c[_0x30ff09]<<0x18|_0x5c7b4c[_0x30ff09+0x1]<<0x10|_0x5c7b4c[_0x30ff09+0x2]<<0x8|_0x5c7b4c[_0x30ff09+0x3]);return _0x4df295;}function _0x33a4ee(_0x34f241){for(let _0x530fce=0xf;_0x530fce>=0x0;_0x530fce--){if(0xff!==_0x34f241[_0x530fce]){_0x34f241[_0x530fce]++;break;}_0x34f241[_0x530fce]=0x0;}}function _0x3150f8(_0x351e32){const _0x4fbc2a=_0x377f79[_0x5866dd([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x1,_0x4c4e08=[0x0,0x0,0x0,0x0];let t=_0x394d5c(_0x351e32);for(let _0x5cfbae=0x0;_0x5cfbae<0x4;_0x5cfbae++)t[_0x5cfbae]^=_0x377f79[0x0][_0x5cfbae];for(let _0x30da7b=0x1;_0x30da7b<_0x4fbc2a;_0x30da7b++){for(let _0x469e6b=0x0;_0x469e6b<0x4;_0x469e6b++)_0x4c4e08[_0x469e6b]=_0x16217c[_0x5866dd([0x54,0x31])][t[_0x469e6b]>>0x18&0xff]^_0x16217c[_0x5866dd([0x54,0x32])][t[(_0x469e6b+0x1)%0x4]>>0x10&0xff]^_0x16217c[_0x5866dd([0x54,0x33])][t[(_0x469e6b+0x2)%0x4]>>0x8&0xff]^_0x16217c[_0x5866dd([0x54,0x34])][0xff&t[(_0x469e6b+0x3)%0x4]]^_0x377f79[_0x30da7b][_0x469e6b];t=_0x4c4e08[_0x5866dd([0x73,0x6c,0x69,0x63,0x65])]();}const _0x459ea7=new Uint8Array(0x10);let _0x16366b;for(let _0x17a3da=0x0;_0x17a3da<0x4;_0x17a3da++)_0x16366b=_0x377f79[_0x4fbc2a][_0x17a3da],_0x459ea7[0x4*_0x17a3da]=0xff&(_0x16217c[_0x5866dd([0x53])][t[_0x17a3da]>>0x18&0xff]^_0x16366b>>0x18),_0x459ea7[0x4*_0x17a3da+0x1]=0xff&(_0x16217c[_0x5866dd([0x53])][t[(_0x17a3da+0x1)%0x4]>>0x10&0xff]^_0x16366b>>0x10),_0x459ea7[0x4*_0x17a3da+0x2]=0xff&(_0x16217c[_0x5866dd([0x53])][t[(_0x17a3da+0x2)%0x4]>>0x8&0xff]^_0x16366b>>0x8),_0x459ea7[0x4*_0x17a3da+0x3]=0xff&(_0x16217c[_0x5866dd([0x53])][0xff&t[(_0x17a3da+0x3)%0x4]]^_0x16366b);return _0x459ea7;}function _0x1d532c(){const _0x333542=_0x16217c[_0x5866dd([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])][_0x2dadb5[_0x5866dd([0x6c,0x65,0x6e,0x67,0x74,0x68])]];for(let _0x457c78=0x0;_0x457c78<=_0x333542;_0x457c78++)_0x377f79[_0x5866dd([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]),_0xe89201[_0x5866dd([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]);const _0x4d633e=0x4*(_0x333542+0x1),_0x42536b=_0x2dadb5[_0x5866dd([0x6c,0x65,0x6e,0x67,0x74,0x68])]/0x4,_0x5174d5=_0x394d5c(_0x2dadb5);let _0x5822b2;for(let _0x31dc7f=0x0;_0x31dc7f<_0x42536b;_0x31dc7f++)_0x5822b2=_0x31dc7f>>0x2,_0x377f79[_0x5822b2][_0x31dc7f%0x4]=_0x5174d5[_0x31dc7f],_0xe89201[_0x333542-_0x5822b2][_0x31dc7f%0x4]=_0x5174d5[_0x31dc7f];let _0x104911,_0x1607f9=0x0,t=_0x42536b;for(;t<_0x4d633e;){_0x104911=_0x5174d5[_0x42536b-0x1],_0x5174d5[0x0]^=_0x16217c[_0x5866dd([0x53])][_0x104911>>0x10&0xff]<<0x18^_0x16217c[_0x5866dd([0x53])][_0x104911>>0x8&0xff]<<0x10^_0x16217c[_0x5866dd([0x53])][0xff&_0x104911]<<0x8^_0x16217c[_0x5866dd([0x53])][_0x104911>>0x18&0xff]^_0x16217c[_0x5866dd([0x72,0x63,0x6f,0x6e])][_0x1607f9]<<0x18,_0x1607f9+=0x1;for(let _0x5a9493=0x1;_0x5a9493<_0x42536b/0x2;_0x5a9493++)_0x5174d5[_0x5a9493]^=_0x5174d5[_0x5a9493-0x1];_0x104911=_0x5174d5[_0x42536b/0x2-0x1],_0x5174d5[_0x42536b/0x2]^=_0x16217c[_0x5866dd([0x53])][0xff&_0x104911]^_0x16217c[_0x5866dd([0x53])][_0x104911>>0x8&0xff]<<0x8^_0x16217c[_0x5866dd([0x53])][_0x104911>>0x10&0xff]<<0x10^_0x16217c[_0x5866dd([0x53])][_0x104911>>0x18&0xff]<<0x18;for(let _0x5be018=_0x42536b/0x2+0x1;_0x5be018<_0x42536b;_0x5be018++)_0x5174d5[_0x5be018]^=_0x5174d5[_0x5be018-0x1];let _0x490ee5,_0x54c20f,_0xd0887d=0x0;for(;_0xd0887d<_0x42536b&&t<_0x4d633e;)_0x490ee5=t>>0x2,_0x54c20f=t%0x4,_0x377f79[_0x490ee5][_0x54c20f]=_0x5174d5[_0xd0887d],_0xe89201[_0x333542-_0x490ee5][_0x54c20f]=_0x5174d5[_0xd0887d++],t++;}for(let _0x27e1af=0x1;_0x27e1af<_0x333542;_0x27e1af++)for(let _0x5c578f=0x0;_0x5c578f<0x4;_0x5c578f++)_0x104911=_0xe89201[_0x27e1af][_0x5c578f],_0xe89201[_0x27e1af][_0x5c578f]=_0x16217c[_0x5866dd([0x55,0x31])][_0x104911>>0x18&0xff]^_0x16217c[_0x5866dd([0x55,0x32])][_0x104911>>0x10&0xff]^_0x16217c[_0x5866dd([0x55,0x33])][_0x104911>>0x8&0xff]^_0x16217c[_0x5866dd([0x55,0x34])][0xff&_0x104911];}}function _0x5866dd(_0x24c151){return _0x24c151['map'](_0x4a57ff=>String['fromCharCode'](_0x4a57ff))['join']('');}(_0x36a94d=>{function _0x13e8ce(){const _0x4e5363=[{[_0x5866dd([0x69,0x64])]:0x1,[_0x5866dd([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x5866dd([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73]),[_0x5866dd([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x5866dd([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x5866dd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x5866dd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x5866dd([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x5866dd([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x5866dd([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]:[{[_0x5866dd([0x69,0x64])]:0x2,[_0x5866dd([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x5866dd([0x54,0x72,0x61,0x63,0x6b,0x20,0x43,0x68,0x61,0x6e,0x67,0x65,0x73]),[_0x5866dd([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x5866dd([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x5866dd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x5866dd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x5866dd([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x5866dd([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]),[_0x5866dd([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x5866dd([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x5866dd([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x5866dd([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}}],[_0x5866dd([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x5866dd([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x5866dd([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x5866dd([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x5866dd([0x69,0x64])]:0x3,[_0x5866dd([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x5866dd([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e]),[_0x5866dd([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x5866dd([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x6f,0x6f,0x6b,0x75,0x70]),[_0x5866dd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x5866dd([0x70,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x5866dd([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x5866dd([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x5866dd([0x69,0x64])]:0x4,[_0x5866dd([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x5866dd([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x20,0x48,0x69,0x73,0x74,0x6f,0x72,0x79]),[_0x5866dd([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x5866dd([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x5866dd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x5866dd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x5866dd([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x5866dd([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]),[_0x5866dd([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x5866dd([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x5866dd([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x5866dd([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x5866dd([0x69,0x64])]:0x5,[_0x5866dd([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x5866dd([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x20,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65]),[_0x5866dd([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x5866dd([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65,0x55,0x49]),[_0x5866dd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x5866dd([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]),[_0x5866dd([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x5866dd([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x5866dd([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x5866dd([0x66,0x67,0x69])]:[0xc]}},{[_0x5866dd([0x69,0x64])]:0x6,[_0x5866dd([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x5866dd([0x46,0x6f,0x72,0x6d,0x61,0x74,0x20,0x50,0x61,0x69,0x6e,0x74,0x65,0x72]),[_0x5866dd([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x5866dd([0x46,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x55,0x49]),[_0x5866dd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x5866dd([0x66,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x5866dd([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x5866dd([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x5866dd([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x5866dd([0x66,0x67,0x69])]:[0xc]}},{[_0x5866dd([0x69,0x64])]:0x7,[_0x5866dd([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x5866dd([0x53,0x6c,0x61,0x73,0x68,0x20,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64]),[_0x5866dd([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x5866dd([0x53,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x55,0x49]),[_0x5866dd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x5866dd([0x73,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x5866dd([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x5866dd([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x5866dd([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x5866dd([0x66,0x67,0x69])]:[0xc]}},{[_0x5866dd([0x69,0x64])]:0x8,[_0x5866dd([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x5866dd([0x54,0x61,0x62,0x6c,0x65,0x20,0x6f,0x66,0x20,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73]),[_0x5866dd([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x5866dd([0x54,0x61,0x62,0x6c,0x65,0x4f,0x66,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x5866dd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x5866dd([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]),[_0x5866dd([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x5866dd([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x5866dd([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x5866dd([0x66,0x67,0x69])]:[0xc]}},{[_0x5866dd([0x69,0x64])]:0x9,[_0x5866dd([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x5866dd([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65]),[_0x5866dd([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x5866dd([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x55,0x49]),[_0x5866dd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x5866dd([0x74,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x5866dd([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x5866dd([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x5866dd([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x5866dd([0x66,0x67,0x69])]:[0xc,0xe]}},{[_0x5866dd([0x69,0x64])]:0xa,[_0x5866dd([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x5866dd([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]),[_0x5866dd([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x5866dd([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]),[_0x5866dd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x5866dd([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]),[_0x5866dd([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x5866dd([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x5866dd([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x5866dd([0x66,0x67,0x69])]:[0xc]}},{[_0x5866dd([0x69,0x64])]:0xb,[_0x5866dd([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x5866dd([0x41,0x49,0x20,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74]),[_0x5866dd([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x5866dd([0x41,0x49,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74,0x55,0x49]),[_0x5866dd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x5866dd([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x5866dd([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x5866dd([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x5866dd([0x69,0x64])]:0xc,[_0x5866dd([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x5866dd([0x50,0x72,0x6f,0x64,0x75,0x63,0x74,0x69,0x76,0x69,0x74,0x79,0x20,0x70,0x61,0x63,0x6b])},{[_0x5866dd([0x69,0x64])]:0xd,[_0x5866dd([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x5866dd([0x43,0x61,0x73,0x65,0x20,0x43,0x68,0x61,0x6e,0x67,0x65]),[_0x5866dd([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x5866dd([0x43,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x55,0x49]),[_0x5866dd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x5866dd([0x63,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x5866dd([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x5866dd([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x5866dd([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x5866dd([0x66,0x67,0x69])]:[0xc]}},{[_0x5866dd([0x69,0x64])]:0xe,[_0x5866dd([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x5866dd([0x44,0x72,0x75,0x70,0x61,0x6c,0x20,0x70,0x61,0x63,0x6b]),[_0x5866dd([0x66,0x6f,0x72,0x62,0x69,0x64,0x64,0x65,0x6e,0x48,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x5866dd([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])},{[_0x5866dd([0x69,0x64])]:0xf,[_0x5866dd([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x5866dd([0x4d,0x75,0x6c,0x74,0x69,0x20,0x4c,0x65,0x76,0x65,0x6c,0x20,0x4c,0x69,0x73,0x74]),[_0x5866dd([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x5866dd([0x4d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x5866dd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x5866dd([0x6d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x5866dd([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x5866dd([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])}];return _0x3b0107(_0x4e5363),_0x4e5363;function _0x278857(_0x322989){return 0x1<<_0x322989-0x1;}function _0x3b0107(_0x389627){_0x389627[_0x5866dd([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x2a591d=>{_0x2a591d[_0x5866dd([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]=_0x278857(_0x2a591d[_0x5866dd([0x69,0x64])]),_0xa14621(_0x2a591d)&&_0x2a591d[_0x5866dd([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x3b0107(_0x2a591d[_0x5866dd([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]);});}}function _0xa14621(_0x8344aa){return _0x5866dd([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])in _0x8344aa;}const _0x5d504e=[0x1,0x55,0x4e,0x73,0xc6,0xff,0x32,0x70,0x53,0x57,0xa1],_0x46fb18=[0x7f,0x22,0x6,0xd3,0xa7,0x56,0x92,0xc7,0x84,0xa0,0x12];function _0x2ad66f(_0x50ed38){const _0xdd5101=[0x1d,0xdd,0xaf,0x5a,0xe7,0x85,0xef,0xf0,0x4b,0xb4];return _0x16251e(_0x50ed38,new Uint8Array([..._0x5d504e,..._0xdd5101,..._0x46fb18]));}function _0x16251e(_0x31f2aa,_0x17efdc){const _0x2fea14=_0x5d3b6d(_0x31f2aa),_0x108f7c=Array[_0x5866dd([0x66,0x72,0x6f,0x6d])](_0x3b07eb(_0x2fea14)),_0x4d0c34=_0x108f7c[_0x5866dd([0x70,0x6f,0x70])](),_0x532ae2=_0x108f7c[_0x5866dd([0x70,0x6f,0x70])]();return _0x36ec1b(_0xfacdc8(_0x108f7c,_0x17efdc,_0x532ae2+0x100*_0x4d0c34));}function _0x5d3b6d(_0xb0b93){const _0x11b93c=atob(_0xb0b93),[_0x1744bc,_0xd2cedd]=_0x11b93c[_0x5866dd([0x73,0x70,0x6c,0x69,0x74])](_0x5866dd([0x2d]));try{if(atob(_0xd2cedd))return atob(_0x1744bc);}catch(_0x4b2082){}return _0x11b93c;}function _0x1219c0(_0xa3993b){try{const _0x3e9cc0=_0x2ad66f(_0xa3993b),_0x58e99d=JSON[_0x5866dd([0x70,0x61,0x72,0x73,0x65])](_0x3e9cc0),_0x4e02e3=parseInt(_0x58e99d[_0x5866dd([0x31])]),_0x2b3335=_0x58e99d[_0x5866dd([0x32])]||'',_0x4dccd6=parseInt(_0x58e99d[_0x5866dd([0x33])]),_0x21c66e=parseInt(_0x58e99d[_0x5866dd([0x34])])||0x0,_0x1d1b80=parseInt(_0x58e99d[_0x5866dd([0x35])])||0x0;return{[_0x5866dd([0x70,0x72,0x6f,0x64,0x75,0x63,0x74,0x4e,0x61,0x6d,0x65])]:_0x2b3335,[_0x5866dd([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])]:_0x21c66e,[_0x5866dd([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]:_0x4e02e3,[_0x5866dd([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]:_0x4dccd6,[_0x5866dd([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]:_0x1d1b80};}catch(_0x174995){return null;}}const _0x1d4d9d=_0x13e8ce(),_0x45fd6f={[_0x5866dd([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])]:_0x1b8ac9,[_0x5866dd([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])]:_0x32371e,[_0x5866dd([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])]:_0x1572e8},_0x15d568=_0x36a94d[_0x5866dd([0x63,0x6f,0x6e,0x73,0x74,0x72,0x75,0x63,0x74,0x6f,0x72])][_0x5866dd([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])],_0x162b48=_0x5866dd([0x63,0x6f,0x6e,0x74,0x65,0x78,0x74])in _0x36a94d?_0x36a94d['context']:_0x36a94d['editor'],_0x564d32=_0x5866dd([0x34,0x30,0x34,0x38,0x31,0x30,0x30,0x36]),_0x1b7342=_0x5866dd([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]),_0x4ad925=_0x162b48['config']['get'](_0x5866dd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x57fb2b=_0x1d4d9d[_0x5866dd([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xa14621)[_0x5866dd([0x66,0x69,0x6e,0x64])](_0x12a706=>_0x12a706[_0x5866dd([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]===_0x15d568);function _0x50b6e0(_0xcd6ed,_0x17eaad){_0x45fd6f[_0x17eaad[_0x5866dd([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]](_0xcd6ed,_0x17eaad),_0x17eaad[_0x5866dd([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x17eaad[_0x5866dd([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])][_0x5866dd([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x58e318=>_0x3bafb4(_0x162b48,_0x58e318[_0x5866dd([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))[_0x5866dd([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x92a24b=>_0x50b6e0(_0xcd6ed,_0x92a24b));}function _0x1b8ac9(_0x18baac,_0x15ae4b){_0x42ea48(_0x194d2d(_0x18baac,_0x15ae4b),_0x15ae4b);}function _0x32371e(_0x113028,_0x3e88b5){function _0x359247(_0x3d28b1,_0x5a1c4e){try{if(_0x3bafb4(_0x162b48,_0x5866dd([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))&&_0x3d28b1){const _0x12974b=_0x118462(_0x162b48,_0x5866dd([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))[_0x5866dd([0x5f,0x65,0x78,0x65,0x63,0x75,0x74,0x65,0x53,0x75,0x67,0x67,0x65,0x73,0x74,0x69,0x6f,0x6e])];if(parseInt(_0x12974b)/0x2>_0x3d28b1[_0x5866dd([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])])return _0xb9477e(_0x5a1c4e[_0x5866dd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5866dd([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}return _0x194d2d(_0x3d28b1,_0x5a1c4e);}catch(_0x49fc77){return _0xb9477e(_0x5a1c4e[_0x5866dd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5866dd([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}_0x42ea48(_0x359247(_0x113028,_0x3e88b5),_0x3e88b5);}function _0x1572e8(_0x1e4e27,_0x7615fa){const _0x40c6bb=_0x46fb18[0x0]*_0x5d504e[0x1],_0x4848d4=_0x46fb18[0x0]*_0x5d504e[0x2],_0x2fa0a7=_0x46fb18[0x2]*_0x5d504e[0x2];_0x3bafb4(_0x162b48,_0x5866dd([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x118462(_0x162b48,_0x5866dd([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x5866dd([0x73,0x74,0x61,0x74,0x65])]==_0x5866dd([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&(window[_0x37dd2b()]=_0x2fa0a7);function _0x162fd2(_0xaa355,_0x41595d){try{return _0x3b4f96()?_0xb9477e(_0x41595d[_0x5866dd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5866dd([0x56,0x61,0x6c,0x69,0x64])):_0x194d2d(_0xaa355,_0x41595d);}catch(_0x543211){return _0xb9477e(_0x41595d[_0x5866dd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5866dd([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x3d09aa(_0x931594,_0x3eb7b5){const _0x211a02=0x7;if(_0x931594==_0x3eb7b5[_0x5866dd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5866dd([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]))_0x19f763();else{if(_0x931594==_0x3eb7b5[_0x5866dd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5866dd([0x54,0x72,0x69,0x61,0x6c])){const _0x50e7ae=_0x31d207();_0x50e7ae&&_0x34d5b6(_0x50e7ae,_0x3eb7b5[_0x5866dd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);const _0x3b5028=_0x2d412a();window[_0x5866dd([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x34d5b6(_0x5866dd([0x74,0x69,0x6d,0x65]),_0x3eb7b5[_0x5866dd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);},_0x3b5028);const _0x159a50=_0x118462(_0x162b48,_0x5866dd([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x5866dd([0x5f,0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73])];_0x159a50[_0x5866dd([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x211a02?_0x34d5b6(_0x5866dd([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x3eb7b5[_0x5866dd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]):_0x159a50['on'](_0x5866dd([0x61,0x64,0x64]),()=>{_0x159a50[_0x5866dd([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x211a02&&_0x34d5b6(_0x5866dd([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x3eb7b5[_0x5866dd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);});}}}function _0x31d207(){if(!_0x3bafb4(_0x162b48,_0x5866dd([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x2414fa in window)if(Number['isNaN'](Number(_0x2414fa))){if(window[_0x2414fa]===_0x40c6bb)return _0x5866dd([0x74,0x69,0x6d,0x65]);if(window[_0x2414fa]===_0x4848d4)return _0x5866dd([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]);}return!0x1;}function _0x3b4f96(){if(!_0x3bafb4(_0x162b48,_0x5866dd([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x51bb31 in window)if(Number['isNaN'](Number(_0x51bb31))&&window[_0x51bb31]===_0x2fa0a7)return!0x0;return!0x1;}function _0x34d5b6(_0x5742e7,_0x3d919e){_0x19f763(),_0xb9477e(_0x3d919e+_0x5866dd([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a])+_0x5742e7),window[_0x37dd2b()]=_0x5742e7===_0x5866dd([0x74,0x69,0x6d,0x65])?_0x40c6bb:_0x4848d4;}function _0x2d412a(){let _0x6a5dfa=_0x46fb18[0x6]*_0x5d504e[0x8]*_0x5d504e[0x6];return _0x3bafb4(_0x162b48,_0x5866dd([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x6a5dfa/=0xa),_0x6a5dfa;}function _0x19f763(){const _0x389f5c=_0x162b48;function _0x2cd7a4(){_0x3bafb4(_0x389f5c,_0x5866dd([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&(_0x118462(_0x389f5c,_0x5866dd([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x5866dd([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x5866dd([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x118462(_0x389f5c,_0x5866dd([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x5866dd([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x118462(_0x389f5c,_0x5866dd([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x5866dd([0x75,0x70,0x64,0x61,0x74,0x65])]=_0x392f53,_0x118462(_0x389f5c,_0x5866dd([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x5866dd([0x73,0x61,0x76,0x65,0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e])]=_0x392f53,_0x389f5c[_0x5866dd([0x6d,0x6f,0x64,0x65,0x6c])][_0x5866dd([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x392f53,_0x389f5c[_0x5866dd([0x6d,0x6f,0x64,0x65,0x6c])][_0x5866dd([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x392f53,_0x389f5c[_0x5866dd([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x5866dd([0x6d,0x6f,0x64,0x65,0x6c]))),_0x3bafb4(_0x389f5c,_0x5866dd([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x118462(_0x389f5c,_0x5866dd([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x5866dd([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x5866dd([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x118462(_0x389f5c,_0x5866dd([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x5866dd([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x118462(_0x389f5c,_0x5866dd([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x5866dd([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])]=_0x392f53,_0x118462(_0x389f5c,_0x5866dd([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x5866dd([0x5f,0x67,0x65,0x74,0x44,0x69,0x66,0x66])]=_0x392f53);}_0x389f5c[_0x5866dd([0x73,0x74,0x61,0x74,0x65])]==_0x5866dd([0x72,0x65,0x61,0x64,0x79])?_0x2cd7a4():_0x389f5c[_0x5866dd([0x6f,0x6e,0x63,0x65])](_0x5866dd([0x72,0x65,0x61,0x64,0x79]),()=>{if(_0x3bafb4(_0x389f5c,_0x5866dd([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&_0x2cd7a4(),_0x3bafb4(_0x389f5c,_0x5866dd([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))){const _0x3dd318=_0x118462(_0x389f5c,_0x5866dd([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79])),_0x5afed2=_0x3dd318['getRevision'](0x0),_0x498d71=_0x3dd318['getEarlierVisibleRevision'](_0x5afed2[_0x5866dd([0x69,0x64])]);_0x118462(_0x389f5c,_0x5866dd([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x5866dd([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])](_0x5afed2[_0x5866dd([0x69,0x64])],_0x498d71?_0x498d71[_0x5866dd([0x69,0x64])]:null,0x1)['then'](()=>_0x2cd7a4());}});}_0x3d09aa(_0x162fd2(_0x1e4e27,_0x7615fa),_0x7615fa);}function _0x194d2d(_0x49b0b0,_0x138ecc){try{return _0x3325b5(_0x138ecc)?_0xb9477e(_0x138ecc[_0x5866dd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5866dd([0x56,0x61,0x6c,0x69,0x64])):_0x49b0b0&&_0x1f7b96(_0x49b0b0[_0x5866dd([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])],_0x138ecc)?_0x49b0b0[_0x5866dd([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]&&!window[_0x5866dd([0x6f,0x70,0x65,0x6e])][_0x5866dd([0x63,0x6c,0x6f,0x73,0x65,0x64])]||parseInt(_0x564d32)/0x2>_0x49b0b0[_0x5866dd([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]?_0xb9477e(_0x138ecc[_0x5866dd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5866dd([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])):_0x49b0b0[_0x5866dd([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]?_0xb9477e(_0x138ecc[_0x5866dd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5866dd([0x54,0x72,0x69,0x61,0x6c])):_0xb9477e(_0x138ecc[_0x5866dd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5866dd([0x56,0x61,0x6c,0x69,0x64])):_0xb9477e(_0x138ecc[_0x5866dd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5866dd([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}catch(_0x94c741){return _0xb9477e(_0x138ecc[_0x5866dd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5866dd([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x42ea48(_0x45b56b,_0x4c69c0){if(_0x162b48 instanceof _0xca8d15){const _0x45a0a8=_0x162b48;_0x45b56b==_0x4c69c0[_0x5866dd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5866dd([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x3f93b7(_0x45a0a8):_0x45b56b==_0x4c69c0[_0x5866dd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5866dd([0x54,0x72,0x69,0x61,0x6c])&&window[_0x5866dd([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x3f93b7(_0x45a0a8),_0xb9477e(_0x4c69c0[_0x5866dd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5866dd([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65]));},_0x46fb18[0x6]*_0x5d504e[0x8]*_0x5d504e[0x6]),_0x45a0a8[_0x5866dd([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])][_0x5866dd([0x6f,0x6e])](_0x5866dd([0x61,0x64,0x64]),(_0x55d6ae,_0x17bdf9)=>{_0x45b56b!=_0x4c69c0[_0x5866dd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5866dd([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])&&_0x45b56b!=_0x4c69c0[_0x5866dd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5866dd([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65])&&_0x45b56b!=_0x4c69c0[_0x5866dd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5866dd([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])||_0x7705cd(_0x17bdf9);});}else{const _0x27f1d3=_0x162b48;_0x45b56b==_0x4c69c0[_0x5866dd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5866dd([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x7705cd(_0x27f1d3):_0x45b56b==_0x4c69c0[_0x5866dd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5866dd([0x54,0x72,0x69,0x61,0x6c])&&_0x27f1d3[_0x5866dd([0x6f,0x6e])](_0x5866dd([0x72,0x65,0x61,0x64,0x79]),()=>{let _0x51fc5f=0x0;_0x27f1d3[_0x5866dd([0x6d,0x6f,0x64,0x65,0x6c])][_0x5866dd([0x6f,0x6e])](_0x5866dd([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x482090,_0x49512d)=>{_0x49512d[0x0][_0x5866dd([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x51fc5f++,0x1f8===_0x51fc5f&&(_0x7705cd(_0x27f1d3),_0xb9477e(_0x4c69c0[_0x5866dd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5866dd([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])),_0x482090[_0x5866dd([0x6f,0x66,0x66])]());},{'priority':_0x5866dd([0x68,0x69,0x67,0x68,0x65,0x73,0x74])});});}}function _0xb9477e(_0x1ae0f7){const _0x71d2bf=_0x37dd2b();return _0x162b48[_0x71d2bf]=_0x1ae0f7,_0x1ae0f7;}function _0x37dd2b(){const _0x4dda17=String(window[_0x5866dd([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x5866dd([0x6e,0x6f,0x77])]())[_0x5866dd([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x5866dd([0x2e]),'');let _0x5aad99='';for(let _0x25db56=0x0;_0x25db56<_0x4dda17[_0x5866dd([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x25db56+=0x2){let _0x5b508f=parseInt(_0x4dda17[_0x5866dd([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x25db56,_0x25db56+0x2));_0x5b508f>=_0x1b7342[_0x5866dd([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x5b508f-=_0x1b7342[_0x5866dd([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x5aad99+=_0x1b7342[_0x5b508f];}return _0x5aad99;}function _0x3f93b7(_0x49d695){for(const _0x59884d of _0x49d695[_0x5866dd([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])])_0x7705cd(_0x59884d);_0x118462(_0x49d695,_0x5866dd([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x5866dd([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])](!0x0),_0x118462(_0x49d695,_0x5866dd([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x5866dd([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])]=_0x392f53;}function _0x7705cd(_0x21ea72){function _0x42d212(){_0x21ea72[_0x5866dd([0x6d,0x6f,0x64,0x65,0x6c])][_0x5866dd([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x392f53,_0x21ea72[_0x5866dd([0x6d,0x6f,0x64,0x65,0x6c])][_0x5866dd([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x392f53,_0x21ea72[_0x5866dd([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x5866dd([0x6d,0x6f,0x64,0x65,0x6c]));}_0x21ea72[_0x5866dd([0x73,0x74,0x61,0x74,0x65])]==_0x5866dd([0x72,0x65,0x61,0x64,0x79])?_0x42d212():_0x21ea72[_0x5866dd([0x6f,0x6e,0x63,0x65])](_0x5866dd([0x72,0x65,0x61,0x64,0x79]),()=>_0x42d212());}function _0x392f53(){return null;}function _0x1f7b96(_0xfa4101,_0x28994d){const _0x4d9bce=!!(_0xfa4101&_0x28994d[_0x5866dd([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]),_0x1ff60d=_0x57e210(_0xfa4101,_0x28994d);return _0x4d9bce||_0x1ff60d;}function _0x57e210(_0x1e7c2,_0x12e516){const _0x3e8c56=(_0x12e516[_0x5866dd([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{})[_0x5866dd([0x66,0x67,0x69])]||null;return!!_0x3e8c56&&_0x1d4d9d[_0x5866dd([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xa652d7=>_0x3e8c56[_0x5866dd([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xa652d7[_0x5866dd([0x69,0x64])]))[_0x5866dd([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3ff384=>!_0x3af188(_0x3ff384))[_0x5866dd([0x73,0x6f,0x6d,0x65])](_0x54be48=>!!(_0x1e7c2&_0x54be48[_0x5866dd([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]));}function _0x3af188(_0x128b77){const _0x5ee236={[_0x5866dd([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])]:_0xa6e3ff};return!!_0x128b77['forbiddenHandler']&&_0x5ee236[_0x128b77['forbiddenHandler']]();}function _0xa6e3ff(){return!window[_0x5866dd([0x44,0x72,0x75,0x70,0x61,0x6c])]||!_0x3bafb4(_0x162b48,_0x5866dd([0x64,0x72,0x75,0x70,0x61,0x6c,0x50,0x6f,0x77,0x65,0x72,0x65,0x64,0x42,0x79]));}function _0x3325b5(_0x27544a){if(!_0x3bafb4(_0x162b48,_0x27544a[_0x5866dd([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))return!0x0;const _0x7be5ba=_0x27544a[_0x5866dd([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{},_0x23183e=_0x7be5ba[_0x5866dd([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]||!0x1,_0x2f9863=_0x7be5ba[_0x5866dd([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]||!0x1,_0x56d254=_0x7be5ba[_0x5866dd([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]||!0x1;if(_0x3bafb4(_0x162b48,_0x5866dd([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x118462(_0x162b48,_0x5866dd([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x5866dd([0x73,0x74,0x61,0x74,0x65])]==_0x5866dd([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&_0x23183e)return!0x0;if(_0x3bafb4(_0x162b48,_0x5866dd([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))&&_0x118462(_0x162b48,_0x5866dd([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))[_0x5866dd([0x72,0x65,0x73,0x75,0x6c,0x74])]==_0x5866dd([0x65,0x6e,0x64])&&_0x2f9863)return!0x0;return!(!_0x3bafb4(_0x162b48,_0x5866dd([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]))||_0x118462(_0x162b48,_0x5866dd([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]))[_0x5866dd([0x72,0x65,0x73,0x75,0x6c,0x74])]!=_0x5866dd([0x65,0x6e,0x64])||!_0x56d254);}function _0x3bafb4(_0xdf816c,_0x5ff28e){return _0xdf816c[_0x5866dd([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x5866dd([0x68,0x61,0x73])](_0x5ff28e);}function _0x118462(_0x55b461,_0x4b7f3f){return _0x55b461[_0x5866dd([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x5866dd([0x67,0x65,0x74])](_0x4b7f3f);}function _0x36ec1b(_0x1b3fac){let _0x3c35ec='';for(const _0x43dfe6 of _0x1b3fac)_0x3c35ec+=String[_0x5866dd([0x66,0x72,0x6f,0x6d,0x43,0x68,0x61,0x72,0x43,0x6f,0x64,0x65])](_0x43dfe6);return _0x3c35ec;}function _0x3b07eb(_0x5c1a96){const _0x45355c=new Uint8Array(_0x5c1a96[_0x5866dd([0x6c,0x65,0x6e,0x67,0x74,0x68])]);for(let _0x431744=0x0;_0x431744<_0x5c1a96[_0x5866dd([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x431744++)_0x45355c[_0x431744]=_0x5c1a96[_0x5866dd([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x431744);return _0x45355c;}_0x57fb2b&&_0x50b6e0(_0x1219c0(_0x4ad925),_0x57fb2b);})(_0x2338d9);}(this);}['createRevision'](_0x38a78a){const _0x3dbe86=this['editor']['plugins']['get']('Users');return new a({'id':_0x38a78a['id'],'name':_0x38a78a['name'],'creator':_0x38a78a['creatorId']?_0x3dbe86['getUser'](_0x38a78a['creatorId']):null,'diffData':_0x38a78a['diffData']||_0x38a78a['data'],'authors':_0x38a78a['authorsIds']['map'](_0x1e83c0=>_0x3dbe86['getUser'](_0x1e83c0)),'createdAt':new Date(_0x38a78a['createdAt']),'attributes':_0x38a78a['attributes'],'fromVersion':_0x38a78a['fromVersion'],'toVersion':_0x38a78a['toVersion']});}['addRevision'](_0x16f317,_0x15b2cd=0x0){this['_revisions']['add'](_0x16f317,_0x15b2cd);}['getRevision'](_0x20cc8a){return this['_revisions']['get'](_0x20cc8a);}['getRevisions'](_0x4bbb22={'toJSON':!0x1}){const _0x35221e=Array['from'](this['_revisions']);return _0x35221e['reverse'](),_0x4bbb22['toJSON']?_0x35221e['map'](_0x56493a=>_0x56493a['toJSON']()):_0x35221e;}['getIndex'](_0x28ab23){return this['_revisions']['getIndex'](_0x28ab23);}['getEarlierVisibleRevision'](_0x49c5c7){const [,_0x54d06f]=this['getRevisionsIterator'](_0x49c5c7,{'direction':'earlier'});return _0x54d06f;}['getLaterVisibleRevision'](_0x42fd7f){const [,_0x2682d5]=this['getRevisionsIterator'](_0x42fd7f,{'direction':'later'});return _0x2682d5;}['getRevisionsInDiff'](_0x47605d){const _0x3337ef=[];for(const _0x2e2149 of this['getRevisionsIterator'](_0x47605d['newRevisionId']))if(_0x3337ef['push'](_0x2e2149),_0x2e2149['id']===_0x47605d['oldRevisionId'])break;return _0x3337ef;}*['getRevisionsIterator'](_0xe5efab,{direction:_0x5d3946='earlier',filter:_0x1a0ed4=_0x4efc4c=>!0x0}={}){const _0x519c93='earlier'===_0x5d3946?0x1:-0x1;let _0x565244=this['_revisions']['get'](_0xe5efab),_0x19cef9=this['getIndex'](_0x565244);for(yield _0x565244;_0x565244;){if(_0x19cef9+=_0x519c93,_0x565244=this['getRevision'](_0x19cef9),!_0x565244)return;_0x1a0ed4(_0x565244)&&(yield _0x565244);}}constructor(_0x52fd71){super(_0x52fd71),this['_revisions']=new _0x106dd0();}}function y(_0x4f683,_0x368f3d,_0x21e21c){const t=_0x4f683['t'];switch(_0x368f3d){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'},_0x21e21c);case'X_OF_Y_CHANGES':return t({'string':'%0\x20of\x20%1','id':'X_OF_Y_CHANGES'},_0x21e21c);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':_0x352473,'a':_0x12479e,'e':_0x1e1035,'r':_0x4b0c60,'u':_0x469c01};class l extends _0xf14552{static get['pluginName'](){return'RevisionTracker';}static get['requires'](){return[_0x397731,A,_0x762bf2];}['init'](){this['repository']=this['editor']['plugins']['get']('RevisionsRepository'),this['_setConversion'](),this['editor']['data']['on']('ready',()=>{const _0x3ce74f=this['repository']['getRevision'](0x0),_0x3f5f41=_0x3ce74f&&null===_0x3ce74f['creator']?_0x3ce74f:null;if(this['_continueCurrentRevision']=!!_0x3f5f41&&this['editor']['config']['get']('revisionHistory.resumeUnsavedRevision'),this['editor']['plugins']['has']('RealTimeCollaborationClient')){const _0x2178e0=this['_source']['getCurrentRevisionId'](),_0x1e29bb=this['repository']['getRevision'](_0x2178e0);if(_0x1e29bb)this['_startingVersion']=_0x1e29bb['fromVersion'],this['_continueCurrentRevision']=!0x1;else{const _0x40a5a4=this['_source']['history']['_operations']['find'](_0x6ee98d=>!_0x6ee98d['_isInit']),_0x29b5f2=_0x40a5a4?_0x40a5a4['baseVersion']:this['_source']['history']['version'];_0x3ce74f?(_0x3ce74f['toVersion']<_0x29b5f2&&_0x3ce74f['_update']({'toVersion':_0x29b5f2}),this['_continueCurrentRevision']?(this['_source']['getCurrentRevisionId']=()=>_0x3f5f41['id'],this['_startingVersion']=_0x3f5f41['fromVersion']):(this['_startingVersion']=_0x3ce74f['toVersion'],this['_continueCurrentRevision']=!0x1)):(this['_startingVersion']=_0x29b5f2,this['_continueCurrentRevision']=!0x1);}}else _0x3f5f41&&(this['editor']['model']['document']['history']['version']=Math['max'](_0x3f5f41['toVersion'],this['editor']['model']['document']['history']['version']),_0x3f5f41['fromVersion']===_0x3f5f41['toVersion']?(0x0!==_0x3f5f41['fromVersion']&&(this['_source']['getCurrentRevisionId']=()=>_0x3f5f41['id']),this['_continueCurrentRevision']=!0x1):this['_continueCurrentRevision']&&(this['_source']['getCurrentRevisionId']=()=>_0x3f5f41['id'],this['_startingVersion']=_0x3f5f41['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',_0x1a80bb=>!_0x1a80bb);}async['afterInit'](){if(this['repository']['length']>0x0){const _0x345433=this['repository']['getRevision'](0x0),_0x5dac7a=await this['getRevisionDocumentData'](_0x345433),_0x541dc3=await this['getRevisionRootsAttributes'](_0x345433);this['_replaceEditorDataWithRevisionData'](_0x5dac7a,_0x541dc3);}}['setSource'](_0x7868ab){this['_source']=_0x7868ab;}async['update'](){const _0x3bf4f9=await this['_source']['getLatestVersion']();if(_0x3bf4f9>this['currentRevision']['toVersion']){await this['_loadState']();const _0x656a5c=this['buildRevisionData']({'revision':this['currentRevision'],'to':_0x3bf4f9});_0x656a5c['authors']=_0x656a5c['authorsIds']['map'](_0x20f460=>this['editor']['plugins']['get']('Users')['getUser'](_0x20f460)),this['currentRevision']['_update'](_0x656a5c);}}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'](_0x471916={},_0x2c31fc=null){const _0x2a8994=[];await this['_loadState'](),this['_continueCurrentRevision']=!0x1,_0x2c31fc>this['currentRevision']['toVersion']&&(_0x2c31fc=null),null===_0x2c31fc&&(_0x2c31fc=await this['_source']['getLatestVersion']());const _0x97f347=this['_getFromVersion'](_0x2c31fc),_0x4bfaa5=this['buildRevisionData']({'from':_0x97f347,'to':_0x2c31fc});if(this['currentRevision']['toVersion']<_0x2c31fc){const _0x48ee29=this['buildRevisionData']({'revision':this['currentRevision'],'from':_0x2c31fc,'to':_0x2c31fc});_0x48ee29['authors']=[],_0x48ee29['authorsIds']=[],_0x48ee29['id']=this['currentRevision']['id'],this['currentRevision']['_update'](_0x48ee29,!0x0),delete _0x48ee29['authors'],_0x2a8994['push'](_0x48ee29);}_0x471916['creatorId']=this['editor']['plugins']['get']('Users')['me']['id'],_0x471916['name']=_0x471916['name']||null,_0x471916['id']=_0x471916['id']||_0x522efc(),_0x471916={..._0x471916,..._0x4bfaa5};const _0x2cb8e7=this['addRevisionData'](_0x471916);_0x2a8994['push'](_0x471916);const _0x3d2c3b=this['repository']['getIndex'](_0x2cb8e7);if(0x0!==_0x3d2c3b){const _0x531ddf=this['repository']['getRevision'](_0x3d2c3b-0x1);if(_0x531ddf['fromVersion']!==_0x2c31fc){const _0x3b9fd6=this['_revisionDataBuilder']['getData'](_0x2c31fc,_0x531ddf['toVersion']),_0x37b11e={'id':_0x531ddf['id'],'diffData':_0x3b9fd6['diffData'],'authorsIds':_0x3b9fd6['authorsIds'],'authors':_0x3b9fd6['authorsIds']['map'](_0x181ff2=>this['editor']['plugins']['get']('Users')['getUser'](_0x181ff2)),'fromVersion':_0x2c31fc};_0x531ddf===this['currentRevision']&&(_0x37b11e['createdAt']=new Date(_0x471916['createdAt']['getTime']()+0xa)),_0x531ddf['_update'](_0x37b11e,!0x0),delete _0x37b11e['authors'],_0x2a8994['push'](_0x37b11e);}}if(this['adapter']){for(const _0x5a085d of _0x2a8994)this['_bufferUpdate'](_0x5a085d['id'],_0x5a085d,!0x0);this['sendBufferedUpdates']();}return _0x2cb8e7;}['addRevisionData'](_0x541dee){const _0xd3505a=this['repository']['createRevision'](_0x541dee);return this['adapter']&&_0xd3505a['on']('_update',(_0x2eaa9d,_0x47dd9d,_0x136a88)=>{_0x136a88||(this['_bufferUpdate'](_0x47dd9d['id'],_0x47dd9d,!0x0),this['sendBufferedUpdates']());}),this['repository']['addRevision'](_0xd3505a,this['_findInsertionIndex'](_0xd3505a)),_0xd3505a;}async['getRevisionDocumentData'](_0x3c4171){await this['_loadRevisionData'](_0x3c4171);const _0x2c3eff={};for(const _0x2b7ba4 in _0x3c4171['diffData']){if(_0x3c4171['diffData'][_0x2b7ba4]['attachChange']&&!_0x3c4171['diffData'][_0x2b7ba4]['attachChange']['isAttached'])continue;const _0x57139e=this['_removeRevisionMarkers'](JSON['parse'](_0x3c4171['diffData'][_0x2b7ba4]['insertions'])),_0x46cd02=this['editor']['editing']['view']['document'],_0x5f38b7=new _0x24e3ef(_0x46cd02,_0x57139e['map'](_0x45dc2d=>B(_0x45dc2d,this['editor'])));this['editor']['data']['processor']['useFillerType']('marked'),_0x2c3eff[_0x2b7ba4]=this['editor']['data']['processor']['toData'](_0x5f38b7),this['editor']['data']['processor']['useFillerType']('default');}return _0x2c3eff;}async['getRevisionRootsAttributes'](_0xfb0642){await this['_loadRevisionData'](_0xfb0642);const _0x55a048={};for(const _0x3284a9 in _0xfb0642['diffData'])_0xfb0642['diffData'][_0x3284a9]['attachChange']&&!_0xfb0642['diffData'][_0x3284a9]['attachChange']['isAttached']||(_0x55a048[_0x3284a9]=_0xfb0642['diffData'][_0x3284a9]['attributesAfter']||{});return _0x55a048;}['sendBufferedUpdates'](){if(0x0===this['_bufferedUpdates']['size'])return;if(this['_isPendingUpdate'])return;let _0x257985=Array['from'](this['_bufferedUpdates']['values']());this['_bufferedUpdates']['clear']();for(let _0x5e9a99=0x0;_0x5e9a99<_0x257985['length'];_0x5e9a99++){const _0x2e7cbc=_0x257985[_0x5e9a99];let _0x5b5da6=!0x1;for(const _0x1bc2cf of Object['keys'](_0x2e7cbc))void 0x0===_0x2e7cbc[_0x1bc2cf]?delete _0x2e7cbc[_0x1bc2cf]:'id'!==_0x1bc2cf&&(_0x5b5da6=!0x0);_0x5b5da6||(_0x257985[_0x5e9a99]=null);}if(_0x257985=_0x257985['filter'](_0xbeaf98=>null!==_0xbeaf98),!_0x257985['length'])return;for(let _0x53e24e=0x0;_0x53e24e<_0x257985['length'];_0x53e24e++){const _0x1f40d6=_0x257985[_0x53e24e];void 0x0!==_0x1f40d6['fromVersion']&&void 0x0===_0x1f40d6['toVersion']&&(_0x1f40d6['toVersion']=this['repository']['getRevision'](_0x1f40d6['id'])['toVersion']),void 0x0!==_0x1f40d6['toVersion']&&void 0x0===_0x1f40d6['fromVersion']&&(_0x1f40d6['fromVersion']=this['repository']['getRevision'](_0x1f40d6['id'])['fromVersion']);}const _0x4d21c8=this['editor']['config']['get']('collaboration.channelId');this['_isPendingUpdate']=!0x0,this['_addPendingAction'](),this['adapter']['updateRevisions'](_0x257985,_0x4d21c8)['finally'](()=>{this['_isPendingUpdate']=!0x1;})['then'](_0x5e7ca8=>{if(_0x5e7ca8){for(const _0x136c8b of _0x5e7ca8)this['setRevisionData']({'id':_0x136c8b['id'],'createdAt':_0x136c8b['createdAt']});}this['_removePendingAction'](),this['sendBufferedUpdates']();});}['_replaceEditorDataWithRevisionData'](_0x378d16,_0x5ae6b6){let _0x1ffadf=this['editor']['config']['get']('initialData'),_0x558a81=this['editor']['config']['get']('rootsAttributes');if(void 0x0===_0x1ffadf){_0x1ffadf={};for(const _0x3d4340 of this['editor']['model']['document']['getRootNames']())_0x1ffadf[_0x3d4340]='';}if('string'==typeof _0x1ffadf&&(_0x1ffadf={'main':_0x1ffadf}),void 0x0===_0x558a81){_0x558a81={};for(const _0xa8c405 of this['editor']['model']['document']['getRootNames']())_0x558a81[_0xa8c405]={};}let _0x5dbdd3=!0x1;const _0x23dd4e=Object['keys'](_0x1ffadf),_0xfbd9fb=Object['keys'](_0x378d16);for(const _0x1d2a2a of _0x23dd4e){if(_0x1ffadf[_0x1d2a2a]!==_0x378d16[_0x1d2a2a]&&''!==_0x1ffadf[_0x1d2a2a]['trim']()){_0x5dbdd3=!0x0;break;}if(!_0x4b1f7b(_0x558a81[_0x1d2a2a],_0x5ae6b6[_0x1d2a2a])&&Object['keys'](_0x558a81[_0x1d2a2a])['length']>0x0){_0x5dbdd3=!0x0;break;}}_0x5dbdd3||(_0x5dbdd3=_0xfbd9fb['some'](_0x2f7fdf=>!this['editor']['model']['document']['getRoot'](_0x2f7fdf))),_0x5dbdd3&&_0x408837('editor-initial-data-replaced-with-revision-data',{'editorData':_0x1ffadf,'editorRootsAttributes':_0x558a81,'revisionData':_0x378d16,'revisionRootsAttributes':_0x5ae6b6}),this['editor']['config']['set']('initialData',_0x378d16),this['editor']['config']['set']('rootsAttributes',_0x5ae6b6);}['_addPendingAction'](){if(!this['_pendingAction']){const _0x1ab721=this['editor']['plugins']['get']('PendingActions');this['_pendingAction']=_0x1ab721['add'](y(this['editor']['locale'],'PENDING_ACTION_REVISION_HISTORY'));}}['_removePendingAction'](){this['_pendingAction']&&(this['editor']['plugins']['get']('PendingActions')['remove'](this['_pendingAction']),this['_pendingAction']=null);}['_findInsertionIndex'](_0x5e626f){const _0x22ad38=this['repository']['getRevisions']();_0x22ad38['reverse']();let _0x45677e=0x0;for(;_0x45677e<_0x22ad38['length'];){const _0x15e91c=_0x22ad38[_0x45677e];if(_0x15e91c===this['currentRevision']){_0x45677e++;continue;}if(_0x15e91c['id']===this['_initialRevisionId'])break;const _0x577795=_0x5e626f['toVersion']-_0x15e91c['toVersion']||_0x5e626f['fromVersion']-_0x15e91c['fromVersion'];if(_0x577795>0x0)break;if(_0x577795<0x0)_0x45677e++;else{if(!_0x5e626f['creator']&&_0x15e91c['creator'])break;if(_0x15e91c['creator']||!_0x5e626f['creator']){if(_0x5e626f['createdAt']>_0x15e91c['createdAt'])break;_0x45677e++;}else _0x45677e++;}}return _0x45677e;}['setRevisionData'](_0x502e19){const _0x235faf=this['repository']['getRevision'](_0x502e19['id']);if(_0x502e19['createdAt']&&(_0x502e19['createdAt']=new Date(_0x502e19['createdAt'])),_0x502e19['authorsIds']){const _0x27a7fe=this['editor']['plugins']['get']('Users');_0x502e19['authors']=_0x502e19['authorsIds']['map'](_0x38eb67=>_0x27a7fe['getUser'](_0x38eb67));}_0x235faf['_update'](_0x502e19,!0x0);}['buildRevisionData']({revision:_0x57a472=null,from:_0x5308a6=null,to:_0x2b51a0=null}){_0x5308a6=null!==_0x5308a6?_0x5308a6:_0x57a472['fromVersion'],_0x2b51a0=null!==_0x2b51a0?_0x2b51a0:_0x57a472['toVersion'];const _0x41417c=this['_revisionDataBuilder']['getData'](_0x5308a6,_0x2b51a0),_0x2e8869={'diffData':_0x41417c['diffData'],'authorsIds':_0x41417c['authorsIds'],'fromVersion':_0x5308a6,'toVersion':_0x2b51a0};if(!_0x57a472||_0x2b51a0!==_0x57a472['toVersion']){const _0x98e17e=_0x2b51a0-0x1,_0x454560=this['_source']['history']['getOperation'](_0x98e17e);_0x2e8869['createdAt']=_0x454560&&_0x454560['createdAt']||new Date();}if(this['_loadedStateData']&&_0x5308a6===this['_loadedStateData']['fromVersion']){for(const _0x511431 of this['_loadedStateData']['authors'])_0x2e8869['authorsIds']['includes'](_0x511431['id'])||_0x2e8869['authorsIds']['push'](_0x511431['id']);}return _0x2e8869;}['_loadRevisionData'](_0x4c3679){if(!_0x4c3679||_0x4c3679['diffData'])return Promise['resolve']();{const _0x2b2e03=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0x2b2e03,'revisionId':_0x4c3679['id']})['then'](_0x298394=>{_0x4c3679['diffData']=_0x298394['diffData'];});}}['_bufferUpdate'](_0x3278e3,_0x55754f,_0x152bd4){if(this['_bufferedUpdates']['has'](_0x3278e3)){const _0x1105d5=this['_bufferedUpdates']['get'](_0x3278e3);_0x55754f=_0x152bd4?{..._0x1105d5,..._0x55754f}:{..._0x55754f,..._0x1105d5};}this['_bufferedUpdates']['set'](_0x3278e3,_0x55754f);}['_getFromVersion'](_0x2094fe){const _0x52a4a0=this['repository']['getRevisions']();_0x52a4a0['reverse'](),_0x52a4a0['shift']();const _0xe7ce27=_0x52a4a0['find'](_0x171413=>_0x171413['toVersion']<=_0x2094fe)['toVersion'];return _0xe7ce27<this['_startingVersion']?this['_startingVersion']:_0xe7ce27;}['_createInitialRevision'](_0x4fd9dd){const _0x24f7a3=this['repository']['getRevision'](this['repository']['length']-0x1);if(_0x24f7a3)this['_initialRevisionId']=_0x24f7a3['id'];else{const _0x10053e=!this['editor']['model']['document']['roots']['find'](_0x4bb240=>this['editor']['model']['hasContent'](_0x4bb240)),_0x5444cb=this['editor']['plugins']['get']('Users')['me']['id'],_0x21fe55=y(this['editor']['locale'],_0x10053e?'Empty\x20document':'Initial\x20revision');this['_makeRevision']({'from':_0x4fd9dd,'to':_0x4fd9dd,'id':this['_initialRevisionId'],'name':_0x21fe55,'creatorId':_0x5444cb});}}['_createCurrentRevision'](_0x4fc0e4){const _0x14877c=this['_source']['getCurrentRevisionId']();this['currentRevision']=this['repository']['getRevision'](_0x14877c),this['currentRevision']||(this['currentRevision']=this['_makeRevision']({'from':_0x4fc0e4,'to':_0x4fc0e4,'id':_0x14877c,'name':'','creatorId':null}));}['_makeRevision']({name:_0x3866ba,from:_0x2cf348,to:_0x5d4e13,creatorId:_0x58d23c,id:_0x457c40}){const _0x4118af=this['buildRevisionData']({'from':_0x2cf348,'to':_0x5d4e13});_0x4118af['name']=_0x3866ba,_0x4118af['creatorId']=_0x58d23c,_0x4118af['id']=_0x457c40;const _0x315105=this['addRevisionData'](_0x4118af);return this['adapter']&&this['_bufferUpdate'](_0x4118af['id'],_0x4118af,!0x0),_0x315105;}['_setConversion'](){this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'});}['_removeRevisionMarkers'](_0x4f2428){return(_0x4f2428=_0x4f2428['filter'](_0x5d8bd5=>!_0x5d8bd5['name']||'revision-start'!==_0x5d8bd5['name']&&'revision-end'!==_0x5d8bd5['name']))['forEach'](_0x546ed1=>{'string'!=typeof _0x546ed1&&(_0x546ed1['children']=this['_removeRevisionMarkers'](_0x546ed1['children']),_0x546ed1['attributes']=_0x546ed1['attributes']['filter'](_0x1f0326=>!_0x1f0326[0x0]['startsWith']('data-revision-')));}),_0x4f2428;}constructor(_0x4b77c0){super(_0x4b77c0),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 _0xa3d5f8=_0x522efc();this['_source']={'history':this['editor']['model']['document']['history'],'getLatestVersion':()=>Promise['resolve'](this['editor']['model']['document']['version']),'getCurrentRevisionId':()=>_0xa3d5f8},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'});}}function B(_0x16c73c,_0x55df16){const _0x263895=_0x55df16['editing']['view']['document'];if('string'==typeof _0x16c73c)return new _0x389e18(_0x263895,_0x16c73c);{const _0x213beb=_0x16c73c['children']['map'](_0x433bcb=>B(_0x433bcb,_0x55df16));return new(T[_0x16c73c['type']]||_0x324867)(_0x263895,_0x16c73c['name'],_0x16c73c['attributes'],_0x213beb);}}class J{['init'](_0x2afea0){this['source']=_0x2afea0;const _0x1e6c66=new Map(),_0x5539a2=new Map(),_0x1d5353=this['editor']['model']['document']['roots']['map'](_0x2f0458=>_0x2f0458['rootName']);for(const _0x37bc87 of _0x1d5353){const _0x229ed1=this['editor']['model']['document']['getRoot'](_0x37bc87),_0x55e303=q(_0x229ed1);_0x1e6c66['set'](_0x37bc87,_0x55e303),_0x5539a2['set'](_0x37bc87,Object['fromEntries'](_0x229ed1['getAttributes']()));}const _0x409577=Array['from'](this['editor']['model']['markers'])['map'](_0x549a3f=>[_0x549a3f['name'],_0x549a3f['getRange']()]),_0x329495=this['source']['version'];this['_saveMetaData'](_0x329495,_0x1e6c66,_0x409577,_0x5539a2),this['_startingRevisionId']=this['_revisionId'];const _0x465821=new Map(),_0x4473e2=new Map();for(const _0x97d11f of _0x1d5353){const _0x1c2b01=G(_0x97d11f);_0x465821['set'](_0x97d11f,_0x1c2b01),_0x4473e2['set'](_0x97d11f,{});}this['_saveMetaData'](Number['NEGATIVE_INFINITY'],_0x465821,[],_0x4473e2);}['getData'](_0x38d433,_0x412a0f){if(this['_lastFrom']===_0x38d433&&this['_lastTo']<=_0x412a0f)this['_savedMetaData']['size']>0x1&&this['_removeMetaData'](this['_lastTo']),this['_applyOperations'](this['_lastTo'],_0x412a0f,!0x0);else{if(!this['_savedMetaData']['has'](_0x38d433)){const _0x323d39=this['_getPreviousFrom'](_0x38d433);this['_calculateMetaData'](_0x323d39,_0x38d433,!0x1);}this['_calculateMetaData'](_0x38d433,_0x412a0f,!0x0);}return this['_lastFrom']=_0x38d433,this['_lastTo']=_0x412a0f,this['_getState']();}['loadState'](_0x5f3abb){this['_reset'](),this['_lastFrom']=_0x5f3abb['fromVersion'],this['_lastTo']=_0x5f3abb['toVersion'];for(const _0x3ff544 in _0x5f3abb['diffData']){const _0x3f2c6b=_0x5f3abb['diffData'][_0x3ff544]['attachChange'],_0x2093f7=_0x50c138(_0x5f3abb['diffData'][_0x3ff544]['attributesBefore'])||{},_0x52da27=this['_makeModelFromViewString'](_0x5f3abb['diffData'][_0x3ff544]['deletions']);_0x52da27['rootName']=_0x3ff544,_0x52da27['_isAttached']=!_0x3f2c6b||!_0x3f2c6b['isAttached'],_0x52da27['isAttached']=()=>_0x52da27['_isAttached'],this['_baseRoots']['set'](_0x3ff544,_0x52da27),this['_baseRootsAttributes']['set'](_0x3ff544,_0x2093f7),_0x3f2c6b&&this['_touchedRoots']['set'](_0x3ff544,_0x3f2c6b);const _0x37ecdf=this['_makeIdsRoot'](_0x52da27);this['_baseIdsRoots']['set'](_0x3ff544,_0x37ecdf);for(const [_0x4f9e4d,_0x5504ad]of _0x52da27['markers']){if(!_0x4f9e4d['startsWith']('revision:'))continue;const _0x437ca8=_0x4f9e4d['split'](':')[0x2];for(const _0x120e2f of _0x5504ad['getWalker']({'singleCharacters':!0x0})){const _0x3e3ac7=this['_getVidAttributeName'](_0x120e2f),_0x35dfdc='elementEnd'==_0x120e2f['type']?_0x120e2f['previousPosition']['path']['slice'](0x0,-0x1):_0x120e2f['previousPosition']['path'],_0x32d460=_0x37ecdf['getNodeByPath'](_0x35dfdc)['getAttribute'](_0x3e3ac7);this['_touched']['set'](_0x32d460,{'userId':_0x437ca8});}}}this['_startingRevisionId']=this['_revisionId'];const _0x5cd7e1=[...Array(this['_revisionId'])['keys']()]['slice'](0x1)['filter'](_0x1cde00=>!this['_touched']['has'](_0x1cde00));let _0x58deae=0x0;const _0x481129=new Map();for(const _0x58faa6 in _0x5f3abb['diffData']){const _0x26a95d=_0x5f3abb['diffData'][_0x58faa6]['attachChange'],_0x166292=_0x50c138(_0x5f3abb['diffData'][_0x58faa6]['attributesAfter'])||{},_0x4ed3bc=this['_makeModelFromViewString'](_0x5f3abb['diffData'][_0x58faa6]['insertions']);_0x4ed3bc['rootName']=_0x58faa6,_0x4ed3bc['_isAttached']=!_0x26a95d||_0x26a95d['isAttached'],_0x4ed3bc['isAttached']=()=>_0x4ed3bc['_isAttached'],this['_diffRoots']['set'](_0x58faa6,_0x4ed3bc),this['_diffRootsAttributes']['set'](_0x58faa6,_0x166292);const _0x4f598d=this['_makeIdsRoot'](_0x4ed3bc,Number['NEGATIVE_INFINITY']);this['_idsRoots']['set'](_0x58faa6,_0x4f598d),_0x481129['set'](_0x58faa6,_0x4ed3bc['isAttached']()?_0x166292:{});for(const [_0x21a06f,_0x27d156]of _0x4ed3bc['markers']){if(!_0x21a06f['startsWith']('revision:'))continue;const _0x1b0e8e=_0x21a06f['split'](':')[0x2];for(const _0x22797b of _0x27d156['getWalker']({'singleCharacters':!0x0})){const _0x50969c=this['_getVidAttributeName'](_0x22797b),_0x2cc8a8=this['_revisionId']++,_0x33ca98='elementEnd'==_0x22797b['type']?_0x22797b['previousPosition']['path']['slice'](0x0,-0x1):_0x22797b['previousPosition']['path'];_0x4f598d['getNodeByPath'](_0x33ca98)['_setAttribute'](_0x50969c,_0x2cc8a8),this['_touched']['set'](_0x2cc8a8,{'userId':_0x1b0e8e});}}for(const _0x5ddfdf of this['editor']['model']['createRangeIn'](_0x4ed3bc)['getWalker']({'singleCharacters':!0x0})){const _0x4f9dcb=this['_getVidAttributeName'](_0x5ddfdf),_0xc184da='elementEnd'==_0x5ddfdf['type']?_0x5ddfdf['previousPosition']['path']['slice'](0x0,-0x1):_0x5ddfdf['previousPosition']['path'],_0xcc884c=_0x4f598d['getNodeByPath'](_0xc184da);_0xcc884c['getAttribute'](_0x4f9dcb)>0x0||_0xcc884c['_setAttribute'](_0x4f9dcb,_0x5cd7e1[_0x58deae++]);}for(const [_0x45a29e,_0x470eb0]of _0x4ed3bc['markers'])_0x45a29e['startsWith']('revision:')||this['_markers']['set'](_0x45a29e,_0x470eb0);}const _0x2efef0=G('$graveyard');this['_baseRoots']['set']('$graveyard',_0x2efef0),this['_baseIdsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x2efef0,0x1));const _0x4333a1=G('$graveyard');this['_diffRoots']['set']('$graveyard',_0x4333a1),this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x4333a1,0x1));const _0x500f8d=Array['from'](this['_diffRoots'])['map'](([_0x269274,_0x39871d])=>[_0x269274,q(_0x39871d)]);this['_saveMetaData'](this['_lastTo'],_0x500f8d,this['_markers'],_0x481129);}['_makeModelFromViewString'](_0x1e9038){const _0x8f33d3=JSON['parse'](_0x1e9038),_0x9bb747=this['editor']['editing']['view']['document'],_0x43f77e=new _0x24e3ef(_0x9bb747,_0x8f33d3['map'](_0x198315=>B(_0x198315,this['editor'])));return this['editor']['data']['toModel'](_0x43f77e);}['_saveMetaData'](_0x5d91bf,_0xad2d7,_0x5bdd16,_0x16c3eb){const _0x927255=new Map(_0xad2d7),_0x4bedb7=new Map(_0x50c138(_0x16c3eb)),_0x26732f=new Map();for(const [_0x153623,_0x218bc7]of _0x5bdd16)_0x26732f['set'](_0x153623,{'start':_0x218bc7['start']['clone'](),'end':_0x218bc7['end']['clone'](),'rootName':_0x218bc7['root']['rootName']});this['_savedMetaData']['set'](_0x5d91bf,{'roots':_0x927255,'markers':_0x26732f,'rootsAttributes':_0x4bedb7});}['_removeMetaData'](_0x1598f0){this['_savedMetaData']['delete'](_0x1598f0);}['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'](_0x45f77d,_0x2452a3=null){let _0x376f77=null;_0x45f77d['is']('documentFragment')||(_0x376f77=new ft(_0x45f77d['name'],{'vid_start':null===_0x2452a3?this['_revisionId']++:_0x2452a3++}));const _0x119211=[];for(const _0x16a8c6 of _0x45f77d['getChildren']())if(_0x16a8c6['is']('element')){_0x119211['push'](this['_makeIdsRoot'](_0x16a8c6,_0x2452a3));const _0x580242=_0x119211[_0x119211['length']-0x1];null!==_0x2452a3&&(_0x2452a3=_0x580242['is']('element','$text')?_0x580242['getAttribute']('vid')+0x1:_0x580242['getAttribute']('vid_end')+0x1);}else{for(let _0x260c27=0x0;_0x260c27<_0x16a8c6['offsetSize'];_0x260c27++)_0x119211['push'](new ft('$text',{'vid':null===_0x2452a3?this['_revisionId']++:_0x2452a3++}));}if(_0x45f77d['is']('documentFragment')){const _0x374dcd=G(_0x45f77d['rootName']);return _0x374dcd['_insertChild'](0x0,_0x119211),_0x374dcd;}return _0x376f77['_setAttribute']('vid_end',null===_0x2452a3?this['_revisionId']++:_0x2452a3++),_0x376f77['_insertChild'](0x0,_0x119211),_0x376f77;}['_calculateMetaData'](_0x1ea50b,_0x2a844a,_0x3af0dc){this['_reset']();const {roots:_0xd0ad41,markers:_0x5bb88b,rootsAttributes:_0x30b9f5}=this['_savedMetaData']['get'](_0x1ea50b);this['_baseRoots']=new Map(_0xd0ad41),this['_baseRootsAttributes']=new Map(_0x50c138(_0x30b9f5));for(const [_0xc5dc15,_0x595e91]of this['_baseRoots'])if('$graveyard'!==_0xc5dc15&&(this['_diffRoots']['set'](_0xc5dc15,q(_0x595e91)),this['_diffRootsAttributes']=new Map(_0x50c138(_0x30b9f5)),_0x3af0dc)){const _0x58c3fe=this['_revisionId'];this['_idsRoots']['set'](_0xc5dc15,this['_makeIdsRoot'](_0x595e91)),this['_baseIdsRoots']['set'](_0xc5dc15,this['_makeIdsRoot'](_0x595e91,_0x58c3fe));}this['_startingRevisionId']=this['_revisionId'],this['_diffRoots']['set']('$graveyard',q(this['_baseRoots']['get']('$graveyard'))),_0x3af0dc&&this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](this['_baseRoots']['get']('$graveyard')));for(const [_0xe0ceba,_0x568483]of _0x5bb88b){const _0x31a3bd=this['_baseRoots']['get'](_0x568483['rootName']),_0x1c59bc=this['_diffRoots']['get'](_0x568483['rootName']),_0x576163=new gt(this['_fixPosition'](_0x568483['start'],_0x31a3bd),this['_fixPosition'](_0x568483['end'],_0x31a3bd)),_0x4f1e59=this['_fixRange'](_0x576163,_0x1c59bc);_0x31a3bd['markers']['set'](_0xe0ceba,_0x576163),this['_markers']['set'](_0xe0ceba,_0x4f1e59);}this['_applyOperations'](_0x1ea50b,_0x2a844a,_0x3af0dc);}['_applyOperations'](_0x5bb39b,_0xab7298,_0xf5debc){for(const _0x27ec22 of this['source']['getOperations'](_0x5bb39b,_0xab7298))this['_handleOperation'](_0x27ec22,_0xf5debc);for(const _0x1927c7 of this['_diffRoots']['values']())_0x1927c7['markers']['clear']();for(const [_0x54dd0d,_0x18ac90]of this['_markers']){this['_diffRoots']['get'](_0x18ac90['root']['rootName'])['markers']['set'](_0x54dd0d,_0x18ac90['clone']());}const _0x51dcfe=new Map(),_0xd25cb=new Map();for(const [_0x52fd17,_0x22ffa9]of this['_diffRoots'])_0x51dcfe['set'](_0x52fd17,q(_0x22ffa9)),_0xd25cb['set'](_0x52fd17,this['_diffRootsAttributes']['get'](_0x52fd17));this['_saveMetaData'](_0xab7298,_0x51dcfe,this['_markers'],_0xd25cb);}['_getPreviousFrom'](_0x2fa21f){const _0x8d40b6=Array['from'](this['_savedMetaData']['keys']());_0x8d40b6['sort']((_0x386ea5,_0x3af16a)=>_0x386ea5-_0x3af16a),_0x8d40b6['reverse']();for(const _0xa612e5 of _0x8d40b6)if(_0xa612e5<_0x2fa21f)return _0xa612e5;return Number['NEGATIVE_INFINITY'];}['_copyMarkers'](_0x524fb7,_0x15ad34){const _0x3e3305=Array['from'](_0x15ad34['markers'])['map'](([_0x56eca8,_0xeac599])=>[_0x56eca8,this['_fixRange'](_0xeac599,_0x524fb7)]);_0x524fb7['markers']=new Map(_0x3e3305);}['_transformMarkers'](_0x5c05b3){for(const _0x3a43cd of this['_markers']['values']()){const _0x1fa575=_0x3a43cd['getTransformedByOperation'](_0x5c05b3),_0x46d310=gt['_createFromRanges'](_0x1fa575);_0x3a43cd['start']=_0x46d310['start'],_0x3a43cd['end']=_0x46d310['end'];}}['_handleOperation'](_0x224abb,_0x56d99c){if('addRoot'==_0x224abb['type']||'detachRoot'==_0x224abb['type'])return void this['_handleRootOperation'](_0x224abb,_0x56d99c);if('insert'==_0x224abb['type']){const _0x4955cc=_0x224abb['position']['root']['rootName'];this['_diffRoots']['has'](_0x4955cc)||(this['_diffRoots']['set'](_0x4955cc,G(_0x4955cc,!0x0)),this['_diffRootsAttributes']['set'](_0x4955cc,{}),_0x56d99c&&this['_idsRoots']['set'](_0x4955cc,G(_0x4955cc,!0x0)));}else{if('addRootAttribute'==_0x224abb['type']||'removeRootAttribute'==_0x224abb['type']||'changeRootAttribute'==_0x224abb['type'])return void this['_handleRootAttributeOperation'](_0x224abb);}const _0x569af9=this['_cloneOperation'](_0x224abb,this['_diffRoots']);if('marker'!==_0x224abb['type']&&(_0x569af9['_execute'](),this['_transformMarkers'](_0x569af9)),_0x56d99c)switch(_0x569af9['type']){case'insert':this['_handleInsertOperation'](_0x224abb);break;case'move':case'remove':case'reinsert':this['_handleMoveOperation'](_0x224abb);break;case'merge':this['_handleMergeOperation'](_0x224abb);break;case'split':this['_handleSplitOperation'](_0x224abb);break;case'marker':this['_handleMarkerOperation'](_0x224abb);}}['_cloneOperation'](_0x351777,_0x39b8e0){const _0x127e4b=_0x351777['clone']();return _0x127e4b['_authorId']=_0x351777['_authorId'],this['_fixOperation'](_0x127e4b,_0x39b8e0),_0x127e4b;}['_getBaseVids'](_0x50cc47){return _0x50cc47['map'](_0x764d84=>{const _0x5456c6=this['_getVidAttributeName'](_0x764d84);return Number(_0x764d84['item']['getAttribute'](_0x5456c6));});}['_generateTape'](_0x5de0c5,_0x5e0aa3){if(_0x5de0c5['is']('element','$text'))_0x5e0aa3['push']({'item':_0x5de0c5,'type':'text'});else{_0x5de0c5['is']('element')&&_0x5e0aa3['push']({'item':_0x5de0c5,'type':'elementStart'});for(const _0x96a27c of _0x5de0c5['getChildren']())this['_generateTape'](_0x96a27c,_0x5e0aa3);_0x5de0c5['is']('element')&&_0x5e0aa3['push']({'item':_0x5de0c5,'type':'elementEnd'});}return _0x5e0aa3;}['_getState'](){const _0x2d7778=new Map(this['_touched']),_0x18fbe3=new Map(_0x2d7778),_0x41c44f=new Map(),_0x3f2473={'insertions':{},'deletions':{}},_0x5b8d7f={'insertions':{},'deletions':{}},_0x1a35ac=new Map(),_0x43db2e=new Set([...this['_baseRoots']['keys'](),...this['_diffRoots']['keys']()]);_0x43db2e['delete']('$graveyard');for(const _0x43db02 of _0x43db2e){const _0x521c7e=this['_diffRoots']['get'](_0x43db02)||G(_0x43db02,!0x1),_0x5d199c=this['_baseRoots']['get'](_0x43db02)||G(_0x43db02,!0x1);_0x521c7e['isAttached']()||_0x5d199c['isAttached']()?(_0x3f2473['insertions'][_0x43db02]=q(_0x521c7e),_0x3f2473['deletions'][_0x43db02]=q(_0x5d199c),this['_copyMarkers'](_0x3f2473['deletions'][_0x43db02],_0x5d199c),this['_copyMarkers'](_0x3f2473['insertions'][_0x43db02],_0x521c7e),_0x5b8d7f['insertions'][_0x43db02]=this['_generateTape'](this['_idsRoots']['get'](_0x43db02),[]),_0x5b8d7f['deletions'][_0x43db02]=this['_generateTape'](this['_baseIdsRoots']['get'](_0x43db02)||G(_0x43db02,!0x1),[])):_0x43db2e['delete'](_0x43db02);}for(const _0x4d9055 of _0x43db2e){const _0x2a400b=_0x5b8d7f['insertions'][_0x4d9055];for(const _0x3e5918 of _0x2a400b){const _0x5a5eed=this['_getVidAttributeName'](_0x3e5918),_0x5c2b83=_0x3e5918['item']['getAttribute'](_0x5a5eed);_0x18fbe3['delete'](_0x5c2b83),_0x5c2b83>=this['_startingRevisionId']&&_0x41c44f['set'](_0x5c2b83,_0x2d7778['get'](_0x5c2b83));}}for(const _0x4e6f2e of _0x43db2e){const _0x31cd5d=_0x5b8d7f['insertions'][_0x4e6f2e],_0x48c92d=this['_getBaseVids'](_0x5b8d7f['deletions'][_0x4e6f2e]);let _0x51f3e0=0x0;for(const _0x2ad8bf of _0x31cd5d){const _0x463581=this['_getVidAttributeName'](_0x2ad8bf),_0x46e28e=_0x2ad8bf['item']['getAttribute'](_0x463581);if(!_0x41c44f['has'](_0x46e28e)&&!_0x1a35ac['has'](_0x46e28e)){if(_0x18fbe3['has'](_0x46e28e))_0x51f3e0++;else{if(_0x46e28e!=_0x48c92d[_0x51f3e0]){const _0x25a432=_0x2d7778['get'](_0x46e28e)||_0x2d7778['get'](_0x48c92d[_0x51f3e0]);for(;_0x46e28e!=_0x48c92d[_0x51f3e0];)_0x18fbe3['has'](_0x48c92d[_0x51f3e0])||(_0x1a35ac['set'](_0x48c92d[_0x51f3e0],_0x25a432),_0x2d7778['set'](_0x48c92d[_0x51f3e0],_0x25a432)),_0x51f3e0++;}_0x51f3e0++;}}}}for(const _0xea6557 of _0x43db2e){const _0x3a3fbf=_0x5b8d7f['insertions'][_0xea6557];for(const _0x9847c4 of _0x3a3fbf){const _0x17e807=this['_getVidAttributeName'](_0x9847c4),_0x5a459c=_0x9847c4['item']['getAttribute'](_0x17e807);if(_0x1a35ac['has'](_0x5a459c)){const _0x27d1d2=_0x1a35ac['get'](_0x5a459c);_0x18fbe3['has'](_0x5a459c)||_0x18fbe3['set'](_0x5a459c,{..._0x27d1d2}),_0x41c44f['set'](_0x5a459c,{..._0x27d1d2});}}}for(const _0x51c6fb of _0x18fbe3['keys']())_0x51c6fb>=this['_startingRevisionId']&&_0x18fbe3['delete'](_0x51c6fb);const _0x48732e=new Map();for(const _0x124c9f of _0x43db2e){let _0x4176ef=_0x5b8d7f['insertions'][_0x124c9f];for(const _0x917fa7 of _0x4176ef)if(_0x917fa7['item']['is']('element','tableCell')){const _0x3402ed=this['_getVidAttributeName'](_0x917fa7),_0x478880=_0x917fa7['item']['getAttribute'](_0x3402ed);if(_0x41c44f['has'](_0x478880)){const _0x2d7172=_0x917fa7['item']['parent']['parent']['getAttribute']('vid_start'),_0x564efb=_0x48732e['get'](_0x2d7172)||new Set();_0x564efb['add'](_0x41c44f['get'](_0x478880)['userId']),_0x48732e['set'](_0x2d7172,_0x564efb);}}_0x4176ef=_0x5b8d7f['deletions'][_0x124c9f];for(const _0xde8e2b of _0x4176ef)if(_0xde8e2b['item']['is']('element','tableCell')){const _0x4ca150=this['_getVidAttributeName'](_0xde8e2b),_0x1f630d=_0xde8e2b['item']['getAttribute'](_0x4ca150);if(_0x18fbe3['has'](_0x1f630d)){const _0x306c7e=_0xde8e2b['item']['parent']['parent']['getAttribute']('vid_start'),_0x144d77=_0x48732e['get'](_0x306c7e)||new Set();_0x144d77['add'](_0x18fbe3['get'](_0x1f630d)['userId']),_0x48732e['set'](_0x306c7e,_0x144d77);}}for(const _0x2e81db of _0x48732e['keys']())(_0x41c44f['has'](_0x2e81db)||_0x18fbe3['has'](_0x2e81db))&&_0x48732e['delete'](_0x2e81db);}for(const _0x33190a of _0x43db2e){const _0x39f488=_0x5b8d7f['insertions'][_0x33190a];let _0x1cdd15=null,_0x441992=null;for(const _0x584c7c of _0x39f488){const _0x1824a2=this['_getVidAttributeName'](_0x584c7c),_0x4fac51=_0x584c7c['item']['getAttribute'](_0x1824a2),_0x916cdb=_0x48732e['get'](_0x4fac51);_0x916cdb&&'elementStart'==_0x584c7c['type']&&(_0x1cdd15=Array['from'](_0x916cdb)[0x0],_0x441992=_0x584c7c['item']['getAttribute']('vid_end')),_0x1cdd15&&(_0x18fbe3['set'](_0x4fac51,{'userId':_0x1cdd15}),_0x41c44f['set'](_0x4fac51,{'userId':_0x1cdd15})),_0x4fac51==_0x441992&&(_0x1cdd15=null,_0x441992=null);}}const _0x2ee900={},_0x1f8553=new Set();for(const _0x38cf67 of _0x43db2e){const _0x3e00e0=_0x3f2473['deletions'][_0x38cf67],_0x2234fd=_0x3f2473['insertions'][_0x38cf67];for(const {userId:_0x4ec194}of this['_touchedMarkers']['values']())null!==_0x4ec194&&_0x1f8553['add'](_0x4ec194);for(const {userId:_0x4d687f}of this['_touchedRoots']['values']())null!==_0x4d687f&&_0x1f8553['add'](_0x4d687f);this['_markChanges'](_0x2234fd,_0x5b8d7f['insertions'][_0x38cf67],_0x41c44f,'insertion',_0x1f8553),this['_markChanges'](_0x3e00e0,_0x5b8d7f['deletions'][_0x38cf67],_0x18fbe3,'deletion',_0x1f8553),_0x2ee900[_0x38cf67]={'insertions':this['_prepareViewToSave'](_0x2234fd),'deletions':this['_prepareViewToSave'](_0x3e00e0),'attachChange':this['_touchedRoots']['get'](_0x38cf67)||null,'attributesBefore':_0x50c138(this['_baseRootsAttributes']['get'](_0x38cf67))||{},'attributesAfter':_0x50c138(this['_diffRootsAttributes']['get'](_0x38cf67))};}return{'diffData':_0x2ee900,'authorsIds':Array['from'](_0x1f8553)};}['_processRootBeforeSave'](_0x2c3558){for(const [,_0x3441aa]of _0x2c3558['markers']){const _0x4c936a=_0x3441aa['start']['getAncestors']()['filter'](_0x320563=>'tableCell'==_0x320563['name']);for(const _0x3e14fb of _0x4c936a)0x1==_0x3e14fb['childCount']&&_0x3e14fb['getChild'](0x0)['is']('element','paragraph')&&_0x3e14fb['getChild'](0x0)['_setAttribute']('keepParagraph',!0x0);}}['_prepareViewToSave'](_0x58cbaf){this['_processRootBeforeSave'](_0x58cbaf);const _0x322edd=this['editor']['data']['toView'](_0x58cbaf,{}),_0x28399d=Array['from'](_0x322edd['getChildren']())['map'](_0xfcfb61=>this['_getViewJson'](_0xfcfb61));return JSON['stringify'](_0x28399d);}['_getViewJson'](_0x471d61){if(_0x471d61['is']('$text'))return _0x471d61['data'];{const _0x5985b7=_0x471d61;return{'type':Object['keys'](T)['find'](_0x1644a8=>_0x471d61 instanceof T[_0x1644a8]),'name':_0x5985b7['name'],'attributes':Array['from'](_0x5985b7['getAttributes']()),'children':Array['from'](_0x5985b7['getChildren']())['map'](_0x17b0dd=>this['_getViewJson'](_0x17b0dd))};}}['_markChanges'](_0x436aa3,_0x4bbd19,_0x1a3893,_0x4a7d7b,_0x4d22f3){let _0x119faf=null,_0x5292e4=null,_0x1fbd0c=0x0;const _0x5c5bf0=this['editor']['model'];for(let _0x45903d=0x0;_0x45903d<_0x4bbd19['length'];_0x45903d++){const _0x48f6b5=this['_getVidAttributeName'](_0x4bbd19[_0x45903d]),_0x25b579=_0x4bbd19[_0x45903d]['item']['getAttribute'](_0x48f6b5),_0x577ef8=_0x1a3893['get'](_0x25b579),_0x2f5621=_0x45903d==_0x4bbd19['length']-0x1;(!_0x119faf&&_0x577ef8&&(_0x119faf=_0x577ef8,_0x5292e4=_0x4bbd19[_0x45903d]),_0x119faf&&(!_0x577ef8||_0x577ef8['userId']!=_0x119faf['userId']))&&(_0x372c09(_0x577ef8,L(_0x5292e4,_0x436aa3,_0x5c5bf0),L(_0x4bbd19[_0x45903d],_0x436aa3,_0x5c5bf0)),_0x119faf=_0x577ef8||null,_0x5292e4=_0x577ef8?_0x4bbd19[_0x45903d]:null),_0x119faf&&_0x2f5621&&_0x372c09(_0x577ef8,L(_0x5292e4,_0x436aa3,_0x5c5bf0),W(_0x4bbd19[_0x45903d],_0x436aa3,_0x5c5bf0));}function _0x372c09(_0x4d682a,_0x535cad,_0x176476){const _0x906fc8=_0x119faf['userId'],_0x21a6b8='revision:'+_0x4a7d7b+':'+_0x906fc8+':'+_0x1fbd0c++,_0x6b0260=_0x5c5bf0['createRange'](_0x535cad,_0x176476);_0x436aa3['markers']['set'](_0x21a6b8,_0x6b0260),null!==_0x906fc8&&_0x4d22f3['add'](_0x906fc8);}}['_getVidAttributeName'](_0x24a71c){switch(_0x24a71c['type']){case'elementStart':return'vid_start';case'elementEnd':return'vid_end';default:return'vid';}}['_fixOperation'](_0x57f456,_0x3b558f){_0x57f456['baseVersion']=null;for(const _0x392211 in _0x57f456){const _0x1037dc=_0x57f456[_0x392211];if(_0x1037dc instanceof wt){const _0x3bf132=_0x3b558f['get'](_0x1037dc['root']['rootName']);_0x57f456[_0x392211]=this['_fixPosition'](_0x1037dc,_0x3bf132);}if(_0x1037dc instanceof gt){const _0x80352a=_0x3b558f['get'](_0x1037dc['root']['rootName']);_0x57f456[_0x392211]=this['_fixRange'](_0x1037dc,_0x80352a);}'root'===_0x392211&&(_0x57f456['root']=_0x3b558f['get'](_0x57f456['root']['rootName']));}}['_fixRange'](_0x59278b,_0x6e07bb){return this['editor']['model']['createRange'](this['_fixPosition'](_0x59278b['start'],_0x6e07bb),this['_fixPosition'](_0x59278b['end'],_0x6e07bb));}['_fixPosition'](_0x5f1775,_0x182059){return this['editor']['model']['createPositionFromPath'](_0x182059,_0x5f1775['path'],_0x5f1775['stickiness']);}['_handleInsertOperation'](_0x120e5d){const _0x4ff7c6=this['_idsRoots']['get'](_0x120e5d['position']['root']['rootName']),_0x41f30c=this['_fixPosition'](_0x120e5d['position'],_0x4ff7c6),_0x2bf6de=null===_0x120e5d['_authorId']?null:_0x120e5d['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x5cbd9a=_0x41f30c['parent'],_0x4e12dd=this['_revisionId'],_0x3bd3f2=[];for(const _0x1be280 of _0x120e5d['nodes'])if(_0x1be280['is']('element'))_0x3bd3f2['push'](this['_makeIdsRoot'](_0x1be280));else{for(let _0x1a4bde=0x0;_0x1a4bde<_0x1be280['offsetSize'];_0x1a4bde++)_0x3bd3f2['push'](new ft('$text',{'vid':this['_revisionId']++}));}const _0x22a4a1=this['_revisionId'];for(let _0x14dddb=_0x4e12dd;_0x14dddb<_0x22a4a1;_0x14dddb++)this['_touched']['set'](_0x14dddb,{'userId':_0x2bf6de});_0x5cbd9a['_insertChild'](_0x41f30c['offset'],_0x3bd3f2);}['_handleMoveOperation'](_0x216e88){(_0x216e88=this['_cloneOperation'](_0x216e88,this['_idsRoots']))['_execute']();const _0x36098a=null===_0x216e88['_authorId']?null:_0x216e88['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x2a78b3=_0x216e88['getMovedRangeStart'](),_0x165aab=_0x2a78b3['parent'],_0x3d85c9=_0x2a78b3['offset'];!function _0x1e37af(_0x7360c8,_0x56b20b,_0x3b989c,_0x184829){for(let _0x271b94=_0x3b989c;_0x271b94<_0x184829;_0x271b94++){const _0x1b53f1=_0x56b20b['getChild'](_0x271b94);_0x1b53f1['is']('element','$text')?_0x7360c8['set'](_0x1b53f1['getAttribute']('vid'),{'userId':_0x36098a}):(_0x7360c8['set'](_0x1b53f1['getAttribute']('vid_start'),{'userId':_0x36098a}),_0x1e37af(_0x7360c8,_0x1b53f1,0x0,_0x1b53f1['childCount']),_0x7360c8['set'](_0x1b53f1['getAttribute']('vid_end'),{'userId':_0x36098a}));}}(this['_touched'],_0x165aab,_0x3d85c9,_0x3d85c9+_0x216e88['howMany']);}['_handleMergeOperation'](_0x725bce){const _0x5cc53c=null===(_0x725bce=this['_cloneOperation'](_0x725bce,this['_idsRoots']))['_authorId']?null:_0x725bce['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0xda0e53=_0x725bce['targetPosition']['parent'],_0x28f8f9=_0x725bce['sourcePosition']['parent'],_0xa24d49=_0xda0e53['getAttribute']('vid_end'),_0x494e4f=_0x28f8f9['getAttribute']('vid_start');_0xda0e53['_setAttribute']('vid_end',_0x28f8f9['getAttribute']('vid_end')),_0x28f8f9['_setAttribute']('vid_end',_0xa24d49),this['_touched']['set'](_0x494e4f,{'userId':_0x5cc53c}),this['_touched']['set'](_0xa24d49,{'userId':_0x5cc53c}),_0x725bce['_execute']();}['_handleSplitOperation'](_0x3dd8ca){const _0x1a8cad=null===(_0x3dd8ca=this['_cloneOperation'](_0x3dd8ca,this['_idsRoots']))['_authorId']?null:_0x3dd8ca['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x4af634=_0x3dd8ca['graveyardPosition'],_0x4bd24d=_0x3dd8ca['splitPosition']['parent'];_0x3dd8ca['_execute']();const _0x5587e6=_0x4bd24d['getAttribute']('vid_end'),_0x135a8c=_0x3dd8ca['insertionPosition']['nodeAfter'];if(_0x4af634){const _0x3e601c=_0x135a8c['getAttribute']('vid_end'),_0x28db37=_0x4bd24d['getAttribute']('vid_end');_0x4bd24d['_setAttribute']('vid_end',_0x3e601c),_0x135a8c['_setAttribute']('vid_end',_0x28db37),this['_touched']['set'](_0x4bd24d['getAttribute']('vid_end'),{'userId':_0x1a8cad}),this['_touched']['set'](_0x135a8c['getAttribute']('vid_start'),{'userId':_0x1a8cad});}else{const _0x3c5ebd=this['_revisionId']++,_0x535142=this['_revisionId']++;_0x4bd24d['_setAttribute']('vid_end',_0x3c5ebd),_0x135a8c['_setAttribute']('vid_start',_0x535142),_0x135a8c['_setAttribute']('vid_end',_0x5587e6),this['_touched']['set'](_0x3c5ebd,{'userId':_0x1a8cad}),this['_touched']['set'](_0x535142,{'userId':_0x1a8cad});}}['_handleMarkerOperation'](_0x472a03){if(!_0x472a03['affectsData'])return;const _0x20e740=(_0x472a03=this['_cloneOperation'](_0x472a03,this['_diffRoots']))['oldRange']?_0x472a03['oldRange']['root']:null,_0x4c152f=_0x472a03['newRange']?_0x472a03['newRange']['root']:null;_0x20e740&&this['_markers']['delete'](_0x472a03['name']),_0x4c152f&&this['_markers']['set'](_0x472a03['name'],_0x472a03['newRange']['clone']());const _0x516c95=null===_0x472a03['_authorId']?null:_0x472a03['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x23e80e=_0x472a03['name'];if(!this['_touchedMarkers']['has'](_0x23e80e))return void this['_touchedMarkers']['set'](_0x23e80e,{'range':_0x472a03['oldRange'],'userId':_0x516c95});const _0x59cc0c=this['_touchedMarkers']['get'](_0x23e80e),_0x8505a3=_0x59cc0c['range'],_0x21b456=_0x472a03['newRange'];null==_0x8505a3&&null==_0x21b456||_0x8505a3&&_0x21b456&&_0x8505a3['isEqual'](_0x21b456)?this['_touchedMarkers']['delete'](_0x472a03['name']):_0x59cc0c['userId']=_0x516c95;}['_handleRootOperation'](_0x2745cc,_0x281e72){this['_diffRoots']['has'](_0x2745cc['rootName'])?this['_diffRoots']['get'](_0x2745cc['rootName'])['_isAttached']=_0x2745cc['isAdd']:(this['_diffRoots']['set'](_0x2745cc['rootName'],G(_0x2745cc['rootName'],!0x0)),this['_diffRootsAttributes']['set'](_0x2745cc['rootName'],{}),_0x281e72&&this['_idsRoots']['set'](_0x2745cc['rootName'],G(_0x2745cc['rootName'],!0x0)));const _0x1b5c71=null===_0x2745cc['_authorId']?null:_0x2745cc['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x6eeea7=this['_touchedRoots']['get'](_0x2745cc['rootName']);_0x6eeea7&&_0x6eeea7['userId']===_0x1b5c71?this['_touchedRoots']['delete'](_0x2745cc['rootName']):this['_touchedRoots']['set'](_0x2745cc['rootName'],{'userId':_0x1b5c71,'isAttached':_0x2745cc['isAdd']});}['_handleRootAttributeOperation'](_0x3b16c8){const _0x37d9be=this['_diffRootsAttributes']['get'](_0x3b16c8['root']['rootName']);null===_0x3b16c8['newValue']?delete _0x37d9be[_0x3b16c8['key']]:_0x37d9be[_0x3b16c8['key']]=_0x3b16c8['newValue'];}constructor(_0x405c63){this['editor']=_0x405c63,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;}}function q(_0x5737ab){const _0x182ed3=G(_0x5737ab['rootName'],_0x5737ab['isAttached']());for(const _0x579766 of _0x5737ab['getChildren']()){const _0x3e5338=_0x579766['_clone'](!0x0);_0x182ed3['_appendChild'](_0x3e5338);}return _0x182ed3;}function G(_0x5c9977,_0x5aa29f=!0x0){const _0x3d887b=new _t();return _0x3d887b['rootName']=_0x5c9977,_0x3d887b['_isAttached']=_0x5aa29f,_0x3d887b['isAttached']=()=>_0x3d887b['_isAttached'],_0x3d887b;}function L(_0x64124,_0x3d7241,_0x2e6ced){const _0x97f158='elementEnd'==_0x64124['type']?_0x2e6ced['createPositionAt'](_0x64124['item'],'end'):_0x2e6ced['createPositionBefore'](_0x64124['item']);return _0x2e6ced['createPositionFromPath'](_0x3d7241,_0x97f158['path'],_0x97f158['stickiness']);}function W(_0x4785a7,_0x3a551e,_0x1d7d72){const _0x2b801f='elementStart'==_0x4785a7['type']?_0x1d7d72['createPositionAt'](_0x4785a7['item'],0x0):_0x1d7d72['createPositionAfter'](_0x4785a7['item']);return _0x1d7d72['createPositionFromPath'](_0x3a551e,_0x2b801f['path'],_0x2b801f['stickiness']);}class ns extends _0x150ebb{['render'](){super['render'](),_0x5e7b3c({'view':this}),this['focusTracker']['add'](this['revisionNameInputView']['element']),this['keystrokes']['listenTo'](this['element']);const _0x5039b0=_0x4f1144=>_0x4f1144['stopPropagation']();this['keystrokes']['set']('arrowright',_0x5039b0),this['keystrokes']['set']('arrowleft',_0x5039b0),this['keystrokes']['set']('arrowup',_0x5039b0),this['keystrokes']['set']('arrowdown',_0x5039b0);}['focus'](){this['revisionNameInputView']['focus']();}get['revisionName'](){return this['revisionNameInputView']['fieldView']['element']['value']['trim']();}set['revisionName'](_0x312a55){this['revisionNameInputView']['fieldView']['element']['value']=_0x312a55['trim']();}['reset'](){this['revisionNameInputView']['fieldView']['element']['value']='',this['revisionNameInputView']['errorText']=null;}['_createRevisionNameInput'](_0x3a98d4){const _0x526bb4=new mt(this['locale'],_0x2e07e9),_0x1b2e95=_0x526bb4['fieldView'];_0x1b2e95['extendTemplate']({'attributes':{'maxlength':'220'}});let _0x5f4b71=y(this['locale'],'Name\x20of\x20the\x20revision');return!_0x3a98d4&&(_0x5f4b71+='\x20('+y(this['locale'],'optional')+')'),(_0x526bb4['label']=_0x5f4b71,_0x1b2e95['on']('input',()=>{this['revisionNameInputValue']=_0x1b2e95['element']['value']['trim']();}),_0x526bb4);}constructor(_0x5291bc,_0x2b130b){super(_0x5291bc),this['focusTracker']=new _0x360e44(),this['keystrokes']=new _0x2aa5fe(),this['set']('revisionNameInputValue',''),this['revisionNameInputView']=this['_createRevisionNameInput'](_0x2b130b),this['setTemplate']({'tag':'form','attributes':{'class':['ck','ck-revision-history-save-revision-form','ck-responsive-form'],'tabindex':'-1'},'children':[this['revisionNameInputView']]}),ts(this);}}class u extends _0xf14552{static get['pluginName'](){return'RevisionHistoryUI';}static get['requires'](){return[l];}['init'](){const _0x511419=this['editor'],_0x1b467c=_0x511419['plugins']['get']('RevisionTracker');_0x511419['ui']['componentFactory']['add']('revisionHistory',_0x18d243=>{const _0x1d35cb=_0x4b28bd(_0x18d243),_0x1187a5=_0x1d35cb['panelView']['children'],_0x15599e=new te(_0x18d243),_0x3cf5c8=new _0x547d17(_0x18d243),_0x3501d2=new _0x23a7fc(_0x18d243),_0x184028=new _0x547d17(_0x18d243),_0x35a231=new _0x23a7fc(_0x18d243);return _0x1d35cb['bind']('isEnabled')['to'](_0x1b467c,'isReady',_0x1b467c,'isEnabled',_0x511419,'isReadOnly',(_0x210f21,_0x520473,_0x42d38b)=>_0x210f21&&_0x520473&&!_0x42d38b),_0x1d35cb['buttonView']['set']({'icon':_0x460539['history'],'label':y(_0x18d243,'Revision\x20history'),'tooltip':!0x0}),_0x3501d2['set']({'label':y(_0x18d243,'Save\x20current\x20revision'),'withText':!0x0}),_0x3501d2['bind']('isEnabled')['to'](_0x1b467c,'isReady',_0x1b467c,'isEnabled',_0x511419,'isReadOnly',(_0x4ee276,_0xc9e59a,_0x4a99e3)=>_0x4ee276&&_0xc9e59a&&!_0x4a99e3),_0x3501d2['on']('execute',()=>this['_showDialog']()),_0x35a231['set']({'label':y(_0x18d243,'Open\x20revision\x20history'),'withText':!0x0}),_0x35a231['bind']('isEnabled')['to'](_0x1b467c,'isReady',_0x511419,'isReadOnly',(_0x37e063,_0xfd3eff)=>_0x37e063&&!_0xfd3eff),_0x35a231['on']('execute',()=>{_0x511419['config']['get']('revisionHistory')['showRevisionViewerCallback'](),_0x1d35cb['isOpen']=!0x1,_0x511419['editing']['view']['focus']();}),_0x3cf5c8['children']['add'](_0x3501d2),_0x184028['children']['add'](_0x35a231),_0x15599e['items']['addMany']([_0x3cf5c8,_0x184028]),_0x1187a5['add'](_0x15599e),_0x1d35cb;}),_0x511419['ui']['componentFactory']['add']('menuBar:revisionHistory',()=>this['_registerMenuComponent']());}['_registerMenuComponent'](){const _0x15f486=this['editor'],_0x44231f=_0x15f486['locale'],_0x784fe0=new _0x12b3f8(_0x44231f),_0x38749a=new _0x1639df(_0x44231f);_0x784fe0['buttonView']['set']({'icon':_0x460539['history'],'label':y(_0x44231f,'Revision\x20history')});const _0x590563=new _0x2f496a(_0x44231f,_0x784fe0),_0x4a2be5=new _0x3e540f(_0x44231f);_0x4a2be5['set']({'label':y(_0x44231f,'Save\x20current\x20revision')}),_0x4a2be5['delegate']('execute')['to'](_0x784fe0),_0x4a2be5['on']('execute',()=>{this['_showDialog']();}),_0x590563['children']['add'](_0x4a2be5),_0x38749a['items']['add'](_0x590563);const _0x335b0d=new _0x2f496a(_0x44231f,_0x784fe0),_0x513817=new _0x3e540f(_0x44231f);return _0x513817['set']({'label':y(_0x44231f,'Open\x20revision\x20history')}),_0x513817['delegate']('execute')['to'](_0x784fe0),_0x513817['on']('execute',()=>{_0x15f486['config']['get']('revisionHistory')['showRevisionViewerCallback']();}),_0x335b0d['children']['add'](_0x513817),_0x38749a['items']['add'](_0x335b0d),_0x784fe0['panelView']['children']['add'](_0x38749a),_0x784fe0;}['_showDialog'](){const _0xaac640=this['editor'],_0x2ac511=_0xaac640['locale'],t=_0x2ac511['t'],_0xd62428=_0xaac640['plugins']['get']('Dialog'),_0x1f3416=_0xaac640['plugins']['get']('RevisionTracker');function _0x2e8ccb(_0x2d4e2f){_0xaac640['config']['get']('revisionHistory.requireRevisionName')&&''===_0x2d4e2f['revisionName']?_0x2d4e2f['revisionNameInputView']['errorText']=y(_0x2ac511,'The\x20revision\x20name\x20cannot\x20be\x20empty.'):(_0xaac640['plugins']['get'](l)['saveRevision']({'name':_0x2d4e2f['revisionName']}),_0xd62428['hide']());}this['_saveRevisionFormView']||(this['_createSaveRevisionFormView'](),this['_saveRevisionFormView']['on']('submit',()=>_0x2e8ccb(this['_saveRevisionFormView']))),this['_saveRevisionFormView']['reset'](),_0xd62428['show']({'id':'findAndReplace','title':y(_0x2ac511,'Save\x20current\x20revision'),'isModal':!0x0,'content':this['_saveRevisionFormView'],'actionButtons':[{'label':t('Cancel'),'withText':!0x0,'onExecute':()=>_0xd62428['hide']()},{'label':t('Accept'),'class':'ck-button-action','withText':!0x0,'onCreate'(_0x2deee4){_0x2deee4['bind']('isEnabled')['to'](_0x1f3416,'isReady',_0x1f3416,'isEnabled',_0xaac640,'isReadOnly',(_0x3df53d,_0x3e8e82,_0x456f6d)=>_0x3df53d&&_0x3e8e82&&!_0x456f6d);},'onExecute':()=>_0x2e8ccb(this['_saveRevisionFormView'])}]});}['_createSaveRevisionFormView'](){const _0xd2bd68=this['editor'],_0x2c4ee1=_0xd2bd68['locale'];this['_saveRevisionFormView']=new ns(_0x2c4ee1,_0xd2bd68['config']['get']('revisionHistory.requireRevisionName')),this['_saveRevisionFormView']['render']();}}class Z extends _0x150ebb{['focus'](){this['element']['focus']();}constructor(_0x272424,_0x1867d2){super(_0x272424),this['_model']=_0x1867d2,this['changeId']=_0x1867d2['id'];const _0x540732=this['bindTemplate'],_0x10b47f=y(_0x272424,_0x1867d2['data']['isSuggestion']?'Suggested\x20by':'add'==_0x1867d2['type']?'Added\x20by':'Removed\x20by');this['set']('type',_0x1867d2['type']),this['setTemplate']({'tag':'div','attributes':{'class':['ck-annotation','ck-revision-change',_0x540732['to']('type',_0xeaba06=>'ck-revision-change__'+_0xeaba06)],'tabindex':-0x1},'children':[{'tag':'span','children':[{'tag':'span','attributes':{'class':['ck-revision-change__label']},'children':[{'text':_0x10b47f}]},{'text':'\x20'+_0x1867d2['author']['name']}]}]});}}class r extends _0x568170(){['toJSON'](){return{'id':this['id'],'authorId':this['author']['id'],'type':this['type'],'data':this['data'],'createdAt':this['createdAt']};}constructor(_0x3e4256){super(),this['id']=_0x3e4256['id']||_0x522efc(),this['author']=_0x3e4256['author'],this['type']=_0x3e4256['type'],this['data']=_0x3e4256['data']||{},this['rootName']=_0x3e4256['rootName'],this['set']('createdAt',_0x3e4256['createdAt']);}}class f{['_setChanges'](_0x24b677){for(const _0x497935 of _0x24b677)this['changes']['add'](_0x497935);}constructor(_0x296ae3,_0x25712f){this['newRevisionId']=_0x296ae3,this['oldRevisionId']=_0x25712f,this['changes']=new _0x106dd0();}}const tt={'c':_0x352473,'a':_0x12479e,'e':_0x1e1035,'r':_0x4b0c60,'u':_0x469c01};class d extends _0xf14552{static get['pluginName'](){return'RevisionViewer';}static get['requires'](){return[_0x397731,_0x3b4c5d,A];}['init'](){const _0x23bb6b=this['editor'],_0x38c6c=new Rt(_0x23bb6b,{'direction':'backward'}),_0x581cc4=new Rt(_0x23bb6b,{'direction':'forward'});(_0x23bb6b['commands']['add']('showPreviousChange',_0x38c6c),_0x23bb6b['commands']['add']('showNextChange',_0x581cc4),_0x23bb6b['commands']['add']('restoreRevision',new bt(_0x23bb6b)),this['on']('change:numberOfChanges',()=>{_0x38c6c['refresh'](),_0x581cc4['refresh']();}),this['_setConversion'](),this['_initInteractions'](),_0x23bb6b['enableReadOnlyMode']('revision-viewer'),_0x23bb6b['plugins']['has']('WidgetToolbarRepository'))&&_0x23bb6b['plugins']['get']('WidgetToolbarRepository')['forceDisabled']('revision-viewer');}async['getRevisionData'](_0x5cf34f){await this['loadRevisionData'](_0x5cf34f);const _0xa9771a={};for(const _0x52e411 in _0x5cf34f['diffData']){if(_0x5cf34f['diffData'][_0x52e411]['attachChange']&&!_0x5cf34f['diffData'][_0x52e411]['attachChange']['isAttached'])continue;const _0x51384d=this['_removeRevisionMarkers'](JSON['parse'](_0x5cf34f['diffData'][_0x52e411]['insertions'])),_0x41a551=this['editor']['editing']['view']['document'],_0xd7cf34=new _0x24e3ef(_0x41a551,_0x51384d['map'](_0x28e8c3=>this['_getViewObj'](_0x28e8c3)));this['editor']['data']['processor']['useFillerType']('marked'),_0xa9771a[_0x52e411]=this['editor']['data']['processor']['toData'](_0xd7cf34),this['editor']['data']['processor']['useFillerType']('default');}return _0xa9771a;}async['getRevisionRootsAttributes'](_0x316f6d){await this['loadRevisionData'](_0x316f6d);const _0x5eb484={};for(const _0x51938c in _0x316f6d['diffData'])_0x316f6d['diffData'][_0x51938c]['attachChange']&&!_0x316f6d['diffData'][_0x51938c]['attachChange']['isAttached']||(_0x5eb484[_0x51938c]=_0x316f6d['diffData'][_0x51938c]['attributesAfter']||{});return _0x5eb484;}['_removeRevisionMarkers'](_0x281ab2){return(_0x281ab2=_0x281ab2['filter'](_0x1ffe80=>!_0x1ffe80['name']||'revision-start'!==_0x1ffe80['name']&&'revision-end'!==_0x1ffe80['name']))['forEach'](_0x5ef2bc=>{'string'!=typeof _0x5ef2bc&&(_0x5ef2bc['children']=this['_removeRevisionMarkers'](_0x5ef2bc['children']),_0x5ef2bc['attributes']=_0x5ef2bc['attributes']['filter'](_0x423a4f=>!_0x423a4f[0x0]['startsWith']('data-revision-')));}),_0x281ab2;}async['compare'](_0x44aabb,_0x2e3cf1,_0x6d9be5=!0x1){if(!this['isEnabled'])return;const _0x10d5b8=this['diff'],_0x3630c5=this['repository'],_0x54fb98='string'==typeof _0x44aabb?_0x3630c5['getRevision'](_0x44aabb):_0x44aabb,_0x4b31be='string'==typeof _0x2e3cf1?_0x3630c5['getRevision'](_0x2e3cf1):_0x2e3cf1,_0x1364d8=_0x54fb98['id'],_0x5c40b1=_0x4b31be?_0x4b31be['id']:null;if(!_0x6d9be5&&this['diff']&&this['diff']['newRevisionId']===_0x1364d8&&this['diff']['oldRevisionId']===_0x5c40b1)return Promise['resolve']();this['isReady']=!0x1,this['activeView']=null,this['activeChange']=null,this['diff']=new f(_0x1364d8,_0x5c40b1);const _0x460018=this['_getRevisionsRange'](_0x54fb98,_0x4b31be,!0x0)['map'](_0x5b318a=>this['loadRevisionData'](_0x5b318a));return _0x460018['push'](new Promise(_0x28b2f8=>{setTimeout(_0x28b2f8,0x14);})),Promise['all'](_0x460018)['then'](()=>{if(!this['isEnabled'])return;this['_cleanUp']();const _0x297ae3=this['_getDiff'](_0x1364d8,_0x5c40b1);for(const _0xa4d2a8 of _0x297ae3['changes'])this['_changeIdToChange']['set'](_0xa4d2a8['id'],_0xa4d2a8);this['editor']['model']['enqueueChange']({'isUndoable':!0x1},_0x3ac75b=>{for(const _0x392b84 of this['editor']['model']['document']['getRootNames']())_0x3ac75b['detachRoot'](_0x392b84);for(const _0x5d8309 of Object['keys'](_0x297ae3['model'])){const _0x21e15f=_0x3ac75b['addRoot'](_0x5d8309);for(const _0x114022 of Object['keys'](_0x297ae3['attributes'][_0x5d8309]))_0x3ac75b['setAttribute'](_0x114022,_0x297ae3['attributes'][_0x5d8309][_0x114022],_0x21e15f);_0x3ac75b['insert'](_0x297ae3['model'][_0x5d8309],_0x21e15f,0x0);}}),this['diff']['_setChanges'](this['_sortAndFilterDiffChanges'](_0x297ae3['changes'])),this['isReady']=!0x0;})['catch'](_0x4066df=>{console['error'](_0x4066df),this['_cleanUp'](),_0x10d5b8&&(this['diff']=_0x10d5b8),this['isReady']=!0x0;});}['addRevisionData'](_0x582903,_0xdfaa9c){const _0x173942=this['repository']['createRevision'](_0x582903);return _0x173942['on']('_update',(_0x595aea,_0x194a5e,_0x252997)=>_0xdfaa9c(_0x194a5e,_0x252997,_0x173942)),this['repository']['addRevision'](_0x173942),_0x173942;}['loadRevisionData'](_0x4cd6c4){if(!_0x4cd6c4||_0x4cd6c4['diffData'])return Promise['resolve']();{const _0x3dae54=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0x3dae54,'revisionId':_0x4cd6c4['id']})['then'](_0x412814=>{_0x4cd6c4['_update']({'diffData':_0x412814['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},_0x150bca=>{for(const _0x65ad45 of this['editor']['model']['document']['getRootNames']())_0x150bca['detachRoot'](_0x65ad45);});}['_sortAndFilterDiffChanges'](_0x287e44){const _0x60f7f5=[],_0x5efa31=new Map();for(const _0x2e3112 of this['editor']['model']['document']['getRootNames']()){const _0x37ec3a=this['editor']['editing']['view']['getDomRoot'](_0x2e3112);if(!_0x37ec3a)continue;const _0x53286c=_0x37ec3a['getClientRects']()['item'](0x0);_0x53286c&&(_0x60f7f5['push'](_0x2e3112),_0x5efa31['set'](_0x2e3112,_0x53286c));}return _0x60f7f5['sort']((_0x143ccd,_0xad7733)=>{const _0x495879=_0x5efa31['get'](_0x143ccd),_0x32daea=_0x5efa31['get'](_0xad7733);return _0x495879['y']-_0x32daea['y']||_0x495879['x']-_0x32daea['x'];}),(_0x287e44=_0x287e44['filter'](_0x489843=>_0x60f7f5['includes'](_0x489843['rootName'])))['sort']((_0x5e45ee,_0x185003)=>_0x60f7f5['indexOf'](_0x5e45ee['rootName'])-_0x60f7f5['indexOf'](_0x185003['rootName'])),_0x287e44;}['_makeTape'](_0x5011cc){const _0xab8128=Array['from'](_0x5011cc['markers'])['filter'](([_0x1e6e73,_0x3c1747])=>_0x1e6e73['startsWith']('revision:')&&!_0x3c1747['isCollapsed']),_0x189349=Array['from'](this['editor']['model']['createRangeIn'](_0x5011cc)['getWalker']({'singleCharacters':!0x0}));if(0x0!=_0xab8128['length'])for(const _0x6028a7 of _0x189349){const [_0x12a8a3,_0x196133]=_0xab8128[0x0],[,_0x5a24d1,_0x5c4e04]=_0x12a8a3['split'](':');if(_0x196133['end']['isEqual'](_0x6028a7['nextPosition'])&&_0xab8128['shift'](),(_0x6028a7['previousPosition']['isEqual'](_0x196133['start'])||_0x6028a7['previousPosition']['isAfter'](_0x196133['start']))&&('insertion'==_0x5a24d1?_0x6028a7['isAdded']={'userId':_0x5c4e04}:'deletion'==_0x5a24d1&&(_0x6028a7['isRemoved']={'userId':_0x5c4e04})),0x0==_0xab8128['length'])break;}return _0x189349;}['_refreshStartEndIndex'](_0x4ae474){const _0x3756fb=new Map();for(let _0x48546a=0x0;_0x48546a<_0x4ae474['length'];_0x48546a++)'text'===_0x4ae474[_0x48546a]['type']?(_0x4ae474[_0x48546a]['item']['startIndex']=_0x48546a,_0x4ae474[_0x48546a]['item']['endIndex']=_0x48546a):('elementStart'===_0x4ae474[_0x48546a]['type']?_0x4ae474[_0x48546a]['item']['startIndex']=_0x48546a:'elementEnd'===_0x4ae474[_0x48546a]['type']&&(_0x4ae474[_0x48546a]['item']['endIndex']=_0x48546a),_0x3756fb['set'](_0x4ae474[_0x48546a]['id'],_0x48546a));for(const _0x2885af of _0x3756fb['values']())'elementStart'===_0x4ae474[_0x2885af]['type']?_0x4ae474[_0x2885af]['item']['endIndex']=_0x3756fb['get'](_0x4ae474[_0x2885af]['pairId']):'elementEnd'===_0x4ae474[_0x2885af]['type']&&(_0x4ae474[_0x2885af]['item']['startIndex']=_0x3756fb['get'](_0x4ae474[_0x2885af]['pairId']));}['_processTape'](_0x3ff829){for(let _0x5bfdeb=0x0;_0x5bfdeb<_0x3ff829['length'];_0x5bfdeb++){if('elementStart'===_0x3ff829[_0x5bfdeb]['type'])_0x3ff829[_0x5bfdeb]['item']['startIndex']=_0x5bfdeb;else{if('elementEnd'===_0x3ff829[_0x5bfdeb]['type']){_0x3ff829[_0x5bfdeb]['item']['endIndex']=_0x5bfdeb;const _0x14e55c=_0x3ff829[_0x5bfdeb]['item']['startIndex'];_0x3ff829[_0x14e55c]['pairId']=_0x3ff829[_0x5bfdeb]['id'],_0x3ff829[_0x5bfdeb]['pairId']=_0x3ff829[_0x14e55c]['id'];}else _0x3ff829[_0x5bfdeb]['item']['startIndex']=_0x5bfdeb,_0x3ff829[_0x5bfdeb]['item']['endIndex']=_0x5bfdeb,_0x3ff829[_0x5bfdeb]['pairId']=null;}_0x3ff829[_0x5bfdeb]['markersStart']||(_0x3ff829[_0x5bfdeb]['markersStart']=[],_0x3ff829[_0x5bfdeb]['markersEnd']=[]);}}['_markInsertions'](_0x5788f5,_0x42b05e){const _0x2b6417=_0x5788f5['filter'](_0x2f239a=>!_0x2f239a['isAdded']);for(let _0x5e28e9=0x0;_0x5e28e9<_0x42b05e['length'];_0x5e28e9++)_0x42b05e[_0x5e28e9]['isAdded']&&(_0x2b6417[_0x5e28e9]['isAdded']=_0x42b05e[_0x5e28e9]['isAdded']);}['_makeModelFromViewString'](_0x9337d3){const _0xb1fee1=JSON['parse'](_0x9337d3),_0x1cd5b9=this['editor']['editing']['view']['document'],_0x1dd5fb=new _0x24e3ef(_0x1cd5b9,_0xb1fee1['map'](_0x266abf=>this['_getViewObj'](_0x266abf)));return this['editor']['data']['toModel'](_0x1dd5fb);}['_getViewObj'](_0x4bc76f){const _0x5a1b54=this['editor']['editing']['view']['document'];if('string'==typeof _0x4bc76f)return new _0x389e18(_0x5a1b54,_0x4bc76f);{const _0x2fada3=_0x4bc76f['children']['map'](_0x7eb174=>this['_getViewObj'](_0x7eb174));return new(tt[_0x4bc76f['type']]||_0x324867)(_0x5a1b54,_0x4bc76f['name'],_0x4bc76f['attributes'],_0x2fada3);}}['_getDiff'](_0x532e9e,_0x4c91e1=null){const _0x2cab4d=this['repository']['getRevision'](_0x532e9e),_0x2bd3f4=_0x4c91e1?this['repository']['getRevision'](_0x4c91e1):null,_0x5174b2=this['_getRevisionsRange'](_0x2cab4d,_0x2bd3f4),_0x346e1e=_0x5174b2[_0x5174b2['length']-0x1],_0x1f1239=new Map(),_0x5b6990={'model':{},'attributes':{},'changes':[]},_0x2ef59b=new Set(),_0x32ce7d=new Map();for(let _0x3d2233=_0x5174b2['length']-0x1;_0x3d2233>=0x0;_0x3d2233--){const _0x3ca303=_0x5174b2[_0x3d2233];for(const _0x4abe7b of Object['keys'](_0x3ca303['diffData']))if(_0x3ca303['diffData'][_0x4abe7b]['attachChange']){const _0x4eb560=_0x3ca303['diffData'][_0x4abe7b]['attachChange'];_0x4eb560['isAttached']?(_0x2ef59b['add'](_0x4abe7b),_0x32ce7d['has'](_0x4abe7b)&&_0x32ce7d['get'](_0x4abe7b)['userId']==_0x4eb560['userId']?_0x32ce7d['delete'](_0x4abe7b):_0x32ce7d['set'](_0x4abe7b,_0x4eb560)):_0x32ce7d['has'](_0x4abe7b)?(_0x2ef59b['delete'](_0x4abe7b),_0x32ce7d['delete'](_0x4abe7b)):(_0x2ef59b['add'](_0x4abe7b),_0x32ce7d['set'](_0x4abe7b,_0x4eb560));}else _0x2ef59b['add'](_0x4abe7b);}for(const _0x4a581f of _0x2ef59b){const _0x41dbb2=_0x32ce7d['has'](_0x4a581f)&&!_0x32ce7d['get'](_0x4a581f)['isAttached'];let _0x53512b=_0x41dbb2?_0x5174b2['length']-0x1:0x0;const _0x48b624=_0x41dbb2?-0x1:0x1;for(;_0x5174b2[_0x53512b];){const _0x4347e9=_0x5174b2[_0x53512b];if(_0x4347e9['diffData'][_0x4a581f]){const _0x1b24f7=_0x41dbb2?_0x4347e9['diffData'][_0x4a581f]['attributesBefore']:_0x4347e9['diffData'][_0x4a581f]['attributesAfter'];_0x5b6990['attributes'][_0x4a581f]=_0x1b24f7?_0x50c138(_0x1b24f7):{};break;}_0x53512b+=_0x48b624;}}for(const _0x424fa1 of _0x5174b2){_0x424fa1['model']={};for(const _0x432148 of _0x424fa1['authors'])_0x1f1239['set'](_0x432148['id'],_0x432148);for(const _0x4b4fa7 of _0x2ef59b){const _0x5e75c7=_0x424fa1['diffData'][_0x4b4fa7]?_0x424fa1['diffData'][_0x4b4fa7]['insertions']:'[]',_0x4076b8=_0x424fa1['diffData'][_0x4b4fa7]?_0x424fa1['diffData'][_0x4b4fa7]['deletions']:'[]';_0x424fa1['model'][_0x4b4fa7]={'insertions':this['_makeModelFromViewString'](_0x5e75c7),'deletions':this['_makeModelFromViewString'](_0x4076b8)};}}for(const _0x45a56a of _0x2ef59b){let _0x4ca493=null,_0x53b01e=0x0;const _0x10f21a=new Map(Array['from'](_0x2cab4d['model'][_0x45a56a]['insertions']['markers'])['filter'](([_0x3cdaaf])=>!_0x3cdaaf['startsWith']('revision:')));let _0x37d70b=0x0;for(const _0x356677 of _0x5174b2){const _0x59485c=this['_makeTape'](_0x356677['model'][_0x45a56a]['insertions']);_0x356677==_0x2cab4d?(_0x4ca493=_0x59485c,_0x53b01e=_0x4ca493['length'],_0x4ca493['forEach'](_0x5d3080=>{_0x5d3080['id']=_0x37d70b++;}),this['_processTape'](_0x4ca493)):this['_markInsertions'](_0x4ca493,_0x59485c);const _0x52c9af=_0x4ca493['filter'](_0x5c8990=>!_0x5c8990['isAdded'])['map'](_0x521b62=>_0x521b62['id']);let _0x359487=0x0;const _0x4ca0b5=this['_makeTape'](_0x356677['model'][_0x45a56a]['deletions']);_0x4ca0b5['forEach'](_0x2d1a55=>{_0x2d1a55['isRemoved']?_0x2d1a55['id']=_0x53b01e++:_0x2d1a55['id']=_0x52c9af[_0x359487++];}),this['_processTape'](_0x4ca0b5),this['_setDistance'](_0x4ca493,'isAdded'),this['_setDistance'](_0x4ca0b5,'isRemoved'),_0x356677==_0x2cab4d&&this['_markMarkers'](_0x4ca493,_0x10f21a),_0x4ca493=this['_joinTapes'](_0x4ca493,_0x4ca0b5),this['_refreshStartEndIndex'](_0x4ca493),this['_setDistance'](_0x4ca493,'isRemoved');}_0x4ca493=_0x4ca493['filter'](_0x1e339a=>!(_0x1e339a['isAdded']&&_0x1e339a['isRemoved']));const _0x42f2f0=new Map(_0x346e1e['model'][_0x45a56a]['deletions']['markers']),_0x36bbab=new Set(_0x10f21a['keys']());for(const _0xb063cf of _0x42f2f0['keys']())_0x36bbab['delete'](_0xb063cf);this['_markSuggestions'](_0x4ca493,_0x36bbab),this['_fixObsoleteTags'](_0x4ca493),_0x4ca493=this['_removeMissingPairs'](_0x4ca493),_0x4ca493=this['_markMismatchedRemovedTags'](_0x4ca493),_0x4ca493=this['_removeUnsupportedChanges'](_0x4ca493);const {root:_0x5e42ba,changes:_0x586a39}=this['_makeModelFromTape'](_0x4ca493,_0x1f1239,_0x45a56a);_0x5b6990['model'][_0x45a56a]=_0x5e42ba;const _0x2cb7bd=_0x32ce7d['get'](_0x45a56a);if(_0x2cb7bd){const _0x4f8eac=_0x1f1239['get'](_0x2cb7bd['userId']),_0x49ea89=new r({'author':_0x4f8eac,'type':_0x2cb7bd['isAttached']?'add':'remove','data':{'isOnRoot':!0x0},'createdAt':new Date(),'rootName':_0x45a56a});_0x586a39['unshift'](_0x49ea89),_0x5b6990['attributes'][_0x45a56a]['revisionHistoryAttachChange']=_0x49ea89['id'];}_0x5b6990['changes']=_0x5b6990['changes']['concat'](_0x586a39);}return _0x5b6990;}['_markMarkers'](_0x20e67a,_0x2b154f){for(let _0x17106d=0x0;_0x17106d<_0x20e67a['length'];_0x17106d++)for(const [_0x451faa,_0x1dddfc]of _0x2b154f)_0x1dddfc['start']['isEqual'](_0x20e67a[_0x17106d]['previousPosition'])&&_0x20e67a[_0x17106d]['markersStart']['push'](_0x451faa),_0x1dddfc['end']['isEqual'](_0x20e67a[_0x17106d]['nextPosition'])&&_0x20e67a[_0x17106d]['markersEnd']['push'](_0x451faa);}['_joinTapes'](_0x3ef6d9,_0x35f517){let _0x5ed3c0=[],_0x515e39=0x0,_0x45bc62=0x0;for(;_0x515e39<_0x3ef6d9['length']||_0x45bc62<_0x35f517['length'];){const _0x2863cc=_0x3ef6d9[_0x515e39]||{},_0x3da65f=_0x35f517[_0x45bc62]||{};if(_0x2863cc['id']==_0x3da65f['id'])_0x515e39++,_0x45bc62++,_0x5ed3c0['push'](_0x2863cc);else{if(_0x3da65f['isRemoved']&&_0x2863cc['isAdded']){const {commonTape:_0x3cbb11,iEnd:_0x58bb06,jEnd:_0x2ecadd}=this['_threeWayMerge'](_0x3ef6d9,_0x515e39,_0x35f517,_0x45bc62);_0x5ed3c0=_0x5ed3c0['concat'](_0x3cbb11),_0x515e39=_0x58bb06,_0x45bc62=_0x2ecadd;}else _0x3da65f['isRemoved']?(_0x45bc62++,_0x5ed3c0['push'](_0x3da65f)):(_0x515e39++,_0x5ed3c0['push'](_0x2863cc));}}return _0x5ed3c0;}['_markSuggestions'](_0x687c4a,_0x2419b4){const _0x1df95a=[];for(let _0x14b50f=0x0;_0x14b50f<_0x687c4a['length'];_0x14b50f++){for(let _0xdc05e3=0x0;_0xdc05e3<_0x687c4a[_0x14b50f]['markersStart']['length'];_0xdc05e3++){const _0x4c00c2=_0x687c4a[_0x14b50f]['markersStart'][_0xdc05e3];if(!_0x2419b4['has'](_0x4c00c2))continue;const {group:_0x2d8a61,type:_0xbb08fb,authorId:_0x663787}=_0x1d97b9(_0x4c00c2);'revision-suggestion'!=_0x2d8a61||'insertion'!=_0xbb08fb&&'deletion'!=_0xbb08fb||(_0x1df95a['unshift']({'type':_0xbb08fb,'name':_0x4c00c2,'userId':_0x663787}),_0x687c4a[_0x14b50f]['markersStart']['splice'](_0xdc05e3,0x1),_0xdc05e3--);}_0x4867b8(_0x687c4a[_0x14b50f]);for(let _0x3c8ac3=0x0;_0x3c8ac3<_0x687c4a[_0x14b50f]['markersEnd']['length'];_0x3c8ac3++){const _0x439d0c=_0x687c4a[_0x14b50f]['markersEnd'][_0x3c8ac3];if(!_0x2419b4['has'](_0x439d0c))continue;const {group:_0x43b29c,type:_0x57fe61}=_0x1d97b9(_0x439d0c);if('revision-suggestion'!=_0x43b29c||'insertion'!=_0x57fe61&&'deletion'!=_0x57fe61)continue;_0x687c4a[_0x14b50f]['markersEnd']['splice'](_0x3c8ac3,0x1),_0x3c8ac3--;const _0x7aecff=_0x1df95a['findIndex'](_0x5aacd2=>_0x5aacd2['name']==_0x439d0c);_0x7aecff>-0x1&&_0x1df95a['splice'](_0x7aecff,0x1);}}function _0x1d97b9(_0x1040f9){const _0x34b0f1=_0x1040f9['split'](':');return{'group':_0x34b0f1[0x0],'type':_0x34b0f1[0x1],'subType':_0x34b0f1['length']>=0x5?_0x34b0f1[0x2]:null,'id':_0x34b0f1['length']<0x5?_0x34b0f1[0x2]:_0x34b0f1[0x3],'authorId':_0x34b0f1['length']<0x5?_0x34b0f1[0x3]:_0x34b0f1[0x4],'markerCount':0x6==_0x34b0f1['length']?_0x34b0f1[0x5]:null};}function _0x4867b8(_0x130287){for(let _0x41b5d5=0x0;_0x41b5d5<_0x1df95a['length'];_0x41b5d5++){if(_0x130287['isAdded']&&'insertion'==_0x1df95a[_0x41b5d5]['type'])return _0x130287['isAddSuggestion']=_0x1df95a[_0x41b5d5],void delete _0x130287['isAdded'];if(!_0x130287['isAdded']&&!_0x130287['isRemoved']&&'deletion'==_0x1df95a[_0x41b5d5]['type'])return void(_0x130287['isRemoveSuggestion']=_0x1df95a[_0x41b5d5]);}}}['_setDistance'](_0x471dee,_0x5da4ab){let _0xa653f3=0x0,_0x3b4348=!0x1;const _0x3b28ec=new Map();for(const _0x1109b5 of _0x471dee)_0x1109b5[_0x5da4ab]?_0x3b4348&&(_0xa653f3++,_0x3b4348=!0x1):(_0xa653f3++,_0x3b4348=!0x0),_0x3b28ec['set'](_0x1109b5['id'],_0xa653f3);for(let _0x266da9=0x0;_0x266da9<_0x471dee['length'];_0x266da9++){if('isRemoved'==_0x5da4ab&&_0x471dee[_0x266da9]['isAdded']||'isAdded'==_0x5da4ab&&_0x471dee[_0x266da9]['isRemoved'])continue;if('text'==_0x471dee[_0x266da9]['type']){_0x471dee[_0x266da9]['distance']=0x0;continue;}const _0x234602=_0x3b28ec['get'](_0x471dee[_0x266da9]['pairId']),_0x256f70=_0x3b28ec['get'](_0x471dee[_0x266da9]['id']);_0x471dee[_0x266da9]['distance']=_0x234602-_0x256f70;}}['_getRevisionsRange'](_0x267eed,_0x4b07c7,_0x897c17=!0x1){const _0x2c48b4=[];let _0x299734=this['repository']['getIndex'](_0x267eed),_0x296e27=this['repository']['getIndex'](_0x4b07c7);for(-0x1==_0x296e27&&(_0x296e27=this['repository']['_revisions']['length'],_0x897c17=!0x1);_0x299734<_0x296e27;)_0x2c48b4['push'](this['repository']['getRevision'](_0x299734)),_0x299734++;return _0x897c17&&_0x2c48b4['push'](this['repository']['getRevision'](_0x299734)),_0x2c48b4;}['_threeWayMerge'](_0x1b7f36,_0x35d3aa,_0x2a6f6c,_0x43bc65){const _0x3d602a=this['editor']['model']['schema'];let _0x3a3dd2=_0x35d3aa;for(;_0x1b7f36[_0x3a3dd2]&&_0x1b7f36[_0x3a3dd2]['isAdded'];)_0x3a3dd2++;let _0x572d7e=_0x43bc65;for(;_0x2a6f6c[_0x572d7e]&&_0x2a6f6c[_0x572d7e]['isRemoved'];)_0x572d7e++;_0x3d0efb(_0x1b7f36,_0x35d3aa,_0x3a3dd2),_0x3d0efb(_0x2a6f6c,_0x43bc65,_0x572d7e);const _0x18c250=_0x2a6f6c['slice'](_0x43bc65,_0x572d7e)['concat'](_0x1b7f36['slice'](_0x35d3aa,_0x3a3dd2));return _0x18c250['sort']((_0x21b404,_0x4a56a2)=>_0x21b404['side']!=_0x4a56a2['side']?_0x21b404['side']-_0x4a56a2['side']:_0x21b404['level']!=_0x4a56a2['level']?_0x21b404['level']-_0x4a56a2['level']:_0x21b404['distance']!=_0x4a56a2['distance']?_0x4a56a2['distance']-_0x21b404['distance']:!!_0x21b404['isAdded']!=!!_0x4a56a2['isAdded']?-0x1==_0x21b404['side']||0x0==_0x21b404['side']?_0x21b404['isAdded']?-0x1:0x1:_0x21b404['isAdded']?0x1:-0x1:_0x21b404['index']-_0x4a56a2['index']),{'commonTape':_0x18c250,'iEnd':_0x3a3dd2,'jEnd':_0x572d7e};function _0x3d0efb(_0x311293,_0x50ec22,_0xf265a6){let _0x484385=-0x1,_0x1f1697=Number['POSITIVE_INFINITY'],_0x135b95=!0x0;for(let _0x5bfb65=_0x50ec22;_0x5bfb65<_0xf265a6;_0x5bfb65++)if(_0x3d602a['isInline'](_0x311293[_0x5bfb65]['item'])||(_0x135b95=!0x1),_0x311293[_0x5bfb65]['item']['startIndex']<_0x50ec22&&(_0x484385=_0x5bfb65),_0x311293[_0x5bfb65]['item']['endIndex']>=_0xf265a6){_0x1f1697=_0x5bfb65;break;}_0x135b95&&(_0x484385=_0xf265a6-0x1);for(let _0x3e7a56=_0x50ec22;_0x3e7a56<_0xf265a6;_0x3e7a56++)_0x311293[_0x3e7a56]['side']=_0x3e7a56<=_0x484385?-0x1:_0x3e7a56<_0x1f1697?0x0:0x1,_0x311293[_0x3e7a56]['index']=_0x3e7a56;let _0x5bb896=0x0;for(let _0x564923=_0x50ec22;_0x564923<=_0x484385;_0x564923++)0x0==_0x311293[_0x564923]['distance']?_0x311293[_0x564923]['level']=_0x5bb896:(_0x5bb896++,_0x311293[_0x564923]['level']=_0x5bb896,_0x5bb896++);for(let _0x1d507c=_0x50ec22;_0x1d507c<_0xf265a6;_0x1d507c++)0x0==_0x311293[_0x1d507c]['side']&&(_0x311293[_0x1d507c]['level']=_0x5bb896);_0x5bb896=0x0;for(let _0x3e8420=_0xf265a6-0x1;_0x3e8420>=_0x1f1697;_0x3e8420--)0x0==_0x311293[_0x3e8420]['distance']?_0x311293[_0x3e8420]['level']=_0x5bb896:(_0x5bb896--,_0x311293[_0x3e8420]['level']=_0x5bb896,_0x5bb896--);}}['_fixObsoleteTags'](_0x808dce){const _0x41c529=new Map(),_0x4f18b6=this['editor']['model']['schema'];for(let _0x5b10d6=0x1;_0x5b10d6<_0x808dce['length'];_0x5b10d6++){let _0x280c38,_0x186fb2,_0x4c4088;const _0x213c86=_0x808dce[_0x5b10d6],_0x5617e2=_0x808dce[_0x5b10d6-0x1];if('text'==_0x213c86['type'])continue;if(_0x213c86['type']!=_0x5617e2['type'])continue;if(!_0x4f18b6['isBlock'](_0x5617e2['item'])||_0x4f18b6['isLimit'](_0x5617e2['item']))continue;if(!_0x4f18b6['isBlock'](_0x213c86['item'])||_0x4f18b6['isLimit'](_0x213c86['item']))continue;if((_0x808dce[_0x5b10d6]['isAdded']||_0x808dce[_0x5b10d6]['isAddSuggestion'])&&_0x808dce[_0x5b10d6-0x1]['isRemoved'])_0x280c38=_0x808dce[_0x5b10d6],_0x186fb2=_0x808dce[_0x5b10d6-0x1],_0x4c4088=_0x5b10d6-0x1;else{if(!_0x808dce[_0x5b10d6]['isRemoved']||!_0x808dce[_0x5b10d6-0x1]['isAdded']&&!_0x808dce[_0x5b10d6-0x1]['isAddSuggestion'])continue;_0x280c38=_0x808dce[_0x5b10d6-0x1],_0x186fb2=_0x808dce[_0x5b10d6],_0x4c4088=_0x5b10d6;}const _0x1d535e=_0x280c38['level']==_0x186fb2['level'],_0x368bcc=Math['abs'](_0x280c38['level'])<Math['abs'](_0x186fb2['level'])&&0x0==_0x186fb2['distance'];(_0x1d535e||_0x368bcc)&&(_0x41c529['set'](_0x186fb2['id'],_0x280c38['id']),_0x808dce['splice'](_0x4c4088,0x1),_0x5b10d6--,_0x280c38['isAdded']=!0x1);}for(let _0x196922=0x0;_0x196922<_0x808dce['length'];_0x196922++)_0x41c529['has'](_0x808dce[_0x196922]['pairId'])&&(_0x808dce[_0x196922]['pairId']=_0x41c529['get'](_0x808dce[_0x196922]['pairId']));}['_removeMissingPairs'](_0x607d20){const _0x78c397=new Set(_0x607d20['map'](_0x2a2bf1=>_0x2a2bf1['id']));for(let _0x2be4da=0x0;_0x2be4da<_0x607d20['length'];_0x2be4da++)_0x78c397['has'](_0x607d20[_0x2be4da]['pairId'])||0x0==_0x607d20[_0x2be4da]['distance']||(_0x607d20[_0x2be4da]['isIncorrect']=!0x0);return _0x607d20['filter'](_0x2009eb=>!_0x2009eb['isIncorrect']);}['_markMismatchedRemovedTags'](_0x148f3b){const _0x5a059a=new Set();for(let _0x59cc34=0x0;_0x59cc34<_0x148f3b['length'];_0x59cc34++){if(_0x5a059a['has'](_0x148f3b[_0x59cc34]['id'])&&_0x148f3b[_0x59cc34]['isRemoved']&&(_0x148f3b[_0x59cc34]['isIncorrect']=!0x0),_0x148f3b[_0x59cc34]['isIncorrect'])continue;if(0x0==_0x148f3b[_0x59cc34]['distance'])continue;if('elementStart'!=_0x148f3b[_0x59cc34]['type'])continue;if(null==_0x148f3b[_0x59cc34]['pairId'])continue;let _0x46d8e4=_0x59cc34+0x1,_0x1a6342=0x0;for(;_0x148f3b[_0x46d8e4]['id']!=_0x148f3b[_0x59cc34]['pairId'];)'elementStart'==_0x148f3b[_0x46d8e4]['type']?_0x1a6342++:'elementEnd'==_0x148f3b[_0x46d8e4]['type']&&_0x1a6342--,_0x46d8e4++;if(0x0!=_0x1a6342){if(_0x148f3b[_0x59cc34]['isRemoved'])_0x148f3b[_0x59cc34]['isIncorrect']=!0x0;else{for(;_0x46d8e4!=_0x59cc34;)_0x148f3b[_0x46d8e4]['isRemoved']&&0x0!=_0x148f3b[_0x46d8e4]['distance']&&(_0x148f3b[_0x46d8e4]['isIncorrect']=!0x0,_0x5a059a['add'](_0x148f3b[_0x46d8e4]['pairId'])),_0x46d8e4--;}}}return _0x148f3b['filter'](_0x38eafc=>!_0x38eafc['isIncorrect']);}['_removeUnsupportedChanges'](_0x4b600d){const _0x40f7ec=this['editor']['model']['schema'];for(let _0x2776d5=0x0;_0x2776d5<_0x4b600d['length'];_0x2776d5++){if(!(_0x4b600d[_0x2776d5]['isAdded']||_0x4b600d[_0x2776d5]['isAddSuggestion']||_0x4b600d[_0x2776d5]['isRemoved']||_0x4b600d[_0x2776d5]['isRemoveSuggestion']))continue;if(0x0==_0x4b600d[_0x2776d5]['distance'])continue;const _0x53647b=_0x4b600d[_0x2776d5]['item'];_0x40f7ec['isBlock'](_0x53647b)||_0x40f7ec['isLimit'](_0x53647b)||(_0x4b600d[_0x2776d5]['isAdded']&&delete _0x4b600d[_0x2776d5]['isAdded'],_0x4b600d[_0x2776d5]['isAddSuggestion']&&delete _0x4b600d[_0x2776d5]['isAddSuggestion'],_0x4b600d[_0x2776d5]['isRemoveSuggestion']&&delete _0x4b600d[_0x2776d5]['isRemoveSuggestion'],_0x4b600d[_0x2776d5]['isRemoved']&&(_0x4b600d[_0x2776d5]['isIncorrect']=!0x0));}return _0x4b600d['filter'](_0x35dfbf=>!_0x35dfbf['isIncorrect']);}['_makeModelFromTape'](_0x1a2413,_0x22f941,_0x19a736){const _0x433285=new _t(),_0x221215=[],_0x25adf6=new Map(),_0x4aa898=this['editor']['model'],_0x1b9935=_0x4aa898['schema'],_0x1264dd=[_0x433285],_0x4b129a={},_0x587ac8={'isAdded':[],'isRemoved':[],'isAddSuggestion':[],'isRemoveSuggestion':[]};let _0x597e7b=null;const _0x19f0ff=[0x0];for(let _0x56460a=0x0;_0x56460a<_0x1a2413['length'];_0x56460a++){let _0x49a9fe,_0x547a44;if('elementStart'===_0x1a2413[_0x56460a]['type']){_0x49a9fe=_0x4aa898['createPositionFromPath'](_0x433285,_0x19f0ff);const _0x45aa45=new ft(_0x1a2413[_0x56460a]['item']['name'],_0x1a2413[_0x56460a]['item']['getAttributes']());_0x1264dd[0x0]['_appendChild'](_0x45aa45),_0x19f0ff['push'](0x0),_0x1264dd['unshift'](_0x45aa45),_0x547a44=_0x4aa898['createPositionFromPath'](_0x433285,_0x19f0ff),_0x597e7b=null;}else{if('elementEnd'===_0x1a2413[_0x56460a]['type'])_0x1264dd['shift'](),_0x49a9fe=_0x4aa898['createPositionFromPath'](_0x433285,_0x19f0ff),_0x19f0ff['pop'](),_0x19f0ff[_0x19f0ff['length']-0x1]++,_0x547a44=_0x4aa898['createPositionFromPath'](_0x433285,_0x19f0ff),_0x597e7b=null;else{if(_0x49a9fe=_0x4aa898['createPositionFromPath'](_0x433285,_0x19f0ff),_0x597e7b&&_0x5eaf86(_0x597e7b,_0x1a2413[_0x56460a]['item']))_0x597e7b['_data']+=_0x1a2413[_0x56460a]['item']['data'];else{const _0x4e1e28=new yt(_0x1a2413[_0x56460a]['item']['data'],_0x1a2413[_0x56460a]['item']['getAttributes']());_0x1264dd[0x0]['_appendChild'](_0x4e1e28),_0x597e7b=_0x4e1e28;}_0x19f0ff[_0x19f0ff['length']-0x1]+=_0x1a2413[_0x56460a]['item']['offsetSize'],_0x547a44=_0x4aa898['createPositionFromPath'](_0x433285,_0x19f0ff);}}for(const _0x19478f of _0x1a2413[_0x56460a]['markersStart'])_0x25adf6['set'](_0x19478f,{'start':_0x49a9fe,'end':null});_0x5227da('isRemoveSuggestion',_0x56460a,_0x49a9fe,_0x547a44),_0x5227da('isAddSuggestion',_0x56460a,_0x49a9fe,_0x547a44),_0x5227da('isRemoved',_0x56460a,_0x49a9fe,_0x547a44),_0x5227da('isAdded',_0x56460a,_0x49a9fe,_0x547a44);for(const _0x5bf1b1 of _0x1a2413[_0x56460a]['markersEnd']){_0x25adf6['get'](_0x5bf1b1)['end']=_0x547a44;}}for(const [_0x52b258,_0x4f6c9d]of _0x25adf6){const _0x1c40f2=this['editor']['model']['createRange'](_0x4f6c9d['start'],_0x4f6c9d['end']);_0x433285['markers']['set'](_0x52b258,_0x1c40f2);}return _0x221215['sort']((_0x55bf7b,_0x4c8198)=>{const _0x1291c4=_0x433285['markers']['get']('revision:'+_0x55bf7b['id']),_0x3fde5a=_0x433285['markers']['get']('revision:'+_0x4c8198['id']);return _0x1291c4['start']['isBefore'](_0x3fde5a['start'])?-0x1:_0x1291c4['start']['isAfter'](_0x3fde5a['start'])?0x1:_0x1291c4['end']['isBefore'](_0x3fde5a['end'])?-0x1:_0x1291c4['end']['isAfter'](_0x3fde5a['end'])?0x1:'add'===_0x55bf7b['type']?-0x1:0x1;}),{'root':_0x433285,'changes':_0x221215};function _0x5227da(_0x30e6ee,_0x9bb227,_0x32801a,_0x3d90f4){const _0x5a268d=!!_0x1a2413[_0x9bb227][_0x30e6ee],_0x383730=_0x5a268d?_0x1a2413[_0x9bb227][_0x30e6ee]['userId']:null,_0x1f287e=_0x9bb227===_0x1a2413['length']-0x1,_0x26af69=_0x587ac8[_0x30e6ee][0x0],_0x4eb53e=_0x1b9935['isObject'](_0x1a2413[_0x9bb227]['item']);!_0x4b129a[_0x30e6ee]&&_0x5a268d?_0x4b129a[_0x30e6ee]={'start':_0x32801a,'tapeItem':_0x1a2413[_0x9bb227],'userId':_0x383730,'type':_0x30e6ee}:_0x4b129a[_0x30e6ee]&&!_0x5a268d?(_0x4b129a[_0x30e6ee]['end']=_0x32801a,_0x2252db(_0x4b129a[_0x30e6ee]),_0x4b129a[_0x30e6ee]=null):_0x4b129a[_0x30e6ee]&&_0x5a268d&&_0x4b129a[_0x30e6ee]['userId']!==_0x383730&&(_0x4b129a[_0x30e6ee]['end']=_0x32801a,_0x26af69&&_0x26af69['userId']===_0x4b129a[_0x30e6ee]['userId']||_0x2252db(_0x4b129a[_0x30e6ee]),_0x4b129a[_0x30e6ee]={'start':_0x32801a,'tapeItem':_0x1a2413[_0x9bb227],'userId':_0x383730,'type':_0x30e6ee}),_0x4b129a[_0x30e6ee]&&_0x4eb53e&&('elementStart'!==_0x1a2413[_0x9bb227]['type']||_0x26af69&&_0x26af69['userId']===_0x383730||_0x587ac8[_0x30e6ee]['unshift']({'userId':_0x383730,'object':_0x1a2413[_0x9bb227]['item'],'change':_0x4b129a[_0x30e6ee]}),'elementEnd'===_0x1a2413[_0x9bb227]['type']&&_0x26af69&&_0x26af69['object']===_0x1a2413[_0x9bb227]['item']&&(_0x587ac8[_0x30e6ee]['shift'](),_0x4b129a[_0x30e6ee]=_0x26af69['change'])),_0x4b129a[_0x30e6ee]&&_0x1f287e&&(_0x4b129a[_0x30e6ee]['end']=_0x3d90f4,_0x2252db(_0x4b129a[_0x30e6ee]),_0x4b129a[_0x30e6ee]=null);}function _0x2252db({start:_0x5241b0,end:_0x5f5831,tapeItem:_0x413314,userId:_0x55bf21,type:_0x585fec}){const _0x2c00d4=_0x413314['item'],_0x3719bb=_0x4aa898['schema']['isBlock'](_0x2c00d4)&&!_0x4aa898['schema']['isLimit'](_0x2c00d4),_0x2284d2=_0x5241b0['nodeAfter']==_0x5f5831['parent']&&_0x5f5831['isAtStart'];if(_0x3719bb&&_0x2284d2)return;const _0x274548=_0x4aa898['createRange'](_0x5241b0,_0x5f5831),_0x1bd576=_0x22f941['get'](_0x55bf21),_0x4e590b=new r({'author':_0x1bd576,'type':'isAdded'==_0x585fec||'isAddSuggestion'==_0x585fec?'add':'remove','data':{'isSuggestion':'isAddSuggestion'==_0x585fec||'isRemoveSuggestion'==_0x585fec},'createdAt':new Date(),'rootName':_0x19a736});_0x221215['push'](_0x4e590b),_0x433285['markers']['set']('revision:'+_0x4e590b['id'],_0x274548);}function _0x5eaf86(_0x5aab3e,_0x2084e7){const _0x37e645=_0x5aab3e['getAttributes'](),_0x542722=_0x2084e7['getAttributes']();for(const _0xfc4988 of _0x37e645){if(_0xfc4988[0x1]!==_0x2084e7['getAttribute'](_0xfc4988[0x0]))return!0x1;_0x542722['next']();}return _0x542722['next']()['done'];}}['_setConversion'](){this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'revision'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision','view':_0x10cb73=>{const _0x218efe=_0x10cb73['markerName']['split'](':')[0x1],_0x163b97=this['_getChangeFromId'](_0x218efe);if(!_0x163b97)return null;const _0x46f835='add'==_0x163b97['type']?'insertion':'deletion',_0x3a7fb5=['ck-suggestion-marker','ck-suggestion-marker-'+_0x46f835];return _0x163b97['data']['isSuggestion']&&_0x3a7fb5['push']('ck-suggestion-marker-'+_0x46f835+'-new'),this['activeChange']==_0x163b97&&_0x3a7fb5['push']('ck-suggestion-marker--active'),{'classes':_0x3a7fb5,'attributes':{'data-change-id':_0x218efe}};}}),this['editor']['conversion']['for']('upcast')['add'](_0x22bd98=>{_0x22bd98['on']('element:pre',(_0x24a47a,_0x477041,_0x221f83)=>{const _0x1f466d=_0x477041['viewItem']['getChild'](0x0);if(!_0x1f466d||!_0x1f466d['is']('element','code'))return;if(!_0x221f83['consumable']['consume'](_0x1f466d,{'attributes':['vid_start','vid_end']}))return;const _0x543930=_0x477041['modelRange']['start']['nodeAfter'];_0x221f83['writer']['setAttribute']('vid_start',_0x1f466d['getAttribute']('vid_start'),_0x543930),_0x221f83['writer']['setAttribute']('vid_end',_0x1f466d['getAttribute']('vid_end'),_0x543930);},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['add'](_0x3dcf53=>{_0x3dcf53['on']('element',(_0x4951ba,_0x1a4b15,_0x4f38dd)=>{if(!_0x4f38dd['consumable']['consume'](_0x1a4b15['viewItem'],{'attributes':['vid_start','vid_end']}))return;if(_0x1a4b15['modelRange']['isCollapsed'])return;const _0x3fc674=_0x1a4b15['modelRange']['start']['nodeAfter'];_0x3fc674['hasAttribute']('vid_start')||_0x3fc674['hasAttribute']('vid')||(_0x4f38dd['writer']['setAttribute']('vid_start',_0x1a4b15['viewItem']['getAttribute']('vid_start'),_0x3fc674),_0x4f38dd['writer']['setAttribute']('vid_end',_0x1a4b15['viewItem']['getAttribute']('vid_end'),_0x3fc674));},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['elementToAttribute']({'view':{'name':'span','attributes':{'vid':!0x0}},'model':{'key':'vid','value':_0x117fbd=>_0x117fbd['getAttribute']('vid')}}),this['editor']['model']['schema']['on']('checkAttribute',(_0x2ed685,[,_0x408cf3])=>{['vid_start','vid_end','vid']['includes'](_0x408cf3)&&(_0x2ed685['return']=!0x0,_0x2ed685['stop']());},{'priority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['add'](_0x5ff801=>{_0x5ff801['on']('attribute:vid',(_0x1678b4,_0x489cd6,_0x173b88)=>{if('\x20'!=_0x489cd6['item']['data']||_0x489cd6['item']['parent']['maxOffset']>0x1)return;if(!_0x173b88['consumable']['consume'](_0x489cd6['item'],_0x1678b4['name']))return;const _0x56aec6=_0x173b88['writer'],_0x83f066=_0x173b88['mapper']['toViewRange'](_0x489cd6['range']);_0x56aec6['wrap'](_0x83f066,_0x56aec6['createAttributeElement']('span'));});}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',function(_0x132e63){const _0x1f1ac2=_0x132e63['plugins']['get']('RevisionViewer');return(_0x3f46bc,_0x16fc87,_0x505d10)=>{const _0x371027=_0x16fc87['markerName']['split'](':')[0x1],_0x5ebf1b=_0x1f1ac2['_getChangeFromId'](_0x371027);if(!_0x5ebf1b)return null;const _0xa9feed='add'==_0x5ebf1b['type']?'split':'merge';if(!_0x505d10['consumable']['test'](_0x16fc87['markerRange'],_0x3f46bc['name']))return;const _0x360478=_0x16fc87['markerRange']['getWalker'](),_0x560c85=_0x16fc87['markerRange']['start'],_0x2e3c1f=_0x132e63['model']['schema'];let _0x3fdb99=null,_0x3098f4=null,_0x356044=!0x1,_0x598809=!0x1;for(const _0x1fb62e of _0x360478){const _0x20ba79=_0x1fb62e['item'];_0x356044=_0x356044||_0x2e3c1f['isContent'](_0x20ba79);const _0x127f15=_0x505d10['mapper']['toViewElement'](_0x20ba79);if(_0x127f15&&_0x127f15['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x1fb62e['type']&&(_0x2e3c1f['isBlock'](_0x20ba79)&&!_0x2e3c1f['isLimit'](_0x20ba79)&&(_0x20ba79['nextSibling']||_0x560c85['isAtEnd']?_0x3fdb99&&_0x3fdb99['parent']==_0x20ba79||(_0x3fdb99=_0x20ba79,_0x481763(_0x1fb62e['previousPosition']),_0x598809=!0x0):_0x3098f4=_0x3098f4||_0x1fb62e['previousPosition']));}function _0x481763(_0x3835d4){const _0xd1f40=_0x505d10['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0xa9feed}),_0x78d5ee=_0x505d10['mapper']['toViewPosition'](_0x3835d4);_0x5ebf1b['data']['isSuggestion']&&_0x505d10['writer']['addClass']('ck-suggestion-marker-'+_0xa9feed+'-new',_0xd1f40),_0x1f1ac2['activeChange']==_0x5ebf1b&&_0x505d10['writer']['addClass']('ck-suggestion-marker--active',_0xd1f40),_0x505d10['writer']['insert'](_0x78d5ee,_0xd1f40),_0x505d10['mapper']['bindElementToMarker'](_0xd1f40,_0x16fc87['markerName']);}_0x356044||_0x598809||!_0x3098f4||_0x481763(_0x3098f4);};}(this['editor']),{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('removeMarker:revision',(_0x596829,_0x26ce44,_0x50771f)=>{const _0x5d16f9=_0x50771f['mapper']['markerNameToElements'](_0x26ce44['markerName']);if(_0x5d16f9){for(const _0x27c8fd of _0x5d16f9)(_0x27c8fd['hasClass']('ck-suggestion-marker-split')||_0x27c8fd['hasClass']('ck-suggestion-marker-merge'))&&(_0x50771f['mapper']['unbindElementFromMarkerName'](_0x27c8fd,_0x26ce44['markerName']),_0x50771f['writer']['remove'](_0x27c8fd));}},{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',(_0x457bfe,_0x16cb2b,_0x6dba0)=>{const _0x22b03f=_0x16cb2b['markerName']['split'](':')[0x1],_0x42ecef=this['_getChangeFromId'](_0x22b03f);if(!_0x42ecef)return null;const _0x194d6c='add'==_0x42ecef['type']?'split':'merge';if(_0x6dba0['consumable']['test'](_0x16cb2b['markerRange'],_0x457bfe['name']))for(const _0x2a7561 of _0x16cb2b['markerRange']['getItems']()){if(!_0x2a7561['is']('element','softBreak'))continue;const _0x13abee=_0x6dba0['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x194d6c}),_0x10b322=_0x6dba0['mapper']['toViewPosition'](this['editor']['model']['createPositionBefore'](_0x2a7561));_0x42ecef['data']['isSuggestion']&&_0x6dba0['writer']['addClass']('ck-suggestion-marker-'+_0x194d6c+'-new',_0x13abee),this['activeChange']==_0x42ecef&&_0x6dba0['writer']['addClass']('ck-suggestion-marker--active',_0x13abee),_0x6dba0['writer']['insert'](_0x10b322,_0x13abee),_0x6dba0['mapper']['bindElementToMarker'](_0x13abee,_0x16cb2b['markerName']);}},{'priority':'high'}),this['editor']['model']['document']['on']('change',()=>{this['editor']['editing']['view']['change'](_0xed0fc5=>{for(const _0x2b6ad6 of this['editor']['model']['document']['getRootNames']()){const _0x113b88=this['editor']['model']['document']['getRoot'](_0x2b6ad6),_0x5a4f83=this['editor']['editing']['view']['document']['getRoot'](_0x2b6ad6);if(_0x5a4f83){const _0x1103bb=_0x113b88['getAttribute']('revisionHistoryAttachChange');if(_0xed0fc5['removeAttribute']('data-change-id',_0x5a4f83),_0xed0fc5['removeClass']('ck-revision-history-root-add',_0x5a4f83),_0xed0fc5['removeClass']('ck-revision-history-root-remove',_0x5a4f83),_0xed0fc5['removeClass']('ck-revision-history-root--active',_0x5a4f83),_0x1103bb){const _0x123483=this['_getChangeFromId'](_0x1103bb);if(!_0x123483)return null;_0xed0fc5['setAttribute']('data-change-id',_0x1103bb,_0x5a4f83),_0xed0fc5['addClass']('ck-revision-history-root-'+_0x123483['type'],_0x5a4f83),this['activeChange']==_0x123483&&_0xed0fc5['addClass']('ck-revision-history-root--active',_0x5a4f83);}}}});}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'comment','model':_0x4e4278=>'revision-comment:'+_0x4e4278,'converterPriority':'highest'}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'suggestion','model':_0x2f917a=>'revision-suggestion:'+_0x2f917a,'converterPriority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision-suggestion','view':_0x521b07=>({'name':'suggestion:'+_0x521b07,'group':'revision-suggestion'}),'converterPriority':'highest'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision-suggestion','view':_0x368dec=>{const _0x3f6edd=_0x368dec['markerName']['split'](':')[0x1];return'insertion'!=_0x3f6edd&&'deletion'!=_0x3f6edd?null:{'classes':['ck-suggestion-preview-marker','ck-suggestion-preview-marker-'+_0x3f6edd]};}}),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',(_0xf5c585,_0x293407,_0x8bf9a6)=>{const _0x53a2ec=_0x8bf9a6['mapper']['markerNameToElements'](_0x293407['markerName']);if(_0x53a2ec){for(const _0x30ba42 of _0x53a2ec)_0x30ba42['is']('uiElement')&&(_0x8bf9a6['mapper']['unbindElementFromMarkerName'](_0x30ba42,_0x293407['markerName']),_0x8bf9a6['writer']['remove'](_0x30ba42));}},{'priority':'high'});}['_getChangeFromId'](_0x391399){return this['_changeIdToChange']['get'](_0x391399);}['_getViewForChange'](_0x1c9373){return this['_changeView']&&this['_changeView']['destroy'](),this['_changeView']=new Z(this['editor']['locale'],_0x1c9373),this['_changeView'];}['_initInteractions'](){this['editor']['model']['document']['selection']['observeMarkers']('revision'),this['on']('change:activeView',(_0x51a771,_0x3b257f,_0x197d33,_0x4a4075)=>{_0x4a4075&&this['_balloon']['remove'](_0x4a4075),_0x197d33&&(this['_balloon']['add']({'view':_0x197d33,'stackId':'revisionHistoryLabel','position':{'target':()=>{const _0x27c785=this['editor']['editing'],_0x58a105=this['_getChangeFromId'](_0x197d33['changeId']);let _0x39692e;if(_0x58a105['data']['isOnRoot']){const _0x235e0c=_0x27c785['view']['getDomRoot'](_0x58a105['rootName']);_0x39692e=Array['from'](_0x235e0c['getClientRects']());}else{const _0x2ffdd4=this['editor']['model']['markers']['get']('revision:'+_0x197d33['changeId']);_0x39692e=Array['from'](_0x27c785['mapper']['markerNameToElements'](_0x2ffdd4['name']))['map'](_0x30ab79=>_0x27c785['view']['domConverter']['mapViewToDom'](_0x30ab79))['map'](_0x10793e=>Array['from'](_0x10793e['getClientRects']()))['flat']();}if(!this['_activeViewTarget'])return _0x39692e[0x0];return _0x39692e['find'](_0x23c632=>_0x23c632['top']-0x3<=this['_activeViewTarget']['y']&&_0x23c632['bottom']+0x3>=this['_activeViewTarget']['y']&&_0x23c632['left']-0x3<=this['_activeViewTarget']['x']&&_0x23c632['right']+0x3>=this['_activeViewTarget']['x'])||_0x39692e[0x0];}}}),this['_balloon']['showStack']('revisionHistoryLabel'));}),this['on']('change:activeChange',(_0xcec760,_0x345927,_0x958e41,_0x3ed9c4)=>{this['activeView']=_0x958e41?this['_getViewForChange'](_0x958e41):null,this['editor']['model']['change'](()=>{const _0x2c6e17=this['editor']['editing'];_0x3ed9c4&&(_0x3ed9c4['data']['isOnRoot']?_0x2c6e17['view']['change'](_0x55ed6c=>{_0x55ed6c['removeClass']('ck-revision-history-root--active',_0x2c6e17['view']['document']['getRoot'](_0x3ed9c4['rootName']));}):_0x2c6e17['reconvertMarker']('revision:'+_0x3ed9c4['id'])),_0x958e41&&(_0x958e41['data']['isOnRoot']?_0x2c6e17['view']['change'](_0x1e9ab7=>{_0x1e9ab7['addClass']('ck-revision-history-root--active',_0x2c6e17['view']['document']['getRoot'](_0x958e41['rootName']));}):_0x2c6e17['reconvertMarker']('revision:'+_0x958e41['id']));});}),this['listenTo'](this['editor']['editing']['view']['document'],'mouseover',(_0x581253,_0x42101c)=>{if(this['activeChange'])return;const _0x44b761=this['_findChangeIdFromDomTarget'](_0x42101c['target']),_0x7264ad=this['_changeIdToChange']['get'](_0x44b761);_0x7264ad?(this['_activeViewTarget']={'x':_0x42101c['domEvent']['x'],'y':_0x42101c['domEvent']['y']},this['activeView']=this['_getViewForChange'](_0x7264ad)):(this['_activeViewTarget']=null,this['activeView']=null);}),this['listenTo'](this['editor']['editing']['view']['document'],'mousedown',(_0x14b85c,_0x314f11)=>{const _0xfb0cf5=this['_findChangeIdFromDomTarget'](_0x314f11['target']),_0x438e82=this['_changeIdToChange']['get'](_0xfb0cf5);_0x438e82?(this['_activeViewTarget']={'x':_0x314f11['domEvent']['x'],'y':_0x314f11['domEvent']['y']},_0x438e82===this['activeChange']?this['_balloon']['updatePosition']():this['activeChange']=_0x438e82):(this['_activeViewTarget']=null,this['activeChange']=null);});}['_findChangeIdFromDomTarget'](_0x35fab4){do{const _0x556ce2=_0x35fab4['getAttribute']('data-change-id');if(_0x556ce2)return _0x556ce2;_0x35fab4=_0x35fab4['parent'];}while(_0x35fab4);return null;}['_cleanMarkers'](){this['editor']['model']['change'](_0x2d1cae=>{for(const _0x2b9e38 of this['editor']['model']['markers'])_0x2d1cae['removeMarker'](_0x2b9e38);});}constructor(_0x4aeed8){super(_0x4aeed8),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',(_0x1bc6ea,_0x4c4f33,_0x4ccd68)=>{this['activeChange']=null,this['activeView']=null,this['editor']['editing']['view']['change'](_0x3e5e26=>{for(const _0x2e82ea of this['editor']['editing']['view']['document']['roots'])_0x4ccd68?_0x3e5e26['removeClass']('ck-editor__editable__overlay',_0x2e82ea):_0x3e5e26['addClass']('ck-editor__editable__overlay',_0x2e82ea);});}),this['bind']('isNavigationMode')['to'](this,'activeChange',_0x4fba5c=>null!==_0x4fba5c),this['bind']('currentChangeNumber')['to'](this,'isReady',this,'diff',this,'activeChange',(_0x19af50,_0x3e1a84,_0x583184)=>_0x19af50&&_0x583184?_0x3e1a84['changes']['getIndex'](_0x583184):0x0),this['bind']('numberOfChanges')['to'](this,'isReady',this,'diff',(_0x2c62b3,_0x43bf80)=>_0x2c62b3?_0x43bf80['changes']['length']:0x0),this['_changeView']=null,this['_changeIdToChange']=new Map(),this['adapter']=null,this['_balloon']=this['editor']['plugins']['get'](_0x3b4c5d);}}function et(_0x31e196,_0x36c3ed){return(_0xbc3cbc,_0x1e5ff9,_0x4a23c4)=>{if(!_0x4a23c4['consumable']['test'](_0x1e5ff9['markerRange'],_0xbc3cbc['name']))return;const _0x4ae1e0=_0x1e5ff9['markerRange']['getWalker'](),_0x26b23c=_0x1e5ff9['markerRange']['start'],_0x1b9978=_0x31e196['model']['schema'];let _0xd2088f=null,_0x3bab0c=null,_0x59a8d9=!0x1,_0x39cd61=!0x1;for(const _0x12b6f3 of _0x4ae1e0){const _0x4e3d34=_0x12b6f3['item'];_0x59a8d9=_0x59a8d9||_0x1b9978['isContent'](_0x4e3d34);const _0x3198d2=_0x4a23c4['mapper']['toViewElement'](_0x4e3d34);if(_0x3198d2&&_0x3198d2['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x12b6f3['type']&&(_0x1b9978['isBlock'](_0x4e3d34)&&!_0x1b9978['isLimit'](_0x4e3d34)&&(_0x4e3d34['nextSibling']||_0x26b23c['isAtEnd']?_0xd2088f&&_0xd2088f['parent']==_0x4e3d34||(_0xd2088f=_0x4e3d34,_0x5b5f75(_0x12b6f3['previousPosition']),_0x39cd61=!0x0):_0x3bab0c=_0x3bab0c||_0x12b6f3['previousPosition']));}function _0x5b5f75(_0x38cc51){const _0x5caea8=_0x4a23c4['mapper']['toViewPosition'](_0x38cc51),_0x211e8b=_0x4a23c4['writer']['createUIElement']('span',{'class':'ck-suggestion-preview-marker-'+_0x36c3ed});_0x4a23c4['writer']['insert'](_0x5caea8,_0x211e8b),_0x4a23c4['mapper']['bindElementToMarker'](_0x211e8b,_0x1e5ff9['markerName']);}_0x59a8d9||_0x39cd61||!_0x3bab0c||_0x5b5f75(_0x3bab0c);};}class bt extends _0x4b9898{['execute'](){const _0x302662=this['editor'],_0x447bcf=_0x302662['plugins']['get'](d),_0x1ebeba=_0x447bcf['isReady']?_0x447bcf['diff']['newRevisionId']:null;_0x302662['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x1ebeba);}['refresh'](){const {isReady:_0xef6cba,isEnabled:_0x56b493}=this['editor']['plugins']['get'](d);this['isEnabled']=_0xef6cba&&_0x56b493;}constructor(_0xfea6d8){super(_0xfea6d8);const _0x192b01=_0xfea6d8['plugins']['get'](d);this['affectsData']=!0x1,this['listenTo'](_0x192b01,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x192b01,'change:isEnabled',()=>this['refresh']());}}class Rt extends _0x4b9898{['execute'](){const _0x22c2e1=this['editor'],_0x4cd15e=_0x22c2e1['plugins']['get'](d),{isNavigationMode:_0x2099b8,currentChangeNumber:_0x1b49cf}=_0x4cd15e;let _0x45c50e;if(_0x4cd15e['activeChange']=_0x2099b8?_0x4cd15e['diff']['changes']['get'](_0x1b49cf+this['_step']):_0x4cd15e['diff']['changes']['first'],_0x4cd15e['activeChange']['data']['isOnRoot'])_0x45c50e=_0x22c2e1['editing']['view']['getDomRoot'](_0x4cd15e['activeChange']['rootName']);else{const _0x21b689=_0x22c2e1['model']['markers']['get']('revision:'+_0x4cd15e['activeChange']['id']);_0x45c50e=_0x4393ba(_0x22c2e1['editing'],_0x21b689);}_0xa65da7({'target':_0x45c50e,'viewportOffset':0x28});}['refresh'](){const {isNavigationMode:_0x118055,currentChangeNumber:_0x48b4a4,numberOfChanges:_0x2af7ea,isReady:_0x3f1e11,isEnabled:_0x3902d4}=this['editor']['plugins']['get'](d);this['isEnabled']=!!(_0x3902d4&&_0x3f1e11&&_0x2af7ea)&&(!_0x118055||(0x1===this['_step']?_0x48b4a4<_0x2af7ea-0x1:_0x48b4a4>0x0));}constructor(_0x1ee623,{direction:_0x3a1439}){super(_0x1ee623);const _0x59be22=_0x1ee623['plugins']['get'](d);this['affectsData']=!0x1,this['_step']='forward'===_0x3a1439?0x1:-0x1,this['listenTo'](_0x59be22,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x59be22,'change:isEnabled',()=>this['refresh']()),this['listenTo'](_0x59be22,'change:activeChange',()=>this['refresh']());}}class _i extends _0x150ebb{constructor(_0x7e78a3){super(_0x7e78a3);const _0x56bc93=this['bindTemplate'],_0x3d0032=new _0x23a7fc(_0x7e78a3),_0x3b9d4e=new _0x23a7fc(_0x7e78a3);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',(_0x31482e,_0x2f1368)=>_0x31482e&&_0x2f1368>0x0),this['bind']('_statusText')['to'](this,'isReady',this,'currentChangeNumber',this,'numberOfChanges',this,'isNavigationMode',(_0x44d26,_0x9f0b2d,_0x1c1443,_0x4a5059)=>{if(!_0x44d26)return y(_0x7e78a3,'Loading...');if(!_0x1c1443)return y(_0x7e78a3,'No\x20changes');const _0x4f91e2=y(_0x7e78a3,'NUMBER_OF_CHANGES',_0x1c1443);return _0x4a5059?y(_0x7e78a3,'X_OF_Y_CHANGES',[_0x9f0b2d+0x1,_0x1c1443]):_0x4f91e2;}),_0x3d0032['set']({'label':y(_0x7e78a3,'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'}),_0x3b9d4e['set']({'label':y(_0x7e78a3,'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'}),_0x3d0032['bind']('isEnabled')['to'](this,'isBackwardNavigationEnabled'),_0x3b9d4e['bind']('isEnabled')['to'](this,'isForwardNavigationEnabled'),_0x3d0032['on']('execute',()=>this['fire']('execute','backward')),_0x3b9d4e['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',_0x56bc93['if']('_isStatusLabelVisible','ck-hidden',_0x314462=>!_0x314462)]},'children':[{'text':_0x56bc93['to']('isNavigationMode',_0x1bb597=>_0x1bb597?y(_0x7e78a3,'EDIT_X_OF_Y_REVISIONS')+':\x20':y(_0x7e78a3,'Total')+':\x20')}]},{'text':_0x56bc93['to']('_statusText')}]},new _0x1ade6a(),{'tag':'div','attributes':{'class':['ck-revision-history-ui__changes-navigation__navigation']},'children':[_0x3d0032,_0x3b9d4e]}]});}}const ce='ck-editor__editable__loading-overlay';class de extends _0xf14552{static get['pluginName'](){return'RevisionViewerLoadingOverlay';}['show'](){const _0x24c30c=this['editor']['editing']['view'];_0x24c30c['change'](_0x16f748=>{for(const _0x1bf75b of _0x24c30c['document']['roots'])_0x16f748['addClass'](ce,_0x1bf75b);});}['hide'](){const _0x572fd2=this['editor']['editing']['view'];_0x572fd2['change'](_0x224b5d=>{for(const _0x6b9497 of _0x572fd2['document']['roots'])_0x224b5d['removeClass'](ce,_0x6b9497);});}}class R extends _0xf14552{static get['pluginName'](){return'RevisionViewerUI';}static get['requires'](){return[d,de];}['init'](){const _0x195b96=this['editor'],_0x20109b=_0x195b96['plugins']['get'](d),_0x155f0f=_0x195b96['plugins']['get'](de);_0x195b96['ui']['componentFactory']['add']('exitToEditing',_0x417fdd=>{const _0x58afd0=new _0x23a7fc(_0x417fdd);return _0x58afd0['set']({'label':y(_0x417fdd,'Back\x20to\x20editing'),'icon':_0x460539['undo'],'withText':!0x0,'tooltip':!0x0,'class':'ck-revision-history-ui__back-to-editing'}),this['listenTo'](_0x58afd0,'execute',()=>{_0x195b96['config']['get']('revisionHistory')['closeRevisionViewerCallback']();}),_0x58afd0;}),_0x195b96['ui']['componentFactory']['add']('restoreRevision',_0x4d1bc7=>{const _0x222694=new _0x23a7fc(_0x4d1bc7);return _0x222694['set']({'label':y(_0x4d1bc7,'Restore\x20this\x20revision'),'withText':!0x0,'tooltip':!0x0}),_0x222694['bind']('isEnabled')['to'](_0x195b96['commands']['get']('restoreRevision')),this['listenTo'](_0x222694,'execute',()=>_0x195b96['execute']('restoreRevision')),_0x222694;}),_0x195b96['ui']['componentFactory']['add']('changesNavigation',_0x23e03a=>{const _0x2da9fc=new _i(_0x23e03a),_0x58a235=_0x195b96['commands']['get']('showPreviousChange'),_0x20f8c6=_0x195b96['commands']['get']('showNextChange');return _0x2da9fc['bind']('isBackwardNavigationEnabled')['to'](_0x58a235,'isEnabled'),_0x2da9fc['bind']('isForwardNavigationEnabled')['to'](_0x20f8c6,'isEnabled'),_0x2da9fc['bind']('isReady','currentChangeNumber','numberOfChanges','isNavigationMode')['to'](_0x20109b),this['listenTo'](_0x2da9fc,'execute',(_0x1dd243,_0x2abbaf)=>{_0x195b96['execute']('forward'===_0x2abbaf?'showNextChange':'showPreviousChange');}),_0x2da9fc;}),_0x155f0f['show'](),_0x20109b['on']('change:isReady',(_0x4cfcf4,_0x5d90ad,_0x58a071)=>{_0x58a071?_0x155f0f['hide']():_0x155f0f['show']();});}}class vt extends mt{['render'](){super['render'](),this['_resizeObserver']=new kt(this['fieldView']['element'],()=>this['_updateTooltipText']()),this['listenTo'](this['fieldView'],'input',()=>this['_updateTooltipText']());}['destroy'](){super['destroy'](),this['_resizeObserver']&&this['_resizeObserver']['destroy']();}['_updateTooltipText'](){const _0x4b8d48=this['fieldView']['element'];this['_tooltipString']=_0x4b8d48['scrollWidth']>_0x4b8d48['clientWidth']&&_0x4b8d48['value']||'';}constructor(_0x1e2f31,_0x195d50){super(_0x1e2f31,_0x195d50),this['_resizeObserver']=null;const _0x27cd54=this['bindTemplate'];this['set']({'label':y(_0x1e2f31,'Revision\x20name'),'_tooltipString':''}),this['fieldView']['placeholder']=y(_0x1e2f31,'Enter\x20the\x20revision\x20name'),this['extendTemplate']({'tag':'span','attributes':{'class':['ck-revision-history-sidebar__revision-name'],'data-cke-tooltip-text':_0x27cd54['to']('_tooltipString'),'data-cke-tooltip-position':'s','data-cke-tooltip-class':'ck-tooltip_multi-line'}});}}class ti extends _0x150ebb{constructor(_0x5f149e,_0x12106d,_0x354a35){super(_0x5f149e);const _0x6e4944=new _0x54461a();_0x6e4944['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 _0x4f6d20=['ck','ck-revision-history-sidebar__revision-author'];_0x354a35&&_0x4f6d20['push']('ck-revision-history-sidebar__revision-author_creator');const _0x1c82df=[{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__revision-author__name'],'title':y(_0x5f149e,_0x354a35?'Revision\x20creator':'Revision\x20author')},'children':[_0x6e4944,_0x12106d['name']]}];this['setTemplate']({'tag':'li','attributes':{'class':_0x4f6d20},'children':_0x1c82df});}}function ni(_0x5f3737,_0x1bf922){const _0x2743fa=_0x5f3737['bindTemplate'],_0x5dfd49=_0x5f3737['locale'],_0x541ef1=_0x4b28bd(_0x5dfd49);_0x541ef1['panelPosition']='sw';const _0x4211cd=function(_0x18be6f,_0xdf8827){const _0x281eff=function(_0x41c307,_0x4c7738){const _0x2c38c0=_0x41c307['locale'],_0x597b43={'Compare\x20against\x20selected':y(_0x2c38c0,'Compare\x20against\x20selected'),'Name\x20this\x20revision':y(_0x2c38c0,'Name\x20this\x20revision'),'Restore\x20this\x20revision':y(_0x2c38c0,'Restore\x20this\x20revision')};return _0x4c7738['map'](_0x5e245f=>{const _0xe08316=_0x597b43[_0x5e245f['name']];return _0xe08316&&_0xe08316!==_0x5e245f['name']&&(_0x5e245f['name']=_0xe08316),_0x5e245f;});}(_0x18be6f,_0xdf8827),_0x583919=new _0x106dd0();for(const _0x29b6aa of _0x281eff){const _0x55f927={'type':'button','model':new to({'label':_0x29b6aa['name'],'class':_0x29b6aa['class'],'withText':!0x0,'_action':_0x29b6aa['action']})};_0x55f927['model']['bind']('isEnabled')['to'](_0x18be6f,'isActionsDropdownOpen',_0x9700dd=>'function'!=typeof _0x29b6aa['isEnabled']||(!_0x9700dd||_0x29b6aa['isEnabled'](_0x18be6f))),_0x583919['add'](_0x55f927);}return _0x583919;}(_0x5f3737,_0x1bf922);return _0x5f3737['bind']('isActionsDropdownOpen')['to'](_0x541ef1,'isOpen'),_0x541ef1['buttonView']['set']({'label':y(_0x5dfd49,'Show\x20more\x20items'),'tooltip':!0x0,'tooltipPosition':'sw','icon':_0x460539['threeVerticalDots']}),_0x541ef1['extendTemplate']({'attributes':{'class':['ck-revision-history-sidebar__revision__actions',_0x2743fa['if']('isActionsDropdownOpen','ck-on')]},'on':{'click':_0x2743fa['to'](_0x45ea9d=>_0x45ea9d['stopPropagation']())}}),_0x541ef1['on']('execute',_0x476245=>{_0x5f3737['isReady']&&'function'==typeof _0x476245['source']['_action']&&_0x476245['source']['_action'](_0x5f3737);}),_0x4eedcc(_0x541ef1,_0x4211cd),_0x541ef1['listenTo'](_0x5f3737,'change:isActionsDropdownOpen',(_0x599a48,_0x1af87b,_0x52a3a8)=>{if(_0x52a3a8)for(const _0x5cc5d2 of _0x541ef1['listView']['items']){const _0x4d20d8=_0x5cc5d2['children']['first'],_0x1769d6=_0x1bf922['find'](_0x4db4ff=>_0x4db4ff['action']===_0x4d20d8['_action'])['isVisible'];_0x5cc5d2['isVisible']=void 0x0===_0x1769d6||_0x1769d6(_0x5f3737);}}),_0x541ef1;}class ai extends _0x506d12(_0x150ebb){['render'](){super['render']();const _0x63ec25=this['revisionNameView']['fieldView']['element'];this['listenTo'](_0x63ec25,'change',()=>{this['_requireRevisionName']&&!_0x63ec25['value']||this['fire']('setName',{'id':this['id'],'name':_0x63ec25['value']}),_0x63ec25['value']||(_0x63ec25['value']=this['name']?this['name']:this['_createdAtFormatted']);});}['select'](){this['isSelected']=!0x0;}['deselect'](){this['isSelected']=!0x1;}['highlight'](){this['isHighlighted']=!0x0;}['unhighlight'](){this['isHighlighted']=!0x1;}constructor(_0x363c08,_0x276ebb,_0x4da5d2,_0x3cf1f4){super(_0x363c08);const _0x15822b=this['bindTemplate'],_0x26fbbf=function(_0x4dad88,_0x53d5fb){const _0x3a6341=Array['from'](_0x53d5fb['authors'])['filter'](_0x5ec16a=>_0x5ec16a!=_0x53d5fb['creator']);return _0x53d5fb['creator']&&_0x3a6341['unshift'](_0x53d5fb['creator']),_0x3a6341['map'](_0x2100b2=>new ti(_0x4dad88,_0x2100b2,_0x2100b2==_0x53d5fb['creator']));}(_0x363c08,_0x276ebb);this['id']=_0x276ebb['id'],this['_revision']=_0x276ebb,this['_requireRevisionName']=_0x3cf1f4,this['bind']('name','createdAt')['to'](_0x276ebb),this['bind']('_createdAtFormatted')['to'](this,'createdAt',_0x1da3ef=>{return _0x691692=_0x363c08['uiLanguage'],(_0xc61715=_0x1da3ef)['toLocaleDateString'](_0x691692,{'month':'long','day':'numeric'})+',\x20'+_0xc61715['toLocaleTimeString'](_0x691692,{'hour':'numeric','minute':'numeric'});var _0x691692,_0xc61715;}),this['set']('isSelected',!0x1),this['set']('isHighlighted',!0x1),this['set']('isActionsDropdownOpen',!0x1),this['set']('isReady',!0x1),this['set']('isEnabled',!0x1),this['revisionNameView']=new vt(_0x363c08,_0x2e07e9),this['revisionNameView']['fieldView']['extendTemplate']({'attributes':{'maxlength':'220'}}),this['revisionNameView']['fieldView']['bind']('value')['to'](this,'name',_0x3d5301=>_0x3d5301||this['_createdAtFormatted']),this['revisionNameView']['bind']('isEnabled')['to'](this,'isSelected',this,'isEnabled',(_0x1b866e,_0x8749c7)=>_0x1b866e&&_0x8749c7),this['revisionActionsView']=_0x4da5d2&&_0x4da5d2['length']?ni(this,_0x4da5d2):'',this['revisionActionsView']&&this['revisionActionsView']['bind']('isEnabled')['to'](this),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision-wrapper',_0x15822b['if']('isConfirm','ck-revision-history-sidebar__revision-wrapper_confirmation_visible')]},'children':[{'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision',_0x15822b['if']('isEnabled','ck-disabled',_0x482bed=>!_0x482bed),_0x15822b['if']('isSelected','ck-revision-history-sidebar__revision_selected'),_0x15822b['if']('isHighlighted','ck-revision-history-sidebar__revision_highlighted'),_0x15822b['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':_0x15822b['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':_0x26fbbf}]},this['revisionActionsView']],'on':{'click':_0x15822b['to'](_0x366375=>{_0x366375['srcElement']['closest']('.ck-thread__remove-confirm')||this['isReady']&&this['isEnabled']&&this['fire']('select',{'id':this['id']});})}}]});}}function di(_0x1a1717,_0x5105cf){const _0x409079=_0x4391dc['fromJSDate'](_0x1a1717)['setLocale'](_0x5105cf),_0x2f0b8a=_0x4391dc['local'](),_0x49eddc=_0x2f0b8a['minus']({'days':0x1})['startOf']('day');let _0x1e2f35,_0x395a54;return _0x409079['hasSame'](_0x2f0b8a,'day')?(_0x1e2f35=_0x409079['startOf']('day')['toJSDate'](),_0x395a54=_0x409079['toRelativeCalendar']()):_0x409079['hasSame'](_0x49eddc,'day')?(_0x1e2f35=_0x49eddc['toJSDate'](),_0x395a54=_0x409079['toRelativeCalendar']()):_0x409079['hasSame'](_0x2f0b8a,'week')?(_0x1e2f35=_0x409079['startOf']('week')['toJSDate'](),_0x395a54=_0x409079['weekdayLong']||''):_0x409079['hasSame'](_0x2f0b8a,'year')?(_0x1e2f35=_0x409079['startOf']('month')['toJSDate'](),_0x395a54=_0x409079['monthLong']||''):(_0x1e2f35=_0x409079['startOf']('year')['toJSDate'](),_0x395a54=String(_0x409079['year'])),{'startDate':_0x1e2f35,'localizedPeriodName':_0x395a54};}class mi extends _0x150ebb{['addRevision'](_0x5f52ac){const _0x10af2a=new ai(this['locale'],_0x5f52ac,this['_revisionActions'],this['_requireRevisionName']);this['revisionViews']['add'](_0x10af2a);}['removeRevision'](_0x162b91){const _0x17604c=this['revisionViews']['find'](_0x2eb9de=>_0x2eb9de['id']===_0x162b91['id']);this['revisionViews']['remove'](_0x17604c);}constructor(_0x3f2cf8,_0xdaccdd,_0x226555,_0x1e27f8){super(_0x3f2cf8);const _0x2c8d17=di(_0xdaccdd,this['locale']['uiLanguage'])['localizedPeriodName'];this['startDate']=_0xdaccdd,this['revisionViews']=this['createCollection'](),this['_revisionActions']=_0x226555,this['_requireRevisionName']=_0x1e27f8,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':_0x2c8d17}]},{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__time-period__revisions']},'children':this['revisionViews']}]});}}class as extends _0x150ebb{constructor(_0x173dad){super(_0x173dad);const _0x350051=new _0x54461a();_0x350051['content']=_0x460539['history'],this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all','ck-revision-history-sidebar__header']},'children':[_0x350051,{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__header__label']},'children':[y(_0x173dad,'Revision\x20history')]}]});}}class ci extends _0x150ebb{['render'](){super['render']();for(const _0x47f9f3 of this['_revisions'])this['_addRevision'](_0x47f9f3);this['_revisions']['on']('add',(_0x4b6dac,_0x56a3c3)=>{this['_addRevision'](_0x56a3c3);}),this['_revisions']['on']('remove',(_0x4596ff,_0x3c9154)=>{this['_removeRevision'](_0x3c9154);});}get['revisionViews'](){return this['timePeriodViews']['map'](_0x7e86ab=>_0x7e86ab['revisionViews']['map'](_0x29be13=>_0x29be13))['flat']();}['selectRevision'](_0x135c2d){for(const _0x4149cf of this['revisionViews'])_0x135c2d&&_0x135c2d['id']===_0x4149cf['id']?_0x4149cf['select']():_0x4149cf['deselect']();}['highlightRevisions'](_0x4c9a3c){for(const _0x2a9056 of this['revisionViews'])_0x4c9a3c['some'](({id:_0xc18342})=>_0xc18342===_0x2a9056['id'])?_0x2a9056['highlight']():_0x2a9056['unhighlight']();}['_addRevision'](_0x487d08){const _0x5d791b=di(_0x487d08['createdAt'],this['locale']['uiLanguage'])['startDate'];let _0x59d007=this['timePeriodViews']['get'](0x0);_0x59d007&&_0x59d007['startDate']['getTime']()===_0x5d791b['getTime']()||(_0x59d007=new mi(this['locale'],_0x5d791b,this['_revisionActions'],this['_requireRevisionName']),this['timePeriodViews']['add'](_0x59d007)),_0x59d007['addRevision'](_0x487d08);}['_removeRevision'](_0x370d81){const _0x15db64=di(_0x370d81['createdAt'],this['locale']['uiLanguage'])['startDate'];this['_getTimePeriodViewByStartDate'](_0x15db64)['removeRevision'](_0x370d81);}['_getTimePeriodViewByStartDate'](_0x32f845){return this['timePeriodViews']['find'](_0x4c1db9=>_0x4c1db9['startDate']['getTime']()===_0x32f845['getTime']());}constructor(_0x1418f7,_0x48e42a,_0x57ce98,_0x530e1b){super(_0x1418f7);const _0x4d2c11=this['bindTemplate'];this['timePeriodViews']=this['createCollection'](),this['timePeriodViews']['delegate']('select')['to'](this),this['timePeriodViews']['delegate']('setName')['to'](this),this['_revisions']=_0x48e42a,this['_revisionActions']=_0x57ce98,this['_requireRevisionName']=_0x530e1b,this['on']('select',(_0x56221e,_0xb9b8b8)=>{this['fire']('revisionSelected',_0xb9b8b8);}),this['on']('setName',(_0x41a517,_0x1f8756)=>{this['fire']('revisionSetName',_0x1f8756);}),this['set']('isEnabled',!0x1),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-rounded-corners','ck-revision-history-sidebar']},'children':[new as(_0x1418f7),{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__timeline',_0x4d2c11['if']('isEnabled','ck-disabled',_0xa3a836=>!_0xa3a836)]},'children':this['timePeriodViews']}]});}}class w extends _0xf14552{static get['pluginName'](){return'RevisionsSidebar';}static get['requires'](){return[d];}['init'](){const _0x17cfb9=this['_revisionsRepository']['_revisions'],_0x3ccd4f=this['_createRevisionActions'](),_0x112199=this['editor']['config']['get']('revisionHistory.viewerSidebarContainer');this['_sidebarView']=new ci(this['editor']['locale'],_0x17cfb9,_0x3ccd4f,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',(_0x47bb27,_0xf41969)=>{_0xf41969['revisionViews']['on']('add',(_0x12b0e5,_0x531928)=>{_0x531928['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)),_0x112199['appendChild'](this['_sidebarView']['element']);}['destroy'](){this['_sidebarView']['element']['remove'](),this['_sidebarView']['destroy']();}['_handleEditorDataReady'](){const _0x5e3e62=this['_revisionsRepository']['getRevision'](0x0);if(_0x5e3e62){const _0x4d1ac9=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x5e3e62['id']);this['_revisionViewer']['compare'](_0x5e3e62,_0x4d1ac9);}}['_handleRevisionSelected'](_0xba1897,_0x574fd2){const _0x3991f3=this['_revisionsRepository']['getRevision'](_0x574fd2['id']),_0x5ec71b=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x3991f3['id']);this['_revisionViewer']['compare'](_0x3991f3,_0x5ec71b);}['_handleRevisionSetName'](_0x324adb,_0x28a96b){this['_revisionsRepository']['getRevision'](_0x28a96b['id'])['setName'](_0x28a96b['name']);}['_handleDiffChange'](_0x5bdf48,_0x41bf66,_0x2efb54){const _0x3bbaf0=this['_revisionsRepository']['getRevisionsInDiff'](_0x2efb54);_0x3bbaf0['length']>0x2?(this['_sidebarView']['highlightRevisions'](_0x3bbaf0),this['_sidebarView']['selectRevision'](null)):(this['_sidebarView']['highlightRevisions']([]),this['_sidebarView']['selectRevision'](_0x3bbaf0[0x0]));}['_createRevisionActions'](){const _0x485127=this['editor'],_0x18cb8d=w['availableRevisionActions'],_0x5f164b=_0x485127['config']['get']('revisionHistory.revisionActions')||w['defaultRevisionActions'];if(_0x5f164b['length'])return _0x5f164b['map'](_0x1b6c32=>{const _0x10f05a='string'==typeof _0x1b6c32?Object['assign']({},_0x18cb8d[_0x1b6c32]):_0x1b6c32;return _0x10f05a['action']=_0x10f05a['action']['bind'](this,_0x485127),_0x10f05a['isVisible']&&(_0x10f05a['isVisible']=_0x10f05a['isVisible']['bind'](this,_0x485127)),_0x10f05a;});}constructor(_0x2909aa){super(_0x2909aa),this['_revisionViewer']=_0x2909aa['plugins']['get'](d),this['_revisionsRepository']=this['_revisionViewer']['repository'],this['_sidebarView']=null;}}w['availableRevisionActions']={'compareAgainstSelected':{'name':'Compare\x20against\x20selected','action':({plugins:_0x54fdff},_0x699ac2)=>{const _0x61dce3=_0x54fdff['get'](d),_0x4955a4=_0x61dce3['repository'];let _0x444715=_0x61dce3['diff']['newRevisionId'],_0x261fb1=_0x699ac2['id'];_0x4955a4['getIndex'](_0x444715)>_0x4955a4['getIndex'](_0x261fb1)&&([_0x444715,_0x261fb1]=[_0x261fb1,_0x444715]),_0x61dce3['compare'](_0x444715,_0x261fb1);},'isVisible':({plugins:_0x5c95f2},_0x18b363)=>{const _0xe45714=_0x5c95f2['get'](d);return!(_0xe45714['repository']['getRevisionsInDiff'](_0xe45714['diff'])['length']>0x2)&&!_0x18b363['isSelected'];}},'restoreRevision':{'name':'Restore\x20this\x20revision','action':(_0x1c9ff4,{id:_0x41fbe7})=>{_0x1c9ff4['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x41fbe7);},'isVisible':({plugins:_0x5543fa},_0x592d39)=>!!_0x5543fa['get'](d)['repository']['getLaterVisibleRevision'](_0x592d39['id'])},'nameRevision':{'name':'Name\x20this\x20revision','action':({plugins:_0x2f28b2},{id:_0x58ee82,revisionNameView:_0x165f19})=>{const _0x46e2ff=_0x2f28b2['get'](d),_0x3b8c70=_0x46e2ff['repository']['getEarlierVisibleRevision'](_0x58ee82);_0x46e2ff['compare'](_0x58ee82,_0x3b8c70),_0x165f19['focus'](),_0x165f19['fieldView']['select']();}}},w['defaultRevisionActions']=['compareAgainstSelected','restoreRevision','nameRevision'];class ot extends ht{get['view'](){return this['_view'];}get['element'](){return this['view']['element'];}['init'](_0x18eb69){const _0x573728=this['editor'],_0x5154c0=this['view'],_0x1a1868=_0x573728['editing']['view'],_0x1663ed=_0x5154c0['editable'],_0x54bbf1=_0x1a1868['document']['getRoot']();_0x1663ed['name']=_0x54bbf1['rootName'],_0x5154c0['render']();const _0x317966=_0x1663ed['element'];this['setEditableElement'](_0x1663ed['name'],_0x317966),_0x5154c0['editable']['bind']('isFocused')['to'](this['focusTracker']),_0x1a1868['attachDomRoot'](_0x317966),this['_elementReplacer']['replace'](_0x18eb69,this['element']),this['_initToolbar'](),this['fire']('ready');}['destroy'](){super['destroy']();const _0x1fefe2=this['view'],_0x1cd0bb=this['editor']['editing']['view'];this['_elementReplacer']['restore'](),_0x1cd0bb['detachDomRoot'](_0x1fefe2['editable']['name']),_0x1fefe2['destroy']();}['_initToolbar'](){const _0x1ad0b9=this['view'];_0x1ad0b9['stickyPanel']['bind']('isActive')['to'](this['focusTracker'],'isFocused'),_0x1ad0b9['stickyPanel']['limiterElement']=_0x1ad0b9['element'],_0x1ad0b9['stickyPanel']['bind']('viewportTopOffset')['to'](this,'viewportOffset',({top:_0xe74f7a})=>_0xe74f7a),_0x1ad0b9['toolbar']['fillFromConfig'](this['_toolbarConfig'],this['componentFactory']),this['addToolbar'](_0x1ad0b9['toolbar']);}constructor(_0x2e8cf7,_0x58e666){super(_0x2e8cf7),this['_view']=_0x58e666,this['_toolbarConfig']=ct(_0x2e8cf7['config']['get']('toolbar')),this['_elementReplacer']=new nt();}}class at extends dt{get['editable'](){return this['_editable'];}['render'](){super['render'](),this['stickyPanel']['content']['add'](this['toolbar']),this['top']['add'](this['stickyPanel']),this['main']['add'](this['editable']);}constructor(_0x442ba2,_0x18af4b,_0x2c7d99={}){super(_0x442ba2),this['stickyPanel']=new lt(_0x442ba2),this['toolbar']=new pt(_0x442ba2,{'shouldGroupWhenFull':_0x2c7d99['shouldToolbarGroupWhenFull']}),this['_editable']=new ut(_0x442ba2,_0x18af4b);}}class m extends rt(st(it)){get['ui'](){return this['_ui'];}['destroy'](){return this['updateSourceElement'](),this['ui']['destroy'](),super['destroy']();}static async['create'](_0x1a5d04,_0x10ffc0){const _0x40b1d8=new this(_0x1a5d04,_0x10ffc0);return await _0x40b1d8['initPlugins'](),await _0x40b1d8['ui']['init'](_0x1a5d04),await _0x40b1d8['data']['init'](_0x40b1d8['config']['get']('initialData')||''),_0x40b1d8['fire']('ready'),_0x40b1d8;}constructor(_0xf6d290,_0x4c9288){super(_0x4c9288),this['sourceElement']=_0xf6d290,this['model']['document']['createRoot']();const _0x472a07=new at(this['locale'],this['editing']['view'],{'shouldToolbarGroupWhenFull':!0x0});this['_ui']=new ot(this,_0x472a07);}}const g=['RevisionHistoryUI','RestrictedEditingMode'];class k extends _0xf14552{static get['pluginName'](){return'RevisionViewerIntegration';}constructor(_0x553568){super(_0x553568),this['result']='end';}}class H extends _0xf14552{static get['pluginName'](){return'RevisionHistory';}static get['requires'](){return[l,u];}set['adapter'](_0x3d84bc){this['editor']['plugins']['get']('RevisionTracker')['adapter']=_0x3d84bc;}get['adapter'](){return this['editor']['plugins']['get']('RevisionTracker')['adapter'];}['addRevisionData'](_0x28aaad){return this['editor']['plugins']['get']('RevisionTracker')['addRevisionData'](_0x28aaad);}['getRevision'](_0x4123e1){return this['editor']['plugins']['get']('RevisionsRepository')['getRevision'](_0x4123e1);}['getRevisions'](_0x4ddb9b={'toJSON':!0x1}){return this['editor']['plugins']['get']('RevisionsRepository')['getRevisions'](_0x4ddb9b);}['_getRevisionViewerEditorConfig'](){const _0x5b7097=this['editor'],_0x5bc6dc=_0x23b232(_0x5b7097,g),_0x5398f7=_0x5b7097['plugins']['get']('RevisionTracker'),_0x131f35=_0x5b7097['plugins']['get']('Users')['users'];return _0x5bc6dc['toolbar']=['exitToEditing','restoreRevision','changesNavigation'],delete _0x5bc6dc['lazyRoots'],(_0x5bc6dc['plugins']['push'](k,d,R,class extends _0xf14552{static get['requires'](){return[d,'Users'];}['init'](){const _0x460809=this['editor']['plugins']['get']('Users');for(const _0x5903a1 of _0x131f35)_0x5903a1['isAnonymous']||_0x460809['getUser'](_0x5903a1['id'])||_0x460809['addUser'](_0x5903a1);const _0x4aa035=_0x5398f7['repository']['getRevisions']();let _0x1d1899=null;const _0x86c47a=this['editor']['plugins']['get']('RevisionViewer');_0x86c47a['adapter']=_0x5398f7['adapter'],_0x86c47a['bind']('isEnabled')['to'](_0x5398f7),this['editor']['commands']['get']('restoreRevision')['bind']('isEnabled')['to'](_0x5b7097,'isReadOnly',_0x86f7c0=>!_0x86f7c0);for(const _0x1d7ff9 of _0x4aa035){const _0x19cfd7=null===_0x1d7ff9['creator'];if(_0x19cfd7&&_0x1d7ff9['toVersion']===_0x1d7ff9['fromVersion'])continue;const _0x5673e7=_0x1d7ff9['toJSON']();_0x86c47a['addRevisionData'](_0x5673e7,(_0x3a779e,_0x4e63d2,_0x53917c)=>{if(_0x19cfd7){if(_0x1d1899)_0x1d1899['_update'](_0x3a779e,_0x4e63d2);else{if(!_0x4e63d2){const _0x47daee=_0x53917c['toJSON']();_0x47daee['id']=_0x522efc(),_0x5398f7['saveRevision'](_0x47daee,_0x53917c['toVersion'])['then'](_0x384f06=>{_0x1d1899=_0x384f06;});}}}else _0x1d7ff9['_update'](_0x3a779e,_0x4e63d2);});}}},w),_0x5bc6dc);}['_enhanceShowRevisionViewerCallback'](){const _0x3c3558=this['editor']['config']['get']('revisionHistory')['showRevisionViewerCallback'];this['editor']['config']['set']('revisionHistory.showRevisionViewerCallback',async()=>{this['editor']['enableReadOnlyMode']('revision-history-viewer-opened');const _0x3f43bc=this['editor']['plugins']['get']('RevisionTracker');if(this['editor']['plugins']['has']('Autosave')){const _0x4cfda8=this['editor']['plugins']['get']('Autosave');await _0x4cfda8['save']();}else await _0x3f43bc['update']();this['editor']['plugins']['has']('PaginationLookup')&&this['editor']['plugins']['get']('PaginationLookup')['_recalculatePageBreaks']();const _0x551687=this['_getRevisionViewerEditorConfig']();return _0x3c3558(_0x551687)['then'](_0xfe11b0=>{return(this['_viewerEditor']=_0xfe11b0,this['editor']['plugins']['has']('Annotations'))&&this['editor']['plugins']['get']('Annotations')['refreshVisibility'](),_0xfe11b0;})['catch'](_0x327893=>(console['error'](_0x327893),this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),null));});}['_enhanceCloseRevisionViewerCallback'](){const _0x3cb03d=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'](),_0x3cb03d(this['_viewerEditor'])['then'](()=>{if(this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),this['_viewerEditor']=null,this['editor']['plugins']['has']('Annotations')){const _0x2b64db=this['editor']['plugins']['get']('Annotations');_0x2b64db['refreshVisibility'](),_0x2b64db['refreshPositioning']();}})));}['_showRevisionViewer'](_0x3bb83b){const _0x5a97bc=this['editor']['config']['get']('revisionHistory.editorContainer'),_0x2e9204=this['editor']['config']['get']('revisionHistory.viewerContainer'),_0x35a6b3=this['editor']['config']['get']('revisionHistory.viewerEditorElement');return m['create'](_0x35a6b3,_0x3bb83b)['then'](_0x1b11eb=>(_0x2e9204['style']['display']='block',_0x5a97bc['style']['display']='none',_0x1b11eb));}['_closeRevisionViewer'](_0x1d7401){const _0x1f6be4=this['editor']['config']['get']('revisionHistory.editorContainer');return this['editor']['config']['get']('revisionHistory.viewerContainer')['style']['display']='none',_0x1f6be4['style']['display']='',_0x1d7401['destroy']();}async['_restoreRevision'](_0xc0dfba){const _0x4352cf=this['editor'],_0x30ab9c=this['_viewerEditor']['plugins']['get']('RevisionViewer'),_0x402919=_0x4352cf['plugins']['get']('RevisionTracker'),_0x44db15=_0x30ab9c['repository']['getRevision'](_0xc0dfba);let _0x3ea868,_0x7de897,_0x2367f0;try{_0x3ea868=await _0x30ab9c['getRevisionData'](_0x44db15),_0x7de897=await _0x30ab9c['getRevisionRootsAttributes'](_0x44db15);}catch(_0x1db317){return void console['error'](_0x1db317);}_0x4352cf['model']['change'](_0x29fbc4=>{for(const _0x1257c1 of Array['from'](_0x4352cf['model']['markers']['getMarkersGroup']('restrictedEditingException')))_0x29fbc4['removeMarker'](_0x1257c1);}),_0x30ab9c['isReady']=!0x1,_0x4352cf['model']['enqueueChange'](_0xdec9cf=>{_0xdec9cf['setSelection'](null),_0xdec9cf['removeSelectionAttribute'](_0x4352cf['model']['document']['selection']['getAttributeKeys']());const _0x2d2a1e=Object['keys'](_0x3ea868);for(const _0x176ad7 of _0x4352cf['model']['document']['roots'])'$graveyard'!=_0x176ad7['rootName']&&_0x176ad7['isAttached']()&&!_0x2d2a1e['includes'](_0x176ad7['rootName'])&&_0xdec9cf['detachRoot'](_0x176ad7);for(const _0x54bfa1 of _0x2d2a1e){let _0x373c4c=_0x4352cf['model']['document']['getRoot'](_0x54bfa1);_0x373c4c&&_0x373c4c['isAttached']()||(_0x373c4c=_0xdec9cf['addRoot'](_0x54bfa1));const _0x4438a0=_0x7de897[_0x54bfa1],_0x2ee8fb=Object['keys'](_0x4438a0),_0x2d0148=_0x3ea868[_0x54bfa1];for(const _0x1097fb of _0x373c4c['getAttributeKeys']())_0x2ee8fb['includes'](_0x1097fb)||_0xdec9cf['removeAttribute'](_0x1097fb,_0x373c4c);for(const _0x5ae4ef of _0x2ee8fb)_0xdec9cf['setAttribute'](_0x5ae4ef,_0x7de897[_0x54bfa1][_0x5ae4ef],_0x373c4c);_0xdec9cf['remove'](_0xdec9cf['createRangeIn'](_0x373c4c)),_0xdec9cf['insert'](_0x4352cf['data']['parse'](_0x2d0148,_0x373c4c),_0x373c4c,0x0);}});const _0x53efab=y(_0x4352cf['locale'],'Restored');if(_0x44db15['name'])_0x2367f0=-0x1==_0x44db15['name']['indexOf'](_0x53efab)?_0x53efab+':\x20'+_0x44db15['name']:_0x44db15['name'];else _0x2367f0=_0x53efab+':\x20'+(_0x44db15['createdAt']['toLocaleDateString'](_0x4352cf['locale']['uiLanguage'],{'month':'long','day':'numeric'})+',\x20'+_0x44db15['createdAt']['toLocaleTimeString'](_0x4352cf['locale']['uiLanguage'],{'hour':'numeric','minute':'numeric'}));return await _0x402919['saveRevision']({'name':_0x2367f0}),_0x30ab9c['isReady']=!0x0,_0x4352cf['config']['get']('revisionHistory')['closeRevisionViewerCallback']();}constructor(_0x5ebb0a){if(super(_0x5ebb0a),!this['editor']['config']['get']('revisionHistory'))throw new _0x417339('revision-history-missing-configuration',this);this['_viewerEditor']=null,this['editor']['config']['define']('revisionHistory.showRevisionViewerCallback',_0x5b7ad7=>this['_showRevisionViewer']({..._0x5b7ad7,'translations':this['editor']['locale']['translations']})),this['editor']['config']['define']('revisionHistory.closeRevisionViewerCallback',_0x453b8b=>this['_closeRevisionViewer'](_0x453b8b)),this['editor']['config']['define']('revisionHistory.restoreRevisionCallback',_0x202a9a=>this['_restoreRevision'](_0x202a9a)),this['editor']['config']['define']('revisionHistory.requireRevisionName',!0x1),this['_enhanceShowRevisionViewerCallback'](),this['_enhanceCloseRevisionViewerCallback']();}}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};
23
+ import{Plugin as _0x1a4f26,Context as _0x28dad5,PendingActions as _0x589d51,icons as _0x9e16d1,Command as _0x25c37e,DataApiMixin as rt,ElementApiMixin as st,Editor as it}from'@ckeditor/ckeditor5-core/dist/index.js';import{ObservableMixin as _0x1a2b9d,uid as _0x21dc68,Collection as _0x1ca604,logWarning as _0x23c81d,FocusTracker as _0x5829fc,KeystrokeHandler as _0x139b2a,scrollViewportToShowTarget as _0x45a06b,ResizeObserver as kt,ElementReplacer as nt,CKEditorError as _0x19cbf3}from'@ckeditor/ckeditor5-utils/dist/index.js';import{Users as _0x302f49,getMarkerDomElement as _0x4fdf92,ConfirmMixin as _0x50c98b,sanitizeEditorConfig as _0x4f7449}from'ckeditor5-collaboration/dist/index.js';import{ViewDocumentFragment as _0x257c5f,ViewText as _0x23172e,ViewElement as _0x51bfd7,Element as ft,Range as gt,Position as wt,DocumentFragment as _t,ViewContainerElement as _0x2ebf66,ViewAttributeElement as _0x3b3544,ViewEmptyElement as _0x4347dc,ViewRawElement as _0x5c62e1,ViewUIElement as _0x41d19c,Text as yt}from'@ckeditor/ckeditor5-engine/dist/index.js';import{cloneDeep as _0x295020,set as _0x573ba6,unset as _0xc603a0,isEqual as _0x3e3dbc}from'lodash-es';import{View as _0x1795ad,submitHandler as _0x9b67fe,LabeledFieldView as mt,createLabeledInputText as _0x30f5e5,injectCssTransitionDisabler as ts,createDropdown as _0x95f360,ListView as te,ListItemView as _0x358ac0,ButtonView as _0x480d33,MenuBarMenuView as _0x223ffc,MenuBarMenuListView as _0x4119ec,MenuBarMenuListItemView as _0x248f43,MenuBarMenuListItemButtonView as _0x63f864,ContextualBalloon as _0x31c7aa,ToolbarSeparatorView as _0x2ca92e,IconView as _0x163761,addListToDropdown as _0x501e6b,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 _0x4784f2}from'luxon';class a extends _0x1a2b9d(){['setName'](_0x22773b){this['_update']({'name':_0x22773b});}['setAttribute'](_0x55bbd4,_0x570a3b){const _0xfdf9d0=_0x295020(this['attributes']);_0x573ba6(_0xfdf9d0,_0x55bbd4,_0x570a3b),this['_update']({'attributes':_0xfdf9d0});}['removeAttribute'](_0x12e84f){const _0x46d99b=_0x295020(this['attributes']);_0xc603a0(_0x46d99b,_0x12e84f),this['_update']({'attributes':_0x46d99b});}['_update'](_0x50838e,_0x17e682=!0x1){let _0x4655f3=!0x1;const _0x280f34={'id':this['id']},_0x30d4c1=['name','createdAt','diffData','authors','attributes','toVersion','fromVersion','creatorId'];for(const _0x5847c6 of _0x30d4c1){const _0x5231f2=_0x50838e[_0x5847c6];void 0x0!==_0x5231f2&&_0x5231f2!==this[_0x5847c6]&&(this[_0x5847c6]=_0x5231f2,_0x280f34[_0x5847c6]=_0x5231f2,_0x4655f3=!0x0);}_0x4655f3&&(_0x280f34['authors']&&(_0x280f34['authorsIds']=_0x280f34['authors']['map'](_0x59ab81=>_0x59ab81['id']),delete _0x280f34['authors']),this['fire']('_update',_0x280f34,_0x17e682));}['toJSON'](){return{'id':this['id'],'name':this['name'],'creatorId':this['creator']?this['creator']['id']:null,'authorsIds':this['authors']['map'](_0x30e1ec=>_0x30e1ec['id']),'diffData':this['diffData'],'createdAt':this['createdAt'],'attributes':this['attributes'],'fromVersion':this['fromVersion'],'toVersion':this['toVersion']};}constructor(_0xe094b4){super(),this['id']=_0xe094b4['id']||_0x21dc68(),this['creator']=_0xe094b4['creator']||null,this['authors']=_0xe094b4['authors']||[],this['diffData']=_0xe094b4['diffData']||null,this['toVersion']=_0xe094b4['toVersion']||0x0,this['fromVersion']=_0xe094b4['fromVersion']||0x0,this['set']('name',_0xe094b4['name']||''),this['set']('createdAt',_0xe094b4['createdAt']||new Date()),this['set']('attributes',_0xe094b4['attributes']||{});}}class A extends _0x1a4f26{static get['requires'](){return[_0x302f49];}static get['pluginName'](){return'RevisionsRepository';}get['length'](){return this['_revisions']['length'];}['afterInit'](){!function(_0x27ef63){function _0x58f2d2(_0x10a079,_0x37fef1,_0x21528e){const _0x19c70b={};_0x19c70b[_0x592ba0([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])]={0x10:0xa,0x18:0xc,0x20:0xe},_0x19c70b[_0x592ba0([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],_0x19c70b[_0x592ba0([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],_0x19c70b[_0x592ba0([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],_0x19c70b[_0x592ba0([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],_0x19c70b[_0x592ba0([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],_0x19c70b[_0x592ba0([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],_0x19c70b[_0x592ba0([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],_0x19c70b[_0x592ba0([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],_0x19c70b[_0x592ba0([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],_0x19c70b[_0x592ba0([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 _0x10c9cb=new Uint8Array(0x10);for(let _0x156d77=0xf;_0x156d77>=0x0;--_0x156d77)_0x10c9cb[_0x156d77]=_0x21528e%0x100,_0x21528e=parseInt(_0x21528e/0x100);let _0x2ef224=null,_0x4c22d1=0x10;const _0x5752b0=new Uint8Array(_0x37fef1),_0x5f467e=[],_0x2d2189=[];_0x429acc();for(let _0x158c39=0x0;_0x158c39<_0x10a079[_0x592ba0([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x158c39++)0x10===_0x4c22d1&&(_0x2ef224=_0x12b3bc(_0x10c9cb),_0x4c22d1=0x0,_0x4dff13(_0x10c9cb)),_0x10a079[_0x158c39]^=_0x2ef224[_0x4c22d1++];return _0x10a079;function _0x128cb9(_0x5817a0){const _0x4f039f=[];for(let _0x22341a=0x0;_0x22341a<_0x5817a0[_0x592ba0([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x22341a+=0x4)_0x4f039f[_0x592ba0([0x70,0x75,0x73,0x68])](_0x5817a0[_0x22341a]<<0x18|_0x5817a0[_0x22341a+0x1]<<0x10|_0x5817a0[_0x22341a+0x2]<<0x8|_0x5817a0[_0x22341a+0x3]);return _0x4f039f;}function _0x4dff13(_0x205d6e){for(let _0x1923a9=0xf;_0x1923a9>=0x0;_0x1923a9--){if(0xff!==_0x205d6e[_0x1923a9]){_0x205d6e[_0x1923a9]++;break;}_0x205d6e[_0x1923a9]=0x0;}}function _0x12b3bc(_0x22c3a0){const _0x4e47b7=_0x5f467e[_0x592ba0([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x1,_0x1e384f=[0x0,0x0,0x0,0x0];let t=_0x128cb9(_0x22c3a0);for(let _0x2c8518=0x0;_0x2c8518<0x4;_0x2c8518++)t[_0x2c8518]^=_0x5f467e[0x0][_0x2c8518];for(let _0x34f451=0x1;_0x34f451<_0x4e47b7;_0x34f451++){for(let _0x426ad0=0x0;_0x426ad0<0x4;_0x426ad0++)_0x1e384f[_0x426ad0]=_0x19c70b[_0x592ba0([0x54,0x31])][t[_0x426ad0]>>0x18&0xff]^_0x19c70b[_0x592ba0([0x54,0x32])][t[(_0x426ad0+0x1)%0x4]>>0x10&0xff]^_0x19c70b[_0x592ba0([0x54,0x33])][t[(_0x426ad0+0x2)%0x4]>>0x8&0xff]^_0x19c70b[_0x592ba0([0x54,0x34])][0xff&t[(_0x426ad0+0x3)%0x4]]^_0x5f467e[_0x34f451][_0x426ad0];t=_0x1e384f[_0x592ba0([0x73,0x6c,0x69,0x63,0x65])]();}const _0x37a221=new Uint8Array(0x10);let _0x270b4c;for(let _0x34c84e=0x0;_0x34c84e<0x4;_0x34c84e++)_0x270b4c=_0x5f467e[_0x4e47b7][_0x34c84e],_0x37a221[0x4*_0x34c84e]=0xff&(_0x19c70b[_0x592ba0([0x53])][t[_0x34c84e]>>0x18&0xff]^_0x270b4c>>0x18),_0x37a221[0x4*_0x34c84e+0x1]=0xff&(_0x19c70b[_0x592ba0([0x53])][t[(_0x34c84e+0x1)%0x4]>>0x10&0xff]^_0x270b4c>>0x10),_0x37a221[0x4*_0x34c84e+0x2]=0xff&(_0x19c70b[_0x592ba0([0x53])][t[(_0x34c84e+0x2)%0x4]>>0x8&0xff]^_0x270b4c>>0x8),_0x37a221[0x4*_0x34c84e+0x3]=0xff&(_0x19c70b[_0x592ba0([0x53])][0xff&t[(_0x34c84e+0x3)%0x4]]^_0x270b4c);return _0x37a221;}function _0x429acc(){const _0x120c39=_0x19c70b[_0x592ba0([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])][_0x5752b0[_0x592ba0([0x6c,0x65,0x6e,0x67,0x74,0x68])]];for(let _0x76d590=0x0;_0x76d590<=_0x120c39;_0x76d590++)_0x5f467e[_0x592ba0([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]),_0x2d2189[_0x592ba0([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]);const _0x25b74f=0x4*(_0x120c39+0x1),_0x435a18=_0x5752b0[_0x592ba0([0x6c,0x65,0x6e,0x67,0x74,0x68])]/0x4,_0x39a7d9=_0x128cb9(_0x5752b0);let _0x532f44;for(let _0x5cdc71=0x0;_0x5cdc71<_0x435a18;_0x5cdc71++)_0x532f44=_0x5cdc71>>0x2,_0x5f467e[_0x532f44][_0x5cdc71%0x4]=_0x39a7d9[_0x5cdc71],_0x2d2189[_0x120c39-_0x532f44][_0x5cdc71%0x4]=_0x39a7d9[_0x5cdc71];let _0x3c2d5,_0x8cb49d=0x0,t=_0x435a18;for(;t<_0x25b74f;){_0x3c2d5=_0x39a7d9[_0x435a18-0x1],_0x39a7d9[0x0]^=_0x19c70b[_0x592ba0([0x53])][_0x3c2d5>>0x10&0xff]<<0x18^_0x19c70b[_0x592ba0([0x53])][_0x3c2d5>>0x8&0xff]<<0x10^_0x19c70b[_0x592ba0([0x53])][0xff&_0x3c2d5]<<0x8^_0x19c70b[_0x592ba0([0x53])][_0x3c2d5>>0x18&0xff]^_0x19c70b[_0x592ba0([0x72,0x63,0x6f,0x6e])][_0x8cb49d]<<0x18,_0x8cb49d+=0x1;for(let _0x6d2213=0x1;_0x6d2213<_0x435a18/0x2;_0x6d2213++)_0x39a7d9[_0x6d2213]^=_0x39a7d9[_0x6d2213-0x1];_0x3c2d5=_0x39a7d9[_0x435a18/0x2-0x1],_0x39a7d9[_0x435a18/0x2]^=_0x19c70b[_0x592ba0([0x53])][0xff&_0x3c2d5]^_0x19c70b[_0x592ba0([0x53])][_0x3c2d5>>0x8&0xff]<<0x8^_0x19c70b[_0x592ba0([0x53])][_0x3c2d5>>0x10&0xff]<<0x10^_0x19c70b[_0x592ba0([0x53])][_0x3c2d5>>0x18&0xff]<<0x18;for(let _0x5698fe=_0x435a18/0x2+0x1;_0x5698fe<_0x435a18;_0x5698fe++)_0x39a7d9[_0x5698fe]^=_0x39a7d9[_0x5698fe-0x1];let _0xbefe16,_0x3bb8a3,_0x3e1106=0x0;for(;_0x3e1106<_0x435a18&&t<_0x25b74f;)_0xbefe16=t>>0x2,_0x3bb8a3=t%0x4,_0x5f467e[_0xbefe16][_0x3bb8a3]=_0x39a7d9[_0x3e1106],_0x2d2189[_0x120c39-_0xbefe16][_0x3bb8a3]=_0x39a7d9[_0x3e1106++],t++;}for(let _0x5b04cd=0x1;_0x5b04cd<_0x120c39;_0x5b04cd++)for(let _0x4cafca=0x0;_0x4cafca<0x4;_0x4cafca++)_0x3c2d5=_0x2d2189[_0x5b04cd][_0x4cafca],_0x2d2189[_0x5b04cd][_0x4cafca]=_0x19c70b[_0x592ba0([0x55,0x31])][_0x3c2d5>>0x18&0xff]^_0x19c70b[_0x592ba0([0x55,0x32])][_0x3c2d5>>0x10&0xff]^_0x19c70b[_0x592ba0([0x55,0x33])][_0x3c2d5>>0x8&0xff]^_0x19c70b[_0x592ba0([0x55,0x34])][0xff&_0x3c2d5];}}function _0x592ba0(_0x2915a1){return _0x2915a1['map'](_0x214530=>String['fromCharCode'](_0x214530))['join']('');}(_0x291e89=>{function _0x22b616(){const _0x19758d=[{[_0x592ba0([0x69,0x64])]:0x1,[_0x592ba0([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x592ba0([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73]),[_0x592ba0([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x592ba0([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x592ba0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x592ba0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x592ba0([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x592ba0([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x592ba0([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]:[{[_0x592ba0([0x69,0x64])]:0x2,[_0x592ba0([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x592ba0([0x54,0x72,0x61,0x63,0x6b,0x20,0x43,0x68,0x61,0x6e,0x67,0x65,0x73]),[_0x592ba0([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x592ba0([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x592ba0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x592ba0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x592ba0([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x592ba0([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]),[_0x592ba0([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x592ba0([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x592ba0([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x592ba0([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}}],[_0x592ba0([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x592ba0([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x592ba0([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x592ba0([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x592ba0([0x69,0x64])]:0x3,[_0x592ba0([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x592ba0([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e]),[_0x592ba0([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x592ba0([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x6f,0x6f,0x6b,0x75,0x70]),[_0x592ba0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x592ba0([0x70,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x592ba0([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x592ba0([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x592ba0([0x69,0x64])]:0x4,[_0x592ba0([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x592ba0([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x20,0x48,0x69,0x73,0x74,0x6f,0x72,0x79]),[_0x592ba0([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x592ba0([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x592ba0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x592ba0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x592ba0([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x592ba0([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]),[_0x592ba0([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x592ba0([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x592ba0([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x592ba0([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x592ba0([0x69,0x64])]:0x5,[_0x592ba0([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x592ba0([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x20,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65]),[_0x592ba0([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x592ba0([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65,0x55,0x49]),[_0x592ba0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x592ba0([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]),[_0x592ba0([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x592ba0([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x592ba0([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x592ba0([0x66,0x67,0x69])]:[0xc]}},{[_0x592ba0([0x69,0x64])]:0x6,[_0x592ba0([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x592ba0([0x46,0x6f,0x72,0x6d,0x61,0x74,0x20,0x50,0x61,0x69,0x6e,0x74,0x65,0x72]),[_0x592ba0([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x592ba0([0x46,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x55,0x49]),[_0x592ba0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x592ba0([0x66,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x592ba0([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x592ba0([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x592ba0([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x592ba0([0x66,0x67,0x69])]:[0xc]}},{[_0x592ba0([0x69,0x64])]:0x7,[_0x592ba0([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x592ba0([0x53,0x6c,0x61,0x73,0x68,0x20,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64]),[_0x592ba0([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x592ba0([0x53,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x55,0x49]),[_0x592ba0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x592ba0([0x73,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x592ba0([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x592ba0([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x592ba0([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x592ba0([0x66,0x67,0x69])]:[0xc]}},{[_0x592ba0([0x69,0x64])]:0x8,[_0x592ba0([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x592ba0([0x54,0x61,0x62,0x6c,0x65,0x20,0x6f,0x66,0x20,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73]),[_0x592ba0([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x592ba0([0x54,0x61,0x62,0x6c,0x65,0x4f,0x66,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x592ba0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x592ba0([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]),[_0x592ba0([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x592ba0([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x592ba0([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x592ba0([0x66,0x67,0x69])]:[0xc]}},{[_0x592ba0([0x69,0x64])]:0x9,[_0x592ba0([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x592ba0([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65]),[_0x592ba0([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x592ba0([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x55,0x49]),[_0x592ba0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x592ba0([0x74,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x592ba0([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x592ba0([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x592ba0([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x592ba0([0x66,0x67,0x69])]:[0xc,0xe]}},{[_0x592ba0([0x69,0x64])]:0xa,[_0x592ba0([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x592ba0([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]),[_0x592ba0([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x592ba0([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]),[_0x592ba0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x592ba0([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]),[_0x592ba0([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x592ba0([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x592ba0([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x592ba0([0x66,0x67,0x69])]:[0xc]}},{[_0x592ba0([0x69,0x64])]:0xb,[_0x592ba0([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x592ba0([0x41,0x49,0x20,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74]),[_0x592ba0([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x592ba0([0x41,0x49,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74,0x55,0x49]),[_0x592ba0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x592ba0([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x592ba0([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x592ba0([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x592ba0([0x69,0x64])]:0xc,[_0x592ba0([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x592ba0([0x50,0x72,0x6f,0x64,0x75,0x63,0x74,0x69,0x76,0x69,0x74,0x79,0x20,0x70,0x61,0x63,0x6b])},{[_0x592ba0([0x69,0x64])]:0xd,[_0x592ba0([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x592ba0([0x43,0x61,0x73,0x65,0x20,0x43,0x68,0x61,0x6e,0x67,0x65]),[_0x592ba0([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x592ba0([0x43,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x55,0x49]),[_0x592ba0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x592ba0([0x63,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x592ba0([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x592ba0([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x592ba0([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x592ba0([0x66,0x67,0x69])]:[0xc]}},{[_0x592ba0([0x69,0x64])]:0xe,[_0x592ba0([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x592ba0([0x44,0x72,0x75,0x70,0x61,0x6c,0x20,0x70,0x61,0x63,0x6b]),[_0x592ba0([0x66,0x6f,0x72,0x62,0x69,0x64,0x64,0x65,0x6e,0x48,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x592ba0([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])},{[_0x592ba0([0x69,0x64])]:0xf,[_0x592ba0([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x592ba0([0x4d,0x75,0x6c,0x74,0x69,0x20,0x4c,0x65,0x76,0x65,0x6c,0x20,0x4c,0x69,0x73,0x74]),[_0x592ba0([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x592ba0([0x4d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x592ba0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x592ba0([0x6d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x592ba0([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x592ba0([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])}];return _0x200da4(_0x19758d),_0x19758d;function _0x2a0faf(_0x257bf0){return 0x1<<_0x257bf0-0x1;}function _0x200da4(_0x4668f6){_0x4668f6[_0x592ba0([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x177a21=>{_0x177a21[_0x592ba0([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]=_0x2a0faf(_0x177a21[_0x592ba0([0x69,0x64])]),_0x2def90(_0x177a21)&&_0x177a21[_0x592ba0([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x200da4(_0x177a21[_0x592ba0([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]);});}}function _0x2def90(_0x262575){return _0x592ba0([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])in _0x262575;}const _0x3296d9=[0x1,0x55,0x4e,0x73,0xc6,0xff,0x32,0x70,0x53,0x57,0xa1],_0x6c33c1=[0x7f,0x22,0x6,0xd3,0xa7,0x56,0x92,0xc7,0x84,0xa0,0x12];function _0x5d75ef(_0x4f0fe0){const _0x34803a=[0x1d,0xdd,0xaf,0x5a,0xe7,0x85,0xef,0xf0,0x4b,0xb4];return _0x1df272(_0x4f0fe0,new Uint8Array([..._0x3296d9,..._0x34803a,..._0x6c33c1]));}function _0x1df272(_0x39b35c,_0x1ff268){const _0xdfa38=_0x3bdb69(_0x39b35c),_0x5e3815=Array[_0x592ba0([0x66,0x72,0x6f,0x6d])](_0x3a583e(_0xdfa38)),_0x5b6c4b=_0x5e3815[_0x592ba0([0x70,0x6f,0x70])](),_0x4f8618=_0x5e3815[_0x592ba0([0x70,0x6f,0x70])]();return _0x45601a(_0x58f2d2(_0x5e3815,_0x1ff268,_0x4f8618+0x100*_0x5b6c4b));}function _0x3bdb69(_0x3a0db4){const _0x39034d=atob(_0x3a0db4),[_0x4ce686,_0x4ec848]=_0x39034d[_0x592ba0([0x73,0x70,0x6c,0x69,0x74])](_0x592ba0([0x2d]));try{if(atob(_0x4ec848))return atob(_0x4ce686);}catch(_0x1bdd26){}return _0x39034d;}function _0x5ed4cb(_0x38865f){try{const _0x244104=_0x5d75ef(_0x38865f),_0xc36e38=JSON[_0x592ba0([0x70,0x61,0x72,0x73,0x65])](_0x244104),_0x2e9ed9=parseInt(_0xc36e38[_0x592ba0([0x31])]),_0x225d05=_0xc36e38[_0x592ba0([0x32])]||'',_0x2eff1c=parseInt(_0xc36e38[_0x592ba0([0x33])]),_0x409333=parseInt(_0xc36e38[_0x592ba0([0x34])])||0x0,_0x16f0e5=parseInt(_0xc36e38[_0x592ba0([0x35])])||0x0;return{[_0x592ba0([0x70,0x72,0x6f,0x64,0x75,0x63,0x74,0x4e,0x61,0x6d,0x65])]:_0x225d05,[_0x592ba0([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])]:_0x409333,[_0x592ba0([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]:_0x2e9ed9,[_0x592ba0([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]:_0x2eff1c,[_0x592ba0([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]:_0x16f0e5};}catch(_0x122de0){return null;}}const _0x194dce=_0x22b616(),_0x574371={[_0x592ba0([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])]:_0x2b547d,[_0x592ba0([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])]:_0xa255c0,[_0x592ba0([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])]:_0x35684e},_0x275f10=_0x291e89[_0x592ba0([0x63,0x6f,0x6e,0x73,0x74,0x72,0x75,0x63,0x74,0x6f,0x72])][_0x592ba0([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])],_0x171ee0=_0x592ba0([0x63,0x6f,0x6e,0x74,0x65,0x78,0x74])in _0x291e89?_0x291e89['context']:_0x291e89['editor'],_0x450351=_0x592ba0([0x34,0x30,0x34,0x38,0x31,0x30,0x30,0x38]),_0x1f3207=_0x592ba0([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]),_0x710ff3=_0x171ee0['config']['get'](_0x592ba0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x1ff8fb=_0x194dce[_0x592ba0([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2def90)[_0x592ba0([0x66,0x69,0x6e,0x64])](_0x2dbb3a=>_0x2dbb3a[_0x592ba0([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]===_0x275f10);function _0x5bd2a7(_0x45a4b5,_0x34d73a){_0x574371[_0x34d73a[_0x592ba0([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]](_0x45a4b5,_0x34d73a),_0x34d73a[_0x592ba0([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x34d73a[_0x592ba0([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])][_0x592ba0([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3abea8=>_0x2ab65a(_0x171ee0,_0x3abea8[_0x592ba0([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))[_0x592ba0([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x46d900=>_0x5bd2a7(_0x45a4b5,_0x46d900));}function _0x2b547d(_0x58697b,_0x305ba9){_0x5c9b95(_0x37656b(_0x58697b,_0x305ba9),_0x305ba9);}function _0xa255c0(_0xf0ba3,_0x535f0c){function _0x407b86(_0x2fa4fe,_0x2d293d){try{if(_0x2ab65a(_0x171ee0,_0x592ba0([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))&&_0x2fa4fe){const _0x9d352d=_0x536357(_0x171ee0,_0x592ba0([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))[_0x592ba0([0x5f,0x65,0x78,0x65,0x63,0x75,0x74,0x65,0x53,0x75,0x67,0x67,0x65,0x73,0x74,0x69,0x6f,0x6e])];if(parseInt(_0x9d352d)/0x2>_0x2fa4fe[_0x592ba0([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])])return _0x585289(_0x2d293d[_0x592ba0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x592ba0([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}return _0x37656b(_0x2fa4fe,_0x2d293d);}catch(_0x54ebeb){return _0x585289(_0x2d293d[_0x592ba0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x592ba0([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}_0x5c9b95(_0x407b86(_0xf0ba3,_0x535f0c),_0x535f0c);}function _0x35684e(_0x22907e,_0x354251){const _0x5c6c72=_0x6c33c1[0x0]*_0x3296d9[0x1],_0x1cba6b=_0x6c33c1[0x0]*_0x3296d9[0x2],_0xdb0458=_0x6c33c1[0x2]*_0x3296d9[0x2];_0x2ab65a(_0x171ee0,_0x592ba0([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x536357(_0x171ee0,_0x592ba0([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x592ba0([0x73,0x74,0x61,0x74,0x65])]==_0x592ba0([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&(window[_0x3f4bc5()]=_0xdb0458);function _0x38bdee(_0x3f9984,_0x4c32f7){try{return _0x55f7cd()?_0x585289(_0x4c32f7[_0x592ba0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x592ba0([0x56,0x61,0x6c,0x69,0x64])):_0x37656b(_0x3f9984,_0x4c32f7);}catch(_0x4e3991){return _0x585289(_0x4c32f7[_0x592ba0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x592ba0([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x535890(_0x26e01a,_0x22645e){const _0x25857a=0x7;if(_0x26e01a==_0x22645e[_0x592ba0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x592ba0([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]))_0x3f605e();else{if(_0x26e01a==_0x22645e[_0x592ba0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x592ba0([0x54,0x72,0x69,0x61,0x6c])){const _0x3ac3e8=_0x313c95();_0x3ac3e8&&_0x52ad25(_0x3ac3e8,_0x22645e[_0x592ba0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);const _0x52fce2=_0x5d19d9();window[_0x592ba0([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x52ad25(_0x592ba0([0x74,0x69,0x6d,0x65]),_0x22645e[_0x592ba0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);},_0x52fce2);const _0x4620cf=_0x536357(_0x171ee0,_0x592ba0([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x592ba0([0x5f,0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73])];_0x4620cf[_0x592ba0([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x25857a?_0x52ad25(_0x592ba0([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x22645e[_0x592ba0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]):_0x4620cf['on'](_0x592ba0([0x61,0x64,0x64]),()=>{_0x4620cf[_0x592ba0([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x25857a&&_0x52ad25(_0x592ba0([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x22645e[_0x592ba0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);});}}}function _0x313c95(){if(!_0x2ab65a(_0x171ee0,_0x592ba0([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x490892 in window)if(Number['isNaN'](Number(_0x490892))){if(window[_0x490892]===_0x5c6c72)return _0x592ba0([0x74,0x69,0x6d,0x65]);if(window[_0x490892]===_0x1cba6b)return _0x592ba0([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]);}return!0x1;}function _0x55f7cd(){if(!_0x2ab65a(_0x171ee0,_0x592ba0([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x244532 in window)if(Number['isNaN'](Number(_0x244532))&&window[_0x244532]===_0xdb0458)return!0x0;return!0x1;}function _0x52ad25(_0x80cbbe,_0x32a664){_0x3f605e(),_0x585289(_0x32a664+_0x592ba0([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a])+_0x80cbbe),window[_0x3f4bc5()]=_0x80cbbe===_0x592ba0([0x74,0x69,0x6d,0x65])?_0x5c6c72:_0x1cba6b;}function _0x5d19d9(){let _0x35f152=_0x6c33c1[0x6]*_0x3296d9[0x8]*_0x3296d9[0x6];return _0x2ab65a(_0x171ee0,_0x592ba0([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x35f152/=0xa),_0x35f152;}function _0x3f605e(){const _0x37fbff=_0x171ee0;function _0x5efe50(){_0x2ab65a(_0x37fbff,_0x592ba0([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&(_0x536357(_0x37fbff,_0x592ba0([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x592ba0([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x592ba0([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x536357(_0x37fbff,_0x592ba0([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x592ba0([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x536357(_0x37fbff,_0x592ba0([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x592ba0([0x75,0x70,0x64,0x61,0x74,0x65])]=_0x59a4e8,_0x536357(_0x37fbff,_0x592ba0([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x592ba0([0x73,0x61,0x76,0x65,0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e])]=_0x59a4e8,_0x37fbff[_0x592ba0([0x6d,0x6f,0x64,0x65,0x6c])][_0x592ba0([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x59a4e8,_0x37fbff[_0x592ba0([0x6d,0x6f,0x64,0x65,0x6c])][_0x592ba0([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x59a4e8,_0x37fbff[_0x592ba0([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x592ba0([0x6d,0x6f,0x64,0x65,0x6c]))),_0x2ab65a(_0x37fbff,_0x592ba0([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x536357(_0x37fbff,_0x592ba0([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x592ba0([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x592ba0([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x536357(_0x37fbff,_0x592ba0([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x592ba0([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x536357(_0x37fbff,_0x592ba0([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x592ba0([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])]=_0x59a4e8,_0x536357(_0x37fbff,_0x592ba0([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x592ba0([0x5f,0x67,0x65,0x74,0x44,0x69,0x66,0x66])]=_0x59a4e8);}_0x37fbff[_0x592ba0([0x73,0x74,0x61,0x74,0x65])]==_0x592ba0([0x72,0x65,0x61,0x64,0x79])?_0x5efe50():_0x37fbff[_0x592ba0([0x6f,0x6e,0x63,0x65])](_0x592ba0([0x72,0x65,0x61,0x64,0x79]),()=>{if(_0x2ab65a(_0x37fbff,_0x592ba0([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&_0x5efe50(),_0x2ab65a(_0x37fbff,_0x592ba0([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))){const _0x7d5e72=_0x536357(_0x37fbff,_0x592ba0([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79])),_0x4fc701=_0x7d5e72['getRevision'](0x0),_0x41a6de=_0x7d5e72['getEarlierVisibleRevision'](_0x4fc701[_0x592ba0([0x69,0x64])]);_0x536357(_0x37fbff,_0x592ba0([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x592ba0([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])](_0x4fc701[_0x592ba0([0x69,0x64])],_0x41a6de?_0x41a6de[_0x592ba0([0x69,0x64])]:null,0x1)['then'](()=>_0x5efe50());}});}_0x535890(_0x38bdee(_0x22907e,_0x354251),_0x354251);}function _0x37656b(_0x5ff21a,_0x15bc65){try{return _0x9e38f(_0x15bc65)?_0x585289(_0x15bc65[_0x592ba0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x592ba0([0x56,0x61,0x6c,0x69,0x64])):_0x5ff21a&&_0x5ec2ec(_0x5ff21a[_0x592ba0([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])],_0x15bc65)?_0x5ff21a[_0x592ba0([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]&&!window[_0x592ba0([0x6f,0x70,0x65,0x6e])][_0x592ba0([0x63,0x6c,0x6f,0x73,0x65,0x64])]||parseInt(_0x450351)/0x2>_0x5ff21a[_0x592ba0([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]?_0x585289(_0x15bc65[_0x592ba0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x592ba0([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])):_0x5ff21a[_0x592ba0([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]?_0x585289(_0x15bc65[_0x592ba0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x592ba0([0x54,0x72,0x69,0x61,0x6c])):_0x585289(_0x15bc65[_0x592ba0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x592ba0([0x56,0x61,0x6c,0x69,0x64])):_0x585289(_0x15bc65[_0x592ba0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x592ba0([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}catch(_0x1cd069){return _0x585289(_0x15bc65[_0x592ba0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x592ba0([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x5c9b95(_0x249c91,_0x4bc917){if(_0x171ee0 instanceof _0x28dad5){const _0x3c72d4=_0x171ee0;_0x249c91==_0x4bc917[_0x592ba0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x592ba0([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x48df59(_0x3c72d4):_0x249c91==_0x4bc917[_0x592ba0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x592ba0([0x54,0x72,0x69,0x61,0x6c])&&window[_0x592ba0([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x48df59(_0x3c72d4),_0x585289(_0x4bc917[_0x592ba0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x592ba0([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65]));},_0x6c33c1[0x6]*_0x3296d9[0x8]*_0x3296d9[0x6]),_0x3c72d4[_0x592ba0([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])][_0x592ba0([0x6f,0x6e])](_0x592ba0([0x61,0x64,0x64]),(_0x1ee56c,_0x409891)=>{_0x249c91!=_0x4bc917[_0x592ba0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x592ba0([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])&&_0x249c91!=_0x4bc917[_0x592ba0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x592ba0([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65])&&_0x249c91!=_0x4bc917[_0x592ba0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x592ba0([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])||_0x74c73c(_0x409891);});}else{const _0x222731=_0x171ee0;_0x249c91==_0x4bc917[_0x592ba0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x592ba0([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x74c73c(_0x222731):_0x249c91==_0x4bc917[_0x592ba0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x592ba0([0x54,0x72,0x69,0x61,0x6c])&&_0x222731[_0x592ba0([0x6f,0x6e])](_0x592ba0([0x72,0x65,0x61,0x64,0x79]),()=>{let _0x36c5e0=0x0;_0x222731[_0x592ba0([0x6d,0x6f,0x64,0x65,0x6c])][_0x592ba0([0x6f,0x6e])](_0x592ba0([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x12e4ff,_0x8cf755)=>{_0x8cf755[0x0][_0x592ba0([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x36c5e0++,0x1f8===_0x36c5e0&&(_0x74c73c(_0x222731),_0x585289(_0x4bc917[_0x592ba0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x592ba0([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])),_0x12e4ff[_0x592ba0([0x6f,0x66,0x66])]());},{'priority':_0x592ba0([0x68,0x69,0x67,0x68,0x65,0x73,0x74])});});}}function _0x585289(_0x25bd6c){const _0x379e73=_0x3f4bc5();return _0x171ee0[_0x379e73]=_0x25bd6c,_0x25bd6c;}function _0x3f4bc5(){const _0x414508=String(window[_0x592ba0([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x592ba0([0x6e,0x6f,0x77])]())[_0x592ba0([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x592ba0([0x2e]),'');let _0x318e45='';for(let _0x5af100=0x0;_0x5af100<_0x414508[_0x592ba0([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5af100+=0x2){let _0xb72403=parseInt(_0x414508[_0x592ba0([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5af100,_0x5af100+0x2));_0xb72403>=_0x1f3207[_0x592ba0([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0xb72403-=_0x1f3207[_0x592ba0([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x318e45+=_0x1f3207[_0xb72403];}return _0x318e45;}function _0x48df59(_0x7fc431){for(const _0x19fce7 of _0x7fc431[_0x592ba0([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])])_0x74c73c(_0x19fce7);_0x536357(_0x7fc431,_0x592ba0([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x592ba0([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])](!0x0),_0x536357(_0x7fc431,_0x592ba0([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x592ba0([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])]=_0x59a4e8;}function _0x74c73c(_0x9eb7bb){function _0x36940a(){_0x9eb7bb[_0x592ba0([0x6d,0x6f,0x64,0x65,0x6c])][_0x592ba0([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x59a4e8,_0x9eb7bb[_0x592ba0([0x6d,0x6f,0x64,0x65,0x6c])][_0x592ba0([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x59a4e8,_0x9eb7bb[_0x592ba0([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x592ba0([0x6d,0x6f,0x64,0x65,0x6c]));}_0x9eb7bb[_0x592ba0([0x73,0x74,0x61,0x74,0x65])]==_0x592ba0([0x72,0x65,0x61,0x64,0x79])?_0x36940a():_0x9eb7bb[_0x592ba0([0x6f,0x6e,0x63,0x65])](_0x592ba0([0x72,0x65,0x61,0x64,0x79]),()=>_0x36940a());}function _0x59a4e8(){return null;}function _0x5ec2ec(_0x316012,_0x8d6e11){const _0x2b4933=!!(_0x316012&_0x8d6e11[_0x592ba0([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]),_0x568349=_0x27f540(_0x316012,_0x8d6e11);return _0x2b4933||_0x568349;}function _0x27f540(_0x3e7dfb,_0x14627f){const _0x41f1ce=(_0x14627f[_0x592ba0([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{})[_0x592ba0([0x66,0x67,0x69])]||null;return!!_0x41f1ce&&_0x194dce[_0x592ba0([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1bdd53=>_0x41f1ce[_0x592ba0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1bdd53[_0x592ba0([0x69,0x64])]))[_0x592ba0([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x404e2f=>!_0x3a896e(_0x404e2f))[_0x592ba0([0x73,0x6f,0x6d,0x65])](_0x59abc6=>!!(_0x3e7dfb&_0x59abc6[_0x592ba0([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]));}function _0x3a896e(_0x316567){const _0x1ca7a9={[_0x592ba0([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])]:_0x383c48};return!!_0x316567['forbiddenHandler']&&_0x1ca7a9[_0x316567['forbiddenHandler']]();}function _0x383c48(){return!window[_0x592ba0([0x44,0x72,0x75,0x70,0x61,0x6c])]||!_0x2ab65a(_0x171ee0,_0x592ba0([0x64,0x72,0x75,0x70,0x61,0x6c,0x50,0x6f,0x77,0x65,0x72,0x65,0x64,0x42,0x79]));}function _0x9e38f(_0x2b4f6e){if(!_0x2ab65a(_0x171ee0,_0x2b4f6e[_0x592ba0([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))return!0x0;const _0x17514c=_0x2b4f6e[_0x592ba0([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{},_0x4b972a=_0x17514c[_0x592ba0([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]||!0x1,_0x21496f=_0x17514c[_0x592ba0([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]||!0x1,_0x25ca08=_0x17514c[_0x592ba0([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]||!0x1;if(_0x2ab65a(_0x171ee0,_0x592ba0([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x536357(_0x171ee0,_0x592ba0([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x592ba0([0x73,0x74,0x61,0x74,0x65])]==_0x592ba0([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&_0x4b972a)return!0x0;if(_0x2ab65a(_0x171ee0,_0x592ba0([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))&&_0x536357(_0x171ee0,_0x592ba0([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))[_0x592ba0([0x72,0x65,0x73,0x75,0x6c,0x74])]==_0x592ba0([0x65,0x6e,0x64])&&_0x21496f)return!0x0;return!(!_0x2ab65a(_0x171ee0,_0x592ba0([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]))||_0x536357(_0x171ee0,_0x592ba0([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]))[_0x592ba0([0x72,0x65,0x73,0x75,0x6c,0x74])]!=_0x592ba0([0x65,0x6e,0x64])||!_0x25ca08);}function _0x2ab65a(_0xc107e9,_0x1f4734){return _0xc107e9[_0x592ba0([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x592ba0([0x68,0x61,0x73])](_0x1f4734);}function _0x536357(_0x1f83e4,_0x162d77){return _0x1f83e4[_0x592ba0([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x592ba0([0x67,0x65,0x74])](_0x162d77);}function _0x45601a(_0x8b0128){let _0x1a45f2='';for(const _0x3140e0 of _0x8b0128)_0x1a45f2+=String[_0x592ba0([0x66,0x72,0x6f,0x6d,0x43,0x68,0x61,0x72,0x43,0x6f,0x64,0x65])](_0x3140e0);return _0x1a45f2;}function _0x3a583e(_0x132296){const _0x299271=new Uint8Array(_0x132296[_0x592ba0([0x6c,0x65,0x6e,0x67,0x74,0x68])]);for(let _0x3c020c=0x0;_0x3c020c<_0x132296[_0x592ba0([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3c020c++)_0x299271[_0x3c020c]=_0x132296[_0x592ba0([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x3c020c);return _0x299271;}_0x1ff8fb&&_0x5bd2a7(_0x5ed4cb(_0x710ff3),_0x1ff8fb);})(_0x27ef63);}(this);}['createRevision'](_0x48d75d){const _0x115b91=this['editor']['plugins']['get']('Users');return new a({'id':_0x48d75d['id'],'name':_0x48d75d['name'],'creator':_0x48d75d['creatorId']?_0x115b91['getUser'](_0x48d75d['creatorId']):null,'diffData':_0x48d75d['diffData']||_0x48d75d['data'],'authors':_0x48d75d['authorsIds']['map'](_0x48e24e=>_0x115b91['getUser'](_0x48e24e)),'createdAt':new Date(_0x48d75d['createdAt']),'attributes':_0x48d75d['attributes'],'fromVersion':_0x48d75d['fromVersion'],'toVersion':_0x48d75d['toVersion']});}['addRevision'](_0x45b883,_0x5be96f=0x0){this['_revisions']['add'](_0x45b883,_0x5be96f);}['getRevision'](_0x2dcc25){return this['_revisions']['get'](_0x2dcc25);}['getRevisions'](_0x43397b={'toJSON':!0x1}){const _0x5da9c6=Array['from'](this['_revisions']);return _0x5da9c6['reverse'](),_0x43397b['toJSON']?_0x5da9c6['map'](_0x242b28=>_0x242b28['toJSON']()):_0x5da9c6;}['getIndex'](_0x2ad7a2){return this['_revisions']['getIndex'](_0x2ad7a2);}['getEarlierVisibleRevision'](_0x399618){const [,_0x17bb63]=this['getRevisionsIterator'](_0x399618,{'direction':'earlier'});return _0x17bb63;}['getLaterVisibleRevision'](_0x7fe915){const [,_0x5dd2b9]=this['getRevisionsIterator'](_0x7fe915,{'direction':'later'});return _0x5dd2b9;}['getRevisionsInDiff'](_0x3db4bb){const _0x5933aa=[];for(const _0x55c8f8 of this['getRevisionsIterator'](_0x3db4bb['newRevisionId']))if(_0x5933aa['push'](_0x55c8f8),_0x55c8f8['id']===_0x3db4bb['oldRevisionId'])break;return _0x5933aa;}*['getRevisionsIterator'](_0x3f5b18,{direction:_0x2ab4c8='earlier',filter:_0x517564=_0x93ce61=>!0x0}={}){const _0x31428a='earlier'===_0x2ab4c8?0x1:-0x1;let _0xfd4808=this['_revisions']['get'](_0x3f5b18),_0x54fa64=this['getIndex'](_0xfd4808);for(yield _0xfd4808;_0xfd4808;){if(_0x54fa64+=_0x31428a,_0xfd4808=this['getRevision'](_0x54fa64),!_0xfd4808)return;_0x517564(_0xfd4808)&&(yield _0xfd4808);}}constructor(_0x2c5a8f){super(_0x2c5a8f),this['_revisions']=new _0x1ca604();}}function y(_0x361cae,_0x10b40c,_0x4e31e3){const t=_0x361cae['t'];switch(_0x10b40c){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'},_0x4e31e3);case'X_OF_Y_CHANGES':return t({'string':'%0\x20of\x20%1','id':'X_OF_Y_CHANGES'},_0x4e31e3);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':_0x2ebf66,'a':_0x3b3544,'e':_0x4347dc,'r':_0x5c62e1,'u':_0x41d19c};class l extends _0x1a4f26{static get['pluginName'](){return'RevisionTracker';}static get['requires'](){return[_0x302f49,A,_0x589d51];}['init'](){this['repository']=this['editor']['plugins']['get']('RevisionsRepository'),this['_setConversion'](),this['editor']['data']['on']('ready',()=>{const _0x3d7a79=this['repository']['getRevision'](0x0),_0x406522=_0x3d7a79&&null===_0x3d7a79['creator']?_0x3d7a79:null;if(this['_continueCurrentRevision']=!!_0x406522&&this['editor']['config']['get']('revisionHistory.resumeUnsavedRevision'),this['editor']['plugins']['has']('RealTimeCollaborationClient')){const _0x269add=this['_source']['getCurrentRevisionId'](),_0x10443d=this['repository']['getRevision'](_0x269add);if(_0x10443d)this['_startingVersion']=_0x10443d['fromVersion'],this['_continueCurrentRevision']=!0x1;else{const _0x53118a=this['_source']['history']['_operations']['find'](_0x1c7eab=>!_0x1c7eab['_isInit']),_0x26f752=_0x53118a?_0x53118a['baseVersion']:this['_source']['history']['version'];_0x3d7a79?(_0x3d7a79['toVersion']<_0x26f752&&_0x3d7a79['_update']({'toVersion':_0x26f752}),this['_continueCurrentRevision']?(this['_source']['getCurrentRevisionId']=()=>_0x406522['id'],this['_startingVersion']=_0x406522['fromVersion']):(this['_startingVersion']=_0x3d7a79['toVersion'],this['_continueCurrentRevision']=!0x1)):(this['_startingVersion']=_0x26f752,this['_continueCurrentRevision']=!0x1);}}else _0x406522&&(this['editor']['model']['document']['history']['version']=Math['max'](_0x406522['toVersion'],this['editor']['model']['document']['history']['version']),_0x406522['fromVersion']===_0x406522['toVersion']?(0x0!==_0x406522['fromVersion']&&(this['_source']['getCurrentRevisionId']=()=>_0x406522['id']),this['_continueCurrentRevision']=!0x1):this['_continueCurrentRevision']&&(this['_source']['getCurrentRevisionId']=()=>_0x406522['id'],this['_startingVersion']=_0x406522['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',_0x3cee4=>!_0x3cee4);}async['afterInit'](){if(this['repository']['length']>0x0){const _0x30c0b1=this['repository']['getRevision'](0x0),_0x5eccb6=await this['getRevisionDocumentData'](_0x30c0b1),_0xe7bd63=await this['getRevisionRootsAttributes'](_0x30c0b1);this['_replaceEditorDataWithRevisionData'](_0x5eccb6,_0xe7bd63);}}['setSource'](_0x3a5ed1){this['_source']=_0x3a5ed1;}async['update'](){const _0x26604b=await this['_source']['getLatestVersion']();if(_0x26604b>this['currentRevision']['toVersion']){await this['_loadState']();const _0x3a7799=this['buildRevisionData']({'revision':this['currentRevision'],'to':_0x26604b});_0x3a7799['authors']=_0x3a7799['authorsIds']['map'](_0xd47f07=>this['editor']['plugins']['get']('Users')['getUser'](_0xd47f07)),this['currentRevision']['_update'](_0x3a7799);}}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'](_0x3ef46a={},_0x4b702e=null){const _0x523338=[];await this['_loadState'](),this['_continueCurrentRevision']=!0x1,_0x4b702e>this['currentRevision']['toVersion']&&(_0x4b702e=null),null===_0x4b702e&&(_0x4b702e=await this['_source']['getLatestVersion']());const _0x2a11f4=this['_getFromVersion'](_0x4b702e),_0x318cef=this['buildRevisionData']({'from':_0x2a11f4,'to':_0x4b702e});if(this['currentRevision']['toVersion']<_0x4b702e){const _0x4c23df=this['buildRevisionData']({'revision':this['currentRevision'],'from':_0x4b702e,'to':_0x4b702e});_0x4c23df['authors']=[],_0x4c23df['authorsIds']=[],_0x4c23df['id']=this['currentRevision']['id'],this['currentRevision']['_update'](_0x4c23df,!0x0),delete _0x4c23df['authors'],_0x523338['push'](_0x4c23df);}_0x3ef46a['creatorId']=this['editor']['plugins']['get']('Users')['me']['id'],_0x3ef46a['name']=_0x3ef46a['name']||null,_0x3ef46a['id']=_0x3ef46a['id']||_0x21dc68(),_0x3ef46a={..._0x3ef46a,..._0x318cef};const _0xdef03f=this['addRevisionData'](_0x3ef46a);_0x523338['push'](_0x3ef46a);const _0xe631d3=this['repository']['getIndex'](_0xdef03f);if(0x0!==_0xe631d3){const _0x5a6a18=this['repository']['getRevision'](_0xe631d3-0x1);if(_0x5a6a18['fromVersion']!==_0x4b702e){const _0x525503=this['_revisionDataBuilder']['getData'](_0x4b702e,_0x5a6a18['toVersion']),_0x12d45f={'id':_0x5a6a18['id'],'diffData':_0x525503['diffData'],'authorsIds':_0x525503['authorsIds'],'authors':_0x525503['authorsIds']['map'](_0x2cc01a=>this['editor']['plugins']['get']('Users')['getUser'](_0x2cc01a)),'fromVersion':_0x4b702e};_0x5a6a18===this['currentRevision']&&(_0x12d45f['createdAt']=new Date(_0x3ef46a['createdAt']['getTime']()+0xa)),_0x5a6a18['_update'](_0x12d45f,!0x0),delete _0x12d45f['authors'],_0x523338['push'](_0x12d45f);}}if(this['adapter']){for(const _0x552226 of _0x523338)this['_bufferUpdate'](_0x552226['id'],_0x552226,!0x0);this['sendBufferedUpdates']();}return _0xdef03f;}['addRevisionData'](_0x52b403){const _0x342f2e=this['repository']['createRevision'](_0x52b403);return this['adapter']&&_0x342f2e['on']('_update',(_0x44cf4b,_0x43027a,_0x167510)=>{_0x167510||(this['_bufferUpdate'](_0x43027a['id'],_0x43027a,!0x0),this['sendBufferedUpdates']());}),this['repository']['addRevision'](_0x342f2e,this['_findInsertionIndex'](_0x342f2e)),_0x342f2e;}async['getRevisionDocumentData'](_0x5cb678){await this['_loadRevisionData'](_0x5cb678);const _0x32ceed={};for(const _0x46b182 in _0x5cb678['diffData']){if(_0x5cb678['diffData'][_0x46b182]['attachChange']&&!_0x5cb678['diffData'][_0x46b182]['attachChange']['isAttached'])continue;const _0x1804d1=this['_removeRevisionMarkers'](JSON['parse'](_0x5cb678['diffData'][_0x46b182]['insertions'])),_0x16c923=this['editor']['editing']['view']['document'],_0x3ebe11=new _0x257c5f(_0x16c923,_0x1804d1['map'](_0x1bcbbd=>B(_0x1bcbbd,this['editor'])));this['editor']['data']['processor']['useFillerType']('marked'),_0x32ceed[_0x46b182]=this['editor']['data']['processor']['toData'](_0x3ebe11),this['editor']['data']['processor']['useFillerType']('default');}return _0x32ceed;}async['getRevisionRootsAttributes'](_0xb24dbf){await this['_loadRevisionData'](_0xb24dbf);const _0x18738a={};for(const _0xc6e400 in _0xb24dbf['diffData'])_0xb24dbf['diffData'][_0xc6e400]['attachChange']&&!_0xb24dbf['diffData'][_0xc6e400]['attachChange']['isAttached']||(_0x18738a[_0xc6e400]=_0xb24dbf['diffData'][_0xc6e400]['attributesAfter']||{});return _0x18738a;}['sendBufferedUpdates'](){if(0x0===this['_bufferedUpdates']['size'])return;if(this['_isPendingUpdate'])return;let _0x66e27a=Array['from'](this['_bufferedUpdates']['values']());this['_bufferedUpdates']['clear']();for(let _0x159000=0x0;_0x159000<_0x66e27a['length'];_0x159000++){const _0x299cc3=_0x66e27a[_0x159000];let _0xc16f5d=!0x1;for(const _0xbbdd7f of Object['keys'](_0x299cc3))void 0x0===_0x299cc3[_0xbbdd7f]?delete _0x299cc3[_0xbbdd7f]:'id'!==_0xbbdd7f&&(_0xc16f5d=!0x0);_0xc16f5d||(_0x66e27a[_0x159000]=null);}if(_0x66e27a=_0x66e27a['filter'](_0x6c7918=>null!==_0x6c7918),!_0x66e27a['length'])return;for(let _0x40ca60=0x0;_0x40ca60<_0x66e27a['length'];_0x40ca60++){const _0x160afd=_0x66e27a[_0x40ca60];void 0x0!==_0x160afd['fromVersion']&&void 0x0===_0x160afd['toVersion']&&(_0x160afd['toVersion']=this['repository']['getRevision'](_0x160afd['id'])['toVersion']),void 0x0!==_0x160afd['toVersion']&&void 0x0===_0x160afd['fromVersion']&&(_0x160afd['fromVersion']=this['repository']['getRevision'](_0x160afd['id'])['fromVersion']);}const _0x4aa2fe=this['editor']['config']['get']('collaboration.channelId');this['_isPendingUpdate']=!0x0,this['_addPendingAction'](),this['adapter']['updateRevisions'](_0x66e27a,_0x4aa2fe)['finally'](()=>{this['_isPendingUpdate']=!0x1;})['then'](_0x32a28=>{if(_0x32a28){for(const _0x7a3fdf of _0x32a28)this['setRevisionData']({'id':_0x7a3fdf['id'],'createdAt':_0x7a3fdf['createdAt']});}this['_removePendingAction'](),this['sendBufferedUpdates']();});}['_replaceEditorDataWithRevisionData'](_0x2eb836,_0x1a5917){let _0x23ed4c=this['editor']['config']['get']('initialData'),_0x2579fb=this['editor']['config']['get']('rootsAttributes');if(void 0x0===_0x23ed4c){_0x23ed4c={};for(const _0x40e7c6 of this['editor']['model']['document']['getRootNames']())_0x23ed4c[_0x40e7c6]='';}if('string'==typeof _0x23ed4c&&(_0x23ed4c={'main':_0x23ed4c}),void 0x0===_0x2579fb){_0x2579fb={};for(const _0x85b0c2 of this['editor']['model']['document']['getRootNames']())_0x2579fb[_0x85b0c2]={};}let _0x8b8be3=!0x1;const _0x1c8655=Object['keys'](_0x23ed4c),_0x3168db=Object['keys'](_0x2eb836);for(const _0x4018b3 of _0x1c8655){if(_0x23ed4c[_0x4018b3]!==_0x2eb836[_0x4018b3]&&''!==_0x23ed4c[_0x4018b3]['trim']()){_0x8b8be3=!0x0;break;}if(!_0x3e3dbc(_0x2579fb[_0x4018b3],_0x1a5917[_0x4018b3])&&Object['keys'](_0x2579fb[_0x4018b3])['length']>0x0){_0x8b8be3=!0x0;break;}}_0x8b8be3||(_0x8b8be3=_0x3168db['some'](_0x355722=>!this['editor']['model']['document']['getRoot'](_0x355722))),_0x8b8be3&&_0x23c81d('editor-initial-data-replaced-with-revision-data',{'editorData':_0x23ed4c,'editorRootsAttributes':_0x2579fb,'revisionData':_0x2eb836,'revisionRootsAttributes':_0x1a5917}),this['editor']['config']['set']('initialData',_0x2eb836),this['editor']['config']['set']('rootsAttributes',_0x1a5917);}['_addPendingAction'](){if(!this['_pendingAction']){const _0x4bb6d9=this['editor']['plugins']['get']('PendingActions');this['_pendingAction']=_0x4bb6d9['add'](y(this['editor']['locale'],'PENDING_ACTION_REVISION_HISTORY'));}}['_removePendingAction'](){this['_pendingAction']&&(this['editor']['plugins']['get']('PendingActions')['remove'](this['_pendingAction']),this['_pendingAction']=null);}['_findInsertionIndex'](_0x5dca2f){const _0x50cc0d=this['repository']['getRevisions']();_0x50cc0d['reverse']();let _0x1951cb=0x0;for(;_0x1951cb<_0x50cc0d['length'];){const _0x3bcce0=_0x50cc0d[_0x1951cb];if(_0x3bcce0===this['currentRevision']){_0x1951cb++;continue;}if(_0x3bcce0['id']===this['_initialRevisionId'])break;const _0x16d8e3=_0x5dca2f['toVersion']-_0x3bcce0['toVersion']||_0x5dca2f['fromVersion']-_0x3bcce0['fromVersion'];if(_0x16d8e3>0x0)break;if(_0x16d8e3<0x0)_0x1951cb++;else{if(!_0x5dca2f['creator']&&_0x3bcce0['creator'])break;if(_0x3bcce0['creator']||!_0x5dca2f['creator']){if(_0x5dca2f['createdAt']>_0x3bcce0['createdAt'])break;_0x1951cb++;}else _0x1951cb++;}}return _0x1951cb;}['setRevisionData'](_0x1fc1ab){const _0x78fecc=this['repository']['getRevision'](_0x1fc1ab['id']);if(_0x1fc1ab['createdAt']&&(_0x1fc1ab['createdAt']=new Date(_0x1fc1ab['createdAt'])),_0x1fc1ab['authorsIds']){const _0x3c2529=this['editor']['plugins']['get']('Users');_0x1fc1ab['authors']=_0x1fc1ab['authorsIds']['map'](_0x147668=>_0x3c2529['getUser'](_0x147668));}_0x78fecc['_update'](_0x1fc1ab,!0x0);}['buildRevisionData']({revision:_0x397d9e=null,from:_0x124cc6=null,to:_0x185c44=null}){_0x124cc6=null!==_0x124cc6?_0x124cc6:_0x397d9e['fromVersion'],_0x185c44=null!==_0x185c44?_0x185c44:_0x397d9e['toVersion'];const _0xc4201e=this['_revisionDataBuilder']['getData'](_0x124cc6,_0x185c44),_0x5a8770={'diffData':_0xc4201e['diffData'],'authorsIds':_0xc4201e['authorsIds'],'fromVersion':_0x124cc6,'toVersion':_0x185c44};if(!_0x397d9e||_0x185c44!==_0x397d9e['toVersion']){const _0x244292=_0x185c44-0x1,_0x3a7be3=this['_source']['history']['getOperation'](_0x244292);_0x5a8770['createdAt']=_0x3a7be3&&_0x3a7be3['createdAt']||new Date();}if(this['_loadedStateData']&&_0x124cc6===this['_loadedStateData']['fromVersion']){for(const _0x575d1b of this['_loadedStateData']['authors'])_0x5a8770['authorsIds']['includes'](_0x575d1b['id'])||_0x5a8770['authorsIds']['push'](_0x575d1b['id']);}return _0x5a8770;}['_loadRevisionData'](_0x971825){if(!_0x971825||_0x971825['diffData'])return Promise['resolve']();{const _0x24f0a1=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0x24f0a1,'revisionId':_0x971825['id']})['then'](_0x4f6454=>{_0x971825['diffData']=_0x4f6454['diffData'];});}}['_bufferUpdate'](_0x290ba7,_0x41255f,_0x3aef78){if(this['_bufferedUpdates']['has'](_0x290ba7)){const _0x300b2d=this['_bufferedUpdates']['get'](_0x290ba7);_0x41255f=_0x3aef78?{..._0x300b2d,..._0x41255f}:{..._0x41255f,..._0x300b2d};}this['_bufferedUpdates']['set'](_0x290ba7,_0x41255f);}['_getFromVersion'](_0xe0eaa9){const _0x5e8937=this['repository']['getRevisions']();_0x5e8937['reverse'](),_0x5e8937['shift']();const _0x4d7447=_0x5e8937['find'](_0x2e9fe3=>_0x2e9fe3['toVersion']<=_0xe0eaa9)['toVersion'];return _0x4d7447<this['_startingVersion']?this['_startingVersion']:_0x4d7447;}['_createInitialRevision'](_0x39ff50){const _0xb8248b=this['repository']['getRevision'](this['repository']['length']-0x1);if(_0xb8248b)this['_initialRevisionId']=_0xb8248b['id'];else{const _0x1716a9=!this['editor']['model']['document']['roots']['find'](_0x58df5a=>this['editor']['model']['hasContent'](_0x58df5a)),_0x315e4a=this['editor']['plugins']['get']('Users')['me']['id'],_0x1b55cc=y(this['editor']['locale'],_0x1716a9?'Empty\x20document':'Initial\x20revision');this['_makeRevision']({'from':_0x39ff50,'to':_0x39ff50,'id':this['_initialRevisionId'],'name':_0x1b55cc,'creatorId':_0x315e4a});}}['_createCurrentRevision'](_0x3c867d){const _0x4859fa=this['_source']['getCurrentRevisionId']();this['currentRevision']=this['repository']['getRevision'](_0x4859fa),this['currentRevision']||(this['currentRevision']=this['_makeRevision']({'from':_0x3c867d,'to':_0x3c867d,'id':_0x4859fa,'name':'','creatorId':null}));}['_makeRevision']({name:_0x1322e5,from:_0xea14d2,to:_0x28093e,creatorId:_0x8b9fe0,id:_0x279077}){const _0x156476=this['buildRevisionData']({'from':_0xea14d2,'to':_0x28093e});_0x156476['name']=_0x1322e5,_0x156476['creatorId']=_0x8b9fe0,_0x156476['id']=_0x279077;const _0x5ac0c1=this['addRevisionData'](_0x156476);return this['adapter']&&this['_bufferUpdate'](_0x156476['id'],_0x156476,!0x0),_0x5ac0c1;}['_setConversion'](){this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'});}['_removeRevisionMarkers'](_0x13ca4e){return(_0x13ca4e=_0x13ca4e['filter'](_0x2605d8=>!_0x2605d8['name']||'revision-start'!==_0x2605d8['name']&&'revision-end'!==_0x2605d8['name']))['forEach'](_0x3b8912=>{'string'!=typeof _0x3b8912&&(_0x3b8912['children']=this['_removeRevisionMarkers'](_0x3b8912['children']),_0x3b8912['attributes']=_0x3b8912['attributes']['filter'](_0x2c47d0=>!_0x2c47d0[0x0]['startsWith']('data-revision-')));}),_0x13ca4e;}constructor(_0x4c2a5a){super(_0x4c2a5a),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 _0x38b207=_0x21dc68();this['_source']={'history':this['editor']['model']['document']['history'],'getLatestVersion':()=>Promise['resolve'](this['editor']['model']['document']['version']),'getCurrentRevisionId':()=>_0x38b207},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'});}}function B(_0x503889,_0x2b19a1){const _0x2cb909=_0x2b19a1['editing']['view']['document'];if('string'==typeof _0x503889)return new _0x23172e(_0x2cb909,_0x503889);{const _0x21c9a6=_0x503889['children']['map'](_0x14912e=>B(_0x14912e,_0x2b19a1));return new(T[_0x503889['type']]||_0x51bfd7)(_0x2cb909,_0x503889['name'],_0x503889['attributes'],_0x21c9a6);}}class J{['init'](_0x154a87){this['source']=_0x154a87;const _0x26d4c0=new Map(),_0x320d0e=new Map(),_0x4e5874=this['editor']['model']['document']['roots']['map'](_0x1f552e=>_0x1f552e['rootName']);for(const _0x21df79 of _0x4e5874){const _0x18528d=this['editor']['model']['document']['getRoot'](_0x21df79),_0x6f9a74=q(_0x18528d);_0x26d4c0['set'](_0x21df79,_0x6f9a74),_0x320d0e['set'](_0x21df79,Object['fromEntries'](_0x18528d['getAttributes']()));}const _0x542150=Array['from'](this['editor']['model']['markers'])['map'](_0x1a835=>[_0x1a835['name'],_0x1a835['getRange']()]),_0x3bd033=this['source']['version'];this['_saveMetaData'](_0x3bd033,_0x26d4c0,_0x542150,_0x320d0e),this['_startingRevisionId']=this['_revisionId'];const _0x250d6e=new Map(),_0x48ca88=new Map();for(const _0xd26e78 of _0x4e5874){const _0x72e256=G(_0xd26e78);_0x250d6e['set'](_0xd26e78,_0x72e256),_0x48ca88['set'](_0xd26e78,{});}this['_saveMetaData'](Number['NEGATIVE_INFINITY'],_0x250d6e,[],_0x48ca88);}['getData'](_0x35ed11,_0x43fa07){if(this['_lastFrom']===_0x35ed11&&this['_lastTo']<=_0x43fa07)this['_savedMetaData']['size']>0x1&&this['_removeMetaData'](this['_lastTo']),this['_applyOperations'](this['_lastTo'],_0x43fa07,!0x0);else{if(!this['_savedMetaData']['has'](_0x35ed11)){const _0x23554d=this['_getPreviousFrom'](_0x35ed11);this['_calculateMetaData'](_0x23554d,_0x35ed11,!0x1);}this['_calculateMetaData'](_0x35ed11,_0x43fa07,!0x0);}return this['_lastFrom']=_0x35ed11,this['_lastTo']=_0x43fa07,this['_getState']();}['loadState'](_0x5575b0){this['_reset'](),this['_lastFrom']=_0x5575b0['fromVersion'],this['_lastTo']=_0x5575b0['toVersion'];for(const _0x4c3c52 in _0x5575b0['diffData']){const _0x4eb76b=_0x5575b0['diffData'][_0x4c3c52]['attachChange'],_0x1ffd70=_0x295020(_0x5575b0['diffData'][_0x4c3c52]['attributesBefore'])||{},_0x50aa91=this['_makeModelFromViewString'](_0x5575b0['diffData'][_0x4c3c52]['deletions']);_0x50aa91['rootName']=_0x4c3c52,_0x50aa91['_isAttached']=!_0x4eb76b||!_0x4eb76b['isAttached'],_0x50aa91['isAttached']=()=>_0x50aa91['_isAttached'],this['_baseRoots']['set'](_0x4c3c52,_0x50aa91),this['_baseRootsAttributes']['set'](_0x4c3c52,_0x1ffd70),_0x4eb76b&&this['_touchedRoots']['set'](_0x4c3c52,_0x4eb76b);const _0x59b609=this['_makeIdsRoot'](_0x50aa91);this['_baseIdsRoots']['set'](_0x4c3c52,_0x59b609);for(const [_0x485242,_0x23c502]of _0x50aa91['markers']){if(!_0x485242['startsWith']('revision:'))continue;const _0x5d0305=_0x485242['split'](':')[0x2];for(const _0x2a625e of _0x23c502['getWalker']({'singleCharacters':!0x0})){const _0x194f23=this['_getVidAttributeName'](_0x2a625e),_0x41d0da='elementEnd'==_0x2a625e['type']?_0x2a625e['previousPosition']['path']['slice'](0x0,-0x1):_0x2a625e['previousPosition']['path'],_0x21b080=_0x59b609['getNodeByPath'](_0x41d0da)['getAttribute'](_0x194f23);this['_touched']['set'](_0x21b080,{'userId':_0x5d0305});}}}this['_startingRevisionId']=this['_revisionId'];const _0x2ea44e=[...Array(this['_revisionId'])['keys']()]['slice'](0x1)['filter'](_0x1d3af7=>!this['_touched']['has'](_0x1d3af7));let _0x30e3dd=0x0;const _0x17acd9=new Map();for(const _0x1701f5 in _0x5575b0['diffData']){const _0x31f21c=_0x5575b0['diffData'][_0x1701f5]['attachChange'],_0x58d26a=_0x295020(_0x5575b0['diffData'][_0x1701f5]['attributesAfter'])||{},_0x238adc=this['_makeModelFromViewString'](_0x5575b0['diffData'][_0x1701f5]['insertions']);_0x238adc['rootName']=_0x1701f5,_0x238adc['_isAttached']=!_0x31f21c||_0x31f21c['isAttached'],_0x238adc['isAttached']=()=>_0x238adc['_isAttached'],this['_diffRoots']['set'](_0x1701f5,_0x238adc),this['_diffRootsAttributes']['set'](_0x1701f5,_0x58d26a);const _0x4104f7=this['_makeIdsRoot'](_0x238adc,Number['NEGATIVE_INFINITY']);this['_idsRoots']['set'](_0x1701f5,_0x4104f7),_0x17acd9['set'](_0x1701f5,_0x238adc['isAttached']()?_0x58d26a:{});for(const [_0x23f19c,_0xf50ea0]of _0x238adc['markers']){if(!_0x23f19c['startsWith']('revision:'))continue;const _0x4aa4a9=_0x23f19c['split'](':')[0x2];for(const _0xc4e5e2 of _0xf50ea0['getWalker']({'singleCharacters':!0x0})){const _0x162812=this['_getVidAttributeName'](_0xc4e5e2),_0x4b87fb=this['_revisionId']++,_0x3aef35='elementEnd'==_0xc4e5e2['type']?_0xc4e5e2['previousPosition']['path']['slice'](0x0,-0x1):_0xc4e5e2['previousPosition']['path'];_0x4104f7['getNodeByPath'](_0x3aef35)['_setAttribute'](_0x162812,_0x4b87fb),this['_touched']['set'](_0x4b87fb,{'userId':_0x4aa4a9});}}for(const _0x5c660b of this['editor']['model']['createRangeIn'](_0x238adc)['getWalker']({'singleCharacters':!0x0})){const _0x444048=this['_getVidAttributeName'](_0x5c660b),_0x25f400='elementEnd'==_0x5c660b['type']?_0x5c660b['previousPosition']['path']['slice'](0x0,-0x1):_0x5c660b['previousPosition']['path'],_0x4a9207=_0x4104f7['getNodeByPath'](_0x25f400);_0x4a9207['getAttribute'](_0x444048)>0x0||_0x4a9207['_setAttribute'](_0x444048,_0x2ea44e[_0x30e3dd++]);}for(const [_0xb5c5a3,_0x566db5]of _0x238adc['markers'])_0xb5c5a3['startsWith']('revision:')||this['_markers']['set'](_0xb5c5a3,_0x566db5);}const _0x438c84=G('$graveyard');this['_baseRoots']['set']('$graveyard',_0x438c84),this['_baseIdsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x438c84,0x1));const _0x5d61f0=G('$graveyard');this['_diffRoots']['set']('$graveyard',_0x5d61f0),this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x5d61f0,0x1));const _0x5d36ea=Array['from'](this['_diffRoots'])['map'](([_0x1b1525,_0xb10aaa])=>[_0x1b1525,q(_0xb10aaa)]);this['_saveMetaData'](this['_lastTo'],_0x5d36ea,this['_markers'],_0x17acd9);}['_makeModelFromViewString'](_0x314d59){const _0x59289a=JSON['parse'](_0x314d59),_0xbf728=this['editor']['editing']['view']['document'],_0x22fb48=new _0x257c5f(_0xbf728,_0x59289a['map'](_0x4c7657=>B(_0x4c7657,this['editor'])));return this['editor']['data']['toModel'](_0x22fb48);}['_saveMetaData'](_0x1c9ad3,_0x5a1a48,_0x286313,_0x4e2b84){const _0x578d06=new Map(_0x5a1a48),_0x39a9af=new Map(_0x295020(_0x4e2b84)),_0x4003ff=new Map();for(const [_0x1ba179,_0xd7ff0b]of _0x286313)_0x4003ff['set'](_0x1ba179,{'start':_0xd7ff0b['start']['clone'](),'end':_0xd7ff0b['end']['clone'](),'rootName':_0xd7ff0b['root']['rootName']});this['_savedMetaData']['set'](_0x1c9ad3,{'roots':_0x578d06,'markers':_0x4003ff,'rootsAttributes':_0x39a9af});}['_removeMetaData'](_0x38816e){this['_savedMetaData']['delete'](_0x38816e);}['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'](_0x3d8e89,_0x475bca=null){let _0x54df2a=null;_0x3d8e89['is']('documentFragment')||(_0x54df2a=new ft(_0x3d8e89['name'],{'vid_start':null===_0x475bca?this['_revisionId']++:_0x475bca++}));const _0x14bcc9=[];for(const _0x3ac367 of _0x3d8e89['getChildren']())if(_0x3ac367['is']('element')){_0x14bcc9['push'](this['_makeIdsRoot'](_0x3ac367,_0x475bca));const _0x40b1cd=_0x14bcc9[_0x14bcc9['length']-0x1];null!==_0x475bca&&(_0x475bca=_0x40b1cd['is']('element','$text')?_0x40b1cd['getAttribute']('vid')+0x1:_0x40b1cd['getAttribute']('vid_end')+0x1);}else{for(let _0xe1a492=0x0;_0xe1a492<_0x3ac367['offsetSize'];_0xe1a492++)_0x14bcc9['push'](new ft('$text',{'vid':null===_0x475bca?this['_revisionId']++:_0x475bca++}));}if(_0x3d8e89['is']('documentFragment')){const _0x592da7=G(_0x3d8e89['rootName']);return _0x592da7['_insertChild'](0x0,_0x14bcc9),_0x592da7;}return _0x54df2a['_setAttribute']('vid_end',null===_0x475bca?this['_revisionId']++:_0x475bca++),_0x54df2a['_insertChild'](0x0,_0x14bcc9),_0x54df2a;}['_calculateMetaData'](_0x40dd5c,_0xaa53f9,_0x43e4a2){this['_reset']();const {roots:_0x2af42e,markers:_0x13f163,rootsAttributes:_0x469241}=this['_savedMetaData']['get'](_0x40dd5c);this['_baseRoots']=new Map(_0x2af42e),this['_baseRootsAttributes']=new Map(_0x295020(_0x469241));for(const [_0x12d5b2,_0x1497f6]of this['_baseRoots'])if('$graveyard'!==_0x12d5b2&&(this['_diffRoots']['set'](_0x12d5b2,q(_0x1497f6)),this['_diffRootsAttributes']=new Map(_0x295020(_0x469241)),_0x43e4a2)){const _0x323e96=this['_revisionId'];this['_idsRoots']['set'](_0x12d5b2,this['_makeIdsRoot'](_0x1497f6)),this['_baseIdsRoots']['set'](_0x12d5b2,this['_makeIdsRoot'](_0x1497f6,_0x323e96));}this['_startingRevisionId']=this['_revisionId'],this['_diffRoots']['set']('$graveyard',q(this['_baseRoots']['get']('$graveyard'))),_0x43e4a2&&this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](this['_baseRoots']['get']('$graveyard')));for(const [_0x3cbd0a,_0x32c3a7]of _0x13f163){const _0x5836ea=this['_baseRoots']['get'](_0x32c3a7['rootName']),_0x7973f2=this['_diffRoots']['get'](_0x32c3a7['rootName']),_0x146e53=new gt(this['_fixPosition'](_0x32c3a7['start'],_0x5836ea),this['_fixPosition'](_0x32c3a7['end'],_0x5836ea)),_0x4facce=this['_fixRange'](_0x146e53,_0x7973f2);_0x5836ea['markers']['set'](_0x3cbd0a,_0x146e53),this['_markers']['set'](_0x3cbd0a,_0x4facce);}this['_applyOperations'](_0x40dd5c,_0xaa53f9,_0x43e4a2);}['_applyOperations'](_0x4e1005,_0xa40446,_0x5f1715){for(const _0x5e8cbc of this['source']['getOperations'](_0x4e1005,_0xa40446))this['_handleOperation'](_0x5e8cbc,_0x5f1715);for(const _0x1740d7 of this['_diffRoots']['values']())_0x1740d7['markers']['clear']();for(const [_0x3154e1,_0xc8a727]of this['_markers']){this['_diffRoots']['get'](_0xc8a727['root']['rootName'])['markers']['set'](_0x3154e1,_0xc8a727['clone']());}const _0x2894e8=new Map(),_0x17b505=new Map();for(const [_0x1be907,_0x5997a7]of this['_diffRoots'])_0x2894e8['set'](_0x1be907,q(_0x5997a7)),_0x17b505['set'](_0x1be907,this['_diffRootsAttributes']['get'](_0x1be907));this['_saveMetaData'](_0xa40446,_0x2894e8,this['_markers'],_0x17b505);}['_getPreviousFrom'](_0x68636a){const _0x4661ad=Array['from'](this['_savedMetaData']['keys']());_0x4661ad['sort']((_0x20c147,_0x1cb145)=>_0x20c147-_0x1cb145),_0x4661ad['reverse']();for(const _0xd3c26e of _0x4661ad)if(_0xd3c26e<_0x68636a)return _0xd3c26e;return Number['NEGATIVE_INFINITY'];}['_copyMarkers'](_0x4157d8,_0xbc8318){const _0x31adf6=Array['from'](_0xbc8318['markers'])['map'](([_0x2771c4,_0x445795])=>[_0x2771c4,this['_fixRange'](_0x445795,_0x4157d8)]);_0x4157d8['markers']=new Map(_0x31adf6);}['_transformMarkers'](_0x485a6f){for(const _0x1dfea0 of this['_markers']['values']()){const _0xbcdb6f=_0x1dfea0['getTransformedByOperation'](_0x485a6f),_0x595999=gt['_createFromRanges'](_0xbcdb6f);_0x1dfea0['start']=_0x595999['start'],_0x1dfea0['end']=_0x595999['end'];}}['_handleOperation'](_0x47bf09,_0x449231){if('addRoot'==_0x47bf09['type']||'detachRoot'==_0x47bf09['type'])return void this['_handleRootOperation'](_0x47bf09,_0x449231);if('insert'==_0x47bf09['type']){const _0x1e5ccf=_0x47bf09['position']['root']['rootName'];this['_diffRoots']['has'](_0x1e5ccf)||(this['_diffRoots']['set'](_0x1e5ccf,G(_0x1e5ccf,!0x0)),this['_diffRootsAttributes']['set'](_0x1e5ccf,{}),_0x449231&&this['_idsRoots']['set'](_0x1e5ccf,G(_0x1e5ccf,!0x0)));}else{if('addRootAttribute'==_0x47bf09['type']||'removeRootAttribute'==_0x47bf09['type']||'changeRootAttribute'==_0x47bf09['type'])return void this['_handleRootAttributeOperation'](_0x47bf09);}const _0x2fe205=this['_cloneOperation'](_0x47bf09,this['_diffRoots']);if('marker'!==_0x47bf09['type']&&(_0x2fe205['_execute'](),this['_transformMarkers'](_0x2fe205)),_0x449231)switch(_0x2fe205['type']){case'insert':this['_handleInsertOperation'](_0x47bf09);break;case'move':case'remove':case'reinsert':this['_handleMoveOperation'](_0x47bf09);break;case'merge':this['_handleMergeOperation'](_0x47bf09);break;case'split':this['_handleSplitOperation'](_0x47bf09);break;case'marker':this['_handleMarkerOperation'](_0x47bf09);}}['_cloneOperation'](_0x4680ee,_0x39e801){const _0x4cb8d3=_0x4680ee['clone']();return _0x4cb8d3['_authorId']=_0x4680ee['_authorId'],this['_fixOperation'](_0x4cb8d3,_0x39e801),_0x4cb8d3;}['_getBaseVids'](_0x1ad54f){return _0x1ad54f['map'](_0x2ced76=>{const _0xf75c42=this['_getVidAttributeName'](_0x2ced76);return Number(_0x2ced76['item']['getAttribute'](_0xf75c42));});}['_generateTape'](_0x557896,_0x3e133f){if(_0x557896['is']('element','$text'))_0x3e133f['push']({'item':_0x557896,'type':'text'});else{_0x557896['is']('element')&&_0x3e133f['push']({'item':_0x557896,'type':'elementStart'});for(const _0x1c18f6 of _0x557896['getChildren']())this['_generateTape'](_0x1c18f6,_0x3e133f);_0x557896['is']('element')&&_0x3e133f['push']({'item':_0x557896,'type':'elementEnd'});}return _0x3e133f;}['_getState'](){const _0x2c8a81=new Map(this['_touched']),_0xd339bc=new Map(_0x2c8a81),_0x1e4dc1=new Map(),_0x243ede={'insertions':{},'deletions':{}},_0x213bb7={'insertions':{},'deletions':{}},_0x2e20db=new Map(),_0x2a08c6=new Set([...this['_baseRoots']['keys'](),...this['_diffRoots']['keys']()]);_0x2a08c6['delete']('$graveyard');for(const _0x4df9e5 of _0x2a08c6){const _0x5f1c07=this['_diffRoots']['get'](_0x4df9e5)||G(_0x4df9e5,!0x1),_0x5da850=this['_baseRoots']['get'](_0x4df9e5)||G(_0x4df9e5,!0x1);_0x5f1c07['isAttached']()||_0x5da850['isAttached']()?(_0x243ede['insertions'][_0x4df9e5]=q(_0x5f1c07),_0x243ede['deletions'][_0x4df9e5]=q(_0x5da850),this['_copyMarkers'](_0x243ede['deletions'][_0x4df9e5],_0x5da850),this['_copyMarkers'](_0x243ede['insertions'][_0x4df9e5],_0x5f1c07),_0x213bb7['insertions'][_0x4df9e5]=this['_generateTape'](this['_idsRoots']['get'](_0x4df9e5),[]),_0x213bb7['deletions'][_0x4df9e5]=this['_generateTape'](this['_baseIdsRoots']['get'](_0x4df9e5)||G(_0x4df9e5,!0x1),[])):_0x2a08c6['delete'](_0x4df9e5);}for(const _0xa1df93 of _0x2a08c6){const _0x4c653c=_0x213bb7['insertions'][_0xa1df93];for(const _0x4792ec of _0x4c653c){const _0x134bca=this['_getVidAttributeName'](_0x4792ec),_0x2ba6df=_0x4792ec['item']['getAttribute'](_0x134bca);_0xd339bc['delete'](_0x2ba6df),_0x2ba6df>=this['_startingRevisionId']&&_0x1e4dc1['set'](_0x2ba6df,_0x2c8a81['get'](_0x2ba6df));}}for(const _0xb4e573 of _0x2a08c6){const _0x596184=_0x213bb7['insertions'][_0xb4e573],_0x1179f9=this['_getBaseVids'](_0x213bb7['deletions'][_0xb4e573]);let _0x3f379c=0x0;for(const _0x46e51f of _0x596184){const _0x3b9874=this['_getVidAttributeName'](_0x46e51f),_0x382be1=_0x46e51f['item']['getAttribute'](_0x3b9874);if(!_0x1e4dc1['has'](_0x382be1)&&!_0x2e20db['has'](_0x382be1)){if(_0xd339bc['has'](_0x382be1))_0x3f379c++;else{if(_0x382be1!=_0x1179f9[_0x3f379c]){const _0x2a3e77=_0x2c8a81['get'](_0x382be1)||_0x2c8a81['get'](_0x1179f9[_0x3f379c]);for(;_0x382be1!=_0x1179f9[_0x3f379c];)_0xd339bc['has'](_0x1179f9[_0x3f379c])||(_0x2e20db['set'](_0x1179f9[_0x3f379c],_0x2a3e77),_0x2c8a81['set'](_0x1179f9[_0x3f379c],_0x2a3e77)),_0x3f379c++;}_0x3f379c++;}}}}for(const _0x42f4bb of _0x2a08c6){const _0x53e7bb=_0x213bb7['insertions'][_0x42f4bb];for(const _0x5ddf1b of _0x53e7bb){const _0x589125=this['_getVidAttributeName'](_0x5ddf1b),_0x499272=_0x5ddf1b['item']['getAttribute'](_0x589125);if(_0x2e20db['has'](_0x499272)){const _0x5f251f=_0x2e20db['get'](_0x499272);_0xd339bc['has'](_0x499272)||_0xd339bc['set'](_0x499272,{..._0x5f251f}),_0x1e4dc1['set'](_0x499272,{..._0x5f251f});}}}for(const _0x1fb9dd of _0xd339bc['keys']())_0x1fb9dd>=this['_startingRevisionId']&&_0xd339bc['delete'](_0x1fb9dd);const _0x308294=new Map();for(const _0x263d22 of _0x2a08c6){let _0x38c19a=_0x213bb7['insertions'][_0x263d22];for(const _0x185491 of _0x38c19a)if(_0x185491['item']['is']('element','tableCell')){const _0x4cc487=this['_getVidAttributeName'](_0x185491),_0x2af400=_0x185491['item']['getAttribute'](_0x4cc487);if(_0x1e4dc1['has'](_0x2af400)){const _0x262bd6=_0x185491['item']['parent']['parent']['getAttribute']('vid_start'),_0x3d9dce=_0x308294['get'](_0x262bd6)||new Set();_0x3d9dce['add'](_0x1e4dc1['get'](_0x2af400)['userId']),_0x308294['set'](_0x262bd6,_0x3d9dce);}}_0x38c19a=_0x213bb7['deletions'][_0x263d22];for(const _0x57e278 of _0x38c19a)if(_0x57e278['item']['is']('element','tableCell')){const _0x456001=this['_getVidAttributeName'](_0x57e278),_0x4205cb=_0x57e278['item']['getAttribute'](_0x456001);if(_0xd339bc['has'](_0x4205cb)){const _0x2fad7d=_0x57e278['item']['parent']['parent']['getAttribute']('vid_start'),_0x4eb0b7=_0x308294['get'](_0x2fad7d)||new Set();_0x4eb0b7['add'](_0xd339bc['get'](_0x4205cb)['userId']),_0x308294['set'](_0x2fad7d,_0x4eb0b7);}}for(const _0xfef2b5 of _0x308294['keys']())(_0x1e4dc1['has'](_0xfef2b5)||_0xd339bc['has'](_0xfef2b5))&&_0x308294['delete'](_0xfef2b5);}for(const _0x593224 of _0x2a08c6){const _0x5da1ac=_0x213bb7['insertions'][_0x593224];let _0x562d76=null,_0x3214fa=null;for(const _0x49640a of _0x5da1ac){const _0x5761f2=this['_getVidAttributeName'](_0x49640a),_0x8126f5=_0x49640a['item']['getAttribute'](_0x5761f2),_0x17d027=_0x308294['get'](_0x8126f5);_0x17d027&&'elementStart'==_0x49640a['type']&&(_0x562d76=Array['from'](_0x17d027)[0x0],_0x3214fa=_0x49640a['item']['getAttribute']('vid_end')),_0x562d76&&(_0xd339bc['set'](_0x8126f5,{'userId':_0x562d76}),_0x1e4dc1['set'](_0x8126f5,{'userId':_0x562d76})),_0x8126f5==_0x3214fa&&(_0x562d76=null,_0x3214fa=null);}}const _0x53fdeb={},_0x1ddb0f=new Set();for(const _0x3d5a8e of _0x2a08c6){const _0x1854d8=_0x243ede['deletions'][_0x3d5a8e],_0x54e2af=_0x243ede['insertions'][_0x3d5a8e];for(const {userId:_0x4843ea}of this['_touchedMarkers']['values']())null!==_0x4843ea&&_0x1ddb0f['add'](_0x4843ea);for(const {userId:_0x518567}of this['_touchedRoots']['values']())null!==_0x518567&&_0x1ddb0f['add'](_0x518567);this['_markChanges'](_0x54e2af,_0x213bb7['insertions'][_0x3d5a8e],_0x1e4dc1,'insertion',_0x1ddb0f),this['_markChanges'](_0x1854d8,_0x213bb7['deletions'][_0x3d5a8e],_0xd339bc,'deletion',_0x1ddb0f),_0x53fdeb[_0x3d5a8e]={'insertions':this['_prepareViewToSave'](_0x54e2af),'deletions':this['_prepareViewToSave'](_0x1854d8),'attachChange':this['_touchedRoots']['get'](_0x3d5a8e)||null,'attributesBefore':_0x295020(this['_baseRootsAttributes']['get'](_0x3d5a8e))||{},'attributesAfter':_0x295020(this['_diffRootsAttributes']['get'](_0x3d5a8e))};}return{'diffData':_0x53fdeb,'authorsIds':Array['from'](_0x1ddb0f)};}['_processRootBeforeSave'](_0x53d050){for(const [,_0x38acde]of _0x53d050['markers']){const _0x2d1772=_0x38acde['start']['getAncestors']()['filter'](_0x2c9be5=>'tableCell'==_0x2c9be5['name']);for(const _0x33daa8 of _0x2d1772)0x1==_0x33daa8['childCount']&&_0x33daa8['getChild'](0x0)['is']('element','paragraph')&&_0x33daa8['getChild'](0x0)['_setAttribute']('keepParagraph',!0x0);}}['_prepareViewToSave'](_0x4c2c7a){this['_processRootBeforeSave'](_0x4c2c7a);const _0x251540=this['editor']['data']['toView'](_0x4c2c7a,{}),_0x1d56e6=Array['from'](_0x251540['getChildren']())['map'](_0x8b71b2=>this['_getViewJson'](_0x8b71b2));return JSON['stringify'](_0x1d56e6);}['_getViewJson'](_0x38c58d){if(_0x38c58d['is']('$text'))return _0x38c58d['data'];{const _0x3b605e=_0x38c58d;return{'type':Object['keys'](T)['find'](_0x13ae0d=>_0x38c58d instanceof T[_0x13ae0d]),'name':_0x3b605e['name'],'attributes':Array['from'](_0x3b605e['getAttributes']()),'children':Array['from'](_0x3b605e['getChildren']())['map'](_0x5df5a2=>this['_getViewJson'](_0x5df5a2))};}}['_markChanges'](_0x1315ba,_0x2a84f6,_0x54d40d,_0x49338e,_0x306831){let _0x1606c0=null,_0x2ef9fd=null,_0x511d01=0x0;const _0x11b7f6=this['editor']['model'];for(let _0x2df9ae=0x0;_0x2df9ae<_0x2a84f6['length'];_0x2df9ae++){const _0x593d5b=this['_getVidAttributeName'](_0x2a84f6[_0x2df9ae]),_0x372fb9=_0x2a84f6[_0x2df9ae]['item']['getAttribute'](_0x593d5b),_0x271ae8=_0x54d40d['get'](_0x372fb9),_0x3f3b3a=_0x2df9ae==_0x2a84f6['length']-0x1;(!_0x1606c0&&_0x271ae8&&(_0x1606c0=_0x271ae8,_0x2ef9fd=_0x2a84f6[_0x2df9ae]),_0x1606c0&&(!_0x271ae8||_0x271ae8['userId']!=_0x1606c0['userId']))&&(_0x2f3127(_0x271ae8,L(_0x2ef9fd,_0x1315ba,_0x11b7f6),L(_0x2a84f6[_0x2df9ae],_0x1315ba,_0x11b7f6)),_0x1606c0=_0x271ae8||null,_0x2ef9fd=_0x271ae8?_0x2a84f6[_0x2df9ae]:null),_0x1606c0&&_0x3f3b3a&&_0x2f3127(_0x271ae8,L(_0x2ef9fd,_0x1315ba,_0x11b7f6),W(_0x2a84f6[_0x2df9ae],_0x1315ba,_0x11b7f6));}function _0x2f3127(_0x23fb42,_0x5ea76a,_0x3228e9){const _0x21721b=_0x1606c0['userId'],_0x3c66a0='revision:'+_0x49338e+':'+_0x21721b+':'+_0x511d01++,_0x547c51=_0x11b7f6['createRange'](_0x5ea76a,_0x3228e9);_0x1315ba['markers']['set'](_0x3c66a0,_0x547c51),null!==_0x21721b&&_0x306831['add'](_0x21721b);}}['_getVidAttributeName'](_0xbe862c){switch(_0xbe862c['type']){case'elementStart':return'vid_start';case'elementEnd':return'vid_end';default:return'vid';}}['_fixOperation'](_0x52969e,_0x131b16){_0x52969e['baseVersion']=null;for(const _0x4aae92 in _0x52969e){const _0x4b45d6=_0x52969e[_0x4aae92];if(_0x4b45d6 instanceof wt){const _0x1f04c8=_0x131b16['get'](_0x4b45d6['root']['rootName']);_0x52969e[_0x4aae92]=this['_fixPosition'](_0x4b45d6,_0x1f04c8);}if(_0x4b45d6 instanceof gt){const _0x44a81d=_0x131b16['get'](_0x4b45d6['root']['rootName']);_0x52969e[_0x4aae92]=this['_fixRange'](_0x4b45d6,_0x44a81d);}'root'===_0x4aae92&&(_0x52969e['root']=_0x131b16['get'](_0x52969e['root']['rootName']));}}['_fixRange'](_0xa77b3f,_0x29f71f){return this['editor']['model']['createRange'](this['_fixPosition'](_0xa77b3f['start'],_0x29f71f),this['_fixPosition'](_0xa77b3f['end'],_0x29f71f));}['_fixPosition'](_0x2ebc98,_0x45d789){return this['editor']['model']['createPositionFromPath'](_0x45d789,_0x2ebc98['path'],_0x2ebc98['stickiness']);}['_handleInsertOperation'](_0x2d35e8){const _0x3f0d0e=this['_idsRoots']['get'](_0x2d35e8['position']['root']['rootName']),_0x5733c2=this['_fixPosition'](_0x2d35e8['position'],_0x3f0d0e),_0x2affd3=null===_0x2d35e8['_authorId']?null:_0x2d35e8['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x2d545d=_0x5733c2['parent'],_0x25f9c8=this['_revisionId'],_0x1171a6=[];for(const _0x4171eb of _0x2d35e8['nodes'])if(_0x4171eb['is']('element'))_0x1171a6['push'](this['_makeIdsRoot'](_0x4171eb));else{for(let _0x314d50=0x0;_0x314d50<_0x4171eb['offsetSize'];_0x314d50++)_0x1171a6['push'](new ft('$text',{'vid':this['_revisionId']++}));}const _0x44f293=this['_revisionId'];for(let _0x49b4d9=_0x25f9c8;_0x49b4d9<_0x44f293;_0x49b4d9++)this['_touched']['set'](_0x49b4d9,{'userId':_0x2affd3});_0x2d545d['_insertChild'](_0x5733c2['offset'],_0x1171a6);}['_handleMoveOperation'](_0x453025){(_0x453025=this['_cloneOperation'](_0x453025,this['_idsRoots']))['_execute']();const _0xfdc7fa=null===_0x453025['_authorId']?null:_0x453025['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x28623b=_0x453025['getMovedRangeStart'](),_0xc4035=_0x28623b['parent'],_0x4efbd9=_0x28623b['offset'];!function _0x16894f(_0x5bfc7f,_0x96801d,_0xf7a93,_0x1ab6f2){for(let _0x108e96=_0xf7a93;_0x108e96<_0x1ab6f2;_0x108e96++){const _0x52be06=_0x96801d['getChild'](_0x108e96);_0x52be06['is']('element','$text')?_0x5bfc7f['set'](_0x52be06['getAttribute']('vid'),{'userId':_0xfdc7fa}):(_0x5bfc7f['set'](_0x52be06['getAttribute']('vid_start'),{'userId':_0xfdc7fa}),_0x16894f(_0x5bfc7f,_0x52be06,0x0,_0x52be06['childCount']),_0x5bfc7f['set'](_0x52be06['getAttribute']('vid_end'),{'userId':_0xfdc7fa}));}}(this['_touched'],_0xc4035,_0x4efbd9,_0x4efbd9+_0x453025['howMany']);}['_handleMergeOperation'](_0x32d3b5){const _0x403b8e=null===(_0x32d3b5=this['_cloneOperation'](_0x32d3b5,this['_idsRoots']))['_authorId']?null:_0x32d3b5['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x5cf265=_0x32d3b5['targetPosition']['parent'],_0x23a5e6=_0x32d3b5['sourcePosition']['parent'],_0x509aca=_0x5cf265['getAttribute']('vid_end'),_0xdace12=_0x23a5e6['getAttribute']('vid_start');_0x5cf265['_setAttribute']('vid_end',_0x23a5e6['getAttribute']('vid_end')),_0x23a5e6['_setAttribute']('vid_end',_0x509aca),this['_touched']['set'](_0xdace12,{'userId':_0x403b8e}),this['_touched']['set'](_0x509aca,{'userId':_0x403b8e}),_0x32d3b5['_execute']();}['_handleSplitOperation'](_0x15bbf4){const _0x9b9e3e=null===(_0x15bbf4=this['_cloneOperation'](_0x15bbf4,this['_idsRoots']))['_authorId']?null:_0x15bbf4['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x5884b4=_0x15bbf4['graveyardPosition'],_0x2bb57e=_0x15bbf4['splitPosition']['parent'];_0x15bbf4['_execute']();const _0x44c4c0=_0x2bb57e['getAttribute']('vid_end'),_0x14b25b=_0x15bbf4['insertionPosition']['nodeAfter'];if(_0x5884b4){const _0x44232f=_0x14b25b['getAttribute']('vid_end'),_0x45e8a5=_0x2bb57e['getAttribute']('vid_end');_0x2bb57e['_setAttribute']('vid_end',_0x44232f),_0x14b25b['_setAttribute']('vid_end',_0x45e8a5),this['_touched']['set'](_0x2bb57e['getAttribute']('vid_end'),{'userId':_0x9b9e3e}),this['_touched']['set'](_0x14b25b['getAttribute']('vid_start'),{'userId':_0x9b9e3e});}else{const _0x296ad9=this['_revisionId']++,_0x312eaa=this['_revisionId']++;_0x2bb57e['_setAttribute']('vid_end',_0x296ad9),_0x14b25b['_setAttribute']('vid_start',_0x312eaa),_0x14b25b['_setAttribute']('vid_end',_0x44c4c0),this['_touched']['set'](_0x296ad9,{'userId':_0x9b9e3e}),this['_touched']['set'](_0x312eaa,{'userId':_0x9b9e3e});}}['_handleMarkerOperation'](_0x49e803){if(!_0x49e803['affectsData'])return;const _0x101502=(_0x49e803=this['_cloneOperation'](_0x49e803,this['_diffRoots']))['oldRange']?_0x49e803['oldRange']['root']:null,_0x153183=_0x49e803['newRange']?_0x49e803['newRange']['root']:null;_0x101502&&this['_markers']['delete'](_0x49e803['name']),_0x153183&&this['_markers']['set'](_0x49e803['name'],_0x49e803['newRange']['clone']());const _0x269071=null===_0x49e803['_authorId']?null:_0x49e803['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x38f7ab=_0x49e803['name'];if(!this['_touchedMarkers']['has'](_0x38f7ab))return void this['_touchedMarkers']['set'](_0x38f7ab,{'range':_0x49e803['oldRange'],'userId':_0x269071});const _0x2700f0=this['_touchedMarkers']['get'](_0x38f7ab),_0x1ca220=_0x2700f0['range'],_0x50e421=_0x49e803['newRange'];null==_0x1ca220&&null==_0x50e421||_0x1ca220&&_0x50e421&&_0x1ca220['isEqual'](_0x50e421)?this['_touchedMarkers']['delete'](_0x49e803['name']):_0x2700f0['userId']=_0x269071;}['_handleRootOperation'](_0x52eee0,_0x315dcf){this['_diffRoots']['has'](_0x52eee0['rootName'])?this['_diffRoots']['get'](_0x52eee0['rootName'])['_isAttached']=_0x52eee0['isAdd']:(this['_diffRoots']['set'](_0x52eee0['rootName'],G(_0x52eee0['rootName'],!0x0)),this['_diffRootsAttributes']['set'](_0x52eee0['rootName'],{}),_0x315dcf&&this['_idsRoots']['set'](_0x52eee0['rootName'],G(_0x52eee0['rootName'],!0x0)));const _0x3f9562=null===_0x52eee0['_authorId']?null:_0x52eee0['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0xd66e8c=this['_touchedRoots']['get'](_0x52eee0['rootName']);_0xd66e8c&&_0xd66e8c['userId']===_0x3f9562?this['_touchedRoots']['delete'](_0x52eee0['rootName']):this['_touchedRoots']['set'](_0x52eee0['rootName'],{'userId':_0x3f9562,'isAttached':_0x52eee0['isAdd']});}['_handleRootAttributeOperation'](_0x4f82b5){const _0x41fdff=this['_diffRootsAttributes']['get'](_0x4f82b5['root']['rootName']);null===_0x4f82b5['newValue']?delete _0x41fdff[_0x4f82b5['key']]:_0x41fdff[_0x4f82b5['key']]=_0x4f82b5['newValue'];}constructor(_0x2cae51){this['editor']=_0x2cae51,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;}}function q(_0x14c533){const _0x2fe14a=G(_0x14c533['rootName'],_0x14c533['isAttached']());for(const _0x5a2cf8 of _0x14c533['getChildren']()){const _0x358fcb=_0x5a2cf8['_clone'](!0x0);_0x2fe14a['_appendChild'](_0x358fcb);}return _0x2fe14a;}function G(_0x3878d6,_0xa03c16=!0x0){const _0x218132=new _t();return _0x218132['rootName']=_0x3878d6,_0x218132['_isAttached']=_0xa03c16,_0x218132['isAttached']=()=>_0x218132['_isAttached'],_0x218132;}function L(_0xf6090f,_0x7e30f9,_0xca9643){const _0x42a352='elementEnd'==_0xf6090f['type']?_0xca9643['createPositionAt'](_0xf6090f['item'],'end'):_0xca9643['createPositionBefore'](_0xf6090f['item']);return _0xca9643['createPositionFromPath'](_0x7e30f9,_0x42a352['path'],_0x42a352['stickiness']);}function W(_0x553a5e,_0x4174d9,_0x286f57){const _0x2d6bd9='elementStart'==_0x553a5e['type']?_0x286f57['createPositionAt'](_0x553a5e['item'],0x0):_0x286f57['createPositionAfter'](_0x553a5e['item']);return _0x286f57['createPositionFromPath'](_0x4174d9,_0x2d6bd9['path'],_0x2d6bd9['stickiness']);}class ns extends _0x1795ad{['render'](){super['render'](),_0x9b67fe({'view':this}),this['focusTracker']['add'](this['revisionNameInputView']['element']),this['keystrokes']['listenTo'](this['element']);const _0x4ee23f=_0x42bff4=>_0x42bff4['stopPropagation']();this['keystrokes']['set']('arrowright',_0x4ee23f),this['keystrokes']['set']('arrowleft',_0x4ee23f),this['keystrokes']['set']('arrowup',_0x4ee23f),this['keystrokes']['set']('arrowdown',_0x4ee23f);}['focus'](){this['revisionNameInputView']['focus']();}get['revisionName'](){return this['revisionNameInputView']['fieldView']['element']['value']['trim']();}set['revisionName'](_0x348f2e){this['revisionNameInputView']['fieldView']['element']['value']=_0x348f2e['trim']();}['reset'](){this['revisionNameInputView']['fieldView']['element']['value']='',this['revisionNameInputView']['errorText']=null;}['_createRevisionNameInput'](_0x4555bf){const _0x5325f2=new mt(this['locale'],_0x30f5e5),_0x2ffde8=_0x5325f2['fieldView'];_0x2ffde8['extendTemplate']({'attributes':{'maxlength':'220'}});let _0x5044c5=y(this['locale'],'Name\x20of\x20the\x20revision');return!_0x4555bf&&(_0x5044c5+='\x20('+y(this['locale'],'optional')+')'),(_0x5325f2['label']=_0x5044c5,_0x2ffde8['on']('input',()=>{this['revisionNameInputValue']=_0x2ffde8['element']['value']['trim']();}),_0x5325f2);}constructor(_0x39877b,_0x3bf79e){super(_0x39877b),this['focusTracker']=new _0x5829fc(),this['keystrokes']=new _0x139b2a(),this['set']('revisionNameInputValue',''),this['revisionNameInputView']=this['_createRevisionNameInput'](_0x3bf79e),this['setTemplate']({'tag':'form','attributes':{'class':['ck','ck-revision-history-save-revision-form','ck-responsive-form'],'tabindex':'-1'},'children':[this['revisionNameInputView']]}),ts(this);}}class u extends _0x1a4f26{static get['pluginName'](){return'RevisionHistoryUI';}static get['requires'](){return[l];}['init'](){const _0x5b7412=this['editor'],_0x2e0e37=_0x5b7412['plugins']['get']('RevisionTracker');_0x5b7412['ui']['componentFactory']['add']('revisionHistory',_0x3eb5d2=>{const _0x57d58e=_0x95f360(_0x3eb5d2),_0x9d1089=_0x57d58e['panelView']['children'],_0x5dea42=new te(_0x3eb5d2),_0x48a488=new _0x358ac0(_0x3eb5d2),_0x26d514=new _0x480d33(_0x3eb5d2),_0xccc5c=new _0x358ac0(_0x3eb5d2),_0x3204fa=new _0x480d33(_0x3eb5d2);return _0x57d58e['bind']('isEnabled')['to'](_0x2e0e37,'isReady',_0x2e0e37,'isEnabled',_0x5b7412,'isReadOnly',(_0x22683d,_0x1a88d8,_0x549c5e)=>_0x22683d&&_0x1a88d8&&!_0x549c5e),_0x57d58e['buttonView']['set']({'icon':_0x9e16d1['history'],'label':y(_0x3eb5d2,'Revision\x20history'),'tooltip':!0x0}),_0x26d514['set']({'label':y(_0x3eb5d2,'Save\x20current\x20revision'),'withText':!0x0}),_0x26d514['bind']('isEnabled')['to'](_0x2e0e37,'isReady',_0x2e0e37,'isEnabled',_0x5b7412,'isReadOnly',(_0x196e03,_0x512e0d,_0x39332f)=>_0x196e03&&_0x512e0d&&!_0x39332f),_0x26d514['on']('execute',()=>this['_showDialog']()),_0x3204fa['set']({'label':y(_0x3eb5d2,'Open\x20revision\x20history'),'withText':!0x0}),_0x3204fa['bind']('isEnabled')['to'](_0x2e0e37,'isReady',_0x5b7412,'isReadOnly',(_0x314924,_0x503dcf)=>_0x314924&&!_0x503dcf),_0x3204fa['on']('execute',()=>{_0x5b7412['config']['get']('revisionHistory')['showRevisionViewerCallback'](),_0x57d58e['isOpen']=!0x1,_0x5b7412['editing']['view']['focus']();}),_0x48a488['children']['add'](_0x26d514),_0xccc5c['children']['add'](_0x3204fa),_0x5dea42['items']['addMany']([_0x48a488,_0xccc5c]),_0x9d1089['add'](_0x5dea42),_0x57d58e;}),_0x5b7412['ui']['componentFactory']['add']('menuBar:revisionHistory',()=>this['_registerMenuComponent']());}['_registerMenuComponent'](){const _0x117770=this['editor'],_0x58f43a=_0x117770['locale'],_0x3e0461=new _0x223ffc(_0x58f43a),_0x3883ac=new _0x4119ec(_0x58f43a);_0x3e0461['buttonView']['set']({'icon':_0x9e16d1['history'],'label':y(_0x58f43a,'Revision\x20history')});const _0x1746ca=new _0x248f43(_0x58f43a,_0x3e0461),_0x431378=new _0x63f864(_0x58f43a);_0x431378['set']({'label':y(_0x58f43a,'Save\x20current\x20revision')}),_0x431378['delegate']('execute')['to'](_0x3e0461),_0x431378['on']('execute',()=>{this['_showDialog']();}),_0x1746ca['children']['add'](_0x431378),_0x3883ac['items']['add'](_0x1746ca);const _0x51fec1=new _0x248f43(_0x58f43a,_0x3e0461),_0x43a36d=new _0x63f864(_0x58f43a);return _0x43a36d['set']({'label':y(_0x58f43a,'Open\x20revision\x20history')}),_0x43a36d['delegate']('execute')['to'](_0x3e0461),_0x43a36d['on']('execute',()=>{_0x117770['config']['get']('revisionHistory')['showRevisionViewerCallback']();}),_0x51fec1['children']['add'](_0x43a36d),_0x3883ac['items']['add'](_0x51fec1),_0x3e0461['panelView']['children']['add'](_0x3883ac),_0x3e0461;}['_showDialog'](){const _0x1b3777=this['editor'],_0x3601db=_0x1b3777['locale'],t=_0x3601db['t'],_0x36fe4f=_0x1b3777['plugins']['get']('Dialog'),_0x51d4b0=_0x1b3777['plugins']['get']('RevisionTracker');function _0x4eaf53(_0x30dd11){_0x1b3777['config']['get']('revisionHistory.requireRevisionName')&&''===_0x30dd11['revisionName']?_0x30dd11['revisionNameInputView']['errorText']=y(_0x3601db,'The\x20revision\x20name\x20cannot\x20be\x20empty.'):(_0x1b3777['plugins']['get'](l)['saveRevision']({'name':_0x30dd11['revisionName']}),_0x36fe4f['hide']());}this['_saveRevisionFormView']||(this['_createSaveRevisionFormView'](),this['_saveRevisionFormView']['on']('submit',()=>_0x4eaf53(this['_saveRevisionFormView']))),this['_saveRevisionFormView']['reset'](),_0x36fe4f['show']({'id':'findAndReplace','title':y(_0x3601db,'Save\x20current\x20revision'),'isModal':!0x0,'content':this['_saveRevisionFormView'],'actionButtons':[{'label':t('Cancel'),'withText':!0x0,'onExecute':()=>_0x36fe4f['hide']()},{'label':t('Accept'),'class':'ck-button-action','withText':!0x0,'onCreate'(_0x22d989){_0x22d989['bind']('isEnabled')['to'](_0x51d4b0,'isReady',_0x51d4b0,'isEnabled',_0x1b3777,'isReadOnly',(_0x160288,_0x40615e,_0x3e7bcd)=>_0x160288&&_0x40615e&&!_0x3e7bcd);},'onExecute':()=>_0x4eaf53(this['_saveRevisionFormView'])}]});}['_createSaveRevisionFormView'](){const _0x30c9ce=this['editor'],_0x4dcb1b=_0x30c9ce['locale'];this['_saveRevisionFormView']=new ns(_0x4dcb1b,_0x30c9ce['config']['get']('revisionHistory.requireRevisionName')),this['_saveRevisionFormView']['render']();}}class Z extends _0x1795ad{['focus'](){this['element']['focus']();}constructor(_0x4a434f,_0x427e5e){super(_0x4a434f),this['_model']=_0x427e5e,this['changeId']=_0x427e5e['id'];const _0x35eb85=this['bindTemplate'],_0x4ca290=y(_0x4a434f,_0x427e5e['data']['isSuggestion']?'Suggested\x20by':'add'==_0x427e5e['type']?'Added\x20by':'Removed\x20by');this['set']('type',_0x427e5e['type']),this['setTemplate']({'tag':'div','attributes':{'class':['ck-annotation','ck-revision-change',_0x35eb85['to']('type',_0x2af920=>'ck-revision-change__'+_0x2af920)],'tabindex':-0x1},'children':[{'tag':'span','children':[{'tag':'span','attributes':{'class':['ck-revision-change__label']},'children':[{'text':_0x4ca290}]},{'text':'\x20'+_0x427e5e['author']['name']}]}]});}}class r extends _0x1a2b9d(){['toJSON'](){return{'id':this['id'],'authorId':this['author']['id'],'type':this['type'],'data':this['data'],'createdAt':this['createdAt']};}constructor(_0x22473c){super(),this['id']=_0x22473c['id']||_0x21dc68(),this['author']=_0x22473c['author'],this['type']=_0x22473c['type'],this['data']=_0x22473c['data']||{},this['rootName']=_0x22473c['rootName'],this['set']('createdAt',_0x22473c['createdAt']);}}class f{['_setChanges'](_0x33e034){for(const _0x3d315c of _0x33e034)this['changes']['add'](_0x3d315c);}constructor(_0x5b45e2,_0x3a296f){this['newRevisionId']=_0x5b45e2,this['oldRevisionId']=_0x3a296f,this['changes']=new _0x1ca604();}}const tt={'c':_0x2ebf66,'a':_0x3b3544,'e':_0x4347dc,'r':_0x5c62e1,'u':_0x41d19c};class d extends _0x1a4f26{static get['pluginName'](){return'RevisionViewer';}static get['requires'](){return[_0x302f49,_0x31c7aa,A];}['init'](){const _0x394e9a=this['editor'],_0x32f1c6=new Rt(_0x394e9a,{'direction':'backward'}),_0x4b1a8a=new Rt(_0x394e9a,{'direction':'forward'});(_0x394e9a['commands']['add']('showPreviousChange',_0x32f1c6),_0x394e9a['commands']['add']('showNextChange',_0x4b1a8a),_0x394e9a['commands']['add']('restoreRevision',new bt(_0x394e9a)),this['on']('change:numberOfChanges',()=>{_0x32f1c6['refresh'](),_0x4b1a8a['refresh']();}),this['_setConversion'](),this['_initInteractions'](),_0x394e9a['enableReadOnlyMode']('revision-viewer'),_0x394e9a['plugins']['has']('WidgetToolbarRepository'))&&_0x394e9a['plugins']['get']('WidgetToolbarRepository')['forceDisabled']('revision-viewer');}async['getRevisionData'](_0x223cd3){await this['loadRevisionData'](_0x223cd3);const _0xefa5bd={};for(const _0x40945c in _0x223cd3['diffData']){if(_0x223cd3['diffData'][_0x40945c]['attachChange']&&!_0x223cd3['diffData'][_0x40945c]['attachChange']['isAttached'])continue;const _0x29ba7d=this['_removeRevisionMarkers'](JSON['parse'](_0x223cd3['diffData'][_0x40945c]['insertions'])),_0x298f60=this['editor']['editing']['view']['document'],_0x986702=new _0x257c5f(_0x298f60,_0x29ba7d['map'](_0xed392b=>this['_getViewObj'](_0xed392b)));this['editor']['data']['processor']['useFillerType']('marked'),_0xefa5bd[_0x40945c]=this['editor']['data']['processor']['toData'](_0x986702),this['editor']['data']['processor']['useFillerType']('default');}return _0xefa5bd;}async['getRevisionRootsAttributes'](_0x205ab4){await this['loadRevisionData'](_0x205ab4);const _0x332213={};for(const _0x252bc0 in _0x205ab4['diffData'])_0x205ab4['diffData'][_0x252bc0]['attachChange']&&!_0x205ab4['diffData'][_0x252bc0]['attachChange']['isAttached']||(_0x332213[_0x252bc0]=_0x205ab4['diffData'][_0x252bc0]['attributesAfter']||{});return _0x332213;}['_removeRevisionMarkers'](_0x2e85c8){return(_0x2e85c8=_0x2e85c8['filter'](_0x2699d3=>!_0x2699d3['name']||'revision-start'!==_0x2699d3['name']&&'revision-end'!==_0x2699d3['name']))['forEach'](_0x9e80f9=>{'string'!=typeof _0x9e80f9&&(_0x9e80f9['children']=this['_removeRevisionMarkers'](_0x9e80f9['children']),_0x9e80f9['attributes']=_0x9e80f9['attributes']['filter'](_0x2c7082=>!_0x2c7082[0x0]['startsWith']('data-revision-')));}),_0x2e85c8;}async['compare'](_0x472422,_0x365c41,_0x2e7d27=!0x1){if(!this['isEnabled'])return;const _0x5b31e3=this['diff'],_0xa9ed78=this['repository'],_0x36cdb4='string'==typeof _0x472422?_0xa9ed78['getRevision'](_0x472422):_0x472422,_0x4aa481='string'==typeof _0x365c41?_0xa9ed78['getRevision'](_0x365c41):_0x365c41,_0x1c41fc=_0x36cdb4['id'],_0x329f55=_0x4aa481?_0x4aa481['id']:null;if(!_0x2e7d27&&this['diff']&&this['diff']['newRevisionId']===_0x1c41fc&&this['diff']['oldRevisionId']===_0x329f55)return Promise['resolve']();this['isReady']=!0x1,this['activeView']=null,this['activeChange']=null,this['diff']=new f(_0x1c41fc,_0x329f55);const _0x533c2f=this['_getRevisionsRange'](_0x36cdb4,_0x4aa481,!0x0)['map'](_0x3fa56d=>this['loadRevisionData'](_0x3fa56d));return _0x533c2f['push'](new Promise(_0x45411d=>{setTimeout(_0x45411d,0x14);})),Promise['all'](_0x533c2f)['then'](()=>{if(!this['isEnabled'])return;this['_cleanUp']();const _0x4e8233=this['_getDiff'](_0x1c41fc,_0x329f55);for(const _0x2b0a8d of _0x4e8233['changes'])this['_changeIdToChange']['set'](_0x2b0a8d['id'],_0x2b0a8d);this['editor']['model']['enqueueChange']({'isUndoable':!0x1},_0x50ca7b=>{for(const _0x21f300 of this['editor']['model']['document']['getRootNames']())_0x50ca7b['detachRoot'](_0x21f300);for(const _0x44734b of Object['keys'](_0x4e8233['model'])){const _0x44468d=_0x50ca7b['addRoot'](_0x44734b);for(const _0x133088 of Object['keys'](_0x4e8233['attributes'][_0x44734b]))_0x50ca7b['setAttribute'](_0x133088,_0x4e8233['attributes'][_0x44734b][_0x133088],_0x44468d);_0x50ca7b['insert'](_0x4e8233['model'][_0x44734b],_0x44468d,0x0);}}),this['diff']['_setChanges'](this['_sortAndFilterDiffChanges'](_0x4e8233['changes'])),this['isReady']=!0x0;})['catch'](_0x4b2081=>{console['error'](_0x4b2081),this['_cleanUp'](),_0x5b31e3&&(this['diff']=_0x5b31e3),this['isReady']=!0x0;});}['addRevisionData'](_0x1cb85d,_0x330efa){const _0x333ae1=this['repository']['createRevision'](_0x1cb85d);return _0x333ae1['on']('_update',(_0x4afa1f,_0x2a42fa,_0x3639c3)=>_0x330efa(_0x2a42fa,_0x3639c3,_0x333ae1)),this['repository']['addRevision'](_0x333ae1),_0x333ae1;}['loadRevisionData'](_0x5c6d1e){if(!_0x5c6d1e||_0x5c6d1e['diffData'])return Promise['resolve']();{const _0x22051a=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0x22051a,'revisionId':_0x5c6d1e['id']})['then'](_0x182434=>{_0x5c6d1e['_update']({'diffData':_0x182434['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},_0x30e00d=>{for(const _0x23791a of this['editor']['model']['document']['getRootNames']())_0x30e00d['detachRoot'](_0x23791a);});}['_sortAndFilterDiffChanges'](_0x280e79){const _0x216a6a=[],_0x38d0e6=new Map();for(const _0x3379b5 of this['editor']['model']['document']['getRootNames']()){const _0x429a42=this['editor']['editing']['view']['getDomRoot'](_0x3379b5);if(!_0x429a42)continue;const _0x322e45=_0x429a42['getClientRects']()['item'](0x0);_0x322e45&&(_0x216a6a['push'](_0x3379b5),_0x38d0e6['set'](_0x3379b5,_0x322e45));}return _0x216a6a['sort']((_0x19d3b9,_0x4e3396)=>{const _0xee5c82=_0x38d0e6['get'](_0x19d3b9),_0x5a1e91=_0x38d0e6['get'](_0x4e3396);return _0xee5c82['y']-_0x5a1e91['y']||_0xee5c82['x']-_0x5a1e91['x'];}),(_0x280e79=_0x280e79['filter'](_0x18698f=>_0x216a6a['includes'](_0x18698f['rootName'])))['sort']((_0x35d637,_0x568fcf)=>_0x216a6a['indexOf'](_0x35d637['rootName'])-_0x216a6a['indexOf'](_0x568fcf['rootName'])),_0x280e79;}['_makeTape'](_0x28a032){const _0x396553=Array['from'](_0x28a032['markers'])['filter'](([_0x18c457,_0x3e02eb])=>_0x18c457['startsWith']('revision:')&&!_0x3e02eb['isCollapsed']),_0x5b1f85=Array['from'](this['editor']['model']['createRangeIn'](_0x28a032)['getWalker']({'singleCharacters':!0x0}));if(0x0!=_0x396553['length'])for(const _0x2835a4 of _0x5b1f85){const [_0x132c23,_0x1eb56b]=_0x396553[0x0],[,_0x5f1da1,_0x2ef384]=_0x132c23['split'](':');if(_0x1eb56b['end']['isEqual'](_0x2835a4['nextPosition'])&&_0x396553['shift'](),(_0x2835a4['previousPosition']['isEqual'](_0x1eb56b['start'])||_0x2835a4['previousPosition']['isAfter'](_0x1eb56b['start']))&&('insertion'==_0x5f1da1?_0x2835a4['isAdded']={'userId':_0x2ef384}:'deletion'==_0x5f1da1&&(_0x2835a4['isRemoved']={'userId':_0x2ef384})),0x0==_0x396553['length'])break;}return _0x5b1f85;}['_refreshStartEndIndex'](_0x39a019){const _0x28c12b=new Map();for(let _0x47e63a=0x0;_0x47e63a<_0x39a019['length'];_0x47e63a++)'text'===_0x39a019[_0x47e63a]['type']?(_0x39a019[_0x47e63a]['item']['startIndex']=_0x47e63a,_0x39a019[_0x47e63a]['item']['endIndex']=_0x47e63a):('elementStart'===_0x39a019[_0x47e63a]['type']?_0x39a019[_0x47e63a]['item']['startIndex']=_0x47e63a:'elementEnd'===_0x39a019[_0x47e63a]['type']&&(_0x39a019[_0x47e63a]['item']['endIndex']=_0x47e63a),_0x28c12b['set'](_0x39a019[_0x47e63a]['id'],_0x47e63a));for(const _0x4ea306 of _0x28c12b['values']())'elementStart'===_0x39a019[_0x4ea306]['type']?_0x39a019[_0x4ea306]['item']['endIndex']=_0x28c12b['get'](_0x39a019[_0x4ea306]['pairId']):'elementEnd'===_0x39a019[_0x4ea306]['type']&&(_0x39a019[_0x4ea306]['item']['startIndex']=_0x28c12b['get'](_0x39a019[_0x4ea306]['pairId']));}['_processTape'](_0x5e91fe){for(let _0x4a84b8=0x0;_0x4a84b8<_0x5e91fe['length'];_0x4a84b8++){if('elementStart'===_0x5e91fe[_0x4a84b8]['type'])_0x5e91fe[_0x4a84b8]['item']['startIndex']=_0x4a84b8;else{if('elementEnd'===_0x5e91fe[_0x4a84b8]['type']){_0x5e91fe[_0x4a84b8]['item']['endIndex']=_0x4a84b8;const _0x17ad1d=_0x5e91fe[_0x4a84b8]['item']['startIndex'];_0x5e91fe[_0x17ad1d]['pairId']=_0x5e91fe[_0x4a84b8]['id'],_0x5e91fe[_0x4a84b8]['pairId']=_0x5e91fe[_0x17ad1d]['id'];}else _0x5e91fe[_0x4a84b8]['item']['startIndex']=_0x4a84b8,_0x5e91fe[_0x4a84b8]['item']['endIndex']=_0x4a84b8,_0x5e91fe[_0x4a84b8]['pairId']=null;}_0x5e91fe[_0x4a84b8]['markersStart']||(_0x5e91fe[_0x4a84b8]['markersStart']=[],_0x5e91fe[_0x4a84b8]['markersEnd']=[]);}}['_markInsertions'](_0x4482a5,_0x207cc5){const _0x16f9d9=_0x4482a5['filter'](_0x5acb9c=>!_0x5acb9c['isAdded']);for(let _0x454f86=0x0;_0x454f86<_0x207cc5['length'];_0x454f86++)_0x207cc5[_0x454f86]['isAdded']&&(_0x16f9d9[_0x454f86]['isAdded']=_0x207cc5[_0x454f86]['isAdded']);}['_makeModelFromViewString'](_0x4dd25d){const _0x2d0b7d=JSON['parse'](_0x4dd25d),_0xac60c5=this['editor']['editing']['view']['document'],_0x1c1795=new _0x257c5f(_0xac60c5,_0x2d0b7d['map'](_0x2fc361=>this['_getViewObj'](_0x2fc361)));return this['editor']['data']['toModel'](_0x1c1795);}['_getViewObj'](_0x3daa78){const _0x210a73=this['editor']['editing']['view']['document'];if('string'==typeof _0x3daa78)return new _0x23172e(_0x210a73,_0x3daa78);{const _0x334f44=_0x3daa78['children']['map'](_0x1bcc72=>this['_getViewObj'](_0x1bcc72));return new(tt[_0x3daa78['type']]||_0x51bfd7)(_0x210a73,_0x3daa78['name'],_0x3daa78['attributes'],_0x334f44);}}['_getDiff'](_0x578689,_0x4f2886=null){const _0x21dfca=this['repository']['getRevision'](_0x578689),_0x4beed4=_0x4f2886?this['repository']['getRevision'](_0x4f2886):null,_0x3723ab=this['_getRevisionsRange'](_0x21dfca,_0x4beed4),_0x3e8531=_0x3723ab[_0x3723ab['length']-0x1],_0x5e61b2=new Map(),_0x56a147={'model':{},'attributes':{},'changes':[]},_0x86e87=new Set(),_0x10be07=new Map();for(let _0x4abf0e=_0x3723ab['length']-0x1;_0x4abf0e>=0x0;_0x4abf0e--){const _0x2df6a2=_0x3723ab[_0x4abf0e];for(const _0x580dda of Object['keys'](_0x2df6a2['diffData']))if(_0x2df6a2['diffData'][_0x580dda]['attachChange']){const _0x3ef701=_0x2df6a2['diffData'][_0x580dda]['attachChange'];_0x3ef701['isAttached']?(_0x86e87['add'](_0x580dda),_0x10be07['has'](_0x580dda)&&_0x10be07['get'](_0x580dda)['userId']==_0x3ef701['userId']?_0x10be07['delete'](_0x580dda):_0x10be07['set'](_0x580dda,_0x3ef701)):_0x10be07['has'](_0x580dda)?(_0x86e87['delete'](_0x580dda),_0x10be07['delete'](_0x580dda)):(_0x86e87['add'](_0x580dda),_0x10be07['set'](_0x580dda,_0x3ef701));}else _0x86e87['add'](_0x580dda);}for(const _0xfb5132 of _0x86e87){const _0x2cbfc1=_0x10be07['has'](_0xfb5132)&&!_0x10be07['get'](_0xfb5132)['isAttached'];let _0x5341ff=_0x2cbfc1?_0x3723ab['length']-0x1:0x0;const _0x4cf004=_0x2cbfc1?-0x1:0x1;for(;_0x3723ab[_0x5341ff];){const _0x13bafc=_0x3723ab[_0x5341ff];if(_0x13bafc['diffData'][_0xfb5132]){const _0x5eb65c=_0x2cbfc1?_0x13bafc['diffData'][_0xfb5132]['attributesBefore']:_0x13bafc['diffData'][_0xfb5132]['attributesAfter'];_0x56a147['attributes'][_0xfb5132]=_0x5eb65c?_0x295020(_0x5eb65c):{};break;}_0x5341ff+=_0x4cf004;}}for(const _0x487c5b of _0x3723ab){_0x487c5b['model']={};for(const _0x4508b3 of _0x487c5b['authors'])_0x5e61b2['set'](_0x4508b3['id'],_0x4508b3);for(const _0x5575b5 of _0x86e87){const _0x22c9ea=_0x487c5b['diffData'][_0x5575b5]?_0x487c5b['diffData'][_0x5575b5]['insertions']:'[]',_0x507281=_0x487c5b['diffData'][_0x5575b5]?_0x487c5b['diffData'][_0x5575b5]['deletions']:'[]';_0x487c5b['model'][_0x5575b5]={'insertions':this['_makeModelFromViewString'](_0x22c9ea),'deletions':this['_makeModelFromViewString'](_0x507281)};}}for(const _0x448f02 of _0x86e87){let _0x289063=null,_0x56f2f4=0x0;const _0x2cdd1e=new Map(Array['from'](_0x21dfca['model'][_0x448f02]['insertions']['markers'])['filter'](([_0x238a6d])=>!_0x238a6d['startsWith']('revision:')));let _0xb46cda=0x0;for(const _0x56d3fa of _0x3723ab){const _0x3e7b49=this['_makeTape'](_0x56d3fa['model'][_0x448f02]['insertions']);_0x56d3fa==_0x21dfca?(_0x289063=_0x3e7b49,_0x56f2f4=_0x289063['length'],_0x289063['forEach'](_0x54dcde=>{_0x54dcde['id']=_0xb46cda++;}),this['_processTape'](_0x289063)):this['_markInsertions'](_0x289063,_0x3e7b49);const _0x5a9eaa=_0x289063['filter'](_0x4e7039=>!_0x4e7039['isAdded'])['map'](_0x291513=>_0x291513['id']);let _0x34e047=0x0;const _0x196158=this['_makeTape'](_0x56d3fa['model'][_0x448f02]['deletions']);_0x196158['forEach'](_0x414e0c=>{_0x414e0c['isRemoved']?_0x414e0c['id']=_0x56f2f4++:_0x414e0c['id']=_0x5a9eaa[_0x34e047++];}),this['_processTape'](_0x196158),this['_setDistance'](_0x289063,'isAdded'),this['_setDistance'](_0x196158,'isRemoved'),_0x56d3fa==_0x21dfca&&this['_markMarkers'](_0x289063,_0x2cdd1e),_0x289063=this['_joinTapes'](_0x289063,_0x196158),this['_refreshStartEndIndex'](_0x289063),this['_setDistance'](_0x289063,'isRemoved');}_0x289063=_0x289063['filter'](_0x47ebdb=>!(_0x47ebdb['isAdded']&&_0x47ebdb['isRemoved']));const _0x4623ad=new Map(_0x3e8531['model'][_0x448f02]['deletions']['markers']),_0x2b26da=new Set(_0x2cdd1e['keys']());for(const _0x368d74 of _0x4623ad['keys']())_0x2b26da['delete'](_0x368d74);this['_markSuggestions'](_0x289063,_0x2b26da),this['_fixObsoleteTags'](_0x289063),_0x289063=this['_removeMissingPairs'](_0x289063),_0x289063=this['_markMismatchedRemovedTags'](_0x289063),_0x289063=this['_removeUnsupportedChanges'](_0x289063);const {root:_0x10f459,changes:_0x4f7e9f}=this['_makeModelFromTape'](_0x289063,_0x5e61b2,_0x448f02);_0x56a147['model'][_0x448f02]=_0x10f459;const _0x336b35=_0x10be07['get'](_0x448f02);if(_0x336b35){const _0x24f8cb=_0x5e61b2['get'](_0x336b35['userId']),_0x34cbfb=new r({'author':_0x24f8cb,'type':_0x336b35['isAttached']?'add':'remove','data':{'isOnRoot':!0x0},'createdAt':new Date(),'rootName':_0x448f02});_0x4f7e9f['unshift'](_0x34cbfb),_0x56a147['attributes'][_0x448f02]['revisionHistoryAttachChange']=_0x34cbfb['id'];}_0x56a147['changes']=_0x56a147['changes']['concat'](_0x4f7e9f);}return _0x56a147;}['_markMarkers'](_0x1fe263,_0x2e21c7){for(let _0x262f7a=0x0;_0x262f7a<_0x1fe263['length'];_0x262f7a++)for(const [_0x5562ce,_0x3fd42e]of _0x2e21c7)_0x3fd42e['start']['isEqual'](_0x1fe263[_0x262f7a]['previousPosition'])&&_0x1fe263[_0x262f7a]['markersStart']['push'](_0x5562ce),_0x3fd42e['end']['isEqual'](_0x1fe263[_0x262f7a]['nextPosition'])&&_0x1fe263[_0x262f7a]['markersEnd']['push'](_0x5562ce);}['_joinTapes'](_0x7420f,_0x546238){let _0x57c0a4=[],_0x1f7c57=0x0,_0x3dede6=0x0;for(;_0x1f7c57<_0x7420f['length']||_0x3dede6<_0x546238['length'];){const _0x20fe92=_0x7420f[_0x1f7c57]||{},_0x333b36=_0x546238[_0x3dede6]||{};if(_0x20fe92['id']==_0x333b36['id'])_0x1f7c57++,_0x3dede6++,_0x57c0a4['push'](_0x20fe92);else{if(_0x333b36['isRemoved']&&_0x20fe92['isAdded']){const {commonTape:_0x4f785c,iEnd:_0x10b129,jEnd:_0xcc0d89}=this['_threeWayMerge'](_0x7420f,_0x1f7c57,_0x546238,_0x3dede6);_0x57c0a4=_0x57c0a4['concat'](_0x4f785c),_0x1f7c57=_0x10b129,_0x3dede6=_0xcc0d89;}else _0x333b36['isRemoved']?(_0x3dede6++,_0x57c0a4['push'](_0x333b36)):(_0x1f7c57++,_0x57c0a4['push'](_0x20fe92));}}return _0x57c0a4;}['_markSuggestions'](_0x147eed,_0x1694d8){const _0x351f2d=[];for(let _0x17eb81=0x0;_0x17eb81<_0x147eed['length'];_0x17eb81++){for(let _0x47350f=0x0;_0x47350f<_0x147eed[_0x17eb81]['markersStart']['length'];_0x47350f++){const _0x55c5cf=_0x147eed[_0x17eb81]['markersStart'][_0x47350f];if(!_0x1694d8['has'](_0x55c5cf))continue;const {group:_0xce70b6,type:_0x2193aa,authorId:_0x368f87}=_0x2a77a2(_0x55c5cf);'revision-suggestion'!=_0xce70b6||'insertion'!=_0x2193aa&&'deletion'!=_0x2193aa||(_0x351f2d['unshift']({'type':_0x2193aa,'name':_0x55c5cf,'userId':_0x368f87}),_0x147eed[_0x17eb81]['markersStart']['splice'](_0x47350f,0x1),_0x47350f--);}_0x2c53c1(_0x147eed[_0x17eb81]);for(let _0x53f651=0x0;_0x53f651<_0x147eed[_0x17eb81]['markersEnd']['length'];_0x53f651++){const _0x1784ad=_0x147eed[_0x17eb81]['markersEnd'][_0x53f651];if(!_0x1694d8['has'](_0x1784ad))continue;const {group:_0x5da441,type:_0x5411cb}=_0x2a77a2(_0x1784ad);if('revision-suggestion'!=_0x5da441||'insertion'!=_0x5411cb&&'deletion'!=_0x5411cb)continue;_0x147eed[_0x17eb81]['markersEnd']['splice'](_0x53f651,0x1),_0x53f651--;const _0x5c5b58=_0x351f2d['findIndex'](_0x41f230=>_0x41f230['name']==_0x1784ad);_0x5c5b58>-0x1&&_0x351f2d['splice'](_0x5c5b58,0x1);}}function _0x2a77a2(_0x224234){const _0x4fa40a=_0x224234['split'](':');return{'group':_0x4fa40a[0x0],'type':_0x4fa40a[0x1],'subType':_0x4fa40a['length']>=0x5?_0x4fa40a[0x2]:null,'id':_0x4fa40a['length']<0x5?_0x4fa40a[0x2]:_0x4fa40a[0x3],'authorId':_0x4fa40a['length']<0x5?_0x4fa40a[0x3]:_0x4fa40a[0x4],'markerCount':0x6==_0x4fa40a['length']?_0x4fa40a[0x5]:null};}function _0x2c53c1(_0x55d5c0){for(let _0x4a82c9=0x0;_0x4a82c9<_0x351f2d['length'];_0x4a82c9++){if(_0x55d5c0['isAdded']&&'insertion'==_0x351f2d[_0x4a82c9]['type'])return _0x55d5c0['isAddSuggestion']=_0x351f2d[_0x4a82c9],void delete _0x55d5c0['isAdded'];if(!_0x55d5c0['isAdded']&&!_0x55d5c0['isRemoved']&&'deletion'==_0x351f2d[_0x4a82c9]['type'])return void(_0x55d5c0['isRemoveSuggestion']=_0x351f2d[_0x4a82c9]);}}}['_setDistance'](_0x3bc3ac,_0x593fa4){let _0x4e769f=0x0,_0x4ff4ec=!0x1;const _0x5ae309=new Map();for(const _0x4c570c of _0x3bc3ac)_0x4c570c[_0x593fa4]?_0x4ff4ec&&(_0x4e769f++,_0x4ff4ec=!0x1):(_0x4e769f++,_0x4ff4ec=!0x0),_0x5ae309['set'](_0x4c570c['id'],_0x4e769f);for(let _0x3b11a2=0x0;_0x3b11a2<_0x3bc3ac['length'];_0x3b11a2++){if('isRemoved'==_0x593fa4&&_0x3bc3ac[_0x3b11a2]['isAdded']||'isAdded'==_0x593fa4&&_0x3bc3ac[_0x3b11a2]['isRemoved'])continue;if('text'==_0x3bc3ac[_0x3b11a2]['type']){_0x3bc3ac[_0x3b11a2]['distance']=0x0;continue;}const _0xbf9712=_0x5ae309['get'](_0x3bc3ac[_0x3b11a2]['pairId']),_0x2f3c4e=_0x5ae309['get'](_0x3bc3ac[_0x3b11a2]['id']);_0x3bc3ac[_0x3b11a2]['distance']=_0xbf9712-_0x2f3c4e;}}['_getRevisionsRange'](_0x14898f,_0x4ca125,_0x3edc5b=!0x1){const _0x336434=[];let _0x323769=this['repository']['getIndex'](_0x14898f),_0x2a1109=this['repository']['getIndex'](_0x4ca125);for(-0x1==_0x2a1109&&(_0x2a1109=this['repository']['_revisions']['length'],_0x3edc5b=!0x1);_0x323769<_0x2a1109;)_0x336434['push'](this['repository']['getRevision'](_0x323769)),_0x323769++;return _0x3edc5b&&_0x336434['push'](this['repository']['getRevision'](_0x323769)),_0x336434;}['_threeWayMerge'](_0x18d55c,_0x475a33,_0x1152b0,_0x48e43e){const _0x4cda70=this['editor']['model']['schema'];let _0x4f4ca7=_0x475a33;for(;_0x18d55c[_0x4f4ca7]&&_0x18d55c[_0x4f4ca7]['isAdded'];)_0x4f4ca7++;let _0x214791=_0x48e43e;for(;_0x1152b0[_0x214791]&&_0x1152b0[_0x214791]['isRemoved'];)_0x214791++;_0x530823(_0x18d55c,_0x475a33,_0x4f4ca7),_0x530823(_0x1152b0,_0x48e43e,_0x214791);const _0x32489b=_0x1152b0['slice'](_0x48e43e,_0x214791)['concat'](_0x18d55c['slice'](_0x475a33,_0x4f4ca7));return _0x32489b['sort']((_0x26b32b,_0x1ecb28)=>_0x26b32b['side']!=_0x1ecb28['side']?_0x26b32b['side']-_0x1ecb28['side']:_0x26b32b['level']!=_0x1ecb28['level']?_0x26b32b['level']-_0x1ecb28['level']:_0x26b32b['distance']!=_0x1ecb28['distance']?_0x1ecb28['distance']-_0x26b32b['distance']:!!_0x26b32b['isAdded']!=!!_0x1ecb28['isAdded']?-0x1==_0x26b32b['side']||0x0==_0x26b32b['side']?_0x26b32b['isAdded']?-0x1:0x1:_0x26b32b['isAdded']?0x1:-0x1:_0x26b32b['index']-_0x1ecb28['index']),{'commonTape':_0x32489b,'iEnd':_0x4f4ca7,'jEnd':_0x214791};function _0x530823(_0x4b9287,_0x44aa1d,_0x40f186){let _0x4dded0=-0x1,_0x4d3256=Number['POSITIVE_INFINITY'],_0x27a058=!0x0;for(let _0x13d177=_0x44aa1d;_0x13d177<_0x40f186;_0x13d177++)if(_0x4cda70['isInline'](_0x4b9287[_0x13d177]['item'])||(_0x27a058=!0x1),_0x4b9287[_0x13d177]['item']['startIndex']<_0x44aa1d&&(_0x4dded0=_0x13d177),_0x4b9287[_0x13d177]['item']['endIndex']>=_0x40f186){_0x4d3256=_0x13d177;break;}_0x27a058&&(_0x4dded0=_0x40f186-0x1);for(let _0x5f0f98=_0x44aa1d;_0x5f0f98<_0x40f186;_0x5f0f98++)_0x4b9287[_0x5f0f98]['side']=_0x5f0f98<=_0x4dded0?-0x1:_0x5f0f98<_0x4d3256?0x0:0x1,_0x4b9287[_0x5f0f98]['index']=_0x5f0f98;let _0xf4edcb=0x0;for(let _0x5e5ad6=_0x44aa1d;_0x5e5ad6<=_0x4dded0;_0x5e5ad6++)0x0==_0x4b9287[_0x5e5ad6]['distance']?_0x4b9287[_0x5e5ad6]['level']=_0xf4edcb:(_0xf4edcb++,_0x4b9287[_0x5e5ad6]['level']=_0xf4edcb,_0xf4edcb++);for(let _0xff0154=_0x44aa1d;_0xff0154<_0x40f186;_0xff0154++)0x0==_0x4b9287[_0xff0154]['side']&&(_0x4b9287[_0xff0154]['level']=_0xf4edcb);_0xf4edcb=0x0;for(let _0x4b8a25=_0x40f186-0x1;_0x4b8a25>=_0x4d3256;_0x4b8a25--)0x0==_0x4b9287[_0x4b8a25]['distance']?_0x4b9287[_0x4b8a25]['level']=_0xf4edcb:(_0xf4edcb--,_0x4b9287[_0x4b8a25]['level']=_0xf4edcb,_0xf4edcb--);}}['_fixObsoleteTags'](_0x130daa){const _0x5984a1=new Map(),_0x6abb26=this['editor']['model']['schema'];for(let _0x47b39c=0x1;_0x47b39c<_0x130daa['length'];_0x47b39c++){let _0x7e9d9c,_0x201bb3,_0x3b6c16;const _0x34a8a8=_0x130daa[_0x47b39c],_0x34d7b9=_0x130daa[_0x47b39c-0x1];if('text'==_0x34a8a8['type'])continue;if(_0x34a8a8['type']!=_0x34d7b9['type'])continue;if(!_0x6abb26['isBlock'](_0x34d7b9['item'])||_0x6abb26['isLimit'](_0x34d7b9['item']))continue;if(!_0x6abb26['isBlock'](_0x34a8a8['item'])||_0x6abb26['isLimit'](_0x34a8a8['item']))continue;if((_0x130daa[_0x47b39c]['isAdded']||_0x130daa[_0x47b39c]['isAddSuggestion'])&&_0x130daa[_0x47b39c-0x1]['isRemoved'])_0x7e9d9c=_0x130daa[_0x47b39c],_0x201bb3=_0x130daa[_0x47b39c-0x1],_0x3b6c16=_0x47b39c-0x1;else{if(!_0x130daa[_0x47b39c]['isRemoved']||!_0x130daa[_0x47b39c-0x1]['isAdded']&&!_0x130daa[_0x47b39c-0x1]['isAddSuggestion'])continue;_0x7e9d9c=_0x130daa[_0x47b39c-0x1],_0x201bb3=_0x130daa[_0x47b39c],_0x3b6c16=_0x47b39c;}const _0x1748ae=_0x7e9d9c['level']==_0x201bb3['level'],_0x541341=Math['abs'](_0x7e9d9c['level'])<Math['abs'](_0x201bb3['level'])&&0x0==_0x201bb3['distance'];(_0x1748ae||_0x541341)&&(_0x5984a1['set'](_0x201bb3['id'],_0x7e9d9c['id']),_0x130daa['splice'](_0x3b6c16,0x1),_0x47b39c--,_0x7e9d9c['isAdded']=!0x1);}for(let _0x2c261b=0x0;_0x2c261b<_0x130daa['length'];_0x2c261b++)_0x5984a1['has'](_0x130daa[_0x2c261b]['pairId'])&&(_0x130daa[_0x2c261b]['pairId']=_0x5984a1['get'](_0x130daa[_0x2c261b]['pairId']));}['_removeMissingPairs'](_0x12405e){const _0x348117=new Set(_0x12405e['map'](_0x2c5336=>_0x2c5336['id']));for(let _0x2c41ab=0x0;_0x2c41ab<_0x12405e['length'];_0x2c41ab++)_0x348117['has'](_0x12405e[_0x2c41ab]['pairId'])||0x0==_0x12405e[_0x2c41ab]['distance']||(_0x12405e[_0x2c41ab]['isIncorrect']=!0x0);return _0x12405e['filter'](_0x6cc60a=>!_0x6cc60a['isIncorrect']);}['_markMismatchedRemovedTags'](_0x3b4e54){const _0x28b306=new Set();for(let _0x14306b=0x0;_0x14306b<_0x3b4e54['length'];_0x14306b++){if(_0x28b306['has'](_0x3b4e54[_0x14306b]['id'])&&_0x3b4e54[_0x14306b]['isRemoved']&&(_0x3b4e54[_0x14306b]['isIncorrect']=!0x0),_0x3b4e54[_0x14306b]['isIncorrect'])continue;if(0x0==_0x3b4e54[_0x14306b]['distance'])continue;if('elementStart'!=_0x3b4e54[_0x14306b]['type'])continue;if(null==_0x3b4e54[_0x14306b]['pairId'])continue;let _0x1fa858=_0x14306b+0x1,_0x12e1da=0x0;for(;_0x3b4e54[_0x1fa858]['id']!=_0x3b4e54[_0x14306b]['pairId'];)'elementStart'==_0x3b4e54[_0x1fa858]['type']?_0x12e1da++:'elementEnd'==_0x3b4e54[_0x1fa858]['type']&&_0x12e1da--,_0x1fa858++;if(0x0!=_0x12e1da){if(_0x3b4e54[_0x14306b]['isRemoved'])_0x3b4e54[_0x14306b]['isIncorrect']=!0x0;else{for(;_0x1fa858!=_0x14306b;)_0x3b4e54[_0x1fa858]['isRemoved']&&0x0!=_0x3b4e54[_0x1fa858]['distance']&&(_0x3b4e54[_0x1fa858]['isIncorrect']=!0x0,_0x28b306['add'](_0x3b4e54[_0x1fa858]['pairId'])),_0x1fa858--;}}}return _0x3b4e54['filter'](_0x19178e=>!_0x19178e['isIncorrect']);}['_removeUnsupportedChanges'](_0x11ed13){const _0x2f5dc6=this['editor']['model']['schema'];for(let _0x34c5d4=0x0;_0x34c5d4<_0x11ed13['length'];_0x34c5d4++){if(!(_0x11ed13[_0x34c5d4]['isAdded']||_0x11ed13[_0x34c5d4]['isAddSuggestion']||_0x11ed13[_0x34c5d4]['isRemoved']||_0x11ed13[_0x34c5d4]['isRemoveSuggestion']))continue;if(0x0==_0x11ed13[_0x34c5d4]['distance'])continue;const _0x76e9f=_0x11ed13[_0x34c5d4]['item'];_0x2f5dc6['isBlock'](_0x76e9f)||_0x2f5dc6['isLimit'](_0x76e9f)||(_0x11ed13[_0x34c5d4]['isAdded']&&delete _0x11ed13[_0x34c5d4]['isAdded'],_0x11ed13[_0x34c5d4]['isAddSuggestion']&&delete _0x11ed13[_0x34c5d4]['isAddSuggestion'],_0x11ed13[_0x34c5d4]['isRemoveSuggestion']&&delete _0x11ed13[_0x34c5d4]['isRemoveSuggestion'],_0x11ed13[_0x34c5d4]['isRemoved']&&(_0x11ed13[_0x34c5d4]['isIncorrect']=!0x0));}return _0x11ed13['filter'](_0x4cb501=>!_0x4cb501['isIncorrect']);}['_makeModelFromTape'](_0x23d98e,_0xc9d1ea,_0x47b552){const _0x5d6c8b=new _t(),_0x55ff6c=[],_0x34c828=new Map(),_0x521fb5=this['editor']['model'],_0x5ea047=_0x521fb5['schema'],_0x49a252=[_0x5d6c8b],_0x10b840={},_0x8c00cd={'isAdded':[],'isRemoved':[],'isAddSuggestion':[],'isRemoveSuggestion':[]};let _0x160d9f=null;const _0x311a53=[0x0];for(let _0xe470c7=0x0;_0xe470c7<_0x23d98e['length'];_0xe470c7++){let _0x35c1ed,_0x1c3a53;if('elementStart'===_0x23d98e[_0xe470c7]['type']){_0x35c1ed=_0x521fb5['createPositionFromPath'](_0x5d6c8b,_0x311a53);const _0x132046=new ft(_0x23d98e[_0xe470c7]['item']['name'],_0x23d98e[_0xe470c7]['item']['getAttributes']());_0x49a252[0x0]['_appendChild'](_0x132046),_0x311a53['push'](0x0),_0x49a252['unshift'](_0x132046),_0x1c3a53=_0x521fb5['createPositionFromPath'](_0x5d6c8b,_0x311a53),_0x160d9f=null;}else{if('elementEnd'===_0x23d98e[_0xe470c7]['type'])_0x49a252['shift'](),_0x35c1ed=_0x521fb5['createPositionFromPath'](_0x5d6c8b,_0x311a53),_0x311a53['pop'](),_0x311a53[_0x311a53['length']-0x1]++,_0x1c3a53=_0x521fb5['createPositionFromPath'](_0x5d6c8b,_0x311a53),_0x160d9f=null;else{if(_0x35c1ed=_0x521fb5['createPositionFromPath'](_0x5d6c8b,_0x311a53),_0x160d9f&&_0x34ce77(_0x160d9f,_0x23d98e[_0xe470c7]['item']))_0x160d9f['_data']+=_0x23d98e[_0xe470c7]['item']['data'];else{const _0x5120e4=new yt(_0x23d98e[_0xe470c7]['item']['data'],_0x23d98e[_0xe470c7]['item']['getAttributes']());_0x49a252[0x0]['_appendChild'](_0x5120e4),_0x160d9f=_0x5120e4;}_0x311a53[_0x311a53['length']-0x1]+=_0x23d98e[_0xe470c7]['item']['offsetSize'],_0x1c3a53=_0x521fb5['createPositionFromPath'](_0x5d6c8b,_0x311a53);}}for(const _0x258d9b of _0x23d98e[_0xe470c7]['markersStart'])_0x34c828['set'](_0x258d9b,{'start':_0x35c1ed,'end':null});_0x31a8cf('isRemoveSuggestion',_0xe470c7,_0x35c1ed,_0x1c3a53),_0x31a8cf('isAddSuggestion',_0xe470c7,_0x35c1ed,_0x1c3a53),_0x31a8cf('isRemoved',_0xe470c7,_0x35c1ed,_0x1c3a53),_0x31a8cf('isAdded',_0xe470c7,_0x35c1ed,_0x1c3a53);for(const _0x5ef00f of _0x23d98e[_0xe470c7]['markersEnd']){_0x34c828['get'](_0x5ef00f)['end']=_0x1c3a53;}}for(const [_0x1dfec7,_0x14b2d6]of _0x34c828){const _0x187940=this['editor']['model']['createRange'](_0x14b2d6['start'],_0x14b2d6['end']);_0x5d6c8b['markers']['set'](_0x1dfec7,_0x187940);}return _0x55ff6c['sort']((_0x47122b,_0x1640c7)=>{const _0x32a33b=_0x5d6c8b['markers']['get']('revision:'+_0x47122b['id']),_0x3d7701=_0x5d6c8b['markers']['get']('revision:'+_0x1640c7['id']);return _0x32a33b['start']['isBefore'](_0x3d7701['start'])?-0x1:_0x32a33b['start']['isAfter'](_0x3d7701['start'])?0x1:_0x32a33b['end']['isBefore'](_0x3d7701['end'])?-0x1:_0x32a33b['end']['isAfter'](_0x3d7701['end'])?0x1:'add'===_0x47122b['type']?-0x1:0x1;}),{'root':_0x5d6c8b,'changes':_0x55ff6c};function _0x31a8cf(_0x2721b8,_0x50543a,_0x40eceb,_0x29ee28){const _0x1c7d11=!!_0x23d98e[_0x50543a][_0x2721b8],_0x42d885=_0x1c7d11?_0x23d98e[_0x50543a][_0x2721b8]['userId']:null,_0x3e7f5d=_0x50543a===_0x23d98e['length']-0x1,_0xc1dd68=_0x8c00cd[_0x2721b8][0x0],_0x165b03=_0x5ea047['isObject'](_0x23d98e[_0x50543a]['item']);!_0x10b840[_0x2721b8]&&_0x1c7d11?_0x10b840[_0x2721b8]={'start':_0x40eceb,'tapeItem':_0x23d98e[_0x50543a],'userId':_0x42d885,'type':_0x2721b8}:_0x10b840[_0x2721b8]&&!_0x1c7d11?(_0x10b840[_0x2721b8]['end']=_0x40eceb,_0x4f3026(_0x10b840[_0x2721b8]),_0x10b840[_0x2721b8]=null):_0x10b840[_0x2721b8]&&_0x1c7d11&&_0x10b840[_0x2721b8]['userId']!==_0x42d885&&(_0x10b840[_0x2721b8]['end']=_0x40eceb,_0xc1dd68&&_0xc1dd68['userId']===_0x10b840[_0x2721b8]['userId']||_0x4f3026(_0x10b840[_0x2721b8]),_0x10b840[_0x2721b8]={'start':_0x40eceb,'tapeItem':_0x23d98e[_0x50543a],'userId':_0x42d885,'type':_0x2721b8}),_0x10b840[_0x2721b8]&&_0x165b03&&('elementStart'!==_0x23d98e[_0x50543a]['type']||_0xc1dd68&&_0xc1dd68['userId']===_0x42d885||_0x8c00cd[_0x2721b8]['unshift']({'userId':_0x42d885,'object':_0x23d98e[_0x50543a]['item'],'change':_0x10b840[_0x2721b8]}),'elementEnd'===_0x23d98e[_0x50543a]['type']&&_0xc1dd68&&_0xc1dd68['object']===_0x23d98e[_0x50543a]['item']&&(_0x8c00cd[_0x2721b8]['shift'](),_0x10b840[_0x2721b8]=_0xc1dd68['change'])),_0x10b840[_0x2721b8]&&_0x3e7f5d&&(_0x10b840[_0x2721b8]['end']=_0x29ee28,_0x4f3026(_0x10b840[_0x2721b8]),_0x10b840[_0x2721b8]=null);}function _0x4f3026({start:_0x4f560b,end:_0x27d9d0,tapeItem:_0x550c74,userId:_0x10e624,type:_0x54518e}){const _0xa67742=_0x550c74['item'],_0xf2c5ea=_0x521fb5['schema']['isBlock'](_0xa67742)&&!_0x521fb5['schema']['isLimit'](_0xa67742),_0x3d915e=_0x4f560b['nodeAfter']==_0x27d9d0['parent']&&_0x27d9d0['isAtStart'];if(_0xf2c5ea&&_0x3d915e)return;const _0x5ab1eb=_0x521fb5['createRange'](_0x4f560b,_0x27d9d0),_0x3a99d5=_0xc9d1ea['get'](_0x10e624),_0x15ddb8=new r({'author':_0x3a99d5,'type':'isAdded'==_0x54518e||'isAddSuggestion'==_0x54518e?'add':'remove','data':{'isSuggestion':'isAddSuggestion'==_0x54518e||'isRemoveSuggestion'==_0x54518e},'createdAt':new Date(),'rootName':_0x47b552});_0x55ff6c['push'](_0x15ddb8),_0x5d6c8b['markers']['set']('revision:'+_0x15ddb8['id'],_0x5ab1eb);}function _0x34ce77(_0x4e96ef,_0x3b9597){const _0x67c49d=_0x4e96ef['getAttributes'](),_0x1cbe9a=_0x3b9597['getAttributes']();for(const _0x14b223 of _0x67c49d){if(_0x14b223[0x1]!==_0x3b9597['getAttribute'](_0x14b223[0x0]))return!0x1;_0x1cbe9a['next']();}return _0x1cbe9a['next']()['done'];}}['_setConversion'](){this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'revision'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision','view':_0x5d8a19=>{const _0xcd71a8=_0x5d8a19['markerName']['split'](':')[0x1],_0x560799=this['_getChangeFromId'](_0xcd71a8);if(!_0x560799)return null;const _0x579ebf='add'==_0x560799['type']?'insertion':'deletion',_0x306673=['ck-suggestion-marker','ck-suggestion-marker-'+_0x579ebf];return _0x560799['data']['isSuggestion']&&_0x306673['push']('ck-suggestion-marker-'+_0x579ebf+'-new'),this['activeChange']==_0x560799&&_0x306673['push']('ck-suggestion-marker--active'),{'classes':_0x306673,'attributes':{'data-change-id':_0xcd71a8}};}}),this['editor']['conversion']['for']('upcast')['add'](_0x4558bb=>{_0x4558bb['on']('element:pre',(_0x12ce9c,_0x58ef71,_0x2607c3)=>{const _0x8ea0f8=_0x58ef71['viewItem']['getChild'](0x0);if(!_0x8ea0f8||!_0x8ea0f8['is']('element','code'))return;if(!_0x2607c3['consumable']['consume'](_0x8ea0f8,{'attributes':['vid_start','vid_end']}))return;const _0x319c75=_0x58ef71['modelRange']['start']['nodeAfter'];_0x2607c3['writer']['setAttribute']('vid_start',_0x8ea0f8['getAttribute']('vid_start'),_0x319c75),_0x2607c3['writer']['setAttribute']('vid_end',_0x8ea0f8['getAttribute']('vid_end'),_0x319c75);},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['add'](_0x1b1186=>{_0x1b1186['on']('element',(_0x249e0e,_0xbd26a4,_0x1fc39e)=>{if(!_0x1fc39e['consumable']['consume'](_0xbd26a4['viewItem'],{'attributes':['vid_start','vid_end']}))return;if(_0xbd26a4['modelRange']['isCollapsed'])return;const _0xeaae9a=_0xbd26a4['modelRange']['start']['nodeAfter'];_0xeaae9a['hasAttribute']('vid_start')||_0xeaae9a['hasAttribute']('vid')||(_0x1fc39e['writer']['setAttribute']('vid_start',_0xbd26a4['viewItem']['getAttribute']('vid_start'),_0xeaae9a),_0x1fc39e['writer']['setAttribute']('vid_end',_0xbd26a4['viewItem']['getAttribute']('vid_end'),_0xeaae9a));},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['elementToAttribute']({'view':{'name':'span','attributes':{'vid':!0x0}},'model':{'key':'vid','value':_0x48ee28=>_0x48ee28['getAttribute']('vid')}}),this['editor']['model']['schema']['on']('checkAttribute',(_0x4dbe55,[,_0x1eadaa])=>{['vid_start','vid_end','vid']['includes'](_0x1eadaa)&&(_0x4dbe55['return']=!0x0,_0x4dbe55['stop']());},{'priority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['add'](_0x48d77a=>{_0x48d77a['on']('attribute:vid',(_0x323614,_0x41ec60,_0x3e5a15)=>{if('\x20'!=_0x41ec60['item']['data']||_0x41ec60['item']['parent']['maxOffset']>0x1)return;if(!_0x3e5a15['consumable']['consume'](_0x41ec60['item'],_0x323614['name']))return;const _0x393c38=_0x3e5a15['writer'],_0xf49e86=_0x3e5a15['mapper']['toViewRange'](_0x41ec60['range']);_0x393c38['wrap'](_0xf49e86,_0x393c38['createAttributeElement']('span'));});}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',function(_0x33dc81){const _0x5222a6=_0x33dc81['plugins']['get']('RevisionViewer');return(_0x3a31b0,_0x25f6c3,_0x1e09a1)=>{const _0x1b9d6c=_0x25f6c3['markerName']['split'](':')[0x1],_0x34afd2=_0x5222a6['_getChangeFromId'](_0x1b9d6c);if(!_0x34afd2)return null;const _0x8a2f39='add'==_0x34afd2['type']?'split':'merge';if(!_0x1e09a1['consumable']['test'](_0x25f6c3['markerRange'],_0x3a31b0['name']))return;const _0x1f33ea=_0x25f6c3['markerRange']['getWalker'](),_0x11bd35=_0x25f6c3['markerRange']['start'],_0x5ce60a=_0x33dc81['model']['schema'];let _0x2d3755=null,_0x56ff71=null,_0x4afbbd=!0x1,_0x2e90e5=!0x1;for(const _0x50f5dd of _0x1f33ea){const _0x57fcfc=_0x50f5dd['item'];_0x4afbbd=_0x4afbbd||_0x5ce60a['isContent'](_0x57fcfc);const _0x4a78ab=_0x1e09a1['mapper']['toViewElement'](_0x57fcfc);if(_0x4a78ab&&_0x4a78ab['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x50f5dd['type']&&(_0x5ce60a['isBlock'](_0x57fcfc)&&!_0x5ce60a['isLimit'](_0x57fcfc)&&(_0x57fcfc['nextSibling']||_0x11bd35['isAtEnd']?_0x2d3755&&_0x2d3755['parent']==_0x57fcfc||(_0x2d3755=_0x57fcfc,_0x5823e7(_0x50f5dd['previousPosition']),_0x2e90e5=!0x0):_0x56ff71=_0x56ff71||_0x50f5dd['previousPosition']));}function _0x5823e7(_0x162e37){const _0x369968=_0x1e09a1['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x8a2f39}),_0x4ea3c9=_0x1e09a1['mapper']['toViewPosition'](_0x162e37);_0x34afd2['data']['isSuggestion']&&_0x1e09a1['writer']['addClass']('ck-suggestion-marker-'+_0x8a2f39+'-new',_0x369968),_0x5222a6['activeChange']==_0x34afd2&&_0x1e09a1['writer']['addClass']('ck-suggestion-marker--active',_0x369968),_0x1e09a1['writer']['insert'](_0x4ea3c9,_0x369968),_0x1e09a1['mapper']['bindElementToMarker'](_0x369968,_0x25f6c3['markerName']);}_0x4afbbd||_0x2e90e5||!_0x56ff71||_0x5823e7(_0x56ff71);};}(this['editor']),{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('removeMarker:revision',(_0x35e818,_0x24fe57,_0x54c97f)=>{const _0x4529c4=_0x54c97f['mapper']['markerNameToElements'](_0x24fe57['markerName']);if(_0x4529c4){for(const _0x5d1899 of _0x4529c4)(_0x5d1899['hasClass']('ck-suggestion-marker-split')||_0x5d1899['hasClass']('ck-suggestion-marker-merge'))&&(_0x54c97f['mapper']['unbindElementFromMarkerName'](_0x5d1899,_0x24fe57['markerName']),_0x54c97f['writer']['remove'](_0x5d1899));}},{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',(_0x516507,_0x40530d,_0x29501f)=>{const _0x4a80cf=_0x40530d['markerName']['split'](':')[0x1],_0x5c3817=this['_getChangeFromId'](_0x4a80cf);if(!_0x5c3817)return null;const _0x2c8db3='add'==_0x5c3817['type']?'split':'merge';if(_0x29501f['consumable']['test'](_0x40530d['markerRange'],_0x516507['name']))for(const _0x4879f0 of _0x40530d['markerRange']['getItems']()){if(!_0x4879f0['is']('element','softBreak'))continue;const _0x41a846=_0x29501f['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x2c8db3}),_0x4f13dd=_0x29501f['mapper']['toViewPosition'](this['editor']['model']['createPositionBefore'](_0x4879f0));_0x5c3817['data']['isSuggestion']&&_0x29501f['writer']['addClass']('ck-suggestion-marker-'+_0x2c8db3+'-new',_0x41a846),this['activeChange']==_0x5c3817&&_0x29501f['writer']['addClass']('ck-suggestion-marker--active',_0x41a846),_0x29501f['writer']['insert'](_0x4f13dd,_0x41a846),_0x29501f['mapper']['bindElementToMarker'](_0x41a846,_0x40530d['markerName']);}},{'priority':'high'}),this['editor']['model']['document']['on']('change',()=>{this['editor']['editing']['view']['change'](_0xf9ebaf=>{for(const _0x2b2b99 of this['editor']['model']['document']['getRootNames']()){const _0x4b93ae=this['editor']['model']['document']['getRoot'](_0x2b2b99),_0x4036c0=this['editor']['editing']['view']['document']['getRoot'](_0x2b2b99);if(_0x4036c0){const _0x22b525=_0x4b93ae['getAttribute']('revisionHistoryAttachChange');if(_0xf9ebaf['removeAttribute']('data-change-id',_0x4036c0),_0xf9ebaf['removeClass']('ck-revision-history-root-add',_0x4036c0),_0xf9ebaf['removeClass']('ck-revision-history-root-remove',_0x4036c0),_0xf9ebaf['removeClass']('ck-revision-history-root--active',_0x4036c0),_0x22b525){const _0x4977c6=this['_getChangeFromId'](_0x22b525);if(!_0x4977c6)return null;_0xf9ebaf['setAttribute']('data-change-id',_0x22b525,_0x4036c0),_0xf9ebaf['addClass']('ck-revision-history-root-'+_0x4977c6['type'],_0x4036c0),this['activeChange']==_0x4977c6&&_0xf9ebaf['addClass']('ck-revision-history-root--active',_0x4036c0);}}}});}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'comment','model':_0x38afce=>'revision-comment:'+_0x38afce,'converterPriority':'highest'}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'suggestion','model':_0x471c68=>'revision-suggestion:'+_0x471c68,'converterPriority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision-suggestion','view':_0x30a66d=>({'name':'suggestion:'+_0x30a66d,'group':'revision-suggestion'}),'converterPriority':'highest'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision-suggestion','view':_0x149ac1=>{const _0x161ae3=_0x149ac1['markerName']['split'](':')[0x1];return'insertion'!=_0x161ae3&&'deletion'!=_0x161ae3?null:{'classes':['ck-suggestion-preview-marker','ck-suggestion-preview-marker-'+_0x161ae3]};}}),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',(_0x27815b,_0x43a78a,_0x3112e0)=>{const _0x4b7961=_0x3112e0['mapper']['markerNameToElements'](_0x43a78a['markerName']);if(_0x4b7961){for(const _0x44d66c of _0x4b7961)_0x44d66c['is']('uiElement')&&(_0x3112e0['mapper']['unbindElementFromMarkerName'](_0x44d66c,_0x43a78a['markerName']),_0x3112e0['writer']['remove'](_0x44d66c));}},{'priority':'high'});}['_getChangeFromId'](_0x32874c){return this['_changeIdToChange']['get'](_0x32874c);}['_getViewForChange'](_0x35ace8){return this['_changeView']&&this['_changeView']['destroy'](),this['_changeView']=new Z(this['editor']['locale'],_0x35ace8),this['_changeView'];}['_initInteractions'](){this['editor']['model']['document']['selection']['observeMarkers']('revision'),this['on']('change:activeView',(_0x237f49,_0x227891,_0x1a1ea8,_0x18e18d)=>{_0x18e18d&&this['_balloon']['remove'](_0x18e18d),_0x1a1ea8&&(this['_balloon']['add']({'view':_0x1a1ea8,'stackId':'revisionHistoryLabel','position':{'target':()=>{const _0x18484c=this['editor']['editing'],_0x112abc=this['_getChangeFromId'](_0x1a1ea8['changeId']);let _0x54a617;if(_0x112abc['data']['isOnRoot']){const _0x2e6a1e=_0x18484c['view']['getDomRoot'](_0x112abc['rootName']);_0x54a617=Array['from'](_0x2e6a1e['getClientRects']());}else{const _0x334eb0=this['editor']['model']['markers']['get']('revision:'+_0x1a1ea8['changeId']);_0x54a617=Array['from'](_0x18484c['mapper']['markerNameToElements'](_0x334eb0['name']))['map'](_0x3703ba=>_0x18484c['view']['domConverter']['mapViewToDom'](_0x3703ba))['map'](_0x5e6893=>Array['from'](_0x5e6893['getClientRects']()))['flat']();}if(!this['_activeViewTarget'])return _0x54a617[0x0];return _0x54a617['find'](_0x1bb43b=>_0x1bb43b['top']-0x3<=this['_activeViewTarget']['y']&&_0x1bb43b['bottom']+0x3>=this['_activeViewTarget']['y']&&_0x1bb43b['left']-0x3<=this['_activeViewTarget']['x']&&_0x1bb43b['right']+0x3>=this['_activeViewTarget']['x'])||_0x54a617[0x0];}}}),this['_balloon']['showStack']('revisionHistoryLabel'));}),this['on']('change:activeChange',(_0x5e6653,_0x8eaec5,_0x407b4c,_0x4f754b)=>{this['activeView']=_0x407b4c?this['_getViewForChange'](_0x407b4c):null,this['editor']['model']['change'](()=>{const _0x22f718=this['editor']['editing'];_0x4f754b&&(_0x4f754b['data']['isOnRoot']?_0x22f718['view']['change'](_0x4005ed=>{_0x4005ed['removeClass']('ck-revision-history-root--active',_0x22f718['view']['document']['getRoot'](_0x4f754b['rootName']));}):_0x22f718['reconvertMarker']('revision:'+_0x4f754b['id'])),_0x407b4c&&(_0x407b4c['data']['isOnRoot']?_0x22f718['view']['change'](_0xa57a8=>{_0xa57a8['addClass']('ck-revision-history-root--active',_0x22f718['view']['document']['getRoot'](_0x407b4c['rootName']));}):_0x22f718['reconvertMarker']('revision:'+_0x407b4c['id']));});}),this['listenTo'](this['editor']['editing']['view']['document'],'mouseover',(_0x204acd,_0x558fd9)=>{if(this['activeChange'])return;const _0x2bab02=this['_findChangeIdFromDomTarget'](_0x558fd9['target']),_0x3f7cd4=this['_changeIdToChange']['get'](_0x2bab02);_0x3f7cd4?(this['_activeViewTarget']={'x':_0x558fd9['domEvent']['x'],'y':_0x558fd9['domEvent']['y']},this['activeView']=this['_getViewForChange'](_0x3f7cd4)):(this['_activeViewTarget']=null,this['activeView']=null);}),this['listenTo'](this['editor']['editing']['view']['document'],'mousedown',(_0x31cc19,_0x492274)=>{const _0x569870=this['_findChangeIdFromDomTarget'](_0x492274['target']),_0xd95089=this['_changeIdToChange']['get'](_0x569870);_0xd95089?(this['_activeViewTarget']={'x':_0x492274['domEvent']['x'],'y':_0x492274['domEvent']['y']},_0xd95089===this['activeChange']?this['_balloon']['updatePosition']():this['activeChange']=_0xd95089):(this['_activeViewTarget']=null,this['activeChange']=null);});}['_findChangeIdFromDomTarget'](_0x332b18){do{const _0x9a5d46=_0x332b18['getAttribute']('data-change-id');if(_0x9a5d46)return _0x9a5d46;_0x332b18=_0x332b18['parent'];}while(_0x332b18);return null;}['_cleanMarkers'](){this['editor']['model']['change'](_0x335cd0=>{for(const _0x562eab of this['editor']['model']['markers'])_0x335cd0['removeMarker'](_0x562eab);});}constructor(_0x3e4a4a){super(_0x3e4a4a),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',(_0x5858a5,_0x3af044,_0x50c580)=>{this['activeChange']=null,this['activeView']=null,this['editor']['editing']['view']['change'](_0x5c8404=>{for(const _0x4d48d6 of this['editor']['editing']['view']['document']['roots'])_0x50c580?_0x5c8404['removeClass']('ck-editor__editable__overlay',_0x4d48d6):_0x5c8404['addClass']('ck-editor__editable__overlay',_0x4d48d6);});}),this['bind']('isNavigationMode')['to'](this,'activeChange',_0x518e45=>null!==_0x518e45),this['bind']('currentChangeNumber')['to'](this,'isReady',this,'diff',this,'activeChange',(_0x4d3201,_0x1a3c97,_0x1d56b1)=>_0x4d3201&&_0x1d56b1?_0x1a3c97['changes']['getIndex'](_0x1d56b1):0x0),this['bind']('numberOfChanges')['to'](this,'isReady',this,'diff',(_0x47767c,_0x20d901)=>_0x47767c?_0x20d901['changes']['length']:0x0),this['_changeView']=null,this['_changeIdToChange']=new Map(),this['adapter']=null,this['_balloon']=this['editor']['plugins']['get'](_0x31c7aa);}}function et(_0x475b42,_0x1c0216){return(_0x8c79d0,_0x32e11a,_0x585bd5)=>{if(!_0x585bd5['consumable']['test'](_0x32e11a['markerRange'],_0x8c79d0['name']))return;const _0x4246bb=_0x32e11a['markerRange']['getWalker'](),_0x144c0f=_0x32e11a['markerRange']['start'],_0x2ce645=_0x475b42['model']['schema'];let _0x4a5969=null,_0x13589e=null,_0x434a6f=!0x1,_0x1d9fe4=!0x1;for(const _0x1744ad of _0x4246bb){const _0x3f51e0=_0x1744ad['item'];_0x434a6f=_0x434a6f||_0x2ce645['isContent'](_0x3f51e0);const _0x37d6b5=_0x585bd5['mapper']['toViewElement'](_0x3f51e0);if(_0x37d6b5&&_0x37d6b5['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x1744ad['type']&&(_0x2ce645['isBlock'](_0x3f51e0)&&!_0x2ce645['isLimit'](_0x3f51e0)&&(_0x3f51e0['nextSibling']||_0x144c0f['isAtEnd']?_0x4a5969&&_0x4a5969['parent']==_0x3f51e0||(_0x4a5969=_0x3f51e0,_0xcb4cf1(_0x1744ad['previousPosition']),_0x1d9fe4=!0x0):_0x13589e=_0x13589e||_0x1744ad['previousPosition']));}function _0xcb4cf1(_0x3f63a0){const _0x4abc41=_0x585bd5['mapper']['toViewPosition'](_0x3f63a0),_0x13e92d=_0x585bd5['writer']['createUIElement']('span',{'class':'ck-suggestion-preview-marker-'+_0x1c0216});_0x585bd5['writer']['insert'](_0x4abc41,_0x13e92d),_0x585bd5['mapper']['bindElementToMarker'](_0x13e92d,_0x32e11a['markerName']);}_0x434a6f||_0x1d9fe4||!_0x13589e||_0xcb4cf1(_0x13589e);};}class bt extends _0x25c37e{['execute'](){const _0x775291=this['editor'],_0x12ca4c=_0x775291['plugins']['get'](d),_0x5a6a4b=_0x12ca4c['isReady']?_0x12ca4c['diff']['newRevisionId']:null;_0x775291['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x5a6a4b);}['refresh'](){const {isReady:_0x3508d1,isEnabled:_0x2a83b5}=this['editor']['plugins']['get'](d);this['isEnabled']=_0x3508d1&&_0x2a83b5;}constructor(_0x272453){super(_0x272453);const _0x444059=_0x272453['plugins']['get'](d);this['affectsData']=!0x1,this['listenTo'](_0x444059,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x444059,'change:isEnabled',()=>this['refresh']());}}class Rt extends _0x25c37e{['execute'](){const _0xa9eeaf=this['editor'],_0x1364d6=_0xa9eeaf['plugins']['get'](d),{isNavigationMode:_0x507e5f,currentChangeNumber:_0x16cdaf}=_0x1364d6;let _0x3c51e4;if(_0x1364d6['activeChange']=_0x507e5f?_0x1364d6['diff']['changes']['get'](_0x16cdaf+this['_step']):_0x1364d6['diff']['changes']['first'],_0x1364d6['activeChange']['data']['isOnRoot'])_0x3c51e4=_0xa9eeaf['editing']['view']['getDomRoot'](_0x1364d6['activeChange']['rootName']);else{const _0xd18de0=_0xa9eeaf['model']['markers']['get']('revision:'+_0x1364d6['activeChange']['id']);_0x3c51e4=_0x4fdf92(_0xa9eeaf['editing'],_0xd18de0);}_0x45a06b({'target':_0x3c51e4,'viewportOffset':0x28});}['refresh'](){const {isNavigationMode:_0x5ba182,currentChangeNumber:_0x1e6c7f,numberOfChanges:_0x557b9d,isReady:_0x5b9742,isEnabled:_0x6d508d}=this['editor']['plugins']['get'](d);this['isEnabled']=!!(_0x6d508d&&_0x5b9742&&_0x557b9d)&&(!_0x5ba182||(0x1===this['_step']?_0x1e6c7f<_0x557b9d-0x1:_0x1e6c7f>0x0));}constructor(_0x5d37d0,{direction:_0x297a88}){super(_0x5d37d0);const _0x43ee5a=_0x5d37d0['plugins']['get'](d);this['affectsData']=!0x1,this['_step']='forward'===_0x297a88?0x1:-0x1,this['listenTo'](_0x43ee5a,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x43ee5a,'change:isEnabled',()=>this['refresh']()),this['listenTo'](_0x43ee5a,'change:activeChange',()=>this['refresh']());}}class _i extends _0x1795ad{constructor(_0x598638){super(_0x598638);const _0x5125e8=this['bindTemplate'],_0x59ae74=new _0x480d33(_0x598638),_0x144793=new _0x480d33(_0x598638);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',(_0x5b8db2,_0x113490)=>_0x5b8db2&&_0x113490>0x0),this['bind']('_statusText')['to'](this,'isReady',this,'currentChangeNumber',this,'numberOfChanges',this,'isNavigationMode',(_0xe99009,_0x56c53a,_0x427e59,_0x4547c6)=>{if(!_0xe99009)return y(_0x598638,'Loading...');if(!_0x427e59)return y(_0x598638,'No\x20changes');const _0x245593=y(_0x598638,'NUMBER_OF_CHANGES',_0x427e59);return _0x4547c6?y(_0x598638,'X_OF_Y_CHANGES',[_0x56c53a+0x1,_0x427e59]):_0x245593;}),_0x59ae74['set']({'label':y(_0x598638,'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'}),_0x144793['set']({'label':y(_0x598638,'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'}),_0x59ae74['bind']('isEnabled')['to'](this,'isBackwardNavigationEnabled'),_0x144793['bind']('isEnabled')['to'](this,'isForwardNavigationEnabled'),_0x59ae74['on']('execute',()=>this['fire']('execute','backward')),_0x144793['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',_0x5125e8['if']('_isStatusLabelVisible','ck-hidden',_0xfa05bb=>!_0xfa05bb)]},'children':[{'text':_0x5125e8['to']('isNavigationMode',_0x5946a2=>_0x5946a2?y(_0x598638,'EDIT_X_OF_Y_REVISIONS')+':\x20':y(_0x598638,'Total')+':\x20')}]},{'text':_0x5125e8['to']('_statusText')}]},new _0x2ca92e(),{'tag':'div','attributes':{'class':['ck-revision-history-ui__changes-navigation__navigation']},'children':[_0x59ae74,_0x144793]}]});}}const ce='ck-editor__editable__loading-overlay';class de extends _0x1a4f26{static get['pluginName'](){return'RevisionViewerLoadingOverlay';}['show'](){const _0xeb719e=this['editor']['editing']['view'];_0xeb719e['change'](_0x4355ae=>{for(const _0x13f446 of _0xeb719e['document']['roots'])_0x4355ae['addClass'](ce,_0x13f446);});}['hide'](){const _0x4f9e48=this['editor']['editing']['view'];_0x4f9e48['change'](_0x397e92=>{for(const _0x19c439 of _0x4f9e48['document']['roots'])_0x397e92['removeClass'](ce,_0x19c439);});}}class R extends _0x1a4f26{static get['pluginName'](){return'RevisionViewerUI';}static get['requires'](){return[d,de];}['init'](){const _0x32082e=this['editor'],_0x39e597=_0x32082e['plugins']['get'](d),_0x181a0a=_0x32082e['plugins']['get'](de);_0x32082e['ui']['componentFactory']['add']('exitToEditing',_0x5ee0d5=>{const _0x58afbe=new _0x480d33(_0x5ee0d5);return _0x58afbe['set']({'label':y(_0x5ee0d5,'Back\x20to\x20editing'),'icon':_0x9e16d1['undo'],'withText':!0x0,'tooltip':!0x0,'class':'ck-revision-history-ui__back-to-editing'}),this['listenTo'](_0x58afbe,'execute',()=>{_0x32082e['config']['get']('revisionHistory')['closeRevisionViewerCallback']();}),_0x58afbe;}),_0x32082e['ui']['componentFactory']['add']('restoreRevision',_0xf54d3=>{const _0x52b5af=new _0x480d33(_0xf54d3);return _0x52b5af['set']({'label':y(_0xf54d3,'Restore\x20this\x20revision'),'withText':!0x0,'tooltip':!0x0}),_0x52b5af['bind']('isEnabled')['to'](_0x32082e['commands']['get']('restoreRevision')),this['listenTo'](_0x52b5af,'execute',()=>_0x32082e['execute']('restoreRevision')),_0x52b5af;}),_0x32082e['ui']['componentFactory']['add']('changesNavigation',_0x177f81=>{const _0x5b3f08=new _i(_0x177f81),_0x5be7bb=_0x32082e['commands']['get']('showPreviousChange'),_0x1e581f=_0x32082e['commands']['get']('showNextChange');return _0x5b3f08['bind']('isBackwardNavigationEnabled')['to'](_0x5be7bb,'isEnabled'),_0x5b3f08['bind']('isForwardNavigationEnabled')['to'](_0x1e581f,'isEnabled'),_0x5b3f08['bind']('isReady','currentChangeNumber','numberOfChanges','isNavigationMode')['to'](_0x39e597),this['listenTo'](_0x5b3f08,'execute',(_0x1a00e1,_0x44c0a2)=>{_0x32082e['execute']('forward'===_0x44c0a2?'showNextChange':'showPreviousChange');}),_0x5b3f08;}),_0x181a0a['show'](),_0x39e597['on']('change:isReady',(_0x478622,_0x3c1aab,_0xc7afd2)=>{_0xc7afd2?_0x181a0a['hide']():_0x181a0a['show']();});}}class vt extends mt{['render'](){super['render'](),this['_resizeObserver']=new kt(this['fieldView']['element'],()=>this['_updateTooltipText']()),this['listenTo'](this['fieldView'],'input',()=>this['_updateTooltipText']());}['destroy'](){super['destroy'](),this['_resizeObserver']&&this['_resizeObserver']['destroy']();}['_updateTooltipText'](){const _0x14b347=this['fieldView']['element'];this['_tooltipString']=_0x14b347['scrollWidth']>_0x14b347['clientWidth']&&_0x14b347['value']||'';}constructor(_0x559c1a,_0x4c2960){super(_0x559c1a,_0x4c2960),this['_resizeObserver']=null;const _0xde0afd=this['bindTemplate'];this['set']({'label':y(_0x559c1a,'Revision\x20name'),'_tooltipString':''}),this['fieldView']['placeholder']=y(_0x559c1a,'Enter\x20the\x20revision\x20name'),this['extendTemplate']({'tag':'span','attributes':{'class':['ck-revision-history-sidebar__revision-name'],'data-cke-tooltip-text':_0xde0afd['to']('_tooltipString'),'data-cke-tooltip-position':'s','data-cke-tooltip-class':'ck-tooltip_multi-line'}});}}class ti extends _0x1795ad{constructor(_0x2b293b,_0x16765f,_0x8065e2){super(_0x2b293b);const _0x5e756b=new _0x163761();_0x5e756b['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 _0x34e534=['ck','ck-revision-history-sidebar__revision-author'];_0x8065e2&&_0x34e534['push']('ck-revision-history-sidebar__revision-author_creator');const _0x3be526=[{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__revision-author__name'],'title':y(_0x2b293b,_0x8065e2?'Revision\x20creator':'Revision\x20author')},'children':[_0x5e756b,_0x16765f['name']]}];this['setTemplate']({'tag':'li','attributes':{'class':_0x34e534},'children':_0x3be526});}}function ni(_0x52c2c8,_0xeb57a1){const _0x5a9a4e=_0x52c2c8['bindTemplate'],_0x1a2e50=_0x52c2c8['locale'],_0x57856d=_0x95f360(_0x1a2e50);_0x57856d['panelPosition']='sw';const _0x1481b6=function(_0x3162ac,_0x10c9ff){const _0x5a06a2=function(_0x510fa6,_0x4b4892){const _0x4e2bba=_0x510fa6['locale'],_0x4d82ae={'Compare\x20against\x20selected':y(_0x4e2bba,'Compare\x20against\x20selected'),'Name\x20this\x20revision':y(_0x4e2bba,'Name\x20this\x20revision'),'Restore\x20this\x20revision':y(_0x4e2bba,'Restore\x20this\x20revision')};return _0x4b4892['map'](_0x2de19b=>{const _0x40ff51=_0x4d82ae[_0x2de19b['name']];return _0x40ff51&&_0x40ff51!==_0x2de19b['name']&&(_0x2de19b['name']=_0x40ff51),_0x2de19b;});}(_0x3162ac,_0x10c9ff),_0xbea018=new _0x1ca604();for(const _0x4ee0ae of _0x5a06a2){const _0x54439b={'type':'button','model':new to({'label':_0x4ee0ae['name'],'class':_0x4ee0ae['class'],'withText':!0x0,'_action':_0x4ee0ae['action']})};_0x54439b['model']['bind']('isEnabled')['to'](_0x3162ac,'isActionsDropdownOpen',_0xa59274=>'function'!=typeof _0x4ee0ae['isEnabled']||(!_0xa59274||_0x4ee0ae['isEnabled'](_0x3162ac))),_0xbea018['add'](_0x54439b);}return _0xbea018;}(_0x52c2c8,_0xeb57a1);return _0x52c2c8['bind']('isActionsDropdownOpen')['to'](_0x57856d,'isOpen'),_0x57856d['buttonView']['set']({'label':y(_0x1a2e50,'Show\x20more\x20items'),'tooltip':!0x0,'tooltipPosition':'sw','icon':_0x9e16d1['threeVerticalDots']}),_0x57856d['extendTemplate']({'attributes':{'class':['ck-revision-history-sidebar__revision__actions',_0x5a9a4e['if']('isActionsDropdownOpen','ck-on')]},'on':{'click':_0x5a9a4e['to'](_0x2bc0a0=>_0x2bc0a0['stopPropagation']())}}),_0x57856d['on']('execute',_0x4b8e41=>{_0x52c2c8['isReady']&&'function'==typeof _0x4b8e41['source']['_action']&&_0x4b8e41['source']['_action'](_0x52c2c8);}),_0x501e6b(_0x57856d,_0x1481b6),_0x57856d['listenTo'](_0x52c2c8,'change:isActionsDropdownOpen',(_0x928b32,_0x32b038,_0x426f80)=>{if(_0x426f80)for(const _0x7ab53 of _0x57856d['listView']['items']){const _0x1c80ee=_0x7ab53['children']['first'],_0x386be7=_0xeb57a1['find'](_0x2e3d45=>_0x2e3d45['action']===_0x1c80ee['_action'])['isVisible'];_0x7ab53['isVisible']=void 0x0===_0x386be7||_0x386be7(_0x52c2c8);}}),_0x57856d;}class ai extends _0x50c98b(_0x1795ad){['render'](){super['render']();const _0x454892=this['revisionNameView']['fieldView']['element'];this['listenTo'](_0x454892,'change',()=>{this['_requireRevisionName']&&!_0x454892['value']||this['fire']('setName',{'id':this['id'],'name':_0x454892['value']}),_0x454892['value']||(_0x454892['value']=this['name']?this['name']:this['_createdAtFormatted']);});}['select'](){this['isSelected']=!0x0;}['deselect'](){this['isSelected']=!0x1;}['highlight'](){this['isHighlighted']=!0x0;}['unhighlight'](){this['isHighlighted']=!0x1;}constructor(_0x579385,_0x5b5fe3,_0x488c49,_0x2fcdb4){super(_0x579385);const _0x45312b=this['bindTemplate'],_0x34cebd=function(_0x1f7c69,_0x21f2e5){const _0x196a49=Array['from'](_0x21f2e5['authors'])['filter'](_0x1d1476=>_0x1d1476!=_0x21f2e5['creator']);return _0x21f2e5['creator']&&_0x196a49['unshift'](_0x21f2e5['creator']),_0x196a49['map'](_0xc7ef49=>new ti(_0x1f7c69,_0xc7ef49,_0xc7ef49==_0x21f2e5['creator']));}(_0x579385,_0x5b5fe3);this['id']=_0x5b5fe3['id'],this['_revision']=_0x5b5fe3,this['_requireRevisionName']=_0x2fcdb4,this['bind']('name','createdAt')['to'](_0x5b5fe3),this['bind']('_createdAtFormatted')['to'](this,'createdAt',_0x8b724=>{return _0x16279f=_0x579385['uiLanguage'],(_0xfa0403=_0x8b724)['toLocaleDateString'](_0x16279f,{'month':'long','day':'numeric'})+',\x20'+_0xfa0403['toLocaleTimeString'](_0x16279f,{'hour':'numeric','minute':'numeric'});var _0x16279f,_0xfa0403;}),this['set']('isSelected',!0x1),this['set']('isHighlighted',!0x1),this['set']('isActionsDropdownOpen',!0x1),this['set']('isReady',!0x1),this['set']('isEnabled',!0x1),this['revisionNameView']=new vt(_0x579385,_0x30f5e5),this['revisionNameView']['fieldView']['extendTemplate']({'attributes':{'maxlength':'220'}}),this['revisionNameView']['fieldView']['bind']('value')['to'](this,'name',_0x30a640=>_0x30a640||this['_createdAtFormatted']),this['revisionNameView']['bind']('isEnabled')['to'](this,'isSelected',this,'isEnabled',(_0x39ad9c,_0x592be0)=>_0x39ad9c&&_0x592be0),this['revisionActionsView']=_0x488c49&&_0x488c49['length']?ni(this,_0x488c49):'',this['revisionActionsView']&&this['revisionActionsView']['bind']('isEnabled')['to'](this),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision-wrapper',_0x45312b['if']('isConfirm','ck-revision-history-sidebar__revision-wrapper_confirmation_visible')]},'children':[{'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision',_0x45312b['if']('isEnabled','ck-disabled',_0x4a0248=>!_0x4a0248),_0x45312b['if']('isSelected','ck-revision-history-sidebar__revision_selected'),_0x45312b['if']('isHighlighted','ck-revision-history-sidebar__revision_highlighted'),_0x45312b['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':_0x45312b['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':_0x34cebd}]},this['revisionActionsView']],'on':{'click':_0x45312b['to'](_0x1b8f5d=>{_0x1b8f5d['srcElement']['closest']('.ck-thread__remove-confirm')||this['isReady']&&this['isEnabled']&&this['fire']('select',{'id':this['id']});})}}]});}}function di(_0x15adab,_0xdd5ffa){const _0x521d56=_0x4784f2['fromJSDate'](_0x15adab)['setLocale'](_0xdd5ffa),_0x3293d6=_0x4784f2['local'](),_0x1b98ca=_0x3293d6['minus']({'days':0x1})['startOf']('day');let _0xdc683b,_0x2f269f;return _0x521d56['hasSame'](_0x3293d6,'day')?(_0xdc683b=_0x521d56['startOf']('day')['toJSDate'](),_0x2f269f=_0x521d56['toRelativeCalendar']()):_0x521d56['hasSame'](_0x1b98ca,'day')?(_0xdc683b=_0x1b98ca['toJSDate'](),_0x2f269f=_0x521d56['toRelativeCalendar']()):_0x521d56['hasSame'](_0x3293d6,'week')?(_0xdc683b=_0x521d56['startOf']('week')['toJSDate'](),_0x2f269f=_0x521d56['weekdayLong']||''):_0x521d56['hasSame'](_0x3293d6,'year')?(_0xdc683b=_0x521d56['startOf']('month')['toJSDate'](),_0x2f269f=_0x521d56['monthLong']||''):(_0xdc683b=_0x521d56['startOf']('year')['toJSDate'](),_0x2f269f=String(_0x521d56['year'])),{'startDate':_0xdc683b,'localizedPeriodName':_0x2f269f};}class mi extends _0x1795ad{['addRevision'](_0x3b9399){const _0x20f6e1=new ai(this['locale'],_0x3b9399,this['_revisionActions'],this['_requireRevisionName']);this['revisionViews']['add'](_0x20f6e1);}['removeRevision'](_0x576f35){const _0x2f8c25=this['revisionViews']['find'](_0x50d677=>_0x50d677['id']===_0x576f35['id']);this['revisionViews']['remove'](_0x2f8c25);}constructor(_0x1923e8,_0x580a3e,_0x361d57,_0x3416ad){super(_0x1923e8);const _0xa5028d=di(_0x580a3e,this['locale']['uiLanguage'])['localizedPeriodName'];this['startDate']=_0x580a3e,this['revisionViews']=this['createCollection'](),this['_revisionActions']=_0x361d57,this['_requireRevisionName']=_0x3416ad,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':_0xa5028d}]},{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__time-period__revisions']},'children':this['revisionViews']}]});}}class as extends _0x1795ad{constructor(_0x5b2e45){super(_0x5b2e45);const _0xb02d5c=new _0x163761();_0xb02d5c['content']=_0x9e16d1['history'],this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all','ck-revision-history-sidebar__header']},'children':[_0xb02d5c,{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__header__label']},'children':[y(_0x5b2e45,'Revision\x20history')]}]});}}class ci extends _0x1795ad{['render'](){super['render']();for(const _0x3886ee of this['_revisions'])this['_addRevision'](_0x3886ee);this['_revisions']['on']('add',(_0xd7eebf,_0x201635)=>{this['_addRevision'](_0x201635);}),this['_revisions']['on']('remove',(_0x17f691,_0x1a2dbb)=>{this['_removeRevision'](_0x1a2dbb);});}get['revisionViews'](){return this['timePeriodViews']['map'](_0x39cdf1=>_0x39cdf1['revisionViews']['map'](_0x388c02=>_0x388c02))['flat']();}['selectRevision'](_0x443790){for(const _0x11aa85 of this['revisionViews'])_0x443790&&_0x443790['id']===_0x11aa85['id']?_0x11aa85['select']():_0x11aa85['deselect']();}['highlightRevisions'](_0x196687){for(const _0x4f934e of this['revisionViews'])_0x196687['some'](({id:_0x190134})=>_0x190134===_0x4f934e['id'])?_0x4f934e['highlight']():_0x4f934e['unhighlight']();}['_addRevision'](_0x518295){const _0xfb63f5=di(_0x518295['createdAt'],this['locale']['uiLanguage'])['startDate'];let _0x5a716d=this['timePeriodViews']['get'](0x0);_0x5a716d&&_0x5a716d['startDate']['getTime']()===_0xfb63f5['getTime']()||(_0x5a716d=new mi(this['locale'],_0xfb63f5,this['_revisionActions'],this['_requireRevisionName']),this['timePeriodViews']['add'](_0x5a716d)),_0x5a716d['addRevision'](_0x518295);}['_removeRevision'](_0x11bc4e){const _0xb2d6f1=di(_0x11bc4e['createdAt'],this['locale']['uiLanguage'])['startDate'];this['_getTimePeriodViewByStartDate'](_0xb2d6f1)['removeRevision'](_0x11bc4e);}['_getTimePeriodViewByStartDate'](_0x123216){return this['timePeriodViews']['find'](_0x1a1be1=>_0x1a1be1['startDate']['getTime']()===_0x123216['getTime']());}constructor(_0x23387b,_0x2c0bcc,_0x282758,_0x5dc507){super(_0x23387b);const _0x978d69=this['bindTemplate'];this['timePeriodViews']=this['createCollection'](),this['timePeriodViews']['delegate']('select')['to'](this),this['timePeriodViews']['delegate']('setName')['to'](this),this['_revisions']=_0x2c0bcc,this['_revisionActions']=_0x282758,this['_requireRevisionName']=_0x5dc507,this['on']('select',(_0x47b40d,_0x2a9363)=>{this['fire']('revisionSelected',_0x2a9363);}),this['on']('setName',(_0x2b09a4,_0x5e00d4)=>{this['fire']('revisionSetName',_0x5e00d4);}),this['set']('isEnabled',!0x1),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-rounded-corners','ck-revision-history-sidebar']},'children':[new as(_0x23387b),{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__timeline',_0x978d69['if']('isEnabled','ck-disabled',_0x23e3f0=>!_0x23e3f0)]},'children':this['timePeriodViews']}]});}}class w extends _0x1a4f26{static get['pluginName'](){return'RevisionsSidebar';}static get['requires'](){return[d];}['init'](){const _0x1f344c=this['_revisionsRepository']['_revisions'],_0x7b492d=this['_createRevisionActions'](),_0x236ab7=this['editor']['config']['get']('revisionHistory.viewerSidebarContainer');this['_sidebarView']=new ci(this['editor']['locale'],_0x1f344c,_0x7b492d,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',(_0x4134e1,_0x58d172)=>{_0x58d172['revisionViews']['on']('add',(_0xfda644,_0x5b01e1)=>{_0x5b01e1['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)),_0x236ab7['appendChild'](this['_sidebarView']['element']);}['destroy'](){this['_sidebarView']['element']['remove'](),this['_sidebarView']['destroy']();}['_handleEditorDataReady'](){const _0x2e8b54=this['_revisionsRepository']['getRevision'](0x0);if(_0x2e8b54){const _0x327f92=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x2e8b54['id']);this['_revisionViewer']['compare'](_0x2e8b54,_0x327f92);}}['_handleRevisionSelected'](_0x2bb9e4,_0x9135c3){const _0x3f1208=this['_revisionsRepository']['getRevision'](_0x9135c3['id']),_0x302e82=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x3f1208['id']);this['_revisionViewer']['compare'](_0x3f1208,_0x302e82);}['_handleRevisionSetName'](_0x2d374d,_0x2c85d9){this['_revisionsRepository']['getRevision'](_0x2c85d9['id'])['setName'](_0x2c85d9['name']);}['_handleDiffChange'](_0x96041,_0x1b8213,_0x23dc8d){const _0x2ced79=this['_revisionsRepository']['getRevisionsInDiff'](_0x23dc8d);_0x2ced79['length']>0x2?(this['_sidebarView']['highlightRevisions'](_0x2ced79),this['_sidebarView']['selectRevision'](null)):(this['_sidebarView']['highlightRevisions']([]),this['_sidebarView']['selectRevision'](_0x2ced79[0x0]));}['_createRevisionActions'](){const _0x2c5e80=this['editor'],_0x118a8d=w['availableRevisionActions'],_0x533e6d=_0x2c5e80['config']['get']('revisionHistory.revisionActions')||w['defaultRevisionActions'];if(_0x533e6d['length'])return _0x533e6d['map'](_0x25f153=>{const _0x42ac79='string'==typeof _0x25f153?Object['assign']({},_0x118a8d[_0x25f153]):_0x25f153;return _0x42ac79['action']=_0x42ac79['action']['bind'](this,_0x2c5e80),_0x42ac79['isVisible']&&(_0x42ac79['isVisible']=_0x42ac79['isVisible']['bind'](this,_0x2c5e80)),_0x42ac79;});}constructor(_0x49650d){super(_0x49650d),this['_revisionViewer']=_0x49650d['plugins']['get'](d),this['_revisionsRepository']=this['_revisionViewer']['repository'],this['_sidebarView']=null;}}w['availableRevisionActions']={'compareAgainstSelected':{'name':'Compare\x20against\x20selected','action':({plugins:_0x18764a},_0x38c0cf)=>{const _0x114a7=_0x18764a['get'](d),_0x2054db=_0x114a7['repository'];let _0x3f9d5d=_0x114a7['diff']['newRevisionId'],_0x33fe61=_0x38c0cf['id'];_0x2054db['getIndex'](_0x3f9d5d)>_0x2054db['getIndex'](_0x33fe61)&&([_0x3f9d5d,_0x33fe61]=[_0x33fe61,_0x3f9d5d]),_0x114a7['compare'](_0x3f9d5d,_0x33fe61);},'isVisible':({plugins:_0x33c9ef},_0xbe1f77)=>{const _0x585e1b=_0x33c9ef['get'](d);return!(_0x585e1b['repository']['getRevisionsInDiff'](_0x585e1b['diff'])['length']>0x2)&&!_0xbe1f77['isSelected'];}},'restoreRevision':{'name':'Restore\x20this\x20revision','action':(_0x545d25,{id:_0x158b8a})=>{_0x545d25['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x158b8a);},'isVisible':({plugins:_0x4772c5},_0x36b0c9)=>!!_0x4772c5['get'](d)['repository']['getLaterVisibleRevision'](_0x36b0c9['id'])},'nameRevision':{'name':'Name\x20this\x20revision','action':({plugins:_0x114311},{id:_0x29da6f,revisionNameView:_0x217f8a})=>{const _0x24287b=_0x114311['get'](d),_0x31b63e=_0x24287b['repository']['getEarlierVisibleRevision'](_0x29da6f);_0x24287b['compare'](_0x29da6f,_0x31b63e),_0x217f8a['focus'](),_0x217f8a['fieldView']['select']();}}},w['defaultRevisionActions']=['compareAgainstSelected','restoreRevision','nameRevision'];class ot extends ht{get['view'](){return this['_view'];}get['element'](){return this['view']['element'];}['init'](_0x6165a3){const _0x329a61=this['editor'],_0x337e75=this['view'],_0x5cdf20=_0x329a61['editing']['view'],_0x85d867=_0x337e75['editable'],_0xcc2148=_0x5cdf20['document']['getRoot']();_0x85d867['name']=_0xcc2148['rootName'],_0x337e75['render']();const _0x361e65=_0x85d867['element'];this['setEditableElement'](_0x85d867['name'],_0x361e65),_0x337e75['editable']['bind']('isFocused')['to'](this['focusTracker']),_0x5cdf20['attachDomRoot'](_0x361e65),this['_elementReplacer']['replace'](_0x6165a3,this['element']),this['_initToolbar'](),this['fire']('ready');}['destroy'](){super['destroy']();const _0x26c7f2=this['view'],_0x544de6=this['editor']['editing']['view'];this['_elementReplacer']['restore'](),_0x544de6['detachDomRoot'](_0x26c7f2['editable']['name']),_0x26c7f2['destroy']();}['_initToolbar'](){const _0x2eef57=this['view'];_0x2eef57['stickyPanel']['bind']('isActive')['to'](this['focusTracker'],'isFocused'),_0x2eef57['stickyPanel']['limiterElement']=_0x2eef57['element'],_0x2eef57['stickyPanel']['bind']('viewportTopOffset')['to'](this,'viewportOffset',({top:_0x2ed16d})=>_0x2ed16d),_0x2eef57['toolbar']['fillFromConfig'](this['_toolbarConfig'],this['componentFactory']),this['addToolbar'](_0x2eef57['toolbar']);}constructor(_0x5a6c88,_0x2b92c0){super(_0x5a6c88),this['_view']=_0x2b92c0,this['_toolbarConfig']=ct(_0x5a6c88['config']['get']('toolbar')),this['_elementReplacer']=new nt();}}class at extends dt{get['editable'](){return this['_editable'];}['render'](){super['render'](),this['stickyPanel']['content']['add'](this['toolbar']),this['top']['add'](this['stickyPanel']),this['main']['add'](this['editable']);}constructor(_0x7c9d2,_0x332fef,_0x30ab2e={}){super(_0x7c9d2),this['stickyPanel']=new lt(_0x7c9d2),this['toolbar']=new pt(_0x7c9d2,{'shouldGroupWhenFull':_0x30ab2e['shouldToolbarGroupWhenFull']}),this['_editable']=new ut(_0x7c9d2,_0x332fef);}}class m extends rt(st(it)){get['ui'](){return this['_ui'];}['destroy'](){return this['updateSourceElement'](),this['ui']['destroy'](),super['destroy']();}static async['create'](_0x14a7da,_0x3812eb){const _0x5418d8=new this(_0x14a7da,_0x3812eb);return await _0x5418d8['initPlugins'](),await _0x5418d8['ui']['init'](_0x14a7da),await _0x5418d8['data']['init'](_0x5418d8['config']['get']('initialData')||''),_0x5418d8['fire']('ready'),_0x5418d8;}constructor(_0x223650,_0x188638){super(_0x188638),this['sourceElement']=_0x223650,this['model']['document']['createRoot']();const _0x5dc6fa=new at(this['locale'],this['editing']['view'],{'shouldToolbarGroupWhenFull':!0x0});this['_ui']=new ot(this,_0x5dc6fa);}}const g=['RevisionHistoryUI','RestrictedEditingMode'];class k extends _0x1a4f26{static get['pluginName'](){return'RevisionViewerIntegration';}constructor(_0x3c73f4){super(_0x3c73f4),this['result']='end';}}class H extends _0x1a4f26{static get['pluginName'](){return'RevisionHistory';}static get['requires'](){return[l,u];}set['adapter'](_0x217602){this['editor']['plugins']['get']('RevisionTracker')['adapter']=_0x217602;}get['adapter'](){return this['editor']['plugins']['get']('RevisionTracker')['adapter'];}['addRevisionData'](_0x314258){return this['editor']['plugins']['get']('RevisionTracker')['addRevisionData'](_0x314258);}['getRevision'](_0x415909){return this['editor']['plugins']['get']('RevisionsRepository')['getRevision'](_0x415909);}['getRevisions'](_0x3cd46f={'toJSON':!0x1}){return this['editor']['plugins']['get']('RevisionsRepository')['getRevisions'](_0x3cd46f);}['_getRevisionViewerEditorConfig'](){const _0x4b5e94=this['editor'],_0x54534b=_0x4f7449(_0x4b5e94,g),_0x502c26=_0x4b5e94['plugins']['get']('RevisionTracker'),_0x1aa3a2=_0x4b5e94['plugins']['get']('Users')['users'];return _0x54534b['toolbar']=['exitToEditing','restoreRevision','changesNavigation'],delete _0x54534b['lazyRoots'],(_0x54534b['plugins']['push'](k,d,R,class extends _0x1a4f26{static get['requires'](){return[d,'Users'];}['init'](){const _0x517dd6=this['editor']['plugins']['get']('Users');for(const _0x365b01 of _0x1aa3a2)_0x365b01['isAnonymous']||_0x517dd6['getUser'](_0x365b01['id'])||_0x517dd6['addUser'](_0x365b01);const _0x74eda2=_0x502c26['repository']['getRevisions']();let _0x400571=null;const _0x5426a1=this['editor']['plugins']['get']('RevisionViewer');_0x5426a1['adapter']=_0x502c26['adapter'],_0x5426a1['bind']('isEnabled')['to'](_0x502c26),this['editor']['commands']['get']('restoreRevision')['bind']('isEnabled')['to'](_0x4b5e94,'isReadOnly',_0x36b4ea=>!_0x36b4ea);for(const _0x188489 of _0x74eda2){const _0x50240f=null===_0x188489['creator'];if(_0x50240f&&_0x188489['toVersion']===_0x188489['fromVersion'])continue;const _0x375d1c=_0x188489['toJSON']();_0x5426a1['addRevisionData'](_0x375d1c,(_0x5ddc98,_0x260c84,_0x3c6076)=>{if(_0x50240f){if(_0x400571)_0x400571['_update'](_0x5ddc98,_0x260c84);else{if(!_0x260c84){const _0x7aa9b0=_0x3c6076['toJSON']();_0x7aa9b0['id']=_0x21dc68(),_0x502c26['saveRevision'](_0x7aa9b0,_0x3c6076['toVersion'])['then'](_0x553e1d=>{_0x400571=_0x553e1d;});}}}else _0x188489['_update'](_0x5ddc98,_0x260c84);});}}},w),_0x54534b);}['_enhanceShowRevisionViewerCallback'](){const _0x4a8e60=this['editor']['config']['get']('revisionHistory')['showRevisionViewerCallback'];this['editor']['config']['set']('revisionHistory.showRevisionViewerCallback',async()=>{this['editor']['enableReadOnlyMode']('revision-history-viewer-opened');const _0x3a086f=this['editor']['plugins']['get']('RevisionTracker');if(this['editor']['plugins']['has']('Autosave')){const _0x41b9fe=this['editor']['plugins']['get']('Autosave');await _0x41b9fe['save']();}else await _0x3a086f['update']();this['editor']['plugins']['has']('PaginationLookup')&&this['editor']['plugins']['get']('PaginationLookup')['_recalculatePageBreaks']();const _0x12f155=this['_getRevisionViewerEditorConfig']();return _0x4a8e60(_0x12f155)['then'](_0x15b9ef=>{return(this['_viewerEditor']=_0x15b9ef,this['editor']['plugins']['has']('Annotations'))&&this['editor']['plugins']['get']('Annotations')['refreshVisibility'](),_0x15b9ef;})['catch'](_0x4bd467=>(console['error'](_0x4bd467),this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),null));});}['_enhanceCloseRevisionViewerCallback'](){const _0x4a041c=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'](),_0x4a041c(this['_viewerEditor'])['then'](()=>{if(this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),this['_viewerEditor']=null,this['editor']['plugins']['has']('Annotations')){const _0x4b43a1=this['editor']['plugins']['get']('Annotations');_0x4b43a1['refreshVisibility'](),_0x4b43a1['refreshPositioning']();}})));}['_showRevisionViewer'](_0x32ce74){const _0x59098d=this['editor']['config']['get']('revisionHistory.editorContainer'),_0x10ac95=this['editor']['config']['get']('revisionHistory.viewerContainer'),_0x31e6eb=this['editor']['config']['get']('revisionHistory.viewerEditorElement');return m['create'](_0x31e6eb,_0x32ce74)['then'](_0x5cf033=>(_0x10ac95['style']['display']='block',_0x59098d['style']['display']='none',_0x5cf033));}['_closeRevisionViewer'](_0x585a54){const _0x9466ed=this['editor']['config']['get']('revisionHistory.editorContainer');return this['editor']['config']['get']('revisionHistory.viewerContainer')['style']['display']='none',_0x9466ed['style']['display']='',_0x585a54['destroy']();}async['_restoreRevision'](_0x3d6979){const _0x5cf857=this['editor'],_0x5aeb11=this['_viewerEditor']['plugins']['get']('RevisionViewer'),_0x482c2b=_0x5cf857['plugins']['get']('RevisionTracker'),_0x4f28da=_0x5aeb11['repository']['getRevision'](_0x3d6979);let _0x11798a,_0x38f738,_0x302d34;try{_0x11798a=await _0x5aeb11['getRevisionData'](_0x4f28da),_0x38f738=await _0x5aeb11['getRevisionRootsAttributes'](_0x4f28da);}catch(_0xc553b5){return void console['error'](_0xc553b5);}_0x5cf857['model']['change'](_0x261022=>{for(const _0x354659 of Array['from'](_0x5cf857['model']['markers']['getMarkersGroup']('restrictedEditingException')))_0x261022['removeMarker'](_0x354659);}),_0x5aeb11['isReady']=!0x1,_0x5cf857['model']['enqueueChange'](_0x4b8258=>{_0x4b8258['setSelection'](null),_0x4b8258['removeSelectionAttribute'](_0x5cf857['model']['document']['selection']['getAttributeKeys']());const _0x1fcf18=Object['keys'](_0x11798a);for(const _0x2892dc of _0x5cf857['model']['document']['roots'])'$graveyard'!=_0x2892dc['rootName']&&_0x2892dc['isAttached']()&&!_0x1fcf18['includes'](_0x2892dc['rootName'])&&_0x4b8258['detachRoot'](_0x2892dc);for(const _0x1dfbb6 of _0x1fcf18){let _0x9a7f2=_0x5cf857['model']['document']['getRoot'](_0x1dfbb6);_0x9a7f2&&_0x9a7f2['isAttached']()||(_0x9a7f2=_0x4b8258['addRoot'](_0x1dfbb6));const _0x38a842=_0x38f738[_0x1dfbb6],_0x394f9c=Object['keys'](_0x38a842),_0x573260=_0x11798a[_0x1dfbb6];for(const _0x2a01b4 of _0x9a7f2['getAttributeKeys']())_0x394f9c['includes'](_0x2a01b4)||_0x4b8258['removeAttribute'](_0x2a01b4,_0x9a7f2);for(const _0x489cff of _0x394f9c)_0x4b8258['setAttribute'](_0x489cff,_0x38f738[_0x1dfbb6][_0x489cff],_0x9a7f2);_0x4b8258['remove'](_0x4b8258['createRangeIn'](_0x9a7f2)),_0x4b8258['insert'](_0x5cf857['data']['parse'](_0x573260,_0x9a7f2),_0x9a7f2,0x0);}});const _0x1985c4=y(_0x5cf857['locale'],'Restored');if(_0x4f28da['name'])_0x302d34=-0x1==_0x4f28da['name']['indexOf'](_0x1985c4)?_0x1985c4+':\x20'+_0x4f28da['name']:_0x4f28da['name'];else _0x302d34=_0x1985c4+':\x20'+(_0x4f28da['createdAt']['toLocaleDateString'](_0x5cf857['locale']['uiLanguage'],{'month':'long','day':'numeric'})+',\x20'+_0x4f28da['createdAt']['toLocaleTimeString'](_0x5cf857['locale']['uiLanguage'],{'hour':'numeric','minute':'numeric'}));return await _0x482c2b['saveRevision']({'name':_0x302d34}),_0x5aeb11['isReady']=!0x0,_0x5cf857['config']['get']('revisionHistory')['closeRevisionViewerCallback']();}constructor(_0x59f4a4){if(super(_0x59f4a4),!this['editor']['config']['get']('revisionHistory'))throw new _0x19cbf3('revision-history-missing-configuration',this);this['_viewerEditor']=null,this['editor']['config']['define']('revisionHistory.showRevisionViewerCallback',_0x2f40e8=>this['_showRevisionViewer']({..._0x2f40e8,'translations':this['editor']['locale']['translations']})),this['editor']['config']['define']('revisionHistory.closeRevisionViewerCallback',_0x303385=>this['_closeRevisionViewer'](_0x303385)),this['editor']['config']['define']('revisionHistory.restoreRevisionCallback',_0x17c257=>this['_restoreRevision'](_0x17c257)),this['editor']['config']['define']('revisionHistory.requireRevisionName',!0x1),this['_enhanceShowRevisionViewerCallback'](),this['_enhanceCloseRevisionViewerCallback']();}}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};