@ckeditor/ckeditor5-revision-history 0.0.0-nightly-20240619.2 → 0.0.0-nightly-20240620.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,10 +20,10 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x1eb33f,Context as _0x44a599,PendingActions as _0x4a9c73,icons as _0xff5272,Command as _0xf9001b,ElementApiMixin as rt,Editor as it}from'@ckeditor/ckeditor5-core/dist/index.js';import{ObservableMixin as _0x1492a9,uid as _0xf10109,Collection as _0x2c0039,logWarning as _0x55f4dd,FocusTracker as _0x5a3061,KeystrokeHandler as _0x130f92,scrollViewportToShowTarget as _0x444c92,ResizeObserver as mt,ElementReplacer as nt,CKEditorError as _0x40dc11}from'@ckeditor/ckeditor5-utils/dist/index.js';import{Users as _0x152803,getMarkerDomElement as _0x55a672,ConfirmMixin as _0x42b651,sanitizeEditorConfig as _0x38ac0d}from'ckeditor5-collaboration/dist/index.js';import{ViewDocumentFragment as _0x13f9b3,ViewText as _0x384ec1,ViewElement as _0x1d434c,Element as ft,Range as vt,Position as gt,DocumentFragment as wt,ViewContainerElement as _0x4a87a7,ViewAttributeElement as _0x317359,ViewEmptyElement as _0x5827ff,ViewRawElement as _0xf9a273,ViewUIElement as _0x12d1b7,Text as _t}from'@ckeditor/ckeditor5-engine/dist/index.js';import{cloneDeep as _0x4b2b33,set as _0x2eeb11,unset as _0x56e483,isEqual as _0x5efefc}from'lodash-es';import{View as _0x425e66,injectCssTransitionDisabler as ts,submitHandler as _0x4eafa2,LabeledFieldView as at,createLabeledInputText as _0x2317f9,createDropdown as _0x27620d,ListView as te,ListItemView as _0x5441be,ButtonView as _0x2799ee,MenuBarMenuView as _0x1cc6d7,MenuBarMenuListView as _0x349fc6,MenuBarMenuListItemView as _0xd6e87f,MenuBarMenuListItemButtonView as _0x749e8e,ContextualBalloon as _0x19d89d,ToolbarSeparatorView as _0x43a35b,IconView as _0x2eee2a,addListToDropdown as _0x255e6a,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 _0x4cc0d1}from'luxon';class a extends/* #__PURE__ -- @preserve */
24
- _0x1492a9(){['id'];['creator'];['authors'];['diffData'];['toVersion'];['fromVersion'];['model'];constructor(_0x53e9dd){super(),this['id']=_0x53e9dd['id']||_0xf10109(),this['creator']=_0x53e9dd['creator']||null,this['authors']=_0x53e9dd['authors']||[],this['diffData']=_0x53e9dd['diffData']||null,this['toVersion']=_0x53e9dd['toVersion']||0x0,this['fromVersion']=_0x53e9dd['fromVersion']||0x0,this['set']('name',_0x53e9dd['name']||''),this['set']('createdAt',_0x53e9dd['createdAt']||new Date()),this['set']('attributes',_0x53e9dd['attributes']||{});}['setName'](_0x4fcf66){this['_update']({'name':_0x4fcf66});}['setAttribute'](_0x1693aa,_0x161f15){const _0x2ac49d=_0x4b2b33(this['attributes']);_0x2eeb11(_0x2ac49d,_0x1693aa,_0x161f15),this['_update']({'attributes':_0x2ac49d});}['removeAttribute'](_0x407eac){const _0x3ad2d1=_0x4b2b33(this['attributes']);_0x56e483(_0x3ad2d1,_0x407eac),this['_update']({'attributes':_0x3ad2d1});}['_update'](_0x1bc2c8,_0x6755f2=!0x1){let _0x181cab=!0x1;const _0x54ff20={'id':this['id']},_0x341821=['name','createdAt','diffData','authors','attributes','toVersion','fromVersion','creatorId'];for(const _0x2a9c48 of _0x341821){const _0x538dd0=_0x1bc2c8[_0x2a9c48];void 0x0!==_0x538dd0&&_0x538dd0!==this[_0x2a9c48]&&(this[_0x2a9c48]=_0x538dd0,_0x54ff20[_0x2a9c48]=_0x538dd0,_0x181cab=!0x0);}_0x181cab&&(_0x54ff20['authors']&&(_0x54ff20['authorsIds']=_0x54ff20['authors']['map'](_0x4ec949=>_0x4ec949['id']),delete _0x54ff20['authors']),this['fire']('_update',_0x54ff20,_0x6755f2));}['toJSON'](){return{'id':this['id'],'name':this['name'],'creatorId':this['creator']?this['creator']['id']:null,'authorsIds':this['authors']['map'](_0x4f8296=>_0x4f8296['id']),'diffData':this['diffData'],'createdAt':this['createdAt'],'attributes':this['attributes'],'fromVersion':this['fromVersion'],'toVersion':this['toVersion']};}}class A extends _0x1eb33f{['_revisions'];static get['requires'](){return[_0x152803];}static get['pluginName'](){return'RevisionsRepository';}get['length'](){return this['_revisions']['length'];}constructor(_0x21068e){super(_0x21068e),this['_revisions']=new _0x2c0039();}['afterInit'](){!function(_0x1080a7){function _0xf5d628(_0x3871a2,_0xdc61a0,_0x543edf){const _0x12a0a6={};_0x12a0a6[_0x4940f8([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])]={0x10:0xa,0x18:0xc,0x20:0xe},_0x12a0a6[_0x4940f8([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],_0x12a0a6[_0x4940f8([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],_0x12a0a6[_0x4940f8([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],_0x12a0a6[_0x4940f8([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],_0x12a0a6[_0x4940f8([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],_0x12a0a6[_0x4940f8([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],_0x12a0a6[_0x4940f8([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],_0x12a0a6[_0x4940f8([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],_0x12a0a6[_0x4940f8([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],_0x12a0a6[_0x4940f8([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 _0xf0db3=new Uint8Array(0x10);for(let _0x56c03c=0xf;_0x56c03c>=0x0;--_0x56c03c)_0xf0db3[_0x56c03c]=_0x543edf%0x100,_0x543edf=parseInt(_0x543edf/0x100);let _0x3a6d6e=null,_0x10f2b5=0x10;const _0x4059de=new Uint8Array(_0xdc61a0),_0x59fdf4=[],_0x4341f7=[];_0xafdf8f();for(let _0x3d5984=0x0;_0x3d5984<_0x3871a2[_0x4940f8([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3d5984++)0x10===_0x10f2b5&&(_0x3a6d6e=_0x2818ee(_0xf0db3),_0x10f2b5=0x0,_0x2332b5(_0xf0db3)),_0x3871a2[_0x3d5984]^=_0x3a6d6e[_0x10f2b5++];return _0x3871a2;function _0x3f814b(_0x50d6ce){const _0x96dd56=[];for(let _0x860db1=0x0;_0x860db1<_0x50d6ce[_0x4940f8([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x860db1+=0x4)_0x96dd56[_0x4940f8([0x70,0x75,0x73,0x68])](_0x50d6ce[_0x860db1]<<0x18|_0x50d6ce[_0x860db1+0x1]<<0x10|_0x50d6ce[_0x860db1+0x2]<<0x8|_0x50d6ce[_0x860db1+0x3]);return _0x96dd56;}function _0x2332b5(_0x5862dd){for(let _0x13cc16=0xf;_0x13cc16>=0x0;_0x13cc16--){if(0xff!==_0x5862dd[_0x13cc16]){_0x5862dd[_0x13cc16]++;break;}_0x5862dd[_0x13cc16]=0x0;}}function _0x2818ee(_0x3a9187){const _0x2b676b=_0x59fdf4[_0x4940f8([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x1,_0x24ed52=[0x0,0x0,0x0,0x0];let t=_0x3f814b(_0x3a9187);for(let _0x4c1cdc=0x0;_0x4c1cdc<0x4;_0x4c1cdc++)t[_0x4c1cdc]^=_0x59fdf4[0x0][_0x4c1cdc];for(let _0x23c395=0x1;_0x23c395<_0x2b676b;_0x23c395++){for(let _0x4b6344=0x0;_0x4b6344<0x4;_0x4b6344++)_0x24ed52[_0x4b6344]=_0x12a0a6[_0x4940f8([0x54,0x31])][t[_0x4b6344]>>0x18&0xff]^_0x12a0a6[_0x4940f8([0x54,0x32])][t[(_0x4b6344+0x1)%0x4]>>0x10&0xff]^_0x12a0a6[_0x4940f8([0x54,0x33])][t[(_0x4b6344+0x2)%0x4]>>0x8&0xff]^_0x12a0a6[_0x4940f8([0x54,0x34])][0xff&t[(_0x4b6344+0x3)%0x4]]^_0x59fdf4[_0x23c395][_0x4b6344];t=_0x24ed52[_0x4940f8([0x73,0x6c,0x69,0x63,0x65])]();}const _0x14dec8=new Uint8Array(0x10);let _0x1fa56f;for(let _0x40a6d6=0x0;_0x40a6d6<0x4;_0x40a6d6++)_0x1fa56f=_0x59fdf4[_0x2b676b][_0x40a6d6],_0x14dec8[0x4*_0x40a6d6]=0xff&(_0x12a0a6[_0x4940f8([0x53])][t[_0x40a6d6]>>0x18&0xff]^_0x1fa56f>>0x18),_0x14dec8[0x4*_0x40a6d6+0x1]=0xff&(_0x12a0a6[_0x4940f8([0x53])][t[(_0x40a6d6+0x1)%0x4]>>0x10&0xff]^_0x1fa56f>>0x10),_0x14dec8[0x4*_0x40a6d6+0x2]=0xff&(_0x12a0a6[_0x4940f8([0x53])][t[(_0x40a6d6+0x2)%0x4]>>0x8&0xff]^_0x1fa56f>>0x8),_0x14dec8[0x4*_0x40a6d6+0x3]=0xff&(_0x12a0a6[_0x4940f8([0x53])][0xff&t[(_0x40a6d6+0x3)%0x4]]^_0x1fa56f);return _0x14dec8;}function _0xafdf8f(){const _0x42277b=_0x12a0a6[_0x4940f8([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])][_0x4059de[_0x4940f8([0x6c,0x65,0x6e,0x67,0x74,0x68])]];for(let _0x4dc50a=0x0;_0x4dc50a<=_0x42277b;_0x4dc50a++)_0x59fdf4[_0x4940f8([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]),_0x4341f7[_0x4940f8([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]);const _0x204766=0x4*(_0x42277b+0x1),_0x31a1b4=_0x4059de[_0x4940f8([0x6c,0x65,0x6e,0x67,0x74,0x68])]/0x4,_0x51d568=_0x3f814b(_0x4059de);let _0x3b0111;for(let _0x536e59=0x0;_0x536e59<_0x31a1b4;_0x536e59++)_0x3b0111=_0x536e59>>0x2,_0x59fdf4[_0x3b0111][_0x536e59%0x4]=_0x51d568[_0x536e59],_0x4341f7[_0x42277b-_0x3b0111][_0x536e59%0x4]=_0x51d568[_0x536e59];let _0x41728e,_0x2c2f53=0x0,t=_0x31a1b4;for(;t<_0x204766;){_0x41728e=_0x51d568[_0x31a1b4-0x1],_0x51d568[0x0]^=_0x12a0a6[_0x4940f8([0x53])][_0x41728e>>0x10&0xff]<<0x18^_0x12a0a6[_0x4940f8([0x53])][_0x41728e>>0x8&0xff]<<0x10^_0x12a0a6[_0x4940f8([0x53])][0xff&_0x41728e]<<0x8^_0x12a0a6[_0x4940f8([0x53])][_0x41728e>>0x18&0xff]^_0x12a0a6[_0x4940f8([0x72,0x63,0x6f,0x6e])][_0x2c2f53]<<0x18,_0x2c2f53+=0x1;for(let _0x394f3f=0x1;_0x394f3f<_0x31a1b4/0x2;_0x394f3f++)_0x51d568[_0x394f3f]^=_0x51d568[_0x394f3f-0x1];_0x41728e=_0x51d568[_0x31a1b4/0x2-0x1],_0x51d568[_0x31a1b4/0x2]^=_0x12a0a6[_0x4940f8([0x53])][0xff&_0x41728e]^_0x12a0a6[_0x4940f8([0x53])][_0x41728e>>0x8&0xff]<<0x8^_0x12a0a6[_0x4940f8([0x53])][_0x41728e>>0x10&0xff]<<0x10^_0x12a0a6[_0x4940f8([0x53])][_0x41728e>>0x18&0xff]<<0x18;for(let _0x28de67=_0x31a1b4/0x2+0x1;_0x28de67<_0x31a1b4;_0x28de67++)_0x51d568[_0x28de67]^=_0x51d568[_0x28de67-0x1];let _0x4da244,_0x2337da,_0xc2e74e=0x0;for(;_0xc2e74e<_0x31a1b4&&t<_0x204766;)_0x4da244=t>>0x2,_0x2337da=t%0x4,_0x59fdf4[_0x4da244][_0x2337da]=_0x51d568[_0xc2e74e],_0x4341f7[_0x42277b-_0x4da244][_0x2337da]=_0x51d568[_0xc2e74e++],t++;}for(let _0x2cff1e=0x1;_0x2cff1e<_0x42277b;_0x2cff1e++)for(let _0x5ed2b8=0x0;_0x5ed2b8<0x4;_0x5ed2b8++)_0x41728e=_0x4341f7[_0x2cff1e][_0x5ed2b8],_0x4341f7[_0x2cff1e][_0x5ed2b8]=_0x12a0a6[_0x4940f8([0x55,0x31])][_0x41728e>>0x18&0xff]^_0x12a0a6[_0x4940f8([0x55,0x32])][_0x41728e>>0x10&0xff]^_0x12a0a6[_0x4940f8([0x55,0x33])][_0x41728e>>0x8&0xff]^_0x12a0a6[_0x4940f8([0x55,0x34])][0xff&_0x41728e];}}function _0x4940f8(_0x24963){return _0x24963['map'](_0x75b320=>String['fromCharCode'](_0x75b320))['join']('');}(_0x3f97a4=>{function _0x39e14e(){const _0x4a26e0=[{[_0x4940f8([0x69,0x64])]:0x1,[_0x4940f8([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x4940f8([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73]),[_0x4940f8([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x4940f8([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x4940f8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x4940f8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x4940f8([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x4940f8([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x4940f8([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]:[{[_0x4940f8([0x69,0x64])]:0x2,[_0x4940f8([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x4940f8([0x54,0x72,0x61,0x63,0x6b,0x20,0x43,0x68,0x61,0x6e,0x67,0x65,0x73]),[_0x4940f8([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x4940f8([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x4940f8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x4940f8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x4940f8([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x4940f8([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]),[_0x4940f8([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x4940f8([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x4940f8([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x4940f8([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}}],[_0x4940f8([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x4940f8([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x4940f8([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x4940f8([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x4940f8([0x69,0x64])]:0x3,[_0x4940f8([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x4940f8([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e]),[_0x4940f8([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x4940f8([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x6f,0x6f,0x6b,0x75,0x70]),[_0x4940f8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x4940f8([0x70,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x4940f8([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x4940f8([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x4940f8([0x69,0x64])]:0x4,[_0x4940f8([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x4940f8([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x20,0x48,0x69,0x73,0x74,0x6f,0x72,0x79]),[_0x4940f8([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x4940f8([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x4940f8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x4940f8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x4940f8([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x4940f8([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]),[_0x4940f8([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x4940f8([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x4940f8([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x4940f8([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x4940f8([0x69,0x64])]:0x5,[_0x4940f8([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x4940f8([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x20,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65]),[_0x4940f8([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x4940f8([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65,0x55,0x49]),[_0x4940f8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x4940f8([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]),[_0x4940f8([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x4940f8([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x4940f8([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x4940f8([0x66,0x67,0x69])]:[0xc]}},{[_0x4940f8([0x69,0x64])]:0x6,[_0x4940f8([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x4940f8([0x46,0x6f,0x72,0x6d,0x61,0x74,0x20,0x50,0x61,0x69,0x6e,0x74,0x65,0x72]),[_0x4940f8([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x4940f8([0x46,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x55,0x49]),[_0x4940f8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x4940f8([0x66,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x4940f8([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x4940f8([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x4940f8([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x4940f8([0x66,0x67,0x69])]:[0xc]}},{[_0x4940f8([0x69,0x64])]:0x7,[_0x4940f8([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x4940f8([0x53,0x6c,0x61,0x73,0x68,0x20,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64]),[_0x4940f8([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x4940f8([0x53,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x55,0x49]),[_0x4940f8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x4940f8([0x73,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x4940f8([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x4940f8([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x4940f8([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x4940f8([0x66,0x67,0x69])]:[0xc]}},{[_0x4940f8([0x69,0x64])]:0x8,[_0x4940f8([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x4940f8([0x54,0x61,0x62,0x6c,0x65,0x20,0x6f,0x66,0x20,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73]),[_0x4940f8([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x4940f8([0x54,0x61,0x62,0x6c,0x65,0x4f,0x66,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x4940f8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x4940f8([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]),[_0x4940f8([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x4940f8([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x4940f8([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x4940f8([0x66,0x67,0x69])]:[0xc]}},{[_0x4940f8([0x69,0x64])]:0x9,[_0x4940f8([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x4940f8([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65]),[_0x4940f8([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x4940f8([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x55,0x49]),[_0x4940f8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x4940f8([0x74,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x4940f8([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x4940f8([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x4940f8([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x4940f8([0x66,0x67,0x69])]:[0xc,0xe]}},{[_0x4940f8([0x69,0x64])]:0xa,[_0x4940f8([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x4940f8([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]),[_0x4940f8([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x4940f8([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]),[_0x4940f8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x4940f8([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]),[_0x4940f8([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x4940f8([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x4940f8([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x4940f8([0x66,0x67,0x69])]:[0xc]}},{[_0x4940f8([0x69,0x64])]:0xb,[_0x4940f8([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x4940f8([0x41,0x49,0x20,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74]),[_0x4940f8([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x4940f8([0x41,0x49,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74,0x55,0x49]),[_0x4940f8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x4940f8([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x4940f8([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x4940f8([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x4940f8([0x69,0x64])]:0xc,[_0x4940f8([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x4940f8([0x50,0x72,0x6f,0x64,0x75,0x63,0x74,0x69,0x76,0x69,0x74,0x79,0x20,0x70,0x61,0x63,0x6b])},{[_0x4940f8([0x69,0x64])]:0xd,[_0x4940f8([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x4940f8([0x43,0x61,0x73,0x65,0x20,0x43,0x68,0x61,0x6e,0x67,0x65]),[_0x4940f8([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x4940f8([0x43,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x55,0x49]),[_0x4940f8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x4940f8([0x63,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x4940f8([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x4940f8([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x4940f8([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x4940f8([0x66,0x67,0x69])]:[0xc]}},{[_0x4940f8([0x69,0x64])]:0xe,[_0x4940f8([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x4940f8([0x44,0x72,0x75,0x70,0x61,0x6c,0x20,0x70,0x61,0x63,0x6b]),[_0x4940f8([0x66,0x6f,0x72,0x62,0x69,0x64,0x64,0x65,0x6e,0x48,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x4940f8([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])},{[_0x4940f8([0x69,0x64])]:0xf,[_0x4940f8([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x4940f8([0x4d,0x75,0x6c,0x74,0x69,0x20,0x4c,0x65,0x76,0x65,0x6c,0x20,0x4c,0x69,0x73,0x74]),[_0x4940f8([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x4940f8([0x4d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x4940f8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x4940f8([0x6d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x4940f8([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x4940f8([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x4940f8([0x69,0x64])]:0x10,[_0x4940f8([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x4940f8([0x4d,0x65,0x72,0x67,0x65,0x20,0x54,0x61,0x67,0x73]),[_0x4940f8([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x4940f8([0x4d,0x65,0x72,0x67,0x65,0x54,0x61,0x67,0x73,0x55,0x49]),[_0x4940f8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x4940f8([0x6d,0x65,0x72,0x67,0x65,0x54,0x61,0x67,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x4940f8([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x4940f8([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x4940f8([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x4940f8([0x66,0x67,0x69])]:[0xc]}}];return _0x58f5f6(_0x4a26e0),_0x4a26e0;function _0x5aaabf(_0x475d4b){return 0x1<<_0x475d4b-0x1;}function _0x58f5f6(_0x542a32){_0x542a32[_0x4940f8([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x2f96a0=>{_0x2f96a0[_0x4940f8([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]=_0x5aaabf(_0x2f96a0[_0x4940f8([0x69,0x64])]),_0x13c779(_0x2f96a0)&&_0x2f96a0[_0x4940f8([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x58f5f6(_0x2f96a0[_0x4940f8([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]);});}}function _0x13c779(_0x33b093){return _0x4940f8([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])in _0x33b093;}const _0x3472d1=[0x1,0x55,0x4e,0x73,0xc6,0xff,0x32,0x70,0x53,0x57,0xa1],_0x1661d3=[0x7f,0x22,0x6,0xd3,0xa7,0x56,0x92,0xc7,0x84,0xa0,0x12];function _0x221071(_0xf601d8){const _0x5490d9=[0x1d,0xdd,0xaf,0x5a,0xe7,0x85,0xef,0xf0,0x4b,0xb4];return _0x3de24d(_0xf601d8,new Uint8Array([..._0x3472d1,..._0x5490d9,..._0x1661d3]));}function _0x3de24d(_0x587d00,_0x39f3ee){const _0x5323ac=_0x4ade49(_0x587d00),_0x1160f5=Array[_0x4940f8([0x66,0x72,0x6f,0x6d])](_0x999cb3(_0x5323ac)),_0x310c0a=_0x1160f5[_0x4940f8([0x70,0x6f,0x70])](),_0x3e781e=_0x1160f5[_0x4940f8([0x70,0x6f,0x70])]();return _0xb11c50(_0xf5d628(_0x1160f5,_0x39f3ee,_0x3e781e+0x100*_0x310c0a));}function _0x4ade49(_0xe98c00){const _0x393e36=atob(_0xe98c00),[_0x2eb43a,_0x57b864]=_0x393e36[_0x4940f8([0x73,0x70,0x6c,0x69,0x74])](_0x4940f8([0x2d]));try{if(atob(_0x57b864))return atob(_0x2eb43a);}catch(_0x4b7b2e){}return _0x393e36;}function _0x1a8502(_0x1d14f){try{const _0x1b2008=_0x221071(_0x1d14f),_0x3f35b4=JSON[_0x4940f8([0x70,0x61,0x72,0x73,0x65])](_0x1b2008),_0x3c9cae=parseInt(_0x3f35b4[_0x4940f8([0x31])]),_0x48ecba=_0x3f35b4[_0x4940f8([0x32])]||'',_0x4370a5=parseInt(_0x3f35b4[_0x4940f8([0x33])]),_0x271b6e=parseInt(_0x3f35b4[_0x4940f8([0x34])])||0x0,_0x4ca9d2=parseInt(_0x3f35b4[_0x4940f8([0x35])])||0x0;return{[_0x4940f8([0x70,0x72,0x6f,0x64,0x75,0x63,0x74,0x4e,0x61,0x6d,0x65])]:_0x48ecba,[_0x4940f8([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])]:_0x271b6e,[_0x4940f8([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]:_0x3c9cae,[_0x4940f8([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]:_0x4370a5,[_0x4940f8([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]:_0x4ca9d2};}catch(_0x430a39){return null;}}const _0x33500a=_0x39e14e(),_0x25734f={[_0x4940f8([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])]:_0x34c2df,[_0x4940f8([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])]:_0xbfd1ca,[_0x4940f8([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])]:_0xa630d4},_0x8ea91e=_0x3f97a4[_0x4940f8([0x63,0x6f,0x6e,0x73,0x74,0x72,0x75,0x63,0x74,0x6f,0x72])][_0x4940f8([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])],_0x5f931e=_0x4940f8([0x63,0x6f,0x6e,0x74,0x65,0x78,0x74])in _0x3f97a4?_0x3f97a4['context']:_0x3f97a4['editor'],_0x332295=_0x4940f8([0x34,0x30,0x34,0x38,0x31,0x32,0x33,0x38]),_0x26b600=_0x4940f8([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]),_0x52dc82=_0x5f931e['config']['get'](_0x4940f8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x4797c8=_0x33500a[_0x4940f8([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x13c779)[_0x4940f8([0x66,0x69,0x6e,0x64])](_0x323ebe=>_0x323ebe[_0x4940f8([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]===_0x8ea91e);function _0x4ff791(_0x523cf6,_0x1a25e9){_0x25734f[_0x1a25e9[_0x4940f8([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]](_0x523cf6,_0x1a25e9),_0x1a25e9[_0x4940f8([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x1a25e9[_0x4940f8([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])][_0x4940f8([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x54427f=>_0x23290f(_0x5f931e,_0x54427f[_0x4940f8([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))[_0x4940f8([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x65946f=>_0x4ff791(_0x523cf6,_0x65946f));}function _0x34c2df(_0x14f490,_0x3600db){_0x4f2c0d(_0x38e2aa(_0x14f490,_0x3600db),_0x3600db);}function _0xbfd1ca(_0x309104,_0x39851c){function _0x520cb7(_0x45ad83,_0x46fa26){try{if(_0x23290f(_0x5f931e,_0x4940f8([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))&&_0x45ad83){const _0x19a04b=_0x211d52(_0x5f931e,_0x4940f8([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))[_0x4940f8([0x5f,0x65,0x78,0x65,0x63,0x75,0x74,0x65,0x53,0x75,0x67,0x67,0x65,0x73,0x74,0x69,0x6f,0x6e])];if(parseInt(_0x19a04b)/0x2>_0x45ad83[_0x4940f8([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])])return _0x3babf0(_0x46fa26[_0x4940f8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4940f8([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}return _0x38e2aa(_0x45ad83,_0x46fa26);}catch(_0x2d7633){return _0x3babf0(_0x46fa26[_0x4940f8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4940f8([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}_0x4f2c0d(_0x520cb7(_0x309104,_0x39851c),_0x39851c);}function _0xa630d4(_0x13ff02,_0x1defcc){const _0x523f22=_0x1661d3[0x0]*_0x3472d1[0x1],_0x207f95=_0x1661d3[0x0]*_0x3472d1[0x2],_0x83b9f9=_0x1661d3[0x2]*_0x3472d1[0x2];_0x23290f(_0x5f931e,_0x4940f8([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x211d52(_0x5f931e,_0x4940f8([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x4940f8([0x73,0x74,0x61,0x74,0x65])]==_0x4940f8([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&(window[_0x3ca2c5()]=_0x83b9f9);function _0x268485(_0xa32db5,_0x187276){try{return _0x2aa096()?_0x3babf0(_0x187276[_0x4940f8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4940f8([0x56,0x61,0x6c,0x69,0x64])):_0x38e2aa(_0xa32db5,_0x187276);}catch(_0x45d20c){return _0x3babf0(_0x187276[_0x4940f8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4940f8([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x29cfe4(_0x39b7f5,_0x4043a9){const _0x3fb1a2=0x7;if(_0x39b7f5==_0x4043a9[_0x4940f8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4940f8([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]))_0x4e8767();else{if(_0x39b7f5==_0x4043a9[_0x4940f8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4940f8([0x54,0x72,0x69,0x61,0x6c])){const _0x594e47=_0x207129();_0x594e47&&_0x25e231(_0x594e47,_0x4043a9[_0x4940f8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);const _0x2bab33=_0x5a1f76();window[_0x4940f8([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x25e231(_0x4940f8([0x74,0x69,0x6d,0x65]),_0x4043a9[_0x4940f8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);},_0x2bab33);const _0x3dbff6=_0x211d52(_0x5f931e,_0x4940f8([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x4940f8([0x5f,0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73])];_0x3dbff6[_0x4940f8([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x3fb1a2?_0x25e231(_0x4940f8([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x4043a9[_0x4940f8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]):_0x3dbff6['on'](_0x4940f8([0x61,0x64,0x64]),()=>{_0x3dbff6[_0x4940f8([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x3fb1a2&&_0x25e231(_0x4940f8([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x4043a9[_0x4940f8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);});}}}function _0x207129(){if(!_0x23290f(_0x5f931e,_0x4940f8([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x54cd12 in window)if(Number['isNaN'](Number(_0x54cd12))){if(window[_0x54cd12]===_0x523f22)return _0x4940f8([0x74,0x69,0x6d,0x65]);if(window[_0x54cd12]===_0x207f95)return _0x4940f8([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]);}return!0x1;}function _0x2aa096(){if(!_0x23290f(_0x5f931e,_0x4940f8([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x351f22 in window)if(Number['isNaN'](Number(_0x351f22))&&window[_0x351f22]===_0x83b9f9)return!0x0;return!0x1;}function _0x25e231(_0x3b54cd,_0x488076){_0x4e8767(),_0x3babf0(_0x488076+_0x4940f8([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a])+_0x3b54cd),window[_0x3ca2c5()]=_0x3b54cd===_0x4940f8([0x74,0x69,0x6d,0x65])?_0x523f22:_0x207f95;}function _0x5a1f76(){let _0x22dffd=_0x1661d3[0x6]*_0x3472d1[0x8]*_0x3472d1[0x6];return _0x23290f(_0x5f931e,_0x4940f8([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x22dffd/=0xa),_0x22dffd;}function _0x4e8767(){const _0x20ef3b=_0x5f931e;function _0x1abaa5(){_0x23290f(_0x20ef3b,_0x4940f8([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&(_0x211d52(_0x20ef3b,_0x4940f8([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x4940f8([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x4940f8([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x211d52(_0x20ef3b,_0x4940f8([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x4940f8([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x211d52(_0x20ef3b,_0x4940f8([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x4940f8([0x75,0x70,0x64,0x61,0x74,0x65])]=_0x1ff9f3,_0x211d52(_0x20ef3b,_0x4940f8([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x4940f8([0x73,0x61,0x76,0x65,0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e])]=_0x1ff9f3,_0x20ef3b[_0x4940f8([0x6d,0x6f,0x64,0x65,0x6c])][_0x4940f8([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x1ff9f3,_0x20ef3b[_0x4940f8([0x6d,0x6f,0x64,0x65,0x6c])][_0x4940f8([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x1ff9f3,_0x20ef3b[_0x4940f8([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x4940f8([0x6d,0x6f,0x64,0x65,0x6c]))),_0x23290f(_0x20ef3b,_0x4940f8([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x211d52(_0x20ef3b,_0x4940f8([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x4940f8([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x4940f8([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x211d52(_0x20ef3b,_0x4940f8([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x4940f8([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x211d52(_0x20ef3b,_0x4940f8([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x4940f8([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])]=_0x1ff9f3,_0x211d52(_0x20ef3b,_0x4940f8([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x4940f8([0x5f,0x67,0x65,0x74,0x44,0x69,0x66,0x66])]=_0x1ff9f3);}_0x20ef3b[_0x4940f8([0x73,0x74,0x61,0x74,0x65])]==_0x4940f8([0x72,0x65,0x61,0x64,0x79])?_0x1abaa5():_0x20ef3b[_0x4940f8([0x6f,0x6e,0x63,0x65])](_0x4940f8([0x72,0x65,0x61,0x64,0x79]),()=>{if(_0x23290f(_0x20ef3b,_0x4940f8([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&_0x1abaa5(),_0x23290f(_0x20ef3b,_0x4940f8([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))){const _0x17be5e=_0x211d52(_0x20ef3b,_0x4940f8([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79])),_0x2a11c8=_0x17be5e['getRevision'](0x0),_0x1c516a=_0x17be5e['getEarlierVisibleRevision'](_0x2a11c8[_0x4940f8([0x69,0x64])]);_0x211d52(_0x20ef3b,_0x4940f8([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x4940f8([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])](_0x2a11c8[_0x4940f8([0x69,0x64])],_0x1c516a?_0x1c516a[_0x4940f8([0x69,0x64])]:null,0x1)['then'](()=>_0x1abaa5());}});}_0x29cfe4(_0x268485(_0x13ff02,_0x1defcc),_0x1defcc);}function _0x38e2aa(_0x2e0764,_0x41c7da){try{return _0x41b104(_0x41c7da)?_0x3babf0(_0x41c7da[_0x4940f8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4940f8([0x56,0x61,0x6c,0x69,0x64])):_0x2e0764&&_0x56e61d(_0x2e0764[_0x4940f8([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])],_0x41c7da)?_0x2e0764[_0x4940f8([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]&&!window[_0x4940f8([0x6f,0x70,0x65,0x6e])][_0x4940f8([0x63,0x6c,0x6f,0x73,0x65,0x64])]||parseInt(_0x332295)/0x2>_0x2e0764[_0x4940f8([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]?_0x3babf0(_0x41c7da[_0x4940f8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4940f8([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])):_0x2e0764[_0x4940f8([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]?_0x3babf0(_0x41c7da[_0x4940f8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4940f8([0x54,0x72,0x69,0x61,0x6c])):_0x3babf0(_0x41c7da[_0x4940f8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4940f8([0x56,0x61,0x6c,0x69,0x64])):_0x3babf0(_0x41c7da[_0x4940f8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4940f8([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}catch(_0x2742e8){return _0x3babf0(_0x41c7da[_0x4940f8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4940f8([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x4f2c0d(_0x527910,_0x545634){if(_0x5f931e instanceof _0x44a599){const _0x49284e=_0x5f931e;_0x527910==_0x545634[_0x4940f8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4940f8([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x2fdc39(_0x49284e):_0x527910==_0x545634[_0x4940f8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4940f8([0x54,0x72,0x69,0x61,0x6c])&&window[_0x4940f8([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x2fdc39(_0x49284e),_0x3babf0(_0x545634[_0x4940f8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4940f8([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65]));},_0x1661d3[0x6]*_0x3472d1[0x8]*_0x3472d1[0x6]),_0x49284e[_0x4940f8([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])][_0x4940f8([0x6f,0x6e])](_0x4940f8([0x61,0x64,0x64]),(_0x2a6267,_0x265ea1)=>{_0x527910!=_0x545634[_0x4940f8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4940f8([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])&&_0x527910!=_0x545634[_0x4940f8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4940f8([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65])&&_0x527910!=_0x545634[_0x4940f8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4940f8([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])||_0x250c4f(_0x265ea1);});}else{const _0x1b9c50=_0x5f931e;_0x527910==_0x545634[_0x4940f8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4940f8([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x250c4f(_0x1b9c50):_0x527910==_0x545634[_0x4940f8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4940f8([0x54,0x72,0x69,0x61,0x6c])&&_0x1b9c50[_0x4940f8([0x6f,0x6e])](_0x4940f8([0x72,0x65,0x61,0x64,0x79]),()=>{let _0x4943c4=0x0;_0x1b9c50[_0x4940f8([0x6d,0x6f,0x64,0x65,0x6c])][_0x4940f8([0x6f,0x6e])](_0x4940f8([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0xaf448f,_0x1dd638)=>{_0x1dd638[0x0][_0x4940f8([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x4943c4++,0x1f8===_0x4943c4&&(_0x250c4f(_0x1b9c50),_0x3babf0(_0x545634[_0x4940f8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4940f8([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])),_0xaf448f[_0x4940f8([0x6f,0x66,0x66])]());},{'priority':_0x4940f8([0x68,0x69,0x67,0x68,0x65,0x73,0x74])});});}}function _0x3babf0(_0x788dd){const _0xd9335c=_0x3ca2c5();return _0x5f931e[_0xd9335c]=_0x788dd,_0x788dd;}function _0x3ca2c5(){const _0xc9a803=String(window[_0x4940f8([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x4940f8([0x6e,0x6f,0x77])]())[_0x4940f8([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x4940f8([0x2e]),'');let _0x51adb5='';for(let _0x2fc091=0x0;_0x2fc091<_0xc9a803[_0x4940f8([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2fc091+=0x2){let _0x4b2d7b=parseInt(_0xc9a803[_0x4940f8([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2fc091,_0x2fc091+0x2));_0x4b2d7b>=_0x26b600[_0x4940f8([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x4b2d7b-=_0x26b600[_0x4940f8([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x51adb5+=_0x26b600[_0x4b2d7b];}return _0x51adb5;}function _0x2fdc39(_0x396448){for(const _0x426dbd of _0x396448[_0x4940f8([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])])_0x250c4f(_0x426dbd);_0x211d52(_0x396448,_0x4940f8([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x4940f8([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])](!0x0),_0x211d52(_0x396448,_0x4940f8([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x4940f8([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])]=_0x1ff9f3;}function _0x250c4f(_0x420885){function _0x4265aa(){_0x420885[_0x4940f8([0x6d,0x6f,0x64,0x65,0x6c])][_0x4940f8([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x1ff9f3,_0x420885[_0x4940f8([0x6d,0x6f,0x64,0x65,0x6c])][_0x4940f8([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x1ff9f3,_0x420885[_0x4940f8([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x4940f8([0x6d,0x6f,0x64,0x65,0x6c]));}_0x420885[_0x4940f8([0x73,0x74,0x61,0x74,0x65])]==_0x4940f8([0x72,0x65,0x61,0x64,0x79])?_0x4265aa():_0x420885[_0x4940f8([0x6f,0x6e,0x63,0x65])](_0x4940f8([0x72,0x65,0x61,0x64,0x79]),()=>_0x4265aa());}function _0x1ff9f3(){return null;}function _0x56e61d(_0x3d8dad,_0x34ce82){const _0x9cef64=!!(_0x3d8dad&_0x34ce82[_0x4940f8([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]),_0x4df19b=_0x505845(_0x3d8dad,_0x34ce82);return _0x9cef64||_0x4df19b;}function _0x505845(_0x44663a,_0x43a5ef){const _0x3255c4=(_0x43a5ef[_0x4940f8([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{})[_0x4940f8([0x66,0x67,0x69])]||null;return!!_0x3255c4&&_0x33500a[_0x4940f8([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5d04e4=>_0x3255c4[_0x4940f8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5d04e4[_0x4940f8([0x69,0x64])]))[_0x4940f8([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x44d5e6=>!_0x27ff67(_0x44d5e6))[_0x4940f8([0x73,0x6f,0x6d,0x65])](_0x37fc91=>!!(_0x44663a&_0x37fc91[_0x4940f8([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]));}function _0x27ff67(_0x1a263a){const _0xf677f7={[_0x4940f8([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])]:_0x1d2604};return!!_0x1a263a['forbiddenHandler']&&_0xf677f7[_0x1a263a['forbiddenHandler']]();}function _0x1d2604(){return!window[_0x4940f8([0x44,0x72,0x75,0x70,0x61,0x6c])]||!_0x23290f(_0x5f931e,_0x4940f8([0x64,0x72,0x75,0x70,0x61,0x6c,0x50,0x6f,0x77,0x65,0x72,0x65,0x64,0x42,0x79]));}function _0x41b104(_0x44fb35){if(!_0x23290f(_0x5f931e,_0x44fb35[_0x4940f8([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))return!0x0;const _0x4bb894=_0x44fb35[_0x4940f8([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{},_0x35b67b=_0x4bb894[_0x4940f8([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]||!0x1,_0x3f92ec=_0x4bb894[_0x4940f8([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]||!0x1,_0x220c4b=_0x4bb894[_0x4940f8([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]||!0x1;if(_0x23290f(_0x5f931e,_0x4940f8([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x211d52(_0x5f931e,_0x4940f8([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x4940f8([0x73,0x74,0x61,0x74,0x65])]==_0x4940f8([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&_0x35b67b)return!0x0;if(_0x23290f(_0x5f931e,_0x4940f8([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))&&_0x211d52(_0x5f931e,_0x4940f8([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))[_0x4940f8([0x72,0x65,0x73,0x75,0x6c,0x74])]==_0x4940f8([0x65,0x6e,0x64])&&_0x3f92ec)return!0x0;return!(!_0x23290f(_0x5f931e,_0x4940f8([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]))||_0x211d52(_0x5f931e,_0x4940f8([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]))[_0x4940f8([0x72,0x65,0x73,0x75,0x6c,0x74])]!=_0x4940f8([0x65,0x6e,0x64])||!_0x220c4b);}function _0x23290f(_0x5c1e5f,_0x2605ca){return _0x5c1e5f[_0x4940f8([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x4940f8([0x68,0x61,0x73])](_0x2605ca);}function _0x211d52(_0x1e5d73,_0x5271f2){return _0x1e5d73[_0x4940f8([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x4940f8([0x67,0x65,0x74])](_0x5271f2);}function _0xb11c50(_0x3adb9b){let _0x5841ca='';for(const _0x28bd0c of _0x3adb9b)_0x5841ca+=String[_0x4940f8([0x66,0x72,0x6f,0x6d,0x43,0x68,0x61,0x72,0x43,0x6f,0x64,0x65])](_0x28bd0c);return _0x5841ca;}function _0x999cb3(_0x1a6299){const _0x1b9083=new Uint8Array(_0x1a6299[_0x4940f8([0x6c,0x65,0x6e,0x67,0x74,0x68])]);for(let _0x1062d7=0x0;_0x1062d7<_0x1a6299[_0x4940f8([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1062d7++)_0x1b9083[_0x1062d7]=_0x1a6299[_0x4940f8([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x1062d7);return _0x1b9083;}_0x4797c8&&_0x4ff791(_0x1a8502(_0x52dc82),_0x4797c8);})(_0x1080a7);}(this);}['createRevision'](_0x3b3ee9){const _0x5afe7a=this['editor']['plugins']['get']('Users');return new a({'id':_0x3b3ee9['id'],'name':_0x3b3ee9['name'],'creator':_0x3b3ee9['creatorId']?_0x5afe7a['getUser'](_0x3b3ee9['creatorId']):null,'diffData':_0x3b3ee9['diffData']||_0x3b3ee9['data'],'authors':_0x3b3ee9['authorsIds']['map'](_0x2968d2=>_0x5afe7a['getUser'](_0x2968d2)),'createdAt':new Date(_0x3b3ee9['createdAt']),'attributes':_0x3b3ee9['attributes'],'fromVersion':_0x3b3ee9['fromVersion'],'toVersion':_0x3b3ee9['toVersion']});}['addRevision'](_0x1cb220,_0x15eed5=0x0){this['_revisions']['add'](_0x1cb220,_0x15eed5);}['getRevision'](_0x52216a){return this['_revisions']['get'](_0x52216a);}['getRevisions'](_0x3ee0ac={'toJSON':!0x1}){const _0x5b23e5=Array['from'](this['_revisions']);return _0x5b23e5['reverse'](),_0x3ee0ac['toJSON']?_0x5b23e5['map'](_0x580cad=>_0x580cad['toJSON']()):_0x5b23e5;}['getIndex'](_0x4bd185){return this['_revisions']['getIndex'](_0x4bd185);}['getEarlierVisibleRevision'](_0x49e09c){const [,_0x4a19ed]=this['getRevisionsIterator'](_0x49e09c,{'direction':'earlier'});return _0x4a19ed;}['getLaterVisibleRevision'](_0x359525){const [,_0x1ba666]=this['getRevisionsIterator'](_0x359525,{'direction':'later'});return _0x1ba666;}['getRevisionsInDiff'](_0x22e1de){const _0x2c2fc9=[];for(const _0x20f5de of this['getRevisionsIterator'](_0x22e1de['newRevisionId']))if(_0x2c2fc9['push'](_0x20f5de),_0x20f5de['id']===_0x22e1de['oldRevisionId'])break;return _0x2c2fc9;}*['getRevisionsIterator'](_0x9fc511,{direction:_0x1ec51c='earlier',filter:_0x320e11=_0x2ee2fc=>!0x0}={}){const _0x504462='earlier'===_0x1ec51c?0x1:-0x1;let _0x17929b=this['_revisions']['get'](_0x9fc511),_0x2e8f1e=this['getIndex'](_0x17929b);for(yield _0x17929b;_0x17929b;){if(_0x2e8f1e+=_0x504462,_0x17929b=this['getRevision'](_0x2e8f1e),!_0x17929b)return;_0x320e11(_0x17929b)&&(yield _0x17929b);}}}function y(_0x35dd51,_0x4e7f54,_0x3e19c6){const t=_0x35dd51['t'];switch(_0x4e7f54){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'},_0x3e19c6);case'X_OF_Y_CHANGES':return t({'string':'%0\x20of\x20%1','id':'X_OF_Y_CHANGES'},_0x3e19c6);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':_0x4a87a7,'a':_0x317359,'e':_0x5827ff,'r':_0xf9a273,'u':_0x12d1b7};class l extends _0x1eb33f{['adapter'];['currentRevision'];['repository'];['_revisionDataBuilder'];['_source'];['_initialRevisionId'];['_bufferedUpdates'];['_pendingAction'];['_continueCurrentRevision'];['_startingVersion'];['_loadedStateData'];static get['pluginName'](){return'RevisionTracker';}static get['requires'](){return[_0x152803,A,_0x4a9c73];}constructor(_0x2b6d47){super(_0x2b6d47),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 _0x2f5211=_0xf10109();this['_source']={'history':this['editor']['model']['document']['history'],'getLatestVersion':()=>Promise['resolve'](this['editor']['model']['document']['version']),'getCurrentRevisionId':()=>_0x2f5211},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 _0x5c423a=this['repository']['getRevision'](0x0),_0x286530=_0x5c423a&&null===_0x5c423a['creator']?_0x5c423a:null;if(this['_continueCurrentRevision']=!!_0x286530&&this['editor']['config']['get']('revisionHistory.resumeUnsavedRevision'),this['editor']['plugins']['has']('RealTimeCollaborationClient')){const _0x5c6fd9=this['_source']['getCurrentRevisionId'](),_0x599b04=this['repository']['getRevision'](_0x5c6fd9);if(_0x599b04)this['_startingVersion']=_0x599b04['fromVersion'],this['_continueCurrentRevision']=!0x1;else{const _0x250289=this['_source']['history']['_operations']['find'](_0x47070b=>!_0x47070b['_isInit']),_0x6b3573=_0x250289?_0x250289['baseVersion']:this['_source']['history']['version'];_0x5c423a?(_0x5c423a['toVersion']<_0x6b3573&&_0x5c423a['_update']({'toVersion':_0x6b3573}),this['_continueCurrentRevision']?(this['_source']['getCurrentRevisionId']=()=>_0x286530['id'],this['_startingVersion']=_0x286530['fromVersion']):(this['_startingVersion']=_0x5c423a['toVersion'],this['_continueCurrentRevision']=!0x1)):(this['_startingVersion']=_0x6b3573,this['_continueCurrentRevision']=!0x1);}}else _0x286530&&(this['editor']['model']['document']['history']['version']=Math['max'](_0x286530['toVersion'],this['editor']['model']['document']['history']['version']),_0x286530['fromVersion']===_0x286530['toVersion']?(0x0!==_0x286530['fromVersion']&&(this['_source']['getCurrentRevisionId']=()=>_0x286530['id']),this['_continueCurrentRevision']=!0x1):this['_continueCurrentRevision']&&(this['_source']['getCurrentRevisionId']=()=>_0x286530['id'],this['_startingVersion']=_0x286530['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',_0x4bca39=>!_0x4bca39);}async['afterInit'](){if(this['repository']['length']>0x0){const _0x391198=this['repository']['getRevision'](0x0),_0x436e5a=await this['getRevisionDocumentData'](_0x391198),_0x3c0c94=await this['getRevisionRootsAttributes'](_0x391198);this['_replaceEditorDataWithRevisionData'](_0x436e5a,_0x3c0c94);}}['setSource'](_0x210681){this['_source']=_0x210681;}async['update'](){const _0x50c840=await this['_source']['getLatestVersion']();if(_0x50c840>this['currentRevision']['toVersion']){await this['_loadState']();const _0x1af878=this['buildRevisionData']({'revision':this['currentRevision'],'to':_0x50c840});_0x1af878['authors']=_0x1af878['authorsIds']['map'](_0x48b51e=>this['editor']['plugins']['get']('Users')['getUser'](_0x48b51e)),this['currentRevision']['_update'](_0x1af878);}}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'](_0x13dc9e={},_0x469703=null){const _0x47fccb=[];await this['_loadState'](),this['_continueCurrentRevision']=!0x1,_0x469703>this['currentRevision']['toVersion']&&(_0x469703=null),null===_0x469703&&(_0x469703=await this['_source']['getLatestVersion']());const _0x1e025c=this['_getFromVersion'](_0x469703),_0x536b75=this['buildRevisionData']({'from':_0x1e025c,'to':_0x469703});if(this['currentRevision']['toVersion']<_0x469703){const _0x8e53a6=this['buildRevisionData']({'revision':this['currentRevision'],'from':_0x469703,'to':_0x469703});_0x8e53a6['authors']=[],_0x8e53a6['authorsIds']=[],_0x8e53a6['id']=this['currentRevision']['id'],this['currentRevision']['_update'](_0x8e53a6,!0x0),delete _0x8e53a6['authors'],_0x47fccb['push'](_0x8e53a6);}_0x13dc9e['creatorId']=this['editor']['plugins']['get']('Users')['me']['id'],_0x13dc9e['name']=_0x13dc9e['name']||null,_0x13dc9e['id']=_0x13dc9e['id']||_0xf10109(),_0x13dc9e={..._0x13dc9e,..._0x536b75};const _0x499c19=this['addRevisionData'](_0x13dc9e);_0x47fccb['push'](_0x13dc9e);const _0x3985b8=this['repository']['getIndex'](_0x499c19);if(0x0!==_0x3985b8){const _0x8caa4b=this['repository']['getRevision'](_0x3985b8-0x1);if(_0x8caa4b['fromVersion']!==_0x469703){const _0x1c0b2c=this['_revisionDataBuilder']['getData'](_0x469703,_0x8caa4b['toVersion']),_0x138d1b={'id':_0x8caa4b['id'],'diffData':_0x1c0b2c['diffData'],'authorsIds':_0x1c0b2c['authorsIds'],'authors':_0x1c0b2c['authorsIds']['map'](_0x3a2e54=>this['editor']['plugins']['get']('Users')['getUser'](_0x3a2e54)),'fromVersion':_0x469703};_0x8caa4b===this['currentRevision']&&(_0x138d1b['createdAt']=new Date(_0x13dc9e['createdAt']['getTime']()+0xa)),_0x8caa4b['_update'](_0x138d1b,!0x0),delete _0x138d1b['authors'],_0x47fccb['push'](_0x138d1b);}}if(this['adapter']){for(const _0x1d3b33 of _0x47fccb)this['_bufferUpdate'](_0x1d3b33['id'],_0x1d3b33,!0x0);this['sendBufferedUpdates']();}return _0x499c19;}['addRevisionData'](_0xb0e0cf){const _0x206d67=this['repository']['createRevision'](_0xb0e0cf);return this['adapter']&&_0x206d67['on']('_update',(_0x57b104,_0x46e624,_0x81ddb)=>{_0x81ddb||(this['_bufferUpdate'](_0x46e624['id'],_0x46e624,!0x0),this['sendBufferedUpdates']());}),this['repository']['addRevision'](_0x206d67,this['_findInsertionIndex'](_0x206d67)),_0x206d67;}async['getRevisionDocumentData'](_0x5ef301){await this['_loadRevisionData'](_0x5ef301);const _0x1648b7={};for(const _0x589e69 in _0x5ef301['diffData']){if(_0x5ef301['diffData'][_0x589e69]['attachChange']&&!_0x5ef301['diffData'][_0x589e69]['attachChange']['isAttached'])continue;const _0x2494e1=this['_removeRevisionMarkers'](JSON['parse'](_0x5ef301['diffData'][_0x589e69]['insertions'])),_0x2ae62a=this['editor']['editing']['view']['document'],_0x29bf68=new _0x13f9b3(_0x2ae62a,_0x2494e1['map'](_0x15da4b=>B(_0x15da4b,this['editor'])));this['editor']['data']['processor']['useFillerType']('marked'),_0x1648b7[_0x589e69]=this['editor']['data']['processor']['toData'](_0x29bf68),this['editor']['data']['processor']['useFillerType']('default');}return _0x1648b7;}async['getRevisionRootsAttributes'](_0x207f10){await this['_loadRevisionData'](_0x207f10);const _0x4cd6ae={};for(const _0x266c79 in _0x207f10['diffData'])_0x207f10['diffData'][_0x266c79]['attachChange']&&!_0x207f10['diffData'][_0x266c79]['attachChange']['isAttached']||(_0x4cd6ae[_0x266c79]=_0x207f10['diffData'][_0x266c79]['attributesAfter']||{});return _0x4cd6ae;}['sendBufferedUpdates'](){if(0x0===this['_bufferedUpdates']['size'])return;if(this['_isPendingUpdate'])return;let _0x46cea5=Array['from'](this['_bufferedUpdates']['values']());this['_bufferedUpdates']['clear']();for(let _0x146d6c=0x0;_0x146d6c<_0x46cea5['length'];_0x146d6c++){const _0xa9f787=_0x46cea5[_0x146d6c];let _0x2c0a9f=!0x1;for(const _0x5b9f5c of Object['keys'](_0xa9f787))void 0x0===_0xa9f787[_0x5b9f5c]?delete _0xa9f787[_0x5b9f5c]:'id'!==_0x5b9f5c&&(_0x2c0a9f=!0x0);_0x2c0a9f||(_0x46cea5[_0x146d6c]=null);}if(_0x46cea5=_0x46cea5['filter'](_0x502b7f=>null!==_0x502b7f),!_0x46cea5['length'])return;for(let _0x44de9c=0x0;_0x44de9c<_0x46cea5['length'];_0x44de9c++){const _0x59a486=_0x46cea5[_0x44de9c];void 0x0!==_0x59a486['fromVersion']&&void 0x0===_0x59a486['toVersion']&&(_0x59a486['toVersion']=this['repository']['getRevision'](_0x59a486['id'])['toVersion']),void 0x0!==_0x59a486['toVersion']&&void 0x0===_0x59a486['fromVersion']&&(_0x59a486['fromVersion']=this['repository']['getRevision'](_0x59a486['id'])['fromVersion']);}const _0x148ef2=this['editor']['config']['get']('collaboration.channelId');this['_isPendingUpdate']=!0x0,this['_addPendingAction'](),this['adapter']['updateRevisions'](_0x46cea5,_0x148ef2)['finally'](()=>{this['_isPendingUpdate']=!0x1;})['then'](_0x70df9e=>{if(_0x70df9e){for(const _0x1f6784 of _0x70df9e)this['setRevisionData']({'id':_0x1f6784['id'],'createdAt':_0x1f6784['createdAt']});}this['_removePendingAction'](),this['sendBufferedUpdates']();});}['_replaceEditorDataWithRevisionData'](_0x286f93,_0x1131d7){let _0x44e014=this['editor']['config']['get']('initialData'),_0x2573ae=this['editor']['config']['get']('rootsAttributes');if(void 0x0===_0x44e014){_0x44e014={};for(const _0x3361d1 of this['editor']['model']['document']['getRootNames']())_0x44e014[_0x3361d1]='';}if('string'==typeof _0x44e014&&(_0x44e014={'main':_0x44e014}),void 0x0===_0x2573ae){_0x2573ae={};for(const _0x386ca2 of this['editor']['model']['document']['getRootNames']())_0x2573ae[_0x386ca2]={};}let _0x34e62b=!0x1;const _0x22dde7=Object['keys'](_0x44e014),_0x5f149d=Object['keys'](_0x286f93);for(const _0x3fbce5 of _0x22dde7){if(_0x44e014[_0x3fbce5]!==_0x286f93[_0x3fbce5]&&''!==_0x44e014[_0x3fbce5]['trim']()){_0x34e62b=!0x0;break;}if(!_0x5efefc(_0x2573ae[_0x3fbce5],_0x1131d7[_0x3fbce5])&&Object['keys'](_0x2573ae[_0x3fbce5])['length']>0x0){_0x34e62b=!0x0;break;}}_0x34e62b||(_0x34e62b=_0x5f149d['some'](_0x3d63bf=>!this['editor']['model']['document']['getRoot'](_0x3d63bf))),_0x34e62b&&_0x55f4dd('editor-initial-data-replaced-with-revision-data',{'editorData':_0x44e014,'editorRootsAttributes':_0x2573ae,'revisionData':_0x286f93,'revisionRootsAttributes':_0x1131d7}),this['editor']['config']['set']('initialData',_0x286f93),this['editor']['config']['set']('rootsAttributes',_0x1131d7);}['_addPendingAction'](){if(!this['_pendingAction']){const _0x59659f=this['editor']['plugins']['get']('PendingActions');this['_pendingAction']=_0x59659f['add'](y(this['editor']['locale'],'PENDING_ACTION_REVISION_HISTORY'));}}['_removePendingAction'](){this['_pendingAction']&&(this['editor']['plugins']['get']('PendingActions')['remove'](this['_pendingAction']),this['_pendingAction']=null);}['_findInsertionIndex'](_0xd51806){const _0x2cc660=this['repository']['getRevisions']();_0x2cc660['reverse']();let _0x30cada=0x0;for(;_0x30cada<_0x2cc660['length'];){const _0xa6a11b=_0x2cc660[_0x30cada];if(_0xa6a11b===this['currentRevision']){_0x30cada++;continue;}if(_0xa6a11b['id']===this['_initialRevisionId'])break;const _0x5c7f1d=_0xd51806['toVersion']-_0xa6a11b['toVersion']||_0xd51806['fromVersion']-_0xa6a11b['fromVersion'];if(_0x5c7f1d>0x0)break;if(_0x5c7f1d<0x0)_0x30cada++;else{if(!_0xd51806['creator']&&_0xa6a11b['creator'])break;if(_0xa6a11b['creator']||!_0xd51806['creator']){if(_0xd51806['createdAt']>_0xa6a11b['createdAt'])break;_0x30cada++;}else _0x30cada++;}}return _0x30cada;}['setRevisionData'](_0x25926f){const _0x3b4515=this['repository']['getRevision'](_0x25926f['id']);if(_0x25926f['createdAt']&&(_0x25926f['createdAt']=new Date(_0x25926f['createdAt'])),_0x25926f['authorsIds']){const _0x399c7b=this['editor']['plugins']['get']('Users');_0x25926f['authors']=_0x25926f['authorsIds']['map'](_0x5634fc=>_0x399c7b['getUser'](_0x5634fc));}_0x3b4515['_update'](_0x25926f,!0x0);}['buildRevisionData']({revision:_0xc7dde8=null,from:_0x41f0d7=null,to:_0x27e8ee=null}){_0x41f0d7=null!==_0x41f0d7?_0x41f0d7:_0xc7dde8['fromVersion'],_0x27e8ee=null!==_0x27e8ee?_0x27e8ee:_0xc7dde8['toVersion'];const _0x590f22=this['_revisionDataBuilder']['getData'](_0x41f0d7,_0x27e8ee),_0x77da94={'diffData':_0x590f22['diffData'],'authorsIds':_0x590f22['authorsIds'],'fromVersion':_0x41f0d7,'toVersion':_0x27e8ee};if(!_0xc7dde8||_0x27e8ee!==_0xc7dde8['toVersion']){const _0x21db45=_0x27e8ee-0x1,_0x57a14b=this['_source']['history']['getOperation'](_0x21db45);_0x77da94['createdAt']=_0x57a14b&&_0x57a14b['createdAt']||new Date();}if(this['_loadedStateData']&&_0x41f0d7===this['_loadedStateData']['fromVersion']){for(const _0x27f637 of this['_loadedStateData']['authors'])_0x77da94['authorsIds']['includes'](_0x27f637['id'])||_0x77da94['authorsIds']['push'](_0x27f637['id']);}return _0x77da94;}['_loadRevisionData'](_0x3781f8){if(!_0x3781f8||_0x3781f8['diffData'])return Promise['resolve']();{const _0xce4b48=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0xce4b48,'revisionId':_0x3781f8['id']})['then'](_0x472668=>{_0x3781f8['diffData']=_0x472668['diffData'];});}}['_bufferUpdate'](_0x1732c2,_0xdb3d19,_0x528a7f){if(this['_bufferedUpdates']['has'](_0x1732c2)){const _0x4e2215=this['_bufferedUpdates']['get'](_0x1732c2);_0xdb3d19=_0x528a7f?{..._0x4e2215,..._0xdb3d19}:{..._0xdb3d19,..._0x4e2215};}this['_bufferedUpdates']['set'](_0x1732c2,_0xdb3d19);}['_getFromVersion'](_0x393c85){const _0x1006e0=this['repository']['getRevisions']();_0x1006e0['reverse'](),_0x1006e0['shift']();const _0x19be47=_0x1006e0['find'](_0x7c8aa6=>_0x7c8aa6['toVersion']<=_0x393c85)['toVersion'];return _0x19be47<this['_startingVersion']?this['_startingVersion']:_0x19be47;}['_createInitialRevision'](_0x53e481){const _0x3ce082=this['repository']['getRevision'](this['repository']['length']-0x1);if(_0x3ce082)this['_initialRevisionId']=_0x3ce082['id'];else{const _0x3918fb=!this['editor']['model']['document']['roots']['find'](_0x12dd42=>this['editor']['model']['hasContent'](_0x12dd42)),_0x4e45dc=this['editor']['plugins']['get']('Users')['me']['id'],_0x1f4cd8=y(this['editor']['locale'],_0x3918fb?'Empty\x20document':'Initial\x20revision');this['_makeRevision']({'from':_0x53e481,'to':_0x53e481,'id':this['_initialRevisionId'],'name':_0x1f4cd8,'creatorId':_0x4e45dc});}}['_createCurrentRevision'](_0x2f0441){const _0x84a1f1=this['_source']['getCurrentRevisionId']();this['currentRevision']=this['repository']['getRevision'](_0x84a1f1),this['currentRevision']||(this['currentRevision']=this['_makeRevision']({'from':_0x2f0441,'to':_0x2f0441,'id':_0x84a1f1,'name':'','creatorId':null}));}['_makeRevision']({name:_0x47e7e0,from:_0xd5b149,to:_0x46c556,creatorId:_0x1f05b0,id:_0x3faa65}){const _0x43aedf=this['buildRevisionData']({'from':_0xd5b149,'to':_0x46c556});_0x43aedf['name']=_0x47e7e0,_0x43aedf['creatorId']=_0x1f05b0,_0x43aedf['id']=_0x3faa65;const _0x1affcf=this['addRevisionData'](_0x43aedf);return this['adapter']&&this['_bufferUpdate'](_0x43aedf['id'],_0x43aedf,!0x0),_0x1affcf;}['_setConversion'](){this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'});}['_removeRevisionMarkers'](_0x463bf3){return(_0x463bf3=_0x463bf3['filter'](_0x3674c1=>!_0x3674c1['name']||'revision-start'!==_0x3674c1['name']&&'revision-end'!==_0x3674c1['name']))['forEach'](_0x3dc588=>{'string'!=typeof _0x3dc588&&(_0x3dc588['children']=this['_removeRevisionMarkers'](_0x3dc588['children']),_0x3dc588['attributes']=_0x3dc588['attributes']['filter'](_0x58bd91=>!_0x58bd91[0x0]['startsWith']('data-revision-')));}),_0x463bf3;}}function B(_0xed6951,_0x31e9f4){const _0x1d0cac=_0x31e9f4['editing']['view']['document'];if('string'==typeof _0xed6951)return new _0x384ec1(_0x1d0cac,_0xed6951);{const _0x6ca469=_0xed6951['children']['map'](_0x53ef90=>B(_0x53ef90,_0x31e9f4));return new(T[_0xed6951['type']]||_0x1d434c)(_0x1d0cac,_0xed6951['name'],_0xed6951['attributes'],_0x6ca469);}}class J{['editor'];['source'];['_savedMetaData'];['_lastFrom'];['_lastTo'];['_markers'];['_diffRoots'];['_diffRootsAttributes'];['_baseRoots'];['_baseRootsAttributes'];['_idsRoots'];['_baseIdsRoots'];['_touched'];['_touchedMarkers'];['_touchedRoots'];['_revisionId'];['_startingRevisionId'];constructor(_0x430604){this['editor']=_0x430604,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'](_0x465c69){this['source']=_0x465c69;const _0x381076=new Map(),_0x54f9f5=new Map(),_0x2eb603=this['editor']['model']['document']['roots']['map'](_0x4d8b90=>_0x4d8b90['rootName']);for(const _0x308913 of _0x2eb603){const _0x28aea7=this['editor']['model']['document']['getRoot'](_0x308913),_0x3cda18=q(_0x28aea7);_0x381076['set'](_0x308913,_0x3cda18),_0x54f9f5['set'](_0x308913,Object['fromEntries'](_0x28aea7['getAttributes']()));}const _0x431afa=Array['from'](this['editor']['model']['markers'])['map'](_0x264a86=>[_0x264a86['name'],_0x264a86['getRange']()]),_0x97b8bd=this['source']['version'];this['_saveMetaData'](_0x97b8bd,_0x381076,_0x431afa,_0x54f9f5),this['_startingRevisionId']=this['_revisionId'];const _0x58eb1f=new Map(),_0x2311a9=new Map();for(const _0x3522c9 of _0x2eb603){const _0x428b66=G(_0x3522c9);_0x58eb1f['set'](_0x3522c9,_0x428b66),_0x2311a9['set'](_0x3522c9,{});}this['_saveMetaData'](Number['NEGATIVE_INFINITY'],_0x58eb1f,[],_0x2311a9);}['getData'](_0x4cc758,_0x19d4ee){if(this['_lastFrom']===_0x4cc758&&this['_lastTo']<=_0x19d4ee)this['_savedMetaData']['size']>0x1&&this['_removeMetaData'](this['_lastTo']),this['_applyOperations'](this['_lastTo'],_0x19d4ee,!0x0);else{if(!this['_savedMetaData']['has'](_0x4cc758)){const _0x4d93d=this['_getPreviousFrom'](_0x4cc758);this['_calculateMetaData'](_0x4d93d,_0x4cc758,!0x1);}this['_calculateMetaData'](_0x4cc758,_0x19d4ee,!0x0);}return this['_lastFrom']=_0x4cc758,this['_lastTo']=_0x19d4ee,this['_getState']();}['loadState'](_0x203262){this['_reset'](),this['_lastFrom']=_0x203262['fromVersion'],this['_lastTo']=_0x203262['toVersion'];for(const _0x2ed5fd in _0x203262['diffData']){const _0x4dac97=_0x203262['diffData'][_0x2ed5fd]['attachChange'],_0x2abd67=_0x4b2b33(_0x203262['diffData'][_0x2ed5fd]['attributesBefore'])||{},_0x5b778d=this['_makeModelFromViewString'](_0x203262['diffData'][_0x2ed5fd]['deletions']);_0x5b778d['rootName']=_0x2ed5fd,_0x5b778d['_isAttached']=!_0x4dac97||!_0x4dac97['isAttached'],_0x5b778d['isAttached']=()=>_0x5b778d['_isAttached'],this['_baseRoots']['set'](_0x2ed5fd,_0x5b778d),this['_baseRootsAttributes']['set'](_0x2ed5fd,_0x2abd67),_0x4dac97&&this['_touchedRoots']['set'](_0x2ed5fd,_0x4dac97);const _0x2f13a2=this['_makeIdsRoot'](_0x5b778d);this['_baseIdsRoots']['set'](_0x2ed5fd,_0x2f13a2);for(const [_0x36f520,_0x5ac245]of _0x5b778d['markers']){if(!_0x36f520['startsWith']('revision:'))continue;const _0x2ba116=_0x36f520['split'](':')[0x2];for(const _0x4f5e8d of _0x5ac245['getWalker']({'singleCharacters':!0x0})){const _0x4e1470=this['_getVidAttributeName'](_0x4f5e8d),_0x12efb1='elementEnd'==_0x4f5e8d['type']?_0x4f5e8d['previousPosition']['path']['slice'](0x0,-0x1):_0x4f5e8d['previousPosition']['path'],_0x35d44d=_0x2f13a2['getNodeByPath'](_0x12efb1)['getAttribute'](_0x4e1470);this['_touched']['set'](_0x35d44d,{'userId':_0x2ba116});}}}this['_startingRevisionId']=this['_revisionId'];const _0x454802=[...Array(this['_revisionId'])['keys']()]['slice'](0x1)['filter'](_0x1bc1ef=>!this['_touched']['has'](_0x1bc1ef));let _0x4e8f23=0x0;const _0x21dd34=new Map();for(const _0x36dc06 in _0x203262['diffData']){const _0x1c6c68=_0x203262['diffData'][_0x36dc06]['attachChange'],_0x46555f=_0x4b2b33(_0x203262['diffData'][_0x36dc06]['attributesAfter'])||{},_0x25800=this['_makeModelFromViewString'](_0x203262['diffData'][_0x36dc06]['insertions']);_0x25800['rootName']=_0x36dc06,_0x25800['_isAttached']=!_0x1c6c68||_0x1c6c68['isAttached'],_0x25800['isAttached']=()=>_0x25800['_isAttached'],this['_diffRoots']['set'](_0x36dc06,_0x25800),this['_diffRootsAttributes']['set'](_0x36dc06,_0x46555f);const _0x463ee6=this['_makeIdsRoot'](_0x25800,Number['NEGATIVE_INFINITY']);this['_idsRoots']['set'](_0x36dc06,_0x463ee6),_0x21dd34['set'](_0x36dc06,_0x25800['isAttached']()?_0x46555f:{});for(const [_0x10c63f,_0x4f6f41]of _0x25800['markers']){if(!_0x10c63f['startsWith']('revision:'))continue;const _0xf15f94=_0x10c63f['split'](':')[0x2];for(const _0x39c675 of _0x4f6f41['getWalker']({'singleCharacters':!0x0})){const _0x1382ab=this['_getVidAttributeName'](_0x39c675),_0x46ccff=this['_revisionId']++,_0x361838='elementEnd'==_0x39c675['type']?_0x39c675['previousPosition']['path']['slice'](0x0,-0x1):_0x39c675['previousPosition']['path'];_0x463ee6['getNodeByPath'](_0x361838)['_setAttribute'](_0x1382ab,_0x46ccff),this['_touched']['set'](_0x46ccff,{'userId':_0xf15f94});}}for(const _0x39b023 of this['editor']['model']['createRangeIn'](_0x25800)['getWalker']({'singleCharacters':!0x0})){const _0x14f2c0=this['_getVidAttributeName'](_0x39b023),_0x2fb749='elementEnd'==_0x39b023['type']?_0x39b023['previousPosition']['path']['slice'](0x0,-0x1):_0x39b023['previousPosition']['path'],_0xb9dc06=_0x463ee6['getNodeByPath'](_0x2fb749);_0xb9dc06['getAttribute'](_0x14f2c0)>0x0||_0xb9dc06['_setAttribute'](_0x14f2c0,_0x454802[_0x4e8f23++]);}for(const [_0x53f041,_0x3a5992]of _0x25800['markers'])_0x53f041['startsWith']('revision:')||this['_markers']['set'](_0x53f041,_0x3a5992);}const _0x3c03db=G('$graveyard');this['_baseRoots']['set']('$graveyard',_0x3c03db),this['_baseIdsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x3c03db,0x1));const _0x13eb7d=G('$graveyard');this['_diffRoots']['set']('$graveyard',_0x13eb7d),this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x13eb7d,0x1));const _0x4bac23=Array['from'](this['_diffRoots'])['map'](([_0x881ae5,_0x43ff12])=>[_0x881ae5,q(_0x43ff12)]);this['_saveMetaData'](this['_lastTo'],_0x4bac23,this['_markers'],_0x21dd34);}['_makeModelFromViewString'](_0x3f5dce){const _0x51e1c2=JSON['parse'](_0x3f5dce),_0x5b0800=this['editor']['editing']['view']['document'],_0xc68dcc=new _0x13f9b3(_0x5b0800,_0x51e1c2['map'](_0x1a6c02=>B(_0x1a6c02,this['editor'])));return this['editor']['data']['toModel'](_0xc68dcc);}['_saveMetaData'](_0x2f836b,_0xa6043b,_0x490670,_0x5ec13f){const _0x5da30e=new Map(_0xa6043b),_0x161337=new Map(_0x4b2b33(_0x5ec13f)),_0x1a3e86=new Map();for(const [_0x4db36e,_0x2d692f]of _0x490670)_0x1a3e86['set'](_0x4db36e,{'start':_0x2d692f['start']['clone'](),'end':_0x2d692f['end']['clone'](),'rootName':_0x2d692f['root']['rootName']});this['_savedMetaData']['set'](_0x2f836b,{'roots':_0x5da30e,'markers':_0x1a3e86,'rootsAttributes':_0x161337});}['_removeMetaData'](_0xe4a7af){this['_savedMetaData']['delete'](_0xe4a7af);}['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'](_0x1ce288,_0x35bcd4=null){let _0x2fb2d1=null;_0x1ce288['is']('documentFragment')||(_0x2fb2d1=new ft(_0x1ce288['name'],{'vid_start':null===_0x35bcd4?this['_revisionId']++:_0x35bcd4++}));const _0x29234f=[];for(const _0x1805ce of _0x1ce288['getChildren']())if(_0x1805ce['is']('element')){_0x29234f['push'](this['_makeIdsRoot'](_0x1805ce,_0x35bcd4));const _0x1ff2f2=_0x29234f[_0x29234f['length']-0x1];null!==_0x35bcd4&&(_0x35bcd4=_0x1ff2f2['is']('element','$text')?_0x1ff2f2['getAttribute']('vid')+0x1:_0x1ff2f2['getAttribute']('vid_end')+0x1);}else{for(let _0x11de20=0x0;_0x11de20<_0x1805ce['offsetSize'];_0x11de20++)_0x29234f['push'](new ft('$text',{'vid':null===_0x35bcd4?this['_revisionId']++:_0x35bcd4++}));}if(_0x1ce288['is']('documentFragment')){const _0x32c8a8=G(_0x1ce288['rootName']);return _0x32c8a8['_insertChild'](0x0,_0x29234f),_0x32c8a8;}return _0x2fb2d1['_setAttribute']('vid_end',null===_0x35bcd4?this['_revisionId']++:_0x35bcd4++),_0x2fb2d1['_insertChild'](0x0,_0x29234f),_0x2fb2d1;}['_calculateMetaData'](_0x2dfe2e,_0x380a90,_0x4ff946){this['_reset']();const {roots:_0x4618fd,markers:_0x5c5a9d,rootsAttributes:_0x1a772c}=this['_savedMetaData']['get'](_0x2dfe2e);this['_baseRoots']=new Map(_0x4618fd),this['_baseRootsAttributes']=new Map(_0x4b2b33(_0x1a772c));for(const [_0x3b0785,_0x772117]of this['_baseRoots'])if('$graveyard'!==_0x3b0785&&(this['_diffRoots']['set'](_0x3b0785,q(_0x772117)),this['_diffRootsAttributes']=new Map(_0x4b2b33(_0x1a772c)),_0x4ff946)){const _0x1fcb0e=this['_revisionId'];this['_idsRoots']['set'](_0x3b0785,this['_makeIdsRoot'](_0x772117)),this['_baseIdsRoots']['set'](_0x3b0785,this['_makeIdsRoot'](_0x772117,_0x1fcb0e));}this['_startingRevisionId']=this['_revisionId'],this['_diffRoots']['set']('$graveyard',q(this['_baseRoots']['get']('$graveyard'))),_0x4ff946&&this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](this['_baseRoots']['get']('$graveyard')));for(const [_0x28874e,_0x2e1124]of _0x5c5a9d){const _0x477d05=this['_baseRoots']['get'](_0x2e1124['rootName']),_0x1e3175=this['_diffRoots']['get'](_0x2e1124['rootName']),_0x3bedfe=new vt(this['_fixPosition'](_0x2e1124['start'],_0x477d05),this['_fixPosition'](_0x2e1124['end'],_0x477d05)),_0x34f677=this['_fixRange'](_0x3bedfe,_0x1e3175);_0x477d05['markers']['set'](_0x28874e,_0x3bedfe),this['_markers']['set'](_0x28874e,_0x34f677);}this['_applyOperations'](_0x2dfe2e,_0x380a90,_0x4ff946);}['_applyOperations'](_0x279013,_0x2ad543,_0x371cee){for(const _0x30a106 of this['source']['getOperations'](_0x279013,_0x2ad543))this['_handleOperation'](_0x30a106,_0x371cee);for(const _0x3d18a6 of this['_diffRoots']['values']())_0x3d18a6['markers']['clear']();for(const [_0xc1bbb,_0x72682f]of this['_markers']){this['_diffRoots']['get'](_0x72682f['root']['rootName'])['markers']['set'](_0xc1bbb,_0x72682f['clone']());}const _0x3f329b=new Map(),_0x6d303f=new Map();for(const [_0x43969c,_0x550df6]of this['_diffRoots'])_0x3f329b['set'](_0x43969c,q(_0x550df6)),_0x6d303f['set'](_0x43969c,this['_diffRootsAttributes']['get'](_0x43969c));this['_saveMetaData'](_0x2ad543,_0x3f329b,this['_markers'],_0x6d303f);}['_getPreviousFrom'](_0x517c9d){const _0x3470d3=Array['from'](this['_savedMetaData']['keys']());_0x3470d3['sort']((_0x236131,_0x46b958)=>_0x236131-_0x46b958),_0x3470d3['reverse']();for(const _0x46114e of _0x3470d3)if(_0x46114e<_0x517c9d)return _0x46114e;return Number['NEGATIVE_INFINITY'];}['_copyMarkers'](_0x475f24,_0x1a079d){const _0x7ee52b=Array['from'](_0x1a079d['markers'])['map'](([_0x52b2be,_0xaa54d5])=>[_0x52b2be,this['_fixRange'](_0xaa54d5,_0x475f24)]);_0x475f24['markers']=new Map(_0x7ee52b);}['_transformMarkers'](_0x4d9d04){for(const _0x25b545 of this['_markers']['values']()){const _0x3e5203=_0x25b545['getTransformedByOperation'](_0x4d9d04),_0x5b3f18=vt['_createFromRanges'](_0x3e5203);_0x25b545['start']=_0x5b3f18['start'],_0x25b545['end']=_0x5b3f18['end'];}}['_handleOperation'](_0x2060e3,_0x536479){if('addRoot'==_0x2060e3['type']||'detachRoot'==_0x2060e3['type'])return void this['_handleRootOperation'](_0x2060e3,_0x536479);if('insert'==_0x2060e3['type']){const _0x2e67c2=_0x2060e3['position']['root']['rootName'];this['_diffRoots']['has'](_0x2e67c2)||(this['_diffRoots']['set'](_0x2e67c2,G(_0x2e67c2,!0x0)),this['_diffRootsAttributes']['set'](_0x2e67c2,{}),_0x536479&&this['_idsRoots']['set'](_0x2e67c2,G(_0x2e67c2,!0x0)));}else{if('addRootAttribute'==_0x2060e3['type']||'removeRootAttribute'==_0x2060e3['type']||'changeRootAttribute'==_0x2060e3['type'])return void this['_handleRootAttributeOperation'](_0x2060e3);}const _0x27caa3=this['_cloneOperation'](_0x2060e3,this['_diffRoots']);if('marker'!==_0x2060e3['type']&&(_0x27caa3['_execute'](),this['_transformMarkers'](_0x27caa3)),_0x536479)switch(_0x27caa3['type']){case'insert':this['_handleInsertOperation'](_0x2060e3);break;case'move':case'remove':case'reinsert':this['_handleMoveOperation'](_0x2060e3);break;case'merge':this['_handleMergeOperation'](_0x2060e3);break;case'split':this['_handleSplitOperation'](_0x2060e3);break;case'marker':this['_handleMarkerOperation'](_0x2060e3);}}['_cloneOperation'](_0x147c4b,_0x5d5d15){const _0x344f85=_0x147c4b['clone']();return _0x344f85['_authorId']=_0x147c4b['_authorId'],this['_fixOperation'](_0x344f85,_0x5d5d15),_0x344f85;}['_getBaseVids'](_0x1a37a3){return _0x1a37a3['map'](_0x2047e9=>{const _0xe6f425=this['_getVidAttributeName'](_0x2047e9);return Number(_0x2047e9['item']['getAttribute'](_0xe6f425));});}['_generateTape'](_0x59ce6d,_0x34a495){if(_0x59ce6d['is']('element','$text'))_0x34a495['push']({'item':_0x59ce6d,'type':'text'});else{_0x59ce6d['is']('element')&&_0x34a495['push']({'item':_0x59ce6d,'type':'elementStart'});for(const _0x4fcc51 of _0x59ce6d['getChildren']())this['_generateTape'](_0x4fcc51,_0x34a495);_0x59ce6d['is']('element')&&_0x34a495['push']({'item':_0x59ce6d,'type':'elementEnd'});}return _0x34a495;}['_getState'](){const _0x2d807b=new Map(this['_touched']),_0x4b867b=new Map(_0x2d807b),_0x275d67=new Map(),_0x2a48c2={'insertions':{},'deletions':{}},_0x18b2ec={'insertions':{},'deletions':{}},_0x102457=new Map(),_0x4caf19=new Set([...this['_baseRoots']['keys'](),...this['_diffRoots']['keys']()]);_0x4caf19['delete']('$graveyard');for(const _0x18ffec of _0x4caf19){const _0x1952a9=this['_diffRoots']['get'](_0x18ffec)||G(_0x18ffec,!0x1),_0x2fe92b=this['_baseRoots']['get'](_0x18ffec)||G(_0x18ffec,!0x1);_0x1952a9['isAttached']()||_0x2fe92b['isAttached']()?(_0x2a48c2['insertions'][_0x18ffec]=q(_0x1952a9),_0x2a48c2['deletions'][_0x18ffec]=q(_0x2fe92b),this['_copyMarkers'](_0x2a48c2['deletions'][_0x18ffec],_0x2fe92b),this['_copyMarkers'](_0x2a48c2['insertions'][_0x18ffec],_0x1952a9),_0x18b2ec['insertions'][_0x18ffec]=this['_generateTape'](this['_idsRoots']['get'](_0x18ffec),[]),_0x18b2ec['deletions'][_0x18ffec]=this['_generateTape'](this['_baseIdsRoots']['get'](_0x18ffec)||G(_0x18ffec,!0x1),[])):_0x4caf19['delete'](_0x18ffec);}for(const _0x456695 of _0x4caf19){const _0x195854=_0x18b2ec['insertions'][_0x456695];for(const _0x2e8d3f of _0x195854){const _0x5e6a25=this['_getVidAttributeName'](_0x2e8d3f),_0x59317c=_0x2e8d3f['item']['getAttribute'](_0x5e6a25);_0x4b867b['delete'](_0x59317c),_0x59317c>=this['_startingRevisionId']&&_0x275d67['set'](_0x59317c,_0x2d807b['get'](_0x59317c));}}for(const _0x9cb3b1 of _0x4caf19){const _0x3968ba=_0x18b2ec['insertions'][_0x9cb3b1],_0x47eb90=this['_getBaseVids'](_0x18b2ec['deletions'][_0x9cb3b1]);let _0x230328=0x0;for(const _0x552be7 of _0x3968ba){const _0xf262a4=this['_getVidAttributeName'](_0x552be7),_0xa7a408=_0x552be7['item']['getAttribute'](_0xf262a4);if(!_0x275d67['has'](_0xa7a408)&&!_0x102457['has'](_0xa7a408)){if(_0x4b867b['has'](_0xa7a408))_0x230328++;else{if(_0xa7a408!=_0x47eb90[_0x230328]){const _0x25e6ad=_0x2d807b['get'](_0xa7a408)||_0x2d807b['get'](_0x47eb90[_0x230328]);for(;_0xa7a408!=_0x47eb90[_0x230328];)_0x4b867b['has'](_0x47eb90[_0x230328])||(_0x102457['set'](_0x47eb90[_0x230328],_0x25e6ad),_0x2d807b['set'](_0x47eb90[_0x230328],_0x25e6ad)),_0x230328++;}_0x230328++;}}}}for(const _0x433471 of _0x4caf19){const _0xd16cdd=_0x18b2ec['insertions'][_0x433471];for(const _0x10c5de of _0xd16cdd){const _0x238bfb=this['_getVidAttributeName'](_0x10c5de),_0x16f542=_0x10c5de['item']['getAttribute'](_0x238bfb);if(_0x102457['has'](_0x16f542)){const _0x54c769=_0x102457['get'](_0x16f542);_0x4b867b['has'](_0x16f542)||_0x4b867b['set'](_0x16f542,{..._0x54c769}),_0x275d67['set'](_0x16f542,{..._0x54c769});}}}for(const _0x5313aa of _0x4b867b['keys']())_0x5313aa>=this['_startingRevisionId']&&_0x4b867b['delete'](_0x5313aa);const _0x16c37b=new Map();for(const _0x250d84 of _0x4caf19){let _0xc63e75=_0x18b2ec['insertions'][_0x250d84];for(const _0x1b4fcf of _0xc63e75)if(_0x1b4fcf['item']['is']('element','tableCell')){const _0x4b6ab7=this['_getVidAttributeName'](_0x1b4fcf),_0xc8dcf=_0x1b4fcf['item']['getAttribute'](_0x4b6ab7);if(_0x275d67['has'](_0xc8dcf)){const _0x499b89=_0x1b4fcf['item']['parent']['parent']['getAttribute']('vid_start'),_0x4bf50d=_0x16c37b['get'](_0x499b89)||new Set();_0x4bf50d['add'](_0x275d67['get'](_0xc8dcf)['userId']),_0x16c37b['set'](_0x499b89,_0x4bf50d);}}_0xc63e75=_0x18b2ec['deletions'][_0x250d84];for(const _0x4c5283 of _0xc63e75)if(_0x4c5283['item']['is']('element','tableCell')){const _0x1d4d17=this['_getVidAttributeName'](_0x4c5283),_0x5b8efb=_0x4c5283['item']['getAttribute'](_0x1d4d17);if(_0x4b867b['has'](_0x5b8efb)){const _0x45f62e=_0x4c5283['item']['parent']['parent']['getAttribute']('vid_start'),_0x16f6c8=_0x16c37b['get'](_0x45f62e)||new Set();_0x16f6c8['add'](_0x4b867b['get'](_0x5b8efb)['userId']),_0x16c37b['set'](_0x45f62e,_0x16f6c8);}}for(const _0x14dec1 of _0x16c37b['keys']())(_0x275d67['has'](_0x14dec1)||_0x4b867b['has'](_0x14dec1))&&_0x16c37b['delete'](_0x14dec1);}for(const _0xb38a2d of _0x4caf19){const _0x522b99=_0x18b2ec['insertions'][_0xb38a2d];let _0x16b764=null,_0x2866e4=null;for(const _0x47c34e of _0x522b99){const _0x20f5a0=this['_getVidAttributeName'](_0x47c34e),_0x20e791=_0x47c34e['item']['getAttribute'](_0x20f5a0),_0x4d093b=_0x16c37b['get'](_0x20e791);_0x4d093b&&'elementStart'==_0x47c34e['type']&&(_0x16b764=Array['from'](_0x4d093b)[0x0],_0x2866e4=_0x47c34e['item']['getAttribute']('vid_end')),_0x16b764&&(_0x4b867b['set'](_0x20e791,{'userId':_0x16b764}),_0x275d67['set'](_0x20e791,{'userId':_0x16b764})),_0x20e791==_0x2866e4&&(_0x16b764=null,_0x2866e4=null);}}const _0x5a238f={},_0x4598c3=new Set();for(const _0x5b1c2e of _0x4caf19){const _0x237d35=_0x2a48c2['deletions'][_0x5b1c2e],_0x450b38=_0x2a48c2['insertions'][_0x5b1c2e];for(const {userId:_0x2e98d0}of this['_touchedMarkers']['values']())null!==_0x2e98d0&&_0x4598c3['add'](_0x2e98d0);for(const {userId:_0x3bbded}of this['_touchedRoots']['values']())null!==_0x3bbded&&_0x4598c3['add'](_0x3bbded);this['_markChanges'](_0x450b38,_0x18b2ec['insertions'][_0x5b1c2e],_0x275d67,'insertion',_0x4598c3),this['_markChanges'](_0x237d35,_0x18b2ec['deletions'][_0x5b1c2e],_0x4b867b,'deletion',_0x4598c3),_0x5a238f[_0x5b1c2e]={'insertions':this['_prepareViewToSave'](_0x450b38),'deletions':this['_prepareViewToSave'](_0x237d35),'attachChange':this['_touchedRoots']['get'](_0x5b1c2e)||null,'attributesBefore':_0x4b2b33(this['_baseRootsAttributes']['get'](_0x5b1c2e))||{},'attributesAfter':_0x4b2b33(this['_diffRootsAttributes']['get'](_0x5b1c2e))};}return{'diffData':_0x5a238f,'authorsIds':Array['from'](_0x4598c3)};}['_processRootBeforeSave'](_0x535b53){for(const [,_0x13a7c5]of _0x535b53['markers']){const _0x537a23=_0x13a7c5['start']['getAncestors']()['filter'](_0x13ae61=>'tableCell'==_0x13ae61['name']);for(const _0x360d2a of _0x537a23)0x1==_0x360d2a['childCount']&&_0x360d2a['getChild'](0x0)['is']('element','paragraph')&&_0x360d2a['getChild'](0x0)['_setAttribute']('keepParagraph',!0x0);}}['_prepareViewToSave'](_0x4fdb0c){this['_processRootBeforeSave'](_0x4fdb0c);const _0x2371cd=this['editor']['data']['toView'](_0x4fdb0c,{}),_0x15e442=Array['from'](_0x2371cd['getChildren']())['map'](_0x24db87=>this['_getViewJson'](_0x24db87));return JSON['stringify'](_0x15e442);}['_getViewJson'](_0x529c38){if(_0x529c38['is']('$text'))return _0x529c38['data'];{const _0x37493d=_0x529c38;return{'type':Object['keys'](T)['find'](_0x224131=>_0x529c38 instanceof T[_0x224131]),'name':_0x37493d['name'],'attributes':Array['from'](_0x37493d['getAttributes']()),'children':Array['from'](_0x37493d['getChildren']())['map'](_0x242fce=>this['_getViewJson'](_0x242fce))};}}['_markChanges'](_0x294a96,_0x342b40,_0x24b587,_0x17042e,_0x3c9d12){let _0x2ca388=null,_0xae4f31=null,_0xb80308=0x0;const _0x2dce03=this['editor']['model'];for(let _0x454473=0x0;_0x454473<_0x342b40['length'];_0x454473++){const _0x18c91e=this['_getVidAttributeName'](_0x342b40[_0x454473]),_0x34e660=_0x342b40[_0x454473]['item']['getAttribute'](_0x18c91e),_0x54c450=_0x24b587['get'](_0x34e660),_0x4c8562=_0x454473==_0x342b40['length']-0x1;(!_0x2ca388&&_0x54c450&&(_0x2ca388=_0x54c450,_0xae4f31=_0x342b40[_0x454473]),_0x2ca388&&(!_0x54c450||_0x54c450['userId']!=_0x2ca388['userId']))&&(_0x1442d2(_0x54c450,L(_0xae4f31,_0x294a96,_0x2dce03),L(_0x342b40[_0x454473],_0x294a96,_0x2dce03)),_0x2ca388=_0x54c450||null,_0xae4f31=_0x54c450?_0x342b40[_0x454473]:null),_0x2ca388&&_0x4c8562&&_0x1442d2(_0x54c450,L(_0xae4f31,_0x294a96,_0x2dce03),W(_0x342b40[_0x454473],_0x294a96,_0x2dce03));}function _0x1442d2(_0x4c2047,_0x2ac5b0,_0x2d326f){const _0x51520c=_0x2ca388['userId'],_0x4eb703='revision:'+_0x17042e+':'+_0x51520c+':'+_0xb80308++,_0x192368=_0x2dce03['createRange'](_0x2ac5b0,_0x2d326f);_0x294a96['markers']['set'](_0x4eb703,_0x192368),null!==_0x51520c&&_0x3c9d12['add'](_0x51520c);}}['_getVidAttributeName'](_0x5e4f6e){switch(_0x5e4f6e['type']){case'elementStart':return'vid_start';case'elementEnd':return'vid_end';default:return'vid';}}['_fixOperation'](_0x14eead,_0x4c025d){_0x14eead['baseVersion']=null;for(const _0x84566c in _0x14eead){const _0x2c4285=_0x14eead[_0x84566c];if(_0x2c4285 instanceof gt){const _0x5e9a8b=_0x4c025d['get'](_0x2c4285['root']['rootName']);_0x14eead[_0x84566c]=this['_fixPosition'](_0x2c4285,_0x5e9a8b);}if(_0x2c4285 instanceof vt){const _0x259458=_0x4c025d['get'](_0x2c4285['root']['rootName']);_0x14eead[_0x84566c]=this['_fixRange'](_0x2c4285,_0x259458);}'root'===_0x84566c&&(_0x14eead['root']=_0x4c025d['get'](_0x14eead['root']['rootName']));}}['_fixRange'](_0x4c47a4,_0x341785){return this['editor']['model']['createRange'](this['_fixPosition'](_0x4c47a4['start'],_0x341785),this['_fixPosition'](_0x4c47a4['end'],_0x341785));}['_fixPosition'](_0x347239,_0x144b7a){return this['editor']['model']['createPositionFromPath'](_0x144b7a,_0x347239['path'],_0x347239['stickiness']);}['_handleInsertOperation'](_0x4050f7){const _0x4948e5=this['_idsRoots']['get'](_0x4050f7['position']['root']['rootName']),_0x3db10c=this['_fixPosition'](_0x4050f7['position'],_0x4948e5),_0x20c6ac=null===_0x4050f7['_authorId']?null:_0x4050f7['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x1b3bd4=_0x3db10c['parent'],_0x2b2030=this['_revisionId'],_0x20b42f=[];for(const _0x39ef51 of _0x4050f7['nodes'])if(_0x39ef51['is']('element'))_0x20b42f['push'](this['_makeIdsRoot'](_0x39ef51));else{for(let _0x386c80=0x0;_0x386c80<_0x39ef51['offsetSize'];_0x386c80++)_0x20b42f['push'](new ft('$text',{'vid':this['_revisionId']++}));}const _0x15e0eb=this['_revisionId'];for(let _0x3b1b18=_0x2b2030;_0x3b1b18<_0x15e0eb;_0x3b1b18++)this['_touched']['set'](_0x3b1b18,{'userId':_0x20c6ac});_0x1b3bd4['_insertChild'](_0x3db10c['offset'],_0x20b42f);}['_handleMoveOperation'](_0x4a05e2){(_0x4a05e2=this['_cloneOperation'](_0x4a05e2,this['_idsRoots']))['_execute']();const _0x432fcf=null===_0x4a05e2['_authorId']?null:_0x4a05e2['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x53d928=_0x4a05e2['getMovedRangeStart'](),_0x560069=_0x53d928['parent'],_0x1baba2=_0x53d928['offset'];!function _0x7e80dc(_0x4029bb,_0x36b3d1,_0x193772,_0x55c0fc){for(let _0x596f04=_0x193772;_0x596f04<_0x55c0fc;_0x596f04++){const _0x262076=_0x36b3d1['getChild'](_0x596f04);_0x262076['is']('element','$text')?_0x4029bb['set'](_0x262076['getAttribute']('vid'),{'userId':_0x432fcf}):(_0x4029bb['set'](_0x262076['getAttribute']('vid_start'),{'userId':_0x432fcf}),_0x7e80dc(_0x4029bb,_0x262076,0x0,_0x262076['childCount']),_0x4029bb['set'](_0x262076['getAttribute']('vid_end'),{'userId':_0x432fcf}));}}(this['_touched'],_0x560069,_0x1baba2,_0x1baba2+_0x4a05e2['howMany']);}['_handleMergeOperation'](_0x386f92){const _0x3bea2f=null===(_0x386f92=this['_cloneOperation'](_0x386f92,this['_idsRoots']))['_authorId']?null:_0x386f92['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x4641ac=_0x386f92['targetPosition']['parent'],_0x345ced=_0x386f92['sourcePosition']['parent'],_0x1c2a24=_0x4641ac['getAttribute']('vid_end'),_0x4d80ac=_0x345ced['getAttribute']('vid_start');_0x4641ac['_setAttribute']('vid_end',_0x345ced['getAttribute']('vid_end')),_0x345ced['_setAttribute']('vid_end',_0x1c2a24),this['_touched']['set'](_0x4d80ac,{'userId':_0x3bea2f}),this['_touched']['set'](_0x1c2a24,{'userId':_0x3bea2f}),_0x386f92['_execute']();}['_handleSplitOperation'](_0xd8b944){const _0x5ae6e3=null===(_0xd8b944=this['_cloneOperation'](_0xd8b944,this['_idsRoots']))['_authorId']?null:_0xd8b944['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x25ba9a=_0xd8b944['graveyardPosition'],_0x10a8cd=_0xd8b944['splitPosition']['parent'];_0xd8b944['_execute']();const _0x2d21a9=_0x10a8cd['getAttribute']('vid_end'),_0x1d720d=_0xd8b944['insertionPosition']['nodeAfter'];if(_0x25ba9a){const _0x57c64a=_0x1d720d['getAttribute']('vid_end'),_0x1f622d=_0x10a8cd['getAttribute']('vid_end');_0x10a8cd['_setAttribute']('vid_end',_0x57c64a),_0x1d720d['_setAttribute']('vid_end',_0x1f622d),this['_touched']['set'](_0x10a8cd['getAttribute']('vid_end'),{'userId':_0x5ae6e3}),this['_touched']['set'](_0x1d720d['getAttribute']('vid_start'),{'userId':_0x5ae6e3});}else{const _0x214f76=this['_revisionId']++,_0x4142f4=this['_revisionId']++;_0x10a8cd['_setAttribute']('vid_end',_0x214f76),_0x1d720d['_setAttribute']('vid_start',_0x4142f4),_0x1d720d['_setAttribute']('vid_end',_0x2d21a9),this['_touched']['set'](_0x214f76,{'userId':_0x5ae6e3}),this['_touched']['set'](_0x4142f4,{'userId':_0x5ae6e3});}}['_handleMarkerOperation'](_0x4c3c24){if(!_0x4c3c24['affectsData'])return;const _0x541598=(_0x4c3c24=this['_cloneOperation'](_0x4c3c24,this['_diffRoots']))['oldRange']?_0x4c3c24['oldRange']['root']:null,_0x4ab592=_0x4c3c24['newRange']?_0x4c3c24['newRange']['root']:null;_0x541598&&this['_markers']['delete'](_0x4c3c24['name']),_0x4ab592&&this['_markers']['set'](_0x4c3c24['name'],_0x4c3c24['newRange']['clone']());const _0xd29e66=null===_0x4c3c24['_authorId']?null:_0x4c3c24['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x271926=_0x4c3c24['name'];if(!this['_touchedMarkers']['has'](_0x271926))return void this['_touchedMarkers']['set'](_0x271926,{'range':_0x4c3c24['oldRange'],'userId':_0xd29e66});const _0x53baf4=this['_touchedMarkers']['get'](_0x271926),_0x1f419d=_0x53baf4['range'],_0x1eb74f=_0x4c3c24['newRange'];null==_0x1f419d&&null==_0x1eb74f||_0x1f419d&&_0x1eb74f&&_0x1f419d['isEqual'](_0x1eb74f)?this['_touchedMarkers']['delete'](_0x4c3c24['name']):_0x53baf4['userId']=_0xd29e66;}['_handleRootOperation'](_0x36d880,_0x1bc134){this['_diffRoots']['has'](_0x36d880['rootName'])?this['_diffRoots']['get'](_0x36d880['rootName'])['_isAttached']=_0x36d880['isAdd']:(this['_diffRoots']['set'](_0x36d880['rootName'],G(_0x36d880['rootName'],!0x0)),this['_diffRootsAttributes']['set'](_0x36d880['rootName'],{}),_0x1bc134&&this['_idsRoots']['set'](_0x36d880['rootName'],G(_0x36d880['rootName'],!0x0)));const _0x1c859d=null===_0x36d880['_authorId']?null:_0x36d880['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x1eff91=this['_touchedRoots']['get'](_0x36d880['rootName']);_0x1eff91&&_0x1eff91['userId']===_0x1c859d?this['_touchedRoots']['delete'](_0x36d880['rootName']):this['_touchedRoots']['set'](_0x36d880['rootName'],{'userId':_0x1c859d,'isAttached':_0x36d880['isAdd']});}['_handleRootAttributeOperation'](_0x51559f){const _0x437aaa=this['_diffRootsAttributes']['get'](_0x51559f['root']['rootName']);null===_0x51559f['newValue']?delete _0x437aaa[_0x51559f['key']]:_0x437aaa[_0x51559f['key']]=_0x51559f['newValue'];}}function q(_0x339f61){const _0x5db088=G(_0x339f61['rootName'],_0x339f61['isAttached']());for(const _0x25ffeb of _0x339f61['getChildren']()){const _0x45c715=_0x25ffeb['_clone'](!0x0);_0x5db088['_appendChild'](_0x45c715);}return _0x5db088;}function G(_0x1989d8,_0x590412=!0x0){const _0x5940a9=new wt();return _0x5940a9['rootName']=_0x1989d8,_0x5940a9['_isAttached']=_0x590412,_0x5940a9['isAttached']=()=>_0x5940a9['_isAttached'],_0x5940a9;}function L(_0x3e33e4,_0x713131,_0x969fd2){const _0x1a20b4='elementEnd'==_0x3e33e4['type']?_0x969fd2['createPositionAt'](_0x3e33e4['item'],'end'):_0x969fd2['createPositionBefore'](_0x3e33e4['item']);return _0x969fd2['createPositionFromPath'](_0x713131,_0x1a20b4['path'],_0x1a20b4['stickiness']);}function W(_0x4244be,_0x4d0535,_0x373061){const _0x5c6cbc='elementStart'==_0x4244be['type']?_0x373061['createPositionAt'](_0x4244be['item'],0x0):_0x373061['createPositionAfter'](_0x4244be['item']);return _0x373061['createPositionFromPath'](_0x4d0535,_0x5c6cbc['path'],_0x5c6cbc['stickiness']);}class ns extends _0x425e66{['focusTracker'];['keystrokes'];['revisionNameInputView'];constructor(_0x1f0f5c,_0x1e3a49){super(_0x1f0f5c),this['focusTracker']=new _0x5a3061(),this['keystrokes']=new _0x130f92(),this['set']('revisionNameInputValue',''),this['revisionNameInputView']=this['_createRevisionNameInput'](_0x1e3a49),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'](),_0x4eafa2({'view':this}),this['focusTracker']['add'](this['revisionNameInputView']['element']),this['keystrokes']['listenTo'](this['element']);const _0x2c2985=_0x302188=>_0x302188['stopPropagation']();this['keystrokes']['set']('arrowright',_0x2c2985),this['keystrokes']['set']('arrowleft',_0x2c2985),this['keystrokes']['set']('arrowup',_0x2c2985),this['keystrokes']['set']('arrowdown',_0x2c2985);}['focus'](){this['revisionNameInputView']['focus']();}get['revisionName'](){return this['revisionNameInputView']['fieldView']['element']['value']['trim']();}set['revisionName'](_0x46c835){this['revisionNameInputView']['fieldView']['element']['value']=_0x46c835['trim']();}['reset'](){this['revisionNameInputView']['fieldView']['element']['value']='',this['revisionNameInputView']['errorText']=null;}['_createRevisionNameInput'](_0x2b29f0){const _0x4e101a=new at(this['locale'],_0x2317f9),_0x5da7b0=_0x4e101a['fieldView'];_0x5da7b0['extendTemplate']({'attributes':{'maxlength':'220'}});let _0x303d79=y(this['locale'],'Name\x20of\x20the\x20revision');return!_0x2b29f0&&(_0x303d79+='\x20('+y(this['locale'],'optional')+')'),(_0x4e101a['label']=_0x303d79,_0x5da7b0['on']('input',()=>{this['revisionNameInputValue']=_0x5da7b0['element']['value']['trim']();}),_0x4e101a);}}class u extends _0x1eb33f{static get['pluginName'](){return'RevisionHistoryUI';}static get['requires'](){return[l];}['_saveRevisionFormView'];['init'](){const _0x415c78=this['editor'],_0x2a3886=_0x415c78['plugins']['get']('RevisionTracker');_0x415c78['ui']['componentFactory']['add']('revisionHistory',_0x439f7b=>{const _0x3a5ea4=_0x27620d(_0x439f7b),_0xec2a49=_0x3a5ea4['panelView']['children'],_0x24371a=new te(_0x439f7b),_0x533cfd=new _0x5441be(_0x439f7b),_0x477f6d=new _0x2799ee(_0x439f7b),_0x3cd456=new _0x5441be(_0x439f7b),_0x16c4e0=new _0x2799ee(_0x439f7b);return _0x3a5ea4['bind']('isEnabled')['to'](_0x2a3886,'isReady',_0x2a3886,'isEnabled',_0x415c78,'isReadOnly',(_0x3adcc1,_0x1787f0,_0x498a51)=>_0x3adcc1&&_0x1787f0&&!_0x498a51),_0x3a5ea4['buttonView']['set']({'icon':_0xff5272['history'],'label':y(_0x439f7b,'Revision\x20history'),'tooltip':!0x0}),_0x477f6d['set']({'label':y(_0x439f7b,'Save\x20current\x20revision'),'withText':!0x0,'role':'menuitem'}),_0x477f6d['bind']('isEnabled')['to'](_0x2a3886,'isReady',_0x2a3886,'isEnabled',_0x415c78,'isReadOnly',(_0x1e0f06,_0x3d2a05,_0x2d503e)=>_0x1e0f06&&_0x3d2a05&&!_0x2d503e),_0x477f6d['on']('execute',()=>this['_showDialog']()),_0x16c4e0['set']({'label':y(_0x439f7b,'Open\x20revision\x20history'),'withText':!0x0,'role':'menuitem'}),_0x16c4e0['bind']('isEnabled')['to'](_0x2a3886,'isReady',_0x415c78,'isReadOnly',(_0x46c4e3,_0x1bc873)=>_0x46c4e3&&!_0x1bc873),_0x16c4e0['on']('execute',()=>{_0x415c78['config']['get']('revisionHistory')['showRevisionViewerCallback'](),_0x3a5ea4['isOpen']=!0x1,_0x415c78['editing']['view']['focus']();}),_0x533cfd['children']['add'](_0x477f6d),_0x3cd456['children']['add'](_0x16c4e0),_0x24371a['role']='menu',_0x24371a['items']['addMany']([_0x533cfd,_0x3cd456]),_0xec2a49['add'](_0x24371a),_0x3a5ea4;}),_0x415c78['ui']['componentFactory']['add']('menuBar:revisionHistory',()=>this['_registerMenuComponent']());}['_registerMenuComponent'](){const _0x3a04d7=this['editor'],_0x30cb6e=_0x3a04d7['locale'],_0x47fe1b=new _0x1cc6d7(_0x30cb6e),_0x265913=new _0x349fc6(_0x30cb6e);_0x47fe1b['buttonView']['set']({'icon':_0xff5272['history'],'label':y(_0x30cb6e,'Revision\x20history')});const _0x39eafb=new _0xd6e87f(_0x30cb6e,_0x47fe1b),_0x1649b9=new _0x749e8e(_0x30cb6e);_0x1649b9['set']({'label':y(_0x30cb6e,'Save\x20current\x20revision')}),_0x1649b9['delegate']('execute')['to'](_0x47fe1b),_0x1649b9['on']('execute',()=>{this['_showDialog']();}),_0x39eafb['children']['add'](_0x1649b9),_0x265913['items']['add'](_0x39eafb);const _0x595f08=new _0xd6e87f(_0x30cb6e,_0x47fe1b),_0x3ff4e1=new _0x749e8e(_0x30cb6e);return _0x3ff4e1['set']({'label':y(_0x30cb6e,'Open\x20revision\x20history')}),_0x3ff4e1['delegate']('execute')['to'](_0x47fe1b),_0x3ff4e1['on']('execute',()=>{_0x3a04d7['config']['get']('revisionHistory')['showRevisionViewerCallback']();}),_0x595f08['children']['add'](_0x3ff4e1),_0x265913['items']['add'](_0x595f08),_0x47fe1b['panelView']['children']['add'](_0x265913),_0x47fe1b;}['_showDialog'](){const _0x6e9ac7=this['editor'],_0x4ff614=_0x6e9ac7['locale'],t=_0x4ff614['t'],_0x2eb388=_0x6e9ac7['plugins']['get']('Dialog'),_0x38d4b1=_0x6e9ac7['plugins']['get']('RevisionTracker');function _0xdb7b30(_0x126259){_0x6e9ac7['config']['get']('revisionHistory.requireRevisionName')&&''===_0x126259['revisionName']?_0x126259['revisionNameInputView']['errorText']=y(_0x4ff614,'The\x20revision\x20name\x20cannot\x20be\x20empty.'):(_0x6e9ac7['plugins']['get'](l)['saveRevision']({'name':_0x126259['revisionName']}),_0x2eb388['hide']());}this['_saveRevisionFormView']||(this['_createSaveRevisionFormView'](),this['_saveRevisionFormView']['on']('submit',()=>_0xdb7b30(this['_saveRevisionFormView']))),this['_saveRevisionFormView']['reset'](),_0x2eb388['show']({'id':'revisionSave','title':y(_0x4ff614,'Save\x20current\x20revision'),'isModal':!0x0,'content':this['_saveRevisionFormView'],'actionButtons':[{'label':t('Cancel'),'withText':!0x0,'onExecute':()=>_0x2eb388['hide']()},{'label':t('Accept'),'class':'ck-button-action','withText':!0x0,'onCreate'(_0x19d1d6){_0x19d1d6['bind']('isEnabled')['to'](_0x38d4b1,'isReady',_0x38d4b1,'isEnabled',_0x6e9ac7,'isReadOnly',(_0x20ab88,_0x55232e,_0x521d32)=>_0x20ab88&&_0x55232e&&!_0x521d32);},'onExecute':()=>_0xdb7b30(this['_saveRevisionFormView'])}]});}['_createSaveRevisionFormView'](){const _0x1c084e=this['editor'],_0x466e56=_0x1c084e['locale'];this['_saveRevisionFormView']=new ns(_0x466e56,_0x1c084e['config']['get']('revisionHistory.requireRevisionName')),this['_saveRevisionFormView']['render']();}}class Z extends _0x425e66{['changeId'];['_model'];constructor(_0x3d901c,_0x11c828){super(_0x3d901c),this['_model']=_0x11c828,this['changeId']=_0x11c828['id'];const _0x49a9f8=this['bindTemplate'],_0x26f676=y(_0x3d901c,_0x11c828['data']['isSuggestion']?'Suggested\x20by':'add'==_0x11c828['type']?'Added\x20by':'Removed\x20by');this['set']('type',_0x11c828['type']),this['setTemplate']({'tag':'div','attributes':{'class':['ck-annotation','ck-revision-change',_0x49a9f8['to']('type',_0x456c6f=>'ck-revision-change__'+_0x456c6f)],'tabindex':-0x1},'children':[{'tag':'span','children':[{'tag':'span','attributes':{'class':['ck-revision-change__label']},'children':[{'text':_0x26f676}]},{'text':'\x20'+_0x11c828['author']['name']}]}]});}['focus'](){this['element']['focus']();}}class r extends/* #__PURE__ -- @preserve */
25
- _0x1492a9(){['id'];['author'];['type'];['data'];['rootName'];constructor(_0x5327bf){super(),this['id']=_0x5327bf['id']||_0xf10109(),this['author']=_0x5327bf['author'],this['type']=_0x5327bf['type'],this['data']=_0x5327bf['data']||{},this['rootName']=_0x5327bf['rootName'],this['set']('createdAt',_0x5327bf['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(_0x26e43a,_0x44a20c){this['newRevisionId']=_0x26e43a,this['oldRevisionId']=_0x44a20c,this['changes']=new _0x2c0039();}['_setChanges'](_0x4c31be){for(const _0x2323b3 of _0x4c31be)this['changes']['add'](_0x2323b3);}}const tt={'c':_0x4a87a7,'a':_0x317359,'e':_0x5827ff,'r':_0xf9a273,'u':_0x12d1b7};class d extends _0x1eb33f{['repository'];['adapter'];['_activeViewTarget'];['_changeView'];['_changeIdToChange'];['_balloon'];static get['pluginName'](){return'RevisionViewer';}static get['requires'](){return[_0x152803,_0x19d89d,A];}constructor(_0x3ca117){super(_0x3ca117),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',(_0x39e00b,_0x26a5ec,_0x5a76a7)=>{this['activeChange']=null,this['activeView']=null,this['editor']['editing']['view']['change'](_0x4e994f=>{for(const _0x5dcd75 of this['editor']['editing']['view']['document']['roots'])_0x5a76a7?_0x4e994f['removeClass']('ck-editor__editable__overlay',_0x5dcd75):_0x4e994f['addClass']('ck-editor__editable__overlay',_0x5dcd75);});}),this['bind']('isNavigationMode')['to'](this,'activeChange',_0x28edc1=>null!==_0x28edc1),this['bind']('currentChangeNumber')['to'](this,'isReady',this,'diff',this,'activeChange',(_0x3ea9df,_0x2597ee,_0x431ea9)=>_0x3ea9df&&_0x431ea9?_0x2597ee['changes']['getIndex'](_0x431ea9):0x0),this['bind']('numberOfChanges')['to'](this,'isReady',this,'diff',(_0x35f2a9,_0x139b90)=>_0x35f2a9?_0x139b90['changes']['length']:0x0),this['_changeView']=null,this['_changeIdToChange']=new Map(),this['adapter']=null,this['_balloon']=this['editor']['plugins']['get'](_0x19d89d);}['init'](){const _0x167f8a=this['editor'],_0x2a3a9b=new yt(_0x167f8a,{'direction':'backward'}),_0x1b885a=new yt(_0x167f8a,{'direction':'forward'});(_0x167f8a['commands']['add']('showPreviousChange',_0x2a3a9b),_0x167f8a['commands']['add']('showNextChange',_0x1b885a),_0x167f8a['commands']['add']('restoreRevision',new bt(_0x167f8a)),this['on']('change:numberOfChanges',()=>{_0x2a3a9b['refresh'](),_0x1b885a['refresh']();}),this['_setConversion'](),this['_initInteractions'](),_0x167f8a['enableReadOnlyMode']('revision-viewer'),_0x167f8a['plugins']['has']('WidgetToolbarRepository'))&&_0x167f8a['plugins']['get']('WidgetToolbarRepository')['forceDisabled']('revision-viewer');}async['getRevisionData'](_0x1db23e){await this['loadRevisionData'](_0x1db23e);const _0x1737cc={};for(const _0x5ca916 in _0x1db23e['diffData']){if(_0x1db23e['diffData'][_0x5ca916]['attachChange']&&!_0x1db23e['diffData'][_0x5ca916]['attachChange']['isAttached'])continue;const _0x4f0ffb=this['_removeRevisionMarkers'](JSON['parse'](_0x1db23e['diffData'][_0x5ca916]['insertions'])),_0x4a84d8=this['editor']['editing']['view']['document'],_0x5533fc=new _0x13f9b3(_0x4a84d8,_0x4f0ffb['map'](_0x60b764=>this['_getViewObj'](_0x60b764)));this['editor']['data']['processor']['useFillerType']('marked'),_0x1737cc[_0x5ca916]=this['editor']['data']['processor']['toData'](_0x5533fc),this['editor']['data']['processor']['useFillerType']('default');}return _0x1737cc;}async['getRevisionRootsAttributes'](_0x7f8953){await this['loadRevisionData'](_0x7f8953);const _0x5115c3={};for(const _0x1ae1f0 in _0x7f8953['diffData'])_0x7f8953['diffData'][_0x1ae1f0]['attachChange']&&!_0x7f8953['diffData'][_0x1ae1f0]['attachChange']['isAttached']||(_0x5115c3[_0x1ae1f0]=_0x7f8953['diffData'][_0x1ae1f0]['attributesAfter']||{});return _0x5115c3;}['_removeRevisionMarkers'](_0x1ed95e){return(_0x1ed95e=_0x1ed95e['filter'](_0x27a01e=>!_0x27a01e['name']||'revision-start'!==_0x27a01e['name']&&'revision-end'!==_0x27a01e['name']))['forEach'](_0x3d3287=>{'string'!=typeof _0x3d3287&&(_0x3d3287['children']=this['_removeRevisionMarkers'](_0x3d3287['children']),_0x3d3287['attributes']=_0x3d3287['attributes']['filter'](_0x441170=>!_0x441170[0x0]['startsWith']('data-revision-')));}),_0x1ed95e;}async['compare'](_0x3b1fc1,_0xd97a32,_0x3f8572=!0x1){if(!this['isEnabled'])return;const _0x3530e0=this['diff'],_0x529a49=this['repository'],_0x324deb='string'==typeof _0x3b1fc1?_0x529a49['getRevision'](_0x3b1fc1):_0x3b1fc1,_0x283a50='string'==typeof _0xd97a32?_0x529a49['getRevision'](_0xd97a32):_0xd97a32,_0x1e0b27=_0x324deb['id'],_0x3b3fa1=_0x283a50?_0x283a50['id']:null;if(!_0x3f8572&&this['diff']&&this['diff']['newRevisionId']===_0x1e0b27&&this['diff']['oldRevisionId']===_0x3b3fa1)return Promise['resolve']();this['isReady']=!0x1,this['activeView']=null,this['activeChange']=null,this['diff']=new f(_0x1e0b27,_0x3b3fa1);const _0x570353=this['_getRevisionsRange'](_0x324deb,_0x283a50,!0x0)['map'](_0x47c3e=>this['loadRevisionData'](_0x47c3e));return _0x570353['push'](new Promise(_0x55d073=>{setTimeout(_0x55d073,0x14);})),Promise['all'](_0x570353)['then'](()=>{if(!this['isEnabled'])return;this['_cleanUp']();const _0x17ea99=this['_getDiff'](_0x1e0b27,_0x3b3fa1);for(const _0xccbbf8 of _0x17ea99['changes'])this['_changeIdToChange']['set'](_0xccbbf8['id'],_0xccbbf8);this['editor']['model']['enqueueChange']({'isUndoable':!0x1},_0x20a0bc=>{for(const _0x15d79f of this['editor']['model']['document']['getRootNames']())_0x20a0bc['detachRoot'](_0x15d79f);for(const _0x25899c of Object['keys'](_0x17ea99['model'])){const _0x2dcb93=_0x20a0bc['addRoot'](_0x25899c);for(const _0x37ca71 of Object['keys'](_0x17ea99['attributes'][_0x25899c]))_0x20a0bc['setAttribute'](_0x37ca71,_0x17ea99['attributes'][_0x25899c][_0x37ca71],_0x2dcb93);_0x20a0bc['insert'](_0x17ea99['model'][_0x25899c],_0x2dcb93,0x0);}}),this['diff']['_setChanges'](this['_sortAndFilterDiffChanges'](_0x17ea99['changes'])),this['isReady']=!0x0;})['catch'](_0x132923=>{console['error'](_0x132923),this['_cleanUp'](),_0x3530e0&&(this['diff']=_0x3530e0),this['isReady']=!0x0;});}['addRevisionData'](_0x370c8f,_0x5bb039){const _0x117f9b=this['repository']['createRevision'](_0x370c8f);return _0x117f9b['on']('_update',(_0x48d315,_0x344d54,_0x23a85e)=>_0x5bb039(_0x344d54,_0x23a85e,_0x117f9b)),this['repository']['addRevision'](_0x117f9b),_0x117f9b;}['loadRevisionData'](_0x4fd25a){if(!_0x4fd25a||_0x4fd25a['diffData'])return Promise['resolve']();{const _0x5741da=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0x5741da,'revisionId':_0x4fd25a['id']})['then'](_0x4102a3=>{_0x4fd25a['_update']({'diffData':_0x4102a3['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},_0x4a91c6=>{for(const _0x2f4581 of this['editor']['model']['document']['getRootNames']())_0x4a91c6['detachRoot'](_0x2f4581);});}['_sortAndFilterDiffChanges'](_0x2a9f2f){const _0xf73a0f=[],_0x41b758=new Map();for(const _0x191a58 of this['editor']['model']['document']['getRootNames']()){const _0x25b7e0=this['editor']['editing']['view']['getDomRoot'](_0x191a58);if(!_0x25b7e0)continue;const _0x2d7224=_0x25b7e0['getClientRects']()['item'](0x0);_0x2d7224&&(_0xf73a0f['push'](_0x191a58),_0x41b758['set'](_0x191a58,_0x2d7224));}return _0xf73a0f['sort']((_0x3754f6,_0x49db2c)=>{const _0x178b04=_0x41b758['get'](_0x3754f6),_0x66c62d=_0x41b758['get'](_0x49db2c);return _0x178b04['y']-_0x66c62d['y']||_0x178b04['x']-_0x66c62d['x'];}),(_0x2a9f2f=_0x2a9f2f['filter'](_0x4f45fa=>_0xf73a0f['includes'](_0x4f45fa['rootName'])))['sort']((_0x3eb7d0,_0x3bf3ed)=>_0xf73a0f['indexOf'](_0x3eb7d0['rootName'])-_0xf73a0f['indexOf'](_0x3bf3ed['rootName'])),_0x2a9f2f;}['_makeTape'](_0x424c0b){const _0x2e8f75=Array['from'](_0x424c0b['markers'])['filter'](([_0xd24188,_0x1761b3])=>_0xd24188['startsWith']('revision:')&&!_0x1761b3['isCollapsed']),_0x4e7bca=Array['from'](this['editor']['model']['createRangeIn'](_0x424c0b)['getWalker']({'singleCharacters':!0x0}));if(0x0!=_0x2e8f75['length'])for(const _0x8f96b2 of _0x4e7bca){const [_0x1b2b37,_0x251060]=_0x2e8f75[0x0],[,_0x1dad8a,_0x357a98]=_0x1b2b37['split'](':');if(_0x251060['end']['isEqual'](_0x8f96b2['nextPosition'])&&_0x2e8f75['shift'](),(_0x8f96b2['previousPosition']['isEqual'](_0x251060['start'])||_0x8f96b2['previousPosition']['isAfter'](_0x251060['start']))&&('insertion'==_0x1dad8a?_0x8f96b2['isAdded']={'userId':_0x357a98}:'deletion'==_0x1dad8a&&(_0x8f96b2['isRemoved']={'userId':_0x357a98})),0x0==_0x2e8f75['length'])break;}return _0x4e7bca;}['_refreshStartEndIndex'](_0xa50ce6){const _0x296604=new Map();for(let _0x1fe4a8=0x0;_0x1fe4a8<_0xa50ce6['length'];_0x1fe4a8++)'text'===_0xa50ce6[_0x1fe4a8]['type']?(_0xa50ce6[_0x1fe4a8]['item']['startIndex']=_0x1fe4a8,_0xa50ce6[_0x1fe4a8]['item']['endIndex']=_0x1fe4a8):('elementStart'===_0xa50ce6[_0x1fe4a8]['type']?_0xa50ce6[_0x1fe4a8]['item']['startIndex']=_0x1fe4a8:'elementEnd'===_0xa50ce6[_0x1fe4a8]['type']&&(_0xa50ce6[_0x1fe4a8]['item']['endIndex']=_0x1fe4a8),_0x296604['set'](_0xa50ce6[_0x1fe4a8]['id'],_0x1fe4a8));for(const _0x1df6e1 of _0x296604['values']())'elementStart'===_0xa50ce6[_0x1df6e1]['type']?_0xa50ce6[_0x1df6e1]['item']['endIndex']=_0x296604['get'](_0xa50ce6[_0x1df6e1]['pairId']):'elementEnd'===_0xa50ce6[_0x1df6e1]['type']&&(_0xa50ce6[_0x1df6e1]['item']['startIndex']=_0x296604['get'](_0xa50ce6[_0x1df6e1]['pairId']));}['_processTape'](_0x180635){for(let _0x44ce6e=0x0;_0x44ce6e<_0x180635['length'];_0x44ce6e++){if('elementStart'===_0x180635[_0x44ce6e]['type'])_0x180635[_0x44ce6e]['item']['startIndex']=_0x44ce6e;else{if('elementEnd'===_0x180635[_0x44ce6e]['type']){_0x180635[_0x44ce6e]['item']['endIndex']=_0x44ce6e;const _0x21d003=_0x180635[_0x44ce6e]['item']['startIndex'];_0x180635[_0x21d003]['pairId']=_0x180635[_0x44ce6e]['id'],_0x180635[_0x44ce6e]['pairId']=_0x180635[_0x21d003]['id'];}else _0x180635[_0x44ce6e]['item']['startIndex']=_0x44ce6e,_0x180635[_0x44ce6e]['item']['endIndex']=_0x44ce6e,_0x180635[_0x44ce6e]['pairId']=null;}_0x180635[_0x44ce6e]['markersStart']||(_0x180635[_0x44ce6e]['markersStart']=[],_0x180635[_0x44ce6e]['markersEnd']=[]);}}['_markInsertions'](_0x5b78b7,_0x2c802c){const _0x321056=_0x5b78b7['filter'](_0x5c8e91=>!_0x5c8e91['isAdded']);for(let _0x135e68=0x0;_0x135e68<_0x2c802c['length'];_0x135e68++)_0x2c802c[_0x135e68]['isAdded']&&(_0x321056[_0x135e68]['isAdded']=_0x2c802c[_0x135e68]['isAdded']);}['_makeModelFromViewString'](_0x3b67b7){const _0x579137=JSON['parse'](_0x3b67b7),_0x55de7d=this['editor']['editing']['view']['document'],_0x5e804d=new _0x13f9b3(_0x55de7d,_0x579137['map'](_0x2718bc=>this['_getViewObj'](_0x2718bc)));return this['editor']['data']['toModel'](_0x5e804d);}['_getViewObj'](_0x58d0f2){const _0x4902ad=this['editor']['editing']['view']['document'];if('string'==typeof _0x58d0f2)return new _0x384ec1(_0x4902ad,_0x58d0f2);{const _0x5a5e03=_0x58d0f2['children']['map'](_0x17fefc=>this['_getViewObj'](_0x17fefc));return new(tt[_0x58d0f2['type']]||_0x1d434c)(_0x4902ad,_0x58d0f2['name'],_0x58d0f2['attributes'],_0x5a5e03);}}['_getDiff'](_0x37da36,_0x3f2f06=null){const _0xba1080=this['repository']['getRevision'](_0x37da36),_0x5d47a3=_0x3f2f06?this['repository']['getRevision'](_0x3f2f06):null,_0x2396fd=this['_getRevisionsRange'](_0xba1080,_0x5d47a3),_0x6b796=_0x2396fd[_0x2396fd['length']-0x1],_0x9d9082=new Map(),_0x1e2c7d={'model':{},'attributes':{},'changes':[]},_0x15613b=new Set(),_0x30b765=new Map();for(let _0x4442e4=_0x2396fd['length']-0x1;_0x4442e4>=0x0;_0x4442e4--){const _0x4dadca=_0x2396fd[_0x4442e4];for(const _0x5d5df7 of Object['keys'](_0x4dadca['diffData']))if(_0x4dadca['diffData'][_0x5d5df7]['attachChange']){const _0x4bcf4f=_0x4dadca['diffData'][_0x5d5df7]['attachChange'];_0x4bcf4f['isAttached']?(_0x15613b['add'](_0x5d5df7),_0x30b765['has'](_0x5d5df7)&&_0x30b765['get'](_0x5d5df7)['userId']==_0x4bcf4f['userId']?_0x30b765['delete'](_0x5d5df7):_0x30b765['set'](_0x5d5df7,_0x4bcf4f)):_0x30b765['has'](_0x5d5df7)?(_0x15613b['delete'](_0x5d5df7),_0x30b765['delete'](_0x5d5df7)):(_0x15613b['add'](_0x5d5df7),_0x30b765['set'](_0x5d5df7,_0x4bcf4f));}else _0x15613b['add'](_0x5d5df7);}for(const _0x1f73d3 of _0x15613b){const _0x5d1dff=_0x30b765['has'](_0x1f73d3)&&!_0x30b765['get'](_0x1f73d3)['isAttached'];let _0x4d817e=_0x5d1dff?_0x2396fd['length']-0x1:0x0;const _0x4dca22=_0x5d1dff?-0x1:0x1;for(;_0x2396fd[_0x4d817e];){const _0x1fcade=_0x2396fd[_0x4d817e];if(_0x1fcade['diffData'][_0x1f73d3]){const _0x3c1521=_0x5d1dff?_0x1fcade['diffData'][_0x1f73d3]['attributesBefore']:_0x1fcade['diffData'][_0x1f73d3]['attributesAfter'];_0x1e2c7d['attributes'][_0x1f73d3]=_0x3c1521?_0x4b2b33(_0x3c1521):{};break;}_0x4d817e+=_0x4dca22;}}for(const _0x5daae7 of _0x2396fd){_0x5daae7['model']={};for(const _0x5b0196 of _0x5daae7['authors'])_0x9d9082['set'](_0x5b0196['id'],_0x5b0196);for(const _0x3b5c32 of _0x15613b){const _0x35bbd6=_0x5daae7['diffData'][_0x3b5c32]?_0x5daae7['diffData'][_0x3b5c32]['insertions']:'[]',_0x531b48=_0x5daae7['diffData'][_0x3b5c32]?_0x5daae7['diffData'][_0x3b5c32]['deletions']:'[]';_0x5daae7['model'][_0x3b5c32]={'insertions':this['_makeModelFromViewString'](_0x35bbd6),'deletions':this['_makeModelFromViewString'](_0x531b48)};}}for(const _0x3af5b4 of _0x15613b){let _0x4735c0=null,_0x1ffd5b=0x0;const _0x2f4d17=new Map(Array['from'](_0xba1080['model'][_0x3af5b4]['insertions']['markers'])['filter'](([_0x542cd6])=>!_0x542cd6['startsWith']('revision:')));let _0x50b7c8=0x0;for(const _0x10f4a4 of _0x2396fd){const _0x4e64d1=this['_makeTape'](_0x10f4a4['model'][_0x3af5b4]['insertions']);_0x10f4a4==_0xba1080?(_0x4735c0=_0x4e64d1,_0x1ffd5b=_0x4735c0['length'],_0x4735c0['forEach'](_0x418ddc=>{_0x418ddc['id']=_0x50b7c8++;}),this['_processTape'](_0x4735c0)):this['_markInsertions'](_0x4735c0,_0x4e64d1);const _0x5c0793=_0x4735c0['filter'](_0x4d5cfc=>!_0x4d5cfc['isAdded'])['map'](_0x3a0b94=>_0x3a0b94['id']);let _0x34f5df=0x0;const _0x26aece=this['_makeTape'](_0x10f4a4['model'][_0x3af5b4]['deletions']);_0x26aece['forEach'](_0x16cd53=>{_0x16cd53['isRemoved']?_0x16cd53['id']=_0x1ffd5b++:_0x16cd53['id']=_0x5c0793[_0x34f5df++];}),this['_processTape'](_0x26aece),this['_setDistance'](_0x4735c0,'isAdded'),this['_setDistance'](_0x26aece,'isRemoved'),_0x10f4a4==_0xba1080&&this['_markMarkers'](_0x4735c0,_0x2f4d17),_0x4735c0=this['_joinTapes'](_0x4735c0,_0x26aece),this['_refreshStartEndIndex'](_0x4735c0),this['_setDistance'](_0x4735c0,'isRemoved');}_0x4735c0=_0x4735c0['filter'](_0xc71541=>!(_0xc71541['isAdded']&&_0xc71541['isRemoved']));const _0x49091e=new Map(_0x6b796['model'][_0x3af5b4]['deletions']['markers']),_0x1dc73b=new Set(_0x2f4d17['keys']());for(const _0x431bd4 of _0x49091e['keys']())_0x1dc73b['delete'](_0x431bd4);this['_markSuggestions'](_0x4735c0,_0x1dc73b),this['_fixObsoleteTags'](_0x4735c0),_0x4735c0=this['_removeMissingPairs'](_0x4735c0),_0x4735c0=this['_markMismatchedRemovedTags'](_0x4735c0),_0x4735c0=this['_removeUnsupportedChanges'](_0x4735c0);const {root:_0x3c7fd9,changes:_0x276f2b}=this['_makeModelFromTape'](_0x4735c0,_0x9d9082,_0x3af5b4);_0x1e2c7d['model'][_0x3af5b4]=_0x3c7fd9;const _0x44ea59=_0x30b765['get'](_0x3af5b4);if(_0x44ea59){const _0x1eb341=_0x9d9082['get'](_0x44ea59['userId']),_0x5dd111=new r({'author':_0x1eb341,'type':_0x44ea59['isAttached']?'add':'remove','data':{'isOnRoot':!0x0},'createdAt':new Date(),'rootName':_0x3af5b4});_0x276f2b['unshift'](_0x5dd111),_0x1e2c7d['attributes'][_0x3af5b4]['revisionHistoryAttachChange']=_0x5dd111['id'];}_0x1e2c7d['changes']=_0x1e2c7d['changes']['concat'](_0x276f2b);}return _0x1e2c7d;}['_markMarkers'](_0x1ef4e3,_0x3b81c3){for(let _0x150b34=0x0;_0x150b34<_0x1ef4e3['length'];_0x150b34++)for(const [_0x4c797e,_0x43fefa]of _0x3b81c3)_0x43fefa['start']['isEqual'](_0x1ef4e3[_0x150b34]['previousPosition'])&&_0x1ef4e3[_0x150b34]['markersStart']['push'](_0x4c797e),_0x43fefa['end']['isEqual'](_0x1ef4e3[_0x150b34]['nextPosition'])&&_0x1ef4e3[_0x150b34]['markersEnd']['push'](_0x4c797e);}['_joinTapes'](_0x1c44b6,_0xc06a6b){let _0x50752a=[],_0x56ea40=0x0,_0x3e311d=0x0;for(;_0x56ea40<_0x1c44b6['length']||_0x3e311d<_0xc06a6b['length'];){const _0x57a23e=_0x1c44b6[_0x56ea40]||{},_0x5c5d5a=_0xc06a6b[_0x3e311d]||{};if(_0x57a23e['id']==_0x5c5d5a['id'])_0x56ea40++,_0x3e311d++,_0x50752a['push'](_0x57a23e);else{if(_0x5c5d5a['isRemoved']&&_0x57a23e['isAdded']){const {commonTape:_0x23b387,iEnd:_0x4ea57f,jEnd:_0x3e7519}=this['_threeWayMerge'](_0x1c44b6,_0x56ea40,_0xc06a6b,_0x3e311d);_0x50752a=_0x50752a['concat'](_0x23b387),_0x56ea40=_0x4ea57f,_0x3e311d=_0x3e7519;}else _0x5c5d5a['isRemoved']?(_0x3e311d++,_0x50752a['push'](_0x5c5d5a)):(_0x56ea40++,_0x50752a['push'](_0x57a23e));}}return _0x50752a;}['_markSuggestions'](_0x4c93c7,_0x35105d){const _0x2466b4=[];for(let _0x405c2d=0x0;_0x405c2d<_0x4c93c7['length'];_0x405c2d++){for(let _0x33a21f=0x0;_0x33a21f<_0x4c93c7[_0x405c2d]['markersStart']['length'];_0x33a21f++){const _0x38f8fc=_0x4c93c7[_0x405c2d]['markersStart'][_0x33a21f];if(!_0x35105d['has'](_0x38f8fc))continue;const {group:_0x578c3b,type:_0x3281eb,authorId:_0x3a9274}=_0x17b45d(_0x38f8fc);'revision-suggestion'!=_0x578c3b||'insertion'!=_0x3281eb&&'deletion'!=_0x3281eb||(_0x2466b4['unshift']({'type':_0x3281eb,'name':_0x38f8fc,'userId':_0x3a9274}),_0x4c93c7[_0x405c2d]['markersStart']['splice'](_0x33a21f,0x1),_0x33a21f--);}_0x3216dd(_0x4c93c7[_0x405c2d]);for(let _0x174a01=0x0;_0x174a01<_0x4c93c7[_0x405c2d]['markersEnd']['length'];_0x174a01++){const _0x492801=_0x4c93c7[_0x405c2d]['markersEnd'][_0x174a01];if(!_0x35105d['has'](_0x492801))continue;const {group:_0x4ca0c9,type:_0x3356ee}=_0x17b45d(_0x492801);if('revision-suggestion'!=_0x4ca0c9||'insertion'!=_0x3356ee&&'deletion'!=_0x3356ee)continue;_0x4c93c7[_0x405c2d]['markersEnd']['splice'](_0x174a01,0x1),_0x174a01--;const _0xc47b1=_0x2466b4['findIndex'](_0x513101=>_0x513101['name']==_0x492801);_0xc47b1>-0x1&&_0x2466b4['splice'](_0xc47b1,0x1);}}function _0x17b45d(_0x45bcd5){const _0xf1aad6=_0x45bcd5['split'](':');return{'group':_0xf1aad6[0x0],'type':_0xf1aad6[0x1],'subType':_0xf1aad6['length']>=0x5?_0xf1aad6[0x2]:null,'id':_0xf1aad6['length']<0x5?_0xf1aad6[0x2]:_0xf1aad6[0x3],'authorId':_0xf1aad6['length']<0x5?_0xf1aad6[0x3]:_0xf1aad6[0x4],'markerCount':0x6==_0xf1aad6['length']?_0xf1aad6[0x5]:null};}function _0x3216dd(_0x5c4114){for(let _0x2810bd=0x0;_0x2810bd<_0x2466b4['length'];_0x2810bd++){if(_0x5c4114['isAdded']&&'insertion'==_0x2466b4[_0x2810bd]['type'])return _0x5c4114['isAddSuggestion']=_0x2466b4[_0x2810bd],void delete _0x5c4114['isAdded'];if(!_0x5c4114['isAdded']&&!_0x5c4114['isRemoved']&&'deletion'==_0x2466b4[_0x2810bd]['type'])return void(_0x5c4114['isRemoveSuggestion']=_0x2466b4[_0x2810bd]);}}}['_setDistance'](_0x568bfb,_0x2e39cc){let _0x357189=0x0,_0x1f43f4=!0x1;const _0x13570d=new Map();for(const _0x561b8f of _0x568bfb)_0x561b8f[_0x2e39cc]?_0x1f43f4&&(_0x357189++,_0x1f43f4=!0x1):(_0x357189++,_0x1f43f4=!0x0),_0x13570d['set'](_0x561b8f['id'],_0x357189);for(let _0x238d2a=0x0;_0x238d2a<_0x568bfb['length'];_0x238d2a++){if('isRemoved'==_0x2e39cc&&_0x568bfb[_0x238d2a]['isAdded']||'isAdded'==_0x2e39cc&&_0x568bfb[_0x238d2a]['isRemoved'])continue;if('text'==_0x568bfb[_0x238d2a]['type']){_0x568bfb[_0x238d2a]['distance']=0x0;continue;}const _0x51cd81=_0x13570d['get'](_0x568bfb[_0x238d2a]['pairId']),_0x3b48be=_0x13570d['get'](_0x568bfb[_0x238d2a]['id']);_0x568bfb[_0x238d2a]['distance']=_0x51cd81-_0x3b48be;}}['_getRevisionsRange'](_0x1a8b12,_0xa47103,_0x30d018=!0x1){const _0x58592e=[];let _0x5cf2bf=this['repository']['getIndex'](_0x1a8b12),_0x4a28ae=this['repository']['getIndex'](_0xa47103);for(-0x1==_0x4a28ae&&(_0x4a28ae=this['repository']['_revisions']['length'],_0x30d018=!0x1);_0x5cf2bf<_0x4a28ae;)_0x58592e['push'](this['repository']['getRevision'](_0x5cf2bf)),_0x5cf2bf++;return _0x30d018&&_0x58592e['push'](this['repository']['getRevision'](_0x5cf2bf)),_0x58592e;}['_threeWayMerge'](_0x58d282,_0x66422,_0x3dbe3d,_0x186b15){const _0x398a68=this['editor']['model']['schema'];let _0xc9f284=_0x66422;for(;_0x58d282[_0xc9f284]&&_0x58d282[_0xc9f284]['isAdded'];)_0xc9f284++;let _0x235e8d=_0x186b15;for(;_0x3dbe3d[_0x235e8d]&&_0x3dbe3d[_0x235e8d]['isRemoved'];)_0x235e8d++;_0x287ed3(_0x58d282,_0x66422,_0xc9f284),_0x287ed3(_0x3dbe3d,_0x186b15,_0x235e8d);const _0x3b143b=_0x3dbe3d['slice'](_0x186b15,_0x235e8d)['concat'](_0x58d282['slice'](_0x66422,_0xc9f284));return _0x3b143b['sort']((_0x5c1754,_0x47e8cc)=>_0x5c1754['side']!=_0x47e8cc['side']?_0x5c1754['side']-_0x47e8cc['side']:_0x5c1754['level']!=_0x47e8cc['level']?_0x5c1754['level']-_0x47e8cc['level']:_0x5c1754['distance']!=_0x47e8cc['distance']?_0x47e8cc['distance']-_0x5c1754['distance']:!!_0x5c1754['isAdded']!=!!_0x47e8cc['isAdded']?-0x1==_0x5c1754['side']||0x0==_0x5c1754['side']?_0x5c1754['isAdded']?-0x1:0x1:_0x5c1754['isAdded']?0x1:-0x1:_0x5c1754['index']-_0x47e8cc['index']),{'commonTape':_0x3b143b,'iEnd':_0xc9f284,'jEnd':_0x235e8d};function _0x287ed3(_0x316f33,_0x161a7c,_0x397bbd){let _0x5c6223=-0x1,_0x1a0180=Number['POSITIVE_INFINITY'],_0x2101a2=!0x0;for(let _0x4ec054=_0x161a7c;_0x4ec054<_0x397bbd;_0x4ec054++)if(_0x398a68['isInline'](_0x316f33[_0x4ec054]['item'])||(_0x2101a2=!0x1),_0x316f33[_0x4ec054]['item']['startIndex']<_0x161a7c&&(_0x5c6223=_0x4ec054),_0x316f33[_0x4ec054]['item']['endIndex']>=_0x397bbd){_0x1a0180=_0x4ec054;break;}_0x2101a2&&(_0x5c6223=_0x397bbd-0x1);for(let _0x1d6b29=_0x161a7c;_0x1d6b29<_0x397bbd;_0x1d6b29++)_0x316f33[_0x1d6b29]['side']=_0x1d6b29<=_0x5c6223?-0x1:_0x1d6b29<_0x1a0180?0x0:0x1,_0x316f33[_0x1d6b29]['index']=_0x1d6b29;let _0x3c77a1=0x0;for(let _0x4bc366=_0x161a7c;_0x4bc366<=_0x5c6223;_0x4bc366++)0x0==_0x316f33[_0x4bc366]['distance']?_0x316f33[_0x4bc366]['level']=_0x3c77a1:(_0x3c77a1++,_0x316f33[_0x4bc366]['level']=_0x3c77a1,_0x3c77a1++);for(let _0x4656bc=_0x161a7c;_0x4656bc<_0x397bbd;_0x4656bc++)0x0==_0x316f33[_0x4656bc]['side']&&(_0x316f33[_0x4656bc]['level']=_0x3c77a1);_0x3c77a1=0x0;for(let _0x39558d=_0x397bbd-0x1;_0x39558d>=_0x1a0180;_0x39558d--)0x0==_0x316f33[_0x39558d]['distance']?_0x316f33[_0x39558d]['level']=_0x3c77a1:(_0x3c77a1--,_0x316f33[_0x39558d]['level']=_0x3c77a1,_0x3c77a1--);}}['_fixObsoleteTags'](_0x5d00af){const _0x2fec6a=new Map(),_0x3909bd=this['editor']['model']['schema'];for(let _0x356b67=0x1;_0x356b67<_0x5d00af['length'];_0x356b67++){let _0x1a9858,_0x36ec95,_0x492780;const _0x160e68=_0x5d00af[_0x356b67],_0x36daba=_0x5d00af[_0x356b67-0x1];if('text'==_0x160e68['type'])continue;if(_0x160e68['type']!=_0x36daba['type'])continue;if(!_0x3909bd['isBlock'](_0x36daba['item'])||_0x3909bd['isLimit'](_0x36daba['item']))continue;if(!_0x3909bd['isBlock'](_0x160e68['item'])||_0x3909bd['isLimit'](_0x160e68['item']))continue;if((_0x5d00af[_0x356b67]['isAdded']||_0x5d00af[_0x356b67]['isAddSuggestion'])&&_0x5d00af[_0x356b67-0x1]['isRemoved'])_0x1a9858=_0x5d00af[_0x356b67],_0x36ec95=_0x5d00af[_0x356b67-0x1],_0x492780=_0x356b67-0x1;else{if(!_0x5d00af[_0x356b67]['isRemoved']||!_0x5d00af[_0x356b67-0x1]['isAdded']&&!_0x5d00af[_0x356b67-0x1]['isAddSuggestion'])continue;_0x1a9858=_0x5d00af[_0x356b67-0x1],_0x36ec95=_0x5d00af[_0x356b67],_0x492780=_0x356b67;}const _0x253bec=_0x1a9858['level']==_0x36ec95['level'],_0x2d0a4b=Math['abs'](_0x1a9858['level'])<Math['abs'](_0x36ec95['level'])&&0x0==_0x36ec95['distance'];(_0x253bec||_0x2d0a4b)&&(_0x2fec6a['set'](_0x36ec95['id'],_0x1a9858['id']),_0x5d00af['splice'](_0x492780,0x1),_0x356b67--,_0x1a9858['isAdded']=!0x1);}for(let _0xdd10c=0x0;_0xdd10c<_0x5d00af['length'];_0xdd10c++)_0x2fec6a['has'](_0x5d00af[_0xdd10c]['pairId'])&&(_0x5d00af[_0xdd10c]['pairId']=_0x2fec6a['get'](_0x5d00af[_0xdd10c]['pairId']));}['_removeMissingPairs'](_0x50fa08){const _0x5c44f0=new Set(_0x50fa08['map'](_0x3c0d30=>_0x3c0d30['id']));for(let _0x25a950=0x0;_0x25a950<_0x50fa08['length'];_0x25a950++)_0x5c44f0['has'](_0x50fa08[_0x25a950]['pairId'])||0x0==_0x50fa08[_0x25a950]['distance']||(_0x50fa08[_0x25a950]['isIncorrect']=!0x0);return _0x50fa08['filter'](_0x18155f=>!_0x18155f['isIncorrect']);}['_markMismatchedRemovedTags'](_0x11030e){const _0x237925=new Set();for(let _0x230404=0x0;_0x230404<_0x11030e['length'];_0x230404++){if(_0x237925['has'](_0x11030e[_0x230404]['id'])&&_0x11030e[_0x230404]['isRemoved']&&(_0x11030e[_0x230404]['isIncorrect']=!0x0),_0x11030e[_0x230404]['isIncorrect'])continue;if(0x0==_0x11030e[_0x230404]['distance'])continue;if('elementStart'!=_0x11030e[_0x230404]['type'])continue;if(null==_0x11030e[_0x230404]['pairId'])continue;let _0x2ae5f8=_0x230404+0x1,_0x5da14c=0x0;for(;_0x11030e[_0x2ae5f8]['id']!=_0x11030e[_0x230404]['pairId'];)'elementStart'==_0x11030e[_0x2ae5f8]['type']?_0x5da14c++:'elementEnd'==_0x11030e[_0x2ae5f8]['type']&&_0x5da14c--,_0x2ae5f8++;if(0x0!=_0x5da14c){if(_0x11030e[_0x230404]['isRemoved'])_0x11030e[_0x230404]['isIncorrect']=!0x0;else{for(;_0x2ae5f8!=_0x230404;)_0x11030e[_0x2ae5f8]['isRemoved']&&0x0!=_0x11030e[_0x2ae5f8]['distance']&&(_0x11030e[_0x2ae5f8]['isIncorrect']=!0x0,_0x237925['add'](_0x11030e[_0x2ae5f8]['pairId'])),_0x2ae5f8--;}}}return _0x11030e['filter'](_0x436764=>!_0x436764['isIncorrect']);}['_removeUnsupportedChanges'](_0x8f683c){const _0x584d7f=this['editor']['model']['schema'];for(let _0x190c1c=0x0;_0x190c1c<_0x8f683c['length'];_0x190c1c++){if(!(_0x8f683c[_0x190c1c]['isAdded']||_0x8f683c[_0x190c1c]['isAddSuggestion']||_0x8f683c[_0x190c1c]['isRemoved']||_0x8f683c[_0x190c1c]['isRemoveSuggestion']))continue;if(0x0==_0x8f683c[_0x190c1c]['distance'])continue;const _0x4b9719=_0x8f683c[_0x190c1c]['item'];_0x584d7f['isBlock'](_0x4b9719)||_0x584d7f['isLimit'](_0x4b9719)||(_0x8f683c[_0x190c1c]['isAdded']&&delete _0x8f683c[_0x190c1c]['isAdded'],_0x8f683c[_0x190c1c]['isAddSuggestion']&&delete _0x8f683c[_0x190c1c]['isAddSuggestion'],_0x8f683c[_0x190c1c]['isRemoveSuggestion']&&delete _0x8f683c[_0x190c1c]['isRemoveSuggestion'],_0x8f683c[_0x190c1c]['isRemoved']&&(_0x8f683c[_0x190c1c]['isIncorrect']=!0x0));}return _0x8f683c['filter'](_0x53b7a6=>!_0x53b7a6['isIncorrect']);}['_makeModelFromTape'](_0x88e8d9,_0x41919f,_0x59ae7d){const _0x48f5d1=new wt(),_0x9c02ae=[],_0x386f01=new Map(),_0xadbb6d=this['editor']['model'],_0x290fc1=_0xadbb6d['schema'],_0x3c1131=[_0x48f5d1],_0x194f5b={},_0x392e97={'isAdded':[],'isRemoved':[],'isAddSuggestion':[],'isRemoveSuggestion':[]};let _0x47614d=null;const _0x20518a=[0x0];for(let _0x3763c2=0x0;_0x3763c2<_0x88e8d9['length'];_0x3763c2++){let _0x29ceb3,_0x53b045;if('elementStart'===_0x88e8d9[_0x3763c2]['type']){_0x29ceb3=_0xadbb6d['createPositionFromPath'](_0x48f5d1,_0x20518a);const _0x391260=new ft(_0x88e8d9[_0x3763c2]['item']['name'],_0x88e8d9[_0x3763c2]['item']['getAttributes']());_0x3c1131[0x0]['_appendChild'](_0x391260),_0x20518a['push'](0x0),_0x3c1131['unshift'](_0x391260),_0x53b045=_0xadbb6d['createPositionFromPath'](_0x48f5d1,_0x20518a),_0x47614d=null;}else{if('elementEnd'===_0x88e8d9[_0x3763c2]['type'])_0x3c1131['shift'](),_0x29ceb3=_0xadbb6d['createPositionFromPath'](_0x48f5d1,_0x20518a),_0x20518a['pop'](),_0x20518a[_0x20518a['length']-0x1]++,_0x53b045=_0xadbb6d['createPositionFromPath'](_0x48f5d1,_0x20518a),_0x47614d=null;else{if(_0x29ceb3=_0xadbb6d['createPositionFromPath'](_0x48f5d1,_0x20518a),_0x47614d&&_0x35ad8c(_0x47614d,_0x88e8d9[_0x3763c2]['item']))_0x47614d['_data']+=_0x88e8d9[_0x3763c2]['item']['data'];else{const _0x133e25=new _t(_0x88e8d9[_0x3763c2]['item']['data'],_0x88e8d9[_0x3763c2]['item']['getAttributes']());_0x3c1131[0x0]['_appendChild'](_0x133e25),_0x47614d=_0x133e25;}_0x20518a[_0x20518a['length']-0x1]+=_0x88e8d9[_0x3763c2]['item']['offsetSize'],_0x53b045=_0xadbb6d['createPositionFromPath'](_0x48f5d1,_0x20518a);}}for(const _0x460c76 of _0x88e8d9[_0x3763c2]['markersStart'])_0x386f01['set'](_0x460c76,{'start':_0x29ceb3,'end':null});_0x2bb89d('isRemoveSuggestion',_0x3763c2,_0x29ceb3,_0x53b045),_0x2bb89d('isAddSuggestion',_0x3763c2,_0x29ceb3,_0x53b045),_0x2bb89d('isRemoved',_0x3763c2,_0x29ceb3,_0x53b045),_0x2bb89d('isAdded',_0x3763c2,_0x29ceb3,_0x53b045);for(const _0x368224 of _0x88e8d9[_0x3763c2]['markersEnd']){_0x386f01['get'](_0x368224)['end']=_0x53b045;}}for(const [_0x2acc1b,_0x11f9d2]of _0x386f01){const _0x38a816=this['editor']['model']['createRange'](_0x11f9d2['start'],_0x11f9d2['end']);_0x48f5d1['markers']['set'](_0x2acc1b,_0x38a816);}return _0x9c02ae['sort']((_0xae4de4,_0x55be33)=>{const _0x53a799=_0x48f5d1['markers']['get']('revision:'+_0xae4de4['id']),_0x58dbb5=_0x48f5d1['markers']['get']('revision:'+_0x55be33['id']);return _0x53a799['start']['isBefore'](_0x58dbb5['start'])?-0x1:_0x53a799['start']['isAfter'](_0x58dbb5['start'])?0x1:_0x53a799['end']['isBefore'](_0x58dbb5['end'])?-0x1:_0x53a799['end']['isAfter'](_0x58dbb5['end'])?0x1:'add'===_0xae4de4['type']?-0x1:0x1;}),{'root':_0x48f5d1,'changes':_0x9c02ae};function _0x2bb89d(_0x295b1c,_0x16007d,_0x2e1f0e,_0x11b159){const _0x505d5c=!!_0x88e8d9[_0x16007d][_0x295b1c],_0x3c8260=_0x505d5c?_0x88e8d9[_0x16007d][_0x295b1c]['userId']:null,_0x248ac7=_0x16007d===_0x88e8d9['length']-0x1,_0x42d9c1=_0x392e97[_0x295b1c][0x0],_0x2a1814=_0x290fc1['isObject'](_0x88e8d9[_0x16007d]['item']);!_0x194f5b[_0x295b1c]&&_0x505d5c?_0x194f5b[_0x295b1c]={'start':_0x2e1f0e,'tapeItem':_0x88e8d9[_0x16007d],'userId':_0x3c8260,'type':_0x295b1c}:_0x194f5b[_0x295b1c]&&!_0x505d5c?(_0x194f5b[_0x295b1c]['end']=_0x2e1f0e,_0x25c7fa(_0x194f5b[_0x295b1c]),_0x194f5b[_0x295b1c]=null):_0x194f5b[_0x295b1c]&&_0x505d5c&&_0x194f5b[_0x295b1c]['userId']!==_0x3c8260&&(_0x194f5b[_0x295b1c]['end']=_0x2e1f0e,_0x42d9c1&&_0x42d9c1['userId']===_0x194f5b[_0x295b1c]['userId']||_0x25c7fa(_0x194f5b[_0x295b1c]),_0x194f5b[_0x295b1c]={'start':_0x2e1f0e,'tapeItem':_0x88e8d9[_0x16007d],'userId':_0x3c8260,'type':_0x295b1c}),_0x194f5b[_0x295b1c]&&_0x2a1814&&('elementStart'!==_0x88e8d9[_0x16007d]['type']||_0x42d9c1&&_0x42d9c1['userId']===_0x3c8260||_0x392e97[_0x295b1c]['unshift']({'userId':_0x3c8260,'object':_0x88e8d9[_0x16007d]['item'],'change':_0x194f5b[_0x295b1c]}),'elementEnd'===_0x88e8d9[_0x16007d]['type']&&_0x42d9c1&&_0x42d9c1['object']===_0x88e8d9[_0x16007d]['item']&&(_0x392e97[_0x295b1c]['shift'](),_0x194f5b[_0x295b1c]=_0x42d9c1['change'])),_0x194f5b[_0x295b1c]&&_0x248ac7&&(_0x194f5b[_0x295b1c]['end']=_0x11b159,_0x25c7fa(_0x194f5b[_0x295b1c]),_0x194f5b[_0x295b1c]=null);}function _0x25c7fa({start:_0x2681a6,end:_0x24af10,tapeItem:_0x441395,userId:_0x7ed56a,type:_0x36392b}){const _0x155c1b=_0x441395['item'],_0x105805=_0xadbb6d['schema']['isBlock'](_0x155c1b)&&!_0xadbb6d['schema']['isLimit'](_0x155c1b),_0x2f636a=_0x2681a6['nodeAfter']==_0x24af10['parent']&&_0x24af10['isAtStart'];if(_0x105805&&_0x2f636a)return;const _0xac94e4=_0xadbb6d['createRange'](_0x2681a6,_0x24af10),_0x21b138=_0x41919f['get'](_0x7ed56a),_0x1b7f22=new r({'author':_0x21b138,'type':'isAdded'==_0x36392b||'isAddSuggestion'==_0x36392b?'add':'remove','data':{'isSuggestion':'isAddSuggestion'==_0x36392b||'isRemoveSuggestion'==_0x36392b},'createdAt':new Date(),'rootName':_0x59ae7d});_0x9c02ae['push'](_0x1b7f22),_0x48f5d1['markers']['set']('revision:'+_0x1b7f22['id'],_0xac94e4);}function _0x35ad8c(_0x167b21,_0x2dc20e){const _0x2e8880=_0x167b21['getAttributes'](),_0x31615e=_0x2dc20e['getAttributes']();for(const _0x2377ce of _0x2e8880){if(_0x2377ce[0x1]!==_0x2dc20e['getAttribute'](_0x2377ce[0x0]))return!0x1;_0x31615e['next']();}return _0x31615e['next']()['done'];}}['_setConversion'](){this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'revision'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision','view':_0x2aa1d2=>{const _0x5deff4=_0x2aa1d2['markerName']['split'](':')[0x1],_0x15b52c=this['_getChangeFromId'](_0x5deff4);if(!_0x15b52c)return null;const _0x16c14c='add'==_0x15b52c['type']?'insertion':'deletion',_0x174715=['ck-suggestion-marker','ck-suggestion-marker-'+_0x16c14c];return _0x15b52c['data']['isSuggestion']&&_0x174715['push']('ck-suggestion-marker-'+_0x16c14c+'-new'),this['activeChange']==_0x15b52c&&_0x174715['push']('ck-suggestion-marker--active'),{'classes':_0x174715,'attributes':{'data-change-id':_0x5deff4}};}}),this['editor']['conversion']['for']('upcast')['add'](_0x35a1df=>{_0x35a1df['on']('element:pre',(_0x24f23c,_0x3c6f03,_0x4faa83)=>{const _0xe7a810=_0x3c6f03['viewItem']['getChild'](0x0);if(!_0xe7a810||!_0xe7a810['is']('element','code'))return;if(!_0x4faa83['consumable']['consume'](_0xe7a810,{'attributes':['vid_start','vid_end']}))return;const _0x2602eb=_0x3c6f03['modelRange']['start']['nodeAfter'];_0x4faa83['writer']['setAttribute']('vid_start',_0xe7a810['getAttribute']('vid_start'),_0x2602eb),_0x4faa83['writer']['setAttribute']('vid_end',_0xe7a810['getAttribute']('vid_end'),_0x2602eb);},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['add'](_0x1877df=>{_0x1877df['on']('element',(_0x934172,_0xf0ae94,_0x24d627)=>{if(!_0x24d627['consumable']['consume'](_0xf0ae94['viewItem'],{'attributes':['vid_start','vid_end']}))return;if(_0xf0ae94['modelRange']['isCollapsed'])return;const _0x5aa4a8=_0xf0ae94['modelRange']['start']['nodeAfter'];_0x5aa4a8['hasAttribute']('vid_start')||_0x5aa4a8['hasAttribute']('vid')||(_0x24d627['writer']['setAttribute']('vid_start',_0xf0ae94['viewItem']['getAttribute']('vid_start'),_0x5aa4a8),_0x24d627['writer']['setAttribute']('vid_end',_0xf0ae94['viewItem']['getAttribute']('vid_end'),_0x5aa4a8));},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['elementToAttribute']({'view':{'name':'span','attributes':{'vid':!0x0}},'model':{'key':'vid','value':_0x4bf756=>_0x4bf756['getAttribute']('vid')}}),this['editor']['model']['schema']['on']('checkAttribute',(_0x5e5926,[,_0x4172aa])=>{['vid_start','vid_end','vid']['includes'](_0x4172aa)&&(_0x5e5926['return']=!0x0,_0x5e5926['stop']());},{'priority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['add'](_0x18e46e=>{_0x18e46e['on']('attribute:vid',(_0x5de7f5,_0x54b5f1,_0x52746a)=>{if('\x20'!=_0x54b5f1['item']['data']||_0x54b5f1['item']['parent']['maxOffset']>0x1)return;if(!_0x52746a['consumable']['consume'](_0x54b5f1['item'],_0x5de7f5['name']))return;const _0x3ecf7c=_0x52746a['writer'],_0xefe52d=_0x52746a['mapper']['toViewRange'](_0x54b5f1['range']);_0x3ecf7c['wrap'](_0xefe52d,_0x3ecf7c['createAttributeElement']('span'));});}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',function(_0x58fc30){const _0xbc4603=_0x58fc30['plugins']['get']('RevisionViewer');return(_0x5c8c49,_0x302ce2,_0x5f311)=>{const _0x2cbf56=_0x302ce2['markerName']['split'](':')[0x1],_0x7a329=_0xbc4603['_getChangeFromId'](_0x2cbf56);if(!_0x7a329)return null;const _0x3479c7='add'==_0x7a329['type']?'split':'merge';if(!_0x5f311['consumable']['test'](_0x302ce2['markerRange'],_0x5c8c49['name']))return;const _0x2f1772=_0x302ce2['markerRange']['getWalker'](),_0x590501=_0x302ce2['markerRange']['start'],_0x548aa1=_0x58fc30['model']['schema'];let _0xa8ad59=null,_0x1a3810=null,_0xe7b92=!0x1,_0x22f558=!0x1;for(const _0x243247 of _0x2f1772){const _0x42ae57=_0x243247['item'];_0xe7b92=_0xe7b92||_0x548aa1['isContent'](_0x42ae57);const _0x5268cf=_0x5f311['mapper']['toViewElement'](_0x42ae57);if(_0x5268cf&&_0x5268cf['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x243247['type']&&(_0x548aa1['isBlock'](_0x42ae57)&&!_0x548aa1['isLimit'](_0x42ae57)&&(_0x42ae57['nextSibling']||_0x590501['isAtEnd']?_0xa8ad59&&_0xa8ad59['parent']==_0x42ae57||(_0xa8ad59=_0x42ae57,_0x1c4f96(_0x243247['previousPosition']),_0x22f558=!0x0):_0x1a3810=_0x1a3810||_0x243247['previousPosition']));}function _0x1c4f96(_0x43d80a){const _0x4a95bc=_0x5f311['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x3479c7}),_0x46b4f8=_0x5f311['mapper']['toViewPosition'](_0x43d80a);_0x7a329['data']['isSuggestion']&&_0x5f311['writer']['addClass']('ck-suggestion-marker-'+_0x3479c7+'-new',_0x4a95bc),_0xbc4603['activeChange']==_0x7a329&&_0x5f311['writer']['addClass']('ck-suggestion-marker--active',_0x4a95bc),_0x5f311['writer']['insert'](_0x46b4f8,_0x4a95bc),_0x5f311['mapper']['bindElementToMarker'](_0x4a95bc,_0x302ce2['markerName']);}_0xe7b92||_0x22f558||!_0x1a3810||_0x1c4f96(_0x1a3810);};}(this['editor']),{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('removeMarker:revision',(_0x510b33,_0x4e43ff,_0x4f911e)=>{const _0x5823e0=_0x4f911e['mapper']['markerNameToElements'](_0x4e43ff['markerName']);if(_0x5823e0){for(const _0x46961e of _0x5823e0)(_0x46961e['hasClass']('ck-suggestion-marker-split')||_0x46961e['hasClass']('ck-suggestion-marker-merge'))&&(_0x4f911e['mapper']['unbindElementFromMarkerName'](_0x46961e,_0x4e43ff['markerName']),_0x4f911e['writer']['remove'](_0x46961e));}},{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',(_0x91d22e,_0x4c692e,_0x1b324a)=>{const _0x2a28af=_0x4c692e['markerName']['split'](':')[0x1],_0x50a937=this['_getChangeFromId'](_0x2a28af);if(!_0x50a937)return null;const _0x1a7354='add'==_0x50a937['type']?'split':'merge';if(_0x1b324a['consumable']['test'](_0x4c692e['markerRange'],_0x91d22e['name']))for(const _0x53bef1 of _0x4c692e['markerRange']['getItems']()){if(!_0x53bef1['is']('element','softBreak'))continue;const _0x1b17e9=_0x1b324a['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x1a7354}),_0x308a07=_0x1b324a['mapper']['toViewPosition'](this['editor']['model']['createPositionBefore'](_0x53bef1));_0x50a937['data']['isSuggestion']&&_0x1b324a['writer']['addClass']('ck-suggestion-marker-'+_0x1a7354+'-new',_0x1b17e9),this['activeChange']==_0x50a937&&_0x1b324a['writer']['addClass']('ck-suggestion-marker--active',_0x1b17e9),_0x1b324a['writer']['insert'](_0x308a07,_0x1b17e9),_0x1b324a['mapper']['bindElementToMarker'](_0x1b17e9,_0x4c692e['markerName']);}},{'priority':'high'}),this['editor']['model']['document']['on']('change',()=>{this['editor']['editing']['view']['change'](_0x1afdbb=>{for(const _0x32b7eb of this['editor']['model']['document']['getRootNames']()){const _0x4890d8=this['editor']['model']['document']['getRoot'](_0x32b7eb),_0x5adc23=this['editor']['editing']['view']['document']['getRoot'](_0x32b7eb);if(_0x5adc23){const _0x551285=_0x4890d8['getAttribute']('revisionHistoryAttachChange');if(_0x1afdbb['removeAttribute']('data-change-id',_0x5adc23),_0x1afdbb['removeClass']('ck-revision-history-root-add',_0x5adc23),_0x1afdbb['removeClass']('ck-revision-history-root-remove',_0x5adc23),_0x1afdbb['removeClass']('ck-revision-history-root--active',_0x5adc23),_0x551285){const _0x303501=this['_getChangeFromId'](_0x551285);if(!_0x303501)return null;_0x1afdbb['setAttribute']('data-change-id',_0x551285,_0x5adc23),_0x1afdbb['addClass']('ck-revision-history-root-'+_0x303501['type'],_0x5adc23),this['activeChange']==_0x303501&&_0x1afdbb['addClass']('ck-revision-history-root--active',_0x5adc23);}}}});}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'comment','model':_0xb9cc9d=>'revision-comment:'+_0xb9cc9d,'converterPriority':'highest'}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'suggestion','model':_0x2483a7=>'revision-suggestion:'+_0x2483a7,'converterPriority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision-suggestion','view':_0x4869b1=>({'name':'suggestion:'+_0x4869b1,'group':'revision-suggestion'}),'converterPriority':'highest'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision-suggestion','view':_0x56f126=>{const _0x20ec5f=_0x56f126['markerName']['split'](':')[0x1];return'insertion'!=_0x20ec5f&&'deletion'!=_0x20ec5f?null:{'classes':['ck-suggestion-preview-marker','ck-suggestion-preview-marker-'+_0x20ec5f]};}}),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',(_0x2e09d2,_0x1b19e1,_0x4921dc)=>{const _0x5dc57b=_0x4921dc['mapper']['markerNameToElements'](_0x1b19e1['markerName']);if(_0x5dc57b){for(const _0x26a4f9 of _0x5dc57b)_0x26a4f9['is']('uiElement')&&(_0x4921dc['mapper']['unbindElementFromMarkerName'](_0x26a4f9,_0x1b19e1['markerName']),_0x4921dc['writer']['remove'](_0x26a4f9));}},{'priority':'high'});}['_getChangeFromId'](_0x53cdf3){return this['_changeIdToChange']['get'](_0x53cdf3);}['_getViewForChange'](_0x144621){return this['_changeView']&&this['_changeView']['destroy'](),this['_changeView']=new Z(this['editor']['locale'],_0x144621),this['_changeView'];}['_initInteractions'](){this['editor']['model']['document']['selection']['observeMarkers']('revision'),this['on']('change:activeView',(_0x3c0eb0,_0x34ae,_0x3ccbea,_0x1e27e9)=>{_0x1e27e9&&this['_balloon']['remove'](_0x1e27e9),_0x3ccbea&&(this['_balloon']['add']({'view':_0x3ccbea,'stackId':'revisionHistoryLabel','position':{'target':()=>{const _0x23e7e4=this['editor']['editing'],_0x304a3f=this['_getChangeFromId'](_0x3ccbea['changeId']);let _0x5435fc;if(_0x304a3f['data']['isOnRoot']){const _0x446adf=_0x23e7e4['view']['getDomRoot'](_0x304a3f['rootName']);_0x5435fc=Array['from'](_0x446adf['getClientRects']());}else{const _0x5107e0=this['editor']['model']['markers']['get']('revision:'+_0x3ccbea['changeId']);_0x5435fc=Array['from'](_0x23e7e4['mapper']['markerNameToElements'](_0x5107e0['name']))['map'](_0x1f76f3=>_0x23e7e4['view']['domConverter']['mapViewToDom'](_0x1f76f3))['map'](_0x380979=>Array['from'](_0x380979['getClientRects']()))['flat']();}if(!this['_activeViewTarget'])return _0x5435fc[0x0];return _0x5435fc['find'](_0xa43d52=>_0xa43d52['top']-0x3<=this['_activeViewTarget']['y']&&_0xa43d52['bottom']+0x3>=this['_activeViewTarget']['y']&&_0xa43d52['left']-0x3<=this['_activeViewTarget']['x']&&_0xa43d52['right']+0x3>=this['_activeViewTarget']['x'])||_0x5435fc[0x0];}}}),this['_balloon']['showStack']('revisionHistoryLabel'));}),this['on']('change:activeChange',(_0x29cddf,_0xe56231,_0x3e553f,_0x4f15de)=>{this['activeView']=_0x3e553f?this['_getViewForChange'](_0x3e553f):null,this['editor']['model']['change'](()=>{const _0x57b013=this['editor']['editing'];_0x4f15de&&(_0x4f15de['data']['isOnRoot']?_0x57b013['view']['change'](_0x3d198d=>{_0x3d198d['removeClass']('ck-revision-history-root--active',_0x57b013['view']['document']['getRoot'](_0x4f15de['rootName']));}):_0x57b013['reconvertMarker']('revision:'+_0x4f15de['id'])),_0x3e553f&&(_0x3e553f['data']['isOnRoot']?_0x57b013['view']['change'](_0x5a74a4=>{_0x5a74a4['addClass']('ck-revision-history-root--active',_0x57b013['view']['document']['getRoot'](_0x3e553f['rootName']));}):_0x57b013['reconvertMarker']('revision:'+_0x3e553f['id']));});}),this['listenTo'](this['editor']['editing']['view']['document'],'mouseover',(_0x572530,_0x257704)=>{if(this['activeChange'])return;const _0x17c614=this['_findChangeIdFromDomTarget'](_0x257704['target']),_0x4eaf96=this['_changeIdToChange']['get'](_0x17c614);_0x4eaf96?(this['_activeViewTarget']={'x':_0x257704['domEvent']['x'],'y':_0x257704['domEvent']['y']},this['activeView']=this['_getViewForChange'](_0x4eaf96)):(this['_activeViewTarget']=null,this['activeView']=null);}),this['listenTo'](this['editor']['editing']['view']['document'],'mousedown',(_0x210aec,_0x40b982)=>{const _0x424b78=this['_findChangeIdFromDomTarget'](_0x40b982['target']),_0x399372=this['_changeIdToChange']['get'](_0x424b78);_0x399372?(this['_activeViewTarget']={'x':_0x40b982['domEvent']['x'],'y':_0x40b982['domEvent']['y']},_0x399372===this['activeChange']?this['_balloon']['updatePosition']():this['activeChange']=_0x399372):(this['_activeViewTarget']=null,this['activeChange']=null);});}['_findChangeIdFromDomTarget'](_0x25cdd1){do{const _0x57e92b=_0x25cdd1['getAttribute']('data-change-id');if(_0x57e92b)return _0x57e92b;_0x25cdd1=_0x25cdd1['parent'];}while(_0x25cdd1);return null;}['_cleanMarkers'](){this['editor']['model']['change'](_0x14c2af=>{for(const _0x38d16c of this['editor']['model']['markers'])_0x14c2af['removeMarker'](_0x38d16c);});}}function et(_0x1a8dad,_0x317b7f){return(_0x1ea4ac,_0x366630,_0x4afde2)=>{if(!_0x4afde2['consumable']['test'](_0x366630['markerRange'],_0x1ea4ac['name']))return;const _0x23ad68=_0x366630['markerRange']['getWalker'](),_0x414949=_0x366630['markerRange']['start'],_0x5dad27=_0x1a8dad['model']['schema'];let _0x7ce440=null,_0x798d2=null,_0x17a53e=!0x1,_0x5a4bc9=!0x1;for(const _0x2208e0 of _0x23ad68){const _0x17cad1=_0x2208e0['item'];_0x17a53e=_0x17a53e||_0x5dad27['isContent'](_0x17cad1);const _0x7f3af4=_0x4afde2['mapper']['toViewElement'](_0x17cad1);if(_0x7f3af4&&_0x7f3af4['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x2208e0['type']&&(_0x5dad27['isBlock'](_0x17cad1)&&!_0x5dad27['isLimit'](_0x17cad1)&&(_0x17cad1['nextSibling']||_0x414949['isAtEnd']?_0x7ce440&&_0x7ce440['parent']==_0x17cad1||(_0x7ce440=_0x17cad1,_0x5ea5fb(_0x2208e0['previousPosition']),_0x5a4bc9=!0x0):_0x798d2=_0x798d2||_0x2208e0['previousPosition']));}function _0x5ea5fb(_0x569441){const _0x4dab93=_0x4afde2['mapper']['toViewPosition'](_0x569441),_0x2f501f=_0x4afde2['writer']['createUIElement']('span',{'class':'ck-suggestion-preview-marker-'+_0x317b7f});_0x4afde2['writer']['insert'](_0x4dab93,_0x2f501f),_0x4afde2['mapper']['bindElementToMarker'](_0x2f501f,_0x366630['markerName']);}_0x17a53e||_0x5a4bc9||!_0x798d2||_0x5ea5fb(_0x798d2);};}class bt extends _0xf9001b{constructor(_0x475582){super(_0x475582);const _0x119256=_0x475582['plugins']['get'](d);this['affectsData']=!0x1,this['listenTo'](_0x119256,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x119256,'change:isEnabled',()=>this['refresh']());}['execute'](){const _0x1d031b=this['editor'],_0x102933=_0x1d031b['plugins']['get'](d),_0x4a2690=_0x102933['isReady']?_0x102933['diff']['newRevisionId']:null;_0x1d031b['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x4a2690);}['refresh'](){const {isReady:_0xd4e882,isEnabled:_0x3f75dc}=this['editor']['plugins']['get'](d);this['isEnabled']=_0xd4e882&&_0x3f75dc;}}class yt extends _0xf9001b{['_step'];constructor(_0x587263,{direction:_0x228364}){super(_0x587263);const _0x34e342=_0x587263['plugins']['get'](d);this['affectsData']=!0x1,this['_step']='forward'===_0x228364?0x1:-0x1,this['listenTo'](_0x34e342,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x34e342,'change:isEnabled',()=>this['refresh']()),this['listenTo'](_0x34e342,'change:activeChange',()=>this['refresh']());}['execute'](){const _0x25aac4=this['editor'],_0x3fdd2b=_0x25aac4['plugins']['get'](d),{isNavigationMode:_0x3d97ae,currentChangeNumber:_0x4323d1}=_0x3fdd2b;let _0x262f06;if(_0x3fdd2b['activeChange']=_0x3d97ae?_0x3fdd2b['diff']['changes']['get'](_0x4323d1+this['_step']):_0x3fdd2b['diff']['changes']['first'],_0x3fdd2b['activeChange']['data']['isOnRoot'])_0x262f06=_0x25aac4['editing']['view']['getDomRoot'](_0x3fdd2b['activeChange']['rootName']);else{const _0x4f4554=_0x25aac4['model']['markers']['get']('revision:'+_0x3fdd2b['activeChange']['id']);_0x262f06=_0x55a672(_0x25aac4['editing'],_0x4f4554);}_0x444c92({'target':_0x262f06,'viewportOffset':0x28});}['refresh'](){const {isNavigationMode:_0x48f313,currentChangeNumber:_0x36726a,numberOfChanges:_0x4c1cd6,isReady:_0x599231,isEnabled:_0x57b2f6}=this['editor']['plugins']['get'](d);this['isEnabled']=!!(_0x57b2f6&&_0x599231&&_0x4c1cd6)&&(!_0x48f313||(0x1===this['_step']?_0x36726a<_0x4c1cd6-0x1:_0x36726a>0x0));}}class _i extends _0x425e66{constructor(_0x2e678f){super(_0x2e678f);const _0x1d9257=this['bindTemplate'],_0x439aad=new _0x2799ee(_0x2e678f),_0x30aee0=new _0x2799ee(_0x2e678f);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',(_0x5948bf,_0x118a06)=>_0x5948bf&&_0x118a06>0x0),this['bind']('_statusText')['to'](this,'isReady',this,'currentChangeNumber',this,'numberOfChanges',this,'isNavigationMode',(_0x260975,_0x5ca907,_0x41757c,_0x1bec36)=>{if(!_0x260975)return y(_0x2e678f,'Loading...');if(!_0x41757c)return y(_0x2e678f,'No\x20changes');const _0xc2ae25=y(_0x2e678f,'NUMBER_OF_CHANGES',_0x41757c);return _0x1bec36?y(_0x2e678f,'X_OF_Y_CHANGES',[_0x5ca907+0x1,_0x41757c]):_0xc2ae25;}),_0x439aad['set']({'label':y(_0x2e678f,'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'}),_0x30aee0['set']({'label':y(_0x2e678f,'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'}),_0x439aad['bind']('isEnabled')['to'](this,'isBackwardNavigationEnabled'),_0x30aee0['bind']('isEnabled')['to'](this,'isForwardNavigationEnabled'),_0x439aad['on']('execute',()=>this['fire']('execute','backward')),_0x30aee0['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',_0x1d9257['if']('_isStatusLabelVisible','ck-hidden',_0x213ad9=>!_0x213ad9)]},'children':[{'text':_0x1d9257['to']('isNavigationMode',_0x3b2fee=>_0x3b2fee?y(_0x2e678f,'EDIT_X_OF_Y_REVISIONS')+':\x20':y(_0x2e678f,'Total')+':\x20')}]},{'text':_0x1d9257['to']('_statusText')}]},new _0x43a35b(),{'tag':'div','attributes':{'class':['ck-revision-history-ui__changes-navigation__navigation']},'children':[_0x439aad,_0x30aee0]}]});}}const ce='ck-editor__editable__loading-overlay';class de extends _0x1eb33f{static get['pluginName'](){return'RevisionViewerLoadingOverlay';}['show'](){const _0x503d04=this['editor']['editing']['view'];_0x503d04['change'](_0x5a3f47=>{for(const _0x3f1eb4 of _0x503d04['document']['roots'])_0x5a3f47['addClass'](ce,_0x3f1eb4);});}['hide'](){const _0x128352=this['editor']['editing']['view'];_0x128352['change'](_0x4aca42=>{for(const _0x53388c of _0x128352['document']['roots'])_0x4aca42['removeClass'](ce,_0x53388c);});}}class R extends _0x1eb33f{static get['pluginName'](){return'RevisionViewerUI';}static get['requires'](){return[d,de];}['init'](){const _0x50d130=this['editor'],_0x284d04=_0x50d130['plugins']['get'](d),_0x42605c=_0x50d130['plugins']['get'](de);_0x50d130['ui']['componentFactory']['add']('exitToEditing',_0x3b6f92=>{const _0x4830f7=new _0x2799ee(_0x3b6f92);return _0x4830f7['set']({'label':y(_0x3b6f92,'Back\x20to\x20editing'),'icon':_0xff5272['undo'],'withText':!0x0,'tooltip':!0x0,'class':'ck-revision-history-ui__back-to-editing'}),this['listenTo'](_0x4830f7,'execute',()=>{_0x50d130['config']['get']('revisionHistory')['closeRevisionViewerCallback']();}),_0x4830f7;}),_0x50d130['ui']['componentFactory']['add']('restoreRevision',_0x2bc64d=>{const _0x3af153=new _0x2799ee(_0x2bc64d);return _0x3af153['set']({'label':y(_0x2bc64d,'Restore\x20this\x20revision'),'withText':!0x0,'tooltip':!0x0}),_0x3af153['bind']('isEnabled')['to'](_0x50d130['commands']['get']('restoreRevision')),this['listenTo'](_0x3af153,'execute',()=>_0x50d130['execute']('restoreRevision')),_0x3af153;}),_0x50d130['ui']['componentFactory']['add']('changesNavigation',_0x306fb0=>{const _0x9c3fe4=new _i(_0x306fb0),_0x44d495=_0x50d130['commands']['get']('showPreviousChange'),_0x27b17e=_0x50d130['commands']['get']('showNextChange');return _0x9c3fe4['bind']('isBackwardNavigationEnabled')['to'](_0x44d495,'isEnabled'),_0x9c3fe4['bind']('isForwardNavigationEnabled')['to'](_0x27b17e,'isEnabled'),_0x9c3fe4['bind']('isReady','currentChangeNumber','numberOfChanges','isNavigationMode')['to'](_0x284d04),this['listenTo'](_0x9c3fe4,'execute',(_0x4e57c5,_0x12415a)=>{_0x50d130['execute']('forward'===_0x12415a?'showNextChange':'showPreviousChange');}),_0x9c3fe4;}),_0x42605c['show'](),_0x284d04['on']('change:isReady',(_0x346679,_0x49f27d,_0x510b79)=>{_0x510b79?_0x42605c['hide']():_0x42605c['show']();});}}class kt extends at{['_resizeObserver']=null;constructor(_0x45edf3,_0x446b91){super(_0x45edf3,_0x446b91);const _0x20e843=this['bindTemplate'];this['set']({'label':y(_0x45edf3,'Revision\x20name'),'_tooltipString':''}),this['fieldView']['placeholder']=y(_0x45edf3,'Enter\x20the\x20revision\x20name'),this['extendTemplate']({'tag':'span','attributes':{'class':['ck-revision-history-sidebar__revision-name'],'data-cke-tooltip-text':_0x20e843['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 _0x28e14e=this['fieldView']['element'];this['_tooltipString']=_0x28e14e['scrollWidth']>_0x28e14e['clientWidth']&&_0x28e14e['value']||'';}}class ti extends _0x425e66{constructor(_0x240df5,_0x17fedb,_0x8fe231){super(_0x240df5);const _0x50e62d=new _0x2eee2a();_0x50e62d['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 _0x28117e=['ck','ck-revision-history-sidebar__revision-author'];_0x8fe231&&_0x28117e['push']('ck-revision-history-sidebar__revision-author_creator');const _0x5b652e=[{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__revision-author__name'],'title':y(_0x240df5,_0x8fe231?'Revision\x20creator':'Revision\x20author')},'children':[_0x50e62d,_0x17fedb['name']]}];this['setTemplate']({'tag':'li','attributes':{'class':_0x28117e},'children':_0x5b652e});}}function ni(_0x28e9b3,_0x118ebb){const _0x1515e2=_0x28e9b3['bindTemplate'],_0x3b1b3c=_0x28e9b3['locale'],_0x2673ab=_0x27620d(_0x3b1b3c);_0x2673ab['panelPosition']='sw';const _0x1feffc=function(_0xf8e03b,_0x5cc669){const _0x211261=function(_0x3bff7f,_0x327556){const _0x2ee9b4=_0x3bff7f['locale'],_0x165c40={'Compare\x20against\x20selected':y(_0x2ee9b4,'Compare\x20against\x20selected'),'Name\x20this\x20revision':y(_0x2ee9b4,'Name\x20this\x20revision'),'Restore\x20this\x20revision':y(_0x2ee9b4,'Restore\x20this\x20revision')};return _0x327556['map'](_0x10ed45=>{const _0x55d371=_0x165c40[_0x10ed45['name']];return _0x55d371&&_0x55d371!==_0x10ed45['name']&&(_0x10ed45['name']=_0x55d371),_0x10ed45;});}(_0xf8e03b,_0x5cc669),_0x50a58b=new _0x2c0039();for(const _0x2c0a0f of _0x211261){const _0x956c2d={'type':'button','model':new to({'label':_0x2c0a0f['name'],'class':_0x2c0a0f['class'],'withText':!0x0,'role':'menuitem','_action':_0x2c0a0f['action']})};_0x956c2d['model']['bind']('isEnabled')['to'](_0xf8e03b,'isActionsDropdownOpen',_0x33629e=>'function'!=typeof _0x2c0a0f['isEnabled']||(!_0x33629e||_0x2c0a0f['isEnabled'](_0xf8e03b))),_0x50a58b['add'](_0x956c2d);}return _0x50a58b;}(_0x28e9b3,_0x118ebb);return _0x28e9b3['bind']('isActionsDropdownOpen')['to'](_0x2673ab,'isOpen'),_0x2673ab['buttonView']['set']({'label':y(_0x3b1b3c,'Show\x20more\x20items'),'tooltip':!0x0,'tooltipPosition':'sw','icon':_0xff5272['threeVerticalDots']}),_0x2673ab['extendTemplate']({'attributes':{'class':['ck-revision-history-sidebar__revision__actions',_0x1515e2['if']('isActionsDropdownOpen','ck-on')]},'on':{'click':_0x1515e2['to'](_0x539d03=>_0x539d03['stopPropagation']())}}),_0x2673ab['on']('execute',_0x257f07=>{_0x28e9b3['isReady']&&'function'==typeof _0x257f07['source']['_action']&&_0x257f07['source']['_action'](_0x28e9b3);}),_0x255e6a(_0x2673ab,_0x1feffc,{'role':'menu'}),_0x2673ab['listenTo'](_0x28e9b3,'change:isActionsDropdownOpen',(_0x3dd60a,_0x457bfa,_0x82654b)=>{if(_0x82654b)for(const _0x3d3891 of _0x2673ab['listView']['items']){const _0x511e96=_0x3d3891['children']['first'],_0x1469ea=_0x118ebb['find'](_0x377984=>_0x377984['action']===_0x511e96['_action'])['isVisible'];_0x3d3891['isVisible']=void 0x0===_0x1469ea||_0x1469ea(_0x28e9b3);}}),_0x2673ab;}class ai extends/* #__PURE__ -- @preserve */
26
- _0x42b651(_0x425e66){['id'];['revisionNameView'];['revisionActionsView'];['_revision'];['_requireRevisionName'];constructor(_0x6a17f4,_0x31e4d7,_0x3212e0,_0x42dac4){super(_0x6a17f4);const _0x2cfb3d=this['bindTemplate'],_0xb52e1c=function(_0xbde04c,_0x1d86f5){const _0x1d088e=Array['from'](_0x1d86f5['authors'])['filter'](_0x331fd0=>_0x331fd0!=_0x1d86f5['creator']);return _0x1d86f5['creator']&&_0x1d088e['unshift'](_0x1d86f5['creator']),_0x1d088e['map'](_0x4e3dfa=>new ti(_0xbde04c,_0x4e3dfa,_0x4e3dfa==_0x1d86f5['creator']));}(_0x6a17f4,_0x31e4d7);this['id']=_0x31e4d7['id'],this['_revision']=_0x31e4d7,this['_requireRevisionName']=_0x42dac4,this['bind']('name','createdAt')['to'](_0x31e4d7),this['bind']('_createdAtFormatted')['to'](this,'createdAt',_0x53cfd1=>{return _0x577734=_0x6a17f4['uiLanguage'],(_0x287bfa=_0x53cfd1)['toLocaleDateString'](_0x577734,{'month':'long','day':'numeric'})+',\x20'+_0x287bfa['toLocaleTimeString'](_0x577734,{'hour':'numeric','minute':'numeric'});var _0x577734,_0x287bfa;}),this['set']('isSelected',!0x1),this['set']('isHighlighted',!0x1),this['set']('isActionsDropdownOpen',!0x1),this['set']('isReady',!0x1),this['set']('isEnabled',!0x1),this['revisionNameView']=new kt(_0x6a17f4,_0x2317f9),this['revisionNameView']['fieldView']['extendTemplate']({'attributes':{'maxlength':'220'}}),this['revisionNameView']['fieldView']['bind']('value')['to'](this,'name',_0x4573a1=>_0x4573a1||this['_createdAtFormatted']),this['revisionNameView']['bind']('isEnabled')['to'](this,'isSelected',this,'isEnabled',(_0x98ef25,_0x3d2b9c)=>_0x98ef25&&_0x3d2b9c),this['revisionActionsView']=_0x3212e0&&_0x3212e0['length']?ni(this,_0x3212e0):'',this['revisionActionsView']&&this['revisionActionsView']['bind']('isEnabled')['to'](this),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision-wrapper',_0x2cfb3d['if']('isConfirm','ck-revision-history-sidebar__revision-wrapper_confirmation_visible')]},'children':[{'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision',_0x2cfb3d['if']('isEnabled','ck-disabled',_0x207a68=>!_0x207a68),_0x2cfb3d['if']('isSelected','ck-revision-history-sidebar__revision_selected'),_0x2cfb3d['if']('isHighlighted','ck-revision-history-sidebar__revision_highlighted'),_0x2cfb3d['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':_0x2cfb3d['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':_0xb52e1c}]},this['revisionActionsView']],'on':{'click':_0x2cfb3d['to'](_0x2cdca4=>{_0x2cdca4['srcElement']['closest']('.ck-thread__remove-confirm')||this['isReady']&&this['isEnabled']&&this['fire']('select',{'id':this['id']});})}}]});}['render'](){super['render']();const _0x2e1ebc=this['revisionNameView']['fieldView']['element'];this['listenTo'](_0x2e1ebc,'change',()=>{this['_requireRevisionName']&&!_0x2e1ebc['value']||this['fire']('setName',{'id':this['id'],'name':_0x2e1ebc['value']}),_0x2e1ebc['value']||(_0x2e1ebc['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(_0x56f257,_0x502ac8){const _0x1f0aa4=_0x4cc0d1['fromJSDate'](_0x56f257)['setLocale'](_0x502ac8),_0x3362c7=_0x4cc0d1['local'](),_0x50df76=_0x3362c7['minus']({'days':0x1})['startOf']('day');let _0x2251ad,_0x2a8636;return _0x1f0aa4['hasSame'](_0x3362c7,'day')?(_0x2251ad=_0x1f0aa4['startOf']('day')['toJSDate'](),_0x2a8636=_0x1f0aa4['toRelativeCalendar']()):_0x1f0aa4['hasSame'](_0x50df76,'day')?(_0x2251ad=_0x50df76['toJSDate'](),_0x2a8636=_0x1f0aa4['toRelativeCalendar']()):_0x1f0aa4['hasSame'](_0x3362c7,'week')?(_0x2251ad=_0x1f0aa4['startOf']('week')['toJSDate'](),_0x2a8636=_0x1f0aa4['weekdayLong']||''):_0x1f0aa4['hasSame'](_0x3362c7,'year')?(_0x2251ad=_0x1f0aa4['startOf']('month')['toJSDate'](),_0x2a8636=_0x1f0aa4['monthLong']||''):(_0x2251ad=_0x1f0aa4['startOf']('year')['toJSDate'](),_0x2a8636=String(_0x1f0aa4['year'])),{'startDate':_0x2251ad,'localizedPeriodName':_0x2a8636};}class mi extends _0x425e66{['startDate'];['revisionViews'];['_revisionActions'];['_requireRevisionName'];constructor(_0x28d847,_0x41f41b,_0x1bd0ac,_0x1ce18c){super(_0x28d847);const _0x4f66bf=di(_0x41f41b,this['locale']['uiLanguage'])['localizedPeriodName'];this['startDate']=_0x41f41b,this['revisionViews']=this['createCollection'](),this['_revisionActions']=_0x1bd0ac,this['_requireRevisionName']=_0x1ce18c,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':_0x4f66bf}]},{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__time-period__revisions']},'children':this['revisionViews']}]});}['addRevision'](_0x69fe52){const _0x4484ac=new ai(this['locale'],_0x69fe52,this['_revisionActions'],this['_requireRevisionName']);this['revisionViews']['add'](_0x4484ac);}['removeRevision'](_0x270338){const _0x29ba1e=this['revisionViews']['find'](_0x3912e1=>_0x3912e1['id']===_0x270338['id']);this['revisionViews']['remove'](_0x29ba1e);}}class as extends _0x425e66{constructor(_0x522c69){super(_0x522c69);const _0x539e93=new _0x2eee2a();_0x539e93['content']=_0xff5272['history'],this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all','ck-revision-history-sidebar__header']},'children':[_0x539e93,{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__header__label']},'children':[y(_0x522c69,'Revision\x20history')]}]});}}class ci extends _0x425e66{['timePeriodViews'];['_revisions'];['_revisionActions'];['_requireRevisionName'];constructor(_0x1bd932,_0x4e4aa2,_0x2e961c,_0x27d1dd){super(_0x1bd932);const _0x43f097=this['bindTemplate'];this['timePeriodViews']=this['createCollection'](),this['timePeriodViews']['delegate']('select')['to'](this),this['timePeriodViews']['delegate']('setName')['to'](this),this['_revisions']=_0x4e4aa2,this['_revisionActions']=_0x2e961c,this['_requireRevisionName']=_0x27d1dd,this['on']('select',(_0x5baf24,_0x3053b2)=>{this['fire']('revisionSelected',_0x3053b2);}),this['on']('setName',(_0x4c374a,_0x1c0bce)=>{this['fire']('revisionSetName',_0x1c0bce);}),this['set']('isEnabled',!0x1),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-rounded-corners','ck-revision-history-sidebar']},'children':[new as(_0x1bd932),{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__timeline',_0x43f097['if']('isEnabled','ck-disabled',_0x3acc91=>!_0x3acc91)]},'children':this['timePeriodViews']}]});}['render'](){super['render']();for(const _0x57ef34 of this['_revisions'])this['_addRevision'](_0x57ef34);this['_revisions']['on']('add',(_0x4fabd9,_0x2a2776)=>{this['_addRevision'](_0x2a2776);}),this['_revisions']['on']('remove',(_0x2bf08b,_0x27d7c4)=>{this['_removeRevision'](_0x27d7c4);});}get['revisionViews'](){return this['timePeriodViews']['map'](_0x54939c=>_0x54939c['revisionViews']['map'](_0x489d6d=>_0x489d6d))['flat']();}['selectRevision'](_0x45fa59){for(const _0x33d05a of this['revisionViews'])_0x45fa59&&_0x45fa59['id']===_0x33d05a['id']?_0x33d05a['select']():_0x33d05a['deselect']();}['highlightRevisions'](_0x502a42){for(const _0x17116b of this['revisionViews'])_0x502a42['some'](({id:_0x2d3dbf})=>_0x2d3dbf===_0x17116b['id'])?_0x17116b['highlight']():_0x17116b['unhighlight']();}['_addRevision'](_0x3cb1ff){const _0x2a4ea0=di(_0x3cb1ff['createdAt'],this['locale']['uiLanguage'])['startDate'];let _0x237f0a=this['timePeriodViews']['get'](0x0);_0x237f0a&&_0x237f0a['startDate']['getTime']()===_0x2a4ea0['getTime']()||(_0x237f0a=new mi(this['locale'],_0x2a4ea0,this['_revisionActions'],this['_requireRevisionName']),this['timePeriodViews']['add'](_0x237f0a)),_0x237f0a['addRevision'](_0x3cb1ff);}['_removeRevision'](_0x587807){const _0x68f0b4=di(_0x587807['createdAt'],this['locale']['uiLanguage'])['startDate'];this['_getTimePeriodViewByStartDate'](_0x68f0b4)['removeRevision'](_0x587807);}['_getTimePeriodViewByStartDate'](_0x313721){return this['timePeriodViews']['find'](_0x48a944=>_0x48a944['startDate']['getTime']()===_0x313721['getTime']());}}class w extends _0x1eb33f{['_revisionViewer'];['_revisionsRepository'];['_sidebarView'];static ['defaultRevisionActions']=/* #__PURE__ -- @preserve */
23
+ import{Plugin as _0x479ad8,Context as _0x4cf875,PendingActions as _0x975c77,icons as _0xf91905,Command as _0x428ee6,ElementApiMixin as rt,Editor as it}from'@ckeditor/ckeditor5-core/dist/index.js';import{ObservableMixin as _0x144d20,uid as _0x357570,Collection as _0x4f2db8,logWarning as _0xe0b67e,FocusTracker as _0x578934,KeystrokeHandler as _0x324cd3,scrollViewportToShowTarget as _0x3b41c4,ResizeObserver as mt,ElementReplacer as nt,CKEditorError as _0x3f5f5e}from'@ckeditor/ckeditor5-utils/dist/index.js';import{Users as _0x43a4a2,getMarkerDomElement as _0xb5f923,ConfirmMixin as _0x2956b2,sanitizeEditorConfig as _0x42fcae}from'ckeditor5-collaboration/dist/index.js';import{ViewDocumentFragment as _0x31938d,ViewText as _0x4fd5e8,ViewElement as _0x34bd52,Element as ft,Range as vt,Position as gt,DocumentFragment as wt,ViewContainerElement as _0x50db7d,ViewAttributeElement as _0x42467f,ViewEmptyElement as _0x56db70,ViewRawElement as _0x480490,ViewUIElement as _0xf76349,Text as _t}from'@ckeditor/ckeditor5-engine/dist/index.js';import{cloneDeep as _0x3a62e4,set as _0x35f405,unset as _0x14572e,isEqual as _0x363e4d}from'lodash-es';import{View as _0x1752ff,injectCssTransitionDisabler as ts,submitHandler as _0xdafe6f,LabeledFieldView as at,createLabeledInputText as _0x2aa03d,createDropdown as _0x4f3b69,ListView as te,ListItemView as _0x2e86f2,ButtonView as _0x3b5e90,MenuBarMenuView as _0x115cc4,MenuBarMenuListView as _0x45a097,MenuBarMenuListItemView as _0x2b92a9,MenuBarMenuListItemButtonView as _0x386808,ContextualBalloon as _0x73fac7,ToolbarSeparatorView as _0x1891ab,IconView as _0x325380,addListToDropdown as _0x4c3ca9,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 _0x179ff3}from'luxon';class a extends/* #__PURE__ -- @preserve */
24
+ _0x144d20(){['id'];['creator'];['authors'];['diffData'];['toVersion'];['fromVersion'];['model'];constructor(_0x244718){super(),this['id']=_0x244718['id']||_0x357570(),this['creator']=_0x244718['creator']||null,this['authors']=_0x244718['authors']||[],this['diffData']=_0x244718['diffData']||null,this['toVersion']=_0x244718['toVersion']||0x0,this['fromVersion']=_0x244718['fromVersion']||0x0,this['set']('name',_0x244718['name']||''),this['set']('createdAt',_0x244718['createdAt']||new Date()),this['set']('attributes',_0x244718['attributes']||{});}['setName'](_0x5b77f3){this['_update']({'name':_0x5b77f3});}['setAttribute'](_0x22d615,_0x24ab2e){const _0x2de734=_0x3a62e4(this['attributes']);_0x35f405(_0x2de734,_0x22d615,_0x24ab2e),this['_update']({'attributes':_0x2de734});}['removeAttribute'](_0x1506c6){const _0x5e5833=_0x3a62e4(this['attributes']);_0x14572e(_0x5e5833,_0x1506c6),this['_update']({'attributes':_0x5e5833});}['_update'](_0xd17772,_0x145b74=!0x1){let _0x300a3d=!0x1;const _0x191a18={'id':this['id']},_0x3769c9=['name','createdAt','diffData','authors','attributes','toVersion','fromVersion','creatorId'];for(const _0x1bbed of _0x3769c9){const _0x505f1c=_0xd17772[_0x1bbed];void 0x0!==_0x505f1c&&_0x505f1c!==this[_0x1bbed]&&(this[_0x1bbed]=_0x505f1c,_0x191a18[_0x1bbed]=_0x505f1c,_0x300a3d=!0x0);}_0x300a3d&&(_0x191a18['authors']&&(_0x191a18['authorsIds']=_0x191a18['authors']['map'](_0x3caba6=>_0x3caba6['id']),delete _0x191a18['authors']),this['fire']('_update',_0x191a18,_0x145b74));}['toJSON'](){return{'id':this['id'],'name':this['name'],'creatorId':this['creator']?this['creator']['id']:null,'authorsIds':this['authors']['map'](_0x289fae=>_0x289fae['id']),'diffData':this['diffData'],'createdAt':this['createdAt'],'attributes':this['attributes'],'fromVersion':this['fromVersion'],'toVersion':this['toVersion']};}}class A extends _0x479ad8{['_revisions'];static get['requires'](){return[_0x43a4a2];}static get['pluginName'](){return'RevisionsRepository';}get['length'](){return this['_revisions']['length'];}constructor(_0x2ec186){super(_0x2ec186),this['_revisions']=new _0x4f2db8();}['afterInit'](){!function(_0x497680){function _0x1bf3f8(_0x5677c1,_0x54c256,_0x474525){const _0x5bdde7={};_0x5bdde7[_0xd977a9([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])]={0x10:0xa,0x18:0xc,0x20:0xe},_0x5bdde7[_0xd977a9([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],_0x5bdde7[_0xd977a9([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],_0x5bdde7[_0xd977a9([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],_0x5bdde7[_0xd977a9([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],_0x5bdde7[_0xd977a9([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],_0x5bdde7[_0xd977a9([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],_0x5bdde7[_0xd977a9([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],_0x5bdde7[_0xd977a9([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],_0x5bdde7[_0xd977a9([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],_0x5bdde7[_0xd977a9([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 _0x2e0a5b=new Uint8Array(0x10);for(let _0x78955d=0xf;_0x78955d>=0x0;--_0x78955d)_0x2e0a5b[_0x78955d]=_0x474525%0x100,_0x474525=parseInt(_0x474525/0x100);let _0x272c9b=null,_0x2ae001=0x10;const _0x33c393=new Uint8Array(_0x54c256),_0x6b5309=[],_0x481d6e=[];_0xfcaa7a();for(let _0x38681d=0x0;_0x38681d<_0x5677c1[_0xd977a9([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x38681d++)0x10===_0x2ae001&&(_0x272c9b=_0x1b16fa(_0x2e0a5b),_0x2ae001=0x0,_0x255ba3(_0x2e0a5b)),_0x5677c1[_0x38681d]^=_0x272c9b[_0x2ae001++];return _0x5677c1;function _0x332077(_0x29bf14){const _0x3c62e5=[];for(let _0x22a540=0x0;_0x22a540<_0x29bf14[_0xd977a9([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x22a540+=0x4)_0x3c62e5[_0xd977a9([0x70,0x75,0x73,0x68])](_0x29bf14[_0x22a540]<<0x18|_0x29bf14[_0x22a540+0x1]<<0x10|_0x29bf14[_0x22a540+0x2]<<0x8|_0x29bf14[_0x22a540+0x3]);return _0x3c62e5;}function _0x255ba3(_0x3fd9bc){for(let _0x4339da=0xf;_0x4339da>=0x0;_0x4339da--){if(0xff!==_0x3fd9bc[_0x4339da]){_0x3fd9bc[_0x4339da]++;break;}_0x3fd9bc[_0x4339da]=0x0;}}function _0x1b16fa(_0x4a34a2){const _0x29cd07=_0x6b5309[_0xd977a9([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x1,_0x2ab99c=[0x0,0x0,0x0,0x0];let t=_0x332077(_0x4a34a2);for(let _0x5106ae=0x0;_0x5106ae<0x4;_0x5106ae++)t[_0x5106ae]^=_0x6b5309[0x0][_0x5106ae];for(let _0x47cb1d=0x1;_0x47cb1d<_0x29cd07;_0x47cb1d++){for(let _0x274df6=0x0;_0x274df6<0x4;_0x274df6++)_0x2ab99c[_0x274df6]=_0x5bdde7[_0xd977a9([0x54,0x31])][t[_0x274df6]>>0x18&0xff]^_0x5bdde7[_0xd977a9([0x54,0x32])][t[(_0x274df6+0x1)%0x4]>>0x10&0xff]^_0x5bdde7[_0xd977a9([0x54,0x33])][t[(_0x274df6+0x2)%0x4]>>0x8&0xff]^_0x5bdde7[_0xd977a9([0x54,0x34])][0xff&t[(_0x274df6+0x3)%0x4]]^_0x6b5309[_0x47cb1d][_0x274df6];t=_0x2ab99c[_0xd977a9([0x73,0x6c,0x69,0x63,0x65])]();}const _0xa9e6db=new Uint8Array(0x10);let _0x11f5a8;for(let _0x24caaf=0x0;_0x24caaf<0x4;_0x24caaf++)_0x11f5a8=_0x6b5309[_0x29cd07][_0x24caaf],_0xa9e6db[0x4*_0x24caaf]=0xff&(_0x5bdde7[_0xd977a9([0x53])][t[_0x24caaf]>>0x18&0xff]^_0x11f5a8>>0x18),_0xa9e6db[0x4*_0x24caaf+0x1]=0xff&(_0x5bdde7[_0xd977a9([0x53])][t[(_0x24caaf+0x1)%0x4]>>0x10&0xff]^_0x11f5a8>>0x10),_0xa9e6db[0x4*_0x24caaf+0x2]=0xff&(_0x5bdde7[_0xd977a9([0x53])][t[(_0x24caaf+0x2)%0x4]>>0x8&0xff]^_0x11f5a8>>0x8),_0xa9e6db[0x4*_0x24caaf+0x3]=0xff&(_0x5bdde7[_0xd977a9([0x53])][0xff&t[(_0x24caaf+0x3)%0x4]]^_0x11f5a8);return _0xa9e6db;}function _0xfcaa7a(){const _0xfdba33=_0x5bdde7[_0xd977a9([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])][_0x33c393[_0xd977a9([0x6c,0x65,0x6e,0x67,0x74,0x68])]];for(let _0x4a1dc7=0x0;_0x4a1dc7<=_0xfdba33;_0x4a1dc7++)_0x6b5309[_0xd977a9([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]),_0x481d6e[_0xd977a9([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]);const _0x2bca4c=0x4*(_0xfdba33+0x1),_0x266bd4=_0x33c393[_0xd977a9([0x6c,0x65,0x6e,0x67,0x74,0x68])]/0x4,_0x23909e=_0x332077(_0x33c393);let _0x511d2f;for(let _0x15a30=0x0;_0x15a30<_0x266bd4;_0x15a30++)_0x511d2f=_0x15a30>>0x2,_0x6b5309[_0x511d2f][_0x15a30%0x4]=_0x23909e[_0x15a30],_0x481d6e[_0xfdba33-_0x511d2f][_0x15a30%0x4]=_0x23909e[_0x15a30];let _0x1ef8e1,_0x44c2f7=0x0,t=_0x266bd4;for(;t<_0x2bca4c;){_0x1ef8e1=_0x23909e[_0x266bd4-0x1],_0x23909e[0x0]^=_0x5bdde7[_0xd977a9([0x53])][_0x1ef8e1>>0x10&0xff]<<0x18^_0x5bdde7[_0xd977a9([0x53])][_0x1ef8e1>>0x8&0xff]<<0x10^_0x5bdde7[_0xd977a9([0x53])][0xff&_0x1ef8e1]<<0x8^_0x5bdde7[_0xd977a9([0x53])][_0x1ef8e1>>0x18&0xff]^_0x5bdde7[_0xd977a9([0x72,0x63,0x6f,0x6e])][_0x44c2f7]<<0x18,_0x44c2f7+=0x1;for(let _0x28d04f=0x1;_0x28d04f<_0x266bd4/0x2;_0x28d04f++)_0x23909e[_0x28d04f]^=_0x23909e[_0x28d04f-0x1];_0x1ef8e1=_0x23909e[_0x266bd4/0x2-0x1],_0x23909e[_0x266bd4/0x2]^=_0x5bdde7[_0xd977a9([0x53])][0xff&_0x1ef8e1]^_0x5bdde7[_0xd977a9([0x53])][_0x1ef8e1>>0x8&0xff]<<0x8^_0x5bdde7[_0xd977a9([0x53])][_0x1ef8e1>>0x10&0xff]<<0x10^_0x5bdde7[_0xd977a9([0x53])][_0x1ef8e1>>0x18&0xff]<<0x18;for(let _0x4594b8=_0x266bd4/0x2+0x1;_0x4594b8<_0x266bd4;_0x4594b8++)_0x23909e[_0x4594b8]^=_0x23909e[_0x4594b8-0x1];let _0x46d23c,_0x3f81d7,_0x396fe6=0x0;for(;_0x396fe6<_0x266bd4&&t<_0x2bca4c;)_0x46d23c=t>>0x2,_0x3f81d7=t%0x4,_0x6b5309[_0x46d23c][_0x3f81d7]=_0x23909e[_0x396fe6],_0x481d6e[_0xfdba33-_0x46d23c][_0x3f81d7]=_0x23909e[_0x396fe6++],t++;}for(let _0x1649c2=0x1;_0x1649c2<_0xfdba33;_0x1649c2++)for(let _0x358e81=0x0;_0x358e81<0x4;_0x358e81++)_0x1ef8e1=_0x481d6e[_0x1649c2][_0x358e81],_0x481d6e[_0x1649c2][_0x358e81]=_0x5bdde7[_0xd977a9([0x55,0x31])][_0x1ef8e1>>0x18&0xff]^_0x5bdde7[_0xd977a9([0x55,0x32])][_0x1ef8e1>>0x10&0xff]^_0x5bdde7[_0xd977a9([0x55,0x33])][_0x1ef8e1>>0x8&0xff]^_0x5bdde7[_0xd977a9([0x55,0x34])][0xff&_0x1ef8e1];}}function _0xd977a9(_0x547523){return _0x547523['map'](_0x4837db=>String['fromCharCode'](_0x4837db))['join']('');}(_0x23749c=>{function _0x594cd9(){const _0x578e2f=[{[_0xd977a9([0x69,0x64])]:0x1,[_0xd977a9([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0xd977a9([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73]),[_0xd977a9([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0xd977a9([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0xd977a9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0xd977a9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0xd977a9([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0xd977a9([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0xd977a9([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]:[{[_0xd977a9([0x69,0x64])]:0x2,[_0xd977a9([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0xd977a9([0x54,0x72,0x61,0x63,0x6b,0x20,0x43,0x68,0x61,0x6e,0x67,0x65,0x73]),[_0xd977a9([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0xd977a9([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0xd977a9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0xd977a9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0xd977a9([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0xd977a9([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]),[_0xd977a9([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0xd977a9([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0xd977a9([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0xd977a9([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}}],[_0xd977a9([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0xd977a9([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0xd977a9([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0xd977a9([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0xd977a9([0x69,0x64])]:0x3,[_0xd977a9([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0xd977a9([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e]),[_0xd977a9([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0xd977a9([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x6f,0x6f,0x6b,0x75,0x70]),[_0xd977a9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0xd977a9([0x70,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0xd977a9([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0xd977a9([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0xd977a9([0x69,0x64])]:0x4,[_0xd977a9([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0xd977a9([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x20,0x48,0x69,0x73,0x74,0x6f,0x72,0x79]),[_0xd977a9([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0xd977a9([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0xd977a9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0xd977a9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0xd977a9([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0xd977a9([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]),[_0xd977a9([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0xd977a9([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0xd977a9([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0xd977a9([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0xd977a9([0x69,0x64])]:0x5,[_0xd977a9([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0xd977a9([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x20,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65]),[_0xd977a9([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0xd977a9([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65,0x55,0x49]),[_0xd977a9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0xd977a9([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]),[_0xd977a9([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0xd977a9([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0xd977a9([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0xd977a9([0x66,0x67,0x69])]:[0xc]}},{[_0xd977a9([0x69,0x64])]:0x6,[_0xd977a9([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0xd977a9([0x46,0x6f,0x72,0x6d,0x61,0x74,0x20,0x50,0x61,0x69,0x6e,0x74,0x65,0x72]),[_0xd977a9([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0xd977a9([0x46,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x55,0x49]),[_0xd977a9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0xd977a9([0x66,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0xd977a9([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0xd977a9([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0xd977a9([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0xd977a9([0x66,0x67,0x69])]:[0xc]}},{[_0xd977a9([0x69,0x64])]:0x7,[_0xd977a9([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0xd977a9([0x53,0x6c,0x61,0x73,0x68,0x20,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64]),[_0xd977a9([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0xd977a9([0x53,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x55,0x49]),[_0xd977a9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0xd977a9([0x73,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0xd977a9([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0xd977a9([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0xd977a9([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0xd977a9([0x66,0x67,0x69])]:[0xc]}},{[_0xd977a9([0x69,0x64])]:0x8,[_0xd977a9([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0xd977a9([0x54,0x61,0x62,0x6c,0x65,0x20,0x6f,0x66,0x20,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73]),[_0xd977a9([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0xd977a9([0x54,0x61,0x62,0x6c,0x65,0x4f,0x66,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0xd977a9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0xd977a9([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]),[_0xd977a9([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0xd977a9([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0xd977a9([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0xd977a9([0x66,0x67,0x69])]:[0xc]}},{[_0xd977a9([0x69,0x64])]:0x9,[_0xd977a9([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0xd977a9([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65]),[_0xd977a9([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0xd977a9([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x55,0x49]),[_0xd977a9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0xd977a9([0x74,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0xd977a9([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0xd977a9([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0xd977a9([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0xd977a9([0x66,0x67,0x69])]:[0xc,0xe]}},{[_0xd977a9([0x69,0x64])]:0xa,[_0xd977a9([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0xd977a9([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]),[_0xd977a9([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0xd977a9([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]),[_0xd977a9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0xd977a9([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]),[_0xd977a9([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0xd977a9([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0xd977a9([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0xd977a9([0x66,0x67,0x69])]:[0xc]}},{[_0xd977a9([0x69,0x64])]:0xb,[_0xd977a9([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0xd977a9([0x41,0x49,0x20,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74]),[_0xd977a9([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0xd977a9([0x41,0x49,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74,0x55,0x49]),[_0xd977a9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0xd977a9([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0xd977a9([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0xd977a9([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0xd977a9([0x69,0x64])]:0xc,[_0xd977a9([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0xd977a9([0x50,0x72,0x6f,0x64,0x75,0x63,0x74,0x69,0x76,0x69,0x74,0x79,0x20,0x70,0x61,0x63,0x6b])},{[_0xd977a9([0x69,0x64])]:0xd,[_0xd977a9([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0xd977a9([0x43,0x61,0x73,0x65,0x20,0x43,0x68,0x61,0x6e,0x67,0x65]),[_0xd977a9([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0xd977a9([0x43,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x55,0x49]),[_0xd977a9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0xd977a9([0x63,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0xd977a9([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0xd977a9([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0xd977a9([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0xd977a9([0x66,0x67,0x69])]:[0xc]}},{[_0xd977a9([0x69,0x64])]:0xe,[_0xd977a9([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0xd977a9([0x44,0x72,0x75,0x70,0x61,0x6c,0x20,0x70,0x61,0x63,0x6b]),[_0xd977a9([0x66,0x6f,0x72,0x62,0x69,0x64,0x64,0x65,0x6e,0x48,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0xd977a9([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])},{[_0xd977a9([0x69,0x64])]:0xf,[_0xd977a9([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0xd977a9([0x4d,0x75,0x6c,0x74,0x69,0x20,0x4c,0x65,0x76,0x65,0x6c,0x20,0x4c,0x69,0x73,0x74]),[_0xd977a9([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0xd977a9([0x4d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0xd977a9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0xd977a9([0x6d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0xd977a9([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0xd977a9([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0xd977a9([0x69,0x64])]:0x10,[_0xd977a9([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0xd977a9([0x4d,0x65,0x72,0x67,0x65,0x20,0x54,0x61,0x67,0x73]),[_0xd977a9([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0xd977a9([0x4d,0x65,0x72,0x67,0x65,0x54,0x61,0x67,0x73,0x55,0x49]),[_0xd977a9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0xd977a9([0x6d,0x65,0x72,0x67,0x65,0x54,0x61,0x67,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0xd977a9([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0xd977a9([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0xd977a9([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0xd977a9([0x66,0x67,0x69])]:[0xc]}}];return _0x48ec62(_0x578e2f),_0x578e2f;function _0x80b35d(_0x3926c5){return 0x1<<_0x3926c5-0x1;}function _0x48ec62(_0x507344){_0x507344[_0xd977a9([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x2c8e4f=>{_0x2c8e4f[_0xd977a9([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]=_0x80b35d(_0x2c8e4f[_0xd977a9([0x69,0x64])]),_0x3b3254(_0x2c8e4f)&&_0x2c8e4f[_0xd977a9([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x48ec62(_0x2c8e4f[_0xd977a9([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]);});}}function _0x3b3254(_0x35322f){return _0xd977a9([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])in _0x35322f;}const _0xf5348b=[0x1,0x55,0x4e,0x73,0xc6,0xff,0x32,0x70,0x53,0x57,0xa1],_0x590788=[0x7f,0x22,0x6,0xd3,0xa7,0x56,0x92,0xc7,0x84,0xa0,0x12];function _0x100bbd(_0x45ee24){const _0x100a47=[0x1d,0xdd,0xaf,0x5a,0xe7,0x85,0xef,0xf0,0x4b,0xb4];return _0x392ed0(_0x45ee24,new Uint8Array([..._0xf5348b,..._0x100a47,..._0x590788]));}function _0x392ed0(_0x24daa4,_0x361d0a){const _0xcdd225=_0x1ffc2c(_0x24daa4),_0x1faf86=Array[_0xd977a9([0x66,0x72,0x6f,0x6d])](_0x5ee7bc(_0xcdd225)),_0x267175=_0x1faf86[_0xd977a9([0x70,0x6f,0x70])](),_0x22a1dd=_0x1faf86[_0xd977a9([0x70,0x6f,0x70])]();return _0x42557f(_0x1bf3f8(_0x1faf86,_0x361d0a,_0x22a1dd+0x100*_0x267175));}function _0x1ffc2c(_0x6ab276){const _0x38b919=atob(_0x6ab276),[_0x258c88,_0x579a38]=_0x38b919[_0xd977a9([0x73,0x70,0x6c,0x69,0x74])](_0xd977a9([0x2d]));try{if(atob(_0x579a38))return atob(_0x258c88);}catch(_0x197d04){}return _0x38b919;}function _0x1dff80(_0x18ffce){try{const _0x2b1099=_0x100bbd(_0x18ffce),_0x1a8251=JSON[_0xd977a9([0x70,0x61,0x72,0x73,0x65])](_0x2b1099),_0x20accc=parseInt(_0x1a8251[_0xd977a9([0x31])]),_0x3501a0=_0x1a8251[_0xd977a9([0x32])]||'',_0x104b2f=parseInt(_0x1a8251[_0xd977a9([0x33])]),_0x4475c5=parseInt(_0x1a8251[_0xd977a9([0x34])])||0x0,_0x51a676=parseInt(_0x1a8251[_0xd977a9([0x35])])||0x0;return{[_0xd977a9([0x70,0x72,0x6f,0x64,0x75,0x63,0x74,0x4e,0x61,0x6d,0x65])]:_0x3501a0,[_0xd977a9([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])]:_0x4475c5,[_0xd977a9([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]:_0x20accc,[_0xd977a9([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]:_0x104b2f,[_0xd977a9([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]:_0x51a676};}catch(_0x1efeda){return null;}}const _0x32f726=_0x594cd9(),_0x1a9a1c={[_0xd977a9([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])]:_0x12780d,[_0xd977a9([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])]:_0x792a7a,[_0xd977a9([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])]:_0x405a77},_0x75f22b=_0x23749c[_0xd977a9([0x63,0x6f,0x6e,0x73,0x74,0x72,0x75,0x63,0x74,0x6f,0x72])][_0xd977a9([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])],_0x25d366=_0xd977a9([0x63,0x6f,0x6e,0x74,0x65,0x78,0x74])in _0x23749c?_0x23749c['context']:_0x23749c['editor'],_0x30ba77=_0xd977a9([0x34,0x30,0x34,0x38,0x31,0x32,0x34,0x30]),_0x313ebc=_0xd977a9([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]),_0x4332af=_0x25d366['config']['get'](_0xd977a9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x583510=_0x32f726[_0xd977a9([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3b3254)[_0xd977a9([0x66,0x69,0x6e,0x64])](_0x4ddcc4=>_0x4ddcc4[_0xd977a9([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]===_0x75f22b);function _0x372b85(_0x3d0a36,_0x3821e6){_0x1a9a1c[_0x3821e6[_0xd977a9([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]](_0x3d0a36,_0x3821e6),_0x3821e6[_0xd977a9([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x3821e6[_0xd977a9([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])][_0xd977a9([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1a6a60=>_0xda4135(_0x25d366,_0x1a6a60[_0xd977a9([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))[_0xd977a9([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x525ea2=>_0x372b85(_0x3d0a36,_0x525ea2));}function _0x12780d(_0x158adb,_0xbe8f3c){_0x4c29c9(_0x43e925(_0x158adb,_0xbe8f3c),_0xbe8f3c);}function _0x792a7a(_0x8a61c7,_0x315765){function _0x26b2c2(_0x397c37,_0x15201b){try{if(_0xda4135(_0x25d366,_0xd977a9([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))&&_0x397c37){const _0x4b2121=_0x86ebdb(_0x25d366,_0xd977a9([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))[_0xd977a9([0x5f,0x65,0x78,0x65,0x63,0x75,0x74,0x65,0x53,0x75,0x67,0x67,0x65,0x73,0x74,0x69,0x6f,0x6e])];if(parseInt(_0x4b2121)/0x2>_0x397c37[_0xd977a9([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])])return _0x1dc788(_0x15201b[_0xd977a9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0xd977a9([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}return _0x43e925(_0x397c37,_0x15201b);}catch(_0x51a4a4){return _0x1dc788(_0x15201b[_0xd977a9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0xd977a9([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}_0x4c29c9(_0x26b2c2(_0x8a61c7,_0x315765),_0x315765);}function _0x405a77(_0x5ad809,_0x34d1d6){const _0x45ee56=_0x590788[0x0]*_0xf5348b[0x1],_0x48be9d=_0x590788[0x0]*_0xf5348b[0x2],_0x828dd2=_0x590788[0x2]*_0xf5348b[0x2];_0xda4135(_0x25d366,_0xd977a9([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x86ebdb(_0x25d366,_0xd977a9([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0xd977a9([0x73,0x74,0x61,0x74,0x65])]==_0xd977a9([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&(window[_0x23e209()]=_0x828dd2);function _0x20fa47(_0x4cde45,_0xb1bee3){try{return _0x62d084()?_0x1dc788(_0xb1bee3[_0xd977a9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0xd977a9([0x56,0x61,0x6c,0x69,0x64])):_0x43e925(_0x4cde45,_0xb1bee3);}catch(_0x2a36f2){return _0x1dc788(_0xb1bee3[_0xd977a9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0xd977a9([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x452923(_0x5dc9b1,_0x1b9472){const _0x4a006c=0x7;if(_0x5dc9b1==_0x1b9472[_0xd977a9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0xd977a9([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]))_0x13d4e4();else{if(_0x5dc9b1==_0x1b9472[_0xd977a9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0xd977a9([0x54,0x72,0x69,0x61,0x6c])){const _0x45e33c=_0x19f3aa();_0x45e33c&&_0x5aa307(_0x45e33c,_0x1b9472[_0xd977a9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);const _0x4ca675=_0x5f15e4();window[_0xd977a9([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x5aa307(_0xd977a9([0x74,0x69,0x6d,0x65]),_0x1b9472[_0xd977a9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);},_0x4ca675);const _0x5574ef=_0x86ebdb(_0x25d366,_0xd977a9([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0xd977a9([0x5f,0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73])];_0x5574ef[_0xd977a9([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x4a006c?_0x5aa307(_0xd977a9([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x1b9472[_0xd977a9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]):_0x5574ef['on'](_0xd977a9([0x61,0x64,0x64]),()=>{_0x5574ef[_0xd977a9([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x4a006c&&_0x5aa307(_0xd977a9([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x1b9472[_0xd977a9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);});}}}function _0x19f3aa(){if(!_0xda4135(_0x25d366,_0xd977a9([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0xc88596 in window)if(Number['isNaN'](Number(_0xc88596))){if(window[_0xc88596]===_0x45ee56)return _0xd977a9([0x74,0x69,0x6d,0x65]);if(window[_0xc88596]===_0x48be9d)return _0xd977a9([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]);}return!0x1;}function _0x62d084(){if(!_0xda4135(_0x25d366,_0xd977a9([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x5653a2 in window)if(Number['isNaN'](Number(_0x5653a2))&&window[_0x5653a2]===_0x828dd2)return!0x0;return!0x1;}function _0x5aa307(_0x17b43e,_0x5cf4ad){_0x13d4e4(),_0x1dc788(_0x5cf4ad+_0xd977a9([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a])+_0x17b43e),window[_0x23e209()]=_0x17b43e===_0xd977a9([0x74,0x69,0x6d,0x65])?_0x45ee56:_0x48be9d;}function _0x5f15e4(){let _0x282650=_0x590788[0x6]*_0xf5348b[0x8]*_0xf5348b[0x6];return _0xda4135(_0x25d366,_0xd977a9([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x282650/=0xa),_0x282650;}function _0x13d4e4(){const _0x454dc0=_0x25d366;function _0x4807fa(){_0xda4135(_0x454dc0,_0xd977a9([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&(_0x86ebdb(_0x454dc0,_0xd977a9([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0xd977a9([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0xd977a9([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x86ebdb(_0x454dc0,_0xd977a9([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0xd977a9([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x86ebdb(_0x454dc0,_0xd977a9([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0xd977a9([0x75,0x70,0x64,0x61,0x74,0x65])]=_0xebd33d,_0x86ebdb(_0x454dc0,_0xd977a9([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0xd977a9([0x73,0x61,0x76,0x65,0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e])]=_0xebd33d,_0x454dc0[_0xd977a9([0x6d,0x6f,0x64,0x65,0x6c])][_0xd977a9([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0xebd33d,_0x454dc0[_0xd977a9([0x6d,0x6f,0x64,0x65,0x6c])][_0xd977a9([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0xebd33d,_0x454dc0[_0xd977a9([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0xd977a9([0x6d,0x6f,0x64,0x65,0x6c]))),_0xda4135(_0x454dc0,_0xd977a9([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x86ebdb(_0x454dc0,_0xd977a9([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0xd977a9([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0xd977a9([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x86ebdb(_0x454dc0,_0xd977a9([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0xd977a9([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x86ebdb(_0x454dc0,_0xd977a9([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0xd977a9([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])]=_0xebd33d,_0x86ebdb(_0x454dc0,_0xd977a9([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0xd977a9([0x5f,0x67,0x65,0x74,0x44,0x69,0x66,0x66])]=_0xebd33d);}_0x454dc0[_0xd977a9([0x73,0x74,0x61,0x74,0x65])]==_0xd977a9([0x72,0x65,0x61,0x64,0x79])?_0x4807fa():_0x454dc0[_0xd977a9([0x6f,0x6e,0x63,0x65])](_0xd977a9([0x72,0x65,0x61,0x64,0x79]),()=>{if(_0xda4135(_0x454dc0,_0xd977a9([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&_0x4807fa(),_0xda4135(_0x454dc0,_0xd977a9([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))){const _0x2e2914=_0x86ebdb(_0x454dc0,_0xd977a9([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79])),_0x22915c=_0x2e2914['getRevision'](0x0),_0x4a0d38=_0x2e2914['getEarlierVisibleRevision'](_0x22915c[_0xd977a9([0x69,0x64])]);_0x86ebdb(_0x454dc0,_0xd977a9([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0xd977a9([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])](_0x22915c[_0xd977a9([0x69,0x64])],_0x4a0d38?_0x4a0d38[_0xd977a9([0x69,0x64])]:null,0x1)['then'](()=>_0x4807fa());}});}_0x452923(_0x20fa47(_0x5ad809,_0x34d1d6),_0x34d1d6);}function _0x43e925(_0x291eda,_0x2e718f){try{return _0x13d0c5(_0x2e718f)?_0x1dc788(_0x2e718f[_0xd977a9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0xd977a9([0x56,0x61,0x6c,0x69,0x64])):_0x291eda&&_0x27d69a(_0x291eda[_0xd977a9([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])],_0x2e718f)?_0x291eda[_0xd977a9([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]&&!window[_0xd977a9([0x6f,0x70,0x65,0x6e])][_0xd977a9([0x63,0x6c,0x6f,0x73,0x65,0x64])]||parseInt(_0x30ba77)/0x2>_0x291eda[_0xd977a9([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]?_0x1dc788(_0x2e718f[_0xd977a9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0xd977a9([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])):_0x291eda[_0xd977a9([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]?_0x1dc788(_0x2e718f[_0xd977a9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0xd977a9([0x54,0x72,0x69,0x61,0x6c])):_0x1dc788(_0x2e718f[_0xd977a9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0xd977a9([0x56,0x61,0x6c,0x69,0x64])):_0x1dc788(_0x2e718f[_0xd977a9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0xd977a9([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}catch(_0x35350d){return _0x1dc788(_0x2e718f[_0xd977a9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0xd977a9([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x4c29c9(_0xe42831,_0x3a30fe){if(_0x25d366 instanceof _0x4cf875){const _0x4c6728=_0x25d366;_0xe42831==_0x3a30fe[_0xd977a9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0xd977a9([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x41081a(_0x4c6728):_0xe42831==_0x3a30fe[_0xd977a9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0xd977a9([0x54,0x72,0x69,0x61,0x6c])&&window[_0xd977a9([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x41081a(_0x4c6728),_0x1dc788(_0x3a30fe[_0xd977a9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0xd977a9([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65]));},_0x590788[0x6]*_0xf5348b[0x8]*_0xf5348b[0x6]),_0x4c6728[_0xd977a9([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])][_0xd977a9([0x6f,0x6e])](_0xd977a9([0x61,0x64,0x64]),(_0x55d84b,_0xf36a1)=>{_0xe42831!=_0x3a30fe[_0xd977a9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0xd977a9([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])&&_0xe42831!=_0x3a30fe[_0xd977a9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0xd977a9([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65])&&_0xe42831!=_0x3a30fe[_0xd977a9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0xd977a9([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])||_0x2adb1f(_0xf36a1);});}else{const _0x2c98b6=_0x25d366;_0xe42831==_0x3a30fe[_0xd977a9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0xd977a9([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x2adb1f(_0x2c98b6):_0xe42831==_0x3a30fe[_0xd977a9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0xd977a9([0x54,0x72,0x69,0x61,0x6c])&&_0x2c98b6[_0xd977a9([0x6f,0x6e])](_0xd977a9([0x72,0x65,0x61,0x64,0x79]),()=>{let _0x4b510f=0x0;_0x2c98b6[_0xd977a9([0x6d,0x6f,0x64,0x65,0x6c])][_0xd977a9([0x6f,0x6e])](_0xd977a9([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x4cc25e,_0x34a992)=>{_0x34a992[0x0][_0xd977a9([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x4b510f++,0x1f8===_0x4b510f&&(_0x2adb1f(_0x2c98b6),_0x1dc788(_0x3a30fe[_0xd977a9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0xd977a9([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])),_0x4cc25e[_0xd977a9([0x6f,0x66,0x66])]());},{'priority':_0xd977a9([0x68,0x69,0x67,0x68,0x65,0x73,0x74])});});}}function _0x1dc788(_0x491b77){const _0x3b026b=_0x23e209();return _0x25d366[_0x3b026b]=_0x491b77,_0x491b77;}function _0x23e209(){const _0x18ac31=String(window[_0xd977a9([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0xd977a9([0x6e,0x6f,0x77])]())[_0xd977a9([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0xd977a9([0x2e]),'');let _0x2fb165='';for(let _0xee8689=0x0;_0xee8689<_0x18ac31[_0xd977a9([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xee8689+=0x2){let _0x338866=parseInt(_0x18ac31[_0xd977a9([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xee8689,_0xee8689+0x2));_0x338866>=_0x313ebc[_0xd977a9([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x338866-=_0x313ebc[_0xd977a9([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x2fb165+=_0x313ebc[_0x338866];}return _0x2fb165;}function _0x41081a(_0x33a396){for(const _0x5b8092 of _0x33a396[_0xd977a9([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])])_0x2adb1f(_0x5b8092);_0x86ebdb(_0x33a396,_0xd977a9([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0xd977a9([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])](!0x0),_0x86ebdb(_0x33a396,_0xd977a9([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0xd977a9([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])]=_0xebd33d;}function _0x2adb1f(_0x38f601){function _0x4629bd(){_0x38f601[_0xd977a9([0x6d,0x6f,0x64,0x65,0x6c])][_0xd977a9([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0xebd33d,_0x38f601[_0xd977a9([0x6d,0x6f,0x64,0x65,0x6c])][_0xd977a9([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0xebd33d,_0x38f601[_0xd977a9([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0xd977a9([0x6d,0x6f,0x64,0x65,0x6c]));}_0x38f601[_0xd977a9([0x73,0x74,0x61,0x74,0x65])]==_0xd977a9([0x72,0x65,0x61,0x64,0x79])?_0x4629bd():_0x38f601[_0xd977a9([0x6f,0x6e,0x63,0x65])](_0xd977a9([0x72,0x65,0x61,0x64,0x79]),()=>_0x4629bd());}function _0xebd33d(){return null;}function _0x27d69a(_0x52c206,_0x4fc798){const _0x4e725e=!!(_0x52c206&_0x4fc798[_0xd977a9([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]),_0x4564d0=_0x2dd718(_0x52c206,_0x4fc798);return _0x4e725e||_0x4564d0;}function _0x2dd718(_0x4202be,_0x166cda){const _0x3fba6e=(_0x166cda[_0xd977a9([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{})[_0xd977a9([0x66,0x67,0x69])]||null;return!!_0x3fba6e&&_0x32f726[_0xd977a9([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3171ab=>_0x3fba6e[_0xd977a9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3171ab[_0xd977a9([0x69,0x64])]))[_0xd977a9([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x16f54a=>!_0x4e833d(_0x16f54a))[_0xd977a9([0x73,0x6f,0x6d,0x65])](_0x4ebeaf=>!!(_0x4202be&_0x4ebeaf[_0xd977a9([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]));}function _0x4e833d(_0x415937){const _0x4d1c94={[_0xd977a9([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])]:_0x3209d4};return!!_0x415937['forbiddenHandler']&&_0x4d1c94[_0x415937['forbiddenHandler']]();}function _0x3209d4(){return!window[_0xd977a9([0x44,0x72,0x75,0x70,0x61,0x6c])]||!_0xda4135(_0x25d366,_0xd977a9([0x64,0x72,0x75,0x70,0x61,0x6c,0x50,0x6f,0x77,0x65,0x72,0x65,0x64,0x42,0x79]));}function _0x13d0c5(_0x3832d4){if(!_0xda4135(_0x25d366,_0x3832d4[_0xd977a9([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))return!0x0;const _0x263c24=_0x3832d4[_0xd977a9([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{},_0x4a8d22=_0x263c24[_0xd977a9([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]||!0x1,_0x210afb=_0x263c24[_0xd977a9([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]||!0x1,_0x59157a=_0x263c24[_0xd977a9([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]||!0x1;if(_0xda4135(_0x25d366,_0xd977a9([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x86ebdb(_0x25d366,_0xd977a9([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0xd977a9([0x73,0x74,0x61,0x74,0x65])]==_0xd977a9([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&_0x4a8d22)return!0x0;if(_0xda4135(_0x25d366,_0xd977a9([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))&&_0x86ebdb(_0x25d366,_0xd977a9([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))[_0xd977a9([0x72,0x65,0x73,0x75,0x6c,0x74])]==_0xd977a9([0x65,0x6e,0x64])&&_0x210afb)return!0x0;return!(!_0xda4135(_0x25d366,_0xd977a9([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]))||_0x86ebdb(_0x25d366,_0xd977a9([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]))[_0xd977a9([0x72,0x65,0x73,0x75,0x6c,0x74])]!=_0xd977a9([0x65,0x6e,0x64])||!_0x59157a);}function _0xda4135(_0x50305e,_0x562bca){return _0x50305e[_0xd977a9([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0xd977a9([0x68,0x61,0x73])](_0x562bca);}function _0x86ebdb(_0x2ccb7d,_0xb3f0ff){return _0x2ccb7d[_0xd977a9([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0xd977a9([0x67,0x65,0x74])](_0xb3f0ff);}function _0x42557f(_0x51f7f8){let _0x14af14='';for(const _0x3c21b2 of _0x51f7f8)_0x14af14+=String[_0xd977a9([0x66,0x72,0x6f,0x6d,0x43,0x68,0x61,0x72,0x43,0x6f,0x64,0x65])](_0x3c21b2);return _0x14af14;}function _0x5ee7bc(_0x54a81b){const _0x23daf5=new Uint8Array(_0x54a81b[_0xd977a9([0x6c,0x65,0x6e,0x67,0x74,0x68])]);for(let _0x21c17b=0x0;_0x21c17b<_0x54a81b[_0xd977a9([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x21c17b++)_0x23daf5[_0x21c17b]=_0x54a81b[_0xd977a9([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x21c17b);return _0x23daf5;}_0x583510&&_0x372b85(_0x1dff80(_0x4332af),_0x583510);})(_0x497680);}(this);}['createRevision'](_0x4d5109){const _0x26bf4d=this['editor']['plugins']['get']('Users');return new a({'id':_0x4d5109['id'],'name':_0x4d5109['name'],'creator':_0x4d5109['creatorId']?_0x26bf4d['getUser'](_0x4d5109['creatorId']):null,'diffData':_0x4d5109['diffData']||_0x4d5109['data'],'authors':_0x4d5109['authorsIds']['map'](_0x54330c=>_0x26bf4d['getUser'](_0x54330c)),'createdAt':new Date(_0x4d5109['createdAt']),'attributes':_0x4d5109['attributes'],'fromVersion':_0x4d5109['fromVersion'],'toVersion':_0x4d5109['toVersion']});}['addRevision'](_0x407dc3,_0x31ff66=0x0){this['_revisions']['add'](_0x407dc3,_0x31ff66);}['getRevision'](_0x40d191){return this['_revisions']['get'](_0x40d191);}['getRevisions'](_0x3f7bf3={'toJSON':!0x1}){const _0x464498=Array['from'](this['_revisions']);return _0x464498['reverse'](),_0x3f7bf3['toJSON']?_0x464498['map'](_0x5c2e0f=>_0x5c2e0f['toJSON']()):_0x464498;}['getIndex'](_0x5f5524){return this['_revisions']['getIndex'](_0x5f5524);}['getEarlierVisibleRevision'](_0x53b558){const [,_0x408dde]=this['getRevisionsIterator'](_0x53b558,{'direction':'earlier'});return _0x408dde;}['getLaterVisibleRevision'](_0xf9be0e){const [,_0x5a94f5]=this['getRevisionsIterator'](_0xf9be0e,{'direction':'later'});return _0x5a94f5;}['getRevisionsInDiff'](_0x551f2a){const _0x55c7b0=[];for(const _0x2ae071 of this['getRevisionsIterator'](_0x551f2a['newRevisionId']))if(_0x55c7b0['push'](_0x2ae071),_0x2ae071['id']===_0x551f2a['oldRevisionId'])break;return _0x55c7b0;}*['getRevisionsIterator'](_0x1812a2,{direction:_0x41039c='earlier',filter:_0x269816=_0x50bb9a=>!0x0}={}){const _0x44e357='earlier'===_0x41039c?0x1:-0x1;let _0x1eaaae=this['_revisions']['get'](_0x1812a2),_0x1f3a36=this['getIndex'](_0x1eaaae);for(yield _0x1eaaae;_0x1eaaae;){if(_0x1f3a36+=_0x44e357,_0x1eaaae=this['getRevision'](_0x1f3a36),!_0x1eaaae)return;_0x269816(_0x1eaaae)&&(yield _0x1eaaae);}}}function y(_0x326110,_0x278a5d,_0x99f9e7){const t=_0x326110['t'];switch(_0x278a5d){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'},_0x99f9e7);case'X_OF_Y_CHANGES':return t({'string':'%0\x20of\x20%1','id':'X_OF_Y_CHANGES'},_0x99f9e7);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':_0x50db7d,'a':_0x42467f,'e':_0x56db70,'r':_0x480490,'u':_0xf76349};class l extends _0x479ad8{['adapter'];['currentRevision'];['repository'];['_revisionDataBuilder'];['_source'];['_initialRevisionId'];['_bufferedUpdates'];['_pendingAction'];['_continueCurrentRevision'];['_startingVersion'];['_loadedStateData'];static get['pluginName'](){return'RevisionTracker';}static get['requires'](){return[_0x43a4a2,A,_0x975c77];}constructor(_0x39ad26){super(_0x39ad26),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 _0x45a6b4=_0x357570();this['_source']={'history':this['editor']['model']['document']['history'],'getLatestVersion':()=>Promise['resolve'](this['editor']['model']['document']['version']),'getCurrentRevisionId':()=>_0x45a6b4},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 _0x47292d=this['repository']['getRevision'](0x0),_0x5a7135=_0x47292d&&null===_0x47292d['creator']?_0x47292d:null;if(this['_continueCurrentRevision']=!!_0x5a7135&&this['editor']['config']['get']('revisionHistory.resumeUnsavedRevision'),this['editor']['plugins']['has']('RealTimeCollaborationClient')){const _0x47ae65=this['_source']['getCurrentRevisionId'](),_0x5d28d8=this['repository']['getRevision'](_0x47ae65);if(_0x5d28d8)this['_startingVersion']=_0x5d28d8['fromVersion'],this['_continueCurrentRevision']=!0x1;else{const _0x2ecf2c=this['_source']['history']['_operations']['find'](_0x507de1=>!_0x507de1['_isInit']),_0x32c9bd=_0x2ecf2c?_0x2ecf2c['baseVersion']:this['_source']['history']['version'];_0x47292d?(_0x47292d['toVersion']<_0x32c9bd&&_0x47292d['_update']({'toVersion':_0x32c9bd}),this['_continueCurrentRevision']?(this['_source']['getCurrentRevisionId']=()=>_0x5a7135['id'],this['_startingVersion']=_0x5a7135['fromVersion']):(this['_startingVersion']=_0x47292d['toVersion'],this['_continueCurrentRevision']=!0x1)):(this['_startingVersion']=_0x32c9bd,this['_continueCurrentRevision']=!0x1);}}else _0x5a7135&&(this['editor']['model']['document']['history']['version']=Math['max'](_0x5a7135['toVersion'],this['editor']['model']['document']['history']['version']),_0x5a7135['fromVersion']===_0x5a7135['toVersion']?(0x0!==_0x5a7135['fromVersion']&&(this['_source']['getCurrentRevisionId']=()=>_0x5a7135['id']),this['_continueCurrentRevision']=!0x1):this['_continueCurrentRevision']&&(this['_source']['getCurrentRevisionId']=()=>_0x5a7135['id'],this['_startingVersion']=_0x5a7135['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',_0x330628=>!_0x330628);}async['afterInit'](){if(this['repository']['length']>0x0){const _0x24f817=this['repository']['getRevision'](0x0),_0x6183ac=await this['getRevisionDocumentData'](_0x24f817),_0x4c604e=await this['getRevisionRootsAttributes'](_0x24f817);this['_replaceEditorDataWithRevisionData'](_0x6183ac,_0x4c604e);}}['setSource'](_0x3d910a){this['_source']=_0x3d910a;}async['update'](){const _0x5bedc7=await this['_source']['getLatestVersion']();if(_0x5bedc7>this['currentRevision']['toVersion']){await this['_loadState']();const _0x31404a=this['buildRevisionData']({'revision':this['currentRevision'],'to':_0x5bedc7});_0x31404a['authors']=_0x31404a['authorsIds']['map'](_0x31cba6=>this['editor']['plugins']['get']('Users')['getUser'](_0x31cba6)),this['currentRevision']['_update'](_0x31404a);}}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'](_0x3c90fb={},_0x4ae551=null){const _0x1d336c=[];await this['_loadState'](),this['_continueCurrentRevision']=!0x1,_0x4ae551>this['currentRevision']['toVersion']&&(_0x4ae551=null),null===_0x4ae551&&(_0x4ae551=await this['_source']['getLatestVersion']());const _0x15ed85=this['_getFromVersion'](_0x4ae551),_0x108327=this['buildRevisionData']({'from':_0x15ed85,'to':_0x4ae551});if(this['currentRevision']['toVersion']<_0x4ae551){const _0xb13c9b=this['buildRevisionData']({'revision':this['currentRevision'],'from':_0x4ae551,'to':_0x4ae551});_0xb13c9b['authors']=[],_0xb13c9b['authorsIds']=[],_0xb13c9b['id']=this['currentRevision']['id'],this['currentRevision']['_update'](_0xb13c9b,!0x0),delete _0xb13c9b['authors'],_0x1d336c['push'](_0xb13c9b);}_0x3c90fb['creatorId']=this['editor']['plugins']['get']('Users')['me']['id'],_0x3c90fb['name']=_0x3c90fb['name']||null,_0x3c90fb['id']=_0x3c90fb['id']||_0x357570(),_0x3c90fb={..._0x3c90fb,..._0x108327};const _0x5691da=this['addRevisionData'](_0x3c90fb);_0x1d336c['push'](_0x3c90fb);const _0xedfaea=this['repository']['getIndex'](_0x5691da);if(0x0!==_0xedfaea){const _0x2e7d8e=this['repository']['getRevision'](_0xedfaea-0x1);if(_0x2e7d8e['fromVersion']!==_0x4ae551){const _0x5593e3=this['_revisionDataBuilder']['getData'](_0x4ae551,_0x2e7d8e['toVersion']),_0x106a8c={'id':_0x2e7d8e['id'],'diffData':_0x5593e3['diffData'],'authorsIds':_0x5593e3['authorsIds'],'authors':_0x5593e3['authorsIds']['map'](_0x3219f8=>this['editor']['plugins']['get']('Users')['getUser'](_0x3219f8)),'fromVersion':_0x4ae551};_0x2e7d8e===this['currentRevision']&&(_0x106a8c['createdAt']=new Date(_0x3c90fb['createdAt']['getTime']()+0xa)),_0x2e7d8e['_update'](_0x106a8c,!0x0),delete _0x106a8c['authors'],_0x1d336c['push'](_0x106a8c);}}if(this['adapter']){for(const _0x5006a7 of _0x1d336c)this['_bufferUpdate'](_0x5006a7['id'],_0x5006a7,!0x0);this['sendBufferedUpdates']();}return _0x5691da;}['addRevisionData'](_0x21ac08){const _0x1877b2=this['repository']['createRevision'](_0x21ac08);return this['adapter']&&_0x1877b2['on']('_update',(_0x275497,_0x4f6c7f,_0x1fbb9c)=>{_0x1fbb9c||(this['_bufferUpdate'](_0x4f6c7f['id'],_0x4f6c7f,!0x0),this['sendBufferedUpdates']());}),this['repository']['addRevision'](_0x1877b2,this['_findInsertionIndex'](_0x1877b2)),_0x1877b2;}async['getRevisionDocumentData'](_0x11a183){await this['_loadRevisionData'](_0x11a183);const _0x3cb08f={};for(const _0x54b93f in _0x11a183['diffData']){if(_0x11a183['diffData'][_0x54b93f]['attachChange']&&!_0x11a183['diffData'][_0x54b93f]['attachChange']['isAttached'])continue;const _0x193886=this['_removeRevisionMarkers'](JSON['parse'](_0x11a183['diffData'][_0x54b93f]['insertions'])),_0x3d95bb=this['editor']['editing']['view']['document'],_0x36cb0f=new _0x31938d(_0x3d95bb,_0x193886['map'](_0x2aa919=>B(_0x2aa919,this['editor'])));this['editor']['data']['processor']['useFillerType']('marked'),_0x3cb08f[_0x54b93f]=this['editor']['data']['processor']['toData'](_0x36cb0f),this['editor']['data']['processor']['useFillerType']('default');}return _0x3cb08f;}async['getRevisionRootsAttributes'](_0x16758b){await this['_loadRevisionData'](_0x16758b);const _0x2840fb={};for(const _0x2148eb in _0x16758b['diffData'])_0x16758b['diffData'][_0x2148eb]['attachChange']&&!_0x16758b['diffData'][_0x2148eb]['attachChange']['isAttached']||(_0x2840fb[_0x2148eb]=_0x16758b['diffData'][_0x2148eb]['attributesAfter']||{});return _0x2840fb;}['sendBufferedUpdates'](){if(0x0===this['_bufferedUpdates']['size'])return;if(this['_isPendingUpdate'])return;let _0x50c7e1=Array['from'](this['_bufferedUpdates']['values']());this['_bufferedUpdates']['clear']();for(let _0x1f5cac=0x0;_0x1f5cac<_0x50c7e1['length'];_0x1f5cac++){const _0xa700fb=_0x50c7e1[_0x1f5cac];let _0x4ee3f1=!0x1;for(const _0xf933be of Object['keys'](_0xa700fb))void 0x0===_0xa700fb[_0xf933be]?delete _0xa700fb[_0xf933be]:'id'!==_0xf933be&&(_0x4ee3f1=!0x0);_0x4ee3f1||(_0x50c7e1[_0x1f5cac]=null);}if(_0x50c7e1=_0x50c7e1['filter'](_0x53a06b=>null!==_0x53a06b),!_0x50c7e1['length'])return;for(let _0x85372a=0x0;_0x85372a<_0x50c7e1['length'];_0x85372a++){const _0x11abd3=_0x50c7e1[_0x85372a];void 0x0!==_0x11abd3['fromVersion']&&void 0x0===_0x11abd3['toVersion']&&(_0x11abd3['toVersion']=this['repository']['getRevision'](_0x11abd3['id'])['toVersion']),void 0x0!==_0x11abd3['toVersion']&&void 0x0===_0x11abd3['fromVersion']&&(_0x11abd3['fromVersion']=this['repository']['getRevision'](_0x11abd3['id'])['fromVersion']);}const _0x31dfdb=this['editor']['config']['get']('collaboration.channelId');this['_isPendingUpdate']=!0x0,this['_addPendingAction'](),this['adapter']['updateRevisions'](_0x50c7e1,_0x31dfdb)['finally'](()=>{this['_isPendingUpdate']=!0x1;})['then'](_0x507a9d=>{if(_0x507a9d){for(const _0x829303 of _0x507a9d)this['setRevisionData']({'id':_0x829303['id'],'createdAt':_0x829303['createdAt']});}this['_removePendingAction'](),this['sendBufferedUpdates']();});}['_replaceEditorDataWithRevisionData'](_0x5755be,_0x98c021){let _0x5b4770=this['editor']['config']['get']('initialData'),_0x4ef471=this['editor']['config']['get']('rootsAttributes');if(void 0x0===_0x5b4770){_0x5b4770={};for(const _0x2dbced of this['editor']['model']['document']['getRootNames']())_0x5b4770[_0x2dbced]='';}if('string'==typeof _0x5b4770&&(_0x5b4770={'main':_0x5b4770}),void 0x0===_0x4ef471){_0x4ef471={};for(const _0x4631b0 of this['editor']['model']['document']['getRootNames']())_0x4ef471[_0x4631b0]={};}let _0x25e756=!0x1;const _0x21c8cf=Object['keys'](_0x5b4770),_0x170e25=Object['keys'](_0x5755be);for(const _0x529e3a of _0x21c8cf){if(_0x5b4770[_0x529e3a]!==_0x5755be[_0x529e3a]&&''!==_0x5b4770[_0x529e3a]['trim']()){_0x25e756=!0x0;break;}if(!_0x363e4d(_0x4ef471[_0x529e3a],_0x98c021[_0x529e3a])&&Object['keys'](_0x4ef471[_0x529e3a])['length']>0x0){_0x25e756=!0x0;break;}}_0x25e756||(_0x25e756=_0x170e25['some'](_0x526aee=>!this['editor']['model']['document']['getRoot'](_0x526aee))),_0x25e756&&_0xe0b67e('editor-initial-data-replaced-with-revision-data',{'editorData':_0x5b4770,'editorRootsAttributes':_0x4ef471,'revisionData':_0x5755be,'revisionRootsAttributes':_0x98c021}),this['editor']['config']['set']('initialData',_0x5755be),this['editor']['config']['set']('rootsAttributes',_0x98c021);}['_addPendingAction'](){if(!this['_pendingAction']){const _0x19a89f=this['editor']['plugins']['get']('PendingActions');this['_pendingAction']=_0x19a89f['add'](y(this['editor']['locale'],'PENDING_ACTION_REVISION_HISTORY'));}}['_removePendingAction'](){this['_pendingAction']&&(this['editor']['plugins']['get']('PendingActions')['remove'](this['_pendingAction']),this['_pendingAction']=null);}['_findInsertionIndex'](_0x1d24b2){const _0x69b6fe=this['repository']['getRevisions']();_0x69b6fe['reverse']();let _0x1f2249=0x0;for(;_0x1f2249<_0x69b6fe['length'];){const _0x460448=_0x69b6fe[_0x1f2249];if(_0x460448===this['currentRevision']){_0x1f2249++;continue;}if(_0x460448['id']===this['_initialRevisionId'])break;const _0x595959=_0x1d24b2['toVersion']-_0x460448['toVersion']||_0x1d24b2['fromVersion']-_0x460448['fromVersion'];if(_0x595959>0x0)break;if(_0x595959<0x0)_0x1f2249++;else{if(!_0x1d24b2['creator']&&_0x460448['creator'])break;if(_0x460448['creator']||!_0x1d24b2['creator']){if(_0x1d24b2['createdAt']>_0x460448['createdAt'])break;_0x1f2249++;}else _0x1f2249++;}}return _0x1f2249;}['setRevisionData'](_0x4b42a4){const _0x50a0b5=this['repository']['getRevision'](_0x4b42a4['id']);if(_0x4b42a4['createdAt']&&(_0x4b42a4['createdAt']=new Date(_0x4b42a4['createdAt'])),_0x4b42a4['authorsIds']){const _0x42c0bd=this['editor']['plugins']['get']('Users');_0x4b42a4['authors']=_0x4b42a4['authorsIds']['map'](_0x2fd640=>_0x42c0bd['getUser'](_0x2fd640));}_0x50a0b5['_update'](_0x4b42a4,!0x0);}['buildRevisionData']({revision:_0x30c5d8=null,from:_0x354180=null,to:_0x50c9e8=null}){_0x354180=null!==_0x354180?_0x354180:_0x30c5d8['fromVersion'],_0x50c9e8=null!==_0x50c9e8?_0x50c9e8:_0x30c5d8['toVersion'];const _0x1453d6=this['_revisionDataBuilder']['getData'](_0x354180,_0x50c9e8),_0x46b4c0={'diffData':_0x1453d6['diffData'],'authorsIds':_0x1453d6['authorsIds'],'fromVersion':_0x354180,'toVersion':_0x50c9e8};if(!_0x30c5d8||_0x50c9e8!==_0x30c5d8['toVersion']){const _0x256002=_0x50c9e8-0x1,_0x3e066f=this['_source']['history']['getOperation'](_0x256002);_0x46b4c0['createdAt']=_0x3e066f&&_0x3e066f['createdAt']||new Date();}if(this['_loadedStateData']&&_0x354180===this['_loadedStateData']['fromVersion']){for(const _0x58562 of this['_loadedStateData']['authors'])_0x46b4c0['authorsIds']['includes'](_0x58562['id'])||_0x46b4c0['authorsIds']['push'](_0x58562['id']);}return _0x46b4c0;}['_loadRevisionData'](_0x1cb577){if(!_0x1cb577||_0x1cb577['diffData'])return Promise['resolve']();{const _0x479454=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0x479454,'revisionId':_0x1cb577['id']})['then'](_0x183b92=>{_0x1cb577['diffData']=_0x183b92['diffData'];});}}['_bufferUpdate'](_0x73626e,_0x3dddad,_0x113431){if(this['_bufferedUpdates']['has'](_0x73626e)){const _0x599f86=this['_bufferedUpdates']['get'](_0x73626e);_0x3dddad=_0x113431?{..._0x599f86,..._0x3dddad}:{..._0x3dddad,..._0x599f86};}this['_bufferedUpdates']['set'](_0x73626e,_0x3dddad);}['_getFromVersion'](_0x40a91c){const _0x2347a3=this['repository']['getRevisions']();_0x2347a3['reverse'](),_0x2347a3['shift']();const _0x245436=_0x2347a3['find'](_0x34943f=>_0x34943f['toVersion']<=_0x40a91c)['toVersion'];return _0x245436<this['_startingVersion']?this['_startingVersion']:_0x245436;}['_createInitialRevision'](_0x32f742){const _0x5219ff=this['repository']['getRevision'](this['repository']['length']-0x1);if(_0x5219ff)this['_initialRevisionId']=_0x5219ff['id'];else{const _0x39dc8e=!this['editor']['model']['document']['roots']['find'](_0x5973b8=>this['editor']['model']['hasContent'](_0x5973b8)),_0x35d4ea=this['editor']['plugins']['get']('Users')['me']['id'],_0x1c98e9=y(this['editor']['locale'],_0x39dc8e?'Empty\x20document':'Initial\x20revision');this['_makeRevision']({'from':_0x32f742,'to':_0x32f742,'id':this['_initialRevisionId'],'name':_0x1c98e9,'creatorId':_0x35d4ea});}}['_createCurrentRevision'](_0x3e3b5c){const _0xdee5d8=this['_source']['getCurrentRevisionId']();this['currentRevision']=this['repository']['getRevision'](_0xdee5d8),this['currentRevision']||(this['currentRevision']=this['_makeRevision']({'from':_0x3e3b5c,'to':_0x3e3b5c,'id':_0xdee5d8,'name':'','creatorId':null}));}['_makeRevision']({name:_0x20dd67,from:_0x108db4,to:_0x5ae95d,creatorId:_0x4a28d2,id:_0x5d8c2e}){const _0x413dc2=this['buildRevisionData']({'from':_0x108db4,'to':_0x5ae95d});_0x413dc2['name']=_0x20dd67,_0x413dc2['creatorId']=_0x4a28d2,_0x413dc2['id']=_0x5d8c2e;const _0x9118ff=this['addRevisionData'](_0x413dc2);return this['adapter']&&this['_bufferUpdate'](_0x413dc2['id'],_0x413dc2,!0x0),_0x9118ff;}['_setConversion'](){this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'});}['_removeRevisionMarkers'](_0x299882){return(_0x299882=_0x299882['filter'](_0x44189f=>!_0x44189f['name']||'revision-start'!==_0x44189f['name']&&'revision-end'!==_0x44189f['name']))['forEach'](_0x401ded=>{'string'!=typeof _0x401ded&&(_0x401ded['children']=this['_removeRevisionMarkers'](_0x401ded['children']),_0x401ded['attributes']=_0x401ded['attributes']['filter'](_0x34c38f=>!_0x34c38f[0x0]['startsWith']('data-revision-')));}),_0x299882;}}function B(_0x1ecbf5,_0x3238b){const _0x19490e=_0x3238b['editing']['view']['document'];if('string'==typeof _0x1ecbf5)return new _0x4fd5e8(_0x19490e,_0x1ecbf5);{const _0x5d3e05=_0x1ecbf5['children']['map'](_0x234365=>B(_0x234365,_0x3238b));return new(T[_0x1ecbf5['type']]||_0x34bd52)(_0x19490e,_0x1ecbf5['name'],_0x1ecbf5['attributes'],_0x5d3e05);}}class J{['editor'];['source'];['_savedMetaData'];['_lastFrom'];['_lastTo'];['_markers'];['_diffRoots'];['_diffRootsAttributes'];['_baseRoots'];['_baseRootsAttributes'];['_idsRoots'];['_baseIdsRoots'];['_touched'];['_touchedMarkers'];['_touchedRoots'];['_revisionId'];['_startingRevisionId'];constructor(_0x1ff407){this['editor']=_0x1ff407,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'](_0x55984f){this['source']=_0x55984f;const _0x333007=new Map(),_0x173ec9=new Map(),_0x226f63=this['editor']['model']['document']['roots']['map'](_0x59057f=>_0x59057f['rootName']);for(const _0x358a6c of _0x226f63){const _0x401714=this['editor']['model']['document']['getRoot'](_0x358a6c),_0x35d248=q(_0x401714);_0x333007['set'](_0x358a6c,_0x35d248),_0x173ec9['set'](_0x358a6c,Object['fromEntries'](_0x401714['getAttributes']()));}const _0x237e92=Array['from'](this['editor']['model']['markers'])['map'](_0x3ca0ab=>[_0x3ca0ab['name'],_0x3ca0ab['getRange']()]),_0x38e826=this['source']['version'];this['_saveMetaData'](_0x38e826,_0x333007,_0x237e92,_0x173ec9),this['_startingRevisionId']=this['_revisionId'];const _0x2962fc=new Map(),_0x564a8d=new Map();for(const _0x32d16b of _0x226f63){const _0x5bf567=G(_0x32d16b);_0x2962fc['set'](_0x32d16b,_0x5bf567),_0x564a8d['set'](_0x32d16b,{});}this['_saveMetaData'](Number['NEGATIVE_INFINITY'],_0x2962fc,[],_0x564a8d);}['getData'](_0x24b3d6,_0x2076a2){if(this['_lastFrom']===_0x24b3d6&&this['_lastTo']<=_0x2076a2)this['_savedMetaData']['size']>0x1&&this['_removeMetaData'](this['_lastTo']),this['_applyOperations'](this['_lastTo'],_0x2076a2,!0x0);else{if(!this['_savedMetaData']['has'](_0x24b3d6)){const _0x5e37d2=this['_getPreviousFrom'](_0x24b3d6);this['_calculateMetaData'](_0x5e37d2,_0x24b3d6,!0x1);}this['_calculateMetaData'](_0x24b3d6,_0x2076a2,!0x0);}return this['_lastFrom']=_0x24b3d6,this['_lastTo']=_0x2076a2,this['_getState']();}['loadState'](_0x1b07f2){this['_reset'](),this['_lastFrom']=_0x1b07f2['fromVersion'],this['_lastTo']=_0x1b07f2['toVersion'];for(const _0x1b6578 in _0x1b07f2['diffData']){const _0x3cf6e7=_0x1b07f2['diffData'][_0x1b6578]['attachChange'],_0x22823e=_0x3a62e4(_0x1b07f2['diffData'][_0x1b6578]['attributesBefore'])||{},_0x3e70f4=this['_makeModelFromViewString'](_0x1b07f2['diffData'][_0x1b6578]['deletions']);_0x3e70f4['rootName']=_0x1b6578,_0x3e70f4['_isAttached']=!_0x3cf6e7||!_0x3cf6e7['isAttached'],_0x3e70f4['isAttached']=()=>_0x3e70f4['_isAttached'],this['_baseRoots']['set'](_0x1b6578,_0x3e70f4),this['_baseRootsAttributes']['set'](_0x1b6578,_0x22823e),_0x3cf6e7&&this['_touchedRoots']['set'](_0x1b6578,_0x3cf6e7);const _0x2523f4=this['_makeIdsRoot'](_0x3e70f4);this['_baseIdsRoots']['set'](_0x1b6578,_0x2523f4);for(const [_0x4a5218,_0x2066b5]of _0x3e70f4['markers']){if(!_0x4a5218['startsWith']('revision:'))continue;const _0x5b3c27=_0x4a5218['split'](':')[0x2];for(const _0x538b83 of _0x2066b5['getWalker']({'singleCharacters':!0x0})){const _0x8f0350=this['_getVidAttributeName'](_0x538b83),_0x246357='elementEnd'==_0x538b83['type']?_0x538b83['previousPosition']['path']['slice'](0x0,-0x1):_0x538b83['previousPosition']['path'],_0x3c471d=_0x2523f4['getNodeByPath'](_0x246357)['getAttribute'](_0x8f0350);this['_touched']['set'](_0x3c471d,{'userId':_0x5b3c27});}}}this['_startingRevisionId']=this['_revisionId'];const _0x52e5c5=[...Array(this['_revisionId'])['keys']()]['slice'](0x1)['filter'](_0xcd92e7=>!this['_touched']['has'](_0xcd92e7));let _0x361dbd=0x0;const _0x3ff170=new Map();for(const _0x462e27 in _0x1b07f2['diffData']){const _0x3ac2f3=_0x1b07f2['diffData'][_0x462e27]['attachChange'],_0x261ab2=_0x3a62e4(_0x1b07f2['diffData'][_0x462e27]['attributesAfter'])||{},_0x471c22=this['_makeModelFromViewString'](_0x1b07f2['diffData'][_0x462e27]['insertions']);_0x471c22['rootName']=_0x462e27,_0x471c22['_isAttached']=!_0x3ac2f3||_0x3ac2f3['isAttached'],_0x471c22['isAttached']=()=>_0x471c22['_isAttached'],this['_diffRoots']['set'](_0x462e27,_0x471c22),this['_diffRootsAttributes']['set'](_0x462e27,_0x261ab2);const _0xec26e2=this['_makeIdsRoot'](_0x471c22,Number['NEGATIVE_INFINITY']);this['_idsRoots']['set'](_0x462e27,_0xec26e2),_0x3ff170['set'](_0x462e27,_0x471c22['isAttached']()?_0x261ab2:{});for(const [_0x4f7269,_0x17b25f]of _0x471c22['markers']){if(!_0x4f7269['startsWith']('revision:'))continue;const _0x2e5de5=_0x4f7269['split'](':')[0x2];for(const _0x555897 of _0x17b25f['getWalker']({'singleCharacters':!0x0})){const _0x2bf19b=this['_getVidAttributeName'](_0x555897),_0x5976bf=this['_revisionId']++,_0x500629='elementEnd'==_0x555897['type']?_0x555897['previousPosition']['path']['slice'](0x0,-0x1):_0x555897['previousPosition']['path'];_0xec26e2['getNodeByPath'](_0x500629)['_setAttribute'](_0x2bf19b,_0x5976bf),this['_touched']['set'](_0x5976bf,{'userId':_0x2e5de5});}}for(const _0xb5779d of this['editor']['model']['createRangeIn'](_0x471c22)['getWalker']({'singleCharacters':!0x0})){const _0x4bd71f=this['_getVidAttributeName'](_0xb5779d),_0x590619='elementEnd'==_0xb5779d['type']?_0xb5779d['previousPosition']['path']['slice'](0x0,-0x1):_0xb5779d['previousPosition']['path'],_0x32c3be=_0xec26e2['getNodeByPath'](_0x590619);_0x32c3be['getAttribute'](_0x4bd71f)>0x0||_0x32c3be['_setAttribute'](_0x4bd71f,_0x52e5c5[_0x361dbd++]);}for(const [_0x429e9c,_0x1d6d68]of _0x471c22['markers'])_0x429e9c['startsWith']('revision:')||this['_markers']['set'](_0x429e9c,_0x1d6d68);}const _0x59b692=G('$graveyard');this['_baseRoots']['set']('$graveyard',_0x59b692),this['_baseIdsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x59b692,0x1));const _0x1ae351=G('$graveyard');this['_diffRoots']['set']('$graveyard',_0x1ae351),this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x1ae351,0x1));const _0x230c4c=Array['from'](this['_diffRoots'])['map'](([_0x43d999,_0xa3395c])=>[_0x43d999,q(_0xa3395c)]);this['_saveMetaData'](this['_lastTo'],_0x230c4c,this['_markers'],_0x3ff170);}['_makeModelFromViewString'](_0x69bfb8){const _0x5a794d=JSON['parse'](_0x69bfb8),_0x3322d4=this['editor']['editing']['view']['document'],_0x29a750=new _0x31938d(_0x3322d4,_0x5a794d['map'](_0x17c154=>B(_0x17c154,this['editor'])));return this['editor']['data']['toModel'](_0x29a750);}['_saveMetaData'](_0x2cd82e,_0x369cd6,_0x5cd542,_0x42b28a){const _0x5dbfde=new Map(_0x369cd6),_0x3c16e4=new Map(_0x3a62e4(_0x42b28a)),_0x40f028=new Map();for(const [_0x1b0c17,_0x3f420f]of _0x5cd542)_0x40f028['set'](_0x1b0c17,{'start':_0x3f420f['start']['clone'](),'end':_0x3f420f['end']['clone'](),'rootName':_0x3f420f['root']['rootName']});this['_savedMetaData']['set'](_0x2cd82e,{'roots':_0x5dbfde,'markers':_0x40f028,'rootsAttributes':_0x3c16e4});}['_removeMetaData'](_0x42c575){this['_savedMetaData']['delete'](_0x42c575);}['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'](_0x5c6f6f,_0x5078b8=null){let _0x313637=null;_0x5c6f6f['is']('documentFragment')||(_0x313637=new ft(_0x5c6f6f['name'],{'vid_start':null===_0x5078b8?this['_revisionId']++:_0x5078b8++}));const _0x29e6e2=[];for(const _0x3f6f36 of _0x5c6f6f['getChildren']())if(_0x3f6f36['is']('element')){_0x29e6e2['push'](this['_makeIdsRoot'](_0x3f6f36,_0x5078b8));const _0x557123=_0x29e6e2[_0x29e6e2['length']-0x1];null!==_0x5078b8&&(_0x5078b8=_0x557123['is']('element','$text')?_0x557123['getAttribute']('vid')+0x1:_0x557123['getAttribute']('vid_end')+0x1);}else{for(let _0xb96d2c=0x0;_0xb96d2c<_0x3f6f36['offsetSize'];_0xb96d2c++)_0x29e6e2['push'](new ft('$text',{'vid':null===_0x5078b8?this['_revisionId']++:_0x5078b8++}));}if(_0x5c6f6f['is']('documentFragment')){const _0x372e28=G(_0x5c6f6f['rootName']);return _0x372e28['_insertChild'](0x0,_0x29e6e2),_0x372e28;}return _0x313637['_setAttribute']('vid_end',null===_0x5078b8?this['_revisionId']++:_0x5078b8++),_0x313637['_insertChild'](0x0,_0x29e6e2),_0x313637;}['_calculateMetaData'](_0x2d88de,_0x518e64,_0x3a704b){this['_reset']();const {roots:_0xf737de,markers:_0x33cabc,rootsAttributes:_0x4dd628}=this['_savedMetaData']['get'](_0x2d88de);this['_baseRoots']=new Map(_0xf737de),this['_baseRootsAttributes']=new Map(_0x3a62e4(_0x4dd628));for(const [_0x223964,_0x3cef9b]of this['_baseRoots'])if('$graveyard'!==_0x223964&&(this['_diffRoots']['set'](_0x223964,q(_0x3cef9b)),this['_diffRootsAttributes']=new Map(_0x3a62e4(_0x4dd628)),_0x3a704b)){const _0x3f80bf=this['_revisionId'];this['_idsRoots']['set'](_0x223964,this['_makeIdsRoot'](_0x3cef9b)),this['_baseIdsRoots']['set'](_0x223964,this['_makeIdsRoot'](_0x3cef9b,_0x3f80bf));}this['_startingRevisionId']=this['_revisionId'],this['_diffRoots']['set']('$graveyard',q(this['_baseRoots']['get']('$graveyard'))),_0x3a704b&&this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](this['_baseRoots']['get']('$graveyard')));for(const [_0x579b09,_0x4aaabe]of _0x33cabc){const _0x35a074=this['_baseRoots']['get'](_0x4aaabe['rootName']),_0x3b2744=this['_diffRoots']['get'](_0x4aaabe['rootName']),_0x376702=new vt(this['_fixPosition'](_0x4aaabe['start'],_0x35a074),this['_fixPosition'](_0x4aaabe['end'],_0x35a074)),_0x3d369c=this['_fixRange'](_0x376702,_0x3b2744);_0x35a074['markers']['set'](_0x579b09,_0x376702),this['_markers']['set'](_0x579b09,_0x3d369c);}this['_applyOperations'](_0x2d88de,_0x518e64,_0x3a704b);}['_applyOperations'](_0x399f9e,_0x91c395,_0x41ad3d){for(const _0x2eca74 of this['source']['getOperations'](_0x399f9e,_0x91c395))this['_handleOperation'](_0x2eca74,_0x41ad3d);for(const _0x40d6fb of this['_diffRoots']['values']())_0x40d6fb['markers']['clear']();for(const [_0x2866c5,_0x274ad9]of this['_markers']){this['_diffRoots']['get'](_0x274ad9['root']['rootName'])['markers']['set'](_0x2866c5,_0x274ad9['clone']());}const _0x36c02d=new Map(),_0x5c938a=new Map();for(const [_0x56a9f6,_0xdd80f2]of this['_diffRoots'])_0x36c02d['set'](_0x56a9f6,q(_0xdd80f2)),_0x5c938a['set'](_0x56a9f6,this['_diffRootsAttributes']['get'](_0x56a9f6));this['_saveMetaData'](_0x91c395,_0x36c02d,this['_markers'],_0x5c938a);}['_getPreviousFrom'](_0x298345){const _0x32bde0=Array['from'](this['_savedMetaData']['keys']());_0x32bde0['sort']((_0x252b1e,_0x4b1875)=>_0x252b1e-_0x4b1875),_0x32bde0['reverse']();for(const _0x1f522e of _0x32bde0)if(_0x1f522e<_0x298345)return _0x1f522e;return Number['NEGATIVE_INFINITY'];}['_copyMarkers'](_0x38d4e5,_0x23ef35){const _0x194b04=Array['from'](_0x23ef35['markers'])['map'](([_0x3e1476,_0x43b6a3])=>[_0x3e1476,this['_fixRange'](_0x43b6a3,_0x38d4e5)]);_0x38d4e5['markers']=new Map(_0x194b04);}['_transformMarkers'](_0xaf946e){for(const _0x5620f3 of this['_markers']['values']()){const _0x170d83=_0x5620f3['getTransformedByOperation'](_0xaf946e),_0x2b92ea=vt['_createFromRanges'](_0x170d83);_0x5620f3['start']=_0x2b92ea['start'],_0x5620f3['end']=_0x2b92ea['end'];}}['_handleOperation'](_0x25854d,_0x14ef7d){if('addRoot'==_0x25854d['type']||'detachRoot'==_0x25854d['type'])return void this['_handleRootOperation'](_0x25854d,_0x14ef7d);if('insert'==_0x25854d['type']){const _0x5140be=_0x25854d['position']['root']['rootName'];this['_diffRoots']['has'](_0x5140be)||(this['_diffRoots']['set'](_0x5140be,G(_0x5140be,!0x0)),this['_diffRootsAttributes']['set'](_0x5140be,{}),_0x14ef7d&&this['_idsRoots']['set'](_0x5140be,G(_0x5140be,!0x0)));}else{if('addRootAttribute'==_0x25854d['type']||'removeRootAttribute'==_0x25854d['type']||'changeRootAttribute'==_0x25854d['type'])return void this['_handleRootAttributeOperation'](_0x25854d);}const _0x136ed4=this['_cloneOperation'](_0x25854d,this['_diffRoots']);if('marker'!==_0x25854d['type']&&(_0x136ed4['_execute'](),this['_transformMarkers'](_0x136ed4)),_0x14ef7d)switch(_0x136ed4['type']){case'insert':this['_handleInsertOperation'](_0x25854d);break;case'move':case'remove':case'reinsert':this['_handleMoveOperation'](_0x25854d);break;case'merge':this['_handleMergeOperation'](_0x25854d);break;case'split':this['_handleSplitOperation'](_0x25854d);break;case'marker':this['_handleMarkerOperation'](_0x25854d);}}['_cloneOperation'](_0x4324cf,_0xc71beb){const _0x1796a2=_0x4324cf['clone']();return _0x1796a2['_authorId']=_0x4324cf['_authorId'],this['_fixOperation'](_0x1796a2,_0xc71beb),_0x1796a2;}['_getBaseVids'](_0x471f78){return _0x471f78['map'](_0x3b9fa2=>{const _0x1447fc=this['_getVidAttributeName'](_0x3b9fa2);return Number(_0x3b9fa2['item']['getAttribute'](_0x1447fc));});}['_generateTape'](_0x4b04bd,_0x143753){if(_0x4b04bd['is']('element','$text'))_0x143753['push']({'item':_0x4b04bd,'type':'text'});else{_0x4b04bd['is']('element')&&_0x143753['push']({'item':_0x4b04bd,'type':'elementStart'});for(const _0x47f873 of _0x4b04bd['getChildren']())this['_generateTape'](_0x47f873,_0x143753);_0x4b04bd['is']('element')&&_0x143753['push']({'item':_0x4b04bd,'type':'elementEnd'});}return _0x143753;}['_getState'](){const _0x3d1eea=new Map(this['_touched']),_0x304f19=new Map(_0x3d1eea),_0x9f78e1=new Map(),_0x6cf295={'insertions':{},'deletions':{}},_0x44bfb0={'insertions':{},'deletions':{}},_0x514edf=new Map(),_0x8868d=new Set([...this['_baseRoots']['keys'](),...this['_diffRoots']['keys']()]);_0x8868d['delete']('$graveyard');for(const _0x14c3f6 of _0x8868d){const _0x3bf686=this['_diffRoots']['get'](_0x14c3f6)||G(_0x14c3f6,!0x1),_0x3c50b9=this['_baseRoots']['get'](_0x14c3f6)||G(_0x14c3f6,!0x1);_0x3bf686['isAttached']()||_0x3c50b9['isAttached']()?(_0x6cf295['insertions'][_0x14c3f6]=q(_0x3bf686),_0x6cf295['deletions'][_0x14c3f6]=q(_0x3c50b9),this['_copyMarkers'](_0x6cf295['deletions'][_0x14c3f6],_0x3c50b9),this['_copyMarkers'](_0x6cf295['insertions'][_0x14c3f6],_0x3bf686),_0x44bfb0['insertions'][_0x14c3f6]=this['_generateTape'](this['_idsRoots']['get'](_0x14c3f6),[]),_0x44bfb0['deletions'][_0x14c3f6]=this['_generateTape'](this['_baseIdsRoots']['get'](_0x14c3f6)||G(_0x14c3f6,!0x1),[])):_0x8868d['delete'](_0x14c3f6);}for(const _0x27ee7d of _0x8868d){const _0x2d07c6=_0x44bfb0['insertions'][_0x27ee7d];for(const _0x971f93 of _0x2d07c6){const _0x27ce88=this['_getVidAttributeName'](_0x971f93),_0x45b6a6=_0x971f93['item']['getAttribute'](_0x27ce88);_0x304f19['delete'](_0x45b6a6),_0x45b6a6>=this['_startingRevisionId']&&_0x9f78e1['set'](_0x45b6a6,_0x3d1eea['get'](_0x45b6a6));}}for(const _0x61babd of _0x8868d){const _0x3b6b06=_0x44bfb0['insertions'][_0x61babd],_0x1056c0=this['_getBaseVids'](_0x44bfb0['deletions'][_0x61babd]);let _0x3299c5=0x0;for(const _0x5e191e of _0x3b6b06){const _0x3a2867=this['_getVidAttributeName'](_0x5e191e),_0x17550d=_0x5e191e['item']['getAttribute'](_0x3a2867);if(!_0x9f78e1['has'](_0x17550d)&&!_0x514edf['has'](_0x17550d)){if(_0x304f19['has'](_0x17550d))_0x3299c5++;else{if(_0x17550d!=_0x1056c0[_0x3299c5]){const _0x5d9e5f=_0x3d1eea['get'](_0x17550d)||_0x3d1eea['get'](_0x1056c0[_0x3299c5]);for(;_0x17550d!=_0x1056c0[_0x3299c5];)_0x304f19['has'](_0x1056c0[_0x3299c5])||(_0x514edf['set'](_0x1056c0[_0x3299c5],_0x5d9e5f),_0x3d1eea['set'](_0x1056c0[_0x3299c5],_0x5d9e5f)),_0x3299c5++;}_0x3299c5++;}}}}for(const _0x89e8ed of _0x8868d){const _0x1b071e=_0x44bfb0['insertions'][_0x89e8ed];for(const _0x3ab60f of _0x1b071e){const _0x35bff3=this['_getVidAttributeName'](_0x3ab60f),_0xdacaed=_0x3ab60f['item']['getAttribute'](_0x35bff3);if(_0x514edf['has'](_0xdacaed)){const _0x4a6473=_0x514edf['get'](_0xdacaed);_0x304f19['has'](_0xdacaed)||_0x304f19['set'](_0xdacaed,{..._0x4a6473}),_0x9f78e1['set'](_0xdacaed,{..._0x4a6473});}}}for(const _0x24dd06 of _0x304f19['keys']())_0x24dd06>=this['_startingRevisionId']&&_0x304f19['delete'](_0x24dd06);const _0x4538e2=new Map();for(const _0x1d4c8d of _0x8868d){let _0xf086aa=_0x44bfb0['insertions'][_0x1d4c8d];for(const _0x55a359 of _0xf086aa)if(_0x55a359['item']['is']('element','tableCell')){const _0x5d4d96=this['_getVidAttributeName'](_0x55a359),_0x1acdc9=_0x55a359['item']['getAttribute'](_0x5d4d96);if(_0x9f78e1['has'](_0x1acdc9)){const _0x4cbfdc=_0x55a359['item']['parent']['parent']['getAttribute']('vid_start'),_0x2a6e75=_0x4538e2['get'](_0x4cbfdc)||new Set();_0x2a6e75['add'](_0x9f78e1['get'](_0x1acdc9)['userId']),_0x4538e2['set'](_0x4cbfdc,_0x2a6e75);}}_0xf086aa=_0x44bfb0['deletions'][_0x1d4c8d];for(const _0x3ab384 of _0xf086aa)if(_0x3ab384['item']['is']('element','tableCell')){const _0x5d073b=this['_getVidAttributeName'](_0x3ab384),_0x3c9edb=_0x3ab384['item']['getAttribute'](_0x5d073b);if(_0x304f19['has'](_0x3c9edb)){const _0x21a8dc=_0x3ab384['item']['parent']['parent']['getAttribute']('vid_start'),_0x518c4a=_0x4538e2['get'](_0x21a8dc)||new Set();_0x518c4a['add'](_0x304f19['get'](_0x3c9edb)['userId']),_0x4538e2['set'](_0x21a8dc,_0x518c4a);}}for(const _0x10c67c of _0x4538e2['keys']())(_0x9f78e1['has'](_0x10c67c)||_0x304f19['has'](_0x10c67c))&&_0x4538e2['delete'](_0x10c67c);}for(const _0x1c0b2b of _0x8868d){const _0x3a94d5=_0x44bfb0['insertions'][_0x1c0b2b];let _0x1f469c=null,_0xe07494=null;for(const _0x194ba7 of _0x3a94d5){const _0x402245=this['_getVidAttributeName'](_0x194ba7),_0x1fe21a=_0x194ba7['item']['getAttribute'](_0x402245),_0x55f719=_0x4538e2['get'](_0x1fe21a);_0x55f719&&'elementStart'==_0x194ba7['type']&&(_0x1f469c=Array['from'](_0x55f719)[0x0],_0xe07494=_0x194ba7['item']['getAttribute']('vid_end')),_0x1f469c&&(_0x304f19['set'](_0x1fe21a,{'userId':_0x1f469c}),_0x9f78e1['set'](_0x1fe21a,{'userId':_0x1f469c})),_0x1fe21a==_0xe07494&&(_0x1f469c=null,_0xe07494=null);}}const _0x51acb3={},_0x5d4c6e=new Set();for(const _0x5e9553 of _0x8868d){const _0x1aa826=_0x6cf295['deletions'][_0x5e9553],_0x5970a9=_0x6cf295['insertions'][_0x5e9553];for(const {userId:_0x2b94af}of this['_touchedMarkers']['values']())null!==_0x2b94af&&_0x5d4c6e['add'](_0x2b94af);for(const {userId:_0x42b914}of this['_touchedRoots']['values']())null!==_0x42b914&&_0x5d4c6e['add'](_0x42b914);this['_markChanges'](_0x5970a9,_0x44bfb0['insertions'][_0x5e9553],_0x9f78e1,'insertion',_0x5d4c6e),this['_markChanges'](_0x1aa826,_0x44bfb0['deletions'][_0x5e9553],_0x304f19,'deletion',_0x5d4c6e),_0x51acb3[_0x5e9553]={'insertions':this['_prepareViewToSave'](_0x5970a9),'deletions':this['_prepareViewToSave'](_0x1aa826),'attachChange':this['_touchedRoots']['get'](_0x5e9553)||null,'attributesBefore':_0x3a62e4(this['_baseRootsAttributes']['get'](_0x5e9553))||{},'attributesAfter':_0x3a62e4(this['_diffRootsAttributes']['get'](_0x5e9553))};}return{'diffData':_0x51acb3,'authorsIds':Array['from'](_0x5d4c6e)};}['_processRootBeforeSave'](_0x243755){for(const [,_0x2846a8]of _0x243755['markers']){const _0x2054e8=_0x2846a8['start']['getAncestors']()['filter'](_0x15cee9=>'tableCell'==_0x15cee9['name']);for(const _0x329e34 of _0x2054e8)0x1==_0x329e34['childCount']&&_0x329e34['getChild'](0x0)['is']('element','paragraph')&&_0x329e34['getChild'](0x0)['_setAttribute']('keepParagraph',!0x0);}}['_prepareViewToSave'](_0x52287a){this['_processRootBeforeSave'](_0x52287a);const _0x585cda=this['editor']['data']['toView'](_0x52287a,{}),_0x364748=Array['from'](_0x585cda['getChildren']())['map'](_0x4411ad=>this['_getViewJson'](_0x4411ad));return JSON['stringify'](_0x364748);}['_getViewJson'](_0x2a8db0){if(_0x2a8db0['is']('$text'))return _0x2a8db0['data'];{const _0x5a7611=_0x2a8db0;return{'type':Object['keys'](T)['find'](_0x32e8be=>_0x2a8db0 instanceof T[_0x32e8be]),'name':_0x5a7611['name'],'attributes':Array['from'](_0x5a7611['getAttributes']()),'children':Array['from'](_0x5a7611['getChildren']())['map'](_0x2c28bc=>this['_getViewJson'](_0x2c28bc))};}}['_markChanges'](_0x21370d,_0x2e2aa8,_0x71b5be,_0x41c0f9,_0x6fa540){let _0x36e537=null,_0x15bd40=null,_0x1b7df7=0x0;const _0x10bf77=this['editor']['model'];for(let _0x3242f0=0x0;_0x3242f0<_0x2e2aa8['length'];_0x3242f0++){const _0xbbf030=this['_getVidAttributeName'](_0x2e2aa8[_0x3242f0]),_0x3cdcc7=_0x2e2aa8[_0x3242f0]['item']['getAttribute'](_0xbbf030),_0x307e5a=_0x71b5be['get'](_0x3cdcc7),_0x32ac19=_0x3242f0==_0x2e2aa8['length']-0x1;(!_0x36e537&&_0x307e5a&&(_0x36e537=_0x307e5a,_0x15bd40=_0x2e2aa8[_0x3242f0]),_0x36e537&&(!_0x307e5a||_0x307e5a['userId']!=_0x36e537['userId']))&&(_0x1bf789(_0x307e5a,L(_0x15bd40,_0x21370d,_0x10bf77),L(_0x2e2aa8[_0x3242f0],_0x21370d,_0x10bf77)),_0x36e537=_0x307e5a||null,_0x15bd40=_0x307e5a?_0x2e2aa8[_0x3242f0]:null),_0x36e537&&_0x32ac19&&_0x1bf789(_0x307e5a,L(_0x15bd40,_0x21370d,_0x10bf77),W(_0x2e2aa8[_0x3242f0],_0x21370d,_0x10bf77));}function _0x1bf789(_0x1a989c,_0x107108,_0xfcec15){const _0x5c8b87=_0x36e537['userId'],_0x34eb52='revision:'+_0x41c0f9+':'+_0x5c8b87+':'+_0x1b7df7++,_0x238c10=_0x10bf77['createRange'](_0x107108,_0xfcec15);_0x21370d['markers']['set'](_0x34eb52,_0x238c10),null!==_0x5c8b87&&_0x6fa540['add'](_0x5c8b87);}}['_getVidAttributeName'](_0x26aa9c){switch(_0x26aa9c['type']){case'elementStart':return'vid_start';case'elementEnd':return'vid_end';default:return'vid';}}['_fixOperation'](_0x3f8d39,_0x87a029){_0x3f8d39['baseVersion']=null;for(const _0x2c64c3 in _0x3f8d39){const _0x48c112=_0x3f8d39[_0x2c64c3];if(_0x48c112 instanceof gt){const _0x8520b=_0x87a029['get'](_0x48c112['root']['rootName']);_0x3f8d39[_0x2c64c3]=this['_fixPosition'](_0x48c112,_0x8520b);}if(_0x48c112 instanceof vt){const _0xd40fa7=_0x87a029['get'](_0x48c112['root']['rootName']);_0x3f8d39[_0x2c64c3]=this['_fixRange'](_0x48c112,_0xd40fa7);}'root'===_0x2c64c3&&(_0x3f8d39['root']=_0x87a029['get'](_0x3f8d39['root']['rootName']));}}['_fixRange'](_0x5d1316,_0x4292e9){return this['editor']['model']['createRange'](this['_fixPosition'](_0x5d1316['start'],_0x4292e9),this['_fixPosition'](_0x5d1316['end'],_0x4292e9));}['_fixPosition'](_0x5f03b1,_0x580a12){return this['editor']['model']['createPositionFromPath'](_0x580a12,_0x5f03b1['path'],_0x5f03b1['stickiness']);}['_handleInsertOperation'](_0x2ed478){const _0xbd37d7=this['_idsRoots']['get'](_0x2ed478['position']['root']['rootName']),_0x848be2=this['_fixPosition'](_0x2ed478['position'],_0xbd37d7),_0xe59628=null===_0x2ed478['_authorId']?null:_0x2ed478['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x343e7d=_0x848be2['parent'],_0x5727e8=this['_revisionId'],_0x113f24=[];for(const _0x3d1853 of _0x2ed478['nodes'])if(_0x3d1853['is']('element'))_0x113f24['push'](this['_makeIdsRoot'](_0x3d1853));else{for(let _0x2c7129=0x0;_0x2c7129<_0x3d1853['offsetSize'];_0x2c7129++)_0x113f24['push'](new ft('$text',{'vid':this['_revisionId']++}));}const _0x348d84=this['_revisionId'];for(let _0x4d94c6=_0x5727e8;_0x4d94c6<_0x348d84;_0x4d94c6++)this['_touched']['set'](_0x4d94c6,{'userId':_0xe59628});_0x343e7d['_insertChild'](_0x848be2['offset'],_0x113f24);}['_handleMoveOperation'](_0x32ce8a){(_0x32ce8a=this['_cloneOperation'](_0x32ce8a,this['_idsRoots']))['_execute']();const _0x72d7de=null===_0x32ce8a['_authorId']?null:_0x32ce8a['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x5a2303=_0x32ce8a['getMovedRangeStart'](),_0x32efbf=_0x5a2303['parent'],_0x5f325b=_0x5a2303['offset'];!function _0x191f38(_0x53a695,_0x2a56b9,_0x34c89d,_0x1095df){for(let _0x1088e4=_0x34c89d;_0x1088e4<_0x1095df;_0x1088e4++){const _0x404ad9=_0x2a56b9['getChild'](_0x1088e4);_0x404ad9['is']('element','$text')?_0x53a695['set'](_0x404ad9['getAttribute']('vid'),{'userId':_0x72d7de}):(_0x53a695['set'](_0x404ad9['getAttribute']('vid_start'),{'userId':_0x72d7de}),_0x191f38(_0x53a695,_0x404ad9,0x0,_0x404ad9['childCount']),_0x53a695['set'](_0x404ad9['getAttribute']('vid_end'),{'userId':_0x72d7de}));}}(this['_touched'],_0x32efbf,_0x5f325b,_0x5f325b+_0x32ce8a['howMany']);}['_handleMergeOperation'](_0x44977f){const _0x49d0fe=null===(_0x44977f=this['_cloneOperation'](_0x44977f,this['_idsRoots']))['_authorId']?null:_0x44977f['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x31ecda=_0x44977f['targetPosition']['parent'],_0xde375b=_0x44977f['sourcePosition']['parent'],_0xf4a907=_0x31ecda['getAttribute']('vid_end'),_0xaac0f3=_0xde375b['getAttribute']('vid_start');_0x31ecda['_setAttribute']('vid_end',_0xde375b['getAttribute']('vid_end')),_0xde375b['_setAttribute']('vid_end',_0xf4a907),this['_touched']['set'](_0xaac0f3,{'userId':_0x49d0fe}),this['_touched']['set'](_0xf4a907,{'userId':_0x49d0fe}),_0x44977f['_execute']();}['_handleSplitOperation'](_0x5f18da){const _0xf8bd7b=null===(_0x5f18da=this['_cloneOperation'](_0x5f18da,this['_idsRoots']))['_authorId']?null:_0x5f18da['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x181c0d=_0x5f18da['graveyardPosition'],_0x42e180=_0x5f18da['splitPosition']['parent'];_0x5f18da['_execute']();const _0x5004f0=_0x42e180['getAttribute']('vid_end'),_0x2ef0b5=_0x5f18da['insertionPosition']['nodeAfter'];if(_0x181c0d){const _0x4a2064=_0x2ef0b5['getAttribute']('vid_end'),_0x16dd08=_0x42e180['getAttribute']('vid_end');_0x42e180['_setAttribute']('vid_end',_0x4a2064),_0x2ef0b5['_setAttribute']('vid_end',_0x16dd08),this['_touched']['set'](_0x42e180['getAttribute']('vid_end'),{'userId':_0xf8bd7b}),this['_touched']['set'](_0x2ef0b5['getAttribute']('vid_start'),{'userId':_0xf8bd7b});}else{const _0x5cc02b=this['_revisionId']++,_0x5a65d7=this['_revisionId']++;_0x42e180['_setAttribute']('vid_end',_0x5cc02b),_0x2ef0b5['_setAttribute']('vid_start',_0x5a65d7),_0x2ef0b5['_setAttribute']('vid_end',_0x5004f0),this['_touched']['set'](_0x5cc02b,{'userId':_0xf8bd7b}),this['_touched']['set'](_0x5a65d7,{'userId':_0xf8bd7b});}}['_handleMarkerOperation'](_0x412644){if(!_0x412644['affectsData'])return;const _0x453d17=(_0x412644=this['_cloneOperation'](_0x412644,this['_diffRoots']))['oldRange']?_0x412644['oldRange']['root']:null,_0x1ea1d7=_0x412644['newRange']?_0x412644['newRange']['root']:null;_0x453d17&&this['_markers']['delete'](_0x412644['name']),_0x1ea1d7&&this['_markers']['set'](_0x412644['name'],_0x412644['newRange']['clone']());const _0x6770e6=null===_0x412644['_authorId']?null:_0x412644['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x5c9753=_0x412644['name'];if(!this['_touchedMarkers']['has'](_0x5c9753))return void this['_touchedMarkers']['set'](_0x5c9753,{'range':_0x412644['oldRange'],'userId':_0x6770e6});const _0x59200c=this['_touchedMarkers']['get'](_0x5c9753),_0x5dbf02=_0x59200c['range'],_0x4c9942=_0x412644['newRange'];null==_0x5dbf02&&null==_0x4c9942||_0x5dbf02&&_0x4c9942&&_0x5dbf02['isEqual'](_0x4c9942)?this['_touchedMarkers']['delete'](_0x412644['name']):_0x59200c['userId']=_0x6770e6;}['_handleRootOperation'](_0x2693ff,_0x46d61d){this['_diffRoots']['has'](_0x2693ff['rootName'])?this['_diffRoots']['get'](_0x2693ff['rootName'])['_isAttached']=_0x2693ff['isAdd']:(this['_diffRoots']['set'](_0x2693ff['rootName'],G(_0x2693ff['rootName'],!0x0)),this['_diffRootsAttributes']['set'](_0x2693ff['rootName'],{}),_0x46d61d&&this['_idsRoots']['set'](_0x2693ff['rootName'],G(_0x2693ff['rootName'],!0x0)));const _0x2df6e5=null===_0x2693ff['_authorId']?null:_0x2693ff['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x1020ef=this['_touchedRoots']['get'](_0x2693ff['rootName']);_0x1020ef&&_0x1020ef['userId']===_0x2df6e5?this['_touchedRoots']['delete'](_0x2693ff['rootName']):this['_touchedRoots']['set'](_0x2693ff['rootName'],{'userId':_0x2df6e5,'isAttached':_0x2693ff['isAdd']});}['_handleRootAttributeOperation'](_0x42cf09){const _0x439db6=this['_diffRootsAttributes']['get'](_0x42cf09['root']['rootName']);null===_0x42cf09['newValue']?delete _0x439db6[_0x42cf09['key']]:_0x439db6[_0x42cf09['key']]=_0x42cf09['newValue'];}}function q(_0x1f7cd0){const _0x42514e=G(_0x1f7cd0['rootName'],_0x1f7cd0['isAttached']());for(const _0x3950c1 of _0x1f7cd0['getChildren']()){const _0x23a1a6=_0x3950c1['_clone'](!0x0);_0x42514e['_appendChild'](_0x23a1a6);}return _0x42514e;}function G(_0x3120ae,_0x552cbb=!0x0){const _0xef1af9=new wt();return _0xef1af9['rootName']=_0x3120ae,_0xef1af9['_isAttached']=_0x552cbb,_0xef1af9['isAttached']=()=>_0xef1af9['_isAttached'],_0xef1af9;}function L(_0x48f536,_0xbd02f0,_0x4c9d97){const _0x260c26='elementEnd'==_0x48f536['type']?_0x4c9d97['createPositionAt'](_0x48f536['item'],'end'):_0x4c9d97['createPositionBefore'](_0x48f536['item']);return _0x4c9d97['createPositionFromPath'](_0xbd02f0,_0x260c26['path'],_0x260c26['stickiness']);}function W(_0x2993b0,_0x1fe4dc,_0xf7775f){const _0x2704ac='elementStart'==_0x2993b0['type']?_0xf7775f['createPositionAt'](_0x2993b0['item'],0x0):_0xf7775f['createPositionAfter'](_0x2993b0['item']);return _0xf7775f['createPositionFromPath'](_0x1fe4dc,_0x2704ac['path'],_0x2704ac['stickiness']);}class ns extends _0x1752ff{['focusTracker'];['keystrokes'];['revisionNameInputView'];constructor(_0x18394f,_0x2a9035){super(_0x18394f),this['focusTracker']=new _0x578934(),this['keystrokes']=new _0x324cd3(),this['set']('revisionNameInputValue',''),this['revisionNameInputView']=this['_createRevisionNameInput'](_0x2a9035),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'](),_0xdafe6f({'view':this}),this['focusTracker']['add'](this['revisionNameInputView']['element']),this['keystrokes']['listenTo'](this['element']);const _0x3ea592=_0x254036=>_0x254036['stopPropagation']();this['keystrokes']['set']('arrowright',_0x3ea592),this['keystrokes']['set']('arrowleft',_0x3ea592),this['keystrokes']['set']('arrowup',_0x3ea592),this['keystrokes']['set']('arrowdown',_0x3ea592);}['focus'](){this['revisionNameInputView']['focus']();}get['revisionName'](){return this['revisionNameInputView']['fieldView']['element']['value']['trim']();}set['revisionName'](_0x8370f7){this['revisionNameInputView']['fieldView']['element']['value']=_0x8370f7['trim']();}['reset'](){this['revisionNameInputView']['fieldView']['element']['value']='',this['revisionNameInputView']['errorText']=null;}['_createRevisionNameInput'](_0x5405dc){const _0x2617df=new at(this['locale'],_0x2aa03d),_0x20bf2f=_0x2617df['fieldView'];_0x20bf2f['extendTemplate']({'attributes':{'maxlength':'220'}});let _0xff8d2c=y(this['locale'],'Name\x20of\x20the\x20revision');return!_0x5405dc&&(_0xff8d2c+='\x20('+y(this['locale'],'optional')+')'),(_0x2617df['label']=_0xff8d2c,_0x20bf2f['on']('input',()=>{this['revisionNameInputValue']=_0x20bf2f['element']['value']['trim']();}),_0x2617df);}}class u extends _0x479ad8{static get['pluginName'](){return'RevisionHistoryUI';}static get['requires'](){return[l];}['_saveRevisionFormView'];['init'](){const _0x56a4a5=this['editor'],_0x5c1786=_0x56a4a5['plugins']['get']('RevisionTracker');_0x56a4a5['ui']['componentFactory']['add']('revisionHistory',_0x12ab57=>{const _0x59ae94=_0x4f3b69(_0x12ab57),_0x4786c9=_0x59ae94['panelView']['children'],_0x166c82=new te(_0x12ab57),_0x5188ee=new _0x2e86f2(_0x12ab57),_0x12a34f=new _0x3b5e90(_0x12ab57),_0xbbea56=new _0x2e86f2(_0x12ab57),_0x500c2e=new _0x3b5e90(_0x12ab57);return _0x59ae94['bind']('isEnabled')['to'](_0x5c1786,'isReady',_0x5c1786,'isEnabled',_0x56a4a5,'isReadOnly',(_0xffba32,_0x434076,_0x49ac18)=>_0xffba32&&_0x434076&&!_0x49ac18),_0x59ae94['buttonView']['set']({'icon':_0xf91905['history'],'label':y(_0x12ab57,'Revision\x20history'),'tooltip':!0x0}),_0x12a34f['set']({'label':y(_0x12ab57,'Save\x20current\x20revision'),'withText':!0x0,'role':'menuitem'}),_0x12a34f['bind']('isEnabled')['to'](_0x5c1786,'isReady',_0x5c1786,'isEnabled',_0x56a4a5,'isReadOnly',(_0xea5218,_0x4ec625,_0x37b2db)=>_0xea5218&&_0x4ec625&&!_0x37b2db),_0x12a34f['on']('execute',()=>this['_showDialog']()),_0x500c2e['set']({'label':y(_0x12ab57,'Open\x20revision\x20history'),'withText':!0x0,'role':'menuitem'}),_0x500c2e['bind']('isEnabled')['to'](_0x5c1786,'isReady',_0x56a4a5,'isReadOnly',(_0xe3e742,_0x31d363)=>_0xe3e742&&!_0x31d363),_0x500c2e['on']('execute',()=>{_0x56a4a5['config']['get']('revisionHistory')['showRevisionViewerCallback'](),_0x59ae94['isOpen']=!0x1,_0x56a4a5['editing']['view']['focus']();}),_0x5188ee['children']['add'](_0x12a34f),_0xbbea56['children']['add'](_0x500c2e),_0x166c82['role']='menu',_0x166c82['items']['addMany']([_0x5188ee,_0xbbea56]),_0x4786c9['add'](_0x166c82),_0x59ae94;}),_0x56a4a5['ui']['componentFactory']['add']('menuBar:revisionHistory',()=>this['_registerMenuComponent']());}['_registerMenuComponent'](){const _0x1c0937=this['editor'],_0x5979ad=_0x1c0937['locale'],_0x15635a=new _0x115cc4(_0x5979ad),_0x5e0b59=new _0x45a097(_0x5979ad);_0x15635a['buttonView']['set']({'icon':_0xf91905['history'],'label':y(_0x5979ad,'Revision\x20history')});const _0x30753f=new _0x2b92a9(_0x5979ad,_0x15635a),_0x5310b2=new _0x386808(_0x5979ad);_0x5310b2['set']({'label':y(_0x5979ad,'Save\x20current\x20revision')}),_0x5310b2['delegate']('execute')['to'](_0x15635a),_0x5310b2['on']('execute',()=>{this['_showDialog']();}),_0x30753f['children']['add'](_0x5310b2),_0x5e0b59['items']['add'](_0x30753f);const _0x2ee6df=new _0x2b92a9(_0x5979ad,_0x15635a),_0x4f6ce6=new _0x386808(_0x5979ad);return _0x4f6ce6['set']({'label':y(_0x5979ad,'Open\x20revision\x20history')}),_0x4f6ce6['delegate']('execute')['to'](_0x15635a),_0x4f6ce6['on']('execute',()=>{_0x1c0937['config']['get']('revisionHistory')['showRevisionViewerCallback']();}),_0x2ee6df['children']['add'](_0x4f6ce6),_0x5e0b59['items']['add'](_0x2ee6df),_0x15635a['panelView']['children']['add'](_0x5e0b59),_0x15635a;}['_showDialog'](){const _0xae519=this['editor'],_0x493c33=_0xae519['locale'],t=_0x493c33['t'],_0x563ac3=_0xae519['plugins']['get']('Dialog'),_0x474c55=_0xae519['plugins']['get']('RevisionTracker');function _0x5e792a(_0xf0f442){_0xae519['config']['get']('revisionHistory.requireRevisionName')&&''===_0xf0f442['revisionName']?_0xf0f442['revisionNameInputView']['errorText']=y(_0x493c33,'The\x20revision\x20name\x20cannot\x20be\x20empty.'):(_0xae519['plugins']['get'](l)['saveRevision']({'name':_0xf0f442['revisionName']}),_0x563ac3['hide']());}this['_saveRevisionFormView']||(this['_createSaveRevisionFormView'](),this['_saveRevisionFormView']['on']('submit',()=>_0x5e792a(this['_saveRevisionFormView']))),this['_saveRevisionFormView']['reset'](),_0x563ac3['show']({'id':'revisionSave','title':y(_0x493c33,'Save\x20current\x20revision'),'isModal':!0x0,'content':this['_saveRevisionFormView'],'actionButtons':[{'label':t('Cancel'),'withText':!0x0,'onExecute':()=>_0x563ac3['hide']()},{'label':t('Accept'),'class':'ck-button-action','withText':!0x0,'onCreate'(_0x44418b){_0x44418b['bind']('isEnabled')['to'](_0x474c55,'isReady',_0x474c55,'isEnabled',_0xae519,'isReadOnly',(_0x1ab215,_0x3eeaec,_0x4b1c79)=>_0x1ab215&&_0x3eeaec&&!_0x4b1c79);},'onExecute':()=>_0x5e792a(this['_saveRevisionFormView'])}]});}['_createSaveRevisionFormView'](){const _0x3e8de0=this['editor'],_0x30a372=_0x3e8de0['locale'];this['_saveRevisionFormView']=new ns(_0x30a372,_0x3e8de0['config']['get']('revisionHistory.requireRevisionName')),this['_saveRevisionFormView']['render']();}}class Z extends _0x1752ff{['changeId'];['_model'];constructor(_0x404145,_0x35aeaa){super(_0x404145),this['_model']=_0x35aeaa,this['changeId']=_0x35aeaa['id'];const _0x9c7a0e=this['bindTemplate'],_0x11f171=y(_0x404145,_0x35aeaa['data']['isSuggestion']?'Suggested\x20by':'add'==_0x35aeaa['type']?'Added\x20by':'Removed\x20by');this['set']('type',_0x35aeaa['type']),this['setTemplate']({'tag':'div','attributes':{'class':['ck-annotation','ck-revision-change',_0x9c7a0e['to']('type',_0x349f8e=>'ck-revision-change__'+_0x349f8e)],'tabindex':-0x1},'children':[{'tag':'span','children':[{'tag':'span','attributes':{'class':['ck-revision-change__label']},'children':[{'text':_0x11f171}]},{'text':'\x20'+_0x35aeaa['author']['name']}]}]});}['focus'](){this['element']['focus']();}}class r extends/* #__PURE__ -- @preserve */
25
+ _0x144d20(){['id'];['author'];['type'];['data'];['rootName'];constructor(_0x3547dd){super(),this['id']=_0x3547dd['id']||_0x357570(),this['author']=_0x3547dd['author'],this['type']=_0x3547dd['type'],this['data']=_0x3547dd['data']||{},this['rootName']=_0x3547dd['rootName'],this['set']('createdAt',_0x3547dd['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(_0x46fc28,_0x2f0394){this['newRevisionId']=_0x46fc28,this['oldRevisionId']=_0x2f0394,this['changes']=new _0x4f2db8();}['_setChanges'](_0x549d0c){for(const _0x2fdc97 of _0x549d0c)this['changes']['add'](_0x2fdc97);}}const tt={'c':_0x50db7d,'a':_0x42467f,'e':_0x56db70,'r':_0x480490,'u':_0xf76349};class d extends _0x479ad8{['repository'];['adapter'];['_activeViewTarget'];['_changeView'];['_changeIdToChange'];['_balloon'];static get['pluginName'](){return'RevisionViewer';}static get['requires'](){return[_0x43a4a2,_0x73fac7,A];}constructor(_0x4e76c7){super(_0x4e76c7),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',(_0x5a2ec6,_0x5a81d7,_0x210154)=>{this['activeChange']=null,this['activeView']=null,this['editor']['editing']['view']['change'](_0x2d1a77=>{for(const _0x139c96 of this['editor']['editing']['view']['document']['roots'])_0x210154?_0x2d1a77['removeClass']('ck-editor__editable__overlay',_0x139c96):_0x2d1a77['addClass']('ck-editor__editable__overlay',_0x139c96);});}),this['bind']('isNavigationMode')['to'](this,'activeChange',_0x5a0c37=>null!==_0x5a0c37),this['bind']('currentChangeNumber')['to'](this,'isReady',this,'diff',this,'activeChange',(_0x562a09,_0xe698a,_0x335886)=>_0x562a09&&_0x335886?_0xe698a['changes']['getIndex'](_0x335886):0x0),this['bind']('numberOfChanges')['to'](this,'isReady',this,'diff',(_0x257feb,_0x16e4fe)=>_0x257feb?_0x16e4fe['changes']['length']:0x0),this['_changeView']=null,this['_changeIdToChange']=new Map(),this['adapter']=null,this['_balloon']=this['editor']['plugins']['get'](_0x73fac7);}['init'](){const _0x5e8430=this['editor'],_0xf3ce75=new yt(_0x5e8430,{'direction':'backward'}),_0x41bf43=new yt(_0x5e8430,{'direction':'forward'});(_0x5e8430['commands']['add']('showPreviousChange',_0xf3ce75),_0x5e8430['commands']['add']('showNextChange',_0x41bf43),_0x5e8430['commands']['add']('restoreRevision',new bt(_0x5e8430)),this['on']('change:numberOfChanges',()=>{_0xf3ce75['refresh'](),_0x41bf43['refresh']();}),this['_setConversion'](),this['_initInteractions'](),_0x5e8430['enableReadOnlyMode']('revision-viewer'),_0x5e8430['plugins']['has']('WidgetToolbarRepository'))&&_0x5e8430['plugins']['get']('WidgetToolbarRepository')['forceDisabled']('revision-viewer');}async['getRevisionData'](_0x5db96c){await this['loadRevisionData'](_0x5db96c);const _0x27a84c={};for(const _0x535605 in _0x5db96c['diffData']){if(_0x5db96c['diffData'][_0x535605]['attachChange']&&!_0x5db96c['diffData'][_0x535605]['attachChange']['isAttached'])continue;const _0x5aa8dd=this['_removeRevisionMarkers'](JSON['parse'](_0x5db96c['diffData'][_0x535605]['insertions'])),_0xa27fb=this['editor']['editing']['view']['document'],_0x284d22=new _0x31938d(_0xa27fb,_0x5aa8dd['map'](_0x5b2e61=>this['_getViewObj'](_0x5b2e61)));this['editor']['data']['processor']['useFillerType']('marked'),_0x27a84c[_0x535605]=this['editor']['data']['processor']['toData'](_0x284d22),this['editor']['data']['processor']['useFillerType']('default');}return _0x27a84c;}async['getRevisionRootsAttributes'](_0x4278a7){await this['loadRevisionData'](_0x4278a7);const _0xaaad86={};for(const _0x348d3f in _0x4278a7['diffData'])_0x4278a7['diffData'][_0x348d3f]['attachChange']&&!_0x4278a7['diffData'][_0x348d3f]['attachChange']['isAttached']||(_0xaaad86[_0x348d3f]=_0x4278a7['diffData'][_0x348d3f]['attributesAfter']||{});return _0xaaad86;}['_removeRevisionMarkers'](_0x54c9a2){return(_0x54c9a2=_0x54c9a2['filter'](_0x4cd150=>!_0x4cd150['name']||'revision-start'!==_0x4cd150['name']&&'revision-end'!==_0x4cd150['name']))['forEach'](_0x40e4d0=>{'string'!=typeof _0x40e4d0&&(_0x40e4d0['children']=this['_removeRevisionMarkers'](_0x40e4d0['children']),_0x40e4d0['attributes']=_0x40e4d0['attributes']['filter'](_0x16e35a=>!_0x16e35a[0x0]['startsWith']('data-revision-')));}),_0x54c9a2;}async['compare'](_0x2a1b1b,_0x55ec17,_0x422002=!0x1){if(!this['isEnabled'])return;const _0x23ff1d=this['diff'],_0x22ea83=this['repository'],_0xea97f3='string'==typeof _0x2a1b1b?_0x22ea83['getRevision'](_0x2a1b1b):_0x2a1b1b,_0x7140bf='string'==typeof _0x55ec17?_0x22ea83['getRevision'](_0x55ec17):_0x55ec17,_0x3657b1=_0xea97f3['id'],_0x1868b2=_0x7140bf?_0x7140bf['id']:null;if(!_0x422002&&this['diff']&&this['diff']['newRevisionId']===_0x3657b1&&this['diff']['oldRevisionId']===_0x1868b2)return Promise['resolve']();this['isReady']=!0x1,this['activeView']=null,this['activeChange']=null,this['diff']=new f(_0x3657b1,_0x1868b2);const _0x4a1f95=this['_getRevisionsRange'](_0xea97f3,_0x7140bf,!0x0)['map'](_0x5c9cf6=>this['loadRevisionData'](_0x5c9cf6));return _0x4a1f95['push'](new Promise(_0x5ab1f1=>{setTimeout(_0x5ab1f1,0x14);})),Promise['all'](_0x4a1f95)['then'](()=>{if(!this['isEnabled'])return;this['_cleanUp']();const _0x57181e=this['_getDiff'](_0x3657b1,_0x1868b2);for(const _0x593772 of _0x57181e['changes'])this['_changeIdToChange']['set'](_0x593772['id'],_0x593772);this['editor']['model']['enqueueChange']({'isUndoable':!0x1},_0x352ffd=>{for(const _0x21a20a of this['editor']['model']['document']['getRootNames']())_0x352ffd['detachRoot'](_0x21a20a);for(const _0x274ed2 of Object['keys'](_0x57181e['model'])){const _0x2804c7=_0x352ffd['addRoot'](_0x274ed2);for(const _0x5345bd of Object['keys'](_0x57181e['attributes'][_0x274ed2]))_0x352ffd['setAttribute'](_0x5345bd,_0x57181e['attributes'][_0x274ed2][_0x5345bd],_0x2804c7);_0x352ffd['insert'](_0x57181e['model'][_0x274ed2],_0x2804c7,0x0);}}),this['diff']['_setChanges'](this['_sortAndFilterDiffChanges'](_0x57181e['changes'])),this['isReady']=!0x0;})['catch'](_0x4dc25c=>{console['error'](_0x4dc25c),this['_cleanUp'](),_0x23ff1d&&(this['diff']=_0x23ff1d),this['isReady']=!0x0;});}['addRevisionData'](_0xffac0d,_0x5ac789){const _0x1285f1=this['repository']['createRevision'](_0xffac0d);return _0x1285f1['on']('_update',(_0x5e1eae,_0x2db5db,_0x58e22a)=>_0x5ac789(_0x2db5db,_0x58e22a,_0x1285f1)),this['repository']['addRevision'](_0x1285f1),_0x1285f1;}['loadRevisionData'](_0x3cb4bb){if(!_0x3cb4bb||_0x3cb4bb['diffData'])return Promise['resolve']();{const _0x5861f9=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0x5861f9,'revisionId':_0x3cb4bb['id']})['then'](_0x3172d5=>{_0x3cb4bb['_update']({'diffData':_0x3172d5['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},_0x593b58=>{for(const _0x53f92a of this['editor']['model']['document']['getRootNames']())_0x593b58['detachRoot'](_0x53f92a);});}['_sortAndFilterDiffChanges'](_0x5df80c){const _0x5de34b=[],_0x41a3e9=new Map();for(const _0x1a6822 of this['editor']['model']['document']['getRootNames']()){const _0x470ee7=this['editor']['editing']['view']['getDomRoot'](_0x1a6822);if(!_0x470ee7)continue;const _0x1f5769=_0x470ee7['getClientRects']()['item'](0x0);_0x1f5769&&(_0x5de34b['push'](_0x1a6822),_0x41a3e9['set'](_0x1a6822,_0x1f5769));}return _0x5de34b['sort']((_0x32a643,_0x32f11e)=>{const _0x385aa4=_0x41a3e9['get'](_0x32a643),_0x51dc4c=_0x41a3e9['get'](_0x32f11e);return _0x385aa4['y']-_0x51dc4c['y']||_0x385aa4['x']-_0x51dc4c['x'];}),(_0x5df80c=_0x5df80c['filter'](_0x37408b=>_0x5de34b['includes'](_0x37408b['rootName'])))['sort']((_0x30ab22,_0x3e9c74)=>_0x5de34b['indexOf'](_0x30ab22['rootName'])-_0x5de34b['indexOf'](_0x3e9c74['rootName'])),_0x5df80c;}['_makeTape'](_0x4982b7){const _0x47e217=Array['from'](_0x4982b7['markers'])['filter'](([_0x163445,_0x38b12f])=>_0x163445['startsWith']('revision:')&&!_0x38b12f['isCollapsed']),_0xfe6d74=Array['from'](this['editor']['model']['createRangeIn'](_0x4982b7)['getWalker']({'singleCharacters':!0x0}));if(0x0!=_0x47e217['length'])for(const _0x10d2a1 of _0xfe6d74){const [_0x2fe76a,_0x172133]=_0x47e217[0x0],[,_0x124ac0,_0x49c209]=_0x2fe76a['split'](':');if(_0x172133['end']['isEqual'](_0x10d2a1['nextPosition'])&&_0x47e217['shift'](),(_0x10d2a1['previousPosition']['isEqual'](_0x172133['start'])||_0x10d2a1['previousPosition']['isAfter'](_0x172133['start']))&&('insertion'==_0x124ac0?_0x10d2a1['isAdded']={'userId':_0x49c209}:'deletion'==_0x124ac0&&(_0x10d2a1['isRemoved']={'userId':_0x49c209})),0x0==_0x47e217['length'])break;}return _0xfe6d74;}['_refreshStartEndIndex'](_0x490563){const _0x21f05c=new Map();for(let _0x52ddcc=0x0;_0x52ddcc<_0x490563['length'];_0x52ddcc++)'text'===_0x490563[_0x52ddcc]['type']?(_0x490563[_0x52ddcc]['item']['startIndex']=_0x52ddcc,_0x490563[_0x52ddcc]['item']['endIndex']=_0x52ddcc):('elementStart'===_0x490563[_0x52ddcc]['type']?_0x490563[_0x52ddcc]['item']['startIndex']=_0x52ddcc:'elementEnd'===_0x490563[_0x52ddcc]['type']&&(_0x490563[_0x52ddcc]['item']['endIndex']=_0x52ddcc),_0x21f05c['set'](_0x490563[_0x52ddcc]['id'],_0x52ddcc));for(const _0x552a6e of _0x21f05c['values']())'elementStart'===_0x490563[_0x552a6e]['type']?_0x490563[_0x552a6e]['item']['endIndex']=_0x21f05c['get'](_0x490563[_0x552a6e]['pairId']):'elementEnd'===_0x490563[_0x552a6e]['type']&&(_0x490563[_0x552a6e]['item']['startIndex']=_0x21f05c['get'](_0x490563[_0x552a6e]['pairId']));}['_processTape'](_0x580bb9){for(let _0x17cb57=0x0;_0x17cb57<_0x580bb9['length'];_0x17cb57++){if('elementStart'===_0x580bb9[_0x17cb57]['type'])_0x580bb9[_0x17cb57]['item']['startIndex']=_0x17cb57;else{if('elementEnd'===_0x580bb9[_0x17cb57]['type']){_0x580bb9[_0x17cb57]['item']['endIndex']=_0x17cb57;const _0x30ab39=_0x580bb9[_0x17cb57]['item']['startIndex'];_0x580bb9[_0x30ab39]['pairId']=_0x580bb9[_0x17cb57]['id'],_0x580bb9[_0x17cb57]['pairId']=_0x580bb9[_0x30ab39]['id'];}else _0x580bb9[_0x17cb57]['item']['startIndex']=_0x17cb57,_0x580bb9[_0x17cb57]['item']['endIndex']=_0x17cb57,_0x580bb9[_0x17cb57]['pairId']=null;}_0x580bb9[_0x17cb57]['markersStart']||(_0x580bb9[_0x17cb57]['markersStart']=[],_0x580bb9[_0x17cb57]['markersEnd']=[]);}}['_markInsertions'](_0x431fca,_0x5a430f){const _0x3c20de=_0x431fca['filter'](_0x294207=>!_0x294207['isAdded']);for(let _0x1e4319=0x0;_0x1e4319<_0x5a430f['length'];_0x1e4319++)_0x5a430f[_0x1e4319]['isAdded']&&(_0x3c20de[_0x1e4319]['isAdded']=_0x5a430f[_0x1e4319]['isAdded']);}['_makeModelFromViewString'](_0x4288eb){const _0x430f68=JSON['parse'](_0x4288eb),_0x8e4b76=this['editor']['editing']['view']['document'],_0x29c8ba=new _0x31938d(_0x8e4b76,_0x430f68['map'](_0x2ef42c=>this['_getViewObj'](_0x2ef42c)));return this['editor']['data']['toModel'](_0x29c8ba);}['_getViewObj'](_0x5c09c1){const _0x3c1f62=this['editor']['editing']['view']['document'];if('string'==typeof _0x5c09c1)return new _0x4fd5e8(_0x3c1f62,_0x5c09c1);{const _0x497a99=_0x5c09c1['children']['map'](_0x145f6e=>this['_getViewObj'](_0x145f6e));return new(tt[_0x5c09c1['type']]||_0x34bd52)(_0x3c1f62,_0x5c09c1['name'],_0x5c09c1['attributes'],_0x497a99);}}['_getDiff'](_0x520fd4,_0x2d198f=null){const _0x58c861=this['repository']['getRevision'](_0x520fd4),_0x2a1645=_0x2d198f?this['repository']['getRevision'](_0x2d198f):null,_0xb7a78=this['_getRevisionsRange'](_0x58c861,_0x2a1645),_0x4dc32c=_0xb7a78[_0xb7a78['length']-0x1],_0xc7a592=new Map(),_0x25f767={'model':{},'attributes':{},'changes':[]},_0x4394ab=new Set(),_0x2495fd=new Map();for(let _0x34f233=_0xb7a78['length']-0x1;_0x34f233>=0x0;_0x34f233--){const _0x3a2f75=_0xb7a78[_0x34f233];for(const _0x171f6c of Object['keys'](_0x3a2f75['diffData']))if(_0x3a2f75['diffData'][_0x171f6c]['attachChange']){const _0x58ed87=_0x3a2f75['diffData'][_0x171f6c]['attachChange'];_0x58ed87['isAttached']?(_0x4394ab['add'](_0x171f6c),_0x2495fd['has'](_0x171f6c)&&_0x2495fd['get'](_0x171f6c)['userId']==_0x58ed87['userId']?_0x2495fd['delete'](_0x171f6c):_0x2495fd['set'](_0x171f6c,_0x58ed87)):_0x2495fd['has'](_0x171f6c)?(_0x4394ab['delete'](_0x171f6c),_0x2495fd['delete'](_0x171f6c)):(_0x4394ab['add'](_0x171f6c),_0x2495fd['set'](_0x171f6c,_0x58ed87));}else _0x4394ab['add'](_0x171f6c);}for(const _0x5527b6 of _0x4394ab){const _0x2b2360=_0x2495fd['has'](_0x5527b6)&&!_0x2495fd['get'](_0x5527b6)['isAttached'];let _0x1bd684=_0x2b2360?_0xb7a78['length']-0x1:0x0;const _0x27be1d=_0x2b2360?-0x1:0x1;for(;_0xb7a78[_0x1bd684];){const _0x504301=_0xb7a78[_0x1bd684];if(_0x504301['diffData'][_0x5527b6]){const _0x32a3d8=_0x2b2360?_0x504301['diffData'][_0x5527b6]['attributesBefore']:_0x504301['diffData'][_0x5527b6]['attributesAfter'];_0x25f767['attributes'][_0x5527b6]=_0x32a3d8?_0x3a62e4(_0x32a3d8):{};break;}_0x1bd684+=_0x27be1d;}}for(const _0x5dc021 of _0xb7a78){_0x5dc021['model']={};for(const _0x5f32a5 of _0x5dc021['authors'])_0xc7a592['set'](_0x5f32a5['id'],_0x5f32a5);for(const _0x1a14b4 of _0x4394ab){const _0x49390a=_0x5dc021['diffData'][_0x1a14b4]?_0x5dc021['diffData'][_0x1a14b4]['insertions']:'[]',_0x249fca=_0x5dc021['diffData'][_0x1a14b4]?_0x5dc021['diffData'][_0x1a14b4]['deletions']:'[]';_0x5dc021['model'][_0x1a14b4]={'insertions':this['_makeModelFromViewString'](_0x49390a),'deletions':this['_makeModelFromViewString'](_0x249fca)};}}for(const _0x119da1 of _0x4394ab){let _0x286a36=null,_0x1aa593=0x0;const _0x4be4c4=new Map(Array['from'](_0x58c861['model'][_0x119da1]['insertions']['markers'])['filter'](([_0x2bbb89])=>!_0x2bbb89['startsWith']('revision:')));let _0x6737ee=0x0;for(const _0x21eaed of _0xb7a78){const _0x59a1f9=this['_makeTape'](_0x21eaed['model'][_0x119da1]['insertions']);_0x21eaed==_0x58c861?(_0x286a36=_0x59a1f9,_0x1aa593=_0x286a36['length'],_0x286a36['forEach'](_0x26df47=>{_0x26df47['id']=_0x6737ee++;}),this['_processTape'](_0x286a36)):this['_markInsertions'](_0x286a36,_0x59a1f9);const _0xc95fd=_0x286a36['filter'](_0x25e8a9=>!_0x25e8a9['isAdded'])['map'](_0x586236=>_0x586236['id']);let _0xed67a5=0x0;const _0x4db78f=this['_makeTape'](_0x21eaed['model'][_0x119da1]['deletions']);_0x4db78f['forEach'](_0x5e32c4=>{_0x5e32c4['isRemoved']?_0x5e32c4['id']=_0x1aa593++:_0x5e32c4['id']=_0xc95fd[_0xed67a5++];}),this['_processTape'](_0x4db78f),this['_setDistance'](_0x286a36,'isAdded'),this['_setDistance'](_0x4db78f,'isRemoved'),_0x21eaed==_0x58c861&&this['_markMarkers'](_0x286a36,_0x4be4c4),_0x286a36=this['_joinTapes'](_0x286a36,_0x4db78f),this['_refreshStartEndIndex'](_0x286a36),this['_setDistance'](_0x286a36,'isRemoved');}_0x286a36=_0x286a36['filter'](_0x191f8a=>!(_0x191f8a['isAdded']&&_0x191f8a['isRemoved']));const _0x3008af=new Map(_0x4dc32c['model'][_0x119da1]['deletions']['markers']),_0x55bbc6=new Set(_0x4be4c4['keys']());for(const _0x157411 of _0x3008af['keys']())_0x55bbc6['delete'](_0x157411);this['_markSuggestions'](_0x286a36,_0x55bbc6),this['_fixObsoleteTags'](_0x286a36),_0x286a36=this['_removeMissingPairs'](_0x286a36),_0x286a36=this['_markMismatchedRemovedTags'](_0x286a36),_0x286a36=this['_removeUnsupportedChanges'](_0x286a36);const {root:_0x495dd7,changes:_0x1b59a2}=this['_makeModelFromTape'](_0x286a36,_0xc7a592,_0x119da1);_0x25f767['model'][_0x119da1]=_0x495dd7;const _0x66e04b=_0x2495fd['get'](_0x119da1);if(_0x66e04b){const _0x5b13f3=_0xc7a592['get'](_0x66e04b['userId']),_0x3f76fb=new r({'author':_0x5b13f3,'type':_0x66e04b['isAttached']?'add':'remove','data':{'isOnRoot':!0x0},'createdAt':new Date(),'rootName':_0x119da1});_0x1b59a2['unshift'](_0x3f76fb),_0x25f767['attributes'][_0x119da1]['revisionHistoryAttachChange']=_0x3f76fb['id'];}_0x25f767['changes']=_0x25f767['changes']['concat'](_0x1b59a2);}return _0x25f767;}['_markMarkers'](_0x5d90e,_0x3d80e6){for(let _0x19ec8e=0x0;_0x19ec8e<_0x5d90e['length'];_0x19ec8e++)for(const [_0x3d1401,_0x546b73]of _0x3d80e6)_0x546b73['start']['isEqual'](_0x5d90e[_0x19ec8e]['previousPosition'])&&_0x5d90e[_0x19ec8e]['markersStart']['push'](_0x3d1401),_0x546b73['end']['isEqual'](_0x5d90e[_0x19ec8e]['nextPosition'])&&_0x5d90e[_0x19ec8e]['markersEnd']['push'](_0x3d1401);}['_joinTapes'](_0x25c4d0,_0xdebb37){let _0x234b87=[],_0x51c4d2=0x0,_0x408456=0x0;for(;_0x51c4d2<_0x25c4d0['length']||_0x408456<_0xdebb37['length'];){const _0x401c1e=_0x25c4d0[_0x51c4d2]||{},_0x1601c0=_0xdebb37[_0x408456]||{};if(_0x401c1e['id']==_0x1601c0['id'])_0x51c4d2++,_0x408456++,_0x234b87['push'](_0x401c1e);else{if(_0x1601c0['isRemoved']&&_0x401c1e['isAdded']){const {commonTape:_0x5ee630,iEnd:_0x45d31d,jEnd:_0x17f608}=this['_threeWayMerge'](_0x25c4d0,_0x51c4d2,_0xdebb37,_0x408456);_0x234b87=_0x234b87['concat'](_0x5ee630),_0x51c4d2=_0x45d31d,_0x408456=_0x17f608;}else _0x1601c0['isRemoved']?(_0x408456++,_0x234b87['push'](_0x1601c0)):(_0x51c4d2++,_0x234b87['push'](_0x401c1e));}}return _0x234b87;}['_markSuggestions'](_0x51ebb0,_0x34740e){const _0x413fb0=[];for(let _0x5cbe07=0x0;_0x5cbe07<_0x51ebb0['length'];_0x5cbe07++){for(let _0x40bca6=0x0;_0x40bca6<_0x51ebb0[_0x5cbe07]['markersStart']['length'];_0x40bca6++){const _0x171413=_0x51ebb0[_0x5cbe07]['markersStart'][_0x40bca6];if(!_0x34740e['has'](_0x171413))continue;const {group:_0x2a99aa,type:_0x5c732d,authorId:_0xa8f964}=_0x55e9f4(_0x171413);'revision-suggestion'!=_0x2a99aa||'insertion'!=_0x5c732d&&'deletion'!=_0x5c732d||(_0x413fb0['unshift']({'type':_0x5c732d,'name':_0x171413,'userId':_0xa8f964}),_0x51ebb0[_0x5cbe07]['markersStart']['splice'](_0x40bca6,0x1),_0x40bca6--);}_0x53d4c0(_0x51ebb0[_0x5cbe07]);for(let _0x70921=0x0;_0x70921<_0x51ebb0[_0x5cbe07]['markersEnd']['length'];_0x70921++){const _0xf9e371=_0x51ebb0[_0x5cbe07]['markersEnd'][_0x70921];if(!_0x34740e['has'](_0xf9e371))continue;const {group:_0x943af2,type:_0x259d9e}=_0x55e9f4(_0xf9e371);if('revision-suggestion'!=_0x943af2||'insertion'!=_0x259d9e&&'deletion'!=_0x259d9e)continue;_0x51ebb0[_0x5cbe07]['markersEnd']['splice'](_0x70921,0x1),_0x70921--;const _0x261ed4=_0x413fb0['findIndex'](_0x54e206=>_0x54e206['name']==_0xf9e371);_0x261ed4>-0x1&&_0x413fb0['splice'](_0x261ed4,0x1);}}function _0x55e9f4(_0x153a87){const _0x1f49f1=_0x153a87['split'](':');return{'group':_0x1f49f1[0x0],'type':_0x1f49f1[0x1],'subType':_0x1f49f1['length']>=0x5?_0x1f49f1[0x2]:null,'id':_0x1f49f1['length']<0x5?_0x1f49f1[0x2]:_0x1f49f1[0x3],'authorId':_0x1f49f1['length']<0x5?_0x1f49f1[0x3]:_0x1f49f1[0x4],'markerCount':0x6==_0x1f49f1['length']?_0x1f49f1[0x5]:null};}function _0x53d4c0(_0x2b4660){for(let _0x556b1c=0x0;_0x556b1c<_0x413fb0['length'];_0x556b1c++){if(_0x2b4660['isAdded']&&'insertion'==_0x413fb0[_0x556b1c]['type'])return _0x2b4660['isAddSuggestion']=_0x413fb0[_0x556b1c],void delete _0x2b4660['isAdded'];if(!_0x2b4660['isAdded']&&!_0x2b4660['isRemoved']&&'deletion'==_0x413fb0[_0x556b1c]['type'])return void(_0x2b4660['isRemoveSuggestion']=_0x413fb0[_0x556b1c]);}}}['_setDistance'](_0x3286e4,_0x120ed8){let _0xbd2ff3=0x0,_0x11fb96=!0x1;const _0x474225=new Map();for(const _0x340954 of _0x3286e4)_0x340954[_0x120ed8]?_0x11fb96&&(_0xbd2ff3++,_0x11fb96=!0x1):(_0xbd2ff3++,_0x11fb96=!0x0),_0x474225['set'](_0x340954['id'],_0xbd2ff3);for(let _0x40d782=0x0;_0x40d782<_0x3286e4['length'];_0x40d782++){if('isRemoved'==_0x120ed8&&_0x3286e4[_0x40d782]['isAdded']||'isAdded'==_0x120ed8&&_0x3286e4[_0x40d782]['isRemoved'])continue;if('text'==_0x3286e4[_0x40d782]['type']){_0x3286e4[_0x40d782]['distance']=0x0;continue;}const _0x1537d1=_0x474225['get'](_0x3286e4[_0x40d782]['pairId']),_0x5e0615=_0x474225['get'](_0x3286e4[_0x40d782]['id']);_0x3286e4[_0x40d782]['distance']=_0x1537d1-_0x5e0615;}}['_getRevisionsRange'](_0x254f95,_0x9d2f7e,_0x38e167=!0x1){const _0x1b2f93=[];let _0xea9bd1=this['repository']['getIndex'](_0x254f95),_0x57f54b=this['repository']['getIndex'](_0x9d2f7e);for(-0x1==_0x57f54b&&(_0x57f54b=this['repository']['_revisions']['length'],_0x38e167=!0x1);_0xea9bd1<_0x57f54b;)_0x1b2f93['push'](this['repository']['getRevision'](_0xea9bd1)),_0xea9bd1++;return _0x38e167&&_0x1b2f93['push'](this['repository']['getRevision'](_0xea9bd1)),_0x1b2f93;}['_threeWayMerge'](_0x11eda0,_0x4c6766,_0x1c80ef,_0x7db5a6){const _0x1b5bef=this['editor']['model']['schema'];let _0x128331=_0x4c6766;for(;_0x11eda0[_0x128331]&&_0x11eda0[_0x128331]['isAdded'];)_0x128331++;let _0x1fad85=_0x7db5a6;for(;_0x1c80ef[_0x1fad85]&&_0x1c80ef[_0x1fad85]['isRemoved'];)_0x1fad85++;_0xa861f9(_0x11eda0,_0x4c6766,_0x128331),_0xa861f9(_0x1c80ef,_0x7db5a6,_0x1fad85);const _0x224b4f=_0x1c80ef['slice'](_0x7db5a6,_0x1fad85)['concat'](_0x11eda0['slice'](_0x4c6766,_0x128331));return _0x224b4f['sort']((_0x556f8c,_0x5aa1b7)=>_0x556f8c['side']!=_0x5aa1b7['side']?_0x556f8c['side']-_0x5aa1b7['side']:_0x556f8c['level']!=_0x5aa1b7['level']?_0x556f8c['level']-_0x5aa1b7['level']:_0x556f8c['distance']!=_0x5aa1b7['distance']?_0x5aa1b7['distance']-_0x556f8c['distance']:!!_0x556f8c['isAdded']!=!!_0x5aa1b7['isAdded']?-0x1==_0x556f8c['side']||0x0==_0x556f8c['side']?_0x556f8c['isAdded']?-0x1:0x1:_0x556f8c['isAdded']?0x1:-0x1:_0x556f8c['index']-_0x5aa1b7['index']),{'commonTape':_0x224b4f,'iEnd':_0x128331,'jEnd':_0x1fad85};function _0xa861f9(_0x4b756b,_0x46d178,_0x334611){let _0x7fc2d0=-0x1,_0x1451b7=Number['POSITIVE_INFINITY'],_0x5c0832=!0x0;for(let _0x40208f=_0x46d178;_0x40208f<_0x334611;_0x40208f++)if(_0x1b5bef['isInline'](_0x4b756b[_0x40208f]['item'])||(_0x5c0832=!0x1),_0x4b756b[_0x40208f]['item']['startIndex']<_0x46d178&&(_0x7fc2d0=_0x40208f),_0x4b756b[_0x40208f]['item']['endIndex']>=_0x334611){_0x1451b7=_0x40208f;break;}_0x5c0832&&(_0x7fc2d0=_0x334611-0x1);for(let _0x1628ee=_0x46d178;_0x1628ee<_0x334611;_0x1628ee++)_0x4b756b[_0x1628ee]['side']=_0x1628ee<=_0x7fc2d0?-0x1:_0x1628ee<_0x1451b7?0x0:0x1,_0x4b756b[_0x1628ee]['index']=_0x1628ee;let _0x3ffd80=0x0;for(let _0x1145a4=_0x46d178;_0x1145a4<=_0x7fc2d0;_0x1145a4++)0x0==_0x4b756b[_0x1145a4]['distance']?_0x4b756b[_0x1145a4]['level']=_0x3ffd80:(_0x3ffd80++,_0x4b756b[_0x1145a4]['level']=_0x3ffd80,_0x3ffd80++);for(let _0x7984e2=_0x46d178;_0x7984e2<_0x334611;_0x7984e2++)0x0==_0x4b756b[_0x7984e2]['side']&&(_0x4b756b[_0x7984e2]['level']=_0x3ffd80);_0x3ffd80=0x0;for(let _0x8a5ccc=_0x334611-0x1;_0x8a5ccc>=_0x1451b7;_0x8a5ccc--)0x0==_0x4b756b[_0x8a5ccc]['distance']?_0x4b756b[_0x8a5ccc]['level']=_0x3ffd80:(_0x3ffd80--,_0x4b756b[_0x8a5ccc]['level']=_0x3ffd80,_0x3ffd80--);}}['_fixObsoleteTags'](_0x1952f0){const _0x1d1fcf=new Map(),_0x2dbcbe=this['editor']['model']['schema'];for(let _0x196c25=0x1;_0x196c25<_0x1952f0['length'];_0x196c25++){let _0x21a077,_0x5403d4,_0x5d8326;const _0x4a7451=_0x1952f0[_0x196c25],_0x2f649b=_0x1952f0[_0x196c25-0x1];if('text'==_0x4a7451['type'])continue;if(_0x4a7451['type']!=_0x2f649b['type'])continue;if(!_0x2dbcbe['isBlock'](_0x2f649b['item'])||_0x2dbcbe['isLimit'](_0x2f649b['item']))continue;if(!_0x2dbcbe['isBlock'](_0x4a7451['item'])||_0x2dbcbe['isLimit'](_0x4a7451['item']))continue;if((_0x1952f0[_0x196c25]['isAdded']||_0x1952f0[_0x196c25]['isAddSuggestion'])&&_0x1952f0[_0x196c25-0x1]['isRemoved'])_0x21a077=_0x1952f0[_0x196c25],_0x5403d4=_0x1952f0[_0x196c25-0x1],_0x5d8326=_0x196c25-0x1;else{if(!_0x1952f0[_0x196c25]['isRemoved']||!_0x1952f0[_0x196c25-0x1]['isAdded']&&!_0x1952f0[_0x196c25-0x1]['isAddSuggestion'])continue;_0x21a077=_0x1952f0[_0x196c25-0x1],_0x5403d4=_0x1952f0[_0x196c25],_0x5d8326=_0x196c25;}const _0x4b01a9=_0x21a077['level']==_0x5403d4['level'],_0xab332c=Math['abs'](_0x21a077['level'])<Math['abs'](_0x5403d4['level'])&&0x0==_0x5403d4['distance'];(_0x4b01a9||_0xab332c)&&(_0x1d1fcf['set'](_0x5403d4['id'],_0x21a077['id']),_0x1952f0['splice'](_0x5d8326,0x1),_0x196c25--,_0x21a077['isAdded']=!0x1);}for(let _0x144299=0x0;_0x144299<_0x1952f0['length'];_0x144299++)_0x1d1fcf['has'](_0x1952f0[_0x144299]['pairId'])&&(_0x1952f0[_0x144299]['pairId']=_0x1d1fcf['get'](_0x1952f0[_0x144299]['pairId']));}['_removeMissingPairs'](_0x1f4ab2){const _0x5b2890=new Set(_0x1f4ab2['map'](_0x64dfbc=>_0x64dfbc['id']));for(let _0x3c0f7f=0x0;_0x3c0f7f<_0x1f4ab2['length'];_0x3c0f7f++)_0x5b2890['has'](_0x1f4ab2[_0x3c0f7f]['pairId'])||0x0==_0x1f4ab2[_0x3c0f7f]['distance']||(_0x1f4ab2[_0x3c0f7f]['isIncorrect']=!0x0);return _0x1f4ab2['filter'](_0x43bc3d=>!_0x43bc3d['isIncorrect']);}['_markMismatchedRemovedTags'](_0x42af81){const _0x52003d=new Set();for(let _0x51c3e9=0x0;_0x51c3e9<_0x42af81['length'];_0x51c3e9++){if(_0x52003d['has'](_0x42af81[_0x51c3e9]['id'])&&_0x42af81[_0x51c3e9]['isRemoved']&&(_0x42af81[_0x51c3e9]['isIncorrect']=!0x0),_0x42af81[_0x51c3e9]['isIncorrect'])continue;if(0x0==_0x42af81[_0x51c3e9]['distance'])continue;if('elementStart'!=_0x42af81[_0x51c3e9]['type'])continue;if(null==_0x42af81[_0x51c3e9]['pairId'])continue;let _0x4ca38e=_0x51c3e9+0x1,_0x1082da=0x0;for(;_0x42af81[_0x4ca38e]['id']!=_0x42af81[_0x51c3e9]['pairId'];)'elementStart'==_0x42af81[_0x4ca38e]['type']?_0x1082da++:'elementEnd'==_0x42af81[_0x4ca38e]['type']&&_0x1082da--,_0x4ca38e++;if(0x0!=_0x1082da){if(_0x42af81[_0x51c3e9]['isRemoved'])_0x42af81[_0x51c3e9]['isIncorrect']=!0x0;else{for(;_0x4ca38e!=_0x51c3e9;)_0x42af81[_0x4ca38e]['isRemoved']&&0x0!=_0x42af81[_0x4ca38e]['distance']&&(_0x42af81[_0x4ca38e]['isIncorrect']=!0x0,_0x52003d['add'](_0x42af81[_0x4ca38e]['pairId'])),_0x4ca38e--;}}}return _0x42af81['filter'](_0x552e2e=>!_0x552e2e['isIncorrect']);}['_removeUnsupportedChanges'](_0x3bc3d9){const _0x2880f8=this['editor']['model']['schema'];for(let _0xe26c67=0x0;_0xe26c67<_0x3bc3d9['length'];_0xe26c67++){if(!(_0x3bc3d9[_0xe26c67]['isAdded']||_0x3bc3d9[_0xe26c67]['isAddSuggestion']||_0x3bc3d9[_0xe26c67]['isRemoved']||_0x3bc3d9[_0xe26c67]['isRemoveSuggestion']))continue;if(0x0==_0x3bc3d9[_0xe26c67]['distance'])continue;const _0x50ada0=_0x3bc3d9[_0xe26c67]['item'];_0x2880f8['isBlock'](_0x50ada0)||_0x2880f8['isLimit'](_0x50ada0)||(_0x3bc3d9[_0xe26c67]['isAdded']&&delete _0x3bc3d9[_0xe26c67]['isAdded'],_0x3bc3d9[_0xe26c67]['isAddSuggestion']&&delete _0x3bc3d9[_0xe26c67]['isAddSuggestion'],_0x3bc3d9[_0xe26c67]['isRemoveSuggestion']&&delete _0x3bc3d9[_0xe26c67]['isRemoveSuggestion'],_0x3bc3d9[_0xe26c67]['isRemoved']&&(_0x3bc3d9[_0xe26c67]['isIncorrect']=!0x0));}return _0x3bc3d9['filter'](_0x29a22a=>!_0x29a22a['isIncorrect']);}['_makeModelFromTape'](_0x3e28bc,_0x196775,_0x42cfa2){const _0x23fc76=new wt(),_0x24b0fd=[],_0x177ae4=new Map(),_0x12e10e=this['editor']['model'],_0x2d002d=_0x12e10e['schema'],_0x597773=[_0x23fc76],_0x233f87={},_0x20e0bc={'isAdded':[],'isRemoved':[],'isAddSuggestion':[],'isRemoveSuggestion':[]};let _0x239ab1=null;const _0x5d1b47=[0x0];for(let _0x2c0c1c=0x0;_0x2c0c1c<_0x3e28bc['length'];_0x2c0c1c++){let _0x4814fe,_0x55e347;if('elementStart'===_0x3e28bc[_0x2c0c1c]['type']){_0x4814fe=_0x12e10e['createPositionFromPath'](_0x23fc76,_0x5d1b47);const _0x3c90e1=new ft(_0x3e28bc[_0x2c0c1c]['item']['name'],_0x3e28bc[_0x2c0c1c]['item']['getAttributes']());_0x597773[0x0]['_appendChild'](_0x3c90e1),_0x5d1b47['push'](0x0),_0x597773['unshift'](_0x3c90e1),_0x55e347=_0x12e10e['createPositionFromPath'](_0x23fc76,_0x5d1b47),_0x239ab1=null;}else{if('elementEnd'===_0x3e28bc[_0x2c0c1c]['type'])_0x597773['shift'](),_0x4814fe=_0x12e10e['createPositionFromPath'](_0x23fc76,_0x5d1b47),_0x5d1b47['pop'](),_0x5d1b47[_0x5d1b47['length']-0x1]++,_0x55e347=_0x12e10e['createPositionFromPath'](_0x23fc76,_0x5d1b47),_0x239ab1=null;else{if(_0x4814fe=_0x12e10e['createPositionFromPath'](_0x23fc76,_0x5d1b47),_0x239ab1&&_0x5bfb14(_0x239ab1,_0x3e28bc[_0x2c0c1c]['item']))_0x239ab1['_data']+=_0x3e28bc[_0x2c0c1c]['item']['data'];else{const _0x40fea5=new _t(_0x3e28bc[_0x2c0c1c]['item']['data'],_0x3e28bc[_0x2c0c1c]['item']['getAttributes']());_0x597773[0x0]['_appendChild'](_0x40fea5),_0x239ab1=_0x40fea5;}_0x5d1b47[_0x5d1b47['length']-0x1]+=_0x3e28bc[_0x2c0c1c]['item']['offsetSize'],_0x55e347=_0x12e10e['createPositionFromPath'](_0x23fc76,_0x5d1b47);}}for(const _0x46c234 of _0x3e28bc[_0x2c0c1c]['markersStart'])_0x177ae4['set'](_0x46c234,{'start':_0x4814fe,'end':null});_0x21f416('isRemoveSuggestion',_0x2c0c1c,_0x4814fe,_0x55e347),_0x21f416('isAddSuggestion',_0x2c0c1c,_0x4814fe,_0x55e347),_0x21f416('isRemoved',_0x2c0c1c,_0x4814fe,_0x55e347),_0x21f416('isAdded',_0x2c0c1c,_0x4814fe,_0x55e347);for(const _0x39776f of _0x3e28bc[_0x2c0c1c]['markersEnd']){_0x177ae4['get'](_0x39776f)['end']=_0x55e347;}}for(const [_0x41c63c,_0x160503]of _0x177ae4){const _0x11b6d9=this['editor']['model']['createRange'](_0x160503['start'],_0x160503['end']);_0x23fc76['markers']['set'](_0x41c63c,_0x11b6d9);}return _0x24b0fd['sort']((_0x5e4db9,_0x15b276)=>{const _0x55f122=_0x23fc76['markers']['get']('revision:'+_0x5e4db9['id']),_0x5984cc=_0x23fc76['markers']['get']('revision:'+_0x15b276['id']);return _0x55f122['start']['isBefore'](_0x5984cc['start'])?-0x1:_0x55f122['start']['isAfter'](_0x5984cc['start'])?0x1:_0x55f122['end']['isBefore'](_0x5984cc['end'])?-0x1:_0x55f122['end']['isAfter'](_0x5984cc['end'])?0x1:'add'===_0x5e4db9['type']?-0x1:0x1;}),{'root':_0x23fc76,'changes':_0x24b0fd};function _0x21f416(_0x1e9fd1,_0x5c7ba8,_0x165152,_0x1ff0fd){const _0x37751c=!!_0x3e28bc[_0x5c7ba8][_0x1e9fd1],_0x91be82=_0x37751c?_0x3e28bc[_0x5c7ba8][_0x1e9fd1]['userId']:null,_0x2ea361=_0x5c7ba8===_0x3e28bc['length']-0x1,_0x11cfba=_0x20e0bc[_0x1e9fd1][0x0],_0x524447=_0x2d002d['isObject'](_0x3e28bc[_0x5c7ba8]['item']);!_0x233f87[_0x1e9fd1]&&_0x37751c?_0x233f87[_0x1e9fd1]={'start':_0x165152,'tapeItem':_0x3e28bc[_0x5c7ba8],'userId':_0x91be82,'type':_0x1e9fd1}:_0x233f87[_0x1e9fd1]&&!_0x37751c?(_0x233f87[_0x1e9fd1]['end']=_0x165152,_0x7c9696(_0x233f87[_0x1e9fd1]),_0x233f87[_0x1e9fd1]=null):_0x233f87[_0x1e9fd1]&&_0x37751c&&_0x233f87[_0x1e9fd1]['userId']!==_0x91be82&&(_0x233f87[_0x1e9fd1]['end']=_0x165152,_0x11cfba&&_0x11cfba['userId']===_0x233f87[_0x1e9fd1]['userId']||_0x7c9696(_0x233f87[_0x1e9fd1]),_0x233f87[_0x1e9fd1]={'start':_0x165152,'tapeItem':_0x3e28bc[_0x5c7ba8],'userId':_0x91be82,'type':_0x1e9fd1}),_0x233f87[_0x1e9fd1]&&_0x524447&&('elementStart'!==_0x3e28bc[_0x5c7ba8]['type']||_0x11cfba&&_0x11cfba['userId']===_0x91be82||_0x20e0bc[_0x1e9fd1]['unshift']({'userId':_0x91be82,'object':_0x3e28bc[_0x5c7ba8]['item'],'change':_0x233f87[_0x1e9fd1]}),'elementEnd'===_0x3e28bc[_0x5c7ba8]['type']&&_0x11cfba&&_0x11cfba['object']===_0x3e28bc[_0x5c7ba8]['item']&&(_0x20e0bc[_0x1e9fd1]['shift'](),_0x233f87[_0x1e9fd1]=_0x11cfba['change'])),_0x233f87[_0x1e9fd1]&&_0x2ea361&&(_0x233f87[_0x1e9fd1]['end']=_0x1ff0fd,_0x7c9696(_0x233f87[_0x1e9fd1]),_0x233f87[_0x1e9fd1]=null);}function _0x7c9696({start:_0x3d605e,end:_0x1ad6b1,tapeItem:_0x278fb1,userId:_0x48fdce,type:_0x5b16a3}){const _0x4df29e=_0x278fb1['item'],_0x4041db=_0x12e10e['schema']['isBlock'](_0x4df29e)&&!_0x12e10e['schema']['isLimit'](_0x4df29e),_0x2ca32d=_0x3d605e['nodeAfter']==_0x1ad6b1['parent']&&_0x1ad6b1['isAtStart'];if(_0x4041db&&_0x2ca32d)return;const _0x1f1eda=_0x12e10e['createRange'](_0x3d605e,_0x1ad6b1),_0x1d4583=_0x196775['get'](_0x48fdce),_0x5df6ff=new r({'author':_0x1d4583,'type':'isAdded'==_0x5b16a3||'isAddSuggestion'==_0x5b16a3?'add':'remove','data':{'isSuggestion':'isAddSuggestion'==_0x5b16a3||'isRemoveSuggestion'==_0x5b16a3},'createdAt':new Date(),'rootName':_0x42cfa2});_0x24b0fd['push'](_0x5df6ff),_0x23fc76['markers']['set']('revision:'+_0x5df6ff['id'],_0x1f1eda);}function _0x5bfb14(_0x30ca23,_0x44de34){const _0x5be6c5=_0x30ca23['getAttributes'](),_0x45e4c8=_0x44de34['getAttributes']();for(const _0x37194b of _0x5be6c5){if(_0x37194b[0x1]!==_0x44de34['getAttribute'](_0x37194b[0x0]))return!0x1;_0x45e4c8['next']();}return _0x45e4c8['next']()['done'];}}['_setConversion'](){this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'revision'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision','view':_0x31af00=>{const _0x41539e=_0x31af00['markerName']['split'](':')[0x1],_0x253fea=this['_getChangeFromId'](_0x41539e);if(!_0x253fea)return null;const _0x30b573='add'==_0x253fea['type']?'insertion':'deletion',_0x38e686=['ck-suggestion-marker','ck-suggestion-marker-'+_0x30b573];return _0x253fea['data']['isSuggestion']&&_0x38e686['push']('ck-suggestion-marker-'+_0x30b573+'-new'),this['activeChange']==_0x253fea&&_0x38e686['push']('ck-suggestion-marker--active'),{'classes':_0x38e686,'attributes':{'data-change-id':_0x41539e}};}}),this['editor']['conversion']['for']('upcast')['add'](_0x161253=>{_0x161253['on']('element:pre',(_0x20bc7e,_0x11a542,_0x2470fc)=>{const _0x3ca06a=_0x11a542['viewItem']['getChild'](0x0);if(!_0x3ca06a||!_0x3ca06a['is']('element','code'))return;if(!_0x2470fc['consumable']['consume'](_0x3ca06a,{'attributes':['vid_start','vid_end']}))return;const _0x407e3e=_0x11a542['modelRange']['start']['nodeAfter'];_0x2470fc['writer']['setAttribute']('vid_start',_0x3ca06a['getAttribute']('vid_start'),_0x407e3e),_0x2470fc['writer']['setAttribute']('vid_end',_0x3ca06a['getAttribute']('vid_end'),_0x407e3e);},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['add'](_0x29abc7=>{_0x29abc7['on']('element',(_0x46361b,_0x1f65c7,_0x5dcc96)=>{if(!_0x5dcc96['consumable']['consume'](_0x1f65c7['viewItem'],{'attributes':['vid_start','vid_end']}))return;if(_0x1f65c7['modelRange']['isCollapsed'])return;const _0x9326b6=_0x1f65c7['modelRange']['start']['nodeAfter'];_0x9326b6['hasAttribute']('vid_start')||_0x9326b6['hasAttribute']('vid')||(_0x5dcc96['writer']['setAttribute']('vid_start',_0x1f65c7['viewItem']['getAttribute']('vid_start'),_0x9326b6),_0x5dcc96['writer']['setAttribute']('vid_end',_0x1f65c7['viewItem']['getAttribute']('vid_end'),_0x9326b6));},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['elementToAttribute']({'view':{'name':'span','attributes':{'vid':!0x0}},'model':{'key':'vid','value':_0x9085ef=>_0x9085ef['getAttribute']('vid')}}),this['editor']['model']['schema']['on']('checkAttribute',(_0x3083ed,[,_0x260fd3])=>{['vid_start','vid_end','vid']['includes'](_0x260fd3)&&(_0x3083ed['return']=!0x0,_0x3083ed['stop']());},{'priority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['add'](_0x444852=>{_0x444852['on']('attribute:vid',(_0x506252,_0x1ad111,_0x3eeac2)=>{if('\x20'!=_0x1ad111['item']['data']||_0x1ad111['item']['parent']['maxOffset']>0x1)return;if(!_0x3eeac2['consumable']['consume'](_0x1ad111['item'],_0x506252['name']))return;const _0x53fd14=_0x3eeac2['writer'],_0x546576=_0x3eeac2['mapper']['toViewRange'](_0x1ad111['range']);_0x53fd14['wrap'](_0x546576,_0x53fd14['createAttributeElement']('span'));});}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',function(_0x549dd5){const _0x32134d=_0x549dd5['plugins']['get']('RevisionViewer');return(_0x5657a4,_0x3e1691,_0x16d2d2)=>{const _0x1ac79a=_0x3e1691['markerName']['split'](':')[0x1],_0x2d5eb1=_0x32134d['_getChangeFromId'](_0x1ac79a);if(!_0x2d5eb1)return null;const _0x2cee3f='add'==_0x2d5eb1['type']?'split':'merge';if(!_0x16d2d2['consumable']['test'](_0x3e1691['markerRange'],_0x5657a4['name']))return;const _0x21aacf=_0x3e1691['markerRange']['getWalker'](),_0x404b6f=_0x3e1691['markerRange']['start'],_0x2bc016=_0x549dd5['model']['schema'];let _0x1b533e=null,_0x541c44=null,_0x383fe1=!0x1,_0x2752b2=!0x1;for(const _0x277fa9 of _0x21aacf){const _0x165b50=_0x277fa9['item'];_0x383fe1=_0x383fe1||_0x2bc016['isContent'](_0x165b50);const _0x2ff4d6=_0x16d2d2['mapper']['toViewElement'](_0x165b50);if(_0x2ff4d6&&_0x2ff4d6['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x277fa9['type']&&(_0x2bc016['isBlock'](_0x165b50)&&!_0x2bc016['isLimit'](_0x165b50)&&(_0x165b50['nextSibling']||_0x404b6f['isAtEnd']?_0x1b533e&&_0x1b533e['parent']==_0x165b50||(_0x1b533e=_0x165b50,_0x207082(_0x277fa9['previousPosition']),_0x2752b2=!0x0):_0x541c44=_0x541c44||_0x277fa9['previousPosition']));}function _0x207082(_0x253582){const _0x5f323b=_0x16d2d2['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x2cee3f}),_0xb74a91=_0x16d2d2['mapper']['toViewPosition'](_0x253582);_0x2d5eb1['data']['isSuggestion']&&_0x16d2d2['writer']['addClass']('ck-suggestion-marker-'+_0x2cee3f+'-new',_0x5f323b),_0x32134d['activeChange']==_0x2d5eb1&&_0x16d2d2['writer']['addClass']('ck-suggestion-marker--active',_0x5f323b),_0x16d2d2['writer']['insert'](_0xb74a91,_0x5f323b),_0x16d2d2['mapper']['bindElementToMarker'](_0x5f323b,_0x3e1691['markerName']);}_0x383fe1||_0x2752b2||!_0x541c44||_0x207082(_0x541c44);};}(this['editor']),{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('removeMarker:revision',(_0x565c7f,_0x21731d,_0x448d36)=>{const _0x261979=_0x448d36['mapper']['markerNameToElements'](_0x21731d['markerName']);if(_0x261979){for(const _0x4dd9d6 of _0x261979)(_0x4dd9d6['hasClass']('ck-suggestion-marker-split')||_0x4dd9d6['hasClass']('ck-suggestion-marker-merge'))&&(_0x448d36['mapper']['unbindElementFromMarkerName'](_0x4dd9d6,_0x21731d['markerName']),_0x448d36['writer']['remove'](_0x4dd9d6));}},{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',(_0x26b739,_0x2b6af8,_0x17a31d)=>{const _0x417eed=_0x2b6af8['markerName']['split'](':')[0x1],_0x2f8dc4=this['_getChangeFromId'](_0x417eed);if(!_0x2f8dc4)return null;const _0x55c045='add'==_0x2f8dc4['type']?'split':'merge';if(_0x17a31d['consumable']['test'](_0x2b6af8['markerRange'],_0x26b739['name']))for(const _0xaf3e1e of _0x2b6af8['markerRange']['getItems']()){if(!_0xaf3e1e['is']('element','softBreak'))continue;const _0x1821bb=_0x17a31d['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x55c045}),_0x20e314=_0x17a31d['mapper']['toViewPosition'](this['editor']['model']['createPositionBefore'](_0xaf3e1e));_0x2f8dc4['data']['isSuggestion']&&_0x17a31d['writer']['addClass']('ck-suggestion-marker-'+_0x55c045+'-new',_0x1821bb),this['activeChange']==_0x2f8dc4&&_0x17a31d['writer']['addClass']('ck-suggestion-marker--active',_0x1821bb),_0x17a31d['writer']['insert'](_0x20e314,_0x1821bb),_0x17a31d['mapper']['bindElementToMarker'](_0x1821bb,_0x2b6af8['markerName']);}},{'priority':'high'}),this['editor']['model']['document']['on']('change',()=>{this['editor']['editing']['view']['change'](_0x5e9935=>{for(const _0x2c7a67 of this['editor']['model']['document']['getRootNames']()){const _0x518c97=this['editor']['model']['document']['getRoot'](_0x2c7a67),_0x3349f7=this['editor']['editing']['view']['document']['getRoot'](_0x2c7a67);if(_0x3349f7){const _0x337655=_0x518c97['getAttribute']('revisionHistoryAttachChange');if(_0x5e9935['removeAttribute']('data-change-id',_0x3349f7),_0x5e9935['removeClass']('ck-revision-history-root-add',_0x3349f7),_0x5e9935['removeClass']('ck-revision-history-root-remove',_0x3349f7),_0x5e9935['removeClass']('ck-revision-history-root--active',_0x3349f7),_0x337655){const _0xad7dd1=this['_getChangeFromId'](_0x337655);if(!_0xad7dd1)return null;_0x5e9935['setAttribute']('data-change-id',_0x337655,_0x3349f7),_0x5e9935['addClass']('ck-revision-history-root-'+_0xad7dd1['type'],_0x3349f7),this['activeChange']==_0xad7dd1&&_0x5e9935['addClass']('ck-revision-history-root--active',_0x3349f7);}}}});}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'comment','model':_0x50506f=>'revision-comment:'+_0x50506f,'converterPriority':'highest'}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'suggestion','model':_0x42a180=>'revision-suggestion:'+_0x42a180,'converterPriority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision-suggestion','view':_0x5df557=>({'name':'suggestion:'+_0x5df557,'group':'revision-suggestion'}),'converterPriority':'highest'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision-suggestion','view':_0x57b49c=>{const _0x14d370=_0x57b49c['markerName']['split'](':')[0x1];return'insertion'!=_0x14d370&&'deletion'!=_0x14d370?null:{'classes':['ck-suggestion-preview-marker','ck-suggestion-preview-marker-'+_0x14d370]};}}),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',(_0x12fcc2,_0x28ed70,_0x353065)=>{const _0xeeecf7=_0x353065['mapper']['markerNameToElements'](_0x28ed70['markerName']);if(_0xeeecf7){for(const _0x5dcc41 of _0xeeecf7)_0x5dcc41['is']('uiElement')&&(_0x353065['mapper']['unbindElementFromMarkerName'](_0x5dcc41,_0x28ed70['markerName']),_0x353065['writer']['remove'](_0x5dcc41));}},{'priority':'high'});}['_getChangeFromId'](_0x48ac8d){return this['_changeIdToChange']['get'](_0x48ac8d);}['_getViewForChange'](_0x324f1a){return this['_changeView']&&this['_changeView']['destroy'](),this['_changeView']=new Z(this['editor']['locale'],_0x324f1a),this['_changeView'];}['_initInteractions'](){this['editor']['model']['document']['selection']['observeMarkers']('revision'),this['on']('change:activeView',(_0x2a9ddd,_0x522553,_0x496374,_0x2fa6a3)=>{_0x2fa6a3&&this['_balloon']['remove'](_0x2fa6a3),_0x496374&&(this['_balloon']['add']({'view':_0x496374,'stackId':'revisionHistoryLabel','position':{'target':()=>{const _0x6636d1=this['editor']['editing'],_0x14dd45=this['_getChangeFromId'](_0x496374['changeId']);let _0x2c0322;if(_0x14dd45['data']['isOnRoot']){const _0x566002=_0x6636d1['view']['getDomRoot'](_0x14dd45['rootName']);_0x2c0322=Array['from'](_0x566002['getClientRects']());}else{const _0x18a661=this['editor']['model']['markers']['get']('revision:'+_0x496374['changeId']);_0x2c0322=Array['from'](_0x6636d1['mapper']['markerNameToElements'](_0x18a661['name']))['map'](_0xf61a78=>_0x6636d1['view']['domConverter']['mapViewToDom'](_0xf61a78))['map'](_0xa1446e=>Array['from'](_0xa1446e['getClientRects']()))['flat']();}if(!this['_activeViewTarget'])return _0x2c0322[0x0];return _0x2c0322['find'](_0x5eb233=>_0x5eb233['top']-0x3<=this['_activeViewTarget']['y']&&_0x5eb233['bottom']+0x3>=this['_activeViewTarget']['y']&&_0x5eb233['left']-0x3<=this['_activeViewTarget']['x']&&_0x5eb233['right']+0x3>=this['_activeViewTarget']['x'])||_0x2c0322[0x0];}}}),this['_balloon']['showStack']('revisionHistoryLabel'));}),this['on']('change:activeChange',(_0x5156b1,_0x3ac22a,_0x3c203d,_0x5c61ef)=>{this['activeView']=_0x3c203d?this['_getViewForChange'](_0x3c203d):null,this['editor']['model']['change'](()=>{const _0xe58167=this['editor']['editing'];_0x5c61ef&&(_0x5c61ef['data']['isOnRoot']?_0xe58167['view']['change'](_0x12fda6=>{_0x12fda6['removeClass']('ck-revision-history-root--active',_0xe58167['view']['document']['getRoot'](_0x5c61ef['rootName']));}):_0xe58167['reconvertMarker']('revision:'+_0x5c61ef['id'])),_0x3c203d&&(_0x3c203d['data']['isOnRoot']?_0xe58167['view']['change'](_0x387299=>{_0x387299['addClass']('ck-revision-history-root--active',_0xe58167['view']['document']['getRoot'](_0x3c203d['rootName']));}):_0xe58167['reconvertMarker']('revision:'+_0x3c203d['id']));});}),this['listenTo'](this['editor']['editing']['view']['document'],'mouseover',(_0x35be84,_0x5d0108)=>{if(this['activeChange'])return;const _0x509ee0=this['_findChangeIdFromDomTarget'](_0x5d0108['target']),_0x2ad7b9=this['_changeIdToChange']['get'](_0x509ee0);_0x2ad7b9?(this['_activeViewTarget']={'x':_0x5d0108['domEvent']['x'],'y':_0x5d0108['domEvent']['y']},this['activeView']=this['_getViewForChange'](_0x2ad7b9)):(this['_activeViewTarget']=null,this['activeView']=null);}),this['listenTo'](this['editor']['editing']['view']['document'],'mousedown',(_0x4caf03,_0x5f5c61)=>{const _0x22d224=this['_findChangeIdFromDomTarget'](_0x5f5c61['target']),_0x5d578d=this['_changeIdToChange']['get'](_0x22d224);_0x5d578d?(this['_activeViewTarget']={'x':_0x5f5c61['domEvent']['x'],'y':_0x5f5c61['domEvent']['y']},_0x5d578d===this['activeChange']?this['_balloon']['updatePosition']():this['activeChange']=_0x5d578d):(this['_activeViewTarget']=null,this['activeChange']=null);});}['_findChangeIdFromDomTarget'](_0x24e57d){do{const _0x308335=_0x24e57d['getAttribute']('data-change-id');if(_0x308335)return _0x308335;_0x24e57d=_0x24e57d['parent'];}while(_0x24e57d);return null;}['_cleanMarkers'](){this['editor']['model']['change'](_0x2bd279=>{for(const _0x3be07d of this['editor']['model']['markers'])_0x2bd279['removeMarker'](_0x3be07d);});}}function et(_0x9e8a67,_0x571ffd){return(_0x21a272,_0x14a337,_0x37ee01)=>{if(!_0x37ee01['consumable']['test'](_0x14a337['markerRange'],_0x21a272['name']))return;const _0x10c45a=_0x14a337['markerRange']['getWalker'](),_0x6b8e79=_0x14a337['markerRange']['start'],_0x368d04=_0x9e8a67['model']['schema'];let _0x230557=null,_0x3ee76a=null,_0x4a135b=!0x1,_0xaecb24=!0x1;for(const _0x1731d8 of _0x10c45a){const _0x2685ce=_0x1731d8['item'];_0x4a135b=_0x4a135b||_0x368d04['isContent'](_0x2685ce);const _0x642b68=_0x37ee01['mapper']['toViewElement'](_0x2685ce);if(_0x642b68&&_0x642b68['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x1731d8['type']&&(_0x368d04['isBlock'](_0x2685ce)&&!_0x368d04['isLimit'](_0x2685ce)&&(_0x2685ce['nextSibling']||_0x6b8e79['isAtEnd']?_0x230557&&_0x230557['parent']==_0x2685ce||(_0x230557=_0x2685ce,_0x15f573(_0x1731d8['previousPosition']),_0xaecb24=!0x0):_0x3ee76a=_0x3ee76a||_0x1731d8['previousPosition']));}function _0x15f573(_0x2ee47f){const _0x4deec6=_0x37ee01['mapper']['toViewPosition'](_0x2ee47f),_0x569344=_0x37ee01['writer']['createUIElement']('span',{'class':'ck-suggestion-preview-marker-'+_0x571ffd});_0x37ee01['writer']['insert'](_0x4deec6,_0x569344),_0x37ee01['mapper']['bindElementToMarker'](_0x569344,_0x14a337['markerName']);}_0x4a135b||_0xaecb24||!_0x3ee76a||_0x15f573(_0x3ee76a);};}class bt extends _0x428ee6{constructor(_0x3d7a11){super(_0x3d7a11);const _0x1fdce7=_0x3d7a11['plugins']['get'](d);this['affectsData']=!0x1,this['listenTo'](_0x1fdce7,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x1fdce7,'change:isEnabled',()=>this['refresh']());}['execute'](){const _0x4e3173=this['editor'],_0xf6b9c7=_0x4e3173['plugins']['get'](d),_0x2e31d8=_0xf6b9c7['isReady']?_0xf6b9c7['diff']['newRevisionId']:null;_0x4e3173['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x2e31d8);}['refresh'](){const {isReady:_0x44d35f,isEnabled:_0x212849}=this['editor']['plugins']['get'](d);this['isEnabled']=_0x44d35f&&_0x212849;}}class yt extends _0x428ee6{['_step'];constructor(_0x5d38d6,{direction:_0x2fd6a0}){super(_0x5d38d6);const _0x442d1c=_0x5d38d6['plugins']['get'](d);this['affectsData']=!0x1,this['_step']='forward'===_0x2fd6a0?0x1:-0x1,this['listenTo'](_0x442d1c,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x442d1c,'change:isEnabled',()=>this['refresh']()),this['listenTo'](_0x442d1c,'change:activeChange',()=>this['refresh']());}['execute'](){const _0x33de65=this['editor'],_0x3e45de=_0x33de65['plugins']['get'](d),{isNavigationMode:_0x2a75b0,currentChangeNumber:_0x384de7}=_0x3e45de;let _0x254b96;if(_0x3e45de['activeChange']=_0x2a75b0?_0x3e45de['diff']['changes']['get'](_0x384de7+this['_step']):_0x3e45de['diff']['changes']['first'],_0x3e45de['activeChange']['data']['isOnRoot'])_0x254b96=_0x33de65['editing']['view']['getDomRoot'](_0x3e45de['activeChange']['rootName']);else{const _0x1e7d78=_0x33de65['model']['markers']['get']('revision:'+_0x3e45de['activeChange']['id']);_0x254b96=_0xb5f923(_0x33de65['editing'],_0x1e7d78);}_0x3b41c4({'target':_0x254b96,'viewportOffset':0x28});}['refresh'](){const {isNavigationMode:_0x200c51,currentChangeNumber:_0x2a8536,numberOfChanges:_0x2f8cba,isReady:_0x1fa287,isEnabled:_0x755d03}=this['editor']['plugins']['get'](d);this['isEnabled']=!!(_0x755d03&&_0x1fa287&&_0x2f8cba)&&(!_0x200c51||(0x1===this['_step']?_0x2a8536<_0x2f8cba-0x1:_0x2a8536>0x0));}}class _i extends _0x1752ff{constructor(_0x390f32){super(_0x390f32);const _0x4f000e=this['bindTemplate'],_0x56a963=new _0x3b5e90(_0x390f32),_0x5d40b9=new _0x3b5e90(_0x390f32);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',(_0x3420cf,_0x4023d3)=>_0x3420cf&&_0x4023d3>0x0),this['bind']('_statusText')['to'](this,'isReady',this,'currentChangeNumber',this,'numberOfChanges',this,'isNavigationMode',(_0x1aba64,_0x2ac42c,_0x10f526,_0xe21e5e)=>{if(!_0x1aba64)return y(_0x390f32,'Loading...');if(!_0x10f526)return y(_0x390f32,'No\x20changes');const _0x3bdbbb=y(_0x390f32,'NUMBER_OF_CHANGES',_0x10f526);return _0xe21e5e?y(_0x390f32,'X_OF_Y_CHANGES',[_0x2ac42c+0x1,_0x10f526]):_0x3bdbbb;}),_0x56a963['set']({'label':y(_0x390f32,'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'}),_0x5d40b9['set']({'label':y(_0x390f32,'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'}),_0x56a963['bind']('isEnabled')['to'](this,'isBackwardNavigationEnabled'),_0x5d40b9['bind']('isEnabled')['to'](this,'isForwardNavigationEnabled'),_0x56a963['on']('execute',()=>this['fire']('execute','backward')),_0x5d40b9['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',_0x4f000e['if']('_isStatusLabelVisible','ck-hidden',_0x4ae606=>!_0x4ae606)]},'children':[{'text':_0x4f000e['to']('isNavigationMode',_0x20aa89=>_0x20aa89?y(_0x390f32,'EDIT_X_OF_Y_REVISIONS')+':\x20':y(_0x390f32,'Total')+':\x20')}]},{'text':_0x4f000e['to']('_statusText')}]},new _0x1891ab(),{'tag':'div','attributes':{'class':['ck-revision-history-ui__changes-navigation__navigation']},'children':[_0x56a963,_0x5d40b9]}]});}}const ce='ck-editor__editable__loading-overlay';class de extends _0x479ad8{static get['pluginName'](){return'RevisionViewerLoadingOverlay';}['show'](){const _0x3ad737=this['editor']['editing']['view'];_0x3ad737['change'](_0x360483=>{for(const _0x12a1ff of _0x3ad737['document']['roots'])_0x360483['addClass'](ce,_0x12a1ff);});}['hide'](){const _0x13e02d=this['editor']['editing']['view'];_0x13e02d['change'](_0x7b1398=>{for(const _0x5025a8 of _0x13e02d['document']['roots'])_0x7b1398['removeClass'](ce,_0x5025a8);});}}class R extends _0x479ad8{static get['pluginName'](){return'RevisionViewerUI';}static get['requires'](){return[d,de];}['init'](){const _0x250397=this['editor'],_0x50ecac=_0x250397['plugins']['get'](d),_0x120798=_0x250397['plugins']['get'](de);_0x250397['ui']['componentFactory']['add']('exitToEditing',_0x1f9b6c=>{const _0x3e013c=new _0x3b5e90(_0x1f9b6c);return _0x3e013c['set']({'label':y(_0x1f9b6c,'Back\x20to\x20editing'),'icon':_0xf91905['undo'],'withText':!0x0,'tooltip':!0x0,'class':'ck-revision-history-ui__back-to-editing'}),this['listenTo'](_0x3e013c,'execute',()=>{_0x250397['config']['get']('revisionHistory')['closeRevisionViewerCallback']();}),_0x3e013c;}),_0x250397['ui']['componentFactory']['add']('restoreRevision',_0x5a8d2e=>{const _0xceb160=new _0x3b5e90(_0x5a8d2e);return _0xceb160['set']({'label':y(_0x5a8d2e,'Restore\x20this\x20revision'),'withText':!0x0,'tooltip':!0x0}),_0xceb160['bind']('isEnabled')['to'](_0x250397['commands']['get']('restoreRevision')),this['listenTo'](_0xceb160,'execute',()=>_0x250397['execute']('restoreRevision')),_0xceb160;}),_0x250397['ui']['componentFactory']['add']('changesNavigation',_0x277468=>{const _0x364532=new _i(_0x277468),_0x16184a=_0x250397['commands']['get']('showPreviousChange'),_0x520fa9=_0x250397['commands']['get']('showNextChange');return _0x364532['bind']('isBackwardNavigationEnabled')['to'](_0x16184a,'isEnabled'),_0x364532['bind']('isForwardNavigationEnabled')['to'](_0x520fa9,'isEnabled'),_0x364532['bind']('isReady','currentChangeNumber','numberOfChanges','isNavigationMode')['to'](_0x50ecac),this['listenTo'](_0x364532,'execute',(_0x479151,_0x3b206b)=>{_0x250397['execute']('forward'===_0x3b206b?'showNextChange':'showPreviousChange');}),_0x364532;}),_0x120798['show'](),_0x50ecac['on']('change:isReady',(_0x207b74,_0x4b7c93,_0x1de6ee)=>{_0x1de6ee?_0x120798['hide']():_0x120798['show']();});}}class kt extends at{['_resizeObserver']=null;constructor(_0x63008a,_0x455a27){super(_0x63008a,_0x455a27);const _0x6e5506=this['bindTemplate'];this['set']({'label':y(_0x63008a,'Revision\x20name'),'_tooltipString':''}),this['fieldView']['placeholder']=y(_0x63008a,'Enter\x20the\x20revision\x20name'),this['extendTemplate']({'tag':'span','attributes':{'class':['ck-revision-history-sidebar__revision-name'],'data-cke-tooltip-text':_0x6e5506['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 _0x3af05a=this['fieldView']['element'];this['_tooltipString']=_0x3af05a['scrollWidth']>_0x3af05a['clientWidth']&&_0x3af05a['value']||'';}}class ti extends _0x1752ff{constructor(_0x2f1cfd,_0x363a06,_0x3e6186){super(_0x2f1cfd);const _0x22b748=new _0x325380();_0x22b748['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 _0x38b6d2=['ck','ck-revision-history-sidebar__revision-author'];_0x3e6186&&_0x38b6d2['push']('ck-revision-history-sidebar__revision-author_creator');const _0x31257f=[{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__revision-author__name'],'title':y(_0x2f1cfd,_0x3e6186?'Revision\x20creator':'Revision\x20author')},'children':[_0x22b748,_0x363a06['name']]}];this['setTemplate']({'tag':'li','attributes':{'class':_0x38b6d2},'children':_0x31257f});}}function ni(_0x3b58bd,_0x5e9a45){const _0x130afa=_0x3b58bd['bindTemplate'],_0x60dc22=_0x3b58bd['locale'],_0x194891=_0x4f3b69(_0x60dc22);_0x194891['panelPosition']='sw';const _0x1c2630=function(_0x57c46b,_0x28472d){const _0x124c8c=function(_0x1b5f10,_0x5f26b3){const _0x16311b=_0x1b5f10['locale'],_0x157644={'Compare\x20against\x20selected':y(_0x16311b,'Compare\x20against\x20selected'),'Name\x20this\x20revision':y(_0x16311b,'Name\x20this\x20revision'),'Restore\x20this\x20revision':y(_0x16311b,'Restore\x20this\x20revision')};return _0x5f26b3['map'](_0x53b791=>{const _0x42d140=_0x157644[_0x53b791['name']];return _0x42d140&&_0x42d140!==_0x53b791['name']&&(_0x53b791['name']=_0x42d140),_0x53b791;});}(_0x57c46b,_0x28472d),_0x286316=new _0x4f2db8();for(const _0x352812 of _0x124c8c){const _0x551e18={'type':'button','model':new to({'label':_0x352812['name'],'class':_0x352812['class'],'withText':!0x0,'role':'menuitem','_action':_0x352812['action']})};_0x551e18['model']['bind']('isEnabled')['to'](_0x57c46b,'isActionsDropdownOpen',_0x83c5e2=>'function'!=typeof _0x352812['isEnabled']||(!_0x83c5e2||_0x352812['isEnabled'](_0x57c46b))),_0x286316['add'](_0x551e18);}return _0x286316;}(_0x3b58bd,_0x5e9a45);return _0x3b58bd['bind']('isActionsDropdownOpen')['to'](_0x194891,'isOpen'),_0x194891['buttonView']['set']({'label':y(_0x60dc22,'Show\x20more\x20items'),'tooltip':!0x0,'tooltipPosition':'sw','icon':_0xf91905['threeVerticalDots']}),_0x194891['extendTemplate']({'attributes':{'class':['ck-revision-history-sidebar__revision__actions',_0x130afa['if']('isActionsDropdownOpen','ck-on')]},'on':{'click':_0x130afa['to'](_0x8814f0=>_0x8814f0['stopPropagation']())}}),_0x194891['on']('execute',_0x5d377c=>{_0x3b58bd['isReady']&&'function'==typeof _0x5d377c['source']['_action']&&_0x5d377c['source']['_action'](_0x3b58bd);}),_0x4c3ca9(_0x194891,_0x1c2630,{'role':'menu'}),_0x194891['listenTo'](_0x3b58bd,'change:isActionsDropdownOpen',(_0x24cce7,_0x4585d2,_0x274137)=>{if(_0x274137)for(const _0x45697e of _0x194891['listView']['items']){const _0x24fe90=_0x45697e['children']['first'],_0x1e8344=_0x5e9a45['find'](_0xdce31=>_0xdce31['action']===_0x24fe90['_action'])['isVisible'];_0x45697e['isVisible']=void 0x0===_0x1e8344||_0x1e8344(_0x3b58bd);}}),_0x194891;}class ai extends/* #__PURE__ -- @preserve */
26
+ _0x2956b2(_0x1752ff){['id'];['revisionNameView'];['revisionActionsView'];['_revision'];['_requireRevisionName'];constructor(_0x4a8597,_0x5c62b1,_0x387791,_0x4b6619){super(_0x4a8597);const _0x47a32c=this['bindTemplate'],_0x465632=function(_0x1790a4,_0xe2dd16){const _0x1100de=Array['from'](_0xe2dd16['authors'])['filter'](_0x122687=>_0x122687!=_0xe2dd16['creator']);return _0xe2dd16['creator']&&_0x1100de['unshift'](_0xe2dd16['creator']),_0x1100de['map'](_0x46e52a=>new ti(_0x1790a4,_0x46e52a,_0x46e52a==_0xe2dd16['creator']));}(_0x4a8597,_0x5c62b1);this['id']=_0x5c62b1['id'],this['_revision']=_0x5c62b1,this['_requireRevisionName']=_0x4b6619,this['bind']('name','createdAt')['to'](_0x5c62b1),this['bind']('_createdAtFormatted')['to'](this,'createdAt',_0x2613a9=>{return _0x187453=_0x4a8597['uiLanguage'],(_0x5a0141=_0x2613a9)['toLocaleDateString'](_0x187453,{'month':'long','day':'numeric'})+',\x20'+_0x5a0141['toLocaleTimeString'](_0x187453,{'hour':'numeric','minute':'numeric'});var _0x187453,_0x5a0141;}),this['set']('isSelected',!0x1),this['set']('isHighlighted',!0x1),this['set']('isActionsDropdownOpen',!0x1),this['set']('isReady',!0x1),this['set']('isEnabled',!0x1),this['revisionNameView']=new kt(_0x4a8597,_0x2aa03d),this['revisionNameView']['fieldView']['extendTemplate']({'attributes':{'maxlength':'220'}}),this['revisionNameView']['fieldView']['bind']('value')['to'](this,'name',_0x3d3039=>_0x3d3039||this['_createdAtFormatted']),this['revisionNameView']['bind']('isEnabled')['to'](this,'isSelected',this,'isEnabled',(_0x883590,_0x168c67)=>_0x883590&&_0x168c67),this['revisionActionsView']=_0x387791&&_0x387791['length']?ni(this,_0x387791):'',this['revisionActionsView']&&this['revisionActionsView']['bind']('isEnabled')['to'](this),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision-wrapper',_0x47a32c['if']('isConfirm','ck-revision-history-sidebar__revision-wrapper_confirmation_visible')]},'children':[{'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision',_0x47a32c['if']('isEnabled','ck-disabled',_0x310506=>!_0x310506),_0x47a32c['if']('isSelected','ck-revision-history-sidebar__revision_selected'),_0x47a32c['if']('isHighlighted','ck-revision-history-sidebar__revision_highlighted'),_0x47a32c['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':_0x47a32c['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':_0x465632}]},this['revisionActionsView']],'on':{'click':_0x47a32c['to'](_0x38dde3=>{_0x38dde3['srcElement']['closest']('.ck-thread__remove-confirm')||this['isReady']&&this['isEnabled']&&this['fire']('select',{'id':this['id']});})}}]});}['render'](){super['render']();const _0x532d86=this['revisionNameView']['fieldView']['element'];this['listenTo'](_0x532d86,'change',()=>{this['_requireRevisionName']&&!_0x532d86['value']||this['fire']('setName',{'id':this['id'],'name':_0x532d86['value']}),_0x532d86['value']||(_0x532d86['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(_0x48073c,_0x244ba8){const _0x52fd67=_0x179ff3['fromJSDate'](_0x48073c)['setLocale'](_0x244ba8),_0x2af4a0=_0x179ff3['local'](),_0x7450db=_0x2af4a0['minus']({'days':0x1})['startOf']('day');let _0xab5f70,_0x5b5d6d;return _0x52fd67['hasSame'](_0x2af4a0,'day')?(_0xab5f70=_0x52fd67['startOf']('day')['toJSDate'](),_0x5b5d6d=_0x52fd67['toRelativeCalendar']()):_0x52fd67['hasSame'](_0x7450db,'day')?(_0xab5f70=_0x7450db['toJSDate'](),_0x5b5d6d=_0x52fd67['toRelativeCalendar']()):_0x52fd67['hasSame'](_0x2af4a0,'week')?(_0xab5f70=_0x52fd67['startOf']('week')['toJSDate'](),_0x5b5d6d=_0x52fd67['weekdayLong']||''):_0x52fd67['hasSame'](_0x2af4a0,'year')?(_0xab5f70=_0x52fd67['startOf']('month')['toJSDate'](),_0x5b5d6d=_0x52fd67['monthLong']||''):(_0xab5f70=_0x52fd67['startOf']('year')['toJSDate'](),_0x5b5d6d=String(_0x52fd67['year'])),{'startDate':_0xab5f70,'localizedPeriodName':_0x5b5d6d};}class mi extends _0x1752ff{['startDate'];['revisionViews'];['_revisionActions'];['_requireRevisionName'];constructor(_0x28af16,_0xc25670,_0x19a208,_0x4ea7a8){super(_0x28af16);const _0x4c55b6=di(_0xc25670,this['locale']['uiLanguage'])['localizedPeriodName'];this['startDate']=_0xc25670,this['revisionViews']=this['createCollection'](),this['_revisionActions']=_0x19a208,this['_requireRevisionName']=_0x4ea7a8,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':_0x4c55b6}]},{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__time-period__revisions']},'children':this['revisionViews']}]});}['addRevision'](_0x348e06){const _0x367836=new ai(this['locale'],_0x348e06,this['_revisionActions'],this['_requireRevisionName']);this['revisionViews']['add'](_0x367836);}['removeRevision'](_0x3a3e39){const _0x54f1fb=this['revisionViews']['find'](_0x42d828=>_0x42d828['id']===_0x3a3e39['id']);this['revisionViews']['remove'](_0x54f1fb);}}class as extends _0x1752ff{constructor(_0x27127f){super(_0x27127f);const _0x1c631f=new _0x325380();_0x1c631f['content']=_0xf91905['history'],this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all','ck-revision-history-sidebar__header']},'children':[_0x1c631f,{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__header__label']},'children':[y(_0x27127f,'Revision\x20history')]}]});}}class ci extends _0x1752ff{['timePeriodViews'];['_revisions'];['_revisionActions'];['_requireRevisionName'];constructor(_0x48af21,_0x1dcd56,_0x1b516a,_0x53f204){super(_0x48af21);const _0x11310e=this['bindTemplate'];this['timePeriodViews']=this['createCollection'](),this['timePeriodViews']['delegate']('select')['to'](this),this['timePeriodViews']['delegate']('setName')['to'](this),this['_revisions']=_0x1dcd56,this['_revisionActions']=_0x1b516a,this['_requireRevisionName']=_0x53f204,this['on']('select',(_0x3c9673,_0x26b8f4)=>{this['fire']('revisionSelected',_0x26b8f4);}),this['on']('setName',(_0x143044,_0x1caeaa)=>{this['fire']('revisionSetName',_0x1caeaa);}),this['set']('isEnabled',!0x1),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-rounded-corners','ck-revision-history-sidebar']},'children':[new as(_0x48af21),{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__timeline',_0x11310e['if']('isEnabled','ck-disabled',_0x361ae0=>!_0x361ae0)]},'children':this['timePeriodViews']}]});}['render'](){super['render']();for(const _0x889868 of this['_revisions'])this['_addRevision'](_0x889868);this['_revisions']['on']('add',(_0x529d6d,_0x16f15e)=>{this['_addRevision'](_0x16f15e);}),this['_revisions']['on']('remove',(_0x434c2f,_0x1fbc0a)=>{this['_removeRevision'](_0x1fbc0a);});}get['revisionViews'](){return this['timePeriodViews']['map'](_0x7b0232=>_0x7b0232['revisionViews']['map'](_0x1e8e3a=>_0x1e8e3a))['flat']();}['selectRevision'](_0x4620ed){for(const _0x18276e of this['revisionViews'])_0x4620ed&&_0x4620ed['id']===_0x18276e['id']?_0x18276e['select']():_0x18276e['deselect']();}['highlightRevisions'](_0x2488fa){for(const _0x3c3e58 of this['revisionViews'])_0x2488fa['some'](({id:_0x134221})=>_0x134221===_0x3c3e58['id'])?_0x3c3e58['highlight']():_0x3c3e58['unhighlight']();}['_addRevision'](_0x1e29c6){const _0x2d5700=di(_0x1e29c6['createdAt'],this['locale']['uiLanguage'])['startDate'];let _0xfb9799=this['timePeriodViews']['get'](0x0);_0xfb9799&&_0xfb9799['startDate']['getTime']()===_0x2d5700['getTime']()||(_0xfb9799=new mi(this['locale'],_0x2d5700,this['_revisionActions'],this['_requireRevisionName']),this['timePeriodViews']['add'](_0xfb9799)),_0xfb9799['addRevision'](_0x1e29c6);}['_removeRevision'](_0x1f51a9){const _0x5d19e4=di(_0x1f51a9['createdAt'],this['locale']['uiLanguage'])['startDate'];this['_getTimePeriodViewByStartDate'](_0x5d19e4)['removeRevision'](_0x1f51a9);}['_getTimePeriodViewByStartDate'](_0x2c7994){return this['timePeriodViews']['find'](_0x24250a=>_0x24250a['startDate']['getTime']()===_0x2c7994['getTime']());}}class w extends _0x479ad8{['_revisionViewer'];['_revisionsRepository'];['_sidebarView'];static ['defaultRevisionActions']=/* #__PURE__ -- @preserve */
27
27
  ((()=>['compareAgainstSelected','restoreRevision','nameRevision'])());static ['availableRevisionActions']=/* #__PURE__ -- @preserve */
28
- Rt();static get['pluginName'](){return'RevisionsSidebar';}static get['requires'](){return[d];}constructor(_0x528e56){super(_0x528e56),this['_revisionViewer']=_0x528e56['plugins']['get'](d),this['_revisionsRepository']=this['_revisionViewer']['repository'],this['_sidebarView']=null;}['init'](){const _0x20442e=this['_revisionsRepository']['_revisions'],_0x13c1f4=this['_createRevisionActions'](),_0x54e330=this['editor']['config']['get']('revisionHistory.viewerSidebarContainer');this['_sidebarView']=new ci(this['editor']['locale'],_0x20442e,_0x13c1f4,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',(_0x13fdf9,_0x584764)=>{_0x584764['revisionViews']['on']('add',(_0x527f6b,_0x5b567a)=>{_0x5b567a['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)),_0x54e330['appendChild'](this['_sidebarView']['element']);}['destroy'](){this['_sidebarView']['element']['remove'](),this['_sidebarView']['destroy']();}['_handleEditorDataReady'](){const _0x1a10bf=this['_revisionsRepository']['getRevision'](0x0);if(_0x1a10bf){const _0x32f1dd=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x1a10bf['id']);this['_revisionViewer']['compare'](_0x1a10bf,_0x32f1dd);}}['_handleRevisionSelected'](_0x465a37,_0x50c27b){const _0x1f9721=this['_revisionsRepository']['getRevision'](_0x50c27b['id']),_0x4ae8da=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x1f9721['id']);this['_revisionViewer']['compare'](_0x1f9721,_0x4ae8da);}['_handleRevisionSetName'](_0x59eb5e,_0x1e80c2){this['_revisionsRepository']['getRevision'](_0x1e80c2['id'])['setName'](_0x1e80c2['name']);}['_handleDiffChange'](_0x10d3d6,_0x5c9f76,_0x3e89fc){const _0xc90754=this['_revisionsRepository']['getRevisionsInDiff'](_0x3e89fc);_0xc90754['length']>0x2?(this['_sidebarView']['highlightRevisions'](_0xc90754),this['_sidebarView']['selectRevision'](null)):(this['_sidebarView']['highlightRevisions']([]),this['_sidebarView']['selectRevision'](_0xc90754[0x0]));}['_createRevisionActions'](){const _0x312a1b=this['editor'],_0x1dda5e=w['availableRevisionActions'],_0xb49d4a=_0x312a1b['config']['get']('revisionHistory.revisionActions')||w['defaultRevisionActions'];if(_0xb49d4a['length'])return _0xb49d4a['map'](_0x7cc7f3=>{const _0x4f2f66='string'==typeof _0x7cc7f3?Object['assign']({},_0x1dda5e[_0x7cc7f3]):_0x7cc7f3;return _0x4f2f66['action']=_0x4f2f66['action']['bind'](this,_0x312a1b),_0x4f2f66['isVisible']&&(_0x4f2f66['isVisible']=_0x4f2f66['isVisible']['bind'](this,_0x312a1b)),_0x4f2f66;});}}function Rt(){return{'compareAgainstSelected':{'name':'Compare\x20against\x20selected','action':({plugins:_0x3cf698},_0x1afdf9)=>{const _0x12cec2=_0x3cf698['get'](d),_0x2b4911=_0x12cec2['repository'];let _0x251462=_0x12cec2['diff']['newRevisionId'],_0x1dde55=_0x1afdf9['id'];_0x2b4911['getIndex'](_0x251462)>_0x2b4911['getIndex'](_0x1dde55)&&([_0x251462,_0x1dde55]=[_0x1dde55,_0x251462]),_0x12cec2['compare'](_0x251462,_0x1dde55);},'isVisible':({plugins:_0x1bb561},_0x1de99a)=>{const _0x5d9aed=_0x1bb561['get'](d);return!(_0x5d9aed['repository']['getRevisionsInDiff'](_0x5d9aed['diff'])['length']>0x2)&&!_0x1de99a['isSelected'];}},'restoreRevision':{'name':'Restore\x20this\x20revision','action':(_0x220c18,{id:_0x20c6c8})=>{_0x220c18['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x20c6c8);},'isVisible':({plugins:_0x137f4c},_0x2c7a3f)=>!!_0x137f4c['get'](d)['repository']['getLaterVisibleRevision'](_0x2c7a3f['id'])},'nameRevision':{'name':'Name\x20this\x20revision','action':({plugins:_0x31f88c},{id:_0x4c5ce8,revisionNameView:_0x46b5de})=>{const _0x25a392=_0x31f88c['get'](d),_0x15b54e=_0x25a392['repository']['getEarlierVisibleRevision'](_0x4c5ce8);_0x25a392['compare'](_0x4c5ce8,_0x15b54e),_0x46b5de['focus'](),_0x46b5de['fieldView']['select']();}}};}class st extends ht{['_view'];['_toolbarConfig'];['_elementReplacer'];get['view'](){return this['_view'];}constructor(_0x1a6a67,_0xd82e7c){super(_0x1a6a67),this['_view']=_0xd82e7c,this['_toolbarConfig']=ct(_0x1a6a67['config']['get']('toolbar')),this['_elementReplacer']=new nt();}get['element'](){return this['view']['element'];}['init'](_0x2176d0){const _0x419113=this['editor'],_0x557ae0=this['view'],_0x5a125e=_0x419113['editing']['view'],_0x110b2c=_0x557ae0['editable'],_0x55380f=_0x5a125e['document']['getRoot']();_0x110b2c['name']=_0x55380f['rootName'],_0x557ae0['render']();const _0x282d78=_0x110b2c['element'];this['setEditableElement'](_0x110b2c['name'],_0x282d78),_0x557ae0['editable']['bind']('isFocused')['to'](this['focusTracker']),_0x5a125e['attachDomRoot'](_0x282d78),this['_elementReplacer']['replace'](_0x2176d0,this['element']),this['_initToolbar'](),this['fire']('ready');}['destroy'](){super['destroy']();const _0x408ebb=this['view'],_0x28e31b=this['editor']['editing']['view'];this['_elementReplacer']['restore'](),_0x28e31b['detachDomRoot'](_0x408ebb['editable']['name']),_0x408ebb['destroy']();}['_initToolbar'](){const _0x393674=this['view'];_0x393674['stickyPanel']['bind']('isActive')['to'](this['focusTracker'],'isFocused'),_0x393674['stickyPanel']['limiterElement']=_0x393674['element'],_0x393674['stickyPanel']['bind']('viewportTopOffset')['to'](this,'viewportOffset',({top:_0x3dc6aa})=>_0x3dc6aa),_0x393674['toolbar']['fillFromConfig'](this['_toolbarConfig'],this['componentFactory']),this['addToolbar'](_0x393674['toolbar']);}}class ot extends dt{['_editable'];['stickyPanel'];['toolbar'];get['editable'](){return this['_editable'];}constructor(_0x42777e,_0x328c28,_0x52826d={}){super(_0x42777e),this['stickyPanel']=new lt(_0x42777e),this['toolbar']=new pt(_0x42777e,{'shouldGroupWhenFull':_0x52826d['shouldToolbarGroupWhenFull']}),this['_editable']=new ut(_0x42777e,_0x328c28);}['render'](){super['render'](),this['stickyPanel']['content']['add'](this['toolbar']),this['top']['add'](this['stickyPanel']),this['main']['add'](this['editable']);}}class m extends/* #__PURE__ -- @preserve */
29
- rt(it){['_ui'];get['ui'](){return this['_ui'];}constructor(_0x39cd33,_0x11df29){super(_0x11df29),this['sourceElement']=_0x39cd33,this['model']['document']['createRoot']();const _0xa64315=new ot(this['locale'],this['editing']['view'],{'shouldToolbarGroupWhenFull':!0x0});this['_ui']=new st(this,_0xa64315);}['destroy'](){return this['updateSourceElement'](),this['ui']['destroy'](),super['destroy']();}static async['create'](_0x50b309,_0xea13ed){const _0x42bc7f=new this(_0x50b309,_0xea13ed);return await _0x42bc7f['initPlugins'](),await _0x42bc7f['ui']['init'](_0x50b309),await _0x42bc7f['data']['init'](_0x42bc7f['config']['get']('initialData')||''),_0x42bc7f['fire']('ready'),_0x42bc7f;}}const p=['RevisionHistoryUI','RestrictedEditingMode'];class k extends _0x1eb33f{['result'];static get['pluginName'](){return'RevisionViewerIntegration';}constructor(_0x1d7477){super(_0x1d7477),this['result']='end';}}class H extends _0x1eb33f{['_viewerEditor'];static get['pluginName'](){return'RevisionHistory';}static get['requires'](){return[l,u];}constructor(_0x23c2ce){if(super(_0x23c2ce),!this['editor']['config']['get']('revisionHistory'))throw new _0x40dc11('revision-history-missing-configuration',this);this['_viewerEditor']=null,this['editor']['config']['define']('revisionHistory.showRevisionViewerCallback',_0x5d739b=>this['_showRevisionViewer']({..._0x5d739b,'translations':this['editor']['locale']['translations']})),this['editor']['config']['define']('revisionHistory.closeRevisionViewerCallback',_0x52e1b0=>this['_closeRevisionViewer'](_0x52e1b0)),this['editor']['config']['define']('revisionHistory.restoreRevisionCallback',_0x53054d=>this['_restoreRevision'](_0x53054d)),this['editor']['config']['define']('revisionHistory.requireRevisionName',!0x1),this['_enhanceShowRevisionViewerCallback'](),this['_enhanceCloseRevisionViewerCallback']();}set['adapter'](_0x3b2174){this['editor']['plugins']['get']('RevisionTracker')['adapter']=_0x3b2174;}get['adapter'](){return this['editor']['plugins']['get']('RevisionTracker')['adapter'];}['addRevisionData'](_0x5c641b){return this['editor']['plugins']['get']('RevisionTracker')['addRevisionData'](_0x5c641b);}['getRevision'](_0x3dd6cc){return this['editor']['plugins']['get']('RevisionsRepository')['getRevision'](_0x3dd6cc);}['getRevisions'](_0x3eef83){return this['editor']['plugins']['get']('RevisionsRepository')['getRevisions'](_0x3eef83||{'toJSON':!0x1});}['_getRevisionViewerEditorConfig'](){const _0x5780ac=this['editor'],_0x29ec10=_0x38ac0d(_0x5780ac,p),_0x35a8eb=_0x5780ac['plugins']['get']('RevisionTracker'),_0x2d219b=_0x5780ac['plugins']['get']('Users')['users'];return _0x29ec10['toolbar']=['exitToEditing','restoreRevision','changesNavigation'],delete _0x29ec10['lazyRoots'],(_0x29ec10['plugins']['push'](k,d,R,class extends _0x1eb33f{static get['requires'](){return[d,'Users'];}['init'](){const _0x3be9b3=this['editor']['plugins']['get']('Users');for(const _0x2d6232 of _0x2d219b)_0x2d6232['isAnonymous']||_0x3be9b3['getUser'](_0x2d6232['id'])||_0x3be9b3['addUser'](_0x2d6232);const _0x47e539=_0x35a8eb['repository']['getRevisions']();let _0x1e2f6e=null;const _0x47d858=this['editor']['plugins']['get']('RevisionViewer');_0x47d858['adapter']=_0x35a8eb['adapter'],_0x47d858['bind']('isEnabled')['to'](_0x35a8eb),this['editor']['commands']['get']('restoreRevision')['bind']('isEnabled')['to'](_0x5780ac,'isReadOnly',_0x11b86f=>!_0x11b86f);for(const _0x5f33bc of _0x47e539){const _0xbd3ead=null===_0x5f33bc['creator'];if(_0xbd3ead&&_0x5f33bc['toVersion']===_0x5f33bc['fromVersion'])continue;const _0x5eed93=_0x5f33bc['toJSON']();_0x47d858['addRevisionData'](_0x5eed93,(_0x37be0e,_0x28814a,_0x380384)=>{if(_0xbd3ead){if(_0x1e2f6e)_0x1e2f6e['_update'](_0x37be0e,_0x28814a);else{if(!_0x28814a){const _0x31ba5e=_0x380384['toJSON']();_0x31ba5e['id']=_0xf10109(),_0x35a8eb['saveRevision'](_0x31ba5e,_0x380384['toVersion'])['then'](_0x2ded5f=>{_0x1e2f6e=_0x2ded5f;});}}}else _0x5f33bc['_update'](_0x37be0e,_0x28814a);});}}},w),_0x29ec10);}['_enhanceShowRevisionViewerCallback'](){const _0x2ff85d=this['editor']['config']['get']('revisionHistory')['showRevisionViewerCallback'];this['editor']['config']['set']('revisionHistory.showRevisionViewerCallback',async()=>{this['editor']['enableReadOnlyMode']('revision-history-viewer-opened');const _0x187032=this['editor']['plugins']['get']('RevisionTracker');if(this['editor']['plugins']['has']('Autosave')){const _0x56b412=this['editor']['plugins']['get']('Autosave');await _0x56b412['save']();}else await _0x187032['update']();if(this['editor']['plugins']['has']('PaginationLookup')&&this['editor']['plugins']['get']('PaginationLookup')['_recalculatePageBreaks'](),this['editor']['plugins']['has']('Dialog')){const _0x46bef6=this['editor']['plugins']['get']('Dialog');_0x46bef6['isOpen']&&_0x46bef6['hide']();}const _0xed0913=this['_getRevisionViewerEditorConfig']();return _0x2ff85d(_0xed0913)['then'](_0xa1f3a9=>{return(this['_viewerEditor']=_0xa1f3a9,this['editor']['plugins']['has']('Annotations'))&&this['editor']['plugins']['get']('Annotations')['refreshVisibility'](),_0xa1f3a9;})['catch'](_0x5ac9c2=>(console['error'](_0x5ac9c2),this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),null));});}['_enhanceCloseRevisionViewerCallback'](){const _0x12824d=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'](),_0x12824d(this['_viewerEditor'])['then'](()=>{if(this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),this['_viewerEditor']=null,this['editor']['plugins']['has']('Annotations')){const _0x24277d=this['editor']['plugins']['get']('Annotations');_0x24277d['refreshVisibility'](),_0x24277d['refreshPositioning']();}})));}['_showRevisionViewer'](_0x486172){const _0x4db80d=this['editor']['config']['get']('revisionHistory.editorContainer'),_0x2ad553=this['editor']['config']['get']('revisionHistory.viewerContainer'),_0x440af4=this['editor']['config']['get']('revisionHistory.viewerEditorElement');return m['create'](_0x440af4,_0x486172)['then'](_0x17d797=>(_0x2ad553['style']['display']='block',_0x4db80d['style']['display']='none',_0x17d797));}['_closeRevisionViewer'](_0x5bc921){const _0x82716c=this['editor']['config']['get']('revisionHistory.editorContainer');return this['editor']['config']['get']('revisionHistory.viewerContainer')['style']['display']='none',_0x82716c['style']['display']='',_0x5bc921['destroy']();}async['_restoreRevision'](_0x5d4d9e){const _0x1d752a=this['editor'],_0x5ce769=this['_viewerEditor']['plugins']['get']('RevisionViewer'),_0x235590=_0x1d752a['plugins']['get']('RevisionTracker'),_0x4edfb0=_0x5ce769['repository']['getRevision'](_0x5d4d9e);let _0x1fef74,_0x13af11,_0x5896ec;try{_0x1fef74=await _0x5ce769['getRevisionData'](_0x4edfb0),_0x13af11=await _0x5ce769['getRevisionRootsAttributes'](_0x4edfb0);}catch(_0x30b269){return void console['error'](_0x30b269);}_0x1d752a['model']['change'](_0x48cfe5=>{for(const _0x53d9d5 of Array['from'](_0x1d752a['model']['markers']['getMarkersGroup']('restrictedEditingException')))_0x48cfe5['removeMarker'](_0x53d9d5);}),_0x5ce769['isReady']=!0x1,_0x1d752a['model']['enqueueChange'](_0x149470=>{_0x149470['setSelection'](null),_0x149470['removeSelectionAttribute'](_0x1d752a['model']['document']['selection']['getAttributeKeys']());const _0x32f69c=Object['keys'](_0x1fef74);for(const _0x2167a7 of _0x1d752a['model']['document']['roots'])'$graveyard'!=_0x2167a7['rootName']&&_0x2167a7['isAttached']()&&!_0x32f69c['includes'](_0x2167a7['rootName'])&&_0x149470['detachRoot'](_0x2167a7);for(const _0x86d4b1 of _0x32f69c){let _0x37ef7a=_0x1d752a['model']['document']['getRoot'](_0x86d4b1);_0x37ef7a&&_0x37ef7a['isAttached']()||(_0x37ef7a=_0x149470['addRoot'](_0x86d4b1));const _0x2349aa=_0x13af11[_0x86d4b1],_0xb88cdd=Object['keys'](_0x2349aa),_0x1b28f2=_0x1fef74[_0x86d4b1];for(const _0x480c8a of _0x37ef7a['getAttributeKeys']())_0xb88cdd['includes'](_0x480c8a)||_0x149470['removeAttribute'](_0x480c8a,_0x37ef7a);for(const _0x3930fe of _0xb88cdd)_0x149470['setAttribute'](_0x3930fe,_0x13af11[_0x86d4b1][_0x3930fe],_0x37ef7a);_0x149470['remove'](_0x149470['createRangeIn'](_0x37ef7a)),_0x149470['insert'](_0x1d752a['data']['parse'](_0x1b28f2,_0x37ef7a),_0x37ef7a,0x0);}});const _0x872c16=y(_0x1d752a['locale'],'Restored');if(_0x4edfb0['name'])_0x5896ec=-0x1==_0x4edfb0['name']['indexOf'](_0x872c16)?_0x872c16+':\x20'+_0x4edfb0['name']:_0x4edfb0['name'];else _0x5896ec=_0x872c16+':\x20'+(_0x4edfb0['createdAt']['toLocaleDateString'](_0x1d752a['locale']['uiLanguage'],{'month':'long','day':'numeric'})+',\x20'+_0x4edfb0['createdAt']['toLocaleTimeString'](_0x1d752a['locale']['uiLanguage'],{'hour':'numeric','minute':'numeric'}));return await _0x235590['saveRevision']({'name':_0x5896ec}),_0x5ce769['isReady']=!0x0,_0x1d752a['config']['get']('revisionHistory')['closeRevisionViewerCallback']();}}export{H as RevisionHistory,u as RevisionHistoryUI,l as RevisionTracker,d as RevisionViewer,de as RevisionViewerLoadingOverlay,R as RevisionViewerUI,A as RevisionsRepository,w as RevisionsSidebar};
28
+ Rt();static get['pluginName'](){return'RevisionsSidebar';}static get['requires'](){return[d];}constructor(_0x100561){super(_0x100561),this['_revisionViewer']=_0x100561['plugins']['get'](d),this['_revisionsRepository']=this['_revisionViewer']['repository'],this['_sidebarView']=null;}['init'](){const _0x16e3f4=this['_revisionsRepository']['_revisions'],_0xc46813=this['_createRevisionActions'](),_0x6963e6=this['editor']['config']['get']('revisionHistory.viewerSidebarContainer');this['_sidebarView']=new ci(this['editor']['locale'],_0x16e3f4,_0xc46813,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',(_0x210608,_0x523983)=>{_0x523983['revisionViews']['on']('add',(_0x3aff3d,_0x4372b9)=>{_0x4372b9['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)),_0x6963e6['appendChild'](this['_sidebarView']['element']);}['destroy'](){this['_sidebarView']['element']['remove'](),this['_sidebarView']['destroy']();}['_handleEditorDataReady'](){const _0x259e4b=this['_revisionsRepository']['getRevision'](0x0);if(_0x259e4b){const _0x32ce06=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x259e4b['id']);this['_revisionViewer']['compare'](_0x259e4b,_0x32ce06);}}['_handleRevisionSelected'](_0xb937d,_0x5471a1){const _0x402256=this['_revisionsRepository']['getRevision'](_0x5471a1['id']),_0x995b12=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x402256['id']);this['_revisionViewer']['compare'](_0x402256,_0x995b12);}['_handleRevisionSetName'](_0x3065da,_0x59d2d4){this['_revisionsRepository']['getRevision'](_0x59d2d4['id'])['setName'](_0x59d2d4['name']);}['_handleDiffChange'](_0x10f581,_0x1e26ad,_0x58564a){const _0x35e559=this['_revisionsRepository']['getRevisionsInDiff'](_0x58564a);_0x35e559['length']>0x2?(this['_sidebarView']['highlightRevisions'](_0x35e559),this['_sidebarView']['selectRevision'](null)):(this['_sidebarView']['highlightRevisions']([]),this['_sidebarView']['selectRevision'](_0x35e559[0x0]));}['_createRevisionActions'](){const _0x5c0125=this['editor'],_0x439161=w['availableRevisionActions'],_0x4eabf8=_0x5c0125['config']['get']('revisionHistory.revisionActions')||w['defaultRevisionActions'];if(_0x4eabf8['length'])return _0x4eabf8['map'](_0x39572c=>{const _0xeacf6='string'==typeof _0x39572c?Object['assign']({},_0x439161[_0x39572c]):_0x39572c;return _0xeacf6['action']=_0xeacf6['action']['bind'](this,_0x5c0125),_0xeacf6['isVisible']&&(_0xeacf6['isVisible']=_0xeacf6['isVisible']['bind'](this,_0x5c0125)),_0xeacf6;});}}function Rt(){return{'compareAgainstSelected':{'name':'Compare\x20against\x20selected','action':({plugins:_0x2ca22f},_0x191331)=>{const _0x5b9f45=_0x2ca22f['get'](d),_0x35cd96=_0x5b9f45['repository'];let _0x5429c5=_0x5b9f45['diff']['newRevisionId'],_0x22d07f=_0x191331['id'];_0x35cd96['getIndex'](_0x5429c5)>_0x35cd96['getIndex'](_0x22d07f)&&([_0x5429c5,_0x22d07f]=[_0x22d07f,_0x5429c5]),_0x5b9f45['compare'](_0x5429c5,_0x22d07f);},'isVisible':({plugins:_0x172387},_0x477e11)=>{const _0x549b54=_0x172387['get'](d);return!(_0x549b54['repository']['getRevisionsInDiff'](_0x549b54['diff'])['length']>0x2)&&!_0x477e11['isSelected'];}},'restoreRevision':{'name':'Restore\x20this\x20revision','action':(_0x7e3f1d,{id:_0x44bf0c})=>{_0x7e3f1d['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x44bf0c);},'isVisible':({plugins:_0x28b82f},_0x177ffc)=>!!_0x28b82f['get'](d)['repository']['getLaterVisibleRevision'](_0x177ffc['id'])},'nameRevision':{'name':'Name\x20this\x20revision','action':({plugins:_0x3e7f13},{id:_0x19fbc5,revisionNameView:_0x27ab86})=>{const _0x121ebb=_0x3e7f13['get'](d),_0x15cf15=_0x121ebb['repository']['getEarlierVisibleRevision'](_0x19fbc5);_0x121ebb['compare'](_0x19fbc5,_0x15cf15),_0x27ab86['focus'](),_0x27ab86['fieldView']['select']();}}};}class st extends ht{['_view'];['_toolbarConfig'];['_elementReplacer'];get['view'](){return this['_view'];}constructor(_0x4c6f20,_0x2155c2){super(_0x4c6f20),this['_view']=_0x2155c2,this['_toolbarConfig']=ct(_0x4c6f20['config']['get']('toolbar')),this['_elementReplacer']=new nt();}get['element'](){return this['view']['element'];}['init'](_0x50d5f9){const _0x12fcee=this['editor'],_0x5014ee=this['view'],_0x485bb9=_0x12fcee['editing']['view'],_0x20790e=_0x5014ee['editable'],_0x1ee940=_0x485bb9['document']['getRoot']();_0x20790e['name']=_0x1ee940['rootName'],_0x5014ee['render']();const _0x2a156e=_0x20790e['element'];this['setEditableElement'](_0x20790e['name'],_0x2a156e),_0x5014ee['editable']['bind']('isFocused')['to'](this['focusTracker']),_0x485bb9['attachDomRoot'](_0x2a156e),this['_elementReplacer']['replace'](_0x50d5f9,this['element']),this['_initToolbar'](),this['fire']('ready');}['destroy'](){super['destroy']();const _0x36a5ca=this['view'],_0xad0335=this['editor']['editing']['view'];this['_elementReplacer']['restore'](),_0xad0335['detachDomRoot'](_0x36a5ca['editable']['name']),_0x36a5ca['destroy']();}['_initToolbar'](){const _0xd468b1=this['view'];_0xd468b1['stickyPanel']['bind']('isActive')['to'](this['focusTracker'],'isFocused'),_0xd468b1['stickyPanel']['limiterElement']=_0xd468b1['element'],_0xd468b1['stickyPanel']['bind']('viewportTopOffset')['to'](this,'viewportOffset',({top:_0x44683d})=>_0x44683d),_0xd468b1['toolbar']['fillFromConfig'](this['_toolbarConfig'],this['componentFactory']),this['addToolbar'](_0xd468b1['toolbar']);}}class ot extends dt{['_editable'];['stickyPanel'];['toolbar'];get['editable'](){return this['_editable'];}constructor(_0x449adf,_0xcab087,_0xcaea20={}){super(_0x449adf),this['stickyPanel']=new lt(_0x449adf),this['toolbar']=new pt(_0x449adf,{'shouldGroupWhenFull':_0xcaea20['shouldToolbarGroupWhenFull']}),this['_editable']=new ut(_0x449adf,_0xcab087);}['render'](){super['render'](),this['stickyPanel']['content']['add'](this['toolbar']),this['top']['add'](this['stickyPanel']),this['main']['add'](this['editable']);}}class m extends/* #__PURE__ -- @preserve */
29
+ rt(it){['_ui'];get['ui'](){return this['_ui'];}constructor(_0x255350,_0x336154){super(_0x336154),this['sourceElement']=_0x255350,this['model']['document']['createRoot']();const _0x47aa83=new ot(this['locale'],this['editing']['view'],{'shouldToolbarGroupWhenFull':!0x0});this['_ui']=new st(this,_0x47aa83);}['destroy'](){return this['updateSourceElement'](),this['ui']['destroy'](),super['destroy']();}static async['create'](_0x5a4bfb,_0x186fd8){const _0x4df692=new this(_0x5a4bfb,_0x186fd8);return await _0x4df692['initPlugins'](),await _0x4df692['ui']['init'](_0x5a4bfb),await _0x4df692['data']['init'](_0x4df692['config']['get']('initialData')||''),_0x4df692['fire']('ready'),_0x4df692;}}const p=['RevisionHistoryUI','RestrictedEditingMode'];class k extends _0x479ad8{['result'];static get['pluginName'](){return'RevisionViewerIntegration';}constructor(_0x33fe6b){super(_0x33fe6b),this['result']='end';}}class H extends _0x479ad8{['_viewerEditor'];static get['pluginName'](){return'RevisionHistory';}static get['requires'](){return[l,u];}constructor(_0x5961d3){if(super(_0x5961d3),!this['editor']['config']['get']('revisionHistory'))throw new _0x3f5f5e('revision-history-missing-configuration',this);this['_viewerEditor']=null,this['editor']['config']['define']('revisionHistory.showRevisionViewerCallback',_0x23ddb7=>this['_showRevisionViewer']({..._0x23ddb7,'translations':this['editor']['locale']['translations']})),this['editor']['config']['define']('revisionHistory.closeRevisionViewerCallback',_0x1444f7=>this['_closeRevisionViewer'](_0x1444f7)),this['editor']['config']['define']('revisionHistory.restoreRevisionCallback',_0x584329=>this['_restoreRevision'](_0x584329)),this['editor']['config']['define']('revisionHistory.requireRevisionName',!0x1),this['_enhanceShowRevisionViewerCallback'](),this['_enhanceCloseRevisionViewerCallback']();}set['adapter'](_0x4f984c){this['editor']['plugins']['get']('RevisionTracker')['adapter']=_0x4f984c;}get['adapter'](){return this['editor']['plugins']['get']('RevisionTracker')['adapter'];}['addRevisionData'](_0x4620cc){return this['editor']['plugins']['get']('RevisionTracker')['addRevisionData'](_0x4620cc);}['getRevision'](_0xb6fe49){return this['editor']['plugins']['get']('RevisionsRepository')['getRevision'](_0xb6fe49);}['getRevisions'](_0x38dabb){return this['editor']['plugins']['get']('RevisionsRepository')['getRevisions'](_0x38dabb||{'toJSON':!0x1});}['_getRevisionViewerEditorConfig'](){const _0x5b0c22=this['editor'],_0x56e306=_0x42fcae(_0x5b0c22,p),_0x119a07=_0x5b0c22['plugins']['get']('RevisionTracker'),_0x547749=_0x5b0c22['plugins']['get']('Users')['users'];return _0x56e306['toolbar']=['exitToEditing','restoreRevision','changesNavigation'],delete _0x56e306['lazyRoots'],(_0x56e306['plugins']['push'](k,d,R,class extends _0x479ad8{static get['requires'](){return[d,'Users'];}['init'](){const _0x3d7a41=this['editor']['plugins']['get']('Users');for(const _0x138806 of _0x547749)_0x138806['isAnonymous']||_0x3d7a41['getUser'](_0x138806['id'])||_0x3d7a41['addUser'](_0x138806);const _0x438843=_0x119a07['repository']['getRevisions']();let _0x4ce2c3=null;const _0x270c81=this['editor']['plugins']['get']('RevisionViewer');_0x270c81['adapter']=_0x119a07['adapter'],_0x270c81['bind']('isEnabled')['to'](_0x119a07),this['editor']['commands']['get']('restoreRevision')['bind']('isEnabled')['to'](_0x5b0c22,'isReadOnly',_0x304b0d=>!_0x304b0d);for(const _0x34c323 of _0x438843){const _0x4d84ec=null===_0x34c323['creator'];if(_0x4d84ec&&_0x34c323['toVersion']===_0x34c323['fromVersion'])continue;const _0x551496=_0x34c323['toJSON']();_0x270c81['addRevisionData'](_0x551496,(_0x5e14e2,_0x3586a6,_0x39d10a)=>{if(_0x4d84ec){if(_0x4ce2c3)_0x4ce2c3['_update'](_0x5e14e2,_0x3586a6);else{if(!_0x3586a6){const _0x173d2b=_0x39d10a['toJSON']();_0x173d2b['id']=_0x357570(),_0x119a07['saveRevision'](_0x173d2b,_0x39d10a['toVersion'])['then'](_0x1e0fe0=>{_0x4ce2c3=_0x1e0fe0;});}}}else _0x34c323['_update'](_0x5e14e2,_0x3586a6);});}}},w),_0x56e306);}['_enhanceShowRevisionViewerCallback'](){const _0x526d01=this['editor']['config']['get']('revisionHistory')['showRevisionViewerCallback'];this['editor']['config']['set']('revisionHistory.showRevisionViewerCallback',async()=>{this['editor']['enableReadOnlyMode']('revision-history-viewer-opened');const _0x2f94ac=this['editor']['plugins']['get']('RevisionTracker');if(this['editor']['plugins']['has']('Autosave')){const _0x3fa1ae=this['editor']['plugins']['get']('Autosave');await _0x3fa1ae['save']();}else await _0x2f94ac['update']();if(this['editor']['plugins']['has']('PaginationLookup')&&this['editor']['plugins']['get']('PaginationLookup')['_recalculatePageBreaks'](),this['editor']['plugins']['has']('Dialog')){const _0x1d8ce1=this['editor']['plugins']['get']('Dialog');_0x1d8ce1['isOpen']&&_0x1d8ce1['hide']();}const _0x1e4bc5=this['_getRevisionViewerEditorConfig']();return _0x526d01(_0x1e4bc5)['then'](_0x5cf03b=>{return(this['_viewerEditor']=_0x5cf03b,this['editor']['plugins']['has']('Annotations'))&&this['editor']['plugins']['get']('Annotations')['refreshVisibility'](),_0x5cf03b;})['catch'](_0x592c10=>(console['error'](_0x592c10),this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),null));});}['_enhanceCloseRevisionViewerCallback'](){const _0x1bb3d0=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'](),_0x1bb3d0(this['_viewerEditor'])['then'](()=>{if(this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),this['_viewerEditor']=null,this['editor']['plugins']['has']('Annotations')){const _0x4a8d1a=this['editor']['plugins']['get']('Annotations');_0x4a8d1a['refreshVisibility'](),_0x4a8d1a['refreshPositioning']();}})));}['_showRevisionViewer'](_0xe2c281){const _0x16a1d4=this['editor']['config']['get']('revisionHistory.editorContainer'),_0x3afd84=this['editor']['config']['get']('revisionHistory.viewerContainer'),_0x3230d2=this['editor']['config']['get']('revisionHistory.viewerEditorElement');return m['create'](_0x3230d2,_0xe2c281)['then'](_0x2159be=>(_0x3afd84['style']['display']='block',_0x16a1d4['style']['display']='none',_0x2159be));}['_closeRevisionViewer'](_0x12e650){const _0x1a9b7c=this['editor']['config']['get']('revisionHistory.editorContainer');return this['editor']['config']['get']('revisionHistory.viewerContainer')['style']['display']='none',_0x1a9b7c['style']['display']='',_0x12e650['destroy']();}async['_restoreRevision'](_0x4a5ae4){const _0x55c7c7=this['editor'],_0x5518ac=this['_viewerEditor']['plugins']['get']('RevisionViewer'),_0x54337a=_0x55c7c7['plugins']['get']('RevisionTracker'),_0x5c8e1a=_0x5518ac['repository']['getRevision'](_0x4a5ae4);let _0x2685de,_0x4d4096,_0x2b3135;try{_0x2685de=await _0x5518ac['getRevisionData'](_0x5c8e1a),_0x4d4096=await _0x5518ac['getRevisionRootsAttributes'](_0x5c8e1a);}catch(_0x3af7aa){return void console['error'](_0x3af7aa);}_0x55c7c7['model']['change'](_0x4a77b7=>{for(const _0x2042fd of Array['from'](_0x55c7c7['model']['markers']['getMarkersGroup']('restrictedEditingException')))_0x4a77b7['removeMarker'](_0x2042fd);}),_0x5518ac['isReady']=!0x1,_0x55c7c7['model']['enqueueChange'](_0x5bfc6a=>{_0x5bfc6a['setSelection'](null),_0x5bfc6a['removeSelectionAttribute'](_0x55c7c7['model']['document']['selection']['getAttributeKeys']());const _0x5f0ca2=Object['keys'](_0x2685de);for(const _0x6adeac of _0x55c7c7['model']['document']['roots'])'$graveyard'!=_0x6adeac['rootName']&&_0x6adeac['isAttached']()&&!_0x5f0ca2['includes'](_0x6adeac['rootName'])&&_0x5bfc6a['detachRoot'](_0x6adeac);for(const _0xb0faff of _0x5f0ca2){let _0x1a283e=_0x55c7c7['model']['document']['getRoot'](_0xb0faff);_0x1a283e&&_0x1a283e['isAttached']()||(_0x1a283e=_0x5bfc6a['addRoot'](_0xb0faff));const _0x536458=_0x4d4096[_0xb0faff],_0x1cca9f=Object['keys'](_0x536458),_0x514fe7=_0x2685de[_0xb0faff];for(const _0x543f5b of _0x1a283e['getAttributeKeys']())_0x1cca9f['includes'](_0x543f5b)||_0x5bfc6a['removeAttribute'](_0x543f5b,_0x1a283e);for(const _0x4e400f of _0x1cca9f)_0x5bfc6a['setAttribute'](_0x4e400f,_0x4d4096[_0xb0faff][_0x4e400f],_0x1a283e);_0x5bfc6a['remove'](_0x5bfc6a['createRangeIn'](_0x1a283e)),_0x5bfc6a['insert'](_0x55c7c7['data']['parse'](_0x514fe7,_0x1a283e),_0x1a283e,0x0);}});const _0xadcee=y(_0x55c7c7['locale'],'Restored');if(_0x5c8e1a['name'])_0x2b3135=-0x1==_0x5c8e1a['name']['indexOf'](_0xadcee)?_0xadcee+':\x20'+_0x5c8e1a['name']:_0x5c8e1a['name'];else _0x2b3135=_0xadcee+':\x20'+(_0x5c8e1a['createdAt']['toLocaleDateString'](_0x55c7c7['locale']['uiLanguage'],{'month':'long','day':'numeric'})+',\x20'+_0x5c8e1a['createdAt']['toLocaleTimeString'](_0x55c7c7['locale']['uiLanguage'],{'hour':'numeric','minute':'numeric'}));return await _0x54337a['saveRevision']({'name':_0x2b3135}),_0x5518ac['isReady']=!0x0,_0x55c7c7['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};