@ckeditor/ckeditor5-revision-history 0.0.0-nightly-20240605.0 → 0.0.0-nightly-20240606.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/README.md +6 -0
- package/build/revision-history.js +1 -1
- package/dist/index.js +7 -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/ti.js +1 -1
- package/dist/translations/ti.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/dist/types/changeitem.d.ts +1 -1
- package/dist/types/editor/revisionviewereditor.d.ts +1 -1
- package/dist/types/revision.d.ts +1 -1
- package/dist/types/ui/revision/revisionview.d.ts +1 -1
- package/package.json +5 -5
- package/src/changeitem.d.ts +1 -1
- package/src/changeitem.js +2 -1
- package/src/editor/revisionviewereditor.d.ts +1 -1
- package/src/editor/revisionviewereditor.js +2 -1
- package/src/editor/revisionviewereditorui.js +1 -1
- package/src/editor/revisionviewereditoruiview.js +1 -1
- package/src/index.js +1 -1
- package/src/revision.d.ts +1 -1
- package/src/revision.js +2 -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.d.ts +1 -1
- package/src/ui/revision/revisionview.js +2 -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/dist/index.js
CHANGED
|
@@ -20,4 +20,10 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Plugin as _0x5c15fd,Context as _0x310040,PendingActions as _0x3c372a,icons as _0x2c290b,Command as _0x5c199,DataApiMixin as rt,ElementApiMixin as st,Editor as it}from'@ckeditor/ckeditor5-core/dist/index.js';import{ObservableMixin as _0x41e4cd,uid as _0x636be9,Collection as _0x514bfa,logWarning as _0x5dc82f,FocusTracker as _0x4746a7,KeystrokeHandler as _0x33441c,scrollViewportToShowTarget as _0x57e02d,ResizeObserver as kt,ElementReplacer as nt,CKEditorError as _0x150b43}from'@ckeditor/ckeditor5-utils/dist/index.js';import{Users as _0x4b4fc0,getMarkerDomElement as _0x20d86e,ConfirmMixin as _0x3a8aa6,sanitizeEditorConfig as _0x441c9a}from'ckeditor5-collaboration/dist/index.js';import{ViewDocumentFragment as _0x2ff53f,ViewText as _0x4eeb9b,ViewElement as _0x213dcd,Element as ft,Range as gt,Position as wt,DocumentFragment as _t,ViewContainerElement as _0x4f89d2,ViewAttributeElement as _0x3be05a,ViewEmptyElement as _0x48b169,ViewRawElement as _0x308496,ViewUIElement as _0x5d8251,Text as yt}from'@ckeditor/ckeditor5-engine/dist/index.js';import{cloneDeep as _0x25c33f,set as _0x2c36e2,unset as _0xc55a08,isEqual as _0x43f07f}from'lodash-es';import{View as _0xfc1eca,submitHandler as _0x38185e,LabeledFieldView as mt,createLabeledInputText as _0x2543fe,injectCssTransitionDisabler as ts,createDropdown as _0x288ef7,ListView as te,ListItemView as _0x238cc6,ButtonView as _0x162f6c,MenuBarMenuView as _0x48d8c0,MenuBarMenuListView as _0x451e7d,MenuBarMenuListItemView as _0x4d5e29,MenuBarMenuListItemButtonView as _0x342d07,ContextualBalloon as _0x2161dc,ToolbarSeparatorView as _0x1e1d71,IconView as _0x322337,addListToDropdown as _0x4b72af,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 _0x262eae}from'luxon';class a extends _0x41e4cd(){['setName'](_0x2f5e17){this['_update']({'name':_0x2f5e17});}['setAttribute'](_0x39c008,_0x559454){const _0x516d1c=_0x25c33f(this['attributes']);_0x2c36e2(_0x516d1c,_0x39c008,_0x559454),this['_update']({'attributes':_0x516d1c});}['removeAttribute'](_0x78ffbf){const _0x2014d0=_0x25c33f(this['attributes']);_0xc55a08(_0x2014d0,_0x78ffbf),this['_update']({'attributes':_0x2014d0});}['_update'](_0x1f05f1,_0x26ea63=!0x1){let _0x3c04d8=!0x1;const _0x1f16b3={'id':this['id']},_0x2cf9d5=['name','createdAt','diffData','authors','attributes','toVersion','fromVersion','creatorId'];for(const _0x3ab0e8 of _0x2cf9d5){const _0x243ae5=_0x1f05f1[_0x3ab0e8];void 0x0!==_0x243ae5&&_0x243ae5!==this[_0x3ab0e8]&&(this[_0x3ab0e8]=_0x243ae5,_0x1f16b3[_0x3ab0e8]=_0x243ae5,_0x3c04d8=!0x0);}_0x3c04d8&&(_0x1f16b3['authors']&&(_0x1f16b3['authorsIds']=_0x1f16b3['authors']['map'](_0x42c37e=>_0x42c37e['id']),delete _0x1f16b3['authors']),this['fire']('_update',_0x1f16b3,_0x26ea63));}['toJSON'](){return{'id':this['id'],'name':this['name'],'creatorId':this['creator']?this['creator']['id']:null,'authorsIds':this['authors']['map'](_0x4d7e51=>_0x4d7e51['id']),'diffData':this['diffData'],'createdAt':this['createdAt'],'attributes':this['attributes'],'fromVersion':this['fromVersion'],'toVersion':this['toVersion']};}constructor(_0x39d8f4){super(),this['id']=_0x39d8f4['id']||_0x636be9(),this['creator']=_0x39d8f4['creator']||null,this['authors']=_0x39d8f4['authors']||[],this['diffData']=_0x39d8f4['diffData']||null,this['toVersion']=_0x39d8f4['toVersion']||0x0,this['fromVersion']=_0x39d8f4['fromVersion']||0x0,this['set']('name',_0x39d8f4['name']||''),this['set']('createdAt',_0x39d8f4['createdAt']||new Date()),this['set']('attributes',_0x39d8f4['attributes']||{});}}class A extends _0x5c15fd{static get['requires'](){return[_0x4b4fc0];}static get['pluginName'](){return'RevisionsRepository';}get['length'](){return this['_revisions']['length'];}['afterInit'](){!function(_0x1cff40){function _0x1987bf(_0x432074,_0x40070b,_0xe91220){const _0x5cd028={};_0x5cd028[_0x14f391([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])]={0x10:0xa,0x18:0xc,0x20:0xe},_0x5cd028[_0x14f391([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],_0x5cd028[_0x14f391([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],_0x5cd028[_0x14f391([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],_0x5cd028[_0x14f391([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],_0x5cd028[_0x14f391([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],_0x5cd028[_0x14f391([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],_0x5cd028[_0x14f391([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],_0x5cd028[_0x14f391([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],_0x5cd028[_0x14f391([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],_0x5cd028[_0x14f391([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 _0x10de69=new Uint8Array(0x10);for(let _0x486431=0xf;_0x486431>=0x0;--_0x486431)_0x10de69[_0x486431]=_0xe91220%0x100,_0xe91220=parseInt(_0xe91220/0x100);let _0x3982fd=null,_0x234e75=0x10;const _0x2467f3=new Uint8Array(_0x40070b),_0x52235f=[],_0x38c691=[];_0x272646();for(let _0x368d8c=0x0;_0x368d8c<_0x432074[_0x14f391([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x368d8c++)0x10===_0x234e75&&(_0x3982fd=_0xa0b0b3(_0x10de69),_0x234e75=0x0,_0x1f9a60(_0x10de69)),_0x432074[_0x368d8c]^=_0x3982fd[_0x234e75++];return _0x432074;function _0x135751(_0x2f8dec){const _0x2ea800=[];for(let _0x5ab0cd=0x0;_0x5ab0cd<_0x2f8dec[_0x14f391([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5ab0cd+=0x4)_0x2ea800[_0x14f391([0x70,0x75,0x73,0x68])](_0x2f8dec[_0x5ab0cd]<<0x18|_0x2f8dec[_0x5ab0cd+0x1]<<0x10|_0x2f8dec[_0x5ab0cd+0x2]<<0x8|_0x2f8dec[_0x5ab0cd+0x3]);return _0x2ea800;}function _0x1f9a60(_0x5e06fa){for(let _0x136704=0xf;_0x136704>=0x0;_0x136704--){if(0xff!==_0x5e06fa[_0x136704]){_0x5e06fa[_0x136704]++;break;}_0x5e06fa[_0x136704]=0x0;}}function _0xa0b0b3(_0x7453d3){const _0x27a888=_0x52235f[_0x14f391([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x1,_0x2daf14=[0x0,0x0,0x0,0x0];let t=_0x135751(_0x7453d3);for(let _0x52f5a2=0x0;_0x52f5a2<0x4;_0x52f5a2++)t[_0x52f5a2]^=_0x52235f[0x0][_0x52f5a2];for(let _0x583e3f=0x1;_0x583e3f<_0x27a888;_0x583e3f++){for(let _0x3ef0aa=0x0;_0x3ef0aa<0x4;_0x3ef0aa++)_0x2daf14[_0x3ef0aa]=_0x5cd028[_0x14f391([0x54,0x31])][t[_0x3ef0aa]>>0x18&0xff]^_0x5cd028[_0x14f391([0x54,0x32])][t[(_0x3ef0aa+0x1)%0x4]>>0x10&0xff]^_0x5cd028[_0x14f391([0x54,0x33])][t[(_0x3ef0aa+0x2)%0x4]>>0x8&0xff]^_0x5cd028[_0x14f391([0x54,0x34])][0xff&t[(_0x3ef0aa+0x3)%0x4]]^_0x52235f[_0x583e3f][_0x3ef0aa];t=_0x2daf14[_0x14f391([0x73,0x6c,0x69,0x63,0x65])]();}const _0x164688=new Uint8Array(0x10);let _0x35e618;for(let _0x243d11=0x0;_0x243d11<0x4;_0x243d11++)_0x35e618=_0x52235f[_0x27a888][_0x243d11],_0x164688[0x4*_0x243d11]=0xff&(_0x5cd028[_0x14f391([0x53])][t[_0x243d11]>>0x18&0xff]^_0x35e618>>0x18),_0x164688[0x4*_0x243d11+0x1]=0xff&(_0x5cd028[_0x14f391([0x53])][t[(_0x243d11+0x1)%0x4]>>0x10&0xff]^_0x35e618>>0x10),_0x164688[0x4*_0x243d11+0x2]=0xff&(_0x5cd028[_0x14f391([0x53])][t[(_0x243d11+0x2)%0x4]>>0x8&0xff]^_0x35e618>>0x8),_0x164688[0x4*_0x243d11+0x3]=0xff&(_0x5cd028[_0x14f391([0x53])][0xff&t[(_0x243d11+0x3)%0x4]]^_0x35e618);return _0x164688;}function _0x272646(){const _0x48b1d6=_0x5cd028[_0x14f391([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])][_0x2467f3[_0x14f391([0x6c,0x65,0x6e,0x67,0x74,0x68])]];for(let _0x4dcef5=0x0;_0x4dcef5<=_0x48b1d6;_0x4dcef5++)_0x52235f[_0x14f391([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]),_0x38c691[_0x14f391([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]);const _0x13d498=0x4*(_0x48b1d6+0x1),_0x48d0ae=_0x2467f3[_0x14f391([0x6c,0x65,0x6e,0x67,0x74,0x68])]/0x4,_0x33c915=_0x135751(_0x2467f3);let _0x42cbb6;for(let _0x30dee1=0x0;_0x30dee1<_0x48d0ae;_0x30dee1++)_0x42cbb6=_0x30dee1>>0x2,_0x52235f[_0x42cbb6][_0x30dee1%0x4]=_0x33c915[_0x30dee1],_0x38c691[_0x48b1d6-_0x42cbb6][_0x30dee1%0x4]=_0x33c915[_0x30dee1];let _0x382822,_0x2c357a=0x0,t=_0x48d0ae;for(;t<_0x13d498;){_0x382822=_0x33c915[_0x48d0ae-0x1],_0x33c915[0x0]^=_0x5cd028[_0x14f391([0x53])][_0x382822>>0x10&0xff]<<0x18^_0x5cd028[_0x14f391([0x53])][_0x382822>>0x8&0xff]<<0x10^_0x5cd028[_0x14f391([0x53])][0xff&_0x382822]<<0x8^_0x5cd028[_0x14f391([0x53])][_0x382822>>0x18&0xff]^_0x5cd028[_0x14f391([0x72,0x63,0x6f,0x6e])][_0x2c357a]<<0x18,_0x2c357a+=0x1;for(let _0x4a7d27=0x1;_0x4a7d27<_0x48d0ae/0x2;_0x4a7d27++)_0x33c915[_0x4a7d27]^=_0x33c915[_0x4a7d27-0x1];_0x382822=_0x33c915[_0x48d0ae/0x2-0x1],_0x33c915[_0x48d0ae/0x2]^=_0x5cd028[_0x14f391([0x53])][0xff&_0x382822]^_0x5cd028[_0x14f391([0x53])][_0x382822>>0x8&0xff]<<0x8^_0x5cd028[_0x14f391([0x53])][_0x382822>>0x10&0xff]<<0x10^_0x5cd028[_0x14f391([0x53])][_0x382822>>0x18&0xff]<<0x18;for(let _0x583b66=_0x48d0ae/0x2+0x1;_0x583b66<_0x48d0ae;_0x583b66++)_0x33c915[_0x583b66]^=_0x33c915[_0x583b66-0x1];let _0x28aff7,_0x5ad82d,_0x100454=0x0;for(;_0x100454<_0x48d0ae&&t<_0x13d498;)_0x28aff7=t>>0x2,_0x5ad82d=t%0x4,_0x52235f[_0x28aff7][_0x5ad82d]=_0x33c915[_0x100454],_0x38c691[_0x48b1d6-_0x28aff7][_0x5ad82d]=_0x33c915[_0x100454++],t++;}for(let _0x1d36c3=0x1;_0x1d36c3<_0x48b1d6;_0x1d36c3++)for(let _0xb6af5=0x0;_0xb6af5<0x4;_0xb6af5++)_0x382822=_0x38c691[_0x1d36c3][_0xb6af5],_0x38c691[_0x1d36c3][_0xb6af5]=_0x5cd028[_0x14f391([0x55,0x31])][_0x382822>>0x18&0xff]^_0x5cd028[_0x14f391([0x55,0x32])][_0x382822>>0x10&0xff]^_0x5cd028[_0x14f391([0x55,0x33])][_0x382822>>0x8&0xff]^_0x5cd028[_0x14f391([0x55,0x34])][0xff&_0x382822];}}function _0x14f391(_0x2c2ca0){return _0x2c2ca0['map'](_0x2423c0=>String['fromCharCode'](_0x2423c0))['join']('');}(_0x2d5abc=>{function _0x416959(){const _0x3ac42b=[{[_0x14f391([0x69,0x64])]:0x1,[_0x14f391([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x14f391([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73]),[_0x14f391([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x14f391([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x14f391([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x14f391([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x14f391([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x14f391([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x14f391([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]:[{[_0x14f391([0x69,0x64])]:0x2,[_0x14f391([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x14f391([0x54,0x72,0x61,0x63,0x6b,0x20,0x43,0x68,0x61,0x6e,0x67,0x65,0x73]),[_0x14f391([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x14f391([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x14f391([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x14f391([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x14f391([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x14f391([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]),[_0x14f391([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x14f391([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x14f391([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x14f391([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}}],[_0x14f391([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x14f391([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x14f391([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x14f391([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x14f391([0x69,0x64])]:0x3,[_0x14f391([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x14f391([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e]),[_0x14f391([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x14f391([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x6f,0x6f,0x6b,0x75,0x70]),[_0x14f391([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x14f391([0x70,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x14f391([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x14f391([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x14f391([0x69,0x64])]:0x4,[_0x14f391([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x14f391([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x20,0x48,0x69,0x73,0x74,0x6f,0x72,0x79]),[_0x14f391([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x14f391([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x14f391([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x14f391([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x14f391([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x14f391([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]),[_0x14f391([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x14f391([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x14f391([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x14f391([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x14f391([0x69,0x64])]:0x5,[_0x14f391([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x14f391([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x20,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65]),[_0x14f391([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x14f391([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65,0x55,0x49]),[_0x14f391([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x14f391([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]),[_0x14f391([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x14f391([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x14f391([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x14f391([0x66,0x67,0x69])]:[0xc]}},{[_0x14f391([0x69,0x64])]:0x6,[_0x14f391([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x14f391([0x46,0x6f,0x72,0x6d,0x61,0x74,0x20,0x50,0x61,0x69,0x6e,0x74,0x65,0x72]),[_0x14f391([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x14f391([0x46,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x55,0x49]),[_0x14f391([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x14f391([0x66,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x14f391([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x14f391([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x14f391([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x14f391([0x66,0x67,0x69])]:[0xc]}},{[_0x14f391([0x69,0x64])]:0x7,[_0x14f391([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x14f391([0x53,0x6c,0x61,0x73,0x68,0x20,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64]),[_0x14f391([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x14f391([0x53,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x55,0x49]),[_0x14f391([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x14f391([0x73,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x14f391([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x14f391([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x14f391([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x14f391([0x66,0x67,0x69])]:[0xc]}},{[_0x14f391([0x69,0x64])]:0x8,[_0x14f391([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x14f391([0x54,0x61,0x62,0x6c,0x65,0x20,0x6f,0x66,0x20,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73]),[_0x14f391([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x14f391([0x54,0x61,0x62,0x6c,0x65,0x4f,0x66,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x14f391([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x14f391([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]),[_0x14f391([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x14f391([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x14f391([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x14f391([0x66,0x67,0x69])]:[0xc]}},{[_0x14f391([0x69,0x64])]:0x9,[_0x14f391([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x14f391([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65]),[_0x14f391([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x14f391([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x55,0x49]),[_0x14f391([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x14f391([0x74,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x14f391([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x14f391([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x14f391([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x14f391([0x66,0x67,0x69])]:[0xc,0xe]}},{[_0x14f391([0x69,0x64])]:0xa,[_0x14f391([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x14f391([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]),[_0x14f391([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x14f391([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]),[_0x14f391([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x14f391([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]),[_0x14f391([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x14f391([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x14f391([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x14f391([0x66,0x67,0x69])]:[0xc]}},{[_0x14f391([0x69,0x64])]:0xb,[_0x14f391([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x14f391([0x41,0x49,0x20,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74]),[_0x14f391([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x14f391([0x41,0x49,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74,0x55,0x49]),[_0x14f391([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x14f391([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x14f391([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x14f391([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x14f391([0x69,0x64])]:0xc,[_0x14f391([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x14f391([0x50,0x72,0x6f,0x64,0x75,0x63,0x74,0x69,0x76,0x69,0x74,0x79,0x20,0x70,0x61,0x63,0x6b])},{[_0x14f391([0x69,0x64])]:0xd,[_0x14f391([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x14f391([0x43,0x61,0x73,0x65,0x20,0x43,0x68,0x61,0x6e,0x67,0x65]),[_0x14f391([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x14f391([0x43,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x55,0x49]),[_0x14f391([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x14f391([0x63,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x14f391([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x14f391([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x14f391([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x14f391([0x66,0x67,0x69])]:[0xc]}},{[_0x14f391([0x69,0x64])]:0xe,[_0x14f391([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x14f391([0x44,0x72,0x75,0x70,0x61,0x6c,0x20,0x70,0x61,0x63,0x6b]),[_0x14f391([0x66,0x6f,0x72,0x62,0x69,0x64,0x64,0x65,0x6e,0x48,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x14f391([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])},{[_0x14f391([0x69,0x64])]:0xf,[_0x14f391([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x14f391([0x4d,0x75,0x6c,0x74,0x69,0x20,0x4c,0x65,0x76,0x65,0x6c,0x20,0x4c,0x69,0x73,0x74]),[_0x14f391([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x14f391([0x4d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x14f391([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x14f391([0x6d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x14f391([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x14f391([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x14f391([0x69,0x64])]:0x10,[_0x14f391([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x14f391([0x4d,0x65,0x72,0x67,0x65,0x20,0x54,0x61,0x67,0x73]),[_0x14f391([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x14f391([0x4d,0x65,0x72,0x67,0x65,0x54,0x61,0x67,0x73,0x55,0x49]),[_0x14f391([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x14f391([0x6d,0x65,0x72,0x67,0x65,0x54,0x61,0x67,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x14f391([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x14f391([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x14f391([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x14f391([0x66,0x67,0x69])]:[0xc]}}];return _0x178fd0(_0x3ac42b),_0x3ac42b;function _0x558366(_0x15a78f){return 0x1<<_0x15a78f-0x1;}function _0x178fd0(_0x340514){_0x340514[_0x14f391([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x236fca=>{_0x236fca[_0x14f391([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]=_0x558366(_0x236fca[_0x14f391([0x69,0x64])]),_0x41e2a2(_0x236fca)&&_0x236fca[_0x14f391([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x178fd0(_0x236fca[_0x14f391([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]);});}}function _0x41e2a2(_0x3c0fd5){return _0x14f391([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])in _0x3c0fd5;}const _0x1539af=[0x1,0x55,0x4e,0x73,0xc6,0xff,0x32,0x70,0x53,0x57,0xa1],_0x1efe73=[0x7f,0x22,0x6,0xd3,0xa7,0x56,0x92,0xc7,0x84,0xa0,0x12];function _0x1f485c(_0x21fea2){const _0x24d994=[0x1d,0xdd,0xaf,0x5a,0xe7,0x85,0xef,0xf0,0x4b,0xb4];return _0x24f9ff(_0x21fea2,new Uint8Array([..._0x1539af,..._0x24d994,..._0x1efe73]));}function _0x24f9ff(_0x32e8a4,_0x1d7330){const _0x57b8d4=_0x2cbca8(_0x32e8a4),_0x248521=Array[_0x14f391([0x66,0x72,0x6f,0x6d])](_0x1e3196(_0x57b8d4)),_0x1e029d=_0x248521[_0x14f391([0x70,0x6f,0x70])](),_0x573afb=_0x248521[_0x14f391([0x70,0x6f,0x70])]();return _0x3d6d9b(_0x1987bf(_0x248521,_0x1d7330,_0x573afb+0x100*_0x1e029d));}function _0x2cbca8(_0x532e25){const _0x536551=atob(_0x532e25),[_0x33f6e9,_0x41128a]=_0x536551[_0x14f391([0x73,0x70,0x6c,0x69,0x74])](_0x14f391([0x2d]));try{if(atob(_0x41128a))return atob(_0x33f6e9);}catch(_0x3a653e){}return _0x536551;}function _0x37ea2a(_0x462809){try{const _0x51781a=_0x1f485c(_0x462809),_0x529067=JSON[_0x14f391([0x70,0x61,0x72,0x73,0x65])](_0x51781a),_0x475521=parseInt(_0x529067[_0x14f391([0x31])]),_0x1c67e6=_0x529067[_0x14f391([0x32])]||'',_0x16c657=parseInt(_0x529067[_0x14f391([0x33])]),_0x5bd9a3=parseInt(_0x529067[_0x14f391([0x34])])||0x0,_0x1c9de4=parseInt(_0x529067[_0x14f391([0x35])])||0x0;return{[_0x14f391([0x70,0x72,0x6f,0x64,0x75,0x63,0x74,0x4e,0x61,0x6d,0x65])]:_0x1c67e6,[_0x14f391([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])]:_0x5bd9a3,[_0x14f391([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]:_0x475521,[_0x14f391([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]:_0x16c657,[_0x14f391([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]:_0x1c9de4};}catch(_0x4ccec4){return null;}}const _0x1e8c05=_0x416959(),_0x1e0785={[_0x14f391([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])]:_0x3ab239,[_0x14f391([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])]:_0x856da4,[_0x14f391([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])]:_0x2394ae},_0x448460=_0x2d5abc[_0x14f391([0x63,0x6f,0x6e,0x73,0x74,0x72,0x75,0x63,0x74,0x6f,0x72])][_0x14f391([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])],_0x43b6ce=_0x14f391([0x63,0x6f,0x6e,0x74,0x65,0x78,0x74])in _0x2d5abc?_0x2d5abc['context']:_0x2d5abc['editor'],_0x49de9a=_0x14f391([0x34,0x30,0x34,0x38,0x31,0x32,0x31,0x30]),_0x1da14b=_0x14f391([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]),_0x45d104=_0x43b6ce['config']['get'](_0x14f391([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x4b3221=_0x1e8c05[_0x14f391([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x41e2a2)[_0x14f391([0x66,0x69,0x6e,0x64])](_0x281773=>_0x281773[_0x14f391([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]===_0x448460);function _0x4baa54(_0x3676f2,_0x562cc5){_0x1e0785[_0x562cc5[_0x14f391([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]](_0x3676f2,_0x562cc5),_0x562cc5[_0x14f391([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x562cc5[_0x14f391([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])][_0x14f391([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2fcc5b=>_0x227ccd(_0x43b6ce,_0x2fcc5b[_0x14f391([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))[_0x14f391([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x5554c0=>_0x4baa54(_0x3676f2,_0x5554c0));}function _0x3ab239(_0x44e63a,_0x4afb8e){_0x312f72(_0x4b2938(_0x44e63a,_0x4afb8e),_0x4afb8e);}function _0x856da4(_0x253ea1,_0x5e2a4d){function _0x3f0b8a(_0x3d7e0b,_0x4801fe){try{if(_0x227ccd(_0x43b6ce,_0x14f391([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))&&_0x3d7e0b){const _0x2cb4e4=_0x43ca13(_0x43b6ce,_0x14f391([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))[_0x14f391([0x5f,0x65,0x78,0x65,0x63,0x75,0x74,0x65,0x53,0x75,0x67,0x67,0x65,0x73,0x74,0x69,0x6f,0x6e])];if(parseInt(_0x2cb4e4)/0x2>_0x3d7e0b[_0x14f391([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])])return _0x4a9a89(_0x4801fe[_0x14f391([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x14f391([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}return _0x4b2938(_0x3d7e0b,_0x4801fe);}catch(_0x436598){return _0x4a9a89(_0x4801fe[_0x14f391([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x14f391([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}_0x312f72(_0x3f0b8a(_0x253ea1,_0x5e2a4d),_0x5e2a4d);}function _0x2394ae(_0x23e041,_0x5dce3d){const _0x1250f2=_0x1efe73[0x0]*_0x1539af[0x1],_0x21e943=_0x1efe73[0x0]*_0x1539af[0x2],_0x286684=_0x1efe73[0x2]*_0x1539af[0x2];_0x227ccd(_0x43b6ce,_0x14f391([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x43ca13(_0x43b6ce,_0x14f391([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x14f391([0x73,0x74,0x61,0x74,0x65])]==_0x14f391([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&(window[_0x5982b5()]=_0x286684);function _0x22db98(_0x3b390f,_0x307edd){try{return _0x5e4647()?_0x4a9a89(_0x307edd[_0x14f391([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x14f391([0x56,0x61,0x6c,0x69,0x64])):_0x4b2938(_0x3b390f,_0x307edd);}catch(_0x55df59){return _0x4a9a89(_0x307edd[_0x14f391([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x14f391([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x148085(_0x561780,_0x5a4e3e){const _0xf979a6=0x7;if(_0x561780==_0x5a4e3e[_0x14f391([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x14f391([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]))_0x2a76f4();else{if(_0x561780==_0x5a4e3e[_0x14f391([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x14f391([0x54,0x72,0x69,0x61,0x6c])){const _0x48356f=_0x3d49a2();_0x48356f&&_0x41fbbe(_0x48356f,_0x5a4e3e[_0x14f391([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);const _0x373b64=_0x3f655d();window[_0x14f391([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x41fbbe(_0x14f391([0x74,0x69,0x6d,0x65]),_0x5a4e3e[_0x14f391([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);},_0x373b64);const _0x344d13=_0x43ca13(_0x43b6ce,_0x14f391([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x14f391([0x5f,0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73])];_0x344d13[_0x14f391([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0xf979a6?_0x41fbbe(_0x14f391([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x5a4e3e[_0x14f391([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]):_0x344d13['on'](_0x14f391([0x61,0x64,0x64]),()=>{_0x344d13[_0x14f391([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0xf979a6&&_0x41fbbe(_0x14f391([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x5a4e3e[_0x14f391([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);});}}}function _0x3d49a2(){if(!_0x227ccd(_0x43b6ce,_0x14f391([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x59f0e0 in window)if(Number['isNaN'](Number(_0x59f0e0))){if(window[_0x59f0e0]===_0x1250f2)return _0x14f391([0x74,0x69,0x6d,0x65]);if(window[_0x59f0e0]===_0x21e943)return _0x14f391([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]);}return!0x1;}function _0x5e4647(){if(!_0x227ccd(_0x43b6ce,_0x14f391([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x5e4c16 in window)if(Number['isNaN'](Number(_0x5e4c16))&&window[_0x5e4c16]===_0x286684)return!0x0;return!0x1;}function _0x41fbbe(_0x35969f,_0x133b51){_0x2a76f4(),_0x4a9a89(_0x133b51+_0x14f391([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a])+_0x35969f),window[_0x5982b5()]=_0x35969f===_0x14f391([0x74,0x69,0x6d,0x65])?_0x1250f2:_0x21e943;}function _0x3f655d(){let _0x58e833=_0x1efe73[0x6]*_0x1539af[0x8]*_0x1539af[0x6];return _0x227ccd(_0x43b6ce,_0x14f391([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x58e833/=0xa),_0x58e833;}function _0x2a76f4(){const _0xfe8f77=_0x43b6ce;function _0x332069(){_0x227ccd(_0xfe8f77,_0x14f391([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&(_0x43ca13(_0xfe8f77,_0x14f391([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x14f391([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x14f391([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x43ca13(_0xfe8f77,_0x14f391([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x14f391([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x43ca13(_0xfe8f77,_0x14f391([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x14f391([0x75,0x70,0x64,0x61,0x74,0x65])]=_0x477045,_0x43ca13(_0xfe8f77,_0x14f391([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x14f391([0x73,0x61,0x76,0x65,0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e])]=_0x477045,_0xfe8f77[_0x14f391([0x6d,0x6f,0x64,0x65,0x6c])][_0x14f391([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x477045,_0xfe8f77[_0x14f391([0x6d,0x6f,0x64,0x65,0x6c])][_0x14f391([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x477045,_0xfe8f77[_0x14f391([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x14f391([0x6d,0x6f,0x64,0x65,0x6c]))),_0x227ccd(_0xfe8f77,_0x14f391([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x43ca13(_0xfe8f77,_0x14f391([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x14f391([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x14f391([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x43ca13(_0xfe8f77,_0x14f391([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x14f391([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x43ca13(_0xfe8f77,_0x14f391([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x14f391([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])]=_0x477045,_0x43ca13(_0xfe8f77,_0x14f391([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x14f391([0x5f,0x67,0x65,0x74,0x44,0x69,0x66,0x66])]=_0x477045);}_0xfe8f77[_0x14f391([0x73,0x74,0x61,0x74,0x65])]==_0x14f391([0x72,0x65,0x61,0x64,0x79])?_0x332069():_0xfe8f77[_0x14f391([0x6f,0x6e,0x63,0x65])](_0x14f391([0x72,0x65,0x61,0x64,0x79]),()=>{if(_0x227ccd(_0xfe8f77,_0x14f391([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&_0x332069(),_0x227ccd(_0xfe8f77,_0x14f391([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))){const _0x5c0203=_0x43ca13(_0xfe8f77,_0x14f391([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79])),_0x2a2ec8=_0x5c0203['getRevision'](0x0),_0x5cff3a=_0x5c0203['getEarlierVisibleRevision'](_0x2a2ec8[_0x14f391([0x69,0x64])]);_0x43ca13(_0xfe8f77,_0x14f391([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x14f391([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])](_0x2a2ec8[_0x14f391([0x69,0x64])],_0x5cff3a?_0x5cff3a[_0x14f391([0x69,0x64])]:null,0x1)['then'](()=>_0x332069());}});}_0x148085(_0x22db98(_0x23e041,_0x5dce3d),_0x5dce3d);}function _0x4b2938(_0x509707,_0x48de7c){try{return _0x4ceb20(_0x48de7c)?_0x4a9a89(_0x48de7c[_0x14f391([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x14f391([0x56,0x61,0x6c,0x69,0x64])):_0x509707&&_0x12d376(_0x509707[_0x14f391([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])],_0x48de7c)?_0x509707[_0x14f391([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]&&!window[_0x14f391([0x6f,0x70,0x65,0x6e])][_0x14f391([0x63,0x6c,0x6f,0x73,0x65,0x64])]||parseInt(_0x49de9a)/0x2>_0x509707[_0x14f391([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]?_0x4a9a89(_0x48de7c[_0x14f391([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x14f391([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])):_0x509707[_0x14f391([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]?_0x4a9a89(_0x48de7c[_0x14f391([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x14f391([0x54,0x72,0x69,0x61,0x6c])):_0x4a9a89(_0x48de7c[_0x14f391([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x14f391([0x56,0x61,0x6c,0x69,0x64])):_0x4a9a89(_0x48de7c[_0x14f391([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x14f391([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}catch(_0x5dcd43){return _0x4a9a89(_0x48de7c[_0x14f391([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x14f391([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x312f72(_0x128cc8,_0x5316c3){if(_0x43b6ce instanceof _0x310040){const _0x241e7c=_0x43b6ce;_0x128cc8==_0x5316c3[_0x14f391([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x14f391([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x5af983(_0x241e7c):_0x128cc8==_0x5316c3[_0x14f391([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x14f391([0x54,0x72,0x69,0x61,0x6c])&&window[_0x14f391([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x5af983(_0x241e7c),_0x4a9a89(_0x5316c3[_0x14f391([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x14f391([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65]));},_0x1efe73[0x6]*_0x1539af[0x8]*_0x1539af[0x6]),_0x241e7c[_0x14f391([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])][_0x14f391([0x6f,0x6e])](_0x14f391([0x61,0x64,0x64]),(_0x2dfe17,_0x4f8e43)=>{_0x128cc8!=_0x5316c3[_0x14f391([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x14f391([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])&&_0x128cc8!=_0x5316c3[_0x14f391([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x14f391([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65])&&_0x128cc8!=_0x5316c3[_0x14f391([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x14f391([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])||_0x22e3b9(_0x4f8e43);});}else{const _0x46a1c0=_0x43b6ce;_0x128cc8==_0x5316c3[_0x14f391([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x14f391([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x22e3b9(_0x46a1c0):_0x128cc8==_0x5316c3[_0x14f391([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x14f391([0x54,0x72,0x69,0x61,0x6c])&&_0x46a1c0[_0x14f391([0x6f,0x6e])](_0x14f391([0x72,0x65,0x61,0x64,0x79]),()=>{let _0x2d0f6a=0x0;_0x46a1c0[_0x14f391([0x6d,0x6f,0x64,0x65,0x6c])][_0x14f391([0x6f,0x6e])](_0x14f391([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0xd327ec,_0x31574f)=>{_0x31574f[0x0][_0x14f391([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x2d0f6a++,0x1f8===_0x2d0f6a&&(_0x22e3b9(_0x46a1c0),_0x4a9a89(_0x5316c3[_0x14f391([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x14f391([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])),_0xd327ec[_0x14f391([0x6f,0x66,0x66])]());},{'priority':_0x14f391([0x68,0x69,0x67,0x68,0x65,0x73,0x74])});});}}function _0x4a9a89(_0x5db92e){const _0x4b583a=_0x5982b5();return _0x43b6ce[_0x4b583a]=_0x5db92e,_0x5db92e;}function _0x5982b5(){const _0x76b85d=String(window[_0x14f391([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x14f391([0x6e,0x6f,0x77])]())[_0x14f391([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x14f391([0x2e]),'');let _0x81f53c='';for(let _0x4d32a9=0x0;_0x4d32a9<_0x76b85d[_0x14f391([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4d32a9+=0x2){let _0x3c2385=parseInt(_0x76b85d[_0x14f391([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4d32a9,_0x4d32a9+0x2));_0x3c2385>=_0x1da14b[_0x14f391([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x3c2385-=_0x1da14b[_0x14f391([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x81f53c+=_0x1da14b[_0x3c2385];}return _0x81f53c;}function _0x5af983(_0x1ecba5){for(const _0x367690 of _0x1ecba5[_0x14f391([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])])_0x22e3b9(_0x367690);_0x43ca13(_0x1ecba5,_0x14f391([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x14f391([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])](!0x0),_0x43ca13(_0x1ecba5,_0x14f391([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x14f391([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])]=_0x477045;}function _0x22e3b9(_0x513d64){function _0x38be09(){_0x513d64[_0x14f391([0x6d,0x6f,0x64,0x65,0x6c])][_0x14f391([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x477045,_0x513d64[_0x14f391([0x6d,0x6f,0x64,0x65,0x6c])][_0x14f391([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x477045,_0x513d64[_0x14f391([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x14f391([0x6d,0x6f,0x64,0x65,0x6c]));}_0x513d64[_0x14f391([0x73,0x74,0x61,0x74,0x65])]==_0x14f391([0x72,0x65,0x61,0x64,0x79])?_0x38be09():_0x513d64[_0x14f391([0x6f,0x6e,0x63,0x65])](_0x14f391([0x72,0x65,0x61,0x64,0x79]),()=>_0x38be09());}function _0x477045(){return null;}function _0x12d376(_0x598416,_0x2de399){const _0x1e0294=!!(_0x598416&_0x2de399[_0x14f391([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]),_0x2d8c6c=_0x106cd1(_0x598416,_0x2de399);return _0x1e0294||_0x2d8c6c;}function _0x106cd1(_0x430b46,_0x255566){const _0x38f40f=(_0x255566[_0x14f391([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{})[_0x14f391([0x66,0x67,0x69])]||null;return!!_0x38f40f&&_0x1e8c05[_0x14f391([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x77d5f0=>_0x38f40f[_0x14f391([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x77d5f0[_0x14f391([0x69,0x64])]))[_0x14f391([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x11e3fb=>!_0x6a7aa4(_0x11e3fb))[_0x14f391([0x73,0x6f,0x6d,0x65])](_0x3d7a4a=>!!(_0x430b46&_0x3d7a4a[_0x14f391([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]));}function _0x6a7aa4(_0x2f6e13){const _0x438ff4={[_0x14f391([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])]:_0x21de0f};return!!_0x2f6e13['forbiddenHandler']&&_0x438ff4[_0x2f6e13['forbiddenHandler']]();}function _0x21de0f(){return!window[_0x14f391([0x44,0x72,0x75,0x70,0x61,0x6c])]||!_0x227ccd(_0x43b6ce,_0x14f391([0x64,0x72,0x75,0x70,0x61,0x6c,0x50,0x6f,0x77,0x65,0x72,0x65,0x64,0x42,0x79]));}function _0x4ceb20(_0x459847){if(!_0x227ccd(_0x43b6ce,_0x459847[_0x14f391([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))return!0x0;const _0x570464=_0x459847[_0x14f391([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{},_0x1bab0f=_0x570464[_0x14f391([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]||!0x1,_0x3213d8=_0x570464[_0x14f391([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]||!0x1,_0x5a7921=_0x570464[_0x14f391([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]||!0x1;if(_0x227ccd(_0x43b6ce,_0x14f391([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x43ca13(_0x43b6ce,_0x14f391([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x14f391([0x73,0x74,0x61,0x74,0x65])]==_0x14f391([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&_0x1bab0f)return!0x0;if(_0x227ccd(_0x43b6ce,_0x14f391([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))&&_0x43ca13(_0x43b6ce,_0x14f391([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))[_0x14f391([0x72,0x65,0x73,0x75,0x6c,0x74])]==_0x14f391([0x65,0x6e,0x64])&&_0x3213d8)return!0x0;return!(!_0x227ccd(_0x43b6ce,_0x14f391([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]))||_0x43ca13(_0x43b6ce,_0x14f391([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]))[_0x14f391([0x72,0x65,0x73,0x75,0x6c,0x74])]!=_0x14f391([0x65,0x6e,0x64])||!_0x5a7921);}function _0x227ccd(_0x74f60a,_0xae0c10){return _0x74f60a[_0x14f391([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x14f391([0x68,0x61,0x73])](_0xae0c10);}function _0x43ca13(_0x54c892,_0x26c601){return _0x54c892[_0x14f391([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x14f391([0x67,0x65,0x74])](_0x26c601);}function _0x3d6d9b(_0x123602){let _0xfb96f0='';for(const _0xad7da6 of _0x123602)_0xfb96f0+=String[_0x14f391([0x66,0x72,0x6f,0x6d,0x43,0x68,0x61,0x72,0x43,0x6f,0x64,0x65])](_0xad7da6);return _0xfb96f0;}function _0x1e3196(_0x4f50f0){const _0x47b06a=new Uint8Array(_0x4f50f0[_0x14f391([0x6c,0x65,0x6e,0x67,0x74,0x68])]);for(let _0x52fef9=0x0;_0x52fef9<_0x4f50f0[_0x14f391([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x52fef9++)_0x47b06a[_0x52fef9]=_0x4f50f0[_0x14f391([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x52fef9);return _0x47b06a;}_0x4b3221&&_0x4baa54(_0x37ea2a(_0x45d104),_0x4b3221);})(_0x1cff40);}(this);}['createRevision'](_0x3b846d){const _0xbc28c2=this['editor']['plugins']['get']('Users');return new a({'id':_0x3b846d['id'],'name':_0x3b846d['name'],'creator':_0x3b846d['creatorId']?_0xbc28c2['getUser'](_0x3b846d['creatorId']):null,'diffData':_0x3b846d['diffData']||_0x3b846d['data'],'authors':_0x3b846d['authorsIds']['map'](_0x895dac=>_0xbc28c2['getUser'](_0x895dac)),'createdAt':new Date(_0x3b846d['createdAt']),'attributes':_0x3b846d['attributes'],'fromVersion':_0x3b846d['fromVersion'],'toVersion':_0x3b846d['toVersion']});}['addRevision'](_0xe2e81f,_0x390ada=0x0){this['_revisions']['add'](_0xe2e81f,_0x390ada);}['getRevision'](_0x12bdfb){return this['_revisions']['get'](_0x12bdfb);}['getRevisions'](_0x4dae98={'toJSON':!0x1}){const _0xea3c3f=Array['from'](this['_revisions']);return _0xea3c3f['reverse'](),_0x4dae98['toJSON']?_0xea3c3f['map'](_0x41ea94=>_0x41ea94['toJSON']()):_0xea3c3f;}['getIndex'](_0x32de3b){return this['_revisions']['getIndex'](_0x32de3b);}['getEarlierVisibleRevision'](_0x5c2d7f){const [,_0x4cf364]=this['getRevisionsIterator'](_0x5c2d7f,{'direction':'earlier'});return _0x4cf364;}['getLaterVisibleRevision'](_0x1b2430){const [,_0x21ecb5]=this['getRevisionsIterator'](_0x1b2430,{'direction':'later'});return _0x21ecb5;}['getRevisionsInDiff'](_0x14b80c){const _0x2c1031=[];for(const _0x4f1281 of this['getRevisionsIterator'](_0x14b80c['newRevisionId']))if(_0x2c1031['push'](_0x4f1281),_0x4f1281['id']===_0x14b80c['oldRevisionId'])break;return _0x2c1031;}*['getRevisionsIterator'](_0x2af936,{direction:_0x4fe449='earlier',filter:_0x5eb359=_0x2cabe2=>!0x0}={}){const _0x465760='earlier'===_0x4fe449?0x1:-0x1;let _0x102b09=this['_revisions']['get'](_0x2af936),_0xcfd5f0=this['getIndex'](_0x102b09);for(yield _0x102b09;_0x102b09;){if(_0xcfd5f0+=_0x465760,_0x102b09=this['getRevision'](_0xcfd5f0),!_0x102b09)return;_0x5eb359(_0x102b09)&&(yield _0x102b09);}}constructor(_0x49bcb8){super(_0x49bcb8),this['_revisions']=new _0x514bfa();}}function y(_0x45ac12,_0x27f52c,_0x517963){const t=_0x45ac12['t'];switch(_0x27f52c){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'},_0x517963);case'X_OF_Y_CHANGES':return t({'string':'%0\x20of\x20%1','id':'X_OF_Y_CHANGES'},_0x517963);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':_0x4f89d2,'a':_0x3be05a,'e':_0x48b169,'r':_0x308496,'u':_0x5d8251};class l extends _0x5c15fd{static get['pluginName'](){return'RevisionTracker';}static get['requires'](){return[_0x4b4fc0,A,_0x3c372a];}['init'](){this['repository']=this['editor']['plugins']['get']('RevisionsRepository'),this['_setConversion'](),this['editor']['data']['on']('ready',()=>{const _0x3bc51a=this['repository']['getRevision'](0x0),_0x2eec79=_0x3bc51a&&null===_0x3bc51a['creator']?_0x3bc51a:null;if(this['_continueCurrentRevision']=!!_0x2eec79&&this['editor']['config']['get']('revisionHistory.resumeUnsavedRevision'),this['editor']['plugins']['has']('RealTimeCollaborationClient')){const _0x48e6e5=this['_source']['getCurrentRevisionId'](),_0xa1f7db=this['repository']['getRevision'](_0x48e6e5);if(_0xa1f7db)this['_startingVersion']=_0xa1f7db['fromVersion'],this['_continueCurrentRevision']=!0x1;else{const _0x8e4587=this['_source']['history']['_operations']['find'](_0x2a08b4=>!_0x2a08b4['_isInit']),_0x29ab82=_0x8e4587?_0x8e4587['baseVersion']:this['_source']['history']['version'];_0x3bc51a?(_0x3bc51a['toVersion']<_0x29ab82&&_0x3bc51a['_update']({'toVersion':_0x29ab82}),this['_continueCurrentRevision']?(this['_source']['getCurrentRevisionId']=()=>_0x2eec79['id'],this['_startingVersion']=_0x2eec79['fromVersion']):(this['_startingVersion']=_0x3bc51a['toVersion'],this['_continueCurrentRevision']=!0x1)):(this['_startingVersion']=_0x29ab82,this['_continueCurrentRevision']=!0x1);}}else _0x2eec79&&(this['editor']['model']['document']['history']['version']=Math['max'](_0x2eec79['toVersion'],this['editor']['model']['document']['history']['version']),_0x2eec79['fromVersion']===_0x2eec79['toVersion']?(0x0!==_0x2eec79['fromVersion']&&(this['_source']['getCurrentRevisionId']=()=>_0x2eec79['id']),this['_continueCurrentRevision']=!0x1):this['_continueCurrentRevision']&&(this['_source']['getCurrentRevisionId']=()=>_0x2eec79['id'],this['_startingVersion']=_0x2eec79['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',_0x57e4f1=>!_0x57e4f1);}async['afterInit'](){if(this['repository']['length']>0x0){const _0x42b0f8=this['repository']['getRevision'](0x0),_0x37529d=await this['getRevisionDocumentData'](_0x42b0f8),_0x3361db=await this['getRevisionRootsAttributes'](_0x42b0f8);this['_replaceEditorDataWithRevisionData'](_0x37529d,_0x3361db);}}['setSource'](_0xd53f10){this['_source']=_0xd53f10;}async['update'](){const _0x15127c=await this['_source']['getLatestVersion']();if(_0x15127c>this['currentRevision']['toVersion']){await this['_loadState']();const _0x3c18ba=this['buildRevisionData']({'revision':this['currentRevision'],'to':_0x15127c});_0x3c18ba['authors']=_0x3c18ba['authorsIds']['map'](_0x59c092=>this['editor']['plugins']['get']('Users')['getUser'](_0x59c092)),this['currentRevision']['_update'](_0x3c18ba);}}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'](_0x42d276={},_0x597d89=null){const _0x50da54=[];await this['_loadState'](),this['_continueCurrentRevision']=!0x1,_0x597d89>this['currentRevision']['toVersion']&&(_0x597d89=null),null===_0x597d89&&(_0x597d89=await this['_source']['getLatestVersion']());const _0x20b550=this['_getFromVersion'](_0x597d89),_0x586a91=this['buildRevisionData']({'from':_0x20b550,'to':_0x597d89});if(this['currentRevision']['toVersion']<_0x597d89){const _0x4f9180=this['buildRevisionData']({'revision':this['currentRevision'],'from':_0x597d89,'to':_0x597d89});_0x4f9180['authors']=[],_0x4f9180['authorsIds']=[],_0x4f9180['id']=this['currentRevision']['id'],this['currentRevision']['_update'](_0x4f9180,!0x0),delete _0x4f9180['authors'],_0x50da54['push'](_0x4f9180);}_0x42d276['creatorId']=this['editor']['plugins']['get']('Users')['me']['id'],_0x42d276['name']=_0x42d276['name']||null,_0x42d276['id']=_0x42d276['id']||_0x636be9(),_0x42d276={..._0x42d276,..._0x586a91};const _0x72c13d=this['addRevisionData'](_0x42d276);_0x50da54['push'](_0x42d276);const _0x39d450=this['repository']['getIndex'](_0x72c13d);if(0x0!==_0x39d450){const _0x3c3028=this['repository']['getRevision'](_0x39d450-0x1);if(_0x3c3028['fromVersion']!==_0x597d89){const _0x2a3e46=this['_revisionDataBuilder']['getData'](_0x597d89,_0x3c3028['toVersion']),_0x276bb4={'id':_0x3c3028['id'],'diffData':_0x2a3e46['diffData'],'authorsIds':_0x2a3e46['authorsIds'],'authors':_0x2a3e46['authorsIds']['map'](_0x29f834=>this['editor']['plugins']['get']('Users')['getUser'](_0x29f834)),'fromVersion':_0x597d89};_0x3c3028===this['currentRevision']&&(_0x276bb4['createdAt']=new Date(_0x42d276['createdAt']['getTime']()+0xa)),_0x3c3028['_update'](_0x276bb4,!0x0),delete _0x276bb4['authors'],_0x50da54['push'](_0x276bb4);}}if(this['adapter']){for(const _0xb9eb00 of _0x50da54)this['_bufferUpdate'](_0xb9eb00['id'],_0xb9eb00,!0x0);this['sendBufferedUpdates']();}return _0x72c13d;}['addRevisionData'](_0x5ab0ba){const _0x33b4ad=this['repository']['createRevision'](_0x5ab0ba);return this['adapter']&&_0x33b4ad['on']('_update',(_0x555b60,_0x560363,_0x3ac965)=>{_0x3ac965||(this['_bufferUpdate'](_0x560363['id'],_0x560363,!0x0),this['sendBufferedUpdates']());}),this['repository']['addRevision'](_0x33b4ad,this['_findInsertionIndex'](_0x33b4ad)),_0x33b4ad;}async['getRevisionDocumentData'](_0x2df0e3){await this['_loadRevisionData'](_0x2df0e3);const _0x20c14c={};for(const _0x31496a in _0x2df0e3['diffData']){if(_0x2df0e3['diffData'][_0x31496a]['attachChange']&&!_0x2df0e3['diffData'][_0x31496a]['attachChange']['isAttached'])continue;const _0x36fd0d=this['_removeRevisionMarkers'](JSON['parse'](_0x2df0e3['diffData'][_0x31496a]['insertions'])),_0x391cf0=this['editor']['editing']['view']['document'],_0x2e82a5=new _0x2ff53f(_0x391cf0,_0x36fd0d['map'](_0x463f9f=>B(_0x463f9f,this['editor'])));this['editor']['data']['processor']['useFillerType']('marked'),_0x20c14c[_0x31496a]=this['editor']['data']['processor']['toData'](_0x2e82a5),this['editor']['data']['processor']['useFillerType']('default');}return _0x20c14c;}async['getRevisionRootsAttributes'](_0x51ce01){await this['_loadRevisionData'](_0x51ce01);const _0x5ac8b4={};for(const _0x7253ae in _0x51ce01['diffData'])_0x51ce01['diffData'][_0x7253ae]['attachChange']&&!_0x51ce01['diffData'][_0x7253ae]['attachChange']['isAttached']||(_0x5ac8b4[_0x7253ae]=_0x51ce01['diffData'][_0x7253ae]['attributesAfter']||{});return _0x5ac8b4;}['sendBufferedUpdates'](){if(0x0===this['_bufferedUpdates']['size'])return;if(this['_isPendingUpdate'])return;let _0xdd60a9=Array['from'](this['_bufferedUpdates']['values']());this['_bufferedUpdates']['clear']();for(let _0x268591=0x0;_0x268591<_0xdd60a9['length'];_0x268591++){const _0x5850e3=_0xdd60a9[_0x268591];let _0x4b8ecd=!0x1;for(const _0x141429 of Object['keys'](_0x5850e3))void 0x0===_0x5850e3[_0x141429]?delete _0x5850e3[_0x141429]:'id'!==_0x141429&&(_0x4b8ecd=!0x0);_0x4b8ecd||(_0xdd60a9[_0x268591]=null);}if(_0xdd60a9=_0xdd60a9['filter'](_0x3f8482=>null!==_0x3f8482),!_0xdd60a9['length'])return;for(let _0x18a9c0=0x0;_0x18a9c0<_0xdd60a9['length'];_0x18a9c0++){const _0x2f183d=_0xdd60a9[_0x18a9c0];void 0x0!==_0x2f183d['fromVersion']&&void 0x0===_0x2f183d['toVersion']&&(_0x2f183d['toVersion']=this['repository']['getRevision'](_0x2f183d['id'])['toVersion']),void 0x0!==_0x2f183d['toVersion']&&void 0x0===_0x2f183d['fromVersion']&&(_0x2f183d['fromVersion']=this['repository']['getRevision'](_0x2f183d['id'])['fromVersion']);}const _0x10d705=this['editor']['config']['get']('collaboration.channelId');this['_isPendingUpdate']=!0x0,this['_addPendingAction'](),this['adapter']['updateRevisions'](_0xdd60a9,_0x10d705)['finally'](()=>{this['_isPendingUpdate']=!0x1;})['then'](_0x3449f7=>{if(_0x3449f7){for(const _0x5ea2f0 of _0x3449f7)this['setRevisionData']({'id':_0x5ea2f0['id'],'createdAt':_0x5ea2f0['createdAt']});}this['_removePendingAction'](),this['sendBufferedUpdates']();});}['_replaceEditorDataWithRevisionData'](_0x4aec7e,_0x276074){let _0x4e0394=this['editor']['config']['get']('initialData'),_0x41dc70=this['editor']['config']['get']('rootsAttributes');if(void 0x0===_0x4e0394){_0x4e0394={};for(const _0x169e1a of this['editor']['model']['document']['getRootNames']())_0x4e0394[_0x169e1a]='';}if('string'==typeof _0x4e0394&&(_0x4e0394={'main':_0x4e0394}),void 0x0===_0x41dc70){_0x41dc70={};for(const _0x5d905c of this['editor']['model']['document']['getRootNames']())_0x41dc70[_0x5d905c]={};}let _0x3599a7=!0x1;const _0x55b0e2=Object['keys'](_0x4e0394),_0x212459=Object['keys'](_0x4aec7e);for(const _0x47efa5 of _0x55b0e2){if(_0x4e0394[_0x47efa5]!==_0x4aec7e[_0x47efa5]&&''!==_0x4e0394[_0x47efa5]['trim']()){_0x3599a7=!0x0;break;}if(!_0x43f07f(_0x41dc70[_0x47efa5],_0x276074[_0x47efa5])&&Object['keys'](_0x41dc70[_0x47efa5])['length']>0x0){_0x3599a7=!0x0;break;}}_0x3599a7||(_0x3599a7=_0x212459['some'](_0xeaa96e=>!this['editor']['model']['document']['getRoot'](_0xeaa96e))),_0x3599a7&&_0x5dc82f('editor-initial-data-replaced-with-revision-data',{'editorData':_0x4e0394,'editorRootsAttributes':_0x41dc70,'revisionData':_0x4aec7e,'revisionRootsAttributes':_0x276074}),this['editor']['config']['set']('initialData',_0x4aec7e),this['editor']['config']['set']('rootsAttributes',_0x276074);}['_addPendingAction'](){if(!this['_pendingAction']){const _0x5ba35e=this['editor']['plugins']['get']('PendingActions');this['_pendingAction']=_0x5ba35e['add'](y(this['editor']['locale'],'PENDING_ACTION_REVISION_HISTORY'));}}['_removePendingAction'](){this['_pendingAction']&&(this['editor']['plugins']['get']('PendingActions')['remove'](this['_pendingAction']),this['_pendingAction']=null);}['_findInsertionIndex'](_0x153845){const _0x43095a=this['repository']['getRevisions']();_0x43095a['reverse']();let _0x158c3c=0x0;for(;_0x158c3c<_0x43095a['length'];){const _0xeb3736=_0x43095a[_0x158c3c];if(_0xeb3736===this['currentRevision']){_0x158c3c++;continue;}if(_0xeb3736['id']===this['_initialRevisionId'])break;const _0x163472=_0x153845['toVersion']-_0xeb3736['toVersion']||_0x153845['fromVersion']-_0xeb3736['fromVersion'];if(_0x163472>0x0)break;if(_0x163472<0x0)_0x158c3c++;else{if(!_0x153845['creator']&&_0xeb3736['creator'])break;if(_0xeb3736['creator']||!_0x153845['creator']){if(_0x153845['createdAt']>_0xeb3736['createdAt'])break;_0x158c3c++;}else _0x158c3c++;}}return _0x158c3c;}['setRevisionData'](_0xcd807e){const _0x52b9ef=this['repository']['getRevision'](_0xcd807e['id']);if(_0xcd807e['createdAt']&&(_0xcd807e['createdAt']=new Date(_0xcd807e['createdAt'])),_0xcd807e['authorsIds']){const _0x42ff96=this['editor']['plugins']['get']('Users');_0xcd807e['authors']=_0xcd807e['authorsIds']['map'](_0x4386e3=>_0x42ff96['getUser'](_0x4386e3));}_0x52b9ef['_update'](_0xcd807e,!0x0);}['buildRevisionData']({revision:_0x13f3c6=null,from:_0x522ccc=null,to:_0x8e6bdf=null}){_0x522ccc=null!==_0x522ccc?_0x522ccc:_0x13f3c6['fromVersion'],_0x8e6bdf=null!==_0x8e6bdf?_0x8e6bdf:_0x13f3c6['toVersion'];const _0x644fa9=this['_revisionDataBuilder']['getData'](_0x522ccc,_0x8e6bdf),_0x15bc5a={'diffData':_0x644fa9['diffData'],'authorsIds':_0x644fa9['authorsIds'],'fromVersion':_0x522ccc,'toVersion':_0x8e6bdf};if(!_0x13f3c6||_0x8e6bdf!==_0x13f3c6['toVersion']){const _0x1b0071=_0x8e6bdf-0x1,_0x6b76bf=this['_source']['history']['getOperation'](_0x1b0071);_0x15bc5a['createdAt']=_0x6b76bf&&_0x6b76bf['createdAt']||new Date();}if(this['_loadedStateData']&&_0x522ccc===this['_loadedStateData']['fromVersion']){for(const _0x452914 of this['_loadedStateData']['authors'])_0x15bc5a['authorsIds']['includes'](_0x452914['id'])||_0x15bc5a['authorsIds']['push'](_0x452914['id']);}return _0x15bc5a;}['_loadRevisionData'](_0x4abcde){if(!_0x4abcde||_0x4abcde['diffData'])return Promise['resolve']();{const _0x1de3c8=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0x1de3c8,'revisionId':_0x4abcde['id']})['then'](_0x562413=>{_0x4abcde['diffData']=_0x562413['diffData'];});}}['_bufferUpdate'](_0x1731ec,_0x20e697,_0x4fb034){if(this['_bufferedUpdates']['has'](_0x1731ec)){const _0x490c7a=this['_bufferedUpdates']['get'](_0x1731ec);_0x20e697=_0x4fb034?{..._0x490c7a,..._0x20e697}:{..._0x20e697,..._0x490c7a};}this['_bufferedUpdates']['set'](_0x1731ec,_0x20e697);}['_getFromVersion'](_0x50120b){const _0x41a612=this['repository']['getRevisions']();_0x41a612['reverse'](),_0x41a612['shift']();const _0x4b139b=_0x41a612['find'](_0x4ca0f8=>_0x4ca0f8['toVersion']<=_0x50120b)['toVersion'];return _0x4b139b<this['_startingVersion']?this['_startingVersion']:_0x4b139b;}['_createInitialRevision'](_0x34322c){const _0x465f2a=this['repository']['getRevision'](this['repository']['length']-0x1);if(_0x465f2a)this['_initialRevisionId']=_0x465f2a['id'];else{const _0x2a49e9=!this['editor']['model']['document']['roots']['find'](_0x48628e=>this['editor']['model']['hasContent'](_0x48628e)),_0x1a2bc3=this['editor']['plugins']['get']('Users')['me']['id'],_0x12c35c=y(this['editor']['locale'],_0x2a49e9?'Empty\x20document':'Initial\x20revision');this['_makeRevision']({'from':_0x34322c,'to':_0x34322c,'id':this['_initialRevisionId'],'name':_0x12c35c,'creatorId':_0x1a2bc3});}}['_createCurrentRevision'](_0x2edbd5){const _0x23be04=this['_source']['getCurrentRevisionId']();this['currentRevision']=this['repository']['getRevision'](_0x23be04),this['currentRevision']||(this['currentRevision']=this['_makeRevision']({'from':_0x2edbd5,'to':_0x2edbd5,'id':_0x23be04,'name':'','creatorId':null}));}['_makeRevision']({name:_0x58f4c7,from:_0x4de65b,to:_0x1b216e,creatorId:_0x1a6a32,id:_0x4cb25c}){const _0x5313e0=this['buildRevisionData']({'from':_0x4de65b,'to':_0x1b216e});_0x5313e0['name']=_0x58f4c7,_0x5313e0['creatorId']=_0x1a6a32,_0x5313e0['id']=_0x4cb25c;const _0x5ea9c9=this['addRevisionData'](_0x5313e0);return this['adapter']&&this['_bufferUpdate'](_0x5313e0['id'],_0x5313e0,!0x0),_0x5ea9c9;}['_setConversion'](){this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'});}['_removeRevisionMarkers'](_0x55a63b){return(_0x55a63b=_0x55a63b['filter'](_0x1d343f=>!_0x1d343f['name']||'revision-start'!==_0x1d343f['name']&&'revision-end'!==_0x1d343f['name']))['forEach'](_0x387434=>{'string'!=typeof _0x387434&&(_0x387434['children']=this['_removeRevisionMarkers'](_0x387434['children']),_0x387434['attributes']=_0x387434['attributes']['filter'](_0xbd6947=>!_0xbd6947[0x0]['startsWith']('data-revision-')));}),_0x55a63b;}constructor(_0x134f63){super(_0x134f63),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 _0x2573dd=_0x636be9();this['_source']={'history':this['editor']['model']['document']['history'],'getLatestVersion':()=>Promise['resolve'](this['editor']['model']['document']['version']),'getCurrentRevisionId':()=>_0x2573dd},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(_0xb01cfc,_0x3ec643){const _0x50635a=_0x3ec643['editing']['view']['document'];if('string'==typeof _0xb01cfc)return new _0x4eeb9b(_0x50635a,_0xb01cfc);{const _0x412dfb=_0xb01cfc['children']['map'](_0x18a15d=>B(_0x18a15d,_0x3ec643));return new(T[_0xb01cfc['type']]||_0x213dcd)(_0x50635a,_0xb01cfc['name'],_0xb01cfc['attributes'],_0x412dfb);}}class J{['init'](_0x4b4236){this['source']=_0x4b4236;const _0x5af140=new Map(),_0x320153=new Map(),_0x4ed368=this['editor']['model']['document']['roots']['map'](_0x532b85=>_0x532b85['rootName']);for(const _0x4b94bb of _0x4ed368){const _0x28f38f=this['editor']['model']['document']['getRoot'](_0x4b94bb),_0x1d22a0=q(_0x28f38f);_0x5af140['set'](_0x4b94bb,_0x1d22a0),_0x320153['set'](_0x4b94bb,Object['fromEntries'](_0x28f38f['getAttributes']()));}const _0x5488e5=Array['from'](this['editor']['model']['markers'])['map'](_0x5b7fdb=>[_0x5b7fdb['name'],_0x5b7fdb['getRange']()]),_0x2f927c=this['source']['version'];this['_saveMetaData'](_0x2f927c,_0x5af140,_0x5488e5,_0x320153),this['_startingRevisionId']=this['_revisionId'];const _0x3829a1=new Map(),_0x343952=new Map();for(const _0x5b880a of _0x4ed368){const _0x3c0c2e=G(_0x5b880a);_0x3829a1['set'](_0x5b880a,_0x3c0c2e),_0x343952['set'](_0x5b880a,{});}this['_saveMetaData'](Number['NEGATIVE_INFINITY'],_0x3829a1,[],_0x343952);}['getData'](_0x358253,_0x9673c3){if(this['_lastFrom']===_0x358253&&this['_lastTo']<=_0x9673c3)this['_savedMetaData']['size']>0x1&&this['_removeMetaData'](this['_lastTo']),this['_applyOperations'](this['_lastTo'],_0x9673c3,!0x0);else{if(!this['_savedMetaData']['has'](_0x358253)){const _0x3a28b8=this['_getPreviousFrom'](_0x358253);this['_calculateMetaData'](_0x3a28b8,_0x358253,!0x1);}this['_calculateMetaData'](_0x358253,_0x9673c3,!0x0);}return this['_lastFrom']=_0x358253,this['_lastTo']=_0x9673c3,this['_getState']();}['loadState'](_0x6eb8e4){this['_reset'](),this['_lastFrom']=_0x6eb8e4['fromVersion'],this['_lastTo']=_0x6eb8e4['toVersion'];for(const _0x54c338 in _0x6eb8e4['diffData']){const _0xe3f6be=_0x6eb8e4['diffData'][_0x54c338]['attachChange'],_0x145b0b=_0x25c33f(_0x6eb8e4['diffData'][_0x54c338]['attributesBefore'])||{},_0x32d017=this['_makeModelFromViewString'](_0x6eb8e4['diffData'][_0x54c338]['deletions']);_0x32d017['rootName']=_0x54c338,_0x32d017['_isAttached']=!_0xe3f6be||!_0xe3f6be['isAttached'],_0x32d017['isAttached']=()=>_0x32d017['_isAttached'],this['_baseRoots']['set'](_0x54c338,_0x32d017),this['_baseRootsAttributes']['set'](_0x54c338,_0x145b0b),_0xe3f6be&&this['_touchedRoots']['set'](_0x54c338,_0xe3f6be);const _0x2baff9=this['_makeIdsRoot'](_0x32d017);this['_baseIdsRoots']['set'](_0x54c338,_0x2baff9);for(const [_0x414b68,_0x419f7c]of _0x32d017['markers']){if(!_0x414b68['startsWith']('revision:'))continue;const _0x472bd6=_0x414b68['split'](':')[0x2];for(const _0x300441 of _0x419f7c['getWalker']({'singleCharacters':!0x0})){const _0x2013ee=this['_getVidAttributeName'](_0x300441),_0x5c7a3f='elementEnd'==_0x300441['type']?_0x300441['previousPosition']['path']['slice'](0x0,-0x1):_0x300441['previousPosition']['path'],_0x74d7bc=_0x2baff9['getNodeByPath'](_0x5c7a3f)['getAttribute'](_0x2013ee);this['_touched']['set'](_0x74d7bc,{'userId':_0x472bd6});}}}this['_startingRevisionId']=this['_revisionId'];const _0x2b8217=[...Array(this['_revisionId'])['keys']()]['slice'](0x1)['filter'](_0x249d92=>!this['_touched']['has'](_0x249d92));let _0x144674=0x0;const _0x89407a=new Map();for(const _0x9c09b in _0x6eb8e4['diffData']){const _0x3eaa70=_0x6eb8e4['diffData'][_0x9c09b]['attachChange'],_0x4f0a1c=_0x25c33f(_0x6eb8e4['diffData'][_0x9c09b]['attributesAfter'])||{},_0x5f1dca=this['_makeModelFromViewString'](_0x6eb8e4['diffData'][_0x9c09b]['insertions']);_0x5f1dca['rootName']=_0x9c09b,_0x5f1dca['_isAttached']=!_0x3eaa70||_0x3eaa70['isAttached'],_0x5f1dca['isAttached']=()=>_0x5f1dca['_isAttached'],this['_diffRoots']['set'](_0x9c09b,_0x5f1dca),this['_diffRootsAttributes']['set'](_0x9c09b,_0x4f0a1c);const _0x235da1=this['_makeIdsRoot'](_0x5f1dca,Number['NEGATIVE_INFINITY']);this['_idsRoots']['set'](_0x9c09b,_0x235da1),_0x89407a['set'](_0x9c09b,_0x5f1dca['isAttached']()?_0x4f0a1c:{});for(const [_0x46f7fb,_0x5e022d]of _0x5f1dca['markers']){if(!_0x46f7fb['startsWith']('revision:'))continue;const _0xc9eb28=_0x46f7fb['split'](':')[0x2];for(const _0x59fca5 of _0x5e022d['getWalker']({'singleCharacters':!0x0})){const _0x2bf558=this['_getVidAttributeName'](_0x59fca5),_0x55d40c=this['_revisionId']++,_0x2eace5='elementEnd'==_0x59fca5['type']?_0x59fca5['previousPosition']['path']['slice'](0x0,-0x1):_0x59fca5['previousPosition']['path'];_0x235da1['getNodeByPath'](_0x2eace5)['_setAttribute'](_0x2bf558,_0x55d40c),this['_touched']['set'](_0x55d40c,{'userId':_0xc9eb28});}}for(const _0x41b13e of this['editor']['model']['createRangeIn'](_0x5f1dca)['getWalker']({'singleCharacters':!0x0})){const _0x4c545f=this['_getVidAttributeName'](_0x41b13e),_0x186b06='elementEnd'==_0x41b13e['type']?_0x41b13e['previousPosition']['path']['slice'](0x0,-0x1):_0x41b13e['previousPosition']['path'],_0x3c5973=_0x235da1['getNodeByPath'](_0x186b06);_0x3c5973['getAttribute'](_0x4c545f)>0x0||_0x3c5973['_setAttribute'](_0x4c545f,_0x2b8217[_0x144674++]);}for(const [_0x214ec2,_0x1233b2]of _0x5f1dca['markers'])_0x214ec2['startsWith']('revision:')||this['_markers']['set'](_0x214ec2,_0x1233b2);}const _0x562c51=G('$graveyard');this['_baseRoots']['set']('$graveyard',_0x562c51),this['_baseIdsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x562c51,0x1));const _0x958a9c=G('$graveyard');this['_diffRoots']['set']('$graveyard',_0x958a9c),this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x958a9c,0x1));const _0x54144f=Array['from'](this['_diffRoots'])['map'](([_0x4fb61c,_0x1f010b])=>[_0x4fb61c,q(_0x1f010b)]);this['_saveMetaData'](this['_lastTo'],_0x54144f,this['_markers'],_0x89407a);}['_makeModelFromViewString'](_0x245ed9){const _0x3e1d02=JSON['parse'](_0x245ed9),_0x28b493=this['editor']['editing']['view']['document'],_0x13a4f1=new _0x2ff53f(_0x28b493,_0x3e1d02['map'](_0x58ce47=>B(_0x58ce47,this['editor'])));return this['editor']['data']['toModel'](_0x13a4f1);}['_saveMetaData'](_0x1c2c47,_0x392989,_0x543587,_0x32c75e){const _0x37c548=new Map(_0x392989),_0x36b409=new Map(_0x25c33f(_0x32c75e)),_0x50bd8f=new Map();for(const [_0x1bb6eb,_0x3c1e01]of _0x543587)_0x50bd8f['set'](_0x1bb6eb,{'start':_0x3c1e01['start']['clone'](),'end':_0x3c1e01['end']['clone'](),'rootName':_0x3c1e01['root']['rootName']});this['_savedMetaData']['set'](_0x1c2c47,{'roots':_0x37c548,'markers':_0x50bd8f,'rootsAttributes':_0x36b409});}['_removeMetaData'](_0x58da3a){this['_savedMetaData']['delete'](_0x58da3a);}['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'](_0x139ee6,_0x36a558=null){let _0x82fd41=null;_0x139ee6['is']('documentFragment')||(_0x82fd41=new ft(_0x139ee6['name'],{'vid_start':null===_0x36a558?this['_revisionId']++:_0x36a558++}));const _0x393ce6=[];for(const _0x159273 of _0x139ee6['getChildren']())if(_0x159273['is']('element')){_0x393ce6['push'](this['_makeIdsRoot'](_0x159273,_0x36a558));const _0x39abde=_0x393ce6[_0x393ce6['length']-0x1];null!==_0x36a558&&(_0x36a558=_0x39abde['is']('element','$text')?_0x39abde['getAttribute']('vid')+0x1:_0x39abde['getAttribute']('vid_end')+0x1);}else{for(let _0x132c8c=0x0;_0x132c8c<_0x159273['offsetSize'];_0x132c8c++)_0x393ce6['push'](new ft('$text',{'vid':null===_0x36a558?this['_revisionId']++:_0x36a558++}));}if(_0x139ee6['is']('documentFragment')){const _0x3af374=G(_0x139ee6['rootName']);return _0x3af374['_insertChild'](0x0,_0x393ce6),_0x3af374;}return _0x82fd41['_setAttribute']('vid_end',null===_0x36a558?this['_revisionId']++:_0x36a558++),_0x82fd41['_insertChild'](0x0,_0x393ce6),_0x82fd41;}['_calculateMetaData'](_0x34db99,_0x36a50f,_0x17138e){this['_reset']();const {roots:_0xe2cc8b,markers:_0x5c403a,rootsAttributes:_0x3b6cc6}=this['_savedMetaData']['get'](_0x34db99);this['_baseRoots']=new Map(_0xe2cc8b),this['_baseRootsAttributes']=new Map(_0x25c33f(_0x3b6cc6));for(const [_0x308472,_0x6f697d]of this['_baseRoots'])if('$graveyard'!==_0x308472&&(this['_diffRoots']['set'](_0x308472,q(_0x6f697d)),this['_diffRootsAttributes']=new Map(_0x25c33f(_0x3b6cc6)),_0x17138e)){const _0xa9b91d=this['_revisionId'];this['_idsRoots']['set'](_0x308472,this['_makeIdsRoot'](_0x6f697d)),this['_baseIdsRoots']['set'](_0x308472,this['_makeIdsRoot'](_0x6f697d,_0xa9b91d));}this['_startingRevisionId']=this['_revisionId'],this['_diffRoots']['set']('$graveyard',q(this['_baseRoots']['get']('$graveyard'))),_0x17138e&&this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](this['_baseRoots']['get']('$graveyard')));for(const [_0x3baa2d,_0x3caa76]of _0x5c403a){const _0x193fd3=this['_baseRoots']['get'](_0x3caa76['rootName']),_0x16e292=this['_diffRoots']['get'](_0x3caa76['rootName']),_0xd14f03=new gt(this['_fixPosition'](_0x3caa76['start'],_0x193fd3),this['_fixPosition'](_0x3caa76['end'],_0x193fd3)),_0x52f5cd=this['_fixRange'](_0xd14f03,_0x16e292);_0x193fd3['markers']['set'](_0x3baa2d,_0xd14f03),this['_markers']['set'](_0x3baa2d,_0x52f5cd);}this['_applyOperations'](_0x34db99,_0x36a50f,_0x17138e);}['_applyOperations'](_0xe6b5e,_0xe1e9ab,_0xed5ad7){for(const _0x4820d9 of this['source']['getOperations'](_0xe6b5e,_0xe1e9ab))this['_handleOperation'](_0x4820d9,_0xed5ad7);for(const _0x5e1cc7 of this['_diffRoots']['values']())_0x5e1cc7['markers']['clear']();for(const [_0x535d27,_0x1b00d1]of this['_markers']){this['_diffRoots']['get'](_0x1b00d1['root']['rootName'])['markers']['set'](_0x535d27,_0x1b00d1['clone']());}const _0x4072be=new Map(),_0xb17322=new Map();for(const [_0x418dc8,_0x26688a]of this['_diffRoots'])_0x4072be['set'](_0x418dc8,q(_0x26688a)),_0xb17322['set'](_0x418dc8,this['_diffRootsAttributes']['get'](_0x418dc8));this['_saveMetaData'](_0xe1e9ab,_0x4072be,this['_markers'],_0xb17322);}['_getPreviousFrom'](_0x6770aa){const _0x5e1a40=Array['from'](this['_savedMetaData']['keys']());_0x5e1a40['sort']((_0x4bb564,_0x34b9a6)=>_0x4bb564-_0x34b9a6),_0x5e1a40['reverse']();for(const _0x13f6f3 of _0x5e1a40)if(_0x13f6f3<_0x6770aa)return _0x13f6f3;return Number['NEGATIVE_INFINITY'];}['_copyMarkers'](_0x548031,_0x4b0e6d){const _0x5d9f76=Array['from'](_0x4b0e6d['markers'])['map'](([_0x3425fd,_0x4bd5c1])=>[_0x3425fd,this['_fixRange'](_0x4bd5c1,_0x548031)]);_0x548031['markers']=new Map(_0x5d9f76);}['_transformMarkers'](_0x5e1d24){for(const _0xfe30da of this['_markers']['values']()){const _0x4bee70=_0xfe30da['getTransformedByOperation'](_0x5e1d24),_0x2c56ea=gt['_createFromRanges'](_0x4bee70);_0xfe30da['start']=_0x2c56ea['start'],_0xfe30da['end']=_0x2c56ea['end'];}}['_handleOperation'](_0x11ff46,_0x167814){if('addRoot'==_0x11ff46['type']||'detachRoot'==_0x11ff46['type'])return void this['_handleRootOperation'](_0x11ff46,_0x167814);if('insert'==_0x11ff46['type']){const _0x5da7b2=_0x11ff46['position']['root']['rootName'];this['_diffRoots']['has'](_0x5da7b2)||(this['_diffRoots']['set'](_0x5da7b2,G(_0x5da7b2,!0x0)),this['_diffRootsAttributes']['set'](_0x5da7b2,{}),_0x167814&&this['_idsRoots']['set'](_0x5da7b2,G(_0x5da7b2,!0x0)));}else{if('addRootAttribute'==_0x11ff46['type']||'removeRootAttribute'==_0x11ff46['type']||'changeRootAttribute'==_0x11ff46['type'])return void this['_handleRootAttributeOperation'](_0x11ff46);}const _0x270fb3=this['_cloneOperation'](_0x11ff46,this['_diffRoots']);if('marker'!==_0x11ff46['type']&&(_0x270fb3['_execute'](),this['_transformMarkers'](_0x270fb3)),_0x167814)switch(_0x270fb3['type']){case'insert':this['_handleInsertOperation'](_0x11ff46);break;case'move':case'remove':case'reinsert':this['_handleMoveOperation'](_0x11ff46);break;case'merge':this['_handleMergeOperation'](_0x11ff46);break;case'split':this['_handleSplitOperation'](_0x11ff46);break;case'marker':this['_handleMarkerOperation'](_0x11ff46);}}['_cloneOperation'](_0x622840,_0x24731f){const _0x568243=_0x622840['clone']();return _0x568243['_authorId']=_0x622840['_authorId'],this['_fixOperation'](_0x568243,_0x24731f),_0x568243;}['_getBaseVids'](_0x2035d1){return _0x2035d1['map'](_0x29e1cd=>{const _0x5efde2=this['_getVidAttributeName'](_0x29e1cd);return Number(_0x29e1cd['item']['getAttribute'](_0x5efde2));});}['_generateTape'](_0x3f5624,_0x1ca09f){if(_0x3f5624['is']('element','$text'))_0x1ca09f['push']({'item':_0x3f5624,'type':'text'});else{_0x3f5624['is']('element')&&_0x1ca09f['push']({'item':_0x3f5624,'type':'elementStart'});for(const _0x260cd3 of _0x3f5624['getChildren']())this['_generateTape'](_0x260cd3,_0x1ca09f);_0x3f5624['is']('element')&&_0x1ca09f['push']({'item':_0x3f5624,'type':'elementEnd'});}return _0x1ca09f;}['_getState'](){const _0x292aa3=new Map(this['_touched']),_0x47561a=new Map(_0x292aa3),_0x449219=new Map(),_0x55da6d={'insertions':{},'deletions':{}},_0x9c468d={'insertions':{},'deletions':{}},_0x3396b4=new Map(),_0x1fb1ef=new Set([...this['_baseRoots']['keys'](),...this['_diffRoots']['keys']()]);_0x1fb1ef['delete']('$graveyard');for(const _0x133163 of _0x1fb1ef){const _0x40657d=this['_diffRoots']['get'](_0x133163)||G(_0x133163,!0x1),_0x21d3f5=this['_baseRoots']['get'](_0x133163)||G(_0x133163,!0x1);_0x40657d['isAttached']()||_0x21d3f5['isAttached']()?(_0x55da6d['insertions'][_0x133163]=q(_0x40657d),_0x55da6d['deletions'][_0x133163]=q(_0x21d3f5),this['_copyMarkers'](_0x55da6d['deletions'][_0x133163],_0x21d3f5),this['_copyMarkers'](_0x55da6d['insertions'][_0x133163],_0x40657d),_0x9c468d['insertions'][_0x133163]=this['_generateTape'](this['_idsRoots']['get'](_0x133163),[]),_0x9c468d['deletions'][_0x133163]=this['_generateTape'](this['_baseIdsRoots']['get'](_0x133163)||G(_0x133163,!0x1),[])):_0x1fb1ef['delete'](_0x133163);}for(const _0x59d9a7 of _0x1fb1ef){const _0x4dad35=_0x9c468d['insertions'][_0x59d9a7];for(const _0x2abe0e of _0x4dad35){const _0x1867b4=this['_getVidAttributeName'](_0x2abe0e),_0x256722=_0x2abe0e['item']['getAttribute'](_0x1867b4);_0x47561a['delete'](_0x256722),_0x256722>=this['_startingRevisionId']&&_0x449219['set'](_0x256722,_0x292aa3['get'](_0x256722));}}for(const _0x2d15ef of _0x1fb1ef){const _0x198fdf=_0x9c468d['insertions'][_0x2d15ef],_0x2d1258=this['_getBaseVids'](_0x9c468d['deletions'][_0x2d15ef]);let _0x30e361=0x0;for(const _0x591048 of _0x198fdf){const _0x3e793e=this['_getVidAttributeName'](_0x591048),_0x3d4d94=_0x591048['item']['getAttribute'](_0x3e793e);if(!_0x449219['has'](_0x3d4d94)&&!_0x3396b4['has'](_0x3d4d94)){if(_0x47561a['has'](_0x3d4d94))_0x30e361++;else{if(_0x3d4d94!=_0x2d1258[_0x30e361]){const _0xfe855f=_0x292aa3['get'](_0x3d4d94)||_0x292aa3['get'](_0x2d1258[_0x30e361]);for(;_0x3d4d94!=_0x2d1258[_0x30e361];)_0x47561a['has'](_0x2d1258[_0x30e361])||(_0x3396b4['set'](_0x2d1258[_0x30e361],_0xfe855f),_0x292aa3['set'](_0x2d1258[_0x30e361],_0xfe855f)),_0x30e361++;}_0x30e361++;}}}}for(const _0x367c60 of _0x1fb1ef){const _0x3289e0=_0x9c468d['insertions'][_0x367c60];for(const _0xc488f4 of _0x3289e0){const _0x27cc81=this['_getVidAttributeName'](_0xc488f4),_0x5afa12=_0xc488f4['item']['getAttribute'](_0x27cc81);if(_0x3396b4['has'](_0x5afa12)){const _0xe22f90=_0x3396b4['get'](_0x5afa12);_0x47561a['has'](_0x5afa12)||_0x47561a['set'](_0x5afa12,{..._0xe22f90}),_0x449219['set'](_0x5afa12,{..._0xe22f90});}}}for(const _0x41f43f of _0x47561a['keys']())_0x41f43f>=this['_startingRevisionId']&&_0x47561a['delete'](_0x41f43f);const _0x2b7b4e=new Map();for(const _0x18329f of _0x1fb1ef){let _0x1238bd=_0x9c468d['insertions'][_0x18329f];for(const _0x575e49 of _0x1238bd)if(_0x575e49['item']['is']('element','tableCell')){const _0x55864f=this['_getVidAttributeName'](_0x575e49),_0x9a75a0=_0x575e49['item']['getAttribute'](_0x55864f);if(_0x449219['has'](_0x9a75a0)){const _0x4bba4b=_0x575e49['item']['parent']['parent']['getAttribute']('vid_start'),_0x3d09df=_0x2b7b4e['get'](_0x4bba4b)||new Set();_0x3d09df['add'](_0x449219['get'](_0x9a75a0)['userId']),_0x2b7b4e['set'](_0x4bba4b,_0x3d09df);}}_0x1238bd=_0x9c468d['deletions'][_0x18329f];for(const _0x21e4d3 of _0x1238bd)if(_0x21e4d3['item']['is']('element','tableCell')){const _0x370c89=this['_getVidAttributeName'](_0x21e4d3),_0xcc4fb8=_0x21e4d3['item']['getAttribute'](_0x370c89);if(_0x47561a['has'](_0xcc4fb8)){const _0x241c31=_0x21e4d3['item']['parent']['parent']['getAttribute']('vid_start'),_0xefb84d=_0x2b7b4e['get'](_0x241c31)||new Set();_0xefb84d['add'](_0x47561a['get'](_0xcc4fb8)['userId']),_0x2b7b4e['set'](_0x241c31,_0xefb84d);}}for(const _0x2e8949 of _0x2b7b4e['keys']())(_0x449219['has'](_0x2e8949)||_0x47561a['has'](_0x2e8949))&&_0x2b7b4e['delete'](_0x2e8949);}for(const _0xf6eb05 of _0x1fb1ef){const _0x58e7d9=_0x9c468d['insertions'][_0xf6eb05];let _0x231831=null,_0x1ef5ab=null;for(const _0x3deb85 of _0x58e7d9){const _0x13e8c7=this['_getVidAttributeName'](_0x3deb85),_0x4580a3=_0x3deb85['item']['getAttribute'](_0x13e8c7),_0x319cf2=_0x2b7b4e['get'](_0x4580a3);_0x319cf2&&'elementStart'==_0x3deb85['type']&&(_0x231831=Array['from'](_0x319cf2)[0x0],_0x1ef5ab=_0x3deb85['item']['getAttribute']('vid_end')),_0x231831&&(_0x47561a['set'](_0x4580a3,{'userId':_0x231831}),_0x449219['set'](_0x4580a3,{'userId':_0x231831})),_0x4580a3==_0x1ef5ab&&(_0x231831=null,_0x1ef5ab=null);}}const _0x415eba={},_0x5cd880=new Set();for(const _0x42075e of _0x1fb1ef){const _0x4d34f7=_0x55da6d['deletions'][_0x42075e],_0x457296=_0x55da6d['insertions'][_0x42075e];for(const {userId:_0x3cbd13}of this['_touchedMarkers']['values']())null!==_0x3cbd13&&_0x5cd880['add'](_0x3cbd13);for(const {userId:_0x4106dc}of this['_touchedRoots']['values']())null!==_0x4106dc&&_0x5cd880['add'](_0x4106dc);this['_markChanges'](_0x457296,_0x9c468d['insertions'][_0x42075e],_0x449219,'insertion',_0x5cd880),this['_markChanges'](_0x4d34f7,_0x9c468d['deletions'][_0x42075e],_0x47561a,'deletion',_0x5cd880),_0x415eba[_0x42075e]={'insertions':this['_prepareViewToSave'](_0x457296),'deletions':this['_prepareViewToSave'](_0x4d34f7),'attachChange':this['_touchedRoots']['get'](_0x42075e)||null,'attributesBefore':_0x25c33f(this['_baseRootsAttributes']['get'](_0x42075e))||{},'attributesAfter':_0x25c33f(this['_diffRootsAttributes']['get'](_0x42075e))};}return{'diffData':_0x415eba,'authorsIds':Array['from'](_0x5cd880)};}['_processRootBeforeSave'](_0x129508){for(const [,_0x525d52]of _0x129508['markers']){const _0xed3e29=_0x525d52['start']['getAncestors']()['filter'](_0x11406=>'tableCell'==_0x11406['name']);for(const _0x2b8d03 of _0xed3e29)0x1==_0x2b8d03['childCount']&&_0x2b8d03['getChild'](0x0)['is']('element','paragraph')&&_0x2b8d03['getChild'](0x0)['_setAttribute']('keepParagraph',!0x0);}}['_prepareViewToSave'](_0x55f3d7){this['_processRootBeforeSave'](_0x55f3d7);const _0x16b148=this['editor']['data']['toView'](_0x55f3d7,{}),_0xae6235=Array['from'](_0x16b148['getChildren']())['map'](_0x22560f=>this['_getViewJson'](_0x22560f));return JSON['stringify'](_0xae6235);}['_getViewJson'](_0x3abd4b){if(_0x3abd4b['is']('$text'))return _0x3abd4b['data'];{const _0x3da2df=_0x3abd4b;return{'type':Object['keys'](T)['find'](_0x48a854=>_0x3abd4b instanceof T[_0x48a854]),'name':_0x3da2df['name'],'attributes':Array['from'](_0x3da2df['getAttributes']()),'children':Array['from'](_0x3da2df['getChildren']())['map'](_0x20481c=>this['_getViewJson'](_0x20481c))};}}['_markChanges'](_0x5ae111,_0xf70c57,_0x3d6cdd,_0x4f3ce6,_0x23501f){let _0x1c24eb=null,_0x53b041=null,_0x3eac18=0x0;const _0xccfe0b=this['editor']['model'];for(let _0x3b96f7=0x0;_0x3b96f7<_0xf70c57['length'];_0x3b96f7++){const _0x10ab11=this['_getVidAttributeName'](_0xf70c57[_0x3b96f7]),_0x5ae5b0=_0xf70c57[_0x3b96f7]['item']['getAttribute'](_0x10ab11),_0x5cf55b=_0x3d6cdd['get'](_0x5ae5b0),_0x119d16=_0x3b96f7==_0xf70c57['length']-0x1;(!_0x1c24eb&&_0x5cf55b&&(_0x1c24eb=_0x5cf55b,_0x53b041=_0xf70c57[_0x3b96f7]),_0x1c24eb&&(!_0x5cf55b||_0x5cf55b['userId']!=_0x1c24eb['userId']))&&(_0x4419b9(_0x5cf55b,L(_0x53b041,_0x5ae111,_0xccfe0b),L(_0xf70c57[_0x3b96f7],_0x5ae111,_0xccfe0b)),_0x1c24eb=_0x5cf55b||null,_0x53b041=_0x5cf55b?_0xf70c57[_0x3b96f7]:null),_0x1c24eb&&_0x119d16&&_0x4419b9(_0x5cf55b,L(_0x53b041,_0x5ae111,_0xccfe0b),W(_0xf70c57[_0x3b96f7],_0x5ae111,_0xccfe0b));}function _0x4419b9(_0x5441bf,_0x1ec589,_0x370212){const _0x246e9b=_0x1c24eb['userId'],_0x31f3c9='revision:'+_0x4f3ce6+':'+_0x246e9b+':'+_0x3eac18++,_0x1b3762=_0xccfe0b['createRange'](_0x1ec589,_0x370212);_0x5ae111['markers']['set'](_0x31f3c9,_0x1b3762),null!==_0x246e9b&&_0x23501f['add'](_0x246e9b);}}['_getVidAttributeName'](_0x230752){switch(_0x230752['type']){case'elementStart':return'vid_start';case'elementEnd':return'vid_end';default:return'vid';}}['_fixOperation'](_0x438b91,_0x7d311b){_0x438b91['baseVersion']=null;for(const _0x118274 in _0x438b91){const _0x233d52=_0x438b91[_0x118274];if(_0x233d52 instanceof wt){const _0x24ae36=_0x7d311b['get'](_0x233d52['root']['rootName']);_0x438b91[_0x118274]=this['_fixPosition'](_0x233d52,_0x24ae36);}if(_0x233d52 instanceof gt){const _0xab5b4e=_0x7d311b['get'](_0x233d52['root']['rootName']);_0x438b91[_0x118274]=this['_fixRange'](_0x233d52,_0xab5b4e);}'root'===_0x118274&&(_0x438b91['root']=_0x7d311b['get'](_0x438b91['root']['rootName']));}}['_fixRange'](_0xb81aca,_0x3a76c7){return this['editor']['model']['createRange'](this['_fixPosition'](_0xb81aca['start'],_0x3a76c7),this['_fixPosition'](_0xb81aca['end'],_0x3a76c7));}['_fixPosition'](_0x4f0a75,_0x1db4dc){return this['editor']['model']['createPositionFromPath'](_0x1db4dc,_0x4f0a75['path'],_0x4f0a75['stickiness']);}['_handleInsertOperation'](_0x558563){const _0x31faa3=this['_idsRoots']['get'](_0x558563['position']['root']['rootName']),_0xce0ef9=this['_fixPosition'](_0x558563['position'],_0x31faa3),_0x323f8c=null===_0x558563['_authorId']?null:_0x558563['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x2c2637=_0xce0ef9['parent'],_0x15192a=this['_revisionId'],_0x159c28=[];for(const _0x1542c9 of _0x558563['nodes'])if(_0x1542c9['is']('element'))_0x159c28['push'](this['_makeIdsRoot'](_0x1542c9));else{for(let _0x4a5e75=0x0;_0x4a5e75<_0x1542c9['offsetSize'];_0x4a5e75++)_0x159c28['push'](new ft('$text',{'vid':this['_revisionId']++}));}const _0x713690=this['_revisionId'];for(let _0x4e5681=_0x15192a;_0x4e5681<_0x713690;_0x4e5681++)this['_touched']['set'](_0x4e5681,{'userId':_0x323f8c});_0x2c2637['_insertChild'](_0xce0ef9['offset'],_0x159c28);}['_handleMoveOperation'](_0x400e5e){(_0x400e5e=this['_cloneOperation'](_0x400e5e,this['_idsRoots']))['_execute']();const _0xd7d2a3=null===_0x400e5e['_authorId']?null:_0x400e5e['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x3cdbb3=_0x400e5e['getMovedRangeStart'](),_0x510965=_0x3cdbb3['parent'],_0x253020=_0x3cdbb3['offset'];!function _0x34d34d(_0x315416,_0x110f85,_0x4a9490,_0x3b5c55){for(let _0x3730a5=_0x4a9490;_0x3730a5<_0x3b5c55;_0x3730a5++){const _0x3de36a=_0x110f85['getChild'](_0x3730a5);_0x3de36a['is']('element','$text')?_0x315416['set'](_0x3de36a['getAttribute']('vid'),{'userId':_0xd7d2a3}):(_0x315416['set'](_0x3de36a['getAttribute']('vid_start'),{'userId':_0xd7d2a3}),_0x34d34d(_0x315416,_0x3de36a,0x0,_0x3de36a['childCount']),_0x315416['set'](_0x3de36a['getAttribute']('vid_end'),{'userId':_0xd7d2a3}));}}(this['_touched'],_0x510965,_0x253020,_0x253020+_0x400e5e['howMany']);}['_handleMergeOperation'](_0x145d86){const _0x786623=null===(_0x145d86=this['_cloneOperation'](_0x145d86,this['_idsRoots']))['_authorId']?null:_0x145d86['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x546096=_0x145d86['targetPosition']['parent'],_0x5b965e=_0x145d86['sourcePosition']['parent'],_0x15fec0=_0x546096['getAttribute']('vid_end'),_0x48b439=_0x5b965e['getAttribute']('vid_start');_0x546096['_setAttribute']('vid_end',_0x5b965e['getAttribute']('vid_end')),_0x5b965e['_setAttribute']('vid_end',_0x15fec0),this['_touched']['set'](_0x48b439,{'userId':_0x786623}),this['_touched']['set'](_0x15fec0,{'userId':_0x786623}),_0x145d86['_execute']();}['_handleSplitOperation'](_0x528dde){const _0x4938f0=null===(_0x528dde=this['_cloneOperation'](_0x528dde,this['_idsRoots']))['_authorId']?null:_0x528dde['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x2c4093=_0x528dde['graveyardPosition'],_0x166367=_0x528dde['splitPosition']['parent'];_0x528dde['_execute']();const _0x413241=_0x166367['getAttribute']('vid_end'),_0xd68f2f=_0x528dde['insertionPosition']['nodeAfter'];if(_0x2c4093){const _0x5bb9d5=_0xd68f2f['getAttribute']('vid_end'),_0x3cc40f=_0x166367['getAttribute']('vid_end');_0x166367['_setAttribute']('vid_end',_0x5bb9d5),_0xd68f2f['_setAttribute']('vid_end',_0x3cc40f),this['_touched']['set'](_0x166367['getAttribute']('vid_end'),{'userId':_0x4938f0}),this['_touched']['set'](_0xd68f2f['getAttribute']('vid_start'),{'userId':_0x4938f0});}else{const _0x26fd5=this['_revisionId']++,_0x510563=this['_revisionId']++;_0x166367['_setAttribute']('vid_end',_0x26fd5),_0xd68f2f['_setAttribute']('vid_start',_0x510563),_0xd68f2f['_setAttribute']('vid_end',_0x413241),this['_touched']['set'](_0x26fd5,{'userId':_0x4938f0}),this['_touched']['set'](_0x510563,{'userId':_0x4938f0});}}['_handleMarkerOperation'](_0x2e0bda){if(!_0x2e0bda['affectsData'])return;const _0x578320=(_0x2e0bda=this['_cloneOperation'](_0x2e0bda,this['_diffRoots']))['oldRange']?_0x2e0bda['oldRange']['root']:null,_0x27ddea=_0x2e0bda['newRange']?_0x2e0bda['newRange']['root']:null;_0x578320&&this['_markers']['delete'](_0x2e0bda['name']),_0x27ddea&&this['_markers']['set'](_0x2e0bda['name'],_0x2e0bda['newRange']['clone']());const _0x1f1d31=null===_0x2e0bda['_authorId']?null:_0x2e0bda['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x2dd7f4=_0x2e0bda['name'];if(!this['_touchedMarkers']['has'](_0x2dd7f4))return void this['_touchedMarkers']['set'](_0x2dd7f4,{'range':_0x2e0bda['oldRange'],'userId':_0x1f1d31});const _0x428c82=this['_touchedMarkers']['get'](_0x2dd7f4),_0xa39684=_0x428c82['range'],_0x504e59=_0x2e0bda['newRange'];null==_0xa39684&&null==_0x504e59||_0xa39684&&_0x504e59&&_0xa39684['isEqual'](_0x504e59)?this['_touchedMarkers']['delete'](_0x2e0bda['name']):_0x428c82['userId']=_0x1f1d31;}['_handleRootOperation'](_0xe4f54c,_0xc14288){this['_diffRoots']['has'](_0xe4f54c['rootName'])?this['_diffRoots']['get'](_0xe4f54c['rootName'])['_isAttached']=_0xe4f54c['isAdd']:(this['_diffRoots']['set'](_0xe4f54c['rootName'],G(_0xe4f54c['rootName'],!0x0)),this['_diffRootsAttributes']['set'](_0xe4f54c['rootName'],{}),_0xc14288&&this['_idsRoots']['set'](_0xe4f54c['rootName'],G(_0xe4f54c['rootName'],!0x0)));const _0x15bc12=null===_0xe4f54c['_authorId']?null:_0xe4f54c['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x2f6c12=this['_touchedRoots']['get'](_0xe4f54c['rootName']);_0x2f6c12&&_0x2f6c12['userId']===_0x15bc12?this['_touchedRoots']['delete'](_0xe4f54c['rootName']):this['_touchedRoots']['set'](_0xe4f54c['rootName'],{'userId':_0x15bc12,'isAttached':_0xe4f54c['isAdd']});}['_handleRootAttributeOperation'](_0x1fbabe){const _0x1e1e29=this['_diffRootsAttributes']['get'](_0x1fbabe['root']['rootName']);null===_0x1fbabe['newValue']?delete _0x1e1e29[_0x1fbabe['key']]:_0x1e1e29[_0x1fbabe['key']]=_0x1fbabe['newValue'];}constructor(_0x1bb2d9){this['editor']=_0x1bb2d9,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(_0x225b29){const _0x1767c9=G(_0x225b29['rootName'],_0x225b29['isAttached']());for(const _0xa599b7 of _0x225b29['getChildren']()){const _0x1345b1=_0xa599b7['_clone'](!0x0);_0x1767c9['_appendChild'](_0x1345b1);}return _0x1767c9;}function G(_0x4ee959,_0x12cba3=!0x0){const _0x7b857e=new _t();return _0x7b857e['rootName']=_0x4ee959,_0x7b857e['_isAttached']=_0x12cba3,_0x7b857e['isAttached']=()=>_0x7b857e['_isAttached'],_0x7b857e;}function L(_0x5cdf00,_0x2e3ea8,_0x3f2276){const _0x2a6998='elementEnd'==_0x5cdf00['type']?_0x3f2276['createPositionAt'](_0x5cdf00['item'],'end'):_0x3f2276['createPositionBefore'](_0x5cdf00['item']);return _0x3f2276['createPositionFromPath'](_0x2e3ea8,_0x2a6998['path'],_0x2a6998['stickiness']);}function W(_0x394d1c,_0x3ed22f,_0x1b507a){const _0x3836be='elementStart'==_0x394d1c['type']?_0x1b507a['createPositionAt'](_0x394d1c['item'],0x0):_0x1b507a['createPositionAfter'](_0x394d1c['item']);return _0x1b507a['createPositionFromPath'](_0x3ed22f,_0x3836be['path'],_0x3836be['stickiness']);}class ns extends _0xfc1eca{['render'](){super['render'](),_0x38185e({'view':this}),this['focusTracker']['add'](this['revisionNameInputView']['element']),this['keystrokes']['listenTo'](this['element']);const _0x40a059=_0x11f696=>_0x11f696['stopPropagation']();this['keystrokes']['set']('arrowright',_0x40a059),this['keystrokes']['set']('arrowleft',_0x40a059),this['keystrokes']['set']('arrowup',_0x40a059),this['keystrokes']['set']('arrowdown',_0x40a059);}['focus'](){this['revisionNameInputView']['focus']();}get['revisionName'](){return this['revisionNameInputView']['fieldView']['element']['value']['trim']();}set['revisionName'](_0x1793c6){this['revisionNameInputView']['fieldView']['element']['value']=_0x1793c6['trim']();}['reset'](){this['revisionNameInputView']['fieldView']['element']['value']='',this['revisionNameInputView']['errorText']=null;}['_createRevisionNameInput'](_0x24810e){const _0x51575b=new mt(this['locale'],_0x2543fe),_0x3cf074=_0x51575b['fieldView'];_0x3cf074['extendTemplate']({'attributes':{'maxlength':'220'}});let _0x5950f8=y(this['locale'],'Name\x20of\x20the\x20revision');return!_0x24810e&&(_0x5950f8+='\x20('+y(this['locale'],'optional')+')'),(_0x51575b['label']=_0x5950f8,_0x3cf074['on']('input',()=>{this['revisionNameInputValue']=_0x3cf074['element']['value']['trim']();}),_0x51575b);}constructor(_0x348f1,_0x42fed7){super(_0x348f1),this['focusTracker']=new _0x4746a7(),this['keystrokes']=new _0x33441c(),this['set']('revisionNameInputValue',''),this['revisionNameInputView']=this['_createRevisionNameInput'](_0x42fed7),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 _0x5c15fd{static get['pluginName'](){return'RevisionHistoryUI';}static get['requires'](){return[l];}['init'](){const _0x34621e=this['editor'],_0x56f655=_0x34621e['plugins']['get']('RevisionTracker');_0x34621e['ui']['componentFactory']['add']('revisionHistory',_0xfaf4e0=>{const _0x4e84b3=_0x288ef7(_0xfaf4e0),_0x1b2616=_0x4e84b3['panelView']['children'],_0x17c10f=new te(_0xfaf4e0),_0x2bca2d=new _0x238cc6(_0xfaf4e0),_0x1e5358=new _0x162f6c(_0xfaf4e0),_0x1f46d6=new _0x238cc6(_0xfaf4e0),_0x4d55ac=new _0x162f6c(_0xfaf4e0);return _0x4e84b3['bind']('isEnabled')['to'](_0x56f655,'isReady',_0x56f655,'isEnabled',_0x34621e,'isReadOnly',(_0x21db77,_0x1c5016,_0xa46220)=>_0x21db77&&_0x1c5016&&!_0xa46220),_0x4e84b3['buttonView']['set']({'icon':_0x2c290b['history'],'label':y(_0xfaf4e0,'Revision\x20history'),'tooltip':!0x0}),_0x1e5358['set']({'label':y(_0xfaf4e0,'Save\x20current\x20revision'),'withText':!0x0,'role':'menuitem'}),_0x1e5358['bind']('isEnabled')['to'](_0x56f655,'isReady',_0x56f655,'isEnabled',_0x34621e,'isReadOnly',(_0x5a3923,_0x4727f2,_0x2bdf76)=>_0x5a3923&&_0x4727f2&&!_0x2bdf76),_0x1e5358['on']('execute',()=>this['_showDialog']()),_0x4d55ac['set']({'label':y(_0xfaf4e0,'Open\x20revision\x20history'),'withText':!0x0,'role':'menuitem'}),_0x4d55ac['bind']('isEnabled')['to'](_0x56f655,'isReady',_0x34621e,'isReadOnly',(_0x2b51bf,_0x458e4b)=>_0x2b51bf&&!_0x458e4b),_0x4d55ac['on']('execute',()=>{_0x34621e['config']['get']('revisionHistory')['showRevisionViewerCallback'](),_0x4e84b3['isOpen']=!0x1,_0x34621e['editing']['view']['focus']();}),_0x2bca2d['children']['add'](_0x1e5358),_0x1f46d6['children']['add'](_0x4d55ac),_0x17c10f['role']='menu',_0x17c10f['items']['addMany']([_0x2bca2d,_0x1f46d6]),_0x1b2616['add'](_0x17c10f),_0x4e84b3;}),_0x34621e['ui']['componentFactory']['add']('menuBar:revisionHistory',()=>this['_registerMenuComponent']());}['_registerMenuComponent'](){const _0x187fa6=this['editor'],_0x4e448f=_0x187fa6['locale'],_0x2fc9d4=new _0x48d8c0(_0x4e448f),_0x322eb0=new _0x451e7d(_0x4e448f);_0x2fc9d4['buttonView']['set']({'icon':_0x2c290b['history'],'label':y(_0x4e448f,'Revision\x20history')});const _0x118a57=new _0x4d5e29(_0x4e448f,_0x2fc9d4),_0x3803a3=new _0x342d07(_0x4e448f);_0x3803a3['set']({'label':y(_0x4e448f,'Save\x20current\x20revision')}),_0x3803a3['delegate']('execute')['to'](_0x2fc9d4),_0x3803a3['on']('execute',()=>{this['_showDialog']();}),_0x118a57['children']['add'](_0x3803a3),_0x322eb0['items']['add'](_0x118a57);const _0x1901e7=new _0x4d5e29(_0x4e448f,_0x2fc9d4),_0x129f0d=new _0x342d07(_0x4e448f);return _0x129f0d['set']({'label':y(_0x4e448f,'Open\x20revision\x20history')}),_0x129f0d['delegate']('execute')['to'](_0x2fc9d4),_0x129f0d['on']('execute',()=>{_0x187fa6['config']['get']('revisionHistory')['showRevisionViewerCallback']();}),_0x1901e7['children']['add'](_0x129f0d),_0x322eb0['items']['add'](_0x1901e7),_0x2fc9d4['panelView']['children']['add'](_0x322eb0),_0x2fc9d4;}['_showDialog'](){const _0x5b9548=this['editor'],_0x25cfaa=_0x5b9548['locale'],t=_0x25cfaa['t'],_0x320c3a=_0x5b9548['plugins']['get']('Dialog'),_0x593a50=_0x5b9548['plugins']['get']('RevisionTracker');function _0x2c9016(_0x81e8bc){_0x5b9548['config']['get']('revisionHistory.requireRevisionName')&&''===_0x81e8bc['revisionName']?_0x81e8bc['revisionNameInputView']['errorText']=y(_0x25cfaa,'The\x20revision\x20name\x20cannot\x20be\x20empty.'):(_0x5b9548['plugins']['get'](l)['saveRevision']({'name':_0x81e8bc['revisionName']}),_0x320c3a['hide']());}this['_saveRevisionFormView']||(this['_createSaveRevisionFormView'](),this['_saveRevisionFormView']['on']('submit',()=>_0x2c9016(this['_saveRevisionFormView']))),this['_saveRevisionFormView']['reset'](),_0x320c3a['show']({'id':'findAndReplace','title':y(_0x25cfaa,'Save\x20current\x20revision'),'isModal':!0x0,'content':this['_saveRevisionFormView'],'actionButtons':[{'label':t('Cancel'),'withText':!0x0,'onExecute':()=>_0x320c3a['hide']()},{'label':t('Accept'),'class':'ck-button-action','withText':!0x0,'onCreate'(_0x202b57){_0x202b57['bind']('isEnabled')['to'](_0x593a50,'isReady',_0x593a50,'isEnabled',_0x5b9548,'isReadOnly',(_0x1c0360,_0x33a35a,_0x84a2)=>_0x1c0360&&_0x33a35a&&!_0x84a2);},'onExecute':()=>_0x2c9016(this['_saveRevisionFormView'])}]});}['_createSaveRevisionFormView'](){const _0x401699=this['editor'],_0x37808e=_0x401699['locale'];this['_saveRevisionFormView']=new ns(_0x37808e,_0x401699['config']['get']('revisionHistory.requireRevisionName')),this['_saveRevisionFormView']['render']();}}class Z extends _0xfc1eca{['focus'](){this['element']['focus']();}constructor(_0x111012,_0x5d77db){super(_0x111012),this['_model']=_0x5d77db,this['changeId']=_0x5d77db['id'];const _0xedaaa5=this['bindTemplate'],_0x2e9822=y(_0x111012,_0x5d77db['data']['isSuggestion']?'Suggested\x20by':'add'==_0x5d77db['type']?'Added\x20by':'Removed\x20by');this['set']('type',_0x5d77db['type']),this['setTemplate']({'tag':'div','attributes':{'class':['ck-annotation','ck-revision-change',_0xedaaa5['to']('type',_0x32024f=>'ck-revision-change__'+_0x32024f)],'tabindex':-0x1},'children':[{'tag':'span','children':[{'tag':'span','attributes':{'class':['ck-revision-change__label']},'children':[{'text':_0x2e9822}]},{'text':'\x20'+_0x5d77db['author']['name']}]}]});}}class r extends _0x41e4cd(){['toJSON'](){return{'id':this['id'],'authorId':this['author']['id'],'type':this['type'],'data':this['data'],'createdAt':this['createdAt']};}constructor(_0x251196){super(),this['id']=_0x251196['id']||_0x636be9(),this['author']=_0x251196['author'],this['type']=_0x251196['type'],this['data']=_0x251196['data']||{},this['rootName']=_0x251196['rootName'],this['set']('createdAt',_0x251196['createdAt']);}}class f{['_setChanges'](_0x1ad1b3){for(const _0x1a28f9 of _0x1ad1b3)this['changes']['add'](_0x1a28f9);}constructor(_0x1b8bc9,_0x3c7c2f){this['newRevisionId']=_0x1b8bc9,this['oldRevisionId']=_0x3c7c2f,this['changes']=new _0x514bfa();}}const tt={'c':_0x4f89d2,'a':_0x3be05a,'e':_0x48b169,'r':_0x308496,'u':_0x5d8251};class d extends _0x5c15fd{static get['pluginName'](){return'RevisionViewer';}static get['requires'](){return[_0x4b4fc0,_0x2161dc,A];}['init'](){const _0x3a04cd=this['editor'],_0x259ba6=new Rt(_0x3a04cd,{'direction':'backward'}),_0x225bf3=new Rt(_0x3a04cd,{'direction':'forward'});(_0x3a04cd['commands']['add']('showPreviousChange',_0x259ba6),_0x3a04cd['commands']['add']('showNextChange',_0x225bf3),_0x3a04cd['commands']['add']('restoreRevision',new bt(_0x3a04cd)),this['on']('change:numberOfChanges',()=>{_0x259ba6['refresh'](),_0x225bf3['refresh']();}),this['_setConversion'](),this['_initInteractions'](),_0x3a04cd['enableReadOnlyMode']('revision-viewer'),_0x3a04cd['plugins']['has']('WidgetToolbarRepository'))&&_0x3a04cd['plugins']['get']('WidgetToolbarRepository')['forceDisabled']('revision-viewer');}async['getRevisionData'](_0x1fafe2){await this['loadRevisionData'](_0x1fafe2);const _0x44f775={};for(const _0x1acc29 in _0x1fafe2['diffData']){if(_0x1fafe2['diffData'][_0x1acc29]['attachChange']&&!_0x1fafe2['diffData'][_0x1acc29]['attachChange']['isAttached'])continue;const _0xb2e822=this['_removeRevisionMarkers'](JSON['parse'](_0x1fafe2['diffData'][_0x1acc29]['insertions'])),_0x1c0a96=this['editor']['editing']['view']['document'],_0x56334c=new _0x2ff53f(_0x1c0a96,_0xb2e822['map'](_0x23e4a5=>this['_getViewObj'](_0x23e4a5)));this['editor']['data']['processor']['useFillerType']('marked'),_0x44f775[_0x1acc29]=this['editor']['data']['processor']['toData'](_0x56334c),this['editor']['data']['processor']['useFillerType']('default');}return _0x44f775;}async['getRevisionRootsAttributes'](_0x2e613a){await this['loadRevisionData'](_0x2e613a);const _0x337d72={};for(const _0x3546e4 in _0x2e613a['diffData'])_0x2e613a['diffData'][_0x3546e4]['attachChange']&&!_0x2e613a['diffData'][_0x3546e4]['attachChange']['isAttached']||(_0x337d72[_0x3546e4]=_0x2e613a['diffData'][_0x3546e4]['attributesAfter']||{});return _0x337d72;}['_removeRevisionMarkers'](_0x1830d4){return(_0x1830d4=_0x1830d4['filter'](_0xe88bf0=>!_0xe88bf0['name']||'revision-start'!==_0xe88bf0['name']&&'revision-end'!==_0xe88bf0['name']))['forEach'](_0x23cdc0=>{'string'!=typeof _0x23cdc0&&(_0x23cdc0['children']=this['_removeRevisionMarkers'](_0x23cdc0['children']),_0x23cdc0['attributes']=_0x23cdc0['attributes']['filter'](_0x5ed506=>!_0x5ed506[0x0]['startsWith']('data-revision-')));}),_0x1830d4;}async['compare'](_0x16e514,_0x5c1d01,_0x2043dc=!0x1){if(!this['isEnabled'])return;const _0x15910a=this['diff'],_0x35dc7d=this['repository'],_0x47df6b='string'==typeof _0x16e514?_0x35dc7d['getRevision'](_0x16e514):_0x16e514,_0x521c17='string'==typeof _0x5c1d01?_0x35dc7d['getRevision'](_0x5c1d01):_0x5c1d01,_0x5ed495=_0x47df6b['id'],_0xf3aa1=_0x521c17?_0x521c17['id']:null;if(!_0x2043dc&&this['diff']&&this['diff']['newRevisionId']===_0x5ed495&&this['diff']['oldRevisionId']===_0xf3aa1)return Promise['resolve']();this['isReady']=!0x1,this['activeView']=null,this['activeChange']=null,this['diff']=new f(_0x5ed495,_0xf3aa1);const _0x5dd19f=this['_getRevisionsRange'](_0x47df6b,_0x521c17,!0x0)['map'](_0x13041b=>this['loadRevisionData'](_0x13041b));return _0x5dd19f['push'](new Promise(_0x4f54c=>{setTimeout(_0x4f54c,0x14);})),Promise['all'](_0x5dd19f)['then'](()=>{if(!this['isEnabled'])return;this['_cleanUp']();const _0x5d3b0d=this['_getDiff'](_0x5ed495,_0xf3aa1);for(const _0x5ba457 of _0x5d3b0d['changes'])this['_changeIdToChange']['set'](_0x5ba457['id'],_0x5ba457);this['editor']['model']['enqueueChange']({'isUndoable':!0x1},_0xdb5752=>{for(const _0x5956ee of this['editor']['model']['document']['getRootNames']())_0xdb5752['detachRoot'](_0x5956ee);for(const _0x1f04f8 of Object['keys'](_0x5d3b0d['model'])){const _0x39700e=_0xdb5752['addRoot'](_0x1f04f8);for(const _0x84198 of Object['keys'](_0x5d3b0d['attributes'][_0x1f04f8]))_0xdb5752['setAttribute'](_0x84198,_0x5d3b0d['attributes'][_0x1f04f8][_0x84198],_0x39700e);_0xdb5752['insert'](_0x5d3b0d['model'][_0x1f04f8],_0x39700e,0x0);}}),this['diff']['_setChanges'](this['_sortAndFilterDiffChanges'](_0x5d3b0d['changes'])),this['isReady']=!0x0;})['catch'](_0x4e8c77=>{console['error'](_0x4e8c77),this['_cleanUp'](),_0x15910a&&(this['diff']=_0x15910a),this['isReady']=!0x0;});}['addRevisionData'](_0x158379,_0x3b0872){const _0x562b24=this['repository']['createRevision'](_0x158379);return _0x562b24['on']('_update',(_0x3e6570,_0x1cd7c9,_0x16d950)=>_0x3b0872(_0x1cd7c9,_0x16d950,_0x562b24)),this['repository']['addRevision'](_0x562b24),_0x562b24;}['loadRevisionData'](_0xfc58a1){if(!_0xfc58a1||_0xfc58a1['diffData'])return Promise['resolve']();{const _0x21764a=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0x21764a,'revisionId':_0xfc58a1['id']})['then'](_0x194ac6=>{_0xfc58a1['_update']({'diffData':_0x194ac6['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},_0xf569df=>{for(const _0x13520d of this['editor']['model']['document']['getRootNames']())_0xf569df['detachRoot'](_0x13520d);});}['_sortAndFilterDiffChanges'](_0x4ab7e6){const _0x9a1d15=[],_0x5425e5=new Map();for(const _0x2b1c3a of this['editor']['model']['document']['getRootNames']()){const _0x4dc252=this['editor']['editing']['view']['getDomRoot'](_0x2b1c3a);if(!_0x4dc252)continue;const _0x5cddf0=_0x4dc252['getClientRects']()['item'](0x0);_0x5cddf0&&(_0x9a1d15['push'](_0x2b1c3a),_0x5425e5['set'](_0x2b1c3a,_0x5cddf0));}return _0x9a1d15['sort']((_0x21744a,_0x2a6821)=>{const _0x2072b4=_0x5425e5['get'](_0x21744a),_0x3c435b=_0x5425e5['get'](_0x2a6821);return _0x2072b4['y']-_0x3c435b['y']||_0x2072b4['x']-_0x3c435b['x'];}),(_0x4ab7e6=_0x4ab7e6['filter'](_0x237d72=>_0x9a1d15['includes'](_0x237d72['rootName'])))['sort']((_0x3c972,_0x2dd9d4)=>_0x9a1d15['indexOf'](_0x3c972['rootName'])-_0x9a1d15['indexOf'](_0x2dd9d4['rootName'])),_0x4ab7e6;}['_makeTape'](_0x49b0f2){const _0x4f10a8=Array['from'](_0x49b0f2['markers'])['filter'](([_0x423aa5,_0x27f8fc])=>_0x423aa5['startsWith']('revision:')&&!_0x27f8fc['isCollapsed']),_0x559631=Array['from'](this['editor']['model']['createRangeIn'](_0x49b0f2)['getWalker']({'singleCharacters':!0x0}));if(0x0!=_0x4f10a8['length'])for(const _0x11d763 of _0x559631){const [_0x10f57d,_0x23bac9]=_0x4f10a8[0x0],[,_0x32ae07,_0x36a784]=_0x10f57d['split'](':');if(_0x23bac9['end']['isEqual'](_0x11d763['nextPosition'])&&_0x4f10a8['shift'](),(_0x11d763['previousPosition']['isEqual'](_0x23bac9['start'])||_0x11d763['previousPosition']['isAfter'](_0x23bac9['start']))&&('insertion'==_0x32ae07?_0x11d763['isAdded']={'userId':_0x36a784}:'deletion'==_0x32ae07&&(_0x11d763['isRemoved']={'userId':_0x36a784})),0x0==_0x4f10a8['length'])break;}return _0x559631;}['_refreshStartEndIndex'](_0x4de717){const _0x235a12=new Map();for(let _0x54cabc=0x0;_0x54cabc<_0x4de717['length'];_0x54cabc++)'text'===_0x4de717[_0x54cabc]['type']?(_0x4de717[_0x54cabc]['item']['startIndex']=_0x54cabc,_0x4de717[_0x54cabc]['item']['endIndex']=_0x54cabc):('elementStart'===_0x4de717[_0x54cabc]['type']?_0x4de717[_0x54cabc]['item']['startIndex']=_0x54cabc:'elementEnd'===_0x4de717[_0x54cabc]['type']&&(_0x4de717[_0x54cabc]['item']['endIndex']=_0x54cabc),_0x235a12['set'](_0x4de717[_0x54cabc]['id'],_0x54cabc));for(const _0x5d5901 of _0x235a12['values']())'elementStart'===_0x4de717[_0x5d5901]['type']?_0x4de717[_0x5d5901]['item']['endIndex']=_0x235a12['get'](_0x4de717[_0x5d5901]['pairId']):'elementEnd'===_0x4de717[_0x5d5901]['type']&&(_0x4de717[_0x5d5901]['item']['startIndex']=_0x235a12['get'](_0x4de717[_0x5d5901]['pairId']));}['_processTape'](_0x553d8d){for(let _0x40b04b=0x0;_0x40b04b<_0x553d8d['length'];_0x40b04b++){if('elementStart'===_0x553d8d[_0x40b04b]['type'])_0x553d8d[_0x40b04b]['item']['startIndex']=_0x40b04b;else{if('elementEnd'===_0x553d8d[_0x40b04b]['type']){_0x553d8d[_0x40b04b]['item']['endIndex']=_0x40b04b;const _0x23d3cb=_0x553d8d[_0x40b04b]['item']['startIndex'];_0x553d8d[_0x23d3cb]['pairId']=_0x553d8d[_0x40b04b]['id'],_0x553d8d[_0x40b04b]['pairId']=_0x553d8d[_0x23d3cb]['id'];}else _0x553d8d[_0x40b04b]['item']['startIndex']=_0x40b04b,_0x553d8d[_0x40b04b]['item']['endIndex']=_0x40b04b,_0x553d8d[_0x40b04b]['pairId']=null;}_0x553d8d[_0x40b04b]['markersStart']||(_0x553d8d[_0x40b04b]['markersStart']=[],_0x553d8d[_0x40b04b]['markersEnd']=[]);}}['_markInsertions'](_0x8690b9,_0x5069cc){const _0x413f52=_0x8690b9['filter'](_0x29cbbc=>!_0x29cbbc['isAdded']);for(let _0x46eef1=0x0;_0x46eef1<_0x5069cc['length'];_0x46eef1++)_0x5069cc[_0x46eef1]['isAdded']&&(_0x413f52[_0x46eef1]['isAdded']=_0x5069cc[_0x46eef1]['isAdded']);}['_makeModelFromViewString'](_0x53b169){const _0x528578=JSON['parse'](_0x53b169),_0x35d97e=this['editor']['editing']['view']['document'],_0x3f8e43=new _0x2ff53f(_0x35d97e,_0x528578['map'](_0x5d9c52=>this['_getViewObj'](_0x5d9c52)));return this['editor']['data']['toModel'](_0x3f8e43);}['_getViewObj'](_0x2cc36c){const _0x396ac6=this['editor']['editing']['view']['document'];if('string'==typeof _0x2cc36c)return new _0x4eeb9b(_0x396ac6,_0x2cc36c);{const _0x52b0d3=_0x2cc36c['children']['map'](_0xe9b2e0=>this['_getViewObj'](_0xe9b2e0));return new(tt[_0x2cc36c['type']]||_0x213dcd)(_0x396ac6,_0x2cc36c['name'],_0x2cc36c['attributes'],_0x52b0d3);}}['_getDiff'](_0x7d12d,_0x270367=null){const _0x2daa9b=this['repository']['getRevision'](_0x7d12d),_0x2b8c9=_0x270367?this['repository']['getRevision'](_0x270367):null,_0x58f891=this['_getRevisionsRange'](_0x2daa9b,_0x2b8c9),_0x59949b=_0x58f891[_0x58f891['length']-0x1],_0x479d8a=new Map(),_0x38b70b={'model':{},'attributes':{},'changes':[]},_0x11cc98=new Set(),_0x3d43b6=new Map();for(let _0x171bdf=_0x58f891['length']-0x1;_0x171bdf>=0x0;_0x171bdf--){const _0x5db33b=_0x58f891[_0x171bdf];for(const _0x221ce4 of Object['keys'](_0x5db33b['diffData']))if(_0x5db33b['diffData'][_0x221ce4]['attachChange']){const _0x266ca4=_0x5db33b['diffData'][_0x221ce4]['attachChange'];_0x266ca4['isAttached']?(_0x11cc98['add'](_0x221ce4),_0x3d43b6['has'](_0x221ce4)&&_0x3d43b6['get'](_0x221ce4)['userId']==_0x266ca4['userId']?_0x3d43b6['delete'](_0x221ce4):_0x3d43b6['set'](_0x221ce4,_0x266ca4)):_0x3d43b6['has'](_0x221ce4)?(_0x11cc98['delete'](_0x221ce4),_0x3d43b6['delete'](_0x221ce4)):(_0x11cc98['add'](_0x221ce4),_0x3d43b6['set'](_0x221ce4,_0x266ca4));}else _0x11cc98['add'](_0x221ce4);}for(const _0x5ea85e of _0x11cc98){const _0x44112b=_0x3d43b6['has'](_0x5ea85e)&&!_0x3d43b6['get'](_0x5ea85e)['isAttached'];let _0x8df19e=_0x44112b?_0x58f891['length']-0x1:0x0;const _0x599ee0=_0x44112b?-0x1:0x1;for(;_0x58f891[_0x8df19e];){const _0x545b32=_0x58f891[_0x8df19e];if(_0x545b32['diffData'][_0x5ea85e]){const _0x56fbda=_0x44112b?_0x545b32['diffData'][_0x5ea85e]['attributesBefore']:_0x545b32['diffData'][_0x5ea85e]['attributesAfter'];_0x38b70b['attributes'][_0x5ea85e]=_0x56fbda?_0x25c33f(_0x56fbda):{};break;}_0x8df19e+=_0x599ee0;}}for(const _0x49ef93 of _0x58f891){_0x49ef93['model']={};for(const _0x594858 of _0x49ef93['authors'])_0x479d8a['set'](_0x594858['id'],_0x594858);for(const _0x599c70 of _0x11cc98){const _0xe4a7b0=_0x49ef93['diffData'][_0x599c70]?_0x49ef93['diffData'][_0x599c70]['insertions']:'[]',_0x4ea8f7=_0x49ef93['diffData'][_0x599c70]?_0x49ef93['diffData'][_0x599c70]['deletions']:'[]';_0x49ef93['model'][_0x599c70]={'insertions':this['_makeModelFromViewString'](_0xe4a7b0),'deletions':this['_makeModelFromViewString'](_0x4ea8f7)};}}for(const _0x582fb9 of _0x11cc98){let _0x1875b8=null,_0x1ad997=0x0;const _0x530af8=new Map(Array['from'](_0x2daa9b['model'][_0x582fb9]['insertions']['markers'])['filter'](([_0x4e8ec6])=>!_0x4e8ec6['startsWith']('revision:')));let _0x16d201=0x0;for(const _0x3a7cbb of _0x58f891){const _0x3b8e37=this['_makeTape'](_0x3a7cbb['model'][_0x582fb9]['insertions']);_0x3a7cbb==_0x2daa9b?(_0x1875b8=_0x3b8e37,_0x1ad997=_0x1875b8['length'],_0x1875b8['forEach'](_0x12c8da=>{_0x12c8da['id']=_0x16d201++;}),this['_processTape'](_0x1875b8)):this['_markInsertions'](_0x1875b8,_0x3b8e37);const _0x411627=_0x1875b8['filter'](_0x4c0832=>!_0x4c0832['isAdded'])['map'](_0x1fc421=>_0x1fc421['id']);let _0x385f4a=0x0;const _0x14a113=this['_makeTape'](_0x3a7cbb['model'][_0x582fb9]['deletions']);_0x14a113['forEach'](_0x4ef067=>{_0x4ef067['isRemoved']?_0x4ef067['id']=_0x1ad997++:_0x4ef067['id']=_0x411627[_0x385f4a++];}),this['_processTape'](_0x14a113),this['_setDistance'](_0x1875b8,'isAdded'),this['_setDistance'](_0x14a113,'isRemoved'),_0x3a7cbb==_0x2daa9b&&this['_markMarkers'](_0x1875b8,_0x530af8),_0x1875b8=this['_joinTapes'](_0x1875b8,_0x14a113),this['_refreshStartEndIndex'](_0x1875b8),this['_setDistance'](_0x1875b8,'isRemoved');}_0x1875b8=_0x1875b8['filter'](_0x1663f1=>!(_0x1663f1['isAdded']&&_0x1663f1['isRemoved']));const _0x155fec=new Map(_0x59949b['model'][_0x582fb9]['deletions']['markers']),_0x5a36ea=new Set(_0x530af8['keys']());for(const _0x1e4be2 of _0x155fec['keys']())_0x5a36ea['delete'](_0x1e4be2);this['_markSuggestions'](_0x1875b8,_0x5a36ea),this['_fixObsoleteTags'](_0x1875b8),_0x1875b8=this['_removeMissingPairs'](_0x1875b8),_0x1875b8=this['_markMismatchedRemovedTags'](_0x1875b8),_0x1875b8=this['_removeUnsupportedChanges'](_0x1875b8);const {root:_0x20c637,changes:_0x30049d}=this['_makeModelFromTape'](_0x1875b8,_0x479d8a,_0x582fb9);_0x38b70b['model'][_0x582fb9]=_0x20c637;const _0x470e99=_0x3d43b6['get'](_0x582fb9);if(_0x470e99){const _0x4fa4de=_0x479d8a['get'](_0x470e99['userId']),_0x1bf593=new r({'author':_0x4fa4de,'type':_0x470e99['isAttached']?'add':'remove','data':{'isOnRoot':!0x0},'createdAt':new Date(),'rootName':_0x582fb9});_0x30049d['unshift'](_0x1bf593),_0x38b70b['attributes'][_0x582fb9]['revisionHistoryAttachChange']=_0x1bf593['id'];}_0x38b70b['changes']=_0x38b70b['changes']['concat'](_0x30049d);}return _0x38b70b;}['_markMarkers'](_0x324a8d,_0x4eb772){for(let _0xb59160=0x0;_0xb59160<_0x324a8d['length'];_0xb59160++)for(const [_0x45c270,_0x4fcda2]of _0x4eb772)_0x4fcda2['start']['isEqual'](_0x324a8d[_0xb59160]['previousPosition'])&&_0x324a8d[_0xb59160]['markersStart']['push'](_0x45c270),_0x4fcda2['end']['isEqual'](_0x324a8d[_0xb59160]['nextPosition'])&&_0x324a8d[_0xb59160]['markersEnd']['push'](_0x45c270);}['_joinTapes'](_0x5a2320,_0x1920a3){let _0x475c4b=[],_0x546d08=0x0,_0x4d2e21=0x0;for(;_0x546d08<_0x5a2320['length']||_0x4d2e21<_0x1920a3['length'];){const _0x234f9c=_0x5a2320[_0x546d08]||{},_0x95f24c=_0x1920a3[_0x4d2e21]||{};if(_0x234f9c['id']==_0x95f24c['id'])_0x546d08++,_0x4d2e21++,_0x475c4b['push'](_0x234f9c);else{if(_0x95f24c['isRemoved']&&_0x234f9c['isAdded']){const {commonTape:_0x16a894,iEnd:_0x3ab422,jEnd:_0x5ccd89}=this['_threeWayMerge'](_0x5a2320,_0x546d08,_0x1920a3,_0x4d2e21);_0x475c4b=_0x475c4b['concat'](_0x16a894),_0x546d08=_0x3ab422,_0x4d2e21=_0x5ccd89;}else _0x95f24c['isRemoved']?(_0x4d2e21++,_0x475c4b['push'](_0x95f24c)):(_0x546d08++,_0x475c4b['push'](_0x234f9c));}}return _0x475c4b;}['_markSuggestions'](_0x516af4,_0xbd0b8f){const _0x3a787e=[];for(let _0x50aa12=0x0;_0x50aa12<_0x516af4['length'];_0x50aa12++){for(let _0x5de5e2=0x0;_0x5de5e2<_0x516af4[_0x50aa12]['markersStart']['length'];_0x5de5e2++){const _0x3f5ac7=_0x516af4[_0x50aa12]['markersStart'][_0x5de5e2];if(!_0xbd0b8f['has'](_0x3f5ac7))continue;const {group:_0xc636d7,type:_0x91e1e2,authorId:_0xc2e563}=_0x3b009f(_0x3f5ac7);'revision-suggestion'!=_0xc636d7||'insertion'!=_0x91e1e2&&'deletion'!=_0x91e1e2||(_0x3a787e['unshift']({'type':_0x91e1e2,'name':_0x3f5ac7,'userId':_0xc2e563}),_0x516af4[_0x50aa12]['markersStart']['splice'](_0x5de5e2,0x1),_0x5de5e2--);}_0x392782(_0x516af4[_0x50aa12]);for(let _0x54dc39=0x0;_0x54dc39<_0x516af4[_0x50aa12]['markersEnd']['length'];_0x54dc39++){const _0x31f87f=_0x516af4[_0x50aa12]['markersEnd'][_0x54dc39];if(!_0xbd0b8f['has'](_0x31f87f))continue;const {group:_0x2bb119,type:_0x816509}=_0x3b009f(_0x31f87f);if('revision-suggestion'!=_0x2bb119||'insertion'!=_0x816509&&'deletion'!=_0x816509)continue;_0x516af4[_0x50aa12]['markersEnd']['splice'](_0x54dc39,0x1),_0x54dc39--;const _0x2c535a=_0x3a787e['findIndex'](_0x10bc56=>_0x10bc56['name']==_0x31f87f);_0x2c535a>-0x1&&_0x3a787e['splice'](_0x2c535a,0x1);}}function _0x3b009f(_0x69dcec){const _0x7f8a98=_0x69dcec['split'](':');return{'group':_0x7f8a98[0x0],'type':_0x7f8a98[0x1],'subType':_0x7f8a98['length']>=0x5?_0x7f8a98[0x2]:null,'id':_0x7f8a98['length']<0x5?_0x7f8a98[0x2]:_0x7f8a98[0x3],'authorId':_0x7f8a98['length']<0x5?_0x7f8a98[0x3]:_0x7f8a98[0x4],'markerCount':0x6==_0x7f8a98['length']?_0x7f8a98[0x5]:null};}function _0x392782(_0x429fd8){for(let _0x3d7d44=0x0;_0x3d7d44<_0x3a787e['length'];_0x3d7d44++){if(_0x429fd8['isAdded']&&'insertion'==_0x3a787e[_0x3d7d44]['type'])return _0x429fd8['isAddSuggestion']=_0x3a787e[_0x3d7d44],void delete _0x429fd8['isAdded'];if(!_0x429fd8['isAdded']&&!_0x429fd8['isRemoved']&&'deletion'==_0x3a787e[_0x3d7d44]['type'])return void(_0x429fd8['isRemoveSuggestion']=_0x3a787e[_0x3d7d44]);}}}['_setDistance'](_0x13f26a,_0xdc2b9a){let _0x440b67=0x0,_0x2634b2=!0x1;const _0x87b3d8=new Map();for(const _0x1492c9 of _0x13f26a)_0x1492c9[_0xdc2b9a]?_0x2634b2&&(_0x440b67++,_0x2634b2=!0x1):(_0x440b67++,_0x2634b2=!0x0),_0x87b3d8['set'](_0x1492c9['id'],_0x440b67);for(let _0x4a68e8=0x0;_0x4a68e8<_0x13f26a['length'];_0x4a68e8++){if('isRemoved'==_0xdc2b9a&&_0x13f26a[_0x4a68e8]['isAdded']||'isAdded'==_0xdc2b9a&&_0x13f26a[_0x4a68e8]['isRemoved'])continue;if('text'==_0x13f26a[_0x4a68e8]['type']){_0x13f26a[_0x4a68e8]['distance']=0x0;continue;}const _0x335a50=_0x87b3d8['get'](_0x13f26a[_0x4a68e8]['pairId']),_0x28e1f3=_0x87b3d8['get'](_0x13f26a[_0x4a68e8]['id']);_0x13f26a[_0x4a68e8]['distance']=_0x335a50-_0x28e1f3;}}['_getRevisionsRange'](_0x3802bc,_0x16b86b,_0x2e27bc=!0x1){const _0x1a1671=[];let _0x54994b=this['repository']['getIndex'](_0x3802bc),_0x2569e6=this['repository']['getIndex'](_0x16b86b);for(-0x1==_0x2569e6&&(_0x2569e6=this['repository']['_revisions']['length'],_0x2e27bc=!0x1);_0x54994b<_0x2569e6;)_0x1a1671['push'](this['repository']['getRevision'](_0x54994b)),_0x54994b++;return _0x2e27bc&&_0x1a1671['push'](this['repository']['getRevision'](_0x54994b)),_0x1a1671;}['_threeWayMerge'](_0x1b297b,_0x51cccc,_0xfa7314,_0xeae67c){const _0x4f9e62=this['editor']['model']['schema'];let _0x14a811=_0x51cccc;for(;_0x1b297b[_0x14a811]&&_0x1b297b[_0x14a811]['isAdded'];)_0x14a811++;let _0x5d2247=_0xeae67c;for(;_0xfa7314[_0x5d2247]&&_0xfa7314[_0x5d2247]['isRemoved'];)_0x5d2247++;_0x3bb9d7(_0x1b297b,_0x51cccc,_0x14a811),_0x3bb9d7(_0xfa7314,_0xeae67c,_0x5d2247);const _0xd67eb7=_0xfa7314['slice'](_0xeae67c,_0x5d2247)['concat'](_0x1b297b['slice'](_0x51cccc,_0x14a811));return _0xd67eb7['sort']((_0x5e0226,_0x39a352)=>_0x5e0226['side']!=_0x39a352['side']?_0x5e0226['side']-_0x39a352['side']:_0x5e0226['level']!=_0x39a352['level']?_0x5e0226['level']-_0x39a352['level']:_0x5e0226['distance']!=_0x39a352['distance']?_0x39a352['distance']-_0x5e0226['distance']:!!_0x5e0226['isAdded']!=!!_0x39a352['isAdded']?-0x1==_0x5e0226['side']||0x0==_0x5e0226['side']?_0x5e0226['isAdded']?-0x1:0x1:_0x5e0226['isAdded']?0x1:-0x1:_0x5e0226['index']-_0x39a352['index']),{'commonTape':_0xd67eb7,'iEnd':_0x14a811,'jEnd':_0x5d2247};function _0x3bb9d7(_0x59f7b4,_0x1a9170,_0x39bcfa){let _0x59311b=-0x1,_0x3582f4=Number['POSITIVE_INFINITY'],_0x30dc9b=!0x0;for(let _0x41cc26=_0x1a9170;_0x41cc26<_0x39bcfa;_0x41cc26++)if(_0x4f9e62['isInline'](_0x59f7b4[_0x41cc26]['item'])||(_0x30dc9b=!0x1),_0x59f7b4[_0x41cc26]['item']['startIndex']<_0x1a9170&&(_0x59311b=_0x41cc26),_0x59f7b4[_0x41cc26]['item']['endIndex']>=_0x39bcfa){_0x3582f4=_0x41cc26;break;}_0x30dc9b&&(_0x59311b=_0x39bcfa-0x1);for(let _0x5aa676=_0x1a9170;_0x5aa676<_0x39bcfa;_0x5aa676++)_0x59f7b4[_0x5aa676]['side']=_0x5aa676<=_0x59311b?-0x1:_0x5aa676<_0x3582f4?0x0:0x1,_0x59f7b4[_0x5aa676]['index']=_0x5aa676;let _0x208e07=0x0;for(let _0x52e87e=_0x1a9170;_0x52e87e<=_0x59311b;_0x52e87e++)0x0==_0x59f7b4[_0x52e87e]['distance']?_0x59f7b4[_0x52e87e]['level']=_0x208e07:(_0x208e07++,_0x59f7b4[_0x52e87e]['level']=_0x208e07,_0x208e07++);for(let _0x2136fe=_0x1a9170;_0x2136fe<_0x39bcfa;_0x2136fe++)0x0==_0x59f7b4[_0x2136fe]['side']&&(_0x59f7b4[_0x2136fe]['level']=_0x208e07);_0x208e07=0x0;for(let _0x2484da=_0x39bcfa-0x1;_0x2484da>=_0x3582f4;_0x2484da--)0x0==_0x59f7b4[_0x2484da]['distance']?_0x59f7b4[_0x2484da]['level']=_0x208e07:(_0x208e07--,_0x59f7b4[_0x2484da]['level']=_0x208e07,_0x208e07--);}}['_fixObsoleteTags'](_0xb991cf){const _0x1f0d1d=new Map(),_0x1de650=this['editor']['model']['schema'];for(let _0x3bfe93=0x1;_0x3bfe93<_0xb991cf['length'];_0x3bfe93++){let _0x370d06,_0x46fe65,_0x45b195;const _0x299627=_0xb991cf[_0x3bfe93],_0x1da1fb=_0xb991cf[_0x3bfe93-0x1];if('text'==_0x299627['type'])continue;if(_0x299627['type']!=_0x1da1fb['type'])continue;if(!_0x1de650['isBlock'](_0x1da1fb['item'])||_0x1de650['isLimit'](_0x1da1fb['item']))continue;if(!_0x1de650['isBlock'](_0x299627['item'])||_0x1de650['isLimit'](_0x299627['item']))continue;if((_0xb991cf[_0x3bfe93]['isAdded']||_0xb991cf[_0x3bfe93]['isAddSuggestion'])&&_0xb991cf[_0x3bfe93-0x1]['isRemoved'])_0x370d06=_0xb991cf[_0x3bfe93],_0x46fe65=_0xb991cf[_0x3bfe93-0x1],_0x45b195=_0x3bfe93-0x1;else{if(!_0xb991cf[_0x3bfe93]['isRemoved']||!_0xb991cf[_0x3bfe93-0x1]['isAdded']&&!_0xb991cf[_0x3bfe93-0x1]['isAddSuggestion'])continue;_0x370d06=_0xb991cf[_0x3bfe93-0x1],_0x46fe65=_0xb991cf[_0x3bfe93],_0x45b195=_0x3bfe93;}const _0xd0cbe5=_0x370d06['level']==_0x46fe65['level'],_0x4b64b2=Math['abs'](_0x370d06['level'])<Math['abs'](_0x46fe65['level'])&&0x0==_0x46fe65['distance'];(_0xd0cbe5||_0x4b64b2)&&(_0x1f0d1d['set'](_0x46fe65['id'],_0x370d06['id']),_0xb991cf['splice'](_0x45b195,0x1),_0x3bfe93--,_0x370d06['isAdded']=!0x1);}for(let _0x582992=0x0;_0x582992<_0xb991cf['length'];_0x582992++)_0x1f0d1d['has'](_0xb991cf[_0x582992]['pairId'])&&(_0xb991cf[_0x582992]['pairId']=_0x1f0d1d['get'](_0xb991cf[_0x582992]['pairId']));}['_removeMissingPairs'](_0x94d559){const _0x4d5dd2=new Set(_0x94d559['map'](_0x1b6cb8=>_0x1b6cb8['id']));for(let _0x44e2d2=0x0;_0x44e2d2<_0x94d559['length'];_0x44e2d2++)_0x4d5dd2['has'](_0x94d559[_0x44e2d2]['pairId'])||0x0==_0x94d559[_0x44e2d2]['distance']||(_0x94d559[_0x44e2d2]['isIncorrect']=!0x0);return _0x94d559['filter'](_0x42b2ae=>!_0x42b2ae['isIncorrect']);}['_markMismatchedRemovedTags'](_0x58625e){const _0x24128c=new Set();for(let _0x3facf2=0x0;_0x3facf2<_0x58625e['length'];_0x3facf2++){if(_0x24128c['has'](_0x58625e[_0x3facf2]['id'])&&_0x58625e[_0x3facf2]['isRemoved']&&(_0x58625e[_0x3facf2]['isIncorrect']=!0x0),_0x58625e[_0x3facf2]['isIncorrect'])continue;if(0x0==_0x58625e[_0x3facf2]['distance'])continue;if('elementStart'!=_0x58625e[_0x3facf2]['type'])continue;if(null==_0x58625e[_0x3facf2]['pairId'])continue;let _0x331e3b=_0x3facf2+0x1,_0x5f3ff8=0x0;for(;_0x58625e[_0x331e3b]['id']!=_0x58625e[_0x3facf2]['pairId'];)'elementStart'==_0x58625e[_0x331e3b]['type']?_0x5f3ff8++:'elementEnd'==_0x58625e[_0x331e3b]['type']&&_0x5f3ff8--,_0x331e3b++;if(0x0!=_0x5f3ff8){if(_0x58625e[_0x3facf2]['isRemoved'])_0x58625e[_0x3facf2]['isIncorrect']=!0x0;else{for(;_0x331e3b!=_0x3facf2;)_0x58625e[_0x331e3b]['isRemoved']&&0x0!=_0x58625e[_0x331e3b]['distance']&&(_0x58625e[_0x331e3b]['isIncorrect']=!0x0,_0x24128c['add'](_0x58625e[_0x331e3b]['pairId'])),_0x331e3b--;}}}return _0x58625e['filter'](_0x3bfd36=>!_0x3bfd36['isIncorrect']);}['_removeUnsupportedChanges'](_0x32343d){const _0x1548f1=this['editor']['model']['schema'];for(let _0x7d93a0=0x0;_0x7d93a0<_0x32343d['length'];_0x7d93a0++){if(!(_0x32343d[_0x7d93a0]['isAdded']||_0x32343d[_0x7d93a0]['isAddSuggestion']||_0x32343d[_0x7d93a0]['isRemoved']||_0x32343d[_0x7d93a0]['isRemoveSuggestion']))continue;if(0x0==_0x32343d[_0x7d93a0]['distance'])continue;const _0x482ebe=_0x32343d[_0x7d93a0]['item'];_0x1548f1['isBlock'](_0x482ebe)||_0x1548f1['isLimit'](_0x482ebe)||(_0x32343d[_0x7d93a0]['isAdded']&&delete _0x32343d[_0x7d93a0]['isAdded'],_0x32343d[_0x7d93a0]['isAddSuggestion']&&delete _0x32343d[_0x7d93a0]['isAddSuggestion'],_0x32343d[_0x7d93a0]['isRemoveSuggestion']&&delete _0x32343d[_0x7d93a0]['isRemoveSuggestion'],_0x32343d[_0x7d93a0]['isRemoved']&&(_0x32343d[_0x7d93a0]['isIncorrect']=!0x0));}return _0x32343d['filter'](_0x211cb2=>!_0x211cb2['isIncorrect']);}['_makeModelFromTape'](_0x549462,_0x35cde6,_0x25d4eb){const _0x463183=new _t(),_0x46aab6=[],_0x3975c5=new Map(),_0xd9f12c=this['editor']['model'],_0x16964b=_0xd9f12c['schema'],_0x3bbc9a=[_0x463183],_0x5d4942={},_0x12653c={'isAdded':[],'isRemoved':[],'isAddSuggestion':[],'isRemoveSuggestion':[]};let _0x3059fa=null;const _0x3aafae=[0x0];for(let _0xb3e4cd=0x0;_0xb3e4cd<_0x549462['length'];_0xb3e4cd++){let _0x1eff7e,_0x33262d;if('elementStart'===_0x549462[_0xb3e4cd]['type']){_0x1eff7e=_0xd9f12c['createPositionFromPath'](_0x463183,_0x3aafae);const _0x48795a=new ft(_0x549462[_0xb3e4cd]['item']['name'],_0x549462[_0xb3e4cd]['item']['getAttributes']());_0x3bbc9a[0x0]['_appendChild'](_0x48795a),_0x3aafae['push'](0x0),_0x3bbc9a['unshift'](_0x48795a),_0x33262d=_0xd9f12c['createPositionFromPath'](_0x463183,_0x3aafae),_0x3059fa=null;}else{if('elementEnd'===_0x549462[_0xb3e4cd]['type'])_0x3bbc9a['shift'](),_0x1eff7e=_0xd9f12c['createPositionFromPath'](_0x463183,_0x3aafae),_0x3aafae['pop'](),_0x3aafae[_0x3aafae['length']-0x1]++,_0x33262d=_0xd9f12c['createPositionFromPath'](_0x463183,_0x3aafae),_0x3059fa=null;else{if(_0x1eff7e=_0xd9f12c['createPositionFromPath'](_0x463183,_0x3aafae),_0x3059fa&&_0xfd0b97(_0x3059fa,_0x549462[_0xb3e4cd]['item']))_0x3059fa['_data']+=_0x549462[_0xb3e4cd]['item']['data'];else{const _0x39f869=new yt(_0x549462[_0xb3e4cd]['item']['data'],_0x549462[_0xb3e4cd]['item']['getAttributes']());_0x3bbc9a[0x0]['_appendChild'](_0x39f869),_0x3059fa=_0x39f869;}_0x3aafae[_0x3aafae['length']-0x1]+=_0x549462[_0xb3e4cd]['item']['offsetSize'],_0x33262d=_0xd9f12c['createPositionFromPath'](_0x463183,_0x3aafae);}}for(const _0x2f96a0 of _0x549462[_0xb3e4cd]['markersStart'])_0x3975c5['set'](_0x2f96a0,{'start':_0x1eff7e,'end':null});_0x1a317e('isRemoveSuggestion',_0xb3e4cd,_0x1eff7e,_0x33262d),_0x1a317e('isAddSuggestion',_0xb3e4cd,_0x1eff7e,_0x33262d),_0x1a317e('isRemoved',_0xb3e4cd,_0x1eff7e,_0x33262d),_0x1a317e('isAdded',_0xb3e4cd,_0x1eff7e,_0x33262d);for(const _0x1b5f12 of _0x549462[_0xb3e4cd]['markersEnd']){_0x3975c5['get'](_0x1b5f12)['end']=_0x33262d;}}for(const [_0x11f135,_0x4be0c9]of _0x3975c5){const _0x11dd21=this['editor']['model']['createRange'](_0x4be0c9['start'],_0x4be0c9['end']);_0x463183['markers']['set'](_0x11f135,_0x11dd21);}return _0x46aab6['sort']((_0x2261c3,_0x35d3dd)=>{const _0x3234e9=_0x463183['markers']['get']('revision:'+_0x2261c3['id']),_0x4c040d=_0x463183['markers']['get']('revision:'+_0x35d3dd['id']);return _0x3234e9['start']['isBefore'](_0x4c040d['start'])?-0x1:_0x3234e9['start']['isAfter'](_0x4c040d['start'])?0x1:_0x3234e9['end']['isBefore'](_0x4c040d['end'])?-0x1:_0x3234e9['end']['isAfter'](_0x4c040d['end'])?0x1:'add'===_0x2261c3['type']?-0x1:0x1;}),{'root':_0x463183,'changes':_0x46aab6};function _0x1a317e(_0x5c5e01,_0x2520b6,_0x1b8255,_0x63322){const _0x11539c=!!_0x549462[_0x2520b6][_0x5c5e01],_0xed9d28=_0x11539c?_0x549462[_0x2520b6][_0x5c5e01]['userId']:null,_0x465345=_0x2520b6===_0x549462['length']-0x1,_0x5dd09c=_0x12653c[_0x5c5e01][0x0],_0x36d3f5=_0x16964b['isObject'](_0x549462[_0x2520b6]['item']);!_0x5d4942[_0x5c5e01]&&_0x11539c?_0x5d4942[_0x5c5e01]={'start':_0x1b8255,'tapeItem':_0x549462[_0x2520b6],'userId':_0xed9d28,'type':_0x5c5e01}:_0x5d4942[_0x5c5e01]&&!_0x11539c?(_0x5d4942[_0x5c5e01]['end']=_0x1b8255,_0x5caed6(_0x5d4942[_0x5c5e01]),_0x5d4942[_0x5c5e01]=null):_0x5d4942[_0x5c5e01]&&_0x11539c&&_0x5d4942[_0x5c5e01]['userId']!==_0xed9d28&&(_0x5d4942[_0x5c5e01]['end']=_0x1b8255,_0x5dd09c&&_0x5dd09c['userId']===_0x5d4942[_0x5c5e01]['userId']||_0x5caed6(_0x5d4942[_0x5c5e01]),_0x5d4942[_0x5c5e01]={'start':_0x1b8255,'tapeItem':_0x549462[_0x2520b6],'userId':_0xed9d28,'type':_0x5c5e01}),_0x5d4942[_0x5c5e01]&&_0x36d3f5&&('elementStart'!==_0x549462[_0x2520b6]['type']||_0x5dd09c&&_0x5dd09c['userId']===_0xed9d28||_0x12653c[_0x5c5e01]['unshift']({'userId':_0xed9d28,'object':_0x549462[_0x2520b6]['item'],'change':_0x5d4942[_0x5c5e01]}),'elementEnd'===_0x549462[_0x2520b6]['type']&&_0x5dd09c&&_0x5dd09c['object']===_0x549462[_0x2520b6]['item']&&(_0x12653c[_0x5c5e01]['shift'](),_0x5d4942[_0x5c5e01]=_0x5dd09c['change'])),_0x5d4942[_0x5c5e01]&&_0x465345&&(_0x5d4942[_0x5c5e01]['end']=_0x63322,_0x5caed6(_0x5d4942[_0x5c5e01]),_0x5d4942[_0x5c5e01]=null);}function _0x5caed6({start:_0x39bb63,end:_0x221bda,tapeItem:_0x587ea2,userId:_0xe64306,type:_0x298241}){const _0x520fbf=_0x587ea2['item'],_0x31a838=_0xd9f12c['schema']['isBlock'](_0x520fbf)&&!_0xd9f12c['schema']['isLimit'](_0x520fbf),_0x1916e0=_0x39bb63['nodeAfter']==_0x221bda['parent']&&_0x221bda['isAtStart'];if(_0x31a838&&_0x1916e0)return;const _0x5661df=_0xd9f12c['createRange'](_0x39bb63,_0x221bda),_0x56fb3a=_0x35cde6['get'](_0xe64306),_0x47bc74=new r({'author':_0x56fb3a,'type':'isAdded'==_0x298241||'isAddSuggestion'==_0x298241?'add':'remove','data':{'isSuggestion':'isAddSuggestion'==_0x298241||'isRemoveSuggestion'==_0x298241},'createdAt':new Date(),'rootName':_0x25d4eb});_0x46aab6['push'](_0x47bc74),_0x463183['markers']['set']('revision:'+_0x47bc74['id'],_0x5661df);}function _0xfd0b97(_0x219c86,_0x3f1fc8){const _0x50b624=_0x219c86['getAttributes'](),_0x41ee00=_0x3f1fc8['getAttributes']();for(const _0x511dca of _0x50b624){if(_0x511dca[0x1]!==_0x3f1fc8['getAttribute'](_0x511dca[0x0]))return!0x1;_0x41ee00['next']();}return _0x41ee00['next']()['done'];}}['_setConversion'](){this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'revision'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision','view':_0x25a38f=>{const _0x2049b2=_0x25a38f['markerName']['split'](':')[0x1],_0x540330=this['_getChangeFromId'](_0x2049b2);if(!_0x540330)return null;const _0x3bd31a='add'==_0x540330['type']?'insertion':'deletion',_0x11dbe6=['ck-suggestion-marker','ck-suggestion-marker-'+_0x3bd31a];return _0x540330['data']['isSuggestion']&&_0x11dbe6['push']('ck-suggestion-marker-'+_0x3bd31a+'-new'),this['activeChange']==_0x540330&&_0x11dbe6['push']('ck-suggestion-marker--active'),{'classes':_0x11dbe6,'attributes':{'data-change-id':_0x2049b2}};}}),this['editor']['conversion']['for']('upcast')['add'](_0x281b91=>{_0x281b91['on']('element:pre',(_0x41f31b,_0xe74031,_0xbaa154)=>{const _0x4afe4d=_0xe74031['viewItem']['getChild'](0x0);if(!_0x4afe4d||!_0x4afe4d['is']('element','code'))return;if(!_0xbaa154['consumable']['consume'](_0x4afe4d,{'attributes':['vid_start','vid_end']}))return;const _0x3818a2=_0xe74031['modelRange']['start']['nodeAfter'];_0xbaa154['writer']['setAttribute']('vid_start',_0x4afe4d['getAttribute']('vid_start'),_0x3818a2),_0xbaa154['writer']['setAttribute']('vid_end',_0x4afe4d['getAttribute']('vid_end'),_0x3818a2);},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['add'](_0x2bccad=>{_0x2bccad['on']('element',(_0x19090e,_0x518092,_0x5bbdb8)=>{if(!_0x5bbdb8['consumable']['consume'](_0x518092['viewItem'],{'attributes':['vid_start','vid_end']}))return;if(_0x518092['modelRange']['isCollapsed'])return;const _0x1ed255=_0x518092['modelRange']['start']['nodeAfter'];_0x1ed255['hasAttribute']('vid_start')||_0x1ed255['hasAttribute']('vid')||(_0x5bbdb8['writer']['setAttribute']('vid_start',_0x518092['viewItem']['getAttribute']('vid_start'),_0x1ed255),_0x5bbdb8['writer']['setAttribute']('vid_end',_0x518092['viewItem']['getAttribute']('vid_end'),_0x1ed255));},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['elementToAttribute']({'view':{'name':'span','attributes':{'vid':!0x0}},'model':{'key':'vid','value':_0x313d04=>_0x313d04['getAttribute']('vid')}}),this['editor']['model']['schema']['on']('checkAttribute',(_0x2c394e,[,_0x18a8f0])=>{['vid_start','vid_end','vid']['includes'](_0x18a8f0)&&(_0x2c394e['return']=!0x0,_0x2c394e['stop']());},{'priority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['add'](_0x868cf7=>{_0x868cf7['on']('attribute:vid',(_0x4fce3e,_0x44c74c,_0x1ef1d5)=>{if('\x20'!=_0x44c74c['item']['data']||_0x44c74c['item']['parent']['maxOffset']>0x1)return;if(!_0x1ef1d5['consumable']['consume'](_0x44c74c['item'],_0x4fce3e['name']))return;const _0x525870=_0x1ef1d5['writer'],_0x5e29a9=_0x1ef1d5['mapper']['toViewRange'](_0x44c74c['range']);_0x525870['wrap'](_0x5e29a9,_0x525870['createAttributeElement']('span'));});}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',function(_0x4d7082){const _0x3b54dd=_0x4d7082['plugins']['get']('RevisionViewer');return(_0x4891fa,_0x54a205,_0x2927da)=>{const _0x25a7d8=_0x54a205['markerName']['split'](':')[0x1],_0x181528=_0x3b54dd['_getChangeFromId'](_0x25a7d8);if(!_0x181528)return null;const _0xbc49bf='add'==_0x181528['type']?'split':'merge';if(!_0x2927da['consumable']['test'](_0x54a205['markerRange'],_0x4891fa['name']))return;const _0x101dda=_0x54a205['markerRange']['getWalker'](),_0x18c399=_0x54a205['markerRange']['start'],_0x4723e3=_0x4d7082['model']['schema'];let _0x4acbbe=null,_0x289e46=null,_0x33195f=!0x1,_0x1a1271=!0x1;for(const _0x39c581 of _0x101dda){const _0xb001af=_0x39c581['item'];_0x33195f=_0x33195f||_0x4723e3['isContent'](_0xb001af);const _0x2b073c=_0x2927da['mapper']['toViewElement'](_0xb001af);if(_0x2b073c&&_0x2b073c['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x39c581['type']&&(_0x4723e3['isBlock'](_0xb001af)&&!_0x4723e3['isLimit'](_0xb001af)&&(_0xb001af['nextSibling']||_0x18c399['isAtEnd']?_0x4acbbe&&_0x4acbbe['parent']==_0xb001af||(_0x4acbbe=_0xb001af,_0x4206f6(_0x39c581['previousPosition']),_0x1a1271=!0x0):_0x289e46=_0x289e46||_0x39c581['previousPosition']));}function _0x4206f6(_0x3322cd){const _0x9214e3=_0x2927da['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0xbc49bf}),_0x2db177=_0x2927da['mapper']['toViewPosition'](_0x3322cd);_0x181528['data']['isSuggestion']&&_0x2927da['writer']['addClass']('ck-suggestion-marker-'+_0xbc49bf+'-new',_0x9214e3),_0x3b54dd['activeChange']==_0x181528&&_0x2927da['writer']['addClass']('ck-suggestion-marker--active',_0x9214e3),_0x2927da['writer']['insert'](_0x2db177,_0x9214e3),_0x2927da['mapper']['bindElementToMarker'](_0x9214e3,_0x54a205['markerName']);}_0x33195f||_0x1a1271||!_0x289e46||_0x4206f6(_0x289e46);};}(this['editor']),{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('removeMarker:revision',(_0x5f313e,_0x5eb908,_0x57a90e)=>{const _0x59d59b=_0x57a90e['mapper']['markerNameToElements'](_0x5eb908['markerName']);if(_0x59d59b){for(const _0x4b6cfa of _0x59d59b)(_0x4b6cfa['hasClass']('ck-suggestion-marker-split')||_0x4b6cfa['hasClass']('ck-suggestion-marker-merge'))&&(_0x57a90e['mapper']['unbindElementFromMarkerName'](_0x4b6cfa,_0x5eb908['markerName']),_0x57a90e['writer']['remove'](_0x4b6cfa));}},{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',(_0xf06bcd,_0x150d47,_0xb730cc)=>{const _0x275264=_0x150d47['markerName']['split'](':')[0x1],_0x1df8bc=this['_getChangeFromId'](_0x275264);if(!_0x1df8bc)return null;const _0x4eb773='add'==_0x1df8bc['type']?'split':'merge';if(_0xb730cc['consumable']['test'](_0x150d47['markerRange'],_0xf06bcd['name']))for(const _0xcf45bc of _0x150d47['markerRange']['getItems']()){if(!_0xcf45bc['is']('element','softBreak'))continue;const _0x58c679=_0xb730cc['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x4eb773}),_0x10a316=_0xb730cc['mapper']['toViewPosition'](this['editor']['model']['createPositionBefore'](_0xcf45bc));_0x1df8bc['data']['isSuggestion']&&_0xb730cc['writer']['addClass']('ck-suggestion-marker-'+_0x4eb773+'-new',_0x58c679),this['activeChange']==_0x1df8bc&&_0xb730cc['writer']['addClass']('ck-suggestion-marker--active',_0x58c679),_0xb730cc['writer']['insert'](_0x10a316,_0x58c679),_0xb730cc['mapper']['bindElementToMarker'](_0x58c679,_0x150d47['markerName']);}},{'priority':'high'}),this['editor']['model']['document']['on']('change',()=>{this['editor']['editing']['view']['change'](_0x568de0=>{for(const _0x47efaf of this['editor']['model']['document']['getRootNames']()){const _0x3cfb7f=this['editor']['model']['document']['getRoot'](_0x47efaf),_0x234f62=this['editor']['editing']['view']['document']['getRoot'](_0x47efaf);if(_0x234f62){const _0x26dfea=_0x3cfb7f['getAttribute']('revisionHistoryAttachChange');if(_0x568de0['removeAttribute']('data-change-id',_0x234f62),_0x568de0['removeClass']('ck-revision-history-root-add',_0x234f62),_0x568de0['removeClass']('ck-revision-history-root-remove',_0x234f62),_0x568de0['removeClass']('ck-revision-history-root--active',_0x234f62),_0x26dfea){const _0x1d503b=this['_getChangeFromId'](_0x26dfea);if(!_0x1d503b)return null;_0x568de0['setAttribute']('data-change-id',_0x26dfea,_0x234f62),_0x568de0['addClass']('ck-revision-history-root-'+_0x1d503b['type'],_0x234f62),this['activeChange']==_0x1d503b&&_0x568de0['addClass']('ck-revision-history-root--active',_0x234f62);}}}});}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'comment','model':_0x458156=>'revision-comment:'+_0x458156,'converterPriority':'highest'}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'suggestion','model':_0x5af4f2=>'revision-suggestion:'+_0x5af4f2,'converterPriority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision-suggestion','view':_0x2bb87f=>({'name':'suggestion:'+_0x2bb87f,'group':'revision-suggestion'}),'converterPriority':'highest'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision-suggestion','view':_0x48b7f0=>{const _0xb2afc8=_0x48b7f0['markerName']['split'](':')[0x1];return'insertion'!=_0xb2afc8&&'deletion'!=_0xb2afc8?null:{'classes':['ck-suggestion-preview-marker','ck-suggestion-preview-marker-'+_0xb2afc8]};}}),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',(_0x22d8a8,_0x38b5ac,_0x5a45cb)=>{const _0x402493=_0x5a45cb['mapper']['markerNameToElements'](_0x38b5ac['markerName']);if(_0x402493){for(const _0x4ac050 of _0x402493)_0x4ac050['is']('uiElement')&&(_0x5a45cb['mapper']['unbindElementFromMarkerName'](_0x4ac050,_0x38b5ac['markerName']),_0x5a45cb['writer']['remove'](_0x4ac050));}},{'priority':'high'});}['_getChangeFromId'](_0x18c092){return this['_changeIdToChange']['get'](_0x18c092);}['_getViewForChange'](_0x583a7b){return this['_changeView']&&this['_changeView']['destroy'](),this['_changeView']=new Z(this['editor']['locale'],_0x583a7b),this['_changeView'];}['_initInteractions'](){this['editor']['model']['document']['selection']['observeMarkers']('revision'),this['on']('change:activeView',(_0x2e121d,_0x50f16e,_0x5796d0,_0x7409b1)=>{_0x7409b1&&this['_balloon']['remove'](_0x7409b1),_0x5796d0&&(this['_balloon']['add']({'view':_0x5796d0,'stackId':'revisionHistoryLabel','position':{'target':()=>{const _0x531443=this['editor']['editing'],_0x337be5=this['_getChangeFromId'](_0x5796d0['changeId']);let _0x76fabf;if(_0x337be5['data']['isOnRoot']){const _0x2d3f76=_0x531443['view']['getDomRoot'](_0x337be5['rootName']);_0x76fabf=Array['from'](_0x2d3f76['getClientRects']());}else{const _0x12ea4a=this['editor']['model']['markers']['get']('revision:'+_0x5796d0['changeId']);_0x76fabf=Array['from'](_0x531443['mapper']['markerNameToElements'](_0x12ea4a['name']))['map'](_0x2889f5=>_0x531443['view']['domConverter']['mapViewToDom'](_0x2889f5))['map'](_0x2ab671=>Array['from'](_0x2ab671['getClientRects']()))['flat']();}if(!this['_activeViewTarget'])return _0x76fabf[0x0];return _0x76fabf['find'](_0x37a75f=>_0x37a75f['top']-0x3<=this['_activeViewTarget']['y']&&_0x37a75f['bottom']+0x3>=this['_activeViewTarget']['y']&&_0x37a75f['left']-0x3<=this['_activeViewTarget']['x']&&_0x37a75f['right']+0x3>=this['_activeViewTarget']['x'])||_0x76fabf[0x0];}}}),this['_balloon']['showStack']('revisionHistoryLabel'));}),this['on']('change:activeChange',(_0x557fe5,_0x4375ce,_0x19c95c,_0x43bfef)=>{this['activeView']=_0x19c95c?this['_getViewForChange'](_0x19c95c):null,this['editor']['model']['change'](()=>{const _0x181b9a=this['editor']['editing'];_0x43bfef&&(_0x43bfef['data']['isOnRoot']?_0x181b9a['view']['change'](_0x55aa17=>{_0x55aa17['removeClass']('ck-revision-history-root--active',_0x181b9a['view']['document']['getRoot'](_0x43bfef['rootName']));}):_0x181b9a['reconvertMarker']('revision:'+_0x43bfef['id'])),_0x19c95c&&(_0x19c95c['data']['isOnRoot']?_0x181b9a['view']['change'](_0x48ef0f=>{_0x48ef0f['addClass']('ck-revision-history-root--active',_0x181b9a['view']['document']['getRoot'](_0x19c95c['rootName']));}):_0x181b9a['reconvertMarker']('revision:'+_0x19c95c['id']));});}),this['listenTo'](this['editor']['editing']['view']['document'],'mouseover',(_0x24bf47,_0x16ec55)=>{if(this['activeChange'])return;const _0x6876d1=this['_findChangeIdFromDomTarget'](_0x16ec55['target']),_0x509d25=this['_changeIdToChange']['get'](_0x6876d1);_0x509d25?(this['_activeViewTarget']={'x':_0x16ec55['domEvent']['x'],'y':_0x16ec55['domEvent']['y']},this['activeView']=this['_getViewForChange'](_0x509d25)):(this['_activeViewTarget']=null,this['activeView']=null);}),this['listenTo'](this['editor']['editing']['view']['document'],'mousedown',(_0x20dbe6,_0x12d84a)=>{const _0x586001=this['_findChangeIdFromDomTarget'](_0x12d84a['target']),_0x3ff506=this['_changeIdToChange']['get'](_0x586001);_0x3ff506?(this['_activeViewTarget']={'x':_0x12d84a['domEvent']['x'],'y':_0x12d84a['domEvent']['y']},_0x3ff506===this['activeChange']?this['_balloon']['updatePosition']():this['activeChange']=_0x3ff506):(this['_activeViewTarget']=null,this['activeChange']=null);});}['_findChangeIdFromDomTarget'](_0x2d4ed9){do{const _0x31c0e6=_0x2d4ed9['getAttribute']('data-change-id');if(_0x31c0e6)return _0x31c0e6;_0x2d4ed9=_0x2d4ed9['parent'];}while(_0x2d4ed9);return null;}['_cleanMarkers'](){this['editor']['model']['change'](_0xd33b1f=>{for(const _0x2d4b07 of this['editor']['model']['markers'])_0xd33b1f['removeMarker'](_0x2d4b07);});}constructor(_0x501a39){super(_0x501a39),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',(_0x5040f8,_0x44fb52,_0x599a31)=>{this['activeChange']=null,this['activeView']=null,this['editor']['editing']['view']['change'](_0x3c8009=>{for(const _0x325ed3 of this['editor']['editing']['view']['document']['roots'])_0x599a31?_0x3c8009['removeClass']('ck-editor__editable__overlay',_0x325ed3):_0x3c8009['addClass']('ck-editor__editable__overlay',_0x325ed3);});}),this['bind']('isNavigationMode')['to'](this,'activeChange',_0x48d657=>null!==_0x48d657),this['bind']('currentChangeNumber')['to'](this,'isReady',this,'diff',this,'activeChange',(_0x44317d,_0x141523,_0xe45307)=>_0x44317d&&_0xe45307?_0x141523['changes']['getIndex'](_0xe45307):0x0),this['bind']('numberOfChanges')['to'](this,'isReady',this,'diff',(_0x5011c3,_0x3c564d)=>_0x5011c3?_0x3c564d['changes']['length']:0x0),this['_changeView']=null,this['_changeIdToChange']=new Map(),this['adapter']=null,this['_balloon']=this['editor']['plugins']['get'](_0x2161dc);}}function et(_0x5342b1,_0x583dfb){return(_0x57637c,_0xe30132,_0x5595f0)=>{if(!_0x5595f0['consumable']['test'](_0xe30132['markerRange'],_0x57637c['name']))return;const _0x46a233=_0xe30132['markerRange']['getWalker'](),_0x376fa0=_0xe30132['markerRange']['start'],_0x148fbf=_0x5342b1['model']['schema'];let _0x1b382c=null,_0x4676a1=null,_0x252ae6=!0x1,_0x4d3900=!0x1;for(const _0x1f6f06 of _0x46a233){const _0x1e8749=_0x1f6f06['item'];_0x252ae6=_0x252ae6||_0x148fbf['isContent'](_0x1e8749);const _0x3a1f4f=_0x5595f0['mapper']['toViewElement'](_0x1e8749);if(_0x3a1f4f&&_0x3a1f4f['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x1f6f06['type']&&(_0x148fbf['isBlock'](_0x1e8749)&&!_0x148fbf['isLimit'](_0x1e8749)&&(_0x1e8749['nextSibling']||_0x376fa0['isAtEnd']?_0x1b382c&&_0x1b382c['parent']==_0x1e8749||(_0x1b382c=_0x1e8749,_0x204221(_0x1f6f06['previousPosition']),_0x4d3900=!0x0):_0x4676a1=_0x4676a1||_0x1f6f06['previousPosition']));}function _0x204221(_0x217c05){const _0x48f51d=_0x5595f0['mapper']['toViewPosition'](_0x217c05),_0x4a3f61=_0x5595f0['writer']['createUIElement']('span',{'class':'ck-suggestion-preview-marker-'+_0x583dfb});_0x5595f0['writer']['insert'](_0x48f51d,_0x4a3f61),_0x5595f0['mapper']['bindElementToMarker'](_0x4a3f61,_0xe30132['markerName']);}_0x252ae6||_0x4d3900||!_0x4676a1||_0x204221(_0x4676a1);};}class bt extends _0x5c199{['execute'](){const _0xa46b40=this['editor'],_0x56d0e5=_0xa46b40['plugins']['get'](d),_0x3700f1=_0x56d0e5['isReady']?_0x56d0e5['diff']['newRevisionId']:null;_0xa46b40['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x3700f1);}['refresh'](){const {isReady:_0x88c8ea,isEnabled:_0x54345f}=this['editor']['plugins']['get'](d);this['isEnabled']=_0x88c8ea&&_0x54345f;}constructor(_0x39bb5b){super(_0x39bb5b);const _0x14b8c0=_0x39bb5b['plugins']['get'](d);this['affectsData']=!0x1,this['listenTo'](_0x14b8c0,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x14b8c0,'change:isEnabled',()=>this['refresh']());}}class Rt extends _0x5c199{['execute'](){const _0x553f01=this['editor'],_0x4a311e=_0x553f01['plugins']['get'](d),{isNavigationMode:_0x58131b,currentChangeNumber:_0x23e2c8}=_0x4a311e;let _0x318dcf;if(_0x4a311e['activeChange']=_0x58131b?_0x4a311e['diff']['changes']['get'](_0x23e2c8+this['_step']):_0x4a311e['diff']['changes']['first'],_0x4a311e['activeChange']['data']['isOnRoot'])_0x318dcf=_0x553f01['editing']['view']['getDomRoot'](_0x4a311e['activeChange']['rootName']);else{const _0x4c6539=_0x553f01['model']['markers']['get']('revision:'+_0x4a311e['activeChange']['id']);_0x318dcf=_0x20d86e(_0x553f01['editing'],_0x4c6539);}_0x57e02d({'target':_0x318dcf,'viewportOffset':0x28});}['refresh'](){const {isNavigationMode:_0x129011,currentChangeNumber:_0x581e8c,numberOfChanges:_0x6a2fb9,isReady:_0x1d2200,isEnabled:_0x19133f}=this['editor']['plugins']['get'](d);this['isEnabled']=!!(_0x19133f&&_0x1d2200&&_0x6a2fb9)&&(!_0x129011||(0x1===this['_step']?_0x581e8c<_0x6a2fb9-0x1:_0x581e8c>0x0));}constructor(_0x21e384,{direction:_0x359ed3}){super(_0x21e384);const _0x405937=_0x21e384['plugins']['get'](d);this['affectsData']=!0x1,this['_step']='forward'===_0x359ed3?0x1:-0x1,this['listenTo'](_0x405937,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x405937,'change:isEnabled',()=>this['refresh']()),this['listenTo'](_0x405937,'change:activeChange',()=>this['refresh']());}}class _i extends _0xfc1eca{constructor(_0x5d7d1b){super(_0x5d7d1b);const _0x1db64a=this['bindTemplate'],_0x1e4e3d=new _0x162f6c(_0x5d7d1b),_0x357411=new _0x162f6c(_0x5d7d1b);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',(_0x49582e,_0x44db30)=>_0x49582e&&_0x44db30>0x0),this['bind']('_statusText')['to'](this,'isReady',this,'currentChangeNumber',this,'numberOfChanges',this,'isNavigationMode',(_0x4ace74,_0x2204d1,_0x42e475,_0x42d1e5)=>{if(!_0x4ace74)return y(_0x5d7d1b,'Loading...');if(!_0x42e475)return y(_0x5d7d1b,'No\x20changes');const _0x98b945=y(_0x5d7d1b,'NUMBER_OF_CHANGES',_0x42e475);return _0x42d1e5?y(_0x5d7d1b,'X_OF_Y_CHANGES',[_0x2204d1+0x1,_0x42e475]):_0x98b945;}),_0x1e4e3d['set']({'label':y(_0x5d7d1b,'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'}),_0x357411['set']({'label':y(_0x5d7d1b,'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'}),_0x1e4e3d['bind']('isEnabled')['to'](this,'isBackwardNavigationEnabled'),_0x357411['bind']('isEnabled')['to'](this,'isForwardNavigationEnabled'),_0x1e4e3d['on']('execute',()=>this['fire']('execute','backward')),_0x357411['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',_0x1db64a['if']('_isStatusLabelVisible','ck-hidden',_0x579035=>!_0x579035)]},'children':[{'text':_0x1db64a['to']('isNavigationMode',_0x20ef1f=>_0x20ef1f?y(_0x5d7d1b,'EDIT_X_OF_Y_REVISIONS')+':\x20':y(_0x5d7d1b,'Total')+':\x20')}]},{'text':_0x1db64a['to']('_statusText')}]},new _0x1e1d71(),{'tag':'div','attributes':{'class':['ck-revision-history-ui__changes-navigation__navigation']},'children':[_0x1e4e3d,_0x357411]}]});}}const ce='ck-editor__editable__loading-overlay';class de extends _0x5c15fd{static get['pluginName'](){return'RevisionViewerLoadingOverlay';}['show'](){const _0x372a39=this['editor']['editing']['view'];_0x372a39['change'](_0x370860=>{for(const _0x28aff8 of _0x372a39['document']['roots'])_0x370860['addClass'](ce,_0x28aff8);});}['hide'](){const _0x26b4b5=this['editor']['editing']['view'];_0x26b4b5['change'](_0x396042=>{for(const _0x2bde2c of _0x26b4b5['document']['roots'])_0x396042['removeClass'](ce,_0x2bde2c);});}}class R extends _0x5c15fd{static get['pluginName'](){return'RevisionViewerUI';}static get['requires'](){return[d,de];}['init'](){const _0x35ce16=this['editor'],_0xfb03db=_0x35ce16['plugins']['get'](d),_0x401f24=_0x35ce16['plugins']['get'](de);_0x35ce16['ui']['componentFactory']['add']('exitToEditing',_0x2ed492=>{const _0xf94f12=new _0x162f6c(_0x2ed492);return _0xf94f12['set']({'label':y(_0x2ed492,'Back\x20to\x20editing'),'icon':_0x2c290b['undo'],'withText':!0x0,'tooltip':!0x0,'class':'ck-revision-history-ui__back-to-editing'}),this['listenTo'](_0xf94f12,'execute',()=>{_0x35ce16['config']['get']('revisionHistory')['closeRevisionViewerCallback']();}),_0xf94f12;}),_0x35ce16['ui']['componentFactory']['add']('restoreRevision',_0x46c479=>{const _0x270161=new _0x162f6c(_0x46c479);return _0x270161['set']({'label':y(_0x46c479,'Restore\x20this\x20revision'),'withText':!0x0,'tooltip':!0x0}),_0x270161['bind']('isEnabled')['to'](_0x35ce16['commands']['get']('restoreRevision')),this['listenTo'](_0x270161,'execute',()=>_0x35ce16['execute']('restoreRevision')),_0x270161;}),_0x35ce16['ui']['componentFactory']['add']('changesNavigation',_0x465794=>{const _0x31de10=new _i(_0x465794),_0xc3a6ac=_0x35ce16['commands']['get']('showPreviousChange'),_0x2a5fb7=_0x35ce16['commands']['get']('showNextChange');return _0x31de10['bind']('isBackwardNavigationEnabled')['to'](_0xc3a6ac,'isEnabled'),_0x31de10['bind']('isForwardNavigationEnabled')['to'](_0x2a5fb7,'isEnabled'),_0x31de10['bind']('isReady','currentChangeNumber','numberOfChanges','isNavigationMode')['to'](_0xfb03db),this['listenTo'](_0x31de10,'execute',(_0x3b967e,_0x298251)=>{_0x35ce16['execute']('forward'===_0x298251?'showNextChange':'showPreviousChange');}),_0x31de10;}),_0x401f24['show'](),_0xfb03db['on']('change:isReady',(_0x247726,_0x294bae,_0x595809)=>{_0x595809?_0x401f24['hide']():_0x401f24['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 _0x5002a7=this['fieldView']['element'];this['_tooltipString']=_0x5002a7['scrollWidth']>_0x5002a7['clientWidth']&&_0x5002a7['value']||'';}constructor(_0x2ed95c,_0x2984b6){super(_0x2ed95c,_0x2984b6),this['_resizeObserver']=null;const _0xb53f05=this['bindTemplate'];this['set']({'label':y(_0x2ed95c,'Revision\x20name'),'_tooltipString':''}),this['fieldView']['placeholder']=y(_0x2ed95c,'Enter\x20the\x20revision\x20name'),this['extendTemplate']({'tag':'span','attributes':{'class':['ck-revision-history-sidebar__revision-name'],'data-cke-tooltip-text':_0xb53f05['to']('_tooltipString'),'data-cke-tooltip-position':'s','data-cke-tooltip-class':'ck-tooltip_multi-line'}});}}class ti extends _0xfc1eca{constructor(_0x26dfba,_0x543043,_0x4f3c5f){super(_0x26dfba);const _0x34f879=new _0x322337();_0x34f879['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 _0x1b7ac2=['ck','ck-revision-history-sidebar__revision-author'];_0x4f3c5f&&_0x1b7ac2['push']('ck-revision-history-sidebar__revision-author_creator');const _0x2ba4e6=[{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__revision-author__name'],'title':y(_0x26dfba,_0x4f3c5f?'Revision\x20creator':'Revision\x20author')},'children':[_0x34f879,_0x543043['name']]}];this['setTemplate']({'tag':'li','attributes':{'class':_0x1b7ac2},'children':_0x2ba4e6});}}function ni(_0xc9277f,_0x587533){const _0x480dec=_0xc9277f['bindTemplate'],_0x477459=_0xc9277f['locale'],_0x18dfdf=_0x288ef7(_0x477459);_0x18dfdf['panelPosition']='sw';const _0x3f411d=function(_0x24a798,_0x46274d){const _0x5c39f8=function(_0x184027,_0xfab748){const _0x1cc300=_0x184027['locale'],_0x392194={'Compare\x20against\x20selected':y(_0x1cc300,'Compare\x20against\x20selected'),'Name\x20this\x20revision':y(_0x1cc300,'Name\x20this\x20revision'),'Restore\x20this\x20revision':y(_0x1cc300,'Restore\x20this\x20revision')};return _0xfab748['map'](_0xe9726a=>{const _0xc2402b=_0x392194[_0xe9726a['name']];return _0xc2402b&&_0xc2402b!==_0xe9726a['name']&&(_0xe9726a['name']=_0xc2402b),_0xe9726a;});}(_0x24a798,_0x46274d),_0x1cd06b=new _0x514bfa();for(const _0x1f32d9 of _0x5c39f8){const _0x16fa65={'type':'button','model':new to({'label':_0x1f32d9['name'],'class':_0x1f32d9['class'],'withText':!0x0,'role':'menuitem','_action':_0x1f32d9['action']})};_0x16fa65['model']['bind']('isEnabled')['to'](_0x24a798,'isActionsDropdownOpen',_0x4a84aa=>'function'!=typeof _0x1f32d9['isEnabled']||(!_0x4a84aa||_0x1f32d9['isEnabled'](_0x24a798))),_0x1cd06b['add'](_0x16fa65);}return _0x1cd06b;}(_0xc9277f,_0x587533);return _0xc9277f['bind']('isActionsDropdownOpen')['to'](_0x18dfdf,'isOpen'),_0x18dfdf['buttonView']['set']({'label':y(_0x477459,'Show\x20more\x20items'),'tooltip':!0x0,'tooltipPosition':'sw','icon':_0x2c290b['threeVerticalDots']}),_0x18dfdf['extendTemplate']({'attributes':{'class':['ck-revision-history-sidebar__revision__actions',_0x480dec['if']('isActionsDropdownOpen','ck-on')]},'on':{'click':_0x480dec['to'](_0x1360fd=>_0x1360fd['stopPropagation']())}}),_0x18dfdf['on']('execute',_0x445390=>{_0xc9277f['isReady']&&'function'==typeof _0x445390['source']['_action']&&_0x445390['source']['_action'](_0xc9277f);}),_0x4b72af(_0x18dfdf,_0x3f411d,{'role':'menu'}),_0x18dfdf['listenTo'](_0xc9277f,'change:isActionsDropdownOpen',(_0x54f4fc,_0x104bce,_0x32ad15)=>{if(_0x32ad15)for(const _0x4dd362 of _0x18dfdf['listView']['items']){const _0x3d406e=_0x4dd362['children']['first'],_0x1a918c=_0x587533['find'](_0x406382=>_0x406382['action']===_0x3d406e['_action'])['isVisible'];_0x4dd362['isVisible']=void 0x0===_0x1a918c||_0x1a918c(_0xc9277f);}}),_0x18dfdf;}class ai extends _0x3a8aa6(_0xfc1eca){['render'](){super['render']();const _0x4328ab=this['revisionNameView']['fieldView']['element'];this['listenTo'](_0x4328ab,'change',()=>{this['_requireRevisionName']&&!_0x4328ab['value']||this['fire']('setName',{'id':this['id'],'name':_0x4328ab['value']}),_0x4328ab['value']||(_0x4328ab['value']=this['name']?this['name']:this['_createdAtFormatted']);});}['select'](){this['isSelected']=!0x0;}['deselect'](){this['isSelected']=!0x1;}['highlight'](){this['isHighlighted']=!0x0;}['unhighlight'](){this['isHighlighted']=!0x1;}constructor(_0x3d2c9d,_0x5b0b86,_0x96355f,_0x561d56){super(_0x3d2c9d);const _0x4ffda1=this['bindTemplate'],_0x2372a4=function(_0x35e77e,_0x424bdb){const _0x58cb19=Array['from'](_0x424bdb['authors'])['filter'](_0x1cf06c=>_0x1cf06c!=_0x424bdb['creator']);return _0x424bdb['creator']&&_0x58cb19['unshift'](_0x424bdb['creator']),_0x58cb19['map'](_0x3ad3ac=>new ti(_0x35e77e,_0x3ad3ac,_0x3ad3ac==_0x424bdb['creator']));}(_0x3d2c9d,_0x5b0b86);this['id']=_0x5b0b86['id'],this['_revision']=_0x5b0b86,this['_requireRevisionName']=_0x561d56,this['bind']('name','createdAt')['to'](_0x5b0b86),this['bind']('_createdAtFormatted')['to'](this,'createdAt',_0x59c41d=>{return _0x574407=_0x3d2c9d['uiLanguage'],(_0x1094db=_0x59c41d)['toLocaleDateString'](_0x574407,{'month':'long','day':'numeric'})+',\x20'+_0x1094db['toLocaleTimeString'](_0x574407,{'hour':'numeric','minute':'numeric'});var _0x574407,_0x1094db;}),this['set']('isSelected',!0x1),this['set']('isHighlighted',!0x1),this['set']('isActionsDropdownOpen',!0x1),this['set']('isReady',!0x1),this['set']('isEnabled',!0x1),this['revisionNameView']=new vt(_0x3d2c9d,_0x2543fe),this['revisionNameView']['fieldView']['extendTemplate']({'attributes':{'maxlength':'220'}}),this['revisionNameView']['fieldView']['bind']('value')['to'](this,'name',_0x3ad25a=>_0x3ad25a||this['_createdAtFormatted']),this['revisionNameView']['bind']('isEnabled')['to'](this,'isSelected',this,'isEnabled',(_0x57fa84,_0x4572b6)=>_0x57fa84&&_0x4572b6),this['revisionActionsView']=_0x96355f&&_0x96355f['length']?ni(this,_0x96355f):'',this['revisionActionsView']&&this['revisionActionsView']['bind']('isEnabled')['to'](this),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision-wrapper',_0x4ffda1['if']('isConfirm','ck-revision-history-sidebar__revision-wrapper_confirmation_visible')]},'children':[{'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision',_0x4ffda1['if']('isEnabled','ck-disabled',_0x309e4d=>!_0x309e4d),_0x4ffda1['if']('isSelected','ck-revision-history-sidebar__revision_selected'),_0x4ffda1['if']('isHighlighted','ck-revision-history-sidebar__revision_highlighted'),_0x4ffda1['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':_0x4ffda1['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':_0x2372a4}]},this['revisionActionsView']],'on':{'click':_0x4ffda1['to'](_0x3a973f=>{_0x3a973f['srcElement']['closest']('.ck-thread__remove-confirm')||this['isReady']&&this['isEnabled']&&this['fire']('select',{'id':this['id']});})}}]});}}function di(_0x254942,_0x133eb2){const _0x34541f=_0x262eae['fromJSDate'](_0x254942)['setLocale'](_0x133eb2),_0x22cf51=_0x262eae['local'](),_0x3ad88c=_0x22cf51['minus']({'days':0x1})['startOf']('day');let _0x1df269,_0x3dfeca;return _0x34541f['hasSame'](_0x22cf51,'day')?(_0x1df269=_0x34541f['startOf']('day')['toJSDate'](),_0x3dfeca=_0x34541f['toRelativeCalendar']()):_0x34541f['hasSame'](_0x3ad88c,'day')?(_0x1df269=_0x3ad88c['toJSDate'](),_0x3dfeca=_0x34541f['toRelativeCalendar']()):_0x34541f['hasSame'](_0x22cf51,'week')?(_0x1df269=_0x34541f['startOf']('week')['toJSDate'](),_0x3dfeca=_0x34541f['weekdayLong']||''):_0x34541f['hasSame'](_0x22cf51,'year')?(_0x1df269=_0x34541f['startOf']('month')['toJSDate'](),_0x3dfeca=_0x34541f['monthLong']||''):(_0x1df269=_0x34541f['startOf']('year')['toJSDate'](),_0x3dfeca=String(_0x34541f['year'])),{'startDate':_0x1df269,'localizedPeriodName':_0x3dfeca};}class mi extends _0xfc1eca{['addRevision'](_0x37d384){const _0x10383f=new ai(this['locale'],_0x37d384,this['_revisionActions'],this['_requireRevisionName']);this['revisionViews']['add'](_0x10383f);}['removeRevision'](_0xc111ac){const _0x223408=this['revisionViews']['find'](_0x2bc640=>_0x2bc640['id']===_0xc111ac['id']);this['revisionViews']['remove'](_0x223408);}constructor(_0xfb4559,_0x4e8fc7,_0x369893,_0x5028e1){super(_0xfb4559);const _0x3c46a5=di(_0x4e8fc7,this['locale']['uiLanguage'])['localizedPeriodName'];this['startDate']=_0x4e8fc7,this['revisionViews']=this['createCollection'](),this['_revisionActions']=_0x369893,this['_requireRevisionName']=_0x5028e1,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':_0x3c46a5}]},{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__time-period__revisions']},'children':this['revisionViews']}]});}}class as extends _0xfc1eca{constructor(_0x42107b){super(_0x42107b);const _0x348529=new _0x322337();_0x348529['content']=_0x2c290b['history'],this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all','ck-revision-history-sidebar__header']},'children':[_0x348529,{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__header__label']},'children':[y(_0x42107b,'Revision\x20history')]}]});}}class ci extends _0xfc1eca{['render'](){super['render']();for(const _0x143f33 of this['_revisions'])this['_addRevision'](_0x143f33);this['_revisions']['on']('add',(_0x2cd456,_0x3e2ced)=>{this['_addRevision'](_0x3e2ced);}),this['_revisions']['on']('remove',(_0x28427f,_0x402309)=>{this['_removeRevision'](_0x402309);});}get['revisionViews'](){return this['timePeriodViews']['map'](_0x16770f=>_0x16770f['revisionViews']['map'](_0x13382d=>_0x13382d))['flat']();}['selectRevision'](_0x428527){for(const _0x492bcb of this['revisionViews'])_0x428527&&_0x428527['id']===_0x492bcb['id']?_0x492bcb['select']():_0x492bcb['deselect']();}['highlightRevisions'](_0x1fa277){for(const _0x224e4d of this['revisionViews'])_0x1fa277['some'](({id:_0x259025})=>_0x259025===_0x224e4d['id'])?_0x224e4d['highlight']():_0x224e4d['unhighlight']();}['_addRevision'](_0x2f3485){const _0x36361d=di(_0x2f3485['createdAt'],this['locale']['uiLanguage'])['startDate'];let _0x148f46=this['timePeriodViews']['get'](0x0);_0x148f46&&_0x148f46['startDate']['getTime']()===_0x36361d['getTime']()||(_0x148f46=new mi(this['locale'],_0x36361d,this['_revisionActions'],this['_requireRevisionName']),this['timePeriodViews']['add'](_0x148f46)),_0x148f46['addRevision'](_0x2f3485);}['_removeRevision'](_0x4aadd0){const _0x48228e=di(_0x4aadd0['createdAt'],this['locale']['uiLanguage'])['startDate'];this['_getTimePeriodViewByStartDate'](_0x48228e)['removeRevision'](_0x4aadd0);}['_getTimePeriodViewByStartDate'](_0x449044){return this['timePeriodViews']['find'](_0x2e9c79=>_0x2e9c79['startDate']['getTime']()===_0x449044['getTime']());}constructor(_0x54e669,_0x5b7642,_0x5c2181,_0x5755a9){super(_0x54e669);const _0x1e5bfd=this['bindTemplate'];this['timePeriodViews']=this['createCollection'](),this['timePeriodViews']['delegate']('select')['to'](this),this['timePeriodViews']['delegate']('setName')['to'](this),this['_revisions']=_0x5b7642,this['_revisionActions']=_0x5c2181,this['_requireRevisionName']=_0x5755a9,this['on']('select',(_0x21482d,_0x64e732)=>{this['fire']('revisionSelected',_0x64e732);}),this['on']('setName',(_0x5f4f75,_0x33ae8e)=>{this['fire']('revisionSetName',_0x33ae8e);}),this['set']('isEnabled',!0x1),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-rounded-corners','ck-revision-history-sidebar']},'children':[new as(_0x54e669),{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__timeline',_0x1e5bfd['if']('isEnabled','ck-disabled',_0x266ad2=>!_0x266ad2)]},'children':this['timePeriodViews']}]});}}class w extends _0x5c15fd{static get['pluginName'](){return'RevisionsSidebar';}static get['requires'](){return[d];}['init'](){const _0x16f834=this['_revisionsRepository']['_revisions'],_0x454837=this['_createRevisionActions'](),_0x554a43=this['editor']['config']['get']('revisionHistory.viewerSidebarContainer');this['_sidebarView']=new ci(this['editor']['locale'],_0x16f834,_0x454837,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',(_0x2d2135,_0x49cd5d)=>{_0x49cd5d['revisionViews']['on']('add',(_0x47e607,_0x438d31)=>{_0x438d31['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)),_0x554a43['appendChild'](this['_sidebarView']['element']);}['destroy'](){this['_sidebarView']['element']['remove'](),this['_sidebarView']['destroy']();}['_handleEditorDataReady'](){const _0x4e2720=this['_revisionsRepository']['getRevision'](0x0);if(_0x4e2720){const _0x1aaed2=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x4e2720['id']);this['_revisionViewer']['compare'](_0x4e2720,_0x1aaed2);}}['_handleRevisionSelected'](_0x149f61,_0xc375b){const _0x4d6cd8=this['_revisionsRepository']['getRevision'](_0xc375b['id']),_0x40bc4b=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x4d6cd8['id']);this['_revisionViewer']['compare'](_0x4d6cd8,_0x40bc4b);}['_handleRevisionSetName'](_0x269c36,_0x17f090){this['_revisionsRepository']['getRevision'](_0x17f090['id'])['setName'](_0x17f090['name']);}['_handleDiffChange'](_0x20e602,_0x3b2f73,_0xb3db29){const _0x4513b2=this['_revisionsRepository']['getRevisionsInDiff'](_0xb3db29);_0x4513b2['length']>0x2?(this['_sidebarView']['highlightRevisions'](_0x4513b2),this['_sidebarView']['selectRevision'](null)):(this['_sidebarView']['highlightRevisions']([]),this['_sidebarView']['selectRevision'](_0x4513b2[0x0]));}['_createRevisionActions'](){const _0x547991=this['editor'],_0x1e6e63=w['availableRevisionActions'],_0x1c69f2=_0x547991['config']['get']('revisionHistory.revisionActions')||w['defaultRevisionActions'];if(_0x1c69f2['length'])return _0x1c69f2['map'](_0x38bd42=>{const _0x5ae646='string'==typeof _0x38bd42?Object['assign']({},_0x1e6e63[_0x38bd42]):_0x38bd42;return _0x5ae646['action']=_0x5ae646['action']['bind'](this,_0x547991),_0x5ae646['isVisible']&&(_0x5ae646['isVisible']=_0x5ae646['isVisible']['bind'](this,_0x547991)),_0x5ae646;});}constructor(_0x379109){super(_0x379109),this['_revisionViewer']=_0x379109['plugins']['get'](d),this['_revisionsRepository']=this['_revisionViewer']['repository'],this['_sidebarView']=null;}}w['availableRevisionActions']={'compareAgainstSelected':{'name':'Compare\x20against\x20selected','action':({plugins:_0xc278db},_0x40b13b)=>{const _0x586f2d=_0xc278db['get'](d),_0x2183a6=_0x586f2d['repository'];let _0x16a2ed=_0x586f2d['diff']['newRevisionId'],_0x18040e=_0x40b13b['id'];_0x2183a6['getIndex'](_0x16a2ed)>_0x2183a6['getIndex'](_0x18040e)&&([_0x16a2ed,_0x18040e]=[_0x18040e,_0x16a2ed]),_0x586f2d['compare'](_0x16a2ed,_0x18040e);},'isVisible':({plugins:_0x7d9814},_0x4c2a9c)=>{const _0x12894f=_0x7d9814['get'](d);return!(_0x12894f['repository']['getRevisionsInDiff'](_0x12894f['diff'])['length']>0x2)&&!_0x4c2a9c['isSelected'];}},'restoreRevision':{'name':'Restore\x20this\x20revision','action':(_0x4d85e1,{id:_0x18e40b})=>{_0x4d85e1['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x18e40b);},'isVisible':({plugins:_0xd04e9e},_0x1a5edd)=>!!_0xd04e9e['get'](d)['repository']['getLaterVisibleRevision'](_0x1a5edd['id'])},'nameRevision':{'name':'Name\x20this\x20revision','action':({plugins:_0x175370},{id:_0x3a9d90,revisionNameView:_0xb38d43})=>{const _0x1bbd70=_0x175370['get'](d),_0x4915cc=_0x1bbd70['repository']['getEarlierVisibleRevision'](_0x3a9d90);_0x1bbd70['compare'](_0x3a9d90,_0x4915cc),_0xb38d43['focus'](),_0xb38d43['fieldView']['select']();}}},w['defaultRevisionActions']=['compareAgainstSelected','restoreRevision','nameRevision'];class ot extends ht{get['view'](){return this['_view'];}get['element'](){return this['view']['element'];}['init'](_0x162ba5){const _0x4e5f32=this['editor'],_0x447cc6=this['view'],_0xaf68d0=_0x4e5f32['editing']['view'],_0x430ea3=_0x447cc6['editable'],_0x5b8a63=_0xaf68d0['document']['getRoot']();_0x430ea3['name']=_0x5b8a63['rootName'],_0x447cc6['render']();const _0x33c3ca=_0x430ea3['element'];this['setEditableElement'](_0x430ea3['name'],_0x33c3ca),_0x447cc6['editable']['bind']('isFocused')['to'](this['focusTracker']),_0xaf68d0['attachDomRoot'](_0x33c3ca),this['_elementReplacer']['replace'](_0x162ba5,this['element']),this['_initToolbar'](),this['fire']('ready');}['destroy'](){super['destroy']();const _0x3204a9=this['view'],_0x3a3c5e=this['editor']['editing']['view'];this['_elementReplacer']['restore'](),_0x3a3c5e['detachDomRoot'](_0x3204a9['editable']['name']),_0x3204a9['destroy']();}['_initToolbar'](){const _0x132a9f=this['view'];_0x132a9f['stickyPanel']['bind']('isActive')['to'](this['focusTracker'],'isFocused'),_0x132a9f['stickyPanel']['limiterElement']=_0x132a9f['element'],_0x132a9f['stickyPanel']['bind']('viewportTopOffset')['to'](this,'viewportOffset',({top:_0xd0ed69})=>_0xd0ed69),_0x132a9f['toolbar']['fillFromConfig'](this['_toolbarConfig'],this['componentFactory']),this['addToolbar'](_0x132a9f['toolbar']);}constructor(_0x182acd,_0x56f529){super(_0x182acd),this['_view']=_0x56f529,this['_toolbarConfig']=ct(_0x182acd['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(_0x453ac8,_0x2fde8a,_0x3af12e={}){super(_0x453ac8),this['stickyPanel']=new lt(_0x453ac8),this['toolbar']=new pt(_0x453ac8,{'shouldGroupWhenFull':_0x3af12e['shouldToolbarGroupWhenFull']}),this['_editable']=new ut(_0x453ac8,_0x2fde8a);}}class m extends rt(st(it)){get['ui'](){return this['_ui'];}['destroy'](){return this['updateSourceElement'](),this['ui']['destroy'](),super['destroy']();}static async['create'](_0x1e5584,_0xbc6ba0){const _0x2d2dea=new this(_0x1e5584,_0xbc6ba0);return await _0x2d2dea['initPlugins'](),await _0x2d2dea['ui']['init'](_0x1e5584),await _0x2d2dea['data']['init'](_0x2d2dea['config']['get']('initialData')||''),_0x2d2dea['fire']('ready'),_0x2d2dea;}constructor(_0x16cec8,_0x39f4d0){super(_0x39f4d0),this['sourceElement']=_0x16cec8,this['model']['document']['createRoot']();const _0x260e90=new at(this['locale'],this['editing']['view'],{'shouldToolbarGroupWhenFull':!0x0});this['_ui']=new ot(this,_0x260e90);}}const p=['RevisionHistoryUI','RestrictedEditingMode'];class k extends _0x5c15fd{static get['pluginName'](){return'RevisionViewerIntegration';}constructor(_0x1c6c22){super(_0x1c6c22),this['result']='end';}}class H extends _0x5c15fd{static get['pluginName'](){return'RevisionHistory';}static get['requires'](){return[l,u];}set['adapter'](_0x3682b7){this['editor']['plugins']['get']('RevisionTracker')['adapter']=_0x3682b7;}get['adapter'](){return this['editor']['plugins']['get']('RevisionTracker')['adapter'];}['addRevisionData'](_0x202df8){return this['editor']['plugins']['get']('RevisionTracker')['addRevisionData'](_0x202df8);}['getRevision'](_0x46916f){return this['editor']['plugins']['get']('RevisionsRepository')['getRevision'](_0x46916f);}['getRevisions'](_0x139055={'toJSON':!0x1}){return this['editor']['plugins']['get']('RevisionsRepository')['getRevisions'](_0x139055);}['_getRevisionViewerEditorConfig'](){const _0x297935=this['editor'],_0x179b96=_0x441c9a(_0x297935,p),_0x3edaff=_0x297935['plugins']['get']('RevisionTracker'),_0x1708d4=_0x297935['plugins']['get']('Users')['users'];return _0x179b96['toolbar']=['exitToEditing','restoreRevision','changesNavigation'],delete _0x179b96['lazyRoots'],(_0x179b96['plugins']['push'](k,d,R,class extends _0x5c15fd{static get['requires'](){return[d,'Users'];}['init'](){const _0x4991b7=this['editor']['plugins']['get']('Users');for(const _0x4b7c2a of _0x1708d4)_0x4b7c2a['isAnonymous']||_0x4991b7['getUser'](_0x4b7c2a['id'])||_0x4991b7['addUser'](_0x4b7c2a);const _0xd66eb=_0x3edaff['repository']['getRevisions']();let _0x40cab5=null;const _0x46aadb=this['editor']['plugins']['get']('RevisionViewer');_0x46aadb['adapter']=_0x3edaff['adapter'],_0x46aadb['bind']('isEnabled')['to'](_0x3edaff),this['editor']['commands']['get']('restoreRevision')['bind']('isEnabled')['to'](_0x297935,'isReadOnly',_0xd88726=>!_0xd88726);for(const _0x47a4ef of _0xd66eb){const _0x2d3837=null===_0x47a4ef['creator'];if(_0x2d3837&&_0x47a4ef['toVersion']===_0x47a4ef['fromVersion'])continue;const _0x18a74a=_0x47a4ef['toJSON']();_0x46aadb['addRevisionData'](_0x18a74a,(_0xb56d33,_0x5d63b6,_0x57154c)=>{if(_0x2d3837){if(_0x40cab5)_0x40cab5['_update'](_0xb56d33,_0x5d63b6);else{if(!_0x5d63b6){const _0x5e9acb=_0x57154c['toJSON']();_0x5e9acb['id']=_0x636be9(),_0x3edaff['saveRevision'](_0x5e9acb,_0x57154c['toVersion'])['then'](_0x3d70ce=>{_0x40cab5=_0x3d70ce;});}}}else _0x47a4ef['_update'](_0xb56d33,_0x5d63b6);});}}},w),_0x179b96);}['_enhanceShowRevisionViewerCallback'](){const _0x24d9fa=this['editor']['config']['get']('revisionHistory')['showRevisionViewerCallback'];this['editor']['config']['set']('revisionHistory.showRevisionViewerCallback',async()=>{this['editor']['enableReadOnlyMode']('revision-history-viewer-opened');const _0x30d13d=this['editor']['plugins']['get']('RevisionTracker');if(this['editor']['plugins']['has']('Autosave')){const _0x422135=this['editor']['plugins']['get']('Autosave');await _0x422135['save']();}else await _0x30d13d['update']();if(this['editor']['plugins']['has']('PaginationLookup')&&this['editor']['plugins']['get']('PaginationLookup')['_recalculatePageBreaks'](),this['editor']['plugins']['has']('Dialog')){const _0x1bde8c=this['editor']['plugins']['get']('Dialog');_0x1bde8c['isOpen']&&_0x1bde8c['hide']();}const _0x712931=this['_getRevisionViewerEditorConfig']();return _0x24d9fa(_0x712931)['then'](_0x311d76=>{return(this['_viewerEditor']=_0x311d76,this['editor']['plugins']['has']('Annotations'))&&this['editor']['plugins']['get']('Annotations')['refreshVisibility'](),_0x311d76;})['catch'](_0x56f301=>(console['error'](_0x56f301),this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),null));});}['_enhanceCloseRevisionViewerCallback'](){const _0x1df744=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'](),_0x1df744(this['_viewerEditor'])['then'](()=>{if(this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),this['_viewerEditor']=null,this['editor']['plugins']['has']('Annotations')){const _0x29e51d=this['editor']['plugins']['get']('Annotations');_0x29e51d['refreshVisibility'](),_0x29e51d['refreshPositioning']();}})));}['_showRevisionViewer'](_0x12de07){const _0x3b9a93=this['editor']['config']['get']('revisionHistory.editorContainer'),_0x3a5f59=this['editor']['config']['get']('revisionHistory.viewerContainer'),_0x49a4f5=this['editor']['config']['get']('revisionHistory.viewerEditorElement');return m['create'](_0x49a4f5,_0x12de07)['then'](_0x36d9b0=>(_0x3a5f59['style']['display']='block',_0x3b9a93['style']['display']='none',_0x36d9b0));}['_closeRevisionViewer'](_0x435977){const _0x53f824=this['editor']['config']['get']('revisionHistory.editorContainer');return this['editor']['config']['get']('revisionHistory.viewerContainer')['style']['display']='none',_0x53f824['style']['display']='',_0x435977['destroy']();}async['_restoreRevision'](_0x273a1c){const _0x682302=this['editor'],_0x5ccba5=this['_viewerEditor']['plugins']['get']('RevisionViewer'),_0x3658a4=_0x682302['plugins']['get']('RevisionTracker'),_0x2f5f0c=_0x5ccba5['repository']['getRevision'](_0x273a1c);let _0x30d687,_0x540607,_0x3777cd;try{_0x30d687=await _0x5ccba5['getRevisionData'](_0x2f5f0c),_0x540607=await _0x5ccba5['getRevisionRootsAttributes'](_0x2f5f0c);}catch(_0x518abd){return void console['error'](_0x518abd);}_0x682302['model']['change'](_0x53d781=>{for(const _0x308f60 of Array['from'](_0x682302['model']['markers']['getMarkersGroup']('restrictedEditingException')))_0x53d781['removeMarker'](_0x308f60);}),_0x5ccba5['isReady']=!0x1,_0x682302['model']['enqueueChange'](_0x17f7b2=>{_0x17f7b2['setSelection'](null),_0x17f7b2['removeSelectionAttribute'](_0x682302['model']['document']['selection']['getAttributeKeys']());const _0x1077e7=Object['keys'](_0x30d687);for(const _0x319d77 of _0x682302['model']['document']['roots'])'$graveyard'!=_0x319d77['rootName']&&_0x319d77['isAttached']()&&!_0x1077e7['includes'](_0x319d77['rootName'])&&_0x17f7b2['detachRoot'](_0x319d77);for(const _0x5474a4 of _0x1077e7){let _0xb2b3f=_0x682302['model']['document']['getRoot'](_0x5474a4);_0xb2b3f&&_0xb2b3f['isAttached']()||(_0xb2b3f=_0x17f7b2['addRoot'](_0x5474a4));const _0x409070=_0x540607[_0x5474a4],_0x25c35d=Object['keys'](_0x409070),_0x134773=_0x30d687[_0x5474a4];for(const _0x5c1cc2 of _0xb2b3f['getAttributeKeys']())_0x25c35d['includes'](_0x5c1cc2)||_0x17f7b2['removeAttribute'](_0x5c1cc2,_0xb2b3f);for(const _0x270e98 of _0x25c35d)_0x17f7b2['setAttribute'](_0x270e98,_0x540607[_0x5474a4][_0x270e98],_0xb2b3f);_0x17f7b2['remove'](_0x17f7b2['createRangeIn'](_0xb2b3f)),_0x17f7b2['insert'](_0x682302['data']['parse'](_0x134773,_0xb2b3f),_0xb2b3f,0x0);}});const _0x90093f=y(_0x682302['locale'],'Restored');if(_0x2f5f0c['name'])_0x3777cd=-0x1==_0x2f5f0c['name']['indexOf'](_0x90093f)?_0x90093f+':\x20'+_0x2f5f0c['name']:_0x2f5f0c['name'];else _0x3777cd=_0x90093f+':\x20'+(_0x2f5f0c['createdAt']['toLocaleDateString'](_0x682302['locale']['uiLanguage'],{'month':'long','day':'numeric'})+',\x20'+_0x2f5f0c['createdAt']['toLocaleTimeString'](_0x682302['locale']['uiLanguage'],{'hour':'numeric','minute':'numeric'}));return await _0x3658a4['saveRevision']({'name':_0x3777cd}),_0x5ccba5['isReady']=!0x0,_0x682302['config']['get']('revisionHistory')['closeRevisionViewerCallback']();}constructor(_0x536f5b){if(super(_0x536f5b),!this['editor']['config']['get']('revisionHistory'))throw new _0x150b43('revision-history-missing-configuration',this);this['_viewerEditor']=null,this['editor']['config']['define']('revisionHistory.showRevisionViewerCallback',_0x51155c=>this['_showRevisionViewer']({..._0x51155c,'translations':this['editor']['locale']['translations']})),this['editor']['config']['define']('revisionHistory.closeRevisionViewerCallback',_0x375e34=>this['_closeRevisionViewer'](_0x375e34)),this['editor']['config']['define']('revisionHistory.restoreRevisionCallback',_0x85c922=>this['_restoreRevision'](_0x85c922)),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 _0x12757e,Context as _0x30e7c0,PendingActions as _0x58b7b7,icons as _0x37e7f5,Command as _0x1b8a79,ElementApiMixin as rt,Editor as it}from'@ckeditor/ckeditor5-core/dist/index.js';import{ObservableMixin as _0x3efeca,uid as _0x2d8c49,Collection as _0x20b247,logWarning as _0x442a18,FocusTracker as _0x40e9bd,KeystrokeHandler as _0x52c718,scrollViewportToShowTarget as _0x1f052d,ResizeObserver as mt,ElementReplacer as nt,CKEditorError as _0x1beeca}from'@ckeditor/ckeditor5-utils/dist/index.js';import{Users as _0x5066ad,getMarkerDomElement as _0x41ad97,ConfirmMixin as _0x4295d0,sanitizeEditorConfig as _0x54ed26}from'ckeditor5-collaboration/dist/index.js';import{ViewDocumentFragment as _0x31da5b,ViewText as _0x261b63,ViewElement as _0x4cb316,Element as ft,Range as vt,Position as gt,DocumentFragment as wt,ViewContainerElement as _0x4e00c8,ViewAttributeElement as _0x2e5e38,ViewEmptyElement as _0x1c91af,ViewRawElement as _0x32bb84,ViewUIElement as _0x1e5c39,Text as _t}from'@ckeditor/ckeditor5-engine/dist/index.js';import{cloneDeep as _0x307697,set as _0x2f615c,unset as _0x533171,isEqual as _0xfb9927}from'lodash-es';import{View as _0x423130,injectCssTransitionDisabler as ts,submitHandler as _0x5c0ed7,LabeledFieldView as at,createLabeledInputText as _0x5e3ddd,createDropdown as _0x464bb6,ListView as te,ListItemView as _0x24acfa,ButtonView as _0x5eef24,MenuBarMenuView as _0x41d1ac,MenuBarMenuListView as _0xae2460,MenuBarMenuListItemView as _0x3d55ac,MenuBarMenuListItemButtonView as _0x329e2c,ContextualBalloon as _0x578b02,ToolbarSeparatorView as _0x2bcf46,IconView as _0x2bed6c,addListToDropdown as _0x1ce8dc,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 _0x5b1fa0}from'luxon';class a extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x3efeca(){['id'];['creator'];['authors'];['diffData'];['toVersion'];['fromVersion'];['model'];constructor(_0x16a899){super(),this['id']=_0x16a899['id']||_0x2d8c49(),this['creator']=_0x16a899['creator']||null,this['authors']=_0x16a899['authors']||[],this['diffData']=_0x16a899['diffData']||null,this['toVersion']=_0x16a899['toVersion']||0x0,this['fromVersion']=_0x16a899['fromVersion']||0x0,this['set']('name',_0x16a899['name']||''),this['set']('createdAt',_0x16a899['createdAt']||new Date()),this['set']('attributes',_0x16a899['attributes']||{});}['setName'](_0x472cfd){this['_update']({'name':_0x472cfd});}['setAttribute'](_0xb18a72,_0x457296){const _0x4e12b9=_0x307697(this['attributes']);_0x2f615c(_0x4e12b9,_0xb18a72,_0x457296),this['_update']({'attributes':_0x4e12b9});}['removeAttribute'](_0x19c04a){const _0x541b0a=_0x307697(this['attributes']);_0x533171(_0x541b0a,_0x19c04a),this['_update']({'attributes':_0x541b0a});}['_update'](_0x47d9f7,_0xa69334=!0x1){let _0x26f2f2=!0x1;const _0x45261e={'id':this['id']},_0x1dd195=['name','createdAt','diffData','authors','attributes','toVersion','fromVersion','creatorId'];for(const _0x2cc958 of _0x1dd195){const _0x3c0e9e=_0x47d9f7[_0x2cc958];void 0x0!==_0x3c0e9e&&_0x3c0e9e!==this[_0x2cc958]&&(this[_0x2cc958]=_0x3c0e9e,_0x45261e[_0x2cc958]=_0x3c0e9e,_0x26f2f2=!0x0);}_0x26f2f2&&(_0x45261e['authors']&&(_0x45261e['authorsIds']=_0x45261e['authors']['map'](_0x5cbc84=>_0x5cbc84['id']),delete _0x45261e['authors']),this['fire']('_update',_0x45261e,_0xa69334));}['toJSON'](){return{'id':this['id'],'name':this['name'],'creatorId':this['creator']?this['creator']['id']:null,'authorsIds':this['authors']['map'](_0x2a30b2=>_0x2a30b2['id']),'diffData':this['diffData'],'createdAt':this['createdAt'],'attributes':this['attributes'],'fromVersion':this['fromVersion'],'toVersion':this['toVersion']};}}class A extends _0x12757e{['_revisions'];static get['requires'](){return[_0x5066ad];}static get['pluginName'](){return'RevisionsRepository';}get['length'](){return this['_revisions']['length'];}constructor(_0x1b040d){super(_0x1b040d),this['_revisions']=new _0x20b247();}['afterInit'](){!function(_0x3e75d2){function _0x4195bf(_0x160897,_0x1e3116,_0x1c57f5){const _0x3f0ae8={};_0x3f0ae8[_0x298529([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])]={0x10:0xa,0x18:0xc,0x20:0xe},_0x3f0ae8[_0x298529([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],_0x3f0ae8[_0x298529([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],_0x3f0ae8[_0x298529([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],_0x3f0ae8[_0x298529([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],_0x3f0ae8[_0x298529([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],_0x3f0ae8[_0x298529([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],_0x3f0ae8[_0x298529([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],_0x3f0ae8[_0x298529([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],_0x3f0ae8[_0x298529([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],_0x3f0ae8[_0x298529([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 _0x1a0d33=new Uint8Array(0x10);for(let _0xd4657e=0xf;_0xd4657e>=0x0;--_0xd4657e)_0x1a0d33[_0xd4657e]=_0x1c57f5%0x100,_0x1c57f5=parseInt(_0x1c57f5/0x100);let _0x4c1879=null,_0x28fa56=0x10;const _0x28ff98=new Uint8Array(_0x1e3116),_0x1d8126=[],_0x280463=[];_0x45597d();for(let _0x4093c5=0x0;_0x4093c5<_0x160897[_0x298529([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4093c5++)0x10===_0x28fa56&&(_0x4c1879=_0x495a36(_0x1a0d33),_0x28fa56=0x0,_0x1eb484(_0x1a0d33)),_0x160897[_0x4093c5]^=_0x4c1879[_0x28fa56++];return _0x160897;function _0x350eee(_0xd4dd54){const _0x186239=[];for(let _0x4df07f=0x0;_0x4df07f<_0xd4dd54[_0x298529([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4df07f+=0x4)_0x186239[_0x298529([0x70,0x75,0x73,0x68])](_0xd4dd54[_0x4df07f]<<0x18|_0xd4dd54[_0x4df07f+0x1]<<0x10|_0xd4dd54[_0x4df07f+0x2]<<0x8|_0xd4dd54[_0x4df07f+0x3]);return _0x186239;}function _0x1eb484(_0x26fba7){for(let _0x3b0c74=0xf;_0x3b0c74>=0x0;_0x3b0c74--){if(0xff!==_0x26fba7[_0x3b0c74]){_0x26fba7[_0x3b0c74]++;break;}_0x26fba7[_0x3b0c74]=0x0;}}function _0x495a36(_0x2c85bf){const _0x14a436=_0x1d8126[_0x298529([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x1,_0x5e1217=[0x0,0x0,0x0,0x0];let t=_0x350eee(_0x2c85bf);for(let _0x1b570b=0x0;_0x1b570b<0x4;_0x1b570b++)t[_0x1b570b]^=_0x1d8126[0x0][_0x1b570b];for(let _0x3c1dcb=0x1;_0x3c1dcb<_0x14a436;_0x3c1dcb++){for(let _0x5e8230=0x0;_0x5e8230<0x4;_0x5e8230++)_0x5e1217[_0x5e8230]=_0x3f0ae8[_0x298529([0x54,0x31])][t[_0x5e8230]>>0x18&0xff]^_0x3f0ae8[_0x298529([0x54,0x32])][t[(_0x5e8230+0x1)%0x4]>>0x10&0xff]^_0x3f0ae8[_0x298529([0x54,0x33])][t[(_0x5e8230+0x2)%0x4]>>0x8&0xff]^_0x3f0ae8[_0x298529([0x54,0x34])][0xff&t[(_0x5e8230+0x3)%0x4]]^_0x1d8126[_0x3c1dcb][_0x5e8230];t=_0x5e1217[_0x298529([0x73,0x6c,0x69,0x63,0x65])]();}const _0x1fab00=new Uint8Array(0x10);let _0x5ea6a1;for(let _0x19e6bc=0x0;_0x19e6bc<0x4;_0x19e6bc++)_0x5ea6a1=_0x1d8126[_0x14a436][_0x19e6bc],_0x1fab00[0x4*_0x19e6bc]=0xff&(_0x3f0ae8[_0x298529([0x53])][t[_0x19e6bc]>>0x18&0xff]^_0x5ea6a1>>0x18),_0x1fab00[0x4*_0x19e6bc+0x1]=0xff&(_0x3f0ae8[_0x298529([0x53])][t[(_0x19e6bc+0x1)%0x4]>>0x10&0xff]^_0x5ea6a1>>0x10),_0x1fab00[0x4*_0x19e6bc+0x2]=0xff&(_0x3f0ae8[_0x298529([0x53])][t[(_0x19e6bc+0x2)%0x4]>>0x8&0xff]^_0x5ea6a1>>0x8),_0x1fab00[0x4*_0x19e6bc+0x3]=0xff&(_0x3f0ae8[_0x298529([0x53])][0xff&t[(_0x19e6bc+0x3)%0x4]]^_0x5ea6a1);return _0x1fab00;}function _0x45597d(){const _0x5ce8bb=_0x3f0ae8[_0x298529([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])][_0x28ff98[_0x298529([0x6c,0x65,0x6e,0x67,0x74,0x68])]];for(let _0x57782a=0x0;_0x57782a<=_0x5ce8bb;_0x57782a++)_0x1d8126[_0x298529([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]),_0x280463[_0x298529([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]);const _0x42c679=0x4*(_0x5ce8bb+0x1),_0x17bf2e=_0x28ff98[_0x298529([0x6c,0x65,0x6e,0x67,0x74,0x68])]/0x4,_0x222686=_0x350eee(_0x28ff98);let _0x5eab51;for(let _0x3dfb10=0x0;_0x3dfb10<_0x17bf2e;_0x3dfb10++)_0x5eab51=_0x3dfb10>>0x2,_0x1d8126[_0x5eab51][_0x3dfb10%0x4]=_0x222686[_0x3dfb10],_0x280463[_0x5ce8bb-_0x5eab51][_0x3dfb10%0x4]=_0x222686[_0x3dfb10];let _0x3976d9,_0x398a04=0x0,t=_0x17bf2e;for(;t<_0x42c679;){_0x3976d9=_0x222686[_0x17bf2e-0x1],_0x222686[0x0]^=_0x3f0ae8[_0x298529([0x53])][_0x3976d9>>0x10&0xff]<<0x18^_0x3f0ae8[_0x298529([0x53])][_0x3976d9>>0x8&0xff]<<0x10^_0x3f0ae8[_0x298529([0x53])][0xff&_0x3976d9]<<0x8^_0x3f0ae8[_0x298529([0x53])][_0x3976d9>>0x18&0xff]^_0x3f0ae8[_0x298529([0x72,0x63,0x6f,0x6e])][_0x398a04]<<0x18,_0x398a04+=0x1;for(let _0x520163=0x1;_0x520163<_0x17bf2e/0x2;_0x520163++)_0x222686[_0x520163]^=_0x222686[_0x520163-0x1];_0x3976d9=_0x222686[_0x17bf2e/0x2-0x1],_0x222686[_0x17bf2e/0x2]^=_0x3f0ae8[_0x298529([0x53])][0xff&_0x3976d9]^_0x3f0ae8[_0x298529([0x53])][_0x3976d9>>0x8&0xff]<<0x8^_0x3f0ae8[_0x298529([0x53])][_0x3976d9>>0x10&0xff]<<0x10^_0x3f0ae8[_0x298529([0x53])][_0x3976d9>>0x18&0xff]<<0x18;for(let _0x2dc42e=_0x17bf2e/0x2+0x1;_0x2dc42e<_0x17bf2e;_0x2dc42e++)_0x222686[_0x2dc42e]^=_0x222686[_0x2dc42e-0x1];let _0x10c4c5,_0x352c60,_0x3ed259=0x0;for(;_0x3ed259<_0x17bf2e&&t<_0x42c679;)_0x10c4c5=t>>0x2,_0x352c60=t%0x4,_0x1d8126[_0x10c4c5][_0x352c60]=_0x222686[_0x3ed259],_0x280463[_0x5ce8bb-_0x10c4c5][_0x352c60]=_0x222686[_0x3ed259++],t++;}for(let _0x2e7d81=0x1;_0x2e7d81<_0x5ce8bb;_0x2e7d81++)for(let _0x319bb1=0x0;_0x319bb1<0x4;_0x319bb1++)_0x3976d9=_0x280463[_0x2e7d81][_0x319bb1],_0x280463[_0x2e7d81][_0x319bb1]=_0x3f0ae8[_0x298529([0x55,0x31])][_0x3976d9>>0x18&0xff]^_0x3f0ae8[_0x298529([0x55,0x32])][_0x3976d9>>0x10&0xff]^_0x3f0ae8[_0x298529([0x55,0x33])][_0x3976d9>>0x8&0xff]^_0x3f0ae8[_0x298529([0x55,0x34])][0xff&_0x3976d9];}}function _0x298529(_0x268540){return _0x268540['map'](_0x171640=>String['fromCharCode'](_0x171640))['join']('');}(_0x5ae64f=>{function _0x4a0b19(){const _0xa9d853=[{[_0x298529([0x69,0x64])]:0x1,[_0x298529([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x298529([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73]),[_0x298529([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x298529([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x298529([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x298529([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x298529([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x298529([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x298529([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]:[{[_0x298529([0x69,0x64])]:0x2,[_0x298529([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x298529([0x54,0x72,0x61,0x63,0x6b,0x20,0x43,0x68,0x61,0x6e,0x67,0x65,0x73]),[_0x298529([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x298529([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x298529([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x298529([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x298529([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x298529([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]),[_0x298529([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x298529([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x298529([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x298529([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}}],[_0x298529([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x298529([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x298529([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x298529([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x298529([0x69,0x64])]:0x3,[_0x298529([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x298529([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e]),[_0x298529([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x298529([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x6f,0x6f,0x6b,0x75,0x70]),[_0x298529([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x298529([0x70,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x298529([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x298529([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x298529([0x69,0x64])]:0x4,[_0x298529([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x298529([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x20,0x48,0x69,0x73,0x74,0x6f,0x72,0x79]),[_0x298529([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x298529([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x298529([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x298529([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x298529([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x298529([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]),[_0x298529([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x298529([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x298529([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x298529([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x298529([0x69,0x64])]:0x5,[_0x298529([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x298529([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x20,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65]),[_0x298529([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x298529([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65,0x55,0x49]),[_0x298529([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x298529([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]),[_0x298529([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x298529([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x298529([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x298529([0x66,0x67,0x69])]:[0xc]}},{[_0x298529([0x69,0x64])]:0x6,[_0x298529([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x298529([0x46,0x6f,0x72,0x6d,0x61,0x74,0x20,0x50,0x61,0x69,0x6e,0x74,0x65,0x72]),[_0x298529([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x298529([0x46,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x55,0x49]),[_0x298529([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x298529([0x66,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x298529([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x298529([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x298529([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x298529([0x66,0x67,0x69])]:[0xc]}},{[_0x298529([0x69,0x64])]:0x7,[_0x298529([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x298529([0x53,0x6c,0x61,0x73,0x68,0x20,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64]),[_0x298529([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x298529([0x53,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x55,0x49]),[_0x298529([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x298529([0x73,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x298529([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x298529([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x298529([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x298529([0x66,0x67,0x69])]:[0xc]}},{[_0x298529([0x69,0x64])]:0x8,[_0x298529([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x298529([0x54,0x61,0x62,0x6c,0x65,0x20,0x6f,0x66,0x20,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73]),[_0x298529([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x298529([0x54,0x61,0x62,0x6c,0x65,0x4f,0x66,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x298529([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x298529([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]),[_0x298529([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x298529([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x298529([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x298529([0x66,0x67,0x69])]:[0xc]}},{[_0x298529([0x69,0x64])]:0x9,[_0x298529([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x298529([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65]),[_0x298529([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x298529([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x55,0x49]),[_0x298529([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x298529([0x74,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x298529([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x298529([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x298529([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x298529([0x66,0x67,0x69])]:[0xc,0xe]}},{[_0x298529([0x69,0x64])]:0xa,[_0x298529([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x298529([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]),[_0x298529([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x298529([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]),[_0x298529([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x298529([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]),[_0x298529([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x298529([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x298529([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x298529([0x66,0x67,0x69])]:[0xc]}},{[_0x298529([0x69,0x64])]:0xb,[_0x298529([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x298529([0x41,0x49,0x20,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74]),[_0x298529([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x298529([0x41,0x49,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74,0x55,0x49]),[_0x298529([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x298529([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x298529([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x298529([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x298529([0x69,0x64])]:0xc,[_0x298529([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x298529([0x50,0x72,0x6f,0x64,0x75,0x63,0x74,0x69,0x76,0x69,0x74,0x79,0x20,0x70,0x61,0x63,0x6b])},{[_0x298529([0x69,0x64])]:0xd,[_0x298529([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x298529([0x43,0x61,0x73,0x65,0x20,0x43,0x68,0x61,0x6e,0x67,0x65]),[_0x298529([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x298529([0x43,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x55,0x49]),[_0x298529([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x298529([0x63,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x298529([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x298529([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x298529([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x298529([0x66,0x67,0x69])]:[0xc]}},{[_0x298529([0x69,0x64])]:0xe,[_0x298529([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x298529([0x44,0x72,0x75,0x70,0x61,0x6c,0x20,0x70,0x61,0x63,0x6b]),[_0x298529([0x66,0x6f,0x72,0x62,0x69,0x64,0x64,0x65,0x6e,0x48,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x298529([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])},{[_0x298529([0x69,0x64])]:0xf,[_0x298529([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x298529([0x4d,0x75,0x6c,0x74,0x69,0x20,0x4c,0x65,0x76,0x65,0x6c,0x20,0x4c,0x69,0x73,0x74]),[_0x298529([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x298529([0x4d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x298529([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x298529([0x6d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x298529([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x298529([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x298529([0x69,0x64])]:0x10,[_0x298529([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x298529([0x4d,0x65,0x72,0x67,0x65,0x20,0x54,0x61,0x67,0x73]),[_0x298529([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x298529([0x4d,0x65,0x72,0x67,0x65,0x54,0x61,0x67,0x73,0x55,0x49]),[_0x298529([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x298529([0x6d,0x65,0x72,0x67,0x65,0x54,0x61,0x67,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x298529([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x298529([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x298529([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x298529([0x66,0x67,0x69])]:[0xc]}}];return _0x4ba4bb(_0xa9d853),_0xa9d853;function _0x44eb4e(_0xdd3f3a){return 0x1<<_0xdd3f3a-0x1;}function _0x4ba4bb(_0x7926a6){_0x7926a6[_0x298529([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x445471=>{_0x445471[_0x298529([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]=_0x44eb4e(_0x445471[_0x298529([0x69,0x64])]),_0x3c8274(_0x445471)&&_0x445471[_0x298529([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x4ba4bb(_0x445471[_0x298529([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]);});}}function _0x3c8274(_0x77a362){return _0x298529([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])in _0x77a362;}const _0x43d5bf=[0x1,0x55,0x4e,0x73,0xc6,0xff,0x32,0x70,0x53,0x57,0xa1],_0x526d56=[0x7f,0x22,0x6,0xd3,0xa7,0x56,0x92,0xc7,0x84,0xa0,0x12];function _0x3bf222(_0x5d71a7){const _0x3504de=[0x1d,0xdd,0xaf,0x5a,0xe7,0x85,0xef,0xf0,0x4b,0xb4];return _0x158ed1(_0x5d71a7,new Uint8Array([..._0x43d5bf,..._0x3504de,..._0x526d56]));}function _0x158ed1(_0x43cf15,_0x66f968){const _0x14d736=_0x4aa240(_0x43cf15),_0x5e1a71=Array[_0x298529([0x66,0x72,0x6f,0x6d])](_0x36091d(_0x14d736)),_0x27f11c=_0x5e1a71[_0x298529([0x70,0x6f,0x70])](),_0x322ff1=_0x5e1a71[_0x298529([0x70,0x6f,0x70])]();return _0x2a056e(_0x4195bf(_0x5e1a71,_0x66f968,_0x322ff1+0x100*_0x27f11c));}function _0x4aa240(_0x320a96){const _0xb6817b=atob(_0x320a96),[_0x224db0,_0x44c3c0]=_0xb6817b[_0x298529([0x73,0x70,0x6c,0x69,0x74])](_0x298529([0x2d]));try{if(atob(_0x44c3c0))return atob(_0x224db0);}catch(_0x12c75b){}return _0xb6817b;}function _0x2bcf37(_0x317a8a){try{const _0x2b8b8f=_0x3bf222(_0x317a8a),_0x3bf0fa=JSON[_0x298529([0x70,0x61,0x72,0x73,0x65])](_0x2b8b8f),_0x1636a2=parseInt(_0x3bf0fa[_0x298529([0x31])]),_0x3b5dc4=_0x3bf0fa[_0x298529([0x32])]||'',_0x209c4d=parseInt(_0x3bf0fa[_0x298529([0x33])]),_0x20e517=parseInt(_0x3bf0fa[_0x298529([0x34])])||0x0,_0x5388c3=parseInt(_0x3bf0fa[_0x298529([0x35])])||0x0;return{[_0x298529([0x70,0x72,0x6f,0x64,0x75,0x63,0x74,0x4e,0x61,0x6d,0x65])]:_0x3b5dc4,[_0x298529([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])]:_0x20e517,[_0x298529([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]:_0x1636a2,[_0x298529([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]:_0x209c4d,[_0x298529([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]:_0x5388c3};}catch(_0x26f801){return null;}}const _0x16729b=_0x4a0b19(),_0xb368a1={[_0x298529([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])]:_0x5785c8,[_0x298529([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])]:_0x3760b6,[_0x298529([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])]:_0x1fddde},_0xffea48=_0x5ae64f[_0x298529([0x63,0x6f,0x6e,0x73,0x74,0x72,0x75,0x63,0x74,0x6f,0x72])][_0x298529([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])],_0xc835c=_0x298529([0x63,0x6f,0x6e,0x74,0x65,0x78,0x74])in _0x5ae64f?_0x5ae64f['context']:_0x5ae64f['editor'],_0x339da7=_0x298529([0x34,0x30,0x34,0x38,0x31,0x32,0x31,0x32]),_0x122141=_0x298529([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]),_0x5efabe=_0xc835c['config']['get'](_0x298529([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x555be7=_0x16729b[_0x298529([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3c8274)[_0x298529([0x66,0x69,0x6e,0x64])](_0x363e67=>_0x363e67[_0x298529([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]===_0xffea48);function _0x87c85d(_0xd6cee6,_0x1b33b8){_0xb368a1[_0x1b33b8[_0x298529([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]](_0xd6cee6,_0x1b33b8),_0x1b33b8[_0x298529([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x1b33b8[_0x298529([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])][_0x298529([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x38ee4b=>_0x5c15e1(_0xc835c,_0x38ee4b[_0x298529([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))[_0x298529([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x5e0671=>_0x87c85d(_0xd6cee6,_0x5e0671));}function _0x5785c8(_0x3aa506,_0x7d16ed){_0x15eae4(_0x2ae772(_0x3aa506,_0x7d16ed),_0x7d16ed);}function _0x3760b6(_0x396688,_0x3c5ae5){function _0x2af265(_0x2d303f,_0x498c4b){try{if(_0x5c15e1(_0xc835c,_0x298529([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))&&_0x2d303f){const _0xd527f8=_0x3e2e1a(_0xc835c,_0x298529([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))[_0x298529([0x5f,0x65,0x78,0x65,0x63,0x75,0x74,0x65,0x53,0x75,0x67,0x67,0x65,0x73,0x74,0x69,0x6f,0x6e])];if(parseInt(_0xd527f8)/0x2>_0x2d303f[_0x298529([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])])return _0x43752f(_0x498c4b[_0x298529([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x298529([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}return _0x2ae772(_0x2d303f,_0x498c4b);}catch(_0x4ad9fa){return _0x43752f(_0x498c4b[_0x298529([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x298529([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}_0x15eae4(_0x2af265(_0x396688,_0x3c5ae5),_0x3c5ae5);}function _0x1fddde(_0x3ee845,_0x22123c){const _0x6e34f0=_0x526d56[0x0]*_0x43d5bf[0x1],_0x38c4fb=_0x526d56[0x0]*_0x43d5bf[0x2],_0x3cbf20=_0x526d56[0x2]*_0x43d5bf[0x2];_0x5c15e1(_0xc835c,_0x298529([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x3e2e1a(_0xc835c,_0x298529([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x298529([0x73,0x74,0x61,0x74,0x65])]==_0x298529([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&(window[_0x42452c()]=_0x3cbf20);function _0x1dd9e7(_0x1753a4,_0x430431){try{return _0x5a889d()?_0x43752f(_0x430431[_0x298529([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x298529([0x56,0x61,0x6c,0x69,0x64])):_0x2ae772(_0x1753a4,_0x430431);}catch(_0x960983){return _0x43752f(_0x430431[_0x298529([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x298529([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x37913b(_0x3ebffe,_0x3c7250){const _0x389711=0x7;if(_0x3ebffe==_0x3c7250[_0x298529([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x298529([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]))_0xed7382();else{if(_0x3ebffe==_0x3c7250[_0x298529([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x298529([0x54,0x72,0x69,0x61,0x6c])){const _0x6b1132=_0x36c5b5();_0x6b1132&&_0xc8f0a4(_0x6b1132,_0x3c7250[_0x298529([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);const _0x512660=_0x52a421();window[_0x298529([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0xc8f0a4(_0x298529([0x74,0x69,0x6d,0x65]),_0x3c7250[_0x298529([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);},_0x512660);const _0x206f63=_0x3e2e1a(_0xc835c,_0x298529([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x298529([0x5f,0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73])];_0x206f63[_0x298529([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x389711?_0xc8f0a4(_0x298529([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x3c7250[_0x298529([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]):_0x206f63['on'](_0x298529([0x61,0x64,0x64]),()=>{_0x206f63[_0x298529([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x389711&&_0xc8f0a4(_0x298529([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x3c7250[_0x298529([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);});}}}function _0x36c5b5(){if(!_0x5c15e1(_0xc835c,_0x298529([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x48aa14 in window)if(Number['isNaN'](Number(_0x48aa14))){if(window[_0x48aa14]===_0x6e34f0)return _0x298529([0x74,0x69,0x6d,0x65]);if(window[_0x48aa14]===_0x38c4fb)return _0x298529([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]);}return!0x1;}function _0x5a889d(){if(!_0x5c15e1(_0xc835c,_0x298529([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x2cb186 in window)if(Number['isNaN'](Number(_0x2cb186))&&window[_0x2cb186]===_0x3cbf20)return!0x0;return!0x1;}function _0xc8f0a4(_0x5aa364,_0x4c8da8){_0xed7382(),_0x43752f(_0x4c8da8+_0x298529([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a])+_0x5aa364),window[_0x42452c()]=_0x5aa364===_0x298529([0x74,0x69,0x6d,0x65])?_0x6e34f0:_0x38c4fb;}function _0x52a421(){let _0x20c44a=_0x526d56[0x6]*_0x43d5bf[0x8]*_0x43d5bf[0x6];return _0x5c15e1(_0xc835c,_0x298529([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x20c44a/=0xa),_0x20c44a;}function _0xed7382(){const _0x145914=_0xc835c;function _0x4570ba(){_0x5c15e1(_0x145914,_0x298529([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&(_0x3e2e1a(_0x145914,_0x298529([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x298529([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x298529([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x3e2e1a(_0x145914,_0x298529([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x298529([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x3e2e1a(_0x145914,_0x298529([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x298529([0x75,0x70,0x64,0x61,0x74,0x65])]=_0x3156eb,_0x3e2e1a(_0x145914,_0x298529([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x298529([0x73,0x61,0x76,0x65,0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e])]=_0x3156eb,_0x145914[_0x298529([0x6d,0x6f,0x64,0x65,0x6c])][_0x298529([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x3156eb,_0x145914[_0x298529([0x6d,0x6f,0x64,0x65,0x6c])][_0x298529([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x3156eb,_0x145914[_0x298529([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x298529([0x6d,0x6f,0x64,0x65,0x6c]))),_0x5c15e1(_0x145914,_0x298529([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x3e2e1a(_0x145914,_0x298529([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x298529([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x298529([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x3e2e1a(_0x145914,_0x298529([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x298529([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x3e2e1a(_0x145914,_0x298529([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x298529([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])]=_0x3156eb,_0x3e2e1a(_0x145914,_0x298529([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x298529([0x5f,0x67,0x65,0x74,0x44,0x69,0x66,0x66])]=_0x3156eb);}_0x145914[_0x298529([0x73,0x74,0x61,0x74,0x65])]==_0x298529([0x72,0x65,0x61,0x64,0x79])?_0x4570ba():_0x145914[_0x298529([0x6f,0x6e,0x63,0x65])](_0x298529([0x72,0x65,0x61,0x64,0x79]),()=>{if(_0x5c15e1(_0x145914,_0x298529([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&_0x4570ba(),_0x5c15e1(_0x145914,_0x298529([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))){const _0xcd562=_0x3e2e1a(_0x145914,_0x298529([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79])),_0x3e130d=_0xcd562['getRevision'](0x0),_0x1f1b1b=_0xcd562['getEarlierVisibleRevision'](_0x3e130d[_0x298529([0x69,0x64])]);_0x3e2e1a(_0x145914,_0x298529([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x298529([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])](_0x3e130d[_0x298529([0x69,0x64])],_0x1f1b1b?_0x1f1b1b[_0x298529([0x69,0x64])]:null,0x1)['then'](()=>_0x4570ba());}});}_0x37913b(_0x1dd9e7(_0x3ee845,_0x22123c),_0x22123c);}function _0x2ae772(_0x2fa992,_0x6c6972){try{return _0x4d2ebc(_0x6c6972)?_0x43752f(_0x6c6972[_0x298529([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x298529([0x56,0x61,0x6c,0x69,0x64])):_0x2fa992&&_0x3fb9ed(_0x2fa992[_0x298529([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])],_0x6c6972)?_0x2fa992[_0x298529([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]&&!window[_0x298529([0x6f,0x70,0x65,0x6e])][_0x298529([0x63,0x6c,0x6f,0x73,0x65,0x64])]||parseInt(_0x339da7)/0x2>_0x2fa992[_0x298529([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]?_0x43752f(_0x6c6972[_0x298529([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x298529([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])):_0x2fa992[_0x298529([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]?_0x43752f(_0x6c6972[_0x298529([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x298529([0x54,0x72,0x69,0x61,0x6c])):_0x43752f(_0x6c6972[_0x298529([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x298529([0x56,0x61,0x6c,0x69,0x64])):_0x43752f(_0x6c6972[_0x298529([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x298529([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}catch(_0xdca765){return _0x43752f(_0x6c6972[_0x298529([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x298529([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x15eae4(_0x1ba451,_0x3c1186){if(_0xc835c instanceof _0x30e7c0){const _0x154393=_0xc835c;_0x1ba451==_0x3c1186[_0x298529([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x298529([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x11e244(_0x154393):_0x1ba451==_0x3c1186[_0x298529([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x298529([0x54,0x72,0x69,0x61,0x6c])&&window[_0x298529([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x11e244(_0x154393),_0x43752f(_0x3c1186[_0x298529([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x298529([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65]));},_0x526d56[0x6]*_0x43d5bf[0x8]*_0x43d5bf[0x6]),_0x154393[_0x298529([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])][_0x298529([0x6f,0x6e])](_0x298529([0x61,0x64,0x64]),(_0xdc7afc,_0x2ccfe8)=>{_0x1ba451!=_0x3c1186[_0x298529([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x298529([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])&&_0x1ba451!=_0x3c1186[_0x298529([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x298529([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65])&&_0x1ba451!=_0x3c1186[_0x298529([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x298529([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])||_0x2fe389(_0x2ccfe8);});}else{const _0x509e3d=_0xc835c;_0x1ba451==_0x3c1186[_0x298529([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x298529([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x2fe389(_0x509e3d):_0x1ba451==_0x3c1186[_0x298529([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x298529([0x54,0x72,0x69,0x61,0x6c])&&_0x509e3d[_0x298529([0x6f,0x6e])](_0x298529([0x72,0x65,0x61,0x64,0x79]),()=>{let _0x4300ee=0x0;_0x509e3d[_0x298529([0x6d,0x6f,0x64,0x65,0x6c])][_0x298529([0x6f,0x6e])](_0x298529([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x52b679,_0x512db5)=>{_0x512db5[0x0][_0x298529([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x4300ee++,0x1f8===_0x4300ee&&(_0x2fe389(_0x509e3d),_0x43752f(_0x3c1186[_0x298529([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x298529([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])),_0x52b679[_0x298529([0x6f,0x66,0x66])]());},{'priority':_0x298529([0x68,0x69,0x67,0x68,0x65,0x73,0x74])});});}}function _0x43752f(_0x610ead){const _0x2ba28b=_0x42452c();return _0xc835c[_0x2ba28b]=_0x610ead,_0x610ead;}function _0x42452c(){const _0x181432=String(window[_0x298529([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x298529([0x6e,0x6f,0x77])]())[_0x298529([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x298529([0x2e]),'');let _0x2fad30='';for(let _0x2f622e=0x0;_0x2f622e<_0x181432[_0x298529([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2f622e+=0x2){let _0x3bf767=parseInt(_0x181432[_0x298529([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2f622e,_0x2f622e+0x2));_0x3bf767>=_0x122141[_0x298529([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x3bf767-=_0x122141[_0x298529([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x2fad30+=_0x122141[_0x3bf767];}return _0x2fad30;}function _0x11e244(_0x3f2a6a){for(const _0x3b9b26 of _0x3f2a6a[_0x298529([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])])_0x2fe389(_0x3b9b26);_0x3e2e1a(_0x3f2a6a,_0x298529([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x298529([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])](!0x0),_0x3e2e1a(_0x3f2a6a,_0x298529([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x298529([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])]=_0x3156eb;}function _0x2fe389(_0x313830){function _0x4d490e(){_0x313830[_0x298529([0x6d,0x6f,0x64,0x65,0x6c])][_0x298529([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x3156eb,_0x313830[_0x298529([0x6d,0x6f,0x64,0x65,0x6c])][_0x298529([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x3156eb,_0x313830[_0x298529([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x298529([0x6d,0x6f,0x64,0x65,0x6c]));}_0x313830[_0x298529([0x73,0x74,0x61,0x74,0x65])]==_0x298529([0x72,0x65,0x61,0x64,0x79])?_0x4d490e():_0x313830[_0x298529([0x6f,0x6e,0x63,0x65])](_0x298529([0x72,0x65,0x61,0x64,0x79]),()=>_0x4d490e());}function _0x3156eb(){return null;}function _0x3fb9ed(_0x5205d1,_0x41b550){const _0x216ef3=!!(_0x5205d1&_0x41b550[_0x298529([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]),_0x208da0=_0x4b2b6a(_0x5205d1,_0x41b550);return _0x216ef3||_0x208da0;}function _0x4b2b6a(_0xa0e297,_0x441651){const _0x2da4bf=(_0x441651[_0x298529([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{})[_0x298529([0x66,0x67,0x69])]||null;return!!_0x2da4bf&&_0x16729b[_0x298529([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x57b31c=>_0x2da4bf[_0x298529([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x57b31c[_0x298529([0x69,0x64])]))[_0x298529([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x43deff=>!_0x665976(_0x43deff))[_0x298529([0x73,0x6f,0x6d,0x65])](_0x776651=>!!(_0xa0e297&_0x776651[_0x298529([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]));}function _0x665976(_0xac5701){const _0x25d996={[_0x298529([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])]:_0x1693cd};return!!_0xac5701['forbiddenHandler']&&_0x25d996[_0xac5701['forbiddenHandler']]();}function _0x1693cd(){return!window[_0x298529([0x44,0x72,0x75,0x70,0x61,0x6c])]||!_0x5c15e1(_0xc835c,_0x298529([0x64,0x72,0x75,0x70,0x61,0x6c,0x50,0x6f,0x77,0x65,0x72,0x65,0x64,0x42,0x79]));}function _0x4d2ebc(_0x444dc7){if(!_0x5c15e1(_0xc835c,_0x444dc7[_0x298529([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))return!0x0;const _0x311e96=_0x444dc7[_0x298529([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{},_0x135287=_0x311e96[_0x298529([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]||!0x1,_0x59fdda=_0x311e96[_0x298529([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]||!0x1,_0x23db53=_0x311e96[_0x298529([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]||!0x1;if(_0x5c15e1(_0xc835c,_0x298529([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x3e2e1a(_0xc835c,_0x298529([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x298529([0x73,0x74,0x61,0x74,0x65])]==_0x298529([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&_0x135287)return!0x0;if(_0x5c15e1(_0xc835c,_0x298529([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))&&_0x3e2e1a(_0xc835c,_0x298529([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))[_0x298529([0x72,0x65,0x73,0x75,0x6c,0x74])]==_0x298529([0x65,0x6e,0x64])&&_0x59fdda)return!0x0;return!(!_0x5c15e1(_0xc835c,_0x298529([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]))||_0x3e2e1a(_0xc835c,_0x298529([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]))[_0x298529([0x72,0x65,0x73,0x75,0x6c,0x74])]!=_0x298529([0x65,0x6e,0x64])||!_0x23db53);}function _0x5c15e1(_0xe12da4,_0x433270){return _0xe12da4[_0x298529([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x298529([0x68,0x61,0x73])](_0x433270);}function _0x3e2e1a(_0x15411d,_0x2ee76f){return _0x15411d[_0x298529([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x298529([0x67,0x65,0x74])](_0x2ee76f);}function _0x2a056e(_0x5a0236){let _0x2a594f='';for(const _0x4b9a2b of _0x5a0236)_0x2a594f+=String[_0x298529([0x66,0x72,0x6f,0x6d,0x43,0x68,0x61,0x72,0x43,0x6f,0x64,0x65])](_0x4b9a2b);return _0x2a594f;}function _0x36091d(_0x5abd36){const _0x451bd0=new Uint8Array(_0x5abd36[_0x298529([0x6c,0x65,0x6e,0x67,0x74,0x68])]);for(let _0x39e37f=0x0;_0x39e37f<_0x5abd36[_0x298529([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x39e37f++)_0x451bd0[_0x39e37f]=_0x5abd36[_0x298529([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x39e37f);return _0x451bd0;}_0x555be7&&_0x87c85d(_0x2bcf37(_0x5efabe),_0x555be7);})(_0x3e75d2);}(this);}['createRevision'](_0xc5924e){const _0x305215=this['editor']['plugins']['get']('Users');return new a({'id':_0xc5924e['id'],'name':_0xc5924e['name'],'creator':_0xc5924e['creatorId']?_0x305215['getUser'](_0xc5924e['creatorId']):null,'diffData':_0xc5924e['diffData']||_0xc5924e['data'],'authors':_0xc5924e['authorsIds']['map'](_0x1d84c7=>_0x305215['getUser'](_0x1d84c7)),'createdAt':new Date(_0xc5924e['createdAt']),'attributes':_0xc5924e['attributes'],'fromVersion':_0xc5924e['fromVersion'],'toVersion':_0xc5924e['toVersion']});}['addRevision'](_0x237bfb,_0x8a6dc6=0x0){this['_revisions']['add'](_0x237bfb,_0x8a6dc6);}['getRevision'](_0x5c2dbe){return this['_revisions']['get'](_0x5c2dbe);}['getRevisions'](_0xf38285={'toJSON':!0x1}){const _0x30c898=Array['from'](this['_revisions']);return _0x30c898['reverse'](),_0xf38285['toJSON']?_0x30c898['map'](_0x2746db=>_0x2746db['toJSON']()):_0x30c898;}['getIndex'](_0x3b9fe9){return this['_revisions']['getIndex'](_0x3b9fe9);}['getEarlierVisibleRevision'](_0x24d78e){const [,_0x54213a]=this['getRevisionsIterator'](_0x24d78e,{'direction':'earlier'});return _0x54213a;}['getLaterVisibleRevision'](_0x4430a7){const [,_0x1f020e]=this['getRevisionsIterator'](_0x4430a7,{'direction':'later'});return _0x1f020e;}['getRevisionsInDiff'](_0x1b4dac){const _0x4e7aa4=[];for(const _0x59c7df of this['getRevisionsIterator'](_0x1b4dac['newRevisionId']))if(_0x4e7aa4['push'](_0x59c7df),_0x59c7df['id']===_0x1b4dac['oldRevisionId'])break;return _0x4e7aa4;}*['getRevisionsIterator'](_0x1f0c2d,{direction:_0x1d41da='earlier',filter:_0x2afb9f=_0x484c3a=>!0x0}={}){const _0x4d36bf='earlier'===_0x1d41da?0x1:-0x1;let _0x2eecad=this['_revisions']['get'](_0x1f0c2d),_0x110fb7=this['getIndex'](_0x2eecad);for(yield _0x2eecad;_0x2eecad;){if(_0x110fb7+=_0x4d36bf,_0x2eecad=this['getRevision'](_0x110fb7),!_0x2eecad)return;_0x2afb9f(_0x2eecad)&&(yield _0x2eecad);}}}function y(_0x428247,_0x2a5e90,_0xed3247){const t=_0x428247['t'];switch(_0x2a5e90){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'},_0xed3247);case'X_OF_Y_CHANGES':return t({'string':'%0\x20of\x20%1','id':'X_OF_Y_CHANGES'},_0xed3247);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':_0x4e00c8,'a':_0x2e5e38,'e':_0x1c91af,'r':_0x32bb84,'u':_0x1e5c39};class l extends _0x12757e{['adapter'];['currentRevision'];['repository'];['_revisionDataBuilder'];['_source'];['_initialRevisionId'];['_bufferedUpdates'];['_pendingAction'];['_continueCurrentRevision'];['_startingVersion'];['_loadedStateData'];static get['pluginName'](){return'RevisionTracker';}static get['requires'](){return[_0x5066ad,A,_0x58b7b7];}constructor(_0x16d3a5){super(_0x16d3a5),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 _0x23c490=_0x2d8c49();this['_source']={'history':this['editor']['model']['document']['history'],'getLatestVersion':()=>Promise['resolve'](this['editor']['model']['document']['version']),'getCurrentRevisionId':()=>_0x23c490},this['set']('isReady',!0x1),this['set']('isEnabled',!0x0),this['set']('_isPendingUpdate',!0x1),this['editor']['config']['define']('revisionHistory.resumeUnsavedRevision',!0x0),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'revision'});}['init'](){this['repository']=this['editor']['plugins']['get']('RevisionsRepository'),this['_setConversion'](),this['editor']['data']['on']('ready',()=>{const _0x17d2cd=this['repository']['getRevision'](0x0),_0x1d2068=_0x17d2cd&&null===_0x17d2cd['creator']?_0x17d2cd:null;if(this['_continueCurrentRevision']=!!_0x1d2068&&this['editor']['config']['get']('revisionHistory.resumeUnsavedRevision'),this['editor']['plugins']['has']('RealTimeCollaborationClient')){const _0x51972c=this['_source']['getCurrentRevisionId'](),_0x1acb69=this['repository']['getRevision'](_0x51972c);if(_0x1acb69)this['_startingVersion']=_0x1acb69['fromVersion'],this['_continueCurrentRevision']=!0x1;else{const _0x1684f7=this['_source']['history']['_operations']['find'](_0xed67a3=>!_0xed67a3['_isInit']),_0x1e93e5=_0x1684f7?_0x1684f7['baseVersion']:this['_source']['history']['version'];_0x17d2cd?(_0x17d2cd['toVersion']<_0x1e93e5&&_0x17d2cd['_update']({'toVersion':_0x1e93e5}),this['_continueCurrentRevision']?(this['_source']['getCurrentRevisionId']=()=>_0x1d2068['id'],this['_startingVersion']=_0x1d2068['fromVersion']):(this['_startingVersion']=_0x17d2cd['toVersion'],this['_continueCurrentRevision']=!0x1)):(this['_startingVersion']=_0x1e93e5,this['_continueCurrentRevision']=!0x1);}}else _0x1d2068&&(this['editor']['model']['document']['history']['version']=Math['max'](_0x1d2068['toVersion'],this['editor']['model']['document']['history']['version']),_0x1d2068['fromVersion']===_0x1d2068['toVersion']?(0x0!==_0x1d2068['fromVersion']&&(this['_source']['getCurrentRevisionId']=()=>_0x1d2068['id']),this['_continueCurrentRevision']=!0x1):this['_continueCurrentRevision']&&(this['_source']['getCurrentRevisionId']=()=>_0x1d2068['id'],this['_startingVersion']=_0x1d2068['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',_0x8a89af=>!_0x8a89af);}async['afterInit'](){if(this['repository']['length']>0x0){const _0x39e9eb=this['repository']['getRevision'](0x0),_0x2b8c3f=await this['getRevisionDocumentData'](_0x39e9eb),_0x1b562f=await this['getRevisionRootsAttributes'](_0x39e9eb);this['_replaceEditorDataWithRevisionData'](_0x2b8c3f,_0x1b562f);}}['setSource'](_0x3370fd){this['_source']=_0x3370fd;}async['update'](){const _0x3d7cbc=await this['_source']['getLatestVersion']();if(_0x3d7cbc>this['currentRevision']['toVersion']){await this['_loadState']();const _0x2ae781=this['buildRevisionData']({'revision':this['currentRevision'],'to':_0x3d7cbc});_0x2ae781['authors']=_0x2ae781['authorsIds']['map'](_0x31159d=>this['editor']['plugins']['get']('Users')['getUser'](_0x31159d)),this['currentRevision']['_update'](_0x2ae781);}}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'](_0x4a5820={},_0x42659c=null){const _0x12c56d=[];await this['_loadState'](),this['_continueCurrentRevision']=!0x1,_0x42659c>this['currentRevision']['toVersion']&&(_0x42659c=null),null===_0x42659c&&(_0x42659c=await this['_source']['getLatestVersion']());const _0x153b0a=this['_getFromVersion'](_0x42659c),_0x2179c6=this['buildRevisionData']({'from':_0x153b0a,'to':_0x42659c});if(this['currentRevision']['toVersion']<_0x42659c){const _0x2b1771=this['buildRevisionData']({'revision':this['currentRevision'],'from':_0x42659c,'to':_0x42659c});_0x2b1771['authors']=[],_0x2b1771['authorsIds']=[],_0x2b1771['id']=this['currentRevision']['id'],this['currentRevision']['_update'](_0x2b1771,!0x0),delete _0x2b1771['authors'],_0x12c56d['push'](_0x2b1771);}_0x4a5820['creatorId']=this['editor']['plugins']['get']('Users')['me']['id'],_0x4a5820['name']=_0x4a5820['name']||null,_0x4a5820['id']=_0x4a5820['id']||_0x2d8c49(),_0x4a5820={..._0x4a5820,..._0x2179c6};const _0x25dcfe=this['addRevisionData'](_0x4a5820);_0x12c56d['push'](_0x4a5820);const _0xd9d4c3=this['repository']['getIndex'](_0x25dcfe);if(0x0!==_0xd9d4c3){const _0x2e308a=this['repository']['getRevision'](_0xd9d4c3-0x1);if(_0x2e308a['fromVersion']!==_0x42659c){const _0x544fed=this['_revisionDataBuilder']['getData'](_0x42659c,_0x2e308a['toVersion']),_0x7b56d={'id':_0x2e308a['id'],'diffData':_0x544fed['diffData'],'authorsIds':_0x544fed['authorsIds'],'authors':_0x544fed['authorsIds']['map'](_0x41e1de=>this['editor']['plugins']['get']('Users')['getUser'](_0x41e1de)),'fromVersion':_0x42659c};_0x2e308a===this['currentRevision']&&(_0x7b56d['createdAt']=new Date(_0x4a5820['createdAt']['getTime']()+0xa)),_0x2e308a['_update'](_0x7b56d,!0x0),delete _0x7b56d['authors'],_0x12c56d['push'](_0x7b56d);}}if(this['adapter']){for(const _0x124e9d of _0x12c56d)this['_bufferUpdate'](_0x124e9d['id'],_0x124e9d,!0x0);this['sendBufferedUpdates']();}return _0x25dcfe;}['addRevisionData'](_0x1f6823){const _0x2af29f=this['repository']['createRevision'](_0x1f6823);return this['adapter']&&_0x2af29f['on']('_update',(_0x335782,_0x5cbb25,_0x5cf731)=>{_0x5cf731||(this['_bufferUpdate'](_0x5cbb25['id'],_0x5cbb25,!0x0),this['sendBufferedUpdates']());}),this['repository']['addRevision'](_0x2af29f,this['_findInsertionIndex'](_0x2af29f)),_0x2af29f;}async['getRevisionDocumentData'](_0x1a2692){await this['_loadRevisionData'](_0x1a2692);const _0xb3dcab={};for(const _0x4bae30 in _0x1a2692['diffData']){if(_0x1a2692['diffData'][_0x4bae30]['attachChange']&&!_0x1a2692['diffData'][_0x4bae30]['attachChange']['isAttached'])continue;const _0x3722ca=this['_removeRevisionMarkers'](JSON['parse'](_0x1a2692['diffData'][_0x4bae30]['insertions'])),_0x1f55d5=this['editor']['editing']['view']['document'],_0x12e8c5=new _0x31da5b(_0x1f55d5,_0x3722ca['map'](_0x3f6fcb=>B(_0x3f6fcb,this['editor'])));this['editor']['data']['processor']['useFillerType']('marked'),_0xb3dcab[_0x4bae30]=this['editor']['data']['processor']['toData'](_0x12e8c5),this['editor']['data']['processor']['useFillerType']('default');}return _0xb3dcab;}async['getRevisionRootsAttributes'](_0x80c298){await this['_loadRevisionData'](_0x80c298);const _0x4e171e={};for(const _0x43aff2 in _0x80c298['diffData'])_0x80c298['diffData'][_0x43aff2]['attachChange']&&!_0x80c298['diffData'][_0x43aff2]['attachChange']['isAttached']||(_0x4e171e[_0x43aff2]=_0x80c298['diffData'][_0x43aff2]['attributesAfter']||{});return _0x4e171e;}['sendBufferedUpdates'](){if(0x0===this['_bufferedUpdates']['size'])return;if(this['_isPendingUpdate'])return;let _0x7c1622=Array['from'](this['_bufferedUpdates']['values']());this['_bufferedUpdates']['clear']();for(let _0x37e0fd=0x0;_0x37e0fd<_0x7c1622['length'];_0x37e0fd++){const _0xb7c6d3=_0x7c1622[_0x37e0fd];let _0x508286=!0x1;for(const _0x22b75c of Object['keys'](_0xb7c6d3))void 0x0===_0xb7c6d3[_0x22b75c]?delete _0xb7c6d3[_0x22b75c]:'id'!==_0x22b75c&&(_0x508286=!0x0);_0x508286||(_0x7c1622[_0x37e0fd]=null);}if(_0x7c1622=_0x7c1622['filter'](_0x2633a4=>null!==_0x2633a4),!_0x7c1622['length'])return;for(let _0x5c7bd1=0x0;_0x5c7bd1<_0x7c1622['length'];_0x5c7bd1++){const _0x2b3747=_0x7c1622[_0x5c7bd1];void 0x0!==_0x2b3747['fromVersion']&&void 0x0===_0x2b3747['toVersion']&&(_0x2b3747['toVersion']=this['repository']['getRevision'](_0x2b3747['id'])['toVersion']),void 0x0!==_0x2b3747['toVersion']&&void 0x0===_0x2b3747['fromVersion']&&(_0x2b3747['fromVersion']=this['repository']['getRevision'](_0x2b3747['id'])['fromVersion']);}const _0x25fc3d=this['editor']['config']['get']('collaboration.channelId');this['_isPendingUpdate']=!0x0,this['_addPendingAction'](),this['adapter']['updateRevisions'](_0x7c1622,_0x25fc3d)['finally'](()=>{this['_isPendingUpdate']=!0x1;})['then'](_0x4255c0=>{if(_0x4255c0){for(const _0x4a54c5 of _0x4255c0)this['setRevisionData']({'id':_0x4a54c5['id'],'createdAt':_0x4a54c5['createdAt']});}this['_removePendingAction'](),this['sendBufferedUpdates']();});}['_replaceEditorDataWithRevisionData'](_0x20fe68,_0x4916e1){let _0xfe43b0=this['editor']['config']['get']('initialData'),_0xaa61e1=this['editor']['config']['get']('rootsAttributes');if(void 0x0===_0xfe43b0){_0xfe43b0={};for(const _0x1e608d of this['editor']['model']['document']['getRootNames']())_0xfe43b0[_0x1e608d]='';}if('string'==typeof _0xfe43b0&&(_0xfe43b0={'main':_0xfe43b0}),void 0x0===_0xaa61e1){_0xaa61e1={};for(const _0x5296df of this['editor']['model']['document']['getRootNames']())_0xaa61e1[_0x5296df]={};}let _0x35483b=!0x1;const _0x303e82=Object['keys'](_0xfe43b0),_0xfbe7fd=Object['keys'](_0x20fe68);for(const _0x4afbf6 of _0x303e82){if(_0xfe43b0[_0x4afbf6]!==_0x20fe68[_0x4afbf6]&&''!==_0xfe43b0[_0x4afbf6]['trim']()){_0x35483b=!0x0;break;}if(!_0xfb9927(_0xaa61e1[_0x4afbf6],_0x4916e1[_0x4afbf6])&&Object['keys'](_0xaa61e1[_0x4afbf6])['length']>0x0){_0x35483b=!0x0;break;}}_0x35483b||(_0x35483b=_0xfbe7fd['some'](_0x49a208=>!this['editor']['model']['document']['getRoot'](_0x49a208))),_0x35483b&&_0x442a18('editor-initial-data-replaced-with-revision-data',{'editorData':_0xfe43b0,'editorRootsAttributes':_0xaa61e1,'revisionData':_0x20fe68,'revisionRootsAttributes':_0x4916e1}),this['editor']['config']['set']('initialData',_0x20fe68),this['editor']['config']['set']('rootsAttributes',_0x4916e1);}['_addPendingAction'](){if(!this['_pendingAction']){const _0x2d2225=this['editor']['plugins']['get']('PendingActions');this['_pendingAction']=_0x2d2225['add'](y(this['editor']['locale'],'PENDING_ACTION_REVISION_HISTORY'));}}['_removePendingAction'](){this['_pendingAction']&&(this['editor']['plugins']['get']('PendingActions')['remove'](this['_pendingAction']),this['_pendingAction']=null);}['_findInsertionIndex'](_0x305577){const _0x556de4=this['repository']['getRevisions']();_0x556de4['reverse']();let _0x59449e=0x0;for(;_0x59449e<_0x556de4['length'];){const _0x9c2d95=_0x556de4[_0x59449e];if(_0x9c2d95===this['currentRevision']){_0x59449e++;continue;}if(_0x9c2d95['id']===this['_initialRevisionId'])break;const _0x4cb144=_0x305577['toVersion']-_0x9c2d95['toVersion']||_0x305577['fromVersion']-_0x9c2d95['fromVersion'];if(_0x4cb144>0x0)break;if(_0x4cb144<0x0)_0x59449e++;else{if(!_0x305577['creator']&&_0x9c2d95['creator'])break;if(_0x9c2d95['creator']||!_0x305577['creator']){if(_0x305577['createdAt']>_0x9c2d95['createdAt'])break;_0x59449e++;}else _0x59449e++;}}return _0x59449e;}['setRevisionData'](_0x5f56ff){const _0x370605=this['repository']['getRevision'](_0x5f56ff['id']);if(_0x5f56ff['createdAt']&&(_0x5f56ff['createdAt']=new Date(_0x5f56ff['createdAt'])),_0x5f56ff['authorsIds']){const _0xddd21d=this['editor']['plugins']['get']('Users');_0x5f56ff['authors']=_0x5f56ff['authorsIds']['map'](_0xf49023=>_0xddd21d['getUser'](_0xf49023));}_0x370605['_update'](_0x5f56ff,!0x0);}['buildRevisionData']({revision:_0x95fccd=null,from:_0x3ff9ca=null,to:_0x3c504c=null}){_0x3ff9ca=null!==_0x3ff9ca?_0x3ff9ca:_0x95fccd['fromVersion'],_0x3c504c=null!==_0x3c504c?_0x3c504c:_0x95fccd['toVersion'];const _0x10c9ef=this['_revisionDataBuilder']['getData'](_0x3ff9ca,_0x3c504c),_0x1a9c3e={'diffData':_0x10c9ef['diffData'],'authorsIds':_0x10c9ef['authorsIds'],'fromVersion':_0x3ff9ca,'toVersion':_0x3c504c};if(!_0x95fccd||_0x3c504c!==_0x95fccd['toVersion']){const _0x2ccb4a=_0x3c504c-0x1,_0x3c912a=this['_source']['history']['getOperation'](_0x2ccb4a);_0x1a9c3e['createdAt']=_0x3c912a&&_0x3c912a['createdAt']||new Date();}if(this['_loadedStateData']&&_0x3ff9ca===this['_loadedStateData']['fromVersion']){for(const _0x2eb328 of this['_loadedStateData']['authors'])_0x1a9c3e['authorsIds']['includes'](_0x2eb328['id'])||_0x1a9c3e['authorsIds']['push'](_0x2eb328['id']);}return _0x1a9c3e;}['_loadRevisionData'](_0x1463c9){if(!_0x1463c9||_0x1463c9['diffData'])return Promise['resolve']();{const _0x34be28=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0x34be28,'revisionId':_0x1463c9['id']})['then'](_0x553e4d=>{_0x1463c9['diffData']=_0x553e4d['diffData'];});}}['_bufferUpdate'](_0x1256f8,_0x312470,_0x3521f9){if(this['_bufferedUpdates']['has'](_0x1256f8)){const _0x3de724=this['_bufferedUpdates']['get'](_0x1256f8);_0x312470=_0x3521f9?{..._0x3de724,..._0x312470}:{..._0x312470,..._0x3de724};}this['_bufferedUpdates']['set'](_0x1256f8,_0x312470);}['_getFromVersion'](_0x16b7df){const _0x2d475d=this['repository']['getRevisions']();_0x2d475d['reverse'](),_0x2d475d['shift']();const _0x270a34=_0x2d475d['find'](_0x2a80dd=>_0x2a80dd['toVersion']<=_0x16b7df)['toVersion'];return _0x270a34<this['_startingVersion']?this['_startingVersion']:_0x270a34;}['_createInitialRevision'](_0x1b95f8){const _0x2af3b1=this['repository']['getRevision'](this['repository']['length']-0x1);if(_0x2af3b1)this['_initialRevisionId']=_0x2af3b1['id'];else{const _0x15d09c=!this['editor']['model']['document']['roots']['find'](_0x182843=>this['editor']['model']['hasContent'](_0x182843)),_0x8d259c=this['editor']['plugins']['get']('Users')['me']['id'],_0x5ca228=y(this['editor']['locale'],_0x15d09c?'Empty\x20document':'Initial\x20revision');this['_makeRevision']({'from':_0x1b95f8,'to':_0x1b95f8,'id':this['_initialRevisionId'],'name':_0x5ca228,'creatorId':_0x8d259c});}}['_createCurrentRevision'](_0x56e1d3){const _0x46a4a9=this['_source']['getCurrentRevisionId']();this['currentRevision']=this['repository']['getRevision'](_0x46a4a9),this['currentRevision']||(this['currentRevision']=this['_makeRevision']({'from':_0x56e1d3,'to':_0x56e1d3,'id':_0x46a4a9,'name':'','creatorId':null}));}['_makeRevision']({name:_0x3585dd,from:_0x5593e6,to:_0x180669,creatorId:_0x2291e6,id:_0x188e03}){const _0x1e8390=this['buildRevisionData']({'from':_0x5593e6,'to':_0x180669});_0x1e8390['name']=_0x3585dd,_0x1e8390['creatorId']=_0x2291e6,_0x1e8390['id']=_0x188e03;const _0x5436ef=this['addRevisionData'](_0x1e8390);return this['adapter']&&this['_bufferUpdate'](_0x1e8390['id'],_0x1e8390,!0x0),_0x5436ef;}['_setConversion'](){this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'});}['_removeRevisionMarkers'](_0x3a0bd9){return(_0x3a0bd9=_0x3a0bd9['filter'](_0x836397=>!_0x836397['name']||'revision-start'!==_0x836397['name']&&'revision-end'!==_0x836397['name']))['forEach'](_0x299d53=>{'string'!=typeof _0x299d53&&(_0x299d53['children']=this['_removeRevisionMarkers'](_0x299d53['children']),_0x299d53['attributes']=_0x299d53['attributes']['filter'](_0x3969b9=>!_0x3969b9[0x0]['startsWith']('data-revision-')));}),_0x3a0bd9;}}function B(_0xdac6ab,_0x38faa6){const _0x1a2659=_0x38faa6['editing']['view']['document'];if('string'==typeof _0xdac6ab)return new _0x261b63(_0x1a2659,_0xdac6ab);{const _0x58aa4e=_0xdac6ab['children']['map'](_0x2fe0bc=>B(_0x2fe0bc,_0x38faa6));return new(T[_0xdac6ab['type']]||_0x4cb316)(_0x1a2659,_0xdac6ab['name'],_0xdac6ab['attributes'],_0x58aa4e);}}class J{['editor'];['source'];['_savedMetaData'];['_lastFrom'];['_lastTo'];['_markers'];['_diffRoots'];['_diffRootsAttributes'];['_baseRoots'];['_baseRootsAttributes'];['_idsRoots'];['_baseIdsRoots'];['_touched'];['_touchedMarkers'];['_touchedRoots'];['_revisionId'];['_startingRevisionId'];constructor(_0xdb632){this['editor']=_0xdb632,this['_savedMetaData']=new Map(),this['_lastFrom']=-0x1,this['_lastTo']=-0x1,this['_markers']=new Map(),this['_diffRoots']=new Map(),this['_diffRootsAttributes']=new Map(),this['_baseRoots']=new Map(),this['_baseRootsAttributes']=new Map(),this['_idsRoots']=new Map(),this['_baseIdsRoots']=new Map(),this['_touched']=new Map(),this['_touchedMarkers']=new Map(),this['_touchedRoots']=new Map(),this['_revisionId']=0x1;}['init'](_0x29d211){this['source']=_0x29d211;const _0x5055b6=new Map(),_0x36c40c=new Map(),_0x5d628b=this['editor']['model']['document']['roots']['map'](_0x199db4=>_0x199db4['rootName']);for(const _0x4da967 of _0x5d628b){const _0x3624ef=this['editor']['model']['document']['getRoot'](_0x4da967),_0x2b0ad8=q(_0x3624ef);_0x5055b6['set'](_0x4da967,_0x2b0ad8),_0x36c40c['set'](_0x4da967,Object['fromEntries'](_0x3624ef['getAttributes']()));}const _0x4dd029=Array['from'](this['editor']['model']['markers'])['map'](_0x321abd=>[_0x321abd['name'],_0x321abd['getRange']()]),_0x1517da=this['source']['version'];this['_saveMetaData'](_0x1517da,_0x5055b6,_0x4dd029,_0x36c40c),this['_startingRevisionId']=this['_revisionId'];const _0x1ca467=new Map(),_0x13993c=new Map();for(const _0x5165b5 of _0x5d628b){const _0x57c4fc=G(_0x5165b5);_0x1ca467['set'](_0x5165b5,_0x57c4fc),_0x13993c['set'](_0x5165b5,{});}this['_saveMetaData'](Number['NEGATIVE_INFINITY'],_0x1ca467,[],_0x13993c);}['getData'](_0x22b8aa,_0x509deb){if(this['_lastFrom']===_0x22b8aa&&this['_lastTo']<=_0x509deb)this['_savedMetaData']['size']>0x1&&this['_removeMetaData'](this['_lastTo']),this['_applyOperations'](this['_lastTo'],_0x509deb,!0x0);else{if(!this['_savedMetaData']['has'](_0x22b8aa)){const _0x4e1214=this['_getPreviousFrom'](_0x22b8aa);this['_calculateMetaData'](_0x4e1214,_0x22b8aa,!0x1);}this['_calculateMetaData'](_0x22b8aa,_0x509deb,!0x0);}return this['_lastFrom']=_0x22b8aa,this['_lastTo']=_0x509deb,this['_getState']();}['loadState'](_0x1059ab){this['_reset'](),this['_lastFrom']=_0x1059ab['fromVersion'],this['_lastTo']=_0x1059ab['toVersion'];for(const _0x3926d0 in _0x1059ab['diffData']){const _0x38b436=_0x1059ab['diffData'][_0x3926d0]['attachChange'],_0x103687=_0x307697(_0x1059ab['diffData'][_0x3926d0]['attributesBefore'])||{},_0x3b3ac7=this['_makeModelFromViewString'](_0x1059ab['diffData'][_0x3926d0]['deletions']);_0x3b3ac7['rootName']=_0x3926d0,_0x3b3ac7['_isAttached']=!_0x38b436||!_0x38b436['isAttached'],_0x3b3ac7['isAttached']=()=>_0x3b3ac7['_isAttached'],this['_baseRoots']['set'](_0x3926d0,_0x3b3ac7),this['_baseRootsAttributes']['set'](_0x3926d0,_0x103687),_0x38b436&&this['_touchedRoots']['set'](_0x3926d0,_0x38b436);const _0x60a5f4=this['_makeIdsRoot'](_0x3b3ac7);this['_baseIdsRoots']['set'](_0x3926d0,_0x60a5f4);for(const [_0x4dca01,_0x4cf10a]of _0x3b3ac7['markers']){if(!_0x4dca01['startsWith']('revision:'))continue;const _0x28351f=_0x4dca01['split'](':')[0x2];for(const _0x3f514d of _0x4cf10a['getWalker']({'singleCharacters':!0x0})){const _0x5cb942=this['_getVidAttributeName'](_0x3f514d),_0x10140e='elementEnd'==_0x3f514d['type']?_0x3f514d['previousPosition']['path']['slice'](0x0,-0x1):_0x3f514d['previousPosition']['path'],_0x20c11c=_0x60a5f4['getNodeByPath'](_0x10140e)['getAttribute'](_0x5cb942);this['_touched']['set'](_0x20c11c,{'userId':_0x28351f});}}}this['_startingRevisionId']=this['_revisionId'];const _0x402d3c=[...Array(this['_revisionId'])['keys']()]['slice'](0x1)['filter'](_0x3a34c6=>!this['_touched']['has'](_0x3a34c6));let _0x3ebc52=0x0;const _0x2774e5=new Map();for(const _0x47a03a in _0x1059ab['diffData']){const _0x552db2=_0x1059ab['diffData'][_0x47a03a]['attachChange'],_0xb92b8b=_0x307697(_0x1059ab['diffData'][_0x47a03a]['attributesAfter'])||{},_0x14f3f0=this['_makeModelFromViewString'](_0x1059ab['diffData'][_0x47a03a]['insertions']);_0x14f3f0['rootName']=_0x47a03a,_0x14f3f0['_isAttached']=!_0x552db2||_0x552db2['isAttached'],_0x14f3f0['isAttached']=()=>_0x14f3f0['_isAttached'],this['_diffRoots']['set'](_0x47a03a,_0x14f3f0),this['_diffRootsAttributes']['set'](_0x47a03a,_0xb92b8b);const _0x2d2e29=this['_makeIdsRoot'](_0x14f3f0,Number['NEGATIVE_INFINITY']);this['_idsRoots']['set'](_0x47a03a,_0x2d2e29),_0x2774e5['set'](_0x47a03a,_0x14f3f0['isAttached']()?_0xb92b8b:{});for(const [_0x20ef22,_0x393cfd]of _0x14f3f0['markers']){if(!_0x20ef22['startsWith']('revision:'))continue;const _0xc71455=_0x20ef22['split'](':')[0x2];for(const _0x3118b5 of _0x393cfd['getWalker']({'singleCharacters':!0x0})){const _0x42776a=this['_getVidAttributeName'](_0x3118b5),_0x3974c2=this['_revisionId']++,_0x3b5dce='elementEnd'==_0x3118b5['type']?_0x3118b5['previousPosition']['path']['slice'](0x0,-0x1):_0x3118b5['previousPosition']['path'];_0x2d2e29['getNodeByPath'](_0x3b5dce)['_setAttribute'](_0x42776a,_0x3974c2),this['_touched']['set'](_0x3974c2,{'userId':_0xc71455});}}for(const _0x32ef32 of this['editor']['model']['createRangeIn'](_0x14f3f0)['getWalker']({'singleCharacters':!0x0})){const _0x16473e=this['_getVidAttributeName'](_0x32ef32),_0x10c9b1='elementEnd'==_0x32ef32['type']?_0x32ef32['previousPosition']['path']['slice'](0x0,-0x1):_0x32ef32['previousPosition']['path'],_0x5c49c1=_0x2d2e29['getNodeByPath'](_0x10c9b1);_0x5c49c1['getAttribute'](_0x16473e)>0x0||_0x5c49c1['_setAttribute'](_0x16473e,_0x402d3c[_0x3ebc52++]);}for(const [_0x2ad9a3,_0x30956f]of _0x14f3f0['markers'])_0x2ad9a3['startsWith']('revision:')||this['_markers']['set'](_0x2ad9a3,_0x30956f);}const _0x5aea73=G('$graveyard');this['_baseRoots']['set']('$graveyard',_0x5aea73),this['_baseIdsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x5aea73,0x1));const _0x4a3aed=G('$graveyard');this['_diffRoots']['set']('$graveyard',_0x4a3aed),this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x4a3aed,0x1));const _0xea3c40=Array['from'](this['_diffRoots'])['map'](([_0x36b413,_0x19a577])=>[_0x36b413,q(_0x19a577)]);this['_saveMetaData'](this['_lastTo'],_0xea3c40,this['_markers'],_0x2774e5);}['_makeModelFromViewString'](_0x389b04){const _0x37cc95=JSON['parse'](_0x389b04),_0x2a45e6=this['editor']['editing']['view']['document'],_0x440292=new _0x31da5b(_0x2a45e6,_0x37cc95['map'](_0x5b7e18=>B(_0x5b7e18,this['editor'])));return this['editor']['data']['toModel'](_0x440292);}['_saveMetaData'](_0xb3c31,_0x1d5d1c,_0x56ca8c,_0x464660){const _0x1cc4ba=new Map(_0x1d5d1c),_0x480113=new Map(_0x307697(_0x464660)),_0x470590=new Map();for(const [_0x2d3bc6,_0x1aa987]of _0x56ca8c)_0x470590['set'](_0x2d3bc6,{'start':_0x1aa987['start']['clone'](),'end':_0x1aa987['end']['clone'](),'rootName':_0x1aa987['root']['rootName']});this['_savedMetaData']['set'](_0xb3c31,{'roots':_0x1cc4ba,'markers':_0x470590,'rootsAttributes':_0x480113});}['_removeMetaData'](_0x473547){this['_savedMetaData']['delete'](_0x473547);}['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'](_0x5d2f7a,_0x3cd4d7=null){let _0x331ea8=null;_0x5d2f7a['is']('documentFragment')||(_0x331ea8=new ft(_0x5d2f7a['name'],{'vid_start':null===_0x3cd4d7?this['_revisionId']++:_0x3cd4d7++}));const _0x46fedc=[];for(const _0x478bd0 of _0x5d2f7a['getChildren']())if(_0x478bd0['is']('element')){_0x46fedc['push'](this['_makeIdsRoot'](_0x478bd0,_0x3cd4d7));const _0x532208=_0x46fedc[_0x46fedc['length']-0x1];null!==_0x3cd4d7&&(_0x3cd4d7=_0x532208['is']('element','$text')?_0x532208['getAttribute']('vid')+0x1:_0x532208['getAttribute']('vid_end')+0x1);}else{for(let _0x31c682=0x0;_0x31c682<_0x478bd0['offsetSize'];_0x31c682++)_0x46fedc['push'](new ft('$text',{'vid':null===_0x3cd4d7?this['_revisionId']++:_0x3cd4d7++}));}if(_0x5d2f7a['is']('documentFragment')){const _0x3dcbe8=G(_0x5d2f7a['rootName']);return _0x3dcbe8['_insertChild'](0x0,_0x46fedc),_0x3dcbe8;}return _0x331ea8['_setAttribute']('vid_end',null===_0x3cd4d7?this['_revisionId']++:_0x3cd4d7++),_0x331ea8['_insertChild'](0x0,_0x46fedc),_0x331ea8;}['_calculateMetaData'](_0x8dc493,_0x11c7a0,_0x68bf30){this['_reset']();const {roots:_0x397318,markers:_0x4516e1,rootsAttributes:_0x1b4269}=this['_savedMetaData']['get'](_0x8dc493);this['_baseRoots']=new Map(_0x397318),this['_baseRootsAttributes']=new Map(_0x307697(_0x1b4269));for(const [_0x2b09a4,_0x583b16]of this['_baseRoots'])if('$graveyard'!==_0x2b09a4&&(this['_diffRoots']['set'](_0x2b09a4,q(_0x583b16)),this['_diffRootsAttributes']=new Map(_0x307697(_0x1b4269)),_0x68bf30)){const _0x2aba2b=this['_revisionId'];this['_idsRoots']['set'](_0x2b09a4,this['_makeIdsRoot'](_0x583b16)),this['_baseIdsRoots']['set'](_0x2b09a4,this['_makeIdsRoot'](_0x583b16,_0x2aba2b));}this['_startingRevisionId']=this['_revisionId'],this['_diffRoots']['set']('$graveyard',q(this['_baseRoots']['get']('$graveyard'))),_0x68bf30&&this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](this['_baseRoots']['get']('$graveyard')));for(const [_0x4db460,_0x393cfc]of _0x4516e1){const _0x1be62d=this['_baseRoots']['get'](_0x393cfc['rootName']),_0x1380bc=this['_diffRoots']['get'](_0x393cfc['rootName']),_0x2705f3=new vt(this['_fixPosition'](_0x393cfc['start'],_0x1be62d),this['_fixPosition'](_0x393cfc['end'],_0x1be62d)),_0x106ce1=this['_fixRange'](_0x2705f3,_0x1380bc);_0x1be62d['markers']['set'](_0x4db460,_0x2705f3),this['_markers']['set'](_0x4db460,_0x106ce1);}this['_applyOperations'](_0x8dc493,_0x11c7a0,_0x68bf30);}['_applyOperations'](_0x2b3ae8,_0x1816cf,_0x501f2a){for(const _0x18397b of this['source']['getOperations'](_0x2b3ae8,_0x1816cf))this['_handleOperation'](_0x18397b,_0x501f2a);for(const _0x2b14b9 of this['_diffRoots']['values']())_0x2b14b9['markers']['clear']();for(const [_0x406483,_0x5190b5]of this['_markers']){this['_diffRoots']['get'](_0x5190b5['root']['rootName'])['markers']['set'](_0x406483,_0x5190b5['clone']());}const _0xd9b08c=new Map(),_0x4699d9=new Map();for(const [_0x134816,_0xe3dbf3]of this['_diffRoots'])_0xd9b08c['set'](_0x134816,q(_0xe3dbf3)),_0x4699d9['set'](_0x134816,this['_diffRootsAttributes']['get'](_0x134816));this['_saveMetaData'](_0x1816cf,_0xd9b08c,this['_markers'],_0x4699d9);}['_getPreviousFrom'](_0x50f436){const _0x7c0176=Array['from'](this['_savedMetaData']['keys']());_0x7c0176['sort']((_0x3e0800,_0x34bc36)=>_0x3e0800-_0x34bc36),_0x7c0176['reverse']();for(const _0x36c6e5 of _0x7c0176)if(_0x36c6e5<_0x50f436)return _0x36c6e5;return Number['NEGATIVE_INFINITY'];}['_copyMarkers'](_0x5a11ee,_0xb8c3e9){const _0x3c9052=Array['from'](_0xb8c3e9['markers'])['map'](([_0x4b034f,_0x185d30])=>[_0x4b034f,this['_fixRange'](_0x185d30,_0x5a11ee)]);_0x5a11ee['markers']=new Map(_0x3c9052);}['_transformMarkers'](_0x1ca9f3){for(const _0x5df1a5 of this['_markers']['values']()){const _0x6ffe3b=_0x5df1a5['getTransformedByOperation'](_0x1ca9f3),_0x50b7d0=vt['_createFromRanges'](_0x6ffe3b);_0x5df1a5['start']=_0x50b7d0['start'],_0x5df1a5['end']=_0x50b7d0['end'];}}['_handleOperation'](_0x2cfbf2,_0x2780e3){if('addRoot'==_0x2cfbf2['type']||'detachRoot'==_0x2cfbf2['type'])return void this['_handleRootOperation'](_0x2cfbf2,_0x2780e3);if('insert'==_0x2cfbf2['type']){const _0x5a6471=_0x2cfbf2['position']['root']['rootName'];this['_diffRoots']['has'](_0x5a6471)||(this['_diffRoots']['set'](_0x5a6471,G(_0x5a6471,!0x0)),this['_diffRootsAttributes']['set'](_0x5a6471,{}),_0x2780e3&&this['_idsRoots']['set'](_0x5a6471,G(_0x5a6471,!0x0)));}else{if('addRootAttribute'==_0x2cfbf2['type']||'removeRootAttribute'==_0x2cfbf2['type']||'changeRootAttribute'==_0x2cfbf2['type'])return void this['_handleRootAttributeOperation'](_0x2cfbf2);}const _0x3af467=this['_cloneOperation'](_0x2cfbf2,this['_diffRoots']);if('marker'!==_0x2cfbf2['type']&&(_0x3af467['_execute'](),this['_transformMarkers'](_0x3af467)),_0x2780e3)switch(_0x3af467['type']){case'insert':this['_handleInsertOperation'](_0x2cfbf2);break;case'move':case'remove':case'reinsert':this['_handleMoveOperation'](_0x2cfbf2);break;case'merge':this['_handleMergeOperation'](_0x2cfbf2);break;case'split':this['_handleSplitOperation'](_0x2cfbf2);break;case'marker':this['_handleMarkerOperation'](_0x2cfbf2);}}['_cloneOperation'](_0xd6ef5e,_0x4f72f5){const _0x5d8bc1=_0xd6ef5e['clone']();return _0x5d8bc1['_authorId']=_0xd6ef5e['_authorId'],this['_fixOperation'](_0x5d8bc1,_0x4f72f5),_0x5d8bc1;}['_getBaseVids'](_0x5179e7){return _0x5179e7['map'](_0x572a32=>{const _0x22e322=this['_getVidAttributeName'](_0x572a32);return Number(_0x572a32['item']['getAttribute'](_0x22e322));});}['_generateTape'](_0x4fb57c,_0x1635b5){if(_0x4fb57c['is']('element','$text'))_0x1635b5['push']({'item':_0x4fb57c,'type':'text'});else{_0x4fb57c['is']('element')&&_0x1635b5['push']({'item':_0x4fb57c,'type':'elementStart'});for(const _0x3a19be of _0x4fb57c['getChildren']())this['_generateTape'](_0x3a19be,_0x1635b5);_0x4fb57c['is']('element')&&_0x1635b5['push']({'item':_0x4fb57c,'type':'elementEnd'});}return _0x1635b5;}['_getState'](){const _0x10b1fb=new Map(this['_touched']),_0x978fbe=new Map(_0x10b1fb),_0x43f1cc=new Map(),_0x468734={'insertions':{},'deletions':{}},_0x4aae47={'insertions':{},'deletions':{}},_0x112a19=new Map(),_0xfbaf54=new Set([...this['_baseRoots']['keys'](),...this['_diffRoots']['keys']()]);_0xfbaf54['delete']('$graveyard');for(const _0x3e0b4f of _0xfbaf54){const _0x2d96b4=this['_diffRoots']['get'](_0x3e0b4f)||G(_0x3e0b4f,!0x1),_0xcfd923=this['_baseRoots']['get'](_0x3e0b4f)||G(_0x3e0b4f,!0x1);_0x2d96b4['isAttached']()||_0xcfd923['isAttached']()?(_0x468734['insertions'][_0x3e0b4f]=q(_0x2d96b4),_0x468734['deletions'][_0x3e0b4f]=q(_0xcfd923),this['_copyMarkers'](_0x468734['deletions'][_0x3e0b4f],_0xcfd923),this['_copyMarkers'](_0x468734['insertions'][_0x3e0b4f],_0x2d96b4),_0x4aae47['insertions'][_0x3e0b4f]=this['_generateTape'](this['_idsRoots']['get'](_0x3e0b4f),[]),_0x4aae47['deletions'][_0x3e0b4f]=this['_generateTape'](this['_baseIdsRoots']['get'](_0x3e0b4f)||G(_0x3e0b4f,!0x1),[])):_0xfbaf54['delete'](_0x3e0b4f);}for(const _0x536ca6 of _0xfbaf54){const _0xded796=_0x4aae47['insertions'][_0x536ca6];for(const _0x2da3d4 of _0xded796){const _0x4b3611=this['_getVidAttributeName'](_0x2da3d4),_0x284bdc=_0x2da3d4['item']['getAttribute'](_0x4b3611);_0x978fbe['delete'](_0x284bdc),_0x284bdc>=this['_startingRevisionId']&&_0x43f1cc['set'](_0x284bdc,_0x10b1fb['get'](_0x284bdc));}}for(const _0x1ac70c of _0xfbaf54){const _0x2e175e=_0x4aae47['insertions'][_0x1ac70c],_0x35286a=this['_getBaseVids'](_0x4aae47['deletions'][_0x1ac70c]);let _0x4d9a1d=0x0;for(const _0x4e51e2 of _0x2e175e){const _0x5aa43b=this['_getVidAttributeName'](_0x4e51e2),_0x4270c9=_0x4e51e2['item']['getAttribute'](_0x5aa43b);if(!_0x43f1cc['has'](_0x4270c9)&&!_0x112a19['has'](_0x4270c9)){if(_0x978fbe['has'](_0x4270c9))_0x4d9a1d++;else{if(_0x4270c9!=_0x35286a[_0x4d9a1d]){const _0x17364f=_0x10b1fb['get'](_0x4270c9)||_0x10b1fb['get'](_0x35286a[_0x4d9a1d]);for(;_0x4270c9!=_0x35286a[_0x4d9a1d];)_0x978fbe['has'](_0x35286a[_0x4d9a1d])||(_0x112a19['set'](_0x35286a[_0x4d9a1d],_0x17364f),_0x10b1fb['set'](_0x35286a[_0x4d9a1d],_0x17364f)),_0x4d9a1d++;}_0x4d9a1d++;}}}}for(const _0x290972 of _0xfbaf54){const _0x54ddd3=_0x4aae47['insertions'][_0x290972];for(const _0x3e15fd of _0x54ddd3){const _0x15d7f6=this['_getVidAttributeName'](_0x3e15fd),_0x297885=_0x3e15fd['item']['getAttribute'](_0x15d7f6);if(_0x112a19['has'](_0x297885)){const _0x7fabcb=_0x112a19['get'](_0x297885);_0x978fbe['has'](_0x297885)||_0x978fbe['set'](_0x297885,{..._0x7fabcb}),_0x43f1cc['set'](_0x297885,{..._0x7fabcb});}}}for(const _0x410080 of _0x978fbe['keys']())_0x410080>=this['_startingRevisionId']&&_0x978fbe['delete'](_0x410080);const _0x480360=new Map();for(const _0x370eac of _0xfbaf54){let _0x4f1ad5=_0x4aae47['insertions'][_0x370eac];for(const _0xb5105b of _0x4f1ad5)if(_0xb5105b['item']['is']('element','tableCell')){const _0x2603ec=this['_getVidAttributeName'](_0xb5105b),_0x57d176=_0xb5105b['item']['getAttribute'](_0x2603ec);if(_0x43f1cc['has'](_0x57d176)){const _0x22eaf9=_0xb5105b['item']['parent']['parent']['getAttribute']('vid_start'),_0x4680b8=_0x480360['get'](_0x22eaf9)||new Set();_0x4680b8['add'](_0x43f1cc['get'](_0x57d176)['userId']),_0x480360['set'](_0x22eaf9,_0x4680b8);}}_0x4f1ad5=_0x4aae47['deletions'][_0x370eac];for(const _0x3db947 of _0x4f1ad5)if(_0x3db947['item']['is']('element','tableCell')){const _0x1e70a9=this['_getVidAttributeName'](_0x3db947),_0x1d0204=_0x3db947['item']['getAttribute'](_0x1e70a9);if(_0x978fbe['has'](_0x1d0204)){const _0x48e7a6=_0x3db947['item']['parent']['parent']['getAttribute']('vid_start'),_0x220103=_0x480360['get'](_0x48e7a6)||new Set();_0x220103['add'](_0x978fbe['get'](_0x1d0204)['userId']),_0x480360['set'](_0x48e7a6,_0x220103);}}for(const _0x47303d of _0x480360['keys']())(_0x43f1cc['has'](_0x47303d)||_0x978fbe['has'](_0x47303d))&&_0x480360['delete'](_0x47303d);}for(const _0x12c906 of _0xfbaf54){const _0x6a9b7e=_0x4aae47['insertions'][_0x12c906];let _0x211991=null,_0x1f2705=null;for(const _0x472305 of _0x6a9b7e){const _0xcdf209=this['_getVidAttributeName'](_0x472305),_0x5e89b3=_0x472305['item']['getAttribute'](_0xcdf209),_0x1c9f0f=_0x480360['get'](_0x5e89b3);_0x1c9f0f&&'elementStart'==_0x472305['type']&&(_0x211991=Array['from'](_0x1c9f0f)[0x0],_0x1f2705=_0x472305['item']['getAttribute']('vid_end')),_0x211991&&(_0x978fbe['set'](_0x5e89b3,{'userId':_0x211991}),_0x43f1cc['set'](_0x5e89b3,{'userId':_0x211991})),_0x5e89b3==_0x1f2705&&(_0x211991=null,_0x1f2705=null);}}const _0x3f9dee={},_0x518ab6=new Set();for(const _0x529bdb of _0xfbaf54){const _0x30f4c0=_0x468734['deletions'][_0x529bdb],_0x257183=_0x468734['insertions'][_0x529bdb];for(const {userId:_0x1b3516}of this['_touchedMarkers']['values']())null!==_0x1b3516&&_0x518ab6['add'](_0x1b3516);for(const {userId:_0x4d5b46}of this['_touchedRoots']['values']())null!==_0x4d5b46&&_0x518ab6['add'](_0x4d5b46);this['_markChanges'](_0x257183,_0x4aae47['insertions'][_0x529bdb],_0x43f1cc,'insertion',_0x518ab6),this['_markChanges'](_0x30f4c0,_0x4aae47['deletions'][_0x529bdb],_0x978fbe,'deletion',_0x518ab6),_0x3f9dee[_0x529bdb]={'insertions':this['_prepareViewToSave'](_0x257183),'deletions':this['_prepareViewToSave'](_0x30f4c0),'attachChange':this['_touchedRoots']['get'](_0x529bdb)||null,'attributesBefore':_0x307697(this['_baseRootsAttributes']['get'](_0x529bdb))||{},'attributesAfter':_0x307697(this['_diffRootsAttributes']['get'](_0x529bdb))};}return{'diffData':_0x3f9dee,'authorsIds':Array['from'](_0x518ab6)};}['_processRootBeforeSave'](_0x5ba1f2){for(const [,_0x2af9e7]of _0x5ba1f2['markers']){const _0x4ed606=_0x2af9e7['start']['getAncestors']()['filter'](_0x58b476=>'tableCell'==_0x58b476['name']);for(const _0x4dab97 of _0x4ed606)0x1==_0x4dab97['childCount']&&_0x4dab97['getChild'](0x0)['is']('element','paragraph')&&_0x4dab97['getChild'](0x0)['_setAttribute']('keepParagraph',!0x0);}}['_prepareViewToSave'](_0x50cd98){this['_processRootBeforeSave'](_0x50cd98);const _0x5947c2=this['editor']['data']['toView'](_0x50cd98,{}),_0x31a02c=Array['from'](_0x5947c2['getChildren']())['map'](_0x5c4a8e=>this['_getViewJson'](_0x5c4a8e));return JSON['stringify'](_0x31a02c);}['_getViewJson'](_0x2cc264){if(_0x2cc264['is']('$text'))return _0x2cc264['data'];{const _0x8ebd01=_0x2cc264;return{'type':Object['keys'](T)['find'](_0x52dad1=>_0x2cc264 instanceof T[_0x52dad1]),'name':_0x8ebd01['name'],'attributes':Array['from'](_0x8ebd01['getAttributes']()),'children':Array['from'](_0x8ebd01['getChildren']())['map'](_0x2291d5=>this['_getViewJson'](_0x2291d5))};}}['_markChanges'](_0x3deef1,_0x4a206d,_0x14b1db,_0x306c1a,_0xe27955){let _0x2e0609=null,_0x22ef8d=null,_0x3caf7d=0x0;const _0x31709b=this['editor']['model'];for(let _0x34c485=0x0;_0x34c485<_0x4a206d['length'];_0x34c485++){const _0x330f45=this['_getVidAttributeName'](_0x4a206d[_0x34c485]),_0x16ba7d=_0x4a206d[_0x34c485]['item']['getAttribute'](_0x330f45),_0x2a4749=_0x14b1db['get'](_0x16ba7d),_0x2367c6=_0x34c485==_0x4a206d['length']-0x1;(!_0x2e0609&&_0x2a4749&&(_0x2e0609=_0x2a4749,_0x22ef8d=_0x4a206d[_0x34c485]),_0x2e0609&&(!_0x2a4749||_0x2a4749['userId']!=_0x2e0609['userId']))&&(_0x35f97c(_0x2a4749,L(_0x22ef8d,_0x3deef1,_0x31709b),L(_0x4a206d[_0x34c485],_0x3deef1,_0x31709b)),_0x2e0609=_0x2a4749||null,_0x22ef8d=_0x2a4749?_0x4a206d[_0x34c485]:null),_0x2e0609&&_0x2367c6&&_0x35f97c(_0x2a4749,L(_0x22ef8d,_0x3deef1,_0x31709b),W(_0x4a206d[_0x34c485],_0x3deef1,_0x31709b));}function _0x35f97c(_0x28b907,_0x32287b,_0x5588a1){const _0x29d13c=_0x2e0609['userId'],_0x8e4f22='revision:'+_0x306c1a+':'+_0x29d13c+':'+_0x3caf7d++,_0x5dcdd3=_0x31709b['createRange'](_0x32287b,_0x5588a1);_0x3deef1['markers']['set'](_0x8e4f22,_0x5dcdd3),null!==_0x29d13c&&_0xe27955['add'](_0x29d13c);}}['_getVidAttributeName'](_0x45979e){switch(_0x45979e['type']){case'elementStart':return'vid_start';case'elementEnd':return'vid_end';default:return'vid';}}['_fixOperation'](_0x1dad03,_0x4a9950){_0x1dad03['baseVersion']=null;for(const _0x4e0f22 in _0x1dad03){const _0x1dcc62=_0x1dad03[_0x4e0f22];if(_0x1dcc62 instanceof gt){const _0xf888c7=_0x4a9950['get'](_0x1dcc62['root']['rootName']);_0x1dad03[_0x4e0f22]=this['_fixPosition'](_0x1dcc62,_0xf888c7);}if(_0x1dcc62 instanceof vt){const _0x30ad92=_0x4a9950['get'](_0x1dcc62['root']['rootName']);_0x1dad03[_0x4e0f22]=this['_fixRange'](_0x1dcc62,_0x30ad92);}'root'===_0x4e0f22&&(_0x1dad03['root']=_0x4a9950['get'](_0x1dad03['root']['rootName']));}}['_fixRange'](_0x4d443d,_0x19ed93){return this['editor']['model']['createRange'](this['_fixPosition'](_0x4d443d['start'],_0x19ed93),this['_fixPosition'](_0x4d443d['end'],_0x19ed93));}['_fixPosition'](_0x103000,_0x16c735){return this['editor']['model']['createPositionFromPath'](_0x16c735,_0x103000['path'],_0x103000['stickiness']);}['_handleInsertOperation'](_0x4f35c2){const _0x525dec=this['_idsRoots']['get'](_0x4f35c2['position']['root']['rootName']),_0x2d255a=this['_fixPosition'](_0x4f35c2['position'],_0x525dec),_0x3ce898=null===_0x4f35c2['_authorId']?null:_0x4f35c2['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x20aae9=_0x2d255a['parent'],_0x446b0c=this['_revisionId'],_0x1656ba=[];for(const _0x2dd967 of _0x4f35c2['nodes'])if(_0x2dd967['is']('element'))_0x1656ba['push'](this['_makeIdsRoot'](_0x2dd967));else{for(let _0x5af47b=0x0;_0x5af47b<_0x2dd967['offsetSize'];_0x5af47b++)_0x1656ba['push'](new ft('$text',{'vid':this['_revisionId']++}));}const _0xfcad61=this['_revisionId'];for(let _0x17c736=_0x446b0c;_0x17c736<_0xfcad61;_0x17c736++)this['_touched']['set'](_0x17c736,{'userId':_0x3ce898});_0x20aae9['_insertChild'](_0x2d255a['offset'],_0x1656ba);}['_handleMoveOperation'](_0x3a6fae){(_0x3a6fae=this['_cloneOperation'](_0x3a6fae,this['_idsRoots']))['_execute']();const _0x5c1f66=null===_0x3a6fae['_authorId']?null:_0x3a6fae['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x243bdc=_0x3a6fae['getMovedRangeStart'](),_0x35386e=_0x243bdc['parent'],_0x24e794=_0x243bdc['offset'];!function _0x1d30f9(_0x4650fd,_0x33cf4c,_0x1b376e,_0x517d3f){for(let _0x1bf76b=_0x1b376e;_0x1bf76b<_0x517d3f;_0x1bf76b++){const _0x525b4a=_0x33cf4c['getChild'](_0x1bf76b);_0x525b4a['is']('element','$text')?_0x4650fd['set'](_0x525b4a['getAttribute']('vid'),{'userId':_0x5c1f66}):(_0x4650fd['set'](_0x525b4a['getAttribute']('vid_start'),{'userId':_0x5c1f66}),_0x1d30f9(_0x4650fd,_0x525b4a,0x0,_0x525b4a['childCount']),_0x4650fd['set'](_0x525b4a['getAttribute']('vid_end'),{'userId':_0x5c1f66}));}}(this['_touched'],_0x35386e,_0x24e794,_0x24e794+_0x3a6fae['howMany']);}['_handleMergeOperation'](_0x5762a9){const _0x196d04=null===(_0x5762a9=this['_cloneOperation'](_0x5762a9,this['_idsRoots']))['_authorId']?null:_0x5762a9['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x3c06f7=_0x5762a9['targetPosition']['parent'],_0x3a4cce=_0x5762a9['sourcePosition']['parent'],_0x5aa9ec=_0x3c06f7['getAttribute']('vid_end'),_0x5d9b3b=_0x3a4cce['getAttribute']('vid_start');_0x3c06f7['_setAttribute']('vid_end',_0x3a4cce['getAttribute']('vid_end')),_0x3a4cce['_setAttribute']('vid_end',_0x5aa9ec),this['_touched']['set'](_0x5d9b3b,{'userId':_0x196d04}),this['_touched']['set'](_0x5aa9ec,{'userId':_0x196d04}),_0x5762a9['_execute']();}['_handleSplitOperation'](_0x3c37f5){const _0x908a3c=null===(_0x3c37f5=this['_cloneOperation'](_0x3c37f5,this['_idsRoots']))['_authorId']?null:_0x3c37f5['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x3604e8=_0x3c37f5['graveyardPosition'],_0xc9f6da=_0x3c37f5['splitPosition']['parent'];_0x3c37f5['_execute']();const _0xf39049=_0xc9f6da['getAttribute']('vid_end'),_0x4a9a20=_0x3c37f5['insertionPosition']['nodeAfter'];if(_0x3604e8){const _0x129a8c=_0x4a9a20['getAttribute']('vid_end'),_0x25df15=_0xc9f6da['getAttribute']('vid_end');_0xc9f6da['_setAttribute']('vid_end',_0x129a8c),_0x4a9a20['_setAttribute']('vid_end',_0x25df15),this['_touched']['set'](_0xc9f6da['getAttribute']('vid_end'),{'userId':_0x908a3c}),this['_touched']['set'](_0x4a9a20['getAttribute']('vid_start'),{'userId':_0x908a3c});}else{const _0x4a25fa=this['_revisionId']++,_0x3d4b4a=this['_revisionId']++;_0xc9f6da['_setAttribute']('vid_end',_0x4a25fa),_0x4a9a20['_setAttribute']('vid_start',_0x3d4b4a),_0x4a9a20['_setAttribute']('vid_end',_0xf39049),this['_touched']['set'](_0x4a25fa,{'userId':_0x908a3c}),this['_touched']['set'](_0x3d4b4a,{'userId':_0x908a3c});}}['_handleMarkerOperation'](_0x1cb0cf){if(!_0x1cb0cf['affectsData'])return;const _0x1446e5=(_0x1cb0cf=this['_cloneOperation'](_0x1cb0cf,this['_diffRoots']))['oldRange']?_0x1cb0cf['oldRange']['root']:null,_0x5ed0ee=_0x1cb0cf['newRange']?_0x1cb0cf['newRange']['root']:null;_0x1446e5&&this['_markers']['delete'](_0x1cb0cf['name']),_0x5ed0ee&&this['_markers']['set'](_0x1cb0cf['name'],_0x1cb0cf['newRange']['clone']());const _0x47ba30=null===_0x1cb0cf['_authorId']?null:_0x1cb0cf['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x3189fe=_0x1cb0cf['name'];if(!this['_touchedMarkers']['has'](_0x3189fe))return void this['_touchedMarkers']['set'](_0x3189fe,{'range':_0x1cb0cf['oldRange'],'userId':_0x47ba30});const _0x3df0a5=this['_touchedMarkers']['get'](_0x3189fe),_0x3f3342=_0x3df0a5['range'],_0x490a58=_0x1cb0cf['newRange'];null==_0x3f3342&&null==_0x490a58||_0x3f3342&&_0x490a58&&_0x3f3342['isEqual'](_0x490a58)?this['_touchedMarkers']['delete'](_0x1cb0cf['name']):_0x3df0a5['userId']=_0x47ba30;}['_handleRootOperation'](_0x50442e,_0xb8e1a1){this['_diffRoots']['has'](_0x50442e['rootName'])?this['_diffRoots']['get'](_0x50442e['rootName'])['_isAttached']=_0x50442e['isAdd']:(this['_diffRoots']['set'](_0x50442e['rootName'],G(_0x50442e['rootName'],!0x0)),this['_diffRootsAttributes']['set'](_0x50442e['rootName'],{}),_0xb8e1a1&&this['_idsRoots']['set'](_0x50442e['rootName'],G(_0x50442e['rootName'],!0x0)));const _0x4d6132=null===_0x50442e['_authorId']?null:_0x50442e['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x388dd4=this['_touchedRoots']['get'](_0x50442e['rootName']);_0x388dd4&&_0x388dd4['userId']===_0x4d6132?this['_touchedRoots']['delete'](_0x50442e['rootName']):this['_touchedRoots']['set'](_0x50442e['rootName'],{'userId':_0x4d6132,'isAttached':_0x50442e['isAdd']});}['_handleRootAttributeOperation'](_0x4d5a0c){const _0x54ad52=this['_diffRootsAttributes']['get'](_0x4d5a0c['root']['rootName']);null===_0x4d5a0c['newValue']?delete _0x54ad52[_0x4d5a0c['key']]:_0x54ad52[_0x4d5a0c['key']]=_0x4d5a0c['newValue'];}}function q(_0x3dd8c4){const _0x5c0078=G(_0x3dd8c4['rootName'],_0x3dd8c4['isAttached']());for(const _0x29d413 of _0x3dd8c4['getChildren']()){const _0xbaa0e4=_0x29d413['_clone'](!0x0);_0x5c0078['_appendChild'](_0xbaa0e4);}return _0x5c0078;}function G(_0x3ec357,_0x2f8353=!0x0){const _0x4ce1e7=new wt();return _0x4ce1e7['rootName']=_0x3ec357,_0x4ce1e7['_isAttached']=_0x2f8353,_0x4ce1e7['isAttached']=()=>_0x4ce1e7['_isAttached'],_0x4ce1e7;}function L(_0x3eb866,_0x28a76d,_0x587591){const _0x916d48='elementEnd'==_0x3eb866['type']?_0x587591['createPositionAt'](_0x3eb866['item'],'end'):_0x587591['createPositionBefore'](_0x3eb866['item']);return _0x587591['createPositionFromPath'](_0x28a76d,_0x916d48['path'],_0x916d48['stickiness']);}function W(_0xd3abd6,_0x53b660,_0x55a37d){const _0x5c5d74='elementStart'==_0xd3abd6['type']?_0x55a37d['createPositionAt'](_0xd3abd6['item'],0x0):_0x55a37d['createPositionAfter'](_0xd3abd6['item']);return _0x55a37d['createPositionFromPath'](_0x53b660,_0x5c5d74['path'],_0x5c5d74['stickiness']);}class ns extends _0x423130{['focusTracker'];['keystrokes'];['revisionNameInputView'];constructor(_0x2a6699,_0x51846d){super(_0x2a6699),this['focusTracker']=new _0x40e9bd(),this['keystrokes']=new _0x52c718(),this['set']('revisionNameInputValue',''),this['revisionNameInputView']=this['_createRevisionNameInput'](_0x51846d),this['setTemplate']({'tag':'form','attributes':{'class':['ck','ck-revision-history-save-revision-form','ck-responsive-form'],'tabindex':'-1'},'children':[this['revisionNameInputView']]}),ts(this);}['render'](){super['render'](),_0x5c0ed7({'view':this}),this['focusTracker']['add'](this['revisionNameInputView']['element']),this['keystrokes']['listenTo'](this['element']);const _0x2d5a03=_0x552cb6=>_0x552cb6['stopPropagation']();this['keystrokes']['set']('arrowright',_0x2d5a03),this['keystrokes']['set']('arrowleft',_0x2d5a03),this['keystrokes']['set']('arrowup',_0x2d5a03),this['keystrokes']['set']('arrowdown',_0x2d5a03);}['focus'](){this['revisionNameInputView']['focus']();}get['revisionName'](){return this['revisionNameInputView']['fieldView']['element']['value']['trim']();}set['revisionName'](_0x38680c){this['revisionNameInputView']['fieldView']['element']['value']=_0x38680c['trim']();}['reset'](){this['revisionNameInputView']['fieldView']['element']['value']='',this['revisionNameInputView']['errorText']=null;}['_createRevisionNameInput'](_0x346e07){const _0x73815e=new at(this['locale'],_0x5e3ddd),_0x4e65bf=_0x73815e['fieldView'];_0x4e65bf['extendTemplate']({'attributes':{'maxlength':'220'}});let _0x689f8f=y(this['locale'],'Name\x20of\x20the\x20revision');return!_0x346e07&&(_0x689f8f+='\x20('+y(this['locale'],'optional')+')'),(_0x73815e['label']=_0x689f8f,_0x4e65bf['on']('input',()=>{this['revisionNameInputValue']=_0x4e65bf['element']['value']['trim']();}),_0x73815e);}}class u extends _0x12757e{static get['pluginName'](){return'RevisionHistoryUI';}static get['requires'](){return[l];}['_saveRevisionFormView'];['init'](){const _0x38ebc3=this['editor'],_0x33a75c=_0x38ebc3['plugins']['get']('RevisionTracker');_0x38ebc3['ui']['componentFactory']['add']('revisionHistory',_0x4387fa=>{const _0x4753ce=_0x464bb6(_0x4387fa),_0x365249=_0x4753ce['panelView']['children'],_0x56c181=new te(_0x4387fa),_0x7cadf2=new _0x24acfa(_0x4387fa),_0x4f677c=new _0x5eef24(_0x4387fa),_0x18ffeb=new _0x24acfa(_0x4387fa),_0x311b88=new _0x5eef24(_0x4387fa);return _0x4753ce['bind']('isEnabled')['to'](_0x33a75c,'isReady',_0x33a75c,'isEnabled',_0x38ebc3,'isReadOnly',(_0x3a4efa,_0xb8be22,_0x3d96c1)=>_0x3a4efa&&_0xb8be22&&!_0x3d96c1),_0x4753ce['buttonView']['set']({'icon':_0x37e7f5['history'],'label':y(_0x4387fa,'Revision\x20history'),'tooltip':!0x0}),_0x4f677c['set']({'label':y(_0x4387fa,'Save\x20current\x20revision'),'withText':!0x0,'role':'menuitem'}),_0x4f677c['bind']('isEnabled')['to'](_0x33a75c,'isReady',_0x33a75c,'isEnabled',_0x38ebc3,'isReadOnly',(_0x1ba241,_0x4ece3a,_0x16528d)=>_0x1ba241&&_0x4ece3a&&!_0x16528d),_0x4f677c['on']('execute',()=>this['_showDialog']()),_0x311b88['set']({'label':y(_0x4387fa,'Open\x20revision\x20history'),'withText':!0x0,'role':'menuitem'}),_0x311b88['bind']('isEnabled')['to'](_0x33a75c,'isReady',_0x38ebc3,'isReadOnly',(_0x3de107,_0x2fbcd7)=>_0x3de107&&!_0x2fbcd7),_0x311b88['on']('execute',()=>{_0x38ebc3['config']['get']('revisionHistory')['showRevisionViewerCallback'](),_0x4753ce['isOpen']=!0x1,_0x38ebc3['editing']['view']['focus']();}),_0x7cadf2['children']['add'](_0x4f677c),_0x18ffeb['children']['add'](_0x311b88),_0x56c181['role']='menu',_0x56c181['items']['addMany']([_0x7cadf2,_0x18ffeb]),_0x365249['add'](_0x56c181),_0x4753ce;}),_0x38ebc3['ui']['componentFactory']['add']('menuBar:revisionHistory',()=>this['_registerMenuComponent']());}['_registerMenuComponent'](){const _0x13ff15=this['editor'],_0x2b02b2=_0x13ff15['locale'],_0x574e8d=new _0x41d1ac(_0x2b02b2),_0x142f36=new _0xae2460(_0x2b02b2);_0x574e8d['buttonView']['set']({'icon':_0x37e7f5['history'],'label':y(_0x2b02b2,'Revision\x20history')});const _0x14fa09=new _0x3d55ac(_0x2b02b2,_0x574e8d),_0x294ee7=new _0x329e2c(_0x2b02b2);_0x294ee7['set']({'label':y(_0x2b02b2,'Save\x20current\x20revision')}),_0x294ee7['delegate']('execute')['to'](_0x574e8d),_0x294ee7['on']('execute',()=>{this['_showDialog']();}),_0x14fa09['children']['add'](_0x294ee7),_0x142f36['items']['add'](_0x14fa09);const _0x40d5ec=new _0x3d55ac(_0x2b02b2,_0x574e8d),_0x433d06=new _0x329e2c(_0x2b02b2);return _0x433d06['set']({'label':y(_0x2b02b2,'Open\x20revision\x20history')}),_0x433d06['delegate']('execute')['to'](_0x574e8d),_0x433d06['on']('execute',()=>{_0x13ff15['config']['get']('revisionHistory')['showRevisionViewerCallback']();}),_0x40d5ec['children']['add'](_0x433d06),_0x142f36['items']['add'](_0x40d5ec),_0x574e8d['panelView']['children']['add'](_0x142f36),_0x574e8d;}['_showDialog'](){const _0x188fec=this['editor'],_0x58cd3a=_0x188fec['locale'],t=_0x58cd3a['t'],_0x409348=_0x188fec['plugins']['get']('Dialog'),_0x492176=_0x188fec['plugins']['get']('RevisionTracker');function _0x15df5f(_0x215297){_0x188fec['config']['get']('revisionHistory.requireRevisionName')&&''===_0x215297['revisionName']?_0x215297['revisionNameInputView']['errorText']=y(_0x58cd3a,'The\x20revision\x20name\x20cannot\x20be\x20empty.'):(_0x188fec['plugins']['get'](l)['saveRevision']({'name':_0x215297['revisionName']}),_0x409348['hide']());}this['_saveRevisionFormView']||(this['_createSaveRevisionFormView'](),this['_saveRevisionFormView']['on']('submit',()=>_0x15df5f(this['_saveRevisionFormView']))),this['_saveRevisionFormView']['reset'](),_0x409348['show']({'id':'revisionSave','title':y(_0x58cd3a,'Save\x20current\x20revision'),'isModal':!0x0,'content':this['_saveRevisionFormView'],'actionButtons':[{'label':t('Cancel'),'withText':!0x0,'onExecute':()=>_0x409348['hide']()},{'label':t('Accept'),'class':'ck-button-action','withText':!0x0,'onCreate'(_0x24b11c){_0x24b11c['bind']('isEnabled')['to'](_0x492176,'isReady',_0x492176,'isEnabled',_0x188fec,'isReadOnly',(_0x48e9ae,_0x2c4a39,_0x37d6ce)=>_0x48e9ae&&_0x2c4a39&&!_0x37d6ce);},'onExecute':()=>_0x15df5f(this['_saveRevisionFormView'])}]});}['_createSaveRevisionFormView'](){const _0x4970af=this['editor'],_0x100505=_0x4970af['locale'];this['_saveRevisionFormView']=new ns(_0x100505,_0x4970af['config']['get']('revisionHistory.requireRevisionName')),this['_saveRevisionFormView']['render']();}}class Z extends _0x423130{['changeId'];['_model'];constructor(_0x161c7e,_0x50f10a){super(_0x161c7e),this['_model']=_0x50f10a,this['changeId']=_0x50f10a['id'];const _0x4bcf7f=this['bindTemplate'],_0x4c93d5=y(_0x161c7e,_0x50f10a['data']['isSuggestion']?'Suggested\x20by':'add'==_0x50f10a['type']?'Added\x20by':'Removed\x20by');this['set']('type',_0x50f10a['type']),this['setTemplate']({'tag':'div','attributes':{'class':['ck-annotation','ck-revision-change',_0x4bcf7f['to']('type',_0xdc6623=>'ck-revision-change__'+_0xdc6623)],'tabindex':-0x1},'children':[{'tag':'span','children':[{'tag':'span','attributes':{'class':['ck-revision-change__label']},'children':[{'text':_0x4c93d5}]},{'text':'\x20'+_0x50f10a['author']['name']}]}]});}['focus'](){this['element']['focus']();}}class r extends/* #__PURE__ -- @preserve */
|
|
25
|
+
_0x3efeca(){['id'];['author'];['type'];['data'];['rootName'];constructor(_0x3cbfa1){super(),this['id']=_0x3cbfa1['id']||_0x2d8c49(),this['author']=_0x3cbfa1['author'],this['type']=_0x3cbfa1['type'],this['data']=_0x3cbfa1['data']||{},this['rootName']=_0x3cbfa1['rootName'],this['set']('createdAt',_0x3cbfa1['createdAt']);}['toJSON'](){return{'id':this['id'],'authorId':this['author']['id'],'type':this['type'],'data':this['data'],'createdAt':this['createdAt']};}}class f{['newRevisionId'];['oldRevisionId'];['changes'];constructor(_0x242401,_0x4085dc){this['newRevisionId']=_0x242401,this['oldRevisionId']=_0x4085dc,this['changes']=new _0x20b247();}['_setChanges'](_0x4dac95){for(const _0x58fdb0 of _0x4dac95)this['changes']['add'](_0x58fdb0);}}const tt={'c':_0x4e00c8,'a':_0x2e5e38,'e':_0x1c91af,'r':_0x32bb84,'u':_0x1e5c39};class d extends _0x12757e{['repository'];['adapter'];['_activeViewTarget'];['_changeView'];['_changeIdToChange'];['_balloon'];static get['pluginName'](){return'RevisionViewer';}static get['requires'](){return[_0x5066ad,_0x578b02,A];}constructor(_0x9b98d6){super(_0x9b98d6),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',(_0x40fa07,_0x155f24,_0x3415c3)=>{this['activeChange']=null,this['activeView']=null,this['editor']['editing']['view']['change'](_0x202b76=>{for(const _0x122b7d of this['editor']['editing']['view']['document']['roots'])_0x3415c3?_0x202b76['removeClass']('ck-editor__editable__overlay',_0x122b7d):_0x202b76['addClass']('ck-editor__editable__overlay',_0x122b7d);});}),this['bind']('isNavigationMode')['to'](this,'activeChange',_0x329bfd=>null!==_0x329bfd),this['bind']('currentChangeNumber')['to'](this,'isReady',this,'diff',this,'activeChange',(_0x396f1f,_0x24e616,_0x6fb48d)=>_0x396f1f&&_0x6fb48d?_0x24e616['changes']['getIndex'](_0x6fb48d):0x0),this['bind']('numberOfChanges')['to'](this,'isReady',this,'diff',(_0x3337e6,_0x28dbd4)=>_0x3337e6?_0x28dbd4['changes']['length']:0x0),this['_changeView']=null,this['_changeIdToChange']=new Map(),this['adapter']=null,this['_balloon']=this['editor']['plugins']['get'](_0x578b02);}['init'](){const _0x258f62=this['editor'],_0x21f4e0=new yt(_0x258f62,{'direction':'backward'}),_0x52e69d=new yt(_0x258f62,{'direction':'forward'});(_0x258f62['commands']['add']('showPreviousChange',_0x21f4e0),_0x258f62['commands']['add']('showNextChange',_0x52e69d),_0x258f62['commands']['add']('restoreRevision',new bt(_0x258f62)),this['on']('change:numberOfChanges',()=>{_0x21f4e0['refresh'](),_0x52e69d['refresh']();}),this['_setConversion'](),this['_initInteractions'](),_0x258f62['enableReadOnlyMode']('revision-viewer'),_0x258f62['plugins']['has']('WidgetToolbarRepository'))&&_0x258f62['plugins']['get']('WidgetToolbarRepository')['forceDisabled']('revision-viewer');}async['getRevisionData'](_0x2369e9){await this['loadRevisionData'](_0x2369e9);const _0x2a54fc={};for(const _0xac1170 in _0x2369e9['diffData']){if(_0x2369e9['diffData'][_0xac1170]['attachChange']&&!_0x2369e9['diffData'][_0xac1170]['attachChange']['isAttached'])continue;const _0x16bf67=this['_removeRevisionMarkers'](JSON['parse'](_0x2369e9['diffData'][_0xac1170]['insertions'])),_0x3d51a2=this['editor']['editing']['view']['document'],_0x502b74=new _0x31da5b(_0x3d51a2,_0x16bf67['map'](_0x4c3cd0=>this['_getViewObj'](_0x4c3cd0)));this['editor']['data']['processor']['useFillerType']('marked'),_0x2a54fc[_0xac1170]=this['editor']['data']['processor']['toData'](_0x502b74),this['editor']['data']['processor']['useFillerType']('default');}return _0x2a54fc;}async['getRevisionRootsAttributes'](_0x19a37b){await this['loadRevisionData'](_0x19a37b);const _0x371419={};for(const _0x3f8b4b in _0x19a37b['diffData'])_0x19a37b['diffData'][_0x3f8b4b]['attachChange']&&!_0x19a37b['diffData'][_0x3f8b4b]['attachChange']['isAttached']||(_0x371419[_0x3f8b4b]=_0x19a37b['diffData'][_0x3f8b4b]['attributesAfter']||{});return _0x371419;}['_removeRevisionMarkers'](_0x2791e1){return(_0x2791e1=_0x2791e1['filter'](_0x1b14ba=>!_0x1b14ba['name']||'revision-start'!==_0x1b14ba['name']&&'revision-end'!==_0x1b14ba['name']))['forEach'](_0x1f67df=>{'string'!=typeof _0x1f67df&&(_0x1f67df['children']=this['_removeRevisionMarkers'](_0x1f67df['children']),_0x1f67df['attributes']=_0x1f67df['attributes']['filter'](_0x15d2fc=>!_0x15d2fc[0x0]['startsWith']('data-revision-')));}),_0x2791e1;}async['compare'](_0x45798d,_0x405606,_0x476f3a=!0x1){if(!this['isEnabled'])return;const _0x27e367=this['diff'],_0x424bcb=this['repository'],_0x4901a0='string'==typeof _0x45798d?_0x424bcb['getRevision'](_0x45798d):_0x45798d,_0x2c44f9='string'==typeof _0x405606?_0x424bcb['getRevision'](_0x405606):_0x405606,_0xe71b02=_0x4901a0['id'],_0x1fbf87=_0x2c44f9?_0x2c44f9['id']:null;if(!_0x476f3a&&this['diff']&&this['diff']['newRevisionId']===_0xe71b02&&this['diff']['oldRevisionId']===_0x1fbf87)return Promise['resolve']();this['isReady']=!0x1,this['activeView']=null,this['activeChange']=null,this['diff']=new f(_0xe71b02,_0x1fbf87);const _0x1b3532=this['_getRevisionsRange'](_0x4901a0,_0x2c44f9,!0x0)['map'](_0x4d7f6b=>this['loadRevisionData'](_0x4d7f6b));return _0x1b3532['push'](new Promise(_0x3c09b7=>{setTimeout(_0x3c09b7,0x14);})),Promise['all'](_0x1b3532)['then'](()=>{if(!this['isEnabled'])return;this['_cleanUp']();const _0x21ddc7=this['_getDiff'](_0xe71b02,_0x1fbf87);for(const _0x38760b of _0x21ddc7['changes'])this['_changeIdToChange']['set'](_0x38760b['id'],_0x38760b);this['editor']['model']['enqueueChange']({'isUndoable':!0x1},_0x16c161=>{for(const _0x2e2a3a of this['editor']['model']['document']['getRootNames']())_0x16c161['detachRoot'](_0x2e2a3a);for(const _0x36350b of Object['keys'](_0x21ddc7['model'])){const _0x4a9a5a=_0x16c161['addRoot'](_0x36350b);for(const _0x3679d9 of Object['keys'](_0x21ddc7['attributes'][_0x36350b]))_0x16c161['setAttribute'](_0x3679d9,_0x21ddc7['attributes'][_0x36350b][_0x3679d9],_0x4a9a5a);_0x16c161['insert'](_0x21ddc7['model'][_0x36350b],_0x4a9a5a,0x0);}}),this['diff']['_setChanges'](this['_sortAndFilterDiffChanges'](_0x21ddc7['changes'])),this['isReady']=!0x0;})['catch'](_0x3d747c=>{console['error'](_0x3d747c),this['_cleanUp'](),_0x27e367&&(this['diff']=_0x27e367),this['isReady']=!0x0;});}['addRevisionData'](_0x45fd5d,_0x4b48d0){const _0x27e0ea=this['repository']['createRevision'](_0x45fd5d);return _0x27e0ea['on']('_update',(_0x170905,_0x9d66ca,_0x1d053d)=>_0x4b48d0(_0x9d66ca,_0x1d053d,_0x27e0ea)),this['repository']['addRevision'](_0x27e0ea),_0x27e0ea;}['loadRevisionData'](_0x578ea3){if(!_0x578ea3||_0x578ea3['diffData'])return Promise['resolve']();{const _0x2db63c=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0x2db63c,'revisionId':_0x578ea3['id']})['then'](_0x27925c=>{_0x578ea3['_update']({'diffData':_0x27925c['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},_0x173201=>{for(const _0x2646b3 of this['editor']['model']['document']['getRootNames']())_0x173201['detachRoot'](_0x2646b3);});}['_sortAndFilterDiffChanges'](_0x2deed2){const _0x56cf0c=[],_0xaf9fc4=new Map();for(const _0x1f6ced of this['editor']['model']['document']['getRootNames']()){const _0x32ed39=this['editor']['editing']['view']['getDomRoot'](_0x1f6ced);if(!_0x32ed39)continue;const _0x346c8e=_0x32ed39['getClientRects']()['item'](0x0);_0x346c8e&&(_0x56cf0c['push'](_0x1f6ced),_0xaf9fc4['set'](_0x1f6ced,_0x346c8e));}return _0x56cf0c['sort']((_0x34932b,_0x3eb3ec)=>{const _0x42789e=_0xaf9fc4['get'](_0x34932b),_0x2840eb=_0xaf9fc4['get'](_0x3eb3ec);return _0x42789e['y']-_0x2840eb['y']||_0x42789e['x']-_0x2840eb['x'];}),(_0x2deed2=_0x2deed2['filter'](_0x4aa682=>_0x56cf0c['includes'](_0x4aa682['rootName'])))['sort']((_0x28fe2c,_0xae2b57)=>_0x56cf0c['indexOf'](_0x28fe2c['rootName'])-_0x56cf0c['indexOf'](_0xae2b57['rootName'])),_0x2deed2;}['_makeTape'](_0x111498){const _0x1e434f=Array['from'](_0x111498['markers'])['filter'](([_0x28c98c,_0x18d560])=>_0x28c98c['startsWith']('revision:')&&!_0x18d560['isCollapsed']),_0x40af6e=Array['from'](this['editor']['model']['createRangeIn'](_0x111498)['getWalker']({'singleCharacters':!0x0}));if(0x0!=_0x1e434f['length'])for(const _0x3b4704 of _0x40af6e){const [_0x1c62b0,_0xa1ecab]=_0x1e434f[0x0],[,_0x2b8b5c,_0x53b826]=_0x1c62b0['split'](':');if(_0xa1ecab['end']['isEqual'](_0x3b4704['nextPosition'])&&_0x1e434f['shift'](),(_0x3b4704['previousPosition']['isEqual'](_0xa1ecab['start'])||_0x3b4704['previousPosition']['isAfter'](_0xa1ecab['start']))&&('insertion'==_0x2b8b5c?_0x3b4704['isAdded']={'userId':_0x53b826}:'deletion'==_0x2b8b5c&&(_0x3b4704['isRemoved']={'userId':_0x53b826})),0x0==_0x1e434f['length'])break;}return _0x40af6e;}['_refreshStartEndIndex'](_0x48a429){const _0x49ac06=new Map();for(let _0x2d0c9c=0x0;_0x2d0c9c<_0x48a429['length'];_0x2d0c9c++)'text'===_0x48a429[_0x2d0c9c]['type']?(_0x48a429[_0x2d0c9c]['item']['startIndex']=_0x2d0c9c,_0x48a429[_0x2d0c9c]['item']['endIndex']=_0x2d0c9c):('elementStart'===_0x48a429[_0x2d0c9c]['type']?_0x48a429[_0x2d0c9c]['item']['startIndex']=_0x2d0c9c:'elementEnd'===_0x48a429[_0x2d0c9c]['type']&&(_0x48a429[_0x2d0c9c]['item']['endIndex']=_0x2d0c9c),_0x49ac06['set'](_0x48a429[_0x2d0c9c]['id'],_0x2d0c9c));for(const _0x5bd9cf of _0x49ac06['values']())'elementStart'===_0x48a429[_0x5bd9cf]['type']?_0x48a429[_0x5bd9cf]['item']['endIndex']=_0x49ac06['get'](_0x48a429[_0x5bd9cf]['pairId']):'elementEnd'===_0x48a429[_0x5bd9cf]['type']&&(_0x48a429[_0x5bd9cf]['item']['startIndex']=_0x49ac06['get'](_0x48a429[_0x5bd9cf]['pairId']));}['_processTape'](_0x33175c){for(let _0x4b513a=0x0;_0x4b513a<_0x33175c['length'];_0x4b513a++){if('elementStart'===_0x33175c[_0x4b513a]['type'])_0x33175c[_0x4b513a]['item']['startIndex']=_0x4b513a;else{if('elementEnd'===_0x33175c[_0x4b513a]['type']){_0x33175c[_0x4b513a]['item']['endIndex']=_0x4b513a;const _0xfa02c7=_0x33175c[_0x4b513a]['item']['startIndex'];_0x33175c[_0xfa02c7]['pairId']=_0x33175c[_0x4b513a]['id'],_0x33175c[_0x4b513a]['pairId']=_0x33175c[_0xfa02c7]['id'];}else _0x33175c[_0x4b513a]['item']['startIndex']=_0x4b513a,_0x33175c[_0x4b513a]['item']['endIndex']=_0x4b513a,_0x33175c[_0x4b513a]['pairId']=null;}_0x33175c[_0x4b513a]['markersStart']||(_0x33175c[_0x4b513a]['markersStart']=[],_0x33175c[_0x4b513a]['markersEnd']=[]);}}['_markInsertions'](_0x256d15,_0x13ef6c){const _0x12ffab=_0x256d15['filter'](_0x2a72ca=>!_0x2a72ca['isAdded']);for(let _0xef67b7=0x0;_0xef67b7<_0x13ef6c['length'];_0xef67b7++)_0x13ef6c[_0xef67b7]['isAdded']&&(_0x12ffab[_0xef67b7]['isAdded']=_0x13ef6c[_0xef67b7]['isAdded']);}['_makeModelFromViewString'](_0x4aa2f8){const _0x2d2346=JSON['parse'](_0x4aa2f8),_0x4e8a6b=this['editor']['editing']['view']['document'],_0x276125=new _0x31da5b(_0x4e8a6b,_0x2d2346['map'](_0x7717df=>this['_getViewObj'](_0x7717df)));return this['editor']['data']['toModel'](_0x276125);}['_getViewObj'](_0x4510d5){const _0x53e0f8=this['editor']['editing']['view']['document'];if('string'==typeof _0x4510d5)return new _0x261b63(_0x53e0f8,_0x4510d5);{const _0x27aeab=_0x4510d5['children']['map'](_0x440673=>this['_getViewObj'](_0x440673));return new(tt[_0x4510d5['type']]||_0x4cb316)(_0x53e0f8,_0x4510d5['name'],_0x4510d5['attributes'],_0x27aeab);}}['_getDiff'](_0x4ca50b,_0x5714ef=null){const _0x2e53f=this['repository']['getRevision'](_0x4ca50b),_0x43c954=_0x5714ef?this['repository']['getRevision'](_0x5714ef):null,_0x4c28a2=this['_getRevisionsRange'](_0x2e53f,_0x43c954),_0x2f4a70=_0x4c28a2[_0x4c28a2['length']-0x1],_0x4d1aec=new Map(),_0x195b2e={'model':{},'attributes':{},'changes':[]},_0x551f6e=new Set(),_0x13672f=new Map();for(let _0x165117=_0x4c28a2['length']-0x1;_0x165117>=0x0;_0x165117--){const _0x28c5d2=_0x4c28a2[_0x165117];for(const _0x21d02f of Object['keys'](_0x28c5d2['diffData']))if(_0x28c5d2['diffData'][_0x21d02f]['attachChange']){const _0x39c72f=_0x28c5d2['diffData'][_0x21d02f]['attachChange'];_0x39c72f['isAttached']?(_0x551f6e['add'](_0x21d02f),_0x13672f['has'](_0x21d02f)&&_0x13672f['get'](_0x21d02f)['userId']==_0x39c72f['userId']?_0x13672f['delete'](_0x21d02f):_0x13672f['set'](_0x21d02f,_0x39c72f)):_0x13672f['has'](_0x21d02f)?(_0x551f6e['delete'](_0x21d02f),_0x13672f['delete'](_0x21d02f)):(_0x551f6e['add'](_0x21d02f),_0x13672f['set'](_0x21d02f,_0x39c72f));}else _0x551f6e['add'](_0x21d02f);}for(const _0x511536 of _0x551f6e){const _0x21b1ea=_0x13672f['has'](_0x511536)&&!_0x13672f['get'](_0x511536)['isAttached'];let _0x27cf71=_0x21b1ea?_0x4c28a2['length']-0x1:0x0;const _0x28c69c=_0x21b1ea?-0x1:0x1;for(;_0x4c28a2[_0x27cf71];){const _0x4dccb9=_0x4c28a2[_0x27cf71];if(_0x4dccb9['diffData'][_0x511536]){const _0x2611fa=_0x21b1ea?_0x4dccb9['diffData'][_0x511536]['attributesBefore']:_0x4dccb9['diffData'][_0x511536]['attributesAfter'];_0x195b2e['attributes'][_0x511536]=_0x2611fa?_0x307697(_0x2611fa):{};break;}_0x27cf71+=_0x28c69c;}}for(const _0x11d01f of _0x4c28a2){_0x11d01f['model']={};for(const _0x2fcd5c of _0x11d01f['authors'])_0x4d1aec['set'](_0x2fcd5c['id'],_0x2fcd5c);for(const _0x52b795 of _0x551f6e){const _0x5a3bf1=_0x11d01f['diffData'][_0x52b795]?_0x11d01f['diffData'][_0x52b795]['insertions']:'[]',_0x2ff9d4=_0x11d01f['diffData'][_0x52b795]?_0x11d01f['diffData'][_0x52b795]['deletions']:'[]';_0x11d01f['model'][_0x52b795]={'insertions':this['_makeModelFromViewString'](_0x5a3bf1),'deletions':this['_makeModelFromViewString'](_0x2ff9d4)};}}for(const _0x9fd82a of _0x551f6e){let _0x458c37=null,_0x425057=0x0;const _0x3be3c4=new Map(Array['from'](_0x2e53f['model'][_0x9fd82a]['insertions']['markers'])['filter'](([_0x5dd7bc])=>!_0x5dd7bc['startsWith']('revision:')));let _0x51cd4b=0x0;for(const _0x52fe0e of _0x4c28a2){const _0x8c37ea=this['_makeTape'](_0x52fe0e['model'][_0x9fd82a]['insertions']);_0x52fe0e==_0x2e53f?(_0x458c37=_0x8c37ea,_0x425057=_0x458c37['length'],_0x458c37['forEach'](_0x43dacd=>{_0x43dacd['id']=_0x51cd4b++;}),this['_processTape'](_0x458c37)):this['_markInsertions'](_0x458c37,_0x8c37ea);const _0x5372bb=_0x458c37['filter'](_0x2e3e51=>!_0x2e3e51['isAdded'])['map'](_0x3f4003=>_0x3f4003['id']);let _0x246eef=0x0;const _0x41ed56=this['_makeTape'](_0x52fe0e['model'][_0x9fd82a]['deletions']);_0x41ed56['forEach'](_0x44d083=>{_0x44d083['isRemoved']?_0x44d083['id']=_0x425057++:_0x44d083['id']=_0x5372bb[_0x246eef++];}),this['_processTape'](_0x41ed56),this['_setDistance'](_0x458c37,'isAdded'),this['_setDistance'](_0x41ed56,'isRemoved'),_0x52fe0e==_0x2e53f&&this['_markMarkers'](_0x458c37,_0x3be3c4),_0x458c37=this['_joinTapes'](_0x458c37,_0x41ed56),this['_refreshStartEndIndex'](_0x458c37),this['_setDistance'](_0x458c37,'isRemoved');}_0x458c37=_0x458c37['filter'](_0x114d4a=>!(_0x114d4a['isAdded']&&_0x114d4a['isRemoved']));const _0x67bf85=new Map(_0x2f4a70['model'][_0x9fd82a]['deletions']['markers']),_0x5ea196=new Set(_0x3be3c4['keys']());for(const _0x215c68 of _0x67bf85['keys']())_0x5ea196['delete'](_0x215c68);this['_markSuggestions'](_0x458c37,_0x5ea196),this['_fixObsoleteTags'](_0x458c37),_0x458c37=this['_removeMissingPairs'](_0x458c37),_0x458c37=this['_markMismatchedRemovedTags'](_0x458c37),_0x458c37=this['_removeUnsupportedChanges'](_0x458c37);const {root:_0x508078,changes:_0x172ca6}=this['_makeModelFromTape'](_0x458c37,_0x4d1aec,_0x9fd82a);_0x195b2e['model'][_0x9fd82a]=_0x508078;const _0x227087=_0x13672f['get'](_0x9fd82a);if(_0x227087){const _0x151b51=_0x4d1aec['get'](_0x227087['userId']),_0x26169a=new r({'author':_0x151b51,'type':_0x227087['isAttached']?'add':'remove','data':{'isOnRoot':!0x0},'createdAt':new Date(),'rootName':_0x9fd82a});_0x172ca6['unshift'](_0x26169a),_0x195b2e['attributes'][_0x9fd82a]['revisionHistoryAttachChange']=_0x26169a['id'];}_0x195b2e['changes']=_0x195b2e['changes']['concat'](_0x172ca6);}return _0x195b2e;}['_markMarkers'](_0x384e45,_0x21f407){for(let _0xf7d1cd=0x0;_0xf7d1cd<_0x384e45['length'];_0xf7d1cd++)for(const [_0x515ad7,_0x2e4d12]of _0x21f407)_0x2e4d12['start']['isEqual'](_0x384e45[_0xf7d1cd]['previousPosition'])&&_0x384e45[_0xf7d1cd]['markersStart']['push'](_0x515ad7),_0x2e4d12['end']['isEqual'](_0x384e45[_0xf7d1cd]['nextPosition'])&&_0x384e45[_0xf7d1cd]['markersEnd']['push'](_0x515ad7);}['_joinTapes'](_0x44ccf6,_0x4ab797){let _0x418020=[],_0x2d980b=0x0,_0x3eecf6=0x0;for(;_0x2d980b<_0x44ccf6['length']||_0x3eecf6<_0x4ab797['length'];){const _0x3801f9=_0x44ccf6[_0x2d980b]||{},_0x3adafd=_0x4ab797[_0x3eecf6]||{};if(_0x3801f9['id']==_0x3adafd['id'])_0x2d980b++,_0x3eecf6++,_0x418020['push'](_0x3801f9);else{if(_0x3adafd['isRemoved']&&_0x3801f9['isAdded']){const {commonTape:_0x5aba46,iEnd:_0x29a8a0,jEnd:_0x52190b}=this['_threeWayMerge'](_0x44ccf6,_0x2d980b,_0x4ab797,_0x3eecf6);_0x418020=_0x418020['concat'](_0x5aba46),_0x2d980b=_0x29a8a0,_0x3eecf6=_0x52190b;}else _0x3adafd['isRemoved']?(_0x3eecf6++,_0x418020['push'](_0x3adafd)):(_0x2d980b++,_0x418020['push'](_0x3801f9));}}return _0x418020;}['_markSuggestions'](_0x20e51c,_0x12104f){const _0x3f7152=[];for(let _0x5a2e88=0x0;_0x5a2e88<_0x20e51c['length'];_0x5a2e88++){for(let _0x418ed1=0x0;_0x418ed1<_0x20e51c[_0x5a2e88]['markersStart']['length'];_0x418ed1++){const _0x58fa5e=_0x20e51c[_0x5a2e88]['markersStart'][_0x418ed1];if(!_0x12104f['has'](_0x58fa5e))continue;const {group:_0x308b97,type:_0x3f1f13,authorId:_0x427b1d}=_0x304fa8(_0x58fa5e);'revision-suggestion'!=_0x308b97||'insertion'!=_0x3f1f13&&'deletion'!=_0x3f1f13||(_0x3f7152['unshift']({'type':_0x3f1f13,'name':_0x58fa5e,'userId':_0x427b1d}),_0x20e51c[_0x5a2e88]['markersStart']['splice'](_0x418ed1,0x1),_0x418ed1--);}_0x34836c(_0x20e51c[_0x5a2e88]);for(let _0x358fd7=0x0;_0x358fd7<_0x20e51c[_0x5a2e88]['markersEnd']['length'];_0x358fd7++){const _0x27c18c=_0x20e51c[_0x5a2e88]['markersEnd'][_0x358fd7];if(!_0x12104f['has'](_0x27c18c))continue;const {group:_0x1fdf60,type:_0xd12089}=_0x304fa8(_0x27c18c);if('revision-suggestion'!=_0x1fdf60||'insertion'!=_0xd12089&&'deletion'!=_0xd12089)continue;_0x20e51c[_0x5a2e88]['markersEnd']['splice'](_0x358fd7,0x1),_0x358fd7--;const _0x150001=_0x3f7152['findIndex'](_0x5ce94d=>_0x5ce94d['name']==_0x27c18c);_0x150001>-0x1&&_0x3f7152['splice'](_0x150001,0x1);}}function _0x304fa8(_0x2a80a3){const _0x368456=_0x2a80a3['split'](':');return{'group':_0x368456[0x0],'type':_0x368456[0x1],'subType':_0x368456['length']>=0x5?_0x368456[0x2]:null,'id':_0x368456['length']<0x5?_0x368456[0x2]:_0x368456[0x3],'authorId':_0x368456['length']<0x5?_0x368456[0x3]:_0x368456[0x4],'markerCount':0x6==_0x368456['length']?_0x368456[0x5]:null};}function _0x34836c(_0x349241){for(let _0x505537=0x0;_0x505537<_0x3f7152['length'];_0x505537++){if(_0x349241['isAdded']&&'insertion'==_0x3f7152[_0x505537]['type'])return _0x349241['isAddSuggestion']=_0x3f7152[_0x505537],void delete _0x349241['isAdded'];if(!_0x349241['isAdded']&&!_0x349241['isRemoved']&&'deletion'==_0x3f7152[_0x505537]['type'])return void(_0x349241['isRemoveSuggestion']=_0x3f7152[_0x505537]);}}}['_setDistance'](_0x4c055e,_0xbf6966){let _0x5af5c6=0x0,_0x3bf433=!0x1;const _0x43385c=new Map();for(const _0x1b181 of _0x4c055e)_0x1b181[_0xbf6966]?_0x3bf433&&(_0x5af5c6++,_0x3bf433=!0x1):(_0x5af5c6++,_0x3bf433=!0x0),_0x43385c['set'](_0x1b181['id'],_0x5af5c6);for(let _0x3810ab=0x0;_0x3810ab<_0x4c055e['length'];_0x3810ab++){if('isRemoved'==_0xbf6966&&_0x4c055e[_0x3810ab]['isAdded']||'isAdded'==_0xbf6966&&_0x4c055e[_0x3810ab]['isRemoved'])continue;if('text'==_0x4c055e[_0x3810ab]['type']){_0x4c055e[_0x3810ab]['distance']=0x0;continue;}const _0x41e58a=_0x43385c['get'](_0x4c055e[_0x3810ab]['pairId']),_0x256f3e=_0x43385c['get'](_0x4c055e[_0x3810ab]['id']);_0x4c055e[_0x3810ab]['distance']=_0x41e58a-_0x256f3e;}}['_getRevisionsRange'](_0x32e8ef,_0x364f87,_0x4248f5=!0x1){const _0x13af7a=[];let _0x421ecb=this['repository']['getIndex'](_0x32e8ef),_0x54ec78=this['repository']['getIndex'](_0x364f87);for(-0x1==_0x54ec78&&(_0x54ec78=this['repository']['_revisions']['length'],_0x4248f5=!0x1);_0x421ecb<_0x54ec78;)_0x13af7a['push'](this['repository']['getRevision'](_0x421ecb)),_0x421ecb++;return _0x4248f5&&_0x13af7a['push'](this['repository']['getRevision'](_0x421ecb)),_0x13af7a;}['_threeWayMerge'](_0xdce82e,_0x31c203,_0x17329c,_0x5504a6){const _0x6e8800=this['editor']['model']['schema'];let _0x28825c=_0x31c203;for(;_0xdce82e[_0x28825c]&&_0xdce82e[_0x28825c]['isAdded'];)_0x28825c++;let _0x35df28=_0x5504a6;for(;_0x17329c[_0x35df28]&&_0x17329c[_0x35df28]['isRemoved'];)_0x35df28++;_0xcaab65(_0xdce82e,_0x31c203,_0x28825c),_0xcaab65(_0x17329c,_0x5504a6,_0x35df28);const _0x21e88c=_0x17329c['slice'](_0x5504a6,_0x35df28)['concat'](_0xdce82e['slice'](_0x31c203,_0x28825c));return _0x21e88c['sort']((_0x22b3a3,_0x2c26f6)=>_0x22b3a3['side']!=_0x2c26f6['side']?_0x22b3a3['side']-_0x2c26f6['side']:_0x22b3a3['level']!=_0x2c26f6['level']?_0x22b3a3['level']-_0x2c26f6['level']:_0x22b3a3['distance']!=_0x2c26f6['distance']?_0x2c26f6['distance']-_0x22b3a3['distance']:!!_0x22b3a3['isAdded']!=!!_0x2c26f6['isAdded']?-0x1==_0x22b3a3['side']||0x0==_0x22b3a3['side']?_0x22b3a3['isAdded']?-0x1:0x1:_0x22b3a3['isAdded']?0x1:-0x1:_0x22b3a3['index']-_0x2c26f6['index']),{'commonTape':_0x21e88c,'iEnd':_0x28825c,'jEnd':_0x35df28};function _0xcaab65(_0x4a49dd,_0x486d3f,_0x1167b3){let _0x1a02d8=-0x1,_0x5713c1=Number['POSITIVE_INFINITY'],_0x45ccd4=!0x0;for(let _0x5d795b=_0x486d3f;_0x5d795b<_0x1167b3;_0x5d795b++)if(_0x6e8800['isInline'](_0x4a49dd[_0x5d795b]['item'])||(_0x45ccd4=!0x1),_0x4a49dd[_0x5d795b]['item']['startIndex']<_0x486d3f&&(_0x1a02d8=_0x5d795b),_0x4a49dd[_0x5d795b]['item']['endIndex']>=_0x1167b3){_0x5713c1=_0x5d795b;break;}_0x45ccd4&&(_0x1a02d8=_0x1167b3-0x1);for(let _0x1bda92=_0x486d3f;_0x1bda92<_0x1167b3;_0x1bda92++)_0x4a49dd[_0x1bda92]['side']=_0x1bda92<=_0x1a02d8?-0x1:_0x1bda92<_0x5713c1?0x0:0x1,_0x4a49dd[_0x1bda92]['index']=_0x1bda92;let _0x562d95=0x0;for(let _0x419e94=_0x486d3f;_0x419e94<=_0x1a02d8;_0x419e94++)0x0==_0x4a49dd[_0x419e94]['distance']?_0x4a49dd[_0x419e94]['level']=_0x562d95:(_0x562d95++,_0x4a49dd[_0x419e94]['level']=_0x562d95,_0x562d95++);for(let _0x316fb6=_0x486d3f;_0x316fb6<_0x1167b3;_0x316fb6++)0x0==_0x4a49dd[_0x316fb6]['side']&&(_0x4a49dd[_0x316fb6]['level']=_0x562d95);_0x562d95=0x0;for(let _0x5cf97c=_0x1167b3-0x1;_0x5cf97c>=_0x5713c1;_0x5cf97c--)0x0==_0x4a49dd[_0x5cf97c]['distance']?_0x4a49dd[_0x5cf97c]['level']=_0x562d95:(_0x562d95--,_0x4a49dd[_0x5cf97c]['level']=_0x562d95,_0x562d95--);}}['_fixObsoleteTags'](_0x52db46){const _0x5d1496=new Map(),_0x457081=this['editor']['model']['schema'];for(let _0x21c2d1=0x1;_0x21c2d1<_0x52db46['length'];_0x21c2d1++){let _0x2a7d0a,_0x5dda3e,_0x2f1194;const _0x2545f2=_0x52db46[_0x21c2d1],_0x1fe4e8=_0x52db46[_0x21c2d1-0x1];if('text'==_0x2545f2['type'])continue;if(_0x2545f2['type']!=_0x1fe4e8['type'])continue;if(!_0x457081['isBlock'](_0x1fe4e8['item'])||_0x457081['isLimit'](_0x1fe4e8['item']))continue;if(!_0x457081['isBlock'](_0x2545f2['item'])||_0x457081['isLimit'](_0x2545f2['item']))continue;if((_0x52db46[_0x21c2d1]['isAdded']||_0x52db46[_0x21c2d1]['isAddSuggestion'])&&_0x52db46[_0x21c2d1-0x1]['isRemoved'])_0x2a7d0a=_0x52db46[_0x21c2d1],_0x5dda3e=_0x52db46[_0x21c2d1-0x1],_0x2f1194=_0x21c2d1-0x1;else{if(!_0x52db46[_0x21c2d1]['isRemoved']||!_0x52db46[_0x21c2d1-0x1]['isAdded']&&!_0x52db46[_0x21c2d1-0x1]['isAddSuggestion'])continue;_0x2a7d0a=_0x52db46[_0x21c2d1-0x1],_0x5dda3e=_0x52db46[_0x21c2d1],_0x2f1194=_0x21c2d1;}const _0x384fe7=_0x2a7d0a['level']==_0x5dda3e['level'],_0x49501f=Math['abs'](_0x2a7d0a['level'])<Math['abs'](_0x5dda3e['level'])&&0x0==_0x5dda3e['distance'];(_0x384fe7||_0x49501f)&&(_0x5d1496['set'](_0x5dda3e['id'],_0x2a7d0a['id']),_0x52db46['splice'](_0x2f1194,0x1),_0x21c2d1--,_0x2a7d0a['isAdded']=!0x1);}for(let _0x2b8314=0x0;_0x2b8314<_0x52db46['length'];_0x2b8314++)_0x5d1496['has'](_0x52db46[_0x2b8314]['pairId'])&&(_0x52db46[_0x2b8314]['pairId']=_0x5d1496['get'](_0x52db46[_0x2b8314]['pairId']));}['_removeMissingPairs'](_0xfc09a2){const _0x2931f8=new Set(_0xfc09a2['map'](_0x5c680b=>_0x5c680b['id']));for(let _0x5e8772=0x0;_0x5e8772<_0xfc09a2['length'];_0x5e8772++)_0x2931f8['has'](_0xfc09a2[_0x5e8772]['pairId'])||0x0==_0xfc09a2[_0x5e8772]['distance']||(_0xfc09a2[_0x5e8772]['isIncorrect']=!0x0);return _0xfc09a2['filter'](_0x45402d=>!_0x45402d['isIncorrect']);}['_markMismatchedRemovedTags'](_0xc96e0f){const _0x3b7c07=new Set();for(let _0x3b3e43=0x0;_0x3b3e43<_0xc96e0f['length'];_0x3b3e43++){if(_0x3b7c07['has'](_0xc96e0f[_0x3b3e43]['id'])&&_0xc96e0f[_0x3b3e43]['isRemoved']&&(_0xc96e0f[_0x3b3e43]['isIncorrect']=!0x0),_0xc96e0f[_0x3b3e43]['isIncorrect'])continue;if(0x0==_0xc96e0f[_0x3b3e43]['distance'])continue;if('elementStart'!=_0xc96e0f[_0x3b3e43]['type'])continue;if(null==_0xc96e0f[_0x3b3e43]['pairId'])continue;let _0x6d8e07=_0x3b3e43+0x1,_0x24e982=0x0;for(;_0xc96e0f[_0x6d8e07]['id']!=_0xc96e0f[_0x3b3e43]['pairId'];)'elementStart'==_0xc96e0f[_0x6d8e07]['type']?_0x24e982++:'elementEnd'==_0xc96e0f[_0x6d8e07]['type']&&_0x24e982--,_0x6d8e07++;if(0x0!=_0x24e982){if(_0xc96e0f[_0x3b3e43]['isRemoved'])_0xc96e0f[_0x3b3e43]['isIncorrect']=!0x0;else{for(;_0x6d8e07!=_0x3b3e43;)_0xc96e0f[_0x6d8e07]['isRemoved']&&0x0!=_0xc96e0f[_0x6d8e07]['distance']&&(_0xc96e0f[_0x6d8e07]['isIncorrect']=!0x0,_0x3b7c07['add'](_0xc96e0f[_0x6d8e07]['pairId'])),_0x6d8e07--;}}}return _0xc96e0f['filter'](_0x2e886d=>!_0x2e886d['isIncorrect']);}['_removeUnsupportedChanges'](_0x5080b6){const _0xe3ca72=this['editor']['model']['schema'];for(let _0x179ea7=0x0;_0x179ea7<_0x5080b6['length'];_0x179ea7++){if(!(_0x5080b6[_0x179ea7]['isAdded']||_0x5080b6[_0x179ea7]['isAddSuggestion']||_0x5080b6[_0x179ea7]['isRemoved']||_0x5080b6[_0x179ea7]['isRemoveSuggestion']))continue;if(0x0==_0x5080b6[_0x179ea7]['distance'])continue;const _0x5cf73b=_0x5080b6[_0x179ea7]['item'];_0xe3ca72['isBlock'](_0x5cf73b)||_0xe3ca72['isLimit'](_0x5cf73b)||(_0x5080b6[_0x179ea7]['isAdded']&&delete _0x5080b6[_0x179ea7]['isAdded'],_0x5080b6[_0x179ea7]['isAddSuggestion']&&delete _0x5080b6[_0x179ea7]['isAddSuggestion'],_0x5080b6[_0x179ea7]['isRemoveSuggestion']&&delete _0x5080b6[_0x179ea7]['isRemoveSuggestion'],_0x5080b6[_0x179ea7]['isRemoved']&&(_0x5080b6[_0x179ea7]['isIncorrect']=!0x0));}return _0x5080b6['filter'](_0x2a69c3=>!_0x2a69c3['isIncorrect']);}['_makeModelFromTape'](_0x4c3bfd,_0x4aa16b,_0x47da6c){const _0x570ca6=new wt(),_0x572be4=[],_0x28160d=new Map(),_0x354be1=this['editor']['model'],_0x180c47=_0x354be1['schema'],_0x26db10=[_0x570ca6],_0x539429={},_0x24fad5={'isAdded':[],'isRemoved':[],'isAddSuggestion':[],'isRemoveSuggestion':[]};let _0xf6d966=null;const _0x10551f=[0x0];for(let _0x34141c=0x0;_0x34141c<_0x4c3bfd['length'];_0x34141c++){let _0x54c719,_0x541b78;if('elementStart'===_0x4c3bfd[_0x34141c]['type']){_0x54c719=_0x354be1['createPositionFromPath'](_0x570ca6,_0x10551f);const _0x2c38e8=new ft(_0x4c3bfd[_0x34141c]['item']['name'],_0x4c3bfd[_0x34141c]['item']['getAttributes']());_0x26db10[0x0]['_appendChild'](_0x2c38e8),_0x10551f['push'](0x0),_0x26db10['unshift'](_0x2c38e8),_0x541b78=_0x354be1['createPositionFromPath'](_0x570ca6,_0x10551f),_0xf6d966=null;}else{if('elementEnd'===_0x4c3bfd[_0x34141c]['type'])_0x26db10['shift'](),_0x54c719=_0x354be1['createPositionFromPath'](_0x570ca6,_0x10551f),_0x10551f['pop'](),_0x10551f[_0x10551f['length']-0x1]++,_0x541b78=_0x354be1['createPositionFromPath'](_0x570ca6,_0x10551f),_0xf6d966=null;else{if(_0x54c719=_0x354be1['createPositionFromPath'](_0x570ca6,_0x10551f),_0xf6d966&&_0x182d68(_0xf6d966,_0x4c3bfd[_0x34141c]['item']))_0xf6d966['_data']+=_0x4c3bfd[_0x34141c]['item']['data'];else{const _0x582cdd=new _t(_0x4c3bfd[_0x34141c]['item']['data'],_0x4c3bfd[_0x34141c]['item']['getAttributes']());_0x26db10[0x0]['_appendChild'](_0x582cdd),_0xf6d966=_0x582cdd;}_0x10551f[_0x10551f['length']-0x1]+=_0x4c3bfd[_0x34141c]['item']['offsetSize'],_0x541b78=_0x354be1['createPositionFromPath'](_0x570ca6,_0x10551f);}}for(const _0xfe48af of _0x4c3bfd[_0x34141c]['markersStart'])_0x28160d['set'](_0xfe48af,{'start':_0x54c719,'end':null});_0x37cda6('isRemoveSuggestion',_0x34141c,_0x54c719,_0x541b78),_0x37cda6('isAddSuggestion',_0x34141c,_0x54c719,_0x541b78),_0x37cda6('isRemoved',_0x34141c,_0x54c719,_0x541b78),_0x37cda6('isAdded',_0x34141c,_0x54c719,_0x541b78);for(const _0x7ca66a of _0x4c3bfd[_0x34141c]['markersEnd']){_0x28160d['get'](_0x7ca66a)['end']=_0x541b78;}}for(const [_0x2c847a,_0x51d82e]of _0x28160d){const _0x314ee9=this['editor']['model']['createRange'](_0x51d82e['start'],_0x51d82e['end']);_0x570ca6['markers']['set'](_0x2c847a,_0x314ee9);}return _0x572be4['sort']((_0x2b0b35,_0xd30de0)=>{const _0x30126b=_0x570ca6['markers']['get']('revision:'+_0x2b0b35['id']),_0x15fb15=_0x570ca6['markers']['get']('revision:'+_0xd30de0['id']);return _0x30126b['start']['isBefore'](_0x15fb15['start'])?-0x1:_0x30126b['start']['isAfter'](_0x15fb15['start'])?0x1:_0x30126b['end']['isBefore'](_0x15fb15['end'])?-0x1:_0x30126b['end']['isAfter'](_0x15fb15['end'])?0x1:'add'===_0x2b0b35['type']?-0x1:0x1;}),{'root':_0x570ca6,'changes':_0x572be4};function _0x37cda6(_0x1ae06c,_0x1ed8f5,_0x549b86,_0x39bdf8){const _0x458220=!!_0x4c3bfd[_0x1ed8f5][_0x1ae06c],_0x3c0d1a=_0x458220?_0x4c3bfd[_0x1ed8f5][_0x1ae06c]['userId']:null,_0x3d0da6=_0x1ed8f5===_0x4c3bfd['length']-0x1,_0x215c24=_0x24fad5[_0x1ae06c][0x0],_0x33beda=_0x180c47['isObject'](_0x4c3bfd[_0x1ed8f5]['item']);!_0x539429[_0x1ae06c]&&_0x458220?_0x539429[_0x1ae06c]={'start':_0x549b86,'tapeItem':_0x4c3bfd[_0x1ed8f5],'userId':_0x3c0d1a,'type':_0x1ae06c}:_0x539429[_0x1ae06c]&&!_0x458220?(_0x539429[_0x1ae06c]['end']=_0x549b86,_0x8e20b7(_0x539429[_0x1ae06c]),_0x539429[_0x1ae06c]=null):_0x539429[_0x1ae06c]&&_0x458220&&_0x539429[_0x1ae06c]['userId']!==_0x3c0d1a&&(_0x539429[_0x1ae06c]['end']=_0x549b86,_0x215c24&&_0x215c24['userId']===_0x539429[_0x1ae06c]['userId']||_0x8e20b7(_0x539429[_0x1ae06c]),_0x539429[_0x1ae06c]={'start':_0x549b86,'tapeItem':_0x4c3bfd[_0x1ed8f5],'userId':_0x3c0d1a,'type':_0x1ae06c}),_0x539429[_0x1ae06c]&&_0x33beda&&('elementStart'!==_0x4c3bfd[_0x1ed8f5]['type']||_0x215c24&&_0x215c24['userId']===_0x3c0d1a||_0x24fad5[_0x1ae06c]['unshift']({'userId':_0x3c0d1a,'object':_0x4c3bfd[_0x1ed8f5]['item'],'change':_0x539429[_0x1ae06c]}),'elementEnd'===_0x4c3bfd[_0x1ed8f5]['type']&&_0x215c24&&_0x215c24['object']===_0x4c3bfd[_0x1ed8f5]['item']&&(_0x24fad5[_0x1ae06c]['shift'](),_0x539429[_0x1ae06c]=_0x215c24['change'])),_0x539429[_0x1ae06c]&&_0x3d0da6&&(_0x539429[_0x1ae06c]['end']=_0x39bdf8,_0x8e20b7(_0x539429[_0x1ae06c]),_0x539429[_0x1ae06c]=null);}function _0x8e20b7({start:_0x4e3b37,end:_0xe32ea,tapeItem:_0x13ee51,userId:_0x3b7d7e,type:_0x2afe70}){const _0x41e396=_0x13ee51['item'],_0x433a23=_0x354be1['schema']['isBlock'](_0x41e396)&&!_0x354be1['schema']['isLimit'](_0x41e396),_0x58c9f6=_0x4e3b37['nodeAfter']==_0xe32ea['parent']&&_0xe32ea['isAtStart'];if(_0x433a23&&_0x58c9f6)return;const _0x5c12c0=_0x354be1['createRange'](_0x4e3b37,_0xe32ea),_0x24eb3d=_0x4aa16b['get'](_0x3b7d7e),_0x363f59=new r({'author':_0x24eb3d,'type':'isAdded'==_0x2afe70||'isAddSuggestion'==_0x2afe70?'add':'remove','data':{'isSuggestion':'isAddSuggestion'==_0x2afe70||'isRemoveSuggestion'==_0x2afe70},'createdAt':new Date(),'rootName':_0x47da6c});_0x572be4['push'](_0x363f59),_0x570ca6['markers']['set']('revision:'+_0x363f59['id'],_0x5c12c0);}function _0x182d68(_0x5ccf46,_0x9b8646){const _0x2abb5c=_0x5ccf46['getAttributes'](),_0x469939=_0x9b8646['getAttributes']();for(const _0x57971d of _0x2abb5c){if(_0x57971d[0x1]!==_0x9b8646['getAttribute'](_0x57971d[0x0]))return!0x1;_0x469939['next']();}return _0x469939['next']()['done'];}}['_setConversion'](){this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'revision'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision','view':_0x572551=>{const _0x5a779f=_0x572551['markerName']['split'](':')[0x1],_0x360cf0=this['_getChangeFromId'](_0x5a779f);if(!_0x360cf0)return null;const _0x353fc1='add'==_0x360cf0['type']?'insertion':'deletion',_0x1c94e7=['ck-suggestion-marker','ck-suggestion-marker-'+_0x353fc1];return _0x360cf0['data']['isSuggestion']&&_0x1c94e7['push']('ck-suggestion-marker-'+_0x353fc1+'-new'),this['activeChange']==_0x360cf0&&_0x1c94e7['push']('ck-suggestion-marker--active'),{'classes':_0x1c94e7,'attributes':{'data-change-id':_0x5a779f}};}}),this['editor']['conversion']['for']('upcast')['add'](_0x229550=>{_0x229550['on']('element:pre',(_0x34ed3d,_0x4c46ec,_0x497f85)=>{const _0x1db51a=_0x4c46ec['viewItem']['getChild'](0x0);if(!_0x1db51a||!_0x1db51a['is']('element','code'))return;if(!_0x497f85['consumable']['consume'](_0x1db51a,{'attributes':['vid_start','vid_end']}))return;const _0xcdeeac=_0x4c46ec['modelRange']['start']['nodeAfter'];_0x497f85['writer']['setAttribute']('vid_start',_0x1db51a['getAttribute']('vid_start'),_0xcdeeac),_0x497f85['writer']['setAttribute']('vid_end',_0x1db51a['getAttribute']('vid_end'),_0xcdeeac);},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['add'](_0x5a492c=>{_0x5a492c['on']('element',(_0x4192be,_0x561ff0,_0x561657)=>{if(!_0x561657['consumable']['consume'](_0x561ff0['viewItem'],{'attributes':['vid_start','vid_end']}))return;if(_0x561ff0['modelRange']['isCollapsed'])return;const _0x4b9ce0=_0x561ff0['modelRange']['start']['nodeAfter'];_0x4b9ce0['hasAttribute']('vid_start')||_0x4b9ce0['hasAttribute']('vid')||(_0x561657['writer']['setAttribute']('vid_start',_0x561ff0['viewItem']['getAttribute']('vid_start'),_0x4b9ce0),_0x561657['writer']['setAttribute']('vid_end',_0x561ff0['viewItem']['getAttribute']('vid_end'),_0x4b9ce0));},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['elementToAttribute']({'view':{'name':'span','attributes':{'vid':!0x0}},'model':{'key':'vid','value':_0x52ec17=>_0x52ec17['getAttribute']('vid')}}),this['editor']['model']['schema']['on']('checkAttribute',(_0x168f5d,[,_0x266659])=>{['vid_start','vid_end','vid']['includes'](_0x266659)&&(_0x168f5d['return']=!0x0,_0x168f5d['stop']());},{'priority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['add'](_0x25cd5e=>{_0x25cd5e['on']('attribute:vid',(_0x18daa8,_0x1d23aa,_0x5baf3a)=>{if('\x20'!=_0x1d23aa['item']['data']||_0x1d23aa['item']['parent']['maxOffset']>0x1)return;if(!_0x5baf3a['consumable']['consume'](_0x1d23aa['item'],_0x18daa8['name']))return;const _0x2cadf2=_0x5baf3a['writer'],_0x493623=_0x5baf3a['mapper']['toViewRange'](_0x1d23aa['range']);_0x2cadf2['wrap'](_0x493623,_0x2cadf2['createAttributeElement']('span'));});}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',function(_0x2b8d17){const _0x2703b1=_0x2b8d17['plugins']['get']('RevisionViewer');return(_0x34e2f2,_0x4b7356,_0x4372a9)=>{const _0x34a62d=_0x4b7356['markerName']['split'](':')[0x1],_0x45d490=_0x2703b1['_getChangeFromId'](_0x34a62d);if(!_0x45d490)return null;const _0x3810f0='add'==_0x45d490['type']?'split':'merge';if(!_0x4372a9['consumable']['test'](_0x4b7356['markerRange'],_0x34e2f2['name']))return;const _0x5afa53=_0x4b7356['markerRange']['getWalker'](),_0x291047=_0x4b7356['markerRange']['start'],_0x2cf30c=_0x2b8d17['model']['schema'];let _0x378c26=null,_0x116d2b=null,_0x19a52d=!0x1,_0x2a4477=!0x1;for(const _0x51c426 of _0x5afa53){const _0x4f8d37=_0x51c426['item'];_0x19a52d=_0x19a52d||_0x2cf30c['isContent'](_0x4f8d37);const _0x45d933=_0x4372a9['mapper']['toViewElement'](_0x4f8d37);if(_0x45d933&&_0x45d933['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x51c426['type']&&(_0x2cf30c['isBlock'](_0x4f8d37)&&!_0x2cf30c['isLimit'](_0x4f8d37)&&(_0x4f8d37['nextSibling']||_0x291047['isAtEnd']?_0x378c26&&_0x378c26['parent']==_0x4f8d37||(_0x378c26=_0x4f8d37,_0x538efb(_0x51c426['previousPosition']),_0x2a4477=!0x0):_0x116d2b=_0x116d2b||_0x51c426['previousPosition']));}function _0x538efb(_0x2e2eb9){const _0x1a9c32=_0x4372a9['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x3810f0}),_0x3cc493=_0x4372a9['mapper']['toViewPosition'](_0x2e2eb9);_0x45d490['data']['isSuggestion']&&_0x4372a9['writer']['addClass']('ck-suggestion-marker-'+_0x3810f0+'-new',_0x1a9c32),_0x2703b1['activeChange']==_0x45d490&&_0x4372a9['writer']['addClass']('ck-suggestion-marker--active',_0x1a9c32),_0x4372a9['writer']['insert'](_0x3cc493,_0x1a9c32),_0x4372a9['mapper']['bindElementToMarker'](_0x1a9c32,_0x4b7356['markerName']);}_0x19a52d||_0x2a4477||!_0x116d2b||_0x538efb(_0x116d2b);};}(this['editor']),{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('removeMarker:revision',(_0xa82862,_0x15d23f,_0x88026a)=>{const _0x4c2062=_0x88026a['mapper']['markerNameToElements'](_0x15d23f['markerName']);if(_0x4c2062){for(const _0x11697a of _0x4c2062)(_0x11697a['hasClass']('ck-suggestion-marker-split')||_0x11697a['hasClass']('ck-suggestion-marker-merge'))&&(_0x88026a['mapper']['unbindElementFromMarkerName'](_0x11697a,_0x15d23f['markerName']),_0x88026a['writer']['remove'](_0x11697a));}},{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',(_0x25f83f,_0x21dafc,_0x3b0821)=>{const _0x15fad7=_0x21dafc['markerName']['split'](':')[0x1],_0x3fb90c=this['_getChangeFromId'](_0x15fad7);if(!_0x3fb90c)return null;const _0x225fec='add'==_0x3fb90c['type']?'split':'merge';if(_0x3b0821['consumable']['test'](_0x21dafc['markerRange'],_0x25f83f['name']))for(const _0x5c16c8 of _0x21dafc['markerRange']['getItems']()){if(!_0x5c16c8['is']('element','softBreak'))continue;const _0x3c17dc=_0x3b0821['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x225fec}),_0xa6d0ce=_0x3b0821['mapper']['toViewPosition'](this['editor']['model']['createPositionBefore'](_0x5c16c8));_0x3fb90c['data']['isSuggestion']&&_0x3b0821['writer']['addClass']('ck-suggestion-marker-'+_0x225fec+'-new',_0x3c17dc),this['activeChange']==_0x3fb90c&&_0x3b0821['writer']['addClass']('ck-suggestion-marker--active',_0x3c17dc),_0x3b0821['writer']['insert'](_0xa6d0ce,_0x3c17dc),_0x3b0821['mapper']['bindElementToMarker'](_0x3c17dc,_0x21dafc['markerName']);}},{'priority':'high'}),this['editor']['model']['document']['on']('change',()=>{this['editor']['editing']['view']['change'](_0x43ec32=>{for(const _0x24bc6c of this['editor']['model']['document']['getRootNames']()){const _0x238ff2=this['editor']['model']['document']['getRoot'](_0x24bc6c),_0x51ded3=this['editor']['editing']['view']['document']['getRoot'](_0x24bc6c);if(_0x51ded3){const _0x4c37a0=_0x238ff2['getAttribute']('revisionHistoryAttachChange');if(_0x43ec32['removeAttribute']('data-change-id',_0x51ded3),_0x43ec32['removeClass']('ck-revision-history-root-add',_0x51ded3),_0x43ec32['removeClass']('ck-revision-history-root-remove',_0x51ded3),_0x43ec32['removeClass']('ck-revision-history-root--active',_0x51ded3),_0x4c37a0){const _0x19d0ab=this['_getChangeFromId'](_0x4c37a0);if(!_0x19d0ab)return null;_0x43ec32['setAttribute']('data-change-id',_0x4c37a0,_0x51ded3),_0x43ec32['addClass']('ck-revision-history-root-'+_0x19d0ab['type'],_0x51ded3),this['activeChange']==_0x19d0ab&&_0x43ec32['addClass']('ck-revision-history-root--active',_0x51ded3);}}}});}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'comment','model':_0x36865d=>'revision-comment:'+_0x36865d,'converterPriority':'highest'}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'suggestion','model':_0x242895=>'revision-suggestion:'+_0x242895,'converterPriority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision-suggestion','view':_0x5ee9c9=>({'name':'suggestion:'+_0x5ee9c9,'group':'revision-suggestion'}),'converterPriority':'highest'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision-suggestion','view':_0x432d6e=>{const _0xb6337f=_0x432d6e['markerName']['split'](':')[0x1];return'insertion'!=_0xb6337f&&'deletion'!=_0xb6337f?null:{'classes':['ck-suggestion-preview-marker','ck-suggestion-preview-marker-'+_0xb6337f]};}}),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',(_0x22187e,_0x1bc55b,_0x18c5d4)=>{const _0x13acb7=_0x18c5d4['mapper']['markerNameToElements'](_0x1bc55b['markerName']);if(_0x13acb7){for(const _0x3cfd2a of _0x13acb7)_0x3cfd2a['is']('uiElement')&&(_0x18c5d4['mapper']['unbindElementFromMarkerName'](_0x3cfd2a,_0x1bc55b['markerName']),_0x18c5d4['writer']['remove'](_0x3cfd2a));}},{'priority':'high'});}['_getChangeFromId'](_0x360458){return this['_changeIdToChange']['get'](_0x360458);}['_getViewForChange'](_0x420437){return this['_changeView']&&this['_changeView']['destroy'](),this['_changeView']=new Z(this['editor']['locale'],_0x420437),this['_changeView'];}['_initInteractions'](){this['editor']['model']['document']['selection']['observeMarkers']('revision'),this['on']('change:activeView',(_0x521409,_0x1bbcee,_0x35beb5,_0x1e0a28)=>{_0x1e0a28&&this['_balloon']['remove'](_0x1e0a28),_0x35beb5&&(this['_balloon']['add']({'view':_0x35beb5,'stackId':'revisionHistoryLabel','position':{'target':()=>{const _0x340267=this['editor']['editing'],_0x3f6f3f=this['_getChangeFromId'](_0x35beb5['changeId']);let _0x55d482;if(_0x3f6f3f['data']['isOnRoot']){const _0x3f80d0=_0x340267['view']['getDomRoot'](_0x3f6f3f['rootName']);_0x55d482=Array['from'](_0x3f80d0['getClientRects']());}else{const _0x2b1acd=this['editor']['model']['markers']['get']('revision:'+_0x35beb5['changeId']);_0x55d482=Array['from'](_0x340267['mapper']['markerNameToElements'](_0x2b1acd['name']))['map'](_0x160805=>_0x340267['view']['domConverter']['mapViewToDom'](_0x160805))['map'](_0x26f06e=>Array['from'](_0x26f06e['getClientRects']()))['flat']();}if(!this['_activeViewTarget'])return _0x55d482[0x0];return _0x55d482['find'](_0x3d0d23=>_0x3d0d23['top']-0x3<=this['_activeViewTarget']['y']&&_0x3d0d23['bottom']+0x3>=this['_activeViewTarget']['y']&&_0x3d0d23['left']-0x3<=this['_activeViewTarget']['x']&&_0x3d0d23['right']+0x3>=this['_activeViewTarget']['x'])||_0x55d482[0x0];}}}),this['_balloon']['showStack']('revisionHistoryLabel'));}),this['on']('change:activeChange',(_0x3537c4,_0x38a328,_0x313c76,_0xefc34d)=>{this['activeView']=_0x313c76?this['_getViewForChange'](_0x313c76):null,this['editor']['model']['change'](()=>{const _0x831d39=this['editor']['editing'];_0xefc34d&&(_0xefc34d['data']['isOnRoot']?_0x831d39['view']['change'](_0x5a300e=>{_0x5a300e['removeClass']('ck-revision-history-root--active',_0x831d39['view']['document']['getRoot'](_0xefc34d['rootName']));}):_0x831d39['reconvertMarker']('revision:'+_0xefc34d['id'])),_0x313c76&&(_0x313c76['data']['isOnRoot']?_0x831d39['view']['change'](_0xb07b0c=>{_0xb07b0c['addClass']('ck-revision-history-root--active',_0x831d39['view']['document']['getRoot'](_0x313c76['rootName']));}):_0x831d39['reconvertMarker']('revision:'+_0x313c76['id']));});}),this['listenTo'](this['editor']['editing']['view']['document'],'mouseover',(_0x262a61,_0xa6b789)=>{if(this['activeChange'])return;const _0x4c767b=this['_findChangeIdFromDomTarget'](_0xa6b789['target']),_0x34f638=this['_changeIdToChange']['get'](_0x4c767b);_0x34f638?(this['_activeViewTarget']={'x':_0xa6b789['domEvent']['x'],'y':_0xa6b789['domEvent']['y']},this['activeView']=this['_getViewForChange'](_0x34f638)):(this['_activeViewTarget']=null,this['activeView']=null);}),this['listenTo'](this['editor']['editing']['view']['document'],'mousedown',(_0x4a71b2,_0x25ea46)=>{const _0x3b15c9=this['_findChangeIdFromDomTarget'](_0x25ea46['target']),_0x536a99=this['_changeIdToChange']['get'](_0x3b15c9);_0x536a99?(this['_activeViewTarget']={'x':_0x25ea46['domEvent']['x'],'y':_0x25ea46['domEvent']['y']},_0x536a99===this['activeChange']?this['_balloon']['updatePosition']():this['activeChange']=_0x536a99):(this['_activeViewTarget']=null,this['activeChange']=null);});}['_findChangeIdFromDomTarget'](_0x46c8ab){do{const _0x40cfac=_0x46c8ab['getAttribute']('data-change-id');if(_0x40cfac)return _0x40cfac;_0x46c8ab=_0x46c8ab['parent'];}while(_0x46c8ab);return null;}['_cleanMarkers'](){this['editor']['model']['change'](_0x9953f2=>{for(const _0x5784d4 of this['editor']['model']['markers'])_0x9953f2['removeMarker'](_0x5784d4);});}}function et(_0x529f87,_0x3b8a3e){return(_0x18ee04,_0xea7f4a,_0x2404be)=>{if(!_0x2404be['consumable']['test'](_0xea7f4a['markerRange'],_0x18ee04['name']))return;const _0xfc4acd=_0xea7f4a['markerRange']['getWalker'](),_0x134215=_0xea7f4a['markerRange']['start'],_0x49c7f9=_0x529f87['model']['schema'];let _0x1ebe9c=null,_0x147cb6=null,_0x45e5fb=!0x1,_0x47c025=!0x1;for(const _0x29dec6 of _0xfc4acd){const _0x3684d4=_0x29dec6['item'];_0x45e5fb=_0x45e5fb||_0x49c7f9['isContent'](_0x3684d4);const _0x1fc54e=_0x2404be['mapper']['toViewElement'](_0x3684d4);if(_0x1fc54e&&_0x1fc54e['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x29dec6['type']&&(_0x49c7f9['isBlock'](_0x3684d4)&&!_0x49c7f9['isLimit'](_0x3684d4)&&(_0x3684d4['nextSibling']||_0x134215['isAtEnd']?_0x1ebe9c&&_0x1ebe9c['parent']==_0x3684d4||(_0x1ebe9c=_0x3684d4,_0x298656(_0x29dec6['previousPosition']),_0x47c025=!0x0):_0x147cb6=_0x147cb6||_0x29dec6['previousPosition']));}function _0x298656(_0x5224ab){const _0x5e8f00=_0x2404be['mapper']['toViewPosition'](_0x5224ab),_0x4fa6de=_0x2404be['writer']['createUIElement']('span',{'class':'ck-suggestion-preview-marker-'+_0x3b8a3e});_0x2404be['writer']['insert'](_0x5e8f00,_0x4fa6de),_0x2404be['mapper']['bindElementToMarker'](_0x4fa6de,_0xea7f4a['markerName']);}_0x45e5fb||_0x47c025||!_0x147cb6||_0x298656(_0x147cb6);};}class bt extends _0x1b8a79{constructor(_0xf5ab4e){super(_0xf5ab4e);const _0x412948=_0xf5ab4e['plugins']['get'](d);this['affectsData']=!0x1,this['listenTo'](_0x412948,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x412948,'change:isEnabled',()=>this['refresh']());}['execute'](){const _0x3b172a=this['editor'],_0x5410e7=_0x3b172a['plugins']['get'](d),_0xea437e=_0x5410e7['isReady']?_0x5410e7['diff']['newRevisionId']:null;_0x3b172a['config']['get']('revisionHistory')['restoreRevisionCallback'](_0xea437e);}['refresh'](){const {isReady:_0x4cc954,isEnabled:_0x51ff2f}=this['editor']['plugins']['get'](d);this['isEnabled']=_0x4cc954&&_0x51ff2f;}}class yt extends _0x1b8a79{['_step'];constructor(_0x5df68c,{direction:_0x3f21f1}){super(_0x5df68c);const _0x4cd0f5=_0x5df68c['plugins']['get'](d);this['affectsData']=!0x1,this['_step']='forward'===_0x3f21f1?0x1:-0x1,this['listenTo'](_0x4cd0f5,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x4cd0f5,'change:isEnabled',()=>this['refresh']()),this['listenTo'](_0x4cd0f5,'change:activeChange',()=>this['refresh']());}['execute'](){const _0x5e7cc7=this['editor'],_0x32eadb=_0x5e7cc7['plugins']['get'](d),{isNavigationMode:_0x3533cb,currentChangeNumber:_0x34fc6f}=_0x32eadb;let _0x6ae95f;if(_0x32eadb['activeChange']=_0x3533cb?_0x32eadb['diff']['changes']['get'](_0x34fc6f+this['_step']):_0x32eadb['diff']['changes']['first'],_0x32eadb['activeChange']['data']['isOnRoot'])_0x6ae95f=_0x5e7cc7['editing']['view']['getDomRoot'](_0x32eadb['activeChange']['rootName']);else{const _0x5ef59b=_0x5e7cc7['model']['markers']['get']('revision:'+_0x32eadb['activeChange']['id']);_0x6ae95f=_0x41ad97(_0x5e7cc7['editing'],_0x5ef59b);}_0x1f052d({'target':_0x6ae95f,'viewportOffset':0x28});}['refresh'](){const {isNavigationMode:_0x4687ea,currentChangeNumber:_0x144d92,numberOfChanges:_0x41a0f4,isReady:_0x36d329,isEnabled:_0x4ff477}=this['editor']['plugins']['get'](d);this['isEnabled']=!!(_0x4ff477&&_0x36d329&&_0x41a0f4)&&(!_0x4687ea||(0x1===this['_step']?_0x144d92<_0x41a0f4-0x1:_0x144d92>0x0));}}class _i extends _0x423130{constructor(_0xbde922){super(_0xbde922);const _0x2a49de=this['bindTemplate'],_0x5875e7=new _0x5eef24(_0xbde922),_0x2c6d95=new _0x5eef24(_0xbde922);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',(_0x5587a3,_0x4a7c6c)=>_0x5587a3&&_0x4a7c6c>0x0),this['bind']('_statusText')['to'](this,'isReady',this,'currentChangeNumber',this,'numberOfChanges',this,'isNavigationMode',(_0x564af9,_0x515aa0,_0x578480,_0x5f37b1)=>{if(!_0x564af9)return y(_0xbde922,'Loading...');if(!_0x578480)return y(_0xbde922,'No\x20changes');const _0x40e03c=y(_0xbde922,'NUMBER_OF_CHANGES',_0x578480);return _0x5f37b1?y(_0xbde922,'X_OF_Y_CHANGES',[_0x515aa0+0x1,_0x578480]):_0x40e03c;}),_0x5875e7['set']({'label':y(_0xbde922,'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'}),_0x2c6d95['set']({'label':y(_0xbde922,'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'}),_0x5875e7['bind']('isEnabled')['to'](this,'isBackwardNavigationEnabled'),_0x2c6d95['bind']('isEnabled')['to'](this,'isForwardNavigationEnabled'),_0x5875e7['on']('execute',()=>this['fire']('execute','backward')),_0x2c6d95['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',_0x2a49de['if']('_isStatusLabelVisible','ck-hidden',_0x182bf1=>!_0x182bf1)]},'children':[{'text':_0x2a49de['to']('isNavigationMode',_0x438244=>_0x438244?y(_0xbde922,'EDIT_X_OF_Y_REVISIONS')+':\x20':y(_0xbde922,'Total')+':\x20')}]},{'text':_0x2a49de['to']('_statusText')}]},new _0x2bcf46(),{'tag':'div','attributes':{'class':['ck-revision-history-ui__changes-navigation__navigation']},'children':[_0x5875e7,_0x2c6d95]}]});}}const ce='ck-editor__editable__loading-overlay';class de extends _0x12757e{static get['pluginName'](){return'RevisionViewerLoadingOverlay';}['show'](){const _0x30069a=this['editor']['editing']['view'];_0x30069a['change'](_0x232c0f=>{for(const _0x5c1a45 of _0x30069a['document']['roots'])_0x232c0f['addClass'](ce,_0x5c1a45);});}['hide'](){const _0x5ef70d=this['editor']['editing']['view'];_0x5ef70d['change'](_0x547847=>{for(const _0x5ae02c of _0x5ef70d['document']['roots'])_0x547847['removeClass'](ce,_0x5ae02c);});}}class R extends _0x12757e{static get['pluginName'](){return'RevisionViewerUI';}static get['requires'](){return[d,de];}['init'](){const _0x40c571=this['editor'],_0x133fb6=_0x40c571['plugins']['get'](d),_0x13b0ad=_0x40c571['plugins']['get'](de);_0x40c571['ui']['componentFactory']['add']('exitToEditing',_0x649c2=>{const _0x442b76=new _0x5eef24(_0x649c2);return _0x442b76['set']({'label':y(_0x649c2,'Back\x20to\x20editing'),'icon':_0x37e7f5['undo'],'withText':!0x0,'tooltip':!0x0,'class':'ck-revision-history-ui__back-to-editing'}),this['listenTo'](_0x442b76,'execute',()=>{_0x40c571['config']['get']('revisionHistory')['closeRevisionViewerCallback']();}),_0x442b76;}),_0x40c571['ui']['componentFactory']['add']('restoreRevision',_0x32dc87=>{const _0x31e852=new _0x5eef24(_0x32dc87);return _0x31e852['set']({'label':y(_0x32dc87,'Restore\x20this\x20revision'),'withText':!0x0,'tooltip':!0x0}),_0x31e852['bind']('isEnabled')['to'](_0x40c571['commands']['get']('restoreRevision')),this['listenTo'](_0x31e852,'execute',()=>_0x40c571['execute']('restoreRevision')),_0x31e852;}),_0x40c571['ui']['componentFactory']['add']('changesNavigation',_0x16b9c1=>{const _0x35fbba=new _i(_0x16b9c1),_0x5697f0=_0x40c571['commands']['get']('showPreviousChange'),_0x10662d=_0x40c571['commands']['get']('showNextChange');return _0x35fbba['bind']('isBackwardNavigationEnabled')['to'](_0x5697f0,'isEnabled'),_0x35fbba['bind']('isForwardNavigationEnabled')['to'](_0x10662d,'isEnabled'),_0x35fbba['bind']('isReady','currentChangeNumber','numberOfChanges','isNavigationMode')['to'](_0x133fb6),this['listenTo'](_0x35fbba,'execute',(_0x244572,_0x51af9f)=>{_0x40c571['execute']('forward'===_0x51af9f?'showNextChange':'showPreviousChange');}),_0x35fbba;}),_0x13b0ad['show'](),_0x133fb6['on']('change:isReady',(_0x362c3b,_0x3bf6fb,_0x1839e8)=>{_0x1839e8?_0x13b0ad['hide']():_0x13b0ad['show']();});}}class kt extends at{['_resizeObserver']=null;constructor(_0x2a8aec,_0x1fbc93){super(_0x2a8aec,_0x1fbc93);const _0x53cf31=this['bindTemplate'];this['set']({'label':y(_0x2a8aec,'Revision\x20name'),'_tooltipString':''}),this['fieldView']['placeholder']=y(_0x2a8aec,'Enter\x20the\x20revision\x20name'),this['extendTemplate']({'tag':'span','attributes':{'class':['ck-revision-history-sidebar__revision-name'],'data-cke-tooltip-text':_0x53cf31['to']('_tooltipString'),'data-cke-tooltip-position':'s','data-cke-tooltip-class':'ck-tooltip_multi-line'}});}['render'](){super['render'](),this['_resizeObserver']=new mt(this['fieldView']['element'],()=>this['_updateTooltipText']()),this['listenTo'](this['fieldView'],'input',()=>this['_updateTooltipText']());}['destroy'](){super['destroy'](),this['_resizeObserver']&&this['_resizeObserver']['destroy']();}['_updateTooltipText'](){const _0x42c610=this['fieldView']['element'];this['_tooltipString']=_0x42c610['scrollWidth']>_0x42c610['clientWidth']&&_0x42c610['value']||'';}}class ti extends _0x423130{constructor(_0x1d3e22,_0x399b93,_0x4dfc58){super(_0x1d3e22);const _0x1a74bf=new _0x2bed6c();_0x1a74bf['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 _0x56c3a6=['ck','ck-revision-history-sidebar__revision-author'];_0x4dfc58&&_0x56c3a6['push']('ck-revision-history-sidebar__revision-author_creator');const _0x50d449=[{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__revision-author__name'],'title':y(_0x1d3e22,_0x4dfc58?'Revision\x20creator':'Revision\x20author')},'children':[_0x1a74bf,_0x399b93['name']]}];this['setTemplate']({'tag':'li','attributes':{'class':_0x56c3a6},'children':_0x50d449});}}function ni(_0x1cd9a4,_0x55acf8){const _0x4ba0e9=_0x1cd9a4['bindTemplate'],_0x402507=_0x1cd9a4['locale'],_0x3da051=_0x464bb6(_0x402507);_0x3da051['panelPosition']='sw';const _0x288b9e=function(_0x532c24,_0x1a9893){const _0x5bf5be=function(_0x3642cb,_0x13df6c){const _0x4919fa=_0x3642cb['locale'],_0x4e47f7={'Compare\x20against\x20selected':y(_0x4919fa,'Compare\x20against\x20selected'),'Name\x20this\x20revision':y(_0x4919fa,'Name\x20this\x20revision'),'Restore\x20this\x20revision':y(_0x4919fa,'Restore\x20this\x20revision')};return _0x13df6c['map'](_0x129d52=>{const _0xf6e34a=_0x4e47f7[_0x129d52['name']];return _0xf6e34a&&_0xf6e34a!==_0x129d52['name']&&(_0x129d52['name']=_0xf6e34a),_0x129d52;});}(_0x532c24,_0x1a9893),_0x1239a0=new _0x20b247();for(const _0x254d63 of _0x5bf5be){const _0x4908e5={'type':'button','model':new to({'label':_0x254d63['name'],'class':_0x254d63['class'],'withText':!0x0,'role':'menuitem','_action':_0x254d63['action']})};_0x4908e5['model']['bind']('isEnabled')['to'](_0x532c24,'isActionsDropdownOpen',_0x553e98=>'function'!=typeof _0x254d63['isEnabled']||(!_0x553e98||_0x254d63['isEnabled'](_0x532c24))),_0x1239a0['add'](_0x4908e5);}return _0x1239a0;}(_0x1cd9a4,_0x55acf8);return _0x1cd9a4['bind']('isActionsDropdownOpen')['to'](_0x3da051,'isOpen'),_0x3da051['buttonView']['set']({'label':y(_0x402507,'Show\x20more\x20items'),'tooltip':!0x0,'tooltipPosition':'sw','icon':_0x37e7f5['threeVerticalDots']}),_0x3da051['extendTemplate']({'attributes':{'class':['ck-revision-history-sidebar__revision__actions',_0x4ba0e9['if']('isActionsDropdownOpen','ck-on')]},'on':{'click':_0x4ba0e9['to'](_0x163dce=>_0x163dce['stopPropagation']())}}),_0x3da051['on']('execute',_0xc8796f=>{_0x1cd9a4['isReady']&&'function'==typeof _0xc8796f['source']['_action']&&_0xc8796f['source']['_action'](_0x1cd9a4);}),_0x1ce8dc(_0x3da051,_0x288b9e,{'role':'menu'}),_0x3da051['listenTo'](_0x1cd9a4,'change:isActionsDropdownOpen',(_0x261498,_0x22c339,_0x159abc)=>{if(_0x159abc)for(const _0x40e504 of _0x3da051['listView']['items']){const _0x4a6fd6=_0x40e504['children']['first'],_0x545245=_0x55acf8['find'](_0x2614e8=>_0x2614e8['action']===_0x4a6fd6['_action'])['isVisible'];_0x40e504['isVisible']=void 0x0===_0x545245||_0x545245(_0x1cd9a4);}}),_0x3da051;}class ai extends/* #__PURE__ -- @preserve */
|
|
26
|
+
_0x4295d0(_0x423130){['id'];['revisionNameView'];['revisionActionsView'];['_revision'];['_requireRevisionName'];constructor(_0x5b179f,_0x41d476,_0x3c503a,_0x4952de){super(_0x5b179f);const _0x10a4f0=this['bindTemplate'],_0x42efa7=function(_0x181862,_0xb2955d){const _0x1bd0b2=Array['from'](_0xb2955d['authors'])['filter'](_0xe4db02=>_0xe4db02!=_0xb2955d['creator']);return _0xb2955d['creator']&&_0x1bd0b2['unshift'](_0xb2955d['creator']),_0x1bd0b2['map'](_0x1973a8=>new ti(_0x181862,_0x1973a8,_0x1973a8==_0xb2955d['creator']));}(_0x5b179f,_0x41d476);this['id']=_0x41d476['id'],this['_revision']=_0x41d476,this['_requireRevisionName']=_0x4952de,this['bind']('name','createdAt')['to'](_0x41d476),this['bind']('_createdAtFormatted')['to'](this,'createdAt',_0x229711=>{return _0x379c12=_0x5b179f['uiLanguage'],(_0x5318a8=_0x229711)['toLocaleDateString'](_0x379c12,{'month':'long','day':'numeric'})+',\x20'+_0x5318a8['toLocaleTimeString'](_0x379c12,{'hour':'numeric','minute':'numeric'});var _0x379c12,_0x5318a8;}),this['set']('isSelected',!0x1),this['set']('isHighlighted',!0x1),this['set']('isActionsDropdownOpen',!0x1),this['set']('isReady',!0x1),this['set']('isEnabled',!0x1),this['revisionNameView']=new kt(_0x5b179f,_0x5e3ddd),this['revisionNameView']['fieldView']['extendTemplate']({'attributes':{'maxlength':'220'}}),this['revisionNameView']['fieldView']['bind']('value')['to'](this,'name',_0x2d7add=>_0x2d7add||this['_createdAtFormatted']),this['revisionNameView']['bind']('isEnabled')['to'](this,'isSelected',this,'isEnabled',(_0x48c452,_0x1cd9c6)=>_0x48c452&&_0x1cd9c6),this['revisionActionsView']=_0x3c503a&&_0x3c503a['length']?ni(this,_0x3c503a):'',this['revisionActionsView']&&this['revisionActionsView']['bind']('isEnabled')['to'](this),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision-wrapper',_0x10a4f0['if']('isConfirm','ck-revision-history-sidebar__revision-wrapper_confirmation_visible')]},'children':[{'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision',_0x10a4f0['if']('isEnabled','ck-disabled',_0x43b51e=>!_0x43b51e),_0x10a4f0['if']('isSelected','ck-revision-history-sidebar__revision_selected'),_0x10a4f0['if']('isHighlighted','ck-revision-history-sidebar__revision_highlighted'),_0x10a4f0['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':_0x10a4f0['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':_0x42efa7}]},this['revisionActionsView']],'on':{'click':_0x10a4f0['to'](_0x1e7bdd=>{_0x1e7bdd['srcElement']['closest']('.ck-thread__remove-confirm')||this['isReady']&&this['isEnabled']&&this['fire']('select',{'id':this['id']});})}}]});}['render'](){super['render']();const _0x273063=this['revisionNameView']['fieldView']['element'];this['listenTo'](_0x273063,'change',()=>{this['_requireRevisionName']&&!_0x273063['value']||this['fire']('setName',{'id':this['id'],'name':_0x273063['value']}),_0x273063['value']||(_0x273063['value']=this['name']?this['name']:this['_createdAtFormatted']);});}['select'](){this['isSelected']=!0x0;}['deselect'](){this['isSelected']=!0x1;}['highlight'](){this['isHighlighted']=!0x0;}['unhighlight'](){this['isHighlighted']=!0x1;}}function di(_0x1f2812,_0x186999){const _0x1044ca=_0x5b1fa0['fromJSDate'](_0x1f2812)['setLocale'](_0x186999),_0x5a602f=_0x5b1fa0['local'](),_0x544617=_0x5a602f['minus']({'days':0x1})['startOf']('day');let _0xabb32,_0x4ba18d;return _0x1044ca['hasSame'](_0x5a602f,'day')?(_0xabb32=_0x1044ca['startOf']('day')['toJSDate'](),_0x4ba18d=_0x1044ca['toRelativeCalendar']()):_0x1044ca['hasSame'](_0x544617,'day')?(_0xabb32=_0x544617['toJSDate'](),_0x4ba18d=_0x1044ca['toRelativeCalendar']()):_0x1044ca['hasSame'](_0x5a602f,'week')?(_0xabb32=_0x1044ca['startOf']('week')['toJSDate'](),_0x4ba18d=_0x1044ca['weekdayLong']||''):_0x1044ca['hasSame'](_0x5a602f,'year')?(_0xabb32=_0x1044ca['startOf']('month')['toJSDate'](),_0x4ba18d=_0x1044ca['monthLong']||''):(_0xabb32=_0x1044ca['startOf']('year')['toJSDate'](),_0x4ba18d=String(_0x1044ca['year'])),{'startDate':_0xabb32,'localizedPeriodName':_0x4ba18d};}class mi extends _0x423130{['startDate'];['revisionViews'];['_revisionActions'];['_requireRevisionName'];constructor(_0x295e90,_0x2c063b,_0x312acf,_0x42228c){super(_0x295e90);const _0xf57255=di(_0x2c063b,this['locale']['uiLanguage'])['localizedPeriodName'];this['startDate']=_0x2c063b,this['revisionViews']=this['createCollection'](),this['_revisionActions']=_0x312acf,this['_requireRevisionName']=_0x42228c,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':_0xf57255}]},{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__time-period__revisions']},'children':this['revisionViews']}]});}['addRevision'](_0xd4466a){const _0x1324db=new ai(this['locale'],_0xd4466a,this['_revisionActions'],this['_requireRevisionName']);this['revisionViews']['add'](_0x1324db);}['removeRevision'](_0x582223){const _0x35de63=this['revisionViews']['find'](_0x3c25cc=>_0x3c25cc['id']===_0x582223['id']);this['revisionViews']['remove'](_0x35de63);}}class as extends _0x423130{constructor(_0x340bf9){super(_0x340bf9);const _0x4e7192=new _0x2bed6c();_0x4e7192['content']=_0x37e7f5['history'],this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all','ck-revision-history-sidebar__header']},'children':[_0x4e7192,{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__header__label']},'children':[y(_0x340bf9,'Revision\x20history')]}]});}}class ci extends _0x423130{['timePeriodViews'];['_revisions'];['_revisionActions'];['_requireRevisionName'];constructor(_0x218fa9,_0x13471a,_0x477ba5,_0x324f1a){super(_0x218fa9);const _0x2447f7=this['bindTemplate'];this['timePeriodViews']=this['createCollection'](),this['timePeriodViews']['delegate']('select')['to'](this),this['timePeriodViews']['delegate']('setName')['to'](this),this['_revisions']=_0x13471a,this['_revisionActions']=_0x477ba5,this['_requireRevisionName']=_0x324f1a,this['on']('select',(_0xda8111,_0x11a410)=>{this['fire']('revisionSelected',_0x11a410);}),this['on']('setName',(_0x41836b,_0x42157f)=>{this['fire']('revisionSetName',_0x42157f);}),this['set']('isEnabled',!0x1),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-rounded-corners','ck-revision-history-sidebar']},'children':[new as(_0x218fa9),{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__timeline',_0x2447f7['if']('isEnabled','ck-disabled',_0x5df4b9=>!_0x5df4b9)]},'children':this['timePeriodViews']}]});}['render'](){super['render']();for(const _0x11c608 of this['_revisions'])this['_addRevision'](_0x11c608);this['_revisions']['on']('add',(_0x4c7b72,_0x2a41d4)=>{this['_addRevision'](_0x2a41d4);}),this['_revisions']['on']('remove',(_0x1bda7e,_0x2716ca)=>{this['_removeRevision'](_0x2716ca);});}get['revisionViews'](){return this['timePeriodViews']['map'](_0x343720=>_0x343720['revisionViews']['map'](_0x4300d5=>_0x4300d5))['flat']();}['selectRevision'](_0x121d87){for(const _0x1fa4a9 of this['revisionViews'])_0x121d87&&_0x121d87['id']===_0x1fa4a9['id']?_0x1fa4a9['select']():_0x1fa4a9['deselect']();}['highlightRevisions'](_0x572daa){for(const _0x49d15f of this['revisionViews'])_0x572daa['some'](({id:_0x2c4590})=>_0x2c4590===_0x49d15f['id'])?_0x49d15f['highlight']():_0x49d15f['unhighlight']();}['_addRevision'](_0x174cd3){const _0x46a457=di(_0x174cd3['createdAt'],this['locale']['uiLanguage'])['startDate'];let _0x2ec2d1=this['timePeriodViews']['get'](0x0);_0x2ec2d1&&_0x2ec2d1['startDate']['getTime']()===_0x46a457['getTime']()||(_0x2ec2d1=new mi(this['locale'],_0x46a457,this['_revisionActions'],this['_requireRevisionName']),this['timePeriodViews']['add'](_0x2ec2d1)),_0x2ec2d1['addRevision'](_0x174cd3);}['_removeRevision'](_0x14be12){const _0xeeaef=di(_0x14be12['createdAt'],this['locale']['uiLanguage'])['startDate'];this['_getTimePeriodViewByStartDate'](_0xeeaef)['removeRevision'](_0x14be12);}['_getTimePeriodViewByStartDate'](_0xc53067){return this['timePeriodViews']['find'](_0x20d1ee=>_0x20d1ee['startDate']['getTime']()===_0xc53067['getTime']());}}class w extends _0x12757e{['_revisionViewer'];['_revisionsRepository'];['_sidebarView'];static ['defaultRevisionActions']=/* #__PURE__ -- @preserve */
|
|
27
|
+
((()=>['compareAgainstSelected','restoreRevision','nameRevision'])());static ['availableRevisionActions']=/* #__PURE__ -- @preserve */
|
|
28
|
+
Rt();static get['pluginName'](){return'RevisionsSidebar';}static get['requires'](){return[d];}constructor(_0x126516){super(_0x126516),this['_revisionViewer']=_0x126516['plugins']['get'](d),this['_revisionsRepository']=this['_revisionViewer']['repository'],this['_sidebarView']=null;}['init'](){const _0x3c0e61=this['_revisionsRepository']['_revisions'],_0x29977f=this['_createRevisionActions'](),_0x1db333=this['editor']['config']['get']('revisionHistory.viewerSidebarContainer');this['_sidebarView']=new ci(this['editor']['locale'],_0x3c0e61,_0x29977f,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',(_0x61c57b,_0x476164)=>{_0x476164['revisionViews']['on']('add',(_0x14227b,_0x24c96e)=>{_0x24c96e['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)),_0x1db333['appendChild'](this['_sidebarView']['element']);}['destroy'](){this['_sidebarView']['element']['remove'](),this['_sidebarView']['destroy']();}['_handleEditorDataReady'](){const _0x30b629=this['_revisionsRepository']['getRevision'](0x0);if(_0x30b629){const _0x577377=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x30b629['id']);this['_revisionViewer']['compare'](_0x30b629,_0x577377);}}['_handleRevisionSelected'](_0x32fcb4,_0x3eacb5){const _0x141a5d=this['_revisionsRepository']['getRevision'](_0x3eacb5['id']),_0x5af201=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x141a5d['id']);this['_revisionViewer']['compare'](_0x141a5d,_0x5af201);}['_handleRevisionSetName'](_0x1fe127,_0x44034e){this['_revisionsRepository']['getRevision'](_0x44034e['id'])['setName'](_0x44034e['name']);}['_handleDiffChange'](_0x1e1232,_0x3b46c9,_0x3407d6){const _0x244b54=this['_revisionsRepository']['getRevisionsInDiff'](_0x3407d6);_0x244b54['length']>0x2?(this['_sidebarView']['highlightRevisions'](_0x244b54),this['_sidebarView']['selectRevision'](null)):(this['_sidebarView']['highlightRevisions']([]),this['_sidebarView']['selectRevision'](_0x244b54[0x0]));}['_createRevisionActions'](){const _0x4f0644=this['editor'],_0x1f2536=w['availableRevisionActions'],_0x3059e4=_0x4f0644['config']['get']('revisionHistory.revisionActions')||w['defaultRevisionActions'];if(_0x3059e4['length'])return _0x3059e4['map'](_0x2c60b5=>{const _0xab5417='string'==typeof _0x2c60b5?Object['assign']({},_0x1f2536[_0x2c60b5]):_0x2c60b5;return _0xab5417['action']=_0xab5417['action']['bind'](this,_0x4f0644),_0xab5417['isVisible']&&(_0xab5417['isVisible']=_0xab5417['isVisible']['bind'](this,_0x4f0644)),_0xab5417;});}}function Rt(){return{'compareAgainstSelected':{'name':'Compare\x20against\x20selected','action':({plugins:_0x3c73b9},_0x30ebbb)=>{const _0x25bec2=_0x3c73b9['get'](d),_0x2fc303=_0x25bec2['repository'];let _0x46f6db=_0x25bec2['diff']['newRevisionId'],_0x181b8c=_0x30ebbb['id'];_0x2fc303['getIndex'](_0x46f6db)>_0x2fc303['getIndex'](_0x181b8c)&&([_0x46f6db,_0x181b8c]=[_0x181b8c,_0x46f6db]),_0x25bec2['compare'](_0x46f6db,_0x181b8c);},'isVisible':({plugins:_0x19a86b},_0x19191d)=>{const _0x4e047a=_0x19a86b['get'](d);return!(_0x4e047a['repository']['getRevisionsInDiff'](_0x4e047a['diff'])['length']>0x2)&&!_0x19191d['isSelected'];}},'restoreRevision':{'name':'Restore\x20this\x20revision','action':(_0x477c6c,{id:_0x511d67})=>{_0x477c6c['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x511d67);},'isVisible':({plugins:_0x395117},_0x213c8b)=>!!_0x395117['get'](d)['repository']['getLaterVisibleRevision'](_0x213c8b['id'])},'nameRevision':{'name':'Name\x20this\x20revision','action':({plugins:_0x47a7af},{id:_0x47b0f2,revisionNameView:_0x5a6d1b})=>{const _0x1aabef=_0x47a7af['get'](d),_0x3645d9=_0x1aabef['repository']['getEarlierVisibleRevision'](_0x47b0f2);_0x1aabef['compare'](_0x47b0f2,_0x3645d9),_0x5a6d1b['focus'](),_0x5a6d1b['fieldView']['select']();}}};}class st extends ht{['_view'];['_toolbarConfig'];['_elementReplacer'];get['view'](){return this['_view'];}constructor(_0x4269dc,_0xfdf19e){super(_0x4269dc),this['_view']=_0xfdf19e,this['_toolbarConfig']=ct(_0x4269dc['config']['get']('toolbar')),this['_elementReplacer']=new nt();}get['element'](){return this['view']['element'];}['init'](_0x27c58c){const _0x2adf1c=this['editor'],_0x346f56=this['view'],_0x4c0ec6=_0x2adf1c['editing']['view'],_0x113cf7=_0x346f56['editable'],_0x3a25fc=_0x4c0ec6['document']['getRoot']();_0x113cf7['name']=_0x3a25fc['rootName'],_0x346f56['render']();const _0x135944=_0x113cf7['element'];this['setEditableElement'](_0x113cf7['name'],_0x135944),_0x346f56['editable']['bind']('isFocused')['to'](this['focusTracker']),_0x4c0ec6['attachDomRoot'](_0x135944),this['_elementReplacer']['replace'](_0x27c58c,this['element']),this['_initToolbar'](),this['fire']('ready');}['destroy'](){super['destroy']();const _0x1ad94d=this['view'],_0x54469f=this['editor']['editing']['view'];this['_elementReplacer']['restore'](),_0x54469f['detachDomRoot'](_0x1ad94d['editable']['name']),_0x1ad94d['destroy']();}['_initToolbar'](){const _0x1266c8=this['view'];_0x1266c8['stickyPanel']['bind']('isActive')['to'](this['focusTracker'],'isFocused'),_0x1266c8['stickyPanel']['limiterElement']=_0x1266c8['element'],_0x1266c8['stickyPanel']['bind']('viewportTopOffset')['to'](this,'viewportOffset',({top:_0x1e734a})=>_0x1e734a),_0x1266c8['toolbar']['fillFromConfig'](this['_toolbarConfig'],this['componentFactory']),this['addToolbar'](_0x1266c8['toolbar']);}}class ot extends dt{['_editable'];['stickyPanel'];['toolbar'];get['editable'](){return this['_editable'];}constructor(_0x4f0fac,_0x7de1a2,_0x25a579={}){super(_0x4f0fac),this['stickyPanel']=new lt(_0x4f0fac),this['toolbar']=new pt(_0x4f0fac,{'shouldGroupWhenFull':_0x25a579['shouldToolbarGroupWhenFull']}),this['_editable']=new ut(_0x4f0fac,_0x7de1a2);}['render'](){super['render'](),this['stickyPanel']['content']['add'](this['toolbar']),this['top']['add'](this['stickyPanel']),this['main']['add'](this['editable']);}}class m extends/* #__PURE__ -- @preserve */
|
|
29
|
+
rt(it){['_ui'];get['ui'](){return this['_ui'];}constructor(_0x185b2c,_0x174a55){super(_0x174a55),this['sourceElement']=_0x185b2c,this['model']['document']['createRoot']();const _0x78baf2=new ot(this['locale'],this['editing']['view'],{'shouldToolbarGroupWhenFull':!0x0});this['_ui']=new st(this,_0x78baf2);}['destroy'](){return this['updateSourceElement'](),this['ui']['destroy'](),super['destroy']();}static async['create'](_0x40a971,_0x4f2308){const _0x4649fe=new this(_0x40a971,_0x4f2308);return await _0x4649fe['initPlugins'](),await _0x4649fe['ui']['init'](_0x40a971),await _0x4649fe['data']['init'](_0x4649fe['config']['get']('initialData')||''),_0x4649fe['fire']('ready'),_0x4649fe;}}const p=['RevisionHistoryUI','RestrictedEditingMode'];class k extends _0x12757e{['result'];static get['pluginName'](){return'RevisionViewerIntegration';}constructor(_0x3fefd4){super(_0x3fefd4),this['result']='end';}}class H extends _0x12757e{['_viewerEditor'];static get['pluginName'](){return'RevisionHistory';}static get['requires'](){return[l,u];}constructor(_0x43b641){if(super(_0x43b641),!this['editor']['config']['get']('revisionHistory'))throw new _0x1beeca('revision-history-missing-configuration',this);this['_viewerEditor']=null,this['editor']['config']['define']('revisionHistory.showRevisionViewerCallback',_0x2afdf6=>this['_showRevisionViewer']({..._0x2afdf6,'translations':this['editor']['locale']['translations']})),this['editor']['config']['define']('revisionHistory.closeRevisionViewerCallback',_0x3a3e74=>this['_closeRevisionViewer'](_0x3a3e74)),this['editor']['config']['define']('revisionHistory.restoreRevisionCallback',_0x2a72d1=>this['_restoreRevision'](_0x2a72d1)),this['editor']['config']['define']('revisionHistory.requireRevisionName',!0x1),this['_enhanceShowRevisionViewerCallback'](),this['_enhanceCloseRevisionViewerCallback']();}set['adapter'](_0x3a7afb){this['editor']['plugins']['get']('RevisionTracker')['adapter']=_0x3a7afb;}get['adapter'](){return this['editor']['plugins']['get']('RevisionTracker')['adapter'];}['addRevisionData'](_0x5685cb){return this['editor']['plugins']['get']('RevisionTracker')['addRevisionData'](_0x5685cb);}['getRevision'](_0x473446){return this['editor']['plugins']['get']('RevisionsRepository')['getRevision'](_0x473446);}['getRevisions'](_0xa77375){return this['editor']['plugins']['get']('RevisionsRepository')['getRevisions'](_0xa77375||{'toJSON':!0x1});}['_getRevisionViewerEditorConfig'](){const _0x399479=this['editor'],_0x1e710e=_0x54ed26(_0x399479,p),_0x55a440=_0x399479['plugins']['get']('RevisionTracker'),_0x5c2527=_0x399479['plugins']['get']('Users')['users'];return _0x1e710e['toolbar']=['exitToEditing','restoreRevision','changesNavigation'],delete _0x1e710e['lazyRoots'],(_0x1e710e['plugins']['push'](k,d,R,class extends _0x12757e{static get['requires'](){return[d,'Users'];}['init'](){const _0x3f55a3=this['editor']['plugins']['get']('Users');for(const _0x1b276e of _0x5c2527)_0x1b276e['isAnonymous']||_0x3f55a3['getUser'](_0x1b276e['id'])||_0x3f55a3['addUser'](_0x1b276e);const _0x2fc272=_0x55a440['repository']['getRevisions']();let _0x41059f=null;const _0x54f472=this['editor']['plugins']['get']('RevisionViewer');_0x54f472['adapter']=_0x55a440['adapter'],_0x54f472['bind']('isEnabled')['to'](_0x55a440),this['editor']['commands']['get']('restoreRevision')['bind']('isEnabled')['to'](_0x399479,'isReadOnly',_0x161ca3=>!_0x161ca3);for(const _0x19b142 of _0x2fc272){const _0x215ebf=null===_0x19b142['creator'];if(_0x215ebf&&_0x19b142['toVersion']===_0x19b142['fromVersion'])continue;const _0x19752c=_0x19b142['toJSON']();_0x54f472['addRevisionData'](_0x19752c,(_0x2f26b0,_0xcef62f,_0x3bf0bc)=>{if(_0x215ebf){if(_0x41059f)_0x41059f['_update'](_0x2f26b0,_0xcef62f);else{if(!_0xcef62f){const _0x59ec0d=_0x3bf0bc['toJSON']();_0x59ec0d['id']=_0x2d8c49(),_0x55a440['saveRevision'](_0x59ec0d,_0x3bf0bc['toVersion'])['then'](_0x5ad231=>{_0x41059f=_0x5ad231;});}}}else _0x19b142['_update'](_0x2f26b0,_0xcef62f);});}}},w),_0x1e710e);}['_enhanceShowRevisionViewerCallback'](){const _0xfa28a9=this['editor']['config']['get']('revisionHistory')['showRevisionViewerCallback'];this['editor']['config']['set']('revisionHistory.showRevisionViewerCallback',async()=>{this['editor']['enableReadOnlyMode']('revision-history-viewer-opened');const _0x462523=this['editor']['plugins']['get']('RevisionTracker');if(this['editor']['plugins']['has']('Autosave')){const _0x32a002=this['editor']['plugins']['get']('Autosave');await _0x32a002['save']();}else await _0x462523['update']();if(this['editor']['plugins']['has']('PaginationLookup')&&this['editor']['plugins']['get']('PaginationLookup')['_recalculatePageBreaks'](),this['editor']['plugins']['has']('Dialog')){const _0x15d0ee=this['editor']['plugins']['get']('Dialog');_0x15d0ee['isOpen']&&_0x15d0ee['hide']();}const _0x44ab09=this['_getRevisionViewerEditorConfig']();return _0xfa28a9(_0x44ab09)['then'](_0x1d3cac=>{return(this['_viewerEditor']=_0x1d3cac,this['editor']['plugins']['has']('Annotations'))&&this['editor']['plugins']['get']('Annotations')['refreshVisibility'](),_0x1d3cac;})['catch'](_0x2e45f0=>(console['error'](_0x2e45f0),this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),null));});}['_enhanceCloseRevisionViewerCallback'](){const _0x13b2bd=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'](),_0x13b2bd(this['_viewerEditor'])['then'](()=>{if(this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),this['_viewerEditor']=null,this['editor']['plugins']['has']('Annotations')){const _0x33cce5=this['editor']['plugins']['get']('Annotations');_0x33cce5['refreshVisibility'](),_0x33cce5['refreshPositioning']();}})));}['_showRevisionViewer'](_0x124dfc){const _0x465204=this['editor']['config']['get']('revisionHistory.editorContainer'),_0x20dbae=this['editor']['config']['get']('revisionHistory.viewerContainer'),_0x2863b1=this['editor']['config']['get']('revisionHistory.viewerEditorElement');return m['create'](_0x2863b1,_0x124dfc)['then'](_0x44f40a=>(_0x20dbae['style']['display']='block',_0x465204['style']['display']='none',_0x44f40a));}['_closeRevisionViewer'](_0x37cf52){const _0x4fc3a1=this['editor']['config']['get']('revisionHistory.editorContainer');return this['editor']['config']['get']('revisionHistory.viewerContainer')['style']['display']='none',_0x4fc3a1['style']['display']='',_0x37cf52['destroy']();}async['_restoreRevision'](_0x45e764){const _0x3278b1=this['editor'],_0xcedc19=this['_viewerEditor']['plugins']['get']('RevisionViewer'),_0x1e4ba3=_0x3278b1['plugins']['get']('RevisionTracker'),_0x29adc8=_0xcedc19['repository']['getRevision'](_0x45e764);let _0x322b1a,_0x48ff43,_0xecb8d;try{_0x322b1a=await _0xcedc19['getRevisionData'](_0x29adc8),_0x48ff43=await _0xcedc19['getRevisionRootsAttributes'](_0x29adc8);}catch(_0x5ed2fc){return void console['error'](_0x5ed2fc);}_0x3278b1['model']['change'](_0x56a1c0=>{for(const _0x23f08a of Array['from'](_0x3278b1['model']['markers']['getMarkersGroup']('restrictedEditingException')))_0x56a1c0['removeMarker'](_0x23f08a);}),_0xcedc19['isReady']=!0x1,_0x3278b1['model']['enqueueChange'](_0xdf555f=>{_0xdf555f['setSelection'](null),_0xdf555f['removeSelectionAttribute'](_0x3278b1['model']['document']['selection']['getAttributeKeys']());const _0x54f7d8=Object['keys'](_0x322b1a);for(const _0x2b0b07 of _0x3278b1['model']['document']['roots'])'$graveyard'!=_0x2b0b07['rootName']&&_0x2b0b07['isAttached']()&&!_0x54f7d8['includes'](_0x2b0b07['rootName'])&&_0xdf555f['detachRoot'](_0x2b0b07);for(const _0x4576d4 of _0x54f7d8){let _0x514628=_0x3278b1['model']['document']['getRoot'](_0x4576d4);_0x514628&&_0x514628['isAttached']()||(_0x514628=_0xdf555f['addRoot'](_0x4576d4));const _0x19298f=_0x48ff43[_0x4576d4],_0x4bf557=Object['keys'](_0x19298f),_0x177ecb=_0x322b1a[_0x4576d4];for(const _0x52cdad of _0x514628['getAttributeKeys']())_0x4bf557['includes'](_0x52cdad)||_0xdf555f['removeAttribute'](_0x52cdad,_0x514628);for(const _0x5582c6 of _0x4bf557)_0xdf555f['setAttribute'](_0x5582c6,_0x48ff43[_0x4576d4][_0x5582c6],_0x514628);_0xdf555f['remove'](_0xdf555f['createRangeIn'](_0x514628)),_0xdf555f['insert'](_0x3278b1['data']['parse'](_0x177ecb,_0x514628),_0x514628,0x0);}});const _0x5a193d=y(_0x3278b1['locale'],'Restored');if(_0x29adc8['name'])_0xecb8d=-0x1==_0x29adc8['name']['indexOf'](_0x5a193d)?_0x5a193d+':\x20'+_0x29adc8['name']:_0x29adc8['name'];else _0xecb8d=_0x5a193d+':\x20'+(_0x29adc8['createdAt']['toLocaleDateString'](_0x3278b1['locale']['uiLanguage'],{'month':'long','day':'numeric'})+',\x20'+_0x29adc8['createdAt']['toLocaleTimeString'](_0x3278b1['locale']['uiLanguage'],{'hour':'numeric','minute':'numeric'}));return await _0x1e4ba3['saveRevision']({'name':_0xecb8d}),_0xcedc19['isReady']=!0x0,_0x3278b1['config']['get']('revisionHistory')['closeRevisionViewerCallback']();}}export{H as RevisionHistory,u as RevisionHistoryUI,l as RevisionTracker,d as RevisionViewer,de as RevisionViewerLoadingOverlay,R as RevisionViewerUI,A as RevisionsRepository,w as RevisionsSidebar};
|