@ckeditor/ckeditor5-revision-history 0.0.0-nightly-20240506.0 → 0.0.0-nightly-20240508.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/build/revision-history.js +1 -1
- package/dist/index.css +28 -0
- package/dist/index.js +1 -1
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +5 -5
- package/src/changeitem.js +1 -1
- package/src/editor/revisionviewereditor.js +1 -1
- package/src/editor/revisionviewereditorui.js +1 -1
- package/src/editor/revisionviewereditoruiview.js +1 -1
- package/src/index.js +1 -1
- package/src/revision.js +1 -1
- package/src/revisiondiff.js +1 -1
- package/src/revisionhistory.js +1 -1
- package/src/revisionsrepository.js +1 -1
- package/src/revisiontracker.js +1 -1
- package/src/revisionviewer.js +1 -1
- package/src/ui/revision/createrevisionactionsdropdown.js +1 -1
- package/src/ui/revision/revisionauthorview.js +1 -1
- package/src/ui/revision/revisionnameview.js +1 -1
- package/src/ui/revision/revisionview.js +1 -1
- package/src/ui/revision/subrevisioncollapserview.js +1 -1
- package/src/ui/revision/subrevisionview.js +1 -1
- package/src/ui/revision/utils.js +1 -1
- package/src/ui/revisionhistory/revisionhistorysaverevisionformview.js +1 -1
- package/src/ui/revisionhistory/revisionhistoryui.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebar.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebarheaderview.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebartimeperiodview.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebarview.js +1 -1
- package/src/ui/revisionssidebar/utils.js +1 -1
- package/src/ui/revisionviewer/changedetailsview.js +1 -1
- package/src/ui/revisionviewer/changesnavigationview.js +1 -1
- package/src/ui/revisionviewer/revisionviewerloadingoverlay.js +1 -1
- package/src/ui/revisionviewer/revisionviewerui.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/theme/revision/revision.css +4 -0
- package/theme/revision/revisionauthor.css +4 -0
- package/theme/revision/revisionname.css +4 -0
- package/theme/revision/subrevision.css +4 -0
- package/theme/revision/subrevisioncollapser.css +4 -0
- package/theme/revisionviewerloadingoverlay.css +4 -0
package/dist/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Plugin as _0x527fb6,Context as _0x4e13cf,PendingActions as _0x5b7317,icons as _0x27bd18,Command as _0xcc4e5e,DataApiMixin as rt,ElementApiMixin as st,Editor as it}from'@ckeditor/ckeditor5-core/dist/index.js';import{ObservableMixin as _0xb7bf67,uid as _0xfce3ff,Collection as _0x116d4f,logWarning as _0x2efac4,FocusTracker as _0x50debf,KeystrokeHandler as _0x143bb2,scrollViewportToShowTarget as _0x80e602,ResizeObserver as kt,ElementReplacer as nt,CKEditorError as _0x424f19}from'@ckeditor/ckeditor5-utils/dist/index.js';import{Users as _0x2afa19,getMarkerDomElement as _0x3e03f6,ConfirmMixin as _0x36bdb7,sanitizeEditorConfig as _0x3f69e4}from'ckeditor5-collaboration/dist/index.js';import{ViewDocumentFragment as _0x53ade3,ViewText as _0x2cc54b,ViewElement as _0x431d98,Element as ft,Range as gt,Position as wt,DocumentFragment as _t,ViewContainerElement as _0x264489,ViewAttributeElement as _0x26d899,ViewEmptyElement as _0x5d893e,ViewRawElement as _0x58bc3d,ViewUIElement as _0x2100bb,Text as yt}from'@ckeditor/ckeditor5-engine/dist/index.js';import{cloneDeep as _0x6f0b6d,set as _0x35103d,unset as _0x4fb3ec,isEqual as _0xef4721}from'lodash-es';import{View as _0xc1e55f,submitHandler as _0x373453,LabeledFieldView as mt,createLabeledInputText as _0x38b90f,injectCssTransitionDisabler as ts,createDropdown as _0x1fd32b,ListView as te,ListItemView as _0x167b4f,ButtonView as _0x471fbe,MenuBarMenuView as _0x40861d,MenuBarMenuListView as _0x2ffdb8,MenuBarMenuListItemView as _0x369624,MenuBarMenuListItemButtonView as _0x21d718,ContextualBalloon as _0xb14f3f,ToolbarSeparatorView as _0x16b4f5,IconView as _0x4fa6cb,addListToDropdown as _0x533dd4,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 _0x2e28c5}from'luxon';class a extends _0xb7bf67(){['setName'](_0x35340a){this['_update']({'name':_0x35340a});}['setAttribute'](_0x57628b,_0x41c74c){const _0x13bd7f=_0x6f0b6d(this['attributes']);_0x35103d(_0x13bd7f,_0x57628b,_0x41c74c),this['_update']({'attributes':_0x13bd7f});}['removeAttribute'](_0x1a1d6d){const _0x1bedd6=_0x6f0b6d(this['attributes']);_0x4fb3ec(_0x1bedd6,_0x1a1d6d),this['_update']({'attributes':_0x1bedd6});}['_update'](_0x1a3478,_0x205d37=!0x1){let _0x40e235=!0x1;const _0x5ea2f1={'id':this['id']},_0x23d57e=['name','createdAt','diffData','authors','attributes','toVersion','fromVersion','creatorId'];for(const _0x24ce84 of _0x23d57e){const _0x386244=_0x1a3478[_0x24ce84];void 0x0!==_0x386244&&_0x386244!==this[_0x24ce84]&&(this[_0x24ce84]=_0x386244,_0x5ea2f1[_0x24ce84]=_0x386244,_0x40e235=!0x0);}_0x40e235&&(_0x5ea2f1['authors']&&(_0x5ea2f1['authorsIds']=_0x5ea2f1['authors']['map'](_0x36cd93=>_0x36cd93['id']),delete _0x5ea2f1['authors']),this['fire']('_update',_0x5ea2f1,_0x205d37));}['toJSON'](){return{'id':this['id'],'name':this['name'],'creatorId':this['creator']?this['creator']['id']:null,'authorsIds':this['authors']['map'](_0xc00f8f=>_0xc00f8f['id']),'diffData':this['diffData'],'createdAt':this['createdAt'],'attributes':this['attributes'],'fromVersion':this['fromVersion'],'toVersion':this['toVersion']};}constructor(_0xfd8197){super(),this['id']=_0xfd8197['id']||_0xfce3ff(),this['creator']=_0xfd8197['creator']||null,this['authors']=_0xfd8197['authors']||[],this['diffData']=_0xfd8197['diffData']||null,this['toVersion']=_0xfd8197['toVersion']||0x0,this['fromVersion']=_0xfd8197['fromVersion']||0x0,this['set']('name',_0xfd8197['name']||''),this['set']('createdAt',_0xfd8197['createdAt']||new Date()),this['set']('attributes',_0xfd8197['attributes']||{});}}class A extends _0x527fb6{static get['requires'](){return[_0x2afa19];}static get['pluginName'](){return'RevisionsRepository';}get['length'](){return this['_revisions']['length'];}['afterInit'](){!function(_0x16dda8){function _0xc18e38(_0x2bd793,_0x16caaf,_0x4e1a51){const _0x266849={};_0x266849[_0x26e399([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])]={0x10:0xa,0x18:0xc,0x20:0xe},_0x266849[_0x26e399([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],_0x266849[_0x26e399([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],_0x266849[_0x26e399([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],_0x266849[_0x26e399([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],_0x266849[_0x26e399([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],_0x266849[_0x26e399([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],_0x266849[_0x26e399([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],_0x266849[_0x26e399([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],_0x266849[_0x26e399([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],_0x266849[_0x26e399([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 _0x1d8038=new Uint8Array(0x10);for(let _0x274271=0xf;_0x274271>=0x0;--_0x274271)_0x1d8038[_0x274271]=_0x4e1a51%0x100,_0x4e1a51=parseInt(_0x4e1a51/0x100);let _0x3f5d32=null,_0x1d6753=0x10;const _0x57f982=new Uint8Array(_0x16caaf),_0x18d015=[],_0x3e97a2=[];_0x5c0092();for(let _0x6298ba=0x0;_0x6298ba<_0x2bd793[_0x26e399([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x6298ba++)0x10===_0x1d6753&&(_0x3f5d32=_0x5d8488(_0x1d8038),_0x1d6753=0x0,_0x2cb7ca(_0x1d8038)),_0x2bd793[_0x6298ba]^=_0x3f5d32[_0x1d6753++];return _0x2bd793;function _0x24fd27(_0x553f90){const _0x1c1199=[];for(let _0x8253ae=0x0;_0x8253ae<_0x553f90[_0x26e399([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x8253ae+=0x4)_0x1c1199[_0x26e399([0x70,0x75,0x73,0x68])](_0x553f90[_0x8253ae]<<0x18|_0x553f90[_0x8253ae+0x1]<<0x10|_0x553f90[_0x8253ae+0x2]<<0x8|_0x553f90[_0x8253ae+0x3]);return _0x1c1199;}function _0x2cb7ca(_0xe9cd1){for(let _0x2c5f76=0xf;_0x2c5f76>=0x0;_0x2c5f76--){if(0xff!==_0xe9cd1[_0x2c5f76]){_0xe9cd1[_0x2c5f76]++;break;}_0xe9cd1[_0x2c5f76]=0x0;}}function _0x5d8488(_0x407010){const _0x355ba6=_0x18d015[_0x26e399([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x1,_0x330467=[0x0,0x0,0x0,0x0];let t=_0x24fd27(_0x407010);for(let _0x1c774c=0x0;_0x1c774c<0x4;_0x1c774c++)t[_0x1c774c]^=_0x18d015[0x0][_0x1c774c];for(let _0x32af41=0x1;_0x32af41<_0x355ba6;_0x32af41++){for(let _0x3ea841=0x0;_0x3ea841<0x4;_0x3ea841++)_0x330467[_0x3ea841]=_0x266849[_0x26e399([0x54,0x31])][t[_0x3ea841]>>0x18&0xff]^_0x266849[_0x26e399([0x54,0x32])][t[(_0x3ea841+0x1)%0x4]>>0x10&0xff]^_0x266849[_0x26e399([0x54,0x33])][t[(_0x3ea841+0x2)%0x4]>>0x8&0xff]^_0x266849[_0x26e399([0x54,0x34])][0xff&t[(_0x3ea841+0x3)%0x4]]^_0x18d015[_0x32af41][_0x3ea841];t=_0x330467[_0x26e399([0x73,0x6c,0x69,0x63,0x65])]();}const _0x457a75=new Uint8Array(0x10);let _0x27ed4e;for(let _0x12b1b6=0x0;_0x12b1b6<0x4;_0x12b1b6++)_0x27ed4e=_0x18d015[_0x355ba6][_0x12b1b6],_0x457a75[0x4*_0x12b1b6]=0xff&(_0x266849[_0x26e399([0x53])][t[_0x12b1b6]>>0x18&0xff]^_0x27ed4e>>0x18),_0x457a75[0x4*_0x12b1b6+0x1]=0xff&(_0x266849[_0x26e399([0x53])][t[(_0x12b1b6+0x1)%0x4]>>0x10&0xff]^_0x27ed4e>>0x10),_0x457a75[0x4*_0x12b1b6+0x2]=0xff&(_0x266849[_0x26e399([0x53])][t[(_0x12b1b6+0x2)%0x4]>>0x8&0xff]^_0x27ed4e>>0x8),_0x457a75[0x4*_0x12b1b6+0x3]=0xff&(_0x266849[_0x26e399([0x53])][0xff&t[(_0x12b1b6+0x3)%0x4]]^_0x27ed4e);return _0x457a75;}function _0x5c0092(){const _0xba258e=_0x266849[_0x26e399([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])][_0x57f982[_0x26e399([0x6c,0x65,0x6e,0x67,0x74,0x68])]];for(let _0x259d26=0x0;_0x259d26<=_0xba258e;_0x259d26++)_0x18d015[_0x26e399([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]),_0x3e97a2[_0x26e399([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]);const _0x1499bb=0x4*(_0xba258e+0x1),_0x15af34=_0x57f982[_0x26e399([0x6c,0x65,0x6e,0x67,0x74,0x68])]/0x4,_0x46bf7b=_0x24fd27(_0x57f982);let _0x494835;for(let _0x3443dc=0x0;_0x3443dc<_0x15af34;_0x3443dc++)_0x494835=_0x3443dc>>0x2,_0x18d015[_0x494835][_0x3443dc%0x4]=_0x46bf7b[_0x3443dc],_0x3e97a2[_0xba258e-_0x494835][_0x3443dc%0x4]=_0x46bf7b[_0x3443dc];let _0x3420ba,_0x1035d6=0x0,t=_0x15af34;for(;t<_0x1499bb;){_0x3420ba=_0x46bf7b[_0x15af34-0x1],_0x46bf7b[0x0]^=_0x266849[_0x26e399([0x53])][_0x3420ba>>0x10&0xff]<<0x18^_0x266849[_0x26e399([0x53])][_0x3420ba>>0x8&0xff]<<0x10^_0x266849[_0x26e399([0x53])][0xff&_0x3420ba]<<0x8^_0x266849[_0x26e399([0x53])][_0x3420ba>>0x18&0xff]^_0x266849[_0x26e399([0x72,0x63,0x6f,0x6e])][_0x1035d6]<<0x18,_0x1035d6+=0x1;for(let _0x57a8c6=0x1;_0x57a8c6<_0x15af34/0x2;_0x57a8c6++)_0x46bf7b[_0x57a8c6]^=_0x46bf7b[_0x57a8c6-0x1];_0x3420ba=_0x46bf7b[_0x15af34/0x2-0x1],_0x46bf7b[_0x15af34/0x2]^=_0x266849[_0x26e399([0x53])][0xff&_0x3420ba]^_0x266849[_0x26e399([0x53])][_0x3420ba>>0x8&0xff]<<0x8^_0x266849[_0x26e399([0x53])][_0x3420ba>>0x10&0xff]<<0x10^_0x266849[_0x26e399([0x53])][_0x3420ba>>0x18&0xff]<<0x18;for(let _0x1af4aa=_0x15af34/0x2+0x1;_0x1af4aa<_0x15af34;_0x1af4aa++)_0x46bf7b[_0x1af4aa]^=_0x46bf7b[_0x1af4aa-0x1];let _0x533d34,_0xe632c8,_0x25f72f=0x0;for(;_0x25f72f<_0x15af34&&t<_0x1499bb;)_0x533d34=t>>0x2,_0xe632c8=t%0x4,_0x18d015[_0x533d34][_0xe632c8]=_0x46bf7b[_0x25f72f],_0x3e97a2[_0xba258e-_0x533d34][_0xe632c8]=_0x46bf7b[_0x25f72f++],t++;}for(let _0x23e8af=0x1;_0x23e8af<_0xba258e;_0x23e8af++)for(let _0x4b2284=0x0;_0x4b2284<0x4;_0x4b2284++)_0x3420ba=_0x3e97a2[_0x23e8af][_0x4b2284],_0x3e97a2[_0x23e8af][_0x4b2284]=_0x266849[_0x26e399([0x55,0x31])][_0x3420ba>>0x18&0xff]^_0x266849[_0x26e399([0x55,0x32])][_0x3420ba>>0x10&0xff]^_0x266849[_0x26e399([0x55,0x33])][_0x3420ba>>0x8&0xff]^_0x266849[_0x26e399([0x55,0x34])][0xff&_0x3420ba];}}function _0x26e399(_0x3e4cd5){return _0x3e4cd5['map'](_0x31b277=>String['fromCharCode'](_0x31b277))['join']('');}(_0x45f892=>{function _0x8f5a6d(){const _0x152936=[{[_0x26e399([0x69,0x64])]:0x1,[_0x26e399([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x26e399([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73]),[_0x26e399([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x26e399([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x26e399([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x26e399([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x26e399([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x26e399([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x26e399([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]:[{[_0x26e399([0x69,0x64])]:0x2,[_0x26e399([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x26e399([0x54,0x72,0x61,0x63,0x6b,0x20,0x43,0x68,0x61,0x6e,0x67,0x65,0x73]),[_0x26e399([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x26e399([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x26e399([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x26e399([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x26e399([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x26e399([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]),[_0x26e399([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x26e399([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x26e399([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x26e399([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}}],[_0x26e399([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x26e399([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x26e399([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x26e399([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x26e399([0x69,0x64])]:0x3,[_0x26e399([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x26e399([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e]),[_0x26e399([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x26e399([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x6f,0x6f,0x6b,0x75,0x70]),[_0x26e399([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x26e399([0x70,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x26e399([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x26e399([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x26e399([0x69,0x64])]:0x4,[_0x26e399([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x26e399([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x20,0x48,0x69,0x73,0x74,0x6f,0x72,0x79]),[_0x26e399([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x26e399([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x26e399([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x26e399([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x26e399([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x26e399([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]),[_0x26e399([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x26e399([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x26e399([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x26e399([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x26e399([0x69,0x64])]:0x5,[_0x26e399([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x26e399([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x20,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65]),[_0x26e399([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x26e399([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65,0x55,0x49]),[_0x26e399([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x26e399([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]),[_0x26e399([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x26e399([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x26e399([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x26e399([0x66,0x67,0x69])]:[0xc]}},{[_0x26e399([0x69,0x64])]:0x6,[_0x26e399([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x26e399([0x46,0x6f,0x72,0x6d,0x61,0x74,0x20,0x50,0x61,0x69,0x6e,0x74,0x65,0x72]),[_0x26e399([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x26e399([0x46,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x55,0x49]),[_0x26e399([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x26e399([0x66,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x26e399([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x26e399([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x26e399([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x26e399([0x66,0x67,0x69])]:[0xc]}},{[_0x26e399([0x69,0x64])]:0x7,[_0x26e399([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x26e399([0x53,0x6c,0x61,0x73,0x68,0x20,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64]),[_0x26e399([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x26e399([0x53,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x55,0x49]),[_0x26e399([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x26e399([0x73,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x26e399([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x26e399([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x26e399([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x26e399([0x66,0x67,0x69])]:[0xc]}},{[_0x26e399([0x69,0x64])]:0x8,[_0x26e399([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x26e399([0x54,0x61,0x62,0x6c,0x65,0x20,0x6f,0x66,0x20,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73]),[_0x26e399([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x26e399([0x54,0x61,0x62,0x6c,0x65,0x4f,0x66,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x26e399([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x26e399([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]),[_0x26e399([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x26e399([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x26e399([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x26e399([0x66,0x67,0x69])]:[0xc]}},{[_0x26e399([0x69,0x64])]:0x9,[_0x26e399([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x26e399([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65]),[_0x26e399([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x26e399([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x55,0x49]),[_0x26e399([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x26e399([0x74,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x26e399([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x26e399([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x26e399([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x26e399([0x66,0x67,0x69])]:[0xc,0xe]}},{[_0x26e399([0x69,0x64])]:0xa,[_0x26e399([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x26e399([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]),[_0x26e399([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x26e399([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]),[_0x26e399([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x26e399([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]),[_0x26e399([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x26e399([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x26e399([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x26e399([0x66,0x67,0x69])]:[0xc]}},{[_0x26e399([0x69,0x64])]:0xb,[_0x26e399([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x26e399([0x41,0x49,0x20,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74]),[_0x26e399([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x26e399([0x41,0x49,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74,0x55,0x49]),[_0x26e399([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x26e399([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x26e399([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x26e399([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x26e399([0x69,0x64])]:0xc,[_0x26e399([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x26e399([0x50,0x72,0x6f,0x64,0x75,0x63,0x74,0x69,0x76,0x69,0x74,0x79,0x20,0x70,0x61,0x63,0x6b])},{[_0x26e399([0x69,0x64])]:0xd,[_0x26e399([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x26e399([0x43,0x61,0x73,0x65,0x20,0x43,0x68,0x61,0x6e,0x67,0x65]),[_0x26e399([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x26e399([0x43,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x55,0x49]),[_0x26e399([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x26e399([0x63,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x26e399([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x26e399([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x26e399([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x26e399([0x66,0x67,0x69])]:[0xc]}},{[_0x26e399([0x69,0x64])]:0xe,[_0x26e399([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x26e399([0x44,0x72,0x75,0x70,0x61,0x6c,0x20,0x70,0x61,0x63,0x6b]),[_0x26e399([0x66,0x6f,0x72,0x62,0x69,0x64,0x64,0x65,0x6e,0x48,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x26e399([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])},{[_0x26e399([0x69,0x64])]:0xf,[_0x26e399([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x26e399([0x4d,0x75,0x6c,0x74,0x69,0x20,0x4c,0x65,0x76,0x65,0x6c,0x20,0x4c,0x69,0x73,0x74]),[_0x26e399([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x26e399([0x4d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x26e399([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x26e399([0x6d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x26e399([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x26e399([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])}];return _0xddebf8(_0x152936),_0x152936;function _0x35dcca(_0x20aac4){return 0x1<<_0x20aac4-0x1;}function _0xddebf8(_0x35e30a){_0x35e30a[_0x26e399([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x14f1a6=>{_0x14f1a6[_0x26e399([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]=_0x35dcca(_0x14f1a6[_0x26e399([0x69,0x64])]),_0x375953(_0x14f1a6)&&_0x14f1a6[_0x26e399([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0xddebf8(_0x14f1a6[_0x26e399([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]);});}}function _0x375953(_0x1fe358){return _0x26e399([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])in _0x1fe358;}const _0x28ffb9=[0x1,0x55,0x4e,0x73,0xc6,0xff,0x32,0x70,0x53,0x57,0xa1],_0x371b8a=[0x7f,0x22,0x6,0xd3,0xa7,0x56,0x92,0xc7,0x84,0xa0,0x12];function _0x141af2(_0x6e372){const _0xae42fc=[0x1d,0xdd,0xaf,0x5a,0xe7,0x85,0xef,0xf0,0x4b,0xb4];return _0x21ab09(_0x6e372,new Uint8Array([..._0x28ffb9,..._0xae42fc,..._0x371b8a]));}function _0x21ab09(_0x341061,_0x220be4){const _0x18e8d9=_0xb9b2e1(_0x341061),_0x214e3c=Array[_0x26e399([0x66,0x72,0x6f,0x6d])](_0x20e6b6(_0x18e8d9)),_0xc1f702=_0x214e3c[_0x26e399([0x70,0x6f,0x70])](),_0x20a606=_0x214e3c[_0x26e399([0x70,0x6f,0x70])]();return _0x1a6562(_0xc18e38(_0x214e3c,_0x220be4,_0x20a606+0x100*_0xc1f702));}function _0xb9b2e1(_0x4e0852){const _0x460d42=atob(_0x4e0852),[_0x332deb,_0xe74189]=_0x460d42[_0x26e399([0x73,0x70,0x6c,0x69,0x74])](_0x26e399([0x2d]));try{if(atob(_0xe74189))return atob(_0x332deb);}catch(_0x3019a9){}return _0x460d42;}function _0x48e17f(_0x35aed3){try{const _0x15a48c=_0x141af2(_0x35aed3),_0xa1a60d=JSON[_0x26e399([0x70,0x61,0x72,0x73,0x65])](_0x15a48c),_0x4773e2=parseInt(_0xa1a60d[_0x26e399([0x31])]),_0x411af5=_0xa1a60d[_0x26e399([0x32])]||'',_0x4118c7=parseInt(_0xa1a60d[_0x26e399([0x33])]),_0x445a28=parseInt(_0xa1a60d[_0x26e399([0x34])])||0x0,_0x176f86=parseInt(_0xa1a60d[_0x26e399([0x35])])||0x0;return{[_0x26e399([0x70,0x72,0x6f,0x64,0x75,0x63,0x74,0x4e,0x61,0x6d,0x65])]:_0x411af5,[_0x26e399([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])]:_0x445a28,[_0x26e399([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]:_0x4773e2,[_0x26e399([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]:_0x4118c7,[_0x26e399([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]:_0x176f86};}catch(_0x56fc06){return null;}}const _0x5a1438=_0x8f5a6d(),_0x545357={[_0x26e399([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])]:_0x29971b,[_0x26e399([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])]:_0xa16045,[_0x26e399([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])]:_0x26109f},_0x13dc10=_0x45f892[_0x26e399([0x63,0x6f,0x6e,0x73,0x74,0x72,0x75,0x63,0x74,0x6f,0x72])][_0x26e399([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])],_0x2eb269=_0x26e399([0x63,0x6f,0x6e,0x74,0x65,0x78,0x74])in _0x45f892?_0x45f892['context']:_0x45f892['editor'],_0xc69ad=_0x26e399([0x34,0x30,0x34,0x38,0x31,0x30,0x31,0x32]),_0x49eefd=_0x26e399([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]),_0x3e9c2c=_0x2eb269['config']['get'](_0x26e399([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x56330a=_0x5a1438[_0x26e399([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x375953)[_0x26e399([0x66,0x69,0x6e,0x64])](_0x3f83d8=>_0x3f83d8[_0x26e399([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]===_0x13dc10);function _0x3f9258(_0x26a052,_0x593dc0){_0x545357[_0x593dc0[_0x26e399([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]](_0x26a052,_0x593dc0),_0x593dc0[_0x26e399([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x593dc0[_0x26e399([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])][_0x26e399([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2d2d11=>_0x2e6589(_0x2eb269,_0x2d2d11[_0x26e399([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))[_0x26e399([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x4c0057=>_0x3f9258(_0x26a052,_0x4c0057));}function _0x29971b(_0x3cbf02,_0x491597){_0x45b9dd(_0x4ce97a(_0x3cbf02,_0x491597),_0x491597);}function _0xa16045(_0x37e33b,_0x5ac21a){function _0x45c24b(_0x20e1a5,_0x1766c9){try{if(_0x2e6589(_0x2eb269,_0x26e399([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))&&_0x20e1a5){const _0x599adb=_0x4dc98c(_0x2eb269,_0x26e399([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))[_0x26e399([0x5f,0x65,0x78,0x65,0x63,0x75,0x74,0x65,0x53,0x75,0x67,0x67,0x65,0x73,0x74,0x69,0x6f,0x6e])];if(parseInt(_0x599adb)/0x2>_0x20e1a5[_0x26e399([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])])return _0x428f99(_0x1766c9[_0x26e399([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x26e399([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}return _0x4ce97a(_0x20e1a5,_0x1766c9);}catch(_0x3b75c3){return _0x428f99(_0x1766c9[_0x26e399([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x26e399([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}_0x45b9dd(_0x45c24b(_0x37e33b,_0x5ac21a),_0x5ac21a);}function _0x26109f(_0x4705a7,_0x3365ab){const _0x3d39e1=_0x371b8a[0x0]*_0x28ffb9[0x1],_0x8871c9=_0x371b8a[0x0]*_0x28ffb9[0x2],_0x5c293f=_0x371b8a[0x2]*_0x28ffb9[0x2];_0x2e6589(_0x2eb269,_0x26e399([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x4dc98c(_0x2eb269,_0x26e399([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x26e399([0x73,0x74,0x61,0x74,0x65])]==_0x26e399([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&(window[_0x53112c()]=_0x5c293f);function _0x48a16a(_0x22ac9f,_0x6e238e){try{return _0x457d0a()?_0x428f99(_0x6e238e[_0x26e399([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x26e399([0x56,0x61,0x6c,0x69,0x64])):_0x4ce97a(_0x22ac9f,_0x6e238e);}catch(_0xf9fcf5){return _0x428f99(_0x6e238e[_0x26e399([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x26e399([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x9f7749(_0x1aaf38,_0x47443d){const _0x4928f1=0x7;if(_0x1aaf38==_0x47443d[_0x26e399([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x26e399([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]))_0x1f2ce6();else{if(_0x1aaf38==_0x47443d[_0x26e399([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x26e399([0x54,0x72,0x69,0x61,0x6c])){const _0x44d484=_0x8e288c();_0x44d484&&_0xe3acf(_0x44d484,_0x47443d[_0x26e399([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);const _0x575d1e=_0x5b1ec7();window[_0x26e399([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0xe3acf(_0x26e399([0x74,0x69,0x6d,0x65]),_0x47443d[_0x26e399([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);},_0x575d1e);const _0x1831da=_0x4dc98c(_0x2eb269,_0x26e399([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x26e399([0x5f,0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73])];_0x1831da[_0x26e399([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x4928f1?_0xe3acf(_0x26e399([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x47443d[_0x26e399([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]):_0x1831da['on'](_0x26e399([0x61,0x64,0x64]),()=>{_0x1831da[_0x26e399([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x4928f1&&_0xe3acf(_0x26e399([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x47443d[_0x26e399([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);});}}}function _0x8e288c(){if(!_0x2e6589(_0x2eb269,_0x26e399([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x56bea7 in window)if(Number['isNaN'](Number(_0x56bea7))){if(window[_0x56bea7]===_0x3d39e1)return _0x26e399([0x74,0x69,0x6d,0x65]);if(window[_0x56bea7]===_0x8871c9)return _0x26e399([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]);}return!0x1;}function _0x457d0a(){if(!_0x2e6589(_0x2eb269,_0x26e399([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0xa7ced0 in window)if(Number['isNaN'](Number(_0xa7ced0))&&window[_0xa7ced0]===_0x5c293f)return!0x0;return!0x1;}function _0xe3acf(_0x335339,_0x354d89){_0x1f2ce6(),_0x428f99(_0x354d89+_0x26e399([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a])+_0x335339),window[_0x53112c()]=_0x335339===_0x26e399([0x74,0x69,0x6d,0x65])?_0x3d39e1:_0x8871c9;}function _0x5b1ec7(){let _0x238bdd=_0x371b8a[0x6]*_0x28ffb9[0x8]*_0x28ffb9[0x6];return _0x2e6589(_0x2eb269,_0x26e399([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x238bdd/=0xa),_0x238bdd;}function _0x1f2ce6(){const _0x110ee8=_0x2eb269;function _0x354030(){_0x2e6589(_0x110ee8,_0x26e399([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&(_0x4dc98c(_0x110ee8,_0x26e399([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x26e399([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x26e399([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x4dc98c(_0x110ee8,_0x26e399([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x26e399([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x4dc98c(_0x110ee8,_0x26e399([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x26e399([0x75,0x70,0x64,0x61,0x74,0x65])]=_0x171c5c,_0x4dc98c(_0x110ee8,_0x26e399([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x26e399([0x73,0x61,0x76,0x65,0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e])]=_0x171c5c,_0x110ee8[_0x26e399([0x6d,0x6f,0x64,0x65,0x6c])][_0x26e399([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x171c5c,_0x110ee8[_0x26e399([0x6d,0x6f,0x64,0x65,0x6c])][_0x26e399([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x171c5c,_0x110ee8[_0x26e399([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x26e399([0x6d,0x6f,0x64,0x65,0x6c]))),_0x2e6589(_0x110ee8,_0x26e399([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x4dc98c(_0x110ee8,_0x26e399([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x26e399([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x26e399([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x4dc98c(_0x110ee8,_0x26e399([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x26e399([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x4dc98c(_0x110ee8,_0x26e399([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x26e399([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])]=_0x171c5c,_0x4dc98c(_0x110ee8,_0x26e399([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x26e399([0x5f,0x67,0x65,0x74,0x44,0x69,0x66,0x66])]=_0x171c5c);}_0x110ee8[_0x26e399([0x73,0x74,0x61,0x74,0x65])]==_0x26e399([0x72,0x65,0x61,0x64,0x79])?_0x354030():_0x110ee8[_0x26e399([0x6f,0x6e,0x63,0x65])](_0x26e399([0x72,0x65,0x61,0x64,0x79]),()=>{if(_0x2e6589(_0x110ee8,_0x26e399([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&_0x354030(),_0x2e6589(_0x110ee8,_0x26e399([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))){const _0x124b3e=_0x4dc98c(_0x110ee8,_0x26e399([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79])),_0x33b38c=_0x124b3e['getRevision'](0x0),_0x4572b9=_0x124b3e['getEarlierVisibleRevision'](_0x33b38c[_0x26e399([0x69,0x64])]);_0x4dc98c(_0x110ee8,_0x26e399([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x26e399([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])](_0x33b38c[_0x26e399([0x69,0x64])],_0x4572b9?_0x4572b9[_0x26e399([0x69,0x64])]:null,0x1)['then'](()=>_0x354030());}});}_0x9f7749(_0x48a16a(_0x4705a7,_0x3365ab),_0x3365ab);}function _0x4ce97a(_0x3e2b80,_0x25bc2f){try{return _0x2528e4(_0x25bc2f)?_0x428f99(_0x25bc2f[_0x26e399([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x26e399([0x56,0x61,0x6c,0x69,0x64])):_0x3e2b80&&_0x19bc9c(_0x3e2b80[_0x26e399([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])],_0x25bc2f)?_0x3e2b80[_0x26e399([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]&&!window[_0x26e399([0x6f,0x70,0x65,0x6e])][_0x26e399([0x63,0x6c,0x6f,0x73,0x65,0x64])]||parseInt(_0xc69ad)/0x2>_0x3e2b80[_0x26e399([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]?_0x428f99(_0x25bc2f[_0x26e399([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x26e399([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])):_0x3e2b80[_0x26e399([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]?_0x428f99(_0x25bc2f[_0x26e399([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x26e399([0x54,0x72,0x69,0x61,0x6c])):_0x428f99(_0x25bc2f[_0x26e399([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x26e399([0x56,0x61,0x6c,0x69,0x64])):_0x428f99(_0x25bc2f[_0x26e399([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x26e399([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}catch(_0x127738){return _0x428f99(_0x25bc2f[_0x26e399([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x26e399([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x45b9dd(_0xc348ee,_0x4ca4a0){if(_0x2eb269 instanceof _0x4e13cf){const _0x3905dc=_0x2eb269;_0xc348ee==_0x4ca4a0[_0x26e399([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x26e399([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x461dc3(_0x3905dc):_0xc348ee==_0x4ca4a0[_0x26e399([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x26e399([0x54,0x72,0x69,0x61,0x6c])&&window[_0x26e399([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x461dc3(_0x3905dc),_0x428f99(_0x4ca4a0[_0x26e399([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x26e399([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65]));},_0x371b8a[0x6]*_0x28ffb9[0x8]*_0x28ffb9[0x6]),_0x3905dc[_0x26e399([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])][_0x26e399([0x6f,0x6e])](_0x26e399([0x61,0x64,0x64]),(_0x29d1bf,_0x2206ea)=>{_0xc348ee!=_0x4ca4a0[_0x26e399([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x26e399([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])&&_0xc348ee!=_0x4ca4a0[_0x26e399([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x26e399([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65])&&_0xc348ee!=_0x4ca4a0[_0x26e399([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x26e399([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])||_0x1a477f(_0x2206ea);});}else{const _0x20bcdb=_0x2eb269;_0xc348ee==_0x4ca4a0[_0x26e399([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x26e399([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x1a477f(_0x20bcdb):_0xc348ee==_0x4ca4a0[_0x26e399([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x26e399([0x54,0x72,0x69,0x61,0x6c])&&_0x20bcdb[_0x26e399([0x6f,0x6e])](_0x26e399([0x72,0x65,0x61,0x64,0x79]),()=>{let _0x292880=0x0;_0x20bcdb[_0x26e399([0x6d,0x6f,0x64,0x65,0x6c])][_0x26e399([0x6f,0x6e])](_0x26e399([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x169382,_0x4ef184)=>{_0x4ef184[0x0][_0x26e399([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x292880++,0x1f8===_0x292880&&(_0x1a477f(_0x20bcdb),_0x428f99(_0x4ca4a0[_0x26e399([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x26e399([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])),_0x169382[_0x26e399([0x6f,0x66,0x66])]());},{'priority':_0x26e399([0x68,0x69,0x67,0x68,0x65,0x73,0x74])});});}}function _0x428f99(_0x410f15){const _0x19e758=_0x53112c();return _0x2eb269[_0x19e758]=_0x410f15,_0x410f15;}function _0x53112c(){const _0x3a755b=String(window[_0x26e399([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x26e399([0x6e,0x6f,0x77])]())[_0x26e399([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x26e399([0x2e]),'');let _0xb8aab8='';for(let _0x5c1134=0x0;_0x5c1134<_0x3a755b[_0x26e399([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5c1134+=0x2){let _0x261e5f=parseInt(_0x3a755b[_0x26e399([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5c1134,_0x5c1134+0x2));_0x261e5f>=_0x49eefd[_0x26e399([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x261e5f-=_0x49eefd[_0x26e399([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0xb8aab8+=_0x49eefd[_0x261e5f];}return _0xb8aab8;}function _0x461dc3(_0x4c1526){for(const _0x54f1fa of _0x4c1526[_0x26e399([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])])_0x1a477f(_0x54f1fa);_0x4dc98c(_0x4c1526,_0x26e399([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x26e399([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])](!0x0),_0x4dc98c(_0x4c1526,_0x26e399([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x26e399([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])]=_0x171c5c;}function _0x1a477f(_0x35653d){function _0x576030(){_0x35653d[_0x26e399([0x6d,0x6f,0x64,0x65,0x6c])][_0x26e399([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x171c5c,_0x35653d[_0x26e399([0x6d,0x6f,0x64,0x65,0x6c])][_0x26e399([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x171c5c,_0x35653d[_0x26e399([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x26e399([0x6d,0x6f,0x64,0x65,0x6c]));}_0x35653d[_0x26e399([0x73,0x74,0x61,0x74,0x65])]==_0x26e399([0x72,0x65,0x61,0x64,0x79])?_0x576030():_0x35653d[_0x26e399([0x6f,0x6e,0x63,0x65])](_0x26e399([0x72,0x65,0x61,0x64,0x79]),()=>_0x576030());}function _0x171c5c(){return null;}function _0x19bc9c(_0x55ad88,_0x2397bd){const _0x5e5c28=!!(_0x55ad88&_0x2397bd[_0x26e399([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]),_0xd56561=_0x11d471(_0x55ad88,_0x2397bd);return _0x5e5c28||_0xd56561;}function _0x11d471(_0x46dc45,_0x2ed58a){const _0x5824c0=(_0x2ed58a[_0x26e399([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{})[_0x26e399([0x66,0x67,0x69])]||null;return!!_0x5824c0&&_0x5a1438[_0x26e399([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x33e024=>_0x5824c0[_0x26e399([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x33e024[_0x26e399([0x69,0x64])]))[_0x26e399([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x57a748=>!_0x3786dc(_0x57a748))[_0x26e399([0x73,0x6f,0x6d,0x65])](_0x55130a=>!!(_0x46dc45&_0x55130a[_0x26e399([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]));}function _0x3786dc(_0x47baa3){const _0x4b921a={[_0x26e399([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])]:_0x23e1fc};return!!_0x47baa3['forbiddenHandler']&&_0x4b921a[_0x47baa3['forbiddenHandler']]();}function _0x23e1fc(){return!window[_0x26e399([0x44,0x72,0x75,0x70,0x61,0x6c])]||!_0x2e6589(_0x2eb269,_0x26e399([0x64,0x72,0x75,0x70,0x61,0x6c,0x50,0x6f,0x77,0x65,0x72,0x65,0x64,0x42,0x79]));}function _0x2528e4(_0x23ea53){if(!_0x2e6589(_0x2eb269,_0x23ea53[_0x26e399([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))return!0x0;const _0x23b006=_0x23ea53[_0x26e399([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{},_0x124080=_0x23b006[_0x26e399([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]||!0x1,_0x27f924=_0x23b006[_0x26e399([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]||!0x1,_0x593ef2=_0x23b006[_0x26e399([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]||!0x1;if(_0x2e6589(_0x2eb269,_0x26e399([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x4dc98c(_0x2eb269,_0x26e399([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x26e399([0x73,0x74,0x61,0x74,0x65])]==_0x26e399([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&_0x124080)return!0x0;if(_0x2e6589(_0x2eb269,_0x26e399([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))&&_0x4dc98c(_0x2eb269,_0x26e399([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))[_0x26e399([0x72,0x65,0x73,0x75,0x6c,0x74])]==_0x26e399([0x65,0x6e,0x64])&&_0x27f924)return!0x0;return!(!_0x2e6589(_0x2eb269,_0x26e399([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]))||_0x4dc98c(_0x2eb269,_0x26e399([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]))[_0x26e399([0x72,0x65,0x73,0x75,0x6c,0x74])]!=_0x26e399([0x65,0x6e,0x64])||!_0x593ef2);}function _0x2e6589(_0x28fd79,_0x283e5a){return _0x28fd79[_0x26e399([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x26e399([0x68,0x61,0x73])](_0x283e5a);}function _0x4dc98c(_0x35e971,_0x4a67b4){return _0x35e971[_0x26e399([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x26e399([0x67,0x65,0x74])](_0x4a67b4);}function _0x1a6562(_0x2e9d00){let _0x36ff2c='';for(const _0x49b392 of _0x2e9d00)_0x36ff2c+=String[_0x26e399([0x66,0x72,0x6f,0x6d,0x43,0x68,0x61,0x72,0x43,0x6f,0x64,0x65])](_0x49b392);return _0x36ff2c;}function _0x20e6b6(_0x9a9b1){const _0x4d4a39=new Uint8Array(_0x9a9b1[_0x26e399([0x6c,0x65,0x6e,0x67,0x74,0x68])]);for(let _0x176b72=0x0;_0x176b72<_0x9a9b1[_0x26e399([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x176b72++)_0x4d4a39[_0x176b72]=_0x9a9b1[_0x26e399([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x176b72);return _0x4d4a39;}_0x56330a&&_0x3f9258(_0x48e17f(_0x3e9c2c),_0x56330a);})(_0x16dda8);}(this);}['createRevision'](_0x5e10f7){const _0x3daeed=this['editor']['plugins']['get']('Users');return new a({'id':_0x5e10f7['id'],'name':_0x5e10f7['name'],'creator':_0x5e10f7['creatorId']?_0x3daeed['getUser'](_0x5e10f7['creatorId']):null,'diffData':_0x5e10f7['diffData']||_0x5e10f7['data'],'authors':_0x5e10f7['authorsIds']['map'](_0x367fe7=>_0x3daeed['getUser'](_0x367fe7)),'createdAt':new Date(_0x5e10f7['createdAt']),'attributes':_0x5e10f7['attributes'],'fromVersion':_0x5e10f7['fromVersion'],'toVersion':_0x5e10f7['toVersion']});}['addRevision'](_0x264888,_0x62e786=0x0){this['_revisions']['add'](_0x264888,_0x62e786);}['getRevision'](_0x2ad508){return this['_revisions']['get'](_0x2ad508);}['getRevisions'](_0x5f20e3={'toJSON':!0x1}){const _0x17caf8=Array['from'](this['_revisions']);return _0x17caf8['reverse'](),_0x5f20e3['toJSON']?_0x17caf8['map'](_0x1e4a63=>_0x1e4a63['toJSON']()):_0x17caf8;}['getIndex'](_0x534920){return this['_revisions']['getIndex'](_0x534920);}['getEarlierVisibleRevision'](_0x55907b){const [,_0x230703]=this['getRevisionsIterator'](_0x55907b,{'direction':'earlier'});return _0x230703;}['getLaterVisibleRevision'](_0x1ac85a){const [,_0x1ecb5c]=this['getRevisionsIterator'](_0x1ac85a,{'direction':'later'});return _0x1ecb5c;}['getRevisionsInDiff'](_0x3f2e51){const _0x54498e=[];for(const _0x5e89a5 of this['getRevisionsIterator'](_0x3f2e51['newRevisionId']))if(_0x54498e['push'](_0x5e89a5),_0x5e89a5['id']===_0x3f2e51['oldRevisionId'])break;return _0x54498e;}*['getRevisionsIterator'](_0x526d5b,{direction:_0x2348f0='earlier',filter:_0x5b5af4=_0x2e2ba6=>!0x0}={}){const _0x2e24cb='earlier'===_0x2348f0?0x1:-0x1;let _0x13a391=this['_revisions']['get'](_0x526d5b),_0xbe3677=this['getIndex'](_0x13a391);for(yield _0x13a391;_0x13a391;){if(_0xbe3677+=_0x2e24cb,_0x13a391=this['getRevision'](_0xbe3677),!_0x13a391)return;_0x5b5af4(_0x13a391)&&(yield _0x13a391);}}constructor(_0x1eeee8){super(_0x1eeee8),this['_revisions']=new _0x116d4f();}}function y(_0x319555,_0x4d2017,_0x37bdea){const t=_0x319555['t'];switch(_0x4d2017){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'},_0x37bdea);case'X_OF_Y_CHANGES':return t({'string':'%0\x20of\x20%1','id':'X_OF_Y_CHANGES'},_0x37bdea);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':_0x264489,'a':_0x26d899,'e':_0x5d893e,'r':_0x58bc3d,'u':_0x2100bb};class l extends _0x527fb6{static get['pluginName'](){return'RevisionTracker';}static get['requires'](){return[_0x2afa19,A,_0x5b7317];}['init'](){this['repository']=this['editor']['plugins']['get']('RevisionsRepository'),this['_setConversion'](),this['editor']['data']['on']('ready',()=>{const _0x58db29=this['repository']['getRevision'](0x0),_0x5c7397=_0x58db29&&null===_0x58db29['creator']?_0x58db29:null;if(this['_continueCurrentRevision']=!!_0x5c7397&&this['editor']['config']['get']('revisionHistory.resumeUnsavedRevision'),this['editor']['plugins']['has']('RealTimeCollaborationClient')){const _0x1d2e26=this['_source']['getCurrentRevisionId'](),_0x30eefe=this['repository']['getRevision'](_0x1d2e26);if(_0x30eefe)this['_startingVersion']=_0x30eefe['fromVersion'],this['_continueCurrentRevision']=!0x1;else{const _0x38ac1e=this['_source']['history']['_operations']['find'](_0x11238a=>!_0x11238a['_isInit']),_0x51e899=_0x38ac1e?_0x38ac1e['baseVersion']:this['_source']['history']['version'];_0x58db29?(_0x58db29['toVersion']<_0x51e899&&_0x58db29['_update']({'toVersion':_0x51e899}),this['_continueCurrentRevision']?(this['_source']['getCurrentRevisionId']=()=>_0x5c7397['id'],this['_startingVersion']=_0x5c7397['fromVersion']):(this['_startingVersion']=_0x58db29['toVersion'],this['_continueCurrentRevision']=!0x1)):(this['_startingVersion']=_0x51e899,this['_continueCurrentRevision']=!0x1);}}else _0x5c7397&&(this['editor']['model']['document']['history']['version']=Math['max'](_0x5c7397['toVersion'],this['editor']['model']['document']['history']['version']),_0x5c7397['fromVersion']===_0x5c7397['toVersion']?(0x0!==_0x5c7397['fromVersion']&&(this['_source']['getCurrentRevisionId']=()=>_0x5c7397['id']),this['_continueCurrentRevision']=!0x1):this['_continueCurrentRevision']&&(this['_source']['getCurrentRevisionId']=()=>_0x5c7397['id'],this['_startingVersion']=_0x5c7397['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',_0x328e44=>!_0x328e44);}async['afterInit'](){if(this['repository']['length']>0x0){const _0x177e27=this['repository']['getRevision'](0x0),_0x4cb018=await this['getRevisionDocumentData'](_0x177e27),_0x372a3f=await this['getRevisionRootsAttributes'](_0x177e27);this['_replaceEditorDataWithRevisionData'](_0x4cb018,_0x372a3f);}}['setSource'](_0x247219){this['_source']=_0x247219;}async['update'](){const _0x76bdfc=await this['_source']['getLatestVersion']();if(_0x76bdfc>this['currentRevision']['toVersion']){await this['_loadState']();const _0x303f06=this['buildRevisionData']({'revision':this['currentRevision'],'to':_0x76bdfc});_0x303f06['authors']=_0x303f06['authorsIds']['map'](_0x4cc909=>this['editor']['plugins']['get']('Users')['getUser'](_0x4cc909)),this['currentRevision']['_update'](_0x303f06);}}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'](_0x2932ea={},_0x738eef=null){const _0x5775cc=[];await this['_loadState'](),this['_continueCurrentRevision']=!0x1,_0x738eef>this['currentRevision']['toVersion']&&(_0x738eef=null),null===_0x738eef&&(_0x738eef=await this['_source']['getLatestVersion']());const _0x850052=this['_getFromVersion'](_0x738eef),_0x220d43=this['buildRevisionData']({'from':_0x850052,'to':_0x738eef});if(this['currentRevision']['toVersion']<_0x738eef){const _0x13fee7=this['buildRevisionData']({'revision':this['currentRevision'],'from':_0x738eef,'to':_0x738eef});_0x13fee7['authors']=[],_0x13fee7['authorsIds']=[],_0x13fee7['id']=this['currentRevision']['id'],this['currentRevision']['_update'](_0x13fee7,!0x0),delete _0x13fee7['authors'],_0x5775cc['push'](_0x13fee7);}_0x2932ea['creatorId']=this['editor']['plugins']['get']('Users')['me']['id'],_0x2932ea['name']=_0x2932ea['name']||null,_0x2932ea['id']=_0x2932ea['id']||_0xfce3ff(),_0x2932ea={..._0x2932ea,..._0x220d43};const _0x51a5df=this['addRevisionData'](_0x2932ea);_0x5775cc['push'](_0x2932ea);const _0x263c88=this['repository']['getIndex'](_0x51a5df);if(0x0!==_0x263c88){const _0x32b64f=this['repository']['getRevision'](_0x263c88-0x1);if(_0x32b64f['fromVersion']!==_0x738eef){const _0x45489e=this['_revisionDataBuilder']['getData'](_0x738eef,_0x32b64f['toVersion']),_0x459329={'id':_0x32b64f['id'],'diffData':_0x45489e['diffData'],'authorsIds':_0x45489e['authorsIds'],'authors':_0x45489e['authorsIds']['map'](_0x2b9eef=>this['editor']['plugins']['get']('Users')['getUser'](_0x2b9eef)),'fromVersion':_0x738eef};_0x32b64f===this['currentRevision']&&(_0x459329['createdAt']=new Date(_0x2932ea['createdAt']['getTime']()+0xa)),_0x32b64f['_update'](_0x459329,!0x0),delete _0x459329['authors'],_0x5775cc['push'](_0x459329);}}if(this['adapter']){for(const _0x239c34 of _0x5775cc)this['_bufferUpdate'](_0x239c34['id'],_0x239c34,!0x0);this['sendBufferedUpdates']();}return _0x51a5df;}['addRevisionData'](_0x3e4859){const _0x492810=this['repository']['createRevision'](_0x3e4859);return this['adapter']&&_0x492810['on']('_update',(_0x47145a,_0x53a26e,_0x59798a)=>{_0x59798a||(this['_bufferUpdate'](_0x53a26e['id'],_0x53a26e,!0x0),this['sendBufferedUpdates']());}),this['repository']['addRevision'](_0x492810,this['_findInsertionIndex'](_0x492810)),_0x492810;}async['getRevisionDocumentData'](_0x1ae81f){await this['_loadRevisionData'](_0x1ae81f);const _0x5e1dca={};for(const _0x10cd46 in _0x1ae81f['diffData']){if(_0x1ae81f['diffData'][_0x10cd46]['attachChange']&&!_0x1ae81f['diffData'][_0x10cd46]['attachChange']['isAttached'])continue;const _0xf008b3=this['_removeRevisionMarkers'](JSON['parse'](_0x1ae81f['diffData'][_0x10cd46]['insertions'])),_0x4b7e52=this['editor']['editing']['view']['document'],_0x6168d5=new _0x53ade3(_0x4b7e52,_0xf008b3['map'](_0xfe93a9=>B(_0xfe93a9,this['editor'])));this['editor']['data']['processor']['useFillerType']('marked'),_0x5e1dca[_0x10cd46]=this['editor']['data']['processor']['toData'](_0x6168d5),this['editor']['data']['processor']['useFillerType']('default');}return _0x5e1dca;}async['getRevisionRootsAttributes'](_0x446fe4){await this['_loadRevisionData'](_0x446fe4);const _0xff116c={};for(const _0x5b441d in _0x446fe4['diffData'])_0x446fe4['diffData'][_0x5b441d]['attachChange']&&!_0x446fe4['diffData'][_0x5b441d]['attachChange']['isAttached']||(_0xff116c[_0x5b441d]=_0x446fe4['diffData'][_0x5b441d]['attributesAfter']||{});return _0xff116c;}['sendBufferedUpdates'](){if(0x0===this['_bufferedUpdates']['size'])return;if(this['_isPendingUpdate'])return;let _0x25ba44=Array['from'](this['_bufferedUpdates']['values']());this['_bufferedUpdates']['clear']();for(let _0x5e88a5=0x0;_0x5e88a5<_0x25ba44['length'];_0x5e88a5++){const _0x4b2937=_0x25ba44[_0x5e88a5];let _0x53f6b5=!0x1;for(const _0x5c0cdc of Object['keys'](_0x4b2937))void 0x0===_0x4b2937[_0x5c0cdc]?delete _0x4b2937[_0x5c0cdc]:'id'!==_0x5c0cdc&&(_0x53f6b5=!0x0);_0x53f6b5||(_0x25ba44[_0x5e88a5]=null);}if(_0x25ba44=_0x25ba44['filter'](_0x3c7a5b=>null!==_0x3c7a5b),!_0x25ba44['length'])return;for(let _0x379a7e=0x0;_0x379a7e<_0x25ba44['length'];_0x379a7e++){const _0x47378a=_0x25ba44[_0x379a7e];void 0x0!==_0x47378a['fromVersion']&&void 0x0===_0x47378a['toVersion']&&(_0x47378a['toVersion']=this['repository']['getRevision'](_0x47378a['id'])['toVersion']),void 0x0!==_0x47378a['toVersion']&&void 0x0===_0x47378a['fromVersion']&&(_0x47378a['fromVersion']=this['repository']['getRevision'](_0x47378a['id'])['fromVersion']);}const _0x3d8f63=this['editor']['config']['get']('collaboration.channelId');this['_isPendingUpdate']=!0x0,this['_addPendingAction'](),this['adapter']['updateRevisions'](_0x25ba44,_0x3d8f63)['finally'](()=>{this['_isPendingUpdate']=!0x1;})['then'](_0x28d87d=>{if(_0x28d87d){for(const _0x3e7d05 of _0x28d87d)this['setRevisionData']({'id':_0x3e7d05['id'],'createdAt':_0x3e7d05['createdAt']});}this['_removePendingAction'](),this['sendBufferedUpdates']();});}['_replaceEditorDataWithRevisionData'](_0x519f17,_0x42e9fd){let _0x297c96=this['editor']['config']['get']('initialData'),_0x464cbb=this['editor']['config']['get']('rootsAttributes');if(void 0x0===_0x297c96){_0x297c96={};for(const _0x2740c6 of this['editor']['model']['document']['getRootNames']())_0x297c96[_0x2740c6]='';}if('string'==typeof _0x297c96&&(_0x297c96={'main':_0x297c96}),void 0x0===_0x464cbb){_0x464cbb={};for(const _0x308866 of this['editor']['model']['document']['getRootNames']())_0x464cbb[_0x308866]={};}let _0x4223cf=!0x1;const _0x51a5f0=Object['keys'](_0x297c96),_0x6c83c8=Object['keys'](_0x519f17);for(const _0x2f1d34 of _0x51a5f0){if(_0x297c96[_0x2f1d34]!==_0x519f17[_0x2f1d34]&&''!==_0x297c96[_0x2f1d34]['trim']()){_0x4223cf=!0x0;break;}if(!_0xef4721(_0x464cbb[_0x2f1d34],_0x42e9fd[_0x2f1d34])&&Object['keys'](_0x464cbb[_0x2f1d34])['length']>0x0){_0x4223cf=!0x0;break;}}_0x4223cf||(_0x4223cf=_0x6c83c8['some'](_0x49d7c3=>!this['editor']['model']['document']['getRoot'](_0x49d7c3))),_0x4223cf&&_0x2efac4('editor-initial-data-replaced-with-revision-data',{'editorData':_0x297c96,'editorRootsAttributes':_0x464cbb,'revisionData':_0x519f17,'revisionRootsAttributes':_0x42e9fd}),this['editor']['config']['set']('initialData',_0x519f17),this['editor']['config']['set']('rootsAttributes',_0x42e9fd);}['_addPendingAction'](){if(!this['_pendingAction']){const _0x6d50f3=this['editor']['plugins']['get']('PendingActions');this['_pendingAction']=_0x6d50f3['add'](y(this['editor']['locale'],'PENDING_ACTION_REVISION_HISTORY'));}}['_removePendingAction'](){this['_pendingAction']&&(this['editor']['plugins']['get']('PendingActions')['remove'](this['_pendingAction']),this['_pendingAction']=null);}['_findInsertionIndex'](_0x2e9e09){const _0x42af3e=this['repository']['getRevisions']();_0x42af3e['reverse']();let _0x33ea15=0x0;for(;_0x33ea15<_0x42af3e['length'];){const _0x4ab920=_0x42af3e[_0x33ea15];if(_0x4ab920===this['currentRevision']){_0x33ea15++;continue;}if(_0x4ab920['id']===this['_initialRevisionId'])break;const _0x332925=_0x2e9e09['toVersion']-_0x4ab920['toVersion']||_0x2e9e09['fromVersion']-_0x4ab920['fromVersion'];if(_0x332925>0x0)break;if(_0x332925<0x0)_0x33ea15++;else{if(!_0x2e9e09['creator']&&_0x4ab920['creator'])break;if(_0x4ab920['creator']||!_0x2e9e09['creator']){if(_0x2e9e09['createdAt']>_0x4ab920['createdAt'])break;_0x33ea15++;}else _0x33ea15++;}}return _0x33ea15;}['setRevisionData'](_0x2a85df){const _0x1892f0=this['repository']['getRevision'](_0x2a85df['id']);if(_0x2a85df['createdAt']&&(_0x2a85df['createdAt']=new Date(_0x2a85df['createdAt'])),_0x2a85df['authorsIds']){const _0x3a9b9b=this['editor']['plugins']['get']('Users');_0x2a85df['authors']=_0x2a85df['authorsIds']['map'](_0x2d972d=>_0x3a9b9b['getUser'](_0x2d972d));}_0x1892f0['_update'](_0x2a85df,!0x0);}['buildRevisionData']({revision:_0x2eaf4a=null,from:_0xbe0747=null,to:_0x1f112d=null}){_0xbe0747=null!==_0xbe0747?_0xbe0747:_0x2eaf4a['fromVersion'],_0x1f112d=null!==_0x1f112d?_0x1f112d:_0x2eaf4a['toVersion'];const _0x685f8a=this['_revisionDataBuilder']['getData'](_0xbe0747,_0x1f112d),_0x404d5f={'diffData':_0x685f8a['diffData'],'authorsIds':_0x685f8a['authorsIds'],'fromVersion':_0xbe0747,'toVersion':_0x1f112d};if(!_0x2eaf4a||_0x1f112d!==_0x2eaf4a['toVersion']){const _0x250d4a=_0x1f112d-0x1,_0x87f751=this['_source']['history']['getOperation'](_0x250d4a);_0x404d5f['createdAt']=_0x87f751&&_0x87f751['createdAt']||new Date();}if(this['_loadedStateData']&&_0xbe0747===this['_loadedStateData']['fromVersion']){for(const _0xc189e9 of this['_loadedStateData']['authors'])_0x404d5f['authorsIds']['includes'](_0xc189e9['id'])||_0x404d5f['authorsIds']['push'](_0xc189e9['id']);}return _0x404d5f;}['_loadRevisionData'](_0x4b1af3){if(!_0x4b1af3||_0x4b1af3['diffData'])return Promise['resolve']();{const _0x2dec76=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0x2dec76,'revisionId':_0x4b1af3['id']})['then'](_0x5eb27c=>{_0x4b1af3['diffData']=_0x5eb27c['diffData'];});}}['_bufferUpdate'](_0xd918c9,_0x15ffa5,_0x25892b){if(this['_bufferedUpdates']['has'](_0xd918c9)){const _0x2c51b9=this['_bufferedUpdates']['get'](_0xd918c9);_0x15ffa5=_0x25892b?{..._0x2c51b9,..._0x15ffa5}:{..._0x15ffa5,..._0x2c51b9};}this['_bufferedUpdates']['set'](_0xd918c9,_0x15ffa5);}['_getFromVersion'](_0x3338d3){const _0x199ab0=this['repository']['getRevisions']();_0x199ab0['reverse'](),_0x199ab0['shift']();const _0x475983=_0x199ab0['find'](_0x45cb2c=>_0x45cb2c['toVersion']<=_0x3338d3)['toVersion'];return _0x475983<this['_startingVersion']?this['_startingVersion']:_0x475983;}['_createInitialRevision'](_0x5b1739){const _0x5ef042=this['repository']['getRevision'](this['repository']['length']-0x1);if(_0x5ef042)this['_initialRevisionId']=_0x5ef042['id'];else{const _0x1ff71f=!this['editor']['model']['document']['roots']['find'](_0x7daecb=>this['editor']['model']['hasContent'](_0x7daecb)),_0x2d4c6f=this['editor']['plugins']['get']('Users')['me']['id'],_0x2d2862=y(this['editor']['locale'],_0x1ff71f?'Empty\x20document':'Initial\x20revision');this['_makeRevision']({'from':_0x5b1739,'to':_0x5b1739,'id':this['_initialRevisionId'],'name':_0x2d2862,'creatorId':_0x2d4c6f});}}['_createCurrentRevision'](_0x1d3a25){const _0x22ec6e=this['_source']['getCurrentRevisionId']();this['currentRevision']=this['repository']['getRevision'](_0x22ec6e),this['currentRevision']||(this['currentRevision']=this['_makeRevision']({'from':_0x1d3a25,'to':_0x1d3a25,'id':_0x22ec6e,'name':'','creatorId':null}));}['_makeRevision']({name:_0x5d8f4c,from:_0x1a1bc9,to:_0x3c82a6,creatorId:_0x446a5c,id:_0x5a08cd}){const _0xf88f2f=this['buildRevisionData']({'from':_0x1a1bc9,'to':_0x3c82a6});_0xf88f2f['name']=_0x5d8f4c,_0xf88f2f['creatorId']=_0x446a5c,_0xf88f2f['id']=_0x5a08cd;const _0x855c08=this['addRevisionData'](_0xf88f2f);return this['adapter']&&this['_bufferUpdate'](_0xf88f2f['id'],_0xf88f2f,!0x0),_0x855c08;}['_setConversion'](){this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'});}['_removeRevisionMarkers'](_0x47ac83){return(_0x47ac83=_0x47ac83['filter'](_0x261399=>!_0x261399['name']||'revision-start'!==_0x261399['name']&&'revision-end'!==_0x261399['name']))['forEach'](_0xcf1e36=>{'string'!=typeof _0xcf1e36&&(_0xcf1e36['children']=this['_removeRevisionMarkers'](_0xcf1e36['children']),_0xcf1e36['attributes']=_0xcf1e36['attributes']['filter'](_0x3cfc3c=>!_0x3cfc3c[0x0]['startsWith']('data-revision-')));}),_0x47ac83;}constructor(_0x23fd81){super(_0x23fd81),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 _0x2d09c3=_0xfce3ff();this['_source']={'history':this['editor']['model']['document']['history'],'getLatestVersion':()=>Promise['resolve'](this['editor']['model']['document']['version']),'getCurrentRevisionId':()=>_0x2d09c3},this['set']('isReady',!0x1),this['set']('isEnabled',!0x0),this['set']('_isPendingUpdate',!0x1),this['editor']['config']['define']('revisionHistory.resumeUnsavedRevision',!0x0),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'revision'});}}function B(_0x55cf4e,_0x168251){const _0x5e7ddc=_0x168251['editing']['view']['document'];if('string'==typeof _0x55cf4e)return new _0x2cc54b(_0x5e7ddc,_0x55cf4e);{const _0x3ff6a3=_0x55cf4e['children']['map'](_0x34c470=>B(_0x34c470,_0x168251));return new(T[_0x55cf4e['type']]||_0x431d98)(_0x5e7ddc,_0x55cf4e['name'],_0x55cf4e['attributes'],_0x3ff6a3);}}class J{['init'](_0x52851c){this['source']=_0x52851c;const _0x39b9c4=new Map(),_0x3a0faa=new Map(),_0x1b9491=this['editor']['model']['document']['roots']['map'](_0x12e259=>_0x12e259['rootName']);for(const _0x60fa51 of _0x1b9491){const _0x735162=this['editor']['model']['document']['getRoot'](_0x60fa51),_0x521a96=q(_0x735162);_0x39b9c4['set'](_0x60fa51,_0x521a96),_0x3a0faa['set'](_0x60fa51,Object['fromEntries'](_0x735162['getAttributes']()));}const _0x3a5044=Array['from'](this['editor']['model']['markers'])['map'](_0x4ce2d3=>[_0x4ce2d3['name'],_0x4ce2d3['getRange']()]),_0x347817=this['source']['version'];this['_saveMetaData'](_0x347817,_0x39b9c4,_0x3a5044,_0x3a0faa),this['_startingRevisionId']=this['_revisionId'];const _0x35c456=new Map(),_0x4170f6=new Map();for(const _0x5a0978 of _0x1b9491){const _0x549d8b=G(_0x5a0978);_0x35c456['set'](_0x5a0978,_0x549d8b),_0x4170f6['set'](_0x5a0978,{});}this['_saveMetaData'](Number['NEGATIVE_INFINITY'],_0x35c456,[],_0x4170f6);}['getData'](_0x5e647b,_0xa217e0){if(this['_lastFrom']===_0x5e647b&&this['_lastTo']<=_0xa217e0)this['_savedMetaData']['size']>0x1&&this['_removeMetaData'](this['_lastTo']),this['_applyOperations'](this['_lastTo'],_0xa217e0,!0x0);else{if(!this['_savedMetaData']['has'](_0x5e647b)){const _0x23f3a6=this['_getPreviousFrom'](_0x5e647b);this['_calculateMetaData'](_0x23f3a6,_0x5e647b,!0x1);}this['_calculateMetaData'](_0x5e647b,_0xa217e0,!0x0);}return this['_lastFrom']=_0x5e647b,this['_lastTo']=_0xa217e0,this['_getState']();}['loadState'](_0x2748c0){this['_reset'](),this['_lastFrom']=_0x2748c0['fromVersion'],this['_lastTo']=_0x2748c0['toVersion'];for(const _0x595ac9 in _0x2748c0['diffData']){const _0x396638=_0x2748c0['diffData'][_0x595ac9]['attachChange'],_0x4304ef=_0x6f0b6d(_0x2748c0['diffData'][_0x595ac9]['attributesBefore'])||{},_0x54d7d2=this['_makeModelFromViewString'](_0x2748c0['diffData'][_0x595ac9]['deletions']);_0x54d7d2['rootName']=_0x595ac9,_0x54d7d2['_isAttached']=!_0x396638||!_0x396638['isAttached'],_0x54d7d2['isAttached']=()=>_0x54d7d2['_isAttached'],this['_baseRoots']['set'](_0x595ac9,_0x54d7d2),this['_baseRootsAttributes']['set'](_0x595ac9,_0x4304ef),_0x396638&&this['_touchedRoots']['set'](_0x595ac9,_0x396638);const _0x4188df=this['_makeIdsRoot'](_0x54d7d2);this['_baseIdsRoots']['set'](_0x595ac9,_0x4188df);for(const [_0x3f3f8d,_0x517e68]of _0x54d7d2['markers']){if(!_0x3f3f8d['startsWith']('revision:'))continue;const _0x4b0b16=_0x3f3f8d['split'](':')[0x2];for(const _0x5b2bf3 of _0x517e68['getWalker']({'singleCharacters':!0x0})){const _0x1c9a90=this['_getVidAttributeName'](_0x5b2bf3),_0x157e2c='elementEnd'==_0x5b2bf3['type']?_0x5b2bf3['previousPosition']['path']['slice'](0x0,-0x1):_0x5b2bf3['previousPosition']['path'],_0xb20332=_0x4188df['getNodeByPath'](_0x157e2c)['getAttribute'](_0x1c9a90);this['_touched']['set'](_0xb20332,{'userId':_0x4b0b16});}}}this['_startingRevisionId']=this['_revisionId'];const _0x759e26=[...Array(this['_revisionId'])['keys']()]['slice'](0x1)['filter'](_0x29337b=>!this['_touched']['has'](_0x29337b));let _0x13b1d3=0x0;const _0x2dda37=new Map();for(const _0x3d7451 in _0x2748c0['diffData']){const _0x10afe3=_0x2748c0['diffData'][_0x3d7451]['attachChange'],_0x21807a=_0x6f0b6d(_0x2748c0['diffData'][_0x3d7451]['attributesAfter'])||{},_0x3ac03e=this['_makeModelFromViewString'](_0x2748c0['diffData'][_0x3d7451]['insertions']);_0x3ac03e['rootName']=_0x3d7451,_0x3ac03e['_isAttached']=!_0x10afe3||_0x10afe3['isAttached'],_0x3ac03e['isAttached']=()=>_0x3ac03e['_isAttached'],this['_diffRoots']['set'](_0x3d7451,_0x3ac03e),this['_diffRootsAttributes']['set'](_0x3d7451,_0x21807a);const _0xe532be=this['_makeIdsRoot'](_0x3ac03e,Number['NEGATIVE_INFINITY']);this['_idsRoots']['set'](_0x3d7451,_0xe532be),_0x2dda37['set'](_0x3d7451,_0x3ac03e['isAttached']()?_0x21807a:{});for(const [_0x4ac14b,_0x3f7410]of _0x3ac03e['markers']){if(!_0x4ac14b['startsWith']('revision:'))continue;const _0x55f7c9=_0x4ac14b['split'](':')[0x2];for(const _0x38568c of _0x3f7410['getWalker']({'singleCharacters':!0x0})){const _0x2fc602=this['_getVidAttributeName'](_0x38568c),_0x2e4407=this['_revisionId']++,_0x1b3f3c='elementEnd'==_0x38568c['type']?_0x38568c['previousPosition']['path']['slice'](0x0,-0x1):_0x38568c['previousPosition']['path'];_0xe532be['getNodeByPath'](_0x1b3f3c)['_setAttribute'](_0x2fc602,_0x2e4407),this['_touched']['set'](_0x2e4407,{'userId':_0x55f7c9});}}for(const _0x3c91e3 of this['editor']['model']['createRangeIn'](_0x3ac03e)['getWalker']({'singleCharacters':!0x0})){const _0x19e937=this['_getVidAttributeName'](_0x3c91e3),_0x29a158='elementEnd'==_0x3c91e3['type']?_0x3c91e3['previousPosition']['path']['slice'](0x0,-0x1):_0x3c91e3['previousPosition']['path'],_0x26a9d9=_0xe532be['getNodeByPath'](_0x29a158);_0x26a9d9['getAttribute'](_0x19e937)>0x0||_0x26a9d9['_setAttribute'](_0x19e937,_0x759e26[_0x13b1d3++]);}for(const [_0xfbeebf,_0x4574be]of _0x3ac03e['markers'])_0xfbeebf['startsWith']('revision:')||this['_markers']['set'](_0xfbeebf,_0x4574be);}const _0x373baa=G('$graveyard');this['_baseRoots']['set']('$graveyard',_0x373baa),this['_baseIdsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x373baa,0x1));const _0x20ee84=G('$graveyard');this['_diffRoots']['set']('$graveyard',_0x20ee84),this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x20ee84,0x1));const _0x328600=Array['from'](this['_diffRoots'])['map'](([_0x41f04f,_0x59118d])=>[_0x41f04f,q(_0x59118d)]);this['_saveMetaData'](this['_lastTo'],_0x328600,this['_markers'],_0x2dda37);}['_makeModelFromViewString'](_0x5eefd9){const _0x2cc584=JSON['parse'](_0x5eefd9),_0x3ae1c9=this['editor']['editing']['view']['document'],_0x788acc=new _0x53ade3(_0x3ae1c9,_0x2cc584['map'](_0x4cd0f2=>B(_0x4cd0f2,this['editor'])));return this['editor']['data']['toModel'](_0x788acc);}['_saveMetaData'](_0x1eaec8,_0x1e43fa,_0x4016c3,_0x6b1fb8){const _0x31e6e8=new Map(_0x1e43fa),_0x57e087=new Map(_0x6f0b6d(_0x6b1fb8)),_0x570589=new Map();for(const [_0x597d25,_0x3a4020]of _0x4016c3)_0x570589['set'](_0x597d25,{'start':_0x3a4020['start']['clone'](),'end':_0x3a4020['end']['clone'](),'rootName':_0x3a4020['root']['rootName']});this['_savedMetaData']['set'](_0x1eaec8,{'roots':_0x31e6e8,'markers':_0x570589,'rootsAttributes':_0x57e087});}['_removeMetaData'](_0xb2d433){this['_savedMetaData']['delete'](_0xb2d433);}['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'](_0x1de5be,_0x38ce4d=null){let _0x1ba83e=null;_0x1de5be['is']('documentFragment')||(_0x1ba83e=new ft(_0x1de5be['name'],{'vid_start':null===_0x38ce4d?this['_revisionId']++:_0x38ce4d++}));const _0x1f71e9=[];for(const _0x2140bd of _0x1de5be['getChildren']())if(_0x2140bd['is']('element')){_0x1f71e9['push'](this['_makeIdsRoot'](_0x2140bd,_0x38ce4d));const _0xba0fc2=_0x1f71e9[_0x1f71e9['length']-0x1];null!==_0x38ce4d&&(_0x38ce4d=_0xba0fc2['is']('element','$text')?_0xba0fc2['getAttribute']('vid')+0x1:_0xba0fc2['getAttribute']('vid_end')+0x1);}else{for(let _0x2931cc=0x0;_0x2931cc<_0x2140bd['offsetSize'];_0x2931cc++)_0x1f71e9['push'](new ft('$text',{'vid':null===_0x38ce4d?this['_revisionId']++:_0x38ce4d++}));}if(_0x1de5be['is']('documentFragment')){const _0x4412e7=G(_0x1de5be['rootName']);return _0x4412e7['_insertChild'](0x0,_0x1f71e9),_0x4412e7;}return _0x1ba83e['_setAttribute']('vid_end',null===_0x38ce4d?this['_revisionId']++:_0x38ce4d++),_0x1ba83e['_insertChild'](0x0,_0x1f71e9),_0x1ba83e;}['_calculateMetaData'](_0x4818d3,_0x3f5a6d,_0x33fa81){this['_reset']();const {roots:_0x33acb3,markers:_0x1e9791,rootsAttributes:_0x3695a4}=this['_savedMetaData']['get'](_0x4818d3);this['_baseRoots']=new Map(_0x33acb3),this['_baseRootsAttributes']=new Map(_0x6f0b6d(_0x3695a4));for(const [_0x17ac0b,_0x16f6ce]of this['_baseRoots'])if('$graveyard'!==_0x17ac0b&&(this['_diffRoots']['set'](_0x17ac0b,q(_0x16f6ce)),this['_diffRootsAttributes']=new Map(_0x6f0b6d(_0x3695a4)),_0x33fa81)){const _0x331738=this['_revisionId'];this['_idsRoots']['set'](_0x17ac0b,this['_makeIdsRoot'](_0x16f6ce)),this['_baseIdsRoots']['set'](_0x17ac0b,this['_makeIdsRoot'](_0x16f6ce,_0x331738));}this['_startingRevisionId']=this['_revisionId'],this['_diffRoots']['set']('$graveyard',q(this['_baseRoots']['get']('$graveyard'))),_0x33fa81&&this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](this['_baseRoots']['get']('$graveyard')));for(const [_0x34594f,_0x1edd6b]of _0x1e9791){const _0x32686e=this['_baseRoots']['get'](_0x1edd6b['rootName']),_0x22194c=this['_diffRoots']['get'](_0x1edd6b['rootName']),_0x475585=new gt(this['_fixPosition'](_0x1edd6b['start'],_0x32686e),this['_fixPosition'](_0x1edd6b['end'],_0x32686e)),_0x5da7f3=this['_fixRange'](_0x475585,_0x22194c);_0x32686e['markers']['set'](_0x34594f,_0x475585),this['_markers']['set'](_0x34594f,_0x5da7f3);}this['_applyOperations'](_0x4818d3,_0x3f5a6d,_0x33fa81);}['_applyOperations'](_0x4e53b5,_0xb5eea6,_0x40a4e8){for(const _0x163f59 of this['source']['getOperations'](_0x4e53b5,_0xb5eea6))this['_handleOperation'](_0x163f59,_0x40a4e8);for(const _0x1fce36 of this['_diffRoots']['values']())_0x1fce36['markers']['clear']();for(const [_0x505ee5,_0x26162c]of this['_markers']){this['_diffRoots']['get'](_0x26162c['root']['rootName'])['markers']['set'](_0x505ee5,_0x26162c['clone']());}const _0x46b360=new Map(),_0x353abc=new Map();for(const [_0x1bbbca,_0x5ac9c1]of this['_diffRoots'])_0x46b360['set'](_0x1bbbca,q(_0x5ac9c1)),_0x353abc['set'](_0x1bbbca,this['_diffRootsAttributes']['get'](_0x1bbbca));this['_saveMetaData'](_0xb5eea6,_0x46b360,this['_markers'],_0x353abc);}['_getPreviousFrom'](_0x27641e){const _0x519273=Array['from'](this['_savedMetaData']['keys']());_0x519273['sort']((_0x1e0cb0,_0x507a12)=>_0x1e0cb0-_0x507a12),_0x519273['reverse']();for(const _0x44c33f of _0x519273)if(_0x44c33f<_0x27641e)return _0x44c33f;return Number['NEGATIVE_INFINITY'];}['_copyMarkers'](_0x3e6d39,_0x3a482d){const _0x3d1915=Array['from'](_0x3a482d['markers'])['map'](([_0x465967,_0x48ae6d])=>[_0x465967,this['_fixRange'](_0x48ae6d,_0x3e6d39)]);_0x3e6d39['markers']=new Map(_0x3d1915);}['_transformMarkers'](_0x416b57){for(const _0x2fed2f of this['_markers']['values']()){const _0x3d4b5e=_0x2fed2f['getTransformedByOperation'](_0x416b57),_0x1c7f5a=gt['_createFromRanges'](_0x3d4b5e);_0x2fed2f['start']=_0x1c7f5a['start'],_0x2fed2f['end']=_0x1c7f5a['end'];}}['_handleOperation'](_0x680b49,_0x116d71){if('addRoot'==_0x680b49['type']||'detachRoot'==_0x680b49['type'])return void this['_handleRootOperation'](_0x680b49,_0x116d71);if('insert'==_0x680b49['type']){const _0x121795=_0x680b49['position']['root']['rootName'];this['_diffRoots']['has'](_0x121795)||(this['_diffRoots']['set'](_0x121795,G(_0x121795,!0x0)),this['_diffRootsAttributes']['set'](_0x121795,{}),_0x116d71&&this['_idsRoots']['set'](_0x121795,G(_0x121795,!0x0)));}else{if('addRootAttribute'==_0x680b49['type']||'removeRootAttribute'==_0x680b49['type']||'changeRootAttribute'==_0x680b49['type'])return void this['_handleRootAttributeOperation'](_0x680b49);}const _0x55f3c6=this['_cloneOperation'](_0x680b49,this['_diffRoots']);if('marker'!==_0x680b49['type']&&(_0x55f3c6['_execute'](),this['_transformMarkers'](_0x55f3c6)),_0x116d71)switch(_0x55f3c6['type']){case'insert':this['_handleInsertOperation'](_0x680b49);break;case'move':case'remove':case'reinsert':this['_handleMoveOperation'](_0x680b49);break;case'merge':this['_handleMergeOperation'](_0x680b49);break;case'split':this['_handleSplitOperation'](_0x680b49);break;case'marker':this['_handleMarkerOperation'](_0x680b49);}}['_cloneOperation'](_0x3e7a71,_0x2ff306){const _0x2b125c=_0x3e7a71['clone']();return _0x2b125c['_authorId']=_0x3e7a71['_authorId'],this['_fixOperation'](_0x2b125c,_0x2ff306),_0x2b125c;}['_getBaseVids'](_0x431718){return _0x431718['map'](_0x367855=>{const _0xa9d373=this['_getVidAttributeName'](_0x367855);return Number(_0x367855['item']['getAttribute'](_0xa9d373));});}['_generateTape'](_0x12f103,_0x528e64){if(_0x12f103['is']('element','$text'))_0x528e64['push']({'item':_0x12f103,'type':'text'});else{_0x12f103['is']('element')&&_0x528e64['push']({'item':_0x12f103,'type':'elementStart'});for(const _0x23d9eb of _0x12f103['getChildren']())this['_generateTape'](_0x23d9eb,_0x528e64);_0x12f103['is']('element')&&_0x528e64['push']({'item':_0x12f103,'type':'elementEnd'});}return _0x528e64;}['_getState'](){const _0x4634d4=new Map(this['_touched']),_0x254185=new Map(_0x4634d4),_0x17ad93=new Map(),_0x4ee0d5={'insertions':{},'deletions':{}},_0x47b693={'insertions':{},'deletions':{}},_0x36eeb3=new Map(),_0x1432c7=new Set([...this['_baseRoots']['keys'](),...this['_diffRoots']['keys']()]);_0x1432c7['delete']('$graveyard');for(const _0x3c932a of _0x1432c7){const _0x29292b=this['_diffRoots']['get'](_0x3c932a)||G(_0x3c932a,!0x1),_0x1a796e=this['_baseRoots']['get'](_0x3c932a)||G(_0x3c932a,!0x1);_0x29292b['isAttached']()||_0x1a796e['isAttached']()?(_0x4ee0d5['insertions'][_0x3c932a]=q(_0x29292b),_0x4ee0d5['deletions'][_0x3c932a]=q(_0x1a796e),this['_copyMarkers'](_0x4ee0d5['deletions'][_0x3c932a],_0x1a796e),this['_copyMarkers'](_0x4ee0d5['insertions'][_0x3c932a],_0x29292b),_0x47b693['insertions'][_0x3c932a]=this['_generateTape'](this['_idsRoots']['get'](_0x3c932a),[]),_0x47b693['deletions'][_0x3c932a]=this['_generateTape'](this['_baseIdsRoots']['get'](_0x3c932a)||G(_0x3c932a,!0x1),[])):_0x1432c7['delete'](_0x3c932a);}for(const _0x112d93 of _0x1432c7){const _0x463de0=_0x47b693['insertions'][_0x112d93];for(const _0x7d21ed of _0x463de0){const _0x22c843=this['_getVidAttributeName'](_0x7d21ed),_0x23dbed=_0x7d21ed['item']['getAttribute'](_0x22c843);_0x254185['delete'](_0x23dbed),_0x23dbed>=this['_startingRevisionId']&&_0x17ad93['set'](_0x23dbed,_0x4634d4['get'](_0x23dbed));}}for(const _0x41d84f of _0x1432c7){const _0x552ce0=_0x47b693['insertions'][_0x41d84f],_0x15babe=this['_getBaseVids'](_0x47b693['deletions'][_0x41d84f]);let _0x1b6304=0x0;for(const _0x22be87 of _0x552ce0){const _0xde37a5=this['_getVidAttributeName'](_0x22be87),_0x3c6890=_0x22be87['item']['getAttribute'](_0xde37a5);if(!_0x17ad93['has'](_0x3c6890)&&!_0x36eeb3['has'](_0x3c6890)){if(_0x254185['has'](_0x3c6890))_0x1b6304++;else{if(_0x3c6890!=_0x15babe[_0x1b6304]){const _0x27651c=_0x4634d4['get'](_0x3c6890)||_0x4634d4['get'](_0x15babe[_0x1b6304]);for(;_0x3c6890!=_0x15babe[_0x1b6304];)_0x254185['has'](_0x15babe[_0x1b6304])||(_0x36eeb3['set'](_0x15babe[_0x1b6304],_0x27651c),_0x4634d4['set'](_0x15babe[_0x1b6304],_0x27651c)),_0x1b6304++;}_0x1b6304++;}}}}for(const _0x1c8ec6 of _0x1432c7){const _0x27b937=_0x47b693['insertions'][_0x1c8ec6];for(const _0x361051 of _0x27b937){const _0x46850f=this['_getVidAttributeName'](_0x361051),_0x5650c4=_0x361051['item']['getAttribute'](_0x46850f);if(_0x36eeb3['has'](_0x5650c4)){const _0x4a2090=_0x36eeb3['get'](_0x5650c4);_0x254185['has'](_0x5650c4)||_0x254185['set'](_0x5650c4,{..._0x4a2090}),_0x17ad93['set'](_0x5650c4,{..._0x4a2090});}}}for(const _0x3d98c7 of _0x254185['keys']())_0x3d98c7>=this['_startingRevisionId']&&_0x254185['delete'](_0x3d98c7);const _0x27f9d9=new Map();for(const _0x35c762 of _0x1432c7){let _0xba1851=_0x47b693['insertions'][_0x35c762];for(const _0x4e1ede of _0xba1851)if(_0x4e1ede['item']['is']('element','tableCell')){const _0x583442=this['_getVidAttributeName'](_0x4e1ede),_0x205319=_0x4e1ede['item']['getAttribute'](_0x583442);if(_0x17ad93['has'](_0x205319)){const _0x3c5278=_0x4e1ede['item']['parent']['parent']['getAttribute']('vid_start'),_0x139bbe=_0x27f9d9['get'](_0x3c5278)||new Set();_0x139bbe['add'](_0x17ad93['get'](_0x205319)['userId']),_0x27f9d9['set'](_0x3c5278,_0x139bbe);}}_0xba1851=_0x47b693['deletions'][_0x35c762];for(const _0x27130f of _0xba1851)if(_0x27130f['item']['is']('element','tableCell')){const _0x1a603c=this['_getVidAttributeName'](_0x27130f),_0x29a14a=_0x27130f['item']['getAttribute'](_0x1a603c);if(_0x254185['has'](_0x29a14a)){const _0x3d2b09=_0x27130f['item']['parent']['parent']['getAttribute']('vid_start'),_0x57cb95=_0x27f9d9['get'](_0x3d2b09)||new Set();_0x57cb95['add'](_0x254185['get'](_0x29a14a)['userId']),_0x27f9d9['set'](_0x3d2b09,_0x57cb95);}}for(const _0x5c574e of _0x27f9d9['keys']())(_0x17ad93['has'](_0x5c574e)||_0x254185['has'](_0x5c574e))&&_0x27f9d9['delete'](_0x5c574e);}for(const _0xb5d5e4 of _0x1432c7){const _0x687681=_0x47b693['insertions'][_0xb5d5e4];let _0x3f3b7c=null,_0x7c5205=null;for(const _0x226d2e of _0x687681){const _0x5bc8a3=this['_getVidAttributeName'](_0x226d2e),_0x3fb3de=_0x226d2e['item']['getAttribute'](_0x5bc8a3),_0x3469f4=_0x27f9d9['get'](_0x3fb3de);_0x3469f4&&'elementStart'==_0x226d2e['type']&&(_0x3f3b7c=Array['from'](_0x3469f4)[0x0],_0x7c5205=_0x226d2e['item']['getAttribute']('vid_end')),_0x3f3b7c&&(_0x254185['set'](_0x3fb3de,{'userId':_0x3f3b7c}),_0x17ad93['set'](_0x3fb3de,{'userId':_0x3f3b7c})),_0x3fb3de==_0x7c5205&&(_0x3f3b7c=null,_0x7c5205=null);}}const _0x3fa859={},_0x2f0863=new Set();for(const _0x391b77 of _0x1432c7){const _0x26213f=_0x4ee0d5['deletions'][_0x391b77],_0x152877=_0x4ee0d5['insertions'][_0x391b77];for(const {userId:_0x120d77}of this['_touchedMarkers']['values']())null!==_0x120d77&&_0x2f0863['add'](_0x120d77);for(const {userId:_0x373c63}of this['_touchedRoots']['values']())null!==_0x373c63&&_0x2f0863['add'](_0x373c63);this['_markChanges'](_0x152877,_0x47b693['insertions'][_0x391b77],_0x17ad93,'insertion',_0x2f0863),this['_markChanges'](_0x26213f,_0x47b693['deletions'][_0x391b77],_0x254185,'deletion',_0x2f0863),_0x3fa859[_0x391b77]={'insertions':this['_prepareViewToSave'](_0x152877),'deletions':this['_prepareViewToSave'](_0x26213f),'attachChange':this['_touchedRoots']['get'](_0x391b77)||null,'attributesBefore':_0x6f0b6d(this['_baseRootsAttributes']['get'](_0x391b77))||{},'attributesAfter':_0x6f0b6d(this['_diffRootsAttributes']['get'](_0x391b77))};}return{'diffData':_0x3fa859,'authorsIds':Array['from'](_0x2f0863)};}['_processRootBeforeSave'](_0x1366b3){for(const [,_0x39221c]of _0x1366b3['markers']){const _0x360ab3=_0x39221c['start']['getAncestors']()['filter'](_0x46279e=>'tableCell'==_0x46279e['name']);for(const _0xc736c4 of _0x360ab3)0x1==_0xc736c4['childCount']&&_0xc736c4['getChild'](0x0)['is']('element','paragraph')&&_0xc736c4['getChild'](0x0)['_setAttribute']('keepParagraph',!0x0);}}['_prepareViewToSave'](_0x5a441f){this['_processRootBeforeSave'](_0x5a441f);const _0x1352bb=this['editor']['data']['toView'](_0x5a441f,{}),_0x4a49e5=Array['from'](_0x1352bb['getChildren']())['map'](_0x1318c4=>this['_getViewJson'](_0x1318c4));return JSON['stringify'](_0x4a49e5);}['_getViewJson'](_0x97fe52){if(_0x97fe52['is']('$text'))return _0x97fe52['data'];{const _0x1c41ce=_0x97fe52;return{'type':Object['keys'](T)['find'](_0x419b70=>_0x97fe52 instanceof T[_0x419b70]),'name':_0x1c41ce['name'],'attributes':Array['from'](_0x1c41ce['getAttributes']()),'children':Array['from'](_0x1c41ce['getChildren']())['map'](_0x4aeee5=>this['_getViewJson'](_0x4aeee5))};}}['_markChanges'](_0x3ea7cb,_0x4c2e2e,_0x139074,_0x2d114c,_0x1ee874){let _0x500830=null,_0x1c347c=null,_0x531371=0x0;const _0x15d035=this['editor']['model'];for(let _0xa29809=0x0;_0xa29809<_0x4c2e2e['length'];_0xa29809++){const _0xa6be9a=this['_getVidAttributeName'](_0x4c2e2e[_0xa29809]),_0x3d9f2a=_0x4c2e2e[_0xa29809]['item']['getAttribute'](_0xa6be9a),_0x3848ae=_0x139074['get'](_0x3d9f2a),_0x4018b0=_0xa29809==_0x4c2e2e['length']-0x1;(!_0x500830&&_0x3848ae&&(_0x500830=_0x3848ae,_0x1c347c=_0x4c2e2e[_0xa29809]),_0x500830&&(!_0x3848ae||_0x3848ae['userId']!=_0x500830['userId']))&&(_0x54c016(_0x3848ae,L(_0x1c347c,_0x3ea7cb,_0x15d035),L(_0x4c2e2e[_0xa29809],_0x3ea7cb,_0x15d035)),_0x500830=_0x3848ae||null,_0x1c347c=_0x3848ae?_0x4c2e2e[_0xa29809]:null),_0x500830&&_0x4018b0&&_0x54c016(_0x3848ae,L(_0x1c347c,_0x3ea7cb,_0x15d035),W(_0x4c2e2e[_0xa29809],_0x3ea7cb,_0x15d035));}function _0x54c016(_0x188963,_0x234b0a,_0x15c0bc){const _0x341c12=_0x500830['userId'],_0x152632='revision:'+_0x2d114c+':'+_0x341c12+':'+_0x531371++,_0x8d28d7=_0x15d035['createRange'](_0x234b0a,_0x15c0bc);_0x3ea7cb['markers']['set'](_0x152632,_0x8d28d7),null!==_0x341c12&&_0x1ee874['add'](_0x341c12);}}['_getVidAttributeName'](_0x191bac){switch(_0x191bac['type']){case'elementStart':return'vid_start';case'elementEnd':return'vid_end';default:return'vid';}}['_fixOperation'](_0x174200,_0x59b547){_0x174200['baseVersion']=null;for(const _0x3ebf05 in _0x174200){const _0x4c0cd7=_0x174200[_0x3ebf05];if(_0x4c0cd7 instanceof wt){const _0xaa888d=_0x59b547['get'](_0x4c0cd7['root']['rootName']);_0x174200[_0x3ebf05]=this['_fixPosition'](_0x4c0cd7,_0xaa888d);}if(_0x4c0cd7 instanceof gt){const _0x5a2dec=_0x59b547['get'](_0x4c0cd7['root']['rootName']);_0x174200[_0x3ebf05]=this['_fixRange'](_0x4c0cd7,_0x5a2dec);}'root'===_0x3ebf05&&(_0x174200['root']=_0x59b547['get'](_0x174200['root']['rootName']));}}['_fixRange'](_0x1c2afa,_0x5298b5){return this['editor']['model']['createRange'](this['_fixPosition'](_0x1c2afa['start'],_0x5298b5),this['_fixPosition'](_0x1c2afa['end'],_0x5298b5));}['_fixPosition'](_0x5713ea,_0x4edd5c){return this['editor']['model']['createPositionFromPath'](_0x4edd5c,_0x5713ea['path'],_0x5713ea['stickiness']);}['_handleInsertOperation'](_0x3cb662){const _0x491161=this['_idsRoots']['get'](_0x3cb662['position']['root']['rootName']),_0x843984=this['_fixPosition'](_0x3cb662['position'],_0x491161),_0x2c545a=null===_0x3cb662['_authorId']?null:_0x3cb662['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x1347ca=_0x843984['parent'],_0x4a8657=this['_revisionId'],_0x3db077=[];for(const _0x449ea2 of _0x3cb662['nodes'])if(_0x449ea2['is']('element'))_0x3db077['push'](this['_makeIdsRoot'](_0x449ea2));else{for(let _0x37207f=0x0;_0x37207f<_0x449ea2['offsetSize'];_0x37207f++)_0x3db077['push'](new ft('$text',{'vid':this['_revisionId']++}));}const _0x3f8ec1=this['_revisionId'];for(let _0x3423d4=_0x4a8657;_0x3423d4<_0x3f8ec1;_0x3423d4++)this['_touched']['set'](_0x3423d4,{'userId':_0x2c545a});_0x1347ca['_insertChild'](_0x843984['offset'],_0x3db077);}['_handleMoveOperation'](_0x21b5f1){(_0x21b5f1=this['_cloneOperation'](_0x21b5f1,this['_idsRoots']))['_execute']();const _0x1bf32e=null===_0x21b5f1['_authorId']?null:_0x21b5f1['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x3cb07d=_0x21b5f1['getMovedRangeStart'](),_0x8bf187=_0x3cb07d['parent'],_0x3cf293=_0x3cb07d['offset'];!function _0x4c582e(_0xced505,_0x2215db,_0x2ee71f,_0x28d6ac){for(let _0x1298a0=_0x2ee71f;_0x1298a0<_0x28d6ac;_0x1298a0++){const _0x3c5291=_0x2215db['getChild'](_0x1298a0);_0x3c5291['is']('element','$text')?_0xced505['set'](_0x3c5291['getAttribute']('vid'),{'userId':_0x1bf32e}):(_0xced505['set'](_0x3c5291['getAttribute']('vid_start'),{'userId':_0x1bf32e}),_0x4c582e(_0xced505,_0x3c5291,0x0,_0x3c5291['childCount']),_0xced505['set'](_0x3c5291['getAttribute']('vid_end'),{'userId':_0x1bf32e}));}}(this['_touched'],_0x8bf187,_0x3cf293,_0x3cf293+_0x21b5f1['howMany']);}['_handleMergeOperation'](_0x658ac4){const _0x3da9db=null===(_0x658ac4=this['_cloneOperation'](_0x658ac4,this['_idsRoots']))['_authorId']?null:_0x658ac4['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x5dec87=_0x658ac4['targetPosition']['parent'],_0x51a6a2=_0x658ac4['sourcePosition']['parent'],_0x36bdf9=_0x5dec87['getAttribute']('vid_end'),_0x49b4c5=_0x51a6a2['getAttribute']('vid_start');_0x5dec87['_setAttribute']('vid_end',_0x51a6a2['getAttribute']('vid_end')),_0x51a6a2['_setAttribute']('vid_end',_0x36bdf9),this['_touched']['set'](_0x49b4c5,{'userId':_0x3da9db}),this['_touched']['set'](_0x36bdf9,{'userId':_0x3da9db}),_0x658ac4['_execute']();}['_handleSplitOperation'](_0x51c8c1){const _0x22781d=null===(_0x51c8c1=this['_cloneOperation'](_0x51c8c1,this['_idsRoots']))['_authorId']?null:_0x51c8c1['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x44289c=_0x51c8c1['graveyardPosition'],_0x2e1859=_0x51c8c1['splitPosition']['parent'];_0x51c8c1['_execute']();const _0x1df641=_0x2e1859['getAttribute']('vid_end'),_0x1d51e7=_0x51c8c1['insertionPosition']['nodeAfter'];if(_0x44289c){const _0x5409b2=_0x1d51e7['getAttribute']('vid_end'),_0x560b07=_0x2e1859['getAttribute']('vid_end');_0x2e1859['_setAttribute']('vid_end',_0x5409b2),_0x1d51e7['_setAttribute']('vid_end',_0x560b07),this['_touched']['set'](_0x2e1859['getAttribute']('vid_end'),{'userId':_0x22781d}),this['_touched']['set'](_0x1d51e7['getAttribute']('vid_start'),{'userId':_0x22781d});}else{const _0x320e86=this['_revisionId']++,_0x558c38=this['_revisionId']++;_0x2e1859['_setAttribute']('vid_end',_0x320e86),_0x1d51e7['_setAttribute']('vid_start',_0x558c38),_0x1d51e7['_setAttribute']('vid_end',_0x1df641),this['_touched']['set'](_0x320e86,{'userId':_0x22781d}),this['_touched']['set'](_0x558c38,{'userId':_0x22781d});}}['_handleMarkerOperation'](_0x428cc6){if(!_0x428cc6['affectsData'])return;const _0x9fa533=(_0x428cc6=this['_cloneOperation'](_0x428cc6,this['_diffRoots']))['oldRange']?_0x428cc6['oldRange']['root']:null,_0x11ddf4=_0x428cc6['newRange']?_0x428cc6['newRange']['root']:null;_0x9fa533&&this['_markers']['delete'](_0x428cc6['name']),_0x11ddf4&&this['_markers']['set'](_0x428cc6['name'],_0x428cc6['newRange']['clone']());const _0x426d6f=null===_0x428cc6['_authorId']?null:_0x428cc6['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x4ba09c=_0x428cc6['name'];if(!this['_touchedMarkers']['has'](_0x4ba09c))return void this['_touchedMarkers']['set'](_0x4ba09c,{'range':_0x428cc6['oldRange'],'userId':_0x426d6f});const _0x2eea0b=this['_touchedMarkers']['get'](_0x4ba09c),_0x41d386=_0x2eea0b['range'],_0x138244=_0x428cc6['newRange'];null==_0x41d386&&null==_0x138244||_0x41d386&&_0x138244&&_0x41d386['isEqual'](_0x138244)?this['_touchedMarkers']['delete'](_0x428cc6['name']):_0x2eea0b['userId']=_0x426d6f;}['_handleRootOperation'](_0x549e99,_0x39eca2){this['_diffRoots']['has'](_0x549e99['rootName'])?this['_diffRoots']['get'](_0x549e99['rootName'])['_isAttached']=_0x549e99['isAdd']:(this['_diffRoots']['set'](_0x549e99['rootName'],G(_0x549e99['rootName'],!0x0)),this['_diffRootsAttributes']['set'](_0x549e99['rootName'],{}),_0x39eca2&&this['_idsRoots']['set'](_0x549e99['rootName'],G(_0x549e99['rootName'],!0x0)));const _0x241df6=null===_0x549e99['_authorId']?null:_0x549e99['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x406f3b=this['_touchedRoots']['get'](_0x549e99['rootName']);_0x406f3b&&_0x406f3b['userId']===_0x241df6?this['_touchedRoots']['delete'](_0x549e99['rootName']):this['_touchedRoots']['set'](_0x549e99['rootName'],{'userId':_0x241df6,'isAttached':_0x549e99['isAdd']});}['_handleRootAttributeOperation'](_0x39c53a){const _0x92bdf9=this['_diffRootsAttributes']['get'](_0x39c53a['root']['rootName']);null===_0x39c53a['newValue']?delete _0x92bdf9[_0x39c53a['key']]:_0x92bdf9[_0x39c53a['key']]=_0x39c53a['newValue'];}constructor(_0xd8009d){this['editor']=_0xd8009d,this['_savedMetaData']=new Map(),this['_lastFrom']=-0x1,this['_lastTo']=-0x1,this['_markers']=new Map(),this['_diffRoots']=new Map(),this['_diffRootsAttributes']=new Map(),this['_baseRoots']=new Map(),this['_baseRootsAttributes']=new Map(),this['_idsRoots']=new Map(),this['_baseIdsRoots']=new Map(),this['_touched']=new Map(),this['_touchedMarkers']=new Map(),this['_touchedRoots']=new Map(),this['_revisionId']=0x1;}}function q(_0x146cdb){const _0x2caff5=G(_0x146cdb['rootName'],_0x146cdb['isAttached']());for(const _0x1eaa0d of _0x146cdb['getChildren']()){const _0x1a7b48=_0x1eaa0d['_clone'](!0x0);_0x2caff5['_appendChild'](_0x1a7b48);}return _0x2caff5;}function G(_0x5efbeb,_0x5467d9=!0x0){const _0x2e2dd9=new _t();return _0x2e2dd9['rootName']=_0x5efbeb,_0x2e2dd9['_isAttached']=_0x5467d9,_0x2e2dd9['isAttached']=()=>_0x2e2dd9['_isAttached'],_0x2e2dd9;}function L(_0x350bdd,_0x5c24bc,_0x192ef9){const _0x27b969='elementEnd'==_0x350bdd['type']?_0x192ef9['createPositionAt'](_0x350bdd['item'],'end'):_0x192ef9['createPositionBefore'](_0x350bdd['item']);return _0x192ef9['createPositionFromPath'](_0x5c24bc,_0x27b969['path'],_0x27b969['stickiness']);}function W(_0x5e8706,_0x1cd91f,_0x4836cd){const _0x470cba='elementStart'==_0x5e8706['type']?_0x4836cd['createPositionAt'](_0x5e8706['item'],0x0):_0x4836cd['createPositionAfter'](_0x5e8706['item']);return _0x4836cd['createPositionFromPath'](_0x1cd91f,_0x470cba['path'],_0x470cba['stickiness']);}class ns extends _0xc1e55f{['render'](){super['render'](),_0x373453({'view':this}),this['focusTracker']['add'](this['revisionNameInputView']['element']),this['keystrokes']['listenTo'](this['element']);const _0x41801d=_0xe9d1b7=>_0xe9d1b7['stopPropagation']();this['keystrokes']['set']('arrowright',_0x41801d),this['keystrokes']['set']('arrowleft',_0x41801d),this['keystrokes']['set']('arrowup',_0x41801d),this['keystrokes']['set']('arrowdown',_0x41801d);}['focus'](){this['revisionNameInputView']['focus']();}get['revisionName'](){return this['revisionNameInputView']['fieldView']['element']['value']['trim']();}set['revisionName'](_0x3d7c72){this['revisionNameInputView']['fieldView']['element']['value']=_0x3d7c72['trim']();}['reset'](){this['revisionNameInputView']['fieldView']['element']['value']='',this['revisionNameInputView']['errorText']=null;}['_createRevisionNameInput'](_0x3052c0){const _0x23dc7d=new mt(this['locale'],_0x38b90f),_0x154865=_0x23dc7d['fieldView'];_0x154865['extendTemplate']({'attributes':{'maxlength':'220'}});let _0x253cab=y(this['locale'],'Name\x20of\x20the\x20revision');return!_0x3052c0&&(_0x253cab+='\x20('+y(this['locale'],'optional')+')'),(_0x23dc7d['label']=_0x253cab,_0x154865['on']('input',()=>{this['revisionNameInputValue']=_0x154865['element']['value']['trim']();}),_0x23dc7d);}constructor(_0x1e1b51,_0x2e684d){super(_0x1e1b51),this['focusTracker']=new _0x50debf(),this['keystrokes']=new _0x143bb2(),this['set']('revisionNameInputValue',''),this['revisionNameInputView']=this['_createRevisionNameInput'](_0x2e684d),this['setTemplate']({'tag':'form','attributes':{'class':['ck','ck-revision-history-save-revision-form','ck-responsive-form'],'tabindex':'-1'},'children':[this['revisionNameInputView']]}),ts(this);}}class u extends _0x527fb6{static get['pluginName'](){return'RevisionHistoryUI';}static get['requires'](){return[l];}['init'](){const _0x9de739=this['editor'],_0x373a92=_0x9de739['plugins']['get']('RevisionTracker');_0x9de739['ui']['componentFactory']['add']('revisionHistory',_0x501178=>{const _0x5f36ac=_0x1fd32b(_0x501178),_0x182139=_0x5f36ac['panelView']['children'],_0x13c301=new te(_0x501178),_0x3d634f=new _0x167b4f(_0x501178),_0x33d0da=new _0x471fbe(_0x501178),_0x5d2bb7=new _0x167b4f(_0x501178),_0x4b25f1=new _0x471fbe(_0x501178);return _0x5f36ac['bind']('isEnabled')['to'](_0x373a92,'isReady',_0x373a92,'isEnabled',_0x9de739,'isReadOnly',(_0x16bab0,_0x12ed62,_0x3c29ae)=>_0x16bab0&&_0x12ed62&&!_0x3c29ae),_0x5f36ac['buttonView']['set']({'icon':_0x27bd18['history'],'label':y(_0x501178,'Revision\x20history'),'tooltip':!0x0}),_0x33d0da['set']({'label':y(_0x501178,'Save\x20current\x20revision'),'withText':!0x0}),_0x33d0da['bind']('isEnabled')['to'](_0x373a92,'isReady',_0x373a92,'isEnabled',_0x9de739,'isReadOnly',(_0x27dbeb,_0x38487e,_0x5db42d)=>_0x27dbeb&&_0x38487e&&!_0x5db42d),_0x33d0da['on']('execute',()=>this['_showDialog']()),_0x4b25f1['set']({'label':y(_0x501178,'Open\x20revision\x20history'),'withText':!0x0}),_0x4b25f1['bind']('isEnabled')['to'](_0x373a92,'isReady',_0x9de739,'isReadOnly',(_0x41e968,_0x4169b9)=>_0x41e968&&!_0x4169b9),_0x4b25f1['on']('execute',()=>{_0x9de739['config']['get']('revisionHistory')['showRevisionViewerCallback'](),_0x5f36ac['isOpen']=!0x1,_0x9de739['editing']['view']['focus']();}),_0x3d634f['children']['add'](_0x33d0da),_0x5d2bb7['children']['add'](_0x4b25f1),_0x13c301['items']['addMany']([_0x3d634f,_0x5d2bb7]),_0x182139['add'](_0x13c301),_0x5f36ac;}),_0x9de739['ui']['componentFactory']['add']('menuBar:revisionHistory',()=>this['_registerMenuComponent']());}['_registerMenuComponent'](){const _0x2bfdc3=this['editor'],_0x355a30=_0x2bfdc3['locale'],_0x1b9978=new _0x40861d(_0x355a30),_0x2bcfc6=new _0x2ffdb8(_0x355a30);_0x1b9978['buttonView']['set']({'icon':_0x27bd18['history'],'label':y(_0x355a30,'Revision\x20history')});const _0x160676=new _0x369624(_0x355a30,_0x1b9978),_0x4ee130=new _0x21d718(_0x355a30);_0x4ee130['set']({'label':y(_0x355a30,'Save\x20current\x20revision')}),_0x4ee130['delegate']('execute')['to'](_0x1b9978),_0x4ee130['on']('execute',()=>{this['_showDialog']();}),_0x160676['children']['add'](_0x4ee130),_0x2bcfc6['items']['add'](_0x160676);const _0x2a671f=new _0x369624(_0x355a30,_0x1b9978),_0x5a87c6=new _0x21d718(_0x355a30);return _0x5a87c6['set']({'label':y(_0x355a30,'Open\x20revision\x20history')}),_0x5a87c6['delegate']('execute')['to'](_0x1b9978),_0x5a87c6['on']('execute',()=>{_0x2bfdc3['config']['get']('revisionHistory')['showRevisionViewerCallback']();}),_0x2a671f['children']['add'](_0x5a87c6),_0x2bcfc6['items']['add'](_0x2a671f),_0x1b9978['panelView']['children']['add'](_0x2bcfc6),_0x1b9978;}['_showDialog'](){const _0x2a6504=this['editor'],_0x1dff4b=_0x2a6504['locale'],t=_0x1dff4b['t'],_0x3c22cb=_0x2a6504['plugins']['get']('Dialog'),_0x786d58=_0x2a6504['plugins']['get']('RevisionTracker');function _0x119cb8(_0xb5e7ce){_0x2a6504['config']['get']('revisionHistory.requireRevisionName')&&''===_0xb5e7ce['revisionName']?_0xb5e7ce['revisionNameInputView']['errorText']=y(_0x1dff4b,'The\x20revision\x20name\x20cannot\x20be\x20empty.'):(_0x2a6504['plugins']['get'](l)['saveRevision']({'name':_0xb5e7ce['revisionName']}),_0x3c22cb['hide']());}this['_saveRevisionFormView']||(this['_createSaveRevisionFormView'](),this['_saveRevisionFormView']['on']('submit',()=>_0x119cb8(this['_saveRevisionFormView']))),this['_saveRevisionFormView']['reset'](),_0x3c22cb['show']({'id':'findAndReplace','title':y(_0x1dff4b,'Save\x20current\x20revision'),'isModal':!0x0,'content':this['_saveRevisionFormView'],'actionButtons':[{'label':t('Cancel'),'withText':!0x0,'onExecute':()=>_0x3c22cb['hide']()},{'label':t('Accept'),'class':'ck-button-action','withText':!0x0,'onCreate'(_0x3ec554){_0x3ec554['bind']('isEnabled')['to'](_0x786d58,'isReady',_0x786d58,'isEnabled',_0x2a6504,'isReadOnly',(_0x4302fc,_0x7e3617,_0x268526)=>_0x4302fc&&_0x7e3617&&!_0x268526);},'onExecute':()=>_0x119cb8(this['_saveRevisionFormView'])}]});}['_createSaveRevisionFormView'](){const _0x3064cd=this['editor'],_0x5a4aa3=_0x3064cd['locale'];this['_saveRevisionFormView']=new ns(_0x5a4aa3,_0x3064cd['config']['get']('revisionHistory.requireRevisionName')),this['_saveRevisionFormView']['render']();}}class Z extends _0xc1e55f{['focus'](){this['element']['focus']();}constructor(_0xfca18d,_0x15bdf9){super(_0xfca18d),this['_model']=_0x15bdf9,this['changeId']=_0x15bdf9['id'];const _0x3f88c7=this['bindTemplate'],_0x5b83a4=y(_0xfca18d,_0x15bdf9['data']['isSuggestion']?'Suggested\x20by':'add'==_0x15bdf9['type']?'Added\x20by':'Removed\x20by');this['set']('type',_0x15bdf9['type']),this['setTemplate']({'tag':'div','attributes':{'class':['ck-annotation','ck-revision-change',_0x3f88c7['to']('type',_0x3b335a=>'ck-revision-change__'+_0x3b335a)],'tabindex':-0x1},'children':[{'tag':'span','children':[{'tag':'span','attributes':{'class':['ck-revision-change__label']},'children':[{'text':_0x5b83a4}]},{'text':'\x20'+_0x15bdf9['author']['name']}]}]});}}class r extends _0xb7bf67(){['toJSON'](){return{'id':this['id'],'authorId':this['author']['id'],'type':this['type'],'data':this['data'],'createdAt':this['createdAt']};}constructor(_0x25a8df){super(),this['id']=_0x25a8df['id']||_0xfce3ff(),this['author']=_0x25a8df['author'],this['type']=_0x25a8df['type'],this['data']=_0x25a8df['data']||{},this['rootName']=_0x25a8df['rootName'],this['set']('createdAt',_0x25a8df['createdAt']);}}class f{['_setChanges'](_0x297c41){for(const _0x38ede3 of _0x297c41)this['changes']['add'](_0x38ede3);}constructor(_0x4aab3,_0x5998e0){this['newRevisionId']=_0x4aab3,this['oldRevisionId']=_0x5998e0,this['changes']=new _0x116d4f();}}const tt={'c':_0x264489,'a':_0x26d899,'e':_0x5d893e,'r':_0x58bc3d,'u':_0x2100bb};class d extends _0x527fb6{static get['pluginName'](){return'RevisionViewer';}static get['requires'](){return[_0x2afa19,_0xb14f3f,A];}['init'](){const _0x347500=this['editor'],_0x56d2ad=new Rt(_0x347500,{'direction':'backward'}),_0xbf4e2c=new Rt(_0x347500,{'direction':'forward'});(_0x347500['commands']['add']('showPreviousChange',_0x56d2ad),_0x347500['commands']['add']('showNextChange',_0xbf4e2c),_0x347500['commands']['add']('restoreRevision',new bt(_0x347500)),this['on']('change:numberOfChanges',()=>{_0x56d2ad['refresh'](),_0xbf4e2c['refresh']();}),this['_setConversion'](),this['_initInteractions'](),_0x347500['enableReadOnlyMode']('revision-viewer'),_0x347500['plugins']['has']('WidgetToolbarRepository'))&&_0x347500['plugins']['get']('WidgetToolbarRepository')['forceDisabled']('revision-viewer');}async['getRevisionData'](_0xad9928){await this['loadRevisionData'](_0xad9928);const _0x1d3275={};for(const _0xf38b79 in _0xad9928['diffData']){if(_0xad9928['diffData'][_0xf38b79]['attachChange']&&!_0xad9928['diffData'][_0xf38b79]['attachChange']['isAttached'])continue;const _0x18b811=this['_removeRevisionMarkers'](JSON['parse'](_0xad9928['diffData'][_0xf38b79]['insertions'])),_0x31debd=this['editor']['editing']['view']['document'],_0x49b89a=new _0x53ade3(_0x31debd,_0x18b811['map'](_0x526d83=>this['_getViewObj'](_0x526d83)));this['editor']['data']['processor']['useFillerType']('marked'),_0x1d3275[_0xf38b79]=this['editor']['data']['processor']['toData'](_0x49b89a),this['editor']['data']['processor']['useFillerType']('default');}return _0x1d3275;}async['getRevisionRootsAttributes'](_0x1e236e){await this['loadRevisionData'](_0x1e236e);const _0x1031f4={};for(const _0x304daf in _0x1e236e['diffData'])_0x1e236e['diffData'][_0x304daf]['attachChange']&&!_0x1e236e['diffData'][_0x304daf]['attachChange']['isAttached']||(_0x1031f4[_0x304daf]=_0x1e236e['diffData'][_0x304daf]['attributesAfter']||{});return _0x1031f4;}['_removeRevisionMarkers'](_0xf89a8a){return(_0xf89a8a=_0xf89a8a['filter'](_0x472d46=>!_0x472d46['name']||'revision-start'!==_0x472d46['name']&&'revision-end'!==_0x472d46['name']))['forEach'](_0x2d5536=>{'string'!=typeof _0x2d5536&&(_0x2d5536['children']=this['_removeRevisionMarkers'](_0x2d5536['children']),_0x2d5536['attributes']=_0x2d5536['attributes']['filter'](_0x409157=>!_0x409157[0x0]['startsWith']('data-revision-')));}),_0xf89a8a;}async['compare'](_0x40cdb8,_0x4e4e98,_0x2f1224=!0x1){if(!this['isEnabled'])return;const _0x2e957e=this['diff'],_0x49900b=this['repository'],_0x2f94bc='string'==typeof _0x40cdb8?_0x49900b['getRevision'](_0x40cdb8):_0x40cdb8,_0x75c1c4='string'==typeof _0x4e4e98?_0x49900b['getRevision'](_0x4e4e98):_0x4e4e98,_0x16845b=_0x2f94bc['id'],_0xc5a3a5=_0x75c1c4?_0x75c1c4['id']:null;if(!_0x2f1224&&this['diff']&&this['diff']['newRevisionId']===_0x16845b&&this['diff']['oldRevisionId']===_0xc5a3a5)return Promise['resolve']();this['isReady']=!0x1,this['activeView']=null,this['activeChange']=null,this['diff']=new f(_0x16845b,_0xc5a3a5);const _0xdf4ac1=this['_getRevisionsRange'](_0x2f94bc,_0x75c1c4,!0x0)['map'](_0x319019=>this['loadRevisionData'](_0x319019));return _0xdf4ac1['push'](new Promise(_0x435bae=>{setTimeout(_0x435bae,0x14);})),Promise['all'](_0xdf4ac1)['then'](()=>{if(!this['isEnabled'])return;this['_cleanUp']();const _0x27097f=this['_getDiff'](_0x16845b,_0xc5a3a5);for(const _0x2e8d83 of _0x27097f['changes'])this['_changeIdToChange']['set'](_0x2e8d83['id'],_0x2e8d83);this['editor']['model']['enqueueChange']({'isUndoable':!0x1},_0x2ce875=>{for(const _0x2ae83e of this['editor']['model']['document']['getRootNames']())_0x2ce875['detachRoot'](_0x2ae83e);for(const _0x151c33 of Object['keys'](_0x27097f['model'])){const _0x43ba4a=_0x2ce875['addRoot'](_0x151c33);for(const _0x1aa4a5 of Object['keys'](_0x27097f['attributes'][_0x151c33]))_0x2ce875['setAttribute'](_0x1aa4a5,_0x27097f['attributes'][_0x151c33][_0x1aa4a5],_0x43ba4a);_0x2ce875['insert'](_0x27097f['model'][_0x151c33],_0x43ba4a,0x0);}}),this['diff']['_setChanges'](this['_sortAndFilterDiffChanges'](_0x27097f['changes'])),this['isReady']=!0x0;})['catch'](_0x532154=>{console['error'](_0x532154),this['_cleanUp'](),_0x2e957e&&(this['diff']=_0x2e957e),this['isReady']=!0x0;});}['addRevisionData'](_0x4261ca,_0x516433){const _0x1fda6e=this['repository']['createRevision'](_0x4261ca);return _0x1fda6e['on']('_update',(_0x82a2d,_0x530d18,_0x36cfac)=>_0x516433(_0x530d18,_0x36cfac,_0x1fda6e)),this['repository']['addRevision'](_0x1fda6e),_0x1fda6e;}['loadRevisionData'](_0x18eb89){if(!_0x18eb89||_0x18eb89['diffData'])return Promise['resolve']();{const _0x11d096=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0x11d096,'revisionId':_0x18eb89['id']})['then'](_0x136eb3=>{_0x18eb89['_update']({'diffData':_0x136eb3['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},_0x4c5b11=>{for(const _0x18ca8a of this['editor']['model']['document']['getRootNames']())_0x4c5b11['detachRoot'](_0x18ca8a);});}['_sortAndFilterDiffChanges'](_0x1714af){const _0x5b9b34=[],_0x113ae9=new Map();for(const _0x562f9f of this['editor']['model']['document']['getRootNames']()){const _0x32ba8f=this['editor']['editing']['view']['getDomRoot'](_0x562f9f);if(!_0x32ba8f)continue;const _0x31b483=_0x32ba8f['getClientRects']()['item'](0x0);_0x31b483&&(_0x5b9b34['push'](_0x562f9f),_0x113ae9['set'](_0x562f9f,_0x31b483));}return _0x5b9b34['sort']((_0x129865,_0x45c1db)=>{const _0x45ea29=_0x113ae9['get'](_0x129865),_0x3cc943=_0x113ae9['get'](_0x45c1db);return _0x45ea29['y']-_0x3cc943['y']||_0x45ea29['x']-_0x3cc943['x'];}),(_0x1714af=_0x1714af['filter'](_0x8ef513=>_0x5b9b34['includes'](_0x8ef513['rootName'])))['sort']((_0x1f180e,_0x21c51d)=>_0x5b9b34['indexOf'](_0x1f180e['rootName'])-_0x5b9b34['indexOf'](_0x21c51d['rootName'])),_0x1714af;}['_makeTape'](_0xb033f8){const _0xa41c08=Array['from'](_0xb033f8['markers'])['filter'](([_0x27ff00,_0x26a548])=>_0x27ff00['startsWith']('revision:')&&!_0x26a548['isCollapsed']),_0x311b12=Array['from'](this['editor']['model']['createRangeIn'](_0xb033f8)['getWalker']({'singleCharacters':!0x0}));if(0x0!=_0xa41c08['length'])for(const _0x58296c of _0x311b12){const [_0x2b3e77,_0x51ad43]=_0xa41c08[0x0],[,_0x2c55da,_0x1e666f]=_0x2b3e77['split'](':');if(_0x51ad43['end']['isEqual'](_0x58296c['nextPosition'])&&_0xa41c08['shift'](),(_0x58296c['previousPosition']['isEqual'](_0x51ad43['start'])||_0x58296c['previousPosition']['isAfter'](_0x51ad43['start']))&&('insertion'==_0x2c55da?_0x58296c['isAdded']={'userId':_0x1e666f}:'deletion'==_0x2c55da&&(_0x58296c['isRemoved']={'userId':_0x1e666f})),0x0==_0xa41c08['length'])break;}return _0x311b12;}['_refreshStartEndIndex'](_0x2e5a73){const _0xe56371=new Map();for(let _0x1c7f82=0x0;_0x1c7f82<_0x2e5a73['length'];_0x1c7f82++)'text'===_0x2e5a73[_0x1c7f82]['type']?(_0x2e5a73[_0x1c7f82]['item']['startIndex']=_0x1c7f82,_0x2e5a73[_0x1c7f82]['item']['endIndex']=_0x1c7f82):('elementStart'===_0x2e5a73[_0x1c7f82]['type']?_0x2e5a73[_0x1c7f82]['item']['startIndex']=_0x1c7f82:'elementEnd'===_0x2e5a73[_0x1c7f82]['type']&&(_0x2e5a73[_0x1c7f82]['item']['endIndex']=_0x1c7f82),_0xe56371['set'](_0x2e5a73[_0x1c7f82]['id'],_0x1c7f82));for(const _0x4a2b7a of _0xe56371['values']())'elementStart'===_0x2e5a73[_0x4a2b7a]['type']?_0x2e5a73[_0x4a2b7a]['item']['endIndex']=_0xe56371['get'](_0x2e5a73[_0x4a2b7a]['pairId']):'elementEnd'===_0x2e5a73[_0x4a2b7a]['type']&&(_0x2e5a73[_0x4a2b7a]['item']['startIndex']=_0xe56371['get'](_0x2e5a73[_0x4a2b7a]['pairId']));}['_processTape'](_0xc055a6){for(let _0x57b4fb=0x0;_0x57b4fb<_0xc055a6['length'];_0x57b4fb++){if('elementStart'===_0xc055a6[_0x57b4fb]['type'])_0xc055a6[_0x57b4fb]['item']['startIndex']=_0x57b4fb;else{if('elementEnd'===_0xc055a6[_0x57b4fb]['type']){_0xc055a6[_0x57b4fb]['item']['endIndex']=_0x57b4fb;const _0x351cfe=_0xc055a6[_0x57b4fb]['item']['startIndex'];_0xc055a6[_0x351cfe]['pairId']=_0xc055a6[_0x57b4fb]['id'],_0xc055a6[_0x57b4fb]['pairId']=_0xc055a6[_0x351cfe]['id'];}else _0xc055a6[_0x57b4fb]['item']['startIndex']=_0x57b4fb,_0xc055a6[_0x57b4fb]['item']['endIndex']=_0x57b4fb,_0xc055a6[_0x57b4fb]['pairId']=null;}_0xc055a6[_0x57b4fb]['markersStart']||(_0xc055a6[_0x57b4fb]['markersStart']=[],_0xc055a6[_0x57b4fb]['markersEnd']=[]);}}['_markInsertions'](_0x46ed55,_0x348137){const _0x3c198b=_0x46ed55['filter'](_0x1b2df8=>!_0x1b2df8['isAdded']);for(let _0x54b897=0x0;_0x54b897<_0x348137['length'];_0x54b897++)_0x348137[_0x54b897]['isAdded']&&(_0x3c198b[_0x54b897]['isAdded']=_0x348137[_0x54b897]['isAdded']);}['_makeModelFromViewString'](_0x3ec9a4){const _0x2b5c69=JSON['parse'](_0x3ec9a4),_0x3238be=this['editor']['editing']['view']['document'],_0x93856f=new _0x53ade3(_0x3238be,_0x2b5c69['map'](_0x124c85=>this['_getViewObj'](_0x124c85)));return this['editor']['data']['toModel'](_0x93856f);}['_getViewObj'](_0xfcfb6b){const _0x280dd4=this['editor']['editing']['view']['document'];if('string'==typeof _0xfcfb6b)return new _0x2cc54b(_0x280dd4,_0xfcfb6b);{const _0x50446c=_0xfcfb6b['children']['map'](_0x7a101b=>this['_getViewObj'](_0x7a101b));return new(tt[_0xfcfb6b['type']]||_0x431d98)(_0x280dd4,_0xfcfb6b['name'],_0xfcfb6b['attributes'],_0x50446c);}}['_getDiff'](_0x4a7f4f,_0x37be4b=null){const _0x273bde=this['repository']['getRevision'](_0x4a7f4f),_0x9064ec=_0x37be4b?this['repository']['getRevision'](_0x37be4b):null,_0x2759d7=this['_getRevisionsRange'](_0x273bde,_0x9064ec),_0x13900a=_0x2759d7[_0x2759d7['length']-0x1],_0x55d5a6=new Map(),_0x95bc1f={'model':{},'attributes':{},'changes':[]},_0x52a1a4=new Set(),_0x54d33e=new Map();for(let _0x2ba5f7=_0x2759d7['length']-0x1;_0x2ba5f7>=0x0;_0x2ba5f7--){const _0x48f978=_0x2759d7[_0x2ba5f7];for(const _0x5dda5b of Object['keys'](_0x48f978['diffData']))if(_0x48f978['diffData'][_0x5dda5b]['attachChange']){const _0x316543=_0x48f978['diffData'][_0x5dda5b]['attachChange'];_0x316543['isAttached']?(_0x52a1a4['add'](_0x5dda5b),_0x54d33e['has'](_0x5dda5b)&&_0x54d33e['get'](_0x5dda5b)['userId']==_0x316543['userId']?_0x54d33e['delete'](_0x5dda5b):_0x54d33e['set'](_0x5dda5b,_0x316543)):_0x54d33e['has'](_0x5dda5b)?(_0x52a1a4['delete'](_0x5dda5b),_0x54d33e['delete'](_0x5dda5b)):(_0x52a1a4['add'](_0x5dda5b),_0x54d33e['set'](_0x5dda5b,_0x316543));}else _0x52a1a4['add'](_0x5dda5b);}for(const _0x290b55 of _0x52a1a4){const _0x361bdf=_0x54d33e['has'](_0x290b55)&&!_0x54d33e['get'](_0x290b55)['isAttached'];let _0x2fc5fd=_0x361bdf?_0x2759d7['length']-0x1:0x0;const _0x22895e=_0x361bdf?-0x1:0x1;for(;_0x2759d7[_0x2fc5fd];){const _0x2234e4=_0x2759d7[_0x2fc5fd];if(_0x2234e4['diffData'][_0x290b55]){const _0x34c9ef=_0x361bdf?_0x2234e4['diffData'][_0x290b55]['attributesBefore']:_0x2234e4['diffData'][_0x290b55]['attributesAfter'];_0x95bc1f['attributes'][_0x290b55]=_0x34c9ef?_0x6f0b6d(_0x34c9ef):{};break;}_0x2fc5fd+=_0x22895e;}}for(const _0x1ae5fc of _0x2759d7){_0x1ae5fc['model']={};for(const _0x5d2f8c of _0x1ae5fc['authors'])_0x55d5a6['set'](_0x5d2f8c['id'],_0x5d2f8c);for(const _0x34bebf of _0x52a1a4){const _0x3551f6=_0x1ae5fc['diffData'][_0x34bebf]?_0x1ae5fc['diffData'][_0x34bebf]['insertions']:'[]',_0x21956a=_0x1ae5fc['diffData'][_0x34bebf]?_0x1ae5fc['diffData'][_0x34bebf]['deletions']:'[]';_0x1ae5fc['model'][_0x34bebf]={'insertions':this['_makeModelFromViewString'](_0x3551f6),'deletions':this['_makeModelFromViewString'](_0x21956a)};}}for(const _0x388813 of _0x52a1a4){let _0x1fc43d=null,_0x5d4be2=0x0;const _0x44cc30=new Map(Array['from'](_0x273bde['model'][_0x388813]['insertions']['markers'])['filter'](([_0x499f5d])=>!_0x499f5d['startsWith']('revision:')));let _0x2e7240=0x0;for(const _0x2c2dc1 of _0x2759d7){const _0x518e97=this['_makeTape'](_0x2c2dc1['model'][_0x388813]['insertions']);_0x2c2dc1==_0x273bde?(_0x1fc43d=_0x518e97,_0x5d4be2=_0x1fc43d['length'],_0x1fc43d['forEach'](_0x3b3386=>{_0x3b3386['id']=_0x2e7240++;}),this['_processTape'](_0x1fc43d)):this['_markInsertions'](_0x1fc43d,_0x518e97);const _0x5b3875=_0x1fc43d['filter'](_0x54cc75=>!_0x54cc75['isAdded'])['map'](_0x5abf0e=>_0x5abf0e['id']);let _0x548640=0x0;const _0x129229=this['_makeTape'](_0x2c2dc1['model'][_0x388813]['deletions']);_0x129229['forEach'](_0x5888b6=>{_0x5888b6['isRemoved']?_0x5888b6['id']=_0x5d4be2++:_0x5888b6['id']=_0x5b3875[_0x548640++];}),this['_processTape'](_0x129229),this['_setDistance'](_0x1fc43d,'isAdded'),this['_setDistance'](_0x129229,'isRemoved'),_0x2c2dc1==_0x273bde&&this['_markMarkers'](_0x1fc43d,_0x44cc30),_0x1fc43d=this['_joinTapes'](_0x1fc43d,_0x129229),this['_refreshStartEndIndex'](_0x1fc43d),this['_setDistance'](_0x1fc43d,'isRemoved');}_0x1fc43d=_0x1fc43d['filter'](_0x55525e=>!(_0x55525e['isAdded']&&_0x55525e['isRemoved']));const _0x14fb87=new Map(_0x13900a['model'][_0x388813]['deletions']['markers']),_0x5baab8=new Set(_0x44cc30['keys']());for(const _0x44641e of _0x14fb87['keys']())_0x5baab8['delete'](_0x44641e);this['_markSuggestions'](_0x1fc43d,_0x5baab8),this['_fixObsoleteTags'](_0x1fc43d),_0x1fc43d=this['_removeMissingPairs'](_0x1fc43d),_0x1fc43d=this['_markMismatchedRemovedTags'](_0x1fc43d),_0x1fc43d=this['_removeUnsupportedChanges'](_0x1fc43d);const {root:_0xc6efb9,changes:_0x270bb3}=this['_makeModelFromTape'](_0x1fc43d,_0x55d5a6,_0x388813);_0x95bc1f['model'][_0x388813]=_0xc6efb9;const _0x4fede0=_0x54d33e['get'](_0x388813);if(_0x4fede0){const _0x2f739e=_0x55d5a6['get'](_0x4fede0['userId']),_0xe22138=new r({'author':_0x2f739e,'type':_0x4fede0['isAttached']?'add':'remove','data':{'isOnRoot':!0x0},'createdAt':new Date(),'rootName':_0x388813});_0x270bb3['unshift'](_0xe22138),_0x95bc1f['attributes'][_0x388813]['revisionHistoryAttachChange']=_0xe22138['id'];}_0x95bc1f['changes']=_0x95bc1f['changes']['concat'](_0x270bb3);}return _0x95bc1f;}['_markMarkers'](_0x285320,_0x547cf4){for(let _0x286c70=0x0;_0x286c70<_0x285320['length'];_0x286c70++)for(const [_0x45f4c6,_0x31308a]of _0x547cf4)_0x31308a['start']['isEqual'](_0x285320[_0x286c70]['previousPosition'])&&_0x285320[_0x286c70]['markersStart']['push'](_0x45f4c6),_0x31308a['end']['isEqual'](_0x285320[_0x286c70]['nextPosition'])&&_0x285320[_0x286c70]['markersEnd']['push'](_0x45f4c6);}['_joinTapes'](_0x1d6da8,_0x567701){let _0x21df5c=[],_0x55f51c=0x0,_0x1fd82a=0x0;for(;_0x55f51c<_0x1d6da8['length']||_0x1fd82a<_0x567701['length'];){const _0x328094=_0x1d6da8[_0x55f51c]||{},_0x533e93=_0x567701[_0x1fd82a]||{};if(_0x328094['id']==_0x533e93['id'])_0x55f51c++,_0x1fd82a++,_0x21df5c['push'](_0x328094);else{if(_0x533e93['isRemoved']&&_0x328094['isAdded']){const {commonTape:_0x3eafcd,iEnd:_0x23ab96,jEnd:_0x3f202e}=this['_threeWayMerge'](_0x1d6da8,_0x55f51c,_0x567701,_0x1fd82a);_0x21df5c=_0x21df5c['concat'](_0x3eafcd),_0x55f51c=_0x23ab96,_0x1fd82a=_0x3f202e;}else _0x533e93['isRemoved']?(_0x1fd82a++,_0x21df5c['push'](_0x533e93)):(_0x55f51c++,_0x21df5c['push'](_0x328094));}}return _0x21df5c;}['_markSuggestions'](_0x2a919d,_0x12fa17){const _0xffd0dd=[];for(let _0x43591b=0x0;_0x43591b<_0x2a919d['length'];_0x43591b++){for(let _0x596ab0=0x0;_0x596ab0<_0x2a919d[_0x43591b]['markersStart']['length'];_0x596ab0++){const _0x5e15b9=_0x2a919d[_0x43591b]['markersStart'][_0x596ab0];if(!_0x12fa17['has'](_0x5e15b9))continue;const {group:_0x21110e,type:_0x51abe4,authorId:_0x52d241}=_0x29ab63(_0x5e15b9);'revision-suggestion'!=_0x21110e||'insertion'!=_0x51abe4&&'deletion'!=_0x51abe4||(_0xffd0dd['unshift']({'type':_0x51abe4,'name':_0x5e15b9,'userId':_0x52d241}),_0x2a919d[_0x43591b]['markersStart']['splice'](_0x596ab0,0x1),_0x596ab0--);}_0x50fa60(_0x2a919d[_0x43591b]);for(let _0x31c8af=0x0;_0x31c8af<_0x2a919d[_0x43591b]['markersEnd']['length'];_0x31c8af++){const _0x16eaa6=_0x2a919d[_0x43591b]['markersEnd'][_0x31c8af];if(!_0x12fa17['has'](_0x16eaa6))continue;const {group:_0x5d6e8,type:_0x383e58}=_0x29ab63(_0x16eaa6);if('revision-suggestion'!=_0x5d6e8||'insertion'!=_0x383e58&&'deletion'!=_0x383e58)continue;_0x2a919d[_0x43591b]['markersEnd']['splice'](_0x31c8af,0x1),_0x31c8af--;const _0x69b459=_0xffd0dd['findIndex'](_0x4df77c=>_0x4df77c['name']==_0x16eaa6);_0x69b459>-0x1&&_0xffd0dd['splice'](_0x69b459,0x1);}}function _0x29ab63(_0x3a7ca3){const _0x46c2f7=_0x3a7ca3['split'](':');return{'group':_0x46c2f7[0x0],'type':_0x46c2f7[0x1],'subType':_0x46c2f7['length']>=0x5?_0x46c2f7[0x2]:null,'id':_0x46c2f7['length']<0x5?_0x46c2f7[0x2]:_0x46c2f7[0x3],'authorId':_0x46c2f7['length']<0x5?_0x46c2f7[0x3]:_0x46c2f7[0x4],'markerCount':0x6==_0x46c2f7['length']?_0x46c2f7[0x5]:null};}function _0x50fa60(_0x1bce1c){for(let _0x17305a=0x0;_0x17305a<_0xffd0dd['length'];_0x17305a++){if(_0x1bce1c['isAdded']&&'insertion'==_0xffd0dd[_0x17305a]['type'])return _0x1bce1c['isAddSuggestion']=_0xffd0dd[_0x17305a],void delete _0x1bce1c['isAdded'];if(!_0x1bce1c['isAdded']&&!_0x1bce1c['isRemoved']&&'deletion'==_0xffd0dd[_0x17305a]['type'])return void(_0x1bce1c['isRemoveSuggestion']=_0xffd0dd[_0x17305a]);}}}['_setDistance'](_0x5b685b,_0x33c7dd){let _0x933466=0x0,_0x5db0d3=!0x1;const _0x535a43=new Map();for(const _0xc44b4f of _0x5b685b)_0xc44b4f[_0x33c7dd]?_0x5db0d3&&(_0x933466++,_0x5db0d3=!0x1):(_0x933466++,_0x5db0d3=!0x0),_0x535a43['set'](_0xc44b4f['id'],_0x933466);for(let _0x240c2a=0x0;_0x240c2a<_0x5b685b['length'];_0x240c2a++){if('isRemoved'==_0x33c7dd&&_0x5b685b[_0x240c2a]['isAdded']||'isAdded'==_0x33c7dd&&_0x5b685b[_0x240c2a]['isRemoved'])continue;if('text'==_0x5b685b[_0x240c2a]['type']){_0x5b685b[_0x240c2a]['distance']=0x0;continue;}const _0x139b65=_0x535a43['get'](_0x5b685b[_0x240c2a]['pairId']),_0x178bf2=_0x535a43['get'](_0x5b685b[_0x240c2a]['id']);_0x5b685b[_0x240c2a]['distance']=_0x139b65-_0x178bf2;}}['_getRevisionsRange'](_0x57450f,_0x3bd149,_0xbda735=!0x1){const _0x2d24c8=[];let _0x31a4f8=this['repository']['getIndex'](_0x57450f),_0x30359c=this['repository']['getIndex'](_0x3bd149);for(-0x1==_0x30359c&&(_0x30359c=this['repository']['_revisions']['length'],_0xbda735=!0x1);_0x31a4f8<_0x30359c;)_0x2d24c8['push'](this['repository']['getRevision'](_0x31a4f8)),_0x31a4f8++;return _0xbda735&&_0x2d24c8['push'](this['repository']['getRevision'](_0x31a4f8)),_0x2d24c8;}['_threeWayMerge'](_0x4f0cb2,_0x4b42b5,_0x5ec59,_0x57f470){const _0x582fef=this['editor']['model']['schema'];let _0x157bd9=_0x4b42b5;for(;_0x4f0cb2[_0x157bd9]&&_0x4f0cb2[_0x157bd9]['isAdded'];)_0x157bd9++;let _0x4c5a43=_0x57f470;for(;_0x5ec59[_0x4c5a43]&&_0x5ec59[_0x4c5a43]['isRemoved'];)_0x4c5a43++;_0x2a4a93(_0x4f0cb2,_0x4b42b5,_0x157bd9),_0x2a4a93(_0x5ec59,_0x57f470,_0x4c5a43);const _0x414bcd=_0x5ec59['slice'](_0x57f470,_0x4c5a43)['concat'](_0x4f0cb2['slice'](_0x4b42b5,_0x157bd9));return _0x414bcd['sort']((_0x490b46,_0x16e83e)=>_0x490b46['side']!=_0x16e83e['side']?_0x490b46['side']-_0x16e83e['side']:_0x490b46['level']!=_0x16e83e['level']?_0x490b46['level']-_0x16e83e['level']:_0x490b46['distance']!=_0x16e83e['distance']?_0x16e83e['distance']-_0x490b46['distance']:!!_0x490b46['isAdded']!=!!_0x16e83e['isAdded']?-0x1==_0x490b46['side']||0x0==_0x490b46['side']?_0x490b46['isAdded']?-0x1:0x1:_0x490b46['isAdded']?0x1:-0x1:_0x490b46['index']-_0x16e83e['index']),{'commonTape':_0x414bcd,'iEnd':_0x157bd9,'jEnd':_0x4c5a43};function _0x2a4a93(_0x3803b5,_0x40895e,_0x5693bc){let _0x8b70b4=-0x1,_0x33d898=Number['POSITIVE_INFINITY'],_0x335c5f=!0x0;for(let _0xc9cb24=_0x40895e;_0xc9cb24<_0x5693bc;_0xc9cb24++)if(_0x582fef['isInline'](_0x3803b5[_0xc9cb24]['item'])||(_0x335c5f=!0x1),_0x3803b5[_0xc9cb24]['item']['startIndex']<_0x40895e&&(_0x8b70b4=_0xc9cb24),_0x3803b5[_0xc9cb24]['item']['endIndex']>=_0x5693bc){_0x33d898=_0xc9cb24;break;}_0x335c5f&&(_0x8b70b4=_0x5693bc-0x1);for(let _0x3d279d=_0x40895e;_0x3d279d<_0x5693bc;_0x3d279d++)_0x3803b5[_0x3d279d]['side']=_0x3d279d<=_0x8b70b4?-0x1:_0x3d279d<_0x33d898?0x0:0x1,_0x3803b5[_0x3d279d]['index']=_0x3d279d;let _0x39073e=0x0;for(let _0x5a460b=_0x40895e;_0x5a460b<=_0x8b70b4;_0x5a460b++)0x0==_0x3803b5[_0x5a460b]['distance']?_0x3803b5[_0x5a460b]['level']=_0x39073e:(_0x39073e++,_0x3803b5[_0x5a460b]['level']=_0x39073e,_0x39073e++);for(let _0x532955=_0x40895e;_0x532955<_0x5693bc;_0x532955++)0x0==_0x3803b5[_0x532955]['side']&&(_0x3803b5[_0x532955]['level']=_0x39073e);_0x39073e=0x0;for(let _0x56059f=_0x5693bc-0x1;_0x56059f>=_0x33d898;_0x56059f--)0x0==_0x3803b5[_0x56059f]['distance']?_0x3803b5[_0x56059f]['level']=_0x39073e:(_0x39073e--,_0x3803b5[_0x56059f]['level']=_0x39073e,_0x39073e--);}}['_fixObsoleteTags'](_0x5a5288){const _0x3473ba=new Map(),_0x453a1d=this['editor']['model']['schema'];for(let _0x2fc049=0x1;_0x2fc049<_0x5a5288['length'];_0x2fc049++){let _0x20ea38,_0x47398c,_0xb7eef6;const _0x294894=_0x5a5288[_0x2fc049],_0x403945=_0x5a5288[_0x2fc049-0x1];if('text'==_0x294894['type'])continue;if(_0x294894['type']!=_0x403945['type'])continue;if(!_0x453a1d['isBlock'](_0x403945['item'])||_0x453a1d['isLimit'](_0x403945['item']))continue;if(!_0x453a1d['isBlock'](_0x294894['item'])||_0x453a1d['isLimit'](_0x294894['item']))continue;if((_0x5a5288[_0x2fc049]['isAdded']||_0x5a5288[_0x2fc049]['isAddSuggestion'])&&_0x5a5288[_0x2fc049-0x1]['isRemoved'])_0x20ea38=_0x5a5288[_0x2fc049],_0x47398c=_0x5a5288[_0x2fc049-0x1],_0xb7eef6=_0x2fc049-0x1;else{if(!_0x5a5288[_0x2fc049]['isRemoved']||!_0x5a5288[_0x2fc049-0x1]['isAdded']&&!_0x5a5288[_0x2fc049-0x1]['isAddSuggestion'])continue;_0x20ea38=_0x5a5288[_0x2fc049-0x1],_0x47398c=_0x5a5288[_0x2fc049],_0xb7eef6=_0x2fc049;}const _0xc64268=_0x20ea38['level']==_0x47398c['level'],_0x28197f=Math['abs'](_0x20ea38['level'])<Math['abs'](_0x47398c['level'])&&0x0==_0x47398c['distance'];(_0xc64268||_0x28197f)&&(_0x3473ba['set'](_0x47398c['id'],_0x20ea38['id']),_0x5a5288['splice'](_0xb7eef6,0x1),_0x2fc049--,_0x20ea38['isAdded']=!0x1);}for(let _0x452d7f=0x0;_0x452d7f<_0x5a5288['length'];_0x452d7f++)_0x3473ba['has'](_0x5a5288[_0x452d7f]['pairId'])&&(_0x5a5288[_0x452d7f]['pairId']=_0x3473ba['get'](_0x5a5288[_0x452d7f]['pairId']));}['_removeMissingPairs'](_0x5905fc){const _0x21d1ac=new Set(_0x5905fc['map'](_0xbd7c56=>_0xbd7c56['id']));for(let _0x8e1ec=0x0;_0x8e1ec<_0x5905fc['length'];_0x8e1ec++)_0x21d1ac['has'](_0x5905fc[_0x8e1ec]['pairId'])||0x0==_0x5905fc[_0x8e1ec]['distance']||(_0x5905fc[_0x8e1ec]['isIncorrect']=!0x0);return _0x5905fc['filter'](_0x186d20=>!_0x186d20['isIncorrect']);}['_markMismatchedRemovedTags'](_0x601722){const _0x426e22=new Set();for(let _0x1310c1=0x0;_0x1310c1<_0x601722['length'];_0x1310c1++){if(_0x426e22['has'](_0x601722[_0x1310c1]['id'])&&_0x601722[_0x1310c1]['isRemoved']&&(_0x601722[_0x1310c1]['isIncorrect']=!0x0),_0x601722[_0x1310c1]['isIncorrect'])continue;if(0x0==_0x601722[_0x1310c1]['distance'])continue;if('elementStart'!=_0x601722[_0x1310c1]['type'])continue;if(null==_0x601722[_0x1310c1]['pairId'])continue;let _0x5f102c=_0x1310c1+0x1,_0x2c22ad=0x0;for(;_0x601722[_0x5f102c]['id']!=_0x601722[_0x1310c1]['pairId'];)'elementStart'==_0x601722[_0x5f102c]['type']?_0x2c22ad++:'elementEnd'==_0x601722[_0x5f102c]['type']&&_0x2c22ad--,_0x5f102c++;if(0x0!=_0x2c22ad){if(_0x601722[_0x1310c1]['isRemoved'])_0x601722[_0x1310c1]['isIncorrect']=!0x0;else{for(;_0x5f102c!=_0x1310c1;)_0x601722[_0x5f102c]['isRemoved']&&0x0!=_0x601722[_0x5f102c]['distance']&&(_0x601722[_0x5f102c]['isIncorrect']=!0x0,_0x426e22['add'](_0x601722[_0x5f102c]['pairId'])),_0x5f102c--;}}}return _0x601722['filter'](_0x429b3b=>!_0x429b3b['isIncorrect']);}['_removeUnsupportedChanges'](_0x36798e){const _0x3dd846=this['editor']['model']['schema'];for(let _0x104da7=0x0;_0x104da7<_0x36798e['length'];_0x104da7++){if(!(_0x36798e[_0x104da7]['isAdded']||_0x36798e[_0x104da7]['isAddSuggestion']||_0x36798e[_0x104da7]['isRemoved']||_0x36798e[_0x104da7]['isRemoveSuggestion']))continue;if(0x0==_0x36798e[_0x104da7]['distance'])continue;const _0x11ae05=_0x36798e[_0x104da7]['item'];_0x3dd846['isBlock'](_0x11ae05)||_0x3dd846['isLimit'](_0x11ae05)||(_0x36798e[_0x104da7]['isAdded']&&delete _0x36798e[_0x104da7]['isAdded'],_0x36798e[_0x104da7]['isAddSuggestion']&&delete _0x36798e[_0x104da7]['isAddSuggestion'],_0x36798e[_0x104da7]['isRemoveSuggestion']&&delete _0x36798e[_0x104da7]['isRemoveSuggestion'],_0x36798e[_0x104da7]['isRemoved']&&(_0x36798e[_0x104da7]['isIncorrect']=!0x0));}return _0x36798e['filter'](_0x5c61b5=>!_0x5c61b5['isIncorrect']);}['_makeModelFromTape'](_0x4a6316,_0x55cc7b,_0x1d1331){const _0xaa58a9=new _t(),_0x191eb0=[],_0x41ca68=new Map(),_0x57b569=this['editor']['model'],_0x2666d6=_0x57b569['schema'],_0x2c28ff=[_0xaa58a9],_0x2bc76c={},_0x34c4ee={'isAdded':[],'isRemoved':[],'isAddSuggestion':[],'isRemoveSuggestion':[]};let _0x2db5f1=null;const _0x260cb8=[0x0];for(let _0x3286bc=0x0;_0x3286bc<_0x4a6316['length'];_0x3286bc++){let _0x1bedee,_0x48157b;if('elementStart'===_0x4a6316[_0x3286bc]['type']){_0x1bedee=_0x57b569['createPositionFromPath'](_0xaa58a9,_0x260cb8);const _0x279f73=new ft(_0x4a6316[_0x3286bc]['item']['name'],_0x4a6316[_0x3286bc]['item']['getAttributes']());_0x2c28ff[0x0]['_appendChild'](_0x279f73),_0x260cb8['push'](0x0),_0x2c28ff['unshift'](_0x279f73),_0x48157b=_0x57b569['createPositionFromPath'](_0xaa58a9,_0x260cb8),_0x2db5f1=null;}else{if('elementEnd'===_0x4a6316[_0x3286bc]['type'])_0x2c28ff['shift'](),_0x1bedee=_0x57b569['createPositionFromPath'](_0xaa58a9,_0x260cb8),_0x260cb8['pop'](),_0x260cb8[_0x260cb8['length']-0x1]++,_0x48157b=_0x57b569['createPositionFromPath'](_0xaa58a9,_0x260cb8),_0x2db5f1=null;else{if(_0x1bedee=_0x57b569['createPositionFromPath'](_0xaa58a9,_0x260cb8),_0x2db5f1&&_0x9b0434(_0x2db5f1,_0x4a6316[_0x3286bc]['item']))_0x2db5f1['_data']+=_0x4a6316[_0x3286bc]['item']['data'];else{const _0x9ab634=new yt(_0x4a6316[_0x3286bc]['item']['data'],_0x4a6316[_0x3286bc]['item']['getAttributes']());_0x2c28ff[0x0]['_appendChild'](_0x9ab634),_0x2db5f1=_0x9ab634;}_0x260cb8[_0x260cb8['length']-0x1]+=_0x4a6316[_0x3286bc]['item']['offsetSize'],_0x48157b=_0x57b569['createPositionFromPath'](_0xaa58a9,_0x260cb8);}}for(const _0x2507ff of _0x4a6316[_0x3286bc]['markersStart'])_0x41ca68['set'](_0x2507ff,{'start':_0x1bedee,'end':null});_0x137457('isRemoveSuggestion',_0x3286bc,_0x1bedee,_0x48157b),_0x137457('isAddSuggestion',_0x3286bc,_0x1bedee,_0x48157b),_0x137457('isRemoved',_0x3286bc,_0x1bedee,_0x48157b),_0x137457('isAdded',_0x3286bc,_0x1bedee,_0x48157b);for(const _0x1f6698 of _0x4a6316[_0x3286bc]['markersEnd']){_0x41ca68['get'](_0x1f6698)['end']=_0x48157b;}}for(const [_0x1fac83,_0x429fc1]of _0x41ca68){const _0x2c2d22=this['editor']['model']['createRange'](_0x429fc1['start'],_0x429fc1['end']);_0xaa58a9['markers']['set'](_0x1fac83,_0x2c2d22);}return _0x191eb0['sort']((_0x3609ec,_0x3396f1)=>{const _0x3c2ac8=_0xaa58a9['markers']['get']('revision:'+_0x3609ec['id']),_0x54b4d3=_0xaa58a9['markers']['get']('revision:'+_0x3396f1['id']);return _0x3c2ac8['start']['isBefore'](_0x54b4d3['start'])?-0x1:_0x3c2ac8['start']['isAfter'](_0x54b4d3['start'])?0x1:_0x3c2ac8['end']['isBefore'](_0x54b4d3['end'])?-0x1:_0x3c2ac8['end']['isAfter'](_0x54b4d3['end'])?0x1:'add'===_0x3609ec['type']?-0x1:0x1;}),{'root':_0xaa58a9,'changes':_0x191eb0};function _0x137457(_0x270055,_0x3c3654,_0x8f6743,_0x2b6277){const _0x1c8b6e=!!_0x4a6316[_0x3c3654][_0x270055],_0x231907=_0x1c8b6e?_0x4a6316[_0x3c3654][_0x270055]['userId']:null,_0x42015b=_0x3c3654===_0x4a6316['length']-0x1,_0x4aa120=_0x34c4ee[_0x270055][0x0],_0x2695e0=_0x2666d6['isObject'](_0x4a6316[_0x3c3654]['item']);!_0x2bc76c[_0x270055]&&_0x1c8b6e?_0x2bc76c[_0x270055]={'start':_0x8f6743,'tapeItem':_0x4a6316[_0x3c3654],'userId':_0x231907,'type':_0x270055}:_0x2bc76c[_0x270055]&&!_0x1c8b6e?(_0x2bc76c[_0x270055]['end']=_0x8f6743,_0x485731(_0x2bc76c[_0x270055]),_0x2bc76c[_0x270055]=null):_0x2bc76c[_0x270055]&&_0x1c8b6e&&_0x2bc76c[_0x270055]['userId']!==_0x231907&&(_0x2bc76c[_0x270055]['end']=_0x8f6743,_0x4aa120&&_0x4aa120['userId']===_0x2bc76c[_0x270055]['userId']||_0x485731(_0x2bc76c[_0x270055]),_0x2bc76c[_0x270055]={'start':_0x8f6743,'tapeItem':_0x4a6316[_0x3c3654],'userId':_0x231907,'type':_0x270055}),_0x2bc76c[_0x270055]&&_0x2695e0&&('elementStart'!==_0x4a6316[_0x3c3654]['type']||_0x4aa120&&_0x4aa120['userId']===_0x231907||_0x34c4ee[_0x270055]['unshift']({'userId':_0x231907,'object':_0x4a6316[_0x3c3654]['item'],'change':_0x2bc76c[_0x270055]}),'elementEnd'===_0x4a6316[_0x3c3654]['type']&&_0x4aa120&&_0x4aa120['object']===_0x4a6316[_0x3c3654]['item']&&(_0x34c4ee[_0x270055]['shift'](),_0x2bc76c[_0x270055]=_0x4aa120['change'])),_0x2bc76c[_0x270055]&&_0x42015b&&(_0x2bc76c[_0x270055]['end']=_0x2b6277,_0x485731(_0x2bc76c[_0x270055]),_0x2bc76c[_0x270055]=null);}function _0x485731({start:_0x4caa1f,end:_0x335597,tapeItem:_0x2758a6,userId:_0xa65a11,type:_0x5c7bf3}){const _0x370ead=_0x2758a6['item'],_0x5e1a76=_0x57b569['schema']['isBlock'](_0x370ead)&&!_0x57b569['schema']['isLimit'](_0x370ead),_0x82d93d=_0x4caa1f['nodeAfter']==_0x335597['parent']&&_0x335597['isAtStart'];if(_0x5e1a76&&_0x82d93d)return;const _0x18ab95=_0x57b569['createRange'](_0x4caa1f,_0x335597),_0x364bef=_0x55cc7b['get'](_0xa65a11),_0x1a1eb3=new r({'author':_0x364bef,'type':'isAdded'==_0x5c7bf3||'isAddSuggestion'==_0x5c7bf3?'add':'remove','data':{'isSuggestion':'isAddSuggestion'==_0x5c7bf3||'isRemoveSuggestion'==_0x5c7bf3},'createdAt':new Date(),'rootName':_0x1d1331});_0x191eb0['push'](_0x1a1eb3),_0xaa58a9['markers']['set']('revision:'+_0x1a1eb3['id'],_0x18ab95);}function _0x9b0434(_0x2346bf,_0x222c7b){const _0x101251=_0x2346bf['getAttributes'](),_0xf5db09=_0x222c7b['getAttributes']();for(const _0x59831a of _0x101251){if(_0x59831a[0x1]!==_0x222c7b['getAttribute'](_0x59831a[0x0]))return!0x1;_0xf5db09['next']();}return _0xf5db09['next']()['done'];}}['_setConversion'](){this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'revision'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision','view':_0x4aa792=>{const _0x385b6f=_0x4aa792['markerName']['split'](':')[0x1],_0x57b49b=this['_getChangeFromId'](_0x385b6f);if(!_0x57b49b)return null;const _0x3058e5='add'==_0x57b49b['type']?'insertion':'deletion',_0x522efc=['ck-suggestion-marker','ck-suggestion-marker-'+_0x3058e5];return _0x57b49b['data']['isSuggestion']&&_0x522efc['push']('ck-suggestion-marker-'+_0x3058e5+'-new'),this['activeChange']==_0x57b49b&&_0x522efc['push']('ck-suggestion-marker--active'),{'classes':_0x522efc,'attributes':{'data-change-id':_0x385b6f}};}}),this['editor']['conversion']['for']('upcast')['add'](_0x2657d6=>{_0x2657d6['on']('element:pre',(_0x51c656,_0x3ff4e3,_0x29486b)=>{const _0x47f230=_0x3ff4e3['viewItem']['getChild'](0x0);if(!_0x47f230||!_0x47f230['is']('element','code'))return;if(!_0x29486b['consumable']['consume'](_0x47f230,{'attributes':['vid_start','vid_end']}))return;const _0x13ffd9=_0x3ff4e3['modelRange']['start']['nodeAfter'];_0x29486b['writer']['setAttribute']('vid_start',_0x47f230['getAttribute']('vid_start'),_0x13ffd9),_0x29486b['writer']['setAttribute']('vid_end',_0x47f230['getAttribute']('vid_end'),_0x13ffd9);},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['add'](_0x163518=>{_0x163518['on']('element',(_0x176481,_0x31bc14,_0x45b731)=>{if(!_0x45b731['consumable']['consume'](_0x31bc14['viewItem'],{'attributes':['vid_start','vid_end']}))return;if(_0x31bc14['modelRange']['isCollapsed'])return;const _0x37c1a1=_0x31bc14['modelRange']['start']['nodeAfter'];_0x37c1a1['hasAttribute']('vid_start')||_0x37c1a1['hasAttribute']('vid')||(_0x45b731['writer']['setAttribute']('vid_start',_0x31bc14['viewItem']['getAttribute']('vid_start'),_0x37c1a1),_0x45b731['writer']['setAttribute']('vid_end',_0x31bc14['viewItem']['getAttribute']('vid_end'),_0x37c1a1));},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['elementToAttribute']({'view':{'name':'span','attributes':{'vid':!0x0}},'model':{'key':'vid','value':_0x4228b6=>_0x4228b6['getAttribute']('vid')}}),this['editor']['model']['schema']['on']('checkAttribute',(_0x4241c4,[,_0x52a3bb])=>{['vid_start','vid_end','vid']['includes'](_0x52a3bb)&&(_0x4241c4['return']=!0x0,_0x4241c4['stop']());},{'priority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['add'](_0x3ebcf4=>{_0x3ebcf4['on']('attribute:vid',(_0x2bff12,_0x43a357,_0x4beb52)=>{if('\x20'!=_0x43a357['item']['data']||_0x43a357['item']['parent']['maxOffset']>0x1)return;if(!_0x4beb52['consumable']['consume'](_0x43a357['item'],_0x2bff12['name']))return;const _0x2847c1=_0x4beb52['writer'],_0x6f5082=_0x4beb52['mapper']['toViewRange'](_0x43a357['range']);_0x2847c1['wrap'](_0x6f5082,_0x2847c1['createAttributeElement']('span'));});}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',function(_0x43f412){const _0x3f0718=_0x43f412['plugins']['get']('RevisionViewer');return(_0x22c977,_0x27a362,_0x46ce5e)=>{const _0x4441c5=_0x27a362['markerName']['split'](':')[0x1],_0x412aea=_0x3f0718['_getChangeFromId'](_0x4441c5);if(!_0x412aea)return null;const _0x246eed='add'==_0x412aea['type']?'split':'merge';if(!_0x46ce5e['consumable']['test'](_0x27a362['markerRange'],_0x22c977['name']))return;const _0x4b0627=_0x27a362['markerRange']['getWalker'](),_0x229f46=_0x27a362['markerRange']['start'],_0x55ce77=_0x43f412['model']['schema'];let _0x568f0b=null,_0x2d65ec=null,_0x5c23cb=!0x1,_0x45f800=!0x1;for(const _0x10fdca of _0x4b0627){const _0xe46253=_0x10fdca['item'];_0x5c23cb=_0x5c23cb||_0x55ce77['isContent'](_0xe46253);const _0x668c3a=_0x46ce5e['mapper']['toViewElement'](_0xe46253);if(_0x668c3a&&_0x668c3a['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x10fdca['type']&&(_0x55ce77['isBlock'](_0xe46253)&&!_0x55ce77['isLimit'](_0xe46253)&&(_0xe46253['nextSibling']||_0x229f46['isAtEnd']?_0x568f0b&&_0x568f0b['parent']==_0xe46253||(_0x568f0b=_0xe46253,_0x5f4ea3(_0x10fdca['previousPosition']),_0x45f800=!0x0):_0x2d65ec=_0x2d65ec||_0x10fdca['previousPosition']));}function _0x5f4ea3(_0x54f40b){const _0x2bc133=_0x46ce5e['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x246eed}),_0x2403d0=_0x46ce5e['mapper']['toViewPosition'](_0x54f40b);_0x412aea['data']['isSuggestion']&&_0x46ce5e['writer']['addClass']('ck-suggestion-marker-'+_0x246eed+'-new',_0x2bc133),_0x3f0718['activeChange']==_0x412aea&&_0x46ce5e['writer']['addClass']('ck-suggestion-marker--active',_0x2bc133),_0x46ce5e['writer']['insert'](_0x2403d0,_0x2bc133),_0x46ce5e['mapper']['bindElementToMarker'](_0x2bc133,_0x27a362['markerName']);}_0x5c23cb||_0x45f800||!_0x2d65ec||_0x5f4ea3(_0x2d65ec);};}(this['editor']),{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('removeMarker:revision',(_0x3fef5e,_0x2897b3,_0x2f9b2a)=>{const _0x21c5c9=_0x2f9b2a['mapper']['markerNameToElements'](_0x2897b3['markerName']);if(_0x21c5c9){for(const _0x3df13e of _0x21c5c9)(_0x3df13e['hasClass']('ck-suggestion-marker-split')||_0x3df13e['hasClass']('ck-suggestion-marker-merge'))&&(_0x2f9b2a['mapper']['unbindElementFromMarkerName'](_0x3df13e,_0x2897b3['markerName']),_0x2f9b2a['writer']['remove'](_0x3df13e));}},{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',(_0x173da5,_0xc97b77,_0x1783c5)=>{const _0x429971=_0xc97b77['markerName']['split'](':')[0x1],_0x3c7b7f=this['_getChangeFromId'](_0x429971);if(!_0x3c7b7f)return null;const _0x19ef63='add'==_0x3c7b7f['type']?'split':'merge';if(_0x1783c5['consumable']['test'](_0xc97b77['markerRange'],_0x173da5['name']))for(const _0x4f1c9d of _0xc97b77['markerRange']['getItems']()){if(!_0x4f1c9d['is']('element','softBreak'))continue;const _0x54e9b5=_0x1783c5['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x19ef63}),_0x1f9ca6=_0x1783c5['mapper']['toViewPosition'](this['editor']['model']['createPositionBefore'](_0x4f1c9d));_0x3c7b7f['data']['isSuggestion']&&_0x1783c5['writer']['addClass']('ck-suggestion-marker-'+_0x19ef63+'-new',_0x54e9b5),this['activeChange']==_0x3c7b7f&&_0x1783c5['writer']['addClass']('ck-suggestion-marker--active',_0x54e9b5),_0x1783c5['writer']['insert'](_0x1f9ca6,_0x54e9b5),_0x1783c5['mapper']['bindElementToMarker'](_0x54e9b5,_0xc97b77['markerName']);}},{'priority':'high'}),this['editor']['model']['document']['on']('change',()=>{this['editor']['editing']['view']['change'](_0xc4db47=>{for(const _0x14e7ce of this['editor']['model']['document']['getRootNames']()){const _0x1ed47a=this['editor']['model']['document']['getRoot'](_0x14e7ce),_0x194bfb=this['editor']['editing']['view']['document']['getRoot'](_0x14e7ce);if(_0x194bfb){const _0x5cc2fa=_0x1ed47a['getAttribute']('revisionHistoryAttachChange');if(_0xc4db47['removeAttribute']('data-change-id',_0x194bfb),_0xc4db47['removeClass']('ck-revision-history-root-add',_0x194bfb),_0xc4db47['removeClass']('ck-revision-history-root-remove',_0x194bfb),_0xc4db47['removeClass']('ck-revision-history-root--active',_0x194bfb),_0x5cc2fa){const _0x2f8d3d=this['_getChangeFromId'](_0x5cc2fa);if(!_0x2f8d3d)return null;_0xc4db47['setAttribute']('data-change-id',_0x5cc2fa,_0x194bfb),_0xc4db47['addClass']('ck-revision-history-root-'+_0x2f8d3d['type'],_0x194bfb),this['activeChange']==_0x2f8d3d&&_0xc4db47['addClass']('ck-revision-history-root--active',_0x194bfb);}}}});}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'comment','model':_0x42cccf=>'revision-comment:'+_0x42cccf,'converterPriority':'highest'}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'suggestion','model':_0x580bb8=>'revision-suggestion:'+_0x580bb8,'converterPriority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision-suggestion','view':_0x335a51=>({'name':'suggestion:'+_0x335a51,'group':'revision-suggestion'}),'converterPriority':'highest'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision-suggestion','view':_0x318193=>{const _0x3d8431=_0x318193['markerName']['split'](':')[0x1];return'insertion'!=_0x3d8431&&'deletion'!=_0x3d8431?null:{'classes':['ck-suggestion-preview-marker','ck-suggestion-preview-marker-'+_0x3d8431]};}}),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',(_0xba3773,_0x4e4e8f,_0x993853)=>{const _0x532dc7=_0x993853['mapper']['markerNameToElements'](_0x4e4e8f['markerName']);if(_0x532dc7){for(const _0x3b1b68 of _0x532dc7)_0x3b1b68['is']('uiElement')&&(_0x993853['mapper']['unbindElementFromMarkerName'](_0x3b1b68,_0x4e4e8f['markerName']),_0x993853['writer']['remove'](_0x3b1b68));}},{'priority':'high'});}['_getChangeFromId'](_0x4742e3){return this['_changeIdToChange']['get'](_0x4742e3);}['_getViewForChange'](_0x19465b){return this['_changeView']&&this['_changeView']['destroy'](),this['_changeView']=new Z(this['editor']['locale'],_0x19465b),this['_changeView'];}['_initInteractions'](){this['editor']['model']['document']['selection']['observeMarkers']('revision'),this['on']('change:activeView',(_0x459663,_0x3f68a1,_0x34eea7,_0x288f35)=>{_0x288f35&&this['_balloon']['remove'](_0x288f35),_0x34eea7&&(this['_balloon']['add']({'view':_0x34eea7,'stackId':'revisionHistoryLabel','position':{'target':()=>{const _0x1fe0f1=this['editor']['editing'],_0x12e981=this['_getChangeFromId'](_0x34eea7['changeId']);let _0x34a930;if(_0x12e981['data']['isOnRoot']){const _0x2893a4=_0x1fe0f1['view']['getDomRoot'](_0x12e981['rootName']);_0x34a930=Array['from'](_0x2893a4['getClientRects']());}else{const _0x418994=this['editor']['model']['markers']['get']('revision:'+_0x34eea7['changeId']);_0x34a930=Array['from'](_0x1fe0f1['mapper']['markerNameToElements'](_0x418994['name']))['map'](_0x4cb409=>_0x1fe0f1['view']['domConverter']['mapViewToDom'](_0x4cb409))['map'](_0x402721=>Array['from'](_0x402721['getClientRects']()))['flat']();}if(!this['_activeViewTarget'])return _0x34a930[0x0];return _0x34a930['find'](_0x26a899=>_0x26a899['top']-0x3<=this['_activeViewTarget']['y']&&_0x26a899['bottom']+0x3>=this['_activeViewTarget']['y']&&_0x26a899['left']-0x3<=this['_activeViewTarget']['x']&&_0x26a899['right']+0x3>=this['_activeViewTarget']['x'])||_0x34a930[0x0];}}}),this['_balloon']['showStack']('revisionHistoryLabel'));}),this['on']('change:activeChange',(_0x7c3f7c,_0x50a078,_0x1c485e,_0x12d8f8)=>{this['activeView']=_0x1c485e?this['_getViewForChange'](_0x1c485e):null,this['editor']['model']['change'](()=>{const _0x247820=this['editor']['editing'];_0x12d8f8&&(_0x12d8f8['data']['isOnRoot']?_0x247820['view']['change'](_0x57c0b6=>{_0x57c0b6['removeClass']('ck-revision-history-root--active',_0x247820['view']['document']['getRoot'](_0x12d8f8['rootName']));}):_0x247820['reconvertMarker']('revision:'+_0x12d8f8['id'])),_0x1c485e&&(_0x1c485e['data']['isOnRoot']?_0x247820['view']['change'](_0xca0ef8=>{_0xca0ef8['addClass']('ck-revision-history-root--active',_0x247820['view']['document']['getRoot'](_0x1c485e['rootName']));}):_0x247820['reconvertMarker']('revision:'+_0x1c485e['id']));});}),this['listenTo'](this['editor']['editing']['view']['document'],'mouseover',(_0x11b5fd,_0x402829)=>{if(this['activeChange'])return;const _0x2e66dd=this['_findChangeIdFromDomTarget'](_0x402829['target']),_0x247370=this['_changeIdToChange']['get'](_0x2e66dd);_0x247370?(this['_activeViewTarget']={'x':_0x402829['domEvent']['x'],'y':_0x402829['domEvent']['y']},this['activeView']=this['_getViewForChange'](_0x247370)):(this['_activeViewTarget']=null,this['activeView']=null);}),this['listenTo'](this['editor']['editing']['view']['document'],'mousedown',(_0x2388d7,_0x562047)=>{const _0x3bd65c=this['_findChangeIdFromDomTarget'](_0x562047['target']),_0x1065ce=this['_changeIdToChange']['get'](_0x3bd65c);_0x1065ce?(this['_activeViewTarget']={'x':_0x562047['domEvent']['x'],'y':_0x562047['domEvent']['y']},_0x1065ce===this['activeChange']?this['_balloon']['updatePosition']():this['activeChange']=_0x1065ce):(this['_activeViewTarget']=null,this['activeChange']=null);});}['_findChangeIdFromDomTarget'](_0x1f76ba){do{const _0x4c179b=_0x1f76ba['getAttribute']('data-change-id');if(_0x4c179b)return _0x4c179b;_0x1f76ba=_0x1f76ba['parent'];}while(_0x1f76ba);return null;}['_cleanMarkers'](){this['editor']['model']['change'](_0x24a71f=>{for(const _0x19fe22 of this['editor']['model']['markers'])_0x24a71f['removeMarker'](_0x19fe22);});}constructor(_0x423b48){super(_0x423b48),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',(_0x110678,_0x2e81e2,_0xfa552)=>{this['activeChange']=null,this['activeView']=null,this['editor']['editing']['view']['change'](_0x21b21b=>{for(const _0x69d352 of this['editor']['editing']['view']['document']['roots'])_0xfa552?_0x21b21b['removeClass']('ck-editor__editable__overlay',_0x69d352):_0x21b21b['addClass']('ck-editor__editable__overlay',_0x69d352);});}),this['bind']('isNavigationMode')['to'](this,'activeChange',_0x5e1035=>null!==_0x5e1035),this['bind']('currentChangeNumber')['to'](this,'isReady',this,'diff',this,'activeChange',(_0x543258,_0x50e610,_0x4c6f26)=>_0x543258&&_0x4c6f26?_0x50e610['changes']['getIndex'](_0x4c6f26):0x0),this['bind']('numberOfChanges')['to'](this,'isReady',this,'diff',(_0x269b5e,_0x5a2294)=>_0x269b5e?_0x5a2294['changes']['length']:0x0),this['_changeView']=null,this['_changeIdToChange']=new Map(),this['adapter']=null,this['_balloon']=this['editor']['plugins']['get'](_0xb14f3f);}}function et(_0x2f8d42,_0x5b5caa){return(_0x5954c9,_0x102656,_0x4ca7ba)=>{if(!_0x4ca7ba['consumable']['test'](_0x102656['markerRange'],_0x5954c9['name']))return;const _0x13878f=_0x102656['markerRange']['getWalker'](),_0x4143dd=_0x102656['markerRange']['start'],_0x425de=_0x2f8d42['model']['schema'];let _0x2b44d2=null,_0x31226c=null,_0x254eaa=!0x1,_0x936570=!0x1;for(const _0x507b07 of _0x13878f){const _0x112175=_0x507b07['item'];_0x254eaa=_0x254eaa||_0x425de['isContent'](_0x112175);const _0x5a4b8b=_0x4ca7ba['mapper']['toViewElement'](_0x112175);if(_0x5a4b8b&&_0x5a4b8b['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x507b07['type']&&(_0x425de['isBlock'](_0x112175)&&!_0x425de['isLimit'](_0x112175)&&(_0x112175['nextSibling']||_0x4143dd['isAtEnd']?_0x2b44d2&&_0x2b44d2['parent']==_0x112175||(_0x2b44d2=_0x112175,_0x4faf90(_0x507b07['previousPosition']),_0x936570=!0x0):_0x31226c=_0x31226c||_0x507b07['previousPosition']));}function _0x4faf90(_0xd60fa4){const _0x1181a3=_0x4ca7ba['mapper']['toViewPosition'](_0xd60fa4),_0x5141c9=_0x4ca7ba['writer']['createUIElement']('span',{'class':'ck-suggestion-preview-marker-'+_0x5b5caa});_0x4ca7ba['writer']['insert'](_0x1181a3,_0x5141c9),_0x4ca7ba['mapper']['bindElementToMarker'](_0x5141c9,_0x102656['markerName']);}_0x254eaa||_0x936570||!_0x31226c||_0x4faf90(_0x31226c);};}class bt extends _0xcc4e5e{['execute'](){const _0x45f1bf=this['editor'],_0x154b3a=_0x45f1bf['plugins']['get'](d),_0x219be6=_0x154b3a['isReady']?_0x154b3a['diff']['newRevisionId']:null;_0x45f1bf['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x219be6);}['refresh'](){const {isReady:_0x27eb96,isEnabled:_0x5aadb8}=this['editor']['plugins']['get'](d);this['isEnabled']=_0x27eb96&&_0x5aadb8;}constructor(_0x12e943){super(_0x12e943);const _0x293e20=_0x12e943['plugins']['get'](d);this['affectsData']=!0x1,this['listenTo'](_0x293e20,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x293e20,'change:isEnabled',()=>this['refresh']());}}class Rt extends _0xcc4e5e{['execute'](){const _0x11ae40=this['editor'],_0x3f7f45=_0x11ae40['plugins']['get'](d),{isNavigationMode:_0x4f1528,currentChangeNumber:_0x237762}=_0x3f7f45;let _0x5d4318;if(_0x3f7f45['activeChange']=_0x4f1528?_0x3f7f45['diff']['changes']['get'](_0x237762+this['_step']):_0x3f7f45['diff']['changes']['first'],_0x3f7f45['activeChange']['data']['isOnRoot'])_0x5d4318=_0x11ae40['editing']['view']['getDomRoot'](_0x3f7f45['activeChange']['rootName']);else{const _0x8c5097=_0x11ae40['model']['markers']['get']('revision:'+_0x3f7f45['activeChange']['id']);_0x5d4318=_0x3e03f6(_0x11ae40['editing'],_0x8c5097);}_0x80e602({'target':_0x5d4318,'viewportOffset':0x28});}['refresh'](){const {isNavigationMode:_0x42e256,currentChangeNumber:_0x9503f2,numberOfChanges:_0x1e6bca,isReady:_0x45c110,isEnabled:_0x5db860}=this['editor']['plugins']['get'](d);this['isEnabled']=!!(_0x5db860&&_0x45c110&&_0x1e6bca)&&(!_0x42e256||(0x1===this['_step']?_0x9503f2<_0x1e6bca-0x1:_0x9503f2>0x0));}constructor(_0x5a2b45,{direction:_0xf6dfa6}){super(_0x5a2b45);const _0x516901=_0x5a2b45['plugins']['get'](d);this['affectsData']=!0x1,this['_step']='forward'===_0xf6dfa6?0x1:-0x1,this['listenTo'](_0x516901,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x516901,'change:isEnabled',()=>this['refresh']()),this['listenTo'](_0x516901,'change:activeChange',()=>this['refresh']());}}class _i extends _0xc1e55f{constructor(_0xf56ec2){super(_0xf56ec2);const _0x4b8588=this['bindTemplate'],_0x5499e4=new _0x471fbe(_0xf56ec2),_0x10ddbd=new _0x471fbe(_0xf56ec2);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',(_0x23193f,_0x558dbe)=>_0x23193f&&_0x558dbe>0x0),this['bind']('_statusText')['to'](this,'isReady',this,'currentChangeNumber',this,'numberOfChanges',this,'isNavigationMode',(_0x1864df,_0x2db910,_0x5498be,_0x1fa233)=>{if(!_0x1864df)return y(_0xf56ec2,'Loading...');if(!_0x5498be)return y(_0xf56ec2,'No\x20changes');const _0x59d0b0=y(_0xf56ec2,'NUMBER_OF_CHANGES',_0x5498be);return _0x1fa233?y(_0xf56ec2,'X_OF_Y_CHANGES',[_0x2db910+0x1,_0x5498be]):_0x59d0b0;}),_0x5499e4['set']({'label':y(_0xf56ec2,'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'}),_0x10ddbd['set']({'label':y(_0xf56ec2,'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'}),_0x5499e4['bind']('isEnabled')['to'](this,'isBackwardNavigationEnabled'),_0x10ddbd['bind']('isEnabled')['to'](this,'isForwardNavigationEnabled'),_0x5499e4['on']('execute',()=>this['fire']('execute','backward')),_0x10ddbd['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',_0x4b8588['if']('_isStatusLabelVisible','ck-hidden',_0x1b11b5=>!_0x1b11b5)]},'children':[{'text':_0x4b8588['to']('isNavigationMode',_0x5ae007=>_0x5ae007?y(_0xf56ec2,'EDIT_X_OF_Y_REVISIONS')+':\x20':y(_0xf56ec2,'Total')+':\x20')}]},{'text':_0x4b8588['to']('_statusText')}]},new _0x16b4f5(),{'tag':'div','attributes':{'class':['ck-revision-history-ui__changes-navigation__navigation']},'children':[_0x5499e4,_0x10ddbd]}]});}}const ce='ck-editor__editable__loading-overlay';class de extends _0x527fb6{static get['pluginName'](){return'RevisionViewerLoadingOverlay';}['show'](){const _0x33525e=this['editor']['editing']['view'];_0x33525e['change'](_0x30f900=>{for(const _0xd64291 of _0x33525e['document']['roots'])_0x30f900['addClass'](ce,_0xd64291);});}['hide'](){const _0xe6490b=this['editor']['editing']['view'];_0xe6490b['change'](_0x99541a=>{for(const _0x8d7d51 of _0xe6490b['document']['roots'])_0x99541a['removeClass'](ce,_0x8d7d51);});}}class R extends _0x527fb6{static get['pluginName'](){return'RevisionViewerUI';}static get['requires'](){return[d,de];}['init'](){const _0x1ec7e6=this['editor'],_0x1443c2=_0x1ec7e6['plugins']['get'](d),_0x28108a=_0x1ec7e6['plugins']['get'](de);_0x1ec7e6['ui']['componentFactory']['add']('exitToEditing',_0x46bda9=>{const _0x2bb0e7=new _0x471fbe(_0x46bda9);return _0x2bb0e7['set']({'label':y(_0x46bda9,'Back\x20to\x20editing'),'icon':_0x27bd18['undo'],'withText':!0x0,'tooltip':!0x0,'class':'ck-revision-history-ui__back-to-editing'}),this['listenTo'](_0x2bb0e7,'execute',()=>{_0x1ec7e6['config']['get']('revisionHistory')['closeRevisionViewerCallback']();}),_0x2bb0e7;}),_0x1ec7e6['ui']['componentFactory']['add']('restoreRevision',_0x4c3005=>{const _0xc08580=new _0x471fbe(_0x4c3005);return _0xc08580['set']({'label':y(_0x4c3005,'Restore\x20this\x20revision'),'withText':!0x0,'tooltip':!0x0}),_0xc08580['bind']('isEnabled')['to'](_0x1ec7e6['commands']['get']('restoreRevision')),this['listenTo'](_0xc08580,'execute',()=>_0x1ec7e6['execute']('restoreRevision')),_0xc08580;}),_0x1ec7e6['ui']['componentFactory']['add']('changesNavigation',_0x5ef64e=>{const _0x38c7fe=new _i(_0x5ef64e),_0x22d3a8=_0x1ec7e6['commands']['get']('showPreviousChange'),_0x51d425=_0x1ec7e6['commands']['get']('showNextChange');return _0x38c7fe['bind']('isBackwardNavigationEnabled')['to'](_0x22d3a8,'isEnabled'),_0x38c7fe['bind']('isForwardNavigationEnabled')['to'](_0x51d425,'isEnabled'),_0x38c7fe['bind']('isReady','currentChangeNumber','numberOfChanges','isNavigationMode')['to'](_0x1443c2),this['listenTo'](_0x38c7fe,'execute',(_0x358460,_0x5b636d)=>{_0x1ec7e6['execute']('forward'===_0x5b636d?'showNextChange':'showPreviousChange');}),_0x38c7fe;}),_0x28108a['show'](),_0x1443c2['on']('change:isReady',(_0x9000d9,_0x10ed83,_0x1c6cb5)=>{_0x1c6cb5?_0x28108a['hide']():_0x28108a['show']();});}}class vt extends mt{['render'](){super['render'](),this['_resizeObserver']=new kt(this['fieldView']['element'],()=>this['_updateTooltipText']()),this['listenTo'](this['fieldView'],'input',()=>this['_updateTooltipText']());}['destroy'](){super['destroy'](),this['_resizeObserver']&&this['_resizeObserver']['destroy']();}['_updateTooltipText'](){const _0x1c9a6b=this['fieldView']['element'];this['_tooltipString']=_0x1c9a6b['scrollWidth']>_0x1c9a6b['clientWidth']&&_0x1c9a6b['value']||'';}constructor(_0xe2d261,_0x141a33){super(_0xe2d261,_0x141a33),this['_resizeObserver']=null;const _0x14ea30=this['bindTemplate'];this['set']({'label':y(_0xe2d261,'Revision\x20name'),'_tooltipString':''}),this['fieldView']['placeholder']=y(_0xe2d261,'Enter\x20the\x20revision\x20name'),this['extendTemplate']({'tag':'span','attributes':{'class':['ck-revision-history-sidebar__revision-name'],'data-cke-tooltip-text':_0x14ea30['to']('_tooltipString'),'data-cke-tooltip-position':'s','data-cke-tooltip-class':'ck-tooltip_multi-line'}});}}class ti extends _0xc1e55f{constructor(_0x1cffb3,_0x4b792b,_0x422edf){super(_0x1cffb3);const _0x3f0c64=new _0x4fa6cb();_0x3f0c64['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 _0x56515f=['ck','ck-revision-history-sidebar__revision-author'];_0x422edf&&_0x56515f['push']('ck-revision-history-sidebar__revision-author_creator');const _0x320865=[{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__revision-author__name'],'title':y(_0x1cffb3,_0x422edf?'Revision\x20creator':'Revision\x20author')},'children':[_0x3f0c64,_0x4b792b['name']]}];this['setTemplate']({'tag':'li','attributes':{'class':_0x56515f},'children':_0x320865});}}function ni(_0x2e97c5,_0x4a44b9){const _0x4e19f9=_0x2e97c5['bindTemplate'],_0x99ab7d=_0x2e97c5['locale'],_0xc52b7d=_0x1fd32b(_0x99ab7d);_0xc52b7d['panelPosition']='sw';const _0x3e5c38=function(_0x571e84,_0x30d5c4){const _0x45a1be=function(_0x33cf3e,_0xc9849d){const _0x3aaf9a=_0x33cf3e['locale'],_0x4e8e13={'Compare\x20against\x20selected':y(_0x3aaf9a,'Compare\x20against\x20selected'),'Name\x20this\x20revision':y(_0x3aaf9a,'Name\x20this\x20revision'),'Restore\x20this\x20revision':y(_0x3aaf9a,'Restore\x20this\x20revision')};return _0xc9849d['map'](_0x1d364e=>{const _0x4caada=_0x4e8e13[_0x1d364e['name']];return _0x4caada&&_0x4caada!==_0x1d364e['name']&&(_0x1d364e['name']=_0x4caada),_0x1d364e;});}(_0x571e84,_0x30d5c4),_0x4c5624=new _0x116d4f();for(const _0x249291 of _0x45a1be){const _0x21fa89={'type':'button','model':new to({'label':_0x249291['name'],'class':_0x249291['class'],'withText':!0x0,'_action':_0x249291['action']})};_0x21fa89['model']['bind']('isEnabled')['to'](_0x571e84,'isActionsDropdownOpen',_0x484939=>'function'!=typeof _0x249291['isEnabled']||(!_0x484939||_0x249291['isEnabled'](_0x571e84))),_0x4c5624['add'](_0x21fa89);}return _0x4c5624;}(_0x2e97c5,_0x4a44b9);return _0x2e97c5['bind']('isActionsDropdownOpen')['to'](_0xc52b7d,'isOpen'),_0xc52b7d['buttonView']['set']({'label':y(_0x99ab7d,'Show\x20more\x20items'),'tooltip':!0x0,'tooltipPosition':'sw','icon':_0x27bd18['threeVerticalDots']}),_0xc52b7d['extendTemplate']({'attributes':{'class':['ck-revision-history-sidebar__revision__actions',_0x4e19f9['if']('isActionsDropdownOpen','ck-on')]},'on':{'click':_0x4e19f9['to'](_0xbb1786=>_0xbb1786['stopPropagation']())}}),_0xc52b7d['on']('execute',_0x3916ab=>{_0x2e97c5['isReady']&&'function'==typeof _0x3916ab['source']['_action']&&_0x3916ab['source']['_action'](_0x2e97c5);}),_0x533dd4(_0xc52b7d,_0x3e5c38),_0xc52b7d['listenTo'](_0x2e97c5,'change:isActionsDropdownOpen',(_0x9f7a4a,_0x404fac,_0x2262f1)=>{if(_0x2262f1)for(const _0x1da981 of _0xc52b7d['listView']['items']){const _0x2600c9=_0x1da981['children']['first'],_0x15b8bb=_0x4a44b9['find'](_0xbceae9=>_0xbceae9['action']===_0x2600c9['_action'])['isVisible'];_0x1da981['isVisible']=void 0x0===_0x15b8bb||_0x15b8bb(_0x2e97c5);}}),_0xc52b7d;}class ai extends _0x36bdb7(_0xc1e55f){['render'](){super['render']();const _0x9811d4=this['revisionNameView']['fieldView']['element'];this['listenTo'](_0x9811d4,'change',()=>{this['_requireRevisionName']&&!_0x9811d4['value']||this['fire']('setName',{'id':this['id'],'name':_0x9811d4['value']}),_0x9811d4['value']||(_0x9811d4['value']=this['name']?this['name']:this['_createdAtFormatted']);});}['select'](){this['isSelected']=!0x0;}['deselect'](){this['isSelected']=!0x1;}['highlight'](){this['isHighlighted']=!0x0;}['unhighlight'](){this['isHighlighted']=!0x1;}constructor(_0x258721,_0x3120a2,_0x5d5552,_0x10946f){super(_0x258721);const _0x1c8518=this['bindTemplate'],_0x3abe9c=function(_0x142a50,_0x430d95){const _0x37541a=Array['from'](_0x430d95['authors'])['filter'](_0x27b300=>_0x27b300!=_0x430d95['creator']);return _0x430d95['creator']&&_0x37541a['unshift'](_0x430d95['creator']),_0x37541a['map'](_0x45d3d0=>new ti(_0x142a50,_0x45d3d0,_0x45d3d0==_0x430d95['creator']));}(_0x258721,_0x3120a2);this['id']=_0x3120a2['id'],this['_revision']=_0x3120a2,this['_requireRevisionName']=_0x10946f,this['bind']('name','createdAt')['to'](_0x3120a2),this['bind']('_createdAtFormatted')['to'](this,'createdAt',_0x2f5d78=>{return _0x29ae2b=_0x258721['uiLanguage'],(_0x2ebdee=_0x2f5d78)['toLocaleDateString'](_0x29ae2b,{'month':'long','day':'numeric'})+',\x20'+_0x2ebdee['toLocaleTimeString'](_0x29ae2b,{'hour':'numeric','minute':'numeric'});var _0x29ae2b,_0x2ebdee;}),this['set']('isSelected',!0x1),this['set']('isHighlighted',!0x1),this['set']('isActionsDropdownOpen',!0x1),this['set']('isReady',!0x1),this['set']('isEnabled',!0x1),this['revisionNameView']=new vt(_0x258721,_0x38b90f),this['revisionNameView']['fieldView']['extendTemplate']({'attributes':{'maxlength':'220'}}),this['revisionNameView']['fieldView']['bind']('value')['to'](this,'name',_0x416270=>_0x416270||this['_createdAtFormatted']),this['revisionNameView']['bind']('isEnabled')['to'](this,'isSelected',this,'isEnabled',(_0x271b44,_0x25d8f4)=>_0x271b44&&_0x25d8f4),this['revisionActionsView']=_0x5d5552&&_0x5d5552['length']?ni(this,_0x5d5552):'',this['revisionActionsView']&&this['revisionActionsView']['bind']('isEnabled')['to'](this),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision-wrapper',_0x1c8518['if']('isConfirm','ck-revision-history-sidebar__revision-wrapper_confirmation_visible')]},'children':[{'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision',_0x1c8518['if']('isEnabled','ck-disabled',_0x230561=>!_0x230561),_0x1c8518['if']('isSelected','ck-revision-history-sidebar__revision_selected'),_0x1c8518['if']('isHighlighted','ck-revision-history-sidebar__revision_highlighted'),_0x1c8518['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':_0x1c8518['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':_0x3abe9c}]},this['revisionActionsView']],'on':{'click':_0x1c8518['to'](_0x13f068=>{_0x13f068['srcElement']['closest']('.ck-thread__remove-confirm')||this['isReady']&&this['isEnabled']&&this['fire']('select',{'id':this['id']});})}}]});}}function di(_0x56b2aa,_0x4afd1f){const _0x55b38e=_0x2e28c5['fromJSDate'](_0x56b2aa)['setLocale'](_0x4afd1f),_0x54c545=_0x2e28c5['local'](),_0x1697b8=_0x54c545['minus']({'days':0x1})['startOf']('day');let _0x52b3ca,_0x575b6;return _0x55b38e['hasSame'](_0x54c545,'day')?(_0x52b3ca=_0x55b38e['startOf']('day')['toJSDate'](),_0x575b6=_0x55b38e['toRelativeCalendar']()):_0x55b38e['hasSame'](_0x1697b8,'day')?(_0x52b3ca=_0x1697b8['toJSDate'](),_0x575b6=_0x55b38e['toRelativeCalendar']()):_0x55b38e['hasSame'](_0x54c545,'week')?(_0x52b3ca=_0x55b38e['startOf']('week')['toJSDate'](),_0x575b6=_0x55b38e['weekdayLong']||''):_0x55b38e['hasSame'](_0x54c545,'year')?(_0x52b3ca=_0x55b38e['startOf']('month')['toJSDate'](),_0x575b6=_0x55b38e['monthLong']||''):(_0x52b3ca=_0x55b38e['startOf']('year')['toJSDate'](),_0x575b6=String(_0x55b38e['year'])),{'startDate':_0x52b3ca,'localizedPeriodName':_0x575b6};}class mi extends _0xc1e55f{['addRevision'](_0x1a63e9){const _0x33fbe1=new ai(this['locale'],_0x1a63e9,this['_revisionActions'],this['_requireRevisionName']);this['revisionViews']['add'](_0x33fbe1);}['removeRevision'](_0x274115){const _0x24de5b=this['revisionViews']['find'](_0x198623=>_0x198623['id']===_0x274115['id']);this['revisionViews']['remove'](_0x24de5b);}constructor(_0x2060d4,_0x2d9fc1,_0x15f36c,_0x390e70){super(_0x2060d4);const _0x42b467=di(_0x2d9fc1,this['locale']['uiLanguage'])['localizedPeriodName'];this['startDate']=_0x2d9fc1,this['revisionViews']=this['createCollection'](),this['_revisionActions']=_0x15f36c,this['_requireRevisionName']=_0x390e70,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':_0x42b467}]},{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__time-period__revisions']},'children':this['revisionViews']}]});}}class as extends _0xc1e55f{constructor(_0x148100){super(_0x148100);const _0x40bbe4=new _0x4fa6cb();_0x40bbe4['content']=_0x27bd18['history'],this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all','ck-revision-history-sidebar__header']},'children':[_0x40bbe4,{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__header__label']},'children':[y(_0x148100,'Revision\x20history')]}]});}}class ci extends _0xc1e55f{['render'](){super['render']();for(const _0x2eaeac of this['_revisions'])this['_addRevision'](_0x2eaeac);this['_revisions']['on']('add',(_0x3b42ab,_0x4aae3e)=>{this['_addRevision'](_0x4aae3e);}),this['_revisions']['on']('remove',(_0x1154b0,_0x4b6717)=>{this['_removeRevision'](_0x4b6717);});}get['revisionViews'](){return this['timePeriodViews']['map'](_0x44a3b1=>_0x44a3b1['revisionViews']['map'](_0x56a295=>_0x56a295))['flat']();}['selectRevision'](_0x366816){for(const _0x21cfbb of this['revisionViews'])_0x366816&&_0x366816['id']===_0x21cfbb['id']?_0x21cfbb['select']():_0x21cfbb['deselect']();}['highlightRevisions'](_0x203649){for(const _0x141ea6 of this['revisionViews'])_0x203649['some'](({id:_0x4fac78})=>_0x4fac78===_0x141ea6['id'])?_0x141ea6['highlight']():_0x141ea6['unhighlight']();}['_addRevision'](_0x3ea977){const _0x94acab=di(_0x3ea977['createdAt'],this['locale']['uiLanguage'])['startDate'];let _0xdb33f=this['timePeriodViews']['get'](0x0);_0xdb33f&&_0xdb33f['startDate']['getTime']()===_0x94acab['getTime']()||(_0xdb33f=new mi(this['locale'],_0x94acab,this['_revisionActions'],this['_requireRevisionName']),this['timePeriodViews']['add'](_0xdb33f)),_0xdb33f['addRevision'](_0x3ea977);}['_removeRevision'](_0x229e1b){const _0x2af5c3=di(_0x229e1b['createdAt'],this['locale']['uiLanguage'])['startDate'];this['_getTimePeriodViewByStartDate'](_0x2af5c3)['removeRevision'](_0x229e1b);}['_getTimePeriodViewByStartDate'](_0x5f4fa7){return this['timePeriodViews']['find'](_0x5223b9=>_0x5223b9['startDate']['getTime']()===_0x5f4fa7['getTime']());}constructor(_0x90a1a0,_0x4fe014,_0x3f9b9f,_0x5aa582){super(_0x90a1a0);const _0x1dd041=this['bindTemplate'];this['timePeriodViews']=this['createCollection'](),this['timePeriodViews']['delegate']('select')['to'](this),this['timePeriodViews']['delegate']('setName')['to'](this),this['_revisions']=_0x4fe014,this['_revisionActions']=_0x3f9b9f,this['_requireRevisionName']=_0x5aa582,this['on']('select',(_0x45f503,_0x4ba281)=>{this['fire']('revisionSelected',_0x4ba281);}),this['on']('setName',(_0x264785,_0x5eb9be)=>{this['fire']('revisionSetName',_0x5eb9be);}),this['set']('isEnabled',!0x1),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-rounded-corners','ck-revision-history-sidebar']},'children':[new as(_0x90a1a0),{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__timeline',_0x1dd041['if']('isEnabled','ck-disabled',_0x5a7f78=>!_0x5a7f78)]},'children':this['timePeriodViews']}]});}}class w extends _0x527fb6{static get['pluginName'](){return'RevisionsSidebar';}static get['requires'](){return[d];}['init'](){const _0x5d578c=this['_revisionsRepository']['_revisions'],_0x54efa0=this['_createRevisionActions'](),_0x2d5ab8=this['editor']['config']['get']('revisionHistory.viewerSidebarContainer');this['_sidebarView']=new ci(this['editor']['locale'],_0x5d578c,_0x54efa0,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',(_0x227002,_0x400a58)=>{_0x400a58['revisionViews']['on']('add',(_0x26b0c8,_0x464e20)=>{_0x464e20['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)),_0x2d5ab8['appendChild'](this['_sidebarView']['element']);}['destroy'](){this['_sidebarView']['element']['remove'](),this['_sidebarView']['destroy']();}['_handleEditorDataReady'](){const _0x3b9fb6=this['_revisionsRepository']['getRevision'](0x0);if(_0x3b9fb6){const _0x2d29eb=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x3b9fb6['id']);this['_revisionViewer']['compare'](_0x3b9fb6,_0x2d29eb);}}['_handleRevisionSelected'](_0x5a8670,_0x3b626f){const _0xe198f7=this['_revisionsRepository']['getRevision'](_0x3b626f['id']),_0x48d491=this['_revisionsRepository']['getEarlierVisibleRevision'](_0xe198f7['id']);this['_revisionViewer']['compare'](_0xe198f7,_0x48d491);}['_handleRevisionSetName'](_0x46892a,_0x498a7f){this['_revisionsRepository']['getRevision'](_0x498a7f['id'])['setName'](_0x498a7f['name']);}['_handleDiffChange'](_0xf54090,_0x530c69,_0x5a4e43){const _0x4334b9=this['_revisionsRepository']['getRevisionsInDiff'](_0x5a4e43);_0x4334b9['length']>0x2?(this['_sidebarView']['highlightRevisions'](_0x4334b9),this['_sidebarView']['selectRevision'](null)):(this['_sidebarView']['highlightRevisions']([]),this['_sidebarView']['selectRevision'](_0x4334b9[0x0]));}['_createRevisionActions'](){const _0x3dff11=this['editor'],_0x125caa=w['availableRevisionActions'],_0x70db64=_0x3dff11['config']['get']('revisionHistory.revisionActions')||w['defaultRevisionActions'];if(_0x70db64['length'])return _0x70db64['map'](_0x104687=>{const _0x37fc83='string'==typeof _0x104687?Object['assign']({},_0x125caa[_0x104687]):_0x104687;return _0x37fc83['action']=_0x37fc83['action']['bind'](this,_0x3dff11),_0x37fc83['isVisible']&&(_0x37fc83['isVisible']=_0x37fc83['isVisible']['bind'](this,_0x3dff11)),_0x37fc83;});}constructor(_0x9600c5){super(_0x9600c5),this['_revisionViewer']=_0x9600c5['plugins']['get'](d),this['_revisionsRepository']=this['_revisionViewer']['repository'],this['_sidebarView']=null;}}w['availableRevisionActions']={'compareAgainstSelected':{'name':'Compare\x20against\x20selected','action':({plugins:_0x5b5ef9},_0x3c8978)=>{const _0x3c73cb=_0x5b5ef9['get'](d),_0x466d53=_0x3c73cb['repository'];let _0x4d556b=_0x3c73cb['diff']['newRevisionId'],_0x53302c=_0x3c8978['id'];_0x466d53['getIndex'](_0x4d556b)>_0x466d53['getIndex'](_0x53302c)&&([_0x4d556b,_0x53302c]=[_0x53302c,_0x4d556b]),_0x3c73cb['compare'](_0x4d556b,_0x53302c);},'isVisible':({plugins:_0x447945},_0x168e7e)=>{const _0x1f9563=_0x447945['get'](d);return!(_0x1f9563['repository']['getRevisionsInDiff'](_0x1f9563['diff'])['length']>0x2)&&!_0x168e7e['isSelected'];}},'restoreRevision':{'name':'Restore\x20this\x20revision','action':(_0x26735e,{id:_0x1ff051})=>{_0x26735e['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x1ff051);},'isVisible':({plugins:_0x25f986},_0x971e8a)=>!!_0x25f986['get'](d)['repository']['getLaterVisibleRevision'](_0x971e8a['id'])},'nameRevision':{'name':'Name\x20this\x20revision','action':({plugins:_0x5dd5e2},{id:_0x30a22a,revisionNameView:_0x5dc019})=>{const _0x1c2cee=_0x5dd5e2['get'](d),_0x3d0e22=_0x1c2cee['repository']['getEarlierVisibleRevision'](_0x30a22a);_0x1c2cee['compare'](_0x30a22a,_0x3d0e22),_0x5dc019['focus'](),_0x5dc019['fieldView']['select']();}}},w['defaultRevisionActions']=['compareAgainstSelected','restoreRevision','nameRevision'];class ot extends ht{get['view'](){return this['_view'];}get['element'](){return this['view']['element'];}['init'](_0x5e1a8b){const _0x37f7f6=this['editor'],_0x34b079=this['view'],_0x247458=_0x37f7f6['editing']['view'],_0x177284=_0x34b079['editable'],_0x39929f=_0x247458['document']['getRoot']();_0x177284['name']=_0x39929f['rootName'],_0x34b079['render']();const _0x43c959=_0x177284['element'];this['setEditableElement'](_0x177284['name'],_0x43c959),_0x34b079['editable']['bind']('isFocused')['to'](this['focusTracker']),_0x247458['attachDomRoot'](_0x43c959),this['_elementReplacer']['replace'](_0x5e1a8b,this['element']),this['_initToolbar'](),this['fire']('ready');}['destroy'](){super['destroy']();const _0x39a3d6=this['view'],_0x146da0=this['editor']['editing']['view'];this['_elementReplacer']['restore'](),_0x146da0['detachDomRoot'](_0x39a3d6['editable']['name']),_0x39a3d6['destroy']();}['_initToolbar'](){const _0x74ea35=this['view'];_0x74ea35['stickyPanel']['bind']('isActive')['to'](this['focusTracker'],'isFocused'),_0x74ea35['stickyPanel']['limiterElement']=_0x74ea35['element'],_0x74ea35['stickyPanel']['bind']('viewportTopOffset')['to'](this,'viewportOffset',({top:_0x14f814})=>_0x14f814),_0x74ea35['toolbar']['fillFromConfig'](this['_toolbarConfig'],this['componentFactory']),this['addToolbar'](_0x74ea35['toolbar']);}constructor(_0x2e6527,_0x4fc4a5){super(_0x2e6527),this['_view']=_0x4fc4a5,this['_toolbarConfig']=ct(_0x2e6527['config']['get']('toolbar')),this['_elementReplacer']=new nt();}}class at extends dt{get['editable'](){return this['_editable'];}['render'](){super['render'](),this['stickyPanel']['content']['add'](this['toolbar']),this['top']['add'](this['stickyPanel']),this['main']['add'](this['editable']);}constructor(_0x559e2d,_0x258f69,_0x1f7884={}){super(_0x559e2d),this['stickyPanel']=new lt(_0x559e2d),this['toolbar']=new pt(_0x559e2d,{'shouldGroupWhenFull':_0x1f7884['shouldToolbarGroupWhenFull']}),this['_editable']=new ut(_0x559e2d,_0x258f69);}}class m extends rt(st(it)){get['ui'](){return this['_ui'];}['destroy'](){return this['updateSourceElement'](),this['ui']['destroy'](),super['destroy']();}static async['create'](_0x574791,_0x262f54){const _0x43adf1=new this(_0x574791,_0x262f54);return await _0x43adf1['initPlugins'](),await _0x43adf1['ui']['init'](_0x574791),await _0x43adf1['data']['init'](_0x43adf1['config']['get']('initialData')||''),_0x43adf1['fire']('ready'),_0x43adf1;}constructor(_0x5d68e9,_0x2b818a){super(_0x2b818a),this['sourceElement']=_0x5d68e9,this['model']['document']['createRoot']();const _0x5e25f5=new at(this['locale'],this['editing']['view'],{'shouldToolbarGroupWhenFull':!0x0});this['_ui']=new ot(this,_0x5e25f5);}}const g=['RevisionHistoryUI','RestrictedEditingMode'];class k extends _0x527fb6{static get['pluginName'](){return'RevisionViewerIntegration';}constructor(_0x564825){super(_0x564825),this['result']='end';}}class H extends _0x527fb6{static get['pluginName'](){return'RevisionHistory';}static get['requires'](){return[l,u];}set['adapter'](_0x343197){this['editor']['plugins']['get']('RevisionTracker')['adapter']=_0x343197;}get['adapter'](){return this['editor']['plugins']['get']('RevisionTracker')['adapter'];}['addRevisionData'](_0x848bf8){return this['editor']['plugins']['get']('RevisionTracker')['addRevisionData'](_0x848bf8);}['getRevision'](_0x1866c){return this['editor']['plugins']['get']('RevisionsRepository')['getRevision'](_0x1866c);}['getRevisions'](_0x375456={'toJSON':!0x1}){return this['editor']['plugins']['get']('RevisionsRepository')['getRevisions'](_0x375456);}['_getRevisionViewerEditorConfig'](){const _0x3f6c14=this['editor'],_0x464843=_0x3f69e4(_0x3f6c14,g),_0x5c23ba=_0x3f6c14['plugins']['get']('RevisionTracker'),_0x50b5b0=_0x3f6c14['plugins']['get']('Users')['users'];return _0x464843['toolbar']=['exitToEditing','restoreRevision','changesNavigation'],delete _0x464843['lazyRoots'],(_0x464843['plugins']['push'](k,d,R,class extends _0x527fb6{static get['requires'](){return[d,'Users'];}['init'](){const _0x38d32a=this['editor']['plugins']['get']('Users');for(const _0x37acde of _0x50b5b0)_0x37acde['isAnonymous']||_0x38d32a['getUser'](_0x37acde['id'])||_0x38d32a['addUser'](_0x37acde);const _0x2189de=_0x5c23ba['repository']['getRevisions']();let _0x1e5dea=null;const _0x53fbc7=this['editor']['plugins']['get']('RevisionViewer');_0x53fbc7['adapter']=_0x5c23ba['adapter'],_0x53fbc7['bind']('isEnabled')['to'](_0x5c23ba),this['editor']['commands']['get']('restoreRevision')['bind']('isEnabled')['to'](_0x3f6c14,'isReadOnly',_0x2aa803=>!_0x2aa803);for(const _0x2c0f0b of _0x2189de){const _0x358215=null===_0x2c0f0b['creator'];if(_0x358215&&_0x2c0f0b['toVersion']===_0x2c0f0b['fromVersion'])continue;const _0x433b6a=_0x2c0f0b['toJSON']();_0x53fbc7['addRevisionData'](_0x433b6a,(_0x5655f9,_0x35686c,_0x314a49)=>{if(_0x358215){if(_0x1e5dea)_0x1e5dea['_update'](_0x5655f9,_0x35686c);else{if(!_0x35686c){const _0x2c062f=_0x314a49['toJSON']();_0x2c062f['id']=_0xfce3ff(),_0x5c23ba['saveRevision'](_0x2c062f,_0x314a49['toVersion'])['then'](_0x4cdaa4=>{_0x1e5dea=_0x4cdaa4;});}}}else _0x2c0f0b['_update'](_0x5655f9,_0x35686c);});}}},w),_0x464843);}['_enhanceShowRevisionViewerCallback'](){const _0x1d0903=this['editor']['config']['get']('revisionHistory')['showRevisionViewerCallback'];this['editor']['config']['set']('revisionHistory.showRevisionViewerCallback',async()=>{this['editor']['enableReadOnlyMode']('revision-history-viewer-opened');const _0x4240b8=this['editor']['plugins']['get']('RevisionTracker');if(this['editor']['plugins']['has']('Autosave')){const _0x23faeb=this['editor']['plugins']['get']('Autosave');await _0x23faeb['save']();}else await _0x4240b8['update']();this['editor']['plugins']['has']('PaginationLookup')&&this['editor']['plugins']['get']('PaginationLookup')['_recalculatePageBreaks']();const _0x39fcf1=this['_getRevisionViewerEditorConfig']();return _0x1d0903(_0x39fcf1)['then'](_0x52eca3=>{return(this['_viewerEditor']=_0x52eca3,this['editor']['plugins']['has']('Annotations'))&&this['editor']['plugins']['get']('Annotations')['refreshVisibility'](),_0x52eca3;})['catch'](_0x126def=>(console['error'](_0x126def),this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),null));});}['_enhanceCloseRevisionViewerCallback'](){const _0x42301b=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'](),_0x42301b(this['_viewerEditor'])['then'](()=>{if(this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),this['_viewerEditor']=null,this['editor']['plugins']['has']('Annotations')){const _0x46d99e=this['editor']['plugins']['get']('Annotations');_0x46d99e['refreshVisibility'](),_0x46d99e['refreshPositioning']();}})));}['_showRevisionViewer'](_0x2e7f96){const _0x37332d=this['editor']['config']['get']('revisionHistory.editorContainer'),_0x5c1784=this['editor']['config']['get']('revisionHistory.viewerContainer'),_0xa3c69=this['editor']['config']['get']('revisionHistory.viewerEditorElement');return m['create'](_0xa3c69,_0x2e7f96)['then'](_0x3b4402=>(_0x5c1784['style']['display']='block',_0x37332d['style']['display']='none',_0x3b4402));}['_closeRevisionViewer'](_0x48905d){const _0x1f4394=this['editor']['config']['get']('revisionHistory.editorContainer');return this['editor']['config']['get']('revisionHistory.viewerContainer')['style']['display']='none',_0x1f4394['style']['display']='',_0x48905d['destroy']();}async['_restoreRevision'](_0x5c3a93){const _0x2bc0f4=this['editor'],_0x371f34=this['_viewerEditor']['plugins']['get']('RevisionViewer'),_0x3f3166=_0x2bc0f4['plugins']['get']('RevisionTracker'),_0x3d4b70=_0x371f34['repository']['getRevision'](_0x5c3a93);let _0x39176e,_0x37b5d3,_0x9dc348;try{_0x39176e=await _0x371f34['getRevisionData'](_0x3d4b70),_0x37b5d3=await _0x371f34['getRevisionRootsAttributes'](_0x3d4b70);}catch(_0x59be0c){return void console['error'](_0x59be0c);}_0x2bc0f4['model']['change'](_0xf14649=>{for(const _0x443a79 of Array['from'](_0x2bc0f4['model']['markers']['getMarkersGroup']('restrictedEditingException')))_0xf14649['removeMarker'](_0x443a79);}),_0x371f34['isReady']=!0x1,_0x2bc0f4['model']['enqueueChange'](_0x11fae3=>{_0x11fae3['setSelection'](null),_0x11fae3['removeSelectionAttribute'](_0x2bc0f4['model']['document']['selection']['getAttributeKeys']());const _0x25f1a4=Object['keys'](_0x39176e);for(const _0x532a79 of _0x2bc0f4['model']['document']['roots'])'$graveyard'!=_0x532a79['rootName']&&_0x532a79['isAttached']()&&!_0x25f1a4['includes'](_0x532a79['rootName'])&&_0x11fae3['detachRoot'](_0x532a79);for(const _0x2f272d of _0x25f1a4){let _0x1ba6ec=_0x2bc0f4['model']['document']['getRoot'](_0x2f272d);_0x1ba6ec&&_0x1ba6ec['isAttached']()||(_0x1ba6ec=_0x11fae3['addRoot'](_0x2f272d));const _0x28843e=_0x37b5d3[_0x2f272d],_0x3e1682=Object['keys'](_0x28843e),_0x506a4d=_0x39176e[_0x2f272d];for(const _0x53c140 of _0x1ba6ec['getAttributeKeys']())_0x3e1682['includes'](_0x53c140)||_0x11fae3['removeAttribute'](_0x53c140,_0x1ba6ec);for(const _0x592f2c of _0x3e1682)_0x11fae3['setAttribute'](_0x592f2c,_0x37b5d3[_0x2f272d][_0x592f2c],_0x1ba6ec);_0x11fae3['remove'](_0x11fae3['createRangeIn'](_0x1ba6ec)),_0x11fae3['insert'](_0x2bc0f4['data']['parse'](_0x506a4d,_0x1ba6ec),_0x1ba6ec,0x0);}});const _0x3d3f31=y(_0x2bc0f4['locale'],'Restored');if(_0x3d4b70['name'])_0x9dc348=-0x1==_0x3d4b70['name']['indexOf'](_0x3d3f31)?_0x3d3f31+':\x20'+_0x3d4b70['name']:_0x3d4b70['name'];else _0x9dc348=_0x3d3f31+':\x20'+(_0x3d4b70['createdAt']['toLocaleDateString'](_0x2bc0f4['locale']['uiLanguage'],{'month':'long','day':'numeric'})+',\x20'+_0x3d4b70['createdAt']['toLocaleTimeString'](_0x2bc0f4['locale']['uiLanguage'],{'hour':'numeric','minute':'numeric'}));return await _0x3f3166['saveRevision']({'name':_0x9dc348}),_0x371f34['isReady']=!0x0,_0x2bc0f4['config']['get']('revisionHistory')['closeRevisionViewerCallback']();}constructor(_0x3a02bf){if(super(_0x3a02bf),!this['editor']['config']['get']('revisionHistory'))throw new _0x424f19('revision-history-missing-configuration',this);this['_viewerEditor']=null,this['editor']['config']['define']('revisionHistory.showRevisionViewerCallback',_0x4faaa6=>this['_showRevisionViewer']({..._0x4faaa6,'translations':this['editor']['locale']['translations']})),this['editor']['config']['define']('revisionHistory.closeRevisionViewerCallback',_0x301e6f=>this['_closeRevisionViewer'](_0x301e6f)),this['editor']['config']['define']('revisionHistory.restoreRevisionCallback',_0x4be868=>this['_restoreRevision'](_0x4be868)),this['editor']['config']['define']('revisionHistory.requireRevisionName',!0x1),this['_enhanceShowRevisionViewerCallback'](),this['_enhanceCloseRevisionViewerCallback']();}}export{H as RevisionHistory,u as RevisionHistoryUI,l as RevisionTracker,d as RevisionViewer,de as RevisionViewerLoadingOverlay,R as RevisionViewerUI,A as RevisionsRepository,w as RevisionsSidebar};
|
|
23
|
+
import{Plugin as _0x17c1cc,Context as _0x3e56e2,PendingActions as _0x128990,icons as _0x4df937,Command as _0x1c1c30,DataApiMixin as rt,ElementApiMixin as st,Editor as it}from'@ckeditor/ckeditor5-core/dist/index.js';import{ObservableMixin as _0x5c80d6,uid as _0x55ddc3,Collection as _0x210b3a,logWarning as _0x2f0023,FocusTracker as _0x521d29,KeystrokeHandler as _0x5ce4a4,scrollViewportToShowTarget as _0x3a4463,ResizeObserver as kt,ElementReplacer as nt,CKEditorError as _0x11cae8}from'@ckeditor/ckeditor5-utils/dist/index.js';import{Users as _0x135cd2,getMarkerDomElement as _0x461b7d,ConfirmMixin as _0x346f20,sanitizeEditorConfig as _0x35e67f}from'ckeditor5-collaboration/dist/index.js';import{ViewDocumentFragment as _0x2714a1,ViewText as _0xf07b69,ViewElement as _0x296554,Element as ft,Range as gt,Position as wt,DocumentFragment as _t,ViewContainerElement as _0x256ffb,ViewAttributeElement as _0x2f0af3,ViewEmptyElement as _0xd82b25,ViewRawElement as _0x5c9ebb,ViewUIElement as _0xadb654,Text as yt}from'@ckeditor/ckeditor5-engine/dist/index.js';import{cloneDeep as _0x3ad142,set as _0x21b055,unset as _0x47dc92,isEqual as _0x185a7f}from'lodash-es';import{View as _0x796ce0,submitHandler as _0x1cedc1,LabeledFieldView as mt,createLabeledInputText as _0x169543,injectCssTransitionDisabler as ts,createDropdown as _0x15005b,ListView as te,ListItemView as _0x1448cd,ButtonView as _0x2e3682,MenuBarMenuView as _0x1c0a1b,MenuBarMenuListView as _0x1a5d66,MenuBarMenuListItemView as _0xacdda6,MenuBarMenuListItemButtonView as _0x30ab2a,ContextualBalloon as _0x310f20,ToolbarSeparatorView as _0xc56657,IconView as _0x12b085,addListToDropdown as _0x497b9d,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 _0x5915f2}from'luxon';class a extends _0x5c80d6(){['setName'](_0x44bee2){this['_update']({'name':_0x44bee2});}['setAttribute'](_0x2b320d,_0x24edb4){const _0x15b3d2=_0x3ad142(this['attributes']);_0x21b055(_0x15b3d2,_0x2b320d,_0x24edb4),this['_update']({'attributes':_0x15b3d2});}['removeAttribute'](_0x3da7cd){const _0x2df7d8=_0x3ad142(this['attributes']);_0x47dc92(_0x2df7d8,_0x3da7cd),this['_update']({'attributes':_0x2df7d8});}['_update'](_0x1acc52,_0x3c84b3=!0x1){let _0x180913=!0x1;const _0x21268c={'id':this['id']},_0x56df81=['name','createdAt','diffData','authors','attributes','toVersion','fromVersion','creatorId'];for(const _0x31d3b9 of _0x56df81){const _0x474cba=_0x1acc52[_0x31d3b9];void 0x0!==_0x474cba&&_0x474cba!==this[_0x31d3b9]&&(this[_0x31d3b9]=_0x474cba,_0x21268c[_0x31d3b9]=_0x474cba,_0x180913=!0x0);}_0x180913&&(_0x21268c['authors']&&(_0x21268c['authorsIds']=_0x21268c['authors']['map'](_0x37c261=>_0x37c261['id']),delete _0x21268c['authors']),this['fire']('_update',_0x21268c,_0x3c84b3));}['toJSON'](){return{'id':this['id'],'name':this['name'],'creatorId':this['creator']?this['creator']['id']:null,'authorsIds':this['authors']['map'](_0x2f6856=>_0x2f6856['id']),'diffData':this['diffData'],'createdAt':this['createdAt'],'attributes':this['attributes'],'fromVersion':this['fromVersion'],'toVersion':this['toVersion']};}constructor(_0x3e6e81){super(),this['id']=_0x3e6e81['id']||_0x55ddc3(),this['creator']=_0x3e6e81['creator']||null,this['authors']=_0x3e6e81['authors']||[],this['diffData']=_0x3e6e81['diffData']||null,this['toVersion']=_0x3e6e81['toVersion']||0x0,this['fromVersion']=_0x3e6e81['fromVersion']||0x0,this['set']('name',_0x3e6e81['name']||''),this['set']('createdAt',_0x3e6e81['createdAt']||new Date()),this['set']('attributes',_0x3e6e81['attributes']||{});}}class A extends _0x17c1cc{static get['requires'](){return[_0x135cd2];}static get['pluginName'](){return'RevisionsRepository';}get['length'](){return this['_revisions']['length'];}['afterInit'](){!function(_0x4de8aa){function _0x27dafe(_0x371158,_0x57f6ee,_0x3b9244){const _0xb4dea6={};_0xb4dea6[_0x2556b4([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])]={0x10:0xa,0x18:0xc,0x20:0xe},_0xb4dea6[_0x2556b4([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],_0xb4dea6[_0x2556b4([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],_0xb4dea6[_0x2556b4([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],_0xb4dea6[_0x2556b4([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],_0xb4dea6[_0x2556b4([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],_0xb4dea6[_0x2556b4([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],_0xb4dea6[_0x2556b4([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],_0xb4dea6[_0x2556b4([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],_0xb4dea6[_0x2556b4([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],_0xb4dea6[_0x2556b4([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 _0x4d755c=new Uint8Array(0x10);for(let _0x22d4ea=0xf;_0x22d4ea>=0x0;--_0x22d4ea)_0x4d755c[_0x22d4ea]=_0x3b9244%0x100,_0x3b9244=parseInt(_0x3b9244/0x100);let _0x30d354=null,_0x5f0914=0x10;const _0x39ff46=new Uint8Array(_0x57f6ee),_0x13cada=[],_0x1ccb61=[];_0x5ac535();for(let _0x1270ed=0x0;_0x1270ed<_0x371158[_0x2556b4([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1270ed++)0x10===_0x5f0914&&(_0x30d354=_0x58eb21(_0x4d755c),_0x5f0914=0x0,_0x3ce5b7(_0x4d755c)),_0x371158[_0x1270ed]^=_0x30d354[_0x5f0914++];return _0x371158;function _0x282d32(_0x26eb59){const _0x1ad722=[];for(let _0x517bdd=0x0;_0x517bdd<_0x26eb59[_0x2556b4([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x517bdd+=0x4)_0x1ad722[_0x2556b4([0x70,0x75,0x73,0x68])](_0x26eb59[_0x517bdd]<<0x18|_0x26eb59[_0x517bdd+0x1]<<0x10|_0x26eb59[_0x517bdd+0x2]<<0x8|_0x26eb59[_0x517bdd+0x3]);return _0x1ad722;}function _0x3ce5b7(_0x4bb168){for(let _0x4b468b=0xf;_0x4b468b>=0x0;_0x4b468b--){if(0xff!==_0x4bb168[_0x4b468b]){_0x4bb168[_0x4b468b]++;break;}_0x4bb168[_0x4b468b]=0x0;}}function _0x58eb21(_0x47d192){const _0x482516=_0x13cada[_0x2556b4([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x1,_0x1ddb6e=[0x0,0x0,0x0,0x0];let t=_0x282d32(_0x47d192);for(let _0x5bf0d4=0x0;_0x5bf0d4<0x4;_0x5bf0d4++)t[_0x5bf0d4]^=_0x13cada[0x0][_0x5bf0d4];for(let _0x11917e=0x1;_0x11917e<_0x482516;_0x11917e++){for(let _0x4c36f3=0x0;_0x4c36f3<0x4;_0x4c36f3++)_0x1ddb6e[_0x4c36f3]=_0xb4dea6[_0x2556b4([0x54,0x31])][t[_0x4c36f3]>>0x18&0xff]^_0xb4dea6[_0x2556b4([0x54,0x32])][t[(_0x4c36f3+0x1)%0x4]>>0x10&0xff]^_0xb4dea6[_0x2556b4([0x54,0x33])][t[(_0x4c36f3+0x2)%0x4]>>0x8&0xff]^_0xb4dea6[_0x2556b4([0x54,0x34])][0xff&t[(_0x4c36f3+0x3)%0x4]]^_0x13cada[_0x11917e][_0x4c36f3];t=_0x1ddb6e[_0x2556b4([0x73,0x6c,0x69,0x63,0x65])]();}const _0x20b1f7=new Uint8Array(0x10);let _0x145fa0;for(let _0x48ff62=0x0;_0x48ff62<0x4;_0x48ff62++)_0x145fa0=_0x13cada[_0x482516][_0x48ff62],_0x20b1f7[0x4*_0x48ff62]=0xff&(_0xb4dea6[_0x2556b4([0x53])][t[_0x48ff62]>>0x18&0xff]^_0x145fa0>>0x18),_0x20b1f7[0x4*_0x48ff62+0x1]=0xff&(_0xb4dea6[_0x2556b4([0x53])][t[(_0x48ff62+0x1)%0x4]>>0x10&0xff]^_0x145fa0>>0x10),_0x20b1f7[0x4*_0x48ff62+0x2]=0xff&(_0xb4dea6[_0x2556b4([0x53])][t[(_0x48ff62+0x2)%0x4]>>0x8&0xff]^_0x145fa0>>0x8),_0x20b1f7[0x4*_0x48ff62+0x3]=0xff&(_0xb4dea6[_0x2556b4([0x53])][0xff&t[(_0x48ff62+0x3)%0x4]]^_0x145fa0);return _0x20b1f7;}function _0x5ac535(){const _0x6155b5=_0xb4dea6[_0x2556b4([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])][_0x39ff46[_0x2556b4([0x6c,0x65,0x6e,0x67,0x74,0x68])]];for(let _0x18fcdd=0x0;_0x18fcdd<=_0x6155b5;_0x18fcdd++)_0x13cada[_0x2556b4([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]),_0x1ccb61[_0x2556b4([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]);const _0x2b4c06=0x4*(_0x6155b5+0x1),_0x186310=_0x39ff46[_0x2556b4([0x6c,0x65,0x6e,0x67,0x74,0x68])]/0x4,_0x587730=_0x282d32(_0x39ff46);let _0x1653cd;for(let _0x510232=0x0;_0x510232<_0x186310;_0x510232++)_0x1653cd=_0x510232>>0x2,_0x13cada[_0x1653cd][_0x510232%0x4]=_0x587730[_0x510232],_0x1ccb61[_0x6155b5-_0x1653cd][_0x510232%0x4]=_0x587730[_0x510232];let _0x8d3e20,_0xeb2480=0x0,t=_0x186310;for(;t<_0x2b4c06;){_0x8d3e20=_0x587730[_0x186310-0x1],_0x587730[0x0]^=_0xb4dea6[_0x2556b4([0x53])][_0x8d3e20>>0x10&0xff]<<0x18^_0xb4dea6[_0x2556b4([0x53])][_0x8d3e20>>0x8&0xff]<<0x10^_0xb4dea6[_0x2556b4([0x53])][0xff&_0x8d3e20]<<0x8^_0xb4dea6[_0x2556b4([0x53])][_0x8d3e20>>0x18&0xff]^_0xb4dea6[_0x2556b4([0x72,0x63,0x6f,0x6e])][_0xeb2480]<<0x18,_0xeb2480+=0x1;for(let _0x21f2b8=0x1;_0x21f2b8<_0x186310/0x2;_0x21f2b8++)_0x587730[_0x21f2b8]^=_0x587730[_0x21f2b8-0x1];_0x8d3e20=_0x587730[_0x186310/0x2-0x1],_0x587730[_0x186310/0x2]^=_0xb4dea6[_0x2556b4([0x53])][0xff&_0x8d3e20]^_0xb4dea6[_0x2556b4([0x53])][_0x8d3e20>>0x8&0xff]<<0x8^_0xb4dea6[_0x2556b4([0x53])][_0x8d3e20>>0x10&0xff]<<0x10^_0xb4dea6[_0x2556b4([0x53])][_0x8d3e20>>0x18&0xff]<<0x18;for(let _0x4cd669=_0x186310/0x2+0x1;_0x4cd669<_0x186310;_0x4cd669++)_0x587730[_0x4cd669]^=_0x587730[_0x4cd669-0x1];let _0x2cf26d,_0x3850de,_0x438ca3=0x0;for(;_0x438ca3<_0x186310&&t<_0x2b4c06;)_0x2cf26d=t>>0x2,_0x3850de=t%0x4,_0x13cada[_0x2cf26d][_0x3850de]=_0x587730[_0x438ca3],_0x1ccb61[_0x6155b5-_0x2cf26d][_0x3850de]=_0x587730[_0x438ca3++],t++;}for(let _0x5076db=0x1;_0x5076db<_0x6155b5;_0x5076db++)for(let _0x52c9b1=0x0;_0x52c9b1<0x4;_0x52c9b1++)_0x8d3e20=_0x1ccb61[_0x5076db][_0x52c9b1],_0x1ccb61[_0x5076db][_0x52c9b1]=_0xb4dea6[_0x2556b4([0x55,0x31])][_0x8d3e20>>0x18&0xff]^_0xb4dea6[_0x2556b4([0x55,0x32])][_0x8d3e20>>0x10&0xff]^_0xb4dea6[_0x2556b4([0x55,0x33])][_0x8d3e20>>0x8&0xff]^_0xb4dea6[_0x2556b4([0x55,0x34])][0xff&_0x8d3e20];}}function _0x2556b4(_0x5e06ae){return _0x5e06ae['map'](_0x1a8f9a=>String['fromCharCode'](_0x1a8f9a))['join']('');}(_0x313484=>{function _0x1cae5a(){const _0x2dc1f7=[{[_0x2556b4([0x69,0x64])]:0x1,[_0x2556b4([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x2556b4([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73]),[_0x2556b4([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x2556b4([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x2556b4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x2556b4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x2556b4([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x2556b4([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x2556b4([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]:[{[_0x2556b4([0x69,0x64])]:0x2,[_0x2556b4([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x2556b4([0x54,0x72,0x61,0x63,0x6b,0x20,0x43,0x68,0x61,0x6e,0x67,0x65,0x73]),[_0x2556b4([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x2556b4([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x2556b4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x2556b4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x2556b4([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x2556b4([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]),[_0x2556b4([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x2556b4([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x2556b4([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x2556b4([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}}],[_0x2556b4([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x2556b4([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x2556b4([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x2556b4([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x2556b4([0x69,0x64])]:0x3,[_0x2556b4([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x2556b4([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e]),[_0x2556b4([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x2556b4([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x6f,0x6f,0x6b,0x75,0x70]),[_0x2556b4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x2556b4([0x70,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x2556b4([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x2556b4([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x2556b4([0x69,0x64])]:0x4,[_0x2556b4([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x2556b4([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x20,0x48,0x69,0x73,0x74,0x6f,0x72,0x79]),[_0x2556b4([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x2556b4([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x2556b4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x2556b4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x2556b4([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x2556b4([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]),[_0x2556b4([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x2556b4([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x2556b4([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x2556b4([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x2556b4([0x69,0x64])]:0x5,[_0x2556b4([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x2556b4([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x20,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65]),[_0x2556b4([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x2556b4([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65,0x55,0x49]),[_0x2556b4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x2556b4([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]),[_0x2556b4([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x2556b4([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x2556b4([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x2556b4([0x66,0x67,0x69])]:[0xc]}},{[_0x2556b4([0x69,0x64])]:0x6,[_0x2556b4([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x2556b4([0x46,0x6f,0x72,0x6d,0x61,0x74,0x20,0x50,0x61,0x69,0x6e,0x74,0x65,0x72]),[_0x2556b4([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x2556b4([0x46,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x55,0x49]),[_0x2556b4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x2556b4([0x66,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x2556b4([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x2556b4([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x2556b4([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x2556b4([0x66,0x67,0x69])]:[0xc]}},{[_0x2556b4([0x69,0x64])]:0x7,[_0x2556b4([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x2556b4([0x53,0x6c,0x61,0x73,0x68,0x20,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64]),[_0x2556b4([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x2556b4([0x53,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x55,0x49]),[_0x2556b4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x2556b4([0x73,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x2556b4([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x2556b4([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x2556b4([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x2556b4([0x66,0x67,0x69])]:[0xc]}},{[_0x2556b4([0x69,0x64])]:0x8,[_0x2556b4([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x2556b4([0x54,0x61,0x62,0x6c,0x65,0x20,0x6f,0x66,0x20,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73]),[_0x2556b4([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x2556b4([0x54,0x61,0x62,0x6c,0x65,0x4f,0x66,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x2556b4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x2556b4([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]),[_0x2556b4([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x2556b4([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x2556b4([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x2556b4([0x66,0x67,0x69])]:[0xc]}},{[_0x2556b4([0x69,0x64])]:0x9,[_0x2556b4([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x2556b4([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65]),[_0x2556b4([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x2556b4([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x55,0x49]),[_0x2556b4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x2556b4([0x74,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x2556b4([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x2556b4([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x2556b4([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x2556b4([0x66,0x67,0x69])]:[0xc,0xe]}},{[_0x2556b4([0x69,0x64])]:0xa,[_0x2556b4([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x2556b4([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]),[_0x2556b4([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x2556b4([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]),[_0x2556b4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x2556b4([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]),[_0x2556b4([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x2556b4([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x2556b4([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x2556b4([0x66,0x67,0x69])]:[0xc]}},{[_0x2556b4([0x69,0x64])]:0xb,[_0x2556b4([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x2556b4([0x41,0x49,0x20,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74]),[_0x2556b4([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x2556b4([0x41,0x49,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74,0x55,0x49]),[_0x2556b4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x2556b4([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x2556b4([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x2556b4([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x2556b4([0x69,0x64])]:0xc,[_0x2556b4([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x2556b4([0x50,0x72,0x6f,0x64,0x75,0x63,0x74,0x69,0x76,0x69,0x74,0x79,0x20,0x70,0x61,0x63,0x6b])},{[_0x2556b4([0x69,0x64])]:0xd,[_0x2556b4([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x2556b4([0x43,0x61,0x73,0x65,0x20,0x43,0x68,0x61,0x6e,0x67,0x65]),[_0x2556b4([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x2556b4([0x43,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x55,0x49]),[_0x2556b4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x2556b4([0x63,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x2556b4([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x2556b4([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x2556b4([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x2556b4([0x66,0x67,0x69])]:[0xc]}},{[_0x2556b4([0x69,0x64])]:0xe,[_0x2556b4([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x2556b4([0x44,0x72,0x75,0x70,0x61,0x6c,0x20,0x70,0x61,0x63,0x6b]),[_0x2556b4([0x66,0x6f,0x72,0x62,0x69,0x64,0x64,0x65,0x6e,0x48,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x2556b4([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])},{[_0x2556b4([0x69,0x64])]:0xf,[_0x2556b4([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x2556b4([0x4d,0x75,0x6c,0x74,0x69,0x20,0x4c,0x65,0x76,0x65,0x6c,0x20,0x4c,0x69,0x73,0x74]),[_0x2556b4([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x2556b4([0x4d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x2556b4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x2556b4([0x6d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x2556b4([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x2556b4([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])}];return _0x5bd33b(_0x2dc1f7),_0x2dc1f7;function _0x3fa71b(_0x2ee9cd){return 0x1<<_0x2ee9cd-0x1;}function _0x5bd33b(_0x46c3b6){_0x46c3b6[_0x2556b4([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0xa4ab39=>{_0xa4ab39[_0x2556b4([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]=_0x3fa71b(_0xa4ab39[_0x2556b4([0x69,0x64])]),_0x146643(_0xa4ab39)&&_0xa4ab39[_0x2556b4([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x5bd33b(_0xa4ab39[_0x2556b4([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]);});}}function _0x146643(_0x96a5c9){return _0x2556b4([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])in _0x96a5c9;}const _0x36845e=[0x1,0x55,0x4e,0x73,0xc6,0xff,0x32,0x70,0x53,0x57,0xa1],_0x5507ff=[0x7f,0x22,0x6,0xd3,0xa7,0x56,0x92,0xc7,0x84,0xa0,0x12];function _0x26e060(_0x174b31){const _0x3347e3=[0x1d,0xdd,0xaf,0x5a,0xe7,0x85,0xef,0xf0,0x4b,0xb4];return _0x52eed4(_0x174b31,new Uint8Array([..._0x36845e,..._0x3347e3,..._0x5507ff]));}function _0x52eed4(_0x18dc19,_0x549e4a){const _0x5eabcb=_0x3f6c41(_0x18dc19),_0x3d78aa=Array[_0x2556b4([0x66,0x72,0x6f,0x6d])](_0xe37ff0(_0x5eabcb)),_0x5172cd=_0x3d78aa[_0x2556b4([0x70,0x6f,0x70])](),_0x55f698=_0x3d78aa[_0x2556b4([0x70,0x6f,0x70])]();return _0x59ed6c(_0x27dafe(_0x3d78aa,_0x549e4a,_0x55f698+0x100*_0x5172cd));}function _0x3f6c41(_0x285086){const _0x92e221=atob(_0x285086),[_0x9d0fff,_0x50b58d]=_0x92e221[_0x2556b4([0x73,0x70,0x6c,0x69,0x74])](_0x2556b4([0x2d]));try{if(atob(_0x50b58d))return atob(_0x9d0fff);}catch(_0x180e03){}return _0x92e221;}function _0x3fc674(_0x474dc6){try{const _0x522900=_0x26e060(_0x474dc6),_0x398cdc=JSON[_0x2556b4([0x70,0x61,0x72,0x73,0x65])](_0x522900),_0x3a3a2c=parseInt(_0x398cdc[_0x2556b4([0x31])]),_0x1f170c=_0x398cdc[_0x2556b4([0x32])]||'',_0x119ead=parseInt(_0x398cdc[_0x2556b4([0x33])]),_0x3c98cc=parseInt(_0x398cdc[_0x2556b4([0x34])])||0x0,_0x50b20b=parseInt(_0x398cdc[_0x2556b4([0x35])])||0x0;return{[_0x2556b4([0x70,0x72,0x6f,0x64,0x75,0x63,0x74,0x4e,0x61,0x6d,0x65])]:_0x1f170c,[_0x2556b4([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])]:_0x3c98cc,[_0x2556b4([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]:_0x3a3a2c,[_0x2556b4([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]:_0x119ead,[_0x2556b4([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]:_0x50b20b};}catch(_0x24c879){return null;}}const _0x40cd34=_0x1cae5a(),_0x5538f8={[_0x2556b4([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])]:_0x5919e7,[_0x2556b4([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])]:_0x4c0e89,[_0x2556b4([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])]:_0x4ffe84},_0x52a107=_0x313484[_0x2556b4([0x63,0x6f,0x6e,0x73,0x74,0x72,0x75,0x63,0x74,0x6f,0x72])][_0x2556b4([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])],_0x4cc975=_0x2556b4([0x63,0x6f,0x6e,0x74,0x65,0x78,0x74])in _0x313484?_0x313484['context']:_0x313484['editor'],_0x24cb0d=_0x2556b4([0x34,0x30,0x34,0x38,0x31,0x30,0x31,0x36]),_0x45576f=_0x2556b4([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]),_0x2ab8c5=_0x4cc975['config']['get'](_0x2556b4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0xa93b10=_0x40cd34[_0x2556b4([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x146643)[_0x2556b4([0x66,0x69,0x6e,0x64])](_0x234462=>_0x234462[_0x2556b4([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]===_0x52a107);function _0x41108c(_0x2584e1,_0x4109be){_0x5538f8[_0x4109be[_0x2556b4([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]](_0x2584e1,_0x4109be),_0x4109be[_0x2556b4([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x4109be[_0x2556b4([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])][_0x2556b4([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x420b3d=>_0x5a4686(_0x4cc975,_0x420b3d[_0x2556b4([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))[_0x2556b4([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0xc07836=>_0x41108c(_0x2584e1,_0xc07836));}function _0x5919e7(_0x4735d3,_0x225b51){_0x5790bb(_0x1f2ad(_0x4735d3,_0x225b51),_0x225b51);}function _0x4c0e89(_0x402bd9,_0x428c47){function _0x23a500(_0x504ab9,_0x10a794){try{if(_0x5a4686(_0x4cc975,_0x2556b4([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))&&_0x504ab9){const _0x5e5579=_0x274b85(_0x4cc975,_0x2556b4([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))[_0x2556b4([0x5f,0x65,0x78,0x65,0x63,0x75,0x74,0x65,0x53,0x75,0x67,0x67,0x65,0x73,0x74,0x69,0x6f,0x6e])];if(parseInt(_0x5e5579)/0x2>_0x504ab9[_0x2556b4([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])])return _0x35f0ca(_0x10a794[_0x2556b4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2556b4([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}return _0x1f2ad(_0x504ab9,_0x10a794);}catch(_0x2c9f4f){return _0x35f0ca(_0x10a794[_0x2556b4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2556b4([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}_0x5790bb(_0x23a500(_0x402bd9,_0x428c47),_0x428c47);}function _0x4ffe84(_0x2dfc1b,_0x1395a6){const _0x4cd06b=_0x5507ff[0x0]*_0x36845e[0x1],_0x38c111=_0x5507ff[0x0]*_0x36845e[0x2],_0x46d4da=_0x5507ff[0x2]*_0x36845e[0x2];_0x5a4686(_0x4cc975,_0x2556b4([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x274b85(_0x4cc975,_0x2556b4([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x2556b4([0x73,0x74,0x61,0x74,0x65])]==_0x2556b4([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&(window[_0x4b60fc()]=_0x46d4da);function _0x53703b(_0x30d1b9,_0x195aa7){try{return _0x25e863()?_0x35f0ca(_0x195aa7[_0x2556b4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2556b4([0x56,0x61,0x6c,0x69,0x64])):_0x1f2ad(_0x30d1b9,_0x195aa7);}catch(_0xcf8702){return _0x35f0ca(_0x195aa7[_0x2556b4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2556b4([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0xccc658(_0x3f439d,_0x9d7b08){const _0x34157b=0x7;if(_0x3f439d==_0x9d7b08[_0x2556b4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2556b4([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]))_0x144d0b();else{if(_0x3f439d==_0x9d7b08[_0x2556b4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2556b4([0x54,0x72,0x69,0x61,0x6c])){const _0x59b2bb=_0x2fe454();_0x59b2bb&&_0xd2a67a(_0x59b2bb,_0x9d7b08[_0x2556b4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);const _0x30b641=_0x33fe2f();window[_0x2556b4([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0xd2a67a(_0x2556b4([0x74,0x69,0x6d,0x65]),_0x9d7b08[_0x2556b4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);},_0x30b641);const _0x3c6114=_0x274b85(_0x4cc975,_0x2556b4([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x2556b4([0x5f,0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73])];_0x3c6114[_0x2556b4([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x34157b?_0xd2a67a(_0x2556b4([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x9d7b08[_0x2556b4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]):_0x3c6114['on'](_0x2556b4([0x61,0x64,0x64]),()=>{_0x3c6114[_0x2556b4([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x34157b&&_0xd2a67a(_0x2556b4([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x9d7b08[_0x2556b4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);});}}}function _0x2fe454(){if(!_0x5a4686(_0x4cc975,_0x2556b4([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x2c8ceb in window)if(Number['isNaN'](Number(_0x2c8ceb))){if(window[_0x2c8ceb]===_0x4cd06b)return _0x2556b4([0x74,0x69,0x6d,0x65]);if(window[_0x2c8ceb]===_0x38c111)return _0x2556b4([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]);}return!0x1;}function _0x25e863(){if(!_0x5a4686(_0x4cc975,_0x2556b4([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x315e13 in window)if(Number['isNaN'](Number(_0x315e13))&&window[_0x315e13]===_0x46d4da)return!0x0;return!0x1;}function _0xd2a67a(_0x28c1ab,_0x46f417){_0x144d0b(),_0x35f0ca(_0x46f417+_0x2556b4([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a])+_0x28c1ab),window[_0x4b60fc()]=_0x28c1ab===_0x2556b4([0x74,0x69,0x6d,0x65])?_0x4cd06b:_0x38c111;}function _0x33fe2f(){let _0x1bb69b=_0x5507ff[0x6]*_0x36845e[0x8]*_0x36845e[0x6];return _0x5a4686(_0x4cc975,_0x2556b4([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x1bb69b/=0xa),_0x1bb69b;}function _0x144d0b(){const _0x1a25a4=_0x4cc975;function _0x5de05c(){_0x5a4686(_0x1a25a4,_0x2556b4([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&(_0x274b85(_0x1a25a4,_0x2556b4([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x2556b4([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x2556b4([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x274b85(_0x1a25a4,_0x2556b4([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x2556b4([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x274b85(_0x1a25a4,_0x2556b4([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x2556b4([0x75,0x70,0x64,0x61,0x74,0x65])]=_0x36c141,_0x274b85(_0x1a25a4,_0x2556b4([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x2556b4([0x73,0x61,0x76,0x65,0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e])]=_0x36c141,_0x1a25a4[_0x2556b4([0x6d,0x6f,0x64,0x65,0x6c])][_0x2556b4([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x36c141,_0x1a25a4[_0x2556b4([0x6d,0x6f,0x64,0x65,0x6c])][_0x2556b4([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x36c141,_0x1a25a4[_0x2556b4([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x2556b4([0x6d,0x6f,0x64,0x65,0x6c]))),_0x5a4686(_0x1a25a4,_0x2556b4([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x274b85(_0x1a25a4,_0x2556b4([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x2556b4([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x2556b4([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x274b85(_0x1a25a4,_0x2556b4([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x2556b4([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x274b85(_0x1a25a4,_0x2556b4([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x2556b4([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])]=_0x36c141,_0x274b85(_0x1a25a4,_0x2556b4([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x2556b4([0x5f,0x67,0x65,0x74,0x44,0x69,0x66,0x66])]=_0x36c141);}_0x1a25a4[_0x2556b4([0x73,0x74,0x61,0x74,0x65])]==_0x2556b4([0x72,0x65,0x61,0x64,0x79])?_0x5de05c():_0x1a25a4[_0x2556b4([0x6f,0x6e,0x63,0x65])](_0x2556b4([0x72,0x65,0x61,0x64,0x79]),()=>{if(_0x5a4686(_0x1a25a4,_0x2556b4([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&_0x5de05c(),_0x5a4686(_0x1a25a4,_0x2556b4([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))){const _0x59b37d=_0x274b85(_0x1a25a4,_0x2556b4([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79])),_0x2e93e4=_0x59b37d['getRevision'](0x0),_0x5f5728=_0x59b37d['getEarlierVisibleRevision'](_0x2e93e4[_0x2556b4([0x69,0x64])]);_0x274b85(_0x1a25a4,_0x2556b4([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x2556b4([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])](_0x2e93e4[_0x2556b4([0x69,0x64])],_0x5f5728?_0x5f5728[_0x2556b4([0x69,0x64])]:null,0x1)['then'](()=>_0x5de05c());}});}_0xccc658(_0x53703b(_0x2dfc1b,_0x1395a6),_0x1395a6);}function _0x1f2ad(_0x4c6a5f,_0x3d5d22){try{return _0x2d258d(_0x3d5d22)?_0x35f0ca(_0x3d5d22[_0x2556b4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2556b4([0x56,0x61,0x6c,0x69,0x64])):_0x4c6a5f&&_0x1e10a3(_0x4c6a5f[_0x2556b4([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])],_0x3d5d22)?_0x4c6a5f[_0x2556b4([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]&&!window[_0x2556b4([0x6f,0x70,0x65,0x6e])][_0x2556b4([0x63,0x6c,0x6f,0x73,0x65,0x64])]||parseInt(_0x24cb0d)/0x2>_0x4c6a5f[_0x2556b4([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]?_0x35f0ca(_0x3d5d22[_0x2556b4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2556b4([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])):_0x4c6a5f[_0x2556b4([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]?_0x35f0ca(_0x3d5d22[_0x2556b4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2556b4([0x54,0x72,0x69,0x61,0x6c])):_0x35f0ca(_0x3d5d22[_0x2556b4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2556b4([0x56,0x61,0x6c,0x69,0x64])):_0x35f0ca(_0x3d5d22[_0x2556b4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2556b4([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}catch(_0x1c1cd4){return _0x35f0ca(_0x3d5d22[_0x2556b4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2556b4([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x5790bb(_0x5ad55f,_0x4c3a60){if(_0x4cc975 instanceof _0x3e56e2){const _0x23376e=_0x4cc975;_0x5ad55f==_0x4c3a60[_0x2556b4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2556b4([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x4fbfc5(_0x23376e):_0x5ad55f==_0x4c3a60[_0x2556b4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2556b4([0x54,0x72,0x69,0x61,0x6c])&&window[_0x2556b4([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x4fbfc5(_0x23376e),_0x35f0ca(_0x4c3a60[_0x2556b4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2556b4([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65]));},_0x5507ff[0x6]*_0x36845e[0x8]*_0x36845e[0x6]),_0x23376e[_0x2556b4([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])][_0x2556b4([0x6f,0x6e])](_0x2556b4([0x61,0x64,0x64]),(_0xecae95,_0x342363)=>{_0x5ad55f!=_0x4c3a60[_0x2556b4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2556b4([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])&&_0x5ad55f!=_0x4c3a60[_0x2556b4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2556b4([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65])&&_0x5ad55f!=_0x4c3a60[_0x2556b4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2556b4([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])||_0x3f21c2(_0x342363);});}else{const _0x2a4eaf=_0x4cc975;_0x5ad55f==_0x4c3a60[_0x2556b4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2556b4([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x3f21c2(_0x2a4eaf):_0x5ad55f==_0x4c3a60[_0x2556b4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2556b4([0x54,0x72,0x69,0x61,0x6c])&&_0x2a4eaf[_0x2556b4([0x6f,0x6e])](_0x2556b4([0x72,0x65,0x61,0x64,0x79]),()=>{let _0xb5b3f2=0x0;_0x2a4eaf[_0x2556b4([0x6d,0x6f,0x64,0x65,0x6c])][_0x2556b4([0x6f,0x6e])](_0x2556b4([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x229da5,_0x373d50)=>{_0x373d50[0x0][_0x2556b4([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0xb5b3f2++,0x1f8===_0xb5b3f2&&(_0x3f21c2(_0x2a4eaf),_0x35f0ca(_0x4c3a60[_0x2556b4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2556b4([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])),_0x229da5[_0x2556b4([0x6f,0x66,0x66])]());},{'priority':_0x2556b4([0x68,0x69,0x67,0x68,0x65,0x73,0x74])});});}}function _0x35f0ca(_0x17ba9c){const _0x132c8f=_0x4b60fc();return _0x4cc975[_0x132c8f]=_0x17ba9c,_0x17ba9c;}function _0x4b60fc(){const _0x24b2f2=String(window[_0x2556b4([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x2556b4([0x6e,0x6f,0x77])]())[_0x2556b4([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x2556b4([0x2e]),'');let _0x239a33='';for(let _0x1db4aa=0x0;_0x1db4aa<_0x24b2f2[_0x2556b4([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1db4aa+=0x2){let _0x4c21fa=parseInt(_0x24b2f2[_0x2556b4([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1db4aa,_0x1db4aa+0x2));_0x4c21fa>=_0x45576f[_0x2556b4([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x4c21fa-=_0x45576f[_0x2556b4([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x239a33+=_0x45576f[_0x4c21fa];}return _0x239a33;}function _0x4fbfc5(_0x21fff1){for(const _0x3afa67 of _0x21fff1[_0x2556b4([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])])_0x3f21c2(_0x3afa67);_0x274b85(_0x21fff1,_0x2556b4([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x2556b4([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])](!0x0),_0x274b85(_0x21fff1,_0x2556b4([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x2556b4([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])]=_0x36c141;}function _0x3f21c2(_0xb658c3){function _0x1d0f83(){_0xb658c3[_0x2556b4([0x6d,0x6f,0x64,0x65,0x6c])][_0x2556b4([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x36c141,_0xb658c3[_0x2556b4([0x6d,0x6f,0x64,0x65,0x6c])][_0x2556b4([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x36c141,_0xb658c3[_0x2556b4([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x2556b4([0x6d,0x6f,0x64,0x65,0x6c]));}_0xb658c3[_0x2556b4([0x73,0x74,0x61,0x74,0x65])]==_0x2556b4([0x72,0x65,0x61,0x64,0x79])?_0x1d0f83():_0xb658c3[_0x2556b4([0x6f,0x6e,0x63,0x65])](_0x2556b4([0x72,0x65,0x61,0x64,0x79]),()=>_0x1d0f83());}function _0x36c141(){return null;}function _0x1e10a3(_0x2bc0d5,_0x46a87e){const _0x32ad73=!!(_0x2bc0d5&_0x46a87e[_0x2556b4([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]),_0x1898aa=_0xad0a22(_0x2bc0d5,_0x46a87e);return _0x32ad73||_0x1898aa;}function _0xad0a22(_0x20386a,_0x4dd386){const _0x39e19b=(_0x4dd386[_0x2556b4([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{})[_0x2556b4([0x66,0x67,0x69])]||null;return!!_0x39e19b&&_0x40cd34[_0x2556b4([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3e215a=>_0x39e19b[_0x2556b4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3e215a[_0x2556b4([0x69,0x64])]))[_0x2556b4([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x170c5a=>!_0x24805d(_0x170c5a))[_0x2556b4([0x73,0x6f,0x6d,0x65])](_0xa4c111=>!!(_0x20386a&_0xa4c111[_0x2556b4([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]));}function _0x24805d(_0x24cb19){const _0x10854a={[_0x2556b4([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])]:_0x4532e4};return!!_0x24cb19['forbiddenHandler']&&_0x10854a[_0x24cb19['forbiddenHandler']]();}function _0x4532e4(){return!window[_0x2556b4([0x44,0x72,0x75,0x70,0x61,0x6c])]||!_0x5a4686(_0x4cc975,_0x2556b4([0x64,0x72,0x75,0x70,0x61,0x6c,0x50,0x6f,0x77,0x65,0x72,0x65,0x64,0x42,0x79]));}function _0x2d258d(_0x53e3e1){if(!_0x5a4686(_0x4cc975,_0x53e3e1[_0x2556b4([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))return!0x0;const _0x2b5a03=_0x53e3e1[_0x2556b4([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{},_0x160d90=_0x2b5a03[_0x2556b4([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]||!0x1,_0x355150=_0x2b5a03[_0x2556b4([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]||!0x1,_0x46bca2=_0x2b5a03[_0x2556b4([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]||!0x1;if(_0x5a4686(_0x4cc975,_0x2556b4([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x274b85(_0x4cc975,_0x2556b4([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x2556b4([0x73,0x74,0x61,0x74,0x65])]==_0x2556b4([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&_0x160d90)return!0x0;if(_0x5a4686(_0x4cc975,_0x2556b4([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))&&_0x274b85(_0x4cc975,_0x2556b4([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))[_0x2556b4([0x72,0x65,0x73,0x75,0x6c,0x74])]==_0x2556b4([0x65,0x6e,0x64])&&_0x355150)return!0x0;return!(!_0x5a4686(_0x4cc975,_0x2556b4([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]))||_0x274b85(_0x4cc975,_0x2556b4([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]))[_0x2556b4([0x72,0x65,0x73,0x75,0x6c,0x74])]!=_0x2556b4([0x65,0x6e,0x64])||!_0x46bca2);}function _0x5a4686(_0x4962f6,_0x4a07ed){return _0x4962f6[_0x2556b4([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x2556b4([0x68,0x61,0x73])](_0x4a07ed);}function _0x274b85(_0x2818df,_0x493ec8){return _0x2818df[_0x2556b4([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x2556b4([0x67,0x65,0x74])](_0x493ec8);}function _0x59ed6c(_0x1498e1){let _0x327efd='';for(const _0x4591d8 of _0x1498e1)_0x327efd+=String[_0x2556b4([0x66,0x72,0x6f,0x6d,0x43,0x68,0x61,0x72,0x43,0x6f,0x64,0x65])](_0x4591d8);return _0x327efd;}function _0xe37ff0(_0x4bf9f4){const _0x206bd0=new Uint8Array(_0x4bf9f4[_0x2556b4([0x6c,0x65,0x6e,0x67,0x74,0x68])]);for(let _0x1284a1=0x0;_0x1284a1<_0x4bf9f4[_0x2556b4([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1284a1++)_0x206bd0[_0x1284a1]=_0x4bf9f4[_0x2556b4([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x1284a1);return _0x206bd0;}_0xa93b10&&_0x41108c(_0x3fc674(_0x2ab8c5),_0xa93b10);})(_0x4de8aa);}(this);}['createRevision'](_0x3856f3){const _0x4b352c=this['editor']['plugins']['get']('Users');return new a({'id':_0x3856f3['id'],'name':_0x3856f3['name'],'creator':_0x3856f3['creatorId']?_0x4b352c['getUser'](_0x3856f3['creatorId']):null,'diffData':_0x3856f3['diffData']||_0x3856f3['data'],'authors':_0x3856f3['authorsIds']['map'](_0x5acac5=>_0x4b352c['getUser'](_0x5acac5)),'createdAt':new Date(_0x3856f3['createdAt']),'attributes':_0x3856f3['attributes'],'fromVersion':_0x3856f3['fromVersion'],'toVersion':_0x3856f3['toVersion']});}['addRevision'](_0x191ae2,_0x5d05a7=0x0){this['_revisions']['add'](_0x191ae2,_0x5d05a7);}['getRevision'](_0x3079b3){return this['_revisions']['get'](_0x3079b3);}['getRevisions'](_0x3b408f={'toJSON':!0x1}){const _0xc0eecd=Array['from'](this['_revisions']);return _0xc0eecd['reverse'](),_0x3b408f['toJSON']?_0xc0eecd['map'](_0x42cdc8=>_0x42cdc8['toJSON']()):_0xc0eecd;}['getIndex'](_0x2bf29c){return this['_revisions']['getIndex'](_0x2bf29c);}['getEarlierVisibleRevision'](_0x5d01b4){const [,_0x50aab6]=this['getRevisionsIterator'](_0x5d01b4,{'direction':'earlier'});return _0x50aab6;}['getLaterVisibleRevision'](_0x48eb3e){const [,_0x3bcf6d]=this['getRevisionsIterator'](_0x48eb3e,{'direction':'later'});return _0x3bcf6d;}['getRevisionsInDiff'](_0x236aa0){const _0x6bda9d=[];for(const _0x5b3d14 of this['getRevisionsIterator'](_0x236aa0['newRevisionId']))if(_0x6bda9d['push'](_0x5b3d14),_0x5b3d14['id']===_0x236aa0['oldRevisionId'])break;return _0x6bda9d;}*['getRevisionsIterator'](_0x4678ab,{direction:_0xd45053='earlier',filter:_0xd52e55=_0xbdd3bc=>!0x0}={}){const _0xbd4684='earlier'===_0xd45053?0x1:-0x1;let _0x2d379a=this['_revisions']['get'](_0x4678ab),_0x3185fb=this['getIndex'](_0x2d379a);for(yield _0x2d379a;_0x2d379a;){if(_0x3185fb+=_0xbd4684,_0x2d379a=this['getRevision'](_0x3185fb),!_0x2d379a)return;_0xd52e55(_0x2d379a)&&(yield _0x2d379a);}}constructor(_0xc11815){super(_0xc11815),this['_revisions']=new _0x210b3a();}}function y(_0x2b62b5,_0x24395e,_0x4f72ac){const t=_0x2b62b5['t'];switch(_0x24395e){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'},_0x4f72ac);case'X_OF_Y_CHANGES':return t({'string':'%0\x20of\x20%1','id':'X_OF_Y_CHANGES'},_0x4f72ac);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':_0x256ffb,'a':_0x2f0af3,'e':_0xd82b25,'r':_0x5c9ebb,'u':_0xadb654};class l extends _0x17c1cc{static get['pluginName'](){return'RevisionTracker';}static get['requires'](){return[_0x135cd2,A,_0x128990];}['init'](){this['repository']=this['editor']['plugins']['get']('RevisionsRepository'),this['_setConversion'](),this['editor']['data']['on']('ready',()=>{const _0xb3c506=this['repository']['getRevision'](0x0),_0x300ea7=_0xb3c506&&null===_0xb3c506['creator']?_0xb3c506:null;if(this['_continueCurrentRevision']=!!_0x300ea7&&this['editor']['config']['get']('revisionHistory.resumeUnsavedRevision'),this['editor']['plugins']['has']('RealTimeCollaborationClient')){const _0x13b782=this['_source']['getCurrentRevisionId'](),_0x14bac7=this['repository']['getRevision'](_0x13b782);if(_0x14bac7)this['_startingVersion']=_0x14bac7['fromVersion'],this['_continueCurrentRevision']=!0x1;else{const _0x49af72=this['_source']['history']['_operations']['find'](_0x24f4ba=>!_0x24f4ba['_isInit']),_0x21391d=_0x49af72?_0x49af72['baseVersion']:this['_source']['history']['version'];_0xb3c506?(_0xb3c506['toVersion']<_0x21391d&&_0xb3c506['_update']({'toVersion':_0x21391d}),this['_continueCurrentRevision']?(this['_source']['getCurrentRevisionId']=()=>_0x300ea7['id'],this['_startingVersion']=_0x300ea7['fromVersion']):(this['_startingVersion']=_0xb3c506['toVersion'],this['_continueCurrentRevision']=!0x1)):(this['_startingVersion']=_0x21391d,this['_continueCurrentRevision']=!0x1);}}else _0x300ea7&&(this['editor']['model']['document']['history']['version']=Math['max'](_0x300ea7['toVersion'],this['editor']['model']['document']['history']['version']),_0x300ea7['fromVersion']===_0x300ea7['toVersion']?(0x0!==_0x300ea7['fromVersion']&&(this['_source']['getCurrentRevisionId']=()=>_0x300ea7['id']),this['_continueCurrentRevision']=!0x1):this['_continueCurrentRevision']&&(this['_source']['getCurrentRevisionId']=()=>_0x300ea7['id'],this['_startingVersion']=_0x300ea7['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',_0x2b649c=>!_0x2b649c);}async['afterInit'](){if(this['repository']['length']>0x0){const _0x51f699=this['repository']['getRevision'](0x0),_0x50bbb1=await this['getRevisionDocumentData'](_0x51f699),_0x44ae83=await this['getRevisionRootsAttributes'](_0x51f699);this['_replaceEditorDataWithRevisionData'](_0x50bbb1,_0x44ae83);}}['setSource'](_0x5c5fac){this['_source']=_0x5c5fac;}async['update'](){const _0x4acd11=await this['_source']['getLatestVersion']();if(_0x4acd11>this['currentRevision']['toVersion']){await this['_loadState']();const _0x2861ce=this['buildRevisionData']({'revision':this['currentRevision'],'to':_0x4acd11});_0x2861ce['authors']=_0x2861ce['authorsIds']['map'](_0x3bbb84=>this['editor']['plugins']['get']('Users')['getUser'](_0x3bbb84)),this['currentRevision']['_update'](_0x2861ce);}}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'](_0x4e7cb2={},_0x4cc376=null){const _0x4e9484=[];await this['_loadState'](),this['_continueCurrentRevision']=!0x1,_0x4cc376>this['currentRevision']['toVersion']&&(_0x4cc376=null),null===_0x4cc376&&(_0x4cc376=await this['_source']['getLatestVersion']());const _0xafdf6f=this['_getFromVersion'](_0x4cc376),_0x2a22d1=this['buildRevisionData']({'from':_0xafdf6f,'to':_0x4cc376});if(this['currentRevision']['toVersion']<_0x4cc376){const _0x5a13e8=this['buildRevisionData']({'revision':this['currentRevision'],'from':_0x4cc376,'to':_0x4cc376});_0x5a13e8['authors']=[],_0x5a13e8['authorsIds']=[],_0x5a13e8['id']=this['currentRevision']['id'],this['currentRevision']['_update'](_0x5a13e8,!0x0),delete _0x5a13e8['authors'],_0x4e9484['push'](_0x5a13e8);}_0x4e7cb2['creatorId']=this['editor']['plugins']['get']('Users')['me']['id'],_0x4e7cb2['name']=_0x4e7cb2['name']||null,_0x4e7cb2['id']=_0x4e7cb2['id']||_0x55ddc3(),_0x4e7cb2={..._0x4e7cb2,..._0x2a22d1};const _0x5a5424=this['addRevisionData'](_0x4e7cb2);_0x4e9484['push'](_0x4e7cb2);const _0x56122d=this['repository']['getIndex'](_0x5a5424);if(0x0!==_0x56122d){const _0x35adf8=this['repository']['getRevision'](_0x56122d-0x1);if(_0x35adf8['fromVersion']!==_0x4cc376){const _0x305ea8=this['_revisionDataBuilder']['getData'](_0x4cc376,_0x35adf8['toVersion']),_0x5c10dc={'id':_0x35adf8['id'],'diffData':_0x305ea8['diffData'],'authorsIds':_0x305ea8['authorsIds'],'authors':_0x305ea8['authorsIds']['map'](_0x281fa3=>this['editor']['plugins']['get']('Users')['getUser'](_0x281fa3)),'fromVersion':_0x4cc376};_0x35adf8===this['currentRevision']&&(_0x5c10dc['createdAt']=new Date(_0x4e7cb2['createdAt']['getTime']()+0xa)),_0x35adf8['_update'](_0x5c10dc,!0x0),delete _0x5c10dc['authors'],_0x4e9484['push'](_0x5c10dc);}}if(this['adapter']){for(const _0x554668 of _0x4e9484)this['_bufferUpdate'](_0x554668['id'],_0x554668,!0x0);this['sendBufferedUpdates']();}return _0x5a5424;}['addRevisionData'](_0x304663){const _0x3d7ecb=this['repository']['createRevision'](_0x304663);return this['adapter']&&_0x3d7ecb['on']('_update',(_0x2fd882,_0x2488ae,_0xb8e5e5)=>{_0xb8e5e5||(this['_bufferUpdate'](_0x2488ae['id'],_0x2488ae,!0x0),this['sendBufferedUpdates']());}),this['repository']['addRevision'](_0x3d7ecb,this['_findInsertionIndex'](_0x3d7ecb)),_0x3d7ecb;}async['getRevisionDocumentData'](_0xa59325){await this['_loadRevisionData'](_0xa59325);const _0x105deb={};for(const _0x583d5f in _0xa59325['diffData']){if(_0xa59325['diffData'][_0x583d5f]['attachChange']&&!_0xa59325['diffData'][_0x583d5f]['attachChange']['isAttached'])continue;const _0x39b770=this['_removeRevisionMarkers'](JSON['parse'](_0xa59325['diffData'][_0x583d5f]['insertions'])),_0x11bad3=this['editor']['editing']['view']['document'],_0x12ad21=new _0x2714a1(_0x11bad3,_0x39b770['map'](_0x647410=>B(_0x647410,this['editor'])));this['editor']['data']['processor']['useFillerType']('marked'),_0x105deb[_0x583d5f]=this['editor']['data']['processor']['toData'](_0x12ad21),this['editor']['data']['processor']['useFillerType']('default');}return _0x105deb;}async['getRevisionRootsAttributes'](_0x3cb9fe){await this['_loadRevisionData'](_0x3cb9fe);const _0x24eb8c={};for(const _0x57ed3d in _0x3cb9fe['diffData'])_0x3cb9fe['diffData'][_0x57ed3d]['attachChange']&&!_0x3cb9fe['diffData'][_0x57ed3d]['attachChange']['isAttached']||(_0x24eb8c[_0x57ed3d]=_0x3cb9fe['diffData'][_0x57ed3d]['attributesAfter']||{});return _0x24eb8c;}['sendBufferedUpdates'](){if(0x0===this['_bufferedUpdates']['size'])return;if(this['_isPendingUpdate'])return;let _0x3f1023=Array['from'](this['_bufferedUpdates']['values']());this['_bufferedUpdates']['clear']();for(let _0x47e74a=0x0;_0x47e74a<_0x3f1023['length'];_0x47e74a++){const _0x446529=_0x3f1023[_0x47e74a];let _0x2478c2=!0x1;for(const _0xa20aef of Object['keys'](_0x446529))void 0x0===_0x446529[_0xa20aef]?delete _0x446529[_0xa20aef]:'id'!==_0xa20aef&&(_0x2478c2=!0x0);_0x2478c2||(_0x3f1023[_0x47e74a]=null);}if(_0x3f1023=_0x3f1023['filter'](_0x4d6628=>null!==_0x4d6628),!_0x3f1023['length'])return;for(let _0xadd93b=0x0;_0xadd93b<_0x3f1023['length'];_0xadd93b++){const _0x20109c=_0x3f1023[_0xadd93b];void 0x0!==_0x20109c['fromVersion']&&void 0x0===_0x20109c['toVersion']&&(_0x20109c['toVersion']=this['repository']['getRevision'](_0x20109c['id'])['toVersion']),void 0x0!==_0x20109c['toVersion']&&void 0x0===_0x20109c['fromVersion']&&(_0x20109c['fromVersion']=this['repository']['getRevision'](_0x20109c['id'])['fromVersion']);}const _0x563c4f=this['editor']['config']['get']('collaboration.channelId');this['_isPendingUpdate']=!0x0,this['_addPendingAction'](),this['adapter']['updateRevisions'](_0x3f1023,_0x563c4f)['finally'](()=>{this['_isPendingUpdate']=!0x1;})['then'](_0x37774e=>{if(_0x37774e){for(const _0x268e57 of _0x37774e)this['setRevisionData']({'id':_0x268e57['id'],'createdAt':_0x268e57['createdAt']});}this['_removePendingAction'](),this['sendBufferedUpdates']();});}['_replaceEditorDataWithRevisionData'](_0x2ae77e,_0x3b88a1){let _0x3a2d56=this['editor']['config']['get']('initialData'),_0x214cd5=this['editor']['config']['get']('rootsAttributes');if(void 0x0===_0x3a2d56){_0x3a2d56={};for(const _0x33346f of this['editor']['model']['document']['getRootNames']())_0x3a2d56[_0x33346f]='';}if('string'==typeof _0x3a2d56&&(_0x3a2d56={'main':_0x3a2d56}),void 0x0===_0x214cd5){_0x214cd5={};for(const _0x5f4037 of this['editor']['model']['document']['getRootNames']())_0x214cd5[_0x5f4037]={};}let _0x4eb42f=!0x1;const _0x55413c=Object['keys'](_0x3a2d56),_0x5247a4=Object['keys'](_0x2ae77e);for(const _0x4bfcfa of _0x55413c){if(_0x3a2d56[_0x4bfcfa]!==_0x2ae77e[_0x4bfcfa]&&''!==_0x3a2d56[_0x4bfcfa]['trim']()){_0x4eb42f=!0x0;break;}if(!_0x185a7f(_0x214cd5[_0x4bfcfa],_0x3b88a1[_0x4bfcfa])&&Object['keys'](_0x214cd5[_0x4bfcfa])['length']>0x0){_0x4eb42f=!0x0;break;}}_0x4eb42f||(_0x4eb42f=_0x5247a4['some'](_0xe33e84=>!this['editor']['model']['document']['getRoot'](_0xe33e84))),_0x4eb42f&&_0x2f0023('editor-initial-data-replaced-with-revision-data',{'editorData':_0x3a2d56,'editorRootsAttributes':_0x214cd5,'revisionData':_0x2ae77e,'revisionRootsAttributes':_0x3b88a1}),this['editor']['config']['set']('initialData',_0x2ae77e),this['editor']['config']['set']('rootsAttributes',_0x3b88a1);}['_addPendingAction'](){if(!this['_pendingAction']){const _0x47f7d1=this['editor']['plugins']['get']('PendingActions');this['_pendingAction']=_0x47f7d1['add'](y(this['editor']['locale'],'PENDING_ACTION_REVISION_HISTORY'));}}['_removePendingAction'](){this['_pendingAction']&&(this['editor']['plugins']['get']('PendingActions')['remove'](this['_pendingAction']),this['_pendingAction']=null);}['_findInsertionIndex'](_0x62fff5){const _0x7f3937=this['repository']['getRevisions']();_0x7f3937['reverse']();let _0x31230a=0x0;for(;_0x31230a<_0x7f3937['length'];){const _0x43fc6b=_0x7f3937[_0x31230a];if(_0x43fc6b===this['currentRevision']){_0x31230a++;continue;}if(_0x43fc6b['id']===this['_initialRevisionId'])break;const _0x389812=_0x62fff5['toVersion']-_0x43fc6b['toVersion']||_0x62fff5['fromVersion']-_0x43fc6b['fromVersion'];if(_0x389812>0x0)break;if(_0x389812<0x0)_0x31230a++;else{if(!_0x62fff5['creator']&&_0x43fc6b['creator'])break;if(_0x43fc6b['creator']||!_0x62fff5['creator']){if(_0x62fff5['createdAt']>_0x43fc6b['createdAt'])break;_0x31230a++;}else _0x31230a++;}}return _0x31230a;}['setRevisionData'](_0x470a31){const _0x101391=this['repository']['getRevision'](_0x470a31['id']);if(_0x470a31['createdAt']&&(_0x470a31['createdAt']=new Date(_0x470a31['createdAt'])),_0x470a31['authorsIds']){const _0x5df6d7=this['editor']['plugins']['get']('Users');_0x470a31['authors']=_0x470a31['authorsIds']['map'](_0x5b9a6b=>_0x5df6d7['getUser'](_0x5b9a6b));}_0x101391['_update'](_0x470a31,!0x0);}['buildRevisionData']({revision:_0x5e9ff7=null,from:_0x17927c=null,to:_0xcf23fa=null}){_0x17927c=null!==_0x17927c?_0x17927c:_0x5e9ff7['fromVersion'],_0xcf23fa=null!==_0xcf23fa?_0xcf23fa:_0x5e9ff7['toVersion'];const _0xb54ffb=this['_revisionDataBuilder']['getData'](_0x17927c,_0xcf23fa),_0x25e4f8={'diffData':_0xb54ffb['diffData'],'authorsIds':_0xb54ffb['authorsIds'],'fromVersion':_0x17927c,'toVersion':_0xcf23fa};if(!_0x5e9ff7||_0xcf23fa!==_0x5e9ff7['toVersion']){const _0x22a868=_0xcf23fa-0x1,_0x42d3f7=this['_source']['history']['getOperation'](_0x22a868);_0x25e4f8['createdAt']=_0x42d3f7&&_0x42d3f7['createdAt']||new Date();}if(this['_loadedStateData']&&_0x17927c===this['_loadedStateData']['fromVersion']){for(const _0x1011fc of this['_loadedStateData']['authors'])_0x25e4f8['authorsIds']['includes'](_0x1011fc['id'])||_0x25e4f8['authorsIds']['push'](_0x1011fc['id']);}return _0x25e4f8;}['_loadRevisionData'](_0x7d4341){if(!_0x7d4341||_0x7d4341['diffData'])return Promise['resolve']();{const _0x22b2e3=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0x22b2e3,'revisionId':_0x7d4341['id']})['then'](_0x204cbf=>{_0x7d4341['diffData']=_0x204cbf['diffData'];});}}['_bufferUpdate'](_0x33e53a,_0x30d6bc,_0x5debbb){if(this['_bufferedUpdates']['has'](_0x33e53a)){const _0x4a3d01=this['_bufferedUpdates']['get'](_0x33e53a);_0x30d6bc=_0x5debbb?{..._0x4a3d01,..._0x30d6bc}:{..._0x30d6bc,..._0x4a3d01};}this['_bufferedUpdates']['set'](_0x33e53a,_0x30d6bc);}['_getFromVersion'](_0x423d7a){const _0x2f410a=this['repository']['getRevisions']();_0x2f410a['reverse'](),_0x2f410a['shift']();const _0x313268=_0x2f410a['find'](_0x203ebc=>_0x203ebc['toVersion']<=_0x423d7a)['toVersion'];return _0x313268<this['_startingVersion']?this['_startingVersion']:_0x313268;}['_createInitialRevision'](_0x19f7d9){const _0x501ae9=this['repository']['getRevision'](this['repository']['length']-0x1);if(_0x501ae9)this['_initialRevisionId']=_0x501ae9['id'];else{const _0x51a128=!this['editor']['model']['document']['roots']['find'](_0xb9ae1b=>this['editor']['model']['hasContent'](_0xb9ae1b)),_0xf55732=this['editor']['plugins']['get']('Users')['me']['id'],_0x4ead17=y(this['editor']['locale'],_0x51a128?'Empty\x20document':'Initial\x20revision');this['_makeRevision']({'from':_0x19f7d9,'to':_0x19f7d9,'id':this['_initialRevisionId'],'name':_0x4ead17,'creatorId':_0xf55732});}}['_createCurrentRevision'](_0xcf3119){const _0x530933=this['_source']['getCurrentRevisionId']();this['currentRevision']=this['repository']['getRevision'](_0x530933),this['currentRevision']||(this['currentRevision']=this['_makeRevision']({'from':_0xcf3119,'to':_0xcf3119,'id':_0x530933,'name':'','creatorId':null}));}['_makeRevision']({name:_0x2d0b16,from:_0x3e3f34,to:_0x5423bf,creatorId:_0x1a79a6,id:_0x1b1b1a}){const _0x5d5787=this['buildRevisionData']({'from':_0x3e3f34,'to':_0x5423bf});_0x5d5787['name']=_0x2d0b16,_0x5d5787['creatorId']=_0x1a79a6,_0x5d5787['id']=_0x1b1b1a;const _0x3ef81e=this['addRevisionData'](_0x5d5787);return this['adapter']&&this['_bufferUpdate'](_0x5d5787['id'],_0x5d5787,!0x0),_0x3ef81e;}['_setConversion'](){this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'});}['_removeRevisionMarkers'](_0x57b21e){return(_0x57b21e=_0x57b21e['filter'](_0x1f5e32=>!_0x1f5e32['name']||'revision-start'!==_0x1f5e32['name']&&'revision-end'!==_0x1f5e32['name']))['forEach'](_0x477ef8=>{'string'!=typeof _0x477ef8&&(_0x477ef8['children']=this['_removeRevisionMarkers'](_0x477ef8['children']),_0x477ef8['attributes']=_0x477ef8['attributes']['filter'](_0x543a64=>!_0x543a64[0x0]['startsWith']('data-revision-')));}),_0x57b21e;}constructor(_0x217507){super(_0x217507),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 _0x35985a=_0x55ddc3();this['_source']={'history':this['editor']['model']['document']['history'],'getLatestVersion':()=>Promise['resolve'](this['editor']['model']['document']['version']),'getCurrentRevisionId':()=>_0x35985a},this['set']('isReady',!0x1),this['set']('isEnabled',!0x0),this['set']('_isPendingUpdate',!0x1),this['editor']['config']['define']('revisionHistory.resumeUnsavedRevision',!0x0),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'revision'});}}function B(_0x12d5e3,_0x92c1e9){const _0x50452d=_0x92c1e9['editing']['view']['document'];if('string'==typeof _0x12d5e3)return new _0xf07b69(_0x50452d,_0x12d5e3);{const _0x21e84b=_0x12d5e3['children']['map'](_0x3e2da8=>B(_0x3e2da8,_0x92c1e9));return new(T[_0x12d5e3['type']]||_0x296554)(_0x50452d,_0x12d5e3['name'],_0x12d5e3['attributes'],_0x21e84b);}}class J{['init'](_0x36c4bc){this['source']=_0x36c4bc;const _0x44c39a=new Map(),_0x16aca5=new Map(),_0x14c44c=this['editor']['model']['document']['roots']['map'](_0x53163d=>_0x53163d['rootName']);for(const _0x17bf9e of _0x14c44c){const _0x5c7a98=this['editor']['model']['document']['getRoot'](_0x17bf9e),_0x5e385f=q(_0x5c7a98);_0x44c39a['set'](_0x17bf9e,_0x5e385f),_0x16aca5['set'](_0x17bf9e,Object['fromEntries'](_0x5c7a98['getAttributes']()));}const _0xaf8088=Array['from'](this['editor']['model']['markers'])['map'](_0xade05a=>[_0xade05a['name'],_0xade05a['getRange']()]),_0x15055d=this['source']['version'];this['_saveMetaData'](_0x15055d,_0x44c39a,_0xaf8088,_0x16aca5),this['_startingRevisionId']=this['_revisionId'];const _0x22e337=new Map(),_0x4bb188=new Map();for(const _0xc0fac0 of _0x14c44c){const _0x18c7ca=G(_0xc0fac0);_0x22e337['set'](_0xc0fac0,_0x18c7ca),_0x4bb188['set'](_0xc0fac0,{});}this['_saveMetaData'](Number['NEGATIVE_INFINITY'],_0x22e337,[],_0x4bb188);}['getData'](_0x11bf2b,_0x3d95b9){if(this['_lastFrom']===_0x11bf2b&&this['_lastTo']<=_0x3d95b9)this['_savedMetaData']['size']>0x1&&this['_removeMetaData'](this['_lastTo']),this['_applyOperations'](this['_lastTo'],_0x3d95b9,!0x0);else{if(!this['_savedMetaData']['has'](_0x11bf2b)){const _0x31d7cb=this['_getPreviousFrom'](_0x11bf2b);this['_calculateMetaData'](_0x31d7cb,_0x11bf2b,!0x1);}this['_calculateMetaData'](_0x11bf2b,_0x3d95b9,!0x0);}return this['_lastFrom']=_0x11bf2b,this['_lastTo']=_0x3d95b9,this['_getState']();}['loadState'](_0x5d653a){this['_reset'](),this['_lastFrom']=_0x5d653a['fromVersion'],this['_lastTo']=_0x5d653a['toVersion'];for(const _0x1394a9 in _0x5d653a['diffData']){const _0x24138c=_0x5d653a['diffData'][_0x1394a9]['attachChange'],_0x41c2bd=_0x3ad142(_0x5d653a['diffData'][_0x1394a9]['attributesBefore'])||{},_0x29cb1e=this['_makeModelFromViewString'](_0x5d653a['diffData'][_0x1394a9]['deletions']);_0x29cb1e['rootName']=_0x1394a9,_0x29cb1e['_isAttached']=!_0x24138c||!_0x24138c['isAttached'],_0x29cb1e['isAttached']=()=>_0x29cb1e['_isAttached'],this['_baseRoots']['set'](_0x1394a9,_0x29cb1e),this['_baseRootsAttributes']['set'](_0x1394a9,_0x41c2bd),_0x24138c&&this['_touchedRoots']['set'](_0x1394a9,_0x24138c);const _0x57174d=this['_makeIdsRoot'](_0x29cb1e);this['_baseIdsRoots']['set'](_0x1394a9,_0x57174d);for(const [_0x32acf4,_0x552543]of _0x29cb1e['markers']){if(!_0x32acf4['startsWith']('revision:'))continue;const _0x59ff88=_0x32acf4['split'](':')[0x2];for(const _0x5d97bb of _0x552543['getWalker']({'singleCharacters':!0x0})){const _0x4eb9c1=this['_getVidAttributeName'](_0x5d97bb),_0x375860='elementEnd'==_0x5d97bb['type']?_0x5d97bb['previousPosition']['path']['slice'](0x0,-0x1):_0x5d97bb['previousPosition']['path'],_0x549d79=_0x57174d['getNodeByPath'](_0x375860)['getAttribute'](_0x4eb9c1);this['_touched']['set'](_0x549d79,{'userId':_0x59ff88});}}}this['_startingRevisionId']=this['_revisionId'];const _0x543421=[...Array(this['_revisionId'])['keys']()]['slice'](0x1)['filter'](_0x21f896=>!this['_touched']['has'](_0x21f896));let _0x35f009=0x0;const _0x5379=new Map();for(const _0x272437 in _0x5d653a['diffData']){const _0x15f434=_0x5d653a['diffData'][_0x272437]['attachChange'],_0x1b803d=_0x3ad142(_0x5d653a['diffData'][_0x272437]['attributesAfter'])||{},_0x337945=this['_makeModelFromViewString'](_0x5d653a['diffData'][_0x272437]['insertions']);_0x337945['rootName']=_0x272437,_0x337945['_isAttached']=!_0x15f434||_0x15f434['isAttached'],_0x337945['isAttached']=()=>_0x337945['_isAttached'],this['_diffRoots']['set'](_0x272437,_0x337945),this['_diffRootsAttributes']['set'](_0x272437,_0x1b803d);const _0x4185ce=this['_makeIdsRoot'](_0x337945,Number['NEGATIVE_INFINITY']);this['_idsRoots']['set'](_0x272437,_0x4185ce),_0x5379['set'](_0x272437,_0x337945['isAttached']()?_0x1b803d:{});for(const [_0x28b7e2,_0x4a8826]of _0x337945['markers']){if(!_0x28b7e2['startsWith']('revision:'))continue;const _0x1e8683=_0x28b7e2['split'](':')[0x2];for(const _0x45eff8 of _0x4a8826['getWalker']({'singleCharacters':!0x0})){const _0x148755=this['_getVidAttributeName'](_0x45eff8),_0x283f18=this['_revisionId']++,_0x16d56c='elementEnd'==_0x45eff8['type']?_0x45eff8['previousPosition']['path']['slice'](0x0,-0x1):_0x45eff8['previousPosition']['path'];_0x4185ce['getNodeByPath'](_0x16d56c)['_setAttribute'](_0x148755,_0x283f18),this['_touched']['set'](_0x283f18,{'userId':_0x1e8683});}}for(const _0x14973d of this['editor']['model']['createRangeIn'](_0x337945)['getWalker']({'singleCharacters':!0x0})){const _0x2f1f67=this['_getVidAttributeName'](_0x14973d),_0xae75fb='elementEnd'==_0x14973d['type']?_0x14973d['previousPosition']['path']['slice'](0x0,-0x1):_0x14973d['previousPosition']['path'],_0x2ec5ba=_0x4185ce['getNodeByPath'](_0xae75fb);_0x2ec5ba['getAttribute'](_0x2f1f67)>0x0||_0x2ec5ba['_setAttribute'](_0x2f1f67,_0x543421[_0x35f009++]);}for(const [_0x118acb,_0x5ebea8]of _0x337945['markers'])_0x118acb['startsWith']('revision:')||this['_markers']['set'](_0x118acb,_0x5ebea8);}const _0x5e0954=G('$graveyard');this['_baseRoots']['set']('$graveyard',_0x5e0954),this['_baseIdsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x5e0954,0x1));const _0x500b97=G('$graveyard');this['_diffRoots']['set']('$graveyard',_0x500b97),this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x500b97,0x1));const _0x322ad0=Array['from'](this['_diffRoots'])['map'](([_0x6afbb,_0x1e3e75])=>[_0x6afbb,q(_0x1e3e75)]);this['_saveMetaData'](this['_lastTo'],_0x322ad0,this['_markers'],_0x5379);}['_makeModelFromViewString'](_0x24a305){const _0x975402=JSON['parse'](_0x24a305),_0x377992=this['editor']['editing']['view']['document'],_0x5920b3=new _0x2714a1(_0x377992,_0x975402['map'](_0x3ff85a=>B(_0x3ff85a,this['editor'])));return this['editor']['data']['toModel'](_0x5920b3);}['_saveMetaData'](_0x1c4eb6,_0xc10477,_0x5939b5,_0x155317){const _0x50340d=new Map(_0xc10477),_0x2049d7=new Map(_0x3ad142(_0x155317)),_0xe920a3=new Map();for(const [_0x5bf8eb,_0x296250]of _0x5939b5)_0xe920a3['set'](_0x5bf8eb,{'start':_0x296250['start']['clone'](),'end':_0x296250['end']['clone'](),'rootName':_0x296250['root']['rootName']});this['_savedMetaData']['set'](_0x1c4eb6,{'roots':_0x50340d,'markers':_0xe920a3,'rootsAttributes':_0x2049d7});}['_removeMetaData'](_0x3cdee6){this['_savedMetaData']['delete'](_0x3cdee6);}['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'](_0x1bfa7d,_0x13cc21=null){let _0x515017=null;_0x1bfa7d['is']('documentFragment')||(_0x515017=new ft(_0x1bfa7d['name'],{'vid_start':null===_0x13cc21?this['_revisionId']++:_0x13cc21++}));const _0x10fc57=[];for(const _0x13f534 of _0x1bfa7d['getChildren']())if(_0x13f534['is']('element')){_0x10fc57['push'](this['_makeIdsRoot'](_0x13f534,_0x13cc21));const _0x26032a=_0x10fc57[_0x10fc57['length']-0x1];null!==_0x13cc21&&(_0x13cc21=_0x26032a['is']('element','$text')?_0x26032a['getAttribute']('vid')+0x1:_0x26032a['getAttribute']('vid_end')+0x1);}else{for(let _0x4e1249=0x0;_0x4e1249<_0x13f534['offsetSize'];_0x4e1249++)_0x10fc57['push'](new ft('$text',{'vid':null===_0x13cc21?this['_revisionId']++:_0x13cc21++}));}if(_0x1bfa7d['is']('documentFragment')){const _0x25c62d=G(_0x1bfa7d['rootName']);return _0x25c62d['_insertChild'](0x0,_0x10fc57),_0x25c62d;}return _0x515017['_setAttribute']('vid_end',null===_0x13cc21?this['_revisionId']++:_0x13cc21++),_0x515017['_insertChild'](0x0,_0x10fc57),_0x515017;}['_calculateMetaData'](_0x260565,_0x5aa13f,_0x922654){this['_reset']();const {roots:_0x30c033,markers:_0x1ee538,rootsAttributes:_0x130d3c}=this['_savedMetaData']['get'](_0x260565);this['_baseRoots']=new Map(_0x30c033),this['_baseRootsAttributes']=new Map(_0x3ad142(_0x130d3c));for(const [_0x157025,_0x3b9acc]of this['_baseRoots'])if('$graveyard'!==_0x157025&&(this['_diffRoots']['set'](_0x157025,q(_0x3b9acc)),this['_diffRootsAttributes']=new Map(_0x3ad142(_0x130d3c)),_0x922654)){const _0x149515=this['_revisionId'];this['_idsRoots']['set'](_0x157025,this['_makeIdsRoot'](_0x3b9acc)),this['_baseIdsRoots']['set'](_0x157025,this['_makeIdsRoot'](_0x3b9acc,_0x149515));}this['_startingRevisionId']=this['_revisionId'],this['_diffRoots']['set']('$graveyard',q(this['_baseRoots']['get']('$graveyard'))),_0x922654&&this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](this['_baseRoots']['get']('$graveyard')));for(const [_0x596ba0,_0xade9d9]of _0x1ee538){const _0x3eae21=this['_baseRoots']['get'](_0xade9d9['rootName']),_0x40a4ce=this['_diffRoots']['get'](_0xade9d9['rootName']),_0x3dc3f5=new gt(this['_fixPosition'](_0xade9d9['start'],_0x3eae21),this['_fixPosition'](_0xade9d9['end'],_0x3eae21)),_0x75545d=this['_fixRange'](_0x3dc3f5,_0x40a4ce);_0x3eae21['markers']['set'](_0x596ba0,_0x3dc3f5),this['_markers']['set'](_0x596ba0,_0x75545d);}this['_applyOperations'](_0x260565,_0x5aa13f,_0x922654);}['_applyOperations'](_0xbe48c2,_0x3ed008,_0xa6b12d){for(const _0x29bce8 of this['source']['getOperations'](_0xbe48c2,_0x3ed008))this['_handleOperation'](_0x29bce8,_0xa6b12d);for(const _0x4ca5a3 of this['_diffRoots']['values']())_0x4ca5a3['markers']['clear']();for(const [_0x57f29e,_0x47597b]of this['_markers']){this['_diffRoots']['get'](_0x47597b['root']['rootName'])['markers']['set'](_0x57f29e,_0x47597b['clone']());}const _0x19f2fc=new Map(),_0x3498c7=new Map();for(const [_0x189cb2,_0x229996]of this['_diffRoots'])_0x19f2fc['set'](_0x189cb2,q(_0x229996)),_0x3498c7['set'](_0x189cb2,this['_diffRootsAttributes']['get'](_0x189cb2));this['_saveMetaData'](_0x3ed008,_0x19f2fc,this['_markers'],_0x3498c7);}['_getPreviousFrom'](_0x550d52){const _0x30af3b=Array['from'](this['_savedMetaData']['keys']());_0x30af3b['sort']((_0x25e191,_0x29d8d6)=>_0x25e191-_0x29d8d6),_0x30af3b['reverse']();for(const _0xbe8299 of _0x30af3b)if(_0xbe8299<_0x550d52)return _0xbe8299;return Number['NEGATIVE_INFINITY'];}['_copyMarkers'](_0x1c7499,_0x445ccb){const _0x409a26=Array['from'](_0x445ccb['markers'])['map'](([_0xf00dc2,_0x308122])=>[_0xf00dc2,this['_fixRange'](_0x308122,_0x1c7499)]);_0x1c7499['markers']=new Map(_0x409a26);}['_transformMarkers'](_0x3dfcfd){for(const _0x36b51d of this['_markers']['values']()){const _0x1e8697=_0x36b51d['getTransformedByOperation'](_0x3dfcfd),_0x2134fb=gt['_createFromRanges'](_0x1e8697);_0x36b51d['start']=_0x2134fb['start'],_0x36b51d['end']=_0x2134fb['end'];}}['_handleOperation'](_0x5e20d7,_0x19614d){if('addRoot'==_0x5e20d7['type']||'detachRoot'==_0x5e20d7['type'])return void this['_handleRootOperation'](_0x5e20d7,_0x19614d);if('insert'==_0x5e20d7['type']){const _0x1639cc=_0x5e20d7['position']['root']['rootName'];this['_diffRoots']['has'](_0x1639cc)||(this['_diffRoots']['set'](_0x1639cc,G(_0x1639cc,!0x0)),this['_diffRootsAttributes']['set'](_0x1639cc,{}),_0x19614d&&this['_idsRoots']['set'](_0x1639cc,G(_0x1639cc,!0x0)));}else{if('addRootAttribute'==_0x5e20d7['type']||'removeRootAttribute'==_0x5e20d7['type']||'changeRootAttribute'==_0x5e20d7['type'])return void this['_handleRootAttributeOperation'](_0x5e20d7);}const _0x2efd2b=this['_cloneOperation'](_0x5e20d7,this['_diffRoots']);if('marker'!==_0x5e20d7['type']&&(_0x2efd2b['_execute'](),this['_transformMarkers'](_0x2efd2b)),_0x19614d)switch(_0x2efd2b['type']){case'insert':this['_handleInsertOperation'](_0x5e20d7);break;case'move':case'remove':case'reinsert':this['_handleMoveOperation'](_0x5e20d7);break;case'merge':this['_handleMergeOperation'](_0x5e20d7);break;case'split':this['_handleSplitOperation'](_0x5e20d7);break;case'marker':this['_handleMarkerOperation'](_0x5e20d7);}}['_cloneOperation'](_0x45f79c,_0x53bb4d){const _0x1cd8f1=_0x45f79c['clone']();return _0x1cd8f1['_authorId']=_0x45f79c['_authorId'],this['_fixOperation'](_0x1cd8f1,_0x53bb4d),_0x1cd8f1;}['_getBaseVids'](_0x551e0f){return _0x551e0f['map'](_0x256237=>{const _0x3ea8af=this['_getVidAttributeName'](_0x256237);return Number(_0x256237['item']['getAttribute'](_0x3ea8af));});}['_generateTape'](_0x5a123d,_0x9b9966){if(_0x5a123d['is']('element','$text'))_0x9b9966['push']({'item':_0x5a123d,'type':'text'});else{_0x5a123d['is']('element')&&_0x9b9966['push']({'item':_0x5a123d,'type':'elementStart'});for(const _0x26eb98 of _0x5a123d['getChildren']())this['_generateTape'](_0x26eb98,_0x9b9966);_0x5a123d['is']('element')&&_0x9b9966['push']({'item':_0x5a123d,'type':'elementEnd'});}return _0x9b9966;}['_getState'](){const _0x3c4947=new Map(this['_touched']),_0x16c0e8=new Map(_0x3c4947),_0x110203=new Map(),_0x100fec={'insertions':{},'deletions':{}},_0x4903e0={'insertions':{},'deletions':{}},_0x518beb=new Map(),_0x1ab88f=new Set([...this['_baseRoots']['keys'](),...this['_diffRoots']['keys']()]);_0x1ab88f['delete']('$graveyard');for(const _0x53a246 of _0x1ab88f){const _0x3dda32=this['_diffRoots']['get'](_0x53a246)||G(_0x53a246,!0x1),_0x3acc8a=this['_baseRoots']['get'](_0x53a246)||G(_0x53a246,!0x1);_0x3dda32['isAttached']()||_0x3acc8a['isAttached']()?(_0x100fec['insertions'][_0x53a246]=q(_0x3dda32),_0x100fec['deletions'][_0x53a246]=q(_0x3acc8a),this['_copyMarkers'](_0x100fec['deletions'][_0x53a246],_0x3acc8a),this['_copyMarkers'](_0x100fec['insertions'][_0x53a246],_0x3dda32),_0x4903e0['insertions'][_0x53a246]=this['_generateTape'](this['_idsRoots']['get'](_0x53a246),[]),_0x4903e0['deletions'][_0x53a246]=this['_generateTape'](this['_baseIdsRoots']['get'](_0x53a246)||G(_0x53a246,!0x1),[])):_0x1ab88f['delete'](_0x53a246);}for(const _0x252748 of _0x1ab88f){const _0x1d75b3=_0x4903e0['insertions'][_0x252748];for(const _0x295e82 of _0x1d75b3){const _0x43ba3d=this['_getVidAttributeName'](_0x295e82),_0x622d2=_0x295e82['item']['getAttribute'](_0x43ba3d);_0x16c0e8['delete'](_0x622d2),_0x622d2>=this['_startingRevisionId']&&_0x110203['set'](_0x622d2,_0x3c4947['get'](_0x622d2));}}for(const _0x1fd5dc of _0x1ab88f){const _0xd56adc=_0x4903e0['insertions'][_0x1fd5dc],_0x4c7d49=this['_getBaseVids'](_0x4903e0['deletions'][_0x1fd5dc]);let _0x3c1668=0x0;for(const _0x10c2aa of _0xd56adc){const _0x927993=this['_getVidAttributeName'](_0x10c2aa),_0xb7cee4=_0x10c2aa['item']['getAttribute'](_0x927993);if(!_0x110203['has'](_0xb7cee4)&&!_0x518beb['has'](_0xb7cee4)){if(_0x16c0e8['has'](_0xb7cee4))_0x3c1668++;else{if(_0xb7cee4!=_0x4c7d49[_0x3c1668]){const _0x4b0e2d=_0x3c4947['get'](_0xb7cee4)||_0x3c4947['get'](_0x4c7d49[_0x3c1668]);for(;_0xb7cee4!=_0x4c7d49[_0x3c1668];)_0x16c0e8['has'](_0x4c7d49[_0x3c1668])||(_0x518beb['set'](_0x4c7d49[_0x3c1668],_0x4b0e2d),_0x3c4947['set'](_0x4c7d49[_0x3c1668],_0x4b0e2d)),_0x3c1668++;}_0x3c1668++;}}}}for(const _0x301d0f of _0x1ab88f){const _0x2184e2=_0x4903e0['insertions'][_0x301d0f];for(const _0x384fa6 of _0x2184e2){const _0x3310d3=this['_getVidAttributeName'](_0x384fa6),_0x4b4578=_0x384fa6['item']['getAttribute'](_0x3310d3);if(_0x518beb['has'](_0x4b4578)){const _0x3429d4=_0x518beb['get'](_0x4b4578);_0x16c0e8['has'](_0x4b4578)||_0x16c0e8['set'](_0x4b4578,{..._0x3429d4}),_0x110203['set'](_0x4b4578,{..._0x3429d4});}}}for(const _0x2b1f10 of _0x16c0e8['keys']())_0x2b1f10>=this['_startingRevisionId']&&_0x16c0e8['delete'](_0x2b1f10);const _0x387a26=new Map();for(const _0x518379 of _0x1ab88f){let _0xc5e1a9=_0x4903e0['insertions'][_0x518379];for(const _0x7ff858 of _0xc5e1a9)if(_0x7ff858['item']['is']('element','tableCell')){const _0x41f8f2=this['_getVidAttributeName'](_0x7ff858),_0x4916af=_0x7ff858['item']['getAttribute'](_0x41f8f2);if(_0x110203['has'](_0x4916af)){const _0x1616d3=_0x7ff858['item']['parent']['parent']['getAttribute']('vid_start'),_0x38f6c2=_0x387a26['get'](_0x1616d3)||new Set();_0x38f6c2['add'](_0x110203['get'](_0x4916af)['userId']),_0x387a26['set'](_0x1616d3,_0x38f6c2);}}_0xc5e1a9=_0x4903e0['deletions'][_0x518379];for(const _0x392bb9 of _0xc5e1a9)if(_0x392bb9['item']['is']('element','tableCell')){const _0x4a0786=this['_getVidAttributeName'](_0x392bb9),_0x44d868=_0x392bb9['item']['getAttribute'](_0x4a0786);if(_0x16c0e8['has'](_0x44d868)){const _0x2b963c=_0x392bb9['item']['parent']['parent']['getAttribute']('vid_start'),_0x5a4688=_0x387a26['get'](_0x2b963c)||new Set();_0x5a4688['add'](_0x16c0e8['get'](_0x44d868)['userId']),_0x387a26['set'](_0x2b963c,_0x5a4688);}}for(const _0x2eba54 of _0x387a26['keys']())(_0x110203['has'](_0x2eba54)||_0x16c0e8['has'](_0x2eba54))&&_0x387a26['delete'](_0x2eba54);}for(const _0x1cae8c of _0x1ab88f){const _0x550700=_0x4903e0['insertions'][_0x1cae8c];let _0x52f015=null,_0x1259f8=null;for(const _0x5b6f05 of _0x550700){const _0x2474ea=this['_getVidAttributeName'](_0x5b6f05),_0x2356b1=_0x5b6f05['item']['getAttribute'](_0x2474ea),_0x5cbcf4=_0x387a26['get'](_0x2356b1);_0x5cbcf4&&'elementStart'==_0x5b6f05['type']&&(_0x52f015=Array['from'](_0x5cbcf4)[0x0],_0x1259f8=_0x5b6f05['item']['getAttribute']('vid_end')),_0x52f015&&(_0x16c0e8['set'](_0x2356b1,{'userId':_0x52f015}),_0x110203['set'](_0x2356b1,{'userId':_0x52f015})),_0x2356b1==_0x1259f8&&(_0x52f015=null,_0x1259f8=null);}}const _0x527731={},_0x2c70c7=new Set();for(const _0x305ac3 of _0x1ab88f){const _0x528f6a=_0x100fec['deletions'][_0x305ac3],_0x404116=_0x100fec['insertions'][_0x305ac3];for(const {userId:_0x496e7d}of this['_touchedMarkers']['values']())null!==_0x496e7d&&_0x2c70c7['add'](_0x496e7d);for(const {userId:_0x48b8fb}of this['_touchedRoots']['values']())null!==_0x48b8fb&&_0x2c70c7['add'](_0x48b8fb);this['_markChanges'](_0x404116,_0x4903e0['insertions'][_0x305ac3],_0x110203,'insertion',_0x2c70c7),this['_markChanges'](_0x528f6a,_0x4903e0['deletions'][_0x305ac3],_0x16c0e8,'deletion',_0x2c70c7),_0x527731[_0x305ac3]={'insertions':this['_prepareViewToSave'](_0x404116),'deletions':this['_prepareViewToSave'](_0x528f6a),'attachChange':this['_touchedRoots']['get'](_0x305ac3)||null,'attributesBefore':_0x3ad142(this['_baseRootsAttributes']['get'](_0x305ac3))||{},'attributesAfter':_0x3ad142(this['_diffRootsAttributes']['get'](_0x305ac3))};}return{'diffData':_0x527731,'authorsIds':Array['from'](_0x2c70c7)};}['_processRootBeforeSave'](_0xd79c96){for(const [,_0x304fc0]of _0xd79c96['markers']){const _0x1b1799=_0x304fc0['start']['getAncestors']()['filter'](_0x56805c=>'tableCell'==_0x56805c['name']);for(const _0x22abfb of _0x1b1799)0x1==_0x22abfb['childCount']&&_0x22abfb['getChild'](0x0)['is']('element','paragraph')&&_0x22abfb['getChild'](0x0)['_setAttribute']('keepParagraph',!0x0);}}['_prepareViewToSave'](_0x2ba139){this['_processRootBeforeSave'](_0x2ba139);const _0x1bfeaf=this['editor']['data']['toView'](_0x2ba139,{}),_0x38e49d=Array['from'](_0x1bfeaf['getChildren']())['map'](_0x3491a2=>this['_getViewJson'](_0x3491a2));return JSON['stringify'](_0x38e49d);}['_getViewJson'](_0x28ea47){if(_0x28ea47['is']('$text'))return _0x28ea47['data'];{const _0x5e92c3=_0x28ea47;return{'type':Object['keys'](T)['find'](_0x53c0ac=>_0x28ea47 instanceof T[_0x53c0ac]),'name':_0x5e92c3['name'],'attributes':Array['from'](_0x5e92c3['getAttributes']()),'children':Array['from'](_0x5e92c3['getChildren']())['map'](_0x599db6=>this['_getViewJson'](_0x599db6))};}}['_markChanges'](_0x51730a,_0x5d8660,_0x2eeb89,_0x39d49a,_0x37f390){let _0x138dbe=null,_0x49801a=null,_0x4588c5=0x0;const _0x3f1342=this['editor']['model'];for(let _0x4afb25=0x0;_0x4afb25<_0x5d8660['length'];_0x4afb25++){const _0x5825f4=this['_getVidAttributeName'](_0x5d8660[_0x4afb25]),_0xc398b=_0x5d8660[_0x4afb25]['item']['getAttribute'](_0x5825f4),_0x5057cd=_0x2eeb89['get'](_0xc398b),_0x189744=_0x4afb25==_0x5d8660['length']-0x1;(!_0x138dbe&&_0x5057cd&&(_0x138dbe=_0x5057cd,_0x49801a=_0x5d8660[_0x4afb25]),_0x138dbe&&(!_0x5057cd||_0x5057cd['userId']!=_0x138dbe['userId']))&&(_0x20a426(_0x5057cd,L(_0x49801a,_0x51730a,_0x3f1342),L(_0x5d8660[_0x4afb25],_0x51730a,_0x3f1342)),_0x138dbe=_0x5057cd||null,_0x49801a=_0x5057cd?_0x5d8660[_0x4afb25]:null),_0x138dbe&&_0x189744&&_0x20a426(_0x5057cd,L(_0x49801a,_0x51730a,_0x3f1342),W(_0x5d8660[_0x4afb25],_0x51730a,_0x3f1342));}function _0x20a426(_0x2586eb,_0x40971a,_0x203ca2){const _0x4dce21=_0x138dbe['userId'],_0xd73e0b='revision:'+_0x39d49a+':'+_0x4dce21+':'+_0x4588c5++,_0x53c5ec=_0x3f1342['createRange'](_0x40971a,_0x203ca2);_0x51730a['markers']['set'](_0xd73e0b,_0x53c5ec),null!==_0x4dce21&&_0x37f390['add'](_0x4dce21);}}['_getVidAttributeName'](_0xf454a){switch(_0xf454a['type']){case'elementStart':return'vid_start';case'elementEnd':return'vid_end';default:return'vid';}}['_fixOperation'](_0x5a5e23,_0x3a0ea5){_0x5a5e23['baseVersion']=null;for(const _0x123773 in _0x5a5e23){const _0x3303af=_0x5a5e23[_0x123773];if(_0x3303af instanceof wt){const _0x5812a3=_0x3a0ea5['get'](_0x3303af['root']['rootName']);_0x5a5e23[_0x123773]=this['_fixPosition'](_0x3303af,_0x5812a3);}if(_0x3303af instanceof gt){const _0x14c61e=_0x3a0ea5['get'](_0x3303af['root']['rootName']);_0x5a5e23[_0x123773]=this['_fixRange'](_0x3303af,_0x14c61e);}'root'===_0x123773&&(_0x5a5e23['root']=_0x3a0ea5['get'](_0x5a5e23['root']['rootName']));}}['_fixRange'](_0x3ad55f,_0x25c939){return this['editor']['model']['createRange'](this['_fixPosition'](_0x3ad55f['start'],_0x25c939),this['_fixPosition'](_0x3ad55f['end'],_0x25c939));}['_fixPosition'](_0x1d2351,_0x7e8089){return this['editor']['model']['createPositionFromPath'](_0x7e8089,_0x1d2351['path'],_0x1d2351['stickiness']);}['_handleInsertOperation'](_0x2a67ff){const _0x3d7db3=this['_idsRoots']['get'](_0x2a67ff['position']['root']['rootName']),_0x3d751d=this['_fixPosition'](_0x2a67ff['position'],_0x3d7db3),_0x3495dd=null===_0x2a67ff['_authorId']?null:_0x2a67ff['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x5617e9=_0x3d751d['parent'],_0x4ab67c=this['_revisionId'],_0x344117=[];for(const _0x30dd06 of _0x2a67ff['nodes'])if(_0x30dd06['is']('element'))_0x344117['push'](this['_makeIdsRoot'](_0x30dd06));else{for(let _0x34bfb3=0x0;_0x34bfb3<_0x30dd06['offsetSize'];_0x34bfb3++)_0x344117['push'](new ft('$text',{'vid':this['_revisionId']++}));}const _0x3db0ce=this['_revisionId'];for(let _0x8c4568=_0x4ab67c;_0x8c4568<_0x3db0ce;_0x8c4568++)this['_touched']['set'](_0x8c4568,{'userId':_0x3495dd});_0x5617e9['_insertChild'](_0x3d751d['offset'],_0x344117);}['_handleMoveOperation'](_0x594327){(_0x594327=this['_cloneOperation'](_0x594327,this['_idsRoots']))['_execute']();const _0x111cea=null===_0x594327['_authorId']?null:_0x594327['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x3819f3=_0x594327['getMovedRangeStart'](),_0x47bf93=_0x3819f3['parent'],_0x1eb87b=_0x3819f3['offset'];!function _0x5f1cb6(_0x2c0e3e,_0x5f1691,_0xba9b7f,_0x50e6eb){for(let _0x36e433=_0xba9b7f;_0x36e433<_0x50e6eb;_0x36e433++){const _0x56a22c=_0x5f1691['getChild'](_0x36e433);_0x56a22c['is']('element','$text')?_0x2c0e3e['set'](_0x56a22c['getAttribute']('vid'),{'userId':_0x111cea}):(_0x2c0e3e['set'](_0x56a22c['getAttribute']('vid_start'),{'userId':_0x111cea}),_0x5f1cb6(_0x2c0e3e,_0x56a22c,0x0,_0x56a22c['childCount']),_0x2c0e3e['set'](_0x56a22c['getAttribute']('vid_end'),{'userId':_0x111cea}));}}(this['_touched'],_0x47bf93,_0x1eb87b,_0x1eb87b+_0x594327['howMany']);}['_handleMergeOperation'](_0x40c3e4){const _0x4720db=null===(_0x40c3e4=this['_cloneOperation'](_0x40c3e4,this['_idsRoots']))['_authorId']?null:_0x40c3e4['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x1ca75e=_0x40c3e4['targetPosition']['parent'],_0x10d096=_0x40c3e4['sourcePosition']['parent'],_0x17f881=_0x1ca75e['getAttribute']('vid_end'),_0x3ac1ec=_0x10d096['getAttribute']('vid_start');_0x1ca75e['_setAttribute']('vid_end',_0x10d096['getAttribute']('vid_end')),_0x10d096['_setAttribute']('vid_end',_0x17f881),this['_touched']['set'](_0x3ac1ec,{'userId':_0x4720db}),this['_touched']['set'](_0x17f881,{'userId':_0x4720db}),_0x40c3e4['_execute']();}['_handleSplitOperation'](_0x341000){const _0x1ef037=null===(_0x341000=this['_cloneOperation'](_0x341000,this['_idsRoots']))['_authorId']?null:_0x341000['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0xf36e26=_0x341000['graveyardPosition'],_0x10cf64=_0x341000['splitPosition']['parent'];_0x341000['_execute']();const _0x30cd03=_0x10cf64['getAttribute']('vid_end'),_0xfdc68b=_0x341000['insertionPosition']['nodeAfter'];if(_0xf36e26){const _0x2b55af=_0xfdc68b['getAttribute']('vid_end'),_0x28beab=_0x10cf64['getAttribute']('vid_end');_0x10cf64['_setAttribute']('vid_end',_0x2b55af),_0xfdc68b['_setAttribute']('vid_end',_0x28beab),this['_touched']['set'](_0x10cf64['getAttribute']('vid_end'),{'userId':_0x1ef037}),this['_touched']['set'](_0xfdc68b['getAttribute']('vid_start'),{'userId':_0x1ef037});}else{const _0x113e98=this['_revisionId']++,_0x1b5bf0=this['_revisionId']++;_0x10cf64['_setAttribute']('vid_end',_0x113e98),_0xfdc68b['_setAttribute']('vid_start',_0x1b5bf0),_0xfdc68b['_setAttribute']('vid_end',_0x30cd03),this['_touched']['set'](_0x113e98,{'userId':_0x1ef037}),this['_touched']['set'](_0x1b5bf0,{'userId':_0x1ef037});}}['_handleMarkerOperation'](_0x2ac8ae){if(!_0x2ac8ae['affectsData'])return;const _0x467c92=(_0x2ac8ae=this['_cloneOperation'](_0x2ac8ae,this['_diffRoots']))['oldRange']?_0x2ac8ae['oldRange']['root']:null,_0xa6225a=_0x2ac8ae['newRange']?_0x2ac8ae['newRange']['root']:null;_0x467c92&&this['_markers']['delete'](_0x2ac8ae['name']),_0xa6225a&&this['_markers']['set'](_0x2ac8ae['name'],_0x2ac8ae['newRange']['clone']());const _0x213472=null===_0x2ac8ae['_authorId']?null:_0x2ac8ae['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x40fff5=_0x2ac8ae['name'];if(!this['_touchedMarkers']['has'](_0x40fff5))return void this['_touchedMarkers']['set'](_0x40fff5,{'range':_0x2ac8ae['oldRange'],'userId':_0x213472});const _0x36bc0a=this['_touchedMarkers']['get'](_0x40fff5),_0x150788=_0x36bc0a['range'],_0x3352fc=_0x2ac8ae['newRange'];null==_0x150788&&null==_0x3352fc||_0x150788&&_0x3352fc&&_0x150788['isEqual'](_0x3352fc)?this['_touchedMarkers']['delete'](_0x2ac8ae['name']):_0x36bc0a['userId']=_0x213472;}['_handleRootOperation'](_0x318c22,_0x7f9023){this['_diffRoots']['has'](_0x318c22['rootName'])?this['_diffRoots']['get'](_0x318c22['rootName'])['_isAttached']=_0x318c22['isAdd']:(this['_diffRoots']['set'](_0x318c22['rootName'],G(_0x318c22['rootName'],!0x0)),this['_diffRootsAttributes']['set'](_0x318c22['rootName'],{}),_0x7f9023&&this['_idsRoots']['set'](_0x318c22['rootName'],G(_0x318c22['rootName'],!0x0)));const _0x43881c=null===_0x318c22['_authorId']?null:_0x318c22['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x43bebf=this['_touchedRoots']['get'](_0x318c22['rootName']);_0x43bebf&&_0x43bebf['userId']===_0x43881c?this['_touchedRoots']['delete'](_0x318c22['rootName']):this['_touchedRoots']['set'](_0x318c22['rootName'],{'userId':_0x43881c,'isAttached':_0x318c22['isAdd']});}['_handleRootAttributeOperation'](_0x8c3cfe){const _0x506bcc=this['_diffRootsAttributes']['get'](_0x8c3cfe['root']['rootName']);null===_0x8c3cfe['newValue']?delete _0x506bcc[_0x8c3cfe['key']]:_0x506bcc[_0x8c3cfe['key']]=_0x8c3cfe['newValue'];}constructor(_0x14d615){this['editor']=_0x14d615,this['_savedMetaData']=new Map(),this['_lastFrom']=-0x1,this['_lastTo']=-0x1,this['_markers']=new Map(),this['_diffRoots']=new Map(),this['_diffRootsAttributes']=new Map(),this['_baseRoots']=new Map(),this['_baseRootsAttributes']=new Map(),this['_idsRoots']=new Map(),this['_baseIdsRoots']=new Map(),this['_touched']=new Map(),this['_touchedMarkers']=new Map(),this['_touchedRoots']=new Map(),this['_revisionId']=0x1;}}function q(_0x495d14){const _0xe9561f=G(_0x495d14['rootName'],_0x495d14['isAttached']());for(const _0x442f22 of _0x495d14['getChildren']()){const _0x10d76a=_0x442f22['_clone'](!0x0);_0xe9561f['_appendChild'](_0x10d76a);}return _0xe9561f;}function G(_0x43b737,_0xfd294c=!0x0){const _0x1ae5b6=new _t();return _0x1ae5b6['rootName']=_0x43b737,_0x1ae5b6['_isAttached']=_0xfd294c,_0x1ae5b6['isAttached']=()=>_0x1ae5b6['_isAttached'],_0x1ae5b6;}function L(_0x4433cb,_0x12c544,_0x29bee1){const _0x4ff5b8='elementEnd'==_0x4433cb['type']?_0x29bee1['createPositionAt'](_0x4433cb['item'],'end'):_0x29bee1['createPositionBefore'](_0x4433cb['item']);return _0x29bee1['createPositionFromPath'](_0x12c544,_0x4ff5b8['path'],_0x4ff5b8['stickiness']);}function W(_0x58f91c,_0x3f2064,_0x4662eb){const _0x4cdf96='elementStart'==_0x58f91c['type']?_0x4662eb['createPositionAt'](_0x58f91c['item'],0x0):_0x4662eb['createPositionAfter'](_0x58f91c['item']);return _0x4662eb['createPositionFromPath'](_0x3f2064,_0x4cdf96['path'],_0x4cdf96['stickiness']);}class ns extends _0x796ce0{['render'](){super['render'](),_0x1cedc1({'view':this}),this['focusTracker']['add'](this['revisionNameInputView']['element']),this['keystrokes']['listenTo'](this['element']);const _0x3cefa4=_0x3275d9=>_0x3275d9['stopPropagation']();this['keystrokes']['set']('arrowright',_0x3cefa4),this['keystrokes']['set']('arrowleft',_0x3cefa4),this['keystrokes']['set']('arrowup',_0x3cefa4),this['keystrokes']['set']('arrowdown',_0x3cefa4);}['focus'](){this['revisionNameInputView']['focus']();}get['revisionName'](){return this['revisionNameInputView']['fieldView']['element']['value']['trim']();}set['revisionName'](_0x4c7e61){this['revisionNameInputView']['fieldView']['element']['value']=_0x4c7e61['trim']();}['reset'](){this['revisionNameInputView']['fieldView']['element']['value']='',this['revisionNameInputView']['errorText']=null;}['_createRevisionNameInput'](_0x27bbeb){const _0x15a327=new mt(this['locale'],_0x169543),_0x47fa6d=_0x15a327['fieldView'];_0x47fa6d['extendTemplate']({'attributes':{'maxlength':'220'}});let _0x26f4cd=y(this['locale'],'Name\x20of\x20the\x20revision');return!_0x27bbeb&&(_0x26f4cd+='\x20('+y(this['locale'],'optional')+')'),(_0x15a327['label']=_0x26f4cd,_0x47fa6d['on']('input',()=>{this['revisionNameInputValue']=_0x47fa6d['element']['value']['trim']();}),_0x15a327);}constructor(_0x5261b3,_0x3fe532){super(_0x5261b3),this['focusTracker']=new _0x521d29(),this['keystrokes']=new _0x5ce4a4(),this['set']('revisionNameInputValue',''),this['revisionNameInputView']=this['_createRevisionNameInput'](_0x3fe532),this['setTemplate']({'tag':'form','attributes':{'class':['ck','ck-revision-history-save-revision-form','ck-responsive-form'],'tabindex':'-1'},'children':[this['revisionNameInputView']]}),ts(this);}}class u extends _0x17c1cc{static get['pluginName'](){return'RevisionHistoryUI';}static get['requires'](){return[l];}['init'](){const _0x2bb3ba=this['editor'],_0x4f5fa4=_0x2bb3ba['plugins']['get']('RevisionTracker');_0x2bb3ba['ui']['componentFactory']['add']('revisionHistory',_0x39115b=>{const _0x54c1ad=_0x15005b(_0x39115b),_0x4f7906=_0x54c1ad['panelView']['children'],_0x563001=new te(_0x39115b),_0xcbee71=new _0x1448cd(_0x39115b),_0x332b7f=new _0x2e3682(_0x39115b),_0x2d2dee=new _0x1448cd(_0x39115b),_0x385f5b=new _0x2e3682(_0x39115b);return _0x54c1ad['bind']('isEnabled')['to'](_0x4f5fa4,'isReady',_0x4f5fa4,'isEnabled',_0x2bb3ba,'isReadOnly',(_0xbbdb56,_0x214395,_0x37af46)=>_0xbbdb56&&_0x214395&&!_0x37af46),_0x54c1ad['buttonView']['set']({'icon':_0x4df937['history'],'label':y(_0x39115b,'Revision\x20history'),'tooltip':!0x0}),_0x332b7f['set']({'label':y(_0x39115b,'Save\x20current\x20revision'),'withText':!0x0,'role':'menuitem'}),_0x332b7f['bind']('isEnabled')['to'](_0x4f5fa4,'isReady',_0x4f5fa4,'isEnabled',_0x2bb3ba,'isReadOnly',(_0x4be596,_0xdda658,_0x40141b)=>_0x4be596&&_0xdda658&&!_0x40141b),_0x332b7f['on']('execute',()=>this['_showDialog']()),_0x385f5b['set']({'label':y(_0x39115b,'Open\x20revision\x20history'),'withText':!0x0,'role':'menuitem'}),_0x385f5b['bind']('isEnabled')['to'](_0x4f5fa4,'isReady',_0x2bb3ba,'isReadOnly',(_0x32eb5b,_0x54c2d6)=>_0x32eb5b&&!_0x54c2d6),_0x385f5b['on']('execute',()=>{_0x2bb3ba['config']['get']('revisionHistory')['showRevisionViewerCallback'](),_0x54c1ad['isOpen']=!0x1,_0x2bb3ba['editing']['view']['focus']();}),_0xcbee71['children']['add'](_0x332b7f),_0x2d2dee['children']['add'](_0x385f5b),_0x563001['role']='menu',_0x563001['items']['addMany']([_0xcbee71,_0x2d2dee]),_0x4f7906['add'](_0x563001),_0x54c1ad;}),_0x2bb3ba['ui']['componentFactory']['add']('menuBar:revisionHistory',()=>this['_registerMenuComponent']());}['_registerMenuComponent'](){const _0xe9e979=this['editor'],_0x24405f=_0xe9e979['locale'],_0x5beec0=new _0x1c0a1b(_0x24405f),_0x1f5163=new _0x1a5d66(_0x24405f);_0x5beec0['buttonView']['set']({'icon':_0x4df937['history'],'label':y(_0x24405f,'Revision\x20history')});const _0x5a6691=new _0xacdda6(_0x24405f,_0x5beec0),_0x3935c3=new _0x30ab2a(_0x24405f);_0x3935c3['set']({'label':y(_0x24405f,'Save\x20current\x20revision')}),_0x3935c3['delegate']('execute')['to'](_0x5beec0),_0x3935c3['on']('execute',()=>{this['_showDialog']();}),_0x5a6691['children']['add'](_0x3935c3),_0x1f5163['items']['add'](_0x5a6691);const _0x1866af=new _0xacdda6(_0x24405f,_0x5beec0),_0x4735bb=new _0x30ab2a(_0x24405f);return _0x4735bb['set']({'label':y(_0x24405f,'Open\x20revision\x20history')}),_0x4735bb['delegate']('execute')['to'](_0x5beec0),_0x4735bb['on']('execute',()=>{_0xe9e979['config']['get']('revisionHistory')['showRevisionViewerCallback']();}),_0x1866af['children']['add'](_0x4735bb),_0x1f5163['items']['add'](_0x1866af),_0x5beec0['panelView']['children']['add'](_0x1f5163),_0x5beec0;}['_showDialog'](){const _0x71aa59=this['editor'],_0x1819a2=_0x71aa59['locale'],t=_0x1819a2['t'],_0x380216=_0x71aa59['plugins']['get']('Dialog'),_0x13989b=_0x71aa59['plugins']['get']('RevisionTracker');function _0x202ed2(_0x44c9ae){_0x71aa59['config']['get']('revisionHistory.requireRevisionName')&&''===_0x44c9ae['revisionName']?_0x44c9ae['revisionNameInputView']['errorText']=y(_0x1819a2,'The\x20revision\x20name\x20cannot\x20be\x20empty.'):(_0x71aa59['plugins']['get'](l)['saveRevision']({'name':_0x44c9ae['revisionName']}),_0x380216['hide']());}this['_saveRevisionFormView']||(this['_createSaveRevisionFormView'](),this['_saveRevisionFormView']['on']('submit',()=>_0x202ed2(this['_saveRevisionFormView']))),this['_saveRevisionFormView']['reset'](),_0x380216['show']({'id':'findAndReplace','title':y(_0x1819a2,'Save\x20current\x20revision'),'isModal':!0x0,'content':this['_saveRevisionFormView'],'actionButtons':[{'label':t('Cancel'),'withText':!0x0,'onExecute':()=>_0x380216['hide']()},{'label':t('Accept'),'class':'ck-button-action','withText':!0x0,'onCreate'(_0x157ea8){_0x157ea8['bind']('isEnabled')['to'](_0x13989b,'isReady',_0x13989b,'isEnabled',_0x71aa59,'isReadOnly',(_0x427833,_0x5d54a8,_0x4e1fdb)=>_0x427833&&_0x5d54a8&&!_0x4e1fdb);},'onExecute':()=>_0x202ed2(this['_saveRevisionFormView'])}]});}['_createSaveRevisionFormView'](){const _0x4d971c=this['editor'],_0x57e626=_0x4d971c['locale'];this['_saveRevisionFormView']=new ns(_0x57e626,_0x4d971c['config']['get']('revisionHistory.requireRevisionName')),this['_saveRevisionFormView']['render']();}}class Z extends _0x796ce0{['focus'](){this['element']['focus']();}constructor(_0x3b37f5,_0x479628){super(_0x3b37f5),this['_model']=_0x479628,this['changeId']=_0x479628['id'];const _0x48fe14=this['bindTemplate'],_0x2b4a84=y(_0x3b37f5,_0x479628['data']['isSuggestion']?'Suggested\x20by':'add'==_0x479628['type']?'Added\x20by':'Removed\x20by');this['set']('type',_0x479628['type']),this['setTemplate']({'tag':'div','attributes':{'class':['ck-annotation','ck-revision-change',_0x48fe14['to']('type',_0x32b0a9=>'ck-revision-change__'+_0x32b0a9)],'tabindex':-0x1},'children':[{'tag':'span','children':[{'tag':'span','attributes':{'class':['ck-revision-change__label']},'children':[{'text':_0x2b4a84}]},{'text':'\x20'+_0x479628['author']['name']}]}]});}}class r extends _0x5c80d6(){['toJSON'](){return{'id':this['id'],'authorId':this['author']['id'],'type':this['type'],'data':this['data'],'createdAt':this['createdAt']};}constructor(_0x1f72bb){super(),this['id']=_0x1f72bb['id']||_0x55ddc3(),this['author']=_0x1f72bb['author'],this['type']=_0x1f72bb['type'],this['data']=_0x1f72bb['data']||{},this['rootName']=_0x1f72bb['rootName'],this['set']('createdAt',_0x1f72bb['createdAt']);}}class f{['_setChanges'](_0x1e16ec){for(const _0x4f1382 of _0x1e16ec)this['changes']['add'](_0x4f1382);}constructor(_0x243bb6,_0x468d46){this['newRevisionId']=_0x243bb6,this['oldRevisionId']=_0x468d46,this['changes']=new _0x210b3a();}}const tt={'c':_0x256ffb,'a':_0x2f0af3,'e':_0xd82b25,'r':_0x5c9ebb,'u':_0xadb654};class d extends _0x17c1cc{static get['pluginName'](){return'RevisionViewer';}static get['requires'](){return[_0x135cd2,_0x310f20,A];}['init'](){const _0x33b98c=this['editor'],_0x49b973=new Rt(_0x33b98c,{'direction':'backward'}),_0x1dc7b8=new Rt(_0x33b98c,{'direction':'forward'});(_0x33b98c['commands']['add']('showPreviousChange',_0x49b973),_0x33b98c['commands']['add']('showNextChange',_0x1dc7b8),_0x33b98c['commands']['add']('restoreRevision',new bt(_0x33b98c)),this['on']('change:numberOfChanges',()=>{_0x49b973['refresh'](),_0x1dc7b8['refresh']();}),this['_setConversion'](),this['_initInteractions'](),_0x33b98c['enableReadOnlyMode']('revision-viewer'),_0x33b98c['plugins']['has']('WidgetToolbarRepository'))&&_0x33b98c['plugins']['get']('WidgetToolbarRepository')['forceDisabled']('revision-viewer');}async['getRevisionData'](_0x58dedf){await this['loadRevisionData'](_0x58dedf);const _0x1cb29a={};for(const _0xfa2223 in _0x58dedf['diffData']){if(_0x58dedf['diffData'][_0xfa2223]['attachChange']&&!_0x58dedf['diffData'][_0xfa2223]['attachChange']['isAttached'])continue;const _0x3b7e22=this['_removeRevisionMarkers'](JSON['parse'](_0x58dedf['diffData'][_0xfa2223]['insertions'])),_0x2f5694=this['editor']['editing']['view']['document'],_0x497919=new _0x2714a1(_0x2f5694,_0x3b7e22['map'](_0x401cd2=>this['_getViewObj'](_0x401cd2)));this['editor']['data']['processor']['useFillerType']('marked'),_0x1cb29a[_0xfa2223]=this['editor']['data']['processor']['toData'](_0x497919),this['editor']['data']['processor']['useFillerType']('default');}return _0x1cb29a;}async['getRevisionRootsAttributes'](_0x1ee2cb){await this['loadRevisionData'](_0x1ee2cb);const _0x52b5b6={};for(const _0x1d2d31 in _0x1ee2cb['diffData'])_0x1ee2cb['diffData'][_0x1d2d31]['attachChange']&&!_0x1ee2cb['diffData'][_0x1d2d31]['attachChange']['isAttached']||(_0x52b5b6[_0x1d2d31]=_0x1ee2cb['diffData'][_0x1d2d31]['attributesAfter']||{});return _0x52b5b6;}['_removeRevisionMarkers'](_0x35a999){return(_0x35a999=_0x35a999['filter'](_0x2594da=>!_0x2594da['name']||'revision-start'!==_0x2594da['name']&&'revision-end'!==_0x2594da['name']))['forEach'](_0x410b3f=>{'string'!=typeof _0x410b3f&&(_0x410b3f['children']=this['_removeRevisionMarkers'](_0x410b3f['children']),_0x410b3f['attributes']=_0x410b3f['attributes']['filter'](_0x1dadff=>!_0x1dadff[0x0]['startsWith']('data-revision-')));}),_0x35a999;}async['compare'](_0xf693e6,_0x4bbbe4,_0x4af3fb=!0x1){if(!this['isEnabled'])return;const _0x4d4710=this['diff'],_0x4fd33a=this['repository'],_0x3c5289='string'==typeof _0xf693e6?_0x4fd33a['getRevision'](_0xf693e6):_0xf693e6,_0x184425='string'==typeof _0x4bbbe4?_0x4fd33a['getRevision'](_0x4bbbe4):_0x4bbbe4,_0x494912=_0x3c5289['id'],_0x43f44b=_0x184425?_0x184425['id']:null;if(!_0x4af3fb&&this['diff']&&this['diff']['newRevisionId']===_0x494912&&this['diff']['oldRevisionId']===_0x43f44b)return Promise['resolve']();this['isReady']=!0x1,this['activeView']=null,this['activeChange']=null,this['diff']=new f(_0x494912,_0x43f44b);const _0x434bec=this['_getRevisionsRange'](_0x3c5289,_0x184425,!0x0)['map'](_0x44f9e3=>this['loadRevisionData'](_0x44f9e3));return _0x434bec['push'](new Promise(_0x17d58f=>{setTimeout(_0x17d58f,0x14);})),Promise['all'](_0x434bec)['then'](()=>{if(!this['isEnabled'])return;this['_cleanUp']();const _0x1df68d=this['_getDiff'](_0x494912,_0x43f44b);for(const _0x3a85c4 of _0x1df68d['changes'])this['_changeIdToChange']['set'](_0x3a85c4['id'],_0x3a85c4);this['editor']['model']['enqueueChange']({'isUndoable':!0x1},_0x16510f=>{for(const _0x3ce9e9 of this['editor']['model']['document']['getRootNames']())_0x16510f['detachRoot'](_0x3ce9e9);for(const _0x40a387 of Object['keys'](_0x1df68d['model'])){const _0x4e919b=_0x16510f['addRoot'](_0x40a387);for(const _0x770bb1 of Object['keys'](_0x1df68d['attributes'][_0x40a387]))_0x16510f['setAttribute'](_0x770bb1,_0x1df68d['attributes'][_0x40a387][_0x770bb1],_0x4e919b);_0x16510f['insert'](_0x1df68d['model'][_0x40a387],_0x4e919b,0x0);}}),this['diff']['_setChanges'](this['_sortAndFilterDiffChanges'](_0x1df68d['changes'])),this['isReady']=!0x0;})['catch'](_0x5ddd94=>{console['error'](_0x5ddd94),this['_cleanUp'](),_0x4d4710&&(this['diff']=_0x4d4710),this['isReady']=!0x0;});}['addRevisionData'](_0xcc4d50,_0x3a9ebe){const _0x22014c=this['repository']['createRevision'](_0xcc4d50);return _0x22014c['on']('_update',(_0x4f2ffd,_0x43da83,_0x4ede20)=>_0x3a9ebe(_0x43da83,_0x4ede20,_0x22014c)),this['repository']['addRevision'](_0x22014c),_0x22014c;}['loadRevisionData'](_0x293b2a){if(!_0x293b2a||_0x293b2a['diffData'])return Promise['resolve']();{const _0x3adb61=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0x3adb61,'revisionId':_0x293b2a['id']})['then'](_0x29ef3e=>{_0x293b2a['_update']({'diffData':_0x29ef3e['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},_0x36e669=>{for(const _0x2d41b9 of this['editor']['model']['document']['getRootNames']())_0x36e669['detachRoot'](_0x2d41b9);});}['_sortAndFilterDiffChanges'](_0x26248a){const _0x591767=[],_0x2f3369=new Map();for(const _0x30c4a5 of this['editor']['model']['document']['getRootNames']()){const _0x173e77=this['editor']['editing']['view']['getDomRoot'](_0x30c4a5);if(!_0x173e77)continue;const _0x4a58b9=_0x173e77['getClientRects']()['item'](0x0);_0x4a58b9&&(_0x591767['push'](_0x30c4a5),_0x2f3369['set'](_0x30c4a5,_0x4a58b9));}return _0x591767['sort']((_0xa75a22,_0x12db7c)=>{const _0x417775=_0x2f3369['get'](_0xa75a22),_0x1fe327=_0x2f3369['get'](_0x12db7c);return _0x417775['y']-_0x1fe327['y']||_0x417775['x']-_0x1fe327['x'];}),(_0x26248a=_0x26248a['filter'](_0x299dfe=>_0x591767['includes'](_0x299dfe['rootName'])))['sort']((_0x229464,_0x4c3b1e)=>_0x591767['indexOf'](_0x229464['rootName'])-_0x591767['indexOf'](_0x4c3b1e['rootName'])),_0x26248a;}['_makeTape'](_0x3c60c0){const _0x5cc078=Array['from'](_0x3c60c0['markers'])['filter'](([_0x3d5798,_0x25a8f8])=>_0x3d5798['startsWith']('revision:')&&!_0x25a8f8['isCollapsed']),_0x388a7e=Array['from'](this['editor']['model']['createRangeIn'](_0x3c60c0)['getWalker']({'singleCharacters':!0x0}));if(0x0!=_0x5cc078['length'])for(const _0x432e53 of _0x388a7e){const [_0x53f10b,_0x2d7ef1]=_0x5cc078[0x0],[,_0x393e40,_0x59cba3]=_0x53f10b['split'](':');if(_0x2d7ef1['end']['isEqual'](_0x432e53['nextPosition'])&&_0x5cc078['shift'](),(_0x432e53['previousPosition']['isEqual'](_0x2d7ef1['start'])||_0x432e53['previousPosition']['isAfter'](_0x2d7ef1['start']))&&('insertion'==_0x393e40?_0x432e53['isAdded']={'userId':_0x59cba3}:'deletion'==_0x393e40&&(_0x432e53['isRemoved']={'userId':_0x59cba3})),0x0==_0x5cc078['length'])break;}return _0x388a7e;}['_refreshStartEndIndex'](_0x2010a3){const _0x179eb2=new Map();for(let _0x228801=0x0;_0x228801<_0x2010a3['length'];_0x228801++)'text'===_0x2010a3[_0x228801]['type']?(_0x2010a3[_0x228801]['item']['startIndex']=_0x228801,_0x2010a3[_0x228801]['item']['endIndex']=_0x228801):('elementStart'===_0x2010a3[_0x228801]['type']?_0x2010a3[_0x228801]['item']['startIndex']=_0x228801:'elementEnd'===_0x2010a3[_0x228801]['type']&&(_0x2010a3[_0x228801]['item']['endIndex']=_0x228801),_0x179eb2['set'](_0x2010a3[_0x228801]['id'],_0x228801));for(const _0x9b8b8d of _0x179eb2['values']())'elementStart'===_0x2010a3[_0x9b8b8d]['type']?_0x2010a3[_0x9b8b8d]['item']['endIndex']=_0x179eb2['get'](_0x2010a3[_0x9b8b8d]['pairId']):'elementEnd'===_0x2010a3[_0x9b8b8d]['type']&&(_0x2010a3[_0x9b8b8d]['item']['startIndex']=_0x179eb2['get'](_0x2010a3[_0x9b8b8d]['pairId']));}['_processTape'](_0x9f43cc){for(let _0x535014=0x0;_0x535014<_0x9f43cc['length'];_0x535014++){if('elementStart'===_0x9f43cc[_0x535014]['type'])_0x9f43cc[_0x535014]['item']['startIndex']=_0x535014;else{if('elementEnd'===_0x9f43cc[_0x535014]['type']){_0x9f43cc[_0x535014]['item']['endIndex']=_0x535014;const _0x25e055=_0x9f43cc[_0x535014]['item']['startIndex'];_0x9f43cc[_0x25e055]['pairId']=_0x9f43cc[_0x535014]['id'],_0x9f43cc[_0x535014]['pairId']=_0x9f43cc[_0x25e055]['id'];}else _0x9f43cc[_0x535014]['item']['startIndex']=_0x535014,_0x9f43cc[_0x535014]['item']['endIndex']=_0x535014,_0x9f43cc[_0x535014]['pairId']=null;}_0x9f43cc[_0x535014]['markersStart']||(_0x9f43cc[_0x535014]['markersStart']=[],_0x9f43cc[_0x535014]['markersEnd']=[]);}}['_markInsertions'](_0x3ca8e2,_0x303a77){const _0x1d8477=_0x3ca8e2['filter'](_0x15ff3b=>!_0x15ff3b['isAdded']);for(let _0x349ec6=0x0;_0x349ec6<_0x303a77['length'];_0x349ec6++)_0x303a77[_0x349ec6]['isAdded']&&(_0x1d8477[_0x349ec6]['isAdded']=_0x303a77[_0x349ec6]['isAdded']);}['_makeModelFromViewString'](_0x15ea31){const _0x3e591e=JSON['parse'](_0x15ea31),_0x177fdc=this['editor']['editing']['view']['document'],_0x273fbf=new _0x2714a1(_0x177fdc,_0x3e591e['map'](_0x20045b=>this['_getViewObj'](_0x20045b)));return this['editor']['data']['toModel'](_0x273fbf);}['_getViewObj'](_0x35ab4b){const _0x8c6fbf=this['editor']['editing']['view']['document'];if('string'==typeof _0x35ab4b)return new _0xf07b69(_0x8c6fbf,_0x35ab4b);{const _0x4643da=_0x35ab4b['children']['map'](_0x26fc8b=>this['_getViewObj'](_0x26fc8b));return new(tt[_0x35ab4b['type']]||_0x296554)(_0x8c6fbf,_0x35ab4b['name'],_0x35ab4b['attributes'],_0x4643da);}}['_getDiff'](_0x579b6d,_0x3aa6e6=null){const _0x433cb2=this['repository']['getRevision'](_0x579b6d),_0x4e4c0b=_0x3aa6e6?this['repository']['getRevision'](_0x3aa6e6):null,_0xf22978=this['_getRevisionsRange'](_0x433cb2,_0x4e4c0b),_0x58867d=_0xf22978[_0xf22978['length']-0x1],_0x586694=new Map(),_0x176105={'model':{},'attributes':{},'changes':[]},_0x2db274=new Set(),_0x17ec3a=new Map();for(let _0x33ca3c=_0xf22978['length']-0x1;_0x33ca3c>=0x0;_0x33ca3c--){const _0x14077a=_0xf22978[_0x33ca3c];for(const _0x27cbc6 of Object['keys'](_0x14077a['diffData']))if(_0x14077a['diffData'][_0x27cbc6]['attachChange']){const _0x1fe6fc=_0x14077a['diffData'][_0x27cbc6]['attachChange'];_0x1fe6fc['isAttached']?(_0x2db274['add'](_0x27cbc6),_0x17ec3a['has'](_0x27cbc6)&&_0x17ec3a['get'](_0x27cbc6)['userId']==_0x1fe6fc['userId']?_0x17ec3a['delete'](_0x27cbc6):_0x17ec3a['set'](_0x27cbc6,_0x1fe6fc)):_0x17ec3a['has'](_0x27cbc6)?(_0x2db274['delete'](_0x27cbc6),_0x17ec3a['delete'](_0x27cbc6)):(_0x2db274['add'](_0x27cbc6),_0x17ec3a['set'](_0x27cbc6,_0x1fe6fc));}else _0x2db274['add'](_0x27cbc6);}for(const _0xd20332 of _0x2db274){const _0x2ebd70=_0x17ec3a['has'](_0xd20332)&&!_0x17ec3a['get'](_0xd20332)['isAttached'];let _0x8ff2ca=_0x2ebd70?_0xf22978['length']-0x1:0x0;const _0x35e081=_0x2ebd70?-0x1:0x1;for(;_0xf22978[_0x8ff2ca];){const _0x12ebbb=_0xf22978[_0x8ff2ca];if(_0x12ebbb['diffData'][_0xd20332]){const _0x2e4703=_0x2ebd70?_0x12ebbb['diffData'][_0xd20332]['attributesBefore']:_0x12ebbb['diffData'][_0xd20332]['attributesAfter'];_0x176105['attributes'][_0xd20332]=_0x2e4703?_0x3ad142(_0x2e4703):{};break;}_0x8ff2ca+=_0x35e081;}}for(const _0x2a0785 of _0xf22978){_0x2a0785['model']={};for(const _0x10439e of _0x2a0785['authors'])_0x586694['set'](_0x10439e['id'],_0x10439e);for(const _0x2ca163 of _0x2db274){const _0x4b7b1e=_0x2a0785['diffData'][_0x2ca163]?_0x2a0785['diffData'][_0x2ca163]['insertions']:'[]',_0x3bbc5b=_0x2a0785['diffData'][_0x2ca163]?_0x2a0785['diffData'][_0x2ca163]['deletions']:'[]';_0x2a0785['model'][_0x2ca163]={'insertions':this['_makeModelFromViewString'](_0x4b7b1e),'deletions':this['_makeModelFromViewString'](_0x3bbc5b)};}}for(const _0x48c441 of _0x2db274){let _0xd04bc2=null,_0x33c087=0x0;const _0x5a28d4=new Map(Array['from'](_0x433cb2['model'][_0x48c441]['insertions']['markers'])['filter'](([_0x3ae2f9])=>!_0x3ae2f9['startsWith']('revision:')));let _0x22fc5d=0x0;for(const _0x48abde of _0xf22978){const _0x54092f=this['_makeTape'](_0x48abde['model'][_0x48c441]['insertions']);_0x48abde==_0x433cb2?(_0xd04bc2=_0x54092f,_0x33c087=_0xd04bc2['length'],_0xd04bc2['forEach'](_0x865e60=>{_0x865e60['id']=_0x22fc5d++;}),this['_processTape'](_0xd04bc2)):this['_markInsertions'](_0xd04bc2,_0x54092f);const _0x40f1f2=_0xd04bc2['filter'](_0x431a6a=>!_0x431a6a['isAdded'])['map'](_0x23b3ad=>_0x23b3ad['id']);let _0x38cfb0=0x0;const _0x3cc1a3=this['_makeTape'](_0x48abde['model'][_0x48c441]['deletions']);_0x3cc1a3['forEach'](_0x18a51b=>{_0x18a51b['isRemoved']?_0x18a51b['id']=_0x33c087++:_0x18a51b['id']=_0x40f1f2[_0x38cfb0++];}),this['_processTape'](_0x3cc1a3),this['_setDistance'](_0xd04bc2,'isAdded'),this['_setDistance'](_0x3cc1a3,'isRemoved'),_0x48abde==_0x433cb2&&this['_markMarkers'](_0xd04bc2,_0x5a28d4),_0xd04bc2=this['_joinTapes'](_0xd04bc2,_0x3cc1a3),this['_refreshStartEndIndex'](_0xd04bc2),this['_setDistance'](_0xd04bc2,'isRemoved');}_0xd04bc2=_0xd04bc2['filter'](_0xfe6b5e=>!(_0xfe6b5e['isAdded']&&_0xfe6b5e['isRemoved']));const _0x1474f4=new Map(_0x58867d['model'][_0x48c441]['deletions']['markers']),_0x33b1e8=new Set(_0x5a28d4['keys']());for(const _0x2aaa9a of _0x1474f4['keys']())_0x33b1e8['delete'](_0x2aaa9a);this['_markSuggestions'](_0xd04bc2,_0x33b1e8),this['_fixObsoleteTags'](_0xd04bc2),_0xd04bc2=this['_removeMissingPairs'](_0xd04bc2),_0xd04bc2=this['_markMismatchedRemovedTags'](_0xd04bc2),_0xd04bc2=this['_removeUnsupportedChanges'](_0xd04bc2);const {root:_0xfce642,changes:_0x4017a3}=this['_makeModelFromTape'](_0xd04bc2,_0x586694,_0x48c441);_0x176105['model'][_0x48c441]=_0xfce642;const _0x370344=_0x17ec3a['get'](_0x48c441);if(_0x370344){const _0x3b359a=_0x586694['get'](_0x370344['userId']),_0x113ccf=new r({'author':_0x3b359a,'type':_0x370344['isAttached']?'add':'remove','data':{'isOnRoot':!0x0},'createdAt':new Date(),'rootName':_0x48c441});_0x4017a3['unshift'](_0x113ccf),_0x176105['attributes'][_0x48c441]['revisionHistoryAttachChange']=_0x113ccf['id'];}_0x176105['changes']=_0x176105['changes']['concat'](_0x4017a3);}return _0x176105;}['_markMarkers'](_0x372af0,_0x58f067){for(let _0x5444d6=0x0;_0x5444d6<_0x372af0['length'];_0x5444d6++)for(const [_0x471024,_0x15e84d]of _0x58f067)_0x15e84d['start']['isEqual'](_0x372af0[_0x5444d6]['previousPosition'])&&_0x372af0[_0x5444d6]['markersStart']['push'](_0x471024),_0x15e84d['end']['isEqual'](_0x372af0[_0x5444d6]['nextPosition'])&&_0x372af0[_0x5444d6]['markersEnd']['push'](_0x471024);}['_joinTapes'](_0x24c369,_0x5621f7){let _0x310f4d=[],_0x1189d0=0x0,_0x5bc225=0x0;for(;_0x1189d0<_0x24c369['length']||_0x5bc225<_0x5621f7['length'];){const _0x3e5f99=_0x24c369[_0x1189d0]||{},_0xaf1c77=_0x5621f7[_0x5bc225]||{};if(_0x3e5f99['id']==_0xaf1c77['id'])_0x1189d0++,_0x5bc225++,_0x310f4d['push'](_0x3e5f99);else{if(_0xaf1c77['isRemoved']&&_0x3e5f99['isAdded']){const {commonTape:_0xf5389d,iEnd:_0x240598,jEnd:_0x11f0e8}=this['_threeWayMerge'](_0x24c369,_0x1189d0,_0x5621f7,_0x5bc225);_0x310f4d=_0x310f4d['concat'](_0xf5389d),_0x1189d0=_0x240598,_0x5bc225=_0x11f0e8;}else _0xaf1c77['isRemoved']?(_0x5bc225++,_0x310f4d['push'](_0xaf1c77)):(_0x1189d0++,_0x310f4d['push'](_0x3e5f99));}}return _0x310f4d;}['_markSuggestions'](_0x22a775,_0x3402d8){const _0x40366b=[];for(let _0x3fbce0=0x0;_0x3fbce0<_0x22a775['length'];_0x3fbce0++){for(let _0x122f5a=0x0;_0x122f5a<_0x22a775[_0x3fbce0]['markersStart']['length'];_0x122f5a++){const _0x51bb82=_0x22a775[_0x3fbce0]['markersStart'][_0x122f5a];if(!_0x3402d8['has'](_0x51bb82))continue;const {group:_0x3ff6fe,type:_0x835cd9,authorId:_0x351b71}=_0x5e6177(_0x51bb82);'revision-suggestion'!=_0x3ff6fe||'insertion'!=_0x835cd9&&'deletion'!=_0x835cd9||(_0x40366b['unshift']({'type':_0x835cd9,'name':_0x51bb82,'userId':_0x351b71}),_0x22a775[_0x3fbce0]['markersStart']['splice'](_0x122f5a,0x1),_0x122f5a--);}_0x319348(_0x22a775[_0x3fbce0]);for(let _0xe835c=0x0;_0xe835c<_0x22a775[_0x3fbce0]['markersEnd']['length'];_0xe835c++){const _0x1a4b72=_0x22a775[_0x3fbce0]['markersEnd'][_0xe835c];if(!_0x3402d8['has'](_0x1a4b72))continue;const {group:_0x2333cb,type:_0x3db4e9}=_0x5e6177(_0x1a4b72);if('revision-suggestion'!=_0x2333cb||'insertion'!=_0x3db4e9&&'deletion'!=_0x3db4e9)continue;_0x22a775[_0x3fbce0]['markersEnd']['splice'](_0xe835c,0x1),_0xe835c--;const _0x197d5f=_0x40366b['findIndex'](_0x2c806b=>_0x2c806b['name']==_0x1a4b72);_0x197d5f>-0x1&&_0x40366b['splice'](_0x197d5f,0x1);}}function _0x5e6177(_0x11f934){const _0x4bf137=_0x11f934['split'](':');return{'group':_0x4bf137[0x0],'type':_0x4bf137[0x1],'subType':_0x4bf137['length']>=0x5?_0x4bf137[0x2]:null,'id':_0x4bf137['length']<0x5?_0x4bf137[0x2]:_0x4bf137[0x3],'authorId':_0x4bf137['length']<0x5?_0x4bf137[0x3]:_0x4bf137[0x4],'markerCount':0x6==_0x4bf137['length']?_0x4bf137[0x5]:null};}function _0x319348(_0x51e80e){for(let _0x2c3c8b=0x0;_0x2c3c8b<_0x40366b['length'];_0x2c3c8b++){if(_0x51e80e['isAdded']&&'insertion'==_0x40366b[_0x2c3c8b]['type'])return _0x51e80e['isAddSuggestion']=_0x40366b[_0x2c3c8b],void delete _0x51e80e['isAdded'];if(!_0x51e80e['isAdded']&&!_0x51e80e['isRemoved']&&'deletion'==_0x40366b[_0x2c3c8b]['type'])return void(_0x51e80e['isRemoveSuggestion']=_0x40366b[_0x2c3c8b]);}}}['_setDistance'](_0x16a30b,_0x193312){let _0x862d3c=0x0,_0x4df707=!0x1;const _0x1ef248=new Map();for(const _0x49293f of _0x16a30b)_0x49293f[_0x193312]?_0x4df707&&(_0x862d3c++,_0x4df707=!0x1):(_0x862d3c++,_0x4df707=!0x0),_0x1ef248['set'](_0x49293f['id'],_0x862d3c);for(let _0x1dbc36=0x0;_0x1dbc36<_0x16a30b['length'];_0x1dbc36++){if('isRemoved'==_0x193312&&_0x16a30b[_0x1dbc36]['isAdded']||'isAdded'==_0x193312&&_0x16a30b[_0x1dbc36]['isRemoved'])continue;if('text'==_0x16a30b[_0x1dbc36]['type']){_0x16a30b[_0x1dbc36]['distance']=0x0;continue;}const _0x118fa8=_0x1ef248['get'](_0x16a30b[_0x1dbc36]['pairId']),_0x18371a=_0x1ef248['get'](_0x16a30b[_0x1dbc36]['id']);_0x16a30b[_0x1dbc36]['distance']=_0x118fa8-_0x18371a;}}['_getRevisionsRange'](_0x4d2bda,_0x3d121e,_0x4b70b0=!0x1){const _0xf1c6d2=[];let _0x55d767=this['repository']['getIndex'](_0x4d2bda),_0x858bc8=this['repository']['getIndex'](_0x3d121e);for(-0x1==_0x858bc8&&(_0x858bc8=this['repository']['_revisions']['length'],_0x4b70b0=!0x1);_0x55d767<_0x858bc8;)_0xf1c6d2['push'](this['repository']['getRevision'](_0x55d767)),_0x55d767++;return _0x4b70b0&&_0xf1c6d2['push'](this['repository']['getRevision'](_0x55d767)),_0xf1c6d2;}['_threeWayMerge'](_0x3aff8a,_0x2ba846,_0xd3e601,_0x51a712){const _0x24c77b=this['editor']['model']['schema'];let _0x4f49e7=_0x2ba846;for(;_0x3aff8a[_0x4f49e7]&&_0x3aff8a[_0x4f49e7]['isAdded'];)_0x4f49e7++;let _0x263154=_0x51a712;for(;_0xd3e601[_0x263154]&&_0xd3e601[_0x263154]['isRemoved'];)_0x263154++;_0x46a98e(_0x3aff8a,_0x2ba846,_0x4f49e7),_0x46a98e(_0xd3e601,_0x51a712,_0x263154);const _0x286382=_0xd3e601['slice'](_0x51a712,_0x263154)['concat'](_0x3aff8a['slice'](_0x2ba846,_0x4f49e7));return _0x286382['sort']((_0x40ba2c,_0x117e44)=>_0x40ba2c['side']!=_0x117e44['side']?_0x40ba2c['side']-_0x117e44['side']:_0x40ba2c['level']!=_0x117e44['level']?_0x40ba2c['level']-_0x117e44['level']:_0x40ba2c['distance']!=_0x117e44['distance']?_0x117e44['distance']-_0x40ba2c['distance']:!!_0x40ba2c['isAdded']!=!!_0x117e44['isAdded']?-0x1==_0x40ba2c['side']||0x0==_0x40ba2c['side']?_0x40ba2c['isAdded']?-0x1:0x1:_0x40ba2c['isAdded']?0x1:-0x1:_0x40ba2c['index']-_0x117e44['index']),{'commonTape':_0x286382,'iEnd':_0x4f49e7,'jEnd':_0x263154};function _0x46a98e(_0x281eec,_0x2a1302,_0x1d03e2){let _0x52817f=-0x1,_0x47627e=Number['POSITIVE_INFINITY'],_0xe7b323=!0x0;for(let _0x32d3da=_0x2a1302;_0x32d3da<_0x1d03e2;_0x32d3da++)if(_0x24c77b['isInline'](_0x281eec[_0x32d3da]['item'])||(_0xe7b323=!0x1),_0x281eec[_0x32d3da]['item']['startIndex']<_0x2a1302&&(_0x52817f=_0x32d3da),_0x281eec[_0x32d3da]['item']['endIndex']>=_0x1d03e2){_0x47627e=_0x32d3da;break;}_0xe7b323&&(_0x52817f=_0x1d03e2-0x1);for(let _0x22cee2=_0x2a1302;_0x22cee2<_0x1d03e2;_0x22cee2++)_0x281eec[_0x22cee2]['side']=_0x22cee2<=_0x52817f?-0x1:_0x22cee2<_0x47627e?0x0:0x1,_0x281eec[_0x22cee2]['index']=_0x22cee2;let _0x2cf20b=0x0;for(let _0x5c1e1a=_0x2a1302;_0x5c1e1a<=_0x52817f;_0x5c1e1a++)0x0==_0x281eec[_0x5c1e1a]['distance']?_0x281eec[_0x5c1e1a]['level']=_0x2cf20b:(_0x2cf20b++,_0x281eec[_0x5c1e1a]['level']=_0x2cf20b,_0x2cf20b++);for(let _0x3b5101=_0x2a1302;_0x3b5101<_0x1d03e2;_0x3b5101++)0x0==_0x281eec[_0x3b5101]['side']&&(_0x281eec[_0x3b5101]['level']=_0x2cf20b);_0x2cf20b=0x0;for(let _0x25cc60=_0x1d03e2-0x1;_0x25cc60>=_0x47627e;_0x25cc60--)0x0==_0x281eec[_0x25cc60]['distance']?_0x281eec[_0x25cc60]['level']=_0x2cf20b:(_0x2cf20b--,_0x281eec[_0x25cc60]['level']=_0x2cf20b,_0x2cf20b--);}}['_fixObsoleteTags'](_0x10b880){const _0x508910=new Map(),_0xe7f8fd=this['editor']['model']['schema'];for(let _0x23159e=0x1;_0x23159e<_0x10b880['length'];_0x23159e++){let _0x49a536,_0x2b2b58,_0x4030fa;const _0x421551=_0x10b880[_0x23159e],_0x244236=_0x10b880[_0x23159e-0x1];if('text'==_0x421551['type'])continue;if(_0x421551['type']!=_0x244236['type'])continue;if(!_0xe7f8fd['isBlock'](_0x244236['item'])||_0xe7f8fd['isLimit'](_0x244236['item']))continue;if(!_0xe7f8fd['isBlock'](_0x421551['item'])||_0xe7f8fd['isLimit'](_0x421551['item']))continue;if((_0x10b880[_0x23159e]['isAdded']||_0x10b880[_0x23159e]['isAddSuggestion'])&&_0x10b880[_0x23159e-0x1]['isRemoved'])_0x49a536=_0x10b880[_0x23159e],_0x2b2b58=_0x10b880[_0x23159e-0x1],_0x4030fa=_0x23159e-0x1;else{if(!_0x10b880[_0x23159e]['isRemoved']||!_0x10b880[_0x23159e-0x1]['isAdded']&&!_0x10b880[_0x23159e-0x1]['isAddSuggestion'])continue;_0x49a536=_0x10b880[_0x23159e-0x1],_0x2b2b58=_0x10b880[_0x23159e],_0x4030fa=_0x23159e;}const _0x37522a=_0x49a536['level']==_0x2b2b58['level'],_0x56403d=Math['abs'](_0x49a536['level'])<Math['abs'](_0x2b2b58['level'])&&0x0==_0x2b2b58['distance'];(_0x37522a||_0x56403d)&&(_0x508910['set'](_0x2b2b58['id'],_0x49a536['id']),_0x10b880['splice'](_0x4030fa,0x1),_0x23159e--,_0x49a536['isAdded']=!0x1);}for(let _0x34cffd=0x0;_0x34cffd<_0x10b880['length'];_0x34cffd++)_0x508910['has'](_0x10b880[_0x34cffd]['pairId'])&&(_0x10b880[_0x34cffd]['pairId']=_0x508910['get'](_0x10b880[_0x34cffd]['pairId']));}['_removeMissingPairs'](_0x47a43d){const _0x2b7a8a=new Set(_0x47a43d['map'](_0x3fbc62=>_0x3fbc62['id']));for(let _0x2a1997=0x0;_0x2a1997<_0x47a43d['length'];_0x2a1997++)_0x2b7a8a['has'](_0x47a43d[_0x2a1997]['pairId'])||0x0==_0x47a43d[_0x2a1997]['distance']||(_0x47a43d[_0x2a1997]['isIncorrect']=!0x0);return _0x47a43d['filter'](_0x52510b=>!_0x52510b['isIncorrect']);}['_markMismatchedRemovedTags'](_0x3868a6){const _0x3c07ec=new Set();for(let _0x1a7d87=0x0;_0x1a7d87<_0x3868a6['length'];_0x1a7d87++){if(_0x3c07ec['has'](_0x3868a6[_0x1a7d87]['id'])&&_0x3868a6[_0x1a7d87]['isRemoved']&&(_0x3868a6[_0x1a7d87]['isIncorrect']=!0x0),_0x3868a6[_0x1a7d87]['isIncorrect'])continue;if(0x0==_0x3868a6[_0x1a7d87]['distance'])continue;if('elementStart'!=_0x3868a6[_0x1a7d87]['type'])continue;if(null==_0x3868a6[_0x1a7d87]['pairId'])continue;let _0x432d8c=_0x1a7d87+0x1,_0x2b43a9=0x0;for(;_0x3868a6[_0x432d8c]['id']!=_0x3868a6[_0x1a7d87]['pairId'];)'elementStart'==_0x3868a6[_0x432d8c]['type']?_0x2b43a9++:'elementEnd'==_0x3868a6[_0x432d8c]['type']&&_0x2b43a9--,_0x432d8c++;if(0x0!=_0x2b43a9){if(_0x3868a6[_0x1a7d87]['isRemoved'])_0x3868a6[_0x1a7d87]['isIncorrect']=!0x0;else{for(;_0x432d8c!=_0x1a7d87;)_0x3868a6[_0x432d8c]['isRemoved']&&0x0!=_0x3868a6[_0x432d8c]['distance']&&(_0x3868a6[_0x432d8c]['isIncorrect']=!0x0,_0x3c07ec['add'](_0x3868a6[_0x432d8c]['pairId'])),_0x432d8c--;}}}return _0x3868a6['filter'](_0x125c12=>!_0x125c12['isIncorrect']);}['_removeUnsupportedChanges'](_0x4c06d8){const _0x2e34e3=this['editor']['model']['schema'];for(let _0x42ee51=0x0;_0x42ee51<_0x4c06d8['length'];_0x42ee51++){if(!(_0x4c06d8[_0x42ee51]['isAdded']||_0x4c06d8[_0x42ee51]['isAddSuggestion']||_0x4c06d8[_0x42ee51]['isRemoved']||_0x4c06d8[_0x42ee51]['isRemoveSuggestion']))continue;if(0x0==_0x4c06d8[_0x42ee51]['distance'])continue;const _0x1dbb22=_0x4c06d8[_0x42ee51]['item'];_0x2e34e3['isBlock'](_0x1dbb22)||_0x2e34e3['isLimit'](_0x1dbb22)||(_0x4c06d8[_0x42ee51]['isAdded']&&delete _0x4c06d8[_0x42ee51]['isAdded'],_0x4c06d8[_0x42ee51]['isAddSuggestion']&&delete _0x4c06d8[_0x42ee51]['isAddSuggestion'],_0x4c06d8[_0x42ee51]['isRemoveSuggestion']&&delete _0x4c06d8[_0x42ee51]['isRemoveSuggestion'],_0x4c06d8[_0x42ee51]['isRemoved']&&(_0x4c06d8[_0x42ee51]['isIncorrect']=!0x0));}return _0x4c06d8['filter'](_0x51cc1b=>!_0x51cc1b['isIncorrect']);}['_makeModelFromTape'](_0x43c028,_0x372369,_0x12d41d){const _0x52331f=new _t(),_0x1bc381=[],_0x3fc3cd=new Map(),_0x280d1b=this['editor']['model'],_0x2921cd=_0x280d1b['schema'],_0x2b83e5=[_0x52331f],_0x51e98a={},_0x175546={'isAdded':[],'isRemoved':[],'isAddSuggestion':[],'isRemoveSuggestion':[]};let _0xe9950c=null;const _0x465632=[0x0];for(let _0x164b33=0x0;_0x164b33<_0x43c028['length'];_0x164b33++){let _0x1c43e2,_0x28c7c5;if('elementStart'===_0x43c028[_0x164b33]['type']){_0x1c43e2=_0x280d1b['createPositionFromPath'](_0x52331f,_0x465632);const _0x1d6f9d=new ft(_0x43c028[_0x164b33]['item']['name'],_0x43c028[_0x164b33]['item']['getAttributes']());_0x2b83e5[0x0]['_appendChild'](_0x1d6f9d),_0x465632['push'](0x0),_0x2b83e5['unshift'](_0x1d6f9d),_0x28c7c5=_0x280d1b['createPositionFromPath'](_0x52331f,_0x465632),_0xe9950c=null;}else{if('elementEnd'===_0x43c028[_0x164b33]['type'])_0x2b83e5['shift'](),_0x1c43e2=_0x280d1b['createPositionFromPath'](_0x52331f,_0x465632),_0x465632['pop'](),_0x465632[_0x465632['length']-0x1]++,_0x28c7c5=_0x280d1b['createPositionFromPath'](_0x52331f,_0x465632),_0xe9950c=null;else{if(_0x1c43e2=_0x280d1b['createPositionFromPath'](_0x52331f,_0x465632),_0xe9950c&&_0x2dc6f4(_0xe9950c,_0x43c028[_0x164b33]['item']))_0xe9950c['_data']+=_0x43c028[_0x164b33]['item']['data'];else{const _0x34ba4b=new yt(_0x43c028[_0x164b33]['item']['data'],_0x43c028[_0x164b33]['item']['getAttributes']());_0x2b83e5[0x0]['_appendChild'](_0x34ba4b),_0xe9950c=_0x34ba4b;}_0x465632[_0x465632['length']-0x1]+=_0x43c028[_0x164b33]['item']['offsetSize'],_0x28c7c5=_0x280d1b['createPositionFromPath'](_0x52331f,_0x465632);}}for(const _0x13abc5 of _0x43c028[_0x164b33]['markersStart'])_0x3fc3cd['set'](_0x13abc5,{'start':_0x1c43e2,'end':null});_0x9afc10('isRemoveSuggestion',_0x164b33,_0x1c43e2,_0x28c7c5),_0x9afc10('isAddSuggestion',_0x164b33,_0x1c43e2,_0x28c7c5),_0x9afc10('isRemoved',_0x164b33,_0x1c43e2,_0x28c7c5),_0x9afc10('isAdded',_0x164b33,_0x1c43e2,_0x28c7c5);for(const _0x47a9a5 of _0x43c028[_0x164b33]['markersEnd']){_0x3fc3cd['get'](_0x47a9a5)['end']=_0x28c7c5;}}for(const [_0x56dade,_0x7bb41c]of _0x3fc3cd){const _0x252a82=this['editor']['model']['createRange'](_0x7bb41c['start'],_0x7bb41c['end']);_0x52331f['markers']['set'](_0x56dade,_0x252a82);}return _0x1bc381['sort']((_0x3e0f34,_0x487911)=>{const _0x3274be=_0x52331f['markers']['get']('revision:'+_0x3e0f34['id']),_0x3ac60e=_0x52331f['markers']['get']('revision:'+_0x487911['id']);return _0x3274be['start']['isBefore'](_0x3ac60e['start'])?-0x1:_0x3274be['start']['isAfter'](_0x3ac60e['start'])?0x1:_0x3274be['end']['isBefore'](_0x3ac60e['end'])?-0x1:_0x3274be['end']['isAfter'](_0x3ac60e['end'])?0x1:'add'===_0x3e0f34['type']?-0x1:0x1;}),{'root':_0x52331f,'changes':_0x1bc381};function _0x9afc10(_0x3b7f4d,_0x1ce494,_0x535ccf,_0x179846){const _0xf5cbcf=!!_0x43c028[_0x1ce494][_0x3b7f4d],_0x2a76d0=_0xf5cbcf?_0x43c028[_0x1ce494][_0x3b7f4d]['userId']:null,_0x4d0aef=_0x1ce494===_0x43c028['length']-0x1,_0x3763ed=_0x175546[_0x3b7f4d][0x0],_0x524c8e=_0x2921cd['isObject'](_0x43c028[_0x1ce494]['item']);!_0x51e98a[_0x3b7f4d]&&_0xf5cbcf?_0x51e98a[_0x3b7f4d]={'start':_0x535ccf,'tapeItem':_0x43c028[_0x1ce494],'userId':_0x2a76d0,'type':_0x3b7f4d}:_0x51e98a[_0x3b7f4d]&&!_0xf5cbcf?(_0x51e98a[_0x3b7f4d]['end']=_0x535ccf,_0x162e4b(_0x51e98a[_0x3b7f4d]),_0x51e98a[_0x3b7f4d]=null):_0x51e98a[_0x3b7f4d]&&_0xf5cbcf&&_0x51e98a[_0x3b7f4d]['userId']!==_0x2a76d0&&(_0x51e98a[_0x3b7f4d]['end']=_0x535ccf,_0x3763ed&&_0x3763ed['userId']===_0x51e98a[_0x3b7f4d]['userId']||_0x162e4b(_0x51e98a[_0x3b7f4d]),_0x51e98a[_0x3b7f4d]={'start':_0x535ccf,'tapeItem':_0x43c028[_0x1ce494],'userId':_0x2a76d0,'type':_0x3b7f4d}),_0x51e98a[_0x3b7f4d]&&_0x524c8e&&('elementStart'!==_0x43c028[_0x1ce494]['type']||_0x3763ed&&_0x3763ed['userId']===_0x2a76d0||_0x175546[_0x3b7f4d]['unshift']({'userId':_0x2a76d0,'object':_0x43c028[_0x1ce494]['item'],'change':_0x51e98a[_0x3b7f4d]}),'elementEnd'===_0x43c028[_0x1ce494]['type']&&_0x3763ed&&_0x3763ed['object']===_0x43c028[_0x1ce494]['item']&&(_0x175546[_0x3b7f4d]['shift'](),_0x51e98a[_0x3b7f4d]=_0x3763ed['change'])),_0x51e98a[_0x3b7f4d]&&_0x4d0aef&&(_0x51e98a[_0x3b7f4d]['end']=_0x179846,_0x162e4b(_0x51e98a[_0x3b7f4d]),_0x51e98a[_0x3b7f4d]=null);}function _0x162e4b({start:_0x85a39,end:_0x57f65b,tapeItem:_0x2abed9,userId:_0x416b72,type:_0x50e328}){const _0x47552b=_0x2abed9['item'],_0x11b1d2=_0x280d1b['schema']['isBlock'](_0x47552b)&&!_0x280d1b['schema']['isLimit'](_0x47552b),_0x1a05f8=_0x85a39['nodeAfter']==_0x57f65b['parent']&&_0x57f65b['isAtStart'];if(_0x11b1d2&&_0x1a05f8)return;const _0x42218c=_0x280d1b['createRange'](_0x85a39,_0x57f65b),_0x1a2158=_0x372369['get'](_0x416b72),_0x420f67=new r({'author':_0x1a2158,'type':'isAdded'==_0x50e328||'isAddSuggestion'==_0x50e328?'add':'remove','data':{'isSuggestion':'isAddSuggestion'==_0x50e328||'isRemoveSuggestion'==_0x50e328},'createdAt':new Date(),'rootName':_0x12d41d});_0x1bc381['push'](_0x420f67),_0x52331f['markers']['set']('revision:'+_0x420f67['id'],_0x42218c);}function _0x2dc6f4(_0x9650b3,_0x17159f){const _0x32967b=_0x9650b3['getAttributes'](),_0x2bfed3=_0x17159f['getAttributes']();for(const _0x5837a8 of _0x32967b){if(_0x5837a8[0x1]!==_0x17159f['getAttribute'](_0x5837a8[0x0]))return!0x1;_0x2bfed3['next']();}return _0x2bfed3['next']()['done'];}}['_setConversion'](){this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'revision'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision','view':_0x5b9f7d=>{const _0x22622c=_0x5b9f7d['markerName']['split'](':')[0x1],_0x136f7f=this['_getChangeFromId'](_0x22622c);if(!_0x136f7f)return null;const _0x5969eb='add'==_0x136f7f['type']?'insertion':'deletion',_0x5e18d1=['ck-suggestion-marker','ck-suggestion-marker-'+_0x5969eb];return _0x136f7f['data']['isSuggestion']&&_0x5e18d1['push']('ck-suggestion-marker-'+_0x5969eb+'-new'),this['activeChange']==_0x136f7f&&_0x5e18d1['push']('ck-suggestion-marker--active'),{'classes':_0x5e18d1,'attributes':{'data-change-id':_0x22622c}};}}),this['editor']['conversion']['for']('upcast')['add'](_0x3f1705=>{_0x3f1705['on']('element:pre',(_0x441612,_0x27a8fc,_0x2965c6)=>{const _0x405fce=_0x27a8fc['viewItem']['getChild'](0x0);if(!_0x405fce||!_0x405fce['is']('element','code'))return;if(!_0x2965c6['consumable']['consume'](_0x405fce,{'attributes':['vid_start','vid_end']}))return;const _0x307150=_0x27a8fc['modelRange']['start']['nodeAfter'];_0x2965c6['writer']['setAttribute']('vid_start',_0x405fce['getAttribute']('vid_start'),_0x307150),_0x2965c6['writer']['setAttribute']('vid_end',_0x405fce['getAttribute']('vid_end'),_0x307150);},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['add'](_0x53dc62=>{_0x53dc62['on']('element',(_0x56ef98,_0x323111,_0x1aa8d0)=>{if(!_0x1aa8d0['consumable']['consume'](_0x323111['viewItem'],{'attributes':['vid_start','vid_end']}))return;if(_0x323111['modelRange']['isCollapsed'])return;const _0x3bb129=_0x323111['modelRange']['start']['nodeAfter'];_0x3bb129['hasAttribute']('vid_start')||_0x3bb129['hasAttribute']('vid')||(_0x1aa8d0['writer']['setAttribute']('vid_start',_0x323111['viewItem']['getAttribute']('vid_start'),_0x3bb129),_0x1aa8d0['writer']['setAttribute']('vid_end',_0x323111['viewItem']['getAttribute']('vid_end'),_0x3bb129));},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['elementToAttribute']({'view':{'name':'span','attributes':{'vid':!0x0}},'model':{'key':'vid','value':_0x207f8b=>_0x207f8b['getAttribute']('vid')}}),this['editor']['model']['schema']['on']('checkAttribute',(_0x896d94,[,_0x47a29a])=>{['vid_start','vid_end','vid']['includes'](_0x47a29a)&&(_0x896d94['return']=!0x0,_0x896d94['stop']());},{'priority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['add'](_0x427f56=>{_0x427f56['on']('attribute:vid',(_0xa28264,_0x127fc4,_0x2e5cfb)=>{if('\x20'!=_0x127fc4['item']['data']||_0x127fc4['item']['parent']['maxOffset']>0x1)return;if(!_0x2e5cfb['consumable']['consume'](_0x127fc4['item'],_0xa28264['name']))return;const _0x5d57e1=_0x2e5cfb['writer'],_0x1a3a4a=_0x2e5cfb['mapper']['toViewRange'](_0x127fc4['range']);_0x5d57e1['wrap'](_0x1a3a4a,_0x5d57e1['createAttributeElement']('span'));});}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',function(_0x335cd7){const _0x3dac21=_0x335cd7['plugins']['get']('RevisionViewer');return(_0x33d308,_0x44c6c4,_0xb0b854)=>{const _0x2960da=_0x44c6c4['markerName']['split'](':')[0x1],_0x3c456f=_0x3dac21['_getChangeFromId'](_0x2960da);if(!_0x3c456f)return null;const _0x2e24ac='add'==_0x3c456f['type']?'split':'merge';if(!_0xb0b854['consumable']['test'](_0x44c6c4['markerRange'],_0x33d308['name']))return;const _0x1bccd9=_0x44c6c4['markerRange']['getWalker'](),_0x1d1a26=_0x44c6c4['markerRange']['start'],_0x5c259e=_0x335cd7['model']['schema'];let _0x489d55=null,_0x3a21b2=null,_0x58816a=!0x1,_0x11cd89=!0x1;for(const _0x49d29b of _0x1bccd9){const _0x25b9b0=_0x49d29b['item'];_0x58816a=_0x58816a||_0x5c259e['isContent'](_0x25b9b0);const _0x420665=_0xb0b854['mapper']['toViewElement'](_0x25b9b0);if(_0x420665&&_0x420665['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x49d29b['type']&&(_0x5c259e['isBlock'](_0x25b9b0)&&!_0x5c259e['isLimit'](_0x25b9b0)&&(_0x25b9b0['nextSibling']||_0x1d1a26['isAtEnd']?_0x489d55&&_0x489d55['parent']==_0x25b9b0||(_0x489d55=_0x25b9b0,_0xa8e491(_0x49d29b['previousPosition']),_0x11cd89=!0x0):_0x3a21b2=_0x3a21b2||_0x49d29b['previousPosition']));}function _0xa8e491(_0x263f22){const _0x57d5df=_0xb0b854['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x2e24ac}),_0x10a4d9=_0xb0b854['mapper']['toViewPosition'](_0x263f22);_0x3c456f['data']['isSuggestion']&&_0xb0b854['writer']['addClass']('ck-suggestion-marker-'+_0x2e24ac+'-new',_0x57d5df),_0x3dac21['activeChange']==_0x3c456f&&_0xb0b854['writer']['addClass']('ck-suggestion-marker--active',_0x57d5df),_0xb0b854['writer']['insert'](_0x10a4d9,_0x57d5df),_0xb0b854['mapper']['bindElementToMarker'](_0x57d5df,_0x44c6c4['markerName']);}_0x58816a||_0x11cd89||!_0x3a21b2||_0xa8e491(_0x3a21b2);};}(this['editor']),{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('removeMarker:revision',(_0x15a7c0,_0xcf4eed,_0x3f27ea)=>{const _0xb5be25=_0x3f27ea['mapper']['markerNameToElements'](_0xcf4eed['markerName']);if(_0xb5be25){for(const _0x2336d7 of _0xb5be25)(_0x2336d7['hasClass']('ck-suggestion-marker-split')||_0x2336d7['hasClass']('ck-suggestion-marker-merge'))&&(_0x3f27ea['mapper']['unbindElementFromMarkerName'](_0x2336d7,_0xcf4eed['markerName']),_0x3f27ea['writer']['remove'](_0x2336d7));}},{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',(_0xb58e22,_0x338bcd,_0x58eb73)=>{const _0x435104=_0x338bcd['markerName']['split'](':')[0x1],_0x289264=this['_getChangeFromId'](_0x435104);if(!_0x289264)return null;const _0x13ed6d='add'==_0x289264['type']?'split':'merge';if(_0x58eb73['consumable']['test'](_0x338bcd['markerRange'],_0xb58e22['name']))for(const _0x4d035b of _0x338bcd['markerRange']['getItems']()){if(!_0x4d035b['is']('element','softBreak'))continue;const _0x252185=_0x58eb73['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x13ed6d}),_0x3d645f=_0x58eb73['mapper']['toViewPosition'](this['editor']['model']['createPositionBefore'](_0x4d035b));_0x289264['data']['isSuggestion']&&_0x58eb73['writer']['addClass']('ck-suggestion-marker-'+_0x13ed6d+'-new',_0x252185),this['activeChange']==_0x289264&&_0x58eb73['writer']['addClass']('ck-suggestion-marker--active',_0x252185),_0x58eb73['writer']['insert'](_0x3d645f,_0x252185),_0x58eb73['mapper']['bindElementToMarker'](_0x252185,_0x338bcd['markerName']);}},{'priority':'high'}),this['editor']['model']['document']['on']('change',()=>{this['editor']['editing']['view']['change'](_0x22f371=>{for(const _0x1ac253 of this['editor']['model']['document']['getRootNames']()){const _0x3dfeb3=this['editor']['model']['document']['getRoot'](_0x1ac253),_0x370c52=this['editor']['editing']['view']['document']['getRoot'](_0x1ac253);if(_0x370c52){const _0x2cc64b=_0x3dfeb3['getAttribute']('revisionHistoryAttachChange');if(_0x22f371['removeAttribute']('data-change-id',_0x370c52),_0x22f371['removeClass']('ck-revision-history-root-add',_0x370c52),_0x22f371['removeClass']('ck-revision-history-root-remove',_0x370c52),_0x22f371['removeClass']('ck-revision-history-root--active',_0x370c52),_0x2cc64b){const _0x327607=this['_getChangeFromId'](_0x2cc64b);if(!_0x327607)return null;_0x22f371['setAttribute']('data-change-id',_0x2cc64b,_0x370c52),_0x22f371['addClass']('ck-revision-history-root-'+_0x327607['type'],_0x370c52),this['activeChange']==_0x327607&&_0x22f371['addClass']('ck-revision-history-root--active',_0x370c52);}}}});}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'comment','model':_0x351bc5=>'revision-comment:'+_0x351bc5,'converterPriority':'highest'}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'suggestion','model':_0x227d25=>'revision-suggestion:'+_0x227d25,'converterPriority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision-suggestion','view':_0x40b303=>({'name':'suggestion:'+_0x40b303,'group':'revision-suggestion'}),'converterPriority':'highest'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision-suggestion','view':_0x203cd1=>{const _0x7ea3b2=_0x203cd1['markerName']['split'](':')[0x1];return'insertion'!=_0x7ea3b2&&'deletion'!=_0x7ea3b2?null:{'classes':['ck-suggestion-preview-marker','ck-suggestion-preview-marker-'+_0x7ea3b2]};}}),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',(_0x139483,_0x3c5784,_0x335b80)=>{const _0x399ae1=_0x335b80['mapper']['markerNameToElements'](_0x3c5784['markerName']);if(_0x399ae1){for(const _0x34765a of _0x399ae1)_0x34765a['is']('uiElement')&&(_0x335b80['mapper']['unbindElementFromMarkerName'](_0x34765a,_0x3c5784['markerName']),_0x335b80['writer']['remove'](_0x34765a));}},{'priority':'high'});}['_getChangeFromId'](_0x32b3f1){return this['_changeIdToChange']['get'](_0x32b3f1);}['_getViewForChange'](_0x35b003){return this['_changeView']&&this['_changeView']['destroy'](),this['_changeView']=new Z(this['editor']['locale'],_0x35b003),this['_changeView'];}['_initInteractions'](){this['editor']['model']['document']['selection']['observeMarkers']('revision'),this['on']('change:activeView',(_0x3d0d5f,_0x2c176b,_0x5d47c5,_0x3f3628)=>{_0x3f3628&&this['_balloon']['remove'](_0x3f3628),_0x5d47c5&&(this['_balloon']['add']({'view':_0x5d47c5,'stackId':'revisionHistoryLabel','position':{'target':()=>{const _0x363eac=this['editor']['editing'],_0x2aea62=this['_getChangeFromId'](_0x5d47c5['changeId']);let _0x106823;if(_0x2aea62['data']['isOnRoot']){const _0xf6f46=_0x363eac['view']['getDomRoot'](_0x2aea62['rootName']);_0x106823=Array['from'](_0xf6f46['getClientRects']());}else{const _0x353afc=this['editor']['model']['markers']['get']('revision:'+_0x5d47c5['changeId']);_0x106823=Array['from'](_0x363eac['mapper']['markerNameToElements'](_0x353afc['name']))['map'](_0x200584=>_0x363eac['view']['domConverter']['mapViewToDom'](_0x200584))['map'](_0xff0197=>Array['from'](_0xff0197['getClientRects']()))['flat']();}if(!this['_activeViewTarget'])return _0x106823[0x0];return _0x106823['find'](_0x2676ea=>_0x2676ea['top']-0x3<=this['_activeViewTarget']['y']&&_0x2676ea['bottom']+0x3>=this['_activeViewTarget']['y']&&_0x2676ea['left']-0x3<=this['_activeViewTarget']['x']&&_0x2676ea['right']+0x3>=this['_activeViewTarget']['x'])||_0x106823[0x0];}}}),this['_balloon']['showStack']('revisionHistoryLabel'));}),this['on']('change:activeChange',(_0xfff6f6,_0xfce546,_0x3c3af7,_0x34e9a3)=>{this['activeView']=_0x3c3af7?this['_getViewForChange'](_0x3c3af7):null,this['editor']['model']['change'](()=>{const _0x37ff16=this['editor']['editing'];_0x34e9a3&&(_0x34e9a3['data']['isOnRoot']?_0x37ff16['view']['change'](_0x12d3c0=>{_0x12d3c0['removeClass']('ck-revision-history-root--active',_0x37ff16['view']['document']['getRoot'](_0x34e9a3['rootName']));}):_0x37ff16['reconvertMarker']('revision:'+_0x34e9a3['id'])),_0x3c3af7&&(_0x3c3af7['data']['isOnRoot']?_0x37ff16['view']['change'](_0xff4cf4=>{_0xff4cf4['addClass']('ck-revision-history-root--active',_0x37ff16['view']['document']['getRoot'](_0x3c3af7['rootName']));}):_0x37ff16['reconvertMarker']('revision:'+_0x3c3af7['id']));});}),this['listenTo'](this['editor']['editing']['view']['document'],'mouseover',(_0x4f51b8,_0x5569d2)=>{if(this['activeChange'])return;const _0x4572de=this['_findChangeIdFromDomTarget'](_0x5569d2['target']),_0x13ca0b=this['_changeIdToChange']['get'](_0x4572de);_0x13ca0b?(this['_activeViewTarget']={'x':_0x5569d2['domEvent']['x'],'y':_0x5569d2['domEvent']['y']},this['activeView']=this['_getViewForChange'](_0x13ca0b)):(this['_activeViewTarget']=null,this['activeView']=null);}),this['listenTo'](this['editor']['editing']['view']['document'],'mousedown',(_0x4a18d6,_0x4584b3)=>{const _0x4bcfa4=this['_findChangeIdFromDomTarget'](_0x4584b3['target']),_0x58985e=this['_changeIdToChange']['get'](_0x4bcfa4);_0x58985e?(this['_activeViewTarget']={'x':_0x4584b3['domEvent']['x'],'y':_0x4584b3['domEvent']['y']},_0x58985e===this['activeChange']?this['_balloon']['updatePosition']():this['activeChange']=_0x58985e):(this['_activeViewTarget']=null,this['activeChange']=null);});}['_findChangeIdFromDomTarget'](_0x58422b){do{const _0x118697=_0x58422b['getAttribute']('data-change-id');if(_0x118697)return _0x118697;_0x58422b=_0x58422b['parent'];}while(_0x58422b);return null;}['_cleanMarkers'](){this['editor']['model']['change'](_0x291647=>{for(const _0x6a063c of this['editor']['model']['markers'])_0x291647['removeMarker'](_0x6a063c);});}constructor(_0x4e1e73){super(_0x4e1e73),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',(_0x1ebdab,_0x5372d8,_0x3162f2)=>{this['activeChange']=null,this['activeView']=null,this['editor']['editing']['view']['change'](_0x3b5ad6=>{for(const _0x29e32e of this['editor']['editing']['view']['document']['roots'])_0x3162f2?_0x3b5ad6['removeClass']('ck-editor__editable__overlay',_0x29e32e):_0x3b5ad6['addClass']('ck-editor__editable__overlay',_0x29e32e);});}),this['bind']('isNavigationMode')['to'](this,'activeChange',_0x1f42fc=>null!==_0x1f42fc),this['bind']('currentChangeNumber')['to'](this,'isReady',this,'diff',this,'activeChange',(_0x200224,_0x8f0ea0,_0x2b0a6e)=>_0x200224&&_0x2b0a6e?_0x8f0ea0['changes']['getIndex'](_0x2b0a6e):0x0),this['bind']('numberOfChanges')['to'](this,'isReady',this,'diff',(_0x231bbd,_0x2163b9)=>_0x231bbd?_0x2163b9['changes']['length']:0x0),this['_changeView']=null,this['_changeIdToChange']=new Map(),this['adapter']=null,this['_balloon']=this['editor']['plugins']['get'](_0x310f20);}}function et(_0x47855e,_0x7b5598){return(_0x38e797,_0x3d05c8,_0x3d78fd)=>{if(!_0x3d78fd['consumable']['test'](_0x3d05c8['markerRange'],_0x38e797['name']))return;const _0x101e04=_0x3d05c8['markerRange']['getWalker'](),_0x2b8c7d=_0x3d05c8['markerRange']['start'],_0x25f0f5=_0x47855e['model']['schema'];let _0x114939=null,_0x18edac=null,_0x48b7ce=!0x1,_0x37ff93=!0x1;for(const _0x23c3a5 of _0x101e04){const _0x31d826=_0x23c3a5['item'];_0x48b7ce=_0x48b7ce||_0x25f0f5['isContent'](_0x31d826);const _0x378393=_0x3d78fd['mapper']['toViewElement'](_0x31d826);if(_0x378393&&_0x378393['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x23c3a5['type']&&(_0x25f0f5['isBlock'](_0x31d826)&&!_0x25f0f5['isLimit'](_0x31d826)&&(_0x31d826['nextSibling']||_0x2b8c7d['isAtEnd']?_0x114939&&_0x114939['parent']==_0x31d826||(_0x114939=_0x31d826,_0x5ccd96(_0x23c3a5['previousPosition']),_0x37ff93=!0x0):_0x18edac=_0x18edac||_0x23c3a5['previousPosition']));}function _0x5ccd96(_0x4f2b9f){const _0x36a3a9=_0x3d78fd['mapper']['toViewPosition'](_0x4f2b9f),_0x120696=_0x3d78fd['writer']['createUIElement']('span',{'class':'ck-suggestion-preview-marker-'+_0x7b5598});_0x3d78fd['writer']['insert'](_0x36a3a9,_0x120696),_0x3d78fd['mapper']['bindElementToMarker'](_0x120696,_0x3d05c8['markerName']);}_0x48b7ce||_0x37ff93||!_0x18edac||_0x5ccd96(_0x18edac);};}class bt extends _0x1c1c30{['execute'](){const _0x4dafde=this['editor'],_0x6479ca=_0x4dafde['plugins']['get'](d),_0x3cfa27=_0x6479ca['isReady']?_0x6479ca['diff']['newRevisionId']:null;_0x4dafde['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x3cfa27);}['refresh'](){const {isReady:_0x14a418,isEnabled:_0x48f6e1}=this['editor']['plugins']['get'](d);this['isEnabled']=_0x14a418&&_0x48f6e1;}constructor(_0x447a12){super(_0x447a12);const _0xcc4c6a=_0x447a12['plugins']['get'](d);this['affectsData']=!0x1,this['listenTo'](_0xcc4c6a,'change:isReady',()=>this['refresh']()),this['listenTo'](_0xcc4c6a,'change:isEnabled',()=>this['refresh']());}}class Rt extends _0x1c1c30{['execute'](){const _0x1131de=this['editor'],_0x40ea78=_0x1131de['plugins']['get'](d),{isNavigationMode:_0xf24c38,currentChangeNumber:_0x569240}=_0x40ea78;let _0x530607;if(_0x40ea78['activeChange']=_0xf24c38?_0x40ea78['diff']['changes']['get'](_0x569240+this['_step']):_0x40ea78['diff']['changes']['first'],_0x40ea78['activeChange']['data']['isOnRoot'])_0x530607=_0x1131de['editing']['view']['getDomRoot'](_0x40ea78['activeChange']['rootName']);else{const _0x1f4cd3=_0x1131de['model']['markers']['get']('revision:'+_0x40ea78['activeChange']['id']);_0x530607=_0x461b7d(_0x1131de['editing'],_0x1f4cd3);}_0x3a4463({'target':_0x530607,'viewportOffset':0x28});}['refresh'](){const {isNavigationMode:_0x1e4f1b,currentChangeNumber:_0x512687,numberOfChanges:_0x33c37e,isReady:_0x475349,isEnabled:_0x31a6b3}=this['editor']['plugins']['get'](d);this['isEnabled']=!!(_0x31a6b3&&_0x475349&&_0x33c37e)&&(!_0x1e4f1b||(0x1===this['_step']?_0x512687<_0x33c37e-0x1:_0x512687>0x0));}constructor(_0x1e8d2f,{direction:_0x2d7718}){super(_0x1e8d2f);const _0x30bdf3=_0x1e8d2f['plugins']['get'](d);this['affectsData']=!0x1,this['_step']='forward'===_0x2d7718?0x1:-0x1,this['listenTo'](_0x30bdf3,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x30bdf3,'change:isEnabled',()=>this['refresh']()),this['listenTo'](_0x30bdf3,'change:activeChange',()=>this['refresh']());}}class _i extends _0x796ce0{constructor(_0x4d496f){super(_0x4d496f);const _0x27990d=this['bindTemplate'],_0x2cc5da=new _0x2e3682(_0x4d496f),_0x1aa22a=new _0x2e3682(_0x4d496f);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',(_0xdc6739,_0x3d7be5)=>_0xdc6739&&_0x3d7be5>0x0),this['bind']('_statusText')['to'](this,'isReady',this,'currentChangeNumber',this,'numberOfChanges',this,'isNavigationMode',(_0x6da75,_0x205341,_0x349c52,_0x4fd840)=>{if(!_0x6da75)return y(_0x4d496f,'Loading...');if(!_0x349c52)return y(_0x4d496f,'No\x20changes');const _0x33e42d=y(_0x4d496f,'NUMBER_OF_CHANGES',_0x349c52);return _0x4fd840?y(_0x4d496f,'X_OF_Y_CHANGES',[_0x205341+0x1,_0x349c52]):_0x33e42d;}),_0x2cc5da['set']({'label':y(_0x4d496f,'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'}),_0x1aa22a['set']({'label':y(_0x4d496f,'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'}),_0x2cc5da['bind']('isEnabled')['to'](this,'isBackwardNavigationEnabled'),_0x1aa22a['bind']('isEnabled')['to'](this,'isForwardNavigationEnabled'),_0x2cc5da['on']('execute',()=>this['fire']('execute','backward')),_0x1aa22a['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',_0x27990d['if']('_isStatusLabelVisible','ck-hidden',_0x4db7c6=>!_0x4db7c6)]},'children':[{'text':_0x27990d['to']('isNavigationMode',_0x2533bf=>_0x2533bf?y(_0x4d496f,'EDIT_X_OF_Y_REVISIONS')+':\x20':y(_0x4d496f,'Total')+':\x20')}]},{'text':_0x27990d['to']('_statusText')}]},new _0xc56657(),{'tag':'div','attributes':{'class':['ck-revision-history-ui__changes-navigation__navigation']},'children':[_0x2cc5da,_0x1aa22a]}]});}}const ce='ck-editor__editable__loading-overlay';class de extends _0x17c1cc{static get['pluginName'](){return'RevisionViewerLoadingOverlay';}['show'](){const _0x367b3d=this['editor']['editing']['view'];_0x367b3d['change'](_0x510b02=>{for(const _0x47df86 of _0x367b3d['document']['roots'])_0x510b02['addClass'](ce,_0x47df86);});}['hide'](){const _0xc13642=this['editor']['editing']['view'];_0xc13642['change'](_0x293389=>{for(const _0x522a01 of _0xc13642['document']['roots'])_0x293389['removeClass'](ce,_0x522a01);});}}class R extends _0x17c1cc{static get['pluginName'](){return'RevisionViewerUI';}static get['requires'](){return[d,de];}['init'](){const _0x120761=this['editor'],_0x5bf685=_0x120761['plugins']['get'](d),_0x35075a=_0x120761['plugins']['get'](de);_0x120761['ui']['componentFactory']['add']('exitToEditing',_0x2c5031=>{const _0x435efe=new _0x2e3682(_0x2c5031);return _0x435efe['set']({'label':y(_0x2c5031,'Back\x20to\x20editing'),'icon':_0x4df937['undo'],'withText':!0x0,'tooltip':!0x0,'class':'ck-revision-history-ui__back-to-editing'}),this['listenTo'](_0x435efe,'execute',()=>{_0x120761['config']['get']('revisionHistory')['closeRevisionViewerCallback']();}),_0x435efe;}),_0x120761['ui']['componentFactory']['add']('restoreRevision',_0x215b49=>{const _0x5b84f5=new _0x2e3682(_0x215b49);return _0x5b84f5['set']({'label':y(_0x215b49,'Restore\x20this\x20revision'),'withText':!0x0,'tooltip':!0x0}),_0x5b84f5['bind']('isEnabled')['to'](_0x120761['commands']['get']('restoreRevision')),this['listenTo'](_0x5b84f5,'execute',()=>_0x120761['execute']('restoreRevision')),_0x5b84f5;}),_0x120761['ui']['componentFactory']['add']('changesNavigation',_0x44cc4c=>{const _0x441178=new _i(_0x44cc4c),_0x50bebc=_0x120761['commands']['get']('showPreviousChange'),_0x3e263a=_0x120761['commands']['get']('showNextChange');return _0x441178['bind']('isBackwardNavigationEnabled')['to'](_0x50bebc,'isEnabled'),_0x441178['bind']('isForwardNavigationEnabled')['to'](_0x3e263a,'isEnabled'),_0x441178['bind']('isReady','currentChangeNumber','numberOfChanges','isNavigationMode')['to'](_0x5bf685),this['listenTo'](_0x441178,'execute',(_0x2b098d,_0x416cd5)=>{_0x120761['execute']('forward'===_0x416cd5?'showNextChange':'showPreviousChange');}),_0x441178;}),_0x35075a['show'](),_0x5bf685['on']('change:isReady',(_0x279c63,_0x566b25,_0x637fa1)=>{_0x637fa1?_0x35075a['hide']():_0x35075a['show']();});}}class vt extends mt{['render'](){super['render'](),this['_resizeObserver']=new kt(this['fieldView']['element'],()=>this['_updateTooltipText']()),this['listenTo'](this['fieldView'],'input',()=>this['_updateTooltipText']());}['destroy'](){super['destroy'](),this['_resizeObserver']&&this['_resizeObserver']['destroy']();}['_updateTooltipText'](){const _0x4dd285=this['fieldView']['element'];this['_tooltipString']=_0x4dd285['scrollWidth']>_0x4dd285['clientWidth']&&_0x4dd285['value']||'';}constructor(_0x4950b2,_0x574867){super(_0x4950b2,_0x574867),this['_resizeObserver']=null;const _0x5c8340=this['bindTemplate'];this['set']({'label':y(_0x4950b2,'Revision\x20name'),'_tooltipString':''}),this['fieldView']['placeholder']=y(_0x4950b2,'Enter\x20the\x20revision\x20name'),this['extendTemplate']({'tag':'span','attributes':{'class':['ck-revision-history-sidebar__revision-name'],'data-cke-tooltip-text':_0x5c8340['to']('_tooltipString'),'data-cke-tooltip-position':'s','data-cke-tooltip-class':'ck-tooltip_multi-line'}});}}class ti extends _0x796ce0{constructor(_0x3de6d4,_0x1ae404,_0x39bb9e){super(_0x3de6d4);const _0x45ba97=new _0x12b085();_0x45ba97['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 _0x3a610c=['ck','ck-revision-history-sidebar__revision-author'];_0x39bb9e&&_0x3a610c['push']('ck-revision-history-sidebar__revision-author_creator');const _0x2b6672=[{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__revision-author__name'],'title':y(_0x3de6d4,_0x39bb9e?'Revision\x20creator':'Revision\x20author')},'children':[_0x45ba97,_0x1ae404['name']]}];this['setTemplate']({'tag':'li','attributes':{'class':_0x3a610c},'children':_0x2b6672});}}function ni(_0x3b13a5,_0x8dea93){const _0x3d3365=_0x3b13a5['bindTemplate'],_0x2c26e9=_0x3b13a5['locale'],_0x434b6c=_0x15005b(_0x2c26e9);_0x434b6c['panelPosition']='sw';const _0x5a3eb3=function(_0x2b3ce1,_0x426b58){const _0x2c74d7=function(_0x4503c3,_0x374a8b){const _0x26f3b3=_0x4503c3['locale'],_0x47f3d5={'Compare\x20against\x20selected':y(_0x26f3b3,'Compare\x20against\x20selected'),'Name\x20this\x20revision':y(_0x26f3b3,'Name\x20this\x20revision'),'Restore\x20this\x20revision':y(_0x26f3b3,'Restore\x20this\x20revision')};return _0x374a8b['map'](_0x4ff56d=>{const _0x3de055=_0x47f3d5[_0x4ff56d['name']];return _0x3de055&&_0x3de055!==_0x4ff56d['name']&&(_0x4ff56d['name']=_0x3de055),_0x4ff56d;});}(_0x2b3ce1,_0x426b58),_0x2ff7de=new _0x210b3a();for(const _0x36dc4d of _0x2c74d7){const _0x1140ac={'type':'button','model':new to({'label':_0x36dc4d['name'],'class':_0x36dc4d['class'],'withText':!0x0,'role':'menuitem','_action':_0x36dc4d['action']})};_0x1140ac['model']['bind']('isEnabled')['to'](_0x2b3ce1,'isActionsDropdownOpen',_0x354c1f=>'function'!=typeof _0x36dc4d['isEnabled']||(!_0x354c1f||_0x36dc4d['isEnabled'](_0x2b3ce1))),_0x2ff7de['add'](_0x1140ac);}return _0x2ff7de;}(_0x3b13a5,_0x8dea93);return _0x3b13a5['bind']('isActionsDropdownOpen')['to'](_0x434b6c,'isOpen'),_0x434b6c['buttonView']['set']({'label':y(_0x2c26e9,'Show\x20more\x20items'),'tooltip':!0x0,'tooltipPosition':'sw','icon':_0x4df937['threeVerticalDots']}),_0x434b6c['extendTemplate']({'attributes':{'class':['ck-revision-history-sidebar__revision__actions',_0x3d3365['if']('isActionsDropdownOpen','ck-on')]},'on':{'click':_0x3d3365['to'](_0x792e2=>_0x792e2['stopPropagation']())}}),_0x434b6c['on']('execute',_0x478fa7=>{_0x3b13a5['isReady']&&'function'==typeof _0x478fa7['source']['_action']&&_0x478fa7['source']['_action'](_0x3b13a5);}),_0x497b9d(_0x434b6c,_0x5a3eb3,{'role':'menu'}),_0x434b6c['listenTo'](_0x3b13a5,'change:isActionsDropdownOpen',(_0x45a34c,_0x39df1a,_0x2ed78f)=>{if(_0x2ed78f)for(const _0x208fe3 of _0x434b6c['listView']['items']){const _0x1eabd0=_0x208fe3['children']['first'],_0x4fdd13=_0x8dea93['find'](_0x2fbf31=>_0x2fbf31['action']===_0x1eabd0['_action'])['isVisible'];_0x208fe3['isVisible']=void 0x0===_0x4fdd13||_0x4fdd13(_0x3b13a5);}}),_0x434b6c;}class ai extends _0x346f20(_0x796ce0){['render'](){super['render']();const _0x542054=this['revisionNameView']['fieldView']['element'];this['listenTo'](_0x542054,'change',()=>{this['_requireRevisionName']&&!_0x542054['value']||this['fire']('setName',{'id':this['id'],'name':_0x542054['value']}),_0x542054['value']||(_0x542054['value']=this['name']?this['name']:this['_createdAtFormatted']);});}['select'](){this['isSelected']=!0x0;}['deselect'](){this['isSelected']=!0x1;}['highlight'](){this['isHighlighted']=!0x0;}['unhighlight'](){this['isHighlighted']=!0x1;}constructor(_0x10461c,_0x3c7c49,_0x4f33a2,_0x327080){super(_0x10461c);const _0x12c9ba=this['bindTemplate'],_0x231aa3=function(_0x296f51,_0x3856ae){const _0x5566fb=Array['from'](_0x3856ae['authors'])['filter'](_0x49b068=>_0x49b068!=_0x3856ae['creator']);return _0x3856ae['creator']&&_0x5566fb['unshift'](_0x3856ae['creator']),_0x5566fb['map'](_0x3fde77=>new ti(_0x296f51,_0x3fde77,_0x3fde77==_0x3856ae['creator']));}(_0x10461c,_0x3c7c49);this['id']=_0x3c7c49['id'],this['_revision']=_0x3c7c49,this['_requireRevisionName']=_0x327080,this['bind']('name','createdAt')['to'](_0x3c7c49),this['bind']('_createdAtFormatted')['to'](this,'createdAt',_0xce652a=>{return _0x1c559a=_0x10461c['uiLanguage'],(_0x5c95ec=_0xce652a)['toLocaleDateString'](_0x1c559a,{'month':'long','day':'numeric'})+',\x20'+_0x5c95ec['toLocaleTimeString'](_0x1c559a,{'hour':'numeric','minute':'numeric'});var _0x1c559a,_0x5c95ec;}),this['set']('isSelected',!0x1),this['set']('isHighlighted',!0x1),this['set']('isActionsDropdownOpen',!0x1),this['set']('isReady',!0x1),this['set']('isEnabled',!0x1),this['revisionNameView']=new vt(_0x10461c,_0x169543),this['revisionNameView']['fieldView']['extendTemplate']({'attributes':{'maxlength':'220'}}),this['revisionNameView']['fieldView']['bind']('value')['to'](this,'name',_0x2e0f61=>_0x2e0f61||this['_createdAtFormatted']),this['revisionNameView']['bind']('isEnabled')['to'](this,'isSelected',this,'isEnabled',(_0x460583,_0x2de66a)=>_0x460583&&_0x2de66a),this['revisionActionsView']=_0x4f33a2&&_0x4f33a2['length']?ni(this,_0x4f33a2):'',this['revisionActionsView']&&this['revisionActionsView']['bind']('isEnabled')['to'](this),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision-wrapper',_0x12c9ba['if']('isConfirm','ck-revision-history-sidebar__revision-wrapper_confirmation_visible')]},'children':[{'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision',_0x12c9ba['if']('isEnabled','ck-disabled',_0xe44aff=>!_0xe44aff),_0x12c9ba['if']('isSelected','ck-revision-history-sidebar__revision_selected'),_0x12c9ba['if']('isHighlighted','ck-revision-history-sidebar__revision_highlighted'),_0x12c9ba['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':_0x12c9ba['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':_0x231aa3}]},this['revisionActionsView']],'on':{'click':_0x12c9ba['to'](_0x7484a8=>{_0x7484a8['srcElement']['closest']('.ck-thread__remove-confirm')||this['isReady']&&this['isEnabled']&&this['fire']('select',{'id':this['id']});})}}]});}}function di(_0x4f6c11,_0x1c6aff){const _0x3ce537=_0x5915f2['fromJSDate'](_0x4f6c11)['setLocale'](_0x1c6aff),_0x3f7275=_0x5915f2['local'](),_0x3c4444=_0x3f7275['minus']({'days':0x1})['startOf']('day');let _0x2285d8,_0x5583b1;return _0x3ce537['hasSame'](_0x3f7275,'day')?(_0x2285d8=_0x3ce537['startOf']('day')['toJSDate'](),_0x5583b1=_0x3ce537['toRelativeCalendar']()):_0x3ce537['hasSame'](_0x3c4444,'day')?(_0x2285d8=_0x3c4444['toJSDate'](),_0x5583b1=_0x3ce537['toRelativeCalendar']()):_0x3ce537['hasSame'](_0x3f7275,'week')?(_0x2285d8=_0x3ce537['startOf']('week')['toJSDate'](),_0x5583b1=_0x3ce537['weekdayLong']||''):_0x3ce537['hasSame'](_0x3f7275,'year')?(_0x2285d8=_0x3ce537['startOf']('month')['toJSDate'](),_0x5583b1=_0x3ce537['monthLong']||''):(_0x2285d8=_0x3ce537['startOf']('year')['toJSDate'](),_0x5583b1=String(_0x3ce537['year'])),{'startDate':_0x2285d8,'localizedPeriodName':_0x5583b1};}class mi extends _0x796ce0{['addRevision'](_0x427546){const _0x9bb0b9=new ai(this['locale'],_0x427546,this['_revisionActions'],this['_requireRevisionName']);this['revisionViews']['add'](_0x9bb0b9);}['removeRevision'](_0x450e84){const _0x4b7d35=this['revisionViews']['find'](_0xd60694=>_0xd60694['id']===_0x450e84['id']);this['revisionViews']['remove'](_0x4b7d35);}constructor(_0x478e23,_0x3e1377,_0x2b466f,_0x357c64){super(_0x478e23);const _0x5056c5=di(_0x3e1377,this['locale']['uiLanguage'])['localizedPeriodName'];this['startDate']=_0x3e1377,this['revisionViews']=this['createCollection'](),this['_revisionActions']=_0x2b466f,this['_requireRevisionName']=_0x357c64,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':_0x5056c5}]},{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__time-period__revisions']},'children':this['revisionViews']}]});}}class as extends _0x796ce0{constructor(_0x188788){super(_0x188788);const _0x3f6e39=new _0x12b085();_0x3f6e39['content']=_0x4df937['history'],this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all','ck-revision-history-sidebar__header']},'children':[_0x3f6e39,{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__header__label']},'children':[y(_0x188788,'Revision\x20history')]}]});}}class ci extends _0x796ce0{['render'](){super['render']();for(const _0x1f3ce6 of this['_revisions'])this['_addRevision'](_0x1f3ce6);this['_revisions']['on']('add',(_0x9e55ba,_0x50d6d6)=>{this['_addRevision'](_0x50d6d6);}),this['_revisions']['on']('remove',(_0xd98a66,_0x14fbde)=>{this['_removeRevision'](_0x14fbde);});}get['revisionViews'](){return this['timePeriodViews']['map'](_0x4abf3d=>_0x4abf3d['revisionViews']['map'](_0x3b2d7a=>_0x3b2d7a))['flat']();}['selectRevision'](_0x382007){for(const _0x2140e1 of this['revisionViews'])_0x382007&&_0x382007['id']===_0x2140e1['id']?_0x2140e1['select']():_0x2140e1['deselect']();}['highlightRevisions'](_0x1e3852){for(const _0x3f50b1 of this['revisionViews'])_0x1e3852['some'](({id:_0xafb2aa})=>_0xafb2aa===_0x3f50b1['id'])?_0x3f50b1['highlight']():_0x3f50b1['unhighlight']();}['_addRevision'](_0x326125){const _0x140be3=di(_0x326125['createdAt'],this['locale']['uiLanguage'])['startDate'];let _0xc7884f=this['timePeriodViews']['get'](0x0);_0xc7884f&&_0xc7884f['startDate']['getTime']()===_0x140be3['getTime']()||(_0xc7884f=new mi(this['locale'],_0x140be3,this['_revisionActions'],this['_requireRevisionName']),this['timePeriodViews']['add'](_0xc7884f)),_0xc7884f['addRevision'](_0x326125);}['_removeRevision'](_0x5843a1){const _0x178c0b=di(_0x5843a1['createdAt'],this['locale']['uiLanguage'])['startDate'];this['_getTimePeriodViewByStartDate'](_0x178c0b)['removeRevision'](_0x5843a1);}['_getTimePeriodViewByStartDate'](_0x48f853){return this['timePeriodViews']['find'](_0x4c6a49=>_0x4c6a49['startDate']['getTime']()===_0x48f853['getTime']());}constructor(_0x511013,_0x3e06d9,_0x356419,_0x1e71e8){super(_0x511013);const _0x48581a=this['bindTemplate'];this['timePeriodViews']=this['createCollection'](),this['timePeriodViews']['delegate']('select')['to'](this),this['timePeriodViews']['delegate']('setName')['to'](this),this['_revisions']=_0x3e06d9,this['_revisionActions']=_0x356419,this['_requireRevisionName']=_0x1e71e8,this['on']('select',(_0x524092,_0x5a87f3)=>{this['fire']('revisionSelected',_0x5a87f3);}),this['on']('setName',(_0x8e337e,_0x17ae22)=>{this['fire']('revisionSetName',_0x17ae22);}),this['set']('isEnabled',!0x1),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-rounded-corners','ck-revision-history-sidebar']},'children':[new as(_0x511013),{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__timeline',_0x48581a['if']('isEnabled','ck-disabled',_0x22a82e=>!_0x22a82e)]},'children':this['timePeriodViews']}]});}}class w extends _0x17c1cc{static get['pluginName'](){return'RevisionsSidebar';}static get['requires'](){return[d];}['init'](){const _0x45a013=this['_revisionsRepository']['_revisions'],_0x27f02e=this['_createRevisionActions'](),_0x57b383=this['editor']['config']['get']('revisionHistory.viewerSidebarContainer');this['_sidebarView']=new ci(this['editor']['locale'],_0x45a013,_0x27f02e,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',(_0x198e87,_0x44e1c6)=>{_0x44e1c6['revisionViews']['on']('add',(_0x562ad4,_0x511615)=>{_0x511615['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)),_0x57b383['appendChild'](this['_sidebarView']['element']);}['destroy'](){this['_sidebarView']['element']['remove'](),this['_sidebarView']['destroy']();}['_handleEditorDataReady'](){const _0x4bcffb=this['_revisionsRepository']['getRevision'](0x0);if(_0x4bcffb){const _0x4f360c=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x4bcffb['id']);this['_revisionViewer']['compare'](_0x4bcffb,_0x4f360c);}}['_handleRevisionSelected'](_0x235803,_0x3f4176){const _0xbb3023=this['_revisionsRepository']['getRevision'](_0x3f4176['id']),_0x32e4bb=this['_revisionsRepository']['getEarlierVisibleRevision'](_0xbb3023['id']);this['_revisionViewer']['compare'](_0xbb3023,_0x32e4bb);}['_handleRevisionSetName'](_0x36d193,_0x31742f){this['_revisionsRepository']['getRevision'](_0x31742f['id'])['setName'](_0x31742f['name']);}['_handleDiffChange'](_0x1715af,_0x131545,_0x5bf561){const _0xdcbd2a=this['_revisionsRepository']['getRevisionsInDiff'](_0x5bf561);_0xdcbd2a['length']>0x2?(this['_sidebarView']['highlightRevisions'](_0xdcbd2a),this['_sidebarView']['selectRevision'](null)):(this['_sidebarView']['highlightRevisions']([]),this['_sidebarView']['selectRevision'](_0xdcbd2a[0x0]));}['_createRevisionActions'](){const _0x41d312=this['editor'],_0x1b115b=w['availableRevisionActions'],_0x311814=_0x41d312['config']['get']('revisionHistory.revisionActions')||w['defaultRevisionActions'];if(_0x311814['length'])return _0x311814['map'](_0x3c610f=>{const _0x27ff3e='string'==typeof _0x3c610f?Object['assign']({},_0x1b115b[_0x3c610f]):_0x3c610f;return _0x27ff3e['action']=_0x27ff3e['action']['bind'](this,_0x41d312),_0x27ff3e['isVisible']&&(_0x27ff3e['isVisible']=_0x27ff3e['isVisible']['bind'](this,_0x41d312)),_0x27ff3e;});}constructor(_0xc90dab){super(_0xc90dab),this['_revisionViewer']=_0xc90dab['plugins']['get'](d),this['_revisionsRepository']=this['_revisionViewer']['repository'],this['_sidebarView']=null;}}w['availableRevisionActions']={'compareAgainstSelected':{'name':'Compare\x20against\x20selected','action':({plugins:_0x2e780b},_0x14e44b)=>{const _0x4b918f=_0x2e780b['get'](d),_0x575b32=_0x4b918f['repository'];let _0x49eef9=_0x4b918f['diff']['newRevisionId'],_0x5a9fa7=_0x14e44b['id'];_0x575b32['getIndex'](_0x49eef9)>_0x575b32['getIndex'](_0x5a9fa7)&&([_0x49eef9,_0x5a9fa7]=[_0x5a9fa7,_0x49eef9]),_0x4b918f['compare'](_0x49eef9,_0x5a9fa7);},'isVisible':({plugins:_0x71fcb},_0x2f5cf7)=>{const _0x2355a8=_0x71fcb['get'](d);return!(_0x2355a8['repository']['getRevisionsInDiff'](_0x2355a8['diff'])['length']>0x2)&&!_0x2f5cf7['isSelected'];}},'restoreRevision':{'name':'Restore\x20this\x20revision','action':(_0x5b1891,{id:_0x5bf599})=>{_0x5b1891['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x5bf599);},'isVisible':({plugins:_0x525427},_0x446db0)=>!!_0x525427['get'](d)['repository']['getLaterVisibleRevision'](_0x446db0['id'])},'nameRevision':{'name':'Name\x20this\x20revision','action':({plugins:_0x2494d1},{id:_0x26600a,revisionNameView:_0x2fb97b})=>{const _0xca464b=_0x2494d1['get'](d),_0x135448=_0xca464b['repository']['getEarlierVisibleRevision'](_0x26600a);_0xca464b['compare'](_0x26600a,_0x135448),_0x2fb97b['focus'](),_0x2fb97b['fieldView']['select']();}}},w['defaultRevisionActions']=['compareAgainstSelected','restoreRevision','nameRevision'];class ot extends ht{get['view'](){return this['_view'];}get['element'](){return this['view']['element'];}['init'](_0x527b3f){const _0x4f9dc7=this['editor'],_0x34193d=this['view'],_0x2d83f5=_0x4f9dc7['editing']['view'],_0x1d9960=_0x34193d['editable'],_0x2ec64e=_0x2d83f5['document']['getRoot']();_0x1d9960['name']=_0x2ec64e['rootName'],_0x34193d['render']();const _0x400d63=_0x1d9960['element'];this['setEditableElement'](_0x1d9960['name'],_0x400d63),_0x34193d['editable']['bind']('isFocused')['to'](this['focusTracker']),_0x2d83f5['attachDomRoot'](_0x400d63),this['_elementReplacer']['replace'](_0x527b3f,this['element']),this['_initToolbar'](),this['fire']('ready');}['destroy'](){super['destroy']();const _0x68108e=this['view'],_0x192469=this['editor']['editing']['view'];this['_elementReplacer']['restore'](),_0x192469['detachDomRoot'](_0x68108e['editable']['name']),_0x68108e['destroy']();}['_initToolbar'](){const _0x3dcc34=this['view'];_0x3dcc34['stickyPanel']['bind']('isActive')['to'](this['focusTracker'],'isFocused'),_0x3dcc34['stickyPanel']['limiterElement']=_0x3dcc34['element'],_0x3dcc34['stickyPanel']['bind']('viewportTopOffset')['to'](this,'viewportOffset',({top:_0x5a935c})=>_0x5a935c),_0x3dcc34['toolbar']['fillFromConfig'](this['_toolbarConfig'],this['componentFactory']),this['addToolbar'](_0x3dcc34['toolbar']);}constructor(_0x5270c8,_0x3a3a03){super(_0x5270c8),this['_view']=_0x3a3a03,this['_toolbarConfig']=ct(_0x5270c8['config']['get']('toolbar')),this['_elementReplacer']=new nt();}}class at extends dt{get['editable'](){return this['_editable'];}['render'](){super['render'](),this['stickyPanel']['content']['add'](this['toolbar']),this['top']['add'](this['stickyPanel']),this['main']['add'](this['editable']);}constructor(_0x4abead,_0x344df1,_0x18564b={}){super(_0x4abead),this['stickyPanel']=new lt(_0x4abead),this['toolbar']=new pt(_0x4abead,{'shouldGroupWhenFull':_0x18564b['shouldToolbarGroupWhenFull']}),this['_editable']=new ut(_0x4abead,_0x344df1);}}class m extends rt(st(it)){get['ui'](){return this['_ui'];}['destroy'](){return this['updateSourceElement'](),this['ui']['destroy'](),super['destroy']();}static async['create'](_0x3735ff,_0x31aa13){const _0x30f496=new this(_0x3735ff,_0x31aa13);return await _0x30f496['initPlugins'](),await _0x30f496['ui']['init'](_0x3735ff),await _0x30f496['data']['init'](_0x30f496['config']['get']('initialData')||''),_0x30f496['fire']('ready'),_0x30f496;}constructor(_0x3a9312,_0x1ec380){super(_0x1ec380),this['sourceElement']=_0x3a9312,this['model']['document']['createRoot']();const _0xac0b7e=new at(this['locale'],this['editing']['view'],{'shouldToolbarGroupWhenFull':!0x0});this['_ui']=new ot(this,_0xac0b7e);}}const g=['RevisionHistoryUI','RestrictedEditingMode'];class k extends _0x17c1cc{static get['pluginName'](){return'RevisionViewerIntegration';}constructor(_0x17f407){super(_0x17f407),this['result']='end';}}class H extends _0x17c1cc{static get['pluginName'](){return'RevisionHistory';}static get['requires'](){return[l,u];}set['adapter'](_0x12251e){this['editor']['plugins']['get']('RevisionTracker')['adapter']=_0x12251e;}get['adapter'](){return this['editor']['plugins']['get']('RevisionTracker')['adapter'];}['addRevisionData'](_0x370e30){return this['editor']['plugins']['get']('RevisionTracker')['addRevisionData'](_0x370e30);}['getRevision'](_0x21a0c7){return this['editor']['plugins']['get']('RevisionsRepository')['getRevision'](_0x21a0c7);}['getRevisions'](_0x3c6617={'toJSON':!0x1}){return this['editor']['plugins']['get']('RevisionsRepository')['getRevisions'](_0x3c6617);}['_getRevisionViewerEditorConfig'](){const _0x4ad0bc=this['editor'],_0x1530ef=_0x35e67f(_0x4ad0bc,g),_0x55eae7=_0x4ad0bc['plugins']['get']('RevisionTracker'),_0x4c4148=_0x4ad0bc['plugins']['get']('Users')['users'];return _0x1530ef['toolbar']=['exitToEditing','restoreRevision','changesNavigation'],delete _0x1530ef['lazyRoots'],(_0x1530ef['plugins']['push'](k,d,R,class extends _0x17c1cc{static get['requires'](){return[d,'Users'];}['init'](){const _0x15a7de=this['editor']['plugins']['get']('Users');for(const _0x25d57c of _0x4c4148)_0x25d57c['isAnonymous']||_0x15a7de['getUser'](_0x25d57c['id'])||_0x15a7de['addUser'](_0x25d57c);const _0x5b32a8=_0x55eae7['repository']['getRevisions']();let _0x4e8460=null;const _0x1d3c1e=this['editor']['plugins']['get']('RevisionViewer');_0x1d3c1e['adapter']=_0x55eae7['adapter'],_0x1d3c1e['bind']('isEnabled')['to'](_0x55eae7),this['editor']['commands']['get']('restoreRevision')['bind']('isEnabled')['to'](_0x4ad0bc,'isReadOnly',_0x37d4a2=>!_0x37d4a2);for(const _0x17db3f of _0x5b32a8){const _0x228bc8=null===_0x17db3f['creator'];if(_0x228bc8&&_0x17db3f['toVersion']===_0x17db3f['fromVersion'])continue;const _0x5f0c02=_0x17db3f['toJSON']();_0x1d3c1e['addRevisionData'](_0x5f0c02,(_0x3b9de3,_0x3c75fb,_0x283fd1)=>{if(_0x228bc8){if(_0x4e8460)_0x4e8460['_update'](_0x3b9de3,_0x3c75fb);else{if(!_0x3c75fb){const _0x5bb234=_0x283fd1['toJSON']();_0x5bb234['id']=_0x55ddc3(),_0x55eae7['saveRevision'](_0x5bb234,_0x283fd1['toVersion'])['then'](_0x1fed62=>{_0x4e8460=_0x1fed62;});}}}else _0x17db3f['_update'](_0x3b9de3,_0x3c75fb);});}}},w),_0x1530ef);}['_enhanceShowRevisionViewerCallback'](){const _0x5393d7=this['editor']['config']['get']('revisionHistory')['showRevisionViewerCallback'];this['editor']['config']['set']('revisionHistory.showRevisionViewerCallback',async()=>{this['editor']['enableReadOnlyMode']('revision-history-viewer-opened');const _0x2073a8=this['editor']['plugins']['get']('RevisionTracker');if(this['editor']['plugins']['has']('Autosave')){const _0x395a2c=this['editor']['plugins']['get']('Autosave');await _0x395a2c['save']();}else await _0x2073a8['update']();this['editor']['plugins']['has']('PaginationLookup')&&this['editor']['plugins']['get']('PaginationLookup')['_recalculatePageBreaks']();const _0x481d45=this['_getRevisionViewerEditorConfig']();return _0x5393d7(_0x481d45)['then'](_0x2c04b8=>{return(this['_viewerEditor']=_0x2c04b8,this['editor']['plugins']['has']('Annotations'))&&this['editor']['plugins']['get']('Annotations')['refreshVisibility'](),_0x2c04b8;})['catch'](_0x3f7624=>(console['error'](_0x3f7624),this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),null));});}['_enhanceCloseRevisionViewerCallback'](){const _0x13c8e5=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'](),_0x13c8e5(this['_viewerEditor'])['then'](()=>{if(this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),this['_viewerEditor']=null,this['editor']['plugins']['has']('Annotations')){const _0x6dad2e=this['editor']['plugins']['get']('Annotations');_0x6dad2e['refreshVisibility'](),_0x6dad2e['refreshPositioning']();}})));}['_showRevisionViewer'](_0x5223a1){const _0x2831de=this['editor']['config']['get']('revisionHistory.editorContainer'),_0x402c51=this['editor']['config']['get']('revisionHistory.viewerContainer'),_0xa2c6a5=this['editor']['config']['get']('revisionHistory.viewerEditorElement');return m['create'](_0xa2c6a5,_0x5223a1)['then'](_0x5d3d3e=>(_0x402c51['style']['display']='block',_0x2831de['style']['display']='none',_0x5d3d3e));}['_closeRevisionViewer'](_0xa533){const _0xe6bcb3=this['editor']['config']['get']('revisionHistory.editorContainer');return this['editor']['config']['get']('revisionHistory.viewerContainer')['style']['display']='none',_0xe6bcb3['style']['display']='',_0xa533['destroy']();}async['_restoreRevision'](_0x121b80){const _0x38139a=this['editor'],_0x2e2707=this['_viewerEditor']['plugins']['get']('RevisionViewer'),_0x339eac=_0x38139a['plugins']['get']('RevisionTracker'),_0x3d0a9f=_0x2e2707['repository']['getRevision'](_0x121b80);let _0x1377eb,_0x4eb043,_0xa9b38d;try{_0x1377eb=await _0x2e2707['getRevisionData'](_0x3d0a9f),_0x4eb043=await _0x2e2707['getRevisionRootsAttributes'](_0x3d0a9f);}catch(_0x39a97d){return void console['error'](_0x39a97d);}_0x38139a['model']['change'](_0x2b3ece=>{for(const _0xa1080e of Array['from'](_0x38139a['model']['markers']['getMarkersGroup']('restrictedEditingException')))_0x2b3ece['removeMarker'](_0xa1080e);}),_0x2e2707['isReady']=!0x1,_0x38139a['model']['enqueueChange'](_0x194f67=>{_0x194f67['setSelection'](null),_0x194f67['removeSelectionAttribute'](_0x38139a['model']['document']['selection']['getAttributeKeys']());const _0x3e1c74=Object['keys'](_0x1377eb);for(const _0x56f724 of _0x38139a['model']['document']['roots'])'$graveyard'!=_0x56f724['rootName']&&_0x56f724['isAttached']()&&!_0x3e1c74['includes'](_0x56f724['rootName'])&&_0x194f67['detachRoot'](_0x56f724);for(const _0x3e6afa of _0x3e1c74){let _0xdb62ac=_0x38139a['model']['document']['getRoot'](_0x3e6afa);_0xdb62ac&&_0xdb62ac['isAttached']()||(_0xdb62ac=_0x194f67['addRoot'](_0x3e6afa));const _0x1e0f7c=_0x4eb043[_0x3e6afa],_0x49c232=Object['keys'](_0x1e0f7c),_0x465a11=_0x1377eb[_0x3e6afa];for(const _0x52bcd7 of _0xdb62ac['getAttributeKeys']())_0x49c232['includes'](_0x52bcd7)||_0x194f67['removeAttribute'](_0x52bcd7,_0xdb62ac);for(const _0x2ff9e0 of _0x49c232)_0x194f67['setAttribute'](_0x2ff9e0,_0x4eb043[_0x3e6afa][_0x2ff9e0],_0xdb62ac);_0x194f67['remove'](_0x194f67['createRangeIn'](_0xdb62ac)),_0x194f67['insert'](_0x38139a['data']['parse'](_0x465a11,_0xdb62ac),_0xdb62ac,0x0);}});const _0x95f105=y(_0x38139a['locale'],'Restored');if(_0x3d0a9f['name'])_0xa9b38d=-0x1==_0x3d0a9f['name']['indexOf'](_0x95f105)?_0x95f105+':\x20'+_0x3d0a9f['name']:_0x3d0a9f['name'];else _0xa9b38d=_0x95f105+':\x20'+(_0x3d0a9f['createdAt']['toLocaleDateString'](_0x38139a['locale']['uiLanguage'],{'month':'long','day':'numeric'})+',\x20'+_0x3d0a9f['createdAt']['toLocaleTimeString'](_0x38139a['locale']['uiLanguage'],{'hour':'numeric','minute':'numeric'}));return await _0x339eac['saveRevision']({'name':_0xa9b38d}),_0x2e2707['isReady']=!0x0,_0x38139a['config']['get']('revisionHistory')['closeRevisionViewerCallback']();}constructor(_0xab30de){if(super(_0xab30de),!this['editor']['config']['get']('revisionHistory'))throw new _0x11cae8('revision-history-missing-configuration',this);this['_viewerEditor']=null,this['editor']['config']['define']('revisionHistory.showRevisionViewerCallback',_0x1ff90c=>this['_showRevisionViewer']({..._0x1ff90c,'translations':this['editor']['locale']['translations']})),this['editor']['config']['define']('revisionHistory.closeRevisionViewerCallback',_0x438290=>this['_closeRevisionViewer'](_0x438290)),this['editor']['config']['define']('revisionHistory.restoreRevisionCallback',_0x4bd47e=>this['_restoreRevision'](_0x4bd47e)),this['editor']['config']['define']('revisionHistory.requireRevisionName',!0x1),this['_enhanceShowRevisionViewerCallback'](),this['_enhanceCloseRevisionViewerCallback']();}}export{H as RevisionHistory,u as RevisionHistoryUI,l as RevisionTracker,d as RevisionViewer,de as RevisionViewerLoadingOverlay,R as RevisionViewerUI,A as RevisionsRepository,w as RevisionsSidebar};
|