@univerjs-pro/edit-history-loader 0.25.0 → 0.25.1
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/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x4c49c2=_0x49b6;(function(_0x46ebae,_0x3ea2f8){const _0x2ee78b=_0x49b6,_0x541e1b=_0x46ebae();while(!![]){try{const _0x3fcad8=parseInt(_0x2ee78b(0x22e))/0x1*(parseInt(_0x2ee78b(0x229))/0x2)+parseInt(_0x2ee78b(0x213))/0x3+parseInt(_0x2ee78b(0x1d2))/0x4*(-parseInt(_0x2ee78b(0x252))/0x5)+-parseInt(_0x2ee78b(0x1fd))/0x6*(-parseInt(_0x2ee78b(0x1a2))/0x7)+-parseInt(_0x2ee78b(0x1fc))/0x8*(-parseInt(_0x2ee78b(0x257))/0x9)+-parseInt(_0x2ee78b(0x237))/0xa*(-parseInt(_0x2ee78b(0x255))/0xb)+-parseInt(_0x2ee78b(0x218))/0xc;if(_0x3fcad8===_0x3ea2f8)break;else _0x541e1b['push'](_0x541e1b['shift']());}catch(_0x2686b2){_0x541e1b['push'](_0x541e1b['shift']());}}}(_0x2793,0x1e7c4));import{CommandType as _0x519d99,DependentOn as _0x332599,Disposable as _0x2a3e77,DisposableCollection as _0x1d9150,IAuthzIoService as _0x8140f0,ICommandService as _0x18e0ae,IConfigService as _0x2358af,IPermissionService as _0x3608c8,IUniverInstanceService as _0x3a5724,Inject as _0x2a1c21,Injector as _0x58e461,LocaleService as _0x4481e5,Plugin as _0x7d98a3,RxDisposable as _0x3f5b03,ThemeService as _0x171164,Univer as _0x9dd17b,UniverInstanceType as _0x3ba906,Workbook as _0x9fce4d,merge as _0x410477,toDisposable as _0x1e746a}from'@univerjs/core';import{RangeProtectionPermissionEditPoint as _0x50ad28,RangeProtectionRuleModel as _0x16ed19,SetWorksheetActivateCommand as _0x5ebce6,UniverSheetsPlugin as _0x37f383,WorkbookEditablePermission as _0x3d1217,WorkbookRecoverHistoryPermission as _0x266a14,WorkbookViewHistoryPermission as _0x268bff,WorksheetEditPermission as _0x5bed14,getSheetCommandTarget as _0x1ef74b}from'@univerjs/sheets';import{CollaborationEvent as _0x2db2ee,RevertRevisionMutation as _0x526ad7,UniverCollaborationPlugin as _0x45abad}from'@univerjs-pro/collaboration';import{AuthzIoHttpService as _0x168266,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x37ae5d,CollaborationController as _0x341c06,CollaborationStatus as _0x46c40d,DataLoaderService as _0x57070e,ILocalCacheService as _0x310f1b}from'@univerjs-pro/collaboration-client';import{HistoryManagerService as _0x41efc8,HistoryModeStatus as _0x203990,UniverEditHistoryViewerMobilePlugin as _0x502946,UniverEditHistoryViewerPlugin as _0x2cde77}from'@univerjs-pro/edit-history-viewer';import{LS_CONFIG_KEY as _0x59d6d1,UniverLicensePlugin as _0x3c1214}from'@univerjs-pro/license';import{UniverSheetsChartPlugin as _0xa34c36}from'@univerjs-pro/sheets-chart';import{UniverSheetsChartUIPlugin as _0xe205b7}from'@univerjs-pro/sheets-chart-ui';import{UniverSheetsPivotTablePlugin as _0x418476}from'@univerjs-pro/sheets-pivot';import{UniverSheetsShapePlugin as _0x57f8cb}from'@univerjs-pro/sheets-shape';import{UniverSheetsShapeUIPlugin as _0x10415a}from'@univerjs-pro/sheets-shape-ui';import{UniverSheetSparklinePlugin as _0x2f2ad7}from'@univerjs-pro/sheets-sparkline';import{UniverSheetSparklineUIPlugin as _0x5a9ca5}from'@univerjs-pro/sheets-sparkline-ui';import{UniverDataValidationPlugin as _0x199a16}from'@univerjs/data-validation';import{MessageType as _0x21300f}from'@univerjs/design';import{UniverDocsPlugin as _0x4ba5f1}from'@univerjs/docs';import{UniverDocsUIPlugin as _0x4dc8ee}from'@univerjs/docs-ui';import{IImageIoService as _0x29d249,UniverDrawingPlugin as _0x5a5fc3}from'@univerjs/drawing';import{UniverDrawingUIPlugin as _0x29a515}from'@univerjs/drawing-ui';import{UniverFormulaEnginePlugin as _0x179a24}from'@univerjs/engine-formula';import{UniverRenderEnginePlugin as _0x12c6f7}from'@univerjs/engine-render';import{UniverNetworkPlugin as _0x57816a}from'@univerjs/network';import{IRemoteInstanceService as _0x2d798e,UniverRPCMainThreadPlugin as _0x5097e6}from'@univerjs/rpc';import{UniverSheetsConditionalFormattingPlugin as _0x58f56a}from'@univerjs/sheets-conditional-formatting';import{UniverSheetsConditionalFormattingUIPlugin as _0x46159a}from'@univerjs/sheets-conditional-formatting-ui';import{UniverSheetsDataValidationPlugin as _0xaed69e}from'@univerjs/sheets-data-validation';function _0x2793(){const _0x5b1682=['iterator','reload','univer-container','_dialogService','24uPexpC','298314TjrSJx','univerContainerId','composePermission','next','triggerCustomVersions','_updateURLWithCurrentState','[MobileHistoryLoaderService]:\x20Plugin\x20','workerURL','getOwnPropertyDescriptor','width','getCurrentLocale','div','registerPlugin','getSheetBySheetId','_setupSubUnitSync','whenReady','then','left','mergeMenu','menu','data','_historyManagerService','41850QEECSB','session','_historyUniver$','loadUnit','_revertErrorTimer','2888832nALCJu','_initContainer','_componentManager','history-container','toPrimitive','revertRevision$','\x20has\x20been\x20registered.','object','packageName','getActiveSheet','defineProperty','setDarkMode','has','setParam','_urlService','params','disposeWithMe','118BHgFPS','type','getSheets','getAllPlugins','setLocale','2887wEVEqc','getLocales','position','function','values','block','getCurrentUnitOfType','version','default','865230HeBFeo','edit-history-loader.config','getElementById','getCollabEntity','_localCacheService','_menuManagerService','uComp','_collaborationController','value','univer.operation.exit-edit-history','symbol','_univerInstanceService','none','HistoryIcon','edit-history-loader.panel.listFetchError','edit-history-loader.panel.reverting','get','historyListServerUrl','100%','onCommandExecuted','Exited','disposeUnit','_internalWebWorker','set','state$','edit-history-loader.info.initializing','createElement','5EgWskN','unMountHistoryContent','permissionId','11wYwgrm','decorate','422991lZcquh','_injector','UNIVER_UNKNOWN','length','univer-history-container-mobile','_configService','_localeService','UNIVER_CONTAINER_ID','dataset','_permissionService','getParam','flat','style','some','14HxCAsp','_initUniver','getUnhiddenWorksheets','unsubscribe','_updateSubUnitFromURLParams','_selectionProtectionRuleModel','from','_themeService','closeAll','zIndex','forEach','status$','call','close','map','CHANGESET_ACK','__getInjector','OTHERS','_commandService','display','_checkCanRevert','getUnitId','pluginName','Error','OPERATION','onStarting','UNIVER_EDIT_HISTORY_LOADER_PLUGIN','mutations','add','absolute','currentTheme$','_sidebarService','pipe','exhaustSavingTask','_messageService','event$','every','appendChild','registerCommand','height','activeSheet$','location','getConfig','getSubunitRuleList','terminate','edit-history-loader.panel.revertFailed','invoke','top','582548gJPJev','subunit','BUTTON','_pluginMap','string','urlChange$','triggerLoadVersions','_handleRevertAcknowledgement','setConfig','Loading','setTheme','_dataLoaderService','dispose','getUnit','subscribe','mountHistoryContent','fromCollab','SYNCED','_initPlugins','show','historyUniver$','darkMode$','onSteady','getSheetId','_disposableCollection','_initListener','prototype','dispose$','[HistoryLoaderService]:\x20Plugin\x20','eventID','edit-history-loader.panel.title','UNIVER_SHEET','UNIVER_EDIT_HISTORY_LOADER_MOBILE_PLUGIN','_init','executeCommand','constructor','_config','historyUniver'];_0x2793=function(){return _0x5b1682;};return _0x2793();}import{UniverSheetsDataValidationMobileUIPlugin as _0x1dbe4c,UniverSheetsDataValidationUIPlugin as _0x59ea04}from'@univerjs/sheets-data-validation-ui';import{UniverSheetsDrawingPlugin as _0x1c2b4a}from'@univerjs/sheets-drawing';import{UniverSheetsDrawingUIPlugin as _0x13f44e}from'@univerjs/sheets-drawing-ui';import{UniverSheetsFilterPlugin as _0x5b7a8e}from'@univerjs/sheets-filter';import{UniverSheetsFilterUIPlugin as _0x4ab03b}from'@univerjs/sheets-filter-ui';import{UniverSheetsFormulaPlugin as _0x1f838a}from'@univerjs/sheets-formula';import{UniverSheetsFormulaUIPlugin as _0x254895}from'@univerjs/sheets-formula-ui';import{UniverSheetsHyperLinkPlugin as _0x48885b}from'@univerjs/sheets-hyper-link';import{UniverSheetsHyperLinkUIPlugin as _0x542410}from'@univerjs/sheets-hyper-link-ui';import{UniverSheetsNumfmtPlugin as _0x10e1ee}from'@univerjs/sheets-numfmt';import{UniverSheetsTablePlugin as _0xbc7e65}from'@univerjs/sheets-table';import{UniverSheetsMobileUIPlugin as _0x371ee3,UniverSheetsUIPlugin as _0x4cbb0e,getCurrentRangeDisable$ as _0x451799}from'@univerjs/sheets-ui';import{ComponentManager as _0xa97fdf,IDialogService as _0x505fd8,IMenuManagerService as _0x4225d9,IMessageService as _0x1430cf,ISidebarService as _0x14ebea,MenuItemType as _0x3e94ad,RibbonStartGroup as _0x47129b,UniverMobileUIPlugin as _0x2ed289,UniverUIPlugin as _0x377f6c,getMenuHiddenObservable as _0x58fb33}from'@univerjs/ui';import{BehaviorSubject as _0x1a5106,combineLatest as _0x460070,takeUntil as _0xd7de37}from'rxjs';import{IURLService as _0x5c80e8}from'@univerjs-pro/collaboration-client-ui';import{HistoryIcon as _0xa61b65}from'@univerjs/icons';const R='edit-history-loader.config',z={};function B(_0x2f5cc1){'@babel/helpers - typeof';const _0x25ff74=_0x49b6;return B=typeof Symbol=='function'&&typeof Symbol[_0x25ff74(0x1f8)]==_0x25ff74(0x241)?function(_0x33d456){return typeof _0x33d456;}:function(_0x113a71){const _0xb8fc5e=_0x25ff74;return _0x113a71&&typeof Symbol==_0xb8fc5e(0x231)&&_0x113a71[_0xb8fc5e(0x1f5)]===Symbol&&_0x113a71!==Symbol[_0xb8fc5e(0x1ec)]?_0xb8fc5e(0x241):typeof _0x113a71;},B(_0x2f5cc1);}function _0x49b6(_0x1e0624,_0x3c6e5f){_0x1e0624=_0x1e0624-0x19a;const _0x2793f1=_0x2793();let _0x49b6b2=_0x2793f1[_0x1e0624];return _0x49b6b2;}function it(_0x2a3ea0,_0x269c60){const _0xf0f7f2=_0x49b6;if(B(_0x2a3ea0)!='object'||!_0x2a3ea0)return _0x2a3ea0;var _0xe10ad4=_0x2a3ea0[Symbol[_0xf0f7f2(0x21c)]];if(_0xe10ad4!==void 0x0){var _0x23f85d=_0xe10ad4[_0xf0f7f2(0x1ae)](_0x2a3ea0,_0x269c60||_0xf0f7f2(0x236));if(B(_0x23f85d)!=_0xf0f7f2(0x21f))return _0x23f85d;throw TypeError('@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.');}return(_0x269c60===_0xf0f7f2(0x1d6)?String:Number)(_0x2a3ea0);}function at(_0x627d04){const _0x5d7782=_0x49b6;var _0x41657d=it(_0x627d04,_0x5d7782(0x1d6));return B(_0x41657d)==_0x5d7782(0x241)?_0x41657d:_0x41657d+'';}function V(_0x2090a2,_0x3fd652,_0x594786){const _0x2bc813=_0x49b6;return(_0x3fd652=at(_0x3fd652))in _0x2090a2?Object[_0x2bc813(0x222)](_0x2090a2,_0x3fd652,{'value':_0x594786,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x2090a2[_0x3fd652]=_0x594786,_0x2090a2;}function H(_0x2fcbb8,_0x41b3f3){return function(_0xb81002,_0x1ab399){_0x41b3f3(_0xb81002,_0x1ab399,_0x2fcbb8);};}function U(_0x1a25de,_0x1e18c9,_0x5171b0,_0x575272){const _0x309294=_0x49b6;var _0x59f499=arguments[_0x309294(0x25a)],_0x2d750a=_0x59f499<0x3?_0x1e18c9:_0x575272===null?_0x575272=Object[_0x309294(0x205)](_0x1e18c9,_0x5171b0):_0x575272,_0x340036;if(typeof Reflect==_0x309294(0x21f)&&typeof Reflect[_0x309294(0x256)]=='function')_0x2d750a=Reflect[_0x309294(0x256)](_0x1a25de,_0x1e18c9,_0x5171b0,_0x575272);else{for(var _0x2db3e2=_0x1a25de[_0x309294(0x25a)]-0x1;_0x2db3e2>=0x0;_0x2db3e2--)(_0x340036=_0x1a25de[_0x2db3e2])&&(_0x2d750a=(_0x59f499<0x3?_0x340036(_0x2d750a):_0x59f499>0x3?_0x340036(_0x1e18c9,_0x5171b0,_0x2d750a):_0x340036(_0x1e18c9,_0x5171b0))||_0x2d750a);}return _0x59f499>0x3&&_0x2d750a&&Object[_0x309294(0x222)](_0x1e18c9,_0x5171b0,_0x2d750a),_0x2d750a;}const ot=_0x4c49c2(0x19b),W='univer-history-container';let G=class extends _0x2a3e77{constructor(_0x5ee429,_0x419044,_0x28d137,_0x1cc47d,_0x15004b,_0x2f3045,_0x45e21d,_0x3c210e,_0x4db0fa,_0x3e3b72){const _0x2e23ac=_0x4c49c2;super(),this[_0x2e23ac(0x19a)]=_0x5ee429,this[_0x2e23ac(0x242)]=_0x419044,this[_0x2e23ac(0x25c)]=_0x28d137,this[_0x2e23ac(0x1b4)]=_0x1cc47d,this[_0x2e23ac(0x1c4)]=_0x15004b,this[_0x2e23ac(0x19d)]=_0x2f3045,this['_selectionProtectionRuleModel']=_0x45e21d,this[_0x2e23ac(0x1fb)]=_0x3c210e,this['_sidebarService']=_0x4db0fa,this['_themeService']=_0x3e3b72,V(this,_0x2e23ac(0x215),new _0x1a5106(null)),V(this,'historyUniver$',this[_0x2e23ac(0x215)]['asObservable']()),V(this,'_disposableCollection',new _0x1d9150()),V(this,_0x2e23ac(0x1d5),new Map()),V(this,_0x2e23ac(0x24d),null),this[_0x2e23ac(0x1f3)]();}get['historyUniver'](){const _0x5d64c6=_0x4c49c2;return this[_0x5d64c6(0x215)][_0x5d64c6(0x23f)];}[_0x4c49c2(0x1f3)](){const _0x2a24f5=_0x4c49c2;this[_0x2a24f5(0x219)](),this[_0x2a24f5(0x1e4)]();}[_0x4c49c2(0x219)](){const _0x33a208=_0x4c49c2;var _0x4ed195;let _0x5981d5=(_0x4ed195=this[_0x33a208(0x25c)][_0x33a208(0x1cc)](_0x33a208(0x19b)))==null?_0x33a208(0x1fa):_0x4ed195,_0x17c604=document['getElementById'](_0x5981d5);if(!_0x17c604)return;let _0x1bc3e8=document[_0x33a208(0x251)](_0x33a208(0x208));_0x1bc3e8['id']=W,_0x1bc3e8[_0x33a208(0x19c)][_0x33a208(0x23d)]='history-container',_0x1bc3e8[_0x33a208(0x1a0)][_0x33a208(0x230)]=_0x33a208(0x1bf),_0x1bc3e8[_0x33a208(0x1a0)][_0x33a208(0x1d1)]='0',_0x1bc3e8[_0x33a208(0x1a0)][_0x33a208(0x20e)]='0',_0x1bc3e8[_0x33a208(0x1a0)][_0x33a208(0x206)]=_0x33a208(0x249),_0x1bc3e8[_0x33a208(0x1a0)][_0x33a208(0x1c9)]=_0x33a208(0x249),_0x1bc3e8['style'][_0x33a208(0x1ab)]='49',_0x1bc3e8['style'][_0x33a208(0x1b5)]=_0x33a208(0x243),_0x17c604[_0x33a208(0x1c7)](_0x1bc3e8);}[_0x4c49c2(0x1e4)](){const _0x4c7761=_0x4c49c2;[[_0x12c6f7],[_0x377f6c,{'container':W,'header':!0x0,'toolbar':!0x1,'footer':!0x0,'contextMenu':!0x1,'override':[[_0x505fd8,null]]}],[_0x57816a],[_0x5a5fc3,{'override':[[_0x29d249,null]]}],[_0x4ba5f1,{'hasScroll':!0x1}],[_0x4dc8ee],[_0x10e1ee],[_0x37f383,{'notExecuteFormula':!0x0}],[_0x4cbb0e],[_0x1f838a],[_0x254895],[_0x45abad],[_0x5b7a8e],[_0x4ab03b],[_0x58f56a],[_0x46159a],[_0x48885b],[_0x542410],[_0x199a16],[_0xaed69e],[_0x59ea04],[_0x179a24,{'notExecuteFormula':!0x0}],[_0x29a515],[_0x1c2b4a],[_0x13f44e],[_0x2f2ad7],[_0x5a9ca5],[_0xa34c36],[_0xe205b7],[_0x57f8cb],[_0x10415a],[_0x418476,{'notExecuteFormula':!0x0}],[_0xbc7e65]][_0x4c7761(0x1ac)](([_0xd8d916,_0x484b0a])=>this['registerPlugin'](_0xd8d916,_0x484b0a));}[_0x4c49c2(0x1de)](){const _0x21ccc1=_0x4c49c2;super[_0x21ccc1(0x1de)](),this['unMountHistoryContent'](),this['_pluginMap']['clear']();}[_0x4c49c2(0x209)](_0xa02487,_0x2314f9,_0x8e00dd){const _0x4fb33c=_0x4c49c2;if(this['_pluginMap'][_0x4fb33c(0x224)](_0xa02487[_0x4fb33c(0x1b8)])&&!_0x8e00dd)throw Error(_0x4fb33c(0x1ee)+_0xa02487['pluginName']+_0x4fb33c(0x21e));this[_0x4fb33c(0x1d5)]['set'](_0xa02487[_0x4fb33c(0x1b8)],[_0xa02487,_0x2314f9]);}[_0x4c49c2(0x22c)](){const _0x57f365=_0x4c49c2;return Array[_0x57f365(0x1a8)](this[_0x57f365(0x1d5)][_0x57f365(0x232)]());}[_0x4c49c2(0x1e1)](_0x160ed1,_0x1eef9e){const _0xdc9142=_0x4c49c2;let _0x3acbba=document[_0xdc9142(0x239)](W);_0x3acbba&&(_0x3acbba[_0xdc9142(0x1a0)]['display']=_0xdc9142(0x233),this[_0xdc9142(0x1a3)](_0x160ed1,W,_0x1eef9e));}['unMountHistoryContent'](){const _0x261226=_0x4c49c2;var _0x2ff3fb;this['_disposableCollection'][_0x261226(0x1de)](),(_0x2ff3fb=this[_0x261226(0x1f7)])==null||_0x2ff3fb[_0x261226(0x1de)](),this['_historyUniver$'][_0x261226(0x200)](null);let _0x527100=document[_0x261226(0x239)](W);_0x527100&&(_0x527100[_0x261226(0x1a0)][_0x261226(0x1b5)]=_0x261226(0x243),this['_internalWebWorker']&&(this['_internalWebWorker'][_0x261226(0x1ce)](),this[_0x261226(0x24d)]=null));}[_0x4c49c2(0x1a3)](_0x184ad5,_0x3567c7,_0x2ab818){const _0x3e09ad=_0x4c49c2;var _0x2390f5,_0x2b4c33,_0xf856d6,_0x55ff08,_0x48b90d;if(this[_0x3e09ad(0x1f7)])return;let _0x3278bd=new _0x9dd17b({'locales':{[this['_localeService'][_0x3e09ad(0x207)]()]:this[_0x3e09ad(0x19a)][_0x3e09ad(0x22f)]()},'override':[[_0x8140f0,{'useClass':_0x168266}]]}),_0x4ae24b=_0x3278bd[_0x3e09ad(0x1b2)]();this[_0x3e09ad(0x228)](this['_themeService']['darkMode$'][_0x3e09ad(0x1e0)](_0x14ef84=>{const _0x5253bd=_0x3e09ad;_0x4ae24b[_0x5253bd(0x247)](_0x171164)[_0x5253bd(0x223)](_0x14ef84);})),this[_0x3e09ad(0x228)](this[_0x3e09ad(0x1a9)]['currentTheme$'][_0x3e09ad(0x1e0)](_0x377656=>{const _0x131eda=_0x3e09ad;_0x4ae24b['get'](_0x171164)[_0x131eda(0x1dc)](_0x377656);})),_0x4ae24b[_0x3e09ad(0x247)](_0x4481e5)[_0x3e09ad(0x22d)](this[_0x3e09ad(0x19a)][_0x3e09ad(0x207)]()),_0x4ae24b[_0x3e09ad(0x247)](_0x2358af)[_0x3e09ad(0x1da)](_0x37ae5d,this['_configService'][_0x3e09ad(0x1cc)](_0x37ae5d));let _0x5ec6b3=this[_0x3e09ad(0x25c)]['getConfig'](_0x59d6d1);_0x5ec6b3&&_0x3278bd[_0x3e09ad(0x209)](_0x3c1214,{'license':_0x5ec6b3['ls']});let _0x3b8482=(_0x2390f5=this[_0x3e09ad(0x25c)][_0x3e09ad(0x1cc)](_0x3e09ad(0x238)))==null?void 0x0:_0x2390f5[_0x3e09ad(0x204)],_0x50705d=!!_0x3b8482;_0x50705d&&(this['_internalWebWorker']=_0x3b8482 instanceof Worker?_0x3b8482:null,_0x3278bd[_0x3e09ad(0x209)](_0x5097e6,{'workerURL':_0x3b8482})),this[_0x3e09ad(0x1d5)]['forEach'](([_0x54d4f6,_0x326428])=>{_0x3278bd['registerPlugin'](_0x54d4f6,_0x326428);}),_0x3278bd[_0x3e09ad(0x209)](_0x2cde77,{'historyListServerUrl':(_0x2b4c33=this['_configService']['getConfig']('edit-history-loader.config'))==null?void 0x0:_0x2b4c33['historyListServerUrl'],'historyPanelComponentKey':(_0xf856d6=this[_0x3e09ad(0x25c)]['getConfig'](_0x3e09ad(0x238)))==null?void 0x0:_0xf856d6['historyPanelComponentKey'],'historyPanelHidden':(_0x55ff08=this[_0x3e09ad(0x25c)]['getConfig'](_0x3e09ad(0x238)))==null?void 0x0:_0x55ff08['historyPanelHidden'],'historyAIassistantEnabled':(_0x48b90d=this['_configService'][_0x3e09ad(0x1cc)](_0x3e09ad(0x238)))==null?void 0x0:_0x48b90d['historyAIassistantEnabled']}),_0x4ae24b[_0x3e09ad(0x1d0)](_0x23d21c=>{const _0x80e09e=_0x3e09ad;this[_0x80e09e(0x1eb)](_0x23d21c,_0x184ad5);}),this[_0x3e09ad(0x215)][_0x3e09ad(0x200)](_0x3278bd);let _0x4cd1e5=_0x4ae24b['get'](_0x41efc8),_0x2e7166=this[_0x3e09ad(0x1b6)](_0x184ad5),_0xdaefb6=()=>{const _0x2ccd39=_0x3e09ad;_0x2ab818?_0x4cd1e5[_0x2ccd39(0x201)](_0x184ad5,_0x3567c7,_0x2e7166,_0x2ab818):_0x4cd1e5[_0x2ccd39(0x1d8)](_0x184ad5,_0x3567c7,_0x2e7166);};if(this[_0x3e09ad(0x1c4)][_0x3e09ad(0x1e5)]({'content':this[_0x3e09ad(0x19a)]['t'](_0x3e09ad(0x250)),'type':_0x21300f[_0x3e09ad(0x1db)]}),_0x50705d)try{_0x4ae24b[_0x3e09ad(0x247)](_0x2d798e)['whenReady']()[_0x3e09ad(0x20d)](()=>{_0xdaefb6();});}catch{_0xdaefb6();}else _0xdaefb6();}['_initListener'](_0xfa3cc4,_0x64bdc9){const _0x3ce44e=_0x4c49c2;let _0x399bc2=_0xfa3cc4[_0x3ce44e(0x247)](_0x41efc8);this['_disposableCollection'][_0x3ce44e(0x1be)](_0x399bc2[_0x3ce44e(0x1ad)]['subscribe'](_0x10b4c4=>{const _0x14f4f0=_0x3ce44e;switch(_0x10b4c4){case _0x203990['Entered']:this['_dialogService'][_0x14f4f0(0x1aa)](),this['_sidebarService'][_0x14f4f0(0x1af)]();break;case _0x203990['Exited']:this[_0x14f4f0(0x1b4)][_0x14f4f0(0x1f4)](q['id']),this['unMountHistoryContent']();break;case _0x203990[_0x14f4f0(0x1b9)]:this[_0x14f4f0(0x253)](),this['_messageService'][_0x14f4f0(0x1e5)]({'content':this['_localeService']['t'](_0x14f4f0(0x245)),'type':_0x21300f[_0x14f4f0(0x1b9)],'duration':0xbb8});break;default:break;}})),this[_0x3ce44e(0x1ea)]['add'](_0x399bc2[_0x3ce44e(0x21d)]['subscribe'](async _0x57865f=>{const _0x1a95dd=_0x3ce44e;_0x57865f&&this[_0x1a95dd(0x1b4)][_0x1a95dd(0x1f4)](_0x526ad7['id'],{'unitId':_0x64bdc9,'revision':_0x57865f});}));}['_checkCanRevert'](_0x1bfee7){const _0x8d6de6=_0x4c49c2;let _0x474e0c=this[_0x8d6de6(0x242)][_0x8d6de6(0x1df)](_0x1bfee7)[_0x8d6de6(0x22b)]()[_0x8d6de6(0x1b0)](_0x541045=>_0x541045[_0x8d6de6(0x1e9)]()),_0x3b26dc=new _0x3d1217(_0x1bfee7)['id'],_0x4f83f3=_0x474e0c[_0x8d6de6(0x1b0)](_0x26d693=>new _0x5bed14(_0x1bfee7,_0x26d693)['id']),_0x5ebd67=_0x474e0c[_0x8d6de6(0x1b0)](_0x19ecf0=>this['_selectionProtectionRuleModel'][_0x8d6de6(0x1cd)](_0x1bfee7,_0x19ecf0)['map'](_0x1ebb93=>new _0x50ad28(_0x1bfee7,_0x19ecf0,_0x1ebb93[_0x8d6de6(0x254)])['id']))[_0x8d6de6(0x19f)](),_0x3c022b=new _0x266a14(_0x1bfee7)['id'];return this[_0x8d6de6(0x19d)]['composePermission']([_0x3b26dc,..._0x4f83f3,..._0x5ebd67,_0x3c022b])[_0x8d6de6(0x1c6)](_0x19bee8=>!!_0x19bee8['value']);}};G=U([H(0x0,_0x2a1c21(_0x4481e5)),H(0x1,_0x3a5724),H(0x2,_0x2358af),H(0x3,_0x18e0ae),H(0x4,_0x1430cf),H(0x5,_0x3608c8),H(0x6,_0x2a1c21(_0x16ed19)),H(0x7,_0x2a1c21(_0x505fd8)),H(0x8,_0x2a1c21(_0x14ebea)),H(0x9,_0x2a1c21(_0x171164))],G);const K={'id':'univer.operation.toggle-edit-history','type':_0x519d99[_0x4c49c2(0x1ba)],'handler':_0x3ffed3=>{const _0x13172f=_0x4c49c2;let _0x105782=_0x3ffed3[_0x13172f(0x247)](G),{unitId:_0x3d8306}=_0x1ef74b(_0x3ffed3[_0x13172f(0x247)](_0x3a5724))||{};return _0x3d8306?(_0x105782[_0x13172f(0x1e1)](_0x3d8306),!0x0):!0x1;}},q={'id':_0x4c49c2(0x240),'type':_0x519d99['OPERATION'],'handler':()=>!0x0};var st='@univerjs-pro/edit-history-loader',ct='0.25.0';function lt(_0x73d6f5){const _0x250a8a=_0x4c49c2;return{'id':K['id'],'type':_0x3e94ad[_0x250a8a(0x1d4)],'icon':_0x250a8a(0x244),'tooltip':_0x250a8a(0x1f0),'hidden$':_0x58fb33(_0x73d6f5,_0x3ba906['UNIVER_SHEET']),'disabled$':_0x451799(_0x73d6f5,{'workbookTypes':[_0x268bff],'worksheetTypes':[],'rangeTypes':[]})};}const ut={[_0x47129b[_0x4c49c2(0x1b3)]]:{[K['id']]:{'order':0.2,'menuItemFactory':lt}}};let J=class extends _0x3f5b03{constructor(_0x49615f,_0x40f502,_0x5714d3,_0x39ca6f,_0x409964,_0x1d18ea,_0x822eac,_0x24969a,_0x503d80,_0x264e73,_0x36c999){const _0x156899=_0x4c49c2;super(),this[_0x156899(0x1b4)]=_0x49615f,this['_menuManagerService']=_0x40f502,this['_componentManager']=_0x5714d3,this[_0x156899(0x212)]=_0x39ca6f,this[_0x156899(0x19a)]=_0x409964,this['_messageService']=_0x1d18ea,this['_collaborationController']=_0x822eac,this[_0x156899(0x23b)]=_0x24969a,this[_0x156899(0x1dd)]=_0x503d80,this[_0x156899(0x242)]=_0x264e73,this['_urlService']=_0x36c999,V(this,'_revertErrorTimer',null),this[_0x156899(0x1f3)]();}[_0x4c49c2(0x1f3)](){const _0x1ff700=_0x4c49c2;[K,q][_0x1ff700(0x1ac)](_0x38fcf8=>this[_0x1ff700(0x228)](_0x1e746a(this[_0x1ff700(0x1b4)][_0x1ff700(0x1c8)](_0x38fcf8)))),this[_0x1ff700(0x228)](this[_0x1ff700(0x21a)]['register'](_0x1ff700(0x244),_0xa61b65)),this['_menuManagerService'][_0x1ff700(0x20f)](ut),this[_0x1ff700(0x228)](this['_commandService'][_0x1ff700(0x24a)](async(_0x3e09af,_0x346f22)=>{const _0x403251=_0x1ff700;if(_0x3e09af['id']===_0x526ad7['id']){let {unitId:_0x55b3be}=_0x3e09af['params'];this[_0x403251(0x1c4)][_0x403251(0x1e5)]({'content':this['_localeService']['t'](_0x403251(0x246)),'type':_0x21300f[_0x403251(0x1db)],'duration':0x1388});let _0xd471e4=this['_collaborationController'][_0x403251(0x23a)](_0x55b3be);_0x346f22!=null&&_0x346f22[_0x403251(0x1e2)]?this['_handleRevertAcknowledgement'](_0xd471e4,async()=>(setTimeout(()=>window[_0x403251(0x1cb)][_0x403251(0x1f9)]()),!0x0),!0x0):this[_0x403251(0x1d9)](_0xd471e4,async()=>{const _0x500029=_0x403251;let _0x207631=this['_univerInstanceService']['getCurrentUnitOfType'](_0x3ba906[_0x500029(0x1f1)]),_0x584d99=_0x207631==null?void 0x0:_0x207631[_0x500029(0x221)]();if(!_0x584d99)return!0x1;this[_0x500029(0x242)][_0x500029(0x24c)](_0x55b3be);let _0x50183f=await this[_0x500029(0x1dd)][_0x500029(0x216)](_0x55b3be,_0x3ba906[_0x500029(0x1f1)]);return _0x50183f&&_0x50183f instanceof _0x9fce4d?(await this['_setupSubUnitSync'](_0x50183f,_0x584d99[_0x500029(0x1e9)]()),!0x0):!0x1;});}}));}[_0x4c49c2(0x1d9)](_0x3351a9,_0x271acd,_0x25fac7=!0x1){const _0x20b5bc=_0x4c49c2;let _0x20a726=_0x460070([_0x3351a9[_0x20b5bc(0x214)][_0x20b5bc(0x1c5)],_0x3351a9['state$']])[_0x20b5bc(0x1e0)](async([_0x42331a,_0x106ced])=>{const _0x40261d=_0x20b5bc;if(_0x42331a[_0x40261d(0x1ef)]===_0x2db2ee[_0x40261d(0x1b1)]&&(_0x106ced==null?void 0x0:_0x106ced['status'])===_0x46c40d[_0x40261d(0x1e3)]&&_0x42331a[_0x40261d(0x211)]['mutations']['some'](_0x25646a=>_0x25646a['id']===_0x526ad7['id'])&&await _0x271acd()){var _0x4c4c30;this['_historyManagerService']['unMountHistoryContent'](),_0x20a726[_0x40261d(0x1a5)](),this[_0x40261d(0x217)]&&clearTimeout(this[_0x40261d(0x217)]),await((_0x4c4c30=this['_localCacheService'])==null?void 0x0:_0x4c4c30[_0x40261d(0x1c3)]()),this[_0x40261d(0x1c4)]['removeAll']();}});_0x25fac7&&(this[_0x20b5bc(0x217)]=setTimeout(()=>{const _0x5a21e1=_0x20b5bc;_0x20a726['unsubscribe'](),this[_0x5a21e1(0x1c4)][_0x5a21e1(0x1e5)]({'content':this[_0x5a21e1(0x19a)]['t'](_0x5a21e1(0x1cf)),'type':_0x21300f['Error'],'duration':0xbb8});},0x1388));}async[_0x4c49c2(0x20b)](_0x45b87d,_0x25a0da){const _0x412537=_0x4c49c2;await this[_0x412537(0x1a6)](_0x45b87d,_0x25a0da),_0x45b87d[_0x412537(0x1ca)][_0x412537(0x1c2)](_0xd7de37(this[_0x412537(0x1ed)]))[_0x412537(0x1e0)](_0x236b1d=>{const _0x5cce41=_0x412537;_0x236b1d&&this[_0x5cce41(0x202)](_0x236b1d);}),this[_0x412537(0x226)][_0x412537(0x1d7)][_0x412537(0x1c2)](_0xd7de37(this[_0x412537(0x1ed)]))[_0x412537(0x1e0)](()=>this[_0x412537(0x1a6)](_0x45b87d,_0x25a0da));}[_0x4c49c2(0x202)](_0xafd180,_0x9ebb85=!0x1){const _0x799489=_0x4c49c2;let _0x459cf2=this['_urlService']['getParam'](_0x799489(0x1d3));_0xafd180[_0x799489(0x1e9)]()!==_0x459cf2&&this[_0x799489(0x226)][_0x799489(0x225)](_0x799489(0x1d3),_0xafd180[_0x799489(0x1e9)](),_0x9ebb85);}async[_0x4c49c2(0x1a6)](_0x39e47b,_0x4b8b9c){const _0x27a768=_0x4c49c2;var _0x5a6c48;if(!_0x4b8b9c||!_0x39e47b[_0x27a768(0x20a)](_0x4b8b9c)){let _0x43b9e3=_0x39e47b[_0x27a768(0x1a4)]()[0x0],_0x4baee4=_0x39e47b['getSheetBySheetId'](_0x43b9e3);if(!_0x4baee4)return;this[_0x27a768(0x202)](_0x4baee4,!0x0),await this[_0x27a768(0x1b4)][_0x27a768(0x1f4)](_0x5ebce6['id'],{'unitId':_0x39e47b[_0x27a768(0x1b7)](),'subUnitId':_0x43b9e3});return;}((_0x5a6c48=_0x39e47b['getActiveSheet']())==null?void 0x0:_0x5a6c48[_0x27a768(0x1e9)]())!==_0x4b8b9c&&await this[_0x27a768(0x1b4)][_0x27a768(0x1f4)](_0x5ebce6['id'],{'unitId':_0x39e47b[_0x27a768(0x1b7)](),'subUnitId':_0x4b8b9c});}};J=U([H(0x0,_0x18e0ae),H(0x1,_0x4225d9),H(0x2,_0x2a1c21(_0xa97fdf)),H(0x3,_0x2a1c21(G)),H(0x4,_0x2a1c21(_0x4481e5)),H(0x5,_0x1430cf),H(0x6,_0x2a1c21(_0x341c06)),H(0x7,_0x310f1b),H(0x8,_0x2a1c21(_0x57070e)),H(0x9,_0x3a5724),H(0xa,_0x5c80e8)],J);const Y=_0x4c49c2(0x25b);let X=class extends _0x2a3e77{constructor(_0x98d25e,_0x410c0a,_0x492cf7,_0x4fea45,_0xaedafd,_0x417265,_0x3d9ba9,_0x35e508,_0x10642b,_0x167ee9){const _0xf7e2b=_0x4c49c2;super(),this['_localeService']=_0x98d25e,this['_univerInstanceService']=_0x410c0a,this[_0xf7e2b(0x25c)]=_0x492cf7,this['_commandService']=_0x4fea45,this[_0xf7e2b(0x1c4)]=_0xaedafd,this[_0xf7e2b(0x19d)]=_0x417265,this[_0xf7e2b(0x1a7)]=_0x3d9ba9,this[_0xf7e2b(0x1fb)]=_0x35e508,this[_0xf7e2b(0x1c1)]=_0x10642b,this[_0xf7e2b(0x1a9)]=_0x167ee9,V(this,_0xf7e2b(0x215),new _0x1a5106(null)),V(this,_0xf7e2b(0x1e6),this[_0xf7e2b(0x215)]['asObservable']()),V(this,'_disposableCollection',new _0x1d9150()),V(this,_0xf7e2b(0x1d5),new Map()),V(this,_0xf7e2b(0x24d),null),this['_init']();}get[_0x4c49c2(0x1f7)](){return this['_historyUniver$']['value'];}[_0x4c49c2(0x1f3)](){this['_initContainer'](),this['_initPlugins']();}[_0x4c49c2(0x219)](){const _0x2f91ab=_0x4c49c2;var _0x179486;let _0x17dc71=(_0x179486=this[_0x2f91ab(0x25c)]['getConfig'](_0x2f91ab(0x19b)))==null?_0x2f91ab(0x1fa):_0x179486,_0x26c9cf=document[_0x2f91ab(0x239)](_0x17dc71);if(!_0x26c9cf)return;let _0x5a4c63=document[_0x2f91ab(0x251)](_0x2f91ab(0x208));_0x5a4c63['id']=Y,_0x5a4c63[_0x2f91ab(0x19c)][_0x2f91ab(0x23d)]=_0x2f91ab(0x21b),_0x5a4c63[_0x2f91ab(0x1a0)][_0x2f91ab(0x230)]=_0x2f91ab(0x1bf),_0x5a4c63[_0x2f91ab(0x1a0)][_0x2f91ab(0x1d1)]='0',_0x5a4c63[_0x2f91ab(0x1a0)][_0x2f91ab(0x20e)]='0',_0x5a4c63['style'][_0x2f91ab(0x206)]=_0x2f91ab(0x249),_0x5a4c63[_0x2f91ab(0x1a0)][_0x2f91ab(0x1c9)]='100%',_0x5a4c63['style']['zIndex']='49',_0x5a4c63[_0x2f91ab(0x1a0)][_0x2f91ab(0x1b5)]=_0x2f91ab(0x243),_0x26c9cf[_0x2f91ab(0x1c7)](_0x5a4c63);}['_initPlugins'](){[[_0x12c6f7],[_0x2ed289,{'container':Y,'header':!0x0,'toolbar':!0x1,'footer':!0x0,'contextMenu':!0x1,'override':[[_0x505fd8,null]]}],[_0x57816a],[_0x5a5fc3,{'override':[[_0x29d249,null]]}],[_0x4ba5f1,{'hasScroll':!0x1}],[_0x4dc8ee],[_0x10e1ee],[_0x37f383,{'notExecuteFormula':!0x0}],[_0x371ee3],[_0x1f838a],[_0x254895],[_0x45abad],[_0x5b7a8e],[_0x58f56a],[_0x48885b],[_0x542410],[_0x199a16],[_0xaed69e],[_0x1dbe4c],[_0x179a24,{'notExecuteFormula':!0x0}],[_0x29a515],[_0x1c2b4a],[_0x13f44e],[_0x2f2ad7],[_0x5a9ca5],[_0xa34c36],[_0xe205b7],[_0x57f8cb],[_0x10415a],[_0x418476,{'notExecuteFormula':!0x0}],[_0xbc7e65]]['forEach'](([_0x43ffeb,_0xc18711])=>this['registerPlugin'](_0x43ffeb,_0xc18711));}[_0x4c49c2(0x1de)](){const _0x472bf3=_0x4c49c2;super[_0x472bf3(0x1de)](),this[_0x472bf3(0x253)](),this['_pluginMap']['clear']();}[_0x4c49c2(0x209)](_0x5bf76e,_0x3f2288,_0x2509a0){const _0x532a05=_0x4c49c2;if(this['_pluginMap'][_0x532a05(0x224)](_0x5bf76e[_0x532a05(0x1b8)])&&!_0x2509a0)throw Error(_0x532a05(0x203)+_0x5bf76e[_0x532a05(0x1b8)]+_0x532a05(0x21e));this[_0x532a05(0x1d5)][_0x532a05(0x24e)](_0x5bf76e['pluginName'],[_0x5bf76e,_0x3f2288]);}[_0x4c49c2(0x22c)](){const _0x271706=_0x4c49c2;return Array[_0x271706(0x1a8)](this[_0x271706(0x1d5)][_0x271706(0x232)]());}[_0x4c49c2(0x1e1)](_0x1aa6fa,_0x3a18b8){const _0x53f014=_0x4c49c2;let _0x120abb=document['getElementById'](Y);_0x120abb&&(_0x120abb[_0x53f014(0x1a0)][_0x53f014(0x1b5)]='block',this[_0x53f014(0x1a3)](_0x1aa6fa,Y,_0x3a18b8));}[_0x4c49c2(0x253)](){const _0x10e4f5=_0x4c49c2;var _0x2f44cd;this['_disposableCollection'][_0x10e4f5(0x1de)](),(_0x2f44cd=this[_0x10e4f5(0x1f7)])==null||_0x2f44cd[_0x10e4f5(0x1de)](),this[_0x10e4f5(0x215)][_0x10e4f5(0x200)](null);let _0x27db5a=document[_0x10e4f5(0x239)](Y);_0x27db5a&&(_0x27db5a[_0x10e4f5(0x1a0)][_0x10e4f5(0x1b5)]=_0x10e4f5(0x243),this[_0x10e4f5(0x24d)]&&(this[_0x10e4f5(0x24d)][_0x10e4f5(0x1ce)](),this[_0x10e4f5(0x24d)]=null));}[_0x4c49c2(0x1a3)](_0x447276,_0x3b4662,_0x47d420){const _0xdff85b=_0x4c49c2;var _0x29d8ad,_0x5bcc32,_0x7ed82e,_0x57d033;if(this['historyUniver'])return;let _0x291554=new _0x9dd17b({'locales':{[this[_0xdff85b(0x19a)]['getCurrentLocale']()]:this['_localeService'][_0xdff85b(0x22f)]()},'override':[[_0x8140f0,{'useClass':_0x168266}]]}),_0x5602d2=_0x291554['__getInjector']();this[_0xdff85b(0x228)](this['_themeService'][_0xdff85b(0x1e7)][_0xdff85b(0x1e0)](_0x1d4c36=>{const _0x397c4d=_0xdff85b;_0x5602d2[_0x397c4d(0x247)](_0x171164)[_0x397c4d(0x223)](_0x1d4c36);})),this['disposeWithMe'](this[_0xdff85b(0x1a9)][_0xdff85b(0x1c0)]['subscribe'](_0x22f2a8=>{const _0x41291c=_0xdff85b;_0x5602d2[_0x41291c(0x247)](_0x171164)[_0x41291c(0x1dc)](_0x22f2a8);})),_0x5602d2[_0xdff85b(0x247)](_0x4481e5)['setLocale'](this[_0xdff85b(0x19a)][_0xdff85b(0x207)]()),_0x5602d2[_0xdff85b(0x247)](_0x2358af)[_0xdff85b(0x1da)](_0x37ae5d,this[_0xdff85b(0x25c)][_0xdff85b(0x1cc)](_0x37ae5d));let _0x30ddad=this[_0xdff85b(0x25c)]['getConfig'](_0x59d6d1);_0x30ddad&&_0x291554[_0xdff85b(0x209)](_0x3c1214,{'license':_0x30ddad['ls']});let _0x224699=(_0x29d8ad=this['_configService'][_0xdff85b(0x1cc)]('edit-history-loader.config'))==null?void 0x0:_0x29d8ad[_0xdff85b(0x204)],_0x29ed5f=!!_0x224699;_0x29ed5f&&(this[_0xdff85b(0x24d)]=_0x224699 instanceof Worker?_0x224699:null,_0x291554[_0xdff85b(0x209)](_0x5097e6,{'workerURL':_0x224699})),this[_0xdff85b(0x1d5)][_0xdff85b(0x1ac)](([_0x2beac4,_0x8c6001])=>{_0x291554['registerPlugin'](_0x2beac4,_0x8c6001);}),_0x291554[_0xdff85b(0x209)](_0x502946,{'historyListServerUrl':(_0x5bcc32=this[_0xdff85b(0x25c)][_0xdff85b(0x1cc)](_0xdff85b(0x238)))==null?void 0x0:_0x5bcc32[_0xdff85b(0x248)],'historyPanelComponentKey':(_0x7ed82e=this[_0xdff85b(0x25c)][_0xdff85b(0x1cc)]('edit-history-loader.config'))==null?void 0x0:_0x7ed82e['historyPanelComponentKey'],'historyPanelHidden':(_0x57d033=this[_0xdff85b(0x25c)][_0xdff85b(0x1cc)](_0xdff85b(0x238)))==null?void 0x0:_0x57d033['historyPanelHidden']}),_0x5602d2[_0xdff85b(0x1d0)](_0x3f98f5=>{const _0x25393f=_0xdff85b;this[_0x25393f(0x1eb)](_0x3f98f5,_0x447276);}),this[_0xdff85b(0x215)][_0xdff85b(0x200)](_0x291554);let _0x476abc=_0x5602d2[_0xdff85b(0x247)](_0x41efc8),_0x58984b=this['_checkCanRevert'](_0x447276),_0x18f1f9=()=>{const _0x5c2139=_0xdff85b;_0x47d420?_0x476abc[_0x5c2139(0x201)](_0x447276,_0x3b4662,_0x58984b,_0x47d420):_0x476abc['triggerLoadVersions'](_0x447276,_0x3b4662,_0x58984b);};if(this[_0xdff85b(0x1c4)][_0xdff85b(0x1e5)]({'content':this[_0xdff85b(0x19a)]['t'](_0xdff85b(0x250)),'type':_0x21300f[_0xdff85b(0x1db)]}),_0x29ed5f)try{_0x5602d2[_0xdff85b(0x247)](_0x2d798e)[_0xdff85b(0x20c)]()[_0xdff85b(0x20d)](()=>{_0x18f1f9();});}catch{_0x18f1f9();}else _0x18f1f9();}['_initListener'](_0x23af2c,_0x5b6d5f){const _0x4efcef=_0x4c49c2;let _0x5434ba=_0x23af2c['get'](_0x41efc8);this[_0x4efcef(0x1ea)][_0x4efcef(0x1be)](_0x5434ba['status$'][_0x4efcef(0x1e0)](_0x17951d=>{const _0x5cd90e=_0x4efcef;switch(_0x17951d){case _0x203990['Entered']:this[_0x5cd90e(0x1fb)][_0x5cd90e(0x1aa)](),this['_sidebarService']['close']();break;case _0x203990[_0x5cd90e(0x24b)]:this[_0x5cd90e(0x1b4)][_0x5cd90e(0x1f4)](q['id']),this['unMountHistoryContent']();break;case _0x203990[_0x5cd90e(0x1b9)]:this[_0x5cd90e(0x253)](),this[_0x5cd90e(0x1c4)][_0x5cd90e(0x1e5)]({'content':this[_0x5cd90e(0x19a)]['t'](_0x5cd90e(0x245)),'type':_0x21300f[_0x5cd90e(0x1b9)],'duration':0xbb8});break;default:break;}})),this[_0x4efcef(0x1ea)]['add'](_0x5434ba[_0x4efcef(0x21d)]['subscribe'](async _0x1c750a=>{const _0x413ce5=_0x4efcef;_0x1c750a&&this[_0x413ce5(0x1b4)][_0x413ce5(0x1f4)](_0x526ad7['id'],{'unitId':_0x5b6d5f,'revision':_0x1c750a});}));}[_0x4c49c2(0x1b6)](_0x244da0){const _0x42f89a=_0x4c49c2;let _0x5c73f5=this[_0x42f89a(0x242)][_0x42f89a(0x1df)](_0x244da0)[_0x42f89a(0x22b)]()['map'](_0x20517f=>_0x20517f['getSheetId']()),_0x58c984=new _0x3d1217(_0x244da0)['id'],_0x2e1a75=_0x5c73f5[_0x42f89a(0x1b0)](_0x41594d=>new _0x5bed14(_0x244da0,_0x41594d)['id']),_0x35ff21=_0x5c73f5[_0x42f89a(0x1b0)](_0xad863b=>this['_selectionProtectionRuleModel'][_0x42f89a(0x1cd)](_0x244da0,_0xad863b)[_0x42f89a(0x1b0)](_0x2c475b=>new _0x50ad28(_0x244da0,_0xad863b,_0x2c475b[_0x42f89a(0x254)])['id']))[_0x42f89a(0x19f)](),_0x3aaa17=new _0x266a14(_0x244da0)['id'];return this['_permissionService'][_0x42f89a(0x1ff)]([_0x58c984,..._0x2e1a75,..._0x35ff21,_0x3aaa17])['every'](_0x4e0a3f=>!!_0x4e0a3f[_0x42f89a(0x23f)]);}};X=U([H(0x0,_0x2a1c21(_0x4481e5)),H(0x1,_0x3a5724),H(0x2,_0x2358af),H(0x3,_0x18e0ae),H(0x4,_0x1430cf),H(0x5,_0x3608c8),H(0x6,_0x2a1c21(_0x16ed19)),H(0x7,_0x2a1c21(_0x505fd8)),H(0x8,_0x2a1c21(_0x14ebea)),H(0x9,_0x2a1c21(_0x171164))],X);let Z=class extends _0x7d98a3{constructor(_0x4cf79b=z,_0x2257ec,_0x158596){const _0xcfb212=_0x4c49c2;super(),this[_0xcfb212(0x1f6)]=_0x4cf79b,this[_0xcfb212(0x258)]=_0x2257ec,this['_configService']=_0x158596;let {menu:_0x3a1d36,..._0x5b7403}=_0x410477({},z,this['_config']);_0x3a1d36&&this[_0xcfb212(0x25c)][_0xcfb212(0x1da)](_0xcfb212(0x210),_0x3a1d36,{'merge':!0x0}),this[_0xcfb212(0x25c)][_0xcfb212(0x1da)](R,_0x5b7403),this[_0xcfb212(0x1f6)][_0xcfb212(0x1fe)]&&this[_0xcfb212(0x25c)][_0xcfb212(0x1da)]('UNIVER_CONTAINER_ID',this[_0xcfb212(0x1f6)]['univerContainerId']);}[_0x4c49c2(0x1bb)](){const _0xe16bc0=_0x4c49c2;[[G,{'useClass':X}],[J]][_0xe16bc0(0x1ac)](_0x2bbef5=>this[_0xe16bc0(0x258)][_0xe16bc0(0x1be)](_0x2bbef5));}[_0x4c49c2(0x1e8)](){const _0x1bc02d=_0x4c49c2;this[_0x1bc02d(0x258)][_0x1bc02d(0x247)](J);}};V(Z,_0x4c49c2(0x22a),_0x3ba906[_0x4c49c2(0x259)]),V(Z,_0x4c49c2(0x1b8),_0x4c49c2(0x1f2)),V(Z,_0x4c49c2(0x220),st),V(Z,_0x4c49c2(0x235),ct),Z=U([_0x332599(_0x3c1214),H(0x1,_0x2a1c21(_0x58e461)),H(0x2,_0x2358af)],Z);let Q=class extends _0x3f5b03{constructor(_0x4ce866,_0x3a912a,_0x3cc854,_0x199aa4,_0x5f5891,_0x4bbb35,_0x13a74c,_0x4ab601,_0x324109,_0x2ae798,_0x307a6d){const _0x51bd52=_0x4c49c2;super(),this[_0x51bd52(0x1b4)]=_0x4ce866,this['_menuManagerService']=_0x3a912a,this[_0x51bd52(0x21a)]=_0x3cc854,this[_0x51bd52(0x212)]=_0x199aa4,this[_0x51bd52(0x19a)]=_0x5f5891,this['_messageService']=_0x4bbb35,this[_0x51bd52(0x23e)]=_0x13a74c,this[_0x51bd52(0x23b)]=_0x4ab601,this[_0x51bd52(0x1dd)]=_0x324109,this[_0x51bd52(0x242)]=_0x2ae798,this[_0x51bd52(0x226)]=_0x307a6d,V(this,_0x51bd52(0x217),null),this[_0x51bd52(0x1f3)]();}['_init'](){const _0xd1af2a=_0x4c49c2;[K,q][_0xd1af2a(0x1ac)](_0x4ccc13=>this[_0xd1af2a(0x228)](_0x1e746a(this['_commandService'][_0xd1af2a(0x1c8)](_0x4ccc13)))),this[_0xd1af2a(0x228)](this[_0xd1af2a(0x21a)]['register']('HistoryIcon',_0xa61b65)),this[_0xd1af2a(0x23c)][_0xd1af2a(0x20f)](ut),this[_0xd1af2a(0x228)](this[_0xd1af2a(0x1b4)]['onCommandExecuted'](async(_0x3bffe1,_0x2eaf9d)=>{const _0xa8b8e6=_0xd1af2a;if(_0x3bffe1['id']===_0x526ad7['id']){let {unitId:_0x426001}=_0x3bffe1[_0xa8b8e6(0x227)];this[_0xa8b8e6(0x1c4)][_0xa8b8e6(0x1e5)]({'content':this['_localeService']['t']('edit-history-loader.panel.reverting'),'type':_0x21300f[_0xa8b8e6(0x1db)],'duration':0x1388});let _0x5205fc=this[_0xa8b8e6(0x23e)][_0xa8b8e6(0x23a)](_0x426001);_0x2eaf9d!=null&&_0x2eaf9d[_0xa8b8e6(0x1e2)]?this[_0xa8b8e6(0x1d9)](_0x5205fc,async()=>(setTimeout(()=>window['location']['reload']()),!0x0),!0x0):this['_handleRevertAcknowledgement'](_0x5205fc,async()=>{const _0x2db1db=_0xa8b8e6;let _0x27a6aa=this[_0x2db1db(0x242)][_0x2db1db(0x234)](_0x3ba906[_0x2db1db(0x1f1)]),_0x27fc4a=_0x27a6aa==null?void 0x0:_0x27a6aa[_0x2db1db(0x221)]();if(!_0x27fc4a)return!0x1;this[_0x2db1db(0x242)][_0x2db1db(0x24c)](_0x426001);let _0x3d44ff=await this['_dataLoaderService'][_0x2db1db(0x216)](_0x426001,_0x3ba906['UNIVER_SHEET']);return _0x3d44ff&&_0x3d44ff instanceof _0x9fce4d?(await this[_0x2db1db(0x20b)](_0x3d44ff,_0x27fc4a[_0x2db1db(0x1e9)]()),!0x0):!0x1;});}}));}[_0x4c49c2(0x1d9)](_0x3b515b,_0x140951,_0x5b3858=!0x1){const _0x2c983a=_0x4c49c2;let _0x57685b=_0x460070([_0x3b515b[_0x2c983a(0x214)][_0x2c983a(0x1c5)],_0x3b515b[_0x2c983a(0x24f)]])[_0x2c983a(0x1e0)](async([_0x2278d7,_0x1fbfbf])=>{const _0x3ba523=_0x2c983a;if(_0x2278d7[_0x3ba523(0x1ef)]===_0x2db2ee[_0x3ba523(0x1b1)]&&(_0x1fbfbf==null?void 0x0:_0x1fbfbf['status'])===_0x46c40d[_0x3ba523(0x1e3)]&&_0x2278d7['data'][_0x3ba523(0x1bd)][_0x3ba523(0x1a1)](_0x57b5ec=>_0x57b5ec['id']===_0x526ad7['id'])&&await _0x140951()){var _0x3edb7b;this[_0x3ba523(0x212)][_0x3ba523(0x253)](),_0x57685b[_0x3ba523(0x1a5)](),this[_0x3ba523(0x217)]&&clearTimeout(this['_revertErrorTimer']),await((_0x3edb7b=this['_localCacheService'])==null?void 0x0:_0x3edb7b[_0x3ba523(0x1c3)]());}});_0x5b3858&&(this[_0x2c983a(0x217)]=setTimeout(()=>{const _0x183f37=_0x2c983a;_0x57685b[_0x183f37(0x1a5)](),this[_0x183f37(0x1c4)]['show']({'content':this[_0x183f37(0x19a)]['t'](_0x183f37(0x1cf)),'type':_0x21300f[_0x183f37(0x1b9)],'duration':0xbb8});},0x1388));}async['_setupSubUnitSync'](_0x595215,_0x403afc){const _0x1f421b=_0x4c49c2;await this['_updateSubUnitFromURLParams'](_0x595215,_0x403afc),_0x595215[_0x1f421b(0x1ca)][_0x1f421b(0x1c2)](_0xd7de37(this[_0x1f421b(0x1ed)]))['subscribe'](_0x9edba=>{const _0x24acbe=_0x1f421b;_0x9edba&&this[_0x24acbe(0x202)](_0x9edba);}),this[_0x1f421b(0x226)][_0x1f421b(0x1d7)][_0x1f421b(0x1c2)](_0xd7de37(this[_0x1f421b(0x1ed)]))[_0x1f421b(0x1e0)](()=>this['_updateSubUnitFromURLParams'](_0x595215,_0x403afc));}[_0x4c49c2(0x202)](_0xa8c845,_0xdee2ad=!0x1){const _0x5a0c58=_0x4c49c2;let _0x5f2533=this['_urlService'][_0x5a0c58(0x19e)](_0x5a0c58(0x1d3));_0xa8c845[_0x5a0c58(0x1e9)]()!==_0x5f2533&&this['_urlService'][_0x5a0c58(0x225)](_0x5a0c58(0x1d3),_0xa8c845['getSheetId'](),_0xdee2ad);}async[_0x4c49c2(0x1a6)](_0x4f1102,_0x454790){const _0x3e2541=_0x4c49c2;var _0x1eadea;if(!_0x454790||!_0x4f1102['getSheetBySheetId'](_0x454790)){let _0x111383=_0x4f1102['getUnhiddenWorksheets']()[0x0],_0xfc355f=_0x4f1102['getSheetBySheetId'](_0x111383);if(!_0xfc355f)return;this[_0x3e2541(0x202)](_0xfc355f,!0x0),await this['_commandService'][_0x3e2541(0x1f4)](_0x5ebce6['id'],{'unitId':_0x4f1102[_0x3e2541(0x1b7)](),'subUnitId':_0x111383});return;}((_0x1eadea=_0x4f1102[_0x3e2541(0x221)]())==null?void 0x0:_0x1eadea['getSheetId']())!==_0x454790&&await this[_0x3e2541(0x1b4)][_0x3e2541(0x1f4)](_0x5ebce6['id'],{'unitId':_0x4f1102[_0x3e2541(0x1b7)](),'subUnitId':_0x454790});}};Q=U([H(0x0,_0x18e0ae),H(0x1,_0x4225d9),H(0x2,_0x2a1c21(_0xa97fdf)),H(0x3,_0x2a1c21(G)),H(0x4,_0x2a1c21(_0x4481e5)),H(0x5,_0x1430cf),H(0x6,_0x2a1c21(_0x341c06)),H(0x7,_0x310f1b),H(0x8,_0x2a1c21(_0x57070e)),H(0x9,_0x3a5724),H(0xa,_0x5c80e8)],Q);let $=class extends _0x7d98a3{constructor(_0x2fca72=z,_0xe651f5,_0x580fa1){const _0x5aba4d=_0x4c49c2;super(),this[_0x5aba4d(0x1f6)]=_0x2fca72,this[_0x5aba4d(0x258)]=_0xe651f5,this[_0x5aba4d(0x25c)]=_0x580fa1;let {menu:_0x188a03,..._0x27c7bc}=_0x410477({},z,this[_0x5aba4d(0x1f6)]);_0x188a03&&this[_0x5aba4d(0x25c)]['setConfig']('menu',_0x188a03,{'merge':!0x0}),this[_0x5aba4d(0x25c)]['setConfig'](R,_0x27c7bc),this[_0x5aba4d(0x1f6)][_0x5aba4d(0x1fe)]&&this[_0x5aba4d(0x25c)][_0x5aba4d(0x1da)](ot,this['_config'][_0x5aba4d(0x1fe)]);}[_0x4c49c2(0x1bb)](){const _0x50391c=_0x4c49c2;[[G],[Q]]['forEach'](_0x47d051=>this[_0x50391c(0x258)][_0x50391c(0x1be)](_0x47d051));}['onSteady'](){const _0x193954=_0x4c49c2;this[_0x193954(0x258)][_0x193954(0x247)](Q);}};V($,_0x4c49c2(0x22a),_0x3ba906[_0x4c49c2(0x259)]),V($,_0x4c49c2(0x1b8),_0x4c49c2(0x1bc)),V($,_0x4c49c2(0x220),st),V($,_0x4c49c2(0x235),ct),$=U([_0x332599(_0x3c1214),H(0x1,_0x2a1c21(_0x58e461)),H(0x2,_0x2358af)],$);export{R as EDIT_HISTORY_LOADER_PLUGIN_CONFIG_KEY,G as HistoryLoaderService,X as MobileHistoryLoaderService,K as ToggleEditHistoryOperation,ot as UNIVER_CONTAINER_ID_KEY,W as UNIVER_HISTORY_CONTAINER_ID,Z as UniverEditHistoryLoaderMobilePlugin,$ as UniverEditHistoryLoaderPlugin};
|
|
1
|
+
const _0x51e293=_0x2fa8;(function(_0x126ccd,_0x1f5fa3){const _0x4efd7e=_0x2fa8,_0xf6954b=_0x126ccd();while(!![]){try{const _0x1e07b9=parseInt(_0x4efd7e(0x24d))/0x1*(-parseInt(_0x4efd7e(0x1ab))/0x2)+-parseInt(_0x4efd7e(0x1bc))/0x3+-parseInt(_0x4efd7e(0x1a9))/0x4*(-parseInt(_0x4efd7e(0x1ff))/0x5)+-parseInt(_0x4efd7e(0x224))/0x6+parseInt(_0x4efd7e(0x1d9))/0x7+-parseInt(_0x4efd7e(0x20b))/0x8*(-parseInt(_0x4efd7e(0x1c2))/0x9)+-parseInt(_0x4efd7e(0x221))/0xa*(parseInt(_0x4efd7e(0x1b3))/0xb);if(_0x1e07b9===_0x1f5fa3)break;else _0xf6954b['push'](_0xf6954b['shift']());}catch(_0x46ffd5){_0xf6954b['push'](_0xf6954b['shift']());}}}(_0x2a39,0x1e249));import{CommandType as _0x3d5df8,DependentOn as _0x51581f,Disposable as _0x3b0571,DisposableCollection as _0x23e6ea,IAuthzIoService as _0x5d50e1,ICommandService as _0x5bcf60,IConfigService as _0x5d5514,IPermissionService as _0x596d58,IUniverInstanceService as _0x1ce298,Inject as _0x102fc7,Injector as _0x5ee0e3,LocaleService as _0xd2d502,Plugin as _0x37682d,RxDisposable as _0x45c40d,ThemeService as _0x49f88f,Univer as _0x191548,UniverInstanceType as _0x234953,Workbook as _0x1d912a,merge as _0x3a3707,toDisposable as _0x315320}from'@univerjs/core';import{RangeProtectionPermissionEditPoint as _0x5e36b5,RangeProtectionRuleModel as _0x1c26fe,SetWorksheetActivateCommand as _0xa82b9c,UniverSheetsPlugin as _0x34cadc,WorkbookEditablePermission as _0x4fb099,WorkbookRecoverHistoryPermission as _0xdaeacc,WorkbookViewHistoryPermission as _0x562672,WorksheetEditPermission as _0x26e9b1,getSheetCommandTarget as _0x37ec0e}from'@univerjs/sheets';import{CollaborationEvent as _0x476f17,RevertRevisionMutation as _0x403d50,UniverCollaborationPlugin as _0x3d3cf1}from'@univerjs-pro/collaboration';import{AuthzIoHttpService as _0x4a545d,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0xc7bda7,CollaborationController as _0xb67735,CollaborationStatus as _0x5a1b63,DataLoaderService as _0x18d51a,ILocalCacheService as _0x27a81a}from'@univerjs-pro/collaboration-client';import{HistoryManagerService as _0x406221,HistoryModeStatus as _0x215d4c,UniverEditHistoryViewerMobilePlugin as _0x8b0ffc,UniverEditHistoryViewerPlugin as _0x9430ed}from'@univerjs-pro/edit-history-viewer';import{LS_CONFIG_KEY as _0x4c6c98,UniverLicensePlugin as _0x58857c}from'@univerjs-pro/license';import{UniverSheetsChartPlugin as _0x37ecb5}from'@univerjs-pro/sheets-chart';import{UniverSheetsChartUIPlugin as _0x48bd23}from'@univerjs-pro/sheets-chart-ui';import{UniverSheetsPivotTablePlugin as _0x41f344}from'@univerjs-pro/sheets-pivot';import{UniverSheetsShapePlugin as _0x173546}from'@univerjs-pro/sheets-shape';import{UniverSheetsShapeUIPlugin as _0x42f70d}from'@univerjs-pro/sheets-shape-ui';import{UniverSheetSparklinePlugin as _0x6953f}from'@univerjs-pro/sheets-sparkline';import{UniverSheetSparklineUIPlugin as _0x23a31e}from'@univerjs-pro/sheets-sparkline-ui';import{UniverDataValidationPlugin as _0x57de3c}from'@univerjs/data-validation';import{MessageType as _0x5c5d92}from'@univerjs/design';import{UniverDocsPlugin as _0x12e6d3}from'@univerjs/docs';import{UniverDocsUIPlugin as _0x199e75}from'@univerjs/docs-ui';import{IImageIoService as _0x314976,UniverDrawingPlugin as _0x54de5f}from'@univerjs/drawing';import{UniverDrawingUIPlugin as _0x322e9c}from'@univerjs/drawing-ui';import{UniverFormulaEnginePlugin as _0x57849e}from'@univerjs/engine-formula';import{UniverRenderEnginePlugin as _0x40427b}from'@univerjs/engine-render';import{UniverNetworkPlugin as _0x445778}from'@univerjs/network';import{IRemoteInstanceService as _0x1c96ac,UniverRPCMainThreadPlugin as _0xfa38ef}from'@univerjs/rpc';import{UniverSheetsConditionalFormattingPlugin as _0x4c9a8c}from'@univerjs/sheets-conditional-formatting';import{UniverSheetsConditionalFormattingUIPlugin as _0xbba9c3}from'@univerjs/sheets-conditional-formatting-ui';import{UniverSheetsDataValidationPlugin as _0xd8a32a}from'@univerjs/sheets-data-validation';import{UniverSheetsDataValidationMobileUIPlugin as _0x1fe344,UniverSheetsDataValidationUIPlugin as _0x36291a}from'@univerjs/sheets-data-validation-ui';import{UniverSheetsDrawingPlugin as _0x1d65be}from'@univerjs/sheets-drawing';import{UniverSheetsDrawingUIPlugin as _0xf9efb3}from'@univerjs/sheets-drawing-ui';import{UniverSheetsFilterPlugin as _0x95b45b}from'@univerjs/sheets-filter';import{UniverSheetsFilterUIPlugin as _0x409ef9}from'@univerjs/sheets-filter-ui';import{UniverSheetsFormulaPlugin as _0x495bcc}from'@univerjs/sheets-formula';import{UniverSheetsFormulaUIPlugin as _0x35d9da}from'@univerjs/sheets-formula-ui';import{UniverSheetsHyperLinkPlugin as _0x1b6dec}from'@univerjs/sheets-hyper-link';import{UniverSheetsHyperLinkUIPlugin as _0x1b4647}from'@univerjs/sheets-hyper-link-ui';import{UniverSheetsNumfmtPlugin as _0x1624c6}from'@univerjs/sheets-numfmt';import{UniverSheetsTablePlugin as _0x374c90}from'@univerjs/sheets-table';import{UniverSheetsMobileUIPlugin as _0x2740d8,UniverSheetsUIPlugin as _0x38e3e8,getCurrentRangeDisable$ as _0x3460c4}from'@univerjs/sheets-ui';import{ComponentManager as _0x5eed86,IDialogService as _0xda4de0,IMenuManagerService as _0x8be2a1,IMessageService as _0x1da5eb,ISidebarService as _0x385be2,MenuItemType as _0xddd5cf,RibbonStartGroup as _0x54ea7a,UniverMobileUIPlugin as _0x22911a,UniverUIPlugin as _0x25d838,getMenuHiddenObservable as _0x4ac16b}from'@univerjs/ui';import{BehaviorSubject as _0x283d48,combineLatest as _0x220587,takeUntil as _0x951d67}from'rxjs';import{IURLService as _0x3196a6}from'@univerjs-pro/collaboration-client-ui';import{HistoryIcon as _0x7d2673}from'@univerjs/icons';const R=_0x51e293(0x211),z={};function B(_0x17e0b5){'@babel/helpers - typeof';const _0x4c599d=_0x51e293;return B=typeof Symbol=='function'&&typeof Symbol['iterator']==_0x4c599d(0x1f8)?function(_0x56a470){return typeof _0x56a470;}:function(_0x3641a8){const _0x30df4e=_0x4c599d;return _0x3641a8&&typeof Symbol==_0x30df4e(0x199)&&_0x3641a8['constructor']===Symbol&&_0x3641a8!==Symbol['prototype']?_0x30df4e(0x1f8):typeof _0x3641a8;},B(_0x17e0b5);}function _0x2fa8(_0x4a06c7,_0x4ca954){_0x4a06c7=_0x4a06c7-0x189;const _0x2a399c=_0x2a39();let _0x2fa8e2=_0x2a399c[_0x4a06c7];return _0x2fa8e2;}function it(_0x2f0f88,_0x38848f){const _0x2b484e=_0x51e293;if(B(_0x2f0f88)!='object'||!_0x2f0f88)return _0x2f0f88;var _0x1d9e90=_0x2f0f88[Symbol[_0x2b484e(0x1e1)]];if(_0x1d9e90!==void 0x0){var _0x7c0769=_0x1d9e90['call'](_0x2f0f88,_0x38848f||_0x2b484e(0x1cb));if(B(_0x7c0769)!=_0x2b484e(0x207))return _0x7c0769;throw TypeError(_0x2b484e(0x234));}return(_0x38848f===_0x2b484e(0x232)?String:Number)(_0x2f0f88);}function at(_0x1d5fdc){const _0x4495d2=_0x51e293;var _0x4ee0a7=it(_0x1d5fdc,'string');return B(_0x4ee0a7)==_0x4495d2(0x1f8)?_0x4ee0a7:_0x4ee0a7+'';}function V(_0x4b946f,_0x5eb98c,_0x1a16f5){const _0x149734=_0x51e293;return(_0x5eb98c=at(_0x5eb98c))in _0x4b946f?Object[_0x149734(0x1b0)](_0x4b946f,_0x5eb98c,{'value':_0x1a16f5,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x4b946f[_0x5eb98c]=_0x1a16f5,_0x4b946f;}function H(_0x118ed1,_0x3c6846){return function(_0x516c0d,_0x4a2b5b){_0x3c6846(_0x516c0d,_0x4a2b5b,_0x118ed1);};}function U(_0x2fba64,_0x19354c,_0x2f5b65,_0x19cf80){const _0x29de8a=_0x51e293;var _0xa3dcdf=arguments[_0x29de8a(0x24a)],_0x10056d=_0xa3dcdf<0x3?_0x19354c:_0x19cf80===null?_0x19cf80=Object[_0x29de8a(0x213)](_0x19354c,_0x2f5b65):_0x19cf80,_0x2a12b3;if(typeof Reflect==_0x29de8a(0x207)&&typeof Reflect[_0x29de8a(0x1b7)]==_0x29de8a(0x199))_0x10056d=Reflect['decorate'](_0x2fba64,_0x19354c,_0x2f5b65,_0x19cf80);else{for(var _0x4e15b0=_0x2fba64[_0x29de8a(0x24a)]-0x1;_0x4e15b0>=0x0;_0x4e15b0--)(_0x2a12b3=_0x2fba64[_0x4e15b0])&&(_0x10056d=(_0xa3dcdf<0x3?_0x2a12b3(_0x10056d):_0xa3dcdf>0x3?_0x2a12b3(_0x19354c,_0x2f5b65,_0x10056d):_0x2a12b3(_0x19354c,_0x2f5b65))||_0x10056d);}return _0xa3dcdf>0x3&&_0x10056d&&Object[_0x29de8a(0x1b0)](_0x19354c,_0x2f5b65,_0x10056d),_0x10056d;}const ot=_0x51e293(0x1fd),W=_0x51e293(0x1f7);let G=class extends _0x3b0571{constructor(_0x45f528,_0xfb5a62,_0x272db7,_0x3b1b42,_0x1dd029,_0x493fe2,_0x4f644c,_0x29e955,_0x2b51fe,_0x2ca503){const _0x1fc9b0=_0x51e293;super(),this[_0x1fc9b0(0x1c3)]=_0x45f528,this[_0x1fc9b0(0x23b)]=_0xfb5a62,this[_0x1fc9b0(0x1e6)]=_0x272db7,this[_0x1fc9b0(0x19c)]=_0x3b1b42,this['_messageService']=_0x1dd029,this[_0x1fc9b0(0x1ec)]=_0x493fe2,this['_selectionProtectionRuleModel']=_0x4f644c,this[_0x1fc9b0(0x237)]=_0x29e955,this[_0x1fc9b0(0x245)]=_0x2b51fe,this[_0x1fc9b0(0x241)]=_0x2ca503,V(this,_0x1fc9b0(0x1ea),new _0x283d48(null)),V(this,_0x1fc9b0(0x1f6),this[_0x1fc9b0(0x1ea)][_0x1fc9b0(0x249)]()),V(this,_0x1fc9b0(0x1cd),new _0x23e6ea()),V(this,_0x1fc9b0(0x238),new Map()),V(this,'_internalWebWorker',null),this['_init']();}get[_0x51e293(0x1bb)](){const _0x14d08b=_0x51e293;return this[_0x14d08b(0x1ea)][_0x14d08b(0x205)];}[_0x51e293(0x1a1)](){const _0x1bffe2=_0x51e293;this[_0x1bffe2(0x215)](),this['_initPlugins']();}[_0x51e293(0x215)](){const _0x413111=_0x51e293;var _0x4f85ee;let _0x10c7bd=(_0x4f85ee=this['_configService'][_0x413111(0x216)]('UNIVER_CONTAINER_ID'))==null?'univer-container':_0x4f85ee,_0x4f8fc5=document[_0x413111(0x1f0)](_0x10c7bd);if(!_0x4f8fc5)return;let _0x5ee83c=document[_0x413111(0x22a)](_0x413111(0x22e));_0x5ee83c['id']=W,_0x5ee83c['dataset']['uComp']='history-container',_0x5ee83c[_0x413111(0x1bd)][_0x413111(0x22f)]=_0x413111(0x236),_0x5ee83c['style'][_0x413111(0x1e2)]='0',_0x5ee83c[_0x413111(0x1bd)][_0x413111(0x198)]='0',_0x5ee83c['style']['width']='100%',_0x5ee83c['style'][_0x413111(0x204)]=_0x413111(0x20d),_0x5ee83c['style']['zIndex']='49',_0x5ee83c['style'][_0x413111(0x23e)]=_0x413111(0x1e3),_0x4f8fc5['appendChild'](_0x5ee83c);}[_0x51e293(0x1eb)](){const _0x5efd49=_0x51e293;[[_0x40427b],[_0x25d838,{'container':W,'header':!0x0,'toolbar':!0x1,'footer':!0x0,'contextMenu':!0x1,'override':[[_0xda4de0,null]]}],[_0x445778],[_0x54de5f,{'override':[[_0x314976,null]]}],[_0x12e6d3,{'hasScroll':!0x1}],[_0x199e75],[_0x1624c6],[_0x34cadc,{'notExecuteFormula':!0x0}],[_0x38e3e8],[_0x495bcc],[_0x35d9da],[_0x3d3cf1],[_0x95b45b],[_0x409ef9],[_0x4c9a8c],[_0xbba9c3],[_0x1b6dec],[_0x1b4647],[_0x57de3c],[_0xd8a32a],[_0x36291a],[_0x57849e,{'notExecuteFormula':!0x0}],[_0x322e9c],[_0x1d65be],[_0xf9efb3],[_0x6953f],[_0x23a31e],[_0x37ecb5],[_0x48bd23],[_0x173546],[_0x42f70d],[_0x41f344,{'notExecuteFormula':!0x0}],[_0x374c90]]['forEach'](([_0x57cf42,_0xcfda94])=>this[_0x5efd49(0x1b2)](_0x57cf42,_0xcfda94));}[_0x51e293(0x24b)](){const _0x130813=_0x51e293;super[_0x130813(0x24b)](),this[_0x130813(0x1aa)](),this[_0x130813(0x238)]['clear']();}[_0x51e293(0x1b2)](_0x4807cd,_0x17b70f,_0x3f2b64){const _0x334ab6=_0x51e293;if(this[_0x334ab6(0x238)][_0x334ab6(0x227)](_0x4807cd[_0x334ab6(0x21e)])&&!_0x3f2b64)throw Error(_0x334ab6(0x1cc)+_0x4807cd['pluginName']+_0x334ab6(0x21b));this[_0x334ab6(0x238)][_0x334ab6(0x235)](_0x4807cd[_0x334ab6(0x21e)],[_0x4807cd,_0x17b70f]);}['getAllPlugins'](){const _0x56dde0=_0x51e293;return Array[_0x56dde0(0x1f5)](this[_0x56dde0(0x238)][_0x56dde0(0x1d1)]());}[_0x51e293(0x194)](_0x2eef02,_0x5d29fa){const _0x22d675=_0x51e293;let _0x456b27=document[_0x22d675(0x1f0)](W);_0x456b27&&(_0x456b27[_0x22d675(0x1bd)][_0x22d675(0x23e)]=_0x22d675(0x229),this[_0x22d675(0x1f4)](_0x2eef02,W,_0x5d29fa));}['unMountHistoryContent'](){const _0x532f7d=_0x51e293;var _0xd405a0;this[_0x532f7d(0x1cd)][_0x532f7d(0x24b)](),(_0xd405a0=this[_0x532f7d(0x1bb)])==null||_0xd405a0[_0x532f7d(0x24b)](),this[_0x532f7d(0x1ea)][_0x532f7d(0x223)](null);let _0x531cb8=document[_0x532f7d(0x1f0)](W);_0x531cb8&&(_0x531cb8[_0x532f7d(0x1bd)]['display']=_0x532f7d(0x1e3),this[_0x532f7d(0x1c5)]&&(this[_0x532f7d(0x1c5)][_0x532f7d(0x1ad)](),this[_0x532f7d(0x1c5)]=null));}[_0x51e293(0x1f4)](_0x476c80,_0x1bdd99,_0x5de3e1){const _0x4b89f3=_0x51e293;var _0x45ab05,_0x200df8,_0x397774,_0x3a23a7,_0x458cc6;if(this['historyUniver'])return;let _0x32ad79=new _0x191548({'locales':{[this[_0x4b89f3(0x1c3)][_0x4b89f3(0x1ca)]()]:this['_localeService'][_0x4b89f3(0x197)]()},'override':[[_0x5d50e1,{'useClass':_0x4a545d}]]}),_0x588789=_0x32ad79[_0x4b89f3(0x20e)]();this[_0x4b89f3(0x1a8)](this[_0x4b89f3(0x241)][_0x4b89f3(0x1db)][_0x4b89f3(0x1c7)](_0x5cc2d6=>{_0x588789['get'](_0x49f88f)['setDarkMode'](_0x5cc2d6);})),this[_0x4b89f3(0x1a8)](this[_0x4b89f3(0x241)][_0x4b89f3(0x246)][_0x4b89f3(0x1c7)](_0x160bb1=>{const _0x123004=_0x4b89f3;_0x588789[_0x123004(0x1b8)](_0x49f88f)[_0x123004(0x243)](_0x160bb1);})),_0x588789[_0x4b89f3(0x1b8)](_0xd2d502)['setLocale'](this[_0x4b89f3(0x1c3)]['getCurrentLocale']()),_0x588789[_0x4b89f3(0x1b8)](_0x5d5514)[_0x4b89f3(0x1d2)](_0xc7bda7,this[_0x4b89f3(0x1e6)][_0x4b89f3(0x216)](_0xc7bda7));let _0x4f1fd3=this[_0x4b89f3(0x1e6)]['getConfig'](_0x4c6c98);_0x4f1fd3&&_0x32ad79[_0x4b89f3(0x1b2)](_0x58857c,{'license':_0x4f1fd3['ls']});let _0x4384d9=(_0x45ab05=this[_0x4b89f3(0x1e6)][_0x4b89f3(0x216)](_0x4b89f3(0x211)))==null?void 0x0:_0x45ab05[_0x4b89f3(0x1e8)],_0x1f4bf9=!!_0x4384d9;_0x1f4bf9&&(this[_0x4b89f3(0x1c5)]=_0x4384d9 instanceof Worker?_0x4384d9:null,_0x32ad79['registerPlugin'](_0xfa38ef,{'workerURL':_0x4384d9})),this['_pluginMap']['forEach'](([_0x17202b,_0x1b937])=>{_0x32ad79['registerPlugin'](_0x17202b,_0x1b937);}),_0x32ad79['registerPlugin'](_0x9430ed,{'historyListServerUrl':(_0x200df8=this[_0x4b89f3(0x1e6)][_0x4b89f3(0x216)](_0x4b89f3(0x211)))==null?void 0x0:_0x200df8[_0x4b89f3(0x1c0)],'historyPanelComponentKey':(_0x397774=this[_0x4b89f3(0x1e6)][_0x4b89f3(0x216)](_0x4b89f3(0x211)))==null?void 0x0:_0x397774[_0x4b89f3(0x1df)],'historyPanelHidden':(_0x3a23a7=this[_0x4b89f3(0x1e6)][_0x4b89f3(0x216)](_0x4b89f3(0x211)))==null?void 0x0:_0x3a23a7[_0x4b89f3(0x19a)],'historyAIassistantEnabled':(_0x458cc6=this[_0x4b89f3(0x1e6)]['getConfig']('edit-history-loader.config'))==null?void 0x0:_0x458cc6[_0x4b89f3(0x23c)]}),_0x588789['invoke'](_0x40a85c=>{const _0xa34f35=_0x4b89f3;this[_0xa34f35(0x1f3)](_0x40a85c,_0x476c80);}),this['_historyUniver$'][_0x4b89f3(0x223)](_0x32ad79);let _0x57ebaf=_0x588789[_0x4b89f3(0x1b8)](_0x406221),_0x33a3dd=this['_checkCanRevert'](_0x476c80),_0x3203c5=()=>{const _0x4dea54=_0x4b89f3;_0x5de3e1?_0x57ebaf[_0x4dea54(0x231)](_0x476c80,_0x1bdd99,_0x33a3dd,_0x5de3e1):_0x57ebaf[_0x4dea54(0x220)](_0x476c80,_0x1bdd99,_0x33a3dd);};if(this[_0x4b89f3(0x1a5)][_0x4b89f3(0x20a)]({'content':this['_localeService']['t'](_0x4b89f3(0x18b)),'type':_0x5c5d92[_0x4b89f3(0x189)]}),_0x1f4bf9)try{_0x588789[_0x4b89f3(0x1b8)](_0x1c96ac)['whenReady']()[_0x4b89f3(0x192)](()=>{_0x3203c5();});}catch{_0x3203c5();}else _0x3203c5();}[_0x51e293(0x1f3)](_0x1573a5,_0x1c7d35){const _0x483d9b=_0x51e293;let _0x3e2765=_0x1573a5[_0x483d9b(0x1b8)](_0x406221);this['_disposableCollection'][_0x483d9b(0x190)](_0x3e2765[_0x483d9b(0x20f)]['subscribe'](_0xa8f362=>{const _0x20acbd=_0x483d9b;switch(_0xa8f362){case _0x215d4c[_0x20acbd(0x1ef)]:this[_0x20acbd(0x237)][_0x20acbd(0x1cf)](),this['_sidebarService'][_0x20acbd(0x1c4)]();break;case _0x215d4c[_0x20acbd(0x242)]:this[_0x20acbd(0x19c)][_0x20acbd(0x1a7)](q['id']),this[_0x20acbd(0x1aa)]();break;case _0x215d4c[_0x20acbd(0x212)]:this[_0x20acbd(0x1aa)](),this['_messageService'][_0x20acbd(0x20a)]({'content':this['_localeService']['t'](_0x20acbd(0x200)),'type':_0x5c5d92[_0x20acbd(0x212)],'duration':0xbb8});break;default:break;}})),this[_0x483d9b(0x1cd)]['add'](_0x3e2765[_0x483d9b(0x1d0)][_0x483d9b(0x1c7)](async _0x5143f7=>{const _0xd07ed5=_0x483d9b;_0x5143f7&&this[_0xd07ed5(0x19c)]['executeCommand'](_0x403d50['id'],{'unitId':_0x1c7d35,'revision':_0x5143f7});}));}[_0x51e293(0x1b6)](_0x3293a7){const _0x23b0ec=_0x51e293;let _0x4d01c2=this[_0x23b0ec(0x23b)][_0x23b0ec(0x1e9)](_0x3293a7)[_0x23b0ec(0x208)]()[_0x23b0ec(0x1bf)](_0x242b0c=>_0x242b0c[_0x23b0ec(0x23f)]()),_0x447b7b=new _0x4fb099(_0x3293a7)['id'],_0x52bf24=_0x4d01c2[_0x23b0ec(0x1bf)](_0x333b2b=>new _0x26e9b1(_0x3293a7,_0x333b2b)['id']),_0x175a81=_0x4d01c2[_0x23b0ec(0x1bf)](_0x5dca33=>this[_0x23b0ec(0x1c6)][_0x23b0ec(0x1ac)](_0x3293a7,_0x5dca33)[_0x23b0ec(0x1bf)](_0x1a9ba6=>new _0x5e36b5(_0x3293a7,_0x5dca33,_0x1a9ba6[_0x23b0ec(0x218)])['id']))[_0x23b0ec(0x1b5)](),_0x483286=new _0xdaeacc(_0x3293a7)['id'];return this['_permissionService'][_0x23b0ec(0x193)]([_0x447b7b,..._0x52bf24,..._0x175a81,_0x483286])[_0x23b0ec(0x1ae)](_0x14c49d=>!!_0x14c49d[_0x23b0ec(0x205)]);}};G=U([H(0x0,_0x102fc7(_0xd2d502)),H(0x1,_0x1ce298),H(0x2,_0x5d5514),H(0x3,_0x5bcf60),H(0x4,_0x1da5eb),H(0x5,_0x596d58),H(0x6,_0x102fc7(_0x1c26fe)),H(0x7,_0x102fc7(_0xda4de0)),H(0x8,_0x102fc7(_0x385be2)),H(0x9,_0x102fc7(_0x49f88f))],G);const K={'id':_0x51e293(0x24c),'type':_0x3d5df8[_0x51e293(0x1e5)],'handler':_0x2b9aa4=>{const _0x2f9c6c=_0x51e293;let _0x4dddf2=_0x2b9aa4['get'](G),{unitId:_0x21ea78}=_0x37ec0e(_0x2b9aa4['get'](_0x1ce298))||{};return _0x21ea78?(_0x4dddf2[_0x2f9c6c(0x194)](_0x21ea78),!0x0):!0x1;}},q={'id':_0x51e293(0x225),'type':_0x3d5df8[_0x51e293(0x1e5)],'handler':()=>!0x0};var st=_0x51e293(0x1ce),ct=_0x51e293(0x240);function lt(_0x343bb1){const _0x4a5c91=_0x51e293;return{'id':K['id'],'type':_0xddd5cf[_0x4a5c91(0x219)],'icon':_0x4a5c91(0x19e),'tooltip':_0x4a5c91(0x1fe),'hidden$':_0x4ac16b(_0x343bb1,_0x234953['UNIVER_SHEET']),'disabled$':_0x3460c4(_0x343bb1,{'workbookTypes':[_0x562672],'worksheetTypes':[],'rangeTypes':[]})};}const ut={[_0x54ea7a[_0x51e293(0x1f9)]]:{[K['id']]:{'order':0.2,'menuItemFactory':lt}}};let J=class extends _0x45c40d{constructor(_0x31a13f,_0x23e9a5,_0x2813c1,_0x1c608c,_0xfd74a5,_0x4accdf,_0x387ca1,_0x4dad58,_0x19ba4d,_0x3bdc07,_0x5e8cdc){const _0xd4f7c3=_0x51e293;super(),this[_0xd4f7c3(0x19c)]=_0x31a13f,this[_0xd4f7c3(0x1af)]=_0x23e9a5,this[_0xd4f7c3(0x21c)]=_0x2813c1,this['_historyManagerService']=_0x1c608c,this[_0xd4f7c3(0x1c3)]=_0xfd74a5,this[_0xd4f7c3(0x1a5)]=_0x4accdf,this['_collaborationController']=_0x387ca1,this[_0xd4f7c3(0x1d8)]=_0x4dad58,this['_dataLoaderService']=_0x19ba4d,this['_univerInstanceService']=_0x3bdc07,this[_0xd4f7c3(0x1c8)]=_0x5e8cdc,V(this,'_revertErrorTimer',null),this[_0xd4f7c3(0x1a1)]();}['_init'](){const _0x2ef6b8=_0x51e293;[K,q][_0x2ef6b8(0x23a)](_0x4ac530=>this[_0x2ef6b8(0x1a8)](_0x315320(this[_0x2ef6b8(0x19c)][_0x2ef6b8(0x233)](_0x4ac530)))),this[_0x2ef6b8(0x1a8)](this['_componentManager'][_0x2ef6b8(0x1fb)](_0x2ef6b8(0x19e),_0x7d2673)),this[_0x2ef6b8(0x1af)][_0x2ef6b8(0x244)](ut),this[_0x2ef6b8(0x1a8)](this[_0x2ef6b8(0x19c)][_0x2ef6b8(0x1ba)](async(_0x520921,_0x53b76e)=>{const _0x5a5df3=_0x2ef6b8;if(_0x520921['id']===_0x403d50['id']){let {unitId:_0xde251f}=_0x520921[_0x5a5df3(0x206)];this[_0x5a5df3(0x1a5)][_0x5a5df3(0x20a)]({'content':this['_localeService']['t'](_0x5a5df3(0x21a)),'type':_0x5c5d92[_0x5a5df3(0x189)],'duration':0x1388});let _0x5a1b7a=this[_0x5a5df3(0x1d7)][_0x5a5df3(0x22b)](_0xde251f);_0x53b76e!=null&&_0x53b76e[_0x5a5df3(0x1e0)]?this[_0x5a5df3(0x18e)](_0x5a1b7a,async()=>(setTimeout(()=>window['location'][_0x5a5df3(0x22c)]()),!0x0),!0x0):this[_0x5a5df3(0x18e)](_0x5a1b7a,async()=>{const _0x2f2eed=_0x5a5df3;let _0x512c42=this[_0x2f2eed(0x23b)]['getCurrentUnitOfType'](_0x234953['UNIVER_SHEET']),_0x39a16a=_0x512c42==null?void 0x0:_0x512c42[_0x2f2eed(0x20c)]();if(!_0x39a16a)return!0x1;this[_0x2f2eed(0x23b)][_0x2f2eed(0x1de)](_0xde251f);let _0x3553cb=await this[_0x2f2eed(0x230)][_0x2f2eed(0x1a0)](_0xde251f,_0x234953[_0x2f2eed(0x1d3)]);return _0x3553cb&&_0x3553cb instanceof _0x1d912a?(await this[_0x2f2eed(0x1c9)](_0x3553cb,_0x39a16a[_0x2f2eed(0x23f)]()),!0x0):!0x1;});}}));}['_handleRevertAcknowledgement'](_0x139473,_0x2e26c9,_0x3ce769=!0x1){const _0x19eb60=_0x51e293;let _0x183e58=_0x220587([_0x139473[_0x19eb60(0x209)]['event$'],_0x139473[_0x19eb60(0x1a6)]])['subscribe'](async([_0xfa5b96,_0x5e1869])=>{const _0x5cf90c=_0x19eb60;if(_0xfa5b96[_0x5cf90c(0x1f2)]===_0x476f17[_0x5cf90c(0x1a3)]&&(_0x5e1869==null?void 0x0:_0x5e1869[_0x5cf90c(0x203)])===_0x5a1b63[_0x5cf90c(0x19b)]&&_0xfa5b96[_0x5cf90c(0x1fc)][_0x5cf90c(0x1ed)]['some'](_0x17e281=>_0x17e281['id']===_0x403d50['id'])&&await _0x2e26c9()){var _0x3e0720;this[_0x5cf90c(0x228)][_0x5cf90c(0x1aa)](),_0x183e58[_0x5cf90c(0x1dc)](),this[_0x5cf90c(0x1f1)]&&clearTimeout(this['_revertErrorTimer']),await((_0x3e0720=this['_localCacheService'])==null?void 0x0:_0x3e0720[_0x5cf90c(0x21d)]()),this[_0x5cf90c(0x1a5)][_0x5cf90c(0x23d)]();}});_0x3ce769&&(this[_0x19eb60(0x1f1)]=setTimeout(()=>{const _0x5b2122=_0x19eb60;_0x183e58['unsubscribe'](),this[_0x5b2122(0x1a5)]['show']({'content':this[_0x5b2122(0x1c3)]['t']('edit-history-loader.panel.revertFailed'),'type':_0x5c5d92[_0x5b2122(0x212)],'duration':0xbb8});},0x1388));}async[_0x51e293(0x1c9)](_0x55acdd,_0x4a2bf1){const _0x369c6e=_0x51e293;await this[_0x369c6e(0x214)](_0x55acdd,_0x4a2bf1),_0x55acdd[_0x369c6e(0x1e4)][_0x369c6e(0x1fa)](_0x951d67(this['dispose$']))[_0x369c6e(0x1c7)](_0x33f745=>{const _0x287f83=_0x369c6e;_0x33f745&&this[_0x287f83(0x18c)](_0x33f745);}),this[_0x369c6e(0x1c8)][_0x369c6e(0x19d)][_0x369c6e(0x1fa)](_0x951d67(this[_0x369c6e(0x21f)]))[_0x369c6e(0x1c7)](()=>this[_0x369c6e(0x214)](_0x55acdd,_0x4a2bf1));}['_updateURLWithCurrentState'](_0x1985ad,_0x4fe9cf=!0x1){const _0x347433=_0x51e293;let _0xa5103=this[_0x347433(0x1c8)][_0x347433(0x18f)](_0x347433(0x248));_0x1985ad['getSheetId']()!==_0xa5103&&this[_0x347433(0x1c8)][_0x347433(0x1dd)]('subunit',_0x1985ad[_0x347433(0x23f)](),_0x4fe9cf);}async[_0x51e293(0x214)](_0xab775f,_0x4f4222){const _0x2a1c91=_0x51e293;var _0x389686;if(!_0x4f4222||!_0xab775f[_0x2a1c91(0x1da)](_0x4f4222)){let _0x5850bf=_0xab775f[_0x2a1c91(0x1b4)]()[0x0],_0x41378c=_0xab775f[_0x2a1c91(0x1da)](_0x5850bf);if(!_0x41378c)return;this[_0x2a1c91(0x18c)](_0x41378c,!0x0),await this[_0x2a1c91(0x19c)][_0x2a1c91(0x1a7)](_0xa82b9c['id'],{'unitId':_0xab775f[_0x2a1c91(0x1d5)](),'subUnitId':_0x5850bf});return;}((_0x389686=_0xab775f[_0x2a1c91(0x20c)]())==null?void 0x0:_0x389686['getSheetId']())!==_0x4f4222&&await this['_commandService'][_0x2a1c91(0x1a7)](_0xa82b9c['id'],{'unitId':_0xab775f['getUnitId'](),'subUnitId':_0x4f4222});}};J=U([H(0x0,_0x5bcf60),H(0x1,_0x8be2a1),H(0x2,_0x102fc7(_0x5eed86)),H(0x3,_0x102fc7(G)),H(0x4,_0x102fc7(_0xd2d502)),H(0x5,_0x1da5eb),H(0x6,_0x102fc7(_0xb67735)),H(0x7,_0x27a81a),H(0x8,_0x102fc7(_0x18d51a)),H(0x9,_0x1ce298),H(0xa,_0x3196a6)],J);const Y=_0x51e293(0x191);let X=class extends _0x3b0571{constructor(_0x581f86,_0x130d83,_0x3cba7c,_0x310a4f,_0x5e31f7,_0x30004b,_0x5be3cc,_0x466e0f,_0x39100f,_0x2c835e){const _0x56ff89=_0x51e293;super(),this['_localeService']=_0x581f86,this['_univerInstanceService']=_0x130d83,this[_0x56ff89(0x1e6)]=_0x3cba7c,this['_commandService']=_0x310a4f,this['_messageService']=_0x5e31f7,this[_0x56ff89(0x1ec)]=_0x30004b,this[_0x56ff89(0x1c6)]=_0x5be3cc,this['_dialogService']=_0x466e0f,this['_sidebarService']=_0x39100f,this['_themeService']=_0x2c835e,V(this,'_historyUniver$',new _0x283d48(null)),V(this,_0x56ff89(0x1f6),this[_0x56ff89(0x1ea)][_0x56ff89(0x249)]()),V(this,_0x56ff89(0x1cd),new _0x23e6ea()),V(this,_0x56ff89(0x238),new Map()),V(this,_0x56ff89(0x1c5),null),this[_0x56ff89(0x1a1)]();}get[_0x51e293(0x1bb)](){const _0x18de0a=_0x51e293;return this[_0x18de0a(0x1ea)][_0x18de0a(0x205)];}['_init'](){const _0x196764=_0x51e293;this[_0x196764(0x215)](),this[_0x196764(0x1eb)]();}[_0x51e293(0x215)](){const _0x47d875=_0x51e293;var _0x2026f9;let _0x5ac137=(_0x2026f9=this['_configService'][_0x47d875(0x216)]('UNIVER_CONTAINER_ID'))==null?_0x47d875(0x18a):_0x2026f9,_0x8ed844=document['getElementById'](_0x5ac137);if(!_0x8ed844)return;let _0x372ce1=document[_0x47d875(0x22a)](_0x47d875(0x22e));_0x372ce1['id']=Y,_0x372ce1[_0x47d875(0x195)][_0x47d875(0x226)]=_0x47d875(0x196),_0x372ce1[_0x47d875(0x1bd)]['position']=_0x47d875(0x236),_0x372ce1['style'][_0x47d875(0x1e2)]='0',_0x372ce1[_0x47d875(0x1bd)][_0x47d875(0x198)]='0',_0x372ce1[_0x47d875(0x1bd)][_0x47d875(0x247)]='100%',_0x372ce1[_0x47d875(0x1bd)][_0x47d875(0x204)]=_0x47d875(0x20d),_0x372ce1[_0x47d875(0x1bd)][_0x47d875(0x24e)]='49',_0x372ce1[_0x47d875(0x1bd)][_0x47d875(0x23e)]=_0x47d875(0x1e3),_0x8ed844['appendChild'](_0x372ce1);}[_0x51e293(0x1eb)](){const _0xaac8de=_0x51e293;[[_0x40427b],[_0x22911a,{'container':Y,'header':!0x0,'toolbar':!0x1,'footer':!0x0,'contextMenu':!0x1,'override':[[_0xda4de0,null]]}],[_0x445778],[_0x54de5f,{'override':[[_0x314976,null]]}],[_0x12e6d3,{'hasScroll':!0x1}],[_0x199e75],[_0x1624c6],[_0x34cadc,{'notExecuteFormula':!0x0}],[_0x2740d8],[_0x495bcc],[_0x35d9da],[_0x3d3cf1],[_0x95b45b],[_0x4c9a8c],[_0x1b6dec],[_0x1b4647],[_0x57de3c],[_0xd8a32a],[_0x1fe344],[_0x57849e,{'notExecuteFormula':!0x0}],[_0x322e9c],[_0x1d65be],[_0xf9efb3],[_0x6953f],[_0x23a31e],[_0x37ecb5],[_0x48bd23],[_0x173546],[_0x42f70d],[_0x41f344,{'notExecuteFormula':!0x0}],[_0x374c90]]['forEach'](([_0x5ca6dd,_0x2c58cd])=>this[_0xaac8de(0x1b2)](_0x5ca6dd,_0x2c58cd));}[_0x51e293(0x24b)](){const _0x250223=_0x51e293;super['dispose'](),this[_0x250223(0x1aa)](),this[_0x250223(0x238)]['clear']();}[_0x51e293(0x1b2)](_0x489b0f,_0x23b5e1,_0x1376a5){const _0x43687d=_0x51e293;if(this[_0x43687d(0x238)][_0x43687d(0x227)](_0x489b0f[_0x43687d(0x21e)])&&!_0x1376a5)throw Error(_0x43687d(0x19f)+_0x489b0f[_0x43687d(0x21e)]+_0x43687d(0x21b));this[_0x43687d(0x238)]['set'](_0x489b0f[_0x43687d(0x21e)],[_0x489b0f,_0x23b5e1]);}[_0x51e293(0x202)](){const _0x1ff9d0=_0x51e293;return Array[_0x1ff9d0(0x1f5)](this[_0x1ff9d0(0x238)][_0x1ff9d0(0x1d1)]());}[_0x51e293(0x194)](_0x430633,_0x515944){const _0x3b8c45=_0x51e293;let _0x13b449=document[_0x3b8c45(0x1f0)](Y);_0x13b449&&(_0x13b449[_0x3b8c45(0x1bd)][_0x3b8c45(0x23e)]=_0x3b8c45(0x229),this[_0x3b8c45(0x1f4)](_0x430633,Y,_0x515944));}[_0x51e293(0x1aa)](){const _0x440af7=_0x51e293;var _0x4f820f;this[_0x440af7(0x1cd)][_0x440af7(0x24b)](),(_0x4f820f=this[_0x440af7(0x1bb)])==null||_0x4f820f['dispose'](),this[_0x440af7(0x1ea)][_0x440af7(0x223)](null);let _0x26bca7=document[_0x440af7(0x1f0)](Y);_0x26bca7&&(_0x26bca7[_0x440af7(0x1bd)][_0x440af7(0x23e)]=_0x440af7(0x1e3),this[_0x440af7(0x1c5)]&&(this['_internalWebWorker']['terminate'](),this[_0x440af7(0x1c5)]=null));}[_0x51e293(0x1f4)](_0x8160b0,_0x11259b,_0x3c7c9b){const _0x485077=_0x51e293;var _0x3ac191,_0xe9b884,_0x5edfb6,_0x9edd47;if(this[_0x485077(0x1bb)])return;let _0x309616=new _0x191548({'locales':{[this['_localeService'][_0x485077(0x1ca)]()]:this[_0x485077(0x1c3)][_0x485077(0x197)]()},'override':[[_0x5d50e1,{'useClass':_0x4a545d}]]}),_0xe882ce=_0x309616[_0x485077(0x20e)]();this['disposeWithMe'](this[_0x485077(0x241)][_0x485077(0x1db)][_0x485077(0x1c7)](_0x5359d8=>{const _0x1833b0=_0x485077;_0xe882ce[_0x1833b0(0x1b8)](_0x49f88f)[_0x1833b0(0x1ee)](_0x5359d8);})),this[_0x485077(0x1a8)](this[_0x485077(0x241)][_0x485077(0x246)][_0x485077(0x1c7)](_0x353e84=>{const _0x44afb4=_0x485077;_0xe882ce[_0x44afb4(0x1b8)](_0x49f88f)[_0x44afb4(0x243)](_0x353e84);})),_0xe882ce[_0x485077(0x1b8)](_0xd2d502)['setLocale'](this[_0x485077(0x1c3)][_0x485077(0x1ca)]()),_0xe882ce['get'](_0x5d5514)[_0x485077(0x1d2)](_0xc7bda7,this['_configService']['getConfig'](_0xc7bda7));let _0x211c4f=this[_0x485077(0x1e6)][_0x485077(0x216)](_0x4c6c98);_0x211c4f&&_0x309616[_0x485077(0x1b2)](_0x58857c,{'license':_0x211c4f['ls']});let _0x4fec3c=(_0x3ac191=this[_0x485077(0x1e6)][_0x485077(0x216)](_0x485077(0x211)))==null?void 0x0:_0x3ac191[_0x485077(0x1e8)],_0x295331=!!_0x4fec3c;_0x295331&&(this['_internalWebWorker']=_0x4fec3c instanceof Worker?_0x4fec3c:null,_0x309616[_0x485077(0x1b2)](_0xfa38ef,{'workerURL':_0x4fec3c})),this[_0x485077(0x238)][_0x485077(0x23a)](([_0x31244c,_0x362fa6])=>{_0x309616['registerPlugin'](_0x31244c,_0x362fa6);}),_0x309616[_0x485077(0x1b2)](_0x8b0ffc,{'historyListServerUrl':(_0xe9b884=this[_0x485077(0x1e6)][_0x485077(0x216)](_0x485077(0x211)))==null?void 0x0:_0xe9b884[_0x485077(0x1c0)],'historyPanelComponentKey':(_0x5edfb6=this['_configService'][_0x485077(0x216)](_0x485077(0x211)))==null?void 0x0:_0x5edfb6[_0x485077(0x1df)],'historyPanelHidden':(_0x9edd47=this[_0x485077(0x1e6)][_0x485077(0x216)]('edit-history-loader.config'))==null?void 0x0:_0x9edd47[_0x485077(0x19a)]}),_0xe882ce[_0x485077(0x18d)](_0xce40c8=>{const _0x39528c=_0x485077;this[_0x39528c(0x1f3)](_0xce40c8,_0x8160b0);}),this[_0x485077(0x1ea)][_0x485077(0x223)](_0x309616);let _0x428d52=_0xe882ce['get'](_0x406221),_0x41f050=this[_0x485077(0x1b6)](_0x8160b0),_0x2c49e7=()=>{const _0x5d9c0c=_0x485077;_0x3c7c9b?_0x428d52['triggerCustomVersions'](_0x8160b0,_0x11259b,_0x41f050,_0x3c7c9b):_0x428d52[_0x5d9c0c(0x220)](_0x8160b0,_0x11259b,_0x41f050);};if(this['_messageService']['show']({'content':this['_localeService']['t'](_0x485077(0x18b)),'type':_0x5c5d92[_0x485077(0x189)]}),_0x295331)try{_0xe882ce[_0x485077(0x1b8)](_0x1c96ac)[_0x485077(0x1d6)]()[_0x485077(0x192)](()=>{_0x2c49e7();});}catch{_0x2c49e7();}else _0x2c49e7();}[_0x51e293(0x1f3)](_0x3dc54a,_0x1efe56){const _0x3e4f67=_0x51e293;let _0x257b12=_0x3dc54a[_0x3e4f67(0x1b8)](_0x406221);this[_0x3e4f67(0x1cd)][_0x3e4f67(0x190)](_0x257b12[_0x3e4f67(0x20f)][_0x3e4f67(0x1c7)](_0x1e67e1=>{const _0x1c9ab3=_0x3e4f67;switch(_0x1e67e1){case _0x215d4c['Entered']:this[_0x1c9ab3(0x237)]['closeAll'](),this[_0x1c9ab3(0x245)]['close']();break;case _0x215d4c[_0x1c9ab3(0x242)]:this[_0x1c9ab3(0x19c)][_0x1c9ab3(0x1a7)](q['id']),this[_0x1c9ab3(0x1aa)]();break;case _0x215d4c['Error']:this[_0x1c9ab3(0x1aa)](),this[_0x1c9ab3(0x1a5)][_0x1c9ab3(0x20a)]({'content':this[_0x1c9ab3(0x1c3)]['t'](_0x1c9ab3(0x200)),'type':_0x5c5d92[_0x1c9ab3(0x212)],'duration':0xbb8});break;default:break;}})),this['_disposableCollection']['add'](_0x257b12[_0x3e4f67(0x1d0)][_0x3e4f67(0x1c7)](async _0x10ce88=>{_0x10ce88&&this['_commandService']['executeCommand'](_0x403d50['id'],{'unitId':_0x1efe56,'revision':_0x10ce88});}));}[_0x51e293(0x1b6)](_0x27ec33){const _0x617cc4=_0x51e293;let _0x212be6=this[_0x617cc4(0x23b)][_0x617cc4(0x1e9)](_0x27ec33)[_0x617cc4(0x208)]()[_0x617cc4(0x1bf)](_0x47b857=>_0x47b857[_0x617cc4(0x23f)]()),_0x1b3ee3=new _0x4fb099(_0x27ec33)['id'],_0x419f37=_0x212be6[_0x617cc4(0x1bf)](_0x49ee14=>new _0x26e9b1(_0x27ec33,_0x49ee14)['id']),_0x4e2bfa=_0x212be6[_0x617cc4(0x1bf)](_0x394bef=>this[_0x617cc4(0x1c6)][_0x617cc4(0x1ac)](_0x27ec33,_0x394bef)['map'](_0x509b67=>new _0x5e36b5(_0x27ec33,_0x394bef,_0x509b67[_0x617cc4(0x218)])['id']))['flat'](),_0x9841bb=new _0xdaeacc(_0x27ec33)['id'];return this['_permissionService'][_0x617cc4(0x193)]([_0x1b3ee3,..._0x419f37,..._0x4e2bfa,_0x9841bb])[_0x617cc4(0x1ae)](_0x78c900=>!!_0x78c900[_0x617cc4(0x205)]);}};X=U([H(0x0,_0x102fc7(_0xd2d502)),H(0x1,_0x1ce298),H(0x2,_0x5d5514),H(0x3,_0x5bcf60),H(0x4,_0x1da5eb),H(0x5,_0x596d58),H(0x6,_0x102fc7(_0x1c26fe)),H(0x7,_0x102fc7(_0xda4de0)),H(0x8,_0x102fc7(_0x385be2)),H(0x9,_0x102fc7(_0x49f88f))],X);let Z=class extends _0x37682d{constructor(_0x49ab06=z,_0x11c3a3,_0x5ba2af){const _0xc2ca00=_0x51e293;super(),this[_0xc2ca00(0x201)]=_0x49ab06,this[_0xc2ca00(0x1b1)]=_0x11c3a3,this[_0xc2ca00(0x1e6)]=_0x5ba2af;let {menu:_0x44791a,..._0x4d9ef3}=_0x3a3707({},z,this[_0xc2ca00(0x201)]);_0x44791a&&this[_0xc2ca00(0x1e6)]['setConfig'](_0xc2ca00(0x1be),_0x44791a,{'merge':!0x0}),this[_0xc2ca00(0x1e6)][_0xc2ca00(0x1d2)](R,_0x4d9ef3),this[_0xc2ca00(0x201)][_0xc2ca00(0x22d)]&&this[_0xc2ca00(0x1e6)][_0xc2ca00(0x1d2)]('UNIVER_CONTAINER_ID',this[_0xc2ca00(0x201)]['univerContainerId']);}[_0x51e293(0x1d4)](){const _0x5b1456=_0x51e293;[[G,{'useClass':X}],[J]][_0x5b1456(0x23a)](_0x2ae230=>this['_injector'][_0x5b1456(0x190)](_0x2ae230));}[_0x51e293(0x222)](){const _0x3d2ff9=_0x51e293;this['_injector'][_0x3d2ff9(0x1b8)](J);}};V(Z,_0x51e293(0x239),_0x234953[_0x51e293(0x1b9)]),V(Z,'pluginName',_0x51e293(0x217)),V(Z,_0x51e293(0x210),st),V(Z,'version',ct),Z=U([_0x51581f(_0x58857c),H(0x1,_0x102fc7(_0x5ee0e3)),H(0x2,_0x5d5514)],Z);function _0x2a39(){const _0x5b1f4d=['executeCommand','disposeWithMe','76hXfbxt','unMountHistoryContent','14116KUEzkA','getSubunitRuleList','terminate','every','_menuManagerService','defineProperty','_injector','registerPlugin','11nzNFRd','getUnhiddenWorksheets','flat','_checkCanRevert','decorate','get','UNIVER_UNKNOWN','onCommandExecuted','historyUniver','392934FmAqtw','style','menu','map','historyListServerUrl','location','18rSkbit','_localeService','close','_internalWebWorker','_selectionProtectionRuleModel','subscribe','_urlService','_setupSubUnitSync','getCurrentLocale','default','[HistoryLoaderService]:\x20Plugin\x20','_disposableCollection','@univerjs-pro/edit-history-loader','closeAll','revertRevision$','values','setConfig','UNIVER_SHEET','onStarting','getUnitId','whenReady','_collaborationController','_localCacheService','941066wLovrE','getSheetBySheetId','darkMode$','unsubscribe','setParam','disposeUnit','historyPanelComponentKey','fromCollab','toPrimitive','top','none','activeSheet$','OPERATION','_configService','getCurrentUnitOfType','workerURL','getUnit','_historyUniver$','_initPlugins','_permissionService','mutations','setDarkMode','Entered','getElementById','_revertErrorTimer','eventID','_initListener','_initUniver','from','historyUniver$','univer-history-container','symbol','OTHERS','pipe','register','data','UNIVER_CONTAINER_ID','edit-history-loader.panel.title','54685zmyedB','edit-history-loader.panel.listFetchError','_config','getAllPlugins','status','height','value','params','object','getSheets','session','show','946208TfLiYo','getActiveSheet','100%','__getInjector','status$','packageName','edit-history-loader.config','Error','getOwnPropertyDescriptor','_updateSubUnitFromURLParams','_initContainer','getConfig','UNIVER_EDIT_HISTORY_LOADER_MOBILE_PLUGIN','permissionId','BUTTON','edit-history-loader.panel.reverting','\x20has\x20been\x20registered.','_componentManager','exhaustSavingTask','pluginName','dispose$','triggerLoadVersions','530780sRwhIw','onSteady','next','1161804FnfkWw','univer.operation.exit-edit-history','uComp','has','_historyManagerService','block','createElement','getCollabEntity','reload','univerContainerId','div','position','_dataLoaderService','triggerCustomVersions','string','registerCommand','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','set','absolute','_dialogService','_pluginMap','type','forEach','_univerInstanceService','historyAIassistantEnabled','removeAll','display','getSheetId','0.25.1','_themeService','Exited','setTheme','mergeMenu','_sidebarService','currentTheme$','width','subunit','asObservable','length','dispose','univer.operation.toggle-edit-history','11dVSARt','zIndex','Loading','univer-container','edit-history-loader.info.initializing','_updateURLWithCurrentState','invoke','_handleRevertAcknowledgement','getParam','add','univer-history-container-mobile','then','composePermission','mountHistoryContent','dataset','history-container','getLocales','left','function','historyPanelHidden','SYNCED','_commandService','urlChange$','HistoryIcon','[MobileHistoryLoaderService]:\x20Plugin\x20','loadUnit','_init','edit-history-loader.panel.revertFailed','CHANGESET_ACK','event$','_messageService','state$'];_0x2a39=function(){return _0x5b1f4d;};return _0x2a39();}let Q=class extends _0x45c40d{constructor(_0x3f9fa4,_0x12733f,_0x496bb4,_0x5d02f0,_0x1fa677,_0x5a1dcb,_0x92102b,_0x5ef584,_0x4e6971,_0x4bb8d4,_0x24fc7c){const _0x47ec52=_0x51e293;super(),this[_0x47ec52(0x19c)]=_0x3f9fa4,this[_0x47ec52(0x1af)]=_0x12733f,this[_0x47ec52(0x21c)]=_0x496bb4,this[_0x47ec52(0x228)]=_0x5d02f0,this[_0x47ec52(0x1c3)]=_0x1fa677,this[_0x47ec52(0x1a5)]=_0x5a1dcb,this[_0x47ec52(0x1d7)]=_0x92102b,this[_0x47ec52(0x1d8)]=_0x5ef584,this[_0x47ec52(0x230)]=_0x4e6971,this[_0x47ec52(0x23b)]=_0x4bb8d4,this[_0x47ec52(0x1c8)]=_0x24fc7c,V(this,_0x47ec52(0x1f1),null),this[_0x47ec52(0x1a1)]();}[_0x51e293(0x1a1)](){const _0x3a073c=_0x51e293;[K,q]['forEach'](_0x24f86e=>this[_0x3a073c(0x1a8)](_0x315320(this['_commandService']['registerCommand'](_0x24f86e)))),this[_0x3a073c(0x1a8)](this[_0x3a073c(0x21c)][_0x3a073c(0x1fb)]('HistoryIcon',_0x7d2673)),this['_menuManagerService'][_0x3a073c(0x244)](ut),this['disposeWithMe'](this[_0x3a073c(0x19c)][_0x3a073c(0x1ba)](async(_0x5e3067,_0x44059f)=>{const _0x22cd30=_0x3a073c;if(_0x5e3067['id']===_0x403d50['id']){let {unitId:_0x157f49}=_0x5e3067['params'];this[_0x22cd30(0x1a5)][_0x22cd30(0x20a)]({'content':this[_0x22cd30(0x1c3)]['t']('edit-history-loader.panel.reverting'),'type':_0x5c5d92[_0x22cd30(0x189)],'duration':0x1388});let _0x241cb6=this['_collaborationController']['getCollabEntity'](_0x157f49);_0x44059f!=null&&_0x44059f[_0x22cd30(0x1e0)]?this[_0x22cd30(0x18e)](_0x241cb6,async()=>(setTimeout(()=>window[_0x22cd30(0x1c1)][_0x22cd30(0x22c)]()),!0x0),!0x0):this[_0x22cd30(0x18e)](_0x241cb6,async()=>{const _0x46c5ac=_0x22cd30;let _0x2ee8fd=this[_0x46c5ac(0x23b)][_0x46c5ac(0x1e7)](_0x234953[_0x46c5ac(0x1d3)]),_0x512ece=_0x2ee8fd==null?void 0x0:_0x2ee8fd[_0x46c5ac(0x20c)]();if(!_0x512ece)return!0x1;this[_0x46c5ac(0x23b)][_0x46c5ac(0x1de)](_0x157f49);let _0x247978=await this['_dataLoaderService'][_0x46c5ac(0x1a0)](_0x157f49,_0x234953[_0x46c5ac(0x1d3)]);return _0x247978&&_0x247978 instanceof _0x1d912a?(await this['_setupSubUnitSync'](_0x247978,_0x512ece[_0x46c5ac(0x23f)]()),!0x0):!0x1;});}}));}['_handleRevertAcknowledgement'](_0x18e9ee,_0x125cc8,_0xddf9e2=!0x1){const _0xb02e01=_0x51e293;let _0x290f1b=_0x220587([_0x18e9ee['session'][_0xb02e01(0x1a4)],_0x18e9ee[_0xb02e01(0x1a6)]])[_0xb02e01(0x1c7)](async([_0x43f2f5,_0x1ce503])=>{const _0x3f878a=_0xb02e01;if(_0x43f2f5['eventID']===_0x476f17[_0x3f878a(0x1a3)]&&(_0x1ce503==null?void 0x0:_0x1ce503[_0x3f878a(0x203)])===_0x5a1b63[_0x3f878a(0x19b)]&&_0x43f2f5[_0x3f878a(0x1fc)][_0x3f878a(0x1ed)]['some'](_0x1ae61d=>_0x1ae61d['id']===_0x403d50['id'])&&await _0x125cc8()){var _0x12698f;this[_0x3f878a(0x228)][_0x3f878a(0x1aa)](),_0x290f1b[_0x3f878a(0x1dc)](),this[_0x3f878a(0x1f1)]&&clearTimeout(this['_revertErrorTimer']),await((_0x12698f=this[_0x3f878a(0x1d8)])==null?void 0x0:_0x12698f[_0x3f878a(0x21d)]());}});_0xddf9e2&&(this[_0xb02e01(0x1f1)]=setTimeout(()=>{const _0x12354e=_0xb02e01;_0x290f1b['unsubscribe'](),this[_0x12354e(0x1a5)][_0x12354e(0x20a)]({'content':this['_localeService']['t'](_0x12354e(0x1a2)),'type':_0x5c5d92['Error'],'duration':0xbb8});},0x1388));}async[_0x51e293(0x1c9)](_0x2862aa,_0x2a54bd){const _0xdcf111=_0x51e293;await this[_0xdcf111(0x214)](_0x2862aa,_0x2a54bd),_0x2862aa[_0xdcf111(0x1e4)][_0xdcf111(0x1fa)](_0x951d67(this[_0xdcf111(0x21f)]))[_0xdcf111(0x1c7)](_0x27780a=>{const _0x11bd2e=_0xdcf111;_0x27780a&&this[_0x11bd2e(0x18c)](_0x27780a);}),this['_urlService'][_0xdcf111(0x19d)][_0xdcf111(0x1fa)](_0x951d67(this[_0xdcf111(0x21f)]))[_0xdcf111(0x1c7)](()=>this[_0xdcf111(0x214)](_0x2862aa,_0x2a54bd));}['_updateURLWithCurrentState'](_0x30de7e,_0x545cce=!0x1){const _0x45cfa9=_0x51e293;let _0x52fc1d=this[_0x45cfa9(0x1c8)][_0x45cfa9(0x18f)](_0x45cfa9(0x248));_0x30de7e[_0x45cfa9(0x23f)]()!==_0x52fc1d&&this[_0x45cfa9(0x1c8)][_0x45cfa9(0x1dd)](_0x45cfa9(0x248),_0x30de7e[_0x45cfa9(0x23f)](),_0x545cce);}async[_0x51e293(0x214)](_0x2248eb,_0x347c21){const _0x136e2f=_0x51e293;var _0x3b1ed0;if(!_0x347c21||!_0x2248eb[_0x136e2f(0x1da)](_0x347c21)){let _0x13f39e=_0x2248eb['getUnhiddenWorksheets']()[0x0],_0x42a941=_0x2248eb[_0x136e2f(0x1da)](_0x13f39e);if(!_0x42a941)return;this[_0x136e2f(0x18c)](_0x42a941,!0x0),await this[_0x136e2f(0x19c)][_0x136e2f(0x1a7)](_0xa82b9c['id'],{'unitId':_0x2248eb[_0x136e2f(0x1d5)](),'subUnitId':_0x13f39e});return;}((_0x3b1ed0=_0x2248eb['getActiveSheet']())==null?void 0x0:_0x3b1ed0[_0x136e2f(0x23f)]())!==_0x347c21&&await this[_0x136e2f(0x19c)]['executeCommand'](_0xa82b9c['id'],{'unitId':_0x2248eb[_0x136e2f(0x1d5)](),'subUnitId':_0x347c21});}};Q=U([H(0x0,_0x5bcf60),H(0x1,_0x8be2a1),H(0x2,_0x102fc7(_0x5eed86)),H(0x3,_0x102fc7(G)),H(0x4,_0x102fc7(_0xd2d502)),H(0x5,_0x1da5eb),H(0x6,_0x102fc7(_0xb67735)),H(0x7,_0x27a81a),H(0x8,_0x102fc7(_0x18d51a)),H(0x9,_0x1ce298),H(0xa,_0x3196a6)],Q);let $=class extends _0x37682d{constructor(_0xf99aa8=z,_0x45b8b1,_0x19e270){const _0x3d6e3f=_0x51e293;super(),this['_config']=_0xf99aa8,this[_0x3d6e3f(0x1b1)]=_0x45b8b1,this[_0x3d6e3f(0x1e6)]=_0x19e270;let {menu:_0xcbfc30,..._0x4f4ba7}=_0x3a3707({},z,this[_0x3d6e3f(0x201)]);_0xcbfc30&&this[_0x3d6e3f(0x1e6)][_0x3d6e3f(0x1d2)](_0x3d6e3f(0x1be),_0xcbfc30,{'merge':!0x0}),this['_configService']['setConfig'](R,_0x4f4ba7),this[_0x3d6e3f(0x201)][_0x3d6e3f(0x22d)]&&this[_0x3d6e3f(0x1e6)][_0x3d6e3f(0x1d2)](ot,this[_0x3d6e3f(0x201)][_0x3d6e3f(0x22d)]);}[_0x51e293(0x1d4)](){const _0x1e2843=_0x51e293;[[G],[Q]]['forEach'](_0x27da47=>this[_0x1e2843(0x1b1)][_0x1e2843(0x190)](_0x27da47));}[_0x51e293(0x222)](){const _0x3df482=_0x51e293;this[_0x3df482(0x1b1)][_0x3df482(0x1b8)](Q);}};V($,'type',_0x234953[_0x51e293(0x1b9)]),V($,_0x51e293(0x21e),'UNIVER_EDIT_HISTORY_LOADER_PLUGIN'),V($,_0x51e293(0x210),st),V($,'version',ct),$=U([_0x51581f(_0x58857c),H(0x1,_0x102fc7(_0x5ee0e3)),H(0x2,_0x5d5514)],$);export{R as EDIT_HISTORY_LOADER_PLUGIN_CONFIG_KEY,G as HistoryLoaderService,X as MobileHistoryLoaderService,K as ToggleEditHistoryOperation,ot as UNIVER_CONTAINER_ID_KEY,W as UNIVER_HISTORY_CONTAINER_ID,Z as UniverEditHistoryLoaderMobilePlugin,$ as UniverEditHistoryLoaderPlugin};
|
package/lib/locale/ar-SA.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function _0x5e04(_0x289f40,_0x1b1064){_0x289f40=_0x289f40-0xa9;const _0x506275=_0x5062();let _0x5e04ee=_0x506275[_0x289f40];return _0x5e04ee;}const _0x12db19=_0x5e04;(function(_0xe3f9c5,_0x5ff4ed){const _0x340c98=_0x5e04,_0x2e9c0a=_0xe3f9c5();while(!![]){try{const _0xd3c2b3=parseInt(_0x340c98(0xb3))/0x1+parseInt(_0x340c98(0xaa))/0x2+parseInt(_0x340c98(0xb1))/0x3*(-parseInt(_0x340c98(0xad))/0x4)+parseInt(_0x340c98(0xb2))/0x5*(-parseInt(_0x340c98(0xae))/0x6)+-parseInt(_0x340c98(0xab))/0x7+-parseInt(_0x340c98(0xaf))/0x8+parseInt(_0x340c98(0xb5))/0x9*(parseInt(_0x340c98(0xb0))/0xa);if(_0xd3c2b3===_0x5ff4ed)break;else _0x2e9c0a['push'](_0x2e9c0a['shift']());}catch(_0xf226c){_0x2e9c0a['push'](_0x2e9c0a['shift']());}}}(_0x5062,0xd398d));function _0x5062(){const _0x554879=['9071370rLpvwF','جارٍ\x20الاستعادة،\x20يرجى\x20الانتظار...','394824FEFOuK','32322yLtcey','6142976VCxjFe','15380NMBvux','3IftnAJ','565XgrDWg','1421664rUZlIv','فشل\x20في\x20الحصول\x20على\x20قائمة\x20سجل\x20التحرير','3852WDgCsH','سجل\x20التحرير','جارٍ\x20التهيئة،\x20يرجى\x20الانتظار...','3115984rURmRR'];_0x5062=function(){return _0x554879;};return _0x5062();}const e={'edit-history-loader':{'panel':{'title':_0x12db19(0xb6),'reverting':_0x12db19(0xac),'revertFailed':'خطأ\x20غير\x20معروف،\x20يرجى\x20تحديث\x20الصفحة\x20لعرض\x20نتيجة\x20الاستعادة','listFetchError':_0x12db19(0xb4)},'info':{'initializing':_0x12db19(0xa9)}}};export{e as default};
|
package/lib/locale/ca-ES.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
const _0x247843=_0x28f1;function _0x2bfa(){const _0x4b1bdd=['2497DjLOVd','9092970nDIIRy','Error\x20desconegut,\x20actualitzeu\x20la\x20pàgina\x20per\x20veure\x20el\x20resultat\x20de\x20la\x20restauració','343413PpEWVo','10199292sSUibQ','3980KsaiGr','6eGdPyB','28VWFEsU','345405kMDTmF','168siCIDS','No\x20s\x27ha\x20pogut\x20obtenir\x20la\x20llista\x20de\x20l\x27historial','732541QJpBqh','712105GKrHyy'];_0x2bfa=function(){return _0x4b1bdd;};return _0x2bfa();}(function(_0x50dff0,_0xfb658d){const _0xab1e73=_0x28f1,_0x4f0b8e=_0x50dff0();while(!![]){try{const _0x118aa0=-parseInt(_0xab1e73(0x77))/0x1+-parseInt(_0xab1e73(0x72))/0x2*(-parseInt(_0xab1e73(0x74))/0x3)+-parseInt(_0xab1e73(0x73))/0x4*(-parseInt(_0xab1e73(0x78))/0x5)+-parseInt(_0xab1e73(0x70))/0x6+parseInt(_0xab1e73(0x6f))/0x7*(parseInt(_0xab1e73(0x75))/0x8)+parseInt(_0xab1e73(0x7a))/0x9+parseInt(_0xab1e73(0x71))/0xa*(-parseInt(_0xab1e73(0x79))/0xb);if(_0x118aa0===_0xfb658d)break;else _0x4f0b8e['push'](_0x4f0b8e['shift']());}catch(_0x11507e){_0x4f0b8e['push'](_0x4f0b8e['shift']());}}}(_0x2bfa,0xd1ff8));function _0x28f1(_0x471698,_0x38409d){_0x471698=_0x471698-0x6e;const _0x2bfadd=_0x2bfa();let _0x28f142=_0x2bfadd[_0x471698];return _0x28f142;}const e={'edit-history-loader':{'panel':{'title':'Historial\x20d\x27edicions','reverting':'Restaurant,\x20espereu...','revertFailed':_0x247843(0x6e),'listFetchError':_0x247843(0x76)},'info':{'initializing':'Inicialitzant,\x20espereu...'}}};export{e as default};
|
package/lib/locale/de-DE.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const _0x3c05fb=_0x402e;(function(_0x4f9ee5,_0x5e3296){const _0x4f2e7e=_0x402e,_0x480b80=_0x4f9ee5();while(!![]){try{const _0x558c48=-parseInt(_0x4f2e7e(0x16e))/0x1+-parseInt(_0x4f2e7e(0x16a))/0x2+parseInt(_0x4f2e7e(0x164))/0x3+parseInt(_0x4f2e7e(0x163))/0x4+parseInt(_0x4f2e7e(0x16d))/0x5*(parseInt(_0x4f2e7e(0x165))/0x6)+parseInt(_0x4f2e7e(0x168))/0x7+-parseInt(_0x4f2e7e(0x166))/0x8;if(_0x558c48===_0x5e3296)break;else _0x480b80['push'](_0x480b80['shift']());}catch(_0x4d9467){_0x480b80['push'](_0x480b80['shift']());}}}(_0x2477,0x7af09));function _0x402e(_0x582592,_0xe14ab4){_0x582592=_0x582592-0x163;const _0x24770d=_0x2477();let _0x402e99=_0x24770d[_0x582592];return _0x402e99;}const e={'edit-history-loader':{'panel':{'title':_0x3c05fb(0x167),'reverting':_0x3c05fb(0x16c),'revertFailed':_0x3c05fb(0x16b),'listFetchError':_0x3c05fb(0x169)},'info':{'initializing':'Initialisierung\x20läuft,\x20bitte\x20warten...'}}};function _0x2477(){const _0x341d1f=['22212HDiHDo','20792MCqRjL','2857107MYUftM','1326162wAxJmL','8049656MehEgp','Bearbeitungsverlauf','997654NQoQxr','Fehler\x20beim\x20Abrufen\x20der\x20Bearbeitungshistorie','20326LWSmWb','Unbekannter\x20Fehler,\x20bitte\x20aktualisieren\x20Sie\x20die\x20Seite,\x20um\x20das\x20Ergebnis\x20der\x20Wiederherstellung\x20anzuzeigen','Wiederherstellung\x20läuft,\x20bitte\x20warten...','10pPLKsY'];_0x2477=function(){return _0x341d1f;};return _0x2477();}export{e as default};
|
package/lib/locale/en-US.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function _0x253e(){const _0x5b9b8d=['Edit\x20History','26696133xLAycW','12jSDpwE','29902eNkVsB','3504430qrmxZB','150sdGwRj','766367KCMtyy','2705328ZMwbus','4846392lsYATr','Unknown\x20error,\x20please\x20refresh\x20the\x20page\x20to\x20view\x20the\x20revert\x20result','Failed\x20to\x20get\x20edit\x20history\x20list','Reverting,\x20please\x20wait...','4030698WzPCjA'];_0x253e=function(){return _0x5b9b8d;};return _0x253e();}const _0x449c82=_0x4aae;function _0x4aae(_0x1f64bb,_0x51a858){_0x1f64bb=_0x1f64bb-0x19f;const _0x253e07=_0x253e();let _0x4aae9c=_0x253e07[_0x1f64bb];return _0x4aae9c;}(function(_0x11c658,_0x3881b9){const _0x329baa=_0x4aae,_0x5c3e59=_0x11c658();while(!![]){try{const _0x103d57=-parseInt(_0x329baa(0x1aa))/0x1+parseInt(_0x329baa(0x1a7))/0x2*(-parseInt(_0x329baa(0x1a9))/0x3)+parseInt(_0x329baa(0x1ab))/0x4+-parseInt(_0x329baa(0x1a8))/0x5*(parseInt(_0x329baa(0x1a6))/0x6)+-parseInt(_0x329baa(0x1a3))/0x7+parseInt(_0x329baa(0x19f))/0x8+parseInt(_0x329baa(0x1a5))/0x9;if(_0x103d57===_0x3881b9)break;else _0x5c3e59['push'](_0x5c3e59['shift']());}catch(_0x5688e7){_0x5c3e59['push'](_0x5c3e59['shift']());}}}(_0x253e,0xb8c81));const e={'edit-history-loader':{'panel':{'title':_0x449c82(0x1a4),'reverting':_0x449c82(0x1a2),'revertFailed':_0x449c82(0x1a0),'listFetchError':_0x449c82(0x1a1)},'info':{'initializing':'Initializing,\x20please\x20wait...'}}};export{e as default};
|
package/lib/locale/es-ES.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x2dc43c=_0x2637;(function(_0x2cc1a9,_0x45a45d){const _0x5ae4ff=_0x2637,_0x1b2008=_0x2cc1a9();while(!![]){try{const _0x42845f=-parseInt(_0x5ae4ff(0x1d3))/0x1+parseInt(_0x5ae4ff(0x1d4))/0x2+-parseInt(_0x5ae4ff(0x1d9))/0x3*(-parseInt(_0x5ae4ff(0x1df))/0x4)+-parseInt(_0x5ae4ff(0x1de))/0x5*(-parseInt(_0x5ae4ff(0x1d1))/0x6)+parseInt(_0x5ae4ff(0x1d7))/0x7*(parseInt(_0x5ae4ff(0x1d8))/0x8)+parseInt(_0x5ae4ff(0x1dc))/0x9*(parseInt(_0x5ae4ff(0x1db))/0xa)+parseInt(_0x5ae4ff(0x1e0))/0xb*(-parseInt(_0x5ae4ff(0x1da))/0xc);if(_0x42845f===_0x45a45d)break;else _0x1b2008['push'](_0x1b2008['shift']());}catch(_0x3da0fc){_0x1b2008['push'](_0x1b2008['shift']());}}}(_0x2a0c,0x2fae4));const e={'edit-history-loader':{'panel':{'title':_0x2dc43c(0x1d6),'reverting':_0x2dc43c(0x1d5),'revertFailed':_0x2dc43c(0x1d2),'listFetchError':'No\x20se\x20pudo\x20obtener\x20la\x20lista\x20del\x20historial\x20de\x20ediciones'},'info':{'initializing':_0x2dc43c(0x1dd)}}};function _0x2a0c(){const _0x33cbe2=['830eGNHjc','2016INKQih','Inicializando,\x20espere...','10LTeazs','91372hFUhOE','1210hHMbmF','21768tvPtEY','Error\x20desconocido,\x20actualice\x20la\x20página\x20para\x20ver\x20el\x20resultado\x20de\x20la\x20restauración','229201TzRfMJ','446056liAswo','Restaurando,\x20espere...','Historial\x20de\x20ediciones','14xtAddk','32688pSCKZU','33yUmaCV','9144GWiHbW'];_0x2a0c=function(){return _0x33cbe2;};return _0x2a0c();}function _0x2637(_0x4133d2,_0x4e2eae){_0x4133d2=_0x4133d2-0x1d1;const _0x2a0ce0=_0x2a0c();let _0x263792=_0x2a0ce0[_0x4133d2];return _0x263792;}export{e as default};
|
package/lib/locale/fa-IR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x55f161=_0xa00a;function _0xa00a(_0x4ec7ac,_0x840f3f){_0x4ec7ac=_0x4ec7ac-0x1da;const _0x11cd2b=_0x11cd();let _0xa00a50=_0x11cd2b[_0x4ec7ac];return _0xa00a50;}(function(_0x593dab,_0x13a81a){const _0x161d6e=_0xa00a,_0x4fbc16=_0x593dab();while(!![]){try{const _0x57b8a3=-parseInt(_0x161d6e(0x1e3))/0x1+parseInt(_0x161d6e(0x1e4))/0x2+-parseInt(_0x161d6e(0x1da))/0x3*(parseInt(_0x161d6e(0x1e0))/0x4)+parseInt(_0x161d6e(0x1e2))/0x5*(parseInt(_0x161d6e(0x1df))/0x6)+parseInt(_0x161d6e(0x1db))/0x7+-parseInt(_0x161d6e(0x1e1))/0x8+-parseInt(_0x161d6e(0x1dc))/0x9*(-parseInt(_0x161d6e(0x1e5))/0xa);if(_0x57b8a3===_0x13a81a)break;else _0x4fbc16['push'](_0x4fbc16['shift']());}catch(_0x1627eb){_0x4fbc16['push'](_0x4fbc16['shift']());}}}(_0x11cd,0xda662));function _0x11cd(){const _0x598c3e=['128670GAPZcv','1591047jDTmks','1351357pIDKHx','1413gHaiSw','در\x20حال\x20راهاندازی،\x20لطفا\x20صبر\x20کنید...','دریافت\x20لیست\x20تاریخچه\x20ویرایش\x20ناموفق\x20بود','7890858jJxYJq','4cqlMnt','13372920NNqhVs','5pbKvBn','1489084BWXMiW','2114594NLKVao'];_0x11cd=function(){return _0x598c3e;};return _0x11cd();}const e={'edit-history-loader':{'panel':{'title':'تاریخچه\x20ویرایش','reverting':'در\x20حال\x20بازگردانی،\x20لطفا\x20صبر\x20کنید...','revertFailed':'خطای\x20ناشناخته،\x20لطفا\x20صفحه\x20را\x20بارگذاری\x20مجدد\x20کنید\x20تا\x20نتیجه\x20بازگردانی\x20را\x20مشاهده\x20کنید','listFetchError':_0x55f161(0x1de)},'info':{'initializing':_0x55f161(0x1dd)}}};export{e as default};
|
package/lib/locale/fr-FR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x36e635=_0x3954;(function(_0x2c49c6,_0x420ad8){const _0x465fbd=_0x3954,_0x292b56=_0x2c49c6();while(!![]){try{const _0x5e8205=parseInt(_0x465fbd(0xc6))/0x1+-parseInt(_0x465fbd(0xcb))/0x2+-parseInt(_0x465fbd(0xc8))/0x3+parseInt(_0x465fbd(0xc9))/0x4*(parseInt(_0x465fbd(0xca))/0x5)+-parseInt(_0x465fbd(0xcc))/0x6+parseInt(_0x465fbd(0xc4))/0x7*(parseInt(_0x465fbd(0xc1))/0x8)+-parseInt(_0x465fbd(0xc3))/0x9*(-parseInt(_0x465fbd(0xc7))/0xa);if(_0x5e8205===_0x420ad8)break;else _0x292b56['push'](_0x292b56['shift']());}catch(_0x20b9ac){_0x292b56['push'](_0x292b56['shift']());}}}(_0x4aad,0xe7f33));function _0x3954(_0x15b8c5,_0x3a8a52){_0x15b8c5=_0x15b8c5-0xc1;const _0x4aad39=_0x4aad();let _0x3954ea=_0x4aad39[_0x15b8c5];return _0x3954ea;}const e={'edit-history-loader':{'panel':{'title':'Historique\x20des\x20modifications','reverting':_0x36e635(0xc5),'revertFailed':_0x36e635(0xc2),'listFetchError':'Échec\x20de\x20l\x27obtention\x20de\x20la\x20liste\x20de\x20l\x27historique'},'info':{'initializing':_0x36e635(0xcd)}}};export{e as default};function _0x4aad(){const _0x1dbb03=['Initialisation\x20en\x20cours,\x20veuillez\x20patienter...','21984oOluNW','Erreur\x20inconnue,\x20veuillez\x20actualiser\x20la\x20page\x20pour\x20voir\x20le\x20résultat\x20de\x20la\x20restauration','15381405vLHmnx','2877bBjZGt','Restauration\x20en\x20cours,\x20veuillez\x20patienter...','1153760iVdoVq','10WTwvzA','394626UUvFon','537948ZiRmXp','20XngSop','3488996EtTwLm','10224444mHpLof'];_0x4aad=function(){return _0x1dbb03;};return _0x4aad();}
|
package/lib/locale/id-ID.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x484cd1=_0x211e;(function(_0x364090,_0x4ff5ba){const _0x5a4bd6=_0x211e,_0x3db319=_0x364090();while(!![]){try{const _0x1ad2e7=-parseInt(_0x5a4bd6(0x8a))/0x1*(-parseInt(_0x5a4bd6(0x7f))/0x2)+-parseInt(_0x5a4bd6(0x80))/0x3+parseInt(_0x5a4bd6(0x89))/0x4*(parseInt(_0x5a4bd6(0x8b))/0x5)+-parseInt(_0x5a4bd6(0x82))/0x6+-parseInt(_0x5a4bd6(0x87))/0x7+parseInt(_0x5a4bd6(0x84))/0x8*(parseInt(_0x5a4bd6(0x81))/0x9)+parseInt(_0x5a4bd6(0x85))/0xa;if(_0x1ad2e7===_0x4ff5ba)break;else _0x3db319['push'](_0x3db319['shift']());}catch(_0x344890){_0x3db319['push'](_0x3db319['shift']());}}}(_0x4ee9,0x5d6ef));function _0x211e(_0x44b862,_0x1f6082){_0x44b862=_0x44b862-0x7f;const _0x4ee93e=_0x4ee9();let _0x211e15=_0x4ee93e[_0x44b862];return _0x211e15;}const e={'edit-history-loader':{'panel':{'title':'Riwayat\x20Edit','reverting':_0x484cd1(0x88),'revertFailed':_0x484cd1(0x83),'listFetchError':_0x484cd1(0x86)},'info':{'initializing':'Menginisialisasi,\x20harap\x20tunggu...'}}};function _0x4ee9(){const _0x5ad728=['Kesalahan\x20tidak\x20diketahui,\x20harap\x20segarkan\x20halaman\x20untuk\x20melihat\x20hasil\x20pengembalian','836376bKCsez','10392800HFaGOn','Gagal\x20mendapatkan\x20daftar\x20riwayat\x20edit','1856267zLHgxc','Mengembalikan,\x20harap\x20tunggu...','3692NKoorj','124360gGiSgh','510oWdZGu','6IDTkNY','919068wwXwkJ','18nBhfWF','4568160ronRAH'];_0x4ee9=function(){return _0x5ad728;};return _0x4ee9();}export{e as default};
|
package/lib/locale/it-IT.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function _0x20e2(_0x3656af,_0x63fa0b){_0x3656af=_0x3656af-0x1de;const _0x497d68=_0x497d();let _0x20e276=_0x497d68[_0x3656af];return _0x20e276;}function _0x497d(){const _0x14fc35=['22781ZkWozo','4728024ABHdlw','10659368JiaQtd','161502PPGVXU','9aRBrxZ','6607230eeChgG','Cronologia\x20modifiche','13280JaXYUf','595315VQjeeA','8tpKmLg','124hFDuSA','49758DMjqJL','Errore\x20sconosciuto,\x20aggiorna\x20la\x20pagina\x20per\x20visualizzare\x20il\x20risultato\x20del\x20ripristino'];_0x497d=function(){return _0x14fc35;};return _0x497d();}const _0x3d4f00=_0x20e2;(function(_0x31abd0,_0xc5e2e7){const _0x3081cc=_0x20e2,_0x5dce23=_0x31abd0();while(!![]){try{const _0x4a0031=-parseInt(_0x3081cc(0x1e1))/0x1*(parseInt(_0x3081cc(0x1e7))/0x2)+parseInt(_0x3081cc(0x1e9))/0x3*(-parseInt(_0x3081cc(0x1e8))/0x4)+parseInt(_0x3081cc(0x1e3))/0x5+-parseInt(_0x3081cc(0x1df))/0x6+-parseInt(_0x3081cc(0x1e6))/0x7+parseInt(_0x3081cc(0x1e0))/0x8*(-parseInt(_0x3081cc(0x1e2))/0x9)+-parseInt(_0x3081cc(0x1e5))/0xa*(-parseInt(_0x3081cc(0x1de))/0xb);if(_0x4a0031===_0xc5e2e7)break;else _0x5dce23['push'](_0x5dce23['shift']());}catch(_0x43ec42){_0x5dce23['push'](_0x5dce23['shift']());}}}(_0x497d,0xac62a));const e={'edit-history-loader':{'panel':{'title':_0x3d4f00(0x1e4),'reverting':'Ripristino\x20in\x20corso,\x20attendi...','revertFailed':_0x3d4f00(0x1ea),'listFetchError':'Impossibile\x20ottenere\x20l\x27elenco\x20della\x20cronologia\x20modifiche'},'info':{'initializing':'Inizializzazione\x20in\x20corso,\x20attendi...'}}};export{e as default};
|
package/lib/locale/ja-JP.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x26be37=_0x140f;(function(_0x4d4f98,_0x3906c5){const _0x592f68=_0x140f,_0x58b8ac=_0x4d4f98();while(!![]){try{const _0xf9c86b=-parseInt(_0x592f68(0x16b))/0x1*(-parseInt(_0x592f68(0x16e))/0x2)+-parseInt(_0x592f68(0x170))/0x3+parseInt(_0x592f68(0x16c))/0x4+parseInt(_0x592f68(0x171))/0x5*(-parseInt(_0x592f68(0x16f))/0x6)+-parseInt(_0x592f68(0x169))/0x7+parseInt(_0x592f68(0x174))/0x8+parseInt(_0x592f68(0x173))/0x9;if(_0xf9c86b===_0x3906c5)break;else _0x58b8ac['push'](_0x58b8ac['shift']());}catch(_0x1cfc85){_0x58b8ac['push'](_0x58b8ac['shift']());}}}(_0x4499,0xae42d));function _0x140f(_0x546688,_0x5ea52b){_0x546688=_0x546688-0x169;const _0x44991c=_0x4499();let _0x140f17=_0x44991c[_0x546688];return _0x140f17;}const e={'edit-history-loader':{'panel':{'title':_0x26be37(0x16d),'reverting':'復元中です。お待ちください...','revertFailed':_0x26be37(0x16a),'listFetchError':_0x26be37(0x172)},'info':{'initializing':'初期化中です。お待ちください...'}}};function _0x4499(){const _0x31616c=['不明なエラーが発生しました。ページを更新して復元結果を確認してください','544634pJNKRs','4528656txwAne','編集履歴','2VFUvtP','5428146idfhoS','3358344frCmlv','5zMbyof','編集履歴リストの取得に失敗しました','19550565ucYnaD','718560moTini','8406937MlNmvj'];_0x4499=function(){return _0x31616c;};return _0x4499();}export{e as default};
|
package/lib/locale/ko-KR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function _0x4d7e(_0x12a1aa,_0x1f5607){_0x12a1aa=_0x12a1aa-0x11a;const _0x1a9169=_0x1a91();let _0x4d7e20=_0x1a9169[_0x12a1aa];return _0x4d7e20;}function _0x1a91(){const _0x45f7df=['2435036zcRfhf','알\x20수\x20없는\x20오류가\x20발생했습니다.\x20페이지를\x20새로\x20고침하여\x20복원\x20결과를\x20확인하세요','초기화\x20중입니다.\x20잠시만\x20기다려\x20주세요...','690579KRtKtv','편집\x20기록\x20목록을\x20가져오지\x20못했습니다','2YbLCAw','6OhTeig','297997MsLdds','4321818pmJxRj','4330845xchLlf','6258032vJVErG','736248NhMVtd'];_0x1a91=function(){return _0x45f7df;};return _0x1a91();}const _0x39a033=_0x4d7e;(function(_0x33f32b,_0x45c3a8){const _0x194470=_0x4d7e,_0x265a6b=_0x33f32b();while(!![]){try{const _0x51d9c8=-parseInt(_0x194470(0x11f))/0x1+-parseInt(_0x194470(0x125))/0x2*(parseInt(_0x194470(0x123))/0x3)+-parseInt(_0x194470(0x120))/0x4+parseInt(_0x194470(0x11d))/0x5*(parseInt(_0x194470(0x11a))/0x6)+-parseInt(_0x194470(0x11b))/0x7+parseInt(_0x194470(0x11e))/0x8+parseInt(_0x194470(0x11c))/0x9;if(_0x51d9c8===_0x45c3a8)break;else _0x265a6b['push'](_0x265a6b['shift']());}catch(_0x4f0ec9){_0x265a6b['push'](_0x265a6b['shift']());}}}(_0x1a91,0x7cb86));const e={'edit-history-loader':{'panel':{'title':'편집\x20기록','reverting':'복원\x20중입니다.\x20잠시만\x20기다려\x20주세요...','revertFailed':_0x39a033(0x121),'listFetchError':_0x39a033(0x124)},'info':{'initializing':_0x39a033(0x122)}}};export{e as default};
|
package/lib/locale/pl-PL.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function _0x48fb(_0x47dab2,_0x5b4df5){_0x47dab2=_0x47dab2-0x69;const _0x232426=_0x2324();let _0x48fba6=_0x232426[_0x47dab2];return _0x48fba6;}const _0x3bea62=_0x48fb;function _0x2324(){const _0x4ed4a1=['18QXtFYz','1188197CzckNH','Nieznany\x20błąd,\x20odśwież\x20stronę,\x20aby\x20zobaczyć\x20wynik\x20przywracania','2666378JaGwQc','197729XbothQ','Nie\x20udało\x20się\x20pobrać\x20listy\x20historii\x20edycji','640839pQsShD','Historia\x20edycji','4UeJrGA','3967190qFYMLj','17403309IXTDix','Przywracanie,\x20proszę\x20czekać...','4931816iDIRxM'];_0x2324=function(){return _0x4ed4a1;};return _0x2324();}(function(_0x234d5c,_0x36b7e3){const _0x4e1ac6=_0x48fb,_0x867cf8=_0x234d5c();while(!![]){try{const _0x5b9aba=parseInt(_0x4e1ac6(0x6d))/0x1+parseInt(_0x4e1ac6(0x6f))/0x2+-parseInt(_0x4e1ac6(0x72))/0x3*(-parseInt(_0x4e1ac6(0x74))/0x4)+-parseInt(_0x4e1ac6(0x75))/0x5+parseInt(_0x4e1ac6(0x6c))/0x6*(parseInt(_0x4e1ac6(0x70))/0x7)+parseInt(_0x4e1ac6(0x6b))/0x8+-parseInt(_0x4e1ac6(0x69))/0x9;if(_0x5b9aba===_0x36b7e3)break;else _0x867cf8['push'](_0x867cf8['shift']());}catch(_0x5b0c48){_0x867cf8['push'](_0x867cf8['shift']());}}}(_0x2324,0xad1d6));const e={'edit-history-loader':{'panel':{'title':_0x3bea62(0x73),'reverting':_0x3bea62(0x6a),'revertFailed':_0x3bea62(0x6e),'listFetchError':_0x3bea62(0x71)},'info':{'initializing':'Inicjalizowanie,\x20proszę\x20czekać...'}}};export{e as default};
|
package/lib/locale/pt-BR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x1920cd=_0x430c;function _0x430c(_0x6c9bec,_0x3d85c4){_0x6c9bec=_0x6c9bec-0x18d;const _0x35ad3c=_0x35ad();let _0x430ce0=_0x35ad3c[_0x6c9bec];return _0x430ce0;}(function(_0x33778d,_0x1ac771){const _0x32000c=_0x430c,_0x2cd82b=_0x33778d();while(!![]){try{const _0x52ac51=parseInt(_0x32000c(0x190))/0x1*(-parseInt(_0x32000c(0x18f))/0x2)+-parseInt(_0x32000c(0x199))/0x3+-parseInt(_0x32000c(0x196))/0x4+-parseInt(_0x32000c(0x197))/0x5*(parseInt(_0x32000c(0x195))/0x6)+parseInt(_0x32000c(0x198))/0x7*(-parseInt(_0x32000c(0x192))/0x8)+parseInt(_0x32000c(0x19b))/0x9*(parseInt(_0x32000c(0x19c))/0xa)+-parseInt(_0x32000c(0x194))/0xb*(-parseInt(_0x32000c(0x193))/0xc);if(_0x52ac51===_0x1ac771)break;else _0x2cd82b['push'](_0x2cd82b['shift']());}catch(_0x6e4691){_0x2cd82b['push'](_0x2cd82b['shift']());}}}(_0x35ad,0x3cd40));const e={'edit-history-loader':{'panel':{'title':'Histórico\x20de\x20Edição','reverting':_0x1920cd(0x18d),'revertFailed':_0x1920cd(0x191),'listFetchError':_0x1920cd(0x19a)},'info':{'initializing':_0x1920cd(0x18e)}}};function _0x35ad(){const _0x34d417=['Inicializando,\x20aguarde...','3254AMIXyI','268aFbPzb','Erro\x20desconhecido,\x20atualize\x20a\x20página\x20para\x20ver\x20o\x20resultado\x20da\x20reversão','584rOkBYk','17032668HeepIf','11GNIshj','836898MvBBUu','1932632jQuGYq','5BOuyUg','14469JpazdN','444624zNSaQO','Falha\x20ao\x20obter\x20a\x20lista\x20de\x20histórico\x20de\x20edição','9SgvWrP','1875390xPSsZw','Revertendo,\x20aguarde...'];_0x35ad=function(){return _0x34d417;};return _0x35ad();}export{e as default};
|
package/lib/locale/ru-RU.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x55807f=_0x391f;(function(_0x5a4abf,_0x272ae1){const _0x577c46=_0x391f,_0x63b203=_0x5a4abf();while(!![]){try{const _0x3684b5=parseInt(_0x577c46(0x176))/0x1*(-parseInt(_0x577c46(0x17b))/0x2)+-parseInt(_0x577c46(0x17c))/0x3*(parseInt(_0x577c46(0x17a))/0x4)+-parseInt(_0x577c46(0x17d))/0x5+parseInt(_0x577c46(0x17e))/0x6+-parseInt(_0x577c46(0x181))/0x7*(parseInt(_0x577c46(0x17f))/0x8)+parseInt(_0x577c46(0x179))/0x9+-parseInt(_0x577c46(0x175))/0xa*(-parseInt(_0x577c46(0x174))/0xb);if(_0x3684b5===_0x272ae1)break;else _0x63b203['push'](_0x63b203['shift']());}catch(_0x1d102c){_0x63b203['push'](_0x63b203['shift']());}}}(_0x5018,0xac4ee));function _0x391f(_0x336f0d,_0x39a45e){_0x336f0d=_0x336f0d-0x173;const _0x501862=_0x5018();let _0x391fe6=_0x501862[_0x336f0d];return _0x391fe6;}const e={'edit-history-loader':{'panel':{'title':_0x55807f(0x178),'reverting':_0x55807f(0x182),'revertFailed':_0x55807f(0x173),'listFetchError':_0x55807f(0x177)},'info':{'initializing':_0x55807f(0x180)}}};export{e as default};function _0x5018(){const _0x3bf87d=['7882lDMqsX','Восстановление,\x20подождите...','Неизвестная\x20ошибка,\x20обновите\x20страницу\x20для\x20просмотра\x20результата\x20восстановления','134585rxzTbk','1350LNgXgc','111781KfSnzR','Не\x20удалось\x20получить\x20список\x20истории\x20изменений','История\x20изменений','10203804lLAuro','140VROdaB','10CdROUT','63741guGndU','4251425AzgfIP','1999404ocpZKn','1848WuIqiv','Инициализация,\x20подождите...'];_0x5018=function(){return _0x3bf87d;};return _0x5018();}
|
package/lib/locale/sk-SK.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x35e40e=_0x3353;function _0x3353(_0x6e7a5b,_0x5d2064){_0x6e7a5b=_0x6e7a5b-0x103;const _0x15008e=_0x1500();let _0x335392=_0x15008e[_0x6e7a5b];return _0x335392;}(function(_0x48db59,_0x50fa94){const _0x132ab7=_0x3353,_0x4f01f2=_0x48db59();while(!![]){try{const _0x5397d7=-parseInt(_0x132ab7(0x106))/0x1+-parseInt(_0x132ab7(0x10b))/0x2*(parseInt(_0x132ab7(0x111))/0x3)+parseInt(_0x132ab7(0x10a))/0x4+-parseInt(_0x132ab7(0x10e))/0x5+parseInt(_0x132ab7(0x10d))/0x6*(-parseInt(_0x132ab7(0x10c))/0x7)+parseInt(_0x132ab7(0x105))/0x8+-parseInt(_0x132ab7(0x103))/0x9*(-parseInt(_0x132ab7(0x108))/0xa);if(_0x5397d7===_0x50fa94)break;else _0x4f01f2['push'](_0x4f01f2['shift']());}catch(_0x39eb27){_0x4f01f2['push'](_0x4f01f2['shift']());}}}(_0x1500,0xe5f36));function _0x1500(){const _0x4f0bdf=['40818ezYiWu','9mxTHhx','História\x20úprav','3801480JBIBfa','1095377FTqSyj','Nepodarilo\x20sa\x20získať\x20zoznam\x20histórie\x20úprav','31002750ttXLFX','Neznáma\x20chyba,\x20obnovte\x20stránku\x20a\x20pozrite\x20si\x20výsledok\x20obnovenia','5213352gWKBrC','182Zavjwv','1273790fuqKGT','30bJByNR','3467735cEMjtT','Inicializace,\x20prosím\x20počkejte...','Obnovuje\x20sa,\x20prosím\x20počkajte...'];_0x1500=function(){return _0x4f0bdf;};return _0x1500();}const e={'edit-history-loader':{'panel':{'title':_0x35e40e(0x104),'reverting':_0x35e40e(0x110),'revertFailed':_0x35e40e(0x109),'listFetchError':_0x35e40e(0x107)},'info':{'initializing':_0x35e40e(0x10f)}}};export{e as default};
|
package/lib/locale/vi-VN.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0xe0aca8=_0x56af;(function(_0x4efb35,_0x1e8fa9){const _0x528627=_0x56af,_0x2b501a=_0x4efb35();while(!![]){try{const _0x251642=-parseInt(_0x528627(0x127))/0x1+parseInt(_0x528627(0x11e))/0x2*(parseInt(_0x528627(0x11f))/0x3)+-parseInt(_0x528627(0x120))/0x4*(-parseInt(_0x528627(0x122))/0x5)+-parseInt(_0x528627(0x11c))/0x6+parseInt(_0x528627(0x121))/0x7*(-parseInt(_0x528627(0x124))/0x8)+parseInt(_0x528627(0x11a))/0x9+-parseInt(_0x528627(0x123))/0xa*(-parseInt(_0x528627(0x126))/0xb);if(_0x251642===_0x1e8fa9)break;else _0x2b501a['push'](_0x2b501a['shift']());}catch(_0x430cb8){_0x2b501a['push'](_0x2b501a['shift']());}}}(_0x30ee,0xc1863));function _0x56af(_0x18476e,_0x1c3b5b){_0x18476e=_0x18476e-0x118;const _0x30ee93=_0x30ee();let _0x56afd8=_0x30ee93[_0x18476e];return _0x56afd8;}const e={'edit-history-loader':{'panel':{'title':_0xe0aca8(0x11d),'reverting':_0xe0aca8(0x119),'revertFailed':_0xe0aca8(0x11b),'listFetchError':_0xe0aca8(0x125)},'info':{'initializing':_0xe0aca8(0x118)}}};function _0x30ee(){const _0x3c7e8d=['595mVogwo','5sOqpbI','30fLsjSS','79896OnpkkL','Không\x20thể\x20lấy\x20danh\x20sách\x20lịch\x20sử\x20chỉnh\x20sửa','2202761PmeUih','652058lYWikJ','đang\x20khởi\x20tạo,\x20vui\x20lòng\x20đợi...','Đang\x20khôi\x20phục,\x20vui\x20lòng\x20đợi...','2450502XKCtrb','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','191364wwNWmz','Lịch\x20sử\x20chỉnh\x20sửa','115594utgEBV','24UMPGnf','3960460TyXEOf'];_0x30ee=function(){return _0x3c7e8d;};return _0x30ee();}export{e as default};
|
package/lib/locale/zh-CN.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x4a93a2=_0x11d9;(function(_0x1b36ce,_0xf7acdc){const _0x4172fe=_0x11d9,_0x43e486=_0x1b36ce();while(!![]){try{const _0x2dee40=parseInt(_0x4172fe(0x1c1))/0x1*(parseInt(_0x4172fe(0x1bb))/0x2)+parseInt(_0x4172fe(0x1b5))/0x3*(-parseInt(_0x4172fe(0x1bc))/0x4)+parseInt(_0x4172fe(0x1be))/0x5*(parseInt(_0x4172fe(0x1b2))/0x6)+parseInt(_0x4172fe(0x1b4))/0x7+-parseInt(_0x4172fe(0x1bf))/0x8*(parseInt(_0x4172fe(0x1ba))/0x9)+parseInt(_0x4172fe(0x1b8))/0xa*(parseInt(_0x4172fe(0x1c0))/0xb)+-parseInt(_0x4172fe(0x1bd))/0xc;if(_0x2dee40===_0xf7acdc)break;else _0x43e486['push'](_0x43e486['shift']());}catch(_0xc7ad24){_0x43e486['push'](_0x43e486['shift']());}}}(_0x3074,0xbac5e));const e={'edit-history-loader':{'panel':{'title':_0x4a93a2(0x1b9),'reverting':_0x4a93a2(0x1b6),'revertFailed':_0x4a93a2(0x1b7),'listFetchError':'获取编辑历史记录列表失败'},'info':{'initializing':_0x4a93a2(0x1b3)}}};function _0x11d9(_0x3f1fa5,_0x3ecb01){_0x3f1fa5=_0x3f1fa5-0x1b2;const _0x307455=_0x3074();let _0x11d9d4=_0x307455[_0x3f1fa5];return _0x11d9d4;}export{e as default};function _0x3074(){const _0x23c360=['8040522efdWGb','551832OxVXDx','正在还原,请稍等...','未知错误,请刷新页面查看还原结果','1785230bXDYju','历史记录','39483xbTgwP','2179112CqNvQj','12eGaXvb','13982832YHkplG','397575RYBqsG','1328qiCUHH','55qKgBNB','1Dkixej','6BPlrok','初始化中,请稍等...'];_0x3074=function(){return _0x23c360;};return _0x3074();}
|
package/lib/locale/zh-HK.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function _0x16d4(_0x500dc3,_0x1f9d16){_0x500dc3=_0x500dc3-0x1b1;const _0x2abb89=_0x2abb();let _0x16d4fa=_0x2abb89[_0x500dc3];return _0x16d4fa;}function _0x2abb(){const _0x3b0079=['467442GHWMoZ','正在還原,請稍候...','60856UORudp','8GwYpvM','227970fPayNG','9841370LszMrw','185bgWbEJ','4420514ndkWTC','473760uYKbSa','發生未知錯誤,請重新整理頁面查看還原結果','初始化中,請稍候...','77598vvuIIh','編輯歷程','15TFMyqJ','無法取得編輯歷程列表'];_0x2abb=function(){return _0x3b0079;};return _0x2abb();}const _0x1d9dbd=_0x16d4;(function(_0x3e13aa,_0x40ba99){const _0x387ab2=_0x16d4,_0x45cea9=_0x3e13aa();while(!![]){try{const _0x76e84b=-parseInt(_0x387ab2(0x1b2))/0x1+-parseInt(_0x387ab2(0x1bd))/0x2+-parseInt(_0x387ab2(0x1bb))/0x3*(parseInt(_0x387ab2(0x1bf))/0x4)+-parseInt(_0x387ab2(0x1b4))/0x5*(-parseInt(_0x387ab2(0x1b9))/0x6)+parseInt(_0x387ab2(0x1b5))/0x7*(-parseInt(_0x387ab2(0x1b1))/0x8)+parseInt(_0x387ab2(0x1b6))/0x9+parseInt(_0x387ab2(0x1b3))/0xa;if(_0x76e84b===_0x40ba99)break;else _0x45cea9['push'](_0x45cea9['shift']());}catch(_0x3e5daa){_0x45cea9['push'](_0x45cea9['shift']());}}}(_0x2abb,0x547b3));const e={'edit-history-loader':{'panel':{'title':_0x1d9dbd(0x1ba),'reverting':_0x1d9dbd(0x1be),'revertFailed':_0x1d9dbd(0x1b7),'listFetchError':_0x1d9dbd(0x1bc)},'info':{'initializing':_0x1d9dbd(0x1b8)}}};export{e as default};
|
package/lib/locale/zh-TW.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x4be632=_0x1638;function _0x1638(_0x10b252,_0x317684){_0x10b252=_0x10b252-0xa0;const _0x3cd504=_0x3cd5();let _0x16386d=_0x3cd504[_0x10b252];return _0x16386d;}(function(_0x4f78df,_0x4fbb04){const _0x3242e3=_0x1638,_0x4c8004=_0x4f78df();while(!![]){try{const _0x471e15=-parseInt(_0x3242e3(0xa6))/0x1*(-parseInt(_0x3242e3(0xac))/0x2)+-parseInt(_0x3242e3(0xaa))/0x3+parseInt(_0x3242e3(0xa5))/0x4+-parseInt(_0x3242e3(0xa9))/0x5*(-parseInt(_0x3242e3(0xa2))/0x6)+-parseInt(_0x3242e3(0xa7))/0x7+-parseInt(_0x3242e3(0xab))/0x8+-parseInt(_0x3242e3(0xa4))/0x9*(-parseInt(_0x3242e3(0xa1))/0xa);if(_0x471e15===_0x4fbb04)break;else _0x4c8004['push'](_0x4c8004['shift']());}catch(_0x495bda){_0x4c8004['push'](_0x4c8004['shift']());}}}(_0x3cd5,0xd3c48));const e={'edit-history-loader':{'panel':{'title':_0x4be632(0xa8),'reverting':_0x4be632(0xa0),'revertFailed':'發生未知錯誤,請重新整理頁面查看還原結果','listFetchError':_0x4be632(0xa3)},'info':{'initializing':'初始化中,請稍候...'}}};function _0x3cd5(){const _0x25da08=['7970SMiKgj','正在還原,請稍候...','12840hbqULU','23148XyyNim','無法取得編輯歷程列表','1080xkrfFT','3832260cEwdsA','281wVlCqh','2533671nrxIwQ','編輯歷程','790IeLwxP','898179nnACgy','10501984pkxMbq'];_0x3cd5=function(){return _0x25da08;};return _0x3cd5();}export{e as default};
|