@univerjs-pro/edit-history-loader 1.0.0-alpha.4 → 1.0.0-alpha.6
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/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/ar-SA.js +1 -1
- package/lib/cjs/locale/ca-ES.js +1 -1
- package/lib/cjs/locale/de-DE.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/es-ES.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/id-ID.js +1 -1
- package/lib/cjs/locale/it-IT.js +1 -1
- package/lib/cjs/locale/ja-JP.js +1 -1
- package/lib/cjs/locale/ko-KR.js +1 -1
- package/lib/cjs/locale/pl-PL.js +1 -1
- package/lib/cjs/locale/pt-BR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/sk-SK.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-HK.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/ar-SA.js +1 -1
- package/lib/es/locale/ca-ES.js +1 -1
- package/lib/es/locale/de-DE.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/es-ES.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/id-ID.js +1 -1
- package/lib/es/locale/it-IT.js +1 -1
- package/lib/es/locale/ja-JP.js +1 -1
- package/lib/es/locale/ko-KR.js +1 -1
- package/lib/es/locale/pl-PL.js +1 -1
- package/lib/es/locale/pt-BR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/sk-SK.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-HK.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/ar-SA.js +1 -1
- package/lib/locale/ca-ES.js +1 -1
- package/lib/locale/de-DE.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/es-ES.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/id-ID.js +1 -1
- package/lib/locale/it-IT.js +1 -1
- package/lib/locale/ja-JP.js +1 -1
- package/lib/locale/ko-KR.js +1 -1
- package/lib/locale/pl-PL.js +1 -1
- package/lib/locale/pt-BR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/sk-SK.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-HK.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/ar-SA.js +1 -1
- package/lib/umd/locale/ca-ES.js +1 -1
- package/lib/umd/locale/de-DE.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/es-ES.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/id-ID.js +1 -1
- package/lib/umd/locale/it-IT.js +1 -1
- package/lib/umd/locale/ja-JP.js +1 -1
- package/lib/umd/locale/ko-KR.js +1 -1
- package/lib/umd/locale/pl-PL.js +1 -1
- package/lib/umd/locale/pt-BR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/sk-SK.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-HK.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +42 -42
package/lib/cjs/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x12f18d=_0x2b34;(function(_0x184623,_0x244da7){const _0x32fc51=_0x2b34,_0x30ecb5=_0x184623();while(!![]){try{const _0x485670=parseInt(_0x32fc51(0x190))/0x1*(-parseInt(_0x32fc51(0xfe))/0x2)+parseInt(_0x32fc51(0x15d))/0x3*(-parseInt(_0x32fc51(0x176))/0x4)+-parseInt(_0x32fc51(0x1e5))/0x5+parseInt(_0x32fc51(0x1e7))/0x6+-parseInt(_0x32fc51(0x1da))/0x7*(-parseInt(_0x32fc51(0x141))/0x8)+-parseInt(_0x32fc51(0x188))/0x9+parseInt(_0x32fc51(0x217))/0xa*(parseInt(_0x32fc51(0x202))/0xb);if(_0x485670===_0x244da7)break;else _0x30ecb5['push'](_0x30ecb5['shift']());}catch(_0x55fdf2){_0x30ecb5['push'](_0x30ecb5['shift']());}}}(_0x3089,0x6752f),Object[_0x12f18d(0x14b)](exports,Symbol[_0x12f18d(0x169)],{'value':_0x12f18d(0x1a4)}));let e=require('@univerjs/core'),t=require('@univerjs/sheets'),n=require('@univerjs-pro/collaboration'),r=require('@univerjs-pro/collaboration-client'),i=require('@univerjs-pro/edit-history-viewer'),a=require('@univerjs-pro/license'),o=require('@univerjs-pro/sheets-chart'),s=require('@univerjs-pro/sheets-chart-ui'),c=require('@univerjs-pro/sheets-pivot'),l=require('@univerjs-pro/sheets-shape'),u=require('@univerjs-pro/sheets-shape-ui'),d=require('@univerjs-pro/sheets-sparkline'),f=require('@univerjs-pro/sheets-sparkline-ui'),p=require('@univerjs/data-validation'),m=require('@univerjs/design'),h=require('@univerjs/docs'),g=require('@univerjs/docs-ui'),_=require('@univerjs/drawing'),v=require('@univerjs/drawing-ui'),y=require('@univerjs/engine-formula'),b=require('@univerjs/engine-render'),x=require('@univerjs/network'),S=require('@univerjs/rpc'),ee=require('@univerjs/sheets-conditional-formatting'),te=require('@univerjs/sheets-conditional-formatting-ui'),C=require('@univerjs/sheets-data-validation'),w=require('@univerjs/sheets-data-validation-ui'),T=require('@univerjs/sheets-drawing'),E=require('@univerjs/sheets-drawing-ui'),D=require('@univerjs/sheets-filter'),ne=require('@univerjs/sheets-filter-ui'),O=require('@univerjs/sheets-formula'),k=require('@univerjs/sheets-formula-ui'),re=require('@univerjs/sheets-hyper-link'),ie=require('@univerjs/sheets-hyper-link-ui'),ae=require('@univerjs/sheets-numfmt'),oe=require('@univerjs/sheets-table'),A=require('@univerjs/sheets-ui'),j=require('@univerjs/ui'),M=require('rxjs'),se=require('@univerjs/icons'),N=require('@univerjs-pro/collaboration-client-ui');const P=_0x12f18d(0x114),F={'historyPanelComponentKey':_0x12f18d(0x20a)};function _0x2b34(_0x57a1df,_0xaf12b0){_0x57a1df=_0x57a1df-0xf4;const _0x3089bc=_0x3089();let _0x2b347a=_0x3089bc[_0x57a1df];return _0x2b347a;}function _0x3089(){const _0x2e9f50=['IDialogService','univerContainerId','packageName','ToggleEditHistoryOperation','UniverRenderEnginePlugin','_themeService','mergeMenu','7282638JwWffc','LS_CONFIG_KEY','IPermissionService','object','getCurrentUnitOfType','map','IMessageService','historyAIassistantEnabled','11gptRlT','UniverSheetsDrawingPlugin','close','unsubscribe','left','terminate','univer-container','SetWorksheetActivateCommand','getUnitId','CollaborationController','ThemeService','1.0.0-alpha.4','univer.operation.toggle-edit-history','unMountHistoryContent','UniverDataValidationPlugin','edit-history-loader.info.initializing','_config','DisposableCollection','_selectionProtectionRuleModel','dispose','Module','DataLoaderService','mountHistoryContent','_registerIcons','_historyUniver$','getElementById','getCurrentRangeDisable$','get','UniverLicensePlugin','MenuItemType','_dataLoaderService','RibbonStartGroup','takeUntil','show','direction','CollaborationStatus','menu','subunit','toPrimitive','_messageService','history-container','@univerjs-pro/edit-history-loader','flat','IconManager','UniverSheetsFilterPlugin','historyPanelHidden','UNIVER_UNKNOWN','symbol','UniverSheetsHyperLinkPlugin','[MobileHistoryLoaderService]:\x20Plugin\x20','UniverEditHistoryLoaderPlugin','RangeProtectionRuleModel','univer.operation.exit-edit-history','univer-history-container','getParam','HistoryManagerService','session','zIndex','UniverSheetsDataValidationMobileUIPlugin','RxDisposable','UniverSheetsChartUIPlugin','string','dir','MessageType','IConfigService','CollaborationEvent','UniverCollaborationPlugin','UniverDocsUIPlugin','SYNCED','OTHERS','UniverSheetsMobileUIPlugin','top','_configService','UniverSheetsTablePlugin','2686845ldaefo','params','dispose$','getSheetId','fromCollab','_historyManagerService','Plugin','_urlService','setDarkMode','status$','exhaustSavingTask','1372320rvFfbc','_handleRevertAcknowledgement','1086990ealtoy','disposeUnit','ICommandService','UniverDocsPlugin','historyUniver','IImageIoService','getAllPlugins','_collaborationController','Error','workerURL','100%','UniverNetworkPlugin','decorate','version','UniverSheetsChartPlugin','prototype','has','Injector','_initContainer','UniverSheetsConditionalFormattingUIPlugin','getUnit','UniverSheetsConditionalFormattingPlugin','_localeService','UniverSheetsHyperLinkUIPlugin','UNIVER_EDIT_HISTORY_LOADER_PLUGIN','length','_pluginMap','11129206rSavSw','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','div','getCollabEntity','setDirection','state$','display','getLocales','history-panel','whenReady','getDirection','UniverInstanceType','from','style','BUTTON','_iconManager','event$','getActiveSheet','onSteady','mutations','some','10OjBoWX','UniverSheetsUIPlugin','function','_commandService','RangeProtectionPermissionEditPoint','Entered','asObservable','registerPlugin','UniverSheetsShapePlugin','onCommandExecuted','merge','appendChild','width','setLocale','getConfig','iterator','UniverSheetsPlugin','_init','ISidebarService','40932ITRBvP','getCurrentLocale','toDisposable','edit-history-loader.panel.revertFailed','executeCommand','UNIVER_CONTAINER_ID','permissionId','setConfig','loadUnit','next','_injector','edit-history-loader.panel.listFetchError','LocaleService','_initUniver','_menuManagerService','RevertRevisionMutation','_setupSubUnitSync','subscribe','clear','currentTheme$','UniverDrawingPlugin','_permissionService','edit-history-loader.config','setParam','Univer','UniverSheetsFilterUIPlugin','_initPlugins','IURLService','UNIVER_EDIT_HISTORY_LOADER_MOBILE_PLUGIN','absolute','_updateSubUnitFromURLParams','disposeWithMe','CommandType','UniverSheetsShapeUIPlugin','location','triggerCustomVersions','HistoryIcon','type','setTheme','none','getSheetBySheetId','UniverFormulaEnginePlugin','uComp','_sidebarService','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','Disposable','block','UniverSheetsPivotTablePlugin','UniverSheetSparklinePlugin','onStarting','Workbook','_dialogService','historyListServerUrl','ILocalCacheService','UniverSheetsDrawingUIPlugin','add','_internalWebWorker','IAuthzIoService','\x20has\x20been\x20registered.','pluginName','revertRevision$','[HistoryLoaderService]:\x20Plugin\x20','Loading','then','WorkbookRecoverHistoryPermission','values','composePermission','16gtjyBx','height','edit-history-loader.panel.reverting','getMenuHiddenObservable','_checkCanRevert','_initListener','createElement','_disposableCollection','data','darkMode$','defineProperty','_univerInstanceService','historyUniver$','forEach','pipe','__getInjector','closeAll','dataset','UniverSheetsFormulaUIPlugin','call','getOwnPropertyDescriptor','HistoryModeStatus','UniverSheetsNumfmtPlugin','IMenuManagerService','UniverSheetSparklineUIPlugin','triggerLoadVersions','UNIVER_SHEET','OPERATION','3UfnrGz','getSheets','urlChange$','UniverSheetsDataValidationPlugin','WorksheetEditPermission','WorkbookEditablePermission','invoke','AuthzIoHttpService','set','UniverSheetsDataValidationUIPlugin','_revertErrorTimer','IUniverInstanceService','toStringTag','UniverEditHistoryViewerMobilePlugin','WorkbookViewHistoryPermission','getSheetCommandTarget','activeSheet$','register','Exited','Inject','IRemoteInstanceService','_localCacheService','DependentOn','BehaviorSubject','getUnhiddenWorksheets','914376gbTvVW','_updateURLWithCurrentState','every','UniverSheetsFormulaPlugin','reload','getSubunitRuleList','position','UniverRPCMainThreadPlugin','value','UniverDrawingUIPlugin','CHANGESET_ACK'];_0x3089=function(){return _0x2e9f50;};return _0x3089();}function I(_0x1d99f6){const _0x424061=_0x12f18d;let _0x1f2587=_0x1d99f6['getCurrentLocale']();return{'locale':_0x1f2587,'locales':{[_0x1f2587]:_0x1d99f6[_0x424061(0x209)]()},'direction':_0x1d99f6[_0x424061(0x20c)]()};}function L(_0x6225da,_0x139111){const _0x321cf8=_0x12f18d;let _0x8c4fcb=_0x139111[_0x321cf8(0x20c)]();_0x6225da[_0x321cf8(0x1ce)]=_0x8c4fcb,_0x6225da[_0x321cf8(0x20f)][_0x321cf8(0x1b2)]=_0x8c4fcb;}function R(_0x2a0bde){'@babel/helpers - typeof';const _0x2f9815=_0x12f18d;return R=typeof Symbol==_0x2f9815(0x219)&&typeof Symbol[_0x2f9815(0xfa)]=='symbol'?function(_0x29d206){return typeof _0x29d206;}:function(_0x4bdf17){const _0x2dcca5=_0x2f9815;return _0x4bdf17&&typeof Symbol=='function'&&_0x4bdf17['constructor']===Symbol&&_0x4bdf17!==Symbol[_0x2dcca5(0x1f6)]?_0x2dcca5(0x1bf):typeof _0x4bdf17;},R(_0x2a0bde);}function ce(_0xb88d48,_0x2e2a22){const _0xf55f8f=_0x12f18d;if(R(_0xb88d48)!=_0xf55f8f(0x18b)||!_0xb88d48)return _0xb88d48;var _0x1082ba=_0xb88d48[Symbol[_0xf55f8f(0x1b6)]];if(_0x1082ba!==void 0x0){var _0x4fedc5=_0x1082ba[_0xf55f8f(0x154)](_0xb88d48,_0x2e2a22||'default');if(R(_0x4fedc5)!='object')return _0x4fedc5;throw TypeError(_0xf55f8f(0x12a));}return(_0x2e2a22===_0xf55f8f(0x1cd)?String:Number)(_0xb88d48);}function le(_0x1ed7fe){const _0x3e0017=_0x12f18d;var _0x5e643d=ce(_0x1ed7fe,'string');return R(_0x5e643d)==_0x3e0017(0x1bf)?_0x5e643d:_0x5e643d+'';}function z(_0x403462,_0x2d55bb,_0x1a1c9f){const _0x3e4724=_0x12f18d;return(_0x2d55bb=le(_0x2d55bb))in _0x403462?Object[_0x3e4724(0x14b)](_0x403462,_0x2d55bb,{'value':_0x1a1c9f,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x403462[_0x2d55bb]=_0x1a1c9f,_0x403462;}function B(_0xd3002d,_0x5cb60b){return function(_0x263baf,_0x26c33b){_0x5cb60b(_0x263baf,_0x26c33b,_0xd3002d);};}function V(_0x18633c,_0x73ce04,_0x395ad9,_0x2722c7){const _0x3dd9a0=_0x12f18d;var _0x5dbc78=arguments[_0x3dd9a0(0x200)],_0x31c94b=_0x5dbc78<0x3?_0x73ce04:_0x2722c7===null?_0x2722c7=Object[_0x3dd9a0(0x155)](_0x73ce04,_0x395ad9):_0x2722c7,_0x514ab4;if(typeof Reflect==_0x3dd9a0(0x18b)&&typeof Reflect[_0x3dd9a0(0x1f3)]==_0x3dd9a0(0x219))_0x31c94b=Reflect[_0x3dd9a0(0x1f3)](_0x18633c,_0x73ce04,_0x395ad9,_0x2722c7);else{for(var _0x3f8b44=_0x18633c[_0x3dd9a0(0x200)]-0x1;_0x3f8b44>=0x0;_0x3f8b44--)(_0x514ab4=_0x18633c[_0x3f8b44])&&(_0x31c94b=(_0x5dbc78<0x3?_0x514ab4(_0x31c94b):_0x5dbc78>0x3?_0x514ab4(_0x73ce04,_0x395ad9,_0x31c94b):_0x514ab4(_0x73ce04,_0x395ad9))||_0x31c94b);}return _0x5dbc78>0x3&&_0x31c94b&&Object[_0x3dd9a0(0x14b)](_0x73ce04,_0x395ad9,_0x31c94b),_0x31c94b;}const H=_0x12f18d(0x1c5);let U=class extends e['Disposable']{constructor(_0x25fcda,_0x30b9f,_0x104866,_0x453c2f,_0x5af0fb,_0x1103e8,_0x13d34f,_0x5db0ed,_0x35bfb7,_0x430c88){const _0x7c99d2=_0x12f18d;super(),this['_localeService']=_0x25fcda,this[_0x7c99d2(0x14c)]=_0x30b9f,this['_configService']=_0x104866,this[_0x7c99d2(0x21a)]=_0x453c2f,this[_0x7c99d2(0x1b7)]=_0x5af0fb,this[_0x7c99d2(0x113)]=_0x1103e8,this[_0x7c99d2(0x1a2)]=_0x13d34f,this[_0x7c99d2(0x131)]=_0x5db0ed,this['_sidebarService']=_0x35bfb7,this[_0x7c99d2(0x186)]=_0x430c88,z(this,_0x7c99d2(0x1a8),new M[(_0x7c99d2(0x174))](null)),z(this,_0x7c99d2(0x14d),this[_0x7c99d2(0x1a8)]['asObservable']()),z(this,_0x7c99d2(0x148),new e[(_0x7c99d2(0x1a1))]()),z(this,_0x7c99d2(0x201),new Map()),z(this,'_internalWebWorker',null),this[_0x7c99d2(0xfc)]();}get[_0x12f18d(0x1eb)](){const _0x751eee=_0x12f18d;return this[_0x751eee(0x1a8)][_0x751eee(0x17e)];}['_init'](){const _0x54d284=_0x12f18d;this[_0x54d284(0x1f9)](),this[_0x54d284(0x118)]();}['_initContainer'](){const _0x404e24=_0x12f18d;var _0x2487cd;let _0x22f93b=(_0x2487cd=this[_0x404e24(0x1d8)][_0x404e24(0xf9)](_0x404e24(0x103)))==null?'univer-container':_0x2487cd,_0x184d90=document[_0x404e24(0x1a9)](_0x22f93b);if(!_0x184d90)return;let _0x9f81ef=document[_0x404e24(0x147)](_0x404e24(0x204));_0x9f81ef['id']=H,_0x9f81ef[_0x404e24(0x152)][_0x404e24(0x128)]=_0x404e24(0x1b8),_0x9f81ef[_0x404e24(0x20f)][_0x404e24(0x17c)]=_0x404e24(0x11b),_0x9f81ef[_0x404e24(0x20f)]['top']='0',_0x9f81ef[_0x404e24(0x20f)][_0x404e24(0x194)]='0',_0x9f81ef['style'][_0x404e24(0xf7)]='100%',_0x9f81ef[_0x404e24(0x20f)]['height']='100%',_0x9f81ef[_0x404e24(0x20f)][_0x404e24(0x1c9)]='49',_0x9f81ef[_0x404e24(0x20f)]['display']='none',L(_0x9f81ef,this[_0x404e24(0x1fd)]),_0x184d90['appendChild'](_0x9f81ef);}['_initPlugins'](){const _0x1b968c=_0x12f18d;[[b[_0x1b968c(0x185)]],[j['UniverUIPlugin'],{'container':H,'header':!0x0,'toolbar':!0x1,'footer':!0x0,'contextMenu':!0x1,'override':[[j[_0x1b968c(0x181)],null]]}],[x['UniverNetworkPlugin']],[_[_0x1b968c(0x112)],{'override':[[e[_0x1b968c(0x1ec)],null]]}],[h['UniverDocsPlugin'],{'hasScroll':!0x1}],[g[_0x1b968c(0x1d3)]],[ae['UniverSheetsNumfmtPlugin']],[t[_0x1b968c(0xfb)],{'notExecuteFormula':!0x0}],[A[_0x1b968c(0x218)]],[O[_0x1b968c(0x179)]],[k[_0x1b968c(0x153)]],[n[_0x1b968c(0x1d2)]],[D[_0x1b968c(0x1bc)]],[ne[_0x1b968c(0x117)]],[ee[_0x1b968c(0x1fc)]],[te[_0x1b968c(0x1fa)]],[re['UniverSheetsHyperLinkPlugin']],[ie['UniverSheetsHyperLinkUIPlugin']],[p['UniverDataValidationPlugin']],[C['UniverSheetsDataValidationPlugin']],[w[_0x1b968c(0x166)]],[y['UniverFormulaEnginePlugin'],{'notExecuteFormula':!0x0}],[v['UniverDrawingUIPlugin']],[T[_0x1b968c(0x191)]],[E[_0x1b968c(0x134)]],[d[_0x1b968c(0x12e)]],[f[_0x1b968c(0x159)]],[o[_0x1b968c(0x1f5)]],[s[_0x1b968c(0x1cc)]],[l[_0x1b968c(0x21f)]],[u[_0x1b968c(0x11f)]],[c[_0x1b968c(0x12d)],{'notExecuteFormula':!0x0}],[oe[_0x1b968c(0x1d9)]]]['forEach'](([_0x18db9e,_0x114a05])=>this[_0x1b968c(0x21e)](_0x18db9e,_0x114a05));}['dispose'](){const _0x5490d8=_0x12f18d;super[_0x5490d8(0x1a3)](),this[_0x5490d8(0x19d)](),this['_pluginMap'][_0x5490d8(0x110)]();}[_0x12f18d(0x21e)](_0x54d72b,_0x44eb4f,_0x2ef5a0){const _0x297544=_0x12f18d;if(this[_0x297544(0x201)]['has'](_0x54d72b[_0x297544(0x139)])&&!_0x2ef5a0)throw Error(_0x297544(0x13b)+_0x54d72b[_0x297544(0x139)]+'\x20has\x20been\x20registered.');this[_0x297544(0x201)][_0x297544(0x165)](_0x54d72b[_0x297544(0x139)],[_0x54d72b,_0x44eb4f]);}[_0x12f18d(0x1ed)](){const _0x29c973=_0x12f18d;return Array[_0x29c973(0x20e)](this[_0x29c973(0x201)][_0x29c973(0x13f)]());}[_0x12f18d(0x1a6)](_0x5471ea,_0x401e76){const _0x4a1581=_0x12f18d;let _0x3a851f=document['getElementById'](H);_0x3a851f&&(_0x3a851f[_0x4a1581(0x20f)]['display']=_0x4a1581(0x12c),this['_initUniver'](_0x5471ea,H,_0x401e76));}[_0x12f18d(0x19d)](){const _0x4886c8=_0x12f18d;var _0x503ba1;this['_disposableCollection'][_0x4886c8(0x1a3)](),(_0x503ba1=this[_0x4886c8(0x1eb)])==null||_0x503ba1[_0x4886c8(0x1a3)](),this[_0x4886c8(0x1a8)]['next'](null);let _0x3aeb3c=document[_0x4886c8(0x1a9)](H);_0x3aeb3c&&(_0x3aeb3c[_0x4886c8(0x20f)][_0x4886c8(0x208)]=_0x4886c8(0x125),this['_internalWebWorker']&&(this['_internalWebWorker'][_0x4886c8(0x195)](),this['_internalWebWorker']=null));}[_0x12f18d(0x10b)](_0x30adfb,_0x28f211,_0x24ff1e){const _0x22a982=_0x12f18d;var _0x17d923,_0x5b7df2,_0x510e01,_0xde3b1f,_0x17b433;if(this['historyUniver'])return;let _0x463424=new e['Univer']({...I(this[_0x22a982(0x1fd)]),'override':[[e[_0x22a982(0x137)],{'useClass':r[_0x22a982(0x164)]}]]}),_0x49f62e=_0x463424[_0x22a982(0x150)]();this[_0x22a982(0x11d)](this[_0x22a982(0x186)][_0x22a982(0x14a)][_0x22a982(0x10f)](_0x4ed7ce=>{const _0x53e342=_0x22a982;_0x49f62e['get'](e['ThemeService'])[_0x53e342(0x1e2)](_0x4ed7ce);})),this[_0x22a982(0x11d)](this['_themeService'][_0x22a982(0x111)][_0x22a982(0x10f)](_0x3a7833=>{const _0x2f8313=_0x22a982;_0x49f62e[_0x2f8313(0x1ab)](e[_0x2f8313(0x19a)])['setTheme'](_0x3a7833);}));let _0x4f6a46=_0x49f62e[_0x22a982(0x1ab)](e['LocaleService']);_0x4f6a46[_0x22a982(0xf8)](this[_0x22a982(0x1fd)]['getCurrentLocale']()),_0x4f6a46[_0x22a982(0x206)](this[_0x22a982(0x1fd)][_0x22a982(0x20c)]()),_0x49f62e[_0x22a982(0x1ab)](e[_0x22a982(0x1d0)])[_0x22a982(0x105)](r[_0x22a982(0x203)],this['_configService']['getConfig'](r['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']));let _0x2813f3=this[_0x22a982(0x1d8)][_0x22a982(0xf9)](a[_0x22a982(0x189)]);_0x2813f3&&_0x463424['registerPlugin'](a['UniverLicensePlugin'],{'license':_0x2813f3['ls']});let _0x1f2cf2=(_0x17d923=this['_configService'][_0x22a982(0xf9)](_0x22a982(0x114)))==null?void 0x0:_0x17d923['workerURL'],_0x4d9ae1=!!_0x1f2cf2;_0x4d9ae1&&(this[_0x22a982(0x136)]=_0x1f2cf2 instanceof Worker?_0x1f2cf2:null,_0x463424[_0x22a982(0x21e)](S[_0x22a982(0x17d)],{'workerURL':_0x1f2cf2})),this[_0x22a982(0x201)][_0x22a982(0x14e)](([_0x550948,_0x54a998])=>{const _0x8d1484=_0x22a982;_0x463424[_0x8d1484(0x21e)](_0x550948,_0x54a998);}),_0x463424['registerPlugin'](i['UniverEditHistoryViewerPlugin'],{'historyListServerUrl':(_0x5b7df2=this[_0x22a982(0x1d8)][_0x22a982(0xf9)](_0x22a982(0x114)))==null?void 0x0:_0x5b7df2[_0x22a982(0x132)],'historyPanelComponentKey':(_0x510e01=this[_0x22a982(0x1d8)]['getConfig'](_0x22a982(0x114)))==null?void 0x0:_0x510e01['historyPanelComponentKey'],'historyPanelHidden':(_0xde3b1f=this['_configService'][_0x22a982(0xf9)](_0x22a982(0x114)))==null?void 0x0:_0xde3b1f[_0x22a982(0x1bd)],'historyAIassistantEnabled':(_0x17b433=this[_0x22a982(0x1d8)][_0x22a982(0xf9)](_0x22a982(0x114)))==null?void 0x0:_0x17b433[_0x22a982(0x18f)]}),_0x49f62e[_0x22a982(0x163)](_0x5d5381=>{this['_initListener'](_0x5d5381,_0x30adfb);}),this[_0x22a982(0x1a8)][_0x22a982(0x107)](_0x463424);let _0x4b0b59=_0x49f62e['get'](i[_0x22a982(0x1c7)]),_0x456f84=this['_checkCanRevert'](_0x30adfb),_0x1243cf=()=>{_0x24ff1e?_0x4b0b59['triggerCustomVersions'](_0x30adfb,_0x28f211,_0x456f84,_0x24ff1e):_0x4b0b59['triggerLoadVersions'](_0x30adfb,_0x28f211,_0x456f84);};if(this[_0x22a982(0x1b7)][_0x22a982(0x1b1)]({'content':this['_localeService']['t'](_0x22a982(0x19f)),'type':m[_0x22a982(0x1cf)][_0x22a982(0x13c)]}),_0x4d9ae1)try{_0x49f62e['get'](S['IRemoteInstanceService'])[_0x22a982(0x20b)]()[_0x22a982(0x13d)](()=>{_0x1243cf();});}catch{_0x1243cf();}else _0x1243cf();}[_0x12f18d(0x146)](_0x365c29,_0xac07b9){const _0xae6e7c=_0x12f18d;let _0x5e58fa=_0x365c29[_0xae6e7c(0x1ab)](i[_0xae6e7c(0x1c7)]);this[_0xae6e7c(0x148)][_0xae6e7c(0x135)](_0x5e58fa['status$'][_0xae6e7c(0x10f)](_0x44bdcf=>{const _0x3b2044=_0xae6e7c;switch(_0x44bdcf){case i['HistoryModeStatus']['Entered']:this[_0x3b2044(0x131)]['closeAll'](),this[_0x3b2044(0x129)][_0x3b2044(0x192)]();break;case i[_0x3b2044(0x156)][_0x3b2044(0x16f)]:this[_0x3b2044(0x21a)][_0x3b2044(0x102)](G['id']),this['unMountHistoryContent']();break;case i[_0x3b2044(0x156)][_0x3b2044(0x1ef)]:this[_0x3b2044(0x19d)](),this['_messageService']['show']({'content':this[_0x3b2044(0x1fd)]['t']('edit-history-loader.panel.listFetchError'),'type':m[_0x3b2044(0x1cf)][_0x3b2044(0x1ef)],'duration':0xbb8});break;default:break;}})),this[_0xae6e7c(0x148)][_0xae6e7c(0x135)](_0x5e58fa[_0xae6e7c(0x13a)][_0xae6e7c(0x10f)](async _0x57da5e=>{const _0x1a9ba2=_0xae6e7c;_0x57da5e&&this[_0x1a9ba2(0x21a)][_0x1a9ba2(0x102)](n[_0x1a9ba2(0x10d)]['id'],{'unitId':_0xac07b9,'revision':_0x57da5e});}));}['_checkCanRevert'](_0x224026){const _0x35a290=_0x12f18d;let _0x54fcc0=this[_0x35a290(0x14c)][_0x35a290(0x1fb)](_0x224026)[_0x35a290(0x15e)]()['map'](_0x5fc46f=>_0x5fc46f['getSheetId']()),_0x5109fe=new t[(_0x35a290(0x162))](_0x224026)['id'],_0x543488=_0x54fcc0[_0x35a290(0x18d)](_0x5d4482=>new t[(_0x35a290(0x161))](_0x224026,_0x5d4482)['id']),_0x4334f8=_0x54fcc0[_0x35a290(0x18d)](_0x4dd48c=>this['_selectionProtectionRuleModel'][_0x35a290(0x17b)](_0x224026,_0x4dd48c)[_0x35a290(0x18d)](_0x420c14=>new t[(_0x35a290(0x21b))](_0x224026,_0x4dd48c,_0x420c14[_0x35a290(0x104)])['id']))[_0x35a290(0x1ba)](),_0x647930=new t[(_0x35a290(0x13e))](_0x224026)['id'];return this[_0x35a290(0x113)][_0x35a290(0x140)]([_0x5109fe,..._0x543488,..._0x4334f8,_0x647930])[_0x35a290(0x178)](_0x2c93bf=>!!_0x2c93bf[_0x35a290(0x17e)]);}};U=V([B(0x0,(0x0,e['Inject'])(e[_0x12f18d(0x10a)])),B(0x1,e[_0x12f18d(0x168)]),B(0x2,e[_0x12f18d(0x1d0)]),B(0x3,e[_0x12f18d(0x1e9)]),B(0x4,j[_0x12f18d(0x18e)]),B(0x5,e[_0x12f18d(0x18a)]),B(0x6,(0x0,e[_0x12f18d(0x170)])(t['RangeProtectionRuleModel'])),B(0x7,(0x0,e[_0x12f18d(0x170)])(j[_0x12f18d(0x181)])),B(0x8,(0x0,e['Inject'])(j[_0x12f18d(0xfd)])),B(0x9,(0x0,e[_0x12f18d(0x170)])(e['ThemeService']))],U);const W={'id':_0x12f18d(0x19c),'type':e[_0x12f18d(0x11e)][_0x12f18d(0x15c)],'handler':_0x1ad925=>{const _0x2dfbaf=_0x12f18d;let _0x1ef219=_0x1ad925['get'](U),{unitId:_0xba6596}=(0x0,t[_0x2dfbaf(0x16c)])(_0x1ad925[_0x2dfbaf(0x1ab)](e[_0x2dfbaf(0x168)]))||{};return _0xba6596?(_0x1ef219['mountHistoryContent'](_0xba6596),!0x0):!0x1;}},G={'id':_0x12f18d(0x1c4),'type':e[_0x12f18d(0x11e)][_0x12f18d(0x15c)],'handler':()=>!0x0};function ue(_0x506e61){const _0x978767=_0x12f18d;return{'id':W['id'],'type':j[_0x978767(0x1ad)][_0x978767(0x210)],'icon':_0x978767(0x122),'tooltip':'edit-history-loader.panel.title','hidden$':(0x0,j[_0x978767(0x144)])(_0x506e61,e[_0x978767(0x20d)][_0x978767(0x15b)]),'disabled$':(0x0,A[_0x978767(0x1aa)])(_0x506e61,{'workbookTypes':[t[_0x978767(0x16b)]],'worksheetTypes':[],'rangeTypes':[]})};}const K={[j[_0x12f18d(0x1af)][_0x12f18d(0x1d5)]]:{[W['id']]:{'order':0.2,'menuItemFactory':ue}}};var de=_0x12f18d(0x1b9),fe=_0x12f18d(0x19b);let q=class extends e[_0x12f18d(0x12b)]{constructor(_0x2166b5){const _0x63b9fa=_0x12f18d;super(),this[_0x63b9fa(0x211)]=_0x2166b5,this['_registerIcons']();}[_0x12f18d(0x1a7)](){const _0xfb5da7=_0x12f18d;this[_0xfb5da7(0x11d)](this[_0xfb5da7(0x211)][_0xfb5da7(0x16e)]({'HistoryIcon':se[_0xfb5da7(0x122)]}));}};q=V([B(0x0,(0x0,e[_0x12f18d(0x170)])(j[_0x12f18d(0x1bb)]))],q);let J=class extends e[_0x12f18d(0x1cb)]{constructor(_0x132fd5,_0x22b76e,_0x469718,_0x3aeac1,_0x28ef98,_0x1a76e0,_0x1f9953,_0x129e54,_0x5a67e6,_0x4abbac){const _0x14e83e=_0x12f18d;super(),this[_0x14e83e(0x21a)]=_0x132fd5,this['_menuManagerService']=_0x22b76e,this[_0x14e83e(0x1df)]=_0x469718,this[_0x14e83e(0x1fd)]=_0x3aeac1,this[_0x14e83e(0x1b7)]=_0x28ef98,this[_0x14e83e(0x1ee)]=_0x1a76e0,this[_0x14e83e(0x172)]=_0x1f9953,this['_dataLoaderService']=_0x129e54,this[_0x14e83e(0x14c)]=_0x5a67e6,this[_0x14e83e(0x1e1)]=_0x4abbac,z(this,_0x14e83e(0x167),null),this[_0x14e83e(0xfc)]();}[_0x12f18d(0xfc)](){const _0xcf099e=_0x12f18d;[W,G]['forEach'](_0x323a97=>this[_0xcf099e(0x11d)]((0x0,e[_0xcf099e(0x100)])(this[_0xcf099e(0x21a)]['registerCommand'](_0x323a97)))),this[_0xcf099e(0x10c)]['mergeMenu'](K),this[_0xcf099e(0x11d)](this['_commandService'][_0xcf099e(0xf4)](async(_0x47923b,_0x5c8cfe)=>{const _0x32b751=_0xcf099e;if(_0x47923b['id']===n[_0x32b751(0x10d)]['id']){let {unitId:_0x3d54ce}=_0x47923b[_0x32b751(0x1db)];this[_0x32b751(0x1b7)]['show']({'content':this[_0x32b751(0x1fd)]['t']('edit-history-loader.panel.reverting'),'type':m[_0x32b751(0x1cf)][_0x32b751(0x13c)],'duration':0x1388});let _0x3d4fe8=this[_0x32b751(0x1ee)][_0x32b751(0x205)](_0x3d54ce);_0x5c8cfe!=null&&_0x5c8cfe[_0x32b751(0x1de)]?this[_0x32b751(0x1e6)](_0x3d4fe8,async()=>(setTimeout(()=>window[_0x32b751(0x120)]['reload']()),!0x0),!0x0):this[_0x32b751(0x1e6)](_0x3d4fe8,async()=>{const _0x1d98eb=_0x32b751;let _0x423b63=this['_univerInstanceService'][_0x1d98eb(0x18c)](e[_0x1d98eb(0x20d)][_0x1d98eb(0x15b)]),_0x16319c=_0x423b63==null?void 0x0:_0x423b63[_0x1d98eb(0x213)]();if(!_0x16319c)return!0x1;this[_0x1d98eb(0x14c)][_0x1d98eb(0x1e8)](_0x3d54ce);let _0x341f34=await this[_0x1d98eb(0x1ae)]['loadUnit'](_0x3d54ce,e['UniverInstanceType'][_0x1d98eb(0x15b)]);return _0x341f34&&_0x341f34 instanceof e[_0x1d98eb(0x130)]?(await this[_0x1d98eb(0x10e)](_0x341f34,_0x16319c['getSheetId']()),!0x0):!0x1;});}}));}[_0x12f18d(0x1e6)](_0x262cfa,_0x1ed151,_0x25368c=!0x1){const _0x237c5d=_0x12f18d;let _0x2e31b0=(0x0,M['combineLatest'])([_0x262cfa['session'][_0x237c5d(0x212)],_0x262cfa['state$']])['subscribe'](async([_0x3f5aff,_0x485f5e])=>{const _0x4a04b5=_0x237c5d;if(_0x3f5aff['eventID']===n['CollaborationEvent'][_0x4a04b5(0x180)]&&(_0x485f5e==null?void 0x0:_0x485f5e['status'])===r[_0x4a04b5(0x1b3)][_0x4a04b5(0x1d4)]&&_0x3f5aff[_0x4a04b5(0x149)][_0x4a04b5(0x215)][_0x4a04b5(0x216)](_0x49c12d=>_0x49c12d['id']===n[_0x4a04b5(0x10d)]['id'])&&await _0x1ed151()){var _0x336434;this[_0x4a04b5(0x1df)][_0x4a04b5(0x19d)](),_0x2e31b0[_0x4a04b5(0x193)](),this['_revertErrorTimer']&&clearTimeout(this[_0x4a04b5(0x167)]),await((_0x336434=this[_0x4a04b5(0x172)])==null?void 0x0:_0x336434[_0x4a04b5(0x1e4)]()),this['_messageService']['removeAll']();}});_0x25368c&&(this[_0x237c5d(0x167)]=setTimeout(()=>{const _0x1de920=_0x237c5d;_0x2e31b0[_0x1de920(0x193)](),this[_0x1de920(0x1b7)][_0x1de920(0x1b1)]({'content':this[_0x1de920(0x1fd)]['t'](_0x1de920(0x101)),'type':m[_0x1de920(0x1cf)][_0x1de920(0x1ef)],'duration':0xbb8});},0x1388));}async['_setupSubUnitSync'](_0x4d472e,_0x4f412e){const _0x2d5b9d=_0x12f18d;await this[_0x2d5b9d(0x11c)](_0x4d472e,_0x4f412e),_0x4d472e[_0x2d5b9d(0x16d)]['pipe']((0x0,M[_0x2d5b9d(0x1b0)])(this[_0x2d5b9d(0x1dc)]))[_0x2d5b9d(0x10f)](_0xfd939b=>{const _0xc84695=_0x2d5b9d;_0xfd939b&&this[_0xc84695(0x177)](_0xfd939b);}),this[_0x2d5b9d(0x1e1)][_0x2d5b9d(0x15f)][_0x2d5b9d(0x14f)]((0x0,M[_0x2d5b9d(0x1b0)])(this[_0x2d5b9d(0x1dc)]))[_0x2d5b9d(0x10f)](()=>this[_0x2d5b9d(0x11c)](_0x4d472e,_0x4f412e));}[_0x12f18d(0x177)](_0x4810c7,_0x15490e=!0x1){const _0x31cfaf=_0x12f18d;let _0x3fb7ef=this['_urlService'][_0x31cfaf(0x1c6)](_0x31cfaf(0x1b5));_0x4810c7[_0x31cfaf(0x1dd)]()!==_0x3fb7ef&&this[_0x31cfaf(0x1e1)][_0x31cfaf(0x115)](_0x31cfaf(0x1b5),_0x4810c7['getSheetId'](),_0x15490e);}async[_0x12f18d(0x11c)](_0x55361b,_0x3b2367){const _0x3eee7d=_0x12f18d;var _0x5d14f0;if(!_0x3b2367||!_0x55361b['getSheetBySheetId'](_0x3b2367)){let _0x2a5a3a=_0x55361b[_0x3eee7d(0x175)]()[0x0],_0x2c0b52=_0x55361b['getSheetBySheetId'](_0x2a5a3a);if(!_0x2c0b52)return;this[_0x3eee7d(0x177)](_0x2c0b52,!0x0),await this[_0x3eee7d(0x21a)]['executeCommand'](t[_0x3eee7d(0x197)]['id'],{'unitId':_0x55361b['getUnitId'](),'subUnitId':_0x2a5a3a});return;}((_0x5d14f0=_0x55361b[_0x3eee7d(0x213)]())==null?void 0x0:_0x5d14f0[_0x3eee7d(0x1dd)]())!==_0x3b2367&&await this[_0x3eee7d(0x21a)]['executeCommand'](t[_0x3eee7d(0x197)]['id'],{'unitId':_0x55361b[_0x3eee7d(0x198)](),'subUnitId':_0x3b2367});}};J=V([B(0x0,e['ICommandService']),B(0x1,j[_0x12f18d(0x158)]),B(0x2,(0x0,e[_0x12f18d(0x170)])(U)),B(0x3,(0x0,e[_0x12f18d(0x170)])(e[_0x12f18d(0x10a)])),B(0x4,j['IMessageService']),B(0x5,(0x0,e[_0x12f18d(0x170)])(r[_0x12f18d(0x199)])),B(0x6,r[_0x12f18d(0x133)]),B(0x7,(0x0,e[_0x12f18d(0x170)])(r['DataLoaderService'])),B(0x8,e[_0x12f18d(0x168)]),B(0x9,N[_0x12f18d(0x119)])],J);const Y='univer-history-container-mobile';let X=class extends e[_0x12f18d(0x12b)]{constructor(_0x4729af,_0x26593b,_0xd37d59,_0x3e5311,_0x4a5864,_0x2b4600,_0x3b93d1,_0x107cbe,_0x498fa7,_0x29f308){const _0x1f3094=_0x12f18d;super(),this['_localeService']=_0x4729af,this[_0x1f3094(0x14c)]=_0x26593b,this[_0x1f3094(0x1d8)]=_0xd37d59,this[_0x1f3094(0x21a)]=_0x3e5311,this[_0x1f3094(0x1b7)]=_0x4a5864,this['_permissionService']=_0x2b4600,this[_0x1f3094(0x1a2)]=_0x3b93d1,this[_0x1f3094(0x131)]=_0x107cbe,this[_0x1f3094(0x129)]=_0x498fa7,this[_0x1f3094(0x186)]=_0x29f308,z(this,_0x1f3094(0x1a8),new M[(_0x1f3094(0x174))](null)),z(this,_0x1f3094(0x14d),this[_0x1f3094(0x1a8)][_0x1f3094(0x21d)]()),z(this,'_disposableCollection',new e[(_0x1f3094(0x1a1))]()),z(this,_0x1f3094(0x201),new Map()),z(this,_0x1f3094(0x136),null),this[_0x1f3094(0xfc)]();}get[_0x12f18d(0x1eb)](){const _0x3ed1f7=_0x12f18d;return this[_0x3ed1f7(0x1a8)]['value'];}[_0x12f18d(0xfc)](){this['_initContainer'](),this['_initPlugins']();}['_initContainer'](){const _0x1cc1a0=_0x12f18d;var _0x271a27;let _0x435976=(_0x271a27=this[_0x1cc1a0(0x1d8)]['getConfig']('UNIVER_CONTAINER_ID'))==null?_0x1cc1a0(0x196):_0x271a27,_0x25b58c=document[_0x1cc1a0(0x1a9)](_0x435976);if(!_0x25b58c)return;let _0x298d40=document[_0x1cc1a0(0x147)]('div');_0x298d40['id']=Y,_0x298d40[_0x1cc1a0(0x152)][_0x1cc1a0(0x128)]=_0x1cc1a0(0x1b8),_0x298d40[_0x1cc1a0(0x20f)][_0x1cc1a0(0x17c)]=_0x1cc1a0(0x11b),_0x298d40[_0x1cc1a0(0x20f)][_0x1cc1a0(0x1d7)]='0',_0x298d40[_0x1cc1a0(0x20f)][_0x1cc1a0(0x194)]='0',_0x298d40[_0x1cc1a0(0x20f)][_0x1cc1a0(0xf7)]=_0x1cc1a0(0x1f1),_0x298d40[_0x1cc1a0(0x20f)][_0x1cc1a0(0x142)]=_0x1cc1a0(0x1f1),_0x298d40[_0x1cc1a0(0x20f)][_0x1cc1a0(0x1c9)]='49',_0x298d40['style'][_0x1cc1a0(0x208)]=_0x1cc1a0(0x125),L(_0x298d40,this[_0x1cc1a0(0x1fd)]),_0x25b58c[_0x1cc1a0(0xf6)](_0x298d40);}[_0x12f18d(0x118)](){const _0x18b26a=_0x12f18d;[[b[_0x18b26a(0x185)]],[j['UniverMobileUIPlugin'],{'container':Y,'header':!0x0,'toolbar':!0x1,'footer':!0x0,'contextMenu':!0x1,'override':[[j['IDialogService'],null]]}],[x[_0x18b26a(0x1f2)]],[_[_0x18b26a(0x112)],{'override':[[e[_0x18b26a(0x1ec)],null]]}],[h[_0x18b26a(0x1ea)],{'hasScroll':!0x1}],[g['UniverDocsUIPlugin']],[ae[_0x18b26a(0x157)]],[t['UniverSheetsPlugin'],{'notExecuteFormula':!0x0}],[A[_0x18b26a(0x1d6)]],[O['UniverSheetsFormulaPlugin']],[k[_0x18b26a(0x153)]],[n[_0x18b26a(0x1d2)]],[D[_0x18b26a(0x1bc)]],[ee['UniverSheetsConditionalFormattingPlugin']],[re[_0x18b26a(0x1c0)]],[ie[_0x18b26a(0x1fe)]],[p[_0x18b26a(0x19e)]],[C[_0x18b26a(0x160)]],[w[_0x18b26a(0x1ca)]],[y[_0x18b26a(0x127)],{'notExecuteFormula':!0x0}],[v[_0x18b26a(0x17f)]],[T[_0x18b26a(0x191)]],[E['UniverSheetsDrawingUIPlugin']],[d[_0x18b26a(0x12e)]],[f[_0x18b26a(0x159)]],[o[_0x18b26a(0x1f5)]],[s[_0x18b26a(0x1cc)]],[l[_0x18b26a(0x21f)]],[u[_0x18b26a(0x11f)]],[c[_0x18b26a(0x12d)],{'notExecuteFormula':!0x0}],[oe[_0x18b26a(0x1d9)]]][_0x18b26a(0x14e)](([_0x4fee16,_0x388037])=>this['registerPlugin'](_0x4fee16,_0x388037));}[_0x12f18d(0x1a3)](){const _0x22fa24=_0x12f18d;super[_0x22fa24(0x1a3)](),this[_0x22fa24(0x19d)](),this[_0x22fa24(0x201)][_0x22fa24(0x110)]();}[_0x12f18d(0x21e)](_0x4c9df3,_0x42ca3f,_0x34bf08){const _0x3f4b04=_0x12f18d;if(this['_pluginMap'][_0x3f4b04(0x1f7)](_0x4c9df3[_0x3f4b04(0x139)])&&!_0x34bf08)throw Error(_0x3f4b04(0x1c1)+_0x4c9df3[_0x3f4b04(0x139)]+_0x3f4b04(0x138));this['_pluginMap'][_0x3f4b04(0x165)](_0x4c9df3[_0x3f4b04(0x139)],[_0x4c9df3,_0x42ca3f]);}[_0x12f18d(0x1ed)](){const _0x5d35eb=_0x12f18d;return Array['from'](this[_0x5d35eb(0x201)][_0x5d35eb(0x13f)]());}[_0x12f18d(0x1a6)](_0x478298,_0x72f670){const _0x21abda=_0x12f18d;let _0x1cda46=document[_0x21abda(0x1a9)](Y);_0x1cda46&&(_0x1cda46[_0x21abda(0x20f)][_0x21abda(0x208)]=_0x21abda(0x12c),this[_0x21abda(0x10b)](_0x478298,Y,_0x72f670));}['unMountHistoryContent'](){const _0x5298c2=_0x12f18d;var _0xa4e8e0;this[_0x5298c2(0x148)]['dispose'](),(_0xa4e8e0=this[_0x5298c2(0x1eb)])==null||_0xa4e8e0[_0x5298c2(0x1a3)](),this[_0x5298c2(0x1a8)][_0x5298c2(0x107)](null);let _0xe50810=document[_0x5298c2(0x1a9)](Y);_0xe50810&&(_0xe50810[_0x5298c2(0x20f)][_0x5298c2(0x208)]='none',this[_0x5298c2(0x136)]&&(this[_0x5298c2(0x136)][_0x5298c2(0x195)](),this[_0x5298c2(0x136)]=null));}[_0x12f18d(0x10b)](_0x2c57eb,_0x19258b,_0x1f74ff){const _0x445ad5=_0x12f18d;var _0x5b9e71,_0x30af2f,_0xfd6d7e,_0x57ff01;if(this[_0x445ad5(0x1eb)])return;let _0x499e60=new e[(_0x445ad5(0x116))]({...I(this[_0x445ad5(0x1fd)]),'override':[[e['IAuthzIoService'],{'useClass':r['AuthzIoHttpService']}]]}),_0x18d11d=_0x499e60[_0x445ad5(0x150)]();this['disposeWithMe'](this['_themeService']['darkMode$'][_0x445ad5(0x10f)](_0x1cbf20=>{const _0x10339c=_0x445ad5;_0x18d11d[_0x10339c(0x1ab)](e['ThemeService'])[_0x10339c(0x1e2)](_0x1cbf20);})),this[_0x445ad5(0x11d)](this[_0x445ad5(0x186)][_0x445ad5(0x111)][_0x445ad5(0x10f)](_0x5a655c=>{const _0x39f992=_0x445ad5;_0x18d11d[_0x39f992(0x1ab)](e[_0x39f992(0x19a)])[_0x39f992(0x124)](_0x5a655c);}));let _0x1f1328=_0x18d11d[_0x445ad5(0x1ab)](e['LocaleService']);_0x1f1328[_0x445ad5(0xf8)](this[_0x445ad5(0x1fd)][_0x445ad5(0xff)]()),_0x1f1328[_0x445ad5(0x206)](this['_localeService'][_0x445ad5(0x20c)]()),_0x18d11d[_0x445ad5(0x1ab)](e[_0x445ad5(0x1d0)])['setConfig'](r[_0x445ad5(0x203)],this['_configService']['getConfig'](r[_0x445ad5(0x203)]));let _0xef36b4=this['_configService'][_0x445ad5(0xf9)](a[_0x445ad5(0x189)]);_0xef36b4&&_0x499e60[_0x445ad5(0x21e)](a[_0x445ad5(0x1ac)],{'license':_0xef36b4['ls']});let _0x9bf7f3=(_0x5b9e71=this['_configService'][_0x445ad5(0xf9)]('edit-history-loader.config'))==null?void 0x0:_0x5b9e71[_0x445ad5(0x1f0)],_0xdf92f4=!!_0x9bf7f3;_0xdf92f4&&(this[_0x445ad5(0x136)]=_0x9bf7f3 instanceof Worker?_0x9bf7f3:null,_0x499e60[_0x445ad5(0x21e)](S[_0x445ad5(0x17d)],{'workerURL':_0x9bf7f3})),this[_0x445ad5(0x201)]['forEach'](([_0x1ccf6b,_0x55bc4f])=>{const _0x236ed7=_0x445ad5;_0x499e60[_0x236ed7(0x21e)](_0x1ccf6b,_0x55bc4f);}),_0x499e60[_0x445ad5(0x21e)](i[_0x445ad5(0x16a)],{'historyListServerUrl':(_0x30af2f=this[_0x445ad5(0x1d8)]['getConfig'](_0x445ad5(0x114)))==null?void 0x0:_0x30af2f[_0x445ad5(0x132)],'historyPanelComponentKey':(_0xfd6d7e=this[_0x445ad5(0x1d8)][_0x445ad5(0xf9)]('edit-history-loader.config'))==null?void 0x0:_0xfd6d7e['historyPanelComponentKey'],'historyPanelHidden':(_0x57ff01=this[_0x445ad5(0x1d8)][_0x445ad5(0xf9)](_0x445ad5(0x114)))==null?void 0x0:_0x57ff01[_0x445ad5(0x1bd)]}),_0x18d11d[_0x445ad5(0x163)](_0x387e28=>{this['_initListener'](_0x387e28,_0x2c57eb);}),this['_historyUniver$'][_0x445ad5(0x107)](_0x499e60);let _0x390e85=_0x18d11d[_0x445ad5(0x1ab)](i[_0x445ad5(0x1c7)]),_0x5a29ff=this[_0x445ad5(0x145)](_0x2c57eb),_0x3e4bbf=()=>{const _0x1b1994=_0x445ad5;_0x1f74ff?_0x390e85[_0x1b1994(0x121)](_0x2c57eb,_0x19258b,_0x5a29ff,_0x1f74ff):_0x390e85[_0x1b1994(0x15a)](_0x2c57eb,_0x19258b,_0x5a29ff);};if(this[_0x445ad5(0x1b7)]['show']({'content':this['_localeService']['t'](_0x445ad5(0x19f)),'type':m[_0x445ad5(0x1cf)][_0x445ad5(0x13c)]}),_0xdf92f4)try{_0x18d11d[_0x445ad5(0x1ab)](S[_0x445ad5(0x171)])[_0x445ad5(0x20b)]()[_0x445ad5(0x13d)](()=>{_0x3e4bbf();});}catch{_0x3e4bbf();}else _0x3e4bbf();}[_0x12f18d(0x146)](_0x2e6e7c,_0x1c3282){const _0x4b555e=_0x12f18d;let _0x24db42=_0x2e6e7c[_0x4b555e(0x1ab)](i[_0x4b555e(0x1c7)]);this[_0x4b555e(0x148)][_0x4b555e(0x135)](_0x24db42[_0x4b555e(0x1e3)]['subscribe'](_0x390a5e=>{const _0x570654=_0x4b555e;switch(_0x390a5e){case i[_0x570654(0x156)][_0x570654(0x21c)]:this[_0x570654(0x131)][_0x570654(0x151)](),this[_0x570654(0x129)][_0x570654(0x192)]();break;case i[_0x570654(0x156)][_0x570654(0x16f)]:this[_0x570654(0x21a)]['executeCommand'](G['id']),this['unMountHistoryContent']();break;case i[_0x570654(0x156)][_0x570654(0x1ef)]:this[_0x570654(0x19d)](),this['_messageService']['show']({'content':this[_0x570654(0x1fd)]['t'](_0x570654(0x109)),'type':m[_0x570654(0x1cf)][_0x570654(0x1ef)],'duration':0xbb8});break;default:break;}})),this[_0x4b555e(0x148)]['add'](_0x24db42['revertRevision$']['subscribe'](async _0x3c3109=>{const _0x41ebbd=_0x4b555e;_0x3c3109&&this['_commandService'][_0x41ebbd(0x102)](n['RevertRevisionMutation']['id'],{'unitId':_0x1c3282,'revision':_0x3c3109});}));}[_0x12f18d(0x145)](_0x4c225a){const _0x589637=_0x12f18d;let _0xad6961=this[_0x589637(0x14c)]['getUnit'](_0x4c225a)[_0x589637(0x15e)]()[_0x589637(0x18d)](_0x53386d=>_0x53386d[_0x589637(0x1dd)]()),_0x4883f2=new t[(_0x589637(0x162))](_0x4c225a)['id'],_0x56cbe8=_0xad6961[_0x589637(0x18d)](_0x115c3b=>new t['WorksheetEditPermission'](_0x4c225a,_0x115c3b)['id']),_0x2e225e=_0xad6961['map'](_0x398d71=>this['_selectionProtectionRuleModel']['getSubunitRuleList'](_0x4c225a,_0x398d71)[_0x589637(0x18d)](_0x2350c3=>new t[(_0x589637(0x21b))](_0x4c225a,_0x398d71,_0x2350c3[_0x589637(0x104)])['id']))[_0x589637(0x1ba)](),_0x2b75d4=new t[(_0x589637(0x13e))](_0x4c225a)['id'];return this[_0x589637(0x113)][_0x589637(0x140)]([_0x4883f2,..._0x56cbe8,..._0x2e225e,_0x2b75d4])[_0x589637(0x178)](_0x1661c0=>!!_0x1661c0[_0x589637(0x17e)]);}};X=V([B(0x0,(0x0,e[_0x12f18d(0x170)])(e[_0x12f18d(0x10a)])),B(0x1,e[_0x12f18d(0x168)]),B(0x2,e['IConfigService']),B(0x3,e[_0x12f18d(0x1e9)]),B(0x4,j[_0x12f18d(0x18e)]),B(0x5,e[_0x12f18d(0x18a)]),B(0x6,(0x0,e[_0x12f18d(0x170)])(t[_0x12f18d(0x1c3)])),B(0x7,(0x0,e[_0x12f18d(0x170)])(j[_0x12f18d(0x181)])),B(0x8,(0x0,e[_0x12f18d(0x170)])(j[_0x12f18d(0xfd)])),B(0x9,(0x0,e[_0x12f18d(0x170)])(e[_0x12f18d(0x19a)]))],X);let Z=class extends e['Plugin']{constructor(_0xfba01c=F,_0x1dddec,_0x4adab2){const _0x3caeaf=_0x12f18d;super(),this[_0x3caeaf(0x1a0)]=_0xfba01c,this[_0x3caeaf(0x108)]=_0x1dddec,this[_0x3caeaf(0x1d8)]=_0x4adab2;let {menu:_0x1221a9,..._0x4beaa6}=(0x0,e[_0x3caeaf(0xf5)])({},F,this[_0x3caeaf(0x1a0)]);_0x1221a9&&this[_0x3caeaf(0x1d8)][_0x3caeaf(0x105)]('menu',_0x1221a9,{'merge':!0x0}),this[_0x3caeaf(0x1d8)][_0x3caeaf(0x105)](P,_0x4beaa6),this[_0x3caeaf(0x1a0)]['univerContainerId']&&this[_0x3caeaf(0x1d8)][_0x3caeaf(0x105)]('UNIVER_CONTAINER_ID',this[_0x3caeaf(0x1a0)]['univerContainerId']);}['onStarting'](){const _0x4fc076=_0x12f18d;this['_injector'][_0x4fc076(0x135)]([q]),this[_0x4fc076(0x108)][_0x4fc076(0x1ab)](q),[[U,{'useClass':X}],[J]][_0x4fc076(0x14e)](_0x2f8e13=>this[_0x4fc076(0x108)]['add'](_0x2f8e13));}[_0x12f18d(0x214)](){const _0x490a88=_0x12f18d;this[_0x490a88(0x108)][_0x490a88(0x1ab)](J);}};z(Z,_0x12f18d(0x123),e[_0x12f18d(0x20d)]['UNIVER_UNKNOWN']),z(Z,_0x12f18d(0x139),_0x12f18d(0x11a)),z(Z,_0x12f18d(0x183),de),z(Z,_0x12f18d(0x1f4),fe),Z=V([(0x0,e['DependentOn'])(a[_0x12f18d(0x1ac)]),B(0x1,(0x0,e[_0x12f18d(0x170)])(e[_0x12f18d(0x1f8)])),B(0x2,e[_0x12f18d(0x1d0)])],Z);let Q=class extends e[_0x12f18d(0x1cb)]{constructor(_0x1552bd,_0xc935f6,_0x178a2a,_0x172e50,_0x3ec8fe,_0x202d67,_0x2aecaa,_0x2578e0,_0x1afc1d,_0x81ef4b){const _0x19b1b5=_0x12f18d;super(),this[_0x19b1b5(0x21a)]=_0x1552bd,this[_0x19b1b5(0x10c)]=_0xc935f6,this[_0x19b1b5(0x1df)]=_0x178a2a,this[_0x19b1b5(0x1fd)]=_0x172e50,this[_0x19b1b5(0x1b7)]=_0x3ec8fe,this['_collaborationController']=_0x202d67,this['_localCacheService']=_0x2aecaa,this[_0x19b1b5(0x1ae)]=_0x2578e0,this[_0x19b1b5(0x14c)]=_0x1afc1d,this[_0x19b1b5(0x1e1)]=_0x81ef4b,z(this,_0x19b1b5(0x167),null),this[_0x19b1b5(0xfc)]();}[_0x12f18d(0xfc)](){const _0xdb7a8f=_0x12f18d;[W,G]['forEach'](_0x27a236=>this[_0xdb7a8f(0x11d)]((0x0,e[_0xdb7a8f(0x100)])(this[_0xdb7a8f(0x21a)]['registerCommand'](_0x27a236)))),this[_0xdb7a8f(0x10c)][_0xdb7a8f(0x187)](K),this['disposeWithMe'](this[_0xdb7a8f(0x21a)][_0xdb7a8f(0xf4)](async(_0x530e13,_0xa134f4)=>{const _0x561264=_0xdb7a8f;if(_0x530e13['id']===n[_0x561264(0x10d)]['id']){let {unitId:_0x5a0ec2}=_0x530e13['params'];this[_0x561264(0x1b7)][_0x561264(0x1b1)]({'content':this['_localeService']['t'](_0x561264(0x143)),'type':m[_0x561264(0x1cf)]['Loading'],'duration':0x1388});let _0x13230c=this[_0x561264(0x1ee)][_0x561264(0x205)](_0x5a0ec2);_0xa134f4!=null&&_0xa134f4[_0x561264(0x1de)]?this[_0x561264(0x1e6)](_0x13230c,async()=>(setTimeout(()=>window[_0x561264(0x120)][_0x561264(0x17a)]()),!0x0),!0x0):this['_handleRevertAcknowledgement'](_0x13230c,async()=>{const _0x24e243=_0x561264;let _0x2629f9=this[_0x24e243(0x14c)]['getCurrentUnitOfType'](e[_0x24e243(0x20d)][_0x24e243(0x15b)]),_0x472798=_0x2629f9==null?void 0x0:_0x2629f9['getActiveSheet']();if(!_0x472798)return!0x1;this[_0x24e243(0x14c)][_0x24e243(0x1e8)](_0x5a0ec2);let _0x147b22=await this[_0x24e243(0x1ae)][_0x24e243(0x106)](_0x5a0ec2,e[_0x24e243(0x20d)][_0x24e243(0x15b)]);return _0x147b22&&_0x147b22 instanceof e['Workbook']?(await this[_0x24e243(0x10e)](_0x147b22,_0x472798[_0x24e243(0x1dd)]()),!0x0):!0x1;});}}));}['_handleRevertAcknowledgement'](_0x1e301c,_0x55e99e,_0x5f511b=!0x1){const _0x4178e0=_0x12f18d;let _0x433955=(0x0,M['combineLatest'])([_0x1e301c[_0x4178e0(0x1c8)][_0x4178e0(0x212)],_0x1e301c[_0x4178e0(0x207)]])[_0x4178e0(0x10f)](async([_0x21af69,_0x492ad1])=>{const _0x31938d=_0x4178e0;if(_0x21af69['eventID']===n[_0x31938d(0x1d1)][_0x31938d(0x180)]&&(_0x492ad1==null?void 0x0:_0x492ad1['status'])===r[_0x31938d(0x1b3)]['SYNCED']&&_0x21af69[_0x31938d(0x149)][_0x31938d(0x215)][_0x31938d(0x216)](_0x1f048=>_0x1f048['id']===n[_0x31938d(0x10d)]['id'])&&await _0x55e99e()){var _0x356ef2;this[_0x31938d(0x1df)][_0x31938d(0x19d)](),_0x433955['unsubscribe'](),this['_revertErrorTimer']&&clearTimeout(this['_revertErrorTimer']),await((_0x356ef2=this[_0x31938d(0x172)])==null?void 0x0:_0x356ef2[_0x31938d(0x1e4)]());}});_0x5f511b&&(this[_0x4178e0(0x167)]=setTimeout(()=>{const _0x43949a=_0x4178e0;_0x433955['unsubscribe'](),this['_messageService']['show']({'content':this[_0x43949a(0x1fd)]['t']('edit-history-loader.panel.revertFailed'),'type':m[_0x43949a(0x1cf)][_0x43949a(0x1ef)],'duration':0xbb8});},0x1388));}async[_0x12f18d(0x10e)](_0x31d65f,_0x42fa48){const _0x5ace03=_0x12f18d;await this[_0x5ace03(0x11c)](_0x31d65f,_0x42fa48),_0x31d65f['activeSheet$']['pipe']((0x0,M[_0x5ace03(0x1b0)])(this[_0x5ace03(0x1dc)]))[_0x5ace03(0x10f)](_0xda2f65=>{const _0xc4c403=_0x5ace03;_0xda2f65&&this[_0xc4c403(0x177)](_0xda2f65);}),this[_0x5ace03(0x1e1)][_0x5ace03(0x15f)]['pipe']((0x0,M[_0x5ace03(0x1b0)])(this['dispose$']))[_0x5ace03(0x10f)](()=>this[_0x5ace03(0x11c)](_0x31d65f,_0x42fa48));}[_0x12f18d(0x177)](_0x157c5e,_0x3c4d5c=!0x1){const _0x237bcc=_0x12f18d;let _0x38d5e3=this['_urlService'][_0x237bcc(0x1c6)](_0x237bcc(0x1b5));_0x157c5e[_0x237bcc(0x1dd)]()!==_0x38d5e3&&this[_0x237bcc(0x1e1)]['setParam'](_0x237bcc(0x1b5),_0x157c5e[_0x237bcc(0x1dd)](),_0x3c4d5c);}async[_0x12f18d(0x11c)](_0x4d04ef,_0xf5eb7c){const _0x1761df=_0x12f18d;var _0x49da86;if(!_0xf5eb7c||!_0x4d04ef['getSheetBySheetId'](_0xf5eb7c)){let _0x945170=_0x4d04ef[_0x1761df(0x175)]()[0x0],_0x475049=_0x4d04ef[_0x1761df(0x126)](_0x945170);if(!_0x475049)return;this[_0x1761df(0x177)](_0x475049,!0x0),await this[_0x1761df(0x21a)]['executeCommand'](t['SetWorksheetActivateCommand']['id'],{'unitId':_0x4d04ef['getUnitId'](),'subUnitId':_0x945170});return;}((_0x49da86=_0x4d04ef[_0x1761df(0x213)]())==null?void 0x0:_0x49da86[_0x1761df(0x1dd)]())!==_0xf5eb7c&&await this['_commandService'][_0x1761df(0x102)](t[_0x1761df(0x197)]['id'],{'unitId':_0x4d04ef[_0x1761df(0x198)](),'subUnitId':_0xf5eb7c});}};Q=V([B(0x0,e[_0x12f18d(0x1e9)]),B(0x1,j[_0x12f18d(0x158)]),B(0x2,(0x0,e[_0x12f18d(0x170)])(U)),B(0x3,(0x0,e['Inject'])(e[_0x12f18d(0x10a)])),B(0x4,j[_0x12f18d(0x18e)]),B(0x5,(0x0,e['Inject'])(r[_0x12f18d(0x199)])),B(0x6,r[_0x12f18d(0x133)]),B(0x7,(0x0,e[_0x12f18d(0x170)])(r[_0x12f18d(0x1a5)])),B(0x8,e['IUniverInstanceService']),B(0x9,N['IURLService'])],Q);let $=class extends e[_0x12f18d(0x1e0)]{constructor(_0x38e940=F,_0x267930,_0x1e2c28){const _0x379ca4=_0x12f18d;super(),this[_0x379ca4(0x1a0)]=_0x38e940,this['_injector']=_0x267930,this[_0x379ca4(0x1d8)]=_0x1e2c28;let {menu:_0x589276,..._0x2fb6a9}=(0x0,e[_0x379ca4(0xf5)])({},F,this[_0x379ca4(0x1a0)]);_0x589276&&this[_0x379ca4(0x1d8)][_0x379ca4(0x105)](_0x379ca4(0x1b4),_0x589276,{'merge':!0x0}),this[_0x379ca4(0x1d8)][_0x379ca4(0x105)](P,_0x2fb6a9),this[_0x379ca4(0x1a0)]['univerContainerId']&&this[_0x379ca4(0x1d8)][_0x379ca4(0x105)](_0x379ca4(0x103),this['_config'][_0x379ca4(0x182)]);}[_0x12f18d(0x12f)](){const _0x57cf6d=_0x12f18d;this['_injector'][_0x57cf6d(0x135)]([q]),this[_0x57cf6d(0x108)][_0x57cf6d(0x1ab)](q),[[U],[Q]][_0x57cf6d(0x14e)](_0xb6488a=>this[_0x57cf6d(0x108)][_0x57cf6d(0x135)](_0xb6488a));}[_0x12f18d(0x214)](){const _0x350020=_0x12f18d;this[_0x350020(0x108)]['get'](Q);}};z($,_0x12f18d(0x123),e['UniverInstanceType'][_0x12f18d(0x1be)]),z($,'pluginName',_0x12f18d(0x1ff)),z($,_0x12f18d(0x183),de),z($,_0x12f18d(0x1f4),fe),$=V([(0x0,e[_0x12f18d(0x173)])(a['UniverLicensePlugin']),B(0x1,(0x0,e[_0x12f18d(0x170)])(e['Injector'])),B(0x2,e['IConfigService'])],$),exports['EDIT_HISTORY_LOADER_PLUGIN_CONFIG_KEY']=P,exports['EditHistoryLoaderMenuSchema']=K,exports[_0x12f18d(0x184)]=W,Object[_0x12f18d(0x14b)](exports,'UniverEditHistoryLoaderMobilePlugin',{'enumerable':!0x0,'get':function(){return Z;}}),Object[_0x12f18d(0x14b)](exports,_0x12f18d(0x1c2),{'enumerable':!0x0,'get':function(){return $;}});
|
|
1
|
+
const _0x20d713=_0x2bd6;(function(_0x4e3eec,_0x3a077e){const _0x16d482=_0x2bd6,_0x33032b=_0x4e3eec();while(!![]){try{const _0x1feb25=-parseInt(_0x16d482(0x182))/0x1*(parseInt(_0x16d482(0x17f))/0x2)+parseInt(_0x16d482(0x168))/0x3+-parseInt(_0x16d482(0x1dd))/0x4+-parseInt(_0x16d482(0x1da))/0x5+parseInt(_0x16d482(0x14f))/0x6+parseInt(_0x16d482(0x204))/0x7*(parseInt(_0x16d482(0x21f))/0x8)+parseInt(_0x16d482(0x198))/0x9;if(_0x1feb25===_0x3a077e)break;else _0x33032b['push'](_0x33032b['shift']());}catch(_0x9a5779){_0x33032b['push'](_0x33032b['shift']());}}}(_0x3f66,0xd8bb9),Object['defineProperty'](exports,Symbol['toStringTag'],{'value':_0x20d713(0x210)}));let e=require('@univerjs/core'),t=require('@univerjs/sheets'),n=require('@univerjs-pro/collaboration'),r=require('@univerjs-pro/collaboration-client'),i=require('@univerjs-pro/edit-history-viewer'),a=require('@univerjs-pro/license'),o=require('@univerjs-pro/sheets-chart'),s=require('@univerjs-pro/sheets-chart-ui'),c=require('@univerjs-pro/sheets-pivot'),l=require('@univerjs-pro/sheets-shape'),u=require('@univerjs-pro/sheets-shape-ui'),d=require('@univerjs-pro/sheets-sparkline'),f=require('@univerjs-pro/sheets-sparkline-ui'),p=require('@univerjs/data-validation'),m=require('@univerjs/design'),h=require('@univerjs/docs'),g=require('@univerjs/docs-ui'),_=require('@univerjs/drawing'),v=require('@univerjs/drawing-ui'),y=require('@univerjs/engine-formula'),b=require('@univerjs/engine-render'),x=require('@univerjs/network'),S=require('@univerjs/rpc'),ee=require('@univerjs/sheets-conditional-formatting'),te=require('@univerjs/sheets-conditional-formatting-ui'),C=require('@univerjs/sheets-data-validation'),w=require('@univerjs/sheets-data-validation-ui'),T=require('@univerjs/sheets-drawing'),E=require('@univerjs/sheets-drawing-ui'),D=require('@univerjs/sheets-filter'),ne=require('@univerjs/sheets-filter-ui'),O=require('@univerjs/sheets-formula'),k=require('@univerjs/sheets-formula-ui'),re=require('@univerjs/sheets-hyper-link'),ie=require('@univerjs/sheets-hyper-link-ui'),ae=require('@univerjs/sheets-numfmt'),oe=require('@univerjs/sheets-table'),A=require('@univerjs/sheets-ui'),j=require('@univerjs/ui'),M=require('rxjs'),se=require('@univerjs/icons'),N=require('@univerjs-pro/collaboration-client-ui');const P='edit-history-loader.config',F={'historyPanelComponentKey':_0x20d713(0x1df)};function I(_0x17ca17){const _0x1aaec4=_0x20d713;let _0x43c838=_0x17ca17[_0x1aaec4(0x223)]();return{'locale':_0x43c838,'locales':{[_0x43c838]:_0x17ca17['getLocales']()},'direction':_0x17ca17['getDirection']()};}function L(_0x543a98,_0x3b646e){const _0x9d462=_0x20d713;let _0xf46fac=_0x3b646e['getDirection']();_0x543a98[_0x9d462(0x197)]=_0xf46fac,_0x543a98[_0x9d462(0x1a6)][_0x9d462(0x1ab)]=_0xf46fac;}function R(_0xa717c5){'@babel/helpers - typeof';const _0x48be72=_0x20d713;return R=typeof Symbol==_0x48be72(0x1ae)&&typeof Symbol[_0x48be72(0x20e)]=='symbol'?function(_0x54398a){return typeof _0x54398a;}:function(_0x5eb610){const _0x4ecba9=_0x48be72;return _0x5eb610&&typeof Symbol==_0x4ecba9(0x1ae)&&_0x5eb610[_0x4ecba9(0x1fb)]===Symbol&&_0x5eb610!==Symbol[_0x4ecba9(0x159)]?_0x4ecba9(0x1a0):typeof _0x5eb610;},R(_0xa717c5);}function ce(_0x535778,_0x593528){const _0x150f35=_0x20d713;if(R(_0x535778)!=_0x150f35(0x115)||!_0x535778)return _0x535778;var _0x2a6344=_0x535778[Symbol[_0x150f35(0x226)]];if(_0x2a6344!==void 0x0){var _0x35e5de=_0x2a6344[_0x150f35(0x1a3)](_0x535778,_0x593528||'default');if(R(_0x35e5de)!='object')return _0x35e5de;throw TypeError(_0x150f35(0x162));}return(_0x593528===_0x150f35(0x14a)?String:Number)(_0x535778);}function le(_0x552bba){const _0x38150a=_0x20d713;var _0xc0a792=ce(_0x552bba,_0x38150a(0x14a));return R(_0xc0a792)=='symbol'?_0xc0a792:_0xc0a792+'';}function z(_0x4501d5,_0xcf454,_0x368fb9){const _0x3914f4=_0x20d713;return(_0xcf454=le(_0xcf454))in _0x4501d5?Object[_0x3914f4(0x111)](_0x4501d5,_0xcf454,{'value':_0x368fb9,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x4501d5[_0xcf454]=_0x368fb9,_0x4501d5;}function _0x2bd6(_0x2f7120,_0x50314d){_0x2f7120=_0x2f7120-0x111;const _0x3f669c=_0x3f66();let _0x2bd6c6=_0x3f669c[_0x2f7120];return _0x2bd6c6;}function B(_0x4b6f41,_0x34b9ea){return function(_0x42c85d,_0x543996){_0x34b9ea(_0x42c85d,_0x543996,_0x4b6f41);};}function V(_0x2ea150,_0x105649,_0x5c9ea9,_0x3db1b8){const _0x59848f=_0x20d713;var _0x5b2cc1=arguments[_0x59848f(0x1e0)],_0x57a55b=_0x5b2cc1<0x3?_0x105649:_0x3db1b8===null?_0x3db1b8=Object[_0x59848f(0x207)](_0x105649,_0x5c9ea9):_0x3db1b8,_0xb29f8b;if(typeof Reflect==_0x59848f(0x115)&&typeof Reflect['decorate']==_0x59848f(0x1ae))_0x57a55b=Reflect[_0x59848f(0x120)](_0x2ea150,_0x105649,_0x5c9ea9,_0x3db1b8);else{for(var _0x5d5972=_0x2ea150['length']-0x1;_0x5d5972>=0x0;_0x5d5972--)(_0xb29f8b=_0x2ea150[_0x5d5972])&&(_0x57a55b=(_0x5b2cc1<0x3?_0xb29f8b(_0x57a55b):_0x5b2cc1>0x3?_0xb29f8b(_0x105649,_0x5c9ea9,_0x57a55b):_0xb29f8b(_0x105649,_0x5c9ea9))||_0x57a55b);}return _0x5b2cc1>0x3&&_0x57a55b&&Object[_0x59848f(0x111)](_0x105649,_0x5c9ea9,_0x57a55b),_0x57a55b;}const H='univer-history-container';let U=class extends e[_0x20d713(0x16e)]{constructor(_0x24db1c,_0x347cf3,_0x1842bd,_0x140ed2,_0x2c822f,_0x33e71a,_0x397161,_0x366988,_0x3a0131,_0x331b54){const _0x3ffaef=_0x20d713;super(),this[_0x3ffaef(0x126)]=_0x24db1c,this[_0x3ffaef(0x191)]=_0x347cf3,this[_0x3ffaef(0x16d)]=_0x1842bd,this['_commandService']=_0x140ed2,this[_0x3ffaef(0x175)]=_0x2c822f,this[_0x3ffaef(0x20a)]=_0x33e71a,this[_0x3ffaef(0x199)]=_0x397161,this['_dialogService']=_0x366988,this['_sidebarService']=_0x3a0131,this[_0x3ffaef(0x229)]=_0x331b54,z(this,_0x3ffaef(0x189),new M[(_0x3ffaef(0x16f))](null)),z(this,_0x3ffaef(0x174),this[_0x3ffaef(0x189)]['asObservable']()),z(this,_0x3ffaef(0x176),new e[(_0x3ffaef(0x1c7))]()),z(this,_0x3ffaef(0x195),new Map()),z(this,_0x3ffaef(0x12f),null),this['_init']();}get['historyUniver'](){const _0x15d1c4=_0x20d713;return this['_historyUniver$'][_0x15d1c4(0x172)];}[_0x20d713(0x169)](){const _0x519217=_0x20d713;this[_0x519217(0x1c2)](),this[_0x519217(0x1f3)]();}[_0x20d713(0x1c2)](){const _0x52b3ee=_0x20d713;var _0x3b1d73;let _0x3a147d=(_0x3b1d73=this[_0x52b3ee(0x16d)][_0x52b3ee(0x1c6)](_0x52b3ee(0x1a4)))==null?_0x52b3ee(0x114):_0x3b1d73,_0x5c265c=document['getElementById'](_0x3a147d);if(!_0x5c265c)return;let _0xdb2083=document['createElement'](_0x52b3ee(0x20b));_0xdb2083['id']=H,_0xdb2083[_0x52b3ee(0x129)][_0x52b3ee(0x193)]=_0x52b3ee(0x1b4),_0xdb2083[_0x52b3ee(0x1a6)][_0x52b3ee(0x1e6)]=_0x52b3ee(0x1ca),_0xdb2083[_0x52b3ee(0x1a6)][_0x52b3ee(0x216)]='0',_0xdb2083[_0x52b3ee(0x1a6)]['left']='0',_0xdb2083['style'][_0x52b3ee(0x1ad)]=_0x52b3ee(0x122),_0xdb2083[_0x52b3ee(0x1a6)]['height']=_0x52b3ee(0x122),_0xdb2083[_0x52b3ee(0x1a6)]['zIndex']='49',_0xdb2083[_0x52b3ee(0x1a6)]['display']=_0x52b3ee(0x1c5),L(_0xdb2083,this['_localeService']),_0x5c265c[_0x52b3ee(0x145)](_0xdb2083);}[_0x20d713(0x1f3)](){const _0x1b3770=_0x20d713;[[b[_0x1b3770(0x118)]],[j[_0x1b3770(0x1ff)],{'container':H,'header':!0x0,'toolbar':!0x1,'footer':!0x0,'contextMenu':!0x1,'override':[[j[_0x1b3770(0x227)],null]]}],[x['UniverNetworkPlugin']],[_['UniverDrawingPlugin'],{'override':[[e['IImageIoService'],null]]}],[h[_0x1b3770(0x221)],{'hasScroll':!0x1}],[g[_0x1b3770(0x19e)]],[ae['UniverSheetsNumfmtPlugin']],[t[_0x1b3770(0x1d1)],{'notExecuteFormula':!0x0}],[A['UniverSheetsUIPlugin']],[O['UniverSheetsFormulaPlugin']],[k[_0x1b3770(0x16c)]],[n[_0x1b3770(0x173)]],[D[_0x1b3770(0x11f)]],[ne['UniverSheetsFilterUIPlugin']],[ee[_0x1b3770(0x116)]],[te[_0x1b3770(0x135)]],[re['UniverSheetsHyperLinkPlugin']],[ie[_0x1b3770(0x181)]],[p[_0x1b3770(0x1c9)]],[C[_0x1b3770(0x155)]],[w[_0x1b3770(0x18d)]],[y[_0x1b3770(0x1ed)],{'notExecuteFormula':!0x0}],[v['UniverDrawingUIPlugin']],[T[_0x1b3770(0x178)]],[E[_0x1b3770(0x203)]],[d[_0x1b3770(0x11b)]],[f[_0x1b3770(0x1ef)]],[o[_0x1b3770(0x22b)]],[s[_0x1b3770(0x20d)]],[l[_0x1b3770(0x225)]],[u[_0x1b3770(0x19c)]],[c[_0x1b3770(0x112)],{'notExecuteFormula':!0x0}],[oe[_0x1b3770(0x218)]]]['forEach'](([_0xf50440,_0x3ba716])=>this[_0x1b3770(0x15d)](_0xf50440,_0x3ba716));}[_0x20d713(0x15c)](){const _0xbf0ccb=_0x20d713;super['dispose'](),this[_0xbf0ccb(0x180)](),this[_0xbf0ccb(0x195)][_0xbf0ccb(0x1c0)]();}[_0x20d713(0x15d)](_0x285f2c,_0x3c729e,_0x515fba){const _0x3c8116=_0x20d713;if(this[_0x3c8116(0x195)][_0x3c8116(0x15f)](_0x285f2c[_0x3c8116(0x1c4)])&&!_0x515fba)throw Error(_0x3c8116(0x119)+_0x285f2c[_0x3c8116(0x1c4)]+_0x3c8116(0x19d));this[_0x3c8116(0x195)][_0x3c8116(0x12b)](_0x285f2c[_0x3c8116(0x1c4)],[_0x285f2c,_0x3c729e]);}[_0x20d713(0x224)](){const _0xc892d4=_0x20d713;return Array[_0xc892d4(0x1a7)](this[_0xc892d4(0x195)][_0xc892d4(0x17e)]());}[_0x20d713(0x146)](_0x4da884,_0x1f7d47){const _0x7f3eba=_0x20d713;let _0xa11bc7=document[_0x7f3eba(0x1f8)](H);_0xa11bc7&&(_0xa11bc7['style'][_0x7f3eba(0x214)]=_0x7f3eba(0x186),this['_initUniver'](_0x4da884,H,_0x1f7d47));}[_0x20d713(0x180)](){const _0x4f885e=_0x20d713;var _0x3bcf3a;this[_0x4f885e(0x176)][_0x4f885e(0x15c)](),(_0x3bcf3a=this[_0x4f885e(0x1b5)])==null||_0x3bcf3a[_0x4f885e(0x15c)](),this[_0x4f885e(0x189)][_0x4f885e(0x1fd)](null);let _0x19f1a8=document[_0x4f885e(0x1f8)](H);_0x19f1a8&&(_0x19f1a8[_0x4f885e(0x1a6)][_0x4f885e(0x214)]='none',this[_0x4f885e(0x12f)]&&(this[_0x4f885e(0x12f)][_0x4f885e(0x19f)](),this['_internalWebWorker']=null));}['_initUniver'](_0x40eb44,_0x522ecd,_0x38cd5a){const _0x2cc724=_0x20d713;var _0x405258,_0x275ee5,_0x490d44,_0x4ae14f,_0x2662e7;if(this['historyUniver'])return;let _0x4c069f=new e[(_0x2cc724(0x1e7))]({...I(this[_0x2cc724(0x126)]),'override':[[e[_0x2cc724(0x177)],{'useClass':r[_0x2cc724(0x1bf)]}]]}),_0x29407a=_0x4c069f[_0x2cc724(0x16b)]();this[_0x2cc724(0x13b)](this['_themeService']['darkMode$'][_0x2cc724(0x201)](_0x5289bb=>{const _0x2a1cbf=_0x2cc724;_0x29407a['get'](e['ThemeService'])[_0x2a1cbf(0x16a)](_0x5289bb);})),this['disposeWithMe'](this['_themeService']['currentTheme$'][_0x2cc724(0x201)](_0x4e4e75=>{const _0x58fbcf=_0x2cc724;_0x29407a[_0x58fbcf(0x188)](e[_0x58fbcf(0x143)])[_0x58fbcf(0x1af)](_0x4e4e75);}));let _0x3781e4=_0x29407a[_0x2cc724(0x188)](e[_0x2cc724(0x211)]);_0x3781e4['setLocale'](this[_0x2cc724(0x126)]['getCurrentLocale']()),_0x3781e4[_0x2cc724(0x124)](this[_0x2cc724(0x126)][_0x2cc724(0x1b1)]()),_0x29407a[_0x2cc724(0x188)](e['IConfigService'])[_0x2cc724(0x19b)](r[_0x2cc724(0x1d5)],this[_0x2cc724(0x16d)][_0x2cc724(0x1c6)](r['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']));let _0x493c40=this[_0x2cc724(0x16d)][_0x2cc724(0x1c6)](a[_0x2cc724(0x205)]);_0x493c40&&_0x4c069f[_0x2cc724(0x15d)](a['UniverLicensePlugin'],{'license':_0x493c40['ls']});let _0x9d0be4=(_0x405258=this['_configService'][_0x2cc724(0x1c6)]('edit-history-loader.config'))==null?void 0x0:_0x405258[_0x2cc724(0x1d3)],_0x9091a4=!!_0x9d0be4;_0x9091a4&&(this[_0x2cc724(0x12f)]=_0x9d0be4 instanceof Worker?_0x9d0be4:null,_0x4c069f[_0x2cc724(0x15d)](S[_0x2cc724(0x15b)],{'workerURL':_0x9d0be4})),this['_pluginMap'][_0x2cc724(0x1d2)](([_0x5a50a9,_0x27abe9])=>{const _0xc1358a=_0x2cc724;_0x4c069f[_0xc1358a(0x15d)](_0x5a50a9,_0x27abe9);}),_0x4c069f[_0x2cc724(0x15d)](i[_0x2cc724(0x228)],{'historyListServerUrl':(_0x275ee5=this[_0x2cc724(0x16d)][_0x2cc724(0x1c6)](_0x2cc724(0x1ce)))==null?void 0x0:_0x275ee5[_0x2cc724(0x1b2)],'historyPanelComponentKey':(_0x490d44=this['_configService']['getConfig'](_0x2cc724(0x1ce)))==null?void 0x0:_0x490d44[_0x2cc724(0x11c)],'historyPanelHidden':(_0x4ae14f=this[_0x2cc724(0x16d)][_0x2cc724(0x1c6)](_0x2cc724(0x1ce)))==null?void 0x0:_0x4ae14f[_0x2cc724(0x1b9)],'historyAIassistantEnabled':(_0x2662e7=this[_0x2cc724(0x16d)][_0x2cc724(0x1c6)](_0x2cc724(0x1ce)))==null?void 0x0:_0x2662e7['historyAIassistantEnabled']}),_0x29407a[_0x2cc724(0x113)](_0x4e1884=>{this['_initListener'](_0x4e1884,_0x40eb44);}),this[_0x2cc724(0x189)][_0x2cc724(0x1fd)](_0x4c069f);let _0xdfa6d6=_0x29407a[_0x2cc724(0x188)](i[_0x2cc724(0x150)]),_0x24f8e3=this[_0x2cc724(0x20c)](_0x40eb44),_0x17260c=()=>{const _0xda618e=_0x2cc724;_0x38cd5a?_0xdfa6d6[_0xda618e(0x171)](_0x40eb44,_0x522ecd,_0x24f8e3,_0x38cd5a):_0xdfa6d6['triggerLoadVersions'](_0x40eb44,_0x522ecd,_0x24f8e3);};if(this[_0x2cc724(0x175)][_0x2cc724(0x166)]({'content':this['_localeService']['t']('edit-history-loader.info.initializing'),'type':m['MessageType'][_0x2cc724(0x1cd)]}),_0x9091a4)try{_0x29407a['get'](S['IRemoteInstanceService'])[_0x2cc724(0x133)]()['then'](()=>{_0x17260c();});}catch{_0x17260c();}else _0x17260c();}[_0x20d713(0x1c1)](_0x3c6eca,_0x3cf6ef){const _0x275b14=_0x20d713;let _0x18e15b=_0x3c6eca[_0x275b14(0x188)](i[_0x275b14(0x150)]);this[_0x275b14(0x176)]['add'](_0x18e15b[_0x275b14(0x164)][_0x275b14(0x201)](_0x38bd53=>{const _0xae41ad=_0x275b14;switch(_0x38bd53){case i[_0xae41ad(0x1a1)][_0xae41ad(0x1e5)]:this[_0xae41ad(0x1fa)][_0xae41ad(0x18f)](),this[_0xae41ad(0x1f9)]['close']();break;case i[_0xae41ad(0x1a1)][_0xae41ad(0x117)]:this[_0xae41ad(0x1c8)][_0xae41ad(0x14d)](G['id']),this[_0xae41ad(0x180)]();break;case i[_0xae41ad(0x1a1)][_0xae41ad(0x1ec)]:this['unMountHistoryContent'](),this[_0xae41ad(0x175)][_0xae41ad(0x166)]({'content':this[_0xae41ad(0x126)]['t'](_0xae41ad(0x220)),'type':m[_0xae41ad(0x19a)][_0xae41ad(0x1ec)],'duration':0xbb8});break;default:break;}})),this[_0x275b14(0x176)][_0x275b14(0x1eb)](_0x18e15b[_0x275b14(0x21e)][_0x275b14(0x201)](async _0x183beb=>{const _0x193463=_0x275b14;_0x183beb&&this[_0x193463(0x1c8)][_0x193463(0x14d)](n[_0x193463(0x1f1)]['id'],{'unitId':_0x3cf6ef,'revision':_0x183beb});}));}[_0x20d713(0x20c)](_0x47469c){const _0x4328c8=_0x20d713;let _0x54af75=this[_0x4328c8(0x191)][_0x4328c8(0x1b6)](_0x47469c)['getSheets']()[_0x4328c8(0x141)](_0x28a85c=>_0x28a85c['getSheetId']()),_0x5d830d=new t['WorkbookEditablePermission'](_0x47469c)['id'],_0x9aaae9=_0x54af75[_0x4328c8(0x141)](_0x4d239e=>new t['WorksheetEditPermission'](_0x47469c,_0x4d239e)['id']),_0x11fa1d=_0x54af75['map'](_0x2057f2=>this[_0x4328c8(0x199)]['getSubunitRuleList'](_0x47469c,_0x2057f2)[_0x4328c8(0x141)](_0x466fc1=>new t[(_0x4328c8(0x130))](_0x47469c,_0x2057f2,_0x466fc1['permissionId'])['id']))['flat'](),_0x13d545=new t[(_0x4328c8(0x215))](_0x47469c)['id'];return this['_permissionService'][_0x4328c8(0x1fc)]([_0x5d830d,..._0x9aaae9,..._0x11fa1d,_0x13d545])['every'](_0x705f4a=>!!_0x705f4a[_0x4328c8(0x172)]);}};U=V([B(0x0,(0x0,e['Inject'])(e[_0x20d713(0x211)])),B(0x1,e[_0x20d713(0x1e3)]),B(0x2,e[_0x20d713(0x18e)]),B(0x3,e[_0x20d713(0x139)]),B(0x4,j[_0x20d713(0x1ba)]),B(0x5,e['IPermissionService']),B(0x6,(0x0,e[_0x20d713(0x14e)])(t[_0x20d713(0x11d)])),B(0x7,(0x0,e[_0x20d713(0x14e)])(j[_0x20d713(0x227)])),B(0x8,(0x0,e['Inject'])(j[_0x20d713(0x1d0)])),B(0x9,(0x0,e[_0x20d713(0x14e)])(e['ThemeService']))],U);const W={'id':_0x20d713(0x132),'type':e[_0x20d713(0x1a5)][_0x20d713(0x196)],'handler':_0x152929=>{const _0x31fc7c=_0x20d713;let _0x1f7e65=_0x152929['get'](U),{unitId:_0x356943}=(0x0,t[_0x31fc7c(0x21c)])(_0x152929['get'](e[_0x31fc7c(0x1e3)]))||{};return _0x356943?(_0x1f7e65[_0x31fc7c(0x146)](_0x356943),!0x0):!0x1;}},G={'id':_0x20d713(0x1d8),'type':e['CommandType'][_0x20d713(0x196)],'handler':()=>!0x0};function ue(_0x44af35){const _0x2c6f18=_0x20d713;return{'id':W['id'],'type':j['MenuItemType']['BUTTON'],'icon':_0x2c6f18(0x1f4),'tooltip':_0x2c6f18(0x202),'hidden$':(0x0,j[_0x2c6f18(0x1ac)])(_0x44af35,e[_0x2c6f18(0x154)]['UNIVER_SHEET']),'disabled$':(0x0,A[_0x2c6f18(0x17c)])(_0x44af35,{'workbookTypes':[t['WorkbookViewHistoryPermission']],'worksheetTypes':[],'rangeTypes':[]})};}const K={[j[_0x20d713(0x13e)][_0x20d713(0x1e4)]]:{[W['id']]:{'order':0.2,'menuItemFactory':ue}}};var de=_0x20d713(0x190),fe='1.0.0-alpha.6';let q=class extends e[_0x20d713(0x16e)]{constructor(_0x35010d){const _0xe7f158=_0x20d713;super(),this[_0xe7f158(0x1bc)]=_0x35010d,this[_0xe7f158(0x161)]();}[_0x20d713(0x161)](){const _0x1e1799=_0x20d713;this[_0x1e1799(0x13b)](this[_0x1e1799(0x1bc)]['register']({'HistoryIcon':se[_0x1e1799(0x1f4)]}));}};q=V([B(0x0,(0x0,e[_0x20d713(0x14e)])(j[_0x20d713(0x192)]))],q);let J=class extends e['RxDisposable']{constructor(_0x267dc9,_0x215603,_0xbbe69b,_0x67166f,_0x420d03,_0x411242,_0x10491a,_0xe9890f,_0x15589f,_0x1cc3c6){const _0x1e443a=_0x20d713;super(),this['_commandService']=_0x267dc9,this[_0x1e443a(0x1d6)]=_0x215603,this['_historyManagerService']=_0xbbe69b,this[_0x1e443a(0x126)]=_0x67166f,this[_0x1e443a(0x175)]=_0x420d03,this[_0x1e443a(0x1ee)]=_0x411242,this[_0x1e443a(0x1bd)]=_0x10491a,this[_0x1e443a(0x149)]=_0xe9890f,this['_univerInstanceService']=_0x15589f,this['_urlService']=_0x1cc3c6,z(this,_0x1e443a(0x13d),null),this[_0x1e443a(0x169)]();}[_0x20d713(0x169)](){const _0x3424af=_0x20d713;[W,G][_0x3424af(0x1d2)](_0x760e94=>this[_0x3424af(0x13b)]((0x0,e[_0x3424af(0x1f2)])(this['_commandService'][_0x3424af(0x17d)](_0x760e94)))),this['_menuManagerService']['mergeMenu'](K),this[_0x3424af(0x13b)](this[_0x3424af(0x1c8)][_0x3424af(0x1cb)](async(_0x141c23,_0x200478)=>{const _0x2bda97=_0x3424af;if(_0x141c23['id']===n[_0x2bda97(0x1f1)]['id']){let {unitId:_0x128285}=_0x141c23['params'];this[_0x2bda97(0x175)][_0x2bda97(0x166)]({'content':this[_0x2bda97(0x126)]['t']('edit-history-loader.panel.reverting'),'type':m[_0x2bda97(0x19a)][_0x2bda97(0x1cd)],'duration':0x1388});let _0x280635=this['_collaborationController']['getCollabEntity'](_0x128285);_0x200478!=null&&_0x200478[_0x2bda97(0x1e2)]?this[_0x2bda97(0x1db)](_0x280635,async()=>(setTimeout(()=>window[_0x2bda97(0x14b)][_0x2bda97(0x1e8)]()),!0x0),!0x0):this[_0x2bda97(0x1db)](_0x280635,async()=>{const _0x25d725=_0x2bda97;let _0x2b441e=this[_0x25d725(0x191)][_0x25d725(0x194)](e[_0x25d725(0x154)][_0x25d725(0x1b7)]),_0x54b9fe=_0x2b441e==null?void 0x0:_0x2b441e['getActiveSheet']();if(!_0x54b9fe)return!0x1;this[_0x25d725(0x191)][_0x25d725(0x209)](_0x128285);let _0x4a6c90=await this['_dataLoaderService']['loadUnit'](_0x128285,e[_0x25d725(0x154)][_0x25d725(0x1b7)]);return _0x4a6c90&&_0x4a6c90 instanceof e['Workbook']?(await this['_setupSubUnitSync'](_0x4a6c90,_0x54b9fe[_0x25d725(0x1d7)]()),!0x0):!0x1;});}}));}['_handleRevertAcknowledgement'](_0x55035a,_0x35e117,_0x529597=!0x1){const _0x4272b3=_0x20d713;let _0x3727d1=(0x0,M[_0x4272b3(0x13c)])([_0x55035a['session'][_0x4272b3(0x151)],_0x55035a['state$']])[_0x4272b3(0x201)](async([_0x1924ad,_0x5c84e8])=>{const _0x5a313a=_0x4272b3;if(_0x1924ad[_0x5a313a(0x213)]===n[_0x5a313a(0x1e1)]['CHANGESET_ACK']&&(_0x5c84e8==null?void 0x0:_0x5c84e8[_0x5a313a(0x12a)])===r[_0x5a313a(0x1a2)][_0x5a313a(0x17b)]&&_0x1924ad[_0x5a313a(0x15e)]['mutations']['some'](_0xecbe61=>_0xecbe61['id']===n['RevertRevisionMutation']['id'])&&await _0x35e117()){var _0x46e850;this['_historyManagerService'][_0x5a313a(0x180)](),_0x3727d1[_0x5a313a(0x184)](),this[_0x5a313a(0x13d)]&&clearTimeout(this[_0x5a313a(0x13d)]),await((_0x46e850=this[_0x5a313a(0x1bd)])==null?void 0x0:_0x46e850[_0x5a313a(0x11a)]()),this[_0x5a313a(0x175)]['removeAll']();}});_0x529597&&(this['_revertErrorTimer']=setTimeout(()=>{const _0x4391a5=_0x4272b3;_0x3727d1[_0x4391a5(0x184)](),this[_0x4391a5(0x175)][_0x4391a5(0x166)]({'content':this['_localeService']['t'](_0x4391a5(0x1c3)),'type':m[_0x4391a5(0x19a)]['Error'],'duration':0xbb8});},0x1388));}async[_0x20d713(0x128)](_0x2cc7f7,_0x2119fd){const _0x31ca6d=_0x20d713;await this[_0x31ca6d(0x131)](_0x2cc7f7,_0x2119fd),_0x2cc7f7['activeSheet$'][_0x31ca6d(0x14c)]((0x0,M[_0x31ca6d(0x1dc)])(this[_0x31ca6d(0x148)]))[_0x31ca6d(0x201)](_0x2f76ba=>{const _0x1d3b7f=_0x31ca6d;_0x2f76ba&&this[_0x1d3b7f(0x12c)](_0x2f76ba);}),this[_0x31ca6d(0x1e9)]['urlChange$'][_0x31ca6d(0x14c)]((0x0,M[_0x31ca6d(0x1dc)])(this[_0x31ca6d(0x148)]))[_0x31ca6d(0x201)](()=>this[_0x31ca6d(0x131)](_0x2cc7f7,_0x2119fd));}['_updateURLWithCurrentState'](_0x3e9a7d,_0x1196ce=!0x1){const _0x5dfce1=_0x20d713;let _0x1c4f38=this[_0x5dfce1(0x1e9)]['getParam']('subunit');_0x3e9a7d[_0x5dfce1(0x1d7)]()!==_0x1c4f38&&this[_0x5dfce1(0x1e9)][_0x5dfce1(0x165)](_0x5dfce1(0x1cc),_0x3e9a7d['getSheetId'](),_0x1196ce);}async['_updateSubUnitFromURLParams'](_0x1178d3,_0x31f355){const _0x1e6bc1=_0x20d713;var _0x1db2e4;if(!_0x31f355||!_0x1178d3[_0x1e6bc1(0x125)](_0x31f355)){let _0xeaf65c=_0x1178d3[_0x1e6bc1(0x13a)]()[0x0],_0x3ab3e9=_0x1178d3[_0x1e6bc1(0x125)](_0xeaf65c);if(!_0x3ab3e9)return;this['_updateURLWithCurrentState'](_0x3ab3e9,!0x0),await this[_0x1e6bc1(0x1c8)]['executeCommand'](t[_0x1e6bc1(0x147)]['id'],{'unitId':_0x1178d3[_0x1e6bc1(0x185)](),'subUnitId':_0xeaf65c});return;}((_0x1db2e4=_0x1178d3[_0x1e6bc1(0x1b8)]())==null?void 0x0:_0x1db2e4['getSheetId']())!==_0x31f355&&await this[_0x1e6bc1(0x1c8)][_0x1e6bc1(0x14d)](t[_0x1e6bc1(0x147)]['id'],{'unitId':_0x1178d3[_0x1e6bc1(0x185)](),'subUnitId':_0x31f355});}};J=V([B(0x0,e[_0x20d713(0x139)]),B(0x1,j[_0x20d713(0x1f6)]),B(0x2,(0x0,e[_0x20d713(0x14e)])(U)),B(0x3,(0x0,e[_0x20d713(0x14e)])(e[_0x20d713(0x211)])),B(0x4,j[_0x20d713(0x1ba)]),B(0x5,(0x0,e[_0x20d713(0x14e)])(r[_0x20d713(0x11e)])),B(0x6,r[_0x20d713(0x137)]),B(0x7,(0x0,e[_0x20d713(0x14e)])(r[_0x20d713(0x140)])),B(0x8,e[_0x20d713(0x1e3)]),B(0x9,N['IURLService'])],J);const Y=_0x20d713(0x18b);function _0x3f66(){const _0x2eeb56=['div','_checkCanRevert','UniverSheetsChartUIPlugin','iterator','height','Module','LocaleService','mutations','eventID','display','WorkbookRecoverHistoryPermission','top','session','UniverSheetsTablePlugin','UniverEditHistoryViewerMobilePlugin','triggerLoadVersions','UniverDrawingUIPlugin','getSheetCommandTarget','[MobileHistoryLoaderService]:\x20Plugin\x20','revertRevision$','5718920CIoWMV','edit-history-loader.panel.listFetchError','UniverDocsPlugin','merge','getCurrentLocale','getAllPlugins','UniverSheetsShapePlugin','toPrimitive','IDialogService','UniverEditHistoryViewerPlugin','_themeService','version','UniverSheetsChartPlugin','defineProperty','UniverSheetsPivotTablePlugin','invoke','univer-container','object','UniverSheetsConditionalFormattingPlugin','Exited','UniverRenderEnginePlugin','[HistoryLoaderService]:\x20Plugin\x20','exhaustSavingTask','UniverSheetSparklinePlugin','historyPanelComponentKey','RangeProtectionRuleModel','CollaborationController','UniverSheetsFilterPlugin','decorate','_injector','100%','EDIT_HISTORY_LOADER_PLUGIN_CONFIG_KEY','setDirection','getSheetBySheetId','_localeService','urlChange$','_setupSubUnitSync','dataset','status','set','_updateURLWithCurrentState','_historyManagerService','UniverLicensePlugin','_internalWebWorker','RangeProtectionPermissionEditPoint','_updateSubUnitFromURLParams','univer.operation.toggle-edit-history','whenReady','univerContainerId','UniverSheetsConditionalFormattingUIPlugin','getCollabEntity','ILocalCacheService','mergeMenu','ICommandService','getUnhiddenWorksheets','disposeWithMe','combineLatest','_revertErrorTimer','RibbonStartGroup','onStarting','DataLoaderService','map','currentTheme$','ThemeService','IImageIoService','appendChild','mountHistoryContent','SetWorksheetActivateCommand','dispose$','_dataLoaderService','string','location','pipe','executeCommand','Inject','9143562vUMClO','HistoryManagerService','event$','permissionId','asObservable','UniverInstanceType','UniverSheetsDataValidationPlugin','left','WorkbookEditablePermission','DependentOn','prototype','params','UniverRPCMainThreadPlugin','dispose','registerPlugin','data','has','flat','_registerIcons','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','UNIVER_UNKNOWN','status$','setParam','show','onSteady','268974maRLJP','_init','setDarkMode','__getInjector','UniverSheetsFormulaUIPlugin','_configService','Disposable','BehaviorSubject','CHANGESET_ACK','triggerCustomVersions','value','UniverCollaborationPlugin','historyUniver$','_messageService','_disposableCollection','IAuthzIoService','UniverSheetsDrawingPlugin','packageName','UniverEditHistoryLoaderPlugin','SYNCED','getCurrentRangeDisable$','registerCommand','values','6yyGeLr','unMountHistoryContent','UniverSheetsHyperLinkUIPlugin','282823BTeJtm','loadUnit','unsubscribe','getUnitId','block','UniverSheetsDataValidationMobileUIPlugin','get','_historyUniver$','createElement','univer-history-container-mobile','setLocale','UniverSheetsDataValidationUIPlugin','IConfigService','closeAll','@univerjs-pro/edit-history-loader','_univerInstanceService','IconManager','uComp','getCurrentUnitOfType','_pluginMap','OPERATION','dir','17353773tmtyal','_selectionProtectionRuleModel','MessageType','setConfig','UniverSheetsShapeUIPlugin','\x20has\x20been\x20registered.','UniverDocsUIPlugin','terminate','symbol','HistoryModeStatus','CollaborationStatus','call','UNIVER_CONTAINER_ID','CommandType','style','from','_config','_initUniver','IURLService','direction','getMenuHiddenObservable','width','function','setTheme','every','getDirection','historyListServerUrl','state$','history-container','historyUniver','getUnit','UNIVER_SHEET','getActiveSheet','historyPanelHidden','IMessageService','Injector','_iconManager','_localCacheService','activeSheet$','AuthzIoHttpService','clear','_initListener','_initContainer','edit-history-loader.panel.revertFailed','pluginName','none','getConfig','DisposableCollection','_commandService','UniverDataValidationPlugin','absolute','onCommandExecuted','subunit','Loading','edit-history-loader.config','getSheets','ISidebarService','UniverSheetsPlugin','forEach','workerURL','type','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','_menuManagerService','getSheetId','univer.operation.exit-edit-history','UNIVER_EDIT_HISTORY_LOADER_MOBILE_PLUGIN','5128650FvORIM','_handleRevertAcknowledgement','takeUntil','5978844yBtQUZ','IPermissionService','history-panel','length','CollaborationEvent','fromCollab','IUniverInstanceService','OTHERS','Entered','position','Univer','reload','_urlService','darkMode$','add','Error','UniverFormulaEnginePlugin','_collaborationController','UniverSheetSparklineUIPlugin','UNIVER_EDIT_HISTORY_LOADER_PLUGIN','RevertRevisionMutation','toDisposable','_initPlugins','HistoryIcon','EditHistoryLoaderMenuSchema','IMenuManagerService','menu','getElementById','_sidebarService','_dialogService','constructor','composePermission','next','Plugin','UniverUIPlugin','UniverSheetsHyperLinkPlugin','subscribe','edit-history-loader.panel.title','UniverSheetsDrawingUIPlugin','7DvYUnY','LS_CONFIG_KEY','UniverMobileUIPlugin','getOwnPropertyDescriptor','UniverNetworkPlugin','disposeUnit','_permissionService'];_0x3f66=function(){return _0x2eeb56;};return _0x3f66();}let X=class extends e['Disposable']{constructor(_0x5565ff,_0x187604,_0x7a2868,_0x4091c6,_0x4141dc,_0x187ea4,_0x1c579f,_0x4ae60f,_0x1ba1e1,_0x2d9a70){const _0x19d2b2=_0x20d713;super(),this[_0x19d2b2(0x126)]=_0x5565ff,this[_0x19d2b2(0x191)]=_0x187604,this[_0x19d2b2(0x16d)]=_0x7a2868,this[_0x19d2b2(0x1c8)]=_0x4091c6,this[_0x19d2b2(0x175)]=_0x4141dc,this[_0x19d2b2(0x20a)]=_0x187ea4,this[_0x19d2b2(0x199)]=_0x1c579f,this['_dialogService']=_0x4ae60f,this[_0x19d2b2(0x1f9)]=_0x1ba1e1,this[_0x19d2b2(0x229)]=_0x2d9a70,z(this,_0x19d2b2(0x189),new M[(_0x19d2b2(0x16f))](null)),z(this,_0x19d2b2(0x174),this['_historyUniver$'][_0x19d2b2(0x153)]()),z(this,_0x19d2b2(0x176),new e[(_0x19d2b2(0x1c7))]()),z(this,_0x19d2b2(0x195),new Map()),z(this,_0x19d2b2(0x12f),null),this[_0x19d2b2(0x169)]();}get[_0x20d713(0x1b5)](){return this['_historyUniver$']['value'];}['_init'](){const _0x664c89=_0x20d713;this['_initContainer'](),this[_0x664c89(0x1f3)]();}['_initContainer'](){const _0x28a707=_0x20d713;var _0x5dbd38;let _0x1df7d4=(_0x5dbd38=this[_0x28a707(0x16d)]['getConfig'](_0x28a707(0x1a4)))==null?'univer-container':_0x5dbd38,_0x1fc247=document[_0x28a707(0x1f8)](_0x1df7d4);if(!_0x1fc247)return;let _0x1d689e=document[_0x28a707(0x18a)]('div');_0x1d689e['id']=Y,_0x1d689e['dataset'][_0x28a707(0x193)]=_0x28a707(0x1b4),_0x1d689e['style'][_0x28a707(0x1e6)]=_0x28a707(0x1ca),_0x1d689e[_0x28a707(0x1a6)][_0x28a707(0x216)]='0',_0x1d689e[_0x28a707(0x1a6)][_0x28a707(0x156)]='0',_0x1d689e[_0x28a707(0x1a6)][_0x28a707(0x1ad)]=_0x28a707(0x122),_0x1d689e[_0x28a707(0x1a6)][_0x28a707(0x20f)]='100%',_0x1d689e[_0x28a707(0x1a6)]['zIndex']='49',_0x1d689e[_0x28a707(0x1a6)]['display']='none',L(_0x1d689e,this[_0x28a707(0x126)]),_0x1fc247[_0x28a707(0x145)](_0x1d689e);}[_0x20d713(0x1f3)](){const _0x1fc2a3=_0x20d713;[[b[_0x1fc2a3(0x118)]],[j[_0x1fc2a3(0x206)],{'container':Y,'header':!0x0,'toolbar':!0x1,'footer':!0x0,'contextMenu':!0x1,'override':[[j['IDialogService'],null]]}],[x[_0x1fc2a3(0x208)]],[_['UniverDrawingPlugin'],{'override':[[e[_0x1fc2a3(0x144)],null]]}],[h[_0x1fc2a3(0x221)],{'hasScroll':!0x1}],[g[_0x1fc2a3(0x19e)]],[ae['UniverSheetsNumfmtPlugin']],[t[_0x1fc2a3(0x1d1)],{'notExecuteFormula':!0x0}],[A['UniverSheetsMobileUIPlugin']],[O['UniverSheetsFormulaPlugin']],[k['UniverSheetsFormulaUIPlugin']],[n[_0x1fc2a3(0x173)]],[D[_0x1fc2a3(0x11f)]],[ee['UniverSheetsConditionalFormattingPlugin']],[re[_0x1fc2a3(0x200)]],[ie[_0x1fc2a3(0x181)]],[p[_0x1fc2a3(0x1c9)]],[C[_0x1fc2a3(0x155)]],[w[_0x1fc2a3(0x187)]],[y[_0x1fc2a3(0x1ed)],{'notExecuteFormula':!0x0}],[v[_0x1fc2a3(0x21b)]],[T[_0x1fc2a3(0x178)]],[E[_0x1fc2a3(0x203)]],[d[_0x1fc2a3(0x11b)]],[f[_0x1fc2a3(0x1ef)]],[o[_0x1fc2a3(0x22b)]],[s[_0x1fc2a3(0x20d)]],[l[_0x1fc2a3(0x225)]],[u[_0x1fc2a3(0x19c)]],[c[_0x1fc2a3(0x112)],{'notExecuteFormula':!0x0}],[oe[_0x1fc2a3(0x218)]]][_0x1fc2a3(0x1d2)](([_0x297e53,_0x41585a])=>this[_0x1fc2a3(0x15d)](_0x297e53,_0x41585a));}[_0x20d713(0x15c)](){const _0x349a9b=_0x20d713;super[_0x349a9b(0x15c)](),this[_0x349a9b(0x180)](),this[_0x349a9b(0x195)][_0x349a9b(0x1c0)]();}[_0x20d713(0x15d)](_0x424159,_0x249343,_0xa10f83){const _0x47bc3c=_0x20d713;if(this['_pluginMap'][_0x47bc3c(0x15f)](_0x424159[_0x47bc3c(0x1c4)])&&!_0xa10f83)throw Error(_0x47bc3c(0x21d)+_0x424159[_0x47bc3c(0x1c4)]+_0x47bc3c(0x19d));this[_0x47bc3c(0x195)][_0x47bc3c(0x12b)](_0x424159[_0x47bc3c(0x1c4)],[_0x424159,_0x249343]);}[_0x20d713(0x224)](){const _0x385dc2=_0x20d713;return Array[_0x385dc2(0x1a7)](this[_0x385dc2(0x195)][_0x385dc2(0x17e)]());}[_0x20d713(0x146)](_0x3edebd,_0x1c6e70){const _0x38d3ec=_0x20d713;let _0x1354af=document[_0x38d3ec(0x1f8)](Y);_0x1354af&&(_0x1354af[_0x38d3ec(0x1a6)][_0x38d3ec(0x214)]=_0x38d3ec(0x186),this['_initUniver'](_0x3edebd,Y,_0x1c6e70));}[_0x20d713(0x180)](){const _0x1aba8a=_0x20d713;var _0x414bff;this[_0x1aba8a(0x176)][_0x1aba8a(0x15c)](),(_0x414bff=this[_0x1aba8a(0x1b5)])==null||_0x414bff[_0x1aba8a(0x15c)](),this[_0x1aba8a(0x189)]['next'](null);let _0x40f4a8=document[_0x1aba8a(0x1f8)](Y);_0x40f4a8&&(_0x40f4a8[_0x1aba8a(0x1a6)]['display']=_0x1aba8a(0x1c5),this[_0x1aba8a(0x12f)]&&(this[_0x1aba8a(0x12f)][_0x1aba8a(0x19f)](),this[_0x1aba8a(0x12f)]=null));}[_0x20d713(0x1a9)](_0x4069c9,_0x563b3b,_0x6ebcd5){const _0x4290bf=_0x20d713;var _0x1d67af,_0x4aeb89,_0x386b0a,_0x1b126a;if(this['historyUniver'])return;let _0x48d24a=new e[(_0x4290bf(0x1e7))]({...I(this[_0x4290bf(0x126)]),'override':[[e['IAuthzIoService'],{'useClass':r[_0x4290bf(0x1bf)]}]]}),_0x5cb122=_0x48d24a[_0x4290bf(0x16b)]();this[_0x4290bf(0x13b)](this[_0x4290bf(0x229)][_0x4290bf(0x1ea)]['subscribe'](_0x234418=>{const _0x255370=_0x4290bf;_0x5cb122[_0x255370(0x188)](e[_0x255370(0x143)])[_0x255370(0x16a)](_0x234418);})),this[_0x4290bf(0x13b)](this[_0x4290bf(0x229)][_0x4290bf(0x142)][_0x4290bf(0x201)](_0x104fdc=>{const _0x46c033=_0x4290bf;_0x5cb122[_0x46c033(0x188)](e[_0x46c033(0x143)])[_0x46c033(0x1af)](_0x104fdc);}));let _0x4e1258=_0x5cb122[_0x4290bf(0x188)](e['LocaleService']);_0x4e1258[_0x4290bf(0x18c)](this[_0x4290bf(0x126)][_0x4290bf(0x223)]()),_0x4e1258[_0x4290bf(0x124)](this[_0x4290bf(0x126)]['getDirection']()),_0x5cb122[_0x4290bf(0x188)](e[_0x4290bf(0x18e)])['setConfig'](r[_0x4290bf(0x1d5)],this[_0x4290bf(0x16d)][_0x4290bf(0x1c6)](r[_0x4290bf(0x1d5)]));let _0x4fcb7d=this[_0x4290bf(0x16d)]['getConfig'](a[_0x4290bf(0x205)]);_0x4fcb7d&&_0x48d24a[_0x4290bf(0x15d)](a[_0x4290bf(0x12e)],{'license':_0x4fcb7d['ls']});let _0x4a2c7b=(_0x1d67af=this[_0x4290bf(0x16d)]['getConfig']('edit-history-loader.config'))==null?void 0x0:_0x1d67af['workerURL'],_0x52ee72=!!_0x4a2c7b;_0x52ee72&&(this[_0x4290bf(0x12f)]=_0x4a2c7b instanceof Worker?_0x4a2c7b:null,_0x48d24a[_0x4290bf(0x15d)](S[_0x4290bf(0x15b)],{'workerURL':_0x4a2c7b})),this[_0x4290bf(0x195)][_0x4290bf(0x1d2)](([_0x426b1f,_0x39f7c9])=>{const _0x158f24=_0x4290bf;_0x48d24a[_0x158f24(0x15d)](_0x426b1f,_0x39f7c9);}),_0x48d24a['registerPlugin'](i[_0x4290bf(0x219)],{'historyListServerUrl':(_0x4aeb89=this['_configService']['getConfig'](_0x4290bf(0x1ce)))==null?void 0x0:_0x4aeb89[_0x4290bf(0x1b2)],'historyPanelComponentKey':(_0x386b0a=this['_configService']['getConfig']('edit-history-loader.config'))==null?void 0x0:_0x386b0a[_0x4290bf(0x11c)],'historyPanelHidden':(_0x1b126a=this[_0x4290bf(0x16d)][_0x4290bf(0x1c6)](_0x4290bf(0x1ce)))==null?void 0x0:_0x1b126a[_0x4290bf(0x1b9)]}),_0x5cb122['invoke'](_0x5061f1=>{const _0x226710=_0x4290bf;this[_0x226710(0x1c1)](_0x5061f1,_0x4069c9);}),this[_0x4290bf(0x189)][_0x4290bf(0x1fd)](_0x48d24a);let _0xa30972=_0x5cb122['get'](i[_0x4290bf(0x150)]),_0x346109=this[_0x4290bf(0x20c)](_0x4069c9),_0x643283=()=>{const _0x323dfb=_0x4290bf;_0x6ebcd5?_0xa30972[_0x323dfb(0x171)](_0x4069c9,_0x563b3b,_0x346109,_0x6ebcd5):_0xa30972[_0x323dfb(0x21a)](_0x4069c9,_0x563b3b,_0x346109);};if(this['_messageService'][_0x4290bf(0x166)]({'content':this[_0x4290bf(0x126)]['t']('edit-history-loader.info.initializing'),'type':m[_0x4290bf(0x19a)][_0x4290bf(0x1cd)]}),_0x52ee72)try{_0x5cb122['get'](S['IRemoteInstanceService'])[_0x4290bf(0x133)]()['then'](()=>{_0x643283();});}catch{_0x643283();}else _0x643283();}[_0x20d713(0x1c1)](_0x4da9c4,_0x3d7922){const _0x54a6ff=_0x20d713;let _0x3b61a0=_0x4da9c4[_0x54a6ff(0x188)](i['HistoryManagerService']);this[_0x54a6ff(0x176)]['add'](_0x3b61a0[_0x54a6ff(0x164)][_0x54a6ff(0x201)](_0x4293d9=>{const _0x567d18=_0x54a6ff;switch(_0x4293d9){case i[_0x567d18(0x1a1)][_0x567d18(0x1e5)]:this['_dialogService'][_0x567d18(0x18f)](),this[_0x567d18(0x1f9)]['close']();break;case i[_0x567d18(0x1a1)][_0x567d18(0x117)]:this['_commandService'][_0x567d18(0x14d)](G['id']),this[_0x567d18(0x180)]();break;case i[_0x567d18(0x1a1)]['Error']:this[_0x567d18(0x180)](),this[_0x567d18(0x175)][_0x567d18(0x166)]({'content':this['_localeService']['t'](_0x567d18(0x220)),'type':m[_0x567d18(0x19a)][_0x567d18(0x1ec)],'duration':0xbb8});break;default:break;}})),this['_disposableCollection'][_0x54a6ff(0x1eb)](_0x3b61a0[_0x54a6ff(0x21e)]['subscribe'](async _0x42b511=>{const _0x4db0a3=_0x54a6ff;_0x42b511&&this['_commandService'][_0x4db0a3(0x14d)](n['RevertRevisionMutation']['id'],{'unitId':_0x3d7922,'revision':_0x42b511});}));}[_0x20d713(0x20c)](_0x36ee83){const _0x4d588d=_0x20d713;let _0xa9047a=this[_0x4d588d(0x191)][_0x4d588d(0x1b6)](_0x36ee83)[_0x4d588d(0x1cf)]()[_0x4d588d(0x141)](_0x2deeeb=>_0x2deeeb['getSheetId']()),_0x30142c=new t[(_0x4d588d(0x157))](_0x36ee83)['id'],_0x19eb4d=_0xa9047a[_0x4d588d(0x141)](_0x17aab5=>new t['WorksheetEditPermission'](_0x36ee83,_0x17aab5)['id']),_0x446b4a=_0xa9047a['map'](_0x5f22f2=>this[_0x4d588d(0x199)]['getSubunitRuleList'](_0x36ee83,_0x5f22f2)[_0x4d588d(0x141)](_0x413ea4=>new t[(_0x4d588d(0x130))](_0x36ee83,_0x5f22f2,_0x413ea4[_0x4d588d(0x152)])['id']))[_0x4d588d(0x160)](),_0x31a6de=new t[(_0x4d588d(0x215))](_0x36ee83)['id'];return this[_0x4d588d(0x20a)][_0x4d588d(0x1fc)]([_0x30142c,..._0x19eb4d,..._0x446b4a,_0x31a6de])[_0x4d588d(0x1b0)](_0x1e0d5c=>!!_0x1e0d5c['value']);}};X=V([B(0x0,(0x0,e[_0x20d713(0x14e)])(e[_0x20d713(0x211)])),B(0x1,e['IUniverInstanceService']),B(0x2,e['IConfigService']),B(0x3,e[_0x20d713(0x139)]),B(0x4,j[_0x20d713(0x1ba)]),B(0x5,e[_0x20d713(0x1de)]),B(0x6,(0x0,e[_0x20d713(0x14e)])(t['RangeProtectionRuleModel'])),B(0x7,(0x0,e['Inject'])(j['IDialogService'])),B(0x8,(0x0,e[_0x20d713(0x14e)])(j[_0x20d713(0x1d0)])),B(0x9,(0x0,e[_0x20d713(0x14e)])(e['ThemeService']))],X);let Z=class extends e[_0x20d713(0x1fe)]{constructor(_0x1d8911=F,_0x13670d,_0x5c2ce3){const _0x3fe625=_0x20d713;super(),this[_0x3fe625(0x1a8)]=_0x1d8911,this[_0x3fe625(0x121)]=_0x13670d,this['_configService']=_0x5c2ce3;let {menu:_0x296e45,..._0x398cd3}=(0x0,e[_0x3fe625(0x222)])({},F,this[_0x3fe625(0x1a8)]);_0x296e45&&this['_configService'][_0x3fe625(0x19b)](_0x3fe625(0x1f7),_0x296e45,{'merge':!0x0}),this[_0x3fe625(0x16d)][_0x3fe625(0x19b)](P,_0x398cd3),this['_config']['univerContainerId']&&this[_0x3fe625(0x16d)][_0x3fe625(0x19b)]('UNIVER_CONTAINER_ID',this[_0x3fe625(0x1a8)][_0x3fe625(0x134)]);}[_0x20d713(0x13f)](){const _0x52453f=_0x20d713;this[_0x52453f(0x121)][_0x52453f(0x1eb)]([q]),this[_0x52453f(0x121)][_0x52453f(0x188)](q),[[U,{'useClass':X}],[J]][_0x52453f(0x1d2)](_0x3a5bad=>this[_0x52453f(0x121)][_0x52453f(0x1eb)](_0x3a5bad));}[_0x20d713(0x167)](){const _0x1892ec=_0x20d713;this[_0x1892ec(0x121)][_0x1892ec(0x188)](J);}};z(Z,_0x20d713(0x1d4),e[_0x20d713(0x154)][_0x20d713(0x163)]),z(Z,'pluginName',_0x20d713(0x1d9)),z(Z,_0x20d713(0x179),de),z(Z,_0x20d713(0x22a),fe),Z=V([(0x0,e[_0x20d713(0x158)])(a[_0x20d713(0x12e)]),B(0x1,(0x0,e[_0x20d713(0x14e)])(e[_0x20d713(0x1bb)])),B(0x2,e[_0x20d713(0x18e)])],Z);let Q=class extends e['RxDisposable']{constructor(_0x37ea77,_0x2209f4,_0x3e0a14,_0x46ca76,_0x1b3d9d,_0x28c214,_0x2a33b0,_0x25157f,_0x16514a,_0x5b7fc5){const _0x2e117b=_0x20d713;super(),this[_0x2e117b(0x1c8)]=_0x37ea77,this[_0x2e117b(0x1d6)]=_0x2209f4,this[_0x2e117b(0x12d)]=_0x3e0a14,this[_0x2e117b(0x126)]=_0x46ca76,this[_0x2e117b(0x175)]=_0x1b3d9d,this[_0x2e117b(0x1ee)]=_0x28c214,this[_0x2e117b(0x1bd)]=_0x2a33b0,this[_0x2e117b(0x149)]=_0x25157f,this[_0x2e117b(0x191)]=_0x16514a,this[_0x2e117b(0x1e9)]=_0x5b7fc5,z(this,_0x2e117b(0x13d),null),this[_0x2e117b(0x169)]();}[_0x20d713(0x169)](){const _0x17dfaa=_0x20d713;[W,G][_0x17dfaa(0x1d2)](_0x1ced8d=>this[_0x17dfaa(0x13b)]((0x0,e[_0x17dfaa(0x1f2)])(this['_commandService'][_0x17dfaa(0x17d)](_0x1ced8d)))),this['_menuManagerService'][_0x17dfaa(0x138)](K),this[_0x17dfaa(0x13b)](this[_0x17dfaa(0x1c8)][_0x17dfaa(0x1cb)](async(_0x2de08c,_0x1cd4bd)=>{const _0x243154=_0x17dfaa;if(_0x2de08c['id']===n['RevertRevisionMutation']['id']){let {unitId:_0x1ce394}=_0x2de08c[_0x243154(0x15a)];this[_0x243154(0x175)][_0x243154(0x166)]({'content':this[_0x243154(0x126)]['t']('edit-history-loader.panel.reverting'),'type':m[_0x243154(0x19a)][_0x243154(0x1cd)],'duration':0x1388});let _0x1daeef=this['_collaborationController'][_0x243154(0x136)](_0x1ce394);_0x1cd4bd!=null&&_0x1cd4bd[_0x243154(0x1e2)]?this[_0x243154(0x1db)](_0x1daeef,async()=>(setTimeout(()=>window[_0x243154(0x14b)][_0x243154(0x1e8)]()),!0x0),!0x0):this['_handleRevertAcknowledgement'](_0x1daeef,async()=>{const _0xae23=_0x243154;let _0x5c1261=this[_0xae23(0x191)][_0xae23(0x194)](e['UniverInstanceType']['UNIVER_SHEET']),_0x4fca2d=_0x5c1261==null?void 0x0:_0x5c1261[_0xae23(0x1b8)]();if(!_0x4fca2d)return!0x1;this['_univerInstanceService'][_0xae23(0x209)](_0x1ce394);let _0x5212e6=await this[_0xae23(0x149)][_0xae23(0x183)](_0x1ce394,e[_0xae23(0x154)][_0xae23(0x1b7)]);return _0x5212e6&&_0x5212e6 instanceof e['Workbook']?(await this['_setupSubUnitSync'](_0x5212e6,_0x4fca2d[_0xae23(0x1d7)]()),!0x0):!0x1;});}}));}[_0x20d713(0x1db)](_0x381e90,_0x49c6ab,_0x2f14e4=!0x1){const _0x175216=_0x20d713;let _0x35ee27=(0x0,M[_0x175216(0x13c)])([_0x381e90[_0x175216(0x217)][_0x175216(0x151)],_0x381e90[_0x175216(0x1b3)]])[_0x175216(0x201)](async([_0x58b16a,_0x369a7c])=>{const _0xba7f3a=_0x175216;if(_0x58b16a[_0xba7f3a(0x213)]===n[_0xba7f3a(0x1e1)][_0xba7f3a(0x170)]&&(_0x369a7c==null?void 0x0:_0x369a7c[_0xba7f3a(0x12a)])===r[_0xba7f3a(0x1a2)][_0xba7f3a(0x17b)]&&_0x58b16a['data'][_0xba7f3a(0x212)]['some'](_0x34e4e8=>_0x34e4e8['id']===n[_0xba7f3a(0x1f1)]['id'])&&await _0x49c6ab()){var _0x4f7f82;this[_0xba7f3a(0x12d)]['unMountHistoryContent'](),_0x35ee27['unsubscribe'](),this[_0xba7f3a(0x13d)]&&clearTimeout(this['_revertErrorTimer']),await((_0x4f7f82=this[_0xba7f3a(0x1bd)])==null?void 0x0:_0x4f7f82[_0xba7f3a(0x11a)]());}});_0x2f14e4&&(this['_revertErrorTimer']=setTimeout(()=>{const _0x127479=_0x175216;_0x35ee27[_0x127479(0x184)](),this[_0x127479(0x175)]['show']({'content':this[_0x127479(0x126)]['t']('edit-history-loader.panel.revertFailed'),'type':m[_0x127479(0x19a)][_0x127479(0x1ec)],'duration':0xbb8});},0x1388));}async[_0x20d713(0x128)](_0x3ad7c1,_0x566386){const _0x5ec3e1=_0x20d713;await this[_0x5ec3e1(0x131)](_0x3ad7c1,_0x566386),_0x3ad7c1[_0x5ec3e1(0x1be)][_0x5ec3e1(0x14c)]((0x0,M[_0x5ec3e1(0x1dc)])(this[_0x5ec3e1(0x148)]))['subscribe'](_0x762c03=>{const _0x153615=_0x5ec3e1;_0x762c03&&this[_0x153615(0x12c)](_0x762c03);}),this[_0x5ec3e1(0x1e9)][_0x5ec3e1(0x127)][_0x5ec3e1(0x14c)]((0x0,M[_0x5ec3e1(0x1dc)])(this['dispose$']))['subscribe'](()=>this['_updateSubUnitFromURLParams'](_0x3ad7c1,_0x566386));}[_0x20d713(0x12c)](_0x43b0c3,_0x3f9ea2=!0x1){const _0x5e948f=_0x20d713;let _0x3921aa=this['_urlService']['getParam'](_0x5e948f(0x1cc));_0x43b0c3[_0x5e948f(0x1d7)]()!==_0x3921aa&&this[_0x5e948f(0x1e9)][_0x5e948f(0x165)](_0x5e948f(0x1cc),_0x43b0c3[_0x5e948f(0x1d7)](),_0x3f9ea2);}async['_updateSubUnitFromURLParams'](_0x1b2600,_0x3605db){const _0x2dfaf3=_0x20d713;var _0x4a5e4a;if(!_0x3605db||!_0x1b2600[_0x2dfaf3(0x125)](_0x3605db)){let _0x21aaed=_0x1b2600[_0x2dfaf3(0x13a)]()[0x0],_0x2d7ac4=_0x1b2600[_0x2dfaf3(0x125)](_0x21aaed);if(!_0x2d7ac4)return;this[_0x2dfaf3(0x12c)](_0x2d7ac4,!0x0),await this['_commandService'][_0x2dfaf3(0x14d)](t[_0x2dfaf3(0x147)]['id'],{'unitId':_0x1b2600[_0x2dfaf3(0x185)](),'subUnitId':_0x21aaed});return;}((_0x4a5e4a=_0x1b2600[_0x2dfaf3(0x1b8)]())==null?void 0x0:_0x4a5e4a[_0x2dfaf3(0x1d7)]())!==_0x3605db&&await this['_commandService'][_0x2dfaf3(0x14d)](t[_0x2dfaf3(0x147)]['id'],{'unitId':_0x1b2600['getUnitId'](),'subUnitId':_0x3605db});}};Q=V([B(0x0,e[_0x20d713(0x139)]),B(0x1,j[_0x20d713(0x1f6)]),B(0x2,(0x0,e['Inject'])(U)),B(0x3,(0x0,e['Inject'])(e[_0x20d713(0x211)])),B(0x4,j[_0x20d713(0x1ba)]),B(0x5,(0x0,e[_0x20d713(0x14e)])(r[_0x20d713(0x11e)])),B(0x6,r[_0x20d713(0x137)]),B(0x7,(0x0,e[_0x20d713(0x14e)])(r[_0x20d713(0x140)])),B(0x8,e['IUniverInstanceService']),B(0x9,N[_0x20d713(0x1aa)])],Q);let $=class extends e['Plugin']{constructor(_0x1dd8ab=F,_0x237d77,_0x5c049f){const _0x4f1769=_0x20d713;super(),this[_0x4f1769(0x1a8)]=_0x1dd8ab,this[_0x4f1769(0x121)]=_0x237d77,this['_configService']=_0x5c049f;let {menu:_0x21849e,..._0x9dbd64}=(0x0,e[_0x4f1769(0x222)])({},F,this[_0x4f1769(0x1a8)]);_0x21849e&&this[_0x4f1769(0x16d)]['setConfig'](_0x4f1769(0x1f7),_0x21849e,{'merge':!0x0}),this[_0x4f1769(0x16d)][_0x4f1769(0x19b)](P,_0x9dbd64),this[_0x4f1769(0x1a8)][_0x4f1769(0x134)]&&this['_configService'][_0x4f1769(0x19b)](_0x4f1769(0x1a4),this[_0x4f1769(0x1a8)]['univerContainerId']);}['onStarting'](){const _0x22325d=_0x20d713;this['_injector'][_0x22325d(0x1eb)]([q]),this['_injector'][_0x22325d(0x188)](q),[[U],[Q]][_0x22325d(0x1d2)](_0x1df812=>this[_0x22325d(0x121)][_0x22325d(0x1eb)](_0x1df812));}[_0x20d713(0x167)](){const _0x247727=_0x20d713;this[_0x247727(0x121)][_0x247727(0x188)](Q);}};z($,_0x20d713(0x1d4),e[_0x20d713(0x154)][_0x20d713(0x163)]),z($,_0x20d713(0x1c4),_0x20d713(0x1f0)),z($,'packageName',de),z($,'version',fe),$=V([(0x0,e[_0x20d713(0x158)])(a['UniverLicensePlugin']),B(0x1,(0x0,e['Inject'])(e['Injector'])),B(0x2,e[_0x20d713(0x18e)])],$),exports[_0x20d713(0x123)]=P,exports[_0x20d713(0x1f5)]=K,exports['ToggleEditHistoryOperation']=W,Object[_0x20d713(0x111)](exports,'UniverEditHistoryLoaderMobilePlugin',{'enumerable':!0x0,'get':function(){return Z;}}),Object[_0x20d713(0x111)](exports,_0x20d713(0x17a),{'enumerable':!0x0,'get':function(){return $;}});
|
package/lib/cjs/locale/ar-SA.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
const _0xbdf6ec=_0x353a;function _0x353a(_0xdecc49,_0x979247){_0xdecc49=_0xdecc49-0x141;const _0x57769e=_0x5776();let _0x353af1=_0x57769e[_0xdecc49];return _0x353af1;}(function(_0x186dbb,_0x28cc44){const _0x108750=_0x353a,_0x3c12e2=_0x186dbb();while(!![]){try{const _0x2ddb07=parseInt(_0x108750(0x147))/0x1+-parseInt(_0x108750(0x141))/0x2+parseInt(_0x108750(0x146))/0x3*(-parseInt(_0x108750(0x14f))/0x4)+parseInt(_0x108750(0x148))/0x5*(-parseInt(_0x108750(0x14e))/0x6)+parseInt(_0x108750(0x144))/0x7+parseInt(_0x108750(0x14c))/0x8+parseInt(_0x108750(0x145))/0x9*(parseInt(_0x108750(0x14d))/0xa);if(_0x2ddb07===_0x28cc44)break;else _0x3c12e2['push'](_0x3c12e2['shift']());}catch(_0x482ab7){_0x3c12e2['push'](_0x3c12e2['shift']());}}}(_0x5776,0xf26f4));const e={'edit-history-loader':{'panel':{'title':'سجل\x20التحرير','reverting':_0xbdf6ec(0x142),'revertFailed':_0xbdf6ec(0x143),'listFetchError':_0xbdf6ec(0x149)},'info':{'initializing':_0xbdf6ec(0x14a)}}};function _0x5776(){const _0x57f98b=['113441GSfrdL','10nGshoY','فشل\x20في\x20الحصول\x20على\x20قائمة\x20سجل\x20التحرير','جارٍ\x20التهيئة،\x20يرجى\x20الانتظار...','exports','7106072XkLcMQ','40siadmR','1329282uyFcov','4652NsrGOu','2352210jwHkEe','جارٍ\x20الاستعادة،\x20يرجى\x20الانتظار...','خطأ\x20غير\x20معروف،\x20يرجى\x20تحديث\x20الصفحة\x20لعرض\x20نتيجة\x20الاستعادة','5087110vpmeZz','4586940HsrcUN','2979lyDgUx'];_0x5776=function(){return _0x57f98b;};return _0x5776();}module[_0xbdf6ec(0x14b)]=e;
|
package/lib/cjs/locale/ca-ES.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x5cb378=_0x3c90;(function(_0x1718d1,_0x45efcc){const _0x4ae12b=_0x3c90,_0xa749e1=_0x1718d1();while(!![]){try{const _0x211f7a=parseInt(_0x4ae12b(0x1b7))/0x1*(parseInt(_0x4ae12b(0x1c2))/0x2)+-parseInt(_0x4ae12b(0x1b5))/0x3+-parseInt(_0x4ae12b(0x1b8))/0x4*(-parseInt(_0x4ae12b(0x1ba))/0x5)+-parseInt(_0x4ae12b(0x1c0))/0x6+parseInt(_0x4ae12b(0x1be))/0x7*(parseInt(_0x4ae12b(0x1c1))/0x8)+parseInt(_0x4ae12b(0x1b9))/0x9*(parseInt(_0x4ae12b(0x1bf))/0xa)+parseInt(_0x4ae12b(0x1c4))/0xb*(-parseInt(_0x4ae12b(0x1bb))/0xc);if(_0x211f7a===_0x45efcc)break;else _0xa749e1['push'](_0xa749e1['shift']());}catch(_0x2e1713){_0xa749e1['push'](_0xa749e1['shift']());}}}(_0x4621,0x797cc));function _0x4621(){const _0x2e8bcf=['22SIVIPA','Inicialitzant,\x20espereu...','2449776wkdBIp','No\x20s\x27ha\x20pogut\x20obtenir\x20la\x20llista\x20de\x20l\x27historial','13750huPxxD','1592972QYLMQh','100179eJHNyK','10OPgBdu','5825460PxAEAE','Restaurant,\x20espereu...','Error\x20desconegut,\x20actualitzeu\x20la\x20pàgina\x20per\x20veure\x20el\x20resultat\x20de\x20la\x20restauració','1911jdWvHo','190RaFDJe','1640370MSpikQ','21664VkgDYb','118AgsNPn','exports'];_0x4621=function(){return _0x2e8bcf;};return _0x4621();}const e={'edit-history-loader':{'panel':{'title':'Historial\x20d\x27edicions','reverting':_0x5cb378(0x1bc),'revertFailed':_0x5cb378(0x1bd),'listFetchError':_0x5cb378(0x1b6)},'info':{'initializing':_0x5cb378(0x1c5)}}};function _0x3c90(_0x528403,_0x3074fd){_0x528403=_0x528403-0x1b5;const _0x46216c=_0x4621();let _0x3c90e5=_0x46216c[_0x528403];return _0x3c90e5;}module[_0x5cb378(0x1c3)]=e;
|
package/lib/cjs/locale/de-DE.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0xc5c7(){const _0x467e20=['66kfQPso','2820lOoikI','203Mjrawr','Unbekannter\x20Fehler,\x20bitte\x20aktualisieren\x20Sie\x20die\x20Seite,\x20um\x20das\x20Ergebnis\x20der\x20Wiederherstellung\x20anzuzeigen','11396712kNYQsD','Wiederherstellung\x20läuft,\x20bitte\x20warten...','27618MCONMB','Bearbeitungsverlauf','6384jtmbkl','774441OdYOBx','exports','96555frJfAw','11VVptNu','7182130hoQHaR','115016yVvexw','116odDbxt'];_0xc5c7=function(){return _0x467e20;};return _0xc5c7();}const _0x104d2f=_0x28a8;function _0x28a8(_0x1210ad,_0x5c7557){_0x1210ad=_0x1210ad-0xc2;const _0xc5c7be=_0xc5c7();let _0x28a80a=_0xc5c7be[_0x1210ad];return _0x28a80a;}(function(_0x277cb6,_0x21ff6e){const _0x59c937=_0x28a8,_0x5bc1a8=_0x277cb6();while(!![]){try{const _0x23b7b0=-parseInt(_0x59c937(0xcf))/0x1*(-parseInt(_0x59c937(0xc5))/0x2)+parseInt(_0x59c937(0xca))/0x3*(-parseInt(_0x59c937(0xce))/0x4)+parseInt(_0x59c937(0xd0))/0x5*(parseInt(_0x59c937(0xc7))/0x6)+-parseInt(_0x59c937(0xd1))/0x7*(parseInt(_0x59c937(0xcd))/0x8)+parseInt(_0x59c937(0xc8))/0x9+-parseInt(_0x59c937(0xcc))/0xa*(parseInt(_0x59c937(0xcb))/0xb)+parseInt(_0x59c937(0xc3))/0xc;if(_0x23b7b0===_0x21ff6e)break;else _0x5bc1a8['push'](_0x5bc1a8['shift']());}catch(_0x3ba9ad){_0x5bc1a8['push'](_0x5bc1a8['shift']());}}}(_0xc5c7,0x74e22));const e={'edit-history-loader':{'panel':{'title':_0x104d2f(0xc6),'reverting':_0x104d2f(0xc4),'revertFailed':_0x104d2f(0xc2),'listFetchError':'Fehler\x20beim\x20Abrufen\x20der\x20Bearbeitungshistorie'},'info':{'initializing':'Initialisierung\x20läuft,\x20bitte\x20warten...'}}};module[_0x104d2f(0xc9)]=e;
|
package/lib/cjs/locale/en-US.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x2013de=_0x42f4;(function(_0x22fa4c,_0x251178){const _0x5686b1=_0x42f4,_0x633f79=_0x22fa4c();while(!![]){try{const _0x25d49b=-parseInt(_0x5686b1(0x162))/0x1*(parseInt(_0x5686b1(0x161))/0x2)+-parseInt(_0x5686b1(0x158))/0x3+-parseInt(_0x5686b1(0x15a))/0x4+-parseInt(_0x5686b1(0x15e))/0x5+parseInt(_0x5686b1(0x15f))/0x6*(-parseInt(_0x5686b1(0x163))/0x7)+parseInt(_0x5686b1(0x15c))/0x8*(parseInt(_0x5686b1(0x15d))/0x9)+parseInt(_0x5686b1(0x164))/0xa*(parseInt(_0x5686b1(0x160))/0xb);if(_0x25d49b===_0x251178)break;else _0x633f79['push'](_0x633f79['shift']());}catch(_0x3240af){_0x633f79['push'](_0x633f79['shift']());}}}(_0x2e48,0xa83ce));const e={'edit-history-loader':{'panel':{'title':_0x2013de(0x157),'reverting':_0x2013de(0x15b),'revertFailed':_0x2013de(0x165),'listFetchError':_0x2013de(0x167)},'info':{'initializing':_0x2013de(0x166)}}};function _0x42f4(_0x50400e,_0x10d925){_0x50400e=_0x50400e-0x157;const _0x2e4898=_0x2e48();let _0x42f44e=_0x2e4898[_0x50400e];return _0x42f44e;}module[_0x2013de(0x159)]=e;function _0x2e48(){const _0x52cb39=['6246ifechb','66GBjPyY','2WeWnAu','522122vTbfPA','8869fdALlk','5994180Nididn','Unknown\x20error,\x20please\x20refresh\x20the\x20page\x20to\x20view\x20the\x20revert\x20result','Initializing,\x20please\x20wait...','Failed\x20to\x20get\x20edit\x20history\x20list','Edit\x20History','2114250mQPVZf','exports','2321992hYkSVA','Reverting,\x20please\x20wait...','8QThJvA','11258127JKLTcC','5159960UDlZFg'];_0x2e48=function(){return _0x52cb39;};return _0x2e48();}
|
package/lib/cjs/locale/es-ES.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x233d9c=_0x3fa2;function _0x3fa2(_0x41948d,_0x2d2173){_0x41948d=_0x41948d-0x136;const _0x721a94=_0x721a();let _0x3fa222=_0x721a94[_0x41948d];return _0x3fa222;}(function(_0x11fa71,_0x3d9ce8){const _0x1bad54=_0x3fa2,_0x352599=_0x11fa71();while(!![]){try{const _0x424e56=parseInt(_0x1bad54(0x137))/0x1+-parseInt(_0x1bad54(0x138))/0x2+parseInt(_0x1bad54(0x13f))/0x3*(parseInt(_0x1bad54(0x142))/0x4)+-parseInt(_0x1bad54(0x143))/0x5+parseInt(_0x1bad54(0x140))/0x6+parseInt(_0x1bad54(0x136))/0x7+-parseInt(_0x1bad54(0x13d))/0x8*(parseInt(_0x1bad54(0x13c))/0x9);if(_0x424e56===_0x3d9ce8)break;else _0x352599['push'](_0x352599['shift']());}catch(_0x432cdc){_0x352599['push'](_0x352599['shift']());}}}(_0x721a,0x3864f));const e={'edit-history-loader':{'panel':{'title':'Historial\x20de\x20ediciones','reverting':_0x233d9c(0x13b),'revertFailed':_0x233d9c(0x13a),'listFetchError':_0x233d9c(0x139)},'info':{'initializing':_0x233d9c(0x13e)}}};module[_0x233d9c(0x141)]=e;function _0x721a(){const _0x1fb186=['Inicializando,\x20espere...','696layfFp','2741100vnnykb','exports','5864kJQUzD','1241995GOIqgy','1411760dtpBNW','445354uAMQgM','627640fOnLva','No\x20se\x20pudo\x20obtener\x20la\x20lista\x20del\x20historial\x20de\x20ediciones','Error\x20desconocido,\x20actualice\x20la\x20página\x20para\x20ver\x20el\x20resultado\x20de\x20la\x20restauración','Restaurando,\x20espere...','82494lslMDo','568DnDzVP'];_0x721a=function(){return _0x1fb186;};return _0x721a();}
|
package/lib/cjs/locale/fa-IR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
const _0x232169=_0x4841;function _0x4841(_0x33a5f6,_0x54919a){_0x33a5f6=_0x33a5f6-0x11e;const _0x887018=_0x8870();let _0x4841dd=_0x887018[_0x33a5f6];return _0x4841dd;}function _0x8870(){const _0x32c106=['24hGBfpC','906815QFfLoT','4921904FjWDzY','486BiTHSP','دریافت\x20لیست\x20تاریخچه\x20ویرایش\x20ناموفق\x20بود','2672etnDXX','4OkAYUp','15785nUsHDu','4402871qFbGbN','1254543pPguSk','1566fytPRV','تاریخچه\x20ویرایش','3278ruVPFy','12SBSfum','46300ZcGmWn','خطای\x20ناشناخته،\x20لطفا\x20صفحه\x20را\x20بارگذاری\x20مجدد\x20کنید\x20تا\x20نتیجه\x20بازگردانی\x20را\x20مشاهده\x20کنید'];_0x8870=function(){return _0x32c106;};return _0x8870();}(function(_0x1496d7,_0x5ba57b){const _0x309ccb=_0x4841,_0x28fa50=_0x1496d7();while(!![]){try{const _0x154b23=parseInt(_0x309ccb(0x127))/0x1*(-parseInt(_0x309ccb(0x120))/0x2)+parseInt(_0x309ccb(0x12d))/0x3*(parseInt(_0x309ccb(0x12a))/0x4)+parseInt(_0x309ccb(0x125))/0x5*(-parseInt(_0x309ccb(0x124))/0x6)+-parseInt(_0x309ccb(0x12b))/0x7*(-parseInt(_0x309ccb(0x129))/0x8)+parseInt(_0x309ccb(0x11e))/0x9*(parseInt(_0x309ccb(0x122))/0xa)+parseInt(_0x309ccb(0x12c))/0xb+-parseInt(_0x309ccb(0x121))/0xc*(parseInt(_0x309ccb(0x126))/0xd);if(_0x154b23===_0x5ba57b)break;else _0x28fa50['push'](_0x28fa50['shift']());}catch(_0x531736){_0x28fa50['push'](_0x28fa50['shift']());}}}(_0x8870,0x745ca));const e={'edit-history-loader':{'panel':{'title':_0x232169(0x11f),'reverting':'در\x20حال\x20بازگردانی،\x20لطفا\x20صبر\x20کنید...','revertFailed':_0x232169(0x123),'listFetchError':_0x232169(0x128)},'info':{'initializing':'در\x20حال\x20راهاندازی،\x20لطفا\x20صبر\x20کنید...'}}};module['exports']=e;
|
package/lib/cjs/locale/fr-FR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0x3faf(){const _0x42f52c=['159126VTCwNs','306052CBsNkR','Échec\x20de\x20l\x27obtention\x20de\x20la\x20liste\x20de\x20l\x27historique','32eXkmwM','182290YcBtnV','Erreur\x20inconnue,\x20veuillez\x20actualiser\x20la\x20page\x20pour\x20voir\x20le\x20résultat\x20de\x20la\x20restauration','12HUMKBc','50SpcESY','Restauration\x20en\x20cours,\x20veuillez\x20patienter...','189qrnful','2922304NVpPpZ','Initialisation\x20en\x20cours,\x20veuillez\x20patienter...','413335COVtJF','Historique\x20des\x20modifications','276OPldCA','2012EphkDm','446YZTrZI','130151YqnJtj'];_0x3faf=function(){return _0x42f52c;};return _0x3faf();}const _0x5661b8=_0x1950;function _0x1950(_0x438279,_0x515716){_0x438279=_0x438279-0x148;const _0x3faf86=_0x3faf();let _0x195037=_0x3faf86[_0x438279];return _0x195037;}(function(_0xab8766,_0x555776){const _0x523a66=_0x1950,_0x3853f4=_0xab8766();while(!![]){try{const _0xf0ccf3=-parseInt(_0x523a66(0x159))/0x1*(parseInt(_0x523a66(0x158))/0x2)+-parseInt(_0x523a66(0x14f))/0x3*(parseInt(_0x523a66(0x14a))/0x4)+parseInt(_0x523a66(0x150))/0x5*(parseInt(_0x523a66(0x149))/0x6)+-parseInt(_0x523a66(0x148))/0x7*(parseInt(_0x523a66(0x14c))/0x8)+-parseInt(_0x523a66(0x152))/0x9*(-parseInt(_0x523a66(0x14d))/0xa)+-parseInt(_0x523a66(0x153))/0xb+parseInt(_0x523a66(0x157))/0xc*(parseInt(_0x523a66(0x155))/0xd);if(_0xf0ccf3===_0x555776)break;else _0x3853f4['push'](_0x3853f4['shift']());}catch(_0x8e5ba5){_0x3853f4['push'](_0x3853f4['shift']());}}}(_0x3faf,0x4577c));const e={'edit-history-loader':{'panel':{'title':_0x5661b8(0x156),'reverting':_0x5661b8(0x151),'revertFailed':_0x5661b8(0x14e),'listFetchError':_0x5661b8(0x14b)},'info':{'initializing':_0x5661b8(0x154)}}};module['exports']=e;
|
package/lib/cjs/locale/id-ID.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0x189f(){const _0x363ec6=['Gagal\x20mendapatkan\x20daftar\x20riwayat\x20edit','273303NbtWUP','26982DjwyJe','3522204ULeWnQ','2816QEwIDh','exports','Kesalahan\x20tidak\x20diketahui,\x20harap\x20segarkan\x20halaman\x20untuk\x20melihat\x20hasil\x20pengembalian','3762705yTrsUQ','Mengembalikan,\x20harap\x20tunggu...','138IPCqOQ','Menginisialisasi,\x20harap\x20tunggu...','266PSLsWT','556344htudII','110uAtJto','487474bBdQed','Riwayat\x20Edit'];_0x189f=function(){return _0x363ec6;};return _0x189f();}const _0x5585d9=_0x23d3;(function(_0x9ee82c,_0x5c76b6){const _0x457c4b=_0x23d3,_0x4f05e1=_0x9ee82c();while(!![]){try{const _0x4cb543=parseInt(_0x457c4b(0xab))/0x1+parseInt(_0x457c4b(0xa6))/0x2*(parseInt(_0x457c4b(0xaf))/0x3)+-parseInt(_0x457c4b(0xa9))/0x4+-parseInt(_0x457c4b(0xa4))/0x5+parseInt(_0x457c4b(0xb0))/0x6+-parseInt(_0x457c4b(0xa8))/0x7*(-parseInt(_0x457c4b(0xb1))/0x8)+parseInt(_0x457c4b(0xae))/0x9*(-parseInt(_0x457c4b(0xaa))/0xa);if(_0x4cb543===_0x5c76b6)break;else _0x4f05e1['push'](_0x4f05e1['shift']());}catch(_0x40dbce){_0x4f05e1['push'](_0x4f05e1['shift']());}}}(_0x189f,0x75df6));function _0x23d3(_0x1eeda1,_0x1bc492){_0x1eeda1=_0x1eeda1-0xa4;const _0x189fbb=_0x189f();let _0x23d358=_0x189fbb[_0x1eeda1];return _0x23d358;}const e={'edit-history-loader':{'panel':{'title':_0x5585d9(0xac),'reverting':_0x5585d9(0xa5),'revertFailed':_0x5585d9(0xb3),'listFetchError':_0x5585d9(0xad)},'info':{'initializing':_0x5585d9(0xa7)}}};module[_0x5585d9(0xb2)]=e;
|
package/lib/cjs/locale/it-IT.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x3fa26d=_0x2d6a;function _0x2d6a(_0x4d151a,_0x422eff){_0x4d151a=_0x4d151a-0xc7;const _0x1a1601=_0x1a16();let _0x2d6a07=_0x1a1601[_0x4d151a];return _0x2d6a07;}(function(_0x2d8c69,_0x456512){const _0x4f77ab=_0x2d6a,_0x3eebec=_0x2d8c69();while(!![]){try{const _0x2fb7dc=parseInt(_0x4f77ab(0xcf))/0x1+-parseInt(_0x4f77ab(0xd0))/0x2+-parseInt(_0x4f77ab(0xcc))/0x3*(parseInt(_0x4f77ab(0xc9))/0x4)+parseInt(_0x4f77ab(0xca))/0x5*(-parseInt(_0x4f77ab(0xd2))/0x6)+parseInt(_0x4f77ab(0xd4))/0x7*(-parseInt(_0x4f77ab(0xd1))/0x8)+parseInt(_0x4f77ab(0xcd))/0x9+parseInt(_0x4f77ab(0xcb))/0xa;if(_0x2fb7dc===_0x456512)break;else _0x3eebec['push'](_0x3eebec['shift']());}catch(_0x55b826){_0x3eebec['push'](_0x3eebec['shift']());}}}(_0x1a16,0xc38ed));const e={'edit-history-loader':{'panel':{'title':_0x3fa26d(0xce),'reverting':'Ripristino\x20in\x20corso,\x20attendi...','revertFailed':_0x3fa26d(0xc8),'listFetchError':_0x3fa26d(0xd3)},'info':{'initializing':'Inizializzazione\x20in\x20corso,\x20attendi...'}}};function _0x1a16(){const _0x449c17=['Errore\x20sconosciuto,\x20aggiorna\x20la\x20pagina\x20per\x20visualizzare\x20il\x20risultato\x20del\x20ripristino','3353632cYMvrH','10xlaThc','50001330oNJPbn','3JFYLgP','3226257QHVYHq','Cronologia\x20modifiche','44678PBLUjn','2519680iAuoUk','6280ifnSTM','3077628HxuFYP','Impossibile\x20ottenere\x20l\x27elenco\x20della\x20cronologia\x20modifiche','13181AoXYgZ','exports'];_0x1a16=function(){return _0x449c17;};return _0x1a16();}module[_0x3fa26d(0xc7)]=e;
|
package/lib/cjs/locale/ja-JP.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function _0x4f20(_0x3697d5,_0x1064a8){_0x3697d5=_0x3697d5-0x12d;const _0x7f83d5=_0x7f83();let _0x4f205c=_0x7f83d5[_0x3697d5];return _0x4f205c;}const _0x587b08=_0x4f20;(function(_0x4aa6ce,_0x3288d0){const _0x16b721=_0x4f20,_0x21ec07=_0x4aa6ce();while(!![]){try{const _0x487e4b=-parseInt(_0x16b721(0x139))/0x1+parseInt(_0x16b721(0x130))/0x2+parseInt(_0x16b721(0x12e))/0x3*(parseInt(_0x16b721(0x12f))/0x4)+-parseInt(_0x16b721(0x133))/0x5+parseInt(_0x16b721(0x134))/0x6+-parseInt(_0x16b721(0x136))/0x7*(parseInt(_0x16b721(0x137))/0x8)+parseInt(_0x16b721(0x12d))/0x9;if(_0x487e4b===_0x3288d0)break;else _0x21ec07['push'](_0x21ec07['shift']());}catch(_0x261ba0){_0x21ec07['push'](_0x21ec07['shift']());}}}(_0x7f83,0xd22f1));function _0x7f83(){const _0x12b034=['exports','3976805QXtRrE','16QQfWlp','復元中です。お待ちください...','611328JqxkcB','10624500oGMvky','1939758FDfuAV','4undkUa','898138WnQzuw','初期化中です。お待ちください...','編集履歴リストの取得に失敗しました','2177965zEuBgZ','4607454mTbzDU'];_0x7f83=function(){return _0x12b034;};return _0x7f83();}const e={'edit-history-loader':{'panel':{'title':'編集履歴','reverting':_0x587b08(0x138),'revertFailed':'不明なエラーが発生しました。ページを更新して復元結果を確認してください','listFetchError':_0x587b08(0x132)},'info':{'initializing':_0x587b08(0x131)}}};module[_0x587b08(0x135)]=e;
|
package/lib/cjs/locale/ko-KR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function _0x5e68(){const _0x415a2a=['312416PttTME','30712RDTNdm','10bUNeQC','179645zuZziE','편집\x20기록','126QBQueE','초기화\x20중입니다.\x20잠시만\x20기다려\x20주세요...','39ejMmCb','6446328XzKuaE','333641SlMkNW','15311769gVidMb','554934qUWBpJ','편집\x20기록\x20목록을\x20가져오지\x20못했습니다','복원\x20중입니다.\x20잠시만\x20기다려\x20주세요...','1818VRimvr'];_0x5e68=function(){return _0x415a2a;};return _0x5e68();}function _0x58d4(_0x33ff2,_0x319b3c){_0x33ff2=_0x33ff2-0x147;const _0x5e68e6=_0x5e68();let _0x58d4ea=_0x5e68e6[_0x33ff2];return _0x58d4ea;}const _0x3cce1b=_0x58d4;(function(_0x2e465f,_0x5a030f){const _0x51af87=_0x58d4,_0x4d61aa=_0x2e465f();while(!![]){try{const _0x434101=parseInt(_0x51af87(0x14a))/0x1+-parseInt(_0x51af87(0x14c))/0x2+-parseInt(_0x51af87(0x148))/0x3*(-parseInt(_0x51af87(0x150))/0x4)+-parseInt(_0x51af87(0x153))/0x5*(parseInt(_0x51af87(0x155))/0x6)+parseInt(_0x51af87(0x149))/0x7+parseInt(_0x51af87(0x151))/0x8*(parseInt(_0x51af87(0x14f))/0x9)+-parseInt(_0x51af87(0x152))/0xa*(parseInt(_0x51af87(0x14b))/0xb);if(_0x434101===_0x5a030f)break;else _0x4d61aa['push'](_0x4d61aa['shift']());}catch(_0x4c3600){_0x4d61aa['push'](_0x4d61aa['shift']());}}}(_0x5e68,0x97b6c));const e={'edit-history-loader':{'panel':{'title':_0x3cce1b(0x154),'reverting':_0x3cce1b(0x14e),'revertFailed':'알\x20수\x20없는\x20오류가\x20발생했습니다.\x20페이지를\x20새로\x20고침하여\x20복원\x20결과를\x20확인하세요','listFetchError':_0x3cce1b(0x14d)},'info':{'initializing':_0x3cce1b(0x147)}}};module['exports']=e;
|
package/lib/cjs/locale/pl-PL.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function _0x13fa(){const _0x5698e1=['7iduGyH','676196rObsPI','2WBNeMl','Historia\x20edycji','1900624wchZCI','Nieznany\x20błąd,\x20odśwież\x20stronę,\x20aby\x20zobaczyć\x20wynik\x20przywracania','6905076ekeSHe','231MnFQMR','27JHOIGp','825024aCNwgM','5476146toIOUg','1703710wUCFNX','Inicjalizowanie,\x20proszę\x20czekać...','1760430FbfvQN'];_0x13fa=function(){return _0x5698e1;};return _0x13fa();}const _0x5af4db=_0x5717;(function(_0x45c87e,_0x45da44){const _0x525608=_0x5717,_0x3f82e8=_0x45c87e();while(!![]){try{const _0x227473=-parseInt(_0x525608(0x12f))/0x1+parseInt(_0x525608(0x122))/0x2*(parseInt(_0x525608(0x129))/0x3)+-parseInt(_0x525608(0x126))/0x4+-parseInt(_0x525608(0x12d))/0x5+-parseInt(_0x525608(0x12a))/0x6*(parseInt(_0x525608(0x12e))/0x7)+-parseInt(_0x525608(0x124))/0x8*(-parseInt(_0x525608(0x128))/0x9)+-parseInt(_0x525608(0x12b))/0xa*(-parseInt(_0x525608(0x127))/0xb);if(_0x227473===_0x45da44)break;else _0x3f82e8['push'](_0x3f82e8['shift']());}catch(_0x4fa6a9){_0x3f82e8['push'](_0x3f82e8['shift']());}}}(_0x13fa,0xdb4f3));const e={'edit-history-loader':{'panel':{'title':_0x5af4db(0x123),'reverting':'Przywracanie,\x20proszę\x20czekać...','revertFailed':_0x5af4db(0x125),'listFetchError':'Nie\x20udało\x20się\x20pobrać\x20listy\x20historii\x20edycji'},'info':{'initializing':_0x5af4db(0x12c)}}};function _0x5717(_0x1c0ca6,_0x9b4a1d){_0x1c0ca6=_0x1c0ca6-0x122;const _0x13fa49=_0x13fa();let _0x571797=_0x13fa49[_0x1c0ca6];return _0x571797;}module['exports']=e;
|
package/lib/cjs/locale/pt-BR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x247487=_0x2de0;function _0x2de0(_0x581996,_0x171681){_0x581996=_0x581996-0x1ed;const _0x12157f=_0x1215();let _0x2de0d0=_0x12157f[_0x581996];return _0x2de0d0;}(function(_0x29e242,_0x30df5f){const _0x19e7cd=_0x2de0,_0xdcca7d=_0x29e242();while(!![]){try{const _0x5d2139=parseInt(_0x19e7cd(0x1f4))/0x1*(-parseInt(_0x19e7cd(0x1f5))/0x2)+-parseInt(_0x19e7cd(0x1f7))/0x3+-parseInt(_0x19e7cd(0x1f9))/0x4*(-parseInt(_0x19e7cd(0x1f2))/0x5)+-parseInt(_0x19e7cd(0x1f3))/0x6+-parseInt(_0x19e7cd(0x1ed))/0x7*(parseInt(_0x19e7cd(0x1f0))/0x8)+-parseInt(_0x19e7cd(0x1f6))/0x9+parseInt(_0x19e7cd(0x1f1))/0xa*(parseInt(_0x19e7cd(0x1fa))/0xb);if(_0x5d2139===_0x30df5f)break;else _0xdcca7d['push'](_0xdcca7d['shift']());}catch(_0x5e1d8d){_0xdcca7d['push'](_0xdcca7d['shift']());}}}(_0x1215,0x9d3df));const e={'edit-history-loader':{'panel':{'title':_0x247487(0x1f8),'reverting':_0x247487(0x1ef),'revertFailed':'Erro\x20desconhecido,\x20atualize\x20a\x20página\x20para\x20ver\x20o\x20resultado\x20da\x20reversão','listFetchError':'Falha\x20ao\x20obter\x20a\x20lista\x20de\x20histórico\x20de\x20edição'},'info':{'initializing':_0x247487(0x1ee)}}};function _0x1215(){const _0x1bfd9a=['15gVUQtG','1226574GVuDCn','1056637lnBZvJ','2LupWar','9985455OawUMi','3373728IQGMGw','Histórico\x20de\x20Edição','1584580jlxTrP','41904170xLWZWX','316365mPfCCw','Inicializando,\x20aguarde...','Revertendo,\x20aguarde...','152wbNHdx','10NYxIFu'];_0x1215=function(){return _0x1bfd9a;};return _0x1215();}module['exports']=e;
|
package/lib/cjs/locale/ru-RU.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x5cc511=_0xfda9;function _0x2306(){const _0x3cb8e3=['12dqmMTA','10VKAEWz','14325mcVPzX','exports','История\x20изменений','54bmJDAC','31038cKrHVL','124puwSmw','402488MZfsYT','783745WedRUa','Инициализация,\x20подождите...','1540690iCOsdG','1045412wtiZis','Не\x20удалось\x20получить\x20список\x20истории\x20изменений','3734368VPXBek','476kQmPjX'];_0x2306=function(){return _0x3cb8e3;};return _0x2306();}(function(_0x361dae,_0xdf7f9a){const _0xcd9aab=_0xfda9,_0x4fc0d7=_0x361dae();while(!![]){try{const _0x411431=-parseInt(_0xcd9aab(0x67))/0x1+parseInt(_0xcd9aab(0x75))/0x2*(parseInt(_0xcd9aab(0x70))/0x3)+parseInt(_0xcd9aab(0x6a))/0x4*(parseInt(_0xcd9aab(0x6f))/0x5)+-parseInt(_0xcd9aab(0x74))/0x6*(-parseInt(_0xcd9aab(0x6d))/0x7)+parseInt(_0xcd9aab(0x76))/0x8*(parseInt(_0xcd9aab(0x73))/0x9)+parseInt(_0xcd9aab(0x69))/0xa+-parseInt(_0xcd9aab(0x6c))/0xb*(parseInt(_0xcd9aab(0x6e))/0xc);if(_0x411431===_0xdf7f9a)break;else _0x4fc0d7['push'](_0x4fc0d7['shift']());}catch(_0x35b9c5){_0x4fc0d7['push'](_0x4fc0d7['shift']());}}}(_0x2306,0x7adb6));const e={'edit-history-loader':{'panel':{'title':_0x5cc511(0x72),'reverting':'Восстановление,\x20подождите...','revertFailed':'Неизвестная\x20ошибка,\x20обновите\x20страницу\x20для\x20просмотра\x20результата\x20восстановления','listFetchError':_0x5cc511(0x6b)},'info':{'initializing':_0x5cc511(0x68)}}};function _0xfda9(_0x5c4b60,_0x26a06d){_0x5c4b60=_0x5c4b60-0x67;const _0x230663=_0x2306();let _0xfda9f6=_0x230663[_0x5c4b60];return _0xfda9f6;}module[_0x5cc511(0x71)]=e;
|
package/lib/cjs/locale/sk-SK.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function _0x3a0c(){const _0x23b6f2=['Obnovuje\x20sa,\x20prosím\x20počkajte...','História\x20úprav','128558yXYQMI','7TUuwtB','28bWRNHA','99155wuLtDm','248874MhrrLt','Nepodarilo\x20sa\x20získať\x20zoznam\x20histórie\x20úprav','4014520ZNgaDJ','520dJxEtO','39858wKHsHU','exports','18bTxPod','102GzwrzB','19306313qBWPoE','10252209CLWBCw','12dCnAoh'];_0x3a0c=function(){return _0x23b6f2;};return _0x3a0c();}function _0x55e8(_0x5996d6,_0xbc6f92){_0x5996d6=_0x5996d6-0xf7;const _0x3a0cd8=_0x3a0c();let _0x55e8ae=_0x3a0cd8[_0x5996d6];return _0x55e8ae;}const _0x1c19f0=_0x55e8;(function(_0x361973,_0x1cf111){const _0x4b79f5=_0x55e8,_0x3f1caa=_0x361973();while(!![]){try{const _0x561b91=-parseInt(_0x4b79f5(0xf8))/0x1*(parseInt(_0x4b79f5(0xf7))/0x2)+-parseInt(_0x4b79f5(0xfb))/0x3*(parseInt(_0x4b79f5(0xf9))/0x4)+-parseInt(_0x4b79f5(0xfa))/0x5*(-parseInt(_0x4b79f5(0x102))/0x6)+parseInt(_0x4b79f5(0xff))/0x7*(-parseInt(_0x4b79f5(0xfe))/0x8)+parseInt(_0x4b79f5(0x101))/0x9*(-parseInt(_0x4b79f5(0xfd))/0xa)+-parseInt(_0x4b79f5(0x104))/0xb*(-parseInt(_0x4b79f5(0x105))/0xc)+parseInt(_0x4b79f5(0x103))/0xd;if(_0x561b91===_0x1cf111)break;else _0x3f1caa['push'](_0x3f1caa['shift']());}catch(_0x56a2fc){_0x3f1caa['push'](_0x3f1caa['shift']());}}}(_0x3a0c,0x866ae));const e={'edit-history-loader':{'panel':{'title':_0x1c19f0(0x107),'reverting':_0x1c19f0(0x106),'revertFailed':'Neznáma\x20chyba,\x20obnovte\x20stránku\x20a\x20pozrite\x20si\x20výsledok\x20obnovenia','listFetchError':_0x1c19f0(0xfc)},'info':{'initializing':'Inicializace,\x20prosím\x20počkejte...'}}};module[_0x1c19f0(0x100)]=e;
|
package/lib/cjs/locale/vi-VN.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0x23d5(_0x2b166b,_0x12c58a){_0x2b166b=_0x2b166b-0x84;const _0x5778e2=_0x5778();let _0x23d514=_0x5778e2[_0x2b166b];return _0x23d514;}const _0x44fba5=_0x23d5;function _0x5778(){const _0x71c86b=['320934DWkFBD','278YkUaAK','Đang\x20khôi\x20phục,\x20vui\x20lòng\x20đợi...','27729oKhKME','Lỗi\x20không\x20xác\x20định,\x20vui\x20lòng\x20làm\x20mới\x20trang\x20để\x20xem\x20kết\x20quả\x20khôi\x20phục','1601695KuonbQ','91HCzjkq','3167hVQvlD','348528wfeXez','13485950gTfkth','3042549HgDsXk','20XldFlh','Không\x20thể\x20lấy\x20danh\x20sách\x20lịch\x20sử\x20chỉnh\x20sửa','Lịch\x20sử\x20chỉnh\x20sửa'];_0x5778=function(){return _0x71c86b;};return _0x5778();}(function(_0x44ac5c,_0x520b01){const _0x38ee95=_0x23d5,_0x538519=_0x44ac5c();while(!![]){try{const _0x1fe392=parseInt(_0x38ee95(0x8a))/0x1*(parseInt(_0x38ee95(0x84))/0x2)+-parseInt(_0x38ee95(0x86))/0x3*(parseInt(_0x38ee95(0x8e))/0x4)+parseInt(_0x38ee95(0x88))/0x5+parseInt(_0x38ee95(0x91))/0x6+-parseInt(_0x38ee95(0x89))/0x7*(-parseInt(_0x38ee95(0x8b))/0x8)+parseInt(_0x38ee95(0x8d))/0x9+-parseInt(_0x38ee95(0x8c))/0xa;if(_0x1fe392===_0x520b01)break;else _0x538519['push'](_0x538519['shift']());}catch(_0x37be62){_0x538519['push'](_0x538519['shift']());}}}(_0x5778,0x4f042));const e={'edit-history-loader':{'panel':{'title':_0x44fba5(0x90),'reverting':_0x44fba5(0x85),'revertFailed':_0x44fba5(0x87),'listFetchError':_0x44fba5(0x8f)},'info':{'initializing':'đang\x20khởi\x20tạo,\x20vui\x20lòng\x20đợi...'}}};module['exports']=e;
|
package/lib/cjs/locale/zh-CN.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x1a4d7b=_0x2704;(function(_0x4185e6,_0x292785){const _0x45025b=_0x2704,_0x33ea58=_0x4185e6();while(!![]){try{const _0x525801=-parseInt(_0x45025b(0x106))/0x1*(-parseInt(_0x45025b(0xff))/0x2)+parseInt(_0x45025b(0xfd))/0x3*(-parseInt(_0x45025b(0xf7))/0x4)+parseInt(_0x45025b(0xf8))/0x5+parseInt(_0x45025b(0xfe))/0x6*(-parseInt(_0x45025b(0x104))/0x7)+-parseInt(_0x45025b(0x101))/0x8+-parseInt(_0x45025b(0xfb))/0x9+-parseInt(_0x45025b(0xfa))/0xa*(-parseInt(_0x45025b(0xf9))/0xb);if(_0x525801===_0x292785)break;else _0x33ea58['push'](_0x33ea58['shift']());}catch(_0x4e1e7c){_0x33ea58['push'](_0x33ea58['shift']());}}}(_0x4465,0x286a9));function _0x2704(_0x32b14e,_0x46ddb7){_0x32b14e=_0x32b14e-0xf7;const _0x4465e1=_0x4465();let _0x270420=_0x4465e1[_0x32b14e];return _0x270420;}function _0x4465(){const _0x204ace=['165910kvVgQd','获取编辑历史记录列表失败','1375560OTAkZB','正在还原,请稍等...','初始化中,请稍等...','2120146SfmkhE','历史记录','3zzZtnz','1620MWwUoX','423310JwYrrs','32527QrcDNn','3110YTbhzW','2897964gmFsvB','未知错误,请刷新页面查看还原结果','2154ZHQoug','6qlCUjW'];_0x4465=function(){return _0x204ace;};return _0x4465();}const e={'edit-history-loader':{'panel':{'title':_0x1a4d7b(0x105),'reverting':_0x1a4d7b(0x102),'revertFailed':_0x1a4d7b(0xfc),'listFetchError':_0x1a4d7b(0x100)},'info':{'initializing':_0x1a4d7b(0x103)}}};module['exports']=e;
|
package/lib/cjs/locale/zh-HK.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0x2428(_0x4a4094,_0x291578){_0x4a4094=_0x4a4094-0xc9;const _0x39c4c2=_0x39c4();let _0x242823=_0x39c4c2[_0x4a4094];return _0x242823;}const _0x2e8225=_0x2428;(function(_0x5c4101,_0x2e8389){const _0x404024=_0x2428,_0x43cb44=_0x5c4101();while(!![]){try{const _0x271207=-parseInt(_0x404024(0xca))/0x1*(parseInt(_0x404024(0xd6))/0x2)+-parseInt(_0x404024(0xd0))/0x3+-parseInt(_0x404024(0xd8))/0x4+-parseInt(_0x404024(0xd4))/0x5+-parseInt(_0x404024(0xd1))/0x6*(-parseInt(_0x404024(0xd5))/0x7)+parseInt(_0x404024(0xcd))/0x8*(-parseInt(_0x404024(0xcb))/0x9)+parseInt(_0x404024(0xce))/0xa;if(_0x271207===_0x2e8389)break;else _0x43cb44['push'](_0x43cb44['shift']());}catch(_0xddbfc0){_0x43cb44['push'](_0x43cb44['shift']());}}}(_0x39c4,0xa39be));function _0x39c4(){const _0x14386d=['5044852aDabGj','發生未知錯誤,請重新整理頁面查看還原結果','13PrkGXW','6894CBjmgK','正在還原,請稍候...','208sYOcZC','41345320oilHeZ','無法取得編輯歷程列表','2811969pnyIEM','264BCMrqi','初始化中,請稍候...','編輯歷程','5963045PFQNmE','49973ZVJCNA','56530RjyYKN','exports'];_0x39c4=function(){return _0x14386d;};return _0x39c4();}const e={'edit-history-loader':{'panel':{'title':_0x2e8225(0xd3),'reverting':_0x2e8225(0xcc),'revertFailed':_0x2e8225(0xc9),'listFetchError':_0x2e8225(0xcf)},'info':{'initializing':_0x2e8225(0xd2)}}};module[_0x2e8225(0xd7)]=e;
|
package/lib/cjs/locale/zh-TW.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0x2da8(){const _0x5eedcb=['214239tZnOft','3991039QKTfEB','298842MRHaZq','正在還原,請稍候...','5mptgUc','1308jKgkpP','23320kRDwzV','2484lcKonX','初始化中,請稍候...','19VQokbu','編輯歷程','無法取得編輯歷程列表','發生未知錯誤,請重新整理頁面查看還原結果','8chhSfK','4zebJWA','110ewnvLZ','1009925LfAKIh','7610GVpvkr'];_0x2da8=function(){return _0x5eedcb;};return _0x2da8();}const _0x3b0abc=_0x3294;function _0x3294(_0x1b30c0,_0x417b80){_0x1b30c0=_0x1b30c0-0x109;const _0x2da802=_0x2da8();let _0x32940f=_0x2da802[_0x1b30c0];return _0x32940f;}(function(_0x3874ae,_0x4741d8){const _0x4e6150=_0x3294,_0x2fe06d=_0x3874ae();while(!![]){try{const _0x291ff4=parseInt(_0x4e6150(0x111))/0x1*(parseInt(_0x4e6150(0x119))/0x2)+-parseInt(_0x4e6150(0x11a))/0x3*(parseInt(_0x4e6150(0x116))/0x4)+-parseInt(_0x4e6150(0x10c))/0x5*(-parseInt(_0x4e6150(0x10a))/0x6)+-parseInt(_0x4e6150(0x118))/0x7*(-parseInt(_0x4e6150(0x115))/0x8)+parseInt(_0x4e6150(0x10f))/0x9*(-parseInt(_0x4e6150(0x117))/0xa)+-parseInt(_0x4e6150(0x10e))/0xb*(-parseInt(_0x4e6150(0x10d))/0xc)+-parseInt(_0x4e6150(0x109))/0xd;if(_0x291ff4===_0x4741d8)break;else _0x2fe06d['push'](_0x2fe06d['shift']());}catch(_0x3ef893){_0x2fe06d['push'](_0x2fe06d['shift']());}}}(_0x2da8,0x1c525));const e={'edit-history-loader':{'panel':{'title':_0x3b0abc(0x112),'reverting':_0x3b0abc(0x10b),'revertFailed':_0x3b0abc(0x114),'listFetchError':_0x3b0abc(0x113)},'info':{'initializing':_0x3b0abc(0x110)}}};module['exports']=e;
|