@ckeditor/ckeditor5-revision-history 0.0.0-nightly-20240519.0 → 0.0.0-nightly-20240520.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,8 +20,8 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x157cb2,Context as _0x4d9bb1,PendingActions as _0x3d0a5f,icons as _0x3c810c,Command as _0x4bbdcd,ElementApiMixin as rt,Editor as it}from'@ckeditor/ckeditor5-core/dist/index.js';import{ObservableMixin as _0x5b9aa0,uid as _0x38cfa2,Collection as _0x22c1b4,logWarning as _0x23e7a4,FocusTracker as _0x2b8f8a,KeystrokeHandler as _0x139bba,scrollViewportToShowTarget as _0x52e536,ResizeObserver as mt,ElementReplacer as nt,CKEditorError as _0x1016d2}from'@ckeditor/ckeditor5-utils/dist/index.js';import{Users as _0x257df2,getMarkerDomElement as _0xc7e80d,ConfirmMixin as _0x2de9e9,sanitizeEditorConfig as _0x4c4e79}from'ckeditor5-collaboration/dist/index.js';import{ViewDocumentFragment as _0x297c1c,ViewText as _0x1ded12,ViewElement as _0x38206f,Element as ft,Range as vt,Position as gt,DocumentFragment as wt,ViewContainerElement as _0x146923,ViewAttributeElement as _0x281b65,ViewEmptyElement as _0x56e573,ViewRawElement as _0x408c0d,ViewUIElement as _0x1f1873,Text as _t}from'@ckeditor/ckeditor5-engine/dist/index.js';import{cloneDeep as _0x25b6ac,set as _0x3702c1,unset as _0x1bd54a,isEqual as _0x4d2bf0}from'lodash-es';import{View as _0x4cdf20,injectCssTransitionDisabler as ts,submitHandler as _0x1305a8,LabeledFieldView as at,createLabeledInputText as _0x4a4d93,createDropdown as _0x5acf1d,ListView as te,ListItemView as _0x3bb2b5,ButtonView as _0x14d847,MenuBarMenuView as _0x54d469,MenuBarMenuListView as _0x43fb27,MenuBarMenuListItemView as _0x226977,MenuBarMenuListItemButtonView as _0x579bb4,ContextualBalloon as _0x3c7e87,ToolbarSeparatorView as _0x219be1,IconView as _0x141dad,addListToDropdown as _0x276dcd,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 _0x432b5f}from'luxon';class a extends/* #__PURE__ -- @preserve */
24
- _0x5b9aa0(){['id'];['creator'];['authors'];['diffData'];['toVersion'];['fromVersion'];['model'];constructor(_0x5b61a6){super(),this['id']=_0x5b61a6['id']||_0x38cfa2(),this['creator']=_0x5b61a6['creator']||null,this['authors']=_0x5b61a6['authors']||[],this['diffData']=_0x5b61a6['diffData']||null,this['toVersion']=_0x5b61a6['toVersion']||0x0,this['fromVersion']=_0x5b61a6['fromVersion']||0x0,this['set']('name',_0x5b61a6['name']||''),this['set']('createdAt',_0x5b61a6['createdAt']||new Date()),this['set']('attributes',_0x5b61a6['attributes']||{});}['setName'](_0x41d17c){this['_update']({'name':_0x41d17c});}['setAttribute'](_0x505b25,_0x45ed7c){const _0x99d9e1=_0x25b6ac(this['attributes']);_0x3702c1(_0x99d9e1,_0x505b25,_0x45ed7c),this['_update']({'attributes':_0x99d9e1});}['removeAttribute'](_0x2f36fb){const _0x55b3c8=_0x25b6ac(this['attributes']);_0x1bd54a(_0x55b3c8,_0x2f36fb),this['_update']({'attributes':_0x55b3c8});}['_update'](_0x3a5e24,_0x4b40de=!0x1){let _0x9b4275=!0x1;const _0x14bbce={'id':this['id']},_0x3486a4=['name','createdAt','diffData','authors','attributes','toVersion','fromVersion','creatorId'];for(const _0x9b1b3c of _0x3486a4){const _0x2464cc=_0x3a5e24[_0x9b1b3c];void 0x0!==_0x2464cc&&_0x2464cc!==this[_0x9b1b3c]&&(this[_0x9b1b3c]=_0x2464cc,_0x14bbce[_0x9b1b3c]=_0x2464cc,_0x9b4275=!0x0);}_0x9b4275&&(_0x14bbce['authors']&&(_0x14bbce['authorsIds']=_0x14bbce['authors']['map'](_0x251ab4=>_0x251ab4['id']),delete _0x14bbce['authors']),this['fire']('_update',_0x14bbce,_0x4b40de));}['toJSON'](){return{'id':this['id'],'name':this['name'],'creatorId':this['creator']?this['creator']['id']:null,'authorsIds':this['authors']['map'](_0x1496f6=>_0x1496f6['id']),'diffData':this['diffData'],'createdAt':this['createdAt'],'attributes':this['attributes'],'fromVersion':this['fromVersion'],'toVersion':this['toVersion']};}}class A extends _0x157cb2{['_revisions'];static get['requires'](){return[_0x257df2];}static get['pluginName'](){return'RevisionsRepository';}get['length'](){return this['_revisions']['length'];}constructor(_0x50efe6){super(_0x50efe6),this['_revisions']=new _0x22c1b4();}['afterInit'](){!function(_0x4e7369){function _0x4bf36c(_0x49b53a,_0x32c579,_0x3f83d1){const _0x1628ec={};_0x1628ec[_0x48e8db([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])]={0x10:0xa,0x18:0xc,0x20:0xe},_0x1628ec[_0x48e8db([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],_0x1628ec[_0x48e8db([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],_0x1628ec[_0x48e8db([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],_0x1628ec[_0x48e8db([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],_0x1628ec[_0x48e8db([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],_0x1628ec[_0x48e8db([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],_0x1628ec[_0x48e8db([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],_0x1628ec[_0x48e8db([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],_0x1628ec[_0x48e8db([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],_0x1628ec[_0x48e8db([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 _0x49c00b=new Uint8Array(0x10);for(let _0x39a6d1=0xf;_0x39a6d1>=0x0;--_0x39a6d1)_0x49c00b[_0x39a6d1]=_0x3f83d1%0x100,_0x3f83d1=parseInt(_0x3f83d1/0x100);let _0x26cc0e=null,_0xb86f88=0x10;const _0x16cf1b=new Uint8Array(_0x32c579),_0x17a3a1=[],_0x47d056=[];_0x16fb22();for(let _0x59f09e=0x0;_0x59f09e<_0x49b53a[_0x48e8db([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x59f09e++)0x10===_0xb86f88&&(_0x26cc0e=_0x3124f0(_0x49c00b),_0xb86f88=0x0,_0xcbd129(_0x49c00b)),_0x49b53a[_0x59f09e]^=_0x26cc0e[_0xb86f88++];return _0x49b53a;function _0xb269f6(_0x314cc2){const _0x446090=[];for(let _0x5a3565=0x0;_0x5a3565<_0x314cc2[_0x48e8db([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5a3565+=0x4)_0x446090[_0x48e8db([0x70,0x75,0x73,0x68])](_0x314cc2[_0x5a3565]<<0x18|_0x314cc2[_0x5a3565+0x1]<<0x10|_0x314cc2[_0x5a3565+0x2]<<0x8|_0x314cc2[_0x5a3565+0x3]);return _0x446090;}function _0xcbd129(_0x38a704){for(let _0x359a8a=0xf;_0x359a8a>=0x0;_0x359a8a--){if(0xff!==_0x38a704[_0x359a8a]){_0x38a704[_0x359a8a]++;break;}_0x38a704[_0x359a8a]=0x0;}}function _0x3124f0(_0x2629dc){const _0x208190=_0x17a3a1[_0x48e8db([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x1,_0x4606e0=[0x0,0x0,0x0,0x0];let t=_0xb269f6(_0x2629dc);for(let _0x24b9ca=0x0;_0x24b9ca<0x4;_0x24b9ca++)t[_0x24b9ca]^=_0x17a3a1[0x0][_0x24b9ca];for(let _0x13e4c7=0x1;_0x13e4c7<_0x208190;_0x13e4c7++){for(let _0x38d85b=0x0;_0x38d85b<0x4;_0x38d85b++)_0x4606e0[_0x38d85b]=_0x1628ec[_0x48e8db([0x54,0x31])][t[_0x38d85b]>>0x18&0xff]^_0x1628ec[_0x48e8db([0x54,0x32])][t[(_0x38d85b+0x1)%0x4]>>0x10&0xff]^_0x1628ec[_0x48e8db([0x54,0x33])][t[(_0x38d85b+0x2)%0x4]>>0x8&0xff]^_0x1628ec[_0x48e8db([0x54,0x34])][0xff&t[(_0x38d85b+0x3)%0x4]]^_0x17a3a1[_0x13e4c7][_0x38d85b];t=_0x4606e0[_0x48e8db([0x73,0x6c,0x69,0x63,0x65])]();}const _0x26ac12=new Uint8Array(0x10);let _0xf904b0;for(let _0x14ecdf=0x0;_0x14ecdf<0x4;_0x14ecdf++)_0xf904b0=_0x17a3a1[_0x208190][_0x14ecdf],_0x26ac12[0x4*_0x14ecdf]=0xff&(_0x1628ec[_0x48e8db([0x53])][t[_0x14ecdf]>>0x18&0xff]^_0xf904b0>>0x18),_0x26ac12[0x4*_0x14ecdf+0x1]=0xff&(_0x1628ec[_0x48e8db([0x53])][t[(_0x14ecdf+0x1)%0x4]>>0x10&0xff]^_0xf904b0>>0x10),_0x26ac12[0x4*_0x14ecdf+0x2]=0xff&(_0x1628ec[_0x48e8db([0x53])][t[(_0x14ecdf+0x2)%0x4]>>0x8&0xff]^_0xf904b0>>0x8),_0x26ac12[0x4*_0x14ecdf+0x3]=0xff&(_0x1628ec[_0x48e8db([0x53])][0xff&t[(_0x14ecdf+0x3)%0x4]]^_0xf904b0);return _0x26ac12;}function _0x16fb22(){const _0x10d804=_0x1628ec[_0x48e8db([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])][_0x16cf1b[_0x48e8db([0x6c,0x65,0x6e,0x67,0x74,0x68])]];for(let _0x3dd53f=0x0;_0x3dd53f<=_0x10d804;_0x3dd53f++)_0x17a3a1[_0x48e8db([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]),_0x47d056[_0x48e8db([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]);const _0x4a5368=0x4*(_0x10d804+0x1),_0x277bb9=_0x16cf1b[_0x48e8db([0x6c,0x65,0x6e,0x67,0x74,0x68])]/0x4,_0x54ac98=_0xb269f6(_0x16cf1b);let _0x345cfe;for(let _0x15c48b=0x0;_0x15c48b<_0x277bb9;_0x15c48b++)_0x345cfe=_0x15c48b>>0x2,_0x17a3a1[_0x345cfe][_0x15c48b%0x4]=_0x54ac98[_0x15c48b],_0x47d056[_0x10d804-_0x345cfe][_0x15c48b%0x4]=_0x54ac98[_0x15c48b];let _0x4aaf72,_0x130f7d=0x0,t=_0x277bb9;for(;t<_0x4a5368;){_0x4aaf72=_0x54ac98[_0x277bb9-0x1],_0x54ac98[0x0]^=_0x1628ec[_0x48e8db([0x53])][_0x4aaf72>>0x10&0xff]<<0x18^_0x1628ec[_0x48e8db([0x53])][_0x4aaf72>>0x8&0xff]<<0x10^_0x1628ec[_0x48e8db([0x53])][0xff&_0x4aaf72]<<0x8^_0x1628ec[_0x48e8db([0x53])][_0x4aaf72>>0x18&0xff]^_0x1628ec[_0x48e8db([0x72,0x63,0x6f,0x6e])][_0x130f7d]<<0x18,_0x130f7d+=0x1;for(let _0x46f339=0x1;_0x46f339<_0x277bb9/0x2;_0x46f339++)_0x54ac98[_0x46f339]^=_0x54ac98[_0x46f339-0x1];_0x4aaf72=_0x54ac98[_0x277bb9/0x2-0x1],_0x54ac98[_0x277bb9/0x2]^=_0x1628ec[_0x48e8db([0x53])][0xff&_0x4aaf72]^_0x1628ec[_0x48e8db([0x53])][_0x4aaf72>>0x8&0xff]<<0x8^_0x1628ec[_0x48e8db([0x53])][_0x4aaf72>>0x10&0xff]<<0x10^_0x1628ec[_0x48e8db([0x53])][_0x4aaf72>>0x18&0xff]<<0x18;for(let _0x5e3454=_0x277bb9/0x2+0x1;_0x5e3454<_0x277bb9;_0x5e3454++)_0x54ac98[_0x5e3454]^=_0x54ac98[_0x5e3454-0x1];let _0xfbb6dc,_0x51b17b,_0x3949de=0x0;for(;_0x3949de<_0x277bb9&&t<_0x4a5368;)_0xfbb6dc=t>>0x2,_0x51b17b=t%0x4,_0x17a3a1[_0xfbb6dc][_0x51b17b]=_0x54ac98[_0x3949de],_0x47d056[_0x10d804-_0xfbb6dc][_0x51b17b]=_0x54ac98[_0x3949de++],t++;}for(let _0x57ae12=0x1;_0x57ae12<_0x10d804;_0x57ae12++)for(let _0x47f407=0x0;_0x47f407<0x4;_0x47f407++)_0x4aaf72=_0x47d056[_0x57ae12][_0x47f407],_0x47d056[_0x57ae12][_0x47f407]=_0x1628ec[_0x48e8db([0x55,0x31])][_0x4aaf72>>0x18&0xff]^_0x1628ec[_0x48e8db([0x55,0x32])][_0x4aaf72>>0x10&0xff]^_0x1628ec[_0x48e8db([0x55,0x33])][_0x4aaf72>>0x8&0xff]^_0x1628ec[_0x48e8db([0x55,0x34])][0xff&_0x4aaf72];}}function _0x48e8db(_0x4fcbc5){return _0x4fcbc5['map'](_0x5ca1cc=>String['fromCharCode'](_0x5ca1cc))['join']('');}(_0x180c0d=>{function _0x191936(){const _0x20868e=[{[_0x48e8db([0x69,0x64])]:0x1,[_0x48e8db([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x48e8db([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73]),[_0x48e8db([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x48e8db([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x48e8db([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x48e8db([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x48e8db([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x48e8db([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x48e8db([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]:[{[_0x48e8db([0x69,0x64])]:0x2,[_0x48e8db([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x48e8db([0x54,0x72,0x61,0x63,0x6b,0x20,0x43,0x68,0x61,0x6e,0x67,0x65,0x73]),[_0x48e8db([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x48e8db([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x48e8db([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x48e8db([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x48e8db([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x48e8db([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]),[_0x48e8db([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x48e8db([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x48e8db([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x48e8db([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}}],[_0x48e8db([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x48e8db([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x48e8db([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x48e8db([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x48e8db([0x69,0x64])]:0x3,[_0x48e8db([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x48e8db([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e]),[_0x48e8db([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x48e8db([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x6f,0x6f,0x6b,0x75,0x70]),[_0x48e8db([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x48e8db([0x70,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x48e8db([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x48e8db([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x48e8db([0x69,0x64])]:0x4,[_0x48e8db([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x48e8db([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x20,0x48,0x69,0x73,0x74,0x6f,0x72,0x79]),[_0x48e8db([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x48e8db([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x48e8db([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x48e8db([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x48e8db([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x48e8db([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]),[_0x48e8db([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x48e8db([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x48e8db([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x48e8db([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x48e8db([0x69,0x64])]:0x5,[_0x48e8db([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x48e8db([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x20,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65]),[_0x48e8db([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x48e8db([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65,0x55,0x49]),[_0x48e8db([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x48e8db([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]),[_0x48e8db([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x48e8db([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x48e8db([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x48e8db([0x66,0x67,0x69])]:[0xc]}},{[_0x48e8db([0x69,0x64])]:0x6,[_0x48e8db([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x48e8db([0x46,0x6f,0x72,0x6d,0x61,0x74,0x20,0x50,0x61,0x69,0x6e,0x74,0x65,0x72]),[_0x48e8db([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x48e8db([0x46,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x55,0x49]),[_0x48e8db([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x48e8db([0x66,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x48e8db([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x48e8db([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x48e8db([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x48e8db([0x66,0x67,0x69])]:[0xc]}},{[_0x48e8db([0x69,0x64])]:0x7,[_0x48e8db([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x48e8db([0x53,0x6c,0x61,0x73,0x68,0x20,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64]),[_0x48e8db([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x48e8db([0x53,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x55,0x49]),[_0x48e8db([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x48e8db([0x73,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x48e8db([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x48e8db([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x48e8db([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x48e8db([0x66,0x67,0x69])]:[0xc]}},{[_0x48e8db([0x69,0x64])]:0x8,[_0x48e8db([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x48e8db([0x54,0x61,0x62,0x6c,0x65,0x20,0x6f,0x66,0x20,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73]),[_0x48e8db([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x48e8db([0x54,0x61,0x62,0x6c,0x65,0x4f,0x66,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x48e8db([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x48e8db([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]),[_0x48e8db([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x48e8db([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x48e8db([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x48e8db([0x66,0x67,0x69])]:[0xc]}},{[_0x48e8db([0x69,0x64])]:0x9,[_0x48e8db([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x48e8db([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65]),[_0x48e8db([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x48e8db([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x55,0x49]),[_0x48e8db([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x48e8db([0x74,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x48e8db([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x48e8db([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x48e8db([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x48e8db([0x66,0x67,0x69])]:[0xc,0xe]}},{[_0x48e8db([0x69,0x64])]:0xa,[_0x48e8db([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x48e8db([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]),[_0x48e8db([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x48e8db([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]),[_0x48e8db([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x48e8db([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]),[_0x48e8db([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x48e8db([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x48e8db([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x48e8db([0x66,0x67,0x69])]:[0xc]}},{[_0x48e8db([0x69,0x64])]:0xb,[_0x48e8db([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x48e8db([0x41,0x49,0x20,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74]),[_0x48e8db([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x48e8db([0x41,0x49,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74,0x55,0x49]),[_0x48e8db([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x48e8db([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x48e8db([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x48e8db([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x48e8db([0x69,0x64])]:0xc,[_0x48e8db([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x48e8db([0x50,0x72,0x6f,0x64,0x75,0x63,0x74,0x69,0x76,0x69,0x74,0x79,0x20,0x70,0x61,0x63,0x6b])},{[_0x48e8db([0x69,0x64])]:0xd,[_0x48e8db([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x48e8db([0x43,0x61,0x73,0x65,0x20,0x43,0x68,0x61,0x6e,0x67,0x65]),[_0x48e8db([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x48e8db([0x43,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x55,0x49]),[_0x48e8db([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x48e8db([0x63,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x48e8db([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x48e8db([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x48e8db([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x48e8db([0x66,0x67,0x69])]:[0xc]}},{[_0x48e8db([0x69,0x64])]:0xe,[_0x48e8db([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x48e8db([0x44,0x72,0x75,0x70,0x61,0x6c,0x20,0x70,0x61,0x63,0x6b]),[_0x48e8db([0x66,0x6f,0x72,0x62,0x69,0x64,0x64,0x65,0x6e,0x48,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x48e8db([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])},{[_0x48e8db([0x69,0x64])]:0xf,[_0x48e8db([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x48e8db([0x4d,0x75,0x6c,0x74,0x69,0x20,0x4c,0x65,0x76,0x65,0x6c,0x20,0x4c,0x69,0x73,0x74]),[_0x48e8db([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x48e8db([0x4d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x48e8db([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x48e8db([0x6d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x48e8db([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x48e8db([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x48e8db([0x69,0x64])]:0x10,[_0x48e8db([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x48e8db([0x4d,0x65,0x72,0x67,0x65,0x20,0x54,0x61,0x67,0x73]),[_0x48e8db([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x48e8db([0x4d,0x65,0x72,0x67,0x65,0x54,0x61,0x67,0x73,0x55,0x49]),[_0x48e8db([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x48e8db([0x6d,0x65,0x72,0x67,0x65,0x54,0x61,0x67,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x48e8db([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x48e8db([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x48e8db([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x48e8db([0x66,0x67,0x69])]:[0xc]}}];return _0x292be3(_0x20868e),_0x20868e;function _0x1b6f01(_0x283bb5){return 0x1<<_0x283bb5-0x1;}function _0x292be3(_0x397906){_0x397906[_0x48e8db([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x179a31=>{_0x179a31[_0x48e8db([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]=_0x1b6f01(_0x179a31[_0x48e8db([0x69,0x64])]),_0x3430db(_0x179a31)&&_0x179a31[_0x48e8db([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x292be3(_0x179a31[_0x48e8db([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]);});}}function _0x3430db(_0xbdb072){return _0x48e8db([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])in _0xbdb072;}const _0x4de588=[0x1,0x55,0x4e,0x73,0xc6,0xff,0x32,0x70,0x53,0x57,0xa1],_0x2164ac=[0x7f,0x22,0x6,0xd3,0xa7,0x56,0x92,0xc7,0x84,0xa0,0x12];function _0xc091c7(_0x9cfed5){const _0x17007f=[0x1d,0xdd,0xaf,0x5a,0xe7,0x85,0xef,0xf0,0x4b,0xb4];return _0x5d1138(_0x9cfed5,new Uint8Array([..._0x4de588,..._0x17007f,..._0x2164ac]));}function _0x5d1138(_0xd7a914,_0x5aa2f4){const _0x14c4e8=_0x1081e3(_0xd7a914),_0x19c2d9=Array[_0x48e8db([0x66,0x72,0x6f,0x6d])](_0x3cd42b(_0x14c4e8)),_0x3d87b3=_0x19c2d9[_0x48e8db([0x70,0x6f,0x70])](),_0x5a088f=_0x19c2d9[_0x48e8db([0x70,0x6f,0x70])]();return _0x1fc067(_0x4bf36c(_0x19c2d9,_0x5aa2f4,_0x5a088f+0x100*_0x3d87b3));}function _0x1081e3(_0x911fa3){const _0x3facb2=atob(_0x911fa3),[_0x3e5f23,_0x1f29b8]=_0x3facb2[_0x48e8db([0x73,0x70,0x6c,0x69,0x74])](_0x48e8db([0x2d]));try{if(atob(_0x1f29b8))return atob(_0x3e5f23);}catch(_0xa431c0){}return _0x3facb2;}function _0x168ce3(_0x15920d){try{const _0x5eed88=_0xc091c7(_0x15920d),_0x5cb7f3=JSON[_0x48e8db([0x70,0x61,0x72,0x73,0x65])](_0x5eed88),_0x425791=parseInt(_0x5cb7f3[_0x48e8db([0x31])]),_0x15098d=_0x5cb7f3[_0x48e8db([0x32])]||'',_0x442054=parseInt(_0x5cb7f3[_0x48e8db([0x33])]),_0x2ea795=parseInt(_0x5cb7f3[_0x48e8db([0x34])])||0x0,_0x5efbd9=parseInt(_0x5cb7f3[_0x48e8db([0x35])])||0x0;return{[_0x48e8db([0x70,0x72,0x6f,0x64,0x75,0x63,0x74,0x4e,0x61,0x6d,0x65])]:_0x15098d,[_0x48e8db([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])]:_0x2ea795,[_0x48e8db([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]:_0x425791,[_0x48e8db([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]:_0x442054,[_0x48e8db([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]:_0x5efbd9};}catch(_0x5bd204){return null;}}const _0x1195ad=_0x191936(),_0x52d845={[_0x48e8db([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])]:_0x50e2e7,[_0x48e8db([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])]:_0x507135,[_0x48e8db([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])]:_0x3ff08d},_0x248e70=_0x180c0d[_0x48e8db([0x63,0x6f,0x6e,0x73,0x74,0x72,0x75,0x63,0x74,0x6f,0x72])][_0x48e8db([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])],_0x4b298d=_0x48e8db([0x63,0x6f,0x6e,0x74,0x65,0x78,0x74])in _0x180c0d?_0x180c0d['context']:_0x180c0d['editor'],_0x350744=_0x48e8db([0x34,0x30,0x34,0x38,0x31,0x30,0x33,0x38]),_0x3c4cf1=_0x48e8db([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]),_0x1ececb=_0x4b298d['config']['get'](_0x48e8db([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x4f4c92=_0x1195ad[_0x48e8db([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3430db)[_0x48e8db([0x66,0x69,0x6e,0x64])](_0x5410d7=>_0x5410d7[_0x48e8db([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]===_0x248e70);function _0x38d061(_0x49854a,_0x209016){_0x52d845[_0x209016[_0x48e8db([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]](_0x49854a,_0x209016),_0x209016[_0x48e8db([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x209016[_0x48e8db([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])][_0x48e8db([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xa5ca0b=>_0x3eeae8(_0x4b298d,_0xa5ca0b[_0x48e8db([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))[_0x48e8db([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x527c9b=>_0x38d061(_0x49854a,_0x527c9b));}function _0x50e2e7(_0x492e4c,_0x4ccc21){_0x563335(_0x2cda05(_0x492e4c,_0x4ccc21),_0x4ccc21);}function _0x507135(_0x19b20d,_0x174f3c){function _0x3664dd(_0x4c2344,_0x14e374){try{if(_0x3eeae8(_0x4b298d,_0x48e8db([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))&&_0x4c2344){const _0x117400=_0x2731ee(_0x4b298d,_0x48e8db([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))[_0x48e8db([0x5f,0x65,0x78,0x65,0x63,0x75,0x74,0x65,0x53,0x75,0x67,0x67,0x65,0x73,0x74,0x69,0x6f,0x6e])];if(parseInt(_0x117400)/0x2>_0x4c2344[_0x48e8db([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])])return _0x3053c5(_0x14e374[_0x48e8db([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x48e8db([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}return _0x2cda05(_0x4c2344,_0x14e374);}catch(_0x17d517){return _0x3053c5(_0x14e374[_0x48e8db([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x48e8db([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}_0x563335(_0x3664dd(_0x19b20d,_0x174f3c),_0x174f3c);}function _0x3ff08d(_0x1ce635,_0x441ff3){const _0x3cc2f2=_0x2164ac[0x0]*_0x4de588[0x1],_0x425f80=_0x2164ac[0x0]*_0x4de588[0x2],_0x6de478=_0x2164ac[0x2]*_0x4de588[0x2];_0x3eeae8(_0x4b298d,_0x48e8db([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x2731ee(_0x4b298d,_0x48e8db([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x48e8db([0x73,0x74,0x61,0x74,0x65])]==_0x48e8db([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&(window[_0x1c0232()]=_0x6de478);function _0x1f1e21(_0x2f0022,_0x32f01a){try{return _0x489d28()?_0x3053c5(_0x32f01a[_0x48e8db([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x48e8db([0x56,0x61,0x6c,0x69,0x64])):_0x2cda05(_0x2f0022,_0x32f01a);}catch(_0x53bfc5){return _0x3053c5(_0x32f01a[_0x48e8db([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x48e8db([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x57b2cb(_0x4a16c9,_0x42d7ea){const _0x4a6b8f=0x7;if(_0x4a16c9==_0x42d7ea[_0x48e8db([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x48e8db([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]))_0x34689a();else{if(_0x4a16c9==_0x42d7ea[_0x48e8db([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x48e8db([0x54,0x72,0x69,0x61,0x6c])){const _0x2d25f8=_0x1ccd30();_0x2d25f8&&_0xce1bb8(_0x2d25f8,_0x42d7ea[_0x48e8db([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);const _0x3e219b=_0x22164f();window[_0x48e8db([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0xce1bb8(_0x48e8db([0x74,0x69,0x6d,0x65]),_0x42d7ea[_0x48e8db([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);},_0x3e219b);const _0x10fd28=_0x2731ee(_0x4b298d,_0x48e8db([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x48e8db([0x5f,0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73])];_0x10fd28[_0x48e8db([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x4a6b8f?_0xce1bb8(_0x48e8db([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x42d7ea[_0x48e8db([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]):_0x10fd28['on'](_0x48e8db([0x61,0x64,0x64]),()=>{_0x10fd28[_0x48e8db([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x4a6b8f&&_0xce1bb8(_0x48e8db([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x42d7ea[_0x48e8db([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);});}}}function _0x1ccd30(){if(!_0x3eeae8(_0x4b298d,_0x48e8db([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x2877a7 in window)if(Number['isNaN'](Number(_0x2877a7))){if(window[_0x2877a7]===_0x3cc2f2)return _0x48e8db([0x74,0x69,0x6d,0x65]);if(window[_0x2877a7]===_0x425f80)return _0x48e8db([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]);}return!0x1;}function _0x489d28(){if(!_0x3eeae8(_0x4b298d,_0x48e8db([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x59eda2 in window)if(Number['isNaN'](Number(_0x59eda2))&&window[_0x59eda2]===_0x6de478)return!0x0;return!0x1;}function _0xce1bb8(_0xc08b13,_0x544a05){_0x34689a(),_0x3053c5(_0x544a05+_0x48e8db([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a])+_0xc08b13),window[_0x1c0232()]=_0xc08b13===_0x48e8db([0x74,0x69,0x6d,0x65])?_0x3cc2f2:_0x425f80;}function _0x22164f(){let _0x3ace0e=_0x2164ac[0x6]*_0x4de588[0x8]*_0x4de588[0x6];return _0x3eeae8(_0x4b298d,_0x48e8db([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x3ace0e/=0xa),_0x3ace0e;}function _0x34689a(){const _0x29f293=_0x4b298d;function _0x56c101(){_0x3eeae8(_0x29f293,_0x48e8db([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&(_0x2731ee(_0x29f293,_0x48e8db([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x48e8db([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x48e8db([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x2731ee(_0x29f293,_0x48e8db([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x48e8db([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x2731ee(_0x29f293,_0x48e8db([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x48e8db([0x75,0x70,0x64,0x61,0x74,0x65])]=_0x3918ea,_0x2731ee(_0x29f293,_0x48e8db([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x48e8db([0x73,0x61,0x76,0x65,0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e])]=_0x3918ea,_0x29f293[_0x48e8db([0x6d,0x6f,0x64,0x65,0x6c])][_0x48e8db([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x3918ea,_0x29f293[_0x48e8db([0x6d,0x6f,0x64,0x65,0x6c])][_0x48e8db([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x3918ea,_0x29f293[_0x48e8db([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x48e8db([0x6d,0x6f,0x64,0x65,0x6c]))),_0x3eeae8(_0x29f293,_0x48e8db([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x2731ee(_0x29f293,_0x48e8db([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x48e8db([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x48e8db([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x2731ee(_0x29f293,_0x48e8db([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x48e8db([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x2731ee(_0x29f293,_0x48e8db([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x48e8db([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])]=_0x3918ea,_0x2731ee(_0x29f293,_0x48e8db([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x48e8db([0x5f,0x67,0x65,0x74,0x44,0x69,0x66,0x66])]=_0x3918ea);}_0x29f293[_0x48e8db([0x73,0x74,0x61,0x74,0x65])]==_0x48e8db([0x72,0x65,0x61,0x64,0x79])?_0x56c101():_0x29f293[_0x48e8db([0x6f,0x6e,0x63,0x65])](_0x48e8db([0x72,0x65,0x61,0x64,0x79]),()=>{if(_0x3eeae8(_0x29f293,_0x48e8db([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&_0x56c101(),_0x3eeae8(_0x29f293,_0x48e8db([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))){const _0x1b6d88=_0x2731ee(_0x29f293,_0x48e8db([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79])),_0x31b6e4=_0x1b6d88['getRevision'](0x0),_0xedbded=_0x1b6d88['getEarlierVisibleRevision'](_0x31b6e4[_0x48e8db([0x69,0x64])]);_0x2731ee(_0x29f293,_0x48e8db([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x48e8db([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])](_0x31b6e4[_0x48e8db([0x69,0x64])],_0xedbded?_0xedbded[_0x48e8db([0x69,0x64])]:null,0x1)['then'](()=>_0x56c101());}});}_0x57b2cb(_0x1f1e21(_0x1ce635,_0x441ff3),_0x441ff3);}function _0x2cda05(_0x54820d,_0x359ffa){try{return _0x437a81(_0x359ffa)?_0x3053c5(_0x359ffa[_0x48e8db([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x48e8db([0x56,0x61,0x6c,0x69,0x64])):_0x54820d&&_0x3580c7(_0x54820d[_0x48e8db([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])],_0x359ffa)?_0x54820d[_0x48e8db([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]&&!window[_0x48e8db([0x6f,0x70,0x65,0x6e])][_0x48e8db([0x63,0x6c,0x6f,0x73,0x65,0x64])]||parseInt(_0x350744)/0x2>_0x54820d[_0x48e8db([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]?_0x3053c5(_0x359ffa[_0x48e8db([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x48e8db([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])):_0x54820d[_0x48e8db([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]?_0x3053c5(_0x359ffa[_0x48e8db([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x48e8db([0x54,0x72,0x69,0x61,0x6c])):_0x3053c5(_0x359ffa[_0x48e8db([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x48e8db([0x56,0x61,0x6c,0x69,0x64])):_0x3053c5(_0x359ffa[_0x48e8db([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x48e8db([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}catch(_0x20116b){return _0x3053c5(_0x359ffa[_0x48e8db([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x48e8db([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x563335(_0x50dd9f,_0x2d6fe6){if(_0x4b298d instanceof _0x4d9bb1){const _0xa695e=_0x4b298d;_0x50dd9f==_0x2d6fe6[_0x48e8db([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x48e8db([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x43c932(_0xa695e):_0x50dd9f==_0x2d6fe6[_0x48e8db([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x48e8db([0x54,0x72,0x69,0x61,0x6c])&&window[_0x48e8db([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x43c932(_0xa695e),_0x3053c5(_0x2d6fe6[_0x48e8db([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x48e8db([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65]));},_0x2164ac[0x6]*_0x4de588[0x8]*_0x4de588[0x6]),_0xa695e[_0x48e8db([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])][_0x48e8db([0x6f,0x6e])](_0x48e8db([0x61,0x64,0x64]),(_0x2a2f0b,_0x2ee98d)=>{_0x50dd9f!=_0x2d6fe6[_0x48e8db([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x48e8db([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])&&_0x50dd9f!=_0x2d6fe6[_0x48e8db([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x48e8db([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65])&&_0x50dd9f!=_0x2d6fe6[_0x48e8db([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x48e8db([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])||_0x68ca27(_0x2ee98d);});}else{const _0x509dd3=_0x4b298d;_0x50dd9f==_0x2d6fe6[_0x48e8db([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x48e8db([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x68ca27(_0x509dd3):_0x50dd9f==_0x2d6fe6[_0x48e8db([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x48e8db([0x54,0x72,0x69,0x61,0x6c])&&_0x509dd3[_0x48e8db([0x6f,0x6e])](_0x48e8db([0x72,0x65,0x61,0x64,0x79]),()=>{let _0x48828a=0x0;_0x509dd3[_0x48e8db([0x6d,0x6f,0x64,0x65,0x6c])][_0x48e8db([0x6f,0x6e])](_0x48e8db([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x4223d6,_0x160319)=>{_0x160319[0x0][_0x48e8db([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x48828a++,0x1f8===_0x48828a&&(_0x68ca27(_0x509dd3),_0x3053c5(_0x2d6fe6[_0x48e8db([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x48e8db([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])),_0x4223d6[_0x48e8db([0x6f,0x66,0x66])]());},{'priority':_0x48e8db([0x68,0x69,0x67,0x68,0x65,0x73,0x74])});});}}function _0x3053c5(_0x389dc7){const _0x22e17c=_0x1c0232();return _0x4b298d[_0x22e17c]=_0x389dc7,_0x389dc7;}function _0x1c0232(){const _0x3509de=String(window[_0x48e8db([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x48e8db([0x6e,0x6f,0x77])]())[_0x48e8db([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x48e8db([0x2e]),'');let _0x1a5413='';for(let _0x579fbc=0x0;_0x579fbc<_0x3509de[_0x48e8db([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x579fbc+=0x2){let _0x2058ac=parseInt(_0x3509de[_0x48e8db([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x579fbc,_0x579fbc+0x2));_0x2058ac>=_0x3c4cf1[_0x48e8db([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x2058ac-=_0x3c4cf1[_0x48e8db([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x1a5413+=_0x3c4cf1[_0x2058ac];}return _0x1a5413;}function _0x43c932(_0x62009c){for(const _0x1d2c22 of _0x62009c[_0x48e8db([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])])_0x68ca27(_0x1d2c22);_0x2731ee(_0x62009c,_0x48e8db([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x48e8db([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])](!0x0),_0x2731ee(_0x62009c,_0x48e8db([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x48e8db([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])]=_0x3918ea;}function _0x68ca27(_0x27abda){function _0x3b1738(){_0x27abda[_0x48e8db([0x6d,0x6f,0x64,0x65,0x6c])][_0x48e8db([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x3918ea,_0x27abda[_0x48e8db([0x6d,0x6f,0x64,0x65,0x6c])][_0x48e8db([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x3918ea,_0x27abda[_0x48e8db([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x48e8db([0x6d,0x6f,0x64,0x65,0x6c]));}_0x27abda[_0x48e8db([0x73,0x74,0x61,0x74,0x65])]==_0x48e8db([0x72,0x65,0x61,0x64,0x79])?_0x3b1738():_0x27abda[_0x48e8db([0x6f,0x6e,0x63,0x65])](_0x48e8db([0x72,0x65,0x61,0x64,0x79]),()=>_0x3b1738());}function _0x3918ea(){return null;}function _0x3580c7(_0x11caf3,_0x5ccb07){const _0x5d2b14=!!(_0x11caf3&_0x5ccb07[_0x48e8db([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]),_0x31c419=_0x7078e7(_0x11caf3,_0x5ccb07);return _0x5d2b14||_0x31c419;}function _0x7078e7(_0x4fe43f,_0x34cf8d){const _0x9524e1=(_0x34cf8d[_0x48e8db([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{})[_0x48e8db([0x66,0x67,0x69])]||null;return!!_0x9524e1&&_0x1195ad[_0x48e8db([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xa590df=>_0x9524e1[_0x48e8db([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xa590df[_0x48e8db([0x69,0x64])]))[_0x48e8db([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2e66cc=>!_0x44c517(_0x2e66cc))[_0x48e8db([0x73,0x6f,0x6d,0x65])](_0x4d2e70=>!!(_0x4fe43f&_0x4d2e70[_0x48e8db([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]));}function _0x44c517(_0x48aafb){const _0x11386d={[_0x48e8db([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])]:_0x53cc7d};return!!_0x48aafb['forbiddenHandler']&&_0x11386d[_0x48aafb['forbiddenHandler']]();}function _0x53cc7d(){return!window[_0x48e8db([0x44,0x72,0x75,0x70,0x61,0x6c])]||!_0x3eeae8(_0x4b298d,_0x48e8db([0x64,0x72,0x75,0x70,0x61,0x6c,0x50,0x6f,0x77,0x65,0x72,0x65,0x64,0x42,0x79]));}function _0x437a81(_0x22e988){if(!_0x3eeae8(_0x4b298d,_0x22e988[_0x48e8db([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))return!0x0;const _0x129a47=_0x22e988[_0x48e8db([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{},_0x5b26e=_0x129a47[_0x48e8db([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]||!0x1,_0x55c1e8=_0x129a47[_0x48e8db([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]||!0x1,_0x3503ae=_0x129a47[_0x48e8db([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]||!0x1;if(_0x3eeae8(_0x4b298d,_0x48e8db([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x2731ee(_0x4b298d,_0x48e8db([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x48e8db([0x73,0x74,0x61,0x74,0x65])]==_0x48e8db([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&_0x5b26e)return!0x0;if(_0x3eeae8(_0x4b298d,_0x48e8db([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))&&_0x2731ee(_0x4b298d,_0x48e8db([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))[_0x48e8db([0x72,0x65,0x73,0x75,0x6c,0x74])]==_0x48e8db([0x65,0x6e,0x64])&&_0x55c1e8)return!0x0;return!(!_0x3eeae8(_0x4b298d,_0x48e8db([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]))||_0x2731ee(_0x4b298d,_0x48e8db([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]))[_0x48e8db([0x72,0x65,0x73,0x75,0x6c,0x74])]!=_0x48e8db([0x65,0x6e,0x64])||!_0x3503ae);}function _0x3eeae8(_0x5c2ca1,_0x51dc9b){return _0x5c2ca1[_0x48e8db([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x48e8db([0x68,0x61,0x73])](_0x51dc9b);}function _0x2731ee(_0x423930,_0x178cff){return _0x423930[_0x48e8db([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x48e8db([0x67,0x65,0x74])](_0x178cff);}function _0x1fc067(_0xc8c372){let _0x428a45='';for(const _0x1a7071 of _0xc8c372)_0x428a45+=String[_0x48e8db([0x66,0x72,0x6f,0x6d,0x43,0x68,0x61,0x72,0x43,0x6f,0x64,0x65])](_0x1a7071);return _0x428a45;}function _0x3cd42b(_0x2e101a){const _0x3579eb=new Uint8Array(_0x2e101a[_0x48e8db([0x6c,0x65,0x6e,0x67,0x74,0x68])]);for(let _0x74a137=0x0;_0x74a137<_0x2e101a[_0x48e8db([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x74a137++)_0x3579eb[_0x74a137]=_0x2e101a[_0x48e8db([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x74a137);return _0x3579eb;}_0x4f4c92&&_0x38d061(_0x168ce3(_0x1ececb),_0x4f4c92);})(_0x4e7369);}(this);}['createRevision'](_0x5c0343){const _0x580d59=this['editor']['plugins']['get']('Users');return new a({'id':_0x5c0343['id'],'name':_0x5c0343['name'],'creator':_0x5c0343['creatorId']?_0x580d59['getUser'](_0x5c0343['creatorId']):null,'diffData':_0x5c0343['diffData']||_0x5c0343['data'],'authors':_0x5c0343['authorsIds']['map'](_0x167479=>_0x580d59['getUser'](_0x167479)),'createdAt':new Date(_0x5c0343['createdAt']),'attributes':_0x5c0343['attributes'],'fromVersion':_0x5c0343['fromVersion'],'toVersion':_0x5c0343['toVersion']});}['addRevision'](_0x15169,_0x3b6cf1=0x0){this['_revisions']['add'](_0x15169,_0x3b6cf1);}['getRevision'](_0x47d5d3){return this['_revisions']['get'](_0x47d5d3);}['getRevisions'](_0x438b96={'toJSON':!0x1}){const _0xfdaa84=Array['from'](this['_revisions']);return _0xfdaa84['reverse'](),_0x438b96['toJSON']?_0xfdaa84['map'](_0x5b5f56=>_0x5b5f56['toJSON']()):_0xfdaa84;}['getIndex'](_0x4b1cde){return this['_revisions']['getIndex'](_0x4b1cde);}['getEarlierVisibleRevision'](_0x58c4ba){const [,_0x43fbeb]=this['getRevisionsIterator'](_0x58c4ba,{'direction':'earlier'});return _0x43fbeb;}['getLaterVisibleRevision'](_0xe40b80){const [,_0x264908]=this['getRevisionsIterator'](_0xe40b80,{'direction':'later'});return _0x264908;}['getRevisionsInDiff'](_0x27fbc7){const _0x2ee2ac=[];for(const _0x130966 of this['getRevisionsIterator'](_0x27fbc7['newRevisionId']))if(_0x2ee2ac['push'](_0x130966),_0x130966['id']===_0x27fbc7['oldRevisionId'])break;return _0x2ee2ac;}*['getRevisionsIterator'](_0x3c14a3,{direction:_0x3b052c='earlier',filter:_0x16600d=_0x8c6186=>!0x0}={}){const _0x4cc7ae='earlier'===_0x3b052c?0x1:-0x1;let _0x4ac981=this['_revisions']['get'](_0x3c14a3),_0x3d2216=this['getIndex'](_0x4ac981);for(yield _0x4ac981;_0x4ac981;){if(_0x3d2216+=_0x4cc7ae,_0x4ac981=this['getRevision'](_0x3d2216),!_0x4ac981)return;_0x16600d(_0x4ac981)&&(yield _0x4ac981);}}}function y(_0x44dcb3,_0x172ef0,_0x106e18){const t=_0x44dcb3['t'];switch(_0x172ef0){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'},_0x106e18);case'X_OF_Y_CHANGES':return t({'string':'%0\x20of\x20%1','id':'X_OF_Y_CHANGES'},_0x106e18);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':_0x146923,'a':_0x281b65,'e':_0x56e573,'r':_0x408c0d,'u':_0x1f1873};class l extends _0x157cb2{['adapter'];['currentRevision'];['repository'];['_revisionDataBuilder'];['_source'];['_initialRevisionId'];['_bufferedUpdates'];['_pendingAction'];['_continueCurrentRevision'];['_startingVersion'];['_loadedStateData'];static get['pluginName'](){return'RevisionTracker';}static get['requires'](){return[_0x257df2,A,_0x3d0a5f];}constructor(_0x1916fd){super(_0x1916fd),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 _0xfdf96c=_0x38cfa2();this['_source']={'history':this['editor']['model']['document']['history'],'getLatestVersion':()=>Promise['resolve'](this['editor']['model']['document']['version']),'getCurrentRevisionId':()=>_0xfdf96c},this['set']('isReady',!0x1),this['set']('isEnabled',!0x0),this['set']('_isPendingUpdate',!0x1),this['editor']['config']['define']('revisionHistory.resumeUnsavedRevision',!0x0),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'revision'});}['init'](){this['repository']=this['editor']['plugins']['get']('RevisionsRepository'),this['_setConversion'](),this['editor']['data']['on']('ready',()=>{const _0x87d88b=this['repository']['getRevision'](0x0),_0x21c4fc=_0x87d88b&&null===_0x87d88b['creator']?_0x87d88b:null;if(this['_continueCurrentRevision']=!!_0x21c4fc&&this['editor']['config']['get']('revisionHistory.resumeUnsavedRevision'),this['editor']['plugins']['has']('RealTimeCollaborationClient')){const _0x16659d=this['_source']['getCurrentRevisionId'](),_0x2a96d5=this['repository']['getRevision'](_0x16659d);if(_0x2a96d5)this['_startingVersion']=_0x2a96d5['fromVersion'],this['_continueCurrentRevision']=!0x1;else{const _0x1c0888=this['_source']['history']['_operations']['find'](_0x400180=>!_0x400180['_isInit']),_0x9f2657=_0x1c0888?_0x1c0888['baseVersion']:this['_source']['history']['version'];_0x87d88b?(_0x87d88b['toVersion']<_0x9f2657&&_0x87d88b['_update']({'toVersion':_0x9f2657}),this['_continueCurrentRevision']?(this['_source']['getCurrentRevisionId']=()=>_0x21c4fc['id'],this['_startingVersion']=_0x21c4fc['fromVersion']):(this['_startingVersion']=_0x87d88b['toVersion'],this['_continueCurrentRevision']=!0x1)):(this['_startingVersion']=_0x9f2657,this['_continueCurrentRevision']=!0x1);}}else _0x21c4fc&&(this['editor']['model']['document']['history']['version']=Math['max'](_0x21c4fc['toVersion'],this['editor']['model']['document']['history']['version']),_0x21c4fc['fromVersion']===_0x21c4fc['toVersion']?(0x0!==_0x21c4fc['fromVersion']&&(this['_source']['getCurrentRevisionId']=()=>_0x21c4fc['id']),this['_continueCurrentRevision']=!0x1):this['_continueCurrentRevision']&&(this['_source']['getCurrentRevisionId']=()=>_0x21c4fc['id'],this['_startingVersion']=_0x21c4fc['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',_0x1f2c8b=>!_0x1f2c8b);}async['afterInit'](){if(this['repository']['length']>0x0){const _0x28b9b6=this['repository']['getRevision'](0x0),_0x220a46=await this['getRevisionDocumentData'](_0x28b9b6),_0x4c9630=await this['getRevisionRootsAttributes'](_0x28b9b6);this['_replaceEditorDataWithRevisionData'](_0x220a46,_0x4c9630);}}['setSource'](_0xef04b2){this['_source']=_0xef04b2;}async['update'](){const _0x17bc62=await this['_source']['getLatestVersion']();if(_0x17bc62>this['currentRevision']['toVersion']){await this['_loadState']();const _0x1fb00a=this['buildRevisionData']({'revision':this['currentRevision'],'to':_0x17bc62});_0x1fb00a['authors']=_0x1fb00a['authorsIds']['map'](_0x3a552e=>this['editor']['plugins']['get']('Users')['getUser'](_0x3a552e)),this['currentRevision']['_update'](_0x1fb00a);}}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'](_0x38e774={},_0x264a5f=null){const _0x8d7fbe=[];await this['_loadState'](),this['_continueCurrentRevision']=!0x1,_0x264a5f>this['currentRevision']['toVersion']&&(_0x264a5f=null),null===_0x264a5f&&(_0x264a5f=await this['_source']['getLatestVersion']());const _0x539e5b=this['_getFromVersion'](_0x264a5f),_0x4ef028=this['buildRevisionData']({'from':_0x539e5b,'to':_0x264a5f});if(this['currentRevision']['toVersion']<_0x264a5f){const _0x4177b8=this['buildRevisionData']({'revision':this['currentRevision'],'from':_0x264a5f,'to':_0x264a5f});_0x4177b8['authors']=[],_0x4177b8['authorsIds']=[],_0x4177b8['id']=this['currentRevision']['id'],this['currentRevision']['_update'](_0x4177b8,!0x0),delete _0x4177b8['authors'],_0x8d7fbe['push'](_0x4177b8);}_0x38e774['creatorId']=this['editor']['plugins']['get']('Users')['me']['id'],_0x38e774['name']=_0x38e774['name']||null,_0x38e774['id']=_0x38e774['id']||_0x38cfa2(),_0x38e774={..._0x38e774,..._0x4ef028};const _0x54cbf2=this['addRevisionData'](_0x38e774);_0x8d7fbe['push'](_0x38e774);const _0xe15a9e=this['repository']['getIndex'](_0x54cbf2);if(0x0!==_0xe15a9e){const _0xaef323=this['repository']['getRevision'](_0xe15a9e-0x1);if(_0xaef323['fromVersion']!==_0x264a5f){const _0x187aab=this['_revisionDataBuilder']['getData'](_0x264a5f,_0xaef323['toVersion']),_0x24c5ef={'id':_0xaef323['id'],'diffData':_0x187aab['diffData'],'authorsIds':_0x187aab['authorsIds'],'authors':_0x187aab['authorsIds']['map'](_0x3e7da2=>this['editor']['plugins']['get']('Users')['getUser'](_0x3e7da2)),'fromVersion':_0x264a5f};_0xaef323===this['currentRevision']&&(_0x24c5ef['createdAt']=new Date(_0x38e774['createdAt']['getTime']()+0xa)),_0xaef323['_update'](_0x24c5ef,!0x0),delete _0x24c5ef['authors'],_0x8d7fbe['push'](_0x24c5ef);}}if(this['adapter']){for(const _0x34a091 of _0x8d7fbe)this['_bufferUpdate'](_0x34a091['id'],_0x34a091,!0x0);this['sendBufferedUpdates']();}return _0x54cbf2;}['addRevisionData'](_0x27b1fd){const _0x1a0d9b=this['repository']['createRevision'](_0x27b1fd);return this['adapter']&&_0x1a0d9b['on']('_update',(_0x1c8ae0,_0x6035a7,_0x56d8ee)=>{_0x56d8ee||(this['_bufferUpdate'](_0x6035a7['id'],_0x6035a7,!0x0),this['sendBufferedUpdates']());}),this['repository']['addRevision'](_0x1a0d9b,this['_findInsertionIndex'](_0x1a0d9b)),_0x1a0d9b;}async['getRevisionDocumentData'](_0x59332b){await this['_loadRevisionData'](_0x59332b);const _0x41c96e={};for(const _0x409619 in _0x59332b['diffData']){if(_0x59332b['diffData'][_0x409619]['attachChange']&&!_0x59332b['diffData'][_0x409619]['attachChange']['isAttached'])continue;const _0x1db970=this['_removeRevisionMarkers'](JSON['parse'](_0x59332b['diffData'][_0x409619]['insertions'])),_0x677935=this['editor']['editing']['view']['document'],_0x3a0426=new _0x297c1c(_0x677935,_0x1db970['map'](_0x47fd63=>B(_0x47fd63,this['editor'])));this['editor']['data']['processor']['useFillerType']('marked'),_0x41c96e[_0x409619]=this['editor']['data']['processor']['toData'](_0x3a0426),this['editor']['data']['processor']['useFillerType']('default');}return _0x41c96e;}async['getRevisionRootsAttributes'](_0x1b3c33){await this['_loadRevisionData'](_0x1b3c33);const _0x590e92={};for(const _0x5ecc92 in _0x1b3c33['diffData'])_0x1b3c33['diffData'][_0x5ecc92]['attachChange']&&!_0x1b3c33['diffData'][_0x5ecc92]['attachChange']['isAttached']||(_0x590e92[_0x5ecc92]=_0x1b3c33['diffData'][_0x5ecc92]['attributesAfter']||{});return _0x590e92;}['sendBufferedUpdates'](){if(0x0===this['_bufferedUpdates']['size'])return;if(this['_isPendingUpdate'])return;let _0x4e1911=Array['from'](this['_bufferedUpdates']['values']());this['_bufferedUpdates']['clear']();for(let _0x48ca8c=0x0;_0x48ca8c<_0x4e1911['length'];_0x48ca8c++){const _0x3f6137=_0x4e1911[_0x48ca8c];let _0x2804bd=!0x1;for(const _0xb2c214 of Object['keys'](_0x3f6137))void 0x0===_0x3f6137[_0xb2c214]?delete _0x3f6137[_0xb2c214]:'id'!==_0xb2c214&&(_0x2804bd=!0x0);_0x2804bd||(_0x4e1911[_0x48ca8c]=null);}if(_0x4e1911=_0x4e1911['filter'](_0x4130a7=>null!==_0x4130a7),!_0x4e1911['length'])return;for(let _0x360840=0x0;_0x360840<_0x4e1911['length'];_0x360840++){const _0x3ca404=_0x4e1911[_0x360840];void 0x0!==_0x3ca404['fromVersion']&&void 0x0===_0x3ca404['toVersion']&&(_0x3ca404['toVersion']=this['repository']['getRevision'](_0x3ca404['id'])['toVersion']),void 0x0!==_0x3ca404['toVersion']&&void 0x0===_0x3ca404['fromVersion']&&(_0x3ca404['fromVersion']=this['repository']['getRevision'](_0x3ca404['id'])['fromVersion']);}const _0x15f964=this['editor']['config']['get']('collaboration.channelId');this['_isPendingUpdate']=!0x0,this['_addPendingAction'](),this['adapter']['updateRevisions'](_0x4e1911,_0x15f964)['finally'](()=>{this['_isPendingUpdate']=!0x1;})['then'](_0x7775be=>{if(_0x7775be){for(const _0x5d0362 of _0x7775be)this['setRevisionData']({'id':_0x5d0362['id'],'createdAt':_0x5d0362['createdAt']});}this['_removePendingAction'](),this['sendBufferedUpdates']();});}['_replaceEditorDataWithRevisionData'](_0x68b837,_0x1aaa04){let _0x158a12=this['editor']['config']['get']('initialData'),_0x38bc9a=this['editor']['config']['get']('rootsAttributes');if(void 0x0===_0x158a12){_0x158a12={};for(const _0x1579ef of this['editor']['model']['document']['getRootNames']())_0x158a12[_0x1579ef]='';}if('string'==typeof _0x158a12&&(_0x158a12={'main':_0x158a12}),void 0x0===_0x38bc9a){_0x38bc9a={};for(const _0x3d5ddd of this['editor']['model']['document']['getRootNames']())_0x38bc9a[_0x3d5ddd]={};}let _0x4422a8=!0x1;const _0x23c048=Object['keys'](_0x158a12),_0x41e767=Object['keys'](_0x68b837);for(const _0x468bb8 of _0x23c048){if(_0x158a12[_0x468bb8]!==_0x68b837[_0x468bb8]&&''!==_0x158a12[_0x468bb8]['trim']()){_0x4422a8=!0x0;break;}if(!_0x4d2bf0(_0x38bc9a[_0x468bb8],_0x1aaa04[_0x468bb8])&&Object['keys'](_0x38bc9a[_0x468bb8])['length']>0x0){_0x4422a8=!0x0;break;}}_0x4422a8||(_0x4422a8=_0x41e767['some'](_0x45ca10=>!this['editor']['model']['document']['getRoot'](_0x45ca10))),_0x4422a8&&_0x23e7a4('editor-initial-data-replaced-with-revision-data',{'editorData':_0x158a12,'editorRootsAttributes':_0x38bc9a,'revisionData':_0x68b837,'revisionRootsAttributes':_0x1aaa04}),this['editor']['config']['set']('initialData',_0x68b837),this['editor']['config']['set']('rootsAttributes',_0x1aaa04);}['_addPendingAction'](){if(!this['_pendingAction']){const _0x8f0bd2=this['editor']['plugins']['get']('PendingActions');this['_pendingAction']=_0x8f0bd2['add'](y(this['editor']['locale'],'PENDING_ACTION_REVISION_HISTORY'));}}['_removePendingAction'](){this['_pendingAction']&&(this['editor']['plugins']['get']('PendingActions')['remove'](this['_pendingAction']),this['_pendingAction']=null);}['_findInsertionIndex'](_0x484bf2){const _0x3a0e39=this['repository']['getRevisions']();_0x3a0e39['reverse']();let _0x34624c=0x0;for(;_0x34624c<_0x3a0e39['length'];){const _0x578542=_0x3a0e39[_0x34624c];if(_0x578542===this['currentRevision']){_0x34624c++;continue;}if(_0x578542['id']===this['_initialRevisionId'])break;const _0x3c105b=_0x484bf2['toVersion']-_0x578542['toVersion']||_0x484bf2['fromVersion']-_0x578542['fromVersion'];if(_0x3c105b>0x0)break;if(_0x3c105b<0x0)_0x34624c++;else{if(!_0x484bf2['creator']&&_0x578542['creator'])break;if(_0x578542['creator']||!_0x484bf2['creator']){if(_0x484bf2['createdAt']>_0x578542['createdAt'])break;_0x34624c++;}else _0x34624c++;}}return _0x34624c;}['setRevisionData'](_0x2182a6){const _0x2c3062=this['repository']['getRevision'](_0x2182a6['id']);if(_0x2182a6['createdAt']&&(_0x2182a6['createdAt']=new Date(_0x2182a6['createdAt'])),_0x2182a6['authorsIds']){const _0x3f9087=this['editor']['plugins']['get']('Users');_0x2182a6['authors']=_0x2182a6['authorsIds']['map'](_0x3cd845=>_0x3f9087['getUser'](_0x3cd845));}_0x2c3062['_update'](_0x2182a6,!0x0);}['buildRevisionData']({revision:_0x265e83=null,from:_0x3345bd=null,to:_0xff3ec=null}){_0x3345bd=null!==_0x3345bd?_0x3345bd:_0x265e83['fromVersion'],_0xff3ec=null!==_0xff3ec?_0xff3ec:_0x265e83['toVersion'];const _0x265757=this['_revisionDataBuilder']['getData'](_0x3345bd,_0xff3ec),_0x43543a={'diffData':_0x265757['diffData'],'authorsIds':_0x265757['authorsIds'],'fromVersion':_0x3345bd,'toVersion':_0xff3ec};if(!_0x265e83||_0xff3ec!==_0x265e83['toVersion']){const _0x2a335c=_0xff3ec-0x1,_0x3a60b9=this['_source']['history']['getOperation'](_0x2a335c);_0x43543a['createdAt']=_0x3a60b9&&_0x3a60b9['createdAt']||new Date();}if(this['_loadedStateData']&&_0x3345bd===this['_loadedStateData']['fromVersion']){for(const _0x525b6a of this['_loadedStateData']['authors'])_0x43543a['authorsIds']['includes'](_0x525b6a['id'])||_0x43543a['authorsIds']['push'](_0x525b6a['id']);}return _0x43543a;}['_loadRevisionData'](_0x4812fd){if(!_0x4812fd||_0x4812fd['diffData'])return Promise['resolve']();{const _0x2577cf=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0x2577cf,'revisionId':_0x4812fd['id']})['then'](_0x219f19=>{_0x4812fd['diffData']=_0x219f19['diffData'];});}}['_bufferUpdate'](_0x265bab,_0x1d68b5,_0x1de87c){if(this['_bufferedUpdates']['has'](_0x265bab)){const _0x2e538f=this['_bufferedUpdates']['get'](_0x265bab);_0x1d68b5=_0x1de87c?{..._0x2e538f,..._0x1d68b5}:{..._0x1d68b5,..._0x2e538f};}this['_bufferedUpdates']['set'](_0x265bab,_0x1d68b5);}['_getFromVersion'](_0x1c7228){const _0x16b289=this['repository']['getRevisions']();_0x16b289['reverse'](),_0x16b289['shift']();const _0x5528fc=_0x16b289['find'](_0x3fddb4=>_0x3fddb4['toVersion']<=_0x1c7228)['toVersion'];return _0x5528fc<this['_startingVersion']?this['_startingVersion']:_0x5528fc;}['_createInitialRevision'](_0x4b422d){const _0x4f48fb=this['repository']['getRevision'](this['repository']['length']-0x1);if(_0x4f48fb)this['_initialRevisionId']=_0x4f48fb['id'];else{const _0x169f96=!this['editor']['model']['document']['roots']['find'](_0x1cccc3=>this['editor']['model']['hasContent'](_0x1cccc3)),_0x26d5d4=this['editor']['plugins']['get']('Users')['me']['id'],_0x150f23=y(this['editor']['locale'],_0x169f96?'Empty\x20document':'Initial\x20revision');this['_makeRevision']({'from':_0x4b422d,'to':_0x4b422d,'id':this['_initialRevisionId'],'name':_0x150f23,'creatorId':_0x26d5d4});}}['_createCurrentRevision'](_0x42ac1a){const _0x5bd9cb=this['_source']['getCurrentRevisionId']();this['currentRevision']=this['repository']['getRevision'](_0x5bd9cb),this['currentRevision']||(this['currentRevision']=this['_makeRevision']({'from':_0x42ac1a,'to':_0x42ac1a,'id':_0x5bd9cb,'name':'','creatorId':null}));}['_makeRevision']({name:_0x11f373,from:_0x588a1a,to:_0x4443b1,creatorId:_0x44b4e9,id:_0x3957b5}){const _0x5dc773=this['buildRevisionData']({'from':_0x588a1a,'to':_0x4443b1});_0x5dc773['name']=_0x11f373,_0x5dc773['creatorId']=_0x44b4e9,_0x5dc773['id']=_0x3957b5;const _0x4af1d7=this['addRevisionData'](_0x5dc773);return this['adapter']&&this['_bufferUpdate'](_0x5dc773['id'],_0x5dc773,!0x0),_0x4af1d7;}['_setConversion'](){this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'});}['_removeRevisionMarkers'](_0x5a1c6b){return(_0x5a1c6b=_0x5a1c6b['filter'](_0x2ee4c2=>!_0x2ee4c2['name']||'revision-start'!==_0x2ee4c2['name']&&'revision-end'!==_0x2ee4c2['name']))['forEach'](_0x20800d=>{'string'!=typeof _0x20800d&&(_0x20800d['children']=this['_removeRevisionMarkers'](_0x20800d['children']),_0x20800d['attributes']=_0x20800d['attributes']['filter'](_0x4cb2df=>!_0x4cb2df[0x0]['startsWith']('data-revision-')));}),_0x5a1c6b;}}function B(_0x5e570b,_0xf9f1b4){const _0x3e090e=_0xf9f1b4['editing']['view']['document'];if('string'==typeof _0x5e570b)return new _0x1ded12(_0x3e090e,_0x5e570b);{const _0x5603bf=_0x5e570b['children']['map'](_0x18a447=>B(_0x18a447,_0xf9f1b4));return new(T[_0x5e570b['type']]||_0x38206f)(_0x3e090e,_0x5e570b['name'],_0x5e570b['attributes'],_0x5603bf);}}class J{['editor'];['source'];['_savedMetaData'];['_lastFrom'];['_lastTo'];['_markers'];['_diffRoots'];['_diffRootsAttributes'];['_baseRoots'];['_baseRootsAttributes'];['_idsRoots'];['_baseIdsRoots'];['_touched'];['_touchedMarkers'];['_touchedRoots'];['_revisionId'];['_startingRevisionId'];constructor(_0x1a5009){this['editor']=_0x1a5009,this['_savedMetaData']=new Map(),this['_lastFrom']=-0x1,this['_lastTo']=-0x1,this['_markers']=new Map(),this['_diffRoots']=new Map(),this['_diffRootsAttributes']=new Map(),this['_baseRoots']=new Map(),this['_baseRootsAttributes']=new Map(),this['_idsRoots']=new Map(),this['_baseIdsRoots']=new Map(),this['_touched']=new Map(),this['_touchedMarkers']=new Map(),this['_touchedRoots']=new Map(),this['_revisionId']=0x1;}['init'](_0x3d3ee3){this['source']=_0x3d3ee3;const _0x37cd24=new Map(),_0x23913c=new Map(),_0x397ce2=this['editor']['model']['document']['roots']['map'](_0x473349=>_0x473349['rootName']);for(const _0x252ad3 of _0x397ce2){const _0x375159=this['editor']['model']['document']['getRoot'](_0x252ad3),_0x9bacf3=q(_0x375159);_0x37cd24['set'](_0x252ad3,_0x9bacf3),_0x23913c['set'](_0x252ad3,Object['fromEntries'](_0x375159['getAttributes']()));}const _0xabefed=Array['from'](this['editor']['model']['markers'])['map'](_0xff542d=>[_0xff542d['name'],_0xff542d['getRange']()]),_0x1b444d=this['source']['version'];this['_saveMetaData'](_0x1b444d,_0x37cd24,_0xabefed,_0x23913c),this['_startingRevisionId']=this['_revisionId'];const _0x1bc5c1=new Map(),_0x1017c9=new Map();for(const _0x5d4872 of _0x397ce2){const _0x127290=G(_0x5d4872);_0x1bc5c1['set'](_0x5d4872,_0x127290),_0x1017c9['set'](_0x5d4872,{});}this['_saveMetaData'](Number['NEGATIVE_INFINITY'],_0x1bc5c1,[],_0x1017c9);}['getData'](_0x16d341,_0x1e6238){if(this['_lastFrom']===_0x16d341&&this['_lastTo']<=_0x1e6238)this['_savedMetaData']['size']>0x1&&this['_removeMetaData'](this['_lastTo']),this['_applyOperations'](this['_lastTo'],_0x1e6238,!0x0);else{if(!this['_savedMetaData']['has'](_0x16d341)){const _0x403ed9=this['_getPreviousFrom'](_0x16d341);this['_calculateMetaData'](_0x403ed9,_0x16d341,!0x1);}this['_calculateMetaData'](_0x16d341,_0x1e6238,!0x0);}return this['_lastFrom']=_0x16d341,this['_lastTo']=_0x1e6238,this['_getState']();}['loadState'](_0xefa6cb){this['_reset'](),this['_lastFrom']=_0xefa6cb['fromVersion'],this['_lastTo']=_0xefa6cb['toVersion'];for(const _0xceac95 in _0xefa6cb['diffData']){const _0x411139=_0xefa6cb['diffData'][_0xceac95]['attachChange'],_0x5f3de5=_0x25b6ac(_0xefa6cb['diffData'][_0xceac95]['attributesBefore'])||{},_0x5a5fe1=this['_makeModelFromViewString'](_0xefa6cb['diffData'][_0xceac95]['deletions']);_0x5a5fe1['rootName']=_0xceac95,_0x5a5fe1['_isAttached']=!_0x411139||!_0x411139['isAttached'],_0x5a5fe1['isAttached']=()=>_0x5a5fe1['_isAttached'],this['_baseRoots']['set'](_0xceac95,_0x5a5fe1),this['_baseRootsAttributes']['set'](_0xceac95,_0x5f3de5),_0x411139&&this['_touchedRoots']['set'](_0xceac95,_0x411139);const _0x804507=this['_makeIdsRoot'](_0x5a5fe1);this['_baseIdsRoots']['set'](_0xceac95,_0x804507);for(const [_0x143701,_0xb34feb]of _0x5a5fe1['markers']){if(!_0x143701['startsWith']('revision:'))continue;const _0x3fd5a9=_0x143701['split'](':')[0x2];for(const _0x1ee7f4 of _0xb34feb['getWalker']({'singleCharacters':!0x0})){const _0x2f0a18=this['_getVidAttributeName'](_0x1ee7f4),_0xe3da5b='elementEnd'==_0x1ee7f4['type']?_0x1ee7f4['previousPosition']['path']['slice'](0x0,-0x1):_0x1ee7f4['previousPosition']['path'],_0x4a9c7e=_0x804507['getNodeByPath'](_0xe3da5b)['getAttribute'](_0x2f0a18);this['_touched']['set'](_0x4a9c7e,{'userId':_0x3fd5a9});}}}this['_startingRevisionId']=this['_revisionId'];const _0x1ae272=[...Array(this['_revisionId'])['keys']()]['slice'](0x1)['filter'](_0x3ec200=>!this['_touched']['has'](_0x3ec200));let _0x5689db=0x0;const _0x583d91=new Map();for(const _0x420a4c in _0xefa6cb['diffData']){const _0x24005d=_0xefa6cb['diffData'][_0x420a4c]['attachChange'],_0x11fd40=_0x25b6ac(_0xefa6cb['diffData'][_0x420a4c]['attributesAfter'])||{},_0x6932bf=this['_makeModelFromViewString'](_0xefa6cb['diffData'][_0x420a4c]['insertions']);_0x6932bf['rootName']=_0x420a4c,_0x6932bf['_isAttached']=!_0x24005d||_0x24005d['isAttached'],_0x6932bf['isAttached']=()=>_0x6932bf['_isAttached'],this['_diffRoots']['set'](_0x420a4c,_0x6932bf),this['_diffRootsAttributes']['set'](_0x420a4c,_0x11fd40);const _0x27a123=this['_makeIdsRoot'](_0x6932bf,Number['NEGATIVE_INFINITY']);this['_idsRoots']['set'](_0x420a4c,_0x27a123),_0x583d91['set'](_0x420a4c,_0x6932bf['isAttached']()?_0x11fd40:{});for(const [_0x481feb,_0x5fcd2e]of _0x6932bf['markers']){if(!_0x481feb['startsWith']('revision:'))continue;const _0x2b6319=_0x481feb['split'](':')[0x2];for(const _0x2802c2 of _0x5fcd2e['getWalker']({'singleCharacters':!0x0})){const _0x38e0ee=this['_getVidAttributeName'](_0x2802c2),_0x4efafa=this['_revisionId']++,_0x49179e='elementEnd'==_0x2802c2['type']?_0x2802c2['previousPosition']['path']['slice'](0x0,-0x1):_0x2802c2['previousPosition']['path'];_0x27a123['getNodeByPath'](_0x49179e)['_setAttribute'](_0x38e0ee,_0x4efafa),this['_touched']['set'](_0x4efafa,{'userId':_0x2b6319});}}for(const _0x24b260 of this['editor']['model']['createRangeIn'](_0x6932bf)['getWalker']({'singleCharacters':!0x0})){const _0x4e48f3=this['_getVidAttributeName'](_0x24b260),_0x2aa45b='elementEnd'==_0x24b260['type']?_0x24b260['previousPosition']['path']['slice'](0x0,-0x1):_0x24b260['previousPosition']['path'],_0xbde35d=_0x27a123['getNodeByPath'](_0x2aa45b);_0xbde35d['getAttribute'](_0x4e48f3)>0x0||_0xbde35d['_setAttribute'](_0x4e48f3,_0x1ae272[_0x5689db++]);}for(const [_0x435001,_0x217778]of _0x6932bf['markers'])_0x435001['startsWith']('revision:')||this['_markers']['set'](_0x435001,_0x217778);}const _0x280503=G('$graveyard');this['_baseRoots']['set']('$graveyard',_0x280503),this['_baseIdsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x280503,0x1));const _0x8c642f=G('$graveyard');this['_diffRoots']['set']('$graveyard',_0x8c642f),this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x8c642f,0x1));const _0x2f3cac=Array['from'](this['_diffRoots'])['map'](([_0x5be832,_0x10fdec])=>[_0x5be832,q(_0x10fdec)]);this['_saveMetaData'](this['_lastTo'],_0x2f3cac,this['_markers'],_0x583d91);}['_makeModelFromViewString'](_0x22eb19){const _0x25fe37=JSON['parse'](_0x22eb19),_0x565735=this['editor']['editing']['view']['document'],_0x5dab9e=new _0x297c1c(_0x565735,_0x25fe37['map'](_0x2b32e5=>B(_0x2b32e5,this['editor'])));return this['editor']['data']['toModel'](_0x5dab9e);}['_saveMetaData'](_0x302c39,_0x173180,_0x4cbb0a,_0x1e9faa){const _0x4530cc=new Map(_0x173180),_0x44af8c=new Map(_0x25b6ac(_0x1e9faa)),_0x14684e=new Map();for(const [_0x1b0003,_0x44e3d9]of _0x4cbb0a)_0x14684e['set'](_0x1b0003,{'start':_0x44e3d9['start']['clone'](),'end':_0x44e3d9['end']['clone'](),'rootName':_0x44e3d9['root']['rootName']});this['_savedMetaData']['set'](_0x302c39,{'roots':_0x4530cc,'markers':_0x14684e,'rootsAttributes':_0x44af8c});}['_removeMetaData'](_0x35ffdc){this['_savedMetaData']['delete'](_0x35ffdc);}['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'](_0x15e294,_0xa27487=null){let _0x2e5df0=null;_0x15e294['is']('documentFragment')||(_0x2e5df0=new ft(_0x15e294['name'],{'vid_start':null===_0xa27487?this['_revisionId']++:_0xa27487++}));const _0x58af1e=[];for(const _0x1d7773 of _0x15e294['getChildren']())if(_0x1d7773['is']('element')){_0x58af1e['push'](this['_makeIdsRoot'](_0x1d7773,_0xa27487));const _0x4620e7=_0x58af1e[_0x58af1e['length']-0x1];null!==_0xa27487&&(_0xa27487=_0x4620e7['is']('element','$text')?_0x4620e7['getAttribute']('vid')+0x1:_0x4620e7['getAttribute']('vid_end')+0x1);}else{for(let _0x1e291e=0x0;_0x1e291e<_0x1d7773['offsetSize'];_0x1e291e++)_0x58af1e['push'](new ft('$text',{'vid':null===_0xa27487?this['_revisionId']++:_0xa27487++}));}if(_0x15e294['is']('documentFragment')){const _0xb485fd=G(_0x15e294['rootName']);return _0xb485fd['_insertChild'](0x0,_0x58af1e),_0xb485fd;}return _0x2e5df0['_setAttribute']('vid_end',null===_0xa27487?this['_revisionId']++:_0xa27487++),_0x2e5df0['_insertChild'](0x0,_0x58af1e),_0x2e5df0;}['_calculateMetaData'](_0x5e65f9,_0x22b094,_0x7b27ca){this['_reset']();const {roots:_0x4e7de7,markers:_0x129088,rootsAttributes:_0x4e33ae}=this['_savedMetaData']['get'](_0x5e65f9);this['_baseRoots']=new Map(_0x4e7de7),this['_baseRootsAttributes']=new Map(_0x25b6ac(_0x4e33ae));for(const [_0x36b82c,_0x5cf67b]of this['_baseRoots'])if('$graveyard'!==_0x36b82c&&(this['_diffRoots']['set'](_0x36b82c,q(_0x5cf67b)),this['_diffRootsAttributes']=new Map(_0x25b6ac(_0x4e33ae)),_0x7b27ca)){const _0x5853b9=this['_revisionId'];this['_idsRoots']['set'](_0x36b82c,this['_makeIdsRoot'](_0x5cf67b)),this['_baseIdsRoots']['set'](_0x36b82c,this['_makeIdsRoot'](_0x5cf67b,_0x5853b9));}this['_startingRevisionId']=this['_revisionId'],this['_diffRoots']['set']('$graveyard',q(this['_baseRoots']['get']('$graveyard'))),_0x7b27ca&&this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](this['_baseRoots']['get']('$graveyard')));for(const [_0x79c70,_0x1ba42]of _0x129088){const _0xfd947e=this['_baseRoots']['get'](_0x1ba42['rootName']),_0x4843e7=this['_diffRoots']['get'](_0x1ba42['rootName']),_0x225b22=new vt(this['_fixPosition'](_0x1ba42['start'],_0xfd947e),this['_fixPosition'](_0x1ba42['end'],_0xfd947e)),_0x1752c5=this['_fixRange'](_0x225b22,_0x4843e7);_0xfd947e['markers']['set'](_0x79c70,_0x225b22),this['_markers']['set'](_0x79c70,_0x1752c5);}this['_applyOperations'](_0x5e65f9,_0x22b094,_0x7b27ca);}['_applyOperations'](_0x2e746b,_0x524dec,_0x2ebd44){for(const _0xf8acf4 of this['source']['getOperations'](_0x2e746b,_0x524dec))this['_handleOperation'](_0xf8acf4,_0x2ebd44);for(const _0x1b7bf2 of this['_diffRoots']['values']())_0x1b7bf2['markers']['clear']();for(const [_0x3ec959,_0x2d262d]of this['_markers']){this['_diffRoots']['get'](_0x2d262d['root']['rootName'])['markers']['set'](_0x3ec959,_0x2d262d['clone']());}const _0x3a0043=new Map(),_0x3b3f48=new Map();for(const [_0x5d1656,_0xe84c0b]of this['_diffRoots'])_0x3a0043['set'](_0x5d1656,q(_0xe84c0b)),_0x3b3f48['set'](_0x5d1656,this['_diffRootsAttributes']['get'](_0x5d1656));this['_saveMetaData'](_0x524dec,_0x3a0043,this['_markers'],_0x3b3f48);}['_getPreviousFrom'](_0x4d4975){const _0x49b5b1=Array['from'](this['_savedMetaData']['keys']());_0x49b5b1['sort']((_0x41f663,_0x35f993)=>_0x41f663-_0x35f993),_0x49b5b1['reverse']();for(const _0x705f of _0x49b5b1)if(_0x705f<_0x4d4975)return _0x705f;return Number['NEGATIVE_INFINITY'];}['_copyMarkers'](_0xd304e,_0x131ef6){const _0x326246=Array['from'](_0x131ef6['markers'])['map'](([_0x2f45a0,_0x5f3fa6])=>[_0x2f45a0,this['_fixRange'](_0x5f3fa6,_0xd304e)]);_0xd304e['markers']=new Map(_0x326246);}['_transformMarkers'](_0x189f6e){for(const _0x2bb701 of this['_markers']['values']()){const _0x5b2cc0=_0x2bb701['getTransformedByOperation'](_0x189f6e),_0x5ce4de=vt['_createFromRanges'](_0x5b2cc0);_0x2bb701['start']=_0x5ce4de['start'],_0x2bb701['end']=_0x5ce4de['end'];}}['_handleOperation'](_0x1dd9b6,_0x524c68){if('addRoot'==_0x1dd9b6['type']||'detachRoot'==_0x1dd9b6['type'])return void this['_handleRootOperation'](_0x1dd9b6,_0x524c68);if('insert'==_0x1dd9b6['type']){const _0x46eb26=_0x1dd9b6['position']['root']['rootName'];this['_diffRoots']['has'](_0x46eb26)||(this['_diffRoots']['set'](_0x46eb26,G(_0x46eb26,!0x0)),this['_diffRootsAttributes']['set'](_0x46eb26,{}),_0x524c68&&this['_idsRoots']['set'](_0x46eb26,G(_0x46eb26,!0x0)));}else{if('addRootAttribute'==_0x1dd9b6['type']||'removeRootAttribute'==_0x1dd9b6['type']||'changeRootAttribute'==_0x1dd9b6['type'])return void this['_handleRootAttributeOperation'](_0x1dd9b6);}const _0x1c0586=this['_cloneOperation'](_0x1dd9b6,this['_diffRoots']);if('marker'!==_0x1dd9b6['type']&&(_0x1c0586['_execute'](),this['_transformMarkers'](_0x1c0586)),_0x524c68)switch(_0x1c0586['type']){case'insert':this['_handleInsertOperation'](_0x1dd9b6);break;case'move':case'remove':case'reinsert':this['_handleMoveOperation'](_0x1dd9b6);break;case'merge':this['_handleMergeOperation'](_0x1dd9b6);break;case'split':this['_handleSplitOperation'](_0x1dd9b6);break;case'marker':this['_handleMarkerOperation'](_0x1dd9b6);}}['_cloneOperation'](_0xe28b65,_0x325756){const _0x368cf3=_0xe28b65['clone']();return _0x368cf3['_authorId']=_0xe28b65['_authorId'],this['_fixOperation'](_0x368cf3,_0x325756),_0x368cf3;}['_getBaseVids'](_0x1996e4){return _0x1996e4['map'](_0xeec369=>{const _0x5a6dcb=this['_getVidAttributeName'](_0xeec369);return Number(_0xeec369['item']['getAttribute'](_0x5a6dcb));});}['_generateTape'](_0x59a740,_0x219f89){if(_0x59a740['is']('element','$text'))_0x219f89['push']({'item':_0x59a740,'type':'text'});else{_0x59a740['is']('element')&&_0x219f89['push']({'item':_0x59a740,'type':'elementStart'});for(const _0x155380 of _0x59a740['getChildren']())this['_generateTape'](_0x155380,_0x219f89);_0x59a740['is']('element')&&_0x219f89['push']({'item':_0x59a740,'type':'elementEnd'});}return _0x219f89;}['_getState'](){const _0x88ff7f=new Map(this['_touched']),_0x33ced6=new Map(_0x88ff7f),_0x4f5b83=new Map(),_0x372949={'insertions':{},'deletions':{}},_0x21d895={'insertions':{},'deletions':{}},_0x45442e=new Map(),_0x47cd38=new Set([...this['_baseRoots']['keys'](),...this['_diffRoots']['keys']()]);_0x47cd38['delete']('$graveyard');for(const _0x3315c7 of _0x47cd38){const _0x2dbe07=this['_diffRoots']['get'](_0x3315c7)||G(_0x3315c7,!0x1),_0x1dba68=this['_baseRoots']['get'](_0x3315c7)||G(_0x3315c7,!0x1);_0x2dbe07['isAttached']()||_0x1dba68['isAttached']()?(_0x372949['insertions'][_0x3315c7]=q(_0x2dbe07),_0x372949['deletions'][_0x3315c7]=q(_0x1dba68),this['_copyMarkers'](_0x372949['deletions'][_0x3315c7],_0x1dba68),this['_copyMarkers'](_0x372949['insertions'][_0x3315c7],_0x2dbe07),_0x21d895['insertions'][_0x3315c7]=this['_generateTape'](this['_idsRoots']['get'](_0x3315c7),[]),_0x21d895['deletions'][_0x3315c7]=this['_generateTape'](this['_baseIdsRoots']['get'](_0x3315c7)||G(_0x3315c7,!0x1),[])):_0x47cd38['delete'](_0x3315c7);}for(const _0x1907f4 of _0x47cd38){const _0x513bba=_0x21d895['insertions'][_0x1907f4];for(const _0x17dc9b of _0x513bba){const _0x1efb14=this['_getVidAttributeName'](_0x17dc9b),_0x5bdebc=_0x17dc9b['item']['getAttribute'](_0x1efb14);_0x33ced6['delete'](_0x5bdebc),_0x5bdebc>=this['_startingRevisionId']&&_0x4f5b83['set'](_0x5bdebc,_0x88ff7f['get'](_0x5bdebc));}}for(const _0xfdf692 of _0x47cd38){const _0x4e1f47=_0x21d895['insertions'][_0xfdf692],_0x451639=this['_getBaseVids'](_0x21d895['deletions'][_0xfdf692]);let _0x3dff36=0x0;for(const _0x2d9a12 of _0x4e1f47){const _0x3cb59d=this['_getVidAttributeName'](_0x2d9a12),_0x48bda6=_0x2d9a12['item']['getAttribute'](_0x3cb59d);if(!_0x4f5b83['has'](_0x48bda6)&&!_0x45442e['has'](_0x48bda6)){if(_0x33ced6['has'](_0x48bda6))_0x3dff36++;else{if(_0x48bda6!=_0x451639[_0x3dff36]){const _0x444fbb=_0x88ff7f['get'](_0x48bda6)||_0x88ff7f['get'](_0x451639[_0x3dff36]);for(;_0x48bda6!=_0x451639[_0x3dff36];)_0x33ced6['has'](_0x451639[_0x3dff36])||(_0x45442e['set'](_0x451639[_0x3dff36],_0x444fbb),_0x88ff7f['set'](_0x451639[_0x3dff36],_0x444fbb)),_0x3dff36++;}_0x3dff36++;}}}}for(const _0x3ed771 of _0x47cd38){const _0x13c559=_0x21d895['insertions'][_0x3ed771];for(const _0x1159a2 of _0x13c559){const _0x301363=this['_getVidAttributeName'](_0x1159a2),_0x1b78b8=_0x1159a2['item']['getAttribute'](_0x301363);if(_0x45442e['has'](_0x1b78b8)){const _0x5ad21e=_0x45442e['get'](_0x1b78b8);_0x33ced6['has'](_0x1b78b8)||_0x33ced6['set'](_0x1b78b8,{..._0x5ad21e}),_0x4f5b83['set'](_0x1b78b8,{..._0x5ad21e});}}}for(const _0x40054b of _0x33ced6['keys']())_0x40054b>=this['_startingRevisionId']&&_0x33ced6['delete'](_0x40054b);const _0x38a6d4=new Map();for(const _0x54e65c of _0x47cd38){let _0xe64832=_0x21d895['insertions'][_0x54e65c];for(const _0x13bde2 of _0xe64832)if(_0x13bde2['item']['is']('element','tableCell')){const _0x257ec6=this['_getVidAttributeName'](_0x13bde2),_0x10fb98=_0x13bde2['item']['getAttribute'](_0x257ec6);if(_0x4f5b83['has'](_0x10fb98)){const _0x5657a0=_0x13bde2['item']['parent']['parent']['getAttribute']('vid_start'),_0x41c685=_0x38a6d4['get'](_0x5657a0)||new Set();_0x41c685['add'](_0x4f5b83['get'](_0x10fb98)['userId']),_0x38a6d4['set'](_0x5657a0,_0x41c685);}}_0xe64832=_0x21d895['deletions'][_0x54e65c];for(const _0x46c119 of _0xe64832)if(_0x46c119['item']['is']('element','tableCell')){const _0x31d27b=this['_getVidAttributeName'](_0x46c119),_0x4d9ef6=_0x46c119['item']['getAttribute'](_0x31d27b);if(_0x33ced6['has'](_0x4d9ef6)){const _0x3a0cc7=_0x46c119['item']['parent']['parent']['getAttribute']('vid_start'),_0x3e5ba5=_0x38a6d4['get'](_0x3a0cc7)||new Set();_0x3e5ba5['add'](_0x33ced6['get'](_0x4d9ef6)['userId']),_0x38a6d4['set'](_0x3a0cc7,_0x3e5ba5);}}for(const _0x213ae7 of _0x38a6d4['keys']())(_0x4f5b83['has'](_0x213ae7)||_0x33ced6['has'](_0x213ae7))&&_0x38a6d4['delete'](_0x213ae7);}for(const _0x3cd699 of _0x47cd38){const _0x224bad=_0x21d895['insertions'][_0x3cd699];let _0x4d4e70=null,_0x3c4cc5=null;for(const _0x517830 of _0x224bad){const _0xb7af25=this['_getVidAttributeName'](_0x517830),_0x3dd541=_0x517830['item']['getAttribute'](_0xb7af25),_0x4752c0=_0x38a6d4['get'](_0x3dd541);_0x4752c0&&'elementStart'==_0x517830['type']&&(_0x4d4e70=Array['from'](_0x4752c0)[0x0],_0x3c4cc5=_0x517830['item']['getAttribute']('vid_end')),_0x4d4e70&&(_0x33ced6['set'](_0x3dd541,{'userId':_0x4d4e70}),_0x4f5b83['set'](_0x3dd541,{'userId':_0x4d4e70})),_0x3dd541==_0x3c4cc5&&(_0x4d4e70=null,_0x3c4cc5=null);}}const _0x2f4eb8={},_0x55748f=new Set();for(const _0x67c41 of _0x47cd38){const _0x2680b8=_0x372949['deletions'][_0x67c41],_0x4b4aa0=_0x372949['insertions'][_0x67c41];for(const {userId:_0x309b4b}of this['_touchedMarkers']['values']())null!==_0x309b4b&&_0x55748f['add'](_0x309b4b);for(const {userId:_0x582268}of this['_touchedRoots']['values']())null!==_0x582268&&_0x55748f['add'](_0x582268);this['_markChanges'](_0x4b4aa0,_0x21d895['insertions'][_0x67c41],_0x4f5b83,'insertion',_0x55748f),this['_markChanges'](_0x2680b8,_0x21d895['deletions'][_0x67c41],_0x33ced6,'deletion',_0x55748f),_0x2f4eb8[_0x67c41]={'insertions':this['_prepareViewToSave'](_0x4b4aa0),'deletions':this['_prepareViewToSave'](_0x2680b8),'attachChange':this['_touchedRoots']['get'](_0x67c41)||null,'attributesBefore':_0x25b6ac(this['_baseRootsAttributes']['get'](_0x67c41))||{},'attributesAfter':_0x25b6ac(this['_diffRootsAttributes']['get'](_0x67c41))};}return{'diffData':_0x2f4eb8,'authorsIds':Array['from'](_0x55748f)};}['_processRootBeforeSave'](_0x2f3591){for(const [,_0x60c505]of _0x2f3591['markers']){const _0x35cc6b=_0x60c505['start']['getAncestors']()['filter'](_0x21cf9c=>'tableCell'==_0x21cf9c['name']);for(const _0x2d516b of _0x35cc6b)0x1==_0x2d516b['childCount']&&_0x2d516b['getChild'](0x0)['is']('element','paragraph')&&_0x2d516b['getChild'](0x0)['_setAttribute']('keepParagraph',!0x0);}}['_prepareViewToSave'](_0x43a89e){this['_processRootBeforeSave'](_0x43a89e);const _0x2d41a5=this['editor']['data']['toView'](_0x43a89e,{}),_0x48d3c5=Array['from'](_0x2d41a5['getChildren']())['map'](_0xb8086a=>this['_getViewJson'](_0xb8086a));return JSON['stringify'](_0x48d3c5);}['_getViewJson'](_0x237c07){if(_0x237c07['is']('$text'))return _0x237c07['data'];{const _0x5f1cb1=_0x237c07;return{'type':Object['keys'](T)['find'](_0x31bf0d=>_0x237c07 instanceof T[_0x31bf0d]),'name':_0x5f1cb1['name'],'attributes':Array['from'](_0x5f1cb1['getAttributes']()),'children':Array['from'](_0x5f1cb1['getChildren']())['map'](_0x5ac00b=>this['_getViewJson'](_0x5ac00b))};}}['_markChanges'](_0x261531,_0x2a0e76,_0x49ccb1,_0x5b0418,_0xfafee8){let _0x9e0b7a=null,_0x181bfa=null,_0x1fd8c7=0x0;const _0xd2a9bc=this['editor']['model'];for(let _0x285020=0x0;_0x285020<_0x2a0e76['length'];_0x285020++){const _0x4c484a=this['_getVidAttributeName'](_0x2a0e76[_0x285020]),_0x3d831c=_0x2a0e76[_0x285020]['item']['getAttribute'](_0x4c484a),_0x5d4909=_0x49ccb1['get'](_0x3d831c),_0x1f0c6d=_0x285020==_0x2a0e76['length']-0x1;(!_0x9e0b7a&&_0x5d4909&&(_0x9e0b7a=_0x5d4909,_0x181bfa=_0x2a0e76[_0x285020]),_0x9e0b7a&&(!_0x5d4909||_0x5d4909['userId']!=_0x9e0b7a['userId']))&&(_0x314e0d(_0x5d4909,L(_0x181bfa,_0x261531,_0xd2a9bc),L(_0x2a0e76[_0x285020],_0x261531,_0xd2a9bc)),_0x9e0b7a=_0x5d4909||null,_0x181bfa=_0x5d4909?_0x2a0e76[_0x285020]:null),_0x9e0b7a&&_0x1f0c6d&&_0x314e0d(_0x5d4909,L(_0x181bfa,_0x261531,_0xd2a9bc),W(_0x2a0e76[_0x285020],_0x261531,_0xd2a9bc));}function _0x314e0d(_0x4c16d2,_0x97a0ec,_0x3a51b6){const _0x1c416a=_0x9e0b7a['userId'],_0x1618f7='revision:'+_0x5b0418+':'+_0x1c416a+':'+_0x1fd8c7++,_0x23a891=_0xd2a9bc['createRange'](_0x97a0ec,_0x3a51b6);_0x261531['markers']['set'](_0x1618f7,_0x23a891),null!==_0x1c416a&&_0xfafee8['add'](_0x1c416a);}}['_getVidAttributeName'](_0x251146){switch(_0x251146['type']){case'elementStart':return'vid_start';case'elementEnd':return'vid_end';default:return'vid';}}['_fixOperation'](_0x5b9ea4,_0x1a97e4){_0x5b9ea4['baseVersion']=null;for(const _0x2b088b in _0x5b9ea4){const _0x186239=_0x5b9ea4[_0x2b088b];if(_0x186239 instanceof gt){const _0x5654a3=_0x1a97e4['get'](_0x186239['root']['rootName']);_0x5b9ea4[_0x2b088b]=this['_fixPosition'](_0x186239,_0x5654a3);}if(_0x186239 instanceof vt){const _0x356748=_0x1a97e4['get'](_0x186239['root']['rootName']);_0x5b9ea4[_0x2b088b]=this['_fixRange'](_0x186239,_0x356748);}'root'===_0x2b088b&&(_0x5b9ea4['root']=_0x1a97e4['get'](_0x5b9ea4['root']['rootName']));}}['_fixRange'](_0x229f1f,_0x406afc){return this['editor']['model']['createRange'](this['_fixPosition'](_0x229f1f['start'],_0x406afc),this['_fixPosition'](_0x229f1f['end'],_0x406afc));}['_fixPosition'](_0xdc9eff,_0x2c2e3e){return this['editor']['model']['createPositionFromPath'](_0x2c2e3e,_0xdc9eff['path'],_0xdc9eff['stickiness']);}['_handleInsertOperation'](_0xf10b0c){const _0x132a3a=this['_idsRoots']['get'](_0xf10b0c['position']['root']['rootName']),_0x43dd53=this['_fixPosition'](_0xf10b0c['position'],_0x132a3a),_0x31535e=null===_0xf10b0c['_authorId']?null:_0xf10b0c['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x4f4a4c=_0x43dd53['parent'],_0x46efdf=this['_revisionId'],_0x16b6b1=[];for(const _0x45577c of _0xf10b0c['nodes'])if(_0x45577c['is']('element'))_0x16b6b1['push'](this['_makeIdsRoot'](_0x45577c));else{for(let _0x18cb37=0x0;_0x18cb37<_0x45577c['offsetSize'];_0x18cb37++)_0x16b6b1['push'](new ft('$text',{'vid':this['_revisionId']++}));}const _0x31fb83=this['_revisionId'];for(let _0x3a018c=_0x46efdf;_0x3a018c<_0x31fb83;_0x3a018c++)this['_touched']['set'](_0x3a018c,{'userId':_0x31535e});_0x4f4a4c['_insertChild'](_0x43dd53['offset'],_0x16b6b1);}['_handleMoveOperation'](_0x38481a){(_0x38481a=this['_cloneOperation'](_0x38481a,this['_idsRoots']))['_execute']();const _0x154b1f=null===_0x38481a['_authorId']?null:_0x38481a['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x32fd0e=_0x38481a['getMovedRangeStart'](),_0x4d455c=_0x32fd0e['parent'],_0x125753=_0x32fd0e['offset'];!function _0x432a14(_0x8539b4,_0x388974,_0x206671,_0xc3125c){for(let _0x1bab85=_0x206671;_0x1bab85<_0xc3125c;_0x1bab85++){const _0xb1ca0e=_0x388974['getChild'](_0x1bab85);_0xb1ca0e['is']('element','$text')?_0x8539b4['set'](_0xb1ca0e['getAttribute']('vid'),{'userId':_0x154b1f}):(_0x8539b4['set'](_0xb1ca0e['getAttribute']('vid_start'),{'userId':_0x154b1f}),_0x432a14(_0x8539b4,_0xb1ca0e,0x0,_0xb1ca0e['childCount']),_0x8539b4['set'](_0xb1ca0e['getAttribute']('vid_end'),{'userId':_0x154b1f}));}}(this['_touched'],_0x4d455c,_0x125753,_0x125753+_0x38481a['howMany']);}['_handleMergeOperation'](_0x5870f8){const _0x59f54c=null===(_0x5870f8=this['_cloneOperation'](_0x5870f8,this['_idsRoots']))['_authorId']?null:_0x5870f8['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0xa5acac=_0x5870f8['targetPosition']['parent'],_0x345209=_0x5870f8['sourcePosition']['parent'],_0x4ae9ca=_0xa5acac['getAttribute']('vid_end'),_0x529ac7=_0x345209['getAttribute']('vid_start');_0xa5acac['_setAttribute']('vid_end',_0x345209['getAttribute']('vid_end')),_0x345209['_setAttribute']('vid_end',_0x4ae9ca),this['_touched']['set'](_0x529ac7,{'userId':_0x59f54c}),this['_touched']['set'](_0x4ae9ca,{'userId':_0x59f54c}),_0x5870f8['_execute']();}['_handleSplitOperation'](_0x4ad4e0){const _0x2952cb=null===(_0x4ad4e0=this['_cloneOperation'](_0x4ad4e0,this['_idsRoots']))['_authorId']?null:_0x4ad4e0['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x141777=_0x4ad4e0['graveyardPosition'],_0x473c63=_0x4ad4e0['splitPosition']['parent'];_0x4ad4e0['_execute']();const _0xaefb82=_0x473c63['getAttribute']('vid_end'),_0x5142e6=_0x4ad4e0['insertionPosition']['nodeAfter'];if(_0x141777){const _0x3d9dc8=_0x5142e6['getAttribute']('vid_end'),_0x36fdd8=_0x473c63['getAttribute']('vid_end');_0x473c63['_setAttribute']('vid_end',_0x3d9dc8),_0x5142e6['_setAttribute']('vid_end',_0x36fdd8),this['_touched']['set'](_0x473c63['getAttribute']('vid_end'),{'userId':_0x2952cb}),this['_touched']['set'](_0x5142e6['getAttribute']('vid_start'),{'userId':_0x2952cb});}else{const _0xdc7fdc=this['_revisionId']++,_0x3ef0fc=this['_revisionId']++;_0x473c63['_setAttribute']('vid_end',_0xdc7fdc),_0x5142e6['_setAttribute']('vid_start',_0x3ef0fc),_0x5142e6['_setAttribute']('vid_end',_0xaefb82),this['_touched']['set'](_0xdc7fdc,{'userId':_0x2952cb}),this['_touched']['set'](_0x3ef0fc,{'userId':_0x2952cb});}}['_handleMarkerOperation'](_0x271f59){if(!_0x271f59['affectsData'])return;const _0x39d7db=(_0x271f59=this['_cloneOperation'](_0x271f59,this['_diffRoots']))['oldRange']?_0x271f59['oldRange']['root']:null,_0x1820b3=_0x271f59['newRange']?_0x271f59['newRange']['root']:null;_0x39d7db&&this['_markers']['delete'](_0x271f59['name']),_0x1820b3&&this['_markers']['set'](_0x271f59['name'],_0x271f59['newRange']['clone']());const _0x2b6873=null===_0x271f59['_authorId']?null:_0x271f59['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x198ac0=_0x271f59['name'];if(!this['_touchedMarkers']['has'](_0x198ac0))return void this['_touchedMarkers']['set'](_0x198ac0,{'range':_0x271f59['oldRange'],'userId':_0x2b6873});const _0x5bcc0c=this['_touchedMarkers']['get'](_0x198ac0),_0x491152=_0x5bcc0c['range'],_0x141208=_0x271f59['newRange'];null==_0x491152&&null==_0x141208||_0x491152&&_0x141208&&_0x491152['isEqual'](_0x141208)?this['_touchedMarkers']['delete'](_0x271f59['name']):_0x5bcc0c['userId']=_0x2b6873;}['_handleRootOperation'](_0x51c06e,_0xe23531){this['_diffRoots']['has'](_0x51c06e['rootName'])?this['_diffRoots']['get'](_0x51c06e['rootName'])['_isAttached']=_0x51c06e['isAdd']:(this['_diffRoots']['set'](_0x51c06e['rootName'],G(_0x51c06e['rootName'],!0x0)),this['_diffRootsAttributes']['set'](_0x51c06e['rootName'],{}),_0xe23531&&this['_idsRoots']['set'](_0x51c06e['rootName'],G(_0x51c06e['rootName'],!0x0)));const _0xfef677=null===_0x51c06e['_authorId']?null:_0x51c06e['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x38a74c=this['_touchedRoots']['get'](_0x51c06e['rootName']);_0x38a74c&&_0x38a74c['userId']===_0xfef677?this['_touchedRoots']['delete'](_0x51c06e['rootName']):this['_touchedRoots']['set'](_0x51c06e['rootName'],{'userId':_0xfef677,'isAttached':_0x51c06e['isAdd']});}['_handleRootAttributeOperation'](_0x1f4632){const _0x4ab7f4=this['_diffRootsAttributes']['get'](_0x1f4632['root']['rootName']);null===_0x1f4632['newValue']?delete _0x4ab7f4[_0x1f4632['key']]:_0x4ab7f4[_0x1f4632['key']]=_0x1f4632['newValue'];}}function q(_0x201b88){const _0x2fece7=G(_0x201b88['rootName'],_0x201b88['isAttached']());for(const _0x58b120 of _0x201b88['getChildren']()){const _0x278414=_0x58b120['_clone'](!0x0);_0x2fece7['_appendChild'](_0x278414);}return _0x2fece7;}function G(_0x2bec73,_0x47d1b3=!0x0){const _0x47a275=new wt();return _0x47a275['rootName']=_0x2bec73,_0x47a275['_isAttached']=_0x47d1b3,_0x47a275['isAttached']=()=>_0x47a275['_isAttached'],_0x47a275;}function L(_0x14bc4b,_0x513427,_0x801ec3){const _0x7ace6b='elementEnd'==_0x14bc4b['type']?_0x801ec3['createPositionAt'](_0x14bc4b['item'],'end'):_0x801ec3['createPositionBefore'](_0x14bc4b['item']);return _0x801ec3['createPositionFromPath'](_0x513427,_0x7ace6b['path'],_0x7ace6b['stickiness']);}function W(_0x333252,_0x3d5c52,_0x5662c1){const _0x5781fc='elementStart'==_0x333252['type']?_0x5662c1['createPositionAt'](_0x333252['item'],0x0):_0x5662c1['createPositionAfter'](_0x333252['item']);return _0x5662c1['createPositionFromPath'](_0x3d5c52,_0x5781fc['path'],_0x5781fc['stickiness']);}class ns extends _0x4cdf20{['focusTracker'];['keystrokes'];['revisionNameInputView'];constructor(_0x136af9,_0x469a58){super(_0x136af9),this['focusTracker']=new _0x2b8f8a(),this['keystrokes']=new _0x139bba(),this['set']('revisionNameInputValue',''),this['revisionNameInputView']=this['_createRevisionNameInput'](_0x469a58),this['setTemplate']({'tag':'form','attributes':{'class':['ck','ck-revision-history-save-revision-form','ck-responsive-form'],'tabindex':'-1'},'children':[this['revisionNameInputView']]}),ts(this);}['render'](){super['render'](),_0x1305a8({'view':this}),this['focusTracker']['add'](this['revisionNameInputView']['element']),this['keystrokes']['listenTo'](this['element']);const _0x1c9b9c=_0xa0a7c3=>_0xa0a7c3['stopPropagation']();this['keystrokes']['set']('arrowright',_0x1c9b9c),this['keystrokes']['set']('arrowleft',_0x1c9b9c),this['keystrokes']['set']('arrowup',_0x1c9b9c),this['keystrokes']['set']('arrowdown',_0x1c9b9c);}['focus'](){this['revisionNameInputView']['focus']();}get['revisionName'](){return this['revisionNameInputView']['fieldView']['element']['value']['trim']();}set['revisionName'](_0x20c71f){this['revisionNameInputView']['fieldView']['element']['value']=_0x20c71f['trim']();}['reset'](){this['revisionNameInputView']['fieldView']['element']['value']='',this['revisionNameInputView']['errorText']=null;}['_createRevisionNameInput'](_0x64a557){const _0xd86506=new at(this['locale'],_0x4a4d93),_0x19ccc6=_0xd86506['fieldView'];_0x19ccc6['extendTemplate']({'attributes':{'maxlength':'220'}});let _0x2a47ec=y(this['locale'],'Name\x20of\x20the\x20revision');return!_0x64a557&&(_0x2a47ec+='\x20('+y(this['locale'],'optional')+')'),(_0xd86506['label']=_0x2a47ec,_0x19ccc6['on']('input',()=>{this['revisionNameInputValue']=_0x19ccc6['element']['value']['trim']();}),_0xd86506);}}class u extends _0x157cb2{static get['pluginName'](){return'RevisionHistoryUI';}static get['requires'](){return[l];}['_saveRevisionFormView'];['init'](){const _0x221d05=this['editor'],_0x2ad35f=_0x221d05['plugins']['get']('RevisionTracker');_0x221d05['ui']['componentFactory']['add']('revisionHistory',_0x1ebac8=>{const _0x47d77e=_0x5acf1d(_0x1ebac8),_0x4abe06=_0x47d77e['panelView']['children'],_0x111683=new te(_0x1ebac8),_0x4a3b1b=new _0x3bb2b5(_0x1ebac8),_0x2639fb=new _0x14d847(_0x1ebac8),_0x156eab=new _0x3bb2b5(_0x1ebac8),_0x5b7c05=new _0x14d847(_0x1ebac8);return _0x47d77e['bind']('isEnabled')['to'](_0x2ad35f,'isReady',_0x2ad35f,'isEnabled',_0x221d05,'isReadOnly',(_0x59313b,_0x160193,_0x321aa2)=>_0x59313b&&_0x160193&&!_0x321aa2),_0x47d77e['buttonView']['set']({'icon':_0x3c810c['history'],'label':y(_0x1ebac8,'Revision\x20history'),'tooltip':!0x0}),_0x2639fb['set']({'label':y(_0x1ebac8,'Save\x20current\x20revision'),'withText':!0x0,'role':'menuitem'}),_0x2639fb['bind']('isEnabled')['to'](_0x2ad35f,'isReady',_0x2ad35f,'isEnabled',_0x221d05,'isReadOnly',(_0x174354,_0x2ebe3e,_0x583d97)=>_0x174354&&_0x2ebe3e&&!_0x583d97),_0x2639fb['on']('execute',()=>this['_showDialog']()),_0x5b7c05['set']({'label':y(_0x1ebac8,'Open\x20revision\x20history'),'withText':!0x0,'role':'menuitem'}),_0x5b7c05['bind']('isEnabled')['to'](_0x2ad35f,'isReady',_0x221d05,'isReadOnly',(_0x2eff45,_0x50a0d8)=>_0x2eff45&&!_0x50a0d8),_0x5b7c05['on']('execute',()=>{_0x221d05['config']['get']('revisionHistory')['showRevisionViewerCallback'](),_0x47d77e['isOpen']=!0x1,_0x221d05['editing']['view']['focus']();}),_0x4a3b1b['children']['add'](_0x2639fb),_0x156eab['children']['add'](_0x5b7c05),_0x111683['role']='menu',_0x111683['items']['addMany']([_0x4a3b1b,_0x156eab]),_0x4abe06['add'](_0x111683),_0x47d77e;}),_0x221d05['ui']['componentFactory']['add']('menuBar:revisionHistory',()=>this['_registerMenuComponent']());}['_registerMenuComponent'](){const _0x4f9a99=this['editor'],_0x87d621=_0x4f9a99['locale'],_0x4366b3=new _0x54d469(_0x87d621),_0x189642=new _0x43fb27(_0x87d621);_0x4366b3['buttonView']['set']({'icon':_0x3c810c['history'],'label':y(_0x87d621,'Revision\x20history')});const _0x286bb3=new _0x226977(_0x87d621,_0x4366b3),_0x1f604a=new _0x579bb4(_0x87d621);_0x1f604a['set']({'label':y(_0x87d621,'Save\x20current\x20revision')}),_0x1f604a['delegate']('execute')['to'](_0x4366b3),_0x1f604a['on']('execute',()=>{this['_showDialog']();}),_0x286bb3['children']['add'](_0x1f604a),_0x189642['items']['add'](_0x286bb3);const _0x24e311=new _0x226977(_0x87d621,_0x4366b3),_0x34b16d=new _0x579bb4(_0x87d621);return _0x34b16d['set']({'label':y(_0x87d621,'Open\x20revision\x20history')}),_0x34b16d['delegate']('execute')['to'](_0x4366b3),_0x34b16d['on']('execute',()=>{_0x4f9a99['config']['get']('revisionHistory')['showRevisionViewerCallback']();}),_0x24e311['children']['add'](_0x34b16d),_0x189642['items']['add'](_0x24e311),_0x4366b3['panelView']['children']['add'](_0x189642),_0x4366b3;}['_showDialog'](){const _0x17a78d=this['editor'],_0x308eb4=_0x17a78d['locale'],t=_0x308eb4['t'],_0x52a06b=_0x17a78d['plugins']['get']('Dialog'),_0x5dfdf8=_0x17a78d['plugins']['get']('RevisionTracker');function _0x9287a(_0x10ee15){_0x17a78d['config']['get']('revisionHistory.requireRevisionName')&&''===_0x10ee15['revisionName']?_0x10ee15['revisionNameInputView']['errorText']=y(_0x308eb4,'The\x20revision\x20name\x20cannot\x20be\x20empty.'):(_0x17a78d['plugins']['get'](l)['saveRevision']({'name':_0x10ee15['revisionName']}),_0x52a06b['hide']());}this['_saveRevisionFormView']||(this['_createSaveRevisionFormView'](),this['_saveRevisionFormView']['on']('submit',()=>_0x9287a(this['_saveRevisionFormView']))),this['_saveRevisionFormView']['reset'](),_0x52a06b['show']({'id':'findAndReplace','title':y(_0x308eb4,'Save\x20current\x20revision'),'isModal':!0x0,'content':this['_saveRevisionFormView'],'actionButtons':[{'label':t('Cancel'),'withText':!0x0,'onExecute':()=>_0x52a06b['hide']()},{'label':t('Accept'),'class':'ck-button-action','withText':!0x0,'onCreate'(_0x424ab6){_0x424ab6['bind']('isEnabled')['to'](_0x5dfdf8,'isReady',_0x5dfdf8,'isEnabled',_0x17a78d,'isReadOnly',(_0x58e88e,_0x981964,_0x509131)=>_0x58e88e&&_0x981964&&!_0x509131);},'onExecute':()=>_0x9287a(this['_saveRevisionFormView'])}]});}['_createSaveRevisionFormView'](){const _0x670d58=this['editor'],_0x4d05a0=_0x670d58['locale'];this['_saveRevisionFormView']=new ns(_0x4d05a0,_0x670d58['config']['get']('revisionHistory.requireRevisionName')),this['_saveRevisionFormView']['render']();}}class Z extends _0x4cdf20{['changeId'];['_model'];constructor(_0x19e198,_0x3946b3){super(_0x19e198),this['_model']=_0x3946b3,this['changeId']=_0x3946b3['id'];const _0x45435f=this['bindTemplate'],_0x12fcc6=y(_0x19e198,_0x3946b3['data']['isSuggestion']?'Suggested\x20by':'add'==_0x3946b3['type']?'Added\x20by':'Removed\x20by');this['set']('type',_0x3946b3['type']),this['setTemplate']({'tag':'div','attributes':{'class':['ck-annotation','ck-revision-change',_0x45435f['to']('type',_0x70c701=>'ck-revision-change__'+_0x70c701)],'tabindex':-0x1},'children':[{'tag':'span','children':[{'tag':'span','attributes':{'class':['ck-revision-change__label']},'children':[{'text':_0x12fcc6}]},{'text':'\x20'+_0x3946b3['author']['name']}]}]});}['focus'](){this['element']['focus']();}}class r extends/* #__PURE__ -- @preserve */
25
- _0x5b9aa0(){['id'];['author'];['type'];['data'];['rootName'];constructor(_0x5ddbc0){super(),this['id']=_0x5ddbc0['id']||_0x38cfa2(),this['author']=_0x5ddbc0['author'],this['type']=_0x5ddbc0['type'],this['data']=_0x5ddbc0['data']||{},this['rootName']=_0x5ddbc0['rootName'],this['set']('createdAt',_0x5ddbc0['createdAt']);}['toJSON'](){return{'id':this['id'],'authorId':this['author']['id'],'type':this['type'],'data':this['data'],'createdAt':this['createdAt']};}}class f{['newRevisionId'];['oldRevisionId'];['changes'];constructor(_0x761a63,_0x4202c7){this['newRevisionId']=_0x761a63,this['oldRevisionId']=_0x4202c7,this['changes']=new _0x22c1b4();}['_setChanges'](_0x537936){for(const _0x360765 of _0x537936)this['changes']['add'](_0x360765);}}const tt={'c':_0x146923,'a':_0x281b65,'e':_0x56e573,'r':_0x408c0d,'u':_0x1f1873};class d extends _0x157cb2{['repository'];['adapter'];['_activeViewTarget'];['_changeView'];['_changeIdToChange'];['_balloon'];static get['pluginName'](){return'RevisionViewer';}static get['requires'](){return[_0x257df2,_0x3c7e87,A];}constructor(_0x1d511e){super(_0x1d511e),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',(_0x17016c,_0x5ba27,_0x6e6cdb)=>{this['activeChange']=null,this['activeView']=null,this['editor']['editing']['view']['change'](_0x503373=>{for(const _0x36b255 of this['editor']['editing']['view']['document']['roots'])_0x6e6cdb?_0x503373['removeClass']('ck-editor__editable__overlay',_0x36b255):_0x503373['addClass']('ck-editor__editable__overlay',_0x36b255);});}),this['bind']('isNavigationMode')['to'](this,'activeChange',_0x1d296d=>null!==_0x1d296d),this['bind']('currentChangeNumber')['to'](this,'isReady',this,'diff',this,'activeChange',(_0x1ab1a5,_0x48ddc8,_0x2f0550)=>_0x1ab1a5&&_0x2f0550?_0x48ddc8['changes']['getIndex'](_0x2f0550):0x0),this['bind']('numberOfChanges')['to'](this,'isReady',this,'diff',(_0x58cc42,_0x33d428)=>_0x58cc42?_0x33d428['changes']['length']:0x0),this['_changeView']=null,this['_changeIdToChange']=new Map(),this['adapter']=null,this['_balloon']=this['editor']['plugins']['get'](_0x3c7e87);}['init'](){const _0x2d1dbb=this['editor'],_0x188bcf=new yt(_0x2d1dbb,{'direction':'backward'}),_0x2f0584=new yt(_0x2d1dbb,{'direction':'forward'});(_0x2d1dbb['commands']['add']('showPreviousChange',_0x188bcf),_0x2d1dbb['commands']['add']('showNextChange',_0x2f0584),_0x2d1dbb['commands']['add']('restoreRevision',new bt(_0x2d1dbb)),this['on']('change:numberOfChanges',()=>{_0x188bcf['refresh'](),_0x2f0584['refresh']();}),this['_setConversion'](),this['_initInteractions'](),_0x2d1dbb['enableReadOnlyMode']('revision-viewer'),_0x2d1dbb['plugins']['has']('WidgetToolbarRepository'))&&_0x2d1dbb['plugins']['get']('WidgetToolbarRepository')['forceDisabled']('revision-viewer');}async['getRevisionData'](_0x26340d){await this['loadRevisionData'](_0x26340d);const _0x435211={};for(const _0x50fa58 in _0x26340d['diffData']){if(_0x26340d['diffData'][_0x50fa58]['attachChange']&&!_0x26340d['diffData'][_0x50fa58]['attachChange']['isAttached'])continue;const _0x242bf1=this['_removeRevisionMarkers'](JSON['parse'](_0x26340d['diffData'][_0x50fa58]['insertions'])),_0x40c0df=this['editor']['editing']['view']['document'],_0x5eea84=new _0x297c1c(_0x40c0df,_0x242bf1['map'](_0x47aa57=>this['_getViewObj'](_0x47aa57)));this['editor']['data']['processor']['useFillerType']('marked'),_0x435211[_0x50fa58]=this['editor']['data']['processor']['toData'](_0x5eea84),this['editor']['data']['processor']['useFillerType']('default');}return _0x435211;}async['getRevisionRootsAttributes'](_0x5a28b5){await this['loadRevisionData'](_0x5a28b5);const _0x240836={};for(const _0x4324bd in _0x5a28b5['diffData'])_0x5a28b5['diffData'][_0x4324bd]['attachChange']&&!_0x5a28b5['diffData'][_0x4324bd]['attachChange']['isAttached']||(_0x240836[_0x4324bd]=_0x5a28b5['diffData'][_0x4324bd]['attributesAfter']||{});return _0x240836;}['_removeRevisionMarkers'](_0x42b731){return(_0x42b731=_0x42b731['filter'](_0x2f2b92=>!_0x2f2b92['name']||'revision-start'!==_0x2f2b92['name']&&'revision-end'!==_0x2f2b92['name']))['forEach'](_0x37a337=>{'string'!=typeof _0x37a337&&(_0x37a337['children']=this['_removeRevisionMarkers'](_0x37a337['children']),_0x37a337['attributes']=_0x37a337['attributes']['filter'](_0x2b3693=>!_0x2b3693[0x0]['startsWith']('data-revision-')));}),_0x42b731;}async['compare'](_0x5796cc,_0x261451,_0x14637b=!0x1){if(!this['isEnabled'])return;const _0x2abc9f=this['diff'],_0x3c052c=this['repository'],_0x10ed55='string'==typeof _0x5796cc?_0x3c052c['getRevision'](_0x5796cc):_0x5796cc,_0x5425a9='string'==typeof _0x261451?_0x3c052c['getRevision'](_0x261451):_0x261451,_0x28b099=_0x10ed55['id'],_0x153e68=_0x5425a9?_0x5425a9['id']:null;if(!_0x14637b&&this['diff']&&this['diff']['newRevisionId']===_0x28b099&&this['diff']['oldRevisionId']===_0x153e68)return Promise['resolve']();this['isReady']=!0x1,this['activeView']=null,this['activeChange']=null,this['diff']=new f(_0x28b099,_0x153e68);const _0x2ca91b=this['_getRevisionsRange'](_0x10ed55,_0x5425a9,!0x0)['map'](_0xbe82ee=>this['loadRevisionData'](_0xbe82ee));return _0x2ca91b['push'](new Promise(_0x82c81b=>{setTimeout(_0x82c81b,0x14);})),Promise['all'](_0x2ca91b)['then'](()=>{if(!this['isEnabled'])return;this['_cleanUp']();const _0x1a64c0=this['_getDiff'](_0x28b099,_0x153e68);for(const _0xce156a of _0x1a64c0['changes'])this['_changeIdToChange']['set'](_0xce156a['id'],_0xce156a);this['editor']['model']['enqueueChange']({'isUndoable':!0x1},_0x27a536=>{for(const _0x16dfda of this['editor']['model']['document']['getRootNames']())_0x27a536['detachRoot'](_0x16dfda);for(const _0x564d95 of Object['keys'](_0x1a64c0['model'])){const _0x1d7e85=_0x27a536['addRoot'](_0x564d95);for(const _0x2c73cd of Object['keys'](_0x1a64c0['attributes'][_0x564d95]))_0x27a536['setAttribute'](_0x2c73cd,_0x1a64c0['attributes'][_0x564d95][_0x2c73cd],_0x1d7e85);_0x27a536['insert'](_0x1a64c0['model'][_0x564d95],_0x1d7e85,0x0);}}),this['diff']['_setChanges'](this['_sortAndFilterDiffChanges'](_0x1a64c0['changes'])),this['isReady']=!0x0;})['catch'](_0x5030a6=>{console['error'](_0x5030a6),this['_cleanUp'](),_0x2abc9f&&(this['diff']=_0x2abc9f),this['isReady']=!0x0;});}['addRevisionData'](_0xf753e0,_0x4652ee){const _0x13f8d3=this['repository']['createRevision'](_0xf753e0);return _0x13f8d3['on']('_update',(_0x5e2d5e,_0x10ea64,_0x5c290c)=>_0x4652ee(_0x10ea64,_0x5c290c,_0x13f8d3)),this['repository']['addRevision'](_0x13f8d3),_0x13f8d3;}['loadRevisionData'](_0x54708e){if(!_0x54708e||_0x54708e['diffData'])return Promise['resolve']();{const _0x3fbdb4=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0x3fbdb4,'revisionId':_0x54708e['id']})['then'](_0x1d1a12=>{_0x54708e['_update']({'diffData':_0x1d1a12['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},_0x5edc71=>{for(const _0x8c5e97 of this['editor']['model']['document']['getRootNames']())_0x5edc71['detachRoot'](_0x8c5e97);});}['_sortAndFilterDiffChanges'](_0x527c25){const _0x20491f=[],_0x4a54cc=new Map();for(const _0x310ad3 of this['editor']['model']['document']['getRootNames']()){const _0x27b1bf=this['editor']['editing']['view']['getDomRoot'](_0x310ad3);if(!_0x27b1bf)continue;const _0x15225a=_0x27b1bf['getClientRects']()['item'](0x0);_0x15225a&&(_0x20491f['push'](_0x310ad3),_0x4a54cc['set'](_0x310ad3,_0x15225a));}return _0x20491f['sort']((_0x2ee330,_0x1e57e2)=>{const _0x2cac6f=_0x4a54cc['get'](_0x2ee330),_0x5085e3=_0x4a54cc['get'](_0x1e57e2);return _0x2cac6f['y']-_0x5085e3['y']||_0x2cac6f['x']-_0x5085e3['x'];}),(_0x527c25=_0x527c25['filter'](_0x573cbf=>_0x20491f['includes'](_0x573cbf['rootName'])))['sort']((_0xe3183e,_0x486a37)=>_0x20491f['indexOf'](_0xe3183e['rootName'])-_0x20491f['indexOf'](_0x486a37['rootName'])),_0x527c25;}['_makeTape'](_0x3bc7c2){const _0x12a66c=Array['from'](_0x3bc7c2['markers'])['filter'](([_0x551a46,_0x25a6b4])=>_0x551a46['startsWith']('revision:')&&!_0x25a6b4['isCollapsed']),_0x46b15d=Array['from'](this['editor']['model']['createRangeIn'](_0x3bc7c2)['getWalker']({'singleCharacters':!0x0}));if(0x0!=_0x12a66c['length'])for(const _0x52615a of _0x46b15d){const [_0x2f5850,_0x14afcd]=_0x12a66c[0x0],[,_0x2608eb,_0x49a467]=_0x2f5850['split'](':');if(_0x14afcd['end']['isEqual'](_0x52615a['nextPosition'])&&_0x12a66c['shift'](),(_0x52615a['previousPosition']['isEqual'](_0x14afcd['start'])||_0x52615a['previousPosition']['isAfter'](_0x14afcd['start']))&&('insertion'==_0x2608eb?_0x52615a['isAdded']={'userId':_0x49a467}:'deletion'==_0x2608eb&&(_0x52615a['isRemoved']={'userId':_0x49a467})),0x0==_0x12a66c['length'])break;}return _0x46b15d;}['_refreshStartEndIndex'](_0x2bad15){const _0x52fe26=new Map();for(let _0x8368a6=0x0;_0x8368a6<_0x2bad15['length'];_0x8368a6++)'text'===_0x2bad15[_0x8368a6]['type']?(_0x2bad15[_0x8368a6]['item']['startIndex']=_0x8368a6,_0x2bad15[_0x8368a6]['item']['endIndex']=_0x8368a6):('elementStart'===_0x2bad15[_0x8368a6]['type']?_0x2bad15[_0x8368a6]['item']['startIndex']=_0x8368a6:'elementEnd'===_0x2bad15[_0x8368a6]['type']&&(_0x2bad15[_0x8368a6]['item']['endIndex']=_0x8368a6),_0x52fe26['set'](_0x2bad15[_0x8368a6]['id'],_0x8368a6));for(const _0x580324 of _0x52fe26['values']())'elementStart'===_0x2bad15[_0x580324]['type']?_0x2bad15[_0x580324]['item']['endIndex']=_0x52fe26['get'](_0x2bad15[_0x580324]['pairId']):'elementEnd'===_0x2bad15[_0x580324]['type']&&(_0x2bad15[_0x580324]['item']['startIndex']=_0x52fe26['get'](_0x2bad15[_0x580324]['pairId']));}['_processTape'](_0x20b63f){for(let _0x36e36c=0x0;_0x36e36c<_0x20b63f['length'];_0x36e36c++){if('elementStart'===_0x20b63f[_0x36e36c]['type'])_0x20b63f[_0x36e36c]['item']['startIndex']=_0x36e36c;else{if('elementEnd'===_0x20b63f[_0x36e36c]['type']){_0x20b63f[_0x36e36c]['item']['endIndex']=_0x36e36c;const _0x5e5d0c=_0x20b63f[_0x36e36c]['item']['startIndex'];_0x20b63f[_0x5e5d0c]['pairId']=_0x20b63f[_0x36e36c]['id'],_0x20b63f[_0x36e36c]['pairId']=_0x20b63f[_0x5e5d0c]['id'];}else _0x20b63f[_0x36e36c]['item']['startIndex']=_0x36e36c,_0x20b63f[_0x36e36c]['item']['endIndex']=_0x36e36c,_0x20b63f[_0x36e36c]['pairId']=null;}_0x20b63f[_0x36e36c]['markersStart']||(_0x20b63f[_0x36e36c]['markersStart']=[],_0x20b63f[_0x36e36c]['markersEnd']=[]);}}['_markInsertions'](_0xb4ac02,_0x123c17){const _0x4e1666=_0xb4ac02['filter'](_0x3f8c01=>!_0x3f8c01['isAdded']);for(let _0x231865=0x0;_0x231865<_0x123c17['length'];_0x231865++)_0x123c17[_0x231865]['isAdded']&&(_0x4e1666[_0x231865]['isAdded']=_0x123c17[_0x231865]['isAdded']);}['_makeModelFromViewString'](_0x4a8d0e){const _0x543796=JSON['parse'](_0x4a8d0e),_0x290c95=this['editor']['editing']['view']['document'],_0x735f4f=new _0x297c1c(_0x290c95,_0x543796['map'](_0x46a62f=>this['_getViewObj'](_0x46a62f)));return this['editor']['data']['toModel'](_0x735f4f);}['_getViewObj'](_0x5016d3){const _0x4f974f=this['editor']['editing']['view']['document'];if('string'==typeof _0x5016d3)return new _0x1ded12(_0x4f974f,_0x5016d3);{const _0x169467=_0x5016d3['children']['map'](_0x260432=>this['_getViewObj'](_0x260432));return new(tt[_0x5016d3['type']]||_0x38206f)(_0x4f974f,_0x5016d3['name'],_0x5016d3['attributes'],_0x169467);}}['_getDiff'](_0xfe6b51,_0x3be354=null){const _0x30caf6=this['repository']['getRevision'](_0xfe6b51),_0x2d18d3=_0x3be354?this['repository']['getRevision'](_0x3be354):null,_0x4ed7e5=this['_getRevisionsRange'](_0x30caf6,_0x2d18d3),_0x4594e2=_0x4ed7e5[_0x4ed7e5['length']-0x1],_0x10b757=new Map(),_0xb73afb={'model':{},'attributes':{},'changes':[]},_0x3df82e=new Set(),_0x34bb56=new Map();for(let _0xeb1656=_0x4ed7e5['length']-0x1;_0xeb1656>=0x0;_0xeb1656--){const _0x26014c=_0x4ed7e5[_0xeb1656];for(const _0x164a11 of Object['keys'](_0x26014c['diffData']))if(_0x26014c['diffData'][_0x164a11]['attachChange']){const _0x2f52b9=_0x26014c['diffData'][_0x164a11]['attachChange'];_0x2f52b9['isAttached']?(_0x3df82e['add'](_0x164a11),_0x34bb56['has'](_0x164a11)&&_0x34bb56['get'](_0x164a11)['userId']==_0x2f52b9['userId']?_0x34bb56['delete'](_0x164a11):_0x34bb56['set'](_0x164a11,_0x2f52b9)):_0x34bb56['has'](_0x164a11)?(_0x3df82e['delete'](_0x164a11),_0x34bb56['delete'](_0x164a11)):(_0x3df82e['add'](_0x164a11),_0x34bb56['set'](_0x164a11,_0x2f52b9));}else _0x3df82e['add'](_0x164a11);}for(const _0x326cf9 of _0x3df82e){const _0x413fcd=_0x34bb56['has'](_0x326cf9)&&!_0x34bb56['get'](_0x326cf9)['isAttached'];let _0x429bd1=_0x413fcd?_0x4ed7e5['length']-0x1:0x0;const _0x20f456=_0x413fcd?-0x1:0x1;for(;_0x4ed7e5[_0x429bd1];){const _0x2a9091=_0x4ed7e5[_0x429bd1];if(_0x2a9091['diffData'][_0x326cf9]){const _0x50876f=_0x413fcd?_0x2a9091['diffData'][_0x326cf9]['attributesBefore']:_0x2a9091['diffData'][_0x326cf9]['attributesAfter'];_0xb73afb['attributes'][_0x326cf9]=_0x50876f?_0x25b6ac(_0x50876f):{};break;}_0x429bd1+=_0x20f456;}}for(const _0x59e73d of _0x4ed7e5){_0x59e73d['model']={};for(const _0x184923 of _0x59e73d['authors'])_0x10b757['set'](_0x184923['id'],_0x184923);for(const _0x16d4e2 of _0x3df82e){const _0x13a308=_0x59e73d['diffData'][_0x16d4e2]?_0x59e73d['diffData'][_0x16d4e2]['insertions']:'[]',_0x2211ec=_0x59e73d['diffData'][_0x16d4e2]?_0x59e73d['diffData'][_0x16d4e2]['deletions']:'[]';_0x59e73d['model'][_0x16d4e2]={'insertions':this['_makeModelFromViewString'](_0x13a308),'deletions':this['_makeModelFromViewString'](_0x2211ec)};}}for(const _0xab12f2 of _0x3df82e){let _0x42b374=null,_0x2aed5f=0x0;const _0x7db367=new Map(Array['from'](_0x30caf6['model'][_0xab12f2]['insertions']['markers'])['filter'](([_0x482c35])=>!_0x482c35['startsWith']('revision:')));let _0x170b8f=0x0;for(const _0x4b1598 of _0x4ed7e5){const _0x916561=this['_makeTape'](_0x4b1598['model'][_0xab12f2]['insertions']);_0x4b1598==_0x30caf6?(_0x42b374=_0x916561,_0x2aed5f=_0x42b374['length'],_0x42b374['forEach'](_0x2c489f=>{_0x2c489f['id']=_0x170b8f++;}),this['_processTape'](_0x42b374)):this['_markInsertions'](_0x42b374,_0x916561);const _0x3286ec=_0x42b374['filter'](_0x471f63=>!_0x471f63['isAdded'])['map'](_0x35acb8=>_0x35acb8['id']);let _0x1dada8=0x0;const _0x42100f=this['_makeTape'](_0x4b1598['model'][_0xab12f2]['deletions']);_0x42100f['forEach'](_0x3b2644=>{_0x3b2644['isRemoved']?_0x3b2644['id']=_0x2aed5f++:_0x3b2644['id']=_0x3286ec[_0x1dada8++];}),this['_processTape'](_0x42100f),this['_setDistance'](_0x42b374,'isAdded'),this['_setDistance'](_0x42100f,'isRemoved'),_0x4b1598==_0x30caf6&&this['_markMarkers'](_0x42b374,_0x7db367),_0x42b374=this['_joinTapes'](_0x42b374,_0x42100f),this['_refreshStartEndIndex'](_0x42b374),this['_setDistance'](_0x42b374,'isRemoved');}_0x42b374=_0x42b374['filter'](_0x27e282=>!(_0x27e282['isAdded']&&_0x27e282['isRemoved']));const _0x47b946=new Map(_0x4594e2['model'][_0xab12f2]['deletions']['markers']),_0x4f0e19=new Set(_0x7db367['keys']());for(const _0x280e85 of _0x47b946['keys']())_0x4f0e19['delete'](_0x280e85);this['_markSuggestions'](_0x42b374,_0x4f0e19),this['_fixObsoleteTags'](_0x42b374),_0x42b374=this['_removeMissingPairs'](_0x42b374),_0x42b374=this['_markMismatchedRemovedTags'](_0x42b374),_0x42b374=this['_removeUnsupportedChanges'](_0x42b374);const {root:_0x59ebed,changes:_0x1702ed}=this['_makeModelFromTape'](_0x42b374,_0x10b757,_0xab12f2);_0xb73afb['model'][_0xab12f2]=_0x59ebed;const _0x115c5a=_0x34bb56['get'](_0xab12f2);if(_0x115c5a){const _0x3d4340=_0x10b757['get'](_0x115c5a['userId']),_0x2c2137=new r({'author':_0x3d4340,'type':_0x115c5a['isAttached']?'add':'remove','data':{'isOnRoot':!0x0},'createdAt':new Date(),'rootName':_0xab12f2});_0x1702ed['unshift'](_0x2c2137),_0xb73afb['attributes'][_0xab12f2]['revisionHistoryAttachChange']=_0x2c2137['id'];}_0xb73afb['changes']=_0xb73afb['changes']['concat'](_0x1702ed);}return _0xb73afb;}['_markMarkers'](_0x417fb5,_0x3079b){for(let _0x46d8b0=0x0;_0x46d8b0<_0x417fb5['length'];_0x46d8b0++)for(const [_0x36e336,_0x5d6223]of _0x3079b)_0x5d6223['start']['isEqual'](_0x417fb5[_0x46d8b0]['previousPosition'])&&_0x417fb5[_0x46d8b0]['markersStart']['push'](_0x36e336),_0x5d6223['end']['isEqual'](_0x417fb5[_0x46d8b0]['nextPosition'])&&_0x417fb5[_0x46d8b0]['markersEnd']['push'](_0x36e336);}['_joinTapes'](_0x29d78c,_0x30f4ec){let _0x49167b=[],_0x45a4b4=0x0,_0x36b1f7=0x0;for(;_0x45a4b4<_0x29d78c['length']||_0x36b1f7<_0x30f4ec['length'];){const _0x297a3b=_0x29d78c[_0x45a4b4]||{},_0x46121b=_0x30f4ec[_0x36b1f7]||{};if(_0x297a3b['id']==_0x46121b['id'])_0x45a4b4++,_0x36b1f7++,_0x49167b['push'](_0x297a3b);else{if(_0x46121b['isRemoved']&&_0x297a3b['isAdded']){const {commonTape:_0x3ced5c,iEnd:_0x558c80,jEnd:_0x50091d}=this['_threeWayMerge'](_0x29d78c,_0x45a4b4,_0x30f4ec,_0x36b1f7);_0x49167b=_0x49167b['concat'](_0x3ced5c),_0x45a4b4=_0x558c80,_0x36b1f7=_0x50091d;}else _0x46121b['isRemoved']?(_0x36b1f7++,_0x49167b['push'](_0x46121b)):(_0x45a4b4++,_0x49167b['push'](_0x297a3b));}}return _0x49167b;}['_markSuggestions'](_0x4a8ccc,_0x2eae48){const _0x44de0b=[];for(let _0x3cf5f3=0x0;_0x3cf5f3<_0x4a8ccc['length'];_0x3cf5f3++){for(let _0x16e969=0x0;_0x16e969<_0x4a8ccc[_0x3cf5f3]['markersStart']['length'];_0x16e969++){const _0x18d006=_0x4a8ccc[_0x3cf5f3]['markersStart'][_0x16e969];if(!_0x2eae48['has'](_0x18d006))continue;const {group:_0x13be1e,type:_0x599b00,authorId:_0x300d1f}=_0x4ffd22(_0x18d006);'revision-suggestion'!=_0x13be1e||'insertion'!=_0x599b00&&'deletion'!=_0x599b00||(_0x44de0b['unshift']({'type':_0x599b00,'name':_0x18d006,'userId':_0x300d1f}),_0x4a8ccc[_0x3cf5f3]['markersStart']['splice'](_0x16e969,0x1),_0x16e969--);}_0x154b45(_0x4a8ccc[_0x3cf5f3]);for(let _0x286bf9=0x0;_0x286bf9<_0x4a8ccc[_0x3cf5f3]['markersEnd']['length'];_0x286bf9++){const _0x5a2e38=_0x4a8ccc[_0x3cf5f3]['markersEnd'][_0x286bf9];if(!_0x2eae48['has'](_0x5a2e38))continue;const {group:_0x9d8ed2,type:_0xaa10b3}=_0x4ffd22(_0x5a2e38);if('revision-suggestion'!=_0x9d8ed2||'insertion'!=_0xaa10b3&&'deletion'!=_0xaa10b3)continue;_0x4a8ccc[_0x3cf5f3]['markersEnd']['splice'](_0x286bf9,0x1),_0x286bf9--;const _0xa402a1=_0x44de0b['findIndex'](_0x586223=>_0x586223['name']==_0x5a2e38);_0xa402a1>-0x1&&_0x44de0b['splice'](_0xa402a1,0x1);}}function _0x4ffd22(_0x1d8ed9){const _0x5418ba=_0x1d8ed9['split'](':');return{'group':_0x5418ba[0x0],'type':_0x5418ba[0x1],'subType':_0x5418ba['length']>=0x5?_0x5418ba[0x2]:null,'id':_0x5418ba['length']<0x5?_0x5418ba[0x2]:_0x5418ba[0x3],'authorId':_0x5418ba['length']<0x5?_0x5418ba[0x3]:_0x5418ba[0x4],'markerCount':0x6==_0x5418ba['length']?_0x5418ba[0x5]:null};}function _0x154b45(_0x5ba136){for(let _0x4ee0b0=0x0;_0x4ee0b0<_0x44de0b['length'];_0x4ee0b0++){if(_0x5ba136['isAdded']&&'insertion'==_0x44de0b[_0x4ee0b0]['type'])return _0x5ba136['isAddSuggestion']=_0x44de0b[_0x4ee0b0],void delete _0x5ba136['isAdded'];if(!_0x5ba136['isAdded']&&!_0x5ba136['isRemoved']&&'deletion'==_0x44de0b[_0x4ee0b0]['type'])return void(_0x5ba136['isRemoveSuggestion']=_0x44de0b[_0x4ee0b0]);}}}['_setDistance'](_0x290ec5,_0x55b833){let _0x3458ba=0x0,_0x50e839=!0x1;const _0x12472a=new Map();for(const _0x5f2575 of _0x290ec5)_0x5f2575[_0x55b833]?_0x50e839&&(_0x3458ba++,_0x50e839=!0x1):(_0x3458ba++,_0x50e839=!0x0),_0x12472a['set'](_0x5f2575['id'],_0x3458ba);for(let _0x28cd7e=0x0;_0x28cd7e<_0x290ec5['length'];_0x28cd7e++){if('isRemoved'==_0x55b833&&_0x290ec5[_0x28cd7e]['isAdded']||'isAdded'==_0x55b833&&_0x290ec5[_0x28cd7e]['isRemoved'])continue;if('text'==_0x290ec5[_0x28cd7e]['type']){_0x290ec5[_0x28cd7e]['distance']=0x0;continue;}const _0x3d5ae8=_0x12472a['get'](_0x290ec5[_0x28cd7e]['pairId']),_0x44b269=_0x12472a['get'](_0x290ec5[_0x28cd7e]['id']);_0x290ec5[_0x28cd7e]['distance']=_0x3d5ae8-_0x44b269;}}['_getRevisionsRange'](_0x312c21,_0x4ffe22,_0x5a1047=!0x1){const _0x560c4b=[];let _0x1e832e=this['repository']['getIndex'](_0x312c21),_0x5cf5c0=this['repository']['getIndex'](_0x4ffe22);for(-0x1==_0x5cf5c0&&(_0x5cf5c0=this['repository']['_revisions']['length'],_0x5a1047=!0x1);_0x1e832e<_0x5cf5c0;)_0x560c4b['push'](this['repository']['getRevision'](_0x1e832e)),_0x1e832e++;return _0x5a1047&&_0x560c4b['push'](this['repository']['getRevision'](_0x1e832e)),_0x560c4b;}['_threeWayMerge'](_0x31c1a4,_0x5df41e,_0x282c34,_0x3a5f5c){const _0x36e35f=this['editor']['model']['schema'];let _0x7b1211=_0x5df41e;for(;_0x31c1a4[_0x7b1211]&&_0x31c1a4[_0x7b1211]['isAdded'];)_0x7b1211++;let _0x1535bb=_0x3a5f5c;for(;_0x282c34[_0x1535bb]&&_0x282c34[_0x1535bb]['isRemoved'];)_0x1535bb++;_0x13b0dd(_0x31c1a4,_0x5df41e,_0x7b1211),_0x13b0dd(_0x282c34,_0x3a5f5c,_0x1535bb);const _0x52121b=_0x282c34['slice'](_0x3a5f5c,_0x1535bb)['concat'](_0x31c1a4['slice'](_0x5df41e,_0x7b1211));return _0x52121b['sort']((_0xaa46ed,_0x4249ab)=>_0xaa46ed['side']!=_0x4249ab['side']?_0xaa46ed['side']-_0x4249ab['side']:_0xaa46ed['level']!=_0x4249ab['level']?_0xaa46ed['level']-_0x4249ab['level']:_0xaa46ed['distance']!=_0x4249ab['distance']?_0x4249ab['distance']-_0xaa46ed['distance']:!!_0xaa46ed['isAdded']!=!!_0x4249ab['isAdded']?-0x1==_0xaa46ed['side']||0x0==_0xaa46ed['side']?_0xaa46ed['isAdded']?-0x1:0x1:_0xaa46ed['isAdded']?0x1:-0x1:_0xaa46ed['index']-_0x4249ab['index']),{'commonTape':_0x52121b,'iEnd':_0x7b1211,'jEnd':_0x1535bb};function _0x13b0dd(_0x464148,_0x2d9cdf,_0x64f97a){let _0x26b354=-0x1,_0xfd2bee=Number['POSITIVE_INFINITY'],_0x2adb81=!0x0;for(let _0x5ce5e4=_0x2d9cdf;_0x5ce5e4<_0x64f97a;_0x5ce5e4++)if(_0x36e35f['isInline'](_0x464148[_0x5ce5e4]['item'])||(_0x2adb81=!0x1),_0x464148[_0x5ce5e4]['item']['startIndex']<_0x2d9cdf&&(_0x26b354=_0x5ce5e4),_0x464148[_0x5ce5e4]['item']['endIndex']>=_0x64f97a){_0xfd2bee=_0x5ce5e4;break;}_0x2adb81&&(_0x26b354=_0x64f97a-0x1);for(let _0x31c136=_0x2d9cdf;_0x31c136<_0x64f97a;_0x31c136++)_0x464148[_0x31c136]['side']=_0x31c136<=_0x26b354?-0x1:_0x31c136<_0xfd2bee?0x0:0x1,_0x464148[_0x31c136]['index']=_0x31c136;let _0x30901a=0x0;for(let _0x2636fd=_0x2d9cdf;_0x2636fd<=_0x26b354;_0x2636fd++)0x0==_0x464148[_0x2636fd]['distance']?_0x464148[_0x2636fd]['level']=_0x30901a:(_0x30901a++,_0x464148[_0x2636fd]['level']=_0x30901a,_0x30901a++);for(let _0x237621=_0x2d9cdf;_0x237621<_0x64f97a;_0x237621++)0x0==_0x464148[_0x237621]['side']&&(_0x464148[_0x237621]['level']=_0x30901a);_0x30901a=0x0;for(let _0x5da786=_0x64f97a-0x1;_0x5da786>=_0xfd2bee;_0x5da786--)0x0==_0x464148[_0x5da786]['distance']?_0x464148[_0x5da786]['level']=_0x30901a:(_0x30901a--,_0x464148[_0x5da786]['level']=_0x30901a,_0x30901a--);}}['_fixObsoleteTags'](_0x27e32c){const _0x1a0813=new Map(),_0x2b257f=this['editor']['model']['schema'];for(let _0x49e18a=0x1;_0x49e18a<_0x27e32c['length'];_0x49e18a++){let _0x279433,_0x3c64d8,_0x25596a;const _0x4fbb7c=_0x27e32c[_0x49e18a],_0x336852=_0x27e32c[_0x49e18a-0x1];if('text'==_0x4fbb7c['type'])continue;if(_0x4fbb7c['type']!=_0x336852['type'])continue;if(!_0x2b257f['isBlock'](_0x336852['item'])||_0x2b257f['isLimit'](_0x336852['item']))continue;if(!_0x2b257f['isBlock'](_0x4fbb7c['item'])||_0x2b257f['isLimit'](_0x4fbb7c['item']))continue;if((_0x27e32c[_0x49e18a]['isAdded']||_0x27e32c[_0x49e18a]['isAddSuggestion'])&&_0x27e32c[_0x49e18a-0x1]['isRemoved'])_0x279433=_0x27e32c[_0x49e18a],_0x3c64d8=_0x27e32c[_0x49e18a-0x1],_0x25596a=_0x49e18a-0x1;else{if(!_0x27e32c[_0x49e18a]['isRemoved']||!_0x27e32c[_0x49e18a-0x1]['isAdded']&&!_0x27e32c[_0x49e18a-0x1]['isAddSuggestion'])continue;_0x279433=_0x27e32c[_0x49e18a-0x1],_0x3c64d8=_0x27e32c[_0x49e18a],_0x25596a=_0x49e18a;}const _0x159c10=_0x279433['level']==_0x3c64d8['level'],_0x26dd1b=Math['abs'](_0x279433['level'])<Math['abs'](_0x3c64d8['level'])&&0x0==_0x3c64d8['distance'];(_0x159c10||_0x26dd1b)&&(_0x1a0813['set'](_0x3c64d8['id'],_0x279433['id']),_0x27e32c['splice'](_0x25596a,0x1),_0x49e18a--,_0x279433['isAdded']=!0x1);}for(let _0x4b579a=0x0;_0x4b579a<_0x27e32c['length'];_0x4b579a++)_0x1a0813['has'](_0x27e32c[_0x4b579a]['pairId'])&&(_0x27e32c[_0x4b579a]['pairId']=_0x1a0813['get'](_0x27e32c[_0x4b579a]['pairId']));}['_removeMissingPairs'](_0x2179c3){const _0x47646a=new Set(_0x2179c3['map'](_0x2cdc41=>_0x2cdc41['id']));for(let _0x4d4da7=0x0;_0x4d4da7<_0x2179c3['length'];_0x4d4da7++)_0x47646a['has'](_0x2179c3[_0x4d4da7]['pairId'])||0x0==_0x2179c3[_0x4d4da7]['distance']||(_0x2179c3[_0x4d4da7]['isIncorrect']=!0x0);return _0x2179c3['filter'](_0x3fd408=>!_0x3fd408['isIncorrect']);}['_markMismatchedRemovedTags'](_0x492d4b){const _0x11902a=new Set();for(let _0x4db579=0x0;_0x4db579<_0x492d4b['length'];_0x4db579++){if(_0x11902a['has'](_0x492d4b[_0x4db579]['id'])&&_0x492d4b[_0x4db579]['isRemoved']&&(_0x492d4b[_0x4db579]['isIncorrect']=!0x0),_0x492d4b[_0x4db579]['isIncorrect'])continue;if(0x0==_0x492d4b[_0x4db579]['distance'])continue;if('elementStart'!=_0x492d4b[_0x4db579]['type'])continue;if(null==_0x492d4b[_0x4db579]['pairId'])continue;let _0x215037=_0x4db579+0x1,_0x117041=0x0;for(;_0x492d4b[_0x215037]['id']!=_0x492d4b[_0x4db579]['pairId'];)'elementStart'==_0x492d4b[_0x215037]['type']?_0x117041++:'elementEnd'==_0x492d4b[_0x215037]['type']&&_0x117041--,_0x215037++;if(0x0!=_0x117041){if(_0x492d4b[_0x4db579]['isRemoved'])_0x492d4b[_0x4db579]['isIncorrect']=!0x0;else{for(;_0x215037!=_0x4db579;)_0x492d4b[_0x215037]['isRemoved']&&0x0!=_0x492d4b[_0x215037]['distance']&&(_0x492d4b[_0x215037]['isIncorrect']=!0x0,_0x11902a['add'](_0x492d4b[_0x215037]['pairId'])),_0x215037--;}}}return _0x492d4b['filter'](_0x3b665e=>!_0x3b665e['isIncorrect']);}['_removeUnsupportedChanges'](_0x312902){const _0x4954d9=this['editor']['model']['schema'];for(let _0x24f442=0x0;_0x24f442<_0x312902['length'];_0x24f442++){if(!(_0x312902[_0x24f442]['isAdded']||_0x312902[_0x24f442]['isAddSuggestion']||_0x312902[_0x24f442]['isRemoved']||_0x312902[_0x24f442]['isRemoveSuggestion']))continue;if(0x0==_0x312902[_0x24f442]['distance'])continue;const _0x32687d=_0x312902[_0x24f442]['item'];_0x4954d9['isBlock'](_0x32687d)||_0x4954d9['isLimit'](_0x32687d)||(_0x312902[_0x24f442]['isAdded']&&delete _0x312902[_0x24f442]['isAdded'],_0x312902[_0x24f442]['isAddSuggestion']&&delete _0x312902[_0x24f442]['isAddSuggestion'],_0x312902[_0x24f442]['isRemoveSuggestion']&&delete _0x312902[_0x24f442]['isRemoveSuggestion'],_0x312902[_0x24f442]['isRemoved']&&(_0x312902[_0x24f442]['isIncorrect']=!0x0));}return _0x312902['filter'](_0x10d198=>!_0x10d198['isIncorrect']);}['_makeModelFromTape'](_0x5ece23,_0x2509a7,_0xccbb20){const _0x4447da=new wt(),_0x7cb092=[],_0x53d29d=new Map(),_0x2afd85=this['editor']['model'],_0x48a619=_0x2afd85['schema'],_0x4a11fc=[_0x4447da],_0x2a41ec={},_0xb82f28={'isAdded':[],'isRemoved':[],'isAddSuggestion':[],'isRemoveSuggestion':[]};let _0x4789e1=null;const _0x528759=[0x0];for(let _0x394388=0x0;_0x394388<_0x5ece23['length'];_0x394388++){let _0x5e9c67,_0x2997e7;if('elementStart'===_0x5ece23[_0x394388]['type']){_0x5e9c67=_0x2afd85['createPositionFromPath'](_0x4447da,_0x528759);const _0x12a6f2=new ft(_0x5ece23[_0x394388]['item']['name'],_0x5ece23[_0x394388]['item']['getAttributes']());_0x4a11fc[0x0]['_appendChild'](_0x12a6f2),_0x528759['push'](0x0),_0x4a11fc['unshift'](_0x12a6f2),_0x2997e7=_0x2afd85['createPositionFromPath'](_0x4447da,_0x528759),_0x4789e1=null;}else{if('elementEnd'===_0x5ece23[_0x394388]['type'])_0x4a11fc['shift'](),_0x5e9c67=_0x2afd85['createPositionFromPath'](_0x4447da,_0x528759),_0x528759['pop'](),_0x528759[_0x528759['length']-0x1]++,_0x2997e7=_0x2afd85['createPositionFromPath'](_0x4447da,_0x528759),_0x4789e1=null;else{if(_0x5e9c67=_0x2afd85['createPositionFromPath'](_0x4447da,_0x528759),_0x4789e1&&_0x5d7f07(_0x4789e1,_0x5ece23[_0x394388]['item']))_0x4789e1['_data']+=_0x5ece23[_0x394388]['item']['data'];else{const _0x4c1f8c=new _t(_0x5ece23[_0x394388]['item']['data'],_0x5ece23[_0x394388]['item']['getAttributes']());_0x4a11fc[0x0]['_appendChild'](_0x4c1f8c),_0x4789e1=_0x4c1f8c;}_0x528759[_0x528759['length']-0x1]+=_0x5ece23[_0x394388]['item']['offsetSize'],_0x2997e7=_0x2afd85['createPositionFromPath'](_0x4447da,_0x528759);}}for(const _0x5edce8 of _0x5ece23[_0x394388]['markersStart'])_0x53d29d['set'](_0x5edce8,{'start':_0x5e9c67,'end':null});_0x10c1c5('isRemoveSuggestion',_0x394388,_0x5e9c67,_0x2997e7),_0x10c1c5('isAddSuggestion',_0x394388,_0x5e9c67,_0x2997e7),_0x10c1c5('isRemoved',_0x394388,_0x5e9c67,_0x2997e7),_0x10c1c5('isAdded',_0x394388,_0x5e9c67,_0x2997e7);for(const _0x3530a8 of _0x5ece23[_0x394388]['markersEnd']){_0x53d29d['get'](_0x3530a8)['end']=_0x2997e7;}}for(const [_0x5d8974,_0x5eae1c]of _0x53d29d){const _0x7fd2c9=this['editor']['model']['createRange'](_0x5eae1c['start'],_0x5eae1c['end']);_0x4447da['markers']['set'](_0x5d8974,_0x7fd2c9);}return _0x7cb092['sort']((_0x563207,_0x3ddc6e)=>{const _0x3442e2=_0x4447da['markers']['get']('revision:'+_0x563207['id']),_0x4ac5d3=_0x4447da['markers']['get']('revision:'+_0x3ddc6e['id']);return _0x3442e2['start']['isBefore'](_0x4ac5d3['start'])?-0x1:_0x3442e2['start']['isAfter'](_0x4ac5d3['start'])?0x1:_0x3442e2['end']['isBefore'](_0x4ac5d3['end'])?-0x1:_0x3442e2['end']['isAfter'](_0x4ac5d3['end'])?0x1:'add'===_0x563207['type']?-0x1:0x1;}),{'root':_0x4447da,'changes':_0x7cb092};function _0x10c1c5(_0x40445c,_0x2482bb,_0x454f21,_0x1226ca){const _0x25eab3=!!_0x5ece23[_0x2482bb][_0x40445c],_0x5a2fab=_0x25eab3?_0x5ece23[_0x2482bb][_0x40445c]['userId']:null,_0x3ac392=_0x2482bb===_0x5ece23['length']-0x1,_0x32472a=_0xb82f28[_0x40445c][0x0],_0x59d0b8=_0x48a619['isObject'](_0x5ece23[_0x2482bb]['item']);!_0x2a41ec[_0x40445c]&&_0x25eab3?_0x2a41ec[_0x40445c]={'start':_0x454f21,'tapeItem':_0x5ece23[_0x2482bb],'userId':_0x5a2fab,'type':_0x40445c}:_0x2a41ec[_0x40445c]&&!_0x25eab3?(_0x2a41ec[_0x40445c]['end']=_0x454f21,_0x222bfd(_0x2a41ec[_0x40445c]),_0x2a41ec[_0x40445c]=null):_0x2a41ec[_0x40445c]&&_0x25eab3&&_0x2a41ec[_0x40445c]['userId']!==_0x5a2fab&&(_0x2a41ec[_0x40445c]['end']=_0x454f21,_0x32472a&&_0x32472a['userId']===_0x2a41ec[_0x40445c]['userId']||_0x222bfd(_0x2a41ec[_0x40445c]),_0x2a41ec[_0x40445c]={'start':_0x454f21,'tapeItem':_0x5ece23[_0x2482bb],'userId':_0x5a2fab,'type':_0x40445c}),_0x2a41ec[_0x40445c]&&_0x59d0b8&&('elementStart'!==_0x5ece23[_0x2482bb]['type']||_0x32472a&&_0x32472a['userId']===_0x5a2fab||_0xb82f28[_0x40445c]['unshift']({'userId':_0x5a2fab,'object':_0x5ece23[_0x2482bb]['item'],'change':_0x2a41ec[_0x40445c]}),'elementEnd'===_0x5ece23[_0x2482bb]['type']&&_0x32472a&&_0x32472a['object']===_0x5ece23[_0x2482bb]['item']&&(_0xb82f28[_0x40445c]['shift'](),_0x2a41ec[_0x40445c]=_0x32472a['change'])),_0x2a41ec[_0x40445c]&&_0x3ac392&&(_0x2a41ec[_0x40445c]['end']=_0x1226ca,_0x222bfd(_0x2a41ec[_0x40445c]),_0x2a41ec[_0x40445c]=null);}function _0x222bfd({start:_0x35919c,end:_0x4fb191,tapeItem:_0x18994b,userId:_0x58b7cd,type:_0x8fad74}){const _0x3f234e=_0x18994b['item'],_0x50c172=_0x2afd85['schema']['isBlock'](_0x3f234e)&&!_0x2afd85['schema']['isLimit'](_0x3f234e),_0x3f9c5c=_0x35919c['nodeAfter']==_0x4fb191['parent']&&_0x4fb191['isAtStart'];if(_0x50c172&&_0x3f9c5c)return;const _0x3dd7d6=_0x2afd85['createRange'](_0x35919c,_0x4fb191),_0x1a963f=_0x2509a7['get'](_0x58b7cd),_0x41d253=new r({'author':_0x1a963f,'type':'isAdded'==_0x8fad74||'isAddSuggestion'==_0x8fad74?'add':'remove','data':{'isSuggestion':'isAddSuggestion'==_0x8fad74||'isRemoveSuggestion'==_0x8fad74},'createdAt':new Date(),'rootName':_0xccbb20});_0x7cb092['push'](_0x41d253),_0x4447da['markers']['set']('revision:'+_0x41d253['id'],_0x3dd7d6);}function _0x5d7f07(_0x2ac579,_0x28caa9){const _0x1b2d2c=_0x2ac579['getAttributes'](),_0xe68691=_0x28caa9['getAttributes']();for(const _0x438dbd of _0x1b2d2c){if(_0x438dbd[0x1]!==_0x28caa9['getAttribute'](_0x438dbd[0x0]))return!0x1;_0xe68691['next']();}return _0xe68691['next']()['done'];}}['_setConversion'](){this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'revision'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision','view':_0x446ccc=>{const _0x2e8b29=_0x446ccc['markerName']['split'](':')[0x1],_0x2ec657=this['_getChangeFromId'](_0x2e8b29);if(!_0x2ec657)return null;const _0x5bfbf4='add'==_0x2ec657['type']?'insertion':'deletion',_0x49ca83=['ck-suggestion-marker','ck-suggestion-marker-'+_0x5bfbf4];return _0x2ec657['data']['isSuggestion']&&_0x49ca83['push']('ck-suggestion-marker-'+_0x5bfbf4+'-new'),this['activeChange']==_0x2ec657&&_0x49ca83['push']('ck-suggestion-marker--active'),{'classes':_0x49ca83,'attributes':{'data-change-id':_0x2e8b29}};}}),this['editor']['conversion']['for']('upcast')['add'](_0x4d28c7=>{_0x4d28c7['on']('element:pre',(_0x272297,_0x343f78,_0xac9642)=>{const _0x2d1155=_0x343f78['viewItem']['getChild'](0x0);if(!_0x2d1155||!_0x2d1155['is']('element','code'))return;if(!_0xac9642['consumable']['consume'](_0x2d1155,{'attributes':['vid_start','vid_end']}))return;const _0x1f299a=_0x343f78['modelRange']['start']['nodeAfter'];_0xac9642['writer']['setAttribute']('vid_start',_0x2d1155['getAttribute']('vid_start'),_0x1f299a),_0xac9642['writer']['setAttribute']('vid_end',_0x2d1155['getAttribute']('vid_end'),_0x1f299a);},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['add'](_0x10b86b=>{_0x10b86b['on']('element',(_0x4e0232,_0xcfb71c,_0x251953)=>{if(!_0x251953['consumable']['consume'](_0xcfb71c['viewItem'],{'attributes':['vid_start','vid_end']}))return;if(_0xcfb71c['modelRange']['isCollapsed'])return;const _0x2aaea0=_0xcfb71c['modelRange']['start']['nodeAfter'];_0x2aaea0['hasAttribute']('vid_start')||_0x2aaea0['hasAttribute']('vid')||(_0x251953['writer']['setAttribute']('vid_start',_0xcfb71c['viewItem']['getAttribute']('vid_start'),_0x2aaea0),_0x251953['writer']['setAttribute']('vid_end',_0xcfb71c['viewItem']['getAttribute']('vid_end'),_0x2aaea0));},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['elementToAttribute']({'view':{'name':'span','attributes':{'vid':!0x0}},'model':{'key':'vid','value':_0x537591=>_0x537591['getAttribute']('vid')}}),this['editor']['model']['schema']['on']('checkAttribute',(_0x5349d8,[,_0xd05a19])=>{['vid_start','vid_end','vid']['includes'](_0xd05a19)&&(_0x5349d8['return']=!0x0,_0x5349d8['stop']());},{'priority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['add'](_0x5e9567=>{_0x5e9567['on']('attribute:vid',(_0x158af0,_0x138850,_0x10ddea)=>{if('\x20'!=_0x138850['item']['data']||_0x138850['item']['parent']['maxOffset']>0x1)return;if(!_0x10ddea['consumable']['consume'](_0x138850['item'],_0x158af0['name']))return;const _0x21219f=_0x10ddea['writer'],_0x221bbd=_0x10ddea['mapper']['toViewRange'](_0x138850['range']);_0x21219f['wrap'](_0x221bbd,_0x21219f['createAttributeElement']('span'));});}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',function(_0x526798){const _0x55c777=_0x526798['plugins']['get']('RevisionViewer');return(_0x50c0cf,_0x19e82e,_0x541a93)=>{const _0x3e63cc=_0x19e82e['markerName']['split'](':')[0x1],_0x47f993=_0x55c777['_getChangeFromId'](_0x3e63cc);if(!_0x47f993)return null;const _0x377e0e='add'==_0x47f993['type']?'split':'merge';if(!_0x541a93['consumable']['test'](_0x19e82e['markerRange'],_0x50c0cf['name']))return;const _0x34e292=_0x19e82e['markerRange']['getWalker'](),_0x56761e=_0x19e82e['markerRange']['start'],_0x31343a=_0x526798['model']['schema'];let _0x4a8094=null,_0x534d88=null,_0x233dd2=!0x1,_0x1f56d5=!0x1;for(const _0x34f60d of _0x34e292){const _0x1151de=_0x34f60d['item'];_0x233dd2=_0x233dd2||_0x31343a['isContent'](_0x1151de);const _0x22cb1e=_0x541a93['mapper']['toViewElement'](_0x1151de);if(_0x22cb1e&&_0x22cb1e['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x34f60d['type']&&(_0x31343a['isBlock'](_0x1151de)&&!_0x31343a['isLimit'](_0x1151de)&&(_0x1151de['nextSibling']||_0x56761e['isAtEnd']?_0x4a8094&&_0x4a8094['parent']==_0x1151de||(_0x4a8094=_0x1151de,_0x453e22(_0x34f60d['previousPosition']),_0x1f56d5=!0x0):_0x534d88=_0x534d88||_0x34f60d['previousPosition']));}function _0x453e22(_0x2fa56d){const _0x14d97c=_0x541a93['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x377e0e}),_0x183354=_0x541a93['mapper']['toViewPosition'](_0x2fa56d);_0x47f993['data']['isSuggestion']&&_0x541a93['writer']['addClass']('ck-suggestion-marker-'+_0x377e0e+'-new',_0x14d97c),_0x55c777['activeChange']==_0x47f993&&_0x541a93['writer']['addClass']('ck-suggestion-marker--active',_0x14d97c),_0x541a93['writer']['insert'](_0x183354,_0x14d97c),_0x541a93['mapper']['bindElementToMarker'](_0x14d97c,_0x19e82e['markerName']);}_0x233dd2||_0x1f56d5||!_0x534d88||_0x453e22(_0x534d88);};}(this['editor']),{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('removeMarker:revision',(_0x5a09f2,_0x59f3c5,_0x861ee3)=>{const _0x4dc46f=_0x861ee3['mapper']['markerNameToElements'](_0x59f3c5['markerName']);if(_0x4dc46f){for(const _0x29a4af of _0x4dc46f)(_0x29a4af['hasClass']('ck-suggestion-marker-split')||_0x29a4af['hasClass']('ck-suggestion-marker-merge'))&&(_0x861ee3['mapper']['unbindElementFromMarkerName'](_0x29a4af,_0x59f3c5['markerName']),_0x861ee3['writer']['remove'](_0x29a4af));}},{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',(_0x41434b,_0x4c003c,_0x26ca2)=>{const _0x28c0e6=_0x4c003c['markerName']['split'](':')[0x1],_0x24a789=this['_getChangeFromId'](_0x28c0e6);if(!_0x24a789)return null;const _0x3b2f58='add'==_0x24a789['type']?'split':'merge';if(_0x26ca2['consumable']['test'](_0x4c003c['markerRange'],_0x41434b['name']))for(const _0x7097a7 of _0x4c003c['markerRange']['getItems']()){if(!_0x7097a7['is']('element','softBreak'))continue;const _0x5a9b28=_0x26ca2['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x3b2f58}),_0x8b4b39=_0x26ca2['mapper']['toViewPosition'](this['editor']['model']['createPositionBefore'](_0x7097a7));_0x24a789['data']['isSuggestion']&&_0x26ca2['writer']['addClass']('ck-suggestion-marker-'+_0x3b2f58+'-new',_0x5a9b28),this['activeChange']==_0x24a789&&_0x26ca2['writer']['addClass']('ck-suggestion-marker--active',_0x5a9b28),_0x26ca2['writer']['insert'](_0x8b4b39,_0x5a9b28),_0x26ca2['mapper']['bindElementToMarker'](_0x5a9b28,_0x4c003c['markerName']);}},{'priority':'high'}),this['editor']['model']['document']['on']('change',()=>{this['editor']['editing']['view']['change'](_0x5e1664=>{for(const _0x2ed43b of this['editor']['model']['document']['getRootNames']()){const _0x11b45b=this['editor']['model']['document']['getRoot'](_0x2ed43b),_0x51781c=this['editor']['editing']['view']['document']['getRoot'](_0x2ed43b);if(_0x51781c){const _0x4acea0=_0x11b45b['getAttribute']('revisionHistoryAttachChange');if(_0x5e1664['removeAttribute']('data-change-id',_0x51781c),_0x5e1664['removeClass']('ck-revision-history-root-add',_0x51781c),_0x5e1664['removeClass']('ck-revision-history-root-remove',_0x51781c),_0x5e1664['removeClass']('ck-revision-history-root--active',_0x51781c),_0x4acea0){const _0xc3ba6=this['_getChangeFromId'](_0x4acea0);if(!_0xc3ba6)return null;_0x5e1664['setAttribute']('data-change-id',_0x4acea0,_0x51781c),_0x5e1664['addClass']('ck-revision-history-root-'+_0xc3ba6['type'],_0x51781c),this['activeChange']==_0xc3ba6&&_0x5e1664['addClass']('ck-revision-history-root--active',_0x51781c);}}}});}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'comment','model':_0x3863ff=>'revision-comment:'+_0x3863ff,'converterPriority':'highest'}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'suggestion','model':_0x464bf1=>'revision-suggestion:'+_0x464bf1,'converterPriority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision-suggestion','view':_0x9d33bf=>({'name':'suggestion:'+_0x9d33bf,'group':'revision-suggestion'}),'converterPriority':'highest'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision-suggestion','view':_0x3238bc=>{const _0x28927e=_0x3238bc['markerName']['split'](':')[0x1];return'insertion'!=_0x28927e&&'deletion'!=_0x28927e?null:{'classes':['ck-suggestion-preview-marker','ck-suggestion-preview-marker-'+_0x28927e]};}}),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',(_0x1cdb7d,_0x356770,_0x5dab8a)=>{const _0xf0b1f6=_0x5dab8a['mapper']['markerNameToElements'](_0x356770['markerName']);if(_0xf0b1f6){for(const _0x27475c of _0xf0b1f6)_0x27475c['is']('uiElement')&&(_0x5dab8a['mapper']['unbindElementFromMarkerName'](_0x27475c,_0x356770['markerName']),_0x5dab8a['writer']['remove'](_0x27475c));}},{'priority':'high'});}['_getChangeFromId'](_0x61a148){return this['_changeIdToChange']['get'](_0x61a148);}['_getViewForChange'](_0x53a33b){return this['_changeView']&&this['_changeView']['destroy'](),this['_changeView']=new Z(this['editor']['locale'],_0x53a33b),this['_changeView'];}['_initInteractions'](){this['editor']['model']['document']['selection']['observeMarkers']('revision'),this['on']('change:activeView',(_0x5a13ea,_0x390ae0,_0x402bfc,_0x9676d3)=>{_0x9676d3&&this['_balloon']['remove'](_0x9676d3),_0x402bfc&&(this['_balloon']['add']({'view':_0x402bfc,'stackId':'revisionHistoryLabel','position':{'target':()=>{const _0x2cac1b=this['editor']['editing'],_0x2f53a6=this['_getChangeFromId'](_0x402bfc['changeId']);let _0x5ec4fb;if(_0x2f53a6['data']['isOnRoot']){const _0x2c580d=_0x2cac1b['view']['getDomRoot'](_0x2f53a6['rootName']);_0x5ec4fb=Array['from'](_0x2c580d['getClientRects']());}else{const _0x5983b9=this['editor']['model']['markers']['get']('revision:'+_0x402bfc['changeId']);_0x5ec4fb=Array['from'](_0x2cac1b['mapper']['markerNameToElements'](_0x5983b9['name']))['map'](_0x438b2a=>_0x2cac1b['view']['domConverter']['mapViewToDom'](_0x438b2a))['map'](_0x555ff9=>Array['from'](_0x555ff9['getClientRects']()))['flat']();}if(!this['_activeViewTarget'])return _0x5ec4fb[0x0];return _0x5ec4fb['find'](_0x7ac9ae=>_0x7ac9ae['top']-0x3<=this['_activeViewTarget']['y']&&_0x7ac9ae['bottom']+0x3>=this['_activeViewTarget']['y']&&_0x7ac9ae['left']-0x3<=this['_activeViewTarget']['x']&&_0x7ac9ae['right']+0x3>=this['_activeViewTarget']['x'])||_0x5ec4fb[0x0];}}}),this['_balloon']['showStack']('revisionHistoryLabel'));}),this['on']('change:activeChange',(_0x36306f,_0x14297b,_0x445707,_0x1b6d65)=>{this['activeView']=_0x445707?this['_getViewForChange'](_0x445707):null,this['editor']['model']['change'](()=>{const _0x2d0a48=this['editor']['editing'];_0x1b6d65&&(_0x1b6d65['data']['isOnRoot']?_0x2d0a48['view']['change'](_0x3c0ae3=>{_0x3c0ae3['removeClass']('ck-revision-history-root--active',_0x2d0a48['view']['document']['getRoot'](_0x1b6d65['rootName']));}):_0x2d0a48['reconvertMarker']('revision:'+_0x1b6d65['id'])),_0x445707&&(_0x445707['data']['isOnRoot']?_0x2d0a48['view']['change'](_0xe9c52b=>{_0xe9c52b['addClass']('ck-revision-history-root--active',_0x2d0a48['view']['document']['getRoot'](_0x445707['rootName']));}):_0x2d0a48['reconvertMarker']('revision:'+_0x445707['id']));});}),this['listenTo'](this['editor']['editing']['view']['document'],'mouseover',(_0x137977,_0x3b6eb0)=>{if(this['activeChange'])return;const _0x4138ed=this['_findChangeIdFromDomTarget'](_0x3b6eb0['target']),_0x4ea9e2=this['_changeIdToChange']['get'](_0x4138ed);_0x4ea9e2?(this['_activeViewTarget']={'x':_0x3b6eb0['domEvent']['x'],'y':_0x3b6eb0['domEvent']['y']},this['activeView']=this['_getViewForChange'](_0x4ea9e2)):(this['_activeViewTarget']=null,this['activeView']=null);}),this['listenTo'](this['editor']['editing']['view']['document'],'mousedown',(_0x2ee473,_0x5bd80c)=>{const _0x1e0d60=this['_findChangeIdFromDomTarget'](_0x5bd80c['target']),_0x4236a5=this['_changeIdToChange']['get'](_0x1e0d60);_0x4236a5?(this['_activeViewTarget']={'x':_0x5bd80c['domEvent']['x'],'y':_0x5bd80c['domEvent']['y']},_0x4236a5===this['activeChange']?this['_balloon']['updatePosition']():this['activeChange']=_0x4236a5):(this['_activeViewTarget']=null,this['activeChange']=null);});}['_findChangeIdFromDomTarget'](_0xae461d){do{const _0x299527=_0xae461d['getAttribute']('data-change-id');if(_0x299527)return _0x299527;_0xae461d=_0xae461d['parent'];}while(_0xae461d);return null;}['_cleanMarkers'](){this['editor']['model']['change'](_0x96cd1d=>{for(const _0x1b1e69 of this['editor']['model']['markers'])_0x96cd1d['removeMarker'](_0x1b1e69);});}}function et(_0x249b2f,_0x1e489e){return(_0x23bf97,_0x16e73f,_0x3f235b)=>{if(!_0x3f235b['consumable']['test'](_0x16e73f['markerRange'],_0x23bf97['name']))return;const _0x4c4942=_0x16e73f['markerRange']['getWalker'](),_0x1ec387=_0x16e73f['markerRange']['start'],_0x33dba0=_0x249b2f['model']['schema'];let _0x57337d=null,_0x56e6df=null,_0x45a8c9=!0x1,_0x29d5a4=!0x1;for(const _0x597a7f of _0x4c4942){const _0x2022ff=_0x597a7f['item'];_0x45a8c9=_0x45a8c9||_0x33dba0['isContent'](_0x2022ff);const _0x3d389f=_0x3f235b['mapper']['toViewElement'](_0x2022ff);if(_0x3d389f&&_0x3d389f['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x597a7f['type']&&(_0x33dba0['isBlock'](_0x2022ff)&&!_0x33dba0['isLimit'](_0x2022ff)&&(_0x2022ff['nextSibling']||_0x1ec387['isAtEnd']?_0x57337d&&_0x57337d['parent']==_0x2022ff||(_0x57337d=_0x2022ff,_0x39dd3b(_0x597a7f['previousPosition']),_0x29d5a4=!0x0):_0x56e6df=_0x56e6df||_0x597a7f['previousPosition']));}function _0x39dd3b(_0x1ed6a4){const _0x14ef1b=_0x3f235b['mapper']['toViewPosition'](_0x1ed6a4),_0x3b5785=_0x3f235b['writer']['createUIElement']('span',{'class':'ck-suggestion-preview-marker-'+_0x1e489e});_0x3f235b['writer']['insert'](_0x14ef1b,_0x3b5785),_0x3f235b['mapper']['bindElementToMarker'](_0x3b5785,_0x16e73f['markerName']);}_0x45a8c9||_0x29d5a4||!_0x56e6df||_0x39dd3b(_0x56e6df);};}class bt extends _0x4bbdcd{constructor(_0x1d0054){super(_0x1d0054);const _0x5695de=_0x1d0054['plugins']['get'](d);this['affectsData']=!0x1,this['listenTo'](_0x5695de,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x5695de,'change:isEnabled',()=>this['refresh']());}['execute'](){const _0x534d37=this['editor'],_0x5b1fbd=_0x534d37['plugins']['get'](d),_0x3d7a4c=_0x5b1fbd['isReady']?_0x5b1fbd['diff']['newRevisionId']:null;_0x534d37['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x3d7a4c);}['refresh'](){const {isReady:_0x5242a2,isEnabled:_0x5a04bc}=this['editor']['plugins']['get'](d);this['isEnabled']=_0x5242a2&&_0x5a04bc;}}class yt extends _0x4bbdcd{['_step'];constructor(_0x149dc2,{direction:_0x450f38}){super(_0x149dc2);const _0x3cce4b=_0x149dc2['plugins']['get'](d);this['affectsData']=!0x1,this['_step']='forward'===_0x450f38?0x1:-0x1,this['listenTo'](_0x3cce4b,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x3cce4b,'change:isEnabled',()=>this['refresh']()),this['listenTo'](_0x3cce4b,'change:activeChange',()=>this['refresh']());}['execute'](){const _0x35e075=this['editor'],_0x21834e=_0x35e075['plugins']['get'](d),{isNavigationMode:_0x35277f,currentChangeNumber:_0x5d0a07}=_0x21834e;let _0x1de267;if(_0x21834e['activeChange']=_0x35277f?_0x21834e['diff']['changes']['get'](_0x5d0a07+this['_step']):_0x21834e['diff']['changes']['first'],_0x21834e['activeChange']['data']['isOnRoot'])_0x1de267=_0x35e075['editing']['view']['getDomRoot'](_0x21834e['activeChange']['rootName']);else{const _0x3ec172=_0x35e075['model']['markers']['get']('revision:'+_0x21834e['activeChange']['id']);_0x1de267=_0xc7e80d(_0x35e075['editing'],_0x3ec172);}_0x52e536({'target':_0x1de267,'viewportOffset':0x28});}['refresh'](){const {isNavigationMode:_0x60d299,currentChangeNumber:_0x1753d4,numberOfChanges:_0x485716,isReady:_0xc63c11,isEnabled:_0x3bd559}=this['editor']['plugins']['get'](d);this['isEnabled']=!!(_0x3bd559&&_0xc63c11&&_0x485716)&&(!_0x60d299||(0x1===this['_step']?_0x1753d4<_0x485716-0x1:_0x1753d4>0x0));}}class _i extends _0x4cdf20{constructor(_0x279bfe){super(_0x279bfe);const _0x4b2b5a=this['bindTemplate'],_0x2c40da=new _0x14d847(_0x279bfe),_0x45f9da=new _0x14d847(_0x279bfe);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',(_0x51fcbb,_0x2612d4)=>_0x51fcbb&&_0x2612d4>0x0),this['bind']('_statusText')['to'](this,'isReady',this,'currentChangeNumber',this,'numberOfChanges',this,'isNavigationMode',(_0x23d95f,_0x2181a7,_0x20d923,_0x635ed0)=>{if(!_0x23d95f)return y(_0x279bfe,'Loading...');if(!_0x20d923)return y(_0x279bfe,'No\x20changes');const _0x1c3d47=y(_0x279bfe,'NUMBER_OF_CHANGES',_0x20d923);return _0x635ed0?y(_0x279bfe,'X_OF_Y_CHANGES',[_0x2181a7+0x1,_0x20d923]):_0x1c3d47;}),_0x2c40da['set']({'label':y(_0x279bfe,'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'}),_0x45f9da['set']({'label':y(_0x279bfe,'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'}),_0x2c40da['bind']('isEnabled')['to'](this,'isBackwardNavigationEnabled'),_0x45f9da['bind']('isEnabled')['to'](this,'isForwardNavigationEnabled'),_0x2c40da['on']('execute',()=>this['fire']('execute','backward')),_0x45f9da['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',_0x4b2b5a['if']('_isStatusLabelVisible','ck-hidden',_0x361a26=>!_0x361a26)]},'children':[{'text':_0x4b2b5a['to']('isNavigationMode',_0x37b425=>_0x37b425?y(_0x279bfe,'EDIT_X_OF_Y_REVISIONS')+':\x20':y(_0x279bfe,'Total')+':\x20')}]},{'text':_0x4b2b5a['to']('_statusText')}]},new _0x219be1(),{'tag':'div','attributes':{'class':['ck-revision-history-ui__changes-navigation__navigation']},'children':[_0x2c40da,_0x45f9da]}]});}}const ce='ck-editor__editable__loading-overlay';class de extends _0x157cb2{static get['pluginName'](){return'RevisionViewerLoadingOverlay';}['show'](){const _0x240ade=this['editor']['editing']['view'];_0x240ade['change'](_0x248126=>{for(const _0x558eec of _0x240ade['document']['roots'])_0x248126['addClass'](ce,_0x558eec);});}['hide'](){const _0x232b28=this['editor']['editing']['view'];_0x232b28['change'](_0x33c5f0=>{for(const _0x902787 of _0x232b28['document']['roots'])_0x33c5f0['removeClass'](ce,_0x902787);});}}class R extends _0x157cb2{static get['pluginName'](){return'RevisionViewerUI';}static get['requires'](){return[d,de];}['init'](){const _0x1eaccc=this['editor'],_0x53ce04=_0x1eaccc['plugins']['get'](d),_0x5d8258=_0x1eaccc['plugins']['get'](de);_0x1eaccc['ui']['componentFactory']['add']('exitToEditing',_0x366c1d=>{const _0x2e074c=new _0x14d847(_0x366c1d);return _0x2e074c['set']({'label':y(_0x366c1d,'Back\x20to\x20editing'),'icon':_0x3c810c['undo'],'withText':!0x0,'tooltip':!0x0,'class':'ck-revision-history-ui__back-to-editing'}),this['listenTo'](_0x2e074c,'execute',()=>{_0x1eaccc['config']['get']('revisionHistory')['closeRevisionViewerCallback']();}),_0x2e074c;}),_0x1eaccc['ui']['componentFactory']['add']('restoreRevision',_0x4c5c54=>{const _0x555b3a=new _0x14d847(_0x4c5c54);return _0x555b3a['set']({'label':y(_0x4c5c54,'Restore\x20this\x20revision'),'withText':!0x0,'tooltip':!0x0}),_0x555b3a['bind']('isEnabled')['to'](_0x1eaccc['commands']['get']('restoreRevision')),this['listenTo'](_0x555b3a,'execute',()=>_0x1eaccc['execute']('restoreRevision')),_0x555b3a;}),_0x1eaccc['ui']['componentFactory']['add']('changesNavigation',_0x281fa4=>{const _0x505bcb=new _i(_0x281fa4),_0x42a70e=_0x1eaccc['commands']['get']('showPreviousChange'),_0x285b00=_0x1eaccc['commands']['get']('showNextChange');return _0x505bcb['bind']('isBackwardNavigationEnabled')['to'](_0x42a70e,'isEnabled'),_0x505bcb['bind']('isForwardNavigationEnabled')['to'](_0x285b00,'isEnabled'),_0x505bcb['bind']('isReady','currentChangeNumber','numberOfChanges','isNavigationMode')['to'](_0x53ce04),this['listenTo'](_0x505bcb,'execute',(_0x106d00,_0x31a28f)=>{_0x1eaccc['execute']('forward'===_0x31a28f?'showNextChange':'showPreviousChange');}),_0x505bcb;}),_0x5d8258['show'](),_0x53ce04['on']('change:isReady',(_0x5abf01,_0x43037e,_0x4ecfff)=>{_0x4ecfff?_0x5d8258['hide']():_0x5d8258['show']();});}}class kt extends at{['_resizeObserver']=null;constructor(_0x5665b8,_0x5c7309){super(_0x5665b8,_0x5c7309);const _0x3bfc6c=this['bindTemplate'];this['set']({'label':y(_0x5665b8,'Revision\x20name'),'_tooltipString':''}),this['fieldView']['placeholder']=y(_0x5665b8,'Enter\x20the\x20revision\x20name'),this['extendTemplate']({'tag':'span','attributes':{'class':['ck-revision-history-sidebar__revision-name'],'data-cke-tooltip-text':_0x3bfc6c['to']('_tooltipString'),'data-cke-tooltip-position':'s','data-cke-tooltip-class':'ck-tooltip_multi-line'}});}['render'](){super['render'](),this['_resizeObserver']=new mt(this['fieldView']['element'],()=>this['_updateTooltipText']()),this['listenTo'](this['fieldView'],'input',()=>this['_updateTooltipText']());}['destroy'](){super['destroy'](),this['_resizeObserver']&&this['_resizeObserver']['destroy']();}['_updateTooltipText'](){const _0x14d444=this['fieldView']['element'];this['_tooltipString']=_0x14d444['scrollWidth']>_0x14d444['clientWidth']&&_0x14d444['value']||'';}}class ti extends _0x4cdf20{constructor(_0x2fc52b,_0xcd7db6,_0x29a7cf){super(_0x2fc52b);const _0x1464a6=new _0x141dad();_0x1464a6['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 _0x10e5f5=['ck','ck-revision-history-sidebar__revision-author'];_0x29a7cf&&_0x10e5f5['push']('ck-revision-history-sidebar__revision-author_creator');const _0x2f683d=[{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__revision-author__name'],'title':y(_0x2fc52b,_0x29a7cf?'Revision\x20creator':'Revision\x20author')},'children':[_0x1464a6,_0xcd7db6['name']]}];this['setTemplate']({'tag':'li','attributes':{'class':_0x10e5f5},'children':_0x2f683d});}}function ni(_0x2fb3f8,_0x929445){const _0x32c405=_0x2fb3f8['bindTemplate'],_0xa14a03=_0x2fb3f8['locale'],_0x557bbe=_0x5acf1d(_0xa14a03);_0x557bbe['panelPosition']='sw';const _0x2a085a=function(_0x25991b,_0x1ce73e){const _0x6a5491=function(_0x2a57e5,_0xef3ed2){const _0x2e8c14=_0x2a57e5['locale'],_0x56f183={'Compare\x20against\x20selected':y(_0x2e8c14,'Compare\x20against\x20selected'),'Name\x20this\x20revision':y(_0x2e8c14,'Name\x20this\x20revision'),'Restore\x20this\x20revision':y(_0x2e8c14,'Restore\x20this\x20revision')};return _0xef3ed2['map'](_0x45c9ed=>{const _0xa4e7cd=_0x56f183[_0x45c9ed['name']];return _0xa4e7cd&&_0xa4e7cd!==_0x45c9ed['name']&&(_0x45c9ed['name']=_0xa4e7cd),_0x45c9ed;});}(_0x25991b,_0x1ce73e),_0x5ce982=new _0x22c1b4();for(const _0x4f32e0 of _0x6a5491){const _0x2fe746={'type':'button','model':new to({'label':_0x4f32e0['name'],'class':_0x4f32e0['class'],'withText':!0x0,'role':'menuitem','_action':_0x4f32e0['action']})};_0x2fe746['model']['bind']('isEnabled')['to'](_0x25991b,'isActionsDropdownOpen',_0x159ffd=>'function'!=typeof _0x4f32e0['isEnabled']||(!_0x159ffd||_0x4f32e0['isEnabled'](_0x25991b))),_0x5ce982['add'](_0x2fe746);}return _0x5ce982;}(_0x2fb3f8,_0x929445);return _0x2fb3f8['bind']('isActionsDropdownOpen')['to'](_0x557bbe,'isOpen'),_0x557bbe['buttonView']['set']({'label':y(_0xa14a03,'Show\x20more\x20items'),'tooltip':!0x0,'tooltipPosition':'sw','icon':_0x3c810c['threeVerticalDots']}),_0x557bbe['extendTemplate']({'attributes':{'class':['ck-revision-history-sidebar__revision__actions',_0x32c405['if']('isActionsDropdownOpen','ck-on')]},'on':{'click':_0x32c405['to'](_0x2b91fa=>_0x2b91fa['stopPropagation']())}}),_0x557bbe['on']('execute',_0x480562=>{_0x2fb3f8['isReady']&&'function'==typeof _0x480562['source']['_action']&&_0x480562['source']['_action'](_0x2fb3f8);}),_0x276dcd(_0x557bbe,_0x2a085a,{'role':'menu'}),_0x557bbe['listenTo'](_0x2fb3f8,'change:isActionsDropdownOpen',(_0x6f82b2,_0xeecd25,_0x2031ce)=>{if(_0x2031ce)for(const _0x59dffc of _0x557bbe['listView']['items']){const _0xa6c1e3=_0x59dffc['children']['first'],_0x40298c=_0x929445['find'](_0x4a5567=>_0x4a5567['action']===_0xa6c1e3['_action'])['isVisible'];_0x59dffc['isVisible']=void 0x0===_0x40298c||_0x40298c(_0x2fb3f8);}}),_0x557bbe;}class ai extends/* #__PURE__ -- @preserve */
26
- _0x2de9e9(_0x4cdf20){['id'];['revisionNameView'];['revisionActionsView'];['_revision'];['_requireRevisionName'];constructor(_0x21ab34,_0x2135ec,_0xcdc4d6,_0x35658b){super(_0x21ab34);const _0x2f3137=this['bindTemplate'],_0x930c8=function(_0x3dddb7,_0x5d2195){const _0x5dbd88=Array['from'](_0x5d2195['authors'])['filter'](_0x53c610=>_0x53c610!=_0x5d2195['creator']);return _0x5d2195['creator']&&_0x5dbd88['unshift'](_0x5d2195['creator']),_0x5dbd88['map'](_0x5cc756=>new ti(_0x3dddb7,_0x5cc756,_0x5cc756==_0x5d2195['creator']));}(_0x21ab34,_0x2135ec);this['id']=_0x2135ec['id'],this['_revision']=_0x2135ec,this['_requireRevisionName']=_0x35658b,this['bind']('name','createdAt')['to'](_0x2135ec),this['bind']('_createdAtFormatted')['to'](this,'createdAt',_0x2a5129=>{return _0xcee783=_0x21ab34['uiLanguage'],(_0x148ac0=_0x2a5129)['toLocaleDateString'](_0xcee783,{'month':'long','day':'numeric'})+',\x20'+_0x148ac0['toLocaleTimeString'](_0xcee783,{'hour':'numeric','minute':'numeric'});var _0xcee783,_0x148ac0;}),this['set']('isSelected',!0x1),this['set']('isHighlighted',!0x1),this['set']('isActionsDropdownOpen',!0x1),this['set']('isReady',!0x1),this['set']('isEnabled',!0x1),this['revisionNameView']=new kt(_0x21ab34,_0x4a4d93),this['revisionNameView']['fieldView']['extendTemplate']({'attributes':{'maxlength':'220'}}),this['revisionNameView']['fieldView']['bind']('value')['to'](this,'name',_0x1c5b12=>_0x1c5b12||this['_createdAtFormatted']),this['revisionNameView']['bind']('isEnabled')['to'](this,'isSelected',this,'isEnabled',(_0x283f9c,_0x36d119)=>_0x283f9c&&_0x36d119),this['revisionActionsView']=_0xcdc4d6&&_0xcdc4d6['length']?ni(this,_0xcdc4d6):'',this['revisionActionsView']&&this['revisionActionsView']['bind']('isEnabled')['to'](this),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision-wrapper',_0x2f3137['if']('isConfirm','ck-revision-history-sidebar__revision-wrapper_confirmation_visible')]},'children':[{'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision',_0x2f3137['if']('isEnabled','ck-disabled',_0x3b382e=>!_0x3b382e),_0x2f3137['if']('isSelected','ck-revision-history-sidebar__revision_selected'),_0x2f3137['if']('isHighlighted','ck-revision-history-sidebar__revision_highlighted'),_0x2f3137['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':_0x2f3137['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':_0x930c8}]},this['revisionActionsView']],'on':{'click':_0x2f3137['to'](_0x194eb7=>{_0x194eb7['srcElement']['closest']('.ck-thread__remove-confirm')||this['isReady']&&this['isEnabled']&&this['fire']('select',{'id':this['id']});})}}]});}['render'](){super['render']();const _0x240ce6=this['revisionNameView']['fieldView']['element'];this['listenTo'](_0x240ce6,'change',()=>{this['_requireRevisionName']&&!_0x240ce6['value']||this['fire']('setName',{'id':this['id'],'name':_0x240ce6['value']}),_0x240ce6['value']||(_0x240ce6['value']=this['name']?this['name']:this['_createdAtFormatted']);});}['select'](){this['isSelected']=!0x0;}['deselect'](){this['isSelected']=!0x1;}['highlight'](){this['isHighlighted']=!0x0;}['unhighlight'](){this['isHighlighted']=!0x1;}}function di(_0x32731e,_0x11e402){const _0x22e8ab=_0x432b5f['fromJSDate'](_0x32731e)['setLocale'](_0x11e402),_0x4b4e7c=_0x432b5f['local'](),_0x4eb05a=_0x4b4e7c['minus']({'days':0x1})['startOf']('day');let _0x14eff6,_0x1c27bc;return _0x22e8ab['hasSame'](_0x4b4e7c,'day')?(_0x14eff6=_0x22e8ab['startOf']('day')['toJSDate'](),_0x1c27bc=_0x22e8ab['toRelativeCalendar']()):_0x22e8ab['hasSame'](_0x4eb05a,'day')?(_0x14eff6=_0x4eb05a['toJSDate'](),_0x1c27bc=_0x22e8ab['toRelativeCalendar']()):_0x22e8ab['hasSame'](_0x4b4e7c,'week')?(_0x14eff6=_0x22e8ab['startOf']('week')['toJSDate'](),_0x1c27bc=_0x22e8ab['weekdayLong']||''):_0x22e8ab['hasSame'](_0x4b4e7c,'year')?(_0x14eff6=_0x22e8ab['startOf']('month')['toJSDate'](),_0x1c27bc=_0x22e8ab['monthLong']||''):(_0x14eff6=_0x22e8ab['startOf']('year')['toJSDate'](),_0x1c27bc=String(_0x22e8ab['year'])),{'startDate':_0x14eff6,'localizedPeriodName':_0x1c27bc};}class mi extends _0x4cdf20{['startDate'];['revisionViews'];['_revisionActions'];['_requireRevisionName'];constructor(_0x2c96d0,_0x436a63,_0x41e63a,_0x1818f2){super(_0x2c96d0);const _0x57b07a=di(_0x436a63,this['locale']['uiLanguage'])['localizedPeriodName'];this['startDate']=_0x436a63,this['revisionViews']=this['createCollection'](),this['_revisionActions']=_0x41e63a,this['_requireRevisionName']=_0x1818f2,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':_0x57b07a}]},{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__time-period__revisions']},'children':this['revisionViews']}]});}['addRevision'](_0x3ab26c){const _0x15d519=new ai(this['locale'],_0x3ab26c,this['_revisionActions'],this['_requireRevisionName']);this['revisionViews']['add'](_0x15d519);}['removeRevision'](_0x2b9e1c){const _0x29aaa5=this['revisionViews']['find'](_0x2f2466=>_0x2f2466['id']===_0x2b9e1c['id']);this['revisionViews']['remove'](_0x29aaa5);}}class as extends _0x4cdf20{constructor(_0x5e1571){super(_0x5e1571);const _0x2caa85=new _0x141dad();_0x2caa85['content']=_0x3c810c['history'],this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all','ck-revision-history-sidebar__header']},'children':[_0x2caa85,{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__header__label']},'children':[y(_0x5e1571,'Revision\x20history')]}]});}}class ci extends _0x4cdf20{['timePeriodViews'];['_revisions'];['_revisionActions'];['_requireRevisionName'];constructor(_0x154fa4,_0x10f9a8,_0x1491c1,_0x5c6ed1){super(_0x154fa4);const _0x3fd051=this['bindTemplate'];this['timePeriodViews']=this['createCollection'](),this['timePeriodViews']['delegate']('select')['to'](this),this['timePeriodViews']['delegate']('setName')['to'](this),this['_revisions']=_0x10f9a8,this['_revisionActions']=_0x1491c1,this['_requireRevisionName']=_0x5c6ed1,this['on']('select',(_0xc8fb4c,_0x33d852)=>{this['fire']('revisionSelected',_0x33d852);}),this['on']('setName',(_0x1b6104,_0x366792)=>{this['fire']('revisionSetName',_0x366792);}),this['set']('isEnabled',!0x1),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-rounded-corners','ck-revision-history-sidebar']},'children':[new as(_0x154fa4),{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__timeline',_0x3fd051['if']('isEnabled','ck-disabled',_0x34b4ee=>!_0x34b4ee)]},'children':this['timePeriodViews']}]});}['render'](){super['render']();for(const _0x2ff304 of this['_revisions'])this['_addRevision'](_0x2ff304);this['_revisions']['on']('add',(_0x557381,_0xab0a0a)=>{this['_addRevision'](_0xab0a0a);}),this['_revisions']['on']('remove',(_0x111cc9,_0x145b91)=>{this['_removeRevision'](_0x145b91);});}get['revisionViews'](){return this['timePeriodViews']['map'](_0x3a56ef=>_0x3a56ef['revisionViews']['map'](_0x56b1fa=>_0x56b1fa))['flat']();}['selectRevision'](_0x46eada){for(const _0x14bd18 of this['revisionViews'])_0x46eada&&_0x46eada['id']===_0x14bd18['id']?_0x14bd18['select']():_0x14bd18['deselect']();}['highlightRevisions'](_0x4f5ef5){for(const _0xa4bed3 of this['revisionViews'])_0x4f5ef5['some'](({id:_0x3879d1})=>_0x3879d1===_0xa4bed3['id'])?_0xa4bed3['highlight']():_0xa4bed3['unhighlight']();}['_addRevision'](_0x3d7ff1){const _0x342d27=di(_0x3d7ff1['createdAt'],this['locale']['uiLanguage'])['startDate'];let _0x2b6bb8=this['timePeriodViews']['get'](0x0);_0x2b6bb8&&_0x2b6bb8['startDate']['getTime']()===_0x342d27['getTime']()||(_0x2b6bb8=new mi(this['locale'],_0x342d27,this['_revisionActions'],this['_requireRevisionName']),this['timePeriodViews']['add'](_0x2b6bb8)),_0x2b6bb8['addRevision'](_0x3d7ff1);}['_removeRevision'](_0x2a05fb){const _0x8beab5=di(_0x2a05fb['createdAt'],this['locale']['uiLanguage'])['startDate'];this['_getTimePeriodViewByStartDate'](_0x8beab5)['removeRevision'](_0x2a05fb);}['_getTimePeriodViewByStartDate'](_0x1d2962){return this['timePeriodViews']['find'](_0x14a401=>_0x14a401['startDate']['getTime']()===_0x1d2962['getTime']());}}class w extends _0x157cb2{['_revisionViewer'];['_revisionsRepository'];['_sidebarView'];static ['defaultRevisionActions'];static ['availableRevisionActions'];static get['pluginName'](){return'RevisionsSidebar';}static get['requires'](){return[d];}constructor(_0x1442b0){super(_0x1442b0),this['_revisionViewer']=_0x1442b0['plugins']['get'](d),this['_revisionsRepository']=this['_revisionViewer']['repository'],this['_sidebarView']=null;}['init'](){const _0x30a737=this['_revisionsRepository']['_revisions'],_0xf1b409=this['_createRevisionActions'](),_0xac77fb=this['editor']['config']['get']('revisionHistory.viewerSidebarContainer');this['_sidebarView']=new ci(this['editor']['locale'],_0x30a737,_0xf1b409,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',(_0x31fb10,_0xa908ea)=>{_0xa908ea['revisionViews']['on']('add',(_0x8e240a,_0x5e9bc7)=>{_0x5e9bc7['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)),_0xac77fb['appendChild'](this['_sidebarView']['element']);}['destroy'](){this['_sidebarView']['element']['remove'](),this['_sidebarView']['destroy']();}['_handleEditorDataReady'](){const _0x3b8b4e=this['_revisionsRepository']['getRevision'](0x0);if(_0x3b8b4e){const _0x54e047=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x3b8b4e['id']);this['_revisionViewer']['compare'](_0x3b8b4e,_0x54e047);}}['_handleRevisionSelected'](_0x31f431,_0xb898f5){const _0x167ad2=this['_revisionsRepository']['getRevision'](_0xb898f5['id']),_0x5e6e4e=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x167ad2['id']);this['_revisionViewer']['compare'](_0x167ad2,_0x5e6e4e);}['_handleRevisionSetName'](_0x3e25cd,_0x401ab2){this['_revisionsRepository']['getRevision'](_0x401ab2['id'])['setName'](_0x401ab2['name']);}['_handleDiffChange'](_0x582ace,_0x199e85,_0x39bbe6){const _0x2832e0=this['_revisionsRepository']['getRevisionsInDiff'](_0x39bbe6);_0x2832e0['length']>0x2?(this['_sidebarView']['highlightRevisions'](_0x2832e0),this['_sidebarView']['selectRevision'](null)):(this['_sidebarView']['highlightRevisions']([]),this['_sidebarView']['selectRevision'](_0x2832e0[0x0]));}['_createRevisionActions'](){const _0x694fe4=this['editor'],_0xf9ca41=w['availableRevisionActions'],_0x37809e=_0x694fe4['config']['get']('revisionHistory.revisionActions')||w['defaultRevisionActions'];if(_0x37809e['length'])return _0x37809e['map'](_0x1026e7=>{const _0x52f83a='string'==typeof _0x1026e7?Object['assign']({},_0xf9ca41[_0x1026e7]):_0x1026e7;return _0x52f83a['action']=_0x52f83a['action']['bind'](this,_0x694fe4),_0x52f83a['isVisible']&&(_0x52f83a['isVisible']=_0x52f83a['isVisible']['bind'](this,_0x694fe4)),_0x52f83a;});}}w['availableRevisionActions']={'compareAgainstSelected':{'name':'Compare\x20against\x20selected','action':({plugins:_0x1a74f2},_0x4dacf2)=>{const _0x46e218=_0x1a74f2['get'](d),_0xf412f=_0x46e218['repository'];let _0x2e6858=_0x46e218['diff']['newRevisionId'],_0xeae159=_0x4dacf2['id'];_0xf412f['getIndex'](_0x2e6858)>_0xf412f['getIndex'](_0xeae159)&&([_0x2e6858,_0xeae159]=[_0xeae159,_0x2e6858]),_0x46e218['compare'](_0x2e6858,_0xeae159);},'isVisible':({plugins:_0x61e96e},_0x56c4f2)=>{const _0x12f64e=_0x61e96e['get'](d);return!(_0x12f64e['repository']['getRevisionsInDiff'](_0x12f64e['diff'])['length']>0x2)&&!_0x56c4f2['isSelected'];}},'restoreRevision':{'name':'Restore\x20this\x20revision','action':(_0x8e92fa,{id:_0x3f5245})=>{_0x8e92fa['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x3f5245);},'isVisible':({plugins:_0xe27881},_0x1173f6)=>!!_0xe27881['get'](d)['repository']['getLaterVisibleRevision'](_0x1173f6['id'])},'nameRevision':{'name':'Name\x20this\x20revision','action':({plugins:_0x4983b1},{id:_0xe72691,revisionNameView:_0x446c1c})=>{const _0x3b79f1=_0x4983b1['get'](d),_0x3b8151=_0x3b79f1['repository']['getEarlierVisibleRevision'](_0xe72691);_0x3b79f1['compare'](_0xe72691,_0x3b8151),_0x446c1c['focus'](),_0x446c1c['fieldView']['select']();}}},w['defaultRevisionActions']=['compareAgainstSelected','restoreRevision','nameRevision'];class st extends ht{['_view'];['_toolbarConfig'];['_elementReplacer'];get['view'](){return this['_view'];}constructor(_0x31dbb2,_0x5e7da1){super(_0x31dbb2),this['_view']=_0x5e7da1,this['_toolbarConfig']=ct(_0x31dbb2['config']['get']('toolbar')),this['_elementReplacer']=new nt();}get['element'](){return this['view']['element'];}['init'](_0x3f4967){const _0x431f5c=this['editor'],_0x86f97a=this['view'],_0x177183=_0x431f5c['editing']['view'],_0x542d42=_0x86f97a['editable'],_0xadee11=_0x177183['document']['getRoot']();_0x542d42['name']=_0xadee11['rootName'],_0x86f97a['render']();const _0x22e040=_0x542d42['element'];this['setEditableElement'](_0x542d42['name'],_0x22e040),_0x86f97a['editable']['bind']('isFocused')['to'](this['focusTracker']),_0x177183['attachDomRoot'](_0x22e040),this['_elementReplacer']['replace'](_0x3f4967,this['element']),this['_initToolbar'](),this['fire']('ready');}['destroy'](){super['destroy']();const _0x2874c2=this['view'],_0x53cc87=this['editor']['editing']['view'];this['_elementReplacer']['restore'](),_0x53cc87['detachDomRoot'](_0x2874c2['editable']['name']),_0x2874c2['destroy']();}['_initToolbar'](){const _0x26ccf0=this['view'];_0x26ccf0['stickyPanel']['bind']('isActive')['to'](this['focusTracker'],'isFocused'),_0x26ccf0['stickyPanel']['limiterElement']=_0x26ccf0['element'],_0x26ccf0['stickyPanel']['bind']('viewportTopOffset')['to'](this,'viewportOffset',({top:_0x50738e})=>_0x50738e),_0x26ccf0['toolbar']['fillFromConfig'](this['_toolbarConfig'],this['componentFactory']),this['addToolbar'](_0x26ccf0['toolbar']);}}class ot extends dt{['_editable'];['stickyPanel'];['toolbar'];get['editable'](){return this['_editable'];}constructor(_0x5b2fb8,_0xb558bb,_0x453d32={}){super(_0x5b2fb8),this['stickyPanel']=new lt(_0x5b2fb8),this['toolbar']=new pt(_0x5b2fb8,{'shouldGroupWhenFull':_0x453d32['shouldToolbarGroupWhenFull']}),this['_editable']=new ut(_0x5b2fb8,_0xb558bb);}['render'](){super['render'](),this['stickyPanel']['content']['add'](this['toolbar']),this['top']['add'](this['stickyPanel']),this['main']['add'](this['editable']);}}class m extends/* #__PURE__ -- @preserve */
27
- rt(it){['_ui'];get['ui'](){return this['_ui'];}constructor(_0x1ee6f1,_0x15bbd9){super(_0x15bbd9),this['sourceElement']=_0x1ee6f1,this['model']['document']['createRoot']();const _0xfe602b=new ot(this['locale'],this['editing']['view'],{'shouldToolbarGroupWhenFull':!0x0});this['_ui']=new st(this,_0xfe602b);}['destroy'](){return this['updateSourceElement'](),this['ui']['destroy'](),super['destroy']();}static async['create'](_0x74ee7a,_0x1453f0){const _0x4b51ef=new this(_0x74ee7a,_0x1453f0);return await _0x4b51ef['initPlugins'](),await _0x4b51ef['ui']['init'](_0x74ee7a),await _0x4b51ef['data']['init'](_0x4b51ef['config']['get']('initialData')||''),_0x4b51ef['fire']('ready'),_0x4b51ef;}}const p=['RevisionHistoryUI','RestrictedEditingMode'];class k extends _0x157cb2{['result'];static get['pluginName'](){return'RevisionViewerIntegration';}constructor(_0x771cb){super(_0x771cb),this['result']='end';}}class H extends _0x157cb2{['_viewerEditor'];static get['pluginName'](){return'RevisionHistory';}static get['requires'](){return[l,u];}constructor(_0x3f775b){if(super(_0x3f775b),!this['editor']['config']['get']('revisionHistory'))throw new _0x1016d2('revision-history-missing-configuration',this);this['_viewerEditor']=null,this['editor']['config']['define']('revisionHistory.showRevisionViewerCallback',_0x5b31f5=>this['_showRevisionViewer']({..._0x5b31f5,'translations':this['editor']['locale']['translations']})),this['editor']['config']['define']('revisionHistory.closeRevisionViewerCallback',_0x3a198b=>this['_closeRevisionViewer'](_0x3a198b)),this['editor']['config']['define']('revisionHistory.restoreRevisionCallback',_0x20fc09=>this['_restoreRevision'](_0x20fc09)),this['editor']['config']['define']('revisionHistory.requireRevisionName',!0x1),this['_enhanceShowRevisionViewerCallback'](),this['_enhanceCloseRevisionViewerCallback']();}set['adapter'](_0x531268){this['editor']['plugins']['get']('RevisionTracker')['adapter']=_0x531268;}get['adapter'](){return this['editor']['plugins']['get']('RevisionTracker')['adapter'];}['addRevisionData'](_0x1a50ef){return this['editor']['plugins']['get']('RevisionTracker')['addRevisionData'](_0x1a50ef);}['getRevision'](_0x465e1b){return this['editor']['plugins']['get']('RevisionsRepository')['getRevision'](_0x465e1b);}['getRevisions'](_0x1a87ad={'toJSON':!0x1}){return this['editor']['plugins']['get']('RevisionsRepository')['getRevisions'](_0x1a87ad);}['_getRevisionViewerEditorConfig'](){const _0x3999e8=this['editor'],_0x4023be=_0x4c4e79(_0x3999e8,p),_0xd50412=_0x3999e8['plugins']['get']('RevisionTracker'),_0x5c6669=_0x3999e8['plugins']['get']('Users')['users'];return _0x4023be['toolbar']=['exitToEditing','restoreRevision','changesNavigation'],delete _0x4023be['lazyRoots'],(_0x4023be['plugins']['push'](k,d,R,class extends _0x157cb2{static get['requires'](){return[d,'Users'];}['init'](){const _0x3eb51a=this['editor']['plugins']['get']('Users');for(const _0x5ac35d of _0x5c6669)_0x5ac35d['isAnonymous']||_0x3eb51a['getUser'](_0x5ac35d['id'])||_0x3eb51a['addUser'](_0x5ac35d);const _0x2a763c=_0xd50412['repository']['getRevisions']();let _0x2de810=null;const _0x5e7827=this['editor']['plugins']['get']('RevisionViewer');_0x5e7827['adapter']=_0xd50412['adapter'],_0x5e7827['bind']('isEnabled')['to'](_0xd50412),this['editor']['commands']['get']('restoreRevision')['bind']('isEnabled')['to'](_0x3999e8,'isReadOnly',_0x1c1eef=>!_0x1c1eef);for(const _0x1d2895 of _0x2a763c){const _0x49a026=null===_0x1d2895['creator'];if(_0x49a026&&_0x1d2895['toVersion']===_0x1d2895['fromVersion'])continue;const _0x48e014=_0x1d2895['toJSON']();_0x5e7827['addRevisionData'](_0x48e014,(_0x11e805,_0x143bab,_0x29d979)=>{if(_0x49a026){if(_0x2de810)_0x2de810['_update'](_0x11e805,_0x143bab);else{if(!_0x143bab){const _0x43c155=_0x29d979['toJSON']();_0x43c155['id']=_0x38cfa2(),_0xd50412['saveRevision'](_0x43c155,_0x29d979['toVersion'])['then'](_0x23daac=>{_0x2de810=_0x23daac;});}}}else _0x1d2895['_update'](_0x11e805,_0x143bab);});}}},w),_0x4023be);}['_enhanceShowRevisionViewerCallback'](){const _0x2f51cc=this['editor']['config']['get']('revisionHistory')['showRevisionViewerCallback'];this['editor']['config']['set']('revisionHistory.showRevisionViewerCallback',async()=>{this['editor']['enableReadOnlyMode']('revision-history-viewer-opened');const _0x2a0b18=this['editor']['plugins']['get']('RevisionTracker');if(this['editor']['plugins']['has']('Autosave')){const _0x37b6b1=this['editor']['plugins']['get']('Autosave');await _0x37b6b1['save']();}else await _0x2a0b18['update']();if(this['editor']['plugins']['has']('PaginationLookup')&&this['editor']['plugins']['get']('PaginationLookup')['_recalculatePageBreaks'](),this['editor']['plugins']['has']('Dialog')){const _0x13a87d=this['editor']['plugins']['get']('Dialog');_0x13a87d['isOpen']&&_0x13a87d['hide']();}const _0x58102d=this['_getRevisionViewerEditorConfig']();return _0x2f51cc(_0x58102d)['then'](_0xf56e3=>{return(this['_viewerEditor']=_0xf56e3,this['editor']['plugins']['has']('Annotations'))&&this['editor']['plugins']['get']('Annotations')['refreshVisibility'](),_0xf56e3;})['catch'](_0x64263b=>(console['error'](_0x64263b),this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),null));});}['_enhanceCloseRevisionViewerCallback'](){const _0x4fb7ad=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'](),_0x4fb7ad(this['_viewerEditor'])['then'](()=>{if(this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),this['_viewerEditor']=null,this['editor']['plugins']['has']('Annotations')){const _0x11cce1=this['editor']['plugins']['get']('Annotations');_0x11cce1['refreshVisibility'](),_0x11cce1['refreshPositioning']();}})));}['_showRevisionViewer'](_0x3ace04){const _0x3bfc72=this['editor']['config']['get']('revisionHistory.editorContainer'),_0x445a2f=this['editor']['config']['get']('revisionHistory.viewerContainer'),_0x20cc99=this['editor']['config']['get']('revisionHistory.viewerEditorElement');return m['create'](_0x20cc99,_0x3ace04)['then'](_0x3d2bdd=>(_0x445a2f['style']['display']='block',_0x3bfc72['style']['display']='none',_0x3d2bdd));}['_closeRevisionViewer'](_0xe81399){const _0x3642ba=this['editor']['config']['get']('revisionHistory.editorContainer');return this['editor']['config']['get']('revisionHistory.viewerContainer')['style']['display']='none',_0x3642ba['style']['display']='',_0xe81399['destroy']();}async['_restoreRevision'](_0x2034f9){const _0x3328a5=this['editor'],_0x54c7b3=this['_viewerEditor']['plugins']['get']('RevisionViewer'),_0x11529f=_0x3328a5['plugins']['get']('RevisionTracker'),_0x2b38a0=_0x54c7b3['repository']['getRevision'](_0x2034f9);let _0x3a049d,_0x5a5b79,_0x58af17;try{_0x3a049d=await _0x54c7b3['getRevisionData'](_0x2b38a0),_0x5a5b79=await _0x54c7b3['getRevisionRootsAttributes'](_0x2b38a0);}catch(_0x508dd3){return void console['error'](_0x508dd3);}_0x3328a5['model']['change'](_0x279607=>{for(const _0x3329e0 of Array['from'](_0x3328a5['model']['markers']['getMarkersGroup']('restrictedEditingException')))_0x279607['removeMarker'](_0x3329e0);}),_0x54c7b3['isReady']=!0x1,_0x3328a5['model']['enqueueChange'](_0x2d6ee8=>{_0x2d6ee8['setSelection'](null),_0x2d6ee8['removeSelectionAttribute'](_0x3328a5['model']['document']['selection']['getAttributeKeys']());const _0x482a87=Object['keys'](_0x3a049d);for(const _0x4bd054 of _0x3328a5['model']['document']['roots'])'$graveyard'!=_0x4bd054['rootName']&&_0x4bd054['isAttached']()&&!_0x482a87['includes'](_0x4bd054['rootName'])&&_0x2d6ee8['detachRoot'](_0x4bd054);for(const _0x5303b2 of _0x482a87){let _0x300f7c=_0x3328a5['model']['document']['getRoot'](_0x5303b2);_0x300f7c&&_0x300f7c['isAttached']()||(_0x300f7c=_0x2d6ee8['addRoot'](_0x5303b2));const _0x45eed6=_0x5a5b79[_0x5303b2],_0x3e39cf=Object['keys'](_0x45eed6),_0x51b162=_0x3a049d[_0x5303b2];for(const _0x1abc2c of _0x300f7c['getAttributeKeys']())_0x3e39cf['includes'](_0x1abc2c)||_0x2d6ee8['removeAttribute'](_0x1abc2c,_0x300f7c);for(const _0x34d6ce of _0x3e39cf)_0x2d6ee8['setAttribute'](_0x34d6ce,_0x5a5b79[_0x5303b2][_0x34d6ce],_0x300f7c);_0x2d6ee8['remove'](_0x2d6ee8['createRangeIn'](_0x300f7c)),_0x2d6ee8['insert'](_0x3328a5['data']['parse'](_0x51b162,_0x300f7c),_0x300f7c,0x0);}});const _0x24e227=y(_0x3328a5['locale'],'Restored');if(_0x2b38a0['name'])_0x58af17=-0x1==_0x2b38a0['name']['indexOf'](_0x24e227)?_0x24e227+':\x20'+_0x2b38a0['name']:_0x2b38a0['name'];else _0x58af17=_0x24e227+':\x20'+(_0x2b38a0['createdAt']['toLocaleDateString'](_0x3328a5['locale']['uiLanguage'],{'month':'long','day':'numeric'})+',\x20'+_0x2b38a0['createdAt']['toLocaleTimeString'](_0x3328a5['locale']['uiLanguage'],{'hour':'numeric','minute':'numeric'}));return await _0x11529f['saveRevision']({'name':_0x58af17}),_0x54c7b3['isReady']=!0x0,_0x3328a5['config']['get']('revisionHistory')['closeRevisionViewerCallback']();}}export{H as RevisionHistory,u as RevisionHistoryUI,l as RevisionTracker,d as RevisionViewer,de as RevisionViewerLoadingOverlay,R as RevisionViewerUI,A as RevisionsRepository,w as RevisionsSidebar};
23
+ import{Plugin as _0x3b354a,Context as _0x1d949d,PendingActions as _0x3eedce,icons as _0x71633d,Command as _0x328826,ElementApiMixin as rt,Editor as it}from'@ckeditor/ckeditor5-core/dist/index.js';import{ObservableMixin as _0x28243f,uid as _0x1103df,Collection as _0x48b80c,logWarning as _0x3cc16a,FocusTracker as _0x34b41b,KeystrokeHandler as _0x4e0a9a,scrollViewportToShowTarget as _0x15a01e,ResizeObserver as mt,ElementReplacer as nt,CKEditorError as _0x36854b}from'@ckeditor/ckeditor5-utils/dist/index.js';import{Users as _0x4111a1,getMarkerDomElement as _0x6566,ConfirmMixin as _0x3ac99b,sanitizeEditorConfig as _0x1ffc1f}from'ckeditor5-collaboration/dist/index.js';import{ViewDocumentFragment as _0x1cd1e9,ViewText as _0x224633,ViewElement as _0x33898b,Element as ft,Range as vt,Position as gt,DocumentFragment as wt,ViewContainerElement as _0x1b252d,ViewAttributeElement as _0x23b0a5,ViewEmptyElement as _0x19cd29,ViewRawElement as _0x192077,ViewUIElement as _0x451fb8,Text as _t}from'@ckeditor/ckeditor5-engine/dist/index.js';import{cloneDeep as _0x269407,set as _0x92ac1a,unset as _0x1cd734,isEqual as _0x4709b4}from'lodash-es';import{View as _0x40d391,injectCssTransitionDisabler as ts,submitHandler as _0x47b937,LabeledFieldView as at,createLabeledInputText as _0x36e51d,createDropdown as _0x54b6f4,ListView as te,ListItemView as _0x333558,ButtonView as _0x4a8d7c,MenuBarMenuView as _0x5ac8a9,MenuBarMenuListView as _0x855cfd,MenuBarMenuListItemView as _0x1608d6,MenuBarMenuListItemButtonView as _0x2eaad7,ContextualBalloon as _0x50f24b,ToolbarSeparatorView as _0x23ef9b,IconView as _0x4ea2a3,addListToDropdown as _0x42ae14,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 _0x44c3ac}from'luxon';class a extends/* #__PURE__ -- @preserve */
24
+ _0x28243f(){['id'];['creator'];['authors'];['diffData'];['toVersion'];['fromVersion'];['model'];constructor(_0x517cb3){super(),this['id']=_0x517cb3['id']||_0x1103df(),this['creator']=_0x517cb3['creator']||null,this['authors']=_0x517cb3['authors']||[],this['diffData']=_0x517cb3['diffData']||null,this['toVersion']=_0x517cb3['toVersion']||0x0,this['fromVersion']=_0x517cb3['fromVersion']||0x0,this['set']('name',_0x517cb3['name']||''),this['set']('createdAt',_0x517cb3['createdAt']||new Date()),this['set']('attributes',_0x517cb3['attributes']||{});}['setName'](_0x487566){this['_update']({'name':_0x487566});}['setAttribute'](_0x1ad7a1,_0x43b16e){const _0x10a05a=_0x269407(this['attributes']);_0x92ac1a(_0x10a05a,_0x1ad7a1,_0x43b16e),this['_update']({'attributes':_0x10a05a});}['removeAttribute'](_0x5d977d){const _0x367927=_0x269407(this['attributes']);_0x1cd734(_0x367927,_0x5d977d),this['_update']({'attributes':_0x367927});}['_update'](_0x567bb7,_0x332032=!0x1){let _0x27cd5f=!0x1;const _0x10eaf6={'id':this['id']},_0x52dcbf=['name','createdAt','diffData','authors','attributes','toVersion','fromVersion','creatorId'];for(const _0x1e82e7 of _0x52dcbf){const _0x2531ea=_0x567bb7[_0x1e82e7];void 0x0!==_0x2531ea&&_0x2531ea!==this[_0x1e82e7]&&(this[_0x1e82e7]=_0x2531ea,_0x10eaf6[_0x1e82e7]=_0x2531ea,_0x27cd5f=!0x0);}_0x27cd5f&&(_0x10eaf6['authors']&&(_0x10eaf6['authorsIds']=_0x10eaf6['authors']['map'](_0x7f30d4=>_0x7f30d4['id']),delete _0x10eaf6['authors']),this['fire']('_update',_0x10eaf6,_0x332032));}['toJSON'](){return{'id':this['id'],'name':this['name'],'creatorId':this['creator']?this['creator']['id']:null,'authorsIds':this['authors']['map'](_0x6b28a9=>_0x6b28a9['id']),'diffData':this['diffData'],'createdAt':this['createdAt'],'attributes':this['attributes'],'fromVersion':this['fromVersion'],'toVersion':this['toVersion']};}}class A extends _0x3b354a{['_revisions'];static get['requires'](){return[_0x4111a1];}static get['pluginName'](){return'RevisionsRepository';}get['length'](){return this['_revisions']['length'];}constructor(_0x46d0f3){super(_0x46d0f3),this['_revisions']=new _0x48b80c();}['afterInit'](){!function(_0x44012a){function _0x3ccbc5(_0x52983a,_0x3e142b,_0x424b71){const _0x48f976={};_0x48f976[_0x4655e2([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])]={0x10:0xa,0x18:0xc,0x20:0xe},_0x48f976[_0x4655e2([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],_0x48f976[_0x4655e2([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],_0x48f976[_0x4655e2([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],_0x48f976[_0x4655e2([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],_0x48f976[_0x4655e2([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],_0x48f976[_0x4655e2([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],_0x48f976[_0x4655e2([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],_0x48f976[_0x4655e2([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],_0x48f976[_0x4655e2([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],_0x48f976[_0x4655e2([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 _0x2c54b9=new Uint8Array(0x10);for(let _0xa145b3=0xf;_0xa145b3>=0x0;--_0xa145b3)_0x2c54b9[_0xa145b3]=_0x424b71%0x100,_0x424b71=parseInt(_0x424b71/0x100);let _0x48f6da=null,_0x10d74f=0x10;const _0x254758=new Uint8Array(_0x3e142b),_0x5784cc=[],_0xa7392e=[];_0x45a0ba();for(let _0x135290=0x0;_0x135290<_0x52983a[_0x4655e2([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x135290++)0x10===_0x10d74f&&(_0x48f6da=_0xb4261(_0x2c54b9),_0x10d74f=0x0,_0x31a354(_0x2c54b9)),_0x52983a[_0x135290]^=_0x48f6da[_0x10d74f++];return _0x52983a;function _0x1cc0ad(_0x2c57c9){const _0x360edb=[];for(let _0x80c88=0x0;_0x80c88<_0x2c57c9[_0x4655e2([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x80c88+=0x4)_0x360edb[_0x4655e2([0x70,0x75,0x73,0x68])](_0x2c57c9[_0x80c88]<<0x18|_0x2c57c9[_0x80c88+0x1]<<0x10|_0x2c57c9[_0x80c88+0x2]<<0x8|_0x2c57c9[_0x80c88+0x3]);return _0x360edb;}function _0x31a354(_0x2f2ffe){for(let _0x17f048=0xf;_0x17f048>=0x0;_0x17f048--){if(0xff!==_0x2f2ffe[_0x17f048]){_0x2f2ffe[_0x17f048]++;break;}_0x2f2ffe[_0x17f048]=0x0;}}function _0xb4261(_0x12d968){const _0x2dab2d=_0x5784cc[_0x4655e2([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x1,_0x572f20=[0x0,0x0,0x0,0x0];let t=_0x1cc0ad(_0x12d968);for(let _0x257e1d=0x0;_0x257e1d<0x4;_0x257e1d++)t[_0x257e1d]^=_0x5784cc[0x0][_0x257e1d];for(let _0x6af85f=0x1;_0x6af85f<_0x2dab2d;_0x6af85f++){for(let _0x5d5d53=0x0;_0x5d5d53<0x4;_0x5d5d53++)_0x572f20[_0x5d5d53]=_0x48f976[_0x4655e2([0x54,0x31])][t[_0x5d5d53]>>0x18&0xff]^_0x48f976[_0x4655e2([0x54,0x32])][t[(_0x5d5d53+0x1)%0x4]>>0x10&0xff]^_0x48f976[_0x4655e2([0x54,0x33])][t[(_0x5d5d53+0x2)%0x4]>>0x8&0xff]^_0x48f976[_0x4655e2([0x54,0x34])][0xff&t[(_0x5d5d53+0x3)%0x4]]^_0x5784cc[_0x6af85f][_0x5d5d53];t=_0x572f20[_0x4655e2([0x73,0x6c,0x69,0x63,0x65])]();}const _0x3b1d29=new Uint8Array(0x10);let _0x32c7aa;for(let _0x20ba18=0x0;_0x20ba18<0x4;_0x20ba18++)_0x32c7aa=_0x5784cc[_0x2dab2d][_0x20ba18],_0x3b1d29[0x4*_0x20ba18]=0xff&(_0x48f976[_0x4655e2([0x53])][t[_0x20ba18]>>0x18&0xff]^_0x32c7aa>>0x18),_0x3b1d29[0x4*_0x20ba18+0x1]=0xff&(_0x48f976[_0x4655e2([0x53])][t[(_0x20ba18+0x1)%0x4]>>0x10&0xff]^_0x32c7aa>>0x10),_0x3b1d29[0x4*_0x20ba18+0x2]=0xff&(_0x48f976[_0x4655e2([0x53])][t[(_0x20ba18+0x2)%0x4]>>0x8&0xff]^_0x32c7aa>>0x8),_0x3b1d29[0x4*_0x20ba18+0x3]=0xff&(_0x48f976[_0x4655e2([0x53])][0xff&t[(_0x20ba18+0x3)%0x4]]^_0x32c7aa);return _0x3b1d29;}function _0x45a0ba(){const _0x260229=_0x48f976[_0x4655e2([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])][_0x254758[_0x4655e2([0x6c,0x65,0x6e,0x67,0x74,0x68])]];for(let _0x4d0000=0x0;_0x4d0000<=_0x260229;_0x4d0000++)_0x5784cc[_0x4655e2([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]),_0xa7392e[_0x4655e2([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]);const _0x9b736b=0x4*(_0x260229+0x1),_0x43f89d=_0x254758[_0x4655e2([0x6c,0x65,0x6e,0x67,0x74,0x68])]/0x4,_0x55708a=_0x1cc0ad(_0x254758);let _0x58a019;for(let _0x3653a9=0x0;_0x3653a9<_0x43f89d;_0x3653a9++)_0x58a019=_0x3653a9>>0x2,_0x5784cc[_0x58a019][_0x3653a9%0x4]=_0x55708a[_0x3653a9],_0xa7392e[_0x260229-_0x58a019][_0x3653a9%0x4]=_0x55708a[_0x3653a9];let _0x26267e,_0x1d2869=0x0,t=_0x43f89d;for(;t<_0x9b736b;){_0x26267e=_0x55708a[_0x43f89d-0x1],_0x55708a[0x0]^=_0x48f976[_0x4655e2([0x53])][_0x26267e>>0x10&0xff]<<0x18^_0x48f976[_0x4655e2([0x53])][_0x26267e>>0x8&0xff]<<0x10^_0x48f976[_0x4655e2([0x53])][0xff&_0x26267e]<<0x8^_0x48f976[_0x4655e2([0x53])][_0x26267e>>0x18&0xff]^_0x48f976[_0x4655e2([0x72,0x63,0x6f,0x6e])][_0x1d2869]<<0x18,_0x1d2869+=0x1;for(let _0x2c589b=0x1;_0x2c589b<_0x43f89d/0x2;_0x2c589b++)_0x55708a[_0x2c589b]^=_0x55708a[_0x2c589b-0x1];_0x26267e=_0x55708a[_0x43f89d/0x2-0x1],_0x55708a[_0x43f89d/0x2]^=_0x48f976[_0x4655e2([0x53])][0xff&_0x26267e]^_0x48f976[_0x4655e2([0x53])][_0x26267e>>0x8&0xff]<<0x8^_0x48f976[_0x4655e2([0x53])][_0x26267e>>0x10&0xff]<<0x10^_0x48f976[_0x4655e2([0x53])][_0x26267e>>0x18&0xff]<<0x18;for(let _0x2600fc=_0x43f89d/0x2+0x1;_0x2600fc<_0x43f89d;_0x2600fc++)_0x55708a[_0x2600fc]^=_0x55708a[_0x2600fc-0x1];let _0x321536,_0xda2b56,_0x4f56a3=0x0;for(;_0x4f56a3<_0x43f89d&&t<_0x9b736b;)_0x321536=t>>0x2,_0xda2b56=t%0x4,_0x5784cc[_0x321536][_0xda2b56]=_0x55708a[_0x4f56a3],_0xa7392e[_0x260229-_0x321536][_0xda2b56]=_0x55708a[_0x4f56a3++],t++;}for(let _0x419671=0x1;_0x419671<_0x260229;_0x419671++)for(let _0x2cf492=0x0;_0x2cf492<0x4;_0x2cf492++)_0x26267e=_0xa7392e[_0x419671][_0x2cf492],_0xa7392e[_0x419671][_0x2cf492]=_0x48f976[_0x4655e2([0x55,0x31])][_0x26267e>>0x18&0xff]^_0x48f976[_0x4655e2([0x55,0x32])][_0x26267e>>0x10&0xff]^_0x48f976[_0x4655e2([0x55,0x33])][_0x26267e>>0x8&0xff]^_0x48f976[_0x4655e2([0x55,0x34])][0xff&_0x26267e];}}function _0x4655e2(_0x46ba2f){return _0x46ba2f['map'](_0xb5757e=>String['fromCharCode'](_0xb5757e))['join']('');}(_0x3d9b8b=>{function _0x59e800(){const _0x33ce55=[{[_0x4655e2([0x69,0x64])]:0x1,[_0x4655e2([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x4655e2([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73]),[_0x4655e2([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x4655e2([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x4655e2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x4655e2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x4655e2([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x4655e2([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x4655e2([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]:[{[_0x4655e2([0x69,0x64])]:0x2,[_0x4655e2([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x4655e2([0x54,0x72,0x61,0x63,0x6b,0x20,0x43,0x68,0x61,0x6e,0x67,0x65,0x73]),[_0x4655e2([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x4655e2([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x4655e2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x4655e2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x4655e2([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x4655e2([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]),[_0x4655e2([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x4655e2([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x4655e2([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x4655e2([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}}],[_0x4655e2([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x4655e2([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x4655e2([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x4655e2([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x4655e2([0x69,0x64])]:0x3,[_0x4655e2([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x4655e2([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e]),[_0x4655e2([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x4655e2([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x6f,0x6f,0x6b,0x75,0x70]),[_0x4655e2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x4655e2([0x70,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x4655e2([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x4655e2([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x4655e2([0x69,0x64])]:0x4,[_0x4655e2([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x4655e2([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x20,0x48,0x69,0x73,0x74,0x6f,0x72,0x79]),[_0x4655e2([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x4655e2([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x4655e2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x4655e2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x4655e2([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x4655e2([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]),[_0x4655e2([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x4655e2([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x4655e2([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x4655e2([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x4655e2([0x69,0x64])]:0x5,[_0x4655e2([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x4655e2([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x20,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65]),[_0x4655e2([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x4655e2([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65,0x55,0x49]),[_0x4655e2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x4655e2([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]),[_0x4655e2([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x4655e2([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x4655e2([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x4655e2([0x66,0x67,0x69])]:[0xc]}},{[_0x4655e2([0x69,0x64])]:0x6,[_0x4655e2([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x4655e2([0x46,0x6f,0x72,0x6d,0x61,0x74,0x20,0x50,0x61,0x69,0x6e,0x74,0x65,0x72]),[_0x4655e2([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x4655e2([0x46,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x55,0x49]),[_0x4655e2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x4655e2([0x66,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x4655e2([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x4655e2([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x4655e2([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x4655e2([0x66,0x67,0x69])]:[0xc]}},{[_0x4655e2([0x69,0x64])]:0x7,[_0x4655e2([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x4655e2([0x53,0x6c,0x61,0x73,0x68,0x20,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64]),[_0x4655e2([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x4655e2([0x53,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x55,0x49]),[_0x4655e2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x4655e2([0x73,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x4655e2([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x4655e2([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x4655e2([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x4655e2([0x66,0x67,0x69])]:[0xc]}},{[_0x4655e2([0x69,0x64])]:0x8,[_0x4655e2([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x4655e2([0x54,0x61,0x62,0x6c,0x65,0x20,0x6f,0x66,0x20,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73]),[_0x4655e2([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x4655e2([0x54,0x61,0x62,0x6c,0x65,0x4f,0x66,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x4655e2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x4655e2([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]),[_0x4655e2([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x4655e2([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x4655e2([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x4655e2([0x66,0x67,0x69])]:[0xc]}},{[_0x4655e2([0x69,0x64])]:0x9,[_0x4655e2([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x4655e2([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65]),[_0x4655e2([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x4655e2([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x55,0x49]),[_0x4655e2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x4655e2([0x74,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x4655e2([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x4655e2([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x4655e2([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x4655e2([0x66,0x67,0x69])]:[0xc,0xe]}},{[_0x4655e2([0x69,0x64])]:0xa,[_0x4655e2([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x4655e2([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]),[_0x4655e2([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x4655e2([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]),[_0x4655e2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x4655e2([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]),[_0x4655e2([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x4655e2([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x4655e2([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x4655e2([0x66,0x67,0x69])]:[0xc]}},{[_0x4655e2([0x69,0x64])]:0xb,[_0x4655e2([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x4655e2([0x41,0x49,0x20,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74]),[_0x4655e2([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x4655e2([0x41,0x49,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74,0x55,0x49]),[_0x4655e2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x4655e2([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x4655e2([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x4655e2([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x4655e2([0x69,0x64])]:0xc,[_0x4655e2([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x4655e2([0x50,0x72,0x6f,0x64,0x75,0x63,0x74,0x69,0x76,0x69,0x74,0x79,0x20,0x70,0x61,0x63,0x6b])},{[_0x4655e2([0x69,0x64])]:0xd,[_0x4655e2([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x4655e2([0x43,0x61,0x73,0x65,0x20,0x43,0x68,0x61,0x6e,0x67,0x65]),[_0x4655e2([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x4655e2([0x43,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x55,0x49]),[_0x4655e2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x4655e2([0x63,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x4655e2([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x4655e2([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x4655e2([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x4655e2([0x66,0x67,0x69])]:[0xc]}},{[_0x4655e2([0x69,0x64])]:0xe,[_0x4655e2([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x4655e2([0x44,0x72,0x75,0x70,0x61,0x6c,0x20,0x70,0x61,0x63,0x6b]),[_0x4655e2([0x66,0x6f,0x72,0x62,0x69,0x64,0x64,0x65,0x6e,0x48,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x4655e2([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])},{[_0x4655e2([0x69,0x64])]:0xf,[_0x4655e2([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x4655e2([0x4d,0x75,0x6c,0x74,0x69,0x20,0x4c,0x65,0x76,0x65,0x6c,0x20,0x4c,0x69,0x73,0x74]),[_0x4655e2([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x4655e2([0x4d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x4655e2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x4655e2([0x6d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x4655e2([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x4655e2([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x4655e2([0x69,0x64])]:0x10,[_0x4655e2([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x4655e2([0x4d,0x65,0x72,0x67,0x65,0x20,0x54,0x61,0x67,0x73]),[_0x4655e2([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x4655e2([0x4d,0x65,0x72,0x67,0x65,0x54,0x61,0x67,0x73,0x55,0x49]),[_0x4655e2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x4655e2([0x6d,0x65,0x72,0x67,0x65,0x54,0x61,0x67,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x4655e2([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x4655e2([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x4655e2([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x4655e2([0x66,0x67,0x69])]:[0xc]}}];return _0x18c84e(_0x33ce55),_0x33ce55;function _0x3ad885(_0x21b5ae){return 0x1<<_0x21b5ae-0x1;}function _0x18c84e(_0x95a04e){_0x95a04e[_0x4655e2([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x548ca5=>{_0x548ca5[_0x4655e2([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]=_0x3ad885(_0x548ca5[_0x4655e2([0x69,0x64])]),_0x98e2a5(_0x548ca5)&&_0x548ca5[_0x4655e2([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x18c84e(_0x548ca5[_0x4655e2([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]);});}}function _0x98e2a5(_0x23848a){return _0x4655e2([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])in _0x23848a;}const _0x268084=[0x1,0x55,0x4e,0x73,0xc6,0xff,0x32,0x70,0x53,0x57,0xa1],_0x4ea928=[0x7f,0x22,0x6,0xd3,0xa7,0x56,0x92,0xc7,0x84,0xa0,0x12];function _0x4f0873(_0x3da33d){const _0x2531c3=[0x1d,0xdd,0xaf,0x5a,0xe7,0x85,0xef,0xf0,0x4b,0xb4];return _0x2918e2(_0x3da33d,new Uint8Array([..._0x268084,..._0x2531c3,..._0x4ea928]));}function _0x2918e2(_0x3d94dc,_0x47398e){const _0x894729=_0x1a20be(_0x3d94dc),_0x4e1651=Array[_0x4655e2([0x66,0x72,0x6f,0x6d])](_0x14ab94(_0x894729)),_0x4feab2=_0x4e1651[_0x4655e2([0x70,0x6f,0x70])](),_0x39f498=_0x4e1651[_0x4655e2([0x70,0x6f,0x70])]();return _0x3734b4(_0x3ccbc5(_0x4e1651,_0x47398e,_0x39f498+0x100*_0x4feab2));}function _0x1a20be(_0x590646){const _0x427cd0=atob(_0x590646),[_0x4f7261,_0x4524be]=_0x427cd0[_0x4655e2([0x73,0x70,0x6c,0x69,0x74])](_0x4655e2([0x2d]));try{if(atob(_0x4524be))return atob(_0x4f7261);}catch(_0x314581){}return _0x427cd0;}function _0x480756(_0x275fe4){try{const _0x1f85fb=_0x4f0873(_0x275fe4),_0x458a00=JSON[_0x4655e2([0x70,0x61,0x72,0x73,0x65])](_0x1f85fb),_0x19e91e=parseInt(_0x458a00[_0x4655e2([0x31])]),_0xe34847=_0x458a00[_0x4655e2([0x32])]||'',_0xb87c23=parseInt(_0x458a00[_0x4655e2([0x33])]),_0x27aa5e=parseInt(_0x458a00[_0x4655e2([0x34])])||0x0,_0x38376d=parseInt(_0x458a00[_0x4655e2([0x35])])||0x0;return{[_0x4655e2([0x70,0x72,0x6f,0x64,0x75,0x63,0x74,0x4e,0x61,0x6d,0x65])]:_0xe34847,[_0x4655e2([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])]:_0x27aa5e,[_0x4655e2([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]:_0x19e91e,[_0x4655e2([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]:_0xb87c23,[_0x4655e2([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]:_0x38376d};}catch(_0x146d01){return null;}}const _0x243552=_0x59e800(),_0x146cc9={[_0x4655e2([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])]:_0x67df1f,[_0x4655e2([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])]:_0x320017,[_0x4655e2([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])]:_0x4ac48a},_0xb91f9d=_0x3d9b8b[_0x4655e2([0x63,0x6f,0x6e,0x73,0x74,0x72,0x75,0x63,0x74,0x6f,0x72])][_0x4655e2([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])],_0x3816b7=_0x4655e2([0x63,0x6f,0x6e,0x74,0x65,0x78,0x74])in _0x3d9b8b?_0x3d9b8b['context']:_0x3d9b8b['editor'],_0x3d658f=_0x4655e2([0x34,0x30,0x34,0x38,0x31,0x30,0x34,0x30]),_0x2e0f19=_0x4655e2([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]),_0xc76b2b=_0x3816b7['config']['get'](_0x4655e2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x54a591=_0x243552[_0x4655e2([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x98e2a5)[_0x4655e2([0x66,0x69,0x6e,0x64])](_0x2dfdae=>_0x2dfdae[_0x4655e2([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]===_0xb91f9d);function _0x3bdf36(_0x122401,_0x390a57){_0x146cc9[_0x390a57[_0x4655e2([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]](_0x122401,_0x390a57),_0x390a57[_0x4655e2([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x390a57[_0x4655e2([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])][_0x4655e2([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x83316e=>_0x7860cc(_0x3816b7,_0x83316e[_0x4655e2([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))[_0x4655e2([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x40749a=>_0x3bdf36(_0x122401,_0x40749a));}function _0x67df1f(_0x5ccf04,_0x5ed3d8){_0x60ea01(_0x3042de(_0x5ccf04,_0x5ed3d8),_0x5ed3d8);}function _0x320017(_0x544bcd,_0xe8b483){function _0x2f85d1(_0x19dcf8,_0x5ebbd3){try{if(_0x7860cc(_0x3816b7,_0x4655e2([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))&&_0x19dcf8){const _0x594a32=_0x472319(_0x3816b7,_0x4655e2([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))[_0x4655e2([0x5f,0x65,0x78,0x65,0x63,0x75,0x74,0x65,0x53,0x75,0x67,0x67,0x65,0x73,0x74,0x69,0x6f,0x6e])];if(parseInt(_0x594a32)/0x2>_0x19dcf8[_0x4655e2([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])])return _0x4ce6c5(_0x5ebbd3[_0x4655e2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4655e2([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}return _0x3042de(_0x19dcf8,_0x5ebbd3);}catch(_0x6ea6da){return _0x4ce6c5(_0x5ebbd3[_0x4655e2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4655e2([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}_0x60ea01(_0x2f85d1(_0x544bcd,_0xe8b483),_0xe8b483);}function _0x4ac48a(_0x45ce2d,_0x146074){const _0x166b94=_0x4ea928[0x0]*_0x268084[0x1],_0x1071f4=_0x4ea928[0x0]*_0x268084[0x2],_0x4b0c8a=_0x4ea928[0x2]*_0x268084[0x2];_0x7860cc(_0x3816b7,_0x4655e2([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x472319(_0x3816b7,_0x4655e2([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x4655e2([0x73,0x74,0x61,0x74,0x65])]==_0x4655e2([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&(window[_0x3e28ad()]=_0x4b0c8a);function _0x155749(_0x564369,_0xf97073){try{return _0x1309ab()?_0x4ce6c5(_0xf97073[_0x4655e2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4655e2([0x56,0x61,0x6c,0x69,0x64])):_0x3042de(_0x564369,_0xf97073);}catch(_0x1efa91){return _0x4ce6c5(_0xf97073[_0x4655e2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4655e2([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x5874fe(_0x477b6c,_0x38f219){const _0x3038dd=0x7;if(_0x477b6c==_0x38f219[_0x4655e2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4655e2([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]))_0x5f4946();else{if(_0x477b6c==_0x38f219[_0x4655e2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4655e2([0x54,0x72,0x69,0x61,0x6c])){const _0x36a1a0=_0x3f45ef();_0x36a1a0&&_0x39988f(_0x36a1a0,_0x38f219[_0x4655e2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);const _0x2baff2=_0x17103b();window[_0x4655e2([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x39988f(_0x4655e2([0x74,0x69,0x6d,0x65]),_0x38f219[_0x4655e2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);},_0x2baff2);const _0x18ea1b=_0x472319(_0x3816b7,_0x4655e2([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x4655e2([0x5f,0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73])];_0x18ea1b[_0x4655e2([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x3038dd?_0x39988f(_0x4655e2([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x38f219[_0x4655e2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]):_0x18ea1b['on'](_0x4655e2([0x61,0x64,0x64]),()=>{_0x18ea1b[_0x4655e2([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x3038dd&&_0x39988f(_0x4655e2([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x38f219[_0x4655e2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);});}}}function _0x3f45ef(){if(!_0x7860cc(_0x3816b7,_0x4655e2([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x23f749 in window)if(Number['isNaN'](Number(_0x23f749))){if(window[_0x23f749]===_0x166b94)return _0x4655e2([0x74,0x69,0x6d,0x65]);if(window[_0x23f749]===_0x1071f4)return _0x4655e2([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]);}return!0x1;}function _0x1309ab(){if(!_0x7860cc(_0x3816b7,_0x4655e2([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0xf3165 in window)if(Number['isNaN'](Number(_0xf3165))&&window[_0xf3165]===_0x4b0c8a)return!0x0;return!0x1;}function _0x39988f(_0x46764c,_0x2a7982){_0x5f4946(),_0x4ce6c5(_0x2a7982+_0x4655e2([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a])+_0x46764c),window[_0x3e28ad()]=_0x46764c===_0x4655e2([0x74,0x69,0x6d,0x65])?_0x166b94:_0x1071f4;}function _0x17103b(){let _0x546dae=_0x4ea928[0x6]*_0x268084[0x8]*_0x268084[0x6];return _0x7860cc(_0x3816b7,_0x4655e2([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x546dae/=0xa),_0x546dae;}function _0x5f4946(){const _0xf816a2=_0x3816b7;function _0x236296(){_0x7860cc(_0xf816a2,_0x4655e2([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&(_0x472319(_0xf816a2,_0x4655e2([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x4655e2([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x4655e2([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x472319(_0xf816a2,_0x4655e2([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x4655e2([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x472319(_0xf816a2,_0x4655e2([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x4655e2([0x75,0x70,0x64,0x61,0x74,0x65])]=_0xf5e711,_0x472319(_0xf816a2,_0x4655e2([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x4655e2([0x73,0x61,0x76,0x65,0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e])]=_0xf5e711,_0xf816a2[_0x4655e2([0x6d,0x6f,0x64,0x65,0x6c])][_0x4655e2([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0xf5e711,_0xf816a2[_0x4655e2([0x6d,0x6f,0x64,0x65,0x6c])][_0x4655e2([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0xf5e711,_0xf816a2[_0x4655e2([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x4655e2([0x6d,0x6f,0x64,0x65,0x6c]))),_0x7860cc(_0xf816a2,_0x4655e2([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x472319(_0xf816a2,_0x4655e2([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x4655e2([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x4655e2([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x472319(_0xf816a2,_0x4655e2([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x4655e2([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x472319(_0xf816a2,_0x4655e2([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x4655e2([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])]=_0xf5e711,_0x472319(_0xf816a2,_0x4655e2([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x4655e2([0x5f,0x67,0x65,0x74,0x44,0x69,0x66,0x66])]=_0xf5e711);}_0xf816a2[_0x4655e2([0x73,0x74,0x61,0x74,0x65])]==_0x4655e2([0x72,0x65,0x61,0x64,0x79])?_0x236296():_0xf816a2[_0x4655e2([0x6f,0x6e,0x63,0x65])](_0x4655e2([0x72,0x65,0x61,0x64,0x79]),()=>{if(_0x7860cc(_0xf816a2,_0x4655e2([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&_0x236296(),_0x7860cc(_0xf816a2,_0x4655e2([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))){const _0x157828=_0x472319(_0xf816a2,_0x4655e2([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79])),_0x2f4df4=_0x157828['getRevision'](0x0),_0x499e16=_0x157828['getEarlierVisibleRevision'](_0x2f4df4[_0x4655e2([0x69,0x64])]);_0x472319(_0xf816a2,_0x4655e2([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x4655e2([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])](_0x2f4df4[_0x4655e2([0x69,0x64])],_0x499e16?_0x499e16[_0x4655e2([0x69,0x64])]:null,0x1)['then'](()=>_0x236296());}});}_0x5874fe(_0x155749(_0x45ce2d,_0x146074),_0x146074);}function _0x3042de(_0x246945,_0x2a3c4e){try{return _0x5d056b(_0x2a3c4e)?_0x4ce6c5(_0x2a3c4e[_0x4655e2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4655e2([0x56,0x61,0x6c,0x69,0x64])):_0x246945&&_0x3cecc4(_0x246945[_0x4655e2([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])],_0x2a3c4e)?_0x246945[_0x4655e2([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]&&!window[_0x4655e2([0x6f,0x70,0x65,0x6e])][_0x4655e2([0x63,0x6c,0x6f,0x73,0x65,0x64])]||parseInt(_0x3d658f)/0x2>_0x246945[_0x4655e2([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]?_0x4ce6c5(_0x2a3c4e[_0x4655e2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4655e2([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])):_0x246945[_0x4655e2([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]?_0x4ce6c5(_0x2a3c4e[_0x4655e2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4655e2([0x54,0x72,0x69,0x61,0x6c])):_0x4ce6c5(_0x2a3c4e[_0x4655e2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4655e2([0x56,0x61,0x6c,0x69,0x64])):_0x4ce6c5(_0x2a3c4e[_0x4655e2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4655e2([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}catch(_0x2aeee9){return _0x4ce6c5(_0x2a3c4e[_0x4655e2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4655e2([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x60ea01(_0x390e26,_0x54e6f5){if(_0x3816b7 instanceof _0x1d949d){const _0x5d62f2=_0x3816b7;_0x390e26==_0x54e6f5[_0x4655e2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4655e2([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x1d864d(_0x5d62f2):_0x390e26==_0x54e6f5[_0x4655e2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4655e2([0x54,0x72,0x69,0x61,0x6c])&&window[_0x4655e2([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x1d864d(_0x5d62f2),_0x4ce6c5(_0x54e6f5[_0x4655e2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4655e2([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65]));},_0x4ea928[0x6]*_0x268084[0x8]*_0x268084[0x6]),_0x5d62f2[_0x4655e2([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])][_0x4655e2([0x6f,0x6e])](_0x4655e2([0x61,0x64,0x64]),(_0xa865cf,_0x4ac1ef)=>{_0x390e26!=_0x54e6f5[_0x4655e2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4655e2([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])&&_0x390e26!=_0x54e6f5[_0x4655e2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4655e2([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65])&&_0x390e26!=_0x54e6f5[_0x4655e2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4655e2([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])||_0x2551bc(_0x4ac1ef);});}else{const _0x8d4de7=_0x3816b7;_0x390e26==_0x54e6f5[_0x4655e2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4655e2([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x2551bc(_0x8d4de7):_0x390e26==_0x54e6f5[_0x4655e2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4655e2([0x54,0x72,0x69,0x61,0x6c])&&_0x8d4de7[_0x4655e2([0x6f,0x6e])](_0x4655e2([0x72,0x65,0x61,0x64,0x79]),()=>{let _0x3f0a02=0x0;_0x8d4de7[_0x4655e2([0x6d,0x6f,0x64,0x65,0x6c])][_0x4655e2([0x6f,0x6e])](_0x4655e2([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x287448,_0x246893)=>{_0x246893[0x0][_0x4655e2([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x3f0a02++,0x1f8===_0x3f0a02&&(_0x2551bc(_0x8d4de7),_0x4ce6c5(_0x54e6f5[_0x4655e2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4655e2([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])),_0x287448[_0x4655e2([0x6f,0x66,0x66])]());},{'priority':_0x4655e2([0x68,0x69,0x67,0x68,0x65,0x73,0x74])});});}}function _0x4ce6c5(_0x17c7c4){const _0x458511=_0x3e28ad();return _0x3816b7[_0x458511]=_0x17c7c4,_0x17c7c4;}function _0x3e28ad(){const _0x4bed85=String(window[_0x4655e2([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x4655e2([0x6e,0x6f,0x77])]())[_0x4655e2([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x4655e2([0x2e]),'');let _0x149560='';for(let _0x4457bd=0x0;_0x4457bd<_0x4bed85[_0x4655e2([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4457bd+=0x2){let _0x382204=parseInt(_0x4bed85[_0x4655e2([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4457bd,_0x4457bd+0x2));_0x382204>=_0x2e0f19[_0x4655e2([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x382204-=_0x2e0f19[_0x4655e2([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x149560+=_0x2e0f19[_0x382204];}return _0x149560;}function _0x1d864d(_0x2094fe){for(const _0xc2d994 of _0x2094fe[_0x4655e2([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])])_0x2551bc(_0xc2d994);_0x472319(_0x2094fe,_0x4655e2([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x4655e2([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])](!0x0),_0x472319(_0x2094fe,_0x4655e2([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x4655e2([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])]=_0xf5e711;}function _0x2551bc(_0x200620){function _0x30d5a8(){_0x200620[_0x4655e2([0x6d,0x6f,0x64,0x65,0x6c])][_0x4655e2([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0xf5e711,_0x200620[_0x4655e2([0x6d,0x6f,0x64,0x65,0x6c])][_0x4655e2([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0xf5e711,_0x200620[_0x4655e2([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x4655e2([0x6d,0x6f,0x64,0x65,0x6c]));}_0x200620[_0x4655e2([0x73,0x74,0x61,0x74,0x65])]==_0x4655e2([0x72,0x65,0x61,0x64,0x79])?_0x30d5a8():_0x200620[_0x4655e2([0x6f,0x6e,0x63,0x65])](_0x4655e2([0x72,0x65,0x61,0x64,0x79]),()=>_0x30d5a8());}function _0xf5e711(){return null;}function _0x3cecc4(_0x4da1f1,_0x574286){const _0x3808df=!!(_0x4da1f1&_0x574286[_0x4655e2([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]),_0x418e35=_0x13fd61(_0x4da1f1,_0x574286);return _0x3808df||_0x418e35;}function _0x13fd61(_0x2aefea,_0x1247e2){const _0x4da18c=(_0x1247e2[_0x4655e2([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{})[_0x4655e2([0x66,0x67,0x69])]||null;return!!_0x4da18c&&_0x243552[_0x4655e2([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x20487c=>_0x4da18c[_0x4655e2([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x20487c[_0x4655e2([0x69,0x64])]))[_0x4655e2([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x492cb2=>!_0x2864dd(_0x492cb2))[_0x4655e2([0x73,0x6f,0x6d,0x65])](_0x51544b=>!!(_0x2aefea&_0x51544b[_0x4655e2([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]));}function _0x2864dd(_0x264fe8){const _0x4fc97f={[_0x4655e2([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])]:_0x1db1c0};return!!_0x264fe8['forbiddenHandler']&&_0x4fc97f[_0x264fe8['forbiddenHandler']]();}function _0x1db1c0(){return!window[_0x4655e2([0x44,0x72,0x75,0x70,0x61,0x6c])]||!_0x7860cc(_0x3816b7,_0x4655e2([0x64,0x72,0x75,0x70,0x61,0x6c,0x50,0x6f,0x77,0x65,0x72,0x65,0x64,0x42,0x79]));}function _0x5d056b(_0x1eb0ad){if(!_0x7860cc(_0x3816b7,_0x1eb0ad[_0x4655e2([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))return!0x0;const _0xbec1e=_0x1eb0ad[_0x4655e2([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{},_0xdb8b8d=_0xbec1e[_0x4655e2([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]||!0x1,_0x202690=_0xbec1e[_0x4655e2([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]||!0x1,_0x44ef5b=_0xbec1e[_0x4655e2([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]||!0x1;if(_0x7860cc(_0x3816b7,_0x4655e2([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x472319(_0x3816b7,_0x4655e2([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x4655e2([0x73,0x74,0x61,0x74,0x65])]==_0x4655e2([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&_0xdb8b8d)return!0x0;if(_0x7860cc(_0x3816b7,_0x4655e2([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))&&_0x472319(_0x3816b7,_0x4655e2([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))[_0x4655e2([0x72,0x65,0x73,0x75,0x6c,0x74])]==_0x4655e2([0x65,0x6e,0x64])&&_0x202690)return!0x0;return!(!_0x7860cc(_0x3816b7,_0x4655e2([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]))||_0x472319(_0x3816b7,_0x4655e2([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]))[_0x4655e2([0x72,0x65,0x73,0x75,0x6c,0x74])]!=_0x4655e2([0x65,0x6e,0x64])||!_0x44ef5b);}function _0x7860cc(_0x2ac9ad,_0x35925f){return _0x2ac9ad[_0x4655e2([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x4655e2([0x68,0x61,0x73])](_0x35925f);}function _0x472319(_0xcff87,_0x137ce5){return _0xcff87[_0x4655e2([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x4655e2([0x67,0x65,0x74])](_0x137ce5);}function _0x3734b4(_0x258e64){let _0x555f78='';for(const _0x5ae6bd of _0x258e64)_0x555f78+=String[_0x4655e2([0x66,0x72,0x6f,0x6d,0x43,0x68,0x61,0x72,0x43,0x6f,0x64,0x65])](_0x5ae6bd);return _0x555f78;}function _0x14ab94(_0x17fd43){const _0x50ad14=new Uint8Array(_0x17fd43[_0x4655e2([0x6c,0x65,0x6e,0x67,0x74,0x68])]);for(let _0x467af1=0x0;_0x467af1<_0x17fd43[_0x4655e2([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x467af1++)_0x50ad14[_0x467af1]=_0x17fd43[_0x4655e2([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x467af1);return _0x50ad14;}_0x54a591&&_0x3bdf36(_0x480756(_0xc76b2b),_0x54a591);})(_0x44012a);}(this);}['createRevision'](_0x17c0c8){const _0x34b7cd=this['editor']['plugins']['get']('Users');return new a({'id':_0x17c0c8['id'],'name':_0x17c0c8['name'],'creator':_0x17c0c8['creatorId']?_0x34b7cd['getUser'](_0x17c0c8['creatorId']):null,'diffData':_0x17c0c8['diffData']||_0x17c0c8['data'],'authors':_0x17c0c8['authorsIds']['map'](_0x22abca=>_0x34b7cd['getUser'](_0x22abca)),'createdAt':new Date(_0x17c0c8['createdAt']),'attributes':_0x17c0c8['attributes'],'fromVersion':_0x17c0c8['fromVersion'],'toVersion':_0x17c0c8['toVersion']});}['addRevision'](_0x3512ef,_0x4e5e42=0x0){this['_revisions']['add'](_0x3512ef,_0x4e5e42);}['getRevision'](_0x13bb2a){return this['_revisions']['get'](_0x13bb2a);}['getRevisions'](_0x1be948={'toJSON':!0x1}){const _0x252127=Array['from'](this['_revisions']);return _0x252127['reverse'](),_0x1be948['toJSON']?_0x252127['map'](_0x174c8a=>_0x174c8a['toJSON']()):_0x252127;}['getIndex'](_0x5f1e7e){return this['_revisions']['getIndex'](_0x5f1e7e);}['getEarlierVisibleRevision'](_0x5b00d3){const [,_0x3b2e74]=this['getRevisionsIterator'](_0x5b00d3,{'direction':'earlier'});return _0x3b2e74;}['getLaterVisibleRevision'](_0x32c972){const [,_0x5d2cdd]=this['getRevisionsIterator'](_0x32c972,{'direction':'later'});return _0x5d2cdd;}['getRevisionsInDiff'](_0x4026db){const _0x110efb=[];for(const _0x38d0fe of this['getRevisionsIterator'](_0x4026db['newRevisionId']))if(_0x110efb['push'](_0x38d0fe),_0x38d0fe['id']===_0x4026db['oldRevisionId'])break;return _0x110efb;}*['getRevisionsIterator'](_0x208ac2,{direction:_0x599672='earlier',filter:_0x206f90=_0x1f1f37=>!0x0}={}){const _0x183e71='earlier'===_0x599672?0x1:-0x1;let _0xb24463=this['_revisions']['get'](_0x208ac2),_0x2af9af=this['getIndex'](_0xb24463);for(yield _0xb24463;_0xb24463;){if(_0x2af9af+=_0x183e71,_0xb24463=this['getRevision'](_0x2af9af),!_0xb24463)return;_0x206f90(_0xb24463)&&(yield _0xb24463);}}}function y(_0x39a142,_0x5565a8,_0x2da3f0){const t=_0x39a142['t'];switch(_0x5565a8){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'},_0x2da3f0);case'X_OF_Y_CHANGES':return t({'string':'%0\x20of\x20%1','id':'X_OF_Y_CHANGES'},_0x2da3f0);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':_0x1b252d,'a':_0x23b0a5,'e':_0x19cd29,'r':_0x192077,'u':_0x451fb8};class l extends _0x3b354a{['adapter'];['currentRevision'];['repository'];['_revisionDataBuilder'];['_source'];['_initialRevisionId'];['_bufferedUpdates'];['_pendingAction'];['_continueCurrentRevision'];['_startingVersion'];['_loadedStateData'];static get['pluginName'](){return'RevisionTracker';}static get['requires'](){return[_0x4111a1,A,_0x3eedce];}constructor(_0x2ce51d){super(_0x2ce51d),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 _0x1a3c8b=_0x1103df();this['_source']={'history':this['editor']['model']['document']['history'],'getLatestVersion':()=>Promise['resolve'](this['editor']['model']['document']['version']),'getCurrentRevisionId':()=>_0x1a3c8b},this['set']('isReady',!0x1),this['set']('isEnabled',!0x0),this['set']('_isPendingUpdate',!0x1),this['editor']['config']['define']('revisionHistory.resumeUnsavedRevision',!0x0),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'revision'});}['init'](){this['repository']=this['editor']['plugins']['get']('RevisionsRepository'),this['_setConversion'](),this['editor']['data']['on']('ready',()=>{const _0x4dbcff=this['repository']['getRevision'](0x0),_0x3e9470=_0x4dbcff&&null===_0x4dbcff['creator']?_0x4dbcff:null;if(this['_continueCurrentRevision']=!!_0x3e9470&&this['editor']['config']['get']('revisionHistory.resumeUnsavedRevision'),this['editor']['plugins']['has']('RealTimeCollaborationClient')){const _0x4f3e55=this['_source']['getCurrentRevisionId'](),_0x188824=this['repository']['getRevision'](_0x4f3e55);if(_0x188824)this['_startingVersion']=_0x188824['fromVersion'],this['_continueCurrentRevision']=!0x1;else{const _0x2f8803=this['_source']['history']['_operations']['find'](_0x1a8e05=>!_0x1a8e05['_isInit']),_0x4ad28c=_0x2f8803?_0x2f8803['baseVersion']:this['_source']['history']['version'];_0x4dbcff?(_0x4dbcff['toVersion']<_0x4ad28c&&_0x4dbcff['_update']({'toVersion':_0x4ad28c}),this['_continueCurrentRevision']?(this['_source']['getCurrentRevisionId']=()=>_0x3e9470['id'],this['_startingVersion']=_0x3e9470['fromVersion']):(this['_startingVersion']=_0x4dbcff['toVersion'],this['_continueCurrentRevision']=!0x1)):(this['_startingVersion']=_0x4ad28c,this['_continueCurrentRevision']=!0x1);}}else _0x3e9470&&(this['editor']['model']['document']['history']['version']=Math['max'](_0x3e9470['toVersion'],this['editor']['model']['document']['history']['version']),_0x3e9470['fromVersion']===_0x3e9470['toVersion']?(0x0!==_0x3e9470['fromVersion']&&(this['_source']['getCurrentRevisionId']=()=>_0x3e9470['id']),this['_continueCurrentRevision']=!0x1):this['_continueCurrentRevision']&&(this['_source']['getCurrentRevisionId']=()=>_0x3e9470['id'],this['_startingVersion']=_0x3e9470['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',_0x3ae14c=>!_0x3ae14c);}async['afterInit'](){if(this['repository']['length']>0x0){const _0x2976f6=this['repository']['getRevision'](0x0),_0x52de52=await this['getRevisionDocumentData'](_0x2976f6),_0x385eb7=await this['getRevisionRootsAttributes'](_0x2976f6);this['_replaceEditorDataWithRevisionData'](_0x52de52,_0x385eb7);}}['setSource'](_0x3eaed2){this['_source']=_0x3eaed2;}async['update'](){const _0x9e19dc=await this['_source']['getLatestVersion']();if(_0x9e19dc>this['currentRevision']['toVersion']){await this['_loadState']();const _0x4fa014=this['buildRevisionData']({'revision':this['currentRevision'],'to':_0x9e19dc});_0x4fa014['authors']=_0x4fa014['authorsIds']['map'](_0x11a48c=>this['editor']['plugins']['get']('Users')['getUser'](_0x11a48c)),this['currentRevision']['_update'](_0x4fa014);}}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'](_0x227704={},_0x4a6310=null){const _0x303262=[];await this['_loadState'](),this['_continueCurrentRevision']=!0x1,_0x4a6310>this['currentRevision']['toVersion']&&(_0x4a6310=null),null===_0x4a6310&&(_0x4a6310=await this['_source']['getLatestVersion']());const _0x197977=this['_getFromVersion'](_0x4a6310),_0x4b4ebb=this['buildRevisionData']({'from':_0x197977,'to':_0x4a6310});if(this['currentRevision']['toVersion']<_0x4a6310){const _0x3d0b2b=this['buildRevisionData']({'revision':this['currentRevision'],'from':_0x4a6310,'to':_0x4a6310});_0x3d0b2b['authors']=[],_0x3d0b2b['authorsIds']=[],_0x3d0b2b['id']=this['currentRevision']['id'],this['currentRevision']['_update'](_0x3d0b2b,!0x0),delete _0x3d0b2b['authors'],_0x303262['push'](_0x3d0b2b);}_0x227704['creatorId']=this['editor']['plugins']['get']('Users')['me']['id'],_0x227704['name']=_0x227704['name']||null,_0x227704['id']=_0x227704['id']||_0x1103df(),_0x227704={..._0x227704,..._0x4b4ebb};const _0x1040ce=this['addRevisionData'](_0x227704);_0x303262['push'](_0x227704);const _0xe52840=this['repository']['getIndex'](_0x1040ce);if(0x0!==_0xe52840){const _0x3e6ed0=this['repository']['getRevision'](_0xe52840-0x1);if(_0x3e6ed0['fromVersion']!==_0x4a6310){const _0x3b5381=this['_revisionDataBuilder']['getData'](_0x4a6310,_0x3e6ed0['toVersion']),_0x4596b2={'id':_0x3e6ed0['id'],'diffData':_0x3b5381['diffData'],'authorsIds':_0x3b5381['authorsIds'],'authors':_0x3b5381['authorsIds']['map'](_0xd92120=>this['editor']['plugins']['get']('Users')['getUser'](_0xd92120)),'fromVersion':_0x4a6310};_0x3e6ed0===this['currentRevision']&&(_0x4596b2['createdAt']=new Date(_0x227704['createdAt']['getTime']()+0xa)),_0x3e6ed0['_update'](_0x4596b2,!0x0),delete _0x4596b2['authors'],_0x303262['push'](_0x4596b2);}}if(this['adapter']){for(const _0x2aa35d of _0x303262)this['_bufferUpdate'](_0x2aa35d['id'],_0x2aa35d,!0x0);this['sendBufferedUpdates']();}return _0x1040ce;}['addRevisionData'](_0x27ec53){const _0x4091d5=this['repository']['createRevision'](_0x27ec53);return this['adapter']&&_0x4091d5['on']('_update',(_0x2909c1,_0x2e5e7c,_0x60b659)=>{_0x60b659||(this['_bufferUpdate'](_0x2e5e7c['id'],_0x2e5e7c,!0x0),this['sendBufferedUpdates']());}),this['repository']['addRevision'](_0x4091d5,this['_findInsertionIndex'](_0x4091d5)),_0x4091d5;}async['getRevisionDocumentData'](_0x26bc71){await this['_loadRevisionData'](_0x26bc71);const _0x1c3c1a={};for(const _0xf7ffbf in _0x26bc71['diffData']){if(_0x26bc71['diffData'][_0xf7ffbf]['attachChange']&&!_0x26bc71['diffData'][_0xf7ffbf]['attachChange']['isAttached'])continue;const _0x3caf72=this['_removeRevisionMarkers'](JSON['parse'](_0x26bc71['diffData'][_0xf7ffbf]['insertions'])),_0x2a5a0c=this['editor']['editing']['view']['document'],_0x30a07b=new _0x1cd1e9(_0x2a5a0c,_0x3caf72['map'](_0x1af82f=>B(_0x1af82f,this['editor'])));this['editor']['data']['processor']['useFillerType']('marked'),_0x1c3c1a[_0xf7ffbf]=this['editor']['data']['processor']['toData'](_0x30a07b),this['editor']['data']['processor']['useFillerType']('default');}return _0x1c3c1a;}async['getRevisionRootsAttributes'](_0x410741){await this['_loadRevisionData'](_0x410741);const _0x26164a={};for(const _0x961fb2 in _0x410741['diffData'])_0x410741['diffData'][_0x961fb2]['attachChange']&&!_0x410741['diffData'][_0x961fb2]['attachChange']['isAttached']||(_0x26164a[_0x961fb2]=_0x410741['diffData'][_0x961fb2]['attributesAfter']||{});return _0x26164a;}['sendBufferedUpdates'](){if(0x0===this['_bufferedUpdates']['size'])return;if(this['_isPendingUpdate'])return;let _0x513d09=Array['from'](this['_bufferedUpdates']['values']());this['_bufferedUpdates']['clear']();for(let _0x390853=0x0;_0x390853<_0x513d09['length'];_0x390853++){const _0xbe9aaf=_0x513d09[_0x390853];let _0x210a42=!0x1;for(const _0x49773 of Object['keys'](_0xbe9aaf))void 0x0===_0xbe9aaf[_0x49773]?delete _0xbe9aaf[_0x49773]:'id'!==_0x49773&&(_0x210a42=!0x0);_0x210a42||(_0x513d09[_0x390853]=null);}if(_0x513d09=_0x513d09['filter'](_0x42c1ee=>null!==_0x42c1ee),!_0x513d09['length'])return;for(let _0x4b561a=0x0;_0x4b561a<_0x513d09['length'];_0x4b561a++){const _0x33d110=_0x513d09[_0x4b561a];void 0x0!==_0x33d110['fromVersion']&&void 0x0===_0x33d110['toVersion']&&(_0x33d110['toVersion']=this['repository']['getRevision'](_0x33d110['id'])['toVersion']),void 0x0!==_0x33d110['toVersion']&&void 0x0===_0x33d110['fromVersion']&&(_0x33d110['fromVersion']=this['repository']['getRevision'](_0x33d110['id'])['fromVersion']);}const _0x2d82f8=this['editor']['config']['get']('collaboration.channelId');this['_isPendingUpdate']=!0x0,this['_addPendingAction'](),this['adapter']['updateRevisions'](_0x513d09,_0x2d82f8)['finally'](()=>{this['_isPendingUpdate']=!0x1;})['then'](_0x48b8f5=>{if(_0x48b8f5){for(const _0x10d512 of _0x48b8f5)this['setRevisionData']({'id':_0x10d512['id'],'createdAt':_0x10d512['createdAt']});}this['_removePendingAction'](),this['sendBufferedUpdates']();});}['_replaceEditorDataWithRevisionData'](_0x347dbe,_0x4e92b8){let _0x1ca61b=this['editor']['config']['get']('initialData'),_0x3fe336=this['editor']['config']['get']('rootsAttributes');if(void 0x0===_0x1ca61b){_0x1ca61b={};for(const _0x507b08 of this['editor']['model']['document']['getRootNames']())_0x1ca61b[_0x507b08]='';}if('string'==typeof _0x1ca61b&&(_0x1ca61b={'main':_0x1ca61b}),void 0x0===_0x3fe336){_0x3fe336={};for(const _0x49ae0d of this['editor']['model']['document']['getRootNames']())_0x3fe336[_0x49ae0d]={};}let _0x165c20=!0x1;const _0x91bf07=Object['keys'](_0x1ca61b),_0x566629=Object['keys'](_0x347dbe);for(const _0x4870bc of _0x91bf07){if(_0x1ca61b[_0x4870bc]!==_0x347dbe[_0x4870bc]&&''!==_0x1ca61b[_0x4870bc]['trim']()){_0x165c20=!0x0;break;}if(!_0x4709b4(_0x3fe336[_0x4870bc],_0x4e92b8[_0x4870bc])&&Object['keys'](_0x3fe336[_0x4870bc])['length']>0x0){_0x165c20=!0x0;break;}}_0x165c20||(_0x165c20=_0x566629['some'](_0x27c934=>!this['editor']['model']['document']['getRoot'](_0x27c934))),_0x165c20&&_0x3cc16a('editor-initial-data-replaced-with-revision-data',{'editorData':_0x1ca61b,'editorRootsAttributes':_0x3fe336,'revisionData':_0x347dbe,'revisionRootsAttributes':_0x4e92b8}),this['editor']['config']['set']('initialData',_0x347dbe),this['editor']['config']['set']('rootsAttributes',_0x4e92b8);}['_addPendingAction'](){if(!this['_pendingAction']){const _0x48d912=this['editor']['plugins']['get']('PendingActions');this['_pendingAction']=_0x48d912['add'](y(this['editor']['locale'],'PENDING_ACTION_REVISION_HISTORY'));}}['_removePendingAction'](){this['_pendingAction']&&(this['editor']['plugins']['get']('PendingActions')['remove'](this['_pendingAction']),this['_pendingAction']=null);}['_findInsertionIndex'](_0xa7ee22){const _0x3016e9=this['repository']['getRevisions']();_0x3016e9['reverse']();let _0x245d84=0x0;for(;_0x245d84<_0x3016e9['length'];){const _0x103bd0=_0x3016e9[_0x245d84];if(_0x103bd0===this['currentRevision']){_0x245d84++;continue;}if(_0x103bd0['id']===this['_initialRevisionId'])break;const _0x4cb404=_0xa7ee22['toVersion']-_0x103bd0['toVersion']||_0xa7ee22['fromVersion']-_0x103bd0['fromVersion'];if(_0x4cb404>0x0)break;if(_0x4cb404<0x0)_0x245d84++;else{if(!_0xa7ee22['creator']&&_0x103bd0['creator'])break;if(_0x103bd0['creator']||!_0xa7ee22['creator']){if(_0xa7ee22['createdAt']>_0x103bd0['createdAt'])break;_0x245d84++;}else _0x245d84++;}}return _0x245d84;}['setRevisionData'](_0x594749){const _0x19283a=this['repository']['getRevision'](_0x594749['id']);if(_0x594749['createdAt']&&(_0x594749['createdAt']=new Date(_0x594749['createdAt'])),_0x594749['authorsIds']){const _0x2561d0=this['editor']['plugins']['get']('Users');_0x594749['authors']=_0x594749['authorsIds']['map'](_0x57b620=>_0x2561d0['getUser'](_0x57b620));}_0x19283a['_update'](_0x594749,!0x0);}['buildRevisionData']({revision:_0x212575=null,from:_0x210fb8=null,to:_0x222fd3=null}){_0x210fb8=null!==_0x210fb8?_0x210fb8:_0x212575['fromVersion'],_0x222fd3=null!==_0x222fd3?_0x222fd3:_0x212575['toVersion'];const _0x28a97a=this['_revisionDataBuilder']['getData'](_0x210fb8,_0x222fd3),_0x3bec9e={'diffData':_0x28a97a['diffData'],'authorsIds':_0x28a97a['authorsIds'],'fromVersion':_0x210fb8,'toVersion':_0x222fd3};if(!_0x212575||_0x222fd3!==_0x212575['toVersion']){const _0x37c753=_0x222fd3-0x1,_0x4065a9=this['_source']['history']['getOperation'](_0x37c753);_0x3bec9e['createdAt']=_0x4065a9&&_0x4065a9['createdAt']||new Date();}if(this['_loadedStateData']&&_0x210fb8===this['_loadedStateData']['fromVersion']){for(const _0x4bb61f of this['_loadedStateData']['authors'])_0x3bec9e['authorsIds']['includes'](_0x4bb61f['id'])||_0x3bec9e['authorsIds']['push'](_0x4bb61f['id']);}return _0x3bec9e;}['_loadRevisionData'](_0x52de9d){if(!_0x52de9d||_0x52de9d['diffData'])return Promise['resolve']();{const _0x9636a3=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0x9636a3,'revisionId':_0x52de9d['id']})['then'](_0x164c9d=>{_0x52de9d['diffData']=_0x164c9d['diffData'];});}}['_bufferUpdate'](_0x590229,_0x8512bf,_0x9a00db){if(this['_bufferedUpdates']['has'](_0x590229)){const _0x40702b=this['_bufferedUpdates']['get'](_0x590229);_0x8512bf=_0x9a00db?{..._0x40702b,..._0x8512bf}:{..._0x8512bf,..._0x40702b};}this['_bufferedUpdates']['set'](_0x590229,_0x8512bf);}['_getFromVersion'](_0x4d259d){const _0x4f8087=this['repository']['getRevisions']();_0x4f8087['reverse'](),_0x4f8087['shift']();const _0x3db34c=_0x4f8087['find'](_0x19fd26=>_0x19fd26['toVersion']<=_0x4d259d)['toVersion'];return _0x3db34c<this['_startingVersion']?this['_startingVersion']:_0x3db34c;}['_createInitialRevision'](_0x1b90e4){const _0xb3cb99=this['repository']['getRevision'](this['repository']['length']-0x1);if(_0xb3cb99)this['_initialRevisionId']=_0xb3cb99['id'];else{const _0x38f65e=!this['editor']['model']['document']['roots']['find'](_0x4fc71e=>this['editor']['model']['hasContent'](_0x4fc71e)),_0x114c88=this['editor']['plugins']['get']('Users')['me']['id'],_0x420264=y(this['editor']['locale'],_0x38f65e?'Empty\x20document':'Initial\x20revision');this['_makeRevision']({'from':_0x1b90e4,'to':_0x1b90e4,'id':this['_initialRevisionId'],'name':_0x420264,'creatorId':_0x114c88});}}['_createCurrentRevision'](_0x20eef3){const _0x5b5aa6=this['_source']['getCurrentRevisionId']();this['currentRevision']=this['repository']['getRevision'](_0x5b5aa6),this['currentRevision']||(this['currentRevision']=this['_makeRevision']({'from':_0x20eef3,'to':_0x20eef3,'id':_0x5b5aa6,'name':'','creatorId':null}));}['_makeRevision']({name:_0x494573,from:_0x538a50,to:_0x32c980,creatorId:_0x1389d1,id:_0x479384}){const _0x1ef355=this['buildRevisionData']({'from':_0x538a50,'to':_0x32c980});_0x1ef355['name']=_0x494573,_0x1ef355['creatorId']=_0x1389d1,_0x1ef355['id']=_0x479384;const _0x582f12=this['addRevisionData'](_0x1ef355);return this['adapter']&&this['_bufferUpdate'](_0x1ef355['id'],_0x1ef355,!0x0),_0x582f12;}['_setConversion'](){this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'});}['_removeRevisionMarkers'](_0x20bed9){return(_0x20bed9=_0x20bed9['filter'](_0x149511=>!_0x149511['name']||'revision-start'!==_0x149511['name']&&'revision-end'!==_0x149511['name']))['forEach'](_0x206a1b=>{'string'!=typeof _0x206a1b&&(_0x206a1b['children']=this['_removeRevisionMarkers'](_0x206a1b['children']),_0x206a1b['attributes']=_0x206a1b['attributes']['filter'](_0x4a1cd0=>!_0x4a1cd0[0x0]['startsWith']('data-revision-')));}),_0x20bed9;}}function B(_0x343bdb,_0x202e49){const _0x4bff8c=_0x202e49['editing']['view']['document'];if('string'==typeof _0x343bdb)return new _0x224633(_0x4bff8c,_0x343bdb);{const _0x266b82=_0x343bdb['children']['map'](_0x56bb58=>B(_0x56bb58,_0x202e49));return new(T[_0x343bdb['type']]||_0x33898b)(_0x4bff8c,_0x343bdb['name'],_0x343bdb['attributes'],_0x266b82);}}class J{['editor'];['source'];['_savedMetaData'];['_lastFrom'];['_lastTo'];['_markers'];['_diffRoots'];['_diffRootsAttributes'];['_baseRoots'];['_baseRootsAttributes'];['_idsRoots'];['_baseIdsRoots'];['_touched'];['_touchedMarkers'];['_touchedRoots'];['_revisionId'];['_startingRevisionId'];constructor(_0x4ed47f){this['editor']=_0x4ed47f,this['_savedMetaData']=new Map(),this['_lastFrom']=-0x1,this['_lastTo']=-0x1,this['_markers']=new Map(),this['_diffRoots']=new Map(),this['_diffRootsAttributes']=new Map(),this['_baseRoots']=new Map(),this['_baseRootsAttributes']=new Map(),this['_idsRoots']=new Map(),this['_baseIdsRoots']=new Map(),this['_touched']=new Map(),this['_touchedMarkers']=new Map(),this['_touchedRoots']=new Map(),this['_revisionId']=0x1;}['init'](_0x15214e){this['source']=_0x15214e;const _0x4b64b7=new Map(),_0x33288c=new Map(),_0x166970=this['editor']['model']['document']['roots']['map'](_0x3f4add=>_0x3f4add['rootName']);for(const _0xe4247d of _0x166970){const _0xf2e481=this['editor']['model']['document']['getRoot'](_0xe4247d),_0x2ece5b=q(_0xf2e481);_0x4b64b7['set'](_0xe4247d,_0x2ece5b),_0x33288c['set'](_0xe4247d,Object['fromEntries'](_0xf2e481['getAttributes']()));}const _0x2db05e=Array['from'](this['editor']['model']['markers'])['map'](_0x3ed7ba=>[_0x3ed7ba['name'],_0x3ed7ba['getRange']()]),_0x346848=this['source']['version'];this['_saveMetaData'](_0x346848,_0x4b64b7,_0x2db05e,_0x33288c),this['_startingRevisionId']=this['_revisionId'];const _0x4fd8c6=new Map(),_0x3228ee=new Map();for(const _0x4d5ec4 of _0x166970){const _0x3bace1=G(_0x4d5ec4);_0x4fd8c6['set'](_0x4d5ec4,_0x3bace1),_0x3228ee['set'](_0x4d5ec4,{});}this['_saveMetaData'](Number['NEGATIVE_INFINITY'],_0x4fd8c6,[],_0x3228ee);}['getData'](_0x583017,_0x4c66f2){if(this['_lastFrom']===_0x583017&&this['_lastTo']<=_0x4c66f2)this['_savedMetaData']['size']>0x1&&this['_removeMetaData'](this['_lastTo']),this['_applyOperations'](this['_lastTo'],_0x4c66f2,!0x0);else{if(!this['_savedMetaData']['has'](_0x583017)){const _0x22f1c8=this['_getPreviousFrom'](_0x583017);this['_calculateMetaData'](_0x22f1c8,_0x583017,!0x1);}this['_calculateMetaData'](_0x583017,_0x4c66f2,!0x0);}return this['_lastFrom']=_0x583017,this['_lastTo']=_0x4c66f2,this['_getState']();}['loadState'](_0x11272b){this['_reset'](),this['_lastFrom']=_0x11272b['fromVersion'],this['_lastTo']=_0x11272b['toVersion'];for(const _0xa29f0e in _0x11272b['diffData']){const _0x2f5d2e=_0x11272b['diffData'][_0xa29f0e]['attachChange'],_0x425814=_0x269407(_0x11272b['diffData'][_0xa29f0e]['attributesBefore'])||{},_0x59bbff=this['_makeModelFromViewString'](_0x11272b['diffData'][_0xa29f0e]['deletions']);_0x59bbff['rootName']=_0xa29f0e,_0x59bbff['_isAttached']=!_0x2f5d2e||!_0x2f5d2e['isAttached'],_0x59bbff['isAttached']=()=>_0x59bbff['_isAttached'],this['_baseRoots']['set'](_0xa29f0e,_0x59bbff),this['_baseRootsAttributes']['set'](_0xa29f0e,_0x425814),_0x2f5d2e&&this['_touchedRoots']['set'](_0xa29f0e,_0x2f5d2e);const _0xc1dfb7=this['_makeIdsRoot'](_0x59bbff);this['_baseIdsRoots']['set'](_0xa29f0e,_0xc1dfb7);for(const [_0x56f637,_0x2bd6d1]of _0x59bbff['markers']){if(!_0x56f637['startsWith']('revision:'))continue;const _0x57464d=_0x56f637['split'](':')[0x2];for(const _0x2a63d9 of _0x2bd6d1['getWalker']({'singleCharacters':!0x0})){const _0x15d6ce=this['_getVidAttributeName'](_0x2a63d9),_0x216b0d='elementEnd'==_0x2a63d9['type']?_0x2a63d9['previousPosition']['path']['slice'](0x0,-0x1):_0x2a63d9['previousPosition']['path'],_0x26c837=_0xc1dfb7['getNodeByPath'](_0x216b0d)['getAttribute'](_0x15d6ce);this['_touched']['set'](_0x26c837,{'userId':_0x57464d});}}}this['_startingRevisionId']=this['_revisionId'];const _0x2ecf25=[...Array(this['_revisionId'])['keys']()]['slice'](0x1)['filter'](_0x36c55a=>!this['_touched']['has'](_0x36c55a));let _0x17408b=0x0;const _0x5c86da=new Map();for(const _0x32fedd in _0x11272b['diffData']){const _0x40f644=_0x11272b['diffData'][_0x32fedd]['attachChange'],_0x4cf705=_0x269407(_0x11272b['diffData'][_0x32fedd]['attributesAfter'])||{},_0x539f1d=this['_makeModelFromViewString'](_0x11272b['diffData'][_0x32fedd]['insertions']);_0x539f1d['rootName']=_0x32fedd,_0x539f1d['_isAttached']=!_0x40f644||_0x40f644['isAttached'],_0x539f1d['isAttached']=()=>_0x539f1d['_isAttached'],this['_diffRoots']['set'](_0x32fedd,_0x539f1d),this['_diffRootsAttributes']['set'](_0x32fedd,_0x4cf705);const _0x58d999=this['_makeIdsRoot'](_0x539f1d,Number['NEGATIVE_INFINITY']);this['_idsRoots']['set'](_0x32fedd,_0x58d999),_0x5c86da['set'](_0x32fedd,_0x539f1d['isAttached']()?_0x4cf705:{});for(const [_0x5e98e1,_0x438f4d]of _0x539f1d['markers']){if(!_0x5e98e1['startsWith']('revision:'))continue;const _0x1ca8ab=_0x5e98e1['split'](':')[0x2];for(const _0x15d9eb of _0x438f4d['getWalker']({'singleCharacters':!0x0})){const _0x3e8b41=this['_getVidAttributeName'](_0x15d9eb),_0x58345d=this['_revisionId']++,_0x1d5728='elementEnd'==_0x15d9eb['type']?_0x15d9eb['previousPosition']['path']['slice'](0x0,-0x1):_0x15d9eb['previousPosition']['path'];_0x58d999['getNodeByPath'](_0x1d5728)['_setAttribute'](_0x3e8b41,_0x58345d),this['_touched']['set'](_0x58345d,{'userId':_0x1ca8ab});}}for(const _0x5b22ca of this['editor']['model']['createRangeIn'](_0x539f1d)['getWalker']({'singleCharacters':!0x0})){const _0x876c4a=this['_getVidAttributeName'](_0x5b22ca),_0x360264='elementEnd'==_0x5b22ca['type']?_0x5b22ca['previousPosition']['path']['slice'](0x0,-0x1):_0x5b22ca['previousPosition']['path'],_0x40b3a6=_0x58d999['getNodeByPath'](_0x360264);_0x40b3a6['getAttribute'](_0x876c4a)>0x0||_0x40b3a6['_setAttribute'](_0x876c4a,_0x2ecf25[_0x17408b++]);}for(const [_0x1d2909,_0x381171]of _0x539f1d['markers'])_0x1d2909['startsWith']('revision:')||this['_markers']['set'](_0x1d2909,_0x381171);}const _0xb65224=G('$graveyard');this['_baseRoots']['set']('$graveyard',_0xb65224),this['_baseIdsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0xb65224,0x1));const _0x29fe6b=G('$graveyard');this['_diffRoots']['set']('$graveyard',_0x29fe6b),this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x29fe6b,0x1));const _0x1df025=Array['from'](this['_diffRoots'])['map'](([_0x5cfcb2,_0x1aa821])=>[_0x5cfcb2,q(_0x1aa821)]);this['_saveMetaData'](this['_lastTo'],_0x1df025,this['_markers'],_0x5c86da);}['_makeModelFromViewString'](_0xcf825f){const _0x1aa577=JSON['parse'](_0xcf825f),_0x1db2e0=this['editor']['editing']['view']['document'],_0x1daa20=new _0x1cd1e9(_0x1db2e0,_0x1aa577['map'](_0x34891b=>B(_0x34891b,this['editor'])));return this['editor']['data']['toModel'](_0x1daa20);}['_saveMetaData'](_0x2ccd95,_0x1cc0fe,_0x207e9e,_0x46a019){const _0x5f201f=new Map(_0x1cc0fe),_0x32c598=new Map(_0x269407(_0x46a019)),_0x4ec1b7=new Map();for(const [_0x198100,_0x3ffe5c]of _0x207e9e)_0x4ec1b7['set'](_0x198100,{'start':_0x3ffe5c['start']['clone'](),'end':_0x3ffe5c['end']['clone'](),'rootName':_0x3ffe5c['root']['rootName']});this['_savedMetaData']['set'](_0x2ccd95,{'roots':_0x5f201f,'markers':_0x4ec1b7,'rootsAttributes':_0x32c598});}['_removeMetaData'](_0x415b9a){this['_savedMetaData']['delete'](_0x415b9a);}['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'](_0x2cf7e5,_0x5a225d=null){let _0x48dc1e=null;_0x2cf7e5['is']('documentFragment')||(_0x48dc1e=new ft(_0x2cf7e5['name'],{'vid_start':null===_0x5a225d?this['_revisionId']++:_0x5a225d++}));const _0x1e3139=[];for(const _0x503071 of _0x2cf7e5['getChildren']())if(_0x503071['is']('element')){_0x1e3139['push'](this['_makeIdsRoot'](_0x503071,_0x5a225d));const _0x4e7081=_0x1e3139[_0x1e3139['length']-0x1];null!==_0x5a225d&&(_0x5a225d=_0x4e7081['is']('element','$text')?_0x4e7081['getAttribute']('vid')+0x1:_0x4e7081['getAttribute']('vid_end')+0x1);}else{for(let _0x279f09=0x0;_0x279f09<_0x503071['offsetSize'];_0x279f09++)_0x1e3139['push'](new ft('$text',{'vid':null===_0x5a225d?this['_revisionId']++:_0x5a225d++}));}if(_0x2cf7e5['is']('documentFragment')){const _0x58e675=G(_0x2cf7e5['rootName']);return _0x58e675['_insertChild'](0x0,_0x1e3139),_0x58e675;}return _0x48dc1e['_setAttribute']('vid_end',null===_0x5a225d?this['_revisionId']++:_0x5a225d++),_0x48dc1e['_insertChild'](0x0,_0x1e3139),_0x48dc1e;}['_calculateMetaData'](_0x315409,_0x5e2091,_0x519145){this['_reset']();const {roots:_0xb28a95,markers:_0x2c0568,rootsAttributes:_0x478aa7}=this['_savedMetaData']['get'](_0x315409);this['_baseRoots']=new Map(_0xb28a95),this['_baseRootsAttributes']=new Map(_0x269407(_0x478aa7));for(const [_0x398188,_0x249be3]of this['_baseRoots'])if('$graveyard'!==_0x398188&&(this['_diffRoots']['set'](_0x398188,q(_0x249be3)),this['_diffRootsAttributes']=new Map(_0x269407(_0x478aa7)),_0x519145)){const _0x45037c=this['_revisionId'];this['_idsRoots']['set'](_0x398188,this['_makeIdsRoot'](_0x249be3)),this['_baseIdsRoots']['set'](_0x398188,this['_makeIdsRoot'](_0x249be3,_0x45037c));}this['_startingRevisionId']=this['_revisionId'],this['_diffRoots']['set']('$graveyard',q(this['_baseRoots']['get']('$graveyard'))),_0x519145&&this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](this['_baseRoots']['get']('$graveyard')));for(const [_0x4157ff,_0x834f6]of _0x2c0568){const _0x372a0d=this['_baseRoots']['get'](_0x834f6['rootName']),_0x29af4c=this['_diffRoots']['get'](_0x834f6['rootName']),_0x5515b0=new vt(this['_fixPosition'](_0x834f6['start'],_0x372a0d),this['_fixPosition'](_0x834f6['end'],_0x372a0d)),_0x27b799=this['_fixRange'](_0x5515b0,_0x29af4c);_0x372a0d['markers']['set'](_0x4157ff,_0x5515b0),this['_markers']['set'](_0x4157ff,_0x27b799);}this['_applyOperations'](_0x315409,_0x5e2091,_0x519145);}['_applyOperations'](_0x246ade,_0xb8c402,_0x4c4e5e){for(const _0x44d98d of this['source']['getOperations'](_0x246ade,_0xb8c402))this['_handleOperation'](_0x44d98d,_0x4c4e5e);for(const _0x25a72b of this['_diffRoots']['values']())_0x25a72b['markers']['clear']();for(const [_0x35a612,_0x1aefb4]of this['_markers']){this['_diffRoots']['get'](_0x1aefb4['root']['rootName'])['markers']['set'](_0x35a612,_0x1aefb4['clone']());}const _0x49d708=new Map(),_0xf31fee=new Map();for(const [_0x12a901,_0x411c45]of this['_diffRoots'])_0x49d708['set'](_0x12a901,q(_0x411c45)),_0xf31fee['set'](_0x12a901,this['_diffRootsAttributes']['get'](_0x12a901));this['_saveMetaData'](_0xb8c402,_0x49d708,this['_markers'],_0xf31fee);}['_getPreviousFrom'](_0x3bd79e){const _0x502a73=Array['from'](this['_savedMetaData']['keys']());_0x502a73['sort']((_0x243b46,_0x4c3207)=>_0x243b46-_0x4c3207),_0x502a73['reverse']();for(const _0x299f7d of _0x502a73)if(_0x299f7d<_0x3bd79e)return _0x299f7d;return Number['NEGATIVE_INFINITY'];}['_copyMarkers'](_0x277fdc,_0x2ca6a9){const _0x259e54=Array['from'](_0x2ca6a9['markers'])['map'](([_0x2ac2d1,_0x3755d0])=>[_0x2ac2d1,this['_fixRange'](_0x3755d0,_0x277fdc)]);_0x277fdc['markers']=new Map(_0x259e54);}['_transformMarkers'](_0x199194){for(const _0xb4da35 of this['_markers']['values']()){const _0xc9fa24=_0xb4da35['getTransformedByOperation'](_0x199194),_0xbe0522=vt['_createFromRanges'](_0xc9fa24);_0xb4da35['start']=_0xbe0522['start'],_0xb4da35['end']=_0xbe0522['end'];}}['_handleOperation'](_0xea7e7e,_0xacb3f0){if('addRoot'==_0xea7e7e['type']||'detachRoot'==_0xea7e7e['type'])return void this['_handleRootOperation'](_0xea7e7e,_0xacb3f0);if('insert'==_0xea7e7e['type']){const _0x46cde7=_0xea7e7e['position']['root']['rootName'];this['_diffRoots']['has'](_0x46cde7)||(this['_diffRoots']['set'](_0x46cde7,G(_0x46cde7,!0x0)),this['_diffRootsAttributes']['set'](_0x46cde7,{}),_0xacb3f0&&this['_idsRoots']['set'](_0x46cde7,G(_0x46cde7,!0x0)));}else{if('addRootAttribute'==_0xea7e7e['type']||'removeRootAttribute'==_0xea7e7e['type']||'changeRootAttribute'==_0xea7e7e['type'])return void this['_handleRootAttributeOperation'](_0xea7e7e);}const _0x3e3127=this['_cloneOperation'](_0xea7e7e,this['_diffRoots']);if('marker'!==_0xea7e7e['type']&&(_0x3e3127['_execute'](),this['_transformMarkers'](_0x3e3127)),_0xacb3f0)switch(_0x3e3127['type']){case'insert':this['_handleInsertOperation'](_0xea7e7e);break;case'move':case'remove':case'reinsert':this['_handleMoveOperation'](_0xea7e7e);break;case'merge':this['_handleMergeOperation'](_0xea7e7e);break;case'split':this['_handleSplitOperation'](_0xea7e7e);break;case'marker':this['_handleMarkerOperation'](_0xea7e7e);}}['_cloneOperation'](_0x5f0b3a,_0x380d5a){const _0x261674=_0x5f0b3a['clone']();return _0x261674['_authorId']=_0x5f0b3a['_authorId'],this['_fixOperation'](_0x261674,_0x380d5a),_0x261674;}['_getBaseVids'](_0x29f466){return _0x29f466['map'](_0x38b20d=>{const _0x50c7a2=this['_getVidAttributeName'](_0x38b20d);return Number(_0x38b20d['item']['getAttribute'](_0x50c7a2));});}['_generateTape'](_0x2282ad,_0x2ba2d6){if(_0x2282ad['is']('element','$text'))_0x2ba2d6['push']({'item':_0x2282ad,'type':'text'});else{_0x2282ad['is']('element')&&_0x2ba2d6['push']({'item':_0x2282ad,'type':'elementStart'});for(const _0x3ebe96 of _0x2282ad['getChildren']())this['_generateTape'](_0x3ebe96,_0x2ba2d6);_0x2282ad['is']('element')&&_0x2ba2d6['push']({'item':_0x2282ad,'type':'elementEnd'});}return _0x2ba2d6;}['_getState'](){const _0x570db5=new Map(this['_touched']),_0x330f4c=new Map(_0x570db5),_0x12d69f=new Map(),_0x43d99e={'insertions':{},'deletions':{}},_0x1d9b9a={'insertions':{},'deletions':{}},_0x957220=new Map(),_0x3e1516=new Set([...this['_baseRoots']['keys'](),...this['_diffRoots']['keys']()]);_0x3e1516['delete']('$graveyard');for(const _0x33dcb6 of _0x3e1516){const _0x39573c=this['_diffRoots']['get'](_0x33dcb6)||G(_0x33dcb6,!0x1),_0x32e0c4=this['_baseRoots']['get'](_0x33dcb6)||G(_0x33dcb6,!0x1);_0x39573c['isAttached']()||_0x32e0c4['isAttached']()?(_0x43d99e['insertions'][_0x33dcb6]=q(_0x39573c),_0x43d99e['deletions'][_0x33dcb6]=q(_0x32e0c4),this['_copyMarkers'](_0x43d99e['deletions'][_0x33dcb6],_0x32e0c4),this['_copyMarkers'](_0x43d99e['insertions'][_0x33dcb6],_0x39573c),_0x1d9b9a['insertions'][_0x33dcb6]=this['_generateTape'](this['_idsRoots']['get'](_0x33dcb6),[]),_0x1d9b9a['deletions'][_0x33dcb6]=this['_generateTape'](this['_baseIdsRoots']['get'](_0x33dcb6)||G(_0x33dcb6,!0x1),[])):_0x3e1516['delete'](_0x33dcb6);}for(const _0x1aea36 of _0x3e1516){const _0x16e3b9=_0x1d9b9a['insertions'][_0x1aea36];for(const _0x10bfad of _0x16e3b9){const _0x29781b=this['_getVidAttributeName'](_0x10bfad),_0x1b6421=_0x10bfad['item']['getAttribute'](_0x29781b);_0x330f4c['delete'](_0x1b6421),_0x1b6421>=this['_startingRevisionId']&&_0x12d69f['set'](_0x1b6421,_0x570db5['get'](_0x1b6421));}}for(const _0x1dfd03 of _0x3e1516){const _0xa762bc=_0x1d9b9a['insertions'][_0x1dfd03],_0x1f4d0c=this['_getBaseVids'](_0x1d9b9a['deletions'][_0x1dfd03]);let _0x73bb5c=0x0;for(const _0x1a1052 of _0xa762bc){const _0x4ce4d8=this['_getVidAttributeName'](_0x1a1052),_0x3ac797=_0x1a1052['item']['getAttribute'](_0x4ce4d8);if(!_0x12d69f['has'](_0x3ac797)&&!_0x957220['has'](_0x3ac797)){if(_0x330f4c['has'](_0x3ac797))_0x73bb5c++;else{if(_0x3ac797!=_0x1f4d0c[_0x73bb5c]){const _0x4e6ff8=_0x570db5['get'](_0x3ac797)||_0x570db5['get'](_0x1f4d0c[_0x73bb5c]);for(;_0x3ac797!=_0x1f4d0c[_0x73bb5c];)_0x330f4c['has'](_0x1f4d0c[_0x73bb5c])||(_0x957220['set'](_0x1f4d0c[_0x73bb5c],_0x4e6ff8),_0x570db5['set'](_0x1f4d0c[_0x73bb5c],_0x4e6ff8)),_0x73bb5c++;}_0x73bb5c++;}}}}for(const _0x32d840 of _0x3e1516){const _0x484f7d=_0x1d9b9a['insertions'][_0x32d840];for(const _0x32211f of _0x484f7d){const _0x453313=this['_getVidAttributeName'](_0x32211f),_0xf510b0=_0x32211f['item']['getAttribute'](_0x453313);if(_0x957220['has'](_0xf510b0)){const _0xf09616=_0x957220['get'](_0xf510b0);_0x330f4c['has'](_0xf510b0)||_0x330f4c['set'](_0xf510b0,{..._0xf09616}),_0x12d69f['set'](_0xf510b0,{..._0xf09616});}}}for(const _0x15338c of _0x330f4c['keys']())_0x15338c>=this['_startingRevisionId']&&_0x330f4c['delete'](_0x15338c);const _0x20b626=new Map();for(const _0x4d7238 of _0x3e1516){let _0x2b31e3=_0x1d9b9a['insertions'][_0x4d7238];for(const _0x3ede06 of _0x2b31e3)if(_0x3ede06['item']['is']('element','tableCell')){const _0x349243=this['_getVidAttributeName'](_0x3ede06),_0x4af89f=_0x3ede06['item']['getAttribute'](_0x349243);if(_0x12d69f['has'](_0x4af89f)){const _0x446f7f=_0x3ede06['item']['parent']['parent']['getAttribute']('vid_start'),_0x4bfb7a=_0x20b626['get'](_0x446f7f)||new Set();_0x4bfb7a['add'](_0x12d69f['get'](_0x4af89f)['userId']),_0x20b626['set'](_0x446f7f,_0x4bfb7a);}}_0x2b31e3=_0x1d9b9a['deletions'][_0x4d7238];for(const _0xdb8a2b of _0x2b31e3)if(_0xdb8a2b['item']['is']('element','tableCell')){const _0x1c545a=this['_getVidAttributeName'](_0xdb8a2b),_0x5ab55c=_0xdb8a2b['item']['getAttribute'](_0x1c545a);if(_0x330f4c['has'](_0x5ab55c)){const _0x3dc3f6=_0xdb8a2b['item']['parent']['parent']['getAttribute']('vid_start'),_0x39f101=_0x20b626['get'](_0x3dc3f6)||new Set();_0x39f101['add'](_0x330f4c['get'](_0x5ab55c)['userId']),_0x20b626['set'](_0x3dc3f6,_0x39f101);}}for(const _0x15ba80 of _0x20b626['keys']())(_0x12d69f['has'](_0x15ba80)||_0x330f4c['has'](_0x15ba80))&&_0x20b626['delete'](_0x15ba80);}for(const _0x675e7d of _0x3e1516){const _0x35fa5f=_0x1d9b9a['insertions'][_0x675e7d];let _0x4e9b91=null,_0x4626bd=null;for(const _0x279365 of _0x35fa5f){const _0x248632=this['_getVidAttributeName'](_0x279365),_0x3526b7=_0x279365['item']['getAttribute'](_0x248632),_0x29704c=_0x20b626['get'](_0x3526b7);_0x29704c&&'elementStart'==_0x279365['type']&&(_0x4e9b91=Array['from'](_0x29704c)[0x0],_0x4626bd=_0x279365['item']['getAttribute']('vid_end')),_0x4e9b91&&(_0x330f4c['set'](_0x3526b7,{'userId':_0x4e9b91}),_0x12d69f['set'](_0x3526b7,{'userId':_0x4e9b91})),_0x3526b7==_0x4626bd&&(_0x4e9b91=null,_0x4626bd=null);}}const _0x347f5b={},_0x194d85=new Set();for(const _0x397795 of _0x3e1516){const _0x17653a=_0x43d99e['deletions'][_0x397795],_0xe2cf10=_0x43d99e['insertions'][_0x397795];for(const {userId:_0x2f27c7}of this['_touchedMarkers']['values']())null!==_0x2f27c7&&_0x194d85['add'](_0x2f27c7);for(const {userId:_0x4354d9}of this['_touchedRoots']['values']())null!==_0x4354d9&&_0x194d85['add'](_0x4354d9);this['_markChanges'](_0xe2cf10,_0x1d9b9a['insertions'][_0x397795],_0x12d69f,'insertion',_0x194d85),this['_markChanges'](_0x17653a,_0x1d9b9a['deletions'][_0x397795],_0x330f4c,'deletion',_0x194d85),_0x347f5b[_0x397795]={'insertions':this['_prepareViewToSave'](_0xe2cf10),'deletions':this['_prepareViewToSave'](_0x17653a),'attachChange':this['_touchedRoots']['get'](_0x397795)||null,'attributesBefore':_0x269407(this['_baseRootsAttributes']['get'](_0x397795))||{},'attributesAfter':_0x269407(this['_diffRootsAttributes']['get'](_0x397795))};}return{'diffData':_0x347f5b,'authorsIds':Array['from'](_0x194d85)};}['_processRootBeforeSave'](_0x553b7c){for(const [,_0x1ac870]of _0x553b7c['markers']){const _0x48cc8d=_0x1ac870['start']['getAncestors']()['filter'](_0x1f4784=>'tableCell'==_0x1f4784['name']);for(const _0x45195d of _0x48cc8d)0x1==_0x45195d['childCount']&&_0x45195d['getChild'](0x0)['is']('element','paragraph')&&_0x45195d['getChild'](0x0)['_setAttribute']('keepParagraph',!0x0);}}['_prepareViewToSave'](_0x6155c7){this['_processRootBeforeSave'](_0x6155c7);const _0x216a41=this['editor']['data']['toView'](_0x6155c7,{}),_0x31498e=Array['from'](_0x216a41['getChildren']())['map'](_0x4279dc=>this['_getViewJson'](_0x4279dc));return JSON['stringify'](_0x31498e);}['_getViewJson'](_0x21ea22){if(_0x21ea22['is']('$text'))return _0x21ea22['data'];{const _0x443f12=_0x21ea22;return{'type':Object['keys'](T)['find'](_0x3b4604=>_0x21ea22 instanceof T[_0x3b4604]),'name':_0x443f12['name'],'attributes':Array['from'](_0x443f12['getAttributes']()),'children':Array['from'](_0x443f12['getChildren']())['map'](_0x3e4f0b=>this['_getViewJson'](_0x3e4f0b))};}}['_markChanges'](_0x32225c,_0x59597e,_0x5afff5,_0x8206d7,_0x2a3984){let _0x35cccb=null,_0x2122b1=null,_0x53db2e=0x0;const _0x5f31ad=this['editor']['model'];for(let _0x22b530=0x0;_0x22b530<_0x59597e['length'];_0x22b530++){const _0x450a5f=this['_getVidAttributeName'](_0x59597e[_0x22b530]),_0x1c71d6=_0x59597e[_0x22b530]['item']['getAttribute'](_0x450a5f),_0x420165=_0x5afff5['get'](_0x1c71d6),_0x426173=_0x22b530==_0x59597e['length']-0x1;(!_0x35cccb&&_0x420165&&(_0x35cccb=_0x420165,_0x2122b1=_0x59597e[_0x22b530]),_0x35cccb&&(!_0x420165||_0x420165['userId']!=_0x35cccb['userId']))&&(_0x5a67e0(_0x420165,L(_0x2122b1,_0x32225c,_0x5f31ad),L(_0x59597e[_0x22b530],_0x32225c,_0x5f31ad)),_0x35cccb=_0x420165||null,_0x2122b1=_0x420165?_0x59597e[_0x22b530]:null),_0x35cccb&&_0x426173&&_0x5a67e0(_0x420165,L(_0x2122b1,_0x32225c,_0x5f31ad),W(_0x59597e[_0x22b530],_0x32225c,_0x5f31ad));}function _0x5a67e0(_0x147945,_0x40bc1a,_0xbd02eb){const _0xf3c038=_0x35cccb['userId'],_0x5204ad='revision:'+_0x8206d7+':'+_0xf3c038+':'+_0x53db2e++,_0xc90735=_0x5f31ad['createRange'](_0x40bc1a,_0xbd02eb);_0x32225c['markers']['set'](_0x5204ad,_0xc90735),null!==_0xf3c038&&_0x2a3984['add'](_0xf3c038);}}['_getVidAttributeName'](_0x399236){switch(_0x399236['type']){case'elementStart':return'vid_start';case'elementEnd':return'vid_end';default:return'vid';}}['_fixOperation'](_0x569079,_0x2657e6){_0x569079['baseVersion']=null;for(const _0x157b3e in _0x569079){const _0x109b5d=_0x569079[_0x157b3e];if(_0x109b5d instanceof gt){const _0x2b1ddd=_0x2657e6['get'](_0x109b5d['root']['rootName']);_0x569079[_0x157b3e]=this['_fixPosition'](_0x109b5d,_0x2b1ddd);}if(_0x109b5d instanceof vt){const _0x5f1c79=_0x2657e6['get'](_0x109b5d['root']['rootName']);_0x569079[_0x157b3e]=this['_fixRange'](_0x109b5d,_0x5f1c79);}'root'===_0x157b3e&&(_0x569079['root']=_0x2657e6['get'](_0x569079['root']['rootName']));}}['_fixRange'](_0x8acfc1,_0x5af362){return this['editor']['model']['createRange'](this['_fixPosition'](_0x8acfc1['start'],_0x5af362),this['_fixPosition'](_0x8acfc1['end'],_0x5af362));}['_fixPosition'](_0x52cb58,_0x304029){return this['editor']['model']['createPositionFromPath'](_0x304029,_0x52cb58['path'],_0x52cb58['stickiness']);}['_handleInsertOperation'](_0x424be0){const _0x2e6886=this['_idsRoots']['get'](_0x424be0['position']['root']['rootName']),_0x50ae6f=this['_fixPosition'](_0x424be0['position'],_0x2e6886),_0x42cf3e=null===_0x424be0['_authorId']?null:_0x424be0['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x53a734=_0x50ae6f['parent'],_0x3229ca=this['_revisionId'],_0x8a5a60=[];for(const _0x38e747 of _0x424be0['nodes'])if(_0x38e747['is']('element'))_0x8a5a60['push'](this['_makeIdsRoot'](_0x38e747));else{for(let _0x5d05b5=0x0;_0x5d05b5<_0x38e747['offsetSize'];_0x5d05b5++)_0x8a5a60['push'](new ft('$text',{'vid':this['_revisionId']++}));}const _0x4444d1=this['_revisionId'];for(let _0x4b7068=_0x3229ca;_0x4b7068<_0x4444d1;_0x4b7068++)this['_touched']['set'](_0x4b7068,{'userId':_0x42cf3e});_0x53a734['_insertChild'](_0x50ae6f['offset'],_0x8a5a60);}['_handleMoveOperation'](_0x160aaa){(_0x160aaa=this['_cloneOperation'](_0x160aaa,this['_idsRoots']))['_execute']();const _0x1ccc75=null===_0x160aaa['_authorId']?null:_0x160aaa['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x152722=_0x160aaa['getMovedRangeStart'](),_0x13399=_0x152722['parent'],_0xb8acec=_0x152722['offset'];!function _0x377c2b(_0x5daa43,_0xb5444,_0x47619a,_0x5bde24){for(let _0x348cee=_0x47619a;_0x348cee<_0x5bde24;_0x348cee++){const _0x5b8986=_0xb5444['getChild'](_0x348cee);_0x5b8986['is']('element','$text')?_0x5daa43['set'](_0x5b8986['getAttribute']('vid'),{'userId':_0x1ccc75}):(_0x5daa43['set'](_0x5b8986['getAttribute']('vid_start'),{'userId':_0x1ccc75}),_0x377c2b(_0x5daa43,_0x5b8986,0x0,_0x5b8986['childCount']),_0x5daa43['set'](_0x5b8986['getAttribute']('vid_end'),{'userId':_0x1ccc75}));}}(this['_touched'],_0x13399,_0xb8acec,_0xb8acec+_0x160aaa['howMany']);}['_handleMergeOperation'](_0x44e219){const _0x217fcb=null===(_0x44e219=this['_cloneOperation'](_0x44e219,this['_idsRoots']))['_authorId']?null:_0x44e219['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x469ae5=_0x44e219['targetPosition']['parent'],_0x449e6e=_0x44e219['sourcePosition']['parent'],_0x5197a4=_0x469ae5['getAttribute']('vid_end'),_0x400bc4=_0x449e6e['getAttribute']('vid_start');_0x469ae5['_setAttribute']('vid_end',_0x449e6e['getAttribute']('vid_end')),_0x449e6e['_setAttribute']('vid_end',_0x5197a4),this['_touched']['set'](_0x400bc4,{'userId':_0x217fcb}),this['_touched']['set'](_0x5197a4,{'userId':_0x217fcb}),_0x44e219['_execute']();}['_handleSplitOperation'](_0x40a73f){const _0x5afbf7=null===(_0x40a73f=this['_cloneOperation'](_0x40a73f,this['_idsRoots']))['_authorId']?null:_0x40a73f['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x26143d=_0x40a73f['graveyardPosition'],_0x186ddf=_0x40a73f['splitPosition']['parent'];_0x40a73f['_execute']();const _0x396573=_0x186ddf['getAttribute']('vid_end'),_0x543613=_0x40a73f['insertionPosition']['nodeAfter'];if(_0x26143d){const _0xdf1eb4=_0x543613['getAttribute']('vid_end'),_0x5725eb=_0x186ddf['getAttribute']('vid_end');_0x186ddf['_setAttribute']('vid_end',_0xdf1eb4),_0x543613['_setAttribute']('vid_end',_0x5725eb),this['_touched']['set'](_0x186ddf['getAttribute']('vid_end'),{'userId':_0x5afbf7}),this['_touched']['set'](_0x543613['getAttribute']('vid_start'),{'userId':_0x5afbf7});}else{const _0x47a2dd=this['_revisionId']++,_0x4a39fc=this['_revisionId']++;_0x186ddf['_setAttribute']('vid_end',_0x47a2dd),_0x543613['_setAttribute']('vid_start',_0x4a39fc),_0x543613['_setAttribute']('vid_end',_0x396573),this['_touched']['set'](_0x47a2dd,{'userId':_0x5afbf7}),this['_touched']['set'](_0x4a39fc,{'userId':_0x5afbf7});}}['_handleMarkerOperation'](_0x3a655d){if(!_0x3a655d['affectsData'])return;const _0x252610=(_0x3a655d=this['_cloneOperation'](_0x3a655d,this['_diffRoots']))['oldRange']?_0x3a655d['oldRange']['root']:null,_0x5df221=_0x3a655d['newRange']?_0x3a655d['newRange']['root']:null;_0x252610&&this['_markers']['delete'](_0x3a655d['name']),_0x5df221&&this['_markers']['set'](_0x3a655d['name'],_0x3a655d['newRange']['clone']());const _0xc8be84=null===_0x3a655d['_authorId']?null:_0x3a655d['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x4b3e2a=_0x3a655d['name'];if(!this['_touchedMarkers']['has'](_0x4b3e2a))return void this['_touchedMarkers']['set'](_0x4b3e2a,{'range':_0x3a655d['oldRange'],'userId':_0xc8be84});const _0x3bfd0e=this['_touchedMarkers']['get'](_0x4b3e2a),_0x34d0db=_0x3bfd0e['range'],_0x4026b5=_0x3a655d['newRange'];null==_0x34d0db&&null==_0x4026b5||_0x34d0db&&_0x4026b5&&_0x34d0db['isEqual'](_0x4026b5)?this['_touchedMarkers']['delete'](_0x3a655d['name']):_0x3bfd0e['userId']=_0xc8be84;}['_handleRootOperation'](_0x4c0c53,_0x338932){this['_diffRoots']['has'](_0x4c0c53['rootName'])?this['_diffRoots']['get'](_0x4c0c53['rootName'])['_isAttached']=_0x4c0c53['isAdd']:(this['_diffRoots']['set'](_0x4c0c53['rootName'],G(_0x4c0c53['rootName'],!0x0)),this['_diffRootsAttributes']['set'](_0x4c0c53['rootName'],{}),_0x338932&&this['_idsRoots']['set'](_0x4c0c53['rootName'],G(_0x4c0c53['rootName'],!0x0)));const _0x54c4bd=null===_0x4c0c53['_authorId']?null:_0x4c0c53['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x10b33a=this['_touchedRoots']['get'](_0x4c0c53['rootName']);_0x10b33a&&_0x10b33a['userId']===_0x54c4bd?this['_touchedRoots']['delete'](_0x4c0c53['rootName']):this['_touchedRoots']['set'](_0x4c0c53['rootName'],{'userId':_0x54c4bd,'isAttached':_0x4c0c53['isAdd']});}['_handleRootAttributeOperation'](_0x554f53){const _0x3117be=this['_diffRootsAttributes']['get'](_0x554f53['root']['rootName']);null===_0x554f53['newValue']?delete _0x3117be[_0x554f53['key']]:_0x3117be[_0x554f53['key']]=_0x554f53['newValue'];}}function q(_0x1d9018){const _0x244d7a=G(_0x1d9018['rootName'],_0x1d9018['isAttached']());for(const _0x5cb85d of _0x1d9018['getChildren']()){const _0x590e96=_0x5cb85d['_clone'](!0x0);_0x244d7a['_appendChild'](_0x590e96);}return _0x244d7a;}function G(_0x28eeff,_0x26e31c=!0x0){const _0x133cd9=new wt();return _0x133cd9['rootName']=_0x28eeff,_0x133cd9['_isAttached']=_0x26e31c,_0x133cd9['isAttached']=()=>_0x133cd9['_isAttached'],_0x133cd9;}function L(_0x2a26ec,_0x5d6f3b,_0x19a12b){const _0x357d78='elementEnd'==_0x2a26ec['type']?_0x19a12b['createPositionAt'](_0x2a26ec['item'],'end'):_0x19a12b['createPositionBefore'](_0x2a26ec['item']);return _0x19a12b['createPositionFromPath'](_0x5d6f3b,_0x357d78['path'],_0x357d78['stickiness']);}function W(_0x27b2b3,_0x47e09a,_0x20fa0b){const _0x466c6c='elementStart'==_0x27b2b3['type']?_0x20fa0b['createPositionAt'](_0x27b2b3['item'],0x0):_0x20fa0b['createPositionAfter'](_0x27b2b3['item']);return _0x20fa0b['createPositionFromPath'](_0x47e09a,_0x466c6c['path'],_0x466c6c['stickiness']);}class ns extends _0x40d391{['focusTracker'];['keystrokes'];['revisionNameInputView'];constructor(_0x142751,_0x353dc6){super(_0x142751),this['focusTracker']=new _0x34b41b(),this['keystrokes']=new _0x4e0a9a(),this['set']('revisionNameInputValue',''),this['revisionNameInputView']=this['_createRevisionNameInput'](_0x353dc6),this['setTemplate']({'tag':'form','attributes':{'class':['ck','ck-revision-history-save-revision-form','ck-responsive-form'],'tabindex':'-1'},'children':[this['revisionNameInputView']]}),ts(this);}['render'](){super['render'](),_0x47b937({'view':this}),this['focusTracker']['add'](this['revisionNameInputView']['element']),this['keystrokes']['listenTo'](this['element']);const _0x5d67fb=_0xe0c83a=>_0xe0c83a['stopPropagation']();this['keystrokes']['set']('arrowright',_0x5d67fb),this['keystrokes']['set']('arrowleft',_0x5d67fb),this['keystrokes']['set']('arrowup',_0x5d67fb),this['keystrokes']['set']('arrowdown',_0x5d67fb);}['focus'](){this['revisionNameInputView']['focus']();}get['revisionName'](){return this['revisionNameInputView']['fieldView']['element']['value']['trim']();}set['revisionName'](_0x9e9e5c){this['revisionNameInputView']['fieldView']['element']['value']=_0x9e9e5c['trim']();}['reset'](){this['revisionNameInputView']['fieldView']['element']['value']='',this['revisionNameInputView']['errorText']=null;}['_createRevisionNameInput'](_0x32e075){const _0x2ce03e=new at(this['locale'],_0x36e51d),_0x16990d=_0x2ce03e['fieldView'];_0x16990d['extendTemplate']({'attributes':{'maxlength':'220'}});let _0x546de8=y(this['locale'],'Name\x20of\x20the\x20revision');return!_0x32e075&&(_0x546de8+='\x20('+y(this['locale'],'optional')+')'),(_0x2ce03e['label']=_0x546de8,_0x16990d['on']('input',()=>{this['revisionNameInputValue']=_0x16990d['element']['value']['trim']();}),_0x2ce03e);}}class u extends _0x3b354a{static get['pluginName'](){return'RevisionHistoryUI';}static get['requires'](){return[l];}['_saveRevisionFormView'];['init'](){const _0x1152d1=this['editor'],_0x17a171=_0x1152d1['plugins']['get']('RevisionTracker');_0x1152d1['ui']['componentFactory']['add']('revisionHistory',_0x2fc531=>{const _0x7ab46d=_0x54b6f4(_0x2fc531),_0x37a3c8=_0x7ab46d['panelView']['children'],_0x475bb2=new te(_0x2fc531),_0x6fdab4=new _0x333558(_0x2fc531),_0x184294=new _0x4a8d7c(_0x2fc531),_0x345ead=new _0x333558(_0x2fc531),_0x9650c1=new _0x4a8d7c(_0x2fc531);return _0x7ab46d['bind']('isEnabled')['to'](_0x17a171,'isReady',_0x17a171,'isEnabled',_0x1152d1,'isReadOnly',(_0x3333de,_0x31f19c,_0x2a22a3)=>_0x3333de&&_0x31f19c&&!_0x2a22a3),_0x7ab46d['buttonView']['set']({'icon':_0x71633d['history'],'label':y(_0x2fc531,'Revision\x20history'),'tooltip':!0x0}),_0x184294['set']({'label':y(_0x2fc531,'Save\x20current\x20revision'),'withText':!0x0,'role':'menuitem'}),_0x184294['bind']('isEnabled')['to'](_0x17a171,'isReady',_0x17a171,'isEnabled',_0x1152d1,'isReadOnly',(_0x5e0135,_0x248182,_0x54ddd3)=>_0x5e0135&&_0x248182&&!_0x54ddd3),_0x184294['on']('execute',()=>this['_showDialog']()),_0x9650c1['set']({'label':y(_0x2fc531,'Open\x20revision\x20history'),'withText':!0x0,'role':'menuitem'}),_0x9650c1['bind']('isEnabled')['to'](_0x17a171,'isReady',_0x1152d1,'isReadOnly',(_0x1bcf82,_0x2ce5bd)=>_0x1bcf82&&!_0x2ce5bd),_0x9650c1['on']('execute',()=>{_0x1152d1['config']['get']('revisionHistory')['showRevisionViewerCallback'](),_0x7ab46d['isOpen']=!0x1,_0x1152d1['editing']['view']['focus']();}),_0x6fdab4['children']['add'](_0x184294),_0x345ead['children']['add'](_0x9650c1),_0x475bb2['role']='menu',_0x475bb2['items']['addMany']([_0x6fdab4,_0x345ead]),_0x37a3c8['add'](_0x475bb2),_0x7ab46d;}),_0x1152d1['ui']['componentFactory']['add']('menuBar:revisionHistory',()=>this['_registerMenuComponent']());}['_registerMenuComponent'](){const _0x307b5a=this['editor'],_0x47cd78=_0x307b5a['locale'],_0x2e0325=new _0x5ac8a9(_0x47cd78),_0x3220bd=new _0x855cfd(_0x47cd78);_0x2e0325['buttonView']['set']({'icon':_0x71633d['history'],'label':y(_0x47cd78,'Revision\x20history')});const _0x54b186=new _0x1608d6(_0x47cd78,_0x2e0325),_0x32b6c7=new _0x2eaad7(_0x47cd78);_0x32b6c7['set']({'label':y(_0x47cd78,'Save\x20current\x20revision')}),_0x32b6c7['delegate']('execute')['to'](_0x2e0325),_0x32b6c7['on']('execute',()=>{this['_showDialog']();}),_0x54b186['children']['add'](_0x32b6c7),_0x3220bd['items']['add'](_0x54b186);const _0x2f46e0=new _0x1608d6(_0x47cd78,_0x2e0325),_0x284156=new _0x2eaad7(_0x47cd78);return _0x284156['set']({'label':y(_0x47cd78,'Open\x20revision\x20history')}),_0x284156['delegate']('execute')['to'](_0x2e0325),_0x284156['on']('execute',()=>{_0x307b5a['config']['get']('revisionHistory')['showRevisionViewerCallback']();}),_0x2f46e0['children']['add'](_0x284156),_0x3220bd['items']['add'](_0x2f46e0),_0x2e0325['panelView']['children']['add'](_0x3220bd),_0x2e0325;}['_showDialog'](){const _0x4d2456=this['editor'],_0x5c4ac3=_0x4d2456['locale'],t=_0x5c4ac3['t'],_0x31a666=_0x4d2456['plugins']['get']('Dialog'),_0x2d1639=_0x4d2456['plugins']['get']('RevisionTracker');function _0x507e40(_0x459efd){_0x4d2456['config']['get']('revisionHistory.requireRevisionName')&&''===_0x459efd['revisionName']?_0x459efd['revisionNameInputView']['errorText']=y(_0x5c4ac3,'The\x20revision\x20name\x20cannot\x20be\x20empty.'):(_0x4d2456['plugins']['get'](l)['saveRevision']({'name':_0x459efd['revisionName']}),_0x31a666['hide']());}this['_saveRevisionFormView']||(this['_createSaveRevisionFormView'](),this['_saveRevisionFormView']['on']('submit',()=>_0x507e40(this['_saveRevisionFormView']))),this['_saveRevisionFormView']['reset'](),_0x31a666['show']({'id':'findAndReplace','title':y(_0x5c4ac3,'Save\x20current\x20revision'),'isModal':!0x0,'content':this['_saveRevisionFormView'],'actionButtons':[{'label':t('Cancel'),'withText':!0x0,'onExecute':()=>_0x31a666['hide']()},{'label':t('Accept'),'class':'ck-button-action','withText':!0x0,'onCreate'(_0x15b12a){_0x15b12a['bind']('isEnabled')['to'](_0x2d1639,'isReady',_0x2d1639,'isEnabled',_0x4d2456,'isReadOnly',(_0x46967c,_0xa481d3,_0x8e14c3)=>_0x46967c&&_0xa481d3&&!_0x8e14c3);},'onExecute':()=>_0x507e40(this['_saveRevisionFormView'])}]});}['_createSaveRevisionFormView'](){const _0x103f57=this['editor'],_0x50f998=_0x103f57['locale'];this['_saveRevisionFormView']=new ns(_0x50f998,_0x103f57['config']['get']('revisionHistory.requireRevisionName')),this['_saveRevisionFormView']['render']();}}class Z extends _0x40d391{['changeId'];['_model'];constructor(_0x1e96f9,_0x459df7){super(_0x1e96f9),this['_model']=_0x459df7,this['changeId']=_0x459df7['id'];const _0x38d5c4=this['bindTemplate'],_0x2f1904=y(_0x1e96f9,_0x459df7['data']['isSuggestion']?'Suggested\x20by':'add'==_0x459df7['type']?'Added\x20by':'Removed\x20by');this['set']('type',_0x459df7['type']),this['setTemplate']({'tag':'div','attributes':{'class':['ck-annotation','ck-revision-change',_0x38d5c4['to']('type',_0x371e0d=>'ck-revision-change__'+_0x371e0d)],'tabindex':-0x1},'children':[{'tag':'span','children':[{'tag':'span','attributes':{'class':['ck-revision-change__label']},'children':[{'text':_0x2f1904}]},{'text':'\x20'+_0x459df7['author']['name']}]}]});}['focus'](){this['element']['focus']();}}class r extends/* #__PURE__ -- @preserve */
25
+ _0x28243f(){['id'];['author'];['type'];['data'];['rootName'];constructor(_0x4cab7f){super(),this['id']=_0x4cab7f['id']||_0x1103df(),this['author']=_0x4cab7f['author'],this['type']=_0x4cab7f['type'],this['data']=_0x4cab7f['data']||{},this['rootName']=_0x4cab7f['rootName'],this['set']('createdAt',_0x4cab7f['createdAt']);}['toJSON'](){return{'id':this['id'],'authorId':this['author']['id'],'type':this['type'],'data':this['data'],'createdAt':this['createdAt']};}}class f{['newRevisionId'];['oldRevisionId'];['changes'];constructor(_0x37c3a2,_0x5e891a){this['newRevisionId']=_0x37c3a2,this['oldRevisionId']=_0x5e891a,this['changes']=new _0x48b80c();}['_setChanges'](_0x584846){for(const _0x31f7a4 of _0x584846)this['changes']['add'](_0x31f7a4);}}const tt={'c':_0x1b252d,'a':_0x23b0a5,'e':_0x19cd29,'r':_0x192077,'u':_0x451fb8};class d extends _0x3b354a{['repository'];['adapter'];['_activeViewTarget'];['_changeView'];['_changeIdToChange'];['_balloon'];static get['pluginName'](){return'RevisionViewer';}static get['requires'](){return[_0x4111a1,_0x50f24b,A];}constructor(_0x1d04d3){super(_0x1d04d3),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',(_0x866fcf,_0x16213c,_0x6cd4de)=>{this['activeChange']=null,this['activeView']=null,this['editor']['editing']['view']['change'](_0x5b8fc1=>{for(const _0x24469b of this['editor']['editing']['view']['document']['roots'])_0x6cd4de?_0x5b8fc1['removeClass']('ck-editor__editable__overlay',_0x24469b):_0x5b8fc1['addClass']('ck-editor__editable__overlay',_0x24469b);});}),this['bind']('isNavigationMode')['to'](this,'activeChange',_0x3f25a6=>null!==_0x3f25a6),this['bind']('currentChangeNumber')['to'](this,'isReady',this,'diff',this,'activeChange',(_0xe589b,_0xd5641e,_0x45d47a)=>_0xe589b&&_0x45d47a?_0xd5641e['changes']['getIndex'](_0x45d47a):0x0),this['bind']('numberOfChanges')['to'](this,'isReady',this,'diff',(_0x24fa6e,_0x5d30ca)=>_0x24fa6e?_0x5d30ca['changes']['length']:0x0),this['_changeView']=null,this['_changeIdToChange']=new Map(),this['adapter']=null,this['_balloon']=this['editor']['plugins']['get'](_0x50f24b);}['init'](){const _0x43135a=this['editor'],_0x2e18cf=new yt(_0x43135a,{'direction':'backward'}),_0x4da593=new yt(_0x43135a,{'direction':'forward'});(_0x43135a['commands']['add']('showPreviousChange',_0x2e18cf),_0x43135a['commands']['add']('showNextChange',_0x4da593),_0x43135a['commands']['add']('restoreRevision',new bt(_0x43135a)),this['on']('change:numberOfChanges',()=>{_0x2e18cf['refresh'](),_0x4da593['refresh']();}),this['_setConversion'](),this['_initInteractions'](),_0x43135a['enableReadOnlyMode']('revision-viewer'),_0x43135a['plugins']['has']('WidgetToolbarRepository'))&&_0x43135a['plugins']['get']('WidgetToolbarRepository')['forceDisabled']('revision-viewer');}async['getRevisionData'](_0x4f963c){await this['loadRevisionData'](_0x4f963c);const _0x187ff4={};for(const _0x4d9f98 in _0x4f963c['diffData']){if(_0x4f963c['diffData'][_0x4d9f98]['attachChange']&&!_0x4f963c['diffData'][_0x4d9f98]['attachChange']['isAttached'])continue;const _0x60b31d=this['_removeRevisionMarkers'](JSON['parse'](_0x4f963c['diffData'][_0x4d9f98]['insertions'])),_0xe65f2=this['editor']['editing']['view']['document'],_0x4009da=new _0x1cd1e9(_0xe65f2,_0x60b31d['map'](_0x2d15a2=>this['_getViewObj'](_0x2d15a2)));this['editor']['data']['processor']['useFillerType']('marked'),_0x187ff4[_0x4d9f98]=this['editor']['data']['processor']['toData'](_0x4009da),this['editor']['data']['processor']['useFillerType']('default');}return _0x187ff4;}async['getRevisionRootsAttributes'](_0x2cc3dc){await this['loadRevisionData'](_0x2cc3dc);const _0x3eae0b={};for(const _0x2fa3ef in _0x2cc3dc['diffData'])_0x2cc3dc['diffData'][_0x2fa3ef]['attachChange']&&!_0x2cc3dc['diffData'][_0x2fa3ef]['attachChange']['isAttached']||(_0x3eae0b[_0x2fa3ef]=_0x2cc3dc['diffData'][_0x2fa3ef]['attributesAfter']||{});return _0x3eae0b;}['_removeRevisionMarkers'](_0x25aa1a){return(_0x25aa1a=_0x25aa1a['filter'](_0x4df834=>!_0x4df834['name']||'revision-start'!==_0x4df834['name']&&'revision-end'!==_0x4df834['name']))['forEach'](_0x4eab7b=>{'string'!=typeof _0x4eab7b&&(_0x4eab7b['children']=this['_removeRevisionMarkers'](_0x4eab7b['children']),_0x4eab7b['attributes']=_0x4eab7b['attributes']['filter'](_0x592556=>!_0x592556[0x0]['startsWith']('data-revision-')));}),_0x25aa1a;}async['compare'](_0x521ebc,_0x962270,_0x4daadf=!0x1){if(!this['isEnabled'])return;const _0x3b3aa1=this['diff'],_0x24ca60=this['repository'],_0x5ab8e4='string'==typeof _0x521ebc?_0x24ca60['getRevision'](_0x521ebc):_0x521ebc,_0x4968e1='string'==typeof _0x962270?_0x24ca60['getRevision'](_0x962270):_0x962270,_0x1964e6=_0x5ab8e4['id'],_0x13a5cb=_0x4968e1?_0x4968e1['id']:null;if(!_0x4daadf&&this['diff']&&this['diff']['newRevisionId']===_0x1964e6&&this['diff']['oldRevisionId']===_0x13a5cb)return Promise['resolve']();this['isReady']=!0x1,this['activeView']=null,this['activeChange']=null,this['diff']=new f(_0x1964e6,_0x13a5cb);const _0x5a840f=this['_getRevisionsRange'](_0x5ab8e4,_0x4968e1,!0x0)['map'](_0x532e7f=>this['loadRevisionData'](_0x532e7f));return _0x5a840f['push'](new Promise(_0x593be0=>{setTimeout(_0x593be0,0x14);})),Promise['all'](_0x5a840f)['then'](()=>{if(!this['isEnabled'])return;this['_cleanUp']();const _0x50ab01=this['_getDiff'](_0x1964e6,_0x13a5cb);for(const _0x6bfbe of _0x50ab01['changes'])this['_changeIdToChange']['set'](_0x6bfbe['id'],_0x6bfbe);this['editor']['model']['enqueueChange']({'isUndoable':!0x1},_0x8651f=>{for(const _0x2033fc of this['editor']['model']['document']['getRootNames']())_0x8651f['detachRoot'](_0x2033fc);for(const _0x4c583c of Object['keys'](_0x50ab01['model'])){const _0x1b393e=_0x8651f['addRoot'](_0x4c583c);for(const _0x2d8741 of Object['keys'](_0x50ab01['attributes'][_0x4c583c]))_0x8651f['setAttribute'](_0x2d8741,_0x50ab01['attributes'][_0x4c583c][_0x2d8741],_0x1b393e);_0x8651f['insert'](_0x50ab01['model'][_0x4c583c],_0x1b393e,0x0);}}),this['diff']['_setChanges'](this['_sortAndFilterDiffChanges'](_0x50ab01['changes'])),this['isReady']=!0x0;})['catch'](_0x4d222b=>{console['error'](_0x4d222b),this['_cleanUp'](),_0x3b3aa1&&(this['diff']=_0x3b3aa1),this['isReady']=!0x0;});}['addRevisionData'](_0x2ea90d,_0x4775cb){const _0x1fd2d1=this['repository']['createRevision'](_0x2ea90d);return _0x1fd2d1['on']('_update',(_0x287a39,_0x4143eb,_0x3f0cd2)=>_0x4775cb(_0x4143eb,_0x3f0cd2,_0x1fd2d1)),this['repository']['addRevision'](_0x1fd2d1),_0x1fd2d1;}['loadRevisionData'](_0x10ac4b){if(!_0x10ac4b||_0x10ac4b['diffData'])return Promise['resolve']();{const _0x39de97=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0x39de97,'revisionId':_0x10ac4b['id']})['then'](_0x259447=>{_0x10ac4b['_update']({'diffData':_0x259447['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},_0x5bff7e=>{for(const _0x4be584 of this['editor']['model']['document']['getRootNames']())_0x5bff7e['detachRoot'](_0x4be584);});}['_sortAndFilterDiffChanges'](_0x363c35){const _0x51ff18=[],_0x122d21=new Map();for(const _0x3127dd of this['editor']['model']['document']['getRootNames']()){const _0x36e00f=this['editor']['editing']['view']['getDomRoot'](_0x3127dd);if(!_0x36e00f)continue;const _0x293465=_0x36e00f['getClientRects']()['item'](0x0);_0x293465&&(_0x51ff18['push'](_0x3127dd),_0x122d21['set'](_0x3127dd,_0x293465));}return _0x51ff18['sort']((_0x2e9759,_0x5a5fe8)=>{const _0x1c9866=_0x122d21['get'](_0x2e9759),_0x4188c2=_0x122d21['get'](_0x5a5fe8);return _0x1c9866['y']-_0x4188c2['y']||_0x1c9866['x']-_0x4188c2['x'];}),(_0x363c35=_0x363c35['filter'](_0x1aa88c=>_0x51ff18['includes'](_0x1aa88c['rootName'])))['sort']((_0xd033f9,_0x1051ea)=>_0x51ff18['indexOf'](_0xd033f9['rootName'])-_0x51ff18['indexOf'](_0x1051ea['rootName'])),_0x363c35;}['_makeTape'](_0x53841f){const _0x524d59=Array['from'](_0x53841f['markers'])['filter'](([_0x5e3ead,_0x160d68])=>_0x5e3ead['startsWith']('revision:')&&!_0x160d68['isCollapsed']),_0x12b3b5=Array['from'](this['editor']['model']['createRangeIn'](_0x53841f)['getWalker']({'singleCharacters':!0x0}));if(0x0!=_0x524d59['length'])for(const _0x2d4bec of _0x12b3b5){const [_0x289c3d,_0x3cdc57]=_0x524d59[0x0],[,_0x51ad5e,_0x5592b1]=_0x289c3d['split'](':');if(_0x3cdc57['end']['isEqual'](_0x2d4bec['nextPosition'])&&_0x524d59['shift'](),(_0x2d4bec['previousPosition']['isEqual'](_0x3cdc57['start'])||_0x2d4bec['previousPosition']['isAfter'](_0x3cdc57['start']))&&('insertion'==_0x51ad5e?_0x2d4bec['isAdded']={'userId':_0x5592b1}:'deletion'==_0x51ad5e&&(_0x2d4bec['isRemoved']={'userId':_0x5592b1})),0x0==_0x524d59['length'])break;}return _0x12b3b5;}['_refreshStartEndIndex'](_0x4a4cf9){const _0x204b72=new Map();for(let _0x538a47=0x0;_0x538a47<_0x4a4cf9['length'];_0x538a47++)'text'===_0x4a4cf9[_0x538a47]['type']?(_0x4a4cf9[_0x538a47]['item']['startIndex']=_0x538a47,_0x4a4cf9[_0x538a47]['item']['endIndex']=_0x538a47):('elementStart'===_0x4a4cf9[_0x538a47]['type']?_0x4a4cf9[_0x538a47]['item']['startIndex']=_0x538a47:'elementEnd'===_0x4a4cf9[_0x538a47]['type']&&(_0x4a4cf9[_0x538a47]['item']['endIndex']=_0x538a47),_0x204b72['set'](_0x4a4cf9[_0x538a47]['id'],_0x538a47));for(const _0x10dc3b of _0x204b72['values']())'elementStart'===_0x4a4cf9[_0x10dc3b]['type']?_0x4a4cf9[_0x10dc3b]['item']['endIndex']=_0x204b72['get'](_0x4a4cf9[_0x10dc3b]['pairId']):'elementEnd'===_0x4a4cf9[_0x10dc3b]['type']&&(_0x4a4cf9[_0x10dc3b]['item']['startIndex']=_0x204b72['get'](_0x4a4cf9[_0x10dc3b]['pairId']));}['_processTape'](_0x216b42){for(let _0x3c80ff=0x0;_0x3c80ff<_0x216b42['length'];_0x3c80ff++){if('elementStart'===_0x216b42[_0x3c80ff]['type'])_0x216b42[_0x3c80ff]['item']['startIndex']=_0x3c80ff;else{if('elementEnd'===_0x216b42[_0x3c80ff]['type']){_0x216b42[_0x3c80ff]['item']['endIndex']=_0x3c80ff;const _0x3186c9=_0x216b42[_0x3c80ff]['item']['startIndex'];_0x216b42[_0x3186c9]['pairId']=_0x216b42[_0x3c80ff]['id'],_0x216b42[_0x3c80ff]['pairId']=_0x216b42[_0x3186c9]['id'];}else _0x216b42[_0x3c80ff]['item']['startIndex']=_0x3c80ff,_0x216b42[_0x3c80ff]['item']['endIndex']=_0x3c80ff,_0x216b42[_0x3c80ff]['pairId']=null;}_0x216b42[_0x3c80ff]['markersStart']||(_0x216b42[_0x3c80ff]['markersStart']=[],_0x216b42[_0x3c80ff]['markersEnd']=[]);}}['_markInsertions'](_0xfe921f,_0x1ba15d){const _0x262a3b=_0xfe921f['filter'](_0x47009c=>!_0x47009c['isAdded']);for(let _0x251230=0x0;_0x251230<_0x1ba15d['length'];_0x251230++)_0x1ba15d[_0x251230]['isAdded']&&(_0x262a3b[_0x251230]['isAdded']=_0x1ba15d[_0x251230]['isAdded']);}['_makeModelFromViewString'](_0x38b97c){const _0x141fcd=JSON['parse'](_0x38b97c),_0x14c701=this['editor']['editing']['view']['document'],_0x3bb388=new _0x1cd1e9(_0x14c701,_0x141fcd['map'](_0x1d7b25=>this['_getViewObj'](_0x1d7b25)));return this['editor']['data']['toModel'](_0x3bb388);}['_getViewObj'](_0x1f516c){const _0x145db3=this['editor']['editing']['view']['document'];if('string'==typeof _0x1f516c)return new _0x224633(_0x145db3,_0x1f516c);{const _0x225fb5=_0x1f516c['children']['map'](_0x5515b5=>this['_getViewObj'](_0x5515b5));return new(tt[_0x1f516c['type']]||_0x33898b)(_0x145db3,_0x1f516c['name'],_0x1f516c['attributes'],_0x225fb5);}}['_getDiff'](_0x1b4a53,_0x2255b8=null){const _0x255a04=this['repository']['getRevision'](_0x1b4a53),_0x3a39a9=_0x2255b8?this['repository']['getRevision'](_0x2255b8):null,_0xc61a00=this['_getRevisionsRange'](_0x255a04,_0x3a39a9),_0x5dcdf1=_0xc61a00[_0xc61a00['length']-0x1],_0x3246d6=new Map(),_0x5867c6={'model':{},'attributes':{},'changes':[]},_0x332727=new Set(),_0x4c1cf9=new Map();for(let _0x370859=_0xc61a00['length']-0x1;_0x370859>=0x0;_0x370859--){const _0xfc5b41=_0xc61a00[_0x370859];for(const _0x5234ff of Object['keys'](_0xfc5b41['diffData']))if(_0xfc5b41['diffData'][_0x5234ff]['attachChange']){const _0xf3cb9b=_0xfc5b41['diffData'][_0x5234ff]['attachChange'];_0xf3cb9b['isAttached']?(_0x332727['add'](_0x5234ff),_0x4c1cf9['has'](_0x5234ff)&&_0x4c1cf9['get'](_0x5234ff)['userId']==_0xf3cb9b['userId']?_0x4c1cf9['delete'](_0x5234ff):_0x4c1cf9['set'](_0x5234ff,_0xf3cb9b)):_0x4c1cf9['has'](_0x5234ff)?(_0x332727['delete'](_0x5234ff),_0x4c1cf9['delete'](_0x5234ff)):(_0x332727['add'](_0x5234ff),_0x4c1cf9['set'](_0x5234ff,_0xf3cb9b));}else _0x332727['add'](_0x5234ff);}for(const _0x482a7e of _0x332727){const _0xd101f=_0x4c1cf9['has'](_0x482a7e)&&!_0x4c1cf9['get'](_0x482a7e)['isAttached'];let _0x424f9a=_0xd101f?_0xc61a00['length']-0x1:0x0;const _0x19ee19=_0xd101f?-0x1:0x1;for(;_0xc61a00[_0x424f9a];){const _0x5904cc=_0xc61a00[_0x424f9a];if(_0x5904cc['diffData'][_0x482a7e]){const _0xdd3910=_0xd101f?_0x5904cc['diffData'][_0x482a7e]['attributesBefore']:_0x5904cc['diffData'][_0x482a7e]['attributesAfter'];_0x5867c6['attributes'][_0x482a7e]=_0xdd3910?_0x269407(_0xdd3910):{};break;}_0x424f9a+=_0x19ee19;}}for(const _0x483a20 of _0xc61a00){_0x483a20['model']={};for(const _0x286f46 of _0x483a20['authors'])_0x3246d6['set'](_0x286f46['id'],_0x286f46);for(const _0x3490f2 of _0x332727){const _0x5889cb=_0x483a20['diffData'][_0x3490f2]?_0x483a20['diffData'][_0x3490f2]['insertions']:'[]',_0xe3ae0d=_0x483a20['diffData'][_0x3490f2]?_0x483a20['diffData'][_0x3490f2]['deletions']:'[]';_0x483a20['model'][_0x3490f2]={'insertions':this['_makeModelFromViewString'](_0x5889cb),'deletions':this['_makeModelFromViewString'](_0xe3ae0d)};}}for(const _0x227b97 of _0x332727){let _0x486838=null,_0x4baf76=0x0;const _0x857625=new Map(Array['from'](_0x255a04['model'][_0x227b97]['insertions']['markers'])['filter'](([_0x5ce0d5])=>!_0x5ce0d5['startsWith']('revision:')));let _0x55a3fe=0x0;for(const _0x3c8d3a of _0xc61a00){const _0xa6ecca=this['_makeTape'](_0x3c8d3a['model'][_0x227b97]['insertions']);_0x3c8d3a==_0x255a04?(_0x486838=_0xa6ecca,_0x4baf76=_0x486838['length'],_0x486838['forEach'](_0xa693a1=>{_0xa693a1['id']=_0x55a3fe++;}),this['_processTape'](_0x486838)):this['_markInsertions'](_0x486838,_0xa6ecca);const _0x25c87d=_0x486838['filter'](_0x4b9d10=>!_0x4b9d10['isAdded'])['map'](_0x24a66f=>_0x24a66f['id']);let _0x324f2d=0x0;const _0x5628d8=this['_makeTape'](_0x3c8d3a['model'][_0x227b97]['deletions']);_0x5628d8['forEach'](_0x1b6c06=>{_0x1b6c06['isRemoved']?_0x1b6c06['id']=_0x4baf76++:_0x1b6c06['id']=_0x25c87d[_0x324f2d++];}),this['_processTape'](_0x5628d8),this['_setDistance'](_0x486838,'isAdded'),this['_setDistance'](_0x5628d8,'isRemoved'),_0x3c8d3a==_0x255a04&&this['_markMarkers'](_0x486838,_0x857625),_0x486838=this['_joinTapes'](_0x486838,_0x5628d8),this['_refreshStartEndIndex'](_0x486838),this['_setDistance'](_0x486838,'isRemoved');}_0x486838=_0x486838['filter'](_0x5ba1a4=>!(_0x5ba1a4['isAdded']&&_0x5ba1a4['isRemoved']));const _0x52bd7a=new Map(_0x5dcdf1['model'][_0x227b97]['deletions']['markers']),_0x50fdcd=new Set(_0x857625['keys']());for(const _0xc2be99 of _0x52bd7a['keys']())_0x50fdcd['delete'](_0xc2be99);this['_markSuggestions'](_0x486838,_0x50fdcd),this['_fixObsoleteTags'](_0x486838),_0x486838=this['_removeMissingPairs'](_0x486838),_0x486838=this['_markMismatchedRemovedTags'](_0x486838),_0x486838=this['_removeUnsupportedChanges'](_0x486838);const {root:_0x23a1eb,changes:_0x1d53da}=this['_makeModelFromTape'](_0x486838,_0x3246d6,_0x227b97);_0x5867c6['model'][_0x227b97]=_0x23a1eb;const _0x53b6e2=_0x4c1cf9['get'](_0x227b97);if(_0x53b6e2){const _0x459cc6=_0x3246d6['get'](_0x53b6e2['userId']),_0x64b4d2=new r({'author':_0x459cc6,'type':_0x53b6e2['isAttached']?'add':'remove','data':{'isOnRoot':!0x0},'createdAt':new Date(),'rootName':_0x227b97});_0x1d53da['unshift'](_0x64b4d2),_0x5867c6['attributes'][_0x227b97]['revisionHistoryAttachChange']=_0x64b4d2['id'];}_0x5867c6['changes']=_0x5867c6['changes']['concat'](_0x1d53da);}return _0x5867c6;}['_markMarkers'](_0x3e037c,_0xfc9a06){for(let _0x23c69a=0x0;_0x23c69a<_0x3e037c['length'];_0x23c69a++)for(const [_0x5e6767,_0x24e8b8]of _0xfc9a06)_0x24e8b8['start']['isEqual'](_0x3e037c[_0x23c69a]['previousPosition'])&&_0x3e037c[_0x23c69a]['markersStart']['push'](_0x5e6767),_0x24e8b8['end']['isEqual'](_0x3e037c[_0x23c69a]['nextPosition'])&&_0x3e037c[_0x23c69a]['markersEnd']['push'](_0x5e6767);}['_joinTapes'](_0x4e14d9,_0x544797){let _0x5aa1d2=[],_0x5bd90b=0x0,_0x226cb3=0x0;for(;_0x5bd90b<_0x4e14d9['length']||_0x226cb3<_0x544797['length'];){const _0xab89b1=_0x4e14d9[_0x5bd90b]||{},_0x56a96b=_0x544797[_0x226cb3]||{};if(_0xab89b1['id']==_0x56a96b['id'])_0x5bd90b++,_0x226cb3++,_0x5aa1d2['push'](_0xab89b1);else{if(_0x56a96b['isRemoved']&&_0xab89b1['isAdded']){const {commonTape:_0x1d9e9c,iEnd:_0x266a79,jEnd:_0x9a9f12}=this['_threeWayMerge'](_0x4e14d9,_0x5bd90b,_0x544797,_0x226cb3);_0x5aa1d2=_0x5aa1d2['concat'](_0x1d9e9c),_0x5bd90b=_0x266a79,_0x226cb3=_0x9a9f12;}else _0x56a96b['isRemoved']?(_0x226cb3++,_0x5aa1d2['push'](_0x56a96b)):(_0x5bd90b++,_0x5aa1d2['push'](_0xab89b1));}}return _0x5aa1d2;}['_markSuggestions'](_0x464c9a,_0x3c052b){const _0x1b7c28=[];for(let _0x23338a=0x0;_0x23338a<_0x464c9a['length'];_0x23338a++){for(let _0x529da8=0x0;_0x529da8<_0x464c9a[_0x23338a]['markersStart']['length'];_0x529da8++){const _0x30e0bf=_0x464c9a[_0x23338a]['markersStart'][_0x529da8];if(!_0x3c052b['has'](_0x30e0bf))continue;const {group:_0x22b7e0,type:_0x327569,authorId:_0x468b57}=_0x24381d(_0x30e0bf);'revision-suggestion'!=_0x22b7e0||'insertion'!=_0x327569&&'deletion'!=_0x327569||(_0x1b7c28['unshift']({'type':_0x327569,'name':_0x30e0bf,'userId':_0x468b57}),_0x464c9a[_0x23338a]['markersStart']['splice'](_0x529da8,0x1),_0x529da8--);}_0x45d611(_0x464c9a[_0x23338a]);for(let _0x24d495=0x0;_0x24d495<_0x464c9a[_0x23338a]['markersEnd']['length'];_0x24d495++){const _0x481a50=_0x464c9a[_0x23338a]['markersEnd'][_0x24d495];if(!_0x3c052b['has'](_0x481a50))continue;const {group:_0x127c26,type:_0xdb021e}=_0x24381d(_0x481a50);if('revision-suggestion'!=_0x127c26||'insertion'!=_0xdb021e&&'deletion'!=_0xdb021e)continue;_0x464c9a[_0x23338a]['markersEnd']['splice'](_0x24d495,0x1),_0x24d495--;const _0x469ceb=_0x1b7c28['findIndex'](_0x19dec2=>_0x19dec2['name']==_0x481a50);_0x469ceb>-0x1&&_0x1b7c28['splice'](_0x469ceb,0x1);}}function _0x24381d(_0x328418){const _0x99183b=_0x328418['split'](':');return{'group':_0x99183b[0x0],'type':_0x99183b[0x1],'subType':_0x99183b['length']>=0x5?_0x99183b[0x2]:null,'id':_0x99183b['length']<0x5?_0x99183b[0x2]:_0x99183b[0x3],'authorId':_0x99183b['length']<0x5?_0x99183b[0x3]:_0x99183b[0x4],'markerCount':0x6==_0x99183b['length']?_0x99183b[0x5]:null};}function _0x45d611(_0x2b938f){for(let _0x4c93ed=0x0;_0x4c93ed<_0x1b7c28['length'];_0x4c93ed++){if(_0x2b938f['isAdded']&&'insertion'==_0x1b7c28[_0x4c93ed]['type'])return _0x2b938f['isAddSuggestion']=_0x1b7c28[_0x4c93ed],void delete _0x2b938f['isAdded'];if(!_0x2b938f['isAdded']&&!_0x2b938f['isRemoved']&&'deletion'==_0x1b7c28[_0x4c93ed]['type'])return void(_0x2b938f['isRemoveSuggestion']=_0x1b7c28[_0x4c93ed]);}}}['_setDistance'](_0x332b60,_0x2cf812){let _0x58e7b7=0x0,_0x68d5fc=!0x1;const _0x193b64=new Map();for(const _0x2e01a0 of _0x332b60)_0x2e01a0[_0x2cf812]?_0x68d5fc&&(_0x58e7b7++,_0x68d5fc=!0x1):(_0x58e7b7++,_0x68d5fc=!0x0),_0x193b64['set'](_0x2e01a0['id'],_0x58e7b7);for(let _0x45c2f9=0x0;_0x45c2f9<_0x332b60['length'];_0x45c2f9++){if('isRemoved'==_0x2cf812&&_0x332b60[_0x45c2f9]['isAdded']||'isAdded'==_0x2cf812&&_0x332b60[_0x45c2f9]['isRemoved'])continue;if('text'==_0x332b60[_0x45c2f9]['type']){_0x332b60[_0x45c2f9]['distance']=0x0;continue;}const _0x55ba39=_0x193b64['get'](_0x332b60[_0x45c2f9]['pairId']),_0x3af327=_0x193b64['get'](_0x332b60[_0x45c2f9]['id']);_0x332b60[_0x45c2f9]['distance']=_0x55ba39-_0x3af327;}}['_getRevisionsRange'](_0x2e6556,_0x57f139,_0x38844b=!0x1){const _0x155960=[];let _0x31c8f4=this['repository']['getIndex'](_0x2e6556),_0x30a10f=this['repository']['getIndex'](_0x57f139);for(-0x1==_0x30a10f&&(_0x30a10f=this['repository']['_revisions']['length'],_0x38844b=!0x1);_0x31c8f4<_0x30a10f;)_0x155960['push'](this['repository']['getRevision'](_0x31c8f4)),_0x31c8f4++;return _0x38844b&&_0x155960['push'](this['repository']['getRevision'](_0x31c8f4)),_0x155960;}['_threeWayMerge'](_0x149a02,_0x11a98d,_0x1a81fd,_0x183883){const _0x4926ff=this['editor']['model']['schema'];let _0x2369ab=_0x11a98d;for(;_0x149a02[_0x2369ab]&&_0x149a02[_0x2369ab]['isAdded'];)_0x2369ab++;let _0x584117=_0x183883;for(;_0x1a81fd[_0x584117]&&_0x1a81fd[_0x584117]['isRemoved'];)_0x584117++;_0x53d6dd(_0x149a02,_0x11a98d,_0x2369ab),_0x53d6dd(_0x1a81fd,_0x183883,_0x584117);const _0x3a8bb9=_0x1a81fd['slice'](_0x183883,_0x584117)['concat'](_0x149a02['slice'](_0x11a98d,_0x2369ab));return _0x3a8bb9['sort']((_0x399908,_0x16436a)=>_0x399908['side']!=_0x16436a['side']?_0x399908['side']-_0x16436a['side']:_0x399908['level']!=_0x16436a['level']?_0x399908['level']-_0x16436a['level']:_0x399908['distance']!=_0x16436a['distance']?_0x16436a['distance']-_0x399908['distance']:!!_0x399908['isAdded']!=!!_0x16436a['isAdded']?-0x1==_0x399908['side']||0x0==_0x399908['side']?_0x399908['isAdded']?-0x1:0x1:_0x399908['isAdded']?0x1:-0x1:_0x399908['index']-_0x16436a['index']),{'commonTape':_0x3a8bb9,'iEnd':_0x2369ab,'jEnd':_0x584117};function _0x53d6dd(_0x28ad53,_0xc2fc9f,_0x1cbd94){let _0x5d432a=-0x1,_0x416429=Number['POSITIVE_INFINITY'],_0xc78f71=!0x0;for(let _0x104067=_0xc2fc9f;_0x104067<_0x1cbd94;_0x104067++)if(_0x4926ff['isInline'](_0x28ad53[_0x104067]['item'])||(_0xc78f71=!0x1),_0x28ad53[_0x104067]['item']['startIndex']<_0xc2fc9f&&(_0x5d432a=_0x104067),_0x28ad53[_0x104067]['item']['endIndex']>=_0x1cbd94){_0x416429=_0x104067;break;}_0xc78f71&&(_0x5d432a=_0x1cbd94-0x1);for(let _0x56bbee=_0xc2fc9f;_0x56bbee<_0x1cbd94;_0x56bbee++)_0x28ad53[_0x56bbee]['side']=_0x56bbee<=_0x5d432a?-0x1:_0x56bbee<_0x416429?0x0:0x1,_0x28ad53[_0x56bbee]['index']=_0x56bbee;let _0x256793=0x0;for(let _0x2ae4fd=_0xc2fc9f;_0x2ae4fd<=_0x5d432a;_0x2ae4fd++)0x0==_0x28ad53[_0x2ae4fd]['distance']?_0x28ad53[_0x2ae4fd]['level']=_0x256793:(_0x256793++,_0x28ad53[_0x2ae4fd]['level']=_0x256793,_0x256793++);for(let _0x1b97cb=_0xc2fc9f;_0x1b97cb<_0x1cbd94;_0x1b97cb++)0x0==_0x28ad53[_0x1b97cb]['side']&&(_0x28ad53[_0x1b97cb]['level']=_0x256793);_0x256793=0x0;for(let _0x4a4953=_0x1cbd94-0x1;_0x4a4953>=_0x416429;_0x4a4953--)0x0==_0x28ad53[_0x4a4953]['distance']?_0x28ad53[_0x4a4953]['level']=_0x256793:(_0x256793--,_0x28ad53[_0x4a4953]['level']=_0x256793,_0x256793--);}}['_fixObsoleteTags'](_0x2fcf2e){const _0x236f26=new Map(),_0x418f44=this['editor']['model']['schema'];for(let _0x4a3638=0x1;_0x4a3638<_0x2fcf2e['length'];_0x4a3638++){let _0x14c71f,_0x5803c2,_0x360cab;const _0x112091=_0x2fcf2e[_0x4a3638],_0xf67528=_0x2fcf2e[_0x4a3638-0x1];if('text'==_0x112091['type'])continue;if(_0x112091['type']!=_0xf67528['type'])continue;if(!_0x418f44['isBlock'](_0xf67528['item'])||_0x418f44['isLimit'](_0xf67528['item']))continue;if(!_0x418f44['isBlock'](_0x112091['item'])||_0x418f44['isLimit'](_0x112091['item']))continue;if((_0x2fcf2e[_0x4a3638]['isAdded']||_0x2fcf2e[_0x4a3638]['isAddSuggestion'])&&_0x2fcf2e[_0x4a3638-0x1]['isRemoved'])_0x14c71f=_0x2fcf2e[_0x4a3638],_0x5803c2=_0x2fcf2e[_0x4a3638-0x1],_0x360cab=_0x4a3638-0x1;else{if(!_0x2fcf2e[_0x4a3638]['isRemoved']||!_0x2fcf2e[_0x4a3638-0x1]['isAdded']&&!_0x2fcf2e[_0x4a3638-0x1]['isAddSuggestion'])continue;_0x14c71f=_0x2fcf2e[_0x4a3638-0x1],_0x5803c2=_0x2fcf2e[_0x4a3638],_0x360cab=_0x4a3638;}const _0x6d0bc9=_0x14c71f['level']==_0x5803c2['level'],_0x18ebe5=Math['abs'](_0x14c71f['level'])<Math['abs'](_0x5803c2['level'])&&0x0==_0x5803c2['distance'];(_0x6d0bc9||_0x18ebe5)&&(_0x236f26['set'](_0x5803c2['id'],_0x14c71f['id']),_0x2fcf2e['splice'](_0x360cab,0x1),_0x4a3638--,_0x14c71f['isAdded']=!0x1);}for(let _0x494c55=0x0;_0x494c55<_0x2fcf2e['length'];_0x494c55++)_0x236f26['has'](_0x2fcf2e[_0x494c55]['pairId'])&&(_0x2fcf2e[_0x494c55]['pairId']=_0x236f26['get'](_0x2fcf2e[_0x494c55]['pairId']));}['_removeMissingPairs'](_0x4a7c84){const _0x5566df=new Set(_0x4a7c84['map'](_0x3491b1=>_0x3491b1['id']));for(let _0x1246d1=0x0;_0x1246d1<_0x4a7c84['length'];_0x1246d1++)_0x5566df['has'](_0x4a7c84[_0x1246d1]['pairId'])||0x0==_0x4a7c84[_0x1246d1]['distance']||(_0x4a7c84[_0x1246d1]['isIncorrect']=!0x0);return _0x4a7c84['filter'](_0x42b12e=>!_0x42b12e['isIncorrect']);}['_markMismatchedRemovedTags'](_0xbc4710){const _0x1157f0=new Set();for(let _0x4be849=0x0;_0x4be849<_0xbc4710['length'];_0x4be849++){if(_0x1157f0['has'](_0xbc4710[_0x4be849]['id'])&&_0xbc4710[_0x4be849]['isRemoved']&&(_0xbc4710[_0x4be849]['isIncorrect']=!0x0),_0xbc4710[_0x4be849]['isIncorrect'])continue;if(0x0==_0xbc4710[_0x4be849]['distance'])continue;if('elementStart'!=_0xbc4710[_0x4be849]['type'])continue;if(null==_0xbc4710[_0x4be849]['pairId'])continue;let _0x622a6=_0x4be849+0x1,_0x2651e1=0x0;for(;_0xbc4710[_0x622a6]['id']!=_0xbc4710[_0x4be849]['pairId'];)'elementStart'==_0xbc4710[_0x622a6]['type']?_0x2651e1++:'elementEnd'==_0xbc4710[_0x622a6]['type']&&_0x2651e1--,_0x622a6++;if(0x0!=_0x2651e1){if(_0xbc4710[_0x4be849]['isRemoved'])_0xbc4710[_0x4be849]['isIncorrect']=!0x0;else{for(;_0x622a6!=_0x4be849;)_0xbc4710[_0x622a6]['isRemoved']&&0x0!=_0xbc4710[_0x622a6]['distance']&&(_0xbc4710[_0x622a6]['isIncorrect']=!0x0,_0x1157f0['add'](_0xbc4710[_0x622a6]['pairId'])),_0x622a6--;}}}return _0xbc4710['filter'](_0xf5cbdf=>!_0xf5cbdf['isIncorrect']);}['_removeUnsupportedChanges'](_0x495199){const _0x3f3f23=this['editor']['model']['schema'];for(let _0x2056a9=0x0;_0x2056a9<_0x495199['length'];_0x2056a9++){if(!(_0x495199[_0x2056a9]['isAdded']||_0x495199[_0x2056a9]['isAddSuggestion']||_0x495199[_0x2056a9]['isRemoved']||_0x495199[_0x2056a9]['isRemoveSuggestion']))continue;if(0x0==_0x495199[_0x2056a9]['distance'])continue;const _0x167fb4=_0x495199[_0x2056a9]['item'];_0x3f3f23['isBlock'](_0x167fb4)||_0x3f3f23['isLimit'](_0x167fb4)||(_0x495199[_0x2056a9]['isAdded']&&delete _0x495199[_0x2056a9]['isAdded'],_0x495199[_0x2056a9]['isAddSuggestion']&&delete _0x495199[_0x2056a9]['isAddSuggestion'],_0x495199[_0x2056a9]['isRemoveSuggestion']&&delete _0x495199[_0x2056a9]['isRemoveSuggestion'],_0x495199[_0x2056a9]['isRemoved']&&(_0x495199[_0x2056a9]['isIncorrect']=!0x0));}return _0x495199['filter'](_0x465f60=>!_0x465f60['isIncorrect']);}['_makeModelFromTape'](_0x33a334,_0x2dcf13,_0x598a59){const _0x2fd7ec=new wt(),_0x3d5e30=[],_0x567e72=new Map(),_0x16580d=this['editor']['model'],_0x5f4b81=_0x16580d['schema'],_0x1fefc6=[_0x2fd7ec],_0x5677cc={},_0x580cce={'isAdded':[],'isRemoved':[],'isAddSuggestion':[],'isRemoveSuggestion':[]};let _0x524cd5=null;const _0x483527=[0x0];for(let _0x3e7590=0x0;_0x3e7590<_0x33a334['length'];_0x3e7590++){let _0x5b0d0a,_0x728d92;if('elementStart'===_0x33a334[_0x3e7590]['type']){_0x5b0d0a=_0x16580d['createPositionFromPath'](_0x2fd7ec,_0x483527);const _0x1971eb=new ft(_0x33a334[_0x3e7590]['item']['name'],_0x33a334[_0x3e7590]['item']['getAttributes']());_0x1fefc6[0x0]['_appendChild'](_0x1971eb),_0x483527['push'](0x0),_0x1fefc6['unshift'](_0x1971eb),_0x728d92=_0x16580d['createPositionFromPath'](_0x2fd7ec,_0x483527),_0x524cd5=null;}else{if('elementEnd'===_0x33a334[_0x3e7590]['type'])_0x1fefc6['shift'](),_0x5b0d0a=_0x16580d['createPositionFromPath'](_0x2fd7ec,_0x483527),_0x483527['pop'](),_0x483527[_0x483527['length']-0x1]++,_0x728d92=_0x16580d['createPositionFromPath'](_0x2fd7ec,_0x483527),_0x524cd5=null;else{if(_0x5b0d0a=_0x16580d['createPositionFromPath'](_0x2fd7ec,_0x483527),_0x524cd5&&_0x56aa95(_0x524cd5,_0x33a334[_0x3e7590]['item']))_0x524cd5['_data']+=_0x33a334[_0x3e7590]['item']['data'];else{const _0x787cc6=new _t(_0x33a334[_0x3e7590]['item']['data'],_0x33a334[_0x3e7590]['item']['getAttributes']());_0x1fefc6[0x0]['_appendChild'](_0x787cc6),_0x524cd5=_0x787cc6;}_0x483527[_0x483527['length']-0x1]+=_0x33a334[_0x3e7590]['item']['offsetSize'],_0x728d92=_0x16580d['createPositionFromPath'](_0x2fd7ec,_0x483527);}}for(const _0x3dae6e of _0x33a334[_0x3e7590]['markersStart'])_0x567e72['set'](_0x3dae6e,{'start':_0x5b0d0a,'end':null});_0xeba113('isRemoveSuggestion',_0x3e7590,_0x5b0d0a,_0x728d92),_0xeba113('isAddSuggestion',_0x3e7590,_0x5b0d0a,_0x728d92),_0xeba113('isRemoved',_0x3e7590,_0x5b0d0a,_0x728d92),_0xeba113('isAdded',_0x3e7590,_0x5b0d0a,_0x728d92);for(const _0x27d350 of _0x33a334[_0x3e7590]['markersEnd']){_0x567e72['get'](_0x27d350)['end']=_0x728d92;}}for(const [_0x125a8e,_0x17e332]of _0x567e72){const _0x3891de=this['editor']['model']['createRange'](_0x17e332['start'],_0x17e332['end']);_0x2fd7ec['markers']['set'](_0x125a8e,_0x3891de);}return _0x3d5e30['sort']((_0x359f76,_0x496d82)=>{const _0x330ef0=_0x2fd7ec['markers']['get']('revision:'+_0x359f76['id']),_0x932ce0=_0x2fd7ec['markers']['get']('revision:'+_0x496d82['id']);return _0x330ef0['start']['isBefore'](_0x932ce0['start'])?-0x1:_0x330ef0['start']['isAfter'](_0x932ce0['start'])?0x1:_0x330ef0['end']['isBefore'](_0x932ce0['end'])?-0x1:_0x330ef0['end']['isAfter'](_0x932ce0['end'])?0x1:'add'===_0x359f76['type']?-0x1:0x1;}),{'root':_0x2fd7ec,'changes':_0x3d5e30};function _0xeba113(_0x51852e,_0x215f3e,_0xfe6448,_0x48d053){const _0x43d16f=!!_0x33a334[_0x215f3e][_0x51852e],_0x55ae1d=_0x43d16f?_0x33a334[_0x215f3e][_0x51852e]['userId']:null,_0x31622e=_0x215f3e===_0x33a334['length']-0x1,_0x755b7f=_0x580cce[_0x51852e][0x0],_0x3fb1ca=_0x5f4b81['isObject'](_0x33a334[_0x215f3e]['item']);!_0x5677cc[_0x51852e]&&_0x43d16f?_0x5677cc[_0x51852e]={'start':_0xfe6448,'tapeItem':_0x33a334[_0x215f3e],'userId':_0x55ae1d,'type':_0x51852e}:_0x5677cc[_0x51852e]&&!_0x43d16f?(_0x5677cc[_0x51852e]['end']=_0xfe6448,_0x296ec0(_0x5677cc[_0x51852e]),_0x5677cc[_0x51852e]=null):_0x5677cc[_0x51852e]&&_0x43d16f&&_0x5677cc[_0x51852e]['userId']!==_0x55ae1d&&(_0x5677cc[_0x51852e]['end']=_0xfe6448,_0x755b7f&&_0x755b7f['userId']===_0x5677cc[_0x51852e]['userId']||_0x296ec0(_0x5677cc[_0x51852e]),_0x5677cc[_0x51852e]={'start':_0xfe6448,'tapeItem':_0x33a334[_0x215f3e],'userId':_0x55ae1d,'type':_0x51852e}),_0x5677cc[_0x51852e]&&_0x3fb1ca&&('elementStart'!==_0x33a334[_0x215f3e]['type']||_0x755b7f&&_0x755b7f['userId']===_0x55ae1d||_0x580cce[_0x51852e]['unshift']({'userId':_0x55ae1d,'object':_0x33a334[_0x215f3e]['item'],'change':_0x5677cc[_0x51852e]}),'elementEnd'===_0x33a334[_0x215f3e]['type']&&_0x755b7f&&_0x755b7f['object']===_0x33a334[_0x215f3e]['item']&&(_0x580cce[_0x51852e]['shift'](),_0x5677cc[_0x51852e]=_0x755b7f['change'])),_0x5677cc[_0x51852e]&&_0x31622e&&(_0x5677cc[_0x51852e]['end']=_0x48d053,_0x296ec0(_0x5677cc[_0x51852e]),_0x5677cc[_0x51852e]=null);}function _0x296ec0({start:_0x4fedce,end:_0xc905d3,tapeItem:_0x178a99,userId:_0xe08254,type:_0x4b24b3}){const _0x5e76fd=_0x178a99['item'],_0x7f643=_0x16580d['schema']['isBlock'](_0x5e76fd)&&!_0x16580d['schema']['isLimit'](_0x5e76fd),_0x41c075=_0x4fedce['nodeAfter']==_0xc905d3['parent']&&_0xc905d3['isAtStart'];if(_0x7f643&&_0x41c075)return;const _0x1aa11d=_0x16580d['createRange'](_0x4fedce,_0xc905d3),_0x244c60=_0x2dcf13['get'](_0xe08254),_0x36f155=new r({'author':_0x244c60,'type':'isAdded'==_0x4b24b3||'isAddSuggestion'==_0x4b24b3?'add':'remove','data':{'isSuggestion':'isAddSuggestion'==_0x4b24b3||'isRemoveSuggestion'==_0x4b24b3},'createdAt':new Date(),'rootName':_0x598a59});_0x3d5e30['push'](_0x36f155),_0x2fd7ec['markers']['set']('revision:'+_0x36f155['id'],_0x1aa11d);}function _0x56aa95(_0x3bcb06,_0x5b1152){const _0x47bc8b=_0x3bcb06['getAttributes'](),_0x5c49e3=_0x5b1152['getAttributes']();for(const _0x5a2821 of _0x47bc8b){if(_0x5a2821[0x1]!==_0x5b1152['getAttribute'](_0x5a2821[0x0]))return!0x1;_0x5c49e3['next']();}return _0x5c49e3['next']()['done'];}}['_setConversion'](){this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'revision'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision','view':_0x1a016e=>{const _0x5292ab=_0x1a016e['markerName']['split'](':')[0x1],_0x586b1c=this['_getChangeFromId'](_0x5292ab);if(!_0x586b1c)return null;const _0x2d830a='add'==_0x586b1c['type']?'insertion':'deletion',_0x5a2269=['ck-suggestion-marker','ck-suggestion-marker-'+_0x2d830a];return _0x586b1c['data']['isSuggestion']&&_0x5a2269['push']('ck-suggestion-marker-'+_0x2d830a+'-new'),this['activeChange']==_0x586b1c&&_0x5a2269['push']('ck-suggestion-marker--active'),{'classes':_0x5a2269,'attributes':{'data-change-id':_0x5292ab}};}}),this['editor']['conversion']['for']('upcast')['add'](_0x55577b=>{_0x55577b['on']('element:pre',(_0x3b0ae1,_0x29b217,_0x377954)=>{const _0x5e079c=_0x29b217['viewItem']['getChild'](0x0);if(!_0x5e079c||!_0x5e079c['is']('element','code'))return;if(!_0x377954['consumable']['consume'](_0x5e079c,{'attributes':['vid_start','vid_end']}))return;const _0xfc0ae2=_0x29b217['modelRange']['start']['nodeAfter'];_0x377954['writer']['setAttribute']('vid_start',_0x5e079c['getAttribute']('vid_start'),_0xfc0ae2),_0x377954['writer']['setAttribute']('vid_end',_0x5e079c['getAttribute']('vid_end'),_0xfc0ae2);},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['add'](_0x122b39=>{_0x122b39['on']('element',(_0xfbe8ac,_0x53ce25,_0x4ecfbb)=>{if(!_0x4ecfbb['consumable']['consume'](_0x53ce25['viewItem'],{'attributes':['vid_start','vid_end']}))return;if(_0x53ce25['modelRange']['isCollapsed'])return;const _0x515be7=_0x53ce25['modelRange']['start']['nodeAfter'];_0x515be7['hasAttribute']('vid_start')||_0x515be7['hasAttribute']('vid')||(_0x4ecfbb['writer']['setAttribute']('vid_start',_0x53ce25['viewItem']['getAttribute']('vid_start'),_0x515be7),_0x4ecfbb['writer']['setAttribute']('vid_end',_0x53ce25['viewItem']['getAttribute']('vid_end'),_0x515be7));},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['elementToAttribute']({'view':{'name':'span','attributes':{'vid':!0x0}},'model':{'key':'vid','value':_0x4476e0=>_0x4476e0['getAttribute']('vid')}}),this['editor']['model']['schema']['on']('checkAttribute',(_0xa9439f,[,_0x2295fc])=>{['vid_start','vid_end','vid']['includes'](_0x2295fc)&&(_0xa9439f['return']=!0x0,_0xa9439f['stop']());},{'priority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['add'](_0x40ddd1=>{_0x40ddd1['on']('attribute:vid',(_0x4c3b6e,_0x51a917,_0x35b9c6)=>{if('\x20'!=_0x51a917['item']['data']||_0x51a917['item']['parent']['maxOffset']>0x1)return;if(!_0x35b9c6['consumable']['consume'](_0x51a917['item'],_0x4c3b6e['name']))return;const _0x4e5349=_0x35b9c6['writer'],_0x3342b3=_0x35b9c6['mapper']['toViewRange'](_0x51a917['range']);_0x4e5349['wrap'](_0x3342b3,_0x4e5349['createAttributeElement']('span'));});}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',function(_0x107fb8){const _0x182211=_0x107fb8['plugins']['get']('RevisionViewer');return(_0x13e87b,_0x19a517,_0x5c462d)=>{const _0x389080=_0x19a517['markerName']['split'](':')[0x1],_0x43577e=_0x182211['_getChangeFromId'](_0x389080);if(!_0x43577e)return null;const _0x4168b7='add'==_0x43577e['type']?'split':'merge';if(!_0x5c462d['consumable']['test'](_0x19a517['markerRange'],_0x13e87b['name']))return;const _0x17ad77=_0x19a517['markerRange']['getWalker'](),_0x5b3d61=_0x19a517['markerRange']['start'],_0x1c25da=_0x107fb8['model']['schema'];let _0x7a4afa=null,_0x47c7e2=null,_0x581985=!0x1,_0x41d847=!0x1;for(const _0xcf8041 of _0x17ad77){const _0x26d35b=_0xcf8041['item'];_0x581985=_0x581985||_0x1c25da['isContent'](_0x26d35b);const _0x38c8da=_0x5c462d['mapper']['toViewElement'](_0x26d35b);if(_0x38c8da&&_0x38c8da['getCustomProperty']('addHighlight'))return;'elementEnd'==_0xcf8041['type']&&(_0x1c25da['isBlock'](_0x26d35b)&&!_0x1c25da['isLimit'](_0x26d35b)&&(_0x26d35b['nextSibling']||_0x5b3d61['isAtEnd']?_0x7a4afa&&_0x7a4afa['parent']==_0x26d35b||(_0x7a4afa=_0x26d35b,_0x2f875b(_0xcf8041['previousPosition']),_0x41d847=!0x0):_0x47c7e2=_0x47c7e2||_0xcf8041['previousPosition']));}function _0x2f875b(_0x52bb97){const _0x545843=_0x5c462d['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x4168b7}),_0x592b8d=_0x5c462d['mapper']['toViewPosition'](_0x52bb97);_0x43577e['data']['isSuggestion']&&_0x5c462d['writer']['addClass']('ck-suggestion-marker-'+_0x4168b7+'-new',_0x545843),_0x182211['activeChange']==_0x43577e&&_0x5c462d['writer']['addClass']('ck-suggestion-marker--active',_0x545843),_0x5c462d['writer']['insert'](_0x592b8d,_0x545843),_0x5c462d['mapper']['bindElementToMarker'](_0x545843,_0x19a517['markerName']);}_0x581985||_0x41d847||!_0x47c7e2||_0x2f875b(_0x47c7e2);};}(this['editor']),{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('removeMarker:revision',(_0x27c2f3,_0xd2a319,_0x48e0ae)=>{const _0x534260=_0x48e0ae['mapper']['markerNameToElements'](_0xd2a319['markerName']);if(_0x534260){for(const _0x20f73f of _0x534260)(_0x20f73f['hasClass']('ck-suggestion-marker-split')||_0x20f73f['hasClass']('ck-suggestion-marker-merge'))&&(_0x48e0ae['mapper']['unbindElementFromMarkerName'](_0x20f73f,_0xd2a319['markerName']),_0x48e0ae['writer']['remove'](_0x20f73f));}},{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',(_0x3cf1b6,_0x31ebc4,_0x166979)=>{const _0x277016=_0x31ebc4['markerName']['split'](':')[0x1],_0x47c157=this['_getChangeFromId'](_0x277016);if(!_0x47c157)return null;const _0x5db275='add'==_0x47c157['type']?'split':'merge';if(_0x166979['consumable']['test'](_0x31ebc4['markerRange'],_0x3cf1b6['name']))for(const _0x3a72f6 of _0x31ebc4['markerRange']['getItems']()){if(!_0x3a72f6['is']('element','softBreak'))continue;const _0x42c050=_0x166979['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x5db275}),_0x1a4e02=_0x166979['mapper']['toViewPosition'](this['editor']['model']['createPositionBefore'](_0x3a72f6));_0x47c157['data']['isSuggestion']&&_0x166979['writer']['addClass']('ck-suggestion-marker-'+_0x5db275+'-new',_0x42c050),this['activeChange']==_0x47c157&&_0x166979['writer']['addClass']('ck-suggestion-marker--active',_0x42c050),_0x166979['writer']['insert'](_0x1a4e02,_0x42c050),_0x166979['mapper']['bindElementToMarker'](_0x42c050,_0x31ebc4['markerName']);}},{'priority':'high'}),this['editor']['model']['document']['on']('change',()=>{this['editor']['editing']['view']['change'](_0x1daf67=>{for(const _0x1b229f of this['editor']['model']['document']['getRootNames']()){const _0x50593a=this['editor']['model']['document']['getRoot'](_0x1b229f),_0x104f86=this['editor']['editing']['view']['document']['getRoot'](_0x1b229f);if(_0x104f86){const _0x5c03a1=_0x50593a['getAttribute']('revisionHistoryAttachChange');if(_0x1daf67['removeAttribute']('data-change-id',_0x104f86),_0x1daf67['removeClass']('ck-revision-history-root-add',_0x104f86),_0x1daf67['removeClass']('ck-revision-history-root-remove',_0x104f86),_0x1daf67['removeClass']('ck-revision-history-root--active',_0x104f86),_0x5c03a1){const _0x5232aa=this['_getChangeFromId'](_0x5c03a1);if(!_0x5232aa)return null;_0x1daf67['setAttribute']('data-change-id',_0x5c03a1,_0x104f86),_0x1daf67['addClass']('ck-revision-history-root-'+_0x5232aa['type'],_0x104f86),this['activeChange']==_0x5232aa&&_0x1daf67['addClass']('ck-revision-history-root--active',_0x104f86);}}}});}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'comment','model':_0x3a4511=>'revision-comment:'+_0x3a4511,'converterPriority':'highest'}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'suggestion','model':_0x2d05a2=>'revision-suggestion:'+_0x2d05a2,'converterPriority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision-suggestion','view':_0x3ff11a=>({'name':'suggestion:'+_0x3ff11a,'group':'revision-suggestion'}),'converterPriority':'highest'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision-suggestion','view':_0x1c9822=>{const _0x5c2d20=_0x1c9822['markerName']['split'](':')[0x1];return'insertion'!=_0x5c2d20&&'deletion'!=_0x5c2d20?null:{'classes':['ck-suggestion-preview-marker','ck-suggestion-preview-marker-'+_0x5c2d20]};}}),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',(_0x534e49,_0x192003,_0xad3ed7)=>{const _0x3caa9e=_0xad3ed7['mapper']['markerNameToElements'](_0x192003['markerName']);if(_0x3caa9e){for(const _0x46cafa of _0x3caa9e)_0x46cafa['is']('uiElement')&&(_0xad3ed7['mapper']['unbindElementFromMarkerName'](_0x46cafa,_0x192003['markerName']),_0xad3ed7['writer']['remove'](_0x46cafa));}},{'priority':'high'});}['_getChangeFromId'](_0x343aea){return this['_changeIdToChange']['get'](_0x343aea);}['_getViewForChange'](_0x19e00b){return this['_changeView']&&this['_changeView']['destroy'](),this['_changeView']=new Z(this['editor']['locale'],_0x19e00b),this['_changeView'];}['_initInteractions'](){this['editor']['model']['document']['selection']['observeMarkers']('revision'),this['on']('change:activeView',(_0x5819cb,_0x20a59c,_0x4ed9af,_0x5b3b63)=>{_0x5b3b63&&this['_balloon']['remove'](_0x5b3b63),_0x4ed9af&&(this['_balloon']['add']({'view':_0x4ed9af,'stackId':'revisionHistoryLabel','position':{'target':()=>{const _0x310524=this['editor']['editing'],_0x70957f=this['_getChangeFromId'](_0x4ed9af['changeId']);let _0x14a68c;if(_0x70957f['data']['isOnRoot']){const _0x1ccc60=_0x310524['view']['getDomRoot'](_0x70957f['rootName']);_0x14a68c=Array['from'](_0x1ccc60['getClientRects']());}else{const _0x4fc040=this['editor']['model']['markers']['get']('revision:'+_0x4ed9af['changeId']);_0x14a68c=Array['from'](_0x310524['mapper']['markerNameToElements'](_0x4fc040['name']))['map'](_0x35ac66=>_0x310524['view']['domConverter']['mapViewToDom'](_0x35ac66))['map'](_0x17c2ff=>Array['from'](_0x17c2ff['getClientRects']()))['flat']();}if(!this['_activeViewTarget'])return _0x14a68c[0x0];return _0x14a68c['find'](_0x34a26e=>_0x34a26e['top']-0x3<=this['_activeViewTarget']['y']&&_0x34a26e['bottom']+0x3>=this['_activeViewTarget']['y']&&_0x34a26e['left']-0x3<=this['_activeViewTarget']['x']&&_0x34a26e['right']+0x3>=this['_activeViewTarget']['x'])||_0x14a68c[0x0];}}}),this['_balloon']['showStack']('revisionHistoryLabel'));}),this['on']('change:activeChange',(_0x302d06,_0x3dafdb,_0x1f7e8d,_0x3e2ac6)=>{this['activeView']=_0x1f7e8d?this['_getViewForChange'](_0x1f7e8d):null,this['editor']['model']['change'](()=>{const _0x76a2ec=this['editor']['editing'];_0x3e2ac6&&(_0x3e2ac6['data']['isOnRoot']?_0x76a2ec['view']['change'](_0x391c9e=>{_0x391c9e['removeClass']('ck-revision-history-root--active',_0x76a2ec['view']['document']['getRoot'](_0x3e2ac6['rootName']));}):_0x76a2ec['reconvertMarker']('revision:'+_0x3e2ac6['id'])),_0x1f7e8d&&(_0x1f7e8d['data']['isOnRoot']?_0x76a2ec['view']['change'](_0x21d93c=>{_0x21d93c['addClass']('ck-revision-history-root--active',_0x76a2ec['view']['document']['getRoot'](_0x1f7e8d['rootName']));}):_0x76a2ec['reconvertMarker']('revision:'+_0x1f7e8d['id']));});}),this['listenTo'](this['editor']['editing']['view']['document'],'mouseover',(_0x28c39d,_0x1cebca)=>{if(this['activeChange'])return;const _0x24d6ed=this['_findChangeIdFromDomTarget'](_0x1cebca['target']),_0x1ab94e=this['_changeIdToChange']['get'](_0x24d6ed);_0x1ab94e?(this['_activeViewTarget']={'x':_0x1cebca['domEvent']['x'],'y':_0x1cebca['domEvent']['y']},this['activeView']=this['_getViewForChange'](_0x1ab94e)):(this['_activeViewTarget']=null,this['activeView']=null);}),this['listenTo'](this['editor']['editing']['view']['document'],'mousedown',(_0x34f921,_0x328112)=>{const _0x45f375=this['_findChangeIdFromDomTarget'](_0x328112['target']),_0x27cb2c=this['_changeIdToChange']['get'](_0x45f375);_0x27cb2c?(this['_activeViewTarget']={'x':_0x328112['domEvent']['x'],'y':_0x328112['domEvent']['y']},_0x27cb2c===this['activeChange']?this['_balloon']['updatePosition']():this['activeChange']=_0x27cb2c):(this['_activeViewTarget']=null,this['activeChange']=null);});}['_findChangeIdFromDomTarget'](_0x3e048c){do{const _0x9fd899=_0x3e048c['getAttribute']('data-change-id');if(_0x9fd899)return _0x9fd899;_0x3e048c=_0x3e048c['parent'];}while(_0x3e048c);return null;}['_cleanMarkers'](){this['editor']['model']['change'](_0x1773f9=>{for(const _0x1f2d7b of this['editor']['model']['markers'])_0x1773f9['removeMarker'](_0x1f2d7b);});}}function et(_0x3560df,_0xf48fcc){return(_0x96837a,_0x36a27d,_0x2616fc)=>{if(!_0x2616fc['consumable']['test'](_0x36a27d['markerRange'],_0x96837a['name']))return;const _0x210a43=_0x36a27d['markerRange']['getWalker'](),_0x306784=_0x36a27d['markerRange']['start'],_0x2274e5=_0x3560df['model']['schema'];let _0x333499=null,_0xe3328e=null,_0xad7a9e=!0x1,_0x2fc8e5=!0x1;for(const _0x48d2af of _0x210a43){const _0x58b93c=_0x48d2af['item'];_0xad7a9e=_0xad7a9e||_0x2274e5['isContent'](_0x58b93c);const _0x253a5f=_0x2616fc['mapper']['toViewElement'](_0x58b93c);if(_0x253a5f&&_0x253a5f['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x48d2af['type']&&(_0x2274e5['isBlock'](_0x58b93c)&&!_0x2274e5['isLimit'](_0x58b93c)&&(_0x58b93c['nextSibling']||_0x306784['isAtEnd']?_0x333499&&_0x333499['parent']==_0x58b93c||(_0x333499=_0x58b93c,_0x142527(_0x48d2af['previousPosition']),_0x2fc8e5=!0x0):_0xe3328e=_0xe3328e||_0x48d2af['previousPosition']));}function _0x142527(_0x52ffc2){const _0x59f20c=_0x2616fc['mapper']['toViewPosition'](_0x52ffc2),_0xf6c1c2=_0x2616fc['writer']['createUIElement']('span',{'class':'ck-suggestion-preview-marker-'+_0xf48fcc});_0x2616fc['writer']['insert'](_0x59f20c,_0xf6c1c2),_0x2616fc['mapper']['bindElementToMarker'](_0xf6c1c2,_0x36a27d['markerName']);}_0xad7a9e||_0x2fc8e5||!_0xe3328e||_0x142527(_0xe3328e);};}class bt extends _0x328826{constructor(_0x971e8c){super(_0x971e8c);const _0x4da9cb=_0x971e8c['plugins']['get'](d);this['affectsData']=!0x1,this['listenTo'](_0x4da9cb,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x4da9cb,'change:isEnabled',()=>this['refresh']());}['execute'](){const _0x5756d1=this['editor'],_0x2e1fb3=_0x5756d1['plugins']['get'](d),_0x269478=_0x2e1fb3['isReady']?_0x2e1fb3['diff']['newRevisionId']:null;_0x5756d1['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x269478);}['refresh'](){const {isReady:_0x231d55,isEnabled:_0x3b1bf0}=this['editor']['plugins']['get'](d);this['isEnabled']=_0x231d55&&_0x3b1bf0;}}class yt extends _0x328826{['_step'];constructor(_0xcfe294,{direction:_0x3161fc}){super(_0xcfe294);const _0x59b8af=_0xcfe294['plugins']['get'](d);this['affectsData']=!0x1,this['_step']='forward'===_0x3161fc?0x1:-0x1,this['listenTo'](_0x59b8af,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x59b8af,'change:isEnabled',()=>this['refresh']()),this['listenTo'](_0x59b8af,'change:activeChange',()=>this['refresh']());}['execute'](){const _0x3f8705=this['editor'],_0x28b84c=_0x3f8705['plugins']['get'](d),{isNavigationMode:_0x43da37,currentChangeNumber:_0x2c8ffd}=_0x28b84c;let _0x1e9f3d;if(_0x28b84c['activeChange']=_0x43da37?_0x28b84c['diff']['changes']['get'](_0x2c8ffd+this['_step']):_0x28b84c['diff']['changes']['first'],_0x28b84c['activeChange']['data']['isOnRoot'])_0x1e9f3d=_0x3f8705['editing']['view']['getDomRoot'](_0x28b84c['activeChange']['rootName']);else{const _0x193f4c=_0x3f8705['model']['markers']['get']('revision:'+_0x28b84c['activeChange']['id']);_0x1e9f3d=_0x6566(_0x3f8705['editing'],_0x193f4c);}_0x15a01e({'target':_0x1e9f3d,'viewportOffset':0x28});}['refresh'](){const {isNavigationMode:_0x3591bc,currentChangeNumber:_0x2bec47,numberOfChanges:_0x1da7bc,isReady:_0x5b96a8,isEnabled:_0x2a59b5}=this['editor']['plugins']['get'](d);this['isEnabled']=!!(_0x2a59b5&&_0x5b96a8&&_0x1da7bc)&&(!_0x3591bc||(0x1===this['_step']?_0x2bec47<_0x1da7bc-0x1:_0x2bec47>0x0));}}class _i extends _0x40d391{constructor(_0x4ff142){super(_0x4ff142);const _0x5e0567=this['bindTemplate'],_0x3a3595=new _0x4a8d7c(_0x4ff142),_0x49dfd1=new _0x4a8d7c(_0x4ff142);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',(_0x3e62fc,_0x2b821c)=>_0x3e62fc&&_0x2b821c>0x0),this['bind']('_statusText')['to'](this,'isReady',this,'currentChangeNumber',this,'numberOfChanges',this,'isNavigationMode',(_0x525380,_0x21a81f,_0x15f47f,_0x168e18)=>{if(!_0x525380)return y(_0x4ff142,'Loading...');if(!_0x15f47f)return y(_0x4ff142,'No\x20changes');const _0x28c3e8=y(_0x4ff142,'NUMBER_OF_CHANGES',_0x15f47f);return _0x168e18?y(_0x4ff142,'X_OF_Y_CHANGES',[_0x21a81f+0x1,_0x15f47f]):_0x28c3e8;}),_0x3a3595['set']({'label':y(_0x4ff142,'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'}),_0x49dfd1['set']({'label':y(_0x4ff142,'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'}),_0x3a3595['bind']('isEnabled')['to'](this,'isBackwardNavigationEnabled'),_0x49dfd1['bind']('isEnabled')['to'](this,'isForwardNavigationEnabled'),_0x3a3595['on']('execute',()=>this['fire']('execute','backward')),_0x49dfd1['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',_0x5e0567['if']('_isStatusLabelVisible','ck-hidden',_0x16e763=>!_0x16e763)]},'children':[{'text':_0x5e0567['to']('isNavigationMode',_0x435232=>_0x435232?y(_0x4ff142,'EDIT_X_OF_Y_REVISIONS')+':\x20':y(_0x4ff142,'Total')+':\x20')}]},{'text':_0x5e0567['to']('_statusText')}]},new _0x23ef9b(),{'tag':'div','attributes':{'class':['ck-revision-history-ui__changes-navigation__navigation']},'children':[_0x3a3595,_0x49dfd1]}]});}}const ce='ck-editor__editable__loading-overlay';class de extends _0x3b354a{static get['pluginName'](){return'RevisionViewerLoadingOverlay';}['show'](){const _0x49db6d=this['editor']['editing']['view'];_0x49db6d['change'](_0x433cb0=>{for(const _0x3ae0e0 of _0x49db6d['document']['roots'])_0x433cb0['addClass'](ce,_0x3ae0e0);});}['hide'](){const _0x380353=this['editor']['editing']['view'];_0x380353['change'](_0x59c9a6=>{for(const _0x382245 of _0x380353['document']['roots'])_0x59c9a6['removeClass'](ce,_0x382245);});}}class R extends _0x3b354a{static get['pluginName'](){return'RevisionViewerUI';}static get['requires'](){return[d,de];}['init'](){const _0x32f32d=this['editor'],_0x513d7a=_0x32f32d['plugins']['get'](d),_0x10fcf9=_0x32f32d['plugins']['get'](de);_0x32f32d['ui']['componentFactory']['add']('exitToEditing',_0x5972ec=>{const _0x129110=new _0x4a8d7c(_0x5972ec);return _0x129110['set']({'label':y(_0x5972ec,'Back\x20to\x20editing'),'icon':_0x71633d['undo'],'withText':!0x0,'tooltip':!0x0,'class':'ck-revision-history-ui__back-to-editing'}),this['listenTo'](_0x129110,'execute',()=>{_0x32f32d['config']['get']('revisionHistory')['closeRevisionViewerCallback']();}),_0x129110;}),_0x32f32d['ui']['componentFactory']['add']('restoreRevision',_0x8cbe3e=>{const _0x22bf5e=new _0x4a8d7c(_0x8cbe3e);return _0x22bf5e['set']({'label':y(_0x8cbe3e,'Restore\x20this\x20revision'),'withText':!0x0,'tooltip':!0x0}),_0x22bf5e['bind']('isEnabled')['to'](_0x32f32d['commands']['get']('restoreRevision')),this['listenTo'](_0x22bf5e,'execute',()=>_0x32f32d['execute']('restoreRevision')),_0x22bf5e;}),_0x32f32d['ui']['componentFactory']['add']('changesNavigation',_0x49d3c7=>{const _0x25aba9=new _i(_0x49d3c7),_0x2b4a66=_0x32f32d['commands']['get']('showPreviousChange'),_0x4732d0=_0x32f32d['commands']['get']('showNextChange');return _0x25aba9['bind']('isBackwardNavigationEnabled')['to'](_0x2b4a66,'isEnabled'),_0x25aba9['bind']('isForwardNavigationEnabled')['to'](_0x4732d0,'isEnabled'),_0x25aba9['bind']('isReady','currentChangeNumber','numberOfChanges','isNavigationMode')['to'](_0x513d7a),this['listenTo'](_0x25aba9,'execute',(_0x1dc181,_0x572aad)=>{_0x32f32d['execute']('forward'===_0x572aad?'showNextChange':'showPreviousChange');}),_0x25aba9;}),_0x10fcf9['show'](),_0x513d7a['on']('change:isReady',(_0x267ac1,_0x38c5e6,_0x3224f2)=>{_0x3224f2?_0x10fcf9['hide']():_0x10fcf9['show']();});}}class kt extends at{['_resizeObserver']=null;constructor(_0x40a13a,_0x55b7c6){super(_0x40a13a,_0x55b7c6);const _0x43630c=this['bindTemplate'];this['set']({'label':y(_0x40a13a,'Revision\x20name'),'_tooltipString':''}),this['fieldView']['placeholder']=y(_0x40a13a,'Enter\x20the\x20revision\x20name'),this['extendTemplate']({'tag':'span','attributes':{'class':['ck-revision-history-sidebar__revision-name'],'data-cke-tooltip-text':_0x43630c['to']('_tooltipString'),'data-cke-tooltip-position':'s','data-cke-tooltip-class':'ck-tooltip_multi-line'}});}['render'](){super['render'](),this['_resizeObserver']=new mt(this['fieldView']['element'],()=>this['_updateTooltipText']()),this['listenTo'](this['fieldView'],'input',()=>this['_updateTooltipText']());}['destroy'](){super['destroy'](),this['_resizeObserver']&&this['_resizeObserver']['destroy']();}['_updateTooltipText'](){const _0x21829f=this['fieldView']['element'];this['_tooltipString']=_0x21829f['scrollWidth']>_0x21829f['clientWidth']&&_0x21829f['value']||'';}}class ti extends _0x40d391{constructor(_0x45c2ab,_0xcddf77,_0x5e5159){super(_0x45c2ab);const _0x34ac0d=new _0x4ea2a3();_0x34ac0d['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 _0x1ac7dc=['ck','ck-revision-history-sidebar__revision-author'];_0x5e5159&&_0x1ac7dc['push']('ck-revision-history-sidebar__revision-author_creator');const _0x42d529=[{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__revision-author__name'],'title':y(_0x45c2ab,_0x5e5159?'Revision\x20creator':'Revision\x20author')},'children':[_0x34ac0d,_0xcddf77['name']]}];this['setTemplate']({'tag':'li','attributes':{'class':_0x1ac7dc},'children':_0x42d529});}}function ni(_0x1c0bd3,_0x59d3be){const _0x3ebd3b=_0x1c0bd3['bindTemplate'],_0x1b44b8=_0x1c0bd3['locale'],_0x2d0408=_0x54b6f4(_0x1b44b8);_0x2d0408['panelPosition']='sw';const _0x5e31da=function(_0x38aca3,_0x4d1a2b){const _0x21d68d=function(_0x1af261,_0x27bdd5){const _0x28901c=_0x1af261['locale'],_0x3b5d72={'Compare\x20against\x20selected':y(_0x28901c,'Compare\x20against\x20selected'),'Name\x20this\x20revision':y(_0x28901c,'Name\x20this\x20revision'),'Restore\x20this\x20revision':y(_0x28901c,'Restore\x20this\x20revision')};return _0x27bdd5['map'](_0x36a36a=>{const _0x211455=_0x3b5d72[_0x36a36a['name']];return _0x211455&&_0x211455!==_0x36a36a['name']&&(_0x36a36a['name']=_0x211455),_0x36a36a;});}(_0x38aca3,_0x4d1a2b),_0x24fe50=new _0x48b80c();for(const _0x4f4b55 of _0x21d68d){const _0x1deb12={'type':'button','model':new to({'label':_0x4f4b55['name'],'class':_0x4f4b55['class'],'withText':!0x0,'role':'menuitem','_action':_0x4f4b55['action']})};_0x1deb12['model']['bind']('isEnabled')['to'](_0x38aca3,'isActionsDropdownOpen',_0x1964cf=>'function'!=typeof _0x4f4b55['isEnabled']||(!_0x1964cf||_0x4f4b55['isEnabled'](_0x38aca3))),_0x24fe50['add'](_0x1deb12);}return _0x24fe50;}(_0x1c0bd3,_0x59d3be);return _0x1c0bd3['bind']('isActionsDropdownOpen')['to'](_0x2d0408,'isOpen'),_0x2d0408['buttonView']['set']({'label':y(_0x1b44b8,'Show\x20more\x20items'),'tooltip':!0x0,'tooltipPosition':'sw','icon':_0x71633d['threeVerticalDots']}),_0x2d0408['extendTemplate']({'attributes':{'class':['ck-revision-history-sidebar__revision__actions',_0x3ebd3b['if']('isActionsDropdownOpen','ck-on')]},'on':{'click':_0x3ebd3b['to'](_0x28b796=>_0x28b796['stopPropagation']())}}),_0x2d0408['on']('execute',_0x3b7cdd=>{_0x1c0bd3['isReady']&&'function'==typeof _0x3b7cdd['source']['_action']&&_0x3b7cdd['source']['_action'](_0x1c0bd3);}),_0x42ae14(_0x2d0408,_0x5e31da,{'role':'menu'}),_0x2d0408['listenTo'](_0x1c0bd3,'change:isActionsDropdownOpen',(_0x3487cb,_0x1a90fa,_0x262943)=>{if(_0x262943)for(const _0x4dbfb2 of _0x2d0408['listView']['items']){const _0x58b524=_0x4dbfb2['children']['first'],_0x5980c4=_0x59d3be['find'](_0x5cc8e6=>_0x5cc8e6['action']===_0x58b524['_action'])['isVisible'];_0x4dbfb2['isVisible']=void 0x0===_0x5980c4||_0x5980c4(_0x1c0bd3);}}),_0x2d0408;}class ai extends/* #__PURE__ -- @preserve */
26
+ _0x3ac99b(_0x40d391){['id'];['revisionNameView'];['revisionActionsView'];['_revision'];['_requireRevisionName'];constructor(_0x1dd833,_0x2ac28f,_0x56396f,_0x1b728e){super(_0x1dd833);const _0x5994b4=this['bindTemplate'],_0x44f2fd=function(_0x20e1f1,_0x2ce642){const _0x607247=Array['from'](_0x2ce642['authors'])['filter'](_0x57bdd8=>_0x57bdd8!=_0x2ce642['creator']);return _0x2ce642['creator']&&_0x607247['unshift'](_0x2ce642['creator']),_0x607247['map'](_0x485e66=>new ti(_0x20e1f1,_0x485e66,_0x485e66==_0x2ce642['creator']));}(_0x1dd833,_0x2ac28f);this['id']=_0x2ac28f['id'],this['_revision']=_0x2ac28f,this['_requireRevisionName']=_0x1b728e,this['bind']('name','createdAt')['to'](_0x2ac28f),this['bind']('_createdAtFormatted')['to'](this,'createdAt',_0x51ffd3=>{return _0xa05f4a=_0x1dd833['uiLanguage'],(_0x47a780=_0x51ffd3)['toLocaleDateString'](_0xa05f4a,{'month':'long','day':'numeric'})+',\x20'+_0x47a780['toLocaleTimeString'](_0xa05f4a,{'hour':'numeric','minute':'numeric'});var _0xa05f4a,_0x47a780;}),this['set']('isSelected',!0x1),this['set']('isHighlighted',!0x1),this['set']('isActionsDropdownOpen',!0x1),this['set']('isReady',!0x1),this['set']('isEnabled',!0x1),this['revisionNameView']=new kt(_0x1dd833,_0x36e51d),this['revisionNameView']['fieldView']['extendTemplate']({'attributes':{'maxlength':'220'}}),this['revisionNameView']['fieldView']['bind']('value')['to'](this,'name',_0x118403=>_0x118403||this['_createdAtFormatted']),this['revisionNameView']['bind']('isEnabled')['to'](this,'isSelected',this,'isEnabled',(_0x3a10ad,_0x246f8d)=>_0x3a10ad&&_0x246f8d),this['revisionActionsView']=_0x56396f&&_0x56396f['length']?ni(this,_0x56396f):'',this['revisionActionsView']&&this['revisionActionsView']['bind']('isEnabled')['to'](this),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision-wrapper',_0x5994b4['if']('isConfirm','ck-revision-history-sidebar__revision-wrapper_confirmation_visible')]},'children':[{'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision',_0x5994b4['if']('isEnabled','ck-disabled',_0x5ba0fc=>!_0x5ba0fc),_0x5994b4['if']('isSelected','ck-revision-history-sidebar__revision_selected'),_0x5994b4['if']('isHighlighted','ck-revision-history-sidebar__revision_highlighted'),_0x5994b4['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':_0x5994b4['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':_0x44f2fd}]},this['revisionActionsView']],'on':{'click':_0x5994b4['to'](_0x34857d=>{_0x34857d['srcElement']['closest']('.ck-thread__remove-confirm')||this['isReady']&&this['isEnabled']&&this['fire']('select',{'id':this['id']});})}}]});}['render'](){super['render']();const _0x7f6b84=this['revisionNameView']['fieldView']['element'];this['listenTo'](_0x7f6b84,'change',()=>{this['_requireRevisionName']&&!_0x7f6b84['value']||this['fire']('setName',{'id':this['id'],'name':_0x7f6b84['value']}),_0x7f6b84['value']||(_0x7f6b84['value']=this['name']?this['name']:this['_createdAtFormatted']);});}['select'](){this['isSelected']=!0x0;}['deselect'](){this['isSelected']=!0x1;}['highlight'](){this['isHighlighted']=!0x0;}['unhighlight'](){this['isHighlighted']=!0x1;}}function di(_0x326a19,_0x1fa193){const _0x5f3e2b=_0x44c3ac['fromJSDate'](_0x326a19)['setLocale'](_0x1fa193),_0x50c08a=_0x44c3ac['local'](),_0x29c417=_0x50c08a['minus']({'days':0x1})['startOf']('day');let _0x5e60c8,_0x44f74f;return _0x5f3e2b['hasSame'](_0x50c08a,'day')?(_0x5e60c8=_0x5f3e2b['startOf']('day')['toJSDate'](),_0x44f74f=_0x5f3e2b['toRelativeCalendar']()):_0x5f3e2b['hasSame'](_0x29c417,'day')?(_0x5e60c8=_0x29c417['toJSDate'](),_0x44f74f=_0x5f3e2b['toRelativeCalendar']()):_0x5f3e2b['hasSame'](_0x50c08a,'week')?(_0x5e60c8=_0x5f3e2b['startOf']('week')['toJSDate'](),_0x44f74f=_0x5f3e2b['weekdayLong']||''):_0x5f3e2b['hasSame'](_0x50c08a,'year')?(_0x5e60c8=_0x5f3e2b['startOf']('month')['toJSDate'](),_0x44f74f=_0x5f3e2b['monthLong']||''):(_0x5e60c8=_0x5f3e2b['startOf']('year')['toJSDate'](),_0x44f74f=String(_0x5f3e2b['year'])),{'startDate':_0x5e60c8,'localizedPeriodName':_0x44f74f};}class mi extends _0x40d391{['startDate'];['revisionViews'];['_revisionActions'];['_requireRevisionName'];constructor(_0x1a3330,_0x22032b,_0xb81b20,_0x5e7de4){super(_0x1a3330);const _0xa1e2cc=di(_0x22032b,this['locale']['uiLanguage'])['localizedPeriodName'];this['startDate']=_0x22032b,this['revisionViews']=this['createCollection'](),this['_revisionActions']=_0xb81b20,this['_requireRevisionName']=_0x5e7de4,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':_0xa1e2cc}]},{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__time-period__revisions']},'children':this['revisionViews']}]});}['addRevision'](_0x2578d2){const _0x364c9b=new ai(this['locale'],_0x2578d2,this['_revisionActions'],this['_requireRevisionName']);this['revisionViews']['add'](_0x364c9b);}['removeRevision'](_0x19b9e7){const _0x8e47b=this['revisionViews']['find'](_0x2dfa1c=>_0x2dfa1c['id']===_0x19b9e7['id']);this['revisionViews']['remove'](_0x8e47b);}}class as extends _0x40d391{constructor(_0x3a6eed){super(_0x3a6eed);const _0x13328d=new _0x4ea2a3();_0x13328d['content']=_0x71633d['history'],this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all','ck-revision-history-sidebar__header']},'children':[_0x13328d,{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__header__label']},'children':[y(_0x3a6eed,'Revision\x20history')]}]});}}class ci extends _0x40d391{['timePeriodViews'];['_revisions'];['_revisionActions'];['_requireRevisionName'];constructor(_0x1aa917,_0x5f09f4,_0x1cc270,_0x170ba1){super(_0x1aa917);const _0x5cc523=this['bindTemplate'];this['timePeriodViews']=this['createCollection'](),this['timePeriodViews']['delegate']('select')['to'](this),this['timePeriodViews']['delegate']('setName')['to'](this),this['_revisions']=_0x5f09f4,this['_revisionActions']=_0x1cc270,this['_requireRevisionName']=_0x170ba1,this['on']('select',(_0x4ff3a7,_0x317fb8)=>{this['fire']('revisionSelected',_0x317fb8);}),this['on']('setName',(_0x4a8ed1,_0x260308)=>{this['fire']('revisionSetName',_0x260308);}),this['set']('isEnabled',!0x1),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-rounded-corners','ck-revision-history-sidebar']},'children':[new as(_0x1aa917),{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__timeline',_0x5cc523['if']('isEnabled','ck-disabled',_0x4b3f76=>!_0x4b3f76)]},'children':this['timePeriodViews']}]});}['render'](){super['render']();for(const _0x1df802 of this['_revisions'])this['_addRevision'](_0x1df802);this['_revisions']['on']('add',(_0x4c697f,_0x30668e)=>{this['_addRevision'](_0x30668e);}),this['_revisions']['on']('remove',(_0x1dfeb1,_0x501528)=>{this['_removeRevision'](_0x501528);});}get['revisionViews'](){return this['timePeriodViews']['map'](_0x19f674=>_0x19f674['revisionViews']['map'](_0x286eab=>_0x286eab))['flat']();}['selectRevision'](_0x1e7266){for(const _0x2b1602 of this['revisionViews'])_0x1e7266&&_0x1e7266['id']===_0x2b1602['id']?_0x2b1602['select']():_0x2b1602['deselect']();}['highlightRevisions'](_0x36fa19){for(const _0x785fcf of this['revisionViews'])_0x36fa19['some'](({id:_0x27b57a})=>_0x27b57a===_0x785fcf['id'])?_0x785fcf['highlight']():_0x785fcf['unhighlight']();}['_addRevision'](_0x37f2cc){const _0x5e7a58=di(_0x37f2cc['createdAt'],this['locale']['uiLanguage'])['startDate'];let _0x1dd331=this['timePeriodViews']['get'](0x0);_0x1dd331&&_0x1dd331['startDate']['getTime']()===_0x5e7a58['getTime']()||(_0x1dd331=new mi(this['locale'],_0x5e7a58,this['_revisionActions'],this['_requireRevisionName']),this['timePeriodViews']['add'](_0x1dd331)),_0x1dd331['addRevision'](_0x37f2cc);}['_removeRevision'](_0x480d3c){const _0x536125=di(_0x480d3c['createdAt'],this['locale']['uiLanguage'])['startDate'];this['_getTimePeriodViewByStartDate'](_0x536125)['removeRevision'](_0x480d3c);}['_getTimePeriodViewByStartDate'](_0x459a5a){return this['timePeriodViews']['find'](_0x5a6fc6=>_0x5a6fc6['startDate']['getTime']()===_0x459a5a['getTime']());}}class w extends _0x3b354a{['_revisionViewer'];['_revisionsRepository'];['_sidebarView'];static ['defaultRevisionActions'];static ['availableRevisionActions'];static get['pluginName'](){return'RevisionsSidebar';}static get['requires'](){return[d];}constructor(_0xbd2157){super(_0xbd2157),this['_revisionViewer']=_0xbd2157['plugins']['get'](d),this['_revisionsRepository']=this['_revisionViewer']['repository'],this['_sidebarView']=null;}['init'](){const _0x54615e=this['_revisionsRepository']['_revisions'],_0x1bb658=this['_createRevisionActions'](),_0x2323b4=this['editor']['config']['get']('revisionHistory.viewerSidebarContainer');this['_sidebarView']=new ci(this['editor']['locale'],_0x54615e,_0x1bb658,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',(_0x524e30,_0x2e42a3)=>{_0x2e42a3['revisionViews']['on']('add',(_0x20787b,_0x55cc62)=>{_0x55cc62['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)),_0x2323b4['appendChild'](this['_sidebarView']['element']);}['destroy'](){this['_sidebarView']['element']['remove'](),this['_sidebarView']['destroy']();}['_handleEditorDataReady'](){const _0x16006b=this['_revisionsRepository']['getRevision'](0x0);if(_0x16006b){const _0x3f8822=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x16006b['id']);this['_revisionViewer']['compare'](_0x16006b,_0x3f8822);}}['_handleRevisionSelected'](_0x25668b,_0x193213){const _0x2a0c3f=this['_revisionsRepository']['getRevision'](_0x193213['id']),_0x38b534=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x2a0c3f['id']);this['_revisionViewer']['compare'](_0x2a0c3f,_0x38b534);}['_handleRevisionSetName'](_0x38b619,_0x2d60b8){this['_revisionsRepository']['getRevision'](_0x2d60b8['id'])['setName'](_0x2d60b8['name']);}['_handleDiffChange'](_0x5b5155,_0x386bc2,_0xc771c3){const _0x2cc9bf=this['_revisionsRepository']['getRevisionsInDiff'](_0xc771c3);_0x2cc9bf['length']>0x2?(this['_sidebarView']['highlightRevisions'](_0x2cc9bf),this['_sidebarView']['selectRevision'](null)):(this['_sidebarView']['highlightRevisions']([]),this['_sidebarView']['selectRevision'](_0x2cc9bf[0x0]));}['_createRevisionActions'](){const _0x458f0c=this['editor'],_0x4d0711=w['availableRevisionActions'],_0xd20f2a=_0x458f0c['config']['get']('revisionHistory.revisionActions')||w['defaultRevisionActions'];if(_0xd20f2a['length'])return _0xd20f2a['map'](_0x58daa9=>{const _0x10b2a4='string'==typeof _0x58daa9?Object['assign']({},_0x4d0711[_0x58daa9]):_0x58daa9;return _0x10b2a4['action']=_0x10b2a4['action']['bind'](this,_0x458f0c),_0x10b2a4['isVisible']&&(_0x10b2a4['isVisible']=_0x10b2a4['isVisible']['bind'](this,_0x458f0c)),_0x10b2a4;});}}w['availableRevisionActions']={'compareAgainstSelected':{'name':'Compare\x20against\x20selected','action':({plugins:_0x4c6571},_0x1cd9f6)=>{const _0x317875=_0x4c6571['get'](d),_0x5a0ede=_0x317875['repository'];let _0x46089a=_0x317875['diff']['newRevisionId'],_0x2c3305=_0x1cd9f6['id'];_0x5a0ede['getIndex'](_0x46089a)>_0x5a0ede['getIndex'](_0x2c3305)&&([_0x46089a,_0x2c3305]=[_0x2c3305,_0x46089a]),_0x317875['compare'](_0x46089a,_0x2c3305);},'isVisible':({plugins:_0x38e0b4},_0x149279)=>{const _0x7e9c61=_0x38e0b4['get'](d);return!(_0x7e9c61['repository']['getRevisionsInDiff'](_0x7e9c61['diff'])['length']>0x2)&&!_0x149279['isSelected'];}},'restoreRevision':{'name':'Restore\x20this\x20revision','action':(_0x5f4977,{id:_0x3731f2})=>{_0x5f4977['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x3731f2);},'isVisible':({plugins:_0x4f9cf0},_0x3ffd2c)=>!!_0x4f9cf0['get'](d)['repository']['getLaterVisibleRevision'](_0x3ffd2c['id'])},'nameRevision':{'name':'Name\x20this\x20revision','action':({plugins:_0x16ec61},{id:_0x16546a,revisionNameView:_0x3b2262})=>{const _0x42d694=_0x16ec61['get'](d),_0x548438=_0x42d694['repository']['getEarlierVisibleRevision'](_0x16546a);_0x42d694['compare'](_0x16546a,_0x548438),_0x3b2262['focus'](),_0x3b2262['fieldView']['select']();}}},w['defaultRevisionActions']=['compareAgainstSelected','restoreRevision','nameRevision'];class st extends ht{['_view'];['_toolbarConfig'];['_elementReplacer'];get['view'](){return this['_view'];}constructor(_0x25e1cd,_0x4ef28f){super(_0x25e1cd),this['_view']=_0x4ef28f,this['_toolbarConfig']=ct(_0x25e1cd['config']['get']('toolbar')),this['_elementReplacer']=new nt();}get['element'](){return this['view']['element'];}['init'](_0x5e8243){const _0x1ea736=this['editor'],_0x2a80df=this['view'],_0x5029a1=_0x1ea736['editing']['view'],_0x152567=_0x2a80df['editable'],_0x3f572b=_0x5029a1['document']['getRoot']();_0x152567['name']=_0x3f572b['rootName'],_0x2a80df['render']();const _0x111024=_0x152567['element'];this['setEditableElement'](_0x152567['name'],_0x111024),_0x2a80df['editable']['bind']('isFocused')['to'](this['focusTracker']),_0x5029a1['attachDomRoot'](_0x111024),this['_elementReplacer']['replace'](_0x5e8243,this['element']),this['_initToolbar'](),this['fire']('ready');}['destroy'](){super['destroy']();const _0xaa5b52=this['view'],_0x440af8=this['editor']['editing']['view'];this['_elementReplacer']['restore'](),_0x440af8['detachDomRoot'](_0xaa5b52['editable']['name']),_0xaa5b52['destroy']();}['_initToolbar'](){const _0x5a946e=this['view'];_0x5a946e['stickyPanel']['bind']('isActive')['to'](this['focusTracker'],'isFocused'),_0x5a946e['stickyPanel']['limiterElement']=_0x5a946e['element'],_0x5a946e['stickyPanel']['bind']('viewportTopOffset')['to'](this,'viewportOffset',({top:_0x216724})=>_0x216724),_0x5a946e['toolbar']['fillFromConfig'](this['_toolbarConfig'],this['componentFactory']),this['addToolbar'](_0x5a946e['toolbar']);}}class ot extends dt{['_editable'];['stickyPanel'];['toolbar'];get['editable'](){return this['_editable'];}constructor(_0x78437,_0x12c13c,_0x1c8675={}){super(_0x78437),this['stickyPanel']=new lt(_0x78437),this['toolbar']=new pt(_0x78437,{'shouldGroupWhenFull':_0x1c8675['shouldToolbarGroupWhenFull']}),this['_editable']=new ut(_0x78437,_0x12c13c);}['render'](){super['render'](),this['stickyPanel']['content']['add'](this['toolbar']),this['top']['add'](this['stickyPanel']),this['main']['add'](this['editable']);}}class m extends/* #__PURE__ -- @preserve */
27
+ rt(it){['_ui'];get['ui'](){return this['_ui'];}constructor(_0x3a2864,_0x476e09){super(_0x476e09),this['sourceElement']=_0x3a2864,this['model']['document']['createRoot']();const _0x2e918a=new ot(this['locale'],this['editing']['view'],{'shouldToolbarGroupWhenFull':!0x0});this['_ui']=new st(this,_0x2e918a);}['destroy'](){return this['updateSourceElement'](),this['ui']['destroy'](),super['destroy']();}static async['create'](_0x589295,_0x46a424){const _0x3ebeca=new this(_0x589295,_0x46a424);return await _0x3ebeca['initPlugins'](),await _0x3ebeca['ui']['init'](_0x589295),await _0x3ebeca['data']['init'](_0x3ebeca['config']['get']('initialData')||''),_0x3ebeca['fire']('ready'),_0x3ebeca;}}const p=['RevisionHistoryUI','RestrictedEditingMode'];class k extends _0x3b354a{['result'];static get['pluginName'](){return'RevisionViewerIntegration';}constructor(_0x57b017){super(_0x57b017),this['result']='end';}}class H extends _0x3b354a{['_viewerEditor'];static get['pluginName'](){return'RevisionHistory';}static get['requires'](){return[l,u];}constructor(_0x1985a1){if(super(_0x1985a1),!this['editor']['config']['get']('revisionHistory'))throw new _0x36854b('revision-history-missing-configuration',this);this['_viewerEditor']=null,this['editor']['config']['define']('revisionHistory.showRevisionViewerCallback',_0x1e1e74=>this['_showRevisionViewer']({..._0x1e1e74,'translations':this['editor']['locale']['translations']})),this['editor']['config']['define']('revisionHistory.closeRevisionViewerCallback',_0x18b1a5=>this['_closeRevisionViewer'](_0x18b1a5)),this['editor']['config']['define']('revisionHistory.restoreRevisionCallback',_0x2e7d6c=>this['_restoreRevision'](_0x2e7d6c)),this['editor']['config']['define']('revisionHistory.requireRevisionName',!0x1),this['_enhanceShowRevisionViewerCallback'](),this['_enhanceCloseRevisionViewerCallback']();}set['adapter'](_0x4222b3){this['editor']['plugins']['get']('RevisionTracker')['adapter']=_0x4222b3;}get['adapter'](){return this['editor']['plugins']['get']('RevisionTracker')['adapter'];}['addRevisionData'](_0x29b48f){return this['editor']['plugins']['get']('RevisionTracker')['addRevisionData'](_0x29b48f);}['getRevision'](_0x27e1ba){return this['editor']['plugins']['get']('RevisionsRepository')['getRevision'](_0x27e1ba);}['getRevisions'](_0xc37925={'toJSON':!0x1}){return this['editor']['plugins']['get']('RevisionsRepository')['getRevisions'](_0xc37925);}['_getRevisionViewerEditorConfig'](){const _0x5c88c3=this['editor'],_0x3b0904=_0x1ffc1f(_0x5c88c3,p),_0x357720=_0x5c88c3['plugins']['get']('RevisionTracker'),_0x110047=_0x5c88c3['plugins']['get']('Users')['users'];return _0x3b0904['toolbar']=['exitToEditing','restoreRevision','changesNavigation'],delete _0x3b0904['lazyRoots'],(_0x3b0904['plugins']['push'](k,d,R,class extends _0x3b354a{static get['requires'](){return[d,'Users'];}['init'](){const _0x55a8f9=this['editor']['plugins']['get']('Users');for(const _0xeba183 of _0x110047)_0xeba183['isAnonymous']||_0x55a8f9['getUser'](_0xeba183['id'])||_0x55a8f9['addUser'](_0xeba183);const _0x82bf7f=_0x357720['repository']['getRevisions']();let _0x19cf33=null;const _0x146f5e=this['editor']['plugins']['get']('RevisionViewer');_0x146f5e['adapter']=_0x357720['adapter'],_0x146f5e['bind']('isEnabled')['to'](_0x357720),this['editor']['commands']['get']('restoreRevision')['bind']('isEnabled')['to'](_0x5c88c3,'isReadOnly',_0x11df45=>!_0x11df45);for(const _0x52f902 of _0x82bf7f){const _0x4117af=null===_0x52f902['creator'];if(_0x4117af&&_0x52f902['toVersion']===_0x52f902['fromVersion'])continue;const _0x18db42=_0x52f902['toJSON']();_0x146f5e['addRevisionData'](_0x18db42,(_0x1bf9f2,_0x78a470,_0x4e96cb)=>{if(_0x4117af){if(_0x19cf33)_0x19cf33['_update'](_0x1bf9f2,_0x78a470);else{if(!_0x78a470){const _0x5642fd=_0x4e96cb['toJSON']();_0x5642fd['id']=_0x1103df(),_0x357720['saveRevision'](_0x5642fd,_0x4e96cb['toVersion'])['then'](_0x28eb2a=>{_0x19cf33=_0x28eb2a;});}}}else _0x52f902['_update'](_0x1bf9f2,_0x78a470);});}}},w),_0x3b0904);}['_enhanceShowRevisionViewerCallback'](){const _0x4550b3=this['editor']['config']['get']('revisionHistory')['showRevisionViewerCallback'];this['editor']['config']['set']('revisionHistory.showRevisionViewerCallback',async()=>{this['editor']['enableReadOnlyMode']('revision-history-viewer-opened');const _0x22556e=this['editor']['plugins']['get']('RevisionTracker');if(this['editor']['plugins']['has']('Autosave')){const _0x512023=this['editor']['plugins']['get']('Autosave');await _0x512023['save']();}else await _0x22556e['update']();if(this['editor']['plugins']['has']('PaginationLookup')&&this['editor']['plugins']['get']('PaginationLookup')['_recalculatePageBreaks'](),this['editor']['plugins']['has']('Dialog')){const _0x3c4cb1=this['editor']['plugins']['get']('Dialog');_0x3c4cb1['isOpen']&&_0x3c4cb1['hide']();}const _0xa38ff7=this['_getRevisionViewerEditorConfig']();return _0x4550b3(_0xa38ff7)['then'](_0x811ac3=>{return(this['_viewerEditor']=_0x811ac3,this['editor']['plugins']['has']('Annotations'))&&this['editor']['plugins']['get']('Annotations')['refreshVisibility'](),_0x811ac3;})['catch'](_0x445bbb=>(console['error'](_0x445bbb),this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),null));});}['_enhanceCloseRevisionViewerCallback'](){const _0x4c56af=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'](),_0x4c56af(this['_viewerEditor'])['then'](()=>{if(this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),this['_viewerEditor']=null,this['editor']['plugins']['has']('Annotations')){const _0x4d3df1=this['editor']['plugins']['get']('Annotations');_0x4d3df1['refreshVisibility'](),_0x4d3df1['refreshPositioning']();}})));}['_showRevisionViewer'](_0xf81e15){const _0x2c4f69=this['editor']['config']['get']('revisionHistory.editorContainer'),_0x1cad29=this['editor']['config']['get']('revisionHistory.viewerContainer'),_0x64c758=this['editor']['config']['get']('revisionHistory.viewerEditorElement');return m['create'](_0x64c758,_0xf81e15)['then'](_0x5084fa=>(_0x1cad29['style']['display']='block',_0x2c4f69['style']['display']='none',_0x5084fa));}['_closeRevisionViewer'](_0xadcdfa){const _0x10af35=this['editor']['config']['get']('revisionHistory.editorContainer');return this['editor']['config']['get']('revisionHistory.viewerContainer')['style']['display']='none',_0x10af35['style']['display']='',_0xadcdfa['destroy']();}async['_restoreRevision'](_0x4591b2){const _0x2b9899=this['editor'],_0x372c80=this['_viewerEditor']['plugins']['get']('RevisionViewer'),_0x2cd468=_0x2b9899['plugins']['get']('RevisionTracker'),_0x157b47=_0x372c80['repository']['getRevision'](_0x4591b2);let _0x349226,_0x4c8774,_0x17c59f;try{_0x349226=await _0x372c80['getRevisionData'](_0x157b47),_0x4c8774=await _0x372c80['getRevisionRootsAttributes'](_0x157b47);}catch(_0x41cd3a){return void console['error'](_0x41cd3a);}_0x2b9899['model']['change'](_0x2a8e07=>{for(const _0x3e4b22 of Array['from'](_0x2b9899['model']['markers']['getMarkersGroup']('restrictedEditingException')))_0x2a8e07['removeMarker'](_0x3e4b22);}),_0x372c80['isReady']=!0x1,_0x2b9899['model']['enqueueChange'](_0x7ea509=>{_0x7ea509['setSelection'](null),_0x7ea509['removeSelectionAttribute'](_0x2b9899['model']['document']['selection']['getAttributeKeys']());const _0x46985a=Object['keys'](_0x349226);for(const _0x358dd3 of _0x2b9899['model']['document']['roots'])'$graveyard'!=_0x358dd3['rootName']&&_0x358dd3['isAttached']()&&!_0x46985a['includes'](_0x358dd3['rootName'])&&_0x7ea509['detachRoot'](_0x358dd3);for(const _0x265efd of _0x46985a){let _0x49ba6f=_0x2b9899['model']['document']['getRoot'](_0x265efd);_0x49ba6f&&_0x49ba6f['isAttached']()||(_0x49ba6f=_0x7ea509['addRoot'](_0x265efd));const _0x2cff71=_0x4c8774[_0x265efd],_0xa81087=Object['keys'](_0x2cff71),_0x5b2748=_0x349226[_0x265efd];for(const _0x4cc51a of _0x49ba6f['getAttributeKeys']())_0xa81087['includes'](_0x4cc51a)||_0x7ea509['removeAttribute'](_0x4cc51a,_0x49ba6f);for(const _0x241dc7 of _0xa81087)_0x7ea509['setAttribute'](_0x241dc7,_0x4c8774[_0x265efd][_0x241dc7],_0x49ba6f);_0x7ea509['remove'](_0x7ea509['createRangeIn'](_0x49ba6f)),_0x7ea509['insert'](_0x2b9899['data']['parse'](_0x5b2748,_0x49ba6f),_0x49ba6f,0x0);}});const _0x198d9f=y(_0x2b9899['locale'],'Restored');if(_0x157b47['name'])_0x17c59f=-0x1==_0x157b47['name']['indexOf'](_0x198d9f)?_0x198d9f+':\x20'+_0x157b47['name']:_0x157b47['name'];else _0x17c59f=_0x198d9f+':\x20'+(_0x157b47['createdAt']['toLocaleDateString'](_0x2b9899['locale']['uiLanguage'],{'month':'long','day':'numeric'})+',\x20'+_0x157b47['createdAt']['toLocaleTimeString'](_0x2b9899['locale']['uiLanguage'],{'hour':'numeric','minute':'numeric'}));return await _0x2cd468['saveRevision']({'name':_0x17c59f}),_0x372c80['isReady']=!0x0,_0x2b9899['config']['get']('revisionHistory')['closeRevisionViewerCallback']();}}export{H as RevisionHistory,u as RevisionHistoryUI,l as RevisionTracker,d as RevisionViewer,de as RevisionViewerLoadingOverlay,R as RevisionViewerUI,A as RevisionsRepository,w as RevisionsSidebar};