@ckeditor/ckeditor5-revision-history 0.0.0-nightly-20240525.0 → 0.0.0-nightly-20240526.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 _0x503c5a,Context as _0x8981a4,PendingActions as _0x17c715,icons as _0x2e9515,Command as _0x4a665b,ElementApiMixin as rt,Editor as it}from'@ckeditor/ckeditor5-core/dist/index.js';import{ObservableMixin as _0x2e6ef9,uid as _0x47315b,Collection as _0x23b64c,logWarning as _0x369f7a,FocusTracker as _0x25fa7c,KeystrokeHandler as _0x5f57df,scrollViewportToShowTarget as _0x2bb233,ResizeObserver as mt,ElementReplacer as nt,CKEditorError as _0x12facb}from'@ckeditor/ckeditor5-utils/dist/index.js';import{Users as _0x1a5cb6,getMarkerDomElement as _0x2ffdc7,ConfirmMixin as _0x3702b9,sanitizeEditorConfig as _0x442486}from'ckeditor5-collaboration/dist/index.js';import{ViewDocumentFragment as _0x1e2a58,ViewText as _0x2dd6db,ViewElement as _0x3413b3,Element as ft,Range as vt,Position as gt,DocumentFragment as wt,ViewContainerElement as _0x51bdc5,ViewAttributeElement as _0x205776,ViewEmptyElement as _0x1b3b85,ViewRawElement as _0x14a595,ViewUIElement as _0x3461a6,Text as _t}from'@ckeditor/ckeditor5-engine/dist/index.js';import{cloneDeep as _0xa479d8,set as _0x1b7268,unset as _0x6824a4,isEqual as _0x4a6737}from'lodash-es';import{View as _0xb4f3f0,injectCssTransitionDisabler as ts,submitHandler as _0x24766c,LabeledFieldView as at,createLabeledInputText as _0x410f53,createDropdown as _0x5d69b3,ListView as te,ListItemView as _0x45d5d1,ButtonView as _0x3b78ef,MenuBarMenuView as _0x2d1eae,MenuBarMenuListView as _0x335202,MenuBarMenuListItemView as _0x20a1bb,MenuBarMenuListItemButtonView as _0x350b73,ContextualBalloon as _0x11a2bb,ToolbarSeparatorView as _0x495c27,IconView as _0x424e44,addListToDropdown as _0x42e153,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 _0x3be6bf}from'luxon';class a extends/* #__PURE__ -- @preserve */
24
- _0x2e6ef9(){['id'];['creator'];['authors'];['diffData'];['toVersion'];['fromVersion'];['model'];constructor(_0x3383b8){super(),this['id']=_0x3383b8['id']||_0x47315b(),this['creator']=_0x3383b8['creator']||null,this['authors']=_0x3383b8['authors']||[],this['diffData']=_0x3383b8['diffData']||null,this['toVersion']=_0x3383b8['toVersion']||0x0,this['fromVersion']=_0x3383b8['fromVersion']||0x0,this['set']('name',_0x3383b8['name']||''),this['set']('createdAt',_0x3383b8['createdAt']||new Date()),this['set']('attributes',_0x3383b8['attributes']||{});}['setName'](_0x470d20){this['_update']({'name':_0x470d20});}['setAttribute'](_0x58fb3a,_0x176561){const _0x4254e7=_0xa479d8(this['attributes']);_0x1b7268(_0x4254e7,_0x58fb3a,_0x176561),this['_update']({'attributes':_0x4254e7});}['removeAttribute'](_0xd65e86){const _0x3ac2b5=_0xa479d8(this['attributes']);_0x6824a4(_0x3ac2b5,_0xd65e86),this['_update']({'attributes':_0x3ac2b5});}['_update'](_0x431c59,_0x375dfe=!0x1){let _0x3b151e=!0x1;const _0x96251={'id':this['id']},_0x1ece41=['name','createdAt','diffData','authors','attributes','toVersion','fromVersion','creatorId'];for(const _0x55a572 of _0x1ece41){const _0x4be44a=_0x431c59[_0x55a572];void 0x0!==_0x4be44a&&_0x4be44a!==this[_0x55a572]&&(this[_0x55a572]=_0x4be44a,_0x96251[_0x55a572]=_0x4be44a,_0x3b151e=!0x0);}_0x3b151e&&(_0x96251['authors']&&(_0x96251['authorsIds']=_0x96251['authors']['map'](_0x378aeb=>_0x378aeb['id']),delete _0x96251['authors']),this['fire']('_update',_0x96251,_0x375dfe));}['toJSON'](){return{'id':this['id'],'name':this['name'],'creatorId':this['creator']?this['creator']['id']:null,'authorsIds':this['authors']['map'](_0x236677=>_0x236677['id']),'diffData':this['diffData'],'createdAt':this['createdAt'],'attributes':this['attributes'],'fromVersion':this['fromVersion'],'toVersion':this['toVersion']};}}class A extends _0x503c5a{['_revisions'];static get['requires'](){return[_0x1a5cb6];}static get['pluginName'](){return'RevisionsRepository';}get['length'](){return this['_revisions']['length'];}constructor(_0x4319ff){super(_0x4319ff),this['_revisions']=new _0x23b64c();}['afterInit'](){!function(_0x30de5d){function _0x7df974(_0x211694,_0x3fc137,_0x1bb49a){const _0x19a778={};_0x19a778[_0x194560([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])]={0x10:0xa,0x18:0xc,0x20:0xe},_0x19a778[_0x194560([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],_0x19a778[_0x194560([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],_0x19a778[_0x194560([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],_0x19a778[_0x194560([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],_0x19a778[_0x194560([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],_0x19a778[_0x194560([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],_0x19a778[_0x194560([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],_0x19a778[_0x194560([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],_0x19a778[_0x194560([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],_0x19a778[_0x194560([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 _0x336ccc=new Uint8Array(0x10);for(let _0x587918=0xf;_0x587918>=0x0;--_0x587918)_0x336ccc[_0x587918]=_0x1bb49a%0x100,_0x1bb49a=parseInt(_0x1bb49a/0x100);let _0x10d77e=null,_0x52f7d1=0x10;const _0x216ff0=new Uint8Array(_0x3fc137),_0x56f405=[],_0x2526e8=[];_0x21fec9();for(let _0x3e6243=0x0;_0x3e6243<_0x211694[_0x194560([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3e6243++)0x10===_0x52f7d1&&(_0x10d77e=_0xabfd1d(_0x336ccc),_0x52f7d1=0x0,_0x3fbb50(_0x336ccc)),_0x211694[_0x3e6243]^=_0x10d77e[_0x52f7d1++];return _0x211694;function _0x3a37f4(_0x4b0b99){const _0x17fb6a=[];for(let _0x41861a=0x0;_0x41861a<_0x4b0b99[_0x194560([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x41861a+=0x4)_0x17fb6a[_0x194560([0x70,0x75,0x73,0x68])](_0x4b0b99[_0x41861a]<<0x18|_0x4b0b99[_0x41861a+0x1]<<0x10|_0x4b0b99[_0x41861a+0x2]<<0x8|_0x4b0b99[_0x41861a+0x3]);return _0x17fb6a;}function _0x3fbb50(_0x506fd7){for(let _0x45ae4a=0xf;_0x45ae4a>=0x0;_0x45ae4a--){if(0xff!==_0x506fd7[_0x45ae4a]){_0x506fd7[_0x45ae4a]++;break;}_0x506fd7[_0x45ae4a]=0x0;}}function _0xabfd1d(_0x188a09){const _0x23c9e4=_0x56f405[_0x194560([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x1,_0x2e08e7=[0x0,0x0,0x0,0x0];let t=_0x3a37f4(_0x188a09);for(let _0x1b3a67=0x0;_0x1b3a67<0x4;_0x1b3a67++)t[_0x1b3a67]^=_0x56f405[0x0][_0x1b3a67];for(let _0x4a6bd8=0x1;_0x4a6bd8<_0x23c9e4;_0x4a6bd8++){for(let _0x1d19c2=0x0;_0x1d19c2<0x4;_0x1d19c2++)_0x2e08e7[_0x1d19c2]=_0x19a778[_0x194560([0x54,0x31])][t[_0x1d19c2]>>0x18&0xff]^_0x19a778[_0x194560([0x54,0x32])][t[(_0x1d19c2+0x1)%0x4]>>0x10&0xff]^_0x19a778[_0x194560([0x54,0x33])][t[(_0x1d19c2+0x2)%0x4]>>0x8&0xff]^_0x19a778[_0x194560([0x54,0x34])][0xff&t[(_0x1d19c2+0x3)%0x4]]^_0x56f405[_0x4a6bd8][_0x1d19c2];t=_0x2e08e7[_0x194560([0x73,0x6c,0x69,0x63,0x65])]();}const _0xe1dc57=new Uint8Array(0x10);let _0x231dc8;for(let _0x33dba7=0x0;_0x33dba7<0x4;_0x33dba7++)_0x231dc8=_0x56f405[_0x23c9e4][_0x33dba7],_0xe1dc57[0x4*_0x33dba7]=0xff&(_0x19a778[_0x194560([0x53])][t[_0x33dba7]>>0x18&0xff]^_0x231dc8>>0x18),_0xe1dc57[0x4*_0x33dba7+0x1]=0xff&(_0x19a778[_0x194560([0x53])][t[(_0x33dba7+0x1)%0x4]>>0x10&0xff]^_0x231dc8>>0x10),_0xe1dc57[0x4*_0x33dba7+0x2]=0xff&(_0x19a778[_0x194560([0x53])][t[(_0x33dba7+0x2)%0x4]>>0x8&0xff]^_0x231dc8>>0x8),_0xe1dc57[0x4*_0x33dba7+0x3]=0xff&(_0x19a778[_0x194560([0x53])][0xff&t[(_0x33dba7+0x3)%0x4]]^_0x231dc8);return _0xe1dc57;}function _0x21fec9(){const _0xeba3f2=_0x19a778[_0x194560([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])][_0x216ff0[_0x194560([0x6c,0x65,0x6e,0x67,0x74,0x68])]];for(let _0x57a220=0x0;_0x57a220<=_0xeba3f2;_0x57a220++)_0x56f405[_0x194560([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]),_0x2526e8[_0x194560([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]);const _0x13354f=0x4*(_0xeba3f2+0x1),_0x4c0e91=_0x216ff0[_0x194560([0x6c,0x65,0x6e,0x67,0x74,0x68])]/0x4,_0xc1d55f=_0x3a37f4(_0x216ff0);let _0x41d5b8;for(let _0x5570a8=0x0;_0x5570a8<_0x4c0e91;_0x5570a8++)_0x41d5b8=_0x5570a8>>0x2,_0x56f405[_0x41d5b8][_0x5570a8%0x4]=_0xc1d55f[_0x5570a8],_0x2526e8[_0xeba3f2-_0x41d5b8][_0x5570a8%0x4]=_0xc1d55f[_0x5570a8];let _0x20a66c,_0x586f74=0x0,t=_0x4c0e91;for(;t<_0x13354f;){_0x20a66c=_0xc1d55f[_0x4c0e91-0x1],_0xc1d55f[0x0]^=_0x19a778[_0x194560([0x53])][_0x20a66c>>0x10&0xff]<<0x18^_0x19a778[_0x194560([0x53])][_0x20a66c>>0x8&0xff]<<0x10^_0x19a778[_0x194560([0x53])][0xff&_0x20a66c]<<0x8^_0x19a778[_0x194560([0x53])][_0x20a66c>>0x18&0xff]^_0x19a778[_0x194560([0x72,0x63,0x6f,0x6e])][_0x586f74]<<0x18,_0x586f74+=0x1;for(let _0x477016=0x1;_0x477016<_0x4c0e91/0x2;_0x477016++)_0xc1d55f[_0x477016]^=_0xc1d55f[_0x477016-0x1];_0x20a66c=_0xc1d55f[_0x4c0e91/0x2-0x1],_0xc1d55f[_0x4c0e91/0x2]^=_0x19a778[_0x194560([0x53])][0xff&_0x20a66c]^_0x19a778[_0x194560([0x53])][_0x20a66c>>0x8&0xff]<<0x8^_0x19a778[_0x194560([0x53])][_0x20a66c>>0x10&0xff]<<0x10^_0x19a778[_0x194560([0x53])][_0x20a66c>>0x18&0xff]<<0x18;for(let _0x3b2c11=_0x4c0e91/0x2+0x1;_0x3b2c11<_0x4c0e91;_0x3b2c11++)_0xc1d55f[_0x3b2c11]^=_0xc1d55f[_0x3b2c11-0x1];let _0x3f59b2,_0x5eb889,_0x2b73c2=0x0;for(;_0x2b73c2<_0x4c0e91&&t<_0x13354f;)_0x3f59b2=t>>0x2,_0x5eb889=t%0x4,_0x56f405[_0x3f59b2][_0x5eb889]=_0xc1d55f[_0x2b73c2],_0x2526e8[_0xeba3f2-_0x3f59b2][_0x5eb889]=_0xc1d55f[_0x2b73c2++],t++;}for(let _0x27fe4d=0x1;_0x27fe4d<_0xeba3f2;_0x27fe4d++)for(let _0x43d2ef=0x0;_0x43d2ef<0x4;_0x43d2ef++)_0x20a66c=_0x2526e8[_0x27fe4d][_0x43d2ef],_0x2526e8[_0x27fe4d][_0x43d2ef]=_0x19a778[_0x194560([0x55,0x31])][_0x20a66c>>0x18&0xff]^_0x19a778[_0x194560([0x55,0x32])][_0x20a66c>>0x10&0xff]^_0x19a778[_0x194560([0x55,0x33])][_0x20a66c>>0x8&0xff]^_0x19a778[_0x194560([0x55,0x34])][0xff&_0x20a66c];}}function _0x194560(_0x4b39fe){return _0x4b39fe['map'](_0x427150=>String['fromCharCode'](_0x427150))['join']('');}(_0x196023=>{function _0x2c20b8(){const _0x5b7d72=[{[_0x194560([0x69,0x64])]:0x1,[_0x194560([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x194560([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73]),[_0x194560([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x194560([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x194560([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x194560([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x194560([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x194560([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x194560([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]:[{[_0x194560([0x69,0x64])]:0x2,[_0x194560([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x194560([0x54,0x72,0x61,0x63,0x6b,0x20,0x43,0x68,0x61,0x6e,0x67,0x65,0x73]),[_0x194560([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x194560([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x194560([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x194560([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x194560([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x194560([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]),[_0x194560([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x194560([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x194560([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x194560([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}}],[_0x194560([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x194560([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x194560([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x194560([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x194560([0x69,0x64])]:0x3,[_0x194560([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x194560([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e]),[_0x194560([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x194560([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x6f,0x6f,0x6b,0x75,0x70]),[_0x194560([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x194560([0x70,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x194560([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x194560([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x194560([0x69,0x64])]:0x4,[_0x194560([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x194560([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x20,0x48,0x69,0x73,0x74,0x6f,0x72,0x79]),[_0x194560([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x194560([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x194560([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x194560([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x194560([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x194560([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]),[_0x194560([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x194560([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x194560([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x194560([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x194560([0x69,0x64])]:0x5,[_0x194560([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x194560([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x20,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65]),[_0x194560([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x194560([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65,0x55,0x49]),[_0x194560([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x194560([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]),[_0x194560([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x194560([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x194560([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x194560([0x66,0x67,0x69])]:[0xc]}},{[_0x194560([0x69,0x64])]:0x6,[_0x194560([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x194560([0x46,0x6f,0x72,0x6d,0x61,0x74,0x20,0x50,0x61,0x69,0x6e,0x74,0x65,0x72]),[_0x194560([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x194560([0x46,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x55,0x49]),[_0x194560([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x194560([0x66,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x194560([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x194560([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x194560([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x194560([0x66,0x67,0x69])]:[0xc]}},{[_0x194560([0x69,0x64])]:0x7,[_0x194560([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x194560([0x53,0x6c,0x61,0x73,0x68,0x20,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64]),[_0x194560([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x194560([0x53,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x55,0x49]),[_0x194560([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x194560([0x73,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x194560([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x194560([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x194560([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x194560([0x66,0x67,0x69])]:[0xc]}},{[_0x194560([0x69,0x64])]:0x8,[_0x194560([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x194560([0x54,0x61,0x62,0x6c,0x65,0x20,0x6f,0x66,0x20,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73]),[_0x194560([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x194560([0x54,0x61,0x62,0x6c,0x65,0x4f,0x66,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x194560([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x194560([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]),[_0x194560([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x194560([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x194560([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x194560([0x66,0x67,0x69])]:[0xc]}},{[_0x194560([0x69,0x64])]:0x9,[_0x194560([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x194560([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65]),[_0x194560([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x194560([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x55,0x49]),[_0x194560([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x194560([0x74,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x194560([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x194560([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x194560([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x194560([0x66,0x67,0x69])]:[0xc,0xe]}},{[_0x194560([0x69,0x64])]:0xa,[_0x194560([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x194560([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]),[_0x194560([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x194560([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]),[_0x194560([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x194560([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]),[_0x194560([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x194560([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x194560([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x194560([0x66,0x67,0x69])]:[0xc]}},{[_0x194560([0x69,0x64])]:0xb,[_0x194560([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x194560([0x41,0x49,0x20,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74]),[_0x194560([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x194560([0x41,0x49,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74,0x55,0x49]),[_0x194560([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x194560([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x194560([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x194560([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x194560([0x69,0x64])]:0xc,[_0x194560([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x194560([0x50,0x72,0x6f,0x64,0x75,0x63,0x74,0x69,0x76,0x69,0x74,0x79,0x20,0x70,0x61,0x63,0x6b])},{[_0x194560([0x69,0x64])]:0xd,[_0x194560([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x194560([0x43,0x61,0x73,0x65,0x20,0x43,0x68,0x61,0x6e,0x67,0x65]),[_0x194560([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x194560([0x43,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x55,0x49]),[_0x194560([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x194560([0x63,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x194560([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x194560([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x194560([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x194560([0x66,0x67,0x69])]:[0xc]}},{[_0x194560([0x69,0x64])]:0xe,[_0x194560([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x194560([0x44,0x72,0x75,0x70,0x61,0x6c,0x20,0x70,0x61,0x63,0x6b]),[_0x194560([0x66,0x6f,0x72,0x62,0x69,0x64,0x64,0x65,0x6e,0x48,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x194560([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])},{[_0x194560([0x69,0x64])]:0xf,[_0x194560([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x194560([0x4d,0x75,0x6c,0x74,0x69,0x20,0x4c,0x65,0x76,0x65,0x6c,0x20,0x4c,0x69,0x73,0x74]),[_0x194560([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x194560([0x4d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x194560([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x194560([0x6d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x194560([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x194560([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x194560([0x69,0x64])]:0x10,[_0x194560([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x194560([0x4d,0x65,0x72,0x67,0x65,0x20,0x54,0x61,0x67,0x73]),[_0x194560([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x194560([0x4d,0x65,0x72,0x67,0x65,0x54,0x61,0x67,0x73,0x55,0x49]),[_0x194560([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x194560([0x6d,0x65,0x72,0x67,0x65,0x54,0x61,0x67,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x194560([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x194560([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x194560([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x194560([0x66,0x67,0x69])]:[0xc]}}];return _0x339822(_0x5b7d72),_0x5b7d72;function _0x15fa71(_0x1941a8){return 0x1<<_0x1941a8-0x1;}function _0x339822(_0x323ef7){_0x323ef7[_0x194560([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x14c679=>{_0x14c679[_0x194560([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]=_0x15fa71(_0x14c679[_0x194560([0x69,0x64])]),_0x5a1e6a(_0x14c679)&&_0x14c679[_0x194560([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x339822(_0x14c679[_0x194560([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]);});}}function _0x5a1e6a(_0x2de69d){return _0x194560([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])in _0x2de69d;}const _0x24f941=[0x1,0x55,0x4e,0x73,0xc6,0xff,0x32,0x70,0x53,0x57,0xa1],_0x5f1f3b=[0x7f,0x22,0x6,0xd3,0xa7,0x56,0x92,0xc7,0x84,0xa0,0x12];function _0x4df458(_0x1a3417){const _0x43af18=[0x1d,0xdd,0xaf,0x5a,0xe7,0x85,0xef,0xf0,0x4b,0xb4];return _0x456898(_0x1a3417,new Uint8Array([..._0x24f941,..._0x43af18,..._0x5f1f3b]));}function _0x456898(_0x34c614,_0x55be0f){const _0x4b529d=_0x56776b(_0x34c614),_0x9b5682=Array[_0x194560([0x66,0x72,0x6f,0x6d])](_0x592169(_0x4b529d)),_0x216a33=_0x9b5682[_0x194560([0x70,0x6f,0x70])](),_0x453b3f=_0x9b5682[_0x194560([0x70,0x6f,0x70])]();return _0x4dc427(_0x7df974(_0x9b5682,_0x55be0f,_0x453b3f+0x100*_0x216a33));}function _0x56776b(_0x4d646a){const _0x2b1f33=atob(_0x4d646a),[_0x16c28d,_0xbcd2ef]=_0x2b1f33[_0x194560([0x73,0x70,0x6c,0x69,0x74])](_0x194560([0x2d]));try{if(atob(_0xbcd2ef))return atob(_0x16c28d);}catch(_0x1e8ddd){}return _0x2b1f33;}function _0x496cea(_0x5999db){try{const _0x1cfd30=_0x4df458(_0x5999db),_0x34fed5=JSON[_0x194560([0x70,0x61,0x72,0x73,0x65])](_0x1cfd30),_0x427d6a=parseInt(_0x34fed5[_0x194560([0x31])]),_0x52c752=_0x34fed5[_0x194560([0x32])]||'',_0x3bf5f0=parseInt(_0x34fed5[_0x194560([0x33])]),_0x25d3f3=parseInt(_0x34fed5[_0x194560([0x34])])||0x0,_0x555963=parseInt(_0x34fed5[_0x194560([0x35])])||0x0;return{[_0x194560([0x70,0x72,0x6f,0x64,0x75,0x63,0x74,0x4e,0x61,0x6d,0x65])]:_0x52c752,[_0x194560([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])]:_0x25d3f3,[_0x194560([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]:_0x427d6a,[_0x194560([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]:_0x3bf5f0,[_0x194560([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]:_0x555963};}catch(_0x544a37){return null;}}const _0x3bc909=_0x2c20b8(),_0x1cf787={[_0x194560([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])]:_0x1966c4,[_0x194560([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])]:_0x1bc010,[_0x194560([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])]:_0x182036},_0x363163=_0x196023[_0x194560([0x63,0x6f,0x6e,0x73,0x74,0x72,0x75,0x63,0x74,0x6f,0x72])][_0x194560([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])],_0x50312e=_0x194560([0x63,0x6f,0x6e,0x74,0x65,0x78,0x74])in _0x196023?_0x196023['context']:_0x196023['editor'],_0x3ed9e5=_0x194560([0x34,0x30,0x34,0x38,0x31,0x30,0x35,0x30]),_0x446640=_0x194560([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]),_0x3401c0=_0x50312e['config']['get'](_0x194560([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x4019fd=_0x3bc909[_0x194560([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5a1e6a)[_0x194560([0x66,0x69,0x6e,0x64])](_0x11ff39=>_0x11ff39[_0x194560([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]===_0x363163);function _0x2a3b3c(_0x4dda4b,_0xa5a677){_0x1cf787[_0xa5a677[_0x194560([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]](_0x4dda4b,_0xa5a677),_0xa5a677[_0x194560([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0xa5a677[_0x194560([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])][_0x194560([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4a8679=>_0x583dbe(_0x50312e,_0x4a8679[_0x194560([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))[_0x194560([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x56fca7=>_0x2a3b3c(_0x4dda4b,_0x56fca7));}function _0x1966c4(_0x1cdbc0,_0x64c527){_0x4a23a1(_0x2b4043(_0x1cdbc0,_0x64c527),_0x64c527);}function _0x1bc010(_0x56e7f7,_0x16b3cf){function _0x3100fb(_0x51ec04,_0xd655f2){try{if(_0x583dbe(_0x50312e,_0x194560([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))&&_0x51ec04){const _0x5ab68a=_0x4c097e(_0x50312e,_0x194560([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))[_0x194560([0x5f,0x65,0x78,0x65,0x63,0x75,0x74,0x65,0x53,0x75,0x67,0x67,0x65,0x73,0x74,0x69,0x6f,0x6e])];if(parseInt(_0x5ab68a)/0x2>_0x51ec04[_0x194560([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])])return _0x5038d2(_0xd655f2[_0x194560([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x194560([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}return _0x2b4043(_0x51ec04,_0xd655f2);}catch(_0x552313){return _0x5038d2(_0xd655f2[_0x194560([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x194560([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}_0x4a23a1(_0x3100fb(_0x56e7f7,_0x16b3cf),_0x16b3cf);}function _0x182036(_0x118cdf,_0x1b3582){const _0x519071=_0x5f1f3b[0x0]*_0x24f941[0x1],_0x5e7d0d=_0x5f1f3b[0x0]*_0x24f941[0x2],_0x239fa5=_0x5f1f3b[0x2]*_0x24f941[0x2];_0x583dbe(_0x50312e,_0x194560([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x4c097e(_0x50312e,_0x194560([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x194560([0x73,0x74,0x61,0x74,0x65])]==_0x194560([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&(window[_0x2507c9()]=_0x239fa5);function _0x35d9d6(_0x18878c,_0x46aea3){try{return _0x1aefb3()?_0x5038d2(_0x46aea3[_0x194560([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x194560([0x56,0x61,0x6c,0x69,0x64])):_0x2b4043(_0x18878c,_0x46aea3);}catch(_0x5275ba){return _0x5038d2(_0x46aea3[_0x194560([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x194560([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x157b69(_0x50e25d,_0x4a3c9a){const _0x895998=0x7;if(_0x50e25d==_0x4a3c9a[_0x194560([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x194560([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]))_0x4825a1();else{if(_0x50e25d==_0x4a3c9a[_0x194560([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x194560([0x54,0x72,0x69,0x61,0x6c])){const _0x481eaf=_0x502288();_0x481eaf&&_0x32fa61(_0x481eaf,_0x4a3c9a[_0x194560([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);const _0x964716=_0x1866f8();window[_0x194560([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x32fa61(_0x194560([0x74,0x69,0x6d,0x65]),_0x4a3c9a[_0x194560([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);},_0x964716);const _0xd82c5f=_0x4c097e(_0x50312e,_0x194560([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x194560([0x5f,0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73])];_0xd82c5f[_0x194560([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x895998?_0x32fa61(_0x194560([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x4a3c9a[_0x194560([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]):_0xd82c5f['on'](_0x194560([0x61,0x64,0x64]),()=>{_0xd82c5f[_0x194560([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x895998&&_0x32fa61(_0x194560([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x4a3c9a[_0x194560([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);});}}}function _0x502288(){if(!_0x583dbe(_0x50312e,_0x194560([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x542c97 in window)if(Number['isNaN'](Number(_0x542c97))){if(window[_0x542c97]===_0x519071)return _0x194560([0x74,0x69,0x6d,0x65]);if(window[_0x542c97]===_0x5e7d0d)return _0x194560([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]);}return!0x1;}function _0x1aefb3(){if(!_0x583dbe(_0x50312e,_0x194560([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x4c14ad in window)if(Number['isNaN'](Number(_0x4c14ad))&&window[_0x4c14ad]===_0x239fa5)return!0x0;return!0x1;}function _0x32fa61(_0x2a7e82,_0x1db595){_0x4825a1(),_0x5038d2(_0x1db595+_0x194560([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a])+_0x2a7e82),window[_0x2507c9()]=_0x2a7e82===_0x194560([0x74,0x69,0x6d,0x65])?_0x519071:_0x5e7d0d;}function _0x1866f8(){let _0x4886ff=_0x5f1f3b[0x6]*_0x24f941[0x8]*_0x24f941[0x6];return _0x583dbe(_0x50312e,_0x194560([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x4886ff/=0xa),_0x4886ff;}function _0x4825a1(){const _0x1668b6=_0x50312e;function _0x4bad94(){_0x583dbe(_0x1668b6,_0x194560([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&(_0x4c097e(_0x1668b6,_0x194560([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x194560([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x194560([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x4c097e(_0x1668b6,_0x194560([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x194560([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x4c097e(_0x1668b6,_0x194560([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x194560([0x75,0x70,0x64,0x61,0x74,0x65])]=_0x429a1b,_0x4c097e(_0x1668b6,_0x194560([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x194560([0x73,0x61,0x76,0x65,0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e])]=_0x429a1b,_0x1668b6[_0x194560([0x6d,0x6f,0x64,0x65,0x6c])][_0x194560([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x429a1b,_0x1668b6[_0x194560([0x6d,0x6f,0x64,0x65,0x6c])][_0x194560([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x429a1b,_0x1668b6[_0x194560([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x194560([0x6d,0x6f,0x64,0x65,0x6c]))),_0x583dbe(_0x1668b6,_0x194560([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x4c097e(_0x1668b6,_0x194560([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x194560([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x194560([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x4c097e(_0x1668b6,_0x194560([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x194560([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x4c097e(_0x1668b6,_0x194560([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x194560([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])]=_0x429a1b,_0x4c097e(_0x1668b6,_0x194560([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x194560([0x5f,0x67,0x65,0x74,0x44,0x69,0x66,0x66])]=_0x429a1b);}_0x1668b6[_0x194560([0x73,0x74,0x61,0x74,0x65])]==_0x194560([0x72,0x65,0x61,0x64,0x79])?_0x4bad94():_0x1668b6[_0x194560([0x6f,0x6e,0x63,0x65])](_0x194560([0x72,0x65,0x61,0x64,0x79]),()=>{if(_0x583dbe(_0x1668b6,_0x194560([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&_0x4bad94(),_0x583dbe(_0x1668b6,_0x194560([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))){const _0x2622f6=_0x4c097e(_0x1668b6,_0x194560([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79])),_0x34eef6=_0x2622f6['getRevision'](0x0),_0x2fe652=_0x2622f6['getEarlierVisibleRevision'](_0x34eef6[_0x194560([0x69,0x64])]);_0x4c097e(_0x1668b6,_0x194560([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x194560([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])](_0x34eef6[_0x194560([0x69,0x64])],_0x2fe652?_0x2fe652[_0x194560([0x69,0x64])]:null,0x1)['then'](()=>_0x4bad94());}});}_0x157b69(_0x35d9d6(_0x118cdf,_0x1b3582),_0x1b3582);}function _0x2b4043(_0x190fed,_0x5685c6){try{return _0x1fc623(_0x5685c6)?_0x5038d2(_0x5685c6[_0x194560([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x194560([0x56,0x61,0x6c,0x69,0x64])):_0x190fed&&_0x57ef11(_0x190fed[_0x194560([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])],_0x5685c6)?_0x190fed[_0x194560([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]&&!window[_0x194560([0x6f,0x70,0x65,0x6e])][_0x194560([0x63,0x6c,0x6f,0x73,0x65,0x64])]||parseInt(_0x3ed9e5)/0x2>_0x190fed[_0x194560([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]?_0x5038d2(_0x5685c6[_0x194560([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x194560([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])):_0x190fed[_0x194560([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]?_0x5038d2(_0x5685c6[_0x194560([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x194560([0x54,0x72,0x69,0x61,0x6c])):_0x5038d2(_0x5685c6[_0x194560([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x194560([0x56,0x61,0x6c,0x69,0x64])):_0x5038d2(_0x5685c6[_0x194560([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x194560([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}catch(_0x28e392){return _0x5038d2(_0x5685c6[_0x194560([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x194560([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x4a23a1(_0x215c21,_0x564dc4){if(_0x50312e instanceof _0x8981a4){const _0x5a2298=_0x50312e;_0x215c21==_0x564dc4[_0x194560([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x194560([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x46f8f5(_0x5a2298):_0x215c21==_0x564dc4[_0x194560([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x194560([0x54,0x72,0x69,0x61,0x6c])&&window[_0x194560([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x46f8f5(_0x5a2298),_0x5038d2(_0x564dc4[_0x194560([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x194560([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65]));},_0x5f1f3b[0x6]*_0x24f941[0x8]*_0x24f941[0x6]),_0x5a2298[_0x194560([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])][_0x194560([0x6f,0x6e])](_0x194560([0x61,0x64,0x64]),(_0xe23a29,_0x169cdb)=>{_0x215c21!=_0x564dc4[_0x194560([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x194560([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])&&_0x215c21!=_0x564dc4[_0x194560([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x194560([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65])&&_0x215c21!=_0x564dc4[_0x194560([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x194560([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])||_0x1b9885(_0x169cdb);});}else{const _0x4d4e26=_0x50312e;_0x215c21==_0x564dc4[_0x194560([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x194560([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x1b9885(_0x4d4e26):_0x215c21==_0x564dc4[_0x194560([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x194560([0x54,0x72,0x69,0x61,0x6c])&&_0x4d4e26[_0x194560([0x6f,0x6e])](_0x194560([0x72,0x65,0x61,0x64,0x79]),()=>{let _0x397a96=0x0;_0x4d4e26[_0x194560([0x6d,0x6f,0x64,0x65,0x6c])][_0x194560([0x6f,0x6e])](_0x194560([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x52cd00,_0x529167)=>{_0x529167[0x0][_0x194560([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x397a96++,0x1f8===_0x397a96&&(_0x1b9885(_0x4d4e26),_0x5038d2(_0x564dc4[_0x194560([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x194560([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])),_0x52cd00[_0x194560([0x6f,0x66,0x66])]());},{'priority':_0x194560([0x68,0x69,0x67,0x68,0x65,0x73,0x74])});});}}function _0x5038d2(_0x42bf5a){const _0x573306=_0x2507c9();return _0x50312e[_0x573306]=_0x42bf5a,_0x42bf5a;}function _0x2507c9(){const _0x3b98f9=String(window[_0x194560([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x194560([0x6e,0x6f,0x77])]())[_0x194560([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x194560([0x2e]),'');let _0x55c66f='';for(let _0x580f32=0x0;_0x580f32<_0x3b98f9[_0x194560([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x580f32+=0x2){let _0x54d019=parseInt(_0x3b98f9[_0x194560([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x580f32,_0x580f32+0x2));_0x54d019>=_0x446640[_0x194560([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x54d019-=_0x446640[_0x194560([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x55c66f+=_0x446640[_0x54d019];}return _0x55c66f;}function _0x46f8f5(_0x2f6f66){for(const _0x4cd7c9 of _0x2f6f66[_0x194560([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])])_0x1b9885(_0x4cd7c9);_0x4c097e(_0x2f6f66,_0x194560([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x194560([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])](!0x0),_0x4c097e(_0x2f6f66,_0x194560([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x194560([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])]=_0x429a1b;}function _0x1b9885(_0x4d25dc){function _0x4b5e12(){_0x4d25dc[_0x194560([0x6d,0x6f,0x64,0x65,0x6c])][_0x194560([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x429a1b,_0x4d25dc[_0x194560([0x6d,0x6f,0x64,0x65,0x6c])][_0x194560([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x429a1b,_0x4d25dc[_0x194560([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x194560([0x6d,0x6f,0x64,0x65,0x6c]));}_0x4d25dc[_0x194560([0x73,0x74,0x61,0x74,0x65])]==_0x194560([0x72,0x65,0x61,0x64,0x79])?_0x4b5e12():_0x4d25dc[_0x194560([0x6f,0x6e,0x63,0x65])](_0x194560([0x72,0x65,0x61,0x64,0x79]),()=>_0x4b5e12());}function _0x429a1b(){return null;}function _0x57ef11(_0x62ca1d,_0x477eb5){const _0x57a969=!!(_0x62ca1d&_0x477eb5[_0x194560([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]),_0x4fcd40=_0x241856(_0x62ca1d,_0x477eb5);return _0x57a969||_0x4fcd40;}function _0x241856(_0x8c1d68,_0x381bce){const _0x4336bc=(_0x381bce[_0x194560([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{})[_0x194560([0x66,0x67,0x69])]||null;return!!_0x4336bc&&_0x3bc909[_0x194560([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x547868=>_0x4336bc[_0x194560([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x547868[_0x194560([0x69,0x64])]))[_0x194560([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5b7de6=>!_0x3b9e18(_0x5b7de6))[_0x194560([0x73,0x6f,0x6d,0x65])](_0x5280d2=>!!(_0x8c1d68&_0x5280d2[_0x194560([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]));}function _0x3b9e18(_0x37b1f1){const _0x7c0005={[_0x194560([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])]:_0x473dca};return!!_0x37b1f1['forbiddenHandler']&&_0x7c0005[_0x37b1f1['forbiddenHandler']]();}function _0x473dca(){return!window[_0x194560([0x44,0x72,0x75,0x70,0x61,0x6c])]||!_0x583dbe(_0x50312e,_0x194560([0x64,0x72,0x75,0x70,0x61,0x6c,0x50,0x6f,0x77,0x65,0x72,0x65,0x64,0x42,0x79]));}function _0x1fc623(_0x569b29){if(!_0x583dbe(_0x50312e,_0x569b29[_0x194560([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))return!0x0;const _0x1f0af5=_0x569b29[_0x194560([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{},_0x7fb866=_0x1f0af5[_0x194560([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]||!0x1,_0x4c0876=_0x1f0af5[_0x194560([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]||!0x1,_0x1f3b09=_0x1f0af5[_0x194560([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]||!0x1;if(_0x583dbe(_0x50312e,_0x194560([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x4c097e(_0x50312e,_0x194560([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x194560([0x73,0x74,0x61,0x74,0x65])]==_0x194560([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&_0x7fb866)return!0x0;if(_0x583dbe(_0x50312e,_0x194560([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))&&_0x4c097e(_0x50312e,_0x194560([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))[_0x194560([0x72,0x65,0x73,0x75,0x6c,0x74])]==_0x194560([0x65,0x6e,0x64])&&_0x4c0876)return!0x0;return!(!_0x583dbe(_0x50312e,_0x194560([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]))||_0x4c097e(_0x50312e,_0x194560([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]))[_0x194560([0x72,0x65,0x73,0x75,0x6c,0x74])]!=_0x194560([0x65,0x6e,0x64])||!_0x1f3b09);}function _0x583dbe(_0x8c0dcb,_0x3200de){return _0x8c0dcb[_0x194560([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x194560([0x68,0x61,0x73])](_0x3200de);}function _0x4c097e(_0x21fe44,_0x32bf97){return _0x21fe44[_0x194560([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x194560([0x67,0x65,0x74])](_0x32bf97);}function _0x4dc427(_0x59fade){let _0xe183f0='';for(const _0x29f1b4 of _0x59fade)_0xe183f0+=String[_0x194560([0x66,0x72,0x6f,0x6d,0x43,0x68,0x61,0x72,0x43,0x6f,0x64,0x65])](_0x29f1b4);return _0xe183f0;}function _0x592169(_0x20a160){const _0x3cd7d3=new Uint8Array(_0x20a160[_0x194560([0x6c,0x65,0x6e,0x67,0x74,0x68])]);for(let _0x4bd290=0x0;_0x4bd290<_0x20a160[_0x194560([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4bd290++)_0x3cd7d3[_0x4bd290]=_0x20a160[_0x194560([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x4bd290);return _0x3cd7d3;}_0x4019fd&&_0x2a3b3c(_0x496cea(_0x3401c0),_0x4019fd);})(_0x30de5d);}(this);}['createRevision'](_0x362755){const _0xaf92ef=this['editor']['plugins']['get']('Users');return new a({'id':_0x362755['id'],'name':_0x362755['name'],'creator':_0x362755['creatorId']?_0xaf92ef['getUser'](_0x362755['creatorId']):null,'diffData':_0x362755['diffData']||_0x362755['data'],'authors':_0x362755['authorsIds']['map'](_0x23b008=>_0xaf92ef['getUser'](_0x23b008)),'createdAt':new Date(_0x362755['createdAt']),'attributes':_0x362755['attributes'],'fromVersion':_0x362755['fromVersion'],'toVersion':_0x362755['toVersion']});}['addRevision'](_0x167882,_0x58603f=0x0){this['_revisions']['add'](_0x167882,_0x58603f);}['getRevision'](_0x4ecc6a){return this['_revisions']['get'](_0x4ecc6a);}['getRevisions'](_0x5773ec={'toJSON':!0x1}){const _0x387910=Array['from'](this['_revisions']);return _0x387910['reverse'](),_0x5773ec['toJSON']?_0x387910['map'](_0x5b0f69=>_0x5b0f69['toJSON']()):_0x387910;}['getIndex'](_0x1ed1e1){return this['_revisions']['getIndex'](_0x1ed1e1);}['getEarlierVisibleRevision'](_0x513a84){const [,_0x36f2d0]=this['getRevisionsIterator'](_0x513a84,{'direction':'earlier'});return _0x36f2d0;}['getLaterVisibleRevision'](_0x28c51c){const [,_0x4a127b]=this['getRevisionsIterator'](_0x28c51c,{'direction':'later'});return _0x4a127b;}['getRevisionsInDiff'](_0x77e8a4){const _0x116881=[];for(const _0x1609eb of this['getRevisionsIterator'](_0x77e8a4['newRevisionId']))if(_0x116881['push'](_0x1609eb),_0x1609eb['id']===_0x77e8a4['oldRevisionId'])break;return _0x116881;}*['getRevisionsIterator'](_0x57592f,{direction:_0x3a98d9='earlier',filter:_0x570dbd=_0x464624=>!0x0}={}){const _0x259af7='earlier'===_0x3a98d9?0x1:-0x1;let _0x4dd449=this['_revisions']['get'](_0x57592f),_0x22792d=this['getIndex'](_0x4dd449);for(yield _0x4dd449;_0x4dd449;){if(_0x22792d+=_0x259af7,_0x4dd449=this['getRevision'](_0x22792d),!_0x4dd449)return;_0x570dbd(_0x4dd449)&&(yield _0x4dd449);}}}function y(_0x245663,_0x13889e,_0x2c31d5){const t=_0x245663['t'];switch(_0x13889e){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'},_0x2c31d5);case'X_OF_Y_CHANGES':return t({'string':'%0\x20of\x20%1','id':'X_OF_Y_CHANGES'},_0x2c31d5);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':_0x51bdc5,'a':_0x205776,'e':_0x1b3b85,'r':_0x14a595,'u':_0x3461a6};class l extends _0x503c5a{['adapter'];['currentRevision'];['repository'];['_revisionDataBuilder'];['_source'];['_initialRevisionId'];['_bufferedUpdates'];['_pendingAction'];['_continueCurrentRevision'];['_startingVersion'];['_loadedStateData'];static get['pluginName'](){return'RevisionTracker';}static get['requires'](){return[_0x1a5cb6,A,_0x17c715];}constructor(_0x362711){super(_0x362711),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 _0x37918a=_0x47315b();this['_source']={'history':this['editor']['model']['document']['history'],'getLatestVersion':()=>Promise['resolve'](this['editor']['model']['document']['version']),'getCurrentRevisionId':()=>_0x37918a},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 _0x314dfd=this['repository']['getRevision'](0x0),_0x51945f=_0x314dfd&&null===_0x314dfd['creator']?_0x314dfd:null;if(this['_continueCurrentRevision']=!!_0x51945f&&this['editor']['config']['get']('revisionHistory.resumeUnsavedRevision'),this['editor']['plugins']['has']('RealTimeCollaborationClient')){const _0x19c2de=this['_source']['getCurrentRevisionId'](),_0x10104b=this['repository']['getRevision'](_0x19c2de);if(_0x10104b)this['_startingVersion']=_0x10104b['fromVersion'],this['_continueCurrentRevision']=!0x1;else{const _0x13b7c5=this['_source']['history']['_operations']['find'](_0x4df747=>!_0x4df747['_isInit']),_0xf8ee44=_0x13b7c5?_0x13b7c5['baseVersion']:this['_source']['history']['version'];_0x314dfd?(_0x314dfd['toVersion']<_0xf8ee44&&_0x314dfd['_update']({'toVersion':_0xf8ee44}),this['_continueCurrentRevision']?(this['_source']['getCurrentRevisionId']=()=>_0x51945f['id'],this['_startingVersion']=_0x51945f['fromVersion']):(this['_startingVersion']=_0x314dfd['toVersion'],this['_continueCurrentRevision']=!0x1)):(this['_startingVersion']=_0xf8ee44,this['_continueCurrentRevision']=!0x1);}}else _0x51945f&&(this['editor']['model']['document']['history']['version']=Math['max'](_0x51945f['toVersion'],this['editor']['model']['document']['history']['version']),_0x51945f['fromVersion']===_0x51945f['toVersion']?(0x0!==_0x51945f['fromVersion']&&(this['_source']['getCurrentRevisionId']=()=>_0x51945f['id']),this['_continueCurrentRevision']=!0x1):this['_continueCurrentRevision']&&(this['_source']['getCurrentRevisionId']=()=>_0x51945f['id'],this['_startingVersion']=_0x51945f['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',_0x442633=>!_0x442633);}async['afterInit'](){if(this['repository']['length']>0x0){const _0x1f9619=this['repository']['getRevision'](0x0),_0x3eda63=await this['getRevisionDocumentData'](_0x1f9619),_0x4c56b8=await this['getRevisionRootsAttributes'](_0x1f9619);this['_replaceEditorDataWithRevisionData'](_0x3eda63,_0x4c56b8);}}['setSource'](_0x53f353){this['_source']=_0x53f353;}async['update'](){const _0x327e11=await this['_source']['getLatestVersion']();if(_0x327e11>this['currentRevision']['toVersion']){await this['_loadState']();const _0x5bae81=this['buildRevisionData']({'revision':this['currentRevision'],'to':_0x327e11});_0x5bae81['authors']=_0x5bae81['authorsIds']['map'](_0x1d0a25=>this['editor']['plugins']['get']('Users')['getUser'](_0x1d0a25)),this['currentRevision']['_update'](_0x5bae81);}}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'](_0x273b4b={},_0x2fd9e1=null){const _0x52f447=[];await this['_loadState'](),this['_continueCurrentRevision']=!0x1,_0x2fd9e1>this['currentRevision']['toVersion']&&(_0x2fd9e1=null),null===_0x2fd9e1&&(_0x2fd9e1=await this['_source']['getLatestVersion']());const _0x506b20=this['_getFromVersion'](_0x2fd9e1),_0x1e6491=this['buildRevisionData']({'from':_0x506b20,'to':_0x2fd9e1});if(this['currentRevision']['toVersion']<_0x2fd9e1){const _0x10f57b=this['buildRevisionData']({'revision':this['currentRevision'],'from':_0x2fd9e1,'to':_0x2fd9e1});_0x10f57b['authors']=[],_0x10f57b['authorsIds']=[],_0x10f57b['id']=this['currentRevision']['id'],this['currentRevision']['_update'](_0x10f57b,!0x0),delete _0x10f57b['authors'],_0x52f447['push'](_0x10f57b);}_0x273b4b['creatorId']=this['editor']['plugins']['get']('Users')['me']['id'],_0x273b4b['name']=_0x273b4b['name']||null,_0x273b4b['id']=_0x273b4b['id']||_0x47315b(),_0x273b4b={..._0x273b4b,..._0x1e6491};const _0x435eea=this['addRevisionData'](_0x273b4b);_0x52f447['push'](_0x273b4b);const _0x285f89=this['repository']['getIndex'](_0x435eea);if(0x0!==_0x285f89){const _0x1dc4ee=this['repository']['getRevision'](_0x285f89-0x1);if(_0x1dc4ee['fromVersion']!==_0x2fd9e1){const _0x2a0edd=this['_revisionDataBuilder']['getData'](_0x2fd9e1,_0x1dc4ee['toVersion']),_0x53430c={'id':_0x1dc4ee['id'],'diffData':_0x2a0edd['diffData'],'authorsIds':_0x2a0edd['authorsIds'],'authors':_0x2a0edd['authorsIds']['map'](_0x3a7475=>this['editor']['plugins']['get']('Users')['getUser'](_0x3a7475)),'fromVersion':_0x2fd9e1};_0x1dc4ee===this['currentRevision']&&(_0x53430c['createdAt']=new Date(_0x273b4b['createdAt']['getTime']()+0xa)),_0x1dc4ee['_update'](_0x53430c,!0x0),delete _0x53430c['authors'],_0x52f447['push'](_0x53430c);}}if(this['adapter']){for(const _0x2fb51c of _0x52f447)this['_bufferUpdate'](_0x2fb51c['id'],_0x2fb51c,!0x0);this['sendBufferedUpdates']();}return _0x435eea;}['addRevisionData'](_0xb4386a){const _0x1726e9=this['repository']['createRevision'](_0xb4386a);return this['adapter']&&_0x1726e9['on']('_update',(_0x16e01d,_0x515599,_0x595a0e)=>{_0x595a0e||(this['_bufferUpdate'](_0x515599['id'],_0x515599,!0x0),this['sendBufferedUpdates']());}),this['repository']['addRevision'](_0x1726e9,this['_findInsertionIndex'](_0x1726e9)),_0x1726e9;}async['getRevisionDocumentData'](_0x12abaf){await this['_loadRevisionData'](_0x12abaf);const _0x44abc1={};for(const _0x102056 in _0x12abaf['diffData']){if(_0x12abaf['diffData'][_0x102056]['attachChange']&&!_0x12abaf['diffData'][_0x102056]['attachChange']['isAttached'])continue;const _0x3beddf=this['_removeRevisionMarkers'](JSON['parse'](_0x12abaf['diffData'][_0x102056]['insertions'])),_0x498289=this['editor']['editing']['view']['document'],_0x30790a=new _0x1e2a58(_0x498289,_0x3beddf['map'](_0x461ff9=>B(_0x461ff9,this['editor'])));this['editor']['data']['processor']['useFillerType']('marked'),_0x44abc1[_0x102056]=this['editor']['data']['processor']['toData'](_0x30790a),this['editor']['data']['processor']['useFillerType']('default');}return _0x44abc1;}async['getRevisionRootsAttributes'](_0x1ab8e0){await this['_loadRevisionData'](_0x1ab8e0);const _0x2af580={};for(const _0x30570d in _0x1ab8e0['diffData'])_0x1ab8e0['diffData'][_0x30570d]['attachChange']&&!_0x1ab8e0['diffData'][_0x30570d]['attachChange']['isAttached']||(_0x2af580[_0x30570d]=_0x1ab8e0['diffData'][_0x30570d]['attributesAfter']||{});return _0x2af580;}['sendBufferedUpdates'](){if(0x0===this['_bufferedUpdates']['size'])return;if(this['_isPendingUpdate'])return;let _0x4d67dc=Array['from'](this['_bufferedUpdates']['values']());this['_bufferedUpdates']['clear']();for(let _0x5af257=0x0;_0x5af257<_0x4d67dc['length'];_0x5af257++){const _0xa0c85c=_0x4d67dc[_0x5af257];let _0x4f65fc=!0x1;for(const _0x107d44 of Object['keys'](_0xa0c85c))void 0x0===_0xa0c85c[_0x107d44]?delete _0xa0c85c[_0x107d44]:'id'!==_0x107d44&&(_0x4f65fc=!0x0);_0x4f65fc||(_0x4d67dc[_0x5af257]=null);}if(_0x4d67dc=_0x4d67dc['filter'](_0x29ffc3=>null!==_0x29ffc3),!_0x4d67dc['length'])return;for(let _0x5c1271=0x0;_0x5c1271<_0x4d67dc['length'];_0x5c1271++){const _0x4a725d=_0x4d67dc[_0x5c1271];void 0x0!==_0x4a725d['fromVersion']&&void 0x0===_0x4a725d['toVersion']&&(_0x4a725d['toVersion']=this['repository']['getRevision'](_0x4a725d['id'])['toVersion']),void 0x0!==_0x4a725d['toVersion']&&void 0x0===_0x4a725d['fromVersion']&&(_0x4a725d['fromVersion']=this['repository']['getRevision'](_0x4a725d['id'])['fromVersion']);}const _0x4ec383=this['editor']['config']['get']('collaboration.channelId');this['_isPendingUpdate']=!0x0,this['_addPendingAction'](),this['adapter']['updateRevisions'](_0x4d67dc,_0x4ec383)['finally'](()=>{this['_isPendingUpdate']=!0x1;})['then'](_0x493594=>{if(_0x493594){for(const _0x209a87 of _0x493594)this['setRevisionData']({'id':_0x209a87['id'],'createdAt':_0x209a87['createdAt']});}this['_removePendingAction'](),this['sendBufferedUpdates']();});}['_replaceEditorDataWithRevisionData'](_0x2daa61,_0xe0dd75){let _0x13e466=this['editor']['config']['get']('initialData'),_0x45a5ed=this['editor']['config']['get']('rootsAttributes');if(void 0x0===_0x13e466){_0x13e466={};for(const _0x44e098 of this['editor']['model']['document']['getRootNames']())_0x13e466[_0x44e098]='';}if('string'==typeof _0x13e466&&(_0x13e466={'main':_0x13e466}),void 0x0===_0x45a5ed){_0x45a5ed={};for(const _0x8dec43 of this['editor']['model']['document']['getRootNames']())_0x45a5ed[_0x8dec43]={};}let _0x54d2fd=!0x1;const _0x23a316=Object['keys'](_0x13e466),_0x26a94e=Object['keys'](_0x2daa61);for(const _0x25fb18 of _0x23a316){if(_0x13e466[_0x25fb18]!==_0x2daa61[_0x25fb18]&&''!==_0x13e466[_0x25fb18]['trim']()){_0x54d2fd=!0x0;break;}if(!_0x4a6737(_0x45a5ed[_0x25fb18],_0xe0dd75[_0x25fb18])&&Object['keys'](_0x45a5ed[_0x25fb18])['length']>0x0){_0x54d2fd=!0x0;break;}}_0x54d2fd||(_0x54d2fd=_0x26a94e['some'](_0x4078bf=>!this['editor']['model']['document']['getRoot'](_0x4078bf))),_0x54d2fd&&_0x369f7a('editor-initial-data-replaced-with-revision-data',{'editorData':_0x13e466,'editorRootsAttributes':_0x45a5ed,'revisionData':_0x2daa61,'revisionRootsAttributes':_0xe0dd75}),this['editor']['config']['set']('initialData',_0x2daa61),this['editor']['config']['set']('rootsAttributes',_0xe0dd75);}['_addPendingAction'](){if(!this['_pendingAction']){const _0x132e43=this['editor']['plugins']['get']('PendingActions');this['_pendingAction']=_0x132e43['add'](y(this['editor']['locale'],'PENDING_ACTION_REVISION_HISTORY'));}}['_removePendingAction'](){this['_pendingAction']&&(this['editor']['plugins']['get']('PendingActions')['remove'](this['_pendingAction']),this['_pendingAction']=null);}['_findInsertionIndex'](_0x270a22){const _0x339372=this['repository']['getRevisions']();_0x339372['reverse']();let _0x32cc94=0x0;for(;_0x32cc94<_0x339372['length'];){const _0x399924=_0x339372[_0x32cc94];if(_0x399924===this['currentRevision']){_0x32cc94++;continue;}if(_0x399924['id']===this['_initialRevisionId'])break;const _0x33c216=_0x270a22['toVersion']-_0x399924['toVersion']||_0x270a22['fromVersion']-_0x399924['fromVersion'];if(_0x33c216>0x0)break;if(_0x33c216<0x0)_0x32cc94++;else{if(!_0x270a22['creator']&&_0x399924['creator'])break;if(_0x399924['creator']||!_0x270a22['creator']){if(_0x270a22['createdAt']>_0x399924['createdAt'])break;_0x32cc94++;}else _0x32cc94++;}}return _0x32cc94;}['setRevisionData'](_0x1871c0){const _0x4ae339=this['repository']['getRevision'](_0x1871c0['id']);if(_0x1871c0['createdAt']&&(_0x1871c0['createdAt']=new Date(_0x1871c0['createdAt'])),_0x1871c0['authorsIds']){const _0x3d7dc5=this['editor']['plugins']['get']('Users');_0x1871c0['authors']=_0x1871c0['authorsIds']['map'](_0xa70854=>_0x3d7dc5['getUser'](_0xa70854));}_0x4ae339['_update'](_0x1871c0,!0x0);}['buildRevisionData']({revision:_0x31eb68=null,from:_0x30ffb7=null,to:_0x35cb93=null}){_0x30ffb7=null!==_0x30ffb7?_0x30ffb7:_0x31eb68['fromVersion'],_0x35cb93=null!==_0x35cb93?_0x35cb93:_0x31eb68['toVersion'];const _0x1a783e=this['_revisionDataBuilder']['getData'](_0x30ffb7,_0x35cb93),_0x5228fb={'diffData':_0x1a783e['diffData'],'authorsIds':_0x1a783e['authorsIds'],'fromVersion':_0x30ffb7,'toVersion':_0x35cb93};if(!_0x31eb68||_0x35cb93!==_0x31eb68['toVersion']){const _0x230b21=_0x35cb93-0x1,_0x4d8933=this['_source']['history']['getOperation'](_0x230b21);_0x5228fb['createdAt']=_0x4d8933&&_0x4d8933['createdAt']||new Date();}if(this['_loadedStateData']&&_0x30ffb7===this['_loadedStateData']['fromVersion']){for(const _0x45f2f9 of this['_loadedStateData']['authors'])_0x5228fb['authorsIds']['includes'](_0x45f2f9['id'])||_0x5228fb['authorsIds']['push'](_0x45f2f9['id']);}return _0x5228fb;}['_loadRevisionData'](_0x4d4932){if(!_0x4d4932||_0x4d4932['diffData'])return Promise['resolve']();{const _0x42eb88=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0x42eb88,'revisionId':_0x4d4932['id']})['then'](_0x571f7b=>{_0x4d4932['diffData']=_0x571f7b['diffData'];});}}['_bufferUpdate'](_0x107589,_0x22e3f7,_0x3334fb){if(this['_bufferedUpdates']['has'](_0x107589)){const _0x55fbf2=this['_bufferedUpdates']['get'](_0x107589);_0x22e3f7=_0x3334fb?{..._0x55fbf2,..._0x22e3f7}:{..._0x22e3f7,..._0x55fbf2};}this['_bufferedUpdates']['set'](_0x107589,_0x22e3f7);}['_getFromVersion'](_0x5d4aac){const _0x3cf342=this['repository']['getRevisions']();_0x3cf342['reverse'](),_0x3cf342['shift']();const _0x556400=_0x3cf342['find'](_0x2a7c53=>_0x2a7c53['toVersion']<=_0x5d4aac)['toVersion'];return _0x556400<this['_startingVersion']?this['_startingVersion']:_0x556400;}['_createInitialRevision'](_0x3fb7e5){const _0x11c7f5=this['repository']['getRevision'](this['repository']['length']-0x1);if(_0x11c7f5)this['_initialRevisionId']=_0x11c7f5['id'];else{const _0x1cb5b9=!this['editor']['model']['document']['roots']['find'](_0x48521c=>this['editor']['model']['hasContent'](_0x48521c)),_0x183e96=this['editor']['plugins']['get']('Users')['me']['id'],_0x3fac01=y(this['editor']['locale'],_0x1cb5b9?'Empty\x20document':'Initial\x20revision');this['_makeRevision']({'from':_0x3fb7e5,'to':_0x3fb7e5,'id':this['_initialRevisionId'],'name':_0x3fac01,'creatorId':_0x183e96});}}['_createCurrentRevision'](_0x58d8fc){const _0x3b0839=this['_source']['getCurrentRevisionId']();this['currentRevision']=this['repository']['getRevision'](_0x3b0839),this['currentRevision']||(this['currentRevision']=this['_makeRevision']({'from':_0x58d8fc,'to':_0x58d8fc,'id':_0x3b0839,'name':'','creatorId':null}));}['_makeRevision']({name:_0x4f24bf,from:_0x49aa2b,to:_0x175f5a,creatorId:_0x1be922,id:_0x5c5d99}){const _0x19d8d4=this['buildRevisionData']({'from':_0x49aa2b,'to':_0x175f5a});_0x19d8d4['name']=_0x4f24bf,_0x19d8d4['creatorId']=_0x1be922,_0x19d8d4['id']=_0x5c5d99;const _0x54e0b1=this['addRevisionData'](_0x19d8d4);return this['adapter']&&this['_bufferUpdate'](_0x19d8d4['id'],_0x19d8d4,!0x0),_0x54e0b1;}['_setConversion'](){this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'});}['_removeRevisionMarkers'](_0x514747){return(_0x514747=_0x514747['filter'](_0x32316c=>!_0x32316c['name']||'revision-start'!==_0x32316c['name']&&'revision-end'!==_0x32316c['name']))['forEach'](_0x453b94=>{'string'!=typeof _0x453b94&&(_0x453b94['children']=this['_removeRevisionMarkers'](_0x453b94['children']),_0x453b94['attributes']=_0x453b94['attributes']['filter'](_0x2cb36e=>!_0x2cb36e[0x0]['startsWith']('data-revision-')));}),_0x514747;}}function B(_0x26de52,_0x7499b9){const _0x2e5749=_0x7499b9['editing']['view']['document'];if('string'==typeof _0x26de52)return new _0x2dd6db(_0x2e5749,_0x26de52);{const _0x301440=_0x26de52['children']['map'](_0x37ffbb=>B(_0x37ffbb,_0x7499b9));return new(T[_0x26de52['type']]||_0x3413b3)(_0x2e5749,_0x26de52['name'],_0x26de52['attributes'],_0x301440);}}class J{['editor'];['source'];['_savedMetaData'];['_lastFrom'];['_lastTo'];['_markers'];['_diffRoots'];['_diffRootsAttributes'];['_baseRoots'];['_baseRootsAttributes'];['_idsRoots'];['_baseIdsRoots'];['_touched'];['_touchedMarkers'];['_touchedRoots'];['_revisionId'];['_startingRevisionId'];constructor(_0x45ed79){this['editor']=_0x45ed79,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'](_0x10f6f8){this['source']=_0x10f6f8;const _0x4fcc5b=new Map(),_0x2b9026=new Map(),_0x55a0a7=this['editor']['model']['document']['roots']['map'](_0x514447=>_0x514447['rootName']);for(const _0x43cdef of _0x55a0a7){const _0x4eb549=this['editor']['model']['document']['getRoot'](_0x43cdef),_0x3914af=q(_0x4eb549);_0x4fcc5b['set'](_0x43cdef,_0x3914af),_0x2b9026['set'](_0x43cdef,Object['fromEntries'](_0x4eb549['getAttributes']()));}const _0x173957=Array['from'](this['editor']['model']['markers'])['map'](_0x504e36=>[_0x504e36['name'],_0x504e36['getRange']()]),_0x57dc0c=this['source']['version'];this['_saveMetaData'](_0x57dc0c,_0x4fcc5b,_0x173957,_0x2b9026),this['_startingRevisionId']=this['_revisionId'];const _0x27fd83=new Map(),_0x2d9cea=new Map();for(const _0x209985 of _0x55a0a7){const _0x704000=G(_0x209985);_0x27fd83['set'](_0x209985,_0x704000),_0x2d9cea['set'](_0x209985,{});}this['_saveMetaData'](Number['NEGATIVE_INFINITY'],_0x27fd83,[],_0x2d9cea);}['getData'](_0x2949d6,_0x503306){if(this['_lastFrom']===_0x2949d6&&this['_lastTo']<=_0x503306)this['_savedMetaData']['size']>0x1&&this['_removeMetaData'](this['_lastTo']),this['_applyOperations'](this['_lastTo'],_0x503306,!0x0);else{if(!this['_savedMetaData']['has'](_0x2949d6)){const _0xd426ce=this['_getPreviousFrom'](_0x2949d6);this['_calculateMetaData'](_0xd426ce,_0x2949d6,!0x1);}this['_calculateMetaData'](_0x2949d6,_0x503306,!0x0);}return this['_lastFrom']=_0x2949d6,this['_lastTo']=_0x503306,this['_getState']();}['loadState'](_0x5b5289){this['_reset'](),this['_lastFrom']=_0x5b5289['fromVersion'],this['_lastTo']=_0x5b5289['toVersion'];for(const _0x23207b in _0x5b5289['diffData']){const _0x48f08f=_0x5b5289['diffData'][_0x23207b]['attachChange'],_0x293de3=_0xa479d8(_0x5b5289['diffData'][_0x23207b]['attributesBefore'])||{},_0x5f49d0=this['_makeModelFromViewString'](_0x5b5289['diffData'][_0x23207b]['deletions']);_0x5f49d0['rootName']=_0x23207b,_0x5f49d0['_isAttached']=!_0x48f08f||!_0x48f08f['isAttached'],_0x5f49d0['isAttached']=()=>_0x5f49d0['_isAttached'],this['_baseRoots']['set'](_0x23207b,_0x5f49d0),this['_baseRootsAttributes']['set'](_0x23207b,_0x293de3),_0x48f08f&&this['_touchedRoots']['set'](_0x23207b,_0x48f08f);const _0x27b84c=this['_makeIdsRoot'](_0x5f49d0);this['_baseIdsRoots']['set'](_0x23207b,_0x27b84c);for(const [_0x1e0883,_0x55972c]of _0x5f49d0['markers']){if(!_0x1e0883['startsWith']('revision:'))continue;const _0x1d53b4=_0x1e0883['split'](':')[0x2];for(const _0x171905 of _0x55972c['getWalker']({'singleCharacters':!0x0})){const _0x527e89=this['_getVidAttributeName'](_0x171905),_0x1b9fd0='elementEnd'==_0x171905['type']?_0x171905['previousPosition']['path']['slice'](0x0,-0x1):_0x171905['previousPosition']['path'],_0x4cb540=_0x27b84c['getNodeByPath'](_0x1b9fd0)['getAttribute'](_0x527e89);this['_touched']['set'](_0x4cb540,{'userId':_0x1d53b4});}}}this['_startingRevisionId']=this['_revisionId'];const _0x46d726=[...Array(this['_revisionId'])['keys']()]['slice'](0x1)['filter'](_0x33ed37=>!this['_touched']['has'](_0x33ed37));let _0x41973e=0x0;const _0x3fc9c1=new Map();for(const _0x416cc6 in _0x5b5289['diffData']){const _0x53bfb5=_0x5b5289['diffData'][_0x416cc6]['attachChange'],_0x3b6d1a=_0xa479d8(_0x5b5289['diffData'][_0x416cc6]['attributesAfter'])||{},_0x5dbe7f=this['_makeModelFromViewString'](_0x5b5289['diffData'][_0x416cc6]['insertions']);_0x5dbe7f['rootName']=_0x416cc6,_0x5dbe7f['_isAttached']=!_0x53bfb5||_0x53bfb5['isAttached'],_0x5dbe7f['isAttached']=()=>_0x5dbe7f['_isAttached'],this['_diffRoots']['set'](_0x416cc6,_0x5dbe7f),this['_diffRootsAttributes']['set'](_0x416cc6,_0x3b6d1a);const _0x28aa30=this['_makeIdsRoot'](_0x5dbe7f,Number['NEGATIVE_INFINITY']);this['_idsRoots']['set'](_0x416cc6,_0x28aa30),_0x3fc9c1['set'](_0x416cc6,_0x5dbe7f['isAttached']()?_0x3b6d1a:{});for(const [_0x53ede2,_0x550221]of _0x5dbe7f['markers']){if(!_0x53ede2['startsWith']('revision:'))continue;const _0x1ba7ce=_0x53ede2['split'](':')[0x2];for(const _0x519f70 of _0x550221['getWalker']({'singleCharacters':!0x0})){const _0x456cc2=this['_getVidAttributeName'](_0x519f70),_0x301286=this['_revisionId']++,_0x2baa21='elementEnd'==_0x519f70['type']?_0x519f70['previousPosition']['path']['slice'](0x0,-0x1):_0x519f70['previousPosition']['path'];_0x28aa30['getNodeByPath'](_0x2baa21)['_setAttribute'](_0x456cc2,_0x301286),this['_touched']['set'](_0x301286,{'userId':_0x1ba7ce});}}for(const _0x36ba04 of this['editor']['model']['createRangeIn'](_0x5dbe7f)['getWalker']({'singleCharacters':!0x0})){const _0x2a7afa=this['_getVidAttributeName'](_0x36ba04),_0x96faed='elementEnd'==_0x36ba04['type']?_0x36ba04['previousPosition']['path']['slice'](0x0,-0x1):_0x36ba04['previousPosition']['path'],_0x521f48=_0x28aa30['getNodeByPath'](_0x96faed);_0x521f48['getAttribute'](_0x2a7afa)>0x0||_0x521f48['_setAttribute'](_0x2a7afa,_0x46d726[_0x41973e++]);}for(const [_0x136afc,_0x38143c]of _0x5dbe7f['markers'])_0x136afc['startsWith']('revision:')||this['_markers']['set'](_0x136afc,_0x38143c);}const _0x5a4ca5=G('$graveyard');this['_baseRoots']['set']('$graveyard',_0x5a4ca5),this['_baseIdsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x5a4ca5,0x1));const _0x190981=G('$graveyard');this['_diffRoots']['set']('$graveyard',_0x190981),this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x190981,0x1));const _0x3b9db4=Array['from'](this['_diffRoots'])['map'](([_0x1ec8dd,_0x3e256c])=>[_0x1ec8dd,q(_0x3e256c)]);this['_saveMetaData'](this['_lastTo'],_0x3b9db4,this['_markers'],_0x3fc9c1);}['_makeModelFromViewString'](_0xcdd0d4){const _0x58b736=JSON['parse'](_0xcdd0d4),_0x2b3c82=this['editor']['editing']['view']['document'],_0x517e72=new _0x1e2a58(_0x2b3c82,_0x58b736['map'](_0x2496a7=>B(_0x2496a7,this['editor'])));return this['editor']['data']['toModel'](_0x517e72);}['_saveMetaData'](_0x50d84a,_0x1d26aa,_0x5f35bb,_0x578499){const _0x44c18c=new Map(_0x1d26aa),_0x586d85=new Map(_0xa479d8(_0x578499)),_0x3dd554=new Map();for(const [_0x3136c7,_0x492402]of _0x5f35bb)_0x3dd554['set'](_0x3136c7,{'start':_0x492402['start']['clone'](),'end':_0x492402['end']['clone'](),'rootName':_0x492402['root']['rootName']});this['_savedMetaData']['set'](_0x50d84a,{'roots':_0x44c18c,'markers':_0x3dd554,'rootsAttributes':_0x586d85});}['_removeMetaData'](_0x4de06e){this['_savedMetaData']['delete'](_0x4de06e);}['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'](_0x6fa1ac,_0x42b83b=null){let _0x12c37e=null;_0x6fa1ac['is']('documentFragment')||(_0x12c37e=new ft(_0x6fa1ac['name'],{'vid_start':null===_0x42b83b?this['_revisionId']++:_0x42b83b++}));const _0x4849a9=[];for(const _0x5c4afc of _0x6fa1ac['getChildren']())if(_0x5c4afc['is']('element')){_0x4849a9['push'](this['_makeIdsRoot'](_0x5c4afc,_0x42b83b));const _0x18d6dd=_0x4849a9[_0x4849a9['length']-0x1];null!==_0x42b83b&&(_0x42b83b=_0x18d6dd['is']('element','$text')?_0x18d6dd['getAttribute']('vid')+0x1:_0x18d6dd['getAttribute']('vid_end')+0x1);}else{for(let _0x1ffd25=0x0;_0x1ffd25<_0x5c4afc['offsetSize'];_0x1ffd25++)_0x4849a9['push'](new ft('$text',{'vid':null===_0x42b83b?this['_revisionId']++:_0x42b83b++}));}if(_0x6fa1ac['is']('documentFragment')){const _0x3f16d8=G(_0x6fa1ac['rootName']);return _0x3f16d8['_insertChild'](0x0,_0x4849a9),_0x3f16d8;}return _0x12c37e['_setAttribute']('vid_end',null===_0x42b83b?this['_revisionId']++:_0x42b83b++),_0x12c37e['_insertChild'](0x0,_0x4849a9),_0x12c37e;}['_calculateMetaData'](_0x3f8741,_0x1df939,_0x175dcf){this['_reset']();const {roots:_0x1c070a,markers:_0x1526b3,rootsAttributes:_0x5532ab}=this['_savedMetaData']['get'](_0x3f8741);this['_baseRoots']=new Map(_0x1c070a),this['_baseRootsAttributes']=new Map(_0xa479d8(_0x5532ab));for(const [_0x2bd76a,_0x487fc3]of this['_baseRoots'])if('$graveyard'!==_0x2bd76a&&(this['_diffRoots']['set'](_0x2bd76a,q(_0x487fc3)),this['_diffRootsAttributes']=new Map(_0xa479d8(_0x5532ab)),_0x175dcf)){const _0x587dd9=this['_revisionId'];this['_idsRoots']['set'](_0x2bd76a,this['_makeIdsRoot'](_0x487fc3)),this['_baseIdsRoots']['set'](_0x2bd76a,this['_makeIdsRoot'](_0x487fc3,_0x587dd9));}this['_startingRevisionId']=this['_revisionId'],this['_diffRoots']['set']('$graveyard',q(this['_baseRoots']['get']('$graveyard'))),_0x175dcf&&this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](this['_baseRoots']['get']('$graveyard')));for(const [_0x3c11d4,_0xf26bca]of _0x1526b3){const _0x31dd34=this['_baseRoots']['get'](_0xf26bca['rootName']),_0x5ba75a=this['_diffRoots']['get'](_0xf26bca['rootName']),_0x371a3d=new vt(this['_fixPosition'](_0xf26bca['start'],_0x31dd34),this['_fixPosition'](_0xf26bca['end'],_0x31dd34)),_0x32c436=this['_fixRange'](_0x371a3d,_0x5ba75a);_0x31dd34['markers']['set'](_0x3c11d4,_0x371a3d),this['_markers']['set'](_0x3c11d4,_0x32c436);}this['_applyOperations'](_0x3f8741,_0x1df939,_0x175dcf);}['_applyOperations'](_0x4eeca4,_0x35a2be,_0x728c41){for(const _0x2c8bc9 of this['source']['getOperations'](_0x4eeca4,_0x35a2be))this['_handleOperation'](_0x2c8bc9,_0x728c41);for(const _0x4326fa of this['_diffRoots']['values']())_0x4326fa['markers']['clear']();for(const [_0x57c1a3,_0x5f1039]of this['_markers']){this['_diffRoots']['get'](_0x5f1039['root']['rootName'])['markers']['set'](_0x57c1a3,_0x5f1039['clone']());}const _0x52920f=new Map(),_0x50deff=new Map();for(const [_0x1d9d9a,_0x1b85e0]of this['_diffRoots'])_0x52920f['set'](_0x1d9d9a,q(_0x1b85e0)),_0x50deff['set'](_0x1d9d9a,this['_diffRootsAttributes']['get'](_0x1d9d9a));this['_saveMetaData'](_0x35a2be,_0x52920f,this['_markers'],_0x50deff);}['_getPreviousFrom'](_0x23b39b){const _0x214640=Array['from'](this['_savedMetaData']['keys']());_0x214640['sort']((_0x9de9c2,_0x446843)=>_0x9de9c2-_0x446843),_0x214640['reverse']();for(const _0x3bc519 of _0x214640)if(_0x3bc519<_0x23b39b)return _0x3bc519;return Number['NEGATIVE_INFINITY'];}['_copyMarkers'](_0x1c01aa,_0x1af7ff){const _0x1a4046=Array['from'](_0x1af7ff['markers'])['map'](([_0x3c1b60,_0x5b4e33])=>[_0x3c1b60,this['_fixRange'](_0x5b4e33,_0x1c01aa)]);_0x1c01aa['markers']=new Map(_0x1a4046);}['_transformMarkers'](_0x131f8b){for(const _0x5bdd7d of this['_markers']['values']()){const _0x42aa85=_0x5bdd7d['getTransformedByOperation'](_0x131f8b),_0x5c8839=vt['_createFromRanges'](_0x42aa85);_0x5bdd7d['start']=_0x5c8839['start'],_0x5bdd7d['end']=_0x5c8839['end'];}}['_handleOperation'](_0x2f791f,_0x4cd82e){if('addRoot'==_0x2f791f['type']||'detachRoot'==_0x2f791f['type'])return void this['_handleRootOperation'](_0x2f791f,_0x4cd82e);if('insert'==_0x2f791f['type']){const _0x35f589=_0x2f791f['position']['root']['rootName'];this['_diffRoots']['has'](_0x35f589)||(this['_diffRoots']['set'](_0x35f589,G(_0x35f589,!0x0)),this['_diffRootsAttributes']['set'](_0x35f589,{}),_0x4cd82e&&this['_idsRoots']['set'](_0x35f589,G(_0x35f589,!0x0)));}else{if('addRootAttribute'==_0x2f791f['type']||'removeRootAttribute'==_0x2f791f['type']||'changeRootAttribute'==_0x2f791f['type'])return void this['_handleRootAttributeOperation'](_0x2f791f);}const _0x56df0a=this['_cloneOperation'](_0x2f791f,this['_diffRoots']);if('marker'!==_0x2f791f['type']&&(_0x56df0a['_execute'](),this['_transformMarkers'](_0x56df0a)),_0x4cd82e)switch(_0x56df0a['type']){case'insert':this['_handleInsertOperation'](_0x2f791f);break;case'move':case'remove':case'reinsert':this['_handleMoveOperation'](_0x2f791f);break;case'merge':this['_handleMergeOperation'](_0x2f791f);break;case'split':this['_handleSplitOperation'](_0x2f791f);break;case'marker':this['_handleMarkerOperation'](_0x2f791f);}}['_cloneOperation'](_0x57036d,_0x5226fc){const _0x171d20=_0x57036d['clone']();return _0x171d20['_authorId']=_0x57036d['_authorId'],this['_fixOperation'](_0x171d20,_0x5226fc),_0x171d20;}['_getBaseVids'](_0x3e8507){return _0x3e8507['map'](_0x71bb03=>{const _0x312b69=this['_getVidAttributeName'](_0x71bb03);return Number(_0x71bb03['item']['getAttribute'](_0x312b69));});}['_generateTape'](_0x55c29d,_0x24c231){if(_0x55c29d['is']('element','$text'))_0x24c231['push']({'item':_0x55c29d,'type':'text'});else{_0x55c29d['is']('element')&&_0x24c231['push']({'item':_0x55c29d,'type':'elementStart'});for(const _0xc47322 of _0x55c29d['getChildren']())this['_generateTape'](_0xc47322,_0x24c231);_0x55c29d['is']('element')&&_0x24c231['push']({'item':_0x55c29d,'type':'elementEnd'});}return _0x24c231;}['_getState'](){const _0x2744bf=new Map(this['_touched']),_0x1c6f8f=new Map(_0x2744bf),_0x2b4e34=new Map(),_0x5e1385={'insertions':{},'deletions':{}},_0x40ac1e={'insertions':{},'deletions':{}},_0x116049=new Map(),_0x14db22=new Set([...this['_baseRoots']['keys'](),...this['_diffRoots']['keys']()]);_0x14db22['delete']('$graveyard');for(const _0x4cfbcb of _0x14db22){const _0x2801d3=this['_diffRoots']['get'](_0x4cfbcb)||G(_0x4cfbcb,!0x1),_0x56f9ea=this['_baseRoots']['get'](_0x4cfbcb)||G(_0x4cfbcb,!0x1);_0x2801d3['isAttached']()||_0x56f9ea['isAttached']()?(_0x5e1385['insertions'][_0x4cfbcb]=q(_0x2801d3),_0x5e1385['deletions'][_0x4cfbcb]=q(_0x56f9ea),this['_copyMarkers'](_0x5e1385['deletions'][_0x4cfbcb],_0x56f9ea),this['_copyMarkers'](_0x5e1385['insertions'][_0x4cfbcb],_0x2801d3),_0x40ac1e['insertions'][_0x4cfbcb]=this['_generateTape'](this['_idsRoots']['get'](_0x4cfbcb),[]),_0x40ac1e['deletions'][_0x4cfbcb]=this['_generateTape'](this['_baseIdsRoots']['get'](_0x4cfbcb)||G(_0x4cfbcb,!0x1),[])):_0x14db22['delete'](_0x4cfbcb);}for(const _0x2cdd22 of _0x14db22){const _0x16e86a=_0x40ac1e['insertions'][_0x2cdd22];for(const _0x184c3f of _0x16e86a){const _0x49045a=this['_getVidAttributeName'](_0x184c3f),_0x1c28f=_0x184c3f['item']['getAttribute'](_0x49045a);_0x1c6f8f['delete'](_0x1c28f),_0x1c28f>=this['_startingRevisionId']&&_0x2b4e34['set'](_0x1c28f,_0x2744bf['get'](_0x1c28f));}}for(const _0x2021c9 of _0x14db22){const _0x2ec57a=_0x40ac1e['insertions'][_0x2021c9],_0x105a1f=this['_getBaseVids'](_0x40ac1e['deletions'][_0x2021c9]);let _0xf6642d=0x0;for(const _0x3d9850 of _0x2ec57a){const _0x4d989a=this['_getVidAttributeName'](_0x3d9850),_0x311350=_0x3d9850['item']['getAttribute'](_0x4d989a);if(!_0x2b4e34['has'](_0x311350)&&!_0x116049['has'](_0x311350)){if(_0x1c6f8f['has'](_0x311350))_0xf6642d++;else{if(_0x311350!=_0x105a1f[_0xf6642d]){const _0x30bf95=_0x2744bf['get'](_0x311350)||_0x2744bf['get'](_0x105a1f[_0xf6642d]);for(;_0x311350!=_0x105a1f[_0xf6642d];)_0x1c6f8f['has'](_0x105a1f[_0xf6642d])||(_0x116049['set'](_0x105a1f[_0xf6642d],_0x30bf95),_0x2744bf['set'](_0x105a1f[_0xf6642d],_0x30bf95)),_0xf6642d++;}_0xf6642d++;}}}}for(const _0x229ae3 of _0x14db22){const _0x508837=_0x40ac1e['insertions'][_0x229ae3];for(const _0x1518fd of _0x508837){const _0x402f9c=this['_getVidAttributeName'](_0x1518fd),_0x12eac9=_0x1518fd['item']['getAttribute'](_0x402f9c);if(_0x116049['has'](_0x12eac9)){const _0x397338=_0x116049['get'](_0x12eac9);_0x1c6f8f['has'](_0x12eac9)||_0x1c6f8f['set'](_0x12eac9,{..._0x397338}),_0x2b4e34['set'](_0x12eac9,{..._0x397338});}}}for(const _0x2b7222 of _0x1c6f8f['keys']())_0x2b7222>=this['_startingRevisionId']&&_0x1c6f8f['delete'](_0x2b7222);const _0x519cf6=new Map();for(const _0x32a01a of _0x14db22){let _0x26b089=_0x40ac1e['insertions'][_0x32a01a];for(const _0xf2c76a of _0x26b089)if(_0xf2c76a['item']['is']('element','tableCell')){const _0x5d9f3d=this['_getVidAttributeName'](_0xf2c76a),_0x396f30=_0xf2c76a['item']['getAttribute'](_0x5d9f3d);if(_0x2b4e34['has'](_0x396f30)){const _0x330ec8=_0xf2c76a['item']['parent']['parent']['getAttribute']('vid_start'),_0x44a0ba=_0x519cf6['get'](_0x330ec8)||new Set();_0x44a0ba['add'](_0x2b4e34['get'](_0x396f30)['userId']),_0x519cf6['set'](_0x330ec8,_0x44a0ba);}}_0x26b089=_0x40ac1e['deletions'][_0x32a01a];for(const _0x2b1c54 of _0x26b089)if(_0x2b1c54['item']['is']('element','tableCell')){const _0x23f483=this['_getVidAttributeName'](_0x2b1c54),_0x4424a0=_0x2b1c54['item']['getAttribute'](_0x23f483);if(_0x1c6f8f['has'](_0x4424a0)){const _0x5cd187=_0x2b1c54['item']['parent']['parent']['getAttribute']('vid_start'),_0x5533af=_0x519cf6['get'](_0x5cd187)||new Set();_0x5533af['add'](_0x1c6f8f['get'](_0x4424a0)['userId']),_0x519cf6['set'](_0x5cd187,_0x5533af);}}for(const _0x5d05a9 of _0x519cf6['keys']())(_0x2b4e34['has'](_0x5d05a9)||_0x1c6f8f['has'](_0x5d05a9))&&_0x519cf6['delete'](_0x5d05a9);}for(const _0xdfe063 of _0x14db22){const _0x329174=_0x40ac1e['insertions'][_0xdfe063];let _0x12e3b5=null,_0x42fbf6=null;for(const _0x55e65a of _0x329174){const _0x5aa860=this['_getVidAttributeName'](_0x55e65a),_0x1b2abd=_0x55e65a['item']['getAttribute'](_0x5aa860),_0x499182=_0x519cf6['get'](_0x1b2abd);_0x499182&&'elementStart'==_0x55e65a['type']&&(_0x12e3b5=Array['from'](_0x499182)[0x0],_0x42fbf6=_0x55e65a['item']['getAttribute']('vid_end')),_0x12e3b5&&(_0x1c6f8f['set'](_0x1b2abd,{'userId':_0x12e3b5}),_0x2b4e34['set'](_0x1b2abd,{'userId':_0x12e3b5})),_0x1b2abd==_0x42fbf6&&(_0x12e3b5=null,_0x42fbf6=null);}}const _0x274758={},_0x320363=new Set();for(const _0x12a1f5 of _0x14db22){const _0x20364f=_0x5e1385['deletions'][_0x12a1f5],_0x4057d5=_0x5e1385['insertions'][_0x12a1f5];for(const {userId:_0x162e35}of this['_touchedMarkers']['values']())null!==_0x162e35&&_0x320363['add'](_0x162e35);for(const {userId:_0x2b8c31}of this['_touchedRoots']['values']())null!==_0x2b8c31&&_0x320363['add'](_0x2b8c31);this['_markChanges'](_0x4057d5,_0x40ac1e['insertions'][_0x12a1f5],_0x2b4e34,'insertion',_0x320363),this['_markChanges'](_0x20364f,_0x40ac1e['deletions'][_0x12a1f5],_0x1c6f8f,'deletion',_0x320363),_0x274758[_0x12a1f5]={'insertions':this['_prepareViewToSave'](_0x4057d5),'deletions':this['_prepareViewToSave'](_0x20364f),'attachChange':this['_touchedRoots']['get'](_0x12a1f5)||null,'attributesBefore':_0xa479d8(this['_baseRootsAttributes']['get'](_0x12a1f5))||{},'attributesAfter':_0xa479d8(this['_diffRootsAttributes']['get'](_0x12a1f5))};}return{'diffData':_0x274758,'authorsIds':Array['from'](_0x320363)};}['_processRootBeforeSave'](_0xe9b2d3){for(const [,_0x5e5648]of _0xe9b2d3['markers']){const _0x3e5c88=_0x5e5648['start']['getAncestors']()['filter'](_0x1ba097=>'tableCell'==_0x1ba097['name']);for(const _0x428865 of _0x3e5c88)0x1==_0x428865['childCount']&&_0x428865['getChild'](0x0)['is']('element','paragraph')&&_0x428865['getChild'](0x0)['_setAttribute']('keepParagraph',!0x0);}}['_prepareViewToSave'](_0x2707d7){this['_processRootBeforeSave'](_0x2707d7);const _0x3b629d=this['editor']['data']['toView'](_0x2707d7,{}),_0x4f43a=Array['from'](_0x3b629d['getChildren']())['map'](_0x22ecb0=>this['_getViewJson'](_0x22ecb0));return JSON['stringify'](_0x4f43a);}['_getViewJson'](_0x9406b3){if(_0x9406b3['is']('$text'))return _0x9406b3['data'];{const _0x3b2687=_0x9406b3;return{'type':Object['keys'](T)['find'](_0x401a04=>_0x9406b3 instanceof T[_0x401a04]),'name':_0x3b2687['name'],'attributes':Array['from'](_0x3b2687['getAttributes']()),'children':Array['from'](_0x3b2687['getChildren']())['map'](_0x3ca86c=>this['_getViewJson'](_0x3ca86c))};}}['_markChanges'](_0x5ae0b6,_0x30f49e,_0x15c08e,_0x58bf50,_0x552334){let _0x301b7e=null,_0x32182a=null,_0x42757e=0x0;const _0x34b06f=this['editor']['model'];for(let _0x515f31=0x0;_0x515f31<_0x30f49e['length'];_0x515f31++){const _0x3c3f8e=this['_getVidAttributeName'](_0x30f49e[_0x515f31]),_0x30d651=_0x30f49e[_0x515f31]['item']['getAttribute'](_0x3c3f8e),_0x4a1c71=_0x15c08e['get'](_0x30d651),_0x8f39b0=_0x515f31==_0x30f49e['length']-0x1;(!_0x301b7e&&_0x4a1c71&&(_0x301b7e=_0x4a1c71,_0x32182a=_0x30f49e[_0x515f31]),_0x301b7e&&(!_0x4a1c71||_0x4a1c71['userId']!=_0x301b7e['userId']))&&(_0x1e7d37(_0x4a1c71,L(_0x32182a,_0x5ae0b6,_0x34b06f),L(_0x30f49e[_0x515f31],_0x5ae0b6,_0x34b06f)),_0x301b7e=_0x4a1c71||null,_0x32182a=_0x4a1c71?_0x30f49e[_0x515f31]:null),_0x301b7e&&_0x8f39b0&&_0x1e7d37(_0x4a1c71,L(_0x32182a,_0x5ae0b6,_0x34b06f),W(_0x30f49e[_0x515f31],_0x5ae0b6,_0x34b06f));}function _0x1e7d37(_0x4519d8,_0x557f86,_0x357070){const _0x2dd378=_0x301b7e['userId'],_0x256621='revision:'+_0x58bf50+':'+_0x2dd378+':'+_0x42757e++,_0x45f92d=_0x34b06f['createRange'](_0x557f86,_0x357070);_0x5ae0b6['markers']['set'](_0x256621,_0x45f92d),null!==_0x2dd378&&_0x552334['add'](_0x2dd378);}}['_getVidAttributeName'](_0x1731dc){switch(_0x1731dc['type']){case'elementStart':return'vid_start';case'elementEnd':return'vid_end';default:return'vid';}}['_fixOperation'](_0x48efe7,_0x181443){_0x48efe7['baseVersion']=null;for(const _0x57d922 in _0x48efe7){const _0xa02b2e=_0x48efe7[_0x57d922];if(_0xa02b2e instanceof gt){const _0x3df0dd=_0x181443['get'](_0xa02b2e['root']['rootName']);_0x48efe7[_0x57d922]=this['_fixPosition'](_0xa02b2e,_0x3df0dd);}if(_0xa02b2e instanceof vt){const _0x1fc15a=_0x181443['get'](_0xa02b2e['root']['rootName']);_0x48efe7[_0x57d922]=this['_fixRange'](_0xa02b2e,_0x1fc15a);}'root'===_0x57d922&&(_0x48efe7['root']=_0x181443['get'](_0x48efe7['root']['rootName']));}}['_fixRange'](_0x337a04,_0x15aa69){return this['editor']['model']['createRange'](this['_fixPosition'](_0x337a04['start'],_0x15aa69),this['_fixPosition'](_0x337a04['end'],_0x15aa69));}['_fixPosition'](_0x34eff3,_0x3d1e13){return this['editor']['model']['createPositionFromPath'](_0x3d1e13,_0x34eff3['path'],_0x34eff3['stickiness']);}['_handleInsertOperation'](_0x3a8c94){const _0x2f1074=this['_idsRoots']['get'](_0x3a8c94['position']['root']['rootName']),_0x3926f6=this['_fixPosition'](_0x3a8c94['position'],_0x2f1074),_0x9faa4a=null===_0x3a8c94['_authorId']?null:_0x3a8c94['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x14fe01=_0x3926f6['parent'],_0x3bf556=this['_revisionId'],_0x21be4f=[];for(const _0x214044 of _0x3a8c94['nodes'])if(_0x214044['is']('element'))_0x21be4f['push'](this['_makeIdsRoot'](_0x214044));else{for(let _0x1c990d=0x0;_0x1c990d<_0x214044['offsetSize'];_0x1c990d++)_0x21be4f['push'](new ft('$text',{'vid':this['_revisionId']++}));}const _0x4d3aa1=this['_revisionId'];for(let _0x113349=_0x3bf556;_0x113349<_0x4d3aa1;_0x113349++)this['_touched']['set'](_0x113349,{'userId':_0x9faa4a});_0x14fe01['_insertChild'](_0x3926f6['offset'],_0x21be4f);}['_handleMoveOperation'](_0x111d17){(_0x111d17=this['_cloneOperation'](_0x111d17,this['_idsRoots']))['_execute']();const _0x4c93d9=null===_0x111d17['_authorId']?null:_0x111d17['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x4b053e=_0x111d17['getMovedRangeStart'](),_0x2ae9ec=_0x4b053e['parent'],_0x4b0af0=_0x4b053e['offset'];!function _0x288e0b(_0x16ddbf,_0x529ba7,_0x5c7814,_0x129f1f){for(let _0x4720e7=_0x5c7814;_0x4720e7<_0x129f1f;_0x4720e7++){const _0x37e799=_0x529ba7['getChild'](_0x4720e7);_0x37e799['is']('element','$text')?_0x16ddbf['set'](_0x37e799['getAttribute']('vid'),{'userId':_0x4c93d9}):(_0x16ddbf['set'](_0x37e799['getAttribute']('vid_start'),{'userId':_0x4c93d9}),_0x288e0b(_0x16ddbf,_0x37e799,0x0,_0x37e799['childCount']),_0x16ddbf['set'](_0x37e799['getAttribute']('vid_end'),{'userId':_0x4c93d9}));}}(this['_touched'],_0x2ae9ec,_0x4b0af0,_0x4b0af0+_0x111d17['howMany']);}['_handleMergeOperation'](_0x53f663){const _0x239f2d=null===(_0x53f663=this['_cloneOperation'](_0x53f663,this['_idsRoots']))['_authorId']?null:_0x53f663['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x58d984=_0x53f663['targetPosition']['parent'],_0x52357e=_0x53f663['sourcePosition']['parent'],_0x1cc01d=_0x58d984['getAttribute']('vid_end'),_0x247419=_0x52357e['getAttribute']('vid_start');_0x58d984['_setAttribute']('vid_end',_0x52357e['getAttribute']('vid_end')),_0x52357e['_setAttribute']('vid_end',_0x1cc01d),this['_touched']['set'](_0x247419,{'userId':_0x239f2d}),this['_touched']['set'](_0x1cc01d,{'userId':_0x239f2d}),_0x53f663['_execute']();}['_handleSplitOperation'](_0x45701c){const _0x299256=null===(_0x45701c=this['_cloneOperation'](_0x45701c,this['_idsRoots']))['_authorId']?null:_0x45701c['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x4f042d=_0x45701c['graveyardPosition'],_0x32d27c=_0x45701c['splitPosition']['parent'];_0x45701c['_execute']();const _0x822111=_0x32d27c['getAttribute']('vid_end'),_0x479584=_0x45701c['insertionPosition']['nodeAfter'];if(_0x4f042d){const _0x594c64=_0x479584['getAttribute']('vid_end'),_0x3fe5d1=_0x32d27c['getAttribute']('vid_end');_0x32d27c['_setAttribute']('vid_end',_0x594c64),_0x479584['_setAttribute']('vid_end',_0x3fe5d1),this['_touched']['set'](_0x32d27c['getAttribute']('vid_end'),{'userId':_0x299256}),this['_touched']['set'](_0x479584['getAttribute']('vid_start'),{'userId':_0x299256});}else{const _0x227ef0=this['_revisionId']++,_0x2de958=this['_revisionId']++;_0x32d27c['_setAttribute']('vid_end',_0x227ef0),_0x479584['_setAttribute']('vid_start',_0x2de958),_0x479584['_setAttribute']('vid_end',_0x822111),this['_touched']['set'](_0x227ef0,{'userId':_0x299256}),this['_touched']['set'](_0x2de958,{'userId':_0x299256});}}['_handleMarkerOperation'](_0x3f6473){if(!_0x3f6473['affectsData'])return;const _0xab3e5d=(_0x3f6473=this['_cloneOperation'](_0x3f6473,this['_diffRoots']))['oldRange']?_0x3f6473['oldRange']['root']:null,_0x2c4acb=_0x3f6473['newRange']?_0x3f6473['newRange']['root']:null;_0xab3e5d&&this['_markers']['delete'](_0x3f6473['name']),_0x2c4acb&&this['_markers']['set'](_0x3f6473['name'],_0x3f6473['newRange']['clone']());const _0x4a6cb7=null===_0x3f6473['_authorId']?null:_0x3f6473['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x9a179e=_0x3f6473['name'];if(!this['_touchedMarkers']['has'](_0x9a179e))return void this['_touchedMarkers']['set'](_0x9a179e,{'range':_0x3f6473['oldRange'],'userId':_0x4a6cb7});const _0x3f38ff=this['_touchedMarkers']['get'](_0x9a179e),_0x3f3a5c=_0x3f38ff['range'],_0x5b669c=_0x3f6473['newRange'];null==_0x3f3a5c&&null==_0x5b669c||_0x3f3a5c&&_0x5b669c&&_0x3f3a5c['isEqual'](_0x5b669c)?this['_touchedMarkers']['delete'](_0x3f6473['name']):_0x3f38ff['userId']=_0x4a6cb7;}['_handleRootOperation'](_0x1b168f,_0x49da1c){this['_diffRoots']['has'](_0x1b168f['rootName'])?this['_diffRoots']['get'](_0x1b168f['rootName'])['_isAttached']=_0x1b168f['isAdd']:(this['_diffRoots']['set'](_0x1b168f['rootName'],G(_0x1b168f['rootName'],!0x0)),this['_diffRootsAttributes']['set'](_0x1b168f['rootName'],{}),_0x49da1c&&this['_idsRoots']['set'](_0x1b168f['rootName'],G(_0x1b168f['rootName'],!0x0)));const _0x287123=null===_0x1b168f['_authorId']?null:_0x1b168f['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x3201d3=this['_touchedRoots']['get'](_0x1b168f['rootName']);_0x3201d3&&_0x3201d3['userId']===_0x287123?this['_touchedRoots']['delete'](_0x1b168f['rootName']):this['_touchedRoots']['set'](_0x1b168f['rootName'],{'userId':_0x287123,'isAttached':_0x1b168f['isAdd']});}['_handleRootAttributeOperation'](_0x38c0b5){const _0x1ba1c6=this['_diffRootsAttributes']['get'](_0x38c0b5['root']['rootName']);null===_0x38c0b5['newValue']?delete _0x1ba1c6[_0x38c0b5['key']]:_0x1ba1c6[_0x38c0b5['key']]=_0x38c0b5['newValue'];}}function q(_0x29f897){const _0x51c9e5=G(_0x29f897['rootName'],_0x29f897['isAttached']());for(const _0xdeff28 of _0x29f897['getChildren']()){const _0x1fd04d=_0xdeff28['_clone'](!0x0);_0x51c9e5['_appendChild'](_0x1fd04d);}return _0x51c9e5;}function G(_0x46d5fd,_0x2f9b31=!0x0){const _0x4602bc=new wt();return _0x4602bc['rootName']=_0x46d5fd,_0x4602bc['_isAttached']=_0x2f9b31,_0x4602bc['isAttached']=()=>_0x4602bc['_isAttached'],_0x4602bc;}function L(_0xe2e443,_0x2aed38,_0x5084b9){const _0xfe419c='elementEnd'==_0xe2e443['type']?_0x5084b9['createPositionAt'](_0xe2e443['item'],'end'):_0x5084b9['createPositionBefore'](_0xe2e443['item']);return _0x5084b9['createPositionFromPath'](_0x2aed38,_0xfe419c['path'],_0xfe419c['stickiness']);}function W(_0x457a25,_0x3fc79c,_0x39f25d){const _0x5ef595='elementStart'==_0x457a25['type']?_0x39f25d['createPositionAt'](_0x457a25['item'],0x0):_0x39f25d['createPositionAfter'](_0x457a25['item']);return _0x39f25d['createPositionFromPath'](_0x3fc79c,_0x5ef595['path'],_0x5ef595['stickiness']);}class ns extends _0xb4f3f0{['focusTracker'];['keystrokes'];['revisionNameInputView'];constructor(_0x32eb4f,_0x308551){super(_0x32eb4f),this['focusTracker']=new _0x25fa7c(),this['keystrokes']=new _0x5f57df(),this['set']('revisionNameInputValue',''),this['revisionNameInputView']=this['_createRevisionNameInput'](_0x308551),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'](),_0x24766c({'view':this}),this['focusTracker']['add'](this['revisionNameInputView']['element']),this['keystrokes']['listenTo'](this['element']);const _0x389c23=_0x26eaa6=>_0x26eaa6['stopPropagation']();this['keystrokes']['set']('arrowright',_0x389c23),this['keystrokes']['set']('arrowleft',_0x389c23),this['keystrokes']['set']('arrowup',_0x389c23),this['keystrokes']['set']('arrowdown',_0x389c23);}['focus'](){this['revisionNameInputView']['focus']();}get['revisionName'](){return this['revisionNameInputView']['fieldView']['element']['value']['trim']();}set['revisionName'](_0x9d9cb7){this['revisionNameInputView']['fieldView']['element']['value']=_0x9d9cb7['trim']();}['reset'](){this['revisionNameInputView']['fieldView']['element']['value']='',this['revisionNameInputView']['errorText']=null;}['_createRevisionNameInput'](_0x13c852){const _0x3b55e5=new at(this['locale'],_0x410f53),_0x546442=_0x3b55e5['fieldView'];_0x546442['extendTemplate']({'attributes':{'maxlength':'220'}});let _0x55f203=y(this['locale'],'Name\x20of\x20the\x20revision');return!_0x13c852&&(_0x55f203+='\x20('+y(this['locale'],'optional')+')'),(_0x3b55e5['label']=_0x55f203,_0x546442['on']('input',()=>{this['revisionNameInputValue']=_0x546442['element']['value']['trim']();}),_0x3b55e5);}}class u extends _0x503c5a{static get['pluginName'](){return'RevisionHistoryUI';}static get['requires'](){return[l];}['_saveRevisionFormView'];['init'](){const _0x485c9b=this['editor'],_0x3b6418=_0x485c9b['plugins']['get']('RevisionTracker');_0x485c9b['ui']['componentFactory']['add']('revisionHistory',_0xb12a36=>{const _0x162291=_0x5d69b3(_0xb12a36),_0x5dfcfe=_0x162291['panelView']['children'],_0x5ca796=new te(_0xb12a36),_0x3d5881=new _0x45d5d1(_0xb12a36),_0x299140=new _0x3b78ef(_0xb12a36),_0x516348=new _0x45d5d1(_0xb12a36),_0x490748=new _0x3b78ef(_0xb12a36);return _0x162291['bind']('isEnabled')['to'](_0x3b6418,'isReady',_0x3b6418,'isEnabled',_0x485c9b,'isReadOnly',(_0x73fe95,_0x2340f6,_0x16e192)=>_0x73fe95&&_0x2340f6&&!_0x16e192),_0x162291['buttonView']['set']({'icon':_0x2e9515['history'],'label':y(_0xb12a36,'Revision\x20history'),'tooltip':!0x0}),_0x299140['set']({'label':y(_0xb12a36,'Save\x20current\x20revision'),'withText':!0x0,'role':'menuitem'}),_0x299140['bind']('isEnabled')['to'](_0x3b6418,'isReady',_0x3b6418,'isEnabled',_0x485c9b,'isReadOnly',(_0x57fb1f,_0x4c8f4b,_0x1f33bb)=>_0x57fb1f&&_0x4c8f4b&&!_0x1f33bb),_0x299140['on']('execute',()=>this['_showDialog']()),_0x490748['set']({'label':y(_0xb12a36,'Open\x20revision\x20history'),'withText':!0x0,'role':'menuitem'}),_0x490748['bind']('isEnabled')['to'](_0x3b6418,'isReady',_0x485c9b,'isReadOnly',(_0x14de5a,_0x5a3673)=>_0x14de5a&&!_0x5a3673),_0x490748['on']('execute',()=>{_0x485c9b['config']['get']('revisionHistory')['showRevisionViewerCallback'](),_0x162291['isOpen']=!0x1,_0x485c9b['editing']['view']['focus']();}),_0x3d5881['children']['add'](_0x299140),_0x516348['children']['add'](_0x490748),_0x5ca796['role']='menu',_0x5ca796['items']['addMany']([_0x3d5881,_0x516348]),_0x5dfcfe['add'](_0x5ca796),_0x162291;}),_0x485c9b['ui']['componentFactory']['add']('menuBar:revisionHistory',()=>this['_registerMenuComponent']());}['_registerMenuComponent'](){const _0x1f3822=this['editor'],_0x2488b1=_0x1f3822['locale'],_0xbd658d=new _0x2d1eae(_0x2488b1),_0x4fb93b=new _0x335202(_0x2488b1);_0xbd658d['buttonView']['set']({'icon':_0x2e9515['history'],'label':y(_0x2488b1,'Revision\x20history')});const _0x2b55bb=new _0x20a1bb(_0x2488b1,_0xbd658d),_0x48df05=new _0x350b73(_0x2488b1);_0x48df05['set']({'label':y(_0x2488b1,'Save\x20current\x20revision')}),_0x48df05['delegate']('execute')['to'](_0xbd658d),_0x48df05['on']('execute',()=>{this['_showDialog']();}),_0x2b55bb['children']['add'](_0x48df05),_0x4fb93b['items']['add'](_0x2b55bb);const _0x3547fb=new _0x20a1bb(_0x2488b1,_0xbd658d),_0x1408c5=new _0x350b73(_0x2488b1);return _0x1408c5['set']({'label':y(_0x2488b1,'Open\x20revision\x20history')}),_0x1408c5['delegate']('execute')['to'](_0xbd658d),_0x1408c5['on']('execute',()=>{_0x1f3822['config']['get']('revisionHistory')['showRevisionViewerCallback']();}),_0x3547fb['children']['add'](_0x1408c5),_0x4fb93b['items']['add'](_0x3547fb),_0xbd658d['panelView']['children']['add'](_0x4fb93b),_0xbd658d;}['_showDialog'](){const _0x56d5ae=this['editor'],_0x4054fb=_0x56d5ae['locale'],t=_0x4054fb['t'],_0x45cc58=_0x56d5ae['plugins']['get']('Dialog'),_0x395b50=_0x56d5ae['plugins']['get']('RevisionTracker');function _0x16c081(_0x117b09){_0x56d5ae['config']['get']('revisionHistory.requireRevisionName')&&''===_0x117b09['revisionName']?_0x117b09['revisionNameInputView']['errorText']=y(_0x4054fb,'The\x20revision\x20name\x20cannot\x20be\x20empty.'):(_0x56d5ae['plugins']['get'](l)['saveRevision']({'name':_0x117b09['revisionName']}),_0x45cc58['hide']());}this['_saveRevisionFormView']||(this['_createSaveRevisionFormView'](),this['_saveRevisionFormView']['on']('submit',()=>_0x16c081(this['_saveRevisionFormView']))),this['_saveRevisionFormView']['reset'](),_0x45cc58['show']({'id':'findAndReplace','title':y(_0x4054fb,'Save\x20current\x20revision'),'isModal':!0x0,'content':this['_saveRevisionFormView'],'actionButtons':[{'label':t('Cancel'),'withText':!0x0,'onExecute':()=>_0x45cc58['hide']()},{'label':t('Accept'),'class':'ck-button-action','withText':!0x0,'onCreate'(_0x39c2b3){_0x39c2b3['bind']('isEnabled')['to'](_0x395b50,'isReady',_0x395b50,'isEnabled',_0x56d5ae,'isReadOnly',(_0x339908,_0x548903,_0x2351dc)=>_0x339908&&_0x548903&&!_0x2351dc);},'onExecute':()=>_0x16c081(this['_saveRevisionFormView'])}]});}['_createSaveRevisionFormView'](){const _0x341bbf=this['editor'],_0x1f70e4=_0x341bbf['locale'];this['_saveRevisionFormView']=new ns(_0x1f70e4,_0x341bbf['config']['get']('revisionHistory.requireRevisionName')),this['_saveRevisionFormView']['render']();}}class Z extends _0xb4f3f0{['changeId'];['_model'];constructor(_0x32d1b6,_0x2e1b0c){super(_0x32d1b6),this['_model']=_0x2e1b0c,this['changeId']=_0x2e1b0c['id'];const _0x39cf49=this['bindTemplate'],_0x1a8528=y(_0x32d1b6,_0x2e1b0c['data']['isSuggestion']?'Suggested\x20by':'add'==_0x2e1b0c['type']?'Added\x20by':'Removed\x20by');this['set']('type',_0x2e1b0c['type']),this['setTemplate']({'tag':'div','attributes':{'class':['ck-annotation','ck-revision-change',_0x39cf49['to']('type',_0x27bcb8=>'ck-revision-change__'+_0x27bcb8)],'tabindex':-0x1},'children':[{'tag':'span','children':[{'tag':'span','attributes':{'class':['ck-revision-change__label']},'children':[{'text':_0x1a8528}]},{'text':'\x20'+_0x2e1b0c['author']['name']}]}]});}['focus'](){this['element']['focus']();}}class r extends/* #__PURE__ -- @preserve */
25
- _0x2e6ef9(){['id'];['author'];['type'];['data'];['rootName'];constructor(_0x3b5bfc){super(),this['id']=_0x3b5bfc['id']||_0x47315b(),this['author']=_0x3b5bfc['author'],this['type']=_0x3b5bfc['type'],this['data']=_0x3b5bfc['data']||{},this['rootName']=_0x3b5bfc['rootName'],this['set']('createdAt',_0x3b5bfc['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(_0x44660d,_0x2ad2e5){this['newRevisionId']=_0x44660d,this['oldRevisionId']=_0x2ad2e5,this['changes']=new _0x23b64c();}['_setChanges'](_0x5b6778){for(const _0x485d8c of _0x5b6778)this['changes']['add'](_0x485d8c);}}const tt={'c':_0x51bdc5,'a':_0x205776,'e':_0x1b3b85,'r':_0x14a595,'u':_0x3461a6};class d extends _0x503c5a{['repository'];['adapter'];['_activeViewTarget'];['_changeView'];['_changeIdToChange'];['_balloon'];static get['pluginName'](){return'RevisionViewer';}static get['requires'](){return[_0x1a5cb6,_0x11a2bb,A];}constructor(_0x43cdcf){super(_0x43cdcf),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',(_0x54b404,_0x410cdb,_0x5c4da2)=>{this['activeChange']=null,this['activeView']=null,this['editor']['editing']['view']['change'](_0xd73cdb=>{for(const _0x342b2b of this['editor']['editing']['view']['document']['roots'])_0x5c4da2?_0xd73cdb['removeClass']('ck-editor__editable__overlay',_0x342b2b):_0xd73cdb['addClass']('ck-editor__editable__overlay',_0x342b2b);});}),this['bind']('isNavigationMode')['to'](this,'activeChange',_0x266039=>null!==_0x266039),this['bind']('currentChangeNumber')['to'](this,'isReady',this,'diff',this,'activeChange',(_0xc70028,_0x901d5e,_0x3eb02d)=>_0xc70028&&_0x3eb02d?_0x901d5e['changes']['getIndex'](_0x3eb02d):0x0),this['bind']('numberOfChanges')['to'](this,'isReady',this,'diff',(_0x452b16,_0x2cc7de)=>_0x452b16?_0x2cc7de['changes']['length']:0x0),this['_changeView']=null,this['_changeIdToChange']=new Map(),this['adapter']=null,this['_balloon']=this['editor']['plugins']['get'](_0x11a2bb);}['init'](){const _0x3fbdec=this['editor'],_0x396a6a=new yt(_0x3fbdec,{'direction':'backward'}),_0x160f99=new yt(_0x3fbdec,{'direction':'forward'});(_0x3fbdec['commands']['add']('showPreviousChange',_0x396a6a),_0x3fbdec['commands']['add']('showNextChange',_0x160f99),_0x3fbdec['commands']['add']('restoreRevision',new bt(_0x3fbdec)),this['on']('change:numberOfChanges',()=>{_0x396a6a['refresh'](),_0x160f99['refresh']();}),this['_setConversion'](),this['_initInteractions'](),_0x3fbdec['enableReadOnlyMode']('revision-viewer'),_0x3fbdec['plugins']['has']('WidgetToolbarRepository'))&&_0x3fbdec['plugins']['get']('WidgetToolbarRepository')['forceDisabled']('revision-viewer');}async['getRevisionData'](_0x2a5c98){await this['loadRevisionData'](_0x2a5c98);const _0x184d07={};for(const _0x2be7d6 in _0x2a5c98['diffData']){if(_0x2a5c98['diffData'][_0x2be7d6]['attachChange']&&!_0x2a5c98['diffData'][_0x2be7d6]['attachChange']['isAttached'])continue;const _0x454dd1=this['_removeRevisionMarkers'](JSON['parse'](_0x2a5c98['diffData'][_0x2be7d6]['insertions'])),_0x3c826b=this['editor']['editing']['view']['document'],_0x4c27ad=new _0x1e2a58(_0x3c826b,_0x454dd1['map'](_0x295ab0=>this['_getViewObj'](_0x295ab0)));this['editor']['data']['processor']['useFillerType']('marked'),_0x184d07[_0x2be7d6]=this['editor']['data']['processor']['toData'](_0x4c27ad),this['editor']['data']['processor']['useFillerType']('default');}return _0x184d07;}async['getRevisionRootsAttributes'](_0x28ca4b){await this['loadRevisionData'](_0x28ca4b);const _0xf10819={};for(const _0x36a4b9 in _0x28ca4b['diffData'])_0x28ca4b['diffData'][_0x36a4b9]['attachChange']&&!_0x28ca4b['diffData'][_0x36a4b9]['attachChange']['isAttached']||(_0xf10819[_0x36a4b9]=_0x28ca4b['diffData'][_0x36a4b9]['attributesAfter']||{});return _0xf10819;}['_removeRevisionMarkers'](_0x356260){return(_0x356260=_0x356260['filter'](_0x3190ab=>!_0x3190ab['name']||'revision-start'!==_0x3190ab['name']&&'revision-end'!==_0x3190ab['name']))['forEach'](_0x4112e1=>{'string'!=typeof _0x4112e1&&(_0x4112e1['children']=this['_removeRevisionMarkers'](_0x4112e1['children']),_0x4112e1['attributes']=_0x4112e1['attributes']['filter'](_0x2efe77=>!_0x2efe77[0x0]['startsWith']('data-revision-')));}),_0x356260;}async['compare'](_0xa1dce,_0xf4c840,_0x571d9b=!0x1){if(!this['isEnabled'])return;const _0x134fe7=this['diff'],_0x8b554f=this['repository'],_0x13388c='string'==typeof _0xa1dce?_0x8b554f['getRevision'](_0xa1dce):_0xa1dce,_0x366e8c='string'==typeof _0xf4c840?_0x8b554f['getRevision'](_0xf4c840):_0xf4c840,_0xcb4e02=_0x13388c['id'],_0xe76257=_0x366e8c?_0x366e8c['id']:null;if(!_0x571d9b&&this['diff']&&this['diff']['newRevisionId']===_0xcb4e02&&this['diff']['oldRevisionId']===_0xe76257)return Promise['resolve']();this['isReady']=!0x1,this['activeView']=null,this['activeChange']=null,this['diff']=new f(_0xcb4e02,_0xe76257);const _0x21c002=this['_getRevisionsRange'](_0x13388c,_0x366e8c,!0x0)['map'](_0x7bb293=>this['loadRevisionData'](_0x7bb293));return _0x21c002['push'](new Promise(_0x431694=>{setTimeout(_0x431694,0x14);})),Promise['all'](_0x21c002)['then'](()=>{if(!this['isEnabled'])return;this['_cleanUp']();const _0x58a4c2=this['_getDiff'](_0xcb4e02,_0xe76257);for(const _0x3c4b9d of _0x58a4c2['changes'])this['_changeIdToChange']['set'](_0x3c4b9d['id'],_0x3c4b9d);this['editor']['model']['enqueueChange']({'isUndoable':!0x1},_0x470f64=>{for(const _0x336b87 of this['editor']['model']['document']['getRootNames']())_0x470f64['detachRoot'](_0x336b87);for(const _0x582742 of Object['keys'](_0x58a4c2['model'])){const _0x30eb4d=_0x470f64['addRoot'](_0x582742);for(const _0xd2c43d of Object['keys'](_0x58a4c2['attributes'][_0x582742]))_0x470f64['setAttribute'](_0xd2c43d,_0x58a4c2['attributes'][_0x582742][_0xd2c43d],_0x30eb4d);_0x470f64['insert'](_0x58a4c2['model'][_0x582742],_0x30eb4d,0x0);}}),this['diff']['_setChanges'](this['_sortAndFilterDiffChanges'](_0x58a4c2['changes'])),this['isReady']=!0x0;})['catch'](_0x19091d=>{console['error'](_0x19091d),this['_cleanUp'](),_0x134fe7&&(this['diff']=_0x134fe7),this['isReady']=!0x0;});}['addRevisionData'](_0x5a4ae0,_0x27d34f){const _0x3e7226=this['repository']['createRevision'](_0x5a4ae0);return _0x3e7226['on']('_update',(_0x15336b,_0x2d01f5,_0x52e6a9)=>_0x27d34f(_0x2d01f5,_0x52e6a9,_0x3e7226)),this['repository']['addRevision'](_0x3e7226),_0x3e7226;}['loadRevisionData'](_0x2503bb){if(!_0x2503bb||_0x2503bb['diffData'])return Promise['resolve']();{const _0x127015=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0x127015,'revisionId':_0x2503bb['id']})['then'](_0x265674=>{_0x2503bb['_update']({'diffData':_0x265674['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},_0xa6bd51=>{for(const _0x3e1eca of this['editor']['model']['document']['getRootNames']())_0xa6bd51['detachRoot'](_0x3e1eca);});}['_sortAndFilterDiffChanges'](_0x3f5fe7){const _0x552104=[],_0x290363=new Map();for(const _0x8fbd0f of this['editor']['model']['document']['getRootNames']()){const _0x43f754=this['editor']['editing']['view']['getDomRoot'](_0x8fbd0f);if(!_0x43f754)continue;const _0x429e3a=_0x43f754['getClientRects']()['item'](0x0);_0x429e3a&&(_0x552104['push'](_0x8fbd0f),_0x290363['set'](_0x8fbd0f,_0x429e3a));}return _0x552104['sort']((_0x59b413,_0x4c99d6)=>{const _0x20977d=_0x290363['get'](_0x59b413),_0x2e05c4=_0x290363['get'](_0x4c99d6);return _0x20977d['y']-_0x2e05c4['y']||_0x20977d['x']-_0x2e05c4['x'];}),(_0x3f5fe7=_0x3f5fe7['filter'](_0x4d0291=>_0x552104['includes'](_0x4d0291['rootName'])))['sort']((_0x41e186,_0x67c508)=>_0x552104['indexOf'](_0x41e186['rootName'])-_0x552104['indexOf'](_0x67c508['rootName'])),_0x3f5fe7;}['_makeTape'](_0x58198f){const _0x3bdfb8=Array['from'](_0x58198f['markers'])['filter'](([_0x2e5c38,_0x542d9a])=>_0x2e5c38['startsWith']('revision:')&&!_0x542d9a['isCollapsed']),_0x38d55f=Array['from'](this['editor']['model']['createRangeIn'](_0x58198f)['getWalker']({'singleCharacters':!0x0}));if(0x0!=_0x3bdfb8['length'])for(const _0x582874 of _0x38d55f){const [_0x38068f,_0x390987]=_0x3bdfb8[0x0],[,_0x36ead3,_0x330a96]=_0x38068f['split'](':');if(_0x390987['end']['isEqual'](_0x582874['nextPosition'])&&_0x3bdfb8['shift'](),(_0x582874['previousPosition']['isEqual'](_0x390987['start'])||_0x582874['previousPosition']['isAfter'](_0x390987['start']))&&('insertion'==_0x36ead3?_0x582874['isAdded']={'userId':_0x330a96}:'deletion'==_0x36ead3&&(_0x582874['isRemoved']={'userId':_0x330a96})),0x0==_0x3bdfb8['length'])break;}return _0x38d55f;}['_refreshStartEndIndex'](_0x384011){const _0x189b17=new Map();for(let _0x14f386=0x0;_0x14f386<_0x384011['length'];_0x14f386++)'text'===_0x384011[_0x14f386]['type']?(_0x384011[_0x14f386]['item']['startIndex']=_0x14f386,_0x384011[_0x14f386]['item']['endIndex']=_0x14f386):('elementStart'===_0x384011[_0x14f386]['type']?_0x384011[_0x14f386]['item']['startIndex']=_0x14f386:'elementEnd'===_0x384011[_0x14f386]['type']&&(_0x384011[_0x14f386]['item']['endIndex']=_0x14f386),_0x189b17['set'](_0x384011[_0x14f386]['id'],_0x14f386));for(const _0x24d876 of _0x189b17['values']())'elementStart'===_0x384011[_0x24d876]['type']?_0x384011[_0x24d876]['item']['endIndex']=_0x189b17['get'](_0x384011[_0x24d876]['pairId']):'elementEnd'===_0x384011[_0x24d876]['type']&&(_0x384011[_0x24d876]['item']['startIndex']=_0x189b17['get'](_0x384011[_0x24d876]['pairId']));}['_processTape'](_0x361e24){for(let _0x44affb=0x0;_0x44affb<_0x361e24['length'];_0x44affb++){if('elementStart'===_0x361e24[_0x44affb]['type'])_0x361e24[_0x44affb]['item']['startIndex']=_0x44affb;else{if('elementEnd'===_0x361e24[_0x44affb]['type']){_0x361e24[_0x44affb]['item']['endIndex']=_0x44affb;const _0x32f5bc=_0x361e24[_0x44affb]['item']['startIndex'];_0x361e24[_0x32f5bc]['pairId']=_0x361e24[_0x44affb]['id'],_0x361e24[_0x44affb]['pairId']=_0x361e24[_0x32f5bc]['id'];}else _0x361e24[_0x44affb]['item']['startIndex']=_0x44affb,_0x361e24[_0x44affb]['item']['endIndex']=_0x44affb,_0x361e24[_0x44affb]['pairId']=null;}_0x361e24[_0x44affb]['markersStart']||(_0x361e24[_0x44affb]['markersStart']=[],_0x361e24[_0x44affb]['markersEnd']=[]);}}['_markInsertions'](_0x29a986,_0xba3c6b){const _0x5be8de=_0x29a986['filter'](_0x3d0ee6=>!_0x3d0ee6['isAdded']);for(let _0x4ca719=0x0;_0x4ca719<_0xba3c6b['length'];_0x4ca719++)_0xba3c6b[_0x4ca719]['isAdded']&&(_0x5be8de[_0x4ca719]['isAdded']=_0xba3c6b[_0x4ca719]['isAdded']);}['_makeModelFromViewString'](_0x456d9f){const _0x6042de=JSON['parse'](_0x456d9f),_0xfe2e93=this['editor']['editing']['view']['document'],_0x448eef=new _0x1e2a58(_0xfe2e93,_0x6042de['map'](_0x41ecc8=>this['_getViewObj'](_0x41ecc8)));return this['editor']['data']['toModel'](_0x448eef);}['_getViewObj'](_0x594cbc){const _0x556037=this['editor']['editing']['view']['document'];if('string'==typeof _0x594cbc)return new _0x2dd6db(_0x556037,_0x594cbc);{const _0x55c43d=_0x594cbc['children']['map'](_0x4285e3=>this['_getViewObj'](_0x4285e3));return new(tt[_0x594cbc['type']]||_0x3413b3)(_0x556037,_0x594cbc['name'],_0x594cbc['attributes'],_0x55c43d);}}['_getDiff'](_0x4dc218,_0x33f6f0=null){const _0x3a4cbc=this['repository']['getRevision'](_0x4dc218),_0x59677c=_0x33f6f0?this['repository']['getRevision'](_0x33f6f0):null,_0x585ba8=this['_getRevisionsRange'](_0x3a4cbc,_0x59677c),_0x2e6db6=_0x585ba8[_0x585ba8['length']-0x1],_0x49e851=new Map(),_0x537200={'model':{},'attributes':{},'changes':[]},_0x41ff63=new Set(),_0x1411d1=new Map();for(let _0x5aa527=_0x585ba8['length']-0x1;_0x5aa527>=0x0;_0x5aa527--){const _0x473f04=_0x585ba8[_0x5aa527];for(const _0x33eff1 of Object['keys'](_0x473f04['diffData']))if(_0x473f04['diffData'][_0x33eff1]['attachChange']){const _0x599e53=_0x473f04['diffData'][_0x33eff1]['attachChange'];_0x599e53['isAttached']?(_0x41ff63['add'](_0x33eff1),_0x1411d1['has'](_0x33eff1)&&_0x1411d1['get'](_0x33eff1)['userId']==_0x599e53['userId']?_0x1411d1['delete'](_0x33eff1):_0x1411d1['set'](_0x33eff1,_0x599e53)):_0x1411d1['has'](_0x33eff1)?(_0x41ff63['delete'](_0x33eff1),_0x1411d1['delete'](_0x33eff1)):(_0x41ff63['add'](_0x33eff1),_0x1411d1['set'](_0x33eff1,_0x599e53));}else _0x41ff63['add'](_0x33eff1);}for(const _0x33db43 of _0x41ff63){const _0x10e3fe=_0x1411d1['has'](_0x33db43)&&!_0x1411d1['get'](_0x33db43)['isAttached'];let _0x530bbd=_0x10e3fe?_0x585ba8['length']-0x1:0x0;const _0x1c601d=_0x10e3fe?-0x1:0x1;for(;_0x585ba8[_0x530bbd];){const _0x2ae5d1=_0x585ba8[_0x530bbd];if(_0x2ae5d1['diffData'][_0x33db43]){const _0x2c78c=_0x10e3fe?_0x2ae5d1['diffData'][_0x33db43]['attributesBefore']:_0x2ae5d1['diffData'][_0x33db43]['attributesAfter'];_0x537200['attributes'][_0x33db43]=_0x2c78c?_0xa479d8(_0x2c78c):{};break;}_0x530bbd+=_0x1c601d;}}for(const _0x351324 of _0x585ba8){_0x351324['model']={};for(const _0x1398ba of _0x351324['authors'])_0x49e851['set'](_0x1398ba['id'],_0x1398ba);for(const _0xa9beb9 of _0x41ff63){const _0x3f8625=_0x351324['diffData'][_0xa9beb9]?_0x351324['diffData'][_0xa9beb9]['insertions']:'[]',_0x243cf1=_0x351324['diffData'][_0xa9beb9]?_0x351324['diffData'][_0xa9beb9]['deletions']:'[]';_0x351324['model'][_0xa9beb9]={'insertions':this['_makeModelFromViewString'](_0x3f8625),'deletions':this['_makeModelFromViewString'](_0x243cf1)};}}for(const _0x5728f4 of _0x41ff63){let _0x142e62=null,_0xca83ee=0x0;const _0xa545b6=new Map(Array['from'](_0x3a4cbc['model'][_0x5728f4]['insertions']['markers'])['filter'](([_0x2d5779])=>!_0x2d5779['startsWith']('revision:')));let _0x46c33c=0x0;for(const _0x216b75 of _0x585ba8){const _0x3918ce=this['_makeTape'](_0x216b75['model'][_0x5728f4]['insertions']);_0x216b75==_0x3a4cbc?(_0x142e62=_0x3918ce,_0xca83ee=_0x142e62['length'],_0x142e62['forEach'](_0x44ee8b=>{_0x44ee8b['id']=_0x46c33c++;}),this['_processTape'](_0x142e62)):this['_markInsertions'](_0x142e62,_0x3918ce);const _0xfd6a64=_0x142e62['filter'](_0x3747db=>!_0x3747db['isAdded'])['map'](_0x1e5348=>_0x1e5348['id']);let _0x313758=0x0;const _0x37fc56=this['_makeTape'](_0x216b75['model'][_0x5728f4]['deletions']);_0x37fc56['forEach'](_0x182d25=>{_0x182d25['isRemoved']?_0x182d25['id']=_0xca83ee++:_0x182d25['id']=_0xfd6a64[_0x313758++];}),this['_processTape'](_0x37fc56),this['_setDistance'](_0x142e62,'isAdded'),this['_setDistance'](_0x37fc56,'isRemoved'),_0x216b75==_0x3a4cbc&&this['_markMarkers'](_0x142e62,_0xa545b6),_0x142e62=this['_joinTapes'](_0x142e62,_0x37fc56),this['_refreshStartEndIndex'](_0x142e62),this['_setDistance'](_0x142e62,'isRemoved');}_0x142e62=_0x142e62['filter'](_0x475aa4=>!(_0x475aa4['isAdded']&&_0x475aa4['isRemoved']));const _0x56ef3b=new Map(_0x2e6db6['model'][_0x5728f4]['deletions']['markers']),_0x2ba4de=new Set(_0xa545b6['keys']());for(const _0x22b217 of _0x56ef3b['keys']())_0x2ba4de['delete'](_0x22b217);this['_markSuggestions'](_0x142e62,_0x2ba4de),this['_fixObsoleteTags'](_0x142e62),_0x142e62=this['_removeMissingPairs'](_0x142e62),_0x142e62=this['_markMismatchedRemovedTags'](_0x142e62),_0x142e62=this['_removeUnsupportedChanges'](_0x142e62);const {root:_0x20dde7,changes:_0x480960}=this['_makeModelFromTape'](_0x142e62,_0x49e851,_0x5728f4);_0x537200['model'][_0x5728f4]=_0x20dde7;const _0x5c436d=_0x1411d1['get'](_0x5728f4);if(_0x5c436d){const _0xebcd61=_0x49e851['get'](_0x5c436d['userId']),_0x19cf5c=new r({'author':_0xebcd61,'type':_0x5c436d['isAttached']?'add':'remove','data':{'isOnRoot':!0x0},'createdAt':new Date(),'rootName':_0x5728f4});_0x480960['unshift'](_0x19cf5c),_0x537200['attributes'][_0x5728f4]['revisionHistoryAttachChange']=_0x19cf5c['id'];}_0x537200['changes']=_0x537200['changes']['concat'](_0x480960);}return _0x537200;}['_markMarkers'](_0x21914f,_0x3f8598){for(let _0x1c7caf=0x0;_0x1c7caf<_0x21914f['length'];_0x1c7caf++)for(const [_0x5aa064,_0x1e83ba]of _0x3f8598)_0x1e83ba['start']['isEqual'](_0x21914f[_0x1c7caf]['previousPosition'])&&_0x21914f[_0x1c7caf]['markersStart']['push'](_0x5aa064),_0x1e83ba['end']['isEqual'](_0x21914f[_0x1c7caf]['nextPosition'])&&_0x21914f[_0x1c7caf]['markersEnd']['push'](_0x5aa064);}['_joinTapes'](_0x3e945f,_0x91b690){let _0x3ffab6=[],_0x13fe3d=0x0,_0x417346=0x0;for(;_0x13fe3d<_0x3e945f['length']||_0x417346<_0x91b690['length'];){const _0x4d6524=_0x3e945f[_0x13fe3d]||{},_0x21aaac=_0x91b690[_0x417346]||{};if(_0x4d6524['id']==_0x21aaac['id'])_0x13fe3d++,_0x417346++,_0x3ffab6['push'](_0x4d6524);else{if(_0x21aaac['isRemoved']&&_0x4d6524['isAdded']){const {commonTape:_0x2e8dc2,iEnd:_0x535bc1,jEnd:_0x1dd490}=this['_threeWayMerge'](_0x3e945f,_0x13fe3d,_0x91b690,_0x417346);_0x3ffab6=_0x3ffab6['concat'](_0x2e8dc2),_0x13fe3d=_0x535bc1,_0x417346=_0x1dd490;}else _0x21aaac['isRemoved']?(_0x417346++,_0x3ffab6['push'](_0x21aaac)):(_0x13fe3d++,_0x3ffab6['push'](_0x4d6524));}}return _0x3ffab6;}['_markSuggestions'](_0x258539,_0x46c53c){const _0x520dfc=[];for(let _0x2f186d=0x0;_0x2f186d<_0x258539['length'];_0x2f186d++){for(let _0x4ccae1=0x0;_0x4ccae1<_0x258539[_0x2f186d]['markersStart']['length'];_0x4ccae1++){const _0x5d6172=_0x258539[_0x2f186d]['markersStart'][_0x4ccae1];if(!_0x46c53c['has'](_0x5d6172))continue;const {group:_0x2ddf7a,type:_0x525c08,authorId:_0x19b426}=_0x4cfcbc(_0x5d6172);'revision-suggestion'!=_0x2ddf7a||'insertion'!=_0x525c08&&'deletion'!=_0x525c08||(_0x520dfc['unshift']({'type':_0x525c08,'name':_0x5d6172,'userId':_0x19b426}),_0x258539[_0x2f186d]['markersStart']['splice'](_0x4ccae1,0x1),_0x4ccae1--);}_0x185f65(_0x258539[_0x2f186d]);for(let _0x32bbf9=0x0;_0x32bbf9<_0x258539[_0x2f186d]['markersEnd']['length'];_0x32bbf9++){const _0x53c441=_0x258539[_0x2f186d]['markersEnd'][_0x32bbf9];if(!_0x46c53c['has'](_0x53c441))continue;const {group:_0x221ee4,type:_0x1c891c}=_0x4cfcbc(_0x53c441);if('revision-suggestion'!=_0x221ee4||'insertion'!=_0x1c891c&&'deletion'!=_0x1c891c)continue;_0x258539[_0x2f186d]['markersEnd']['splice'](_0x32bbf9,0x1),_0x32bbf9--;const _0x5ac63f=_0x520dfc['findIndex'](_0x50523a=>_0x50523a['name']==_0x53c441);_0x5ac63f>-0x1&&_0x520dfc['splice'](_0x5ac63f,0x1);}}function _0x4cfcbc(_0x6b253e){const _0x1703cb=_0x6b253e['split'](':');return{'group':_0x1703cb[0x0],'type':_0x1703cb[0x1],'subType':_0x1703cb['length']>=0x5?_0x1703cb[0x2]:null,'id':_0x1703cb['length']<0x5?_0x1703cb[0x2]:_0x1703cb[0x3],'authorId':_0x1703cb['length']<0x5?_0x1703cb[0x3]:_0x1703cb[0x4],'markerCount':0x6==_0x1703cb['length']?_0x1703cb[0x5]:null};}function _0x185f65(_0x15ccac){for(let _0x3096fd=0x0;_0x3096fd<_0x520dfc['length'];_0x3096fd++){if(_0x15ccac['isAdded']&&'insertion'==_0x520dfc[_0x3096fd]['type'])return _0x15ccac['isAddSuggestion']=_0x520dfc[_0x3096fd],void delete _0x15ccac['isAdded'];if(!_0x15ccac['isAdded']&&!_0x15ccac['isRemoved']&&'deletion'==_0x520dfc[_0x3096fd]['type'])return void(_0x15ccac['isRemoveSuggestion']=_0x520dfc[_0x3096fd]);}}}['_setDistance'](_0x339635,_0x34b7d7){let _0x102fda=0x0,_0x434845=!0x1;const _0x44f9a9=new Map();for(const _0x4c30aa of _0x339635)_0x4c30aa[_0x34b7d7]?_0x434845&&(_0x102fda++,_0x434845=!0x1):(_0x102fda++,_0x434845=!0x0),_0x44f9a9['set'](_0x4c30aa['id'],_0x102fda);for(let _0x7b1550=0x0;_0x7b1550<_0x339635['length'];_0x7b1550++){if('isRemoved'==_0x34b7d7&&_0x339635[_0x7b1550]['isAdded']||'isAdded'==_0x34b7d7&&_0x339635[_0x7b1550]['isRemoved'])continue;if('text'==_0x339635[_0x7b1550]['type']){_0x339635[_0x7b1550]['distance']=0x0;continue;}const _0x5e1efc=_0x44f9a9['get'](_0x339635[_0x7b1550]['pairId']),_0x2c1385=_0x44f9a9['get'](_0x339635[_0x7b1550]['id']);_0x339635[_0x7b1550]['distance']=_0x5e1efc-_0x2c1385;}}['_getRevisionsRange'](_0x5d8c5f,_0x29200f,_0x5e47c8=!0x1){const _0x2ce9d4=[];let _0x48a341=this['repository']['getIndex'](_0x5d8c5f),_0x1ccd9d=this['repository']['getIndex'](_0x29200f);for(-0x1==_0x1ccd9d&&(_0x1ccd9d=this['repository']['_revisions']['length'],_0x5e47c8=!0x1);_0x48a341<_0x1ccd9d;)_0x2ce9d4['push'](this['repository']['getRevision'](_0x48a341)),_0x48a341++;return _0x5e47c8&&_0x2ce9d4['push'](this['repository']['getRevision'](_0x48a341)),_0x2ce9d4;}['_threeWayMerge'](_0x2697b5,_0x1d6618,_0x371efc,_0xa7ba0c){const _0x28888b=this['editor']['model']['schema'];let _0x88cad8=_0x1d6618;for(;_0x2697b5[_0x88cad8]&&_0x2697b5[_0x88cad8]['isAdded'];)_0x88cad8++;let _0x3c25f1=_0xa7ba0c;for(;_0x371efc[_0x3c25f1]&&_0x371efc[_0x3c25f1]['isRemoved'];)_0x3c25f1++;_0x3bc853(_0x2697b5,_0x1d6618,_0x88cad8),_0x3bc853(_0x371efc,_0xa7ba0c,_0x3c25f1);const _0x48f013=_0x371efc['slice'](_0xa7ba0c,_0x3c25f1)['concat'](_0x2697b5['slice'](_0x1d6618,_0x88cad8));return _0x48f013['sort']((_0x40e62f,_0xdefc10)=>_0x40e62f['side']!=_0xdefc10['side']?_0x40e62f['side']-_0xdefc10['side']:_0x40e62f['level']!=_0xdefc10['level']?_0x40e62f['level']-_0xdefc10['level']:_0x40e62f['distance']!=_0xdefc10['distance']?_0xdefc10['distance']-_0x40e62f['distance']:!!_0x40e62f['isAdded']!=!!_0xdefc10['isAdded']?-0x1==_0x40e62f['side']||0x0==_0x40e62f['side']?_0x40e62f['isAdded']?-0x1:0x1:_0x40e62f['isAdded']?0x1:-0x1:_0x40e62f['index']-_0xdefc10['index']),{'commonTape':_0x48f013,'iEnd':_0x88cad8,'jEnd':_0x3c25f1};function _0x3bc853(_0x36dbf0,_0x3674f2,_0x2f6f1e){let _0x492718=-0x1,_0x1cfee8=Number['POSITIVE_INFINITY'],_0x2f3e60=!0x0;for(let _0x3c2f20=_0x3674f2;_0x3c2f20<_0x2f6f1e;_0x3c2f20++)if(_0x28888b['isInline'](_0x36dbf0[_0x3c2f20]['item'])||(_0x2f3e60=!0x1),_0x36dbf0[_0x3c2f20]['item']['startIndex']<_0x3674f2&&(_0x492718=_0x3c2f20),_0x36dbf0[_0x3c2f20]['item']['endIndex']>=_0x2f6f1e){_0x1cfee8=_0x3c2f20;break;}_0x2f3e60&&(_0x492718=_0x2f6f1e-0x1);for(let _0x3aa4dc=_0x3674f2;_0x3aa4dc<_0x2f6f1e;_0x3aa4dc++)_0x36dbf0[_0x3aa4dc]['side']=_0x3aa4dc<=_0x492718?-0x1:_0x3aa4dc<_0x1cfee8?0x0:0x1,_0x36dbf0[_0x3aa4dc]['index']=_0x3aa4dc;let _0x31dbd7=0x0;for(let _0x7c285f=_0x3674f2;_0x7c285f<=_0x492718;_0x7c285f++)0x0==_0x36dbf0[_0x7c285f]['distance']?_0x36dbf0[_0x7c285f]['level']=_0x31dbd7:(_0x31dbd7++,_0x36dbf0[_0x7c285f]['level']=_0x31dbd7,_0x31dbd7++);for(let _0x38af54=_0x3674f2;_0x38af54<_0x2f6f1e;_0x38af54++)0x0==_0x36dbf0[_0x38af54]['side']&&(_0x36dbf0[_0x38af54]['level']=_0x31dbd7);_0x31dbd7=0x0;for(let _0x3de57c=_0x2f6f1e-0x1;_0x3de57c>=_0x1cfee8;_0x3de57c--)0x0==_0x36dbf0[_0x3de57c]['distance']?_0x36dbf0[_0x3de57c]['level']=_0x31dbd7:(_0x31dbd7--,_0x36dbf0[_0x3de57c]['level']=_0x31dbd7,_0x31dbd7--);}}['_fixObsoleteTags'](_0x54f24f){const _0x490817=new Map(),_0x579c8b=this['editor']['model']['schema'];for(let _0x4e1604=0x1;_0x4e1604<_0x54f24f['length'];_0x4e1604++){let _0x3bfb84,_0x35f2fc,_0x4244f6;const _0x4653bc=_0x54f24f[_0x4e1604],_0x1e2eee=_0x54f24f[_0x4e1604-0x1];if('text'==_0x4653bc['type'])continue;if(_0x4653bc['type']!=_0x1e2eee['type'])continue;if(!_0x579c8b['isBlock'](_0x1e2eee['item'])||_0x579c8b['isLimit'](_0x1e2eee['item']))continue;if(!_0x579c8b['isBlock'](_0x4653bc['item'])||_0x579c8b['isLimit'](_0x4653bc['item']))continue;if((_0x54f24f[_0x4e1604]['isAdded']||_0x54f24f[_0x4e1604]['isAddSuggestion'])&&_0x54f24f[_0x4e1604-0x1]['isRemoved'])_0x3bfb84=_0x54f24f[_0x4e1604],_0x35f2fc=_0x54f24f[_0x4e1604-0x1],_0x4244f6=_0x4e1604-0x1;else{if(!_0x54f24f[_0x4e1604]['isRemoved']||!_0x54f24f[_0x4e1604-0x1]['isAdded']&&!_0x54f24f[_0x4e1604-0x1]['isAddSuggestion'])continue;_0x3bfb84=_0x54f24f[_0x4e1604-0x1],_0x35f2fc=_0x54f24f[_0x4e1604],_0x4244f6=_0x4e1604;}const _0x4d7059=_0x3bfb84['level']==_0x35f2fc['level'],_0x3bcdd0=Math['abs'](_0x3bfb84['level'])<Math['abs'](_0x35f2fc['level'])&&0x0==_0x35f2fc['distance'];(_0x4d7059||_0x3bcdd0)&&(_0x490817['set'](_0x35f2fc['id'],_0x3bfb84['id']),_0x54f24f['splice'](_0x4244f6,0x1),_0x4e1604--,_0x3bfb84['isAdded']=!0x1);}for(let _0x2e6af4=0x0;_0x2e6af4<_0x54f24f['length'];_0x2e6af4++)_0x490817['has'](_0x54f24f[_0x2e6af4]['pairId'])&&(_0x54f24f[_0x2e6af4]['pairId']=_0x490817['get'](_0x54f24f[_0x2e6af4]['pairId']));}['_removeMissingPairs'](_0x18e89d){const _0x44b4dd=new Set(_0x18e89d['map'](_0x99cbd1=>_0x99cbd1['id']));for(let _0x345652=0x0;_0x345652<_0x18e89d['length'];_0x345652++)_0x44b4dd['has'](_0x18e89d[_0x345652]['pairId'])||0x0==_0x18e89d[_0x345652]['distance']||(_0x18e89d[_0x345652]['isIncorrect']=!0x0);return _0x18e89d['filter'](_0x3acf42=>!_0x3acf42['isIncorrect']);}['_markMismatchedRemovedTags'](_0x37b746){const _0x28cf89=new Set();for(let _0xacd865=0x0;_0xacd865<_0x37b746['length'];_0xacd865++){if(_0x28cf89['has'](_0x37b746[_0xacd865]['id'])&&_0x37b746[_0xacd865]['isRemoved']&&(_0x37b746[_0xacd865]['isIncorrect']=!0x0),_0x37b746[_0xacd865]['isIncorrect'])continue;if(0x0==_0x37b746[_0xacd865]['distance'])continue;if('elementStart'!=_0x37b746[_0xacd865]['type'])continue;if(null==_0x37b746[_0xacd865]['pairId'])continue;let _0x450cd7=_0xacd865+0x1,_0x5e5438=0x0;for(;_0x37b746[_0x450cd7]['id']!=_0x37b746[_0xacd865]['pairId'];)'elementStart'==_0x37b746[_0x450cd7]['type']?_0x5e5438++:'elementEnd'==_0x37b746[_0x450cd7]['type']&&_0x5e5438--,_0x450cd7++;if(0x0!=_0x5e5438){if(_0x37b746[_0xacd865]['isRemoved'])_0x37b746[_0xacd865]['isIncorrect']=!0x0;else{for(;_0x450cd7!=_0xacd865;)_0x37b746[_0x450cd7]['isRemoved']&&0x0!=_0x37b746[_0x450cd7]['distance']&&(_0x37b746[_0x450cd7]['isIncorrect']=!0x0,_0x28cf89['add'](_0x37b746[_0x450cd7]['pairId'])),_0x450cd7--;}}}return _0x37b746['filter'](_0xde8829=>!_0xde8829['isIncorrect']);}['_removeUnsupportedChanges'](_0x1285f7){const _0x4465fa=this['editor']['model']['schema'];for(let _0x1a1876=0x0;_0x1a1876<_0x1285f7['length'];_0x1a1876++){if(!(_0x1285f7[_0x1a1876]['isAdded']||_0x1285f7[_0x1a1876]['isAddSuggestion']||_0x1285f7[_0x1a1876]['isRemoved']||_0x1285f7[_0x1a1876]['isRemoveSuggestion']))continue;if(0x0==_0x1285f7[_0x1a1876]['distance'])continue;const _0x32acd5=_0x1285f7[_0x1a1876]['item'];_0x4465fa['isBlock'](_0x32acd5)||_0x4465fa['isLimit'](_0x32acd5)||(_0x1285f7[_0x1a1876]['isAdded']&&delete _0x1285f7[_0x1a1876]['isAdded'],_0x1285f7[_0x1a1876]['isAddSuggestion']&&delete _0x1285f7[_0x1a1876]['isAddSuggestion'],_0x1285f7[_0x1a1876]['isRemoveSuggestion']&&delete _0x1285f7[_0x1a1876]['isRemoveSuggestion'],_0x1285f7[_0x1a1876]['isRemoved']&&(_0x1285f7[_0x1a1876]['isIncorrect']=!0x0));}return _0x1285f7['filter'](_0x4656cb=>!_0x4656cb['isIncorrect']);}['_makeModelFromTape'](_0x2b333b,_0x1c3ebf,_0x5dba8f){const _0x1dd096=new wt(),_0x554c2a=[],_0x55ee75=new Map(),_0x204ea8=this['editor']['model'],_0x37b0af=_0x204ea8['schema'],_0x4c96f3=[_0x1dd096],_0x56eed5={},_0x554626={'isAdded':[],'isRemoved':[],'isAddSuggestion':[],'isRemoveSuggestion':[]};let _0x31e3cf=null;const _0x569852=[0x0];for(let _0x1ada04=0x0;_0x1ada04<_0x2b333b['length'];_0x1ada04++){let _0xb64432,_0x21b8cb;if('elementStart'===_0x2b333b[_0x1ada04]['type']){_0xb64432=_0x204ea8['createPositionFromPath'](_0x1dd096,_0x569852);const _0x45afcd=new ft(_0x2b333b[_0x1ada04]['item']['name'],_0x2b333b[_0x1ada04]['item']['getAttributes']());_0x4c96f3[0x0]['_appendChild'](_0x45afcd),_0x569852['push'](0x0),_0x4c96f3['unshift'](_0x45afcd),_0x21b8cb=_0x204ea8['createPositionFromPath'](_0x1dd096,_0x569852),_0x31e3cf=null;}else{if('elementEnd'===_0x2b333b[_0x1ada04]['type'])_0x4c96f3['shift'](),_0xb64432=_0x204ea8['createPositionFromPath'](_0x1dd096,_0x569852),_0x569852['pop'](),_0x569852[_0x569852['length']-0x1]++,_0x21b8cb=_0x204ea8['createPositionFromPath'](_0x1dd096,_0x569852),_0x31e3cf=null;else{if(_0xb64432=_0x204ea8['createPositionFromPath'](_0x1dd096,_0x569852),_0x31e3cf&&_0x2980b2(_0x31e3cf,_0x2b333b[_0x1ada04]['item']))_0x31e3cf['_data']+=_0x2b333b[_0x1ada04]['item']['data'];else{const _0x5a283a=new _t(_0x2b333b[_0x1ada04]['item']['data'],_0x2b333b[_0x1ada04]['item']['getAttributes']());_0x4c96f3[0x0]['_appendChild'](_0x5a283a),_0x31e3cf=_0x5a283a;}_0x569852[_0x569852['length']-0x1]+=_0x2b333b[_0x1ada04]['item']['offsetSize'],_0x21b8cb=_0x204ea8['createPositionFromPath'](_0x1dd096,_0x569852);}}for(const _0xb4e768 of _0x2b333b[_0x1ada04]['markersStart'])_0x55ee75['set'](_0xb4e768,{'start':_0xb64432,'end':null});_0x3db483('isRemoveSuggestion',_0x1ada04,_0xb64432,_0x21b8cb),_0x3db483('isAddSuggestion',_0x1ada04,_0xb64432,_0x21b8cb),_0x3db483('isRemoved',_0x1ada04,_0xb64432,_0x21b8cb),_0x3db483('isAdded',_0x1ada04,_0xb64432,_0x21b8cb);for(const _0x1c7f02 of _0x2b333b[_0x1ada04]['markersEnd']){_0x55ee75['get'](_0x1c7f02)['end']=_0x21b8cb;}}for(const [_0x186e92,_0xdabc75]of _0x55ee75){const _0x1d98b1=this['editor']['model']['createRange'](_0xdabc75['start'],_0xdabc75['end']);_0x1dd096['markers']['set'](_0x186e92,_0x1d98b1);}return _0x554c2a['sort']((_0x311fc7,_0x5add10)=>{const _0x239f5b=_0x1dd096['markers']['get']('revision:'+_0x311fc7['id']),_0x24a47b=_0x1dd096['markers']['get']('revision:'+_0x5add10['id']);return _0x239f5b['start']['isBefore'](_0x24a47b['start'])?-0x1:_0x239f5b['start']['isAfter'](_0x24a47b['start'])?0x1:_0x239f5b['end']['isBefore'](_0x24a47b['end'])?-0x1:_0x239f5b['end']['isAfter'](_0x24a47b['end'])?0x1:'add'===_0x311fc7['type']?-0x1:0x1;}),{'root':_0x1dd096,'changes':_0x554c2a};function _0x3db483(_0x2c3e4b,_0x1c15a9,_0x93c9d0,_0x2e4266){const _0x1570f1=!!_0x2b333b[_0x1c15a9][_0x2c3e4b],_0x2f1fcc=_0x1570f1?_0x2b333b[_0x1c15a9][_0x2c3e4b]['userId']:null,_0x34f979=_0x1c15a9===_0x2b333b['length']-0x1,_0x59b1e9=_0x554626[_0x2c3e4b][0x0],_0x304e2d=_0x37b0af['isObject'](_0x2b333b[_0x1c15a9]['item']);!_0x56eed5[_0x2c3e4b]&&_0x1570f1?_0x56eed5[_0x2c3e4b]={'start':_0x93c9d0,'tapeItem':_0x2b333b[_0x1c15a9],'userId':_0x2f1fcc,'type':_0x2c3e4b}:_0x56eed5[_0x2c3e4b]&&!_0x1570f1?(_0x56eed5[_0x2c3e4b]['end']=_0x93c9d0,_0x54d35e(_0x56eed5[_0x2c3e4b]),_0x56eed5[_0x2c3e4b]=null):_0x56eed5[_0x2c3e4b]&&_0x1570f1&&_0x56eed5[_0x2c3e4b]['userId']!==_0x2f1fcc&&(_0x56eed5[_0x2c3e4b]['end']=_0x93c9d0,_0x59b1e9&&_0x59b1e9['userId']===_0x56eed5[_0x2c3e4b]['userId']||_0x54d35e(_0x56eed5[_0x2c3e4b]),_0x56eed5[_0x2c3e4b]={'start':_0x93c9d0,'tapeItem':_0x2b333b[_0x1c15a9],'userId':_0x2f1fcc,'type':_0x2c3e4b}),_0x56eed5[_0x2c3e4b]&&_0x304e2d&&('elementStart'!==_0x2b333b[_0x1c15a9]['type']||_0x59b1e9&&_0x59b1e9['userId']===_0x2f1fcc||_0x554626[_0x2c3e4b]['unshift']({'userId':_0x2f1fcc,'object':_0x2b333b[_0x1c15a9]['item'],'change':_0x56eed5[_0x2c3e4b]}),'elementEnd'===_0x2b333b[_0x1c15a9]['type']&&_0x59b1e9&&_0x59b1e9['object']===_0x2b333b[_0x1c15a9]['item']&&(_0x554626[_0x2c3e4b]['shift'](),_0x56eed5[_0x2c3e4b]=_0x59b1e9['change'])),_0x56eed5[_0x2c3e4b]&&_0x34f979&&(_0x56eed5[_0x2c3e4b]['end']=_0x2e4266,_0x54d35e(_0x56eed5[_0x2c3e4b]),_0x56eed5[_0x2c3e4b]=null);}function _0x54d35e({start:_0x336e19,end:_0x3b8f43,tapeItem:_0x2519a0,userId:_0x15732e,type:_0x3267e5}){const _0x9e3387=_0x2519a0['item'],_0x639b6d=_0x204ea8['schema']['isBlock'](_0x9e3387)&&!_0x204ea8['schema']['isLimit'](_0x9e3387),_0x3703f0=_0x336e19['nodeAfter']==_0x3b8f43['parent']&&_0x3b8f43['isAtStart'];if(_0x639b6d&&_0x3703f0)return;const _0x3f11d6=_0x204ea8['createRange'](_0x336e19,_0x3b8f43),_0x772944=_0x1c3ebf['get'](_0x15732e),_0x237a4a=new r({'author':_0x772944,'type':'isAdded'==_0x3267e5||'isAddSuggestion'==_0x3267e5?'add':'remove','data':{'isSuggestion':'isAddSuggestion'==_0x3267e5||'isRemoveSuggestion'==_0x3267e5},'createdAt':new Date(),'rootName':_0x5dba8f});_0x554c2a['push'](_0x237a4a),_0x1dd096['markers']['set']('revision:'+_0x237a4a['id'],_0x3f11d6);}function _0x2980b2(_0x55d094,_0x3c2a64){const _0x348c50=_0x55d094['getAttributes'](),_0x5785ff=_0x3c2a64['getAttributes']();for(const _0x34c5b0 of _0x348c50){if(_0x34c5b0[0x1]!==_0x3c2a64['getAttribute'](_0x34c5b0[0x0]))return!0x1;_0x5785ff['next']();}return _0x5785ff['next']()['done'];}}['_setConversion'](){this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'revision'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision','view':_0x45b4f9=>{const _0x4958ab=_0x45b4f9['markerName']['split'](':')[0x1],_0x2cb926=this['_getChangeFromId'](_0x4958ab);if(!_0x2cb926)return null;const _0x6a7cea='add'==_0x2cb926['type']?'insertion':'deletion',_0xf2859e=['ck-suggestion-marker','ck-suggestion-marker-'+_0x6a7cea];return _0x2cb926['data']['isSuggestion']&&_0xf2859e['push']('ck-suggestion-marker-'+_0x6a7cea+'-new'),this['activeChange']==_0x2cb926&&_0xf2859e['push']('ck-suggestion-marker--active'),{'classes':_0xf2859e,'attributes':{'data-change-id':_0x4958ab}};}}),this['editor']['conversion']['for']('upcast')['add'](_0x44304c=>{_0x44304c['on']('element:pre',(_0x4cf659,_0x3aa4fa,_0x35dd2d)=>{const _0x43c854=_0x3aa4fa['viewItem']['getChild'](0x0);if(!_0x43c854||!_0x43c854['is']('element','code'))return;if(!_0x35dd2d['consumable']['consume'](_0x43c854,{'attributes':['vid_start','vid_end']}))return;const _0x2e2980=_0x3aa4fa['modelRange']['start']['nodeAfter'];_0x35dd2d['writer']['setAttribute']('vid_start',_0x43c854['getAttribute']('vid_start'),_0x2e2980),_0x35dd2d['writer']['setAttribute']('vid_end',_0x43c854['getAttribute']('vid_end'),_0x2e2980);},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['add'](_0x3ff2b3=>{_0x3ff2b3['on']('element',(_0x9e448,_0x3ef359,_0x34f290)=>{if(!_0x34f290['consumable']['consume'](_0x3ef359['viewItem'],{'attributes':['vid_start','vid_end']}))return;if(_0x3ef359['modelRange']['isCollapsed'])return;const _0x192bad=_0x3ef359['modelRange']['start']['nodeAfter'];_0x192bad['hasAttribute']('vid_start')||_0x192bad['hasAttribute']('vid')||(_0x34f290['writer']['setAttribute']('vid_start',_0x3ef359['viewItem']['getAttribute']('vid_start'),_0x192bad),_0x34f290['writer']['setAttribute']('vid_end',_0x3ef359['viewItem']['getAttribute']('vid_end'),_0x192bad));},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['elementToAttribute']({'view':{'name':'span','attributes':{'vid':!0x0}},'model':{'key':'vid','value':_0xd6e4af=>_0xd6e4af['getAttribute']('vid')}}),this['editor']['model']['schema']['on']('checkAttribute',(_0x197015,[,_0x394278])=>{['vid_start','vid_end','vid']['includes'](_0x394278)&&(_0x197015['return']=!0x0,_0x197015['stop']());},{'priority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['add'](_0x290b52=>{_0x290b52['on']('attribute:vid',(_0xaefb6a,_0x55eb0f,_0x2ecf41)=>{if('\x20'!=_0x55eb0f['item']['data']||_0x55eb0f['item']['parent']['maxOffset']>0x1)return;if(!_0x2ecf41['consumable']['consume'](_0x55eb0f['item'],_0xaefb6a['name']))return;const _0x33df5e=_0x2ecf41['writer'],_0x5990d5=_0x2ecf41['mapper']['toViewRange'](_0x55eb0f['range']);_0x33df5e['wrap'](_0x5990d5,_0x33df5e['createAttributeElement']('span'));});}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',function(_0x121391){const _0x15f622=_0x121391['plugins']['get']('RevisionViewer');return(_0x111ed3,_0xa4062b,_0x5a18e0)=>{const _0x477def=_0xa4062b['markerName']['split'](':')[0x1],_0x391dd5=_0x15f622['_getChangeFromId'](_0x477def);if(!_0x391dd5)return null;const _0x5725f2='add'==_0x391dd5['type']?'split':'merge';if(!_0x5a18e0['consumable']['test'](_0xa4062b['markerRange'],_0x111ed3['name']))return;const _0x5383ee=_0xa4062b['markerRange']['getWalker'](),_0x11bd0f=_0xa4062b['markerRange']['start'],_0x2f8547=_0x121391['model']['schema'];let _0x29b4c6=null,_0x9b5b41=null,_0x4c488b=!0x1,_0x496fac=!0x1;for(const _0x5b0bd3 of _0x5383ee){const _0x4ba1ff=_0x5b0bd3['item'];_0x4c488b=_0x4c488b||_0x2f8547['isContent'](_0x4ba1ff);const _0x1ed9fa=_0x5a18e0['mapper']['toViewElement'](_0x4ba1ff);if(_0x1ed9fa&&_0x1ed9fa['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x5b0bd3['type']&&(_0x2f8547['isBlock'](_0x4ba1ff)&&!_0x2f8547['isLimit'](_0x4ba1ff)&&(_0x4ba1ff['nextSibling']||_0x11bd0f['isAtEnd']?_0x29b4c6&&_0x29b4c6['parent']==_0x4ba1ff||(_0x29b4c6=_0x4ba1ff,_0x3b3859(_0x5b0bd3['previousPosition']),_0x496fac=!0x0):_0x9b5b41=_0x9b5b41||_0x5b0bd3['previousPosition']));}function _0x3b3859(_0x25ffae){const _0xf054ed=_0x5a18e0['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x5725f2}),_0x479c1f=_0x5a18e0['mapper']['toViewPosition'](_0x25ffae);_0x391dd5['data']['isSuggestion']&&_0x5a18e0['writer']['addClass']('ck-suggestion-marker-'+_0x5725f2+'-new',_0xf054ed),_0x15f622['activeChange']==_0x391dd5&&_0x5a18e0['writer']['addClass']('ck-suggestion-marker--active',_0xf054ed),_0x5a18e0['writer']['insert'](_0x479c1f,_0xf054ed),_0x5a18e0['mapper']['bindElementToMarker'](_0xf054ed,_0xa4062b['markerName']);}_0x4c488b||_0x496fac||!_0x9b5b41||_0x3b3859(_0x9b5b41);};}(this['editor']),{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('removeMarker:revision',(_0x5b05a2,_0x21fdf8,_0x8c0e71)=>{const _0x517446=_0x8c0e71['mapper']['markerNameToElements'](_0x21fdf8['markerName']);if(_0x517446){for(const _0xf240f4 of _0x517446)(_0xf240f4['hasClass']('ck-suggestion-marker-split')||_0xf240f4['hasClass']('ck-suggestion-marker-merge'))&&(_0x8c0e71['mapper']['unbindElementFromMarkerName'](_0xf240f4,_0x21fdf8['markerName']),_0x8c0e71['writer']['remove'](_0xf240f4));}},{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',(_0x1065b4,_0x32090f,_0x2ef25a)=>{const _0xef4fd8=_0x32090f['markerName']['split'](':')[0x1],_0x346d11=this['_getChangeFromId'](_0xef4fd8);if(!_0x346d11)return null;const _0x2413d4='add'==_0x346d11['type']?'split':'merge';if(_0x2ef25a['consumable']['test'](_0x32090f['markerRange'],_0x1065b4['name']))for(const _0xc3b5aa of _0x32090f['markerRange']['getItems']()){if(!_0xc3b5aa['is']('element','softBreak'))continue;const _0x242826=_0x2ef25a['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x2413d4}),_0x3a4075=_0x2ef25a['mapper']['toViewPosition'](this['editor']['model']['createPositionBefore'](_0xc3b5aa));_0x346d11['data']['isSuggestion']&&_0x2ef25a['writer']['addClass']('ck-suggestion-marker-'+_0x2413d4+'-new',_0x242826),this['activeChange']==_0x346d11&&_0x2ef25a['writer']['addClass']('ck-suggestion-marker--active',_0x242826),_0x2ef25a['writer']['insert'](_0x3a4075,_0x242826),_0x2ef25a['mapper']['bindElementToMarker'](_0x242826,_0x32090f['markerName']);}},{'priority':'high'}),this['editor']['model']['document']['on']('change',()=>{this['editor']['editing']['view']['change'](_0x5b66a=>{for(const _0xb16029 of this['editor']['model']['document']['getRootNames']()){const _0x55292a=this['editor']['model']['document']['getRoot'](_0xb16029),_0x366592=this['editor']['editing']['view']['document']['getRoot'](_0xb16029);if(_0x366592){const _0x1f534a=_0x55292a['getAttribute']('revisionHistoryAttachChange');if(_0x5b66a['removeAttribute']('data-change-id',_0x366592),_0x5b66a['removeClass']('ck-revision-history-root-add',_0x366592),_0x5b66a['removeClass']('ck-revision-history-root-remove',_0x366592),_0x5b66a['removeClass']('ck-revision-history-root--active',_0x366592),_0x1f534a){const _0x207587=this['_getChangeFromId'](_0x1f534a);if(!_0x207587)return null;_0x5b66a['setAttribute']('data-change-id',_0x1f534a,_0x366592),_0x5b66a['addClass']('ck-revision-history-root-'+_0x207587['type'],_0x366592),this['activeChange']==_0x207587&&_0x5b66a['addClass']('ck-revision-history-root--active',_0x366592);}}}});}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'comment','model':_0x5a2f58=>'revision-comment:'+_0x5a2f58,'converterPriority':'highest'}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'suggestion','model':_0x2a4c1c=>'revision-suggestion:'+_0x2a4c1c,'converterPriority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision-suggestion','view':_0x4c6b3b=>({'name':'suggestion:'+_0x4c6b3b,'group':'revision-suggestion'}),'converterPriority':'highest'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision-suggestion','view':_0x260a01=>{const _0xf5ec32=_0x260a01['markerName']['split'](':')[0x1];return'insertion'!=_0xf5ec32&&'deletion'!=_0xf5ec32?null:{'classes':['ck-suggestion-preview-marker','ck-suggestion-preview-marker-'+_0xf5ec32]};}}),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',(_0x224f36,_0x309aa7,_0x315763)=>{const _0x5c3395=_0x315763['mapper']['markerNameToElements'](_0x309aa7['markerName']);if(_0x5c3395){for(const _0xec1b68 of _0x5c3395)_0xec1b68['is']('uiElement')&&(_0x315763['mapper']['unbindElementFromMarkerName'](_0xec1b68,_0x309aa7['markerName']),_0x315763['writer']['remove'](_0xec1b68));}},{'priority':'high'});}['_getChangeFromId'](_0x21890d){return this['_changeIdToChange']['get'](_0x21890d);}['_getViewForChange'](_0x2279e7){return this['_changeView']&&this['_changeView']['destroy'](),this['_changeView']=new Z(this['editor']['locale'],_0x2279e7),this['_changeView'];}['_initInteractions'](){this['editor']['model']['document']['selection']['observeMarkers']('revision'),this['on']('change:activeView',(_0x4c2701,_0x3d7668,_0x41e9d6,_0x14097c)=>{_0x14097c&&this['_balloon']['remove'](_0x14097c),_0x41e9d6&&(this['_balloon']['add']({'view':_0x41e9d6,'stackId':'revisionHistoryLabel','position':{'target':()=>{const _0x111281=this['editor']['editing'],_0xa8363d=this['_getChangeFromId'](_0x41e9d6['changeId']);let _0x10192a;if(_0xa8363d['data']['isOnRoot']){const _0x20b28c=_0x111281['view']['getDomRoot'](_0xa8363d['rootName']);_0x10192a=Array['from'](_0x20b28c['getClientRects']());}else{const _0x37ff5e=this['editor']['model']['markers']['get']('revision:'+_0x41e9d6['changeId']);_0x10192a=Array['from'](_0x111281['mapper']['markerNameToElements'](_0x37ff5e['name']))['map'](_0x13265=>_0x111281['view']['domConverter']['mapViewToDom'](_0x13265))['map'](_0x18952d=>Array['from'](_0x18952d['getClientRects']()))['flat']();}if(!this['_activeViewTarget'])return _0x10192a[0x0];return _0x10192a['find'](_0x3ccc55=>_0x3ccc55['top']-0x3<=this['_activeViewTarget']['y']&&_0x3ccc55['bottom']+0x3>=this['_activeViewTarget']['y']&&_0x3ccc55['left']-0x3<=this['_activeViewTarget']['x']&&_0x3ccc55['right']+0x3>=this['_activeViewTarget']['x'])||_0x10192a[0x0];}}}),this['_balloon']['showStack']('revisionHistoryLabel'));}),this['on']('change:activeChange',(_0x449e7b,_0x225797,_0x5e2291,_0x5d4e71)=>{this['activeView']=_0x5e2291?this['_getViewForChange'](_0x5e2291):null,this['editor']['model']['change'](()=>{const _0x17a75c=this['editor']['editing'];_0x5d4e71&&(_0x5d4e71['data']['isOnRoot']?_0x17a75c['view']['change'](_0x24589a=>{_0x24589a['removeClass']('ck-revision-history-root--active',_0x17a75c['view']['document']['getRoot'](_0x5d4e71['rootName']));}):_0x17a75c['reconvertMarker']('revision:'+_0x5d4e71['id'])),_0x5e2291&&(_0x5e2291['data']['isOnRoot']?_0x17a75c['view']['change'](_0xaa4379=>{_0xaa4379['addClass']('ck-revision-history-root--active',_0x17a75c['view']['document']['getRoot'](_0x5e2291['rootName']));}):_0x17a75c['reconvertMarker']('revision:'+_0x5e2291['id']));});}),this['listenTo'](this['editor']['editing']['view']['document'],'mouseover',(_0x195a10,_0x6537e1)=>{if(this['activeChange'])return;const _0xcac0d1=this['_findChangeIdFromDomTarget'](_0x6537e1['target']),_0x387035=this['_changeIdToChange']['get'](_0xcac0d1);_0x387035?(this['_activeViewTarget']={'x':_0x6537e1['domEvent']['x'],'y':_0x6537e1['domEvent']['y']},this['activeView']=this['_getViewForChange'](_0x387035)):(this['_activeViewTarget']=null,this['activeView']=null);}),this['listenTo'](this['editor']['editing']['view']['document'],'mousedown',(_0x5a0fd1,_0x54ffb3)=>{const _0x1cb445=this['_findChangeIdFromDomTarget'](_0x54ffb3['target']),_0x409a61=this['_changeIdToChange']['get'](_0x1cb445);_0x409a61?(this['_activeViewTarget']={'x':_0x54ffb3['domEvent']['x'],'y':_0x54ffb3['domEvent']['y']},_0x409a61===this['activeChange']?this['_balloon']['updatePosition']():this['activeChange']=_0x409a61):(this['_activeViewTarget']=null,this['activeChange']=null);});}['_findChangeIdFromDomTarget'](_0x38d6b9){do{const _0x265167=_0x38d6b9['getAttribute']('data-change-id');if(_0x265167)return _0x265167;_0x38d6b9=_0x38d6b9['parent'];}while(_0x38d6b9);return null;}['_cleanMarkers'](){this['editor']['model']['change'](_0x59273c=>{for(const _0x32bc99 of this['editor']['model']['markers'])_0x59273c['removeMarker'](_0x32bc99);});}}function et(_0x3107d0,_0xc27a81){return(_0x25e549,_0x3af9c3,_0x4d4cda)=>{if(!_0x4d4cda['consumable']['test'](_0x3af9c3['markerRange'],_0x25e549['name']))return;const _0x46a5dc=_0x3af9c3['markerRange']['getWalker'](),_0x4c9ab4=_0x3af9c3['markerRange']['start'],_0x3790cd=_0x3107d0['model']['schema'];let _0x5e78fe=null,_0x19a228=null,_0x173d04=!0x1,_0x24f32a=!0x1;for(const _0x44959c of _0x46a5dc){const _0x3fa029=_0x44959c['item'];_0x173d04=_0x173d04||_0x3790cd['isContent'](_0x3fa029);const _0xd6b7ce=_0x4d4cda['mapper']['toViewElement'](_0x3fa029);if(_0xd6b7ce&&_0xd6b7ce['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x44959c['type']&&(_0x3790cd['isBlock'](_0x3fa029)&&!_0x3790cd['isLimit'](_0x3fa029)&&(_0x3fa029['nextSibling']||_0x4c9ab4['isAtEnd']?_0x5e78fe&&_0x5e78fe['parent']==_0x3fa029||(_0x5e78fe=_0x3fa029,_0x4eb7d2(_0x44959c['previousPosition']),_0x24f32a=!0x0):_0x19a228=_0x19a228||_0x44959c['previousPosition']));}function _0x4eb7d2(_0x6b2609){const _0x412d43=_0x4d4cda['mapper']['toViewPosition'](_0x6b2609),_0x528cd1=_0x4d4cda['writer']['createUIElement']('span',{'class':'ck-suggestion-preview-marker-'+_0xc27a81});_0x4d4cda['writer']['insert'](_0x412d43,_0x528cd1),_0x4d4cda['mapper']['bindElementToMarker'](_0x528cd1,_0x3af9c3['markerName']);}_0x173d04||_0x24f32a||!_0x19a228||_0x4eb7d2(_0x19a228);};}class bt extends _0x4a665b{constructor(_0x2d1439){super(_0x2d1439);const _0x575955=_0x2d1439['plugins']['get'](d);this['affectsData']=!0x1,this['listenTo'](_0x575955,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x575955,'change:isEnabled',()=>this['refresh']());}['execute'](){const _0x557393=this['editor'],_0x55a43c=_0x557393['plugins']['get'](d),_0x44cb59=_0x55a43c['isReady']?_0x55a43c['diff']['newRevisionId']:null;_0x557393['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x44cb59);}['refresh'](){const {isReady:_0x14e947,isEnabled:_0x10b44c}=this['editor']['plugins']['get'](d);this['isEnabled']=_0x14e947&&_0x10b44c;}}class yt extends _0x4a665b{['_step'];constructor(_0x22ba70,{direction:_0x3f2fbd}){super(_0x22ba70);const _0x4883a1=_0x22ba70['plugins']['get'](d);this['affectsData']=!0x1,this['_step']='forward'===_0x3f2fbd?0x1:-0x1,this['listenTo'](_0x4883a1,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x4883a1,'change:isEnabled',()=>this['refresh']()),this['listenTo'](_0x4883a1,'change:activeChange',()=>this['refresh']());}['execute'](){const _0x2b1e8b=this['editor'],_0x3778aa=_0x2b1e8b['plugins']['get'](d),{isNavigationMode:_0x2f4f5a,currentChangeNumber:_0x3e4842}=_0x3778aa;let _0x5c823d;if(_0x3778aa['activeChange']=_0x2f4f5a?_0x3778aa['diff']['changes']['get'](_0x3e4842+this['_step']):_0x3778aa['diff']['changes']['first'],_0x3778aa['activeChange']['data']['isOnRoot'])_0x5c823d=_0x2b1e8b['editing']['view']['getDomRoot'](_0x3778aa['activeChange']['rootName']);else{const _0x45291d=_0x2b1e8b['model']['markers']['get']('revision:'+_0x3778aa['activeChange']['id']);_0x5c823d=_0x2ffdc7(_0x2b1e8b['editing'],_0x45291d);}_0x2bb233({'target':_0x5c823d,'viewportOffset':0x28});}['refresh'](){const {isNavigationMode:_0x5c561,currentChangeNumber:_0x31e988,numberOfChanges:_0x140b13,isReady:_0x48db08,isEnabled:_0x499ab2}=this['editor']['plugins']['get'](d);this['isEnabled']=!!(_0x499ab2&&_0x48db08&&_0x140b13)&&(!_0x5c561||(0x1===this['_step']?_0x31e988<_0x140b13-0x1:_0x31e988>0x0));}}class _i extends _0xb4f3f0{constructor(_0x39cc90){super(_0x39cc90);const _0x4c6104=this['bindTemplate'],_0xe0bcd2=new _0x3b78ef(_0x39cc90),_0x528729=new _0x3b78ef(_0x39cc90);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',(_0x44dee4,_0x239e90)=>_0x44dee4&&_0x239e90>0x0),this['bind']('_statusText')['to'](this,'isReady',this,'currentChangeNumber',this,'numberOfChanges',this,'isNavigationMode',(_0x20e49f,_0xc13f5f,_0x494bc1,_0x256802)=>{if(!_0x20e49f)return y(_0x39cc90,'Loading...');if(!_0x494bc1)return y(_0x39cc90,'No\x20changes');const _0xf70ea5=y(_0x39cc90,'NUMBER_OF_CHANGES',_0x494bc1);return _0x256802?y(_0x39cc90,'X_OF_Y_CHANGES',[_0xc13f5f+0x1,_0x494bc1]):_0xf70ea5;}),_0xe0bcd2['set']({'label':y(_0x39cc90,'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'}),_0x528729['set']({'label':y(_0x39cc90,'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'}),_0xe0bcd2['bind']('isEnabled')['to'](this,'isBackwardNavigationEnabled'),_0x528729['bind']('isEnabled')['to'](this,'isForwardNavigationEnabled'),_0xe0bcd2['on']('execute',()=>this['fire']('execute','backward')),_0x528729['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',_0x4c6104['if']('_isStatusLabelVisible','ck-hidden',_0x247bd1=>!_0x247bd1)]},'children':[{'text':_0x4c6104['to']('isNavigationMode',_0x49a0ed=>_0x49a0ed?y(_0x39cc90,'EDIT_X_OF_Y_REVISIONS')+':\x20':y(_0x39cc90,'Total')+':\x20')}]},{'text':_0x4c6104['to']('_statusText')}]},new _0x495c27(),{'tag':'div','attributes':{'class':['ck-revision-history-ui__changes-navigation__navigation']},'children':[_0xe0bcd2,_0x528729]}]});}}const ce='ck-editor__editable__loading-overlay';class de extends _0x503c5a{static get['pluginName'](){return'RevisionViewerLoadingOverlay';}['show'](){const _0x262fe5=this['editor']['editing']['view'];_0x262fe5['change'](_0x4d5f23=>{for(const _0x9480b5 of _0x262fe5['document']['roots'])_0x4d5f23['addClass'](ce,_0x9480b5);});}['hide'](){const _0x999307=this['editor']['editing']['view'];_0x999307['change'](_0x398693=>{for(const _0x122f9c of _0x999307['document']['roots'])_0x398693['removeClass'](ce,_0x122f9c);});}}class R extends _0x503c5a{static get['pluginName'](){return'RevisionViewerUI';}static get['requires'](){return[d,de];}['init'](){const _0x13cd0b=this['editor'],_0x51b665=_0x13cd0b['plugins']['get'](d),_0x2e8e26=_0x13cd0b['plugins']['get'](de);_0x13cd0b['ui']['componentFactory']['add']('exitToEditing',_0x409a4f=>{const _0x56a887=new _0x3b78ef(_0x409a4f);return _0x56a887['set']({'label':y(_0x409a4f,'Back\x20to\x20editing'),'icon':_0x2e9515['undo'],'withText':!0x0,'tooltip':!0x0,'class':'ck-revision-history-ui__back-to-editing'}),this['listenTo'](_0x56a887,'execute',()=>{_0x13cd0b['config']['get']('revisionHistory')['closeRevisionViewerCallback']();}),_0x56a887;}),_0x13cd0b['ui']['componentFactory']['add']('restoreRevision',_0x1d4f79=>{const _0x2fd9b4=new _0x3b78ef(_0x1d4f79);return _0x2fd9b4['set']({'label':y(_0x1d4f79,'Restore\x20this\x20revision'),'withText':!0x0,'tooltip':!0x0}),_0x2fd9b4['bind']('isEnabled')['to'](_0x13cd0b['commands']['get']('restoreRevision')),this['listenTo'](_0x2fd9b4,'execute',()=>_0x13cd0b['execute']('restoreRevision')),_0x2fd9b4;}),_0x13cd0b['ui']['componentFactory']['add']('changesNavigation',_0x5726d3=>{const _0x3e4c04=new _i(_0x5726d3),_0x19ccf6=_0x13cd0b['commands']['get']('showPreviousChange'),_0x11acdc=_0x13cd0b['commands']['get']('showNextChange');return _0x3e4c04['bind']('isBackwardNavigationEnabled')['to'](_0x19ccf6,'isEnabled'),_0x3e4c04['bind']('isForwardNavigationEnabled')['to'](_0x11acdc,'isEnabled'),_0x3e4c04['bind']('isReady','currentChangeNumber','numberOfChanges','isNavigationMode')['to'](_0x51b665),this['listenTo'](_0x3e4c04,'execute',(_0x320baf,_0x1775a2)=>{_0x13cd0b['execute']('forward'===_0x1775a2?'showNextChange':'showPreviousChange');}),_0x3e4c04;}),_0x2e8e26['show'](),_0x51b665['on']('change:isReady',(_0x48008f,_0x47a2e4,_0x3fd2ef)=>{_0x3fd2ef?_0x2e8e26['hide']():_0x2e8e26['show']();});}}class kt extends at{['_resizeObserver']=null;constructor(_0x3d66a4,_0x4f1fe6){super(_0x3d66a4,_0x4f1fe6);const _0x51ee50=this['bindTemplate'];this['set']({'label':y(_0x3d66a4,'Revision\x20name'),'_tooltipString':''}),this['fieldView']['placeholder']=y(_0x3d66a4,'Enter\x20the\x20revision\x20name'),this['extendTemplate']({'tag':'span','attributes':{'class':['ck-revision-history-sidebar__revision-name'],'data-cke-tooltip-text':_0x51ee50['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 _0x21f9eb=this['fieldView']['element'];this['_tooltipString']=_0x21f9eb['scrollWidth']>_0x21f9eb['clientWidth']&&_0x21f9eb['value']||'';}}class ti extends _0xb4f3f0{constructor(_0x33a6db,_0x48a959,_0xc7aae7){super(_0x33a6db);const _0x28d151=new _0x424e44();_0x28d151['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 _0x44327e=['ck','ck-revision-history-sidebar__revision-author'];_0xc7aae7&&_0x44327e['push']('ck-revision-history-sidebar__revision-author_creator');const _0x1a8342=[{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__revision-author__name'],'title':y(_0x33a6db,_0xc7aae7?'Revision\x20creator':'Revision\x20author')},'children':[_0x28d151,_0x48a959['name']]}];this['setTemplate']({'tag':'li','attributes':{'class':_0x44327e},'children':_0x1a8342});}}function ni(_0x1e8653,_0x2be2ee){const _0x35c786=_0x1e8653['bindTemplate'],_0xeca432=_0x1e8653['locale'],_0xb445e5=_0x5d69b3(_0xeca432);_0xb445e5['panelPosition']='sw';const _0x1f69cc=function(_0x7b0baa,_0x4de083){const _0x53e740=function(_0x2d32f0,_0x3dded2){const _0x7311bb=_0x2d32f0['locale'],_0x27b322={'Compare\x20against\x20selected':y(_0x7311bb,'Compare\x20against\x20selected'),'Name\x20this\x20revision':y(_0x7311bb,'Name\x20this\x20revision'),'Restore\x20this\x20revision':y(_0x7311bb,'Restore\x20this\x20revision')};return _0x3dded2['map'](_0x23b8a9=>{const _0x5ad0a8=_0x27b322[_0x23b8a9['name']];return _0x5ad0a8&&_0x5ad0a8!==_0x23b8a9['name']&&(_0x23b8a9['name']=_0x5ad0a8),_0x23b8a9;});}(_0x7b0baa,_0x4de083),_0x1e6558=new _0x23b64c();for(const _0x2c2700 of _0x53e740){const _0x1e1dcf={'type':'button','model':new to({'label':_0x2c2700['name'],'class':_0x2c2700['class'],'withText':!0x0,'role':'menuitem','_action':_0x2c2700['action']})};_0x1e1dcf['model']['bind']('isEnabled')['to'](_0x7b0baa,'isActionsDropdownOpen',_0x65b4ee=>'function'!=typeof _0x2c2700['isEnabled']||(!_0x65b4ee||_0x2c2700['isEnabled'](_0x7b0baa))),_0x1e6558['add'](_0x1e1dcf);}return _0x1e6558;}(_0x1e8653,_0x2be2ee);return _0x1e8653['bind']('isActionsDropdownOpen')['to'](_0xb445e5,'isOpen'),_0xb445e5['buttonView']['set']({'label':y(_0xeca432,'Show\x20more\x20items'),'tooltip':!0x0,'tooltipPosition':'sw','icon':_0x2e9515['threeVerticalDots']}),_0xb445e5['extendTemplate']({'attributes':{'class':['ck-revision-history-sidebar__revision__actions',_0x35c786['if']('isActionsDropdownOpen','ck-on')]},'on':{'click':_0x35c786['to'](_0x317af6=>_0x317af6['stopPropagation']())}}),_0xb445e5['on']('execute',_0x430d54=>{_0x1e8653['isReady']&&'function'==typeof _0x430d54['source']['_action']&&_0x430d54['source']['_action'](_0x1e8653);}),_0x42e153(_0xb445e5,_0x1f69cc,{'role':'menu'}),_0xb445e5['listenTo'](_0x1e8653,'change:isActionsDropdownOpen',(_0x4c666b,_0x36138b,_0x1be2eb)=>{if(_0x1be2eb)for(const _0x2cc21a of _0xb445e5['listView']['items']){const _0x29f5de=_0x2cc21a['children']['first'],_0x5dee77=_0x2be2ee['find'](_0x3544fd=>_0x3544fd['action']===_0x29f5de['_action'])['isVisible'];_0x2cc21a['isVisible']=void 0x0===_0x5dee77||_0x5dee77(_0x1e8653);}}),_0xb445e5;}class ai extends/* #__PURE__ -- @preserve */
26
- _0x3702b9(_0xb4f3f0){['id'];['revisionNameView'];['revisionActionsView'];['_revision'];['_requireRevisionName'];constructor(_0x51fdaf,_0x401269,_0x55f2e0,_0x11a7a9){super(_0x51fdaf);const _0x4ab794=this['bindTemplate'],_0x28febc=function(_0x550b13,_0x120956){const _0x58e904=Array['from'](_0x120956['authors'])['filter'](_0x275030=>_0x275030!=_0x120956['creator']);return _0x120956['creator']&&_0x58e904['unshift'](_0x120956['creator']),_0x58e904['map'](_0xa07184=>new ti(_0x550b13,_0xa07184,_0xa07184==_0x120956['creator']));}(_0x51fdaf,_0x401269);this['id']=_0x401269['id'],this['_revision']=_0x401269,this['_requireRevisionName']=_0x11a7a9,this['bind']('name','createdAt')['to'](_0x401269),this['bind']('_createdAtFormatted')['to'](this,'createdAt',_0x57f48d=>{return _0x4d06bd=_0x51fdaf['uiLanguage'],(_0x1369d3=_0x57f48d)['toLocaleDateString'](_0x4d06bd,{'month':'long','day':'numeric'})+',\x20'+_0x1369d3['toLocaleTimeString'](_0x4d06bd,{'hour':'numeric','minute':'numeric'});var _0x4d06bd,_0x1369d3;}),this['set']('isSelected',!0x1),this['set']('isHighlighted',!0x1),this['set']('isActionsDropdownOpen',!0x1),this['set']('isReady',!0x1),this['set']('isEnabled',!0x1),this['revisionNameView']=new kt(_0x51fdaf,_0x410f53),this['revisionNameView']['fieldView']['extendTemplate']({'attributes':{'maxlength':'220'}}),this['revisionNameView']['fieldView']['bind']('value')['to'](this,'name',_0x65e8bd=>_0x65e8bd||this['_createdAtFormatted']),this['revisionNameView']['bind']('isEnabled')['to'](this,'isSelected',this,'isEnabled',(_0xfc714,_0x4039bf)=>_0xfc714&&_0x4039bf),this['revisionActionsView']=_0x55f2e0&&_0x55f2e0['length']?ni(this,_0x55f2e0):'',this['revisionActionsView']&&this['revisionActionsView']['bind']('isEnabled')['to'](this),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision-wrapper',_0x4ab794['if']('isConfirm','ck-revision-history-sidebar__revision-wrapper_confirmation_visible')]},'children':[{'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision',_0x4ab794['if']('isEnabled','ck-disabled',_0x520f2a=>!_0x520f2a),_0x4ab794['if']('isSelected','ck-revision-history-sidebar__revision_selected'),_0x4ab794['if']('isHighlighted','ck-revision-history-sidebar__revision_highlighted'),_0x4ab794['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':_0x4ab794['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':_0x28febc}]},this['revisionActionsView']],'on':{'click':_0x4ab794['to'](_0x5cf545=>{_0x5cf545['srcElement']['closest']('.ck-thread__remove-confirm')||this['isReady']&&this['isEnabled']&&this['fire']('select',{'id':this['id']});})}}]});}['render'](){super['render']();const _0x52f50d=this['revisionNameView']['fieldView']['element'];this['listenTo'](_0x52f50d,'change',()=>{this['_requireRevisionName']&&!_0x52f50d['value']||this['fire']('setName',{'id':this['id'],'name':_0x52f50d['value']}),_0x52f50d['value']||(_0x52f50d['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(_0x340982,_0x4673c6){const _0x1b48e7=_0x3be6bf['fromJSDate'](_0x340982)['setLocale'](_0x4673c6),_0x48f40a=_0x3be6bf['local'](),_0x2e784a=_0x48f40a['minus']({'days':0x1})['startOf']('day');let _0x23d191,_0x4e9113;return _0x1b48e7['hasSame'](_0x48f40a,'day')?(_0x23d191=_0x1b48e7['startOf']('day')['toJSDate'](),_0x4e9113=_0x1b48e7['toRelativeCalendar']()):_0x1b48e7['hasSame'](_0x2e784a,'day')?(_0x23d191=_0x2e784a['toJSDate'](),_0x4e9113=_0x1b48e7['toRelativeCalendar']()):_0x1b48e7['hasSame'](_0x48f40a,'week')?(_0x23d191=_0x1b48e7['startOf']('week')['toJSDate'](),_0x4e9113=_0x1b48e7['weekdayLong']||''):_0x1b48e7['hasSame'](_0x48f40a,'year')?(_0x23d191=_0x1b48e7['startOf']('month')['toJSDate'](),_0x4e9113=_0x1b48e7['monthLong']||''):(_0x23d191=_0x1b48e7['startOf']('year')['toJSDate'](),_0x4e9113=String(_0x1b48e7['year'])),{'startDate':_0x23d191,'localizedPeriodName':_0x4e9113};}class mi extends _0xb4f3f0{['startDate'];['revisionViews'];['_revisionActions'];['_requireRevisionName'];constructor(_0x882bea,_0x4888d2,_0x4045aa,_0x277671){super(_0x882bea);const _0xdb00d6=di(_0x4888d2,this['locale']['uiLanguage'])['localizedPeriodName'];this['startDate']=_0x4888d2,this['revisionViews']=this['createCollection'](),this['_revisionActions']=_0x4045aa,this['_requireRevisionName']=_0x277671,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':_0xdb00d6}]},{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__time-period__revisions']},'children':this['revisionViews']}]});}['addRevision'](_0x33b239){const _0x21ed4b=new ai(this['locale'],_0x33b239,this['_revisionActions'],this['_requireRevisionName']);this['revisionViews']['add'](_0x21ed4b);}['removeRevision'](_0x29863d){const _0x56f053=this['revisionViews']['find'](_0x436d3b=>_0x436d3b['id']===_0x29863d['id']);this['revisionViews']['remove'](_0x56f053);}}class as extends _0xb4f3f0{constructor(_0x51d6f5){super(_0x51d6f5);const _0x2363fa=new _0x424e44();_0x2363fa['content']=_0x2e9515['history'],this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all','ck-revision-history-sidebar__header']},'children':[_0x2363fa,{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__header__label']},'children':[y(_0x51d6f5,'Revision\x20history')]}]});}}class ci extends _0xb4f3f0{['timePeriodViews'];['_revisions'];['_revisionActions'];['_requireRevisionName'];constructor(_0x500800,_0x33649a,_0x1059b1,_0x10d3b4){super(_0x500800);const _0x4e7d66=this['bindTemplate'];this['timePeriodViews']=this['createCollection'](),this['timePeriodViews']['delegate']('select')['to'](this),this['timePeriodViews']['delegate']('setName')['to'](this),this['_revisions']=_0x33649a,this['_revisionActions']=_0x1059b1,this['_requireRevisionName']=_0x10d3b4,this['on']('select',(_0xfb01d9,_0x5d85c0)=>{this['fire']('revisionSelected',_0x5d85c0);}),this['on']('setName',(_0x30dabb,_0x4c096a)=>{this['fire']('revisionSetName',_0x4c096a);}),this['set']('isEnabled',!0x1),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-rounded-corners','ck-revision-history-sidebar']},'children':[new as(_0x500800),{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__timeline',_0x4e7d66['if']('isEnabled','ck-disabled',_0x491e49=>!_0x491e49)]},'children':this['timePeriodViews']}]});}['render'](){super['render']();for(const _0x1a2c6a of this['_revisions'])this['_addRevision'](_0x1a2c6a);this['_revisions']['on']('add',(_0x538a93,_0x5cf444)=>{this['_addRevision'](_0x5cf444);}),this['_revisions']['on']('remove',(_0x195de5,_0x579dcb)=>{this['_removeRevision'](_0x579dcb);});}get['revisionViews'](){return this['timePeriodViews']['map'](_0x132829=>_0x132829['revisionViews']['map'](_0x5d7e26=>_0x5d7e26))['flat']();}['selectRevision'](_0x5d0f3f){for(const _0x4c7ce4 of this['revisionViews'])_0x5d0f3f&&_0x5d0f3f['id']===_0x4c7ce4['id']?_0x4c7ce4['select']():_0x4c7ce4['deselect']();}['highlightRevisions'](_0x5e03f2){for(const _0x514ecc of this['revisionViews'])_0x5e03f2['some'](({id:_0x59b0ec})=>_0x59b0ec===_0x514ecc['id'])?_0x514ecc['highlight']():_0x514ecc['unhighlight']();}['_addRevision'](_0x1545a3){const _0x2bce26=di(_0x1545a3['createdAt'],this['locale']['uiLanguage'])['startDate'];let _0x2535a2=this['timePeriodViews']['get'](0x0);_0x2535a2&&_0x2535a2['startDate']['getTime']()===_0x2bce26['getTime']()||(_0x2535a2=new mi(this['locale'],_0x2bce26,this['_revisionActions'],this['_requireRevisionName']),this['timePeriodViews']['add'](_0x2535a2)),_0x2535a2['addRevision'](_0x1545a3);}['_removeRevision'](_0x482ef5){const _0x564afc=di(_0x482ef5['createdAt'],this['locale']['uiLanguage'])['startDate'];this['_getTimePeriodViewByStartDate'](_0x564afc)['removeRevision'](_0x482ef5);}['_getTimePeriodViewByStartDate'](_0x22209a){return this['timePeriodViews']['find'](_0x58b63b=>_0x58b63b['startDate']['getTime']()===_0x22209a['getTime']());}}class w extends _0x503c5a{['_revisionViewer'];['_revisionsRepository'];['_sidebarView'];static ['defaultRevisionActions']=/* #__PURE__ -- @preserve */
23
+ import{Plugin as _0x118092,Context as _0x424e95,PendingActions as _0x2a7bfb,icons as _0x41ac49,Command as _0x25b40a,ElementApiMixin as rt,Editor as it}from'@ckeditor/ckeditor5-core/dist/index.js';import{ObservableMixin as _0x509e78,uid as _0x43d041,Collection as _0x47c7df,logWarning as _0x47f8c4,FocusTracker as _0x35f45b,KeystrokeHandler as _0xe09bd5,scrollViewportToShowTarget as _0x12fecc,ResizeObserver as mt,ElementReplacer as nt,CKEditorError as _0x8de255}from'@ckeditor/ckeditor5-utils/dist/index.js';import{Users as _0x57f2f5,getMarkerDomElement as _0x35c26f,ConfirmMixin as _0x58888f,sanitizeEditorConfig as _0x348f62}from'ckeditor5-collaboration/dist/index.js';import{ViewDocumentFragment as _0x2c55d3,ViewText as _0x254a22,ViewElement as _0x5772b6,Element as ft,Range as vt,Position as gt,DocumentFragment as wt,ViewContainerElement as _0x2324ac,ViewAttributeElement as _0x546ff6,ViewEmptyElement as _0x53a022,ViewRawElement as _0x2d3900,ViewUIElement as _0x43f1d8,Text as _t}from'@ckeditor/ckeditor5-engine/dist/index.js';import{cloneDeep as _0x570ac4,set as _0x51aad9,unset as _0x7d9cd8,isEqual as _0x1a6d45}from'lodash-es';import{View as _0x9bb2f4,injectCssTransitionDisabler as ts,submitHandler as _0x271ebe,LabeledFieldView as at,createLabeledInputText as _0x1b07b0,createDropdown as _0x35e381,ListView as te,ListItemView as _0x3e6543,ButtonView as _0x4340e5,MenuBarMenuView as _0x17a8bc,MenuBarMenuListView as _0x54913b,MenuBarMenuListItemView as _0x353745,MenuBarMenuListItemButtonView as _0x151017,ContextualBalloon as _0x5e8add,ToolbarSeparatorView as _0x10c08c,IconView as _0x52ac74,addListToDropdown as _0x3ff317,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 _0x1c37ee}from'luxon';class a extends/* #__PURE__ -- @preserve */
24
+ _0x509e78(){['id'];['creator'];['authors'];['diffData'];['toVersion'];['fromVersion'];['model'];constructor(_0x4078e6){super(),this['id']=_0x4078e6['id']||_0x43d041(),this['creator']=_0x4078e6['creator']||null,this['authors']=_0x4078e6['authors']||[],this['diffData']=_0x4078e6['diffData']||null,this['toVersion']=_0x4078e6['toVersion']||0x0,this['fromVersion']=_0x4078e6['fromVersion']||0x0,this['set']('name',_0x4078e6['name']||''),this['set']('createdAt',_0x4078e6['createdAt']||new Date()),this['set']('attributes',_0x4078e6['attributes']||{});}['setName'](_0x4bd2de){this['_update']({'name':_0x4bd2de});}['setAttribute'](_0x3ff5c7,_0x398296){const _0x1428e4=_0x570ac4(this['attributes']);_0x51aad9(_0x1428e4,_0x3ff5c7,_0x398296),this['_update']({'attributes':_0x1428e4});}['removeAttribute'](_0x15b11e){const _0x28b5a1=_0x570ac4(this['attributes']);_0x7d9cd8(_0x28b5a1,_0x15b11e),this['_update']({'attributes':_0x28b5a1});}['_update'](_0x2edeeb,_0x16f075=!0x1){let _0x3f0274=!0x1;const _0x34aab1={'id':this['id']},_0x53d0f4=['name','createdAt','diffData','authors','attributes','toVersion','fromVersion','creatorId'];for(const _0x7ce24e of _0x53d0f4){const _0x39ee1b=_0x2edeeb[_0x7ce24e];void 0x0!==_0x39ee1b&&_0x39ee1b!==this[_0x7ce24e]&&(this[_0x7ce24e]=_0x39ee1b,_0x34aab1[_0x7ce24e]=_0x39ee1b,_0x3f0274=!0x0);}_0x3f0274&&(_0x34aab1['authors']&&(_0x34aab1['authorsIds']=_0x34aab1['authors']['map'](_0x5b4d79=>_0x5b4d79['id']),delete _0x34aab1['authors']),this['fire']('_update',_0x34aab1,_0x16f075));}['toJSON'](){return{'id':this['id'],'name':this['name'],'creatorId':this['creator']?this['creator']['id']:null,'authorsIds':this['authors']['map'](_0x1c8390=>_0x1c8390['id']),'diffData':this['diffData'],'createdAt':this['createdAt'],'attributes':this['attributes'],'fromVersion':this['fromVersion'],'toVersion':this['toVersion']};}}class A extends _0x118092{['_revisions'];static get['requires'](){return[_0x57f2f5];}static get['pluginName'](){return'RevisionsRepository';}get['length'](){return this['_revisions']['length'];}constructor(_0x1029d8){super(_0x1029d8),this['_revisions']=new _0x47c7df();}['afterInit'](){!function(_0x3fcf7d){function _0x1158aa(_0x3a78cf,_0x26badc,_0x280827){const _0x226d99={};_0x226d99[_0x24b1a1([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])]={0x10:0xa,0x18:0xc,0x20:0xe},_0x226d99[_0x24b1a1([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],_0x226d99[_0x24b1a1([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],_0x226d99[_0x24b1a1([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],_0x226d99[_0x24b1a1([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],_0x226d99[_0x24b1a1([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],_0x226d99[_0x24b1a1([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],_0x226d99[_0x24b1a1([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],_0x226d99[_0x24b1a1([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],_0x226d99[_0x24b1a1([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],_0x226d99[_0x24b1a1([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 _0x950abf=new Uint8Array(0x10);for(let _0xbf9c8d=0xf;_0xbf9c8d>=0x0;--_0xbf9c8d)_0x950abf[_0xbf9c8d]=_0x280827%0x100,_0x280827=parseInt(_0x280827/0x100);let _0x22fd03=null,_0x4449a5=0x10;const _0x8f7f70=new Uint8Array(_0x26badc),_0xebc3b2=[],_0x383586=[];_0x21ef8c();for(let _0x2923ca=0x0;_0x2923ca<_0x3a78cf[_0x24b1a1([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2923ca++)0x10===_0x4449a5&&(_0x22fd03=_0x1f0cf0(_0x950abf),_0x4449a5=0x0,_0x206ce1(_0x950abf)),_0x3a78cf[_0x2923ca]^=_0x22fd03[_0x4449a5++];return _0x3a78cf;function _0x40082d(_0x5307f8){const _0x5b1bdf=[];for(let _0x2f736b=0x0;_0x2f736b<_0x5307f8[_0x24b1a1([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2f736b+=0x4)_0x5b1bdf[_0x24b1a1([0x70,0x75,0x73,0x68])](_0x5307f8[_0x2f736b]<<0x18|_0x5307f8[_0x2f736b+0x1]<<0x10|_0x5307f8[_0x2f736b+0x2]<<0x8|_0x5307f8[_0x2f736b+0x3]);return _0x5b1bdf;}function _0x206ce1(_0x2e3e3c){for(let _0x168555=0xf;_0x168555>=0x0;_0x168555--){if(0xff!==_0x2e3e3c[_0x168555]){_0x2e3e3c[_0x168555]++;break;}_0x2e3e3c[_0x168555]=0x0;}}function _0x1f0cf0(_0x12bf01){const _0x5ebe7a=_0xebc3b2[_0x24b1a1([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x1,_0x44f8dd=[0x0,0x0,0x0,0x0];let t=_0x40082d(_0x12bf01);for(let _0x2a7338=0x0;_0x2a7338<0x4;_0x2a7338++)t[_0x2a7338]^=_0xebc3b2[0x0][_0x2a7338];for(let _0x34926f=0x1;_0x34926f<_0x5ebe7a;_0x34926f++){for(let _0x40ee4f=0x0;_0x40ee4f<0x4;_0x40ee4f++)_0x44f8dd[_0x40ee4f]=_0x226d99[_0x24b1a1([0x54,0x31])][t[_0x40ee4f]>>0x18&0xff]^_0x226d99[_0x24b1a1([0x54,0x32])][t[(_0x40ee4f+0x1)%0x4]>>0x10&0xff]^_0x226d99[_0x24b1a1([0x54,0x33])][t[(_0x40ee4f+0x2)%0x4]>>0x8&0xff]^_0x226d99[_0x24b1a1([0x54,0x34])][0xff&t[(_0x40ee4f+0x3)%0x4]]^_0xebc3b2[_0x34926f][_0x40ee4f];t=_0x44f8dd[_0x24b1a1([0x73,0x6c,0x69,0x63,0x65])]();}const _0x45b6d7=new Uint8Array(0x10);let _0x2673d6;for(let _0x59f705=0x0;_0x59f705<0x4;_0x59f705++)_0x2673d6=_0xebc3b2[_0x5ebe7a][_0x59f705],_0x45b6d7[0x4*_0x59f705]=0xff&(_0x226d99[_0x24b1a1([0x53])][t[_0x59f705]>>0x18&0xff]^_0x2673d6>>0x18),_0x45b6d7[0x4*_0x59f705+0x1]=0xff&(_0x226d99[_0x24b1a1([0x53])][t[(_0x59f705+0x1)%0x4]>>0x10&0xff]^_0x2673d6>>0x10),_0x45b6d7[0x4*_0x59f705+0x2]=0xff&(_0x226d99[_0x24b1a1([0x53])][t[(_0x59f705+0x2)%0x4]>>0x8&0xff]^_0x2673d6>>0x8),_0x45b6d7[0x4*_0x59f705+0x3]=0xff&(_0x226d99[_0x24b1a1([0x53])][0xff&t[(_0x59f705+0x3)%0x4]]^_0x2673d6);return _0x45b6d7;}function _0x21ef8c(){const _0x2330db=_0x226d99[_0x24b1a1([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])][_0x8f7f70[_0x24b1a1([0x6c,0x65,0x6e,0x67,0x74,0x68])]];for(let _0x577bcb=0x0;_0x577bcb<=_0x2330db;_0x577bcb++)_0xebc3b2[_0x24b1a1([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]),_0x383586[_0x24b1a1([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]);const _0xce935c=0x4*(_0x2330db+0x1),_0x12b5d6=_0x8f7f70[_0x24b1a1([0x6c,0x65,0x6e,0x67,0x74,0x68])]/0x4,_0x191a75=_0x40082d(_0x8f7f70);let _0x535a66;for(let _0x16dd3d=0x0;_0x16dd3d<_0x12b5d6;_0x16dd3d++)_0x535a66=_0x16dd3d>>0x2,_0xebc3b2[_0x535a66][_0x16dd3d%0x4]=_0x191a75[_0x16dd3d],_0x383586[_0x2330db-_0x535a66][_0x16dd3d%0x4]=_0x191a75[_0x16dd3d];let _0x1fa5cf,_0x194780=0x0,t=_0x12b5d6;for(;t<_0xce935c;){_0x1fa5cf=_0x191a75[_0x12b5d6-0x1],_0x191a75[0x0]^=_0x226d99[_0x24b1a1([0x53])][_0x1fa5cf>>0x10&0xff]<<0x18^_0x226d99[_0x24b1a1([0x53])][_0x1fa5cf>>0x8&0xff]<<0x10^_0x226d99[_0x24b1a1([0x53])][0xff&_0x1fa5cf]<<0x8^_0x226d99[_0x24b1a1([0x53])][_0x1fa5cf>>0x18&0xff]^_0x226d99[_0x24b1a1([0x72,0x63,0x6f,0x6e])][_0x194780]<<0x18,_0x194780+=0x1;for(let _0x29507d=0x1;_0x29507d<_0x12b5d6/0x2;_0x29507d++)_0x191a75[_0x29507d]^=_0x191a75[_0x29507d-0x1];_0x1fa5cf=_0x191a75[_0x12b5d6/0x2-0x1],_0x191a75[_0x12b5d6/0x2]^=_0x226d99[_0x24b1a1([0x53])][0xff&_0x1fa5cf]^_0x226d99[_0x24b1a1([0x53])][_0x1fa5cf>>0x8&0xff]<<0x8^_0x226d99[_0x24b1a1([0x53])][_0x1fa5cf>>0x10&0xff]<<0x10^_0x226d99[_0x24b1a1([0x53])][_0x1fa5cf>>0x18&0xff]<<0x18;for(let _0xa0238d=_0x12b5d6/0x2+0x1;_0xa0238d<_0x12b5d6;_0xa0238d++)_0x191a75[_0xa0238d]^=_0x191a75[_0xa0238d-0x1];let _0x4d3e03,_0x13c7da,_0x272b8a=0x0;for(;_0x272b8a<_0x12b5d6&&t<_0xce935c;)_0x4d3e03=t>>0x2,_0x13c7da=t%0x4,_0xebc3b2[_0x4d3e03][_0x13c7da]=_0x191a75[_0x272b8a],_0x383586[_0x2330db-_0x4d3e03][_0x13c7da]=_0x191a75[_0x272b8a++],t++;}for(let _0x30640d=0x1;_0x30640d<_0x2330db;_0x30640d++)for(let _0x334519=0x0;_0x334519<0x4;_0x334519++)_0x1fa5cf=_0x383586[_0x30640d][_0x334519],_0x383586[_0x30640d][_0x334519]=_0x226d99[_0x24b1a1([0x55,0x31])][_0x1fa5cf>>0x18&0xff]^_0x226d99[_0x24b1a1([0x55,0x32])][_0x1fa5cf>>0x10&0xff]^_0x226d99[_0x24b1a1([0x55,0x33])][_0x1fa5cf>>0x8&0xff]^_0x226d99[_0x24b1a1([0x55,0x34])][0xff&_0x1fa5cf];}}function _0x24b1a1(_0x4c8743){return _0x4c8743['map'](_0x298c57=>String['fromCharCode'](_0x298c57))['join']('');}(_0xb117aa=>{function _0x89f47b(){const _0xd7259a=[{[_0x24b1a1([0x69,0x64])]:0x1,[_0x24b1a1([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x24b1a1([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73]),[_0x24b1a1([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x24b1a1([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x24b1a1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x24b1a1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x24b1a1([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x24b1a1([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x24b1a1([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]:[{[_0x24b1a1([0x69,0x64])]:0x2,[_0x24b1a1([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x24b1a1([0x54,0x72,0x61,0x63,0x6b,0x20,0x43,0x68,0x61,0x6e,0x67,0x65,0x73]),[_0x24b1a1([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x24b1a1([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x24b1a1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x24b1a1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x24b1a1([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x24b1a1([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]),[_0x24b1a1([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x24b1a1([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x24b1a1([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x24b1a1([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}}],[_0x24b1a1([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x24b1a1([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x24b1a1([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x24b1a1([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x24b1a1([0x69,0x64])]:0x3,[_0x24b1a1([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x24b1a1([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e]),[_0x24b1a1([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x24b1a1([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x6f,0x6f,0x6b,0x75,0x70]),[_0x24b1a1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x24b1a1([0x70,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x24b1a1([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x24b1a1([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x24b1a1([0x69,0x64])]:0x4,[_0x24b1a1([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x24b1a1([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x20,0x48,0x69,0x73,0x74,0x6f,0x72,0x79]),[_0x24b1a1([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x24b1a1([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x24b1a1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x24b1a1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x24b1a1([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x24b1a1([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]),[_0x24b1a1([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x24b1a1([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x24b1a1([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x24b1a1([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x24b1a1([0x69,0x64])]:0x5,[_0x24b1a1([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x24b1a1([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x20,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65]),[_0x24b1a1([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x24b1a1([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65,0x55,0x49]),[_0x24b1a1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x24b1a1([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]),[_0x24b1a1([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x24b1a1([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x24b1a1([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x24b1a1([0x66,0x67,0x69])]:[0xc]}},{[_0x24b1a1([0x69,0x64])]:0x6,[_0x24b1a1([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x24b1a1([0x46,0x6f,0x72,0x6d,0x61,0x74,0x20,0x50,0x61,0x69,0x6e,0x74,0x65,0x72]),[_0x24b1a1([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x24b1a1([0x46,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x55,0x49]),[_0x24b1a1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x24b1a1([0x66,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x24b1a1([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x24b1a1([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x24b1a1([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x24b1a1([0x66,0x67,0x69])]:[0xc]}},{[_0x24b1a1([0x69,0x64])]:0x7,[_0x24b1a1([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x24b1a1([0x53,0x6c,0x61,0x73,0x68,0x20,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64]),[_0x24b1a1([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x24b1a1([0x53,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x55,0x49]),[_0x24b1a1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x24b1a1([0x73,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x24b1a1([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x24b1a1([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x24b1a1([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x24b1a1([0x66,0x67,0x69])]:[0xc]}},{[_0x24b1a1([0x69,0x64])]:0x8,[_0x24b1a1([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x24b1a1([0x54,0x61,0x62,0x6c,0x65,0x20,0x6f,0x66,0x20,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73]),[_0x24b1a1([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x24b1a1([0x54,0x61,0x62,0x6c,0x65,0x4f,0x66,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x24b1a1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x24b1a1([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]),[_0x24b1a1([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x24b1a1([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x24b1a1([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x24b1a1([0x66,0x67,0x69])]:[0xc]}},{[_0x24b1a1([0x69,0x64])]:0x9,[_0x24b1a1([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x24b1a1([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65]),[_0x24b1a1([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x24b1a1([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x55,0x49]),[_0x24b1a1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x24b1a1([0x74,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x24b1a1([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x24b1a1([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x24b1a1([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x24b1a1([0x66,0x67,0x69])]:[0xc,0xe]}},{[_0x24b1a1([0x69,0x64])]:0xa,[_0x24b1a1([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x24b1a1([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]),[_0x24b1a1([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x24b1a1([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]),[_0x24b1a1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x24b1a1([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]),[_0x24b1a1([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x24b1a1([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x24b1a1([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x24b1a1([0x66,0x67,0x69])]:[0xc]}},{[_0x24b1a1([0x69,0x64])]:0xb,[_0x24b1a1([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x24b1a1([0x41,0x49,0x20,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74]),[_0x24b1a1([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x24b1a1([0x41,0x49,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74,0x55,0x49]),[_0x24b1a1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x24b1a1([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x24b1a1([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x24b1a1([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x24b1a1([0x69,0x64])]:0xc,[_0x24b1a1([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x24b1a1([0x50,0x72,0x6f,0x64,0x75,0x63,0x74,0x69,0x76,0x69,0x74,0x79,0x20,0x70,0x61,0x63,0x6b])},{[_0x24b1a1([0x69,0x64])]:0xd,[_0x24b1a1([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x24b1a1([0x43,0x61,0x73,0x65,0x20,0x43,0x68,0x61,0x6e,0x67,0x65]),[_0x24b1a1([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x24b1a1([0x43,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x55,0x49]),[_0x24b1a1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x24b1a1([0x63,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x24b1a1([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x24b1a1([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x24b1a1([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x24b1a1([0x66,0x67,0x69])]:[0xc]}},{[_0x24b1a1([0x69,0x64])]:0xe,[_0x24b1a1([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x24b1a1([0x44,0x72,0x75,0x70,0x61,0x6c,0x20,0x70,0x61,0x63,0x6b]),[_0x24b1a1([0x66,0x6f,0x72,0x62,0x69,0x64,0x64,0x65,0x6e,0x48,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x24b1a1([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])},{[_0x24b1a1([0x69,0x64])]:0xf,[_0x24b1a1([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x24b1a1([0x4d,0x75,0x6c,0x74,0x69,0x20,0x4c,0x65,0x76,0x65,0x6c,0x20,0x4c,0x69,0x73,0x74]),[_0x24b1a1([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x24b1a1([0x4d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x24b1a1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x24b1a1([0x6d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x24b1a1([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x24b1a1([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x24b1a1([0x69,0x64])]:0x10,[_0x24b1a1([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x24b1a1([0x4d,0x65,0x72,0x67,0x65,0x20,0x54,0x61,0x67,0x73]),[_0x24b1a1([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x24b1a1([0x4d,0x65,0x72,0x67,0x65,0x54,0x61,0x67,0x73,0x55,0x49]),[_0x24b1a1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x24b1a1([0x6d,0x65,0x72,0x67,0x65,0x54,0x61,0x67,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x24b1a1([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x24b1a1([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x24b1a1([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x24b1a1([0x66,0x67,0x69])]:[0xc]}}];return _0x3c5c57(_0xd7259a),_0xd7259a;function _0xda1120(_0x40f279){return 0x1<<_0x40f279-0x1;}function _0x3c5c57(_0x1d0271){_0x1d0271[_0x24b1a1([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x3d6df2=>{_0x3d6df2[_0x24b1a1([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]=_0xda1120(_0x3d6df2[_0x24b1a1([0x69,0x64])]),_0x15ed4d(_0x3d6df2)&&_0x3d6df2[_0x24b1a1([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x3c5c57(_0x3d6df2[_0x24b1a1([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]);});}}function _0x15ed4d(_0x44528b){return _0x24b1a1([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])in _0x44528b;}const _0x2c3baf=[0x1,0x55,0x4e,0x73,0xc6,0xff,0x32,0x70,0x53,0x57,0xa1],_0x400cc0=[0x7f,0x22,0x6,0xd3,0xa7,0x56,0x92,0xc7,0x84,0xa0,0x12];function _0x31b612(_0x53da46){const _0x4dee44=[0x1d,0xdd,0xaf,0x5a,0xe7,0x85,0xef,0xf0,0x4b,0xb4];return _0x575ee0(_0x53da46,new Uint8Array([..._0x2c3baf,..._0x4dee44,..._0x400cc0]));}function _0x575ee0(_0x4a7498,_0x2975e5){const _0x2b3125=_0xc94a5b(_0x4a7498),_0x2507d5=Array[_0x24b1a1([0x66,0x72,0x6f,0x6d])](_0x1316a4(_0x2b3125)),_0x538ef3=_0x2507d5[_0x24b1a1([0x70,0x6f,0x70])](),_0x544647=_0x2507d5[_0x24b1a1([0x70,0x6f,0x70])]();return _0x4131b6(_0x1158aa(_0x2507d5,_0x2975e5,_0x544647+0x100*_0x538ef3));}function _0xc94a5b(_0x59cc33){const _0x33da58=atob(_0x59cc33),[_0x29bd63,_0x21e12d]=_0x33da58[_0x24b1a1([0x73,0x70,0x6c,0x69,0x74])](_0x24b1a1([0x2d]));try{if(atob(_0x21e12d))return atob(_0x29bd63);}catch(_0x247057){}return _0x33da58;}function _0x33e6cb(_0x160fac){try{const _0x30a8b0=_0x31b612(_0x160fac),_0x5b45e9=JSON[_0x24b1a1([0x70,0x61,0x72,0x73,0x65])](_0x30a8b0),_0xa0101b=parseInt(_0x5b45e9[_0x24b1a1([0x31])]),_0x56272b=_0x5b45e9[_0x24b1a1([0x32])]||'',_0x23f72c=parseInt(_0x5b45e9[_0x24b1a1([0x33])]),_0x520a9a=parseInt(_0x5b45e9[_0x24b1a1([0x34])])||0x0,_0x59d0ff=parseInt(_0x5b45e9[_0x24b1a1([0x35])])||0x0;return{[_0x24b1a1([0x70,0x72,0x6f,0x64,0x75,0x63,0x74,0x4e,0x61,0x6d,0x65])]:_0x56272b,[_0x24b1a1([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])]:_0x520a9a,[_0x24b1a1([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]:_0xa0101b,[_0x24b1a1([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]:_0x23f72c,[_0x24b1a1([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]:_0x59d0ff};}catch(_0x151748){return null;}}const _0x2578b3=_0x89f47b(),_0x3d1652={[_0x24b1a1([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])]:_0x541124,[_0x24b1a1([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])]:_0x59394d,[_0x24b1a1([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])]:_0x5c316c},_0x319675=_0xb117aa[_0x24b1a1([0x63,0x6f,0x6e,0x73,0x74,0x72,0x75,0x63,0x74,0x6f,0x72])][_0x24b1a1([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])],_0x18a03e=_0x24b1a1([0x63,0x6f,0x6e,0x74,0x65,0x78,0x74])in _0xb117aa?_0xb117aa['context']:_0xb117aa['editor'],_0x80c1a4=_0x24b1a1([0x34,0x30,0x34,0x38,0x31,0x30,0x35,0x32]),_0x4e8904=_0x24b1a1([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]),_0xd874b3=_0x18a03e['config']['get'](_0x24b1a1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x3e1e58=_0x2578b3[_0x24b1a1([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x15ed4d)[_0x24b1a1([0x66,0x69,0x6e,0x64])](_0x561edc=>_0x561edc[_0x24b1a1([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]===_0x319675);function _0x52d917(_0x1178fd,_0x5d4585){_0x3d1652[_0x5d4585[_0x24b1a1([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]](_0x1178fd,_0x5d4585),_0x5d4585[_0x24b1a1([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x5d4585[_0x24b1a1([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])][_0x24b1a1([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xe41418=>_0x24976d(_0x18a03e,_0xe41418[_0x24b1a1([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))[_0x24b1a1([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x19178c=>_0x52d917(_0x1178fd,_0x19178c));}function _0x541124(_0x3e203c,_0x4afd31){_0xe15da9(_0xdee087(_0x3e203c,_0x4afd31),_0x4afd31);}function _0x59394d(_0x3136d1,_0x2cb613){function _0x4687be(_0x322dee,_0x1bf665){try{if(_0x24976d(_0x18a03e,_0x24b1a1([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))&&_0x322dee){const _0x232465=_0x2faaa6(_0x18a03e,_0x24b1a1([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))[_0x24b1a1([0x5f,0x65,0x78,0x65,0x63,0x75,0x74,0x65,0x53,0x75,0x67,0x67,0x65,0x73,0x74,0x69,0x6f,0x6e])];if(parseInt(_0x232465)/0x2>_0x322dee[_0x24b1a1([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])])return _0x127425(_0x1bf665[_0x24b1a1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x24b1a1([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}return _0xdee087(_0x322dee,_0x1bf665);}catch(_0x1f8a9c){return _0x127425(_0x1bf665[_0x24b1a1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x24b1a1([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}_0xe15da9(_0x4687be(_0x3136d1,_0x2cb613),_0x2cb613);}function _0x5c316c(_0x2062dc,_0x21f434){const _0x46b686=_0x400cc0[0x0]*_0x2c3baf[0x1],_0x585c2d=_0x400cc0[0x0]*_0x2c3baf[0x2],_0x34d003=_0x400cc0[0x2]*_0x2c3baf[0x2];_0x24976d(_0x18a03e,_0x24b1a1([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x2faaa6(_0x18a03e,_0x24b1a1([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x24b1a1([0x73,0x74,0x61,0x74,0x65])]==_0x24b1a1([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&(window[_0x351d1e()]=_0x34d003);function _0x73effa(_0x285c4e,_0x511cc6){try{return _0x4d092a()?_0x127425(_0x511cc6[_0x24b1a1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x24b1a1([0x56,0x61,0x6c,0x69,0x64])):_0xdee087(_0x285c4e,_0x511cc6);}catch(_0x6c0b2){return _0x127425(_0x511cc6[_0x24b1a1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x24b1a1([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x3d0caf(_0x56427c,_0x2b55d5){const _0x27402d=0x7;if(_0x56427c==_0x2b55d5[_0x24b1a1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x24b1a1([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]))_0x580efd();else{if(_0x56427c==_0x2b55d5[_0x24b1a1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x24b1a1([0x54,0x72,0x69,0x61,0x6c])){const _0x204349=_0x44264b();_0x204349&&_0x9d53ef(_0x204349,_0x2b55d5[_0x24b1a1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);const _0x36a377=_0x5d4f80();window[_0x24b1a1([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x9d53ef(_0x24b1a1([0x74,0x69,0x6d,0x65]),_0x2b55d5[_0x24b1a1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);},_0x36a377);const _0x41f34d=_0x2faaa6(_0x18a03e,_0x24b1a1([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x24b1a1([0x5f,0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73])];_0x41f34d[_0x24b1a1([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x27402d?_0x9d53ef(_0x24b1a1([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x2b55d5[_0x24b1a1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]):_0x41f34d['on'](_0x24b1a1([0x61,0x64,0x64]),()=>{_0x41f34d[_0x24b1a1([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x27402d&&_0x9d53ef(_0x24b1a1([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x2b55d5[_0x24b1a1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);});}}}function _0x44264b(){if(!_0x24976d(_0x18a03e,_0x24b1a1([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x230f8d in window)if(Number['isNaN'](Number(_0x230f8d))){if(window[_0x230f8d]===_0x46b686)return _0x24b1a1([0x74,0x69,0x6d,0x65]);if(window[_0x230f8d]===_0x585c2d)return _0x24b1a1([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]);}return!0x1;}function _0x4d092a(){if(!_0x24976d(_0x18a03e,_0x24b1a1([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x3737cd in window)if(Number['isNaN'](Number(_0x3737cd))&&window[_0x3737cd]===_0x34d003)return!0x0;return!0x1;}function _0x9d53ef(_0x3c35c5,_0x198aaf){_0x580efd(),_0x127425(_0x198aaf+_0x24b1a1([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a])+_0x3c35c5),window[_0x351d1e()]=_0x3c35c5===_0x24b1a1([0x74,0x69,0x6d,0x65])?_0x46b686:_0x585c2d;}function _0x5d4f80(){let _0x30cc1e=_0x400cc0[0x6]*_0x2c3baf[0x8]*_0x2c3baf[0x6];return _0x24976d(_0x18a03e,_0x24b1a1([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x30cc1e/=0xa),_0x30cc1e;}function _0x580efd(){const _0x36ad36=_0x18a03e;function _0x346665(){_0x24976d(_0x36ad36,_0x24b1a1([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&(_0x2faaa6(_0x36ad36,_0x24b1a1([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x24b1a1([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x24b1a1([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x2faaa6(_0x36ad36,_0x24b1a1([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x24b1a1([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x2faaa6(_0x36ad36,_0x24b1a1([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x24b1a1([0x75,0x70,0x64,0x61,0x74,0x65])]=_0x11240a,_0x2faaa6(_0x36ad36,_0x24b1a1([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x24b1a1([0x73,0x61,0x76,0x65,0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e])]=_0x11240a,_0x36ad36[_0x24b1a1([0x6d,0x6f,0x64,0x65,0x6c])][_0x24b1a1([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x11240a,_0x36ad36[_0x24b1a1([0x6d,0x6f,0x64,0x65,0x6c])][_0x24b1a1([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x11240a,_0x36ad36[_0x24b1a1([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x24b1a1([0x6d,0x6f,0x64,0x65,0x6c]))),_0x24976d(_0x36ad36,_0x24b1a1([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x2faaa6(_0x36ad36,_0x24b1a1([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x24b1a1([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x24b1a1([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x2faaa6(_0x36ad36,_0x24b1a1([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x24b1a1([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x2faaa6(_0x36ad36,_0x24b1a1([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x24b1a1([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])]=_0x11240a,_0x2faaa6(_0x36ad36,_0x24b1a1([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x24b1a1([0x5f,0x67,0x65,0x74,0x44,0x69,0x66,0x66])]=_0x11240a);}_0x36ad36[_0x24b1a1([0x73,0x74,0x61,0x74,0x65])]==_0x24b1a1([0x72,0x65,0x61,0x64,0x79])?_0x346665():_0x36ad36[_0x24b1a1([0x6f,0x6e,0x63,0x65])](_0x24b1a1([0x72,0x65,0x61,0x64,0x79]),()=>{if(_0x24976d(_0x36ad36,_0x24b1a1([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&_0x346665(),_0x24976d(_0x36ad36,_0x24b1a1([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))){const _0x3fe69d=_0x2faaa6(_0x36ad36,_0x24b1a1([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79])),_0x583f9a=_0x3fe69d['getRevision'](0x0),_0x398f92=_0x3fe69d['getEarlierVisibleRevision'](_0x583f9a[_0x24b1a1([0x69,0x64])]);_0x2faaa6(_0x36ad36,_0x24b1a1([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x24b1a1([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])](_0x583f9a[_0x24b1a1([0x69,0x64])],_0x398f92?_0x398f92[_0x24b1a1([0x69,0x64])]:null,0x1)['then'](()=>_0x346665());}});}_0x3d0caf(_0x73effa(_0x2062dc,_0x21f434),_0x21f434);}function _0xdee087(_0x5033d9,_0x519c6e){try{return _0x384b56(_0x519c6e)?_0x127425(_0x519c6e[_0x24b1a1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x24b1a1([0x56,0x61,0x6c,0x69,0x64])):_0x5033d9&&_0x5e4bca(_0x5033d9[_0x24b1a1([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])],_0x519c6e)?_0x5033d9[_0x24b1a1([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]&&!window[_0x24b1a1([0x6f,0x70,0x65,0x6e])][_0x24b1a1([0x63,0x6c,0x6f,0x73,0x65,0x64])]||parseInt(_0x80c1a4)/0x2>_0x5033d9[_0x24b1a1([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]?_0x127425(_0x519c6e[_0x24b1a1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x24b1a1([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])):_0x5033d9[_0x24b1a1([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]?_0x127425(_0x519c6e[_0x24b1a1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x24b1a1([0x54,0x72,0x69,0x61,0x6c])):_0x127425(_0x519c6e[_0x24b1a1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x24b1a1([0x56,0x61,0x6c,0x69,0x64])):_0x127425(_0x519c6e[_0x24b1a1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x24b1a1([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}catch(_0x4b90a3){return _0x127425(_0x519c6e[_0x24b1a1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x24b1a1([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0xe15da9(_0x469556,_0x318ad9){if(_0x18a03e instanceof _0x424e95){const _0x3a119a=_0x18a03e;_0x469556==_0x318ad9[_0x24b1a1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x24b1a1([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x6dd50b(_0x3a119a):_0x469556==_0x318ad9[_0x24b1a1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x24b1a1([0x54,0x72,0x69,0x61,0x6c])&&window[_0x24b1a1([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x6dd50b(_0x3a119a),_0x127425(_0x318ad9[_0x24b1a1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x24b1a1([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65]));},_0x400cc0[0x6]*_0x2c3baf[0x8]*_0x2c3baf[0x6]),_0x3a119a[_0x24b1a1([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])][_0x24b1a1([0x6f,0x6e])](_0x24b1a1([0x61,0x64,0x64]),(_0x267a33,_0x3df0c6)=>{_0x469556!=_0x318ad9[_0x24b1a1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x24b1a1([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])&&_0x469556!=_0x318ad9[_0x24b1a1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x24b1a1([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65])&&_0x469556!=_0x318ad9[_0x24b1a1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x24b1a1([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])||_0x5df407(_0x3df0c6);});}else{const _0x1483ce=_0x18a03e;_0x469556==_0x318ad9[_0x24b1a1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x24b1a1([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x5df407(_0x1483ce):_0x469556==_0x318ad9[_0x24b1a1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x24b1a1([0x54,0x72,0x69,0x61,0x6c])&&_0x1483ce[_0x24b1a1([0x6f,0x6e])](_0x24b1a1([0x72,0x65,0x61,0x64,0x79]),()=>{let _0x2c7b58=0x0;_0x1483ce[_0x24b1a1([0x6d,0x6f,0x64,0x65,0x6c])][_0x24b1a1([0x6f,0x6e])](_0x24b1a1([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x2ca7f0,_0x399c06)=>{_0x399c06[0x0][_0x24b1a1([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x2c7b58++,0x1f8===_0x2c7b58&&(_0x5df407(_0x1483ce),_0x127425(_0x318ad9[_0x24b1a1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x24b1a1([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])),_0x2ca7f0[_0x24b1a1([0x6f,0x66,0x66])]());},{'priority':_0x24b1a1([0x68,0x69,0x67,0x68,0x65,0x73,0x74])});});}}function _0x127425(_0x4a0e18){const _0x5ca85e=_0x351d1e();return _0x18a03e[_0x5ca85e]=_0x4a0e18,_0x4a0e18;}function _0x351d1e(){const _0x3f4e6b=String(window[_0x24b1a1([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x24b1a1([0x6e,0x6f,0x77])]())[_0x24b1a1([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x24b1a1([0x2e]),'');let _0x2c239f='';for(let _0x3ccb1f=0x0;_0x3ccb1f<_0x3f4e6b[_0x24b1a1([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3ccb1f+=0x2){let _0x26daf6=parseInt(_0x3f4e6b[_0x24b1a1([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3ccb1f,_0x3ccb1f+0x2));_0x26daf6>=_0x4e8904[_0x24b1a1([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x26daf6-=_0x4e8904[_0x24b1a1([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x2c239f+=_0x4e8904[_0x26daf6];}return _0x2c239f;}function _0x6dd50b(_0x2c730d){for(const _0x3207ea of _0x2c730d[_0x24b1a1([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])])_0x5df407(_0x3207ea);_0x2faaa6(_0x2c730d,_0x24b1a1([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x24b1a1([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])](!0x0),_0x2faaa6(_0x2c730d,_0x24b1a1([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x24b1a1([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])]=_0x11240a;}function _0x5df407(_0x194539){function _0x44a563(){_0x194539[_0x24b1a1([0x6d,0x6f,0x64,0x65,0x6c])][_0x24b1a1([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x11240a,_0x194539[_0x24b1a1([0x6d,0x6f,0x64,0x65,0x6c])][_0x24b1a1([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x11240a,_0x194539[_0x24b1a1([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x24b1a1([0x6d,0x6f,0x64,0x65,0x6c]));}_0x194539[_0x24b1a1([0x73,0x74,0x61,0x74,0x65])]==_0x24b1a1([0x72,0x65,0x61,0x64,0x79])?_0x44a563():_0x194539[_0x24b1a1([0x6f,0x6e,0x63,0x65])](_0x24b1a1([0x72,0x65,0x61,0x64,0x79]),()=>_0x44a563());}function _0x11240a(){return null;}function _0x5e4bca(_0x1ffb1e,_0x3a64f7){const _0xba6547=!!(_0x1ffb1e&_0x3a64f7[_0x24b1a1([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]),_0x245dba=_0x5b779b(_0x1ffb1e,_0x3a64f7);return _0xba6547||_0x245dba;}function _0x5b779b(_0x3b02a8,_0x3c07e4){const _0x20f3ed=(_0x3c07e4[_0x24b1a1([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{})[_0x24b1a1([0x66,0x67,0x69])]||null;return!!_0x20f3ed&&_0x2578b3[_0x24b1a1([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x545109=>_0x20f3ed[_0x24b1a1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x545109[_0x24b1a1([0x69,0x64])]))[_0x24b1a1([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5d767f=>!_0x36eba2(_0x5d767f))[_0x24b1a1([0x73,0x6f,0x6d,0x65])](_0x3c5da3=>!!(_0x3b02a8&_0x3c5da3[_0x24b1a1([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]));}function _0x36eba2(_0x28af85){const _0x5678c2={[_0x24b1a1([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])]:_0x76a635};return!!_0x28af85['forbiddenHandler']&&_0x5678c2[_0x28af85['forbiddenHandler']]();}function _0x76a635(){return!window[_0x24b1a1([0x44,0x72,0x75,0x70,0x61,0x6c])]||!_0x24976d(_0x18a03e,_0x24b1a1([0x64,0x72,0x75,0x70,0x61,0x6c,0x50,0x6f,0x77,0x65,0x72,0x65,0x64,0x42,0x79]));}function _0x384b56(_0x2a30f6){if(!_0x24976d(_0x18a03e,_0x2a30f6[_0x24b1a1([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))return!0x0;const _0x28e4be=_0x2a30f6[_0x24b1a1([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{},_0x4f22d4=_0x28e4be[_0x24b1a1([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]||!0x1,_0x5f5036=_0x28e4be[_0x24b1a1([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]||!0x1,_0x513b2b=_0x28e4be[_0x24b1a1([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]||!0x1;if(_0x24976d(_0x18a03e,_0x24b1a1([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x2faaa6(_0x18a03e,_0x24b1a1([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x24b1a1([0x73,0x74,0x61,0x74,0x65])]==_0x24b1a1([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&_0x4f22d4)return!0x0;if(_0x24976d(_0x18a03e,_0x24b1a1([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))&&_0x2faaa6(_0x18a03e,_0x24b1a1([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))[_0x24b1a1([0x72,0x65,0x73,0x75,0x6c,0x74])]==_0x24b1a1([0x65,0x6e,0x64])&&_0x5f5036)return!0x0;return!(!_0x24976d(_0x18a03e,_0x24b1a1([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]))||_0x2faaa6(_0x18a03e,_0x24b1a1([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]))[_0x24b1a1([0x72,0x65,0x73,0x75,0x6c,0x74])]!=_0x24b1a1([0x65,0x6e,0x64])||!_0x513b2b);}function _0x24976d(_0x170917,_0x188d2f){return _0x170917[_0x24b1a1([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x24b1a1([0x68,0x61,0x73])](_0x188d2f);}function _0x2faaa6(_0x23aaa6,_0xe443af){return _0x23aaa6[_0x24b1a1([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x24b1a1([0x67,0x65,0x74])](_0xe443af);}function _0x4131b6(_0x358868){let _0xc9d492='';for(const _0x3ccc50 of _0x358868)_0xc9d492+=String[_0x24b1a1([0x66,0x72,0x6f,0x6d,0x43,0x68,0x61,0x72,0x43,0x6f,0x64,0x65])](_0x3ccc50);return _0xc9d492;}function _0x1316a4(_0x31279c){const _0x18c9ca=new Uint8Array(_0x31279c[_0x24b1a1([0x6c,0x65,0x6e,0x67,0x74,0x68])]);for(let _0x16c726=0x0;_0x16c726<_0x31279c[_0x24b1a1([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x16c726++)_0x18c9ca[_0x16c726]=_0x31279c[_0x24b1a1([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x16c726);return _0x18c9ca;}_0x3e1e58&&_0x52d917(_0x33e6cb(_0xd874b3),_0x3e1e58);})(_0x3fcf7d);}(this);}['createRevision'](_0x4e244f){const _0x435a57=this['editor']['plugins']['get']('Users');return new a({'id':_0x4e244f['id'],'name':_0x4e244f['name'],'creator':_0x4e244f['creatorId']?_0x435a57['getUser'](_0x4e244f['creatorId']):null,'diffData':_0x4e244f['diffData']||_0x4e244f['data'],'authors':_0x4e244f['authorsIds']['map'](_0x4aca8e=>_0x435a57['getUser'](_0x4aca8e)),'createdAt':new Date(_0x4e244f['createdAt']),'attributes':_0x4e244f['attributes'],'fromVersion':_0x4e244f['fromVersion'],'toVersion':_0x4e244f['toVersion']});}['addRevision'](_0x4ec56e,_0x51b78e=0x0){this['_revisions']['add'](_0x4ec56e,_0x51b78e);}['getRevision'](_0x441273){return this['_revisions']['get'](_0x441273);}['getRevisions'](_0x3f8179={'toJSON':!0x1}){const _0xbfc5fb=Array['from'](this['_revisions']);return _0xbfc5fb['reverse'](),_0x3f8179['toJSON']?_0xbfc5fb['map'](_0xb17310=>_0xb17310['toJSON']()):_0xbfc5fb;}['getIndex'](_0x23ea38){return this['_revisions']['getIndex'](_0x23ea38);}['getEarlierVisibleRevision'](_0x462a61){const [,_0x5c78ff]=this['getRevisionsIterator'](_0x462a61,{'direction':'earlier'});return _0x5c78ff;}['getLaterVisibleRevision'](_0x414541){const [,_0x216ed0]=this['getRevisionsIterator'](_0x414541,{'direction':'later'});return _0x216ed0;}['getRevisionsInDiff'](_0x30934a){const _0x519aa0=[];for(const _0x2c58c1 of this['getRevisionsIterator'](_0x30934a['newRevisionId']))if(_0x519aa0['push'](_0x2c58c1),_0x2c58c1['id']===_0x30934a['oldRevisionId'])break;return _0x519aa0;}*['getRevisionsIterator'](_0x13a217,{direction:_0x626fb2='earlier',filter:_0x3453bf=_0x5bc8d9=>!0x0}={}){const _0x3d7bd2='earlier'===_0x626fb2?0x1:-0x1;let _0x11afee=this['_revisions']['get'](_0x13a217),_0x1fa199=this['getIndex'](_0x11afee);for(yield _0x11afee;_0x11afee;){if(_0x1fa199+=_0x3d7bd2,_0x11afee=this['getRevision'](_0x1fa199),!_0x11afee)return;_0x3453bf(_0x11afee)&&(yield _0x11afee);}}}function y(_0x280138,_0x322366,_0x5d1b99){const t=_0x280138['t'];switch(_0x322366){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'},_0x5d1b99);case'X_OF_Y_CHANGES':return t({'string':'%0\x20of\x20%1','id':'X_OF_Y_CHANGES'},_0x5d1b99);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':_0x2324ac,'a':_0x546ff6,'e':_0x53a022,'r':_0x2d3900,'u':_0x43f1d8};class l extends _0x118092{['adapter'];['currentRevision'];['repository'];['_revisionDataBuilder'];['_source'];['_initialRevisionId'];['_bufferedUpdates'];['_pendingAction'];['_continueCurrentRevision'];['_startingVersion'];['_loadedStateData'];static get['pluginName'](){return'RevisionTracker';}static get['requires'](){return[_0x57f2f5,A,_0x2a7bfb];}constructor(_0x21476e){super(_0x21476e),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 _0x3b5dfc=_0x43d041();this['_source']={'history':this['editor']['model']['document']['history'],'getLatestVersion':()=>Promise['resolve'](this['editor']['model']['document']['version']),'getCurrentRevisionId':()=>_0x3b5dfc},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 _0x1c5a06=this['repository']['getRevision'](0x0),_0x1bd4c3=_0x1c5a06&&null===_0x1c5a06['creator']?_0x1c5a06:null;if(this['_continueCurrentRevision']=!!_0x1bd4c3&&this['editor']['config']['get']('revisionHistory.resumeUnsavedRevision'),this['editor']['plugins']['has']('RealTimeCollaborationClient')){const _0x3027c9=this['_source']['getCurrentRevisionId'](),_0x19f332=this['repository']['getRevision'](_0x3027c9);if(_0x19f332)this['_startingVersion']=_0x19f332['fromVersion'],this['_continueCurrentRevision']=!0x1;else{const _0xdfcae0=this['_source']['history']['_operations']['find'](_0x6c76e6=>!_0x6c76e6['_isInit']),_0x4b8bbd=_0xdfcae0?_0xdfcae0['baseVersion']:this['_source']['history']['version'];_0x1c5a06?(_0x1c5a06['toVersion']<_0x4b8bbd&&_0x1c5a06['_update']({'toVersion':_0x4b8bbd}),this['_continueCurrentRevision']?(this['_source']['getCurrentRevisionId']=()=>_0x1bd4c3['id'],this['_startingVersion']=_0x1bd4c3['fromVersion']):(this['_startingVersion']=_0x1c5a06['toVersion'],this['_continueCurrentRevision']=!0x1)):(this['_startingVersion']=_0x4b8bbd,this['_continueCurrentRevision']=!0x1);}}else _0x1bd4c3&&(this['editor']['model']['document']['history']['version']=Math['max'](_0x1bd4c3['toVersion'],this['editor']['model']['document']['history']['version']),_0x1bd4c3['fromVersion']===_0x1bd4c3['toVersion']?(0x0!==_0x1bd4c3['fromVersion']&&(this['_source']['getCurrentRevisionId']=()=>_0x1bd4c3['id']),this['_continueCurrentRevision']=!0x1):this['_continueCurrentRevision']&&(this['_source']['getCurrentRevisionId']=()=>_0x1bd4c3['id'],this['_startingVersion']=_0x1bd4c3['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',_0x2f9208=>!_0x2f9208);}async['afterInit'](){if(this['repository']['length']>0x0){const _0x288f36=this['repository']['getRevision'](0x0),_0x22ff6b=await this['getRevisionDocumentData'](_0x288f36),_0x4cea88=await this['getRevisionRootsAttributes'](_0x288f36);this['_replaceEditorDataWithRevisionData'](_0x22ff6b,_0x4cea88);}}['setSource'](_0x1e1cf8){this['_source']=_0x1e1cf8;}async['update'](){const _0x328438=await this['_source']['getLatestVersion']();if(_0x328438>this['currentRevision']['toVersion']){await this['_loadState']();const _0x3021db=this['buildRevisionData']({'revision':this['currentRevision'],'to':_0x328438});_0x3021db['authors']=_0x3021db['authorsIds']['map'](_0x59f4f7=>this['editor']['plugins']['get']('Users')['getUser'](_0x59f4f7)),this['currentRevision']['_update'](_0x3021db);}}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'](_0x2a3221={},_0x2d07fb=null){const _0xb2a7f4=[];await this['_loadState'](),this['_continueCurrentRevision']=!0x1,_0x2d07fb>this['currentRevision']['toVersion']&&(_0x2d07fb=null),null===_0x2d07fb&&(_0x2d07fb=await this['_source']['getLatestVersion']());const _0x24c57e=this['_getFromVersion'](_0x2d07fb),_0x237b4e=this['buildRevisionData']({'from':_0x24c57e,'to':_0x2d07fb});if(this['currentRevision']['toVersion']<_0x2d07fb){const _0x4c19f8=this['buildRevisionData']({'revision':this['currentRevision'],'from':_0x2d07fb,'to':_0x2d07fb});_0x4c19f8['authors']=[],_0x4c19f8['authorsIds']=[],_0x4c19f8['id']=this['currentRevision']['id'],this['currentRevision']['_update'](_0x4c19f8,!0x0),delete _0x4c19f8['authors'],_0xb2a7f4['push'](_0x4c19f8);}_0x2a3221['creatorId']=this['editor']['plugins']['get']('Users')['me']['id'],_0x2a3221['name']=_0x2a3221['name']||null,_0x2a3221['id']=_0x2a3221['id']||_0x43d041(),_0x2a3221={..._0x2a3221,..._0x237b4e};const _0x1c3b52=this['addRevisionData'](_0x2a3221);_0xb2a7f4['push'](_0x2a3221);const _0x892f0c=this['repository']['getIndex'](_0x1c3b52);if(0x0!==_0x892f0c){const _0x1444dd=this['repository']['getRevision'](_0x892f0c-0x1);if(_0x1444dd['fromVersion']!==_0x2d07fb){const _0x3a2532=this['_revisionDataBuilder']['getData'](_0x2d07fb,_0x1444dd['toVersion']),_0x25d0bb={'id':_0x1444dd['id'],'diffData':_0x3a2532['diffData'],'authorsIds':_0x3a2532['authorsIds'],'authors':_0x3a2532['authorsIds']['map'](_0x4feb28=>this['editor']['plugins']['get']('Users')['getUser'](_0x4feb28)),'fromVersion':_0x2d07fb};_0x1444dd===this['currentRevision']&&(_0x25d0bb['createdAt']=new Date(_0x2a3221['createdAt']['getTime']()+0xa)),_0x1444dd['_update'](_0x25d0bb,!0x0),delete _0x25d0bb['authors'],_0xb2a7f4['push'](_0x25d0bb);}}if(this['adapter']){for(const _0x7f6a95 of _0xb2a7f4)this['_bufferUpdate'](_0x7f6a95['id'],_0x7f6a95,!0x0);this['sendBufferedUpdates']();}return _0x1c3b52;}['addRevisionData'](_0x38ce8b){const _0x14e991=this['repository']['createRevision'](_0x38ce8b);return this['adapter']&&_0x14e991['on']('_update',(_0xf9436f,_0x3ed9df,_0x223d22)=>{_0x223d22||(this['_bufferUpdate'](_0x3ed9df['id'],_0x3ed9df,!0x0),this['sendBufferedUpdates']());}),this['repository']['addRevision'](_0x14e991,this['_findInsertionIndex'](_0x14e991)),_0x14e991;}async['getRevisionDocumentData'](_0x40f8d3){await this['_loadRevisionData'](_0x40f8d3);const _0x1610a2={};for(const _0x131593 in _0x40f8d3['diffData']){if(_0x40f8d3['diffData'][_0x131593]['attachChange']&&!_0x40f8d3['diffData'][_0x131593]['attachChange']['isAttached'])continue;const _0x110bfa=this['_removeRevisionMarkers'](JSON['parse'](_0x40f8d3['diffData'][_0x131593]['insertions'])),_0x17344f=this['editor']['editing']['view']['document'],_0x15d554=new _0x2c55d3(_0x17344f,_0x110bfa['map'](_0x3c078d=>B(_0x3c078d,this['editor'])));this['editor']['data']['processor']['useFillerType']('marked'),_0x1610a2[_0x131593]=this['editor']['data']['processor']['toData'](_0x15d554),this['editor']['data']['processor']['useFillerType']('default');}return _0x1610a2;}async['getRevisionRootsAttributes'](_0xcc197){await this['_loadRevisionData'](_0xcc197);const _0x358921={};for(const _0xfdf8f8 in _0xcc197['diffData'])_0xcc197['diffData'][_0xfdf8f8]['attachChange']&&!_0xcc197['diffData'][_0xfdf8f8]['attachChange']['isAttached']||(_0x358921[_0xfdf8f8]=_0xcc197['diffData'][_0xfdf8f8]['attributesAfter']||{});return _0x358921;}['sendBufferedUpdates'](){if(0x0===this['_bufferedUpdates']['size'])return;if(this['_isPendingUpdate'])return;let _0x43820b=Array['from'](this['_bufferedUpdates']['values']());this['_bufferedUpdates']['clear']();for(let _0x3dcdb3=0x0;_0x3dcdb3<_0x43820b['length'];_0x3dcdb3++){const _0x25174d=_0x43820b[_0x3dcdb3];let _0x44f37e=!0x1;for(const _0x61d02e of Object['keys'](_0x25174d))void 0x0===_0x25174d[_0x61d02e]?delete _0x25174d[_0x61d02e]:'id'!==_0x61d02e&&(_0x44f37e=!0x0);_0x44f37e||(_0x43820b[_0x3dcdb3]=null);}if(_0x43820b=_0x43820b['filter'](_0x52a868=>null!==_0x52a868),!_0x43820b['length'])return;for(let _0x32cdfe=0x0;_0x32cdfe<_0x43820b['length'];_0x32cdfe++){const _0xabc1f2=_0x43820b[_0x32cdfe];void 0x0!==_0xabc1f2['fromVersion']&&void 0x0===_0xabc1f2['toVersion']&&(_0xabc1f2['toVersion']=this['repository']['getRevision'](_0xabc1f2['id'])['toVersion']),void 0x0!==_0xabc1f2['toVersion']&&void 0x0===_0xabc1f2['fromVersion']&&(_0xabc1f2['fromVersion']=this['repository']['getRevision'](_0xabc1f2['id'])['fromVersion']);}const _0x23ad3d=this['editor']['config']['get']('collaboration.channelId');this['_isPendingUpdate']=!0x0,this['_addPendingAction'](),this['adapter']['updateRevisions'](_0x43820b,_0x23ad3d)['finally'](()=>{this['_isPendingUpdate']=!0x1;})['then'](_0x315083=>{if(_0x315083){for(const _0x39f75a of _0x315083)this['setRevisionData']({'id':_0x39f75a['id'],'createdAt':_0x39f75a['createdAt']});}this['_removePendingAction'](),this['sendBufferedUpdates']();});}['_replaceEditorDataWithRevisionData'](_0x2128fa,_0x19fca4){let _0x2140ab=this['editor']['config']['get']('initialData'),_0x57a4a7=this['editor']['config']['get']('rootsAttributes');if(void 0x0===_0x2140ab){_0x2140ab={};for(const _0x283429 of this['editor']['model']['document']['getRootNames']())_0x2140ab[_0x283429]='';}if('string'==typeof _0x2140ab&&(_0x2140ab={'main':_0x2140ab}),void 0x0===_0x57a4a7){_0x57a4a7={};for(const _0x175920 of this['editor']['model']['document']['getRootNames']())_0x57a4a7[_0x175920]={};}let _0x152219=!0x1;const _0x5f06a0=Object['keys'](_0x2140ab),_0xcd7c92=Object['keys'](_0x2128fa);for(const _0x3f4117 of _0x5f06a0){if(_0x2140ab[_0x3f4117]!==_0x2128fa[_0x3f4117]&&''!==_0x2140ab[_0x3f4117]['trim']()){_0x152219=!0x0;break;}if(!_0x1a6d45(_0x57a4a7[_0x3f4117],_0x19fca4[_0x3f4117])&&Object['keys'](_0x57a4a7[_0x3f4117])['length']>0x0){_0x152219=!0x0;break;}}_0x152219||(_0x152219=_0xcd7c92['some'](_0x5c9134=>!this['editor']['model']['document']['getRoot'](_0x5c9134))),_0x152219&&_0x47f8c4('editor-initial-data-replaced-with-revision-data',{'editorData':_0x2140ab,'editorRootsAttributes':_0x57a4a7,'revisionData':_0x2128fa,'revisionRootsAttributes':_0x19fca4}),this['editor']['config']['set']('initialData',_0x2128fa),this['editor']['config']['set']('rootsAttributes',_0x19fca4);}['_addPendingAction'](){if(!this['_pendingAction']){const _0xbd01cc=this['editor']['plugins']['get']('PendingActions');this['_pendingAction']=_0xbd01cc['add'](y(this['editor']['locale'],'PENDING_ACTION_REVISION_HISTORY'));}}['_removePendingAction'](){this['_pendingAction']&&(this['editor']['plugins']['get']('PendingActions')['remove'](this['_pendingAction']),this['_pendingAction']=null);}['_findInsertionIndex'](_0x5b67ff){const _0xb218b2=this['repository']['getRevisions']();_0xb218b2['reverse']();let _0x4c22e1=0x0;for(;_0x4c22e1<_0xb218b2['length'];){const _0x535362=_0xb218b2[_0x4c22e1];if(_0x535362===this['currentRevision']){_0x4c22e1++;continue;}if(_0x535362['id']===this['_initialRevisionId'])break;const _0x34de59=_0x5b67ff['toVersion']-_0x535362['toVersion']||_0x5b67ff['fromVersion']-_0x535362['fromVersion'];if(_0x34de59>0x0)break;if(_0x34de59<0x0)_0x4c22e1++;else{if(!_0x5b67ff['creator']&&_0x535362['creator'])break;if(_0x535362['creator']||!_0x5b67ff['creator']){if(_0x5b67ff['createdAt']>_0x535362['createdAt'])break;_0x4c22e1++;}else _0x4c22e1++;}}return _0x4c22e1;}['setRevisionData'](_0x10d3d9){const _0x438dbe=this['repository']['getRevision'](_0x10d3d9['id']);if(_0x10d3d9['createdAt']&&(_0x10d3d9['createdAt']=new Date(_0x10d3d9['createdAt'])),_0x10d3d9['authorsIds']){const _0x1c0040=this['editor']['plugins']['get']('Users');_0x10d3d9['authors']=_0x10d3d9['authorsIds']['map'](_0x2c6461=>_0x1c0040['getUser'](_0x2c6461));}_0x438dbe['_update'](_0x10d3d9,!0x0);}['buildRevisionData']({revision:_0x444ecf=null,from:_0x18e0d0=null,to:_0x4570b5=null}){_0x18e0d0=null!==_0x18e0d0?_0x18e0d0:_0x444ecf['fromVersion'],_0x4570b5=null!==_0x4570b5?_0x4570b5:_0x444ecf['toVersion'];const _0x445945=this['_revisionDataBuilder']['getData'](_0x18e0d0,_0x4570b5),_0x2f6dfd={'diffData':_0x445945['diffData'],'authorsIds':_0x445945['authorsIds'],'fromVersion':_0x18e0d0,'toVersion':_0x4570b5};if(!_0x444ecf||_0x4570b5!==_0x444ecf['toVersion']){const _0x5504f0=_0x4570b5-0x1,_0x31045f=this['_source']['history']['getOperation'](_0x5504f0);_0x2f6dfd['createdAt']=_0x31045f&&_0x31045f['createdAt']||new Date();}if(this['_loadedStateData']&&_0x18e0d0===this['_loadedStateData']['fromVersion']){for(const _0x27e539 of this['_loadedStateData']['authors'])_0x2f6dfd['authorsIds']['includes'](_0x27e539['id'])||_0x2f6dfd['authorsIds']['push'](_0x27e539['id']);}return _0x2f6dfd;}['_loadRevisionData'](_0x3966c2){if(!_0x3966c2||_0x3966c2['diffData'])return Promise['resolve']();{const _0x3e545b=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0x3e545b,'revisionId':_0x3966c2['id']})['then'](_0x4f7bdd=>{_0x3966c2['diffData']=_0x4f7bdd['diffData'];});}}['_bufferUpdate'](_0x330af5,_0x2e1d9e,_0x1a41fc){if(this['_bufferedUpdates']['has'](_0x330af5)){const _0x559be6=this['_bufferedUpdates']['get'](_0x330af5);_0x2e1d9e=_0x1a41fc?{..._0x559be6,..._0x2e1d9e}:{..._0x2e1d9e,..._0x559be6};}this['_bufferedUpdates']['set'](_0x330af5,_0x2e1d9e);}['_getFromVersion'](_0x2deb7d){const _0xb0fab7=this['repository']['getRevisions']();_0xb0fab7['reverse'](),_0xb0fab7['shift']();const _0x53880d=_0xb0fab7['find'](_0x22bfe2=>_0x22bfe2['toVersion']<=_0x2deb7d)['toVersion'];return _0x53880d<this['_startingVersion']?this['_startingVersion']:_0x53880d;}['_createInitialRevision'](_0x32efbb){const _0x40ecd9=this['repository']['getRevision'](this['repository']['length']-0x1);if(_0x40ecd9)this['_initialRevisionId']=_0x40ecd9['id'];else{const _0x591d7e=!this['editor']['model']['document']['roots']['find'](_0x340222=>this['editor']['model']['hasContent'](_0x340222)),_0x47c013=this['editor']['plugins']['get']('Users')['me']['id'],_0x1eec49=y(this['editor']['locale'],_0x591d7e?'Empty\x20document':'Initial\x20revision');this['_makeRevision']({'from':_0x32efbb,'to':_0x32efbb,'id':this['_initialRevisionId'],'name':_0x1eec49,'creatorId':_0x47c013});}}['_createCurrentRevision'](_0x222be6){const _0x467187=this['_source']['getCurrentRevisionId']();this['currentRevision']=this['repository']['getRevision'](_0x467187),this['currentRevision']||(this['currentRevision']=this['_makeRevision']({'from':_0x222be6,'to':_0x222be6,'id':_0x467187,'name':'','creatorId':null}));}['_makeRevision']({name:_0x11a81c,from:_0x25c839,to:_0x1c4f1d,creatorId:_0xbd9789,id:_0x576ef5}){const _0x17f1cd=this['buildRevisionData']({'from':_0x25c839,'to':_0x1c4f1d});_0x17f1cd['name']=_0x11a81c,_0x17f1cd['creatorId']=_0xbd9789,_0x17f1cd['id']=_0x576ef5;const _0x3aa7c3=this['addRevisionData'](_0x17f1cd);return this['adapter']&&this['_bufferUpdate'](_0x17f1cd['id'],_0x17f1cd,!0x0),_0x3aa7c3;}['_setConversion'](){this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'});}['_removeRevisionMarkers'](_0x3c0899){return(_0x3c0899=_0x3c0899['filter'](_0x327a9a=>!_0x327a9a['name']||'revision-start'!==_0x327a9a['name']&&'revision-end'!==_0x327a9a['name']))['forEach'](_0x25165e=>{'string'!=typeof _0x25165e&&(_0x25165e['children']=this['_removeRevisionMarkers'](_0x25165e['children']),_0x25165e['attributes']=_0x25165e['attributes']['filter'](_0x4d57bc=>!_0x4d57bc[0x0]['startsWith']('data-revision-')));}),_0x3c0899;}}function B(_0x5470fa,_0x1cce63){const _0x11e9fb=_0x1cce63['editing']['view']['document'];if('string'==typeof _0x5470fa)return new _0x254a22(_0x11e9fb,_0x5470fa);{const _0x2494a4=_0x5470fa['children']['map'](_0x24542f=>B(_0x24542f,_0x1cce63));return new(T[_0x5470fa['type']]||_0x5772b6)(_0x11e9fb,_0x5470fa['name'],_0x5470fa['attributes'],_0x2494a4);}}class J{['editor'];['source'];['_savedMetaData'];['_lastFrom'];['_lastTo'];['_markers'];['_diffRoots'];['_diffRootsAttributes'];['_baseRoots'];['_baseRootsAttributes'];['_idsRoots'];['_baseIdsRoots'];['_touched'];['_touchedMarkers'];['_touchedRoots'];['_revisionId'];['_startingRevisionId'];constructor(_0x2d6cc4){this['editor']=_0x2d6cc4,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'](_0x3e24e2){this['source']=_0x3e24e2;const _0x511fe9=new Map(),_0x1e2deb=new Map(),_0x892a33=this['editor']['model']['document']['roots']['map'](_0x21d646=>_0x21d646['rootName']);for(const _0x405033 of _0x892a33){const _0x5a0bca=this['editor']['model']['document']['getRoot'](_0x405033),_0x498be1=q(_0x5a0bca);_0x511fe9['set'](_0x405033,_0x498be1),_0x1e2deb['set'](_0x405033,Object['fromEntries'](_0x5a0bca['getAttributes']()));}const _0x3ecb6e=Array['from'](this['editor']['model']['markers'])['map'](_0x26fba8=>[_0x26fba8['name'],_0x26fba8['getRange']()]),_0x281905=this['source']['version'];this['_saveMetaData'](_0x281905,_0x511fe9,_0x3ecb6e,_0x1e2deb),this['_startingRevisionId']=this['_revisionId'];const _0x32b696=new Map(),_0x165906=new Map();for(const _0x515358 of _0x892a33){const _0x3f8cc2=G(_0x515358);_0x32b696['set'](_0x515358,_0x3f8cc2),_0x165906['set'](_0x515358,{});}this['_saveMetaData'](Number['NEGATIVE_INFINITY'],_0x32b696,[],_0x165906);}['getData'](_0x14bbdb,_0x3bd8c7){if(this['_lastFrom']===_0x14bbdb&&this['_lastTo']<=_0x3bd8c7)this['_savedMetaData']['size']>0x1&&this['_removeMetaData'](this['_lastTo']),this['_applyOperations'](this['_lastTo'],_0x3bd8c7,!0x0);else{if(!this['_savedMetaData']['has'](_0x14bbdb)){const _0x41d6f0=this['_getPreviousFrom'](_0x14bbdb);this['_calculateMetaData'](_0x41d6f0,_0x14bbdb,!0x1);}this['_calculateMetaData'](_0x14bbdb,_0x3bd8c7,!0x0);}return this['_lastFrom']=_0x14bbdb,this['_lastTo']=_0x3bd8c7,this['_getState']();}['loadState'](_0x425d13){this['_reset'](),this['_lastFrom']=_0x425d13['fromVersion'],this['_lastTo']=_0x425d13['toVersion'];for(const _0x46f791 in _0x425d13['diffData']){const _0xa39368=_0x425d13['diffData'][_0x46f791]['attachChange'],_0x279882=_0x570ac4(_0x425d13['diffData'][_0x46f791]['attributesBefore'])||{},_0x32708d=this['_makeModelFromViewString'](_0x425d13['diffData'][_0x46f791]['deletions']);_0x32708d['rootName']=_0x46f791,_0x32708d['_isAttached']=!_0xa39368||!_0xa39368['isAttached'],_0x32708d['isAttached']=()=>_0x32708d['_isAttached'],this['_baseRoots']['set'](_0x46f791,_0x32708d),this['_baseRootsAttributes']['set'](_0x46f791,_0x279882),_0xa39368&&this['_touchedRoots']['set'](_0x46f791,_0xa39368);const _0x108898=this['_makeIdsRoot'](_0x32708d);this['_baseIdsRoots']['set'](_0x46f791,_0x108898);for(const [_0xe36389,_0x5ab4a9]of _0x32708d['markers']){if(!_0xe36389['startsWith']('revision:'))continue;const _0x54c6a3=_0xe36389['split'](':')[0x2];for(const _0x4064b0 of _0x5ab4a9['getWalker']({'singleCharacters':!0x0})){const _0x327c10=this['_getVidAttributeName'](_0x4064b0),_0x1c1e12='elementEnd'==_0x4064b0['type']?_0x4064b0['previousPosition']['path']['slice'](0x0,-0x1):_0x4064b0['previousPosition']['path'],_0x6edd52=_0x108898['getNodeByPath'](_0x1c1e12)['getAttribute'](_0x327c10);this['_touched']['set'](_0x6edd52,{'userId':_0x54c6a3});}}}this['_startingRevisionId']=this['_revisionId'];const _0xb6ae06=[...Array(this['_revisionId'])['keys']()]['slice'](0x1)['filter'](_0x21bc38=>!this['_touched']['has'](_0x21bc38));let _0x3b58c0=0x0;const _0x57b215=new Map();for(const _0xe05110 in _0x425d13['diffData']){const _0x11bd74=_0x425d13['diffData'][_0xe05110]['attachChange'],_0x1a6f03=_0x570ac4(_0x425d13['diffData'][_0xe05110]['attributesAfter'])||{},_0x183053=this['_makeModelFromViewString'](_0x425d13['diffData'][_0xe05110]['insertions']);_0x183053['rootName']=_0xe05110,_0x183053['_isAttached']=!_0x11bd74||_0x11bd74['isAttached'],_0x183053['isAttached']=()=>_0x183053['_isAttached'],this['_diffRoots']['set'](_0xe05110,_0x183053),this['_diffRootsAttributes']['set'](_0xe05110,_0x1a6f03);const _0x5afa7d=this['_makeIdsRoot'](_0x183053,Number['NEGATIVE_INFINITY']);this['_idsRoots']['set'](_0xe05110,_0x5afa7d),_0x57b215['set'](_0xe05110,_0x183053['isAttached']()?_0x1a6f03:{});for(const [_0x532061,_0x3d4885]of _0x183053['markers']){if(!_0x532061['startsWith']('revision:'))continue;const _0x2a662b=_0x532061['split'](':')[0x2];for(const _0x581577 of _0x3d4885['getWalker']({'singleCharacters':!0x0})){const _0x23c237=this['_getVidAttributeName'](_0x581577),_0x1fc76d=this['_revisionId']++,_0x3ff6e4='elementEnd'==_0x581577['type']?_0x581577['previousPosition']['path']['slice'](0x0,-0x1):_0x581577['previousPosition']['path'];_0x5afa7d['getNodeByPath'](_0x3ff6e4)['_setAttribute'](_0x23c237,_0x1fc76d),this['_touched']['set'](_0x1fc76d,{'userId':_0x2a662b});}}for(const _0x550dcd of this['editor']['model']['createRangeIn'](_0x183053)['getWalker']({'singleCharacters':!0x0})){const _0x120439=this['_getVidAttributeName'](_0x550dcd),_0x1d4382='elementEnd'==_0x550dcd['type']?_0x550dcd['previousPosition']['path']['slice'](0x0,-0x1):_0x550dcd['previousPosition']['path'],_0x1b035b=_0x5afa7d['getNodeByPath'](_0x1d4382);_0x1b035b['getAttribute'](_0x120439)>0x0||_0x1b035b['_setAttribute'](_0x120439,_0xb6ae06[_0x3b58c0++]);}for(const [_0x44f459,_0x679a49]of _0x183053['markers'])_0x44f459['startsWith']('revision:')||this['_markers']['set'](_0x44f459,_0x679a49);}const _0x29e4a6=G('$graveyard');this['_baseRoots']['set']('$graveyard',_0x29e4a6),this['_baseIdsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x29e4a6,0x1));const _0x10e9ab=G('$graveyard');this['_diffRoots']['set']('$graveyard',_0x10e9ab),this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x10e9ab,0x1));const _0x443dee=Array['from'](this['_diffRoots'])['map'](([_0x1f79d4,_0x77e4a9])=>[_0x1f79d4,q(_0x77e4a9)]);this['_saveMetaData'](this['_lastTo'],_0x443dee,this['_markers'],_0x57b215);}['_makeModelFromViewString'](_0x5e2684){const _0x264b0b=JSON['parse'](_0x5e2684),_0x4803a7=this['editor']['editing']['view']['document'],_0x40a99e=new _0x2c55d3(_0x4803a7,_0x264b0b['map'](_0x256686=>B(_0x256686,this['editor'])));return this['editor']['data']['toModel'](_0x40a99e);}['_saveMetaData'](_0x41c021,_0x4157ee,_0x215df1,_0x325e22){const _0xd20957=new Map(_0x4157ee),_0x25ca07=new Map(_0x570ac4(_0x325e22)),_0x1637e3=new Map();for(const [_0x395c4c,_0x262d83]of _0x215df1)_0x1637e3['set'](_0x395c4c,{'start':_0x262d83['start']['clone'](),'end':_0x262d83['end']['clone'](),'rootName':_0x262d83['root']['rootName']});this['_savedMetaData']['set'](_0x41c021,{'roots':_0xd20957,'markers':_0x1637e3,'rootsAttributes':_0x25ca07});}['_removeMetaData'](_0x19d381){this['_savedMetaData']['delete'](_0x19d381);}['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'](_0x2a5f1b,_0x1a1a23=null){let _0x127a95=null;_0x2a5f1b['is']('documentFragment')||(_0x127a95=new ft(_0x2a5f1b['name'],{'vid_start':null===_0x1a1a23?this['_revisionId']++:_0x1a1a23++}));const _0x4cc71e=[];for(const _0x33e0c5 of _0x2a5f1b['getChildren']())if(_0x33e0c5['is']('element')){_0x4cc71e['push'](this['_makeIdsRoot'](_0x33e0c5,_0x1a1a23));const _0x1c1e2d=_0x4cc71e[_0x4cc71e['length']-0x1];null!==_0x1a1a23&&(_0x1a1a23=_0x1c1e2d['is']('element','$text')?_0x1c1e2d['getAttribute']('vid')+0x1:_0x1c1e2d['getAttribute']('vid_end')+0x1);}else{for(let _0xb9ea61=0x0;_0xb9ea61<_0x33e0c5['offsetSize'];_0xb9ea61++)_0x4cc71e['push'](new ft('$text',{'vid':null===_0x1a1a23?this['_revisionId']++:_0x1a1a23++}));}if(_0x2a5f1b['is']('documentFragment')){const _0x4dc88c=G(_0x2a5f1b['rootName']);return _0x4dc88c['_insertChild'](0x0,_0x4cc71e),_0x4dc88c;}return _0x127a95['_setAttribute']('vid_end',null===_0x1a1a23?this['_revisionId']++:_0x1a1a23++),_0x127a95['_insertChild'](0x0,_0x4cc71e),_0x127a95;}['_calculateMetaData'](_0x2177c5,_0x445fc3,_0x53835e){this['_reset']();const {roots:_0x41e35e,markers:_0x5027aa,rootsAttributes:_0x180370}=this['_savedMetaData']['get'](_0x2177c5);this['_baseRoots']=new Map(_0x41e35e),this['_baseRootsAttributes']=new Map(_0x570ac4(_0x180370));for(const [_0x43b25c,_0x15be0d]of this['_baseRoots'])if('$graveyard'!==_0x43b25c&&(this['_diffRoots']['set'](_0x43b25c,q(_0x15be0d)),this['_diffRootsAttributes']=new Map(_0x570ac4(_0x180370)),_0x53835e)){const _0x20554a=this['_revisionId'];this['_idsRoots']['set'](_0x43b25c,this['_makeIdsRoot'](_0x15be0d)),this['_baseIdsRoots']['set'](_0x43b25c,this['_makeIdsRoot'](_0x15be0d,_0x20554a));}this['_startingRevisionId']=this['_revisionId'],this['_diffRoots']['set']('$graveyard',q(this['_baseRoots']['get']('$graveyard'))),_0x53835e&&this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](this['_baseRoots']['get']('$graveyard')));for(const [_0x1df667,_0x36ca0d]of _0x5027aa){const _0x303d1e=this['_baseRoots']['get'](_0x36ca0d['rootName']),_0x202c60=this['_diffRoots']['get'](_0x36ca0d['rootName']),_0xf41496=new vt(this['_fixPosition'](_0x36ca0d['start'],_0x303d1e),this['_fixPosition'](_0x36ca0d['end'],_0x303d1e)),_0x52b8b4=this['_fixRange'](_0xf41496,_0x202c60);_0x303d1e['markers']['set'](_0x1df667,_0xf41496),this['_markers']['set'](_0x1df667,_0x52b8b4);}this['_applyOperations'](_0x2177c5,_0x445fc3,_0x53835e);}['_applyOperations'](_0x165b8d,_0x238686,_0x359d31){for(const _0x86d9d8 of this['source']['getOperations'](_0x165b8d,_0x238686))this['_handleOperation'](_0x86d9d8,_0x359d31);for(const _0x3baf97 of this['_diffRoots']['values']())_0x3baf97['markers']['clear']();for(const [_0x3afcaf,_0x2619e0]of this['_markers']){this['_diffRoots']['get'](_0x2619e0['root']['rootName'])['markers']['set'](_0x3afcaf,_0x2619e0['clone']());}const _0x2a025a=new Map(),_0x420e62=new Map();for(const [_0x5c132c,_0x2363c6]of this['_diffRoots'])_0x2a025a['set'](_0x5c132c,q(_0x2363c6)),_0x420e62['set'](_0x5c132c,this['_diffRootsAttributes']['get'](_0x5c132c));this['_saveMetaData'](_0x238686,_0x2a025a,this['_markers'],_0x420e62);}['_getPreviousFrom'](_0x220f46){const _0x5bf73b=Array['from'](this['_savedMetaData']['keys']());_0x5bf73b['sort']((_0x488ac2,_0x33d542)=>_0x488ac2-_0x33d542),_0x5bf73b['reverse']();for(const _0x897d9d of _0x5bf73b)if(_0x897d9d<_0x220f46)return _0x897d9d;return Number['NEGATIVE_INFINITY'];}['_copyMarkers'](_0x52c6b9,_0x3db013){const _0x44f391=Array['from'](_0x3db013['markers'])['map'](([_0x483298,_0x53ec99])=>[_0x483298,this['_fixRange'](_0x53ec99,_0x52c6b9)]);_0x52c6b9['markers']=new Map(_0x44f391);}['_transformMarkers'](_0x2c44a0){for(const _0x417238 of this['_markers']['values']()){const _0x13a737=_0x417238['getTransformedByOperation'](_0x2c44a0),_0x48e94e=vt['_createFromRanges'](_0x13a737);_0x417238['start']=_0x48e94e['start'],_0x417238['end']=_0x48e94e['end'];}}['_handleOperation'](_0x1592b4,_0x4ee52f){if('addRoot'==_0x1592b4['type']||'detachRoot'==_0x1592b4['type'])return void this['_handleRootOperation'](_0x1592b4,_0x4ee52f);if('insert'==_0x1592b4['type']){const _0x3387d6=_0x1592b4['position']['root']['rootName'];this['_diffRoots']['has'](_0x3387d6)||(this['_diffRoots']['set'](_0x3387d6,G(_0x3387d6,!0x0)),this['_diffRootsAttributes']['set'](_0x3387d6,{}),_0x4ee52f&&this['_idsRoots']['set'](_0x3387d6,G(_0x3387d6,!0x0)));}else{if('addRootAttribute'==_0x1592b4['type']||'removeRootAttribute'==_0x1592b4['type']||'changeRootAttribute'==_0x1592b4['type'])return void this['_handleRootAttributeOperation'](_0x1592b4);}const _0x1225ab=this['_cloneOperation'](_0x1592b4,this['_diffRoots']);if('marker'!==_0x1592b4['type']&&(_0x1225ab['_execute'](),this['_transformMarkers'](_0x1225ab)),_0x4ee52f)switch(_0x1225ab['type']){case'insert':this['_handleInsertOperation'](_0x1592b4);break;case'move':case'remove':case'reinsert':this['_handleMoveOperation'](_0x1592b4);break;case'merge':this['_handleMergeOperation'](_0x1592b4);break;case'split':this['_handleSplitOperation'](_0x1592b4);break;case'marker':this['_handleMarkerOperation'](_0x1592b4);}}['_cloneOperation'](_0x4fc9a0,_0x4477ee){const _0x519f1f=_0x4fc9a0['clone']();return _0x519f1f['_authorId']=_0x4fc9a0['_authorId'],this['_fixOperation'](_0x519f1f,_0x4477ee),_0x519f1f;}['_getBaseVids'](_0x25c45d){return _0x25c45d['map'](_0x398402=>{const _0x2a84ab=this['_getVidAttributeName'](_0x398402);return Number(_0x398402['item']['getAttribute'](_0x2a84ab));});}['_generateTape'](_0xde05b6,_0x6500a8){if(_0xde05b6['is']('element','$text'))_0x6500a8['push']({'item':_0xde05b6,'type':'text'});else{_0xde05b6['is']('element')&&_0x6500a8['push']({'item':_0xde05b6,'type':'elementStart'});for(const _0x2f4117 of _0xde05b6['getChildren']())this['_generateTape'](_0x2f4117,_0x6500a8);_0xde05b6['is']('element')&&_0x6500a8['push']({'item':_0xde05b6,'type':'elementEnd'});}return _0x6500a8;}['_getState'](){const _0x2085a3=new Map(this['_touched']),_0x3fbd9c=new Map(_0x2085a3),_0x2fe6eb=new Map(),_0x3ef2ac={'insertions':{},'deletions':{}},_0x47645e={'insertions':{},'deletions':{}},_0x2ccbad=new Map(),_0x3a28ce=new Set([...this['_baseRoots']['keys'](),...this['_diffRoots']['keys']()]);_0x3a28ce['delete']('$graveyard');for(const _0x1dcaad of _0x3a28ce){const _0x301786=this['_diffRoots']['get'](_0x1dcaad)||G(_0x1dcaad,!0x1),_0x1165c5=this['_baseRoots']['get'](_0x1dcaad)||G(_0x1dcaad,!0x1);_0x301786['isAttached']()||_0x1165c5['isAttached']()?(_0x3ef2ac['insertions'][_0x1dcaad]=q(_0x301786),_0x3ef2ac['deletions'][_0x1dcaad]=q(_0x1165c5),this['_copyMarkers'](_0x3ef2ac['deletions'][_0x1dcaad],_0x1165c5),this['_copyMarkers'](_0x3ef2ac['insertions'][_0x1dcaad],_0x301786),_0x47645e['insertions'][_0x1dcaad]=this['_generateTape'](this['_idsRoots']['get'](_0x1dcaad),[]),_0x47645e['deletions'][_0x1dcaad]=this['_generateTape'](this['_baseIdsRoots']['get'](_0x1dcaad)||G(_0x1dcaad,!0x1),[])):_0x3a28ce['delete'](_0x1dcaad);}for(const _0x5502f3 of _0x3a28ce){const _0x4fd54a=_0x47645e['insertions'][_0x5502f3];for(const _0xd82e33 of _0x4fd54a){const _0x9db8d3=this['_getVidAttributeName'](_0xd82e33),_0x162254=_0xd82e33['item']['getAttribute'](_0x9db8d3);_0x3fbd9c['delete'](_0x162254),_0x162254>=this['_startingRevisionId']&&_0x2fe6eb['set'](_0x162254,_0x2085a3['get'](_0x162254));}}for(const _0x3c0129 of _0x3a28ce){const _0x1f3cb7=_0x47645e['insertions'][_0x3c0129],_0x5e6f75=this['_getBaseVids'](_0x47645e['deletions'][_0x3c0129]);let _0xb12fff=0x0;for(const _0x26f34b of _0x1f3cb7){const _0x1991ef=this['_getVidAttributeName'](_0x26f34b),_0x34fb02=_0x26f34b['item']['getAttribute'](_0x1991ef);if(!_0x2fe6eb['has'](_0x34fb02)&&!_0x2ccbad['has'](_0x34fb02)){if(_0x3fbd9c['has'](_0x34fb02))_0xb12fff++;else{if(_0x34fb02!=_0x5e6f75[_0xb12fff]){const _0x39c2fb=_0x2085a3['get'](_0x34fb02)||_0x2085a3['get'](_0x5e6f75[_0xb12fff]);for(;_0x34fb02!=_0x5e6f75[_0xb12fff];)_0x3fbd9c['has'](_0x5e6f75[_0xb12fff])||(_0x2ccbad['set'](_0x5e6f75[_0xb12fff],_0x39c2fb),_0x2085a3['set'](_0x5e6f75[_0xb12fff],_0x39c2fb)),_0xb12fff++;}_0xb12fff++;}}}}for(const _0xb3b9b3 of _0x3a28ce){const _0x1545f9=_0x47645e['insertions'][_0xb3b9b3];for(const _0x4c1e81 of _0x1545f9){const _0x3ec294=this['_getVidAttributeName'](_0x4c1e81),_0x110f94=_0x4c1e81['item']['getAttribute'](_0x3ec294);if(_0x2ccbad['has'](_0x110f94)){const _0x43b6a5=_0x2ccbad['get'](_0x110f94);_0x3fbd9c['has'](_0x110f94)||_0x3fbd9c['set'](_0x110f94,{..._0x43b6a5}),_0x2fe6eb['set'](_0x110f94,{..._0x43b6a5});}}}for(const _0x1085ac of _0x3fbd9c['keys']())_0x1085ac>=this['_startingRevisionId']&&_0x3fbd9c['delete'](_0x1085ac);const _0x3f48ed=new Map();for(const _0x1a62c6 of _0x3a28ce){let _0x403235=_0x47645e['insertions'][_0x1a62c6];for(const _0x1a7a50 of _0x403235)if(_0x1a7a50['item']['is']('element','tableCell')){const _0x278d09=this['_getVidAttributeName'](_0x1a7a50),_0x573b15=_0x1a7a50['item']['getAttribute'](_0x278d09);if(_0x2fe6eb['has'](_0x573b15)){const _0x3f4a21=_0x1a7a50['item']['parent']['parent']['getAttribute']('vid_start'),_0x35253b=_0x3f48ed['get'](_0x3f4a21)||new Set();_0x35253b['add'](_0x2fe6eb['get'](_0x573b15)['userId']),_0x3f48ed['set'](_0x3f4a21,_0x35253b);}}_0x403235=_0x47645e['deletions'][_0x1a62c6];for(const _0x58ea9e of _0x403235)if(_0x58ea9e['item']['is']('element','tableCell')){const _0x122216=this['_getVidAttributeName'](_0x58ea9e),_0x2617d0=_0x58ea9e['item']['getAttribute'](_0x122216);if(_0x3fbd9c['has'](_0x2617d0)){const _0x40fbbe=_0x58ea9e['item']['parent']['parent']['getAttribute']('vid_start'),_0x2f99a8=_0x3f48ed['get'](_0x40fbbe)||new Set();_0x2f99a8['add'](_0x3fbd9c['get'](_0x2617d0)['userId']),_0x3f48ed['set'](_0x40fbbe,_0x2f99a8);}}for(const _0x5c0fce of _0x3f48ed['keys']())(_0x2fe6eb['has'](_0x5c0fce)||_0x3fbd9c['has'](_0x5c0fce))&&_0x3f48ed['delete'](_0x5c0fce);}for(const _0x235e50 of _0x3a28ce){const _0x1b56b7=_0x47645e['insertions'][_0x235e50];let _0x3fd253=null,_0x3f3268=null;for(const _0x5d6c41 of _0x1b56b7){const _0x4f05f2=this['_getVidAttributeName'](_0x5d6c41),_0x3bf4c3=_0x5d6c41['item']['getAttribute'](_0x4f05f2),_0x2b6f01=_0x3f48ed['get'](_0x3bf4c3);_0x2b6f01&&'elementStart'==_0x5d6c41['type']&&(_0x3fd253=Array['from'](_0x2b6f01)[0x0],_0x3f3268=_0x5d6c41['item']['getAttribute']('vid_end')),_0x3fd253&&(_0x3fbd9c['set'](_0x3bf4c3,{'userId':_0x3fd253}),_0x2fe6eb['set'](_0x3bf4c3,{'userId':_0x3fd253})),_0x3bf4c3==_0x3f3268&&(_0x3fd253=null,_0x3f3268=null);}}const _0x1fcc31={},_0x57ce9d=new Set();for(const _0x3e60bf of _0x3a28ce){const _0x447673=_0x3ef2ac['deletions'][_0x3e60bf],_0x2e2325=_0x3ef2ac['insertions'][_0x3e60bf];for(const {userId:_0xaec059}of this['_touchedMarkers']['values']())null!==_0xaec059&&_0x57ce9d['add'](_0xaec059);for(const {userId:_0x191177}of this['_touchedRoots']['values']())null!==_0x191177&&_0x57ce9d['add'](_0x191177);this['_markChanges'](_0x2e2325,_0x47645e['insertions'][_0x3e60bf],_0x2fe6eb,'insertion',_0x57ce9d),this['_markChanges'](_0x447673,_0x47645e['deletions'][_0x3e60bf],_0x3fbd9c,'deletion',_0x57ce9d),_0x1fcc31[_0x3e60bf]={'insertions':this['_prepareViewToSave'](_0x2e2325),'deletions':this['_prepareViewToSave'](_0x447673),'attachChange':this['_touchedRoots']['get'](_0x3e60bf)||null,'attributesBefore':_0x570ac4(this['_baseRootsAttributes']['get'](_0x3e60bf))||{},'attributesAfter':_0x570ac4(this['_diffRootsAttributes']['get'](_0x3e60bf))};}return{'diffData':_0x1fcc31,'authorsIds':Array['from'](_0x57ce9d)};}['_processRootBeforeSave'](_0x100c05){for(const [,_0x541547]of _0x100c05['markers']){const _0x5e33f0=_0x541547['start']['getAncestors']()['filter'](_0xed2e10=>'tableCell'==_0xed2e10['name']);for(const _0x1b228f of _0x5e33f0)0x1==_0x1b228f['childCount']&&_0x1b228f['getChild'](0x0)['is']('element','paragraph')&&_0x1b228f['getChild'](0x0)['_setAttribute']('keepParagraph',!0x0);}}['_prepareViewToSave'](_0x3cde1c){this['_processRootBeforeSave'](_0x3cde1c);const _0x145265=this['editor']['data']['toView'](_0x3cde1c,{}),_0x53de7c=Array['from'](_0x145265['getChildren']())['map'](_0x39aa3f=>this['_getViewJson'](_0x39aa3f));return JSON['stringify'](_0x53de7c);}['_getViewJson'](_0x30bc9c){if(_0x30bc9c['is']('$text'))return _0x30bc9c['data'];{const _0x28bf4e=_0x30bc9c;return{'type':Object['keys'](T)['find'](_0xd1f206=>_0x30bc9c instanceof T[_0xd1f206]),'name':_0x28bf4e['name'],'attributes':Array['from'](_0x28bf4e['getAttributes']()),'children':Array['from'](_0x28bf4e['getChildren']())['map'](_0x168d45=>this['_getViewJson'](_0x168d45))};}}['_markChanges'](_0x56272c,_0x58424a,_0x153905,_0x56a6db,_0x3dd0ba){let _0x4ec776=null,_0x509e2e=null,_0x3477ad=0x0;const _0x5ce288=this['editor']['model'];for(let _0x253a35=0x0;_0x253a35<_0x58424a['length'];_0x253a35++){const _0x2270c7=this['_getVidAttributeName'](_0x58424a[_0x253a35]),_0x3d5511=_0x58424a[_0x253a35]['item']['getAttribute'](_0x2270c7),_0x48fb41=_0x153905['get'](_0x3d5511),_0x2b127f=_0x253a35==_0x58424a['length']-0x1;(!_0x4ec776&&_0x48fb41&&(_0x4ec776=_0x48fb41,_0x509e2e=_0x58424a[_0x253a35]),_0x4ec776&&(!_0x48fb41||_0x48fb41['userId']!=_0x4ec776['userId']))&&(_0x58b479(_0x48fb41,L(_0x509e2e,_0x56272c,_0x5ce288),L(_0x58424a[_0x253a35],_0x56272c,_0x5ce288)),_0x4ec776=_0x48fb41||null,_0x509e2e=_0x48fb41?_0x58424a[_0x253a35]:null),_0x4ec776&&_0x2b127f&&_0x58b479(_0x48fb41,L(_0x509e2e,_0x56272c,_0x5ce288),W(_0x58424a[_0x253a35],_0x56272c,_0x5ce288));}function _0x58b479(_0x37c592,_0x3e3492,_0x19fcf4){const _0x1eda51=_0x4ec776['userId'],_0x42ce42='revision:'+_0x56a6db+':'+_0x1eda51+':'+_0x3477ad++,_0x344643=_0x5ce288['createRange'](_0x3e3492,_0x19fcf4);_0x56272c['markers']['set'](_0x42ce42,_0x344643),null!==_0x1eda51&&_0x3dd0ba['add'](_0x1eda51);}}['_getVidAttributeName'](_0x30e257){switch(_0x30e257['type']){case'elementStart':return'vid_start';case'elementEnd':return'vid_end';default:return'vid';}}['_fixOperation'](_0x381088,_0x402add){_0x381088['baseVersion']=null;for(const _0x41a7b3 in _0x381088){const _0x2bd56e=_0x381088[_0x41a7b3];if(_0x2bd56e instanceof gt){const _0x578282=_0x402add['get'](_0x2bd56e['root']['rootName']);_0x381088[_0x41a7b3]=this['_fixPosition'](_0x2bd56e,_0x578282);}if(_0x2bd56e instanceof vt){const _0x3424d3=_0x402add['get'](_0x2bd56e['root']['rootName']);_0x381088[_0x41a7b3]=this['_fixRange'](_0x2bd56e,_0x3424d3);}'root'===_0x41a7b3&&(_0x381088['root']=_0x402add['get'](_0x381088['root']['rootName']));}}['_fixRange'](_0x3ffbc4,_0x1de0d1){return this['editor']['model']['createRange'](this['_fixPosition'](_0x3ffbc4['start'],_0x1de0d1),this['_fixPosition'](_0x3ffbc4['end'],_0x1de0d1));}['_fixPosition'](_0x1ebb12,_0x193903){return this['editor']['model']['createPositionFromPath'](_0x193903,_0x1ebb12['path'],_0x1ebb12['stickiness']);}['_handleInsertOperation'](_0x4a412d){const _0x17804b=this['_idsRoots']['get'](_0x4a412d['position']['root']['rootName']),_0x150ddd=this['_fixPosition'](_0x4a412d['position'],_0x17804b),_0xa9ad1c=null===_0x4a412d['_authorId']?null:_0x4a412d['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x466c67=_0x150ddd['parent'],_0x225979=this['_revisionId'],_0x267aba=[];for(const _0x1bc059 of _0x4a412d['nodes'])if(_0x1bc059['is']('element'))_0x267aba['push'](this['_makeIdsRoot'](_0x1bc059));else{for(let _0x23e1a4=0x0;_0x23e1a4<_0x1bc059['offsetSize'];_0x23e1a4++)_0x267aba['push'](new ft('$text',{'vid':this['_revisionId']++}));}const _0xfc38ee=this['_revisionId'];for(let _0x28c2b9=_0x225979;_0x28c2b9<_0xfc38ee;_0x28c2b9++)this['_touched']['set'](_0x28c2b9,{'userId':_0xa9ad1c});_0x466c67['_insertChild'](_0x150ddd['offset'],_0x267aba);}['_handleMoveOperation'](_0xed78c6){(_0xed78c6=this['_cloneOperation'](_0xed78c6,this['_idsRoots']))['_execute']();const _0x787249=null===_0xed78c6['_authorId']?null:_0xed78c6['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x1a5b42=_0xed78c6['getMovedRangeStart'](),_0x35f779=_0x1a5b42['parent'],_0x2562c0=_0x1a5b42['offset'];!function _0x29fae0(_0x3ebe5d,_0x4319bb,_0x2b1501,_0x555781){for(let _0x50a4c0=_0x2b1501;_0x50a4c0<_0x555781;_0x50a4c0++){const _0x462688=_0x4319bb['getChild'](_0x50a4c0);_0x462688['is']('element','$text')?_0x3ebe5d['set'](_0x462688['getAttribute']('vid'),{'userId':_0x787249}):(_0x3ebe5d['set'](_0x462688['getAttribute']('vid_start'),{'userId':_0x787249}),_0x29fae0(_0x3ebe5d,_0x462688,0x0,_0x462688['childCount']),_0x3ebe5d['set'](_0x462688['getAttribute']('vid_end'),{'userId':_0x787249}));}}(this['_touched'],_0x35f779,_0x2562c0,_0x2562c0+_0xed78c6['howMany']);}['_handleMergeOperation'](_0x10daca){const _0x282abc=null===(_0x10daca=this['_cloneOperation'](_0x10daca,this['_idsRoots']))['_authorId']?null:_0x10daca['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x450e6c=_0x10daca['targetPosition']['parent'],_0x3e5271=_0x10daca['sourcePosition']['parent'],_0x20e713=_0x450e6c['getAttribute']('vid_end'),_0x90cd55=_0x3e5271['getAttribute']('vid_start');_0x450e6c['_setAttribute']('vid_end',_0x3e5271['getAttribute']('vid_end')),_0x3e5271['_setAttribute']('vid_end',_0x20e713),this['_touched']['set'](_0x90cd55,{'userId':_0x282abc}),this['_touched']['set'](_0x20e713,{'userId':_0x282abc}),_0x10daca['_execute']();}['_handleSplitOperation'](_0x3a5d28){const _0x1b076b=null===(_0x3a5d28=this['_cloneOperation'](_0x3a5d28,this['_idsRoots']))['_authorId']?null:_0x3a5d28['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x17cc60=_0x3a5d28['graveyardPosition'],_0x156e0f=_0x3a5d28['splitPosition']['parent'];_0x3a5d28['_execute']();const _0x2285df=_0x156e0f['getAttribute']('vid_end'),_0x3ba9d0=_0x3a5d28['insertionPosition']['nodeAfter'];if(_0x17cc60){const _0x3ce4b6=_0x3ba9d0['getAttribute']('vid_end'),_0x153ca7=_0x156e0f['getAttribute']('vid_end');_0x156e0f['_setAttribute']('vid_end',_0x3ce4b6),_0x3ba9d0['_setAttribute']('vid_end',_0x153ca7),this['_touched']['set'](_0x156e0f['getAttribute']('vid_end'),{'userId':_0x1b076b}),this['_touched']['set'](_0x3ba9d0['getAttribute']('vid_start'),{'userId':_0x1b076b});}else{const _0x44d5d5=this['_revisionId']++,_0x29320a=this['_revisionId']++;_0x156e0f['_setAttribute']('vid_end',_0x44d5d5),_0x3ba9d0['_setAttribute']('vid_start',_0x29320a),_0x3ba9d0['_setAttribute']('vid_end',_0x2285df),this['_touched']['set'](_0x44d5d5,{'userId':_0x1b076b}),this['_touched']['set'](_0x29320a,{'userId':_0x1b076b});}}['_handleMarkerOperation'](_0x5896ed){if(!_0x5896ed['affectsData'])return;const _0x1474d5=(_0x5896ed=this['_cloneOperation'](_0x5896ed,this['_diffRoots']))['oldRange']?_0x5896ed['oldRange']['root']:null,_0x3bb259=_0x5896ed['newRange']?_0x5896ed['newRange']['root']:null;_0x1474d5&&this['_markers']['delete'](_0x5896ed['name']),_0x3bb259&&this['_markers']['set'](_0x5896ed['name'],_0x5896ed['newRange']['clone']());const _0x586522=null===_0x5896ed['_authorId']?null:_0x5896ed['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x5c1cd6=_0x5896ed['name'];if(!this['_touchedMarkers']['has'](_0x5c1cd6))return void this['_touchedMarkers']['set'](_0x5c1cd6,{'range':_0x5896ed['oldRange'],'userId':_0x586522});const _0x4aa0ed=this['_touchedMarkers']['get'](_0x5c1cd6),_0x24941d=_0x4aa0ed['range'],_0x44af49=_0x5896ed['newRange'];null==_0x24941d&&null==_0x44af49||_0x24941d&&_0x44af49&&_0x24941d['isEqual'](_0x44af49)?this['_touchedMarkers']['delete'](_0x5896ed['name']):_0x4aa0ed['userId']=_0x586522;}['_handleRootOperation'](_0x166a78,_0x51f8d9){this['_diffRoots']['has'](_0x166a78['rootName'])?this['_diffRoots']['get'](_0x166a78['rootName'])['_isAttached']=_0x166a78['isAdd']:(this['_diffRoots']['set'](_0x166a78['rootName'],G(_0x166a78['rootName'],!0x0)),this['_diffRootsAttributes']['set'](_0x166a78['rootName'],{}),_0x51f8d9&&this['_idsRoots']['set'](_0x166a78['rootName'],G(_0x166a78['rootName'],!0x0)));const _0x16abed=null===_0x166a78['_authorId']?null:_0x166a78['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x1972bf=this['_touchedRoots']['get'](_0x166a78['rootName']);_0x1972bf&&_0x1972bf['userId']===_0x16abed?this['_touchedRoots']['delete'](_0x166a78['rootName']):this['_touchedRoots']['set'](_0x166a78['rootName'],{'userId':_0x16abed,'isAttached':_0x166a78['isAdd']});}['_handleRootAttributeOperation'](_0x4773b2){const _0x178c8f=this['_diffRootsAttributes']['get'](_0x4773b2['root']['rootName']);null===_0x4773b2['newValue']?delete _0x178c8f[_0x4773b2['key']]:_0x178c8f[_0x4773b2['key']]=_0x4773b2['newValue'];}}function q(_0x3264ab){const _0x300387=G(_0x3264ab['rootName'],_0x3264ab['isAttached']());for(const _0x2844be of _0x3264ab['getChildren']()){const _0x526dc4=_0x2844be['_clone'](!0x0);_0x300387['_appendChild'](_0x526dc4);}return _0x300387;}function G(_0x3d286a,_0x3fca1f=!0x0){const _0x3563bc=new wt();return _0x3563bc['rootName']=_0x3d286a,_0x3563bc['_isAttached']=_0x3fca1f,_0x3563bc['isAttached']=()=>_0x3563bc['_isAttached'],_0x3563bc;}function L(_0x24677f,_0x572179,_0x3c904e){const _0x15308c='elementEnd'==_0x24677f['type']?_0x3c904e['createPositionAt'](_0x24677f['item'],'end'):_0x3c904e['createPositionBefore'](_0x24677f['item']);return _0x3c904e['createPositionFromPath'](_0x572179,_0x15308c['path'],_0x15308c['stickiness']);}function W(_0xe3a006,_0x92419d,_0xf7450a){const _0x45265a='elementStart'==_0xe3a006['type']?_0xf7450a['createPositionAt'](_0xe3a006['item'],0x0):_0xf7450a['createPositionAfter'](_0xe3a006['item']);return _0xf7450a['createPositionFromPath'](_0x92419d,_0x45265a['path'],_0x45265a['stickiness']);}class ns extends _0x9bb2f4{['focusTracker'];['keystrokes'];['revisionNameInputView'];constructor(_0x4a3bde,_0x1599bf){super(_0x4a3bde),this['focusTracker']=new _0x35f45b(),this['keystrokes']=new _0xe09bd5(),this['set']('revisionNameInputValue',''),this['revisionNameInputView']=this['_createRevisionNameInput'](_0x1599bf),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'](),_0x271ebe({'view':this}),this['focusTracker']['add'](this['revisionNameInputView']['element']),this['keystrokes']['listenTo'](this['element']);const _0x36a383=_0x9aac45=>_0x9aac45['stopPropagation']();this['keystrokes']['set']('arrowright',_0x36a383),this['keystrokes']['set']('arrowleft',_0x36a383),this['keystrokes']['set']('arrowup',_0x36a383),this['keystrokes']['set']('arrowdown',_0x36a383);}['focus'](){this['revisionNameInputView']['focus']();}get['revisionName'](){return this['revisionNameInputView']['fieldView']['element']['value']['trim']();}set['revisionName'](_0x208834){this['revisionNameInputView']['fieldView']['element']['value']=_0x208834['trim']();}['reset'](){this['revisionNameInputView']['fieldView']['element']['value']='',this['revisionNameInputView']['errorText']=null;}['_createRevisionNameInput'](_0x536e16){const _0x2aa678=new at(this['locale'],_0x1b07b0),_0x4c6ef9=_0x2aa678['fieldView'];_0x4c6ef9['extendTemplate']({'attributes':{'maxlength':'220'}});let _0x56362e=y(this['locale'],'Name\x20of\x20the\x20revision');return!_0x536e16&&(_0x56362e+='\x20('+y(this['locale'],'optional')+')'),(_0x2aa678['label']=_0x56362e,_0x4c6ef9['on']('input',()=>{this['revisionNameInputValue']=_0x4c6ef9['element']['value']['trim']();}),_0x2aa678);}}class u extends _0x118092{static get['pluginName'](){return'RevisionHistoryUI';}static get['requires'](){return[l];}['_saveRevisionFormView'];['init'](){const _0x372278=this['editor'],_0x4697e1=_0x372278['plugins']['get']('RevisionTracker');_0x372278['ui']['componentFactory']['add']('revisionHistory',_0x1fbfce=>{const _0x56928a=_0x35e381(_0x1fbfce),_0x789fe6=_0x56928a['panelView']['children'],_0x5132a3=new te(_0x1fbfce),_0x3ed223=new _0x3e6543(_0x1fbfce),_0x3a77e5=new _0x4340e5(_0x1fbfce),_0x539ece=new _0x3e6543(_0x1fbfce),_0x329983=new _0x4340e5(_0x1fbfce);return _0x56928a['bind']('isEnabled')['to'](_0x4697e1,'isReady',_0x4697e1,'isEnabled',_0x372278,'isReadOnly',(_0x593dc6,_0x1181f8,_0x567e24)=>_0x593dc6&&_0x1181f8&&!_0x567e24),_0x56928a['buttonView']['set']({'icon':_0x41ac49['history'],'label':y(_0x1fbfce,'Revision\x20history'),'tooltip':!0x0}),_0x3a77e5['set']({'label':y(_0x1fbfce,'Save\x20current\x20revision'),'withText':!0x0,'role':'menuitem'}),_0x3a77e5['bind']('isEnabled')['to'](_0x4697e1,'isReady',_0x4697e1,'isEnabled',_0x372278,'isReadOnly',(_0x519af3,_0xbf7632,_0x10f141)=>_0x519af3&&_0xbf7632&&!_0x10f141),_0x3a77e5['on']('execute',()=>this['_showDialog']()),_0x329983['set']({'label':y(_0x1fbfce,'Open\x20revision\x20history'),'withText':!0x0,'role':'menuitem'}),_0x329983['bind']('isEnabled')['to'](_0x4697e1,'isReady',_0x372278,'isReadOnly',(_0x44ffde,_0x2eb635)=>_0x44ffde&&!_0x2eb635),_0x329983['on']('execute',()=>{_0x372278['config']['get']('revisionHistory')['showRevisionViewerCallback'](),_0x56928a['isOpen']=!0x1,_0x372278['editing']['view']['focus']();}),_0x3ed223['children']['add'](_0x3a77e5),_0x539ece['children']['add'](_0x329983),_0x5132a3['role']='menu',_0x5132a3['items']['addMany']([_0x3ed223,_0x539ece]),_0x789fe6['add'](_0x5132a3),_0x56928a;}),_0x372278['ui']['componentFactory']['add']('menuBar:revisionHistory',()=>this['_registerMenuComponent']());}['_registerMenuComponent'](){const _0x7a5e52=this['editor'],_0x5ac595=_0x7a5e52['locale'],_0x4e0510=new _0x17a8bc(_0x5ac595),_0x190712=new _0x54913b(_0x5ac595);_0x4e0510['buttonView']['set']({'icon':_0x41ac49['history'],'label':y(_0x5ac595,'Revision\x20history')});const _0x5a8c1a=new _0x353745(_0x5ac595,_0x4e0510),_0x89ca39=new _0x151017(_0x5ac595);_0x89ca39['set']({'label':y(_0x5ac595,'Save\x20current\x20revision')}),_0x89ca39['delegate']('execute')['to'](_0x4e0510),_0x89ca39['on']('execute',()=>{this['_showDialog']();}),_0x5a8c1a['children']['add'](_0x89ca39),_0x190712['items']['add'](_0x5a8c1a);const _0x101e90=new _0x353745(_0x5ac595,_0x4e0510),_0x31e2d3=new _0x151017(_0x5ac595);return _0x31e2d3['set']({'label':y(_0x5ac595,'Open\x20revision\x20history')}),_0x31e2d3['delegate']('execute')['to'](_0x4e0510),_0x31e2d3['on']('execute',()=>{_0x7a5e52['config']['get']('revisionHistory')['showRevisionViewerCallback']();}),_0x101e90['children']['add'](_0x31e2d3),_0x190712['items']['add'](_0x101e90),_0x4e0510['panelView']['children']['add'](_0x190712),_0x4e0510;}['_showDialog'](){const _0x11234e=this['editor'],_0x595fe2=_0x11234e['locale'],t=_0x595fe2['t'],_0x5360b2=_0x11234e['plugins']['get']('Dialog'),_0x54aaec=_0x11234e['plugins']['get']('RevisionTracker');function _0x1e8aeb(_0x341d7e){_0x11234e['config']['get']('revisionHistory.requireRevisionName')&&''===_0x341d7e['revisionName']?_0x341d7e['revisionNameInputView']['errorText']=y(_0x595fe2,'The\x20revision\x20name\x20cannot\x20be\x20empty.'):(_0x11234e['plugins']['get'](l)['saveRevision']({'name':_0x341d7e['revisionName']}),_0x5360b2['hide']());}this['_saveRevisionFormView']||(this['_createSaveRevisionFormView'](),this['_saveRevisionFormView']['on']('submit',()=>_0x1e8aeb(this['_saveRevisionFormView']))),this['_saveRevisionFormView']['reset'](),_0x5360b2['show']({'id':'findAndReplace','title':y(_0x595fe2,'Save\x20current\x20revision'),'isModal':!0x0,'content':this['_saveRevisionFormView'],'actionButtons':[{'label':t('Cancel'),'withText':!0x0,'onExecute':()=>_0x5360b2['hide']()},{'label':t('Accept'),'class':'ck-button-action','withText':!0x0,'onCreate'(_0x577511){_0x577511['bind']('isEnabled')['to'](_0x54aaec,'isReady',_0x54aaec,'isEnabled',_0x11234e,'isReadOnly',(_0x3402b7,_0xfe340,_0x5e47db)=>_0x3402b7&&_0xfe340&&!_0x5e47db);},'onExecute':()=>_0x1e8aeb(this['_saveRevisionFormView'])}]});}['_createSaveRevisionFormView'](){const _0x483a8a=this['editor'],_0x283d28=_0x483a8a['locale'];this['_saveRevisionFormView']=new ns(_0x283d28,_0x483a8a['config']['get']('revisionHistory.requireRevisionName')),this['_saveRevisionFormView']['render']();}}class Z extends _0x9bb2f4{['changeId'];['_model'];constructor(_0x341dae,_0x36fa61){super(_0x341dae),this['_model']=_0x36fa61,this['changeId']=_0x36fa61['id'];const _0x314a93=this['bindTemplate'],_0x1951f7=y(_0x341dae,_0x36fa61['data']['isSuggestion']?'Suggested\x20by':'add'==_0x36fa61['type']?'Added\x20by':'Removed\x20by');this['set']('type',_0x36fa61['type']),this['setTemplate']({'tag':'div','attributes':{'class':['ck-annotation','ck-revision-change',_0x314a93['to']('type',_0x449ff6=>'ck-revision-change__'+_0x449ff6)],'tabindex':-0x1},'children':[{'tag':'span','children':[{'tag':'span','attributes':{'class':['ck-revision-change__label']},'children':[{'text':_0x1951f7}]},{'text':'\x20'+_0x36fa61['author']['name']}]}]});}['focus'](){this['element']['focus']();}}class r extends/* #__PURE__ -- @preserve */
25
+ _0x509e78(){['id'];['author'];['type'];['data'];['rootName'];constructor(_0x46cf48){super(),this['id']=_0x46cf48['id']||_0x43d041(),this['author']=_0x46cf48['author'],this['type']=_0x46cf48['type'],this['data']=_0x46cf48['data']||{},this['rootName']=_0x46cf48['rootName'],this['set']('createdAt',_0x46cf48['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(_0x5b4c52,_0x3f1702){this['newRevisionId']=_0x5b4c52,this['oldRevisionId']=_0x3f1702,this['changes']=new _0x47c7df();}['_setChanges'](_0x192429){for(const _0x51537d of _0x192429)this['changes']['add'](_0x51537d);}}const tt={'c':_0x2324ac,'a':_0x546ff6,'e':_0x53a022,'r':_0x2d3900,'u':_0x43f1d8};class d extends _0x118092{['repository'];['adapter'];['_activeViewTarget'];['_changeView'];['_changeIdToChange'];['_balloon'];static get['pluginName'](){return'RevisionViewer';}static get['requires'](){return[_0x57f2f5,_0x5e8add,A];}constructor(_0x104598){super(_0x104598),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',(_0x2a790e,_0x13f129,_0x3ba8a2)=>{this['activeChange']=null,this['activeView']=null,this['editor']['editing']['view']['change'](_0x4ab8c9=>{for(const _0x4198f9 of this['editor']['editing']['view']['document']['roots'])_0x3ba8a2?_0x4ab8c9['removeClass']('ck-editor__editable__overlay',_0x4198f9):_0x4ab8c9['addClass']('ck-editor__editable__overlay',_0x4198f9);});}),this['bind']('isNavigationMode')['to'](this,'activeChange',_0x3d206b=>null!==_0x3d206b),this['bind']('currentChangeNumber')['to'](this,'isReady',this,'diff',this,'activeChange',(_0x70b10a,_0x3f6a3e,_0x237442)=>_0x70b10a&&_0x237442?_0x3f6a3e['changes']['getIndex'](_0x237442):0x0),this['bind']('numberOfChanges')['to'](this,'isReady',this,'diff',(_0x243dc8,_0x5cfd17)=>_0x243dc8?_0x5cfd17['changes']['length']:0x0),this['_changeView']=null,this['_changeIdToChange']=new Map(),this['adapter']=null,this['_balloon']=this['editor']['plugins']['get'](_0x5e8add);}['init'](){const _0x552924=this['editor'],_0x2611f9=new yt(_0x552924,{'direction':'backward'}),_0x3dd5d3=new yt(_0x552924,{'direction':'forward'});(_0x552924['commands']['add']('showPreviousChange',_0x2611f9),_0x552924['commands']['add']('showNextChange',_0x3dd5d3),_0x552924['commands']['add']('restoreRevision',new bt(_0x552924)),this['on']('change:numberOfChanges',()=>{_0x2611f9['refresh'](),_0x3dd5d3['refresh']();}),this['_setConversion'](),this['_initInteractions'](),_0x552924['enableReadOnlyMode']('revision-viewer'),_0x552924['plugins']['has']('WidgetToolbarRepository'))&&_0x552924['plugins']['get']('WidgetToolbarRepository')['forceDisabled']('revision-viewer');}async['getRevisionData'](_0x4988e6){await this['loadRevisionData'](_0x4988e6);const _0xb585bd={};for(const _0x28ba03 in _0x4988e6['diffData']){if(_0x4988e6['diffData'][_0x28ba03]['attachChange']&&!_0x4988e6['diffData'][_0x28ba03]['attachChange']['isAttached'])continue;const _0x2e1d56=this['_removeRevisionMarkers'](JSON['parse'](_0x4988e6['diffData'][_0x28ba03]['insertions'])),_0xbd0bad=this['editor']['editing']['view']['document'],_0x5b2d82=new _0x2c55d3(_0xbd0bad,_0x2e1d56['map'](_0x973584=>this['_getViewObj'](_0x973584)));this['editor']['data']['processor']['useFillerType']('marked'),_0xb585bd[_0x28ba03]=this['editor']['data']['processor']['toData'](_0x5b2d82),this['editor']['data']['processor']['useFillerType']('default');}return _0xb585bd;}async['getRevisionRootsAttributes'](_0x3c92f1){await this['loadRevisionData'](_0x3c92f1);const _0x299ffb={};for(const _0x5edd02 in _0x3c92f1['diffData'])_0x3c92f1['diffData'][_0x5edd02]['attachChange']&&!_0x3c92f1['diffData'][_0x5edd02]['attachChange']['isAttached']||(_0x299ffb[_0x5edd02]=_0x3c92f1['diffData'][_0x5edd02]['attributesAfter']||{});return _0x299ffb;}['_removeRevisionMarkers'](_0x29b6da){return(_0x29b6da=_0x29b6da['filter'](_0x577ad9=>!_0x577ad9['name']||'revision-start'!==_0x577ad9['name']&&'revision-end'!==_0x577ad9['name']))['forEach'](_0x280e5d=>{'string'!=typeof _0x280e5d&&(_0x280e5d['children']=this['_removeRevisionMarkers'](_0x280e5d['children']),_0x280e5d['attributes']=_0x280e5d['attributes']['filter'](_0x48ac74=>!_0x48ac74[0x0]['startsWith']('data-revision-')));}),_0x29b6da;}async['compare'](_0x4b269d,_0x474922,_0x24f16b=!0x1){if(!this['isEnabled'])return;const _0x3c0183=this['diff'],_0x317d44=this['repository'],_0x2a516d='string'==typeof _0x4b269d?_0x317d44['getRevision'](_0x4b269d):_0x4b269d,_0x414047='string'==typeof _0x474922?_0x317d44['getRevision'](_0x474922):_0x474922,_0x5cda64=_0x2a516d['id'],_0x440047=_0x414047?_0x414047['id']:null;if(!_0x24f16b&&this['diff']&&this['diff']['newRevisionId']===_0x5cda64&&this['diff']['oldRevisionId']===_0x440047)return Promise['resolve']();this['isReady']=!0x1,this['activeView']=null,this['activeChange']=null,this['diff']=new f(_0x5cda64,_0x440047);const _0x29b0e2=this['_getRevisionsRange'](_0x2a516d,_0x414047,!0x0)['map'](_0x3be6f4=>this['loadRevisionData'](_0x3be6f4));return _0x29b0e2['push'](new Promise(_0x57e745=>{setTimeout(_0x57e745,0x14);})),Promise['all'](_0x29b0e2)['then'](()=>{if(!this['isEnabled'])return;this['_cleanUp']();const _0xc02c1c=this['_getDiff'](_0x5cda64,_0x440047);for(const _0x1b054e of _0xc02c1c['changes'])this['_changeIdToChange']['set'](_0x1b054e['id'],_0x1b054e);this['editor']['model']['enqueueChange']({'isUndoable':!0x1},_0x454671=>{for(const _0xc47900 of this['editor']['model']['document']['getRootNames']())_0x454671['detachRoot'](_0xc47900);for(const _0x418f5d of Object['keys'](_0xc02c1c['model'])){const _0x437276=_0x454671['addRoot'](_0x418f5d);for(const _0x49b150 of Object['keys'](_0xc02c1c['attributes'][_0x418f5d]))_0x454671['setAttribute'](_0x49b150,_0xc02c1c['attributes'][_0x418f5d][_0x49b150],_0x437276);_0x454671['insert'](_0xc02c1c['model'][_0x418f5d],_0x437276,0x0);}}),this['diff']['_setChanges'](this['_sortAndFilterDiffChanges'](_0xc02c1c['changes'])),this['isReady']=!0x0;})['catch'](_0x2c6ebd=>{console['error'](_0x2c6ebd),this['_cleanUp'](),_0x3c0183&&(this['diff']=_0x3c0183),this['isReady']=!0x0;});}['addRevisionData'](_0x2eb4b7,_0x187a33){const _0x5566f5=this['repository']['createRevision'](_0x2eb4b7);return _0x5566f5['on']('_update',(_0xb015db,_0x191bac,_0x20469a)=>_0x187a33(_0x191bac,_0x20469a,_0x5566f5)),this['repository']['addRevision'](_0x5566f5),_0x5566f5;}['loadRevisionData'](_0x1390ca){if(!_0x1390ca||_0x1390ca['diffData'])return Promise['resolve']();{const _0x37b7b2=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0x37b7b2,'revisionId':_0x1390ca['id']})['then'](_0x343a11=>{_0x1390ca['_update']({'diffData':_0x343a11['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},_0x78cec4=>{for(const _0x4f04b1 of this['editor']['model']['document']['getRootNames']())_0x78cec4['detachRoot'](_0x4f04b1);});}['_sortAndFilterDiffChanges'](_0x535bef){const _0x2c569b=[],_0x1fb3df=new Map();for(const _0x8e7664 of this['editor']['model']['document']['getRootNames']()){const _0x21d7be=this['editor']['editing']['view']['getDomRoot'](_0x8e7664);if(!_0x21d7be)continue;const _0x2081df=_0x21d7be['getClientRects']()['item'](0x0);_0x2081df&&(_0x2c569b['push'](_0x8e7664),_0x1fb3df['set'](_0x8e7664,_0x2081df));}return _0x2c569b['sort']((_0x4f6c22,_0x526e5c)=>{const _0x5e7405=_0x1fb3df['get'](_0x4f6c22),_0x23ed0a=_0x1fb3df['get'](_0x526e5c);return _0x5e7405['y']-_0x23ed0a['y']||_0x5e7405['x']-_0x23ed0a['x'];}),(_0x535bef=_0x535bef['filter'](_0x28a005=>_0x2c569b['includes'](_0x28a005['rootName'])))['sort']((_0x2a3d95,_0x4cee91)=>_0x2c569b['indexOf'](_0x2a3d95['rootName'])-_0x2c569b['indexOf'](_0x4cee91['rootName'])),_0x535bef;}['_makeTape'](_0x54ec2f){const _0x474c36=Array['from'](_0x54ec2f['markers'])['filter'](([_0x188d45,_0x1a70dc])=>_0x188d45['startsWith']('revision:')&&!_0x1a70dc['isCollapsed']),_0x195bce=Array['from'](this['editor']['model']['createRangeIn'](_0x54ec2f)['getWalker']({'singleCharacters':!0x0}));if(0x0!=_0x474c36['length'])for(const _0x404c03 of _0x195bce){const [_0x3f3235,_0xb19efa]=_0x474c36[0x0],[,_0x2abb06,_0xa4985a]=_0x3f3235['split'](':');if(_0xb19efa['end']['isEqual'](_0x404c03['nextPosition'])&&_0x474c36['shift'](),(_0x404c03['previousPosition']['isEqual'](_0xb19efa['start'])||_0x404c03['previousPosition']['isAfter'](_0xb19efa['start']))&&('insertion'==_0x2abb06?_0x404c03['isAdded']={'userId':_0xa4985a}:'deletion'==_0x2abb06&&(_0x404c03['isRemoved']={'userId':_0xa4985a})),0x0==_0x474c36['length'])break;}return _0x195bce;}['_refreshStartEndIndex'](_0x40c325){const _0xc3bd7e=new Map();for(let _0x342413=0x0;_0x342413<_0x40c325['length'];_0x342413++)'text'===_0x40c325[_0x342413]['type']?(_0x40c325[_0x342413]['item']['startIndex']=_0x342413,_0x40c325[_0x342413]['item']['endIndex']=_0x342413):('elementStart'===_0x40c325[_0x342413]['type']?_0x40c325[_0x342413]['item']['startIndex']=_0x342413:'elementEnd'===_0x40c325[_0x342413]['type']&&(_0x40c325[_0x342413]['item']['endIndex']=_0x342413),_0xc3bd7e['set'](_0x40c325[_0x342413]['id'],_0x342413));for(const _0x2ed9bd of _0xc3bd7e['values']())'elementStart'===_0x40c325[_0x2ed9bd]['type']?_0x40c325[_0x2ed9bd]['item']['endIndex']=_0xc3bd7e['get'](_0x40c325[_0x2ed9bd]['pairId']):'elementEnd'===_0x40c325[_0x2ed9bd]['type']&&(_0x40c325[_0x2ed9bd]['item']['startIndex']=_0xc3bd7e['get'](_0x40c325[_0x2ed9bd]['pairId']));}['_processTape'](_0x807a9){for(let _0x5f3042=0x0;_0x5f3042<_0x807a9['length'];_0x5f3042++){if('elementStart'===_0x807a9[_0x5f3042]['type'])_0x807a9[_0x5f3042]['item']['startIndex']=_0x5f3042;else{if('elementEnd'===_0x807a9[_0x5f3042]['type']){_0x807a9[_0x5f3042]['item']['endIndex']=_0x5f3042;const _0x45f27b=_0x807a9[_0x5f3042]['item']['startIndex'];_0x807a9[_0x45f27b]['pairId']=_0x807a9[_0x5f3042]['id'],_0x807a9[_0x5f3042]['pairId']=_0x807a9[_0x45f27b]['id'];}else _0x807a9[_0x5f3042]['item']['startIndex']=_0x5f3042,_0x807a9[_0x5f3042]['item']['endIndex']=_0x5f3042,_0x807a9[_0x5f3042]['pairId']=null;}_0x807a9[_0x5f3042]['markersStart']||(_0x807a9[_0x5f3042]['markersStart']=[],_0x807a9[_0x5f3042]['markersEnd']=[]);}}['_markInsertions'](_0xe23bed,_0x12ebdd){const _0x2b477c=_0xe23bed['filter'](_0x380964=>!_0x380964['isAdded']);for(let _0x3f6d62=0x0;_0x3f6d62<_0x12ebdd['length'];_0x3f6d62++)_0x12ebdd[_0x3f6d62]['isAdded']&&(_0x2b477c[_0x3f6d62]['isAdded']=_0x12ebdd[_0x3f6d62]['isAdded']);}['_makeModelFromViewString'](_0x5a1413){const _0x3224b8=JSON['parse'](_0x5a1413),_0x2c7c37=this['editor']['editing']['view']['document'],_0x4fb7e8=new _0x2c55d3(_0x2c7c37,_0x3224b8['map'](_0x33822e=>this['_getViewObj'](_0x33822e)));return this['editor']['data']['toModel'](_0x4fb7e8);}['_getViewObj'](_0x2f309b){const _0x758953=this['editor']['editing']['view']['document'];if('string'==typeof _0x2f309b)return new _0x254a22(_0x758953,_0x2f309b);{const _0x4b2b58=_0x2f309b['children']['map'](_0x444ed2=>this['_getViewObj'](_0x444ed2));return new(tt[_0x2f309b['type']]||_0x5772b6)(_0x758953,_0x2f309b['name'],_0x2f309b['attributes'],_0x4b2b58);}}['_getDiff'](_0x272d35,_0x6c1b3e=null){const _0x10fb11=this['repository']['getRevision'](_0x272d35),_0x4c2a47=_0x6c1b3e?this['repository']['getRevision'](_0x6c1b3e):null,_0xd8d692=this['_getRevisionsRange'](_0x10fb11,_0x4c2a47),_0x3a746c=_0xd8d692[_0xd8d692['length']-0x1],_0x26dfc8=new Map(),_0x1b7d6e={'model':{},'attributes':{},'changes':[]},_0x21e3ee=new Set(),_0x50ed6e=new Map();for(let _0xb0161f=_0xd8d692['length']-0x1;_0xb0161f>=0x0;_0xb0161f--){const _0x477b00=_0xd8d692[_0xb0161f];for(const _0x442e74 of Object['keys'](_0x477b00['diffData']))if(_0x477b00['diffData'][_0x442e74]['attachChange']){const _0x1691eb=_0x477b00['diffData'][_0x442e74]['attachChange'];_0x1691eb['isAttached']?(_0x21e3ee['add'](_0x442e74),_0x50ed6e['has'](_0x442e74)&&_0x50ed6e['get'](_0x442e74)['userId']==_0x1691eb['userId']?_0x50ed6e['delete'](_0x442e74):_0x50ed6e['set'](_0x442e74,_0x1691eb)):_0x50ed6e['has'](_0x442e74)?(_0x21e3ee['delete'](_0x442e74),_0x50ed6e['delete'](_0x442e74)):(_0x21e3ee['add'](_0x442e74),_0x50ed6e['set'](_0x442e74,_0x1691eb));}else _0x21e3ee['add'](_0x442e74);}for(const _0x29a0e7 of _0x21e3ee){const _0x2dd8bd=_0x50ed6e['has'](_0x29a0e7)&&!_0x50ed6e['get'](_0x29a0e7)['isAttached'];let _0x1d3046=_0x2dd8bd?_0xd8d692['length']-0x1:0x0;const _0x3a9a21=_0x2dd8bd?-0x1:0x1;for(;_0xd8d692[_0x1d3046];){const _0x486b70=_0xd8d692[_0x1d3046];if(_0x486b70['diffData'][_0x29a0e7]){const _0x196ab2=_0x2dd8bd?_0x486b70['diffData'][_0x29a0e7]['attributesBefore']:_0x486b70['diffData'][_0x29a0e7]['attributesAfter'];_0x1b7d6e['attributes'][_0x29a0e7]=_0x196ab2?_0x570ac4(_0x196ab2):{};break;}_0x1d3046+=_0x3a9a21;}}for(const _0x39eb2f of _0xd8d692){_0x39eb2f['model']={};for(const _0x2dfa38 of _0x39eb2f['authors'])_0x26dfc8['set'](_0x2dfa38['id'],_0x2dfa38);for(const _0x1cfa68 of _0x21e3ee){const _0x117e07=_0x39eb2f['diffData'][_0x1cfa68]?_0x39eb2f['diffData'][_0x1cfa68]['insertions']:'[]',_0x116458=_0x39eb2f['diffData'][_0x1cfa68]?_0x39eb2f['diffData'][_0x1cfa68]['deletions']:'[]';_0x39eb2f['model'][_0x1cfa68]={'insertions':this['_makeModelFromViewString'](_0x117e07),'deletions':this['_makeModelFromViewString'](_0x116458)};}}for(const _0x170789 of _0x21e3ee){let _0x74e8ea=null,_0x1a313f=0x0;const _0x75b231=new Map(Array['from'](_0x10fb11['model'][_0x170789]['insertions']['markers'])['filter'](([_0x263bbc])=>!_0x263bbc['startsWith']('revision:')));let _0x2d4ad5=0x0;for(const _0x1b9781 of _0xd8d692){const _0x4c112b=this['_makeTape'](_0x1b9781['model'][_0x170789]['insertions']);_0x1b9781==_0x10fb11?(_0x74e8ea=_0x4c112b,_0x1a313f=_0x74e8ea['length'],_0x74e8ea['forEach'](_0x4ea762=>{_0x4ea762['id']=_0x2d4ad5++;}),this['_processTape'](_0x74e8ea)):this['_markInsertions'](_0x74e8ea,_0x4c112b);const _0xfb9468=_0x74e8ea['filter'](_0x376066=>!_0x376066['isAdded'])['map'](_0x5c8d2d=>_0x5c8d2d['id']);let _0x210461=0x0;const _0x1a1f80=this['_makeTape'](_0x1b9781['model'][_0x170789]['deletions']);_0x1a1f80['forEach'](_0x540c4b=>{_0x540c4b['isRemoved']?_0x540c4b['id']=_0x1a313f++:_0x540c4b['id']=_0xfb9468[_0x210461++];}),this['_processTape'](_0x1a1f80),this['_setDistance'](_0x74e8ea,'isAdded'),this['_setDistance'](_0x1a1f80,'isRemoved'),_0x1b9781==_0x10fb11&&this['_markMarkers'](_0x74e8ea,_0x75b231),_0x74e8ea=this['_joinTapes'](_0x74e8ea,_0x1a1f80),this['_refreshStartEndIndex'](_0x74e8ea),this['_setDistance'](_0x74e8ea,'isRemoved');}_0x74e8ea=_0x74e8ea['filter'](_0x5c95f8=>!(_0x5c95f8['isAdded']&&_0x5c95f8['isRemoved']));const _0x39bba9=new Map(_0x3a746c['model'][_0x170789]['deletions']['markers']),_0x52f59f=new Set(_0x75b231['keys']());for(const _0x128485 of _0x39bba9['keys']())_0x52f59f['delete'](_0x128485);this['_markSuggestions'](_0x74e8ea,_0x52f59f),this['_fixObsoleteTags'](_0x74e8ea),_0x74e8ea=this['_removeMissingPairs'](_0x74e8ea),_0x74e8ea=this['_markMismatchedRemovedTags'](_0x74e8ea),_0x74e8ea=this['_removeUnsupportedChanges'](_0x74e8ea);const {root:_0x48e47d,changes:_0x3de43a}=this['_makeModelFromTape'](_0x74e8ea,_0x26dfc8,_0x170789);_0x1b7d6e['model'][_0x170789]=_0x48e47d;const _0x4cdb2c=_0x50ed6e['get'](_0x170789);if(_0x4cdb2c){const _0x3096a1=_0x26dfc8['get'](_0x4cdb2c['userId']),_0x540e53=new r({'author':_0x3096a1,'type':_0x4cdb2c['isAttached']?'add':'remove','data':{'isOnRoot':!0x0},'createdAt':new Date(),'rootName':_0x170789});_0x3de43a['unshift'](_0x540e53),_0x1b7d6e['attributes'][_0x170789]['revisionHistoryAttachChange']=_0x540e53['id'];}_0x1b7d6e['changes']=_0x1b7d6e['changes']['concat'](_0x3de43a);}return _0x1b7d6e;}['_markMarkers'](_0xc71f9e,_0x16d330){for(let _0x4f4d83=0x0;_0x4f4d83<_0xc71f9e['length'];_0x4f4d83++)for(const [_0x4db4ba,_0x3ab0a2]of _0x16d330)_0x3ab0a2['start']['isEqual'](_0xc71f9e[_0x4f4d83]['previousPosition'])&&_0xc71f9e[_0x4f4d83]['markersStart']['push'](_0x4db4ba),_0x3ab0a2['end']['isEqual'](_0xc71f9e[_0x4f4d83]['nextPosition'])&&_0xc71f9e[_0x4f4d83]['markersEnd']['push'](_0x4db4ba);}['_joinTapes'](_0x1fde01,_0x304b39){let _0x3fd019=[],_0x9123d4=0x0,_0xc7dd60=0x0;for(;_0x9123d4<_0x1fde01['length']||_0xc7dd60<_0x304b39['length'];){const _0x46097f=_0x1fde01[_0x9123d4]||{},_0xa5bd9b=_0x304b39[_0xc7dd60]||{};if(_0x46097f['id']==_0xa5bd9b['id'])_0x9123d4++,_0xc7dd60++,_0x3fd019['push'](_0x46097f);else{if(_0xa5bd9b['isRemoved']&&_0x46097f['isAdded']){const {commonTape:_0x152b22,iEnd:_0x276943,jEnd:_0x21b97e}=this['_threeWayMerge'](_0x1fde01,_0x9123d4,_0x304b39,_0xc7dd60);_0x3fd019=_0x3fd019['concat'](_0x152b22),_0x9123d4=_0x276943,_0xc7dd60=_0x21b97e;}else _0xa5bd9b['isRemoved']?(_0xc7dd60++,_0x3fd019['push'](_0xa5bd9b)):(_0x9123d4++,_0x3fd019['push'](_0x46097f));}}return _0x3fd019;}['_markSuggestions'](_0x2b4479,_0x5d389f){const _0x8995aa=[];for(let _0x94bfe=0x0;_0x94bfe<_0x2b4479['length'];_0x94bfe++){for(let _0x98a168=0x0;_0x98a168<_0x2b4479[_0x94bfe]['markersStart']['length'];_0x98a168++){const _0x3702e1=_0x2b4479[_0x94bfe]['markersStart'][_0x98a168];if(!_0x5d389f['has'](_0x3702e1))continue;const {group:_0x16ff62,type:_0x18481c,authorId:_0x56b400}=_0x149615(_0x3702e1);'revision-suggestion'!=_0x16ff62||'insertion'!=_0x18481c&&'deletion'!=_0x18481c||(_0x8995aa['unshift']({'type':_0x18481c,'name':_0x3702e1,'userId':_0x56b400}),_0x2b4479[_0x94bfe]['markersStart']['splice'](_0x98a168,0x1),_0x98a168--);}_0x1927d3(_0x2b4479[_0x94bfe]);for(let _0x6df2df=0x0;_0x6df2df<_0x2b4479[_0x94bfe]['markersEnd']['length'];_0x6df2df++){const _0x337711=_0x2b4479[_0x94bfe]['markersEnd'][_0x6df2df];if(!_0x5d389f['has'](_0x337711))continue;const {group:_0x36c830,type:_0x589eed}=_0x149615(_0x337711);if('revision-suggestion'!=_0x36c830||'insertion'!=_0x589eed&&'deletion'!=_0x589eed)continue;_0x2b4479[_0x94bfe]['markersEnd']['splice'](_0x6df2df,0x1),_0x6df2df--;const _0x44318d=_0x8995aa['findIndex'](_0x418405=>_0x418405['name']==_0x337711);_0x44318d>-0x1&&_0x8995aa['splice'](_0x44318d,0x1);}}function _0x149615(_0x25c4e8){const _0x1d30ac=_0x25c4e8['split'](':');return{'group':_0x1d30ac[0x0],'type':_0x1d30ac[0x1],'subType':_0x1d30ac['length']>=0x5?_0x1d30ac[0x2]:null,'id':_0x1d30ac['length']<0x5?_0x1d30ac[0x2]:_0x1d30ac[0x3],'authorId':_0x1d30ac['length']<0x5?_0x1d30ac[0x3]:_0x1d30ac[0x4],'markerCount':0x6==_0x1d30ac['length']?_0x1d30ac[0x5]:null};}function _0x1927d3(_0x3f19df){for(let _0x4c8953=0x0;_0x4c8953<_0x8995aa['length'];_0x4c8953++){if(_0x3f19df['isAdded']&&'insertion'==_0x8995aa[_0x4c8953]['type'])return _0x3f19df['isAddSuggestion']=_0x8995aa[_0x4c8953],void delete _0x3f19df['isAdded'];if(!_0x3f19df['isAdded']&&!_0x3f19df['isRemoved']&&'deletion'==_0x8995aa[_0x4c8953]['type'])return void(_0x3f19df['isRemoveSuggestion']=_0x8995aa[_0x4c8953]);}}}['_setDistance'](_0x4c1cb5,_0x408371){let _0x59e1f1=0x0,_0x5449ca=!0x1;const _0x28e8e7=new Map();for(const _0x499ef0 of _0x4c1cb5)_0x499ef0[_0x408371]?_0x5449ca&&(_0x59e1f1++,_0x5449ca=!0x1):(_0x59e1f1++,_0x5449ca=!0x0),_0x28e8e7['set'](_0x499ef0['id'],_0x59e1f1);for(let _0xec2941=0x0;_0xec2941<_0x4c1cb5['length'];_0xec2941++){if('isRemoved'==_0x408371&&_0x4c1cb5[_0xec2941]['isAdded']||'isAdded'==_0x408371&&_0x4c1cb5[_0xec2941]['isRemoved'])continue;if('text'==_0x4c1cb5[_0xec2941]['type']){_0x4c1cb5[_0xec2941]['distance']=0x0;continue;}const _0x305d56=_0x28e8e7['get'](_0x4c1cb5[_0xec2941]['pairId']),_0x4655af=_0x28e8e7['get'](_0x4c1cb5[_0xec2941]['id']);_0x4c1cb5[_0xec2941]['distance']=_0x305d56-_0x4655af;}}['_getRevisionsRange'](_0x34123c,_0x393442,_0x42fc7b=!0x1){const _0x817fde=[];let _0x523689=this['repository']['getIndex'](_0x34123c),_0x41d141=this['repository']['getIndex'](_0x393442);for(-0x1==_0x41d141&&(_0x41d141=this['repository']['_revisions']['length'],_0x42fc7b=!0x1);_0x523689<_0x41d141;)_0x817fde['push'](this['repository']['getRevision'](_0x523689)),_0x523689++;return _0x42fc7b&&_0x817fde['push'](this['repository']['getRevision'](_0x523689)),_0x817fde;}['_threeWayMerge'](_0x2c8930,_0x3d26f5,_0x51f8f6,_0x50204f){const _0xcbb764=this['editor']['model']['schema'];let _0x4380d6=_0x3d26f5;for(;_0x2c8930[_0x4380d6]&&_0x2c8930[_0x4380d6]['isAdded'];)_0x4380d6++;let _0x16357d=_0x50204f;for(;_0x51f8f6[_0x16357d]&&_0x51f8f6[_0x16357d]['isRemoved'];)_0x16357d++;_0x1ee770(_0x2c8930,_0x3d26f5,_0x4380d6),_0x1ee770(_0x51f8f6,_0x50204f,_0x16357d);const _0x962625=_0x51f8f6['slice'](_0x50204f,_0x16357d)['concat'](_0x2c8930['slice'](_0x3d26f5,_0x4380d6));return _0x962625['sort']((_0x257500,_0xedbc37)=>_0x257500['side']!=_0xedbc37['side']?_0x257500['side']-_0xedbc37['side']:_0x257500['level']!=_0xedbc37['level']?_0x257500['level']-_0xedbc37['level']:_0x257500['distance']!=_0xedbc37['distance']?_0xedbc37['distance']-_0x257500['distance']:!!_0x257500['isAdded']!=!!_0xedbc37['isAdded']?-0x1==_0x257500['side']||0x0==_0x257500['side']?_0x257500['isAdded']?-0x1:0x1:_0x257500['isAdded']?0x1:-0x1:_0x257500['index']-_0xedbc37['index']),{'commonTape':_0x962625,'iEnd':_0x4380d6,'jEnd':_0x16357d};function _0x1ee770(_0x4cc070,_0x1137b5,_0x38da){let _0x14fc1f=-0x1,_0x56a731=Number['POSITIVE_INFINITY'],_0x3c8e9c=!0x0;for(let _0x1f3e08=_0x1137b5;_0x1f3e08<_0x38da;_0x1f3e08++)if(_0xcbb764['isInline'](_0x4cc070[_0x1f3e08]['item'])||(_0x3c8e9c=!0x1),_0x4cc070[_0x1f3e08]['item']['startIndex']<_0x1137b5&&(_0x14fc1f=_0x1f3e08),_0x4cc070[_0x1f3e08]['item']['endIndex']>=_0x38da){_0x56a731=_0x1f3e08;break;}_0x3c8e9c&&(_0x14fc1f=_0x38da-0x1);for(let _0x43b445=_0x1137b5;_0x43b445<_0x38da;_0x43b445++)_0x4cc070[_0x43b445]['side']=_0x43b445<=_0x14fc1f?-0x1:_0x43b445<_0x56a731?0x0:0x1,_0x4cc070[_0x43b445]['index']=_0x43b445;let _0x252fff=0x0;for(let _0x40f76c=_0x1137b5;_0x40f76c<=_0x14fc1f;_0x40f76c++)0x0==_0x4cc070[_0x40f76c]['distance']?_0x4cc070[_0x40f76c]['level']=_0x252fff:(_0x252fff++,_0x4cc070[_0x40f76c]['level']=_0x252fff,_0x252fff++);for(let _0x27112b=_0x1137b5;_0x27112b<_0x38da;_0x27112b++)0x0==_0x4cc070[_0x27112b]['side']&&(_0x4cc070[_0x27112b]['level']=_0x252fff);_0x252fff=0x0;for(let _0x349aa0=_0x38da-0x1;_0x349aa0>=_0x56a731;_0x349aa0--)0x0==_0x4cc070[_0x349aa0]['distance']?_0x4cc070[_0x349aa0]['level']=_0x252fff:(_0x252fff--,_0x4cc070[_0x349aa0]['level']=_0x252fff,_0x252fff--);}}['_fixObsoleteTags'](_0x375b8e){const _0x2d4cb9=new Map(),_0x3ef275=this['editor']['model']['schema'];for(let _0x18d6a7=0x1;_0x18d6a7<_0x375b8e['length'];_0x18d6a7++){let _0xd4e978,_0x93d8bf,_0x34865b;const _0x183c01=_0x375b8e[_0x18d6a7],_0x42c7d7=_0x375b8e[_0x18d6a7-0x1];if('text'==_0x183c01['type'])continue;if(_0x183c01['type']!=_0x42c7d7['type'])continue;if(!_0x3ef275['isBlock'](_0x42c7d7['item'])||_0x3ef275['isLimit'](_0x42c7d7['item']))continue;if(!_0x3ef275['isBlock'](_0x183c01['item'])||_0x3ef275['isLimit'](_0x183c01['item']))continue;if((_0x375b8e[_0x18d6a7]['isAdded']||_0x375b8e[_0x18d6a7]['isAddSuggestion'])&&_0x375b8e[_0x18d6a7-0x1]['isRemoved'])_0xd4e978=_0x375b8e[_0x18d6a7],_0x93d8bf=_0x375b8e[_0x18d6a7-0x1],_0x34865b=_0x18d6a7-0x1;else{if(!_0x375b8e[_0x18d6a7]['isRemoved']||!_0x375b8e[_0x18d6a7-0x1]['isAdded']&&!_0x375b8e[_0x18d6a7-0x1]['isAddSuggestion'])continue;_0xd4e978=_0x375b8e[_0x18d6a7-0x1],_0x93d8bf=_0x375b8e[_0x18d6a7],_0x34865b=_0x18d6a7;}const _0x2f2c3d=_0xd4e978['level']==_0x93d8bf['level'],_0x293105=Math['abs'](_0xd4e978['level'])<Math['abs'](_0x93d8bf['level'])&&0x0==_0x93d8bf['distance'];(_0x2f2c3d||_0x293105)&&(_0x2d4cb9['set'](_0x93d8bf['id'],_0xd4e978['id']),_0x375b8e['splice'](_0x34865b,0x1),_0x18d6a7--,_0xd4e978['isAdded']=!0x1);}for(let _0x2ff5ae=0x0;_0x2ff5ae<_0x375b8e['length'];_0x2ff5ae++)_0x2d4cb9['has'](_0x375b8e[_0x2ff5ae]['pairId'])&&(_0x375b8e[_0x2ff5ae]['pairId']=_0x2d4cb9['get'](_0x375b8e[_0x2ff5ae]['pairId']));}['_removeMissingPairs'](_0x1e05ac){const _0x590830=new Set(_0x1e05ac['map'](_0x51f45a=>_0x51f45a['id']));for(let _0x55d50b=0x0;_0x55d50b<_0x1e05ac['length'];_0x55d50b++)_0x590830['has'](_0x1e05ac[_0x55d50b]['pairId'])||0x0==_0x1e05ac[_0x55d50b]['distance']||(_0x1e05ac[_0x55d50b]['isIncorrect']=!0x0);return _0x1e05ac['filter'](_0x490503=>!_0x490503['isIncorrect']);}['_markMismatchedRemovedTags'](_0x1c915c){const _0x11bb14=new Set();for(let _0x11f7e7=0x0;_0x11f7e7<_0x1c915c['length'];_0x11f7e7++){if(_0x11bb14['has'](_0x1c915c[_0x11f7e7]['id'])&&_0x1c915c[_0x11f7e7]['isRemoved']&&(_0x1c915c[_0x11f7e7]['isIncorrect']=!0x0),_0x1c915c[_0x11f7e7]['isIncorrect'])continue;if(0x0==_0x1c915c[_0x11f7e7]['distance'])continue;if('elementStart'!=_0x1c915c[_0x11f7e7]['type'])continue;if(null==_0x1c915c[_0x11f7e7]['pairId'])continue;let _0x1b6965=_0x11f7e7+0x1,_0x44027b=0x0;for(;_0x1c915c[_0x1b6965]['id']!=_0x1c915c[_0x11f7e7]['pairId'];)'elementStart'==_0x1c915c[_0x1b6965]['type']?_0x44027b++:'elementEnd'==_0x1c915c[_0x1b6965]['type']&&_0x44027b--,_0x1b6965++;if(0x0!=_0x44027b){if(_0x1c915c[_0x11f7e7]['isRemoved'])_0x1c915c[_0x11f7e7]['isIncorrect']=!0x0;else{for(;_0x1b6965!=_0x11f7e7;)_0x1c915c[_0x1b6965]['isRemoved']&&0x0!=_0x1c915c[_0x1b6965]['distance']&&(_0x1c915c[_0x1b6965]['isIncorrect']=!0x0,_0x11bb14['add'](_0x1c915c[_0x1b6965]['pairId'])),_0x1b6965--;}}}return _0x1c915c['filter'](_0x4dc5d6=>!_0x4dc5d6['isIncorrect']);}['_removeUnsupportedChanges'](_0x43cf47){const _0x104916=this['editor']['model']['schema'];for(let _0x2c5f49=0x0;_0x2c5f49<_0x43cf47['length'];_0x2c5f49++){if(!(_0x43cf47[_0x2c5f49]['isAdded']||_0x43cf47[_0x2c5f49]['isAddSuggestion']||_0x43cf47[_0x2c5f49]['isRemoved']||_0x43cf47[_0x2c5f49]['isRemoveSuggestion']))continue;if(0x0==_0x43cf47[_0x2c5f49]['distance'])continue;const _0x3c81a2=_0x43cf47[_0x2c5f49]['item'];_0x104916['isBlock'](_0x3c81a2)||_0x104916['isLimit'](_0x3c81a2)||(_0x43cf47[_0x2c5f49]['isAdded']&&delete _0x43cf47[_0x2c5f49]['isAdded'],_0x43cf47[_0x2c5f49]['isAddSuggestion']&&delete _0x43cf47[_0x2c5f49]['isAddSuggestion'],_0x43cf47[_0x2c5f49]['isRemoveSuggestion']&&delete _0x43cf47[_0x2c5f49]['isRemoveSuggestion'],_0x43cf47[_0x2c5f49]['isRemoved']&&(_0x43cf47[_0x2c5f49]['isIncorrect']=!0x0));}return _0x43cf47['filter'](_0x2c01b1=>!_0x2c01b1['isIncorrect']);}['_makeModelFromTape'](_0x10cbe4,_0x4a2ee3,_0x283826){const _0xe5d1a9=new wt(),_0xf6d968=[],_0x2c419d=new Map(),_0x194872=this['editor']['model'],_0x5cdd3f=_0x194872['schema'],_0x36126b=[_0xe5d1a9],_0x598935={},_0x373eff={'isAdded':[],'isRemoved':[],'isAddSuggestion':[],'isRemoveSuggestion':[]};let _0x3f9a5e=null;const _0x847177=[0x0];for(let _0x50d398=0x0;_0x50d398<_0x10cbe4['length'];_0x50d398++){let _0x2bf2d7,_0x16852e;if('elementStart'===_0x10cbe4[_0x50d398]['type']){_0x2bf2d7=_0x194872['createPositionFromPath'](_0xe5d1a9,_0x847177);const _0x4b876f=new ft(_0x10cbe4[_0x50d398]['item']['name'],_0x10cbe4[_0x50d398]['item']['getAttributes']());_0x36126b[0x0]['_appendChild'](_0x4b876f),_0x847177['push'](0x0),_0x36126b['unshift'](_0x4b876f),_0x16852e=_0x194872['createPositionFromPath'](_0xe5d1a9,_0x847177),_0x3f9a5e=null;}else{if('elementEnd'===_0x10cbe4[_0x50d398]['type'])_0x36126b['shift'](),_0x2bf2d7=_0x194872['createPositionFromPath'](_0xe5d1a9,_0x847177),_0x847177['pop'](),_0x847177[_0x847177['length']-0x1]++,_0x16852e=_0x194872['createPositionFromPath'](_0xe5d1a9,_0x847177),_0x3f9a5e=null;else{if(_0x2bf2d7=_0x194872['createPositionFromPath'](_0xe5d1a9,_0x847177),_0x3f9a5e&&_0x3fb3bb(_0x3f9a5e,_0x10cbe4[_0x50d398]['item']))_0x3f9a5e['_data']+=_0x10cbe4[_0x50d398]['item']['data'];else{const _0xcc8ec=new _t(_0x10cbe4[_0x50d398]['item']['data'],_0x10cbe4[_0x50d398]['item']['getAttributes']());_0x36126b[0x0]['_appendChild'](_0xcc8ec),_0x3f9a5e=_0xcc8ec;}_0x847177[_0x847177['length']-0x1]+=_0x10cbe4[_0x50d398]['item']['offsetSize'],_0x16852e=_0x194872['createPositionFromPath'](_0xe5d1a9,_0x847177);}}for(const _0x165c96 of _0x10cbe4[_0x50d398]['markersStart'])_0x2c419d['set'](_0x165c96,{'start':_0x2bf2d7,'end':null});_0x32471f('isRemoveSuggestion',_0x50d398,_0x2bf2d7,_0x16852e),_0x32471f('isAddSuggestion',_0x50d398,_0x2bf2d7,_0x16852e),_0x32471f('isRemoved',_0x50d398,_0x2bf2d7,_0x16852e),_0x32471f('isAdded',_0x50d398,_0x2bf2d7,_0x16852e);for(const _0x34d73f of _0x10cbe4[_0x50d398]['markersEnd']){_0x2c419d['get'](_0x34d73f)['end']=_0x16852e;}}for(const [_0x53dbfc,_0x5d7753]of _0x2c419d){const _0x3be884=this['editor']['model']['createRange'](_0x5d7753['start'],_0x5d7753['end']);_0xe5d1a9['markers']['set'](_0x53dbfc,_0x3be884);}return _0xf6d968['sort']((_0x2236d1,_0x8fa7f0)=>{const _0x2e6236=_0xe5d1a9['markers']['get']('revision:'+_0x2236d1['id']),_0x1c31e4=_0xe5d1a9['markers']['get']('revision:'+_0x8fa7f0['id']);return _0x2e6236['start']['isBefore'](_0x1c31e4['start'])?-0x1:_0x2e6236['start']['isAfter'](_0x1c31e4['start'])?0x1:_0x2e6236['end']['isBefore'](_0x1c31e4['end'])?-0x1:_0x2e6236['end']['isAfter'](_0x1c31e4['end'])?0x1:'add'===_0x2236d1['type']?-0x1:0x1;}),{'root':_0xe5d1a9,'changes':_0xf6d968};function _0x32471f(_0x829cdf,_0x2f5d5f,_0x120b1c,_0x518ed2){const _0x2fdb5a=!!_0x10cbe4[_0x2f5d5f][_0x829cdf],_0x4efd5e=_0x2fdb5a?_0x10cbe4[_0x2f5d5f][_0x829cdf]['userId']:null,_0x23dadc=_0x2f5d5f===_0x10cbe4['length']-0x1,_0x166cc8=_0x373eff[_0x829cdf][0x0],_0x4a825c=_0x5cdd3f['isObject'](_0x10cbe4[_0x2f5d5f]['item']);!_0x598935[_0x829cdf]&&_0x2fdb5a?_0x598935[_0x829cdf]={'start':_0x120b1c,'tapeItem':_0x10cbe4[_0x2f5d5f],'userId':_0x4efd5e,'type':_0x829cdf}:_0x598935[_0x829cdf]&&!_0x2fdb5a?(_0x598935[_0x829cdf]['end']=_0x120b1c,_0x208ba1(_0x598935[_0x829cdf]),_0x598935[_0x829cdf]=null):_0x598935[_0x829cdf]&&_0x2fdb5a&&_0x598935[_0x829cdf]['userId']!==_0x4efd5e&&(_0x598935[_0x829cdf]['end']=_0x120b1c,_0x166cc8&&_0x166cc8['userId']===_0x598935[_0x829cdf]['userId']||_0x208ba1(_0x598935[_0x829cdf]),_0x598935[_0x829cdf]={'start':_0x120b1c,'tapeItem':_0x10cbe4[_0x2f5d5f],'userId':_0x4efd5e,'type':_0x829cdf}),_0x598935[_0x829cdf]&&_0x4a825c&&('elementStart'!==_0x10cbe4[_0x2f5d5f]['type']||_0x166cc8&&_0x166cc8['userId']===_0x4efd5e||_0x373eff[_0x829cdf]['unshift']({'userId':_0x4efd5e,'object':_0x10cbe4[_0x2f5d5f]['item'],'change':_0x598935[_0x829cdf]}),'elementEnd'===_0x10cbe4[_0x2f5d5f]['type']&&_0x166cc8&&_0x166cc8['object']===_0x10cbe4[_0x2f5d5f]['item']&&(_0x373eff[_0x829cdf]['shift'](),_0x598935[_0x829cdf]=_0x166cc8['change'])),_0x598935[_0x829cdf]&&_0x23dadc&&(_0x598935[_0x829cdf]['end']=_0x518ed2,_0x208ba1(_0x598935[_0x829cdf]),_0x598935[_0x829cdf]=null);}function _0x208ba1({start:_0x16439f,end:_0x266881,tapeItem:_0x2c35f0,userId:_0x4a1ce9,type:_0x445ac1}){const _0x1fbf36=_0x2c35f0['item'],_0x57d666=_0x194872['schema']['isBlock'](_0x1fbf36)&&!_0x194872['schema']['isLimit'](_0x1fbf36),_0x870eeb=_0x16439f['nodeAfter']==_0x266881['parent']&&_0x266881['isAtStart'];if(_0x57d666&&_0x870eeb)return;const _0x351c20=_0x194872['createRange'](_0x16439f,_0x266881),_0x518022=_0x4a2ee3['get'](_0x4a1ce9),_0x30c81c=new r({'author':_0x518022,'type':'isAdded'==_0x445ac1||'isAddSuggestion'==_0x445ac1?'add':'remove','data':{'isSuggestion':'isAddSuggestion'==_0x445ac1||'isRemoveSuggestion'==_0x445ac1},'createdAt':new Date(),'rootName':_0x283826});_0xf6d968['push'](_0x30c81c),_0xe5d1a9['markers']['set']('revision:'+_0x30c81c['id'],_0x351c20);}function _0x3fb3bb(_0x5d3fd8,_0x2a7f0e){const _0xc999a6=_0x5d3fd8['getAttributes'](),_0xbabf79=_0x2a7f0e['getAttributes']();for(const _0x52ece5 of _0xc999a6){if(_0x52ece5[0x1]!==_0x2a7f0e['getAttribute'](_0x52ece5[0x0]))return!0x1;_0xbabf79['next']();}return _0xbabf79['next']()['done'];}}['_setConversion'](){this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'revision'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision','view':_0x448249=>{const _0x4cc119=_0x448249['markerName']['split'](':')[0x1],_0x5c6388=this['_getChangeFromId'](_0x4cc119);if(!_0x5c6388)return null;const _0x21bba0='add'==_0x5c6388['type']?'insertion':'deletion',_0x57c7f4=['ck-suggestion-marker','ck-suggestion-marker-'+_0x21bba0];return _0x5c6388['data']['isSuggestion']&&_0x57c7f4['push']('ck-suggestion-marker-'+_0x21bba0+'-new'),this['activeChange']==_0x5c6388&&_0x57c7f4['push']('ck-suggestion-marker--active'),{'classes':_0x57c7f4,'attributes':{'data-change-id':_0x4cc119}};}}),this['editor']['conversion']['for']('upcast')['add'](_0x21250d=>{_0x21250d['on']('element:pre',(_0x55c6a1,_0x403502,_0x442adf)=>{const _0x26b191=_0x403502['viewItem']['getChild'](0x0);if(!_0x26b191||!_0x26b191['is']('element','code'))return;if(!_0x442adf['consumable']['consume'](_0x26b191,{'attributes':['vid_start','vid_end']}))return;const _0x8ab94e=_0x403502['modelRange']['start']['nodeAfter'];_0x442adf['writer']['setAttribute']('vid_start',_0x26b191['getAttribute']('vid_start'),_0x8ab94e),_0x442adf['writer']['setAttribute']('vid_end',_0x26b191['getAttribute']('vid_end'),_0x8ab94e);},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['add'](_0x4b7256=>{_0x4b7256['on']('element',(_0x5c34f9,_0x4f17c7,_0x347bad)=>{if(!_0x347bad['consumable']['consume'](_0x4f17c7['viewItem'],{'attributes':['vid_start','vid_end']}))return;if(_0x4f17c7['modelRange']['isCollapsed'])return;const _0x394cad=_0x4f17c7['modelRange']['start']['nodeAfter'];_0x394cad['hasAttribute']('vid_start')||_0x394cad['hasAttribute']('vid')||(_0x347bad['writer']['setAttribute']('vid_start',_0x4f17c7['viewItem']['getAttribute']('vid_start'),_0x394cad),_0x347bad['writer']['setAttribute']('vid_end',_0x4f17c7['viewItem']['getAttribute']('vid_end'),_0x394cad));},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['elementToAttribute']({'view':{'name':'span','attributes':{'vid':!0x0}},'model':{'key':'vid','value':_0x1dc4ef=>_0x1dc4ef['getAttribute']('vid')}}),this['editor']['model']['schema']['on']('checkAttribute',(_0x41e7ca,[,_0x582ba9])=>{['vid_start','vid_end','vid']['includes'](_0x582ba9)&&(_0x41e7ca['return']=!0x0,_0x41e7ca['stop']());},{'priority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['add'](_0x450a81=>{_0x450a81['on']('attribute:vid',(_0x52b92c,_0x55aea0,_0x23bd2e)=>{if('\x20'!=_0x55aea0['item']['data']||_0x55aea0['item']['parent']['maxOffset']>0x1)return;if(!_0x23bd2e['consumable']['consume'](_0x55aea0['item'],_0x52b92c['name']))return;const _0x322617=_0x23bd2e['writer'],_0x240615=_0x23bd2e['mapper']['toViewRange'](_0x55aea0['range']);_0x322617['wrap'](_0x240615,_0x322617['createAttributeElement']('span'));});}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',function(_0x34638b){const _0xebb7a9=_0x34638b['plugins']['get']('RevisionViewer');return(_0x472920,_0x161321,_0x33c4ea)=>{const _0x1357e4=_0x161321['markerName']['split'](':')[0x1],_0x4ed8dc=_0xebb7a9['_getChangeFromId'](_0x1357e4);if(!_0x4ed8dc)return null;const _0x2748e9='add'==_0x4ed8dc['type']?'split':'merge';if(!_0x33c4ea['consumable']['test'](_0x161321['markerRange'],_0x472920['name']))return;const _0x5781b3=_0x161321['markerRange']['getWalker'](),_0x266efc=_0x161321['markerRange']['start'],_0x321f1c=_0x34638b['model']['schema'];let _0x39b709=null,_0x4d9d47=null,_0x1d2c28=!0x1,_0x4cc500=!0x1;for(const _0x30a3da of _0x5781b3){const _0x265f72=_0x30a3da['item'];_0x1d2c28=_0x1d2c28||_0x321f1c['isContent'](_0x265f72);const _0x130343=_0x33c4ea['mapper']['toViewElement'](_0x265f72);if(_0x130343&&_0x130343['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x30a3da['type']&&(_0x321f1c['isBlock'](_0x265f72)&&!_0x321f1c['isLimit'](_0x265f72)&&(_0x265f72['nextSibling']||_0x266efc['isAtEnd']?_0x39b709&&_0x39b709['parent']==_0x265f72||(_0x39b709=_0x265f72,_0x4a4543(_0x30a3da['previousPosition']),_0x4cc500=!0x0):_0x4d9d47=_0x4d9d47||_0x30a3da['previousPosition']));}function _0x4a4543(_0x5e0536){const _0x5b300b=_0x33c4ea['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x2748e9}),_0x303ee5=_0x33c4ea['mapper']['toViewPosition'](_0x5e0536);_0x4ed8dc['data']['isSuggestion']&&_0x33c4ea['writer']['addClass']('ck-suggestion-marker-'+_0x2748e9+'-new',_0x5b300b),_0xebb7a9['activeChange']==_0x4ed8dc&&_0x33c4ea['writer']['addClass']('ck-suggestion-marker--active',_0x5b300b),_0x33c4ea['writer']['insert'](_0x303ee5,_0x5b300b),_0x33c4ea['mapper']['bindElementToMarker'](_0x5b300b,_0x161321['markerName']);}_0x1d2c28||_0x4cc500||!_0x4d9d47||_0x4a4543(_0x4d9d47);};}(this['editor']),{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('removeMarker:revision',(_0x466673,_0x93ca8b,_0x3d5796)=>{const _0x1cece5=_0x3d5796['mapper']['markerNameToElements'](_0x93ca8b['markerName']);if(_0x1cece5){for(const _0x169d6c of _0x1cece5)(_0x169d6c['hasClass']('ck-suggestion-marker-split')||_0x169d6c['hasClass']('ck-suggestion-marker-merge'))&&(_0x3d5796['mapper']['unbindElementFromMarkerName'](_0x169d6c,_0x93ca8b['markerName']),_0x3d5796['writer']['remove'](_0x169d6c));}},{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',(_0x442e17,_0xbe8c8a,_0x5c648b)=>{const _0x1dcda1=_0xbe8c8a['markerName']['split'](':')[0x1],_0x3b1bc5=this['_getChangeFromId'](_0x1dcda1);if(!_0x3b1bc5)return null;const _0x3c5467='add'==_0x3b1bc5['type']?'split':'merge';if(_0x5c648b['consumable']['test'](_0xbe8c8a['markerRange'],_0x442e17['name']))for(const _0x12386c of _0xbe8c8a['markerRange']['getItems']()){if(!_0x12386c['is']('element','softBreak'))continue;const _0x8310dd=_0x5c648b['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x3c5467}),_0x1ffd3e=_0x5c648b['mapper']['toViewPosition'](this['editor']['model']['createPositionBefore'](_0x12386c));_0x3b1bc5['data']['isSuggestion']&&_0x5c648b['writer']['addClass']('ck-suggestion-marker-'+_0x3c5467+'-new',_0x8310dd),this['activeChange']==_0x3b1bc5&&_0x5c648b['writer']['addClass']('ck-suggestion-marker--active',_0x8310dd),_0x5c648b['writer']['insert'](_0x1ffd3e,_0x8310dd),_0x5c648b['mapper']['bindElementToMarker'](_0x8310dd,_0xbe8c8a['markerName']);}},{'priority':'high'}),this['editor']['model']['document']['on']('change',()=>{this['editor']['editing']['view']['change'](_0x412f4a=>{for(const _0x22919c of this['editor']['model']['document']['getRootNames']()){const _0x1e51e2=this['editor']['model']['document']['getRoot'](_0x22919c),_0xa6aa00=this['editor']['editing']['view']['document']['getRoot'](_0x22919c);if(_0xa6aa00){const _0x4e52d9=_0x1e51e2['getAttribute']('revisionHistoryAttachChange');if(_0x412f4a['removeAttribute']('data-change-id',_0xa6aa00),_0x412f4a['removeClass']('ck-revision-history-root-add',_0xa6aa00),_0x412f4a['removeClass']('ck-revision-history-root-remove',_0xa6aa00),_0x412f4a['removeClass']('ck-revision-history-root--active',_0xa6aa00),_0x4e52d9){const _0x560f08=this['_getChangeFromId'](_0x4e52d9);if(!_0x560f08)return null;_0x412f4a['setAttribute']('data-change-id',_0x4e52d9,_0xa6aa00),_0x412f4a['addClass']('ck-revision-history-root-'+_0x560f08['type'],_0xa6aa00),this['activeChange']==_0x560f08&&_0x412f4a['addClass']('ck-revision-history-root--active',_0xa6aa00);}}}});}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'comment','model':_0x47d6ab=>'revision-comment:'+_0x47d6ab,'converterPriority':'highest'}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'suggestion','model':_0x3664b=>'revision-suggestion:'+_0x3664b,'converterPriority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision-suggestion','view':_0x4ee2a4=>({'name':'suggestion:'+_0x4ee2a4,'group':'revision-suggestion'}),'converterPriority':'highest'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision-suggestion','view':_0x4c0bb1=>{const _0x42d8d5=_0x4c0bb1['markerName']['split'](':')[0x1];return'insertion'!=_0x42d8d5&&'deletion'!=_0x42d8d5?null:{'classes':['ck-suggestion-preview-marker','ck-suggestion-preview-marker-'+_0x42d8d5]};}}),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',(_0x1343fb,_0xda80ed,_0x5d7676)=>{const _0x222978=_0x5d7676['mapper']['markerNameToElements'](_0xda80ed['markerName']);if(_0x222978){for(const _0x395e73 of _0x222978)_0x395e73['is']('uiElement')&&(_0x5d7676['mapper']['unbindElementFromMarkerName'](_0x395e73,_0xda80ed['markerName']),_0x5d7676['writer']['remove'](_0x395e73));}},{'priority':'high'});}['_getChangeFromId'](_0x1673d1){return this['_changeIdToChange']['get'](_0x1673d1);}['_getViewForChange'](_0x60e695){return this['_changeView']&&this['_changeView']['destroy'](),this['_changeView']=new Z(this['editor']['locale'],_0x60e695),this['_changeView'];}['_initInteractions'](){this['editor']['model']['document']['selection']['observeMarkers']('revision'),this['on']('change:activeView',(_0x444a66,_0x5710ec,_0x44f6fa,_0x16d86a)=>{_0x16d86a&&this['_balloon']['remove'](_0x16d86a),_0x44f6fa&&(this['_balloon']['add']({'view':_0x44f6fa,'stackId':'revisionHistoryLabel','position':{'target':()=>{const _0x1e92b6=this['editor']['editing'],_0x1e13a0=this['_getChangeFromId'](_0x44f6fa['changeId']);let _0x528b93;if(_0x1e13a0['data']['isOnRoot']){const _0x20c038=_0x1e92b6['view']['getDomRoot'](_0x1e13a0['rootName']);_0x528b93=Array['from'](_0x20c038['getClientRects']());}else{const _0x5f0f88=this['editor']['model']['markers']['get']('revision:'+_0x44f6fa['changeId']);_0x528b93=Array['from'](_0x1e92b6['mapper']['markerNameToElements'](_0x5f0f88['name']))['map'](_0x3ff59c=>_0x1e92b6['view']['domConverter']['mapViewToDom'](_0x3ff59c))['map'](_0x468c1e=>Array['from'](_0x468c1e['getClientRects']()))['flat']();}if(!this['_activeViewTarget'])return _0x528b93[0x0];return _0x528b93['find'](_0x533d85=>_0x533d85['top']-0x3<=this['_activeViewTarget']['y']&&_0x533d85['bottom']+0x3>=this['_activeViewTarget']['y']&&_0x533d85['left']-0x3<=this['_activeViewTarget']['x']&&_0x533d85['right']+0x3>=this['_activeViewTarget']['x'])||_0x528b93[0x0];}}}),this['_balloon']['showStack']('revisionHistoryLabel'));}),this['on']('change:activeChange',(_0x3b4214,_0x357f6f,_0x13b54a,_0x32ead8)=>{this['activeView']=_0x13b54a?this['_getViewForChange'](_0x13b54a):null,this['editor']['model']['change'](()=>{const _0x2f75b6=this['editor']['editing'];_0x32ead8&&(_0x32ead8['data']['isOnRoot']?_0x2f75b6['view']['change'](_0x2019a3=>{_0x2019a3['removeClass']('ck-revision-history-root--active',_0x2f75b6['view']['document']['getRoot'](_0x32ead8['rootName']));}):_0x2f75b6['reconvertMarker']('revision:'+_0x32ead8['id'])),_0x13b54a&&(_0x13b54a['data']['isOnRoot']?_0x2f75b6['view']['change'](_0x13a773=>{_0x13a773['addClass']('ck-revision-history-root--active',_0x2f75b6['view']['document']['getRoot'](_0x13b54a['rootName']));}):_0x2f75b6['reconvertMarker']('revision:'+_0x13b54a['id']));});}),this['listenTo'](this['editor']['editing']['view']['document'],'mouseover',(_0x3e360c,_0x3bb07c)=>{if(this['activeChange'])return;const _0x4fd7a1=this['_findChangeIdFromDomTarget'](_0x3bb07c['target']),_0x58fea5=this['_changeIdToChange']['get'](_0x4fd7a1);_0x58fea5?(this['_activeViewTarget']={'x':_0x3bb07c['domEvent']['x'],'y':_0x3bb07c['domEvent']['y']},this['activeView']=this['_getViewForChange'](_0x58fea5)):(this['_activeViewTarget']=null,this['activeView']=null);}),this['listenTo'](this['editor']['editing']['view']['document'],'mousedown',(_0x418046,_0x55f599)=>{const _0xa88553=this['_findChangeIdFromDomTarget'](_0x55f599['target']),_0x460d5d=this['_changeIdToChange']['get'](_0xa88553);_0x460d5d?(this['_activeViewTarget']={'x':_0x55f599['domEvent']['x'],'y':_0x55f599['domEvent']['y']},_0x460d5d===this['activeChange']?this['_balloon']['updatePosition']():this['activeChange']=_0x460d5d):(this['_activeViewTarget']=null,this['activeChange']=null);});}['_findChangeIdFromDomTarget'](_0x30ac20){do{const _0x1d74a4=_0x30ac20['getAttribute']('data-change-id');if(_0x1d74a4)return _0x1d74a4;_0x30ac20=_0x30ac20['parent'];}while(_0x30ac20);return null;}['_cleanMarkers'](){this['editor']['model']['change'](_0x2236c5=>{for(const _0x38eb60 of this['editor']['model']['markers'])_0x2236c5['removeMarker'](_0x38eb60);});}}function et(_0x72839d,_0x4db357){return(_0x42b0bb,_0x55e129,_0x206a2c)=>{if(!_0x206a2c['consumable']['test'](_0x55e129['markerRange'],_0x42b0bb['name']))return;const _0x58e08a=_0x55e129['markerRange']['getWalker'](),_0xa7cc5a=_0x55e129['markerRange']['start'],_0x23583b=_0x72839d['model']['schema'];let _0x55efa0=null,_0x31123c=null,_0x19aff4=!0x1,_0x5da78f=!0x1;for(const _0x4fd887 of _0x58e08a){const _0x3b2d22=_0x4fd887['item'];_0x19aff4=_0x19aff4||_0x23583b['isContent'](_0x3b2d22);const _0x820579=_0x206a2c['mapper']['toViewElement'](_0x3b2d22);if(_0x820579&&_0x820579['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x4fd887['type']&&(_0x23583b['isBlock'](_0x3b2d22)&&!_0x23583b['isLimit'](_0x3b2d22)&&(_0x3b2d22['nextSibling']||_0xa7cc5a['isAtEnd']?_0x55efa0&&_0x55efa0['parent']==_0x3b2d22||(_0x55efa0=_0x3b2d22,_0x37a830(_0x4fd887['previousPosition']),_0x5da78f=!0x0):_0x31123c=_0x31123c||_0x4fd887['previousPosition']));}function _0x37a830(_0x2938cd){const _0x5aade4=_0x206a2c['mapper']['toViewPosition'](_0x2938cd),_0xa997e2=_0x206a2c['writer']['createUIElement']('span',{'class':'ck-suggestion-preview-marker-'+_0x4db357});_0x206a2c['writer']['insert'](_0x5aade4,_0xa997e2),_0x206a2c['mapper']['bindElementToMarker'](_0xa997e2,_0x55e129['markerName']);}_0x19aff4||_0x5da78f||!_0x31123c||_0x37a830(_0x31123c);};}class bt extends _0x25b40a{constructor(_0xcd7949){super(_0xcd7949);const _0x22c459=_0xcd7949['plugins']['get'](d);this['affectsData']=!0x1,this['listenTo'](_0x22c459,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x22c459,'change:isEnabled',()=>this['refresh']());}['execute'](){const _0x4f8cb7=this['editor'],_0x9c339c=_0x4f8cb7['plugins']['get'](d),_0x33ba7f=_0x9c339c['isReady']?_0x9c339c['diff']['newRevisionId']:null;_0x4f8cb7['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x33ba7f);}['refresh'](){const {isReady:_0x5f18a4,isEnabled:_0x1eb018}=this['editor']['plugins']['get'](d);this['isEnabled']=_0x5f18a4&&_0x1eb018;}}class yt extends _0x25b40a{['_step'];constructor(_0x4c1108,{direction:_0x2e1a13}){super(_0x4c1108);const _0x230c1f=_0x4c1108['plugins']['get'](d);this['affectsData']=!0x1,this['_step']='forward'===_0x2e1a13?0x1:-0x1,this['listenTo'](_0x230c1f,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x230c1f,'change:isEnabled',()=>this['refresh']()),this['listenTo'](_0x230c1f,'change:activeChange',()=>this['refresh']());}['execute'](){const _0x487d73=this['editor'],_0x41d36f=_0x487d73['plugins']['get'](d),{isNavigationMode:_0x33424a,currentChangeNumber:_0x37bba4}=_0x41d36f;let _0x4434c1;if(_0x41d36f['activeChange']=_0x33424a?_0x41d36f['diff']['changes']['get'](_0x37bba4+this['_step']):_0x41d36f['diff']['changes']['first'],_0x41d36f['activeChange']['data']['isOnRoot'])_0x4434c1=_0x487d73['editing']['view']['getDomRoot'](_0x41d36f['activeChange']['rootName']);else{const _0x417db1=_0x487d73['model']['markers']['get']('revision:'+_0x41d36f['activeChange']['id']);_0x4434c1=_0x35c26f(_0x487d73['editing'],_0x417db1);}_0x12fecc({'target':_0x4434c1,'viewportOffset':0x28});}['refresh'](){const {isNavigationMode:_0x1dbd45,currentChangeNumber:_0x1943bb,numberOfChanges:_0x3e1763,isReady:_0x26afd5,isEnabled:_0x42ed77}=this['editor']['plugins']['get'](d);this['isEnabled']=!!(_0x42ed77&&_0x26afd5&&_0x3e1763)&&(!_0x1dbd45||(0x1===this['_step']?_0x1943bb<_0x3e1763-0x1:_0x1943bb>0x0));}}class _i extends _0x9bb2f4{constructor(_0x4b293b){super(_0x4b293b);const _0x303c88=this['bindTemplate'],_0x4f203a=new _0x4340e5(_0x4b293b),_0x279521=new _0x4340e5(_0x4b293b);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',(_0x3abd54,_0x4da143)=>_0x3abd54&&_0x4da143>0x0),this['bind']('_statusText')['to'](this,'isReady',this,'currentChangeNumber',this,'numberOfChanges',this,'isNavigationMode',(_0x494525,_0x1ac793,_0x44b3db,_0x22e6bc)=>{if(!_0x494525)return y(_0x4b293b,'Loading...');if(!_0x44b3db)return y(_0x4b293b,'No\x20changes');const _0x2953ca=y(_0x4b293b,'NUMBER_OF_CHANGES',_0x44b3db);return _0x22e6bc?y(_0x4b293b,'X_OF_Y_CHANGES',[_0x1ac793+0x1,_0x44b3db]):_0x2953ca;}),_0x4f203a['set']({'label':y(_0x4b293b,'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'}),_0x279521['set']({'label':y(_0x4b293b,'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'}),_0x4f203a['bind']('isEnabled')['to'](this,'isBackwardNavigationEnabled'),_0x279521['bind']('isEnabled')['to'](this,'isForwardNavigationEnabled'),_0x4f203a['on']('execute',()=>this['fire']('execute','backward')),_0x279521['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',_0x303c88['if']('_isStatusLabelVisible','ck-hidden',_0x28d1f4=>!_0x28d1f4)]},'children':[{'text':_0x303c88['to']('isNavigationMode',_0xf3fac4=>_0xf3fac4?y(_0x4b293b,'EDIT_X_OF_Y_REVISIONS')+':\x20':y(_0x4b293b,'Total')+':\x20')}]},{'text':_0x303c88['to']('_statusText')}]},new _0x10c08c(),{'tag':'div','attributes':{'class':['ck-revision-history-ui__changes-navigation__navigation']},'children':[_0x4f203a,_0x279521]}]});}}const ce='ck-editor__editable__loading-overlay';class de extends _0x118092{static get['pluginName'](){return'RevisionViewerLoadingOverlay';}['show'](){const _0x26e8ce=this['editor']['editing']['view'];_0x26e8ce['change'](_0x1c757a=>{for(const _0x45ee87 of _0x26e8ce['document']['roots'])_0x1c757a['addClass'](ce,_0x45ee87);});}['hide'](){const _0x1f133a=this['editor']['editing']['view'];_0x1f133a['change'](_0x2f4108=>{for(const _0x3d29e8 of _0x1f133a['document']['roots'])_0x2f4108['removeClass'](ce,_0x3d29e8);});}}class R extends _0x118092{static get['pluginName'](){return'RevisionViewerUI';}static get['requires'](){return[d,de];}['init'](){const _0x2d2871=this['editor'],_0x1fb27b=_0x2d2871['plugins']['get'](d),_0x4da661=_0x2d2871['plugins']['get'](de);_0x2d2871['ui']['componentFactory']['add']('exitToEditing',_0x2c591e=>{const _0x5a1ddb=new _0x4340e5(_0x2c591e);return _0x5a1ddb['set']({'label':y(_0x2c591e,'Back\x20to\x20editing'),'icon':_0x41ac49['undo'],'withText':!0x0,'tooltip':!0x0,'class':'ck-revision-history-ui__back-to-editing'}),this['listenTo'](_0x5a1ddb,'execute',()=>{_0x2d2871['config']['get']('revisionHistory')['closeRevisionViewerCallback']();}),_0x5a1ddb;}),_0x2d2871['ui']['componentFactory']['add']('restoreRevision',_0x2a14dd=>{const _0x2a81c2=new _0x4340e5(_0x2a14dd);return _0x2a81c2['set']({'label':y(_0x2a14dd,'Restore\x20this\x20revision'),'withText':!0x0,'tooltip':!0x0}),_0x2a81c2['bind']('isEnabled')['to'](_0x2d2871['commands']['get']('restoreRevision')),this['listenTo'](_0x2a81c2,'execute',()=>_0x2d2871['execute']('restoreRevision')),_0x2a81c2;}),_0x2d2871['ui']['componentFactory']['add']('changesNavigation',_0x502784=>{const _0x8c8fd9=new _i(_0x502784),_0x106c2f=_0x2d2871['commands']['get']('showPreviousChange'),_0x4ea3b1=_0x2d2871['commands']['get']('showNextChange');return _0x8c8fd9['bind']('isBackwardNavigationEnabled')['to'](_0x106c2f,'isEnabled'),_0x8c8fd9['bind']('isForwardNavigationEnabled')['to'](_0x4ea3b1,'isEnabled'),_0x8c8fd9['bind']('isReady','currentChangeNumber','numberOfChanges','isNavigationMode')['to'](_0x1fb27b),this['listenTo'](_0x8c8fd9,'execute',(_0x427876,_0x489c2f)=>{_0x2d2871['execute']('forward'===_0x489c2f?'showNextChange':'showPreviousChange');}),_0x8c8fd9;}),_0x4da661['show'](),_0x1fb27b['on']('change:isReady',(_0x211504,_0x3e1bbf,_0x371938)=>{_0x371938?_0x4da661['hide']():_0x4da661['show']();});}}class kt extends at{['_resizeObserver']=null;constructor(_0x5cd3c4,_0x5d754c){super(_0x5cd3c4,_0x5d754c);const _0x4991a1=this['bindTemplate'];this['set']({'label':y(_0x5cd3c4,'Revision\x20name'),'_tooltipString':''}),this['fieldView']['placeholder']=y(_0x5cd3c4,'Enter\x20the\x20revision\x20name'),this['extendTemplate']({'tag':'span','attributes':{'class':['ck-revision-history-sidebar__revision-name'],'data-cke-tooltip-text':_0x4991a1['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 _0x4ae9ef=this['fieldView']['element'];this['_tooltipString']=_0x4ae9ef['scrollWidth']>_0x4ae9ef['clientWidth']&&_0x4ae9ef['value']||'';}}class ti extends _0x9bb2f4{constructor(_0x102c5c,_0x1d1b09,_0x2abc65){super(_0x102c5c);const _0x297362=new _0x52ac74();_0x297362['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 _0x1e9e11=['ck','ck-revision-history-sidebar__revision-author'];_0x2abc65&&_0x1e9e11['push']('ck-revision-history-sidebar__revision-author_creator');const _0x241d2e=[{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__revision-author__name'],'title':y(_0x102c5c,_0x2abc65?'Revision\x20creator':'Revision\x20author')},'children':[_0x297362,_0x1d1b09['name']]}];this['setTemplate']({'tag':'li','attributes':{'class':_0x1e9e11},'children':_0x241d2e});}}function ni(_0x1e6bf2,_0x23fe28){const _0x39dc5a=_0x1e6bf2['bindTemplate'],_0x422b95=_0x1e6bf2['locale'],_0x6b2b85=_0x35e381(_0x422b95);_0x6b2b85['panelPosition']='sw';const _0x1d9996=function(_0x46a1a4,_0x41795c){const _0x492a5f=function(_0x3f47b3,_0x5712c5){const _0x3490fe=_0x3f47b3['locale'],_0x2aef72={'Compare\x20against\x20selected':y(_0x3490fe,'Compare\x20against\x20selected'),'Name\x20this\x20revision':y(_0x3490fe,'Name\x20this\x20revision'),'Restore\x20this\x20revision':y(_0x3490fe,'Restore\x20this\x20revision')};return _0x5712c5['map'](_0x20a2b9=>{const _0x35c524=_0x2aef72[_0x20a2b9['name']];return _0x35c524&&_0x35c524!==_0x20a2b9['name']&&(_0x20a2b9['name']=_0x35c524),_0x20a2b9;});}(_0x46a1a4,_0x41795c),_0x5cc956=new _0x47c7df();for(const _0x46d2f7 of _0x492a5f){const _0x432f9f={'type':'button','model':new to({'label':_0x46d2f7['name'],'class':_0x46d2f7['class'],'withText':!0x0,'role':'menuitem','_action':_0x46d2f7['action']})};_0x432f9f['model']['bind']('isEnabled')['to'](_0x46a1a4,'isActionsDropdownOpen',_0x5671bc=>'function'!=typeof _0x46d2f7['isEnabled']||(!_0x5671bc||_0x46d2f7['isEnabled'](_0x46a1a4))),_0x5cc956['add'](_0x432f9f);}return _0x5cc956;}(_0x1e6bf2,_0x23fe28);return _0x1e6bf2['bind']('isActionsDropdownOpen')['to'](_0x6b2b85,'isOpen'),_0x6b2b85['buttonView']['set']({'label':y(_0x422b95,'Show\x20more\x20items'),'tooltip':!0x0,'tooltipPosition':'sw','icon':_0x41ac49['threeVerticalDots']}),_0x6b2b85['extendTemplate']({'attributes':{'class':['ck-revision-history-sidebar__revision__actions',_0x39dc5a['if']('isActionsDropdownOpen','ck-on')]},'on':{'click':_0x39dc5a['to'](_0x201909=>_0x201909['stopPropagation']())}}),_0x6b2b85['on']('execute',_0x673856=>{_0x1e6bf2['isReady']&&'function'==typeof _0x673856['source']['_action']&&_0x673856['source']['_action'](_0x1e6bf2);}),_0x3ff317(_0x6b2b85,_0x1d9996,{'role':'menu'}),_0x6b2b85['listenTo'](_0x1e6bf2,'change:isActionsDropdownOpen',(_0x36a4c6,_0x37e178,_0x43fda9)=>{if(_0x43fda9)for(const _0x3e2712 of _0x6b2b85['listView']['items']){const _0x486f53=_0x3e2712['children']['first'],_0x4a73a8=_0x23fe28['find'](_0xa31bf=>_0xa31bf['action']===_0x486f53['_action'])['isVisible'];_0x3e2712['isVisible']=void 0x0===_0x4a73a8||_0x4a73a8(_0x1e6bf2);}}),_0x6b2b85;}class ai extends/* #__PURE__ -- @preserve */
26
+ _0x58888f(_0x9bb2f4){['id'];['revisionNameView'];['revisionActionsView'];['_revision'];['_requireRevisionName'];constructor(_0x1f0250,_0x34513f,_0x24323f,_0x4ecd83){super(_0x1f0250);const _0x20ae7d=this['bindTemplate'],_0x3e9166=function(_0x35f0a1,_0xfa884a){const _0x3adc73=Array['from'](_0xfa884a['authors'])['filter'](_0x243e91=>_0x243e91!=_0xfa884a['creator']);return _0xfa884a['creator']&&_0x3adc73['unshift'](_0xfa884a['creator']),_0x3adc73['map'](_0x3ef663=>new ti(_0x35f0a1,_0x3ef663,_0x3ef663==_0xfa884a['creator']));}(_0x1f0250,_0x34513f);this['id']=_0x34513f['id'],this['_revision']=_0x34513f,this['_requireRevisionName']=_0x4ecd83,this['bind']('name','createdAt')['to'](_0x34513f),this['bind']('_createdAtFormatted')['to'](this,'createdAt',_0x40f9f9=>{return _0x16d5d1=_0x1f0250['uiLanguage'],(_0x2c00c2=_0x40f9f9)['toLocaleDateString'](_0x16d5d1,{'month':'long','day':'numeric'})+',\x20'+_0x2c00c2['toLocaleTimeString'](_0x16d5d1,{'hour':'numeric','minute':'numeric'});var _0x16d5d1,_0x2c00c2;}),this['set']('isSelected',!0x1),this['set']('isHighlighted',!0x1),this['set']('isActionsDropdownOpen',!0x1),this['set']('isReady',!0x1),this['set']('isEnabled',!0x1),this['revisionNameView']=new kt(_0x1f0250,_0x1b07b0),this['revisionNameView']['fieldView']['extendTemplate']({'attributes':{'maxlength':'220'}}),this['revisionNameView']['fieldView']['bind']('value')['to'](this,'name',_0x5c59e4=>_0x5c59e4||this['_createdAtFormatted']),this['revisionNameView']['bind']('isEnabled')['to'](this,'isSelected',this,'isEnabled',(_0x1626e9,_0x2a997c)=>_0x1626e9&&_0x2a997c),this['revisionActionsView']=_0x24323f&&_0x24323f['length']?ni(this,_0x24323f):'',this['revisionActionsView']&&this['revisionActionsView']['bind']('isEnabled')['to'](this),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision-wrapper',_0x20ae7d['if']('isConfirm','ck-revision-history-sidebar__revision-wrapper_confirmation_visible')]},'children':[{'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision',_0x20ae7d['if']('isEnabled','ck-disabled',_0x5c5ba0=>!_0x5c5ba0),_0x20ae7d['if']('isSelected','ck-revision-history-sidebar__revision_selected'),_0x20ae7d['if']('isHighlighted','ck-revision-history-sidebar__revision_highlighted'),_0x20ae7d['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':_0x20ae7d['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':_0x3e9166}]},this['revisionActionsView']],'on':{'click':_0x20ae7d['to'](_0x41f020=>{_0x41f020['srcElement']['closest']('.ck-thread__remove-confirm')||this['isReady']&&this['isEnabled']&&this['fire']('select',{'id':this['id']});})}}]});}['render'](){super['render']();const _0x1dd3a7=this['revisionNameView']['fieldView']['element'];this['listenTo'](_0x1dd3a7,'change',()=>{this['_requireRevisionName']&&!_0x1dd3a7['value']||this['fire']('setName',{'id':this['id'],'name':_0x1dd3a7['value']}),_0x1dd3a7['value']||(_0x1dd3a7['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(_0x6ff710,_0x34a41c){const _0x501040=_0x1c37ee['fromJSDate'](_0x6ff710)['setLocale'](_0x34a41c),_0xae0e4f=_0x1c37ee['local'](),_0x1697e2=_0xae0e4f['minus']({'days':0x1})['startOf']('day');let _0x10e80e,_0x4f7e29;return _0x501040['hasSame'](_0xae0e4f,'day')?(_0x10e80e=_0x501040['startOf']('day')['toJSDate'](),_0x4f7e29=_0x501040['toRelativeCalendar']()):_0x501040['hasSame'](_0x1697e2,'day')?(_0x10e80e=_0x1697e2['toJSDate'](),_0x4f7e29=_0x501040['toRelativeCalendar']()):_0x501040['hasSame'](_0xae0e4f,'week')?(_0x10e80e=_0x501040['startOf']('week')['toJSDate'](),_0x4f7e29=_0x501040['weekdayLong']||''):_0x501040['hasSame'](_0xae0e4f,'year')?(_0x10e80e=_0x501040['startOf']('month')['toJSDate'](),_0x4f7e29=_0x501040['monthLong']||''):(_0x10e80e=_0x501040['startOf']('year')['toJSDate'](),_0x4f7e29=String(_0x501040['year'])),{'startDate':_0x10e80e,'localizedPeriodName':_0x4f7e29};}class mi extends _0x9bb2f4{['startDate'];['revisionViews'];['_revisionActions'];['_requireRevisionName'];constructor(_0x3c6cc7,_0x100201,_0xde1f28,_0x545d2b){super(_0x3c6cc7);const _0x51fa48=di(_0x100201,this['locale']['uiLanguage'])['localizedPeriodName'];this['startDate']=_0x100201,this['revisionViews']=this['createCollection'](),this['_revisionActions']=_0xde1f28,this['_requireRevisionName']=_0x545d2b,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':_0x51fa48}]},{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__time-period__revisions']},'children':this['revisionViews']}]});}['addRevision'](_0x275762){const _0x4af6e3=new ai(this['locale'],_0x275762,this['_revisionActions'],this['_requireRevisionName']);this['revisionViews']['add'](_0x4af6e3);}['removeRevision'](_0x1cc2e0){const _0x274013=this['revisionViews']['find'](_0x390b5b=>_0x390b5b['id']===_0x1cc2e0['id']);this['revisionViews']['remove'](_0x274013);}}class as extends _0x9bb2f4{constructor(_0x53beff){super(_0x53beff);const _0x71b499=new _0x52ac74();_0x71b499['content']=_0x41ac49['history'],this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all','ck-revision-history-sidebar__header']},'children':[_0x71b499,{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__header__label']},'children':[y(_0x53beff,'Revision\x20history')]}]});}}class ci extends _0x9bb2f4{['timePeriodViews'];['_revisions'];['_revisionActions'];['_requireRevisionName'];constructor(_0x52d5e8,_0x358664,_0x41200a,_0x119c70){super(_0x52d5e8);const _0x206129=this['bindTemplate'];this['timePeriodViews']=this['createCollection'](),this['timePeriodViews']['delegate']('select')['to'](this),this['timePeriodViews']['delegate']('setName')['to'](this),this['_revisions']=_0x358664,this['_revisionActions']=_0x41200a,this['_requireRevisionName']=_0x119c70,this['on']('select',(_0x110ba8,_0x4a6662)=>{this['fire']('revisionSelected',_0x4a6662);}),this['on']('setName',(_0x588067,_0xebfa7f)=>{this['fire']('revisionSetName',_0xebfa7f);}),this['set']('isEnabled',!0x1),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-rounded-corners','ck-revision-history-sidebar']},'children':[new as(_0x52d5e8),{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__timeline',_0x206129['if']('isEnabled','ck-disabled',_0x5e6c20=>!_0x5e6c20)]},'children':this['timePeriodViews']}]});}['render'](){super['render']();for(const _0x58d447 of this['_revisions'])this['_addRevision'](_0x58d447);this['_revisions']['on']('add',(_0x348a3f,_0x1b0eda)=>{this['_addRevision'](_0x1b0eda);}),this['_revisions']['on']('remove',(_0x1bdc88,_0x4fd888)=>{this['_removeRevision'](_0x4fd888);});}get['revisionViews'](){return this['timePeriodViews']['map'](_0x205f8d=>_0x205f8d['revisionViews']['map'](_0x4823dc=>_0x4823dc))['flat']();}['selectRevision'](_0x4cf3ed){for(const _0x84c23e of this['revisionViews'])_0x4cf3ed&&_0x4cf3ed['id']===_0x84c23e['id']?_0x84c23e['select']():_0x84c23e['deselect']();}['highlightRevisions'](_0x4f9d47){for(const _0x368eee of this['revisionViews'])_0x4f9d47['some'](({id:_0x233326})=>_0x233326===_0x368eee['id'])?_0x368eee['highlight']():_0x368eee['unhighlight']();}['_addRevision'](_0x3a9c98){const _0x113914=di(_0x3a9c98['createdAt'],this['locale']['uiLanguage'])['startDate'];let _0x3837ea=this['timePeriodViews']['get'](0x0);_0x3837ea&&_0x3837ea['startDate']['getTime']()===_0x113914['getTime']()||(_0x3837ea=new mi(this['locale'],_0x113914,this['_revisionActions'],this['_requireRevisionName']),this['timePeriodViews']['add'](_0x3837ea)),_0x3837ea['addRevision'](_0x3a9c98);}['_removeRevision'](_0x104435){const _0x23fd12=di(_0x104435['createdAt'],this['locale']['uiLanguage'])['startDate'];this['_getTimePeriodViewByStartDate'](_0x23fd12)['removeRevision'](_0x104435);}['_getTimePeriodViewByStartDate'](_0x59ed18){return this['timePeriodViews']['find'](_0x22753a=>_0x22753a['startDate']['getTime']()===_0x59ed18['getTime']());}}class w extends _0x118092{['_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(_0x4964f9){super(_0x4964f9),this['_revisionViewer']=_0x4964f9['plugins']['get'](d),this['_revisionsRepository']=this['_revisionViewer']['repository'],this['_sidebarView']=null;}['init'](){const _0x436db6=this['_revisionsRepository']['_revisions'],_0x25be7d=this['_createRevisionActions'](),_0x30ce4e=this['editor']['config']['get']('revisionHistory.viewerSidebarContainer');this['_sidebarView']=new ci(this['editor']['locale'],_0x436db6,_0x25be7d,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',(_0x3f9d82,_0x403ac0)=>{_0x403ac0['revisionViews']['on']('add',(_0x18392f,_0x285080)=>{_0x285080['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)),_0x30ce4e['appendChild'](this['_sidebarView']['element']);}['destroy'](){this['_sidebarView']['element']['remove'](),this['_sidebarView']['destroy']();}['_handleEditorDataReady'](){const _0x1a8d9c=this['_revisionsRepository']['getRevision'](0x0);if(_0x1a8d9c){const _0x41aae4=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x1a8d9c['id']);this['_revisionViewer']['compare'](_0x1a8d9c,_0x41aae4);}}['_handleRevisionSelected'](_0x2e54a6,_0x13b638){const _0x149c86=this['_revisionsRepository']['getRevision'](_0x13b638['id']),_0x3b7e66=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x149c86['id']);this['_revisionViewer']['compare'](_0x149c86,_0x3b7e66);}['_handleRevisionSetName'](_0x2c95b6,_0x5c04e6){this['_revisionsRepository']['getRevision'](_0x5c04e6['id'])['setName'](_0x5c04e6['name']);}['_handleDiffChange'](_0x3a623d,_0x5b0f91,_0x3c68cd){const _0x5e3f23=this['_revisionsRepository']['getRevisionsInDiff'](_0x3c68cd);_0x5e3f23['length']>0x2?(this['_sidebarView']['highlightRevisions'](_0x5e3f23),this['_sidebarView']['selectRevision'](null)):(this['_sidebarView']['highlightRevisions']([]),this['_sidebarView']['selectRevision'](_0x5e3f23[0x0]));}['_createRevisionActions'](){const _0x28df70=this['editor'],_0x2faf52=w['availableRevisionActions'],_0x231d29=_0x28df70['config']['get']('revisionHistory.revisionActions')||w['defaultRevisionActions'];if(_0x231d29['length'])return _0x231d29['map'](_0x2716f1=>{const _0x4a1df7='string'==typeof _0x2716f1?Object['assign']({},_0x2faf52[_0x2716f1]):_0x2716f1;return _0x4a1df7['action']=_0x4a1df7['action']['bind'](this,_0x28df70),_0x4a1df7['isVisible']&&(_0x4a1df7['isVisible']=_0x4a1df7['isVisible']['bind'](this,_0x28df70)),_0x4a1df7;});}}function Rt(){return{'compareAgainstSelected':{'name':'Compare\x20against\x20selected','action':({plugins:_0x57b121},_0x50160f)=>{const _0x249c56=_0x57b121['get'](d),_0x219d3d=_0x249c56['repository'];let _0x2480ef=_0x249c56['diff']['newRevisionId'],_0xf8d831=_0x50160f['id'];_0x219d3d['getIndex'](_0x2480ef)>_0x219d3d['getIndex'](_0xf8d831)&&([_0x2480ef,_0xf8d831]=[_0xf8d831,_0x2480ef]),_0x249c56['compare'](_0x2480ef,_0xf8d831);},'isVisible':({plugins:_0x4ef0c9},_0x51996e)=>{const _0x373604=_0x4ef0c9['get'](d);return!(_0x373604['repository']['getRevisionsInDiff'](_0x373604['diff'])['length']>0x2)&&!_0x51996e['isSelected'];}},'restoreRevision':{'name':'Restore\x20this\x20revision','action':(_0x554b3c,{id:_0x5370fa})=>{_0x554b3c['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x5370fa);},'isVisible':({plugins:_0x2db555},_0xaf31ca)=>!!_0x2db555['get'](d)['repository']['getLaterVisibleRevision'](_0xaf31ca['id'])},'nameRevision':{'name':'Name\x20this\x20revision','action':({plugins:_0x467266},{id:_0x511978,revisionNameView:_0x34ac3c})=>{const _0x59d5c5=_0x467266['get'](d),_0x1b4abf=_0x59d5c5['repository']['getEarlierVisibleRevision'](_0x511978);_0x59d5c5['compare'](_0x511978,_0x1b4abf),_0x34ac3c['focus'](),_0x34ac3c['fieldView']['select']();}}};}class st extends ht{['_view'];['_toolbarConfig'];['_elementReplacer'];get['view'](){return this['_view'];}constructor(_0x1c31f4,_0xc8191f){super(_0x1c31f4),this['_view']=_0xc8191f,this['_toolbarConfig']=ct(_0x1c31f4['config']['get']('toolbar')),this['_elementReplacer']=new nt();}get['element'](){return this['view']['element'];}['init'](_0x31ad73){const _0x2c12a7=this['editor'],_0x24d957=this['view'],_0x16eb52=_0x2c12a7['editing']['view'],_0x430b6f=_0x24d957['editable'],_0x57958a=_0x16eb52['document']['getRoot']();_0x430b6f['name']=_0x57958a['rootName'],_0x24d957['render']();const _0x15841=_0x430b6f['element'];this['setEditableElement'](_0x430b6f['name'],_0x15841),_0x24d957['editable']['bind']('isFocused')['to'](this['focusTracker']),_0x16eb52['attachDomRoot'](_0x15841),this['_elementReplacer']['replace'](_0x31ad73,this['element']),this['_initToolbar'](),this['fire']('ready');}['destroy'](){super['destroy']();const _0x131baf=this['view'],_0x215aa9=this['editor']['editing']['view'];this['_elementReplacer']['restore'](),_0x215aa9['detachDomRoot'](_0x131baf['editable']['name']),_0x131baf['destroy']();}['_initToolbar'](){const _0x1df720=this['view'];_0x1df720['stickyPanel']['bind']('isActive')['to'](this['focusTracker'],'isFocused'),_0x1df720['stickyPanel']['limiterElement']=_0x1df720['element'],_0x1df720['stickyPanel']['bind']('viewportTopOffset')['to'](this,'viewportOffset',({top:_0x48c719})=>_0x48c719),_0x1df720['toolbar']['fillFromConfig'](this['_toolbarConfig'],this['componentFactory']),this['addToolbar'](_0x1df720['toolbar']);}}class ot extends dt{['_editable'];['stickyPanel'];['toolbar'];get['editable'](){return this['_editable'];}constructor(_0x1403a3,_0x4c1221,_0x49b30a={}){super(_0x1403a3),this['stickyPanel']=new lt(_0x1403a3),this['toolbar']=new pt(_0x1403a3,{'shouldGroupWhenFull':_0x49b30a['shouldToolbarGroupWhenFull']}),this['_editable']=new ut(_0x1403a3,_0x4c1221);}['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(_0x27a5e6,_0x373652){super(_0x373652),this['sourceElement']=_0x27a5e6,this['model']['document']['createRoot']();const _0x26fd88=new ot(this['locale'],this['editing']['view'],{'shouldToolbarGroupWhenFull':!0x0});this['_ui']=new st(this,_0x26fd88);}['destroy'](){return this['updateSourceElement'](),this['ui']['destroy'](),super['destroy']();}static async['create'](_0x5b26ed,_0x402a30){const _0xee2a3c=new this(_0x5b26ed,_0x402a30);return await _0xee2a3c['initPlugins'](),await _0xee2a3c['ui']['init'](_0x5b26ed),await _0xee2a3c['data']['init'](_0xee2a3c['config']['get']('initialData')||''),_0xee2a3c['fire']('ready'),_0xee2a3c;}}const p=['RevisionHistoryUI','RestrictedEditingMode'];class k extends _0x503c5a{['result'];static get['pluginName'](){return'RevisionViewerIntegration';}constructor(_0x496c15){super(_0x496c15),this['result']='end';}}class H extends _0x503c5a{['_viewerEditor'];static get['pluginName'](){return'RevisionHistory';}static get['requires'](){return[l,u];}constructor(_0x220457){if(super(_0x220457),!this['editor']['config']['get']('revisionHistory'))throw new _0x12facb('revision-history-missing-configuration',this);this['_viewerEditor']=null,this['editor']['config']['define']('revisionHistory.showRevisionViewerCallback',_0x2803b1=>this['_showRevisionViewer']({..._0x2803b1,'translations':this['editor']['locale']['translations']})),this['editor']['config']['define']('revisionHistory.closeRevisionViewerCallback',_0x42ffb3=>this['_closeRevisionViewer'](_0x42ffb3)),this['editor']['config']['define']('revisionHistory.restoreRevisionCallback',_0xd29c4=>this['_restoreRevision'](_0xd29c4)),this['editor']['config']['define']('revisionHistory.requireRevisionName',!0x1),this['_enhanceShowRevisionViewerCallback'](),this['_enhanceCloseRevisionViewerCallback']();}set['adapter'](_0x552efa){this['editor']['plugins']['get']('RevisionTracker')['adapter']=_0x552efa;}get['adapter'](){return this['editor']['plugins']['get']('RevisionTracker')['adapter'];}['addRevisionData'](_0x1953fc){return this['editor']['plugins']['get']('RevisionTracker')['addRevisionData'](_0x1953fc);}['getRevision'](_0x3821e3){return this['editor']['plugins']['get']('RevisionsRepository')['getRevision'](_0x3821e3);}['getRevisions'](_0x1ab68a){return this['editor']['plugins']['get']('RevisionsRepository')['getRevisions'](_0x1ab68a||{'toJSON':!0x1});}['_getRevisionViewerEditorConfig'](){const _0x2eb3b6=this['editor'],_0x2a9a60=_0x442486(_0x2eb3b6,p),_0x36af13=_0x2eb3b6['plugins']['get']('RevisionTracker'),_0x3085af=_0x2eb3b6['plugins']['get']('Users')['users'];return _0x2a9a60['toolbar']=['exitToEditing','restoreRevision','changesNavigation'],delete _0x2a9a60['lazyRoots'],(_0x2a9a60['plugins']['push'](k,d,R,class extends _0x503c5a{static get['requires'](){return[d,'Users'];}['init'](){const _0x1e491e=this['editor']['plugins']['get']('Users');for(const _0x14b1e4 of _0x3085af)_0x14b1e4['isAnonymous']||_0x1e491e['getUser'](_0x14b1e4['id'])||_0x1e491e['addUser'](_0x14b1e4);const _0x296d5a=_0x36af13['repository']['getRevisions']();let _0x2de4c0=null;const _0x55d46d=this['editor']['plugins']['get']('RevisionViewer');_0x55d46d['adapter']=_0x36af13['adapter'],_0x55d46d['bind']('isEnabled')['to'](_0x36af13),this['editor']['commands']['get']('restoreRevision')['bind']('isEnabled')['to'](_0x2eb3b6,'isReadOnly',_0x2adf1e=>!_0x2adf1e);for(const _0x310b35 of _0x296d5a){const _0x3538a6=null===_0x310b35['creator'];if(_0x3538a6&&_0x310b35['toVersion']===_0x310b35['fromVersion'])continue;const _0x2c19fe=_0x310b35['toJSON']();_0x55d46d['addRevisionData'](_0x2c19fe,(_0x455cfd,_0x46c3df,_0x1c3f39)=>{if(_0x3538a6){if(_0x2de4c0)_0x2de4c0['_update'](_0x455cfd,_0x46c3df);else{if(!_0x46c3df){const _0x6e3f41=_0x1c3f39['toJSON']();_0x6e3f41['id']=_0x47315b(),_0x36af13['saveRevision'](_0x6e3f41,_0x1c3f39['toVersion'])['then'](_0x1a9f5a=>{_0x2de4c0=_0x1a9f5a;});}}}else _0x310b35['_update'](_0x455cfd,_0x46c3df);});}}},w),_0x2a9a60);}['_enhanceShowRevisionViewerCallback'](){const _0x16c3c5=this['editor']['config']['get']('revisionHistory')['showRevisionViewerCallback'];this['editor']['config']['set']('revisionHistory.showRevisionViewerCallback',async()=>{this['editor']['enableReadOnlyMode']('revision-history-viewer-opened');const _0x32bc0f=this['editor']['plugins']['get']('RevisionTracker');if(this['editor']['plugins']['has']('Autosave')){const _0xd7c4d8=this['editor']['plugins']['get']('Autosave');await _0xd7c4d8['save']();}else await _0x32bc0f['update']();if(this['editor']['plugins']['has']('PaginationLookup')&&this['editor']['plugins']['get']('PaginationLookup')['_recalculatePageBreaks'](),this['editor']['plugins']['has']('Dialog')){const _0x58a4c3=this['editor']['plugins']['get']('Dialog');_0x58a4c3['isOpen']&&_0x58a4c3['hide']();}const _0xbefab=this['_getRevisionViewerEditorConfig']();return _0x16c3c5(_0xbefab)['then'](_0x3772f1=>{return(this['_viewerEditor']=_0x3772f1,this['editor']['plugins']['has']('Annotations'))&&this['editor']['plugins']['get']('Annotations')['refreshVisibility'](),_0x3772f1;})['catch'](_0x2e0adb=>(console['error'](_0x2e0adb),this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),null));});}['_enhanceCloseRevisionViewerCallback'](){const _0x5b1918=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'](),_0x5b1918(this['_viewerEditor'])['then'](()=>{if(this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),this['_viewerEditor']=null,this['editor']['plugins']['has']('Annotations')){const _0x53504f=this['editor']['plugins']['get']('Annotations');_0x53504f['refreshVisibility'](),_0x53504f['refreshPositioning']();}})));}['_showRevisionViewer'](_0x41d80e){const _0x4e0cbb=this['editor']['config']['get']('revisionHistory.editorContainer'),_0x2a1c34=this['editor']['config']['get']('revisionHistory.viewerContainer'),_0x572374=this['editor']['config']['get']('revisionHistory.viewerEditorElement');return m['create'](_0x572374,_0x41d80e)['then'](_0x3288e3=>(_0x2a1c34['style']['display']='block',_0x4e0cbb['style']['display']='none',_0x3288e3));}['_closeRevisionViewer'](_0x4a4d30){const _0x192712=this['editor']['config']['get']('revisionHistory.editorContainer');return this['editor']['config']['get']('revisionHistory.viewerContainer')['style']['display']='none',_0x192712['style']['display']='',_0x4a4d30['destroy']();}async['_restoreRevision'](_0x35cdb7){const _0x473c6f=this['editor'],_0x1329e3=this['_viewerEditor']['plugins']['get']('RevisionViewer'),_0xe442e8=_0x473c6f['plugins']['get']('RevisionTracker'),_0x18998c=_0x1329e3['repository']['getRevision'](_0x35cdb7);let _0x13ef6b,_0x2e8207,_0x15753c;try{_0x13ef6b=await _0x1329e3['getRevisionData'](_0x18998c),_0x2e8207=await _0x1329e3['getRevisionRootsAttributes'](_0x18998c);}catch(_0x4ade2f){return void console['error'](_0x4ade2f);}_0x473c6f['model']['change'](_0x242827=>{for(const _0x4ce9cc of Array['from'](_0x473c6f['model']['markers']['getMarkersGroup']('restrictedEditingException')))_0x242827['removeMarker'](_0x4ce9cc);}),_0x1329e3['isReady']=!0x1,_0x473c6f['model']['enqueueChange'](_0x1f95b7=>{_0x1f95b7['setSelection'](null),_0x1f95b7['removeSelectionAttribute'](_0x473c6f['model']['document']['selection']['getAttributeKeys']());const _0x586991=Object['keys'](_0x13ef6b);for(const _0x4df222 of _0x473c6f['model']['document']['roots'])'$graveyard'!=_0x4df222['rootName']&&_0x4df222['isAttached']()&&!_0x586991['includes'](_0x4df222['rootName'])&&_0x1f95b7['detachRoot'](_0x4df222);for(const _0x428b31 of _0x586991){let _0x10c8d3=_0x473c6f['model']['document']['getRoot'](_0x428b31);_0x10c8d3&&_0x10c8d3['isAttached']()||(_0x10c8d3=_0x1f95b7['addRoot'](_0x428b31));const _0x556f13=_0x2e8207[_0x428b31],_0x2a54dc=Object['keys'](_0x556f13),_0x57d5c0=_0x13ef6b[_0x428b31];for(const _0x1a9380 of _0x10c8d3['getAttributeKeys']())_0x2a54dc['includes'](_0x1a9380)||_0x1f95b7['removeAttribute'](_0x1a9380,_0x10c8d3);for(const _0x16a815 of _0x2a54dc)_0x1f95b7['setAttribute'](_0x16a815,_0x2e8207[_0x428b31][_0x16a815],_0x10c8d3);_0x1f95b7['remove'](_0x1f95b7['createRangeIn'](_0x10c8d3)),_0x1f95b7['insert'](_0x473c6f['data']['parse'](_0x57d5c0,_0x10c8d3),_0x10c8d3,0x0);}});const _0x198bc9=y(_0x473c6f['locale'],'Restored');if(_0x18998c['name'])_0x15753c=-0x1==_0x18998c['name']['indexOf'](_0x198bc9)?_0x198bc9+':\x20'+_0x18998c['name']:_0x18998c['name'];else _0x15753c=_0x198bc9+':\x20'+(_0x18998c['createdAt']['toLocaleDateString'](_0x473c6f['locale']['uiLanguage'],{'month':'long','day':'numeric'})+',\x20'+_0x18998c['createdAt']['toLocaleTimeString'](_0x473c6f['locale']['uiLanguage'],{'hour':'numeric','minute':'numeric'}));return await _0xe442e8['saveRevision']({'name':_0x15753c}),_0x1329e3['isReady']=!0x0,_0x473c6f['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(_0x10b0a0){super(_0x10b0a0),this['_revisionViewer']=_0x10b0a0['plugins']['get'](d),this['_revisionsRepository']=this['_revisionViewer']['repository'],this['_sidebarView']=null;}['init'](){const _0xe9da6d=this['_revisionsRepository']['_revisions'],_0x35718c=this['_createRevisionActions'](),_0x51984f=this['editor']['config']['get']('revisionHistory.viewerSidebarContainer');this['_sidebarView']=new ci(this['editor']['locale'],_0xe9da6d,_0x35718c,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',(_0x4fbc76,_0x1b26a0)=>{_0x1b26a0['revisionViews']['on']('add',(_0x15ef27,_0x4bb648)=>{_0x4bb648['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)),_0x51984f['appendChild'](this['_sidebarView']['element']);}['destroy'](){this['_sidebarView']['element']['remove'](),this['_sidebarView']['destroy']();}['_handleEditorDataReady'](){const _0x284492=this['_revisionsRepository']['getRevision'](0x0);if(_0x284492){const _0x3bd789=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x284492['id']);this['_revisionViewer']['compare'](_0x284492,_0x3bd789);}}['_handleRevisionSelected'](_0x198b7d,_0x32995e){const _0x545bb3=this['_revisionsRepository']['getRevision'](_0x32995e['id']),_0x1ed94d=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x545bb3['id']);this['_revisionViewer']['compare'](_0x545bb3,_0x1ed94d);}['_handleRevisionSetName'](_0x54248a,_0x1f4d72){this['_revisionsRepository']['getRevision'](_0x1f4d72['id'])['setName'](_0x1f4d72['name']);}['_handleDiffChange'](_0x30998d,_0x36bd11,_0x47ba9e){const _0x7d03a5=this['_revisionsRepository']['getRevisionsInDiff'](_0x47ba9e);_0x7d03a5['length']>0x2?(this['_sidebarView']['highlightRevisions'](_0x7d03a5),this['_sidebarView']['selectRevision'](null)):(this['_sidebarView']['highlightRevisions']([]),this['_sidebarView']['selectRevision'](_0x7d03a5[0x0]));}['_createRevisionActions'](){const _0x4054a4=this['editor'],_0x342bd0=w['availableRevisionActions'],_0x111922=_0x4054a4['config']['get']('revisionHistory.revisionActions')||w['defaultRevisionActions'];if(_0x111922['length'])return _0x111922['map'](_0x3c1d96=>{const _0x425471='string'==typeof _0x3c1d96?Object['assign']({},_0x342bd0[_0x3c1d96]):_0x3c1d96;return _0x425471['action']=_0x425471['action']['bind'](this,_0x4054a4),_0x425471['isVisible']&&(_0x425471['isVisible']=_0x425471['isVisible']['bind'](this,_0x4054a4)),_0x425471;});}}function Rt(){return{'compareAgainstSelected':{'name':'Compare\x20against\x20selected','action':({plugins:_0x4fe70b},_0x1b427e)=>{const _0x1deca3=_0x4fe70b['get'](d),_0x25c926=_0x1deca3['repository'];let _0x30f45c=_0x1deca3['diff']['newRevisionId'],_0x1e8078=_0x1b427e['id'];_0x25c926['getIndex'](_0x30f45c)>_0x25c926['getIndex'](_0x1e8078)&&([_0x30f45c,_0x1e8078]=[_0x1e8078,_0x30f45c]),_0x1deca3['compare'](_0x30f45c,_0x1e8078);},'isVisible':({plugins:_0x484c96},_0x492219)=>{const _0x315e67=_0x484c96['get'](d);return!(_0x315e67['repository']['getRevisionsInDiff'](_0x315e67['diff'])['length']>0x2)&&!_0x492219['isSelected'];}},'restoreRevision':{'name':'Restore\x20this\x20revision','action':(_0x1e0416,{id:_0x517b93})=>{_0x1e0416['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x517b93);},'isVisible':({plugins:_0x25da69},_0x1a7741)=>!!_0x25da69['get'](d)['repository']['getLaterVisibleRevision'](_0x1a7741['id'])},'nameRevision':{'name':'Name\x20this\x20revision','action':({plugins:_0x186b23},{id:_0x4300b2,revisionNameView:_0x282c2e})=>{const _0x4f9fd4=_0x186b23['get'](d),_0x589bd1=_0x4f9fd4['repository']['getEarlierVisibleRevision'](_0x4300b2);_0x4f9fd4['compare'](_0x4300b2,_0x589bd1),_0x282c2e['focus'](),_0x282c2e['fieldView']['select']();}}};}class st extends ht{['_view'];['_toolbarConfig'];['_elementReplacer'];get['view'](){return this['_view'];}constructor(_0x58a7e8,_0x49b3b5){super(_0x58a7e8),this['_view']=_0x49b3b5,this['_toolbarConfig']=ct(_0x58a7e8['config']['get']('toolbar')),this['_elementReplacer']=new nt();}get['element'](){return this['view']['element'];}['init'](_0x311fc6){const _0x3efa43=this['editor'],_0x1dd444=this['view'],_0x42dcce=_0x3efa43['editing']['view'],_0x2b9a9a=_0x1dd444['editable'],_0x5322bd=_0x42dcce['document']['getRoot']();_0x2b9a9a['name']=_0x5322bd['rootName'],_0x1dd444['render']();const _0x353b76=_0x2b9a9a['element'];this['setEditableElement'](_0x2b9a9a['name'],_0x353b76),_0x1dd444['editable']['bind']('isFocused')['to'](this['focusTracker']),_0x42dcce['attachDomRoot'](_0x353b76),this['_elementReplacer']['replace'](_0x311fc6,this['element']),this['_initToolbar'](),this['fire']('ready');}['destroy'](){super['destroy']();const _0x5ce015=this['view'],_0x3094e4=this['editor']['editing']['view'];this['_elementReplacer']['restore'](),_0x3094e4['detachDomRoot'](_0x5ce015['editable']['name']),_0x5ce015['destroy']();}['_initToolbar'](){const _0x1da528=this['view'];_0x1da528['stickyPanel']['bind']('isActive')['to'](this['focusTracker'],'isFocused'),_0x1da528['stickyPanel']['limiterElement']=_0x1da528['element'],_0x1da528['stickyPanel']['bind']('viewportTopOffset')['to'](this,'viewportOffset',({top:_0x345c6c})=>_0x345c6c),_0x1da528['toolbar']['fillFromConfig'](this['_toolbarConfig'],this['componentFactory']),this['addToolbar'](_0x1da528['toolbar']);}}class ot extends dt{['_editable'];['stickyPanel'];['toolbar'];get['editable'](){return this['_editable'];}constructor(_0x1be780,_0x58bb75,_0x4dbba4={}){super(_0x1be780),this['stickyPanel']=new lt(_0x1be780),this['toolbar']=new pt(_0x1be780,{'shouldGroupWhenFull':_0x4dbba4['shouldToolbarGroupWhenFull']}),this['_editable']=new ut(_0x1be780,_0x58bb75);}['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(_0x2b8646,_0x27ac09){super(_0x27ac09),this['sourceElement']=_0x2b8646,this['model']['document']['createRoot']();const _0x4538a6=new ot(this['locale'],this['editing']['view'],{'shouldToolbarGroupWhenFull':!0x0});this['_ui']=new st(this,_0x4538a6);}['destroy'](){return this['updateSourceElement'](),this['ui']['destroy'](),super['destroy']();}static async['create'](_0x276bb3,_0x37c047){const _0x29f9d0=new this(_0x276bb3,_0x37c047);return await _0x29f9d0['initPlugins'](),await _0x29f9d0['ui']['init'](_0x276bb3),await _0x29f9d0['data']['init'](_0x29f9d0['config']['get']('initialData')||''),_0x29f9d0['fire']('ready'),_0x29f9d0;}}const p=['RevisionHistoryUI','RestrictedEditingMode'];class k extends _0x118092{['result'];static get['pluginName'](){return'RevisionViewerIntegration';}constructor(_0x28f851){super(_0x28f851),this['result']='end';}}class H extends _0x118092{['_viewerEditor'];static get['pluginName'](){return'RevisionHistory';}static get['requires'](){return[l,u];}constructor(_0x370447){if(super(_0x370447),!this['editor']['config']['get']('revisionHistory'))throw new _0x8de255('revision-history-missing-configuration',this);this['_viewerEditor']=null,this['editor']['config']['define']('revisionHistory.showRevisionViewerCallback',_0x51c94d=>this['_showRevisionViewer']({..._0x51c94d,'translations':this['editor']['locale']['translations']})),this['editor']['config']['define']('revisionHistory.closeRevisionViewerCallback',_0x4d160c=>this['_closeRevisionViewer'](_0x4d160c)),this['editor']['config']['define']('revisionHistory.restoreRevisionCallback',_0x3aae80=>this['_restoreRevision'](_0x3aae80)),this['editor']['config']['define']('revisionHistory.requireRevisionName',!0x1),this['_enhanceShowRevisionViewerCallback'](),this['_enhanceCloseRevisionViewerCallback']();}set['adapter'](_0x214710){this['editor']['plugins']['get']('RevisionTracker')['adapter']=_0x214710;}get['adapter'](){return this['editor']['plugins']['get']('RevisionTracker')['adapter'];}['addRevisionData'](_0x3c3ea7){return this['editor']['plugins']['get']('RevisionTracker')['addRevisionData'](_0x3c3ea7);}['getRevision'](_0xd18a02){return this['editor']['plugins']['get']('RevisionsRepository')['getRevision'](_0xd18a02);}['getRevisions'](_0x4fecdd){return this['editor']['plugins']['get']('RevisionsRepository')['getRevisions'](_0x4fecdd||{'toJSON':!0x1});}['_getRevisionViewerEditorConfig'](){const _0xe10ae6=this['editor'],_0x3b3326=_0x348f62(_0xe10ae6,p),_0x35b108=_0xe10ae6['plugins']['get']('RevisionTracker'),_0x158ee7=_0xe10ae6['plugins']['get']('Users')['users'];return _0x3b3326['toolbar']=['exitToEditing','restoreRevision','changesNavigation'],delete _0x3b3326['lazyRoots'],(_0x3b3326['plugins']['push'](k,d,R,class extends _0x118092{static get['requires'](){return[d,'Users'];}['init'](){const _0x4fddf9=this['editor']['plugins']['get']('Users');for(const _0x30e197 of _0x158ee7)_0x30e197['isAnonymous']||_0x4fddf9['getUser'](_0x30e197['id'])||_0x4fddf9['addUser'](_0x30e197);const _0x6c63be=_0x35b108['repository']['getRevisions']();let _0x5e3910=null;const _0x239f8f=this['editor']['plugins']['get']('RevisionViewer');_0x239f8f['adapter']=_0x35b108['adapter'],_0x239f8f['bind']('isEnabled')['to'](_0x35b108),this['editor']['commands']['get']('restoreRevision')['bind']('isEnabled')['to'](_0xe10ae6,'isReadOnly',_0x35fe97=>!_0x35fe97);for(const _0x4dc21a of _0x6c63be){const _0x313956=null===_0x4dc21a['creator'];if(_0x313956&&_0x4dc21a['toVersion']===_0x4dc21a['fromVersion'])continue;const _0x134d3e=_0x4dc21a['toJSON']();_0x239f8f['addRevisionData'](_0x134d3e,(_0x15d899,_0x48c71c,_0x4ab8a3)=>{if(_0x313956){if(_0x5e3910)_0x5e3910['_update'](_0x15d899,_0x48c71c);else{if(!_0x48c71c){const _0x4dfc4e=_0x4ab8a3['toJSON']();_0x4dfc4e['id']=_0x43d041(),_0x35b108['saveRevision'](_0x4dfc4e,_0x4ab8a3['toVersion'])['then'](_0x268808=>{_0x5e3910=_0x268808;});}}}else _0x4dc21a['_update'](_0x15d899,_0x48c71c);});}}},w),_0x3b3326);}['_enhanceShowRevisionViewerCallback'](){const _0x5cf00e=this['editor']['config']['get']('revisionHistory')['showRevisionViewerCallback'];this['editor']['config']['set']('revisionHistory.showRevisionViewerCallback',async()=>{this['editor']['enableReadOnlyMode']('revision-history-viewer-opened');const _0x209579=this['editor']['plugins']['get']('RevisionTracker');if(this['editor']['plugins']['has']('Autosave')){const _0x11c96a=this['editor']['plugins']['get']('Autosave');await _0x11c96a['save']();}else await _0x209579['update']();if(this['editor']['plugins']['has']('PaginationLookup')&&this['editor']['plugins']['get']('PaginationLookup')['_recalculatePageBreaks'](),this['editor']['plugins']['has']('Dialog')){const _0x8bb5d6=this['editor']['plugins']['get']('Dialog');_0x8bb5d6['isOpen']&&_0x8bb5d6['hide']();}const _0x248a7a=this['_getRevisionViewerEditorConfig']();return _0x5cf00e(_0x248a7a)['then'](_0x56ad45=>{return(this['_viewerEditor']=_0x56ad45,this['editor']['plugins']['has']('Annotations'))&&this['editor']['plugins']['get']('Annotations')['refreshVisibility'](),_0x56ad45;})['catch'](_0x45bbf3=>(console['error'](_0x45bbf3),this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),null));});}['_enhanceCloseRevisionViewerCallback'](){const _0x4392fc=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'](),_0x4392fc(this['_viewerEditor'])['then'](()=>{if(this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),this['_viewerEditor']=null,this['editor']['plugins']['has']('Annotations')){const _0x421c52=this['editor']['plugins']['get']('Annotations');_0x421c52['refreshVisibility'](),_0x421c52['refreshPositioning']();}})));}['_showRevisionViewer'](_0x52cf3f){const _0xe870d9=this['editor']['config']['get']('revisionHistory.editorContainer'),_0x7e6b05=this['editor']['config']['get']('revisionHistory.viewerContainer'),_0x100445=this['editor']['config']['get']('revisionHistory.viewerEditorElement');return m['create'](_0x100445,_0x52cf3f)['then'](_0x342003=>(_0x7e6b05['style']['display']='block',_0xe870d9['style']['display']='none',_0x342003));}['_closeRevisionViewer'](_0x2e4d58){const _0x10ddbb=this['editor']['config']['get']('revisionHistory.editorContainer');return this['editor']['config']['get']('revisionHistory.viewerContainer')['style']['display']='none',_0x10ddbb['style']['display']='',_0x2e4d58['destroy']();}async['_restoreRevision'](_0x275632){const _0x943e31=this['editor'],_0x41827b=this['_viewerEditor']['plugins']['get']('RevisionViewer'),_0x5974e0=_0x943e31['plugins']['get']('RevisionTracker'),_0x520dd2=_0x41827b['repository']['getRevision'](_0x275632);let _0x229a4a,_0x34a7eb,_0xce1865;try{_0x229a4a=await _0x41827b['getRevisionData'](_0x520dd2),_0x34a7eb=await _0x41827b['getRevisionRootsAttributes'](_0x520dd2);}catch(_0x57ab3e){return void console['error'](_0x57ab3e);}_0x943e31['model']['change'](_0x29a608=>{for(const _0x24d7d9 of Array['from'](_0x943e31['model']['markers']['getMarkersGroup']('restrictedEditingException')))_0x29a608['removeMarker'](_0x24d7d9);}),_0x41827b['isReady']=!0x1,_0x943e31['model']['enqueueChange'](_0x54aaab=>{_0x54aaab['setSelection'](null),_0x54aaab['removeSelectionAttribute'](_0x943e31['model']['document']['selection']['getAttributeKeys']());const _0x564909=Object['keys'](_0x229a4a);for(const _0x131009 of _0x943e31['model']['document']['roots'])'$graveyard'!=_0x131009['rootName']&&_0x131009['isAttached']()&&!_0x564909['includes'](_0x131009['rootName'])&&_0x54aaab['detachRoot'](_0x131009);for(const _0x11d47b of _0x564909){let _0x41628d=_0x943e31['model']['document']['getRoot'](_0x11d47b);_0x41628d&&_0x41628d['isAttached']()||(_0x41628d=_0x54aaab['addRoot'](_0x11d47b));const _0x5265a3=_0x34a7eb[_0x11d47b],_0x1734f6=Object['keys'](_0x5265a3),_0x3b1aaa=_0x229a4a[_0x11d47b];for(const _0x33a8cf of _0x41628d['getAttributeKeys']())_0x1734f6['includes'](_0x33a8cf)||_0x54aaab['removeAttribute'](_0x33a8cf,_0x41628d);for(const _0x53973f of _0x1734f6)_0x54aaab['setAttribute'](_0x53973f,_0x34a7eb[_0x11d47b][_0x53973f],_0x41628d);_0x54aaab['remove'](_0x54aaab['createRangeIn'](_0x41628d)),_0x54aaab['insert'](_0x943e31['data']['parse'](_0x3b1aaa,_0x41628d),_0x41628d,0x0);}});const _0x347f29=y(_0x943e31['locale'],'Restored');if(_0x520dd2['name'])_0xce1865=-0x1==_0x520dd2['name']['indexOf'](_0x347f29)?_0x347f29+':\x20'+_0x520dd2['name']:_0x520dd2['name'];else _0xce1865=_0x347f29+':\x20'+(_0x520dd2['createdAt']['toLocaleDateString'](_0x943e31['locale']['uiLanguage'],{'month':'long','day':'numeric'})+',\x20'+_0x520dd2['createdAt']['toLocaleTimeString'](_0x943e31['locale']['uiLanguage'],{'hour':'numeric','minute':'numeric'}));return await _0x5974e0['saveRevision']({'name':_0xce1865}),_0x41827b['isReady']=!0x0,_0x943e31['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};